Home
last modified time | relevance | path

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

/drivers/rapidio/devices/
Dtsi721.c1317 tx_slot = priv->omsg_ring[mbox].tx_slot; in tsi721_add_outb_message()
1320 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); in tsi721_add_outb_message()
1326 desc = priv->omsg_ring[mbox].omd_base; in tsi721_add_outb_message()
1335 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] & in tsi721_add_outb_message()
1338 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] >> 32); in tsi721_add_outb_message()
1340 priv->omsg_ring[mbox].wr_count++; in tsi721_add_outb_message()
1343 if (++priv->omsg_ring[mbox].tx_slot == priv->omsg_ring[mbox].size) { in tsi721_add_outb_message()
1344 priv->omsg_ring[mbox].tx_slot = 0; in tsi721_add_outb_message()
1346 priv->omsg_ring[mbox].wr_count++; in tsi721_add_outb_message()
1352 iowrite32(priv->omsg_ring[mbox].wr_count, in tsi721_add_outb_message()
[all …]
Dtsi721.h844 struct tsi721_omsg_ring omsg_ring[TSI721_OMSG_CHNUM]; member