Lines Matching refs:tmp32
1824 u32 tmp32; in sisusb_init_gfxcore() local
1945 ret |= sisusb_read_pci_config(sisusb, 0x50, &tmp32); in sisusb_init_gfxcore()
1946 tmp32 &= 0x00f00000; in sisusb_init_gfxcore()
1947 tmp8 = (tmp32 == 0x100000) ? 0x33 : 0x03; in sisusb_init_gfxcore()
1949 tmp8 = (tmp32 == 0x100000) ? 0xaa : 0x88; in sisusb_init_gfxcore()
2071 u32 tmp32; in sisusb_do_init_gfxdevice() local
2101 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice()
2103 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_do_init_gfxdevice()
2104 tmp32 &= 0x0f; in sisusb_do_init_gfxdevice()
2105 tmp32 |= SISUSB_PCI_MEMBASE; in sisusb_do_init_gfxdevice()
2106 ret |= sisusb_write_pci_config(sisusb, 0x10, tmp32); in sisusb_do_init_gfxdevice()
2109 ret |= sisusb_read_pci_config(sisusb, 0x14, &tmp32); in sisusb_do_init_gfxdevice()
2111 ret |= sisusb_read_pci_config(sisusb, 0x14, &tmp32); in sisusb_do_init_gfxdevice()
2112 tmp32 &= 0x0f; in sisusb_do_init_gfxdevice()
2113 tmp32 |= SISUSB_PCI_MMIOBASE; in sisusb_do_init_gfxdevice()
2114 ret |= sisusb_write_pci_config(sisusb, 0x14, tmp32); in sisusb_do_init_gfxdevice()
2117 ret |= sisusb_read_pci_config(sisusb, 0x18, &tmp32); in sisusb_do_init_gfxdevice()
2119 ret |= sisusb_read_pci_config(sisusb, 0x18, &tmp32); in sisusb_do_init_gfxdevice()
2120 tmp32 &= 0x0f; in sisusb_do_init_gfxdevice()
2121 tmp32 |= SISUSB_PCI_IOPORTBASE; in sisusb_do_init_gfxdevice()
2122 ret |= sisusb_write_pci_config(sisusb, 0x18, tmp32); in sisusb_do_init_gfxdevice()
2125 ret |= sisusb_read_pci_config(sisusb, 0x04, &tmp32); in sisusb_do_init_gfxdevice()
2126 tmp32 |= 0x3; in sisusb_do_init_gfxdevice()
2127 ret |= sisusb_write_pci_config(sisusb, 0x04, tmp32); in sisusb_do_init_gfxdevice()
2148 u32 tmp32; in sisusb_init_gfxdevice() local
2152 ret |= sisusb_read_pci_config(sisusb, 0x10, &tmp32); in sisusb_init_gfxdevice()
2156 if ((tmp32 & 0xfffffff0) == SISUSB_PCI_MEMBASE) in sisusb_init_gfxdevice()
2159 ret |= sisusb_read_pci_config(sisusb, 0x14, &tmp32); in sisusb_init_gfxdevice()
2163 if ((tmp32 & 0xfffffff0) == SISUSB_PCI_MMIOBASE) in sisusb_init_gfxdevice()
2166 ret |= sisusb_read_pci_config(sisusb, 0x18, &tmp32); in sisusb_init_gfxdevice()
2170 if ((tmp32 & 0xfffffff0) == SISUSB_PCI_IOPORTBASE) in sisusb_init_gfxdevice()