Lines Matching refs:preset
348 u32 preset;
597 * tvp7002_s_dv_preset() - Set digital video preset
601 * Set the digital video preset for a TVP7002 decoder device.
608 u32 preset;
612 preset = tvp7002_presets[i].preset;
613 if (preset == dv_preset->preset) {
716 error = v4l_fill_dv_preset_info(device->current_preset->preset, &e_preset);
777 * tvp7002_query_dv_preset() - query DV preset
781 * Returns the current DV preset by TVP7002. If no active input is
832 /* Could not detect a signal, so return the 'invalid' preset */
833 qpreset->preset = V4L2_DV_INVALID;
837 /* Set values in found preset */
838 qpreset->preset = presets->preset;
841 v4l2_dbg(1, debug, sd, "detected preset: %d\n", presets->preset);
961 detected.preset = V4L2_DV_INVALID;
967 if (presets->preset == detected.preset)
970 if (v4l_fill_dv_preset_info(device->current_preset->preset, &e_preset))
979 if (v4l_fill_dv_preset_info(presets->preset, &e_preset))
997 * @preset: pointer to format struct
1002 struct v4l2_dv_enum_preset *preset)
1005 if (preset->index >= NUM_PRESETS)
1008 return v4l_fill_dv_preset_info(tvp7002_presets[preset->index].preset, preset);
1071 struct v4l2_dv_preset preset;
1132 preset.preset = device->current_preset->preset;
1133 error = tvp7002_s_dv_preset(sd, &preset);