Searched refs:devp_offset (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | libfdt-wrapper.c | 38 #define devp_offset(devp) (devp ? ((unsigned long)(devp))-1 : 0) macro 73 p = fdt_getprop(fdt, devp_offset(devp), name, &len); in fdt_wrapper_getprop() 85 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len); in fdt_wrapper_setprop() 88 rc = fdt_setprop(fdt, devp_offset(devp), name, buf, len); in fdt_wrapper_setprop() 96 return fdt_del_node(fdt, devp_offset(devp)); in fdt_wrapper_del_node() 101 return offset_devp(fdt_parent_offset(fdt, devp_offset(devp))); in fdt_wrapper_get_parent() 108 offset = fdt_add_subnode(fdt, devp_offset(devp), name); in fdt_wrapper_create_node() 111 offset = fdt_add_subnode(fdt, devp_offset(devp), name); in fdt_wrapper_create_node() 139 rc = fdt_get_path(fdt, devp_offset(devp), buf, len); in fdt_wrapper_get_path()
|