Lines Matching refs:otp

2462 				      unsigned char index, unsigned char otp[])  in alps_get_otp_values_ss4_v2()  argument
2470 ps2_command(ps2dev, otp, PSMOUSE_CMD_GETINFO)) in alps_get_otp_values_ss4_v2()
2478 ps2_command(ps2dev, otp, PSMOUSE_CMD_GETINFO)) in alps_get_otp_values_ss4_v2()
2487 static int alps_update_device_area_ss4_v2(unsigned char otp[][4], in alps_update_device_area_ss4_v2()
2496 SS4PLUS_NUMSENSOR_XOFFSET + (otp[0][2] & 0x0F); in alps_update_device_area_ss4_v2()
2498 SS4PLUS_NUMSENSOR_YOFFSET + ((otp[0][2] >> 4) & 0x0F); in alps_update_device_area_ss4_v2()
2505 x_pitch = (otp[0][1] & 0x0F) + SS4PLUS_MIN_PITCH_MM; in alps_update_device_area_ss4_v2()
2506 y_pitch = ((otp[0][1] >> 4) & 0x0F) + SS4PLUS_MIN_PITCH_MM; in alps_update_device_area_ss4_v2()
2510 SS4_NUMSENSOR_XOFFSET + (otp[1][0] & 0x0F); in alps_update_device_area_ss4_v2()
2512 SS4_NUMSENSOR_YOFFSET + ((otp[1][0] >> 4) & 0x0F); in alps_update_device_area_ss4_v2()
2519 x_pitch = ((otp[1][2] >> 2) & 0x07) + SS4_MIN_PITCH_MM; in alps_update_device_area_ss4_v2()
2520 y_pitch = ((otp[1][2] >> 5) & 0x07) + SS4_MIN_PITCH_MM; in alps_update_device_area_ss4_v2()
2532 static int alps_update_btn_info_ss4_v2(unsigned char otp[][4], in alps_update_btn_info_ss4_v2()
2538 is_btnless = (otp[1][0] >> 1) & 0x01; in alps_update_btn_info_ss4_v2()
2540 is_btnless = (otp[1][1] >> 3) & 0x01; in alps_update_btn_info_ss4_v2()
2548 static int alps_update_dual_info_ss4_v2(unsigned char otp[][4], in alps_update_dual_info_ss4_v2()
2557 is_dual = (otp[0][0] >> 4) & 0x01; in alps_update_dual_info_ss4_v2()
2584 unsigned char otp[2][4]; in alps_set_defaults_ss4_v2() local
2586 memset(otp, 0, sizeof(otp)); in alps_set_defaults_ss4_v2()
2588 if (alps_get_otp_values_ss4_v2(psmouse, 1, &otp[1][0]) || in alps_set_defaults_ss4_v2()
2589 alps_get_otp_values_ss4_v2(psmouse, 0, &otp[0][0])) in alps_set_defaults_ss4_v2()
2592 alps_update_device_area_ss4_v2(otp, priv); in alps_set_defaults_ss4_v2()
2594 alps_update_btn_info_ss4_v2(otp, priv); in alps_set_defaults_ss4_v2()
2596 alps_update_dual_info_ss4_v2(otp, priv, psmouse); in alps_set_defaults_ss4_v2()