/drivers/net/slip/ |
D | slhc.c | 268 if (th->doff < sizeof(struct tcphdr) / 4) in slhc_compress() 270 hlen = nlen + th->doff * 4; in slhc_compress() 357 || th->doff != cs->cs_tcp.doff in slhc_compress() 359 || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4) != 0)){ in slhc_compress() 480 if (th->doff > 5) in slhc_compress() 481 memcpy(cs->cs_tcpopt, th+1, ((th->doff) - 5) * 4); in slhc_compress() 547 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress() 631 if (thp->doff > 5) { in slhc_uncompress() 632 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); in slhc_uncompress() 633 cp += ((thp->doff) - 5) * 4; in slhc_uncompress() [all …]
|
/drivers/dma/ |
D | fsl-edma-common.c | 446 edma_write_tcdreg(fsl_chan, tcd->doff, doff); in fsl_edma_set_tcd_regs() 476 u16 biter, u16 doff, u32 dlast_sga, bool major_int, in fsl_edma_fill_tcd() argument 515 tcd->doff = cpu_to_le16(doff); in fsl_edma_fill_tcd() 577 u16 soff, doff, iter; in fsl_edma_prep_dma_cyclic() local 618 doff = fsl_chan->is_multi_fifo ? 4 : 0; in fsl_edma_prep_dma_cyclic() 623 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_dma_cyclic() 628 soff = doff = 0; in fsl_edma_prep_dma_cyclic() 634 iter, doff, last_sg, major_int, false, true); in fsl_edma_prep_dma_cyclic() 650 u16 soff, doff, iter; in fsl_edma_prep_slave_sg() local 682 doff = 0; in fsl_edma_prep_slave_sg() [all …]
|
D | mpc512x_dma.c | 153 u32 doff:16; /* Signed destination address offset */ member 636 tcd->doff = 32; in mpc_dma_prep_memcpy() 642 tcd->doff = 16; in mpc_dma_prep_memcpy() 647 tcd->doff = 4; in mpc_dma_prep_memcpy() 652 tcd->doff = 2; in mpc_dma_prep_memcpy() 657 tcd->doff = 1; in mpc_dma_prep_memcpy() 749 tcd->doff = mchan->dwidth; in mpc_dma_prep_slave_sg() 758 tcd->doff = 0; in mpc_dma_prep_slave_sg()
|
D | fsl-edma-common.h | 84 __le16 doff; member
|
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gf100.c | 98 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument 101 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div() 112 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div() 115 if (doff <= 2) { in read_div() 116 sctl = nvkm_rd32(device, dctl + (doff * 4)); in read_div()
|
D | gk104.c | 106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument 109 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div() 110 u32 sctl = nvkm_rd32(device, dctl + (doff * 4)); in read_div() 121 u32 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div() 126 return read_vco(clk, dsrc + (doff * 4)); in read_div()
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | nv50.c | 244 const u32 doff = nv50_ior_base(dac); in nv50_dac_clock() local 246 nvkm_mask(device, 0x614280 + doff, 0x07070707, 0x00000000); in nv50_dac_clock() 253 const u32 doff = nv50_ior_base(dac); in nv50_dac_sense() local 257 nvkm_wr32(device, 0x61a00c + doff, 0x00100000 | loadval); in nv50_dac_sense() 260 loadval = nvkm_mask(device, 0x61a00c + doff, 0xffffffff, 0x00000000); in nv50_dac_sense() 270 nv50_dac_power_wait(struct nvkm_device *device, const u32 doff) in nv50_dac_power_wait() argument 273 if (!(nvkm_rd32(device, 0x61a004 + doff) & 0x80000000)) in nv50_dac_power_wait() 282 const u32 doff = nv50_ior_base(dac); in nv50_dac_power() local 290 nv50_dac_power_wait(device, doff); in nv50_dac_power() 291 nvkm_mask(device, 0x61a004 + doff, field, state); in nv50_dac_power() [all …]
|
D | gf119.c | 354 const u32 doff = nv50_ior_base(dac); in gf119_dac_clock() local 355 nvkm_mask(device, 0x612280 + doff, 0x07070707, 0x00000000); in gf119_dac_clock()
|
/drivers/net/ethernet/sfc/ |
D | tx_tso.c | 162 (tcp_hdr(skb)->doff << 2u)) > in efx_tso_check_protocol() 179 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start()
|
D | tx_common.c | 341 (inner_tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length() 344 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
|
/drivers/net/ethernet/sfc/siena/ |
D | tx_common.c | 322 (inner_tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length() 325 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | sdio.c | 1521 u8 doff; in brcmf_sdio_rxglom() local 1691 doff = brcmf_sdio_getdatoffset(&dptr[SDPCM_HWHDR_LEN]); in brcmf_sdio_rxglom() 1698 skb_pull(pfirst, doff); in brcmf_sdio_rxglom() 1756 brcmf_sdio_read_control(struct brcmf_sdio *bus, u8 *hdr, uint len, uint doff) in brcmf_sdio_read_control() argument 1797 if ((len - doff) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdio_read_control() 1799 len, len - doff, bus->sdiodev->bus_if->maxctl); in brcmf_sdio_read_control() 1832 bus->rxctl = buf + doff; in brcmf_sdio_read_control() 1834 bus->rxlen = len - doff; in brcmf_sdio_read_control() 2397 u8 doff; in brcmf_sdio_tx_ctrlframe() local 2410 doff = ((unsigned long)frame % bus->head_align); in brcmf_sdio_tx_ctrlframe() [all …]
|
/drivers/md/ |
D | md-bitmap.c | 236 sector_t doff; in __write_sb_page() local 250 doff = rdev->data_offset; in __write_sb_page() 255 if (sboff + ps > doff && in __write_sb_page() 256 sboff < (doff + mddev->dev_sectors + PAGE_SIZE / SECTOR_SIZE)) in __write_sb_page() 265 if (doff + mddev->dev_sectors > sboff) in __write_sb_page() 270 size = bitmap_io_size(size, opt_size, sboff + ps, doff); in __write_sb_page()
|
/drivers/crypto/ |
D | hifn_795x.c | 1327 unsigned int soff, doff; in hifn_setup_dma() local 1348 doff = 0; in hifn_setup_dma() 1353 doff = dst->offset; in hifn_setup_dma() 1358 hifn_setup_dst_desc(dev, dpage, doff, len, n - len == 0); in hifn_setup_dma()
|
/drivers/infiniband/hw/irdma/ |
D | cm.c | 376 tcph->doff = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_ah_cm_frame() 377 sqbuf->tcphlen = tcph->doff << 2; in irdma_form_ah_cm_frame() 564 tcph->doff = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_uda_cm_frame() 565 sqbuf->tcphlen = tcph->doff << 2; in irdma_form_uda_cm_frame() 2682 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_syn_pkt() 2748 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_synack_pkt() 2822 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_ack_pkt()
|
D | utils.c | 1599 buf->tcphlen = tcph->doff << 2; in irdma_gen1_puda_get_tcpip_info() 1638 buf->tcphlen = tcph->doff << 2; in irdma_puda_get_tcpip_info()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 1325 length = (th->doff << 2) + lro_length; in qlcnic_process_lro() 1330 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; in qlcnic_process_lro() 1847 length = (th->doff << 2) + lro_length; in qlcnic_83xx_process_lro() 1852 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; in qlcnic_83xx_process_lro()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 1944 *hdr_len = (u8)((l4.tcp->doff * 4) + l4_offset); in iavf_tso() 2104 offset |= l4.tcp->doff << IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT; in iavf_tx_enable_csum()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1910 l4_len = l4.tcp->doff; in ice_tx_csum() 2070 off->header_len = (u8)((l4.tcp->doff * 4) + l4_start); in ice_tso()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 241 *l4_len = l4->tcp->doff * 4; in get_inner_l4_info()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 767 hdrlen = (th - skb->data) + (((struct tcphdr *)th)->doff << 2); in fm10k_tso()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 3224 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso() 3446 offset |= l4.tcp->doff << I40E_TX_DESC_LENGTH_L4_FC_LEN_SHIFT; in i40e_tx_enable_csum()
|
/drivers/net/ethernet/neterion/ |
D | s2io.c | 8215 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length() 8236 if (tcp->doff == 8) { in initiate_new_session() 8332 if (tcp->doff != 5 && tcp->doff != 8) in verify_l3_l4_lro_capable() 8335 if (tcp->doff == 8) { in verify_l3_l4_lro_capable()
|
/drivers/net/wireless/microchip/wilc1000/ |
D | wlan.c | 166 data_offset = tcp_hdr_ptr->doff << 2; in tcp_process()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 1191 check = csum_partial(tcp, tcp->doff * 4, in mlx5e_lro_update_hdr() 1208 check = csum_partial(tcp, tcp->doff * 4, in mlx5e_lro_update_hdr()
|