Home
last modified time | relevance | path

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

1234

/Linux-v5.10/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()
/Linux-v5.10/arch/alpha/lib/
Dcsum_partial_copy.c180 unsigned long doff, in csum_partial_cfu_src_aligned() argument
189 mskql(partial_dest, doff, partial_dest); in csum_partial_cfu_src_aligned()
194 insql(word, doff, second_dest); in csum_partial_cfu_src_aligned()
199 insqh(word, doff, partial_dest); in csum_partial_cfu_src_aligned()
211 insql(word, doff, second_dest); in csum_partial_cfu_src_aligned()
212 len += doff; in csum_partial_cfu_src_aligned()
219 insqh(word, doff, partial_dest); in csum_partial_cfu_src_aligned()
221 doff = len; in csum_partial_cfu_src_aligned()
224 mskqh(second_dest, doff, second_dest); in csum_partial_cfu_src_aligned()
238 unsigned long soff, unsigned long doff, in csum_partial_cfu_unaligned() argument
[all …]
/Linux-v5.10/net/ipv6/
Dinet6_hashtables.c117 struct sk_buff *skb, int doff, in lookup_reuseport() argument
128 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in lookup_reuseport()
136 struct sk_buff *skb, int doff, in inet6_lhash2_lookup() argument
149 result = lookup_reuseport(net, sk, skb, doff, in inet6_lhash2_lookup()
164 struct sk_buff *skb, int doff, in inet6_lookup_run_bpf() argument
181 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet6_lookup_run_bpf()
189 struct sk_buff *skb, int doff, in inet6_lookup_listener() argument
200 result = inet6_lookup_run_bpf(net, hashinfo, skb, doff, in inet6_lookup_listener()
209 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
219 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
[all …]
/Linux-v5.10/include/net/
Dinet6_hashtables.h53 struct sk_buff *skb, int doff,
62 struct sk_buff *skb, int doff, in __inet6_lookup() argument
77 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup()
82 struct sk_buff *skb, int doff, in __inet6_lookup_skb() argument
94 doff, &ipv6_hdr(skb)->saddr, sport, in __inet6_lookup_skb()
100 struct sk_buff *skb, int doff,
Dinet_hashtables.h259 struct sk_buff *skb, int doff,
267 struct sk_buff *skb, int doff, in inet_lookup_listener() argument
271 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in inet_lookup_listener()
344 struct sk_buff *skb, int doff, in __inet_lookup() argument
359 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, in __inet_lookup()
365 struct sk_buff *skb, int doff, in inet_lookup() argument
373 sk = __inet_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, in inet_lookup()
383 int doff, in __inet_lookup_skb() argument
396 doff, iph->saddr, sport, in __inet_lookup_skb()
/Linux-v5.10/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 …]
/Linux-v5.10/net/ipv6/netfilter/
Dnf_socket_ipv6.c78 nf_socket_get_sock_v6(struct net *net, struct sk_buff *skb, int doff, in nf_socket_get_sock_v6() argument
86 return inet6_lookup(net, &tcp_hashinfo, skb, doff, in nf_socket_get_sock_v6()
104 int doff = 0; in nf_sk_lookup_slow_v6() local
127 doff = tproto == IPPROTO_TCP ? in nf_sk_lookup_slow_v6()
141 return nf_socket_get_sock_v6(net, data_skb, doff, tproto, saddr, daddr, in nf_sk_lookup_slow_v6()
/Linux-v5.10/net/ipv4/netfilter/
Dnf_socket_ipv4.c66 nf_socket_get_sock_v4(struct net *net, struct sk_buff *skb, const int doff, in nf_socket_get_sock_v4() argument
74 return inet_lookup(net, &tcp_hashinfo, skb, doff, in nf_socket_get_sock_v4()
96 int doff = 0; in nf_sk_lookup_slow_v4() local
114 doff = iph->protocol == IPPROTO_TCP ? in nf_sk_lookup_slow_v4()
146 return nf_socket_get_sock_v4(net, data_skb, doff, protocol, saddr, in nf_sk_lookup_slow_v4()
Dnf_reject_ipv4.c79 tcph->doff = sizeof(struct tcphdr) / 4; in nf_reject_ip_tcphdr_put()
86 (oth->doff << 2)); in nf_reject_ip_tcphdr_put()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c115 .tcp.doff = 5,
135 .tcp.doff = 5,
157 .tcp.doff = 5,
179 .tcp.doff = 5,
202 .tcp.doff = 5,
228 .tcp.doff = 5,
249 .tcp.doff = 5,
275 .tcp.doff = 5,
297 .tcp.doff = 5,
319 .tcp.doff = 5,
[all …]
Dkfree_skb.c44 if (CHECK(pkt_v6->tcp.doff != 5, "check_tcp", in on_sample()
45 "tcp.doff %x\n", pkt_v6->tcp.doff)) in on_sample()
/Linux-v5.10/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()
/Linux-v5.10/net/netfilter/
Dxt_tcpmss.c41 if (th->doff*4 < sizeof(*th)) in tcpmss_mt()
44 optlen = th->doff*4 - sizeof(*th); in tcpmss_mt()
Dnf_synproxy_core.c28 synproxy_parse_options(const struct sk_buff *skb, unsigned int doff, in synproxy_parse_options() argument
31 int length = (th->doff * 4) - sizeof(*th); in synproxy_parse_options()
34 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); in synproxy_parse_options()
192 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
495 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack()
541 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_syn()
581 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_ack()
619 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_ack()
908 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack_ipv6()
955 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_syn_ipv6()
[all …]
Dxt_tcpudp.c108 if (th->doff * 4 < sizeof(_tcph)) { in tcp_mt()
113 th->doff*4 - sizeof(_tcph), in tcp_mt()
Dnf_log_common.c107 if ((logflags & NF_LOG_TCPOPT) && th->doff*4 > sizeof(struct tcphdr)) { in nf_log_dump_tcp_header()
111 unsigned int optsize = th->doff*4 - sizeof(struct tcphdr); in nf_log_dump_tcp_header()
/Linux-v5.10/net/ipv4/
Dinet_hashtables.c254 struct sk_buff *skb, int doff, in lookup_reuseport() argument
263 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in lookup_reuseport()
278 struct sk_buff *skb, int doff, in inet_lhash2_lookup() argument
291 result = lookup_reuseport(net, sk, skb, doff, in inet_lhash2_lookup()
306 struct sk_buff *skb, int doff, in inet_lookup_run_bpf() argument
321 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet_lookup_run_bpf()
329 struct sk_buff *skb, int doff, in __inet_lookup_listener() argument
340 result = inet_lookup_run_bpf(net, hashinfo, skb, doff, in __inet_lookup_listener()
349 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
359 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
/Linux-v5.10/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()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_select_reuseport_kern.c122 if ((th->doff << 2) + sizeof(*cmd) > data_check.len) in _select_by_skb_data()
124 if (bpf_skb_load_bytes(reuse_md, th->doff << 2, &cmd_copy, in _select_by_skb_data()
/Linux-v5.10/include/uapi/linux/
Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/Linux-v5.10/tools/testing/selftests/bpf/
Dnetwork_helpers.c32 .tcp.doff = 5,
40 .tcp.doff = 5,
/Linux-v5.10/include/linux/
Dtcp.h31 return th->doff * 4; in __tcp_hdrlen()
46 return inner_tcp_hdr(skb)->doff * 4; in inner_tcp_hdrlen()
51 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()

1234