Lines Matching defs:n_layers
57 for (i = 0; i < mci->n_layers; i++) {
240 * @n_layers: Number of MC hierarchy layers
262 unsigned n_layers,
279 BUG_ON(n_layers > EDAC_MAX_LAYERS || n_layers == 0);
284 for (i = 0; i < n_layers; i++) {
301 layer = edac_align_ptr(&ptr, sizeof(*layer), n_layers);
302 for (i = 0; i < n_layers; i++) {
328 for (i = 0; i < n_layers; i++) {
338 mci->n_layers = n_layers;
340 memcpy(mci->layers, layers, sizeof(*layer) * n_layers);
386 off = EDAC_DIMM_OFF(layer, n_layers, pos[0], pos[1], pos[2]);
406 for (j = 0; j < n_layers; j++) {
439 for (j = n_layers - 1; j >= 0; j--) {
949 for (i = 0; i < mci->n_layers; i++) {
955 if (i < mci->n_layers - 1)
974 for (i = 0; i < mci->n_layers; i++) {
980 if (i < mci->n_layers - 1)
1177 for (i = 0; i < mci->n_layers; i++) {
1283 for (i = 0; i < mci->n_layers; i++) {