Lines Matching refs:u
245 static void via_cable_detect(struct via82cxxx_dev *vdev, u32 u) in via_cable_detect() argument
252 if (((u >> (i & 16)) & 8) && in via_cable_detect()
253 ((u >> i) & 0x20) && in via_cable_detect()
254 (((u >> i) & 7) < 2)) { in via_cable_detect()
265 if (((u >> i) & 0x10) || in via_cable_detect()
266 (((u >> i) & 0x20) && in via_cable_detect()
267 (((u >> i) & 7) < 4))) { in via_cable_detect()
277 if (((u >> i) & 0x10) || in via_cable_detect()
278 (((u >> i) & 0x20) && in via_cable_detect()
279 (((u >> i) & 7) < 6))) { in via_cable_detect()
303 u32 u; in init_chipset_via82cxxx() local
308 pci_read_config_dword(dev, VIA_UDMA_TIMING, &u); in init_chipset_via82cxxx()
310 via_cable_detect(vdev, u); in init_chipset_via82cxxx()
314 pci_write_config_dword(dev, VIA_UDMA_TIMING, u|0x80008); in init_chipset_via82cxxx()
317 pci_write_config_dword(dev, VIA_UDMA_TIMING, u & ~0x80008); in init_chipset_via82cxxx()