Lines Matching +full:multi +full:- +full:function

10  *	http://www.anime.net/~goemon/linux-ecc/
15 * Refactored for multi-source files:
18 * Please look at Documentation/driver-api/edac.rst for more info about
41 #define PAGES_TO_MiB(pages) ((pages) >> (20 - PAGE_SHIFT))
42 #define MiB_TO_PAGES(mb) ((mb) << (20 - PAGE_SHIFT))
44 #define PAGES_TO_MiB(pages) ((pages) << (PAGE_SHIFT - 20))
45 #define MiB_TO_PAGES(mb) ((mb) >> (PAGE_SHIFT - 20))
52 printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg)
55 printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg)
58 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg)
61 printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg)
94 #define edac_dev_name(dev) (dev)->dev_name
99 * edac_mc_alloc() - Allocate and partially fill a struct &mem_ctl_info.
107 * Everything is kmalloc'ed as one big chunk - more efficient.
108 * Only can be used if all structures have the same lifetime - otherwise
111 * Use edac_mc_free() to free mc structures allocated by this function.
115 * drivers handle multi-rank memories in different ways: in some
116 * drivers, one multi-rank memory stick is mapped as one entry, while, in
117 * others, a single multi-rank memory stick would be mapped into several
118 * entries. Currently, this function will allocate multiple struct dimm_info
131 * edac_get_owner - Return the owner's mod_name of EDAC MC
139 * edac_mc_add_mc_with_groups() - Insert the @mci structure into the mci
143 * @groups: optional attribute groups for the driver-specific sysfs entries
153 * edac_mc_free() - Frees a previously allocated @mci structure
160 * edac_has_mcs() - Check if any MCs have been allocated.
169 * edac_mc_find() - Search for a mem_ctl_info structure whose index is @idx.
179 * find_mci_by_dev() - Scan list of controllers looking for the one that
190 * edac_mc_del_mc() - Remove sysfs entries for mci structure associated with
200 * edac_mc_find_csrow_by_page() - Ancillary routine to identify what csrow
206 * Returns: on success, returns the csrow. -1 if not found.
212 * edac_raw_mc_handle_error() - Reports a memory event to userspace without
217 * This raw function is used internally by edac_mc_handle_error(). It should
224 * edac_mc_handle_error() - Reports a memory event to userspace.