Lines Matching refs:comp_drv
349 struct snd_soc_component_driver *comp_drv; in hda_hdev_attach() local
351 comp_drv = devm_kzalloc(&hdev->dev, sizeof(*comp_drv), GFP_KERNEL); in hda_hdev_attach()
352 if (!comp_drv) in hda_hdev_attach()
359 comp_drv->name = dev_name(&hdev->dev); in hda_hdev_attach()
360 comp_drv->probe = hda_codec_probe; in hda_hdev_attach()
361 comp_drv->remove = hda_codec_remove; in hda_hdev_attach()
362 comp_drv->idle_bias_on = false; in hda_hdev_attach()
364 comp_drv->dapm_widgets = hda_dapm_widgets; in hda_hdev_attach()
365 comp_drv->num_dapm_widgets = ARRAY_SIZE(hda_dapm_widgets); in hda_hdev_attach()
366 comp_drv->dapm_routes = hda_dapm_routes; in hda_hdev_attach()
367 comp_drv->num_dapm_routes = ARRAY_SIZE(hda_dapm_routes); in hda_hdev_attach()
370 return snd_soc_register_component(&hdev->dev, comp_drv, &card_binder_dai, 1); in hda_hdev_attach()