/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | pdu.h | 1203 #define PDU_BIG_INFO_OFFS_GET(bi) \ argument 1204 util_get_bits(&(bi)->bi_packed_0_3[0], 0, 14) 1205 #define PDU_BIG_INFO_OFFS_UNITS_GET(bi) \ argument 1206 util_get_bits(&(bi)->bi_packed_0_3[1], 6, 1) 1207 #define PDU_BIG_INFO_ISO_INTERVAL_GET(bi) \ argument 1208 util_get_bits(&(bi)->bi_packed_0_3[1], 7, 12) 1209 #define PDU_BIG_INFO_NUM_BIS_GET(bi) \ argument 1210 util_get_bits(&(bi)->bi_packed_0_3[3], 3, 5) 1211 #define PDU_BIG_INFO_NSE_GET(bi) \ argument 1212 util_get_bits(&(bi)->bi_packed_4_7[0], 0, 5) [all …]
|
D | ull_sync_iso.c | 417 struct pdu_big_info *bi; in ull_sync_iso_setup() local 458 bi = (void *)&acad[PDU_ADV_DATA_HEADER_DATA_OFFSET]; in ull_sync_iso_setup() 461 (void)memcpy(lll->seed_access_addr, &bi->seed_access_addr, in ull_sync_iso_setup() 463 (void)memcpy(lll->base_crc_init, &bi->base_crc_init, in ull_sync_iso_setup() 466 (void)memcpy(lll->data_chan_map, bi->chm_phy, in ull_sync_iso_setup() 478 lll->phy = BIT(bi->chm_phy[4] >> 5); in ull_sync_iso_setup() 480 lll->num_bis = PDU_BIG_INFO_NUM_BIS_GET(bi); in ull_sync_iso_setup() 481 lll->bn = PDU_BIG_INFO_BN_GET(bi); in ull_sync_iso_setup() 482 lll->nse = PDU_BIG_INFO_NSE_GET(bi); in ull_sync_iso_setup() 483 lll->sub_interval = PDU_BIG_INFO_SUB_INTERVAL_GET(bi); in ull_sync_iso_setup() [all …]
|
D | ull_adv_iso.c | 69 static inline void big_info_offset_fill(struct pdu_big_info *bi, 958 struct pdu_big_info *bi; in ull_adv_iso_lll_biginfo_fill() local 978 bi = big_info_get(pdu); in ull_adv_iso_lll_biginfo_fill() 979 big_info_offset_fill(bi, lll_iso->ticks_sync_pdu_offset, 0U); in ull_adv_iso_lll_biginfo_fill() 981 bi->payload_count_framing[0] = payload_count; in ull_adv_iso_lll_biginfo_fill() 982 bi->payload_count_framing[1] = payload_count >> 8; in ull_adv_iso_lll_biginfo_fill() 983 bi->payload_count_framing[2] = payload_count >> 16; in ull_adv_iso_lll_biginfo_fill() 984 bi->payload_count_framing[3] = payload_count >> 24; in ull_adv_iso_lll_biginfo_fill() 985 bi->payload_count_framing[4] &= ~0x7F; in ull_adv_iso_lll_biginfo_fill() 986 bi->payload_count_framing[4] |= (payload_count >> 32) & 0x7F; in ull_adv_iso_lll_biginfo_fill() [all …]
|
D | ull_scan_aux.c | 535 struct pdu_big_info *bi; in ull_scan_aux_setup() local 546 bi = (void *)&ptr[PDU_ADV_DATA_HEADER_DATA_OFFSET]; in ull_scan_aux_setup() 547 sync_set->num_bis = PDU_BIG_INFO_NUM_BIS_GET(bi); in ull_scan_aux_setup() 1876 struct pdu_big_info *bi; in ull_scan_aux_setup() local 1887 bi = (void *)&ptr[PDU_ADV_DATA_HEADER_DATA_OFFSET]; in ull_scan_aux_setup() 1888 sync_set->num_bis = PDU_BIG_INFO_NUM_BIS_GET(bi); in ull_scan_aux_setup()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_common.c | 177 struct udc_buf_info *bi = udc_get_buf_info(buf); in udc_ep_buf_set_setup() local 179 bi->setup = 1; in udc_ep_buf_set_setup() 180 bi->data = 0; in udc_ep_buf_set_setup() 181 bi->status = 0; in udc_ep_buf_set_setup() 186 const struct udc_buf_info *bi = udc_get_buf_info(buf); in udc_ep_buf_has_zlp() local 188 return bi->zlp; in udc_ep_buf_has_zlp() 193 struct udc_buf_info *bi = udc_get_buf_info(buf); in udc_ep_buf_clear_zlp() local 195 bi->zlp = false; in udc_ep_buf_clear_zlp() 216 struct udc_buf_info *bi = udc_get_buf_info(buf); in udc_submit_ep_event() local 228 bi->err = err; in udc_submit_ep_event() [all …]
|
/Zephyr-latest/samples/subsys/usb/webusb-next/src/ |
D | sfunc.c | 73 struct udc_buf_info *bi = NULL; in sfunc_request_handler() local 75 bi = (struct udc_buf_info *)net_buf_user_data(buf); in sfunc_request_handler() 77 (void *)c_data, bi->ep, buf->len, err); in sfunc_request_handler() 80 uint8_t ep = bi->ep; in sfunc_request_handler() 82 memset(bi, 0, sizeof(struct udc_buf_info)); in sfunc_request_handler() 85 bi->ep = sfunc_get_bulk_out(c_data); in sfunc_request_handler() 88 bi->ep = sfunc_get_bulk_in(c_data); in sfunc_request_handler() 120 struct udc_buf_info *bi; in sfunc_buf_alloc() local 135 bi = udc_get_buf_info(buf); in sfunc_buf_alloc() 136 bi->ep = ep; in sfunc_buf_alloc()
|
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_endpoint.c | 105 struct udc_buf_info *bi; in usbd_ep_ctrl_enqueue() local 107 bi = udc_get_buf_info(buf); in usbd_ep_ctrl_enqueue() 108 if (USB_EP_GET_IDX(bi->ep)) { in usbd_ep_ctrl_enqueue() 113 if (USB_EP_DIR_IS_IN(bi->ep)) { in usbd_ep_ctrl_enqueue() 137 struct udc_buf_info *bi = udc_get_buf_info(buf); in usbd_ep_enqueue() local 139 if (USB_EP_DIR_IS_IN(bi->ep)) { in usbd_ep_enqueue() 145 bi->owner = (void *)c_data; in usbd_ep_enqueue()
|
D | usbd_core.c | 43 struct udc_buf_info *bi; in event_handler_ep_request() local 46 bi = udc_get_buf_info(event->buf); in event_handler_ep_request() 48 if (USB_EP_GET_IDX(bi->ep) == 0) { in event_handler_ep_request() 49 ret = usbd_handle_ctrl_xfer(uds_ctx, event->buf, bi->err); in event_handler_ep_request() 51 ret = usbd_class_handle_xfer(uds_ctx, event->buf, bi->err); in event_handler_ep_request() 56 ret, bi->ep, event->buf); in event_handler_ep_request()
|
D | usbd_ch9.c | 1034 struct udc_buf_info *bi, *bi_b; in ctrl_xfer_get_setup() local 1046 bi = udc_get_buf_info(buf); in ctrl_xfer_get_setup() 1087 struct udc_buf_info *bi; in spool_data_out() local 1093 bi = udc_get_buf_info(next_buf); in spool_data_out() 1094 if (bi->status) { in spool_data_out() 1107 struct udc_buf_info *bi; in usbd_handle_ctrl_xfer() local 1110 bi = udc_get_buf_info(buf); in usbd_handle_ctrl_xfer() 1111 if (USB_EP_GET_IDX(bi->ep)) { in usbd_handle_ctrl_xfer() 1116 if (err && err != -ENOMEM && !bi->setup) { in usbd_handle_ctrl_xfer() 1118 LOG_INF("Transfer 0x%02x aborted (bus reset?)", bi->ep); in usbd_handle_ctrl_xfer() [all …]
|
D | usbd_class.c | 94 struct udc_buf_info *bi = udc_get_buf_info(buf); in xfer_owner_exist() local 98 if (bi->owner == c_nd->c_data) { in xfer_owner_exist() 102 if (!usbd_ep_bm_is_set(&ep_active, bi->ep)) { in xfer_owner_exist() 103 LOG_DBG("ep 0x%02x is not active", bi->ep); in xfer_owner_exist() 106 if (!usbd_ep_bm_is_set(&ep_assigned, bi->ep)) { in xfer_owner_exist() 107 LOG_DBG("ep 0x%02x is not assigned", bi->ep); in xfer_owner_exist() 121 struct udc_buf_info *bi = udc_get_buf_info(buf); in usbd_class_handle_xfer() local 136 return usbd_class_request(bi->owner, buf, err); in usbd_class_handle_xfer()
|
/Zephyr-latest/include/zephyr/drivers/usb/ |
D | udc.h | 692 struct udc_buf_info *bi; in udc_ep_buf_set_zlp() local 695 bi = (struct udc_buf_info *)net_buf_user_data(buf); in udc_ep_buf_set_zlp() 696 if (USB_EP_DIR_IS_IN(bi->ep)) { in udc_ep_buf_set_zlp() 697 bi->zlp = 1; in udc_ep_buf_set_zlp()
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | bt_hci.c | 164 struct udc_buf_info *bi; in bt_hci_buf_alloc() local 171 bi = udc_get_buf_info(buf); in bt_hci_buf_alloc() 172 bi->ep = ep; in bt_hci_buf_alloc() 374 struct udc_buf_info *bi; in bt_hci_request() local 376 bi = udc_get_buf_info(buf); in bt_hci_request() 378 if (bi->ep == bt_hci_get_bulk_out(c_data)) { in bt_hci_request() 382 if (bi->ep == bt_hci_get_bulk_in(c_data) || in bt_hci_request() 383 bi->ep == bt_hci_get_int_in(c_data)) { in bt_hci_request()
|
D | usbd_hid.c | 109 struct udc_buf_info *bi; in usbd_hid_request() local 111 bi = udc_get_buf_info(buf); in usbd_hid_request() 113 if (bi->ep == hid_get_out_ep(c_data)) { in usbd_hid_request() 123 if (bi->ep == hid_get_in_ep(c_data)) { in usbd_hid_request() 506 struct udc_buf_info *bi; in hid_buf_alloc_ext() local 515 bi = udc_get_buf_info(buf); in hid_buf_alloc_ext() 516 bi->ep = ep; in hid_buf_alloc_ext() 525 struct udc_buf_info *bi; in hid_buf_alloc() local 532 bi = udc_get_buf_info(buf); in hid_buf_alloc() 533 bi->ep = ep; in hid_buf_alloc()
|
D | usbd_msc.c | 133 struct udc_buf_info *bi; in msc_buf_alloc() local 140 bi = udc_get_buf_info(buf); in msc_buf_alloc() 141 bi->ep = ep; in msc_buf_alloc() 570 struct udc_buf_info *bi; in usbd_msc_handle_request() local 572 bi = udc_get_buf_info(buf); in usbd_msc_handle_request() 576 bi->ep, buf->len); in usbd_msc_handle_request() 579 bi->ep, buf->len); in usbd_msc_handle_request() 585 if (bi->ep == msc_get_bulk_out(c_data)) { in usbd_msc_handle_request() 587 } else if (bi->ep == msc_get_bulk_in(c_data)) { in usbd_msc_handle_request() 592 if (bi->ep == msc_get_bulk_out(c_data)) { in usbd_msc_handle_request() [all …]
|
D | usbd_uac2.c | 224 struct udc_buf_info *bi; in uac2_buf_alloc() local 233 bi = udc_get_buf_info(buf); in uac2_buf_alloc() 234 bi->ep = ep; in uac2_buf_alloc() 366 struct udc_buf_info *bi; in write_explicit_feedback() local 379 bi = udc_get_buf_info(buf); in write_explicit_feedback() 380 bi->ep = ep; in write_explicit_feedback() 743 struct udc_buf_info *bi; in uac2_request() local 749 bi = udc_get_buf_info(buf); in uac2_request() 753 bi->ep, buf->len); in uac2_request() 756 bi->ep, buf->len); in uac2_request() [all …]
|
D | usbd_cdc_ecm.c | 158 struct udc_buf_info *bi; in cdc_ecm_buf_alloc() local 165 bi = udc_get_buf_info(buf); in cdc_ecm_buf_alloc() 166 bi->ep = ep; in cdc_ecm_buf_alloc() 291 struct udc_buf_info *bi; in usbd_cdc_ecm_request() local 293 bi = udc_get_buf_info(buf); in usbd_cdc_ecm_request() 295 if (bi->ep == cdc_ecm_get_bulk_out(c_data)) { in usbd_cdc_ecm_request() 299 if (bi->ep == cdc_ecm_get_bulk_in(c_data)) { in usbd_cdc_ecm_request() 305 if (bi->ep == cdc_ecm_get_int_in(c_data)) { in usbd_cdc_ecm_request()
|
D | usbd_cdc_acm.c | 127 struct udc_buf_info *bi; in cdc_acm_buf_alloc() local 134 bi = udc_get_buf_info(buf); in cdc_acm_buf_alloc() 135 bi->ep = ep; in cdc_acm_buf_alloc() 215 struct udc_buf_info *bi; in usbd_cdc_acm_request() local 217 bi = udc_get_buf_info(buf); in usbd_cdc_acm_request() 221 bi->ep, buf->len); in usbd_cdc_acm_request() 224 bi->ep, buf->len); in usbd_cdc_acm_request() 227 if (bi->ep == cdc_acm_get_bulk_out(c_data)) { in usbd_cdc_acm_request() 231 if (bi->ep == cdc_acm_get_bulk_in(c_data)) { in usbd_cdc_acm_request() 238 if (bi->ep == cdc_acm_get_bulk_out(c_data)) { in usbd_cdc_acm_request() [all …]
|
D | loopback.c | 116 struct udc_buf_info *bi = NULL; in lb_request_handler() local 118 bi = (struct udc_buf_info *)net_buf_user_data(buf); in lb_request_handler() 119 LOG_DBG("%p -> ep 0x%02x, len %u, err %d", c_data, bi->ep, buf->len, err); in lb_request_handler()
|
D | usbd_cdc_ncm.c | 301 struct udc_buf_info *bi; in cdc_ncm_buf_alloc() local 308 bi = udc_get_buf_info(buf); in cdc_ncm_buf_alloc() 309 bi->ep = ep; in cdc_ncm_buf_alloc() 643 struct udc_buf_info *bi; in usbd_cdc_ncm_request() local 645 bi = udc_get_buf_info(buf); in usbd_cdc_ncm_request() 646 LOG_DBG("finished %x len %u", bi->ep, buf->len); in usbd_cdc_ncm_request() 648 if (bi->ep == cdc_ncm_get_bulk_out(c_data)) { in usbd_cdc_ncm_request() 652 if (bi->ep == cdc_ncm_get_bulk_in(c_data)) { in usbd_cdc_ncm_request() 657 if (bi->ep == cdc_ncm_get_int_in(c_data)) { in usbd_cdc_ncm_request()
|
/Zephyr-latest/lib/heap/ |
D | heap.c | 213 int bi = bucket_idx(h, sz); in alloc_chunk() local 214 struct z_heap_bucket *b = &h->buckets[bi]; in alloc_chunk() 216 CHECK(bi <= bucket_idx(h, h->end_chunk)); in alloc_chunk() 238 free_list_remove_bidx(h, c, bi); in alloc_chunk() 249 uint32_t bmask = h->avail_buckets & ~BIT_MASK(bi + 1); in alloc_chunk()
|
/Zephyr-latest/tests/drivers/udc/src/ |
D | main.c | 38 struct udc_buf_info *bi; in event_ep_request() local 41 bi = udc_get_buf_info(event.buf); in event_ep_request() 46 if (bi->err == -ECONNABORTED && bi->ep == last_used_ep) { in event_ep_request()
|
/Zephyr-latest/doc/services/modem/ |
D | index.rst | 49 bi-directional streams of data, called DLCI channels. The module
|
/Zephyr-latest/boards/silabs/dev_kits/sltb004a/doc/ |
D | index.rst | 25 - One bi-color LED and two push buttons
|
/Zephyr-latest/subsys/mgmt/osdp/ |
D | Kconfig.pd | 161 - 03: like 02, plus bi-color LEDs
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 7950 struct pdu_big_info *bi; local 7960 bi = (void *)&acad[PDU_ADV_DATA_HEADER_DATA_OFFSET]; 7963 phy = (bi->chm_phy[4] >> 5); 7991 sep->num_bis = PDU_BIG_INFO_NUM_BIS_GET(bi); 7992 sep->nse = PDU_BIG_INFO_NSE_GET(bi); 7994 sys_cpu_to_le16(PDU_BIG_INFO_ISO_INTERVAL_GET(bi)); 7995 sep->bn = PDU_BIG_INFO_BN_GET(bi); 7996 sep->pto = PDU_BIG_INFO_PTO_GET(bi); 7997 sep->irc = PDU_BIG_INFO_IRC_GET(bi); 7999 sep->max_pdu = sys_cpu_to_le16(bi->max_pdu); [all …]
|