hc_driverRegular
4.4: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
4.8: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
4.10: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
4.13: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
4.15: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
4.18: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
5.0: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
5.3: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
5.4: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
5.8: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
5.11: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
5.13: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
5.15: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
int (*submit_single_step_set_feature)(struct usb_hcd *, struct urb *, int);
};
5.19: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
int (*submit_single_step_set_feature)(struct usb_hcd *, struct urb *, int);
};
6.2: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
int (*pci_poweroff_late)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
int (*submit_single_step_set_feature)(struct usb_hcd *, struct urb *, int);
};
6.5: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, pm_message_t);
int (*pci_poweroff_late)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
int (*submit_single_step_set_feature)(struct usb_hcd *, struct urb *, int);
};
6.8: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, pm_message_t);
int (*pci_poweroff_late)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *, unsigned int);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
int (*submit_single_step_set_feature)(struct usb_hcd *, struct urb *, int);
};
arm64: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
armhf: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
ppc64el: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
riscv64: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
aws: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
azure: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
gcp: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
lowlatency: ✅struct hc_driver {
const char *description;
const char *product_desc;
size_t hcd_priv_size;
irqreturn_t (*irq)(struct usb_hcd *);
int flags;
int (*reset)(struct usb_hcd *);
int (*start)(struct usb_hcd *);
int (*pci_suspend)(struct usb_hcd *, bool);
int (*pci_resume)(struct usb_hcd *, bool);
void (*stop)(struct usb_hcd *);
void (*shutdown)(struct usb_hcd *);
int (*get_frame_number)(struct usb_hcd *);
int (*urb_enqueue)(struct usb_hcd *, struct urb *, gfp_t);
int (*urb_dequeue)(struct usb_hcd *, struct urb *, int);
int (*map_urb_for_dma)(struct usb_hcd *, struct urb *, gfp_t);
void (*unmap_urb_for_dma)(struct usb_hcd *, struct urb *);
void (*endpoint_disable)(struct usb_hcd *, struct usb_host_endpoint *);
void (*endpoint_reset)(struct usb_hcd *, struct usb_host_endpoint *);
int (*hub_status_data)(struct usb_hcd *, char *);
int (*hub_control)(struct usb_hcd *, u16, u16, u16, char *, u16);
int (*bus_suspend)(struct usb_hcd *);
int (*bus_resume)(struct usb_hcd *);
int (*start_port_reset)(struct usb_hcd *, unsigned int);
long unsigned int (*get_resuming_ports)(struct usb_hcd *);
void (*relinquish_port)(struct usb_hcd *, int);
int (*port_handed_over)(struct usb_hcd *, int);
void (*clear_tt_buffer_complete)(struct usb_hcd *, struct usb_host_endpoint *);
int (*alloc_dev)(struct usb_hcd *, struct usb_device *);
void (*free_dev)(struct usb_hcd *, struct usb_device *);
int (*alloc_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, unsigned int, gfp_t);
int (*free_streams)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint **, unsigned int, gfp_t);
int (*add_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*drop_endpoint)(struct usb_hcd *, struct usb_device *, struct usb_host_endpoint *);
int (*check_bandwidth)(struct usb_hcd *, struct usb_device *);
void (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
int (*address_device)(struct usb_hcd *, struct usb_device *);
int (*enable_device)(struct usb_hcd *, struct usb_device *);
int (*update_hub_device)(struct usb_hcd *, struct usb_device *, struct usb_tt *, gfp_t);
int (*reset_device)(struct usb_hcd *, struct usb_device *);
int (*update_device)(struct usb_hcd *, struct usb_device *);
int (*set_usb2_hw_lpm)(struct usb_hcd *, struct usb_device *, int);
int (*enable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*disable_usb3_lpm_timeout)(struct usb_hcd *, struct usb_device *, enum usb3_link_state);
int (*find_raw_port_number)(struct usb_hcd *, int);
int (*port_power)(struct usb_hcd *, int, bool);
};
Regular
4.4 and 4.8 ✅
4.8 and 4.10 ✅
4.10 and 4.13 ✅
4.13 and 4.15 ✅
4.15 and 4.18 ✅
4.18 and 5.0 ⚠️long unsigned int (*get_resuming_ports)(struct usb_hcd *)
5.0 and 5.3 ✅
5.3 and 5.4 ✅
5.4 and 5.8 ✅
5.8 and 5.11 ✅
5.11 and 5.13 ✅
5.13 and 5.15 ⚠️int (*submit_single_step_set_feature)(struct usb_hcd *, struct urb *, int)
5.15 and 5.19 ✅
5.19 and 6.2 ⚠️int (*pci_poweroff_late)(struct usb_hcd *, bool)
6.2 and 6.5 ⚠️int (*pci_resume)(struct usb_hcd *, bool) ➡️ int (*pci_resume)(struct usb_hcd *, pm_message_t)
6.5 and 6.8 ⚠️int (*address_device)(struct usb_hcd *, struct usb_device *) ➡️ int (*address_device)(struct usb_hcd *, struct usb_device *, unsigned int)
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅