Lines Matching full:sensitivity

17 	int sensitivity;  member
211 return sprintf(buf, "%d\n", accel->sensitivity); in cmpc_accel_sensitivity_show_v4()
221 unsigned long sensitivity; in cmpc_accel_sensitivity_store_v4() local
228 r = kstrtoul(buf, 0, &sensitivity); in cmpc_accel_sensitivity_store_v4()
232 /* sensitivity must be between 1 and 127 */ in cmpc_accel_sensitivity_store_v4()
233 if (sensitivity < 1 || sensitivity > 127) in cmpc_accel_sensitivity_store_v4()
236 accel->sensitivity = sensitivity; in cmpc_accel_sensitivity_store_v4()
237 cmpc_accel_set_sensitivity_v4(acpi->handle, sensitivity); in cmpc_accel_sensitivity_store_v4()
243 .attr = { .name = "sensitivity", .mode = 0660 },
305 cmpc_accel_set_sensitivity_v4(acpi->handle, accel->sensitivity); in cmpc_accel_open_v4()
362 accel->sensitivity); in cmpc_accel_resume_v4()
386 accel->sensitivity = CMPC_ACCEL_SENSITIVITY_DEFAULT; in cmpc_accel_add_v4()
387 cmpc_accel_set_sensitivity_v4(acpi->handle, accel->sensitivity); in cmpc_accel_add_v4()
553 return sprintf(buf, "%d\n", accel->sensitivity); in cmpc_accel_sensitivity_show()
563 unsigned long sensitivity; in cmpc_accel_sensitivity_store() local
570 r = kstrtoul(buf, 0, &sensitivity); in cmpc_accel_sensitivity_store()
574 accel->sensitivity = sensitivity; in cmpc_accel_sensitivity_store()
575 cmpc_accel_set_sensitivity(acpi->handle, sensitivity); in cmpc_accel_sensitivity_store()
581 .attr = { .name = "sensitivity", .mode = 0660 },
624 accel->sensitivity = CMPC_ACCEL_SENSITIVITY_DEFAULT; in cmpc_accel_add()
625 cmpc_accel_set_sensitivity(acpi->handle, accel->sensitivity); in cmpc_accel_add()