Lines Matching refs:tx_slot
1672 u32 tx_slot;
1681 tx_slot = priv->omsg_ring[mbox].tx_slot;
1684 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len);
1691 desc[tx_slot].type_id = cpu_to_le32((DTYPE4 << 29) | rdev->destid);
1694 if (tx_slot % 4 == 0)
1695 desc[tx_slot].type_id |= cpu_to_le32(TSI721_OMD_IOF);
1697 desc[tx_slot].msg_info =
1700 desc[tx_slot].bufptr_lo =
1701 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] &
1703 desc[tx_slot].bufptr_hi =
1704 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] >> 32);
1709 if (++priv->omsg_ring[mbox].tx_slot == priv->omsg_ring[mbox].size) {
1710 priv->omsg_ring[mbox].tx_slot = 0;
1739 u32 tx_slot = 0xffffffff;
1786 tx_slot = (last_ptr - (u64)priv->omsg_ring[ch].omd_phys)/
1794 if (tx_slot == priv->omsg_ring[ch].size) {
1796 tx_slot = (prev_ptr -
1803 if (tx_slot >= priv->omsg_ring[ch].size)
1805 "OB_MSG tx_slot=%x > size=%x",
1806 tx_slot, priv->omsg_ring[ch].size);
1807 WARN_ON(tx_slot >= priv->omsg_ring[ch].size);
1810 ++tx_slot;
1811 if (tx_slot == priv->omsg_ring[ch].size)
1812 tx_slot = 0;
1837 tx_slot = priv->omsg_ring[ch].tx_slot;
1840 /* Synch tx_slot tracking */
1841 iowrite32(priv->omsg_ring[ch].tx_slot,
1844 priv->omsg_ring[ch].wr_count = priv->omsg_ring[ch].tx_slot;
1863 mport->outb_msg[ch].mcback(mport, dev_id, ch, tx_slot);
1925 priv->omsg_ring[mbox].tx_slot = 0;