hid_bpf_ctx
hid_bpf_get_data(struct hid_bpf_ctx *ctx, unsigned int offset, const size_t rdwr_buf_size)
__bpf_kfunc struct hid_bpf_ctx *
hid_bpf_release_context(struct hid_bpf_ctx *ctx)
__hid_bpf_hw_check_params(struct hid_bpf_ctx *ctx, __u8 *buf, size_t *buf__sz,
hid_bpf_hw_request(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz,
hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz)
__hid_bpf_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf,
hid_bpf_try_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf,
hid_bpf_input_report(struct hid_bpf_ctx *ctx, enum hid_report_type type, u8 *buf,
struct hid_bpf_ctx ctx;
static int __hid_bpf_device_event(struct hid_bpf_ctx *ctx, enum hid_report_type type, u64 source)
static int __hid_bpf_rdesc_fixup(struct hid_bpf_ctx *ctx)
static int __hid_bpf_hw_request(struct hid_bpf_ctx *ctx, unsigned char reportnum,
static int __hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx, u64 source)
WRITE_RANGE(hid_bpf_ctx, retval, false),
int BPF_PROG(hid_fix_rdesc_raptor_mach_2, struct hid_bpf_ctx *hctx)
int BPF_PROG(raptor_mach_2_fix_hat_switch, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(dial_2_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(dial_2_fix_events, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(inspiroy_2_fix_events, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(inspiroy_2_fix_events, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc_huion_kamvas_pro_19, struct hid_bpf_ctx *hctx)
int BPF_PROG(kamvas_pro_19_fix_3rd_button, struct hid_bpf_ctx *hctx)
struct hid_bpf_ctx *hctx = hid_bpf_allocate_context(ctx->hid);
int BPF_PROG(hid_fix_rdesc_huion_kamvas13_gen3, struct hid_bpf_ctx *hid_ctx)
int BPF_PROG(hid_fix_event_huion_kamvas13_gen3, struct hid_bpf_ctx *hid_ctx)
int BPF_PROG(hid_fix_rdesc_huion_kamvas16_gen3, struct hid_bpf_ctx *hid_ctx)
int BPF_PROG(hid_fix_event_huion_kamvas16_gen3, struct hid_bpf_ctx *hid_ctx)
int BPF_PROG(k20_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(k20_fix_events, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_rdesc_fixup_mistel_md770, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_rdesc_fixup_rapoo_m50, struct hid_bpf_ctx *hctx)
int BPF_PROG(ignore_key_fix_event, struct hid_bpf_ctx *hid_ctx)
int BPF_PROG(hid_fix_rdesc_tca_yoke, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc, struct hid_bpf_ctx *hctx)
int BPF_PROG(waltop_fix_events, struct hid_bpf_ctx *hctx)
int BPF_PROG(artpen_pressure_interpolate, struct hid_bpf_ctx *hctx)
struct hid_bpf_ctx *hid_ctx;
int BPF_PROG(ack05_fix_rdesc, struct hid_bpf_ctx *hctx)
static int HID_BPF_ASYNC_FUN(switch_to_raw_mode)(struct hid_bpf_ctx *hid)
int BPF_PROG(ack05_fix_events, struct hid_bpf_ctx *hctx)
struct hid_bpf_ctx *hctx = hid_bpf_allocate_context(ctx->hid);
int BPF_PROG(xppen_24_fix_eraser, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc_xppen_artist24, struct hid_bpf_ctx *hctx)
static int xppen_16_fix_eraser(struct hid_bpf_ctx *hctx)
static int xppen_16_fix_angle_offset(struct hid_bpf_ctx *hctx)
int BPF_PROG(xppen_artist_pro_16_device_event, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_fix_rdesc_xppen_artistpro16gen2, struct hid_bpf_ctx *hctx)
int BPF_PROG(xppen_deco01v3_rdesc_fixup, struct hid_bpf_ctx *hctx)
int BPF_PROG(xppen_deco01v3_device_event, struct hid_bpf_ctx *hctx)
int BPF_PROG(xppen_deco02_rdesc_fixup, struct hid_bpf_ctx *hctx)
int BPF_PROG(xppen_deco02_device_event, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_rdesc_fixup_xppen_deco_mini_4, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_device_event_xppen_deco_mini_4, struct hid_bpf_ctx *hctx)
static int hid_bpf_async_delayed_call(struct hid_bpf_ctx *hctx, u64 milliseconds, int key,
static inline int hid_bpf_async_call(struct hid_bpf_ctx *ctx, int key,
____##cb(struct hid_bpf_ctx *ctx); \
struct hid_bpf_ctx *ctx; \
fun(struct hid_bpf_ctx *ctx); \
static int HID_BPF_ASYNC_CB(____##fun##_cb)(struct hid_bpf_ctx *hctx) \
extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __ksym;
extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __ksym;
extern int hid_bpf_hw_request(struct hid_bpf_ctx *ctx,
extern int hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx,
extern int hid_bpf_input_report(struct hid_bpf_ctx *ctx,
extern int hid_bpf_try_input_report(struct hid_bpf_ctx *ctx,
int (*hid_device_event)(struct hid_bpf_ctx *ctx, enum hid_report_type report_type,
int (*hid_rdesc_fixup)(struct hid_bpf_ctx *ctx);
int (*hid_hw_request)(struct hid_bpf_ctx *ctx, unsigned char reportnum,
int (*hid_hw_output_report)(struct hid_bpf_ctx *ctx, u64 source);
extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __ksym;
extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __ksym;
extern int hid_bpf_hw_request(struct hid_bpf_ctx *ctx,
extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
static int hid_x_event(struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_event, struct hid_bpf_ctx *hctx, enum hid_report_type type)
static int hid_y_event(struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx)
int BPF_PROG(hid_event, struct hid_bpf_ctx *hctx)
struct hid_bpf_ctx *ctx;
struct hid_bpf_ctx *ctx;
struct hid_bpf_ctx *ctx;
struct hid_bpf_ctx *ctx;
int BPF_PROG(hid_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hid_ctx)
int BPF_PROG(hid_test_insert1, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_test_insert2, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_test_insert3, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_test_filter_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum,
int BPF_PROG(hid_test_hidraw_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum,
int BPF_PROG(hid_test_infinite_loop_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum,
int __hid_subprog_first_event(struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_test_filter_output_report, struct hid_bpf_ctx *hctx, unsigned char reportnum,
int BPF_PROG(hid_test_hidraw_output_report, struct hid_bpf_ctx *hctx, __u64 source)
int BPF_PROG(hid_test_infinite_loop_output_report, struct hid_bpf_ctx *hctx, __u64 source)
struct hid_bpf_ctx *hid_ctx;
int BPF_PROG(hid_test_multiply_events_wq, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_subprog_first_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_test_multiply_events, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_test_infinite_loop_input_report, struct hid_bpf_ctx *hctx,
int BPF_PROG(hid_second_event, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
int BPF_PROG(hid_change_report_id, struct hid_bpf_ctx *hid_ctx, enum hid_report_type type)
extern __u8 *hid_bpf_get_data(struct hid_bpf_ctx *ctx,
extern struct hid_bpf_ctx *hid_bpf_allocate_context(unsigned int hid_id) __weak __ksym;
extern void hid_bpf_release_context(struct hid_bpf_ctx *ctx) __weak __ksym;
extern int hid_bpf_hw_request(struct hid_bpf_ctx *ctx,
extern int hid_bpf_hw_output_report(struct hid_bpf_ctx *ctx,
extern int hid_bpf_input_report(struct hid_bpf_ctx *ctx,
extern int hid_bpf_try_input_report(struct hid_bpf_ctx *ctx,
int (*hid_device_event)(struct hid_bpf_ctx *ctx, enum hid_report_type report_type,
int (*hid_rdesc_fixup)(struct hid_bpf_ctx *ctx);
int (*hid_hw_request)(struct hid_bpf_ctx *ctx, unsigned char reportnum,
int (*hid_hw_output_report)(struct hid_bpf_ctx *ctx, u64 source);