Lines Matching refs:ctl1
64 uint32_t ctl1;
163 uint32_t ctl1;
172 ctl1 = cafe->ctl1;
174 cafe_dev_dbg(&cafe->pdev->dev, "Continue command, ctl1 %08x, #data %d\n",
175 cafe->ctl1, cafe->nr_data);
209 ctl1 = 0x80000000 | command | (cafe->ctl1 & CTRL1_CHIPSELECT);
213 ctl1 |= (1<<26); /* rd */
220 ctl1 |= 1<<26; /* rd */
224 ctl1 |= 1<<25; /* wr */
228 ctl1 |= ((adrbytes-1)|8) << 27;
233 cafe->ctl1 = ctl1;
234 cafe_dev_dbg(&cafe->pdev->dev, "Setup for delayed command, ctl1 %08x, dlen %x\n",
235 cafe->ctl1, cafe->datalen);
245 cafe_dev_dbg(&cafe->pdev->dev, "dlen %x, ctl1 %x, ctl2 %x\n",
246 cafe->datalen, ctl1, cafe_readl(cafe, NAND_CTRL2));
251 if (usedma && (ctl1 & (3<<25))) {
254 if (ctl1 & (1<<26)) {
267 printk("About to write command %08x to register 0\n", ctl1);
272 cafe_writel(cafe, ctl1, NAND_CTRL1);
326 /* Mask the appropriate bit into the stored value of ctl1
329 cafe->ctl1 |= CTRL1_CHIPSELECT;
331 cafe->ctl1 &= ~CTRL1_CHIPSELECT;