Lines Matching defs:adev
119 * @adev: ATA device
125 static unsigned long hpt372n_filter(struct ata_device *adev, unsigned long mask)
127 if (ata_id_is_sata(adev->id))
182 static void hpt3x2n_set_mode(struct ata_port *ap, struct ata_device *adev,
190 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
216 * @adev: device on the interface
221 static void hpt3x2n_set_piomode(struct ata_port *ap, struct ata_device *adev)
223 hpt3x2n_set_mode(ap, adev, adev->pio_mode);
229 * @adev: Device being configured
234 static void hpt3x2n_set_dmamode(struct ata_port *ap, struct ata_device *adev)
236 hpt3x2n_set_mode(ap, adev, adev->dma_mode);