Lines Matching refs:kcq1

899 	cnic_free_dma(dev, &cp->kcq1.dma);  in cnic_free_resc()
1173 ret = cnic_alloc_kcq(dev, &cp->kcq1, true); in cnic_alloc_bnx2_resc()
1301 ret = cnic_alloc_kcq(dev, &cp->kcq1, false); in cnic_alloc_bnx2x_resc()
2980 u32 status_idx = (u16) *cp->kcq1.status_idx_ptr; in cnic_service_bnx2_queues()
2987 while ((kcqe_cnt = cnic_get_kcqes(dev, &cp->kcq1))) { in cnic_service_bnx2_queues()
2993 status_idx = (u16) *cp->kcq1.status_idx_ptr; in cnic_service_bnx2_queues()
2999 CNIC_WR16(dev, cp->kcq1.io_addr, cp->kcq1.sw_prod_idx); in cnic_service_bnx2_queues()
3035 u16 prod = cp->kcq1.sw_prod_idx & MAX_KCQ_IDX; in cnic_doirq()
3038 prefetch(&cp->kcq1.kcq[KCQ_PG(prod)][KCQ_IDX(prod)]); in cnic_doirq()
3155 status_idx = cnic_service_bnx2x_kcq(dev, &cp->kcq1); in cnic_service_bnx2x_bh_work()
3157 CNIC_WR16(dev, cp->kcq1.io_addr, in cnic_service_bnx2x_bh_work()
3158 cp->kcq1.sw_prod_idx + MAX_KCQ_IDX); in cnic_service_bnx2x_bh_work()
4775 cp->kcq1.io_addr = MB_GET_CID_ADDR(KCQ_CID) + L5_KRNLQ_HOST_QIDX; in cnic_start_bnx2_hw()
4777 cp->kcq1.sw_prod_idx = 0; in cnic_start_bnx2_hw()
4778 cp->kcq1.hw_prod_idx_ptr = in cnic_start_bnx2_hw()
4781 cp->kcq1.status_idx_ptr = &sblk->status_idx; in cnic_start_bnx2_hw()
4794 val = (u32) ((u64) cp->kcq1.dma.pgtbl_map >> 32); in cnic_start_bnx2_hw()
4797 val = (u32) cp->kcq1.dma.pgtbl_map; in cnic_start_bnx2_hw()
4806 cp->kcq1.hw_prod_idx_ptr = in cnic_start_bnx2_hw()
4808 cp->kcq1.status_idx_ptr = &msblk->status_idx; in cnic_start_bnx2_hw()
5061 cp->kcq1.io_addr = BAR_CSTRORM_INTMEM + in cnic_init_bnx2x_kcq()
5063 cp->kcq1.sw_prod_idx = 0; in cnic_init_bnx2x_kcq()
5068 cp->kcq1.hw_prod_idx_ptr = in cnic_init_bnx2x_kcq()
5070 cp->kcq1.status_idx_ptr = in cnic_init_bnx2x_kcq()
5075 cp->kcq1.hw_prod_idx_ptr = in cnic_init_bnx2x_kcq()
5077 cp->kcq1.status_idx_ptr = in cnic_init_bnx2x_kcq()
5126 CNIC_WR16(dev, cp->kcq1.io_addr, MAX_KCQ_IDX); in cnic_start_bnx2x_hw()
5131 cp->kcq1.dma.pg_map_arr[1] & 0xffffffff); in cnic_start_bnx2x_hw()
5134 (u64) cp->kcq1.dma.pg_map_arr[1] >> 32); in cnic_start_bnx2x_hw()
5137 cp->kcq1.dma.pg_map_arr[0] & 0xffffffff); in cnic_start_bnx2x_hw()
5140 (u64) cp->kcq1.dma.pg_map_arr[0] >> 32); in cnic_start_bnx2x_hw()
5410 *cp->kcq1.hw_prod_idx_ptr = 0; in cnic_stop_bnx2x_hw()
5413 CNIC_WR16(dev, cp->kcq1.io_addr, 0); in cnic_stop_bnx2x_hw()