Searched refs:savu (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/hid/
H A Dhid-roccat-savu.c26 #include "hid-roccat-savu.h"
62 struct roccat_common2_device *savu; savu_init_specials() local
71 savu = kzalloc(sizeof(*savu), GFP_KERNEL); savu_init_specials()
72 if (!savu) { savu_init_specials()
76 hid_set_drvdata(hdev, savu); savu_init_specials()
78 retval = roccat_common2_device_init_struct(usb_dev, savu); savu_init_specials()
89 savu->chrdev_minor = retval; savu_init_specials()
90 savu->roccat_claimed = 1; savu_init_specials()
95 kfree(savu); savu_init_specials()
102 struct roccat_common2_device *savu; savu_remove_specials() local
108 savu = hid_get_drvdata(hdev); savu_remove_specials()
109 if (savu->roccat_claimed) savu_remove_specials()
110 roccat_disconnect(savu->chrdev_minor); savu_remove_specials()
111 kfree(savu); savu_remove_specials()
151 static void savu_report_to_chrdev(struct roccat_common2_device const *savu, savu_report_to_chrdev() argument
165 roccat_report_event(savu->chrdev_minor, savu_report_to_chrdev()
173 struct roccat_common2_device *savu = hid_get_drvdata(hdev); savu_raw_event() local
179 if (savu == NULL) savu_raw_event()
182 if (savu->roccat_claimed) savu_raw_event()
183 savu_report_to_chrdev(savu, data); savu_raw_event()
196 .name = "savu",
207 savu_class = class_create(THIS_MODULE, "savu"); savu_init()
H A DMakefile81 hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o

Completed in 118 milliseconds