| /linux/drivers/mtd/spi-nor/ |
| H A D | core.c | 59 static u8 spi_nor_get_cmd_ext(const struct spi_nor *nor, in spi_nor_get_cmd_ext() 82 void spi_nor_spimem_setup_op(const struct spi_nor *nor, in spi_nor_spimem_setup_op() 133 static bool spi_nor_spimem_bounce(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_bounce() 154 static int spi_nor_spimem_exec_op(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_exec_op() 165 int spi_nor_controller_ops_read_reg(struct spi_nor *nor, u8 opcode, in spi_nor_controller_ops_read_reg() 174 int spi_nor_controller_ops_write_reg(struct spi_nor *nor, u8 opcode, in spi_nor_controller_ops_write_reg() 183 static int spi_nor_controller_ops_erase(struct spi_nor *nor, loff_t offs) in spi_nor_controller_ops_erase() 201 static ssize_t spi_nor_spimem_read_data(struct spi_nor *nor, loff_t from, in spi_nor_spimem_read_data() 247 ssize_t spi_nor_read_data(struct spi_nor *nor, loff_t from, size_t len, u8 *buf) in spi_nor_read_data() 265 static ssize_t spi_nor_spimem_write_data(struct spi_nor *nor, loff_t to, in spi_nor_spimem_write_data() [all …]
|
| H A D | sysfs.c | 15 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in manufacturer_show() 26 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in partname_show() 37 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in jedec_id_show() 58 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in sfdp_read() 77 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in spi_nor_sysfs_is_visible() 94 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in spi_nor_sysfs_is_bin_visible()
|
| 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() 182 static int spi_nor_read_sfdp(struct spi_nor *nor, u32 addr, in spi_nor_read_sfdp() 218 static int spi_nor_read_sfdp_dma_unsafe(struct spi_nor *nor, u32 addr, in spi_nor_read_sfdp_dma_unsafe() 432 static int spi_nor_parse_bfpt(struct spi_nor *nor, in spi_nor_parse_bfpt() 687 static u8 spi_nor_smpt_addr_nbytes(const struct spi_nor *nor, const u32 settings) in spi_nor_smpt_addr_nbytes() 702 static void spi_nor_smpt_read_dummy_fixups(const struct spi_nor *nor, in spi_nor_smpt_read_dummy_fixups() 721 static u8 spi_nor_smpt_read_dummy(const struct spi_nor *nor, const u32 settings) in spi_nor_smpt_read_dummy() 733 static void spi_nor_smpt_map_id_fixups(const struct spi_nor *nor, u8 *map_id) in spi_nor_smpt_map_id_fixups() 751 static const u32 *spi_nor_get_map_in_use(struct spi_nor *nor, const u32 *smpt, in spi_nor_get_map_in_use() 863 static int spi_nor_init_non_uniform_erase_map(struct spi_nor *nor, in spi_nor_init_non_uniform_erase_map() [all …]
|
| H A D | issi.c | 12 is25lp256_post_bfpt_fixups(struct spi_nor *nor, in is25lp256_post_bfpt_fixups() 32 static int pm25lv_nor_late_init(struct spi_nor *nor) in pm25lv_nor_late_init() 132 static void issi_nor_default_init(struct spi_nor *nor) in issi_nor_default_init()
|
| H A D | debugfs.c | 79 struct spi_nor *nor = s->private; in spi_nor_params_show() 186 struct spi_nor *nor = s->private; in spi_nor_capabilities_show() 226 struct spi_nor *nor = data; in spi_nor_debugfs_unregister() 234 void spi_nor_debugfs_register(struct spi_nor *nor) in spi_nor_debugfs_register()
|
| H A D | everspin.c | 37 static void everspin_nor_default_init(struct spi_nor *nor) in everspin_nor_default_init()
|
| H A D | gigadevice.c | 12 gd25q256_post_bfpt(struct spi_nor *nor, in gd25q256_post_bfpt()
|
| /linux/include/linux/mtd/ |
| H A D | spi-nor.h | 288 struct spi_nor; 306 int (*prepare)(struct spi_nor *nor); 307 void (*unprepare)(struct spi_nor *nor); 308 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, size_t len); 309 int (*write_reg)(struct spi_nor *nor, u8 opcode, const u8 *buf, 312 ssize_t (*read)(struct spi_nor *nor, loff_t from, size_t len, u8 *buf); 313 ssize_t (*write)(struct spi_nor *nor, loff_t to, size_t len, 315 int (*erase)(struct spi_nor *nor, loff_t offs); 382 struct spi_nor { struct 425 static inline void spi_nor_set_flash_node(struct spi_nor *nor, in spi_nor_set_flash_node() argument [all …]
|
| /linux/drivers/mtd/spi-nor/controllers/ |
| H A D | nxp-spifi.c | 58 struct spi_nor nor; 125 static int nxp_spifi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, 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() 172 static ssize_t nxp_spifi_read(struct spi_nor *nor, loff_t from, size_t len, 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() 218 static int nxp_spifi_erase(struct spi_nor *nor, loff_t offs) in nxp_spifi_erase() 264 static void nxp_spifi_dummy_id_read(struct spi_nor *nor) in nxp_spifi_dummy_id_read()
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm53016-dlink-dwl-8610ap.dts | 68 * found attached to the spi_nor SPI controller. 92 &spi_nor {
|
| H A D | bcm47094-dlink-dir-890l.dts | 110 * found attached to the spi_nor SPI controller. 132 &spi_nor {
|
| H A D | bcm47094-luxul-xwc-2000.dts | 63 &spi_nor {
|
| H A D | bcm47081-luxul-xap-1410.dts | 69 &spi_nor {
|
| H A D | bcm4708-luxul-xwc-1000.dts | 76 &spi_nor {
|
| H A D | bcm4708-luxul-xap-1510.dts | 69 &spi_nor {
|
| H A D | bcm4708-netgear-r6300-v2.dts | 82 &spi_nor {
|
| H A D | bcm47094-luxul-abr-4500.dts | 73 &spi_nor {
|
| H A D | bcm47094-luxul-xbr-4500.dts | 73 &spi_nor {
|
| H A D | bcm47081-tplink-archer-c5-v2.dts | 94 &spi_nor {
|
| H A D | bcm4708-netgear-r6250.dts | 90 &spi_nor {
|
| H A D | bcm4709-tplink-archer-c9-v1.dts | 103 &spi_nor {
|
| H A D | bcm4709-buffalo-wxr-1900dhp.dts | 126 &spi_nor {
|
| H A D | bcm47094-luxul-xwr-3100.dts | 113 &spi_nor {
|
| H A D | bcm4708-buffalo-wzr-1750dhp.dts | 145 &spi_nor {
|
| H A D | bcm5301x.dtsi | 125 spi_nor: flash@0 { label
|