Lines Matching defs:hc_driver

201 struct hc_driver {  struct
202 const char *description; /* "ehci-hcd" etc */
203 const char *product_desc; /* product/vendor string */
204 size_t hcd_priv_size; /* size of private data */
207 irqreturn_t (*irq) (struct usb_hcd *hcd);
209 int flags;
219 int (*reset) (struct usb_hcd *hcd);
220 int (*start) (struct usb_hcd *hcd);
226 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
229 int (*pci_resume)(struct usb_hcd *hcd, bool hibernated);
232 void (*stop) (struct usb_hcd *hcd);
235 void (*shutdown) (struct usb_hcd *hcd);
238 int (*get_frame_number) (struct usb_hcd *hcd);
241 int (*urb_enqueue)(struct usb_hcd *hcd,
243 int (*urb_dequeue)(struct usb_hcd *hcd,
255 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
257 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
260 void (*endpoint_disable)(struct usb_hcd *hcd,
265 void (*endpoint_reset)(struct usb_hcd *hcd,
269 int (*hub_status_data) (struct usb_hcd *hcd, char *buf);
270 int (*hub_control) (struct usb_hcd *hcd,
273 int (*bus_suspend)(struct usb_hcd *);
274 int (*bus_resume)(struct usb_hcd *);
275 int (*start_port_reset)(struct usb_hcd *, unsigned port_num);
278 void (*relinquish_port)(struct usb_hcd *, int);
280 int (*port_handed_over)(struct usb_hcd *, int);
283 void (*clear_tt_buffer_complete)(struct usb_hcd *,
288 int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
290 void (*free_dev)(struct usb_hcd *, struct usb_device *);
292 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
298 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
313 int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
316 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
323 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
331 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
333 int (*address_device)(struct usb_hcd *, struct usb_device *udev);
337 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
339 int (*reset_device)(struct usb_hcd *, struct usb_device *);
343 int (*update_device)(struct usb_hcd *, struct usb_device *);
344 int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);