Searched refs:tot_channels (Results 1 – 1 of 1) sorted by relevance
318 unsigned int tot_csrows = 1, tot_channels = 1, tot_errcount = 0; in edac_mc_alloc() local333 tot_channels *= layers[i].size; in edac_mc_alloc()362 tot_csrows * tot_channels); in edac_mc_alloc()386 mci->num_cschannel = tot_channels; in edac_mc_alloc()402 csr->nr_channels = tot_channels; in edac_mc_alloc()403 csr->channels = kcalloc(tot_channels, sizeof(*csr->channels), in edac_mc_alloc()408 for (chn = 0; chn < tot_channels; chn++) { in edac_mc_alloc()470 if (chn == tot_channels) { in edac_mc_alloc()