Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rapidio/devices/
Dtsi721.c1679 spin_lock_irqsave(&priv->omsg_ring[mbox].lock, flags); in tsi721_add_outb_message()
1681 tx_slot = priv->omsg_ring[mbox].tx_slot; in tsi721_add_outb_message()
1684 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); in tsi721_add_outb_message()
1690 desc = priv->omsg_ring[mbox].omd_base; in tsi721_add_outb_message()
1701 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] & in tsi721_add_outb_message()
1704 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] >> 32); in tsi721_add_outb_message()
1706 priv->omsg_ring[mbox].wr_count++; in tsi721_add_outb_message()
1709 if (++priv->omsg_ring[mbox].tx_slot == priv->omsg_ring[mbox].size) { in tsi721_add_outb_message()
1710 priv->omsg_ring[mbox].tx_slot = 0; in tsi721_add_outb_message()
1712 priv->omsg_ring[mbox].wr_count++; in tsi721_add_outb_message()
[all …]
Dtsi721.h901 struct tsi721_omsg_ring omsg_ring[TSI721_OMSG_CHNUM]; member