Lines Matching refs:mic_no
115 int mic_no; member
201 uinfo->count = info->dd->mic_no; in mchp_pdmc_chmap_ctl_info()
246 memset(ucontrol->value.integer.value, 0, sizeof(long) * info->dd->mic_no); in mchp_pdmc_chmap_ctl_get()
468 &mchp_pdmc_chan_constr[dd->mic_no - 1]); in mchp_pdmc_startup()
582 if (channels > dd->mic_no) { in mchp_pdmc_hw_params()
584 channels, dd->mic_no); in mchp_pdmc_hw_params()
881 dd->mic_no = of_property_count_u32_elems(np, "microchip,mic-pos"); in mchp_pdmc_dt_init()
882 if (dd->mic_no < 0) { in mchp_pdmc_dt_init()
884 dd->mic_no); in mchp_pdmc_dt_init()
885 return dd->mic_no; in mchp_pdmc_dt_init()
887 if (!dd->mic_no || dd->mic_no % 2 || in mchp_pdmc_dt_init()
888 dd->mic_no / 2 > MCHP_PDMC_MAX_CHANNELS) { in mchp_pdmc_dt_init()
890 dd->mic_no); in mchp_pdmc_dt_init()
894 dd->mic_no /= 2; in mchp_pdmc_dt_init()
896 dev_info(dd->dev, "%d PDM microphones declared\n", dd->mic_no); in mchp_pdmc_dt_init()
903 for (i = 0; i < dd->mic_no; i++) { in mchp_pdmc_dt_init()