Lines Matching refs:dev_ofnode
36 static inline ofnode dev_ofnode(struct udevice *dev) in dev_ofnode() function
43 return ofnode_valid(dev_ofnode(dev)); in dev_of_valid()
461 return ofnode_read_u32(dev_ofnode(dev), propname, outp); in dev_read_u32()
467 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_u32_default()
473 return ofnode_read_string(dev_ofnode(dev), propname); in dev_read_string()
478 return ofnode_read_bool(dev_ofnode(dev), propname); in dev_read_bool()
484 return ofnode_find_subnode(dev_ofnode(dev), subbnode_name); in dev_read_subnode()
489 return ofnode_read_size(dev_ofnode(dev), propname); in dev_read_size()
521 return ofnode_get_addr_size(dev_ofnode(dev), propname, sizep); in dev_read_addr_size()
526 return ofnode_get_name(dev_ofnode(dev)); in dev_read_name()
533 return ofnode_stringlist_search(dev_ofnode(dev), propname, string); in dev_read_stringlist_search()
540 return ofnode_read_string_index(dev_ofnode(dev), propname, index, outp); in dev_read_string_index()
546 return ofnode_read_string_count(dev_ofnode(dev), propname); in dev_read_string_count()
553 return ofnode_parse_phandle_with_args(dev_ofnode(dev), list_name, in dev_read_phandle_with_args()
561 return ofnode_count_phandle_with_args(dev_ofnode(dev), list_name, in dev_count_phandle_with_args()
595 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop()
607 return ofnode_read_u32_array(dev_ofnode(dev), propname, out_values, sz); in dev_read_u32_array()
612 return ofnode_first_subnode(dev_ofnode(dev)); in dev_read_first_subnode()
623 return ofnode_read_u8_array_ptr(dev_ofnode(dev), propname, sz); in dev_read_u8_array_ptr()
634 return ofnode_read_resource(dev_ofnode(dev), index, res); in dev_read_resource()
641 return ofnode_read_resource_byname(dev_ofnode(dev), name, res); in dev_read_resource_byname()
646 return ofnode_translate_address(dev_ofnode(dev), in_addr); in dev_translate_address()