/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | descs_com.h | 23 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()
|
D | norm_desc.c | 126 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()
|
D | enh_desc.c | 258 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()
|
D | dwmac4_dma.c | 475 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()
|
D | dwxgmac2_dma.c | 506 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()
|
D | dwxgmac2_descs.c | 130 int mode, int end, int bfsize) in dwxgmac2_init_rx_desc() argument
|
D | hwif.h | 38 int end, int bfsize); 212 void (*set_bfsize)(void __iomem *ioaddr, int bfsize, u32 chan);
|
D | dwmac4_descs.c | 300 int mode, int end, int bfsize) in dwmac4_rd_init_rx_desc() argument
|
D | stmmac_main.c | 3712 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/ |
D | callchain.c | 1154 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 …]
|
D | callchain.h | 286 char *bf, size_t bfsize, bool show_dso); 288 char *bf, size_t bfsize, u64 total); 293 FILE *fp, char *bf, int bfsize);
|
D | branch.h | 92 int branch_type_str(struct branch_type_stat *st, char *bf, int bfsize);
|
/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 466 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/ |
D | xgmac.c | 722 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()
|