Lines Matching refs:adev
163 static void hpt3x2n_set_mode(struct ata_port *ap, struct ata_device *adev,
171 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no);
197 * @adev: device on the interface
202 static void hpt3x2n_set_piomode(struct ata_port *ap, struct ata_device *adev)
204 hpt3x2n_set_mode(ap, adev, adev->pio_mode);
210 * @adev: Device being configured
215 static void hpt3x2n_set_dmamode(struct ata_port *ap, struct ata_device *adev)
217 hpt3x2n_set_mode(ap, adev, adev->dma_mode);