Lines Matching refs:DoC_Command
131 static inline int DoC_Command(struct DiskOnChip *doc, unsigned char command, in DoC_Command() function
326 if (DoC_Command(doc, NAND_CMD_RESET, CDSN_CTRL_WP)) { in DoC_IdentChip()
335 if (DoC_Command(doc, NAND_CMD_READID, CDSN_CTRL_WP)) { in DoC_IdentChip()
646 DoC_Command(this, in doc_read_ecc()
668 DoC_Command(this, NAND_CMD_READ0, CDSN_CTRL_WP); in doc_read_ecc()
795 DoC_Command(this, NAND_CMD_RESET, CDSN_CTRL_WP); in doc_write_ecc()
796 DoC_Command(this, in doc_write_ecc()
801 DoC_Command(this, NAND_CMD_SEQIN, 0); in doc_write_ecc()
819 DoC_Command(this, NAND_CMD_PAGEPROG, 0); in doc_write_ecc()
821 DoC_Command(this, NAND_CMD_STATUS, CDSN_CTRL_WP); in doc_write_ecc()
835 DoC_Command(this, NAND_CMD_SEQIN, 0); in doc_write_ecc()
872 DoC_Command(this, NAND_CMD_PAGEPROG, 0); in doc_write_ecc()
874 DoC_Command(this, NAND_CMD_STATUS, CDSN_CTRL_WP); in doc_write_ecc()
943 DoC_Command(this, NAND_CMD_READOOB, CDSN_CTRL_WP); in doc_read_oob()
953 DoC_Command(this, NAND_CMD_READOOB, CDSN_CTRL_WP); in doc_read_oob()
999 DoC_Command(this, NAND_CMD_RESET, CDSN_CTRL_WP); in doc_write_oob_nolock()
1002 DoC_Command(this, NAND_CMD_READOOB, CDSN_CTRL_WP); in doc_write_oob_nolock()
1014 DoC_Command(this, NAND_CMD_SEQIN, 0); in doc_write_oob_nolock()
1024 DoC_Command(this, NAND_CMD_PAGEPROG, 0); in doc_write_oob_nolock()
1025 DoC_Command(this, NAND_CMD_STATUS, 0); in doc_write_oob_nolock()
1037 DoC_Command(this, NAND_CMD_SEQIN, 0); in doc_write_oob_nolock()
1043 DoC_Command(this, NAND_CMD_PAGEPROG, 0); in doc_write_oob_nolock()
1044 DoC_Command(this, NAND_CMD_STATUS, 0); in doc_write_oob_nolock()
1108 DoC_Command(this, NAND_CMD_ERASE1, 0); in doc_erase()
1110 DoC_Command(this, NAND_CMD_ERASE2, 0); in doc_erase()
1112 DoC_Command(this, NAND_CMD_STATUS, CDSN_CTRL_WP); in doc_erase()