Lines Matching refs:sensor_idx
77 privdata->mp2_ops->stop(privdata, cl_data->sensor_idx[i]); in amd_sfh_hid_client_deinit()
79 (privdata, cl_data->sensor_idx[i], DISABLE_SENSOR); in amd_sfh_hid_client_deinit()
83 cl_data->sensor_idx[i], get_sensor_name(cl_data->sensor_idx[i]), in amd_sfh_hid_client_deinit()
112 cl_data->num_hid_devices = amd_sfh_get_sensor_num(privdata, &cl_data->sensor_idx[0]); in amd_sfh1_1_hid_client_init()
126 cl_idx = cl_data->sensor_idx[i]; in amd_sfh1_1_hid_client_init()
154 info.sensor_idx = cl_idx; in amd_sfh1_1_hid_client_init()
169 (privdata, cl_data->sensor_idx[i], ENABLE_SENSOR); in amd_sfh1_1_hid_client_init()
183 cl_data->sensor_idx[i], get_sensor_name(cl_data->sensor_idx[i]), in amd_sfh1_1_hid_client_init()
220 info.sensor_idx = cl_data->sensor_idx[i]; in amd_sfh_resume()
223 (mp2, cl_data->sensor_idx[i], ENABLE_SENSOR); in amd_sfh_resume()
229 cl_data->sensor_idx[i], get_sensor_name(cl_data->sensor_idx[i]), in amd_sfh_resume()
249 if (cl_data->sensor_idx[i] != HPD_IDX && in amd_sfh_suspend()
251 mp2->mp2_ops->stop(mp2, cl_data->sensor_idx[i]); in amd_sfh_suspend()
253 (mp2, cl_data->sensor_idx[i], DISABLE_SENSOR); in amd_sfh_suspend()
259 cl_data->sensor_idx[i], get_sensor_name(cl_data->sensor_idx[i]), in amd_sfh_suspend()