Home
last modified time | relevance | path

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

1234

/linux-5.19.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-5.19.10/arch/alpha/lib/
Dcsum_partial_copy.c181 unsigned long doff, in csum_partial_cfu_src_aligned() argument
190 mskql(partial_dest, doff, partial_dest); in csum_partial_cfu_src_aligned()
195 insql(word, doff, second_dest); in csum_partial_cfu_src_aligned()
200 insqh(word, doff, partial_dest); in csum_partial_cfu_src_aligned()
212 insql(word, doff, second_dest); in csum_partial_cfu_src_aligned()
213 len += doff; in csum_partial_cfu_src_aligned()
220 insqh(word, doff, partial_dest); in csum_partial_cfu_src_aligned()
222 doff = len; in csum_partial_cfu_src_aligned()
225 mskqh(second_dest, doff, second_dest); in csum_partial_cfu_src_aligned()
239 unsigned long soff, unsigned long doff, in csum_partial_cfu_unaligned() argument
[all …]
/linux-5.19.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
148 result = lookup_reuseport(net, sk, skb, doff, in inet6_lhash2_lookup()
163 struct sk_buff *skb, int doff, in inet6_lookup_run_bpf() argument
180 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet6_lookup_run_bpf()
188 struct sk_buff *skb, int doff, in inet6_lookup_listener() argument
199 result = inet6_lookup_run_bpf(net, hashinfo, skb, doff, in inet6_lookup_listener()
208 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
218 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
[all …]
/linux-5.19.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.h214 struct sk_buff *skb, int doff,
222 struct sk_buff *skb, int doff, in inet_lookup_listener() argument
226 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in inet_lookup_listener()
294 struct sk_buff *skb, int doff, in __inet_lookup() argument
309 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, in __inet_lookup()
315 struct sk_buff *skb, int doff, in inet_lookup() argument
323 sk = __inet_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, in inet_lookup()
333 int doff, in __inet_lookup_skb() argument
346 doff, iph->saddr, sport, in __inet_lookup_skb()
/linux-5.19.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-5.19.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()
139 return nf_socket_get_sock_v6(net, data_skb, doff, tproto, saddr, daddr, in nf_sk_lookup_slow_v6()
/linux-5.19.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()
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c116 .tcp.doff = 5,
136 .tcp.doff = 5,
158 .tcp.doff = 5,
180 .tcp.doff = 5,
203 .tcp.doff = 5,
229 .tcp.doff = 5,
250 .tcp.doff = 5,
276 .tcp.doff = 5,
298 .tcp.doff = 5,
320 .tcp.doff = 5,
[all …]
Dkfree_skb.c45 if (CHECK(pkt_v6->tcp.doff != 5, "check_tcp", in on_sample()
46 "tcp.doff %x\n", pkt_v6->tcp.doff)) in on_sample()
/linux-5.19.10/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
569 doff = 0; in fsl_edma_prep_slave_sg()
574 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-5.19.10/net/ipv4/
Dinet_hashtables.c220 struct sk_buff *skb, int doff, in lookup_reuseport() argument
229 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in lookup_reuseport()
244 struct sk_buff *skb, int doff, in inet_lhash2_lookup() argument
256 result = lookup_reuseport(net, sk, skb, doff, in inet_lhash2_lookup()
271 struct sk_buff *skb, int doff, in inet_lookup_run_bpf() argument
286 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet_lookup_run_bpf()
294 struct sk_buff *skb, int doff, in __inet_lookup_listener() argument
305 result = inet_lookup_run_bpf(net, hashinfo, skb, doff, in __inet_lookup_listener()
314 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
324 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
Dtcp_ipv4.c701 rep.th.doff = sizeof(struct tcphdr) / 4; in tcp_v4_send_reset()
709 skb->len - (th->doff << 2)); in tcp_v4_send_reset()
774 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_reset()
788 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_reset()
882 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_ack()
897 rep.th.doff = arg.iov[0].iov_len/4; in tcp_v4_send_ack()
1344 if (tcp_v4_md5_hash_headers(hp, daddr, saddr, th, th->doff << 2)) in tcp_v4_md5_hash_hdr()
1390 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) in tcp_v4_md5_hash_skb()
1723 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v4_early_demux()
1784 hdrlen = th->doff * 4; in tcp_add_backlog()
[all …]
/linux-5.19.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()
37 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); in synproxy_parse_options()
197 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
477 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack()
523 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_syn()
563 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_ack()
601 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_ack()
890 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack_ipv6()
937 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()
/linux-5.19.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-5.19.10/tools/testing/selftests/bpf/progs/
Dtest_select_reuseport_kern.c120 if ((th->doff << 2) + sizeof(*cmd) > data_check.len) in _select_by_skb_data()
122 if (bpf_skb_load_bytes(reuse_md, th->doff << 2, &cmd_copy, in _select_by_skb_data()
/linux-5.19.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()
/linux-5.19.10/include/uapi/linux/
Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/linux-5.19.10/tools/include/uapi/linux/
Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/linux-5.19.10/include/net/netfilter/
Dnf_synproxy.h45 bool synproxy_parse_options(const struct sk_buff *skb, unsigned int doff,

1234