Lines Matching refs:adev

284 static unsigned long hpt370_filter(struct ata_device *adev, unsigned long mask)  in hpt370_filter()  argument
286 if (adev->class == ATA_DEV_ATA) { in hpt370_filter()
287 if (hpt_dma_blacklisted(adev, "UDMA", bad_ata33)) in hpt370_filter()
289 if (hpt_dma_blacklisted(adev, "UDMA100", bad_ata100_5)) in hpt370_filter()
302 static unsigned long hpt370a_filter(struct ata_device *adev, unsigned long mask) in hpt370a_filter() argument
304 if (adev->class == ATA_DEV_ATA) { in hpt370a_filter()
305 if (hpt_dma_blacklisted(adev, "UDMA100", bad_ata100_5)) in hpt370a_filter()
319 static unsigned long hpt372_filter(struct ata_device *adev, unsigned long mask) in hpt372_filter() argument
321 if (ata_id_is_sata(adev->id)) in hpt372_filter()
410 static void hpt370_set_mode(struct ata_port *ap, struct ata_device *adev, in hpt370_set_mode() argument
418 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt370_set_mode()
449 static void hpt370_set_piomode(struct ata_port *ap, struct ata_device *adev) in hpt370_set_piomode() argument
451 hpt370_set_mode(ap, adev, adev->pio_mode); in hpt370_set_piomode()
462 static void hpt370_set_dmamode(struct ata_port *ap, struct ata_device *adev) in hpt370_set_dmamode() argument
464 hpt370_set_mode(ap, adev, adev->dma_mode); in hpt370_set_dmamode()
504 static void hpt372_set_mode(struct ata_port *ap, struct ata_device *adev, in hpt372_set_mode() argument
512 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt372_set_mode()
543 static void hpt372_set_piomode(struct ata_port *ap, struct ata_device *adev) in hpt372_set_piomode() argument
545 hpt372_set_mode(ap, adev, adev->pio_mode); in hpt372_set_piomode()
556 static void hpt372_set_dmamode(struct ata_port *ap, struct ata_device *adev) in hpt372_set_dmamode() argument
558 hpt372_set_mode(ap, adev, adev->dma_mode); in hpt372_set_dmamode()