Searched refs:nvmem_np (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/nvmem/
H A Dcore.c174 static int of_nvmem_match(struct device *dev, void *nvmem_np) of_nvmem_match() argument
176 return dev->of_node == nvmem_np; of_nvmem_match()
179 static struct nvmem_device *of_nvmem_find(struct device_node *nvmem_np) of_nvmem_find() argument
183 if (!nvmem_np) of_nvmem_find()
186 d = bus_find_device(&nvmem_bus_type, NULL, nvmem_np, of_nvmem_match); of_nvmem_find()
478 struct device_node *nvmem_np; of_nvmem_device_get() local
483 nvmem_np = of_parse_phandle(np, "nvmem", index); of_nvmem_device_get()
484 if (!nvmem_np) of_nvmem_device_get()
487 return __nvmem_device_get(nvmem_np, NULL, NULL); of_nvmem_device_get()
616 struct device_node *cell_np, *nvmem_np; of_nvmem_cell_get() local
628 nvmem_np = of_get_next_parent(cell_np); of_nvmem_cell_get()
629 if (!nvmem_np) of_nvmem_cell_get()
632 nvmem = __nvmem_device_get(nvmem_np, NULL, NULL); of_nvmem_cell_get()

Completed in 42 milliseconds