Lines Matching defs:hc_driver

249 struct hc_driver {  struct
250 const char *description; /* "ehci-hcd" etc */
251 const char *product_desc; /* product/vendor string */
252 size_t hcd_priv_size; /* size of private data */
255 irqreturn_t (*irq) (struct usb_hcd *hcd);
257 int flags;
271 int (*reset) (struct usb_hcd *hcd);
272 int (*start) (struct usb_hcd *hcd);
278 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
281 int (*pci_resume)(struct usb_hcd *hcd, bool hibernated);
284 void (*stop) (struct usb_hcd *hcd);
287 void (*shutdown) (struct usb_hcd *hcd);
290 int (*get_frame_number) (struct usb_hcd *hcd);
293 int (*urb_enqueue)(struct usb_hcd *hcd,
295 int (*urb_dequeue)(struct usb_hcd *hcd,
307 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
309 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
312 void (*endpoint_disable)(struct usb_hcd *hcd,
317 void (*endpoint_reset)(struct usb_hcd *hcd,
321 int (*hub_status_data) (struct usb_hcd *hcd, char *buf);
322 int (*hub_control) (struct usb_hcd *hcd,
325 int (*bus_suspend)(struct usb_hcd *);
326 int (*bus_resume)(struct usb_hcd *);
327 int (*start_port_reset)(struct usb_hcd *, unsigned port_num);
328 unsigned long (*get_resuming_ports)(struct usb_hcd *);
331 void (*relinquish_port)(struct usb_hcd *, int);
333 int (*port_handed_over)(struct usb_hcd *, int);
336 void (*clear_tt_buffer_complete)(struct usb_hcd *,
341 int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
343 void (*free_dev)(struct usb_hcd *, struct usb_device *);
345 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
351 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
366 int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
369 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
376 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
384 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
386 int (*address_device)(struct usb_hcd *, struct usb_device *udev);
388 int (*enable_device)(struct usb_hcd *, struct usb_device *udev);
392 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
394 int (*reset_device)(struct usb_hcd *, struct usb_device *);
398 int (*update_device)(struct usb_hcd *, struct usb_device *);
399 int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
402 int (*enable_usb3_lpm_timeout)(struct usb_hcd *,
407 int (*disable_usb3_lpm_timeout)(struct usb_hcd *,
409 int (*find_raw_port_number)(struct usb_hcd *, int);
411 int (*port_power)(struct usb_hcd *hcd, int portnum, bool enable);