/openbmc/linux/drivers/nvmem/ |
H A 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()
|
H A D | core.c | 553 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 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()
|
/openbmc/linux/include/linux/ |
H A D | nvmem-provider.h | 115 int ncells; member 152 size_t ncells; member
|
/openbmc/linux/arch/arm/boot/compressed/ |
H A 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()
|
/openbmc/linux/sound/core/seq/ |
H A 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()
|
/openbmc/qemu/system/ |
H A D | device_tree.c | 620 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 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()
|
/openbmc/linux/drivers/clk/renesas/ |
H A 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()
|
/openbmc/linux/drivers/soc/tegra/fuse/ |
H A D | fuse-tegra.c | 161 nvmem.ncells = fuse->soc->num_cells; in tegra_fuse_probe()
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | adm1266.c | 410 data->nvmem_config.ncells = ARRAY_SIZE(adm1266_nvmem_cells); in adm1266_config_nvmem()
|
/openbmc/linux/Documentation/driver-api/ |
H A D | nvmem.rst | 76 .ncells = ARRAY_SIZE(foo_nvmem_cells),
|
/openbmc/linux/drivers/atm/ |
H A 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()
|