Home
last modified time | relevance | path

Searched refs:thr (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/lib/c_lib/thrd/src/
Dthrd.c15 static thrd_t thr; variable
68 zassert_equal(thrd_error, thrd_create(&thr, NULL, NULL)); in ZTEST()
69 zassert_equal(thrd_error, thrd_create(&thr, NULL, &param)); in ZTEST()
72 zassert_equal(thrd_success, thrd_create(&thr, fun, NULL)); in ZTEST()
73 zassert_equal(thrd_success, thrd_join(thr, NULL)); in ZTEST()
75 zassert_equal(thrd_success, thrd_create(&thr, fun, &param)); in ZTEST()
76 zassert_equal(thrd_success, thrd_join(thr, &res)); in ZTEST()
100 zassert_equal(thrd_success, thrd_create(&thr, thrd_exit_fn, &param)); in ZTEST()
101 zassert_equal(thrd_success, thrd_join(thr, &res)); in ZTEST()
147 zassert_equal(thrd_success, thrd_create(&thr, thrd_detach_fn, NULL)); in ZTEST()
[all …]
/Zephyr-latest/lib/libc/common/source/thrd/
Dthrd.c19 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create() argument
25 switch (pthread_create(thr, NULL, pfunc, arg)) { in thrd_create()
62 int thrd_detach(thrd_t thr) in thrd_detach() argument
64 switch (pthread_detach(thr)) { in thrd_detach()
72 int thrd_join(thrd_t thr, int *res) in thrd_join() argument
76 switch (pthread_join(thr, &ret)) { in thrd_join()
/Zephyr-latest/tests/kernel/smp_boot_delay/src/
Dmain.c87 k_tid_t thr; in ZTEST() local
102 thr = k_thread_create(&cpu_thr, thr_stack, K_THREAD_STACK_SIZEOF(thr_stack), in ZTEST()
105 (void)k_thread_cpu_pin(thr, 2); in ZTEST()
106 k_thread_start(thr); in ZTEST()
/Zephyr-latest/samples/sensor/ccs811/src/
Dmain.c150 struct sensor_value thr = { in main() local
155 &thr); in main()
156 printk("L/M threshold to %d got %d\n", thr.val1, rc); in main()
159 struct sensor_value thr = { in main() local
164 &thr); in main()
165 printk("M/H threshold to %d got %d\n", thr.val1, rc); in main()
/Zephyr-latest/drivers/sensor/ams/ccs811/
Dccs811_trigger.c19 const struct sensor_value *thr) in ccs811_attr_set() argument
33 if ((thr->val1 >= CCS811_CO2_MIN_PPM) in ccs811_attr_set()
34 && (thr->val1 <= CCS811_CO2_MAX_PPM)) { in ccs811_attr_set()
35 drv_data->co2_l2m = thr->val1; in ccs811_attr_set()
40 if ((thr->val1 >= CCS811_CO2_MIN_PPM) in ccs811_attr_set()
41 && (thr->val1 <= CCS811_CO2_MAX_PPM)) { in ccs811_attr_set()
42 drv_data->co2_m2h = thr->val1; in ccs811_attr_set()
/Zephyr-latest/lib/libc/common/include/
Dthreads.h34 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg);
40 int thrd_detach(thrd_t thr);
41 int thrd_join(thrd_t thr, int *res);
/Zephyr-latest/drivers/entropy/
Dentropy_nrf5.c98 RNG_POOL_DEFINE(thr, CONFIG_ENTROPY_NRF5_THR_POOL_SIZE);
215 ret = rng_pool_put((struct rng_pool *)(entropy_nrf5_data.thr), in isr()
235 bytes = rng_pool_get((struct rng_pool *)(entropy_nrf5_data.thr), in entropy_nrf5_get_entropy()
335 rng_pool_init((struct rng_pool *)(entropy_nrf5_data.thr), in entropy_nrf5_init()
Dentropy_smartbond.c49 RNG_POOL_DEFINE(thr, CONFIG_ENTROPY_SMARTBOND_THR_POOL_SIZE);
260 ptr = rng_pool_put_bytes((struct rng_pool *)(entropy_smartbond_data.thr), in smartbond_trng_isr()
281 bytes = rng_pool_get((struct rng_pool *)(entropy_smartbond_data.thr), buf, len); in entropy_smartbond_get_entropy()
413 rng_pool_init((struct rng_pool *)(entropy_smartbond_data.thr), in entropy_smartbond_init()
Dentropy_stm32.c94 RNG_POOL_DEFINE(thr, CONFIG_ENTROPY_STM32_THR_POOL_SIZE);
554 (struct rng_pool *)(entropy_stm32_rng_data.thr), in stm32_rng_isr()
582 (struct rng_pool *)(entropy_stm32_rng_data.thr), in entropy_stm32_rng_get_entropy()
687 rng_pool_init((struct rng_pool *)(dev_data->thr), in entropy_stm32_rng_init()
/Zephyr-latest/boards/espressif/esp32s2_saola/
Desp32s2_saola.dts65 filter-noise-thr = <ESP32_TOUCH_FILTER_NOISE_THR_4_8TH>;
/Zephyr-latest/boards/espressif/esp32s2_devkitc/
Desp32s2_devkitc.dts65 filter-noise-thr = <ESP32_TOUCH_FILTER_NOISE_THR_4_8TH>;
/Zephyr-latest/boards/espressif/esp32_devkitc_wroom/
Desp32_devkitc_wroom_procpu.dts78 filter-noise-thr = <ESP32_TOUCH_FILTER_NOISE_THR_4_8TH>;
/Zephyr-latest/boards/espressif/esp32_devkitc_wrover/
Desp32_devkitc_wrover_procpu.dts78 filter-noise-thr = <ESP32_TOUCH_FILTER_NOISE_THR_4_8TH>;
/Zephyr-latest/drivers/sensor/maxim/ds18b20/
Dds18b20.c300 enum sensor_attribute attr, const struct sensor_value *thr) in ds18b20_attr_set() argument
309 w1_sensor_value_to_rom(thr, &data->config.rom); in ds18b20_attr_set()
/Zephyr-latest/drivers/serial/
Duart_lpc11u6x.h99 volatile uint32_t thr; /* TX buffer (WO) */ member
Duart_lpc11u6x.c35 cfg->uart0->thr = c; in lpc11u6x_uart0_poll_out()
206 cfg->uart0->thr = data[nr_sent++]; in lpc11u6x_uart0_fifo_fill()
/Zephyr-latest/boards/espressif/esp32s3_devkitc/
Desp32s3_devkitc_procpu.dts73 filter-noise-thr = <ESP32_TOUCH_FILTER_NOISE_THR_4_8TH>;
/Zephyr-latest/boards/espressif/esp32s3_devkitm/
Desp32s3_devkitm_procpu.dts69 filter-noise-thr = <ESP32_TOUCH_FILTER_NOISE_THR_4_8TH>;
/Zephyr-latest/boards/lilygo/ttgo_t8s3/
Dttgo_t8s3_procpu.dts70 filter-noise-thr = <ESP32_TOUCH_FILTER_NOISE_THR_4_8TH>;
/Zephyr-latest/doc/releases/
Drelease-notes-3.5.rst1547 * new property: ``thr-sel``