Lines Matching refs:chn
235 int i, chn, row; in mci_release() local
250 for (chn = 0; chn < mci->num_cschannel; chn++) in mci_release()
251 kfree(csr->channels[chn]); in mci_release()
265 unsigned int row, chn; in edac_mc_alloc_csrows() local
290 for (chn = 0; chn < tot_channels; chn++) { in edac_mc_alloc_csrows()
297 csr->channels[chn] = chan; in edac_mc_alloc_csrows()
298 chan->chan_idx = chn; in edac_mc_alloc_csrows()
309 unsigned int row, chn, idx; in edac_mc_alloc_dimms() local
322 chn = 0; in edac_mc_alloc_dimms()
328 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()