Lines Matching refs:ata_port
47 static ssize_t ahci_led_show(struct ata_port *ap, char *buf);
48 static ssize_t ahci_led_store(struct ata_port *ap, const char *buf,
50 static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state,
58 static int ahci_port_start(struct ata_port *ap);
59 static void ahci_port_stop(struct ata_port *ap);
62 static void ahci_freeze(struct ata_port *ap);
63 static void ahci_thaw(struct ata_port *ap);
64 static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep);
65 static void ahci_enable_fbs(struct ata_port *ap);
66 static void ahci_disable_fbs(struct ata_port *ap);
67 static void ahci_pmp_attach(struct ata_port *ap);
68 static void ahci_pmp_detach(struct ata_port *ap);
79 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg);
221 static int ahci_rpm_get_port(struct ata_port *ap) in ahci_rpm_get_port()
233 static void ahci_rpm_put_port(struct ata_port *ap) in ahci_rpm_put_port()
242 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_caps()
252 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_cap2()
262 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_host_version()
272 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_port_cmd()
287 struct ata_port *ap = ata_shost_to_port(shost); in ahci_read_em_buffer()
347 struct ata_port *ap = ata_shost_to_port(shost); in ahci_store_em_buffer()
390 struct ata_port *ap = ata_shost_to_port(shost); in ahci_show_em_supported()
581 static unsigned ahci_scr_offset(struct ata_port *ap, unsigned int sc_reg) in ahci_scr_offset()
622 void ahci_start_engine(struct ata_port *ap) in ahci_start_engine()
635 int ahci_stop_engine(struct ata_port *ap) in ahci_stop_engine()
684 void ahci_start_fis_rx(struct ata_port *ap) in ahci_start_fis_rx()
712 static int ahci_stop_fis_rx(struct ata_port *ap) in ahci_stop_fis_rx()
731 static void ahci_power_up(struct ata_port *ap) in ahci_power_up()
752 struct ata_port *ap = link->ap; in ahci_set_lpm()
823 static void ahci_power_down(struct ata_port *ap) in ahci_power_down()
844 static void ahci_start_port(struct ata_port *ap) in ahci_start_port()
892 static int ahci_deinit_port(struct ata_port *ap, const char **emsg) in ahci_deinit_port()
965 struct ata_port *ap = link->ap; in ahci_sw_activity()
981 struct ata_port *ap = link->ap; in ahci_sw_activity_blink()
1023 struct ata_port *ap = link->ap; in ahci_init_sw_activity()
1052 static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state, in ahci_transmit_led_message()
1114 static ssize_t ahci_led_show(struct ata_port *ap, char *buf) in ahci_led_show()
1128 static ssize_t ahci_led_store(struct ata_port *ap, const char *buf, in ahci_led_store()
1161 struct ata_port *ap = link->ap; in ahci_activity_store()
1192 struct ata_port *ap = link->ap; in ahci_activity_show()
1202 static void ahci_port_init(struct device *dev, struct ata_port *ap, in ahci_port_init()
1244 struct ata_port *ap = host->ports[i]; in ahci_init_controller()
1272 unsigned int ahci_dev_classify(struct ata_port *ap) in ahci_dev_classify()
1302 int ahci_kick_engine(struct ata_port *ap) in ahci_kick_engine()
1347 static int ahci_exec_polled_cmd(struct ata_port *ap, int pmp, in ahci_exec_polled_cmd()
1390 struct ata_port *ap = link->ap; in ahci_do_softreset()
1507 struct ata_port *ap = link->ap; in ahci_pmp_retry_softreset()
1541 struct ata_port *ap = link->ap; in ahci_do_hardreset()
1580 struct ata_port *ap = link->ap; in ahci_postreset()
1623 struct ata_port *ap = qc->ap; in ahci_pmp_qc_defer()
1634 struct ata_port *ap = qc->ap; in ahci_qc_prep()
1672 static void ahci_fbs_dec_intr(struct ata_port *ap) in ahci_fbs_dec_intr()
1696 static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) in ahci_error_intr()
1807 static void ahci_handle_port_interrupt(struct ata_port *ap, in ahci_handle_port_interrupt()
1891 static void ahci_port_intr(struct ata_port *ap) in ahci_port_intr()
1904 struct ata_port *ap = dev_instance; in ahci_multi_irqs_intr_hard()
1927 struct ata_port *ap; in ahci_handle_port_intr()
1994 struct ata_port *ap = qc->ap; in ahci_qc_issue()
2047 static void ahci_freeze(struct ata_port *ap) in ahci_freeze()
2055 static void ahci_thaw(struct ata_port *ap) in ahci_thaw()
2072 void ahci_error_handler(struct ata_port *ap) in ahci_error_handler()
2091 struct ata_port *ap = qc->ap; in ahci_post_internal_cmd()
2098 static void ahci_set_aggressive_devslp(struct ata_port *ap, bool sleep) in ahci_set_aggressive_devslp()
2178 static void ahci_enable_fbs(struct ata_port *ap) in ahci_enable_fbs()
2212 static void ahci_disable_fbs(struct ata_port *ap) in ahci_disable_fbs()
2245 static void ahci_pmp_attach(struct ata_port *ap) in ahci_pmp_attach()
2271 static void ahci_pmp_detach(struct ata_port *ap) in ahci_pmp_detach()
2290 int ahci_port_resume(struct ata_port *ap) in ahci_port_resume()
2307 static int ahci_port_suspend(struct ata_port *ap, pm_message_t mesg) in ahci_port_suspend()
2325 static int ahci_port_start(struct ata_port *ap) in ahci_port_start()
2421 static void ahci_port_stop(struct ata_port *ap) in ahci_port_stop()