Lines Matching refs:chn
232 int i, chn, row; in mci_release() local
247 for (chn = 0; chn < mci->num_cschannel; chn++) in mci_release()
248 kfree(csr->channels[chn]); in mci_release()
262 unsigned int row, chn; in edac_mc_alloc_csrows() local
287 for (chn = 0; chn < tot_channels; chn++) { in edac_mc_alloc_csrows()
294 csr->channels[chn] = chan; in edac_mc_alloc_csrows()
295 chan->chan_idx = chn; in edac_mc_alloc_csrows()
306 unsigned int row, chn, idx; in edac_mc_alloc_dimms() local
319 chn = 0; in edac_mc_alloc_dimms()
325 chan = mci->csrows[row]->channels[chn]; in edac_mc_alloc_dimms()
357 dimm->cschannel = chn; in edac_mc_alloc_dimms()
361 chn++; in edac_mc_alloc_dimms()
362 if (chn == mci->num_cschannel) { in edac_mc_alloc_dimms()
363 chn = 0; in edac_mc_alloc_dimms()
370 chn++; in edac_mc_alloc_dimms()