Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/broadcom/
Db44.c82 #define RX_PKT_BUF_SZ (1536 + RX_PKT_OFFSET) macro
647 skb = netdev_alloc_skb(bp->dev, RX_PKT_BUF_SZ); in b44_alloc_rx_skb()
652 RX_PKT_BUF_SZ, in b44_alloc_rx_skb()
658 mapping + RX_PKT_BUF_SZ > DMA_BIT_MASK(30)) { in b44_alloc_rx_skb()
662 RX_PKT_BUF_SZ, DMA_FROM_DEVICE); in b44_alloc_rx_skb()
664 skb = alloc_skb(RX_PKT_BUF_SZ, GFP_ATOMIC | GFP_DMA); in b44_alloc_rx_skb()
668 RX_PKT_BUF_SZ, in b44_alloc_rx_skb()
671 mapping + RX_PKT_BUF_SZ > DMA_BIT_MASK(30)) { in b44_alloc_rx_skb()
673 dma_unmap_single(bp->sdev->dma_dev, mapping, RX_PKT_BUF_SZ,DMA_FROM_DEVICE); in b44_alloc_rx_skb()
691 ctrl = (DESC_CTRL_LEN & RX_PKT_BUF_SZ); in b44_alloc_rx_skb()
[all …]