Home
last modified time | relevance | path

Searched refs:alts (Results 1 – 6 of 6) sorted by relevance

/drivers/media/video/uvc/
Duvc_driver.c128 struct usb_host_endpoint *uvc_find_endpoint(struct usb_host_interface *alts, in uvc_find_endpoint() argument
134 for (i = 0; i < alts->desc.bNumEndpoints; ++i) { in uvc_find_endpoint()
135 ep = &alts->endpoint[i]; in uvc_find_endpoint()
307 struct usb_host_interface *alts = intf->cur_altsetting; in uvc_parse_format() local
326 alts->desc.bInterfaceNumber); in uvc_parse_format()
360 alts->desc.bInterfaceNumber); in uvc_parse_format()
376 alts->desc.bInterfaceNumber); in uvc_parse_format()
394 alts->desc.bInterfaceNumber, buffer[8]); in uvc_parse_format()
422 dev->udev->devnum, alts->desc.bInterfaceNumber, in uvc_parse_format()
448 alts->desc.bInterfaceNumber); in uvc_parse_format()
[all …]
Duvcvideo.h682 struct usb_host_interface *alts, __u8 epaddr);
Duvc_video.c1584 struct usb_host_interface *alts; in uvc_init_video() local
1587 alts = &intf->altsetting[i]; in uvc_init_video()
1588 ep = uvc_find_endpoint(alts, in uvc_init_video()
/drivers/media/video/
Dov9640.c382 enum v4l2_mbus_pixelcode code, struct ov9640_reg_alt *alts) in ov9640_write_regs() argument
439 val |= alts->com7; in ov9640_write_regs()
442 val |= alts->com12; in ov9640_write_regs()
445 val |= alts->com13; in ov9640_write_regs()
448 val |= alts->com15; in ov9640_write_regs()
491 struct ov9640_reg_alt alts = {0}; in ov9640_s_fmt() local
497 ov9640_alter_regs(mf->code, &alts); in ov9640_s_fmt()
516 ret = ov9640_write_regs(client, mf->width, code, &alts); in ov9640_s_fmt()
/drivers/usb/class/
Dusblp.c1288 int r, alts; in usblp_set_protocol() local
1293 alts = usblp->protocol[protocol].alt_setting; in usblp_set_protocol()
1294 if (alts < 0) in usblp_set_protocol()
1296 r = usb_set_interface(usblp->dev, usblp->ifnum, alts); in usblp_set_protocol()
1299 alts, usblp->ifnum); in usblp_set_protocol()
/drivers/usb/core/
Ddevio.c634 struct usb_host_interface *alts; in findintfep() local
644 alts = &intf->altsetting[j]; in findintfep()
645 for (e = 0; e < alts->desc.bNumEndpoints; e++) { in findintfep()
646 endpt = &alts->endpoint[e].desc; in findintfep()
648 return alts->desc.bInterfaceNumber; in findintfep()