Home
last modified time | relevance | path

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

12

/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_impl(task, &work->tw, &hmap, process_work, NULL); in mismatch_map()
65 struct bpf_task_work tw; in no_map_task_work() local
68 bpf_task_work_schedule_resume_impl(task, &tw, &hmap, process_work, NULL); in no_map_task_work()
94 bpf_task_work_schedule_resume_impl(task, &work->tw, NULL, process_work, NULL); in map_null()
H A Dtask_work.c18 struct bpf_task_work tw; member
69 bpf_task_work_schedule_resume_impl(task, &work->tw, &hmap, process_work, NULL); in oncpu_hash_map()
83 bpf_task_work_schedule_signal_impl(task, &work->tw, &arrmap, process_work, NULL); in oncpu_array_map()
105 bpf_task_work_schedule_resume_impl(task, &work->tw, &lrumap, process_work, NULL); in oncpu_lru_map()
H A Dtask_work_stress.c22 struct bpf_task_work tw; member
54 err = bpf_task_work_schedule_signal_impl(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/net/psp/
H A Dpsp_sock.c266 void psp_twsk_init(struct inet_timewait_sock *tw, const struct sock *sk) in psp_twsk_init()
272 rcu_assign_pointer(tw->psp_assoc, pas); in psp_twsk_init()
273 tw->tw_validate_xmit_skb = psp_validate_xmit;
276 void psp_twsk_assoc_free(struct inet_timewait_sock *tw) in psp_twsk_assoc_free()
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()
264 psp_twsk_init(struct inet_timewait_sock * tw,const struct sock * sk) psp_twsk_init() argument
274 psp_twsk_assoc_free(struct inet_timewait_sock * tw) psp_twsk_assoc_free() argument
/linux/io_uring/
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 Drw.h49 void io_req_rw_complete(struct io_tw_req tw_req, io_tw_token_t tw);
H A Dio_uring.c495 static void io_req_queue_iowq_tw(struct io_tw_req tw_req, io_tw_token_t tw) in io_req_queue_iowq_tw() argument
1086 static void ctx_flush_and_put(struct io_ring_ctx *ctx, io_tw_token_t tw) in ctx_flush_and_put() argument
1336 io_tw_token_t tw, in __io_run_local_work_loop() argument
1347 (struct io_tw_req){req}, tw); in __io_run_local_work_loop()
1356 static int __io_run_local_work(struct io_ring_ctx *ctx, io_tw_token_t tw, in __io_run_local_work() argument
1368 tw.cancel = io_should_terminate_tw(ctx); in __io_run_local_work()
1370 ret = __io_run_local_work_loop(&ctx->retry_llist.first, tw, max_events); in __io_run_local_work()
1379 ret += __io_run_local_work_loop(&node, tw, max_events - ret); in __io_run_local_work()
1416 static void io_req_task_cancel(struct io_tw_req tw_req, io_tw_token_t tw) in io_req_task_cancel() argument
1420 io_tw_lock(req->ctx, tw); in io_req_task_cancel()
[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/
H A Di2c-ali1535.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 in sof_widget_ready()
2379 sof_dspless_widget_ready(struct snd_soc_component * scomp,int index,struct snd_soc_dapm_widget * w,struct snd_soc_tplg_dapm_widget * tw) sof_dspless_widget_ready() argument
[all...]
/linux/net/ipv6/
H A Dtcp_ipv6.c1119 struct inet_timewait_sock *tw = inet_twsk(sk); in tcp_v6_send_reset()
1121 u8 tclass = tw->tw_tclass; in tcp_v6_send_reset()
1166 tcptw->tw_rcv_wnd >> tw->tw_rcv_wscale,
1168 READ_ONCE(tcptw->tw_ts_recent), tw->tw_bound_dev_if,
1169 &key, tclass, cpu_to_be32(tw->tw_flowlabel),
1170 tw->tw_priority, tw->tw_txhash);
1175 inet_twsk_put(tw);
1945 struct inet_timewait_sock *tw = inet_twsk(sk);
1946 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>
/linux/kernel/bpf/
H A Dhelpers.c4167 static struct bpf_task_work_ctx *bpf_task_work_fetch_ctx(struct bpf_task_work *tw, in bpf_task_work_fetch_ctx() argument
4170 struct bpf_task_work_kern *twk = (void *)tw; in bpf_task_work_fetch_ctx()
4198 static struct bpf_task_work_ctx *bpf_task_work_acquire_ctx(struct bpf_task_work *tw, in bpf_task_work_acquire_ctx() argument
4203 ctx = bpf_task_work_fetch_ctx(tw, map); in bpf_task_work_acquire_ctx()
4226 bpf_task_work_cancel_and_free(tw); in bpf_task_work_acquire_ctx()
4233 static int bpf_task_work_schedule(struct task_struct *task, struct bpf_task_work *tw, in bpf_task_work_schedule() argument
4252 ctx = bpf_task_work_acquire_ctx(tw, map); in bpf_task_work_schedule()
4263 ctx->map_val = (void *)tw - map->record->task_work_off; in bpf_task_work_schedule()
4289 struct bpf_task_work *tw, void *map__map, in bpf_task_work_schedule_signal_impl() argument
4293 return bpf_task_work_schedule(task, tw, map__map, callback, aux__prog, TWA_SIGNAL); in bpf_task_work_schedule_signal_impl()
[all …]
/linux/Documentation/networking/device_drivers/ethernet/dec/
H A Ddmfe.rst64 Sten Wang <sten_wang@davicom.com.tw > : Original Author

12