Lines Matching refs:amd756_ioport
38 #define SMB_GLOBAL_STATUS (0x0 + amd756_ioport)
39 #define SMB_GLOBAL_ENABLE (0x2 + amd756_ioport)
40 #define SMB_HOST_ADDRESS (0x4 + amd756_ioport)
41 #define SMB_HOST_DATA (0x6 + amd756_ioport)
42 #define SMB_HOST_COMMAND (0x8 + amd756_ioport)
43 #define SMB_HOST_BLOCK_DATA (0x9 + amd756_ioport)
44 #define SMB_HAS_DATA (0xA + amd756_ioport)
45 #define SMB_HAS_DEVICE_ADDRESS (0xC + amd756_ioport)
46 #define SMB_HAS_HOST_ADDRESS (0xE + amd756_ioport)
47 #define SMB_SNOOP_ADDRESS (0xF + amd756_ioport)
73 static unsigned short amd756_ioport; variable
320 if (amd756_ioport) { in amd756_probe()
330 pci_read_config_word(pdev, SMBBANFORCE, &amd756_ioport); in amd756_probe()
331 amd756_ioport &= 0xfffc; in amd756_probe()
345 pci_read_config_word(pdev, SMBBA, &amd756_ioport); in amd756_probe()
346 amd756_ioport &= 0xff00; in amd756_probe()
347 amd756_ioport += SMB_ADDR_OFFSET; in amd756_probe()
350 error = acpi_check_region(amd756_ioport, SMB_IOSIZE, in amd756_probe()
355 if (!request_region(amd756_ioport, SMB_IOSIZE, amd756_driver.name)) { in amd756_probe()
357 amd756_ioport); in amd756_probe()
363 dev_dbg(&pdev->dev, "AMD756_smba = 0x%X\n", amd756_ioport); in amd756_probe()
370 amd756_ioport); in amd756_probe()
379 release_region(amd756_ioport, SMB_IOSIZE); in amd756_probe()
386 release_region(amd756_ioport, SMB_IOSIZE); in amd756_remove()