Lines Matching refs:gate
34 * ingenic_cgu_gate_get() - get the value of clock gate register bit
36 * @info: info struct describing the gate bit
38 * Retrieves the state of the clock gate bit described by info. The
41 * Return: true if the gate bit is set, else false.
52 * ingenic_cgu_gate_set() - set the value of clock gate register bit
54 * @info: info struct describing the gate bit
55 * @val: non-zero to gate a clock, otherwise zero
57 * Sets the given gate bit in order to gate or ungate a clock.
587 ingenic_cgu_gate_set(cgu, &clk_info->gate, false);
590 if (clk_info->gate.delay_us)
591 udelay(clk_info->gate.delay_us);
605 /* gate the clock */
607 ingenic_cgu_gate_set(cgu, &clk_info->gate, true);
620 enabled = !ingenic_cgu_gate_get(cgu, &clk_info->gate);