Home
last modified time | relevance | path

Searched refs:fifo_sts (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/mailbox/
Dsprd-mailbox.c77 static u32 sprd_mbox_get_fifo_len(struct sprd_mbox_priv *priv, u32 fifo_sts) in sprd_mbox_get_fifo_len() argument
79 u32 wr_pos = (fifo_sts >> SPRD_OUTBOX_FIFO_WR_SHIFT) & in sprd_mbox_get_fifo_len()
81 u32 rd_pos = (fifo_sts >> SPRD_OUTBOX_FIFO_RD_SHIFT) & in sprd_mbox_get_fifo_len()
90 if (fifo_sts & SPRD_OUTBOX_FIFO_FULL) in sprd_mbox_get_fifo_len()
106 u32 fifo_sts, fifo_len, msg[2]; in do_outbox_isr() local
109 fifo_sts = readl(base + SPRD_MBOX_FIFO_STS); in do_outbox_isr()
111 fifo_len = sprd_mbox_get_fifo_len(priv, fifo_sts); in do_outbox_isr()
157 u32 fifo_sts, send_sts, busy, id; in sprd_mbox_inbox_isr() local
159 fifo_sts = readl(priv->inbox_base + SPRD_MBOX_FIFO_STS); in sprd_mbox_inbox_isr()
162 send_sts = (fifo_sts & SPRD_INBOX_FIFO_DELIVER_MASK) >> in sprd_mbox_inbox_isr()
[all …]
/linux-6.12.1/sound/soc/sprd/
Dsprd-mcdt.c340 enum sprd_mcdt_fifo_sts fifo_sts) in sprd_mcdt_chan_fifo_sts() argument
362 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()