Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c191 void __iomem *sensoraddr; in get_input_rep() local
199 sensoraddr = mp2->vsbase + (ACCEL_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep()
201 memcpy_fromio(&accel_data, sensoraddr, sizeof(struct sfh_accel_data)); in get_input_rep()
210 sensoraddr = mp2->vsbase + (GYRO_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep()
212 memcpy_fromio(&gyro_data, sensoraddr, sizeof(struct sfh_gyro_data)); in get_input_rep()
221 sensoraddr = mp2->vsbase + (MAG_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep()
223 memcpy_fromio(&mag_data, sensoraddr, sizeof(struct sfh_mag_data)); in get_input_rep()
233 sensoraddr = mp2->vsbase + (ALS_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep()
235 memcpy_fromio(&als_data, sensoraddr, sizeof(struct sfh_als_data)); in get_input_rep()