Lines Matching defs:mlxsw_m
34 struct mlxsw_m { struct
35 struct mlxsw_m_port **ports; argument
42 struct mlxsw_m_line_card **line_cards; argument
47 struct mlxsw_m *mlxsw_m; argument
54 static int mlxsw_m_base_mac_get(struct mlxsw_m *mlxsw_m) in mlxsw_m_base_mac_get()
69 struct mlxsw_m *mlxsw_m = mlxsw_m_port->mlxsw_m; in mlxsw_m_port_open() local
78 struct mlxsw_m *mlxsw_m = mlxsw_m_port->mlxsw_m; in mlxsw_m_port_stop() local
93 struct mlxsw_m *mlxsw_m = mlxsw_m_port->mlxsw_m; in mlxsw_m_module_get_drvinfo() local
190 mlxsw_m_port_module_info_get(struct mlxsw_m *mlxsw_m, u16 local_port, in mlxsw_m_port_module_info_get()
210 struct mlxsw_m *mlxsw_m = mlxsw_m_port->mlxsw_m; in mlxsw_m_port_dev_addr_get() local
225 static bool mlxsw_m_port_created(struct mlxsw_m *mlxsw_m, u16 local_port) in mlxsw_m_port_created()
231 mlxsw_m_port_create(struct mlxsw_m *mlxsw_m, u16 local_port, u8 slot_index, in mlxsw_m_port_create()
303 static void mlxsw_m_port_remove(struct mlxsw_m *mlxsw_m, u16 local_port) in mlxsw_m_port_remove()
314 mlxsw_m_port_mapping_get(struct mlxsw_m *mlxsw_m, u8 slot_index, u8 module) in mlxsw_m_port_mapping_get()
319 static int mlxsw_m_port_module_map(struct mlxsw_m *mlxsw_m, u16 local_port, in mlxsw_m_port_module_map()
353 mlxsw_m_port_module_unmap(struct mlxsw_m *mlxsw_m, u8 slot_index, u8 module) in mlxsw_m_port_module_unmap()
361 static int mlxsw_m_linecards_init(struct mlxsw_m *mlxsw_m) in mlxsw_m_linecards_init()
426 static void mlxsw_m_linecards_fini(struct mlxsw_m *mlxsw_m) in mlxsw_m_linecards_fini()
437 mlxsw_m_linecard_port_module_unmap(struct mlxsw_m *mlxsw_m, u8 slot_index) in mlxsw_m_linecard_port_module_unmap()
451 mlxsw_m_linecard_ports_create(struct mlxsw_m *mlxsw_m, u8 slot_index) in mlxsw_m_linecard_ports_create()
485 mlxsw_m_linecard_ports_remove(struct mlxsw_m *mlxsw_m, u8 slot_index) in mlxsw_m_linecard_ports_remove()
501 static int mlxsw_m_ports_module_map(struct mlxsw_m *mlxsw_m) in mlxsw_m_ports_module_map()
516 static int mlxsw_m_ports_create(struct mlxsw_m *mlxsw_m) in mlxsw_m_ports_create()
539 static void mlxsw_m_ports_remove(struct mlxsw_m *mlxsw_m) in mlxsw_m_ports_remove()
549 struct mlxsw_m *mlxsw_m = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_m_ports_remove_selected() local
562 static int mlxsw_m_fw_rev_validate(struct mlxsw_m *mlxsw_m) in mlxsw_m_fw_rev_validate()
584 struct mlxsw_m *mlxsw_m = priv; in mlxsw_m_got_active() local
618 struct mlxsw_m *mlxsw_m = priv; in mlxsw_m_got_inactive() local
638 struct mlxsw_m *mlxsw_m = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_m_init() local
685 struct mlxsw_m *mlxsw_m = mlxsw_core_driver_priv(mlxsw_core); in mlxsw_m_fini() local