Lines Matching refs:bfe_softc
86 static void bfe_release_resources (struct bfe_softc *);
88 static int bfe_encap (struct bfe_softc *, struct mbuf **);
94 static void bfe_stop (struct bfe_softc *);
95 static void bfe_watchdog (struct bfe_softc *);
98 static void bfe_txeof (struct bfe_softc *);
99 static void bfe_rxeof (struct bfe_softc *);
100 static void bfe_set_rx_mode (struct bfe_softc *);
101 static int bfe_list_rx_init (struct bfe_softc *);
102 static void bfe_list_tx_init (struct bfe_softc *);
103 static void bfe_discard_buf (struct bfe_softc *, int);
104 static int bfe_list_newbuf (struct bfe_softc *, int);
105 static void bfe_rx_ring_free (struct bfe_softc *);
107 static void bfe_pci_setup (struct bfe_softc *, u_int32_t);
113 static int bfe_wait_bit (struct bfe_softc *, u_int32_t, u_int32_t,
115 static void bfe_get_config (struct bfe_softc *sc);
116 static void bfe_read_eeprom (struct bfe_softc *, u_int8_t *);
117 static void bfe_stats_update (struct bfe_softc *);
118 static void bfe_clear_stats (struct bfe_softc *);
119 static int bfe_readphy (struct bfe_softc *, u_int32_t, u_int32_t*);
120 static int bfe_writephy (struct bfe_softc *, u_int32_t, u_int32_t);
121 static int bfe_resetphy (struct bfe_softc *);
122 static int bfe_setupphy (struct bfe_softc *);
123 static void bfe_chip_reset (struct bfe_softc *);
124 static void bfe_chip_halt (struct bfe_softc *);
125 static void bfe_core_reset (struct bfe_softc *);
126 static void bfe_core_disable (struct bfe_softc *);
127 static int bfe_dma_alloc (struct bfe_softc *);
128 static void bfe_dma_free (struct bfe_softc *sc);
130 static void bfe_cam_write (struct bfe_softc *, u_char *, int);
153 sizeof(struct bfe_softc)
190 bfe_dma_alloc(struct bfe_softc *sc) in bfe_dma_alloc()
362 bfe_dma_free(struct bfe_softc *sc) in bfe_dma_free()
437 struct bfe_softc *sc; in bfe_attach()
543 struct bfe_softc *sc; in bfe_detach()
582 struct bfe_softc *sc; in bfe_shutdown()
596 struct bfe_softc *sc; in bfe_suspend()
609 struct bfe_softc *sc; in bfe_resume()
630 struct bfe_softc *sc; in bfe_miibus_readreg()
642 struct bfe_softc *sc; in bfe_miibus_writereg()
653 struct bfe_softc *sc; in bfe_miibus_statchg()
699 bfe_tx_ring_free(struct bfe_softc *sc) in bfe_tx_ring_free()
719 bfe_rx_ring_free(struct bfe_softc *sc) in bfe_rx_ring_free()
739 bfe_list_rx_init(struct bfe_softc *sc) in bfe_list_rx_init()
762 bfe_list_tx_init(struct bfe_softc *sc) in bfe_list_tx_init()
776 bfe_discard_buf(struct bfe_softc *sc, int c) in bfe_discard_buf()
787 bfe_list_newbuf(struct bfe_softc *sc, int c) in bfe_list_newbuf()
842 bfe_get_config(struct bfe_softc *sc) in bfe_get_config()
863 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores) in bfe_pci_setup()
883 bfe_clear_stats(struct bfe_softc *sc) in bfe_clear_stats()
897 bfe_resetphy(struct bfe_softc *sc) in bfe_resetphy()
912 bfe_chip_halt(struct bfe_softc *sc) in bfe_chip_halt()
928 bfe_chip_reset(struct bfe_softc *sc) in bfe_chip_reset()
1011 bfe_core_disable(struct bfe_softc *sc) in bfe_core_disable()
1033 bfe_core_reset(struct bfe_softc *sc) in bfe_core_reset()
1064 bfe_cam_write(struct bfe_softc *sc, u_char *data, int index) in bfe_cam_write()
1085 struct bfe_softc *sc = arg; in bfe_write_maddr()
1093 bfe_set_rx_mode(struct bfe_softc *sc) in bfe_set_rx_mode()
1141 bfe_release_resources(struct bfe_softc *sc) in bfe_release_resources()
1159 bfe_read_eeprom(struct bfe_softc *sc, u_int8_t *data) in bfe_read_eeprom()
1169 bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit, in bfe_wait_bit()
1193 bfe_readphy(struct bfe_softc *sc, u_int32_t reg, u_int32_t *val) in bfe_readphy()
1211 bfe_writephy(struct bfe_softc *sc, u_int32_t reg, u_int32_t val) in bfe_writephy()
1232 bfe_setupphy(struct bfe_softc *sc) in bfe_setupphy()
1249 bfe_stats_update(struct bfe_softc *sc) in bfe_stats_update()
1337 bfe_txeof(struct bfe_softc *sc) in bfe_txeof()
1381 bfe_rxeof(struct bfe_softc *sc) in bfe_rxeof()
1448 struct bfe_softc *sc = xsc; in bfe_intr()
1508 bfe_encap(struct bfe_softc *sc, struct mbuf **m_head) in bfe_encap()
1600 BFE_LOCK((struct bfe_softc *)ifp->if_softc); in bfe_start()
1602 BFE_UNLOCK((struct bfe_softc *)ifp->if_softc); in bfe_start()
1611 struct bfe_softc *sc; in bfe_start_locked()
1684 BFE_LOCK((struct bfe_softc *)xsc); in bfe_init()
1686 BFE_UNLOCK((struct bfe_softc *)xsc); in bfe_init()
1692 struct bfe_softc *sc = (struct bfe_softc*)xsc; in bfe_init_locked()
1737 struct bfe_softc *sc; in bfe_ifmedia_upd()
1760 struct bfe_softc *sc = ifp->if_softc; in bfe_ifmedia_sts()
1774 struct bfe_softc *sc = ifp->if_softc; in bfe_ioctl()
1812 bfe_watchdog(struct bfe_softc *sc) in bfe_watchdog()
1836 struct bfe_softc *sc = xsc; in bfe_tick()
1853 bfe_stop(struct bfe_softc *sc) in bfe_stop()
1873 struct bfe_softc *sc; in sysctl_bfe_stats()
1886 sc = (struct bfe_softc *)arg1; in sysctl_bfe_stats()