Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/hid/amd-sfh-hid/
Damd_sfh_client.c125 if (cli_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_work_buffer()
135 u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_for_response() argument
138 sensor_sts = mp2->mp2_ops->response(mp2, sid, sensor_sts); in amd_sfh_wait_for_response()
140 return sensor_sts; in amd_sfh_wait_for_response()
167 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_init()
213 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_hid_client_init()
220 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_init()
222 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_sfh_hid_client_init()
227 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_sfh_hid_client_init()
253 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_deinit()
[all …]
Damd_sfh_pcie.c35 static int amd_sfh_wait_response_v2(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts) in amd_sfh_wait_response_v2() argument
41 (cmd_resp.response_v2.response == sensor_sts && in amd_sfh_wait_response_v2()
276 if (cl_data->sensor_sts[i] == SENSOR_DISABLED) { in amd_mp2_pci_resume()
284 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_mp2_pci_resume()
286 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_mp2_pci_resume()
302 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_mp2_pci_suspend()
307 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_mp2_pci_suspend()
309 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_mp2_pci_suspend()
Damd_sfh_pcie.h134 u32 amd_sfh_wait_for_response(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts);
142 int (*response)(struct amd_mp2_dev *mp2, u8 sid, u32 sensor_sts);
Damd_sfh_hid.h35 u32 sensor_sts[MAX_HID_DEVICES]; member