Home
last modified time | relevance | path

Searched refs:tw (Results 1 – 25 of 56) sorted by relevance

123

/linux/drivers/input/touchscreen/
H A Dtouchwin.c48 struct tw { struct
60 struct tw *tw = serio_get_drvdata(serio); in tw_interrupt() argument
61 struct input_dev *dev = tw->dev; in tw_interrupt()
64 tw->touched = 1; in tw_interrupt()
65 tw->data[tw->idx++] = data; in tw_interrupt()
67 if (tw->idx == TW_LENGTH && tw->data[1] == tw->data[2]) { in tw_interrupt()
68 input_report_abs(dev, ABS_X, tw->data[0]); in tw_interrupt()
69 input_report_abs(dev, ABS_Y, tw->data[1]); in tw_interrupt()
72 tw->idx = 0; in tw_interrupt()
74 } else if (tw->touched) { /* untouch */ in tw_interrupt()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c150 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock() local
155 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock()
156 dest = tw->tw_daddr; in dump_tw_sock()
157 src = tw->tw_rcv_saddr; in dump_tw_sock()
158 destp = bpf_ntohs(tw->tw_dport); in dump_tw_sock()
159 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock()
165 tw->tw_substate, 0, 0, in dump_tw_sock()
167 tw->tw_refcnt.refs.counter, tw); in dump_tw_sock()
200 struct tcp_timewait_sock *tw; in dump_tcp4() local
[all...]
H A Dbpf_iter_tcp6.c155 struct inet_timewait_sock *tw = &ttw->tw_sk; in dump_tw_sock() local
160 delta = tw->tw_timer.expires - bpf_jiffies64(); in dump_tw_sock()
161 dest = &tw->tw_v6_daddr; in dump_tw_sock()
162 src = &tw->tw_v6_rcv_saddr; in dump_tw_sock()
163 destp = bpf_ntohs(tw->tw_dport); in dump_tw_sock()
164 srcp = bpf_ntohs(tw->tw_sport); in dump_tw_sock()
174 tw->tw_substate, 0, 0, in dump_tw_sock()
176 tw->tw_refcnt.refs.counter, tw); in dump_tw_sock()
216 struct tcp_timewait_sock *tw; in dump_tcp6() local
[all...]
H A Dtask_work_fail.c17 struct bpf_task_work tw; member
56 bpf_task_work_schedule_resume(task, &work->tw, &hmap, process_work); in mismatch_map()
65 struct bpf_task_work tw; in no_map_task_work() local
68 bpf_task_work_schedule_resume(task, &tw, &hmap, process_work); in no_map_task_work()
94 bpf_task_work_schedule_resume(task, &work->tw, NULL, process_work); in map_null()
H A Dtask_work.c18 struct bpf_task_work tw; member
68 bpf_task_work_schedule_resume(task, &work->tw, &hmap, process_work); in oncpu_hash_map()
82 bpf_task_work_schedule_signal(task, &work->tw, &arrmap, process_work); in oncpu_array_map()
104 bpf_task_work_schedule_resume(task, &work->tw, &lrumap, process_work); in oncpu_lru_map()
H A Dtask_work_stress.c22 struct bpf_task_work tw; member
54 err = bpf_task_work_schedule_signal(bpf_get_current_task_btf(), &work->tw, &hmap, in schedule_task_work()
/linux/net/dccp/
H A Dminisocks.c
/linux/include/net/psp/
H A Dfunctions.h35 void psp_twsk_init(struct inet_timewait_sock *tw, const struct sock *sk);
36 void psp_twsk_assoc_free(struct inet_timewait_sock *tw);
122 psp_twsk_rx_policy_check(struct inet_timewait_sock *tw, struct sk_buff *skb) in psp_twsk_rx_policy_check() argument
124 return __psp_sk_rx_policy_check(skb, rcu_dereference(tw->psp_assoc)); in psp_twsk_rx_policy_check()
160 psp_twsk_init(struct inet_timewait_sock *tw, const struct sock *sk) { } in psp_twsk_init() argument
161 static inline void psp_twsk_assoc_free(struct inet_timewait_sock *tw) { } in psp_twsk_assoc_free() argument
187 psp_twsk_rx_policy_check(struct inet_timewait_sock *tw, struct sk_buff *skb) in psp_twsk_rx_policy_check() argument
/linux/io_uring/
H A Dfutex.c48 static void __io_futex_complete(struct io_tw_req tw_req, io_tw_token_t tw) in __io_futex_complete() argument
51 io_req_task_complete(tw_req, tw); in __io_futex_complete()
54 static void io_futex_complete(struct io_tw_req tw_req, io_tw_token_t tw) in io_futex_complete() argument
59 io_tw_lock(ctx, tw); in io_futex_complete()
62 __io_futex_complete(tw_req, tw); in io_futex_complete()
65 static void io_futexv_complete(struct io_tw_req tw_req, io_tw_token_t tw) in io_futexv_complete() argument
71 io_tw_lock(req->ctx, tw); in io_futexv_complete()
82 __io_futex_complete(tw_req, tw); in io_futexv_complete()
H A Dpoll.c241 static int io_poll_check_events(struct io_kiocb *req, io_tw_token_t tw) in io_poll_check_events() argument
245 if (unlikely(tw.cancel)) in io_poll_check_events()
307 int ret = io_poll_issue(req, tw); in io_poll_check_events()
331 void io_poll_task_func(struct io_tw_req tw_req, io_tw_token_t tw) in io_poll_task_func() argument
336 ret = io_poll_check_events(req, tw); in io_poll_task_func()
354 io_req_task_submit(tw_req, tw); in io_poll_task_func()
362 io_req_task_complete(tw_req, tw); in io_poll_task_func()
364 io_tw_lock(req->ctx, tw); in io_poll_task_func()
367 io_req_task_complete(tw_req, tw); in io_poll_task_func()
369 io_req_task_submit(tw_req, tw); in io_poll_task_func()
H A Dwaitid.c19 static void io_waitid_cb(struct io_tw_req tw_req, io_tw_token_t tw);
197 static void io_waitid_cb(struct io_tw_req tw_req, io_tw_token_t tw) in io_waitid_cb() argument
204 io_tw_lock(ctx, tw); in io_waitid_cb()
233 io_req_task_complete(tw_req, tw); in io_waitid_cb()
H A Dpoll.h49 void io_poll_task_func(struct io_tw_req tw_req, io_tw_token_t tw);
H A Dio_uring.h178 void io_req_task_complete(struct io_tw_req tw_req, io_tw_token_t tw);
180 void io_req_task_submit(struct io_tw_req tw_req, io_tw_token_t tw);
187 int io_poll_issue(struct io_kiocb *req, io_tw_token_t tw);
H A Drw.h49 void io_req_rw_complete(struct io_tw_req tw_req, io_tw_token_t tw);
/linux/net/psp/
H A Dpsp_sock.c266 void psp_twsk_init(struct inet_timewait_sock *tw, const struct sock *sk) in psp_twsk_init() argument
272 rcu_assign_pointer(tw->psp_assoc, pas); in psp_twsk_init()
273 tw->tw_validate_xmit_skb = psp_validate_xmit; in psp_twsk_init()
276 void psp_twsk_assoc_free(struct inet_timewait_sock *tw) in psp_twsk_assoc_free() argument
278 struct psp_assoc *pas = rcu_dereference_protected(tw->psp_assoc, 1); in psp_twsk_assoc_free()
280 rcu_assign_pointer(tw->psp_assoc, NULL); in psp_twsk_assoc_free()
/linux/net/ipv4/
H A Dinet_hashtables.c591 struct inet_timewait_sock *tw = NULL; in __inet_check_established() local
617 tw = inet_twsk(sk2); in __inet_check_established()
633 if (tw) { in __inet_check_established()
634 sk_nulls_del_node_init_rcu((struct sock *)tw); in __inet_check_established()
641 *twp = tw; in __inet_check_established()
642 } else if (tw) { in __inet_check_established()
644 inet_twsk_deschedule_put(tw); in __inet_check_established()
1044 struct inet_timewait_sock *tw = NULL; in __inet_hash_connect() local
1103 if (!check_established(death_row, sk, port, &tw, true, in __inet_hash_connect()
1123 port, &tw, false, in __inet_hash_connect()
[all …]
H A Dtcp_ipv4.c123 const struct inet_timewait_sock *tw = inet_twsk(sktw); in tcp_twsk_unique() local
129 if (READ_ONCE(tw->tw_substate) == TCP_FIN_WAIT2) in tcp_twsk_unique()
138 if (tw->tw_bound_dev_if == LOOPBACK_IFINDEX) in tcp_twsk_unique()
141 if (tw->tw_family == AF_INET6) { in tcp_twsk_unique()
142 if (ipv6_addr_loopback(&tw->tw_v6_daddr) || in tcp_twsk_unique()
143 ipv6_addr_v4mapped_loopback(&tw->tw_v6_daddr) || in tcp_twsk_unique()
144 ipv6_addr_loopback(&tw->tw_v6_rcv_saddr) || in tcp_twsk_unique()
145 ipv6_addr_v4mapped_loopback(&tw->tw_v6_rcv_saddr)) in tcp_twsk_unique()
150 if (ipv4_is_loopback(tw->tw_daddr) || in tcp_twsk_unique()
151 ipv4_is_loopback(tw->tw_rcv_saddr)) in tcp_twsk_unique()
[all …]
/linux/Documentation/i2c/busses/
H A Di2c-viapro.rst22 Datasheet: available on http://linux.via.com.tw
25 Datasheet: available on http://linux.via.com.tw
28 Datasheet: available on http://linux.via.com.tw
H A Di2c-ali1563.rst9 http://www.ali.com.tw/
/linux/sound/soc/sof/
H A Dtopology.c1070 struct snd_soc_tplg_dapm_widget *tw, in sof_connect_dai_widget() argument
1211 struct snd_soc_tplg_dapm_widget *tw, in sof_widget_parse_tokens() argument
1216 struct snd_soc_tplg_private *private = &tw->priv; in sof_widget_parse_tokens()
1411 struct snd_soc_tplg_dapm_widget *tw) in sof_widget_ready() argument
1416 struct snd_soc_tplg_private *priv = &tw->priv; in sof_widget_ready()
1505 ret = sof_widget_parse_tokens(scomp, swidget, tw, token_list, token_list_size); in sof_widget_ready()
1507 ret = sof_connect_dai_widget(scomp, w, tw, dai); in sof_widget_ready()
1517 if (le32_to_cpu(tw->priv.size) == 0) { in sof_widget_ready()
1522 ret = sof_widget_parse_tokens(scomp, swidget, tw, token_list, token_list_size); in sof_widget_ready()
1525 if (!le32_to_cpu(tw->num_kcontrols)) { in sof_widget_ready()
[all …]
/linux/net/ipv6/
H A Dtcp_ipv6.c1122 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_v6_send_reset()
1124 u8 tclass = tw->tw_tclass; in tcp_v6_send_reset()
1169 tcptw->tw_rcv_wnd >> tw->tw_rcv_wscale,
1171 READ_ONCE(tcptw->tw_ts_recent), tw->tw_bound_dev_if,
1172 &key, tclass, cpu_to_be32(tw->tw_flowlabel),
1173 tw->tw_priority, tw->tw_txhash);
1178 inet_twsk_put(tw);
1947 struct inet_timewait_sock *tw = inet_twsk(sk);
1948 inet_twsk_deschedule_put(tw);
1165 struct inet_timewait_sock *tw = inet_twsk(sk); global() local
1990 struct inet_timewait_sock *tw = inet_twsk(sk); global() local
2262 get_timewait6_sock(struct seq_file * seq,struct inet_timewait_sock * tw,int i) global() argument
[all...]
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_core.c225 const int ls, const int tw) in sxgbe_set_eee_timer() argument
227 int value = ((tw & 0xffff)) | ((ls & 0x7ff) << 16); in sxgbe_set_eee_timer()
/linux/arch/nios2/boot/compressed/
H A Dvmlinux.scr2 * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw>
/linux/Documentation/hwmon/
H A Dg760a.rst12 http://www.gmt.com.tw/product/datasheet/EDS-760A.pdf
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-h3-mapleboard-mp130.dts3 * Copyright (C) 2017 Centrum Embedded Systems, Jia-Bin Huang <jb@ces.com.tw>

123