/Linux-v5.10/arch/powerpc/kernel/ |
D | cacheinfo.c | 259 const __be32 *nr_sets; in cache_nr_sets() local 263 nr_sets = of_get_property(cache->ofnode, propname, NULL); in cache_nr_sets() 264 if (!nr_sets) in cache_nr_sets() 267 *ret = of_read_number(nr_sets, 1); in cache_nr_sets() 274 unsigned int nr_sets; in cache_associativity() local 277 if (cache_nr_sets(cache, &nr_sets)) in cache_associativity() 283 if (nr_sets == 1) { in cache_associativity() 293 if (!(nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity() 296 *ret = (size / nr_sets) / line_size; in cache_associativity() 588 unsigned int nr_sets; in nr_sets_show() local [all …]
|
/Linux-v5.10/drivers/mtd/nand/raw/ |
D | s3c2410.c | 1041 pdata->nr_sets = of_get_child_count(np); in s3c24xx_nand_probe_dt() 1042 if (!pdata->nr_sets) in s3c24xx_nand_probe_dt() 1045 sets = devm_kcalloc(&pdev->dev, pdata->nr_sets, sizeof(*sets), in s3c24xx_nand_probe_dt() 1090 int nr_sets; in s3c24xx_nand_probe() local 1142 if (!plat->sets || plat->nr_sets < 1) { in s3c24xx_nand_probe() 1148 nr_sets = plat->nr_sets; in s3c24xx_nand_probe() 1150 info->mtd_count = nr_sets; in s3c24xx_nand_probe() 1154 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe() 1165 for (setno = 0; setno < nr_sets; setno++, nmtd++, sets++) { in s3c24xx_nand_probe()
|
/Linux-v5.10/include/linux/platform_data/ |
D | mtd-nand-s3c2410.h | 54 int nr_sets; member
|
/Linux-v5.10/kernel/irq/ |
D | affinity.c | 404 affd->nr_sets = 1; in default_calc_sets() 442 if (WARN_ON_ONCE(affd->nr_sets > IRQ_AFFINITY_MAX_SETS)) in irq_create_affinity_masks() 461 for (i = 0, usedvecs = 0; i < affd->nr_sets; i++) { in irq_create_affinity_masks()
|
/Linux-v5.10/drivers/base/ |
D | cacheinfo.c | 122 unsigned int nr_sets = this_leaf->number_of_sets; in cache_associativity() local 129 if (!(nr_sets == 1) && (nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity() 130 this_leaf->ways_of_associativity = (size / nr_sets) / line_size; in cache_associativity()
|
/Linux-v5.10/arch/arm/mach-s3c/ |
D | mach-vstms.c | 112 .nr_sets = ARRAY_SIZE(vstms_nand_sets),
|
D | common-smdk-s3c24xx.c | 191 .nr_sets = ARRAY_SIZE(smdk_nand_sets),
|
D | mach-rx3715.c | 161 .nr_sets = ARRAY_SIZE(rx3715_nand_sets),
|
D | mach-at2440evb.c | 107 .nr_sets = ARRAY_SIZE(at2440evb_nand_sets),
|
D | mach-hmt.c | 198 .nr_sets = ARRAY_SIZE(hmt_nand_sets),
|
D | mach-qt2410.c | 299 .nr_sets = ARRAY_SIZE(qt2410_nand_sets),
|
D | mach-real6410.c | 188 .nr_sets = ARRAY_SIZE(real6410_nand_sets),
|
D | mach-mini6410.c | 136 .nr_sets = ARRAY_SIZE(mini6410_nand_sets),
|
D | mach-anubis.c | 215 .nr_sets = ARRAY_SIZE(anubis_nand_sets),
|
D | mach-osiris.c | 231 .nr_sets = ARRAY_SIZE(osiris_nand_sets),
|
D | mach-gta02.c | 416 .nr_sets = ARRAY_SIZE(gta02_nand_sets),
|
D | devs.c | 721 size = sizeof(struct s3c2410_nand_set) * npd->nr_sets; in s3c_nand_set_platdata() 735 for (i = 0; i < npd->nr_sets; i++) { in s3c_nand_set_platdata()
|
D | mach-jive.c | 229 .nr_sets = ARRAY_SIZE(jive_nand_sets),
|
D | mach-bast.c | 291 .nr_sets = ARRAY_SIZE(bast_nand_sets),
|
D | mach-mini2440.c | 306 .nr_sets = ARRAY_SIZE(mini2440_nand_sets),
|
D | mach-rx1950.c | 632 .nr_sets = ARRAY_SIZE(rx1950_nand_sets),
|
/Linux-v5.10/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 514 scanresp->nr_sets, bsssize, le16_to_cpu(resp->size)); in lbs_ret_scan() 516 if (scanresp->nr_sets == 0) { in lbs_ret_scan() 552 tsfsize = 4 + 8 * scanresp->nr_sets; in lbs_ret_scan() 569 if (i / 8 != scanresp->nr_sets) { in lbs_ret_scan() 571 "sets (expected %d got %d)\n", scanresp->nr_sets, in lbs_ret_scan() 576 for (i = 0; i < scanresp->nr_sets; i++) { in lbs_ret_scan()
|
D | host.h | 471 uint8_t nr_sets; member
|
/Linux-v5.10/drivers/scsi/csiostor/ |
D | csio_isr.c | 486 affd->nr_sets = 1; in csio_calc_sets() 491 affd->nr_sets = hw->num_pports; in csio_calc_sets()
|
/Linux-v5.10/include/linux/ |
D | interrupt.h | 297 unsigned int nr_sets; member
|