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
1028
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
104
spinand_fill_prog_exec_op(struct spinand_device *spinand, u64 addr)
drivers/mtd/nand/spi/core.c
1062
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
1091
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
1105
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
113
int spinand_read_reg_op(struct spinand_device *spinand, u8 reg, u8 *val)
drivers/mtd/nand/spi/core.c
1133
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
1147
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
1177
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1189
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1203
struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
1235
static int spinand_create_dirmap(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
127
int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val)
drivers/mtd/nand/spi/core.c
1289
static int spinand_create_dirmaps(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1334
static int spinand_manufacturer_match(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
136
static int spinand_read_status(struct spinand_device *spinand, u8 *status)
drivers/mtd/nand/spi/core.c
1361
static int spinand_id_detect(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1390
static int spinand_manufacturer_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1403
static void spinand_manufacturer_cleanup(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
141
static int spinand_get_cfg(struct spinand_device *spinand, u8 *cfg)
drivers/mtd/nand/spi/core.c
1415
static void spinand_init_ssdr_templates(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1432
static int spinand_support_vendor_ops(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
1460
static int spinand_init_odtr_instruction_set(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1504
spinand_select_op_variant(struct spinand_device *spinand, enum spinand_bus_interface iface,
drivers/mtd/nand/spi/core.c
153
static int spinand_set_cfg(struct spinand_device *spinand, u8 cfg)
drivers/mtd/nand/spi/core.c
1565
int spinand_match_and_init(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
1653
static int spinand_detect(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1686
static int spinand_configure_chip(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1736
static int spinand_init_flash(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1783
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1799
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
1823
static int spinand_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
183
int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val)
drivers/mtd/nand/spi/core.c
1939
static void spinand_cleanup(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
1952
struct spinand_device *spinand;
drivers/mtd/nand/spi/core.c
1986
struct spinand_device *spinand;
drivers/mtd/nand/spi/core.c
207
int spinand_select_target(struct spinand_device *spinand, unsigned int target)
drivers/mtd/nand/spi/core.c
231
static int spinand_read_cfg(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
24
spinand_fill_reset_op(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
255
static int spinand_init_cfg_cache(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
270
static int spinand_init_quad_enable(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
277
static int spinand_ecc_enable(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
284
static int spinand_cont_read_enable(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
290
static int spinand_check_ecc_status(struct spinand_device *spinand, u8 status)
drivers/mtd/nand/spi/core.c
30
spinand_fill_readid_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
345
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
375
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
391
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
444
int spinand_write_enable_op(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
451
static int spinand_load_page_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
461
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
544
static int spinand_write_to_cache_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
606
static int spinand_program_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
616
static int spinand_erase_op(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
638
int spinand_wait(struct spinand_device *spinand, unsigned long initial_delay_us,
drivers/mtd/nand/spi/core.c
672
static int spinand_read_id_op(struct spinand_device *spinand, u8 naddr,
drivers/mtd/nand/spi/core.c
686
static int spinand_reset_op(struct spinand_device *spinand)
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
701
static int spinand_lock_block(struct spinand_device *spinand, u8 lock)
drivers/mtd/nand/spi/core.c
714
int spinand_read_page(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
753
int spinand_write_page(struct spinand_device *spinand,
drivers/mtd/nand/spi/core.c
793
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
864
struct spinand_device *spinand = mtd_to_spinand(mtd);
drivers/mtd/nand/spi/core.c
933
static void spinand_cont_read_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/core.c
94
spinand_fill_page_read_op(struct spinand_device *spinand, u64 addr)
drivers/mtd/nand/spi/core.c
958
struct spinand_device *spinand = nand_to_spinand(nand);
drivers/mtd/nand/spi/core.c
990
struct spinand_device *spinand = mtd_to_spinand(mtd);
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
107
static int macronix_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/macronix.c
141
static int macronix_set_cont_read(struct spinand_device *spinand, bool enable)
drivers/mtd/nand/spi/macronix.c
163
static int macronix_set_read_retry(struct spinand_device *spinand,
drivers/mtd/nand/spi/macronix.c
498
static int macronix_spinand_init(struct spinand_device *spinand)
drivers/mtd/nand/spi/macronix.c
511
static void macronix_spinand_cleanup(struct spinand_device *spinand)
drivers/mtd/nand/spi/macronix.c
54
spinand_fill_macronix_read_eccsr_op(struct spinand_device *spinand, void *valptr)
drivers/mtd/nand/spi/macronix.c
84
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
111
spinand_fill_winbond_write_vcr_op(struct spinand_device *spinand, u8 reg, void *valptr)
drivers/mtd/nand/spi/winbond.c
128
spinand_fill_winbond_select_target_op(struct spinand_device *spinand, void *valptr)
drivers/mtd/nand/spi/winbond.c
164
static int w25m02gv_select_target(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
290
static int w25n02kv_ecc_get_status(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
329
static int w25n0xjw_hs_cfg(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
367
static int w35n0xjw_write_vcr(struct spinand_device *spinand, u8 reg, u8 val)
drivers/mtd/nand/spi/winbond.c
393
static int w35n0xjw_vcr_cfg(struct spinand_device *spinand,
drivers/mtd/nand/spi/winbond.c
594
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
333
struct spinand_device;
include/linux/mtd/spinand.h
404
int (*init)(struct spinand_device *spinand);
include/linux/mtd/spinand.h
405
void (*cleanup)(struct spinand_device *spinand);
include/linux/mtd/spinand.h
476
int (*get_status)(struct spinand_device *spinand, u8 status);
include/linux/mtd/spinand.h
511
int (*info)(struct spinand_device *spinand, size_t len,
include/linux/mtd/spinand.h
513
int (*read)(struct spinand_device *spinand, loff_t from, size_t len,
include/linux/mtd/spinand.h
526
int (*info)(struct spinand_device *spinand, size_t len,
include/linux/mtd/spinand.h
528
int (*lock)(struct spinand_device *spinand, loff_t from, size_t len);
include/linux/mtd/spinand.h
529
int (*erase)(struct spinand_device *spinand, loff_t from, size_t len);
include/linux/mtd/spinand.h
530
int (*read)(struct spinand_device *spinand, loff_t from, size_t len,
include/linux/mtd/spinand.h
532
int (*write)(struct spinand_device *spinand, loff_t from, size_t len,
include/linux/mtd/spinand.h
604
int (*select_target)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
606
int (*configure_chip)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
608
int (*set_cont_read)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
613
int (*set_read_retry)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
771
int (*select_target)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
784
int (*configure_chip)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
787
int (*set_cont_read)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
794
int (*set_read_retry)(struct spinand_device *spinand,
include/linux/mtd/spinand.h
798
struct spi_mem_op spinand_fill_wr_en_op(struct spinand_device *spinand);
include/linux/mtd/spinand.h
799
struct spi_mem_op spinand_fill_set_feature_op(struct spinand_device *spinand, u64 reg, const void *valptr);
include/linux/mtd/spinand.h
800
struct spi_mem_op spinand_fill_get_feature_op(struct spinand_device *spinand, u64 reg, void *valptr);
include/linux/mtd/spinand.h
801
struct spi_mem_op spinand_fill_prog_exec_op(struct spinand_device *spinand, u64 addr);
include/linux/mtd/spinand.h
812
static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd)
include/linux/mtd/spinand.h
814
return container_of(mtd_to_nanddev(mtd), struct spinand_device, base);
include/linux/mtd/spinand.h
823
static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand)
include/linux/mtd/spinand.h
834
static inline struct spinand_device *nand_to_spinand(struct nand_device *nand)
include/linux/mtd/spinand.h
836
return container_of(nand, struct spinand_device, base);
include/linux/mtd/spinand.h
846
spinand_to_nand(struct spinand_device *spinand)
include/linux/mtd/spinand.h
858
static inline void spinand_set_of_node(struct spinand_device *spinand,
include/linux/mtd/spinand.h
864
int spinand_match_and_init(struct spinand_device *spinand,
include/linux/mtd/spinand.h
869
int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val);
include/linux/mtd/spinand.h
870
int spinand_read_reg_op(struct spinand_device *spinand, u8 reg, u8 *val);
include/linux/mtd/spinand.h
871
int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val);
include/linux/mtd/spinand.h
872
int spinand_write_enable_op(struct spinand_device *spinand);
include/linux/mtd/spinand.h
873
int spinand_select_target(struct spinand_device *spinand, unsigned int target);
include/linux/mtd/spinand.h
875
int spinand_wait(struct spinand_device *spinand, unsigned long initial_delay_us,
include/linux/mtd/spinand.h
878
int spinand_read_page(struct spinand_device *spinand,
include/linux/mtd/spinand.h
881
int spinand_write_page(struct spinand_device *spinand,
include/linux/mtd/spinand.h
884
size_t spinand_otp_page_size(struct spinand_device *spinand);
include/linux/mtd/spinand.h
885
size_t spinand_fact_otp_size(struct spinand_device *spinand);
include/linux/mtd/spinand.h
886
size_t spinand_user_otp_size(struct spinand_device *spinand);
include/linux/mtd/spinand.h
888
int spinand_fact_otp_read(struct spinand_device *spinand, loff_t ofs,
include/linux/mtd/spinand.h
890
int spinand_user_otp_read(struct spinand_device *spinand, loff_t ofs,
include/linux/mtd/spinand.h
892
int spinand_user_otp_write(struct spinand_device *spinand, loff_t ofs,
include/linux/mtd/spinand.h
895
int spinand_set_mtd_otp_ops(struct spinand_device *spinand);