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)
358 bfe_dma_free(struct bfe_softc *sc)
433 struct bfe_softc *sc;
539 struct bfe_softc *sc;
578 struct bfe_softc *sc;
592 struct bfe_softc *sc;
605 struct bfe_softc *sc;
626 struct bfe_softc *sc;
638 struct bfe_softc *sc;
649 struct bfe_softc *sc;
695 bfe_tx_ring_free(struct bfe_softc *sc)
715 bfe_rx_ring_free(struct bfe_softc *sc)
735 bfe_list_rx_init(struct bfe_softc *sc)
758 bfe_list_tx_init(struct bfe_softc *sc)
772 bfe_discard_buf(struct bfe_softc *sc, int c)
783 bfe_list_newbuf(struct bfe_softc *sc, int c)
836 bfe_get_config(struct bfe_softc *sc)
857 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores)
877 bfe_clear_stats(struct bfe_softc *sc)
891 bfe_resetphy(struct bfe_softc *sc)
906 bfe_chip_halt(struct bfe_softc *sc)
922 bfe_chip_reset(struct bfe_softc *sc)
1005 bfe_core_disable(struct bfe_softc *sc)
1027 bfe_core_reset(struct bfe_softc *sc)
1058 bfe_cam_write(struct bfe_softc *sc, u_char *data, int index)
1077 bfe_set_rx_mode(struct bfe_softc *sc)
1135 bfe_release_resources(struct bfe_softc *sc)
1153 bfe_read_eeprom(struct bfe_softc *sc, u_int8_t *data)
1163 bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit,
1187 bfe_readphy(struct bfe_softc *sc, u_int32_t reg, u_int32_t *val)
1205 bfe_writephy(struct bfe_softc *sc, u_int32_t reg, u_int32_t val)
1226 bfe_setupphy(struct bfe_softc *sc)
1243 bfe_stats_update(struct bfe_softc *sc)
1331 bfe_txeof(struct bfe_softc *sc)
1375 bfe_rxeof(struct bfe_softc *sc)
1442 struct bfe_softc *sc = xsc;
1503 bfe_encap(struct bfe_softc *sc, struct mbuf **m_head)
1595 BFE_LOCK((struct bfe_softc *)ifp->if_softc);
1597 BFE_UNLOCK((struct bfe_softc *)ifp->if_softc);
1606 struct bfe_softc *sc;
1679 BFE_LOCK((struct bfe_softc *)xsc);
1681 BFE_UNLOCK((struct bfe_softc *)xsc);
1687 struct bfe_softc *sc = (struct bfe_softc*)xsc;
1732 struct bfe_softc *sc;
1755 struct bfe_softc *sc = ifp->if_softc;
1769 struct bfe_softc *sc = ifp->if_softc;
1807 bfe_watchdog(struct bfe_softc *sc)
1831 struct bfe_softc *sc = xsc;
1848 bfe_stop(struct bfe_softc *sc)
1868 struct bfe_softc *sc;
1881 sc = (struct bfe_softc *)arg1;