Lines Matching refs:address
32 static int pmic_get_reg_bit(int address, struct pmic_table *table, in pmic_get_reg_bit() argument
38 if (table[i].address == address) { in pmic_get_reg_bit()
49 acpi_physical_address address, u32 bits, u64 *value64, in intel_pmic_power_handler() argument
63 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler()
151 static bool pmic_thermal_is_temp(int address) in pmic_thermal_is_temp() argument
153 return (address <= 0x3c) && !(address % 12); in pmic_thermal_is_temp()
156 static bool pmic_thermal_is_aux(int address) in pmic_thermal_is_aux() argument
158 return (address >= 4 && address <= 0x40 && !((address - 4) % 12)) || in pmic_thermal_is_aux()
159 (address >= 8 && address <= 0x44 && !((address - 8) % 12)); in pmic_thermal_is_aux()
162 static bool pmic_thermal_is_pen(int address) in pmic_thermal_is_pen() argument
164 return address >= 0x48 && address <= 0x5c; in pmic_thermal_is_pen()
168 acpi_physical_address address, u32 bits, u64 *value64, in intel_pmic_thermal_handler() argument
178 result = pmic_get_reg_bit(address, d->thermal_table, in intel_pmic_thermal_handler()
185 if (pmic_thermal_is_temp(address)) in intel_pmic_thermal_handler()
187 else if (pmic_thermal_is_aux(address)) in intel_pmic_thermal_handler()
189 else if (pmic_thermal_is_pen(address)) in intel_pmic_thermal_handler()