Home
last modified time | relevance | path

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

/linux-6.1.9/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.c44 .nr_regs = 1,
/linux-6.1.9/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.1.9/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.1.9/arch/s390/kvm/
Dpriv.c1311 int reg, rc, nr_regs; in kvm_s390_handle_lctl() local
1329 nr_regs = ((reg3 - reg1) & 0xf) + 1; in kvm_s390_handle_lctl()
1330 rc = read_guest(vcpu, ga, ar, ctl_array, nr_regs * sizeof(u32)); in kvm_s390_handle_lctl()
1334 nr_regs = 0; in kvm_s390_handle_lctl()
1337 vcpu->arch.sie_block->gcr[reg] |= ctl_array[nr_regs++]; in kvm_s390_handle_lctl()
1350 int reg, rc, nr_regs; in kvm_s390_handle_stctl() local
1369 nr_regs = 0; in kvm_s390_handle_stctl()
1371 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in kvm_s390_handle_stctl()
1376 rc = write_guest(vcpu, ga, ar, ctl_array, nr_regs * sizeof(u32)); in kvm_s390_handle_stctl()
1384 int reg, rc, nr_regs; in handle_lctlg() local
[all …]
/linux-6.1.9/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.1.9/include/linux/mfd/pcf50633/
Dcore.h62 int nr_regs, u8 *data);
64 int nr_regs, u8 *data);
/linux-6.1.9/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.1.9/arch/arm64/kvm/
Dguest.c194 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in get_core_reg() local
200 if (off >= nr_regs || in get_core_reg()
201 (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) in get_core_reg()
217 int nr_regs = sizeof(struct kvm_regs) / sizeof(__u32); in set_core_reg() local
225 if (off >= nr_regs || in set_core_reg()
226 (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) in set_core_reg()
/linux-6.1.9/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.1.9/arch/x86/net/
Dbpf_jit_comp.c1756 int i, j, arg_size, nr_regs; in save_regs() local
1764 nr_regs = (m->arg_size[i] + 7) / 8; in save_regs()
1767 nr_regs = 1; in save_regs()
1771 while (nr_regs) { in save_regs()
1776 nr_regs--; in save_regs()
1785 int i, j, arg_size, nr_regs; in restore_regs() local
1794 nr_regs = (m->arg_size[i] + 7) / 8; in restore_regs()
1797 nr_regs = 1; in restore_regs()
1801 while (nr_regs) { in restore_regs()
1806 nr_regs--; in restore_regs()
/linux-6.1.9/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()
Dimx290.c415 u8 nr_regs, u32 value) in imx290_write_buffered_reg() argument
426 for (i = 0; i < nr_regs; i++) { in imx290_write_buffered_reg()
/linux-6.1.9/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c125 static bool find_reg(__u64 regs[], __u64 nr_regs, __u64 reg) in find_reg() argument
129 for (i = 0; i < nr_regs; ++i) in find_reg()
/linux-6.1.9/drivers/bus/
Dti-sysc.c876 int i, j, nr_regs = 0, nr_matches = 0; in sysc_check_registers() local
895 nr_regs++; in sysc_check_registers()
898 if (nr_matches > nr_regs) { in sysc_check_registers()
900 nr_regs, nr_matches); in sysc_check_registers()