Lines Matching defs:hc_driver
243 struct hc_driver { struct
244 const char *description; /* "ehci-hcd" etc */
245 const char *product_desc; /* product/vendor string */
246 size_t hcd_priv_size; /* size of private data */
249 irqreturn_t (*irq) (struct usb_hcd *hcd);
251 int flags;
264 int (*reset) (struct usb_hcd *hcd);
265 int (*start) (struct usb_hcd *hcd);
271 int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
274 int (*pci_resume)(struct usb_hcd *hcd, pm_message_t state);
277 int (*pci_poweroff_late)(struct usb_hcd *hcd, bool do_wakeup);
280 void (*stop) (struct usb_hcd *hcd);
283 void (*shutdown) (struct usb_hcd *hcd);
286 int (*get_frame_number) (struct usb_hcd *hcd);
289 int (*urb_enqueue)(struct usb_hcd *hcd,
291 int (*urb_dequeue)(struct usb_hcd *hcd,
303 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
305 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
308 void (*endpoint_disable)(struct usb_hcd *hcd,
313 void (*endpoint_reset)(struct usb_hcd *hcd,
317 int (*hub_status_data) (struct usb_hcd *hcd, char *buf);
318 int (*hub_control) (struct usb_hcd *hcd,
321 int (*bus_suspend)(struct usb_hcd *);
322 int (*bus_resume)(struct usb_hcd *);
323 int (*start_port_reset)(struct usb_hcd *, unsigned port_num);
324 unsigned long (*get_resuming_ports)(struct usb_hcd *);
327 void (*relinquish_port)(struct usb_hcd *, int);
329 int (*port_handed_over)(struct usb_hcd *, int);
332 void (*clear_tt_buffer_complete)(struct usb_hcd *,
337 int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
339 void (*free_dev)(struct usb_hcd *, struct usb_device *);
341 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
347 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
362 int (*add_endpoint)(struct usb_hcd *, struct usb_device *,
365 int (*drop_endpoint)(struct usb_hcd *, struct usb_device *,
372 int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
380 void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
382 int (*address_device)(struct usb_hcd *, struct usb_device *udev,
385 int (*enable_device)(struct usb_hcd *, struct usb_device *udev);
389 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
391 int (*reset_device)(struct usb_hcd *, struct usb_device *);
395 int (*update_device)(struct usb_hcd *, struct usb_device *);
396 int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
399 int (*enable_usb3_lpm_timeout)(struct usb_hcd *,
404 int (*disable_usb3_lpm_timeout)(struct usb_hcd *,
406 int (*find_raw_port_number)(struct usb_hcd *, int);
408 int (*port_power)(struct usb_hcd *hcd, int portnum, bool enable);
411 int (*submit_single_step_set_feature)(struct usb_hcd *,