Searched refs:thrsh (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/acpi/pmic/ |
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-6.12.1/drivers/leds/flash/ |
D | leds-qcom-flash.c | 202 u32 therm_ma, avail_ma, thrsh[3], min_thrsh, sts; in update_allowed_flash_current() local 229 rc = regmap_field_read(flash_data->r_fields[REG_THERM_THRSH1], &thrsh[0]); in update_allowed_flash_current() 233 rc = regmap_field_read(flash_data->r_fields[REG_THERM_THRSH2], &thrsh[1]); in update_allowed_flash_current() 238 rc = regmap_field_read(flash_data->r_fields[REG_THERM_THRSH3], &thrsh[2]); in update_allowed_flash_current() 304 rc = regmap_field_write(flash_data->r_fields[REG_THERM_THRSH1], thrsh[0]); in update_allowed_flash_current() 308 rc = regmap_field_write(flash_data->r_fields[REG_THERM_THRSH2], thrsh[1]); in update_allowed_flash_current() 313 rc = regmap_field_write(flash_data->r_fields[REG_THERM_THRSH3], thrsh[2]); in update_allowed_flash_current()
|