Lines Matching defs:ap
225 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_caps() local
235 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_cap2() local
245 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_version() local
256 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_port_cmd() local
266 struct ata_port *ap = ata_shost_to_port(shost); in ahci_read_em_buffer() local
322 struct ata_port *ap = ata_shost_to_port(shost); in ahci_store_em_buffer() local
362 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_em_supported() local
520 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset()
561 void ahci_start_engine(struct ata_port *ap) in ahci_start_engine()
574 int ahci_stop_engine(struct ata_port *ap) in ahci_stop_engine()
599 static void ahci_start_fis_rx(struct ata_port *ap) in ahci_start_fis_rx()
626 static int ahci_stop_fis_rx(struct ata_port *ap) in ahci_stop_fis_rx()
645 static void ahci_power_up(struct ata_port *ap) in ahci_power_up()
666 struct ata_port *ap = link->ap; in ahci_set_lpm() local
717 static void ahci_power_down(struct ata_port *ap) in ahci_power_down()
738 static void ahci_start_port(struct ata_port *ap) in ahci_start_port()
773 static int ahci_deinit_port(struct ata_port *ap, const char **emsg) in ahci_deinit_port()
844 struct ata_port *ap = link->ap; in ahci_sw_activity() local
859 struct ata_port *ap = link->ap; in ahci_sw_activity_blink() local
902 struct ata_port *ap = link->ap; in ahci_init_sw_activity() local
930 static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state, in ahci_transmit_led_message()
988 static ssize_t ahci_led_show(struct ata_port *ap, char *buf) in ahci_led_show()
1002 static ssize_t ahci_led_store(struct ata_port *ap, const char *buf, in ahci_led_store()
1032 struct ata_port *ap = link->ap; in ahci_activity_store() local
1063 struct ata_port *ap = link->ap; in ahci_activity_show() local
1073 static void ahci_port_init(struct device *dev, struct ata_port *ap, in ahci_port_init()
1109 struct ata_port *ap = host->ports[i]; in ahci_init_controller() local
1137 static unsigned int ahci_dev_classify(struct ata_port *ap) in ahci_dev_classify()
1166 int ahci_kick_engine(struct ata_port *ap) in ahci_kick_engine()
1211 static int ahci_exec_polled_cmd(struct ata_port *ap, int pmp, in ahci_exec_polled_cmd()
1245 struct ata_port *ap = link->ap; in ahci_do_softreset() local
1346 struct ata_port *ap = link->ap; in ahci_pmp_retry_softreset() local
1380 struct ata_port *ap = link->ap; in ahci_hardreset() local
1410 struct ata_port *ap = link->ap; in ahci_postreset() local
1453 struct ata_port *ap = qc->ap; in ahci_pmp_qc_defer() local
1464 struct ata_port *ap = qc->ap; in ahci_qc_prep() local
1500 static void ahci_fbs_dec_intr(struct ata_port *ap) in ahci_fbs_dec_intr()
1524 static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) in ahci_error_intr()
1636 static void ahci_port_intr(struct ata_port *ap) in ahci_port_intr()
1747 struct ata_port *ap; in ahci_interrupt() local
1787 struct ata_port *ap = qc->ap; in ahci_qc_issue() local
1839 static void ahci_freeze(struct ata_port *ap) in ahci_freeze()
1847 static void ahci_thaw(struct ata_port *ap) in ahci_thaw()
1864 static void ahci_error_handler(struct ata_port *ap) in ahci_error_handler()
1880 struct ata_port *ap = qc->ap; in ahci_post_internal_cmd() local
1887 static void ahci_enable_fbs(struct ata_port *ap) in ahci_enable_fbs()
1920 static void ahci_disable_fbs(struct ata_port *ap) in ahci_disable_fbs()
1952 static void ahci_pmp_attach(struct ata_port *ap) in ahci_pmp_attach()
1978 static void ahci_pmp_detach(struct ata_port *ap) in ahci_pmp_detach()
1997 int ahci_port_resume(struct ata_port *ap) in ahci_port_resume()
2012 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg) in ahci_port_suspend()
2029 static int ahci_port_start(struct ata_port *ap) in ahci_port_start()
2108 static void ahci_port_stop(struct ata_port *ap) in ahci_port_stop()