/Zephyr-latest/drivers/dai/nxp/sai/ |
D | sai.h | 168 #define SAI_TX_RX_SW_RESET(dir, regmap)\ argument 169 ((dir) == DAI_DIR_RX ? SAI_RxSoftwareReset(UINT_TO_I2S(regmap), kSAI_ResetTypeSoftware) :\ 170 SAI_TxSoftwareReset(UINT_TO_I2S(regmap), kSAI_ResetTypeSoftware)) 178 #define SAI_TX_RX_ENABLE_DISABLE(dir, regmap, enable)\ argument 179 ((dir) == DAI_DIR_RX ? SAI_RxEnable(UINT_TO_I2S(regmap), enable) :\ 180 SAI_TxEnable(UINT_TO_I2S(regmap), enable)) 183 #define SAI_TX_RX_DMA_ENABLE_DISABLE(dir, regmap, enable)\ argument 184 ((dir) == DAI_DIR_RX ? SAI_RxEnableDMA(UINT_TO_I2S(regmap),\ 186 SAI_TxEnableDMA(UINT_TO_I2S(regmap), kSAI_FIFORequestDMAEnable, enable)) 189 #define SAI_TX_RX_IS_HW_ENABLED(dir, regmap)\ argument [all …]
|
D | sai.c | 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() [all …]
|
/Zephyr-latest/drivers/firmware/scmi/ |
D | shmem.c | 26 mm_reg_t regmap; member 44 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_get_channel_status() 68 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_read_message() 101 data->regmap + sizeof(*layout), msg->len); in scmi_shmem_read_message() 115 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_write_message() 138 scmi_shmem_memcpy(data->regmap + sizeof(*layout), in scmi_shmem_write_message() 154 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_channel_status() 165 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_update_flags() 182 device_map(&data->regmap, cfg->phys_addr, cfg->size, K_MEM_CACHE_NONE); in scmi_shmem_init()
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_nxp_irqsteer.c | 293 static int to_zephyr_irq(uint32_t regmap, uint32_t irq, in to_zephyr_irq() argument 301 idx -= IRQSTEER_GetMasterIrqCount(UINT_TO_IRQSTEER(regmap), i); in to_zephyr_irq() 308 static int to_system_irq(uint32_t regmap, int irq, int master_index) in to_system_irq() argument 313 irq += IRQSTEER_GetMasterIrqCount(UINT_TO_IRQSTEER(regmap), i); in to_system_irq() 320 static int from_zephyr_irq(uint32_t regmap, uint32_t irq, uint32_t master_index) in from_zephyr_irq() argument 327 idx += IRQSTEER_GetMasterIrqCount(UINT_TO_IRQSTEER(regmap), i); in from_zephyr_irq() 336 uint32_t regmap = DISPATCHER_REGMAP(disp); in _irqstr_disp_enable_disable() local 341 IRQSTEER_EnableMasterInterrupt(UINT_TO_IRQSTEER(regmap), disp->irq); in _irqstr_disp_enable_disable() 343 IRQSTEER_DisableMasterInterrupt(UINT_TO_IRQSTEER(regmap), disp->irq); in _irqstr_disp_enable_disable() 402 uint32_t regmap = DISPATCHER_REGMAP(disp); in _irqstr_enable_disable_irq() local [all …]
|
/Zephyr-latest/drivers/dma/ |
D | dma_nxp_edma.c | 682 if (cfg->regmap_phys == s_edmaConfigs[i].regmap) { in edma_hal_cfg_get() 694 mm_reg_t regmap; in edma_init() local 705 device_map(®map, cfg->regmap_phys, cfg->regmap_size, K_MEM_CACHE_NONE); in edma_init() 711 data->hal_cfg->regmap = (uint32_t)POINTER_TO_UINT(regmap); in edma_init()
|
D | dma_nxp_edma.h | 222 mm_reg_t regmap; member
|
/Zephyr-latest/drivers/dai/nxp/esai/ |
D | esai.c | 398 base = UINT_TO_ESAI(data->regmap); in esai_config_set() 424 ESAI_Reset(UINT_TO_ESAI(data->regmap)); in esai_config_set() 554 base = UINT_TO_ESAI(data->regmap); in esai_trigger_start() 592 base = UINT_TO_ESAI(data->regmap); in esai_trigger_stop() 685 device_map(&data->regmap, cfg->regmap_phys, cfg->regmap_size, K_MEM_CACHE_NONE); in esai_init()
|
D | esai.h | 156 mm_reg_t regmap; member
|