Lines Matching defs:phase

81 	int			phase;
2889 core->phase = degrees;
2898 * clk_set_phase - adjust the phase shift of a clock signal
2902 * Shifts the phase of a clock signal by the specified
2906 * signal that we adjust the clock signal phase against. For example
2907 * phase locked-loop clock signal generators we may shift phase with
2909 * clock phase may be shifted with respect to some other, unspecified
2912 * Additionally the concept of phase shift does not propagate through
2914 * clock accuracy. A parent clock phase attribute does not have an
2915 * impact on the phase attribute of a child clock.
2953 /* Always try to update cached phase if possible */
2956 core->phase = ret;
2962 * clk_get_phase - return the phase shift of a clock signal
2965 * Returns the phase shift of a clock node in degrees, otherwise returns
3193 int phase;
3202 phase = clk_core_get_phase(c);
3203 if (phase >= 0)
3204 seq_printf(s, "%5d", phase);
3237 seq_puts(s, " clock count count count rate accuracy phase cycle enable\n");
3254 int phase;
3268 phase = clk_core_get_phase(c);
3269 if (phase >= 0)
3270 seq_printf(s, "\"phase\": %d,", phase);
3570 debugfs_create_u32("clk_phase", 0444, root, &core->phase);
3745 int phase;
3867 * Set clk's phase by clk_core_get_phase() caching the phase.
3868 * Since a phase is by definition relative to its parent, just
3869 * query the current clock phase, or just assume it's in phase.
3871 phase = clk_core_get_phase(core);
3872 if (phase < 0) {
3873 ret = phase;
3874 pr_warn("%s: Failed to get phase for clk '%s'\n", __func__,