Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/hid/amd-sfh-hid/
Damd_sfh_client.c121 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()
165 if (cl_data->sensor_sts[i] == SENSOR_DISABLED) { in amd_sfh_resume()
173 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
176 cl_data->sensor_sts[i]); in amd_sfh_resume()
191 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()
196 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_suspend()
199 cl_data->sensor_sts[i]); in amd_sfh_suspend()
[all …]
Damd_sfh_common.h56 int (*response)(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts);
Damd_sfh_hid.h45 u32 sensor_sts[MAX_HID_DEVICES]; member
Damd_sfh_pcie.c37 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() argument
43 (cmd_resp.response_v2.response == sensor_sts && in amd_sfh_wait_response_v2()
/Linux-v6.1/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_init.c76 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()
122 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()
173 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh1_1_hid_client_init()
182 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()
186 cl_data->sensor_sts[i]); in amd_sfh1_1_hid_client_init()
192 cl_data->sensor_sts[i]); in amd_sfh1_1_hid_client_init()
215 if (cl_data->sensor_sts[i] == SENSOR_DISABLED) { in amd_sfh_resume()
223 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
[all …]