Home
last modified time | relevance | path

Searched +full:sc9860 +full:- +full:mailbox (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/mailbox/
Dsprd-mailbox.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/mailbox/sprd-mailbox.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Spreadtrum mailbox controller bindings
10 - Orson Zhai <orsonzhai@gmail.com>
11 - Baolin Wang <baolin.wang7@gmail.com>
12 - Chunyan Zhang <zhang.lyra@gmail.com>
17 - sprd,sc9860-mailbox
21 - description: inbox registers' base address
[all …]
/Linux-v5.10/drivers/mailbox/
Dsprd-mailbox.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Spreadtrum mailbox driver
85 fifo_len = priv->outbox_fifo_depth; in sprd_mbox_get_fifo_len()
89 fifo_len = wr_pos - rd_pos; in sprd_mbox_get_fifo_len()
91 fifo_len = priv->outbox_fifo_depth - rd_pos + wr_pos; in sprd_mbox_get_fifo_len()
104 fifo_sts = readl(priv->outbox_base + SPRD_MBOX_FIFO_STS); in sprd_mbox_outbox_isr()
108 dev_warn_ratelimited(priv->dev, "spurious outbox interrupt\n"); in sprd_mbox_outbox_isr()
113 msg[0] = readl(priv->outbox_base + SPRD_MBOX_MSG_LOW); in sprd_mbox_outbox_isr()
114 msg[1] = readl(priv->outbox_base + SPRD_MBOX_MSG_HIGH); in sprd_mbox_outbox_isr()
115 id = readl(priv->outbox_base + SPRD_MBOX_ID); in sprd_mbox_outbox_isr()
[all …]