Home
last modified time | relevance | path

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

/drivers/usb/core/
Dconfig.c228 struct usb_interface_cache *intfc; in config_endpoint_is_duplicate() local
233 intfc = config->intf_cache[i]; in config_endpoint_is_duplicate()
235 for (j = 0; j < intfc->num_altsetting; ++j) { in config_endpoint_is_duplicate()
236 alt = &intfc->altsetting[j]; in config_endpoint_is_duplicate()
486 struct usb_interface_cache *intfc = ref_to_usb_interface_cache(ref); in usb_release_interface_cache() local
489 for (j = 0; j < intfc->num_altsetting; j++) { in usb_release_interface_cache()
490 struct usb_host_interface *alt = &intfc->altsetting[j]; in usb_release_interface_cache()
495 kfree(intfc); in usb_release_interface_cache()
505 struct usb_interface_cache *intfc; in usb_parse_interface() local
519 intfc = NULL; in usb_parse_interface()
[all …]
Ddevices.c192 const struct usb_interface_cache *intfc, in usb_dump_interface_descriptor() argument
202 desc = &intfc->altsetting[setno].desc; in usb_dump_interface_descriptor()
223 const struct usb_interface_cache *intfc, in usb_dump_interface() argument
226 const struct usb_host_interface *desc = &intfc->altsetting[setno]; in usb_dump_interface()
229 start = usb_dump_interface_descriptor(start, end, intfc, iface, setno); in usb_dump_interface()
283 struct usb_interface_cache *intfc; in usb_dump_config() local
300 intfc = config->intf_cache[i]; in usb_dump_config()
302 for (j = 0; j < intfc->num_altsetting; j++) { in usb_dump_config()
304 start, end, intfc, interface, j); in usb_dump_config()
Dmessage.c1769 struct usb_interface_cache *intfc = in usb_release_interface() local
1772 kref_put(&intfc->ref, usb_release_interface_cache); in usb_release_interface()
2058 struct usb_interface_cache *intfc; in usb_set_configuration() local
2064 intfc = cp->intf_cache[i]; in usb_set_configuration()
2065 intf->altsetting = intfc->altsetting; in usb_set_configuration()
2066 intf->num_altsetting = intfc->num_altsetting; in usb_set_configuration()
2068 kref_get(&intfc->ref); in usb_set_configuration()
/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c312 struct usb_interface_cache *intfc; in stv06xx_isoc_init() local
316 intfc = gspca_dev->dev->actconfig->intf_cache[0]; in stv06xx_isoc_init()
318 if (intfc->num_altsetting < 2) in stv06xx_isoc_init()
321 alt = &intfc->altsetting[1]; in stv06xx_isoc_init()
/drivers/media/usb/gspca/
Dxirlink_cit.c2632 struct usb_interface_cache *intfc; in sd_isoc_init() local
2648 intfc = gspca_dev->dev->actconfig->intf_cache[0]; in sd_isoc_init()
2650 if (intfc->num_altsetting < 2) in sd_isoc_init()
2653 alt = &intfc->altsetting[1]; in sd_isoc_init()