Searched refs:DoC_Command (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/mtd/devices/ |
D | doc2000.c | 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() [all …]
|
D | doc2001.c | 103 static inline void DoC_Command(unsigned long docptr, unsigned char command, in DoC_Command() function 193 DoC_Command(doc->virtadr, NAND_CMD_RESET, CDSN_CTRL_WP); in DoC_IdentChip() 197 DoC_Command(doc->virtadr, NAND_CMD_READID, CDSN_CTRL_WP); in DoC_IdentChip() 439 DoC_Command(docptr, (from >> 8) & 1, CDSN_CTRL_WP); in doc_read_ecc() 568 DoC_Command(docptr, NAND_CMD_RESET, 0x00); in doc_write_ecc() 571 DoC_Command(docptr, NAND_CMD_READ0, 0x00); in doc_write_ecc() 574 DoC_Command(docptr, NAND_CMD_SEQIN, 0x00); in doc_write_ecc() 644 DoC_Command(docptr, NAND_CMD_PAGEPROG, 0x00); in doc_write_ecc() 649 DoC_Command(docptr, NAND_CMD_STATUS, CDSN_CTRL_WP); in doc_write_ecc() 695 DoC_Command(docptr, NAND_CMD_READOOB, CDSN_CTRL_WP); in doc_read_oob() [all …]
|