/Zephyr-Core-2.7.6/subsys/usb/class/ |
D | bt_h4.c | 88 .ep_addr = BT_H4_OUT_EP_ADDR, 92 .ep_addr = BT_H4_IN_EP_ADDR, 113 usb_transfer(bt_h4_ep_data[BT_H4_OUT_EP_IDX].ep_addr, data, in bt_h4_read() 126 usb_transfer_sync(bt_h4_ep_data[BT_H4_IN_EP_IDX].ep_addr, in hci_tx_thread() 163 bt_h4_read(bt_h4_ep_data[BT_H4_OUT_EP_IDX].ep_addr, in bt_h4_status_cb() 170 usb_cancel_transfer(bt_h4_ep_data[BT_H4_IN_EP_IDX].ep_addr); in bt_h4_status_cb() 171 usb_cancel_transfer(bt_h4_ep_data[BT_H4_OUT_EP_IDX].ep_addr); in bt_h4_status_cb() 185 bt_h4_read(bt_h4_ep_data[BT_H4_OUT_EP_IDX].ep_addr, in bt_h4_status_cb()
|
D | bluetooth.c | 109 .ep_addr = BLUETOOTH_INT_EP_ADDR, 113 .ep_addr = BLUETOOTH_OUT_EP_ADDR, 117 .ep_addr = BLUETOOTH_IN_EP_ADDR, 139 bluetooth_ep_data[HCI_INT_EP_IDX].ep_addr, in hci_tx_thread() 145 bluetooth_ep_data[HCI_IN_EP_IDX].ep_addr, in hci_tx_thread() 279 usb_transfer(bluetooth_ep_data[HCI_OUT_EP_IDX].ep_addr, ep_out_buf, in acl_read_cb() 302 acl_read_cb(bluetooth_ep_data[HCI_OUT_EP_IDX].ep_addr, in bluetooth_status_cb() 309 usb_cancel_transfer(bluetooth_ep_data[HCI_INT_EP_IDX].ep_addr); in bluetooth_status_cb() 310 usb_cancel_transfer(bluetooth_ep_data[HCI_IN_EP_IDX].ep_addr); in bluetooth_status_cb() 311 usb_cancel_transfer(bluetooth_ep_data[HCI_OUT_EP_IDX].ep_addr); in bluetooth_status_cb() [all …]
|
D | msc.c | 137 .ep_addr = MASS_STORAGE_OUT_EP_ADDR 141 .ep_addr = MASS_STORAGE_IN_EP_ADDR 225 if (usb_write(mass_ep_data[MSD_IN_EP_IDX].ep_addr, (uint8_t *)&csw, in sendCSW() 243 if (usb_write(mass_ep_data[MSD_IN_EP_IDX].ep_addr, buf, size, NULL)) { in write() 299 usb_ep_set_stall(mass_ep_data[MSD_IN_EP_IDX].ep_addr); in testUnitReady() 302 usb_ep_set_stall(mass_ep_data[MSD_OUT_EP_IDX].ep_addr); in testUnitReady() 385 if (usb_write(mass_ep_data[MSD_IN_EP_IDX].ep_addr, in thread_memory_read_done() 388 mass_ep_data[MSD_IN_EP_IDX].ep_addr); in thread_memory_read_done() 420 usb_write(mass_ep_data[MSD_IN_EP_IDX].ep_addr, in memoryRead() 487 usb_ep_set_stall(mass_ep_data[MSD_IN_EP_IDX].ep_addr); in infoTransfer() [all …]
|
D | loopback.c | 91 .ep_addr = LOOPBACK_OUT_EP_ADDR, 95 .ep_addr = LOOPBACK_IN_EP_ADDR, 108 loopback_in_cb(ep_cfg[LOOPBACK_IN_EP_IDX].ep_addr, 0); in loopback_status_cb() 116 if (*param == ep_cfg[LOOPBACK_IN_EP_IDX].ep_addr) { in loopback_status_cb() 117 loopback_in_cb(ep_cfg[LOOPBACK_IN_EP_IDX].ep_addr, 0); in loopback_status_cb()
|
D | cdc_acm.c | 232 uint8_t ep = cfg->endpoint[ACM_IN_EP_IDX].ep_addr; in tx_work_handler() 359 cdc_acm_read_cb(cfg->endpoint[ACM_OUT_EP_IDX].ep_addr, 0, in cdc_acm_do_cb() 385 cdc_acm_read_cb(cfg->endpoint[ACM_OUT_EP_IDX].ep_addr, in cdc_acm_do_cb() 763 usb_write(cfg->endpoint[ACM_INT_EP_IDX].ep_addr, in cdc_acm_send_notification() 1061 .ep_addr = AUTO_EP_IN, \ 1065 .ep_addr = AUTO_EP_OUT, \ 1069 .ep_addr = AUTO_EP_IN, \
|
/Zephyr-Core-2.7.6/subsys/usb/ |
D | usb_descriptor.c | 235 if (ep_descr->bEndpointAddress != ep_data[i].ep_addr) { in usb_validate_ep_cfg_data() 245 ep_cfg.ep_addr = ep_descr->bEndpointAddress; in usb_validate_ep_cfg_data() 246 if (ep_cfg.ep_addr & USB_EP_DIR_IN) { in usb_validate_ep_cfg_data() 251 ep_cfg.ep_addr = (USB_EP_DIR_IN | idx); in usb_validate_ep_cfg_data() 257 ep_cfg.ep_addr = idx; in usb_validate_ep_cfg_data() 262 ep_cfg.ep_addr); in usb_validate_ep_cfg_data() 263 ep_descr->bEndpointAddress = ep_cfg.ep_addr; in usb_validate_ep_cfg_data() 264 ep_data[i].ep_addr = ep_cfg.ep_addr; in usb_validate_ep_cfg_data() 265 if (ep_cfg.ep_addr & USB_EP_DIR_IN) { in usb_validate_ep_cfg_data() 270 LOG_DBG("endpoint 0x%x", ep_data[i].ep_addr); in usb_validate_ep_cfg_data() [all …]
|
D | usb_device.c | 536 ep_cfg.ep_addr = ep_desc->bEndpointAddress; in set_endpoint() 541 ep_cfg.ep_addr, ep_cfg.ep_type, ep_cfg.ep_mps); in set_endpoint() 545 LOG_WRN("Endpoint 0x%02x already configured", ep_cfg.ep_addr); in set_endpoint() 547 LOG_ERR("Failed to configure endpoint 0x%02x", ep_cfg.ep_addr); in set_endpoint() 553 ret = usb_dc_ep_enable(ep_cfg.ep_addr); in set_endpoint() 555 LOG_WRN("Endpoint 0x%02x already enabled", ep_cfg.ep_addr); in set_endpoint() 557 LOG_ERR("Failed to enable endpoint 0x%02x", ep_cfg.ep_addr); in set_endpoint() 583 ep_cfg.ep_addr = ep_desc->bEndpointAddress; in reset_endpoint() 587 ep_cfg.ep_addr, ep_cfg.ep_type); in reset_endpoint() 589 usb_cancel_transfer(ep_cfg.ep_addr); in reset_endpoint() [all …]
|
/Zephyr-Core-2.7.6/subsys/usb/class/netusb/ |
D | function_eem.c | 83 .ep_addr = CDC_EEM_OUT_EP_ADDR 88 .ep_addr = CDC_EEM_IN_EP_ADDR 131 ret = usb_transfer_sync(eem_ep_data[EEM_IN_EP_IDX].ep_addr, in eem_send() 201 usb_transfer(eem_ep_data[EEM_OUT_EP_IDX].ep_addr, rx_buf, in eem_read_cb() 208 eem_read_cb(eem_ep_data[EEM_OUT_EP_IDX].ep_addr, 0, NULL); in eem_connect() 211 usb_cancel_transfer(eem_ep_data[EEM_OUT_EP_IDX].ep_addr); in eem_connect() 212 usb_cancel_transfer(eem_ep_data[EEM_IN_EP_IDX].ep_addr); in eem_connect()
|
D | function_ecm.c | 180 .ep_addr = CDC_ECM_INT_EP_ADDR 185 .ep_addr = CDC_ECM_OUT_EP_ADDR 190 .ep_addr = CDC_ECM_IN_EP_ADDR 270 ret = usb_transfer_sync(ecm_ep_data[ECM_IN_EP_IDX].ep_addr, in ecm_send() 320 usb_transfer(ecm_ep_data[ECM_OUT_EP_IDX].ep_addr, rx_buf, in ecm_read_cb() 327 ecm_read_cb(ecm_ep_data[ECM_OUT_EP_IDX].ep_addr, 0, NULL); in ecm_connect() 330 usb_cancel_transfer(ecm_ep_data[ECM_OUT_EP_IDX].ep_addr); in ecm_connect() 331 usb_cancel_transfer(ecm_ep_data[ECM_IN_EP_IDX].ep_addr); in ecm_connect()
|
D | function_rndis.c | 259 .ep_addr = RNDIS_INT_EP_ADDR 263 .ep_addr = RNDIS_OUT_EP_ADDR 267 .ep_addr = RNDIS_IN_EP_ADDR 469 ret = usb_transfer(rndis_ep_data[RNDIS_INT_EP_IDX].ep_addr, in rndis_notify_rsp() 988 ret = usb_transfer_sync(rndis_ep_data[RNDIS_IN_EP_IDX].ep_addr, tx_buf, in rndis_send()
|
/Zephyr-Core-2.7.6/samples/subsys/usb/webusb/src/ |
D | webusb.c | 148 usb_transfer(cfg->endpoint[WEBUSB_IN_EP_IDX].ep_addr, rx_buf, size, in webusb_read_cb() 182 webusb_read_cb(cfg->endpoint[WEBUSB_OUT_EP_IDX].ep_addr, in webusb_dev_status_cb() 205 .ep_addr = AUTO_EP_IN 209 .ep_addr = AUTO_EP_OUT
|
/Zephyr-Core-2.7.6/subsys/tracing/ |
D | tracing_backend_usb.c | 117 .ep_addr = TRACING_IF_OUT_EP_ADDR, 121 .ep_addr = TRACING_IF_IN_EP_ADDR,
|
/Zephyr-Core-2.7.6/drivers/usb/device/ |
D | usb_dc_kinetis.c | 280 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_check_cap() 314 if (USB_EP_GET_DIR(cfg->ep_addr) != USB_EP_DIR_IN) { in usb_dc_ep_check_cap() 319 if (USB_EP_GET_DIR(cfg->ep_addr) != USB_EP_DIR_OUT) { in usb_dc_ep_check_cap() 330 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_configure() 340 idx_even = get_bdt_idx(cfg->ep_addr, 0); in usb_dc_ep_configure() 341 idx_odd = get_bdt_idx(cfg->ep_addr, 1); in usb_dc_ep_configure() 350 LOG_DBG("ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, in usb_dc_ep_configure() 353 if (USB_EP_DIR_IS_OUT(cfg->ep_addr)) { in usb_dc_ep_configure() 380 if (cfg->ep_addr & USB_EP_DIR_IN) { in usb_dc_ep_configure() 402 if (USB_EP_DIR_IS_OUT(cfg->ep_addr)) { in usb_dc_ep_configure() [all …]
|
D | usb_dc_native_posix.c | 152 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_check_cap() 154 LOG_DBG("ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, in usb_dc_ep_check_cap() 167 if ((USB_EP_DIR_IS_OUT(cfg->ep_addr)) && in usb_dc_ep_check_cap() 173 if ((USB_EP_DIR_IS_IN(cfg->ep_addr)) && in usb_dc_ep_check_cap() 185 uint8_t ep = cfg->ep_addr; in usb_dc_ep_configure()
|
D | usb_dc_sam_usbhs.c | 416 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_check_cap() 429 if (USB_EP_GET_DIR(cfg->ep_addr) != USB_EP_DIR_IN) { in usb_dc_ep_check_cap() 434 if (USB_EP_GET_DIR(cfg->ep_addr) != USB_EP_DIR_OUT) { in usb_dc_ep_check_cap() 452 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_configure() 472 LOG_INF("Configure ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, in usb_dc_ep_configure() 497 if (USB_EP_DIR_IS_OUT(cfg->ep_addr) || in usb_dc_ep_configure()
|
D | usb_dc_mcux.c | 191 uint8_t ep_abs_idx = EP_ABS_IDX(cfg->ep_addr); in usb_dc_ep_check_cap() 192 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_check_cap() 209 uint8_t ep_abs_idx = EP_ABS_IDX(cfg->ep_addr); in usb_dc_ep_configure() 216 ep_init.endpointAddress = cfg->ep_addr; in usb_dc_ep_configure() 256 if ((USB_EP_GET_IDX(cfg->ep_addr) == USB_CONTROL_ENDPOINT) && in usb_dc_ep_configure() 257 (USB_EP_DIR_IS_OUT(cfg->ep_addr))) { in usb_dc_ep_configure()
|
D | usb_dc_sam_usbc.c | 833 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_check_cap() 846 if (USB_EP_DIR_IS_OUT(cfg->ep_addr)) { in usb_dc_ep_check_cap() 851 if (USB_EP_DIR_IS_IN(cfg->ep_addr)) { in usb_dc_ep_check_cap() 867 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_configure() 886 cfg->ep_addr, cfg->ep_mps, cfg->ep_type); in usb_dc_ep_configure() 905 if (USB_EP_DIR_IS_OUT(cfg->ep_addr) || in usb_dc_ep_configure() 942 LOG_DBG("ep 0x%02x configured", cfg->ep_addr); in usb_dc_ep_configure()
|
D | usb_dc_nrfx.c | 1417 uint8_t ep_idx = NRF_USBD_EP_NR_GET(ep_cfg->ep_addr); in usb_dc_ep_check_cap() 1419 LOG_DBG("ep 0x%02x, mps %d, type %d", ep_cfg->ep_addr, ep_cfg->ep_mps, in usb_dc_ep_check_cap() 1427 if (!NRF_USBD_EP_VALIDATE(ep_cfg->ep_addr)) { in usb_dc_ep_check_cap() 1433 (!NRF_USBD_EPISO_CHECK(ep_cfg->ep_addr))) { in usb_dc_ep_check_cap() 1459 ep_ctx = endpoint_ctx(ep_cfg->ep_addr); in usb_dc_ep_configure() 1464 ep_ctx->cfg.addr = ep_cfg->ep_addr; in usb_dc_ep_configure() 1468 if (!NRF_USBD_EPISO_CHECK(ep_cfg->ep_addr)) { in usb_dc_ep_configure() 1475 nrfx_usbd_ep_max_packet_size_set(ep_addr_to_nrfx(ep_cfg->ep_addr), in usb_dc_ep_configure()
|
D | usb_dc_sam0.c | 327 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_check_cap() 346 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_configure() 385 if (USB_EP_DIR_IS_IN(cfg->ep_addr)) { in usb_dc_ep_configure() 405 if (USB_EP_DIR_IS_IN(cfg->ep_addr)) { in usb_dc_ep_configure()
|
D | usb_dc_dw.c | 772 uint8_t ep_idx = USB_EP_GET_IDX(cfg->ep_addr); in usb_dc_ep_check_cap() 774 LOG_DBG("ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, in usb_dc_ep_check_cap() 787 if ((USB_EP_DIR_IS_OUT(cfg->ep_addr)) && in usb_dc_ep_check_cap() 793 if ((USB_EP_DIR_IS_IN(cfg->ep_addr)) && in usb_dc_ep_check_cap() 810 ep = ep_cfg->ep_addr; in usb_dc_ep_configure()
|
/Zephyr-Core-2.7.6/samples/net/wpanusb/src/ |
D | wpanusb.c | 85 .ep_addr = AUTO_EP_IN, 263 uint8_t ep = wpanusb_config.endpoint[WPANUSB_IN_EP_IDX].ep_addr; in tx() 397 ep = wpanusb_config.endpoint[WPANUSB_IN_EP_IDX].ep_addr; in net_recv_data()
|
/Zephyr-Core-2.7.6/tests/subsys/usb/desc_sections/src/ |
D | desc_sections.c | 81 .ep_addr = addr, \ 141 if (cfg_data->endpoint[i].ep_addr == in find_cfg_data_ep()
|
/Zephyr-Core-2.7.6/include/drivers/usb/ |
D | usb_dc.h | 145 uint8_t ep_addr; member
|
/Zephyr-Core-2.7.6/subsys/usb/class/audio/ |
D | audio.c | 277 uint8_t ep_addr; in audio_dc_sof() local 280 ep_addr = cfg->endpoint[0].ep_addr; in audio_dc_sof() 281 if ((ep_addr & USB_EP_DIR_MASK) && (dev_data->tx_enable)) { in audio_dc_sof() 811 uint8_t ep = cfg->endpoint[0].ep_addr; in usb_audio_send()
|
/Zephyr-Core-2.7.6/include/usb/ |
D | usb_device.h | 136 uint8_t ep_addr; member
|