/drivers/clk/baikal-t1/ |
D | ccu-div.c | 92 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_var_update_clkdiv() 102 regmap_read(div->sys_regs, div->reg_ctl, &val); in ccu_div_var_update_clkdiv() 123 regmap_read(div->sys_regs, div->reg_ctl, &val); in ccu_div_var_enable() 131 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_var_enable() 146 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_gate_enable() 159 regmap_update_bits(div->sys_regs, div->reg_ctl, CCU_DIV_CTL_EN, 0); in ccu_div_gate_disable() 168 regmap_read(div->sys_regs, div->reg_ctl, &val); in ccu_div_gate_is_enabled() 179 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_buf_enable() 192 regmap_update_bits(div->sys_regs, div->reg_ctl, in ccu_div_buf_disable() 202 regmap_read(div->sys_regs, div->reg_ctl, &val); in ccu_div_buf_is_enabled() [all …]
|
D | ccu-pll.c | 97 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 …]
|
D | clk-ccu-div.c | 114 struct regmap *sys_regs; member 315 data->sys_regs = syscon_node_to_regmap(data->np->parent); in ccu_div_find_sys_regs() 316 if (IS_ERR(data->sys_regs)) { in ccu_div_find_sys_regs() 319 return PTR_ERR(data->sys_regs); in ccu_div_find_sys_regs() 369 init.sys_regs = data->sys_regs; in ccu_div_clk_register() 373 init.sys_regs = data->sys_regs; in ccu_div_clk_register() 377 init.sys_regs = data->sys_regs; in ccu_div_clk_register() 434 init.sys_regs = data->sys_regs; in ccu_div_rst_register()
|
D | clk-ccu-pll.c | 80 struct regmap *sys_regs; member 119 data->sys_regs = syscon_node_to_regmap(data->np->parent); in ccu_pll_find_sys_regs() 120 if (IS_ERR(data->sys_regs)) { in ccu_pll_find_sys_regs() 123 return PTR_ERR(data->sys_regs); in ccu_pll_find_sys_regs() 168 init.sys_regs = data->sys_regs; in ccu_pll_clk_register()
|
D | ccu-rst.c | 112 regmap_update_bits(rst->sys_regs, info->base, info->mask, info->mask); in ccu_rst_reset() 129 return regmap_update_bits(rst->sys_regs, info->base, in ccu_rst_set() 155 regmap_read(rst->sys_regs, info->base, &val); in ccu_rst_status() 179 rst->sys_regs = rst_init->sys_regs; in ccu_rst_hw_register()
|
D | ccu-rst.h | 32 struct regmap *sys_regs; member 44 struct regmap *sys_regs; member
|
D | ccu-pll.h | 38 struct regmap *sys_regs; member 58 struct regmap *sys_regs; member
|
D | ccu-div.h | 74 struct regmap *sys_regs; member 101 struct regmap *sys_regs; member
|
/drivers/pci/controller/dwc/ |
D | pcie-bt1.c | 164 struct regmap *sys_regs; member 247 regmap_update_bits(btpci->sys_regs, BT1_CCU_PCIE_GENC, in bt1_pcie_write_dbi2() 254 regmap_update_bits(btpci->sys_regs, BT1_CCU_PCIE_GENC, in bt1_pcie_write_dbi2() 268 regmap_update_bits(btpci->sys_regs, BT1_CCU_PCIE_GENC, in bt1_pcie_start_link() 271 ret = regmap_read_poll_timeout(btpci->sys_regs, BT1_CCU_PCIE_PMSC, val, in bt1_pcie_start_link() 279 ret = regmap_read_poll_timeout(btpci->sys_regs, BT1_CCU_PCIE_PMSC, val, in bt1_pcie_start_link() 296 ret = regmap_read_poll_timeout(btpci->sys_regs, BT1_CCU_PCIE_PMSC, val, in bt1_pcie_start_link() 309 regmap_update_bits(btpci->sys_regs, BT1_CCU_PCIE_GENC, in bt1_pcie_stop_link() 336 btpci->sys_regs = in bt1_pcie_get_resources() 338 if (IS_ERR(btpci->sys_regs)) in bt1_pcie_get_resources() [all …]
|
/drivers/memory/ |
D | bt1-l2-ctl.c | 45 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/ |
D | bt1-axi.c | 48 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()
|