android_kernel_xiaomi_sm8350/drivers/usb/core
Sarah Sharp 4d59d8a113 USB: Export URB statistics for powertop
powertop currently tracks interrupts generated by uhci, ehci, and ohci,
but it has no way of telling which USB device to blame USB bus activity on.
This patch exports the number of URBs that are submitted for a given device.
Cat the file 'urbnum' in /sys/bus/usb/devices/.../

Signed-off-by: Sarah Sharp <sarah.a.sharp@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:55:30 -07:00
..
buffer.c
config.c usb: usb_get_configuration() obeys authorization 2007-10-12 14:55:06 -07:00
devices.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
devio.c USB: remove traces of urb->status from usbcore 2007-10-12 14:55:24 -07:00
driver.c USB: don't propagate FREEZE or PRETHAW suspends 2007-10-12 14:55:28 -07:00
endpoint.c USB: Get rid of annoying endpoint-release message 2007-10-12 14:55:25 -07:00
file.c USB: prevent char device open/deregister race 2007-07-12 16:29:48 -07:00
generic.c USB: move decision to ignore FREEZE events 2007-10-12 14:55:26 -07:00
hcd-pci.c USB: remove references to dev.power.power_state 2007-07-12 16:29:46 -07:00
hcd.c USB: Export URB statistics for powertop 2007-10-12 14:55:30 -07:00
hcd.h USB: break apart flush_endpoint and disable_endpoint 2007-10-12 14:55:26 -07:00
hub.c USB: fix limited_power setting mistake in hub.c 2007-10-12 14:55:27 -07:00
hub.h
inode.c
Kconfig USB: add power/persist device attribute 2007-07-12 16:34:30 -07:00
Makefile
message.c USB: break apart flush_endpoint and disable_endpoint 2007-10-12 14:55:26 -07:00
notify.c
otg_whitelist.h
quirks.c USB: remove USB_QUIRK_NO_AUTOSUSPEND 2007-10-12 14:55:28 -07:00
sysfs.c USB: Export URB statistics for powertop 2007-10-12 14:55:30 -07:00
urb.c USB: flush outstanding URBs when suspending 2007-10-12 14:55:26 -07:00
usb.c USB: Export URB statistics for powertop 2007-10-12 14:55:30 -07:00
usb.h USB: rename choose_configuration 2007-10-12 14:55:08 -07:00