Lines Matching defs:hc_driver

237 struct hc_driver {  struct
238 const char *description; /* "ehci-hcd" etc */
239 const char *product_desc; /* product/vendor string */
240 size_t hcd_priv_size; /* size of private data */
243 irqreturn_t (*irq) (struct usb_hcd *hcd);
245 int flags;
258 int (*reset) (struct usb_hcd *hcd);
259 int (*start) (struct usb_hcd *hcd);
265 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
268 int (*pci_resume)(struct usb_hcd *hcd, pm_message_t state);
271 int (*pci_poweroff_late)(struct usb_hcd *hcd, bool do_wakeup);
274 void (*stop) (struct usb_hcd *hcd);
277 void (*shutdown) (struct usb_hcd *hcd);
280 int (*get_frame_number) (struct usb_hcd *hcd);
283 int (*urb_enqueue)(struct usb_hcd *hcd,
285 int (*urb_dequeue)(struct usb_hcd *hcd,
297 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
299 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
302 void (*endpoint_disable)(struct usb_hcd *hcd,
307 void (*endpoint_reset)(struct usb_hcd *hcd,
311 int (*hub_status_data) (struct usb_hcd *hcd, char *buf);
312 int (*hub_control) (struct usb_hcd *hcd,
315 int (*bus_suspend)(struct usb_hcd *);
316 int (*bus_resume)(struct usb_hcd *);
317 int (*start_port_reset)(struct usb_hcd *, unsigned port_num);
318 unsigned long (*get_resuming_ports)(struct usb_hcd *);
321 void (*relinquish_port)(struct usb_hcd *, int);
323 int (*port_handed_over)(struct usb_hcd *, int);
326 void (*clear_tt_buffer_complete)(struct usb_hcd *,
331 int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
333 void (*free_dev)(struct usb_hcd *, struct usb_device *);
335 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
341 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
356 int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
359 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
366 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
374 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
376 int (*address_device)(struct usb_hcd *, struct usb_device *udev,
379 int (*enable_device)(struct usb_hcd *, struct usb_device *udev);
383 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
385 int (*reset_device)(struct usb_hcd *, struct usb_device *);
389 int (*update_device)(struct usb_hcd *, struct usb_device *);
390 int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
393 int (*enable_usb3_lpm_timeout)(struct usb_hcd *,
398 int (*disable_usb3_lpm_timeout)(struct usb_hcd *,
400 int (*find_raw_port_number)(struct usb_hcd *, int);
402 int (*port_power)(struct usb_hcd *hcd, int portnum, bool enable);
405 int (*submit_single_step_set_feature)(struct usb_hcd *,