Home
last modified time | relevance | path

Searched refs:nr_sets (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.10/arch/powerpc/kernel/
Dcacheinfo.c259 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/
Ds3c2410.c1041 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/
Dmtd-nand-s3c2410.h54 int nr_sets; member
/Linux-v5.10/kernel/irq/
Daffinity.c404 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/
Dcacheinfo.c122 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/
Dmach-vstms.c112 .nr_sets = ARRAY_SIZE(vstms_nand_sets),
Dcommon-smdk-s3c24xx.c191 .nr_sets = ARRAY_SIZE(smdk_nand_sets),
Dmach-rx3715.c161 .nr_sets = ARRAY_SIZE(rx3715_nand_sets),
Dmach-at2440evb.c107 .nr_sets = ARRAY_SIZE(at2440evb_nand_sets),
Dmach-hmt.c198 .nr_sets = ARRAY_SIZE(hmt_nand_sets),
Dmach-qt2410.c299 .nr_sets = ARRAY_SIZE(qt2410_nand_sets),
Dmach-real6410.c188 .nr_sets = ARRAY_SIZE(real6410_nand_sets),
Dmach-mini6410.c136 .nr_sets = ARRAY_SIZE(mini6410_nand_sets),
Dmach-anubis.c215 .nr_sets = ARRAY_SIZE(anubis_nand_sets),
Dmach-osiris.c231 .nr_sets = ARRAY_SIZE(osiris_nand_sets),
Dmach-gta02.c416 .nr_sets = ARRAY_SIZE(gta02_nand_sets),
Ddevs.c721 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()
Dmach-jive.c229 .nr_sets = ARRAY_SIZE(jive_nand_sets),
Dmach-bast.c291 .nr_sets = ARRAY_SIZE(bast_nand_sets),
Dmach-mini2440.c306 .nr_sets = ARRAY_SIZE(mini2440_nand_sets),
Dmach-rx1950.c632 .nr_sets = ARRAY_SIZE(rx1950_nand_sets),
/Linux-v5.10/drivers/net/wireless/marvell/libertas/
Dcfg.c514 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()
Dhost.h471 uint8_t nr_sets; member
/Linux-v5.10/drivers/scsi/csiostor/
Dcsio_isr.c486 affd->nr_sets = 1; in csio_calc_sets()
491 affd->nr_sets = hw->num_pports; in csio_calc_sets()
/Linux-v5.10/include/linux/
Dinterrupt.h297 unsigned int nr_sets; member

12