Home
last modified time | relevance | path

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

/drivers/media/usb/uvc/
Duvc_driver.c131 struct usb_host_endpoint *uvc_find_endpoint(struct usb_host_interface *alts, in uvc_find_endpoint() argument
137 for (i = 0; i < alts->desc.bNumEndpoints; ++i) { in uvc_find_endpoint()
138 ep = &alts->endpoint[i]; in uvc_find_endpoint()
310 struct usb_host_interface *alts = intf->cur_altsetting; in uvc_parse_format() local
329 alts->desc.bInterfaceNumber); in uvc_parse_format()
363 alts->desc.bInterfaceNumber); in uvc_parse_format()
379 alts->desc.bInterfaceNumber); in uvc_parse_format()
397 alts->desc.bInterfaceNumber, buffer[8]); in uvc_parse_format()
425 dev->udev->devnum, alts->desc.bInterfaceNumber, in uvc_parse_format()
451 alts->desc.bInterfaceNumber); in uvc_parse_format()
[all …]
Duvc_video.c1607 struct usb_host_interface *alts; in uvc_init_video() local
1610 alts = &intf->altsetting[i]; in uvc_init_video()
1611 ep = uvc_find_endpoint(alts, in uvc_init_video()
1619 altsetting = alts->desc.bAlternateSetting; in uvc_init_video()
Duvcvideo.h711 struct usb_host_interface *alts, __u8 epaddr);
/drivers/media/i2c/soc_camera/
Dov9640.c390 enum v4l2_mbus_pixelcode code, struct ov9640_reg_alt *alts) in ov9640_write_regs() argument
447 val |= alts->com7; in ov9640_write_regs()
450 val |= alts->com12; in ov9640_write_regs()
453 val |= alts->com13; in ov9640_write_regs()
456 val |= alts->com15; in ov9640_write_regs()
499 struct ov9640_reg_alt alts = {0}; in ov9640_s_fmt() local
505 ov9640_alter_regs(mf->code, &alts); in ov9640_s_fmt()
524 ret = ov9640_write_regs(client, mf->width, code, &alts); in ov9640_s_fmt()
/drivers/usb/class/
Dusblp.c1298 int r, alts; in usblp_set_protocol() local
1303 alts = usblp->protocol[protocol].alt_setting; in usblp_set_protocol()
1304 if (alts < 0) in usblp_set_protocol()
1306 r = usb_set_interface(usblp->dev, usblp->ifnum, alts); in usblp_set_protocol()
1309 alts, usblp->ifnum); in usblp_set_protocol()
/drivers/usb/core/
Ddevio.c692 struct usb_host_interface *alts; in findintfep() local
702 alts = &intf->altsetting[j]; in findintfep()
703 for (e = 0; e < alts->desc.bNumEndpoints; e++) { in findintfep()
704 endpt = &alts->endpoint[e].desc; in findintfep()
706 return alts->desc.bInterfaceNumber; in findintfep()
/drivers/bluetooth/
Dbtusb.c893 static const int alts[3] = { 2, 4, 5 }; in btusb_work() local
894 new_alts = alts[hdev->conn_hash.sco_num - 1]; in btusb_work()