Home
last modified time | relevance | path

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

/drivers/usb/gadget/function/
Duvc_v4l2.c122 struct uvc_format_desc *fmtdesc = to_uvc_format(format->fmt); in find_format_by_pix() local
124 if (fmtdesc->fcc == pixelformat) { in find_format_by_pix()
367 struct uvc_format_desc *fmtdesc; in uvc_v4l2_enum_format() local
380 fmtdesc = to_uvc_format(uformat); in uvc_v4l2_enum_format()
381 f->pixelformat = fmtdesc->fcc; in uvc_v4l2_enum_format()
383 strscpy(f->description, fmtdesc->name, sizeof(f->description)); in uvc_v4l2_enum_format()
384 f->description[strlen(fmtdesc->name) - 1] = 0; in uvc_v4l2_enum_format()
/drivers/media/usb/uvc/
Duvc_driver.c227 struct uvc_format_desc *fmtdesc; in uvc_parse_format() local
251 fmtdesc = uvc_format_by_guid(&buffer[5]); in uvc_parse_format()
253 if (fmtdesc != NULL) { in uvc_parse_format()
254 strscpy(format->name, fmtdesc->name, in uvc_parse_format()
256 format->fcc = fmtdesc->fcc; in uvc_parse_format()
/drivers/media/usb/gspca/
Dgspca.c999 struct v4l2_fmtdesc *fmtdesc) in vidioc_enum_fmt_vid_cap() argument
1016 if (fmtdesc->index == index) in vidioc_enum_fmt_vid_cap()
1026 fmtdesc->pixelformat = fmt_tb[index]; in vidioc_enum_fmt_vid_cap()