Lines Matching refs:ap
122 static u32 hpt36x_find_mode(struct ata_port *ap, int speed) in hpt36x_find_mode() argument
124 struct hpt_clock *clocks = ap->host->private_data; in hpt36x_find_mode()
216 static int hpt36x_cable_detect(struct ata_port *ap) in hpt36x_cable_detect() argument
218 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt36x_cable_detect()
231 static void hpt366_set_mode(struct ata_port *ap, struct ata_device *adev, in hpt366_set_mode() argument
234 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt366_set_mode()
246 t = hpt36x_find_mode(ap, mode); in hpt366_set_mode()
266 static void hpt366_set_piomode(struct ata_port *ap, struct ata_device *adev) in hpt366_set_piomode() argument
268 hpt366_set_mode(ap, adev, adev->pio_mode); in hpt366_set_piomode()
280 static void hpt366_set_dmamode(struct ata_port *ap, struct ata_device *adev) in hpt366_set_dmamode() argument
282 hpt366_set_mode(ap, adev, adev->dma_mode); in hpt366_set_dmamode()