Home
last modified time | relevance | path

Searched defs:bch (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/mtd/nand/raw/ingenic/
H A 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()
H A 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() local
/linux/include/linux/mtd/
H A Dnand-ecc-sw-bch.h30 struct bch_control *bch; member
/linux/arch/mips/boot/dts/ingenic/
H A Djz4725b.dtsi360 bch: ecc-controller@130d0000 { label
H A Djz4780.dtsi572 bch: bch@134d0000 { label
/linux/arch/arm/boot/dts/mediatek/
H A Dmt2701.dtsi375 bch: ecc@1100e000 { label
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt7622.dtsi569 bch: ecc@1100e000 { label
H A Dmt2712e.dtsi575 bch: ecc@1100f000 { label
/linux/drivers/spi/
H A Dspi-amlogic-spifc-a4.c76 #define CMD_MEM2NAND(bch, pages) (OP_M2N | ((bch) << 14) | (pages)) argument
77 #define CMD_NAND2MEM(bch, pages) (OP_N2M | ((bch) << 14) | (pages)) argument
171 u32 bch; member
/linux/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.h149 bool bch; member
/linux/drivers/mtd/nand/raw/
H A Dmeson_nand.c64 #define CMDRWGEN(cmd_dir, ran, bch, short_mode, page_size, pages) \ argument
142 u32 bch; member
H A Darasan-nand-controller.c187 struct bch_control *bch; member
H A Dnandsim.c98 static unsigned int bch; variable