Searched refs:MBOX_MODE_REG (Results 1 – 2 of 2) sorted by relevance
29 #define MBOX_MODE_REG 0x10 macro96 if (readl(base + MBOX_MODE_REG) & MBOX_STATE_READY) in hi3660_mbox_check_state()100 ret = readx_poll_timeout_atomic(readl, base + MBOX_MODE_REG, in hi3660_mbox_check_state()144 if (readl(base + MBOX_MODE_REG) & MBOX_STATE_IDLE) { in hi3660_mbox_acquire_channel()196 writel_relaxed(MBOX_AUTOMATIC_ACK, base + MBOX_MODE_REG); in hi3660_mbox_send_data()
30 #define MBOX_MODE_REG(m) (MBOX_OFF(m) + 0x0) macro94 status = readl(mbox->base + MBOX_MODE_REG(slot)); in mbox_set_state()96 writel(status, mbox->base + MBOX_MODE_REG(slot)); in mbox_set_state()104 mode = readl(mbox->base + MBOX_MODE_REG(slot)); in mbox_set_mode()106 writel(mode, mbox->base + MBOX_MODE_REG(slot)); in mbox_set_mode()118 state = readl(mbox->base + MBOX_MODE_REG(mchan->slot)); in hi6220_mbox_last_tx_done()