Home
last modified time | relevance | path

Searched refs:scratch_1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c339 struct fixed31_32 scratch_1, scratch_2; in translate_from_linear_space() local
346 scratch_1 = dc_fixpt_add(one, args->a3); in translate_from_linear_space()
350 scratch_1 = dc_fixpt_mul(scratch_1, scratch_2); in translate_from_linear_space()
351 scratch_1 = dc_fixpt_sub(args->a2, scratch_1); in translate_from_linear_space()
353 return scratch_1; in translate_from_linear_space()
359 scratch_1 = dc_fixpt_add(one, args->a3); in translate_from_linear_space()
378 scratch_1 = dc_fixpt_mul(scratch_1, scratch_2); in translate_from_linear_space()
379 scratch_1 = dc_fixpt_sub(scratch_1, args->a2); in translate_from_linear_space()
381 return scratch_1; in translate_from_linear_space()