Home
last modified time | relevance | path

Searched refs:nand_ecc_engine (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/include/linux/mtd/
Dnand-ecc-mxic.h20 struct nand_ecc_engine *mxic_ecc_get_pipelined_engine(struct platform_device *spi_pdev);
21 void mxic_ecc_put_pipelined_engine(struct nand_ecc_engine *eng);
22 int mxic_ecc_process_data_pipelined(struct nand_ecc_engine *eng,
32 static inline struct nand_ecc_engine *
38 static inline void mxic_ecc_put_pipelined_engine(struct nand_ecc_engine *eng) {} in mxic_ecc_put_pipelined_engine()
40 static inline int mxic_ecc_process_data_pipelined(struct nand_ecc_engine *eng, in mxic_ecc_process_data_pipelined()
Dnand.h290 struct nand_ecc_engine { struct
308 int nand_ecc_register_on_host_hw_engine(struct nand_ecc_engine *engine); argument
309 int nand_ecc_unregister_on_host_hw_engine(struct nand_ecc_engine *engine);
312 nand_ecc_register_on_host_hw_engine(struct nand_ecc_engine *engine) in nand_ecc_register_on_host_hw_engine()
317 nand_ecc_unregister_on_host_hw_engine(struct nand_ecc_engine *engine) in nand_ecc_unregister_on_host_hw_engine()
323 struct nand_ecc_engine *nand_ecc_get_sw_engine(struct nand_device *nand);
324 struct nand_ecc_engine *nand_ecc_get_on_die_hw_engine(struct nand_device *nand);
325 struct nand_ecc_engine *nand_ecc_get_on_host_hw_engine(struct nand_device *nand);
330 struct nand_ecc_engine *nand_ecc_sw_hamming_get_engine(void);
332 static inline struct nand_ecc_engine *nand_ecc_sw_hamming_get_engine(void) in nand_ecc_sw_hamming_get_engine()
[all …]
Dnand-ecc-sw-bch.h43 struct nand_ecc_engine *nand_ecc_sw_bch_get_engine(void);
/linux-5.19.10/drivers/mtd/nand/
Decc.c594 struct nand_ecc_engine *nand_ecc_get_sw_engine(struct nand_device *nand) in nand_ecc_get_sw_engine()
614 struct nand_ecc_engine *nand_ecc_get_on_die_hw_engine(struct nand_device *nand) in nand_ecc_get_on_die_hw_engine()
620 int nand_ecc_register_on_host_hw_engine(struct nand_ecc_engine *engine) in nand_ecc_register_on_host_hw_engine()
622 struct nand_ecc_engine *item; in nand_ecc_register_on_host_hw_engine()
640 int nand_ecc_unregister_on_host_hw_engine(struct nand_ecc_engine *engine) in nand_ecc_unregister_on_host_hw_engine()
653 static struct nand_ecc_engine *nand_ecc_match_on_host_hw_engine(struct device *dev) in nand_ecc_match_on_host_hw_engine()
655 struct nand_ecc_engine *item; in nand_ecc_match_on_host_hw_engine()
664 struct nand_ecc_engine *nand_ecc_get_on_host_hw_engine(struct nand_device *nand) in nand_ecc_get_on_host_hw_engine()
666 struct nand_ecc_engine *engine = NULL; in nand_ecc_get_on_host_hw_engine()
Decc-mxic.c92 struct nand_ecc_engine external_engine;
93 struct nand_ecc_engine pipelined_engine;
114 static struct mxic_ecc_engine *ext_ecc_eng_to_mxic(struct nand_ecc_engine *eng) in ext_ecc_eng_to_mxic()
119 static struct mxic_ecc_engine *pip_ecc_eng_to_mxic(struct nand_ecc_engine *eng) in pip_ecc_eng_to_mxic()
126 struct nand_ecc_engine *eng = nand->ecc.engine; in nand_to_mxic()
467 int mxic_ecc_process_data_pipelined(struct nand_ecc_engine *eng, in mxic_ecc_process_data_pipelined()
763 void mxic_ecc_put_pipelined_engine(struct nand_ecc_engine *eng) in mxic_ecc_put_pipelined_engine()
771 struct nand_ecc_engine *
Decc-sw-bch.c394 static struct nand_ecc_engine nand_ecc_sw_bch_engine = {
398 struct nand_ecc_engine *nand_ecc_sw_bch_get_engine(void) in nand_ecc_sw_bch_get_engine()
Decc-sw-hamming.c648 static struct nand_ecc_engine nand_ecc_sw_hamming_engine = {
652 struct nand_ecc_engine *nand_ecc_sw_hamming_get_engine(void) in nand_ecc_sw_hamming_get_engine()
/linux-5.19.10/drivers/spi/
Dspi-mxic.c186 struct nand_ecc_engine *pipelined_engine;
695 struct nand_ecc_engine *eng; in mxic_spi_mem_ecc_probe()
Dspi-mtk-snfi.c284 struct nand_ecc_engine ecc_eng;
292 struct nand_ecc_engine *eng = nand->ecc.engine; in nand_to_mtk_snand()
/linux-5.19.10/drivers/mtd/nand/spi/
Dcore.c329 static struct nand_ecc_engine spinand_ondie_ecc_engine = {