Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/powerpc/kernel/
Dcacheinfo.c257 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/
Ds3c2410.c1040 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/
Dmtd-nand-s3c2410.h54 int nr_sets; member
/Linux-v5.4/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.4/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.4/arch/arm/mach-s3c24xx/
Dmach-vstms.c113 .nr_sets = ARRAY_SIZE(vstms_nand_sets),
Dmach-rx3715.c159 .nr_sets = ARRAY_SIZE(rx3715_nand_sets),
Dcommon-smdk.c167 .nr_sets = ARRAY_SIZE(smdk_nand_sets),
Dmach-at2440evb.c110 .nr_sets = ARRAY_SIZE(at2440evb_nand_sets),
Dmach-qt2410.c282 .nr_sets = ARRAY_SIZE(qt2410_nand_sets),
Dmach-anubis.c218 .nr_sets = ARRAY_SIZE(anubis_nand_sets),
Dmach-gta02.c417 .nr_sets = ARRAY_SIZE(gta02_nand_sets),
Dmach-osiris.c234 .nr_sets = ARRAY_SIZE(osiris_nand_sets),
Dmach-jive.c230 .nr_sets = ARRAY_SIZE(jive_nand_sets),
Dmach-bast.c294 .nr_sets = ARRAY_SIZE(bast_nand_sets),
Dmach-mini2440.c296 .nr_sets = ARRAY_SIZE(mini2440_nand_sets),
Dmach-rx1950.c617 .nr_sets = ARRAY_SIZE(rx1950_nand_sets),
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Dcfg.c510 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()
Dhost.h471 uint8_t nr_sets; member
/Linux-v5.4/arch/arm/mach-s3c64xx/
Dmach-hmt.c201 .nr_sets = ARRAY_SIZE(hmt_nand_sets),
Dmach-real6410.c189 .nr_sets = ARRAY_SIZE(real6410_nand_sets),
Dmach-mini6410.c137 .nr_sets = ARRAY_SIZE(mini6410_nand_sets),
/Linux-v5.4/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.4/arch/arm/plat-samsung/
Ddevs.c716 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/
Dinterrupt.h282 unsigned int nr_sets; member

12