android_kernel_xiaomi_sdm845/include/linux/mtd
Dmitry Pervushin 0e0ee1cc33 UBI: add notification API
UBI volume notifications are intended to create the API to get clients
notified about volume creation/deletion, renaming and re-sizing. A
client can subscribe to these notifications using 'ubi_volume_register()'
and cancel the subscription using 'ubi_volume_unregister()'. When UBI
volumes change, a blocking notifier is called. Clients also can request
"added" events on all volumes that existed before client subscribed
to the notifications.

If we use notifications instead of calling functions like 'ubi_gluebi_xxx()',
we can make the MTD emulation layer to be more flexible: build it as a
separate module and load/unload it on demand.

[Artem: many cleanups, rework locking, add "updated" event, provide
 device/volume info in notifiers]

Signed-off-by: Dmitry Pervushin <dpervushin@embeddedalley.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-06-02 13:53:35 +03:00
..
bbm.h
blktrans.h Support 'discard sectors' operation in translation layer support core 2008-10-09 08:56:01 +02:00
cfi_endian.h
cfi.h [MTD] CFI: remove major/minor version check for command set 0x0002 2009-01-09 12:16:28 +00:00
compatmac.h
concat.h mtd: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:38 -08:00
doc2000.h
flashchip.h [MTD] [NOR] cfi_cmdset_0001: Timeouts for erase, write and unlock operations 2008-08-06 09:44:54 +01:00
ftl.h [MTD] Remove strange u_int32_t types from FTL 2008-12-10 14:06:42 +00:00
gen_probe.h
inftl.h
map.h [MTD] LPDDR added new pfow_base parameter 2009-01-05 13:56:08 +01:00
mtd.h [MTD] driver model updates 2009-04-04 14:29:07 +01:00
mtdram.h
nand_ecc.h
nand-gpio.h [MTD] [NAND] GPIO NAND flash driver 2008-10-18 12:48:42 +01:00
nand.h [MTD] [NAND] Add support for 4KiB pages. 2009-04-06 07:01:56 -07:00
ndfc.h
nftl.h
onenand_regs.h [MTD] [OneNAND] Add defines for HF and sync write 2008-08-01 22:06:15 +01:00
onenand.h
partitions.h [MTD] partitioning utility predicates 2009-03-20 13:16:44 +00:00
pfow.h [MTD] LPDDR PFOW definition 2009-01-05 13:55:58 +01:00
physmap.h [MTD] LPDDR extended physmap driver to support LPDDR flash 2009-01-05 13:57:28 +01:00
plat-ram.h
pmc551.h
qinfo.h [MTD] LPDDR QINFO records definitions 2009-01-05 13:55:54 +01:00
sh_flctl.h [MTD] [NAND] sh_flctl: add support for Renesas SuperH FLCTL 2008-10-14 13:33:05 +01:00
sharpsl.h [MTD] sharpsl-nand: use platform_data for model-specific values 2008-10-29 21:06:38 +03:00
super.h
ubi.h UBI: add notification API 2009-06-02 13:53:35 +03:00
xip.h