Lines Matching defs:phase

86 	int			phase;
2742 core->phase = degrees;
2751 * clk_set_phase - adjust the phase shift of a clock signal
2755 * Shifts the phase of a clock signal by the specified
2759 * signal that we adjust the clock signal phase against. For example
2760 * phase locked-loop clock signal generators we may shift phase with
2762 * clock phase may be shifted with respect to some other, unspecified
2765 * Additionally the concept of phase shift does not propagate through
2767 * clock accuracy. A parent clock phase attribute does not have an
2768 * impact on the phase attribute of a child clock.
2806 /* Always try to update cached phase if possible */
2809 core->phase = ret;
2815 * clk_get_phase - return the phase shift of a clock signal
2818 * Returns the phase shift of a clock node in degrees, otherwise returns
3046 int phase;
3055 phase = clk_core_get_phase(c);
3056 if (phase >= 0)
3057 seq_printf(s, "%5d", phase);
3081 seq_puts(s, " clock count count count rate accuracy phase cycle\n");
3098 int phase;
3112 phase = clk_core_get_phase(c);
3113 if (phase >= 0)
3114 seq_printf(s, "\"phase\": %d,", phase);
3375 debugfs_create_u32("clk_phase", 0444, root, &core->phase);
3546 int phase;
3664 * Set clk's phase by clk_core_get_phase() caching the phase.
3665 * Since a phase is by definition relative to its parent, just
3666 * query the current clock phase, or just assume it's in phase.
3668 phase = clk_core_get_phase(core);
3669 if (phase < 0) {
3670 ret = phase;
3671 pr_warn("%s: Failed to get phase for clk '%s'\n", __func__,