Lines Matching refs:kcq1
898 cnic_free_dma(dev, &cp->kcq1.dma); in cnic_free_resc()
1167 ret = cnic_alloc_kcq(dev, &cp->kcq1, true); in cnic_alloc_bnx2_resc()
1295 ret = cnic_alloc_kcq(dev, &cp->kcq1, false); in cnic_alloc_bnx2x_resc()
2973 u32 status_idx = (u16) *cp->kcq1.status_idx_ptr; in cnic_service_bnx2_queues()
2980 while ((kcqe_cnt = cnic_get_kcqes(dev, &cp->kcq1))) { in cnic_service_bnx2_queues()
2986 status_idx = (u16) *cp->kcq1.status_idx_ptr; in cnic_service_bnx2_queues()
2992 CNIC_WR16(dev, cp->kcq1.io_addr, cp->kcq1.sw_prod_idx); in cnic_service_bnx2_queues()
3028 u16 prod = cp->kcq1.sw_prod_idx & MAX_KCQ_IDX; in cnic_doirq()
3031 prefetch(&cp->kcq1.kcq[KCQ_PG(prod)][KCQ_IDX(prod)]); in cnic_doirq()
3148 status_idx = cnic_service_bnx2x_kcq(dev, &cp->kcq1); in cnic_service_bnx2x_bh()
3150 CNIC_WR16(dev, cp->kcq1.io_addr, in cnic_service_bnx2x_bh()
3151 cp->kcq1.sw_prod_idx + MAX_KCQ_IDX); in cnic_service_bnx2x_bh()
4768 cp->kcq1.io_addr = MB_GET_CID_ADDR(KCQ_CID) + L5_KRNLQ_HOST_QIDX; in cnic_start_bnx2_hw()
4770 cp->kcq1.sw_prod_idx = 0; in cnic_start_bnx2_hw()
4771 cp->kcq1.hw_prod_idx_ptr = in cnic_start_bnx2_hw()
4774 cp->kcq1.status_idx_ptr = &sblk->status_idx; in cnic_start_bnx2_hw()
4787 val = (u32) ((u64) cp->kcq1.dma.pgtbl_map >> 32); in cnic_start_bnx2_hw()
4790 val = (u32) cp->kcq1.dma.pgtbl_map; in cnic_start_bnx2_hw()
4799 cp->kcq1.hw_prod_idx_ptr = in cnic_start_bnx2_hw()
4801 cp->kcq1.status_idx_ptr = &msblk->status_idx; in cnic_start_bnx2_hw()
5054 cp->kcq1.io_addr = BAR_CSTRORM_INTMEM + in cnic_init_bnx2x_kcq()
5056 cp->kcq1.sw_prod_idx = 0; in cnic_init_bnx2x_kcq()
5061 cp->kcq1.hw_prod_idx_ptr = in cnic_init_bnx2x_kcq()
5063 cp->kcq1.status_idx_ptr = 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()
5119 CNIC_WR16(dev, cp->kcq1.io_addr, MAX_KCQ_IDX); in cnic_start_bnx2x_hw()
5124 cp->kcq1.dma.pg_map_arr[1] & 0xffffffff); in cnic_start_bnx2x_hw()
5127 (u64) cp->kcq1.dma.pg_map_arr[1] >> 32); in cnic_start_bnx2x_hw()
5130 cp->kcq1.dma.pg_map_arr[0] & 0xffffffff); in cnic_start_bnx2x_hw()
5133 (u64) cp->kcq1.dma.pg_map_arr[0] >> 32); in cnic_start_bnx2x_hw()
5402 *cp->kcq1.hw_prod_idx_ptr = 0; in cnic_stop_bnx2x_hw()
5405 CNIC_WR16(dev, cp->kcq1.io_addr, 0); in cnic_stop_bnx2x_hw()