Searched refs:mgpir_pl (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_hwmon.c | 688 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_hwmon_module_init() local 692 mlxsw_reg_mgpir_pack(mgpir_pl, mlxsw_hwmon_dev->slot_index); in mlxsw_hwmon_module_init() 693 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_hwmon_module_init() 697 mlxsw_reg_mgpir_unpack(mgpir_pl, NULL, NULL, NULL, in mlxsw_hwmon_module_init() 739 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_hwmon_gearbox_init() local 744 mlxsw_reg_mgpir_pack(mgpir_pl, mlxsw_hwmon_dev->slot_index); in mlxsw_hwmon_gearbox_init() 745 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_hwmon_gearbox_init() 749 mlxsw_reg_mgpir_unpack(mgpir_pl, &gbox_num, &device_type, NULL, NULL, in mlxsw_hwmon_gearbox_init() 859 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_hwmon_init() local 865 mlxsw_reg_mgpir_pack(mgpir_pl, 0); in mlxsw_hwmon_init() [all …]
|
D | core_thermal.c | 690 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_thermal_modules_init() local 693 mlxsw_reg_mgpir_pack(mgpir_pl, area->slot_index); in mlxsw_thermal_modules_init() 694 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_thermal_modules_init() 698 mlxsw_reg_mgpir_unpack(mgpir_pl, NULL, NULL, NULL, in mlxsw_thermal_modules_init() 789 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_thermal_gearboxes_init() local 794 mlxsw_reg_mgpir_pack(mgpir_pl, area->slot_index); in mlxsw_thermal_gearboxes_init() 795 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_thermal_gearboxes_init() 799 mlxsw_reg_mgpir_unpack(mgpir_pl, &gbox_num, &device_type, NULL, in mlxsw_thermal_gearboxes_init() 909 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_thermal_init() local 915 mlxsw_reg_mgpir_pack(mgpir_pl, 0); in mlxsw_thermal_init() [all …]
|
D | core_env.c | 1297 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_env_got_active() local 1304 mlxsw_reg_mgpir_pack(mgpir_pl, slot_index); in mlxsw_env_got_active() 1305 err = mlxsw_reg_query(mlxsw_env->core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_env_got_active() 1309 mlxsw_reg_mgpir_unpack(mgpir_pl, NULL, NULL, NULL, in mlxsw_env_got_active() 1367 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_env_init() local 1371 mlxsw_reg_mgpir_pack(mgpir_pl, 0); in mlxsw_env_init() 1372 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_env_init() 1376 mlxsw_reg_mgpir_unpack(mgpir_pl, NULL, NULL, NULL, &module_count, in mlxsw_env_init() 1382 mlxsw_reg_mgpir_max_modules_per_slot_get(mgpir_pl) : in mlxsw_env_init()
|
D | minimal.c | 377 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_m_linecards_init() local 381 mlxsw_reg_mgpir_pack(mgpir_pl, 0); in mlxsw_m_linecards_init() 382 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_m_linecards_init() 386 mlxsw_reg_mgpir_unpack(mgpir_pl, NULL, NULL, NULL, &num_of_modules, in mlxsw_m_linecards_init() 393 mlxsw_reg_mgpir_max_modules_per_slot_get(mgpir_pl); in mlxsw_m_linecards_init()
|
D | core_linecards.c | 1504 char mgpir_pl[MLXSW_REG_MGPIR_LEN]; in mlxsw_linecards_init() local 1510 mlxsw_reg_mgpir_pack(mgpir_pl, 0); in mlxsw_linecards_init() 1511 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_linecards_init() 1515 mlxsw_reg_mgpir_unpack(mgpir_pl, NULL, NULL, NULL, in mlxsw_linecards_init()
|