Searched refs:attr_grp (Results 1 – 23 of 23) sorted by relevance
/drivers/platform/x86/intel/pmt/ |
D | class.c | 262 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()
|
D | class.h | 42 const struct attribute_group *attr_grp; member
|
D | crashlog.c | 253 .attr_grp = &pmt_crashlog_group,
|
/drivers/soc/aspeed/ |
D | aspeed-uart-routing.c | 36 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/ |
D | tty_port.c | 161 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()
|
D | tty_io.c | 3218 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/ |
D | charger-manager.c | 1191 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()
|
D | pcf50633-charger.c | 416 usb_psy_cfg.attr_grp = pcf50633_mbc_sysfs_groups; in pcf50633_mbc_probe()
|
D | olpc_battery.c | 698 bat_psy_cfg.attr_grp = olpc_bat_sysfs_groups; in olpc_battery_probe()
|
D | mp2629_charger.c | 616 psy_cfg.attr_grp = mp2629_charger_sysfs_groups; in mp2629_charger_probe()
|
D | lp8788-charger.c | 665 charger_cfg.attr_grp = lp8788_charger_sysfs_groups; in lp8788_psy_register()
|
D | ds2780_battery.c | 765 psy_cfg.attr_grp = ds2780_sysfs_groups; in ds2780_battery_probe()
|
D | ds2781_battery.c | 769 psy_cfg.attr_grp = ds2781_sysfs_groups; in ds2781_battery_probe()
|
D | ltc4162-l-charger.c | 871 ltc4162l_config.attr_grp = ltc4162l_attr_groups; in ltc4162l_probe()
|
D | surface_battery.c | 799 psy_cfg.attr_grp = spwr_battery_groups; in spwr_battery_register()
|
D | rt9471.c | 721 cfg.attr_grp = rt9471_sysfs_groups; in rt9471_register_psy()
|
D | bq24257_charger.c | 851 psy_cfg.attr_grp = bq24257_charger_sysfs_groups; in bq24257_power_supply_init()
|
D | rt9467-charger.c | 838 .attr_grp = rt9467_sysfs_groups, in rt9467_register_psy()
|
D | bq2415x_charger.c | 1481 .attr_grp = bq2415x_sysfs_groups, in bq2415x_power_supply_init()
|
D | power_supply_core.c | 1457 dev->groups = cfg->attr_grp; in __power_supply_register()
|
D | bq24190_charger.c | 1840 charger_cfg.attr_grp = bq24190_sysfs_groups; in bq24190_probe()
|
/drivers/acpi/ |
D | sbs.c | 528 .attr_grp = acpi_battery_groups, in acpi_battery_add()
|
D | battery.c | 834 .attr_grp = acpi_battery_groups, in sysfs_add_battery()
|