Searched refs:usb_config_desc (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.2/kernel/src/driver/usb/ |
D | usb.h | 63 struct usb_config_desc struct
|
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/ |
D | xhci.c | 61 static int xhci_get_config_desc(const int id, const int port_id, struct usb_config_desc *conf_desc); 62 …xhci_get_config_desc_full(const int id, const int port_id, const struct usb_config_desc *conf_desc, 1423 static int xhci_get_config_desc(const int id, const int port_id, struct usb_config_desc *conf_desc) in xhci_get_config_desc() 1448 …xhci_get_config_desc_full(const int id, const int port_id, const struct usb_config_desc *conf_desc, in xhci_get_config_desc_full() 1470 if (if_num >= ((struct usb_config_desc *)in_buf)->num_interfaces) in xhci_get_interface_desc() 1472 uint32_t total_len = ((struct usb_config_desc *)in_buf)->total_len; in xhci_get_interface_desc() 1805 struct usb_config_desc conf_desc = {0}; in xhci_configure_port() 1832 retval = xhci_set_configuration(id, port_id, ((struct usb_config_desc *)full_conf)->value); in xhci_configure_port() 2034 if (interface_number >= ((struct usb_config_desc *)full_conf)->num_interfaces) in xhci_get_hid_descriptor() 2036 uint32_t total_len = ((struct usb_config_desc *)full_conf)->total_len; in xhci_get_hid_descriptor()
|