Lines Matching refs:sf_softc

161 static void sf_stats_update(struct sf_softc *);
165 static int sf_rxeof(struct sf_softc *);
166 static void sf_txeof(struct sf_softc *);
167 static int sf_encap(struct sf_softc *, struct mbuf **);
171 static void sf_download_fw(struct sf_softc *);
173 static void sf_init_locked(struct sf_softc *);
174 static void sf_stop(struct sf_softc *);
175 static void sf_watchdog(struct sf_softc *);
179 static void sf_reset(struct sf_softc *);
180 static int sf_dma_alloc(struct sf_softc *);
181 static void sf_dma_free(struct sf_softc *);
182 static int sf_init_rx_ring(struct sf_softc *);
183 static void sf_init_tx_ring(struct sf_softc *);
184 static int sf_newbuf(struct sf_softc *, int);
185 static void sf_rxfilter(struct sf_softc *);
186 static int sf_setperf(struct sf_softc *, int, uint8_t *);
187 static int sf_sethash(struct sf_softc *, caddr_t, int);
189 static int sf_setvlan(struct sf_softc *, int, uint32_t);
192 static uint8_t sf_read_eeprom(struct sf_softc *, int);
201 static uint32_t csr_read_4(struct sf_softc *, int);
202 static void csr_write_4(struct sf_softc *, int, uint32_t);
203 static void sf_txthresh_adjust(struct sf_softc *);
228 sizeof(struct sf_softc),
243 csr_read_4(struct sf_softc *sc, int reg)
258 sf_read_eeprom(struct sf_softc *sc, int reg)
269 csr_write_4(struct sf_softc *sc, int reg, uint32_t val)
286 sf_setperf(struct sf_softc *sc, int idx, uint8_t *mac)
311 sf_sethash(struct sf_softc *sc, caddr_t mac, int prio)
336 sf_setvlan(struct sf_softc *sc, int idx, uint32_t vlan)
352 struct sf_softc *sc;
377 struct sf_softc *sc;
397 struct sf_softc *sc;
455 sf_rxfilter(struct sf_softc *sc)
520 struct sf_softc *sc;
533 struct sf_softc *sc;
550 struct sf_softc *sc;
570 struct sf_softc *sc;
672 sf_reset(struct sf_softc *sc)
742 struct sf_softc *sc;
939 struct sf_softc *sc;
999 sf_dma_alloc(struct sf_softc *sc)
1292 sf_dma_free(struct sf_softc *sc)
1393 sf_init_rx_ring(struct sf_softc *sc)
1420 sf_init_tx_ring(struct sf_softc *sc)
1451 sf_newbuf(struct sf_softc *sc, int idx)
1527 sf_rxeof(struct sf_softc *sc)
1691 sf_txeof(struct sf_softc *sc)
1774 sf_txthresh_adjust(struct sf_softc *sc)
1798 struct sf_softc *sc;
1857 struct sf_softc *sc;
1862 sc = (struct sf_softc *)arg;
1938 sf_download_fw(struct sf_softc *sc)
1978 struct sf_softc *sc;
1980 sc = (struct sf_softc *)xsc;
1987 sf_init_locked(struct sf_softc *sc)
2158 sf_encap(struct sf_softc *sc, struct mbuf **m_head)
2251 struct sf_softc *sc;
2262 struct sf_softc *sc;
2318 sf_stop(struct sf_softc *sc)
2385 struct sf_softc *sc;
2405 sf_stats_update(struct sf_softc *sc)
2547 sf_watchdog(struct sf_softc *sc)
2577 struct sf_softc *sc;
2591 struct sf_softc *sc;
2607 struct sf_softc *sc;
2627 struct sf_softc *sc;
2641 sc = (struct sf_softc *)arg1;