Lines Matching refs:tmp8
538 u8 tmp8; in svia_wd_fix() local
540 pci_read_config_byte(pdev, 0x52, &tmp8); in svia_wd_fix()
541 pci_write_config_byte(pdev, 0x52, tmp8 | BIT(2)); in svia_wd_fix()
598 u8 tmp8; in svia_configure() local
600 pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &tmp8); in svia_configure()
602 (int) (tmp8 & 0xf0) == 0xf0 ? 0 : tmp8 & 0x0f); in svia_configure()
605 pci_read_config_byte(pdev, SATA_CHAN_ENAB, &tmp8); in svia_configure()
606 if ((tmp8 & ALL_PORTS) != ALL_PORTS) { in svia_configure()
608 (int)tmp8); in svia_configure()
609 tmp8 |= ALL_PORTS; in svia_configure()
610 pci_write_config_byte(pdev, SATA_CHAN_ENAB, tmp8); in svia_configure()
614 pci_read_config_byte(pdev, SATA_INT_GATE, &tmp8); in svia_configure()
615 if ((tmp8 & ALL_PORTS) != ALL_PORTS) { in svia_configure()
617 (int) tmp8); in svia_configure()
618 tmp8 |= ALL_PORTS; in svia_configure()
619 pci_write_config_byte(pdev, SATA_INT_GATE, tmp8); in svia_configure()
623 pci_read_config_byte(pdev, SATA_NATIVE_MODE, &tmp8); in svia_configure()
624 if ((tmp8 & NATIVE_MODE_ALL) != NATIVE_MODE_ALL) { in svia_configure()
627 (int) tmp8); in svia_configure()
628 tmp8 |= NATIVE_MODE_ALL; in svia_configure()
629 pci_write_config_byte(pdev, SATA_NATIVE_MODE, tmp8); in svia_configure()
634 pci_read_config_byte(pdev, SVIA_MISC_3, &tmp8); in svia_configure()
635 if ((tmp8 & SATA_HOTPLUG) != SATA_HOTPLUG) { in svia_configure()
638 (int) tmp8); in svia_configure()
639 tmp8 |= SATA_HOTPLUG; in svia_configure()
640 pci_write_config_byte(pdev, SVIA_MISC_3, tmp8); in svia_configure()