android_kernel_xiaomi_sm8350/drivers/usb/core
Luiz Fernando N. Capitulino 0c1ac4f25f USB: makes usb_endpoint_* functions inline.
We have no benefits of having the usb_endpoint_* functions as functions,
but making them inline saves text and data segment sizes:

text	   data	    bss	    dec	    hex	filename
14893634	3108770	1108840	19111244	1239d4c	vmlinux.func
14893185	3108566	1108840	19110591	1239abf	vmlinux.inline

 This is the result of a 2.6.19-rc3 kernel compiled with GCC 4.1.1 without
CONFIG_MODULES, CONFIG_CC_OPTIMIZE_FOR_SIZE, CONFIG_REGPARM options set.
USB support is fully enabled (while most of the other drivers are not),
and that kernel has most of the USB code ported to use the endpoint
functions.

That happens because a call to those functions are expensive (in terms
of bytes), while the function's size is smaller or have the same 'size' of
the call.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-01 14:23:29 -08:00
..
buffer.c usbcore: trim down usb_bus structure 2006-09-27 11:58:56 -07:00
config.c usb: deal with broken config descriptors 2006-09-27 11:58:55 -07:00
devices.c USB: devices: Use usb_endpoint_* functions 2006-12-01 14:23:28 -08:00
devio.c usb devio: handle class_device_create() error 2006-10-17 14:46:32 -07:00
driver.c USB core: don't match interface descriptors for vendor-specific devices 2006-12-01 14:23:27 -08:00
endpoint.c usbcore: fix endpoint device creation 2006-10-17 14:46:32 -07:00
file.c fix file specification in comments 2006-10-03 23:01:26 +02:00
generic.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
hcd-pci.c USB: Properly unregister reboot notifier in case of failure in ehci hcd 2006-09-27 11:58:54 -07:00
hcd.c usb hub: fix root hub code so it takes more than 15 devices per root hub 2006-12-01 14:23:26 -08:00
hcd.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hub.c usb hub: fix root hub code so it takes more than 15 devices per root hub 2006-12-01 14:23:26 -08:00
hub.h usb/hub: allow hubs up to 31 children 2006-12-01 14:23:26 -08:00
inode.c [PATCH] usb: fixup usb so it uses struct pid 2006-10-02 07:57:15 -07:00
Kconfig [PATCH] USB: remove devfs information from Kconfig 2006-07-12 16:03:23 -07:00
Makefile usbcore: move code among source files 2006-09-27 11:58:50 -07:00
message.c USB: Fixed outdated usb_get_device_descriptor() documentation 2006-11-16 14:26:12 -08:00
notify.c usbfs: private mutex for open, release, and remove 2006-09-27 11:58:49 -07:00
otg_whitelist.h
sysfs.c USB: fix __must_check warnings in drivers/usb/core/ 2006-09-27 11:58:57 -07:00
urb.c USB: Remove unneeded void * casts in core files 2006-09-27 11:58:59 -07:00
usb.c USB: makes usb_endpoint_* functions inline. 2006-12-01 14:23:29 -08:00
usb.h [PATCH] usb: fixup usb so it uses struct pid 2006-10-02 07:57:15 -07:00