Lines Matching refs:sensor_sts
121 if (cli_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_work_buffer()
132 static u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_for_response() argument
135 sensor_sts = mp2->mp2_ops->response(mp2, sid, sensor_sts); in amd_sfh_wait_for_response()
137 return sensor_sts; in amd_sfh_wait_for_response()
166 if (cl_data->sensor_sts[i] == SENSOR_DISABLED) { in amd_sfh_resume()
174 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
177 cl_data->sensor_sts[i]); in amd_sfh_resume()
192 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()
197 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_suspend()
200 cl_data->sensor_sts[i]); in amd_sfh_suspend()
246 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_init()
289 cl_data->sensor_sts[i] = amd_sfh_wait_for_response in amd_sfh_hid_client_init()
295 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_init()
301 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_init()
305 cl_data->sensor_sts[i]); in amd_sfh_hid_client_init()
334 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_deinit()
339 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_deinit()
342 cl_data->sensor_sts[i]); in amd_sfh_hid_client_deinit()