Lines Matching refs:nand_width
29 static int nand_width = 1; /* default x8 */ variable
484 nand_width = 0; in au1xxx_nand_init()
492 nand_width = 1; in au1xxx_nand_init()
547 nand_width = au_readl(MEM_STCFG0) & (1 << 22); in au1xxx_nand_init()
549 nand_width = au_readl(MEM_STCFG1) & (1 << 22); in au1xxx_nand_init()
551 nand_width = au_readl(MEM_STCFG2) & (1 << 22); in au1xxx_nand_init()
553 nand_width = au_readl(MEM_STCFG3) & (1 << 22); in au1xxx_nand_init()
566 if (!nand_width) in au1xxx_nand_init()
569 this->read_byte = (!nand_width) ? au_read_byte16 : au_read_byte; in au1xxx_nand_init()
570 au1550_write_byte = (!nand_width) ? au_write_byte16 : au_write_byte; in au1xxx_nand_init()
572 this->write_buf = (!nand_width) ? au_write_buf16 : au_write_buf; in au1xxx_nand_init()
573 this->read_buf = (!nand_width) ? au_read_buf16 : au_read_buf; in au1xxx_nand_init()
574 this->verify_buf = (!nand_width) ? au_verify_buf16 : au_verify_buf; in au1xxx_nand_init()