Lines Matching defs:usb_bus_methods
55 struct usb_bus_methods { struct
58 usb_handle_req_t *roothub_exec;
60 void (*endpoint_init) (struct usb_device *,
62 void (*xfer_setup) (struct usb_setup_params *);
63 void (*xfer_unsetup) (struct usb_xfer *);
64 void (*get_dma_delay) (struct usb_device *, uint32_t *);
65 void (*device_suspend) (struct usb_device *);
66 void (*device_resume) (struct usb_device *);
67 void (*set_hw_power) (struct usb_bus *);
68 void (*set_hw_power_sleep) (struct usb_bus *, uint32_t);
109 …et_hw_ep_profile) (struct usb_device *udev, const struct usb_hw_ep_profile **ppf, uint8_t ep_addr);
110 void (*xfer_stall) (struct usb_xfer *xfer);
111 void (*set_stall) (struct usb_device *udev, struct usb_endpoint *ep, uint8_t *did_stall);
115 void (*clear_stall) (struct usb_device *udev, struct usb_endpoint *ep);
119 void (*xfer_poll) (struct usb_bus *);
123 void (*get_power_mode) (struct usb_device *udev, int8_t *pmode);
127 void (*endpoint_uninit) (struct usb_device *, struct usb_endpoint *);
131 usb_error_t (*device_init) (struct usb_device *);
135 void (*device_uninit) (struct usb_device *);
139 void (*start_dma_delay) (struct usb_xfer *);
141 void (*device_state_change) (struct usb_device *);
145 usb_error_t (*set_address) (struct usb_device *, struct mtx *, uint16_t);
149 usb_error_t (*set_endpoint_mode) (struct usb_device *, struct usb_endpoint *, uint8_t);