Home
last modified time | relevance | path

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

/drivers/ide/
Dsis5513.c457 u16 regw; in init_chipset_sis5513() local
462 pci_read_config_word(dev, 0x50, &regw); 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, &regw); 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, &regw); in sis_cable_detect()
538 ata66 = (regw & 0x8000) ? 0 : 1; in sis_cable_detect()
/drivers/ata/
Dpata_sis.c609 u16 regw; in sis_fixup() local
613 pci_read_config_word(pdev, 0x50, &regw); 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, &regw); in sis_fixup()
617 if (regw & 0x08) in sis_fixup()
618 pci_write_config_word(pdev, 0x52, regw & ~0x08); in sis_fixup()