Searched refs:sysfs_attr (Results 1 – 5 of 5) sorted by relevance
155 struct sensor_device_attribute_2 sysfs_attr[ABIT_UGURU3_MAX_NO_SENSORS member1018 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()
215 struct sensor_device_attribute_2 sysfs_attr[ member1345 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 …]
535 struct ras_manager *obj = container_of(attr, struct ras_manager, sysfs_attr); in amdgpu_ras_sysfs_read()1321 obj->sysfs_attr = (struct device_attribute){ in amdgpu_ras_sysfs_create()1328 sysfs_attr_init(&obj->sysfs_attr.attr); in amdgpu_ras_sysfs_create()1331 &obj->sysfs_attr.attr, in amdgpu_ras_sysfs_create()1351 &obj->sysfs_attr.attr, in amdgpu_ras_sysfs_remove()
412 struct device_attribute sysfs_attr; member
6143 struct bin_attribute *sysfs_attr; member6223 btf_mod->sysfs_attr = attr; in btf_module_notify()6234 if (btf_mod->sysfs_attr) in btf_module_notify()6235 sysfs_remove_bin_file(btf_kobj, btf_mod->sysfs_attr); in btf_module_notify()6237 kfree(btf_mod->sysfs_attr); in btf_module_notify()
Completed in 32 milliseconds