Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvmem/
H A 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()
H A Dcore.c553 int ncells) in nvmem_add_cells() argument
557 for (i = 0; i < ncells; i++) { in nvmem_add_cells()
602 for (i = 0; i < table->ncells; i++) { in nvmem_add_cells_from_table()
996 rval = nvmem_add_cells(nvmem, config->cells, config->ncells); in nvmem_register()
/openbmc/linux/drivers/mfd/
H A 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()
/openbmc/linux/include/linux/
H A Dnvmem-provider.h115 int ncells; member
152 size_t ncells; member
/openbmc/linux/arch/arm/boot/compressed/
H A 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()
/openbmc/linux/sound/core/seq/
H A Dseq_memory.c345 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()
/openbmc/qemu/system/
H A Ddevice_tree.c620 int cellnum, vnum, ncells; in qemu_fdt_setprop_sized_cells_from_array() local
628 ncells = values[vnum * 2]; in qemu_fdt_setprop_sized_cells_from_array()
629 if (ncells != 1 && ncells != 2) { in qemu_fdt_setprop_sized_cells_from_array()
635 if (ncells > 1) { in qemu_fdt_setprop_sized_cells_from_array()
/openbmc/linux/drivers/mailbox/
H A 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()
/openbmc/linux/drivers/clk/renesas/
H A Dclk-mstp.c319 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()
/openbmc/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra.c161 nvmem.ncells = fuse->soc->num_cells; in tegra_fuse_probe()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dadm1266.c410 data->nvmem_config.ncells = ARRAY_SIZE(adm1266_nvmem_cells); in adm1266_config_nvmem()
/openbmc/linux/Documentation/driver-api/
H A Dnvmem.rst76 .ncells = ARRAY_SIZE(foo_nvmem_cells),
/openbmc/linux/drivers/atm/
H A 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()