Searched refs:eas (Results 1 – 1 of 1) sorted by relevance
3829 struct dev_ext_attribute *eas = NULL; in pmu_iio_set_mapping() local3842 eas = kcalloc(uncore_max_dies(), sizeof(*eas), GFP_KERNEL); in pmu_iio_set_mapping()3843 if (!eas) in pmu_iio_set_mapping()3848 sysfs_attr_init(&eas[die].attr.attr); in pmu_iio_set_mapping()3849 eas[die].attr.attr.name = kstrdup(buf, GFP_KERNEL); in pmu_iio_set_mapping()3850 if (!eas[die].attr.attr.name) in pmu_iio_set_mapping()3852 eas[die].attr.attr.mode = 0444; in pmu_iio_set_mapping()3853 eas[die].attr.show = skx_iio_mapping_show; in pmu_iio_set_mapping()3854 eas[die].attr.store = NULL; in pmu_iio_set_mapping()3855 eas[die].var = (void *)die; in pmu_iio_set_mapping()[all …]