alc_softc
alc_phy_down(struct alc_softc *sc)
alc_aspm(struct alc_softc *sc, int init, int media)
alc_aspm_813x(struct alc_softc *sc, int media)
alc_aspm_816x(struct alc_softc *sc, int init)
alc_init_pcie(struct alc_softc *sc)
static void alc_aspm(struct alc_softc *, int, int);
static void alc_aspm_813x(struct alc_softc *, int);
static void alc_aspm_816x(struct alc_softc *, int);
static void alc_disable_l0s_l1(struct alc_softc *);
struct alc_softc *sc = device_private(self);
static int alc_dma_alloc(struct alc_softc *);
static void alc_dma_free(struct alc_softc *);
static void alc_dsp_fixup(struct alc_softc *, int);
static int alc_encap(struct alc_softc *, struct mbuf **);
static void alc_get_macaddr(struct alc_softc *);
static void alc_get_macaddr_813x(struct alc_softc *);
static void alc_get_macaddr_816x(struct alc_softc *);
static void alc_get_macaddr_par(struct alc_softc *);
static void alc_init_cmb(struct alc_softc *);
static void alc_init_rr_ring(struct alc_softc *);
static int alc_init_rx_ring(struct alc_softc *, bool);
static void alc_init_smb(struct alc_softc *);
static void alc_init_tx_ring(struct alc_softc *);
static void alc_mac_config(struct alc_softc *);
static int alc_mii_readreg_813x(struct alc_softc *, int, int, uint16_t *);
static int alc_mii_readreg_816x(struct alc_softc *, int, int, uint16_t *);
static int alc_mii_writereg_813x(struct alc_softc *, int, int, uint16_t);
static int alc_mii_writereg_816x(struct alc_softc *, int, int, uint16_t);
static int alc_miidbg_readreg(struct alc_softc *, int, uint16_t *);
static int alc_miidbg_writereg(struct alc_softc *, int, uint16_t);
static int alc_miiext_readreg(struct alc_softc *, int, int, uint16_t *);
struct alc_softc *sc = device_private(self);
static int alc_miiext_writereg(struct alc_softc *, int, int, uint16_t);
static int alc_newbuf(struct alc_softc *, struct alc_rxdesc *, bool);
static void alc_phy_down(struct alc_softc *);
static void alc_phy_reset(struct alc_softc *);
alc_dma_alloc(struct alc_softc *sc)
static void alc_phy_reset_813x(struct alc_softc *);
static void alc_phy_reset_816x(struct alc_softc *);
static void alc_reset(struct alc_softc *);
static void alc_rxeof(struct alc_softc *, struct rx_rdesc *);
static int alc_rxintr(struct alc_softc *);
static void alc_iff(struct alc_softc *);
static void alc_rxvlan(struct alc_softc *);
static void alc_start_queue(struct alc_softc *);
static void alc_stats_clear(struct alc_softc *);
static void alc_stats_update(struct alc_softc *);
static void alc_stop_mac(struct alc_softc *);
static void alc_stop_queue(struct alc_softc *);
static void alc_txeof(struct alc_softc *);
static void alc_init_pcie(struct alc_softc *);
CFATTACH_DECL_NEW(alc, sizeof(struct alc_softc),
alc_dma_free(struct alc_softc *sc)
struct alc_softc *sc = device_private(dev);
alc_encap(struct alc_softc *sc, struct mbuf **m_head)
alc_mii_readreg_813x(struct alc_softc *sc, int phy, int reg, uint16_t *val)
struct alc_softc *sc = ifp->if_softc;
struct alc_softc *sc = ifp->if_softc;
struct alc_softc *sc = ifp->if_softc;
alc_mac_config(struct alc_softc *sc)
alc_stats_clear(struct alc_softc *sc)
alc_stats_update(struct alc_softc *sc)
struct alc_softc *sc = arg;
alc_txeof(struct alc_softc *sc)
alc_mii_readreg_816x(struct alc_softc *sc, int phy, int reg, uint16_t *val)
alc_newbuf(struct alc_softc *sc, struct alc_rxdesc *rxd, bool init)
alc_rxintr(struct alc_softc *sc)
alc_rxeof(struct alc_softc *sc, struct rx_rdesc *rrd)
struct alc_softc *sc = xsc;
alc_osc_reset(struct alc_softc *sc)
alc_reset(struct alc_softc *sc)
struct alc_softc *sc = device_private(dev);
struct alc_softc *sc = ifp->if_softc;
alc_mii_writereg_813x(struct alc_softc *sc, int phy, int reg, uint16_t val)
alc_mii_writereg_816x(struct alc_softc *sc, int phy, int reg, uint16_t val)
struct alc_softc *sc = ifp->if_softc;
alc_stop_mac(struct alc_softc *sc)
alc_start_queue(struct alc_softc *sc)
alc_stop_queue(struct alc_softc *sc)
alc_init_tx_ring(struct alc_softc *sc)
alc_init_rx_ring(struct alc_softc *sc, bool init)
struct alc_softc *sc = ifp->if_softc;
alc_init_rr_ring(struct alc_softc *sc)
alc_init_cmb(struct alc_softc *sc)
alc_init_smb(struct alc_softc *sc)
alc_rxvlan(struct alc_softc *sc)
alc_iff(struct alc_softc *sc)
alc_miidbg_readreg(struct alc_softc *sc, int reg, uint16_t *val)
alc_miidbg_writereg(struct alc_softc *sc, int reg, uint16_t val)
alc_miiext_readreg(struct alc_softc *sc, int devaddr, int reg, uint16_t *val)
alc_miiext_writereg(struct alc_softc *sc, int devaddr, int reg, uint16_t val)
alc_dsp_fixup(struct alc_softc *sc, int media)
struct alc_softc *sc = ifp->if_softc;
struct alc_softc *sc = ifp->if_softc;
alc_get_macaddr(struct alc_softc *sc)
alc_get_macaddr_813x(struct alc_softc *sc)
alc_get_macaddr_816x(struct alc_softc *sc)
alc_get_macaddr_par(struct alc_softc *sc)
alc_disable_l0s_l1(struct alc_softc *sc)
alc_phy_reset(struct alc_softc *sc)
alc_phy_reset_813x(struct alc_softc *sc)
alc_phy_reset_816x(struct alc_softc *sc)