• Home
  • Raw
  • Download

Lines Matching refs:pdata

206 	if (control->pdata.num_mbc_cfgs) {  in wm8958_dsp_start_mbc()
208 = &control->pdata.mbc_cfgs[wm8994->mbc_cfg]; in wm8958_dsp_start_mbc()
245 if (control->pdata.num_mbc_cfgs) { in wm8958_dsp_start_vss()
247 = &control->pdata.mbc_cfgs[wm8994->mbc_cfg]; in wm8958_dsp_start_vss()
254 if (control->pdata.num_vss_cfgs) { in wm8958_dsp_start_vss()
256 = &control->pdata.vss_cfgs[wm8994->vss_cfg]; in wm8958_dsp_start_vss()
262 if (control->pdata.num_vss_hpf_cfgs) { in wm8958_dsp_start_vss()
264 = &control->pdata.vss_hpf_cfgs[wm8994->vss_hpf_cfg]; in wm8958_dsp_start_vss()
305 if (control->pdata.num_enh_eq_cfgs) { in wm8958_dsp_start_enh_eq()
307 = &control->pdata.enh_eq_cfgs[wm8994->enh_eq_cfg]; in wm8958_dsp_start_enh_eq()
467 if (value >= control->pdata.num_mbc_cfgs) in wm8958_put_mbc_enum()
557 if (value >= control->pdata.num_vss_cfgs) in wm8958_put_vss_enum()
590 if (value >= control->pdata.num_vss_hpf_cfgs) in wm8958_put_vss_hpf_enum()
757 if (value >= control->pdata.num_enh_eq_cfgs) in wm8958_put_enh_eq_enum()
901 struct wm8994_pdata *pdata = &control->pdata; in wm8958_dsp2_init() local
925 if (pdata->num_mbc_cfgs) { in wm8958_dsp2_init()
932 wm8994->mbc_texts = kmalloc_array(pdata->num_mbc_cfgs, in wm8958_dsp2_init()
938 for (i = 0; i < pdata->num_mbc_cfgs; i++) in wm8958_dsp2_init()
939 wm8994->mbc_texts[i] = pdata->mbc_cfgs[i].name; in wm8958_dsp2_init()
941 wm8994->mbc_enum.items = pdata->num_mbc_cfgs; in wm8958_dsp2_init()
951 if (pdata->num_vss_cfgs) { in wm8958_dsp2_init()
958 wm8994->vss_texts = kmalloc_array(pdata->num_vss_cfgs, in wm8958_dsp2_init()
964 for (i = 0; i < pdata->num_vss_cfgs; i++) in wm8958_dsp2_init()
965 wm8994->vss_texts[i] = pdata->vss_cfgs[i].name; in wm8958_dsp2_init()
967 wm8994->vss_enum.items = pdata->num_vss_cfgs; in wm8958_dsp2_init()
977 if (pdata->num_vss_hpf_cfgs) { in wm8958_dsp2_init()
985 wm8994->vss_hpf_texts = kmalloc_array(pdata->num_vss_hpf_cfgs, in wm8958_dsp2_init()
991 for (i = 0; i < pdata->num_vss_hpf_cfgs; i++) in wm8958_dsp2_init()
992 wm8994->vss_hpf_texts[i] = pdata->vss_hpf_cfgs[i].name; in wm8958_dsp2_init()
994 wm8994->vss_hpf_enum.items = pdata->num_vss_hpf_cfgs; in wm8958_dsp2_init()
1005 if (pdata->num_enh_eq_cfgs) { in wm8958_dsp2_init()
1013 wm8994->enh_eq_texts = kmalloc_array(pdata->num_enh_eq_cfgs, in wm8958_dsp2_init()
1019 for (i = 0; i < pdata->num_enh_eq_cfgs; i++) in wm8958_dsp2_init()
1020 wm8994->enh_eq_texts[i] = pdata->enh_eq_cfgs[i].name; in wm8958_dsp2_init()
1022 wm8994->enh_eq_enum.items = pdata->num_enh_eq_cfgs; in wm8958_dsp2_init()