Lines Matching defs:ap
230 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_caps() local
240 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_cap2() local
250 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_version() local
261 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_port_cmd() local
271 struct ata_port *ap = ata_shost_to_port(shost); in ahci_read_em_buffer() local
327 struct ata_port *ap = ata_shost_to_port(shost); in ahci_store_em_buffer() local
367 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_em_supported() local
539 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset()
580 void ahci_start_engine(struct ata_port *ap) in ahci_start_engine()
593 int ahci_stop_engine(struct ata_port *ap) in ahci_stop_engine()
618 void ahci_start_fis_rx(struct ata_port *ap) in ahci_start_fis_rx()
646 static int ahci_stop_fis_rx(struct ata_port *ap) in ahci_stop_fis_rx()
665 static void ahci_power_up(struct ata_port *ap) in ahci_power_up()
686 struct ata_port *ap = link->ap; in ahci_set_lpm() local
747 static void ahci_power_down(struct ata_port *ap) in ahci_power_down()
768 static void ahci_start_port(struct ata_port *ap) in ahci_start_port()
816 static int ahci_deinit_port(struct ata_port *ap, const char **emsg) in ahci_deinit_port()
887 struct ata_port *ap = link->ap; in ahci_sw_activity() local
902 struct ata_port *ap = link->ap; in ahci_sw_activity_blink() local
945 struct ata_port *ap = link->ap; in ahci_init_sw_activity() local
973 static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state, in ahci_transmit_led_message()
1031 static ssize_t ahci_led_show(struct ata_port *ap, char *buf) in ahci_led_show()
1045 static ssize_t ahci_led_store(struct ata_port *ap, const char *buf, in ahci_led_store()
1076 struct ata_port *ap = link->ap; in ahci_activity_store() local
1107 struct ata_port *ap = link->ap; in ahci_activity_show() local
1117 static void ahci_port_init(struct device *dev, struct ata_port *ap, in ahci_port_init()
1153 struct ata_port *ap = host->ports[i]; in ahci_init_controller() local
1181 unsigned int ahci_dev_classify(struct ata_port *ap) in ahci_dev_classify()
1211 int ahci_kick_engine(struct ata_port *ap) in ahci_kick_engine()
1256 static int ahci_exec_polled_cmd(struct ata_port *ap, int pmp, in ahci_exec_polled_cmd()
1290 struct ata_port *ap = link->ap; in ahci_do_softreset() local
1407 struct ata_port *ap = link->ap; in ahci_pmp_retry_softreset() local
1441 struct ata_port *ap = link->ap; in ahci_hardreset() local
1472 struct ata_port *ap = link->ap; in ahci_postreset() local
1515 struct ata_port *ap = qc->ap; in ahci_pmp_qc_defer() local
1526 struct ata_port *ap = qc->ap; in ahci_qc_prep() local
1562 static void ahci_fbs_dec_intr(struct ata_port *ap) in ahci_fbs_dec_intr()
1586 static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) in ahci_error_intr()
1697 static void ahci_handle_port_interrupt(struct ata_port *ap, in ahci_handle_port_interrupt()
1781 static void ahci_port_intr(struct ata_port *ap) in ahci_port_intr()
1794 struct ata_port *ap = dev_instance; in ahci_port_thread_fn() local
1812 struct ata_port *ap = dev_instance; in ahci_multi_irqs_intr() local
1852 struct ata_port *ap; in ahci_single_irq_intr() local
1891 struct ata_port *ap = qc->ap; in ahci_qc_issue() local
1944 static void ahci_freeze(struct ata_port *ap) in ahci_freeze()
1952 static void ahci_thaw(struct ata_port *ap) in ahci_thaw()
1969 void ahci_error_handler(struct ata_port *ap) in ahci_error_handler()
1988 struct ata_port *ap = qc->ap; in ahci_post_internal_cmd() local
1995 static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep) in ahci_set_aggressive_devslp()
2071 static void ahci_enable_fbs(struct ata_port *ap) in ahci_enable_fbs()
2105 static void ahci_disable_fbs(struct ata_port *ap) in ahci_disable_fbs()
2138 static void ahci_pmp_attach(struct ata_port *ap) in ahci_pmp_attach()
2164 static void ahci_pmp_detach(struct ata_port *ap) in ahci_pmp_detach()
2183 int ahci_port_resume(struct ata_port *ap) in ahci_port_resume()
2198 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg) in ahci_port_suspend()
2215 static int ahci_port_start(struct ata_port *ap) in ahci_port_start()
2312 static void ahci_port_stop(struct ata_port *ap) in ahci_port_stop()