Lines Matching refs:ata_port

64 u8 ata_sff_check_status(struct ata_port *ap)  in ata_sff_check_status()
84 static bool ata_sff_altstatus(struct ata_port *ap, u8 *status) in ata_sff_altstatus()
116 static u8 ata_sff_irq_status(struct ata_port *ap) in ata_sff_irq_status()
140 static void ata_sff_sync(struct ata_port *ap) in ata_sff_sync()
157 void ata_sff_pause(struct ata_port *ap) in ata_sff_pause()
172 void ata_sff_dma_pause(struct ata_port *ap) in ata_sff_dma_pause()
227 static bool ata_sff_set_devctl(struct ata_port *ap, u8 ctl) in ata_sff_set_devctl()
255 void ata_sff_dev_select(struct ata_port *ap, unsigned int device) in ata_sff_dev_select()
287 static void ata_dev_select(struct ata_port *ap, unsigned int device, in ata_dev_select()
315 void ata_sff_irq_on(struct ata_port *ap) in ata_sff_irq_on()
343 void ata_sff_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in ata_sff_tf_load()
392 void ata_sff_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in ata_sff_tf_read()
431 void ata_sff_exec_command(struct ata_port *ap, const struct ata_taskfile *tf) in ata_sff_exec_command()
451 static inline void ata_tf_to_host(struct ata_port *ap, in ata_tf_to_host()
479 struct ata_port *ap = qc->dev->link->ap; in ata_sff_data_xfer()
535 struct ata_port *ap = dev->link->ap; in ata_sff_data_xfer32()
603 struct ata_port *ap = qc->ap; in ata_pio_sector()
688 static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc) in atapi_send_cdb()
732 struct ata_port *ap = qc->ap; in __atapi_pio_bytes()
800 struct ata_port *ap = qc->ap; in atapi_pio_bytes()
852 static inline int ata_hsm_ok_in_wq(struct ata_port *ap, in ata_hsm_ok_in_wq()
884 struct ata_port *ap = qc->ap; in ata_hsm_qc_complete()
914 int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc, in ata_sff_hsm_move()
1177 struct ata_port *ap = link->ap; in ata_sff_queue_pio_task()
1188 void ata_sff_flush_pio_task(struct ata_port *ap) in ata_sff_flush_pio_task()
1211 struct ata_port *ap = in ata_sff_pio_task()
1212 container_of(work, struct ata_port, sff_pio_task.work); in ata_sff_pio_task()
1283 struct ata_port *ap = qc->ap; in ata_sff_qc_issue()
1377 static unsigned int ata_sff_idle_irq(struct ata_port *ap) in ata_sff_idle_irq()
1393 static unsigned int __ata_sff_port_intr(struct ata_port *ap, in __ata_sff_port_intr()
1454 unsigned int ata_sff_port_intr(struct ata_port *ap, struct ata_queued_cmd *qc) in ata_sff_port_intr()
1461 unsigned int (*port_intr)(struct ata_port *, struct ata_queued_cmd *)) in __ata_sff_interrupt() argument
1475 struct ata_port *ap = host->ports[i]; in __ata_sff_interrupt()
1497 struct ata_port *ap = host->ports[i]; in __ata_sff_interrupt()
1565 void ata_sff_lost_interrupt(struct ata_port *ap) in ata_sff_lost_interrupt()
1600 void ata_sff_freeze(struct ata_port *ap) in ata_sff_freeze()
1627 void ata_sff_thaw(struct ata_port *ap) in ata_sff_thaw()
1699 static bool ata_devchk(struct ata_port *ap, unsigned int device) in ata_devchk()
1748 struct ata_port *ap = dev->link->ap; in ata_sff_dev_classify()
1818 struct ata_port *ap = link->ap; in ata_sff_wait_after_reset()
1875 static int ata_bus_softreset(struct ata_port *ap, unsigned int devmask, in ata_bus_softreset()
1911 struct ata_port *ap = link->ap; in ata_sff_softreset()
1991 struct ata_port *ap = link->ap; in ata_sff_postreset()
2024 struct ata_port *ap; in ata_sff_drain_fifo()
2054 void ata_sff_error_handler(struct ata_port *ap) in ata_sff_error_handler()
2159 struct ata_port *ap = host->ports[i]; in ata_pci_sff_init_host()
2499 struct ata_port *ap = qc->ap; in ata_bmdma_fill_sg()
2549 struct ata_port *ap = qc->ap; in ata_bmdma_fill_sg_dumb()
2649 struct ata_port *ap = qc->ap; in ata_bmdma_qc_issue()
2709 unsigned int ata_bmdma_port_intr(struct ata_port *ap, struct ata_queued_cmd *qc) in ata_bmdma_port_intr()
2778 void ata_bmdma_error_handler(struct ata_port *ap) in ata_bmdma_error_handler()
2836 struct ata_port *ap = qc->ap; in ata_bmdma_post_internal_cmd()
2859 void ata_bmdma_irq_clear(struct ata_port *ap) in ata_bmdma_irq_clear()
2879 struct ata_port *ap = qc->ap; in ata_bmdma_setup()
2908 struct ata_port *ap = qc->ap; in ata_bmdma_start()
2945 struct ata_port *ap = qc->ap; in ata_bmdma_stop()
2968 u8 ata_bmdma_status(struct ata_port *ap) in ata_bmdma_status()
2987 int ata_bmdma_port_start(struct ata_port *ap) in ata_bmdma_port_start()
3015 int ata_bmdma_port_start32(struct ata_port *ap) in ata_bmdma_port_start32()
3102 struct ata_port *ap = host->ports[i]; in ata_pci_bmdma_init()
3188 void ata_sff_port_init(struct ata_port *ap) in ata_sff_port_init()