Home
last modified time | relevance | path

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

/linux-6.1.9/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.c3712 int chan, bfsize, ret; in stmmac_setup_dma_desc() local
3721 bfsize = stmmac_set_16kib_bfsize(priv, mtu); in stmmac_setup_dma_desc()
3722 if (bfsize < 0) in stmmac_setup_dma_desc()
3723 bfsize = 0; in stmmac_setup_dma_desc()
3725 if (bfsize < BUF_SIZE_16KiB) in stmmac_setup_dma_desc()
3726 bfsize = stmmac_set_bfsize(mtu, 0); in stmmac_setup_dma_desc()
3728 dma_conf->dma_buf_sz = bfsize; in stmmac_setup_dma_desc()
/linux-6.1.9/tools/perf/util/
Dcallchain.c1154 char *bf, size_t bfsize, bool show_dso) in callchain_list__sym_name() argument
1164 printed = scnprintf(bf, bfsize, "%s %s%s", in callchain_list__sym_name()
1168 printed = scnprintf(bf, bfsize, "%s%s", in callchain_list__sym_name()
1171 printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip); in callchain_list__sym_name()
1174 scnprintf(bf + printed, bfsize - printed, " %s", in callchain_list__sym_name()
1183 char *bf, size_t bfsize, u64 total) in callchain_node__scnprintf_value() argument
1196 scnprintf(bf, bfsize, "%"PRIu64, period); in callchain_node__scnprintf_value()
1199 scnprintf(bf, bfsize, "%u", count); in callchain_node__scnprintf_value()
1205 scnprintf(bf, bfsize, "%.2f%%", percent); in callchain_node__scnprintf_value()
1308 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.h92 int branch_type_str(struct branch_type_stat *st, char *bf, int bfsize);
/linux-6.1.9/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-6.1.9/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()