Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/kernel/
A Dcacheinfo.c261 const __be32 *nr_sets; in cache_nr_sets() local
266 if (!nr_sets) in cache_nr_sets()
269 *ret = of_read_number(nr_sets, 1); in cache_nr_sets()
276 unsigned int nr_sets; in cache_associativity() local
279 if (cache_nr_sets(cache, &nr_sets)) in cache_associativity()
285 if (nr_sets == 1) { in cache_associativity()
295 if (!(nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity()
298 *ret = (size / nr_sets) / line_size; in cache_associativity()
624 unsigned int nr_sets; in nr_sets_show() local
629 if (cache_nr_sets(cache, &nr_sets)) in nr_sets_show()
[all …]
/linux-6.3-rc2/kernel/irq/
A Daffinity.c14 affd->nr_sets = 1; in default_calc_sets()
52 if (WARN_ON_ONCE(affd->nr_sets > IRQ_AFFINITY_MAX_SETS)) in irq_create_affinity_masks()
71 for (i = 0, usedvecs = 0; i < affd->nr_sets; i++) { in irq_create_affinity_masks()
/linux-6.3-rc2/drivers/mtd/nand/raw/
A Ds3c2410.c988 pdata->nr_sets = of_get_child_count(np); in s3c24xx_nand_probe_dt()
989 if (!pdata->nr_sets) in s3c24xx_nand_probe_dt()
992 sets = devm_kcalloc(&pdev->dev, pdata->nr_sets, sizeof(*sets), in s3c24xx_nand_probe_dt()
1037 int nr_sets; in s3c24xx_nand_probe() local
1089 if (!plat->sets || plat->nr_sets < 1) { in s3c24xx_nand_probe()
1095 nr_sets = plat->nr_sets; in s3c24xx_nand_probe()
1097 info->mtd_count = nr_sets; in s3c24xx_nand_probe()
1101 size = nr_sets * sizeof(*info->mtds); in s3c24xx_nand_probe()
1112 for (setno = 0; setno < nr_sets; setno++, nmtd++, sets++) { in s3c24xx_nand_probe()
/linux-6.3-rc2/include/linux/platform_data/
A Dmtd-nand-s3c2410.h54 int nr_sets; member
/linux-6.3-rc2/drivers/base/
A Dcacheinfo.c163 unsigned int nr_sets = this_leaf->number_of_sets; in cache_associativity() local
170 if (!(nr_sets == 1) && (nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity()
171 this_leaf->ways_of_associativity = (size / nr_sets) / line_size; in cache_associativity()
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas/
A Dcfg.c557 scanresp->nr_sets, bsssize, le16_to_cpu(resp->size)); in lbs_ret_scan()
559 if (scanresp->nr_sets == 0) { in lbs_ret_scan()
595 tsfsize = 4 + 8 * scanresp->nr_sets; in lbs_ret_scan()
612 if (i / 8 != scanresp->nr_sets) { in lbs_ret_scan()
614 "sets (expected %d got %d)\n", scanresp->nr_sets, in lbs_ret_scan()
619 for (i = 0; i < scanresp->nr_sets; i++) { in lbs_ret_scan()
A Dhost.h473 uint8_t nr_sets; member
/linux-6.3-rc2/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-6.3-rc2/include/linux/
A Dinterrupt.h288 unsigned int nr_sets; member
/linux-6.3-rc2/drivers/nvme/host/
A Dpci.c2205 affd->nr_sets = nr_read_queues ? 2 : 1; in nvme_calc_irq_sets()

Completed in 30 milliseconds