• Home
  • Raw
  • Download

Lines Matching refs:ops

137 	struct snd_soc_tplg_ops *ops;  member
298 hdr->ops.get, hdr->ops.put, hdr->ops.info, index, in soc_bind_err()
307 name, hdr->ops.get, hdr->ops.put, hdr->ops.info, in soc_control_err()
317 if (tplg->comp && tplg->ops && tplg->ops->vendor_load) in soc_tplg_vendor_load_()
318 ret = tplg->ops->vendor_load(tplg->comp, hdr); in soc_tplg_vendor_load_()
349 if (tplg->comp && tplg->ops && tplg->ops->widget_load) in soc_tplg_widget_load()
350 return tplg->ops->widget_load(tplg->comp, w, tplg_w); in soc_tplg_widget_load()
360 if (tplg->comp && tplg->ops && tplg->ops->widget_ready) in soc_tplg_widget_ready()
361 return tplg->ops->widget_ready(tplg->comp, w, tplg_w); in soc_tplg_widget_ready()
370 if (tplg->comp && tplg->ops && tplg->ops->dai_load) in soc_tplg_dai_load()
371 return tplg->ops->dai_load(tplg->comp, dai_drv); in soc_tplg_dai_load()
380 if (tplg->comp && tplg->ops && tplg->ops->link_load) in soc_tplg_dai_link_load()
381 return tplg->ops->link_load(tplg->comp, link); in soc_tplg_dai_link_load()
389 if (tplg->comp && tplg->ops && tplg->ops->complete) in soc_tplg_complete()
390 tplg->ops->complete(tplg->comp); in soc_tplg_complete()
439 if (dobj->ops && dobj->ops->control_unload) in remove_mixer()
440 dobj->ops->control_unload(comp, dobj); in remove_mixer()
461 if (dobj->ops && dobj->ops->control_unload) in remove_enum()
462 dobj->ops->control_unload(comp, dobj); in remove_enum()
484 if (dobj->ops && dobj->ops->control_unload) in remove_bytes()
485 dobj->ops->control_unload(comp, dobj); in remove_bytes()
504 if (dobj->ops && dobj->ops->widget_unload) in remove_widget()
505 dobj->ops->widget_unload(comp, dobj); in remove_widget()
561 if (dobj->ops && dobj->ops->dai_unload) in remove_dai()
562 dobj->ops->dai_unload(comp, dobj); in remove_dai()
579 if (dobj->ops && dobj->ops->link_unload) in remove_link()
580 dobj->ops->link_unload(comp, dobj); in remove_link()
596 const struct snd_soc_tplg_kcontrol_ops *ops; in soc_tplg_kcontrol_bind_io() local
600 if (hdr->ops.info == SND_SOC_TPLG_CTL_BYTES in soc_tplg_kcontrol_bind_io()
632 ops = tplg->io_ops; in soc_tplg_kcontrol_bind_io()
636 if (k->put == NULL && ops[i].id == hdr->ops.put) in soc_tplg_kcontrol_bind_io()
637 k->put = ops[i].put; in soc_tplg_kcontrol_bind_io()
638 if (k->get == NULL && ops[i].id == hdr->ops.get) in soc_tplg_kcontrol_bind_io()
639 k->get = ops[i].get; in soc_tplg_kcontrol_bind_io()
640 if (k->info == NULL && ops[i].id == hdr->ops.info) in soc_tplg_kcontrol_bind_io()
641 k->info = ops[i].info; in soc_tplg_kcontrol_bind_io()
649 ops = io_ops; in soc_tplg_kcontrol_bind_io()
653 if (k->put == NULL && ops[i].id == hdr->ops.put) in soc_tplg_kcontrol_bind_io()
654 k->put = ops[i].put; in soc_tplg_kcontrol_bind_io()
655 if (k->get == NULL && ops[i].id == hdr->ops.get) in soc_tplg_kcontrol_bind_io()
656 k->get = ops[i].get; in soc_tplg_kcontrol_bind_io()
657 if (k->info == NULL && ops[i].id == hdr->ops.info) in soc_tplg_kcontrol_bind_io()
658 k->info = ops[i].info; in soc_tplg_kcontrol_bind_io()
696 if (tplg->comp && tplg->ops && tplg->ops->control_load) in soc_tplg_init_kcontrol()
697 return tplg->ops->control_load(tplg->comp, k, hdr); in soc_tplg_init_kcontrol()
798 sbe->dobj.ops = tplg->ops; in soc_tplg_dbytes_create()
891 sm->dobj.ops = tplg->ops; in soc_tplg_dmixer_create()
1033 se->dobj.ops = tplg->ops; in soc_tplg_denum_create()
1036 switch (ec->hdr.ops.info) { in soc_tplg_denum_create()
1063 ec->hdr.ops.info, ec->hdr.name); in soc_tplg_denum_create()
1125 switch (control_hdr->ops.info) { in soc_tplg_kcontrol_elems_load()
1340 switch (ec->hdr.ops.info) { in soc_tplg_dapm_widget_denum_create()
1362 ec->hdr.ops.info, ec->hdr.name); in soc_tplg_dapm_widget_denum_create()
1538 switch (control_hdr->ops.info) { in soc_tplg_dapm_widget_create()
1583 control_hdr->ops.get, control_hdr->ops.put, in soc_tplg_dapm_widget_create()
1584 control_hdr->ops.info); in soc_tplg_dapm_widget_create()
1618 widget->dobj.ops = tplg->ops; in soc_tplg_dapm_widget_create()
1757 dai_drv->dobj.ops = tplg->ops; in soc_tplg_dai_create()
1827 link->dobj.ops = tplg->ops; in soc_tplg_fe_link_create()
2355 if (tplg->comp && tplg->ops && tplg->ops->manifest) in soc_tplg_manifest_load()
2356 ret = tplg->ops->manifest(tplg->comp, _manifest); in soc_tplg_manifest_load()
2522 struct snd_soc_tplg_ops *ops, const struct firmware *fw, u32 id) in snd_soc_tplg_component_load() argument
2532 tplg.ops = ops; in snd_soc_tplg_component_load()
2534 tplg.io_ops = ops->io_ops; in snd_soc_tplg_component_load()
2535 tplg.io_ops_count = ops->io_ops_count; in snd_soc_tplg_component_load()
2536 tplg.bytes_ext_ops = ops->bytes_ext_ops; in snd_soc_tplg_component_load()
2537 tplg.bytes_ext_ops_count = ops->bytes_ext_ops_count; in snd_soc_tplg_component_load()