Lines Matching refs:cdriv
535 struct snd_soc_component_driver *cdriv; in test_driver_probe() local
548 cdriv = devm_kzalloc(dev, sizeof(*cdriv), GFP_KERNEL); in test_driver_probe()
551 if (!priv || !cdriv || !ddriv || !dname || !adata) in test_driver_probe()
555 priv->component_driver = cdriv; in test_driver_probe()
563 cdriv->name = "test_cpu"; in test_driver_probe()
564 cdriv->pcm_construct = test_component_pcm_construct; in test_driver_probe()
565 cdriv->pointer = test_component_pointer; in test_driver_probe()
566 cdriv->trigger = test_component_trigger; in test_driver_probe()
567 cdriv->legacy_dai_naming = 1; in test_driver_probe()
569 cdriv->name = "test_codec"; in test_driver_probe()
570 cdriv->idle_bias_on = 1; in test_driver_probe()
571 cdriv->endianness = 1; in test_driver_probe()
574 cdriv->open = test_component_open; in test_driver_probe()
575 cdriv->dapm_widgets = widgets; in test_driver_probe()
576 cdriv->num_dapm_widgets = ARRAY_SIZE(widgets); in test_driver_probe()
579 cdriv->probe = test_component_probe; in test_driver_probe()
580 cdriv->remove = test_component_remove; in test_driver_probe()
581 cdriv->suspend = test_component_suspend; in test_driver_probe()
582 cdriv->resume = test_component_resume; in test_driver_probe()
583 cdriv->set_sysclk = test_component_set_sysclk; in test_driver_probe()
584 cdriv->set_pll = test_component_set_pll; in test_driver_probe()
585 cdriv->set_jack = test_component_set_jack; in test_driver_probe()
586 cdriv->seq_notifier = test_component_seq_notifier; in test_driver_probe()
587 cdriv->stream_event = test_component_stream_event; in test_driver_probe()
588 cdriv->set_bias_level = test_component_set_bias_level; in test_driver_probe()
589 cdriv->close = test_component_close; in test_driver_probe()
590 cdriv->ioctl = test_component_ioctl; in test_driver_probe()
591 cdriv->hw_params = test_component_hw_params; in test_driver_probe()
592 cdriv->hw_free = test_component_hw_free; in test_driver_probe()
593 cdriv->prepare = test_component_prepare; in test_driver_probe()
594 cdriv->sync_stop = test_component_sync_stop; in test_driver_probe()
595 cdriv->get_time_info = test_component_get_time_info; in test_driver_probe()
596 cdriv->be_hw_params_fixup = test_component_be_hw_params_fixup; in test_driver_probe()
599 cdriv->pcm_destruct = test_component_pcm_destruct; in test_driver_probe()
629 ret = devm_snd_soc_register_component(dev, cdriv, ddriv, num); in test_driver_probe()