Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c277 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dcq.c917 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dcq.c1050 u32 prod_index; in __mlx5_ib_cq_clean() local
1063 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); prod_index++) in __mlx5_ib_cq_clean()
1064 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx5_ib_cq_clean()
1070 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx5_ib_cq_clean()
1071 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
1078 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v1.c1937 u32 prod_index; in __hns_roce_v1_cq_clean() local
1941 for (prod_index = hr_cq->cons_index; get_sw_cqe(hr_cq, prod_index); in __hns_roce_v1_cq_clean()
1942 ++prod_index) { in __hns_roce_v1_cq_clean()
1943 if (prod_index == hr_cq->cons_index + hr_cq->ib_cq.cqe) in __hns_roce_v1_cq_clean()
1951 while ((int) --prod_index - (int) hr_cq->cons_index >= 0) { in __hns_roce_v1_cq_clean()
1952 cqe = get_cqe(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v1_cq_clean()
1959 dest = get_cqe(hr_cq, (prod_index + nfreed) & in __hns_roce_v1_cq_clean()
H A Dhns_roce_hw_v2.c2980 u32 prod_index; in __hns_roce_v2_cq_clean() local
2985 for (prod_index = hr_cq->cons_index; get_sw_cqe_v2(hr_cq, prod_index); in __hns_roce_v2_cq_clean()
2986 ++prod_index) { in __hns_roce_v2_cq_clean()
2987 if (prod_index > hr_cq->cons_index + hr_cq->ib_cq.cqe) in __hns_roce_v2_cq_clean()
2995 while ((int) --prod_index - (int) hr_cq->cons_index >= 0) { in __hns_roce_v2_cq_clean()
2996 cqe = get_cqe_v2(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v2_cq_clean()
3009 dest = get_cqe_v2(hr_cq, (prod_index + nfreed) & in __hns_roce_v2_cq_clean()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.h577 unsigned int prod_index; /* Tx ring producer index SW copy */ member
H A Dbcmgenet.c2107 ring->prod_index += nr_frags + 1; in bcmgenet_xmit()
2108 ring->prod_index &= DMA_P_INDEX_MASK; in bcmgenet_xmit()
2118 ring->prod_index, TDMA_PROD_INDEX); in bcmgenet_xmit()
2599 ring->prod_index = 0; in bcmgenet_init_tx_ring()
3487 ring->prod_index, p_index & DMA_P_INDEX_MASK, in bcmgenet_dump_tx_queue()
/OK3568_Linux_fs/kernel/include/linux/qed/
H A Dcommon_hsi.h1233 __le32 prod_index; member
H A Dqed_if.h1369 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
/OK3568_Linux_fs/kernel/drivers/scsi/be2iscsi/
H A Dbe_cmds.h639 u8 prod_index[14]; member
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dhpsa.c7843 int prod_index, err; in hpsa_pci_init() local
7846 prod_index = hpsa_lookup_board_id(h->pdev, &h->board_id, &legacy_board); in hpsa_pci_init()
7847 if (prod_index < 0) in hpsa_pci_init()
7848 return prod_index; in hpsa_pci_init()
7849 h->product_name = products[prod_index].product_name; in hpsa_pci_init()
7850 h->access = *(products[prod_index].access); in hpsa_pci_init()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.h534 u8 prod_index[14]; member