Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/intel/pmt/
A Dclass.c242 if (ns->attr_grp) { in intel_pmt_dev_register()
243 ret = sysfs_create_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_register()
274 if (ns->attr_grp) in intel_pmt_dev_register()
275 sysfs_remove_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_register()
321 if (ns->attr_grp) in intel_pmt_dev_destroy()
322 sysfs_remove_group(entry->kobj, ns->attr_grp); in intel_pmt_dev_destroy()
A Dclass.h41 const struct attribute_group *attr_grp; member
A Dcrashlog.c253 .attr_grp = &pmt_crashlog_group,
/linux/drivers/soc/aspeed/
A Daspeed-uart-routing.c37 struct attribute_group const *attr_grp; member
556 uart_routing->attr_grp = of_device_get_match_data(dev); in aspeed_uart_routing_probe()
558 rc = sysfs_create_group(&dev->kobj, uart_routing->attr_grp); in aspeed_uart_routing_probe()
574 sysfs_remove_group(&dev->kobj, uart_routing->attr_grp); in aspeed_uart_routing_remove()
/linux/drivers/tty/
A Dtty_port.c133 const struct attribute_group **attr_grp) in tty_port_register_device_attr() argument
137 attr_grp); in tty_port_register_device_attr()
156 const struct attribute_group **attr_grp) in tty_port_register_device_attr_serdev() argument
169 attr_grp); in tty_port_register_device_attr_serdev()
A Dtty_io.c3252 const struct attribute_group **attr_grp) in tty_register_device_attr() argument
3280 dev->groups = attr_grp; in tty_register_device_attr()
/linux/include/linux/
A Dtty_port.h100 const struct attribute_group **attr_grp);
107 const struct attribute_group **attr_grp);
A Dtty_driver.h435 const struct attribute_group **attr_grp);
A Dpower_supply.h226 const struct attribute_group **attr_grp; member
/linux/include/linux/power/
A Dcharger-manager.h115 struct attribute_group attr_grp; member
/linux/drivers/power/supply/
A Dcharger-manager.c1194 charger->attr_grp.name = name; in charger_manager_prepare_sysfs()
1195 charger->attr_grp.attrs = charger->attrs; in charger_manager_prepare_sysfs()
1196 desc->sysfs_groups[i] = &charger->attr_grp; in charger_manager_prepare_sysfs()
1584 psy_cfg.attr_grp = desc->sysfs_groups; in charger_manager_probe()
A Dpcf50633-charger.c416 usb_psy_cfg.attr_grp = pcf50633_mbc_sysfs_groups; in pcf50633_mbc_probe()
A Dolpc_battery.c695 bat_psy_cfg.attr_grp = olpc_bat_sysfs_groups; in olpc_battery_probe()
A Dmp2629_charger.c618 psy_cfg.attr_grp = mp2629_charger_sysfs_groups; in mp2629_charger_probe()
A Dlp8788-charger.c666 charger_cfg.attr_grp = lp8788_charger_sysfs_groups; in lp8788_psy_register()
A Dds2780_battery.c765 psy_cfg.attr_grp = ds2780_sysfs_groups; in ds2780_battery_probe()
A Dds2781_battery.c769 psy_cfg.attr_grp = ds2781_sysfs_groups; in ds2781_battery_probe()
A Dltc4162-l-charger.c872 ltc4162l_config.attr_grp = ltc4162l_attr_groups; in ltc4162l_probe()
A Dsurface_battery.c799 psy_cfg.attr_grp = spwr_battery_groups; in spwr_battery_register()
A Dbq24257_charger.c853 psy_cfg.attr_grp = bq24257_charger_sysfs_groups; in bq24257_power_supply_init()
A Dpower_supply_core.c1160 dev->groups = cfg->attr_grp; in __power_supply_register()
A Dbq2415x_charger.c1481 .attr_grp = bq2415x_sysfs_groups, in bq2415x_power_supply_init()
A Dbq24190_charger.c1762 charger_cfg.attr_grp = bq24190_sysfs_groups; in bq24190_probe()

Completed in 57 milliseconds