Lines Matching refs:nslots

224 	srp->tx_free = srp->desc.nslots;
271 for (slot = 0; slot < srp->desc.nslots; ++ssbdp, ++slot)
290 uint32_t nslots;
309 nslots = brp->desc.nslots;
310 ASSERT(brp->buf[0].nslots == nslots/BGE_SPLIT);
313 for (slot = 0; slot < nslots; ++hw_rbd_p, ++srbdp, ++slot) {
326 brp->rf_next = (nslots != 0) ? (nslots-1) : 0;
2144 dma_p->nslots = ~0U;
2187 slice->nslots = qty;
2213 uint32_t nslots;
2237 nslots = brp->desc.nslots;
2238 ASSERT(brp->buf[0].nslots == nslots/BGE_SPLIT);
2250 brp->hw_rcb.flags = nslots > 0 ? 0 : RCB_FLAG_RING_DISABLED;
2266 srbdp = kmem_zalloc(nslots*sizeof (*srbdp), KM_SLEEP);
2274 for (slot = 0; slot < nslots/BGE_SPLIT; ++srbdp, ++slot)
2294 kmem_free(srbdp, brp->desc.nslots*sizeof (*srbdp));
2310 uint32_t nslots;
2320 nslots = rrp->desc.nslots;
2321 ASSERT(nslots == 0 || nslots == 512 ||
2322 nslots == 1024 || nslots == 2048);
2328 rrp->hw_rcb.max_len = (uint16_t)nslots;
2329 rrp->hw_rcb.flags = nslots > 0 ? 0 : RCB_FLAG_RING_DISABLED;
2374 uint32_t nslots;
2387 nslots = srp->desc.nslots;
2388 ASSERT(nslots == 0 || nslots == 512);
2394 srp->hw_rcb.max_len = (uint16_t)nslots;
2395 srp->hw_rcb.flags = nslots > 0 ? 0 : RCB_FLAG_RING_DISABLED;
2396 srp->hw_rcb.nic_ring_addr = NIC_MEM_SHADOW_SEND_RING(ring, nslots);
2413 if (nslots == 0)
2419 ssbdp = kmem_zalloc(nslots*sizeof (*ssbdp), KM_SLEEP);
2438 for (slot = 0; slot < nslots; ++ssbdp, ++slot) {
2467 uint32_t nslots;
2477 nslots = srp->desc.nslots;
2478 if (nslots == 0)
2484 kmem_free(srp->sw_sbds, nslots*sizeof (*srp->sw_sbds));
2793 BGE_DEBUG(("RXB SLCE %d STND: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2809 BGE_DEBUG(("RXB SLCE %d JUMB: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2826 BGE_DEBUG(("RXB SLCE %d MINI: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2863 BGE_DEBUG(("TXB SLCE %d RING %d: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2892 BGE_DEBUG(("RXD CONS RING %d: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2919 BGE_DEBUG(("RXD PROD STND: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2930 BGE_DEBUG(("RXD PROD JUMB: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2941 BGE_DEBUG(("RXD PROD MINI: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2972 BGE_DEBUG(("TXD RING %d: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2988 BGE_DEBUG(("TXD STATISTICS: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
2998 BGE_DEBUG(("TXD STATUS BLOCK: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",