Searched refs:default_role (Results 1 – 5 of 5) sorted by relevance
141 if (otg_sx->default_role == USB_ROLE_DEVICE) in ssusb_mode_sw_work()289 otg_sx->default_role = USB_ROLE_DEVICE; in ssusb_role_sw_register()291 otg_sx->default_role = USB_ROLE_HOST; in ssusb_role_sw_register()301 ssusb_set_mode(otg_sx, otg_sx->default_role); in ssusb_role_sw_register()
216 enum usb_role default_role; member
63 char default_role; member
1817 if (cladatum && cladatum->default_role == DEFAULT_SOURCE) { in security_compute_sid()1819 } else if (cladatum && cladatum->default_role == DEFAULT_TARGET) { in security_compute_sid()
1363 cladatum->default_role = le32_to_cpu(buf[1]); in class_read()3101 buf[1] = cpu_to_le32(cladatum->default_role); in class_write()