Lines Matching full:pdm

68  * PDM Channels LEFT / RIGHT
76 * PDM Input/Output signal configuration
80 * @name Parameters common to all PDM controllers
96 * @name Parameters unique to each PDM controller
99 /** Bit mask to optionally invert PDM clock */
103 /** Collection of clock skew values for each PDM port */
111 * Configuration of the PCM streams to be output by the PDM hardware
128 * Mapping/ordering of the PDM channels to logical PCM output channel
138 * bit indicates LEFT/RIGHT selection of the PDM controller.
140 * The most significant 3 bits indicate the PDM controller number:
145 * CONSTRAINT: The LEFT and RIGHT channels of EACH PDM controller needs
201 * Returns the map of PDM controller and LEFT/RIGHT channel shifted to
205 * @param pdm The PDM hardware controller number
206 * @param lr LEFT/RIGHT channel within the chosen PDM hardware controller
208 * @return Bit-map containing the PDM and L/R channel information
210 static inline uint32_t dmic_build_channel_map(uint8_t channel, uint8_t pdm, in dmic_build_channel_map() argument
213 return ((((pdm & BIT_MASK(3)) << 1) | lr) << in dmic_build_channel_map()
220 * Returns the PDM controller and LEFT/RIGHT channel corresponding to
226 * @param pdm Pointer to the PDM hardware controller number
227 * @param lr Pointer to the LEFT/RIGHT channel within the PDM controller
230 uint32_t channel_map_hi, uint8_t channel, uint8_t *pdm, enum pdm_lr *lr) in dmic_parse_channel_map() argument
237 *pdm = (channel_map >> 1) & BIT_MASK(3); in dmic_parse_channel_map()
242 * Build a bit map of clock skew values for each PDM channel
245 * corresponding to the input PDM controller value
247 * @param pdm The PDM hardware controller number
248 * @param skew The skew to apply for the clock output from the PDM controller
252 static inline uint32_t dmic_build_clk_skew_map(uint8_t pdm, uint8_t skew) in dmic_build_clk_skew_map() argument
254 return ((skew & BIT_MASK(4)) << ((pdm & BIT_MASK(3)) * 4U)); in dmic_build_clk_skew_map()
261 * channel mapping, PDM I/O configuration, PCM stream configuration, etc.