Lines Matching refs:ofnode
55 The 'ofnode' type provides this. An ofnode can point to either a flat tree
57 caller of an ofnode function does not need to worry about these details.
62 'struct udevice \*', rather than having to obtain the ofnode first.
66 hood it uses ofnode so it works with both flat and live device trees.
113 back to using ofnode. For example, for old code like this:
129 ofnode subnode;
137 Useful ofnode functions
154 directly, such as of_read_u32(). Use ofnode functions instead, to allow your
164 converts ofnode to struct device_node *
166 converts ofnode to offset
169 converts node pointer to ofnode
171 converts offset to ofnode
185 returns a null ofnode (for which ofnode_valid() returns false)
192 struct ofnode_phandle_args, which has an ofnode within it. This supports both
254 So long as OF_LIVE is disabled, it is possible to do fixups using the ofnode
260 ofnode interface.
267 CONFIG_DM_DEV_READ_INLINE is enabled, these functions simply call the ofnode
268 functions directly. This is useful when livetree is not enabled. The ofnode
273 ofnode interfaces do not noticeably add to code size.
292 the ofnode and dev_read\_...() functions return either one or other type of
303 - inline version in the read.h header file, which calls an ofnode function
305 also calls an ofnode function
310 - Add an ofnode function. This should call ofnode_is_np() to work out