Lines Matching refs:attr
79 .attr = __ATTR(_name, 0444, _func, NULL), \
82 })[0].attr.attr)
134 struct device_attribute *attr,
137 struct dev_ext_attribute *eattr = container_of(attr,
138 struct dev_ext_attribute, attr);
143 struct device_attribute *attr,
146 struct dev_ext_attribute *eattr = container_of(attr,
147 struct dev_ext_attribute, attr);
152 struct device_attribute *attr,
157 struct dev_ext_attribute *eattr = container_of(attr,
158 struct dev_ext_attribute, attr);
198 dsu_pmu_event_attr_is_visible(struct kobject *kobj, struct attribute *attr,
203 struct dev_ext_attribute *eattr = container_of(attr,
204 struct dev_ext_attribute, attr.attr);
207 return test_bit(evt, dsu_pmu->cpmceid_bitmap) ? attr->mode : 0;
303 unsigned long evtype = event->attr.config;
547 if (event->attr.type != event->pmu->type)
584 event->hw.config_base = event->attr.config;