Home
last modified time | relevance | path

Searched refs:omsg_ring (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/rapidio/devices/
Dtsi721.c1692 spin_lock_irqsave(&priv->omsg_ring[mbox].lock, flags); in tsi721_add_outb_message()
1694 tx_slot = priv->omsg_ring[mbox].tx_slot; in tsi721_add_outb_message()
1697 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); in tsi721_add_outb_message()
1703 desc = priv->omsg_ring[mbox].omd_base; in tsi721_add_outb_message()
1714 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] & in tsi721_add_outb_message()
1717 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] >> 32); in tsi721_add_outb_message()
1719 priv->omsg_ring[mbox].wr_count++; in tsi721_add_outb_message()
1722 if (++priv->omsg_ring[mbox].tx_slot == priv->omsg_ring[mbox].size) { in tsi721_add_outb_message()
1723 priv->omsg_ring[mbox].tx_slot = 0; in tsi721_add_outb_message()
1725 priv->omsg_ring[mbox].wr_count++; in tsi721_add_outb_message()
[all …]
Dtsi721.h914 struct tsi721_omsg_ring omsg_ring[TSI721_OMSG_CHNUM]; member