Lines Matching defs:ap
240 static int ahci_rpm_get_port(struct ata_port *ap) in ahci_rpm_get_port()
252 static void ahci_rpm_put_port(struct ata_port *ap) in ahci_rpm_put_port()
261 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_caps() local
271 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_cap2() local
281 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_version() local
291 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_port_cmd() local
306 struct ata_port *ap = ata_shost_to_port(shost); in ahci_read_em_buffer() local
366 struct ata_port *ap = ata_shost_to_port(shost); in ahci_store_em_buffer() local
409 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_em_supported() local
600 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset()
641 void ahci_start_engine(struct ata_port *ap) in ahci_start_engine()
654 int ahci_stop_engine(struct ata_port *ap) in ahci_stop_engine()
703 void ahci_start_fis_rx(struct ata_port *ap) in ahci_start_fis_rx()
731 static int ahci_stop_fis_rx(struct ata_port *ap) in ahci_stop_fis_rx()
750 static void ahci_power_up(struct ata_port *ap) in ahci_power_up()
771 struct ata_port *ap = link->ap; in ahci_set_lpm() local
842 static void ahci_power_down(struct ata_port *ap) in ahci_power_down()
863 static void ahci_start_port(struct ata_port *ap) in ahci_start_port()
911 static int ahci_deinit_port(struct ata_port *ap, const char **emsg) in ahci_deinit_port()
984 struct ata_port *ap = link->ap; in ahci_sw_activity() local
1000 struct ata_port *ap = link->ap; in ahci_sw_activity_blink() local
1042 struct ata_port *ap = link->ap; in ahci_init_sw_activity() local
1071 static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state, in ahci_transmit_led_message()
1133 static ssize_t ahci_led_show(struct ata_port *ap, char *buf) in ahci_led_show()
1147 static ssize_t ahci_led_store(struct ata_port *ap, const char *buf, in ahci_led_store()
1180 struct ata_port *ap = link->ap; in ahci_activity_store() local
1211 struct ata_port *ap = link->ap; in ahci_activity_show() local
1221 static void ahci_port_init(struct device *dev, struct ata_port *ap, in ahci_port_init()
1263 struct ata_port *ap = host->ports[i]; in ahci_init_controller() local
1291 unsigned int ahci_dev_classify(struct ata_port *ap) in ahci_dev_classify()
1321 int ahci_kick_engine(struct ata_port *ap) in ahci_kick_engine()
1366 static int ahci_exec_polled_cmd(struct ata_port *ap, int pmp, in ahci_exec_polled_cmd()
1409 struct ata_port *ap = link->ap; in ahci_do_softreset() local
1526 struct ata_port *ap = link->ap; in ahci_pmp_retry_softreset() local
1560 struct ata_port *ap = link->ap; in ahci_do_hardreset() local
1599 struct ata_port *ap = link->ap; in ahci_postreset() local
1642 struct ata_port *ap = qc->ap; in ahci_pmp_qc_defer() local
1653 struct ata_port *ap = qc->ap; in ahci_qc_prep() local
1691 static void ahci_fbs_dec_intr(struct ata_port *ap) in ahci_fbs_dec_intr()
1715 static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) in ahci_error_intr()
1826 static void ahci_handle_port_interrupt(struct ata_port *ap, in ahci_handle_port_interrupt()
1910 static void ahci_port_intr(struct ata_port *ap) in ahci_port_intr()
1923 struct ata_port *ap = dev_instance; in ahci_multi_irqs_intr_hard() local
1946 struct ata_port *ap; in ahci_handle_port_intr() local
2013 struct ata_port *ap = qc->ap; in ahci_qc_issue() local
2066 static void ahci_freeze(struct ata_port *ap) in ahci_freeze()
2074 static void ahci_thaw(struct ata_port *ap) in ahci_thaw()
2091 void ahci_error_handler(struct ata_port *ap) in ahci_error_handler()
2110 struct ata_port *ap = qc->ap; in ahci_post_internal_cmd() local
2117 static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep) in ahci_set_aggressive_devslp()
2197 static void ahci_enable_fbs(struct ata_port *ap) in ahci_enable_fbs()
2231 static void ahci_disable_fbs(struct ata_port *ap) in ahci_disable_fbs()
2264 static void ahci_pmp_attach(struct ata_port *ap) in ahci_pmp_attach()
2290 static void ahci_pmp_detach(struct ata_port *ap) in ahci_pmp_detach()
2309 int ahci_port_resume(struct ata_port *ap) in ahci_port_resume()
2326 static void ahci_handle_s2idle(struct ata_port *ap) in ahci_handle_s2idle()
2338 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg) in ahci_port_suspend()
2359 static int ahci_port_start(struct ata_port *ap) in ahci_port_start()
2455 static void ahci_port_stop(struct ata_port *ap) in ahci_port_stop()