Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/usb/
Dusb.h63 struct usb_config_desc struct
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dxhci.c61 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,
1425 static int xhci_get_config_desc(const int id, const int port_id, struct usb_config_desc *conf_desc) in xhci_get_config_desc()
1450 …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()
1472 if (if_num >= ((struct usb_config_desc *)in_buf)->num_interfaces) in xhci_get_interface_desc()
1474 uint32_t total_len = ((struct usb_config_desc *)in_buf)->total_len; in xhci_get_interface_desc()
1807 struct usb_config_desc conf_desc = {0}; in xhci_configure_port()
1834 retval = xhci_set_configuration(id, port_id, ((struct usb_config_desc *)full_conf)->value); in xhci_configure_port()
2036 if (interface_number >= ((struct usb_config_desc *)full_conf)->num_interfaces) in xhci_get_hid_descriptor()
2038 uint32_t total_len = ((struct usb_config_desc *)full_conf)->total_len; in xhci_get_hid_descriptor()