Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_desc.c210 u32 *sensor_virt_addr = in_data->sensor_virt_addr[current_index]; in get_input_report() local
221 if (!sensor_virt_addr || !input_report) 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()
235 gyro_input.in_angel_x_value = (int)sensor_virt_addr[0] / AMD_SFH_FW_MULTIPLIER; in get_input_report()
236 gyro_input.in_angel_y_value = (int)sensor_virt_addr[1] / AMD_SFH_FW_MULTIPLIER; in get_input_report()
237 gyro_input.in_angel_z_value = (int)sensor_virt_addr[2] / AMD_SFH_FW_MULTIPLIER; in get_input_report()
243 magno_input.in_magno_x = (int)sensor_virt_addr[0] / AMD_SFH_FW_MULTIPLIER; in get_input_report()
244 magno_input.in_magno_y = (int)sensor_virt_addr[1] / AMD_SFH_FW_MULTIPLIER; in get_input_report()
[all …]
/linux-6.12.1/drivers/hid/amd-sfh-hid/
Damd_sfh_hid.h28 u32 *sensor_virt_addr[MAX_HID_DEVICES]; member
Damd_sfh_client.c239 in_data->sensor_virt_addr[i] = dmam_alloc_coherent(dev, sizeof(int) * 8, in amd_sfh_hid_client_init()
242 if (!in_data->sensor_virt_addr[i]) { in amd_sfh_hid_client_init()