Searched refs:vrq (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/scsi/esas2r/ |
D | esas2r_vda.c | 95 rq->vrq->scsi.function = vi->function; in esas2r_process_vda_ioctl() 112 rq->vrq->flash.length = cpu_to_le32(datalen); in esas2r_process_vda_ioctl() 113 rq->vrq->flash.sub_func = vi->cmd.flash.sub_func; in esas2r_process_vda_ioctl() 115 memcpy(rq->vrq->flash.data.file.file_name, in esas2r_process_vda_ioctl() 119 firstsg = rq->vrq->flash.data.file.sge; in esas2r_process_vda_ioctl() 126 rq->vrq->cli.cmd_rsp_len = in esas2r_process_vda_ioctl() 128 rq->vrq->cli.length = cpu_to_le32(datalen); in esas2r_process_vda_ioctl() 130 firstsg = rq->vrq->cli.sge; in esas2r_process_vda_ioctl() 152 rq->vrq->mgt.payld_sglst_offset = in esas2r_process_vda_ioctl() 169 rq->vrq->mgt.length = cpu_to_le32(datalen); in esas2r_process_vda_ioctl() [all …]
|
D | esas2r_io.c | 54 if (rq->vrq->scsi.function == VDA_FUNC_SCSI) in esas2r_start_request() 58 } else if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)) { in esas2r_start_request() 66 rq->vrq->scsi.target_id = cpu_to_le16(t->virt_targ_id); in esas2r_start_request() 85 esas2r_trace("rq->vrq->scsi.handle=%x", rq->vrq->scsi.handle); in esas2r_start_request() 87 if (rq->vrq->scsi.function == VDA_FUNC_SCSI) { in esas2r_start_request() 89 esas2r_trace("rq->vrq->scsi.flags=%x", rq->vrq->scsi.flags); in esas2r_start_request() 124 esas2r_trace("rq->vrq:%p", rq->vrq); in esas2r_local_start_request() 127 if (unlikely(rq->vrq->scsi.function == VDA_FUNC_FLASH in esas2r_local_start_request() 128 && rq->vrq->flash.sub_func == VDA_FLASH_COMMIT)) in esas2r_local_start_request() 176 esas2r_trace("rq->vrq->scsi.handle:%x", rq->vrq->scsi.handle); in esas2r_start_vda_request() [all …]
|
D | esas2r.h | 651 union atto_vda_req *vrq; member 1178 sgc->sge.a64.limit = (struct atto_vda_sge *)((u8 *)rq->vrq in esas2r_sgc_init() 1187 rq->vrq->scsi.sg_list_offset = (u8) in esas2r_sgc_init() 1189 (u8 *)rq->vrq); in esas2r_sgc_init() 1192 sgc->sge.a64.curr = &rq->vrq->scsi.u.sge[0]; in esas2r_sgc_init() 1193 rq->vrq->scsi.sg_list_offset = in esas2r_sgc_init() 1202 union atto_vda_req *vrq = rq->vrq; in esas2r_rq_init_request() local 1205 rq->data_buf = (void *)(vrq + 1); in esas2r_rq_init_request() 1228 if (a->req_table[LOWORD(vrq->scsi.handle)]) { in esas2r_rq_init_request() 1235 a->req_table[LOWORD(vrq->scsi.handle)] = rq; in esas2r_rq_init_request() [all …]
|
D | esas2r_flash.c | 136 struct atto_vda_flash_req *vrq = &rq->vrq->flash; in esas2r_fmapi_callback() local 142 switch (vrq->sub_func) { in esas2r_fmapi_callback() 147 vrq->sub_func = VDA_FLASH_WRITE; in esas2r_fmapi_callback() 153 vrq->sub_func = VDA_FLASH_COMMIT; in esas2r_fmapi_callback() 212 esas2r_sgc_init(sgc, a, rq, &rq->vrq->flash.data.sge[0]); in build_flash_msg() 833 if (rq->vrq->flash.sub_func == VDA_FLASH_COMMIT) in esas2r_complete_fs_ioctl() 915 esas2r_sgc_init(sgc, a, rq, rq->vrq->flash.data.sge); in esas2r_process_fs_ioctl() 1215 struct atto_vda_flash_req *vrq = &rq->vrq->flash; in esas2r_nvram_callback() local 1220 switch (vrq->sub_func) { in esas2r_nvram_callback() 1222 vrq->sub_func = VDA_FLASH_WRITE; in esas2r_nvram_callback() [all …]
|
D | esas2r_main.c | 849 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_WRD); in esas2r_queuecommand() 851 rq->vrq->scsi.flags |= cpu_to_le32(FCP_CMND_RDD); in esas2r_queuecommand() 854 memcpy(rq->vrq->scsi.cdb, cmd->cmnd, cmd->cmd_len); in esas2r_queuecommand() 855 rq->vrq->scsi.length = cpu_to_le32(bufflen); in esas2r_queuecommand() 857 rq->vrq->scsi.flags |= cpu_to_le32(cmd->device->lun); in esas2r_queuecommand() 942 ar->vrq->scsi.length = 0; in esas2r_check_active_queue() 944 ar->vrq->scsi.flags |= cpu_to_le32( in esas2r_check_active_queue() 945 (u8)le32_to_cpu(rq->vrq->scsi.flags)); in esas2r_check_active_queue() 947 memset(ar->vrq->scsi.cdb, 0, in esas2r_check_active_queue() 948 sizeof(ar->vrq->scsi.cdb)); in esas2r_check_active_queue() [all …]
|
D | esas2r_ioctl.c | 302 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); in smp_ioctl_callback() 336 rq->vrq->scsi.flags |= cpu_to_le32(rq->func_rsp.ioctl_rsp.csmi.lun); in esas2r_csmi_ioctl_tunnel_comp_cb() 350 struct atto_vda_ioctl_req *ioctl = &rq->vrq->ioctl; in csmi_ioctl_tunnel() 355 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); in csmi_ioctl_tunnel() 359 ioctl->csmi.lun = (u8)le32_to_cpu(rq->vrq->scsi.flags); in csmi_ioctl_tunnel() 427 rq->vrq->scsi.flags |= cpu_to_le32(lun); in csmi_ioctl_callback() 571 gda->sas_lun[1] = (u8)le32_to_cpu(rq->vrq->scsi.flags); in csmi_ioctl_callback() 674 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); in hba_ioctl_tunnel() 1008 rq->vrq->scsi.flags |= cpu_to_le32(spt->lun[1]); in hba_ioctl_callback() 1009 memcpy(rq->vrq->scsi.cdb, spt->cdb, 16); in hba_ioctl_callback() [all …]
|
D | esas2r_int.c | 264 if (unlikely(rq == NULL || rq->vrq->scsi.handle != handle)) { in esas2r_get_outbound_responses() 278 if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)) { in esas2r_get_outbound_responses() 922 if (rq->vrq->scsi.function == VDA_FUNC_FLASH in esas2r_complete_request() 923 && rq->vrq->flash.sub_func == VDA_FLASH_COMMIT) in esas2r_complete_request() 937 if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI) in esas2r_complete_request()
|
D | esas2r_init.c | 127 rq->vrq = (union atto_vda_req *)memdesc->virt_addr; in alloc_vda_req() 128 rq->vrq->scsi.handle = a->num_vrqs; in alloc_vda_req() 1162 ci = (struct atto_vda_cfg_init *)&rq->vrq->cfg.data.init; in esas2r_format_init_msg() 1203 rq->vrq->cfg.sg_list_offset = offsetof( in esas2r_format_init_msg() 1206 rq->vrq->cfg.data.prde.ctl_len = in esas2r_format_init_msg() 1208 rq->vrq->cfg.data.prde.address = cpu_to_le64( in esas2r_format_init_msg()
|
D | esas2r_disc.c | 901 esas2r_sgc_init(&sgc, a, rq, rq->vrq->ioctl.sge); in esas2r_disc_passthru_dev_addr() 1172 if (rq->vrq->scsi.function == VDA_FUNC_SCSI) { in esas2r_disc_fix_curr_requests() 1176 rq->vrq->scsi.target_id = le16_to_cpu( in esas2r_disc_fix_curr_requests()
|