Home
last modified time | relevance | path

Searched refs:module_num (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Devents.c222 u8 module_num; in port_module() local
240 module_num = module_event_eqe->module; in port_module()
247 module_num, status_str, error_str); in port_module()
251 module_num, status_str); in port_module()
Dport.c262 static int mlx5_query_module_num(struct mlx5_core_dev *dev, int *module_num) in mlx5_query_module_num() argument
276 *module_num = module_mapping & MLX5_EEPROM_IDENTIFIER_BYTE_MASK; in mlx5_query_module_num()
281 static int mlx5_query_module_id(struct mlx5_core_dev *dev, int module_num, in mlx5_query_module_id() argument
290 MLX5_SET(mcia_reg, in, module, module_num); in mlx5_query_module_id()
359 int module_num, status, err, page_num = 0; in mlx5_query_module_eeprom() local
366 err = mlx5_query_module_num(dev, &module_num); in mlx5_query_module_eeprom()
370 err = mlx5_query_module_id(dev, module_num, &module_id); in mlx5_query_module_eeprom()
395 MLX5_SET(mcia_reg, in, module, module_num); in mlx5_query_module_eeprom()