koneplus 31 drivers/hid/hid-roccat-koneplus.c static void koneplus_profile_activated(struct koneplus_device *koneplus, koneplus 34 drivers/hid/hid-roccat-koneplus.c koneplus->actual_profile = new_profile; koneplus 88 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus = hid_get_drvdata(dev_get_drvdata(dev)); koneplus 98 drivers/hid/hid-roccat-koneplus.c mutex_lock(&koneplus->koneplus_lock); koneplus 100 drivers/hid/hid-roccat-koneplus.c mutex_unlock(&koneplus->koneplus_lock); koneplus 113 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus = hid_get_drvdata(dev_get_drvdata(dev)); koneplus 120 drivers/hid/hid-roccat-koneplus.c mutex_lock(&koneplus->koneplus_lock); koneplus 123 drivers/hid/hid-roccat-koneplus.c mutex_unlock(&koneplus->koneplus_lock); koneplus 245 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus = koneplus 247 drivers/hid/hid-roccat-koneplus.c return snprintf(buf, PAGE_SIZE, "%d\n", koneplus->actual_profile); koneplus 253 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus; koneplus 260 drivers/hid/hid-roccat-koneplus.c koneplus = hid_get_drvdata(dev_get_drvdata(dev)); koneplus 270 drivers/hid/hid-roccat-koneplus.c mutex_lock(&koneplus->koneplus_lock); koneplus 274 drivers/hid/hid-roccat-koneplus.c mutex_unlock(&koneplus->koneplus_lock); koneplus 278 drivers/hid/hid-roccat-koneplus.c koneplus_profile_activated(koneplus, profile); koneplus 284 drivers/hid/hid-roccat-koneplus.c roccat_report_event(koneplus->chrdev_minor, koneplus 287 drivers/hid/hid-roccat-koneplus.c mutex_unlock(&koneplus->koneplus_lock); koneplus 301 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus; koneplus 306 drivers/hid/hid-roccat-koneplus.c koneplus = hid_get_drvdata(dev_get_drvdata(dev)); koneplus 309 drivers/hid/hid-roccat-koneplus.c mutex_lock(&koneplus->koneplus_lock); koneplus 312 drivers/hid/hid-roccat-koneplus.c mutex_unlock(&koneplus->koneplus_lock); koneplus 360 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus) koneplus 364 drivers/hid/hid-roccat-koneplus.c mutex_init(&koneplus->koneplus_lock); koneplus 369 drivers/hid/hid-roccat-koneplus.c koneplus_profile_activated(koneplus, retval); koneplus 378 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus; koneplus 384 drivers/hid/hid-roccat-koneplus.c koneplus = kzalloc(sizeof(*koneplus), GFP_KERNEL); koneplus 385 drivers/hid/hid-roccat-koneplus.c if (!koneplus) { koneplus 389 drivers/hid/hid-roccat-koneplus.c hid_set_drvdata(hdev, koneplus); koneplus 391 drivers/hid/hid-roccat-koneplus.c retval = koneplus_init_koneplus_device_struct(usb_dev, koneplus); koneplus 402 drivers/hid/hid-roccat-koneplus.c koneplus->chrdev_minor = retval; koneplus 403 drivers/hid/hid-roccat-koneplus.c koneplus->roccat_claimed = 1; koneplus 411 drivers/hid/hid-roccat-koneplus.c kfree(koneplus); koneplus 418 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus; koneplus 422 drivers/hid/hid-roccat-koneplus.c koneplus = hid_get_drvdata(hdev); koneplus 423 drivers/hid/hid-roccat-koneplus.c if (koneplus->roccat_claimed) koneplus 424 drivers/hid/hid-roccat-koneplus.c roccat_disconnect(koneplus->chrdev_minor); koneplus 425 drivers/hid/hid-roccat-koneplus.c kfree(koneplus); koneplus 466 drivers/hid/hid-roccat-koneplus.c static void koneplus_keep_values_up_to_date(struct koneplus_device *koneplus, koneplus 476 drivers/hid/hid-roccat-koneplus.c koneplus_profile_activated(koneplus, button_report->data1 - 1); koneplus 483 drivers/hid/hid-roccat-koneplus.c static void koneplus_report_to_chrdev(struct koneplus_device const *koneplus, koneplus 502 drivers/hid/hid-roccat-koneplus.c roccat_report.profile = koneplus->actual_profile + 1; koneplus 503 drivers/hid/hid-roccat-koneplus.c roccat_report_event(koneplus->chrdev_minor, koneplus 511 drivers/hid/hid-roccat-koneplus.c struct koneplus_device *koneplus = hid_get_drvdata(hdev); koneplus 517 drivers/hid/hid-roccat-koneplus.c if (koneplus == NULL) koneplus 520 drivers/hid/hid-roccat-koneplus.c koneplus_keep_values_up_to_date(koneplus, data); koneplus 522 drivers/hid/hid-roccat-koneplus.c if (koneplus->roccat_claimed) koneplus 523 drivers/hid/hid-roccat-koneplus.c koneplus_report_to_chrdev(koneplus, data);