Searched refs:pkg_flag (Results 1 – 1 of 1) sorted by relevance
432 static struct temp_data *init_temp_data(unsigned int cpu, int pkg_flag) in init_temp_data() argument440 tdata->status_reg = pkg_flag ? MSR_IA32_PACKAGE_THERM_STATUS : in init_temp_data()442 tdata->is_pkg_data = pkg_flag; in init_temp_data()451 int pkg_flag) in create_core_data() argument465 attr_no = pkg_flag ? PKG_SYSFS_ATTR_NO : TO_ATTR_NO(cpu); in create_core_data()470 tdata = init_temp_data(cpu, pkg_flag); in create_core_data()512 coretemp_add_core(struct platform_device *pdev, unsigned int cpu, int pkg_flag) in coretemp_add_core() argument514 if (create_core_data(pdev, cpu, pkg_flag)) in coretemp_add_core()