Searched refs:devp_offset (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/arch/powerpc/boot/ |
H A D | libfdt-wrapper.c | 52 #define devp_offset(devp) (devp ? ((unsigned long)(devp))-1 : 0) macro 87 p = fdt_getprop(fdt, devp_offset(devp), name, &len); fdt_wrapper_getprop() 99 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len); fdt_wrapper_setprop() 102 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len); fdt_wrapper_setprop() 110 return fdt_del_node(fdt, devp_offset(devp)); fdt_wrapper_del_node() 115 return offset_devp(fdt_parent_offset(fdt, devp_offset(devp))); fdt_wrapper_get_parent() 122 offset = fdt_add_subnode(fdt, devp_offset(devp), name); fdt_wrapper_create_node() 125 offset = fdt_add_subnode(fdt, devp_offset(devp), name); fdt_wrapper_create_node() 153 rc = fdt_get_path(fdt, devp_offset(devp), buf, len); fdt_wrapper_get_path()
|
Completed in 89 milliseconds