Home
last modified time | relevance | path

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

/linux/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()
147 cl_data->sensor_sts[i] = (status == 0) ? SENSOR_ENABLED : SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()
148 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()
204 cl_data->sensor_sts[i] = (status == 0) ? SENSOR_ENABLED : SENSOR_DISABLED; in amd_sfh1_1_hid_client_init()
211 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh1_1_hid_client_init()
276 status = SENSOR_ENABLED; in amd_sfh_resume()
277 if (status == SENSOR_ENABLED) in amd_sfh_resume()
278 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
303 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()
309 if (status != SENSOR_ENABLED) in amd_sfh_suspend()
[all …]
/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c130 if (cli_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_work_buffer()
182 (mp2, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_resume()
183 if (status == SENSOR_ENABLED) in amd_sfh_resume()
184 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_sfh_resume()
202 cl_data->sensor_sts[i] == SENSOR_ENABLED) { in amd_sfh_suspend()
206 if (status != SENSOR_ENABLED) in amd_sfh_suspend()
264 SENSOR_ENABLED); in amd_sfh_hid_client_init()
265 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) in amd_sfh_hid_client_init()
314 (privdata, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_sfh_hid_client_init()
316 if (cl_data->sensor_sts[i] == SENSOR_ENABLED) in amd_sfh_hid_client_init()
[all …]
H A Damd_sfh_common.h26 #define SENSOR_ENABLED 4 macro