Home
last modified time | relevance | path

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

/u-boot/include/dm/
A Dofnode.h78 ofnode noffset_to_ofnode(ofnode other_node, int of_offset);
99 return node.of_offset; in ofnode_to_offset()
115 static inline ofnode noffset_to_ofnode(ofnode other_node, int of_offset) in noffset_to_ofnode() argument
122 node.of_offset = of_offset; in noffset_to_ofnode()
157 return node.of_offset >= 0; in ofnode_valid()
182 static inline ofnode offset_to_ofnode(int of_offset) in offset_to_ofnode() argument
189 node.of_offset = of_offset >= 0 ? of_offset : -1; in offset_to_ofnode()
244 return ref1.of_offset == ref2.of_offset; in ofnode_equal()
292 node.of_offset = -1; in ofnode_null()
304 node.of_offset = 0; in ofnode_root()
A Dofnode_decl.h53 long of_offset; member
A Ddevice.h718 int device_find_child_by_of_offset(const struct udevice *parent, int of_offset,
733 int device_get_child_by_of_offset(const struct udevice *parent, int of_offset,
/u-boot/arch/mips/mach-octeon/include/mach/
A Dcvmx-helper-board.h100 int of_offset; member
168 int of_offset; /** Offset of channel info in dt */ member
192 int of_offset; /** Offset in device tree */ member
202 int of_offset; /** Offset in device tree */ member
223 int of_offset; /** Offset in device tree */ member
261 int of_offset; member
A Dcvmx-helper-gpio.h218 int of_offset; /** Offset in device tree */ member
264 int of_offset; /** Device tree node */ member
299 struct cvmx_fdt_gpio_info *cvmx_fdt_gpio_get_info(const void *fdt_addr, int of_offset,
311 struct cvmx_fdt_gpio_info *cvmx_fdt_gpio_get_info_phandle(const void *fdt_addr, int of_offset,
409 struct cvmx_fdt_gpio_led *cvmx_alloc_led(const char *name, int of_offset,
A Dcvmx-helper-fdt.h50 int of_offset; member
84 int of_offset; member
404 struct cvmx_fdt_gpio_info *cvmx_fdt_gpio_get_info_phandle(const void *fdt_addr, int of_offset,
517 int cvmx_fdt_parse_cs4343(const void *fdt_addr, int of_offset, struct cvmx_phy_info *phy_info);
A Dcvmx-helper-cfg.h774 int cvmx_helper_cfg_get_ipd_port_by_fdt_node_offset(int of_offset);
795 int cvmx_helper_cfg_get_xiface_index_by_fdt_node_offset(int of_offset, int *xiface, int *index);
A Dcvmx-helper-sfp.h410 struct cvmx_fdt_sfp_info *cvmx_sfp_find_slot_by_fdt_node(int of_offset);
/u-boot/drivers/core/
A Dofnode.c83 uint i = OFTREE_TREE_ID(node.of_offset); in ofnode_lookup_fdt()
124 return OFTREE_OFFSET(node.of_offset); in ofnode_to_offset()
126 return node.of_offset; in ofnode_to_offset()
148 ofnode noffset_to_ofnode(ofnode other_node, int of_offset) in noffset_to_ofnode() argument
156 node.of_offset = of_offset; in noffset_to_ofnode()
158 node.of_offset = OFTREE_MAKE_NODE(other_node.of_offset, in noffset_to_ofnode()
159 of_offset); in noffset_to_ofnode()
195 node.of_offset = OFTREE_NODE(tree_id, offset); in ofnode_from_tree_offset()
197 node.of_offset = offset; in ofnode_from_tree_offset()
538 parent.of_offset = fdt_parent_offset(ofnode_to_fdt(node), in ofnode_get_parent()
[all …]
A Ddevice.c851 int device_find_child_by_of_offset(const struct udevice *parent, int of_offset, in device_find_child_by_of_offset() argument
859 if (dev_of_offset(dev) == of_offset) { in device_find_child_by_of_offset()
/u-boot/arch/mips/mach-octeon/
A Dcvmx-helper-fdt.c180 channel->of_offset = ofnode_to_offset(node_chan); in cvmx_fdt_parse_vsc7224_channels()
310 vsc7224->of_offset = ofnode_to_offset(node); in __cvmx_fdt_parse_vsc7224()
441 businfo->of_offset = ofnode_to_offset(node); in cvmx_ofnode_get_i2c_bus()
A Dcvmx-helper-sfp.c809 sfp->of_offset = ofnode_to_offset(node); in cvmx_sfp_parse_sfp()
897 sfp->of_offset = ofnode_to_offset(node); in cvmx_sfp_parse_qsfp()
1161 struct cvmx_fdt_sfp_info *cvmx_sfp_find_slot_by_fdt_node(int of_offset) in cvmx_sfp_find_slot_by_fdt_node() argument
1166 if (sfp->of_offset == of_offset) in cvmx_sfp_find_slot_by_fdt_node()
/u-boot/test/dm/
A Dofnode.c983 ut_asserteq(subnode.of_offset, check.of_offset); in dm_test_ofnode_add_subnode()
1003 ut_asserteq(subnode.of_offset, check.of_offset); in dm_test_ofnode_add_subnode()
1010 ut_asserteq(subnode.of_offset, check.of_offset); in dm_test_ofnode_add_subnode()
/u-boot/arch/x86/cpu/tangier/
A Dpinmux.c201 __func__, pin_node.of_offset); in tangier_pinctrl_probe()
/u-boot/drivers/video/
A Dnexell_display.c417 node = dev_ofnode(dev).of_offset; in nx_display_setup()
/u-boot/drivers/mtd/nand/raw/
A Docteontx_nand.c2020 __func__, tn, dev->name, nand_node.of_offset); in octeontx_nfc_chips_init()
/u-boot/doc/develop/driver-model/
A Ddesign.rst682 applicable such as of_offset, driver_data & plat, and finally calls the
690 plat will be NULL, but of_offset will be the offset of the device tree

Completed in 53 milliseconds