Lines Matching refs:nand_chip

258 	struct nand_chip chip;
270 static inline struct marvell_nand_chip *to_marvell_nand(struct nand_chip *chip) in to_marvell_nand()
329 struct nand_chip *selected_chip;
452 static void marvell_nfc_force_byte_access(struct nand_chip *chip, in marvell_nfc_force_byte_access()
477 static int marvell_nfc_wait_ndrun(struct nand_chip *chip) in marvell_nfc_wait_ndrun()
515 static int marvell_nfc_prepare_cmd(struct nand_chip *chip) in marvell_nfc_prepare_cmd()
547 static void marvell_nfc_send_cmd(struct nand_chip *chip, in marvell_nfc_send_cmd()
574 static int marvell_nfc_end_cmd(struct nand_chip *chip, int flag, in marvell_nfc_end_cmd()
605 static int marvell_nfc_wait_cmdd(struct nand_chip *chip) in marvell_nfc_wait_cmdd()
613 static int marvell_nfc_wait_op(struct nand_chip *chip, unsigned int timeout_ms) in marvell_nfc_wait_op()
639 struct nand_chip *chip = mtd_to_nand(mtd); in marvell_nfc_select_chip()
696 static void marvell_nfc_enable_hw_ecc(struct nand_chip *chip) in marvell_nfc_enable_hw_ecc()
713 static void marvell_nfc_disable_hw_ecc(struct nand_chip *chip) in marvell_nfc_disable_hw_ecc()
826 static void marvell_nfc_check_empty_chunk(struct nand_chip *chip, in marvell_nfc_check_empty_chunk()
866 static int marvell_nfc_hw_ecc_correct(struct nand_chip *chip, in marvell_nfc_hw_ecc_correct()
908 static int marvell_nfc_hw_ecc_hmg_do_read_page(struct nand_chip *chip, in marvell_nfc_hw_ecc_hmg_do_read_page()
963 struct nand_chip *chip, u8 *buf, in marvell_nfc_hw_ecc_hmg_read_page_raw()
971 struct nand_chip *chip, in marvell_nfc_hw_ecc_hmg_read_page()
1012 struct nand_chip *chip, int page) in marvell_nfc_hw_ecc_hmg_read_oob_raw()
1022 static int marvell_nfc_hw_ecc_hmg_do_write_page(struct nand_chip *chip, in marvell_nfc_hw_ecc_hmg_do_write_page()
1077 struct nand_chip *chip, in marvell_nfc_hw_ecc_hmg_write_page_raw()
1086 struct nand_chip *chip, in marvell_nfc_hw_ecc_hmg_write_page()
1106 struct nand_chip *chip, in marvell_nfc_hw_ecc_hmg_write_oob_raw()
1120 struct nand_chip *chip, u8 *buf, in marvell_nfc_hw_ecc_bch_read_page_raw()
1164 static void marvell_nfc_hw_ecc_bch_read_chunk(struct nand_chip *chip, int chunk, in marvell_nfc_hw_ecc_bch_read_chunk()
1232 struct nand_chip *chip, in marvell_nfc_hw_ecc_bch_read_page()
1329 struct nand_chip *chip, int page) in marvell_nfc_hw_ecc_bch_read_oob_raw()
1338 struct nand_chip *chip, int page) in marvell_nfc_hw_ecc_bch_read_oob()
1348 struct nand_chip *chip, in marvell_nfc_hw_ecc_bch_write_page_raw()
1400 marvell_nfc_hw_ecc_bch_write_chunk(struct nand_chip *chip, int chunk, in marvell_nfc_hw_ecc_bch_write_chunk()
1462 struct nand_chip *chip, in marvell_nfc_hw_ecc_bch_write_page()
1511 struct nand_chip *chip, in marvell_nfc_hw_ecc_bch_write_oob_raw()
1523 struct nand_chip *chip, int page) in marvell_nfc_hw_ecc_bch_write_oob()
1534 static void marvell_nfc_parse_instructions(struct nand_chip *chip, in marvell_nfc_parse_instructions()
1624 static int marvell_nfc_xfer_data_pio(struct nand_chip *chip, in marvell_nfc_xfer_data_pio()
1655 static int marvell_nfc_monolithic_access_exec(struct nand_chip *chip, in marvell_nfc_monolithic_access_exec()
1719 static int marvell_nfc_naked_access_exec(struct nand_chip *chip, in marvell_nfc_naked_access_exec()
1791 static int marvell_nfc_naked_waitrdy_exec(struct nand_chip *chip, in marvell_nfc_naked_waitrdy_exec()
1805 static int marvell_nfc_read_id_type_exec(struct nand_chip *chip, in marvell_nfc_read_id_type_exec()
1845 static int marvell_nfc_read_status_exec(struct nand_chip *chip, in marvell_nfc_read_status_exec()
1885 static int marvell_nfc_reset_cmd_type_exec(struct nand_chip *chip, in marvell_nfc_reset_cmd_type_exec()
1914 static int marvell_nfc_erase_cmd_type_exec(struct nand_chip *chip, in marvell_nfc_erase_cmd_type_exec()
2003 static int marvell_nfc_exec_op(struct nand_chip *chip, in marvell_nfc_exec_op()
2024 struct nand_chip *chip = mtd_to_nand(mtd); in marvell_nand_ooblayout_ecc()
2040 struct nand_chip *chip = mtd_to_nand(mtd); in marvell_nand_ooblayout_free()
2069 struct nand_chip *chip = mtd_to_nand(mtd); in marvell_nand_hw_ecc_ctrl_init()
2133 struct nand_chip *chip = mtd_to_nand(mtd); in marvell_nand_ecc_init()
2199 struct nand_chip *chip = mtd_to_nand(mtd); in marvell_nfc_setup_data_interface()
2295 static int marvell_nand_attach_chip(struct nand_chip *chip) in marvell_nand_attach_chip()
2406 struct nand_chip *chip; in marvell_nand_chip_init()