Searched refs:prod_index (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/infiniband/hw/mthca/ |
| H 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/net/ethernet/broadcom/genet/ |
| H A D | bcmgenet.c | 1985 drop = (ring->prod_index - ring->c_index) & DMA_C_INDEX_MASK; in bcmgenet_tx_reclaim() 1987 ring->prod_index = ring->c_index & DMA_C_INDEX_MASK; in bcmgenet_tx_reclaim() 2002 ring->prod_index, TDMA_PROD_INDEX); in bcmgenet_tx_reclaim() 2222 ring->prod_index += nr_frags + 1; in bcmgenet_xmit() 2223 ring->prod_index &= DMA_P_INDEX_MASK; in bcmgenet_xmit() 2233 ring->prod_index, TDMA_PROD_INDEX); in bcmgenet_xmit() 2722 ring->prod_index = 0; in bcmgenet_init_tx_ring() 3471 ring->prod_index, p_index & DMA_P_INDEX_MASK, in bcmgenet_dump_tx_queue()
|
| H A D | bcmgenet.h | 550 unsigned int prod_index; /* Tx ring producer index SW copy */ member
|
| /linux/include/linux/qed/ |
| H A D | common_hsi.h | 1330 __le32 prod_index; member
|
| H A D | qed_if.h | 1429 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_hw_v2.c | 3811 u32 prod_index; in __hns_roce_v2_cq_clean() local 3816 for (prod_index = hr_cq->cons_index; get_sw_cqe_v2(hr_cq, prod_index); in __hns_roce_v2_cq_clean() 3817 ++prod_index) { in __hns_roce_v2_cq_clean() 3818 if (prod_index > hr_cq->cons_index + hr_cq->ib_cq.cqe) in __hns_roce_v2_cq_clean() 3826 while ((int) --prod_index - (int) hr_cq->cons_index >= 0) { in __hns_roce_v2_cq_clean() 3827 cqe = get_cqe_v2(hr_cq, prod_index & hr_cq->ib_cq.cqe); in __hns_roce_v2_cq_clean() 3835 dest = get_cqe_v2(hr_cq, (prod_index + nfreed) & in __hns_roce_v2_cq_clean()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_cmds.h | 639 u8 prod_index[14]; member
|
| /linux/drivers/scsi/ |
| H A D | hpsa.c | 7854 int prod_index, err; in hpsa_pci_init() local 7857 prod_index = hpsa_lookup_board_id(h->pdev, &h->board_id, &legacy_board); in hpsa_pci_init() 7858 if (prod_index < 0) in hpsa_pci_init() 7859 return prod_index; in hpsa_pci_init() 7860 h->product_name = products[prod_index].product_name; in hpsa_pci_init() 7861 h->access = *(products[prod_index].access); in hpsa_pci_init()
|