Searched refs:thrsh (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/acpi/pmic/ |
| H A D | intel_pmic_bxtwc.c | 327 u16 resi_val, count = 0, thrsh = 0; in intel_bxtwc_pmic_update_aux() local 336 thrsh = raw / (1 << (4 + cursel)); in intel_bxtwc_pmic_update_aux() 338 resi_val = (cursel << 9) | thrsh; in intel_bxtwc_pmic_update_aux()
|
| /linux/drivers/leds/flash/ |
| H A D | leds-qcom-flash.c | 222 u32 therm_ma, avail_ma, thrsh[3], min_thrsh, sts; in update_allowed_flash_current() local 249 rc = regmap_field_read(flash_data->r_fields[REG_THERM_THRSH1], &thrsh[0]); in update_allowed_flash_current() 253 rc = regmap_field_read(flash_data->r_fields[REG_THERM_THRSH2], &thrsh[1]); in update_allowed_flash_current() 258 rc = regmap_field_read(flash_data->r_fields[REG_THERM_THRSH3], &thrsh[2]); in update_allowed_flash_current() 324 rc = regmap_field_write(flash_data->r_fields[REG_THERM_THRSH1], thrsh[0]); in update_allowed_flash_current() 328 rc = regmap_field_write(flash_data->r_fields[REG_THERM_THRSH2], thrsh[1]); in update_allowed_flash_current() 333 rc = regmap_field_write(flash_data->r_fields[REG_THERM_THRSH3], thrsh[2]); in update_allowed_flash_current()
|