Lines Matching refs:sensor_idx
76 switch (cl_data->sensor_idx[i]) { in amd_sfh_hid_client_deinit()
86 privdata->mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_deinit()
88 (privdata, cl_data->sensor_idx[i], DISABLE_SENSOR); in amd_sfh_hid_client_deinit()
92 cl_data->sensor_idx[i], get_sensor_name(cl_data->sensor_idx[i]), in amd_sfh_hid_client_deinit()
121 cl_data->num_hid_devices = amd_sfh_get_sensor_num(privdata, &cl_data->sensor_idx[0]); in amd_sfh1_1_hid_client_init()
135 cl_idx = cl_data->sensor_idx[i]; in amd_sfh1_1_hid_client_init()
163 info.sensor_idx = cl_idx; in amd_sfh1_1_hid_client_init()
178 (privdata, cl_data->sensor_idx[i], ENABLE_SENSOR); in amd_sfh1_1_hid_client_init()
190 switch (cl_data->sensor_idx[i]) { in amd_sfh1_1_hid_client_init()
200 cl_data->sensor_idx[i], get_sensor_name(cl_data->sensor_idx[i]), in amd_sfh1_1_hid_client_init()
237 info.sensor_idx = cl_data->sensor_idx[i]; in amd_sfh_resume()
240 (mp2, cl_data->sensor_idx[i], ENABLE_SENSOR); in amd_sfh_resume()
246 cl_data->sensor_idx[i], get_sensor_name(cl_data->sensor_idx[i]), in amd_sfh_resume()
266 if (cl_data->sensor_idx[i] != HPD_IDX && in amd_sfh_suspend()
268 mp2->mp2_ops->stop(mp2, cl_data->sensor_idx[i]); in amd_sfh_suspend()
270 (mp2, cl_data->sensor_idx[i], DISABLE_SENSOR); in amd_sfh_suspend()
276 cl_data->sensor_idx[i], get_sensor_name(cl_data->sensor_idx[i]), in amd_sfh_suspend()