Home
last modified time | relevance | path

Searched refs:nr_domains (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/etnaviv/
Detnaviv_perfmon.c37 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 …]
/linux-5.19.10/drivers/pinctrl/samsung/
Dpinctrl-s3c64xx.c454 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()
/linux-5.19.10/drivers/powercap/
Dintel_rapl_common.c1142 for (dmn = 0; dmn < rp->nr_domains; dmn++) { in rapl_update_domain_data()
1165 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_package_register_powercap()
1189 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_package_register_powercap()
1300 rp->nr_domains = bitmap_weight(&rp->domain_map, RAPL_DOMAIN_MAX); in rapl_detect_domains()
1301 if (!rp->nr_domains) { in rapl_detect_domains()
1305 pr_debug("found %d domains on %s\n", rp->nr_domains, rp->name); in rapl_detect_domains()
1307 rp->domains = kcalloc(rp->nr_domains + 1, sizeof(struct rapl_domain), in rapl_detect_domains()
1314 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) in rapl_detect_domains()
1327 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_remove_package()
/linux-5.19.10/include/linux/
Dintel_rapl.h141 unsigned int nr_domains; member