Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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,
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()
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 …]
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()
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 …]
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 …]
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()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-devices-edac86 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size
90 Description: This attribute file will display the size of dimm or rank.
92 stick. For rank*/size, this is the size, in MB for one rank
93 of the DIMM memory stick. On single rank memories (1R), this
94 is also the total size of the dimm. On dual rank (2R) memories,
97 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type
104 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_edac_mode
112 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label
127 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location
132 branch/channel/slot or channel/slot) of the dimm or rank.
[all …]
/linux-6.1.9/drivers/s390/block/
Dscm_blk.h66 u8 rank; in SCM_LOG_STATE() member
70 .rank = scmdev->attrs.rank, in SCM_LOG_STATE()
/linux-6.1.9/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 …]
/linux-6.1.9/tools/verification/models/
Dwip.dot12 { rank = min ;
Dwwnr.dot12 { rank = min ;
/linux-6.1.9/lib/zlib_deflate/
Ddeftree.c713 int rank; /* index in bl_order */ in send_all_trees() local
722 for (rank = 0; rank < blcodes; rank++) { in send_all_trees()
723 Tracev((stderr, "\nbl code %2d ", bl_order[rank])); in send_all_trees()
724 send_bits(s, s->bl_tree[bl_order[rank]].Len, 3); in send_all_trees()
/linux-6.1.9/Documentation/scsi/scsi_transport_srp/
Drport_state_diagram.dot6 rank = min;
/linux-6.1.9/arch/s390/include/asm/
Deadm.h93 unsigned int rank:4; member
/linux-6.1.9/Documentation/infiniband/
Dtag_matching.rst11 * Source rank – wild car may be specified by the receiver
12 * Destination rank – wild
/linux-6.1.9/include/linux/
Dcper.h477 u16 rank; member
495 u16 rank; member

12