Lines Matching defs:output
36 MODULE_PARM_DESC(def_output, "vpbe output name (default:Composite)");
37 MODULE_PARM_DESC(def_mode, "vpbe output mode name (default:ntsc");
90 * @output: ptr to v4l2_output structure
93 * returns the status, -EINVAL if end of output list
96 struct v4l2_output *output)
99 unsigned int temp_index = output->index;
104 *output = cfg->outputs[temp_index].output;
105 output->index = temp_index;
184 * vpbe_set_output - Set output
186 * @index: index of output
188 * Set vpbe output to the output specified by the index
206 enc_out_index = cfg->outputs[index].output.index;
208 * Currently we switch the encoder based on output selected
214 * way of switching encoder at the venc output.
218 /* Need to switch the encoder at the output */
230 /* Set output at the encoder */
238 * mode in the sub device. For external encoder or LCD pannel output,
268 cfg->outputs[i].output.name)) {
280 * vpbe_get_output - Get output
283 * return current vpbe output to the the index
301 struct vpbe_output *output = &cfg->outputs[out_index];
306 if (!(cfg->outputs[out_index].output.capabilities &
310 for (i = 0; i < output->num_modes; i++) {
311 if (output->modes[i].timings_type == VPBE_ENC_DV_TIMINGS &&
312 !memcmp(&output->modes[i].dv_timings,
316 if (i >= output->num_modes)
318 vpbe_dev->current_timings = output->modes[i];
328 /* set the lcd controller output for the given mode */
354 if (!(cfg->outputs[out_index].output.capabilities &
378 struct vpbe_output *output = &cfg->outputs[out_index];
382 if (!(output->output.capabilities & V4L2_OUT_CAP_DV_TIMINGS))
385 for (i = 0; i < output->num_modes; i++) {
386 if (output->modes[i].timings_type == VPBE_ENC_DV_TIMINGS) {
393 if (i == output->num_modes)
395 timings->timings = output->modes[i].dv_timings;
412 if (!(cfg->outputs[out_index].output.capabilities &
424 /* set the lcd controller output for the given mode */
450 if (!(cfg->outputs[out_index].output.capabilities & V4L2_OUT_CAP_STD))
702 /* set the current encoder and output to that of venc by default */
708 printk(KERN_NOTICE "Setting default output to %s\n", def_output);
711 v4l2_err(&vpbe_dev->v4l2_dev, "Failed to set default output %s",
724 /* TBD handling of bootargs for default output and mode */