Lines Matching refs:address

34 static int pmic_get_reg_bit(int address, const struct pmic_table *table,  in pmic_get_reg_bit()  argument
40 if (table[i].address == address) { in pmic_get_reg_bit()
51 acpi_physical_address address, u32 bits, u64 *value64, in intel_pmic_power_handler() argument
65 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler()
153 static bool pmic_thermal_is_temp(int address) in pmic_thermal_is_temp() argument
155 return (address <= 0x3c) && !(address % 12); in pmic_thermal_is_temp()
158 static bool pmic_thermal_is_aux(int address) in pmic_thermal_is_aux() argument
160 return (address >= 4 && address <= 0x40 && !((address - 4) % 12)) || in pmic_thermal_is_aux()
161 (address >= 8 && address <= 0x44 && !((address - 8) % 12)); in pmic_thermal_is_aux()
164 static bool pmic_thermal_is_pen(int address) in pmic_thermal_is_pen() argument
166 return address >= 0x48 && address <= 0x5c; in pmic_thermal_is_pen()
170 acpi_physical_address address, u32 bits, u64 *value64, in intel_pmic_thermal_handler() argument
180 result = pmic_get_reg_bit(address, d->thermal_table, in intel_pmic_thermal_handler()
187 if (pmic_thermal_is_temp(address)) in intel_pmic_thermal_handler()
189 else if (pmic_thermal_is_aux(address)) in intel_pmic_thermal_handler()
191 else if (pmic_thermal_is_pen(address)) in intel_pmic_thermal_handler()
210 acpi_physical_address address, u32 bits, u64 *value64, in intel_pmic_regs_handler() argument
217 switch (address) { in intel_pmic_regs_handler()
241 if (function == ACPI_READ && address == 3) { in intel_pmic_regs_handler()