Lines Matching refs:ofnode
52 The 'ofnode' type provides this. An ofnode can point to either a flat tree
54 caller of an ofnode function does not need to worry about these details.
59 'struct udevice *', rather than having to obtain the ofnode first.
63 hood it uses ofnode so it works with both flat and live device trees.
106 back to using ofnode. For example, for old code like this:
118 ofnode subnode;
126 Useful ofnode functions
143 directly, such as of_read_u32(). Use ofnode functions instead, to allow your
152 ofnode_to_np() - converts ofnode to struct device_node *
153 ofnode_to_offset() - converts ofnode to offset
155 no_to_ofnode() - converts node pointer to ofnode
156 offset_to_ofnode() - converts offset to ofnode
165 ofnode_null() returns a null ofnode (for which ofnode_valid() returns false)
172 struct ofnode_phandle_args, which has an ofnode within it. This supports both
203 CONFIG_DM_DEV_READ_INLINE is enabled, these functions simply call the ofnode
204 functions directly. This is useful when livetree is not enabled. The ofnode
209 ofnode interfaces do not noticeably add to code size.
228 the ofnode and dev_read_...() functions return either one or other type of
239 - inline version in the read.h header file, which calls an ofnode
242 also calls an ofnode function
247 - Add an ofnode function. This should call ofnode_is_np() to work out