Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/boot/
Dlibfdt-wrapper.c52 #define devp_offset(devp) (devp ? ((int)(devp))-1 : 0) macro
87 p = fdt_getprop(fdt, devp_offset(devp), name, &len); in fdt_wrapper_getprop()
99 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len); in fdt_wrapper_setprop()
102 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len); in fdt_wrapper_setprop()
110 return fdt_del_node(fdt, devp_offset(devp)); in fdt_wrapper_del_node()
115 return offset_devp(fdt_parent_offset(fdt, devp_offset(devp))); in fdt_wrapper_get_parent()
122 offset = fdt_add_subnode(fdt, devp_offset(devp), name); in fdt_wrapper_create_node()
125 offset = fdt_add_subnode(fdt, devp_offset(devp), name); in fdt_wrapper_create_node()
153 rc = fdt_get_path(fdt, devp_offset(devp), buf, len); in fdt_wrapper_get_path()