/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_ch9.h | 19 static inline bool usbd_state_is_default(const struct usbd_context *const uds_ctx) in usbd_state_is_default() 31 static inline bool usbd_state_is_address(const struct usbd_context *const uds_ctx) in usbd_state_is_address() 43 static inline bool usbd_state_is_configured(const struct usbd_context *const uds_ctx) in usbd_state_is_configured() 55 static inline uint8_t usbd_get_config_value(const struct usbd_context *const uds_ctx) in usbd_get_config_value() 66 static inline void usbd_set_config_value(struct usbd_context *const uds_ctx, in usbd_set_config_value() 81 static inline int usbd_get_alt_value(const struct usbd_context *const uds_ctx, in usbd_get_alt_value() 103 static inline int usbd_set_alt_value(struct usbd_context *const uds_ctx, in usbd_set_alt_value() 124 usbd_get_setup_pkt(struct usbd_context *const uds_ctx) in usbd_get_setup_pkt()
|
D | usbd_device.c | 23 enum usbd_speed usbd_bus_speed(const struct usbd_context *const uds_ctx) in usbd_bus_speed() 28 enum usbd_speed usbd_caps_speed(const struct usbd_context *const uds_ctx) in usbd_caps_speed() 41 get_device_descriptor(struct usbd_context *const uds_ctx, in get_device_descriptor() 55 int usbd_device_set_bcd_usb(struct usbd_context *const uds_ctx, in usbd_device_set_bcd_usb() 76 int usbd_device_set_vid(struct usbd_context *const uds_ctx, in usbd_device_set_vid() 100 int usbd_device_set_pid(struct usbd_context *const uds_ctx, in usbd_device_set_pid() 124 int usbd_device_set_bcd_device(struct usbd_context *const uds_ctx, in usbd_device_set_bcd_device() 148 int usbd_device_set_code_triple(struct usbd_context *const uds_ctx, in usbd_device_set_code_triple() 173 int usbd_wakeup_request(struct usbd_context *const uds_ctx) in usbd_wakeup_request() 200 bool usbd_is_suspended(struct usbd_context *uds_ctx) in usbd_is_suspended() [all …]
|
D | usbd_device.h | 41 static inline uint8_t usbd_get_num_configs(const struct usbd_context *const uds_ctx, in usbd_get_num_configs() 65 static inline void usbd_set_num_configs(struct usbd_context *const uds_ctx, in usbd_set_num_configs() 89 static inline bool usbd_is_enabled(const struct usbd_context *const uds_ctx) in usbd_is_enabled() 101 static inline bool usbd_is_initialized(const struct usbd_context *const uds_ctx) in usbd_is_initialized() 112 static inline void usbd_status_suspended(struct usbd_context *const uds_ctx, in usbd_status_suspended() 123 static inline void usbd_device_lock(struct usbd_context *const uds_ctx) in usbd_device_lock() 133 static inline void usbd_device_unlock(struct usbd_context *const uds_ctx) in usbd_device_unlock()
|
D | usbd_endpoint.c | 58 static void usbd_ep_ctrl_set_zlp(struct usbd_context *const uds_ctx, in usbd_ep_ctrl_set_zlp() 102 int usbd_ep_ctrl_enqueue(struct usbd_context *const uds_ctx, in usbd_ep_ctrl_enqueue() 128 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_ep_buf_alloc() local 136 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_ep_enqueue() local 150 int usbd_ep_buf_free(struct usbd_context *const uds_ctx, struct net_buf *buf) in usbd_ep_buf_free() 155 int usbd_ep_dequeue(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_dequeue() 160 int usbd_ep_set_halt(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_set_halt() 176 int usbd_ep_clear_halt(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_clear_halt() 192 bool usbd_ep_is_halted(struct usbd_context *const uds_ctx, const uint8_t ep) in usbd_ep_is_halted()
|
D | usbd_ch9.c | 46 static void ch9_set_ctrl_type(struct usbd_context *const uds_ctx, in ch9_set_ctrl_type() 52 static int ch9_get_ctrl_type(struct usbd_context *const uds_ctx) in ch9_get_ctrl_type() 57 static int post_status_stage(struct usbd_context *const uds_ctx) in post_status_stage() 84 static int sreq_set_address(struct usbd_context *const uds_ctx) in sreq_set_address() 127 static int sreq_set_configuration(struct usbd_context *const uds_ctx) in sreq_set_configuration() 182 static int sreq_set_interface(struct usbd_context *const uds_ctx) in sreq_set_interface() 218 static void sreq_feature_halt_notify(struct usbd_context *const uds_ctx, in sreq_feature_halt_notify() 228 static int sreq_clear_feature(struct usbd_context *const uds_ctx) in sreq_clear_feature() 283 static int set_feature_test_mode(struct usbd_context *const uds_ctx) in set_feature_test_mode() 304 static int sreq_set_feature(struct usbd_context *const uds_ctx) in sreq_set_feature() [all …]
|
D | usbd_core.c | 40 static int event_handler_ep_request(struct usbd_context *const uds_ctx, in event_handler_ep_request() 62 static void usbd_class_bcast_event(struct usbd_context *const uds_ctx, in usbd_class_bcast_event() 95 static int event_handler_bus_reset(struct usbd_context *const uds_ctx) in event_handler_bus_reset() 136 static ALWAYS_INLINE void usbd_event_handler(struct usbd_context *const uds_ctx, in usbd_event_handler() 192 struct usbd_context *uds_ctx; in usbd_thread() local 205 int usbd_device_init_core(struct usbd_context *const uds_ctx) in usbd_device_init_core() 226 int usbd_device_shutdown_core(struct usbd_context *const uds_ctx) in usbd_device_shutdown_core()
|
D | usbd_config.c | 19 static sys_slist_t *usbd_configs(struct usbd_context *uds_ctx, in usbd_configs() 32 struct usbd_config_node *usbd_config_get(struct usbd_context *const uds_ctx, in usbd_config_get() 48 usbd_config_get_current(struct usbd_context *const uds_ctx) in usbd_config_get_current() 74 static int usbd_config_reset(struct usbd_context *const uds_ctx) in usbd_config_reset() 95 bool usbd_config_exist(struct usbd_context *const uds_ctx, in usbd_config_exist() 106 int usbd_config_set(struct usbd_context *const uds_ctx, in usbd_config_set() 146 int usbd_config_attrib_rwup(struct usbd_context *const uds_ctx, in usbd_config_attrib_rwup() 188 int usbd_config_attrib_self(struct usbd_context *const uds_ctx, in usbd_config_attrib_self() 222 int usbd_config_maxpower(struct usbd_context *const uds_ctx, in usbd_config_maxpower() 252 int usbd_add_configuration(struct usbd_context *const uds_ctx, in usbd_add_configuration()
|
D | usbd_class.c | 47 usbd_class_get_by_config(struct usbd_context *const uds_ctx, in usbd_class_get_by_config() 70 usbd_class_get_by_iface(struct usbd_context *const uds_ctx, in usbd_class_get_by_iface() 90 static bool xfer_owner_exist(struct usbd_context *const uds_ctx, in xfer_owner_exist() 117 int usbd_class_handle_xfer(struct usbd_context *const uds_ctx, in usbd_class_handle_xfer() 140 usbd_class_get_by_ep(struct usbd_context *const uds_ctx, in usbd_class_get_by_ep() 178 usbd_class_get_by_req(struct usbd_context *const uds_ctx, in usbd_class_get_by_req() 232 static int usbd_class_append(struct usbd_context *const uds_ctx, in usbd_class_append() 249 static int usbd_class_remove(struct usbd_context *const uds_ctx, in usbd_class_remove() 268 int usbd_class_remove_all(struct usbd_context *const uds_ctx, in usbd_class_remove_all() 295 int usbd_register_class(struct usbd_context *const uds_ctx, in usbd_register_class() [all …]
|
D | usbd_desc.c | 31 static int desc_add_and_update_idx(struct usbd_context *const uds_ctx, in desc_add_and_update_idx() 83 struct usbd_desc_node *usbd_get_descriptor(struct usbd_context *const uds_ctx, in usbd_get_descriptor() 105 int usbd_desc_remove_all(struct usbd_context *const uds_ctx) in usbd_desc_remove_all() 119 int usbd_add_descriptor(struct usbd_context *const uds_ctx, in usbd_add_descriptor()
|
D | usbd_interface.c | 25 static int handle_ep_op(struct usbd_context *const uds_ctx, in handle_ep_op() 53 static int usbd_interface_modify(struct usbd_context *const uds_ctx, in usbd_interface_modify() 110 int usbd_interface_shutdown(struct usbd_context *const uds_ctx, in usbd_interface_shutdown() 142 int usbd_interface_default(struct usbd_context *const uds_ctx, in usbd_interface_default() 168 int usbd_interface_set(struct usbd_context *const uds_ctx, in usbd_interface_set()
|
D | usbd_init.c | 65 static int unassign_eps(struct usbd_context *const uds_ctx, in unassign_eps() 111 static int init_configuration_inst(struct usbd_context *const uds_ctx, in init_configuration_inst() 205 static int init_configuration(struct usbd_context *const uds_ctx, in init_configuration() 257 static void usbd_init_update_fs_mps0(struct usbd_context *const uds_ctx) in usbd_init_update_fs_mps0() 278 int usbd_init_configurations(struct usbd_context *const uds_ctx) in usbd_init_configurations()
|
D | usbd_msg.c | 90 int usbd_msg_register_cb(struct usbd_context *const uds_ctx, in usbd_msg_register_cb()
|
/Zephyr-latest/samples/subsys/usb/webusb-next/src/ |
D | sfunc.c | 45 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in sfunc_get_bulk_out() local 58 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in sfunc_get_bulk_in() local 71 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in sfunc_request_handler() local 118 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in sfunc_buf_alloc() local 144 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in sfunc_enable() local
|
/Zephyr-latest/samples/subsys/usb/common/ |
D | sample_usbd_init.c | 69 static void sample_fix_code_triple(struct usbd_context *uds_ctx, in sample_fix_code_triple()
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_cdc_ecm.c | 104 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ecm_get_int_in() local 118 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ecm_get_bulk_in() local 132 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ecm_get_bulk_in_mps() local 143 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ecm_get_bulk_out() local 288 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_cdc_ecm_request() local 442 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_cdc_ecm_init() local
|
D | usbd_cdc_acm.c | 158 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_acm_get_int_in() local 172 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_acm_get_bulk_in() local 186 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_acm_get_bulk_out() local 200 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_acm_get_bulk_mps() local 212 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_cdc_acm_request() local 449 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_cdc_acm_ctd() local
|
D | bt_hci.c | 137 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in bt_hci_get_bulk_in() local 150 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in bt_hci_get_bulk_out() local 372 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in bt_hci_request() local
|
D | usbd_cdc_ncm.c | 247 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ncm_get_int_in() local 261 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ncm_get_bulk_in() local 275 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ncm_get_bulk_in_mps() local 286 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ncm_get_bulk_out() local 640 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_cdc_ncm_request() local 734 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in cdc_ncm_send_speed_change() local 974 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_cdc_ncm_init() local
|
D | usbd_msc.c | 148 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in msc_get_bulk_in() local 161 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in msc_get_bulk_out() local 568 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_msc_handle_request() local
|
D | loopback.c | 115 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in lb_request_handler() local
|
D | usbd_uac2.c | 363 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in write_explicit_feedback() local 403 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in uac2_update() local 742 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in uac2_request() local
|
D | usbd_hid.c | 105 struct usbd_context *uds_ctx = usbd_class_get_ctx(c_data); in usbd_hid_request() local
|
/Zephyr-latest/include/zephyr/usb/ |
D | usbd.h | 382 struct usbd_context *uds_ctx; member
|