Home
last modified time | relevance | path

Searched refs:lattr (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm/mm/
H A Dcache-l2x0-pmu.c343 struct l2x0_event_attribute *lattr; in l2x0_pmu_event_show() local
345 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() local
357 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()
/linux/drivers/mfd/
H A Dlm3533-core.c258 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in show_output() local
259 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() local
296 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() local
363 enum lm3533_attribute_type type = lattr->type; in lm3533_attr_is_visible()