Searched refs:of_offset (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/include/dm/ |
H A D | ofnode.h | 52 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()
|
H A D | device.h | 165 static inline void dev_set_of_offset(struct udevice *dev, int of_offset) in dev_set_of_offset() argument 167 dev->node = offset_to_ofnode(of_offset); in dev_set_of_offset() 457 int device_find_child_by_of_offset(struct udevice *parent, int of_offset, 472 int device_get_child_by_of_offset(struct udevice *parent, int of_offset,
|
H A D | device-internal.h | 40 const char *name, void *platdata, int of_offset,
|
/openbmc/u-boot/drivers/core/ |
H A D | device.c | 229 const char *name, void *platdata, int of_offset, in device_bind() argument 233 offset_to_ofnode(of_offset), 0, devp); in device_bind() 599 int device_find_child_by_of_offset(struct udevice *parent, int of_offset, in device_find_child_by_of_offset() argument 607 if (dev_of_offset(dev) == of_offset) { in device_find_child_by_of_offset()
|
H A D | ofnode.c | 207 parent.of_offset = fdt_parent_offset(gd->fdt_blob, in ofnode_get_parent() 229 node.of_offset = fdt_node_offset_by_phandle(gd->fdt_blob, in ofnode_get_by_phandle()
|
H A D | root.c | 357 return dm_scan_fdt_node(gd->dm_root, gd->fdt_blob, node.of_offset, in dm_scan_fdt_ofnode_path()
|
/openbmc/u-boot/arch/x86/cpu/tangier/ |
H A D | pinmux.c | 176 __func__, pin_node.of_offset); in tangier_pinctrl_probe()
|
/openbmc/u-boot/doc/driver-model/ |
H A D | README.txt | 634 applicable such as of_offset, driver_data & platdata, and finally calls the 642 platdata will be NULL, but of_offset will be the offset of the device tree
|