Lines Matching refs:ata_port

64 static struct ata_device *__ata_scsi_find_dev(struct ata_port *ap,
66 static struct ata_device *ata_scsi_find_dev(struct ata_port *ap,
119 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_store()
158 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_lpm_show()
174 struct ata_port *ap; in ata_scsi_park_show()
214 struct ata_port *ap; in ata_scsi_park_store()
285 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_store()
296 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_show()
311 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_em_message_type_show()
324 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_activity_show()
338 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_activity_store()
415 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_unlock_native_capacity()
444 static int ata_get_identity(struct ata_port *ap, struct scsi_device *sdev, in ata_get_identity()
666 static int ata_ioc32(struct ata_port *ap) in ata_ioc32()
675 int ata_sas_scsi_ioctl(struct ata_port *ap, struct scsi_device *scsidev, in ata_sas_scsi_ioctl()
1210 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_slave_config()
1238 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_slave_destroy()
1271 int __ata_change_queue_depth(struct ata_port *ap, struct scsi_device *sdev, in __ata_change_queue_depth()
1321 struct ata_port *ap = ata_shost_to_port(sdev->host); in ata_scsi_change_queue_depth()
1761 struct ata_port *ap = qc->ap; in ata_scsi_qc_complete()
1829 struct ata_port *ap = dev->link->ap; in ata_scsi_translate()
2601 static inline int ata_pio_use_silly(struct ata_port *ap) in ata_pio_use_silly()
2608 struct ata_port *ap = qc->ap; in atapi_request_sense()
2834 static struct ata_device *ata_find_dev(struct ata_port *ap, int devno) in ata_find_dev()
2847 static struct ata_device *__ata_scsi_find_dev(struct ata_port *ap, in __ata_scsi_find_dev()
2883 ata_scsi_find_dev(struct ata_port *ap, const struct scsi_device *scsidev) in ata_scsi_find_dev()
3430 static inline void ata_scsi_dump_cdb(struct ata_port *ap, in ata_scsi_dump_cdb()
3515 struct ata_port *ap; in ata_scsi_queuecmd()
3664 struct ata_port *ap = host->ports[i]; in ata_scsi_add_hosts()
3668 shost = scsi_host_alloc(sht, sizeof(struct ata_port *)); in ata_scsi_add_hosts()
3673 *(struct ata_port **)&shost->hostdata[0] = ap; in ata_scsi_add_hosts()
3714 void ata_scsi_scan_host(struct ata_port *ap, int sync) in ata_scsi_scan_host()
3823 struct ata_port *ap = dev->link->ap; in ata_scsi_remove_dev()
3872 struct ata_port *ap = link->ap; in ata_scsi_handle_link_detach()
3923 struct ata_port *ap = in ata_scsi_hotplug()
3924 container_of(work, struct ata_port, hotplug_task.work); in ata_scsi_hotplug()
3991 struct ata_port *ap = ata_shost_to_port(shost); in ata_scsi_user_scan()
4054 struct ata_port *ap = in ata_scsi_dev_rescan()
4055 container_of(work, struct ata_port, scsi_rescan_task); in ata_scsi_dev_rescan()
4096 struct ata_port *ata_sas_port_alloc(struct ata_host *host, in ata_sas_port_alloc()
4100 struct ata_port *ap; in ata_sas_port_alloc()
4131 int ata_sas_port_start(struct ata_port *ap) in ata_sas_port_start()
4153 void ata_sas_port_stop(struct ata_port *ap) in ata_sas_port_stop()
4165 void ata_sas_async_probe(struct ata_port *ap) in ata_sas_async_probe()
4171 int ata_sas_sync_probe(struct ata_port *ap) in ata_sas_sync_probe()
4189 int ata_sas_port_init(struct ata_port *ap) in ata_sas_port_init()
4206 void ata_sas_port_destroy(struct ata_port *ap) in ata_sas_port_destroy()
4223 int ata_sas_slave_configure(struct scsi_device *sdev, struct ata_port *ap) in ata_sas_slave_configure()
4241 int ata_sas_queuecmd(struct scsi_cmnd *cmd, struct ata_port *ap) in ata_sas_queuecmd()
4257 int ata_sas_allocate_tag(struct ata_port *ap) in ata_sas_allocate_tag()
4277 void ata_sas_free_tag(unsigned int tag, struct ata_port *ap) in ata_sas_free_tag()