Searched refs:nr_domains (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_perfmon.c | 37 u32 nr_domains; member 447 .nr_domains = ARRAY_SIZE(doms_3d), 452 .nr_domains = ARRAY_SIZE(doms_2d), 457 .nr_domains = ARRAY_SIZE(doms_vg), 470 num += meta->nr_domains; in num_pm_domains() 488 if (index - offset >= meta->nr_domains) { in pm_domain() 489 offset += meta->nr_domains; in pm_domain() 502 const unsigned int nr_domains = num_pm_domains(gpu); in etnaviv_pm_query_dom() local 505 if (domain->iter >= nr_domains) in etnaviv_pm_query_dom() 517 if (domain->iter == nr_domains) in etnaviv_pm_query_dom() [all …]
|
/drivers/pinctrl/samsung/ |
D | pinctrl-s3c64xx.c | 454 unsigned int nr_domains; in s3c64xx_eint_gpio_init() local 462 nr_domains = 0; in s3c64xx_eint_gpio_init() 481 ++nr_domains; in s3c64xx_eint_gpio_init() 484 data = devm_kzalloc(dev, struct_size(data, domains, nr_domains), in s3c64xx_eint_gpio_init() 491 nr_domains = 0; in s3c64xx_eint_gpio_init() 496 data->domains[nr_domains++] = bank->irq_domain; in s3c64xx_eint_gpio_init()
|
/drivers/powercap/ |
D | intel_rapl_common.c | 1294 for (dmn = 0; dmn < rp->nr_domains; dmn++) { in rapl_update_domain_data() 1319 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_package_register_powercap() 1343 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_package_register_powercap() 1485 rp->nr_domains = bitmap_weight(&rp->domain_map, RAPL_DOMAIN_MAX); in rapl_detect_domains() 1486 if (!rp->nr_domains) { in rapl_detect_domains() 1490 pr_debug("found %d domains on %s\n", rp->nr_domains, rp->name); in rapl_detect_domains() 1492 rp->domains = kcalloc(rp->nr_domains, sizeof(struct rapl_domain), in rapl_detect_domains() 1499 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_detect_domains() 1514 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_remove_package_cpuslocked()
|