Home
last modified time | relevance | path

Searched refs:ingenic_ecc (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/
Dingenic_ecc.h13 struct ingenic_ecc;
29 int ingenic_ecc_calculate(struct ingenic_ecc *ecc,
32 int ingenic_ecc_correct(struct ingenic_ecc *ecc,
36 void ingenic_ecc_release(struct ingenic_ecc *ecc);
37 struct ingenic_ecc *of_ingenic_ecc_get(struct device_node *np);
39 int ingenic_ecc_calculate(struct ingenic_ecc *ecc, in ingenic_ecc_calculate()
46 int ingenic_ecc_correct(struct ingenic_ecc *ecc, in ingenic_ecc_correct()
53 void ingenic_ecc_release(struct ingenic_ecc *ecc) in ingenic_ecc_release()
57 struct ingenic_ecc *of_ingenic_ecc_get(struct device_node *np) in of_ingenic_ecc_get()
64 void (*disable)(struct ingenic_ecc *ecc);
[all …]
Dingenic_ecc.c27 int ingenic_ecc_calculate(struct ingenic_ecc *ecc, in ingenic_ecc_calculate()
47 int ingenic_ecc_correct(struct ingenic_ecc *ecc, in ingenic_ecc_correct()
65 static struct ingenic_ecc *ingenic_ecc_get(struct device_node *np) in ingenic_ecc_get()
68 struct ingenic_ecc *ecc; in ingenic_ecc_get()
92 struct ingenic_ecc *of_ingenic_ecc_get(struct device_node *of_node) in of_ingenic_ecc_get()
94 struct ingenic_ecc *ecc = NULL; in of_ingenic_ecc_get()
117 void ingenic_ecc_release(struct ingenic_ecc *ecc) in ingenic_ecc_release()
126 struct ingenic_ecc *ecc; in ingenic_ecc_probe()
Djz4725b_bch.c62 static inline void jz4725b_bch_config_set(struct ingenic_ecc *bch, u32 cfg) in jz4725b_bch_config_set()
67 static inline void jz4725b_bch_config_clear(struct ingenic_ecc *bch, u32 cfg) in jz4725b_bch_config_clear()
72 static int jz4725b_bch_reset(struct ingenic_ecc *bch, in jz4725b_bch_reset()
112 static void jz4725b_bch_disable(struct ingenic_ecc *bch) in jz4725b_bch_disable()
121 static void jz4725b_bch_write_data(struct ingenic_ecc *bch, const u8 *buf, in jz4725b_bch_write_data()
128 static void jz4725b_bch_read_parity(struct ingenic_ecc *bch, u8 *buf, in jz4725b_bch_read_parity()
158 static int jz4725b_bch_wait_complete(struct ingenic_ecc *bch, unsigned int irq, in jz4725b_bch_wait_complete()
183 static int jz4725b_calculate(struct ingenic_ecc *bch, in jz4725b_calculate()
214 static int jz4725b_correct(struct ingenic_ecc *bch, in jz4725b_correct()
Djz4780_bch.c62 static void jz4780_bch_reset(struct ingenic_ecc *bch, in jz4780_bch_reset()
83 static void jz4780_bch_disable(struct ingenic_ecc *bch) in jz4780_bch_disable()
89 static void jz4780_bch_write_data(struct ingenic_ecc *bch, const void *buf, in jz4780_bch_write_data()
106 static void jz4780_bch_read_parity(struct ingenic_ecc *bch, void *buf, in jz4780_bch_read_parity()
136 static bool jz4780_bch_wait_complete(struct ingenic_ecc *bch, unsigned int irq, in jz4780_bch_wait_complete()
160 static int jz4780_calculate(struct ingenic_ecc *bch, in jz4780_calculate()
183 static int jz4780_correct(struct ingenic_ecc *bch, in jz4780_correct()
234 struct ingenic_ecc *bch; in jz4780_bch_probe()
Djz4740_ecc.c45 static void jz4740_ecc_reset(struct ingenic_ecc *ecc, bool calc_ecc) in jz4740_ecc_reset()
65 static int jz4740_ecc_calculate(struct ingenic_ecc *ecc, in jz4740_ecc_calculate()
117 static int jz4740_ecc_correct(struct ingenic_ecc *ecc, in jz4740_ecc_correct()
164 static void jz4740_ecc_disable(struct ingenic_ecc *ecc) in jz4740_ecc_disable()
DMakefile5 ingenic_nand-$(CONFIG_MTD_NAND_INGENIC_ECC) += ingenic_ecc.o
Dingenic_nand_drv.c44 struct ingenic_ecc *ecc;