Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/ !
Ddescs_com.h23 int bfsize) in ehn_desc_rx_set_on_ring() argument
25 if (bfsize == BUF_SIZE_16KiB) in ehn_desc_rx_set_on_ring()
54 static inline void ndesc_rx_set_on_ring(struct dma_desc *p, int end, int bfsize) in ndesc_rx_set_on_ring() argument
56 if (bfsize >= BUF_SIZE_2KiB) { in ndesc_rx_set_on_ring()
59 bfsize2 = min(bfsize - BUF_SIZE_2KiB + 1, BUF_SIZE_2KiB - 1); in ndesc_rx_set_on_ring()
Dnorm_desc.c126 int end, int bfsize) in ndesc_init_rx_desc() argument
132 bfsize1 = min(bfsize, BUF_SIZE_2KiB - 1); in ndesc_init_rx_desc()
138 ndesc_rx_set_on_ring(p, end, bfsize); in ndesc_init_rx_desc()
Denh_desc.c258 int mode, int end, int bfsize) in enh_desc_init_rx_desc() argument
264 bfsize1 = min(bfsize, BUF_SIZE_8KiB); in enh_desc_init_rx_desc()
270 ehn_desc_rx_set_on_ring(p, end, bfsize); in enh_desc_init_rx_desc()
Ddwmac4_dma.c475 static void dwmac4_set_bfsize(void __iomem *ioaddr, int bfsize, u32 chan) in dwmac4_set_bfsize() argument
480 value |= (bfsize << DMA_RBSZ_SHIFT) & DMA_RBSZ_MASK; in dwmac4_set_bfsize()
Ddwxgmac2_dma.c506 static void dwxgmac2_set_bfsize(void __iomem *ioaddr, int bfsize, u32 chan) in dwxgmac2_set_bfsize() argument
512 value |= bfsize << XGMAC_RBSZ_SHIFT; in dwxgmac2_set_bfsize()
Ddwxgmac2_descs.c130 int mode, int end, int bfsize) in dwxgmac2_init_rx_desc() argument
Dhwif.h38 int end, int bfsize);
212 void (*set_bfsize)(void __iomem *ioaddr, int bfsize, u32 chan);
Ddwmac4_descs.c300 int mode, int end, int bfsize) in dwmac4_rd_init_rx_desc() argument
Dstmmac_main.c3642 int bfsize = 0; in stmmac_open() local
3667 bfsize = stmmac_set_16kib_bfsize(priv, dev->mtu); in stmmac_open()
3668 if (bfsize < 0) in stmmac_open()
3669 bfsize = 0; in stmmac_open()
3671 if (bfsize < BUF_SIZE_16KiB) in stmmac_open()
3672 bfsize = stmmac_set_bfsize(dev->mtu, priv->dma_buf_sz); in stmmac_open()
3674 priv->dma_buf_sz = bfsize; in stmmac_open()
3675 buf_sz = bfsize; in stmmac_open()
/linux-5.19.10/tools/perf/util/ !
Dcallchain.c1148 char *bf, size_t bfsize, bool show_dso) in callchain_list__sym_name() argument
1158 printed = scnprintf(bf, bfsize, "%s %s%s", in callchain_list__sym_name()
1162 printed = scnprintf(bf, bfsize, "%s%s", in callchain_list__sym_name()
1165 printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip); in callchain_list__sym_name()
1168 scnprintf(bf + printed, bfsize - printed, " %s", in callchain_list__sym_name()
1177 char *bf, size_t bfsize, u64 total) in callchain_node__scnprintf_value() argument
1190 scnprintf(bf, bfsize, "%"PRIu64, period); in callchain_node__scnprintf_value()
1193 scnprintf(bf, bfsize, "%u", count); in callchain_node__scnprintf_value()
1199 scnprintf(bf, bfsize, "%.2f%%", percent); in callchain_node__scnprintf_value()
1302 static int count_pri64_printf(int idx, const char *str, u64 value, char *bf, int bfsize) in count_pri64_printf() argument
[all …]
Dcallchain.h286 char *bf, size_t bfsize, bool show_dso);
288 char *bf, size_t bfsize, u64 total);
293 FILE *fp, char *bf, int bfsize);
Dbranch.h86 int branch_type_str(struct branch_type_stat *st, char *bf, int bfsize);
/linux-5.19.10/drivers/net/ethernet/samsung/sxgbe/ !
Dsxgbe_main.c466 unsigned int bfsize = 0; in init_rx_ring() local
470 bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); in init_rx_ring()
472 netif_dbg(priv, probe, dev, "%s: bfsize %d\n", __func__, bfsize); in init_rx_ring()
511 bfsize, rx_ring); in init_rx_ring()
519 priv->dma_buf_sz = bfsize; in init_rx_ring()
528 sxgbe_free_rx_buffers(dev, p, desc_index, bfsize, rx_ring); in init_rx_ring()
1441 int bfsize = priv->dma_buf_sz; in sxgbe_rx_refill() local
1454 skb = netdev_alloc_skb_ip_align(priv->dev, bfsize); in sxgbe_rx_refill()
1461 dma_map_single(priv->device, skb->data, bfsize, in sxgbe_rx_refill()
/linux-5.19.10/drivers/net/ethernet/calxeda/ !
Dxgmac.c722 unsigned int bfsize; in xgmac_dma_desc_rings_init() local
728 bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); in xgmac_dma_desc_rings_init()
730 netdev_dbg(priv->dev, "mtu [%d] bfsize [%d]\n", dev->mtu, bfsize); in xgmac_dma_desc_rings_init()
765 priv->dma_buf_sz = bfsize; in xgmac_dma_desc_rings_init()