Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddacnv50.c32 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 …]
Ddacgf119.c28 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/
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.c371 edma_writew(edma, (s16)tcd->doff, &regs->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 …]
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/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.c323 (inner_tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
326 (tcp_hdr(skb)->doff << 2u); in efx_tx_tso_header_length()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1520 u8 doff; in brcmf_sdio_rxglom() local
1690 doff = brcmf_sdio_getdatoffset(&dptr[SDPCM_HWHDR_LEN]); in brcmf_sdio_rxglom()
1697 skb_pull(pfirst, doff); in brcmf_sdio_rxglom()
1755 brcmf_sdio_read_control(struct brcmf_sdio *bus, u8 *hdr, uint len, uint doff) in brcmf_sdio_read_control() argument
1796 if ((len - doff) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdio_read_control()
1798 len, len - doff, bus->sdiodev->bus_if->maxctl); in brcmf_sdio_read_control()
1831 bus->rxctl = buf + doff; in brcmf_sdio_read_control()
1833 bus->rxlen = len - doff; in brcmf_sdio_read_control()
2396 u8 doff; in brcmf_sdio_tx_ctrlframe() local
2409 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()
2632 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_syn_pkt()
2698 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_synack_pkt()
2772 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); in irdma_handle_ack_pkt()
Dutils.c1589 buf->tcphlen = tcph->doff << 2; in irdma_gen1_puda_get_tcpip_info()
1629 buf->tcphlen = tcph->doff << 2; in irdma_puda_get_tcpip_info()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1324 length = (th->doff << 2) + lro_length; in qlcnic_process_lro()
1329 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; in qlcnic_process_lro()
1848 length = (th->doff << 2) + lro_length; in qlcnic_83xx_process_lro()
1853 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; in qlcnic_83xx_process_lro()
/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/intel/ice/
Dice_txrx.c1806 l4_len = l4.tcp->doff; in ice_tx_csum()
1959 off->header_len = (u8)((l4.tcp->doff * 4) + l4_start); in ice_tso()
/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1922 *hdr_len = (u8)((l4.tcp->doff * 4) + l4_offset); in iavf_tso()
2082 offset |= l4.tcp->doff << IAVF_TX_DESC_LENGTH_L4_FC_LEN_SHIFT; in iavf_tx_enable_csum()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c820 check = csum_partial(tcp, tcp->doff * 4, in mlx5e_lro_update_hdr()
837 check = csum_partial(tcp, tcp->doff * 4, in mlx5e_lro_update_hdr()
/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c240 *l4_len = l4->tcp->doff * 4; in get_inner_l4_info()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3095 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso()
3302 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/neterion/
Ds2io.c8232 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length()
8253 if (tcp->doff == 8) { in initiate_new_session()
8349 if (tcp->doff != 5 && tcp->doff != 8) in verify_l3_l4_lro_capable()
8352 if (tcp->doff == 8) { in verify_l3_l4_lro_capable()
/drivers/net/wireless/microchip/wilc1000/
Dwlan.c164 data_offset = tcp_hdr_ptr->doff << 2; in tcp_process()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1623 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; in netxen_process_lro()
/drivers/net/ethernet/ibm/
Dibmveth.c1249 hdr_len = offset + tcph->doff * 4; in ibmveth_rx_mss_helper()

12