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);
144 struct device_attribute *attr,
147 struct dev_ext_attribute *eattr = container_of(attr,
148 struct dev_ext_attribute, attr);
153 struct device_attribute *attr,
158 struct dev_ext_attribute *eattr = container_of(attr,
159 struct dev_ext_attribute, attr);
199 dsu_pmu_event_attr_is_visible(struct kobject *kobj, struct attribute *attr,
204 struct dev_ext_attribute *eattr = container_of(attr,
205 struct dev_ext_attribute, attr.attr);
208 return test_bit(evt, dsu_pmu->cpmceid_bitmap) ? attr->mode : 0;
304 unsigned long evtype = event->attr.config;
548 if (event->attr.type != event->pmu->type)
585 event->hw.config_base = event->attr.config;