Lines Matching refs:bfe_softc
84 static void bfe_release_resources (struct bfe_softc *);
86 static int bfe_encap (struct bfe_softc *, struct mbuf **);
92 static void bfe_stop (struct bfe_softc *);
93 static void bfe_watchdog (struct bfe_softc *);
96 static void bfe_txeof (struct bfe_softc *);
97 static void bfe_rxeof (struct bfe_softc *);
98 static void bfe_set_rx_mode (struct bfe_softc *);
99 static int bfe_list_rx_init (struct bfe_softc *);
100 static void bfe_list_tx_init (struct bfe_softc *);
101 static void bfe_discard_buf (struct bfe_softc *, int);
102 static int bfe_list_newbuf (struct bfe_softc *, int);
103 static void bfe_rx_ring_free (struct bfe_softc *);
105 static void bfe_pci_setup (struct bfe_softc *, u_int32_t);
111 static int bfe_wait_bit (struct bfe_softc *, u_int32_t, u_int32_t,
113 static void bfe_get_config (struct bfe_softc *sc);
114 static void bfe_read_eeprom (struct bfe_softc *, u_int8_t *);
115 static void bfe_stats_update (struct bfe_softc *);
116 static void bfe_clear_stats (struct bfe_softc *);
117 static int bfe_readphy (struct bfe_softc *, u_int32_t, u_int32_t*);
118 static int bfe_writephy (struct bfe_softc *, u_int32_t, u_int32_t);
119 static int bfe_resetphy (struct bfe_softc *);
120 static int bfe_setupphy (struct bfe_softc *);
121 static void bfe_chip_reset (struct bfe_softc *);
122 static void bfe_chip_halt (struct bfe_softc *);
123 static void bfe_core_reset (struct bfe_softc *);
124 static void bfe_core_disable (struct bfe_softc *);
125 static int bfe_dma_alloc (struct bfe_softc *);
126 static void bfe_dma_free (struct bfe_softc *sc);
128 static void bfe_cam_write (struct bfe_softc *, u_char *, int);
151 sizeof(struct bfe_softc)
186 bfe_dma_alloc(struct bfe_softc *sc) in bfe_dma_alloc()
358 bfe_dma_free(struct bfe_softc *sc) in bfe_dma_free()
433 struct bfe_softc *sc; in bfe_attach()
533 struct bfe_softc *sc; in bfe_detach()
572 struct bfe_softc *sc; in bfe_shutdown()
586 struct bfe_softc *sc; in bfe_suspend()
599 struct bfe_softc *sc; in bfe_resume()
620 struct bfe_softc *sc; in bfe_miibus_readreg()
632 struct bfe_softc *sc; in bfe_miibus_writereg()
643 struct bfe_softc *sc; in bfe_miibus_statchg()
691 bfe_tx_ring_free(struct bfe_softc *sc) in bfe_tx_ring_free()
711 bfe_rx_ring_free(struct bfe_softc *sc) in bfe_rx_ring_free()
731 bfe_list_rx_init(struct bfe_softc *sc) in bfe_list_rx_init()
754 bfe_list_tx_init(struct bfe_softc *sc) in bfe_list_tx_init()
768 bfe_discard_buf(struct bfe_softc *sc, int c) in bfe_discard_buf()
779 bfe_list_newbuf(struct bfe_softc *sc, int c) in bfe_list_newbuf()
834 bfe_get_config(struct bfe_softc *sc) in bfe_get_config()
855 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores) in bfe_pci_setup()
874 bfe_clear_stats(struct bfe_softc *sc) in bfe_clear_stats()
888 bfe_resetphy(struct bfe_softc *sc) in bfe_resetphy()
903 bfe_chip_halt(struct bfe_softc *sc) in bfe_chip_halt()
919 bfe_chip_reset(struct bfe_softc *sc) in bfe_chip_reset()
1002 bfe_core_disable(struct bfe_softc *sc) in bfe_core_disable()
1024 bfe_core_reset(struct bfe_softc *sc) in bfe_core_reset()
1055 bfe_cam_write(struct bfe_softc *sc, u_char *data, int index) in bfe_cam_write()
1076 struct bfe_softc *sc = arg; in bfe_write_maddr()
1084 bfe_set_rx_mode(struct bfe_softc *sc) in bfe_set_rx_mode()
1132 bfe_release_resources(struct bfe_softc *sc) in bfe_release_resources()
1150 bfe_read_eeprom(struct bfe_softc *sc, u_int8_t *data) in bfe_read_eeprom()
1160 bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit, in bfe_wait_bit()
1184 bfe_readphy(struct bfe_softc *sc, u_int32_t reg, u_int32_t *val) in bfe_readphy()
1202 bfe_writephy(struct bfe_softc *sc, u_int32_t reg, u_int32_t val) in bfe_writephy()
1223 bfe_setupphy(struct bfe_softc *sc) in bfe_setupphy()
1240 bfe_stats_update(struct bfe_softc *sc) in bfe_stats_update()
1328 bfe_txeof(struct bfe_softc *sc) in bfe_txeof()
1372 bfe_rxeof(struct bfe_softc *sc) in bfe_rxeof()
1439 struct bfe_softc *sc = xsc; in bfe_intr()
1499 bfe_encap(struct bfe_softc *sc, struct mbuf **m_head) in bfe_encap()
1591 BFE_LOCK((struct bfe_softc *)if_getsoftc(ifp)); in bfe_start()
1593 BFE_UNLOCK((struct bfe_softc *)if_getsoftc(ifp)); in bfe_start()
1602 struct bfe_softc *sc; in bfe_start_locked()
1675 BFE_LOCK((struct bfe_softc *)xsc); in bfe_init()
1677 BFE_UNLOCK((struct bfe_softc *)xsc); in bfe_init()
1683 struct bfe_softc *sc = (struct bfe_softc*)xsc; in bfe_init_locked()
1728 struct bfe_softc *sc; in bfe_ifmedia_upd()
1751 struct bfe_softc *sc = if_getsoftc(ifp); in bfe_ifmedia_sts()
1765 struct bfe_softc *sc = if_getsoftc(ifp); in bfe_ioctl()
1803 bfe_watchdog(struct bfe_softc *sc) in bfe_watchdog()
1827 struct bfe_softc *sc = xsc; in bfe_tick()
1844 bfe_stop(struct bfe_softc *sc) in bfe_stop()
1864 struct bfe_softc *sc; in sysctl_bfe_stats()
1877 sc = (struct bfe_softc *)arg1; in sysctl_bfe_stats()