Lines Matching defs:dev
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()
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()
1059 #define dev_for_each_subnode(subnode, dev) \ argument
1073 #define dev_for_each_property(prop, dev) \ argument