Lines Matching refs:kcq1

841 	cnic_free_dma(dev, &cp->kcq1.dma);  in cnic_free_resc()
1061 ret = cnic_alloc_kcq(dev, &cp->kcq1); in cnic_alloc_bnx2_resc()
1197 ret = cnic_alloc_kcq(dev, &cp->kcq1); in cnic_alloc_bnx2x_resc()
2767 u32 status_idx = (u16) *cp->kcq1.status_idx_ptr; in cnic_service_bnx2_queues()
2774 while ((kcqe_cnt = cnic_get_kcqes(dev, &cp->kcq1))) { in cnic_service_bnx2_queues()
2780 if (status_idx != *cp->kcq1.status_idx_ptr) { in cnic_service_bnx2_queues()
2781 status_idx = (u16) *cp->kcq1.status_idx_ptr; in cnic_service_bnx2_queues()
2789 CNIC_WR16(dev, cp->kcq1.io_addr, cp->kcq1.sw_prod_idx); in cnic_service_bnx2_queues()
2825 u16 prod = cp->kcq1.sw_prod_idx & MAX_KCQ_IDX; in cnic_doirq()
2828 prefetch(&cp->kcq1.kcq[KCQ_PG(prod)][KCQ_IDX(prod)]); in cnic_doirq()
2930 status_idx = cnic_service_bnx2x_kcq(dev, &cp->kcq1); in cnic_service_bnx2x_bh()
2932 CNIC_WR16(dev, cp->kcq1.io_addr, in cnic_service_bnx2x_bh()
2933 cp->kcq1.sw_prod_idx + MAX_KCQ_IDX); in cnic_service_bnx2x_bh()
4458 cp->kcq1.io_addr = MB_GET_CID_ADDR(KCQ_CID) + L5_KRNLQ_HOST_QIDX; in cnic_start_bnx2_hw()
4460 cp->kcq1.sw_prod_idx = 0; in cnic_start_bnx2_hw()
4461 cp->kcq1.hw_prod_idx_ptr = in cnic_start_bnx2_hw()
4464 cp->kcq1.status_idx_ptr = (u16 *) &sblk->status_idx; in cnic_start_bnx2_hw()
4477 val = (u32) ((u64) cp->kcq1.dma.pgtbl_map >> 32); in cnic_start_bnx2_hw()
4480 val = (u32) cp->kcq1.dma.pgtbl_map; in cnic_start_bnx2_hw()
4489 cp->kcq1.hw_prod_idx_ptr = in cnic_start_bnx2_hw()
4491 cp->kcq1.status_idx_ptr = (u16 *) &msblk->status_idx; in cnic_start_bnx2_hw()
4746 cp->kcq1.io_addr = BAR_CSTRORM_INTMEM + in cnic_init_bnx2x_kcq()
4748 cp->kcq1.sw_prod_idx = 0; in cnic_init_bnx2x_kcq()
4753 cp->kcq1.hw_prod_idx_ptr = in cnic_init_bnx2x_kcq()
4755 cp->kcq1.status_idx_ptr = in cnic_init_bnx2x_kcq()
4760 cp->kcq1.hw_prod_idx_ptr = in cnic_init_bnx2x_kcq()
4762 cp->kcq1.status_idx_ptr = in cnic_init_bnx2x_kcq()
4823 CNIC_WR16(dev, cp->kcq1.io_addr, MAX_KCQ_IDX); in cnic_start_bnx2x_hw()
4828 cp->kcq1.dma.pg_map_arr[1] & 0xffffffff); in cnic_start_bnx2x_hw()
4831 (u64) cp->kcq1.dma.pg_map_arr[1] >> 32); in cnic_start_bnx2x_hw()
4834 cp->kcq1.dma.pg_map_arr[0] & 0xffffffff); in cnic_start_bnx2x_hw()
4837 (u64) cp->kcq1.dma.pg_map_arr[0] >> 32); in cnic_start_bnx2x_hw()
5074 *cp->kcq1.hw_prod_idx_ptr = 0; in cnic_stop_bnx2x_hw()
5077 CNIC_WR16(dev, cp->kcq1.io_addr, 0); in cnic_stop_bnx2x_hw()