Lines Matching refs:device

63 void udc_set_suspended(const struct device *dev, const bool value)  in udc_set_suspended()
74 struct udc_ep_config *udc_get_ep_cfg(const struct device *dev, const uint8_t 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()
91 void udc_ep_set_busy(const struct device *dev, const uint8_t ep, const bool busy) in udc_ep_set_busy()
100 int udc_register_ep(const struct device *dev, struct udc_ep_config *const cfg) in udc_register_ep()
118 struct net_buf *udc_buf_get(const struct device *dev, const uint8_t ep) in udc_buf_get()
130 struct net_buf *udc_buf_get_all(const struct device *dev, const uint8_t ep) in udc_buf_get_all()
157 struct net_buf *udc_buf_peek(const struct device *dev, const uint8_t ep) in udc_buf_peek()
198 int udc_submit_event(const struct device *dev, in udc_submit_event()
212 int udc_submit_ep_event(const struct device *dev, in udc_submit_ep_event()
238 static bool ep_check_config(const struct device *dev, in ep_check_config()
301 static void ep_update_mps(const struct device *dev, in ep_update_mps()
331 int udc_ep_try_config(const struct device *dev, in udc_ep_try_config()
358 int udc_ep_enable_internal(const struct device *dev, in udc_ep_enable_internal()
396 int udc_ep_enable(const struct device *dev, in udc_ep_enable()
424 int udc_ep_disable_internal(const struct device *dev, const uint8_t ep) in udc_ep_disable_internal()
446 int udc_ep_disable(const struct device *dev, const uint8_t ep) in udc_ep_disable()
470 int udc_ep_set_halt(const struct device *dev, const uint8_t ep) in udc_ep_set_halt()
507 int udc_ep_clear_halt(const struct device *dev, const uint8_t ep) in udc_ep_clear_halt()
547 static void udc_debug_ep_enqueue(const struct device *dev, in udc_debug_ep_enqueue()
569 int udc_ep_enqueue(const struct device *dev, struct net_buf *const buf) in udc_ep_enqueue()
612 int udc_ep_dequeue(const struct device *dev, const uint8_t ep) in udc_ep_dequeue()
651 struct net_buf *udc_ep_buf_alloc(const struct device *dev, in udc_ep_buf_alloc()
677 struct net_buf *udc_ctrl_alloc(const struct device *dev, in udc_ctrl_alloc()
692 int udc_ep_buf_free(const struct device *dev, struct net_buf *const buf) in udc_ep_buf_free()
704 enum udc_bus_speed udc_device_speed(const struct device *dev) in udc_device_speed()
728 int udc_enable(const struct device *dev) in udc_enable()
759 int udc_disable(const struct device *dev) in udc_disable()
781 int udc_init(const struct device *dev, in udc_init()
813 int udc_shutdown(const struct device *dev) in udc_shutdown()
841 struct net_buf *udc_ctrl_alloc_stage(const struct device *dev, in udc_ctrl_alloc_stage()
860 static struct net_buf *udc_ctrl_alloc_data(const struct device *dev, in udc_ctrl_alloc_data()
877 static struct net_buf *udc_ctrl_alloc_status(const struct device *dev, in udc_ctrl_alloc_status()
894 int udc_ctrl_submit_s_out_status(const struct device *dev, in udc_ctrl_submit_s_out_status()
913 int udc_ctrl_submit_s_in_status(const struct device *dev) in udc_ctrl_submit_s_in_status()
932 int udc_ctrl_submit_s_status(const struct device *dev) in udc_ctrl_submit_s_status()
947 int udc_ctrl_submit_status(const struct device *dev, in udc_ctrl_submit_status()
957 bool udc_ctrl_stage_is_data_out(const struct device *dev) in udc_ctrl_stage_is_data_out()
964 bool udc_ctrl_stage_is_data_in(const struct device *dev) in udc_ctrl_stage_is_data_in()
971 bool udc_ctrl_stage_is_status_out(const struct device *dev) in udc_ctrl_stage_is_status_out()
978 bool udc_ctrl_stage_is_status_in(const struct device *dev) in udc_ctrl_stage_is_status_in()
985 bool udc_ctrl_stage_is_no_data(const struct device *dev) in udc_ctrl_stage_is_no_data()
999 void udc_ctrl_update_stage(const struct device *dev, in udc_ctrl_update_stage()