Home
last modified time | relevance | path

Searched refs:cmd_pkt (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_iocb.c192 void qla2x00_build_scsi_iocbs_32(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_32() argument
205 put_unaligned_le32(COMMAND_TYPE, &cmd_pkt->entry_type); in qla2x00_build_scsi_iocbs_32()
209 cmd_pkt->byte_count = cpu_to_le32(0); in qla2x00_build_scsi_iocbs_32()
214 cmd_pkt->control_flags |= cpu_to_le16(qla2x00_get_cmd_direction(sp)); in qla2x00_build_scsi_iocbs_32()
217 avail_dsds = ARRAY_SIZE(cmd_pkt->dsd32); in qla2x00_build_scsi_iocbs_32()
218 cur_dsd = cmd_pkt->dsd32; in qla2x00_build_scsi_iocbs_32()
248 void qla2x00_build_scsi_iocbs_64(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_64() argument
261 put_unaligned_le32(COMMAND_A64_TYPE, &cmd_pkt->entry_type); in qla2x00_build_scsi_iocbs_64()
265 cmd_pkt->byte_count = cpu_to_le32(0); in qla2x00_build_scsi_iocbs_64()
270 cmd_pkt->control_flags |= cpu_to_le16(qla2x00_get_cmd_direction(sp)); in qla2x00_build_scsi_iocbs_64()
[all …]
Dqla_nvme.c417 struct cmd_nvme *cmd_pkt; in qla2x00_start_nvme_mq() local
481 cmd_pkt = (struct cmd_nvme *)req->ring_ptr; in qla2x00_start_nvme_mq()
482 cmd_pkt->handle = make_handle(req->id, handle); in qla2x00_start_nvme_mq()
485 clr_ptr = (uint32_t *)cmd_pkt + 2; in qla2x00_start_nvme_mq()
488 cmd_pkt->entry_status = 0; in qla2x00_start_nvme_mq()
491 cmd_pkt->entry_type = COMMAND_NVME; in qla2x00_start_nvme_mq()
495 cmd_pkt->control_flags = cpu_to_le16(CF_READ_DATA); in qla2x00_start_nvme_mq()
499 cmd_pkt->control_flags = cpu_to_le16(CF_WRITE_DATA); in qla2x00_start_nvme_mq()
506 cmd_pkt->control_flags |= in qla2x00_start_nvme_mq()
512 cmd_pkt->control_flags = 0; in qla2x00_start_nvme_mq()
[all …]
Dqla_edif.c3018 struct cmd_type_6 *cmd_pkt; in qla28xx_start_scsi_edif() local
3120 cmd_pkt = (struct cmd_type_6 *)req->ring_ptr; in qla28xx_start_scsi_edif()
3121 cmd_pkt->handle = make_handle(req->id, handle); in qla28xx_start_scsi_edif()
3127 clr_ptr = (uint32_t *)cmd_pkt + 2; in qla28xx_start_scsi_edif()
3129 cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); in qla28xx_start_scsi_edif()
3133 cmd_pkt->byte_count = cpu_to_le32(0); in qla28xx_start_scsi_edif()
3139 cmd_pkt->control_flags = cpu_to_le16(CF_WRITE_DATA); in qla28xx_start_scsi_edif()
3144 cmd_pkt->control_flags = cpu_to_le16(CF_READ_DATA); in qla28xx_start_scsi_edif()
3150 cmd_pkt->control_flags |= cpu_to_le16(CF_EN_EDIF); in qla28xx_start_scsi_edif()
3151 cmd_pkt->control_flags &= ~(cpu_to_le16(CF_NEW_SA)); in qla28xx_start_scsi_edif()
[all …]
Dqla_mr.c2967 qlafx00_build_scsi_iocbs(srb_t *sp, struct cmd_type_7_fx00 *cmd_pkt, in qlafx00_build_scsi_iocbs() argument
3060 struct cmd_type_7_fx00 *cmd_pkt; in qlafx00_start_scsi() local
3108 cmd_pkt = (struct cmd_type_7_fx00 *)req->ring_ptr; in qlafx00_start_scsi()
3128 qlafx00_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, &lcmd_pkt); in qlafx00_start_scsi()
3141 memcpy_toio((void __iomem *)cmd_pkt, &lcmd_pkt, REQUEST_ENTRY_SIZE); in qlafx00_start_scsi()
/linux-5.19.10/drivers/scsi/
Dipr.c596 trace_entry->op_code = ipr_cmd->ioarcb.cmd_pkt.cdb[0]; in ipr_trc_hook()
643 hrrq_id = ioarcb->cmd_pkt.hrrq_id; in ipr_reinit_ipr_cmnd()
644 memset(&ioarcb->cmd_pkt, 0, sizeof(struct ipr_cmd_pkt)); in ipr_reinit_ipr_cmnd()
645 ioarcb->cmd_pkt.hrrq_id = hrrq_id; in ipr_reinit_ipr_cmnd()
1123 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_HCAM; in ipr_send_hcam()
1124 ioarcb->cmd_pkt.cdb[0] = IPR_HOST_CONTROLLED_ASYNC; in ipr_send_hcam()
1125 ioarcb->cmd_pkt.cdb[1] = type; in ipr_send_hcam()
1126 ioarcb->cmd_pkt.cdb[7] = (sizeof(hostrcb->hcam) >> 8) & 0xff; in ipr_send_hcam()
1127 ioarcb->cmd_pkt.cdb[8] = sizeof(hostrcb->hcam) & 0xff; in ipr_send_hcam()
3970 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_build_ucode_ioadl64()
[all …]
Dipr.h638 struct ipr_cmd_pkt cmd_pkt; member
/linux-5.19.10/drivers/bus/mhi/host/
Dmain.c759 struct mhi_ring_element *cmd_pkt; in mhi_process_cmd_completion() local
769 cmd_pkt = mhi_to_virtual(mhi_ring, ptr); in mhi_process_cmd_completion()
771 chan = MHI_TRE_GET_CMD_CHID(cmd_pkt); in mhi_process_cmd_completion()
/linux-5.19.10/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h1055 struct set_config_cmd_payload cmd_pkt; member
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/core/
Ddc.c3917 cmd.set_config_access.set_config_control.cmd_pkt.msg_type = payload->msg_type; in dc_process_dmub_set_config_async()
3918 cmd.set_config_access.set_config_control.cmd_pkt.msg_data = payload->msg_data; in dc_process_dmub_set_config_async()