Lines Matching refs:tmp8
562 u8 tmp8; in svia_wd_fix() local
564 pci_read_config_byte(pdev, 0x52, &tmp8); in svia_wd_fix()
565 pci_write_config_byte(pdev, 0x52, tmp8 | BIT(2)); in svia_wd_fix()
622 u8 tmp8; in svia_configure() local
624 pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &tmp8); in svia_configure()
626 (int) (tmp8 & 0xf0) == 0xf0 ? 0 : tmp8 & 0x0f); in svia_configure()
629 pci_read_config_byte(pdev, SATA_CHAN_ENAB, &tmp8); in svia_configure()
630 if ((tmp8 & ALL_PORTS) != ALL_PORTS) { in svia_configure()
632 (int)tmp8); in svia_configure()
633 tmp8 |= ALL_PORTS; in svia_configure()
634 pci_write_config_byte(pdev, SATA_CHAN_ENAB, tmp8); in svia_configure()
638 pci_read_config_byte(pdev, SATA_INT_GATE, &tmp8); in svia_configure()
639 if ((tmp8 & ALL_PORTS) != ALL_PORTS) { in svia_configure()
641 (int) tmp8); in svia_configure()
642 tmp8 |= ALL_PORTS; in svia_configure()
643 pci_write_config_byte(pdev, SATA_INT_GATE, tmp8); in svia_configure()
647 pci_read_config_byte(pdev, SATA_NATIVE_MODE, &tmp8); in svia_configure()
648 if ((tmp8 & NATIVE_MODE_ALL) != NATIVE_MODE_ALL) { in svia_configure()
651 (int) tmp8); in svia_configure()
652 tmp8 |= NATIVE_MODE_ALL; in svia_configure()
653 pci_write_config_byte(pdev, SATA_NATIVE_MODE, tmp8); in svia_configure()
658 pci_read_config_byte(pdev, SVIA_MISC_3, &tmp8); in svia_configure()
659 if ((tmp8 & SATA_HOTPLUG) != SATA_HOTPLUG) { in svia_configure()
662 (int) tmp8); in svia_configure()
663 tmp8 |= SATA_HOTPLUG; in svia_configure()
664 pci_write_config_byte(pdev, SVIA_MISC_3, tmp8); in svia_configure()