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.c19 int BPF_PROG(hid_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
39 int __hid_subprog_first_event(struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in __hid_subprog_first_event()
52 int BPF_PROG(hid_subprog_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
64 int BPF_PROG(hid_second_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
82 int BPF_PROG(hid_change_report_id, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
105 enum hid_report_type type;
259 int BPF_PROG(hid_test_insert1, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
282 int BPF_PROG(hid_test_insert2, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
304 int BPF_PROG(hid_test_insert3, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type) in BPF_PROG()
327 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 */
1033 int hid_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data, u32 size,
1035 int hid_safe_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data,
1045 enum hid_report_type type, unsigned int id,
1049 enum hid_report_type type, unsigned int id,
1220 size_t len, enum hid_report_type rtype,
1227 size_t len, enum hid_report_type rtype,
1305 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.c27 dispatch_hid_bpf_device_event(struct hid_device *hdev, enum hid_report_type type, u8 *data, in dispatch_hid_bpf_device_event()
86 u32 size, enum hid_report_type rtype, in dispatch_hid_bpf_raw_requests()
362 enum hid_report_type rtype) in __hid_bpf_hw_check_params()
410 enum hid_report_type rtype, enum hid_class_request reqtype) in hid_bpf_hw_request()
498 __hid_bpf_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf, in __hid_bpf_input_report()
529 hid_bpf_try_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf, in hid_bpf_try_input_report()
554 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()
1039 enum hid_report_type type, unsigned int id, in hid_validate_values()
2043 int hid_report_raw_event(struct hid_device *hid, enum hid_report_type type, u8 *data, in hid_report_raw_event()
2123 static int __hid_input_report(struct hid_device *hid, enum hid_report_type type, in __hid_input_report()
2200 int hid_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data, u32 size, in hid_input_report()
2224 int hid_safe_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data, in hid_safe_input_report()
2539 size_t len, enum hid_report_type rtype, in __hid_hw_raw_request()
2577 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,