Home
last modified time | relevance | path

Searched refs:nr_regs (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/arch/arm/mach-omap2/
Dprm_common.c86 for (i = 0; i < prcm_irq_setup->nr_regs; i++) { in omap_prcm_events_filter_priority()
107 int nr_irq = prcm_irq_setup->nr_regs * 32; in omap_prcm_irq_handler()
201 for (i = 0; i < prcm_irq_setup->nr_regs; i++) { in omap_prcm_irq_cleanup()
222 prcm_irq_setup->nr_regs * 32); in omap_prcm_irq_cleanup()
261 int nr_regs; in omap_prcm_register_chain_handler() local
270 nr_regs = irq_setup->nr_regs; in omap_prcm_register_chain_handler()
277 if (nr_regs > OMAP_PRCM_MAX_NR_PENDING_REG) { in omap_prcm_register_chain_handler()
284 prcm_irq_chips = kcalloc(nr_regs, sizeof(void *), GFP_KERNEL); in omap_prcm_register_chain_handler()
285 prcm_irq_setup->saved_mask = kcalloc(nr_regs, sizeof(u32), in omap_prcm_register_chain_handler()
287 prcm_irq_setup->priority_mask = kcalloc(nr_regs, sizeof(u32), in omap_prcm_register_chain_handler()
[all …]
Dprm44xx.c49 .nr_regs = 2,
227 for (i = 0; i < omap4_prcm_irq_setup.nr_regs; i++) in omap44xx_prm_read_pending_irqs()
262 for (i = 0; i < omap4_prcm_irq_setup.nr_regs; i++) { in omap44xx_prm_save_and_clear_irqen()
290 for (i = 0; i < omap4_prcm_irq_setup.nr_regs; i++) in omap44xx_prm_restore_irqen()
822 omap4_prcm_irq_setup.nr_regs = 1; in omap44xx_prm_init()
Dprcm-common.h502 u8 nr_regs; member
Dprm3xxx.c45 .nr_regs = 1,
/linux-6.6.21/arch/arm64/kernel/
Dcompat_alignment.c117 unsigned int rd, rn, nr_regs, regbits; in do_alignment_ldmstm() local
122 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
128 nr_regs = -nr_regs; in do_alignment_ldmstm()
129 newaddr += nr_regs; in do_alignment_ldmstm()
/linux-6.6.21/drivers/mfd/
Dpcf50633-core.c28 int nr_regs, u8 *data) in pcf50633_read_block() argument
32 ret = regmap_raw_read(pcf->regmap, reg, data, nr_regs); in pcf50633_read_block()
36 return nr_regs; in pcf50633_read_block()
42 int nr_regs, u8 *data) in pcf50633_write_block() argument
44 return regmap_raw_write(pcf->regmap, reg, data, nr_regs); in pcf50633_write_block()
/linux-6.6.21/arch/s390/kvm/
Dpriv.c1309 int reg, rc, nr_regs; in kvm_s390_handle_lctl() local
1327 nr_regs = ((reg3 - reg1) & 0xf) + 1; in kvm_s390_handle_lctl()
1328 rc = read_guest(vcpu, ga, ar, ctl_array, nr_regs * sizeof(u32)); in kvm_s390_handle_lctl()
1332 nr_regs = 0; in kvm_s390_handle_lctl()
1335 vcpu->arch.sie_block->gcr[reg] |= ctl_array[nr_regs++]; in kvm_s390_handle_lctl()
1348 int reg, rc, nr_regs; in kvm_s390_handle_stctl() local
1367 nr_regs = 0; in kvm_s390_handle_stctl()
1369 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in kvm_s390_handle_stctl()
1374 rc = write_guest(vcpu, ga, ar, ctl_array, nr_regs * sizeof(u32)); in kvm_s390_handle_stctl()
1382 int reg, rc, nr_regs; in handle_lctlg() local
[all …]
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-config.h110 int nr_regs; member
212 int nr_regs; member
Dcoresight-config.c80 for (i = 0; i < feat_csdev->nr_regs; i++) in cscfg_set_on_enable()
95 for (i = 0; i < feat_csdev->nr_regs; i++) in cscfg_save_on_disable()
117 for (i = 0; i < feat_csdev->nr_regs; i++) { in cscfg_reset_feat()
Dcoresight-cfg-afdo.c110 .nr_regs = ARRAY_SIZE(strobe_regs),
Dcoresight-etm4x-cfg.c164 for (i = 0; i < feat_csdev->nr_regs && !err; i++) { in etm4_cfg_load_feature()
Dcoresight-syscfg.c160 feat_csdev->nr_regs = feat_desc->nr_regs; in cscfg_alloc_csdev_feat()
161 feat_csdev->regs_csdev = devm_kcalloc(dev, feat_csdev->nr_regs, in cscfg_alloc_csdev_feat()
/linux-6.6.21/include/linux/mfd/pcf50633/
Dcore.h63 int nr_regs, u8 *data);
65 int nr_regs, u8 *data);
/linux-6.6.21/arch/x86/net/
Dbpf_jit_comp.c2023 int arg_regs, first_off = 0, nr_regs = 0, nr_stack_slots = 0; in save_args() local
2051 if (nr_regs + arg_regs > 6) { in save_args()
2079 nr_regs += arg_regs; in save_args()
2086 nr_regs == 5 ? X86_REG_R9 : BPF_REG_1 + nr_regs, in save_args()
2089 nr_regs++; in save_args()
2100 int i, j, arg_regs, nr_regs = 0; in restore_regs() local
2111 if (nr_regs + arg_regs <= 6) { in restore_regs()
2114 nr_regs == 5 ? X86_REG_R9 : BPF_REG_1 + nr_regs, in restore_regs()
2118 nr_regs++; in restore_regs()
2124 if (nr_regs >= 6) in restore_regs()
[all …]
/linux-6.6.21/drivers/pinctrl/samsung/
Dpinctrl-samsung.h199 int nr_regs; member
217 int nr_regs; member
Dpinctrl-exynos-arm.c201 .nr_regs = ARRAY_SIZE(exynos3250_retention_regs),
301 .nr_regs = ARRAY_SIZE(exynos4_retention_regs),
314 .nr_regs = ARRAY_SIZE(exynos4_audio_retention_regs),
835 .nr_regs = ARRAY_SIZE(exynos5420_retention_regs),
Dpinctrl-exynos-arm64.c170 .nr_regs = ARRAY_SIZE(exynos5433_retention_regs),
183 .nr_regs = ARRAY_SIZE(exynos5433_audio_retention_regs),
197 .nr_regs = ARRAY_SIZE(exynos5433_fsys_retention_regs),
Dpinctrl-exynos.c732 for (i = 0; i < ctrl->nr_regs; i++) in exynos_retention_disable()
754 ctrl->nr_regs = data->nr_regs; in exynos_retention_init()
761 for (i = 0; i < ctrl->nr_regs; i++) in exynos_retention_init()
/linux-6.6.21/arch/arm64/kvm/
Dguest.c195 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in get_core_reg() local
201 if (off >= nr_regs || in get_core_reg()
202 (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) in get_core_reg()
218 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in set_core_reg() local
226 if (off >= nr_regs || in set_core_reg()
227 (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) in set_core_reg()
/linux-6.6.21/arch/arm/mm/
Dalignment.c502 unsigned int rd, rn, correction, nr_regs, regbits; in do_alignment_ldmstm() local
514 nr_regs = hweight16(REGMASK_BITS(instr)) * 4; in do_alignment_ldmstm()
520 nr_regs = -nr_regs; in do_alignment_ldmstm()
521 newaddr += nr_regs; in do_alignment_ldmstm()
/linux-6.6.21/drivers/media/i2c/
Drdacm20.c380 unsigned int nr_regs) in ov10635_set_regs() argument
385 for (i = 0; i < nr_regs; i++) { in ov10635_set_regs()
/linux-6.6.21/tools/testing/selftests/kvm/
Dget-reg-list.c93 static bool find_reg(__u64 regs[], __u64 nr_regs, __u64 reg) in find_reg() argument
97 for (i = 0; i < nr_regs; ++i) in find_reg()
/linux-6.6.21/drivers/bus/
Dti-sysc.c855 int i, j, nr_regs = 0, nr_matches = 0; in sysc_check_registers() local
874 nr_regs++; in sysc_check_registers()
877 if (nr_matches > nr_regs) { in sysc_check_registers()
879 nr_regs, nr_matches); in sysc_check_registers()