Home
last modified time | relevance | path

Searched refs:pkg_id (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/samsung/
Dexynos5422-asv.c438 static unsigned int exynos5422_asv_parse_table(unsigned int pkg_id) in exynos5422_asv_parse_table() argument
440 return (pkg_id >> EXYNOS5422_TABLE_OFFSET) & EXYNOS5422_TABLE_MASK; in exynos5422_asv_parse_table()
443 static bool exynos5422_asv_parse_bin2(unsigned int pkg_id) in exynos5422_asv_parse_bin2() argument
445 return (pkg_id >> EXYNOS5422_BIN2_OFFSET) & EXYNOS5422_BIN2_MASK; in exynos5422_asv_parse_bin2()
448 static bool exynos5422_asv_parse_sg(unsigned int pkg_id) in exynos5422_asv_parse_sg() argument
450 return (pkg_id >> EXYNOS5422_USESG_OFFSET) & EXYNOS5422_USESG_MASK; in exynos5422_asv_parse_sg()
457 unsigned int pkg_id; in exynos5422_asv_init() local
460 regmap_read(asv->chipid_regmap, EXYNOS_CHIPID_REG_PKG_ID, &pkg_id); in exynos5422_asv_init()
466 asv->use_sg = exynos5422_asv_parse_sg(pkg_id); in exynos5422_asv_init()
467 bin2 = exynos5422_asv_parse_bin2(pkg_id); in exynos5422_asv_init()
[all …]
/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/
Disst-config.c61 unsigned short pkg_id; member
71 short pkg_id; member
202 static int get_stored_topology_info(int cpu, int *core_id, int *pkg_id, int *die_id) in get_stored_topology_info() argument
223 *pkg_id = cpu_top.pkg_id; in get_stored_topology_info()
263 cpu_top.pkg_id = parse_int_file(0, in store_cpu_topology()
265 if (cpu_top.pkg_id < 0) in store_cpu_topology()
266 cpu_top.pkg_id = -1; in store_cpu_topology()
292 int core_id, pkg_id, die_id; in get_physical_package_id() local
294 ret = get_stored_topology_info(cpu, &core_id, &pkg_id, &die_id); in get_physical_package_id()
296 return pkg_id; in get_physical_package_id()
[all …]
Disst.h80 int pkg_id; member
120 int pkg_id; member
172 extern int get_cpu_count(int pkg_id, int die_id);
173 extern int get_max_punit_core_id(int pkg_id, int die_id);
183 extern int find_logical_cpu(int pkg_id, int die_id, int phy_cpu);
Disst-core.c783 ctdp_level->pkg_id = get_physical_package_id(cpu); in isst_get_process_ctdp()
972 clos_config->pkg_id = get_physical_package_id(cpu); in isst_pm_get_clos()
/kernel/linux/linux-5.10/drivers/hwmon/
Dcoretemp.c93 u16 pkg_id; member
112 return sprintf(buf, "Package id %u\n", pdata->pkg_id); in show_label()
539 pdata->pkg_id = pdev->id; in coretemp_probe()
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
Dturbostat.c5538 int pkg_id = cpus[cpu_id].physical_package_id; in init_counter() local
5553 t = GET_THREAD(thread_base, thread_id, core_id, node_id, pkg_id); in init_counter()
5554 c = GET_CORE(core_base, core_id, node_id, pkg_id); in init_counter()
5555 p = GET_PKG(pkg_base, pkg_id); in init_counter()
5565 p->package_id = pkg_id; in init_counter()