Home
last modified time | relevance | path

Searched refs:attr_grp (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/platform/x86/intel/pmt/
H A 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()
H A Dclass.h42 const struct attribute_group *attr_grp; member
H A Dcrashlog.c253 .attr_grp = &pmt_crashlog_group,
/kernel/linux/linux-5.10/drivers/tty/
H A Dtty_port.c124 * @attr_grp: Attribute group to be set on device.
133 const struct attribute_group **attr_grp) in tty_port_register_device_attr()
137 attr_grp); in tty_port_register_device_attr()
148 * @attr_grp: attribute group for the device
156 const struct attribute_group **attr_grp) in tty_port_register_device_attr_serdev()
169 attr_grp); in tty_port_register_device_attr_serdev()
130 tty_port_register_device_attr(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *device, void *drvdata, const struct attribute_group **attr_grp) tty_port_register_device_attr() argument
153 tty_port_register_device_attr_serdev(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *device, void *drvdata, const struct attribute_group **attr_grp) tty_port_register_device_attr_serdev() argument
/kernel/linux/linux-6.6/drivers/tty/
H A Dtty_port.c152 * @attr_grp: Attribute group to be set on device.
161 const struct attribute_group **attr_grp) in tty_port_register_device_attr()
165 attr_grp); in tty_port_register_device_attr()
176 * @attr_grp: attribute group for the device
184 const struct attribute_group **attr_grp) in tty_port_register_device_attr_serdev()
197 attr_grp); in tty_port_register_device_attr_serdev()
158 tty_port_register_device_attr(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *device, void *drvdata, const struct attribute_group **attr_grp) tty_port_register_device_attr() argument
181 tty_port_register_device_attr_serdev(struct tty_port *port, struct tty_driver *driver, unsigned index, struct device *device, void *drvdata, const struct attribute_group **attr_grp) tty_port_register_device_attr_serdev() argument
/kernel/linux/linux-6.6/drivers/soc/aspeed/
H A 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()
/kernel/linux/linux-6.6/include/linux/
H A Dtty_port.h149 const struct attribute_group **attr_grp);
156 const struct attribute_group **attr_grp);
H A Dtty_driver.h574 const struct attribute_group **attr_grp);
H A Dpower_supply.h235 const struct attribute_group **attr_grp; member
/kernel/linux/linux-5.10/include/linux/power/
H A Dcharger-manager.h115 struct attribute_group attr_grp; member
/kernel/linux/linux-6.6/include/linux/power/
H A Dcharger-manager.h115 struct attribute_group attr_grp; member
/kernel/linux/linux-5.10/include/linux/
H A Dtty.h444 const struct attribute_group **attr_grp);
518 const struct attribute_group **attr_grp);
525 const struct attribute_group **attr_grp);
H A Dpower_supply.h226 const struct attribute_group **attr_grp; member
/kernel/linux/linux-5.10/drivers/power/supply/
H 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()
H A Dmp2629_charger.c618 psy_cfg.attr_grp = mp2629_charger_sysfs_groups; in mp2629_charger_probe()
H A Dolpc_battery.c695 bat_psy_cfg.attr_grp = olpc_bat_sysfs_groups; in olpc_battery_probe()
H A Dpcf50633-charger.c416 usb_psy_cfg.attr_grp = pcf50633_mbc_sysfs_groups; in pcf50633_mbc_probe()
H A Dds2781_battery.c769 psy_cfg.attr_grp = ds2781_sysfs_groups; in ds2781_battery_probe()
H A Dds2780_battery.c765 psy_cfg.attr_grp = ds2780_sysfs_groups; in ds2780_battery_probe()
H A Dlp8788-charger.c666 charger_cfg.attr_grp = lp8788_charger_sysfs_groups; in lp8788_psy_register()
/kernel/linux/linux-6.6/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()
1581 psy_cfg.attr_grp = desc->sysfs_groups; in charger_manager_probe()
H A Dmp2629_charger.c616 psy_cfg.attr_grp = mp2629_charger_sysfs_groups; in mp2629_charger_probe()
H A Dolpc_battery.c698 bat_psy_cfg.attr_grp = olpc_bat_sysfs_groups; in olpc_battery_probe()
H A Dpcf50633-charger.c416 usb_psy_cfg.attr_grp = pcf50633_mbc_sysfs_groups; in pcf50633_mbc_probe()
/kernel/linux/linux-6.6/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()

Completed in 24 milliseconds

12