Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/cxl/
Dsysfs.c227 static struct device_attribute afu_master_attrs[] = { variable
739 for (i = 0; i < ARRAY_SIZE(afu_master_attrs); i++) { in cxl_sysfs_afu_m_add()
740 dev_attr = &afu_master_attrs[i]; in cxl_sysfs_afu_m_add()
743 if ((rc = device_create_file(afu->chardev_m, &afu_master_attrs[i]))) in cxl_sysfs_afu_m_add()
752 dev_attr = &afu_master_attrs[i]; in cxl_sysfs_afu_m_add()
755 device_remove_file(afu->chardev_m, &afu_master_attrs[i]); in cxl_sysfs_afu_m_add()
765 for (i = 0; i < ARRAY_SIZE(afu_master_attrs); i++) { in cxl_sysfs_afu_m_remove()
766 dev_attr = &afu_master_attrs[i]; in cxl_sysfs_afu_m_remove()
769 device_remove_file(afu->chardev_m, &afu_master_attrs[i]); in cxl_sysfs_afu_m_remove()