Home
last modified time | relevance | path

Searched refs:udc_ep_config (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/include/zephyr/drivers/usb/
Dudc.h110 struct udc_ep_config { struct
229 struct udc_ep_config *const cfg,
232 struct udc_ep_config *const cfg);
234 struct udc_ep_config *const cfg);
236 struct udc_ep_config *const cfg);
238 struct udc_ep_config *const cfg);
240 struct udc_ep_config *const cfg);
242 struct udc_ep_config *const cfg);
277 struct udc_ep_config *ep_lut[32];
739 static inline uint16_t udc_mps_ep_size(const struct udc_ep_config *const cfg) in udc_mps_ep_size()
/Zephyr-latest/drivers/usb/udc/
Dudc_skeleton.c44 struct udc_ep_config *ep_cfg_in;
45 struct udc_ep_config *ep_cfg_out;
83 struct udc_ep_config *const cfg, in udc_skeleton_ep_enqueue()
115 struct udc_ep_config *const cfg) in udc_skeleton_ep_dequeue()
138 struct udc_ep_config *const cfg) in udc_skeleton_ep_enable()
150 struct udc_ep_config *const cfg) in udc_skeleton_ep_disable()
159 struct udc_ep_config *const cfg) in udc_skeleton_ep_set_halt()
173 struct udc_ep_config *const cfg) in udc_skeleton_ep_clear_halt()
388 static struct udc_ep_config \
390 static struct udc_ep_config \
Dudc_virtual.c30 struct udc_ep_config *ep_cfg_in;
31 struct udc_ep_config *ep_cfg_out;
67 struct udc_ep_config *cfg; in ctrl_ep_clear_halt()
79 struct udc_ep_config *ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in vrt_ctrl_feed_dout()
162 struct udc_ep_config *ep_cfg; in vrt_handle_out()
229 struct udc_ep_config *ep_cfg; in vrt_handle_in()
392 struct udc_ep_config *cfg, in udc_vrt_ep_enqueue()
407 struct udc_ep_config *cfg) in udc_vrt_ep_dequeue()
424 struct udc_ep_config *cfg) in udc_vrt_ep_enable()
430 struct udc_ep_config *cfg) in udc_vrt_ep_disable()
[all …]
Dudc_ambiq.c66 struct udc_ep_config *ep_cfg_in;
67 struct udc_ep_config *ep_cfg_out;
80 struct udc_ep_config *cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in usbd_ctrl_feed_dout()
126 struct udc_ep_config *cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in udc_ambiq_rx()
252 static int udc_ambiq_ep_enqueue(const struct device *dev, struct udc_ep_config *ep_cfg, in udc_ambiq_ep_enqueue()
276 static int udc_ambiq_ep_dequeue(const struct device *dev, struct udc_ep_config *ep_cfg) in udc_ambiq_ep_dequeue()
298 static int udc_ambiq_ep_set_halt(const struct device *dev, struct udc_ep_config *ep_cfg) in udc_ambiq_ep_set_halt()
312 static int udc_ambiq_ep_clear_halt(const struct device *dev, struct udc_ep_config *ep_cfg) in udc_ambiq_ep_clear_halt()
334 static int udc_ambiq_ep_enable(const struct device *dev, struct udc_ep_config *ep_cfg) in udc_ambiq_ep_enable()
370 static int udc_ambiq_ep_disable(const struct device *dev, struct udc_ep_config *ep_cfg) in udc_ambiq_ep_disable()
[all …]
Dudc_common.h58 struct udc_ep_config *udc_get_ep_cfg(const struct device *dev,
133 void udc_buf_put(struct udc_ep_config *const ep_cfg,
216 struct udc_ep_config *const cfg);
Dudc_kinetis.c90 struct udc_ep_config *ep_cfg_in;
91 struct udc_ep_config *ep_cfg_out;
130 struct udc_ep_config *const cfg);
134 struct udc_ep_config *const cfg, in usbfsotg_get_ebd()
181 struct udc_ep_config *const cfg, in usbfsotg_xfer_continue()
220 struct udc_ep_config *const cfg) in usbfsotg_xfer_next()
236 struct udc_ep_config *cfg; in usbfsotg_ctrl_feed_start()
260 struct udc_ep_config *cfg; in usbfsotg_ctrl_feed_start_next()
469 struct udc_ep_config *ep_cfg; in xfer_work_handler()
529 struct udc_ep_config *ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_IN); in set_control_in_pid_data1()
[all …]
Dudc_common.c74 struct udc_ep_config *udc_get_ep_cfg(const struct device *dev, const uint8_t ep) in udc_get_ep_cfg()
83 struct udc_ep_config *ep_cfg; in udc_ep_is_busy()
93 struct udc_ep_config *ep_cfg; in udc_ep_set_busy()
100 int udc_register_ep(const struct device *dev, struct udc_ep_config *const cfg) in udc_register_ep()
120 struct udc_ep_config *ep_cfg; in udc_buf_get()
132 struct udc_ep_config *ep_cfg; in udc_buf_get_all()
159 struct udc_ep_config *ep_cfg; in udc_buf_peek()
169 void udc_buf_put(struct udc_ep_config *const ep_cfg, in udc_buf_put()
239 const struct udc_ep_config *const cfg, in ep_check_config()
302 const struct udc_ep_config *const cfg, in ep_update_mps()
[all …]
Dudc_dwc2.h43 struct udc_ep_config *ep_cfg_in;
44 struct udc_ep_config *ep_cfg_out;
Dudc_rpi_pico.c30 struct udc_ep_config *ep_cfg_in;
31 struct udc_ep_config *ep_cfg_out;
196 struct net_buf *const buf, struct udc_ep_config *const cfg) in rpi_pico_prep_rx()
228 struct net_buf *const buf, struct udc_ep_config *const cfg) in rpi_pico_prep_tx()
266 struct udc_ep_config *ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in rpi_pico_ctrl_feed_dout()
335 struct udc_ep_config *const cfg) in rpi_pico_handle_evt_dout()
371 struct udc_ep_config *const cfg) in rpi_pico_handle_evt_din()
413 struct udc_ep_config *const cfg) in rpi_pico_handle_xfer_next()
439 struct udc_ep_config *ep_cfg; in rpi_pico_thread_handler()
497 struct udc_ep_config *ep_cfg = udc_get_ep_cfg(dev, ep); in rpi_pico_handle_buff_status_in()
[all …]
Dudc_mcux_ehci.c42 struct udc_ep_config *ep_cfg_in;
43 struct udc_ep_config *ep_cfg_out;
97 struct udc_ep_config *const cfg, in udc_mcux_ep_feed()
146 struct udc_ep_config *const cfg) in udc_mcux_ep_try_feed()
167 struct udc_ep_config *cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in udc_mcux_ctrl_feed_dout()
443 struct udc_ep_config *cfg; in udc_mcux_work_handler()
578 struct udc_ep_config *const cfg, in udc_mcux_ep_enqueue()
591 struct udc_ep_config *const cfg) in udc_mcux_ep_dequeue()
609 struct udc_ep_config *const cfg) in udc_mcux_ep_set_halt()
615 struct udc_ep_config *const cfg) in udc_mcux_ep_clear_halt()
[all …]
Dudc_mcux_ip3511.c42 struct udc_ep_config *ep_cfg_in;
43 struct udc_ep_config *ep_cfg_out;
97 struct udc_ep_config *const cfg, in udc_mcux_ep_feed()
146 struct udc_ep_config *const cfg) in udc_mcux_ep_try_feed()
167 struct udc_ep_config *cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in udc_mcux_ctrl_feed_dout()
443 struct udc_ep_config *cfg; in udc_mcux_work_handler()
578 struct udc_ep_config *const cfg, in udc_mcux_ep_enqueue()
591 struct udc_ep_config *const cfg) in udc_mcux_ep_dequeue()
609 struct udc_ep_config *const cfg) in udc_mcux_ep_set_halt()
615 struct udc_ep_config *const cfg) in udc_mcux_ep_clear_halt()
[all …]
Dudc_nrf.c71 static struct udc_ep_config ep_cfg_out[CFG_EPOUT_CNT + CFG_EP_ISOOUT_CNT + 1];
72 static struct udc_ep_config ep_cfg_in[CFG_EPIN_CNT + CFG_EP_ISOIN_CNT + 1];
307 struct udc_ep_config *cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in usbd_ctrl_feed_dout()
503 struct udc_ep_config *ep_cfg; in udc_sof_check_iso_out()
585 struct udc_ep_config *cfg, in udc_nrf_ep_enqueue()
607 struct udc_ep_config *cfg) in udc_nrf_ep_dequeue()
634 struct udc_ep_config *cfg) in udc_nrf_ep_enable()
656 struct udc_ep_config *cfg) in udc_nrf_ep_disable()
666 struct udc_ep_config *cfg) in udc_nrf_ep_set_halt()
681 struct udc_ep_config *cfg) in udc_nrf_ep_clear_halt()
Dudc_renesas_ra.c21 struct udc_ep_config *ep_cfg_in;
22 struct udc_ep_config *ep_cfg_out;
127 struct udc_ep_config *cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in usbd_ctrl_feed_dout()
321 static int udc_renesas_ra_ep_enqueue(const struct device *dev, struct udc_ep_config *const cfg, in udc_renesas_ra_ep_enqueue()
346 static int udc_renesas_ra_ep_dequeue(const struct device *dev, struct udc_ep_config *const cfg) in udc_renesas_ra_ep_dequeue()
370 static int udc_renesas_ra_ep_enable(const struct device *dev, struct udc_ep_config *const cfg) in udc_renesas_ra_ep_enable()
395 static int udc_renesas_ra_ep_disable(const struct device *dev, struct udc_ep_config *const cfg) in udc_renesas_ra_ep_disable()
412 static int udc_renesas_ra_ep_set_halt(const struct device *dev, struct udc_ep_config *const cfg) in udc_renesas_ra_ep_set_halt()
427 static int udc_renesas_ra_ep_clear_halt(const struct device *dev, struct udc_ep_config *const cfg) in udc_renesas_ra_ep_clear_halt()
718 static struct udc_ep_config ep_cfg_in##n[DT_PROP(DT_INST_PARENT(n), num_bidir_endpoints)]; \
[all …]
Dudc_stm32.c80 struct udc_ep_config *ep; in HAL_PCD_ResetCallback()
131 struct udc_ep_config *cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in usbd_ctrl_feed_dout()
420 struct udc_ep_config *ep, in udc_stm32_ep_mem_config()
480 struct udc_ep_config *ep, in udc_stm32_ep_mem_config()
640 struct udc_ep_config *ep_cfg) in udc_stm32_ep_enable()
683 struct udc_ep_config *ep) in udc_stm32_ep_disable()
701 struct udc_ep_config *cfg) in udc_stm32_ep_set_halt()
719 struct udc_ep_config *cfg) in udc_stm32_ep_clear_halt()
737 struct udc_ep_config *cfg) in udc_stm32_ep_flush()
755 struct udc_ep_config *epcfg, in udc_stm32_ep_enqueue()
[all …]
Dudc_smartbond.c89 struct udc_ep_config config;
277 const struct udc_ep_config *const ep_cfg = &ep_state->config; in fill_tx_fifo()
326 struct udc_ep_config *const ep_cfg = &ep_state->config; in try_allocate_dma()
360 struct udc_ep_config *const ep_cfg = &ep_state->config; in start_rx_packet()
414 struct udc_ep_config *const ep_cfg = &ep_state->config; in start_tx_packet()
457 struct udc_ep_config *const ep_cfg = &ep_state->config; in read_rx_fifo()
480 struct udc_ep_config *ep0_out_config = &ep0_out_state->config; in handle_ep0_rx()
482 struct udc_ep_config *ep0_in_config; in handle_ep0_rx()
530 static void udc_smartbond_ep_abort(const struct device *dev, struct udc_ep_config *const ep_cfg) in udc_smartbond_ep_abort()
606 static int udc_smartbond_ep_enqueue(const struct device *dev, struct udc_ep_config *const ep_cfg, in udc_smartbond_ep_enqueue()
[all …]
Dudc_dwc2.c311 struct udc_ep_config *const cfg, const bool enabled) in dwc2_set_epint()
331 static bool dwc2_ep_is_periodic(struct udc_ep_config *const cfg) in dwc2_ep_is_periodic()
343 static bool dwc2_ep_is_iso(struct udc_ep_config *const cfg) in dwc2_ep_is_iso()
369 struct udc_ep_config *const cfg, struct net_buf *const buf) in dwc2_tx_fifo_write()
576 struct udc_ep_config *const cfg) in dwc2_prep_rx()
649 struct udc_ep_config *const cfg) in dwc2_handle_xfer_next()
681 struct udc_ep_config *ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in dwc2_ctrl_feed_dout()
752 struct udc_ep_config *const cfg) in dwc2_handle_evt_dout()
805 struct udc_ep_config *const cfg) in dwc2_handle_evt_din()
1131 struct udc_ep_config *tmp; in dwc2_unset_unused_fifo()
[all …]
Dudc_numaker.c110 struct udc_ep_config *ep_cfg_out;
111 struct udc_ep_config *ep_cfg_in;
230 struct udc_ep_config *ep_cfg; in numaker_usbd_ep_sync_udc_halt()
521 struct udc_ep_config *const ep_cfg) in numaker_usbd_ep_config_major()
858 struct udc_ep_config *ep_cfg; in numaker_usbd_ctrl_feed_dout()
1379 static int udc_numaker_ep_enqueue(const struct device *dev, struct udc_ep_config *const ep_cfg, in udc_numaker_ep_enqueue()
1397 static int udc_numaker_ep_dequeue(const struct device *dev, struct udc_ep_config *const ep_cfg) in udc_numaker_ep_dequeue()
1419 static int udc_numaker_ep_set_halt(const struct device *dev, struct udc_ep_config *const ep_cfg) in udc_numaker_ep_set_halt()
1438 static int udc_numaker_ep_clear_halt(const struct device *dev, struct udc_ep_config *const ep_cfg) in udc_numaker_ep_clear_halt()
1463 static int udc_numaker_ep_enable(const struct device *dev, struct udc_ep_config *const ep_cfg) in udc_numaker_ep_enable()
[all …]
Dudc_it82xx2.c143 struct udc_ep_config *ep_cfg_in;
144 struct udc_ep_config *ep_cfg_out;
481 static int it82xx2_ep_enqueue(const struct device *dev, struct udc_ep_config *const cfg, in it82xx2_ep_enqueue()
490 static int it82xx2_ep_dequeue(const struct device *dev, struct udc_ep_config *const cfg) in it82xx2_ep_dequeue()
552 static int it82xx2_ep_set_halt(const struct device *dev, struct udc_ep_config *const cfg) in it82xx2_ep_set_halt()
568 static int it82xx2_ep_clear_halt(const struct device *dev, struct udc_ep_config *const cfg) in it82xx2_ep_clear_halt()
579 static int it82xx2_ep_enable(const struct device *dev, struct udc_ep_config *const cfg) in it82xx2_ep_enable()
625 static int it82xx2_ep_disable(const struct device *dev, struct udc_ep_config *const cfg) in it82xx2_ep_disable()
759 struct udc_ep_config *ep_cfg = udc_get_ep_cfg(dev, ep); in it82xx2_xfer_in_data()
882 struct udc_ep_config *cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_OUT); in it82xx2_ctrl_feed_dout()
[all …]