Home
last modified time | relevance | path

Searched +full:mt8196 +full:- +full:gpufreq (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mailbox/
H A Dmtk-gpueb-mailbox.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * MediaTek GPUEB mailbox driver for SoCs such as the MT8196
8 * - Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
44 * struct mtk_gpueb_mbox_chan - per-channel runtime data
60 * struct mtk_gpueb_mbox_chan_desc - per-channel constant data
83 * mtk_gpueb_mbox_read_rx - read RX buffer from MMIO into channel's RX buffer
89 memcpy_fromio(buf, chan->ebm->mbox_mmio + chan->c->rx_offset, chan->c->rx_len); in mtk_gpueb_mbox_read_rx()
97 rx_sts = readl(ch->ebm->mbox_ctl + GPUEB_MBOX_CTL_RX_STS); in mtk_gpueb_mbox_isr()
99 if (rx_sts & BIT(ch->num)) { in mtk_gpueb_mbox_isr()
100 if (!atomic_cmpxchg(&ch->rx_status, 0, GPUEB_MBOX_FULL | GPUEB_MBOX_BLOCKED)) in mtk_gpueb_mbox_isr()
[all …]