Home
last modified time | relevance | path

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

/linux/drivers/mtd/spi-nor/
H A Dcore.c59 static u8 spi_nor_get_cmd_ext(const struct spi_nor *nor, in spi_nor_get_cmd_ext() argument
82 void spi_nor_spimem_setup_op(const struct spi_nor *nor, in spi_nor_spimem_setup_op() argument
133 spi_nor_spimem_bounce(struct spi_nor * nor,struct spi_mem_op * op) spi_nor_spimem_bounce() argument
154 spi_nor_spimem_exec_op(struct spi_nor * nor,struct spi_mem_op * op) spi_nor_spimem_exec_op() argument
165 spi_nor_controller_ops_read_reg(struct spi_nor * nor,u8 opcode,u8 * buf,size_t len) spi_nor_controller_ops_read_reg() argument
174 spi_nor_controller_ops_write_reg(struct spi_nor * nor,u8 opcode,const u8 * buf,size_t len) spi_nor_controller_ops_write_reg() argument
183 spi_nor_controller_ops_erase(struct spi_nor * nor,loff_t offs) spi_nor_controller_ops_erase() argument
201 spi_nor_spimem_read_data(struct spi_nor * nor,loff_t from,size_t len,u8 * buf) spi_nor_spimem_read_data() argument
247 spi_nor_read_data(struct spi_nor * nor,loff_t from,size_t len,u8 * buf) spi_nor_read_data() argument
265 spi_nor_spimem_write_data(struct spi_nor * nor,loff_t to,size_t len,const u8 * buf) spi_nor_spimem_write_data() argument
306 spi_nor_write_data(struct spi_nor * nor,loff_t to,size_t len,const u8 * buf) spi_nor_write_data() argument
324 spi_nor_read_any_reg(struct spi_nor * nor,struct spi_mem_op * op,enum spi_nor_protocol proto) spi_nor_read_any_reg() argument
346 spi_nor_write_any_volatile_reg(struct spi_nor * nor,struct spi_mem_op * op,enum spi_nor_protocol proto) spi_nor_write_any_volatile_reg() argument
367 spi_nor_write_enable(struct spi_nor * nor) spi_nor_write_enable() argument
394 spi_nor_write_disable(struct spi_nor * nor) spi_nor_write_disable() argument
428 spi_nor_read_id(struct spi_nor * nor,u8 naddr,u8 ndummy,u8 * id,enum spi_nor_protocol proto) spi_nor_read_id() argument
454 spi_nor_read_sr(struct spi_nor * nor,u8 * sr) spi_nor_read_sr() argument
494 spi_nor_read_cr(struct spi_nor * nor,u8 * cr) spi_nor_read_cr() argument
525 spi_nor_set_4byte_addr_mode_en4b_ex4b(struct spi_nor * nor,bool enable) spi_nor_set_4byte_addr_mode_en4b_ex4b() argument
558 spi_nor_set_4byte_addr_mode_wren_en4b_ex4b(struct spi_nor * nor,bool enable) spi_nor_set_4byte_addr_mode_wren_en4b_ex4b() argument
587 spi_nor_set_4byte_addr_mode_brwr(struct spi_nor * nor,bool enable) spi_nor_set_4byte_addr_mode_brwr() argument
617 spi_nor_sr_ready(struct spi_nor * nor) spi_nor_sr_ready() argument
634 spi_nor_use_parallel_locking(struct spi_nor * nor) spi_nor_use_parallel_locking() argument
640 spi_nor_rww_start_rdst(struct spi_nor * nor) spi_nor_rww_start_rdst() argument
655 spi_nor_rww_end_rdst(struct spi_nor * nor) spi_nor_rww_end_rdst() argument
665 spi_nor_lock_rdst(struct spi_nor * nor) spi_nor_lock_rdst() argument
673 spi_nor_unlock_rdst(struct spi_nor * nor) spi_nor_unlock_rdst() argument
687 spi_nor_ready(struct spi_nor * nor) spi_nor_ready() argument
714 spi_nor_wait_till_ready_with_timeout(struct spi_nor * nor,unsigned long timeout_jiffies) spi_nor_wait_till_ready_with_timeout() argument
747 spi_nor_wait_till_ready(struct spi_nor * nor) spi_nor_wait_till_ready() argument
759 spi_nor_global_block_unlock(struct spi_nor * nor) spi_nor_global_block_unlock() argument
794 spi_nor_write_sr(struct spi_nor * nor,const u8 * sr,size_t len) spi_nor_write_sr() argument
829 spi_nor_write_sr1_and_check(struct spi_nor * nor,u8 sr1) spi_nor_write_sr1_and_check() argument
861 spi_nor_write_16bit_sr_and_check(struct spi_nor * nor,u8 sr1) spi_nor_write_16bit_sr_and_check() argument
936 spi_nor_write_16bit_cr_and_check(struct spi_nor * nor,u8 cr) spi_nor_write_16bit_cr_and_check() argument
988 spi_nor_write_sr_and_check(struct spi_nor * nor,u8 sr1) spi_nor_write_sr_and_check() argument
1004 spi_nor_write_sr2(struct spi_nor * nor,const u8 * sr2) spi_nor_write_sr2() argument
1040 spi_nor_read_sr2(struct spi_nor * nor,u8 * sr2) spi_nor_read_sr2() argument
1069 spi_nor_erase_die(struct spi_nor * nor,loff_t addr,size_t die_size) spi_nor_erase_die() argument
1158 spi_nor_has_uniform_erase(const struct spi_nor * nor) spi_nor_has_uniform_erase() argument
1163 spi_nor_set_4byte_opcodes(struct spi_nor * nor) spi_nor_set_4byte_opcodes() argument
1182 spi_nor_prep(struct spi_nor * nor) spi_nor_prep() argument
1192 spi_nor_unprep(struct spi_nor * nor) spi_nor_unprep() argument
1207 spi_nor_rww_start_io(struct spi_nor * nor) spi_nor_rww_start_io() argument
1221 spi_nor_rww_end_io(struct spi_nor * nor) spi_nor_rww_end_io() argument
1227 spi_nor_lock_device(struct spi_nor * nor) spi_nor_lock_device() argument
1235 spi_nor_unlock_device(struct spi_nor * nor) spi_nor_unlock_device() argument
1244 spi_nor_rww_start_exclusive(struct spi_nor * nor) spi_nor_rww_start_exclusive() argument
1260 spi_nor_rww_end_exclusive(struct spi_nor * nor) spi_nor_rww_end_exclusive() argument
1270 spi_nor_prep_and_lock(struct spi_nor * nor) spi_nor_prep_and_lock() argument
1287 spi_nor_unlock_and_unprep(struct spi_nor * nor) spi_nor_unlock_and_unprep() argument
1300 spi_nor_rww_start_pe(struct spi_nor * nor,loff_t start,size_t len) spi_nor_rww_start_pe() argument
1326 spi_nor_rww_end_pe(struct spi_nor * nor,loff_t start,size_t len) spi_nor_rww_end_pe() argument
1341 spi_nor_prep_and_lock_pe(struct spi_nor * nor,loff_t start,size_t len) spi_nor_prep_and_lock_pe() argument
1358 spi_nor_unlock_and_unprep_pe(struct spi_nor * nor,loff_t start,size_t len) spi_nor_unlock_and_unprep_pe() argument
1371 spi_nor_rww_start_rd(struct spi_nor * nor,loff_t start,size_t len) spi_nor_rww_start_rd() argument
1398 spi_nor_rww_end_rd(struct spi_nor * nor,loff_t start,size_t len) spi_nor_rww_end_rd() argument
1414 spi_nor_prep_and_lock_rd(struct spi_nor * nor,loff_t start,size_t len) spi_nor_prep_and_lock_rd() argument
1431 spi_nor_unlock_and_unprep_rd(struct spi_nor * nor,loff_t start,size_t len) spi_nor_unlock_and_unprep_rd() argument
1446 spi_nor_erase_sector(struct spi_nor * nor,u32 addr) spi_nor_erase_sector() argument
1599 spi_nor_init_erase_cmd_list(struct spi_nor * nor,struct list_head * erase_list,u64 addr,u32 len) spi_nor_init_erase_cmd_list() argument
1658 spi_nor_erase_multi_sectors(struct spi_nor * nor,u64 addr,u32 len) spi_nor_erase_multi_sectors() argument
1707 spi_nor_erase_dice(struct spi_nor * nor,loff_t addr,size_t len,size_t die_size) spi_nor_erase_dice() argument
1758 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_erase() local
1851 spi_nor_sr1_bit6_quad_enable(struct spi_nor * nor) spi_nor_sr1_bit6_quad_enable() argument
1876 spi_nor_sr2_bit1_quad_enable(struct spi_nor * nor) spi_nor_sr2_bit1_quad_enable() argument
1907 spi_nor_sr2_bit7_quad_enable(struct spi_nor * nor) spi_nor_sr2_bit7_quad_enable() argument
1963 spi_nor_match_id(struct spi_nor * nor,const u8 * id) spi_nor_match_id() argument
1983 spi_nor_detect(struct spi_nor * nor) spi_nor_detect() argument
2022 spi_nor_octal_dtr_read(struct spi_nor * nor,loff_t from,size_t len,u_char * buf) spi_nor_octal_dtr_read() argument
2090 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_read() local
2138 spi_nor_octal_dtr_write(struct spi_nor * nor,loff_t to,size_t len,const u8 * buf) spi_nor_octal_dtr_write() argument
2201 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_write() local
2253 spi_nor_check(struct spi_nor * nor) spi_nor_check() argument
2355 spi_nor_spimem_check_read_pp_op(struct spi_nor * nor,struct spi_mem_op * op) spi_nor_spimem_check_read_pp_op() argument
2386 spi_nor_spimem_check_readop(struct spi_nor * nor,const struct spi_nor_read_command * read) spi_nor_spimem_check_readop() argument
2410 spi_nor_spimem_check_pp(struct spi_nor * nor,const struct spi_nor_pp_command * pp) spi_nor_spimem_check_pp() argument
2428 spi_nor_spimem_adjust_hwcaps(struct spi_nor * nor,u32 * hwcaps) spi_nor_spimem_adjust_hwcaps() argument
2516 spi_nor_post_bfpt_fixups(struct spi_nor * nor,const struct sfdp_parameter_header * bfpt_header,const struct sfdp_bfpt * bfpt) spi_nor_post_bfpt_fixups() argument
2536 spi_nor_select_read(struct spi_nor * nor,u32 shared_hwcaps) spi_nor_select_read() argument
2567 spi_nor_select_pp(struct spi_nor * nor,u32 shared_hwcaps) spi_nor_select_pp() argument
2643 spi_nor_select_erase(struct spi_nor * nor) spi_nor_select_erase() argument
2685 spi_nor_set_addr_nbytes(struct spi_nor * nor) spi_nor_set_addr_nbytes() argument
2728 spi_nor_setup(struct spi_nor * nor,const struct spi_nor_hwcaps * hwcaps) spi_nor_setup() argument
2794 spi_nor_manufacturer_init_params(struct spi_nor * nor) spi_nor_manufacturer_init_params() argument
2813 spi_nor_no_sfdp_init_params(struct spi_nor * nor) spi_nor_no_sfdp_init_params() argument
2883 spi_nor_init_flags(struct spi_nor * nor) spi_nor_init_flags() argument
2925 spi_nor_init_fixup_flags(struct spi_nor * nor) spi_nor_init_fixup_flags() argument
2944 spi_nor_late_init_params(struct spi_nor * nor) spi_nor_late_init_params() argument
2995 spi_nor_sfdp_init_params_deprecated(struct spi_nor * nor) spi_nor_sfdp_init_params_deprecated() argument
3016 spi_nor_init_params_deprecated(struct spi_nor * nor) spi_nor_init_params_deprecated() argument
3035 spi_nor_init_default_params(struct spi_nor * nor) spi_nor_init_default_params() argument
3117 spi_nor_init_params(struct spi_nor * nor) spi_nor_init_params() argument
3155 spi_nor_set_octal_dtr(struct spi_nor * nor,bool enable) spi_nor_set_octal_dtr() argument
3187 spi_nor_quad_enable(struct spi_nor * nor) spi_nor_quad_enable() argument
3206 spi_nor_set_4byte_addr_mode(struct spi_nor * nor,bool enable) spi_nor_set_4byte_addr_mode() argument
3238 spi_nor_init(struct spi_nor * nor) spi_nor_init() argument
3292 spi_nor_soft_reset(struct spi_nor * nor) spi_nor_soft_reset() argument
3329 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_suspend() local
3343 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_resume() local
3356 struct spi_nor *nor = mtd_to_spi_nor(master); spi_nor_get_device() local
3373 struct spi_nor *nor = mtd_to_spi_nor(master); spi_nor_put_device() local
3384 spi_nor_restore(struct spi_nor * nor) spi_nor_restore() argument
3405 spi_nor_match_name(struct spi_nor * nor,const char * name) spi_nor_match_name() argument
3423 spi_nor_get_flash_info(struct spi_nor * nor,const char * name) spi_nor_get_flash_info() argument
3474 spi_nor_set_mtd_eraseregions(struct spi_nor * nor) spi_nor_set_mtd_eraseregions() argument
3504 spi_nor_set_mtd_info(struct spi_nor * nor) spi_nor_set_mtd_info() argument
3542 spi_nor_hw_reset(struct spi_nor * nor) spi_nor_hw_reset() argument
3563 spi_nor_scan(struct spi_nor * nor,const char * name,const struct spi_nor_hwcaps * hwcaps) spi_nor_scan() argument
3641 spi_nor_create_read_dirmap(struct spi_nor * nor) spi_nor_create_read_dirmap() argument
3672 spi_nor_create_write_dirmap(struct spi_nor * nor) spi_nor_create_write_dirmap() argument
3706 struct spi_nor *nor; spi_nor_probe() local
3782 struct spi_nor *nor = spi_mem_get_drvdata(spimem); spi_nor_remove() local
3792 struct spi_nor *nor = spi_mem_get_drvdata(spimem); spi_nor_shutdown() local
[all...]
H A Dsst.c16 static int sst26vf_nor_lock(struct spi_nor *nor, loff_t ofs, u64 len) in sst26vf_nor_lock() argument
21 static int sst26vf_nor_unlock(struct spi_nor *nor, loff_t ofs, u64 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
170 sst_nor_write_data(struct spi_nor * nor,loff_t to,size_t len,const u_char * buf) sst_nor_write_data() argument
188 struct spi_nor *nor = mtd_to_spi_nor(mtd); sst_nor_write() local
255 sst_nor_late_init(struct spi_nor * nor) sst_nor_late_init() argument
[all...]
H A Dsfdp.c151 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 Dsysfs.c15 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); in sfdp_read() local
77 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in spi_nor_sysfs_is_visible() local
94 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in spi_nor_sysfs_is_bin_visible() local
H A Dissi.c12 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 Ddebugfs.c78 struct spi_nor *nor = s->private; in spi_nor_params_show() local
184 struct spi_nor *nor = s->private; in spi_nor_capabilities_show() local
224 struct spi_nor *nor = data; in spi_nor_debugfs_unregister() local
232 void spi_nor_debugfs_register(struct spi_nor *nor) in spi_nor_debugfs_register()
H A Deverspin.c37 static void everspin_nor_default_init(struct spi_nor *nor) in everspin_nor_default_init()
H A Dgigadevice.c12 gd25q256_post_bfpt(struct spi_nor *nor, in gd25q256_post_bfpt()
/linux/drivers/mtd/spi-nor/controllers/
H A Dnxp-spifi.c58 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()
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/microchip/
H A Dsama5d3xcm.dtsi55 nor: flash@0,0 { label
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx1-apf9328.dts48 nor: flash@0,0 { label
H A Dimx1-ads.dts68 nor: flash@0,0 { label
H A Dimx27-eukrea-cpuimx27.dtsi93 nor: flash@0,0 { label
H A Dimx27-phytec-phycore-som.dtsi311 nor: flash@0,0 { global() label
/linux/include/linux/mtd/
H A Dspi-nor.h425 static inline void spi_nor_set_flash_node(struct spi_nor *nor, in spi_nor_set_flash_node()
431 static inline struct device_node *spi_nor_get_flash_node(struct spi_nor *nor) in spi_nor_get_flash_node()