Searched refs:regU (Results 1 – 2 of 2) sorted by relevance
/drivers/ide/ |
D | cmd64x.c | 151 u8 regU = 0, pciU = hwif->channel ? UDIDETCR1 : UDIDETCR0; in cmd64x_set_dma_mode() local 154 pci_read_config_byte(dev, pciU, ®U); in cmd64x_set_dma_mode() 155 regU &= ~(unit ? 0xCA : 0x35); in cmd64x_set_dma_mode() 159 regU |= unit ? 0x0A : 0x05; in cmd64x_set_dma_mode() 162 regU |= unit ? 0x4A : 0x15; in cmd64x_set_dma_mode() 165 regU |= unit ? 0x8A : 0x25; in cmd64x_set_dma_mode() 168 regU |= unit ? 0x42 : 0x11; in cmd64x_set_dma_mode() 171 regU |= unit ? 0x82 : 0x21; in cmd64x_set_dma_mode() 174 regU |= unit ? 0xC2 : 0x31; in cmd64x_set_dma_mode() 183 pci_write_config_byte(dev, pciU, regU); in cmd64x_set_dma_mode()
|
/drivers/ata/ |
D | pata_cmd64x.c | 198 u8 regU, regD; in cmd64x_set_dmamode() local 205 pci_read_config_byte(pdev, pciU, ®U); 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()
|