Home
last modified time | relevance | path

Searched refs:aux_ptr (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_sync.c54 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr);
188 if (pdu->adv_ext_ind.ext_hdr_len && pdu->adv_ext_ind.ext_hdr.aux_ptr) {
353 struct pdu_adv_aux_ptr *aux_ptr; local
372 err = aux_ptr_get(lll_sync->last_pdu, &aux_ptr);
373 LL_ASSERT(!err && aux_ptr);
376 lll_chan_set(aux_ptr->chan_idx);
392 if (pdu->adv_ext_ind.ext_hdr_len && pdu->adv_ext_ind.ext_hdr.aux_ptr) {
442 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr) argument
475 if (hdr->aux_ptr) {
477 *aux_ptr = (void *)dptr;
[all …]
Dlll_adv_aux.c54 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr);
160 struct pdu_adv_aux_ptr *aux_ptr; in prepare_cb() local
172 err = aux_ptr_get(pri_pdu, &aux_ptr); in prepare_cb()
176 if (unlikely(!aux_ptr || !PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr))) { in prepare_cb()
183 chan_idx = aux_ptr->chan_idx; in prepare_cb()
264 sec_pdu->adv_ext_ind.ext_hdr.aux_ptr) { in prepare_cb()
352 static int aux_ptr_get(struct pdu_adv *pdu, struct pdu_adv_aux_ptr **aux_ptr) in aux_ptr_get() argument
361 *aux_ptr = NULL; in aux_ptr_get()
388 if (hdr->aux_ptr) { in aux_ptr_get()
390 *aux_ptr = (void *)dptr; in aux_ptr_get()
[all …]
Dlll_scan_aux.c123 struct pdu_adv_aux_ptr *aux_ptr; in lll_scan_aux_setup() local
171 aux_ptr = (void *)pri_dptr; in lll_scan_aux_setup()
172 if (unlikely(!pri_hdr->aux_ptr || !PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr) || in lll_scan_aux_setup()
173 (PDU_ADV_AUX_PTR_PHY_GET(aux_ptr) > EXT_ADV_AUX_PHY_LE_CODED))) { in lll_scan_aux_setup()
178 if (aux_ptr->offs_units) { in lll_scan_aux_setup()
185 aux_offset_us = (uint32_t)PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr) * window_size_us; in lll_scan_aux_setup()
194 if (aux_ptr->ca) { in lll_scan_aux_setup()
200 phy = BIT(PDU_ADV_AUX_PTR_PHY_GET(aux_ptr)); in lll_scan_aux_setup()
238 ftr->aux_ptr = aux_ptr; in lll_scan_aux_setup()
252 struct pdu_adv_aux_ptr *aux_ptr; in lll_scan_aux_isr_aux_setup() local
[all …]
Dlll_sync.c657 struct pdu_adv_aux_ptr *aux_ptr; in isr_aux_setup() local
673 aux_ptr = ftr->aux_ptr; in isr_aux_setup()
674 phy_aux = BIT(PDU_ADV_AUX_PTR_PHY_GET(aux_ptr)); in isr_aux_setup()
680 if (aux_ptr->offs_units) { in isr_aux_setup()
687 aux_offset_us = (uint32_t) PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr) * window_size_us; in isr_aux_setup()
690 if (aux_ptr->ca) { in isr_aux_setup()
701 lll_chan_set(aux_ptr->chan_idx); in isr_aux_setup()
723 aux_ptr->chan_idx, in isr_aux_setup()
725 PDU_ADV_AUX_PTR_PHY_GET(aux_ptr)); in isr_aux_setup()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_aux.c477 struct pdu_adv_aux_ptr *aux_ptr; local
627 (void)memcpy(&aux_ptr,
629 sizeof(aux_ptr));
635 ull_adv_aux_ptr_fill(aux_ptr, offs_us, adv->lll.phy_s);
1123 struct pdu_adv_aux_ptr *aux_ptr; in ll_adv_aux_sr_data_set() local
1271 (void)memcpy(&aux_ptr, &hdr_data[aux_ptr_offset], in ll_adv_aux_sr_data_set()
1272 sizeof(aux_ptr)); in ll_adv_aux_sr_data_set()
1278 ull_adv_aux_ptr_fill(aux_ptr, offs_us, adv->lll.phy_s); in ll_adv_aux_sr_data_set()
1514 struct pdu_adv_aux_ptr *aux_ptr; in ull_adv_aux_hdr_set_clear() local
1719 if (pri_hdr_prev.aux_ptr) { in ull_adv_aux_hdr_set_clear()
[all …]
Dull_scan_aux.c173 struct pdu_adv_aux_ptr *aux_ptr; in ull_scan_aux_setup() local
480 aux_ptr = NULL; in ull_scan_aux_setup()
481 if (h->aux_ptr) { in ull_scan_aux_setup()
482 aux_ptr = (void *)ptr; in ull_scan_aux_setup()
483 ptr += sizeof(*aux_ptr); in ull_scan_aux_setup()
560 if (!aux_ptr || !PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr) || is_scan_req || in ull_scan_aux_setup()
561 (PDU_ADV_AUX_PTR_PHY_GET(aux_ptr) > EXT_ADV_AUX_PHY_LE_CODED) || in ull_scan_aux_setup()
563 PDU_ADV_AUX_PTR_PHY_GET(aux_ptr) == EXT_ADV_AUX_PHY_LE_CODED)) { in ull_scan_aux_setup()
590 if (aux_ptr->offs_units) { in ull_scan_aux_setup()
597 aux_offset_us = (uint32_t)PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr) * window_size_us; in ull_scan_aux_setup()
[all …]
Dull_adv_sync.c1002 struct pdu_adv_aux_ptr *aux_ptr; in ull_adv_sync_pdu_init() local
1046 aux_ptr = (void *)dptr; in ull_adv_sync_pdu_init()
1068 ull_adv_aux_ptr_fill(aux_ptr, offs_us, phy_s); in ull_adv_sync_pdu_init()
1164 if (fields->aux_ptr && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.aux_ptr == 0U)) {
1221 if (hdr->ext_hdr.aux_ptr) {
1251 if (hdr->ext_hdr.aux_ptr) {
1254 } else if (fields->aux_ptr) {
1255 hdr->ext_hdr.aux_ptr = 1U;
1322 if (hdr->ext_hdr.aux_ptr) {
1323 if (fields->aux_ptr) {
[all …]
Dpdu.h228 #define PDU_ADV_AUX_PTR_OFFSET_GET(aux_ptr) ((aux_ptr)->offs_phy_packed[0] | \ argument
229 (((aux_ptr)->offs_phy_packed[1] & 0x1F) << 8))
230 #define PDU_ADV_AUX_PTR_PHY_GET(aux_ptr) (((aux_ptr)->offs_phy_packed[1] >> 5) & 0x07) argument
425 uint8_t aux_ptr:1; member
433 uint8_t aux_ptr:1;
Dull_adv_internal.h216 void ull_adv_aux_ptr_fill(struct pdu_adv_aux_ptr *aux_ptr, uint32_t offs_us,
225 struct pdu_adv_aux_ptr *aux_ptr,
Dull_adv.c500 (!pri_hdr_prev.aux_ptr || (phy_p != PHY_CODED))) {
536 if (pri_hdr_prev.aux_ptr) {
540 if (pri_hdr_prev.aux_ptr ||
543 pri_hdr->aux_ptr = 1;
558 (!pri_hdr_prev.aux_ptr || (phy_p != PHY_CODED))) {
613 if (pri_hdr_prev.aux_ptr) {
616 if (pri_hdr->aux_ptr) {
657 if (pri_hdr->aux_ptr) {
2978 } else if (pri_hdr_flags.aux_ptr) {
Dlll.h360 void *aux_ptr; /* aux pointer stored when LLL scheduling the member
Dull_adv_iso.c1475 if (h->aux_ptr) { in big_info_get()
Dull_filter.c1210 } else if (pri_hdr_flags.aux_ptr) { in rpa_adv_refresh()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c313 ext_hdr->aux_ptr, in common_validate_per_adv_pdu()
318 ext_hdr->aux_ptr, in common_validate_per_adv_pdu()
/Zephyr-latest/drivers/dai/intel/ssp/
Dssp.c1898 static int dai_ssp_check_dma_control(const uint8_t *aux_ptr, int aux_len) in dai_ssp_check_dma_control() argument
1904 aux_tlv = (struct ssp_intel_aux_tlv *)(aux_ptr); in dai_ssp_check_dma_control()
1920 aux_ptr += hop; in dai_ssp_check_dma_control()
1926 static int dai_ssp_parse_tlv(struct dai_intel_ssp *dp, const uint8_t *aux_ptr, size_t aux_len) in dai_ssp_parse_tlv() argument
1945 aux_tlv = (struct ssp_intel_aux_tlv *)(aux_ptr); in dai_ssp_parse_tlv()
2010 aux_ptr += hop; in dai_ssp_parse_tlv()
2021 uint8_t *aux_ptr; in dai_ssp_parse_aux_data() local
2028 aux_ptr = (uint8_t *)blob15 + pre_aux_len; in dai_ssp_parse_aux_data()
2034 aux_ptr = (uint8_t *)blob30 + pre_aux_len; in dai_ssp_parse_aux_data()
2044 return dai_ssp_parse_tlv(dp, aux_ptr, aux_len); in dai_ssp_parse_aux_data()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c6868 if (h->aux_ptr) {
6869 struct pdu_adv_aux_ptr *aux_ptr; local
6871 aux_ptr = (void *)ptr;
6872 ptr += sizeof(*aux_ptr);
6874 *sec_phy = HCI_AUX_PHY_TO_HCI_PHY(PDU_ADV_AUX_PTR_PHY_GET(aux_ptr));
7251 if (h->aux_ptr) {
7252 struct pdu_adv_aux_ptr *aux_ptr; local
7259 aux_ptr = (void *)ptr;
7267 PDU_ADV_AUX_PTR_PHY_GET(aux_ptr) > EXT_ADV_AUX_PHY_LE_CODED) {
7277 PDU_ADV_AUX_PTR_PHY_GET(aux_ptr));
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.5.rst283 * Updated to stop following ``aux_ptr`` if ``DATA_LEN_MAX`` is reached during extended scanning