Home
last modified time | relevance | path

Searched full:x (Results 1 – 25 of 1283) sorted by relevance

12345678910>>...52

/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/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/soc/arm/st_stm32/common/
Dst_stm32_dt.h27 * pinctrl-x property for a given device instance inst
30 * @param x index of targeted pinctrl- property (eg: pinctrl-<x>)
34 #define ST_STM32_DT_INST_NODE_ID_FROM_PINCTRL(inst, x, i) \ argument
35 DT_INST_PINCTRL_BY_IDX(inst, x, i)
39 * pinctrl-x property for a given device
42 * @param x index of targeted pinctrl- property (eg: pinctrl-<x>)
46 #define ST_STM32_DT_NODE_ID_FROM_PINCTRL(name, x, i) \ argument
47 DT_PINCTRL_BY_IDX(DT_NODELABEL(name), x, i)
51 * in a pinctrl-x property for a given device instance inst
54 * @param x index of targeted pinctrl- property (eg: pinctrl-<x>)
[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/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/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/drivers/sensor/adxl372/
Dadxl372.h28 #define ADXL372_X_DATA_H 0x08u /* X-axis acceleration data [11:4] */
29 #define ADXL372_X_DATA_L 0x09u /* X-axis acceleration data [3:0] */
34 #define ADXL372_X_MAXPEAK_H 0x15u /* X-axis MaxPeak acceleration data */
35 #define ADXL372_X_MAXPEAK_L 0x16u /* X-axis MaxPeak acceleration data */
40 #define ADXL372_OFFSET_X 0x20u /* X axis offset */
43 #define ADXL372_X_THRESH_ACT_H 0x23u /* X axis Activity Threshold [15:8] */
44 #define ADXL372_X_THRESH_ACT_L 0x24u /* X axis Activity Threshold [7:0] */
50 #define ADXL372_X_THRESH_INACT_H 0x2Au /* X axis Inactivity Threshold */
51 #define ADXL372_X_THRESH_INACT_L 0x2Bu /* X axis Inactivity Threshold */
58 #define ADXL372_X_THRESH_ACT2_H 0x32u /* X axis Activity2 Threshold [15:8] */
[all …]
/Zephyr-Core-2.7.6/arch/arm/core/aarch32/
Dfatal.c22 LOG_ERR("r0/a1: 0x%08x r1/a2: 0x%08x r2/a3: 0x%08x", in esf_dump()
24 LOG_ERR("r3/a4: 0x%08x r12/ip: 0x%08x r14/lr: 0x%08x", in esf_dump()
26 LOG_ERR(" xpsr: 0x%08x", esf->basic.xpsr); in esf_dump()
29 LOG_ERR("s[%2d]: 0x%08x s[%2d]: 0x%08x" in esf_dump()
30 " s[%2d]: 0x%08x s[%2d]: 0x%08x", in esf_dump()
36 LOG_ERR("fpscr: 0x%08x", esf->fpscr); in esf_dump()
42 LOG_ERR("r4/v1: 0x%08x r5/v2: 0x%08x r6/v3: 0x%08x", in esf_dump()
44 LOG_ERR("r7/v4: 0x%08x r8/v5: 0x%08x r9/v6: 0x%08x", in esf_dump()
46 LOG_ERR("r10/v7: 0x%08x r11/v8: 0x%08x psp: 0x%08x", in esf_dump()
50 LOG_ERR("EXC_RETURN: 0x%0x", esf->extra_info.exc_return); in esf_dump()
[all …]
/Zephyr-Core-2.7.6/arch/nios2/core/
Dfatal.c25 LOG_ERR("Faulting instruction: 0x%08x", esf->instr - 4); in z_nios2_fatal_error()
26 LOG_ERR(" r1: 0x%08x r2: 0x%08x r3: 0x%08x r4: 0x%08x", in z_nios2_fatal_error()
28 LOG_ERR(" r5: 0x%08x r6: 0x%08x r7: 0x%08x r8: 0x%08x", in z_nios2_fatal_error()
30 LOG_ERR(" r9: 0x%08x r10: 0x%08x r11: 0x%08x r12: 0x%08x", in z_nios2_fatal_error()
32 LOG_ERR(" r13: 0x%08x r14: 0x%08x r15: 0x%08x ra: 0x%08x", in z_nios2_fatal_error()
34 LOG_ERR("estatus: %08x", esf->estatus); in z_nios2_fatal_error()
120 LOG_ERR("Exception cause: %d ECCFTL: 0x%x", cause, eccftl); in _Fault()
126 LOG_ERR("Badaddr: 0x%x", badaddr_reg); in _Fault()
/Zephyr-Core-2.7.6/scripts/coccinelle/
Dnoderef.cocci17 expression *x;
24 x = <+... sizeof(
25 - x
26 + *x
29 f(...,(T)(x),...,sizeof(
30 - x
31 + *x
35 - x
36 + *x
37 ),...,(T)(x),...)
[all …]
/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
84 k_stack_init(x, (void *)((x) + 1), 1); \
85 k_stack_push(x, MAGIC); \
88 #define take(x) do { \ argument
[all …]
/Zephyr-Core-2.7.6/tests/kernel/common/src/
Dprintk.c22 "0x1 0x 1 0x 1 0x 1\n"
35 "0x1 0x 1 0x 1 0x 1\n"
48 "0x1 0x 1 0x 1 0x 1\n"
112 printk("0x%x 0x%02x 0x%04x 0x%08x 0x%016x\n", 1, 1, 1, 1, 1); in test_printk()
113 printk("0x%x 0x%2x 0x%4x 0x%8x\n", 1, 1, 1, 1); in test_printk()
118 printk("%-8u%-6d%-4x %8d\n", 0xFF, 42, 0xABCDEF, 42); in test_printk()
120 printk("0x%x %p %-2p\n", hex, ptr, (char *)42); in test_printk()
134 "0x%x 0x%02x 0x%04x 0x%08x 0x%016x\n", 1, 1, 1, 1, 1); in test_printk()
136 "0x%x 0x%2x 0x%4x 0x%8x\n", 1, 1, 1, 1); in test_printk()
146 "%-8u%-6d%-4x %8d\n", in test_printk()
[all …]
/Zephyr-Core-2.7.6/tests/unit/crc/
Dmain.c165 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
169 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
173 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
177 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
181 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
185 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
189 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
193 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
197 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
201 zassert_equal(fcs, expected, "0x%02x vs 0x%02x", fcs, expected); in test_crc8()
[all …]
/Zephyr-Core-2.7.6/arch/arc/core/
Dfatal.c27 LOG_ERR(" r0: 0x%" PRIxPTR " r1: 0x%" PRIxPTR " r2: 0x%" PRIxPTR " r3: 0x%" PRIxPTR "", in dump_arc_esf()
29 LOG_ERR(" r4: 0x%" PRIxPTR " r5: 0x%" PRIxPTR " r6: 0x%" PRIxPTR " r7: 0x%" PRIxPTR "", in dump_arc_esf()
31 LOG_ERR(" r8: 0x%" PRIxPTR " r9: 0x%" PRIxPTR " r10: 0x%" PRIxPTR " r11: 0x%" PRIxPTR "", in dump_arc_esf()
33 LOG_ERR("r12: 0x%" PRIxPTR " r13: 0x%" PRIxPTR " pc: 0x%" PRIxPTR "", in dump_arc_esf()
35 LOG_ERR(" blink: 0x%" PRIxPTR " status32: 0x%" PRIxPTR "", esf->blink, esf->status32); in dump_arc_esf()
37 LOG_ERR("lp_end: 0x%" PRIxPTR " lp_start: 0x%" PRIxPTR " lp_count: 0x%" PRIxPTR "", in dump_arc_esf()
/Zephyr-Core-2.7.6/subsys/net/lib/sntp/
Dsntp_pkt.h20 #define SNTP_GET_LI(x) ((x & SNTP_LI_MASK) >> SNTP_LI_SHIFT) argument
21 #define SNTP_GET_VN(x) ((x & SNTP_VN_MASK) >> SNTP_VN_SHIFT) argument
22 #define SNTP_GET_MODE(x) ((x & SNTP_MODE_MASK) >> SNTP_MODE_SHIFT) argument
24 #define SNTP_SET_LI(x, v) (x = x | (v << SNTP_LI_SHIFT)) argument
25 #define SNTP_SET_VN(x, v) (x = x | (v << SNTP_VN_SHIFT)) argument
26 #define SNTP_SET_MODE(x, v) (x = x | (v << SNTP_MODE_SHIFT)) argument
/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/tests/arch/arm/arm_thread_swap/src/
Darm_thread_arch.c107 " got: 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x\n" in verify_callee_saved()
108 " expected: 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x\n", in verify_callee_saved()
177 " got: 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x" in verify_fp_callee_saved()
178 " 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x\n" in verify_fp_callee_saved()
179 " expected: 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x" in verify_fp_callee_saved()
180 " 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x 0x%0x\n", in verify_fp_callee_saved()
268 "CONTROL.FPCA is not cleared at initialization: 0x%x\n", in alt_thread_entry()
292 "(Alt thread) FPSCR is not cleared at initialization: 0x%x\n", __get_FPSCR()); in alt_thread_entry()
295 "ztest thread mode Ftype flag not updated at swap-out: 0x%0x\n", in alt_thread_entry()
459 "Thread nPRIV flag not clear for supervisor thread: 0x%0x\n", in test_arm_thread_swap()
[all …]
/Zephyr-Core-2.7.6/boards/xtensa/intel_adsp_cavs15/tools/lib/
Dipc.py50 output = ("Size: 0x%08X" % self.size)
66 " Command: {cmd:>10} (0x{cmd:0>8X})\n"
67 " Size: {size:>10} (0x{size:0>4X})"
94 " Major version: {major: >5} (0x{major:0>4X})\n"
95 " Minor version: {minor: >5} (0x{minor:0>4X})\n"
96 " Micro number: {micro: >5} (0x{micro:0>4X})\n"
97 " Build number: {build: >5} (0x{build:0>4X})\n"
101 " Abi version: {abi_version: >5} (0x{abi_version:0>4X})"
130 "IPC Firmware Ready Message: (0x{cmd:0>8X}) (0x{size:0>8X})\n"
131 " DSP box offset: {dsp_offset: >5} (0x{dsp_offset:0>4X})\n"
[all …]
/Zephyr-Core-2.7.6/include/linker/
Dlinker-tool-mwdt.h21 #define ASSERT(x, y) argument
22 #define SUBALIGN(x) ALIGN(x) argument
24 #define LOG2CEIL(x) ((((x) <= 2048) ? 11 : (((x) <= 4096)?12:(((x) <= 8192) ? \ argument
25 13 : (((x) <= 16384) ? 14 : (((x) <= 32768) ? 15:(((x) <= 65536) ? \
26 16 : (((x) <= 131072) ? 17 : (((x) <= 262144) ? 18:(((x) <= 524288) ? \
27 19 : (((x) <= 1048576) ? 20 : (((x) <= 2097152) ? \
28 21 : (((x) <= 4194304) ? 22 : (((x) <= 8388608) ? \
29 23 : (((x) <= 16777216) ? 24 : (((x) <= 33554432) ? \
30 25 : (((x) <= 67108864) ? 26 : (((x) <= 134217728) ? \
31 27 : (((x) <= 268435456) ? 28 : (((x) <= 536870912) ? \
[all …]
/Zephyr-Core-2.7.6/samples/drivers/soc_flash_nrf/src/
Dmain.c55 printf("\nTest 1: Flash erase page at 0x%x\n", FLASH_TEST_OFFSET); in main()
65 printf(" Attempted to write %x at 0x%x\n", buf_array_1[i], in main()
72 printf(" Attempted to read 0x%x\n", offset); in main()
78 printf(" Data read: %x\n", buf_word); in main()
87 printf("\nTest 3: Flash erase (4 pages at 0x%x)\n", offset); in main()
97 printf(" Attempted to write %x at 0x%x\n", buf_array_2[i], in main()
104 printf(" Attempted to read 0x%x\n", offset); in main()
110 printf(" Data read: %x\n", buf_word); in main()
118 printf("\nTest 5: Flash erase page at 0x%x\n", FLASH_TEST_OFFSET); in main()
128 printf(" Attempted to write %x at 0x%x\n", buf_array_3[i], in main()
[all …]
/Zephyr-Core-2.7.6/samples/boards/olimex_stm32_e407/ccm/src/
Dmain.c43 printf("0x%02x ", ((const char *)array)[i]); in print_array()
56 printf("\nccm_data_var_8 incorrect: 0x%02x should be 0x%02x", in check_initial_var_values()
62 printf("\nccm_data_var_16 incorrect: 0x%04x should be 0x%04x", in check_initial_var_values()
68 printf("\nccm_data_var_32 incorrect: 0x%08x should be 0x%08x", in check_initial_var_values()
76 "0x%02x should be 0x%02x", in check_initial_var_values()
85 "0x%02x should be 0x00", in check_initial_var_values()
97 printf("ccm_data_var_8 addr: %p value: 0x%02x\n", in print_var_values()
99 printf("ccm_data_var_16 addr: %p value: 0x%04x\n", in print_var_values()
101 printf("ccm_data_var_32 addr: %p value: 0x%08x\n", in print_var_values()
/Zephyr-Core-2.7.6/include/sys/
Dmath_extras_impl.h26 #define use_builtin(x) 0 argument
28 #define use_builtin(x) HAS_BUILTIN(x) argument
159 * x=0.
162 * that already computes the correct result for x=0. Both GCC and Clang
183 * The compiler will often be able to eliminate the redundant x == 0
188 static inline int u32_count_leading_zeros(uint32_t x) in u32_count_leading_zeros() argument
190 return x == 0 ? 32 : __builtin_clz(x); in u32_count_leading_zeros()
193 static inline int u32_count_leading_zeros(uint32_t x) in u32_count_leading_zeros() argument
197 for (b = 0; b < 32 && (x >> 31) == 0; b++) { in u32_count_leading_zeros()
198 x <<= 1; in u32_count_leading_zeros()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dcfg_srv.c122 BT_DBG("net_idx 0x%04x app_idx 0x%04x src 0x%04x len %u: %s", in dev_comp_data_get()
156 BT_DBG("ID 0x%04x addr 0x%04x", id, elem->addr); in get_model()
167 BT_DBG("Company 0x%04x ID 0x%04x addr 0x%04x", company, id, in get_model()
268 BT_DBG("model %p key_idx 0x%03x", model, key_idx); in mod_bind()
300 BT_DBG("model %p key_idx 0x%03x store %u", model, key_idx, store); in mod_unbind()
353 BT_DBG("AppIdx 0x%04x NetIdx 0x%04x", key_app_idx, key_net_idx); in app_key_add()
369 BT_DBG("AppIdx 0x%04x NetIdx 0x%04x", key_app_idx, key_net_idx); in app_key_update()
372 BT_DBG("status 0x%02x", status); in app_key_update()
405 BT_DBG("AppIdx 0x%04x NetIdx 0x%04x", key_app_idx, key_net_idx); in app_key_del()
429 BT_ERR("Invalid NetKeyIndex 0x%04x", get_idx); in app_key_get()
[all …]

12345678910>>...52