Lines Matching refs:adev
272 * @adev: ATA device
277 static unsigned long hpt370_filter(struct ata_device *adev, unsigned long mask)
279 if (adev->class == ATA_DEV_ATA) {
280 if (hpt_dma_blacklisted(adev, "UDMA", bad_ata33))
282 if (hpt_dma_blacklisted(adev, "UDMA100", bad_ata100_5))
290 * @adev: ATA device
295 static unsigned long hpt370a_filter(struct ata_device *adev, unsigned long mask)
297 if (adev->class == ATA_DEV_ATA) {
298 if (hpt_dma_blacklisted(adev, "UDMA100", bad_ata100_5))
386 static void hpt370_set_mode(struct ata_port *ap, struct ata_device *adev,
394 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
420 * @adev: device on the interface
425 static void hpt370_set_piomode(struct ata_port *ap, struct ata_device *adev)
427 hpt370_set_mode(ap, adev, adev->pio_mode);
433 * @adev: Device being configured
438 static void hpt370_set_dmamode(struct ata_port *ap, struct ata_device *adev)
440 hpt370_set_mode(ap, adev, adev->dma_mode);
474 static void hpt372_set_mode(struct ata_port *ap, struct ata_device *adev,
482 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
508 * @adev: device on the interface
513 static void hpt372_set_piomode(struct ata_port *ap, struct ata_device *adev)
515 hpt372_set_mode(ap, adev, adev->pio_mode);
521 * @adev: Device being configured
526 static void hpt372_set_dmamode(struct ata_port *ap, struct ata_device *adev)
528 hpt372_set_mode(ap, adev, adev->dma_mode);