Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/atm/
Dsolos-pci.c523 struct geos_gpio_attr *gattr = container_of(attr, struct geos_gpio_attr, attr); in geos_gpio_store() local
533 data32 |= 1 << gattr->offset; in geos_gpio_store()
536 data32 &= ~(1 << gattr->offset); in geos_gpio_store()
549 struct geos_gpio_attr *gattr = container_of(attr, struct geos_gpio_attr, attr); in geos_gpio_show() local
554 data32 = (data32 >> gattr->offset) & 1; in geos_gpio_show()
563 struct geos_gpio_attr *gattr = container_of(attr, struct geos_gpio_attr, attr); in hardware_show() local
568 switch (gattr->offset) { in hardware_show()
/linux-4.1.27/kernel/
Dmodule.c1331 struct attribute **gattr; in add_sect_attrs() local
1351 gattr = &sect_attrs->grp.attrs[0]; in add_sect_attrs()
1367 *(gattr++) = &(sattr++)->mattr.attr; in add_sect_attrs()
1369 *gattr = NULL; in add_sect_attrs()