/Linux-v4.19/include/linux/mfd/ |
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-v4.19/drivers/net/ethernet/faraday/ |
D | ftmac100.c | 45 #define RX_BUF_SIZE 2044 /* must be smaller than 0x7ff */ macro 51 #if RX_BUF_SIZE > 0x7ff || RX_BUF_SIZE > PAGE_SIZE 52 #error invalid RX_BUF_SIZE 438 dma_unmap_page(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_rx_packet() 686 map = dma_map_page(priv->dev, page, 0, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_alloc_rx_page() 696 ftmac100_rxdes_set_buffer_size(rxdes, RX_BUF_SIZE); in ftmac100_alloc_rx_page() 713 dma_unmap_page(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftmac100_free_buffers()
|
D | ftgmac100.c | 58 #define RX_BUF_SIZE MAX_PKT_SIZE /* must be smaller than 0x3fff */ macro 271 iowrite32(FTGMAC100_RBSR_SIZE(RX_BUF_SIZE), in ftgmac100_init_hw() 402 skb = netdev_alloc_skb_ip_align(netdev, RX_BUF_SIZE); in ftgmac100_alloc_rx_buf() 409 map = dma_map_single(priv->dev, skb->data, RX_BUF_SIZE, in ftgmac100_alloc_rx_buf() 560 dma_unmap_single(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_rx_packet() 884 dma_unmap_single(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_free_buffers() 921 dma_free_coherent(priv->dev, RX_BUF_SIZE, in ftgmac100_free_rings() 953 RX_BUF_SIZE, in ftgmac100_alloc_rings()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/ |
D | hip04_eth.c | 122 #define RX_BUF_SIZE 1600 macro 255 val = RX_BUF_SIZE; in hip04_config_fifo() 509 RX_BUF_SIZE, DMA_FROM_DEVICE); in hip04_rx_poll() 538 RX_BUF_SIZE, DMA_FROM_DEVICE); in hip04_rx_poll() 644 RX_BUF_SIZE, DMA_FROM_DEVICE); in hip04_mac_open() 680 RX_BUF_SIZE, DMA_FROM_DEVICE); in hip04_mac_stop() 779 priv->rx_buf_size = RX_BUF_SIZE + in hip04_alloc_ring()
|
/Linux-v4.19/drivers/net/ethernet/moxa/ |
D | moxart_ether.h | 67 #define RX_BUF_SIZE 1600 macro 326 #if RX_BUF_SIZE >= RX_BUF_SIZE_MAX
|
D | moxart_ether.c | 144 moxart_desc_write(RX_BUF_SIZE & RX_DESC1_BUF_SIZE_MASK, in moxart_mac_setup_desc_ring() 238 if (len > RX_BUF_SIZE) in moxart_rx_poll() 239 len = RX_BUF_SIZE; in moxart_rx_poll() 492 priv->rx_buf_size = RX_BUF_SIZE; in moxart_mac_probe()
|
/Linux-v4.19/include/linux/ |
D | n_r3964.h | 133 #define RX_BUF_SIZE 4000 macro
|
/Linux-v4.19/drivers/net/ethernet/sis/ |
D | sis900.c | 1178 if ((skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE)) == NULL) { in sis900_init_rx_ring() 1186 sis_priv->rx_ring[i].cmdsts = RX_BUF_SIZE; in sis900_init_rx_ring() 1188 skb->data, RX_BUF_SIZE, PCI_DMA_FROMDEVICE); in sis900_init_rx_ring() 1772 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx() 1778 sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE, in sis900_rx() 1783 if ((skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE)) == NULL) { in sis900_rx() 1823 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx() 1826 RX_BUF_SIZE, PCI_DMA_FROMDEVICE); in sis900_rx() 1847 skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE); in sis900_rx() 1857 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx() [all …]
|
D | sis900.h | 321 #define RX_BUF_SIZE (MAX_FRAME_SIZE+18) macro
|
D | sis190.c | 54 #define RX_BUF_SIZE 1536 macro 1052 tp->rx_buf_sz = (mtu > RX_BUF_SIZE) ? mtu + ETH_HLEN + 8 : RX_BUF_SIZE; in sis190_set_rxbufsize()
|
/Linux-v4.19/drivers/staging/gdm724x/ |
D | gdm_usb.h | 19 #define RX_BUF_SIZE (1024 * 32) macro
|
D | gdm_usb.c | 180 r->buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); in alloc_rx_struct() 514 RX_BUF_SIZE, in gdm_usb_recv()
|
/Linux-v4.19/drivers/tty/serial/cpm_uart/ |
D | cpm_uart.h | 41 #define RX_BUF_SIZE 32 macro
|
D | cpm_uart_core.c | 504 pinfo->rx_fifosize = RX_BUF_SIZE; in cpm_uart_set_termios() 1199 pinfo->rx_fifosize = RX_BUF_SIZE; in cpm_uart_init_port()
|
/Linux-v4.19/drivers/net/ethernet/toshiba/ |
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 = pci_map_single(hwdev, skb->data, RX_BUF_SIZE, in alloc_rxbuf_skb() 469 pci_unmap_single(hwdev, dma_handle, RX_BUF_SIZE, in free_rxbuf_skb() 960 RX_BUF_SIZE); in tc35815_init_queues() 1499 RX_BUF_SIZE, PCI_DMA_FROMDEVICE); in tc35815_rx() 1572 RX_BUF_SIZE); in tc35815_rx()
|
/Linux-v4.19/drivers/net/ethernet/aurora/ |
D | nb8800.h | 16 #define RX_BUF_SIZE 1552 macro
|
D | nb8800.c | 202 int size = L1_CACHE_ALIGN(RX_BUF_SIZE); in nb8800_alloc_rx() 215 dma_addr = dma_map_page(&dev->dev, page, offset, RX_BUF_SIZE, in nb8800_alloc_rx() 266 dma_unmap_page(&dev->dev, dma, RX_BUF_SIZE, DMA_FROM_DEVICE); in nb8800_receive() 270 RX_BUF_SIZE); in nb8800_receive() 1238 priv->rx_dma_config = RX_BUF_SIZE | DESC_BTS(2) | DESC_DS | DESC_EOF; in nb8800_hw_init()
|
/Linux-v4.19/drivers/tty/ |
D | mips_ejtag_fdc.c | 76 #define RX_BUF_SIZE 1024 macro 706 rx_buf = kzalloc(RX_BUF_SIZE, GFP_KERNEL); in mips_ejtag_fdc_tty_port_activate()
|
D | n_r3964.c | 629 if (pInfo->rx_position < RX_BUF_SIZE) { in receive_char() 956 pInfo->rx_buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); in r3964_open()
|
/Linux-v4.19/drivers/infiniband/hw/i40iw/ |
D | i40iw.h | 84 #define RX_BUF_SIZE (1536 + 8) macro
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes.h | 81 #define RX_BUF_SIZE (1536 + 8) macro
|
/Linux-v4.19/drivers/tty/serial/ |
D | ucc_uart.c | 76 #define RX_BUF_SIZE 32 macro 1415 qe_port->rx_fifosize = RX_BUF_SIZE; in ucc_uart_probe()
|
D | imx.c | 1032 #define RX_BUF_SIZE (PAGE_SIZE) macro 1130 sg_init_one(sgl, sport->rx_buf, RX_BUF_SIZE); in imx_uart_start_rx_dma() 1248 sport->rx_buf = kzalloc(RX_BUF_SIZE, GFP_KERNEL); in imx_uart_dma_init()
|
/Linux-v4.19/drivers/net/ethernet/micrel/ |
D | ks8851_mll.c | 49 #define RX_BUF_SIZE 2000 macro 800 frame_hdr->len >= RX_BUF_SIZE || in ks_rcv()
|
/Linux-v4.19/drivers/net/ethernet/natsemi/ |
D | ns83820.c | 136 #define RX_BUF_SIZE 1500 /* 8192 */ macro 146 #define REAL_RX_BUF_SIZE (RX_BUF_SIZE + 14) /* rx/tx mac addr + type */ 876 RX_BUF_SIZE, PCI_DMA_FROMDEVICE);
|