Searched refs:cidx (Results 1 - 15 of 15) sorted by relevance

/freebsd-9.3-release/sys/dev/cxgb/
H A Dcxgb_sge.c794 u_int cidx = q->cidx; local
797 struct rx_sw_desc *d = &q->sdesc[cidx];
816 if (++cidx == q->size)
817 cidx = 0;
1146 if (((txqs->pidx > txq->cidx) &&
1148 (txq->pidx >= txq->cidx)) ||
1149 ((txqs->pidx < txq->cidx) &&
1150 (txq->pidx >= txq-> cidx)) ||
1151 ((txqs->pidx < txq->cidx)
2129 unsigned int cidx, mask; local
2693 int mask, cidx = fl->cidx; local
[all...]
H A Dcxgb_adapter.h173 uint32_t cidx; member in struct:sge_rspq
206 uint32_t cidx; member in struct:sge_fl
234 uint32_t cidx; member in struct:sge_txq
/freebsd-9.3-release/sys/dev/cxgbe/
H A Dt4_sge.c1442 struct fl_sdesc *sd = &fl->sdesc[fl->cidx];
1518 return (m); /* without advancing the cidx */
1521 if (__predict_false(++fl->cidx == fl->cap))
1522 fl->cidx = 0;
1538 * fl->cidx. (Contrast that with fl->pidx/fl->needed which could be
1561 if (__predict_false(++fl->cidx == fl->cap))
1562 fl->cidx = 0;
1687 eq->cidx += can_reclaim;
1689 if (__predict_false(eq->cidx >= eq->cap))
1690 eq->cidx
3880 unsigned int cidx; local
[all...]
H A Dadapter.h318 uint16_t cidx; /* consumer index */ member in struct:sge_iq
365 uint16_t cidx; /* consumer idx (desc idx) */ member in struct:sge_eq
417 uint32_t cidx; /* consumer idx (buffer idx, NOT hw desc idx) */ member in struct:sge_fl
/freebsd-9.3-release/sys/dev/cxgbe/common/
H A Dt4_hw.h94 volatile __be16 cidx; member in struct:sge_qstat
H A Dt4_msg.h2270 __be16 cidx; member in struct:cpl_sge_egr_update
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_nmea.c259 int cidx; /* current field index */ member in struct:__anon148
1302 data->cidx = 0;
1377 if (fn < data->cidx) {
1378 data->cidx = 0;
1381 while ((fn > data->cidx) && (tmp = *data->cptr) != '\0') {
1382 data->cidx += (tmp == ',');
/freebsd-9.3-release/contrib/binutils/gas/
H A Dmacro.c493 int cidx; local
569 cidx = idx;
571 if (idx != cidx && idx >= in->len)
573 idx = cidx;
657 int cidx; local
663 cidx = sb_skip_white (idx, in);
664 idx = sb_skip_comma (cidx, in);
665 if (idx == cidx || idx < in->len)
668 idx = cidx;
/freebsd-9.3-release/sys/dev/oce/
H A Doce_if.h292 ring->cidx = GET_Q_NEXT(ring->cidx, n, ring->num_items)
297 (void*)((type *)DBUF_VA(&ring->dma) + ring->cidx)
299 (uint64_t)(((type *)DBUF_PA(ring->dbuf)) + ring->cidx)
322 uint16_t cidx; /* Get ptr */ member in struct:oce_ring_buffer_s
H A Doce_queue.c341 wq->ring->cidx = 0;
527 rq->ring->cidx = 0;
1216 rq->ring->cidx = 0;
H A Doce_if.c1224 wq->ring->cidx = cqe->u0.s.wqe_index + 1;
1225 if (wq->ring->cidx >= wq->ring->num_items)
1226 wq->ring->cidx -= wq->ring->num_items;
/freebsd-9.3-release/sys/dev/cxgb/common/
H A Dcxgb_common.h799 unsigned int cidx);
802 unsigned int cong_thres, int gen, unsigned int cidx);
805 unsigned int fl_thres, int gen, unsigned int cidx);
H A Dcxgb_t3_hw.c2550 * @cidx: consumer pointer
2559 unsigned int cidx)
2569 t3_write_reg(adapter, A_SG_CONTEXT_DATA0, V_EC_INDEX(cidx) |
2593 * @cidx: consumer pointer
2601 unsigned int cong_thres, int gen, unsigned int cidx)
2613 V_FL_INDEX_LO(cidx & M_FL_INDEX_LO));
2615 V_FL_GEN(gen) | V_FL_INDEX_HI(cidx >> 12) |
2632 * @cidx: consumer pointer
2640 unsigned int fl_thres, int gen, unsigned int cidx)
2651 V_CQ_INDEX(cidx));
2556 t3_sge_init_ecntxt(adapter_t *adapter, unsigned int id, int gts_enable, enum sge_context_type type, int respq, u64 base_addr, unsigned int size, unsigned int token, int gen, unsigned int cidx) argument
2599 t3_sge_init_flcntxt(adapter_t *adapter, unsigned int id, int gts_enable, u64 base_addr, unsigned int size, unsigned int bsize, unsigned int cong_thres, int gen, unsigned int cidx) argument
2638 t3_sge_init_rspcntxt(adapter_t *adapter, unsigned int id, int irq_vec_idx, u64 base_addr, unsigned int size, unsigned int fl_thres, int gen, unsigned int cidx) argument
[all...]
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c1439 int i, numtbls = 1, cidx, naddrs; local
1476 cidx = 1;
1486 if ((naddrs = pfa_table_addrs(cidx, it)) < 0)
1489 cidx += naddrs;
1493 pfa_table_count = cidx;
/freebsd-9.3-release/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h7602 __be16 cidx; member in struct:fw_error_cmd::fw_error::fw_error_wr
7608 __be16 cidx; member in struct:fw_error_cmd::fw_error::fw_error_acl

Completed in 404 milliseconds