Lines Matching defs:index
54 int index = vpbe_dev->current_sd_index;
56 return ((index == 0) ? &cfg->venc :
57 &cfg->ext_encoders[index-1]);
61 * vpbe_find_encoder_sd_index - Given a name find encoder sd index
64 * @index: index used by application
66 * Return sd index of the encoder
69 int index)
71 char *encoder_name = cfg->outputs[index].subdev_name;
99 unsigned int temp_index = output->index;
105 output->index = temp_index;
186 * @index: index of output
188 * Set vpbe output to the output specified by the index
190 static int vpbe_set_output(struct vpbe_device *vpbe_dev, int index)
200 if (index >= cfg->num_outputs)
206 enc_out_index = cfg->outputs[index].output.index;
217 cfg->outputs[index].subdev_name)) {
219 sd_index = vpbe_find_encoder_sd_index(cfg, index);
225 ret = venc_device->setup_if_config(cfg->outputs[index].if_params);
245 cfg->outputs[index].default_mode, index);
254 vpbe_dev->current_out_index = index;
283 * return current vpbe output to the the index
387 if (j == timings->index)
637 * Register any external encoders that are configured. At index 0 we
638 * store venc sd index.
652 /* venc is at index 0 */