Home
last modified time | relevance | path

Searched refs:dbidx (Results 1 – 5 of 5) sorted by relevance

/freebsd-10-stable/sys/dev/cxgbe/
Dt4_netmap.c278 nm_txq->equiqidx = nm_txq->equeqidx = nm_txq->dbidx = 0; in alloc_nm_txq_hwq()
503 MPASS(nm_txq->pidx != nm_txq->dbidx); in ring_nm_txq_db()
505 n = NMIDXDIFF(nm_txq, dbidx); in ring_nm_txq_db()
529 src = (void *)&nm_txq->desc[nm_txq->dbidx]; in ring_nm_txq_db()
530 while (src != (void *)&nm_txq->desc[nm_txq->dbidx + 1]) in ring_nm_txq_db()
546 nm_txq->dbidx = nm_txq->pidx; in ring_nm_txq_db()
648 if (NMIDXDIFF(nm_txq, dbidx) >= 2 * SGE_MAX_WR_NDESC) in cxgbe_nm_tx()
751 MPASS(nm_txq->dbidx == nm_txq->pidx); in cxgbe_netmap_txsync()
Dadapter.h422 uint16_t dbidx; /* pidx of the most recent doorbell */ member
478 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) <= fl->lowat)
480 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) >= 2 * fl->lowat)
492 uint16_t dbidx; /* hw pidx after last doorbell */ member
684 uint16_t dbidx; /* pidx of the most recent doorbell */ member
Dt4_sge.c1893 MPASS(eq->pidx == eq->dbidx); in drain_wrq_wr_list()
1978 MPASS(eq->pidx == eq->dbidx); in t4_wrq_tx_locked()
2362 MPASS(pidx == eq->dbidx); in commit_wrq_wr()
2382 MPASS(wrq->eq.pidx == wrq->eq.dbidx); in commit_wrq_wr()
2453 dbdiff = IDXDIFF(eq->pidx, eq->dbidx, eq->sidx); in eth_tx()
3465 eq->equeqidx = eq->dbidx = 0; in alloc_eq()
3779 n = IDXDIFF(fl->pidx / 8, fl->dbidx, fl->sidx); in ring_fl_db()
3788 IDXINCR(fl->dbidx, n, fl->sidx); in ring_fl_db()
3908 if (IDXDIFF(pidx, fl->dbidx, fl->sidx) >= 4) in refill_fl()
3913 if (fl->pidx / 8 != fl->dbidx) in refill_fl()
[all …]
/freebsd-10-stable/sys/dev/isp/
Disp_freebsd.c2642 int dbidx, more_to_do = 0; in isp_gdt_task() local
2646 for (dbidx = 0; dbidx < MAX_FC_TARG; dbidx++) { in isp_gdt_task()
2647 lp = &FCPARAM(isp, chan)->portdb[dbidx]; in isp_gdt_task()
2657 isp_prt(isp, ISP_LOGCONFIG, prom3, chan, dbidx, lp->portid, "Gone Device Timeout"); in isp_gdt_task()
2660 isp_make_gone(isp, lp, chan, dbidx); in isp_gdt_task()
2668 adc->target = dbidx; in isp_gdt_task()
2728 int dbidx, i; in isp_loop_dead() local
2735 for (dbidx = 0; dbidx < MAX_FC_TARG; dbidx++) { in isp_loop_dead()
2736 lp = &fcp->portdb[dbidx]; in isp_loop_dead()
2750 if (dbidx != XS_TGT(xs)) { in isp_loop_dead()
[all …]
Disp.c3143 uint16_t dbidx; in isp_pdb_sync() local
3154 for (dbidx = 0; dbidx < MAX_FC_TARG; dbidx++) { in isp_pdb_sync()
3155 lp = &fcp->portdb[dbidx]; in isp_pdb_sync()
3195 lp->state, dbidx); in isp_pdb_sync()