Searched refs:acc_input (Results 1 – 2 of 2) sorted by relevance
214 struct accel3_input_report acc_input; in get_input_report() local226 get_common_inputs(&acc_input.common_property, report_id); in get_input_report()227 acc_input.in_accel_x_value = (int)sensor_virt_addr[0] / AMD_SFH_FW_MULTIPLIER; in get_input_report()228 acc_input.in_accel_y_value = (int)sensor_virt_addr[1] / AMD_SFH_FW_MULTIPLIER; in get_input_report()229 acc_input.in_accel_z_value = (int)sensor_virt_addr[2] / AMD_SFH_FW_MULTIPLIER; in get_input_report()230 memcpy(input_report, &acc_input, sizeof(acc_input)); in get_input_report()231 report_size = sizeof(acc_input); in get_input_report()
182 struct accel3_input_report acc_input; in get_input_rep() local203 get_common_inputs(&acc_input.common_property, report_id); in get_input_rep()204 acc_input.in_accel_x_value = amd_sfh_float_to_int(accel_data.acceldata.x) / 100; in get_input_rep()205 acc_input.in_accel_y_value = amd_sfh_float_to_int(accel_data.acceldata.y) / 100; in get_input_rep()206 acc_input.in_accel_z_value = amd_sfh_float_to_int(accel_data.acceldata.z) / 100; in get_input_rep()207 memcpy(input_report, &acc_input, sizeof(acc_input)); in get_input_rep()208 report_size = sizeof(acc_input); in get_input_rep()