Home
last modified time | relevance | path

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

12345678910>>...12

/Zephyr-Core-3.4.0/include/zephyr/toolchain/
Dllvm.h31 #define __INT8_C(x) x argument
35 #define INT8_C(x) __INT8_C(x) argument
39 #define __UINT8_C(x) x ## U argument
43 #define UINT8_C(x) __UINT8_C(x) argument
47 #define __INT16_C(x) x argument
51 #define INT16_C(x) __INT16_C(x) argument
55 #define __UINT16_C(x) x ## U argument
59 #define UINT16_C(x) __UINT16_C(x) argument
63 #define __INT32_C(x) x argument
67 #define INT32_C(x) __INT32_C(x) argument
[all …]
Dxcc.h45 #define __INT8_C(x) x argument
49 #define INT8_C(x) __INT8_C(x) argument
53 #define __UINT8_C(x) x ## U argument
57 #define UINT8_C(x) __UINT8_C(x) argument
61 #define __INT16_C(x) x argument
65 #define INT16_C(x) __INT16_C(x) argument
69 #define __UINT16_C(x) x ## U argument
73 #define UINT16_C(x) __UINT16_C(x) argument
77 #define __INT32_C(x) x argument
81 #define INT32_C(x) __INT32_C(x) argument
[all …]
/Zephyr-Core-3.4.0/soc/riscv/riscv-privileged/sifive-freedom/
Dfe310_prci.h24 #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 …]
Dfu540_prci.h26 #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
Dfu740_prci.h32 #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.4.0/drivers/dai/intel/dmic/
Ddmic.h16 #define SET_BIT(b, x) (((x) & 1) << (b)) argument
18 #define SET_BITS(b_hi, b_lo, x) \ argument
21 #define GET_BIT(b, x) \ argument
24 #define GET_BITS(b_hi, b_lo, x) \ argument
56 #define TS_LOCAL_TSCTRL_CDMAS(x) SET_BITS(4, 0, x) argument
80 #define DMICSYNC_SYNCPRD(x) SET_BITS(19, 0, x) argument
88 #define DMICLCTL_OSEL(x) SET_BITS(25, 24, x) argument
97 #define DMICSYNC_SYNCPRD(x) SET_BITS(14, 0, x) argument
174 #define OUTCONTROL0_TIE(x) SET_BIT(27, x) argument
175 #define OUTCONTROL0_SIP(x) SET_BIT(26, x) argument
[all …]
/Zephyr-Core-3.4.0/drivers/flash/
Dflash_cadence_qspi_nor_ll.h24 #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.4.0/drivers/sensor/tmp108/
Dtmp108.h47 #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.4.0/include/zephyr/dt-bindings/pwm/
Dpwm.h24 #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.4.0/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-3.4.0/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-3.4.0/soc/arm/nxp_lpc/lpc11u6x/
Dsoc.h39 #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.4.0/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-3.4.0/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-3.4.0/include/zephyr/xen/
Dgeneric.h14 #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.4.0/include/zephyr/sys/
Dutil.h43 #define POINTER_TO_UINT(x) ((uintptr_t) (x)) argument
45 #define UINT_TO_POINTER(x) ((void *) (uintptr_t) (x)) argument
47 #define POINTER_TO_INT(x) ((intptr_t) (x)) argument
49 #define INT_TO_POINTER(x) ((void *) (intptr_t) (x)) argument
231 #define ROUND_UP(x, align) \ argument
239 #define ROUND_DOWN(x, align) \ argument
243 #define WB_UP(x) ROUND_UP(x, sizeof(void *)) argument
246 #define WB_DN(x) ROUND_DOWN(x, sizeof(void *)) argument
336 static inline bool is_power_of_two(unsigned int x) in is_power_of_two()
532 #define __z_log2d(x) (32 - __builtin_clz(x) - 1) argument
[all …]
/Zephyr-Core-3.4.0/drivers/ipm/
Dipm_cavs_idc.h19 #define IPC_IDCTFC(x) (x * 0x10) argument
22 #define IPC_IDCTEFC(x) (0x4 + x * 0x10) argument
24 #define IPC_IDCITC(x) (0x8 + x * 0x10) argument
27 #define IPC_IDCIETC(x) (0xc + x * 0x10) argument
31 #define IPC_IDCCTL_IDCTBIE(x) BIT(x) argument
40 #define CAVS_IDC_TYPE(x) \ argument
45 #define CAVS_IDC_HEADER(x) ((x) & CAVS_IDC_HEADER_MASK) argument
49 #define CAVS_IDC_EXTENSION(x) ((x) & CAVS_IDC_EXTENSION_MASK) argument
/Zephyr-Core-3.4.0/drivers/dai/intel/ssp/
Dssp.h17 #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.4.0/lib/libc/minimal/include/
Dstdint.h127 #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.4.0/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-3.4.0/drivers/sensor/adxl372/
Dadxl372.h91 #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.4.0/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-3.4.0/tests/bluetooth/controller/mock_ctrl/include/hal/
Dticker_vendor_hal.h17 #define HAL_TICKER_US_TO_TICKS(x) \ argument
21 #define HAL_TICKER_REMAINDER(x) \ argument
26 #define HAL_TICKER_TICKS_TO_US(x) ((uint32_t)(((uint64_t)(x) * 30517578125UL) / 1000000000UL)) argument
/Zephyr-Core-3.4.0/include/zephyr/arch/arc/
Dtool-compat.h19 #define MACRO_ARG(x) x argument
21 #define MACRO_ARG(x) \x argument

12345678910>>...12