/u-boot/include/dm/ |
H A D | ofnode_decl.h | 37 * 'tree ID' is encoded into the top bits of @of_offset - see immediately below 43 * For the multiple-tree case, an invalid offset (i.e. with of_offset < 0) is 48 * @of_offset: Pointer into flat device tree, used for flat tree. Note that this 53 long of_offset; member in union:ofnode_union 56 /* shift for the tree ID within of_offset */ 59 /* mask to obtain the device tree offset from of_offset */ 62 /* encode a tree ID and node offset into an of_offset value */ 65 /* decode the node offset from an of_offset value */ 68 /* decode the tree ID from an of_offset value */ 71 /* encode a node offset in the tree given by another node's of_offset valu [all...] |
H A D | ofnode.h | 77 * @of_offset: DT offset (either valid, or -1) 80 ofnode noffset_to_ofnode(ofnode other_node, int of_offset); 101 return node.of_offset; 117 static inline ofnode noffset_to_ofnode(ofnode other_node, int of_offset) argument 124 node.of_offset = of_offset; 180 return node.of_offset >= 0; 202 * @of_offset: DT offset (either valid, or -1) 205 static inline ofnode offset_to_ofnode(int of_offset) argument 212 node.of_offset [all...] |
H A D | device.h | 123 * in the device tree (in which case of_offset is >= 0). In the latter case 714 * @of_offset: Device tree offset to find 718 int device_find_child_by_of_offset(const struct udevice *parent, int of_offset, 729 * @of_offset: Device tree offset to find 733 int device_get_child_by_of_offset(const struct udevice *parent, int of_offset,
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-helper-gpio.h | 218 int of_offset; /** Offset in device tree */ member in struct:cvmx_fdt_gpio_info 264 int of_offset; /** Device tree node */ member in struct:cvmx_fdt_gpio_led 294 * @param of_offset node offset of GPIO device 299 struct cvmx_fdt_gpio_info *cvmx_fdt_gpio_get_info(const void *fdt_addr, int of_offset, 306 * @param of_offset node offset for property 311 struct cvmx_fdt_gpio_info *cvmx_fdt_gpio_get_info_phandle(const void *fdt_addr, int of_offset, 403 * @param of_offset Device tree offset 409 struct cvmx_fdt_gpio_led *cvmx_alloc_led(const char *name, int of_offset,
|
H A D | cvmx-helper-fdt.h | 50 int of_offset; member in struct:cvmx_fdt_i2c_bus_info 84 int of_offset; member in struct:cvmx_fdt_sfp_info 399 * @param of_offset node offset for property 404 struct cvmx_fdt_gpio_info *cvmx_fdt_gpio_get_info_phandle(const void *fdt_addr, int of_offset, 512 * @param of_offset offset of slice or phy in device tree 517 int cvmx_fdt_parse_cs4343(const void *fdt_addr, int of_offset, struct cvmx_phy_info *phy_info);
|
H A D | cvmx-helper-board.h | 100 int of_offset; member in struct:cvmx_phy_gpio_leds 168 int of_offset; /** Offset of channel info in dt */ member in struct:cvmx_vsc7224_chan 192 int of_offset; /** Offset in device tree */ member in struct:cvmx_vsc7224 202 int of_offset; /** Offset in device tree */ member in struct:cvmx_avsp5410 223 int of_offset; /** Offset in device tree */ member in struct:cvmx_cs4343_slice_info 261 int of_offset; member in struct:cvmx_cs4343_info
|
H A D | cvmx-helper-cfg.h | 770 * @param of_offset Node offset of port to search for 774 int cvmx_helper_cfg_get_ipd_port_by_fdt_node_offset(int of_offset); 789 * @param of_offset Node offset of port to search for 795 int cvmx_helper_cfg_get_xiface_index_by_fdt_node_offset(int of_offset, int *xiface, int *index);
|
H A D | cvmx-helper-sfp.h | 406 * @param of_offset flat device tree node offset 410 struct cvmx_fdt_sfp_info *cvmx_sfp_find_slot_by_fdt_node(int of_offset);
|
/u-boot/drivers/misc/ |
H A D | socfpga_dtreg.c | 41 node.of_offset, name);
|
/u-boot/drivers/core/ |
H A D | ofnode.c | 152 uint i = OFTREE_TREE_ID(node.of_offset); 192 if (CONFIG_IS_ENABLED(OFNODE_MULTI_TREE) && node.of_offset >= 0) 193 return OFTREE_OFFSET(node.of_offset); 195 return node.of_offset; 218 * @of_offset: DT offset (either valid, or -1) 221 ofnode noffset_to_ofnode(ofnode other_node, int of_offset) argument 227 else if (!CONFIG_IS_ENABLED(OFNODE_MULTI_TREE) || of_offset < 0 || 229 node.of_offset = of_offset; 231 node.of_offset [all...] |
H A D | device.c | 853 int device_find_child_by_of_offset(const struct udevice *parent, int of_offset, argument 861 if (dev_of_offset(dev) == of_offset) {
|
/u-boot/test/dm/ |
H A D | ofnode.c | 1061 ut_asserteq(subnode.of_offset, check.of_offset); 1081 ut_asserteq(subnode.of_offset, check.of_offset); 1088 ut_asserteq(subnode.of_offset, check.of_offset); 1379 ut_asserteq(check.of_offset, subnode.of_offset); 1428 ut_asserteq(try.of_offset, node.of_offset); [all...] |
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-helper-fdt.c | 97 * @param of_offset Offset of vsc7224 node 180 channel->of_offset = ofnode_to_offset(node_chan); 310 vsc7224->of_offset = ofnode_to_offset(node); 441 businfo->of_offset = ofnode_to_offset(node);
|
H A D | cvmx-helper-sfp.c | 799 * @param of_offset Node in device tree for SFP slot 809 sfp->of_offset = ofnode_to_offset(node); 886 * @param of_offset Node in device tree for SFP slot 897 sfp->of_offset = ofnode_to_offset(node); 1157 * @param of_offset flat device tree node offset 1161 struct cvmx_fdt_sfp_info *cvmx_sfp_find_slot_by_fdt_node(int of_offset) argument 1166 if (sfp->of_offset == of_offset)
|
/u-boot/arch/x86/cpu/tangier/ |
H A D | pinmux.c | 202 __func__, pin_node.of_offset);
|
/u-boot/drivers/video/ |
H A D | nexell_display.c | 417 node = dev_ofnode(dev).of_offset;
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | octeontx_nand.c | 2020 __func__, tn, dev->name, nand_node.of_offset);
|