Lines Matching refs:sh_clk_read
19 static unsigned int sh_clk_read(struct clk *clk) in sh_clk_read() function
41 sh_clk_write(sh_clk_read(clk) & ~(1 << clk->enable_bit), clk); in sh_clk_mstp_enable()
70 sh_clk_write(sh_clk_read(clk) | (1 << clk->enable_bit), clk); in sh_clk_mstp_disable()
123 idx = (sh_clk_read(clk) >> clk->enable_bit) & clk->div_mask; in sh_clk_div_recalc()
138 value = sh_clk_read(clk); in sh_clk_div_set_rate()
158 sh_clk_write(sh_clk_read(clk) & ~CPG_CKSTP_BIT, clk); in sh_clk_div_enable()
166 val = sh_clk_read(clk); in sh_clk_div_disable()
209 val = (sh_clk_read(clk) >> clk->src_shift); in sh_clk_init_parent()
300 value = sh_clk_read(clk) & in sh_clk_div6_set_parent()
348 value = sh_clk_read(clk) & ~(1 << 7); in sh_clk_div4_set_parent()
350 value = sh_clk_read(clk) | (1 << 7); in sh_clk_div4_set_parent()