Lines Matching refs:phase

443 		lcko->def.duty.den, lcko->def.phase);  in litex_clk_print_params()
448 lcko->ts_config.phase, lcko->config.period_off); in litex_clk_print_params()
453 lcko->config.phase, lcko->config.period_off); in litex_clk_print_params()
464 lcko->phase.delay_time, lcko->phase.phase_mux, lcko->phase.mx); in litex_clk_print_params()
1037 if (lcko->ts_config.phase != 0) { in litex_clk_calc_phase_normal()
1060 lcko->phase.phase_mux = p_m; in litex_clk_calc_phase_normal()
1061 lcko->phase.delay_time = delay; in litex_clk_calc_phase_normal()
1068 lcko->phase.phase_mux = 0; in litex_clk_calc_phase_normal()
1069 lcko->phase.delay_time = 0; in litex_clk_calc_phase_normal()
1083 int *phase = &lcko->ts_config.phase; in litex_clk_prepare_phase() local
1085 *phase %= 360; in litex_clk_prepare_phase()
1087 if (*phase < 0) { in litex_clk_prepare_phase()
1088 *phase += 360; in litex_clk_prepare_phase()
1091 lcko->ts_config.period_off = ((*phase * 10000) / 360); in litex_clk_prepare_phase()
1183 uint8_t *phase_mux = &lcko->phase.phase_mux, in litex_clk_set_phase()
1184 *delay_time = &lcko->phase.delay_time, in litex_clk_set_phase()
1187 lcko->ts_config.phase = degrees; in litex_clk_set_phase()
1206 lcko->config.phase = litex_clk_get_phase_deg(lcko); in litex_clk_set_phase()
1207 LOG_INF("CLKOUT%d: set phase: %d deg", lcko->id, lcko->config.phase); in litex_clk_set_phase()
1511 return litex_clk_set_phase(lcko, lcko->def.phase); in litex_clk_set_def_clkout()
1563 setup->phase = litex_clk_get_phase(lcko); in litex_clk_get_status()
1584 if (lcko->config.phase != setup->phase) { in litex_clk_on()
1585 ret = litex_clk_set_phase(lcko, setup->phase); in litex_clk_on()
1682 lcko->ts_config.phase = lcko->def.phase; in litex_clk_init_clkouts()