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()
667 aligned_size, i2400m->tx_buf, i2400m->tx_in, in i2400m_tx_close()
734 if (i2400m->tx_buf == NULL) { in i2400m_tx()
792 (void *)tx_msg - i2400m->tx_buf, (size_t)tx_msg->size, in i2400m_tx()
793 num_pls+1, ptr - i2400m->tx_buf, buf_len, padded_len); in i2400m_tx()
847 if (i2400m->tx_buf == NULL) in i2400m_tx_msg_get()
857 tx_msg = i2400m->tx_buf + i2400m->tx_out % I2400M_TX_BUF_SIZE; in i2400m_tx_msg_get()
870 (void *) tx_msg - i2400m->tx_buf); in i2400m_tx_msg_get()
876 (void *) tx_msg - i2400m->tx_buf, in i2400m_tx_msg_get()
891 current->pid, (void *) tx_msg - i2400m->tx_buf, in i2400m_tx_msg_get()
938 if (i2400m->tx_buf == NULL) in i2400m_tx_msg_sent()
966 void *tx_buf; in i2400m_tx_setup() local
974 tx_buf = kmalloc(I2400M_TX_BUF_SIZE, GFP_ATOMIC); in i2400m_tx_setup()
975 if (tx_buf == NULL) { in i2400m_tx_setup()
991 i2400m->tx_buf = tx_buf; in i2400m_tx_setup()
1008 kfree(i2400m->tx_buf); in i2400m_tx_release()
1009 i2400m->tx_buf = NULL; in i2400m_tx_release()