Lines Matching refs:childoff
90 int childoff, dev_off, ret = 0; in fdt_qportal() local
97 childoff = fdt_subnode_offset(blob, off, name); in fdt_qportal()
116 if (childoff <= 0) in fdt_qportal()
117 childoff = fdt_add_subnode(blob, off, name); in fdt_qportal()
124 if (childoff > 0) { in fdt_qportal()
134 ret = fdt_setprop(blob, childoff, "dev-handle", in fdt_qportal()
141 ret = fdt_setprop(blob, childoff, "fsl,liodn", in fdt_qportal()
150 ret = fdt_setprop(blob, childoff, in fdt_qportal()
155 ret = fdt_setprop(blob, childoff, in fdt_qportal()
161 return childoff; in fdt_qportal()
164 if (childoff > 0) in fdt_qportal()
165 ret = fdt_del_node(blob, childoff); in fdt_qportal()