Lines Matching refs:tx_buffer
436 card->tx_buffer = NULL; in lcs_setup_card()
1513 *(__u16 *)(card->tx_buffer->data + card->tx_buffer->count) = 0; in __lcs_emit_txbuffer()
1514 card->tx_buffer->count += 2; in __lcs_emit_txbuffer()
1515 lcs_ready_buffer(&card->write, card->tx_buffer); in __lcs_emit_txbuffer()
1516 card->tx_buffer = NULL; in __lcs_emit_txbuffer()
1536 if (card->tx_emitted <= 0 && card->tx_buffer != NULL) in lcs_txbuffer_cb()
1574 if (card->tx_buffer != NULL && in __lcs_start_xmit()
1575 card->tx_buffer->count + sizeof(struct lcs_header) + in __lcs_start_xmit()
1579 if (card->tx_buffer == NULL) { in __lcs_start_xmit()
1581 card->tx_buffer = lcs_get_buffer(&card->write); in __lcs_start_xmit()
1582 if (card->tx_buffer == NULL) { in __lcs_start_xmit()
1587 card->tx_buffer->callback = lcs_txbuffer_cb; in __lcs_start_xmit()
1588 card->tx_buffer->count = 0; in __lcs_start_xmit()
1591 (card->tx_buffer->data + card->tx_buffer->count); in __lcs_start_xmit()
1592 card->tx_buffer->count += skb->len + sizeof(struct lcs_header); in __lcs_start_xmit()
1593 header->offset = card->tx_buffer->count; in __lcs_start_xmit()
1603 if (card->tx_emitted <= 0 && card->tx_buffer != NULL) in __lcs_start_xmit()