Searched refs:_var (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/drivers/memc/ |
D | memc_smartbond_nor_psram.c | 20 #define CLK_AMBA_REG_SET_FIELD(_field, _var, _val) \ argument 21 ((_var)) = \ 22 ((_var) & ~(CRG_TOP_CLK_AMBA_REG_ ## _field ## _Msk)) | \ 26 #define QSPIC2_CTRLMODE_REG_SET_FIELD(_field, _var, _val) \ argument 27 ((_var)) = \ 28 ((_var) & ~(QSPIC2_QSPIC2_CTRLMODE_REG_ ## _field ## _Msk)) | \ 32 #define QSPIC2_BURSTCMDA_REG_SET_FIELD(_field, _var, _val) \ argument 33 ((_var)) = \ 34 ((_var) & ~(QSPIC2_QSPIC2_BURSTCMDA_REG_ ## _field ## _Msk)) | \ 38 #define QSPIC2_BURSTCMDB_REG_SET_FIELD(_field, _var, _val) \ argument [all …]
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_smartbond.c | 39 #define RTC_TIME_REG_SET_FIELD(_field, _var, _val) \ argument 40 ((_var) = \ 41 ((_var) & ~(RTC_RTC_TIME_REG_RTC_TIME_ ## _field ## _T_Msk | \ 47 #define RTC_CALENDAR_REG_SET_FIELD(_field, _var, _val) \ argument 48 ((_var) = \ 49 ((_var) & ~(RTC_RTC_CALENDAR_REG_RTC_CAL_ ## _field ## _T_Msk | \ 55 #define RTC_CALENDAR_ALARM_REG_SET_FIELD(_field, _var, _val) \ argument 56 ((_var) = \ 57 ((_var) & ~(RTC_RTC_CALENDAR_ALARM_REG_RTC_CAL_ ## _field ## _T_Msk | \ 63 #define RTC_TIME_ALARM_REG_SET_FIELD(_field, _var, _val) \ argument [all …]
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_smartbond.c | 52 #define LCDC_LAYER0_OFFSETX_REG_SET_FIELD(_field, _var, _val) \ argument 53 ((_var)) = \ 54 ((_var) & ~(LCDC_LCDC_LAYER0_OFFSETX_REG_ ## _field ## _Msk)) | \ 55 (((_var) << LCDC_LCDC_LAYER0_OFFSETX_REG_ ## _field ## _Pos) & \
|
/Zephyr-latest/drivers/dma/ |
D | dma_smartbond.c | 32 #define DMA_CTRL_REG_SET_FIELD(_field, _var, _val) \ argument 33 (_var) = \ 34 (((_var) & ~DMA_DMA0_CTRL_REG_ ## _field ## _Msk) | \ 37 #define DMA_CTRL_REG_GET_FIELD(_field, _var) \ argument 38 (((_var) & DMA_DMA0_CTRL_REG_ ## _field ## _Msk) >> DMA_DMA0_CTRL_REG_ ## _field ## _Pos)
|
/Zephyr-latest/drivers/display/ |
D | display_renesas_lcdc.c | 41 #define LCDC_LAYER0_OFFSETX_REG_SET_FIELD(_field, _var, _val)\ argument 42 ((_var)) = \ 43 ((_var) & ~(LCDC_LCDC_LAYER0_OFFSETX_REG_ ## _field ## _Msk)) | \
|
/Zephyr-latest/drivers/spi/ |
D | spi_smartbond.c | 98 #define SPI_CTRL_REG_SET_FIELD(_field, _var, _val) \ argument 99 (_var) = \ 100 (((_var) & ~SPI_SPI_CTRL_REG_ ## _field ## _Msk) | \
|