Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_dccg.c210 int req_dtbclk_khz = params->pixclk_khz / 4; in dccg32_set_dtbclk_dto() local
212 if (params->ref_dtbclk_khz && req_dtbclk_khz) { in dccg32_set_dtbclk_dto()
217 phase = req_dtbclk_khz * 1000; in dccg32_set_dtbclk_dto()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_dccg.c210 int req_dtbclk_khz = params->pixclk_khz / 4; in dccg314_set_dtbclk_dto() local
212 if (params->ref_dtbclk_khz && req_dtbclk_khz) { in dccg314_set_dtbclk_dto()
217 phase = req_dtbclk_khz * 1000; in dccg314_set_dtbclk_dto()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_dccg.c549 int req_dtbclk_khz = params->pixclk_khz; in dccg31_set_dtbclk_dto() local
562 req_dtbclk_khz = params->pixclk_khz / 4; in dccg31_set_dtbclk_dto()
568 req_dtbclk_khz = params->pixclk_khz / 2; in dccg31_set_dtbclk_dto()
572 if (params->ref_dtbclk_khz && req_dtbclk_khz) { in dccg31_set_dtbclk_dto()
577 phase = div_u64((((unsigned long long)modulo * req_dtbclk_khz) + params->ref_dtbclk_khz - 1), in dccg31_set_dtbclk_dto()