/linux/include/linux/mfd/ |
A D | ipaq-micro.h | 14 #define RX_BUF_SIZE 16 macro 70 u8 buf[RX_BUF_SIZE]; 88 u8 rx_data[RX_BUF_SIZE];
|
/linux/drivers/net/ethernet/faraday/ |
A D | ftmac100.c | 31 #define RX_BUF_SIZE 2044 /* must be smaller than 0x7ff */ macro 37 #if RX_BUF_SIZE > 0x7ff || RX_BUF_SIZE > PAGE_SIZE 38 #error invalid RX_BUF_SIZE 424 dma_unmap_page(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_rx_packet() 672 map = dma_map_page(priv->dev, page, 0, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_alloc_rx_page() 682 ftmac100_rxdes_set_buffer_size(rxdes, RX_BUF_SIZE); in ftmac100_alloc_rx_page() 699 dma_unmap_page(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_free_buffers()
|
A D | ftgmac100.c | 45 #define RX_BUF_SIZE MAX_PKT_SIZE /* must be smaller than 0x3fff */ macro 258 iowrite32(FTGMAC100_RBSR_SIZE(RX_BUF_SIZE), in ftgmac100_init_hw() 389 skb = netdev_alloc_skb_ip_align(netdev, RX_BUF_SIZE); in ftgmac100_alloc_rx_buf() 396 map = dma_map_single(priv->dev, skb->data, RX_BUF_SIZE, in ftgmac100_alloc_rx_buf() 547 dma_unmap_single(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_rx_packet() 870 dma_unmap_single(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_free_buffers() 907 dma_free_coherent(priv->dev, RX_BUF_SIZE, in ftgmac100_free_rings() 937 RX_BUF_SIZE, in ftgmac100_alloc_rings()
|
/linux/drivers/net/ethernet/hisilicon/ |
A D | hip04_eth.c | 161 #define RX_BUF_SIZE 1600 macro 327 val = RX_BUF_SIZE >> PPE_BUF_SIZE_SHIFT; in hip04_config_fifo() 601 RX_BUF_SIZE, DMA_FROM_DEVICE); in hip04_rx_poll() 630 RX_BUF_SIZE, DMA_FROM_DEVICE); in hip04_rx_poll() 738 RX_BUF_SIZE, DMA_FROM_DEVICE); in hip04_mac_open() 774 RX_BUF_SIZE, DMA_FROM_DEVICE); in hip04_mac_stop() 865 priv->rx_buf_size = RX_BUF_SIZE + in hip04_alloc_ring()
|
/linux/drivers/net/ethernet/sis/ |
A D | sis900.c | 1188 if ((skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE)) == NULL) { in sis900_init_rx_ring() 1196 sis_priv->rx_ring[i].cmdsts = RX_BUF_SIZE; in sis900_init_rx_ring() 1199 RX_BUF_SIZE, in sis900_init_rx_ring() 1786 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx() 1793 RX_BUF_SIZE, DMA_FROM_DEVICE); in sis900_rx() 1837 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx() 1840 skb->data, RX_BUF_SIZE, in sis900_rx() 1862 skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE); in sis900_rx() 1872 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx() 1875 skb->data, RX_BUF_SIZE, in sis900_rx() [all …]
|
A D | sis900.h | 321 #define RX_BUF_SIZE (MAX_FRAME_SIZE+18) macro
|
A D | sis190.c | 54 #define RX_BUF_SIZE 1536 macro 1055 tp->rx_buf_sz = (mtu > RX_BUF_SIZE) ? mtu + ETH_HLEN + 8 : RX_BUF_SIZE; in sis190_set_rxbufsize()
|
/linux/drivers/net/ethernet/moxa/ |
A D | moxart_ether.h | 67 #define RX_BUF_SIZE 1600 macro 327 #if RX_BUF_SIZE >= RX_BUF_SIZE_MAX
|
A D | moxart_ether.c | 146 moxart_desc_write(RX_BUF_SIZE & RX_DESC1_BUF_SIZE_MASK, in moxart_mac_setup_desc_ring() 240 if (len > RX_BUF_SIZE) in moxart_rx_poll() 241 len = RX_BUF_SIZE; in moxart_rx_poll() 494 priv->rx_buf_size = RX_BUF_SIZE; in moxart_mac_probe()
|
/linux/drivers/tty/serial/8250/ |
A D | 8250_bcm7271.c | 188 #define RX_BUF_SIZE 4096 macro 326 udma_writel(priv, REGS_DMA_RX, UDMA_RX_BUFFER_SIZE, RX_BUF_SIZE); in brcmuart_init_dma_hardware() 349 daddr += RX_BUF_SIZE; in brcmuart_init_dma_hardware() 478 priv->rx_bufs + (index * RX_BUF_SIZE), in brcmuart_rx_buf_done_isr() 488 else if (length != RX_BUF_SIZE) in brcmuart_rx_buf_done_isr() 1075 priv->rx_size = RX_BUF_SIZE * RX_BUFS_COUNT; in brcmuart_probe()
|
/linux/drivers/staging/gdm724x/ |
A D | gdm_usb.h | 19 #define RX_BUF_SIZE (1024 * 32) macro
|
A D | gdm_usb.c | 184 r->buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); in alloc_rx_struct() 518 RX_BUF_SIZE, in gdm_usb_recv()
|
/linux/drivers/net/ethernet/toshiba/ |
A D | tc35815.c | 351 #define RX_BUF_SIZE PAGE_SIZE macro 353 #define RX_BUF_SIZE \ macro 356 #define RX_BUF_SIZE \ macro 454 skb = netdev_alloc_skb(dev, RX_BUF_SIZE); in alloc_rxbuf_skb() 457 *dma_handle = dma_map_single(&hwdev->dev, skb->data, RX_BUF_SIZE, in alloc_rxbuf_skb() 469 dma_unmap_single(&hwdev->dev, dma_handle, RX_BUF_SIZE, in free_rxbuf_skb() 966 RX_BUF_SIZE); in tc35815_init_queues() 1513 RX_BUF_SIZE, DMA_FROM_DEVICE); in tc35815_rx() 1586 RX_BUF_SIZE); in tc35815_rx()
|
/linux/drivers/net/ethernet/sgi/ |
A D | ioc3-eth.c | 74 #define RX_BUF_SIZE (13 * IOC3_DMA_XFER_LEN) macro 130 new_skb = alloc_skb(RX_BUF_SIZE + IOC3_DMA_XFER_LEN - 1, GFP_ATOMIC); in ioc3_alloc_skb() 140 RX_BUF_SIZE, DMA_FROM_DEVICE); in ioc3_alloc_skb() 406 RX_BUF_SIZE, DMA_FROM_DEVICE); in ioc3_rx() 661 RX_BUF_SIZE, DMA_FROM_DEVICE); in ioc3_free_rx_bufs()
|
/linux/drivers/tty/serial/cpm_uart/ |
A D | cpm_uart.h | 43 #define RX_BUF_SIZE 32 macro
|
A D | cpm_uart_core.c | 505 pinfo->rx_fifosize = RX_BUF_SIZE; in cpm_uart_set_termios() 1206 pinfo->rx_fifosize = RX_BUF_SIZE; in cpm_uart_init_port()
|
/linux/drivers/tty/ |
A D | mips_ejtag_fdc.c | 76 #define RX_BUF_SIZE 1024 macro 707 rx_buf = kzalloc(RX_BUF_SIZE, GFP_KERNEL); in mips_ejtag_fdc_tty_port_activate()
|
/linux/drivers/tty/serial/ |
A D | ucc_uart.c | 80 #define RX_BUF_SIZE 32 macro 1428 qe_port->rx_fifosize = RX_BUF_SIZE; in ucc_uart_probe()
|
/linux/drivers/infiniband/hw/irdma/ |
A D | main.h | 73 #define RX_BUF_SIZE (1536 + 8) macro
|
/linux/drivers/net/ethernet/natsemi/ |
A D | ns83820.c | 122 #define RX_BUF_SIZE 1500 /* 8192 */ macro 132 #define REAL_RX_BUF_SIZE (RX_BUF_SIZE + 14) /* rx/tx mac addr + type */ 863 dma_unmap_single(&dev->pci_dev->dev, bufptr, RX_BUF_SIZE,
|
/linux/drivers/net/ethernet/marvell/ |
A D | skge.c | 49 #define RX_BUF_SIZE 1536 macro 2545 if (dev->mtu > RX_BUF_SIZE) in skge_up() 2548 skge->rx_buf_size = RX_BUF_SIZE; in skge_up()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | sge.c | 171 RX_BUF_SIZE = 0x0f, /* bottom three bits are for buf sizes */ enumerator 402 unsigned int rx_buf_size_idx = d->dma_addr & RX_BUF_SIZE; in get_buf_size()
|