Home
last modified time | relevance | path

Searched refs:rx_buffer (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/dec/tulip/
Dxircom_cb.c78 __le32 *rx_buffer; member
231 private->rx_buffer = pci_alloc_consistent(pdev,8192,&private->rx_dma_handle); in xircom_probe()
232 if (private->rx_buffer == NULL) { in xircom_probe()
282 kfree(private->rx_buffer); in xircom_probe()
301 pci_free_consistent(pdev,8192,card->rx_buffer,card->rx_dma_handle); in xircom_remove()
325 card->rx_buffer[0], card->rx_buffer[4]); in xircom_interrupt()
548 BUG_ON(card->rx_buffer == NULL); in setup_descriptors()
552 memset(card->rx_buffer, 0, 128); /* clear the descriptors */ in setup_descriptors()
556 card->rx_buffer[i*4 + 0] = cpu_to_le32(0x80000000); in setup_descriptors()
558 card->rx_buffer[i*4 + 1] = cpu_to_le32(1536); in setup_descriptors()
[all …]
/drivers/media/dvb/dvb-core/
Ddvb_ca_en50221.c118 struct dvb_ringbuffer rx_buffer; member
599 if (ca->slot_info[slot].rx_buffer.data == NULL) { in dvb_ca_en50221_read_data()
603 buf_free = dvb_ringbuffer_free(&ca->slot_info[slot].rx_buffer); in dvb_ca_en50221_read_data()
674 if (ca->slot_info[slot].rx_buffer.data == NULL) { in dvb_ca_en50221_read_data()
678 dvb_ringbuffer_pkt_write(&ca->slot_info[slot].rx_buffer, buf, bytes_read); in dvb_ca_en50221_read_data()
1117 if (ca->slot_info[slot].rx_buffer.data == NULL) { in dvb_ca_en50221_thread()
1125 dvb_ringbuffer_init(&ca->slot_info[slot].rx_buffer, rxbuf, RX_BUFFER_SIZE); in dvb_ca_en50221_thread()
1378 if (ca->slot_info[slot].rx_buffer.data == NULL) { in dvb_ca_en50221_io_read_condition()
1382 idx = dvb_ringbuffer_pkt_next(&ca->slot_info[slot].rx_buffer, -1, &fraglen); in dvb_ca_en50221_io_read_condition()
1384 dvb_ringbuffer_pkt_read(&ca->slot_info[slot].rx_buffer, idx, 0, hdr, 2); in dvb_ca_en50221_io_read_condition()
[all …]
/drivers/tty/serial/
Difx6x60.c621 swap_buf((u16 *)ifx_dev->rx_buffer, IFX_SPI_HEADER_OVERHEAD, in ifx_spi_complete()
622 &ifx_dev->rx_buffer[IFX_SPI_HEADER_OVERHEAD]); in ifx_spi_complete()
623 decode_result = ifx_spi_decode_spi_header(ifx_dev->rx_buffer, in ifx_spi_complete()
640 swap_buf((u16 *)(ifx_dev->rx_buffer + IFX_SPI_HEADER_OVERHEAD), in ifx_spi_complete()
642 &ifx_dev->rx_buffer[IFX_SPI_TRANSFER_SIZE]); in ifx_spi_complete()
645 ifx_dev->rx_buffer + IFX_SPI_HEADER_OVERHEAD, in ifx_spi_complete()
730 ifx_dev->spi_xfer.rx_buf = ifx_dev->rx_buffer; in ifx_spi_io()
907 ifx_dev->rx_buffer, in ifx_spi_free_device()
1019 ifx_dev->rx_buffer = dma_alloc_coherent(ifx_dev->spi_dev->dev.parent, in ifx_spi_spi_probe()
1023 if (!ifx_dev->rx_buffer) { in ifx_spi_spi_probe()
Difx6x60.h98 unsigned char *rx_buffer; member
/drivers/net/wireless/wl1251/
Drx.c152 u8 *rx_buffer, beacon = 0; in wl1251_rx_body() local
179 rx_buffer = skb_put(skb, length); in wl1251_rx_body()
180 wl1251_mem_read(wl, rx_packet_ring_addr, rx_buffer, length); in wl1251_rx_body()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1547 static inline bool ixgbe_can_reuse_page(struct ixgbe_rx_buffer *rx_buffer) in ixgbe_can_reuse_page() argument
1549 struct page *page = rx_buffer->page; in ixgbe_can_reuse_page()
1604 struct ixgbe_rx_buffer *rx_buffer, in ixgbe_add_rx_frag() argument
1608 rx_buffer->page, rx_buffer->page_offset, in ixgbe_add_rx_frag()
1640 struct ixgbe_rx_buffer *rx_buffer; in ixgbe_clean_rx_irq() local
1654 rx_buffer = &rx_ring->rx_buffer_info[ntc]; in ixgbe_clean_rx_irq()
1666 page = rx_buffer->page; in ixgbe_clean_rx_irq()
1669 skb = rx_buffer->skb; in ixgbe_clean_rx_irq()
1673 rx_buffer->page_offset; in ixgbe_clean_rx_irq()
1702 IXGBE_CB(skb)->dma = rx_buffer->dma; in ixgbe_clean_rx_irq()
[all …]
Dixgbe_ethtool.c1713 static bool ixgbe_check_lbtest_frame(struct ixgbe_rx_buffer *rx_buffer, in ixgbe_check_lbtest_frame() argument
1721 data = kmap(rx_buffer->page) + rx_buffer->page_offset; in ixgbe_check_lbtest_frame()
1728 kunmap(rx_buffer->page); in ixgbe_check_lbtest_frame()
1738 struct ixgbe_rx_buffer *rx_buffer; in ixgbe_clean_test_rings() local
1749 rx_buffer = &rx_ring->rx_buffer_info[rx_ntc]; in ixgbe_clean_test_rings()
1753 rx_buffer->dma, in ixgbe_clean_test_rings()
1758 if (ixgbe_check_lbtest_frame(rx_buffer, size)) in ixgbe_clean_test_rings()
1763 rx_buffer->dma, in ixgbe_clean_test_rings()
/drivers/net/ethernet/ti/
Dtlan.h181 u8 *rx_buffer; member
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe.h477 unsigned char *rx_buffer; member
Dpch_gbe_main.c1467 buffer_info->rx_buffer, in pch_gbe_alloc_rx_buffers()
1524 buffer_info->rx_buffer = rx_ring->rx_buff_pool + bufsz * i; in pch_gbe_alloc_rx_buffers_pool()
1727 memcpy(skb->data, buffer_info->rx_buffer, length); in pch_gbe_clean_rx()
/drivers/net/ethernet/brocade/bna/
Dbfi_enet.h131 union bfi_addr_be_u rx_buffer; member