Home
last modified time | relevance | path

Searched refs:device_add_groups (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dsysfs.c489 rc = device_add_groups(hdev->dev, hl_dev_attr_groups); in hl_sysfs_init()
499 rc = device_add_groups(hdev->dev, hl_dev_inference_attr_groups); in hl_sysfs_init()
/openbmc/linux/drivers/bus/
H A Dbt1-axi.c250 ret = device_add_groups(axi->dev, bt1_axi_sysfs_groups); in bt1_axi_init_sysfs()
H A Dbt1-apb.c357 ret = device_add_groups(apb->dev, bt1_apb_sysfs_groups); in bt1_apb_init_sysfs()
/openbmc/linux/drivers/memory/
H A Dbt1-l2-ctl.c270 ret = device_add_groups(l2->dev, l2_ctl_sysfs_groups); in l2_ctl_init_sysfs()
/openbmc/linux/include/linux/
H A Ddevice.h1189 int __must_check device_add_groups(struct device *dev,
1199 return device_add_groups(dev, groups); in device_add_group()
/openbmc/linux/drivers/leds/
H A Dled-triggers.c218 ret = device_add_groups(led_cdev->dev, trig->groups); in led_trigger_set()
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_aux.c416 if (device_add_groups(&ccw_device->dev, zfcp_sysfs_adapter_attr_groups)) in zfcp_adapter_enqueue()
/openbmc/linux/drivers/platform/x86/
H A Dmsi-ec.c804 return device_add_groups(&battery->dev, msi_battery_groups); in msi_battery_add()
H A Dsystem76_acpi.c270 if (device_add_groups(&battery->dev, system76_battery_groups)) in system76_battery_add()
H A Dtoshiba_acpi.c3135 if (device_add_groups(&battery->dev, toshiba_acpi_battery_groups)) in toshiba_acpi_battery_add()
H A Dthinkpad_acpi.c9890 if (device_add_groups(&battery->dev, tpacpi_battery_groups)) in tpacpi_battery_add()
/openbmc/linux/drivers/base/
H A Dcore.c2756 int device_add_groups(struct device *dev, const struct attribute_group **groups) in device_add_groups() function
2760 EXPORT_SYMBOL_GPL(device_add_groups);
2867 error = device_add_groups(dev, class->dev_groups); in device_add_attrs()
2873 error = device_add_groups(dev, type->groups); in device_add_attrs()
2878 error = device_add_groups(dev, dev->groups); in device_add_attrs()
H A Ddd.c677 ret = device_add_groups(dev, drv->dev_groups); in really_probe()
H A Dbus.c495 error = device_add_groups(dev, sp->bus->dev_groups); in bus_add_device()
/openbmc/linux/drivers/rpmsg/
H A Dqcom_glink_native.c1825 ret = device_add_groups(dev, qcom_glink_groups); in qcom_glink_native_probe()
/openbmc/linux/drivers/s390/net/
H A Dqeth_l3_main.c1939 rc = device_add_groups(&gdev->dev, qeth_l3_attr_groups); in qeth_l3_probe_device()
H A Dqeth_l2_main.c2300 rc = device_add_groups(&gdev->dev, qeth_l2_attr_groups); in qeth_l2_probe_device()
/openbmc/linux/sound/soc/
H A Dsoc-core.c568 ret = device_add_groups(dev, soc_dev_attr_groups); in soc_new_pcm_runtime()