Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/linux/mfd/
Dipaq-micro.h14 #define RX_BUF_SIZE 16 macro
70 u8 buf[RX_BUF_SIZE];
88 u8 rx_data[RX_BUF_SIZE];
/kernel/linux/linux-5.10/drivers/net/ethernet/faraday/
Dftmac100.c31 #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()
Dftgmac100.c45 #define RX_BUF_SIZE MAX_PKT_SIZE /* must be smaller than 0x3fff */ macro
261 iowrite32(FTGMAC100_RBSR_SIZE(RX_BUF_SIZE), in ftgmac100_init_hw()
392 skb = netdev_alloc_skb_ip_align(netdev, RX_BUF_SIZE); in ftgmac100_alloc_rx_buf()
399 map = dma_map_single(priv->dev, skb->data, RX_BUF_SIZE, in ftgmac100_alloc_rx_buf()
550 dma_unmap_single(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_rx_packet()
873 dma_unmap_single(priv->dev, map, RX_BUF_SIZE, DMA_FROM_DEVICE); in ftgmac100_free_buffers()
910 dma_free_coherent(priv->dev, RX_BUF_SIZE, in ftgmac100_free_rings()
940 RX_BUF_SIZE, in ftgmac100_alloc_rings()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/
Dhip04_eth.c161 #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()
861 priv->rx_buf_size = RX_BUF_SIZE + in hip04_alloc_ring()
/kernel/linux/linux-5.10/drivers/net/ethernet/moxa/
Dmoxart_ether.h67 #define RX_BUF_SIZE 1600 macro
327 #if RX_BUF_SIZE >= RX_BUF_SIZE_MAX
Dmoxart_ether.c141 moxart_desc_write(RX_BUF_SIZE & RX_DESC1_BUF_SIZE_MASK, in moxart_mac_setup_desc_ring()
241 if (len > RX_BUF_SIZE) in moxart_rx_poll()
242 len = RX_BUF_SIZE; in moxart_rx_poll()
496 priv->rx_buf_size = RX_BUF_SIZE; in moxart_mac_probe()
/kernel/linux/linux-5.10/include/linux/
Dn_r3964.h133 #define RX_BUF_SIZE 4000 macro
/kernel/linux/linux-5.10/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()
1192 RX_BUF_SIZE, in sis900_init_rx_ring()
1779 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx()
1786 RX_BUF_SIZE, DMA_FROM_DEVICE); in sis900_rx()
1790 if ((skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE)) == NULL) { in sis900_rx()
1830 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx()
1833 skb->data, RX_BUF_SIZE, in sis900_rx()
1855 skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE); in sis900_rx()
1865 sis_priv->rx_ring[entry].cmdsts = RX_BUF_SIZE; in sis900_rx()
[all …]
Dsis900.h321 #define RX_BUF_SIZE (MAX_FRAME_SIZE+18) macro
Dsis190.c54 #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()
/kernel/linux/linux-5.10/drivers/staging/gdm724x/
Dgdm_usb.h19 #define RX_BUF_SIZE (1024 * 32) macro
Dgdm_usb.c184 r->buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); in alloc_rx_struct()
518 RX_BUF_SIZE, in gdm_usb_recv()
/kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/
Dcpm_uart.h43 #define RX_BUF_SIZE 32 macro
Dcpm_uart_core.c506 pinfo->rx_fifosize = RX_BUF_SIZE; in cpm_uart_set_termios()
1196 pinfo->rx_fifosize = RX_BUF_SIZE; in cpm_uart_init_port()
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dtc35815.c351 #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()
964 RX_BUF_SIZE); in tc35815_init_queues()
1511 RX_BUF_SIZE, DMA_FROM_DEVICE); in tc35815_rx()
1584 RX_BUF_SIZE); in tc35815_rx()
/kernel/linux/linux-5.10/drivers/net/ethernet/sgi/
Dioc3-eth.c74 #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()
/kernel/linux/linux-5.10/drivers/net/ethernet/aurora/
Dnb8800.c192 int size = L1_CACHE_ALIGN(RX_BUF_SIZE); in nb8800_alloc_rx()
205 dma_addr = dma_map_page(&dev->dev, page, offset, RX_BUF_SIZE, in nb8800_alloc_rx()
256 dma_unmap_page(&dev->dev, dma, RX_BUF_SIZE, DMA_FROM_DEVICE); in nb8800_receive()
260 RX_BUF_SIZE); in nb8800_receive()
1218 priv->rx_dma_config = RX_BUF_SIZE | DESC_BTS(2) | DESC_DS | DESC_EOF; in nb8800_hw_init()
Dnb8800.h16 #define RX_BUF_SIZE 1552 macro
/kernel/linux/linux-5.10/drivers/tty/
Dmips_ejtag_fdc.c76 #define RX_BUF_SIZE 1024 macro
707 rx_buf = kzalloc(RX_BUF_SIZE, GFP_KERNEL); in mips_ejtag_fdc_tty_port_activate()
Dn_r3964.c635 if (pInfo->rx_position < RX_BUF_SIZE) { in receive_char()
962 pInfo->rx_buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); in r3964_open()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw.h84 #define RX_BUF_SIZE (1536 + 8) macro
/kernel/linux/linux-5.10/drivers/tty/serial/
Ducc_uart.c80 #define RX_BUF_SIZE 32 macro
1430 qe_port->rx_fifosize = RX_BUF_SIZE; in ucc_uart_probe()
Dimx.c1219 #define RX_BUF_SIZE (RX_DMA_PERIODS * PAGE_SIZE / 4) macro
1233 sg_init_one(sgl, sport->rx_buf, RX_BUF_SIZE); in imx_uart_start_rx_dma()
1350 sport->rx_buf = kzalloc(RX_BUF_SIZE, GFP_KERNEL); in imx_uart_dma_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
Dns83820.c122 #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,
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dskge.c49 #define RX_BUF_SIZE 1536 macro
2541 if (dev->mtu > RX_BUF_SIZE) in skge_up()
2544 skge->rx_buf_size = RX_BUF_SIZE; in skge_up()

12