| /kernel/linux/linux-5.10/drivers/mtd/spi-nor/ |
| H A D | Makefile | [all...] |
| H A D | intel.c | 18 static void intel_default_init(struct spi_nor *nor) in intel_default_init() argument
|
| H A D | gigadevice.c | 11 static void gd25q256_default_init(struct spi_nor *nor) in gd25q256_default_init() argument
|
| H A D | micron-st.c | 122 static int st_micron_set_4byte_addr_mode(struct spi_nor *nor, bool enable) in st_micron_set_4byte_addr_mode() argument 137 static void micron_st_default_init(struct spi_nor *nor) in micron_st_default_init() argument [all...] |
| H A D | spansion.c | 12 s25fs_s_post_bfpt_fixups(struct spi_nor *nor, in s25fs_s_post_bfpt_fixups() argument 109 static void spansion_post_sfdp_fixups(struct spi_nor *nor) in spansion_post_sfdp_fixups() argument
|
| H A D | macronix.c | 12 mx25l25635_post_bfpt_fixups(struct spi_nor *nor, in mx25l25635_post_bfpt_fixups() argument 92 static void macronix_default_init(struct spi_nor *nor) in macronix_default_init() argument
|
| H A D | issi.c | 12 is25lp256_post_bfpt_fixups(struct spi_nor *nor, in is25lp256_post_bfpt_fixups() argument 69 static void issi_default_init(struct spi_nor *nor) in issi_default_init() argument
|
| H A D | atmel.c | 17 static int atmel_at25fs_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_lock() argument 22 static int atmel_at25fs_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_unlock() argument 38 static int atmel_at25fs_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_is_locked() argument 49 static void atmel_at25fs_default_init(struct spi_nor *nor) in atmel_at25fs_default_init() argument
|
| H A D | winbond.c | 12 w25q256_post_bfpt_fixups(struct spi_nor *nor, in w25q256_post_bfpt_fixups() argument 110 static int winbond_set_4byte_addr_mode(struct spi_nor *nor, bool enable) in winbond_set_4byte_addr_mode() argument 134 static void winbond_default_init(struct spi_nor *nor) in winbond_default_init() argument [all...] |
| H A D | sst.c | 48 struct spi_nor *nor = mtd_to_spi_nor(mtd); in sst_write() local 131 sst_default_init(struct spi_nor *nor) sst_default_init() argument 136 sst_post_sfdp_fixups(struct spi_nor *nor) sst_post_sfdp_fixups() argument [all...] |
| H A D | xilinx.c | 29 static u32 s3an_convert_addr(struct spi_nor *nor, u32 addr) in s3an_convert_addr() argument 40 static int xilinx_nor_setup(struct spi_nor *nor, in xilinx_nor_setup() argument 80 xilinx_post_sfdp_fixups(struct spi_nor *nor) xilinx_post_sfdp_fixups() argument [all...] |
| /kernel/linux/linux-6.6/drivers/mtd/spi-nor/ |
| H A D | Makefile | [all...] |
| H A D | gigadevice.c | 12 gd25q256_post_bfpt(struct spi_nor *nor, in gd25q256_post_bfpt() argument
|
| H A D | macronix.c | 12 mx25l25635_post_bfpt_fixups(struct spi_nor *nor, in mx25l25635_post_bfpt_fixups() argument 108 static void macronix_nor_default_init(struct spi_nor *nor) in macronix_nor_default_init() argument 113 static int macronix_nor_late_init(struct spi_nor *nor) in macronix_nor_late_init() argument
|
| H A D | issi.c | 12 is25lp256_post_bfpt_fixups(struct spi_nor *nor, in is25lp256_post_bfpt_fixups() argument 32 static int pm25lv_nor_late_init(struct spi_nor *nor) in pm25lv_nor_late_init() argument 94 static void issi_nor_default_init(struct spi_nor *nor) in issi_nor_default_init() argument
|
| H A D | winbond.c | 21 w25q256_post_bfpt_fixups(struct spi_nor *nor, in w25q256_post_bfpt_fixups() argument 155 static int winbond_nor_write_ear(struct spi_nor *nor, u8 ear) in winbond_nor_write_ear() argument 188 winbond_nor_set_4byte_addr_mode(struct spi_nor *nor, bool enable) winbond_nor_set_4byte_addr_mode() argument 220 winbond_nor_late_init(struct spi_nor *nor) winbond_nor_late_init() argument [all...] |
| H A D | xilinx.c | 57 static u32 s3an_nor_convert_addr(struct spi_nor *nor, u32 addr) in s3an_nor_convert_addr() argument 77 static int xilinx_nor_read_sr(struct spi_nor *nor, u8 *sr) in xilinx_nor_read_sr() argument 105 xilinx_nor_sr_ready(struct spi_nor *nor) xilinx_nor_sr_ready() argument 116 xilinx_nor_setup(struct spi_nor *nor, const struct spi_nor_hwcaps *hwcaps) xilinx_nor_setup() argument 158 xilinx_nor_late_init(struct spi_nor *nor) xilinx_nor_late_init() argument [all...] |
| H A D | sst.c | 16 static int sst26vf_nor_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26vf_nor_lock() argument 21 static int sst26vf_nor_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26vf_nor_unlock() argument 41 static int sst26vf_nor_is_locked(struct spi_nor *nor, loff_ argument 52 sst26vf_nor_late_init(struct spi_nor *nor) sst26vf_nor_late_init() argument 129 struct spi_nor *nor = mtd_to_spi_nor(mtd); sst_nor_write() local 212 sst_nor_late_init(struct spi_nor *nor) sst_nor_late_init() argument [all...] |
| H A D | sysfs.c | 15 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in manufacturer_show() local 26 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in partname_show() local 37 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in jedec_id_show() local 58 struct spi_nor *nor = spi_mem_get_drvdata(spimem); sfdp_read() local 77 struct spi_nor *nor = spi_mem_get_drvdata(spimem); spi_nor_sysfs_is_visible() local 92 struct spi_nor *nor = spi_mem_get_drvdata(spimem); spi_nor_sysfs_is_bin_visible() local [all...] |
| H A D | atmel.c | 19 static int at25fs_nor_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in at25fs_nor_lock() argument 24 static int at25fs_nor_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in at25fs_nor_unlock() argument 40 static int at25fs_nor_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in at25fs_nor_is_locked() argument 51 static int at25fs_nor_late_init(struct spi_nor *nor) in at25fs_nor_late_init() argument 71 atmel_nor_set_global_protection(struct spi_nor *nor, loff_t ofs, uint64_t len, bool is_protect) atmel_nor_set_global_protection() argument 121 atmel_nor_global_protect(struct spi_nor *nor, loff_t ofs, uint64_t len) atmel_nor_global_protect() argument 127 atmel_nor_global_unprotect(struct spi_nor *nor, loff_t ofs, uint64_t len) atmel_nor_global_unprotect() argument 133 atmel_nor_is_global_protected(struct spi_nor *nor, loff_t ofs, uint64_t len) atmel_nor_is_global_protected() argument 154 atmel_nor_global_protection_late_init(struct spi_nor *nor) atmel_nor_global_protection_late_init() argument [all...] |
| H A D | debugfs.c | 78 struct spi_nor *nor = s->private; in spi_nor_params_show() local 186 struct spi_nor *nor = s->private; spi_nor_capabilities_show() local 226 struct spi_nor *nor = data; spi_nor_debugfs_unregister() local 234 spi_nor_debugfs_register(struct spi_nor *nor) spi_nor_debugfs_register() argument [all...] |
| H A D | otp.c | 36 int spi_nor_otp_read_secr(struct spi_nor *nor, loff_t addr, size_t len, u8 *buf) in spi_nor_otp_read_secr() argument 83 spi_nor_otp_write_secr(struct spi_nor *nor, loff_t addr, size_t len, const u8 *buf) spi_nor_otp_write_secr() argument 137 spi_nor_otp_erase_secr(struct spi_nor *nor, loff_t addr) spi_nor_otp_erase_secr() argument 175 spi_nor_otp_lock_sr2(struct spi_nor *nor, unsigned int region) spi_nor_otp_lock_sr2() argument 207 spi_nor_otp_is_locked_sr2(struct spi_nor *nor, unsigned int region) spi_nor_otp_is_locked_sr2() argument 223 spi_nor_otp_region_start(const struct spi_nor *nor, unsigned int region) spi_nor_otp_region_start() argument 230 spi_nor_otp_size(struct spi_nor *nor) spi_nor_otp_size() argument 236 spi_nor_otp_region_to_offset(struct spi_nor *nor, unsigned int region) spi_nor_otp_region_to_offset() argument 241 spi_nor_otp_offset_to_region(struct spi_nor *nor, loff_t ofs) spi_nor_otp_offset_to_region() argument 249 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_mtd_otp_info() local 284 spi_nor_mtd_otp_range_is_locked(struct spi_nor *nor, loff_t ofs, size_t len) spi_nor_mtd_otp_range_is_locked() argument 311 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_mtd_otp_read_write() local 397 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_mtd_otp_erase() local 450 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_mtd_otp_lock() local 483 spi_nor_set_mtd_otp_ops(struct spi_nor *nor) spi_nor_set_mtd_otp_ops() argument [all...] |
| H A D | swp.c | 13 static u8 spi_nor_get_sr_bp_mask(struct spi_nor *nor) in spi_nor_get_sr_bp_mask() argument 26 static u8 spi_nor_get_sr_tb_mask(struct spi_nor *nor) in spi_nor_get_sr_tb_mask() argument 34 static u64 spi_nor_get_min_prot_length_sr(struct spi_nor *nor) in spi_nor_get_min_prot_length_sr() argument 50 spi_nor_get_locked_range_sr(struct spi_nor *nor, u8 sr, loff_t *ofs, uint64_t *len) spi_nor_get_locked_range_sr() argument 87 spi_nor_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, u8 sr, bool locked) spi_nor_check_lock_status_sr() argument 109 spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, u8 sr) spi_nor_is_locked_sr() argument 115 spi_nor_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, u8 sr) spi_nor_is_unlocked_sr() argument 154 spi_nor_sr_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) spi_nor_sr_lock() argument 244 spi_nor_sr_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) spi_nor_sr_unlock() argument 329 spi_nor_sr_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) spi_nor_sr_is_locked() argument 346 spi_nor_init_default_locking_ops(struct spi_nor *nor) spi_nor_init_default_locking_ops() argument 353 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_lock() local 368 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_unlock() local 383 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_is_locked() local 408 spi_nor_try_unlock_all(struct spi_nor *nor) spi_nor_try_unlock_all() argument 422 spi_nor_set_mtd_locking_ops(struct spi_nor *nor) spi_nor_set_mtd_locking_ops() argument [all...] |
| H A D | micron-st.c | 50 static int micron_st_nor_octal_dtr_en(struct spi_nor *nor) in micron_st_nor_octal_dtr_en() argument 87 micron_st_nor_octal_dtr_dis(struct spi_nor *nor) micron_st_nor_octal_dtr_dis() argument 123 micron_st_nor_set_octal_dtr(struct spi_nor *nor, bool enable) micron_st_nor_set_octal_dtr() argument 129 mt35xu512aba_default_init(struct spi_nor *nor) mt35xu512aba_default_init() argument 134 mt35xu512aba_post_sfdp_fixup(struct spi_nor *nor) mt35xu512aba_post_sfdp_fixup() argument 315 micron_st_nor_read_fsr(struct spi_nor *nor, u8 *fsr) micron_st_nor_read_fsr() argument 350 micron_st_nor_clear_fsr(struct spi_nor *nor) micron_st_nor_clear_fsr() argument 377 micron_st_nor_ready(struct spi_nor *nor) micron_st_nor_ready() argument 425 micron_st_nor_default_init(struct spi_nor *nor) micron_st_nor_default_init() argument 432 micron_st_nor_late_init(struct spi_nor *nor) micron_st_nor_late_init() argument [all...] |
| /kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/ |
| H A D | nxp-spifi.c | 59 struct spi_nor nor; member 126 static int nxp_spifi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in nxp_spifi_read_reg() argument 149 static int nxp_spifi_write_reg(struct spi_nor *nor, u8 opcode, const u8 *buf, in nxp_spifi_write_reg() argument 173 static ssize_t nxp_spifi_read(struct spi_nor *nor, loff_t from, size_t len, in nxp_spifi_read() argument 188 static ssize_t nxp_spifi_write(struct spi_nor *nor, loff_t to, size_t len, in nxp_spifi_write() argument 219 nxp_spifi_erase(struct spi_nor *nor, loff_t offs) nxp_spifi_erase() argument 265 nxp_spifi_dummy_id_read(struct spi_nor *nor) nxp_spifi_dummy_id_read() argument [all...] |