Home
last modified time | relevance | path

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

/drivers/s390/cio/
Dscm.c102 scm_attr(rank);
139 scmdev->attrs.rank = sale->rank; in scmdev_setup()
143 scmdev->attrs.rank = sale->rank; in scmdev_setup()
161 changed = scmdev->attrs.rank != sale->rank || in scmdev_update()
163 scmdev->attrs.rank = sale->rank; in scmdev_update()
Dchsc.h169 u32 rank:4; member
/drivers/edac/
Di5100_edac.c328 unsigned rank[I5100_MAX_RANK_INTERLEAVE]; member
368 int chan, int rank) in i5100_rank_to_slot() argument
378 if (priv->dimm_csmap[i][j] == rank) in i5100_rank_to_slot()
439 unsigned rank, in i5100_handle_ce() argument
454 chan, rank, -1, in i5100_handle_ce()
461 unsigned rank, in i5100_handle_ue() argument
476 chan, rank, -1, in i5100_handle_ue()
491 unsigned rank; in i5100_read_log() local
510 rank = i5100_recmema_rank(dw2); in i5100_read_log()
523 i5100_handle_ce(mci, chan, bank, rank, syndrome, cas, ras, msg); in i5100_read_log()
[all …]
Di3200_edac.c139 u64 rank = ((log & I3200_ECCERRLOG_RANK_BITS) >> in eccerrlog_row() local
141 return rank | (channel * I3200_RANKS_PER_CHANNEL); in eccerrlog_row()
320 int channel, int rank) in drb_to_nr_pages() argument
324 n = drbs[channel][rank]; in drb_to_nr_pages()
328 if (rank > 0) in drb_to_nr_pages()
329 n -= drbs[channel][rank - 1]; in drb_to_nr_pages()
331 drbs[channel][rank] == drbs[channel][I3200_RANKS_PER_CHANNEL - 1]) in drb_to_nr_pages()
Docteon_edac-lmc.c33 unsigned long rank; member
95 fadr.cn61xx.fbunk = pvt->rank; in octeon_lmc_edac_poll_o2()
161 TEMPLATE_SHOW(rank);
162 TEMPLATE_STORE(rank);
204 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.c304 bool stacked, int channel, int rank) in drb_to_nr_pages() argument
308 n = drbs[channel][rank]; in drb_to_nr_pages()
309 if (rank > 0) in drb_to_nr_pages()
310 n -= drbs[channel][rank - 1]; in drb_to_nr_pages()
311 if (stacked && (channel == 1) && drbs[channel][rank] == in drb_to_nr_pages()
Dedac_mc_sysfs.c226 struct rank_info *rank = csrow->channels[chan]; in channel_dimm_label_show() local
229 if (!rank->dimm->label[0]) in channel_dimm_label_show()
232 return snprintf(data, sizeof(rank->dimm->label) + 1, "%s\n", in channel_dimm_label_show()
233 rank->dimm->label); in channel_dimm_label_show()
242 struct rank_info *rank = csrow->channels[chan]; in channel_dimm_label_store() local
251 if (copy_count == 0 || copy_count >= sizeof(rank->dimm->label)) in channel_dimm_label_store()
254 strncpy(rank->dimm->label, data, copy_count); in channel_dimm_label_store()
255 rank->dimm->label[copy_count] = '\0'; in channel_dimm_label_store()
266 struct rank_info *rank = csrow->channels[chan]; in channel_ce_count_show() local
268 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()
Dxgene_edac.c193 u32 rank; in xgene_edac_mc_check() local
205 for (rank = 0; rank < MCU_MAX_RANK; rank++) { in xgene_edac_mc_check()
206 reg = readl(ctx->mcu_csr + MCUESRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
213 "MCU uncorrectable error at rank %d\n", rank); in xgene_edac_mc_check()
222 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
224 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
226 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
229 rank, MCU_EBLRR_ERRBANK_RD(bank), in xgene_edac_mc_check()
239 writel(0x0, ctx->mcu_csr + MCUEBLRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
240 writel(0x0, ctx->mcu_csr + MCUERCRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check()
[all …]
Di7300_edac.c414 unsigned branch, channel, bank, rank, cas, ras; in i7300_process_fbd_error() local
436 rank = NRECMEMA_RANK(val16); in i7300_process_fbd_error()
453 branch, -1, rank, in i7300_process_fbd_error()
475 rank = RECMEMA_RANK(val16); in i7300_process_fbd_error()
500 branch >> 1, channel % 2, rank, in i7300_process_fbd_error()
Dcpc925_edac.c451 u32 bcnt, rank, col, bank, row; in cpc925_mc_get_pfn() local
457 rank = (mear & MEAR_RANK_MASK) >> MEAR_RANK_SHIFT; in cpc925_mc_get_pfn()
462 *csrow = rank; in cpc925_mc_get_pfn()
465 if (mci->csrows[rank]->first_page == 0) { in cpc925_mc_get_pfn()
473 pa = mci->csrows[rank]->first_page << PAGE_SHIFT; in cpc925_mc_get_pfn()
Di7core_edac.c220 int channel, dimm, rank, bank, page, col; member
411 static inline int numrank(u32 rank) in numrank() argument
415 return ranks[rank & 0x3]; in numrank()
856 DECLARE_ADDR_MATCH(rank, 4);
863 ATTR_ADDR_MATCH(rank);
949 if (pvt->inject.rank < 0) in i7core_inject_enable_store()
953 mask |= (pvt->inject.rank & 0x1LL) << 34; in i7core_inject_enable_store()
955 mask |= (pvt->inject.rank & 0x3LL) << 34; in i7core_inject_enable_store()
2202 pvt->inject.rank = -1; in i7core_register_mci()
Dskx_edac.c105 int rank; member
757 res->rank = chan_rank % 4; in skx_rir_decode()
760 res->addr, res->dimm, res->rank, in skx_rir_decode()
953 res->socket, res->imc, res->rank, in skx_mce_output_error()
Dsb_edac.c1935 u8 *rank, in get_memory_error_data() argument
2246 *rank = RIR_RNK_TGT(pvt->info.type, reg); in get_memory_error_data()
2927 u8 rank, socket, ha; in sbridge_mce_output_error() local
3023 &channel_mask, &rank, &area_type, msg); in sbridge_mce_output_error()
3038 if (rank < 4) in sbridge_mce_output_error()
3040 else if (rank < 8) in sbridge_mce_output_error()
3063 rank); in sbridge_mce_output_error()
Di82975x_edac.c362 static enum dev_type i82975x_dram_type(void __iomem *mch_window, int rank) in i82975x_dram_type() argument
Dghes_edac.c298 p += sprintf(p, "rank:%d ", mem_err->rank); in ghes_edac_report_mem_error()
/drivers/s390/block/
Dscm_blk.h126 u8 rank; in SCM_LOG_STATE() member
130 .rank = scmdev->attrs.rank, in SCM_LOG_STATE()
/drivers/firmware/efi/
Dcper.c226 n += scnprintf(msg + n, len - n, "rank: %d ", mem->rank); in cper_mem_err_location()
289 cmem->rank = mem->rank; in cper_mem_err_pack()
/drivers/staging/comedi/drivers/
Damplc_pci224.c840 unsigned int rank; in pci224_ao_cmd() local
853 rank = 0; in pci224_ao_cmd()
856 rank++; in pci224_ao_cmd()
858 devpriv->ao_scan_order[rank] = i; in pci224_ao_cmd()
/drivers/dma/ppc4xx/
Dadma.c1415 int rank; in ppc440spe_async_tx_find_best_channel() local
1417 rank = ppc440spe_adma_estimate(ref->chan, cap, dst_lst, in ppc440spe_async_tx_find_best_channel()
1419 if (rank > best_rank) { in ppc440spe_async_tx_find_best_channel()
1420 best_rank = rank; in ppc440spe_async_tx_find_best_channel()