Searched refs:ali15x3_smba (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-ali15x3.c68 #define SMBHSTSTS (0 + ali15x3_smba)
69 #define SMBHSTCNT (1 + ali15x3_smba)
70 #define SMBHSTSTART (2 + ali15x3_smba)
71 #define SMBHSTCMD (7 + ali15x3_smba)
72 #define SMBHSTADD (3 + ali15x3_smba)
73 #define SMBHSTDAT0 (4 + ali15x3_smba)
74 #define SMBHSTDAT1 (5 + ali15x3_smba)
75 #define SMBBLKDAT (6 + ali15x3_smba)
127 static unsigned short ali15x3_smba; variable
152 pci_read_config_word(ALI15X3_dev, SMBBA, &ali15x3_smba); ali15x3_setup()
153 ali15x3_smba &= (0xffff & ~(ALI15X3_SMB_IOSIZE - 1)); ali15x3_setup()
154 if (ali15x3_smba == 0 && force_addr == 0) { ali15x3_setup()
161 ali15x3_smba = force_addr & ~(ALI15X3_SMB_IOSIZE - 1); ali15x3_setup()
163 if (acpi_check_region(ali15x3_smba, ALI15X3_SMB_IOSIZE, ali15x3_setup()
167 if (!request_region(ali15x3_smba, ALI15X3_SMB_IOSIZE, ali15x3_setup()
171 ali15x3_smba); ali15x3_setup()
177 ali15x3_smba); ali15x3_setup()
180 ali15x3_smba)) ali15x3_setup()
185 if ((a & ~(ALI15X3_SMB_IOSIZE - 1)) != ali15x3_smba) { ali15x3_setup()
218 dev_dbg(&ALI15X3_dev->dev, "iALI15X3_smba = 0x%X\n", ali15x3_smba); ali15x3_setup()
222 release_region(ali15x3_smba, ALI15X3_SMB_IOSIZE); ali15x3_setup()
494 "SMBus ALI15X3 adapter at %04x", ali15x3_smba); ali15x3_probe()
501 release_region(ali15x3_smba, ALI15X3_SMB_IOSIZE); ali15x3_remove()

Completed in 87 milliseconds