Searched refs:nr_domains (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/powercap/
H A Dintel_rapl.c173 unsigned int nr_domains; member in struct:rapl_package
1120 for (dmn = 0; dmn < rp->nr_domains; dmn++) { rapl_update_domain_data()
1146 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rapl_unregister_powercap()
1181 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { rapl_package_register_powercap()
1213 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { rapl_package_register_powercap()
1267 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rapl_register_powercap()
1326 rp->nr_domains = bitmap_weight(&rp->domain_map, RAPL_DOMAIN_MAX); rapl_detect_domains()
1327 if (!rp->nr_domains) { rapl_detect_domains()
1332 pr_debug("found %d domains on package %d\n", rp->nr_domains, rp->id); rapl_detect_domains()
1334 rp->domains = kcalloc(rp->nr_domains + 1, sizeof(struct rapl_domain), rapl_detect_domains()
1342 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { rapl_detect_domains()
1422 for (rd = rp->domains; rd < rp->domains + rp->nr_domains; rd++) { rapl_remove_package()
/linux-4.4.14/drivers/pinctrl/samsung/
H A Dpinctrl-s3c64xx.c461 unsigned int nr_domains; s3c64xx_eint_gpio_init() local
469 nr_domains = 0; s3c64xx_eint_gpio_init()
488 ++nr_domains; s3c64xx_eint_gpio_init()
492 + nr_domains * sizeof(*data->domains), GFP_KERNEL); s3c64xx_eint_gpio_init()
500 nr_domains = 0; s3c64xx_eint_gpio_init()
505 data->domains[nr_domains++] = bank->irq_domain; s3c64xx_eint_gpio_init()

Completed in 104 milliseconds