Lines Matching refs:tx_buf
474 ptr = i2400m->tx_buf + i2400m->tx_in % I2400M_TX_BUF_SIZE;
510 struct i2400m_msg_hdr *msg = i2400m->tx_buf + tx_in;
591 tx_msg, (void *) tx_msg - i2400m->tx_buf);
664 "size %lu aligned_size %zu tx_buf %p in "
667 aligned_size, i2400m->tx_buf, i2400m->tx_in,
733 /* If tx_buf is NULL, device is shutdown */
734 if (i2400m->tx_buf == NULL) {
792 (void *)tx_msg - i2400m->tx_buf, (size_t)tx_msg->size,
793 num_pls+1, ptr - i2400m->tx_buf, buf_len, padded_len);
847 if (i2400m->tx_buf == NULL)
857 tx_msg = i2400m->tx_buf + i2400m->tx_out % I2400M_TX_BUF_SIZE;
870 (void *) tx_msg - i2400m->tx_buf);
876 (void *) tx_msg - i2400m->tx_buf,
891 current->pid, (void *) tx_msg - i2400m->tx_buf,
938 if (i2400m->tx_buf == NULL)
966 void *tx_buf;
974 tx_buf = kmalloc(I2400M_TX_BUF_SIZE, GFP_ATOMIC);
975 if (tx_buf == NULL) {
991 i2400m->tx_buf = tx_buf;
1008 kfree(i2400m->tx_buf);
1009 i2400m->tx_buf = NULL;