Lines Matching refs:udevice
22 static inline const struct device_node *dev_np(const struct udevice *dev) in dev_np()
27 static inline const struct device_node *dev_np(const struct udevice *dev) in dev_np()
42 int dev_read_u32(const struct udevice *dev, const char *propname, u32 *outp);
52 int dev_read_u32_default(const struct udevice *dev, const char *propname,
65 int dev_read_u32_index(struct udevice *dev, const char *propname, int index,
78 u32 dev_read_u32_index_default(struct udevice *dev, const char *propname,
89 int dev_read_s32(const struct udevice *dev, const char *propname, s32 *outp);
99 int dev_read_s32_default(const struct udevice *dev, const char *propname,
112 int dev_read_u32u(const struct udevice *dev, const char *propname, uint *outp);
122 int dev_read_u64(const struct udevice *dev, const char *propname, u64 *outp);
132 u64 dev_read_u64_default(const struct udevice *dev, const char *propname,
142 const char *dev_read_string(const struct udevice *dev, const char *propname);
151 bool dev_read_bool(const struct udevice *dev, const char *propname);
161 ofnode dev_read_subnode(const struct udevice *dev, const char *subbnode_name);
170 int dev_read_size(const struct udevice *dev, const char *propname);
181 fdt_addr_t dev_read_addr_index(const struct udevice *dev, int index);
193 fdt_addr_t dev_read_addr_size_index(const struct udevice *dev, int index,
206 void *dev_remap_addr_index(const struct udevice *dev, int index);
218 fdt_addr_t dev_read_addr_name(const struct udevice *dev, const char *name);
231 fdt_addr_t dev_read_addr_size_name(const struct udevice *dev, const char *name,
245 void *dev_remap_addr_name(const struct udevice *dev, const char *name);
254 fdt_addr_t dev_read_addr(const struct udevice *dev);
264 void *dev_read_addr_ptr(const struct udevice *dev);
284 fdt_addr_t dev_read_addr_pci(const struct udevice *dev);
294 void *dev_remap_addr(const struct udevice *dev);
307 fdt_addr_t dev_read_addr_size(const struct udevice *dev, const char *propname,
316 const char *dev_read_name(const struct udevice *dev);
336 int dev_read_stringlist_search(const struct udevice *dev, const char *property,
350 int dev_read_string_index(const struct udevice *dev, const char *propname,
361 int dev_read_string_count(const struct udevice *dev, const char *propname);
400 int dev_read_phandle_with_args(const struct udevice *dev, const char *list_name,
420 int dev_count_phandle_with_args(const struct udevice *dev,
433 int dev_read_addr_cells(const struct udevice *dev);
444 int dev_read_size_cells(const struct udevice *dev);
454 int dev_read_simple_addr_cells(const struct udevice *dev);
464 int dev_read_simple_size_cells(const struct udevice *dev);
472 int dev_read_phandle(const struct udevice *dev);
482 const void *dev_read_prop(const struct udevice *dev, const char *propname,
495 int dev_read_first_prop(const struct udevice *dev, struct ofprop *prop);
532 int dev_read_alias_seq(const struct udevice *dev, int *devnump);
550 int dev_read_u32_array(const struct udevice *dev, const char *propname,
560 ofnode dev_read_first_subnode(const struct udevice *dev);
585 const uint8_t *dev_read_u8_array_ptr(const struct udevice *dev,
599 int dev_read_enabled(const struct udevice *dev);
609 int dev_read_resource(const struct udevice *dev, uint index,
620 int dev_read_resource_byname(const struct udevice *dev, const char *name,
634 u64 dev_translate_address(const struct udevice *dev, const fdt32_t *in_addr);
647 u64 dev_translate_dma_address(const struct udevice *dev,
662 int dev_get_dma_range(const struct udevice *dev, phys_addr_t *cpu,
681 int dev_get_child_count(const struct udevice *dev);
693 int dev_read_pci_bus_range(const struct udevice *dev, struct resource *res);
709 int dev_decode_display_timing(const struct udevice *dev, int index,
715 static inline int dev_read_u32(const struct udevice *dev, in dev_read_u32()
721 static inline int dev_read_u32_default(const struct udevice *dev, in dev_read_u32_default()
727 static inline int dev_read_u32_index(struct udevice *dev, in dev_read_u32_index()
733 static inline u32 dev_read_u32_index_default(struct udevice *dev, in dev_read_u32_index_default()
741 static inline int dev_read_s32(const struct udevice *dev, in dev_read_s32()
747 static inline int dev_read_s32_default(const struct udevice *dev, in dev_read_s32_default()
753 static inline int dev_read_u32u(const struct udevice *dev, in dev_read_u32u()
767 static inline int dev_read_u64(const struct udevice *dev, in dev_read_u64()
773 static inline u64 dev_read_u64_default(const struct udevice *dev, in dev_read_u64_default()
779 static inline const char *dev_read_string(const struct udevice *dev, in dev_read_string()
785 static inline bool dev_read_bool(const struct udevice *dev, in dev_read_bool()
791 static inline ofnode dev_read_subnode(const struct udevice *dev, in dev_read_subnode()
797 static inline int dev_read_size(const struct udevice *dev, const char *propname) in dev_read_size()
802 static inline fdt_addr_t dev_read_addr_index(const struct udevice *dev, in dev_read_addr_index()
808 static inline fdt_addr_t dev_read_addr_size_index(const struct udevice *dev, in dev_read_addr_size_index()
815 static inline fdt_addr_t dev_read_addr_name(const struct udevice *dev, in dev_read_addr_name()
821 static inline fdt_addr_t dev_read_addr_size_name(const struct udevice *dev, in dev_read_addr_size_name()
828 static inline fdt_addr_t dev_read_addr(const struct udevice *dev) in dev_read_addr()
833 static inline void *dev_read_addr_ptr(const struct udevice *dev) in dev_read_addr_ptr()
838 static inline fdt_addr_t dev_read_addr_pci(const struct udevice *dev) in dev_read_addr_pci()
843 static inline void *dev_remap_addr(const struct udevice *dev) in dev_remap_addr()
848 static inline void *dev_remap_addr_index(const struct udevice *dev, int index) in dev_remap_addr_index()
853 static inline void *dev_remap_addr_name(const struct udevice *dev, in dev_remap_addr_name()
859 static inline fdt_addr_t dev_read_addr_size(const struct udevice *dev, in dev_read_addr_size()
866 static inline const char *dev_read_name(const struct udevice *dev) in dev_read_name()
871 static inline int dev_read_stringlist_search(const struct udevice *dev, in dev_read_stringlist_search()
878 static inline int dev_read_string_index(const struct udevice *dev, in dev_read_string_index()
885 static inline int dev_read_string_count(const struct udevice *dev, in dev_read_string_count()
891 static inline int dev_read_phandle_with_args(const struct udevice *dev, in dev_read_phandle_with_args()
900 static inline int dev_count_phandle_with_args(const struct udevice *dev, in dev_count_phandle_with_args()
907 static inline int dev_read_addr_cells(const struct udevice *dev) in dev_read_addr_cells()
914 static inline int dev_read_size_cells(const struct udevice *dev) in dev_read_size_cells()
921 static inline int dev_read_simple_addr_cells(const struct udevice *dev) in dev_read_simple_addr_cells()
926 static inline int dev_read_simple_size_cells(const struct udevice *dev) in dev_read_simple_size_cells()
931 static inline int dev_read_phandle(const struct udevice *dev) in dev_read_phandle()
936 static inline const void *dev_read_prop(const struct udevice *dev, in dev_read_prop()
942 static inline int dev_read_first_prop(const struct udevice *dev, struct ofprop *prop) in dev_read_first_prop()
959 static inline int dev_read_alias_seq(const struct udevice *dev, int *devnump) in dev_read_alias_seq()
969 static inline int dev_read_u32_array(const struct udevice *dev, in dev_read_u32_array()
976 static inline ofnode dev_read_first_subnode(const struct udevice *dev) in dev_read_first_subnode()
986 static inline const uint8_t *dev_read_u8_array_ptr(const struct udevice *dev, in dev_read_u8_array_ptr()
993 static inline int dev_read_enabled(const struct udevice *dev) in dev_read_enabled()
998 static inline int dev_read_resource(const struct udevice *dev, uint index, in dev_read_resource()
1004 static inline int dev_read_resource_byname(const struct udevice *dev, in dev_read_resource_byname()
1011 static inline u64 dev_translate_address(const struct udevice *dev, in dev_translate_address()
1017 static inline u64 dev_translate_dma_address(const struct udevice *dev, in dev_translate_dma_address()
1023 static inline int dev_get_dma_range(const struct udevice *dev, phys_addr_t *cpu, in dev_get_dma_range()
1036 static inline int dev_get_child_count(const struct udevice *dev) in dev_get_child_count()
1041 static inline int dev_decode_display_timing(const struct udevice *dev, in dev_decode_display_timing()