| /Linux-v5.4/include/linux/mtd/ |
| D | spi-nor.h | 466 struct spi_nor; 475 int (*lock)(struct spi_nor *nor, loff_t ofs, uint64_t len); 476 int (*unlock)(struct spi_nor *nor, loff_t ofs, uint64_t len); 477 int (*is_locked)(struct spi_nor *nor, loff_t ofs, uint64_t len); 517 int (*quad_enable)(struct spi_nor *nor); 518 int (*set_4byte)(struct spi_nor *nor, bool enable); 519 u32 (*convert_addr)(struct spi_nor *nor, u32 addr); 520 int (*setup)(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps); 571 struct spi_nor { struct 591 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument [all …]
|
| /Linux-v5.4/drivers/mtd/spi-nor/ |
| D | spi-nor.c | 171 void (*default_init)(struct spi_nor *nor); 172 int (*post_bfpt)(struct spi_nor *nor, 176 void (*post_sfdp)(struct spi_nor *nor); 251 static ssize_t spi_nor_spimem_xfer_data(struct spi_nor *nor, in spi_nor_spimem_xfer_data() 305 static ssize_t spi_nor_spimem_read_data(struct spi_nor *nor, loff_t from, in spi_nor_spimem_read_data() 335 static ssize_t spi_nor_read_data(struct spi_nor *nor, loff_t from, size_t len, in spi_nor_read_data() 354 static ssize_t spi_nor_spimem_write_data(struct spi_nor *nor, loff_t to, in spi_nor_spimem_write_data() 382 static ssize_t spi_nor_write_data(struct spi_nor *nor, loff_t to, size_t len, in spi_nor_write_data() 396 static int read_sr(struct spi_nor *nor) in read_sr() 425 static int read_fsr(struct spi_nor *nor) in read_fsr() [all …]
|
| D | hisi-sfc.c | 99 struct spi_nor *nor[HIFMC_MAX_CHIP_NUM]; 147 static int hisi_spi_nor_prep(struct spi_nor *nor, enum spi_nor_ops ops) in hisi_spi_nor_prep() 170 static void hisi_spi_nor_unprep(struct spi_nor *nor, enum spi_nor_ops ops) in hisi_spi_nor_unprep() 179 static int hisi_spi_nor_op_reg(struct spi_nor *nor, in hisi_spi_nor_op_reg() 202 static int hisi_spi_nor_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in hisi_spi_nor_read_reg() 217 static int hisi_spi_nor_write_reg(struct spi_nor *nor, u8 opcode, in hisi_spi_nor_write_reg() 229 static int hisi_spi_nor_dma_transfer(struct spi_nor *nor, loff_t start_off, in hisi_spi_nor_dma_transfer() 268 static ssize_t hisi_spi_nor_read(struct spi_nor *nor, loff_t from, size_t len, in hisi_spi_nor_read() 291 static ssize_t hisi_spi_nor_write(struct spi_nor *nor, loff_t to, in hisi_spi_nor_write() 328 struct spi_nor *nor; in hisi_spi_nor_register()
|
| D | cadence-quadspi.c | 47 struct spi_nor nor; 288 static unsigned int cqspi_calc_rdreg(struct spi_nor *nor, const u8 opcode) in cqspi_calc_rdreg() 357 static int cqspi_command_read(struct spi_nor *nor, in cqspi_command_read() 406 static int cqspi_command_write(struct spi_nor *nor, const u8 opcode, in cqspi_command_write() 446 static int cqspi_command_write_addr(struct spi_nor *nor, in cqspi_command_write_addr() 464 static int cqspi_read_setup(struct spi_nor *nor) in cqspi_read_setup() 504 static int cqspi_indirect_read_execute(struct spi_nor *nor, u8 *rxbuf, in cqspi_indirect_read_execute() 596 static int cqspi_write_setup(struct spi_nor *nor) in cqspi_write_setup() 616 static int cqspi_indirect_write_execute(struct spi_nor *nor, loff_t to_addr, in cqspi_indirect_write_execute() 709 static void cqspi_chipselect(struct spi_nor *nor) in cqspi_chipselect() [all …]
|
| D | mtk-quadspi.c | 106 struct spi_nor nor; 115 struct spi_nor *nor = &mtk_nor->nor; in mtk_nor_set_read_mode() 229 struct spi_nor *nor = &mtk_nor->nor; in mtk_nor_set_addr_width() 263 static ssize_t mtk_nor_read(struct spi_nor *nor, loff_t from, size_t length, in mtk_nor_read() 317 static ssize_t mtk_nor_write(struct spi_nor *nor, loff_t to, size_t len, in mtk_nor_write() 357 static int mtk_nor_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in mtk_nor_read_reg() 379 static int mtk_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in mtk_nor_write_reg() 432 struct spi_nor *nor; in mtk_nor_init()
|
| D | nxp-spifi.c | 59 struct spi_nor nor; 126 static int nxp_spifi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in nxp_spifi_read_reg() 148 static int nxp_spifi_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in nxp_spifi_write_reg() 171 static ssize_t nxp_spifi_read(struct spi_nor *nor, loff_t from, size_t len, in nxp_spifi_read() 186 static ssize_t nxp_spifi_write(struct spi_nor *nor, loff_t to, size_t len, in nxp_spifi_write() 217 static int nxp_spifi_erase(struct spi_nor *nor, loff_t offs) in nxp_spifi_erase() 263 static void nxp_spifi_dummy_id_read(struct spi_nor *nor) in nxp_spifi_dummy_id_read()
|
| D | aspeed-smc.c | 100 struct spi_nor nor; 277 static void aspeed_smc_start_user(struct spi_nor *nor) in aspeed_smc_start_user() 296 static void aspeed_smc_stop_user(struct spi_nor *nor) in aspeed_smc_stop_user() 308 static int aspeed_smc_prep(struct spi_nor *nor, enum spi_nor_ops ops) in aspeed_smc_prep() 316 static void aspeed_smc_unprep(struct spi_nor *nor, enum spi_nor_ops ops) in aspeed_smc_unprep() 323 static int aspeed_smc_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in aspeed_smc_read_reg() 334 static int aspeed_smc_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in aspeed_smc_write_reg() 346 static void aspeed_smc_send_cmd_addr(struct spi_nor *nor, u8 cmd, u32 addr) in aspeed_smc_send_cmd_addr() 372 static ssize_t aspeed_smc_read_user(struct spi_nor *nor, loff_t from, in aspeed_smc_read_user() 389 static ssize_t aspeed_smc_write_user(struct spi_nor *nor, loff_t to, in aspeed_smc_write_user() [all …]
|
| D | intel-spi.c | 143 struct spi_nor nor; 538 static int intel_spi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in intel_spi_read_reg() 558 static int intel_spi_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in intel_spi_write_reg() 606 static ssize_t intel_spi_read(struct spi_nor *nor, loff_t from, size_t len, in intel_spi_read() 677 static ssize_t intel_spi_write(struct spi_nor *nor, loff_t to, size_t len, in intel_spi_write() 740 static int intel_spi_erase(struct spi_nor *nor, loff_t offs) in intel_spi_erase()
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | bcm47094-luxul-xap-1610.dts | 54 &spi_nor {
|
| D | bcm4708-luxul-xap-1510.dts | 56 &spi_nor {
|
| D | bcm47081-luxul-xap-1410.dts | 56 &spi_nor {
|
| D | bcm47094-luxul-xbr-4500.dts | 59 &spi_nor {
|
| D | bcm4708-luxul-xwc-1000.dts | 63 &spi_nor {
|
| D | bcm47094-luxul-abr-4500.dts | 59 &spi_nor {
|
| D | bcm47094-luxul-xwr-3150-v1.dts | 74 &spi_nor {
|
| D | bcm4708-netgear-r6250.dts | 90 &spi_nor {
|
| D | bcm4708-netgear-r6300-v2.dts | 82 &spi_nor {
|
| D | bcm47094-luxul-xwr-3100.dts | 99 &spi_nor {
|
| D | bcm47081-luxul-xwr-1200.dts | 104 &spi_nor {
|
| D | bcm47094-dlink-dir-885l.dts | 114 &spi_nor {
|
| D | bcm47081-tplink-archer-c5-v2.dts | 94 &spi_nor {
|
| D | bcm4709-tplink-archer-c9-v1.dts | 105 &spi_nor {
|
| D | bcm4709-buffalo-wxr-1900dhp.dts | 128 &spi_nor {
|
| D | bcm4708-smartrg-sr400ac.dts | 117 &spi_nor {
|
| /Linux-v5.4/Documentation/devicetree/bindings/spi/ |
| D | spi-xlp.txt | 31 spi_nor@1 {
|