Home
last modified time | relevance | path

Searched refs:uclass_id (Results 1 – 13 of 13) sorted by relevance

/external/u-boot/include/dm/
Duclass.h85 enum uclass_id id;
119 int uclass_get(enum uclass_id key, struct uclass **ucp);
127 const char *uclass_get_name(enum uclass_id id);
135 enum uclass_id uclass_get_by_name(const char *name);
147 int uclass_get_device(enum uclass_id id, int index, struct udevice **devp);
161 int uclass_get_device_by_name(enum uclass_id id, const char *name,
178 int uclass_get_device_by_seq(enum uclass_id id, int seq, struct udevice **devp);
193 int uclass_get_device_by_of_offset(enum uclass_id id, int node,
209 int uclass_get_device_by_ofnode(enum uclass_id id, ofnode node,
225 int uclass_get_device_by_phandle_id(enum uclass_id id, uint phandle_id,
[all …]
Duclass-internal.h38 int uclass_find_device(enum uclass_id id, int index, struct udevice **devp);
50 int uclass_find_first_device(enum uclass_id id, struct udevice **devp);
76 int uclass_find_device_by_name(enum uclass_id id, const char *name,
99 int uclass_find_device_by_seq(enum uclass_id id, int seq_or_req_seq,
115 int uclass_find_device_by_of_offset(enum uclass_id id, int node,
131 int uclass_find_device_by_ofnode(enum uclass_id id, ofnode node,
201 struct uclass *uclass_find(enum uclass_id key);
Dlists.h33 struct uclass_driver *lists_uclass_lookup(enum uclass_id id);
Duclass-id.h13 enum uclass_id { enum
Ddevice.h239 enum uclass_id id;
381 enum uclass_id device_get_uclass_id(struct udevice *dev);
/external/u-boot/drivers/core/
Duclass.c22 struct uclass *uclass_find(enum uclass_id key) in uclass_find()
50 static int uclass_add(enum uclass_id id, struct uclass **ucp) in uclass_add()
138 int uclass_get(enum uclass_id id, struct uclass **ucp) in uclass_get()
151 const char *uclass_get_name(enum uclass_id id) in uclass_get_name()
160 enum uclass_id uclass_get_by_name(const char *name) in uclass_get_by_name()
174 int uclass_find_device(enum uclass_id id, int index, struct udevice **devp) in uclass_find_device()
197 int uclass_find_first_device(enum uclass_id id, struct udevice **devp) in uclass_find_first_device()
227 int uclass_find_device_by_name(enum uclass_id id, const char *name, in uclass_find_device_by_name()
251 int uclass_find_device_by_seq(enum uclass_id id, int seq_or_req_seq, in uclass_find_device_by_seq()
280 int uclass_find_device_by_of_offset(enum uclass_id id, int node, in uclass_find_device_by_of_offset()
[all …]
Dlists.c36 struct uclass_driver *lists_uclass_lookup(enum uclass_id id) in lists_uclass_lookup()
Ddevice.c652 enum uclass_id device_get_uclass_id(struct udevice *dev) in device_get_uclass_id()
/external/u-boot/drivers/block/
Dblk-uclass.c28 static enum uclass_id if_type_uclass_id[IF_TYPE_COUNT] = {
55 static enum uclass_id if_type_to_uclass_id(enum if_type if_type) in if_type_to_uclass_id()
86 enum uclass_id uclass_id; in blk_get_devnum_by_typename() local
98 uclass_id = if_type_to_uclass_id(if_type); in blk_get_devnum_by_typename()
99 if (uclass_id == UCLASS_INVALID) { in blk_get_devnum_by_typename()
117 if (device_get_uclass_id(dev->parent) != uclass_id) { in blk_get_devnum_by_typename()
119 device_get_uclass_id(dev->parent), uclass_id); in blk_get_devnum_by_typename()
463 enum uclass_id id; in blk_get_from_parent()
/external/u-boot/common/
Dlog.c48 name = uclass_get_name((enum uclass_id)cat); in log_get_cat_name()
55 enum uclass_id id; in log_get_cat_by_name()
Dstdio.c140 static int stdio_probe_device(const char *name, enum uclass_id id, in stdio_probe_device()
/external/u-boot/include/
Dlog.h55 static inline int log_uc_cat(enum uclass_id id) in log_uc_cat()
/external/u-boot/test/log/
Dlog_test.c12 static int log_run(enum uclass_id cat, const char *file) in log_run()