Lines Matching refs:uclass

22 struct uclass *uclass_find(enum uclass_id key)  in uclass_find()
24 struct uclass *uc; in uclass_find()
50 static int uclass_add(enum uclass_id id, struct uclass **ucp) in uclass_add()
53 struct uclass *uc; in uclass_add()
104 int uclass_destroy(struct uclass *uc) in uclass_destroy()
138 int uclass_get(enum uclass_id id, struct uclass **ucp) in uclass_get()
140 struct uclass *uc; in uclass_get()
153 struct uclass *uc; in uclass_get_name()
176 struct uclass *uc; in uclass_find_device()
199 struct uclass *uc; in uclass_find_first_device()
219 if (list_is_last(&dev->uclass_node, &dev->uclass->dev_head)) in uclass_find_next_device()
230 struct uclass *uc; in uclass_find_device_by_name()
254 struct uclass *uc; in uclass_find_device_by_seq()
283 struct uclass *uc; in uclass_find_device_by_of_offset()
307 struct uclass *uc; in uclass_find_device_by_ofnode()
335 struct uclass *uc; in uclass_find_device_by_phandle()
367 struct uclass *uc; in uclass_get_device_by_driver()
463 struct uclass *uc; in uclass_get_device_by_phandle_id()
563 struct uclass *uc; in uclass_bind_device()
566 uc = dev->uclass; in uclass_bind_device()
570 struct uclass_driver *uc_drv = dev->parent->uclass->uc_drv; in uclass_bind_device()
590 struct uclass *uc; in uclass_unbind_device()
593 uc = dev->uclass; in uclass_unbind_device()
612 ret = uclass_find_device_by_seq(dev->uclass->uc_drv->id, dev->req_seq, in uclass_resolve_seq()
626 ret = uclass_find_device_by_seq(dev->uclass->uc_drv->id, seq, in uclass_resolve_seq()
641 uc_drv = dev->uclass->uc_drv; in uclass_pre_probe_device()
650 uc_drv = dev->parent->uclass->uc_drv; in uclass_pre_probe_device()
659 struct uclass_driver *uc_drv = dev->uclass->uc_drv; in uclass_post_probe_device()
670 struct uclass *uc; in uclass_pre_remove_device()
673 uc = dev->uclass; in uclass_pre_remove_device()