Home
last modified time | relevance | path

Searched refs:prod_index (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_cq.c282 u32 prod_index; in mthca_cq_clean() local
294 for (prod_index = cq->cons_index; in mthca_cq_clean()
295 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); in mthca_cq_clean()
296 ++prod_index) in mthca_cq_clean()
297 if (prod_index == cq->cons_index + cq->ibcq.cqe) in mthca_cq_clean()
302 qpn, cq->cqn, cq->cons_index, prod_index); in mthca_cq_clean()
308 while ((int) --prod_index - (int) cq->cons_index >= 0) { in mthca_cq_clean()
309 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in mthca_cq_clean()
315 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean()
/drivers/infiniband/hw/mlx4/
Dcq.c914 u32 prod_index; in __mlx4_ib_cq_clean() local
927 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_ib_cq_clean()
928 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx4_ib_cq_clean()
935 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx4_ib_cq_clean()
936 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
944 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
/drivers/infiniband/hw/mlx5/
Dcq.c1042 u32 prod_index; in __mlx5_ib_cq_clean() local
1055 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); prod_index++) in __mlx5_ib_cq_clean()
1056 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx5_ib_cq_clean()
1062 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx5_ib_cq_clean()
1063 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
1070 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c1286 u32 prod_index; in __hns_roce_v1_cq_clean() local
1290 for (prod_index = hr_cq->cons_index; get_sw_cqe(hr_cq, prod_index); in __hns_roce_v1_cq_clean()
1291 ++prod_index) { in __hns_roce_v1_cq_clean()
1292 if (prod_index == hr_cq->cons_index + hr_cq->ib_cq.cqe) in __hns_roce_v1_cq_clean()
1300 while ((int) --prod_index - (int) hr_cq->cons_index >= 0) { in __hns_roce_v1_cq_clean()
1301 cqe = get_cqe(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v1_cq_clean()
1308 dest = get_cqe(hr_cq, (prod_index + nfreed) & in __hns_roce_v1_cq_clean()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h555 unsigned int prod_index; /* Tx ring producer index SW copy */ member
Dbcmgenet.c1572 ring->prod_index += nr_frags + 1; in bcmgenet_xmit()
1573 ring->prod_index &= DMA_P_INDEX_MASK; in bcmgenet_xmit()
1583 ring->prod_index, TDMA_PROD_INDEX); in bcmgenet_xmit()
2029 ring->prod_index = 0; in bcmgenet_init_tx_ring()
2968 ring->prod_index, p_index & DMA_P_INDEX_MASK, in bcmgenet_dump_tx_queue()
/drivers/block/
Dcciss.c4324 int prod_index, err; in cciss_pci_init() local
4326 prod_index = cciss_lookup_board_id(h->pdev, &h->board_id); in cciss_pci_init()
4327 if (prod_index < 0) in cciss_pci_init()
4329 h->product_name = products[prod_index].product_name; in cciss_pci_init()
4330 h->access = *(products[prod_index].access); in cciss_pci_init()
/drivers/scsi/be2iscsi/
Dbe_cmds.h640 u8 prod_index[14]; member
/drivers/scsi/
Dhpsa.c8057 int prod_index, err; in hpsa_pci_init() local
8059 prod_index = hpsa_lookup_board_id(h->pdev, &h->board_id); in hpsa_pci_init()
8060 if (prod_index < 0) in hpsa_pci_init()
8061 return prod_index; in hpsa_pci_init()
8062 h->product_name = products[prod_index].product_name; in hpsa_pci_init()
8063 h->access = *(products[prod_index].access); in hpsa_pci_init()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h538 u8 prod_index[14]; member