Searched refs:lattr (Results 1 – 2 of 2) sorted by relevance
343 struct l2x0_event_attribute *lattr; in l2x0_pmu_event_show() local345 lattr = container_of(attr, typeof(*lattr), attr); in l2x0_pmu_event_show()346 return snprintf(buf, PAGE_SIZE, "config=0x%x\n", lattr->config); in l2x0_pmu_event_show()355 struct l2x0_event_attribute *lattr; in l2x0_pmu_event_attr_is_visible() local357 lattr = container_of(attr, typeof(*lattr), attr.attr); in l2x0_pmu_event_attr_is_visible()359 if (!lattr->pl310_only || strcmp("l2c_310", pmu->name) == 0) in l2x0_pmu_event_attr_is_visible()
258 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in show_output() local259 int id = lattr->u.output.id; in show_output()266 if (lattr->type == LM3533_ATTR_TYPE_BACKLIGHT) { in show_output()295 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in store_output() local296 int id = lattr->u.output.id; in store_output()303 if (lattr->type == LM3533_ATTR_TYPE_BACKLIGHT) in store_output()362 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(dattr); in lm3533_attr_is_visible() local363 enum lm3533_attribute_type type = lattr->type; in lm3533_attr_is_visible()