usb_device_driver
Regular
4.4
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
4.8
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
4.10
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
4.13
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
4.15
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
4.18
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
5.0
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
5.3
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
5.4
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
5.8
: ✅struct usb_device_driver {
const char *name;
bool (*match)(struct usb_device *);
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
const struct usb_device_id *id_table;
unsigned int supports_autosuspend;
unsigned int generic_subclass;
};
5.11
: ✅struct usb_device_driver {
const char *name;
bool (*match)(struct usb_device *);
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
const struct usb_device_id *id_table;
unsigned int supports_autosuspend;
unsigned int generic_subclass;
};
5.13
: ✅struct usb_device_driver {
const char *name;
bool (*match)(struct usb_device *);
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
const struct usb_device_id *id_table;
unsigned int supports_autosuspend;
unsigned int generic_subclass;
};
5.15
: ✅struct usb_device_driver {
const char *name;
bool (*match)(struct usb_device *);
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
const struct usb_device_id *id_table;
unsigned int supports_autosuspend;
unsigned int generic_subclass;
};
5.19
: ✅struct usb_device_driver {
const char *name;
bool (*match)(struct usb_device *);
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
const struct usb_device_id *id_table;
unsigned int supports_autosuspend;
unsigned int generic_subclass;
};
6.2
: ✅struct usb_device_driver {
const char *name;
bool (*match)(struct usb_device *);
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
const struct usb_device_id *id_table;
unsigned int supports_autosuspend;
unsigned int generic_subclass;
};
6.5
: ✅struct usb_device_driver {
const char *name;
bool (*match)(struct usb_device *);
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
const struct usb_device_id *id_table;
unsigned int supports_autosuspend;
unsigned int generic_subclass;
};
6.8
: ✅struct usb_device_driver {
const char *name;
bool (*match)(struct usb_device *);
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
int (*choose_configuration)(struct usb_device *);
const struct attribute_group **dev_groups;
struct device_driver driver;
const struct usb_device_id *id_table;
unsigned int supports_autosuspend;
unsigned int generic_subclass;
};
arm64
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
armhf
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
ppc64el
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
riscv64
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
aws
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
azure
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
gcp
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
lowlatency
: ✅struct usb_device_driver {
const char *name;
int (*probe)(struct usb_device *);
void (*disconnect)(struct usb_device *);
int (*suspend)(struct usb_device *, pm_message_t);
int (*resume)(struct usb_device *, pm_message_t);
const struct attribute_group **dev_groups;
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend;
};
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
✅
5.0
and 5.3
✅
5.3
and 5.4
⚠️const struct attribute_group **dev_groups
5.4
and 5.8
⚠️bool (*match)(struct usb_device *)
const struct usb_device_id *id_table
unsigned int generic_subclass
5.8
and 5.11
✅
5.11
and 5.13
✅
5.13
and 5.15
✅
5.15
and 5.19
✅
5.19
and 6.2
✅
6.2
and 6.5
✅
6.5
and 6.8
⚠️int (*choose_configuration)(struct usb_device *)
struct device_driver driver
struct usbdrv_wrap drvwrap
amd64
and arm64
✅
amd64
and armhf
✅
amd64
and ppc64el
✅
amd64
and riscv64
✅
generic
and aws
✅
generic
and azure
✅
generic
and gcp
✅
generic
and lowlatency
✅