Home
last modified time | relevance | path

Searched refs:nr_instances (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/edac/
Dedac_device.c69 char *edac_device_name, unsigned nr_instances, in edac_device_alloc_ctl_info() argument
86 __func__, nr_instances, nr_blocks); in edac_device_alloc_ctl_info()
105 dev_blk = edac_align_ptr(&dev_inst[nr_instances], sizeof(*dev_blk)); in edac_device_alloc_ctl_info()
110 count = nr_instances * nr_blocks; in edac_device_alloc_ctl_info()
153 dev_ctl->nr_instances = nr_instances; in edac_device_alloc_ctl_info()
168 for (instance = 0; instance < nr_instances; instance++) { in edac_device_alloc_ctl_info()
199 attrib_p = &dev_attrib[block*nr_instances*nr_attrib]; in edac_device_alloc_ctl_info()
638 if ((inst_nr >= edac_dev->nr_instances) || (inst_nr < 0)) { in edac_device_handle_ce()
642 edac_dev->nr_instances); in edac_device_handle_ce()
684 if ((inst_nr >= edac_dev->nr_instances) || (inst_nr < 0)) { in edac_device_handle_ue()
[all …]
Dedac_core.h284 u32 nr_instances; member
310 char *edac_device_name, unsigned nr_instances,
Dedac_device_sysfs.c721 for (i = 0; i < edac_dev->nr_instances; i++) { in edac_device_create_instances()
743 for (i = 0; i < edac_dev->nr_instances; i++) in edac_device_delete_instances()