Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hid/amd-sfh-hid/
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()
295 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_init()
334 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_deinit()
338 if (status != SENSOR_ENABLED) in amd_sfh_hid_client_deinit()
Damd_sfh_common.h22 #define SENSOR_ENABLED 4 macro
/Linux-v6.6/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()
171 cl_data->sensor_sts[i] = (status == 0) ? SENSOR_ENABLED : SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()
176 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()
220 status = SENSOR_ENABLED; in amd_sfh_resume()
221 if (status == SENSOR_ENABLED) in amd_sfh_resume()
222 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
240 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()
246 if (status != SENSOR_ENABLED) in amd_sfh_suspend()