Lines Matching defs:format
183 const struct adv76xx_format_info *format;
1152 * input format (CE/IT) in automatic mode */
1417 "%s: No format candidate found for lcvs = %d, lcf=%d, bl = %d, %chsync, %cvsync\n",
1509 if the format is listed in adv76xx_timings[] */
1629 /* find format
1648 * STDI interrupt and the format detection process will
1663 v4l2_dbg(1, debug, sd, "%s: format not supported\n", __func__);
1720 /* custom settings when the video format
1853 struct v4l2_mbus_framefmt *format)
1855 memset(format, 0, sizeof(*format));
1857 format->width = state->timings.bt.width;
1858 format->height = state->timings.bt.height;
1859 format->field = V4L2_FIELD_NONE;
1860 format->colorspace = V4L2_COLORSPACE_SRGB;
1863 format->colorspace = (state->timings.bt.height <= 576) ?
1869 * corresponding to the selected format taking into account bus reordering
1872 * The following table gives the op_ch_value from the format component order
1901 return op_ch_sel[state->pdata.bus_order][state->format->op_ch_sel >> 5];
1909 state->format->rgb_out ? ADV76XX_RGB_OUT : 0);
1910 io_write(sd, 0x03, state->format->op_format_sel |
1914 state->format->swap_cb_cr ? ADV76XX_OP_SWAP_CB_CR : 0);
1920 struct v4l2_subdev_format *format)
1924 if (format->pad != state->source_pad)
1927 adv76xx_fill_format(state, &format->format);
1929 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
1932 fmt = v4l2_subdev_get_try_format(sd, sd_state, format->pad);
1933 format->format.code = fmt->code;
1935 format->format.code = state->format->code;
1963 struct v4l2_subdev_format *format)
1968 if (format->pad != state->source_pad)
1971 info = adv76xx_format_info(state, format->format.code);
1975 adv76xx_fill_format(state, &format->format);
1976 format->format.code = info->code;
1978 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
1981 fmt = v4l2_subdev_get_try_format(sd, sd_state, format->pad);
1982 fmt->code = format->format.code;
1984 state->format = info;
2224 /* format change */
2613 v4l2_print_dv_timings(sd->name, "Detected format: ",
2615 v4l2_print_dv_timings(sd->name, "Configured format: ",
2655 v4l2_info(sd, "Audio format: %s\n",
2850 /* video format */
3476 state->format = adv76xx_format_info(state, MEDIA_BUS_FMT_YUYV8_2X8);