/Linux-v6.6/drivers/nvmem/ |
D | u-boot-env.c | 32 int ncells; member 102 priv->ncells = 0; in u_boot_env_add_cells() 104 priv->ncells++; in u_boot_env_add_cells() 106 priv->cells = devm_kcalloc(dev, priv->ncells, sizeof(*priv->cells), GFP_KERNEL); in u_boot_env_add_cells() 132 if (WARN_ON(idx != priv->ncells)) in u_boot_env_add_cells() 133 priv->ncells = idx; in u_boot_env_add_cells() 233 config.ncells = priv->ncells; in u_boot_env_probe()
|
D | brcm_nvram.c | 24 int ncells; member 73 priv->ncells = 0; in brcm_nvram_add_cells() 77 priv->ncells++; in brcm_nvram_add_cells() 80 priv->cells = devm_kcalloc(dev, priv->ncells, sizeof(*priv->cells), GFP_KERNEL); in brcm_nvram_add_cells() 174 config.ncells = priv->ncells; in brcm_nvram_probe()
|
D | core.c | 554 int ncells) in nvmem_add_cells() argument 558 for (i = 0; i < ncells; i++) { in nvmem_add_cells() 603 for (i = 0; i < table->ncells; i++) { in nvmem_add_cells_from_table() 991 rval = nvmem_add_cells(nvmem, config->cells, config->ncells); in nvmem_register()
|
/Linux-v6.6/drivers/mfd/ |
D | sta2x11-mfd.c | 516 int ncells; member 532 .ncells = ARRAY_SIZE(sta2x11_mfd0_bar0), 536 .ncells = ARRAY_SIZE(sta2x11_mfd0_bar1), 545 .ncells = ARRAY_SIZE(sta2x11_mfd1_bar0), 549 .ncells = ARRAY_SIZE(sta2x11_mfd1_bar1), 560 for (j = 0; j < sd->bars[i].ncells; j++) { in sta2x11_mfd_setup() 599 setup_data->bars[i].ncells, in sta2x11_mfd_probe()
|
/Linux-v6.6/arch/arm/boot/compressed/ |
D | fdt_check_mem_start.c | 37 static uint64_t get_val(const fdt32_t *cells, uint32_t ncells) in get_val() argument 42 if (ncells > 1) in get_val()
|
/Linux-v6.6/include/linux/ |
D | nvmem-provider.h | 114 int ncells; member 150 size_t ncells; member
|
/Linux-v6.6/sound/core/seq/ |
D | seq_memory.c | 345 int ncells, err; in snd_seq_event_dup() local 352 ncells = 0; in snd_seq_event_dup() 356 ncells = DIV_ROUND_UP(extlen, sizeof(struct snd_seq_event)); in snd_seq_event_dup() 358 if (ncells >= pool->total_elements) in snd_seq_event_dup() 388 while (ncells-- > 0) { in snd_seq_event_dup()
|
/Linux-v6.6/drivers/mailbox/ |
D | ti-msgmgr.c | 580 int i, ncells; in ti_msgmgr_of_xlate() local 589 ncells = 1; in ti_msgmgr_of_xlate() 591 ncells = 2; in ti_msgmgr_of_xlate() 592 if (p->args_count != ncells) { in ti_msgmgr_of_xlate() 594 p->args_count, ncells); in ti_msgmgr_of_xlate() 597 if (ncells == 1) { in ti_msgmgr_of_xlate()
|
/Linux-v6.6/drivers/clk/renesas/ |
D | clk-mstp.c | 319 u32 ncells; in cpg_mstp_add_clk_domain() local 321 if (of_property_read_u32(np, "#power-domain-cells", &ncells)) { in cpg_mstp_add_clk_domain()
|
/Linux-v6.6/drivers/soc/tegra/fuse/ |
D | fuse-tegra.c | 161 nvmem.ncells = fuse->soc->num_cells; in tegra_fuse_probe()
|
/Linux-v6.6/drivers/hwmon/pmbus/ |
D | adm1266.c | 410 data->nvmem_config.ncells = ARRAY_SIZE(adm1266_nvmem_cells); in adm1266_config_nvmem()
|
/Linux-v6.6/Documentation/driver-api/ |
D | nvmem.rst | 76 .ncells = ARRAY_SIZE(foo_nvmem_cells),
|
/Linux-v6.6/drivers/atm/ |
D | idt77252.c | 2077 u64 ncells; in idt77252_est_timer() local 2083 ncells = est->cells; in idt77252_est_timer() 2085 rate = ((u32)(ncells - est->last_cells)) << (7 - est->interval); in idt77252_est_timer() 2086 est->last_cells = ncells; in idt77252_est_timer()
|