Home
last modified time | relevance | path

Searched refs:attr_grp (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/platform/x86/intel/pmt/
H A Dclass.c287 if (ns->attr_grp) { in intel_pmt_dev_register()
288 ret = sysfs_create_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_register()
329 if (ns->attr_grp) in intel_pmt_dev_register()
330 sysfs_remove_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_register()
372 if (ns->attr_grp) in intel_pmt_dev_destroy()
373 sysfs_remove_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_destroy()
H A Dclass.h57 const struct attribute_group *attr_grp; member
H A Dcrashlog.c253 .attr_grp = &pmt_crashlog_group,
/linux/drivers/tty/
H A Dtty_port.c161 const struct attribute_group **attr_grp) in tty_port_register_device_attr() argument
165 attr_grp); in tty_port_register_device_attr()
185 const struct attribute_group **attr_grp) in tty_port_register_device_attr_serdev() argument
198 attr_grp); in tty_port_register_device_attr_serdev()
H A Dtty_io.c3242 const struct attribute_group **attr_grp) in tty_register_device_attr() argument
3270 dev->groups = attr_grp; in tty_register_device_attr()
/linux/include/linux/
H A Dtty_port.h149 const struct attribute_group **attr_grp);
156 const struct attribute_group **attr_grp);
H A Dtty_driver.h581 const struct attribute_group **attr_grp); in proc_tty_unregister_driver()
H A Dpower_supply.h235 const struct attribute_group **attr_grp; member
/linux/include/linux/power/
H A Dcharger-manager.h115 struct attribute_group attr_grp; member
/linux/drivers/power/supply/
H A Dcharger-manager.c1191 charger->attr_grp.name = name; in charger_manager_prepare_sysfs()
1192 charger->attr_grp.attrs = charger->attrs; in charger_manager_prepare_sysfs()
1193 desc->sysfs_groups[i] = &charger->attr_grp; in charger_manager_prepare_sysfs()
1582 psy_cfg.attr_grp = desc->sysfs_groups; in charger_manager_probe()
H A Dpcf50633-charger.c416 usb_psy_cfg.attr_grp = pcf50633_mbc_sysfs_groups; in pcf50633_mbc_probe()
H A Dolpc_battery.c698 bat_psy_cfg.attr_grp = olpc_bat_sysfs_groups; in olpc_battery_probe()
H A Dmp2629_charger.c611 psy_cfg.attr_grp = mp2629_charger_sysfs_groups; in mp2629_charger_probe()
H A Dlp8788-charger.c659 charger_cfg.attr_grp = lp8788_charger_sysfs_groups; in lp8788_psy_register()
H A Dds2780_battery.c765 psy_cfg.attr_grp = ds2780_sysfs_groups; in ds2780_battery_probe()
H A Dds2781_battery.c769 psy_cfg.attr_grp = ds2781_sysfs_groups; in ds2781_battery_probe()
H A Dltc4162-l-charger.c871 ltc4162l_config.attr_grp = ltc4162l_attr_groups; in ltc4162l_probe()
H A Dsurface_battery.c799 psy_cfg.attr_grp = spwr_battery_groups; in spwr_battery_register()
H A Drt9471.c727 cfg.attr_grp = rt9471_sysfs_groups; in rt9471_register_psy()
H A Dbq24257_charger.c846 psy_cfg.attr_grp = bq24257_charger_sysfs_groups; in bq24257_power_supply_init()
H A Drt9467-charger.c830 .attr_grp = rt9467_sysfs_groups, in rt9467_register_psy()
H A Dpower_supply_core.c1370 dev->groups = cfg->attr_grp; in __power_supply_register()
H A Dbq2415x_charger.c1491 .attr_grp = bq2415x_sysfs_groups, in bq2415x_power_supply_init()
/linux/sound/soc/codecs/
H A Dsma1303.c61 struct attribute_group *attr_grp; member
1774 sma1303->attr_grp = &sma1303_attr_group; in sma1303_i2c_probe()
1775 ret = sysfs_create_group(sma1303->kobj, sma1303->attr_grp); in sma1303_i2c_probe()
1779 sma1303->attr_grp = NULL; in sma1303_i2c_probe()
/linux/drivers/acpi/
H A Dbattery.c855 .attr_grp = acpi_battery_groups, in sysfs_add_battery()

12