/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_native_posix.c | 72 static uint8_t usbip_ep_is_valid(uint8_t ep) in usbip_ep_is_valid() argument 74 uint8_t ep_idx = USB_EP_GET_IDX(ep); in usbip_ep_is_valid() 76 /* Check if ep is valid */ in usbip_ep_is_valid() 77 if ((USB_EP_DIR_IS_OUT(ep)) && in usbip_ep_is_valid() 80 } else if ((USB_EP_DIR_IS_IN(ep)) && in usbip_ep_is_valid() 88 static uint8_t usbip_ep_is_enabled(uint8_t ep) in usbip_ep_is_enabled() argument 90 uint8_t ep_idx = USB_EP_GET_IDX(ep); in usbip_ep_is_enabled() 92 LOG_DBG("ep %x", ep); in usbip_ep_is_enabled() 94 /* Check if ep enabled */ in usbip_ep_is_enabled() 95 if ((USB_EP_DIR_IS_OUT(ep)) && in usbip_ep_is_enabled() [all …]
|
D | usb_dc_dw.c | 81 uint16_t mps; /* Max ep pkt size */ 202 LOG_DBG("\n EP %d registers: DIEPCTL : 0x%x DIEPINT : " in usb_dw_reg_dump() 216 static uint8_t usb_dw_ep_is_valid(uint8_t ep) in usb_dw_ep_is_valid() argument 218 uint8_t ep_idx = USB_EP_GET_IDX(ep); in usb_dw_ep_is_valid() 220 /* Check if ep enabled */ in usb_dw_ep_is_valid() 221 if ((USB_EP_DIR_IS_OUT(ep)) && ep_idx < USB_DW_OUT_EP_NUM) { in usb_dw_ep_is_valid() 223 } else if ((USB_EP_DIR_IS_IN(ep)) && ep_idx < USB_DW_IN_EP_NUM) { in usb_dw_ep_is_valid() 230 static uint8_t usb_dw_ep_is_enabled(uint8_t ep) in usb_dw_ep_is_enabled() argument 232 uint8_t ep_idx = USB_EP_GET_IDX(ep); in usb_dw_ep_is_enabled() 234 /* Check if ep enabled */ in usb_dw_ep_is_enabled() [all …]
|
D | usb_dc_numaker.c | 44 /* Maximum number of EP contexts across all instances 45 * This is to static-allocate EP contexts which can accommodate all instances. 46 * The number of effective EP contexts per instance is passed on through its 64 uint8_t ep; member 86 /* EP context */ 94 uint8_t ep_hw_idx; /* BSP USBD driver EP index EP0, EP1, EP2, etc */ 95 uint32_t ep_hw_cfg; /* BSP USBD driver EP configuration */ 97 /* EP DMA buffer */ 116 /* EP address */ 120 /* EP MPS */ [all …]
|
D | usb_dc_rpi_pico.c | 86 uint8_t ep; member 91 static struct udc_rpi_ep_state *udc_rpi_get_ep_state(uint8_t ep) in udc_rpi_get_ep_state() argument 95 if (USB_EP_GET_IDX(ep) >= USB_NUM_BIDIR_ENDPOINTS) { in udc_rpi_get_ep_state() 99 if (USB_EP_DIR_IS_OUT(ep)) { in udc_rpi_get_ep_state() 105 return ep_state_base + USB_EP_GET_IDX(ep); in udc_rpi_get_ep_state() 108 static int udc_rpi_start_xfer(uint8_t ep, const void *data, const size_t len) in udc_rpi_start_xfer() argument 110 struct udc_rpi_ep_state *ep_state = udc_rpi_get_ep_state(ep); in udc_rpi_start_xfer() 114 LOG_WRN("ep 0x%02x was already armed", ep); in udc_rpi_start_xfer() 117 if (USB_EP_DIR_IS_IN(ep)) { in udc_rpi_start_xfer() 130 LOG_DBG("xfer ep %d len %d pid: %d", ep, len, ep_state->next_pid); in udc_rpi_start_xfer() [all …]
|
D | usb_dc_stm32.c | 182 static struct usb_dc_stm32_ep_state *usb_dc_stm32_get_ep_state(uint8_t ep) in usb_dc_stm32_get_ep_state() argument 186 if (USB_EP_GET_IDX(ep) >= USB_NUM_BIDIR_ENDPOINTS) { in usb_dc_stm32_get_ep_state() 190 if (USB_EP_DIR_IS_OUT(ep)) { in usb_dc_stm32_get_ep_state() 196 return ep_state_base + USB_EP_GET_IDX(ep); in usb_dc_stm32_get_ep_state() 666 int usb_dc_ep_set_callback(const uint8_t ep, const usb_dc_ep_callback cb) in usb_dc_ep_set_callback() argument 668 struct usb_dc_stm32_ep_state *ep_state = usb_dc_stm32_get_ep_state(ep); in usb_dc_ep_set_callback() 670 LOG_DBG("ep 0x%02x", ep); in usb_dc_ep_set_callback() 704 int usb_dc_ep_start_read(uint8_t ep, uint8_t *data, uint32_t max_data_len) in usb_dc_ep_start_read() argument 708 LOG_DBG("ep 0x%02x, len %u", ep, max_data_len); in usb_dc_ep_start_read() 711 if (!USB_EP_DIR_IS_OUT(ep) && (ep != EP0_IN || max_data_len)) { in usb_dc_ep_start_read() [all …]
|
D | usb_dc_kinetis.c | 128 uint8_t ep; member 140 static inline uint8_t get_bdt_idx(uint8_t ep, uint8_t odd) in get_bdt_idx() argument 142 if (ep & USB_EP_DIR_IN) { in get_bdt_idx() 143 return ((((KINETIS_ADDR2IDX(ep)) * 4) + 2 + (odd & 1))); in get_bdt_idx() 145 return ((((KINETIS_ADDR2IDX(ep)) * 4) + (odd & 1))); in get_bdt_idx() 342 LOG_DBG("ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, in usb_dc_ep_configure() 414 int usb_dc_ep_set_stall(const uint8_t ep) in usb_dc_ep_set_stall() argument 416 uint8_t ep_idx = USB_EP_GET_IDX(ep); in usb_dc_ep_set_stall() 424 LOG_DBG("ep %x, idx %d", ep, ep_idx); in usb_dc_ep_set_stall() 426 if (USB_EP_DIR_IS_OUT(ep)) { in usb_dc_ep_set_stall() [all …]
|
D | usb_dc_mcux.c | 60 * EP addr | ep_idx | ep_abs_idx 71 #define EP_ABS_IDX(ep) (USB_EP_GET_IDX(ep) * 2 + \ argument 72 (USB_EP_GET_DIR(ep) >> 7)) 284 uint8_t ep; in usb_dc_ep_configure() local 301 ep = cfg->ep_addr; in usb_dc_ep_configure() 304 kUSB_DeviceControlEndpointDeinit, &ep); in usb_dc_ep_configure() 354 int usb_dc_ep_set_stall(const uint8_t ep) in usb_dc_ep_set_stall() argument 356 uint8_t endpoint = ep; in usb_dc_ep_set_stall() 357 uint8_t ep_abs_idx = EP_ABS_IDX(ep); in usb_dc_ep_set_stall() 376 int usb_dc_ep_clear_stall(const uint8_t ep) in usb_dc_ep_clear_stall() argument [all …]
|
D | usb_dc_nrfx.c | 138 * @param ep Endpoint control block pointer 142 struct nrf_usbd_ep_ctx *ep; member 212 * Max buffers size possible: 1536 Bytes (8 EP * 64B + 1 ISO * 1024B) 293 static inline nrf_usbd_common_ep_t ep_addr_to_nrfx(uint8_t ep) in ep_addr_to_nrfx() argument 295 return (nrf_usbd_common_ep_t)ep; in ep_addr_to_nrfx() 298 static inline uint8_t nrfx_addr_to_ep(nrf_usbd_common_ep_t ep) in nrfx_addr_to_ep() argument 300 return (uint8_t)ep; in nrfx_addr_to_ep() 303 static inline bool ep_is_valid(const uint8_t ep) in ep_is_valid() argument 305 uint8_t ep_num = USB_EP_GET_IDX(ep); in ep_is_valid() 307 if (NRF_USBD_EPIN_CHECK(ep)) { in ep_is_valid() [all …]
|
D | usb_dc_sam_usbhs.c | 211 uint8_t ep = ep_idx | USB_EP_DIR_OUT; in usb_dc_ep_isr() local 218 dev_data.ep_data[ep_idx].cb_out(ep, USB_DC_EP_DATA_OUT); in usb_dc_ep_isr() 221 uint8_t ep = ep_idx | USB_EP_DIR_IN; in usb_dc_ep_isr() local 228 dev_data.ep_data[ep_idx].cb_in(ep, USB_DC_EP_DATA_IN); in usb_dc_ep_isr() 482 LOG_INF("Configure ep %x, mps %d, type %d", cfg->ep_addr, cfg->ep_mps, in usb_dc_ep_configure() 546 LOG_INF("Temporary disable ep idx %x", i); in usb_dc_ep_configure() 574 int usb_dc_ep_set_stall(uint8_t ep) in usb_dc_ep_set_stall() argument 576 uint8_t ep_idx = USB_EP_GET_IDX(ep); in usb_dc_ep_set_stall() 585 LOG_DBG("ep 0x%x", ep); in usb_dc_ep_set_stall() 590 int usb_dc_ep_clear_stall(uint8_t ep) in usb_dc_ep_clear_stall() argument [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_iso.c | 173 void bt_bap_iso_configure_data_path(struct bt_bap_ep *ep, struct bt_audio_codec_cfg *codec_cfg) in bt_bap_iso_configure_data_path() argument 175 struct bt_bap_iso *bap_iso = ep->iso; in bt_bap_iso_configure_data_path() 178 IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && bt_bap_ep_is_unicast_client(ep); in bt_bap_iso_configure_data_path() 179 struct bt_bap_iso_dir *iso_dir = bap_iso_get_iso_dir(is_unicast_client, bap_iso, ep->dir); in bt_bap_iso_configure_data_path() 210 static bool is_unicast_client_ep(struct bt_bap_ep *ep) in is_unicast_client_ep() argument 212 return IS_ENABLED(CONFIG_BT_BAP_UNICAST_CLIENT) && bt_bap_ep_is_unicast_client(ep); in is_unicast_client_ep() 215 void bt_bap_iso_bind_ep(struct bt_bap_iso *iso, struct bt_bap_ep *ep) in bt_bap_iso_bind_ep() argument 219 __ASSERT_NO_MSG(ep != NULL); in bt_bap_iso_bind_ep() 221 __ASSERT(ep->iso == NULL, "ep %p bound with iso %p already", ep, ep->iso); in bt_bap_iso_bind_ep() 222 __ASSERT(ep->dir == BT_AUDIO_DIR_SINK || ep->dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_bind_ep() [all …]
|
D | ascs.c | 69 #define ASE_ID(_ase) ase->ep.status.id 79 struct bt_bap_ep ep; member 128 static int ascs_ep_get_status(struct bt_bap_ep *ep, struct net_buf_simple *buf); 181 static enum bt_bap_ep_state ascs_ep_get_state(struct bt_bap_ep *ep) in ascs_ep_get_state() argument 183 return ep->status.state; in ascs_ep_get_state() 190 LOG_DBG("conn %p ase %p id 0x%02x", (void *)ase->conn, ase, ase->ep.status.id); in ase_free() 192 if (ase->ep.iso != NULL) { in ase_free() 193 bt_bap_iso_unbind_ep(ase->ep.iso, &ase->ep); in ase_free() 239 ascs_ep_get_status(&ase->ep, &ase_buf); in ase_state_notify() 261 struct bt_bap_ep *ep = &ase->ep; in ascs_disconnect_stream_work_handler() local [all …]
|
D | bap_unicast_server.c | 102 struct bt_bap_ep *ep; in bt_bap_unicast_server_reconfig() local 107 ep = stream->ep; in bt_bap_unicast_server_reconfig() 111 err = unicast_server_cb->reconfig(stream, ep->dir, codec_cfg, &ep->qos_pref, &rsp); in bt_bap_unicast_server_reconfig() 120 (void)memcpy(&ep->codec_cfg, codec_cfg, sizeof(*codec_cfg)); in bt_bap_unicast_server_reconfig() 122 return ascs_ep_set_state(ep, BT_BAP_EP_STATE_CODEC_CONFIGURED); in bt_bap_unicast_server_reconfig() 127 struct bt_bap_ep *ep = stream->ep; in bt_bap_unicast_server_start() local 129 if (ep->dir != BT_AUDIO_DIR_SINK) { in bt_bap_unicast_server_start() 131 stream, ep->dir); in bt_bap_unicast_server_start() 139 if (ep->iso->chan.state == BT_ISO_STATE_CONNECTED) { in bt_bap_unicast_server_start() 140 return ascs_ep_set_state(ep, BT_BAP_EP_STATE_STREAMING); in bt_bap_unicast_server_start() [all …]
|
D | bap_unicast_client.c | 75 struct bt_bap_ep ep; member 143 static int unicast_client_ep_set_metadata(struct bt_bap_ep *ep, void *data, uint8_t len, 146 static int unicast_client_ep_set_codec_cfg(struct bt_bap_ep *ep, uint8_t id, uint16_t cid, 149 static int unicast_client_ep_start(struct bt_bap_ep *ep, 154 static void unicast_client_reset(struct bt_bap_ep *ep, uint8_t reason); 157 static void unicast_client_ep_set_status(struct bt_bap_ep *ep, struct net_buf_simple *buf); 159 static int unicast_client_send_start(struct bt_bap_ep *ep) in unicast_client_send_start() argument 161 if (ep->receiver_ready != true || ep->dir != BT_AUDIO_DIR_SOURCE) { in unicast_client_send_start() 162 LOG_DBG("Invalid ep %p %u %s", in unicast_client_send_start() 163 ep, ep->receiver_ready, bt_audio_dir_str(ep->dir)); in unicast_client_send_start() [all …]
|
D | bap_stream.c | 79 void bt_bap_stream_attach(struct bt_conn *conn, struct bt_bap_stream *stream, struct bt_bap_ep *ep, in bt_bap_stream_attach() argument 82 LOG_DBG("conn %p stream %p ep %p codec_cfg %p", (void *)conn, stream, ep, codec_cfg); in bt_bap_stream_attach() 92 stream->ep = ep; in bt_bap_stream_attach() 93 ep->stream = stream; in bt_bap_stream_attach() 98 if (stream != NULL && stream->ep != NULL && stream->ep->iso != NULL) { in bt_bap_stream_iso_chan_get() 99 return &stream->ep->iso->chan; in bt_bap_stream_iso_chan_get() 111 int bt_bap_ep_get_info(const struct bt_bap_ep *ep, struct bt_bap_ep_info *info) in bt_bap_ep_get_info() argument 115 CHECKIF(ep == NULL) { in bt_bap_ep_get_info() 116 LOG_DBG("ep is NULL"); in bt_bap_ep_get_info() 127 dir = ep->dir; in bt_bap_ep_get_info() [all …]
|
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_endpoint.h | 18 * @param[in] ep Endpoint address 20 static inline void usbd_ep_bm_set(uint32_t *const ep_bm, const uint8_t ep) in usbd_ep_bm_set() argument 22 if (USB_EP_DIR_IS_IN(ep)) { in usbd_ep_bm_set() 23 *ep_bm |= BIT(USB_EP_GET_IDX(ep) + 16U); in usbd_ep_bm_set() 25 *ep_bm |= BIT(USB_EP_GET_IDX(ep)); in usbd_ep_bm_set() 35 * @param[in] ep Endpoint address 37 static inline void usbd_ep_bm_clear(uint32_t *const ep_bm, const uint8_t ep) in usbd_ep_bm_clear() argument 39 if (USB_EP_DIR_IS_IN(ep)) { in usbd_ep_bm_clear() 40 *ep_bm &= ~BIT(USB_EP_GET_IDX(ep) + 16U); in usbd_ep_bm_clear() 42 *ep_bm &= ~BIT(USB_EP_GET_IDX(ep)); in usbd_ep_bm_clear() [all …]
|
D | usbd_endpoint.c | 36 const uint8_t ep, in usbd_ep_disable() argument 41 ret = udc_ep_disable(dev, ep); in usbd_ep_disable() 46 usbd_ep_bm_clear(ep_bm, ep); in usbd_ep_disable() 48 ret = udc_ep_dequeue(dev, ep); in usbd_ep_disable() 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() 126 const uint8_t ep, const size_t size) in usbd_ep_buf_alloc() argument 130 return udc_ep_buf_alloc(uds_ctx->dev, ep, size); in usbd_ep_buf_alloc() 139 if (USB_EP_DIR_IS_IN(bi->ep)) { in usbd_ep_enqueue() 155 int usbd_ep_dequeue(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_dequeue() argument [all …]
|
/Zephyr-latest/subsys/usb/device/ |
D | usb_transfer.c | 24 uint8_t ep; member 49 static struct usb_transfer_data *usb_ep_get_transfer(uint8_t ep) in usb_ep_get_transfer() argument 52 if (ut_data[i].ep == ep && ut_data[i].status != 0) { in usb_ep_get_transfer() 60 bool usb_transfer_is_busy(uint8_t ep) in usb_transfer_is_busy() argument 62 struct usb_transfer_data *trans = usb_ep_get_transfer(ep); in usb_transfer_is_busy() 76 uint8_t ep; in usb_transfer_work() local 79 ep = trans->ep; in usb_transfer_work() 83 LOG_DBG("Transfer cancelled or completed, ep 0x%02x", ep); in usb_transfer_work() 102 ret = usb_write(ep, trans->buffer, trans->bsize, &bytes); in usb_transfer_work() 104 LOG_ERR("Transfer error %d, ep 0x%02x", ret, ep); in usb_transfer_work() [all …]
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_numaker.c | 48 /* OUT transaction for specific EP completed */ 50 /* IN transaction for specific EP completed */ 52 /* Re-activate queued transfer for specific EP */ 68 uint8_t ep; member 71 uint8_t ep; member 74 uint8_t ep; member 79 /* EP H/W context */ 85 uint8_t ep_hw_idx; /* BSP USBD driver EP index EP0, EP1, EP2, etc */ 86 uint32_t ep_hw_cfg; /* BSP USBD driver EP configuration */ 88 /* EP DMA buffer */ [all …]
|
D | udc_common.c | 60 #define USB_EP_LUT_IDX(ep) (USB_EP_DIR_IS_IN(ep) ? (ep & BIT_MASK(4)) + 16 : \ argument 61 ep & BIT_MASK(4)) 74 struct udc_ep_config *udc_get_ep_cfg(const struct device *dev, const uint8_t ep) in udc_get_ep_cfg() argument 78 return data->ep_lut[USB_EP_LUT_IDX(ep)]; in udc_get_ep_cfg() 81 bool udc_ep_is_busy(const struct device *dev, const uint8_t ep) in udc_ep_is_busy() argument 85 ep_cfg = udc_get_ep_cfg(dev, ep); in udc_ep_is_busy() 86 __ASSERT(ep_cfg != NULL, "ep 0x%02x is not available", ep); in udc_ep_is_busy() 91 void udc_ep_set_busy(const struct device *dev, const uint8_t ep, const bool busy) in udc_ep_set_busy() argument 95 ep_cfg = udc_get_ep_cfg(dev, ep); in udc_ep_set_busy() 96 __ASSERT(ep_cfg != NULL, "ep 0x%02x is not available", ep); in udc_ep_set_busy() [all …]
|
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/ |
D | nrf_usbd_common.c | 23 #define NRF_USBD_COMMON_EP_NUM(ep) (ep & 0xF) argument 24 #define NRF_USBD_COMMON_EP_IS_IN(ep) ((ep & 0x80) == 0x80) argument 25 #define NRF_USBD_COMMON_EP_IS_OUT(ep) ((ep & 0x80) == 0) argument 26 #define NRF_USBD_COMMON_EP_IS_ISO(ep) ((ep & 0xF) >= 8) argument 76 * @param ep Endpoint number to validity check. 78 #define NRF_USBD_COMMON_ASSERT_EP_VALID(ep) __ASSERT_NO_MSG( \ argument 79 ((NRF_USBD_COMMON_EP_IS_IN(ep) && \ 80 (NRF_USBD_COMMON_EP_NUM(ep) < NRF_USBD_COMMON_EPIN_CNT)) || \ 81 (NRF_USBD_COMMON_EP_IS_OUT(ep) && \ 82 (NRF_USBD_COMMON_EP_NUM(ep) < NRF_USBD_COMMON_EPOUT_CNT)))); [all …]
|
/Zephyr-latest/drivers/video/ |
D | video_emul_rx.c | 48 static int emul_rx_set_frmival(const struct device *dev, enum video_endpoint_id ep, in emul_rx_set_frmival() argument 54 if (ep != VIDEO_EP_IN && ep != VIDEO_EP_OUT && ep != VIDEO_EP_ALL) { in emul_rx_set_frmival() 60 static int emul_rx_get_frmival(const struct device *dev, enum video_endpoint_id ep, in emul_rx_get_frmival() argument 66 if (ep != VIDEO_EP_IN && ep != VIDEO_EP_OUT && ep != VIDEO_EP_ALL) { in emul_rx_get_frmival() 72 static int emul_rx_enum_frmival(const struct device *dev, enum video_endpoint_id ep, in emul_rx_enum_frmival() argument 78 if (ep != VIDEO_EP_IN && ep != VIDEO_EP_OUT && ep != VIDEO_EP_ALL) { in emul_rx_enum_frmival() 84 static int emul_rx_set_fmt(const struct device *const dev, enum video_endpoint_id ep, in emul_rx_set_fmt() argument 92 if (ep != VIDEO_EP_IN && ep != VIDEO_EP_OUT && ep != VIDEO_EP_ALL) { in emul_rx_set_fmt() 109 static int emul_rx_get_fmt(const struct device *dev, enum video_endpoint_id ep, in emul_rx_get_fmt() argument 115 if (ep != VIDEO_EP_IN && ep != VIDEO_EP_OUT && ep != VIDEO_EP_ALL) { in emul_rx_get_fmt() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | a2dp.c | 127 struct bt_a2dp_ep *ep; in a2dp_get_capabilities_ind() local 136 ep = CONTAINER_OF(sep, struct bt_a2dp_ep, sep); in a2dp_get_capabilities_ind() 138 net_buf_add_u8(rsp_buf, ep->codec_cap->len + 2U); in a2dp_get_capabilities_ind() 142 net_buf_add_u8(rsp_buf, ep->codec_type); in a2dp_get_capabilities_ind() 144 net_buf_add_mem(rsp_buf, &ep->codec_cap->codec_ie[0], ep->codec_cap->len); in a2dp_get_capabilities_ind() 153 struct bt_a2dp_ep *ep; in a2dp_process_config_ind() local 168 ep = CONTAINER_OF(sep, struct bt_a2dp_ep, sep); in a2dp_process_config_ind() 189 sbc = (struct bt_a2dp_codec_sbc_params *)&ep->codec_cap->codec_ie[0]; in a2dp_process_config_ind() 200 /* For reconfig, ep->stream must already be valid, callback can be NULL as default accept. in a2dp_process_config_ind() 204 stream = ep->stream; in a2dp_process_config_ind() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/uut/ |
D | bap_unicast_client.c | 27 bool bt_bap_ep_is_unicast_client(const struct bt_bap_ep *ep) in bt_bap_ep_is_unicast_client() argument 35 if (stream == NULL || stream->ep == NULL || codec_cfg == NULL) { in bt_bap_unicast_client_config() 39 switch (stream->ep->status.state) { in bt_bap_unicast_client_config() 52 stream->ep->status.state = BT_BAP_EP_STATE_CODEC_CONFIGURED; in bt_bap_unicast_client_config() 73 switch (stream->ep->status.state) { in bt_bap_unicast_client_qos() 90 stream->ep->status.state = BT_BAP_EP_STATE_QOS_CONFIGURED; in bt_bap_unicast_client_qos() 108 switch (stream->ep->status.state) { in bt_bap_unicast_client_enable() 120 stream->ep->status.state = BT_BAP_EP_STATE_ENABLING; in bt_bap_unicast_client_enable() 136 switch (stream->ep->status.state) { in bt_bap_unicast_client_metadata() 162 switch (stream->ep->status.state) { in bt_bap_unicast_client_connect() [all …]
|
/Zephyr-latest/include/zephyr/drivers/usb/ |
D | usb_dc.h | 70 /** Out transaction on this EP, data is available for read */ 72 /** In transaction done on this EP */ 112 /** The number associated with the EP in the device 114 * IN EP = 0x80 | \<endpoint number\> 115 * OUT EP = 0x00 | \<endpoint number\> 129 typedef void (*usb_dc_ep_callback)(uint8_t ep, 220 * @param[in] ep Endpoint address corresponding to the one 225 int usb_dc_ep_set_stall(const uint8_t ep); 230 * @param[in] ep Endpoint address corresponding to the one 235 int usb_dc_ep_clear_stall(const uint8_t ep); [all …]
|
/Zephyr-latest/drivers/pcie/endpoint/ |
D | Kconfig.iproc | 1 # iProc PCIe EP configuration options 7 bool "Broadcom iProc PCIe EP driver" 9 This option enables Broadcom iProc PCIe EP driver. 17 bool "Version-2 of iProc PCIe EP controller"
|