Lines Matching defs:mtd
120 struct mtd_info *mtd, in mxs_nand_bbm_in_data_chunk()
149 struct mtd_info *mtd, in mxs_nand_calc_ecc_layout_by_info()
193 struct mtd_info *mtd) in mxs_nand_legacy_calc_ecc_layout()
239 struct mtd_info *mtd) in mxs_nand_calc_ecc_for_large_oob()
335 static void mxs_nand_cmd_ctrl(struct mtd_info *mtd, int data, unsigned int ctrl) in mxs_nand_cmd_ctrl()
414 static int mxs_nand_device_ready(struct mtd_info *mtd) in mxs_nand_device_ready()
429 static void mxs_nand_select_chip(struct mtd_info *mtd, int chip) in mxs_nand_select_chip()
476 static void mxs_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int length) in mxs_nand_read_buf()
559 static void mxs_nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, in mxs_nand_write_buf()
613 static uint8_t mxs_nand_read_byte(struct mtd_info *mtd) in mxs_nand_read_byte()
620 static bool mxs_nand_erased_page(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_erased_page()
662 static int mxs_nand_ecc_read_page(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_page()
834 static int mxs_nand_ecc_write_page(struct mtd_info *mtd, in mxs_nand_ecc_write_page()
915 static int mxs_nand_hook_read_oob(struct mtd_info *mtd, loff_t from, in mxs_nand_hook_read_oob()
940 static int mxs_nand_hook_write_oob(struct mtd_info *mtd, loff_t to, in mxs_nand_hook_write_oob()
965 static int mxs_nand_hook_block_markbad(struct mtd_info *mtd, loff_t ofs) in mxs_nand_hook_block_markbad()
1024 static int mxs_nand_ecc_read_oob(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_oob()
1059 static int mxs_nand_ecc_write_oob(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_write_oob()
1104 static int mxs_nand_block_bad(struct mtd_info *mtd, loff_t ofs) in mxs_nand_block_bad()
1109 static int mxs_nand_set_geometry(struct mtd_info *mtd, struct bch_geometry *geo) in mxs_nand_set_geometry()
1145 int mxs_nand_setup_ecc(struct mtd_info *mtd) in mxs_nand_setup_ecc()
1358 struct mtd_info *mtd; in mxs_nand_init_ctrl() local
1468 void mxs_nand_get_layout(struct mtd_info *mtd, struct mxs_nand_layout *l) in mxs_nand_get_layout()
1495 void mxs_nand_mode_fcb_62bit(struct mtd_info *mtd) in mxs_nand_mode_fcb_62bit()
1531 void mxs_nand_mode_fcb_40bit(struct mtd_info *mtd) in mxs_nand_mode_fcb_40bit()
1568 void mxs_nand_mode_normal(struct mtd_info *mtd) in mxs_nand_mode_normal()
1583 uint32_t mxs_nand_mark_byte_offset(struct mtd_info *mtd) in mxs_nand_mark_byte_offset()
1592 uint32_t mxs_nand_mark_bit_offset(struct mtd_info *mtd) in mxs_nand_mark_bit_offset()