Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-Core-3.7.0/tests/subsys/logging/log_api/src/
Dmock_backend.c73 struct mock_log_backend_msg *exp = &mock->exp_msgs[mock->msg_rec_idx]; in mock_log_backend_generic_record() local
75 exp->check = true; in mock_log_backend_generic_record()
76 exp->timestamp = timestamp; in mock_log_backend_generic_record()
77 exp->source_id = source_id; in mock_log_backend_generic_record()
78 exp->domain_id = domain_id; in mock_log_backend_generic_record()
79 exp->level = level; in mock_log_backend_generic_record()
83 __ASSERT_NO_MSG(len < sizeof(exp->str)); in mock_log_backend_generic_record()
85 memcpy(exp->str, str, len); in mock_log_backend_generic_record()
86 exp->str[len] = 0; in mock_log_backend_generic_record()
88 if (data_len <= sizeof(exp->data)) { in mock_log_backend_generic_record()
[all …]
/Zephyr-Core-3.7.0/include/zephyr/net/
Dgptp.h75 #define GPTP_POW2(exp) pow(2, exp) argument
78 static inline double gptp_pow2(int exp) in gptp_pow2() argument
82 if (exp >= 0) { in gptp_pow2()
83 res = 1 << exp; in gptp_pow2()
87 while (exp++) { in gptp_pow2()
95 #define GPTP_POW2(exp) gptp_pow2(exp) argument
/Zephyr-Core-3.7.0/scripts/utils/
Dntc_thermistor_table.py38 exp = beta * ((1 / c_to_k(temp_c)) - (1 / t0_kelvin))
39 resistance = r25 * math.exp(exp)
/Zephyr-Core-3.7.0/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h389 #define zassert_mem_equal__(buf, exp, size, ...) \ argument
390 zassert(memcmp(buf, exp, size) == 0, #buf " not equal to " #exp, ##__VA_ARGS__)
567 #define zassume_mem_equal__(buf, exp, size, ...) \ argument
568 zassume(memcmp(buf, exp, size) == 0, #buf " not equal to " #exp, ##__VA_ARGS__)
711 #define zexpect_mem_equal(buf, exp, size, ...) \ argument
712 zexpect(memcmp(buf, exp, size) == 0, #buf " not equal to " #exp, ##__VA_ARGS__)
/Zephyr-Core-3.7.0/subsys/jwt/
Djwt.c132 int32_t exp; member
139 JSON_OBJ_DESCR_PRIM(struct jwt_payload, exp, JSON_TOK_NUMBER),
174 int32_t exp, in jwt_add_payload() argument
179 .exp = exp, in jwt_add_payload()
/Zephyr-Core-3.7.0/drivers/flash/
Dspi_nor.c214 .exp = 16,
218 .exp = 12,
927 if ((etp->exp != 0) in spi_nor_erase()
928 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in spi_nor_erase()
929 && (size >= BIT(etp->exp)) in spi_nor_erase()
931 || (etp->exp > bet->exp))) { in spi_nor_erase()
937 addr += BIT(bet->exp); in spi_nor_erase()
938 size -= BIT(bet->exp); in spi_nor_erase()
1111 LOG_DBG("Erase %u with %02x", (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
1231 uint8_t exp = 0; in setup_pages_layout() local
[all …]
Djesd216.h295 uint8_t exp; member
359 uint8_t exp = (dw11 >> 4) & 0x0F; in jesd216_bfp_page_size() local
361 return BIT(exp); in jesd216_bfp_page_size()
Djesd216.c139 uint8_t exp = (uint8_t)dw; in jesd216_bfp_erase() local
142 if (exp == 0) { in jesd216_bfp_erase()
146 etp->exp = exp; in jesd216_bfp_erase()
Dflash_stm32_qspi.c686 if ((etp->exp != 0) in flash_stm32_qspi_erase()
687 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_qspi_erase()
688 && SPI_NOR_IS_ALIGNED(size, etp->exp) in flash_stm32_qspi_erase()
690 || (etp->exp > bet->exp))) { in flash_stm32_qspi_erase()
697 addr += BIT(bet->exp); in flash_stm32_qspi_erase()
698 size -= BIT(bet->exp); in flash_stm32_qspi_erase()
870 uint8_t exp = 0; in setup_pages_layout() local
878 && ((exp == 0) || (etp->exp < exp))) { in setup_pages_layout()
879 exp = etp->exp; in setup_pages_layout()
883 if (exp == 0) { in setup_pages_layout()
[all …]
Dflash_andes_qspi.c431 if ((etp->exp != 0) && in flash_andes_qspi_erase()
432 SPI_NOR_IS_ALIGNED(addr, etp->exp) && in flash_andes_qspi_erase()
433 SPI_NOR_IS_ALIGNED(size, etp->exp) && in flash_andes_qspi_erase()
434 ((bet == NULL) || (etp->exp > bet->exp))) { in flash_andes_qspi_erase()
442 addr += BIT(bet->exp); in flash_andes_qspi_erase()
443 size -= BIT(bet->exp); in flash_andes_qspi_erase()
522 (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
638 ((exponent == 0) || (etp->exp < exponent))) { in setup_pages_layout()
639 exponent = etp->exp; in setup_pages_layout()
Dflash_stm32_xspi.c1095 if ((etp->exp != 0) in flash_stm32_xspi_erase()
1096 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_xspi_erase()
1097 && (size >= BIT(etp->exp)) in flash_stm32_xspi_erase()
1099 || (etp->exp > bet->exp))) { in flash_stm32_xspi_erase()
1126 addr += BIT(bet->exp); in flash_stm32_xspi_erase()
1127 size -= BIT(bet->exp); in flash_stm32_xspi_erase()
1571 && ((value == 0) || (etp->exp < value))) { in setup_pages_layout()
1572 value = etp->exp; in setup_pages_layout()
1837 (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
2315 etp->exp = 0; in flash_stm32_xspi_init()
Dflash_stm32_ospi.c1248 if ((etp->exp != 0) in flash_stm32_ospi_erase()
1249 && SPI_NOR_IS_ALIGNED(addr, etp->exp) in flash_stm32_ospi_erase()
1250 && (size >= BIT(etp->exp)) in flash_stm32_ospi_erase()
1252 || (etp->exp > bet->exp))) { in flash_stm32_ospi_erase()
1279 addr += BIT(bet->exp); in flash_stm32_ospi_erase()
1280 size -= BIT(bet->exp); in flash_stm32_ospi_erase()
1712 && ((value == 0) || (etp->exp < value))) { in setup_pages_layout()
1713 value = etp->exp; in setup_pages_layout()
1978 (uint32_t)BIT(etp->exp), etp->cmd); in spi_nor_process_bfp()
2474 etp->exp = 0; in flash_stm32_ospi_init()
/Zephyr-Core-3.7.0/tests/kernel/semaphore/semaphore/src/
Dmain.c26 #define expect_k_sem_take(sem, timeout, exp, str) do { \ argument
28 int _exp = (exp); \
32 #define expect_k_sem_init(sem, init, max, exp, str) do { \ argument
34 int _exp = (exp); \
38 #define expect_k_sem_count_get(sem, exp, str) do { \ argument
40 unsigned int _exp = (exp); \
44 #define expect_k_sem_take_nomsg(sem, timeout, exp) \ argument
45 expect_k_sem_take((sem), (timeout), (exp), "k_sem_take incorrect return value: %d != %d")
46 #define expect_k_sem_init_nomsg(sem, init, max, exp) \ argument
47 expect_k_sem_init((sem), (init), (max), (exp), \
[all …]
/Zephyr-Core-3.7.0/include/zephyr/data/
Djwt.h79 int32_t exp,
/Zephyr-Core-3.7.0/drivers/watchdog/
Dwdt_wwdgt_gd32.c54 uint32_t timeout, uint32_t exp) in gd32_wwdgt_calc_ticks() argument
64 / (WWDGT_INTERNAL_DIVIDER * (1 << exp) * MSEC_PER_SEC) - 1) in gd32_wwdgt_calc_ticks()
/Zephyr-Core-3.7.0/boards/nordic/nrf9160dk/
Dnrf9160dk_nrf52840_0_14_0.overlay15 io_expander_pins_routing: switch-io-exp-en {
/Zephyr-Core-3.7.0/drivers/clock_control/
Dclock_control_litex.h73 lcko->margin.exp = CLKOUT_MARGIN_EXP(N);
231 uint32_t exp; member
Dclock_control_litex.c1234 static uint32_t litex_clk_pow(uint32_t base, uint32_t exp) in litex_clk_pow() argument
1238 while (exp--) { in litex_clk_pow()
1253 if (lcko->margin.exp) { in litex_clk_calc_clkout_params()
1254 margin = litex_clk_pow(10, lcko->margin.exp); in litex_clk_calc_clkout_params()
1264 if (lcko->margin.exp) { in litex_clk_calc_clkout_params()
1353 if (lcko->margin.exp) { in litex_clk_check_rate_range()
1354 margin = litex_clk_pow(10, lcko->margin.exp); in litex_clk_check_rate_range()
/Zephyr-Core-3.7.0/tests/subsys/ipc/pbuf/src/
Dmain.c198 static int check_buffer(char *buf, uint16_t len, char exp) in check_buffer() argument
201 if (buf[i] != exp) { in check_buffer()
/Zephyr-Core-3.7.0/tests/kernel/timer/timer_api/src/
Dmain.c70 #define TIMER_ASSERT(exp, tmr) \ argument
72 if (!(exp)) { \
74 zassert_true(exp); \
/Zephyr-Core-3.7.0/boards/nxp/imx93_evk/
Dimx93_evk_mimx9352_a55.dts140 gpiohog_exp_sel: exp-sel-hog {
/Zephyr-Core-3.7.0/scripts/coccinelle/
Dsymbols.txt35 exp
/Zephyr-Core-3.7.0/dts/riscv/
Driscv32-litex-vexriscv.dtsi305 litex,clock-margin-exp = <2>;
318 litex,clock-margin-exp = <2>;
/Zephyr-Core-3.7.0/tests/lib/spsc_pbuf/src/
Dmain.c116 static int check_buffer(char *buf, uint16_t len, char exp) in check_buffer() argument
119 if (buf[i] != exp) { in check_buffer()
/Zephyr-Core-3.7.0/samples/drivers/jesd216/src/
Dmain.c117 (uint32_t)BIT(etype.exp)); in summarize_dw89()

12