Home
last modified time | relevance | path

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

/linux-6.15/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()
148 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()
209 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()
274 status = SENSOR_ENABLED; in amd_sfh_resume()
275 if (status == SENSOR_ENABLED) in amd_sfh_resume()
276 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
307 if (status != SENSOR_ENABLED) in amd_sfh_suspend()
337 status = SENSOR_ENABLED; in amd_sfh_toggle_hpd()
338 if (status == SENSOR_ENABLED) in amd_sfh_toggle_hpd()
339 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_toggle_hpd()
[all …]
/linux-6.15/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c121 if (cli_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_work_buffer()
172 (mp2, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_resume()
173 if (status == SENSOR_ENABLED) in amd_sfh_resume()
174 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
192 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()
196 if (status != SENSOR_ENABLED) in amd_sfh_suspend()
290 (privdata, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_hid_client_init()
292 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) in amd_sfh_hid_client_init()
306 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_init()
337 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_deinit()
[all …]
H A Damd_sfh_common.h25 #define SENSOR_ENABLED 4 macro