Lines Matching refs:ctl1
65 uint32_t ctl1; member
166 uint32_t ctl1; in cafe_nand_cmdfunc() local
175 ctl1 = cafe->ctl1; in cafe_nand_cmdfunc()
178 cafe->ctl1, cafe->nr_data); in cafe_nand_cmdfunc()
212 ctl1 = 0x80000000 | command | (cafe->ctl1 & CTRL1_CHIPSELECT); in cafe_nand_cmdfunc()
216 ctl1 |= (1<<26); /* rd */ in cafe_nand_cmdfunc()
223 ctl1 |= 1<<26; /* rd */ in cafe_nand_cmdfunc()
227 ctl1 |= 1<<25; /* wr */ in cafe_nand_cmdfunc()
231 ctl1 |= ((adrbytes-1)|8) << 27; in cafe_nand_cmdfunc()
236 cafe->ctl1 = ctl1; in cafe_nand_cmdfunc()
238 cafe->ctl1, cafe->datalen); in cafe_nand_cmdfunc()
249 cafe->datalen, ctl1, cafe_readl(cafe, NAND_CTRL2)); in cafe_nand_cmdfunc()
254 if (cafe->usedma && (ctl1 & (3<<25))) { in cafe_nand_cmdfunc()
257 if (ctl1 & (1<<26)) { in cafe_nand_cmdfunc()
270 printk("About to write command %08x to register 0\n", ctl1); in cafe_nand_cmdfunc()
275 cafe_writel(cafe, ctl1, NAND_CTRL1); in cafe_nand_cmdfunc()
326 cafe->ctl1 |= CTRL1_CHIPSELECT; in cafe_select_chip()
328 cafe->ctl1 &= ~CTRL1_CHIPSELECT; in cafe_select_chip()