Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/edac/
Docteon_edac-lmc.c44 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx)); in octeon_lmc_edac_poll()
47 fadr.u64 = cvmx_read_csr(CVMX_LMCX_FADR(mci->mc_idx)); in octeon_lmc_edac_poll()
68 cvmx_write_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx), cfg0.u64); in octeon_lmc_edac_poll()
79 int_reg.u64 = cvmx_read_csr(CVMX_LMCX_INT(mci->mc_idx)); in octeon_lmc_edac_poll_o2()
91 fadr.u64 = cvmx_read_csr(CVMX_LMCX_FADR(mci->mc_idx)); in octeon_lmc_edac_poll_o2()
121 cvmx_write_csr(CVMX_LMCX_INT(mci->mc_idx), int_reg.u64); in octeon_lmc_edac_poll_o2()
Dedac_mc.c339 n = snprintf(p, len, "mc#%u", mci->mc_idx); in edac_mc_alloc_dimms()
447 mci->mc_idx = mc_num; in edac_mc_alloc()
604 if (p->mc_idx >= mci->mc_idx) { in add_mc_to_global_list()
605 if (unlikely(p->mc_idx == mci->mc_idx)) in add_mc_to_global_list()
619 edac_dev_name(mci), p->mod_name, p->ctl_name, p->mc_idx); in add_mc_to_global_list()
625 " duplicate mc_idx %d in %s()\n", p->mc_idx, __func__); in add_mc_to_global_list()
651 if (mci->mc_idx == idx) in edac_mc_find()
783 "Removed device %d for %s %s: DEV %s\n", mci->mc_idx, in edac_mc_del_mc()
827 edac_dbg(1, "MC%d: 0x%lx\n", mci->mc_idx, page); in edac_mc_find_csrow_by_page()
841 mci->mc_idx, in edac_mc_find_csrow_by_page()
[all …]
Dbluefield_edac.c183 int mem_ctrl_idx = mci->mc_idx; in bluefield_edac_init_dimms()
249 unsigned int mc_idx, dimm_count; in bluefield_edac_mc_probe() local
253 if (device_property_read_u32(dev, "mss_number", &mc_idx)) { in bluefield_edac_mc_probe()
277 mci = edac_mc_alloc(mc_idx, ARRAY_SIZE(layers), layers, sizeof(*priv)); in bluefield_edac_mc_probe()
Dedac_mc.h52 printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg)
55 printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg)
Di82443bxgx_edac.c179 edac_dbg(1, "MC%d\n", mci->mc_idx); in i82443bxgx_edacmc_check()
203 mci->mc_idx, index, drbar); in i82443bxgx_init_csrows()
207 mci->mc_idx, index, row_high_limit, in i82443bxgx_init_csrows()
Dr82600_edac.c207 edac_dbg(1, "MC%d\n", mci->mc_idx); in r82600_check()
Di82860_edac.c138 edac_dbg(1, "MC%d\n", mci->mc_idx); in i82860_check()
Di3000_edac.c276 edac_dbg(1, "MC%d\n", mci->mc_idx); in i3000_check()
Dx38_edac.c241 edac_dbg(1, "MC%d\n", mci->mc_idx); in x38_check()
Di3200_edac.c256 edac_dbg(1, "MC%d\n", mci->mc_idx); in i3200_check()
Di82875p_edac.c265 edac_dbg(1, "MC%d\n", mci->mc_idx); in i82875p_check()
Di5400_edac.c689 edac_dbg(4, "MC%d\n", mci->mc_idx); in i5400_check_error()
1303 mci->mc_idx = 0; in i5400_probe1()
Di82975x_edac.c333 edac_dbg(1, "MC%d\n", mci->mc_idx); in i82975x_check()
Di5000_edac.c768 edac_dbg(4, "MC%d\n", mci->mc_idx); in i5000_check_error()
1420 mci->mc_idx = 0; in i5000_probe1()
Die31200_edac.c336 edac_dbg(1, "MC%d\n", mci->mc_idx); in ie31200_check()
Di7300_edac.c1072 mci->mc_idx = 0; in i7300_init_one()
Dedac_mc_sysfs.c919 dev_set_name(&mci->dev, "mc%d", mci->mc_idx); in edac_create_sysfs_mci_device()
Dxgene_edac.c309 static int xgene_edac_mc_is_active(struct xgene_edac_mc_ctx *ctx, int mc_idx) in xgene_edac_mc_is_active() argument
339 return (mcu_mask & (1 << mc_idx)) ? 1 : 0; in xgene_edac_mc_is_active()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1236 u8 mc_idx; in cudbg_get_mem_relative() local
1239 rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc_idx); in cudbg_get_mem_relative()
1243 if (*out_base < meminfo->avail[mc_idx].base) in cudbg_get_mem_relative()
1246 *out_base -= meminfo->avail[mc_idx].base; in cudbg_get_mem_relative()
1248 if (*out_end > meminfo->avail[mc_idx].limit) in cudbg_get_mem_relative()
1249 *out_end = meminfo->avail[mc_idx].limit; in cudbg_get_mem_relative()
1251 *out_end -= meminfo->avail[mc_idx].base; in cudbg_get_mem_relative()
1465 u8 mc_idx; in cudbg_mem_region_size() local
1476 rc = cudbg_meminfo_get_mem_index(padap, &mem_info, mem_type, &mc_idx); in cudbg_mem_region_size()
1483 *region_size = mem_info.avail[mc_idx].limit - in cudbg_mem_region_size()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dedac.h516 int mc_idx; member
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsmp.c97 mc_idx, enumerator
1553 powerpc_topology[mc_idx].mask = powerpc_topology[cache_idx].mask; in fixup_topology()