Lines Matching refs:piix4_smba
46 #define SMBHSTSTS (0 + piix4_smba)
47 #define SMBHSLVSTS (1 + piix4_smba)
48 #define SMBHSTCNT (2 + piix4_smba)
49 #define SMBHSTCMD (3 + piix4_smba)
50 #define SMBHSTADD (4 + piix4_smba)
51 #define SMBHSTDAT0 (5 + piix4_smba)
52 #define SMBHSTDAT1 (6 + piix4_smba)
53 #define SMBBLKDAT (7 + piix4_smba)
54 #define SMBSLVCNT (8 + piix4_smba)
55 #define SMBSHDWCMD (9 + piix4_smba)
56 #define SMBSLVEVT (0xA + piix4_smba)
57 #define SMBSLVDAT (0xC + piix4_smba)
177 unsigned short piix4_smba; in piix4_setup() local
202 piix4_smba = force_addr & 0xfff0; in piix4_setup()
205 pci_read_config_word(PIIX4_dev, SMBBA, &piix4_smba); in piix4_setup()
206 piix4_smba &= 0xfff0; in piix4_setup()
207 if(piix4_smba == 0) { in piix4_setup()
215 if (acpi_check_region(piix4_smba, SMBIOSIZE, piix4_driver.name)) in piix4_setup()
218 if (!request_region(piix4_smba, SMBIOSIZE, piix4_driver.name)) { in piix4_setup()
220 piix4_smba); in piix4_setup()
230 pci_write_config_word(PIIX4_dev, SMBBA, piix4_smba); in piix4_setup()
233 "new address %04x!\n", piix4_smba); in piix4_setup()
251 release_region(piix4_smba, SMBIOSIZE); in piix4_setup()
267 piix4_smba, temp); in piix4_setup()
269 return piix4_smba; in piix4_setup()
275 unsigned short piix4_smba; in piix4_setup_sb800() local
313 piix4_smba = smba_en_hi << 8; in piix4_setup_sb800()
315 piix4_smba |= 0x20; in piix4_setup_sb800()
318 piix4_smba = ((smba_en_hi << 8) | smba_en_lo) & 0xffe0; in piix4_setup_sb800()
327 if (acpi_check_region(piix4_smba, SMBIOSIZE, piix4_driver.name)) in piix4_setup_sb800()
330 if (!request_region(piix4_smba, SMBIOSIZE, piix4_driver.name)) { in piix4_setup_sb800()
332 piix4_smba); in piix4_setup_sb800()
340 piix4_smba); in piix4_setup_sb800()
341 return piix4_smba; in piix4_setup_sb800()
345 if (!request_region(piix4_smba + i2ccfg_offset, 1, "i2ccfg")) { in piix4_setup_sb800()
347 "0x%x already in use!\n", piix4_smba + i2ccfg_offset); in piix4_setup_sb800()
348 release_region(piix4_smba, SMBIOSIZE); in piix4_setup_sb800()
351 i2ccfg = inb_p(piix4_smba + i2ccfg_offset); in piix4_setup_sb800()
352 release_region(piix4_smba + i2ccfg_offset, 1); in piix4_setup_sb800()
361 piix4_smba, i2ccfg >> 4); in piix4_setup_sb800()
379 release_region(piix4_smba, SMBIOSIZE); in piix4_setup_sb800()
397 return piix4_smba; in piix4_setup_sb800()
407 unsigned short piix4_smba; in piix4_setup_aux() local
410 pci_read_config_word(PIIX4_dev, base_reg_addr, &piix4_smba); in piix4_setup_aux()
411 if ((piix4_smba & 1) == 0) { in piix4_setup_aux()
417 piix4_smba &= 0xfff0; in piix4_setup_aux()
418 if (piix4_smba == 0) { in piix4_setup_aux()
424 if (acpi_check_region(piix4_smba, SMBIOSIZE, piix4_driver.name)) in piix4_setup_aux()
427 if (!request_region(piix4_smba, SMBIOSIZE, piix4_driver.name)) { in piix4_setup_aux()
429 "already in use!\n", piix4_smba); in piix4_setup_aux()
435 piix4_smba); in piix4_setup_aux()
437 return piix4_smba; in piix4_setup_aux()
443 unsigned short piix4_smba = adapdata->smba; in piix4_transaction() local
522 unsigned short piix4_smba = adapdata->smba; in piix4_access() local
681 unsigned short piix4_smba = adapdata->smba; in piix4_access_sb800() local