Home
last modified time | relevance | path

Searched refs:doff (Results 1 – 25 of 43) sorted by relevance

12

/drivers/net/slip/
Dslhc.c268 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/
Dfsl-edma-common.c372 edma_writew(edma, (s16)tcd->doff, &regs->tcd[ch].doff); in fsl_edma_set_tcd_regs()
389 u16 biter, u16 doff, u32 dlast_sga, bool major_int, in fsl_edma_fill_tcd() argument
411 tcd->doff = cpu_to_le16(doff); in fsl_edma_fill_tcd()
466 u16 soff, doff, iter; in fsl_edma_prep_dma_cyclic() local
507 doff = 0; in fsl_edma_prep_dma_cyclic()
512 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_dma_cyclic()
517 iter, doff, last_sg, true, false, true); in fsl_edma_prep_dma_cyclic()
534 u16 soff, doff, iter; in fsl_edma_prep_slave_sg() local
566 doff = 0; in fsl_edma_prep_slave_sg()
571 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_slave_sg()
[all …]
Dmpc512x_dma.c153 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()
Dfsl-edma-common.h77 __le16 doff; member
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgf100.c98 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()
Dgk104.c106 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/
Dnv50.c244 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 …]
Dgf119.c333 const u32 doff = nv50_ior_base(dac); in gf119_dac_clock() local
334 nvkm_mask(device, 0x612280 + doff, 0x07070707, 0x00000000); in gf119_dac_clock()
/drivers/net/ethernet/sfc/
Dtx_tso.c162 (tcp_hdr(skb)->doff << 2u)) > in efx_tso_check_protocol()
179 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start()
Dtx_common.c340 (inner_tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
343 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/drivers/net/ethernet/sfc/siena/
Dtx_common.c321 (inner_tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
324 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1523 u8 doff; in brcmf_sdio_rxglom() local
1693 doff = brcmf_sdio_getdatoffset(&dptr[SDPCM_HWHDR_LEN]); in brcmf_sdio_rxglom()
1700 skb_pull(pfirst, doff); in brcmf_sdio_rxglom()
1758 brcmf_sdio_read_control(struct brcmf_sdio *bus, u8 *hdr, uint len, uint doff) in brcmf_sdio_read_control() argument
1799 if ((len - doff) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdio_read_control()
1801 len, len - doff, bus->sdiodev->bus_if->maxctl); in brcmf_sdio_read_control()
1834 bus->rxctl = buf + doff; in brcmf_sdio_read_control()
1836 bus->rxlen = len - doff; in brcmf_sdio_read_control()
2399 u8 doff; in brcmf_sdio_tx_ctrlframe() local
2412 doff = ((unsigned long)frame % bus->head_align); in brcmf_sdio_tx_ctrlframe()
[all …]
/drivers/infiniband/hw/irdma/
Dcm.c376 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()
2635 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_syn_pkt()
2701 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_synack_pkt()
2775 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_ack_pkt()
Dutils.c1574 buf->tcphlen = tcph->doff << 2; in irdma_gen1_puda_get_tcpip_info()
1613 buf->tcphlen = tcph->doff << 2; in irdma_puda_get_tcpip_info()
/drivers/crypto/
Dhifn_795x.c1327 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/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1325 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/
Diavf_txrx.c1943 *hdr_len = (u8)((l4.tcp->doff * 4) + l4_offset); in iavf_tso()
2103 offset |= l4.tcp->doff << IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT; in iavf_tx_enable_csum()
/drivers/net/ethernet/intel/ice/
Dice_txrx.c1890 l4_len = l4.tcp->doff; in ice_tx_csum()
2053 off->header_len = (u8)((l4.tcp->doff * 4) + l4_start); in ice_tso()
/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c241 *l4_len = l4->tcp->doff * 4; in get_inner_l4_info()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3104 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso()
3326 offset |= l4.tcp->doff << I40E_TX_DESC_LENGTH_L4_FC_LEN_SHIFT; in i40e_tx_enable_csum()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c767 hdrlen = (th - skb->data) + (((struct tcphdr *)th)->doff << 2); in fm10k_tso()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1047 check = csum_partial(tcp, tcp->doff * 4, in mlx5e_lro_update_hdr()
1064 check = csum_partial(tcp, tcp->doff * 4, in mlx5e_lro_update_hdr()
/drivers/net/ethernet/neterion/
Ds2io.c8222 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length()
8243 if (tcp->doff == 8) { in initiate_new_session()
8339 if (tcp->doff != 5 && tcp->doff != 8) in verify_l3_l4_lro_capable()
8342 if (tcp->doff == 8) { in verify_l3_l4_lro_capable()
/drivers/net/wireless/microchip/wilc1000/
Dwlan.c166 data_offset = tcp_hdr_ptr->doff << 2; in tcp_process()
/drivers/net/ethernet/ibm/
Dibmveth.c1260 hdr_len = offset + tcph->doff * 4; in ibmveth_rx_mss_helper()

12