Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 197) sorted by relevance

12345678

/Zephyr-Core-2.7.6/include/toolchain/
Dxcc.h30 #define __INT8_C(x) x argument
34 #define INT8_C(x) __INT8_C(x) argument
38 #define __UINT8_C(x) x ## U argument
42 #define UINT8_C(x) __UINT8_C(x) argument
46 #define __INT16_C(x) x argument
50 #define INT16_C(x) __INT16_C(x) argument
54 #define __UINT16_C(x) x ## U argument
58 #define UINT16_C(x) __UINT16_C(x) argument
62 #define __INT32_C(x) x argument
66 #define INT32_C(x) __INT32_C(x) argument
[all …]
/Zephyr-Core-2.7.6/soc/riscv/riscv-privilege/sifive-freedom/
Dfe310_prci.h22 #define ROSC_DIV(x) (((x) & 0x2F) << 0) argument
23 #define ROSC_TRIM(x) (((x) & 0x1F) << 16) argument
24 #define ROSC_EN(x) (((x) & 0x1) << 30) argument
25 #define ROSC_RDY(x) (((x) & 0x1) << 31) argument
27 #define XOSC_EN(x) (((x) & 0x1) << 30) argument
28 #define XOSC_RDY(x) (((x) & 0x1) << 31) argument
30 #define PLL_R(x) (((x) & 0x7) << 0) argument
32 #define PLL_F(x) (((x) & 0x3F) << 4) argument
33 #define PLL_Q(x) (((x) & 0x3) << 10) argument
34 #define PLL_SEL(x) (((x) & 0x1) << 16) argument
[all …]
Dfu540_prci.h24 #define PLL_R(x) (((x) & 0x3f) << 0) argument
25 #define PLL_F(x) (((x) & 0x1ff) << 6) argument
26 #define PLL_Q(x) (((x) & 0x7) << 15) argument
27 #define PLL_RANGE(x) (((x) & 0x7) << 18) argument
28 #define PLL_BYPASS(x) (((x) & 0x1) << 24) argument
29 #define PLL_FSE(x) (((x) & 0x1) << 25) argument
30 #define PLL_LOCK(x) (((x) & 0x1) << 31) argument
37 #define CORECLKSEL_CORECLKSEL(x) (((x) & 0x1) << 0) argument
Dfu740_prci.h30 #define PLL_R(x) (((x) & 0x3f) << 0) argument
31 #define PLL_F(x) (((x) & 0x1ff) << 6) argument
32 #define PLL_Q(x) (((x) & 0x7) << 15) argument
33 #define PLL_RANGE(x) (((x) & 0x7) << 18) argument
34 #define PLL_BYPASS(x) (((x) & 0x1) << 24) argument
35 #define PLL_FSE(x) (((x) & 0x1) << 25) argument
36 #define PLL_LOCK(x) (((x) & 0x1) << 31) argument
50 #define OUTDIV_PLLCKE(x) (((x) & 0x1) << 31) argument
55 #define CLKSEL_SEL(x) (((x) & 0x1) << 0) argument
68 #define COREPLLSEL_SEL(x) (((x) & 0x1) << 0) argument
/Zephyr-Core-2.7.6/drivers/audio/
Dintel_dmic.h79 #define OUTCONTROL0_TIE(x) SET_BIT(27, x) argument
80 #define OUTCONTROL0_SIP(x) SET_BIT(26, x) argument
81 #define OUTCONTROL0_FINIT(x) SET_BIT(25, x) argument
82 #define OUTCONTROL0_FCI(x) SET_BIT(24, x) argument
83 #define OUTCONTROL0_BFTH(x) SET_BITS(23, 20, x) argument
84 #define OUTCONTROL0_OF(x) SET_BITS(19, 18, x) argument
85 #define OUTCONTROL0_NUMBER_OF_DECIMATORS(x) SET_BITS(17, 15, x) argument
86 #define OUTCONTROL0_IPM_SOURCE_1(x) SET_BITS(14, 13, x) argument
87 #define OUTCONTROL0_IPM_SOURCE_2(x) SET_BITS(12, 11, x) argument
88 #define OUTCONTROL0_IPM_SOURCE_3(x) SET_BITS(10, 9, x) argument
[all …]
/Zephyr-Core-2.7.6/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/
Dphil_obj_abstract.h41 #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-2.7.6/soc/arm/st_stm32/common/
Dst_stm32_dt.h34 #define ST_STM32_DT_INST_NODE_ID_FROM_PINCTRL(inst, x, i) \ argument
46 #define ST_STM32_DT_NODE_ID_FROM_PINCTRL(name, x, i) \ argument
58 #define ST_STM32_DT_INST_PINMUX(inst, x, i) \ argument
70 #define ST_STM32_DT_PINMUX(name, x, i) \ argument
83 #define ST_STM32_DT_INST_FUNC(inst, x, i, function) \ argument
96 #define ST_STM32_DT_FUNC(name, x, i, function) \ argument
108 #define ST_STM32_DT_INST_SLEW_RATE(inst, x, i) \ argument
121 #define ST_STM32_DT_SLEW_RATE(name, x, i) \ argument
134 #define ST_STM32_DT_INST_PINCFG(inst, x, i) \ argument
148 #define ST_STM32_DT_INST_PINCFG(inst, x, i) \ argument
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/fdc2x1x/
Dfdc2x1x.h61 #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-2.7.6/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/
Dphil_obj_abstract.h45 #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-2.7.6/samples/philosophers/src/
Dphil_obj_abstract.h53 #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-2.7.6/lib/libc/minimal/include/
Dstdint.h97 #define __INT8_C(x) x argument
101 #define INT8_C(x) __INT8_C(x) argument
105 #define __UINT8_C(x) x ## U argument
109 #define UINT8_C(x) __UINT8_C(x) argument
113 #define __INT16_C(x) x argument
117 #define INT16_C(x) __INT16_C(x) argument
121 #define __UINT16_C(x) x ## U argument
125 #define UINT16_C(x) __UINT16_C(x) argument
129 #define __INT32_C(x) x argument
133 #define INT32_C(x) __INT32_C(x) argument
[all …]
/Zephyr-Core-2.7.6/include/sys/
Dutil.h40 #define POINTER_TO_UINT(x) ((uintptr_t) (x)) argument
42 #define UINT_TO_POINTER(x) ((void *) (uintptr_t) (x)) argument
44 #define POINTER_TO_INT(x) ((intptr_t) (x)) argument
46 #define INT_TO_POINTER(x) ((void *) (intptr_t) (x)) argument
156 #define ROUND_UP(x, align) \ argument
164 #define ROUND_DOWN(x, align) \ argument
168 #define WB_UP(x) ROUND_UP(x, sizeof(void *)) argument
171 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *)) argument
214 static inline bool is_power_of_two(unsigned int x) in is_power_of_two()
377 #define KB(x) ((x) << 10) argument
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/adxl372/
Dadxl372.h83 #define ADXL372_REG_READ(x) (((x & 0xFF) << 1) | ADXL372_READ) argument
84 #define ADXL372_REG_WRITE(x) ((x & 0xFF) << 1) argument
85 #define ADXL372_TO_I2C_REG(x) ((x) >> 1) argument
89 #define ADXL372_POWER_CTL_INSTANT_ON_TH_MODE(x) (((x) & 0x1) << 5) argument
91 #define ADXL372_POWER_CTL_FIL_SETTLE_MODE(x) (((x) & 0x1) << 4) argument
93 #define ADXL372_POWER_CTL_LPF_DIS_MODE(x) (((x) & 0x1) << 3) argument
95 #define ADXL372_POWER_CTL_HPF_DIS_MODE(x) (((x) & 0x1) << 2) argument
97 #define ADXL372_POWER_CTL_MODE(x) (((x) & 0x3) << 0) argument
101 #define ADXL372_MEASURE_AUTOSLEEP_MODE(x) (((x) & 0x1) << 6) argument
103 #define ADXL372_MEASURE_LINKLOOP_MODE(x) (((x) & 0x3) << 4) argument
[all …]
/Zephyr-Core-2.7.6/dts/common/
Dmem.h10 #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
Dfreq.h10 #define DT_FREQ_K(x) ((x) * 1000) argument
11 #define DT_FREQ_M(x) ((x) * 1000 * 1000) argument
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/util/
Dmem.h13 #define MALIGN(x) __attribute__((aligned(x))) argument
37 #define MROUND(x) (((uint32_t)(x)+3) & (~((uint32_t)3))) argument
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/
Dticker.h18 #define HAL_TICKER_US_TO_TICKS(x) \ argument
24 #define HAL_TICKER_REMAINDER(x) \ argument
33 #define HAL_TICKER_TICKS_TO_US(x) \ argument
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/
Dticker.h19 #define HAL_TICKER_US_TO_TICKS(x) \ argument
26 #define HAL_TICKER_REMAINDER(x) \ argument
36 #define HAL_TICKER_TICKS_TO_US(x) \ argument
/Zephyr-Core-2.7.6/include/arch/arc/
Dtool-compat.h19 #define MACRO_ARG(x) x argument
21 #define MACRO_ARG(x) \x argument
/Zephyr-Core-2.7.6/include/
Dtoolchain.h26 #define HAS_BUILTIN(x) __has_builtin(x) argument
33 #define HAS_BUILTIN(x) HAS_BUILTIN_##x argument
/Zephyr-Core-2.7.6/soc/xtensa/intel_s1000/soc/
Dshim.h57 #define IPC_IDCTFC(x) (0x0 + x * IPC_DSP_OFFSET) argument
58 #define IPC_IDCTEFC(x) (0x4 + x * IPC_DSP_OFFSET) argument
59 #define IPC_IDCITC(x) (0x8 + x * IPC_DSP_OFFSET) argument
60 #define IPC_IDCIETC(x) (0xc + x * IPC_DSP_OFFSET) argument
79 #define IPC_IDCCTL_IDCIDIE(x) (0x100 << (x)) argument
80 #define IPC_IDCCTL_IDCTBIE(x) BIT(x) argument
151 #define SHIM_CLKCTL_LPGPDMAFDCGB(x) BIT(26 + x) argument
157 #define SHIM_CLKCTL_I2SFDCGB(x) BIT(20 + x) argument
160 #define SHIM_CLKCTL_I2SEFDCGB(x) BIT(18 + x) argument
163 #define SHIM_CLKCTL_TCPLCG_EN(x) BIT(16 + (x)) argument
[all …]
/Zephyr-Core-2.7.6/soc/xtensa/intel_adsp/cavs_v15/include/soc/
Dshim.h57 #define IPC_IDCTFC(x) (0x0 + x * IPC_DSP_OFFSET) argument
58 #define IPC_IDCTEFC(x) (0x4 + x * IPC_DSP_OFFSET) argument
59 #define IPC_IDCITC(x) (0x8 + x * IPC_DSP_OFFSET) argument
60 #define IPC_IDCIETC(x) (0xc + x * IPC_DSP_OFFSET) argument
79 #define IPC_IDCCTL_IDCIDIE(x) (0x100 << (x)) argument
80 #define IPC_IDCCTL_IDCTBIE(x) BIT(x) argument
151 #define SHIM_CLKCTL_LPGPDMAFDCGB(x) BIT(26 + x) argument
157 #define SHIM_CLKCTL_I2SFDCGB(x) BIT(20 + x) argument
160 #define SHIM_CLKCTL_I2SEFDCGB(x) BIT(18 + x) argument
163 #define SHIM_CLKCTL_TCPLCG_EN(x) BIT(16 + (x)) argument
[all …]
/Zephyr-Core-2.7.6/drivers/i2s/
Di2s_cavs.h43 #define SSCR0_DSIZE(x) ((x) - 1) argument
52 #define SSCR0_SCR(x) ((x) << 8) argument
57 #define SSCR0_FRDC(x) (((x) - 1) << 24) argument
102 #define SSPSP_SCMODE(x) ((x) << 0) argument
103 #define SSPSP_SFRMP(x) ((x) << 2) argument
105 #define SSPSP_STRTDLY(x) ((x) << 4) argument
106 #define SSPSP_DMYSTRT(x) ((x) << 7) argument
107 #define SSPSP_SFRMDLY(x) ((x) << 9) argument
108 #define SSPSP_SFRMWDTH(x) ((x) << 16) argument
109 #define SSPSP_DMYSTOP(x) ((x) << 23) argument
[all …]
/Zephyr-Core-2.7.6/soc/xtensa/intel_adsp/cavs_v18/include/soc/
Dshim.h41 #define IPC_IDCTFC(x) (0x0 + x * IPC_DSP_OFFSET) argument
42 #define IPC_IDCTEFC(x) (0x4 + x * IPC_DSP_OFFSET) argument
43 #define IPC_IDCITC(x) (0x8 + x * IPC_DSP_OFFSET) argument
44 #define IPC_IDCIETC(x) (0xc + x * IPC_DSP_OFFSET) argument
63 #define IPC_IDCCTL_IDCIDIE(x) (0x100 << (x)) argument
64 #define IPC_IDCCTL_IDCTBIE(x) BIT(x) argument
132 #define SHIM_CLKCTL_TCPLCG_EN(x) BIT(16 + (x)) argument
133 #define SHIM_CLKCTL_TCPLCG_DIS(x) 0 argument
140 #define SHIM_CLKCTL_DPCS_MASK(x) BIT(2) argument
158 #define SHIM_CLKCTL_DPCS_MASK(x) BIT(2) argument
[all …]
/Zephyr-Core-2.7.6/subsys/usb/
Dos_desc.h33 #define usb_os_desc_enabled(x) false argument
34 #define usb_handle_os_desc(x, y, z) -ENOTSUP argument
35 #define usb_handle_os_desc_feature(x, y, z) -ENOTSUP argument
36 #define usb_register_os_desc(x) argument

12345678