Home
last modified time | relevance | path

Searched refs:bsg_request (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/ufs/core/
H A Dufs_bsg.c33 struct ufs_bsg_request *bsg_request = job->request; in ufs_bsg_alloc_desc_buffer() local
41 qr = &bsg_request->upiu_req.qr; in ufs_bsg_alloc_desc_buffer()
118 ret = ufshcd_advanced_rpmb_req_handler(hba, &rpmb_request->bsg_request.upiu_req, in ufs_bsg_exec_advanced_rpmb_req()
134 struct ufs_bsg_request *bsg_request = job->request; in ufs_bsg_request() local
149 msgcode = bsg_request->msgcode; in ufs_bsg_request()
152 desc_op = bsg_request->upiu_req.qr.opcode; in ufs_bsg_request()
159 ret = ufshcd_exec_raw_upiu_cmd(hba, &bsg_request->upiu_req, in ufs_bsg_request()
172 memcpy(&uc, &bsg_request->upiu_req.uc, UIC_CMD_SIZE); in ufs_bsg_request()
/linux/drivers/scsi/qla2xxx/
H A Dqla_bsg.c48 struct fc_bsg_request *bsg_request = bsg_job->request; in qla2x00_bsg_sp_free() local
53 &bsg_request->rqst_data.h_vendor.vendor_cmd[1]; in qla2x00_bsg_sp_free()
148 struct fc_bsg_request *bsg_request = bsg_job->request; in qla24xx_proc_fcp_prio_cfg_cmd() local
162 oper = bsg_request->rqst_data.h_vendor.vendor_cmd[1]; in qla24xx_proc_fcp_prio_cfg_cmd()
275 struct fc_bsg_request *bsg_request = bsg_job->request; in qla2x00_process_els() local
288 if (bsg_request->msgcode == FC_BSG_RPT_ELS) { in qla2x00_process_els()
304 els_cmd = bsg_request->rqst_data.h_els.command_code; in qla2x00_process_els()
336 if (bsg_request->msgcode == FC_BSG_RPT_ELS) { in qla2x00_process_els()
363 bsg_request->rqst_data.h_els.port_id[0]; in qla2x00_process_els()
365 bsg_request->rqst_data.h_els.port_id[1]; in qla2x00_process_els()
[all …]
H A Dqla_edif.c1295 struct fc_bsg_request *bsg_request = bsg_job->request; in qla_edif_app_mgmt() local
1302 uint32_t vnd_sc = bsg_request->rqst_data.h_vendor.vendor_cmd[1]; in qla_edif_app_mgmt()
1369 bsg_request->rqst_data.h_vendor.vendor_cmd[1]); in qla_edif_app_mgmt()
3540 struct fc_bsg_request *bsg_request = bsg_job->request; in qla_edif_process_els() local
3554 d_id.b.al_pa = bsg_request->rqst_data.h_els.port_id[2]; in qla_edif_process_els()
3555 d_id.b.area = bsg_request->rqst_data.h_els.port_id[1]; in qla_edif_process_els()
3556 d_id.b.domain = bsg_request->rqst_data.h_els.port_id[0]; in qla_edif_process_els()
3574 bsg_request->rqst_data.r_els.els_code); in qla_edif_process_els()
H A Dqla_mr.c3222 struct fc_bsg_request *bsg_request; in qlafx00_fxdisc_iocb() local
3268 bsg_request = bsg_job->request; in qlafx00_fxdisc_iocb()
3270 &bsg_request->rqst_data.h_vendor.vendor_cmd[1]; in qlafx00_fxdisc_iocb()
H A Dqla_isr.c3147 struct fc_bsg_request *bsg_request; in qla25xx_process_bidir_status_iocb() local
3173 bsg_request = bsg_job->request; in qla25xx_process_bidir_status_iocb()
3184 thread_id = bsg_request->rqst_data.h_vendor.vendor_cmd[1]; in qla25xx_process_bidir_status_iocb()
H A Dqla_iocb.c3182 struct fc_bsg_request *bsg_request = bsg_job->request; in qla24xx_els_iocb() local
3197 bsg_request->rqst_data.r_els.els_code : in qla24xx_els_iocb()
3198 bsg_request->rqst_data.h_els.command_code; in qla24xx_els_iocb()
H A Dqla_attr.c3298 .bsg_request = qla24xx_bsg_request,
3343 .bsg_request = qla24xx_bsg_request,
/linux/drivers/s390/scsi/
H A Dzfcp_fc.c992 struct fc_bsg_request *bsg_request = job->request; in zfcp_fc_job_wka_port() local
996 preamble_word1 = bsg_request->rqst_data.r_ct.preamble_word1; in zfcp_fc_job_wka_port()
1034 struct fc_bsg_request *bsg_request = job->request; in zfcp_fc_exec_els_job() local
1046 d_id = ntoh24(bsg_request->rqst_data.h_els.port_id); in zfcp_fc_exec_els_job()
1080 struct fc_bsg_request *bsg_request = job->request; in zfcp_fc_exec_bsg_job() local
1093 switch (bsg_request->msgcode) { in zfcp_fc_exec_bsg_job()
H A Dzfcp_scsi.c978 .bsg_request = zfcp_fc_exec_bsg_job,
/linux/include/uapi/scsi/
H A Dscsi_bsg_ufs.h214 struct ufs_bsg_request bsg_request; member
/linux/drivers/scsi/
H A Dscsi_transport_fc.c4082 struct fc_bsg_request *bsg_request = job->request; in fc_bsg_host_dispatch() local
4094 switch (bsg_request->msgcode) { in fc_bsg_host_dispatch()
4126 (bsg_request->rqst_data.h_vendor.vendor_id != in fc_bsg_host_dispatch()
4138 ret = i->f->bsg_request(job); in fc_bsg_host_dispatch()
4175 struct fc_bsg_request *bsg_request = job->request; in fc_bsg_rport_dispatch() local
4187 switch (bsg_request->msgcode) { in fc_bsg_rport_dispatch()
4207 ret = i->f->bsg_request(job); in fc_bsg_rport_dispatch()
4280 if (!i->f->bsg_request) in fc_bsg_hostadd()
4315 if (!i->f->bsg_request) in fc_bsg_rportadd()
H A Dscsi_transport_iscsi.c1514 ret = i->iscsi_transport->bsg_request(job); in iscsi_bsg_host_dispatch()
1542 if (!i->iscsi_transport->bsg_request) in iscsi_bsg_host_add()
/linux/drivers/scsi/libfc/
H A Dfc_lport.c2139 struct fc_bsg_request *bsg_request = job->request; in fc_lport_bsg_request() local
2152 switch (bsg_request->msgcode) { in fc_lport_bsg_request()
2174 did = ntoh24(bsg_request->rqst_data.h_ct.port_id); in fc_lport_bsg_request()
2192 did = ntoh24(bsg_request->rqst_data.h_els.port_id); in fc_lport_bsg_request()
/linux/drivers/scsi/bfa/
H A Dbfad_bsg.c3151 struct fc_bsg_request *bsg_request = job->request; in bfad_im_bsg_vendor_request() local
3153 uint32_t vendor_cmd = bsg_request->rqst_data.h_vendor.vendor_cmd[0]; in bfad_im_bsg_vendor_request()
3378 struct fc_bsg_request *bsg_request = job->request; in bfad_im_bsg_els_ct_request() local
3380 uint32_t command_type = bsg_request->msgcode; in bfad_im_bsg_els_ct_request()
3390 bsg_data = (struct bfa_bsg_data *) (((char *)bsg_request) + in bfad_im_bsg_els_ct_request()
3579 struct fc_bsg_request *bsg_request = job->request; in bfad_im_bsg_request() local
3583 switch (bsg_request->msgcode) { in bfad_im_bsg_request()
/linux/include/scsi/
H A Dscsi_transport_iscsi.h136 int (*bsg_request)(struct bsg_job *job); member
H A Dscsi_transport_fc.h707 int (*bsg_request)(struct bsg_job *); member
/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c2193 struct fc_bsg_request *bsg_request = job->request; in ibmvfc_bsg_request() local
2195 unsigned int code = bsg_request->msgcode; in ibmvfc_bsg_request()
2206 port_id = (bsg_request->rqst_data.h_els.port_id[0] << 16) | in ibmvfc_bsg_request()
2207 (bsg_request->rqst_data.h_els.port_id[1] << 8) | in ibmvfc_bsg_request()
2208 bsg_request->rqst_data.h_els.port_id[2]; in ibmvfc_bsg_request()
2215 port_id = (bsg_request->rqst_data.h_ct.port_id[0] << 16) | in ibmvfc_bsg_request()
2216 (bsg_request->rqst_data.h_ct.port_id[1] << 8) | in ibmvfc_bsg_request()
2217 bsg_request->rqst_data.h_ct.port_id[2]; in ibmvfc_bsg_request()
6551 .bsg_request = ibmvfc_bsg_request,
/linux/drivers/scsi/fcoe/
H A Dfcoe.c217 .bsg_request = fc_lport_bsg_request,
260 .bsg_request = fc_lport_bsg_request,
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c2859 .bsg_request = fc_lport_bsg_request,
2893 .bsg_request = fc_lport_bsg_request,
/linux/drivers/scsi/fnic/
H A Dfnic_main.c165 .bsg_request = fc_lport_bsg_request,
/linux/drivers/scsi/lpfc/
H A Dlpfc_attr.c7091 .bsg_request = lpfc_bsg_request,
/linux/drivers/scsi/be2iscsi/
H A Dbe_main.c5816 .bsg_request = beiscsi_bsg_request,
/linux/drivers/scsi/qla4xxx/
H A Dql4_os.c282 .bsg_request = qla4xxx_bsg_request,