Lines Matching refs:ptnet_softc
106 struct ptnet_softc;
121 struct ptnet_softc *sc;
143 struct ptnet_softc { struct
188 static int ptnet_init_locked(struct ptnet_softc *sc); argument
189 static int ptnet_stop(struct ptnet_softc *sc);
203 static int ptnet_irqs_init(struct ptnet_softc *sc);
204 static void ptnet_irqs_fini(struct ptnet_softc *sc);
206 static uint32_t ptnet_nm_ptctl(struct ptnet_softc *sc, uint32_t cmd);
209 static void ptnet_update_vnet_hdr(struct ptnet_softc *sc);
241 sizeof(struct ptnet_softc)
289 struct ptnet_softc *sc; in ptnet_attach()
494 ptnet_device_shutdown(struct ptnet_softc *sc) in ptnet_device_shutdown()
506 struct ptnet_softc *sc = device_get_softc(dev); in ptnet_detach()
579 struct ptnet_softc *sc = device_get_softc(dev); in ptnet_suspend()
589 struct ptnet_softc *sc = device_get_softc(dev); in ptnet_resume()
599 struct ptnet_softc *sc = device_get_softc(dev); in ptnet_shutdown()
607 ptnet_irqs_init(struct ptnet_softc *sc) in ptnet_irqs_init()
702 ptnet_irqs_fini(struct ptnet_softc *sc) in ptnet_irqs_fini()
739 struct ptnet_softc *sc = opaque; in ptnet_init()
749 struct ptnet_softc *sc = if_getsoftc(ifp); in ptnet_ioctl()
840 ptnet_init_locked(struct ptnet_softc *sc) in ptnet_init_locked()
932 ptnet_stop(struct ptnet_softc *sc) in ptnet_stop()
969 struct ptnet_softc *sc = if_getsoftc(ifp); in ptnet_qflush()
992 struct ptnet_softc *sc = if_getsoftc(ifp); in ptnet_media_change()
1005 struct ptnet_softc *sc = if_getsoftc(ifp); in ptnet_get_counter()
1046 struct ptnet_softc *sc = opaque; in ptnet_tick()
1085 ptnet_nm_ptctl(struct ptnet_softc *sc, uint32_t cmd) in ptnet_nm_ptctl()
1098 struct ptnet_softc *sc = if_getsoftc(na->ifp); in ptnet_nm_config()
1115 ptnet_sync_from_csb(struct ptnet_softc *sc, struct netmap_adapter *na) in ptnet_sync_from_csb()
1148 ptnet_update_vnet_hdr(struct ptnet_softc *sc) in ptnet_update_vnet_hdr()
1162 struct ptnet_softc *sc = if_getsoftc(ifp); in ptnet_nm_register()
1240 struct ptnet_softc *sc = if_getsoftc(kring->na->ifp); in ptnet_nm_txsync()
1255 struct ptnet_softc *sc = if_getsoftc(kring->na->ifp); in ptnet_nm_rxsync()
1270 struct ptnet_softc *sc = if_getsoftc(na->ifp); in ptnet_nm_intr()
1283 struct ptnet_softc *sc = pq->sc; in ptnet_tx_intr()
1305 struct ptnet_softc *sc = pq->sc; in ptnet_rx_intr()
1373 struct ptnet_softc *sc = pq->sc; in ptnet_drain_transmit_queue()
1569 struct ptnet_softc *sc = if_getsoftc(ifp); in ptnet_transmit()
1673 struct ptnet_softc *sc = pq->sc; in ptnet_rx_eof()
1928 struct ptnet_softc *sc = if_getsoftc(ifp); in ptnet_poll()