Lines Matching defs:adev
277 * @adev: ATA device
282 static unsigned long hpt370_filter(struct ata_device *adev, unsigned long mask)
284 if (adev->class == ATA_DEV_ATA) {
285 if (hpt_dma_blacklisted(adev, "UDMA", bad_ata33))
287 if (hpt_dma_blacklisted(adev, "UDMA100", bad_ata100_5))
295 * @adev: ATA device
300 static unsigned long hpt370a_filter(struct ata_device *adev, unsigned long mask)
302 if (adev->class == ATA_DEV_ATA) {
303 if (hpt_dma_blacklisted(adev, "UDMA100", bad_ata100_5))
311 * @adev: ATA device
317 static unsigned long hpt372_filter(struct ata_device *adev, unsigned long mask)
319 if (ata_id_is_sata(adev->id))
408 static void hpt370_set_mode(struct ata_port *ap, struct ata_device *adev,
416 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
442 * @adev: device on the interface
447 static void hpt370_set_piomode(struct ata_port *ap, struct ata_device *adev)
449 hpt370_set_mode(ap, adev, adev->pio_mode);
455 * @adev: Device being configured
460 static void hpt370_set_dmamode(struct ata_port *ap, struct ata_device *adev)
462 hpt370_set_mode(ap, adev, adev->dma_mode);
502 static void hpt372_set_mode(struct ata_port *ap, struct ata_device *adev,
510 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
536 * @adev: device on the interface
541 static void hpt372_set_piomode(struct ata_port *ap, struct ata_device *adev)
543 hpt372_set_mode(ap, adev, adev->pio_mode);
549 * @adev: Device being configured
554 static void hpt372_set_dmamode(struct ata_port *ap, struct ata_device *adev)
556 hpt372_set_mode(ap, adev, adev->dma_mode);