Home
last modified time | relevance | path

Searched refs:layout_np (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/nvmem/layouts/
H A Dsl28vpd.c88 struct device_node *layout_np; in sl28vpd_add_cells() local
113 layout_np = of_nvmem_layout_get_container(nvmem); in sl28vpd_add_cells()
114 if (!layout_np) in sl28vpd_add_cells()
124 info.np = of_get_child_by_name(layout_np, pinfo->name); in sl28vpd_add_cells()
128 of_node_put(layout_np); in sl28vpd_add_cells()
133 of_node_put(layout_np); in sl28vpd_add_cells()
/openbmc/linux/drivers/nvmem/
H A Dcore.c750 struct device_node *layout_np; in nvmem_add_cells_from_fixed_layout() local
753 layout_np = of_nvmem_layout_get_container(nvmem); in nvmem_add_cells_from_fixed_layout()
754 if (!layout_np) in nvmem_add_cells_from_fixed_layout()
758 err = nvmem_add_cells_from_dt(nvmem, layout_np); in nvmem_add_cells_from_fixed_layout()
760 of_node_put(layout_np); in nvmem_add_cells_from_fixed_layout()
791 struct device_node *layout_np; in nvmem_layout_get() local
795 if (!layout_np) in nvmem_layout_get()
800 of_node_put(layout_np); in nvmem_layout_get()
809 of_request_module(layout_np); in nvmem_layout_get()
823 of_node_put(layout_np); in nvmem_layout_get()
[all …]