Lines Matching refs:numaker_usbd_ep

87 struct numaker_usbd_ep {  struct
145 struct numaker_usbd_ep ep_pool[NUMAKER_USBD_EP_MAXNUM]; argument
249 static inline uint32_t numaker_usbd_ep_fifo_max(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_fifo_max()
258 static inline uint32_t numaker_usbd_ep_fifo_used(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_fifo_used()
271 static void numaker_usbd_ep_fifo_reset(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_fifo_reset()
286 static inline void numaker_usbd_ep_set_stall(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_set_stall()
296 static inline void numaker_usbd_ep_clear_stall_n_data_toggle(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_clear_stall_n_data_toggle()
308 static inline bool numaker_usbd_ep_is_stalled(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_is_stalled()
509 static int numaker_usbd_ep_fifo_copy_to_user(struct numaker_usbd_ep *ep_cur, uint8_t *usrbuf, in numaker_usbd_ep_fifo_copy_to_user()
539 static int numaker_usbd_ep_fifo_copy_from_user(struct numaker_usbd_ep *ep_cur, in numaker_usbd_ep_fifo_copy_from_user()
570 static void numaker_usbd_ep_fifo_update(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_fifo_update()
596 static void numaker_usbd_ep_config_dmabuf(struct numaker_usbd_ep *ep_cur, uint32_t dmabuf_base, in numaker_usbd_ep_config_dmabuf()
609 static void numaker_usbd_ep_abort(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_abort()
622 static void numaker_usbd_ep_config_major(struct numaker_usbd_ep *ep_cur, in numaker_usbd_ep_config_major()
657 static void numaker_usbd_ep_enable(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_enable()
680 static void numaker_usbd_ep_disable(struct numaker_usbd_ep *ep_cur) in numaker_usbd_ep_disable()
693 static void numaker_usbd_ep_trigger(struct numaker_usbd_ep *ep_cur, uint32_t len) in numaker_usbd_ep_trigger()
701 static struct numaker_usbd_ep *numaker_usbd_ep_mgmt_alloc_ep(const struct device *dev) in numaker_usbd_ep_mgmt_alloc_ep()
706 struct numaker_usbd_ep *ep_cur = NULL; in numaker_usbd_ep_mgmt_alloc_ep()
757 struct numaker_usbd_ep *ep_cur; in numaker_usbd_ep_mgmt_init()
758 struct numaker_usbd_ep *ep_end; in numaker_usbd_ep_mgmt_init()
808 static struct numaker_usbd_ep *numaker_usbd_ep_mgmt_find_ep(const struct device *dev, in numaker_usbd_ep_mgmt_find_ep()
814 struct numaker_usbd_ep *ep_cur = ep_mgmt->ep_pool; in numaker_usbd_ep_mgmt_find_ep()
815 struct numaker_usbd_ep *ep_end = ep_mgmt->ep_pool + config->num_bidir_endpoints; in numaker_usbd_ep_mgmt_find_ep()
835 static struct numaker_usbd_ep *numaker_usbd_ep_mgmt_bind_ep(const struct device *dev, in numaker_usbd_ep_mgmt_bind_ep()
838 struct numaker_usbd_ep *ep_cur = numaker_usbd_ep_mgmt_find_ep(dev, ep); in numaker_usbd_ep_mgmt_bind_ep()
867 struct numaker_usbd_ep *ep_cur = ep_mgmt->ep_pool; in numaker_usbd_bus_reset_bh()
868 struct numaker_usbd_ep *ep_end = ep_mgmt->ep_pool + config->num_bidir_endpoints; in numaker_usbd_bus_reset_bh()
885 static void numaker_usbd_ep_bh(struct numaker_usbd_ep *ep_cur, in numaker_usbd_ep_bh()
974 struct numaker_usbd_ep *ep_cur; in numaker_usbd_msg_cb_ep()
1218 struct numaker_usbd_ep *ep_ctrlout = ep_mgmt->ep_pool + 0; in numaker_udbd_isr()
1352 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_check_cap()
1406 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_set_callback()
1434 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_configure()
1477 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_set_stall()
1506 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_clear_stall()
1535 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_is_stalled()
1570 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_enable()
1610 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_disable()
1638 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_flush()
1667 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_write()
1766 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_read_wait()
1852 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_read_continue()
1896 struct numaker_usbd_ep *ep_cur; in usb_dc_ep_mps()