Lines Matching defs:channel
22 * 2 channels operating in lockstep no-mirror mode. Each channel can have up to
83 #define FERR_FAT_FBDCHAN (3<<28) /* channel index where the highest-order error occurred */
353 int maxdimmperch; /* Max DIMMs per channel */
517 int channel;
541 channel = branch;
552 type, rank, channel, channel + 1, branch >> 1, bank,
582 int channel;
607 channel = 0;
609 channel = 1;
611 /* Convert channel to be based from zero, instead of
613 channel += branch;
625 rank, channel, branch >> 1, bank,
636 branch >> 1, channel % 2, rank,
829 * knowing which channel is in question
832 * b0_ambpresent0 for channel '0'
833 * b0_ambpresent1 for channel '1'
834 * b1_ambpresent0 for channel '2'
835 * b1_ambpresent1 for channel '3'
837 static int determine_amb_present_reg(struct i5400_pvt *pvt, int channel)
841 if (channel < CHANNELS_PER_BRANCH) {
842 if (channel & 0x1)
847 if (channel & 0x1)
857 * determine_mtr(pvt, dimm, channel)
859 * return the proper MTR register as determine by the dimm and desired channel
861 static int determine_mtr(struct i5400_pvt *pvt, int dimm, int channel)
877 if (channel < CHANNELS_PER_BRANCH)
918 static void handle_channel(struct i5400_pvt *pvt, int dimm, int channel,
925 mtr = determine_mtr(pvt, dimm, channel);
927 amb_present_reg = determine_amb_present_reg(pvt, channel);
962 int channel, branch;
996 for (channel = 0; channel < pvt->maxch; channel++) {
997 dinfo = &pvt->dimm_info[dimm][channel];
998 handle_channel(pvt, dimm, channel, dinfo);
1017 /* now output the 'channel' labels */
1021 for (channel = 0; channel < pvt->maxch; channel++) {
1022 n = snprintf(p, space, "channel %d | ", channel);
1171 int channel, slot;
1178 * FIXME: remove pvt->dimm_info[slot][channel] and use the 3
1181 for (channel = 0; channel < mci->layers[0].size * mci->layers[1].size;
1182 channel++) {
1184 mtr = determine_mtr(pvt, slot, channel);
1190 dimm = edac_get_dimm(mci, channel / 2, channel % 2, slot);
1192 size_mb = pvt->dimm_info[slot][channel].megabytes;
1194 edac_dbg(2, "dimm (branch %d channel %d slot %d): %d.%03d GB\n",
1195 channel / 2, channel % 2, slot,
1272 * This drivers uses the DIMM slot as "csrow" and the rest as "channel".