Lines Matching defs:hc_driver

227 struct hc_driver {  struct
228 const char *description; /* "ehci-hcd" etc */
229 const char *product_desc; /* product/vendor string */
230 size_t hcd_priv_size; /* size of private data */
233 irqreturn_t (*irq) (struct usb_hcd *hcd);
235 int flags;
247 int (*reset) (struct usb_hcd *hcd);
248 int (*start) (struct usb_hcd *hcd);
254 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
257 int (*pci_resume)(struct usb_hcd *hcd, bool hibernated);
260 void (*stop) (struct usb_hcd *hcd);
263 void (*shutdown) (struct usb_hcd *hcd);
266 int (*get_frame_number) (struct usb_hcd *hcd);
269 int (*urb_enqueue)(struct usb_hcd *hcd,
271 int (*urb_dequeue)(struct usb_hcd *hcd,
283 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
285 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
288 void (*endpoint_disable)(struct usb_hcd *hcd,
293 void (*endpoint_reset)(struct usb_hcd *hcd,
297 int (*hub_status_data) (struct usb_hcd *hcd, char *buf);
298 int (*hub_control) (struct usb_hcd *hcd,
301 int (*bus_suspend)(struct usb_hcd *);
302 int (*bus_resume)(struct usb_hcd *);
303 int (*start_port_reset)(struct usb_hcd *, unsigned port_num);
306 void (*relinquish_port)(struct usb_hcd *, int);
308 int (*port_handed_over)(struct usb_hcd *, int);
311 void (*clear_tt_buffer_complete)(struct usb_hcd *,
316 int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
318 void (*free_dev)(struct usb_hcd *, struct usb_device *);
320 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
326 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
341 int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
344 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
351 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
359 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
361 int (*address_device)(struct usb_hcd *, struct usb_device *udev);
363 int (*enable_device)(struct usb_hcd *, struct usb_device *udev);
367 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
369 int (*reset_device)(struct usb_hcd *, struct usb_device *);
373 int (*update_device)(struct usb_hcd *, struct usb_device *);
374 int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
377 int (*enable_usb3_lpm_timeout)(struct usb_hcd *,
382 int (*disable_usb3_lpm_timeout)(struct usb_hcd *,
384 int (*find_raw_port_number)(struct usb_hcd *, int);
386 int (*port_power)(struct usb_hcd *hcd, int portnum, bool enable);