Searched refs:smi_enabled (Results 1 – 5 of 5) sorted by relevance
373 struct device_attribute smi_enabled; member547 container_of(attr, struct mlx4_port, smi_enabled); in sysfs_show_smi_enabled()601 sysfs_attr_init(&p->smi_enabled.attr); in add_vf_smi_entries()602 p->smi_enabled.show = sysfs_show_smi_enabled; in add_vf_smi_entries()603 p->smi_enabled.store = NULL; in add_vf_smi_entries()604 p->smi_enabled.attr.name = "smi_enabled"; in add_vf_smi_entries()605 p->smi_enabled.attr.mode = 0444; in add_vf_smi_entries()606 ret = sysfs_create_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries()620 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries()634 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in remove_vf_smi_entries()
51 int smi_enabled; member
911 sc->smi_enabled = ichwd_smi_is_enabled(sc); in ichwd_attach()945 if (sc->smi_enabled != 0) in ichwd_detach()
2014 priv->mfunc.master.vf_oper[slave].smi_enabled[port] = in mlx4_master_activate_admin_state()2080 priv->mfunc.master.vf_oper[slave].smi_enabled[port] = in mlx4_master_deactivate_admin_state()3240 return priv->mfunc.master.vf_oper[slave].smi_enabled[port] == in mlx4_vf_smi_enabled()
524 u8 smi_enabled[MLX4_MAX_PORTS + 1]; member