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