Lines Matching defs:phase
60 int modulo, phase;
62 // phase / modulo = dpp pipe clk / dpp global clk
64 phase = ((modulo * req_dppclk) + ref_dppclk - 1) / ref_dppclk;
66 if (phase > 0xff) {
68 phase = 0xff;
72 DPPCLK0_DTO_PHASE, phase,
573 uint32_t modulo, phase;
575 // phase / modulo = dtbclk / dtbclk ref
577 phase = div_u64((((unsigned long long)modulo * req_dtbclk_khz) + params->ref_dtbclk_khz - 1),
584 REG_WRITE(DTBCLK_DTO_PHASE[params->otg_inst], phase);
617 uint32_t modulo, phase;
619 // phase / modulo = dtbclk / dtbclk ref
621 phase = div_u64((((unsigned long long)modulo * params->req_audio_dtbclk_khz) + params->ref_dtbclk_khz - 1),
626 REG_WRITE(DCCG_AUDIO_DTBCLK_DTO_PHASE, phase);