Lines Matching refs:slot_index
590 u8 slot_index; in mlxsw_sp_port_module_info_parse() local
596 slot_index = mlxsw_reg_pmlp_slot_index_get(pmlp_pl, 0); in mlxsw_sp_port_module_info_parse()
613 if (mlxsw_reg_pmlp_slot_index_get(pmlp_pl, i) != slot_index) { in mlxsw_sp_port_module_info_parse()
633 port_mapping->slot_index = slot_index; in mlxsw_sp_port_module_info_parse()
662 mlxsw_env_module_port_map(mlxsw_sp->core, port_mapping->slot_index, in mlxsw_sp_port_module_map()
669 port_mapping->slot_index); in mlxsw_sp_port_module_map()
680 mlxsw_env_module_port_unmap(mlxsw_sp->core, port_mapping->slot_index, in mlxsw_sp_port_module_map()
686 u8 slot_index, u8 module) in mlxsw_sp_port_module_unmap() argument
693 mlxsw_env_module_port_unmap(mlxsw_sp->core, slot_index, module); in mlxsw_sp_port_module_unmap()
703 mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_port_open()
715 mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_port_open()
728 mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_port_stop()
1562 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_port_overheat_init_val_set() local
1567 err = mlxsw_env_module_overheat_counter_get(mlxsw_sp->core, slot_index, in mlxsw_sp_port_overheat_init_val_set()
1592 u8 *slot_index) in mlxsw_sp_port_label_info_get() argument
1602 split_port_subnumber, slot_index); in mlxsw_sp_port_label_info_get()
1616 u8 slot_index; in mlxsw_sp_port_create() local
1635 &split_port_subnumber, &slot_index); in mlxsw_sp_port_create()
1643 err = mlxsw_core_port_init(mlxsw_sp->core, local_port, slot_index, in mlxsw_sp_port_create()
1894 port_mapping->slot_index, in mlxsw_sp_port_create()
1902 u8 slot_index = mlxsw_sp_port->mapping.slot_index; in mlxsw_sp_port_remove() local
1924 mlxsw_sp_port_module_unmap(mlxsw_sp, local_port, slot_index, module); in mlxsw_sp_port_remove()
2286 mlxsw_reg_pmtdb_pack(pmtdb_pl, mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_port_split()
2352 mlxsw_reg_pmtdb_pack(pmtdb_pl, mlxsw_sp_port->mapping.slot_index, in mlxsw_sp_port_unsplit()