Lines Matching refs:p_ramrod

168 	struct iscsi_init_ramrod_params *p_ramrod = NULL;  in qed_sp_iscsi_func_start()  local
192 p_ramrod = &p_ent->ramrod.iscsi_init; in qed_sp_iscsi_func_start()
193 p_init = &p_ramrod->iscsi_init_spe; in qed_sp_iscsi_func_start()
275 p_ramrod->tcp_init.two_msl_timer = cpu_to_le32(p_params->two_msl_timer); in qed_sp_iscsi_func_start()
277 p_ramrod->tcp_init.tx_sws_timer = cpu_to_le16(val); in qed_sp_iscsi_func_start()
278 p_ramrod->tcp_init.max_fin_rt = p_params->max_fin_rt; in qed_sp_iscsi_func_start()
294 struct iscsi_spe_conn_offload *p_ramrod = NULL; in qed_sp_iscsi_conn_offload() local
322 p_ramrod = &p_ent->ramrod.iscsi_conn_offload; in qed_sp_iscsi_conn_offload()
327 p_ramrod->iscsi.physical_q0 = cpu_to_le16(physical_q); in qed_sp_iscsi_conn_offload()
332 p_ramrod->iscsi.physical_q1 = cpu_to_le16(physical_q); in qed_sp_iscsi_conn_offload()
334 p_ramrod->hdr.op_code = ISCSI_RAMROD_CMD_ID_OFFLOAD_CONN; in qed_sp_iscsi_conn_offload()
335 SET_FIELD(p_ramrod->hdr.flags, ISCSI_SLOW_PATH_HDR_LAYER_CODE, in qed_sp_iscsi_conn_offload()
338 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_offload()
339 p_ramrod->fw_cid = cpu_to_le32(p_conn->icid); in qed_sp_iscsi_conn_offload()
341 DMA_REGPAIR_LE(p_ramrod->iscsi.sq_pbl_addr, p_conn->sq_pbl_addr); in qed_sp_iscsi_conn_offload()
344 DMA_REGPAIR_LE(p_ramrod->iscsi.r2tq_pbl_addr, r2tq_pbl_addr); in qed_sp_iscsi_conn_offload()
347 DMA_REGPAIR_LE(p_ramrod->iscsi.xhq_pbl_addr, xhq_pbl_addr); in qed_sp_iscsi_conn_offload()
350 DMA_REGPAIR_LE(p_ramrod->iscsi.uhq_pbl_addr, uhq_pbl_addr); in qed_sp_iscsi_conn_offload()
352 p_ramrod->iscsi.initial_ack = cpu_to_le32(p_conn->initial_ack); in qed_sp_iscsi_conn_offload()
353 p_ramrod->iscsi.flags = p_conn->offl_flags; in qed_sp_iscsi_conn_offload()
354 p_ramrod->iscsi.default_cq = p_conn->default_cq; in qed_sp_iscsi_conn_offload()
355 p_ramrod->iscsi.stat_sn = cpu_to_le32(p_conn->stat_sn); in qed_sp_iscsi_conn_offload()
357 if (!GET_FIELD(p_ramrod->iscsi.flags, in qed_sp_iscsi_conn_offload()
359 p_tcp = &p_ramrod->tcp; in qed_sp_iscsi_conn_offload()
425 &((struct iscsi_spe_conn_offload_option2 *)p_ramrod)->tcp; in qed_sp_iscsi_conn_offload()
475 struct iscsi_conn_update_ramrod_params *p_ramrod = NULL; in qed_sp_iscsi_conn_update() local
494 p_ramrod = &p_ent->ramrod.iscsi_conn_update; in qed_sp_iscsi_conn_update()
495 p_ramrod->hdr.op_code = ISCSI_RAMROD_CMD_ID_UPDATE_CONN; in qed_sp_iscsi_conn_update()
496 SET_FIELD(p_ramrod->hdr.flags, in qed_sp_iscsi_conn_update()
499 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_update()
500 p_ramrod->fw_cid = cpu_to_le32(p_conn->icid); in qed_sp_iscsi_conn_update()
501 p_ramrod->flags = p_conn->update_flag; in qed_sp_iscsi_conn_update()
502 p_ramrod->max_seq_size = cpu_to_le32(p_conn->max_seq_size); in qed_sp_iscsi_conn_update()
504 p_ramrod->max_recv_pdu_length = cpu_to_le32(dval); in qed_sp_iscsi_conn_update()
506 p_ramrod->max_send_pdu_length = cpu_to_le32(dval); in qed_sp_iscsi_conn_update()
508 p_ramrod->first_seq_length = cpu_to_le32(dval); in qed_sp_iscsi_conn_update()
509 p_ramrod->exp_stat_sn = cpu_to_le32(p_conn->exp_stat_sn); in qed_sp_iscsi_conn_update()
520 struct iscsi_spe_conn_mac_update *p_ramrod = NULL; in qed_sp_iscsi_mac_update() local
539 p_ramrod = &p_ent->ramrod.iscsi_conn_mac_update; in qed_sp_iscsi_mac_update()
540 p_ramrod->hdr.op_code = ISCSI_RAMROD_CMD_ID_MAC_UPDATE; in qed_sp_iscsi_mac_update()
541 SET_FIELD(p_ramrod->hdr.flags, in qed_sp_iscsi_mac_update()
544 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_mac_update()
545 p_ramrod->fw_cid = cpu_to_le32(p_conn->icid); in qed_sp_iscsi_mac_update()
547 ((u8 *)(&p_ramrod->remote_mac_addr_hi))[0] = ucval; in qed_sp_iscsi_mac_update()
549 ((u8 *)(&p_ramrod->remote_mac_addr_hi))[1] = ucval; in qed_sp_iscsi_mac_update()
551 ((u8 *)(&p_ramrod->remote_mac_addr_mid))[0] = ucval; in qed_sp_iscsi_mac_update()
553 ((u8 *)(&p_ramrod->remote_mac_addr_mid))[1] = ucval; in qed_sp_iscsi_mac_update()
555 ((u8 *)(&p_ramrod->remote_mac_addr_lo))[0] = ucval; in qed_sp_iscsi_mac_update()
557 ((u8 *)(&p_ramrod->remote_mac_addr_lo))[1] = ucval; in qed_sp_iscsi_mac_update()
567 struct iscsi_spe_conn_termination *p_ramrod = NULL; in qed_sp_iscsi_conn_terminate() local
585 p_ramrod = &p_ent->ramrod.iscsi_conn_terminate; in qed_sp_iscsi_conn_terminate()
586 p_ramrod->hdr.op_code = ISCSI_RAMROD_CMD_ID_TERMINATION_CONN; in qed_sp_iscsi_conn_terminate()
587 SET_FIELD(p_ramrod->hdr.flags, in qed_sp_iscsi_conn_terminate()
590 p_ramrod->conn_id = cpu_to_le16(p_conn->conn_id); in qed_sp_iscsi_conn_terminate()
591 p_ramrod->fw_cid = cpu_to_le32(p_conn->icid); in qed_sp_iscsi_conn_terminate()
592 p_ramrod->abortive = p_conn->abortive_dsconnect; in qed_sp_iscsi_conn_terminate()
594 DMA_REGPAIR_LE(p_ramrod->query_params_addr, in qed_sp_iscsi_conn_terminate()
596 DMA_REGPAIR_LE(p_ramrod->queue_cnts_addr, p_conn->queue_cnts_phys_addr); in qed_sp_iscsi_conn_terminate()
606 struct iscsi_slow_path_hdr *p_ramrod = NULL; in qed_sp_iscsi_conn_clear_sq() local
624 p_ramrod = &p_ent->ramrod.iscsi_empty; in qed_sp_iscsi_conn_clear_sq()
625 p_ramrod->op_code = ISCSI_RAMROD_CMD_ID_CLEAR_SQ; in qed_sp_iscsi_conn_clear_sq()
626 SET_FIELD(p_ramrod->flags, in qed_sp_iscsi_conn_clear_sq()
636 struct iscsi_spe_func_dstry *p_ramrod = NULL; in qed_sp_iscsi_func_stop() local
654 p_ramrod = &p_ent->ramrod.iscsi_destroy; in qed_sp_iscsi_func_stop()
655 p_ramrod->hdr.op_code = ISCSI_RAMROD_CMD_ID_DESTROY_FUNC; in qed_sp_iscsi_func_stop()