Lines Matching refs:tx_buffer
434 card->tx_buffer = NULL; in lcs_setup_card()
1512 *(__u16 *)(card->tx_buffer->data + card->tx_buffer->count) = 0; in __lcs_emit_txbuffer()
1513 card->tx_buffer->count += 2; in __lcs_emit_txbuffer()
1514 lcs_ready_buffer(&card->write, card->tx_buffer); in __lcs_emit_txbuffer()
1515 card->tx_buffer = NULL; in __lcs_emit_txbuffer()
1535 if (card->tx_emitted <= 0 && card->tx_buffer != NULL) in lcs_txbuffer_cb()
1573 if (card->tx_buffer != NULL && in __lcs_start_xmit()
1574 card->tx_buffer->count + sizeof(struct lcs_header) + in __lcs_start_xmit()
1578 if (card->tx_buffer == NULL) { in __lcs_start_xmit()
1580 card->tx_buffer = lcs_get_buffer(&card->write); in __lcs_start_xmit()
1581 if (card->tx_buffer == NULL) { in __lcs_start_xmit()
1586 card->tx_buffer->callback = lcs_txbuffer_cb; in __lcs_start_xmit()
1587 card->tx_buffer->count = 0; in __lcs_start_xmit()
1590 (card->tx_buffer->data + card->tx_buffer->count); in __lcs_start_xmit()
1591 card->tx_buffer->count += skb->len + sizeof(struct lcs_header); in __lcs_start_xmit()
1592 header->offset = card->tx_buffer->count; in __lcs_start_xmit()
1602 if (card->tx_emitted <= 0 && card->tx_buffer != NULL) in __lcs_start_xmit()