Searched refs:tot_channels (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/edac/
H A Dedac_mc.c212 const unsigned int tot_channels = mci->num_cschannel; _edac_mc_free() local
225 for (chn = 0; chn < tot_channels; chn++) _edac_mc_free()
274 unsigned tot_csrows = 1, tot_channels = 1, tot_errcount = 0; edac_mc_alloc() local
289 tot_channels *= layers[i].size; edac_mc_alloc()
318 tot_csrows * tot_channels); edac_mc_alloc()
342 mci->num_cschannel = tot_channels; edac_mc_alloc()
358 csr->nr_channels = tot_channels; edac_mc_alloc()
359 csr->channels = kcalloc(tot_channels, sizeof(*csr->channels), edac_mc_alloc()
364 for (chn = 0; chn < tot_channels; chn++) { edac_mc_alloc()
426 if (chn == tot_channels) { edac_mc_alloc()

Completed in 36 milliseconds