H A D | if_msk.c | 404 struct msk_if_softc *sc_if; local 406 sc_if = device_get_softc(dev); 408 return (msk_phy_readreg(sc_if, phy, reg)); 412 msk_phy_readreg(struct msk_if_softc *sc_if, int phy, int reg) argument 417 sc = sc_if->msk_softc; 419 GMAC_WRITE_2(sc, sc_if->msk_port, GM_SMI_CTRL, 424 val = GMAC_READ_2(sc, sc_if->msk_port, GM_SMI_CTRL); 426 val = GMAC_READ_2(sc, sc_if->msk_port, GM_SMI_DATA); 432 if_printf(sc_if->msk_ifp, "phy failed to come ready\n"); 442 struct msk_if_softc *sc_if; local 450 msk_phy_writereg(struct msk_if_softc *sc_if, int phy, int reg, int val) argument 476 struct msk_if_softc *sc_if; local 577 msk_rxfilter(struct msk_if_softc *sc_if) argument 630 msk_setvlan(struct msk_if_softc *sc_if, struct ifnet *ifp) argument 649 msk_rx_fill(struct msk_if_softc *sc_if, int jumbo) argument 697 msk_init_rx_ring(struct msk_if_softc *sc_if) argument 764 msk_init_jumbo_rx_ring(struct msk_if_softc *sc_if) argument 832 msk_init_tx_ring(struct msk_if_softc *sc_if) argument 859 msk_discard_rxbuf(struct msk_if_softc *sc_if, int idx) argument 878 msk_discard_jumbo_rxbuf(struct msk_if_softc *sc_if, int idx) argument 897 msk_newbuf(struct msk_if_softc *sc_if, int idx) argument 955 msk_jumbo_newbuf(struct msk_if_softc *sc_if, int idx) argument 1018 struct msk_if_softc *sc_if; local 1038 struct msk_if_softc *sc_if; local 1058 struct msk_if_softc *sc_if; local 1594 struct msk_if_softc *sc_if; local 2028 struct msk_if_softc *sc_if; local 2225 msk_txrx_dma_alloc(struct msk_if_softc *sc_if) argument 2410 msk_rx_dma_jalloc(struct msk_if_softc *sc_if) argument 2520 msk_txrx_dma_free(struct msk_if_softc *sc_if) argument 2592 msk_rx_dma_jfree(struct msk_if_softc *sc_if) argument 2633 msk_encap(struct msk_if_softc *sc_if, struct mbuf **m_head) argument 2914 struct msk_if_softc *sc_if; local 2925 struct msk_if_softc *sc_if; local 2975 msk_watchdog(struct msk_if_softc *sc_if) argument 3102 msk_rxcsum(struct msk_if_softc *sc_if, uint32_t control, struct mbuf *m) argument 3192 msk_rxeof(struct msk_if_softc *sc_if, uint32_t status, uint32_t control, int len) argument 3268 msk_jumbo_rxeof(struct msk_if_softc *sc_if, uint32_t status, uint32_t control, int len) argument 3333 msk_txeof(struct msk_if_softc *sc_if, int idx) argument 3387 struct msk_if_softc *sc_if; local 3405 msk_intr_phy(struct msk_if_softc *sc_if) argument 3418 msk_intr_gmac(struct msk_if_softc *sc_if) argument 3449 msk_handle_hwerr(struct msk_if_softc *sc_if, uint32_t status) argument 3572 msk_rxput(struct msk_if_softc *sc_if) argument 3594 struct msk_if_softc *sc_if; local 3768 msk_set_tx_stfwd(struct msk_if_softc *sc_if) argument 3799 struct msk_if_softc *sc_if = xsc; local 3807 msk_init_locked(struct msk_if_softc *sc_if) argument 4082 msk_set_rambuffer(struct msk_if_softc *sc_if) argument 4157 msk_stop(struct msk_if_softc *sc_if) argument 4323 msk_stats_clear(struct msk_if_softc *sc_if) argument 4345 msk_stats_update(struct msk_if_softc *sc_if) argument 4454 struct msk_if_softc *sc_if; local 4475 struct msk_if_softc *sc_if; local 4505 msk_sysctl_node(struct msk_if_softc *sc_if) argument [all...] |