Lines Matching refs:hctx
88 int BPF_PROG(hid_fix_rdesc_xppen_artistpro16gen2, struct hid_bpf_ctx *hctx)
90 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 4096 /* size */);
100 if (hctx->hid->product == PID_ARTIST_PRO14_GEN2) {
105 } else if (hctx->hid->product == PID_ARTIST_PRO19_GEN2) {
116 static int xppen_16_fix_eraser(struct hid_bpf_ctx *hctx)
118 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 10 /* size */);
238 static int xppen_16_fix_angle_offset(struct hid_bpf_ctx *hctx)
240 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 10 /* size */);
273 switch (hctx->hid->product) {
292 int BPF_PROG(xppen_artist_pro_16_device_event, struct hid_bpf_ctx *hctx)
294 int ret = xppen_16_fix_angle_offset(hctx);
299 return xppen_16_fix_eraser(hctx);