Searched refs:CTRL_REG (Results 1 – 4 of 4) sorted by relevance
27 #define CTRL_REG 0x10 macro101 val = readl(config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt()105 writel(val, config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt()113 val = readl(config->ioaddr + CTRL_REG); in spear_rtc_disable_interrupt()116 writel(val, config->ioaddr + CTRL_REG); in spear_rtc_disable_interrupt()273 alm->enabled = readl(config->ioaddr + CTRL_REG) & INT_ENABLE; in spear_rtc_read_alarm()
25 #define CTRL_REG 0x0 macro59 void __iomem *ctrl_reg = hw->base + CTRL_REG; in jcore_spi_program()102 void __iomem *ctrl_reg = hw->base + CTRL_REG; in jcore_spi_txrx()
22 #define CTRL_REG(n) (0x0000 + 0x4 * ((n) / 4)) macro106 if (WARN_ON_ONCE(!(readl(mbox->regs + CTRL_REG(n)) & CTRL_TX(n)))) in sun6i_msgbox_send_data()121 if (readl(mbox->regs + CTRL_REG(n)) & CTRL_RX(n)) { in sun6i_msgbox_startup()144 if (readl(mbox->regs + CTRL_REG(n)) & CTRL_RX(n)) { in sun6i_msgbox_shutdown()
268 #define CTRL_REG 0x8 macro274 out_be32(hostdata->io + (CTRL_REG << 4), value); in write_ctrl_reg()