Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/roles/
Dclass.c17 static struct class *role_class; variable
98 dev = class_find_device_by_fwnode(role_class, fwnode); in usb_role_switch_match()
112 dev = class_find_device_by_fwnode(role_class, parent); in usb_role_switch_is_parent()
191 dev = class_find_device_by_fwnode(role_class, fwnode); in usb_role_switch_find_by_fwnode()
339 sw->dev.class = role_class; in usb_role_switch_register()
393 role_class = class_create(THIS_MODULE, "usb_role"); in usb_roles_init()
394 return PTR_ERR_OR_ZERO(role_class); in usb_roles_init()
400 class_destroy(role_class); in usb_roles_exit()