Lines Matching refs:bfe_softc
83 static void bfe_release_resources (struct bfe_softc *);
85 static int bfe_encap (struct bfe_softc *, struct mbuf **);
91 static void bfe_stop (struct bfe_softc *);
92 static void bfe_watchdog (struct bfe_softc *);
95 static void bfe_txeof (struct bfe_softc *);
96 static void bfe_rxeof (struct bfe_softc *);
97 static void bfe_set_rx_mode (struct bfe_softc *);
98 static int bfe_list_rx_init (struct bfe_softc *);
99 static void bfe_list_tx_init (struct bfe_softc *);
100 static void bfe_discard_buf (struct bfe_softc *, int);
101 static int bfe_list_newbuf (struct bfe_softc *, int);
102 static void bfe_rx_ring_free (struct bfe_softc *);
104 static void bfe_pci_setup (struct bfe_softc *, u_int32_t);
110 static int bfe_wait_bit (struct bfe_softc *, u_int32_t, u_int32_t,
112 static void bfe_get_config (struct bfe_softc *sc);
113 static void bfe_read_eeprom (struct bfe_softc *, u_int8_t *);
114 static void bfe_stats_update (struct bfe_softc *);
115 static void bfe_clear_stats (struct bfe_softc *);
116 static int bfe_readphy (struct bfe_softc *, u_int32_t, u_int32_t*);
117 static int bfe_writephy (struct bfe_softc *, u_int32_t, u_int32_t);
118 static int bfe_resetphy (struct bfe_softc *);
119 static int bfe_setupphy (struct bfe_softc *);
120 static void bfe_chip_reset (struct bfe_softc *);
121 static void bfe_chip_halt (struct bfe_softc *);
122 static void bfe_core_reset (struct bfe_softc *);
123 static void bfe_core_disable (struct bfe_softc *);
124 static int bfe_dma_alloc (struct bfe_softc *);
125 static void bfe_dma_free (struct bfe_softc *sc);
127 static void bfe_cam_write (struct bfe_softc *, u_char *, int);
150 sizeof(struct bfe_softc)
185 bfe_dma_alloc(struct bfe_softc *sc) in bfe_dma_alloc()
357 bfe_dma_free(struct bfe_softc *sc) in bfe_dma_free()
432 struct bfe_softc *sc; in bfe_attach()
532 struct bfe_softc *sc; in bfe_detach()
569 struct bfe_softc *sc; in bfe_shutdown()
583 struct bfe_softc *sc; in bfe_suspend()
596 struct bfe_softc *sc; in bfe_resume()
617 struct bfe_softc *sc; in bfe_miibus_readreg()
629 struct bfe_softc *sc; in bfe_miibus_writereg()
640 struct bfe_softc *sc; in bfe_miibus_statchg()
688 bfe_tx_ring_free(struct bfe_softc *sc) in bfe_tx_ring_free()
708 bfe_rx_ring_free(struct bfe_softc *sc) in bfe_rx_ring_free()
728 bfe_list_rx_init(struct bfe_softc *sc) in bfe_list_rx_init()
751 bfe_list_tx_init(struct bfe_softc *sc) in bfe_list_tx_init()
765 bfe_discard_buf(struct bfe_softc *sc, int c) in bfe_discard_buf()
776 bfe_list_newbuf(struct bfe_softc *sc, int c) in bfe_list_newbuf()
831 bfe_get_config(struct bfe_softc *sc) in bfe_get_config()
852 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores) in bfe_pci_setup()
871 bfe_clear_stats(struct bfe_softc *sc) in bfe_clear_stats()
885 bfe_resetphy(struct bfe_softc *sc) in bfe_resetphy()
900 bfe_chip_halt(struct bfe_softc *sc) in bfe_chip_halt()
916 bfe_chip_reset(struct bfe_softc *sc) in bfe_chip_reset()
999 bfe_core_disable(struct bfe_softc *sc) in bfe_core_disable()
1021 bfe_core_reset(struct bfe_softc *sc) in bfe_core_reset()
1052 bfe_cam_write(struct bfe_softc *sc, u_char *data, int index) in bfe_cam_write()
1073 struct bfe_softc *sc = arg; in bfe_write_maddr()
1081 bfe_set_rx_mode(struct bfe_softc *sc) in bfe_set_rx_mode()
1129 bfe_release_resources(struct bfe_softc *sc) in bfe_release_resources()
1147 bfe_read_eeprom(struct bfe_softc *sc, u_int8_t *data) in bfe_read_eeprom()
1157 bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit, in bfe_wait_bit()
1181 bfe_readphy(struct bfe_softc *sc, u_int32_t reg, u_int32_t *val) in bfe_readphy()
1199 bfe_writephy(struct bfe_softc *sc, u_int32_t reg, u_int32_t val) in bfe_writephy()
1220 bfe_setupphy(struct bfe_softc *sc) in bfe_setupphy()
1237 bfe_stats_update(struct bfe_softc *sc) in bfe_stats_update()
1325 bfe_txeof(struct bfe_softc *sc) in bfe_txeof()
1369 bfe_rxeof(struct bfe_softc *sc) in bfe_rxeof()
1436 struct bfe_softc *sc = xsc; in bfe_intr()
1496 bfe_encap(struct bfe_softc *sc, struct mbuf **m_head) in bfe_encap()
1588 BFE_LOCK((struct bfe_softc *)if_getsoftc(ifp)); in bfe_start()
1590 BFE_UNLOCK((struct bfe_softc *)if_getsoftc(ifp)); in bfe_start()
1599 struct bfe_softc *sc; in bfe_start_locked()
1672 BFE_LOCK((struct bfe_softc *)xsc); in bfe_init()
1674 BFE_UNLOCK((struct bfe_softc *)xsc); in bfe_init()
1680 struct bfe_softc *sc = (struct bfe_softc*)xsc; in bfe_init_locked()
1725 struct bfe_softc *sc; in bfe_ifmedia_upd()
1748 struct bfe_softc *sc = if_getsoftc(ifp); in bfe_ifmedia_sts()
1762 struct bfe_softc *sc = if_getsoftc(ifp); in bfe_ioctl()
1800 bfe_watchdog(struct bfe_softc *sc) in bfe_watchdog()
1824 struct bfe_softc *sc = xsc; in bfe_tick()
1841 bfe_stop(struct bfe_softc *sc) in bfe_stop()
1861 struct bfe_softc *sc; in sysctl_bfe_stats()
1874 sc = (struct bfe_softc *)arg1; in sysctl_bfe_stats()