Home
last modified time | relevance | path

Searched refs:periph_clk_to_bit (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/clk/tegra/
Dclk-periph-gate.c31 #define periph_clk_to_bit(gate) (1 << (gate->clk_num % 32)) macro
41 if (!(read_enb(gate) & periph_clk_to_bit(gate))) in clk_periph_is_enabled()
45 if (read_rst(gate) & periph_clk_to_bit(gate)) in clk_periph_is_enabled()
64 write_enb_set(periph_clk_to_bit(gate), gate); in clk_periph_enable()
69 if (read_rst(gate) & periph_clk_to_bit(gate)) { in clk_periph_enable()
71 write_rst_clr(periph_clk_to_bit(gate), gate); in clk_periph_enable()
108 write_enb_clr(periph_clk_to_bit(gate), gate); in clk_periph_disable()
151 if (read_enb(gate) & periph_clk_to_bit(gate)) in tegra_clk_register_periph_gate()