Home
last modified time | relevance | path

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

/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c130 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() argument
143 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 …]
H A Damd_sfh_hid.h46 u32 sensor_sts[MAX_HID_DEVICES]; member
H A Damd_sfh_common.h73 int (*response)(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts);
H A Damd_sfh_pcie.c43 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() argument
49 (cmd_resp.response_v2.response == sensor_sts && in amd_sfh_wait_response_v2()
/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_init.c91 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 …]