Home
last modified time | relevance | path

Searched full:last (Results 1 – 25 of 1068) sorted by relevance

12345678910>>...43

/Zephyr-latest/subsys/bluetooth/controller/util/
Ddbuf.c19 uint8_t first, last; in dbuf_alloc() local
22 last = hdr->last; in dbuf_alloc()
23 if (first == last) { in dbuf_alloc()
25 last++; in dbuf_alloc()
26 if (last == DOUBLE_BUFFER_SIZE) { in dbuf_alloc()
27 last = 0U; in dbuf_alloc()
32 /* LLL has not consumed the first PDU. Revert back the `last` so in dbuf_alloc()
37 * 1. LLL runs before `pdu->last` is reverted, then `pdu->first` in dbuf_alloc()
38 * has changed, hence restore `pdu->last` and return index of in dbuf_alloc()
40 * 2. LLL runs after `pdu->last` is reverted, then `pdu->first` in dbuf_alloc()
[all …]
Dmfifo.h8 * Memory FIFO permitting enqueue at tail (last) and dequeue from head (first).
17 * Invariant: last-index refers to the buffer that is safe to write while in
18 * limbo-state. Outside limbo state, last-index refers one buffer ahead of what
55 uint8_t l; /* Last. Write index */ \
60 * @details API 1 and 2. An MFIFO is empty if first == last
81 uint8_t last, uint8_t *idx) in mfifo_enqueue_idx_get() argument
84 last = last + 1; in mfifo_enqueue_idx_get()
85 if (last == count) { in mfifo_enqueue_idx_get()
86 last = 0U; in mfifo_enqueue_idx_get()
91 * first == last, but we just advanced a copy of the write-index before in mfifo_enqueue_idx_get()
[all …]
Ddbuf.h16 /* Last enqueued element. It will be used after buffer is swapped. */
17 uint8_t last; member
39 * @brief Provides pointer to last allocated element.
46 * @return Pointer to last allocated element.
50 return &hdr->data[hdr->last * hdr->elem_size]; in dbuf_peek()
61 hdr->last = idx; in dbuf_enqueue()
67 * Latest enqueued element is pointed by last member of dbuf_hdr.
81 * @brief Returns pointer to the current element, the one after last swap operation.
85 * dbuf_latest_get. The pointer will be the same as the one pointed by last if the dbuf_alloc
86 * is not called after last dbuf_latest_get call.
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df_internal.h20 /* Returns pointer to last allocated DF sync configuration. If it is called before
26 return &df_cfg->cfg[df_cfg->last]; in lll_df_sync_cfg_peek()
32 df_cfg->last = idx; in lll_df_sync_cfg_enqueue()
36 * that were enqueued by last lll_df_sync_cfg_enqueue call.
41 * are the one that are available after last buffer swap done by call
49 /* Return information if DF sync configuration data were modified since last
54 return df_cfg->first != df_cfg->last; in lll_df_sync_cfg_is_modified()
Dlll_adv_pdu.h29 pdu->last = idx; in lll_adv_pdu_enqueue()
48 return (void *)lll->adv_data.pdu[lll->adv_data.last]; in lll_adv_data_peek()
69 return (void *)lll->scan_rsp.pdu[lll->scan_rsp.last]; in lll_adv_scan_rsp_peek()
78 if (first != pdu->last) { in lll_adv_pdu_latest_peek()
115 return (void *)lll->data.pdu[lll->data.last]; in lll_adv_aux_data_peek()
181 uint8_t last = lll->data.last; in lll_adv_sync_data_peek() local
185 *extra_data = lll->data.extra_data[last]; in lll_adv_sync_data_peek()
189 return (void *)lll->data.pdu[last]; in lll_adv_sync_data_peek()
206 return lll->data.extra_data[lll->data.last]; in lll_adv_sync_extra_data_peek()
243 struct pdu_adv *last; in lll_adv_pdu_linked_append_end() local
[all …]
Dlll_df.c134 uint8_t first, last; in lll_df_sync_cfg_alloc() local
136 /* TODO: Make this unique mechanism to update last element in double in lll_df_sync_cfg_alloc()
140 last = df_cfg->last; in lll_df_sync_cfg_alloc()
141 if (first == last) { in lll_df_sync_cfg_alloc()
143 last++; in lll_df_sync_cfg_alloc()
144 if (last == DOUBLE_BUFFER_SIZE) { in lll_df_sync_cfg_alloc()
145 last = 0U; in lll_df_sync_cfg_alloc()
150 /* LLL has not consumed the first PDU. Revert back the `last` so in lll_df_sync_cfg_alloc()
155 * 1. LLL runs before `pdu->last` is reverted, then `pdu->first` in lll_df_sync_cfg_alloc()
156 * has changed, hence restore `pdu->last` and return index of in lll_df_sync_cfg_alloc()
[all …]
Dlll_adv.c60 static void *adv_extra_data_allocate(struct lll_adv_pdu *pdu, uint8_t last);
61 static int adv_extra_data_free(struct lll_adv_pdu *pdu, uint8_t last);
294 pdu->last = 0U; in lll_adv_data_reset()
313 if (first == pdu->last) { in lll_adv_data_dequeue()
332 uint8_t last; in lll_adv_data_release() local
335 last = pdu->last; in lll_adv_data_release()
336 p = pdu->pdu[last]; in lll_adv_data_release()
338 pdu->pdu[last] = NULL; in lll_adv_data_release()
342 last++; in lll_adv_data_release()
343 if (last == DOUBLE_BUFFER_SIZE) { in lll_adv_data_release()
[all …]
Dlll_adv_types.h8 * The first and last members are used to make modification to AD data to be
10 * the array element indexed by the member last.
17 uint8_t last; member
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_update_usage/src/
Dmain.c37 /* Holds the last key reference updated */
64 * - Last updated key reference isn't changed
74 "bt_keys_update_usage() changed last updated key reference unexpectedly"); in ZTEST()
82 * - ID and address pair used are the last added pair to the list
85 * - Last updated key reference isn't changed
95 "bt_keys_update_usage() changed last updated key reference unexpectedly"); in ZTEST()
107 * - Last updated key reference matches the last updated key reference
135 "bt_keys_update_usage() changed last updated key reference unexpectedly"); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/include/lll/
Dlll_adv_pdu.h13 pdu->last = idx; in lll_adv_pdu_enqueue()
30 return (void *)lll->adv_data.pdu[lll->adv_data.last]; in lll_adv_data_peek()
50 return (void *)lll->scan_rsp.pdu[lll->scan_rsp.last]; in lll_adv_scan_rsp_peek()
66 return (void *)lll->data.pdu[lll->data.last]; in lll_adv_aux_data_peek()
106 uint8_t last = lll->data.last; in lll_adv_sync_data_peek() local
110 *extra_data = lll->data.extra_data[last]; in lll_adv_sync_data_peek()
114 return (void *)lll->data.pdu[last]; in lll_adv_sync_data_peek()
Dlll_adv_types.h8 * The first and last members are used to make modification to AD data to be
10 * the array element indexed by the member last.
17 uint8_t last; member
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_adv_types.h8 * The first and last members are used to make modification to AD data to be
10 * the array element indexed by the member last.
17 uint8_t last; member
Dlll_adv_pdu.h16 pdu->last = idx; in lll_adv_pdu_enqueue()
34 return (void *)lll->adv_data.pdu[lll->adv_data.last]; in lll_adv_data_peek()
50 return (void *)lll->scan_rsp.pdu[lll->scan_rsp.last]; in lll_adv_scan_rsp_peek()
Dlll_adv.c171 pdu->last = 0U; in lll_adv_data_reset()
179 uint8_t last; in lll_adv_data_release() local
182 last = pdu->last; in lll_adv_data_release()
183 p = pdu->pdu[last]; in lll_adv_data_release()
184 pdu->pdu[last] = NULL; in lll_adv_data_release()
187 last++; in lll_adv_data_release()
188 if (last == DOUBLE_BUFFER_SIZE) { in lll_adv_data_release()
189 last = 0U; in lll_adv_data_release()
191 p = pdu->pdu[last]; in lll_adv_data_release()
193 pdu->pdu[last] = NULL; in lll_adv_data_release()
[all …]
/Zephyr-latest/drivers/net/
Dslip.c130 if (slip->last && slip->last->len) { in slip_poll_handler()
185 slip->last = NULL; in process_msg()
244 slip->last = net_pkt_get_frag(slip->rx, SLIP_FRAG_LEN, in slip_input_byte()
246 if (!slip->last) { in slip_input_byte()
254 net_pkt_append_buffer(slip->rx, slip->last); in slip_input_byte()
261 /* It is possible that slip->last is not set during the startup in slip_input_byte()
265 if (!slip->last) { in slip_input_byte()
269 if (!net_buf_tailroom(slip->last)) { in slip_input_byte()
278 slip->last = NULL; in slip_input_byte()
283 net_buf_frag_insert(slip->last, buf); in slip_input_byte()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_nrf5.h19 uint8_t lqi; /* Last received frame LQI value. */
20 int8_t rssi; /* Last received frame RSSI value. */
46 /* Frame pending bit value in ACK sent for the last received frame. */
49 /* Security Enabled bit value in ACK sent for the last received frame. */
104 /* The last configured value of CSL period in units of 10 symbols. */
107 /* The last configured value of CSL phase time in nanoseconds. */
/Zephyr-latest/dts/bindings/power/
Dnxp,s32k3-pmc.yaml17 Enables the Last Mile regulator, which regulates an external 1.5V
20 When enabling PLL as system clock, the PMC Last Mile regulator should
26 Enables to turn over automatically from Boot Regulator Mode to Last Mile
/Zephyr-latest/drivers/entropy/
Dentropy_nrf5.c77 uint8_t last; member
122 uint32_t last = rngp->last; in rng_pool_get() local
139 available = (last - first) & mask; in rng_pool_get()
157 * If this call is the last one accessing the pool, move read index in rng_pool_get()
179 uint8_t last = rngp->last; in rng_pool_put() local
183 if (((last - first) & mask) == mask) { in rng_pool_put()
187 rngp->buffer[last] = byte; in rng_pool_put()
188 rngp->last = (last + 1) & mask; in rng_pool_put()
197 rngp->last = 0U; in rng_pool_init()
Dentropy_smartbond.c28 uint8_t last; member
139 uint32_t last = rngp->last; in rng_pool_get() local
156 available = (last - first) & mask; in rng_pool_get()
174 * If this call is the last one accessing the pool, move read index in rng_pool_get()
196 uint8_t last = rngp->last; in rng_pool_put() local
200 if (((last - first) & mask) == mask) { in rng_pool_put()
204 rngp->buffer[last] = byte; in rng_pool_put()
205 rngp->last = (last + 1) & mask; in rng_pool_put()
230 rngp->last = 0U; in rng_pool_init()
/Zephyr-latest/drivers/timer/
Dambiq_stimer.c66 /* If current cycle count is smaller than the last time stamp, a counter overflow happened. in update_tick_counter()
110 /* If current cycle count is smaller than the last time stamp, a counter in stimer_isr()
150 /* last: the last recorded counter value. in sys_clock_set_timeout()
154 * last < now_64 < next in sys_clock_set_timeout()
156 uint64_t last = (uint64_t)g_last_time_stamp; in sys_clock_set_timeout() local
160 uint32_t gap = next - last; in sys_clock_set_timeout()
162 uint64_t next_aligned = last + gap_aligned; in sys_clock_set_timeout()
/Zephyr-latest/tests/bluetooth/common/testlib/include/testlib/
Daddr.h14 #define BT_TESTLIB_ADDR_LE_RANDOM_C0_00_00_00_00_(last) \ argument
17 .a = {{last, 0x00, 0x00, 0x00, 0x00, 0xc0}}, \
/Zephyr-latest/tests/subsys/debug/symtab/src/
Dmain.c68 * last--> 0x300 | <last> 0x0
69 * after last--> 0x301 | <last> 0x1
134 /* Test `offset` output with last symbol */ in ZTEST()
154 /* Test `offset` output with dummy symbol (after last dymbol) */ in ZTEST()
/Zephyr-latest/doc/_templates/
Dfooter.html10 Last generated: {{ last_updated }}.
13 Last source update: {{ git_last_updated }}.
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/
Dwsen_hids_2525020210002.h24 /* Last humidity sample */
27 /* Last temperature sample */
/Zephyr-latest/lib/libc/minimal/source/math/
Dsqrt.c28 int64double_t last; in sqrt() local
53 last = root; in sqrt()
56 if ((root.i ^ last.i) < MAX_D_ERROR_COUNT) { in sqrt()

12345678910>>...43