Home
last modified time | relevance | path

Searched refs:pidx (Results 1 – 8 of 8) sorted by relevance

/drivers/net/chelsio/
Dsge.c184 u16 pidx; /* producer index (SW) */ member
197 u16 pidx; /* producer index (SW) */ member
835 struct freelQ_ce *ce = &q->centries[q->pidx]; in refill_free_list()
836 struct freelQ_e *e = &q->entries[q->pidx]; in refill_free_list()
863 if (++q->pidx == q->size) { in refill_free_list()
864 q->pidx = 0; in refill_free_list()
1013 struct freelQ_e *to = &fl->entries[fl->pidx]; in recycle_fl_buf()
1015 fl->centries[fl->pidx] = fl->centries[idx]; in recycle_fl_buf()
1023 if (++fl->pidx == fl->size) { in recycle_fl_buf()
1024 fl->pidx = 0; in recycle_fl_buf()
[all …]
/drivers/net/cxgb3/
Dsge.c440 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl()
441 struct rx_desc *d = &q->desc[q->pidx]; in refill_fl()
475 if (++q->pidx == q->size) { in refill_fl()
476 q->pidx = 0; in refill_fl()
510 struct rx_desc *to = &q->desc[q->pidx]; in recycle_rx_buf()
512 q->sdesc[q->pidx] = q->sdesc[idx]; in recycle_rx_buf()
520 if (++q->pidx == q->size) { in recycle_rx_buf()
521 q->pidx = 0; in recycle_rx_buf()
968 struct tx_desc *d, unsigned int pidx, in write_wr_hdr_sgl() argument
976 struct tx_sw_desc *sd = &q->sdesc[pidx]; in write_wr_hdr_sgl()
[all …]
Dadapter.h97 unsigned int pidx; /* producer index */ member
160 unsigned int pidx; /* producer index */ member
/drivers/scsi/cxgb3i/
Dcxgb3i_ddp.c97 int j, pidx; in set_ddp_map() local
106 for (pidx = 4 * i, j = 0; j < 5; ++j, ++pidx) in set_ddp_map()
107 ppod->addr[j] = pidx < gl->nelem ? in set_ddp_map()
108 cpu_to_be64(gl->phys_addr[pidx]) : 0UL; in set_ddp_map()
/drivers/scsi/
Dscsi_tgt_if.c65 u32 pidx, off; in tgt_head_event() local
67 pidx = idx / TGT_EVENT_PER_PAGE; in tgt_head_event()
71 (ring->tr_pages[pidx] + sizeof(struct tgt_event) * off); in tgt_head_event()
/drivers/net/benet/
Dbe_cmds.h155 u8 pidx[13]; /* dword 1*/ member
246 u8 pidx[11]; /* dword 1*/ member
/drivers/infiniband/hw/ipath/
Dipath_file_ops.c605 int i, any = 0, pidx = -1; in ipath_set_part_key() local
639 if (!pd->port_pkeys[i] && pidx == -1) in ipath_set_part_key()
640 pidx = i; in ipath_set_part_key()
649 if (pidx == -1) { in ipath_set_part_key()
664 pd->port_pkeys[pidx] = key; in ipath_set_part_key()
705 pd->port_pkeys[pidx] = dd->ipath_pkeys[i] = key; in ipath_set_part_key()
713 pd->port_port, key, i, pidx, in ipath_set_part_key()
Dipath_driver.c2285 int pidx; in ipath_run_led_override() local
2291 pidx = dd->ipath_led_override_phase++ & 1; in ipath_run_led_override()
2292 dd->ipath_led_override = dd->ipath_led_override_vals[pidx]; in ipath_run_led_override()