Lines Matching defs:info
467 const struct nvmem_cell_info *info,
471 cell->offset = info->offset;
472 cell->raw_len = info->raw_len ?: info->bytes;
473 cell->bytes = info->bytes;
474 cell->name = info->name;
475 cell->read_post_process = info->read_post_process;
476 cell->priv = info->priv;
478 cell->bit_offset = info->bit_offset;
479 cell->nbits = info->nbits;
480 cell->np = info->np;
497 const struct nvmem_cell_info *info,
502 err = nvmem_cell_info_to_nvmem_cell_entry_nodup(nvmem, info, cell);
506 cell->name = kstrdup_const(info->name, GFP_KERNEL);
517 * @info: nvmem cell info to add to the device
522 const struct nvmem_cell_info *info)
531 rval = nvmem_cell_info_to_nvmem_cell_entry(nvmem, info, cell);
547 * @info: nvmem cell info to add to the device
548 * @ncells: number of cells in info
553 const struct nvmem_cell_info *info,
559 rval = nvmem_add_one_cell(nvmem, &info[i]);
595 const struct nvmem_cell_info *info;
604 info = &table->cells[i];
612 rval = nvmem_cell_info_to_nvmem_cell_entry(nvmem, info, cell);
707 struct nvmem_cell_info info = {0};
718 info.offset = be32_to_cpup(addr++);
719 info.bytes = be32_to_cpup(addr);
720 info.name = kasprintf(GFP_KERNEL, "%pOFn", child);
724 info.bit_offset = be32_to_cpup(addr++);
725 info.nbits = be32_to_cpup(addr);
728 info.np = of_node_get(child);
731 layout->fixup_cell_info(nvmem, layout, &info);
733 ret = nvmem_add_one_cell(nvmem, &info);
734 kfree(info.name);
1947 * @info: nvmem cell info to be read.
1954 struct nvmem_cell_info *info, void *buf)
1963 rc = nvmem_cell_info_to_nvmem_cell_entry_nodup(nvmem, info, &cell);
1979 * @info: nvmem cell info to be written.
1985 struct nvmem_cell_info *info, void *buf)
1993 rc = nvmem_cell_info_to_nvmem_cell_entry_nodup(nvmem, info, &cell);
2060 * nvmem_add_cell_table() - register a table of cell info entries
2062 * @table: table of cell info entries
2073 * nvmem_del_cell_table() - remove a previously registered cell info table
2075 * @table: table of cell info entries