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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ata/
H A Dpata_cmd64x.c194 u8 regU, regD; local
201 pci_read_config_byte(pdev, pciU, &regU);
206 regU &= ~(0x30 << shift);
208 regU &= ~(0x05 << adev->devno);
212 regU |= udma_data[adev->dma_mode - XFER_UDMA_0] << shift;
214 regU |= 1 << adev->devno; /* UDMA on */
216 regU |= 4 << adev->devno;
218 regU &= ~ (1 << adev->devno); /* UDMA off */
224 pci_write_config_byte(pdev, pciU, regU);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ide/
H A Dcmd64x.c151 u8 regU = 0, pciU = hwif->channel ? UDIDETCR1 : UDIDETCR0; local
154 pci_read_config_byte(dev, pciU, &regU);
155 regU &= ~(unit ? 0xCA : 0x35);
159 regU |= unit ? 0x0A : 0x05;
162 regU |= unit ? 0x4A : 0x15;
165 regU |= unit ? 0x8A : 0x25;
168 regU |= unit ? 0x42 : 0x11;
171 regU |= unit ? 0x82 : 0x21;
174 regU |= unit ? 0xC2 : 0x31;
183 pci_write_config_byte(dev, pciU, regU);
[all...]

Completed in 63 milliseconds