/Linux-v5.4/arch/powerpc/kernel/ |
D | cacheinfo.c | 257 const __be32 *nr_sets; in cache_nr_sets() local 261 nr_sets = of_get_property(cache->ofnode, propname, NULL); in cache_nr_sets() 262 if (!nr_sets) in cache_nr_sets() 265 *ret = of_read_number(nr_sets, 1); in cache_nr_sets() 272 unsigned int nr_sets; in cache_associativity() local 275 if (cache_nr_sets(cache, &nr_sets)) in cache_associativity() 281 if (nr_sets == 1) { in cache_associativity() 291 if (!(nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity() 294 *ret = (size / nr_sets) / line_size; in cache_associativity() 571 unsigned int nr_sets; in nr_sets_show() local [all …]
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | s3c2410.c | 1040 pdata->nr_sets = of_get_child_count(np); in s3c24xx_nand_probe_dt() 1041 if (!pdata->nr_sets) in s3c24xx_nand_probe_dt() 1044 sets = devm_kcalloc(&pdev->dev, pdata->nr_sets, sizeof(*sets), in s3c24xx_nand_probe_dt() 1089 int nr_sets; in s3c24xx_nand_probe() local 1141 if (!plat->sets || plat->nr_sets < 1) { in s3c24xx_nand_probe() 1147 nr_sets = plat->nr_sets; in s3c24xx_nand_probe() 1149 info->mtd_count = nr_sets; in s3c24xx_nand_probe() 1153 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe() 1164 for (setno = 0; setno < nr_sets; setno++, nmtd++, sets++) { in s3c24xx_nand_probe()
|
/Linux-v5.4/include/linux/platform_data/ |
D | mtd-nand-s3c2410.h | 54 int nr_sets; member
|
/Linux-v5.4/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.4/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.4/arch/arm/mach-s3c24xx/ |
D | mach-vstms.c | 113 .nr_sets = ARRAY_SIZE(vstms_nand_sets),
|
D | mach-rx3715.c | 159 .nr_sets = ARRAY_SIZE(rx3715_nand_sets),
|
D | common-smdk.c | 167 .nr_sets = ARRAY_SIZE(smdk_nand_sets),
|
D | mach-at2440evb.c | 110 .nr_sets = ARRAY_SIZE(at2440evb_nand_sets),
|
D | mach-qt2410.c | 282 .nr_sets = ARRAY_SIZE(qt2410_nand_sets),
|
D | mach-anubis.c | 218 .nr_sets = ARRAY_SIZE(anubis_nand_sets),
|
D | mach-gta02.c | 417 .nr_sets = ARRAY_SIZE(gta02_nand_sets),
|
D | mach-osiris.c | 234 .nr_sets = ARRAY_SIZE(osiris_nand_sets),
|
D | mach-jive.c | 230 .nr_sets = ARRAY_SIZE(jive_nand_sets),
|
D | mach-bast.c | 294 .nr_sets = ARRAY_SIZE(bast_nand_sets),
|
D | mach-mini2440.c | 296 .nr_sets = ARRAY_SIZE(mini2440_nand_sets),
|
D | mach-rx1950.c | 617 .nr_sets = ARRAY_SIZE(rx1950_nand_sets),
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 510 scanresp->nr_sets, bsssize, le16_to_cpu(resp->size)); in lbs_ret_scan() 512 if (scanresp->nr_sets == 0) { in lbs_ret_scan() 548 tsfsize = 4 + 8 * scanresp->nr_sets; in lbs_ret_scan() 565 if (i / 8 != scanresp->nr_sets) { in lbs_ret_scan() 567 "sets (expected %d got %d)\n", scanresp->nr_sets, in lbs_ret_scan() 572 for (i = 0; i < scanresp->nr_sets; i++) { in lbs_ret_scan()
|
D | host.h | 471 uint8_t nr_sets; member
|
/Linux-v5.4/arch/arm/mach-s3c64xx/ |
D | mach-hmt.c | 201 .nr_sets = ARRAY_SIZE(hmt_nand_sets),
|
D | mach-real6410.c | 189 .nr_sets = ARRAY_SIZE(real6410_nand_sets),
|
D | mach-mini6410.c | 137 .nr_sets = ARRAY_SIZE(mini6410_nand_sets),
|
/Linux-v5.4/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.4/arch/arm/plat-samsung/ |
D | devs.c | 716 size = sizeof(struct s3c2410_nand_set) * npd->nr_sets; in s3c_nand_set_platdata() 730 for (i = 0; i < npd->nr_sets; i++) { in s3c_nand_set_platdata()
|
/Linux-v5.4/include/linux/ |
D | interrupt.h | 282 unsigned int nr_sets; member
|