Lines Matching refs:sf_softc

158 static void sf_stats_update(struct sf_softc *);
162 static int sf_rxeof(struct sf_softc *);
163 static void sf_txeof(struct sf_softc *);
164 static int sf_encap(struct sf_softc *, struct mbuf **);
168 static void sf_download_fw(struct sf_softc *);
170 static void sf_init_locked(struct sf_softc *);
171 static void sf_stop(struct sf_softc *);
172 static void sf_watchdog(struct sf_softc *);
176 static void sf_reset(struct sf_softc *);
177 static int sf_dma_alloc(struct sf_softc *);
178 static void sf_dma_free(struct sf_softc *);
179 static int sf_init_rx_ring(struct sf_softc *);
180 static void sf_init_tx_ring(struct sf_softc *);
181 static int sf_newbuf(struct sf_softc *, int);
182 static void sf_rxfilter(struct sf_softc *);
183 static int sf_setperf(struct sf_softc *, int, uint8_t *);
184 static int sf_sethash(struct sf_softc *, caddr_t, int);
186 static int sf_setvlan(struct sf_softc *, int, uint32_t);
189 static uint8_t sf_read_eeprom(struct sf_softc *, int);
198 static uint32_t csr_read_4(struct sf_softc *, int);
199 static void csr_write_4(struct sf_softc *, int, uint32_t);
200 static void sf_txthresh_adjust(struct sf_softc *);
225 sizeof(struct sf_softc),
240 csr_read_4(struct sf_softc *sc, int reg)
255 sf_read_eeprom(struct sf_softc *sc, int reg)
266 csr_write_4(struct sf_softc *sc, int reg, uint32_t val)
283 sf_setperf(struct sf_softc *sc, int idx, uint8_t *mac)
308 sf_sethash(struct sf_softc *sc, caddr_t mac, int prio)
333 sf_setvlan(struct sf_softc *sc, int idx, uint32_t vlan)
349 struct sf_softc *sc;
374 struct sf_softc *sc;
394 struct sf_softc *sc;
452 sf_rxfilter(struct sf_softc *sc)
516 struct sf_softc *sc;
529 struct sf_softc *sc;
546 struct sf_softc *sc;
566 struct sf_softc *sc;
668 sf_reset(struct sf_softc *sc)
738 struct sf_softc *sc;
933 struct sf_softc *sc;
993 sf_dma_alloc(struct sf_softc *sc)
1286 sf_dma_free(struct sf_softc *sc)
1391 sf_init_rx_ring(struct sf_softc *sc)
1418 sf_init_tx_ring(struct sf_softc *sc)
1449 sf_newbuf(struct sf_softc *sc, int idx)
1525 sf_rxeof(struct sf_softc *sc)
1689 sf_txeof(struct sf_softc *sc)
1771 sf_txthresh_adjust(struct sf_softc *sc)
1795 struct sf_softc *sc;
1854 struct sf_softc *sc;
1859 sc = (struct sf_softc *)arg;
1935 sf_download_fw(struct sf_softc *sc)
1975 struct sf_softc *sc;
1977 sc = (struct sf_softc *)xsc;
1984 sf_init_locked(struct sf_softc *sc)
2155 sf_encap(struct sf_softc *sc, struct mbuf **m_head)
2248 struct sf_softc *sc;
2259 struct sf_softc *sc;
2315 sf_stop(struct sf_softc *sc)
2382 struct sf_softc *sc;
2402 sf_stats_update(struct sf_softc *sc)
2541 sf_watchdog(struct sf_softc *sc)
2571 struct sf_softc *sc;
2585 struct sf_softc *sc;
2601 struct sf_softc *sc;
2621 struct sf_softc *sc;
2635 sc = (struct sf_softc *)arg1;