Home
last modified time | relevance | path

Searched refs:RX_BUF_SIZE (Results 1 – 21 of 21) sorted by relevance

/drivers/net/ethernet/faraday/
Dftmac100.c44 #define RX_BUF_SIZE 2044 /* must be smaller than 0x7ff */ macro
50 #if RX_BUF_SIZE > 0x7ff || RX_BUF_SIZE > PAGE_SIZE
51 #error invalid RX_BUF_SIZE
436 dma_unmap_page(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_rx_packet()
684 map = dma_map_page(priv->dev, page, 0, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_alloc_rx_page()
694 ftmac100_rxdes_set_buffer_size(rxdes, RX_BUF_SIZE); in ftmac100_alloc_rx_page()
711 dma_unmap_page(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_free_buffers()
Dftgmac100.c45 #define RX_BUF_SIZE PAGE_SIZE /* must be smaller than 0x3fff */ macro
157 ftgmac100_set_rx_buffer_size(priv, RX_BUF_SIZE); in ftgmac100_init_hw()
464 dma_unmap_page(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_rx_packet()
731 map = dma_map_page(priv->dev, page, 0, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_alloc_rx_page()
757 dma_unmap_page(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_free_buffers()
/drivers/net/ethernet/sis/
Dsis900.c1181 if ((skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE)) == NULL) { in sis900_init_rx_ring()
1189 sis_priv->rx_ring[i].cmdsts = RX_BUF_SIZE; in sis900_init_rx_ring()
1191 skb->data, RX_BUF_SIZE, PCI_DMA_FROMDEVICE); in sis900_init_rx_ring()
1789 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx()
1795 sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE, in sis900_rx()
1800 if ((skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE)) == NULL) { in sis900_rx()
1840 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx()
1843 RX_BUF_SIZE, PCI_DMA_FROMDEVICE); in sis900_rx()
1864 skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE); in sis900_rx()
1874 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx()
[all …]
Dsis900.h320 #define RX_BUF_SIZE (MAX_FRAME_SIZE+18) macro
Dsis190.c54 #define RX_BUF_SIZE 1536 macro
1054 tp->rx_buf_sz = (mtu > RX_BUF_SIZE) ? mtu + ETH_HLEN + 8 : RX_BUF_SIZE; in sis190_set_rxbufsize()
/drivers/tty/
Dmetag_da.c73 #define RX_BUF_SIZE 1024 macro
159 if (chancall(RDBUF, channel, RX_BUF_SIZE, in fetch_data()
342 rx_buf = kzalloc(RX_BUF_SIZE, GFP_KERNEL); in dashtty_port_activate()
Dn_r3964.c631 if (pInfo->rx_position < RX_BUF_SIZE) { in receive_char()
958 pInfo->rx_buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); in r3964_open()
/drivers/staging/gdm72xx/
Dgdm_usb.c31 #define RX_BUF_SIZE (128*1024) /* For packet aggregation */ macro
33 #define RX_BUF_SIZE 2048 macro
112 r->buf = kmalloc(RX_BUF_SIZE, GFP_ATOMIC); in alloc_rx_struct()
526 RX_BUF_SIZE, in gdm_usb_receive()
Dgdm_sdio.c36 #define RX_BUF_SIZE (25*1024) macro
185 rx->rx_buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); in init_sdio()
529 if (len > (RX_BUF_SIZE - TYPE_A_HEADER_SIZE)) { in gdm_sdio_irq()
/drivers/staging/winbond/
Dmds_s.h70 #define RX_BUF_SIZE 2352 /* 600 - For 301 must be multiple of 8 */ macro
/drivers/net/ethernet/toshiba/
Dtc35815.c352 #define RX_BUF_SIZE PAGE_SIZE macro
354 #define RX_BUF_SIZE \ macro
357 #define RX_BUF_SIZE \ macro
456 skb = netdev_alloc_skb(dev, RX_BUF_SIZE); in alloc_rxbuf_skb()
459 *dma_handle = pci_map_single(hwdev, skb->data, RX_BUF_SIZE, in alloc_rxbuf_skb()
471 pci_unmap_single(hwdev, dma_handle, RX_BUF_SIZE, in free_rxbuf_skb()
993 RX_BUF_SIZE); in tc35815_init_queues()
1539 RX_BUF_SIZE, PCI_DMA_FROMDEVICE); in tc35815_rx()
1612 RX_BUF_SIZE); in tc35815_rx()
/drivers/tty/serial/cpm_uart/
Dcpm_uart.h45 #define RX_BUF_SIZE 32 macro
Dcpm_uart_core.c513 pinfo->rx_fifosize = RX_BUF_SIZE; in cpm_uart_set_termios()
1200 pinfo->rx_fifosize = RX_BUF_SIZE; in cpm_uart_init_port()
/drivers/infiniband/hw/amso1100/
Dc2.h56 #define RX_BUF_SIZE (1536 + 8) macro
Dc2.c99 if (netdev->mtu > RX_BUF_SIZE) in c2_set_rxbufsize()
104 c2_port->rx_buf_size = sizeof(struct c2_rxp_hdr) + RX_BUF_SIZE; in c2_set_rxbufsize()
/drivers/net/ethernet/natsemi/
Dns83820.c137 #define RX_BUF_SIZE 1500 /* 8192 */ macro
147 #define REAL_RX_BUF_SIZE (RX_BUF_SIZE + 14) /* rx/tx mac addr + type */
877 RX_BUF_SIZE, PCI_DMA_FROMDEVICE);
1685 if (new_mtu > RX_BUF_SIZE)
/drivers/infiniband/hw/nes/
Dnes.h78 #define RX_BUF_SIZE (1536 + 8) macro
/drivers/tty/serial/
Ducc_uart.c76 #define RX_BUF_SIZE 32 macro
1426 qe_port->rx_fifosize = RX_BUF_SIZE; in ucc_uart_probe()
/drivers/net/ethernet/micrel/
Dks8851_mll.c45 #define RX_BUF_SIZE 2000 macro
796 frame_hdr->len >= RX_BUF_SIZE || in ks_rcv()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c179 RX_BUF_SIZE = 0x0f, /* bottom three bits are for buf sizes */ enumerator
430 unsigned int rx_buf_size_idx = d->dma_addr & RX_BUF_SIZE; in get_buf_size()
/drivers/net/ethernet/marvell/
Dskge.c61 #define RX_BUF_SIZE 1536 macro
2532 if (dev->mtu > RX_BUF_SIZE) in skge_up()
2535 skge->rx_buf_size = RX_BUF_SIZE; in skge_up()