Lines Matching refs:mem_ctl_info
245 struct mem_ctl_info *mci;
487 static int get_dimm_config(struct mem_ctl_info *mci) in get_dimm_config()
651 #define to_mci(k) container_of(k, struct mem_ctl_info, dev)
660 static int disable_inject(const struct mem_ctl_info *mci) in disable_inject()
686 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_section_store()
706 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_section_show()
723 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_type_store()
743 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_type_show()
763 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_eccmask_store()
783 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_eccmask_show()
806 struct mem_ctl_info *mci = dev_get_drvdata(dev); \
835 struct mem_ctl_info *mci = dev_get_drvdata(dev); \
914 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_enable_store()
1018 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_enable_show()
1042 struct mem_ctl_info *mci = dev_get_drvdata(dev); \
1157 static int i7core_create_sysfs_devices(struct mem_ctl_info *mci) in i7core_create_sysfs_devices()
1212 static void i7core_delete_sysfs_devices(struct mem_ctl_info *mci) in i7core_delete_sysfs_devices()
1452 static int mci_bind_devs(struct mem_ctl_info *mci, in mci_bind_devs()
1532 static void i7core_rdimm_update_ce_count(struct mem_ctl_info *mci, in i7core_rdimm_update_ce_count()
1582 static void i7core_rdimm_check_mc_ecc_err(struct mem_ctl_info *mci) in i7core_rdimm_check_mc_ecc_err()
1627 static void i7core_udimm_check_mc_ecc_err(struct mem_ctl_info *mci) in i7core_udimm_check_mc_ecc_err()
1694 static void i7core_mce_output_error(struct mem_ctl_info *mci, in i7core_mce_output_error()
1791 static void i7core_check_error(struct mem_ctl_info *mci, struct mce *m) in i7core_check_error()
1815 struct mem_ctl_info *mci; in i7core_mce_check_error()
1957 static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw) in set_sdram_scrub_rate()
2019 static int get_sdram_scrub_rate(struct mem_ctl_info *mci) in get_sdram_scrub_rate()
2048 static void enable_sdram_scrub_setting(struct mem_ctl_info *mci) in enable_sdram_scrub_setting()
2063 static void disable_sdram_scrub_setting(struct mem_ctl_info *mci) in disable_sdram_scrub_setting()
2098 struct mem_ctl_info *mci = i7core_dev->mci; in i7core_unregister_mci()
2131 struct mem_ctl_info *mci; in i7core_register_mci()