Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/s390/cio/
Dscm.c103 scm_attr(rank);
140 scmdev->attrs.rank = sale->rank; in scmdev_setup()
144 scmdev->attrs.rank = sale->rank; in scmdev_setup()
162 changed = scmdev->attrs.rank != sale->rank || in scmdev_update()
164 scmdev->attrs.rank = sale->rank; in scmdev_update()
/Linux-v5.4/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-v5.4/drivers/edac/
Di5100_edac.c327 unsigned rank[I5100_MAX_RANK_INTERLEAVE]; member
367 int chan, int rank) in i5100_rank_to_slot() argument
377 if (priv->dimm_csmap[i][j] == rank) in i5100_rank_to_slot()
440 unsigned rank, in i5100_handle_ce() argument
455 chan, rank, -1, in i5100_handle_ce()
462 unsigned rank, in i5100_handle_ue() argument
477 chan, rank, -1, in i5100_handle_ue()
492 unsigned rank; in i5100_read_log() local
511 rank = i5100_recmema_rank(dw2); in i5100_read_log()
524 i5100_handle_ce(mci, chan, bank, rank, syndrome, cas, ras, msg); in i5100_read_log()
[all …]
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()
318 int channel, int rank) in drb_to_nr_pages() argument
322 n = drbs[channel][rank]; in drb_to_nr_pages()
326 if (rank > 0) in drb_to_nr_pages()
327 n -= drbs[channel][rank - 1]; in drb_to_nr_pages()
329 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.c302 bool stacked, int channel, int rank) in drb_to_nr_pages() argument
306 n = drbs[channel][rank]; in drb_to_nr_pages()
307 if (rank > 0) in drb_to_nr_pages()
308 n -= drbs[channel][rank - 1]; in drb_to_nr_pages()
309 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 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.c54 int rank; member
933 int column = 0, bank = 0, row = 0, rank = 0; in apl_pmi2mem() local
970 rank = bit; in apl_pmi2mem()
972 rank ^= rank_hash(pmiaddr); in apl_pmi2mem()
987 daddr->rank = rank; in apl_pmi2mem()
1000 daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0); in dnv_pmi2mem()
1002 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem()
1008 daddr->dimm = (daddr->rank >= 2) ^ drp[pmiidx].dimmflip; in dnv_pmi2mem()
1138 addr, pmiaddr, daddr->chan, daddr->dimm, daddr->rank, daddr->bank, daddr->row, daddr->col); in get_memory_error_data()
1208 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 …]
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()
854 DECLARE_ADDR_MATCH(rank, 4);
861 ATTR_ADDR_MATCH(rank);
947 if (pvt->inject.rank < 0) in i7core_inject_enable_store()
951 mask |= (pvt->inject.rank & 0x1LL) << 34; in i7core_inject_enable_store()
953 mask |= (pvt->inject.rank & 0x3LL) << 34; in i7core_inject_enable_store()
2212 pvt->inject.rank = -1; in i7core_register_mci()
Dskx_common.h105 int rank; member
/Linux-v5.4/drivers/s390/block/
Dscm_blk.h67 u8 rank; in SCM_LOG_STATE() member
71 .rank = scmdev->attrs.rank, in SCM_LOG_STATE()
/Linux-v5.4/lib/zstd/
Dhuf_compress.c391 rankPos rank[32]; in HUF_sort() local
394 memset(rank, 0, sizeof(rank)); in HUF_sort()
397 rank[r].base++; in HUF_sort()
400 rank[n - 1].base += rank[n].base; in HUF_sort()
402 rank[n].curr = rank[n].base; in HUF_sort()
406 U32 pos = rank[r].curr++; in HUF_sort()
407 while ((pos > rank[r].base) && (c > huffNode[pos - 1].count)) in HUF_sort()
/Linux-v5.4/lib/zlib_deflate/
Ddeftree.c767 int rank; /* index in bl_order */ in send_all_trees() local
776 for (rank = 0; rank < blcodes; rank++) { in send_all_trees()
777 Tracev((stderr, "\nbl code %2d ", bl_order[rank])); in send_all_trees()
778 send_bits(s, s->bl_tree[bl_order[rank]].Len, 3); in send_all_trees()
/Linux-v5.4/Documentation/scsi/scsi_transport_srp/
Drport_state_diagram.dot6 rank = min;
/Linux-v5.4/arch/s390/include/asm/
Deadm.h93 unsigned int rank:4; member
/Linux-v5.4/Documentation/infiniband/
Dtag_matching.rst11 * Source rank – wild car may be specified by the receiver
12 * Destination rank – wild
/Linux-v5.4/include/linux/
Dcper.h465 u16 rank; member
483 u16 rank; member
/Linux-v5.4/drivers/firmware/efi/
Dcper.c232 n += scnprintf(msg + n, len - n, "rank: %d ", mem->rank); in cper_mem_err_location()
295 cmem->rank = mem->rank; in cper_mem_err_pack()
/Linux-v5.4/drivers/staging/comedi/drivers/
Damplc_pci224.c839 unsigned int rank; in pci224_ao_cmd() local
852 rank = 0; in pci224_ao_cmd()
855 rank++; in pci224_ao_cmd()
857 devpriv->ao_scan_order[rank] = i; in pci224_ao_cmd()
/Linux-v5.4/Documentation/admin-guide/blockdev/drbd/
Ddrbd-connection-state-overview.dot22 rank=max

12