Lines Matching refs:mic
193 * FIR decimation ratios are feasible. The ratios need to be integers. Also the mic clock
457 n = idx[found - 1]; /* Option with highest clock divisor and lowest mic clock rate */
555 /* Loop number of PDM controllers in the configuration. If mic A or B is enabled then a pdm
586 /* Loop number of PDM controllers in the configuration. If mic A or B is enabled then a pdm
628 /* Set stereo mode if both mic A anc B are enabled. */
632 /* Swap channels if only mic B is used for mono processing. */
668 int mic;
722 * either of mic a or b is enabled -> that particular pdm controller is in use. For example
725 * channel_ctrl_mask defines what mic channels are available in hw for a pdm controller. in
730 for (i = 0, mic = 0, chmap_bits = 4; i < DMIC_HW_CONTROLLERS; i++) {
733 dmic->dmic_blob.ts_group[di] &= ~(0xF << (chmap_bits * mic));
734 dmic->dmic_blob.ts_group[di] |= 0x0 << (chmap_bits * mic);
736 mic++;
738 dmic->dmic_blob.ts_group[di] &= ~(0xF << (chmap_bits * mic));
739 dmic->dmic_blob.ts_group[di] |= 0x1 << (chmap_bits * mic);
741 mic++;
748 /* set always both mic channels enabled */
844 /* Mono right channel mic usage requires swap of PDM channels