Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/sh/clk/
Dcpg.c19 static unsigned int sh_clk_read(struct clk *clk) in sh_clk_read() function
56 sh_clk_write(sh_clk_read(clk) & ~(1 << clk->enable_bit), clk); in sh_clk_mstp_enable()
85 sh_clk_write(sh_clk_read(clk) | (1 << clk->enable_bit), clk); in sh_clk_mstp_disable()
138 idx = (sh_clk_read(clk) >> clk->enable_bit) & clk->div_mask; in sh_clk_div_recalc()
153 value = sh_clk_read(clk); in sh_clk_div_set_rate()
173 sh_clk_write(sh_clk_read(clk) & ~CPG_CKSTP_BIT, clk); in sh_clk_div_enable()
181 val = sh_clk_read(clk); in sh_clk_div_disable()
224 val = (sh_clk_read(clk) >> clk->src_shift); in sh_clk_init_parent()
315 value = sh_clk_read(clk) & in sh_clk_div6_set_parent()
363 value = sh_clk_read(clk) & ~(1 << 7); in sh_clk_div4_set_parent()
[all …]