Home
last modified time | relevance | path

Searched refs:MTD_BIT_WRITEABLE (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/uapi/mtd/
H A Dmtd-abi.h151 #define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */ macro
158 #define MTD_CAP_RAM (MTD_WRITEABLE | MTD_BIT_WRITEABLE | MTD_NO_ERASE)
159 #define MTD_CAP_NORFLASH (MTD_WRITEABLE | MTD_BIT_WRITEABLE)
161 #define MTD_CAP_NVRAM (MTD_WRITEABLE | MTD_BIT_WRITEABLE | MTD_NO_ERASE)
/openbmc/u-boot/include/mtd/
H A Dmtd-abi.h94 #define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */ macro
100 #define MTD_CAP_RAM (MTD_WRITEABLE | MTD_BIT_WRITEABLE | MTD_NO_ERASE)
101 #define MTD_CAP_NORFLASH (MTD_WRITEABLE | MTD_BIT_WRITEABLE)
/openbmc/linux/fs/jffs2/
H A Dos-linux.h108 #define jffs2_can_mark_obsolete(c) (c->mtd->flags & (MTD_BIT_WRITEABLE))
137 …ine jffs2_nor_wbuf_flash(c) (c->mtd->type == MTD_NORFLASH && ! (c->mtd->flags & MTD_BIT_WRITEABLE))
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-mtd64 0x0800: MTD_BIT_WRITEABLE - single bits can be flipped
/openbmc/linux/drivers/mtd/lpddr/
H A Dlpddr_cmds.c54 mtd->flags &= ~MTD_BIT_WRITEABLE; in lpddr_cmdset()
/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c239 mtd->flags = MTD_CAP_NORFLASH & ~MTD_BIT_WRITEABLE; in cfi_staa_setup()
H A Dcfi_cmdset_0001.c758 mtd->flags &= ~MTD_BIT_WRITEABLE; in cfi_intelext_partition_fixup()
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c2885 nor->mtd.flags &= ~MTD_BIT_WRITEABLE; in spi_nor_scan()
/openbmc/linux/drivers/mtd/spi-nor/
H A Dcore.c3426 mtd->flags &= ~MTD_BIT_WRITEABLE; in spi_nor_set_mtd_info()