| /linux/tools/testing/selftests/arm64/signal/testcases/ |
| H A D | zt_regs.c | 49 if (zt->nregs == 0) { in zt_regs_run() 55 head->size, zt->nregs); in zt_regs_run() 58 zeros = malloc(ZT_SIG_REGS_SIZE(zt->nregs)); in zt_regs_run() 60 fprintf(stderr, "Out of memory, nregs=%u\n", zt->nregs); in zt_regs_run() 63 memset(zeros, 0, ZT_SIG_REGS_SIZE(zt->nregs)); in zt_regs_run() 66 ZT_SIG_REGS_SIZE(zt->nregs)) != 0) { in zt_regs_run()
|
| H A D | testcases.c | 94 if (zt->nregs == 0) { in validate_zt_context() 100 if (zt->head.size != ZT_SIG_CONTEXT_SIZE(zt->nregs)) { in validate_zt_context()
|
| /linux/drivers/nvmem/ |
| H A D | imx-ocotp.c | 96 unsigned int nregs; member 171 if (count > (priv->params->nregs - index)) in imx_ocotp_read() 172 count = priv->params->nregs - index; in imx_ocotp_read() 490 .nregs = 128, 497 .nregs = 64, 504 .nregs = 80, 511 .nregs = 128, 518 .nregs = 144, 525 .nregs = 80, 532 .nregs = 64, [all …]
|
| H A D | imx-ocotp-scu.c | 36 int nregs; member 56 .nregs = 800, 67 .nregs = 800, 145 if (count > (priv->data->nregs - index)) in imx_scu_ocotp_read() 146 count = priv->data->nregs - index; in imx_scu_ocotp_read() 256 imx_scu_ocotp_nvmem_config.size = 4 * priv->data->nregs; in imx_scu_ocotp_probe()
|
| /linux/arch/sparc/prom/ |
| H A D | ranges.c | 20 static void prom_adjust_regs(struct linux_prom_registers *regp, int nregs, in prom_adjust_regs() argument 25 for (regc = 0; regc < nregs; regc++) { in prom_adjust_regs() 58 void prom_apply_obio_ranges(struct linux_prom_registers *regs, int nregs) in prom_apply_obio_ranges() argument 61 prom_adjust_regs(regs, nregs, promlib_obio_ranges, num_obio_ranges); in prom_apply_obio_ranges() 89 struct linux_prom_registers *regs, int nregs) in prom_apply_generic_ranges() argument 112 prom_adjust_regs(regs, nregs, ranges, num_ranges); in prom_apply_generic_ranges()
|
| /linux/tools/perf/arch/x86/util/ |
| H A D | unwind-libdw.c | 13 unsigned nregs; in libdw__arch_set_initial_registers() local 31 nregs = 9; in libdw__arch_set_initial_registers() 50 nregs = 17; in libdw__arch_set_initial_registers() 53 return dwfl_thread_state_registers(thread, 0, nregs, dwarf_regs); in libdw__arch_set_initial_registers()
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-m31.c | 84 unsigned int nregs; member 202 int nregs; member 243 for (i = 0; i < qphy->nregs; i++) { in m31usb_phy_init() 298 qphy->nregs = data->nregs; in m31usb_phy_probe() 321 .nregs = ARRAY_SIZE(m31_ipq5018_regs), 327 .nregs = ARRAY_SIZE(m31_ipq5332_regs),
|
| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | cmd.c | 62 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, in carl9170_read_mreg() argument 70 for (i = 0; i < nregs; i++) in carl9170_read_mreg() 77 4 * nregs, (u8 *)offs, in carl9170_read_mreg() 78 4 * nregs, (u8 *)res); in carl9170_read_mreg() 88 for (i = 0; i < nregs; i++) in carl9170_read_mreg()
|
| H A D | cmd.h | 47 int carl9170_read_mreg(struct ar9170 *ar, const int nregs,
|
| /linux/drivers/gpio/ |
| H A D | gpio-74x164.c | 115 u32 nregs; in gen_74x164_probe() local 127 ret = device_property_read_u32(dev, "registers-number", &nregs); in gen_74x164_probe() 131 chip = devm_kzalloc(dev, struct_size(chip, buffer, nregs), GFP_KERNEL); in gen_74x164_probe() 135 chip->registers = nregs; in gen_74x164_probe()
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_debugfs.c | 73 regset->nregs = ARRAY_SIZE(debug_regs); in cc_debugfs_init() 92 verset->nregs = ARRAY_SIZE(ver_sig_regs); in cc_debugfs_init() 95 verset->nregs = ARRAY_SIZE(pid_cid_regs); in cc_debugfs_init()
|
| /linux/arch/m68k/include/asm/ |
| H A D | oplib.h | 279 extern void prom_adjust_regs(struct linux_prom_registers *regp, int nregs, 287 extern void prom_apply_obio_ranges(struct linux_prom_registers *obioregs, int nregs); 291 struct linux_prom_registers *sbusregs, int nregs);
|
| /linux/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-armada-xp.c | 544 int i, nregs; in armada_xp_pinctrl_suspend() local 546 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_suspend() 548 for (i = 0; i < nregs; i++) in armada_xp_pinctrl_suspend() 558 int i, nregs; in armada_xp_pinctrl_resume() local 560 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_resume() 562 for (i = 0; i < nregs; i++) in armada_xp_pinctrl_resume() 571 int nregs; in armada_xp_pinctrl_probe() local 622 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_probe() 624 mpp_saved_regs = devm_kmalloc_array(&pdev->dev, nregs, sizeof(u32), in armada_xp_pinctrl_probe()
|
| /linux/drivers/pinctrl/uniphier/ |
| H A D | pinctrl-uniphier-core.c | 33 unsigned int nregs; member 34 u32 vals[] __counted_by(nregs); 709 r->nregs); in uniphier_pinctrl_suspend() 725 r->nregs); in uniphier_pinctrl_resume() 747 unsigned int nregs; in uniphier_pinctrl_add_reg_region() local 752 nregs = DIV_ROUND_UP(count * width, 32); in uniphier_pinctrl_add_reg_region() 754 region = devm_kzalloc(dev, struct_size(region, vals, nregs), in uniphier_pinctrl_add_reg_region() 760 region->nregs = nregs; in uniphier_pinctrl_add_reg_region()
|
| /linux/arch/sparc/include/asm/ |
| H A D | oplib_32.h | 169 void prom_apply_obio_ranges(struct linux_prom_registers *obioregs, int nregs); 173 struct linux_prom_registers *sbusregs, int nregs);
|
| /linux/arch/powerpc/include/asm/ |
| H A D | elf.h | 42 int i, nregs = min(sizeof(*regs) / sizeof(unsigned long), \ 44 for (i = 0; i < nregs; i++) \
|
| /linux/drivers/usb/host/ |
| H A D | xhci-debugfs.c | 116 size_t nregs, struct dentry *parent, in xhci_debugfs_regset() argument 134 regset->nregs = nregs; in xhci_debugfs_regset() 147 size_t psic, nregs = n; in xhci_debugfs_extcap_regset() local 154 nregs = min(4 + psic, n); in xhci_debugfs_extcap_regset() 157 xhci_debugfs_regset(xhci, offset, regs, nregs, in xhci_debugfs_extcap_regset()
|
| H A D | xhci-debugfs.h | 82 size_t nregs; member
|
| /linux/include/linux/ |
| H A D | debugfs.h | 36 int nregs; member 215 int nregs, void __iomem *base, char *prefix); 426 int nregs, void __iomem *base, char *prefix) in debugfs_print_regs32() argument
|
| /linux/Documentation/translations/zh_CN/filesystems/ |
| H A D | debugfs.rst | 153 int nregs; 162 int nregs, void __iomem *base, char *prefix);
|
| /linux/Documentation/translations/zh_TW/filesystems/ |
| H A D | debugfs.rst | 154 int nregs; 163 int nregs, void __iomem *base, char *prefix);
|
| /linux/arch/arm64/kernel/ |
| H A D | signal.c | 612 __put_user_error(1, &ctx->nregs, err); in preserve_zt_context() 626 u16 nregs; in restore_zt_context() local 635 if (__copy_from_user(&nregs, &(user->zt->nregs), sizeof(nregs))) in restore_zt_context() 638 if (nregs != 1) in restore_zt_context()
|
| /linux/drivers/thermal/broadcom/ |
| H A D | bcm2835_thermal.c | 132 regset->nregs = ARRAY_SIZE(bcm2835_thermal_regs); in bcm2835_thermal_debugfs()
|
| /linux/drivers/net/ethernet/amd/pds_core/ |
| H A D | debugfs.c | 163 intr_ctrl_regset->nregs = ARRAY_SIZE(intr_ctrl_regs); in pdsc_debugfs_add_qcq()
|
| /linux/sound/soc/codecs/ |
| H A D | wm5110.c | 295 int nregs; in wm5110_hp_pre_enable() local 301 nregs = ARRAY_SIZE(wm5110_dre_left_enable); in wm5110_hp_pre_enable() 304 nregs = ARRAY_SIZE(wm5110_no_dre_left_enable); in wm5110_hp_pre_enable() 311 nregs = ARRAY_SIZE(wm5110_dre_right_enable); in wm5110_hp_pre_enable() 314 nregs = ARRAY_SIZE(wm5110_no_dre_right_enable); in wm5110_hp_pre_enable() 322 return regmap_multi_reg_write(arizona->regmap, wseq, nregs); in wm5110_hp_pre_enable()
|