Lines Matching refs:mtd_to_nand
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()
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()
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()