/drivers/net/ethernet/faraday/ |
D | ftmac100.c | 44 #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()
|
D | ftgmac100.c | 45 #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/ |
D | sis900.c | 1181 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 …]
|
D | sis900.h | 320 #define RX_BUF_SIZE (MAX_FRAME_SIZE+18) macro
|
D | sis190.c | 54 #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/ |
D | metag_da.c | 73 #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()
|
D | n_r3964.c | 631 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/ |
D | gdm_usb.c | 31 #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()
|
D | gdm_sdio.c | 36 #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/ |
D | mds_s.h | 70 #define RX_BUF_SIZE 2352 /* 600 - For 301 must be multiple of 8 */ macro
|
/drivers/net/ethernet/toshiba/ |
D | tc35815.c | 352 #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/ |
D | cpm_uart.h | 45 #define RX_BUF_SIZE 32 macro
|
D | cpm_uart_core.c | 513 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/ |
D | c2.h | 56 #define RX_BUF_SIZE (1536 + 8) macro
|
D | c2.c | 99 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/ |
D | ns83820.c | 137 #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/ |
D | nes.h | 78 #define RX_BUF_SIZE (1536 + 8) macro
|
/drivers/tty/serial/ |
D | ucc_uart.c | 76 #define RX_BUF_SIZE 32 macro 1426 qe_port->rx_fifosize = RX_BUF_SIZE; in ucc_uart_probe()
|
/drivers/net/ethernet/micrel/ |
D | ks8851_mll.c | 45 #define RX_BUF_SIZE 2000 macro 796 frame_hdr->len >= RX_BUF_SIZE || in ks_rcv()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 179 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/ |
D | skge.c | 61 #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()
|