Lines Matching refs:OP_MODE
75 #define OP_MODE 0x00C macro
234 dev_dbg(dev, ": OP_MODE: %x", readl(acdev->vbase + OP_MODE)); in cf_dumpregs()
267 u32 val = readl(acdev->vbase + OP_MODE); in cf_card_reset()
269 writel(val | CARD_RESET, acdev->vbase + OP_MODE); in cf_card_reset()
271 writel(val & ~CARD_RESET, acdev->vbase + OP_MODE); in cf_card_reset()
276 writel(readl(acdev->vbase + OP_MODE) & ~CFHOST_ENB, in cf_ctrl_reset()
277 acdev->vbase + OP_MODE); in cf_ctrl_reset()
278 writel(readl(acdev->vbase + OP_MODE) | CFHOST_ENB, in cf_ctrl_reset()
279 acdev->vbase + OP_MODE); in cf_ctrl_reset()
335 writel(TRUE_IDE_MODE | CFHOST_ENB, acdev->vbase + OP_MODE); in cf_init()
351 writel(readl(acdev->vbase + OP_MODE) & ~CFHOST_ENB, in cf_exit()
352 acdev->vbase + OP_MODE); in cf_exit()
739 val = readl(acdev->vbase + OP_MODE) & in arasan_cf_set_piomode()
741 writel(val, acdev->vbase + OP_MODE); in arasan_cf_set_piomode()
758 opmode = readl(acdev->vbase + OP_MODE) & in arasan_cf_set_dmamode()
777 writel(opmode, acdev->vbase + OP_MODE); in arasan_cf_set_dmamode()