Lines Matching defs:hc_driver
238 struct hc_driver { struct
239 const char *description; /* "ehci-hcd" etc */
240 const char *product_desc; /* product/vendor string */
241 size_t hcd_priv_size; /* size of private data */
244 irqreturn_t (*irq) (struct usb_hcd *hcd);
246 int flags;
260 int (*reset) (struct usb_hcd *hcd);
261 int (*start) (struct usb_hcd *hcd);
267 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
270 int (*pci_resume)(struct usb_hcd *hcd, bool hibernated);
273 void (*stop) (struct usb_hcd *hcd);
276 void (*shutdown) (struct usb_hcd *hcd);
279 int (*get_frame_number) (struct usb_hcd *hcd);
282 int (*urb_enqueue)(struct usb_hcd *hcd,
284 int (*urb_dequeue)(struct usb_hcd *hcd,
296 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
298 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
301 void (*endpoint_disable)(struct usb_hcd *hcd,
306 void (*endpoint_reset)(struct usb_hcd *hcd,
310 int (*hub_status_data) (struct usb_hcd *hcd, char *buf);
311 int (*hub_control) (struct usb_hcd *hcd,
314 int (*bus_suspend)(struct usb_hcd *);
315 int (*bus_resume)(struct usb_hcd *);
316 int (*start_port_reset)(struct usb_hcd *, unsigned port_num);
317 unsigned long (*get_resuming_ports)(struct usb_hcd *);
320 void (*relinquish_port)(struct usb_hcd *, int);
322 int (*port_handed_over)(struct usb_hcd *, int);
325 void (*clear_tt_buffer_complete)(struct usb_hcd *,
330 int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
332 void (*free_dev)(struct usb_hcd *, struct usb_device *);
334 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
340 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
355 int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
358 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
365 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
373 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
375 int (*address_device)(struct usb_hcd *, struct usb_device *udev);
377 int (*enable_device)(struct usb_hcd *, struct usb_device *udev);
381 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
383 int (*reset_device)(struct usb_hcd *, struct usb_device *);
387 int (*update_device)(struct usb_hcd *, struct usb_device *);
388 int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
391 int (*enable_usb3_lpm_timeout)(struct usb_hcd *,
396 int (*disable_usb3_lpm_timeout)(struct usb_hcd *,
398 int (*find_raw_port_number)(struct usb_hcd *, int);
400 int (*port_power)(struct usb_hcd *hcd, int portnum, bool enable);
403 int (*submit_single_step_set_feature)(struct usb_hcd *,