Lines Matching refs:indx
577 static void coretemp_remove_core(struct platform_data *pdata, int indx) in coretemp_remove_core() argument
579 struct temp_data *tdata = pdata->core_data[indx]; in coretemp_remove_core()
588 kfree(pdata->core_data[indx]); in coretemp_remove_core()
589 pdata->core_data[indx] = NULL; in coretemp_remove_core()
591 if (indx >= BASE_SYSFS_ATTR_NO) in coretemp_remove_core()
592 ida_free(&pdata->ida, indx - BASE_SYSFS_ATTR_NO); in coretemp_remove_core()
705 int i, indx = -1, target; in coretemp_cpu_offline() local
718 indx = i + BASE_SYSFS_ATTR_NO; in coretemp_cpu_offline()
724 if (indx < 0) in coretemp_cpu_offline()
727 tdata = pd->core_data[indx]; in coretemp_cpu_offline()
738 coretemp_remove_core(pd, indx); in coretemp_cpu_offline()