Home
last modified time | relevance | path

Searched defs:uds_ctx (Results 1 – 16 of 16) sorted by relevance

/Zephyr-Core-3.5.0/subsys/usb/device_next/
Dusbd_ch9.h19 static inline bool usbd_state_is_default(const struct usbd_contex *const uds_ctx) in usbd_state_is_default()
31 static inline bool usbd_state_is_address(const struct usbd_contex *const uds_ctx) in usbd_state_is_address()
43 static inline bool usbd_state_is_configured(const struct usbd_contex *const uds_ctx) in usbd_state_is_configured()
55 static inline uint8_t usbd_get_config_value(const struct usbd_contex *const uds_ctx) in usbd_get_config_value()
66 static inline void usbd_set_config_value(struct usbd_contex *const uds_ctx, in usbd_set_config_value()
81 static inline int usbd_get_alt_value(const struct usbd_contex *const uds_ctx, in usbd_get_alt_value()
103 static inline int usbd_set_alt_value(struct usbd_contex *const uds_ctx, in usbd_set_alt_value()
124 usbd_get_setup_pkt(struct usbd_contex *const uds_ctx) in usbd_get_setup_pkt()
Dusbd_device.h19 static inline uint8_t usbd_get_num_configs(const struct usbd_contex *const uds_ctx) in usbd_get_num_configs()
33 static inline void usbd_set_num_configs(struct usbd_contex *const uds_ctx, in usbd_set_num_configs()
48 static inline bool usbd_is_enabled(const struct usbd_contex *const uds_ctx) in usbd_is_enabled()
60 static inline bool usbd_is_initialized(const struct usbd_contex *const uds_ctx) in usbd_is_initialized()
71 static inline void usbd_status_suspended(struct usbd_contex *const uds_ctx, in usbd_status_suspended()
82 static inline void usbd_device_lock(struct usbd_contex *const uds_ctx) in usbd_device_lock()
92 static inline void usbd_device_unlock(struct usbd_contex *const uds_ctx) in usbd_device_unlock()
Dusbd_device.c23 int usbd_device_set_bcd(struct usbd_contex *const uds_ctx, in usbd_device_set_bcd()
43 int usbd_device_set_vid(struct usbd_contex *const uds_ctx, in usbd_device_set_vid()
63 int usbd_device_set_pid(struct usbd_contex *const uds_ctx, in usbd_device_set_pid()
83 int usbd_device_set_class(struct usbd_contex *const uds_ctx, in usbd_device_set_class()
103 int usbd_device_set_subclass(struct usbd_contex *const uds_ctx, in usbd_device_set_subclass()
123 int usbd_device_set_proto(struct usbd_contex *const uds_ctx, in usbd_device_set_proto()
143 int usbd_wakeup_request(struct usbd_contex *const uds_ctx) in usbd_wakeup_request()
170 bool usbd_is_suspended(struct usbd_contex *uds_ctx) in usbd_is_suspended()
175 int usbd_init(struct usbd_contex *const uds_ctx) in usbd_init()
211 int usbd_enable(struct usbd_contex *const uds_ctx) in usbd_enable()
[all …]
Dusbd_ch9.c38 static void ch9_set_ctrl_type(struct usbd_contex *const uds_ctx, in ch9_set_ctrl_type()
44 static int ch9_get_ctrl_type(struct usbd_contex *const uds_ctx) in ch9_get_ctrl_type()
49 static int set_address_after_status_stage(struct usbd_contex *const uds_ctx) in set_address_after_status_stage()
65 static int sreq_set_address(struct usbd_contex *const uds_ctx) in sreq_set_address()
96 static int sreq_set_configuration(struct usbd_contex *const uds_ctx) in sreq_set_configuration()
146 static int sreq_set_interface(struct usbd_contex *const uds_ctx) in sreq_set_interface()
182 static void sreq_feature_halt_notify(struct usbd_contex *const uds_ctx, in sreq_feature_halt_notify()
192 static int sreq_clear_feature(struct usbd_contex *const uds_ctx) in sreq_clear_feature()
247 static int sreq_set_feature(struct usbd_contex *const uds_ctx) in sreq_set_feature()
305 static int std_request_to_device(struct usbd_contex *const uds_ctx, in std_request_to_device()
[all …]
Dusbd_endpoint.c58 static void usbd_ep_ctrl_set_zlp(struct usbd_contex *const uds_ctx, in usbd_ep_ctrl_set_zlp()
89 struct net_buf *usbd_ep_ctrl_buf_alloc(struct usbd_contex *const uds_ctx, in usbd_ep_ctrl_buf_alloc()
100 int usbd_ep_ctrl_enqueue(struct usbd_contex *const uds_ctx, in usbd_ep_ctrl_enqueue()
126 struct usbd_contex *uds_ctx = c_nd->data->uds_ctx; in usbd_ep_buf_alloc() local
134 struct usbd_contex *uds_ctx = c_nd->data->uds_ctx; in usbd_ep_enqueue() local
148 int usbd_ep_buf_free(struct usbd_contex *const uds_ctx, struct net_buf *buf) in usbd_ep_buf_free()
153 int usbd_ep_dequeue(struct usbd_contex *const uds_ctx, const uint8_t ep) in usbd_ep_dequeue()
158 int usbd_ep_set_halt(struct usbd_contex *const uds_ctx, const uint8_t ep) in usbd_ep_set_halt()
174 int usbd_ep_clear_halt(struct usbd_contex *const uds_ctx, const uint8_t ep) in usbd_ep_clear_halt()
190 bool usbd_ep_is_halted(struct usbd_contex *const uds_ctx, const uint8_t ep) in usbd_ep_is_halted()
Dusbd_config.c19 struct usbd_config_node *usbd_config_get(struct usbd_contex *const uds_ctx, in usbd_config_get()
34 usbd_config_get_current(struct usbd_contex *const uds_ctx) in usbd_config_get_current()
59 static int usbd_config_reset(struct usbd_contex *const uds_ctx) in usbd_config_reset()
80 bool usbd_config_exist(struct usbd_contex *const uds_ctx, in usbd_config_exist()
90 int usbd_config_set(struct usbd_contex *const uds_ctx, in usbd_config_set()
129 int usbd_config_attrib_rwup(struct usbd_contex *const uds_ctx, in usbd_config_attrib_rwup()
170 int usbd_config_attrib_self(struct usbd_contex *const uds_ctx, in usbd_config_attrib_self()
203 int usbd_config_maxpower(struct usbd_contex *const uds_ctx, in usbd_config_maxpower()
232 int usbd_add_configuration(struct usbd_contex *const uds_ctx, in usbd_add_configuration()
Dusbd_core.c39 static int event_handler_ep_request(struct usbd_contex *const uds_ctx, in event_handler_ep_request()
63 static void usbd_class_bcast_event(struct usbd_contex *const uds_ctx, in usbd_class_bcast_event()
93 static int event_handler_bus_reset(struct usbd_contex *const uds_ctx) in event_handler_bus_reset()
124 static ALWAYS_INLINE int usbd_event_handler(struct usbd_contex *const uds_ctx, in usbd_event_handler()
182 int usbd_device_init_core(struct usbd_contex *const uds_ctx) in usbd_device_init_core()
203 int usbd_device_shutdown_core(struct usbd_contex *const uds_ctx) in usbd_device_shutdown_core()
Dusbd_class.c49 usbd_class_get_by_config(struct usbd_contex *const uds_ctx, in usbd_class_get_by_config()
71 usbd_class_get_by_iface(struct usbd_contex *const uds_ctx, in usbd_class_get_by_iface()
91 static bool xfer_owner_exist(struct usbd_contex *const uds_ctx, in xfer_owner_exist()
118 int usbd_class_handle_xfer(struct usbd_contex *const uds_ctx, in usbd_class_handle_xfer()
147 usbd_class_get_by_ep(struct usbd_contex *const uds_ctx, in usbd_class_get_by_ep()
183 usbd_class_get_by_req(struct usbd_contex *const uds_ctx, in usbd_class_get_by_req()
226 static int usbd_class_append(struct usbd_contex *const uds_ctx, in usbd_class_append()
242 static int usbd_class_remove(struct usbd_contex *const uds_ctx, in usbd_class_remove()
260 int usbd_class_remove_all(struct usbd_contex *const uds_ctx, in usbd_class_remove_all()
286 int usbd_register_class(struct usbd_contex *const uds_ctx, in usbd_register_class()
[all …]
Dusbd_init.c65 static int unassign_eps(struct usbd_contex *const uds_ctx, in unassign_eps()
111 static int init_configuration_inst(struct usbd_contex *const uds_ctx, in init_configuration_inst()
189 static int init_configuration(struct usbd_contex *const uds_ctx, in init_configuration()
240 static void usbd_init_update_mps0(struct usbd_contex *const uds_ctx) in usbd_init_update_mps0()
261 int usbd_init_configurations(struct usbd_contex *const uds_ctx) in usbd_init_configurations()
Dusbd_interface.c25 static int handle_ep_op(struct usbd_contex *const uds_ctx, in handle_ep_op()
53 static int usbd_interface_modify(struct usbd_contex *const uds_ctx, in usbd_interface_modify()
110 int usbd_interface_shutdown(struct usbd_contex *const uds_ctx, in usbd_interface_shutdown()
142 int usbd_interface_default(struct usbd_contex *const uds_ctx, in usbd_interface_default()
167 int usbd_interface_set(struct usbd_contex *const uds_ctx, in usbd_interface_set()
Dusbd_desc.c122 static int desc_add_and_update_idx(struct usbd_contex *const uds_ctx, in desc_add_and_update_idx()
174 void *usbd_get_descriptor(struct usbd_contex *const uds_ctx, in usbd_get_descriptor()
190 int usbd_desc_remove_all(struct usbd_contex *const uds_ctx) in usbd_desc_remove_all()
203 int usbd_add_descriptor(struct usbd_contex *const uds_ctx, in usbd_add_descriptor()
/Zephyr-Core-3.5.0/subsys/usb/device_next/class/
Dbt_hci.c361 struct usbd_contex *uds_ctx = c_nd->data->uds_ctx; in bt_hci_request() local
Dusbd_cdc_ecm.c242 struct usbd_contex *uds_ctx = c_nd->data->uds_ctx; in usbd_cdc_ecm_request() local
Dusbd_msc.c560 struct usbd_contex *uds_ctx = node->data->uds_ctx; in usbd_msc_handle_request() local
Dusbd_cdc_acm.c158 struct usbd_contex *uds_ctx = c_nd->data->uds_ctx; in usbd_cdc_acm_request() local
/Zephyr-Core-3.5.0/include/zephyr/usb/
Dusbd.h247 struct usbd_contex *uds_ctx; member