Lines Matching defs:size
50 .size_prop = "cache-size",
51 .line_size_props = { "cache-line-size",
52 "cache-block-size", },
55 .size_prop = "i-cache-size",
56 .line_size_props = { "i-cache-line-size",
57 "i-cache-block-size", },
60 .size_prop = "d-cache-size",
61 .line_size_props = { "d-cache-line-size",
62 "d-cache-block-size", },
82 of_property_read_u32(np, propname, &this_leaf->size);
123 unsigned int size = this_leaf->size;
129 if (!(nr_sets == 1) && (nr_sets > 0 && size > 0 && line_size > 0))
130 this_leaf->ways_of_associativity = (size / nr_sets) / line_size;
256 /* record the maximum cache line size */
380 return sysfs_emit(buf, "%uK\n", this_leaf->size >> 10);
463 static DEVICE_ATTR_RO(size);
509 this_leaf->size) /* allow 0 = full associativity */
514 if ((attr == &dev_attr_size.attr) && this_leaf->size)