Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/hid/amd-sfh-hid/sfh1_1/
A 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-6.3-rc2/drivers/hid/amd-sfh-hid/
A 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()
290 if (status == SENSOR_ENABLED) { in amd_sfh_hid_client_init()
292 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_hid_client_init()
298 if (status != SENSOR_ENABLED) in amd_sfh_hid_client_init()
352 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_hid_client_deinit()
[all …]
A Damd_sfh_common.h22 #define SENSOR_ENABLED 4 macro

Completed in 6 milliseconds