Lines Matching refs:mgb_softc
138 static bool mgb_intr_test(struct mgb_softc *);
151 static int mgb_test_bar(struct mgb_softc *);
152 static int mgb_alloc_regs(struct mgb_softc *);
153 static int mgb_release_regs(struct mgb_softc *);
155 static void mgb_get_ethaddr(struct mgb_softc *,
158 static int mgb_wait_for_bits(struct mgb_softc *,
162 static int mgb_hw_init(struct mgb_softc *);
163 static int mgb_hw_teardown(struct mgb_softc *);
164 static int mgb_hw_reset(struct mgb_softc *);
165 static int mgb_mac_init(struct mgb_softc *);
166 static int mgb_dmac_reset(struct mgb_softc *);
167 static int mgb_phy_reset(struct mgb_softc *);
169 static int mgb_dma_init(struct mgb_softc *);
170 static int mgb_dma_tx_ring_init(struct mgb_softc *,
172 static int mgb_dma_rx_ring_init(struct mgb_softc *,
175 static int mgb_dmac_control(struct mgb_softc *,
177 static int mgb_fct_control(struct mgb_softc *,
204 "mgb", mgb_methods, sizeof(struct mgb_softc)
268 "mgb", mgb_iflib_methods, sizeof(struct mgb_softc)
334 struct mgb_softc *sc; in mgb_attach_pre()
460 struct mgb_softc *sc; in mgb_attach_post()
473 struct mgb_softc *sc; in mgb_detach()
502 struct mgb_softc *sc; in mgb_media_change()
521 struct mgb_softc *sc; in mgb_media_status()
538 struct mgb_softc *sc; in mgb_tx_queues_alloc()
562 struct mgb_softc *sc; in mgb_rx_queues_alloc()
585 struct mgb_softc *sc; in mgb_queues_free()
596 struct mgb_softc *sc; in mgb_init()
622 mgb_dump_some_stats(struct mgb_softc *sc)
711 struct mgb_softc *sc ; in mgb_stop()
732 struct mgb_softc *sc; in mgb_legacy_intr()
742 struct mgb_softc *sc; in mgb_rxq_intr()
767 struct mgb_softc *sc; in mgb_admin_intr()
816 struct mgb_softc *sc; in mgb_msix_intr_assign()
868 struct mgb_softc *sc; in mgb_intr_enable_all()
894 struct mgb_softc *sc; in mgb_intr_disable_all()
909 struct mgb_softc *sc; in mgb_rx_queue_intr_enable()
924 struct mgb_softc *sc; in mgb_tx_queue_intr_enable()
936 mgb_intr_test(struct mgb_softc *sc) in mgb_intr_test()
961 struct mgb_softc *sc; in mgb_isc_txd_encap()
1005 struct mgb_softc *sc; in mgb_isc_txd_flush()
1021 struct mgb_softc *sc; in mgb_isc_txd_credits_update()
1054 struct mgb_softc *sc; in mgb_isc_rxd_available()
1075 struct mgb_softc *sc; in mgb_isc_rxd_pkt_get()
1131 struct mgb_softc *sc; in mgb_isc_rxd_refill()
1167 struct mgb_softc *sc; in mgb_isc_rxd_flush()
1183 mgb_test_bar(struct mgb_softc *sc) in mgb_test_bar()
1199 mgb_alloc_regs(struct mgb_softc *sc) in mgb_alloc_regs()
1214 mgb_release_regs(struct mgb_softc *sc) in mgb_release_regs()
1227 mgb_dma_init(struct mgb_softc *sc) in mgb_dma_init()
1247 mgb_dma_rx_ring_init(struct mgb_softc *sc, int channel) in mgb_dma_rx_ring_init()
1311 mgb_dma_tx_ring_init(struct mgb_softc *sc, int channel) in mgb_dma_tx_ring_init()
1377 mgb_dmac_control(struct mgb_softc *sc, int start, int channel, in mgb_dmac_control()
1414 mgb_fct_control(struct mgb_softc *sc, int reg, int channel, in mgb_fct_control()
1432 mgb_hw_teardown(struct mgb_softc *sc) in mgb_hw_teardown()
1447 mgb_hw_init(struct mgb_softc *sc) in mgb_hw_init()
1470 mgb_hw_reset(struct mgb_softc *sc) in mgb_hw_reset()
1478 mgb_mac_init(struct mgb_softc *sc) in mgb_mac_init()
1493 mgb_phy_reset(struct mgb_softc *sc) in mgb_phy_reset()
1504 mgb_dmac_reset(struct mgb_softc *sc) in mgb_dmac_reset()
1512 mgb_wait_for_bits(struct mgb_softc *sc, int reg, int set_bits, int clear_bits) in mgb_wait_for_bits()
1532 mgb_get_ethaddr(struct mgb_softc *sc, struct ether_addr *dest) in mgb_get_ethaddr()
1542 struct mgb_softc *sc; in mgb_miibus_readreg()
1563 struct mgb_softc *sc; in mgb_miibus_writereg()
1586 struct mgb_softc *sc; in mgb_miibus_statchg()
1599 struct mgb_softc *sc; in mgb_miibus_linkchg()