| /kernel/linux/linux-6.6/drivers/mtd/spi-nor/ |
| 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 BIN_ATTR_RO(sfdp, 0); 94 if (attr == &bin_attr_sfdp && nor->sfdp) in spi_nor_sysfs_is_bin_visible()
|
| 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. 415 * defined by the SFDP (JESD216) specification. 1037 * SFDP table that indicates support for Page Program Commands. in spi_nor_parse_4bait() 1083 /* 4BAIT is the only SFDP table that indicates page program support. */ in spi_nor_parse_4bait() [all …]
|
| D | core.h | 10 #include "sfdp.h" 204 * Erase Types with the ones identified in the SFDP 340 * Serial Flash Discoverable Parameters (SFDP) tables. 364 * @erase_map: the erase map parsed from the SFDP Sector Map Parameter 419 * @post_sfdp: called after SFDP has been parsed (is also called for SPI NORs 422 * when information provided by the SFDP/flash_info tables are 425 * JESD216 SFDP standard, or where SFDP tables not defined at all. 428 * Those hooks can be used to tweak the SPI NOR configuration when the SFDP 453 * @parse_sfdp: true when flash supports SFDP tables. The false value has no 454 * meaning. If one wants to skip the SFDP tables, one should [all …]
|
| D | gigadevice.c | 20 * GD25Q256 GENERATION | SFDP MAJOR VERSION | SFDP MINOR VERSION in gd25q256_post_bfpt()
|
| D | core.c | 1844 * pull these from CFI/SFDP, but these values should be good in spi_nor_erase() 1959 * This is one of the procedures to set the QE bit described in the SFDP 2070 /* Fallback to a generic flash described only by its SFDP data. */ in spi_nor_detect() 2528 * solely by SFDP, then the largest supported erase type 2766 * flashes that do not define SFDP tables. If the flash supports SFDP but the 2768 * by parsing SFDP, one should instead use the fixup hooks and update the wrong 2837 * in the JESD216 SFDP standard, thus can not be retrieved when parsing SFDP. 2879 * be discovered by SFDP for this particular flash because the SFDP table that 2901 * SFDP standard, or where SFDP tables are not defined at all. 2944 * parameters and settings based on JESD216 SFDP standard. [all …]
|
| D | sfdp.h | 10 /* SFDP revisions */ 16 /* SFDP DWORDS are indexed from 1 but C arrays are indexed from 0. */
|
| D | Makefile | 3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
|
| D | winbond.c | 30 * To differentiate between W25Q256JV and W25Q256FV check SFDP header in w25q256_post_bfpt_fixups() 231 * This requirement is not described in the JESD216 SFDP standard, thus in winbond_nor_late_init()
|
| D | spansion.c | 610 dev_err(nor->dev, "%s failed. The volatile register offset could not be retrieved from SFDP.\n", in s25hx_t_post_sfdp_fixup() 678 dev_err(nor->dev, "%s failed. The volatile register offset could not be retrieved from SFDP.\n", in s28hx_t_post_sfdp_fixup()
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-spi-devices-spi-nor | 19 known to the kernel and is only probed by its SFDP 29 What: /sys/bus/spi/devices/.../spi-nor/sfdp 34 device supports the "Read SFDP" command (5Ah). 36 If present, it contains the complete SFDP (serial flash
|
| /kernel/linux/linux-5.10/drivers/mtd/spi-nor/ |
| D | core.h | 10 #include "sfdp.h" 95 * Erase Types with the ones identified in the SFDP 189 * Serial Flash Discoverable Parameters (SFDP) tables. 199 * @erase_map: the erase map parsed from the SFDP Sector Map Parameter 236 * @post_sfdp: called after SFDP has been parsed (is also called for SPI NORs 239 * when information provided by the SFDP/flash_info tables are 242 * Those hooks can be used to tweak the SPI NOR configuration when the SFDP 298 #define SPI_NOR_SKIP_SFDP BIT(13) /* Skip parsing of SFDP tables */
|
| D | sfdp.c | 26 u32 signature; /* Ox50444653U <=> "SFDP" */ 161 * @addr: offset in the SFDP area to start reading data from 163 * @buf: buffer where the SFDP data are copied into (dma-safe memory) 166 * for (Fast) Read commands, the Read SFDP (5Ah) instruction is always 197 * @addr: offset in the SFDP area to start reading data from 199 * @buf: buffer where the SFDP data are copied into 310 * synchronize with the supported Erase Types defined in SFDP optional tables. 406 * defined by the SFDP (JESD216) specification. 776 * used for storing SFDP parsed data 865 * that is used for storing SFDP parsed data [all …]
|
| D | Makefile | 3 spi-nor-objs := core.o sfdp.o
|
| D | core.c | 1504 * pull these from CFI/SFDP, but these values should be good in spi_nor_erase() 1982 * This is one of the procedures to set the QE bit described in the SFDP 2715 * based on JESD216 SFDP standard. 2718 * The method has a roll-back mechanism: in case the SFDP parsing fails, the 2829 * after SFDP has been parsed (is also called for SPI NORs that do not 2834 * other means (i.e. when information provided by the SFDP/flash_info tables 2852 * hook or the SFDP parser let voids. 2882 * 3/ SFDP flash parameters initialization. JESD216 SFDP is a standard and 2891 * 4/ Post SFDP flash parameters initialization. Used to tweak various 2893 * information provided by the SFDP/flash_info tables are incomplete or [all …]
|
| D | sfdp.h | 10 /* SFDP revisions */
|
| D | winbond.c | 22 * To differentiate between W25Q256JV and W25Q256FV check SFDP header in w25q256_post_bfpt_fixups()
|
| /kernel/linux/linux-5.10/drivers/mtd/devices/ |
| D | serial_flash_cmds.h | 3 * Generic/SFDP Flash Commands and Device Capabilities 15 /* JEDEC Standard - Serial Flash Discoverable Parmeters (SFDP) Commands */
|
| /kernel/linux/linux-6.6/drivers/mtd/devices/ |
| D | serial_flash_cmds.h | 3 * Generic/SFDP Flash Commands and Device Capabilities 15 /* JEDEC Standard - Serial Flash Discoverable Parmeters (SFDP) Commands */
|
| /kernel/linux/linux-6.6/include/linux/mtd/ |
| 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
|
| /kernel/linux/linux-5.10/include/linux/mtd/ |
| D | spi-nor.h | 48 #define SPINOR_OP_RDSFDP 0x5a /* Read SFDP */ 260 * JEDEC/SFDP standard to define them. Also at this moment no SPI flash memory 355 * hooks, or dynamically when parsing the SFDP tables.
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mtd/ |
| D | jedec,spi-nor.yaml | 46 SPI NOR flashes compatible with the JEDEC SFDP standard or which may be
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-hisi-sfc-v3xx.c | 57 * stands for x-y-z mode, as described in SFDP terminology. -EIO indicates
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-hisi-sfc-v3xx.c | 59 * stands for x-y-z mode, as described in SFDP terminology. -EIO indicates
|
| D | spi-intel.c | 903 * SFDP data but we want to make sure we only support the operations
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch | 17987 /* already configured from SFDP */ 18139 * @erase_map: the erase map parsed from the SFDP Sector Map Parameter 18551 diff --git a/drivers/mtd/spi-nor/sfdp.c b/drivers/mtd/spi-nor/sfdp.c 18553 --- a/drivers/mtd/spi-nor/sfdp.c 18554 +++ b/drivers/mtd/spi-nor/sfdp.c 18611 /* 4BAIT is the only SFDP table that indicates page program support. */ 18773 diff --git a/drivers/mtd/spi-nor/sfdp.h b/drivers/mtd/spi-nor/sfdp.h 18775 --- a/drivers/mtd/spi-nor/sfdp.h 18776 +++ b/drivers/mtd/spi-nor/sfdp.h
|