Home
last modified time | relevance | path

Searched refs:acc_input (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_desc.c210 struct accel3_input_report acc_input; in get_input_report() local
222 get_common_inputs(&acc_input.common_property, report_id); in get_input_report()
223 acc_input.in_accel_x_value = (int)sensor_virt_addr[0] / AMD_SFH_FW_MULTIPLIER; in get_input_report()
224 acc_input.in_accel_y_value = (int)sensor_virt_addr[1] / AMD_SFH_FW_MULTIPLIER; in get_input_report()
225 acc_input.in_accel_z_value = (int)sensor_virt_addr[2] / AMD_SFH_FW_MULTIPLIER; in get_input_report()
226 memcpy(input_report, &acc_input, sizeof(acc_input)); in get_input_report()
227 report_size = sizeof(acc_input); in get_input_report()