Home
last modified time | relevance | path

Searched refs:intfc (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/core/
Dconfig.c290 struct usb_interface_cache *intfc = ref_to_usb_interface_cache(ref); in usb_release_interface_cache() local
293 for (j = 0; j < intfc->num_altsetting; j++) { in usb_release_interface_cache()
294 struct usb_host_interface *alt = &intfc->altsetting[j]; in usb_release_interface_cache()
299 kfree(intfc); in usb_release_interface_cache()
309 struct usb_interface_cache *intfc; in usb_parse_interface() local
323 intfc = NULL; in usb_parse_interface()
327 intfc = config->intf_cache[i]; in usb_parse_interface()
331 if (!intfc || intfc->num_altsetting >= nalts[i]) in usb_parse_interface()
336 for ((i = 0, alt = &intfc->altsetting[0]); in usb_parse_interface()
337 i < intfc->num_altsetting; in usb_parse_interface()
[all …]
Ddevices.c250 const struct usb_interface_cache *intfc, in usb_dump_interface_descriptor() argument
260 desc = &intfc->altsetting[setno].desc; in usb_dump_interface_descriptor()
281 const struct usb_interface_cache *intfc, in usb_dump_interface() argument
284 const struct usb_host_interface *desc = &intfc->altsetting[setno]; in usb_dump_interface()
287 start = usb_dump_interface_descriptor(start, end, intfc, iface, setno); in usb_dump_interface()
337 struct usb_interface_cache *intfc; in usb_dump_config() local
353 intfc = config->intf_cache[i]; in usb_dump_config()
355 for (j = 0; j < intfc->num_altsetting; j++) { in usb_dump_config()
359 start, end, intfc, interface, j); in usb_dump_config()
Dmessage.c1512 struct usb_interface_cache *intfc = in usb_release_interface() local
1515 kref_put(&intfc->ref, usb_release_interface_cache); in usb_release_interface()
1778 struct usb_interface_cache *intfc; in usb_set_configuration() local
1783 intfc = cp->intf_cache[i]; in usb_set_configuration()
1784 intf->altsetting = intfc->altsetting; in usb_set_configuration()
1785 intf->num_altsetting = intfc->num_altsetting; in usb_set_configuration()
1786 kref_get(&intfc->ref); in usb_set_configuration()