Lines Matching refs:p_queue
143 struct scsi_init_func_queues *p_queue = NULL; in qed_sp_iscsi_func_start() local
169 p_queue = &p_init->q_params; in qed_sp_iscsi_func_start()
195 DMA_REGPAIR_LE(p_queue->glbl_q_params_addr, in qed_sp_iscsi_func_start()
199 p_queue->cq_num_entries = cpu_to_le16(val); in qed_sp_iscsi_func_start()
201 p_queue->cmdq_num_entries = cpu_to_le16(val); in qed_sp_iscsi_func_start()
202 p_queue->num_queues = p_params->num_queues; in qed_sp_iscsi_func_start()
204 p_queue->queue_relative_offset = (u8)dval; in qed_sp_iscsi_func_start()
205 p_queue->cq_sb_pi = p_params->gl_rq_pi; in qed_sp_iscsi_func_start()
206 p_queue->cmdq_sb_pi = p_params->gl_cmd_pi; in qed_sp_iscsi_func_start()
210 p_queue->cq_cmdq_sb_num_arr[i] = cpu_to_le16(val); in qed_sp_iscsi_func_start()
213 p_queue->bdq_resource_id = (u8)RESC_START(p_hwfn, QED_BDQ); in qed_sp_iscsi_func_start()
215 DMA_REGPAIR_LE(p_queue->bdq_pbl_base_address[BDQ_ID_RQ], in qed_sp_iscsi_func_start()
217 p_queue->bdq_pbl_num_entries[BDQ_ID_RQ] = in qed_sp_iscsi_func_start()
220 p_queue->bdq_xoff_threshold[BDQ_ID_RQ] = cpu_to_le16(val); in qed_sp_iscsi_func_start()
222 p_queue->bdq_xon_threshold[BDQ_ID_RQ] = cpu_to_le16(val); in qed_sp_iscsi_func_start()
224 DMA_REGPAIR_LE(p_queue->bdq_pbl_base_address[BDQ_ID_IMM_DATA], in qed_sp_iscsi_func_start()
226 p_queue->bdq_pbl_num_entries[BDQ_ID_IMM_DATA] = in qed_sp_iscsi_func_start()
229 p_queue->bdq_xoff_threshold[BDQ_ID_IMM_DATA] = cpu_to_le16(val); in qed_sp_iscsi_func_start()
231 p_queue->bdq_xon_threshold[BDQ_ID_IMM_DATA] = cpu_to_le16(val); in qed_sp_iscsi_func_start()
233 p_queue->rq_buffer_size = cpu_to_le16(val); in qed_sp_iscsi_func_start()
235 SET_FIELD(p_queue->q_validity, in qed_sp_iscsi_func_start()
237 if (p_queue->bdq_pbl_num_entries[BDQ_ID_IMM_DATA]) in qed_sp_iscsi_func_start()
238 SET_FIELD(p_queue->q_validity, in qed_sp_iscsi_func_start()
240 SET_FIELD(p_queue->q_validity, in qed_sp_iscsi_func_start()
243 SET_FIELD(p_queue->q_validity, in qed_sp_iscsi_func_start()