Searched refs:role_class (Results 1 – 1 of 1) sorted by relevance
17 static struct class *role_class; variable98 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()