Lines Matching refs:ali15x3_smba
60 #define SMBHSTSTS (0 + ali15x3_smba)
61 #define SMBHSTCNT (1 + ali15x3_smba)
62 #define SMBHSTSTART (2 + ali15x3_smba)
63 #define SMBHSTCMD (7 + ali15x3_smba)
64 #define SMBHSTADD (3 + ali15x3_smba)
65 #define SMBHSTDAT0 (4 + ali15x3_smba)
66 #define SMBHSTDAT1 (5 + ali15x3_smba)
67 #define SMBBLKDAT (6 + ali15x3_smba)
119 static unsigned short ali15x3_smba; variable
144 pci_read_config_word(ALI15X3_dev, SMBBA, &ali15x3_smba); in ali15x3_setup()
145 ali15x3_smba &= (0xffff & ~(ALI15X3_SMB_IOSIZE - 1)); in ali15x3_setup()
146 if (ali15x3_smba == 0 && force_addr == 0) { in ali15x3_setup()
153 ali15x3_smba = force_addr & ~(ALI15X3_SMB_IOSIZE - 1); in ali15x3_setup()
155 if (acpi_check_region(ali15x3_smba, ALI15X3_SMB_IOSIZE, in ali15x3_setup()
159 if (!request_region(ali15x3_smba, ALI15X3_SMB_IOSIZE, in ali15x3_setup()
163 ali15x3_smba); in ali15x3_setup()
171 ali15x3_smba); in ali15x3_setup()
172 ret = pci_write_config_word(ALI15X3_dev, SMBBA, ali15x3_smba); in ali15x3_setup()
178 if ((a & ~(ALI15X3_SMB_IOSIZE - 1)) != ali15x3_smba) { in ali15x3_setup()
211 dev_dbg(&ALI15X3_dev->dev, "iALI15X3_smba = 0x%X\n", ali15x3_smba); in ali15x3_setup()
215 release_region(ali15x3_smba, ALI15X3_SMB_IOSIZE); in ali15x3_setup()
485 "SMBus ALI15X3 adapter at %04x", ali15x3_smba); in ali15x3_probe()
492 release_region(ali15x3_smba, ALI15X3_SMB_IOSIZE); in ali15x3_remove()