Lines Matching refs:hid_id
89 static int attach_prog(struct hid_surface_dial *skel, struct bpf_program *prog, int hid_id) in attach_prog() argument
92 .hid = hid_id, in attach_prog()
111 hid_id, err); in attach_prog()
117 static int set_haptic(struct hid_surface_dial *skel, int hid_id) in set_haptic() argument
120 .hid = hid_id, in set_haptic()
138 hid_id, err); in set_haptic()
150 int opt, hid_id, resolution = 72; in main() local
198 hid_id = get_hid_id(sysfs_path); in main()
199 if (hid_id < 0) { in main()
212 attach_prog(skel, prog, hid_id); in main()
218 set_haptic(skel, hid_id); in main()