Searched refs:info_attr (Results 1 – 2 of 2) sorted by relevance
137 struct device_attribute info_attr; /* group info entry attr */ member
815 eng_grp = container_of(attr, struct otx_cpt_eng_grp_info, info_attr); in eng_grp_info_show()833 eng_grp->info_attr.show = eng_grp_info_show; in create_sysfs_eng_grps_info()834 eng_grp->info_attr.store = NULL; in create_sysfs_eng_grps_info()835 eng_grp->info_attr.attr.name = eng_grp->sysfs_info_name; in create_sysfs_eng_grps_info()836 eng_grp->info_attr.attr.mode = 0440; in create_sysfs_eng_grps_info()837 sysfs_attr_init(&eng_grp->info_attr.attr); in create_sysfs_eng_grps_info()838 return device_create_file(dev, &eng_grp->info_attr); in create_sysfs_eng_grps_info()1176 device_remove_file(dev, &eng_grp->info_attr); in delete_engine_group()