Searched refs:intfc (Results 1 – 3 of 3) sorted by relevance
/drivers/usb/core/ |
D | config.c | 184 struct usb_interface_cache *intfc = ref_to_usb_interface_cache(ref); in usb_release_interface_cache() local 187 for (j = 0; j < intfc->num_altsetting; j++) { in usb_release_interface_cache() 188 struct usb_host_interface *alt = &intfc->altsetting[j]; in usb_release_interface_cache() 193 kfree(intfc); in usb_release_interface_cache() 203 struct usb_interface_cache *intfc; in usb_parse_interface() local 217 intfc = NULL; in usb_parse_interface() 221 intfc = config->intf_cache[i]; in usb_parse_interface() 225 if (!intfc || intfc->num_altsetting >= nalts[i]) in usb_parse_interface() 230 for ((i = 0, alt = &intfc->altsetting[0]); in usb_parse_interface() 231 i < intfc->num_altsetting; in usb_parse_interface() [all …]
|
D | devices.c | 237 const struct usb_interface_cache *intfc, in usb_dump_interface_descriptor() argument 247 desc = &intfc->altsetting[setno].desc; in usb_dump_interface_descriptor() 268 const struct usb_interface_cache *intfc, in usb_dump_interface() argument 271 const struct usb_host_interface *desc = &intfc->altsetting[setno]; in usb_dump_interface() 274 start = usb_dump_interface_descriptor(start, end, intfc, iface, setno); in usb_dump_interface() 324 struct usb_interface_cache *intfc; in usb_dump_config() local 340 intfc = config->intf_cache[i]; in usb_dump_config() 342 for (j = 0; j < intfc->num_altsetting; j++) { in usb_dump_config() 346 start, end, intfc, interface, j); in usb_dump_config()
|
D | message.c | 1416 struct usb_interface_cache *intfc = in usb_release_interface() local 1419 kref_put(&intfc->ref, usb_release_interface_cache); in usb_release_interface() 1684 struct usb_interface_cache *intfc; in usb_set_configuration() local 1689 intfc = cp->intf_cache[i]; in usb_set_configuration() 1690 intf->altsetting = intfc->altsetting; in usb_set_configuration() 1691 intf->num_altsetting = intfc->num_altsetting; in usb_set_configuration() 1693 kref_get(&intfc->ref); in usb_set_configuration()
|