Lines Matching refs:indx
571 static void coretemp_remove_core(struct platform_data *pdata, int indx) in coretemp_remove_core() argument
573 struct temp_data *tdata = pdata->core_data[indx]; in coretemp_remove_core()
582 kfree(pdata->core_data[indx]); in coretemp_remove_core()
583 pdata->core_data[indx] = NULL; in coretemp_remove_core()
585 if (indx >= BASE_SYSFS_ATTR_NO) in coretemp_remove_core()
586 ida_free(&pdata->ida, indx - BASE_SYSFS_ATTR_NO); in coretemp_remove_core()
699 int i, indx = -1, target; in coretemp_cpu_offline() local
712 indx = i + BASE_SYSFS_ATTR_NO; in coretemp_cpu_offline()
718 if (indx < 0) in coretemp_cpu_offline()
721 tdata = pd->core_data[indx]; in coretemp_cpu_offline()
732 coretemp_remove_core(pd, indx); in coretemp_cpu_offline()