Lines Matching defs:cpu
61 #define TO_PHYS_ID(cpu) (cpu_data(cpu).phys_proc_id) argument
62 #define TO_CORE_ID(cpu) (cpu_data(cpu).cpu_core_id) argument
63 #define TO_ATTR_NO(cpu) (TO_CORE_ID(cpu) + BASE_SYSFS_ATTR_NO) argument
66 #define for_each_sibling(i, cpu) \ argument
69 #define for_each_sibling(i, cpu) for (i = 0; false; ) argument
90 unsigned int cpu; member
420 static int chk_ucode_version(unsigned int cpu) in chk_ucode_version()
436 static struct platform_device *coretemp_get_pdev(unsigned int cpu) in coretemp_get_pdev()
453 static struct temp_data *init_temp_data(unsigned int cpu, int pkg_flag) in init_temp_data()
471 static int create_core_data(struct platform_device *pdev, unsigned int cpu, in create_core_data()
542 static void coretemp_add_core(unsigned int cpu, int pkg_flag) in coretemp_add_core()
605 static int coretemp_device_add(unsigned int cpu) in coretemp_device_add()
649 static void coretemp_device_remove(unsigned int cpu) in coretemp_device_remove()
679 static void get_core_online(unsigned int cpu) in get_core_online()
721 static void put_core_offline(unsigned int cpu) in put_core_offline()
772 unsigned int cpu = (unsigned long) hcpu; in coretemp_cpu_callback() local