Searched refs:WriteDOC (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/
H A Ddiskonchip.c305 WriteDOC(datum, docptr, CDSNSlowIO); doc2000_write_byte()
306 WriteDOC(datum, docptr, 2k_CDSN_IO); doc2000_write_byte()
465 WriteDOC(datum, docptr, CDSNSlowIO); doc2001_write_byte()
466 WriteDOC(datum, docptr, Mil_CDSN_IO); doc2001_write_byte()
467 WriteDOC(datum, docptr, WritePipeTerm); doc2001_write_byte()
494 WriteDOC(0x00, docptr, WritePipeTerm); doc2001_writebuf()
590 WriteDOC(0, docptr, Mplus_FlashSelect); doc2001plus_select_chip()
598 WriteDOC((DOC_FLASH_CE), docptr, Mplus_FlashSelect); doc2001plus_select_chip()
624 WriteDOC(floor, docptr, FloorSelect); doc200x_select_chip()
625 WriteDOC(chip, docptr, CDSNDeviceSelect); doc200x_select_chip()
647 WriteDOC(doc->CDSNControl, docptr, CDSNControl); doc200x_hwcontrol()
670 WriteDOC(0x00, docptr, Mplus_WritePipeTerm); doc2001plus_command()
671 WriteDOC(0x00, docptr, Mplus_WritePipeTerm); doc2001plus_command()
691 WriteDOC(readcmd, docptr, Mplus_FlashCmd); doc2001plus_command()
693 WriteDOC(command, docptr, Mplus_FlashCmd); doc2001plus_command()
694 WriteDOC(0, docptr, Mplus_WritePipeTerm); doc2001plus_command()
695 WriteDOC(0, docptr, Mplus_WritePipeTerm); doc2001plus_command()
704 WriteDOC(column, docptr, Mplus_FlashAddress); doc2001plus_command()
707 WriteDOC((unsigned char)(page_addr & 0xff), docptr, Mplus_FlashAddress); doc2001plus_command()
708 WriteDOC((unsigned char)((page_addr >> 8) & 0xff), docptr, Mplus_FlashAddress); doc2001plus_command()
711 WriteDOC((unsigned char)((page_addr >> 16) & 0x0f), docptr, Mplus_FlashAddress); doc2001plus_command()
715 WriteDOC(0, docptr, Mplus_WritePipeTerm); doc2001plus_command()
716 WriteDOC(0, docptr, Mplus_WritePipeTerm); doc2001plus_command()
720 WriteDOC(0, docptr, Mplus_FlashControl); doc2001plus_command()
740 WriteDOC(NAND_CMD_STATUS, docptr, Mplus_FlashCmd); doc2001plus_command()
741 WriteDOC(0, docptr, Mplus_WritePipeTerm); doc2001plus_command()
742 WriteDOC(0, docptr, Mplus_WritePipeTerm); doc2001plus_command()
814 WriteDOC(DOC_ECC_RESET, docptr, ECCConf); doc200x_enable_hwecc()
815 WriteDOC(DOC_ECC_EN, docptr, ECCConf); doc200x_enable_hwecc()
818 WriteDOC(DOC_ECC_RESET, docptr, ECCConf); doc200x_enable_hwecc()
819 WriteDOC(DOC_ECC_EN | DOC_ECC_RW, docptr, ECCConf); doc200x_enable_hwecc()
833 WriteDOC(DOC_ECC_RESET, docptr, Mplus_ECCConf); doc2001plus_enable_hwecc()
834 WriteDOC(DOC_ECC_EN, docptr, Mplus_ECCConf); doc2001plus_enable_hwecc()
837 WriteDOC(DOC_ECC_RESET, docptr, Mplus_ECCConf); doc2001plus_enable_hwecc()
838 WriteDOC(DOC_ECC_EN | DOC_ECC_RW, docptr, Mplus_ECCConf); doc2001plus_enable_hwecc()
854 WriteDOC(doc->CDSNControl & ~CDSN_CTRL_FLASH_IO, docptr, CDSNControl); doc200x_calculate_ecc()
855 WriteDOC(0, docptr, 2k_CDSN_IO); doc200x_calculate_ecc()
856 WriteDOC(0, docptr, 2k_CDSN_IO); doc200x_calculate_ecc()
857 WriteDOC(0, docptr, 2k_CDSN_IO); doc200x_calculate_ecc()
858 WriteDOC(doc->CDSNControl, docptr, CDSNControl); doc200x_calculate_ecc()
860 WriteDOC(0, docptr, Mplus_NOP); doc200x_calculate_ecc()
861 WriteDOC(0, docptr, Mplus_NOP); doc200x_calculate_ecc()
862 WriteDOC(0, docptr, Mplus_NOP); doc200x_calculate_ecc()
864 WriteDOC(0, docptr, NOP); doc200x_calculate_ecc()
865 WriteDOC(0, docptr, NOP); doc200x_calculate_ecc()
866 WriteDOC(0, docptr, NOP); doc200x_calculate_ecc()
878 WriteDOC(DOC_ECC_DIS, docptr, Mplus_ECCConf); doc200x_calculate_ecc()
880 WriteDOC(DOC_ECC_DIS, docptr, ECCConf); doc200x_calculate_ecc()
971 WriteDOC(DOC_ECC_DIS, docptr, Mplus_ECCConf); doc200x_correct_data()
973 WriteDOC(DOC_ECC_DIS, docptr, ECCConf); doc200x_correct_data()
1462 WriteDOC(DOC_MODE_CLR_ERR | DOC_MODE_MDWREN | DOC_MODE_RESET, virtadr, DOCControl); doc_probe()
1463 WriteDOC(DOC_MODE_CLR_ERR | DOC_MODE_MDWREN | DOC_MODE_RESET, virtadr, DOCControl); doc_probe()
1466 WriteDOC(DOC_MODE_CLR_ERR | DOC_MODE_MDWREN | DOC_MODE_NORMAL, virtadr, DOCControl); doc_probe()
1467 WriteDOC(DOC_MODE_CLR_ERR | DOC_MODE_MDWREN | DOC_MODE_NORMAL, virtadr, DOCControl); doc_probe()
1488 WriteDOC(tmp, virtadr, Mplus_DOCControl); doc_probe()
1489 WriteDOC(~tmp, virtadr, Mplus_CtrlConfirm); doc_probe()
1494 WriteDOC(tmp, virtadr, Mplus_DOCControl); doc_probe()
1495 WriteDOC(~tmp, virtadr, Mplus_CtrlConfirm); doc_probe()
1545 WriteDOC(~newval, virtadr, Mplus_AliasResolution); doc_probe()
1547 WriteDOC(newval, virtadr, Mplus_AliasResolution); // restore it doc_probe()
1549 WriteDOC(~newval, virtadr, AliasResolution); doc_probe()
1551 WriteDOC(newval, virtadr, AliasResolution); // restore it doc_probe()
1630 WriteDOC(save_control, virtadr, DOCControl); doc_probe()
/linux-4.1.27/include/linux/mtd/
H A Ddoc2000.h129 #define WriteDOC(d, adr, reg) WriteDOC_(d,adr,DoC_##reg) macro

Completed in 61 milliseconds