Home
last modified time | relevance | path

Searched refs:SENSOR_ENABLED (Results 1 – 3 of 3) sorted by relevance

/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()
170 status = (status == 0) ? SENSOR_ENABLED : SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()
172 if (status == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()
173 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh1_1_hid_client_init()
181 if (status != SENSOR_ENABLED) in amd_sfh1_1_hid_client_init()
221 status = SENSOR_ENABLED; in amd_sfh_resume()
222 if (status == SENSOR_ENABLED) in amd_sfh_resume()
223 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
241 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()
247 if (status != SENSOR_ENABLED) in amd_sfh_suspend()
/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()
171 (mp2, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_resume()
172 if (status == SENSOR_ENABLED) in amd_sfh_resume()
173 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
191 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()
195 if (status != SENSOR_ENABLED) in amd_sfh_suspend()
284 (privdata, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_hid_client_init()
285 if (status == SENSOR_ENABLED) { in amd_sfh_hid_client_init()
286 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_hid_client_init()
292 if (status != SENSOR_ENABLED) in amd_sfh_hid_client_init()
[all …]
Damd_sfh_common.h22 #define SENSOR_ENABLED 4 macro