Searched refs:tot_channels (Results 1 – 1 of 1) sorted by relevance
283 const unsigned int tot_channels = mci->num_cschannel; in _edac_mc_free() local296 for (chn = 0; chn < tot_channels; chn++) in _edac_mc_free()321 unsigned tot_csrows = 1, tot_channels = 1, tot_errcount = 0; in edac_mc_alloc() local336 tot_channels *= layers[i].size; in edac_mc_alloc()365 tot_csrows * tot_channels); in edac_mc_alloc()389 mci->num_cschannel = tot_channels; in edac_mc_alloc()405 csr->nr_channels = tot_channels; in edac_mc_alloc()406 csr->channels = kcalloc(tot_channels, sizeof(*csr->channels), in edac_mc_alloc()411 for (chn = 0; chn < tot_channels; chn++) { in edac_mc_alloc()473 if (chn == tot_channels) { in edac_mc_alloc()