Searched refs:afu_attrs (Results 1 – 1 of 1) sorted by relevance
359 static struct device_attribute afu_attrs[] = { variable537 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) in cxl_sysfs_afu_remove()538 device_remove_file(&afu->dev, &afu_attrs[i]); in cxl_sysfs_afu_remove()553 for (i = 0; i < ARRAY_SIZE(afu_attrs); i++) { in cxl_sysfs_afu_add()554 if ((rc = device_create_file(&afu->dev, &afu_attrs[i]))) in cxl_sysfs_afu_add()574 device_remove_file(&afu->dev, &afu_attrs[i]); in cxl_sysfs_afu_add()