usb_phyRegular
4.4: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
};
4.8: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
};
4.10: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
};
4.13: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
};
4.15: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
4.18: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
5.0: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
5.3: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
5.4: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
5.8: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
5.11: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
5.13: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
5.15: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
5.19: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
6.2: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
6.5: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
6.8: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
arm64: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
armhf: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
ppc64el: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
riscv64: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
aws: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
azure: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
gcp: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
lowlatency: ✅struct usb_phy {
struct device *dev;
const char *label;
unsigned int flags;
enum usb_phy_type type;
enum usb_phy_events last_event;
struct usb_otg *otg;
struct device *io_dev;
struct usb_phy_io_ops *io_ops;
void *io_priv;
struct extcon_dev *edev;
struct extcon_dev *id_edev;
struct notifier_block vbus_nb;
struct notifier_block id_nb;
struct notifier_block type_nb;
enum usb_charger_type chg_type;
enum usb_charger_state chg_state;
struct usb_charger_current chg_cur;
struct work_struct chg_work;
struct atomic_notifier_head notifier;
u16 port_status;
u16 port_change;
struct list_head head;
int (*init)(struct usb_phy *);
void (*shutdown)(struct usb_phy *);
int (*set_vbus)(struct usb_phy *, int);
int (*set_power)(struct usb_phy *, unsigned int);
int (*set_suspend)(struct usb_phy *, int);
int (*set_wakeup)(struct usb_phy *, bool);
int (*notify_connect)(struct usb_phy *, enum usb_device_speed);
int (*notify_disconnect)(struct usb_phy *, enum usb_device_speed);
enum usb_charger_type (*charger_detect)(struct usb_phy *);
};
Regular
4.4 and 4.8 ✅
4.8 and 4.10 ✅
4.10 and 4.13 ⚠️struct extcon_dev *edev
struct extcon_dev *id_edev
struct notifier_block vbus_nb
struct notifier_block id_nb
4.13 and 4.15 ⚠️struct notifier_block type_nb
enum usb_charger_type chg_type
enum usb_charger_state chg_state
struct usb_charger_current chg_cur
struct work_struct chg_work
enum usb_charger_type (*charger_detect)(struct usb_phy *)
4.15 and 4.18 ✅
4.18 and 5.0 ✅
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 ✅
5.15 and 5.19 ✅
5.19 and 6.2 ✅
6.2 and 6.5 ✅
6.5 and 6.8 ✅
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ⚠️struct extcon_dev *edev ➡️ struct extcon_dev *edev
struct extcon_dev *id_edev ➡️ struct extcon_dev *id_edev
generic and gcp ✅
generic and lowlatency ✅