Lines Matching refs:drv
21 struct driver *drv; in bind_by_class_index() local
23 drv = lists_driver_lookup_name(drv_name); in bind_by_class_index()
24 if (!drv) { in bind_by_class_index()
41 ret = device_bind_with_driver_data(parent, drv, drv->name, 0, in bind_by_class_index()
100 struct driver *drv; in unbind_child_by_class_index() local
102 drv = lists_driver_lookup_name(drv_name); in unbind_child_by_class_index()
103 if (!drv) { in unbind_child_by_class_index()
112 ret = device_chld_remove(parent, drv, DM_REMOVE_NORMAL); in unbind_child_by_class_index()
116 ret = device_chld_unbind(parent, drv); in unbind_child_by_class_index()
129 struct driver *drv; in bind_by_node_path() local
131 drv = lists_driver_lookup_name(drv_name); in bind_by_node_path()
132 if (!drv) { in bind_by_node_path()