Home
last modified time | relevance | path

Searched refs:mbox_ctl (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/mailbox/
H A Dmtk-gpueb-mailbox.c36 void __iomem *mbox_ctl; member
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()
145 writel(BIT(ch->num), ch->ebm->mbox_ctl + GPUEB_MBOX_CTL_IRQ_SET); in mtk_gpueb_mbox_send_data()
164 writel(BIT(ch->num), ch->ebm->mbox_ctl + GPUEB_MBOX_CTL_IRQ_CLR); in mtk_gpueb_mbox_startup()
200 return !(readl(ch->ebm->mbox_ctl + GPUEB_MBOX_CTL_TX_STS) & BIT(ch->num)); in mtk_gpueb_mbox_last_tx_done()
237 ebm->mbox_ctl = devm_platform_ioremap_resource(pdev, 1); in mtk_gpueb_mbox_probe()
238 if (IS_ERR(ebm->mbox_ctl)) in mtk_gpueb_mbox_probe()
240 ebm->dev, PTR_ERR(ebm->mbox_ctl), in mtk_gpueb_mbox_probe()
/linux/drivers/net/wireless/ath/wil6210/
H A Dinterrupt.c512 wil_memcpy_fromio_32(&wil->mbox_ctl, wil->csr + HOST_MBOX, in wil_cache_mbox_regs()
514 wil_mbox_ring_le2cpus(&wil->mbox_ctl.rx); in wil_cache_mbox_regs()
515 wil_mbox_ring_le2cpus(&wil->mbox_ctl.tx); in wil_cache_mbox_regs()
523 if (wil->mbox_ctl.rx.entry_size < min_size) { in wil_validate_mbox_regs()
525 wil->mbox_ctl.rx.entry_size); in wil_validate_mbox_regs()
528 if (wil->mbox_ctl.tx.entry_size < min_size) { in wil_validate_mbox_regs()
530 wil->mbox_ctl.tx.entry_size); in wil_validate_mbox_regs()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c140 u32 mbox_ctl = T4VF_CIM_BASE_ADDR + CIM_VF_EXT_MAILBOX_CTRL; in t4vf_wr_mbox_core() local
210 v = MBOWNER_G(t4_read_reg(adapter, mbox_ctl)); in t4vf_wr_mbox_core()
212 v = MBOWNER_G(t4_read_reg(adapter, mbox_ctl)); in t4vf_wr_mbox_core()
241 t4_write_reg(adapter, mbox_ctl, in t4vf_wr_mbox_core()
243 t4_read_reg(adapter, mbox_ctl); /* flush write */ in t4vf_wr_mbox_core()
263 v = t4_read_reg(adapter, mbox_ctl); in t4vf_wr_mbox_core()
270 t4_write_reg(adapter, mbox_ctl, in t4vf_wr_mbox_core()
295 t4_write_reg(adapter, mbox_ctl, in t4vf_wr_mbox_core()