Lines Matching refs:scctx
94 if_softc_ctx_t scctx = sc->shared; in em_dump_rs() local
102 ntxd = scctx->isc_ntxd[0]; in em_dump_rs()
140 if_softc_ctx_t scctx = sc->shared; in em_tso_setup() local
216 if (++cur == scctx->isc_ntxd[0]) { in em_tso_setup()
247 if_softc_ctx_t scctx = sc->shared; in em_transmit_checksum_setup() local
331 if (++cur == scctx->isc_ntxd[0]) { in em_transmit_checksum_setup()
347 if_softc_ctx_t scctx = sc->shared; in em_isc_txd_encap() local
364 ntxd = scctx->isc_ntxd[0]; in em_isc_txd_encap()
419 if (++i == scctx->isc_ntxd[0]) in em_isc_txd_encap()
429 if (++i == scctx->isc_ntxd[0]) in em_isc_txd_encap()
433 pidx_last, i, scctx->isc_ntxd[0]); in em_isc_txd_encap()
439 if (++i == scctx->isc_ntxd[0]) in em_isc_txd_encap()
443 pidx_last, i, scctx->isc_ntxd[0]); in em_isc_txd_encap()
487 if_softc_ctx_t scctx = sc->shared; in em_isc_txd_credits_update() local
514 ntxd = scctx->isc_ntxd[0]; in em_isc_txd_credits_update()
544 if_softc_ctx_t scctx = sc->shared; in lem_isc_rxd_refill() local
563 if (++next_pidx == scctx->isc_nrxd[0]) in lem_isc_rxd_refill()
572 if_softc_ctx_t scctx = sc->shared; in em_isc_rxd_refill() local
592 if (++next_pidx == scctx->isc_nrxd[0]) in em_isc_rxd_refill()
612 if_softc_ctx_t scctx = sc->shared; in lem_isc_rxd_available() local
619 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { in lem_isc_rxd_available()
625 if (++i == scctx->isc_nrxd[0]) in lem_isc_rxd_available()
637 if_softc_ctx_t scctx = sc->shared; in em_isc_rxd_available() local
644 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { in em_isc_rxd_available()
650 if (++i == scctx->isc_nrxd[0]) in em_isc_rxd_available()
662 if_softc_ctx_t scctx = sc->shared; in lem_isc_rxd_pkt_get() local
701 if (++cidx == scctx->isc_nrxd[0]) in lem_isc_rxd_pkt_get()
708 if (scctx->isc_capenable & IFCAP_RXCSUM) in lem_isc_rxd_pkt_get()
711 if (scctx->isc_capenable & IFCAP_VLAN_HWTAGGING && in lem_isc_rxd_pkt_get()
726 if_softc_ctx_t scctx = sc->shared; in em_isc_rxd_pkt_get() local
766 if (++cidx == scctx->isc_nrxd[0]) in em_isc_rxd_pkt_get()
773 if (scctx->isc_capenable & IFCAP_RXCSUM) in em_isc_rxd_pkt_get()
776 if (scctx->isc_capenable & IFCAP_VLAN_HWTAGGING && in em_isc_rxd_pkt_get()