Lines Matching refs:eng
114 static struct mxic_ecc_engine *ext_ecc_eng_to_mxic(struct nand_ecc_engine *eng) in ext_ecc_eng_to_mxic() argument
116 return container_of(eng, struct mxic_ecc_engine, external_engine); 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() argument
121 return container_of(eng, struct mxic_ecc_engine, pipelined_engine); in pip_ecc_eng_to_mxic()
126 struct nand_ecc_engine *eng = nand->ecc.engine; in nand_to_mxic() local
128 if (eng->integration == NAND_ECC_ENGINE_INTEGRATION_EXTERNAL) in nand_to_mxic()
129 return ext_ecc_eng_to_mxic(eng); in nand_to_mxic()
131 return pip_ecc_eng_to_mxic(eng); in nand_to_mxic()
467 int mxic_ecc_process_data_pipelined(struct nand_ecc_engine *eng, in mxic_ecc_process_data_pipelined() argument
470 struct mxic_ecc_engine *mxic = pip_ecc_eng_to_mxic(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() argument
765 struct mxic_ecc_engine *mxic = pip_ecc_eng_to_mxic(eng); in mxic_ecc_put_pipelined_engine()