Home
last modified time | relevance | path

Searched refs:bch_geometry (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Dmxs_nand.h28 struct bch_geometry { struct
46 struct bch_geometry bch_geometry; argument
Dmxs_nand.c114 static inline int mxs_nand_calc_mark_offset(struct bch_geometry *geo, in mxs_nand_calc_mark_offset()
163 static inline int mxs_nand_calc_ecc_layout_by_info(struct bch_geometry *geo, in mxs_nand_calc_ecc_layout_by_info()
197 static inline int mxs_nand_calc_ecc_layout(struct bch_geometry *geo, in mxs_nand_calc_ecc_layout()
374 static void mxs_nand_swap_block_mark(struct bch_geometry *geo, in mxs_nand_swap_block_mark()
558 struct bch_geometry *geo = &nand_info->bch_geometry; in mxs_nand_ecc_read_page()
709 struct bch_geometry *geo = &nand_info->bch_geometry; in mxs_nand_ecc_write_page()
966 static int mxs_nand_set_geometry(struct mtd_info *mtd, struct bch_geometry *geo) in mxs_nand_set_geometry()
1001 struct bch_geometry *geo = &nand_info->bch_geometry; in mxs_nand_setup_ecc()
1248 nand->ecc.size = nand_info->bch_geometry.ecc_chunk_size; in mxs_nand_init_ctrl()
1249 nand->ecc.strength = nand_info->bch_geometry.ecc_strength; in mxs_nand_init_ctrl()