Searched refs:gattr (Results 1 – 2 of 2) sorted by relevance
24 struct governor_attr *gattr = to_gov_attr(attr); in governor_show() local26 return gattr->show(to_gov_attr_set(kobj), buf); in governor_show()33 struct governor_attr *gattr = to_gov_attr(attr); in governor_store() local37 ret = attr_set->usage_count ? gattr->store(attr_set, buf, count) : -EBUSY; in governor_store()
519 struct geos_gpio_attr *gattr = container_of(attr, struct geos_gpio_attr, attr); in geos_gpio_store() local529 data32 |= 1 << gattr->offset; in geos_gpio_store()532 data32 &= ~(1 << gattr->offset); in geos_gpio_store()544 struct geos_gpio_attr *gattr = container_of(attr, struct geos_gpio_attr, attr); in geos_gpio_show() local549 data32 = (data32 >> gattr->offset) & 1; in geos_gpio_show()557 struct geos_gpio_attr *gattr = container_of(attr, struct geos_gpio_attr, attr); in hardware_show() local562 switch (gattr->offset) { in hardware_show()