Searched refs:DEV_BASE (Results 1 – 10 of 10) sorted by relevance
/Zephyr-Core-3.5.0/drivers/serial/ |
D | leuart_gecko.c | 22 #define DEV_BASE(dev) \ macro 52 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_poll_in() 65 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_poll_out() 75 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_err_check() 103 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_fifo_fill() 118 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_fifo_read() 132 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_irq_tx_enable() 140 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_irq_tx_disable() 148 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_irq_tx_complete() 156 LEUART_TypeDef *base = DEV_BASE(dev); in leuart_gecko_irq_tx_ready() [all …]
|
/Zephyr-Core-3.5.0/drivers/dma/ |
D | dma_mcux_edma.c | 115 #define DEV_BASE(dev) ((DMA_Type *)DEV_CFG(dev)->base) macro 192 uint32_t flag = EDMA_GetChannelStatusFlags(DEV_BASE(dev), hw_channel); in dma_mcux_edma_irq_handler() 204 EDMA_ClearChannelStatusFlags(DEV_BASE(dev), channel, 0xFFFFFFFF); in dma_mcux_edma_irq_handler() 222 flag = EDMA_GetChannelStatusFlags(DEV_BASE(dev), hw_channel); in dma_mcux_edma_error_irq_handler() 223 EDMA_ClearChannelStatusFlags(DEV_BASE(dev), hw_channel, 0xFFFFFFFF); in dma_mcux_edma_error_irq_handler() 336 EDMA_ResetChannel(DEV_BASE(dev), hw_channel); in dma_mcux_edma_configure() 337 EDMA_CreateHandle(p_handle, DEV_BASE(dev), hw_channel); in dma_mcux_edma_configure() 341 EDMA_EnableChannelInterrupts(DEV_BASE(dev), hw_channel, kEDMA_ErrorInterruptEnable); in dma_mcux_edma_configure() 381 LOG_DBG("DMA TCD_CSR 0x%x", DEV_BASE(dev)->CH[hw_channel].TCD_CSR); in dma_mcux_edma_configure() 383 LOG_DBG("data csr is 0x%x", DEV_BASE(dev)->TCD[hw_channel].CSR); in dma_mcux_edma_configure() [all …]
|
D | dma_mcux_lpc.c | 67 #define DEV_BASE(dev) \ macro 101 DMA_IRQHandle(DEV_BASE(dev)); in dma_mcux_lpc_irq_handler() 366 DMA_CreateHandle(p_handle, DEV_BASE(dev), channel); in dma_mcux_lpc_configure() 411 DMA_DisableChannel(DEV_BASE(dev), ChannelToDisable); in dma_mcux_lpc_configure() 412 DEV_BASE(dev)->CHANNEL[ChannelToDisable].CFG &= in dma_mcux_lpc_configure() 431 DEV_BASE(dev)->CHANNEL[config->linked_channel].CFG |= in dma_mcux_lpc_configure() 434 DMA_EnableChannel(DEV_BASE(dev), config->linked_channel); in dma_mcux_lpc_configure() 452 DMA_DisableChannel(DEV_BASE(dev), ChannelToDisable); in dma_mcux_lpc_configure() 453 DEV_BASE(dev)->CHANNEL[ChannelToDisable].CFG &= in dma_mcux_lpc_configure() 581 LOG_DBG("DMA CTRL 0x%x", DEV_BASE(dev)->CTRL); in dma_mcux_lpc_start() [all …]
|
/Zephyr-Core-3.5.0/drivers/clock_control/ |
D | clock_control_mcux_pcc.c | 25 #define DEV_BASE(dev) (((struct mcux_pcc_config *)(dev->config))->base_address) macro 35 return MAKE_PCC_REGADDR(DEV_BASE(dev), offset); in clock_ip()
|
D | clock_control_rv32m1_pcc.c | 21 #define DEV_BASE(dev) \ macro 29 return MAKE_PCC_REGADDR(DEV_BASE(dev), offset); in clock_ip()
|
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_cc32xx.c | 43 #define DEV_BASE(dev) \ macro 87 uint32_t base = DEV_BASE(dev); in i2c_cc32xx_configure() 119 uint32_t base = DEV_BASE(dev); in i2c_cc32xx_prime_transfer() 265 uint32_t base = DEV_BASE(dev); in i2c_cc32xx_isr() 327 uint32_t base = DEV_BASE(dev); in i2c_cc32xx_init()
|
D | i2c_imx.c | 23 #define DEV_BASE(dev) \ macro 53 I2C_Type *base = DEV_BASE(dev); in i2c_imx_write() 87 I2C_Type *base = DEV_BASE(dev); in i2c_imx_read() 127 I2C_Type *base = DEV_BASE(dev); in i2c_imx_configure() 191 I2C_Type *base = DEV_BASE(dev); in i2c_imx_transfer() 273 I2C_Type *base = DEV_BASE(dev); in i2c_imx_isr()
|
D | i2c_mcux.c | 25 #define DEV_BASE(dev) \ macro 54 I2C_Type *base = DEV_BASE(dev); in i2c_mcux_configure() 147 I2C_Type *base = DEV_BASE(dev); in i2c_mcux_transfer() 237 I2C_Type *base = DEV_BASE(dev); in i2c_mcux_async_iter() 304 I2C_Type *base = DEV_BASE(dev); in i2c_mcux_isr() 312 I2C_Type *base = DEV_BASE(dev); in i2c_mcux_init()
|
D | i2c_gecko.c | 24 #define DEV_BASE(dev) ((I2C_TypeDef *)((const struct i2c_gecko_config *const)(dev)->config)->base) macro 54 I2C_TypeDef *base = DEV_BASE(dev); in i2c_gecko_config_pins() 79 I2C_TypeDef *base = DEV_BASE(dev); in i2c_gecko_configure() 117 I2C_TypeDef *base = DEV_BASE(dev); in i2c_gecko_transfer()
|
D | i2c_lpc11u6x.c | 15 #define DEV_BASE(dev) (((struct lpc11u6x_i2c_config *)(dev->config))->base) macro 176 struct lpc11u6x_i2c_regs *i2c = DEV_BASE(dev); in lpc11u6x_i2c_isr()
|