Lines Matching refs:result
57 int reg, bit, result; in intel_pmic_power_handler() local
65 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler()
67 if (result == -ENOENT) in intel_pmic_power_handler()
72 result = function == ACPI_READ ? in intel_pmic_power_handler()
78 return result ? AE_ERROR : AE_OK; in intel_pmic_power_handler()
175 int reg, bit, result; in intel_pmic_thermal_handler() local
180 result = pmic_get_reg_bit(address, d->thermal_table, in intel_pmic_thermal_handler()
182 if (result == -ENOENT) in intel_pmic_thermal_handler()
188 result = pmic_thermal_temp(opregion, reg, function, value64); in intel_pmic_thermal_handler()
190 result = pmic_thermal_aux(opregion, reg, function, value64); in intel_pmic_thermal_handler()
192 result = pmic_thermal_pen(opregion, reg, bit, in intel_pmic_thermal_handler()
195 result = -EINVAL; in intel_pmic_thermal_handler()
199 if (result < 0) { in intel_pmic_thermal_handler()
200 if (result == -EINVAL) in intel_pmic_thermal_handler()
214 int result = -EINVAL; in intel_pmic_regs_handler() local
231 result = regmap_write(opregion->regmap, opregion->ctx.addr, in intel_pmic_regs_handler()
234 result = regmap_read(opregion->regmap, opregion->ctx.addr, in intel_pmic_regs_handler()
246 if (result < 0) { in intel_pmic_regs_handler()
247 if (result == -EINVAL) in intel_pmic_regs_handler()