Lines Matching defs:arg
26 * @arg: CT arguments
31 qla2x00_prep_ms_iocb(scsi_qla_host_t *vha, struct ct_arg *arg)
36 ms_pkt = (ms_iocb_entry_t *)arg->iocb;
46 ms_pkt->rsp_bytecount = cpu_to_le32(arg->rsp_size);
47 ms_pkt->req_bytecount = cpu_to_le32(arg->req_size);
49 put_unaligned_le64(arg->req_dma, &ms_pkt->req_dsd.address);
52 put_unaligned_le64(arg->rsp_dma, &ms_pkt->rsp_dsd.address);
63 * @arg: CT arguments
68 qla24xx_prep_ms_iocb(scsi_qla_host_t *vha, struct ct_arg *arg)
73 ct_pkt = (struct ct_entry_24xx *)arg->iocb;
78 ct_pkt->nport_handle = cpu_to_le16(arg->nport_handle);
82 ct_pkt->rsp_byte_count = cpu_to_le32(arg->rsp_size);
83 ct_pkt->cmd_byte_count = cpu_to_le32(arg->req_size);
85 put_unaligned_le64(arg->req_dma, &ct_pkt->dsd[0].address);
88 put_unaligned_le64(arg->rsp_dma, &ct_pkt->dsd[1].address);
208 struct ct_arg arg;
213 arg.iocb = ha->ms_iocb;
214 arg.req_dma = ha->ct_sns_dma;
215 arg.rsp_dma = ha->ct_sns_dma;
216 arg.req_size = GA_NXT_REQ_SIZE;
217 arg.rsp_size = GA_NXT_RSP_SIZE;
218 arg.nport_handle = NPH_SNS;
222 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg);
297 struct ct_arg arg;
305 arg.iocb = ha->ms_iocb;
306 arg.req_dma = ha->ct_sns_dma;
307 arg.rsp_dma = ha->ct_sns_dma;
308 arg.req_size = GID_PT_REQ_SIZE;
309 arg.rsp_size = gid_pt_rsp_size;
310 arg.nport_handle = NPH_SNS;
314 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg);
378 struct ct_arg arg;
383 arg.iocb = ha->ms_iocb;
384 arg.req_dma = ha->ct_sns_dma;
385 arg.rsp_dma = ha->ct_sns_dma;
386 arg.req_size = GPN_ID_REQ_SIZE;
387 arg.rsp_size = GPN_ID_RSP_SIZE;
388 arg.nport_handle = NPH_SNS;
393 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg);
445 struct ct_arg arg;
450 arg.iocb = ha->ms_iocb;
451 arg.req_dma = ha->ct_sns_dma;
452 arg.rsp_dma = ha->ct_sns_dma;
453 arg.req_size = GNN_ID_REQ_SIZE;
454 arg.rsp_size = GNN_ID_RSP_SIZE;
455 arg.nport_handle = NPH_SNS;
460 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg);
2536 struct ct_arg arg;
2541 arg.iocb = ha->ms_iocb;
2542 arg.req_dma = ha->ct_sns_dma;
2543 arg.rsp_dma = ha->ct_sns_dma;
2544 arg.req_size = GFPN_ID_REQ_SIZE;
2545 arg.rsp_size = GFPN_ID_RSP_SIZE;
2546 arg.nport_handle = NPH_SNS;
2551 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg);
2644 struct ct_arg arg;
2655 arg.iocb = ha->ms_iocb;
2656 arg.req_dma = ha->ct_sns_dma;
2657 arg.rsp_dma = ha->ct_sns_dma;
2658 arg.req_size = GPSC_REQ_SIZE;
2659 arg.rsp_size = GPSC_RSP_SIZE;
2660 arg.nport_handle = vha->mgmt_svr_loop_id;
2665 ms_pkt = qla24xx_prep_ms_iocb(vha, &arg);
2736 struct ct_arg arg;
2747 arg.iocb = ha->ms_iocb;
2748 arg.req_dma = ha->ct_sns_dma;
2749 arg.rsp_dma = ha->ct_sns_dma;
2750 arg.req_size = GFF_ID_REQ_SIZE;
2751 arg.rsp_size = GFF_ID_RSP_SIZE;
2752 arg.nport_handle = NPH_SNS;
2755 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, &arg);