android_kernel_samsung_sm8650/drivers/misc/mei
Tomas Winkler f5ac3c49ff mei: me: use an index instead of a pointer for private data
Device 'new_id' interface is useful for testing of not yet published
hardware on older kernels and for internally used device ids on
simulation platforms.
However currently with the device configuration held in device_id driver
data as a pointer to mei_cfg structure it is hard, as one need to locate
the address of the correct structure.
A recommended way of doing that is to use and index instead of a
pointer.
This patch adds a new list of configuration mei_cfg_list[]
indexed via enum mei_cfg_idx.
In addition it cleanups ich platform naming, renames legacy
generation to ich and what was ich to ich10.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-17 15:07:39 +02:00
..
bus-fixup.c mei: bus: elminate variable length arrays 2017-04-08 17:38:25 +02:00
bus.c Merge 4.12-rc5 into char-misc-next 2017-06-12 08:18:10 +02:00
client.c mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
client.h mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
debugfs.c Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-02-20 13:23:30 -08:00
hbm.c mei: hbm: remove variable length arrays 2017-04-08 17:38:25 +02:00
hbm.h mei: me: d0i3: add d0i3 enter/exit state machine 2015-08-03 17:33:55 -07:00
hw-me-regs.h mei: me: add lewisburg device ids 2016-11-29 20:15:30 +01:00
hw-me.c mei: me: use an index instead of a pointer for private data 2017-07-17 15:07:39 +02:00
hw-me.h mei: me: use an index instead of a pointer for private data 2017-07-17 15:07:39 +02:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: simplify error handling via devres function. 2017-01-31 11:08:18 +01:00
hw-txe.h mei: simplify error handling via devres function. 2017-01-31 11:08:18 +01:00
hw.h mei: hw: fix a spelling mistake 2017-05-25 18:24:03 +02:00
init.c mei: drop unreachable code in mei_start 2017-06-13 15:46:18 +02:00
interrupt.c mei: validate the message header only in first fragment. 2017-06-13 15:46:18 +02:00
Kconfig mei: wd: drop the watchdog code from the core mei driver 2016-02-06 22:11:06 -08:00
main.c mei: implement fsync 2017-04-08 17:38:25 +02:00
Makefile mei: drop amthif internal client 2017-04-08 17:38:25 +02:00
mei_dev.h mei: make mei_cl_bus_rescan static 2017-05-25 18:24:03 +02:00
mei-trace.c mei: trace pci configuration space io 2016-02-07 13:00:52 -08:00
mei-trace.h mei: drop superfluous closing bracket from write traces 2016-02-07 14:47:20 -08:00
pci-me.c mei: me: use an index instead of a pointer for private data 2017-07-17 15:07:39 +02:00
pci-txe.c mei: add pci driver ops shutdown handler. 2017-04-08 17:38:25 +02:00