Lines Matching refs:ap

667 	struct ata_port *ap = link->ap;  in ahci_vt8251_hardreset()  local
668 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_vt8251_hardreset()
674 ahci_stop_engine(ap); in ahci_vt8251_hardreset()
679 hpriv->start_engine(ap); in ahci_vt8251_hardreset()
692 struct ata_port *ap = link->ap; in ahci_p5wdh_hardreset() local
693 struct ahci_port_priv *pp = ap->private_data; in ahci_p5wdh_hardreset()
694 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_p5wdh_hardreset()
700 ahci_stop_engine(ap); in ahci_p5wdh_hardreset()
710 hpriv->start_engine(ap); in ahci_p5wdh_hardreset()
729 ahci_kick_engine(ap); in ahci_p5wdh_hardreset()
753 struct ata_port *ap = link->ap; in ahci_avn_hardreset() local
754 struct ahci_port_priv *pp = ap->private_data; in ahci_avn_hardreset()
755 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_avn_hardreset()
764 ahci_stop_engine(ap); in ahci_avn_hardreset()
769 int port = ap->port_no; in ahci_avn_hardreset()
770 struct ata_host *host = ap->host; in ahci_avn_hardreset()
791 ata_msleep(ap, 1000); in ahci_avn_hardreset()
797 hpriv->start_engine(ap); in ahci_avn_hardreset()
800 *class = ahci_dev_classify(ap); in ahci_avn_hardreset()
955 struct ata_port *ap = host->ports[1]; in ahci_p5wdh_workaround() local
960 ap->ops = &ahci_p5wdh_ops; in ahci_p5wdh_workaround()
961 ap->link.flags |= ATA_LFLAG_NO_SRST | ATA_LFLAG_ASSUME_ATA; in ahci_p5wdh_workaround()
1324 struct ata_port *ap = host->ports[i]; in ahci_gtf_filter_workaround() local
1328 ata_for_each_link(link, ap, EDGE) in ahci_gtf_filter_workaround()
1551 struct ata_port *ap = host->ports[i]; in ahci_init_one() local
1553 ata_port_pbar_desc(ap, ahci_pci_bar, -1, "abar"); in ahci_init_one()
1554 ata_port_pbar_desc(ap, ahci_pci_bar, in ahci_init_one()
1555 0x100 + ap->port_no * 0x80, "port"); in ahci_init_one()
1558 if (ap->flags & ATA_FLAG_EM) in ahci_init_one()
1559 ap->em_message_type = hpriv->em_msg_type; in ahci_init_one()
1564 ap->ops = &ata_dummy_port_ops; in ahci_init_one()