Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/
H A Dcacheinfo.c262 const __be32 *nr_sets; in cache_nr_sets()
266 nr_sets = of_get_property(cache->ofnode, propname, NULL); in cache_nr_sets()
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()
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()
261 const __be32 *nr_sets; cache_nr_sets() local
276 unsigned int nr_sets; cache_associativity() local
624 unsigned int nr_sets; nr_sets_show() local
[all...]
/linux/drivers/base/
H A Dcacheinfo.c189 unsigned int nr_sets = this_leaf->number_of_sets; in match_cache_node()
196 if (!(nr_sets == 1) && (nr_sets > 0 && size > 0 && line_size > 0)) in match_cache_node()
197 this_leaf->ways_of_associativity = (size / nr_sets) / line_size; in match_cache_node()
170 unsigned int nr_sets = this_leaf->number_of_sets; cache_associativity() local
/linux/drivers/scsi/csiostor/
H A Dcsio_isr.c486 affd->nr_sets = 1; in csio_calc_sets()
491 affd->nr_sets = hw->num_pports; in csio_calc_sets()
/linux/drivers/virtio/
H A Dvirtio_vdpa.c269 affd->nr_sets = 1; in default_calc_sets()
298 for (i = 0, usedvecs = 0; i < affd->nr_sets; i++) { in create_affinity_masks()
/linux/drivers/net/wireless/marvell/libertas/
H A Dhost.h473 uint8_t nr_sets; member
/linux/drivers/nvme/host/
H A Dpci.c2890 affd->nr_sets = nr_read_queues ? 2 : 1; in nvme_setup_irqs()