Searched refs:enable_smi_admin (Results 1 – 1 of 1) sorted by relevance
371 struct device_attribute enable_smi_admin; member554 container_of(attr, struct mlx4_port, enable_smi_admin); in sysfs_show_enable_smi_admin()566 container_of(attr, struct mlx4_port, enable_smi_admin); in sysfs_store_enable_smi_admin()599 sysfs_attr_init(&p->enable_smi_admin.attr); in add_vf_smi_entries()600 p->enable_smi_admin.show = sysfs_show_enable_smi_admin; in add_vf_smi_entries()601 p->enable_smi_admin.store = sysfs_store_enable_smi_admin; in add_vf_smi_entries()602 p->enable_smi_admin.attr.name = "enable_smi_admin"; in add_vf_smi_entries()603 p->enable_smi_admin.attr.mode = 0644; in add_vf_smi_entries()604 ret = sysfs_create_file(&p->kobj, &p->enable_smi_admin.attr); in add_vf_smi_entries()622 sysfs_remove_file(&p->kobj, &p->enable_smi_admin.attr); in remove_vf_smi_entries()