Lines Matching defs:tx_slot
1306 u32 tx_slot;
1312 tx_slot = priv->omsg_ring[mbox].tx_slot;
1315 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len);
1322 desc[tx_slot].type_id = cpu_to_le32((DTYPE4 << 29) | rdev->destid);
1323 if (tx_slot % 4 == 0)
1324 desc[tx_slot].type_id |= cpu_to_le32(TSI721_OMD_IOF);
1326 desc[tx_slot].msg_info =
1329 desc[tx_slot].bufptr_lo =
1330 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] &
1332 desc[tx_slot].bufptr_hi =
1333 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] >> 32);
1338 if (++priv->omsg_ring[mbox].tx_slot == priv->omsg_ring[mbox].size) {
1339 priv->omsg_ring[mbox].tx_slot = 0;
1377 u32 tx_slot;
1410 tx_slot = (last_ptr - (u64)priv->omsg_ring[ch].omd_phys)/
1418 if (tx_slot == priv->omsg_ring[ch].size) {
1420 tx_slot = (prev_ptr -
1428 ++tx_slot;
1429 if (tx_slot == priv->omsg_ring[ch].size)
1430 tx_slot = 0;
1431 BUG_ON(tx_slot >= priv->omsg_ring[ch].size);
1434 tx_slot);
1458 priv->omsg_ring[ch].tx_slot);
1459 /* Synch tx_slot tracking */
1460 iowrite32(priv->omsg_ring[ch].tx_slot,
1463 priv->omsg_ring[ch].wr_count = priv->omsg_ring[ch].tx_slot;
1538 priv->omsg_ring[mbox].tx_slot = 0;