Lines Matching refs:nand_chip
168 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_calc_ecc_layout_by_info()
200 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_calc_ecc_layout()
267 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_cmd_ctrl()
346 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_device_ready()
361 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_select_chip()
408 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_read_buf()
492 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_write_buf()
553 static int mxs_nand_ecc_read_page(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_page()
705 struct nand_chip *nand, const uint8_t *buf, in mxs_nand_ecc_write_page()
775 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_hook_read_oob()
800 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_hook_write_oob()
824 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_hook_block_markbad()
881 static int mxs_nand_ecc_read_oob(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_read_oob()
916 static int mxs_nand_ecc_write_oob(struct mtd_info *mtd, struct nand_chip *nand, in mxs_nand_ecc_write_oob()
968 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_set_geometry()
969 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_set_geometry()
999 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_setup_ecc()
1152 int mxs_nand_init_spl(struct nand_chip *nand) in mxs_nand_init_spl()
1198 struct nand_chip *nand; in mxs_nand_init_ctrl()