Lines Matching full:subnode
25 int node, subnode; in fdt_osc_read_freq() local
37 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_freq()
41 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_osc_read_freq()
49 cuint = fdt_getprop(fdt, subnode, "clock-frequency", in fdt_osc_read_freq()
74 int node, subnode; in fdt_osc_read_bool() local
90 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_bool()
94 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_osc_read_bool()
104 if (fdt_getprop(fdt, subnode, prop_name, NULL) != NULL) { in fdt_osc_read_bool()
122 int node, subnode; in fdt_osc_read_uint32_default() local
138 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_uint32_default()
142 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_osc_read_uint32_default()
152 return fdt_read_uint32_default(fdt, subnode, prop_name, in fdt_osc_read_uint32_default()
195 * Get the subnode offset in rcc-clk section from its name in device tree
201 int node, subnode; in fdt_rcc_subnode_offset() local
213 subnode = fdt_subnode_offset(fdt, node, name); in fdt_rcc_subnode_offset()
214 if (subnode <= 0) { in fdt_rcc_subnode_offset()
218 return subnode; in fdt_rcc_subnode_offset()