Searched refs:ebm (Results 1 – 1 of 1) sorted by relevance
52 struct mtk_gpueb_mbox *ebm; member89 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()118 writel(BIT(ch->num), ch->ebm->mbox_ctl + GPUEB_MBOX_CTL_IRQ_CLR); in mtk_gpueb_mbox_thread()119 mbox_chan_received_data(&ch->ebm->mbox.chans[ch->num], buf); in mtk_gpueb_mbox_thread()143 writel(values[i / 4], ch->ebm->mbox_mmio + ch->c->tx_offset + i); in mtk_gpueb_mbox_send_data()145 writel(BIT(ch->num), ch->ebm->mbox_ctl + GPUEB_MBOX_CTL_IRQ_SET); in mtk_gpueb_mbox_send_data()157 ret = clk_enable(ch->ebm->clk); in mtk_gpueb_mbox_startup()159 dev_err(ch->ebm->dev, "Failed to enable EB clock: %pe\n", in mtk_gpueb_mbox_startup()164 writel(BIT(ch->num), ch->ebm->mbox_ctl + GPUEB_MBOX_CTL_IRQ_CLR); in mtk_gpueb_mbox_startup()[all …]