/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dacnv50.c | 32 const u32 doff = nv50_ior_base(dac); in nv50_dac_clock() local 33 nvkm_mask(device, 0x614280 + doff, 0x07070707, 0x00000000); in nv50_dac_clock() 40 const u32 doff = nv50_ior_base(dac); in nv50_dac_sense() local 44 nvkm_wr32(device, 0x61a00c + doff, 0x00100000 | loadval); in nv50_dac_sense() 47 loadval = nvkm_mask(device, 0x61a00c + doff, 0xffffffff, 0x00000000); in nv50_dac_sense() 57 nv50_dac_power_wait(struct nvkm_device *device, const u32 doff) in nv50_dac_power_wait() argument 60 if (!(nvkm_rd32(device, 0x61a004 + doff) & 0x80000000)) in nv50_dac_power_wait() 70 const u32 doff = nv50_ior_base(dac); in nv50_dac_power() local 78 nv50_dac_power_wait(device, doff); in nv50_dac_power() 79 nvkm_mask(device, 0x61a004 + doff, field, state); in nv50_dac_power() [all …]
|
D | dacgf119.c | 28 const u32 doff = nv50_ior_base(dac); in gf119_dac_clock() local 29 nvkm_mask(device, 0x612280 + doff, 0x07070707, 0x00000000); in gf119_dac_clock()
|
/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 | 371 edma_writew(edma, (s16)tcd->doff, ®s->tcd[ch].doff); in fsl_edma_set_tcd_regs() 382 u16 biter, u16 doff, u32 dlast_sga, bool major_int, in fsl_edma_fill_tcd() argument 404 tcd->doff = cpu_to_le16(doff); in fsl_edma_fill_tcd() 459 u16 soff, doff, iter; in fsl_edma_prep_dma_cyclic() local 500 doff = 0; in fsl_edma_prep_dma_cyclic() 505 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_dma_cyclic() 510 iter, doff, last_sg, true, false, true); in fsl_edma_prep_dma_cyclic() 527 u16 soff, doff, iter; in fsl_edma_prep_slave_sg() local 562 doff = 0; in fsl_edma_prep_slave_sg() 567 doff = fsl_chan->cfg.src_addr_width; 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 | 77 __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/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 | 321 (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/ |
D | sdio.c | 1510 u8 doff; in brcmf_sdio_rxglom() local 1680 doff = brcmf_sdio_getdatoffset(&dptr[SDPCM_HWHDR_LEN]); in brcmf_sdio_rxglom() 1687 skb_pull(pfirst, doff); in brcmf_sdio_rxglom() 1745 brcmf_sdio_read_control(struct brcmf_sdio *bus, u8 *hdr, uint len, uint doff) in brcmf_sdio_read_control() argument 1786 if ((len - doff) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdio_read_control() 1788 len, len - doff, bus->sdiodev->bus_if->maxctl); in brcmf_sdio_read_control() 1821 bus->rxctl = buf + doff; in brcmf_sdio_read_control() 1823 bus->rxlen = len - doff; in brcmf_sdio_read_control() 2386 u8 doff; in brcmf_sdio_tx_ctrlframe() local 2399 doff = ((unsigned long)frame % bus->head_align); in brcmf_sdio_tx_ctrlframe() [all …]
|
/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/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 1324 length = (th->doff << 2) + lro_length; in qlcnic_process_lro() 1329 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/infiniband/hw/i40iw/ |
D | i40iw_cm.c | 516 tcph->doff = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in i40iw_form_cm_frame() 517 sqbuf->tcphlen = tcph->doff << 2; in i40iw_form_cm_frame() 2587 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in i40iw_handle_syn_pkt() 2655 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in i40iw_handle_synack_pkt() 2730 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in i40iw_handle_ack_pkt()
|
D | i40iw_utils.c | 1454 buf->tcphlen = (tcph->doff) << 2; in i40iw_puda_get_tcpip_info()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 1929 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in iavf_tso() 2088 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 | 2029 l4_len = l4.tcp->doff; in ice_tx_csum() 2182 off->header_len = (u8)((l4.tcp->doff * 4) + l4_start); in ice_tso()
|
/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx.c | 1704 len + tcph->doff * 4, in iwl_compute_pseudo_hdr_csum() 1711 len + tcph->doff * 4, in iwl_compute_pseudo_hdr_csum()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 818 check = csum_partial(tcp, tcp->doff * 4, in mlx5e_lro_update_hdr() 835 check = csum_partial(tcp, tcp->doff * 4, in mlx5e_lro_update_hdr()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 240 *l4_len = l4->tcp->doff * 4; in get_inner_l4_info()
|
/drivers/net/wireless/microchip/wilc1000/ |
D | wlan.c | 160 data_offset = tcp_hdr_ptr->doff << 2; in tcp_process()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2988 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso() 3195 offset |= l4.tcp->doff << I40E_TX_DESC_LENGTH_L4_FC_LEN_SHIFT; in i40e_tx_enable_csum()
|
/drivers/net/ethernet/neterion/ |
D | s2io.c | 8221 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length() 8242 if (tcp->doff == 8) { in initiate_new_session() 8338 if (tcp->doff != 5 && tcp->doff != 8) in verify_l3_l4_lro_capable() 8341 if (tcp->doff == 8) { in verify_l3_l4_lro_capable()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 772 hdrlen = (th - skb->data) + (((struct tcphdr *)th)->doff << 2); in fm10k_tso()
|
/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1249 hdr_len = offset + tcph->doff * 4; in ibmveth_rx_mss_helper()
|