Lines Matching refs:amd756_ioport
51 #define SMB_GLOBAL_STATUS (0x0 + amd756_ioport)
52 #define SMB_GLOBAL_ENABLE (0x2 + amd756_ioport)
53 #define SMB_HOST_ADDRESS (0x4 + amd756_ioport)
54 #define SMB_HOST_DATA (0x6 + amd756_ioport)
55 #define SMB_HOST_COMMAND (0x8 + amd756_ioport)
56 #define SMB_HOST_BLOCK_DATA (0x9 + amd756_ioport)
57 #define SMB_HAS_DATA (0xA + amd756_ioport)
58 #define SMB_HAS_DEVICE_ADDRESS (0xC + amd756_ioport)
59 #define SMB_HAS_HOST_ADDRESS (0xE + amd756_ioport)
60 #define SMB_SNOOP_ADDRESS (0xF + amd756_ioport)
86 static unsigned short amd756_ioport;
334 if (amd756_ioport) {
344 pci_read_config_word(pdev, SMBBANFORCE, &amd756_ioport);
345 amd756_ioport &= 0xfffc;
359 pci_read_config_word(pdev, SMBBA, &amd756_ioport);
360 amd756_ioport &= 0xff00;
361 amd756_ioport += SMB_ADDR_OFFSET;
364 error = acpi_check_region(amd756_ioport, SMB_IOSIZE,
369 if (!request_region(amd756_ioport, SMB_IOSIZE, amd756_driver.name)) {
371 amd756_ioport);
377 dev_dbg(&pdev->dev, "AMD756_smba = 0x%X\n", amd756_ioport);
384 amd756_ioport);
396 release_region(amd756_ioport, SMB_IOSIZE);
403 release_region(amd756_ioport, SMB_IOSIZE);