Home
last modified time | relevance | path

Searched refs:regU (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dpata_cmd64x.c198 u8 regU, regD; in cmd64x_set_dmamode() local
205 pci_read_config_byte(pdev, pciU, &regU); in cmd64x_set_dmamode()
210 regU &= ~(0x30 << shift); in cmd64x_set_dmamode()
212 regU &= ~(0x05 << adev->devno); in cmd64x_set_dmamode()
216 regU |= udma_data[adev->dma_mode - XFER_UDMA_0] << shift; in cmd64x_set_dmamode()
218 regU |= 1 << adev->devno; /* UDMA on */ in cmd64x_set_dmamode()
220 regU |= 4 << adev->devno; in cmd64x_set_dmamode()
222 regU &= ~ (1 << adev->devno); /* UDMA off */ in cmd64x_set_dmamode()
228 pci_write_config_byte(pdev, pciU, regU); in cmd64x_set_dmamode()