Lines Matching refs:usbd_contex
163 struct usbd_contex { struct
247 struct usbd_contex *uds_ctx;
299 static STRUCT_SECTION_ITERABLE(usbd_contex, device_name) = { \
445 int usbd_add_descriptor(struct usbd_contex *uds_ctx,
456 int usbd_add_configuration(struct usbd_contex *uds_ctx,
479 int usbd_register_class(struct usbd_contex *uds_ctx,
496 int usbd_unregister_class(struct usbd_contex *uds_ctx,
513 int usbd_init(struct usbd_contex *uds_ctx);
524 int usbd_enable(struct usbd_contex *uds_ctx);
535 int usbd_disable(struct usbd_contex *uds_ctx);
546 int usbd_shutdown(struct usbd_contex *const uds_ctx);
556 int usbd_ep_set_halt(struct usbd_contex *uds_ctx, uint8_t ep);
566 int usbd_ep_clear_halt(struct usbd_contex *uds_ctx, uint8_t ep);
576 bool usbd_ep_is_halted(struct usbd_contex *uds_ctx, uint8_t ep);
589 struct net_buf *usbd_ep_ctrl_buf_alloc(struct usbd_contex *const uds_ctx,
616 int usbd_ep_ctrl_enqueue(struct usbd_contex *const uds_ctx,
640 int usbd_ep_dequeue(struct usbd_contex *uds_ctx, const uint8_t ep);
652 int usbd_ep_buf_free(struct usbd_contex *uds_ctx, struct net_buf *buf);
661 bool usbd_is_suspended(struct usbd_contex *uds_ctx);
668 int usbd_wakeup_request(struct usbd_contex *uds_ctx);
678 int usbd_device_set_bcd(struct usbd_contex *const uds_ctx,
689 int usbd_device_set_vid(struct usbd_contex *const uds_ctx,
700 int usbd_device_set_pid(struct usbd_contex *const uds_ctx,
711 int usbd_device_set_class(struct usbd_contex *const uds_ctx,
722 int usbd_device_set_subclass(struct usbd_contex *const uds_ctx,
733 int usbd_device_set_proto(struct usbd_contex *const uds_ctx,
745 int usbd_config_attrib_rwup(struct usbd_contex *const uds_ctx,
757 int usbd_config_attrib_self(struct usbd_contex *const uds_ctx,
769 int usbd_config_maxpower(struct usbd_contex *const uds_ctx,