Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/edac/
H A Dedac_mc.c260 unsigned int tot_channels = mci->num_cschannel; in edac_mc_alloc_csrows() local
281 csr->nr_channels = tot_channels; in edac_mc_alloc_csrows()
282 csr->channels = kcalloc(tot_channels, sizeof(*csr->channels), in edac_mc_alloc_csrows()
287 for (chn = 0; chn < tot_channels; chn++) { in edac_mc_alloc_csrows()
394 unsigned int tot_csrows = 1, tot_channels = 1; in edac_mc_alloc() local
411 tot_channels *= layers[idx].size; in edac_mc_alloc()
431 tot_csrows * tot_channels); in edac_mc_alloc()
454 mci->num_cschannel = tot_channels; in edac_mc_alloc()
/kernel/linux/linux-6.6/drivers/edac/
H A Dedac_mc.c211 unsigned int tot_channels = mci->num_cschannel; in edac_mc_alloc_csrows() local
232 csr->nr_channels = tot_channels; in edac_mc_alloc_csrows()
233 csr->channels = kcalloc(tot_channels, sizeof(*csr->channels), in edac_mc_alloc_csrows()
238 for (chn = 0; chn < tot_channels; chn++) { in edac_mc_alloc_csrows()
342 unsigned int tot_csrows = 1, tot_channels = 1; in edac_mc_alloc() local
358 tot_channels *= layers[idx].size; in edac_mc_alloc()
385 mci->num_cschannel = tot_channels; in edac_mc_alloc()

Completed in 3 milliseconds