Lines Matching defs:adev
275 * @adev: ATA device
281 static unsigned int hpt370_filter(struct ata_device *adev, unsigned int mask)
283 if (adev->class == ATA_DEV_ATA) {
284 if (hpt_dma_blacklisted(adev, "UDMA", bad_ata33))
286 if (hpt_dma_blacklisted(adev, "UDMA100", bad_ata100_5))
294 * @adev: ATA device
300 static unsigned int hpt370a_filter(struct ata_device *adev, unsigned int 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 int hpt372_filter(struct ata_device *adev, unsigned int mask)
319 if (ata_id_is_sata(adev->id))
423 static void hpt37x_set_mode(struct ata_port *ap, struct ata_device *adev,
427 int addr = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
447 * @adev: device on the interface
452 static void hpt37x_set_piomode(struct ata_port *ap, struct ata_device *adev)
454 hpt37x_set_mode(ap, adev, adev->pio_mode);
460 * @adev: Device being configured
465 static void hpt37x_set_dmamode(struct ata_port *ap, struct ata_device *adev)
467 hpt37x_set_mode(ap, adev, adev->dma_mode);