Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 693) sorted by relevance

12345678910>>...28

/Zephyr-latest/subsys/bluetooth/controller/util/
Ddbuf.c19 uint8_t first, last; in dbuf_alloc() local
21 first = hdr->first; in dbuf_alloc()
23 if (first == last) { in dbuf_alloc()
44 hdr->last = first; in dbuf_alloc()
46 first_latest = hdr->first; in dbuf_alloc()
47 if (first_latest != first) { in dbuf_alloc()
63 uint8_t first; in dbuf_latest_get() local
65 first = hdr->first; in dbuf_latest_get()
66 if (first != hdr->last) { in dbuf_latest_get()
69 cfg_idx = first; in dbuf_latest_get()
[all …]
Dmfifo.h80 static inline bool mfifo_enqueue_idx_get(uint8_t count, uint8_t first, in mfifo_enqueue_idx_get() argument
95 if (last == first) { in mfifo_enqueue_idx_get()
144 uint8_t count, uint8_t first, in mfifo_enqueue_get() argument
150 if (!mfifo_enqueue_idx_get(count, first, last, &idx)) { in mfifo_enqueue_get()
210 static inline uint8_t mfifo_avail_count_get(uint8_t count, uint8_t first, in mfifo_avail_count_get() argument
213 if (last >= first) { in mfifo_avail_count_get()
214 return last - first; in mfifo_avail_count_get()
216 return count - first + last; in mfifo_avail_count_get()
233 uint8_t first, uint8_t last) in mfifo_dequeue_get() argument
235 if (first == last) { in mfifo_dequeue_get()
[all …]
Ddbuf.h15 uint8_t volatile first; member
94 return &hdr->data[hdr->first * hdr->elem_size]; in dbuf_curr_get()
106 return hdr->first != hdr->last; in dbuf_is_modified()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df.c134 uint8_t first, last; in lll_df_sync_cfg_alloc() local
139 first = df_cfg->first; in lll_df_sync_cfg_alloc()
141 if (first == last) { in lll_df_sync_cfg_alloc()
162 df_cfg->last = first; in lll_df_sync_cfg_alloc()
164 first_latest = df_cfg->first; in lll_df_sync_cfg_alloc()
165 if (first_latest != first) { in lll_df_sync_cfg_alloc()
182 uint8_t first; in lll_df_sync_cfg_latest_get() local
184 first = df_cfg->first; in lll_df_sync_cfg_latest_get()
185 if (first != df_cfg->last) { in lll_df_sync_cfg_latest_get()
188 cfg_idx = first; in lll_df_sync_cfg_latest_get()
[all …]
Dlll_adv_pdu.h53 return (void *)lll->adv_data.pdu[lll->adv_data.first]; in lll_adv_data_curr_get()
75 uint8_t first; in lll_adv_pdu_latest_peek() local
77 first = pdu->first; in lll_adv_pdu_latest_peek()
78 if (first != pdu->last) { in lll_adv_pdu_latest_peek()
79 first += 1U; in lll_adv_pdu_latest_peek()
80 if (first == DOUBLE_BUFFER_SIZE) { in lll_adv_pdu_latest_peek()
81 first = 0U; in lll_adv_pdu_latest_peek()
85 return (void *)pdu->pdu[first]; in lll_adv_pdu_latest_peek()
126 return (void *)lll->data.pdu[lll->data.first]; in lll_adv_aux_data_curr_get()
200 return (void *)lll->data.pdu[lll->data.first]; in lll_adv_sync_data_curr_get()
[all …]
Dlll_adv.c293 pdu->first = 0U; in lll_adv_data_reset()
309 uint8_t first; in lll_adv_data_dequeue() local
312 first = pdu->first; in lll_adv_data_dequeue()
313 if (first == pdu->last) { in lll_adv_data_dequeue()
317 p = pdu->pdu[first]; in lll_adv_data_dequeue()
318 pdu->pdu[first] = NULL; in lll_adv_data_dequeue()
321 first++; in lll_adv_data_dequeue()
322 if (first == DOUBLE_BUFFER_SIZE) { in lll_adv_data_dequeue()
323 first = 0U; in lll_adv_data_dequeue()
325 pdu->first = first; in lll_adv_data_dequeue()
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/
Dmisc_q15.c136 size_t first, size_t in1_length, size_t in2_length, const q15_t *ref, in test_arm_conv_partial_q15() argument
144 output = calloc(first + ref_length, sizeof(q15_t)); in test_arm_conv_partial_q15()
150 output, first, ref_length); in test_arm_conv_partial_q15()
155 memcpy(temp, &output[first], ref_length * sizeof(q15_t)); in test_arm_conv_partial_q15()
173 size_t first, size_t in1_length, size_t in2_length, const q15_t *ref, in test_arm_conv_partial_fast_q15() argument
181 output = calloc(first + ref_length, sizeof(q15_t)); in test_arm_conv_partial_fast_q15()
187 output, first, ref_length); in test_arm_conv_partial_fast_q15()
192 memcpy(temp, &output[first], ref_length * sizeof(q15_t)); in test_arm_conv_partial_fast_q15()
210 size_t first, size_t in1_length, size_t in2_length, const q15_t *ref, in test_arm_conv_partial_opt_q15() argument
219 output = calloc(first + ref_length, sizeof(q15_t)); in test_arm_conv_partial_opt_q15()
[all …]
Dmisc_q7.c135 size_t first, size_t in1_length, size_t in2_length, const q7_t *ref, in test_arm_conv_partial_q7() argument
143 output = calloc(first + ref_length, sizeof(q7_t)); in test_arm_conv_partial_q7()
149 output, first, ref_length); in test_arm_conv_partial_q7()
154 memcpy(temp, &output[first], ref_length * sizeof(q7_t)); in test_arm_conv_partial_q7()
172 size_t first, size_t in1_length, size_t in2_length, const q7_t *ref, in test_arm_conv_partial_opt_q7() argument
181 output = calloc(first + ref_length, sizeof(q7_t)); in test_arm_conv_partial_opt_q7()
189 output, first, ref_length, in test_arm_conv_partial_opt_q7()
195 memcpy(temp, &output[first], ref_length * sizeof(q7_t)); in test_arm_conv_partial_opt_q7()
215 size_t first, size_t in1_length, size_t in2_length, const q7_t *ref, in test_arm_conv_partial_q7() argument
222 size_t first, size_t in1_length, size_t in2_length, const q7_t *ref, in test_arm_conv_partial_opt_q7() argument
Dmisc_q31.c176 size_t first, size_t in1_length, size_t in2_length, const q31_t *ref, in test_arm_conv_partial_q31() argument
184 output = calloc(first + ref_length, sizeof(q31_t)); in test_arm_conv_partial_q31()
190 output, first, ref_length); in test_arm_conv_partial_q31()
195 memcpy(temp, &output[first], ref_length * sizeof(q31_t)); in test_arm_conv_partial_q31()
213 size_t first, size_t in1_length, size_t in2_length, const q31_t *ref, in test_arm_conv_partial_fast_q31() argument
221 output = calloc(first + ref_length, sizeof(q31_t)); in test_arm_conv_partial_fast_q31()
227 output, first, ref_length); in test_arm_conv_partial_fast_q31()
232 memcpy(temp, &output[first], ref_length * sizeof(q31_t)); in test_arm_conv_partial_fast_q31()
250 size_t first, size_t in1_length, size_t in2_length, const q31_t *ref, in test_arm_conv_partial_q31() argument
257 size_t first, size_t in1_length, size_t in2_length, const q31_t *ref, in test_arm_conv_partial_fast_q31() argument
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/
Dserver.hpp100 bool first = true; in testMap() local
104 if (first) { in testMap()
105 first = false; in testMap()
110 printf("%d => %d", m_iter->first, m_iter->second); in testMap()
121 bool first = true; in testStringMap() local
125 if (first) { in testStringMap()
126 first = false; in testStringMap()
130 printf("%s => %s", (m_iter->first).c_str(), (m_iter->second).c_str()); in testStringMap()
140 bool first = true; in testSet() local
144 if (first) { in testSet()
[all …]
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dvlan.c16 struct net_if *first; member
28 if (!ud->first) { in iface_cb()
29 ud->first = iface; in iface_cb()
98 ret = setup_iface(iface, ud.first, in init_vlan()
115 net_if_up(ud.first); in init_vlan()
/Zephyr-latest/drivers/entropy/
Dentropy_nrf5.c125 uint32_t first, available; in rng_pool_get() local
130 first = rngp->first_alloc; in rng_pool_get()
137 other_read_in_progress = (rngp->first_read ^ first); in rng_pool_get()
139 available = (last - first) & mask; in rng_pool_get()
148 rngp->first_alloc = (first + len) & mask; in rng_pool_get()
152 *dst++ = rngp->buffer[first]; in rng_pool_get()
153 first = (first + 1) & mask; in rng_pool_get()
178 uint8_t first = rngp->first_read; in rng_pool_put() local
183 if (((last - first) & mask) == mask) { in rng_pool_put()
Dentropy_smartbond.c142 uint32_t first, available; in rng_pool_get() local
147 first = rngp->first_alloc; in rng_pool_get()
154 other_read_in_progress = (rngp->first_read ^ first); in rng_pool_get()
156 available = (last - first) & mask; in rng_pool_get()
165 rngp->first_alloc = (first + len) & mask; in rng_pool_get()
169 *dst++ = rngp->buffer[first]; in rng_pool_get()
170 first = (first + 1) & mask; in rng_pool_get()
195 uint8_t first = rngp->first_read; in rng_pool_put() local
200 if (((last - first) & mask) == mask) { in rng_pool_put()
/Zephyr-latest/subsys/net/l2/dummy/any/
Dany.c45 sys_snode_t *first; in any_recv() local
51 first = sys_slist_peek_head(&iface->config.virtual_interfaces); in any_recv()
52 if (first == NULL) { in any_recv()
56 ctx = CONTAINER_OF(first, struct virtual_interface_context, node); in any_recv()
/Zephyr-latest/samples/net/mdns_responder/src/
Dvlan.c16 struct net_if *first; member
28 if (!user_data->first) { in iface_cb()
29 user_data->first = iface; in iface_cb()
122 ret = setup_iface(iface, user_data.first, in init_vlan()
141 net_if_up(user_data.first); in init_vlan()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dvlan.c16 struct net_if *first; member
28 if (!ud->first) { in iface_cb()
29 ud->first = iface; in iface_cb()
118 ret = setup_iface(iface, ud.first, in init_vlan()
135 net_if_up(ud.first); in init_vlan()
/Zephyr-latest/samples/net/vlan/src/
Dmain.c19 struct net_if *first; member
31 if (ud->first == NULL) { in iface_cb()
32 ud->first = iface; in iface_cb()
129 ret = setup_iface(iface, ud.first, in init_app()
148 net_if_up(ud.first); in init_app()
/Zephyr-latest/lib/heap/
Dheap_info.c26 chunkid_t first = h->buckets[i].next; in heap_print_info() local
30 if (first) { in heap_print_info()
31 chunkid_t curr = first; in heap_print_info()
37 } while (curr != first); in heap_print_info()
/Zephyr-latest/subsys/lorawan/services/
Dlorawan_services.c50 struct service_uplink_msg *first; in uplink_handler() local
64 first = CONTAINER_OF(node, struct service_uplink_msg, node); in uplink_handler()
65 msg_copy = *first; in uplink_handler()
66 first->used = false; in uplink_handler()
67 sys_slist_remove(&msg_list, NULL, &first->node); in uplink_handler()
87 first = CONTAINER_OF(node, struct service_uplink_msg, node); in uplink_handler()
89 K_TIMEOUT_ABS_TICKS(first->ticks)); in uplink_handler()
/Zephyr-latest/boards/st/nucleo_c031c6/
Dboard.cmake3 # keep first
6 # keep first
/Zephyr-latest/boards/st/b_g474e_dpow1/
Dboard.cmake3 # keep first
6 # keep first
/Zephyr-latest/boards/st/stm32g071b_disco/
Dboard.cmake3 # keep first
6 # keep first
/Zephyr-latest/boards/st/stm32g081b_eval/
Dboard.cmake3 # keep first
6 # keep first
/Zephyr-latest/boards/st/nucleo_wba52cg/
Dboard.cmake1 # keep first
4 # keep first
/Zephyr-latest/boards/st/nucleo_wba55cg/
Dboard.cmake1 # keep first
4 # keep first

12345678910>>...28