Home
last modified time | relevance | path

Searched refs:rank (Results 1 – 25 of 29) sorted by relevance

12

/drivers/s390/cio/
Dscm.c104 scm_attr(rank);
141 scmdev->attrs.rank = sale->rank; in scmdev_setup()
145 scmdev->attrs.rank = sale->rank; in scmdev_setup()
163 changed = scmdev->attrs.rank != sale->rank || in scmdev_update()
165 scmdev->attrs.rank = sale->rank; in scmdev_update()
Dchsc.h180 u32 rank:4; member
/drivers/edac/
Di5100_edac.c317 unsigned rank[I5100_MAX_RANK_INTERLEAVE]; member
357 int chan, int rank) in i5100_rank_to_slot() argument
367 if (priv->dimm_csmap[i][j] == rank) in i5100_rank_to_slot()
430 unsigned rank, in i5100_handle_ce() argument
445 chan, rank, -1, in i5100_handle_ce()
452 unsigned rank, in i5100_handle_ue() argument
467 chan, rank, -1, in i5100_handle_ue()
481 unsigned rank; in i5100_read_log() local
499 rank = i5100_recmema_rank(dw2); in i5100_read_log()
512 i5100_handle_ce(mci, chan, bank, rank, syndrome, cas, ras, msg); in i5100_read_log()
[all …]
Dal_mc_edac.c65 u8 rank, u32 row, u8 bg, u8 bank, u16 column, in prepare_msg() argument
71 rank, row, bg, bank, column, syn0, syn1, syn2); in prepare_msg()
81 u8 rank, bg, bank; in handle_ce() local
100 rank = FIELD_GET(AL_MC_ECC_CE_ADDR0_RANK, ecccaddr0); in handle_ce()
108 rank, row, bg, bank, column, in handle_ce()
126 u8 rank, bg, bank; in handle_ue() local
145 rank = FIELD_GET(AL_MC_ECC_UE_ADDR0_RANK, eccuaddr0); in handle_ue()
153 rank, row, bg, bank, column, in handle_ue()
Di3200_edac.c137 u64 rank = ((log & I3200_ECCERRLOG_RANK_BITS) >> in eccerrlog_row() local
139 return rank | (channel * I3200_RANKS_PER_CHANNEL); in eccerrlog_row()
317 int channel, int rank) in drb_to_nr_pages() argument
321 n = drbs[channel][rank]; in drb_to_nr_pages()
325 if (rank > 0) in drb_to_nr_pages()
326 n -= drbs[channel][rank - 1]; in drb_to_nr_pages()
328 drbs[channel][rank] == drbs[channel][I3200_RANKS_PER_CHANNEL - 1]) in drb_to_nr_pages()
Docteon_edac-lmc.c32 unsigned long rank; member
94 fadr.cn61xx.fbunk = pvt->rank; in octeon_lmc_edac_poll_o2()
160 TEMPLATE_SHOW(rank);
161 TEMPLATE_STORE(rank);
203 static DEVICE_ATTR(rank, S_IRUGO | S_IWUSR,
Di5000_edac.c469 int rank; in i5000_process_fatal_error_info() local
482 rank = NREC_RANK(info->nrecmema); in i5000_process_fatal_error_info()
488 rank, channel, bank, in i5000_process_fatal_error_info()
529 channel >> 1, channel & 1, rank, in i5000_process_fatal_error_info()
554 int rank; in i5000_process_nonfatal_error_info() local
577 rank = NREC_RANK(info->nrecmema); in i5000_process_nonfatal_error_info()
583 rank, channel, channel + 1, branch >> 1, bank, in i5000_process_nonfatal_error_info()
624 rank, bank, ras, cas, ue_errors, specific); in i5000_process_nonfatal_error_info()
628 channel >> 1, -1, rank, in i5000_process_nonfatal_error_info()
649 rank = REC_RANK(info->recmema); in i5000_process_nonfatal_error_info()
[all …]
Dx38_edac.c301 bool stacked, int channel, int rank) in drb_to_nr_pages() argument
305 n = drbs[channel][rank]; in drb_to_nr_pages()
306 if (rank > 0) in drb_to_nr_pages()
307 n -= drbs[channel][rank - 1]; in drb_to_nr_pages()
308 if (stacked && (channel == 1) && drbs[channel][rank] == in drb_to_nr_pages()
Dedac_mc_sysfs.c204 struct rank_info *rank = csrow->channels[chan]; in channel_dimm_label_show() local
207 if (!rank->dimm->label[0]) in channel_dimm_label_show()
210 return snprintf(data, sizeof(rank->dimm->label) + 1, "%s\n", in channel_dimm_label_show()
211 rank->dimm->label); in channel_dimm_label_show()
220 struct rank_info *rank = csrow->channels[chan]; in channel_dimm_label_store() local
229 if (copy_count == 0 || copy_count >= sizeof(rank->dimm->label)) in channel_dimm_label_store()
232 strncpy(rank->dimm->label, data, copy_count); in channel_dimm_label_store()
233 rank->dimm->label[copy_count] = '\0'; in channel_dimm_label_store()
244 struct rank_info *rank = csrow->channels[chan]; in channel_ce_count_show() local
246 return sprintf(data, "%u\n", rank->ce_count); in channel_ce_count_show()
Di5400_edac.c520 int rank; in i5400_proccess_non_recoverable_info() local
545 rank = nrec_rank(info); in i5400_proccess_non_recoverable_info()
552 type, rank, channel, channel + 1, branch >> 1, bank, in i5400_proccess_non_recoverable_info()
564 branch >> 1, -1, rank, in i5400_proccess_non_recoverable_info()
584 int rank; in i5400_process_nonfatal_error_info() local
616 rank = rec_rank(info); in i5400_process_nonfatal_error_info()
625 rank, channel, branch >> 1, bank, in i5400_process_nonfatal_error_info()
636 branch >> 1, channel % 2, rank, in i5400_process_nonfatal_error_info()
Dxgene_edac.c180 u32 rank; in xgene_edac_mc_check() local
192 for (rank = 0; rank < MCU_MAX_RANK; rank++) { in xgene_edac_mc_check()
193 reg = readl(ctx->mcu_csr + MCUESRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
200 "MCU uncorrectable error at rank %d\n", rank); in xgene_edac_mc_check()
209 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
211 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
213 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
216 rank, MCU_EBLRR_ERRBANK_RD(bank), in xgene_edac_mc_check()
226 writel(0x0, ctx->mcu_csr + MCUEBLRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
227 writel(0x0, ctx->mcu_csr + MCUERCRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
[all …]
Dpnd2_edac.c56 int rank; member
911 int column = 0, bank = 0, row = 0, rank = 0; in apl_pmi2mem() local
948 rank = bit; in apl_pmi2mem()
950 rank ^= rank_hash(pmiaddr); in apl_pmi2mem()
965 daddr->rank = rank; in apl_pmi2mem()
978 daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0); in dnv_pmi2mem()
980 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem()
986 daddr->dimm = (daddr->rank >= 2) ^ drp[pmiidx].dimmflip; in dnv_pmi2mem()
1116 addr, pmiaddr, daddr->chan, daddr->dimm, daddr->rank, daddr->bank, daddr->row, daddr->col); in get_memory_error_data()
1186 errcode, daddr->chan, daddr->dimm, daddr->rank, daddr->row, daddr->bank, daddr->col); in pnd2_mce_output_error()
[all …]
Ddmc520_edac.c108 u32 rank; member
246 info->rank = FIELD_GET(REG_FIELD_ERR_INFO_LOW_RANK, reg_val_low); in dmc520_get_dram_ecc_error_info()
381 info.rank, info.bank, in dmc520_handle_dram_ecc_errors()
387 mci, cnt, 0, 0, 0, info.rank, -1, -1, in dmc520_handle_dram_ecc_errors()
Dcpc925_edac.c438 u32 bcnt, rank, col, bank, row; in cpc925_mc_get_pfn() local
444 rank = (mear & MEAR_RANK_MASK) >> MEAR_RANK_SHIFT; in cpc925_mc_get_pfn()
449 *csrow = rank; in cpc925_mc_get_pfn()
452 if (mci->csrows[rank]->first_page == 0) { in cpc925_mc_get_pfn()
460 pa = mci->csrows[rank]->first_page << PAGE_SHIFT; in cpc925_mc_get_pfn()
Di7300_edac.c411 unsigned branch, channel, bank, rank, cas, ras; in i7300_process_fbd_error() local
433 rank = NRECMEMA_RANK(val16); in i7300_process_fbd_error()
450 branch, -1, rank, in i7300_process_fbd_error()
472 rank = RECMEMA_RANK(val16); in i7300_process_fbd_error()
498 branch >> 1, channel % 2, rank, in i7300_process_fbd_error()
Di7core_edac.c218 int channel, dimm, rank, bank, page, col; member
409 static inline int numrank(u32 rank) in numrank() argument
413 return ranks[rank & 0x3]; in numrank()
853 DECLARE_ADDR_MATCH(rank, 4);
860 ATTR_ADDR_MATCH(rank);
946 if (pvt->inject.rank < 0) in i7core_inject_enable_store()
950 mask |= (pvt->inject.rank & 0x1LL) << 34; in i7core_inject_enable_store()
952 mask |= (pvt->inject.rank & 0x3LL) << 34; in i7core_inject_enable_store()
2212 pvt->inject.rank = -1; in i7core_register_mci()
Dsb_edac.c1977 static bool sb_decode_ddr4(struct mem_ctl_info *mci, int ch, u8 rank, in sb_decode_ddr4() argument
1986 dimmno = (rank < 12) ? rank / 4 : 2; in sb_decode_ddr4()
2023 static bool sb_decode_ddr3(struct mem_ctl_info *mci, int ch, u8 rank, in sb_decode_ddr3() argument
2035 u8 *rank, in get_memory_error_data() argument
2334 *rank = RIR_RNK_TGT(pvt->info.type, reg); in get_memory_error_data()
2349 rankid = *rank; in get_memory_error_data()
3099 u8 rank = 0xff, socket, ha; in sbridge_mce_output_error() local
3185 &channel_mask, &rank, in sbridge_mce_output_error()
3204 if (rank == 0xff) in sbridge_mce_output_error()
3206 else if (rank < 4) in sbridge_mce_output_error()
[all …]
Di10nm_base.c429 res->rank = GET_BITFIELD(m->misc, 56, 58); in i10nm_mc_decode()
430 res->dimm = res->rank >> 2; in i10nm_mc_decode()
431 res->rank = res->rank % 4; in i10nm_mc_decode()
Dskx_common.h142 int rank; member
/drivers/s390/block/
Dscm_blk.h66 u8 rank; in SCM_LOG_STATE() member
70 .rank = scmdev->attrs.rank, in SCM_LOG_STATE()
/drivers/memory/tegra/
Dtegra210-emc-core.c59 #define TRIM_REG(chan, rank, reg, byte) \ argument
60 (((EMC_PMACRO_OB_DDLL_LONG_DQ_RANK ## rank ## _ ## reg ## \
61 _OB_DDLL_LONG_DQ_RANK ## rank ## _BYTE ## byte ## _MASK & \
63 rank ## _ ## reg ## _INDEX]) >> \
64 EMC_PMACRO_OB_DDLL_LONG_DQ_RANK ## rank ## _ ## reg ## \
65 _OB_DDLL_LONG_DQ_RANK ## rank ## _BYTE ## byte ## _SHIFT) \
67 (((EMC_DATA_BRLSHFT_ ## rank ## _RANK ## rank ## _BYTE ## \
70 _EMC_DATA_BRLSHFT_ ## rank ## _INDEX]) >> \
71 EMC_DATA_BRLSHFT_ ## rank ## _RANK ## rank ## _BYTE ## \
74 #define CALC_TEMP(rank, reg, byte1, byte2, n) \ argument
[all …]
/drivers/comedi/drivers/
Damplc_pci224.c837 unsigned int rank; in pci224_ao_cmd() local
850 rank = 0; in pci224_ao_cmd()
853 rank++; in pci224_ao_cmd()
855 devpriv->ao_scan_order[rank] = i; in pci224_ao_cmd()
/drivers/firmware/efi/
Dcper.c256 n += scnprintf(msg + n, len - n, "rank:%d ", mem->rank); in cper_mem_err_location()
330 cmem->rank = mem->rank; in cper_mem_err_pack()
/drivers/hwmon/peci/
Ddimmtemp.c291 int rank = chan / priv->gen_info->dimm_idx_max; in create_dimm_temp_label() local
295 "DIMM %c%d", 'A' + rank, in create_dimm_temp_label()
/drivers/perf/
Dxgene_pmu.c555 XGENE_PMU_EVENT_ATTR(rank-change, 0x1b),
557 XGENE_PMU_EVENT_ATTR(rank-dir-change, 0x1d),
558 XGENE_PMU_EVENT_ATTR(rank-active, 0x1e),
559 XGENE_PMU_EVENT_ATTR(rank-idle, 0x1f),
560 XGENE_PMU_EVENT_ATTR(rank-pd, 0x20),
561 XGENE_PMU_EVENT_ATTR(rank-sref, 0x21),

12