Home
last modified time | relevance | path

Searched refs:usbd_class_data (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.7.0/subsys/usb/device_next/
Dusbd_class_api.h29 static inline int usbd_class_request(struct usbd_class_data *const c_data, in usbd_class_request()
62 static inline int usbd_class_control_to_host(struct usbd_class_data *const c_data, in usbd_class_control_to_host()
95 static inline int usbd_class_control_to_dev(struct usbd_class_data *const c_data, in usbd_class_control_to_dev()
123 static inline void usbd_class_feature_halt(struct usbd_class_data *const c_data, in usbd_class_feature_halt()
147 static inline void usbd_class_update(struct usbd_class_data *const c_data, in usbd_class_update()
164 static inline void usbd_class_suspended(struct usbd_class_data *const c_data) in usbd_class_suspended()
179 static inline void usbd_class_resumed(struct usbd_class_data *const c_data) in usbd_class_resumed()
195 static inline void usbd_class_sof(struct usbd_class_data *const c_data) in usbd_class_sof()
211 static inline void usbd_class_enable(struct usbd_class_data *const c_data) in usbd_class_enable()
227 static inline void usbd_class_disable(struct usbd_class_data *const c_data) in usbd_class_disable()
[all …]
Dusbd_class.h37 size_t usbd_class_desc_len(struct usbd_class_data *const c_data,
Dusbd_endpoint.c112 struct net_buf *usbd_ep_buf_alloc(const struct usbd_class_data *const c_data, in usbd_ep_buf_alloc()
120 int usbd_ep_enqueue(const struct usbd_class_data *const c_data, in usbd_ep_enqueue()
Dusbd_class.c27 size_t usbd_class_desc_len(struct usbd_class_data *const c_data, in usbd_class_desc_len()
300 struct usbd_class_data *c_data; in usbd_register_class()
384 struct usbd_class_data *c_data; in usbd_unregister_class()
/Zephyr-Core-3.7.0/include/zephyr/usb/
Dusbd.h265 struct usbd_class_data;
272 void (*feature_halt)(struct usbd_class_data *const c_data,
276 void (*update)(struct usbd_class_data *const c_data,
280 int (*control_to_dev)(struct usbd_class_data *const c_data,
285 int (*control_to_host)(struct usbd_class_data *const c_data,
290 int (*request)(struct usbd_class_data *const c_data,
294 void (*suspended)(struct usbd_class_data *const c_data);
297 void (*resumed)(struct usbd_class_data *const c_data);
300 void (*sof)(struct usbd_class_data *const c_data);
303 void (*enable)(struct usbd_class_data *const c_data);
[all …]
/Zephyr-Core-3.7.0/subsys/usb/device_next/class/
Dusbd_cdc_ecm.c82 struct usbd_class_data *c_data;
103 static uint8_t cdc_ecm_get_int_in(struct usbd_class_data *const c_data) in cdc_ecm_get_int_in()
117 static uint8_t cdc_ecm_get_bulk_in(struct usbd_class_data *const c_data) in cdc_ecm_get_bulk_in()
131 static uint16_t cdc_ecm_get_bulk_in_mps(struct usbd_class_data *const c_data) in cdc_ecm_get_bulk_in_mps()
142 static uint8_t cdc_ecm_get_bulk_out(struct usbd_class_data *const c_data) in cdc_ecm_get_bulk_out()
202 static int cdc_ecm_out_start(struct usbd_class_data *const c_data) in cdc_ecm_out_start()
233 static int cdc_ecm_acl_out_cb(struct usbd_class_data *const c_data, in cdc_ecm_acl_out_cb()
283 static int usbd_cdc_ecm_request(struct usbd_class_data *const c_data, in usbd_cdc_ecm_request()
316 struct usbd_class_data *c_data = data->c_data; in cdc_ecm_send_notification()
362 static void usbd_cdc_ecm_update(struct usbd_class_data *const c_data, in usbd_cdc_ecm_update()
[all …]
Dbt_hci.c127 static uint8_t bt_hci_get_int_in(struct usbd_class_data *const c_data) in bt_hci_get_int_in()
135 static uint8_t bt_hci_get_bulk_in(struct usbd_class_data *const c_data) in bt_hci_get_bulk_in()
148 static uint8_t bt_hci_get_bulk_out(struct usbd_class_data *const c_data) in bt_hci_get_bulk_out()
178 static void bt_hci_tx_sync_in(struct usbd_class_data *const c_data, in bt_hci_tx_sync_in()
198 struct usbd_class_data *const c_data = p1; in bt_hci_tx_thread()
244 static int bt_hci_acl_out_start(struct usbd_class_data *const c_data) in bt_hci_acl_out_start()
313 static int bt_hci_acl_out_cb(struct usbd_class_data *const c_data, in bt_hci_acl_out_cb()
370 static int bt_hci_request(struct usbd_class_data *const c_data, in bt_hci_request()
393 static void bt_hci_update(struct usbd_class_data *const c_data, in bt_hci_update()
400 static void bt_hci_enable(struct usbd_class_data *const c_data) in bt_hci_enable()
[all …]
Dusbd_msc.c71 struct usbd_class_data *c_data;
114 struct usbd_class_data *class_node;
147 static uint8_t msc_get_bulk_in(struct usbd_class_data *const c_data) in msc_get_bulk_in()
160 static uint8_t msc_get_bulk_out(struct usbd_class_data *const c_data) in msc_get_bulk_out()
173 static void msc_queue_bulk_out_ep(struct usbd_class_data *const c_data) in msc_queue_bulk_out_ep()
201 static void msc_stall_bulk_out_ep(struct usbd_class_data *const c_data) in msc_stall_bulk_out_ep()
209 static void msc_stall_bulk_in_ep(struct usbd_class_data *const c_data) in msc_stall_bulk_in_ep()
217 static void msc_reset_handler(struct usbd_class_data *c_data) in msc_reset_handler()
566 static void usbd_msc_handle_request(struct usbd_class_data *c_data, in usbd_msc_handle_request()
654 static void msc_bot_schedule_reset(struct usbd_class_data *c_data) in msc_bot_schedule_reset()
[all …]
Dusbd_hid.c65 struct usbd_class_data *c_data;
84 static inline uint8_t hid_get_in_ep(struct usbd_class_data *const c_data) in hid_get_in_ep()
93 static inline uint8_t hid_get_out_ep(struct usbd_class_data *const c_data) in hid_get_out_ep()
102 static int usbd_hid_request(struct usbd_class_data *const c_data, in usbd_hid_request()
362 static int usbd_hid_ctd(struct usbd_class_data *const c_data, in usbd_hid_ctd()
387 static int usbd_hid_cth(struct usbd_class_data *const c_data, in usbd_hid_cth()
415 static void usbd_hid_sof(struct usbd_class_data *const c_data) in usbd_hid_sof()
426 static void usbd_hid_enable(struct usbd_class_data *const c_data) in usbd_hid_enable()
447 static void usbd_hid_disable(struct usbd_class_data *const c_data) in usbd_hid_disable()
461 static void usbd_hid_suspended(struct usbd_class_data *const c_data) in usbd_hid_suspended()
[all …]
Dusbd_uac2.c71 static size_t clock_frequencies(struct usbd_class_data *const c_data,
88 struct usbd_class_data *const c_data;
107 static entity_type_t id_type(struct usbd_class_data *const c_data, uint8_t id) in id_type()
120 get_as_data_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_data_ep()
135 get_as_feedback_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_feedback_ep()
281 static void schedule_iso_out_read(struct usbd_class_data *const c_data, in schedule_iso_out_read()
338 static void write_explicit_feedback(struct usbd_class_data *const c_data, in write_explicit_feedback()
383 void uac2_update(struct usbd_class_data *const c_data, in uac2_update()
502 static int get_clock_source_request(struct usbd_class_data *const c_data, in get_clock_source_request()
544 static int uac2_control_to_host(struct usbd_class_data *const c_data, in uac2_control_to_host()
[all …]
Dusbd_cdc_acm.c83 struct usbd_class_data *c_data;
145 static uint8_t cdc_acm_get_int_in(struct usbd_class_data *const c_data) in cdc_acm_get_int_in()
159 static uint8_t cdc_acm_get_bulk_in(struct usbd_class_data *const c_data) in cdc_acm_get_bulk_in()
173 static uint8_t cdc_acm_get_bulk_out(struct usbd_class_data *const c_data) in cdc_acm_get_bulk_out()
187 static size_t cdc_acm_get_bulk_mps(struct usbd_class_data *const c_data) in cdc_acm_get_bulk_mps()
198 static int usbd_cdc_acm_request(struct usbd_class_data *const c_data, in usbd_cdc_acm_request()
252 static void usbd_cdc_acm_update(struct usbd_class_data *const c_data, in usbd_cdc_acm_update()
259 static void usbd_cdc_acm_enable(struct usbd_class_data *const c_data) in usbd_cdc_acm_enable()
282 static void usbd_cdc_acm_disable(struct usbd_class_data *const c_data) in usbd_cdc_acm_disable()
292 static void usbd_cdc_acm_suspended(struct usbd_class_data *const c_data) in usbd_cdc_acm_suspended()
[all …]
Dloopback.c58 static void lb_update(struct usbd_class_data *c_data, in lb_update()
65 static int lb_control_to_host(struct usbd_class_data *c_data, in lb_control_to_host()
90 static int lb_control_to_dev(struct usbd_class_data *c_data, in lb_control_to_dev()
112 static int lb_request_handler(struct usbd_class_data *c_data, in lb_request_handler()
124 static void *lb_get_desc(struct usbd_class_data *const c_data, in lb_get_desc()
136 static int lb_init(struct usbd_class_data *c_data) in lb_init()