Searched refs:hid_ctx (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/tools/testing/selftests/hid/progs/ |
| H A D | hid.c | 20 __u8 *rw_data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 3 /* size */); in BPF_PROG() 29 return hid_ctx->size; in BPF_PROG() 47 return hid_ctx->size; in __hid_subprog_first_event() 53 return __hid_subprog_first_event(hid_ctx, type); in BPF_PROG() 72 return hid_ctx->size; in BPF_PROG() 220 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() argument 461 struct hid_bpf_ctx *hid_ctx; in wq_cb_sleepable() local 463 hid_ctx = hid_bpf_allocate_context(*key); in wq_cb_sleepable() 464 if (!hid_ctx) in wq_cb_sleepable() 469 hid_bpf_release_context(hid_ctx); in wq_cb_sleepable() [all …]
|
| /linux-6.15/drivers/hid/bpf/progs/ |
| H A D | Wacom__ArtPen.bpf.c | 149 struct hid_bpf_ctx *hid_ctx; in probe() local 154 hid_ctx = hid_bpf_allocate_context(ctx->hid); in probe() 155 if (!hid_ctx) { in probe() 159 pid = hid_ctx->hid->product; in probe() 173 hid_bpf_release_context(hid_ctx); in probe()
|
| H A D | TUXEDO__Sirius-16-Gen1-and-Gen2.bpf.c | 15 int BPF_PROG(ignore_key_fix_event, struct hid_bpf_ctx *hid_ctx) in SEC() 22 if (hid_ctx->size < expected_length) in SEC() 25 data = hid_bpf_get_data(hid_ctx, 0, expected_length); in SEC()
|
| /linux-6.15/Documentation/hid/ |
| H A D | hid-bpf.rst | 392 int BPF_PROG(filter_switch, struct hid_bpf_ctx *hid_ctx) 394 __u8 *data = hid_bpf_get_data(hid_ctx, 0 /* offset */, 192 /* size */);
|