Lines Matching refs:hw_chan
68 uint8_t hw_chan; in dmic_mcux_hw_chan() local
76 log_chan, &hw_chan, &lr); in dmic_mcux_hw_chan()
78 return hw_chan * 2; in dmic_mcux_hw_chan()
80 return (hw_chan * 2) + 1; in dmic_mcux_hw_chan()
112 uint8_t hw_chan; in dmic_mcux_enable_dma() local
117 hw_chan = dmic_mcux_hw_chan(drv_data, chan); in dmic_mcux_enable_dma()
118 pdm_channel = drv_data->pdm_channels[hw_chan]; in dmic_mcux_enable_dma()
123 hw_chan); in dmic_mcux_enable_dma()
132 (dmic_channel_t)hw_chan, enable); in dmic_mcux_enable_dma()
143 uint8_t hw_chan; in dmic_mcux_reload_dma() local
155 hw_chan = dmic_mcux_hw_chan(drv_data, chan); in dmic_mcux_reload_dma()
156 pdm_channel = drv_data->pdm_channels[hw_chan]; in dmic_mcux_reload_dma()
157 src = DMIC_FifoGetAddress(drv_data->base_address, hw_chan); in dmic_mcux_reload_dma()
162 LOG_ERR("Could not reload DMIC HW channel %d", hw_chan); in dmic_mcux_reload_dma()
283 uint8_t hw_chan; in dmic_mcux_setup_dma() local
305 hw_chan = dmic_mcux_hw_chan(drv_data, chan); in dmic_mcux_setup_dma()
309 DMIC_FifoGetAddress(drv_data->base_address, hw_chan); in dmic_mcux_setup_dma()
342 pdm_channel = drv_data->pdm_channels[hw_chan]; in dmic_mcux_setup_dma()
346 LOG_ERR("Could not configure DMIC channel %d", hw_chan); in dmic_mcux_setup_dma()