Lines Matching refs:pipe_cfg
163 static struct vimc_pipeline_config pipe_cfg = { variable
178 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_rm_links()
188 for (i = 0; i < vimc->pipe_cfg->num_data_links; i++) { in vimc_create_links()
189 const struct vimc_data_link *link = &vimc->pipe_cfg->data_links[i]; in vimc_create_links()
203 for (i = 0; i < vimc->pipe_cfg->num_ancillary_links; i++) { in vimc_create_links()
204 const struct vimc_ancillary_link *link = &vimc->pipe_cfg->ancillary_links[i]; in vimc_create_links()
230 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_release_subdevs()
232 vimc->pipe_cfg->ents[i].type->release(vimc->ent_devs[i]); in vimc_release_subdevs()
239 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_unregister_subdevs()
240 if (vimc->ent_devs[i] && vimc->pipe_cfg->ents[i].type->unregister) in vimc_unregister_subdevs()
241 vimc->pipe_cfg->ents[i].type->unregister(vimc->ent_devs[i]); in vimc_unregister_subdevs()
248 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) { in vimc_add_subdevs()
250 vimc->pipe_cfg->ents[i].name); in vimc_add_subdevs()
251 vimc->ent_devs[i] = vimc->pipe_cfg->ents[i].type->add(vimc, in vimc_add_subdevs()
252 vimc->pipe_cfg->ents[i].name); in vimc_add_subdevs()
257 vimc->pipe_cfg->ents[i].name, err); in vimc_add_subdevs()
290 vimc->ent_devs = kcalloc(vimc->pipe_cfg->num_ents, in vimc_register_devices()
361 vimc->pipe_cfg = &pipe_cfg; in vimc_probe()