Searched refs:prod_index (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 282 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()
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | cq.c | 924 u32 prod_index; in __mlx4_ib_cq_clean() local 937 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_ib_cq_clean() 938 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx4_ib_cq_clean() 945 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx4_ib_cq_clean() 946 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean() 954 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | cq.c | 1123 u32 prod_index; in __mlx5_ib_cq_clean() local 1136 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); prod_index++) in __mlx5_ib_cq_clean() 1137 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx5_ib_cq_clean() 1143 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx5_ib_cq_clean() 1144 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean() 1151 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 571 unsigned int prod_index; /* Tx ring producer index SW copy */ member
|
D | bcmgenet.c | 1660 ring->prod_index += nr_frags + 1; in bcmgenet_xmit() 1661 ring->prod_index &= DMA_P_INDEX_MASK; in bcmgenet_xmit() 1671 ring->prod_index, TDMA_PROD_INDEX); in bcmgenet_xmit() 2142 ring->prod_index = 0; in bcmgenet_init_tx_ring() 3051 ring->prod_index, p_index & DMA_P_INDEX_MASK, in bcmgenet_dump_tx_queue()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 2054 u32 prod_index; in __hns_roce_v1_cq_clean() local 2058 for (prod_index = hr_cq->cons_index; get_sw_cqe(hr_cq, prod_index); in __hns_roce_v1_cq_clean() 2059 ++prod_index) { in __hns_roce_v1_cq_clean() 2060 if (prod_index == hr_cq->cons_index + hr_cq->ib_cq.cqe) in __hns_roce_v1_cq_clean() 2068 while ((int) --prod_index - (int) hr_cq->cons_index >= 0) { in __hns_roce_v1_cq_clean() 2069 cqe = get_cqe(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v1_cq_clean() 2076 dest = get_cqe(hr_cq, (prod_index + nfreed) & in __hns_roce_v1_cq_clean()
|
D | hns_roce_hw_v2.c | 1849 u32 prod_index; in __hns_roce_v2_cq_clean() local 1853 for (prod_index = hr_cq->cons_index; get_sw_cqe_v2(hr_cq, prod_index); in __hns_roce_v2_cq_clean() 1854 ++prod_index) { in __hns_roce_v2_cq_clean() 1855 if (prod_index == hr_cq->cons_index + hr_cq->ib_cq.cqe) in __hns_roce_v2_cq_clean() 1863 while ((int) --prod_index - (int) hr_cq->cons_index >= 0) { in __hns_roce_v2_cq_clean() 1864 cqe = get_cqe_v2(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v2_cq_clean() 1871 dest = get_cqe_v2(hr_cq, (prod_index + nfreed) & in __hns_roce_v2_cq_clean()
|
/Linux-v4.19/include/linux/qed/ |
D | common_hsi.h | 1245 __le32 prod_index; member
|
D | qed_if.h | 1251 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
|
/Linux-v4.19/drivers/scsi/be2iscsi/ |
D | be_cmds.h | 644 u8 prod_index[14]; member
|
/Linux-v4.19/drivers/scsi/ |
D | hpsa.c | 7753 int prod_index, err; in hpsa_pci_init() local 7756 prod_index = hpsa_lookup_board_id(h->pdev, &h->board_id, &legacy_board); in hpsa_pci_init() 7757 if (prod_index < 0) in hpsa_pci_init() 7758 return prod_index; in hpsa_pci_init() 7759 h->product_name = products[prod_index].product_name; in hpsa_pci_init() 7760 h->access = *(products[prod_index].access); in hpsa_pci_init()
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 538 u8 prod_index[14]; member
|