Searched +full:mt8196 +full:- +full:gpufreq (Results 1 – 1 of 1) sorted by relevance
1 // SPDX-License-Identifier: GPL-2.0-only3 * MediaTek GPUEB mailbox driver for SoCs such as the MT81968 * - Nicolas Frattaroli <nicolas.frattaroli@collabora.com>44 * struct mtk_gpueb_mbox_chan - per-channel runtime data60 * struct mtk_gpueb_mbox_chan_desc - per-channel constant data83 * mtk_gpueb_mbox_read_rx - read RX buffer from MMIO into channel's RX buffer89 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 …]