Home
last modified time | relevance | path

Searched refs:sysfs_attr (Results 1 – 4 of 4) sorted by relevance

/drivers/hwmon/
Dabituguru3.c155 struct sensor_device_attribute_2 sysfs_attr[ABIT_UGURU3_MAX_NO_SENSORS member
1018 data->sysfs_attr[sysfs_attr_i] = in abituguru3_probe()
1020 data->sysfs_attr[sysfs_attr_i].dev_attr.attr.name = in abituguru3_probe()
1022 data->sysfs_attr[sysfs_attr_i].index = i; in abituguru3_probe()
1040 &data->sysfs_attr[i].dev_attr)) in abituguru3_probe()
1056 for (i = 0; data->sysfs_attr[i].dev_attr.attr.name; i++) in abituguru3_probe()
1057 device_remove_file(&pdev->dev, &data->sysfs_attr[i].dev_attr); in abituguru3_probe()
1070 for (i = 0; data->sysfs_attr[i].dev_attr.attr.name; i++) in abituguru3_remove()
1071 device_remove_file(&pdev->dev, &data->sysfs_attr[i].dev_attr); in abituguru3_remove()
Dabituguru.c215 struct sensor_device_attribute_2 sysfs_attr[ member
1345 data->sysfs_attr[sysfs_attr_i] = in abituguru_probe()
1347 data->sysfs_attr[sysfs_attr_i].dev_attr.attr.name = in abituguru_probe()
1349 data->sysfs_attr[sysfs_attr_i].index = probe_order[i]; in abituguru_probe()
1367 data->sysfs_attr[sysfs_attr_i] = in abituguru_probe()
1369 data->sysfs_attr[sysfs_attr_i].dev_attr.attr.name = in abituguru_probe()
1371 data->sysfs_attr[sysfs_attr_i].index = i; in abituguru_probe()
1384 data->sysfs_attr[sysfs_attr_i] = in abituguru_probe()
1386 data->sysfs_attr[sysfs_attr_i].dev_attr.attr.name = in abituguru_probe()
1388 data->sysfs_attr[sysfs_attr_i].index = i; in abituguru_probe()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c426 struct ras_manager *obj = container_of(attr, struct ras_manager, sysfs_attr); in amdgpu_ras_sysfs_read()
1072 obj->sysfs_attr = (struct device_attribute){ in amdgpu_ras_sysfs_create()
1079 sysfs_attr_init(&obj->sysfs_attr.attr); in amdgpu_ras_sysfs_create()
1082 &obj->sysfs_attr.attr, in amdgpu_ras_sysfs_create()
1103 &obj->sysfs_attr.attr, in amdgpu_ras_sysfs_remove()
Damdgpu_ras.h406 struct device_attribute sysfs_attr; member