Home
last modified time | relevance | path

Searched refs:ncells (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/nvmem/
Dbrcm_nvram.c38 int ncells; member
129 priv->ncells = 0; in brcm_nvram_add_cells()
133 priv->ncells++; in brcm_nvram_add_cells()
136 priv->cells = devm_kcalloc(dev, priv->ncells, sizeof(*priv->cells), GFP_KERNEL); in brcm_nvram_add_cells()
228 config.ncells = priv->ncells; in brcm_nvram_probe()
Dcore.c455 unsigned int ncells = 0, i = 0; in nvmem_populate_sysfs_cells() local
464 ncells = list_count_nodes(&nvmem->cells); in nvmem_populate_sysfs_cells()
465 group.bin_attrs = devm_kcalloc(&nvmem->dev, ncells + 1, in nvmem_populate_sysfs_cells()
472 attrs = devm_kcalloc(&nvmem->dev, ncells, sizeof(struct bin_attribute), GFP_KERNEL); in nvmem_populate_sysfs_cells()
656 int ncells) in nvmem_add_cells() argument
660 for (i = 0; i < ncells; i++) { in nvmem_add_cells()
705 for (i = 0; i < table->ncells; i++) { in nvmem_add_cells_from_table()
1009 rval = nvmem_add_cells(nvmem, config->cells, config->ncells); in nvmem_register()
/linux-6.12.1/drivers/mfd/
Dsta2x11-mfd.c516 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-6.12.1/arch/arm/boot/compressed/
Dfdt_check_mem_start.c37 static uint64_t get_val(const fdt32_t *cells, uint32_t ncells) in get_val() argument
42 if (ncells > 1) in get_val()
/linux-6.12.1/include/linux/
Dnvmem-provider.h117 int ncells; member
155 size_t ncells; member
/linux-6.12.1/sound/core/seq/
Dseq_memory.c343 int ncells, err; in snd_seq_event_dup() local
350 ncells = 0; in snd_seq_event_dup()
354 ncells = DIV_ROUND_UP(extlen, sizeof(struct snd_seq_event)); in snd_seq_event_dup()
356 if (ncells >= pool->total_elements) in snd_seq_event_dup()
386 while (ncells-- > 0) { in snd_seq_event_dup()
/linux-6.12.1/drivers/mailbox/
Dti-msgmgr.c580 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-6.12.1/drivers/clk/renesas/
Dclk-mstp.c309 u32 ncells; in cpg_mstp_add_clk_domain() local
311 if (of_property_read_u32(np, "#power-domain-cells", &ncells)) { in cpg_mstp_add_clk_domain()
Drzg2l-cpg.c1755 u32 ncells; in rzg2l_cpg_add_pm_domains() local
1758 ret = of_property_read_u32(np, "#power-domain-cells", &ncells); in rzg2l_cpg_add_pm_domains()
1763 if (!ncells) in rzg2l_cpg_add_pm_domains()
/linux-6.12.1/drivers/soc/tegra/fuse/
Dfuse-tegra.c216 nvmem.ncells = fuse->soc->num_cells; in tegra_fuse_probe()
/linux-6.12.1/drivers/hwmon/pmbus/
Dadm1266.c410 data->nvmem_config.ncells = ARRAY_SIZE(adm1266_nvmem_cells); in adm1266_config_nvmem()
/linux-6.12.1/drivers/power/supply/
Dmax1720x_battery.c409 .ncells = ARRAY_SIZE(max1720x_nvmem_cells), in max1720x_probe_nvmem()
/linux-6.12.1/Documentation/driver-api/
Dnvmem.rst76 .ncells = ARRAY_SIZE(foo_nvmem_cells),
/linux-6.12.1/drivers/atm/
Didt77252.c2078 u64 ncells; in idt77252_est_timer() local
2084 ncells = est->cells; in idt77252_est_timer()
2086 rate = ((u32)(ncells - est->last_cells)) << (7 - est->interval); in idt77252_est_timer()
2087 est->last_cells = ncells; in idt77252_est_timer()