/linux-6.12.1/drivers/media/platform/microchip/ |
D | microchip-csi2dc.c | 193 const struct csi2dc_format *try_fmt; member 252 const struct csi2dc_format *fmt, *try_fmt = NULL; in csi2dc_set_fmt() local 266 try_fmt = fmt; in csi2dc_set_fmt() 271 if (!try_fmt) { in csi2dc_set_fmt() 272 try_fmt = &csi2dc_formats[0]; in csi2dc_set_fmt() 279 req_fmt->format.code = try_fmt->mbus_code; in csi2dc_set_fmt() 300 csi2dc->cur_fmt = try_fmt; in csi2dc_set_fmt()
|
D | microchip-isc.h | 302 struct v4l2_format try_fmt; member
|
D | microchip-isc-base.c | 885 isc->try_fmt = *f; in isc_try_fmt() 896 isc->fmt = isc->try_fmt; in isc_set_fmt()
|
/linux-6.12.1/drivers/media/i2c/ |
D | mt9m001.c | 658 struct v4l2_mbus_framefmt *try_fmt = in mt9m001_init_state() local 661 try_fmt->width = MT9M001_MAX_WIDTH; in mt9m001_init_state() 662 try_fmt->height = MT9M001_MAX_HEIGHT; in mt9m001_init_state() 663 try_fmt->code = mt9m001->fmts[0].code; in mt9m001_init_state() 664 try_fmt->colorspace = mt9m001->fmts[0].colorspace; in mt9m001_init_state() 665 try_fmt->field = V4L2_FIELD_NONE; in mt9m001_init_state() 666 try_fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in mt9m001_init_state() 667 try_fmt->quantization = V4L2_QUANTIZATION_DEFAULT; in mt9m001_init_state() 668 try_fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in mt9m001_init_state()
|
D | ov6650.c | 593 struct v4l2_mbus_framefmt *try_fmt = in ov6650_get_fmt() local 596 mf->width = try_fmt->width; in ov6650_get_fmt() 597 mf->height = try_fmt->height; in ov6650_get_fmt() 598 mf->code = try_fmt->code; in ov6650_get_fmt() 732 struct v4l2_mbus_framefmt *try_fmt = in ov6650_set_fmt() local 736 try_fmt->width = crop->width >> half_scale; in ov6650_set_fmt() 737 try_fmt->height = crop->height >> half_scale; in ov6650_set_fmt() 738 try_fmt->code = mf->code; in ov6650_set_fmt() 742 mf->width = try_fmt->width; in ov6650_set_fmt() 743 mf->height = try_fmt->height; in ov6650_set_fmt() [all …]
|
D | ov2640.c | 1002 struct v4l2_mbus_framefmt *try_fmt = in ov2640_init_state() local 1007 try_fmt->width = win->width; in ov2640_init_state() 1008 try_fmt->height = win->height; in ov2640_init_state() 1009 try_fmt->code = MEDIA_BUS_FMT_UYVY8_2X8; in ov2640_init_state() 1010 try_fmt->colorspace = V4L2_COLORSPACE_SRGB; in ov2640_init_state() 1011 try_fmt->field = V4L2_FIELD_NONE; in ov2640_init_state() 1012 try_fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in ov2640_init_state() 1013 try_fmt->quantization = V4L2_QUANTIZATION_DEFAULT; in ov2640_init_state() 1014 try_fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in ov2640_init_state()
|
D | ov13858.c | 1150 struct v4l2_mbus_framefmt *try_fmt = v4l2_subdev_state_get_format(fh->state, in ov13858_open() local 1156 try_fmt->width = ov13858->cur_mode->width; in ov13858_open() 1157 try_fmt->height = ov13858->cur_mode->height; in ov13858_open() 1158 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov13858_open() 1159 try_fmt->field = V4L2_FIELD_NONE; in ov13858_open()
|
D | ov5695.c | 1041 struct v4l2_mbus_framefmt *try_fmt = in ov5695_open() local 1047 try_fmt->width = def_mode->width; in ov5695_open() 1048 try_fmt->height = def_mode->height; in ov5695_open() 1049 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in ov5695_open() 1050 try_fmt->field = V4L2_FIELD_NONE; in ov5695_open()
|
D | imx319.c | 1863 struct v4l2_mbus_framefmt *try_fmt = in imx319_open() local 1869 try_fmt->width = imx319->cur_mode->width; in imx319_open() 1870 try_fmt->height = imx319->cur_mode->height; in imx319_open() 1871 try_fmt->code = imx319_get_format_code(imx319); in imx319_open() 1872 try_fmt->field = V4L2_FIELD_NONE; in imx319_open()
|
D | imx208.c | 397 struct v4l2_mbus_framefmt *try_fmt = in imx208_open() local 401 try_fmt->width = supported_modes[0].width; in imx208_open() 402 try_fmt->height = supported_modes[0].height; in imx208_open() 403 try_fmt->code = MEDIA_BUS_FMT_SRGGB10_1X10; in imx208_open() 404 try_fmt->field = V4L2_FIELD_NONE; in imx208_open()
|
D | imx355.c | 1161 struct v4l2_mbus_framefmt *try_fmt = in imx355_open() local 1167 try_fmt->width = imx355->cur_mode->width; in imx355_open() 1168 try_fmt->height = imx355->cur_mode->height; in imx355_open() 1169 try_fmt->code = imx355_get_format_code(imx355); in imx355_open() 1170 try_fmt->field = V4L2_FIELD_NONE; in imx355_open()
|
D | ov08x40.c | 1439 struct v4l2_mbus_framefmt *try_fmt = in ov08x40_open() local 1445 try_fmt->width = default_mode->width; in ov08x40_open() 1446 try_fmt->height = default_mode->height; in ov08x40_open() 1447 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov08x40_open() 1448 try_fmt->field = V4L2_FIELD_NONE; in ov08x40_open()
|
D | ov13b10.c | 758 struct v4l2_mbus_framefmt *try_fmt = v4l2_subdev_state_get_format(fh->state, in ov13b10_open() local 764 try_fmt->width = default_mode->width; in ov13b10_open() 765 try_fmt->height = default_mode->height; in ov13b10_open() 766 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov13b10_open() 767 try_fmt->field = V4L2_FIELD_NONE; in ov13b10_open()
|
D | imx258.c | 705 struct v4l2_mbus_framefmt *try_fmt = in imx258_open() local 710 try_fmt->width = supported_modes[0].width; in imx258_open() 711 try_fmt->height = supported_modes[0].height; in imx258_open() 712 try_fmt->code = imx258_get_format_code(imx258); in imx258_open() 713 try_fmt->field = V4L2_FIELD_NONE; in imx258_open()
|
D | ov2685.c | 546 struct v4l2_mbus_framefmt *try_fmt; in ov2685_open() local 550 try_fmt = v4l2_subdev_state_get_format(fh->state, 0); in ov2685_open() 552 ov2685_fill_fmt(&supported_modes[0], try_fmt); in ov2685_open()
|
D | ov2680.c | 647 struct v4l2_mbus_framefmt *try_fmt; in ov2680_set_fmt() local 664 try_fmt = v4l2_subdev_state_get_format(sd_state, 0); in ov2680_set_fmt() 665 *try_fmt = format->format; in ov2680_set_fmt()
|
/linux-6.12.1/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 179 static int try_fmt(struct v4l2_vbi_format *f, const struct bttv_tvnorm *tvnorm, in try_fmt() function 259 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start); in bttv_try_fmt_vbi_cap() 278 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start); in bttv_s_fmt_vbi_cap()
|
/linux-6.12.1/drivers/media/usb/gspca/ |
D | gspca.h | 121 cam_format_op try_fmt; member
|
D | gspca.c | 1069 if (gspca_dev->sd_desc->try_fmt) { in try_fmt_vid_cap() 1073 gspca_dev->sd_desc->try_fmt(gspca_dev, fmt); in try_fmt_vid_cap() 1106 if (gspca_dev->sd_desc->try_fmt) in vidioc_s_fmt_vid_cap()
|
D | stk1135.c | 645 .try_fmt = stk1135_try_fmt,
|
/linux-6.12.1/drivers/staging/media/ipu3/ |
D | ipu3-v4l2.c | 38 struct v4l2_mbus_framefmt *try_fmt = in imgu_subdev_open() local 41 try_fmt->width = try_crop.width; in imgu_subdev_open() 42 try_fmt->height = try_crop.height; in imgu_subdev_open() 43 try_fmt->code = imgu_pipe->nodes[i].pad_fmt.code; in imgu_subdev_open() 44 try_fmt->field = V4L2_FIELD_NONE; in imgu_subdev_open()
|