Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/kernel/
A Dcacheinfo.c262 const __be32 *nr_sets; in cache_nr_sets() local
267 if (!nr_sets) in cache_nr_sets()
270 *ret = of_read_number(nr_sets, 1); in cache_nr_sets()
277 unsigned int nr_sets; in cache_associativity() local
280 if (cache_nr_sets(cache, &nr_sets)) in cache_associativity()
286 if (nr_sets == 1) { in cache_associativity()
296 if (!(nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity()
299 *ret = (size / nr_sets) / line_size; in cache_associativity()
625 unsigned int nr_sets; in nr_sets_show() local
630 if (cache_nr_sets(cache, &nr_sets)) in nr_sets_show()
[all …]
/linux/drivers/mtd/nand/raw/
A Ds3c2410.c1042 pdata->nr_sets = of_get_child_count(np); in s3c24xx_nand_probe_dt()
1043 if (!pdata->nr_sets) in s3c24xx_nand_probe_dt()
1046 sets = devm_kcalloc(&pdev->dev, pdata->nr_sets, sizeof(*sets), in s3c24xx_nand_probe_dt()
1091 int nr_sets; in s3c24xx_nand_probe() local
1143 if (!plat->sets || plat->nr_sets < 1) { in s3c24xx_nand_probe()
1149 nr_sets = plat->nr_sets; in s3c24xx_nand_probe()
1151 info->mtd_count = nr_sets; in s3c24xx_nand_probe()
1155 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe()
1166 for (setno = 0; setno < nr_sets; setno++, nmtd++, sets++) { in s3c24xx_nand_probe()
/linux/kernel/irq/
A 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/drivers/base/
A 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/include/linux/platform_data/
A Dmtd-nand-s3c2410.h54 int nr_sets; member
/linux/arch/arm/mach-s3c/
A Dmach-vstms.c112 .nr_sets = ARRAY_SIZE(vstms_nand_sets),
A Dcommon-smdk-s3c24xx.c191 .nr_sets = ARRAY_SIZE(smdk_nand_sets),
A Dmach-rx3715.c161 .nr_sets = ARRAY_SIZE(rx3715_nand_sets),
A Dmach-at2440evb.c107 .nr_sets = ARRAY_SIZE(at2440evb_nand_sets),
A Dmach-hmt.c198 .nr_sets = ARRAY_SIZE(hmt_nand_sets),
A Dmach-qt2410.c299 .nr_sets = ARRAY_SIZE(qt2410_nand_sets),
A Dmach-real6410.c188 .nr_sets = ARRAY_SIZE(real6410_nand_sets),
A Dmach-mini6410.c136 .nr_sets = ARRAY_SIZE(mini6410_nand_sets),
A Dmach-anubis.c215 .nr_sets = ARRAY_SIZE(anubis_nand_sets),
A Dmach-osiris.c231 .nr_sets = ARRAY_SIZE(osiris_nand_sets),
A Dmach-gta02.c415 .nr_sets = ARRAY_SIZE(gta02_nand_sets),
A 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()
A Dmach-jive.c229 .nr_sets = ARRAY_SIZE(jive_nand_sets),
A Dmach-bast.c291 .nr_sets = ARRAY_SIZE(bast_nand_sets),
A Dmach-mini2440.c306 .nr_sets = ARRAY_SIZE(mini2440_nand_sets),
A Dmach-rx1950.c640 .nr_sets = ARRAY_SIZE(rx1950_nand_sets),
/linux/drivers/net/wireless/marvell/libertas/
A 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()
A Dhost.h471 uint8_t nr_sets; member
/linux/drivers/scsi/csiostor/
A Dcsio_isr.c486 affd->nr_sets = 1; in csio_calc_sets()
491 affd->nr_sets = hw->num_pports; in csio_calc_sets()
/linux/include/linux/
A Dinterrupt.h306 unsigned int nr_sets; member

Completed in 48 milliseconds

12