Searched refs:regw (Results 1 – 2 of 2) sorted by relevance
/drivers/ide/ |
D | sis5513.c | 457 u16 regw; in init_chipset_sis5513() local 462 pci_read_config_word(dev, 0x50, ®w); in init_chipset_sis5513() 463 if (regw & 0x08) in init_chipset_sis5513() 464 pci_write_config_word(dev, 0x50, regw&0xfff7); in init_chipset_sis5513() 465 pci_read_config_word(dev, 0x52, ®w); in init_chipset_sis5513() 466 if (regw & 0x08) in init_chipset_sis5513() 467 pci_write_config_word(dev, 0x52, regw&0xfff7); in init_chipset_sis5513() 535 u16 regw = 0; in sis_cable_detect() local 537 pci_read_config_word(pdev, reg_addr, ®w); in sis_cable_detect() 538 ata66 = (regw & 0x8000) ? 0 : 1; in sis_cable_detect()
|
/drivers/ata/ |
D | pata_sis.c | 609 u16 regw; in sis_fixup() local 613 pci_read_config_word(pdev, 0x50, ®w); in sis_fixup() 614 if (regw & 0x08) in sis_fixup() 615 pci_write_config_word(pdev, 0x50, regw & ~0x08); in sis_fixup() 616 pci_read_config_word(pdev, 0x52, ®w); in sis_fixup() 617 if (regw & 0x08) in sis_fixup() 618 pci_write_config_word(pdev, 0x52, regw & ~0x08); in sis_fixup()
|