Lines Matching defs:device

162 	fis[7] = tf->device;
200 tf->device = fis[7];
700 * a single device connected to a link but PATA and SATA
707 * separate SCR register sets for each device. These controllers
794 static ssize_t ata_scsi_lpm_store(struct device *device,
798 struct Scsi_Host *shost = class_to_shost(device);
834 static ssize_t ata_scsi_lpm_show(struct device *dev,
850 static ssize_t ata_ncq_prio_enable_show(struct device *device,
854 struct scsi_device *sdev = to_scsi_device(device);
877 static ssize_t ata_ncq_prio_enable_store(struct device *device,
881 struct scsi_device *sdev = to_scsi_device(device);
935 ata_scsi_em_message_store(struct device *dev, struct device_attribute *attr,
946 ata_scsi_em_message_show(struct device *dev, struct device_attribute *attr,
961 ata_scsi_em_message_type_show(struct device *dev, struct device_attribute *attr,
974 ata_scsi_activity_show(struct device *dev, struct device_attribute *attr,
988 ata_scsi_activity_store(struct device *dev, struct device_attribute *attr,
1017 * @ap: ATA port to which the device change the queue depth
1018 * @sdev: SCSI device to configure queue depth for
1061 * @sdev: SCSI device to configure queue depth for
1083 * port_alloc - Allocate port for a SAS attached SATA device
1086 * @shost: SCSI host that the scsi device is attached to
1178 * ata_sas_port_init - Initialize a SATA device
1199 int ata_sas_tport_add(struct device *parent, struct ata_port *ap)
1227 * @sdev: SCSI device to configure
1228 * @ap: ATA port to which SCSI device is attached
1237 ata_scsi_dev_config(sdev, ap->link.device);
1243 * ata_sas_queuecmd - Issue SCSI cdb to libata-managed device
1258 if (likely(ata_dev_enabled(ap->link.device)))
1259 rc = __ata_scsi_queuecmd(cmd, ap->link.device);
1325 struct ata_device *dev = ap->link.device;
1349 if ((link->device->class == ATA_DEV_ATAPI) &&
1350 (link->device->flags & ATA_DFLAG_AN))
1351 ata_scsi_media_change_notify(link->device);
1411 tf->device = buf[7];
1428 * error status TF. For NCQ device errors, all LLDDs have to do
1439 struct ata_device *dev = link->device;
1448 /* is it NCQ device error? */