Home
last modified time | relevance | path

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

/drivers/platform/x86/intel/pmt/
Dclass.c262 if (ns->attr_grp) { in intel_pmt_dev_register()
263 ret = sysfs_create_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_register()
294 if (ns->attr_grp) in intel_pmt_dev_register()
295 sysfs_remove_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_register()
339 if (ns->attr_grp) in intel_pmt_dev_destroy()
340 sysfs_remove_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_destroy()
Dclass.h42 const struct attribute_group *attr_grp; member
Dcrashlog.c253 .attr_grp = &pmt_crashlog_group,
/drivers/soc/aspeed/
Daspeed-uart-routing.c36 struct attribute_group const *attr_grp; member
555 uart_routing->attr_grp = of_device_get_match_data(dev); in aspeed_uart_routing_probe()
557 rc = sysfs_create_group(&dev->kobj, uart_routing->attr_grp); in aspeed_uart_routing_probe()
573 sysfs_remove_group(&dev->kobj, uart_routing->attr_grp); in aspeed_uart_routing_remove()
/drivers/tty/
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()
184 const struct attribute_group **attr_grp) in tty_port_register_device_attr_serdev() argument
197 attr_grp); in tty_port_register_device_attr_serdev()
Dtty_io.c3218 const struct attribute_group **attr_grp) in tty_register_device_attr() argument
3246 dev->groups = attr_grp; in tty_register_device_attr()
/drivers/power/supply/
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()
1581 psy_cfg.attr_grp = desc->sysfs_groups; in charger_manager_probe()
Dpcf50633-charger.c416 usb_psy_cfg.attr_grp = pcf50633_mbc_sysfs_groups; in pcf50633_mbc_probe()
Dolpc_battery.c698 bat_psy_cfg.attr_grp = olpc_bat_sysfs_groups; in olpc_battery_probe()
Dmp2629_charger.c616 psy_cfg.attr_grp = mp2629_charger_sysfs_groups; in mp2629_charger_probe()
Dlp8788-charger.c665 charger_cfg.attr_grp = lp8788_charger_sysfs_groups; in lp8788_psy_register()
Dds2780_battery.c765 psy_cfg.attr_grp = ds2780_sysfs_groups; in ds2780_battery_probe()
Dds2781_battery.c769 psy_cfg.attr_grp = ds2781_sysfs_groups; in ds2781_battery_probe()
Dltc4162-l-charger.c871 ltc4162l_config.attr_grp = ltc4162l_attr_groups; in ltc4162l_probe()
Dsurface_battery.c799 psy_cfg.attr_grp = spwr_battery_groups; in spwr_battery_register()
Drt9471.c721 cfg.attr_grp = rt9471_sysfs_groups; in rt9471_register_psy()
Dbq24257_charger.c851 psy_cfg.attr_grp = bq24257_charger_sysfs_groups; in bq24257_power_supply_init()
Drt9467-charger.c838 .attr_grp = rt9467_sysfs_groups, in rt9467_register_psy()
Dbq2415x_charger.c1481 .attr_grp = bq2415x_sysfs_groups, in bq2415x_power_supply_init()
Dpower_supply_core.c1457 dev->groups = cfg->attr_grp; in __power_supply_register()
Dbq24190_charger.c1840 charger_cfg.attr_grp = bq24190_sysfs_groups; in bq24190_probe()
/drivers/acpi/
Dsbs.c528 .attr_grp = acpi_battery_groups, in acpi_battery_add()
Dbattery.c834 .attr_grp = acpi_battery_groups, in sysfs_add_battery()