Lines Matching refs:adev
168 * @adev: ATA device
173 static unsigned long hpt366_filter(struct ata_device *adev, unsigned long mask)
175 if (adev->class == ATA_DEV_ATA) {
176 if (hpt_dma_blacklisted(adev, "UDMA", bad_ata33))
178 if (hpt_dma_blacklisted(adev, "UDMA3", bad_ata66_3))
180 if (hpt_dma_blacklisted(adev, "UDMA4", bad_ata66_4))
182 } else if (adev->class == ATA_DEV_ATAPI)
203 static void hpt366_set_mode(struct ata_port *ap, struct ata_device *adev,
208 u32 addr = 0x40 + 4 * adev->devno;
240 * @adev: device on the interface
245 static void hpt366_set_piomode(struct ata_port *ap, struct ata_device *adev)
247 hpt366_set_mode(ap, adev, adev->pio_mode);
253 * @adev: Device being configured
259 static void hpt366_set_dmamode(struct ata_port *ap, struct ata_device *adev)
261 hpt366_set_mode(ap, adev, adev->dma_mode);