Lines Matching refs:mach_priv
81 struct mt8186_mt6366_rt1019_rt5682s_priv *priv = soc_card_data->mach_priv; in dmic_get()
93 struct mt8186_mt6366_rt1019_rt5682s_priv *priv = soc_card_data->mach_priv; in dmic_set()
131 struct mt8186_mt6366_rt1019_rt5682s_priv *priv = soc_card_data->mach_priv; in primary_codec_init()
170 struct mt8186_mt6366_rt1019_rt5682s_priv *priv = soc_card_data->mach_priv; in mt8186_rt5682s_init()
260 struct mt8186_mt6366_rt1019_rt5682s_priv *priv = soc_card_data->mach_priv; in mt8186_mt6366_rt1019_rt5682s_hdmi_init()
1106 struct mt8186_mt6366_rt1019_rt5682s_priv *mach_priv; in mt8186_mt6366_rt1019_rt5682s_dev_probe() local
1119 mach_priv = devm_kzalloc(&pdev->dev, sizeof(*mach_priv), GFP_KERNEL); in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1120 if (!mach_priv) in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1123 soc_card_data->mach_priv = mach_priv; in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1125 mach_priv->dmic_sel = devm_gpiod_get_optional(&pdev->dev, in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1127 if (IS_ERR(mach_priv->dmic_sel)) { in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1129 PTR_ERR(mach_priv->dmic_sel)); in mt8186_mt6366_rt1019_rt5682s_dev_probe()
1130 return PTR_ERR(mach_priv->dmic_sel); in mt8186_mt6366_rt1019_rt5682s_dev_probe()