Home
last modified time | relevance | path

Searched refs:of_offset (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/u-boot/include/dm/
H A Dofnode.h53 long of_offset; member
118 return node.of_offset; in ofnode_to_offset()
131 return node.of_offset != -1; in ofnode_valid()
140 static inline ofnode offset_to_ofnode(int of_offset) in offset_to_ofnode() argument
147 node.of_offset = of_offset; in offset_to_ofnode()
200 return ref1.of_offset == ref2.of_offset; in ofnode_equal()
216 node.of_offset = -1; in ofnode_null()
H A Ddevice.h169 static inline void dev_set_of_offset(struct udevice *dev, int of_offset) in dev_set_of_offset() argument
171 dev->node = offset_to_ofnode(of_offset); in dev_set_of_offset()
461 int device_find_child_by_of_offset(struct udevice *parent, int of_offset,
476 int device_get_child_by_of_offset(struct udevice *parent, int of_offset,
491 int device_get_global_by_of_offset(int of_offset, struct udevice **devp);
H A Ddevice-internal.h41 const char *name, void *platdata, int of_offset,
/OK3568_Linux_fs/u-boot/drivers/core/
H A Ddevice.c333 const char *name, void *platdata, int of_offset, in device_bind() argument
337 offset_to_ofnode(of_offset), 0, devp); in device_bind()
656 int device_find_child_by_of_offset(struct udevice *parent, int of_offset, in device_find_child_by_of_offset() argument
664 if (dev_of_offset(dev) == of_offset) { in device_find_child_by_of_offset()
685 int of_offset) in _device_find_global_by_of_offset() argument
689 if (dev_of_offset(parent) == of_offset) in _device_find_global_by_of_offset()
693 found = _device_find_global_by_of_offset(dev, of_offset); in _device_find_global_by_of_offset()
701 int device_get_global_by_of_offset(int of_offset, struct udevice **devp) in device_get_global_by_of_offset() argument
705 dev = _device_find_global_by_of_offset(gd->dm_root, of_offset); in device_get_global_by_of_offset()
H A Dofnode.c206 parent.of_offset = fdt_parent_offset(gd->fdt_blob, in ofnode_get_parent()
231 node.of_offset = fdt_node_offset_by_phandle(gd->fdt_blob, in ofnode_get_by_phandle()
/OK3568_Linux_fs/u-boot/doc/driver-model/
H A DREADME.txt625 applicable such as of_offset, driver_data & platdata, and finally calls the
633 platdata will be NULL, but of_offset will be the offset of the device tree