Lines Matching defs:hc_driver
251 struct hc_driver { struct
252 const char *description; /* "ehci-hcd" etc */
253 const char *product_desc; /* product/vendor string */
254 size_t hcd_priv_size; /* size of private data */
257 irqreturn_t (*irq) (struct usb_hcd *hcd);
259 int flags;
273 int (*reset) (struct usb_hcd *hcd);
274 int (*start) (struct usb_hcd *hcd);
280 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
283 int (*pci_resume)(struct usb_hcd *hcd, bool hibernated);
286 void (*stop) (struct usb_hcd *hcd);
289 void (*shutdown) (struct usb_hcd *hcd);
292 int (*get_frame_number) (struct usb_hcd *hcd);
295 int (*urb_enqueue)(struct usb_hcd *hcd,
297 int (*urb_dequeue)(struct usb_hcd *hcd,
309 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
311 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
314 void (*endpoint_disable)(struct usb_hcd *hcd,
319 void (*endpoint_reset)(struct usb_hcd *hcd,
323 int (*hub_status_data) (struct usb_hcd *hcd, char *buf);
324 int (*hub_control) (struct usb_hcd *hcd,
327 int (*bus_suspend)(struct usb_hcd *);
328 int (*bus_resume)(struct usb_hcd *);
329 int (*start_port_reset)(struct usb_hcd *, unsigned port_num);
330 unsigned long (*get_resuming_ports)(struct usb_hcd *);
333 void (*relinquish_port)(struct usb_hcd *, int);
335 int (*port_handed_over)(struct usb_hcd *, int);
338 void (*clear_tt_buffer_complete)(struct usb_hcd *,
343 int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
345 void (*free_dev)(struct usb_hcd *, struct usb_device *);
347 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
353 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
368 int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
371 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
378 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
386 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
388 int (*address_device)(struct usb_hcd *, struct usb_device *udev);
390 int (*enable_device)(struct usb_hcd *, struct usb_device *udev);
394 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
396 int (*reset_device)(struct usb_hcd *, struct usb_device *);
400 int (*update_device)(struct usb_hcd *, struct usb_device *);
401 int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
404 int (*enable_usb3_lpm_timeout)(struct usb_hcd *,
409 int (*disable_usb3_lpm_timeout)(struct usb_hcd *,
411 int (*find_raw_port_number)(struct usb_hcd *, int);
413 int (*port_power)(struct usb_hcd *hcd, int portnum, bool enable);
416 int (*submit_single_step_set_feature)(struct usb_hcd *,