Lines Matching refs:sensitivity
19 int sensitivity; member
213 return sprintf(buf, "%d\n", accel->sensitivity); in cmpc_accel_sensitivity_show_v4()
223 unsigned long sensitivity; in cmpc_accel_sensitivity_store_v4() local
230 r = kstrtoul(buf, 0, &sensitivity); in cmpc_accel_sensitivity_store_v4()
235 if (sensitivity < 1 || sensitivity > 127) in cmpc_accel_sensitivity_store_v4()
238 accel->sensitivity = sensitivity; in cmpc_accel_sensitivity_store_v4()
239 cmpc_accel_set_sensitivity_v4(acpi->handle, sensitivity); in cmpc_accel_sensitivity_store_v4()
307 cmpc_accel_set_sensitivity_v4(acpi->handle, accel->sensitivity); in cmpc_accel_open_v4()
364 accel->sensitivity); in cmpc_accel_resume_v4()
388 accel->sensitivity = CMPC_ACCEL_SENSITIVITY_DEFAULT; in cmpc_accel_add_v4()
389 cmpc_accel_set_sensitivity_v4(acpi->handle, accel->sensitivity); in cmpc_accel_add_v4()
556 return sprintf(buf, "%d\n", accel->sensitivity); in cmpc_accel_sensitivity_show()
566 unsigned long sensitivity; in cmpc_accel_sensitivity_store() local
573 r = kstrtoul(buf, 0, &sensitivity); in cmpc_accel_sensitivity_store()
577 accel->sensitivity = sensitivity; in cmpc_accel_sensitivity_store()
578 cmpc_accel_set_sensitivity(acpi->handle, sensitivity); in cmpc_accel_sensitivity_store()
627 accel->sensitivity = CMPC_ACCEL_SENSITIVITY_DEFAULT; in cmpc_accel_add()
628 cmpc_accel_set_sensitivity(acpi->handle, accel->sensitivity); in cmpc_accel_add()