Lines Matching refs:alc_softc

137 static void	alc_aspm(struct alc_softc *, int, int);
138 static void alc_aspm_813x(struct alc_softc *, int);
139 static void alc_aspm_816x(struct alc_softc *, int);
141 static int alc_check_boundary(struct alc_softc *);
142 static void alc_config_msi(struct alc_softc *);
144 static void alc_disable_l0s_l1(struct alc_softc *);
145 static int alc_dma_alloc(struct alc_softc *);
146 static void alc_dma_free(struct alc_softc *);
148 static void alc_dsp_fixup(struct alc_softc *, int);
149 static int alc_encap(struct alc_softc *, struct mbuf **);
156 static void alc_get_macaddr(struct alc_softc *);
157 static void alc_get_macaddr_813x(struct alc_softc *);
158 static void alc_get_macaddr_816x(struct alc_softc *);
159 static void alc_get_macaddr_par(struct alc_softc *);
161 static void alc_init_cmb(struct alc_softc *);
162 static void alc_init_locked(struct alc_softc *);
163 static void alc_init_rr_ring(struct alc_softc *);
164 static int alc_init_rx_ring(struct alc_softc *);
165 static void alc_init_smb(struct alc_softc *);
166 static void alc_init_tx_ring(struct alc_softc *);
170 static void alc_mac_config(struct alc_softc *);
171 static uint32_t alc_mii_readreg_813x(struct alc_softc *, int, int);
172 static uint32_t alc_mii_readreg_816x(struct alc_softc *, int, int);
173 static uint32_t alc_mii_writereg_813x(struct alc_softc *, int, int, int);
174 static uint32_t alc_mii_writereg_816x(struct alc_softc *, int, int, int);
178 static uint32_t alc_miidbg_readreg(struct alc_softc *, int);
179 static uint32_t alc_miidbg_writereg(struct alc_softc *, int, int);
180 static uint32_t alc_miiext_readreg(struct alc_softc *, int, int);
181 static uint32_t alc_miiext_writereg(struct alc_softc *, int, int, int);
183 static int alc_mediachange_locked(struct alc_softc *);
185 static int alc_newbuf(struct alc_softc *, struct alc_rxdesc *);
186 static void alc_osc_reset(struct alc_softc *);
187 static void alc_phy_down(struct alc_softc *);
188 static void alc_phy_reset(struct alc_softc *);
189 static void alc_phy_reset_813x(struct alc_softc *);
190 static void alc_phy_reset_816x(struct alc_softc *);
192 static void alc_reset(struct alc_softc *);
194 static void alc_rxeof(struct alc_softc *, struct rx_rdesc *);
195 static int alc_rxintr(struct alc_softc *, int);
196 static void alc_rxfilter(struct alc_softc *);
197 static void alc_rxvlan(struct alc_softc *);
198 static void alc_setlinkspeed(struct alc_softc *);
199 static void alc_setwol(struct alc_softc *);
200 static void alc_setwol_813x(struct alc_softc *);
201 static void alc_setwol_816x(struct alc_softc *);
205 static void alc_start_queue(struct alc_softc *);
206 static void alc_start_tx(struct alc_softc *);
207 static void alc_stats_clear(struct alc_softc *);
208 static void alc_stats_update(struct alc_softc *);
209 static void alc_stop(struct alc_softc *);
210 static void alc_stop_mac(struct alc_softc *);
211 static void alc_stop_queue(struct alc_softc *);
213 static void alc_sysctl_node(struct alc_softc *);
215 static void alc_txeof(struct alc_softc *);
216 static void alc_watchdog(struct alc_softc *);
243 sizeof(struct alc_softc)
276 struct alc_softc *sc; in alc_miibus_readreg()
288 alc_mii_readreg_813x(struct alc_softc *sc, int phy, int reg) in alc_mii_readreg_813x()
321 alc_mii_readreg_816x(struct alc_softc *sc, int phy, int reg) in alc_mii_readreg_816x()
350 struct alc_softc *sc; in alc_miibus_writereg()
362 alc_mii_writereg_813x(struct alc_softc *sc, int phy, int reg, int val) in alc_mii_writereg_813x()
384 alc_mii_writereg_816x(struct alc_softc *sc, int phy, int reg, int val) in alc_mii_writereg_816x()
412 struct alc_softc *sc; in alc_miibus_statchg()
458 alc_miidbg_readreg(struct alc_softc *sc, int reg) in alc_miidbg_readreg()
468 alc_miidbg_writereg(struct alc_softc *sc, int reg, int val) in alc_miidbg_writereg()
478 alc_miiext_readreg(struct alc_softc *sc, int devaddr, int reg) in alc_miiext_readreg()
508 alc_miiext_writereg(struct alc_softc *sc, int devaddr, int reg, int val) in alc_miiext_writereg()
537 alc_dsp_fixup(struct alc_softc *sc, int media) in alc_dsp_fixup()
611 struct alc_softc *sc; in alc_mediastatus()
631 struct alc_softc *sc; in alc_mediachange()
643 alc_mediachange_locked(struct alc_softc *sc) in alc_mediachange_locked()
690 alc_get_macaddr(struct alc_softc *sc) in alc_get_macaddr()
700 alc_get_macaddr_813x(struct alc_softc *sc) in alc_get_macaddr_813x()
801 alc_get_macaddr_816x(struct alc_softc *sc) in alc_get_macaddr_816x()
860 alc_get_macaddr_par(struct alc_softc *sc) in alc_get_macaddr_par()
875 alc_disable_l0s_l1(struct alc_softc *sc) in alc_disable_l0s_l1()
892 alc_phy_reset(struct alc_softc *sc) in alc_phy_reset()
902 alc_phy_reset_813x(struct alc_softc *sc) in alc_phy_reset_813x()
1016 alc_phy_reset_816x(struct alc_softc *sc) in alc_phy_reset_816x()
1089 alc_phy_down(struct alc_softc *sc) in alc_phy_down()
1138 alc_aspm(struct alc_softc *sc, int init, int media) in alc_aspm()
1148 alc_aspm_813x(struct alc_softc *sc, int media) in alc_aspm_813x()
1236 alc_aspm_816x(struct alc_softc *sc, int init) in alc_aspm_816x()
1271 alc_init_pcie(struct alc_softc *sc) in alc_init_pcie()
1346 alc_config_msi(struct alc_softc *sc) in alc_config_msi()
1378 struct alc_softc *sc; in alc_attach()
1679 struct alc_softc *sc; in alc_detach()
1739 alc_sysctl_node(struct alc_softc *sc) in alc_sysctl_node()
1942 alc_check_boundary(struct alc_softc *sc) in alc_check_boundary()
1973 alc_dma_alloc(struct alc_softc *sc) in alc_dma_alloc()
2314 alc_dma_free(struct alc_softc *sc) in alc_dma_free()
2455 alc_setlinkspeed(struct alc_softc *sc) in alc_setlinkspeed()
2518 alc_setwol(struct alc_softc *sc) in alc_setwol()
2528 alc_setwol_813x(struct alc_softc *sc) in alc_setwol_813x()
2585 alc_setwol_816x(struct alc_softc *sc) in alc_setwol_816x()
2647 struct alc_softc *sc; in alc_suspend()
2662 struct alc_softc *sc; in alc_resume()
2681 alc_encap(struct alc_softc *sc, struct mbuf **m_head) in alc_encap()
2915 struct alc_softc *sc; in alc_start()
2926 struct alc_softc *sc; in alc_start_locked()
2972 alc_start_tx(struct alc_softc *sc) in alc_start_tx()
2992 alc_watchdog(struct alc_softc *sc) in alc_watchdog()
3020 struct alc_softc *sc; in alc_ioctl()
3131 alc_mac_config(struct alc_softc *sc) in alc_mac_config()
3168 alc_stats_clear(struct alc_softc *sc) in alc_stats_clear()
3200 alc_stats_update(struct alc_softc *sc) in alc_stats_update()
3318 struct alc_softc *sc; in alc_intr()
3321 sc = (struct alc_softc *)arg; in alc_intr()
3341 struct alc_softc *sc; in alc_int_task()
3346 sc = (struct alc_softc *)arg; in alc_int_task()
3414 alc_txeof(struct alc_softc *sc) in alc_txeof()
3477 alc_newbuf(struct alc_softc *sc, struct alc_rxdesc *rxd) in alc_newbuf()
3515 alc_rxintr(struct alc_softc *sc, int count) in alc_rxintr()
3626 alc_rxeof(struct alc_softc *sc, struct rx_rdesc *rrd) in alc_rxeof()
3749 struct alc_softc *sc; in alc_tick()
3752 sc = (struct alc_softc *)arg; in alc_tick()
3772 alc_osc_reset(struct alc_softc *sc) in alc_osc_reset()
3810 alc_reset(struct alc_softc *sc) in alc_reset()
3897 struct alc_softc *sc; in alc_init()
3899 sc = (struct alc_softc *)xsc; in alc_init()
3906 alc_init_locked(struct alc_softc *sc) in alc_init_locked()
4297 alc_stop(struct alc_softc *sc) in alc_stop()
4362 alc_stop_mac(struct alc_softc *sc) in alc_stop_mac()
4386 alc_start_queue(struct alc_softc *sc) in alc_start_queue()
4414 alc_stop_queue(struct alc_softc *sc) in alc_stop_queue()
4451 alc_init_tx_ring(struct alc_softc *sc) in alc_init_tx_ring()
4475 alc_init_rx_ring(struct alc_softc *sc) in alc_init_rx_ring()
4509 alc_init_rr_ring(struct alc_softc *sc) in alc_init_rr_ring()
4526 alc_init_cmb(struct alc_softc *sc) in alc_init_cmb()
4539 alc_init_smb(struct alc_softc *sc) in alc_init_smb()
4552 alc_rxvlan(struct alc_softc *sc) in alc_rxvlan()
4581 alc_rxfilter(struct alc_softc *sc) in alc_rxfilter()
4651 struct alc_softc *sc __diagused; in alc_debugnet_init()
4669 struct alc_softc *sc; in alc_debugnet_transmit()
4686 struct alc_softc *sc; in alc_debugnet_poll()