Home
last modified time | relevance | path

Searched refs:gattr (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/cpufreq/
A Dcpufreq_governor_attr_set.c19 struct governor_attr *gattr = to_gov_attr(attr); in governor_show() local
21 return gattr->show(to_gov_attr_set(kobj), buf); in governor_show()
28 struct governor_attr *gattr = to_gov_attr(attr); in governor_store() local
32 ret = attr_set->usage_count ? gattr->store(attr_set, buf, count) : -EBUSY; in governor_store()
/linux-6.3-rc2/kernel/module/
A Dsysfs.c77 struct bin_attribute **gattr; in add_sect_attrs() local
96 gattr = &sect_attrs->grp.bin_attrs[0]; in add_sect_attrs()
112 *(gattr++) = &(sattr++)->battr; in add_sect_attrs()
114 *gattr = NULL; in add_sect_attrs()
/linux-6.3-rc2/drivers/atm/
A Dsolos-pci.c519 struct geos_gpio_attr *gattr = container_of(attr, struct geos_gpio_attr, attr); in geos_gpio_store() local
529 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() local
549 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() local
562 switch (gattr->offset) { in hardware_show()

Completed in 12 milliseconds