Searched refs:afu_attrs (Results 1 – 2 of 2) sorted by relevance
88 static struct device_attribute afu_attrs[] = { variable148 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) { in ocxl_sysfs_register_afu()149 rc = device_create_file(&info->dev, &afu_attrs[i]); in ocxl_sysfs_register_afu()170 device_remove_file(&info->dev, &afu_attrs[i]); in ocxl_sysfs_register_afu()183 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) in ocxl_sysfs_unregister_afu()184 device_remove_file(&info->dev, &afu_attrs[i]); in ocxl_sysfs_unregister_afu()
455 static struct device_attribute afu_attrs[] = { variable659 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) { in cxl_sysfs_afu_remove()660 dev_attr = &afu_attrs[i]; in cxl_sysfs_afu_remove()663 device_remove_file(&afu->dev, &afu_attrs[i]); in cxl_sysfs_afu_remove()680 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) { in cxl_sysfs_afu_add()681 dev_attr = &afu_attrs[i]; in cxl_sysfs_afu_add()684 if ((rc = device_create_file(&afu->dev, &afu_attrs[i]))) in cxl_sysfs_afu_add()726 dev_attr = &afu_attrs[i]; in cxl_sysfs_afu_add()729 device_remove_file(&afu->dev, &afu_attrs[i]); in cxl_sysfs_afu_add()