uboot-mt623x/common
Thomas Abraham 1eb734fed3 usb : usb_kbd : Populating 'priv' member of USB keyboard device_t structure
This patch populates the 'priv' field of the USB keyboard device_t
structure. The 'priv' field is populated with the address of the
'struct usb_device' structure that represents the USB device.

The 'priv' field can then be used in the 'usb_event_poll' function to
determine the USB device that requires to be polled. An
example of its usage in 'usb_event_poll' function is as below.

	device_t *dev;
	struct usb_device *usb_kbd_dev;

	<snip>

	dev = device_get_by_name("usbkbd");
	usb_kbd_dev = (struct usb_device *)dev->priv;
	iface = &usb_kbd_dev->config.if_desc[0];

Signed-off-by: Thomas Abraham <t-abraham@ti.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
2009-01-28 19:57:28 +01:00
..
Makefile IOMUX: Add console multiplexing support. 2008-12-07 01:23:35 +01:00
bedbug.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
circbuf.c Add support for Siemens SX1 mobile phone; 2004-03-12 00:14:09 +00:00
cmd_ambapp.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_autoscript.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_bdinfo.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_bedbug.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_bmp.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_boot.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_bootldr.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_bootm.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_cache.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_console.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_cplbinfo.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_date.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_dcr.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_df.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_diag.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_display.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_doc.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_dtt.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_eeprom.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_elf.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_ext2.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_fat.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_fdc.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_fdos.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_fdt.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_flash.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_fpga.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_i2c.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_ide.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_immap.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_irq.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_itest.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_jffs2.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_license.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_load.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_log.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_mac.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_mem.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_mfsl.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_mii.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_misc.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_mmc.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_mp.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_nand.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_net.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_nvedit.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_onenand.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_otp.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_pci.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_pcmcia.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_portio.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_reginfo.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_reiser.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_sata.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_scsi.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_setexpr.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_sf.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_spi.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_strings.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_terminal.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_ubi.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_universe.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_usb.c Prepare USB layer for ehci 2009-01-28 19:57:27 +01:00
cmd_vfd.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_ximg.c Command usage cleanup 2009-01-28 08:49:52 +01:00
cmd_yaffs2.c Command usage cleanup 2009-01-28 08:49:52 +01:00
command.c Command usage cleanup 2009-01-28 08:49:52 +01:00
console.c IOMUX: Add console multiplexing support. 2008-12-07 01:23:35 +01:00
ddr_spd.c Add proper SPD definitions for DDR1/2/3 2008-08-27 02:05:53 +02:00
devices.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
dlmalloc.c Fix merge problems 2008-08-06 14:05:38 +02:00
dlmalloc.src
docecc.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
env_common.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_dataflash.c rename CFG_ENV macros to CONFIG_ENV 2008-09-10 22:48:06 +02:00
env_eeprom.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_embedded.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_flash.c rename CFG_ENV macros to CONFIG_ENV 2008-09-10 22:48:06 +02:00
env_nand.c rename CFG_ENV macros to CONFIG_ENV 2008-09-10 22:48:06 +02:00
env_nowhere.c env_nowhere: Move conditional compilation to Makefile 2008-09-10 22:48:01 +02:00
env_nvram.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
env_onenand.c OneNAND: Add missing mtd info struct before calling onenand_erase() 2008-12-02 13:48:15 -06:00
env_sf.c env_sf: support embedded environments 2008-12-16 00:47:10 +01:00
exports.c Add functions to list of exported functions 2007-08-06 00:45:40 +02:00
fdt_support.c fdt_resize(): fix actualsize calculations with unaligned blobs 2009-01-17 13:03:29 -05:00
flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
hush.c Command usage cleanup 2009-01-28 08:49:52 +01:00
image.c Fix FIT and FDT support to have CONFIG_OF_LIBFDT and CONFIG_FIT independent 2008-12-13 23:31:49 +01:00
iomux.c IOMUX: Add console multiplexing support. 2008-12-07 01:23:35 +01:00
kgdb.c Command usage cleanup 2009-01-28 08:49:52 +01:00
lcd.c Command usage cleanup 2009-01-28 08:49:52 +01:00
lynxkdi.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
main.c Standardize command usage messages with cmd_usage() 2009-01-28 08:43:45 +01:00
memsize.c Sequential accesses to non-existent memory must be synchronized, 2006-11-06 17:06:36 +01:00
miiphyutil.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
s_record.c
serial.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
update.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
usb.c USB change speed 2009-01-28 19:57:28 +01:00
usb_kbd.c usb : usb_kbd : Populating 'priv' member of USB keyboard device_t structure 2009-01-28 19:57:28 +01:00
usb_storage.c USB storage cleanup patch 2009-01-28 19:57:26 +01:00
xyzModem.c Coding Style cleanup. 2006-08-31 16:46:53 +02:00