Searched refs:ct_req (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_gs.c100 * @ct_req: CT request buffer
104 * Returns a pointer to the intitialized @ct_req.
183 struct ct_sns_req *ct_req; qla2x00_ga_nxt() local
196 ct_req = qla2x00_prep_ct_req(ha->ct_sns, GA_NXT_CMD, qla2x00_ga_nxt()
201 ct_req->req.port_id.port_id[0] = fcport->d_id.b.domain; qla2x00_ga_nxt()
202 ct_req->req.port_id.port_id[1] = fcport->d_id.b.area; qla2x00_ga_nxt()
203 ct_req->req.port_id.port_id[2] = fcport->d_id.b.al_pa; qla2x00_ga_nxt()
266 struct ct_sns_req *ct_req; qla2x00_gid_pt() local
284 ct_req = qla2x00_prep_ct_req(ha->ct_sns, GID_PT_CMD, gid_pt_rsp_size); qla2x00_gid_pt()
288 ct_req->req.gid_pt.port_type = NS_NX_PORT_TYPE; qla2x00_gid_pt()
344 struct ct_sns_req *ct_req; qla2x00_gpn_id() local
358 ct_req = qla2x00_prep_ct_req(ha->ct_sns, GPN_ID_CMD, qla2x00_gpn_id()
363 ct_req->req.port_id.port_id[0] = list[i].d_id.b.domain; qla2x00_gpn_id()
364 ct_req->req.port_id.port_id[1] = list[i].d_id.b.area; qla2x00_gpn_id()
365 ct_req->req.port_id.port_id[2] = list[i].d_id.b.al_pa; qla2x00_gpn_id()
407 struct ct_sns_req *ct_req; qla2x00_gnn_id() local
420 ct_req = qla2x00_prep_ct_req(ha->ct_sns, GNN_ID_CMD, qla2x00_gnn_id()
425 ct_req->req.port_id.port_id[0] = list[i].d_id.b.domain; qla2x00_gnn_id()
426 ct_req->req.port_id.port_id[1] = list[i].d_id.b.area; qla2x00_gnn_id()
427 ct_req->req.port_id.port_id[2] = list[i].d_id.b.al_pa; qla2x00_gnn_id()
474 struct ct_sns_req *ct_req; qla2x00_rft_id() local
486 ct_req = qla2x00_prep_ct_req(ha->ct_sns, RFT_ID_CMD, qla2x00_rft_id()
491 ct_req->req.rft_id.port_id[0] = vha->d_id.b.domain; qla2x00_rft_id()
492 ct_req->req.rft_id.port_id[1] = vha->d_id.b.area; qla2x00_rft_id()
493 ct_req->req.rft_id.port_id[2] = vha->d_id.b.al_pa; qla2x00_rft_id()
495 ct_req->req.rft_id.fc4_types[2] = 0x01; /* FCP-3 */ qla2x00_rft_id()
527 struct ct_sns_req *ct_req; qla2x00_rff_id() local
542 ct_req = qla2x00_prep_ct_req(ha->ct_sns, RFF_ID_CMD, qla2x00_rff_id()
547 ct_req->req.rff_id.port_id[0] = vha->d_id.b.domain; qla2x00_rff_id()
548 ct_req->req.rff_id.port_id[1] = vha->d_id.b.area; qla2x00_rff_id()
549 ct_req->req.rff_id.port_id[2] = vha->d_id.b.al_pa; qla2x00_rff_id()
551 qlt_rff_id(vha, ct_req); qla2x00_rff_id()
553 ct_req->req.rff_id.fc4_type = 0x08; /* SCSI - FCP */ qla2x00_rff_id()
585 struct ct_sns_req *ct_req; qla2x00_rnn_id() local
597 ct_req = qla2x00_prep_ct_req(ha->ct_sns, RNN_ID_CMD, RNN_ID_RSP_SIZE); qla2x00_rnn_id()
601 ct_req->req.rnn_id.port_id[0] = vha->d_id.b.domain; qla2x00_rnn_id()
602 ct_req->req.rnn_id.port_id[1] = vha->d_id.b.area; qla2x00_rnn_id()
603 ct_req->req.rnn_id.port_id[2] = vha->d_id.b.al_pa; qla2x00_rnn_id()
605 memcpy(ct_req->req.rnn_id.node_name, vha->node_name, WWN_SIZE); qla2x00_rnn_id()
652 struct ct_sns_req *ct_req; qla2x00_rsnn_nn() local
667 ct_req = qla2x00_prep_ct_req(ha->ct_sns, RSNN_NN_CMD, qla2x00_rsnn_nn()
672 memcpy(ct_req->req.rsnn_nn.node_name, vha->node_name, WWN_SIZE); qla2x00_rsnn_nn()
675 qla2x00_get_sym_node_name(vha, ct_req->req.rsnn_nn.sym_node_name, qla2x00_rsnn_nn()
676 sizeof(ct_req->req.rsnn_nn.sym_node_name)); qla2x00_rsnn_nn()
679 ct_req->req.rsnn_nn.name_len = qla2x00_rsnn_nn()
680 (uint8_t)strlen(ct_req->req.rsnn_nn.sym_node_name); qla2x00_rsnn_nn()
684 cpu_to_le32(24 + 1 + ct_req->req.rsnn_nn.name_len); qla2x00_rsnn_nn()
1233 * @ct_req: CT request buffer
1237 * Returns a pointer to the intitialized @ct_req.
1267 struct ct_sns_req *ct_req; qla2x00_fdmi_rhba() local
1279 ct_req = qla2x00_prep_ct_fdmi_req(ha->ct_sns, RHBA_CMD, RHBA_RSP_SIZE); qla2x00_fdmi_rhba()
1283 memcpy(ct_req->req.rhba.hba_identifier, vha->port_name, WWN_SIZE); qla2x00_fdmi_rhba()
1284 ct_req->req.rhba.entry_count = __constant_cpu_to_be32(1); qla2x00_fdmi_rhba()
1285 memcpy(ct_req->req.rhba.port_name, vha->port_name, WWN_SIZE); qla2x00_fdmi_rhba()
1289 ct_req->req.rhba.attrs.count = qla2x00_fdmi_rhba()
1291 entries = ct_req->req.rhba.hba_identifier; qla2x00_fdmi_rhba()
1430 ct_req->req.rhba.hba_identifier, size); qla2x00_fdmi_rhba()
1477 struct ct_sns_req *ct_req; qla2x00_fdmi_rpa() local
1490 ct_req = qla2x00_prep_ct_fdmi_req(ha->ct_sns, RPA_CMD, qla2x00_fdmi_rpa()
1495 memcpy(ct_req->req.rpa.port_name, vha->port_name, WWN_SIZE); qla2x00_fdmi_rpa()
1499 ct_req->req.rpa.attrs.count = cpu_to_be32(FDMI_PORT_ATTR_COUNT); qla2x00_fdmi_rpa()
1500 entries = ct_req->req.rpa.port_name; qla2x00_fdmi_rpa()
1646 wwn_to_u64(ct_req->req.rpa.port_name), size); qla2x00_fdmi_rpa()
1688 struct ct_sns_req *ct_req; qla2x00_fdmiv2_rhba() local
1702 ct_req = qla2x00_prep_ct_fdmi_req(ha->ct_sns, RHBA_CMD, qla2x00_fdmiv2_rhba()
1707 memcpy(ct_req->req.rhba2.hba_identifier, vha->port_name, WWN_SIZE); qla2x00_fdmiv2_rhba()
1708 ct_req->req.rhba2.entry_count = cpu_to_be32(1); qla2x00_fdmiv2_rhba()
1709 memcpy(ct_req->req.rhba2.port_name, vha->port_name, WWN_SIZE); qla2x00_fdmiv2_rhba()
1713 ct_req->req.rhba2.attrs.count = cpu_to_be32(FDMIV2_HBA_ATTR_COUNT); qla2x00_fdmiv2_rhba()
1714 entries = ct_req->req.rhba2.hba_identifier; qla2x00_fdmiv2_rhba()
1957 wwn_to_u64(ct_req->req.rhba2.hba_identifier)); qla2x00_fdmiv2_rhba()
2004 struct ct_sns_req *ct_req; qla2x00_fdmi_dhba() local
2013 ct_req = qla2x00_prep_ct_fdmi_req(ha->ct_sns, DHBA_CMD, DHBA_RSP_SIZE); qla2x00_fdmi_dhba()
2017 memcpy(ct_req->req.dhba.port_name, vha->port_name, WWN_SIZE); qla2x00_fdmi_dhba()
2020 "DHBA portname = %8phN.\n", ct_req->req.dhba.port_name); qla2x00_fdmi_dhba()
2053 struct ct_sns_req *ct_req; qla2x00_fdmiv2_rpa() local
2066 ct_req = qla2x00_prep_ct_fdmi_req(ha->ct_sns, RPA_CMD, RPA_RSP_SIZE); qla2x00_fdmiv2_rpa()
2070 memcpy(ct_req->req.rpa2.port_name, vha->port_name, WWN_SIZE); qla2x00_fdmiv2_rpa()
2074 ct_req->req.rpa2.attrs.count = cpu_to_be32(FDMIV2_PORT_ATTR_COUNT); qla2x00_fdmiv2_rpa()
2075 entries = ct_req->req.rpa2.port_name; qla2x00_fdmiv2_rpa()
2320 "RPA portname= %8phN size=%d.\n", ct_req->req.rpa.port_name, size); qla2x00_fdmiv2_rpa()
2426 struct ct_sns_req *ct_req; qla2x00_gfpn_id() local
2439 ct_req = qla2x00_prep_ct_req(ha->ct_sns, GFPN_ID_CMD, qla2x00_gfpn_id()
2444 ct_req->req.port_id.port_id[0] = list[i].d_id.b.domain; qla2x00_gfpn_id()
2445 ct_req->req.port_id.port_id[1] = list[i].d_id.b.area; qla2x00_gfpn_id()
2446 ct_req->req.port_id.port_id[2] = list[i].d_id.b.al_pa; qla2x00_gfpn_id()
2534 struct ct_sns_req *ct_req; qla2x00_gpsc() local
2553 ct_req = qla24xx_prep_ct_fm_req(ha->ct_sns, GPSC_CMD, qla2x00_gpsc()
2558 memcpy(ct_req->req.gpsc.port_name, list[i].fabric_port_name, qla2x00_gpsc()
2640 struct ct_sns_req *ct_req; qla2x00_gff_id() local
2659 ct_req = qla2x00_prep_ct_req(ha->ct_sns, GFF_ID_CMD, qla2x00_gff_id()
2664 ct_req->req.port_id.port_id[0] = list[i].d_id.b.domain; qla2x00_gff_id()
2665 ct_req->req.port_id.port_id[1] = list[i].d_id.b.area; qla2x00_gff_id()
2666 ct_req->req.port_id.port_id[2] = list[i].d_id.b.al_pa; qla2x00_gff_id()
H A Dqla_target.c6100 qlt_rff_id(struct scsi_qla_host *vha, struct ct_sns_req *ct_req) qlt_rff_id() argument
6107 ct_req->req.rff_id.fc4_feature = BIT_0 | BIT_1; qlt_rff_id()
6109 ct_req->req.rff_id.fc4_feature = BIT_0; qlt_rff_id()
6111 ct_req->req.rff_id.fc4_feature = BIT_1; qlt_rff_id()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_bsg.c920 struct lpfc_sli_ct_request *ct_req; lpfc_bsg_ct_unsol_event() local
946 ct_req = (struct lpfc_sli_ct_request *)dmabuf->virt; lpfc_bsg_ct_unsol_event()
947 evt_req_id = ct_req->FsType; lpfc_bsg_ct_unsol_event()
948 cmd = ct_req->CommandResponse.bits.CmdRsp; lpfc_bsg_ct_unsol_event()
949 len = ct_req->CommandResponse.bits.Size; lpfc_bsg_ct_unsol_event()

Completed in 145 milliseconds