Lines Matching defs:hcd

268 	struct hdmi_codec_pdata hcd;
431 bool has_capture = !hcp->hcd.no_i2s_capture;
432 bool has_playback = !hcp->hcd.no_i2s_playback;
445 if (hcp->hcd.ops->audio_startup) {
446 ret = hcp->hcd.ops->audio_startup(dai->dev->parent, hcp->hcd.data);
451 if (tx && hcp->hcd.ops->get_eld) {
452 ret = hcp->hcd.ops->get_eld(dai->dev->parent, hcp->hcd.data,
477 bool has_capture = !hcp->hcd.no_i2s_capture;
478 bool has_playback = !hcp->hcd.no_i2s_playback;
484 hcp->hcd.ops->audio_shutdown(dai->dev->parent, hcp->hcd.data);
558 if (!hcp->hcd.ops->hw_params)
583 return hcp->hcd.ops->hw_params(dai->dev->parent, hcp->hcd.data,
599 if (!hcp->hcd.ops->prepare)
619 return hcp->hcd.ops->prepare(dai->dev->parent, hcp->hcd.data,
700 if (hcp->hcd.ops->mute_stream &&
702 !hcp->hcd.ops->no_capture_mute))
703 return hcp->hcd.ops->mute_stream(dai->dev->parent,
704 hcp->hcd.data,
865 if (hcp->hcd.ops->get_eld) {
866 hcp->hcd.ops->get_eld(dev->parent, hcp->hcd.data,
882 if (hcp->hcd.ops->hook_plugged_cb) {
982 if (hcp->hcd.ops->get_dai_id)
983 ret = hcp->hcd.ops->get_dai_id(component, endpoint);
993 if (hcp->hcd.ops->hook_plugged_cb) {
994 ret = hcp->hcd.ops->hook_plugged_cb(component->dev->parent,
995 hcp->hcd.data,
1007 if (hcp->hcd.ops->hook_plugged_cb)
1008 hcp->hcd.ops->hook_plugged_cb(component->dev->parent,
1009 hcp->hcd.data, NULL, NULL);
1026 struct hdmi_codec_pdata *hcd = pdev->dev.platform_data;
1033 if (!hcd) {
1038 dai_count = hcd->i2s + hcd->spdif;
1039 if (dai_count < 1 || !hcd->ops ||
1040 (!hcd->ops->hw_params && !hcd->ops->prepare) ||
1041 !hcd->ops->audio_shutdown) {
1050 hcp->hcd = *hcd;
1062 if (hcd->i2s) {
1064 daidrv[i].playback.channels_max = hcd->max_i2s_channels;
1065 if (hcd->no_i2s_playback)
1068 if (hcd->no_i2s_capture)
1074 if (hcd->spdif) {
1076 if (hcd->no_spdif_playback)
1079 if (hcd->no_spdif_capture)