Searched refs:conf_desc (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.3/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() argument 1425 if (unlikely(conf_desc == NULL)) in xhci_get_config_desc() 1429 int retval = xhci_get_desc(id, port_id, conf_desc, USB_DT_CONFIG, 0, 0, 9); in xhci_get_config_desc() 1433 conf_desc->type, conf_desc->len, conf_desc->total_len, conf_desc->num_interfaces, in xhci_get_config_desc() 1434 (xhci_get_port_speed(id, port_id) == XHCI_PORT_SPEED_SUPER) ? (conf_desc->max_power * 8) in xhci_get_config_desc() 1435 … : (conf_desc->max_power * 2)); 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() argument 1451 if (unlikely(conf_desc == NULL || target == NULL)) in xhci_get_config_desc_full() [all …]
|