Searched full:sfdp (Results 1 – 9 of 9) sorted by relevance
| /linux/Documentation/driver-api/mtd/ |
| H A D | spi-nor.rst | 9 Serial Flash Discoverable Parameter (SFDP) standard. SFDP describes 13 The SPI NOR driver queries the SFDP tables in order to determine the 14 flash's parameters and settings. If the flash defines the SFDP tables 17 on its SFDP data. All one has to do is to specify the "jedec,spi-nor" 22 that is not covered by the SFDP tables (e.g. Block Protection), or 23 when the flash contains mangled SFDP data. If the later, one needs 24 to implement the ``spi_nor_fixups`` hooks in order to amend the SFDP 39 2) Dump the sysfs entries and print the md5/sha1/sha256 SFDP checksum:: 47 root@1:~# xxd -p /sys/bus/spi/devices/spi0.0/spi-nor/sfdp 69 root@1:~# sha256sum /sys/bus/spi/devices/spi0.0/spi-nor/sfdp [all …]
|
| /linux/drivers/mtd/spi-nor/ |
| H A D | sysfs.c | 59 struct sfdp *sfdp = nor->sfdp; in sfdp_read() local 60 size_t sfdp_size = sfdp->num_dwords * sizeof(*sfdp->dwords); in sfdp_read() 62 return memory_read_from_buffer(buf, count, &off, nor->sfdp->dwords, in sfdp_read() 65 static const BIN_ATTR_RO(sfdp, 0); 96 if (attr == &bin_attr_sfdp && nor->sfdp) in spi_nor_sysfs_is_bin_visible()
|
| H A D | sfdp.c | 38 u32 signature; /* Ox50444653U <=> "SFDP" */ 172 * @addr: offset in the SFDP area to start reading data from 174 * @buf: buffer where the SFDP data are copied into (dma-safe memory) 177 * for (Fast) Read commands, the Read SFDP (5Ah) instruction is always 208 * @addr: offset in the SFDP area to start reading data from 210 * @buf: buffer where the SFDP data are copied into 321 * synchronize with the supported Erase Types defined in SFDP optional tables. 411 * defined by the SFDP (JESD216) specification. 1055 * SFDP table that indicates support for Page Program Commands. in spi_nor_parse_4bait() 1101 /* 4BAIT is the only SFDP table that indicates page program support. */ in spi_nor_parse_4bait() [all …]
|
| H A D | gigadevice.c | 20 * GD25Q256 GENERATION | SFDP MAJOR VERSION | SFDP MINOR VERSION in gd25q256_post_bfpt()
|
| H A D | sfdp.h | 10 /* SFDP revisions */ 16 /* SFDP DWORDS are indexed from 1 but C arrays are indexed from 0. */
|
| H A D | Makefile | 3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-spi-devices-spi-nor | 19 known to the kernel and is only probed by its SFDP 32 What: /sys/bus/spi/devices/.../spi-nor/sfdp 37 device supports the "Read SFDP" command (5Ah). 39 If present, it contains the complete SFDP (serial flash
|
| /linux/include/linux/mtd/ |
| H A D | spi-nor.h | 47 #define SPINOR_OP_RDSFDP 0x5a /* Read SFDP */ 252 * JEDEC/SFDP standard to define them. Also at this moment no SPI flash memory 372 * @sfdp: the SFDP data of the flash 378 * hooks, or dynamically when parsing the SFDP tables. 410 struct sfdp *sfdp; member
|
| /linux/drivers/mtd/devices/ |
| H A D | serial_flash_cmds.h | 3 * Generic/SFDP Flash Commands and Device Capabilities 15 /* JEDEC Standard - Serial Flash Discoverable Parmeters (SFDP) Commands */
|