Lines Matching refs:p_data

92 	struct fcoe_init_func_ramrod_data *p_data;  in qed_sp_fcoe_func_start()  local
116 p_data = &p_ramrod->init_ramrod_data; in qed_sp_fcoe_func_start()
129 p_data->mtu = cpu_to_le16(fcoe_pf_params->mtu); in qed_sp_fcoe_func_start()
131 p_data->sq_num_pages_in_pbl = tmp; in qed_sp_fcoe_func_start()
153 p_data->func_params.num_tasks = tmp; in qed_sp_fcoe_func_start()
154 p_data->func_params.log_page_size = fcoe_pf_params->log_page_size; in qed_sp_fcoe_func_start()
155 p_data->func_params.debug_mode = fcoe_pf_params->debug_mode; in qed_sp_fcoe_func_start()
157 DMA_REGPAIR_LE(p_data->q_params.glbl_q_params_addr, in qed_sp_fcoe_func_start()
161 p_data->q_params.cq_num_entries = tmp; in qed_sp_fcoe_func_start()
164 p_data->q_params.cmdq_num_entries = tmp; in qed_sp_fcoe_func_start()
166 p_data->q_params.num_queues = fcoe_pf_params->num_cqs; in qed_sp_fcoe_func_start()
169 p_data->q_params.queue_relative_offset = (__force u8)tmp; in qed_sp_fcoe_func_start()
173 p_data->q_params.cq_cmdq_sb_num_arr[i] = tmp; in qed_sp_fcoe_func_start()
176 p_data->q_params.cq_sb_pi = fcoe_pf_params->gl_rq_pi; in qed_sp_fcoe_func_start()
177 p_data->q_params.cmdq_sb_pi = fcoe_pf_params->gl_cmd_pi; in qed_sp_fcoe_func_start()
179 p_data->q_params.bdq_resource_id = (u8)RESC_START(p_hwfn, QED_BDQ); in qed_sp_fcoe_func_start()
181 DMA_REGPAIR_LE(p_data->q_params.bdq_pbl_base_address[BDQ_ID_RQ], in qed_sp_fcoe_func_start()
183 p_data->q_params.bdq_pbl_num_entries[BDQ_ID_RQ] = in qed_sp_fcoe_func_start()
186 p_data->q_params.bdq_xoff_threshold[BDQ_ID_RQ] = tmp; in qed_sp_fcoe_func_start()
188 p_data->q_params.bdq_xon_threshold[BDQ_ID_RQ] = tmp; in qed_sp_fcoe_func_start()
190 DMA_REGPAIR_LE(p_data->q_params.bdq_pbl_base_address[BDQ_ID_IMM_DATA], in qed_sp_fcoe_func_start()
192 p_data->q_params.bdq_pbl_num_entries[BDQ_ID_IMM_DATA] = in qed_sp_fcoe_func_start()
195 p_data->q_params.bdq_xoff_threshold[BDQ_ID_IMM_DATA] = tmp; in qed_sp_fcoe_func_start()
197 p_data->q_params.bdq_xon_threshold[BDQ_ID_IMM_DATA] = tmp; in qed_sp_fcoe_func_start()
199 p_data->q_params.rq_buffer_size = tmp; in qed_sp_fcoe_func_start()
202 SET_FIELD(p_data->q_params.q_validity, in qed_sp_fcoe_func_start()
204 if (p_data->q_params.bdq_pbl_num_entries[BDQ_ID_IMM_DATA]) in qed_sp_fcoe_func_start()
205 SET_FIELD(p_data->q_params.q_validity, in qed_sp_fcoe_func_start()
207 SET_FIELD(p_data->q_params.q_validity, in qed_sp_fcoe_func_start()
210 SET_FIELD(p_data->q_params.q_validity, in qed_sp_fcoe_func_start()
230 struct fcoe_conn_offload_ramrod_data *p_data; in qed_sp_fcoe_conn_offload() local
251 p_data = &p_ramrod->offload_ramrod_data; in qed_sp_fcoe_conn_offload()
256 p_data->physical_q0 = cpu_to_le16(physical_q0); in qed_sp_fcoe_conn_offload()
258 p_data->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_fcoe_conn_offload()
259 DMA_REGPAIR_LE(p_data->sq_pbl_addr, p_conn->sq_pbl_addr); in qed_sp_fcoe_conn_offload()
260 DMA_REGPAIR_LE(p_data->sq_curr_page_addr, p_conn->sq_curr_page_addr); in qed_sp_fcoe_conn_offload()
261 DMA_REGPAIR_LE(p_data->sq_next_page_addr, p_conn->sq_next_page_addr); in qed_sp_fcoe_conn_offload()
262 DMA_REGPAIR_LE(p_data->xferq_pbl_addr, p_conn->xferq_pbl_addr); in qed_sp_fcoe_conn_offload()
263 DMA_REGPAIR_LE(p_data->xferq_curr_page_addr, p_conn->xferq_addr[0]); in qed_sp_fcoe_conn_offload()
264 DMA_REGPAIR_LE(p_data->xferq_next_page_addr, p_conn->xferq_addr[1]); in qed_sp_fcoe_conn_offload()
266 DMA_REGPAIR_LE(p_data->respq_pbl_addr, p_conn->confq_pbl_addr); in qed_sp_fcoe_conn_offload()
267 DMA_REGPAIR_LE(p_data->respq_curr_page_addr, p_conn->confq_addr[0]); in qed_sp_fcoe_conn_offload()
268 DMA_REGPAIR_LE(p_data->respq_next_page_addr, p_conn->confq_addr[1]); in qed_sp_fcoe_conn_offload()
270 p_data->dst_mac_addr_lo = cpu_to_le16(p_conn->dst_mac_addr_lo); in qed_sp_fcoe_conn_offload()
271 p_data->dst_mac_addr_mid = cpu_to_le16(p_conn->dst_mac_addr_mid); in qed_sp_fcoe_conn_offload()
272 p_data->dst_mac_addr_hi = cpu_to_le16(p_conn->dst_mac_addr_hi); in qed_sp_fcoe_conn_offload()
273 p_data->src_mac_addr_lo = cpu_to_le16(p_conn->src_mac_addr_lo); in qed_sp_fcoe_conn_offload()
274 p_data->src_mac_addr_mid = cpu_to_le16(p_conn->src_mac_addr_mid); in qed_sp_fcoe_conn_offload()
275 p_data->src_mac_addr_hi = cpu_to_le16(p_conn->src_mac_addr_hi); in qed_sp_fcoe_conn_offload()
278 p_data->tx_max_fc_pay_len = tmp; in qed_sp_fcoe_conn_offload()
280 p_data->e_d_tov_timer_val = tmp; in qed_sp_fcoe_conn_offload()
282 p_data->rec_rr_tov_timer_val = tmp; in qed_sp_fcoe_conn_offload()
284 p_data->rx_max_fc_pay_len = tmp; in qed_sp_fcoe_conn_offload()
286 p_data->vlan_tag = cpu_to_le16(p_conn->vlan_tag); in qed_sp_fcoe_conn_offload()
287 p_data->s_id.addr_hi = p_conn->s_id.addr_hi; in qed_sp_fcoe_conn_offload()
288 p_data->s_id.addr_mid = p_conn->s_id.addr_mid; in qed_sp_fcoe_conn_offload()
289 p_data->s_id.addr_lo = p_conn->s_id.addr_lo; in qed_sp_fcoe_conn_offload()
290 p_data->max_conc_seqs_c3 = p_conn->max_conc_seqs_c3; in qed_sp_fcoe_conn_offload()
291 p_data->d_id.addr_hi = p_conn->d_id.addr_hi; in qed_sp_fcoe_conn_offload()
292 p_data->d_id.addr_mid = p_conn->d_id.addr_mid; in qed_sp_fcoe_conn_offload()
293 p_data->d_id.addr_lo = p_conn->d_id.addr_lo; in qed_sp_fcoe_conn_offload()
294 p_data->flags = p_conn->flags; in qed_sp_fcoe_conn_offload()
296 SET_FIELD(p_data->flags, in qed_sp_fcoe_conn_offload()
298 p_data->def_q_idx = p_conn->def_q_idx; in qed_sp_fcoe_conn_offload()