usb.h (1ea7e0e8e3d0f50901d335ea4178ab2aa8c88201) | usb.h (8306095fd2c1100e8244c09bf560f97aca5a311d) |
---|---|
1#ifndef __LINUX_USB_H 2#define __LINUX_USB_H 3 4#include <linux/mod_devicetable.h> 5#include <linux/usb/ch9.h> 6 7#define USB_MAJOR 180 8#define USB_DEVICE_MAJOR 189 --- 512 unchanged lines hidden (view full) --- 521 unsigned persist_enabled:1; 522 unsigned have_langid:1; 523 unsigned authorized:1; 524 unsigned authenticated:1; 525 unsigned wusb:1; 526 unsigned lpm_capable:1; 527 unsigned usb2_hw_lpm_capable:1; 528 unsigned usb2_hw_lpm_enabled:1; | 1#ifndef __LINUX_USB_H 2#define __LINUX_USB_H 3 4#include <linux/mod_devicetable.h> 5#include <linux/usb/ch9.h> 6 7#define USB_MAJOR 180 8#define USB_DEVICE_MAJOR 189 --- 512 unchanged lines hidden (view full) --- 521 unsigned persist_enabled:1; 522 unsigned have_langid:1; 523 unsigned authorized:1; 524 unsigned authenticated:1; 525 unsigned wusb:1; 526 unsigned lpm_capable:1; 527 unsigned usb2_hw_lpm_capable:1; 528 unsigned usb2_hw_lpm_enabled:1; |
529 unsigned usb3_lpm_enabled:1; |
|
529 int string_langid; 530 531 /* static strings from the device */ 532 char *product; 533 char *manufacturer; 534 char *serial; 535 536 struct list_head filelist; --- 13 unchanged lines hidden (view full) --- 550 unsigned reset_resume:1; 551#endif 552 struct wusb_dev *wusb_dev; 553 int slot_id; 554 enum usb_device_removable removable; 555 struct usb3_lpm_parameters u1_params; 556 struct usb3_lpm_parameters u2_params; 557 unsigned lpm_disable_count; | 530 int string_langid; 531 532 /* static strings from the device */ 533 char *product; 534 char *manufacturer; 535 char *serial; 536 537 struct list_head filelist; --- 13 unchanged lines hidden (view full) --- 551 unsigned reset_resume:1; 552#endif 553 struct wusb_dev *wusb_dev; 554 int slot_id; 555 enum usb_device_removable removable; 556 struct usb3_lpm_parameters u1_params; 557 struct usb3_lpm_parameters u2_params; 558 unsigned lpm_disable_count; |
559 unsigned hub_initiated_lpm_disable_count; |
|
558}; 559#define to_usb_device(d) container_of(d, struct usb_device, dev) 560 561static inline struct usb_device *interface_to_usbdev(struct usb_interface *intf) 562{ 563 return to_usb_device(intf->dev.parent); 564} 565 --- 1149 unchanged lines hidden --- | 560}; 561#define to_usb_device(d) container_of(d, struct usb_device, dev) 562 563static inline struct usb_device *interface_to_usbdev(struct usb_interface *intf) 564{ 565 return to_usb_device(intf->dev.parent); 566} 567 --- 1149 unchanged lines hidden --- |