Lines Matching refs:adev
201 static unsigned long hpt366_filter(struct ata_device *adev, unsigned long mask) in hpt366_filter() argument
203 if (adev->class == ATA_DEV_ATA) { in hpt366_filter()
204 if (hpt_dma_blacklisted(adev, "UDMA", bad_ata33)) in hpt366_filter()
206 if (hpt_dma_blacklisted(adev, "UDMA3", bad_ata66_3)) in hpt366_filter()
208 if (hpt_dma_blacklisted(adev, "UDMA4", bad_ata66_4)) in hpt366_filter()
210 } else if (adev->class == ATA_DEV_ATAPI) in hpt366_filter()
231 static void hpt366_set_mode(struct ata_port *ap, struct ata_device *adev, in hpt366_set_mode() argument
235 u32 addr = 0x40 + 4 * adev->devno; 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()