Home
last modified time | relevance | path

Searched refs:_field (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/drivers/rtc/
Drtc_smartbond.c38 #define RTC_TIME_REG_SET_FIELD(_field, _var, _val) \ argument
40 ((_var) & ~(RTC_RTC_TIME_REG_RTC_TIME_ ## _field ## _T_Msk | \
41 RTC_RTC_TIME_REG_RTC_TIME_ ## _field ## _U_Msk)) | \
42 (((_val) << RTC_RTC_TIME_REG_RTC_TIME_ ## _field ## _U_Pos) & \
43 (RTC_RTC_TIME_REG_RTC_TIME_ ## _field ## _T_Msk | \
44 RTC_RTC_TIME_REG_RTC_TIME_ ## _field ## _U_Msk)))
46 #define RTC_CALENDAR_REG_SET_FIELD(_field, _var, _val) \ argument
48 ((_var) & ~(RTC_RTC_CALENDAR_REG_RTC_CAL_ ## _field ## _T_Msk | \
49 RTC_RTC_CALENDAR_REG_RTC_CAL_ ## _field ## _U_Msk)) | \
50 (((_val) << RTC_RTC_CALENDAR_REG_RTC_CAL_ ## _field ## _U_Pos) & \
[all …]
/Zephyr-Core-3.6.0/subsys/net/ip/
Dtp.h71 #define json_str(_type, _field) \ argument
72 JSON_OBJ_DESCR_PRIM(struct _type, _field, JSON_TOK_STRING)
73 #define json_num(_type, _field) \ argument
74 JSON_OBJ_DESCR_PRIM(struct _type, _field, JSON_TOK_NUMBER)
/Zephyr-Core-3.6.0/drivers/dma/
Ddma_smartbond.c29 #define DMA_CTRL_REG_SET_FIELD(_field, _var, _val) \ argument
31 (((_var) & ~DMA_DMA0_CTRL_REG_ ## _field ## _Msk) | \
32 (((_val) << DMA_DMA0_CTRL_REG_ ## _field ## _Pos) & DMA_DMA0_CTRL_REG_ ## _field ## _Msk))
34 #define DMA_CTRL_REG_GET_FIELD(_field, _var) \ argument
35 (((_var) & DMA_DMA0_CTRL_REG_ ## _field ## _Msk) >> DMA_DMA0_CTRL_REG_ ## _field ## _Pos)
/Zephyr-Core-3.6.0/drivers/crypto/
Dcrypto_smartbond.c33 #define CRYPTO_CTRL_REG_SET(_field, _val) \ argument
35 (AES_HASH->CRYPTO_CTRL_REG & ~AES_HASH_CRYPTO_CTRL_REG_ ## _field ## _Msk) | \
36 ((_val) << AES_HASH_CRYPTO_CTRL_REG_ ## _field ## _Pos)
38 #define CRYPTO_CTRL_REG_GET(_field) \ argument
39 ((AES_HASH->CRYPTO_CTRL_REG & AES_HASH_CRYPTO_CTRL_REG_ ## _field ## _Msk) >> \
40 AES_HASH_CRYPTO_CTRL_REG_ ## _field ## _Pos)