Searched refs:prod_index (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/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.1.27/drivers/infiniband/hw/mlx4/ |
D | cq.c | 927 u32 prod_index; in __mlx4_ib_cq_clean() local 940 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); ++prod_index) in __mlx4_ib_cq_clean() 941 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx4_ib_cq_clean() 948 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx4_ib_cq_clean() 949 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx4_ib_cq_clean() 957 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx4_ib_cq_clean()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
D | cq.c | 859 u32 prod_index; in __mlx5_ib_cq_clean() local 872 for (prod_index = cq->mcq.cons_index; get_sw_cqe(cq, prod_index); prod_index++) in __mlx5_ib_cq_clean() 873 if (prod_index == cq->mcq.cons_index + cq->ibcq.cqe) in __mlx5_ib_cq_clean() 879 while ((int) --prod_index - (int) cq->mcq.cons_index >= 0) { in __mlx5_ib_cq_clean() 880 cqe = get_cqe(cq, prod_index & cq->ibcq.cqe); in __mlx5_ib_cq_clean() 887 dest = get_cqe(cq, (prod_index + nfreed) & cq->ibcq.cqe); in __mlx5_ib_cq_clean()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 546 unsigned int prod_index; /* Tx ring producer index SW copy */ member
|
D | bcmgenet.c | 1355 ring->prod_index += nr_frags + 1; in bcmgenet_xmit() 1356 ring->prod_index &= DMA_P_INDEX_MASK; in bcmgenet_xmit() 1364 ring->prod_index, TDMA_PROD_INDEX); in bcmgenet_xmit() 1801 ring->prod_index = 0; in bcmgenet_init_tx_ring()
|
/linux-4.1.27/drivers/block/ |
D | cciss.c | 4315 int prod_index, err; in cciss_pci_init() local 4317 prod_index = cciss_lookup_board_id(h->pdev, &h->board_id); in cciss_pci_init() 4318 if (prod_index < 0) in cciss_pci_init() 4320 h->product_name = products[prod_index].product_name; in cciss_pci_init() 4321 h->access = *(products[prod_index].access); in cciss_pci_init()
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
D | be_cmds.h | 571 u8 prod_index[14]; member
|
/linux-4.1.27/drivers/scsi/ |
D | hpsa.c | 6267 int prod_index, err; in hpsa_pci_init() local 6269 prod_index = hpsa_lookup_board_id(h->pdev, &h->board_id); in hpsa_pci_init() 6270 if (prod_index < 0) in hpsa_pci_init() 6271 return prod_index; in hpsa_pci_init() 6272 h->product_name = products[prod_index].product_name; in hpsa_pci_init() 6273 h->access = *(products[prod_index].access); in hpsa_pci_init()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 472 u8 prod_index[14]; member
|