Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/baikal-t1/
H A Dccu-div.c92 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 …]
H A 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 …]
H A Dclk-ccu-div.c114 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()
H A Dclk-ccu-pll.c80 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()
H A Dccu-rst.c112 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()
H A Dccu-rst.h32 struct regmap *sys_regs; member
44 struct regmap *sys_regs; member
H A Dccu-pll.h38 struct regmap *sys_regs; member
58 struct regmap *sys_regs; member
H A Dccu-div.h74 struct regmap *sys_regs; member
101 struct regmap *sys_regs; member
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-bt1.c164 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 …]
/openbmc/linux/drivers/memory/
H A 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()
/openbmc/linux/drivers/bus/
H A 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()
/openbmc/linux/arch/arm64/kernel/
H A Dasm-offsets.c133 DEFINE(CPU_RGSR_EL1, offsetof(struct kvm_cpu_context, sys_regs[RGSR_EL1])); in main()
134 DEFINE(CPU_GCR_EL1, offsetof(struct kvm_cpu_context, sys_regs[GCR_EL1])); in main()
135 DEFINE(CPU_APIAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APIAKEYLO_EL1])); in main()
136 DEFINE(CPU_APIBKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APIBKEYLO_EL1])); in main()
137 DEFINE(CPU_APDAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APDAKEYLO_EL1])); in main()
138 DEFINE(CPU_APDBKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APDBKEYLO_EL1])); in main()
139 DEFINE(CPU_APGAKEYLO_EL1, offsetof(struct kvm_cpu_context, sys_regs[APGAKEYLO_EL1])); in main()
/openbmc/linux/arch/arm64/kvm/
H A Darm.c2153 hyp_ctxt->sys_regs[APIAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2154 hyp_ctxt->sys_regs[APIAKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2155 hyp_ctxt->sys_regs[APIBKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2156 hyp_ctxt->sys_regs[APIBKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2157 hyp_ctxt->sys_regs[APDAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2158 hyp_ctxt->sys_regs[APDAKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2159 hyp_ctxt->sys_regs[APDBKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2160 hyp_ctxt->sys_regs[APDBKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2161 hyp_ctxt->sys_regs[APGAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
2162 hyp_ctxt->sys_regs[APGAKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
H A DMakefile15 guest.o debug.o reset.o sys_regs.o stacktrace.o \
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A DMakefile25 cache.o setup.o mm.o mem_protect.o sys_regs.o pkvm.o stacktrace.o ffa.o
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_host.h426 u64 sys_regs[NR_SYS_REGS]; member
795 #define __ctxt_sys_reg(c,r) (&(c)->sys_regs[(r)])
/openbmc/linux/
H A Dopengrok0.0.log1987 2024-12-28 20:09:06.342-0600 FINEST t1122 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/arch/arm64/kvm/hyp/nvhe/sys_regs.c.gz'
[all...]
H A Dopengrok2.0.log[all...]