/Zephyr-Core-3.5.0/subsys/bluetooth/controller/util/ |
D | dbuf.c | 19 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 …]
|
D | mfifo.h | 8 * 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 51 uint8_t l; /* Last. Write index */ \ 62 * @details API 1 and 2. An MFIFO is empty if first == last 82 static inline bool mfifo_enqueue_idx_get(uint8_t count, uint8_t first, uint8_t last, in mfifo_enqueue_idx_get() argument 86 last = last + 1; in mfifo_enqueue_idx_get() 87 if (last == count) { in mfifo_enqueue_idx_get() 88 last = 0U; in mfifo_enqueue_idx_get() 93 * first == last, but we just advanced a copy of the write-index before in mfifo_enqueue_idx_get() [all …]
|
D | dbuf.h | 16 /* 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-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_df_internal.h | 20 /* 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()
|
D | lll_adv_pdu.h | 26 pdu->last = idx; in lll_adv_pdu_enqueue() 45 return (void *)lll->adv_data.pdu[lll->adv_data.last]; in lll_adv_data_peek() 66 return (void *)lll->scan_rsp.pdu[lll->scan_rsp.last]; in lll_adv_scan_rsp_peek() 75 if (first != pdu->last) { in lll_adv_pdu_latest_peek() 112 return (void *)lll->data.pdu[lll->data.last]; in lll_adv_aux_data_peek() 178 uint8_t last = lll->data.last; in lll_adv_sync_data_peek() local 182 *extra_data = lll->data.extra_data[last]; in lll_adv_sync_data_peek() 186 return (void *)lll->data.pdu[last]; in lll_adv_sync_data_peek() 198 return lll->data.extra_data[lll->data.last]; in lll_adv_sync_extra_data_peek() 235 struct pdu_adv *last; in lll_adv_pdu_linked_append_end() local [all …]
|
D | lll_df.c | 134 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 …]
|
D | lll_adv.c | 60 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); 297 pdu->last = 0U; in lll_adv_data_reset() 316 if (first == pdu->last) { in lll_adv_data_dequeue() 335 uint8_t last; in lll_adv_data_release() local 338 last = pdu->last; in lll_adv_data_release() 339 p = pdu->pdu[last]; in lll_adv_data_release() 341 pdu->pdu[last] = NULL; in lll_adv_data_release() 345 last++; in lll_adv_data_release() 346 if (last == DOUBLE_BUFFER_SIZE) { in lll_adv_data_release() [all …]
|
D | lll_adv_types.h | 8 * 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-Core-3.5.0/tests/bluetooth/host/keys/bt_keys_update_usage/src/ |
D | main.c | 37 /* 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-Core-3.5.0/tests/bluetooth/controller/mock_ctrl/include/lll/ |
D | lll_adv_pdu.h | 13 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()
|
D | lll_adv_types.h | 8 * 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-Core-3.5.0/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_adv_types.h | 8 * 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
|
D | lll_adv_pdu.h | 13 pdu->last = idx; in lll_adv_pdu_enqueue() 31 return (void *)lll->adv_data.pdu[lll->adv_data.last]; in lll_adv_data_peek() 47 return (void *)lll->scan_rsp.pdu[lll->scan_rsp.last]; in lll_adv_scan_rsp_peek()
|
D | lll_adv.c | 171 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-Core-3.5.0/drivers/net/ |
D | slip.c | 130 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-Core-3.5.0/drivers/entropy/ |
D | entropy_nrf5.c | 76 uint8_t last; member 121 uint32_t last = rngp->last; in rng_pool_get() local 138 available = (last - first) & mask; in rng_pool_get() 156 * If this call is the last one accessing the pool, move read index in rng_pool_get() 178 uint8_t last = rngp->last; in rng_pool_put() local 182 if (((last - first) & mask) == mask) { in rng_pool_put() 186 rngp->buffer[last] = byte; in rng_pool_put() 187 rngp->last = (last + 1) & mask; in rng_pool_put() 196 rngp->last = 0U; in rng_pool_init()
|
D | entropy_smartbond.c | 22 uint8_t last; member 105 uint32_t last = rngp->last; in rng_pool_get() local 122 available = (last - first) & mask; in rng_pool_get() 140 * If this call is the last one accessing the pool, move read index in rng_pool_get() 162 uint8_t last = rngp->last; in rng_pool_put() local 166 if (((last - first) & mask) == mask) { in rng_pool_put() 170 rngp->buffer[last] = byte; in rng_pool_put() 171 rngp->last = (last + 1) & mask; in rng_pool_put() 196 rngp->last = 0U; in rng_pool_init()
|
/Zephyr-Core-3.5.0/include/zephyr/arch/xtensa/ |
D | cache.h | 31 size_t last = ROUND_UP(((long)addr) + bytes, step); in arch_dcache_flush_range() local 34 for (line = first; bytes && line < last; line += step) { in arch_dcache_flush_range() 46 size_t last = ROUND_UP(((long)addr) + bytes, step); in arch_dcache_flush_and_invd_range() local 49 for (line = first; bytes && line < last; line += step) { in arch_dcache_flush_and_invd_range() 61 size_t last = ROUND_UP(((long)addr) + bytes, step); in arch_dcache_invd_range() local 64 for (line = first; bytes && line < last; line += step) { in arch_dcache_invd_range()
|
/Zephyr-Core-3.5.0/soc/arm/nxp_s32/s32k/ |
D | Kconfig.soc | 44 bool "Last Mile regulator" 47 Enables the Last Mile regulator, which regulates an external 1.5V 50 When enabling PLL as system clock, the PMC last mile regulator should
|
/Zephyr-Core-3.5.0/tests/kernel/workq/critical/src/ |
D | main.c | 86 int64_t last; in critical_loop() local 89 last = mseconds = k_uptime_get(); in critical_loop() 90 TC_PRINT("Start %s at %u\n", tag, (uint32_t)last); in critical_loop() 94 if (now < last) { in critical_loop() 96 (uint32_t)now, (uint32_t)last); in critical_loop() 98 last = now; in critical_loop()
|
/Zephyr-Core-3.5.0/lib/libc/minimal/source/math/ |
D | sqrtf.c | 22 float last; in sqrtf() local 26 int32_t *p_last = (int32_t *)&last; in sqrtf() 48 last = root; in sqrtf()
|
D | sqrt.c | 23 double last; in sqrt() local 26 int64_t *p_last = (int64_t *)&last; in sqrt() 48 last = root; in sqrt()
|
/Zephyr-Core-3.5.0/tests/arch/x86/info/src/ |
D | timer.c | 15 uint32_t this, last; in sync() local 25 last = this; in sync() 31 } while (last == this); in sync()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/ |
D | radio_nrf5_resources.h | 15 * or reception of a PDU on air. In case of regular PDU it is generated when last bit of CRC is 39 * or reception of a PDU on air. In case of regular PDU it is generated when last bit of CRC is 55 * or reception of a PDU on air. In case of regular PDU it is generated when last bit of CRC is 91 * or reception of a PDU on air. In case of regular PDU it is generated when last bit of CRC is 116 * or reception of a PDU on air. In case of regular PDU it is generated when last bit of CRC is
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ticker/ |
D | ticker.c | 123 uint8_t last:1; member 272 uint8_t middle; /* Slot index of last managed user op. 276 uint8_t last; /* Slot index of last user operation */ member 296 uint32_t ticks_current; /* Absolute ticks elapsed at last 765 /* If this is not the last ticker, increment the 829 /* Age is time since last expiry */ 856 /* Age is time since last expiry */ 1087 instance->expire_infos[i].last = is_last; 1092 } else if (instance->expire_infos[i].last && i < TICKER_EXPIRE_INFO_MAX - 1) { 1093 instance->expire_infos[i].last = 0; [all …]
|