Lines Matching refs:scsidev
65 const struct scsi_device *scsidev);
67 const struct scsi_device *scsidev);
482 int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg) in ata_cmd_ioctl() argument
536 cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, argsize, in ata_cmd_ioctl()
591 int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg) in ata_task_ioctl() argument
622 cmd_result = scsi_execute(scsidev, scsi_cmd, DMA_NONE, NULL, 0, in ata_task_ioctl()
674 int ata_sas_scsi_ioctl(struct ata_port *ap, struct scsi_device *scsidev, in ata_sas_scsi_ioctl() argument
705 return ata_get_identity(ap, scsidev, arg); in ata_sas_scsi_ioctl()
710 return ata_cmd_ioctl(scsidev, arg); in ata_sas_scsi_ioctl()
715 return ata_task_ioctl(scsidev, arg); in ata_sas_scsi_ioctl()
726 int ata_scsi_ioctl(struct scsi_device *scsidev, int cmd, void __user *arg) in ata_scsi_ioctl() argument
728 return ata_sas_scsi_ioctl(ata_shost_to_port(scsidev->host), in ata_scsi_ioctl()
729 scsidev, cmd, arg); in ata_scsi_ioctl()
2814 const struct scsi_device *scsidev) in __ata_scsi_find_dev() argument
2820 if (unlikely(scsidev->channel || scsidev->lun)) in __ata_scsi_find_dev()
2822 devno = scsidev->id; in __ata_scsi_find_dev()
2824 if (unlikely(scsidev->id || scsidev->lun)) in __ata_scsi_find_dev()
2826 devno = scsidev->channel; in __ata_scsi_find_dev()
2849 ata_scsi_find_dev(struct ata_port *ap, const struct scsi_device *scsidev) in ata_scsi_find_dev() argument
2851 struct ata_device *dev = __ata_scsi_find_dev(ap, scsidev); in ata_scsi_find_dev()
3400 struct scsi_device *scsidev = cmd->device; in ata_scsi_dump_cdb() local
3405 scsidev->channel, scsidev->id, scsidev->lun, in ata_scsi_dump_cdb()
3483 struct scsi_device *scsidev = cmd->device; in ata_scsi_queuecmd() local
3493 dev = ata_scsi_find_dev(ap, scsidev); in ata_scsi_queuecmd()