Home
last modified time | relevance | path

Searched defs:nor (Results 1 – 16 of 16) sorted by relevance

/drivers/mtd/spi-nor/
Dcore.c53 static bool spi_nor_spimem_bounce(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_bounce()
74 static int spi_nor_spimem_exec_op(struct spi_nor *nor, struct spi_mem_op *op) in spi_nor_spimem_exec_op()
95 static ssize_t spi_nor_spimem_read_data(struct spi_nor *nor, loff_t from, in spi_nor_spimem_read_data()
143 ssize_t spi_nor_read_data(struct spi_nor *nor, loff_t from, size_t len, u8 *buf) in spi_nor_read_data()
161 static ssize_t spi_nor_spimem_write_data(struct spi_nor *nor, loff_t to, in spi_nor_spimem_write_data()
204 ssize_t spi_nor_write_data(struct spi_nor *nor, loff_t to, size_t len, in spi_nor_write_data()
219 int spi_nor_write_enable(struct spi_nor *nor) in spi_nor_write_enable()
248 int spi_nor_write_disable(struct spi_nor *nor) in spi_nor_write_disable()
279 static int spi_nor_read_sr(struct spi_nor *nor, u8 *sr) in spi_nor_read_sr()
310 static int spi_nor_read_fsr(struct spi_nor *nor, u8 *fsr) in spi_nor_read_fsr()
[all …]
Datmel.c17 static int atmel_at25fs_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_lock()
22 static int atmel_at25fs_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_unlock()
38 static int atmel_at25fs_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_is_locked()
49 static void atmel_at25fs_default_init(struct spi_nor *nor) in atmel_at25fs_default_init()
Dxilinx.c29 static u32 s3an_convert_addr(struct spi_nor *nor, u32 addr) in s3an_convert_addr()
40 static int xilinx_nor_setup(struct spi_nor *nor, in xilinx_nor_setup()
80 static void xilinx_post_sfdp_fixups(struct spi_nor *nor) in xilinx_post_sfdp_fixups()
Dwinbond.c12 w25q256_post_bfpt_fixups(struct spi_nor *nor, in w25q256_post_bfpt_fixups()
110 static int winbond_set_4byte_addr_mode(struct spi_nor *nor, bool enable) in winbond_set_4byte_addr_mode()
134 static void winbond_default_init(struct spi_nor *nor) in winbond_default_init()
Dsfdp.c140 static int spi_nor_read_raw(struct spi_nor *nor, u32 addr, size_t len, u8 *buf) in spi_nor_read_raw()
171 static int spi_nor_read_sfdp(struct spi_nor *nor, u32 addr, in spi_nor_read_sfdp()
207 static int spi_nor_read_sfdp_dma_unsafe(struct spi_nor *nor, u32 addr, in spi_nor_read_sfdp_dma_unsafe()
427 static int spi_nor_parse_bfpt(struct spi_nor *nor, in spi_nor_parse_bfpt()
619 static u8 spi_nor_smpt_addr_width(const struct spi_nor *nor, const u32 settings) in spi_nor_smpt_addr_width()
642 static u8 spi_nor_smpt_read_dummy(const struct spi_nor *nor, const u32 settings) in spi_nor_smpt_read_dummy()
659 static const u32 *spi_nor_get_map_in_use(struct spi_nor *nor, const u32 *smpt, in spi_nor_get_map_in_use()
782 spi_nor_init_non_uniform_erase_map(struct spi_nor *nor, in spi_nor_init_non_uniform_erase_map()
873 static int spi_nor_parse_smpt(struct spi_nor *nor, in spi_nor_parse_smpt()
923 static int spi_nor_parse_4bait(struct spi_nor *nor, in spi_nor_parse_4bait()
[all …]
Dsst.c48 struct spi_nor *nor = mtd_to_spi_nor(mtd); in sst_write() local
131 static void sst_default_init(struct spi_nor *nor) in sst_default_init()
136 static void sst_post_sfdp_fixups(struct spi_nor *nor) in sst_post_sfdp_fixups()
Dspansion.c12 s25fs_s_post_bfpt_fixups(struct spi_nor *nor, in s25fs_s_post_bfpt_fixups()
109 static void spansion_post_sfdp_fixups(struct spi_nor *nor) in spansion_post_sfdp_fixups()
Dmicron-st.c122 static int st_micron_set_4byte_addr_mode(struct spi_nor *nor, bool enable) in st_micron_set_4byte_addr_mode()
137 static void micron_st_default_init(struct spi_nor *nor) in micron_st_default_init()
Dissi.c12 is25lp256_post_bfpt_fixups(struct spi_nor *nor, in is25lp256_post_bfpt_fixups()
69 static void issi_default_init(struct spi_nor *nor) in issi_default_init()
Dmacronix.c12 mx25l25635_post_bfpt_fixups(struct spi_nor *nor, in mx25l25635_post_bfpt_fixups()
92 static void macronix_default_init(struct spi_nor *nor) in macronix_default_init()
Dintel.c18 static void intel_default_init(struct spi_nor *nor) in intel_default_init()
Dgigadevice.c11 static void gd25q256_default_init(struct spi_nor *nor) in gd25q256_default_init()
/drivers/mtd/spi-nor/controllers/
Dhisi-sfc.c99 struct spi_nor *nor[HIFMC_MAX_CHIP_NUM]; member
147 static int hisi_spi_nor_prep(struct spi_nor *nor) in hisi_spi_nor_prep()
170 static void hisi_spi_nor_unprep(struct spi_nor *nor) 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()
337 struct spi_nor *nor; in hisi_spi_nor_register() local
Dnxp-spifi.c59 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()
149 static int nxp_spifi_write_reg(struct spi_nor *nor, u8 opcode, const u8 *buf, in nxp_spifi_write_reg()
173 static ssize_t nxp_spifi_read(struct spi_nor *nor, loff_t from, size_t len, in nxp_spifi_read()
188 static ssize_t nxp_spifi_write(struct spi_nor *nor, loff_t to, size_t len, in nxp_spifi_write()
219 static int nxp_spifi_erase(struct spi_nor *nor, loff_t offs) in nxp_spifi_erase()
265 static void nxp_spifi_dummy_id_read(struct spi_nor *nor) in nxp_spifi_dummy_id_read()
Daspeed-smc.c100 struct spi_nor nor; member
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) in aspeed_smc_prep()
316 static void aspeed_smc_unprep(struct spi_nor *nor) in aspeed_smc_unprep()
323 static int aspeed_smc_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in aspeed_smc_read_reg()
335 static int aspeed_smc_write_reg(struct spi_nor *nor, u8 opcode, const u8 *buf, in aspeed_smc_write_reg()
347 static void aspeed_smc_send_cmd_addr(struct spi_nor *nor, u8 cmd, u32 addr) in aspeed_smc_send_cmd_addr()
373 static ssize_t aspeed_smc_read_user(struct spi_nor *nor, loff_t from, in aspeed_smc_read_user()
390 static ssize_t aspeed_smc_write_user(struct spi_nor *nor, loff_t to, in aspeed_smc_write_user()
[all …]
Dintel-spi.c146 struct spi_nor nor; member
557 static int intel_spi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, in intel_spi_read_reg()
578 static int intel_spi_write_reg(struct spi_nor *nor, u8 opcode, const u8 *buf, in intel_spi_write_reg()
636 static ssize_t intel_spi_read(struct spi_nor *nor, loff_t from, size_t len, in intel_spi_read()
707 static ssize_t intel_spi_write(struct spi_nor *nor, loff_t to, size_t len, in intel_spi_write()
770 static int intel_spi_erase(struct spi_nor *nor, loff_t offs) in intel_spi_erase()