Home
last modified time | relevance | path

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

/drivers/misc/cxl/
Dsysfs.c301 static struct device_attribute afu_attrs[] = { variable
341 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()