Searched refs:afu_master_attrs (Results 1 – 1 of 1) sorted by relevance
227 static struct device_attribute afu_master_attrs[] = { variable739 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()