Lines Matching full:mci
11 struct mem_ctl_info *mci = to_mci(dev); in edac_fake_inject_write() local
13 u16 errcount = mci->fake_inject_count; in edac_fake_inject_write()
18 type = mci->fake_inject_ue ? HW_EVENT_ERR_UNCORRECTED in edac_fake_inject_write()
26 mci->fake_inject_layer[0], in edac_fake_inject_write()
27 mci->fake_inject_layer[1], in edac_fake_inject_write()
28 mci->fake_inject_layer[2] in edac_fake_inject_write()
30 edac_mc_handle_error(type, mci, errcount, 0, 0, 0, in edac_fake_inject_write()
31 mci->fake_inject_layer[0], in edac_fake_inject_write()
32 mci->fake_inject_layer[1], in edac_fake_inject_write()
33 mci->fake_inject_layer[2], in edac_fake_inject_write()
55 void edac_create_debugfs_nodes(struct mem_ctl_info *mci) in edac_create_debugfs_nodes() argument
61 parent = debugfs_create_dir(mci->dev.kobj.name, edac_debugfs); in edac_create_debugfs_nodes()
63 for (i = 0; i < mci->n_layers; i++) { in edac_create_debugfs_nodes()
65 edac_layer_name[mci->layers[i].type]); in edac_create_debugfs_nodes()
67 &mci->fake_inject_layer[i]); in edac_create_debugfs_nodes()
71 &mci->fake_inject_ue); in edac_create_debugfs_nodes()
74 &mci->fake_inject_count); in edac_create_debugfs_nodes()
76 debugfs_create_file("fake_inject", S_IWUSR, parent, &mci->dev, in edac_create_debugfs_nodes()
79 mci->debugfs = parent; in edac_create_debugfs_nodes()