Home
last modified time | relevance | path

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

/Zephyr-latest/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.c125 struct net_buf *usbd_ep_buf_alloc(const struct usbd_class_data *const c_data, in usbd_ep_buf_alloc()
133 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-latest/include/zephyr/usb/
Dusbd.h321 struct usbd_class_data;
328 void (*feature_halt)(struct usbd_class_data *const c_data,
332 void (*update)(struct usbd_class_data *const c_data,
336 int (*control_to_dev)(struct usbd_class_data *const c_data,
341 int (*control_to_host)(struct usbd_class_data *const c_data,
346 int (*request)(struct usbd_class_data *const c_data,
350 void (*suspended)(struct usbd_class_data *const c_data);
353 void (*resumed)(struct usbd_class_data *const c_data);
356 void (*sof)(struct usbd_class_data *const c_data);
359 void (*enable)(struct usbd_class_data *const c_data);
[all …]
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dsfunc.c42 static uint8_t sfunc_get_bulk_out(struct usbd_class_data *const c_data) in sfunc_get_bulk_out()
55 static uint8_t sfunc_get_bulk_in(struct usbd_class_data *const c_data) in sfunc_get_bulk_in()
68 static int sfunc_request_handler(struct usbd_class_data *c_data, in sfunc_request_handler()
103 static void *sfunc_get_desc(struct usbd_class_data *const c_data, in sfunc_get_desc()
115 struct net_buf *sfunc_buf_alloc(struct usbd_class_data *const c_data, in sfunc_buf_alloc()
141 static void sfunc_enable(struct usbd_class_data *const c_data) in sfunc_enable()
163 static void sfunc_disable(struct usbd_class_data *const c_data) in sfunc_disable()
171 static int sfunc_init(struct usbd_class_data *c_data) in sfunc_init()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_ecm.c82 struct usbd_class_data *c_data;
102 static uint8_t cdc_ecm_get_int_in(struct usbd_class_data *const c_data) in cdc_ecm_get_int_in()
116 static uint8_t cdc_ecm_get_bulk_in(struct usbd_class_data *const c_data) in cdc_ecm_get_bulk_in()
130 static uint16_t cdc_ecm_get_bulk_in_mps(struct usbd_class_data *const c_data) in cdc_ecm_get_bulk_in_mps()
141 static uint8_t cdc_ecm_get_bulk_out(struct usbd_class_data *const c_data) in cdc_ecm_get_bulk_out()
200 static int cdc_ecm_out_start(struct usbd_class_data *const c_data) in cdc_ecm_out_start()
227 static int cdc_ecm_acl_out_cb(struct usbd_class_data *const c_data, in cdc_ecm_acl_out_cb()
285 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()
359 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()
177 static void bt_hci_tx_sync_in(struct usbd_class_data *const c_data, in bt_hci_tx_sync_in()
197 struct usbd_class_data *const c_data = p1; in bt_hci_tx_thread()
243 static int bt_hci_acl_out_start(struct usbd_class_data *const c_data) in bt_hci_acl_out_start()
312 static int bt_hci_acl_out_cb(struct usbd_class_data *const c_data, in bt_hci_acl_out_cb()
369 static int bt_hci_request(struct usbd_class_data *const c_data, in bt_hci_request()
392 static void bt_hci_update(struct usbd_class_data *const c_data, in bt_hci_update()
399 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;
146 static uint8_t msc_get_bulk_in(struct usbd_class_data *const c_data) in msc_get_bulk_in()
159 static uint8_t msc_get_bulk_out(struct usbd_class_data *const c_data) in msc_get_bulk_out()
172 static void msc_queue_bulk_out_ep(struct usbd_class_data *const c_data) in msc_queue_bulk_out_ep()
200 static void msc_stall_bulk_out_ep(struct usbd_class_data *const c_data) in msc_stall_bulk_out_ep()
208 static void msc_stall_bulk_in_ep(struct usbd_class_data *const c_data) in msc_stall_bulk_in_ep()
216 static void msc_reset_handler(struct usbd_class_data *c_data) in msc_reset_handler()
565 static void usbd_msc_handle_request(struct usbd_class_data *c_data, in usbd_msc_handle_request()
653 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()
363 static int usbd_hid_ctd(struct usbd_class_data *const c_data, in usbd_hid_ctd()
388 static int usbd_hid_cth(struct usbd_class_data *const c_data, in usbd_hid_cth()
416 static void usbd_hid_sof(struct usbd_class_data *const c_data) in usbd_hid_sof()
427 static void usbd_hid_enable(struct usbd_class_data *const c_data) in usbd_hid_enable()
448 static void usbd_hid_disable(struct usbd_class_data *const c_data) in usbd_hid_disable()
462 static void usbd_hid_suspended(struct usbd_class_data *const c_data) in usbd_hid_suspended()
[all …]
Dusbd_uac2.c72 static size_t clock_frequencies(struct usbd_class_data *const c_data,
90 struct usbd_class_data *const c_data;
110 static entity_type_t id_type(struct usbd_class_data *const c_data, uint8_t id) in id_type()
123 get_as_data_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_data_ep()
145 get_as_feedback_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_feedback_ep()
302 static void schedule_iso_out_read(struct usbd_class_data *const c_data, in schedule_iso_out_read()
359 static void write_explicit_feedback(struct usbd_class_data *const c_data, in write_explicit_feedback()
399 void uac2_update(struct usbd_class_data *const c_data, in uac2_update()
581 static int get_clock_source_request(struct usbd_class_data *const c_data, in get_clock_source_request()
631 static int set_clock_source_request(struct usbd_class_data *const c_data, in set_clock_source_request()
[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()
Dusbd_cdc_acm.c85 struct usbd_class_data *c_data;
156 static uint8_t cdc_acm_get_int_in(struct usbd_class_data *const c_data) in cdc_acm_get_int_in()
170 static uint8_t cdc_acm_get_bulk_in(struct usbd_class_data *const c_data) in cdc_acm_get_bulk_in()
184 static uint8_t cdc_acm_get_bulk_out(struct usbd_class_data *const c_data) in cdc_acm_get_bulk_out()
198 static size_t cdc_acm_get_bulk_mps(struct usbd_class_data *const c_data) in cdc_acm_get_bulk_mps()
209 static int usbd_cdc_acm_request(struct usbd_class_data *const c_data, in usbd_cdc_acm_request()
275 static void usbd_cdc_acm_update(struct usbd_class_data *const c_data, in usbd_cdc_acm_update()
282 static void usbd_cdc_acm_enable(struct usbd_class_data *const c_data) in usbd_cdc_acm_enable()
305 static void usbd_cdc_acm_disable(struct usbd_class_data *const c_data) in usbd_cdc_acm_disable()
315 static void usbd_cdc_acm_suspended(struct usbd_class_data *const c_data) in usbd_cdc_acm_suspended()
[all …]
Dusbd_cdc_ncm.c219 struct usbd_class_data *c_data;
245 static uint8_t cdc_ncm_get_int_in(struct usbd_class_data *const c_data) in cdc_ncm_get_int_in()
259 static uint8_t cdc_ncm_get_bulk_in(struct usbd_class_data *const c_data) in cdc_ncm_get_bulk_in()
273 static uint16_t cdc_ncm_get_bulk_in_mps(struct usbd_class_data *const c_data) in cdc_ncm_get_bulk_in_mps()
284 static uint8_t cdc_ncm_get_bulk_out(struct usbd_class_data *const c_data) in cdc_ncm_get_bulk_out()
314 static int cdc_ncm_out_start(struct usbd_class_data *const c_data) in cdc_ncm_out_start()
502 static int cdc_ncm_acl_out_cb(struct usbd_class_data *const c_data, in cdc_ncm_acl_out_cb()
637 static int usbd_cdc_ncm_request(struct usbd_class_data *const c_data, in usbd_cdc_ncm_request()
670 struct usbd_class_data *c_data = data->c_data; in cdc_ncm_send_notification()
733 struct usbd_class_data *c_data = data->c_data; in cdc_ncm_send_speed_change()
[all …]