Lines Matching refs:tx_buf
474 ptr = i2400m->tx_buf + i2400m->tx_in % I2400M_TX_BUF_SIZE; in i2400m_tx_fifo_push()
510 struct i2400m_msg_hdr *msg = i2400m->tx_buf + tx_in; in i2400m_tx_skip_tail()
591 tx_msg, (void *) tx_msg - i2400m->tx_buf); in i2400m_tx_new()
669 aligned_size, i2400m->tx_buf, i2400m->tx_in, in i2400m_tx_close()
736 if (i2400m->tx_buf == NULL) { in i2400m_tx()
794 (void *)tx_msg - i2400m->tx_buf, (size_t)tx_msg->size, in i2400m_tx()
795 num_pls+1, ptr - i2400m->tx_buf, buf_len, padded_len); in i2400m_tx()
849 if (i2400m->tx_buf == NULL) in i2400m_tx_msg_get()
859 tx_msg = i2400m->tx_buf + i2400m->tx_out % I2400M_TX_BUF_SIZE; in i2400m_tx_msg_get()
872 (void *) tx_msg - i2400m->tx_buf); in i2400m_tx_msg_get()
878 (void *) tx_msg - i2400m->tx_buf, in i2400m_tx_msg_get()
893 current->pid, (void *) tx_msg - i2400m->tx_buf, in i2400m_tx_msg_get()
940 if (i2400m->tx_buf == NULL) in i2400m_tx_msg_sent()
968 void *tx_buf; in i2400m_tx_setup() local
976 tx_buf = kmalloc(I2400M_TX_BUF_SIZE, GFP_ATOMIC); in i2400m_tx_setup()
977 if (tx_buf == NULL) { in i2400m_tx_setup()
993 i2400m->tx_buf = tx_buf; in i2400m_tx_setup()
1010 kfree(i2400m->tx_buf); in i2400m_tx_release()
1011 i2400m->tx_buf = NULL; in i2400m_tx_release()