Searched refs:dbidx (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/cxgbe/ |
H A D | t4_netmap.c | 457 nm_txq->equiqidx = nm_txq->equeqidx = nm_txq->dbidx = 0; in alloc_nm_txq_hwq() 915 MPASS(nm_txq->pidx != nm_txq->dbidx); in ring_nm_txq_db() 917 n = NMIDXDIFF(nm_txq, dbidx); in ring_nm_txq_db() 941 src = (void *)&nm_txq->desc[nm_txq->dbidx]; in ring_nm_txq_db() 942 while (src != (void *)&nm_txq->desc[nm_txq->dbidx + 1]) in ring_nm_txq_db() 958 nm_txq->dbidx = nm_txq->pidx; in ring_nm_txq_db() 1043 if (NMIDXDIFF(nm_txq, dbidx) >= 2 * SGE_MAX_WR_NDESC) { in cxgbe_nm_tx() 1151 MPASS(nm_txq->dbidx == nm_txq->pidx); in cxgbe_netmap_txsync()
|
H A D | adapter.h | 485 uint16_t dbidx; /* pidx of the most recent doorbell */ member 538 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) <= fl->lowat) 540 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) >= 2 * fl->lowat) 553 uint16_t dbidx; /* hw pidx after last doorbell */ member 817 uint16_t dbidx; /* pidx of the most recent doorbell */ member
|
H A D | t4_sge.c | 2161 MPASS(eq->pidx == eq->dbidx); in drain_wrq_wr_list() 2247 MPASS(eq->pidx == eq->dbidx); in t4_wrq_tx_locked() 3000 MPASS(pidx == eq->dbidx); in commit_wrq_wr() 3026 IDXINCR(eq->dbidx, ndesc, eq->sidx); in commit_wrq_wr() 3044 MPASS(wrq->eq.pidx == wrq->eq.dbidx); in commit_wrq_wr() 3635 fl->pidx = fl->cidx = fl->hw_cidx = fl->dbidx = 0; in alloc_iq_fl_hwq() 4451 eq->pidx = eq->cidx = eq->dbidx = 0; in alloc_eq_hwq() 4956 n = IDXDIFF(fl->pidx >> 3, fl->dbidx, fl->sidx); in ring_fl_db() 4965 IDXINCR(fl->dbidx, n, fl->sidx); in ring_fl_db() 5074 if (IDXDIFF(pidx, fl->dbidx, fl->sidx) >= 4) in refill_fl() [all …]
|
/freebsd/sys/dev/isp/ |
H A D | isp.c | 1816 uint16_t dbidx; in isp_pdb_sync() local 1827 for (dbidx = 0; dbidx < MAX_FC_TARG; dbidx++) { in isp_pdb_sync() 1828 lp = &fcp->portdb[dbidx]; in isp_pdb_sync() 1869 lp->state, dbidx); in isp_pdb_sync()
|