Home
last modified time | relevance | path

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

/linux/drivers/scsi/qla2xxx/
H A Dqla_iocb.c193 void qla2x00_build_scsi_iocbs_32(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_32() argument
206 put_unaligned_le32(COMMAND_TYPE, &cmd_pkt->entry_type); in qla2x00_build_scsi_iocbs_32()
210 cmd_pkt->byte_count = cpu_to_le32(0); in qla2x00_build_scsi_iocbs_32()
215 cmd_pkt->control_flags |= cpu_to_le16(qla2x00_get_cmd_direction(sp)); in qla2x00_build_scsi_iocbs_32()
218 avail_dsds = ARRAY_SIZE(cmd_pkt->dsd32); in qla2x00_build_scsi_iocbs_32()
219 cur_dsd = cmd_pkt->dsd32; in qla2x00_build_scsi_iocbs_32()
249 void qla2x00_build_scsi_iocbs_64(srb_t *sp, cmd_entry_t *cmd_pkt, in qla2x00_build_scsi_iocbs_64() argument
262 put_unaligned_le32(COMMAND_A64_TYPE, &cmd_pkt->entry_type); in qla2x00_build_scsi_iocbs_64()
266 cmd_pkt->byte_count = cpu_to_le32(0); in qla2x00_build_scsi_iocbs_64()
271 cmd_pkt->control_flags |= cpu_to_le16(qla2x00_get_cmd_direction(sp)); in qla2x00_build_scsi_iocbs_64()
[all …]
H A Dqla_nvme.c558 struct cmd_nvme *cmd_pkt; in qla2x00_start_nvme_mq() local
633 cmd_pkt = (struct cmd_nvme *)req->ring_ptr; in qla2x00_start_nvme_mq()
634 cmd_pkt->handle = make_handle(req->id, handle); in qla2x00_start_nvme_mq()
637 clr_ptr = (uint32_t *)cmd_pkt + 2; in qla2x00_start_nvme_mq()
640 cmd_pkt->entry_status = 0; in qla2x00_start_nvme_mq()
643 cmd_pkt->entry_type = COMMAND_NVME; in qla2x00_start_nvme_mq()
647 cmd_pkt->control_flags = cpu_to_le16(CF_READ_DATA); in qla2x00_start_nvme_mq()
651 cmd_pkt->control_flags = cpu_to_le16(CF_WRITE_DATA); in qla2x00_start_nvme_mq()
658 cmd_pkt->control_flags |= in qla2x00_start_nvme_mq()
664 cmd_pkt->control_flags = 0; in qla2x00_start_nvme_mq()
[all …]
H A Dqla_edif.c2984 struct cmd_type_6 *cmd_pkt; in qla28xx_start_scsi_edif() local
3083 cmd_pkt = (struct cmd_type_6 *)req->ring_ptr; in qla28xx_start_scsi_edif()
3084 cmd_pkt->handle = make_handle(req->id, handle); in qla28xx_start_scsi_edif()
3090 clr_ptr = (uint32_t *)cmd_pkt + 2; in qla28xx_start_scsi_edif()
3092 cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); in qla28xx_start_scsi_edif()
3096 cmd_pkt->byte_count = cpu_to_le32(0); in qla28xx_start_scsi_edif()
3102 cmd_pkt->control_flags = cpu_to_le16(CF_WRITE_DATA); in qla28xx_start_scsi_edif()
3107 cmd_pkt->control_flags = cpu_to_le16(CF_READ_DATA); in qla28xx_start_scsi_edif()
3113 cmd_pkt->control_flags |= cpu_to_le16(CF_EN_EDIF); in qla28xx_start_scsi_edif()
3114 cmd_pkt->control_flags &= ~(cpu_to_le16(CF_NEW_SA)); in qla28xx_start_scsi_edif()
[all …]
H A Dqla_mr.c2965 qlafx00_build_scsi_iocbs(srb_t *sp, struct cmd_type_7_fx00 *cmd_pkt, in qlafx00_build_scsi_iocbs() argument
3058 struct cmd_type_7_fx00 *cmd_pkt; in qlafx00_start_scsi() local
3106 cmd_pkt = (struct cmd_type_7_fx00 *)req->ring_ptr; in qlafx00_start_scsi()
3126 qlafx00_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, &lcmd_pkt); in qlafx00_start_scsi()
3139 memcpy_toio((void __iomem *)cmd_pkt, &lcmd_pkt, REQUEST_ENTRY_SIZE); in qlafx00_start_scsi()
/linux/drivers/scsi/
H A Dipr.h603 struct ipr_cmd_pkt cmd_pkt; member
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h2229 struct set_config_cmd_payload cmd_pkt; member