Searched refs:meson_parm_write (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/clk/meson/ |
D | vclk.c | 22 meson_parm_write(clk->map, &vclk->enable, 1); in meson_vclk_gate_enable() 25 meson_parm_write(clk->map, &vclk->reset, 1); in meson_vclk_gate_enable() 26 meson_parm_write(clk->map, &vclk->reset, 0); in meson_vclk_gate_enable() 36 meson_parm_write(clk->map, &vclk->enable, 0); in meson_vclk_gate_disable() 94 meson_parm_write(clk->map, &vclk->div, ret); in meson_vclk_div_set_rate() 105 meson_parm_write(clk->map, &vclk->reset, 0); in meson_vclk_div_enable() 106 meson_parm_write(clk->map, &vclk->enable, 1); in meson_vclk_div_enable() 117 meson_parm_write(clk->map, &vclk->enable, 0); in meson_vclk_div_disable() 118 meson_parm_write(clk->map, &vclk->reset, 1); in meson_vclk_div_disable()
|
D | clk-phase.c | 55 meson_parm_write(clk->map, &phase->ph, val); in meson_clk_phase_set_phase() 89 meson_parm_write(clk->map, &tph->ph1, val); in meson_clk_triphase_sync() 90 meson_parm_write(clk->map, &tph->ph2, val); in meson_clk_triphase_sync() 114 meson_parm_write(clk->map, &tph->ph0, val); in meson_clk_triphase_set_phase() 115 meson_parm_write(clk->map, &tph->ph1, val); in meson_clk_triphase_set_phase() 116 meson_parm_write(clk->map, &tph->ph2, val); in meson_clk_triphase_set_phase() 148 meson_parm_write(clk->map, &tph->ws, val ? 0 : 1); in meson_sclk_ws_inv_sync() 171 meson_parm_write(clk->map, &tph->ph, val); in meson_sclk_ws_inv_set_phase() 172 meson_parm_write(clk->map, &tph->ws, val ? 0 : 1); in meson_sclk_ws_inv_set_phase()
|
D | clk-pll.c | 323 meson_parm_write(clk->map, &pll->rst, 1); in meson_clk_pll_init() 329 meson_parm_write(clk->map, &pll->rst, 0); in meson_clk_pll_init() 360 meson_parm_write(clk->map, &pll->rst, 1); in meson_clk_pll_enable() 363 meson_parm_write(clk->map, &pll->en, 1); in meson_clk_pll_enable() 367 meson_parm_write(clk->map, &pll->rst, 0); in meson_clk_pll_enable() 379 meson_parm_write(clk->map, &pll->current_en, 1); in meson_clk_pll_enable() 384 meson_parm_write(clk->map, &pll->l_detect, 1); in meson_clk_pll_enable() 385 meson_parm_write(clk->map, &pll->l_detect, 0); in meson_clk_pll_enable() 401 meson_parm_write(clk->map, &pll->rst, 1); in meson_clk_pll_disable() 404 meson_parm_write(clk->map, &pll->en, 0); in meson_clk_pll_disable() [all …]
|
D | clk-dualdiv.c | 119 meson_parm_write(clk->map, &dualdiv->dual, setting->dual); in meson_clk_dualdiv_set_rate() 120 meson_parm_write(clk->map, &dualdiv->n1, setting->n1 - 1); in meson_clk_dualdiv_set_rate() 121 meson_parm_write(clk->map, &dualdiv->m1, setting->m1 - 1); in meson_clk_dualdiv_set_rate() 122 meson_parm_write(clk->map, &dualdiv->n2, setting->n2 - 1); in meson_clk_dualdiv_set_rate() 123 meson_parm_write(clk->map, &dualdiv->m2, setting->m2 - 1); in meson_clk_dualdiv_set_rate()
|
D | clk-mpll.c | 125 meson_parm_write(clk->map, &mpll->sdm, sdm); in mpll_set_rate() 128 meson_parm_write(clk->map, &mpll->n2, n2); in mpll_set_rate() 148 meson_parm_write(clk->map, &mpll->sdm_en, 1); in mpll_init() 154 meson_parm_write(clk->map, &mpll->ssen, ss); in mpll_init() 159 meson_parm_write(clk->map, &mpll->misc, 1); in mpll_init()
|
D | sclk-div.c | 122 meson_parm_write(clk->map, &sclk->hi, hi); in sclk_apply_ratio() 164 meson_parm_write(clk->map, &sclk->div, sclk->cached_div - 1); in sclk_apply_divider() 206 meson_parm_write(clk->map, &sclk->div, 0); in sclk_div_disable()
|
D | parm.h | 38 static inline void meson_parm_write(struct regmap *map, struct parm *p, in meson_parm_write() function
|
D | clk-cpu-dyndiv.c | 54 meson_parm_write(clk->map, &data->dyn, 1); in meson_clk_cpu_dyndiv_set_rate()
|