Lines Matching refs:skel
88 static int set_haptic(struct hid_surface_dial *skel, int hid_id) in set_haptic() argument
100 haptic_fd = bpf_program__fd(skel->progs.set_haptic); in set_haptic()
117 struct hid_surface_dial *skel; in main() local
163 skel = hid_surface_dial__open(); in main()
164 if (!skel) { in main()
175 skel->struct_ops.surface_dial->hid_id = hid_id; in main()
177 err = hid_surface_dial__load(skel); in main()
183 skel->data->resolution = resolution; in main()
184 skel->data->physical = (int)(resolution / 72); in main()
186 link = bpf_map__attach_struct_ops(skel->maps.surface_dial); in main()
195 set_haptic(skel, hid_id); in main()
200 hid_surface_dial__destroy(skel); in main()