Home
last modified time | relevance | path

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

/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c192 void __iomem *sensoraddr; in get_input_rep() local
200 sensoraddr = mp2->vsbase + (ACCEL_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep()
202 memcpy_fromio(&accel_data, sensoraddr, sizeof(struct sfh_accel_data)); in get_input_rep()
211 sensoraddr = mp2->vsbase + (GYRO_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep()
213 memcpy_fromio(&gyro_data, sensoraddr, sizeof(struct sfh_gyro_data)); in get_input_rep()
222 sensoraddr = mp2->vsbase + (MAG_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep()
224 memcpy_fromio(&mag_data, sensoraddr, sizeof(struct sfh_mag_data)); in get_input_rep()
234 sensoraddr = mp2->vsbase + (ALS_IDX * SENSOR_DATA_MEM_SIZE_DEFAULT) + in get_input_rep()
236 memcpy_fromio(&als_data, sensoraddr, sizeof(struct sfh_als_data)); in get_input_rep()
H A Damd_sfh_interface.c109 void __iomem *sensoraddr; in amd_sfh_als_info() local
117 sensoraddr = emp2->vsbase + in amd_sfh_als_info()
120 memcpy_fromio(&als_data, sensoraddr, sizeof(struct sfh_als_data)); in amd_sfh_als_info()