/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A 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()
|
H A D | norm_desc.c | 119 int end, int bfsize) in ndesc_init_rx_desc() argument 125 bfsize1 = min(bfsize, BUF_SIZE_2KiB - 1); in ndesc_init_rx_desc() 131 ndesc_rx_set_on_ring(p, end, bfsize); in ndesc_init_rx_desc()
|
H A D | enh_desc.c | 253 int mode, int end, int bfsize) in enh_desc_init_rx_desc() argument 259 bfsize1 = min(bfsize, BUF_SIZE_8KiB); in enh_desc_init_rx_desc() 265 ehn_desc_rx_set_on_ring(p, end, bfsize); in enh_desc_init_rx_desc()
|
H A D | dwxgmac2_dma.c | 565 int bfsize, u32 chan) in dwxgmac2_set_bfsize() argument 571 value |= bfsize << XGMAC_RBSZ_SHIFT; in dwxgmac2_set_bfsize()
|
H A D | dwmac4_dma.c | 516 int bfsize, u32 chan) in dwmac4_set_bfsize() argument 522 value |= (bfsize << DMA_RBSZ_SHIFT) & DMA_RBSZ_MASK; in dwmac4_set_bfsize()
|
H A D | dwxgmac2_descs.c | 132 int mode, int end, int bfsize) in dwxgmac2_init_rx_desc() argument
|
H A D | hwif.h | 42 int end, int bfsize); 237 int bfsize, u32 chan);
|
H A D | dwmac4_descs.c | 307 int mode, int end, int bfsize) in dwmac4_rd_init_rx_desc() argument
|
H A D | stmmac_main.c | 3858 int chan, bfsize, ret; in stmmac_setup_dma_desc() local 3867 bfsize = stmmac_set_16kib_bfsize(priv, mtu); in stmmac_setup_dma_desc() 3868 if (bfsize < 0) in stmmac_setup_dma_desc() 3869 bfsize = 0; in stmmac_setup_dma_desc() 3871 if (bfsize < BUF_SIZE_16KiB) in stmmac_setup_dma_desc() 3872 bfsize = stmmac_set_bfsize(mtu, 0); in stmmac_setup_dma_desc() 3874 dma_conf->dma_buf_sz = bfsize; in stmmac_setup_dma_desc()
|
/linux/tools/perf/util/ |
H A D | callchain.c | 1186 char *bf, size_t bfsize, bool show_dso) in callchain_list__sym_name() argument 1196 printed = scnprintf(bf, bfsize, "%s %s%s", in callchain_list__sym_name() 1200 printed = scnprintf(bf, bfsize, "%s%s", in callchain_list__sym_name() 1203 printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip); in callchain_list__sym_name() 1206 scnprintf(bf + printed, bfsize - printed, " %s", in callchain_list__sym_name() 1215 char *bf, size_t bfsize, u64 total) in callchain_node__scnprintf_value() argument 1228 scnprintf(bf, bfsize, "%"PRIu64, period); in callchain_node__scnprintf_value() 1231 scnprintf(bf, bfsize, "%u", count); in callchain_node__scnprintf_value() 1237 scnprintf(bf, bfsize, "%.2f%%", percent); in callchain_node__scnprintf_value() 1340 static int count_pri64_printf(int idx, const char *str, u64 value, char *bf, int bfsize) in count_pri64_printf() argument [all …]
|
H A D | callchain.h | 288 char *bf, size_t bfsize, bool show_dso); 290 char *bf, size_t bfsize, u64 total); 295 FILE *fp, char *bf, int bfsize);
|
H A D | branch.h | 91 int branch_type_str(const struct branch_type_stat *st, char *bf, int bfsize);
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_main.c | 465 unsigned int bfsize = 0; in init_rx_ring() local 469 bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); in init_rx_ring() 471 netif_dbg(priv, probe, dev, "%s: bfsize %d\n", __func__, bfsize); in init_rx_ring() 510 bfsize, rx_ring); in init_rx_ring() 518 priv->dma_buf_sz = bfsize; in init_rx_ring() 527 sxgbe_free_rx_buffers(dev, p, desc_index, bfsize, rx_ring); in init_rx_ring() 1440 int bfsize = priv->dma_buf_sz; in sxgbe_rx_refill() local 1453 skb = netdev_alloc_skb_ip_align(priv->dev, bfsize); in sxgbe_rx_refill() 1460 dma_map_single(priv->device, skb->data, bfsize, in sxgbe_rx_refill()
|
/linux/drivers/net/ethernet/calxeda/ |
H A 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()
|