Home
last modified time | relevance | path

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

/drivers/clk/baikal-t1/
Dccu-div.c93 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_var_update_clkdiv()
103 regmap_read(div->sys_regs, div->reg_ctl, &val); in ccu_div_var_update_clkdiv()
124 regmap_read(div->sys_regs, div->reg_ctl, &val); in ccu_div_var_enable()
132 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_var_enable()
147 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_gate_enable()
160 regmap_update_bits(div->sys_regs, div->reg_ctl, CCU_DIV_CTL_EN, 0); in ccu_div_gate_disable()
169 regmap_read(div->sys_regs, div->reg_ctl, &val); in ccu_div_gate_is_enabled()
180 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_buf_enable()
193 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_buf_disable()
203 regmap_read(div->sys_regs, div->reg_ctl, &val); in ccu_div_buf_is_enabled()
[all …]
Dccu-pll.c97 regmap_update_bits(pll->sys_regs, pll->reg_ctl, in ccu_pll_reset()
100 return regmap_read_poll_timeout_atomic(pll->sys_regs, pll->reg_ctl, val, in ccu_pll_reset()
117 regmap_read(pll->sys_regs, pll->reg_ctl, &val); in ccu_pll_enable()
122 regmap_write(pll->sys_regs, pll->reg_ctl, val | CCU_PLL_CTL_EN); in ccu_pll_enable()
138 regmap_update_bits(pll->sys_regs, pll->reg_ctl, CCU_PLL_CTL_EN, 0); in ccu_pll_disable()
147 regmap_read(pll->sys_regs, pll->reg_ctl, &val); in ccu_pll_is_enabled()
159 regmap_read(pll->sys_regs, pll->reg_ctl, &val); in ccu_pll_recalc_rate()
263 regmap_update_bits(pll->sys_regs, pll->reg_ctl, mask, val); in ccu_pll_set_rate_reset()
297 regmap_update_bits(pll->sys_regs, pll->reg_ctl, mask, val); in ccu_pll_set_rate_norst()
376 regmap_update_bits(pll->sys_regs, pll->reg_ctl + bit->reg, in ccu_pll_dbgfs_bit_set()
[all …]
Dclk-ccu-pll.c77 struct regmap *sys_regs; member
116 data->sys_regs = syscon_node_to_regmap(data->np->parent); in ccu_pll_find_sys_regs()
117 if (IS_ERR(data->sys_regs)) { in ccu_pll_find_sys_regs()
120 return PTR_ERR(data->sys_regs); in ccu_pll_find_sys_regs()
155 init.sys_regs = data->sys_regs; in ccu_pll_clk_register()
Dclk-ccu-div.c125 struct regmap *sys_regs; member
363 data->sys_regs = syscon_node_to_regmap(data->np->parent); in ccu_div_find_sys_regs()
364 if (IS_ERR(data->sys_regs)) { in ccu_div_find_sys_regs()
367 return PTR_ERR(data->sys_regs); in ccu_div_find_sys_regs()
408 init.sys_regs = data->sys_regs; in ccu_div_clk_register()
412 init.sys_regs = data->sys_regs; in ccu_div_clk_register()
416 init.sys_regs = data->sys_regs; in ccu_div_clk_register()
Dccu-pll.h31 struct regmap *sys_regs; member
50 struct regmap *sys_regs; member
Dccu-div.h71 struct regmap *sys_regs; member
98 struct regmap *sys_regs; member
/drivers/memory/
Dbt1-l2-ctl.c45 struct regmap *sys_regs; member
82 ret = regmap_read(l2->sys_regs, L2_CTL_REG, &data); in l2_ctl_get_latency()
130 ret = regmap_update_bits(l2->sys_regs, L2_CTL_REG, mask, data); in l2_ctl_set_latency()
134 return regmap_read_poll_timeout(l2->sys_regs, L2_CTL_REG, data, in l2_ctl_set_latency()
172 l2->sys_regs = syscon_node_to_regmap(l2->dev->of_node->parent); in l2_ctl_find_sys_regs()
173 if (IS_ERR(l2->sys_regs)) { in l2_ctl_find_sys_regs()
175 return PTR_ERR(l2->sys_regs); in l2_ctl_find_sys_regs()
/drivers/bus/
Dbt1-axi.c48 struct regmap *sys_regs; member
63 regmap_read(axi->sys_regs, BT1_AXI_WERRL, &low); in bt1_axi_isr()
64 regmap_read(axi->sys_regs, BT1_AXI_WERRH, &high); in bt1_axi_isr()
120 axi->sys_regs = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in bt1_axi_request_regs()
121 if (IS_ERR(axi->sys_regs)) { in bt1_axi_request_regs()
123 return PTR_ERR(axi->sys_regs); in bt1_axi_request_regs()