Lines Matching refs:ata_port
41 extern void ata_force_cbl(struct ata_port *ap);
43 static inline void ata_force_cbl(struct ata_port *ap) { } in ata_force_cbl()
81 extern void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp);
85 extern struct ata_port *ata_port_alloc(struct ata_host *host);
87 extern int ata_port_probe(struct ata_port *ap);
88 extern void __ata_port_probe(struct ata_port *ap);
92 #define to_ata_port(d) container_of(d, struct ata_port, tdev)
96 int ata_sas_allocate_tag(struct ata_port *ap);
97 void ata_sas_free_tag(unsigned int tag, struct ata_port *ap);
99 static inline int ata_sas_allocate_tag(struct ata_port *ap) in ata_sas_allocate_tag()
103 static inline void ata_sas_free_tag(unsigned int tag, struct ata_port *ap) { } in ata_sas_free_tag()
110 extern int ata_acpi_on_suspend(struct ata_port *ap);
111 extern void ata_acpi_on_resume(struct ata_port *ap);
114 extern void ata_acpi_set_state(struct ata_port *ap, pm_message_t state);
115 extern void ata_acpi_bind_port(struct ata_port *ap);
120 static inline int ata_acpi_on_suspend(struct ata_port *ap) { return 0; } in ata_acpi_on_suspend()
121 static inline void ata_acpi_on_resume(struct ata_port *ap) { } in ata_acpi_on_resume()
124 static inline void ata_acpi_set_state(struct ata_port *ap, in ata_acpi_set_state()
126 static inline void ata_acpi_bind_port(struct ata_port *ap) {} in ata_acpi_bind_port()
131 extern struct ata_device *ata_scsi_find_dev(struct ata_port *ap,
135 extern void ata_scsi_scan_host(struct ata_port *ap, int sync);
146 extern int ata_bus_probe(struct ata_port *ap);
151 void ata_scsi_dump_cdb(struct ata_port *ap, struct scsi_cmnd *cmd);
157 extern void ata_eh_acquire(struct ata_port *ap);
158 extern void ata_eh_release(struct ata_port *ap);
168 extern void ata_eh_autopsy(struct ata_port *ap);
170 extern void ata_eh_report(struct ata_port *ap);
175 extern int ata_eh_recover(struct ata_port *ap, ata_prereset_fn_t prereset,
179 extern void ata_eh_finish(struct ata_port *ap);
219 extern void ata_sff_flush_pio_task(struct ata_port *ap);
220 extern void ata_sff_port_init(struct ata_port *ap);
224 static inline void ata_sff_flush_pio_task(struct ata_port *ap) in ata_sff_flush_pio_task()
226 static inline void ata_sff_port_init(struct ata_port *ap) in ata_sff_port_init()