Searched refs:omsg_ring (Results 1 – 2 of 2) sorted by relevance
1706 spin_lock_irqsave(&priv->omsg_ring[mbox].lock, flags); in tsi721_add_outb_message()1708 tx_slot = priv->omsg_ring[mbox].tx_slot; in tsi721_add_outb_message()1711 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); in tsi721_add_outb_message()1717 desc = priv->omsg_ring[mbox].omd_base; in tsi721_add_outb_message()1728 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] & in tsi721_add_outb_message()1731 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] >> 32); in tsi721_add_outb_message()1733 priv->omsg_ring[mbox].wr_count++; in tsi721_add_outb_message()1736 if (++priv->omsg_ring[mbox].tx_slot == priv->omsg_ring[mbox].size) { in tsi721_add_outb_message()1737 priv->omsg_ring[mbox].tx_slot = 0; in tsi721_add_outb_message()1739 priv->omsg_ring[mbox].wr_count++; in tsi721_add_outb_message()[all …]
901 struct tsi721_omsg_ring omsg_ring[TSI721_OMSG_CHNUM]; member