Searched refs:fifo_sts (Results 1 – 2 of 2) sorted by relevance
73 static u32 sprd_mbox_get_fifo_len(struct sprd_mbox_priv *priv, u32 fifo_sts) in sprd_mbox_get_fifo_len() argument75 u32 wr_pos = (fifo_sts >> SPRD_OUTBOX_FIFO_WR_SHIFT) & in sprd_mbox_get_fifo_len()77 u32 rd_pos = (fifo_sts >> SPRD_OUTBOX_FIFO_RD_SHIFT) & in sprd_mbox_get_fifo_len()86 if (fifo_sts & SPRD_OUTBOX_FIFO_FULL) in sprd_mbox_get_fifo_len()103 u32 fifo_sts, fifo_len, msg[2]; in sprd_mbox_outbox_isr() local106 fifo_sts = readl(priv->outbox_base + SPRD_MBOX_FIFO_STS); in sprd_mbox_outbox_isr()108 fifo_len = sprd_mbox_get_fifo_len(priv, fifo_sts); in sprd_mbox_outbox_isr()140 u32 fifo_sts, send_sts, busy, id; in sprd_mbox_inbox_isr() local142 fifo_sts = readl(priv->inbox_base + SPRD_MBOX_FIFO_STS); in sprd_mbox_inbox_isr()145 send_sts = (fifo_sts & SPRD_INBOX_FIFO_DELIVER_MASK) >> in sprd_mbox_inbox_isr()[all …]
340 enum sprd_mcdt_fifo_sts fifo_sts) in sprd_mcdt_chan_fifo_sts() argument362 shift = fifo_sts; in sprd_mcdt_chan_fifo_sts()368 shift = 8 + fifo_sts; in sprd_mcdt_chan_fifo_sts()373 shift = 16 + fifo_sts; in sprd_mcdt_chan_fifo_sts()378 shift = 24 + fifo_sts; in sprd_mcdt_chan_fifo_sts()