Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/edac/
Dedac_device.c70 char *edac_device_name, unsigned nr_instances, in edac_device_alloc_ctl_info() argument
87 __func__, nr_instances, nr_blocks); in edac_device_alloc_ctl_info()
106 dev_blk = edac_align_ptr(&dev_inst[nr_instances], sizeof(*dev_blk)); in edac_device_alloc_ctl_info()
111 count = nr_instances * nr_blocks; in edac_device_alloc_ctl_info()
154 dev_ctl->nr_instances = nr_instances; in edac_device_alloc_ctl_info()
169 for (instance = 0; instance < nr_instances; instance++) { in edac_device_alloc_ctl_info()
200 attrib_p = &dev_attrib[block*nr_instances*nr_attrib]; in edac_device_alloc_ctl_info()
651 if ((inst_nr >= edac_dev->nr_instances) || (inst_nr < 0)) { in edac_device_handle_ce()
655 edac_dev->nr_instances); in edac_device_handle_ce()
697 if ((inst_nr >= edac_dev->nr_instances) || (inst_nr < 0)) { in edac_device_handle_ue()
[all …]
Dedac_core.h641 u32 nr_instances; member
667 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()