Home
last modified time | relevance | path

Searched refs:nregs (Results 1 – 25 of 56) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_hynix.c27 int nregs; member
53 int nregs; member
115 (retry_mode * hynix->read_retry->nregs); in hynix_nand_setup_read_retry()
131 for (i = 0; i < hynix->read_retry->nregs; i++) { in hynix_nand_setup_read_retry()
205 for (i = 0; i < info->nregs; i++) { in hynix_read_rr_otp()
259 static int hynix_mlc_1xnm_rr_value(const u8 *buf, int nmodes, int nregs, in hynix_mlc_1xnm_rr_value() argument
263 int val_offs = (mode * nregs) + reg; in hynix_mlc_1xnm_rr_value()
264 int set_size = nmodes * nregs; in hynix_mlc_1xnm_rr_value()
293 u8 nregs, nmodes; in hynix_mlc_1xnm_rr_init() local
311 &nregs); in hynix_mlc_1xnm_rr_init()
[all …]
/kernel/linux/linux-5.10/drivers/nvmem/
Dimx-ocotp.c94 unsigned int nregs; member
168 if (count > (priv->params->nregs - index)) in imx_ocotp_read()
169 count = priv->params->nregs - index; in imx_ocotp_read()
456 .nregs = 128,
463 .nregs = 64,
470 .nregs = 128,
477 .nregs = 128,
484 .nregs = 128,
491 .nregs = 64,
498 .nregs = 64,
[all …]
Dimx-iim.c25 unsigned int nregs; member
57 .nregs = 2 * 32,
61 .nregs = 3 * 32,
65 .nregs = 4 * 32,
69 .nregs = 4 * 32 + 16,
130 cfg.size = drvdata->nregs; in imx_iim_probe()
Dimx-ocotp-scu.c36 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()
255 imx_scu_ocotp_nvmem_config.size = 4 * priv->data->nregs; in imx_scu_ocotp_probe()
/kernel/linux/linux-5.10/arch/sparc/prom/
Dranges.c20 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()
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dunwind-libdw.c12 unsigned nregs; in libdw__arch_set_initial_registers() local
30 nregs = 9; in libdw__arch_set_initial_registers()
49 nregs = 17; in libdw__arch_set_initial_registers()
52 return dwfl_thread_state_registers(thread, 0, nregs, dwarf_regs); in libdw__arch_set_initial_registers()
/kernel/linux/linux-5.10/drivers/irqchip/
Dqcom-irq-combiner.c35 u32 nregs; member
55 for (reg = 0; reg < combiner->nregs; reg++) { in combiner_handle_irq()
203 ctx->combiner->regs[ctx->combiner->nregs].addr = vaddr; in get_registers_cb()
205 ctx->combiner->nregs++; in get_registers_cb()
232 int nregs; in combiner_probe() local
235 nregs = count_registers(pdev); in combiner_probe()
236 if (nregs <= 0) { in combiner_probe()
241 combiner = devm_kzalloc(&pdev->dev, struct_size(combiner, regs, nregs), in combiner_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
Dcmd.c62 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()
Dcmd.h47 int carl9170_read_mreg(struct ar9170 *ar, const int nregs,
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_debugfs.c73 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()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-74x164.c103 u32 nregs; in gen_74x164_probe() local
115 ret = device_property_read_u32(&spi->dev, "registers-number", &nregs); in gen_74x164_probe()
121 chip = devm_kzalloc(&spi->dev, sizeof(*chip) + nregs, GFP_KERNEL); in gen_74x164_probe()
141 chip->registers = nregs; in gen_74x164_probe()
Dgpio-uniphier.c345 unsigned int nregs; in uniphier_gpio_probe() local
362 nregs = uniphier_gpio_get_nbanks(ngpios) * 2 + 3; in uniphier_gpio_probe()
363 priv = devm_kzalloc(dev, struct_size(priv, saved_vals, nregs), in uniphier_gpio_probe()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Doplib.h277 extern void prom_adjust_regs(struct linux_prom_registers *regp, int nregs,
285 extern void prom_apply_obio_ranges(struct linux_prom_registers *obioregs, int nregs);
289 struct linux_prom_registers *sbusregs, int nregs);
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/
Dpinctrl-armada-xp.c544 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()
573 int nregs; in armada_xp_pinctrl_probe() local
627 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_probe()
629 mpp_saved_regs = devm_kmalloc_array(&pdev->dev, nregs, sizeof(u32), in armada_xp_pinctrl_probe()
/kernel/linux/linux-5.10/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-core.c31 unsigned int nregs; member
707 r->nregs); in uniphier_pinctrl_suspend()
723 r->nregs); in uniphier_pinctrl_resume()
745 unsigned int nregs; in uniphier_pinctrl_add_reg_region() local
750 nregs = DIV_ROUND_UP(count * width, 32); in uniphier_pinctrl_add_reg_region()
752 region = devm_kzalloc(dev, struct_size(region, vals, nregs), in uniphier_pinctrl_add_reg_region()
758 region->nregs = nregs; in uniphier_pinctrl_add_reg_region()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Doplib_32.h169 void prom_apply_obio_ranges(struct linux_prom_registers *obioregs, int nregs);
173 struct linux_prom_registers *sbusregs, int nregs);
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Delf.h42 int i, nregs = min(sizeof(*regs) / sizeof(unsigned long), \
44 for (i = 0; i < nregs; i++) \
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-debugfs.c116 size_t nregs, struct dentry *parent, in xhci_debugfs_regset() argument
134 regset->nregs = nregs; in xhci_debugfs_regset()
146 size_t psic, nregs = n; in xhci_debugfs_extcap_regset() local
153 nregs = min(4 + psic, n); in xhci_debugfs_extcap_regset()
156 xhci_debugfs_regset(xhci, offset, regs, nregs, in xhci_debugfs_extcap_regset()
Dxhci-debugfs.h82 size_t nregs; member
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_debug.h22 size_t nregs; member
Dmtu3_debugfs.c124 const struct debugfs_reg32 *regs, size_t nregs, in mtu3_debugfs_regset() argument
137 regset->nregs = nregs; in mtu3_debugfs_regset()
/kernel/linux/linux-5.10/include/linux/
Ddebugfs.h36 int nregs; member
151 int nregs, void __iomem *base, char *prefix);
335 int nregs, void __iomem *base, char *prefix) in debugfs_print_regs32() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_print.c335 for (i = 0; i < regset->nregs; i++) in drm_print_regset32()
338 for (i = 0; i < regset->nregs; i++) { in drm_print_regset32()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/filesystems/
Ddebugfs.rst153 int nregs;
162 int nregs, void __iomem *base, char *prefix);
/kernel/linux/linux-5.10/drivers/crypto/
Ds5p-sss.c361 unsigned int nregs; /* digest_size / sizeof(reg) */ member
794 for (i = 0; i < ctx->nregs; i++) in s5p_hash_read_msg()
809 for (i = 0; i < ctx->nregs; i++) in s5p_hash_write_ctx_iv()
835 memcpy(req->result, ctx->digest, ctx->nregs * HASH_REG_SIZEOF); in s5p_hash_copy_result()
1618 ctx->nregs = HASH_MD5_MAX_REG; in s5p_hash_init()
1622 ctx->nregs = HASH_SHA1_MAX_REG; in s5p_hash_init()
1626 ctx->nregs = HASH_SHA256_MAX_REG; in s5p_hash_init()

123