Lines Matching refs:nr_instances
70 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()
701 edac_dev->nr_instances); in edac_device_handle_ue()