Lines Matching refs:full_conf
73 static int xhci_get_hid_descriptor(int id, int port_id, const void *full_conf, int interface_number,
1797 void *full_conf = NULL; in xhci_configure_port() local
1810 full_conf = kzalloc(conf_desc.total_len, 0); in xhci_configure_port()
1811 if (unlikely(full_conf == NULL)) in xhci_configure_port()
1814 retval = xhci_get_config_desc_full(id, port_id, &conf_desc, full_conf); in xhci_configure_port()
1819 retval = xhci_get_interface_desc(full_conf, 0, &if_desc); in xhci_configure_port()
1832 retval = xhci_set_configuration(id, port_id, ((struct usb_config_desc *)full_conf)->value); in xhci_configure_port()
1849 … retval = xhci_get_hid_descriptor(id, port_id, full_conf, if_desc->interface_number, &hid_desc); in xhci_configure_port()
1886 kfree(full_conf); in xhci_configure_port()
2027 static int xhci_get_hid_descriptor(int id, int port_id, const void *full_conf, int interface_number, in xhci_get_hid_descriptor() argument
2030 if (unlikely(ret_hid_desc == NULL || full_conf == NULL)) in xhci_get_hid_descriptor()
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()
2040 struct usb_hid_desc *ptr = (struct usb_hid_desc *)(full_conf + pos); in xhci_get_hid_descriptor()