Home
last modified time | relevance | path

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

12345678910>>...24

/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.c32 const struct tcphdr *th, struct synproxy_options *opts) in synproxy_parse_options()
34 int length = (th->doff * 4) - sizeof(*th); in synproxy_parse_options()
40 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); in synproxy_parse_options()
82 opts->tsecr = get_unaligned_be32(ptr + 4); in synproxy_parse_options()
118 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) in synproxy_build_options()
120 __be32 *ptr = (__be32 *)(th + 1); in synproxy_build_options()
168 opts->tsval |= 1 << 4; in synproxy_init_timestamp_cookie()
182 opts->options |= opts->tsecr & (1 << 4) in synproxy_check_timestamp_cookie()
30 synproxy_parse_options(const struct sk_buff * skb,unsigned int doff,const struct tcphdr * th,struct synproxy_options * opts) synproxy_parse_options() argument
116 synproxy_build_options(struct tcphdr * th,const struct synproxy_options * opts) synproxy_build_options() argument
187 synproxy_tstamp_adjust(struct sk_buff * skb,unsigned int protoff,struct tcphdr * th,struct nf_conn * ct,enum ip_conntrack_info ctinfo,const struct nf_conn_synproxy * synproxy) synproxy_tstamp_adjust() argument
451 synproxy_send_client_synack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_synack() argument
494 synproxy_send_server_syn(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts,u32 recv_seq) synproxy_send_server_syn() argument
540 synproxy_send_server_ack(struct net * net,const struct ip_ct_tcp * state,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_server_ack() argument
578 synproxy_send_client_ack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_ack() argument
617 synproxy_recv_client_ack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,struct synproxy_options * opts,u32 recv_seq) synproxy_recv_client_ack() argument
652 struct tcphdr *th, _th; ipv4_synproxy_hook() local
864 synproxy_send_client_synack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_synack_ipv6() argument
908 synproxy_send_server_syn_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts,u32 recv_seq) synproxy_send_server_syn_ipv6() argument
954 synproxy_send_server_ack_ipv6(struct net * net,const struct ip_ct_tcp * state,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_server_ack_ipv6() argument
993 synproxy_send_client_ack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_ack_ipv6() argument
1034 synproxy_recv_client_ack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,struct synproxy_options * opts,u32 recv_seq) synproxy_recv_client_ack_ipv6() argument
1069 struct tcphdr *th, _th; ipv6_synproxy_hook() local
[all...]
H A Dxt_tcpudp.c42 /* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */ in tcp_find_option()
73 const struct tcphdr *th; in tcp_mt() local
92 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcp_mt()
93 if (th == NULL) { in tcp_mt()
102 ntohs(th->source), in tcp_mt()
106 ntohs(th->dest), in tcp_mt()
110 (((unsigned char *)th)[13] & tcpinfo->flg_mask) == tcpinfo->flg_cmp)) in tcp_mt()
113 if (th->doff * 4 < sizeof(_tcph)) { in tcp_mt()
118 th->doff*4 - sizeof(_tcph), in tcp_mt()
H A Dxt_ecn.c31 const struct tcphdr *th; in match_tcp() local
40 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in match_tcp()
41 if (th == NULL) in match_tcp()
46 if (th->ece == 1) in match_tcp()
49 if (th->ece == 0) in match_tcp()
56 if (th->cwr == 1) in match_tcp()
59 if (th->cwr == 0) in match_tcp()
111 return (((ipv6_hdr(skb)->flow_lbl[0] >> 4) & XT_ECN_IP_MASK) == in match_ipv6()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_misc_tcp_hdr_options.c40 struct tcphdr th; in __check_active_hdr_in() member
52 /* The option is 4 bytes long instead of 2 bytes */ in __check_active_hdr_in()
58 hdr.reg_opt.len = 4; in __check_active_hdr_in()
67 if (ret != 4 || hdr.reg_opt.len != 4 || hdr.reg_opt.kind != 0xB9 || in __check_active_hdr_in()
81 hdr.exprm_opt.len = 4; in __check_active_hdr_in()
90 if (ret != 4 || hdr.exprm_opt.len != 4 || in __check_active_hdr_in()
123 if (hdr.th.dest != passive_lport_n || hdr.th.source != active_lport_n) in __check_active_hdr_in()
136 struct tcphdr *th; in check_active_hdr_in() local
141 th = skops->skb_data; in check_active_hdr_in()
142 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/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/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/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/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/ipv4/
H A Dtcp_ipv4.c97 __be32 daddr, __be32 saddr, const struct tcphdr *th);
494 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); in tcp_v4_err() local
504 sk = __inet_lookup_established(net, iph->daddr, th->dest, iph->saddr, in tcp_v4_err()
505 ntohs(th->source), inet_iif(skb), 0); in tcp_v4_err()
516 seq = ntohl(th->seq); in tcp_v4_err()
619 ip_icmp_error(sk, skb, err, th->dest, info, (u8 *)th); in tcp_v4_err()
685 reply->doff = arg->iov[0].iov_len / 4; in tcp_v4_ao_sign_reset()
720 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset() local
722 struct tcphdr th; in tcp_v4_send_reset() member
739 if (th->rst) in tcp_v4_send_reset()
[all …]
H A Dsyncookies.c27 * | 31 ... 6 | 5 | 4 | 3 2 1 0 |
38 #define TS_OPT_SACK BIT(4)
155 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_init_sequence() argument
167 th->source, th->dest, ntohl(th->seq), in __cookie_v4_init_sequence()
175 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() local
177 return __cookie_v4_init_sequence(iph, th, mssp); in cookie_v4_init_sequence()
184 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th) in __cookie_v4_check() argument
186 __u32 cookie = ntohl(th->ack_seq) - 1; in __cookie_v4_check()
187 __u32 seq = ntohl(th->seq) - 1; in __cookie_v4_check()
191 th->source, th->dest, seq); in __cookie_v4_check()
[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 …]
/linux/tools/testing/selftests/net/lib/
H A Dcsum.c98 static int cfg_num_pkt = 4;
169 static uint16_t checksum(void *th, uint16_t proto, size_t len) in checksum() argument
184 return checksum_fold(th, len, sum); in checksum()
193 iph->version = 4; in build_packet_ipv4()
258 struct tcphdr *th = _th; in build_packet_tcp() local
260 th->source = htons(cfg_port_src); in build_packet_tcp()
261 th->dest = htons(cfg_port_dst); in build_packet_tcp()
262 th->doff = 5; in build_packet_tcp()
263 th->check = 0; in build_packet_tcp()
265 th in build_packet_tcp()
590 recv_verify_csum(void * th,int len,uint16_t sport,uint16_t csum_field) recv_verify_csum() argument
616 recv_verify_packet_tcp(void * th,int len) recv_verify_packet_tcp() argument
626 recv_verify_packet_udp_encap(void * th,int len) recv_verify_packet_udp_encap() argument
636 recv_verify_packet_udp(void * th,int len) recv_verify_packet_udp() argument
[all...]
/linux/net/ceph/
H A Dauth_x.c158 struct ceph_x_ticket_handler *th; in get_ticket_handler() local
164 th = rb_entry(parent, struct ceph_x_ticket_handler, node); in get_ticket_handler()
165 if (service < th->service) in get_ticket_handler()
167 else if (service > th->service) in get_ticket_handler()
170 return th; in get_ticket_handler()
174 th = kzalloc_obj(*th, GFP_NOFS); in get_ticket_handler()
175 if (!th) in get_ticket_handler()
177 th->service = service; in get_ticket_handler()
178 rb_link_node(&th->node, parent, p); in get_ticket_handler()
179 rb_insert_color(&th->node, &xi->ticket_handlers); in get_ticket_handler()
[all …]
/linux/net/ipv6/
H A Dtcp_ipv6.c399 const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); in tcp_v6_err() local
409 sk = __inet6_lookup_established(net, &hdr->daddr, th->dest, in tcp_v6_err()
410 &hdr->saddr, ntohs(th->source), in tcp_v6_err()
425 seq = ntohl(th->seq); in tcp_v6_err()
511 ipv6_icmp_error(sk, skb, err, th->dest, ntohl(info), (u8 *)th); in tcp_v6_err()
714 const struct tcphdr *th, int nbytes) in tcp_v6_md5_hash_headers() argument
725 h.tcp = *th; in tcp_v6_md5_hash_headers()
733 const struct tcphdr *th) in tcp_v6_md5_hash_hdr() argument
738 tcp_v6_md5_hash_headers(&ctx, daddr, saddr, th, th->doff << 2); in tcp_v6_md5_hash_hdr()
747 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() local
[all …]
/linux/Documentation/hwmon/
H A Dntc_thermistor.rst42 [TH] the thermistor
50 [TH] $ (pullup_ohm)
62 [TH]
78 [TH] $ (pulldown_ohm)
82 4. connect = NTC_CONNECTED_GROUND, pulldown_ohm = 0 (not-connected)::
90 [TH]
105 temp1_type RO always 4 (thermistor)
/linux/drivers/spi/
H A Dspi-virtio.c88 static int virtio_spi_set_delays(struct spi_transfer_head *th, in virtio_spi_set_delays() argument
105 th->cs_setup_ns = cpu_to_le32(cs_setup); in virtio_spi_set_delays()
118 th->word_delay_ns = cpu_to_le32(max(cs_word_delay_spi, cs_word_delay_xfer)); in virtio_spi_set_delays()
130 th->cs_delay_hold_ns = cpu_to_le32(delay + cs_hold); in virtio_spi_set_delays()
142 th->cs_change_delay_inactive_ns = in virtio_spi_set_delays()
153 struct spi_transfer_head *th; in virtio_spi_transfer_one() local
156 struct scatterlist *sgs[4]; in virtio_spi_transfer_one()
167 th = &spi_req->transfer_head; in virtio_spi_transfer_one()
170 th->chip_select_id = spi_get_chipselect(spi, 0); in virtio_spi_transfer_one()
171 th->bits_per_word = spi->bits_per_word; in virtio_spi_transfer_one()
[all …]
/linux/drivers/pinctrl/aspeed/
H A DKconfig16 Say Y here to enable pin controller support for Aspeed's 4th
24 Say Y here to enable pin controller support for Aspeed's 5th
32 Say Y here to enable pin controller support for Aspeed's 6th
/linux/arch/arm/mach-aspeed/
H A DKconfig15 bool "Aspeed SoC 4th Generation"
26 bool "Aspeed SoC 5th Generation"
35 bool "Aspeed SoC 6th Generation"
/linux/drivers/platform/surface/
H A DKconfig47 on 5th- and 6th-generation Microsoft Surface devices (including
92 - HID input devices (7th-generation and later models with detachable
116 - Platform profile (performance-/cooling-mode) device (5th- and later
118 - Battery/AC devices (7th-generation).
119 - HID input devices (7th-generation).
208 Provides support for the ACPI platform profile on 5th- and later
226 tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
230 This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
/linux/Documentation/scsi/
H A Daic79xx.rst15 4. Additional Notes
102 - Remove S/G splitting for segments that cross a 4GB boundary.
113 * 1.3.8 (April 29th, 2003)
126 * 1.3.7 (April 16th, 2003)
135 * 1.3.6 (March 28th, 2003)
142 * 1.3.5 (March 24th, 2003)
157 * 1.3.4 (February 28th, 2003)
162 * 1.3.2 (February 19th, 2003)
166 * 1.3.1 (February 11th, 2003)
184 * 1.2.0 (November 14th, 2002)
[all …]

12345678910>>...24