Lines Matching refs:udevice
107 struct udevice *dev; in uclass_destroy()
117 dev = list_first_entry(&uc->dev_head, struct udevice, in uclass_destroy()
174 int uclass_find_device(enum uclass_id id, int index, struct udevice **devp) in uclass_find_device()
177 struct udevice *dev; in uclass_find_device()
197 int uclass_find_first_device(enum uclass_id id, struct udevice **devp) in uclass_find_first_device()
209 *devp = list_first_entry(&uc->dev_head, struct udevice, uclass_node); in uclass_find_first_device()
214 int uclass_find_next_device(struct udevice **devp) in uclass_find_next_device()
216 struct udevice *dev = *devp; in uclass_find_next_device()
222 *devp = list_entry(dev->uclass_node.next, struct udevice, uclass_node); in uclass_find_next_device()
228 struct udevice **devp) in uclass_find_device_by_name()
231 struct udevice *dev; in uclass_find_device_by_name()
252 bool find_req_seq, struct udevice **devp) in uclass_find_device_by_seq()
255 struct udevice *dev; in uclass_find_device_by_seq()
281 struct udevice **devp) in uclass_find_device_by_of_offset()
284 struct udevice *dev; in uclass_find_device_by_of_offset()
305 struct udevice **devp) in uclass_find_device_by_ofnode()
308 struct udevice *dev; in uclass_find_device_by_ofnode()
330 struct udevice *parent, in uclass_find_device_by_phandle()
332 struct udevice **devp) in uclass_find_device_by_phandle()
334 struct udevice *dev; in uclass_find_device_by_phandle()
364 struct udevice **devp) in uclass_get_device_by_driver()
366 struct udevice *dev; in uclass_get_device_by_driver()
382 int uclass_get_device_tail(struct udevice *dev, int ret, struct udevice **devp) in uclass_get_device_tail()
397 int uclass_get_device(enum uclass_id id, int index, struct udevice **devp) in uclass_get_device()
399 struct udevice *dev; in uclass_get_device()
408 struct udevice **devp) in uclass_get_device_by_name()
410 struct udevice *dev; in uclass_get_device_by_name()
418 int uclass_get_device_by_seq(enum uclass_id id, int seq, struct udevice **devp) in uclass_get_device_by_seq()
420 struct udevice *dev; in uclass_get_device_by_seq()
436 struct udevice **devp) in uclass_get_device_by_of_offset()
438 struct udevice *dev; in uclass_get_device_by_of_offset()
447 struct udevice **devp) in uclass_get_device_by_ofnode()
449 struct udevice *dev; in uclass_get_device_by_ofnode()
460 struct udevice **devp) in uclass_get_device_by_phandle_id()
462 struct udevice *dev; in uclass_get_device_by_phandle_id()
485 int uclass_get_device_by_phandle(enum uclass_id id, struct udevice *parent, in uclass_get_device_by_phandle()
486 const char *name, struct udevice **devp) in uclass_get_device_by_phandle()
488 struct udevice *dev; in uclass_get_device_by_phandle()
497 int uclass_first_device(enum uclass_id id, struct udevice **devp) in uclass_first_device()
499 struct udevice *dev; in uclass_first_device()
509 int uclass_first_device_err(enum uclass_id id, struct udevice **devp) in uclass_first_device_err()
522 int uclass_next_device(struct udevice **devp) in uclass_next_device()
524 struct udevice *dev = *devp; in uclass_next_device()
534 int uclass_first_device_check(enum uclass_id id, struct udevice **devp) in uclass_first_device_check()
548 int uclass_next_device_check(struct udevice **devp) in uclass_next_device_check()
561 int uclass_bind_device(struct udevice *dev) in uclass_bind_device()
588 int uclass_unbind_device(struct udevice *dev) in uclass_unbind_device()
605 int uclass_resolve_seq(struct udevice *dev) in uclass_resolve_seq()
607 struct udevice *dup; in uclass_resolve_seq()
636 int uclass_pre_probe_device(struct udevice *dev) in uclass_pre_probe_device()
657 int uclass_post_probe_device(struct udevice *dev) in uclass_post_probe_device()
668 int uclass_pre_remove_device(struct udevice *dev) in uclass_pre_remove_device()