/linux-6.1.9/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 | 115 struct regmap *sys_regs; member 316 data->sys_regs = syscon_node_to_regmap(data->np->parent); in ccu_div_find_sys_regs() 317 if (IS_ERR(data->sys_regs)) { in ccu_div_find_sys_regs() 320 return PTR_ERR(data->sys_regs); in ccu_div_find_sys_regs() 370 init.sys_regs = data->sys_regs; in ccu_div_clk_register() 374 init.sys_regs = data->sys_regs; in ccu_div_clk_register() 378 init.sys_regs = data->sys_regs; in ccu_div_clk_register() 435 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
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | asm-offsets.c | 116 DEFINE(CPU_RGSR_EL1, offsetof(struct kvm_cpu_context, sys_regs[RGSR_EL1])); in main() 117 DEFINE(CPU_GCR_EL1, offsetof(struct kvm_cpu_context, sys_regs[GCR_EL1])); in main() 118 DEFINE(CPU_APIAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APIAKEYLO_EL1])); in main() 119 DEFINE(CPU_APIBKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APIBKEYLO_EL1])); in main() 120 DEFINE(CPU_APDAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APDAKEYLO_EL1])); in main() 121 DEFINE(CPU_APDBKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APDBKEYLO_EL1])); in main() 122 DEFINE(CPU_APGAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APGAKEYLO_EL1])); in main()
|
/linux-6.1.9/arch/arm64/kvm/ |
D | Makefile | 15 guest.o debug.o reset.o sys_regs.o stacktrace.o \
|
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ |
D | Makefile | 25 cache.o setup.o mm.o mem_protect.o sys_regs.o pkvm.o stacktrace.o
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | kvm_host.h | 268 u64 sys_regs[NR_SYS_REGS]; member 598 #define __ctxt_sys_reg(c,r) (&(c)->sys_regs[(r)])
|