Lines Matching refs:ap

663 	struct ata_port *ap = link->ap;  in ahci_vt8251_hardreset()  local
664 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_vt8251_hardreset()
670 ahci_stop_engine(ap); in ahci_vt8251_hardreset()
675 hpriv->start_engine(ap); in ahci_vt8251_hardreset()
688 struct ata_port *ap = link->ap; in ahci_p5wdh_hardreset() local
689 struct ahci_port_priv *pp = ap->private_data; in ahci_p5wdh_hardreset()
690 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_p5wdh_hardreset()
696 ahci_stop_engine(ap); in ahci_p5wdh_hardreset()
706 hpriv->start_engine(ap); in ahci_p5wdh_hardreset()
725 ahci_kick_engine(ap); in ahci_p5wdh_hardreset()
749 struct ata_port *ap = link->ap; in ahci_avn_hardreset() local
750 struct ahci_port_priv *pp = ap->private_data; in ahci_avn_hardreset()
751 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_avn_hardreset()
760 ahci_stop_engine(ap); in ahci_avn_hardreset()
765 int port = ap->port_no; in ahci_avn_hardreset()
766 struct ata_host *host = ap->host; in ahci_avn_hardreset()
787 ata_msleep(ap, 1000); in ahci_avn_hardreset()
793 hpriv->start_engine(ap); in ahci_avn_hardreset()
796 *class = ahci_dev_classify(ap); in ahci_avn_hardreset()
951 struct ata_port *ap = host->ports[1]; in ahci_p5wdh_workaround() local
956 ap->ops = &ahci_p5wdh_ops; in ahci_p5wdh_workaround()
957 ap->link.flags |= ATA_LFLAG_NO_SRST | ATA_LFLAG_ASSUME_ATA; in ahci_p5wdh_workaround()
1320 struct ata_port *ap = host->ports[i]; in ahci_gtf_filter_workaround() local
1324 ata_for_each_link(link, ap, EDGE) in ahci_gtf_filter_workaround()
1619 struct ata_port *ap = host->ports[i]; in ahci_init_one() local
1621 ata_port_pbar_desc(ap, ahci_pci_bar, -1, "abar"); in ahci_init_one()
1622 ata_port_pbar_desc(ap, ahci_pci_bar, in ahci_init_one()
1623 0x100 + ap->port_no * 0x80, "port"); in ahci_init_one()
1626 if (ap->flags & ATA_FLAG_EM) in ahci_init_one()
1627 ap->em_message_type = hpriv->em_msg_type; in ahci_init_one()
1632 ap->ops = &ata_dummy_port_ops; in ahci_init_one()