Searched refs:mc_idx (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/edac/ |
A D | edac_mc.c | 342 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 D | octeon_edac-lmc.c | 44 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 D | bluefield_edac.c | 183 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 D | edac_mc.h | 52 printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg) 55 printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg)
|
A D | i82443bxgx_edac.c | 202 mci->mc_idx, index, drbar); in i82443bxgx_init_csrows() 206 mci->mc_idx, index, row_high_limit, in i82443bxgx_init_csrows()
|
A D | i7300_edac.c | 1072 mci->mc_idx = 0; in i7300_init_one()
|
A D | xgene_edac.c | 309 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 D | edac_mc_sysfs.c | 919 dev_set_name(&mci->dev, "mc%d", mci->mc_idx); in edac_create_sysfs_mci_device()
|
A D | i5400_edac.c | 1303 mci->mc_idx = 0; in i5400_probe1()
|
A D | i5000_edac.c | 1420 mci->mc_idx = 0; in i5000_probe1()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cudbg_lib.c | 1235 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 D | edac.h | 531 int mc_idx; member
|
/linux/arch/powerpc/kernel/ |
A D | smp.c | 99 mc_idx, enumerator 1655 powerpc_topology[mc_idx].mask = powerpc_topology[cache_idx].mask; in fixup_topology()
|
Completed in 37 milliseconds