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

/u-boot/scripts/dtc/libfdt/
H A Dfdt_rw.c238 char *namep; local
244 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
245 if (!namep)
250 err = fdt_splice_struct_(fdt, namep, FDT_TAGALIGN(oldlen+1),
255 memcpy(namep, name, newlen+1);
H A Dfdt_ro.c470 const char **namep, int *lenp)
477 if (namep) {
489 *namep = name;
491 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff));
469 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument
H A Dlibfdt.h671 * @namep: pointer to a string variable (will be overwritten) or NULL
678 * returned, in the integer pointed to by lenp. If namep is non-NULL,
680 * by namep (this will be a pointer to within the device tree's string
687 * if namep is non-NULL *namep contiains a pointer to the property
700 const char **namep, int *lenp);
/u-boot/include/asm-generic/
H A Dgpio.h186 * @namep: If non-NULL, this is set to the name given when the GPIO
193 int gpio_get_function(struct udevice *dev, int offset, const char **namep);
205 * @namep: If non-NULL, this is set to the name given when the GPIO
211 int gpio_get_raw_function(struct udevice *dev, int offset, const char **namep);
/u-boot/drivers/gpio/
H A Dgpio-uclass.c862 const char **namep)
872 if (namep)
873 *namep = uc_priv->name[offset];
890 int gpio_get_function(struct udevice *dev, int offset, const char **namep) argument
892 return get_function(dev, offset, true, namep);
895 int gpio_get_raw_function(struct udevice *dev, int offset, const char **namep) argument
897 return get_function(dev, offset, false, namep);
861 get_function(struct udevice *dev, int offset, bool skip_unused, const char **namep) argument

Completed in 209 milliseconds