Searched refs:prod_index (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/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-4.4.14/drivers/infiniband/hw/mlx4/ |
D | cq.c | 936 u32 prod_index; in __mlx4_ib_cq_clean() local 949 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_ib_cq_clean() 950 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx4_ib_cq_clean() 957 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx4_ib_cq_clean() 958 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean() 966 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | cq.c | 872 u32 prod_index; in __mlx5_ib_cq_clean() local 885 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); prod_index++) in __mlx5_ib_cq_clean() 886 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx5_ib_cq_clean() 892 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx5_ib_cq_clean() 893 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean() 900 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
|
/linux-4.4.14/include/linux/qed/ |
D | common_hsi.h | 602 __le32 prod_index; member
|
D | qed_if.h | 431 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 545 unsigned int prod_index; /* Tx ring producer index SW copy */ member
|
D | bcmgenet.c | 1503 ring->prod_index += nr_frags + 1; in bcmgenet_xmit() 1504 ring->prod_index &= DMA_P_INDEX_MASK; in bcmgenet_xmit() 1512 ring->prod_index, TDMA_PROD_INDEX); in bcmgenet_xmit() 1957 ring->prod_index = 0; in bcmgenet_init_tx_ring() 3003 ring->prod_index, p_index & DMA_P_INDEX_MASK, in bcmgenet_dump_tx_queue()
|
/linux-4.4.14/drivers/block/ |
D | cciss.c | 4331 int prod_index, err; in cciss_pci_init() local 4333 prod_index = cciss_lookup_board_id(h->pdev, &h->board_id); in cciss_pci_init() 4334 if (prod_index < 0) in cciss_pci_init() 4336 h->product_name = products[prod_index].product_name; in cciss_pci_init() 4337 h->access = *(products[prod_index].access); in cciss_pci_init()
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_cmds.h | 582 u8 prod_index[14]; member
|
/linux-4.4.14/drivers/scsi/ |
D | hpsa.c | 7681 int prod_index, err; in hpsa_pci_init() local 7683 prod_index = hpsa_lookup_board_id(h->pdev, &h->board_id); in hpsa_pci_init() 7684 if (prod_index < 0) in hpsa_pci_init() 7685 return prod_index; in hpsa_pci_init() 7686 h->product_name = products[prod_index].product_name; in hpsa_pci_init() 7687 h->access = *(products[prod_index].access); in hpsa_pci_init()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 492 u8 prod_index[14]; member
|