Searched refs:prod_index (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_cq.c | 277 u32 prod_index; in mthca_cq_clean() local 289 for (prod_index = cq->cons_index; in mthca_cq_clean() 290 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); in mthca_cq_clean() 291 ++prod_index) in mthca_cq_clean() 292 if (prod_index == cq->cons_index + cq->ibcq.cqe) in mthca_cq_clean() 297 qpn, cq->cqn, cq->cons_index, prod_index); in mthca_cq_clean() 303 while ((int) --prod_index - (int) cq->cons_index >= 0) { in mthca_cq_clean() 304 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in mthca_cq_clean() 310 memcpy(get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe), in mthca_cq_clean()
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | cq.c | 917 u32 prod_index; in __mlx4_ib_cq_clean() local 930 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_ib_cq_clean() 931 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx4_ib_cq_clean() 938 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx4_ib_cq_clean() 939 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean() 947 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | cq.c | 1065 u32 prod_index; in __mlx5_ib_cq_clean() local 1078 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); prod_index++) in __mlx5_ib_cq_clean() 1079 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx5_ib_cq_clean() 1085 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx5_ib_cq_clean() 1086 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean() 1093 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
|
/linux/drivers/net/ethernet/broadcom/genet/ |
A D | bcmgenet.h | 523 unsigned int prod_index; /* Tx ring producer index SW copy */ member
|
A D | bcmgenet.c | 2148 ring->prod_index += nr_frags + 1; in bcmgenet_xmit() 2149 ring->prod_index &= DMA_P_INDEX_MASK; in bcmgenet_xmit() 2159 ring->prod_index, TDMA_PROD_INDEX); in bcmgenet_xmit() 2638 ring->prod_index = 0; in bcmgenet_init_tx_ring() 3523 ring->prod_index, p_index & DMA_P_INDEX_MASK, in bcmgenet_dump_tx_queue()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_hw_v1.c | 2021 u32 prod_index; in __hns_roce_v1_cq_clean() local 2025 for (prod_index = hr_cq->cons_index; get_sw_cqe(hr_cq, prod_index); in __hns_roce_v1_cq_clean() 2026 ++prod_index) { in __hns_roce_v1_cq_clean() 2027 if (prod_index == hr_cq->cons_index + hr_cq->ib_cq.cqe) in __hns_roce_v1_cq_clean() 2035 while ((int) --prod_index - (int) hr_cq->cons_index >= 0) { in __hns_roce_v1_cq_clean() 2036 cqe = get_cqe(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v1_cq_clean() 2043 dest = get_cqe(hr_cq, (prod_index + nfreed) & in __hns_roce_v1_cq_clean()
|
A D | hns_roce_hw_v2.c | 3281 u32 prod_index; in __hns_roce_v2_cq_clean() local 3286 for (prod_index = hr_cq->cons_index; get_sw_cqe_v2(hr_cq, prod_index); in __hns_roce_v2_cq_clean() 3287 ++prod_index) { in __hns_roce_v2_cq_clean() 3288 if (prod_index > hr_cq->cons_index + hr_cq->ib_cq.cqe) in __hns_roce_v2_cq_clean() 3296 while ((int) --prod_index - (int) hr_cq->cons_index >= 0) { in __hns_roce_v2_cq_clean() 3297 cqe = get_cqe_v2(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v2_cq_clean() 3305 dest = get_cqe_v2(hr_cq, (prod_index + nfreed) & in __hns_roce_v2_cq_clean()
|
/linux/include/linux/qed/ |
A D | common_hsi.h | 1330 __le32 prod_index; member
|
A D | qed_if.h | 1415 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
|
/linux/drivers/scsi/be2iscsi/ |
A D | be_cmds.h | 639 u8 prod_index[14]; member
|
/linux/drivers/scsi/ |
A D | hpsa.c | 7874 int prod_index, err; in hpsa_pci_init() local 7877 prod_index = hpsa_lookup_board_id(h->pdev, &h->board_id, &legacy_board); in hpsa_pci_init() 7878 if (prod_index < 0) in hpsa_pci_init() 7879 return prod_index; in hpsa_pci_init() 7880 h->product_name = products[prod_index].product_name; in hpsa_pci_init() 7881 h->access = *(products[prod_index].access); in hpsa_pci_init()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_cmds.h | 534 u8 prod_index[14]; member
|
Completed in 94 milliseconds