Searched refs:gattr (Results 1 – 3 of 3) sorted by relevance
19 struct governor_attr *gattr = to_gov_attr(attr); in governor_show() local21 return gattr->show(to_gov_attr_set(kobj), buf); in governor_show()28 struct governor_attr *gattr = to_gov_attr(attr); in governor_store() local32 ret = attr_set->usage_count ? gattr->store(attr_set, buf, count) : -EBUSY; in governor_store()
77 struct bin_attribute **gattr; in add_sect_attrs() local97 gattr = §_attrs->grp.bin_attrs[0]; in add_sect_attrs()115 *(gattr++) = &(sattr++)->battr; in add_sect_attrs()117 *gattr = NULL; in add_sect_attrs()
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()