Home
last modified time | relevance | path

Searched full:q (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/Zephyr-latest/doc/services/zbus/images/
Dzbus_anatomy.svg3Q 55.954 162.016 57.786 162.437 L 57.786 162.437 L 57.786 162.437 Q 59.619 162.859 60.946 163.849 …
Dzbus_overview.svg3Q 65.572 93.507 65.741 93.507 L 65.741 93.507 L 66.958 93.507 L 66.958 93.507 Q 67.127 93.507 67.1…
/Zephyr-latest/drivers/ethernet/
Deth_ivshmem_queue.c27 static int tx_clean_used(struct eth_ivshmem_queue *q);
28 static int get_rx_avail_desc_idx(struct eth_ivshmem_queue *q, uint16_t *avail_desc_idx);
31 struct eth_ivshmem_queue *q, uintptr_t tx_shmem, in eth_ivshmem_queue_init() argument
34 memset(q, 0, sizeof(*q)); in eth_ivshmem_queue_init()
44 q->desc_max_len = vring_desc_len; in eth_ivshmem_queue_init()
45 q->vring_data_max_len = shmem_section_size - vring_header_size; in eth_ivshmem_queue_init()
46 q->vring_header_size = vring_header_size; in eth_ivshmem_queue_init()
47 q->tx.shmem = (void *)tx_shmem; in eth_ivshmem_queue_init()
48 q->rx.shmem = (void *)rx_shmem; in eth_ivshmem_queue_init()
51 vring_init(&q->tx.vring, vring_desc_len, q->tx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init()
[all …]
Deth_ivshmem_priv.h43 struct eth_ivshmem_queue *q, uintptr_t tx_shmem,
45 void eth_ivshmem_queue_reset(struct eth_ivshmem_queue *q);
46 int eth_ivshmem_queue_tx_get_buff(struct eth_ivshmem_queue *q, void **data, size_t len);
47 int eth_ivshmem_queue_tx_commit_buff(struct eth_ivshmem_queue *q);
48 int eth_ivshmem_queue_rx(struct eth_ivshmem_queue *q, const void **data, size_t *len);
49 int eth_ivshmem_queue_rx_complete(struct eth_ivshmem_queue *q);
/Zephyr-latest/include/zephyr/dsp/
Dprint_format.h14 * @defgroup math_printing Helper macros for printing Q values.
21 * For a Q value representing 0.5, the expected output will be:
28 * @brief Insert Q value format string
32 static inline int64_t ___PRIq_arg_shift(int64_t q, int shift) in ___PRIq_arg_shift() argument
35 return llabs(q) >> -shift; in ___PRIq_arg_shift()
37 return llabs(q) << shift; in ___PRIq_arg_shift()
45 #define __PRIq_arg_shift(q, shift) ___PRIq_arg_shift(q, ((shift) + (8 * (4 - (int)sizeof(q))))) argument
46 #define __PRIq_arg_get(q, shift, h, l) FIELD_GET(GENMASK64(h, l), __PRIq_arg_shift(q, shift)) argument
47 #define __PRIq_arg_get_int(q, shift) __PRIq_arg_get(q, shift, 63, 31) argument
48 #define __PRIq_arg_get_frac(q, precision, shift) \ argument
[all …]
/Zephyr-latest/tests/bluetooth/host/cs/bt_le_cs_parse_pct/src/
Dmain.c33 {.input = {0x00, 0x00, 0x00}, .output = {.i = 0, .q = 0}}, in ZTEST()
34 {.input = {0xFF, 0xFF, 0xFF}, .output = {.i = -1, .q = -1}}, in ZTEST()
35 {.input = {0xFF, 0x00, 0xFF}, .output = {.i = 255, .q = -16}}, in ZTEST()
36 {.input = {0xFF, 0x00, 0x00}, .output = {.i = 255, .q = 0}}, in ZTEST()
37 {.input = {0x00, 0xFF, 0x00}, .output = {.i = -256, .q = 15}}, in ZTEST()
38 {.input = {0x00, 0x00, 0xFF}, .output = {.i = 0, .q = -16}}, in ZTEST()
39 {.input = {0x00, 0x08, 0x80}, .output = {.i = -2048, .q = -2048}}, in ZTEST()
40 {.input = {0xFF, 0xF7, 0x7F}, .output = {.i = 2047, .q = 2047}}, in ZTEST()
43 {.input = {0xEF, 0xCD, 0xAB}, .output = {.i = -529, .q = -1348}}, in ZTEST()
44 {.input = {0x30, 0x75, 0x44}, .output = {.i = 1328, .q = 1095}}, in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/dsp/print_format/src/
Dmain.c22 q31_t q = (q31_t)0x0f5c28f0; /* 0.119999997 */ in ZTEST() local
24 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 0)); in ZTEST()
27 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 1)); in ZTEST()
30 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, -2)); in ZTEST()
33 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 0)); in ZTEST()
36 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, 1)); in ZTEST()
39 snprintf(buffer, 256, "%" PRIq(4), PRIq_arg(q, 4, -2)); in ZTEST()
46 q31_t q = (q31_t)0x83d70a00; /* -0.970000029 */ in ZTEST() local
48 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 0)); in ZTEST()
51 snprintf(buffer, 256, "%" PRIq(6), PRIq_arg(q, 6, 1)); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/msgq/msgq_api/src/
Dtest_msgq_fail.c12 static void put_fail(struct k_msgq *q) in put_fail() argument
14 int ret = k_msgq_put(q, (void *)&data[0], K_NO_WAIT); in put_fail()
17 ret = k_msgq_put(q, (void *)&data[0], K_NO_WAIT); in put_fail()
20 ret = k_msgq_put(q, (void *)&data[1], K_NO_WAIT); in put_fail()
23 ret = k_msgq_put(q, (void *)&data[0], TIMEOUT); in put_fail()
26 k_msgq_purge(q); in put_fail()
29 static void get_fail(struct k_msgq *q) in get_fail() argument
34 int ret = k_msgq_get(q, &rx_data, K_NO_WAIT); in get_fail()
38 ret = k_msgq_get(q, &rx_data, TIMEOUT); in get_fail()
64 struct k_msgq *q; in ZTEST_USER() local
[all …]
Dtest_msgq_attrs.c13 static void attrs_get(struct k_msgq *q) in attrs_get() argument
18 k_msgq_get_attrs(q, &attrs); in attrs_get()
23 ret = k_msgq_put(q, (void *)&send_buf[i], K_NO_WAIT); in attrs_get()
27 k_msgq_get_attrs(q, &attrs); in attrs_get()
31 ret = k_msgq_get(q, (void *)&rec_buf[i], K_NO_WAIT); in attrs_get()
35 k_msgq_get_attrs(q, &attrs); in attrs_get()
64 struct k_msgq *q; in ZTEST_USER() local
66 q = k_object_alloc(K_OBJ_MSGQ); in ZTEST_USER()
67 zassert_not_null(q, "couldn't alloc message queue"); in ZTEST_USER()
68 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
[all …]
Dtest_msgq_purge.c22 static void purge_when_put(struct k_msgq *q) in purge_when_put() argument
28 ret = k_msgq_put(q, (void *)&data[i], K_NO_WAIT); in purge_when_put()
33 tThread_entry, q, NULL, NULL, in purge_when_put()
38 k_msgq_purge(q); in purge_when_put()
42 ret = k_msgq_put(q, (void *)&data[i], K_NO_WAIT); in purge_when_put()
72 struct k_msgq *q; in ZTEST_USER() local
74 q = k_object_alloc(K_OBJ_MSGQ); in ZTEST_USER()
75 zassert_not_null(q, "couldn't alloc message queue"); in ZTEST_USER()
76 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
78 purge_when_put(q); in ZTEST_USER()
/Zephyr-latest/tests/kernel/queue/src/
Dtest_queue_user.c30 struct k_queue *q = p1; in child_thread_get() local
33 zassert_false(k_queue_is_empty(q)); in child_thread_get()
34 qd = k_queue_peek_head(q); in child_thread_get()
36 qd = k_queue_peek_tail(q); in child_thread_get()
41 qd = k_queue_get(q, K_FOREVER); in child_thread_get()
51 zassert_true(k_queue_is_empty(q)); in child_thread_get()
54 qd = k_queue_get(q, K_FOREVER); in child_thread_get()
79 struct k_queue *q; in ZTEST() local
86 q = k_object_alloc(K_OBJ_QUEUE); in ZTEST()
87 zassert_not_null(q, "no memory for allocated queue object"); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/context/
DREADME.txt100 thread (q order: 2, t/o: 500) is running
101 got thread (q order: 2, t/o: 500) as expected
102 thread (q order: 3, t/o: 750) is running
103 got thread (q order: 3, t/o: 750) as expected
104 thread (q order: 0, t/o: 1000) is running
105 got thread (q order: 0, t/o: 1000) as expected
106 thread (q order: 6, t/o: 1250) is running
107 got thread (q order: 6, t/o: 1250) as expected
108 thread (q order: 1, t/o: 1500) is running
109 got thread (q order: 1, t/o: 1500) as expected
[all …]
/Zephyr-latest/include/zephyr/sys/
Dmpsc_lockfree.h111 * @param q Queue to initialize or reset
113 static inline void mpsc_init(struct mpsc *q) in mpsc_init() argument
115 mpsc_ptr_set(q->head, &q->stub); in mpsc_init()
116 q->tail = &q->stub; in mpsc_init()
117 mpsc_ptr_set(q->stub.next, NULL); in mpsc_init()
123 * @param q Queue to push the node to
126 static ALWAYS_INLINE void mpsc_push(struct mpsc *q, struct mpsc_node *n) in mpsc_push() argument
134 prev = (struct mpsc_node *)mpsc_ptr_set_get(q->head, n); in mpsc_push()
145 static inline struct mpsc_node *mpsc_pop(struct mpsc *q) in mpsc_pop() argument
148 struct mpsc_node *tail = q->tail; in mpsc_pop()
[all …]
/Zephyr-latest/tests/lib/heap_align/src/
Dmain.c26 void *p, *q, *r, *s; in check_heap_align() local
31 q = sys_heap_aligned_alloc(h, align, size); in check_heap_align()
32 zassert_true(q != NULL, "first aligned allocation failed"); in check_heap_align()
33 zassert_true((((uintptr_t)q) & (align - 1)) == 0, "block not aligned"); in check_heap_align()
47 sys_heap_free(h, q); in check_heap_align()
55 q = sys_heap_alloc(h, 1); in check_heap_align()
56 zassert_true(q == NULL, "heap not full"); in check_heap_align()
63 void *p, *q; in ZTEST() local
93 q = sys_heap_aligned_alloc(&heap, 16, 17); in ZTEST()
95 memset(q, 0, 17); in ZTEST()
[all …]
/Zephyr-latest/doc/build/dts/
Dzephyr_dt_i2c_high_level.svg3Q 249 0 239 0 L 189 0 Q 179 0 179 10 L 179 26" fill="#ffffff" stroke="#000000" stroke-miterlimit="…
/Zephyr-latest/tests/drivers/clock_control/stm32_clock_configuration/stm32h7_devices/boards/
Dspi1_pllq_2_d1ppre_4.overlay12 /* With this particular div-q and d1ppre values
19 /delete-property/ div-q;
20 div-q = <2>;
/Zephyr-latest/doc/connectivity/networking/api/
Dtraffic-class.rst13 VLAN priority at `IEEE 802.1Q <https://en.wikipedia.org/wiki/IEEE_802.1Q>`_.
21 specified in `IEEE 802.1Q spec`_ chapter I.3, chapter 8.6.6 table 8-4,
28 .. _IEEE 802.1Q spec: https://ieeexplore.ieee.org/document/6991462/
/Zephyr-latest/tests/drivers/spi/spi_loopback/boards/
Dnucleo_h723zg.overlay7 /* Set div-q to get test clk freq into acceptable SPI freq range */
9 /delete-property/ div-q;
10 div-q = <8>;
Dnucleo_h743zi.overlay7 /* Set div-q to get test clk freq into acceptable SPI freq range */
9 /delete-property/ div-q;
10 div-q = <8>;
Dnucleo_h745zi_q_stm32h745xx_m4.overlay7 /* Set div-q to get test clk freq into acceptable SPI freq range */
9 /delete-property/ div-q;
10 div-q = <8>;
Dnucleo_h745zi_q_stm32h745xx_m7.overlay7 /* Set div-q to get test clk freq into acceptable SPI freq range */
9 /delete-property/ div-q;
10 div-q = <8>;
Dnucleo_h753zi.overlay7 /* Set div-q to get test clk freq into acceptable SPI freq range */
9 /delete-property/ div-q;
10 div-q = <8>;
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Ddata_types.py32 self.add_data_type(self.LONG, "q")
33 self.add_data_type(self.ULONG, "Q")
34 self.add_data_type(self.LONG_LONG, "q")
35 self.add_data_type(self.ULONG_LONG, "Q")
36 self.add_data_type(self.PTR, "Q")
40 self.add_data_type(self.LONG_LONG, "q")
41 self.add_data_type(self.ULONG_LONG, "Q")
/Zephyr-latest/tests/drivers/spi/spi_loopback/
Doverlay-stm32-spi-16bits.overlay7 /* Set div-q to get test clk freq into acceptable SPI freq range */
9 /delete-property/ div-q;
10 div-q = <8>;
/Zephyr-latest/doc/_templates/
Dsearchbox.html8 <input type="search" name="q" placeholder="{{ _('Search docs') }}"
39 var query = new URLSearchParams(window.location.search).get("q");
42 form.q.value = query;
43 form.q.focus();
70 form.q.placeholder = "Search docs (built-in search)";
73 form.q.placeholder = "Search docs (powered by Google)";
91 form.q.focus();
92 if (form.q.value !== "") {

12345678910>>...19