| /linux/drivers/mtd/spi-nor/ |
| H A D | sfdp.c | 151 static int spi_nor_read_raw(struct spi_nor *nor, u32 addr, size_t len, u8 *buf) in spi_nor_read_raw() argument 156 ret = spi_nor_read_data(nor, addr, len, buf); in spi_nor_read_raw() 182 static int spi_nor_read_sfdp(struct spi_nor *nor, u32 addr, in spi_nor_read_sfdp() argument 188 read_opcode = nor->read_opcode; in spi_nor_read_sfdp() 189 addr_nbytes = nor->addr_nbytes; in spi_nor_read_sfdp() 190 read_dummy = nor->read_dummy; in spi_nor_read_sfdp() 192 nor->read_opcode = SPINOR_OP_RDSFDP; in spi_nor_read_sfdp() 193 nor->addr_nbytes = 3; in spi_nor_read_sfdp() 194 nor->read_dummy = 8; in spi_nor_read_sfdp() 196 ret = spi_nor_read_raw(nor, addr, len, buf); in spi_nor_read_sfdp() [all …]
|
| H A D | Makefile | 3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o 4 spi-nor-objs += atmel.o 5 spi-nor-objs += eon.o 6 spi-nor-objs += esmt.o 7 spi-nor-objs += everspin.o 8 spi-nor-objs += gigadevice.o 9 spi-nor-objs += intel.o 10 spi-nor-objs += issi.o 11 spi-nor-objs += macronix.o 12 spi-nor-objs += micron-st.o [all …]
|
| H A D | sysfs.c | 15 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in manufacturer_show() local 17 return sysfs_emit(buf, "%s\n", nor->manufacturer->name); in manufacturer_show() 26 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in partname_show() local 28 return sysfs_emit(buf, "%s\n", nor->info->name); in partname_show() 37 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in jedec_id_show() local 38 const u8 *id = nor->info->id ? nor->info->id->bytes : nor->id; in jedec_id_show() 39 u8 id_len = nor->info->id ? nor->info->id->len : SPI_NOR_MAX_ID_LEN; in jedec_id_show() 58 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in sfdp_read() local 59 struct sfdp *sfdp = nor->sfdp; in sfdp_read() 62 return memory_read_from_buffer(buf, count, &off, nor->sfdp->dwords, in sfdp_read() [all …]
|
| H A D | issi.c | 12 is25lp256_post_bfpt_fixups(struct spi_nor *nor, in is25lp256_post_bfpt_fixups() argument 23 nor->params->addr_nbytes = 4; in is25lp256_post_bfpt_fixups() 32 static int pm25lv_nor_late_init(struct spi_nor *nor) in pm25lv_nor_late_init() argument 34 struct spi_nor_erase_map *map = &nor->params->erase_map; in pm25lv_nor_late_init() 132 static void issi_nor_default_init(struct spi_nor *nor) in issi_nor_default_init() argument 134 nor->params->quad_enable = spi_nor_sr1_bit6_quad_enable; in issi_nor_default_init()
|
| H A D | everspin.c | 37 static void everspin_nor_default_init(struct spi_nor *nor) in everspin_nor_default_init() argument 40 nor->params->hwcaps.mask &= ~SNOR_HWCAPS_READ_FAST; in everspin_nor_default_init()
|
| H A D | gigadevice.c | 12 gd25q256_post_bfpt(struct spi_nor *nor, in gd25q256_post_bfpt() argument 27 nor->params->quad_enable = spi_nor_sr1_bit6_quad_enable; in gd25q256_post_bfpt()
|
| /linux/drivers/mtd/spi-nor/controllers/ |
| H A D | nxp-spifi.c | 58 struct spi_nor nor; member 125 static int nxp_spifi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in nxp_spifi_read_reg() argument 128 struct nxp_spifi *spifi = nor->priv; in nxp_spifi_read_reg() 148 static int nxp_spifi_write_reg(struct spi_nor *nor, u8 opcode, const u8 *buf, in nxp_spifi_write_reg() argument 151 struct nxp_spifi *spifi = nor->priv; in nxp_spifi_write_reg() 172 static ssize_t nxp_spifi_read(struct spi_nor *nor, loff_t from, size_t len, in nxp_spifi_read() argument 175 struct nxp_spifi *spifi = nor->priv; in nxp_spifi_read() 187 static ssize_t nxp_spifi_write(struct spi_nor *nor, loff_t to, size_t len, in nxp_spifi_write() argument 190 struct nxp_spifi *spifi = nor->priv; in nxp_spifi_write() 204 SPIFI_CMD_OPCODE(nor->program_opcode) | in nxp_spifi_write() [all …]
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A D | hisilicon,fmc-spi-nor.txt | 4 - compatible : Should be "hisilicon,fmc-spi-nor" and one of the following strings: 5 "hisilicon,hi3519-spi-nor" 10 - clocks : handle to spi-nor flash controller clock. 13 spi-nor-controller@10000000 { 14 compatible = "hisilicon,hi3519-spi-nor", "hisilicon,fmc-spi-nor"; 21 compatible = "jedec,spi-nor";
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | mpc8536ds.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 46 label = "ramdisk-nor"; 51 label = "diagnostic-nor"; 57 label = "dink-nor"; 63 label = "kernel-nor"; 68 label = "fs-nor"; 73 label = "dtb-nor"; 78 label = "u-boot-nor"; 145 compatible = "spansion,s25sl12801", "jedec,spi-nor"; [all …]
|
| H A D | p1022ds.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 46 label = "ramdisk-nor"; 52 label = "diagnostic-nor"; 58 label = "dink-nor"; 64 label = "kernel-nor"; 70 label = "jffs2-nor"; 75 label = "dtb-nor"; 81 label = "u-boot-nor"; 163 compatible = "spansion,s25sl12801", "jedec,spi-nor";
|
| H A D | mpc8544ds.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 46 label = "dtb-nor"; 51 label = "diagnostic-nor"; 57 label = "dink-nor"; 63 label = "kernel-nor"; 68 label = "u-boot-nor";
|
| H A D | mpc8572ds.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 36 nor@0,0 { 46 label = "ramdisk-nor"; 51 label = "diagnostic-nor"; 57 label = "dink-nor"; 63 label = "kernel-nor"; 68 label = "fs-nor"; 73 label = "dtb-nor"; 78 label = "env-nor"; 84 label = "u-boot-nor";
|
| H A D | t1024qds.dts | 13 * * Neither the name of Freescale Semiconductor nor the 71 nor@0,0 { 119 compatible = "micron,n25q128a11", "jedec,spi-nor"; /* 16MB */ 127 compatible = "sst,sst25wf040", "jedec,spi-nor"; /* 512KB */ 135 compatible = "eon,en25s64", "jedec,spi-nor"; /* 8MB */
|
| H A D | t208xqds.dtsi | 13 * * Neither the name of Freescale Semiconductor nor the 67 nor@0,0 { 115 compatible = "micron,n25q128a11", "jedec,spi-nor"; /* 16MB */ 123 compatible = "sst,sst25wf040", "jedec,spi-nor"; 131 compatible = "eon,en25s64", "jedec,spi-nor";
|
| H A D | ge_imp3a.dts | 33 /* nor@0,0 is a mirror of part of the memory in nor@1,0 34 nor@0,0 { 50 nor@1,0 {
|
| /linux/arch/arm/boot/dts/xilinx/ |
| H A D | zynq-zc770-xm012.dts | 64 label = "nor-fsbl-uboot"; 68 label = "nor-linux"; 72 label = "nor-device-tree"; 76 label = "nor-rootfs"; 80 label = "nor-bitstream";
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-ls1088a-qds.dts | 27 compatible = "jedec,spi-nor"; 35 compatible = "jedec,spi-nor"; 45 compatible = "jedec,spi-nor"; 150 compatible = "jedec,spi-nor"; 160 compatible = "jedec,spi-nor";
|
| H A D | fsl-ls1028a-qds.dts | 152 compatible = "jedec,spi-nor"; 162 compatible = "jedec,spi-nor"; 172 compatible = "jedec,spi-nor"; 187 compatible = "jedec,spi-nor"; 197 compatible = "jedec,spi-nor"; 207 compatible = "jedec,spi-nor"; 222 compatible = "jedec,spi-nor"; 260 compatible = "jedec,spi-nor";
|
| H A D | fsl-ls2081a-rdb.dts | 33 compatible = "jedec,spi-nor"; 98 compatible = "jedec,spi-nor"; 108 compatible = "jedec,spi-nor";
|
| H A D | fsl-ls1088a-tqmls1088a.dtsi | 18 compatible = "jedec,spi-nor"; 33 compatible = "jedec,spi-nor";
|
| H A D | fsl-lx2160a-qds.dts | 198 compatible = "jedec,spi-nor"; 210 compatible = "jedec,spi-nor"; 222 compatible = "jedec,spi-nor"; 250 compatible = "jedec,spi-nor";
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-spi-devices-spi-nor | 1 What: /sys/bus/spi/devices/.../spi-nor/jedec_id 12 What: /sys/bus/spi/devices/.../spi-nor/manufacturer 22 What: /sys/bus/spi/devices/.../spi-nor/partname 32 What: /sys/bus/spi/devices/.../spi-nor/sfdp
|
| /linux/Documentation/devicetree/bindings/mtd/partitions/ |
| H A D | brcm,bcm963xx-cfe-nor-partitions.txt | 12 - compatible : must be "brcm,bcm963xx-cfe-nor-partitions" 22 compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun5i-a13-pocketbook-touch-lux-3.dts | 67 regulator-name = "vdd-1v8-nor-ctp"; 74 reg_1v8_nor: regulator-nor { 76 regulator-name = "vdd-nor"; 230 compatible = "macronix,mx25u4033", "jedec,spi-nor";
|
| /linux/arch/arm64/boot/dts/broadcom/stingray/ |
| H A D | bcm958742k.dts | 16 * * Neither the name of Broadcom nor the names of its 65 compatible = "jedec,spi-nor"; 80 compatible = "jedec,spi-nor";
|