Home
last modified time | relevance | path

Searched +full:4 +full:th (Results 1 – 25 of 652) sorted by relevance

12345678910>>...27

/linux/drivers/gpu/drm/exynos/
H A Dregs-fimc.h30 /* Y 4th frame start address for output DMA */
38 /* Cb 4th frame start address for output DMA */
46 /* Cr 4th frame start address for output DMA */
120 /* Y 5th frame start address for output DMA */
122 /* Y 6th frame start address for output DMA */
124 /* Y 7th frame start address for output DMA */
126 /* Y 8th frame start address for output DMA */
128 /* Y 9th frame start address for output DMA */
130 /* Y 10th frame start address for output DMA */
132 /* Y 11th frame start address for output DMA */
[all …]
/linux/net/netfilter/
H A Dnf_synproxy_core.c29 const struct tcphdr *th, struct synproxy_options *opts) 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()
79 opts->tsecr = get_unaligned_be32(ptr + 4); in synproxy_parse_options()
115 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) in synproxy_build_options() argument
117 __be32 *ptr = (__be32 *)(th + 1); in synproxy_build_options()
165 opts->tsval |= 1 << 4; in synproxy_init_timestamp_cookie()
179 opts->options |= opts->tsecr & (1 << 4) ? NF_SYNPROXY_OPT_SACK_PERM : 0; in synproxy_check_timestamp_cookie()
186 struct tcphdr *th, struct nf_conn *ct, in synproxy_tstamp_adjust() argument
197 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
[all …]
H A Dxt_tcpmss.c28 const struct tcphdr *th; in tcpmss_mt() local
30 /* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */ in tcpmss_mt()
32 u8 _opt[15 * 4 - sizeof(_tcph)]; in tcpmss_mt()
36 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcpmss_mt()
37 if (th == NULL) in tcpmss_mt()
41 if (th->doff*4 < sizeof(*th)) in tcpmss_mt()
44 optlen = th->doff*4 - sizeof(*th); in tcpmss_mt()
49 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt()
H A Dnf_log_syslog.c38 unsigned char ip_src[4];
40 unsigned char ip_dst[4];
190 const struct tcphdr *th; in nf_log_dump_tcp_header() local
199 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in nf_log_dump_tcp_header()
200 if (!th) { in nf_log_dump_tcp_header()
207 ntohs(th->source), ntohs(th->dest)); in nf_log_dump_tcp_header()
211 ntohl(th->seq), ntohl(th->ack_seq)); in nf_log_dump_tcp_header()
215 nf_log_buf_add(m, "WINDOW=%u ", ntohs(th->window)); in nf_log_dump_tcp_header()
217 nf_log_buf_add(m, "RES=0x%02x ", (u_int8_t)(ntohl(tcp_flag_word(th) & in nf_log_dump_tcp_header()
220 if (th->ae) in nf_log_dump_tcp_header()
[all …]
/linux/net/ipv4/
H A Dtcp_offload.c38 struct tcphdr *th; in __tcpv4_gso_segment_csum() local
44 th = tcp_hdr(seg); in __tcpv4_gso_segment_csum()
47 inet_proto_csum_replace4(&th->check, seg, *oldip, newip, true); in __tcpv4_gso_segment_csum()
48 inet_proto_csum_replace2(&th->check, seg, *oldport, newport, false); in __tcpv4_gso_segment_csum()
57 const struct tcphdr *th; in __tcpv4_gso_segment_list_csum() local
64 th = tcp_hdr(seg); in __tcpv4_gso_segment_list_csum()
69 if (!(*(const u32 *)&th->source ^ *(const u32 *)&th2->source) && in __tcpv4_gso_segment_list_csum()
79 &th2->source, th->source); in __tcpv4_gso_segment_list_csum()
82 &th2->dest, th->dest); in __tcpv4_gso_segment_list_csum()
108 struct tcphdr *th in tcp4_gso_segment() local
118 struct tcphdr *th = tcp_hdr(skb); tcp4_gso_segment() local
137 struct tcphdr *th; tcp_gso_segment() local
264 tcp_gro_lookup(struct list_head * head,struct tcphdr * th) tcp_gro_lookup() argument
288 struct tcphdr *th; tcp_gro_pull_header() local
313 tcp_gro_receive(struct list_head * head,struct sk_buff * skb,struct tcphdr * th) tcp_gro_receive() argument
398 struct tcphdr *th = tcp_hdr(skb); tcp_gro_complete() local
417 tcp4_check_fraglist_gro(struct list_head * head,struct sk_buff * skb,struct tcphdr * th) tcp4_check_fraglist_gro() argument
449 struct tcphdr *th; tcp4_gro_receive() local
474 struct tcphdr *th = tcp_hdr(skb); tcp4_gro_complete() local
[all...]
H A Dtcp_ipv4.c96 __be32 daddr, __be32 saddr, const struct tcphdr *th);
501 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); in tcp_v4_err()
511 sk = __inet_lookup_established(net, iph->daddr, th->dest, iph->saddr, in tcp_v4_err()
512 ntohs(th->source), inet_iif(skb), 0); in tcp_v4_err()
523 seq = ntohl(th->seq); in tcp_v4_err()
626 ip_icmp_error(sk, skb, err, th->dest, info, (u8 *)th); in tcp_v4_err()
667 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check()
669 th->check = ~tcp_v4_check(skb->len, saddr, daddr, 0); in __tcp_v4_send_check()
710 reply->doff = arg->iov[0].iov_len / 4; in tcp_v4_ao_sign_reset()
499 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); tcp_v4_err() local
666 struct tcphdr *th = tcp_hdr(skb); __tcp_v4_send_check() local
744 const struct tcphdr *th = tcp_hdr(skb); tcp_v4_send_reset() local
746 struct tcphdr th; tcp_v4_send_reset() member
943 const struct tcphdr *th = tcp_hdr(skb); tcp_v4_send_ack() local
945 struct tcphdr th; tcp_v4_send_ack() member
1582 tcp_v4_md5_hash_headers(struct tcp_sigpool * hp,__be32 daddr,__be32 saddr,const struct tcphdr * th,int nbytes) global() argument
1606 tcp_v4_md5_hash_hdr(char * md5_hash,const struct tcp_md5sig_key * key,__be32 daddr,__be32 saddr,const struct tcphdr * th) global() argument
1637 const struct tcphdr *th = tcp_hdr(skb); global() local
1872 const struct tcphdr *th = tcp_hdr(skb); global() local
1881 tcp_v4_get_syncookie(struct sock * sk,struct iphdr * iph,struct tcphdr * th,u32 * cookie) global() argument
1980 const struct tcphdr *th; global() local
2020 const struct tcphdr *th; global() local
2158 struct tcphdr *th = (struct tcphdr *)skb->data; global() local
2171 tcp_v4_fill_cb(struct sk_buff * skb,const struct iphdr * iph,const struct tcphdr * th) global() argument
2203 const struct tcphdr *th; global() local
[all...]
/linux/drivers/net/slip/
H A Dslhc.c239 struct tcphdr *th, *oth; in slhc_compress() local
251 if (ip->version != 4 || ip->ihl < 5) in slhc_compress()
263 nlen = ip->ihl * 4; in slhc_compress()
264 if (isize < nlen + sizeof(*th)) in slhc_compress()
267 th = (struct tcphdr *)(icp + nlen); in slhc_compress()
268 if (th->doff < sizeof(struct tcphdr) / 4) in slhc_compress()
270 hlen = nlen + th->doff * 4; in slhc_compress()
276 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
277 ! (th->ack)){ in slhc_compress()
299 && th->source == cs->cs_tcp.source in slhc_compress()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_misc_tcp_hdr_options.c36 struct tcphdr th; in __check_active_hdr_in() member
48 /* The option is 4 bytes long instead of 2 bytes */ in __check_active_hdr_in()
54 hdr.reg_opt.len = 4; in __check_active_hdr_in()
63 if (ret != 4 || hdr.reg_opt.len != 4 || hdr.reg_opt.kind != 0xB9 || in __check_active_hdr_in()
77 hdr.exprm_opt.len = 4; in __check_active_hdr_in()
86 if (ret != 4 || hdr.exprm_opt.len != 4 || in __check_active_hdr_in()
119 if (hdr.th.dest != passive_lport_n || hdr.th.source != active_lport_n) in __check_active_hdr_in()
132 struct tcphdr *th; in check_active_hdr_in() local
137 th = skops->skb_data; in check_active_hdr_in()
138 if (th + 1 > skops->skb_data_end) in check_active_hdr_in()
[all …]
/linux/Documentation/driver-api/surface_aggregator/
H A Doverview.rst9 introduced on 4th generation devices (Surface Pro 4, Surface Book 1), but
17 Not much is currently known about SAM on 4th generation devices (Surface Pro
18 4, Surface Book 1), due to the use of a different communication interface
19 between host and EC (as detailed below). On 5th (Surface Pro 2017, Surface
28 restructured for 7th generation devices and on those, specifically Surface
32 While features have not changed much on a coarse level since the 5th
34 5th and 6th generation devices, both battery and temperature information is
37 requests. On 7th generation devices, this additional layer is gone and these
49 generation of the Surface device. On 4th generation devices, host and EC
51 5th and later generations, communication takes place via a USART serial
[all …]
/linux/include/linux/
H A Dsysfb.h24 M_I24_8_1, /* 24-Inch iMac, 8,1th gen */
25 M_I24_10_1, /* 24-Inch iMac, 10,1th gen */
26 M_I27_11_1, /* 27-Inch iMac, 11,1th gen */
28 M_MINI_3_1, /* Mac Mini, 3,1th gen */
29 M_MINI_4_1, /* Mac Mini, 4,1th gen */
33 M_MB_5_1, /* MacBook, 5th rev. */
34 M_MB_6_1, /* MacBook, 6th rev. */
35 M_MB_7_1, /* MacBook, 7th rev. */
43 M_MBP_4, /* MacBook Pro, 4t
[all...]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py36 def _get_static_size(self, th): argument
39 return th * 8000 * self._cell_size()
49 th = random.randint(3, 16)
51 return th
53 return self._get_static_size(th)
71 if objid["pool"] in [4, 8, 9, 10]:
72 # The threshold type of pools 4, 8, 9 and 10 cannot be changed
82 th = self._get_th(pool)
84 return (pool_n, th)
89 th = self._get_th(pool)
[all …]
/linux/drivers/gpu/drm/bridge/
H A Dsil-sii8620.h38 #define BIT_SYS_CTRL1_BLOCK_DDC_BY_HPD BIT(4)
49 #define BIT_DPD_OSC_EN BIT(4)
59 #define BIT_DCTL_EXT_DDC_SEL BIT(4)
70 #define BIT_PWD_SRST_MHLFIFO_RST BIT(4)
91 #define BIT_VID_OVRRD_3DCONV_EN_FRAME_PACK BIT(4)
125 #define BIT_CTRL1_GPIO_OEN_8 BIT(4)
172 #define BIT_HPD_CTRL_HPD_OUT_OVR_EN BIT(4)
183 #define BIT_CTRL_GPIO_OEN_4 BIT(4)
205 #define BIT_TMDS_CCTRL_TMDS_OE BIT(4)
207 /* TMDS Control #4, default value: 0x02 */
[all …]
/linux/kernel/time/
H A Dtimeconv.c73 result->tm_wday = (4 + days) % 7; in time64_to_tm()
85 * March 1st 0-th day of the year; in time64_to_tm()
89 * January 1st 306-th day of the year; (Important!) in time64_to_tm()
91 * February 28th 364-th day of the year; in time64_to_tm()
92 * February 29th 365-th day of the year (if it exists). in time64_to_tm()
107 u64tmp = 4 * udays + 3; in time64_to_tm()
109 day_of_century = (u32) (u64tmp / 4); in time64_to_tm()
111 u32tmp = 4 * day_of_century + 3; in time64_to_tm()
114 day_of_year = lower_32_bits(u64tmp) / 2939745 / 4; in time64_to_tm()
117 is_leap_year = year_of_century ? !(year_of_century % 4) : !(century % 4); in time64_to_tm()
[all …]
/linux/include/trace/events/
H A Dtcp.h29 __array(__u8, saddr, 4)
30 __array(__u8, daddr, 4)
113 const struct tcphdr *th = (const struct tcphdr *)skb__nullable->data;
115 * We should reverse the 4-tuple of skb, so later
118 TP_STORE_ADDR_PORTS_SKB(skb__nullable, th, entry->daddr, entry->saddr);
149 __array(__u8, saddr, 4)
150 __array(__u8, daddr, 4)
225 __array(__u8, saddr, 4)
226 __array(__u8, daddr, 4)
292 __array(__u8, saddr, 4)
[all …]
/linux/Documentation/admin-guide/
H A Ddevices.txt9 4 = /dev/port I/O port access
35 255 = /dev/ptyef 256th PTY master
40 the 1st through 16th series of 16 pseudo-ttys each, and
61 4 = /dev/fd?d360 5.25" 360K in a 360K drive(1)
110 255 = /dev/ttyef 256th PTY slave
126 For Linux/i386, partitions 1-4 are the primary
131 4 char TTY devices
147 4 block Aliases for dynamically allocated major devices to be used
255 4 = /dev/jbm J-mouse
256 4 = /dev/amigamouse Amiga mouse (68k/Amiga)
[all …]
/linux/arch/x86/events/intel/
H A Duncore_snb.c162 #define SNB_UNC_GLOBAL_CTL_CORE_ALL ((1 << 4) - 1)
331 .num_boxes = 4,
380 /* The 8th CBOX has different MSR space */ in skl_uncore_msr_init_box()
408 .num_counters = 4,
774 mtl_uncore_cbox.num_boxes = 4; in lnl_uncore_cpu_init()
872 pci_read_config_dword(pdev, where + 4, &pci_dword); in snb_uncore_imc_init_box()
1197 IMC_DEV(HSW_IMC, &hsw_uncore_pci_driver), /* 4th Gen Core Processor */
1198 IMC_DEV(HSW_U_IMC, &hsw_uncore_pci_driver), /* 4th Gen Core ULT Mobile Processor */
1199 IMC_DEV(BDW_IMC, &bdw_uncore_pci_driver), /* 5th Gen Core U */
1200 IMC_DEV(SKL_Y_IMC, &skl_uncore_pci_driver), /* 6th Gen Core Y */
[all …]
/linux/net/ipv6/
H A Dtcpv6_offload.c18 struct tcphdr *th) in tcp6_check_fraglist_gro() argument
30 p = tcp_gro_lookup(head, th); in tcp6_check_fraglist_gro()
39 sk = __inet6_lookup_established(net, &hdr->saddr, th->source, in tcp6_check_fraglist_gro()
40 &hdr->daddr, ntohs(th->dest), in tcp6_check_fraglist_gro()
51 struct tcphdr *th; in tcp6_gro_receive()
59 th = tcp_gro_pull_header(skb); in tcp6_gro_receive()
60 if (!th) in tcp6_gro_receive()
63 tcp6_check_fraglist_gro(head, skb, th); in tcp6_gro_receive()
65 return tcp_gro_receive(head, skb, th); in tcp6_gro_receive()
76 struct tcphdr *th in tcp6_gro_complete()
52 struct tcphdr *th; tcp6_gro_receive() local
77 struct tcphdr *th = tcp_hdr(skb); tcp6_gro_complete() local
101 struct tcphdr *th = tcp_hdr(seg); __tcpv6_gso_segment_csum() local
120 const struct tcphdr *th; __tcpv6_gso_segment_list_csum() local
163 struct tcphdr *th; tcp6_gso_segment() local
172 struct tcphdr *th = tcp_hdr(skb); tcp6_gso_segment() local
182 struct tcphdr *th = tcp_hdr(skb); tcp6_gso_segment() local
[all...]
H A Dtcp_ipv6.c382 const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); in tcp_v6_err() local
392 sk = __inet6_lookup_established(net, &hdr->daddr, th->dest, in tcp_v6_err()
393 &hdr->saddr, ntohs(th->source), in tcp_v6_err()
408 seq = ntohl(th->seq); in tcp_v6_err()
494 ipv6_icmp_error(sk, skb, err, th->dest, ntohl(info), (u8 *)th); in tcp_v6_err()
697 const struct tcphdr *th, int nbytes) in tcp_v6_md5_hash_headers() argument
711 memcpy(_th, th, sizeof(*th)); in tcp_v6_md5_hash_headers()
714 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
716 sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
722 const struct tcphdr *th) in tcp_v6_md5_hash_hdr() argument
[all …]
/linux/drivers/platform/surface/aggregator/
H A DKconfig11 embedded controller (EC) found on 5th- and later-generation Microsoft
17 - EC access from ACPI via Surface ACPI Notify (5th- and 6th-generation)
34 Note: While 4th-generation Surface devices also make use of a SAM EC,
36 only 5th and later generations are currently supported. Specifically,
38 SAM-over-HID, which is used on the 4th generation, are currently not
/linux/drivers/rtc/
H A Dlib.c66 * Below we do 4 * udays + 3 which should fit into a 32 bit unsigned in rtc_time64_to_tm()
88 * March 1st 0-th day of the year; in rtc_time64_to_tm()
92 * January 1st 306-th day of the year; (Important!) in rtc_time64_to_tm()
94 * February 28th 364-th day of the year; in rtc_time64_to_tm()
95 * February 29th 365-th day of the year (if it exists). in rtc_time64_to_tm()
103 * 2023;53(4):937-970. doi: 10.1002/spe.3172 in rtc_time64_to_tm()
110 u32tmp = 4 * udays + 3; in rtc_time64_to_tm()
112 day_of_century = u32tmp % 146097 / 4; in rtc_time64_to_tm()
114 u32tmp = 4 * day_of_century + 3; in rtc_time64_to_tm()
117 day_of_year = lower_32_bits(u64tmp) / 2939745 / 4; in rtc_time64_to_tm()
[all …]
/linux/Documentation/virt/kvm/
H A Dppc-pv.rst35 'hypercall-instructions'. This property contains at most 4 opcodes that make
47 r6 4th parameter 3rd output value
48 r7 5th parameter 4th output value
49 r8 6th parameter 5th output value
50 r9 7th parameter 6th output value
51 r10 8th parameter 7th output value
52 r11 hypercall number 8th output value
142 respectively on 32-bit systems with an added offset of 4 to accommodate for big
194 3) patch that code to return to the original pc + 4
195 4) patch the original instruction to branch to the new code
/linux/lib/
H A Dbitmap.c170 * Set the n-th bit of @dst iff the n-th bit of @src is set and
171 * n is less than @first, or the m-th bit of @src is set for any
449 * If for example, just bits 4 through 7 are set in @buf, then @pos
450 * values 4 through 7 will get mapped to 0 through 3, respectively,
453 * that bit 7 is the 3rd (starting with 0th) set bit in @buf.
474 * whatever position is held by the n-th set bit in @old is mapped
475 * to the n-th set bit in @new. In the more general case, allowing
477 * weight of @old, map the position of the n-th set bit in @old to
478 * the position of the m-th set bit in @new, where m == n % w.
490 * For example, lets say that @old has bits 4 through 7 set, and
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-intel_th-devices-pti6 are 4, 8, 12, 16.
21 - 0: Intel TH clock rate,
22 - 1: 1/2 Intel TH clock rate,
23 - 2: 1/4 Intel TH clock rate,
24 - 3: 1/8 Intel TH clock rate.
/linux/net/ceph/
H A Dauth_x.c122 struct ceph_x_ticket_handler *th; in get_ticket_handler() local
128 th = rb_entry(parent, struct ceph_x_ticket_handler, node); in get_ticket_handler()
129 if (service < th->service) in get_ticket_handler()
131 else if (service > th->service) in get_ticket_handler()
134 return th; in get_ticket_handler()
138 th = kzalloc(sizeof(*th), GFP_NOFS); in get_ticket_handler()
139 if (!th) in get_ticket_handler()
141 th->service = service; in get_ticket_handler()
142 rb_link_node(&th->node, parent, p); in get_ticket_handler()
143 rb_insert_color(&th->node, &xi->ticket_handlers); in get_ticket_handler()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
H A Dcom.fuc194 shl b32 $r4 4
204 shl b32 $r5 $r3 4
223 ld b32 $r6 D[$r5 + 4]
272 ld b32 $r7 D[$r5 + $r6 * 4]
300 add b32 $r5 4
316 ld b32 $r5 D[$r4 + 4]
441 shr b32 $r4 4
444 cmpu b8 $r10 4
520 // Offset calculation is performed as follows (Tp/Th/Td from TILE_MODE):
522 // nTy = round_up(h, 1 << Th) >> Th
[all …]

12345678910>>...27