Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/etnaviv/
Detnaviv_perfmon.c35 u32 nr_domains; member
391 .nr_domains = ARRAY_SIZE(doms_3d),
395 .nr_domains = ARRAY_SIZE(doms_2d),
399 .nr_domains = ARRAY_SIZE(doms_vg),
410 if (domain->iter >= meta->nr_domains) in etnaviv_pm_query_dom()
420 if (domain->iter == meta->nr_domains) in etnaviv_pm_query_dom()
433 if (signal->domain >= meta->nr_domains) in etnaviv_pm_query_sig()
459 if (r->domain >= meta->nr_domains) in etnaviv_pm_req_validate()
/Linux-v4.19/drivers/pinctrl/samsung/
Dpinctrl-s3c64xx.c456 unsigned int nr_domains; in s3c64xx_eint_gpio_init() local
464 nr_domains = 0; in s3c64xx_eint_gpio_init()
483 ++nr_domains; in s3c64xx_eint_gpio_init()
486 data = devm_kzalloc(dev, struct_size(data, domains, nr_domains), in s3c64xx_eint_gpio_init()
493 nr_domains = 0; in s3c64xx_eint_gpio_init()
498 data->domains[nr_domains++] = bank->irq_domain; in s3c64xx_eint_gpio_init()
/Linux-v4.19/drivers/powercap/
Dintel_rapl.c187 unsigned int nr_domains; member
1187 for (dmn = 0; dmn < rp->nr_domains; dmn++) { in rapl_update_domain_data()
1221 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_package_register_powercap()
1251 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_package_register_powercap()
1415 rp->nr_domains = bitmap_weight(&rp->domain_map, RAPL_DOMAIN_MAX); in rapl_detect_domains()
1416 if (!rp->nr_domains) { in rapl_detect_domains()
1420 pr_debug("found %d domains on package %d\n", rp->nr_domains, rp->id); in rapl_detect_domains()
1422 rp->domains = kcalloc(rp->nr_domains + 1, sizeof(struct rapl_domain), in rapl_detect_domains()
1429 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) in rapl_detect_domains()
1442 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { in rapl_remove_package()