Lines Matching refs:alc_softc

134 static void	alc_aspm(struct alc_softc *, int, int);
135 static void alc_aspm_813x(struct alc_softc *, int);
136 static void alc_aspm_816x(struct alc_softc *, int);
138 static int alc_check_boundary(struct alc_softc *);
139 static void alc_config_msi(struct alc_softc *);
141 static void alc_disable_l0s_l1(struct alc_softc *);
142 static int alc_dma_alloc(struct alc_softc *);
143 static void alc_dma_free(struct alc_softc *);
145 static void alc_dsp_fixup(struct alc_softc *, int);
146 static int alc_encap(struct alc_softc *, struct mbuf **);
153 static void alc_get_macaddr(struct alc_softc *);
154 static void alc_get_macaddr_813x(struct alc_softc *);
155 static void alc_get_macaddr_816x(struct alc_softc *);
156 static void alc_get_macaddr_par(struct alc_softc *);
158 static void alc_init_cmb(struct alc_softc *);
159 static void alc_init_locked(struct alc_softc *);
160 static void alc_init_rr_ring(struct alc_softc *);
161 static int alc_init_rx_ring(struct alc_softc *);
162 static void alc_init_smb(struct alc_softc *);
163 static void alc_init_tx_ring(struct alc_softc *);
167 static void alc_mac_config(struct alc_softc *);
168 static uint32_t alc_mii_readreg_813x(struct alc_softc *, int, int);
169 static uint32_t alc_mii_readreg_816x(struct alc_softc *, int, int);
170 static uint32_t alc_mii_writereg_813x(struct alc_softc *, int, int, int);
171 static uint32_t alc_mii_writereg_816x(struct alc_softc *, int, int, int);
175 static uint32_t alc_miidbg_readreg(struct alc_softc *, int);
176 static uint32_t alc_miidbg_writereg(struct alc_softc *, int, int);
177 static uint32_t alc_miiext_readreg(struct alc_softc *, int, int);
178 static uint32_t alc_miiext_writereg(struct alc_softc *, int, int, int);
180 static int alc_mediachange_locked(struct alc_softc *);
182 static int alc_newbuf(struct alc_softc *, struct alc_rxdesc *);
183 static void alc_osc_reset(struct alc_softc *);
184 static void alc_phy_down(struct alc_softc *);
185 static void alc_phy_reset(struct alc_softc *);
186 static void alc_phy_reset_813x(struct alc_softc *);
187 static void alc_phy_reset_816x(struct alc_softc *);
189 static void alc_reset(struct alc_softc *);
191 static void alc_rxeof(struct alc_softc *, struct rx_rdesc *);
192 static int alc_rxintr(struct alc_softc *, int);
193 static void alc_rxfilter(struct alc_softc *);
194 static void alc_rxvlan(struct alc_softc *);
195 static void alc_setlinkspeed(struct alc_softc *);
196 static void alc_setwol(struct alc_softc *);
197 static void alc_setwol_813x(struct alc_softc *);
198 static void alc_setwol_816x(struct alc_softc *);
202 static void alc_start_queue(struct alc_softc *);
203 static void alc_start_tx(struct alc_softc *);
204 static void alc_stats_clear(struct alc_softc *);
205 static void alc_stats_update(struct alc_softc *);
206 static void alc_stop(struct alc_softc *);
207 static void alc_stop_mac(struct alc_softc *);
208 static void alc_stop_queue(struct alc_softc *);
210 static void alc_sysctl_node(struct alc_softc *);
212 static void alc_txeof(struct alc_softc *);
213 static void alc_watchdog(struct alc_softc *);
240 sizeof(struct alc_softc)
275 struct alc_softc *sc;
287 alc_mii_readreg_813x(struct alc_softc *sc, int phy, int reg)
320 alc_mii_readreg_816x(struct alc_softc *sc, int phy, int reg)
349 struct alc_softc *sc;
361 alc_mii_writereg_813x(struct alc_softc *sc, int phy, int reg, int val)
383 alc_mii_writereg_816x(struct alc_softc *sc, int phy, int reg, int val)
411 struct alc_softc *sc;
457 alc_miidbg_readreg(struct alc_softc *sc, int reg)
467 alc_miidbg_writereg(struct alc_softc *sc, int reg, int val)
477 alc_miiext_readreg(struct alc_softc *sc, int devaddr, int reg)
507 alc_miiext_writereg(struct alc_softc *sc, int devaddr, int reg, int val)
536 alc_dsp_fixup(struct alc_softc *sc, int media)
610 struct alc_softc *sc;
630 struct alc_softc *sc;
642 alc_mediachange_locked(struct alc_softc *sc)
689 alc_get_macaddr(struct alc_softc *sc)
699 alc_get_macaddr_813x(struct alc_softc *sc)
800 alc_get_macaddr_816x(struct alc_softc *sc)
859 alc_get_macaddr_par(struct alc_softc *sc)
874 alc_disable_l0s_l1(struct alc_softc *sc)
891 alc_phy_reset(struct alc_softc *sc)
901 alc_phy_reset_813x(struct alc_softc *sc)
1015 alc_phy_reset_816x(struct alc_softc *sc)
1088 alc_phy_down(struct alc_softc *sc)
1137 alc_aspm(struct alc_softc *sc, int init, int media)
1147 alc_aspm_813x(struct alc_softc *sc, int media)
1235 alc_aspm_816x(struct alc_softc *sc, int init)
1270 alc_init_pcie(struct alc_softc *sc)
1345 alc_config_msi(struct alc_softc *sc)
1377 struct alc_softc *sc;
1675 struct alc_softc *sc;
1739 alc_sysctl_node(struct alc_softc *sc)
1942 alc_check_boundary(struct alc_softc *sc)
1973 alc_dma_alloc(struct alc_softc *sc)
2314 alc_dma_free(struct alc_softc *sc)
2455 alc_setlinkspeed(struct alc_softc *sc)
2518 alc_setwol(struct alc_softc *sc)
2528 alc_setwol_813x(struct alc_softc *sc)
2591 alc_setwol_816x(struct alc_softc *sc)
2659 struct alc_softc *sc;
2674 struct alc_softc *sc;
2704 alc_encap(struct alc_softc *sc, struct mbuf **m_head)
2938 struct alc_softc *sc;
2949 struct alc_softc *sc;
2995 alc_start_tx(struct alc_softc *sc)
3015 alc_watchdog(struct alc_softc *sc)
3043 struct alc_softc *sc;
3154 alc_mac_config(struct alc_softc *sc)
3191 alc_stats_clear(struct alc_softc *sc)
3223 alc_stats_update(struct alc_softc *sc)
3341 struct alc_softc *sc;
3344 sc = (struct alc_softc *)arg;
3364 struct alc_softc *sc;
3369 sc = (struct alc_softc *)arg;
3437 alc_txeof(struct alc_softc *sc)
3503 alc_newbuf(struct alc_softc *sc, struct alc_rxdesc *rxd)
3541 alc_rxintr(struct alc_softc *sc, int count)
3652 alc_rxeof(struct alc_softc *sc, struct rx_rdesc *rrd)
3775 struct alc_softc *sc;
3778 sc = (struct alc_softc *)arg;
3798 alc_osc_reset(struct alc_softc *sc)
3836 alc_reset(struct alc_softc *sc)
3923 struct alc_softc *sc;
3925 sc = (struct alc_softc *)xsc;
3932 alc_init_locked(struct alc_softc *sc)
4325 alc_stop(struct alc_softc *sc)
4390 alc_stop_mac(struct alc_softc *sc)
4414 alc_start_queue(struct alc_softc *sc)
4442 alc_stop_queue(struct alc_softc *sc)
4479 alc_init_tx_ring(struct alc_softc *sc)
4503 alc_init_rx_ring(struct alc_softc *sc)
4537 alc_init_rr_ring(struct alc_softc *sc)
4554 alc_init_cmb(struct alc_softc *sc)
4567 alc_init_smb(struct alc_softc *sc)
4580 alc_rxvlan(struct alc_softc *sc)
4597 alc_rxfilter(struct alc_softc *sc)
4677 struct alc_softc *sc;
4695 struct alc_softc *sc;
4712 struct alc_softc *sc;