Home
last modified time | relevance | path

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

/linux/drivers/edac/
A Dedac_mc.c342 n = scnprintf(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()
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()
1000 mci->mc_idx, e->top_layer, e->mid_layer, in edac_raw_mc_handle_error()
[all …]
A 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()
A 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()
A 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)
A Di82443bxgx_edac.c202 mci->mc_idx, index, drbar); in i82443bxgx_init_csrows()
206 mci->mc_idx, index, row_high_limit, in i82443bxgx_init_csrows()
A Di7300_edac.c1072 mci->mc_idx = 0; in i7300_init_one()
A 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()
A Dedac_mc_sysfs.c919 dev_set_name(&mci->dev, "mc%d", mci->mc_idx); in edac_create_sysfs_mci_device()
A Di5400_edac.c1303 mci->mc_idx = 0; in i5400_probe1()
A Di5000_edac.c1420 mci->mc_idx = 0; in i5000_probe1()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcudbg_lib.c1235 u8 mc_idx; in cudbg_get_mem_relative() local
1238 rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc_idx); in cudbg_get_mem_relative()
1242 if (*out_base < meminfo->avail[mc_idx].base) in cudbg_get_mem_relative()
1245 *out_base -= meminfo->avail[mc_idx].base; in cudbg_get_mem_relative()
1247 if (*out_end > meminfo->avail[mc_idx].limit) in cudbg_get_mem_relative()
1248 *out_end = meminfo->avail[mc_idx].limit; in cudbg_get_mem_relative()
1250 *out_end -= meminfo->avail[mc_idx].base; in cudbg_get_mem_relative()
1464 u8 mc_idx; in cudbg_mem_region_size() local
1475 rc = cudbg_meminfo_get_mem_index(padap, &mem_info, mem_type, &mc_idx); in cudbg_mem_region_size()
1482 *region_size = mem_info.avail[mc_idx].limit - in cudbg_mem_region_size()
[all …]
/linux/include/linux/
A Dedac.h531 int mc_idx; member
/linux/arch/powerpc/kernel/
A Dsmp.c99 mc_idx, enumerator
1655 powerpc_topology[mc_idx].mask = powerpc_topology[cache_idx].mask; in fixup_topology()

Completed in 37 milliseconds