Lines Matching refs:regmap
82 SAI_SetMasterClockConfig(UINT_TO_I2S(data->regmap), &mclk_config); in sai_mclk_config()
84 set_msel(data->regmap, msel); in sai_mclk_config()
99 if (SAI_TX_RX_STATUS_IS_SET(DAI_DIR_TX, data->regmap, kSAI_FIFOErrorFlag)) { in sai_isr()
101 SAI_TX_RX_STATUS_CLEAR(DAI_DIR_TX, data->regmap, kSAI_FIFOErrorFlag); in sai_isr()
105 if (SAI_TX_RX_STATUS_IS_SET(DAI_DIR_RX, data->regmap, kSAI_FIFOErrorFlag)) { in sai_isr()
107 SAI_TX_RX_STATUS_CLEAR(DAI_DIR_RX, data->regmap, kSAI_FIFOErrorFlag); in sai_isr()
385 SAI_RxSetConfig(UINT_TO_I2S(data->regmap), rx_config); in sai_config_set()
386 SAI_TxSetConfig(UINT_TO_I2S(data->regmap), tx_config); in sai_config_set()
396 SAI_TxSetBitClockRate(UINT_TO_I2S(data->regmap), bespoke->mclk_rate, in sai_config_set()
400 SAI_RxSetBitClockRate(UINT_TO_I2S(data->regmap), bespoke->mclk_rate, in sai_config_set()
415 sai_config_set_err_051421(UINT_TO_I2S(data->regmap), in sai_config_set()
442 sai_dump_register_data(data->regmap); in sai_config_set()
468 sai_tx_rx_force_disable(dir, data->regmap); in sai_dir_disable()
479 return WAIT_FOR(!SAI_TX_RX_IS_HW_ENABLED(dir, data->regmap), in sai_dir_disable()
570 sai_tx_rx_set_dline_mask(dir, data->regmap, 0x0); in sai_trigger_pause()
622 sai_tx_rx_set_dline_mask(dir, data->regmap, 0x0); in sai_trigger_stop()
626 SAI_TX_RX_DMA_ENABLE_DISABLE(dir, data->regmap, false); in sai_trigger_stop()
629 SAI_TX_RX_ENABLE_DISABLE_IRQ(dir, data->regmap, in sai_trigger_stop()
679 SAI_TX_RX_SW_RESET(dir, data->regmap); in sai_tx_rx_sw_reset()
685 SAI_TX_RX_SW_RESET(sync_dir, data->regmap); in sai_tx_rx_sw_reset()
688 SAI_TX_RX_SW_RESET(async_dir, data->regmap); in sai_tx_rx_sw_reset()
692 SAI_TX_RX_SW_RESET(async_dir, data->regmap); in sai_tx_rx_sw_reset()
746 SAI_TX_RX_ENABLE_DISABLE_IRQ(dir, data->regmap, in sai_trigger_start()
752 SAI_WriteData(UINT_TO_I2S(data->regmap), cfg->tx_dline, 0x0); in sai_trigger_start()
757 SAI_TX_RX_DMA_ENABLE_DISABLE(dir, data->regmap, true); in sai_trigger_start()
765 sai_tx_rx_set_dline_mask(dir, data->regmap, in sai_trigger_start()
769 SAI_TX_RX_ENABLE_DISABLE(dir, data->regmap, true); in sai_trigger_start()
887 device_map(&data->regmap, cfg->regmap_phys, cfg->regmap_size, K_MEM_CACHE_NONE); in sai_init()