Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/usb/core/
A Dconfig.c233 intfc = config->intf_cache[i]; in config_endpoint_is_duplicate()
236 alt = &intfc->altsetting[j]; in config_endpoint_is_duplicate()
495 kfree(intfc); in usb_release_interface_cache()
519 intfc = NULL; in usb_parse_interface()
527 if (!intfc || intfc->num_altsetting >= nalts[i]) in usb_parse_interface()
543 ++intfc->num_altsetting; in usb_parse_interface()
772 intfc = kzalloc(struct_size(intfc, altsetting, j), GFP_KERNEL); in usb_parse_configuration()
773 config->intf_cache[i] = intfc; in usb_parse_configuration()
774 if (!intfc) in usb_parse_configuration()
776 kref_init(&intfc->ref); in usb_parse_configuration()
[all …]
A 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()
A Dmessage.c1775 struct usb_interface_cache *intfc = in usb_release_interface() local
1778 kref_put(&intfc->ref, usb_release_interface_cache); in usb_release_interface()
2064 struct usb_interface_cache *intfc; in usb_set_configuration() local
2070 intfc = cp->intf_cache[i]; in usb_set_configuration()
2071 intf->altsetting = intfc->altsetting; in usb_set_configuration()
2072 intf->num_altsetting = intfc->num_altsetting; in usb_set_configuration()
2074 kref_get(&intfc->ref); in usb_set_configuration()
/linux-6.3-rc2/drivers/media/usb/gspca/stv06xx/
A 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()
/linux-6.3-rc2/drivers/media/usb/gspca/
A 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()

Completed in 15 milliseconds