| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | ofnode.h | 54 } ofnode; typedef 57 ofnode node; 80 ofnode node; 95 static inline const struct device_node *ofnode_to_np(ofnode node) in ofnode_to_np() 112 static inline int ofnode_to_offset(ofnode node) in ofnode_to_offset() 126 static inline bool ofnode_valid(ofnode node) in ofnode_valid() 140 static inline ofnode offset_to_ofnode(int of_offset) in offset_to_ofnode() 142 ofnode node; in offset_to_ofnode() 158 static inline ofnode np_to_ofnode(const struct device_node *np) in np_to_ofnode() 160 ofnode node; in np_to_ofnode() [all …]
|
| H A D | read.h | 37 static inline ofnode dev_ofnode(struct udevice *dev) in dev_ofnode() 94 ofnode dev_read_subnode(struct udevice *dev, const char *subbnode_name); 428 ofnode dev_read_first_subnode(struct udevice *dev); 437 ofnode dev_read_next_subnode(ofnode node); 521 static inline ofnode dev_read_subnode(struct udevice *dev, in dev_read_subnode() 666 static inline ofnode dev_read_first_subnode(struct udevice *dev) in dev_read_first_subnode() 671 static inline ofnode dev_read_next_subnode(ofnode node) in dev_read_next_subnode()
|
| H A D | lists.h | 60 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp); 88 const char *dev_name, ofnode node,
|
| /OK3568_Linux_fs/u-boot/spl/drivers/core/ |
| H A D | ofnode.su | |
| H A D | .ofnode.o.cmd | |
| /OK3568_Linux_fs/u-boot/drivers/core/ |
| H A D | ofnode.su | |
| H A D | ofnode.c | 19 int ofnode_read_u32(ofnode node, const char *propname, u32 *outp) in ofnode_read_u32() 43 int ofnode_read_u32_default(ofnode node, const char *propname, u32 def) in ofnode_read_u32_default() 51 int ofnode_read_s32_default(ofnode node, const char *propname, s32 def) in ofnode_read_s32_default() 59 int ofnode_read_u64(ofnode node, const char *propname, u64 *outp) in ofnode_read_u64() 74 bool ofnode_read_bool(ofnode node, const char *propname) in ofnode_read_bool() 88 const char *ofnode_read_string(ofnode node, const char *propname) in ofnode_read_string() 121 ofnode ofnode_find_subnode(ofnode node, const char *subnode_name) in ofnode_find_subnode() 123 ofnode subnode; in ofnode_find_subnode() 147 int ofnode_read_u32_array(ofnode node, const char *propname, in ofnode_read_u32_array() 163 int ofnode_write_u32_array(ofnode node, const char *propname, in ofnode_write_u32_array() [all …]
|
| H A D | read.c | 34 ofnode dev_read_subnode(struct udevice *dev, const char *subnode_name) in dev_read_subnode() 39 ofnode dev_read_first_subnode(struct udevice *dev) in dev_read_first_subnode() 44 ofnode dev_read_next_subnode(ofnode node) in dev_read_next_subnode() 155 ofnode node = dev_ofnode(dev); in dev_read_phandle() 186 ofnode node = dev_ofnode(dev); in dev_read_alias_seq() 226 ofnode node = dev_ofnode(dev); in dev_read_enabled()
|
| H A D | .ofnode.o.cmd | |
| H A D | lists.c | 82 const char *dev_name, ofnode node, in device_bind_driver_to_node() 126 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp) in lists_bind_fdt()
|
| /OK3568_Linux_fs/u-boot/test/dm/ |
| H A D | nop.c | 20 ofnode ofnode = dev_read_first_subnode(parent); in noptest_bind() local 22 while (ofnode_valid(ofnode)) { in noptest_bind() 24 const char *bind_flag = ofnode_read_string(ofnode, "bind"); in noptest_bind() 27 lists_bind_fdt(parent, ofnode, &dev, false); in noptest_bind() 28 ofnode = dev_read_next_subnode(ofnode); in noptest_bind()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | cacheinfo.c | 119 struct device_node *ofnode; /* OF node for this cache, may be cpu */ member 145 struct device_node *ofnode) in cache_init() argument 149 cache->ofnode = of_node_get(ofnode); in cache_init() 154 static struct cache *new_cache(int type, int level, struct device_node *ofnode) in new_cache() argument 160 cache_init(cache, type, level, ofnode); in new_cache() 172 iter->ofnode, in release_cache_debugcheck() 174 cache->ofnode, in release_cache_debugcheck() 184 cache_type_string(cache), cache->ofnode); in release_cache() 188 of_node_put(cache->ofnode); in release_cache() 199 cpu, next->ofnode, in cache_cpu_set() [all …]
|
| /OK3568_Linux_fs/u-boot/doc/driver-model/ |
| H A D | livetree.txt | 52 The 'ofnode' type provides this. An ofnode can point to either a flat tree 54 caller of an ofnode function does not need to worry about these details. 59 'struct udevice *', rather than having to obtain the ofnode first. 63 hood it uses ofnode so it works with both flat and live device trees. 106 back to using ofnode. For example, for old code like this: 118 ofnode subnode; 126 Useful ofnode functions 143 directly, such as of_read_u32(). Use ofnode functions instead, to allow your 152 ofnode_to_np() - converts ofnode to struct device_node * 153 ofnode_to_offset() - converts ofnode to offset [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/phy/ |
| H A D | fixed.c | 20 int ofnode = phydev->addr; in fixedphy_probe() local 25 ofnode, 0, "speed", 0); in fixedphy_probe() 39 priv->duplex = fdtdec_get_bool(gd->fdt_blob, ofnode, "full-duplex"); in fixedphy_probe() 40 priv->pause = fdtdec_get_bool(gd->fdt_blob, ofnode, "pause"); in fixedphy_probe() 41 priv->asym_pause = fdtdec_get_bool(gd->fdt_blob, ofnode, "asym-pause"); in fixedphy_probe()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/ |
| H A D | xusb-padctl-common.c | 78 ofnode node) in tegra_xusb_padctl_group_parse_dt() 221 ofnode node) in tegra_xusb_padctl_config_parse_dt() 223 ofnode subnode; in tegra_xusb_padctl_config_parse_dt() 246 ofnode node) in tegra_xusb_padctl_parse_dt() 248 ofnode subnode; in tegra_xusb_padctl_parse_dt() 276 int tegra_xusb_process_nodes(ofnode nodes[], unsigned int count, in tegra_xusb_process_nodes()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/common/ |
| H A D | common.c | 25 enum usb_dr_mode usb_get_dr_mode(ofnode node) in usb_get_dr_mode() 52 enum usb_device_speed usb_get_maximum_speed(ofnode node) in usb_get_maximum_speed() 77 enum usb_phy_interface usb_get_phy_mode(ofnode node) in usb_get_phy_mode()
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rockchip_display.h | 158 ofnode node; 201 ofnode dsp_lut_node; 274 ofnode node; 308 int rockchip_ofnode_get_display_mode(ofnode node, struct drm_display_mode *mode, 319 rockchip_of_graph_get_endpoint_by_regs(ofnode node, int port, int endpoint);
|
| H A D | rockchip_display.c | 321 int rockchip_ofnode_get_display_mode(ofnode node, struct drm_display_mode *mode, u32 *bus_flags) in rockchip_ofnode_get_display_mode() 393 static int display_get_force_timing_from_dts(ofnode node, in display_get_force_timing_from_dts() 430 ofnode dt, timing, mcu_panel; in display_get_timing_from_dts() 1007 static int get_crtc_id(ofnode connect, bool is_ports_node) in get_crtc_id() 1045 ofnode mcu_node, vp_node; in get_crtc_mcu_mode() 1335 static const struct device_node *rockchip_of_graph_get_port_by_id(ofnode node, int id) in rockchip_of_graph_get_port_by_id() 1337 ofnode ports, port; in rockchip_of_graph_get_port_by_id() 1358 static const struct device_node *rockchip_of_graph_get_port_parent(ofnode port) in rockchip_of_graph_get_port_parent() 1360 ofnode parent; in rockchip_of_graph_get_port_parent() 1372 rockchip_of_graph_get_endpoint_by_regs(ofnode node, int port, int endpoint) in rockchip_of_graph_get_endpoint_by_regs() [all …]
|
| /OK3568_Linux_fs/u-boot/include/linux/usb/ |
| H A D | otg.h | 29 enum usb_dr_mode usb_get_dr_mode(ofnode node); 38 enum usb_device_speed usb_get_maximum_speed(ofnode node);
|
| H A D | phy.h | 29 enum usb_phy_interface usb_get_phy_mode(ofnode node); 31 static inline enum usb_phy_interface usb_get_phy_mode(ofnode node) in usb_get_phy_mode()
|
| /OK3568_Linux_fs/u-boot/drivers/power/pmic/ |
| H A D | palmas.c | 49 ofnode pmic_node = ofnode_null(), regulators_node; in palmas_bind() 50 ofnode subnode; in palmas_bind()
|
| H A D | pmic-uclass.c | 23 int pmic_bind_children(struct udevice *pmic, ofnode parent, in pmic_bind_children() 32 ofnode node; in pmic_bind_children()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | phy.h | 125 ofnode node; 315 static inline ofnode phy_get_ofnode(struct phy_device *phydev) in phy_get_ofnode() 351 static inline ofnode phy_get_ofnode(struct phy_device *phydev) in phy_get_ofnode()
|
| /OK3568_Linux_fs/u-boot/include/asm-generic/ |
| H A D | gpio.h | 510 int gpio_request_by_name_nodev(ofnode node, const char *list_name, int index, 519 int gpio_request_list_by_name_nodev(ofnode node, const char *list_name,
|
| /OK3568_Linux_fs/u-boot/board/st/stm32mp1/ |
| H A D | stm32mp1.c | 112 ofnode node; in board_key_check() 168 ofnode node; in stusb1600_init() 266 ofnode node; in board_check_usb_power()
|