/Zephyr-Core-3.5.0/include/zephyr/toolchain/ |
D | llvm.h | 34 #define __INT8_C(x) x argument 38 #define INT8_C(x) __INT8_C(x) argument 42 #define __UINT8_C(x) x ## U argument 46 #define UINT8_C(x) __UINT8_C(x) argument 50 #define __INT16_C(x) x argument 54 #define INT16_C(x) __INT16_C(x) argument 58 #define __UINT16_C(x) x ## U argument 62 #define UINT16_C(x) __UINT16_C(x) argument 66 #define __INT32_C(x) x argument 70 #define INT32_C(x) __INT32_C(x) argument [all …]
|
D | xcc.h | 38 #define __INT8_C(x) x argument 42 #define INT8_C(x) __INT8_C(x) argument 46 #define __UINT8_C(x) x ## U argument 50 #define UINT8_C(x) __UINT8_C(x) argument 54 #define __INT16_C(x) x argument 58 #define INT16_C(x) __INT16_C(x) argument 62 #define __UINT16_C(x) x ## U argument 66 #define UINT16_C(x) __UINT16_C(x) argument 70 #define __INT32_C(x) x argument 74 #define INT32_C(x) __INT32_C(x) argument [all …]
|
/Zephyr-Core-3.5.0/soc/riscv/riscv-privileged/sifive-freedom/ |
D | fe310_prci.h | 24 #define ROSC_DIV(x) (((x) & 0x2F) << 0) argument 25 #define ROSC_TRIM(x) (((x) & 0x1F) << 16) argument 26 #define ROSC_EN(x) (((x) & 0x1) << 30) argument 27 #define ROSC_RDY(x) (((x) & 0x1) << 31) argument 29 #define XOSC_EN(x) (((x) & 0x1) << 30) argument 30 #define XOSC_RDY(x) (((x) & 0x1) << 31) argument 32 #define PLL_R(x) (((x) & 0x7) << 0) argument 34 #define PLL_F(x) (((x) & 0x3F) << 4) argument 35 #define PLL_Q(x) (((x) & 0x3) << 10) argument 36 #define PLL_SEL(x) (((x) & 0x1) << 16) argument [all …]
|
D | fu540_prci.h | 26 #define PLL_R(x) (((x) & 0x3f) << 0) argument 27 #define PLL_F(x) (((x) & 0x1ff) << 6) argument 28 #define PLL_Q(x) (((x) & 0x7) << 15) argument 29 #define PLL_RANGE(x) (((x) & 0x7) << 18) argument 30 #define PLL_BYPASS(x) (((x) & 0x1) << 24) argument 31 #define PLL_FSE(x) (((x) & 0x1) << 25) argument 32 #define PLL_LOCK(x) (((x) & 0x1) << 31) argument 39 #define CORECLKSEL_CORECLKSEL(x) (((x) & 0x1) << 0) argument
|
D | fu740_prci.h | 32 #define PLL_R(x) (((x) & 0x3f) << 0) argument 33 #define PLL_F(x) (((x) & 0x1ff) << 6) argument 34 #define PLL_Q(x) (((x) & 0x7) << 15) argument 35 #define PLL_RANGE(x) (((x) & 0x7) << 18) argument 36 #define PLL_BYPASS(x) (((x) & 0x1) << 24) argument 37 #define PLL_FSE(x) (((x) & 0x1) << 25) argument 38 #define PLL_LOCK(x) (((x) & 0x1) << 31) argument 52 #define OUTDIV_PLLCKE(x) (((x) & 0x1) << 31) argument 57 #define CLKSEL_SEL(x) (((x) & 0x1) << 0) argument 70 #define COREPLLSEL_SEL(x) (((x) & 0x1) << 0) argument
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_cadence_qspi_nor_ll.h | 24 #define CAD_QSPI_BANK_ADDR(x) ((x) >> 24) argument 31 #define CAD_QSPI_CFG_BAUDDIV(x) FIELD_PREP(0x780000, x) argument 33 #define CAD_QSPI_CFG_CS(x) (((x) << 11)) argument 41 #define CAD_QSPI_DELAY_CSSOT(x) (FIELD_GET(0xff, (x)) << 0) argument 42 #define CAD_QSPI_DELAY_CSEOT(x) (FIELD_GET(0xff, (x)) << 8) argument 43 #define CAD_QSPI_DELAY_CSDADS(x) (FIELD_GET(0xff, (x)) << 16) argument 44 #define CAD_QSPI_DELAY_CSDA(x) (FIELD_GET(0xff, (x)) << 24) argument 47 #define CAD_QSPI_DEVSZ_ADDR_BYTES(x) ((x) << 0) argument 48 #define CAD_QSPI_DEVSZ_BYTES_PER_PAGE(x) ((x) << 4) argument 49 #define CAD_QSPI_DEVSZ_BYTES_PER_BLOCK(x) ((x) << 16) argument [all …]
|
/Zephyr-Core-3.5.0/drivers/sensor/tmp108/ |
D | tmp108.h | 47 #define TI_TMP108_MODE_SHUTDOWN(x) 0 argument 48 #define TI_TMP108_MODE_ONE_SHOT(x) TI_TMP108_CONF_M0(x) argument 49 #define TI_TMP108_MODE_CONTINUOUS(x) TI_TMP108_CONF_M1(x) argument 50 #define TI_TMP108_MODE_MASK(x) ~(TI_TMP108_CONF_M0(x) | TI_TMP108_CONF_M1(x)) argument 52 #define TI_TMP108_FREQ_4_SECS(x) 0 argument 53 #define TI_TMP108_FREQ_1_HZ(x) TI_TMP108_GET_CONF(x, CONF_CR0) argument 54 #define TI_TMP108_FREQ_4_HZ(x) TI_TMP108_GET_CONF(x, CONF_CR1) argument 55 #define TI_TMP108_FREQ_16_HZ(x) (TI_TMP108_GET_CONF(x, CONF_CR1) | \ argument 57 #define TI_TMP108_FREQ_MASK(x) ~(TI_TMP108_GET_CONF(x, CONF_CR1) | \ argument 60 #define TI_TMP108_CONF_POL_LOW(x) 0 argument [all …]
|
/Zephyr-Core-3.5.0/drivers/sensor/fdc2x1x/ |
D | fdc2x1x.h | 61 #define FDC2X1X_REG_READ(x) (((x & 0xFF) << 1) | FDC2X1X_READ) argument 62 #define FDC2X1X_REG_WRITE(x) ((x & 0xFF) << 1) argument 63 #define FDC2X1X_TO_I2C_REG(x) ((x) >> 1) argument 67 #define FDC2X1X_CLK_DIV_CHX_FIN_SEL_SET(x) (((x) & 0x3) << 12) argument 68 #define FDC2X1X_CLK_DIV_CHX_FIN_SEL_GET(x) (((x) >> 12) & 0x3) argument 70 #define FDC2X1X_CLK_DIV_CHX_FREF_DIV_SET(x) ((x) & 0x1FF) argument 71 #define FDC2X1X_CLK_DIV_CHX_FREF_DIV_GET(x) (((x) >> 0) & 0x1FF) argument 74 #define FDC2X1X_STATUS_ERR_CHAN(x) (((x) >> 14) & 0x3) argument 75 #define FDC2X1X_STATUS_ERR_WD(x) (((x) >> 11) & 0x1) argument 76 #define FDC2X1X_STATUS_ERR_AHW(x) (((x) >> 10) & 0x1) argument [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/dt-bindings/pwm/ |
D | pwm.h | 24 #define PWM_NSEC(x) (x) argument 26 #define PWM_USEC(x) (PWM_NSEC(x) * 1000UL) argument 28 #define PWM_MSEC(x) (PWM_USEC(x) * 1000UL) argument 30 #define PWM_SEC(x) (PWM_MSEC(x) * 1000UL) argument 32 #define PWM_HZ(x) (PWM_SEC(1UL) / (x)) argument 34 #define PWM_KHZ(x) (PWM_HZ((x) * 1000UL)) argument
|
/Zephyr-Core-3.5.0/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/ |
D | phil_obj_abstract.h | 41 #define fork_init(x) osSemaphoreCreate(osSemaphore(##x), 1) argument 42 #define take(x) osSemaphoreWait(x, osWaitForever) argument 43 #define drop(x) osSemaphoreRelease(x) argument 55 #define fork_init(x) osMutexCreate(osMutex(##x)); argument 56 #define take(x) osMutexWait(x, 0) argument 57 #define drop(x) osMutexRelease(x) argument
|
/Zephyr-Core-3.5.0/soc/arm/nxp_lpc/lpc11u6x/ |
D | soc.h | 39 #define IOCON_PIO_FUNC(x) (((x) & 0x7)) argument 41 #define IOCON_PIO_MODE(x) (((x) & 0x3) << 3) argument 43 #define IOCON_PIO_HYS(x) (((x) & 0x1) << 5) argument 45 #define IOCON_PIO_INVERT(x) (((x) & 0x1) << 2) argument 47 #define IOCON_PIO_OD(x) (((x) & 0x1) << 10) argument 49 #define IOCON_PIO_SMODE(x) (((x) & 0x3) << 11) argument 51 #define IOCON_PIO_CLKDIV(x) (((x) & 0x7) << 13) argument 71 #define IOCON_PIO_ADMODE(x) (((x) & 0x1) << 7) argument 73 #define IOCON_PIO_FILTER(x) (((x) & 0x1) << 8) argument 90 #define IOCON_PIO_I2CMODE(x) (((x) & 0x3) << 8) argument
|
/Zephyr-Core-3.5.0/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/ |
D | phil_obj_abstract.h | 45 #define fork_init(x) osSemaphoreNew(1, 1, &sema_attr[x]) argument 46 #define take(x) osSemaphoreAcquire(x, osWaitForever) argument 47 #define drop(x) osSemaphoreRelease(x) argument 61 #define fork_init(x) osMutexNew(&mutex_attr[x]) argument 62 #define take(x) osMutexAcquire(x, osWaitForever) argument 63 #define drop(x) osMutexRelease(x) argument
|
/Zephyr-Core-3.5.0/samples/philosophers/src/ |
D | phil_obj_abstract.h | 53 #define fork_init(x) k_sem_init(x, 1, 1) argument 55 #define take(x) k_sem_take(x, K_FOREVER) argument 56 #define drop(x) k_sem_give(x) argument 69 #define fork_init(x) k_mutex_init(x) argument 71 #define take(x) k_mutex_lock(x, K_FOREVER) argument 72 #define drop(x) k_mutex_unlock(x) argument 83 #define fork_init(x) do { \ argument 88 #define take(x) do { \ argument 92 #define drop(x) k_stack_push(x, MAGIC) argument 103 #define fork_init(x) do { \ argument [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/xen/ |
D | generic.h | 14 #define XEN_PFN_UP(x) (unsigned long)(((x) + XEN_PAGE_SIZE-1) >> XEN_PAGE_SHIFT) argument 15 #define XEN_PFN_DOWN(x) (unsigned long)((x) >> XEN_PAGE_SHIFT) argument 16 #define XEN_PFN_PHYS(x) ((unsigned long)(x) << XEN_PAGE_SHIFT) argument 17 #define XEN_PHYS_PFN(x) (unsigned long)((x) >> XEN_PAGE_SHIFT) argument 19 #define xen_to_phys(x) ((unsigned long) (x)) argument 20 #define xen_to_virt(x) ((void *) (x)) argument
|
/Zephyr-Core-3.5.0/drivers/dai/intel/ssp/ |
D | ssp.h | 17 #define DAI_INTEL_SSP_SET_BIT(b, x) (((x) & 1) << (b)) argument 18 #define DAI_INTEL_SSP_SET_BITS(b_hi, b_lo, x) \ argument 20 #define DAI_INTEL_SSP_GET_BIT(b, x) \ argument 22 #define DAI_INTEL_SSP_GET_BITS(b_hi, b_lo, x) \ argument 65 #define SSCR0_DSIZE(x) DAI_INTEL_SSP_SET_BITS(3, 0, (x) - 1) argument 66 #define SSCR0_DSIZE_GET(x) (((x) & DAI_INTEL_SSP_MASK(3, 0)) + 1) argument 75 #define SSCR0_SCR(x) DAI_INTEL_SSP_SET_BITS(19, 8, x) argument 80 #define SSCR0_FRDC(x) DAI_INTEL_SSP_SET_BITS(26, 24, (x) - 1) argument 81 #define SSCR0_FRDC_GET(x) ((((x) & DAI_INTEL_SSP_MASK(26, 24)) >> 24) + 1) argument 93 #define SSCR1_TFT(x) DAI_INTEL_SSP_SET_BITS(9, 6, (x) - 1) argument [all …]
|
/Zephyr-Core-3.5.0/lib/libc/minimal/include/ |
D | stdint.h | 127 #define __INT8_C(x) x argument 131 #define INT8_C(x) __INT8_C(x) argument 135 #define __UINT8_C(x) x ## U argument 139 #define UINT8_C(x) __UINT8_C(x) argument 143 #define __INT16_C(x) x argument 147 #define INT16_C(x) __INT16_C(x) argument 151 #define __UINT16_C(x) x ## U argument 155 #define UINT16_C(x) __UINT16_C(x) argument 159 #define __INT32_C(x) x argument 163 #define INT32_C(x) __INT32_C(x) argument [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | util.h | 45 #define POINTER_TO_UINT(x) ((uintptr_t) (x)) argument 47 #define UINT_TO_POINTER(x) ((void *) (uintptr_t) (x)) argument 49 #define POINTER_TO_INT(x) ((intptr_t) (x)) argument 51 #define INT_TO_POINTER(x) ((void *) (intptr_t) (x)) argument 256 #define ROUND_UP(x, align) \ argument 263 #define ROUND_DOWN(x, align) \ argument 267 #define WB_UP(x) ROUND_UP(x, sizeof(void *)) argument 270 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *)) argument 379 static inline bool is_power_of_two(unsigned int x) in is_power_of_two() 575 #define __z_log2d(x) (32 - __builtin_clz(x) - 1) argument [all …]
|
/Zephyr-Core-3.5.0/dts/common/ |
D | mem.h | 10 #define DT_SIZE_K(x) ((x) * 1024) argument 11 #define DT_SIZE_M(x) ((x) * 1024 * 1024) argument 14 #define _DT_DO_CONCAT(x, y) x ## y argument
|
D | freq.h | 10 #define DT_FREQ_K(x) ((x) * 1000) argument 11 #define DT_FREQ_M(x) ((x) * 1000 * 1000) argument
|
/Zephyr-Core-3.5.0/drivers/sensor/adxl372/ |
D | adxl372.h | 91 #define ADXL372_REG_READ(x) (((x & 0xFF) << 1) | ADXL372_READ) argument 92 #define ADXL372_REG_WRITE(x) ((x & 0xFF) << 1) argument 93 #define ADXL372_TO_I2C_REG(x) ((x) >> 1) argument 97 #define ADXL372_POWER_CTL_INSTANT_ON_TH_MODE(x) (((x) & 0x1) << 5) argument 99 #define ADXL372_POWER_CTL_FIL_SETTLE_MODE(x) (((x) & 0x1) << 4) argument 101 #define ADXL372_POWER_CTL_LPF_DIS_MODE(x) (((x) & 0x1) << 3) argument 103 #define ADXL372_POWER_CTL_HPF_DIS_MODE(x) (((x) & 0x1) << 2) argument 105 #define ADXL372_POWER_CTL_MODE(x) (((x) & 0x3) << 0) argument 109 #define ADXL372_MEASURE_AUTOSLEEP_MODE(x) (((x) & 0x1) << 6) argument 111 #define ADXL372_MEASURE_LINKLOOP_MODE(x) (((x) & 0x3) << 4) argument [all …]
|
/Zephyr-Core-3.5.0/drivers/clock_control/ |
D | clock_control_agilex5_ll.h | 74 #define CLKMGR_STAT_BUSY(x) (((x) & 0x00000001U) >> 0) argument 75 #define CLKMGR_STAT_MAINPLLLOCKED(x) (((x) & 0x00000100U) >> 8) argument 76 #define CLKMGR_STAT_PERPLLLOCKED(x) (((x) & 0x00010000U) >> 16) argument 79 #define CLKMGR_MAINPLL_L4SPDIV(x) (((x) >> 16) & 0x3) argument 83 #define CLKMGR_PSRC(x) (((x) & 0x00030000U) >> 16) argument 91 #define CLKMGR_PLLM_MDIV(x) ((x) & 0x000003FFU) argument 95 #define CLKMGR_PLLGLOB_REFCLKDIV(x) (((x) & 0x00003F00) >> 8) argument 96 #define CLKMGR_PLLGLOB_AREFCLKDIV(x) (((x) & 0x00000F00) >> 8) argument 97 #define CLKMGR_PLLGLOB_DREFCLKDIV(x) (((x) & 0x00003000) >> 12) argument 99 #define CLKMGR_VCOCALIB_HSCNT_SET(x) (((x) << 0) & 0x000003FF) argument [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/ |
D | ticker.h | 34 #define HAL_TICKER_US_TO_TICKS(x) \ argument 44 #define HAL_TICKER_US_TO_TICKS_CEIL(x) \ argument 52 #define HAL_TICKER_TICKS_TO_US(x) \ argument 59 #define HAL_TICKER_REMAINDER(x) \ argument
|
/Zephyr-Core-3.5.0/tests/bluetooth/controller/mock_ctrl/include/hal/ |
D | ticker_vendor_hal.h | 28 #define HAL_TICKER_US_TO_TICKS(x) \ argument 38 #define HAL_TICKER_US_TO_TICKS_CEIL(x) \ argument 46 #define HAL_TICKER_TICKS_TO_US(x) \ argument 53 #define HAL_TICKER_REMAINDER(x) \ argument
|
/Zephyr-Core-3.5.0/scripts/native_simulator/common/src/include/ |
D | nsi_utils.h | 14 #define _NSI_STRINGIFY(x) #x argument 18 #define NSI_DO_CONCAT(x, y) x ## y argument 19 #define NSI_CONCAT(x, y) NSI_DO_CONCAT(x, y) argument 25 #define NSI_ARG_UNUSED(x) (void)(x) argument
|
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/common/include/ |
D | soc.h | 16 #define DSP_WCT_IRQ(x) \ argument 19 #define DSP_WCT_CS_TA(x) BIT(x) argument 20 #define DSP_WCT_CS_TT(x) BIT(4 + x) argument
|