Searched refs:sensor_sts (Results 1 – 5 of 5) sorted by relevance
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()174 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()177 cl_data->sensor_sts[i]); in amd_sfh_resume()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()311 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_init()315 cl_data->sensor_sts[i]); in amd_sfh_hid_client_init()342 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_deinit()[all …]
46 u32 sensor_sts[MAX_HID_DEVICES]; member
56 int (*response)(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts);
40 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() argument46 (cmd_resp.response_v2.response == sensor_sts && in amd_sfh_wait_response_v2()
76 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_deinit()81 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_deinit()84 cl_data->sensor_sts[i]); in amd_sfh_hid_client_deinit()123 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()176 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()184 cl_data->sensor_sts[i]); in amd_sfh1_1_hid_client_init()227 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()230 cl_data->sensor_sts[i]); in amd_sfh_resume()250 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()257 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_suspend()[all …]