Searched refs:sh_clk_read (Results 1 – 1 of 1) sorted by relevance
19 static unsigned int sh_clk_read(struct clk *clk) in sh_clk_read() function54 sh_clk_write(sh_clk_read(clk) & ~(1 << clk->enable_bit), clk); in sh_clk_mstp_enable()73 sh_clk_write(sh_clk_read(clk) | (1 << clk->enable_bit), clk); in sh_clk_mstp_disable()126 idx = (sh_clk_read(clk) >> clk->enable_bit) & clk->div_mask; in sh_clk_div_recalc()141 value = sh_clk_read(clk); in sh_clk_div_set_rate()161 sh_clk_write(sh_clk_read(clk) & ~CPG_CKSTP_BIT, clk); in sh_clk_div_enable()169 val = sh_clk_read(clk); in sh_clk_div_disable()212 val = (sh_clk_read(clk) >> clk->src_shift); in sh_clk_init_parent()303 value = sh_clk_read(clk) & in sh_clk_div6_set_parent()351 value = sh_clk_read(clk) & ~(1 << 7); in sh_clk_div4_set_parent()[all …]