Symbol: spinand_device
drivers/mtd/nand/spi/alliancememory.c
95
static int am_ecc_get_status(struct spinand_device *spinand, u8 status)
drivers/mtd/nand/spi/core.c
1010
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
104
spinand_fill_page_read_packed_op(struct spinand_device *spinand, u64 addr)
drivers/mtd/nand/spi/core.c
1048
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1082
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
1111
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
1125
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
115
spinand_fill_prog_exec_op(struct spinand_device *spinand, u64 addr)
drivers/mtd/nand/spi/core.c
1153
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
1167
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
1197
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1209
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1223
struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
124
int spinand_read_reg_op(struct spinand_device *spinand, u8 reg, u8 *val)
drivers/mtd/nand/spi/core.c
1256
static int spinand_create_dirmap(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
1310
static int spinand_create_dirmaps(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1331
static int spinand_randomizer_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1371
static int spinand_manufacturer_match(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
138
int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val)
drivers/mtd/nand/spi/core.c
1398
static int spinand_id_detect(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1427
static int spinand_manufacturer_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1440
static void spinand_manufacturer_cleanup(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1452
static void spinand_init_ssdr_templates(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1469
static int spinand_support_vendor_ops(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
147
static int spinand_read_status(struct spinand_device *spinand, u8 *status)
drivers/mtd/nand/spi/core.c
1497
static int spinand_init_odtr_instruction_set(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
152
static int spinand_get_cfg(struct spinand_device *spinand, u8 *cfg)
drivers/mtd/nand/spi/core.c
1545
spinand_select_op_variant(struct spinand_device *spinand, enum spinand_bus_interface iface,
drivers/mtd/nand/spi/core.c
1606
int spinand_match_and_init(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
164
static int spinand_set_cfg(struct spinand_device *spinand, u8 cfg)
drivers/mtd/nand/spi/core.c
1731
static int spinand_detect(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1764
static int spinand_configure_chip(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1814
static int spinand_init_flash(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1861
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1877
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1901
static int spinand_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
194
int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val)
drivers/mtd/nand/spi/core.c
2020
static void spinand_cleanup(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
2033
struct spinand_device *spinand;
drivers/mtd/nand/spi/core.c
2067
struct spinand_device *spinand;
drivers/mtd/nand/spi/core.c
218
int spinand_select_target(struct spinand_device *spinand, unsigned int target)
drivers/mtd/nand/spi/core.c
24
spinand_fill_reset_op(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
242
static int spinand_read_cfg(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
266
static int spinand_init_cfg_cache(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
281
static int spinand_init_quad_enable(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
288
static int spinand_ecc_enable(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
295
static int spinand_cont_read_enable(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
30
spinand_fill_readid_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
301
static int spinand_check_ecc_status(struct spinand_device *spinand, u8 status)
drivers/mtd/nand/spi/core.c
356
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
386
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
402
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
44
spinand_fill_wr_en_op(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
455
int spinand_write_enable_op(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
462
static int spinand_load_page_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
475
static int spinand_read_from_cache_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
50
spinand_fill_wr_dis_op(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
56
spinand_fill_set_feature_op(struct spinand_device *spinand, u64 reg, const void *valptr)
drivers/mtd/nand/spi/core.c
566
static int spinand_write_to_cache_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
631
static int spinand_program_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
641
static int spinand_erase_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
663
int spinand_wait(struct spinand_device *spinand, unsigned long initial_delay_us,
drivers/mtd/nand/spi/core.c
697
static int spinand_read_id_op(struct spinand_device *spinand, u8 naddr,
drivers/mtd/nand/spi/core.c
70
spinand_fill_get_feature_op(struct spinand_device *spinand, u64 reg, void *valptr)
drivers/mtd/nand/spi/core.c
711
static int spinand_reset_op(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
726
static int spinand_lock_block(struct spinand_device *spinand, u8 lock)
drivers/mtd/nand/spi/core.c
739
int spinand_read_page(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
778
int spinand_write_page(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
818
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
84
spinand_fill_blk_erase_op(struct spinand_device *spinand, u64 addr)
drivers/mtd/nand/spi/core.c
889
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
94
spinand_fill_page_read_op(struct spinand_device *spinand, u64 addr)
drivers/mtd/nand/spi/core.c
964
static void spinand_cont_read_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
991
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/esmt.c
111
static int f50l1g41lb_otp_info(struct spinand_device *spinand, size_t len,
drivers/mtd/nand/spi/esmt.c
126
static int f50l1g41lb_fact_otp_info(struct spinand_device *spinand, size_t len,
drivers/mtd/nand/spi/esmt.c
132
static int f50l1g41lb_user_otp_info(struct spinand_device *spinand, size_t len,
drivers/mtd/nand/spi/esmt.c
138
static int f50l1g41lb_otp_lock(struct spinand_device *spinand, loff_t from,
drivers/mtd/nand/spi/fmsh.c
55
static int fm25s01bi3_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/foresee.c
57
static int f35sqa002g_ecc_get_status(struct spinand_device *spinand, u8 status)
drivers/mtd/nand/spi/foresee.c
78
static int f35sqb002g_ecc_get_status(struct spinand_device *spinand, u8 status)
drivers/mtd/nand/spi/gigadevice.c
100
static int gd5fxgm9_ecc_get_status(struct spinand_device *spinand, u8 status)
drivers/mtd/nand/spi/gigadevice.c
132
static int gd5fxgm9_set_continuous_read(struct spinand_device *spinand, bool enable)
drivers/mtd/nand/spi/gigadevice.c
181
static int gd5fxgq4xa_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/gigadevice.c
265
static int gd5fxgq4uexxg_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/gigadevice.c
308
static int gd5fxgq5xexxg_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/gigadevice.c
346
static int gd5fxgq4ufxxg_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/gigadevice.c
641
static int gd5fxgm9_spinand_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/gigadevice.c
654
static void gd5fxgm9_spinand_cleanup(struct spinand_device *spinand)
drivers/mtd/nand/spi/gigadevice.c
79
static int gd5fxgm9_get_eccsr(struct spinand_device *spinand, u8 *eccsr)
drivers/mtd/nand/spi/macronix.c
109
static int macronix_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/macronix.c
143
static int macronix_set_cont_read(struct spinand_device *spinand, bool enable)
drivers/mtd/nand/spi/macronix.c
165
static int macronix_set_read_retry(struct spinand_device *spinand,
drivers/mtd/nand/spi/macronix.c
175
static int macronix_set_randomizer(struct spinand_device *spinand, bool enable)
drivers/mtd/nand/spi/macronix.c
516
static int macronix_spinand_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/macronix.c
529
static void macronix_spinand_cleanup(struct spinand_device *spinand)
drivers/mtd/nand/spi/macronix.c
56
spinand_fill_macronix_read_eccsr_op(struct spinand_device *spinand, void *valptr)
drivers/mtd/nand/spi/macronix.c
86
static int macronix_get_eccsr(struct spinand_device *spinand, u8 *eccsr)
drivers/mtd/nand/spi/micron.c
114
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/micron.c
137
static int micron_select_target(struct spinand_device *spinand,
drivers/mtd/nand/spi/micron.c
151
static int micron_8_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/micron.c
177
static int mt29f2g01abagd_otp_is_locked(struct spinand_device *spinand)
drivers/mtd/nand/spi/micron.c
215
static int mt29f2g01abagd_otp_info(struct spinand_device *spinand, size_t len,
drivers/mtd/nand/spi/micron.c
237
static int mt29f2g01abagd_fact_otp_info(struct spinand_device *spinand,
drivers/mtd/nand/spi/micron.c
244
static int mt29f2g01abagd_user_otp_info(struct spinand_device *spinand,
drivers/mtd/nand/spi/micron.c
251
static int mt29f2g01abagd_otp_lock(struct spinand_device *spinand, loff_t from,
drivers/mtd/nand/spi/micron.c
419
static int micron_spinand_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/micron.c
99
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/otp.c
137
int spinand_fact_otp_read(struct spinand_device *spinand, loff_t ofs,
drivers/mtd/nand/spi/otp.c
154
int spinand_user_otp_read(struct spinand_device *spinand, loff_t ofs,
drivers/mtd/nand/spi/otp.c
17
size_t spinand_otp_page_size(struct spinand_device *spinand)
drivers/mtd/nand/spi/otp.c
171
int spinand_user_otp_write(struct spinand_device *spinand, loff_t ofs,
drivers/mtd/nand/spi/otp.c
182
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/otp.c
214
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/otp.c
24
static size_t spinand_otp_size(struct spinand_device *spinand,
drivers/mtd/nand/spi/otp.c
257
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/otp.c
280
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/otp.c
301
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/otp.c
327
int spinand_set_mtd_otp_ops(struct spinand_device *spinand)
drivers/mtd/nand/spi/otp.c
36
size_t spinand_fact_otp_size(struct spinand_device *spinand)
drivers/mtd/nand/spi/otp.c
47
size_t spinand_user_otp_size(struct spinand_device *spinand)
drivers/mtd/nand/spi/otp.c
52
static int spinand_otp_check_bounds(struct spinand_device *spinand, loff_t ofs,
drivers/mtd/nand/spi/otp.c
62
static int spinand_user_otp_check_bounds(struct spinand_device *spinand,
drivers/mtd/nand/spi/otp.c
69
static int spinand_otp_rw(struct spinand_device *spinand, loff_t ofs,
drivers/mtd/nand/spi/paragon.c
70
static int pn26g0xa_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/skyhigh.c
126
static int skyhigh_spinand_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/skyhigh.c
60
static int skyhigh_spinand_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/toshiba.c
71
static int tx58cxgxsxraix_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
239
spinand_fill_winbond_write_vcr_op(struct spinand_device *spinand, u8 reg, void *valptr)
drivers/mtd/nand/spi/winbond.c
256
spinand_fill_winbond_select_target_op(struct spinand_device *spinand, void *valptr)
drivers/mtd/nand/spi/winbond.c
292
static int w25m02gv_select_target(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
418
static int w25n02kv_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
457
static int w25w35nxxjw_ecc_get_status(struct spinand_device *spinand, u8 status)
drivers/mtd/nand/spi/winbond.c
477
static int w25n0xjw_set_sr4_hs(struct spinand_device *spinand, bool enable)
drivers/mtd/nand/spi/winbond.c
510
static int w25n0xjw_hs_cfg(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
530
static int w25n0xjw_set_cont_read(struct spinand_device *spinand, bool enable)
drivers/mtd/nand/spi/winbond.c
537
static int w35n0xjw_write_vcr(struct spinand_device *spinand, u8 reg, u8 val)
drivers/mtd/nand/spi/winbond.c
563
static int w35n0xjw_vcr_cfg(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
621
static int w35n0xjw_set_cont_read(struct spinand_device *spinand, bool enable)
drivers/mtd/nand/spi/winbond.c
786
static int winbond_spinand_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/xtx.c
123
static int xt26xxxd_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/xtx.c
70
static int xt26g0xa_ecc_get_status(struct spinand_device *spinand,
drivers/spi/spi-amlogic-spifc-a4.c
1020
struct spinand_device *spinand = nand_to_spinand(nand);
include/linux/mtd/spinand.h
339
struct spinand_device;
include/linux/mtd/spinand.h
410
int (*init)(struct spinand_device *spinand);
include/linux/mtd/spinand.h
411
void (*cleanup)(struct spinand_device *spinand);
include/linux/mtd/spinand.h
482
int (*get_status)(struct spinand_device *spinand, u8 status);
include/linux/mtd/spinand.h
519
int (*info)(struct spinand_device *spinand, size_t len,
include/linux/mtd/spinand.h
521
int (*read)(struct spinand_device *spinand, loff_t from, size_t len,
include/linux/mtd/spinand.h
534
int (*info)(struct spinand_device *spinand, size_t len,
include/linux/mtd/spinand.h
536
int (*lock)(struct spinand_device *spinand, loff_t from, size_t len);
include/linux/mtd/spinand.h
537
int (*erase)(struct spinand_device *spinand, loff_t from, size_t len);
include/linux/mtd/spinand.h
538
int (*read)(struct spinand_device *spinand, loff_t from, size_t len,
include/linux/mtd/spinand.h
540
int (*write)(struct spinand_device *spinand, loff_t from, size_t len,
include/linux/mtd/spinand.h
615
int (*select_target)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
617
int (*configure_chip)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
619
int (*set_cont_read)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
624
int (*set_read_retry)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
626
int (*set_randomizer)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
796
int (*select_target)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
809
int (*configure_chip)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
812
int (*set_cont_read)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
814
int (*set_randomizer)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
821
int (*set_read_retry)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
825
struct spi_mem_op spinand_fill_wr_en_op(struct spinand_device *spinand);
include/linux/mtd/spinand.h
826
struct spi_mem_op spinand_fill_set_feature_op(struct spinand_device *spinand, u64 reg, const void *valptr);
include/linux/mtd/spinand.h
827
struct spi_mem_op spinand_fill_get_feature_op(struct spinand_device *spinand, u64 reg, void *valptr);
include/linux/mtd/spinand.h
828
struct spi_mem_op spinand_fill_prog_exec_op(struct spinand_device *spinand, u64 addr);
include/linux/mtd/spinand.h
839
static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd)
include/linux/mtd/spinand.h
841
return container_of(mtd_to_nanddev(mtd), struct spinand_device, base);
include/linux/mtd/spinand.h
850
static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand)
include/linux/mtd/spinand.h
861
static inline struct spinand_device *nand_to_spinand(struct nand_device *nand)
include/linux/mtd/spinand.h
863
return container_of(nand, struct spinand_device, base);
include/linux/mtd/spinand.h
873
spinand_to_nand(struct spinand_device *spinand)
include/linux/mtd/spinand.h
885
static inline void spinand_set_of_node(struct spinand_device *spinand,
include/linux/mtd/spinand.h
893
int spinand_match_and_init(struct spinand_device *spinand,
include/linux/mtd/spinand.h
898
int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val);
include/linux/mtd/spinand.h
899
int spinand_read_reg_op(struct spinand_device *spinand, u8 reg, u8 *val);
include/linux/mtd/spinand.h
900
int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val);
include/linux/mtd/spinand.h
901
int spinand_write_enable_op(struct spinand_device *spinand);
include/linux/mtd/spinand.h
902
int spinand_select_target(struct spinand_device *spinand, unsigned int target);
include/linux/mtd/spinand.h
904
int spinand_wait(struct spinand_device *spinand, unsigned long initial_delay_us,
include/linux/mtd/spinand.h
907
int spinand_read_page(struct spinand_device *spinand,
include/linux/mtd/spinand.h
910
int spinand_write_page(struct spinand_device *spinand,
include/linux/mtd/spinand.h
913
size_t spinand_otp_page_size(struct spinand_device *spinand);
include/linux/mtd/spinand.h
914
size_t spinand_fact_otp_size(struct spinand_device *spinand);
include/linux/mtd/spinand.h
915
size_t spinand_user_otp_size(struct spinand_device *spinand);
include/linux/mtd/spinand.h
917
int spinand_fact_otp_read(struct spinand_device *spinand, loff_t ofs,
include/linux/mtd/spinand.h
919
int spinand_user_otp_read(struct spinand_device *spinand, loff_t ofs,
include/linux/mtd/spinand.h
921
int spinand_user_otp_write(struct spinand_device *spinand, loff_t ofs,
include/linux/mtd/spinand.h
924
int spinand_set_mtd_otp_ops(struct spinand_device *spinand);