/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 633 struct atl1e_tx_buffer *tx_buffer = NULL; in atl1e_clean_tx_ring() local 637 if (tx_ring->desc == NULL || tx_ring->tx_buffer == NULL) in atl1e_clean_tx_ring() 643 tx_buffer = &tx_ring->tx_buffer[index]; in atl1e_clean_tx_ring() 644 if (tx_buffer->dma) { in atl1e_clean_tx_ring() 645 if (tx_buffer->flags & ATL1E_TX_PCIMAP_SINGLE) in atl1e_clean_tx_ring() 646 pci_unmap_single(pdev, tx_buffer->dma, in atl1e_clean_tx_ring() 647 tx_buffer->length, PCI_DMA_TODEVICE); in atl1e_clean_tx_ring() 648 else if (tx_buffer->flags & ATL1E_TX_PCIMAP_PAGE) in atl1e_clean_tx_ring() 649 pci_unmap_page(pdev, tx_buffer->dma, in atl1e_clean_tx_ring() 650 tx_buffer->length, PCI_DMA_TODEVICE); in atl1e_clean_tx_ring() [all …]
|
D | atl1e.h | 417 struct atl1e_tx_buffer *tx_buffer; member
|
/drivers/net/ethernet/dec/tulip/ |
D | xircom_cb.c | 81 __le32 *tx_buffer; member 242 private->tx_buffer = dma_alloc_coherent(d, 8192, in xircom_probe() 245 if (private->tx_buffer == NULL) in xircom_probe() 293 dma_free_coherent(d, 8192, private->tx_buffer, private->tx_dma_handle); in xircom_probe() 321 dma_free_coherent(d, 8192, card->tx_buffer, card->tx_dma_handle); in xircom_remove() 342 card->tx_buffer[0], card->tx_buffer[4]); in xircom_interrupt() 399 if (card->tx_buffer[4*desc]==0) { in xircom_start_xmit() 403 memset(&card->tx_buffer[bufferoffsets[desc]/4],0,1536); in xircom_start_xmit() 405 &(card->tx_buffer[bufferoffsets[desc] / 4]), in xircom_start_xmit() 410 card->tx_buffer[4*desc+1] = cpu_to_le32(skb->len); in xircom_start_xmit() [all …]
|
/drivers/tty/serial/ |
D | ifx6x60.c | 445 unsigned char *tx_buffer; in ifx_spi_prepare_tx_buffer() local 447 tx_buffer = ifx_dev->tx_buffer; in ifx_spi_prepare_tx_buffer() 450 tx_buffer += IFX_SPI_HEADER_OVERHEAD; in ifx_spi_prepare_tx_buffer() 465 tx_buffer, temp_count, in ifx_spi_prepare_tx_buffer() 469 tx_buffer += temp_count; in ifx_spi_prepare_tx_buffer() 480 ifx_spi_setup_spi_header(ifx_dev->tx_buffer, in ifx_spi_prepare_tx_buffer() 484 ifx_dev->swap_buf((ifx_dev->tx_buffer), tx_count, in ifx_spi_prepare_tx_buffer() 485 &ifx_dev->tx_buffer[IFX_SPI_TRANSFER_SIZE]); in ifx_spi_prepare_tx_buffer() 766 ifx_dev->spi_xfer.tx_buf = ifx_dev->tx_buffer; in ifx_spi_io() 943 ifx_dev->tx_buffer, in ifx_spi_free_device() [all …]
|
D | ifx6x60.h | 100 unsigned char *tx_buffer; member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 344 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_dump() local 386 tx_buffer = &tx_ring->tx_buffer_info[tx_ring->next_to_clean]; in ixgbe_dump() 389 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_dump() 390 dma_unmap_len(tx_buffer, len), in ixgbe_dump() 391 tx_buffer->next_to_watch, in ixgbe_dump() 392 (u64)tx_buffer->time_stamp); in ixgbe_dump() 448 tx_buffer = &tx_ring->tx_buffer_info[i]; in ixgbe_dump() 450 if (dma_unmap_len(tx_buffer, len) > 0) { in ixgbe_dump() 455 (u64)dma_unmap_addr(tx_buffer, dma), in ixgbe_dump() 456 dma_unmap_len(tx_buffer, len), in ixgbe_dump() [all …]
|
D | ixgbe_ethtool.c | 1708 struct ixgbe_tx_buffer *tx_buffer; in ixgbe_clean_test_rings() local 1737 tx_buffer = &tx_ring->tx_buffer_info[tx_ntc]; in ixgbe_clean_test_rings() 1738 ixgbe_unmap_and_free_tx_resource(tx_ring, tx_buffer); in ixgbe_clean_test_rings()
|
/drivers/s390/net/ |
D | lcs.c | 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() [all …]
|
D | lcs.h | 317 struct lcs_buffer *tx_buffer; member
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 3451 struct igb_tx_buffer *tx_buffer) in igb_unmap_and_free_tx_resource() argument 3453 if (tx_buffer->skb) { in igb_unmap_and_free_tx_resource() 3454 dev_kfree_skb_any(tx_buffer->skb); in igb_unmap_and_free_tx_resource() 3455 if (dma_unmap_len(tx_buffer, len)) in igb_unmap_and_free_tx_resource() 3457 dma_unmap_addr(tx_buffer, dma), in igb_unmap_and_free_tx_resource() 3458 dma_unmap_len(tx_buffer, len), in igb_unmap_and_free_tx_resource() 3460 } else if (dma_unmap_len(tx_buffer, len)) { in igb_unmap_and_free_tx_resource() 3462 dma_unmap_addr(tx_buffer, dma), in igb_unmap_and_free_tx_resource() 3463 dma_unmap_len(tx_buffer, len), in igb_unmap_and_free_tx_resource() 3466 tx_buffer->next_to_watch = NULL; in igb_unmap_and_free_tx_resource() [all …]
|
/drivers/net/wireless/ |
D | at76c50x-usb.c | 1702 struct at76_tx_buffer *tx_buffer = priv->bulk_out_buffer; in at76_mac80211_tx() local 1743 memset(tx_buffer, 0, sizeof(*tx_buffer)); in at76_mac80211_tx() 1744 tx_buffer->padding = padding; in at76_mac80211_tx() 1745 tx_buffer->wlength = cpu_to_le16(skb->len); in at76_mac80211_tx() 1746 tx_buffer->tx_rate = ieee80211_get_tx_rate(hw, info)->hw_value; in at76_mac80211_tx() 1747 memset(tx_buffer->reserved, 0, sizeof(tx_buffer->reserved)); in at76_mac80211_tx() 1748 memcpy(tx_buffer->packet, skb->data, skb->len); in at76_mac80211_tx() 1751 wiphy_name(priv->hw->wiphy), le16_to_cpu(tx_buffer->wlength), in at76_mac80211_tx() 1752 tx_buffer->padding, tx_buffer->tx_rate); in at76_mac80211_tx() 1755 at76_dbg_dump(DBG_TX_DATA_CONTENT, tx_buffer, submit_len, in at76_mac80211_tx() [all …]
|
/drivers/media/rc/ |
D | ene_ir.h | 229 unsigned *tx_buffer; /* input samples buffer*/ member
|
D | ene_ir.c | 607 dev->tx_buffer = NULL; in ene_tx_disable() 618 if (!dev->tx_buffer) { in ene_tx_sample() 639 sample = dev->tx_buffer[dev->tx_pos++]; in ene_tx_sample() 965 dev->tx_buffer = buf; in ene_transmit()
|
/drivers/net/ethernet/ti/ |
D | tlan.h | 188 u8 *tx_buffer; member
|
/drivers/net/usb/ |
D | hso.c | 236 u8 *tx_buffer; member 1392 memcpy(serial->tx_buffer + serial->tx_buffer_count, buf, tx_bytes); in hso_serial_write() 1754 temp = serial->tx_buffer; in hso_kick_transmit() 1755 serial->tx_buffer = serial->tx_data; in hso_kick_transmit() 2329 serial->tx_buffer = kzalloc(serial->tx_data_length, GFP_KERNEL); in hso_serial_common_create() 2330 if (!serial->tx_buffer) in hso_serial_common_create()
|