diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/platform_ecc_sysfs.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_ecc_sysfs.h | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_ecc_sysfs.h b/drivers/gpu/nvgpu/common/linux/platform_ecc_sysfs.h index d5622757..d29f7bd3 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_ecc_sysfs.h +++ b/drivers/gpu/nvgpu/common/linux/platform_ecc_sysfs.h | |||
@@ -19,27 +19,19 @@ | |||
19 | 19 | ||
20 | #include "gp10b/gr_gp10b.h" | 20 | #include "gp10b/gr_gp10b.h" |
21 | 21 | ||
22 | int gr_gp10b_ecc_stat_create(struct device *dev, | 22 | #define ECC_STAT_NAME_MAX_SIZE 100 |
23 | int is_l2, | ||
24 | char *ecc_stat_name, | ||
25 | struct gk20a_ecc_stat *ecc_stat, | ||
26 | struct device_attribute **dev_attr_array); | ||
27 | int gp10b_ecc_stat_create(struct device *dev, | ||
28 | int num_hw_units, | ||
29 | int num_subunits, | ||
30 | char *ecc_unit_name, | ||
31 | char *ecc_subunit_name, | ||
32 | char *ecc_stat_name, | ||
33 | struct gk20a_ecc_stat *ecc_stat, | ||
34 | struct device_attribute **__dev_attr_array); | ||
35 | 23 | ||
36 | void gr_gp10b_ecc_stat_remove(struct device *dev, | 24 | int nvgpu_gr_ecc_stat_create(struct device *dev, |
37 | int is_l2, | 25 | int is_l2, char *ecc_stat_name, |
38 | struct gk20a_ecc_stat *ecc_stat, | 26 | struct gk20a_ecc_stat *ecc_stat); |
39 | struct device_attribute *dev_attr_array); | 27 | int nvgpu_ecc_stat_create(struct device *dev, |
40 | 28 | int num_hw_units, int num_subunits, | |
41 | void gp10b_ecc_stat_remove(struct device *dev, | 29 | char *ecc_unit_name, char *ecc_subunit_name, |
42 | int hw_units, | 30 | char *ecc_stat_name, |
43 | struct gk20a_ecc_stat *ecc_stat, | 31 | struct gk20a_ecc_stat *ecc_stat); |
44 | struct device_attribute *dev_attr_array); | 32 | void nvgpu_gr_ecc_stat_remove(struct device *dev, |
33 | int is_l2, struct gk20a_ecc_stat *ecc_stat); | ||
34 | void nvgpu_ecc_stat_remove(struct device *dev, | ||
35 | int num_hw_units, int num_subunits, | ||
36 | struct gk20a_ecc_stat *ecc_stat); | ||
45 | #endif | 37 | #endif |