Lines Matching defs:ap
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()
202 int ata_sff_busy_sleep(struct ata_port *ap, in ata_sff_busy_sleep()
283 static bool ata_sff_set_devctl(struct ata_port *ap, u8 ctl) in ata_sff_set_devctl()
311 void ata_sff_dev_select(struct ata_port *ap, unsigned int device) in ata_sff_dev_select()
343 static void ata_dev_select(struct ata_port *ap, unsigned int device, in ata_dev_select()
371 void ata_sff_irq_on(struct ata_port *ap) in ata_sff_irq_on()
399 void ata_sff_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in ata_sff_tf_load()
448 void ata_sff_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in ata_sff_tf_read()
487 void ata_sff_exec_command(struct ata_port *ap, const struct ata_taskfile *tf) in ata_sff_exec_command()
507 static inline void ata_tf_to_host(struct ata_port *ap, in ata_tf_to_host()
535 struct ata_port *ap = qc->dev->link->ap; in ata_sff_data_xfer() local
591 struct ata_port *ap = dev->link->ap; in ata_sff_data_xfer32() local
659 struct ata_port *ap = qc->ap; in ata_pio_sector() local
744 static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc) in atapi_send_cdb()
788 struct ata_port *ap = qc->ap; in __atapi_pio_bytes() local
856 struct ata_port *ap = qc->ap; in atapi_pio_bytes() local
908 static inline int ata_hsm_ok_in_wq(struct ata_port *ap, in ata_hsm_ok_in_wq()
940 struct ata_port *ap = qc->ap; in ata_hsm_qc_complete() local
980 int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc, in ata_sff_hsm_move()
1243 struct ata_port *ap = link->ap; in ata_sff_queue_pio_task() local
1254 void ata_sff_flush_pio_task(struct ata_port *ap) in ata_sff_flush_pio_task()
1277 struct ata_port *ap = in ata_sff_pio_task() local
1349 struct ata_port *ap = qc->ap; in ata_sff_qc_issue() local
1447 static unsigned int ata_sff_idle_irq(struct ata_port *ap) in ata_sff_idle_irq()
1463 static unsigned int __ata_sff_port_intr(struct ata_port *ap, in __ata_sff_port_intr()
1524 unsigned int ata_sff_port_intr(struct ata_port *ap, struct ata_queued_cmd *qc) in ata_sff_port_intr()
1545 struct ata_port *ap = host->ports[i]; in __ata_sff_interrupt() local
1567 struct ata_port *ap = host->ports[i]; in __ata_sff_interrupt() local
1635 void ata_sff_lost_interrupt(struct ata_port *ap) in ata_sff_lost_interrupt()
1670 void ata_sff_freeze(struct ata_port *ap) in ata_sff_freeze()
1697 void ata_sff_thaw(struct ata_port *ap) in ata_sff_thaw()
1769 static bool ata_devchk(struct ata_port *ap, unsigned int device) in ata_devchk()
1818 struct ata_port *ap = dev->link->ap; in ata_sff_dev_classify() local
1888 struct ata_port *ap = link->ap; in ata_sff_wait_after_reset() local
1945 static int ata_bus_softreset(struct ata_port *ap, unsigned int devmask, in ata_bus_softreset()
1981 struct ata_port *ap = link->ap; in ata_sff_softreset() local
2061 struct ata_port *ap = link->ap; in ata_sff_postreset() local
2094 struct ata_port *ap; in ata_sff_drain_fifo() local
2124 void ata_sff_error_handler(struct ata_port *ap) in ata_sff_error_handler()
2229 struct ata_port *ap = host->ports[i]; in ata_pci_sff_init_host() local
2569 struct ata_port *ap = qc->ap; in ata_bmdma_fill_sg() local
2619 struct ata_port *ap = qc->ap; in ata_bmdma_fill_sg_dumb() local
2719 struct ata_port *ap = qc->ap; in ata_bmdma_qc_issue() local
2779 unsigned int ata_bmdma_port_intr(struct ata_port *ap, struct ata_queued_cmd *qc) in ata_bmdma_port_intr()
2848 void ata_bmdma_error_handler(struct ata_port *ap) in ata_bmdma_error_handler()
2906 struct ata_port *ap = qc->ap; in ata_bmdma_post_internal_cmd() local
2929 void ata_bmdma_irq_clear(struct ata_port *ap) in ata_bmdma_irq_clear()
2949 struct ata_port *ap = qc->ap; in ata_bmdma_setup() local
2978 struct ata_port *ap = qc->ap; in ata_bmdma_start() local
3015 struct ata_port *ap = qc->ap; in ata_bmdma_stop() local
3038 u8 ata_bmdma_status(struct ata_port *ap) in ata_bmdma_status()
3057 int ata_bmdma_port_start(struct ata_port *ap) in ata_bmdma_port_start()
3085 int ata_bmdma_port_start32(struct ata_port *ap) in ata_bmdma_port_start32()
3172 struct ata_port *ap = host->ports[i]; in ata_pci_bmdma_init() local
3258 void ata_sff_port_init(struct ata_port *ap) in ata_sff_port_init()