/drivers/mtd/nand/raw/ |
D | nand_hynix.c | 27 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 …]
|
/drivers/nvmem/ |
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() 474 .nregs = 128, 481 .nregs = 64, 488 .nregs = 80, 495 .nregs = 128, 502 .nregs = 144, 509 .nregs = 80, 516 .nregs = 64, [all …]
|
D | imx-iim.c | 25 unsigned int nregs; member 57 .nregs = 2 * 32, 61 .nregs = 3 * 32, 65 .nregs = 4 * 32, 69 .nregs = 4 * 32 + 16, 125 cfg.size = drvdata->nregs; in imx_iim_probe()
|
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() 255 imx_scu_ocotp_nvmem_config.size = 4 * priv->data->nregs; in imx_scu_ocotp_probe()
|
/drivers/irqchip/ |
D | qcom-irq-combiner.c | 35 u32 nregs; member 55 for (reg = 0; reg < combiner->nregs; reg++) { in combiner_handle_irq() 199 ctx->combiner->regs[ctx->combiner->nregs].addr = vaddr; in get_registers_cb() 201 ctx->combiner->nregs++; in get_registers_cb() 228 int nregs; in combiner_probe() local 231 nregs = count_registers(pdev); in combiner_probe() 232 if (nregs <= 0) { in combiner_probe() 237 combiner = devm_kzalloc(&pdev->dev, struct_size(combiner, regs, nregs), in combiner_probe()
|
/drivers/net/wireless/ath/carl9170/ |
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()
|
D | cmd.h | 47 int carl9170_read_mreg(struct ar9170 *ar, const int nregs,
|
/drivers/gpio/ |
D | gpio-74x164.c | 103 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()
|
D | gpio-uniphier.c | 345 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()
|
/drivers/crypto/ccree/ |
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()
|
/drivers/pinctrl/mvebu/ |
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() 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()
|
/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-core.c | 31 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()
|
/drivers/usb/host/ |
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()
|
D | xhci-debugfs.h | 82 size_t nregs; member
|
/drivers/gpu/drm/ |
D | drm_print.c | 335 for (i = 0; i < regset->nregs; i++) in drm_print_regset32() 338 for (i = 0; i < regset->nregs; i++) { in drm_print_regset32()
|
/drivers/usb/mtu3/ |
D | mtu3_debugfs.c | 125 const struct debugfs_reg32 *regs, size_t nregs, in mtu3_debugfs_regset() argument 138 regset->nregs = nregs; in mtu3_debugfs_regset()
|
/drivers/gpu/drm/vc4/ |
D | vc4_dsi.c | 546 size_t nregs; member 1385 .nregs = ARRAY_SIZE(dsi1_regs), 1392 .nregs = ARRAY_SIZE(dsi0_regs), 1400 .nregs = ARRAY_SIZE(dsi1_regs), 1594 dsi->regset.nregs = dsi->variant->nregs; in vc4_dsi_bind()
|
/drivers/crypto/ |
D | s5p-sss.c | 363 unsigned int nregs; /* digest_size / sizeof(reg) */ member 792 for (i = 0; i < ctx->nregs; i++) in s5p_hash_read_msg() 807 for (i = 0; i < ctx->nregs; i++) in s5p_hash_write_ctx_iv() 833 memcpy(req->result, ctx->digest, ctx->nregs * HASH_REG_SIZEOF); in s5p_hash_copy_result() 1616 ctx->nregs = HASH_MD5_MAX_REG; in s5p_hash_init() 1620 ctx->nregs = HASH_SHA1_MAX_REG; in s5p_hash_init() 1624 ctx->nregs = HASH_SHA256_MAX_REG; in s5p_hash_init()
|
/drivers/thermal/broadcom/ |
D | bcm2835_thermal.c | 132 regset->nregs = ARRAY_SIZE(bcm2835_thermal_regs); in bcm2835_thermal_debugfs()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 115 unsigned int nregs, unsigned int start_idx) in t4_read_indirect() argument 117 while (nregs--) { in t4_read_indirect() 138 unsigned int nregs, unsigned int start_idx) in t4_write_indirect() argument 140 while (nregs--) { in t4_write_indirect() 5297 unsigned int nregs, unsigned int start_index, in t4_tp_fw_ldst_rw() argument 5304 for (i = 0; i < nregs; i++) { in t4_tp_fw_ldst_rw() 5341 u32 *buff, u32 nregs, u32 start_index, int rw, in t4_tp_indirect_rw() argument 5362 rc = t4_tp_fw_ldst_rw(adap, cmd, buff, nregs, start_index, rw, in t4_tp_indirect_rw() 5369 t4_read_indirect(adap, reg_addr, reg_data, buff, nregs, in t4_tp_indirect_rw() 5372 t4_write_indirect(adap, reg_addr, reg_data, buff, nregs, in t4_tp_indirect_rw() [all …]
|
D | cxgb4.h | 1783 unsigned int nregs, unsigned int start_idx); 1785 unsigned int data_reg, u32 *vals, unsigned int nregs, 2088 void t4_tp_pio_read(struct adapter *adap, u32 *buff, u32 nregs, 2090 void t4_tp_tm_pio_read(struct adapter *adap, u32 *buff, u32 nregs, 2092 void t4_tp_mib_read(struct adapter *adap, u32 *buff, u32 nregs,
|
/drivers/media/platform/sti/c8sectpfe/ |
D | c8sectpfe-debugfs.c | 233 fei->regset->nregs = ARRAY_SIZE(fei_sys_regs); in c8sectpfe_debugfs_init()
|
/drivers/remoteproc/ |
D | pru_rproc.c | 158 int i, nregs = 32; in regs_show() local 190 for (i = 0; i < nregs; i++) { in regs_show()
|
/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 139 size_t nregs; in intel_get_padcfg() local 146 nregs = (community->features & PINCTRL_FEATURE_DEBOUNCE) ? 4 : 2; in intel_get_padcfg() 148 if (reg >= nregs * 4) in intel_get_padcfg() 151 return community->pad_regs + reg + padno * nregs * 4; in intel_get_padcfg()
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_debugfs.c | 200 intr_ctrl_regset->nregs = ARRAY_SIZE(intr_ctrl_regs); in ionic_debugfs_add_qcq()
|