Home
last modified time | relevance | path

Searched refs:hid_report_type (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/hid/progs/
H A Dhid.c18 int BPF_PROG(hid_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
38 int __hid_subprog_first_event(struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in __hid_subprog_first_event()
51 int BPF_PROG(hid_subprog_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
63 int BPF_PROG(hid_second_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
81 int BPF_PROG(hid_change_report_id, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
104 enum hid_report_type type;
244 int BPF_PROG(hid_test_insert1, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
267 int BPF_PROG(hid_test_insert2, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
289 int BPF_PROG(hid_test_insert3, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
312 enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source) in BPF_PROG()
[all …]
H A Dhid_bpf_helpers.h13 #define hid_report_type hid_report_type___not_used macro
36 #undef hid_report_type
54 enum hid_report_type { enum
92 int (*hid_device_event)(struct hid_bpf_ctx *ctx, enum hid_report_type report_type,
96 enum hid_report_type rtype, enum hid_class_request reqtype,
115 enum hid_report_type type,
120 enum hid_report_type type,
124 enum hid_report_type type,
/linux/include/linux/
H A Dhid_bpf.h69 size_t len, enum hid_report_type rtype,
74 int (*hid_input_report)(struct hid_device *hid, enum hid_report_type type,
117 int (*hid_device_event)(struct hid_bpf_ctx *ctx, enum hid_report_type report_type,
159 enum hid_report_type rtype, enum hid_class_request reqtype,
202 u8 *dispatch_hid_bpf_device_event(struct hid_device *hid, enum hid_report_type type, u8 *data,
207 u32 size, enum hid_report_type rtype,
218 static inline u8 *dispatch_hid_bpf_device_event(struct hid_device *hid, enum hid_report_type type, in dispatch_hid_bpf_device_event()
226 u32 size, enum hid_report_type rtype, in dispatch_hid_bpf_raw_requests()
H A Dhid.h568 enum hid_report_type type; /* report type */
1031 int hid_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data, u32 size,
1033 int hid_safe_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data,
1043 enum hid_report_type type, unsigned int id,
1047 enum hid_report_type type, unsigned int id,
1218 size_t len, enum hid_report_type rtype,
1225 size_t len, enum hid_report_type rtype,
1303 int hid_report_raw_event(struct hid_device *hid, enum hid_report_type type, u8 *data,
/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c26 dispatch_hid_bpf_device_event(struct hid_device *hdev, enum hid_report_type type, u8 *data, in dispatch_hid_bpf_device_event()
85 u32 size, enum hid_report_type rtype, in dispatch_hid_bpf_raw_requests()
359 enum hid_report_type rtype) in __hid_bpf_hw_check_params()
407 enum hid_report_type rtype, enum hid_class_request reqtype) in hid_bpf_hw_request()
495 __hid_bpf_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf, in __hid_bpf_input_report()
526 hid_bpf_try_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf, in hid_bpf_try_input_report()
551 hid_bpf_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf, in hid_bpf_input_report()
H A Dhid_bpf_struct_ops.c269 static int __hid_bpf_device_event(struct hid_bpf_ctx *ctx, enum hid_report_type type, u64 source) in __hid_bpf_device_event()
280 enum hid_report_type rtype, enum hid_class_request reqtype, in __hid_bpf_hw_request()
/linux/include/uapi/linux/
H A Dhid.h49 enum hid_report_type { enum
/linux/samples/hid/
H A Dhid_bpf_helpers.h18 enum hid_report_type type,
H A Dhid_mouse.bpf.c71 int BPF_PROG(hid_event, struct hid_bpf_ctx *hctx, enum hid_report_type type) in BPF_PROG()
/linux/drivers/hid/
H A Dhid-core.c88 enum hid_report_type type, unsigned int id, in hid_register_report()
1033 enum hid_report_type type, unsigned int id, in hid_validate_values()
2036 int hid_report_raw_event(struct hid_device *hid, enum hid_report_type type, u8 *data, in hid_report_raw_event()
2109 static int __hid_input_report(struct hid_device *hid, enum hid_report_type type, in __hid_input_report()
2186 int hid_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data, u32 size, in hid_input_report()
2210 int hid_safe_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data, in hid_safe_input_report()
2522 size_t len, enum hid_report_type rtype, in __hid_hw_raw_request()
2560 size_t len, enum hid_report_type rtype, enum hid_class_request reqtype) in hid_hw_raw_request()
/linux/tools/testing/selftests/hid/
H A Dhid_bpf.c12 enum hid_report_type type;
/linux/Documentation/hid/
H A Dhid-bpf.rst466 enum hid_report_type type,