/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_spi.c | 120 u32 frag_size = (tr_size > sizeof(spi->regs->data)) ? in netup_spi_transfer() local 126 frag_offset + frag_size == t->len) { in netup_spi_transfer() 132 frag_size); in netup_spi_transfer() 135 0, frag_size); in netup_spi_transfer() 138 writew((frag_size & 0x3ff) | in netup_spi_transfer() 152 spi->regs->data, frag_size); in netup_spi_transfer() 167 tr_size -= frag_size; in netup_spi_transfer() 168 msg->actual_length += frag_size; in netup_spi_transfer()
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 203 txb->frag_size = txb_size; in libipw_alloc_txb() 260 int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size, in libipw_xmit() local 385 frag_size = MAX_FRAG_THRESHOLD; in libipw_xmit() 387 frag_size = ieee->fts; in libipw_xmit() 393 bytes_per_frag = frag_size - hdr_len; in libipw_xmit() 415 frag_size = bytes + hdr_len; in libipw_xmit() 418 rts_required = (frag_size > ieee->rts in libipw_xmit() 426 txb = libipw_alloc_txb(nr_frags, frag_size, in libipw_xmit() 435 txb->payload_size = frag_size * (nr_frags - 1) + in libipw_xmit()
|
D | libipw.h | 495 u16 frag_size; member
|
D | ipw2100.c | 3143 packet->info.d_struct.txb->frag_size - in ipw2100_tx_send_data()
|
/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 72 u16 frag_size; /* frag size used by PSM */ member 357 if ((pkt->payload_size + newlen) >= pkt->frag_size) { in qib_user_sdma_page_to_frags() 358 newlen = pkt->frag_size - pkt->payload_size; in qib_user_sdma_page_to_frags() 770 if (pkt->frag_size == pkt->bytes_togo && in qib_user_sdma_init_payload() 824 u16 frag_size; in qib_user_sdma_queue_pkts() local 908 frag_size = ((le32_to_cpu(*pbc))>>16) & 0xFFFF; in qib_user_sdma_queue_pkts() 909 if (((frag_size ? frag_size : bytes_togo) + len) > in qib_user_sdma_queue_pkts() 915 if (frag_size) { in qib_user_sdma_queue_pkts() 918 n = npages*((2*PAGE_SIZE/frag_size)+1); in qib_user_sdma_queue_pkts() 944 pkt->frag_size = frag_size; in qib_user_sdma_queue_pkts() [all …]
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 253 txb->frag_size = txb_size; in ieee80211_alloc_txb() 602 int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size; in ieee80211_xmit() local 703 frag_size = MAX_FRAG_THRESHOLD; in ieee80211_xmit() 707 frag_size = ieee->fts;//default:392 in ieee80211_xmit() 726 bytes_per_frag = frag_size - hdr_len; in ieee80211_xmit() 748 txb = ieee80211_alloc_txb(nr_frags, frag_size + ieee->tx_headroom, GFP_ATOMIC); in ieee80211_xmit()
|
D | ieee80211.h | 1026 __le16 frag_size; member
|
/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 231 txb->frag_size = cpu_to_le16(txb_size); in rtllib_alloc_txb() 570 int i, bytes_per_frag, nr_frags, bytes_last_frag, frag_size; in rtllib_xmit_inter() local 724 frag_size = MAX_FRAG_THRESHOLD; in rtllib_xmit_inter() 727 frag_size = ieee->fts; in rtllib_xmit_inter() 753 bytes_per_frag = frag_size - hdr_len; in rtllib_xmit_inter() 781 txb = rtllib_alloc_txb(nr_frags, frag_size + in rtllib_xmit_inter()
|
D | rtllib.h | 916 __le16 frag_size; member
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 69 ((PAGE_SIZE << order) < frag_info->frag_size)) in mlx4_alloc_pages() 221 cpu_to_be32(priv->frag_info[i].frag_size); in mlx4_en_init_rx_desc() 567 dma_sync_single_for_cpu(priv->ddev, dma, frag_info->frag_size, in mlx4_en_complete_rx_desc() 572 skb_frag_size_set(&skb_frags_rx[nr], frag_info->frag_size); in mlx4_en_complete_rx_desc() 1121 priv->frag_info[i].frag_size = in mlx4_en_calc_rx_buf() 1126 ALIGN(priv->frag_info[i].frag_size, in mlx4_en_calc_rx_buf() 1128 buf_size += priv->frag_info[i].frag_size; in mlx4_en_calc_rx_buf() 1142 priv->frag_info[i].frag_size, in mlx4_en_calc_rx_buf()
|
D | mlx4_en.h | 456 u16 frag_size; member
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_io.c | 1560 int frag_size, sg_frags; in bnx2fc_split_bd() local 1565 frag_size = BNX2FC_BD_SPLIT_SZ; in bnx2fc_split_bd() 1567 frag_size = sg_len; in bnx2fc_split_bd() 1570 bd[bd_index + sg_frags].buf_len = (u16)frag_size; in bnx2fc_split_bd() 1573 addr += (u64) frag_size; in bnx2fc_split_bd() 1575 sg_len -= frag_size; in bnx2fc_split_bd()
|
/drivers/net/ethernet/marvell/ |
D | mvneta.c | 353 unsigned int frag_size; member 1423 if (likely(pp->frag_size <= PAGE_SIZE)) in mvneta_frag_alloc() 1424 return netdev_alloc_frag(pp->frag_size); in mvneta_frag_alloc() 1426 return kmalloc(pp->frag_size, GFP_ATOMIC); in mvneta_frag_alloc() 1431 if (likely(pp->frag_size <= PAGE_SIZE)) in mvneta_frag_free() 1588 skb = build_skb(data, pp->frag_size > PAGE_SIZE ? 0 : pp->frag_size); in mvneta_rx() 2556 pp->frag_size = SKB_DATA_ALIGN(MVNETA_RX_BUF_SIZE(pp->pkt_size)) + in mvneta_change_mtu() 2848 pp->frag_size = SKB_DATA_ALIGN(MVNETA_RX_BUF_SIZE(pp->pkt_size)) + in mvneta_open()
|
/drivers/nfc/ |
D | pn533.c | 2582 int frag_size; in pn533_fill_fragment_skbs() local 2587 frag_size = PN533_CMD_DATAFRAME_MAXLEN; in pn533_fill_fragment_skbs() 2589 frag_size = skb->len; in pn533_fill_fragment_skbs() 2592 frag = pn533_alloc_skb(dev, frag_size); in pn533_fill_fragment_skbs() 2603 if (frag_size == PN533_CMD_DATAFRAME_MAXLEN) in pn533_fill_fragment_skbs() 2610 memcpy(skb_put(frag, frag_size), skb->data, frag_size); in pn533_fill_fragment_skbs() 2613 skb_pull(skb, frag_size); in pn533_fill_fragment_skbs()
|
/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 2206 u32 frag_size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in nv_start_xmit() local 2208 entries += (frag_size >> NV_TX2_TSO_MAX_SHIFT) + in nv_start_xmit() 2209 ((frag_size & (NV_TX2_TSO_MAX_SIZE-1)) ? 1 : 0); in nv_start_xmit() 2257 u32 frag_size = skb_frag_size(frag); in nv_start_xmit() local 2266 bcnt = (frag_size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : frag_size; in nv_start_xmit() 2294 frag_size -= bcnt; in nv_start_xmit() 2299 } while (frag_size); in nv_start_xmit() 2354 u32 frag_size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in nv_start_xmit_optimized() local 2356 entries += (frag_size >> NV_TX2_TSO_MAX_SHIFT) + in nv_start_xmit_optimized() 2357 ((frag_size & (NV_TX2_TSO_MAX_SIZE-1)) ? 1 : 0); in nv_start_xmit_optimized() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 603 u32 i, frag_len, frag_size; in bnx2x_fill_frag_skb() local 608 frag_size = le16_to_cpu(cqe->pkt_len) - len_on_bd; in bnx2x_fill_frag_skb() 616 if (frag_size) in bnx2x_fill_frag_skb() 638 frag_len = min_t(u32, frag_size, (u32)full_page); in bnx2x_fill_frag_skb() 640 frag_len = min_t(u32, frag_size, (u32)SGE_PAGES); in bnx2x_fill_frag_skb() 679 frag_size -= frag_len; in bnx2x_fill_frag_skb() 970 u16 frag_size, pages; in bnx2x_rx_int() local 998 frag_size = le16_to_cpu(cqe->end_agg_cqe.pkt_len) - in bnx2x_rx_int() 1002 pages = (frag_size + tpa_info->full_page - 1) / in bnx2x_rx_int() 1005 pages = SGE_PAGE_ALIGN(frag_size) >> in bnx2x_rx_int()
|
/drivers/staging/rtl8712/ |
D | ieee80211.h | 623 u16 frag_size; member
|
/drivers/net/ |
D | virtio_net.c | 314 unsigned int frag_size = min((unsigned)PAGE_SIZE - offset, len); in page_to_skb() local 316 frag_size, truesize); in page_to_skb() 317 len -= frag_size; in page_to_skb()
|
/drivers/net/ethernet/synopsys/ |
D | dwc_eth_qos.c | 2085 size_t frag_size; in dwceqos_tx_frags() local 2098 frag_size = skb_frag_size(frag); in dwceqos_tx_frags() 2100 while (consumed_size < frag_size) { in dwceqos_tx_frags() 2102 frag_size - consumed_size); in dwceqos_tx_frags()
|
/drivers/staging/rtl8188eu/include/ |
D | ieee80211.h | 777 u16 frag_size; member
|
/drivers/net/ethernet/cadence/ |
D | macb.c | 1295 unsigned int count, nr_frags, frag_size, f; in macb_start_xmit() local 1313 frag_size = skb_frag_size(&skb_shinfo(skb)->frags[f]); in macb_start_xmit() 1314 count += DIV_ROUND_UP(frag_size, bp->max_tx_length); in macb_start_xmit()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 565 u8 frag_size; member 2294 u16 cq_id, u16 frag_size, u32 if_id, u32 rss, u8 *rss_id);
|
D | be_cmds.c | 1346 struct be_queue_info *rxq, u16 cq_id, u16 frag_size, in be_cmd_rxq_create() argument 1367 req->frag_size = fls(frag_size) - 1; in be_cmd_rxq_create()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 6654 unsigned int *frag_size) in tg3_alloc_rx_data() argument 6691 *frag_size = skb_size; in tg3_alloc_rx_data() 6694 *frag_size = 0; in tg3_alloc_rx_data() 6863 unsigned int frag_size; in tg3_rx() local 6866 *post_ptr, &frag_size); in tg3_rx() 6880 skb = build_skb(data, frag_size); in tg3_rx() 6882 tg3_frag_free(frag_size != 0, data); in tg3_rx() 8404 unsigned int frag_size; in tg3_rx_prodring_alloc() local 8407 &frag_size) < 0) { in tg3_rx_prodring_alloc() 8439 unsigned int frag_size; in tg3_rx_prodring_alloc() local [all …]
|
D | bnx2.c | 3062 unsigned int i, frag_len, frag_size, pages; in bnx2_rx_skb() local 3067 frag_size = len + 4 - hdr_len; in bnx2_rx_skb() 3068 pages = PAGE_ALIGN(frag_size) >> PAGE_SHIFT; in bnx2_rx_skb() 3074 frag_len = min(frag_size, (unsigned int) PAGE_SIZE); in bnx2_rx_skb() 3119 frag_size -= frag_len; in bnx2_rx_skb()
|