Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 144) sorted by relevance

123456

/Zephyr-latest/include/zephyr/drivers/pcie/
Dpcie.h381 #define PCIE_CONF_CAPPTR_FIRST(w) (((w) >> 2) & 0x3FU) argument
388 #define PCIE_CONF_CAP_ID(w) ((w) & 0xFFU) argument
389 #define PCIE_CONF_CAP_NEXT(w) (((w) >> 10) & 0x3FU) argument
402 #define PCIE_CONF_EXT_CAP_ID(w) ((w) & 0xFFFFU) argument
403 #define PCIE_CONF_EXT_CAP_VER(w) (((w) >> 16) & 0xFU) argument
404 #define PCIE_CONF_EXT_CAP_NEXT(w) (((w) >> 20) & 0xFFFU) argument
431 #define PCIE_CONF_CLASSREV_CLASS(w) (((w) >> 24) & 0xFFU) argument
432 #define PCIE_CONF_CLASSREV_SUBCLASS(w) (((w) >> 16) & 0xFFU) argument
433 #define PCIE_CONF_CLASSREV_PROGIF(w) (((w) >> 8) & 0xFFU) argument
434 #define PCIE_CONF_CLASSREV_REV(w) ((w) & 0xFFU) argument
[all …]
/Zephyr-latest/kernel/include/
Dwait_q.h27 static inline void z_waitq_init(_wait_q_t *w) in z_waitq_init() argument
29 w->waitq = (struct _priq_rb) { in z_waitq_init()
36 static inline struct k_thread *z_waitq_head(_wait_q_t *w) in z_waitq_head() argument
38 return (struct k_thread *)rb_get_min(&w->waitq.tree); in z_waitq_head()
47 static inline void z_waitq_init(_wait_q_t *w)
49 sys_dlist_init(&w->waitq);
52 static inline struct k_thread *z_waitq_head(_wait_q_t *w)
54 return (struct k_thread *)sys_dlist_peek_head(&w->waitq);
/Zephyr-latest/scripts/west_commands/zspdx/
Dsbom.py83 w = Walker(walkerCfg)
84 retval = w.makeDocuments()
94 scanDocument(scannerCfg, w.docSDK)
95 scanDocument(scannerCfg, w.docApp)
96 scanDocument(scannerCfg, w.docZephyr)
97 scanDocument(scannerCfg, w.docBuild)
104 retval = writeSPDX(os.path.join(cfg.spdxDir, "sdk.spdx"), w.docSDK)
110 retval = writeSPDX(os.path.join(cfg.spdxDir, "app.spdx"), w.docApp)
116 writeSPDX(os.path.join(cfg.spdxDir, "zephyr.spdx"), w.docZephyr)
122 writeSPDX(os.path.join(cfg.spdxDir, "build.spdx"), w.docBuild)
[all …]
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_adsp_mtrace.c81 uint32_t w = slot->dsp_ptr; in mtrace_out() local
84 if (w > r) { in mtrace_out()
85 avail = MTRACE_LOG_BUF_SIZE - w + r - 1; in mtrace_out()
86 } else if (w == r) { in mtrace_out()
89 avail = r - w - 1; in mtrace_out()
100 if (w + out >= MTRACE_LOG_BUF_SIZE) { in mtrace_out()
101 size_t tail = MTRACE_LOG_BUF_SIZE - w; in mtrace_out()
104 memcpy(data + w, str, tail); in mtrace_out()
106 w = head; in mtrace_out()
108 memcpy(data + w, str, out); in mtrace_out()
[all …]
/Zephyr-latest/modules/lvgl/
Dlvgl_display_16bit.c14 uint16_t w = area->x2 - area->x1 + 1; in lvgl_flush_cb_16bit() local
21 flush.desc.buf_size = w * 2U * h; in lvgl_flush_cb_16bit()
22 flush.desc.width = w; in lvgl_flush_cb_16bit()
23 flush.desc.pitch = w; in lvgl_flush_cb_16bit()
Dlvgl_display_32bit.c14 uint16_t w = area->x2 - area->x1 + 1; in lvgl_flush_cb_32bit() local
21 flush.desc.buf_size = w * 4U * h; in lvgl_flush_cb_32bit()
22 flush.desc.width = w; in lvgl_flush_cb_32bit()
23 flush.desc.pitch = w; in lvgl_flush_cb_32bit()
Dlvgl_display_24bit.c14 uint16_t w = area->x2 - area->x1 + 1; in lvgl_flush_cb_24bit() local
21 flush.desc.buf_size = w * 3U * h; in lvgl_flush_cb_24bit()
22 flush.desc.width = w; in lvgl_flush_cb_24bit()
23 flush.desc.pitch = w; in lvgl_flush_cb_24bit()
Dlvgl_display_mono.c75 uint16_t w = area->x2 - area->x1 + 1; in lvgl_flush_cb_mono() local
82 lvgl_transform_buffer(&px_map, w, h, &data->cap); in lvgl_flush_cb_mono()
96 .buf_size = (w * h) / 8U, in lvgl_flush_cb_mono()
97 .width = w, in lvgl_flush_cb_mono()
98 .pitch = w, in lvgl_flush_cb_mono()
/Zephyr-latest/tests/bluetooth/bt_crypto/src/
Dtest_bt_crypto.c71 uint8_t w[32] = {0x98, 0xa6, 0xbf, 0x73, 0xf3, 0x34, 0x8d, 0x86, 0xf1, 0x66, 0xf8, in ZTEST() local
87 bt_crypto_f5(w, n1, n2, &a1, &a2, mackey, ltk); in ZTEST()
94 uint8_t w[16] = {0x20, 0x6e, 0x63, 0xce, 0x20, 0x6a, 0x3f, 0xfd, in ZTEST() local
110 bt_crypto_f6(w, n1, n2, r, io_cap, &a1, &a2, res); in ZTEST()
136 uint8_t w[16] = {0x9b, 0x7d, 0x39, 0x0a, 0xa6, 0x10, 0x10, 0x34, in ZTEST() local
144 bt_crypto_h6(w, key_id, res); in ZTEST()
152 uint8_t w[16] = {0x9b, 0x7d, 0x39, 0x0a, 0xa6, 0x10, 0x10, 0x34, in ZTEST() local
159 bt_crypto_h7(salt, w, res); in ZTEST()
/Zephyr-latest/subsys/bluetooth/crypto/
Dbt_crypto.c56 int bt_crypto_f5(const uint8_t *w, const uint8_t *n1, const uint8_t *n2, const bt_addr_le_t *a1, in bt_crypto_f5() argument
73 LOG_DBG("w %s", bt_hex(w, 32)); in bt_crypto_f5()
77 sys_memcpy_swap(ws, w, 32); in bt_crypto_f5()
117 int bt_crypto_f6(const uint8_t *w, const uint8_t *n1, const uint8_t *n2, const uint8_t *r, in bt_crypto_f6() argument
125 LOG_DBG("w %s", bt_hex(w, 16)); in bt_crypto_f6()
146 sys_memcpy_swap(ws, w, 16); in bt_crypto_f6()
192 int bt_crypto_h6(const uint8_t w[16], const uint8_t key_id[4], uint8_t res[16]) in bt_crypto_h6()
198 LOG_DBG("w %s", bt_hex(w, 16)); in bt_crypto_h6()
201 sys_memcpy_swap(ws, w, 16); in bt_crypto_h6()
216 int bt_crypto_h7(const uint8_t salt[16], const uint8_t w[16], uint8_t res[16]) in bt_crypto_h7()
[all …]
Dbt_crypto.h60 int bt_crypto_f5(const uint8_t *w, const uint8_t *n1, const uint8_t *n2, const bt_addr_le_t *a1,
80 int bt_crypto_f6(const uint8_t *w, const uint8_t *n1, const uint8_t *n2, const uint8_t *r,
113 int bt_crypto_h6(const uint8_t w[16], const uint8_t key_id[4], uint8_t res[16]);
127 int bt_crypto_h7(const uint8_t salt[16], const uint8_t w[16], uint8_t res[16]);
/Zephyr-latest/drivers/interrupt_controller/
Dintc_nuclei_eclic.c29 uint8_t w; member
46 uint8_t w; member
55 uint8_t w; member
64 uint8_t w; member
76 uint8_t w; member
146 union CLICINTATTR intattr = {.w = 0}; in riscv_clic_irq_priority_set()
176 ECLIC_MTH.w = 0; in nuclei_eclic_init()
177 ECLIC_CFG.w = 0; in nuclei_eclic_init()
/Zephyr-latest/tests/benchmarks/latency_measure/
DREADME.rst74 …fifo.get.blocking.k_to_k - Get data from FIFO (w/ ctx switch) : …
75 …fifo.put.wake+ctx.k_to_k - Add data to FIFO (w/ ctx switch) : …
76 …fifo.get.free.blocking.k_to_k - Free when getting data from FIFO (w/ ctx siwtch) : …
77 …fifo.put.alloc.wake+ctx.k_to_k - Allocate to add data to FIFO (w/ ctx switch) : …
82 …lifo.get.blocking.k_to_k - Get data from LIFO (w/ ctx switch) : …
83 …lifo.put.wake+ctx.k_to_k - Add data to LIFO (w/ ctx switch) : …
84 …lifo.get.free.blocking.k_to_k - Free when getting data from LIFO (w/ ctx switch) : …
85 …lifo.put.alloc.wake+ctx.k_to_k - Allocate to add data to LIFO (w/ ctx siwtch) : …
90 …events.wait.blocking.k_to_k - Wait for any events (w/ ctx switch) : …
91 …events.set.wake+ctx.k_to_k - Set events (w/ ctx switch) : …
[all …]
/Zephyr-latest/tests/lib/cmsis_nn/src/
Dmain.c62 input_dims.w = AVGPOOLING_2_INPUT_W; in ZTEST()
65 filter_dims.w = AVGPOOLING_2_FILTER_X; in ZTEST()
67 output_dims.w = AVGPOOLING_2_OUTPUT_W; in ZTEST()
71 pool_params.padding.w = AVGPOOLING_2_PAD_X; in ZTEST()
73 pool_params.stride.w = AVGPOOLING_2_STRIDE_X; in ZTEST()
168 input_dims.w = CONV_4_INPUT_W; in ZTEST()
171 filter_dims.w = CONV_4_FILTER_X; in ZTEST()
174 output_dims.w = CONV_4_OUTPUT_W; in ZTEST()
178 conv_params.padding.w = CONV_4_PAD_X; in ZTEST()
180 conv_params.stride.w = CONV_4_STRIDE_X; in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/workq/user_work/src/
Dmain.c94 static void work_handler(struct k_work_user *w) in work_handler() argument
102 static void twork_submit_1(struct k_work_user_q *work_q, struct k_work_user *w, in twork_submit_1() argument
106 k_work_user_init(w, handler); in twork_submit_1()
108 zassert_false(k_work_user_is_pending(w)); in twork_submit_1()
111 zassert_false(k_work_user_submit_to_queue(work_q, w), in twork_submit_1()
/Zephyr-latest/soc/ti/lm3s6965/
Dreboot.S35 ands.w r0, r1
49 add.w ip, ip, #(___esf_t_SIZEOF * 2) /* enough for a stack frame */
51 and.w r2, r1
/Zephyr-latest/tests/subsys/display/cfb/basic/src/
Dtestdata.c689 int to_ppm(const char *filename, uint32_t *buf, size_t w, size_t h) in to_ppm() argument
695 fprintf(f, "%lu %lu\n", w, h); in to_ppm()
698 for (size_t i = 0; i < (w * h); i++) { in to_ppm()
/Zephyr-latest/lib/os/
Dp4wq.c86 struct k_p4wq_work *w in p4wq_loop() local
90 w->thread = arch_current_thread(); in p4wq_loop()
91 sys_dlist_append(&queue->active, &w->dlnode); in p4wq_loop()
92 set_prio(arch_current_thread(), w); in p4wq_loop()
97 w->handler(w); in p4wq_loop()
105 sys_dlist_remove(&w->dlnode); in p4wq_loop()
106 w->thread = NULL; in p4wq_loop()
107 k_sem_give(&w->done_sem); in p4wq_loop()
/Zephyr-latest/soc/aspeed/ast10x0/tools/
Dgen_uart_booting_image.py24 with open(dst, 'w+b') as w:
25 w.write(dst_image)
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dtwister_harness_config.py62 … west_flash_extra_args = [w.strip() for w in config.option.west_flash_extra_args.split(',')]
65 runner_params = [w.strip() for w in config.option.runner_params]
/Zephyr-latest/drivers/serial/
Duart_hostlink.c195 uint32_t w; in hl_read32() local
197 __asm__ __volatile__("ld.di %0, [%1]" : "=r" (w) : "r" (addr) : "memory"); in hl_read32()
199 return w; in hl_read32()
204 uint16_t w; in hl_read16() local
206 __asm__ __volatile__("ld.di %0, [%1]" : "=r" (w) : "r" (addr) : "memory"); in hl_read16()
208 return w; in hl_read16()
/Zephyr-latest/drivers/video/
Dgc2145.c826 uint16_t w, uint16_t h) in gc2145_set_window() argument
870 ret = gc2145_write_reg(&cfg->i2c, reg++, w >> 8); in gc2145_set_window()
875 ret = gc2145_write_reg(&cfg->i2c, reg++, w & 0xff); in gc2145_set_window()
914 uint16_t w; in gc2145_set_resolution() local
929 w = fmts[res].width_min; in gc2145_set_resolution()
952 win_w = w * c_ratio; in gc2145_set_resolution()
954 x = (((win_w / c_ratio) - w) / 2); in gc2145_set_resolution()
967 ret = gc2145_set_window(dev, GC2145_REG_WINDOW_BASE, x, y, w, h); in gc2145_set_resolution()
Dvideo_sw_generator.c129 int h, w, i = 0; in __fill_buffer_colorbar() local
132 for (w = 0; w < data->fmt.width; w++) { in __fill_buffer_colorbar()
133 int color_idx = data->ctrl_vflip ? 7 - w / bw : w / bw; in __fill_buffer_colorbar()
/Zephyr-latest/tests/lib/gui/lvgl/src/
Dimg.c124 .header.w = 96,
/Zephyr-latest/drivers/spi/
Dspi_bitbang.c150 uint16_t w = 0; in spi_bitbang_transceive() local
155 w = *(uint16_t *)(ctx->tx_buf); in spi_bitbang_transceive()
158 w = *(uint8_t *)(ctx->tx_buf); in spi_bitbang_transceive()
174 const int d = (w >> shift) & 0x1; in spi_bitbang_transceive()
221 LOG_DBG(" w: %04x, r: %04x , do_read: %d", w, r, do_read); in spi_bitbang_transceive()

123456