Searched refs:sensor_sts (Results 1 – 5 of 5) sorted by relevance
130 if (cli_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_work_buffer()140 static u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_for_response() argument143 sensor_sts = mp2->mp2_ops->response(mp2, sid, sensor_sts); in amd_sfh_wait_for_response()145 return sensor_sts; in amd_sfh_wait_for_response()176 if (cl_data->sensor_sts[i] == SENSOR_DISABLED) { in amd_sfh_resume()184 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()187 cl_data->sensor_sts[i]); in amd_sfh_resume()202 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()207 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_suspend()210 cl_data->sensor_sts[i]); in amd_sfh_suspend()[all …]
46 u32 sensor_sts[MAX_HID_DEVICES]; member
73 int (*response)(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts);
43 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() argument49 (cmd_resp.response_v2.response == sensor_sts && in amd_sfh_wait_response_v2()
91 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_deinit()96 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_deinit()99 cl_data->sensor_sts[i]); in amd_sfh_hid_client_deinit()138 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()147 cl_data->sensor_sts[i] = (status == 0) ? SENSOR_ENABLED : SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()148 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()204 cl_data->sensor_sts[i] = (status == 0) ? SENSOR_ENABLED : SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()211 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()229 cl_data->sensor_sts[i]); in amd_sfh1_1_hid_client_init()270 if (cl_data->sensor_sts[i] == SENSOR_DISABLED) { in amd_sfh_resume()[all …]