Home
last modified time | relevance | path

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

/external/u-boot/include/dm/
Dofnode.h52 long of_offset; member
92 return node.of_offset; in ofnode_to_offset()
105 return node.of_offset != -1; in ofnode_valid()
114 static inline ofnode offset_to_ofnode(int of_offset) in offset_to_ofnode() argument
121 node.of_offset = of_offset; in offset_to_ofnode()
174 return ref1.of_offset == ref2.of_offset; in ofnode_equal()
190 node.of_offset = -1; in ofnode_null()
Ddevice.h168 static inline void dev_set_of_offset(struct udevice *dev, int of_offset) in dev_set_of_offset() argument
170 dev->node = offset_to_ofnode(of_offset); in dev_set_of_offset()
469 int device_find_child_by_of_offset(struct udevice *parent, int of_offset,
484 int device_get_child_by_of_offset(struct udevice *parent, int of_offset,
Ddevice-internal.h40 const char *name, void *platdata, int of_offset,
/external/u-boot/drivers/core/
Ddevice.c235 const char *name, void *platdata, int of_offset, in device_bind() argument
239 offset_to_ofnode(of_offset), 0, devp); in device_bind()
627 int device_find_child_by_of_offset(struct udevice *parent, int of_offset, in device_find_child_by_of_offset() argument
635 if (dev_of_offset(dev) == of_offset) { in device_find_child_by_of_offset()
Dofnode.c207 parent.of_offset = fdt_parent_offset(gd->fdt_blob, in ofnode_get_parent()
233 node.of_offset = fdt_node_offset_by_phandle(gd->fdt_blob, in ofnode_get_by_phandle()
Droot.c330 return dm_scan_fdt_node(gd->dm_root, gd->fdt_blob, node.of_offset, in dm_scan_fdt_ofnode_path()
/external/u-boot/arch/x86/cpu/tangier/
Dpinmux.c176 __func__, pin_node.of_offset); in tangier_pinctrl_probe()
/external/u-boot/doc/driver-model/
Ddesign.rst664 applicable such as of_offset, driver_data & platdata, and finally calls the
672 platdata will be NULL, but of_offset will be the offset of the device tree