Lines Matching refs:tail_room
325 size_t tail_room; in __i2400m_tx_tail_room() local
331 tail_room = I2400M_TX_BUF_SIZE - tx_in; in __i2400m_tx_tail_room()
332 tail_room %= I2400M_TX_BUF_SIZE; in __i2400m_tx_tail_room()
333 return tail_room; in __i2400m_tx_tail_room()
438 size_t room, tail_room, needed_size; in i2400m_tx_fifo_push() local
449 tail_room = __i2400m_tx_tail_room(i2400m); in i2400m_tx_fifo_push()
450 if (!try_head && tail_room < needed_size) { in i2400m_tx_fifo_push()
464 if (room - tail_room >= needed_size) { in i2400m_tx_fifo_push()
509 size_t tail_room = __i2400m_tx_tail_room(i2400m); in i2400m_tx_skip_tail() local
511 if (unlikely(tail_room == 0)) in i2400m_tx_skip_tail()
513 BUG_ON(tail_room < sizeof(*msg)); in i2400m_tx_skip_tail()
514 msg->size = tail_room | I2400M_TX_SKIP; 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()