Home
last modified time | relevance | path

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

12345678910>>...14

/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df.c128 uint8_t first, last; in lll_df_sync_cfg_alloc() local
133 first = df_cfg->first; in lll_df_sync_cfg_alloc()
135 if (first == last) { in lll_df_sync_cfg_alloc()
156 df_cfg->last = first; in lll_df_sync_cfg_alloc()
158 first_latest = df_cfg->first; in lll_df_sync_cfg_alloc()
159 if (first_latest != first) { in lll_df_sync_cfg_alloc()
176 uint8_t first; in lll_df_sync_cfg_latest_get() local
178 first = df_cfg->first; in lll_df_sync_cfg_latest_get()
179 if (first != df_cfg->last) { in lll_df_sync_cfg_latest_get()
182 cfg_idx = first; in lll_df_sync_cfg_latest_get()
[all …]
Dlll_adv_pdu.h49 return (void *)lll->adv_data.pdu[lll->adv_data.first]; in lll_adv_data_curr_get()
71 uint8_t first; in lll_adv_pdu_latest_peek() local
73 first = pdu->first; in lll_adv_pdu_latest_peek()
74 if (first != pdu->last) { in lll_adv_pdu_latest_peek()
75 first += 1U; in lll_adv_pdu_latest_peek()
76 if (first == DOUBLE_BUFFER_SIZE) { in lll_adv_pdu_latest_peek()
77 first = 0U; in lll_adv_pdu_latest_peek()
81 return (void *)pdu->pdu[first]; in lll_adv_pdu_latest_peek()
116 return (void *)lll->data.pdu[lll->data.first]; in lll_adv_aux_data_curr_get()
184 return lll->data.extra_data[lll->data.first]; in lll_adv_sync_extra_data_curr_get()
[all …]
Dlll_adv_internal.h31 return (void *)lll->scan_rsp.pdu[lll->scan_rsp.first]; in lll_adv_scan_rsp_curr_get()
57 uint8_t first = lll->data.first; in lll_adv_sync_data_curr_get() local
60 *extra_data = lll->data.extra_data[first]; in lll_adv_sync_data_curr_get()
63 return (void *)lll->data.pdu[first]; in lll_adv_sync_data_curr_get()
Dlll_adv.c281 pdu->first = 0U; in lll_adv_data_reset()
320 uint8_t first, last; in lll_adv_pdu_alloc() local
326 first = pdu->first; in lll_adv_pdu_alloc()
328 if (first == last) { in lll_adv_pdu_alloc()
349 pdu->last = first; in lll_adv_pdu_alloc()
351 first_latest = pdu->first; in lll_adv_pdu_alloc()
352 if (first_latest != first) { in lll_adv_pdu_alloc()
437 uint8_t first; in lll_adv_pdu_latest_get() local
439 first = pdu->first; in lll_adv_pdu_latest_get()
440 if (first != pdu->last) { in lll_adv_pdu_latest_get()
[all …]
Dlll_df_internal.h47 return &df_cfg->cfg[df_cfg->first]; in lll_df_sync_cfg_curr_get()
55 return df_cfg->first != df_cfg->last; in lll_df_sync_cfg_is_modified()
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/util/
Dmfifo.h82 static inline bool mfifo_enqueue_idx_get(uint8_t count, uint8_t first, uint8_t last, in mfifo_enqueue_idx_get() argument
97 if (last == first) { in mfifo_enqueue_idx_get()
146 uint8_t first, uint8_t last, void **mem) in mfifo_enqueue_get() argument
151 if (!mfifo_enqueue_idx_get(count, first, last, &idx)) { in mfifo_enqueue_get()
211 static inline uint8_t mfifo_avail_count_get(uint8_t count, uint8_t first, uint8_t last) 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()
232 static inline void *mfifo_dequeue_get(uint8_t *fifo, uint8_t size, uint8_t first, in mfifo_dequeue_get() argument
235 if (first == last) { in mfifo_dequeue_get()
[all …]
/Zephyr-Core-2.7.6/samples/net/lldp/src/
Dmain.c39 struct net_if *first; member
52 if (!ud->first) { in iface_cb()
53 ud->first = iface; in iface_cb()
119 caps = net_eth_get_hw_capabilities(ud.first); in init_vlan()
121 LOG_DBG("Interface %p does not support %s", ud.first, "VLAN"); in init_vlan()
206 caps = net_eth_get_hw_capabilities(ud.first); in init_app()
208 LOG_ERR("Interface %p does not support %s", ud.first, "LLDP"); in init_app()
213 set_optional_tlv(ud.first); in init_app()
214 net_lldp_register_callback(ud.first, parse_lldp); in init_app()
/Zephyr-Core-2.7.6/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.c167 size_t first, size_t in1_length, size_t in2_length, const q31_t *ref, in test_arm_conv_partial_q31() argument
175 output = calloc(first + ref_length, sizeof(q31_t)); in test_arm_conv_partial_q31()
181 output, first, ref_length); in test_arm_conv_partial_q31()
186 memcpy(temp, &output[first], ref_length * sizeof(q31_t)); in test_arm_conv_partial_q31()
204 size_t first, size_t in1_length, size_t in2_length, const q31_t *ref, in test_arm_conv_partial_fast_q31() argument
212 output = calloc(first + ref_length, sizeof(q31_t)); in test_arm_conv_partial_fast_q31()
218 output, first, ref_length); in test_arm_conv_partial_fast_q31()
223 memcpy(temp, &output[first], ref_length * sizeof(q31_t)); in test_arm_conv_partial_fast_q31()
241 size_t first, size_t in1_length, size_t in2_length, const q31_t *ref, in test_arm_conv_partial_q31() argument
248 size_t first, size_t in1_length, size_t in2_length, const q31_t *ref, in test_arm_conv_partial_fast_q31() argument
/Zephyr-Core-2.7.6/include/arch/xtensa/
Dcache.h27 size_t first = ROUND_DOWN(addr, step); in z_xtensa_cache_flush() local
31 for (line = first; bytes && line < last; line += step) { in z_xtensa_cache_flush()
41 size_t first = ROUND_DOWN(addr, step); in z_xtensa_cache_flush_inv() local
45 for (line = first; bytes && line < last; line += step) { in z_xtensa_cache_flush_inv()
55 size_t first = ROUND_DOWN(addr, step); in z_xtensa_cache_inv() local
59 for (line = first; bytes && line < last; line += step) { in z_xtensa_cache_inv()
/Zephyr-Core-2.7.6/drivers/entropy/
Dentropy_nrf5.c129 uint32_t first, available; in rng_pool_get() local
134 first = rngp->first_alloc; in rng_pool_get()
141 other_read_in_progress = (rngp->first_read ^ first); in rng_pool_get()
143 available = (last - first) & mask; in rng_pool_get()
152 rngp->first_alloc = (first + len) & mask; in rng_pool_get()
156 *dst++ = rngp->buffer[first]; in rng_pool_get()
157 first = (first + 1) & mask; in rng_pool_get()
183 uint8_t first = rngp->first_read; in rng_pool_put() local
188 if (((last - first) & mask) == mask) { in rng_pool_put()
Dentropy_stm32.c209 uint32_t first, available; in rng_pool_get() local
214 first = rngp->first_alloc; in rng_pool_get()
221 other_read_in_progress = (rngp->first_read ^ first); in rng_pool_get()
223 available = (last - first) & mask; in rng_pool_get()
232 rngp->first_alloc = (first + len) & mask; in rng_pool_get()
236 *dst++ = rngp->buffer[first]; in rng_pool_get()
237 first = (first + 1) & mask; in rng_pool_get()
263 uint8_t first = rngp->first_read; in rng_pool_put() local
268 if (((last - first) & mask) == mask) { in rng_pool_put()
/Zephyr-Core-2.7.6/samples/net/sockets/txtime/src/
Dvlan.c16 struct net_if *first; member
29 if (!ud->first) { in iface_cb()
30 ud->first = iface; in iface_cb()
108 caps = net_eth_get_hw_capabilities(ud.first); in init_vlan()
110 LOG_DBG("Interface %p does not support %s", ud.first, "VLAN"); in init_vlan()
/Zephyr-Core-2.7.6/drivers/i2c/
DKconfig.esp3228 bool "Port 0 Transmit LSB first"
31 bool "Port 0 Receive LSB first"
38 bool "Port 1 Transmit LSB first"
41 bool "Port 1 Receive LSB first"
/Zephyr-Core-2.7.6/kernel/
Dtimeout.c39 static struct _timeout *first(void) in first() function
69 struct _timeout *to = first(); in next_timeout()
114 for (t = first(); t != NULL; t = next(t)) { in z_add_timeout()
127 if (to == first()) { in z_add_timeout()
173 for (struct _timeout *t = first(); t != NULL; t = next(t)) { in timeout_rem()
261 while (first() != NULL && first()->dticks <= announce_remaining) { in sys_clock_announce()
262 struct _timeout *t = first(); in sys_clock_announce()
275 if (first() != NULL) { in sys_clock_announce()
276 first()->dticks -= announce_remaining; in sys_clock_announce()
/Zephyr-Core-2.7.6/tests/net/socket/af_packet/src/
Dmain.c117 struct net_if *first; member
136 if (ud->first == NULL) { in iface_cb()
137 ud->first = iface; in iface_cb()
190 zassert_not_null(ud.first, "1st Ethernet interface not found"); in __test_packet_sockets()
193 *sock1 = setup_socket(ud.first, SOCK_RAW, ETH_P_ALL); in __test_packet_sockets()
199 ret = bind_socket(*sock1, ud.first); in __test_packet_sockets()
299 zassert_not_null(ud.first, "1st Ethernet interface not found"); in test_packet_sockets_dgram()
302 sock1 = setup_socket(ud.first, SOCK_DGRAM, ETH_P_TSN); in test_packet_sockets_dgram()
308 ret = bind_socket(sock1, ud.first); in test_packet_sockets_dgram()
315 dst.sll_ifindex = net_if_get_by_iface(ud.first); in test_packet_sockets_dgram()
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_adv.c169 pdu->first = 0U; in lll_adv_data_reset()
201 uint8_t first, last; in lll_adv_pdu_alloc() local
205 first = pdu->first; in lll_adv_pdu_alloc()
207 if (first == last) { in lll_adv_pdu_alloc()
215 pdu->last = first; in lll_adv_pdu_alloc()
221 first_latest = pdu->first; in lll_adv_pdu_alloc()
222 if (first_latest != first) { in lll_adv_pdu_alloc()
269 uint8_t first; in lll_adv_pdu_latest_get() local
271 first = pdu->first; in lll_adv_pdu_latest_get()
272 if (first != pdu->last) { in lll_adv_pdu_latest_get()
[all …]
Dlll_adv_internal.h24 return (void *)lll->adv_data.pdu[lll->adv_data.first]; in lll_adv_data_curr_get()
29 return (void *)lll->scan_rsp.pdu[lll->scan_rsp.first]; in lll_adv_scan_rsp_curr_get()
/Zephyr-Core-2.7.6/samples/net/vlan/src/
Dmain.c23 struct net_if *first; member
36 if (iface == ud->first) { in iface_cb()
69 ud.first = iface; in init_app()
/Zephyr-Core-2.7.6/doc/reference/bluetooth/mesh/
Dhealth_cli.rst10 ``addr`` as their first parameters. These should be set to the network index
15 first, an instance must also be present in the first element.
/Zephyr-Core-2.7.6/samples/net/sockets/echo_client/src/
Dvlan.c16 struct net_if *first; member
29 if (!ud->first) { in iface_cb()
30 ud->first = iface; in iface_cb()
/Zephyr-Core-2.7.6/samples/net/sockets/echo_server/src/
Dvlan.c16 struct net_if *first; member
29 if (!ud->first) { in iface_cb()
30 ud->first = iface; in iface_cb()
/Zephyr-Core-2.7.6/samples/net/gptp/src/
Dmain.c26 struct net_if *first; member
39 if (!ud->first) { in iface_cb()
40 ud->first = iface; in iface_cb()
/Zephyr-Core-2.7.6/drivers/sensor/bq274xx/
DKconfig14 bool "Configure on first usage instead of init"
17 we can delay till the first sample request and keep

12345678910>>...14