/linux-6.12.1/drivers/nvmem/ |
D | brcm_nvram.c | 38 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()
|
D | core.c | 455 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/ |
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-6.12.1/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-6.12.1/include/linux/ |
D | nvmem-provider.h | 117 int ncells; member 155 size_t ncells; member
|
/linux-6.12.1/sound/core/seq/ |
D | seq_memory.c | 343 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/ |
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-6.12.1/drivers/clk/renesas/ |
D | clk-mstp.c | 309 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()
|
D | rzg2l-cpg.c | 1755 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/ |
D | fuse-tegra.c | 216 nvmem.ncells = fuse->soc->num_cells; in tegra_fuse_probe()
|
/linux-6.12.1/drivers/hwmon/pmbus/ |
D | adm1266.c | 410 data->nvmem_config.ncells = ARRAY_SIZE(adm1266_nvmem_cells); in adm1266_config_nvmem()
|
/linux-6.12.1/drivers/power/supply/ |
D | max1720x_battery.c | 409 .ncells = ARRAY_SIZE(max1720x_nvmem_cells), in max1720x_probe_nvmem()
|
/linux-6.12.1/Documentation/driver-api/ |
D | nvmem.rst | 76 .ncells = ARRAY_SIZE(foo_nvmem_cells),
|
/linux-6.12.1/drivers/atm/ |
D | idt77252.c | 2078 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()
|