Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_sysfs.c373 struct device_attribute smi_enabled; member
547 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()
/freebsd/sys/dev/ichwd/
H A Dichwd.h51 int smi_enabled; member
H A Dichwd.c911 sc->smi_enabled = ichwd_smi_is_enabled(sc); in ichwd_attach()
945 if (sc->smi_enabled != 0) in ichwd_detach()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c2014 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()
H A Dmlx4.h524 u8 smi_enabled[MLX4_MAX_PORTS + 1]; member