Searched refs:mlxsw_m (Results 1 – 1 of 1) sorted by relevance
34 struct mlxsw_m { struct47 struct mlxsw_m *mlxsw_m; argument54 static int mlxsw_m_base_mac_get(struct mlxsw_m *mlxsw_m) in mlxsw_m_base_mac_get() argument59 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(spad), spad_pl); in mlxsw_m_base_mac_get()62 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_m->base_mac); in mlxsw_m_base_mac_get()69 struct mlxsw_m *mlxsw_m = mlxsw_m_port->mlxsw_m; in mlxsw_m_port_open() local71 return mlxsw_env_module_port_up(mlxsw_m->core, 0, in mlxsw_m_port_open()78 struct mlxsw_m *mlxsw_m = mlxsw_m_port->mlxsw_m; in mlxsw_m_port_stop() local80 mlxsw_env_module_port_down(mlxsw_m->core, 0, mlxsw_m_port->module); in mlxsw_m_port_stop()88 struct mlxsw_m *mlxsw_m = mlxsw_m_port->mlxsw_m; in mlxsw_m_port_get_devlink_port() local[all …]