Home
last modified time | relevance | path

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

/openbmc/linux/drivers/edac/
H A De7xxx_edac.c360 int drc_chan, drc_drbg, drc_ddim, mem_dev; in e7xxx_init_csrows() local
366 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows()
398 if (drc_chan && mem_dev) { in e7xxx_init_csrows()
408 for (j = 0; j < drc_chan + 1; j++) { in e7xxx_init_csrows()
411 dimm->nr_pages = nr_pages / (drc_chan + 1); in e7xxx_init_csrows()
427 int drc_chan; in e7xxx_probe1() local
434 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_probe1()
447 layers[1].size = drc_chan + 1; in e7xxx_probe1()
H A De752x_edac.c1071 int index, mem_dev, drc_chan; in e752x_init_csrows() local
1084 drc_chan = dual_channel_active(ddrcsr) ? 1 : 0; in e752x_init_csrows()
1085 drc_drbg = drc_chan + 1; /* 128 in dual mode, 64 in single */ in e752x_init_csrows()
1116 if (drc_chan && mem_dev) { in e752x_init_csrows()
1263 int drc_chan; /* Number of channels 0=1chan,1=2chan */ in e752x_probe1() local
1285 drc_chan = dual_channel_active(ddrcsr); in e752x_probe1()
1291 layers[1].size = drc_chan + 1; in e752x_probe1()