Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/
Db44.c82 #define RX_PKT_BUF_SZ (1536 + RX_PKT_OFFSET) macro
669 skb = netdev_alloc_skb(bp->dev, RX_PKT_BUF_SZ); in b44_alloc_rx_skb()
674 RX_PKT_BUF_SZ, in b44_alloc_rx_skb()
680 mapping + RX_PKT_BUF_SZ > DMA_BIT_MASK(30)) { in b44_alloc_rx_skb()
684 RX_PKT_BUF_SZ, DMA_FROM_DEVICE); in b44_alloc_rx_skb()
686 skb = alloc_skb(RX_PKT_BUF_SZ, GFP_ATOMIC | GFP_DMA); in b44_alloc_rx_skb()
690 RX_PKT_BUF_SZ, in b44_alloc_rx_skb()
693 mapping + RX_PKT_BUF_SZ > DMA_BIT_MASK(30)) { in b44_alloc_rx_skb()
695 dma_unmap_single(bp->sdev->dma_dev, mapping, RX_PKT_BUF_SZ,DMA_FROM_DEVICE); in b44_alloc_rx_skb()
713 ctrl = (DESC_CTRL_LEN & RX_PKT_BUF_SZ); in b44_alloc_rx_skb()
[all …]