Lines Matching refs:ddriv
536 struct snd_soc_dai_driver *ddriv; in test_driver_probe() local
549 ddriv = devm_kzalloc(dev, sizeof(*ddriv) * num, GFP_KERNEL); in test_driver_probe()
551 if (!priv || !cdriv || !ddriv || !dname || !adata) in test_driver_probe()
556 priv->dai_driver = ddriv; in test_driver_probe()
605 ddriv[i].name = dname[i].name; in test_driver_probe()
608 ddriv[i].playback.stream_name = dname[i].name_playback; in test_driver_probe()
609 ddriv[i].playback.channels_min = 1; in test_driver_probe()
610 ddriv[i].playback.channels_max = 384; in test_driver_probe()
611 ddriv[i].playback.rates = STUB_RATES; in test_driver_probe()
612 ddriv[i].playback.formats = STUB_FORMATS; in test_driver_probe()
615 ddriv[i].capture.stream_name = dname[i].name_capture; in test_driver_probe()
616 ddriv[i].capture.channels_min = 1; in test_driver_probe()
617 ddriv[i].capture.channels_max = 384; in test_driver_probe()
618 ddriv[i].capture.rates = STUB_RATES; in test_driver_probe()
619 ddriv[i].capture.formats = STUB_FORMATS; in test_driver_probe()
622 ddriv[i].ops = &test_verbose_ops; in test_driver_probe()
624 ddriv[i].ops = &test_ops; in test_driver_probe()
629 ret = devm_snd_soc_register_component(dev, cdriv, ddriv, num); in test_driver_probe()