Home
last modified time | relevance | path

Searched refs:hid_rdesc_fixup (Results 1 – 20 of 20) sorted by relevance

/linux/samples/hid/
H A Dhid_mouse.bpf.c83 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx) in BPF_PROG() argument
124 .hid_rdesc_fixup = (void *)hid_rdesc_fixup,
H A Dhid_surface_dial.bpf.c105 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx) in BPF_PROG() argument
135 .hid_rdesc_fixup = (void *)hid_rdesc_fixup,
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c46 case offsetof(struct hid_bpf_ops, hid_rdesc_fixup): in hid_bpf_ops_check_member()
204 if (ops->hid_rdesc_fixup) { in hid_bpf_reg()
232 } else if (ops->hid_rdesc_fixup) { in hid_bpf_reg()
293 .hid_rdesc_fixup = __hid_bpf_rdesc_fixup,
H A Dhid_bpf_dispatch.c171 ret = hdev->bpf.rdesc_ops->hid_rdesc_fixup(&ctx_kern.ctx); in call_hid_bpf_rdesc_fixup()
/linux/drivers/hid/bpf/progs/
H A DHP__Elite-Presenter.bpf.c49 .hid_rdesc_fixup = (void *)hid_fix_rdesc,
H A DThrustmaster__TCA-Yoke-Boeing.bpf.c131 .hid_rdesc_fixup = (void *)hid_fix_rdesc_tca_yoke,
H A DIOGEAR__Kaliber-MMOmentum.bpf.c49 .hid_rdesc_fixup = (void *)hid_fix_rdesc,
H A DFR-TEC__Raptor-Mach-2.bpf.c172 .hid_rdesc_fixup = (void *)hid_fix_rdesc_raptor_mach_2,
H A DMicrosoft__Xbox-Elite-2.bpf.c117 .hid_rdesc_fixup = (void *)hid_fix_rdesc,
H A DHuion__Kamvas-Pro-19.bpf.c259 .hid_rdesc_fixup = (void *)hid_fix_rdesc_huion_kamvas_pro_19,
H A DXPPen__Artist24.bpf.c210 .hid_rdesc_fixup = (void *)hid_fix_rdesc_xppen_artist24,
H A DXPPen__DecoMini4.bpf.c205 .hid_rdesc_fixup = (void *)hid_rdesc_fixup_xppen_deco_mini_4,
H A DXPPen__ArtistPro16Gen2.bpf.c267 .hid_rdesc_fixup = (void *)hid_fix_rdesc_xppen_artistpro16gen2,
H A DHuion__Inspiroy-2-S.bpf.c515 .hid_rdesc_fixup = (void *)hid_fix_rdesc,
H A DHuion__Dial-2.bpf.c595 .hid_rdesc_fixup = (void *)dial_2_fix_rdesc,
/linux/tools/testing/selftests/hid/progs/
H A Dhid.c220 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hid_ctx) in BPF_PROG() argument
240 .hid_rdesc_fixup = (void *)hid_rdesc_fixup,
H A Dhid_bpf_helpers.h79 int (*hid_rdesc_fixup)(struct hid_bpf_ctx *ctx); member
/linux/Documentation/hid/
H A Dhid-bpf.rst159 3. change of the report descriptor with ``SEC("struct_ops/hid_rdesc_fixup")`` or
160 ``SEC("struct_ops.s/hid_rdesc_fixup")`` in libbpf
170 Last, ``hid_rdesc_fixup`` is different from the others as there can be only one
172 change the report descriptor from the BPF program. Once a ``hid_rdesc_fixup``
176 Note that ``hid_rdesc_fixup`` can be declared as sleepable (``SEC("struct_ops.s/hid_rdesc_fixup")``…
248 For all HID-BPF attachment types except for :c:func:`hid_rdesc_fixup`, several eBPF
250 :c:func:`hid_rdesc_fixup` while another is already attached to the device, the
291 ``SEC("struct_ops/hid_rdesc_fixup")``
294 The ``hid_rdesc_fixup`` program works in a similar manner to ``.report_fixup``
304 Whenever a struct_ops containing a ``SEC("struct_ops/hid_rdesc_fixup")`` program
H A Dhidintro.rst469 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx)
/linux/include/linux/
H A Dhid_bpf.h132 int (*hid_rdesc_fixup)(struct hid_bpf_ctx *ctx); member