Searched refs:adda_priv (Results 1 – 3 of 3) sorted by relevance
179 struct mtk_dai_adda_priv *adda_priv; in mtk_afe_adda_hires_connect() local181 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adda_hires_connect()183 if (!adda_priv) { in mtk_afe_adda_hires_connect()188 return (adda_priv->hires_required) ? 1 : 0; in mtk_afe_adda_hires_connect()407 struct mtk_dai_adda_priv *adda_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params() local415 adda_priv->hires_required = (rate > ADDA_HIRES_THRES); in mtk_dai_adda_hw_params()475 struct mtk_dai_adda_priv *adda_priv; in init_adda_priv_data() local480 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()483 if (!adda_priv) in init_adda_priv_data()486 afe_priv->dai_priv[adda_dai_list[i]] = adda_priv; in init_adda_priv_data()
294 struct mtk_dai_adda_priv *adda_priv; in mtk_afe_adda_hires_connect() local296 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adda_hires_connect()298 if (!adda_priv) { in mtk_afe_adda_hires_connect()303 return (adda_priv->hires_required) ? 1 : 0; in mtk_afe_adda_hires_connect()623 struct mtk_dai_adda_priv *adda_priv; in mtk_dai_adda_hw_params() local631 adda_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_adda_hw_params()637 adda_priv->hires_required = 1; in mtk_dai_adda_hw_params()639 adda_priv->hires_required = 0; in mtk_dai_adda_hw_params()711 struct mtk_dai_adda_priv *adda_priv; in init_adda_priv_data() local720 adda_priv = devm_kzalloc(afe->dev, in init_adda_priv_data()[all …]
457 struct mtk_afe_adda_priv *adda_priv; in mtk_afe_dac_hires_connect() local459 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_dac_hires_connect()461 if (!adda_priv) { in mtk_afe_dac_hires_connect()466 return (adda_priv->dl_rate > HIRES_THRESHOLD) ? 1 : 0; in mtk_afe_dac_hires_connect()475 struct mtk_afe_adda_priv *adda_priv; in mtk_afe_adc_hires_connect() local477 adda_priv = get_adda_priv_by_name(afe, w->name); in mtk_afe_adc_hires_connect()479 if (!adda_priv) { in mtk_afe_adc_hires_connect()484 return (adda_priv->ul_rate > HIRES_THRESHOLD) ? 1 : 0; in mtk_afe_adc_hires_connect()563 struct mtk_afe_adda_priv *adda_priv = afe_priv->dai_priv[id]; in mtk_dai_adda_hw_params() local572 adda_priv->dl_rate = rate; in mtk_dai_adda_hw_params()[all …]