Searched refs:clamp_max (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/macintosh/ |
D | windfarm_cpufreq_clamp.c | 50 static s32 clamp_max(struct wf_control *ct) in clamp_max() function 59 .get_max = clamp_max,
|
/linux-6.12.1/drivers/power/supply/ |
D | max77976_charger.c | 249 unsigned int clamp_min, unsigned int clamp_max, in max77976_get_integer() argument 259 *val = clamp_val(regval * mult, clamp_min, clamp_max); in max77976_get_integer() 265 unsigned int clamp_min, unsigned int clamp_max, in max77976_set_integer() argument 270 regval = clamp_val(val, clamp_min, clamp_max) / div; in max77976_set_integer()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 585 int clamp_max = 0; in set_clamp() local 595 clamp_max = 0x3F00; in set_clamp() 599 clamp_max = 0x3FC0; in set_clamp() 603 clamp_max = 0x3FF0; in set_clamp() 607 clamp_max = 0x3FFC; in set_clamp() 610 clamp_max = 0x3FC0; in set_clamp() 615 OUT_CLAMP_MAX_B_CB, clamp_max); in set_clamp() 619 OUT_CLAMP_MAX_G_Y, clamp_max); in set_clamp() 623 OUT_CLAMP_MAX_R_CR, clamp_max); in set_clamp()
|