Lines Matching refs:tx_in
326 size_t tx_in; in __i2400m_tx_tail_room() local
328 if (unlikely(i2400m->tx_in == 0)) in __i2400m_tx_tail_room()
330 tx_in = i2400m->tx_in % I2400M_TX_BUF_SIZE; in __i2400m_tx_tail_room()
331 tail_room = I2400M_TX_BUF_SIZE - tx_in; in __i2400m_tx_tail_room()
442 room = I2400M_TX_BUF_SIZE - (i2400m->tx_in - i2400m->tx_out); in i2400m_tx_fifo_push()
474 ptr = i2400m->tx_buf + i2400m->tx_in % I2400M_TX_BUF_SIZE; in i2400m_tx_fifo_push()
476 i2400m->tx_in % I2400M_TX_BUF_SIZE); in i2400m_tx_fifo_push()
477 i2400m->tx_in += size; in i2400m_tx_fifo_push()
508 size_t tx_in = i2400m->tx_in % I2400M_TX_BUF_SIZE; in i2400m_tx_skip_tail() local
510 struct i2400m_msg_hdr *msg = i2400m->tx_buf + tx_in; in i2400m_tx_skip_tail()
516 tail_room, tx_in); in i2400m_tx_skip_tail()
517 i2400m->tx_in += tail_room; in i2400m_tx_skip_tail()
669 aligned_size, i2400m->tx_buf, i2400m->tx_in, in i2400m_tx_close()
853 if (i2400m->tx_in == i2400m->tx_out) { /* Empty FIFO? */ in i2400m_tx_msg_get()
854 i2400m->tx_in = 0; in i2400m_tx_msg_get()
945 BUG_ON(i2400m->tx_out > i2400m->tx_in); in i2400m_tx_msg_sent()
949 i2400m->tx_in -= n * I2400M_TX_BUF_SIZE; in i2400m_tx_msg_sent()
989 i2400m->tx_in = 0; in i2400m_tx_setup()