Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/edac/
Dedac_mc.c265 unsigned int tot_channels = mci->num_cschannel; in edac_mc_alloc_csrows() local
286 csr->nr_channels = tot_channels; in edac_mc_alloc_csrows()
287 csr->channels = kcalloc(tot_channels, sizeof(*csr->channels), in edac_mc_alloc_csrows()
292 for (chn = 0; chn < tot_channels; chn++) { in edac_mc_alloc_csrows()
399 unsigned int tot_csrows = 1, tot_channels = 1; in edac_mc_alloc() local
416 tot_channels *= layers[idx].size; in edac_mc_alloc()
436 tot_csrows * tot_channels); in edac_mc_alloc()
459 mci->num_cschannel = tot_channels; in edac_mc_alloc()