Lines Matching refs:indx
535 static void coretemp_remove_core(struct platform_data *pdata, int indx) in coretemp_remove_core() argument
537 struct temp_data *tdata = pdata->core_data[indx]; in coretemp_remove_core()
546 kfree(pdata->core_data[indx]); in coretemp_remove_core()
547 pdata->core_data[indx] = NULL; in coretemp_remove_core()
549 if (indx >= BASE_SYSFS_ATTR_NO) in coretemp_remove_core()
550 ida_free(&pdata->ida, indx - BASE_SYSFS_ATTR_NO); in coretemp_remove_core()
676 int i, indx = -1, target; in coretemp_cpu_offline() local
693 indx = i + BASE_SYSFS_ATTR_NO; in coretemp_cpu_offline()
699 if (indx < 0) in coretemp_cpu_offline()
702 tdata = pd->core_data[indx]; in coretemp_cpu_offline()
713 coretemp_remove_core(pd, indx); in coretemp_cpu_offline()