Searched refs:num_of_slots (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_env.c | 34 u8 num_of_slots; /* Including the main board. */ member 37 struct mlxsw_env_line_card *line_cards[] __counted_by(num_of_slots); 1076 slot_index >= mlxsw_env->num_of_slots)) in mlxsw_env_pmpe_listener_func() 1245 for (i = 0; i < env->num_of_slots; i++) { in mlxsw_env_line_cards_alloc() 1272 int i = env->num_of_slots; in mlxsw_env_line_cards_free() 1436 u8 module_count, num_of_slots, max_module_count; in mlxsw_env_init() local 1447 &num_of_slots); in mlxsw_env_init() 1451 max_module_count = num_of_slots ? in mlxsw_env_init() 1455 env = kzalloc_flex(*env, line_cards, num_of_slots + 1); in mlxsw_env_init() 1461 env->num_of_slots = num_of_slots + 1; in mlxsw_env_init() [all …]
|
| H A D | minimal.c | 41 u8 num_of_slots; /* Including the main board. */ member 389 &mlxsw_m->num_of_slots); in mlxsw_m_linecards_init() 393 if (mlxsw_m->num_of_slots) in mlxsw_m_linecards_init() 399 mlxsw_m->num_of_slots += 1; in mlxsw_m_linecards_init() 406 mlxsw_m->num_of_slots); in mlxsw_m_linecards_init() 412 for (i = 0; i < mlxsw_m->num_of_slots; i++) { in mlxsw_m_linecards_init() 439 int i = mlxsw_m->num_of_slots; in mlxsw_m_linecards_fini()
|
| H A D | core_thermal.c | 633 u8 pwm_active, num_of_slots; in mlxsw_thermal_init() local 643 &num_of_slots); in mlxsw_thermal_init() 645 thermal = kzalloc_flex(*thermal, line_cards, num_of_slots + 1); in mlxsw_thermal_init()
|
| H A D | core_hwmon.c | 863 u8 num_of_slots; in mlxsw_hwmon_init() local 872 &num_of_slots); in mlxsw_hwmon_init() 874 mlxsw_hwmon = kzalloc_flex(*mlxsw_hwmon, line_cards, num_of_slots + 1); in mlxsw_hwmon_init()
|
| /linux/drivers/pci/hotplug/ |
| H A D | cpqphp_ctrl.c | 2096 static void switch_leds(struct controller *ctrl, const int num_of_slots, in switch_leds() argument 2101 for (loop = 0; loop < num_of_slots; loop++) { in switch_leds() 2130 int num_of_slots; in cpqhp_hardware_test() local 2132 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0f; in cpqhp_hardware_test() 2142 switch_leds(ctrl, num_of_slots, &work_LED, 0); in cpqhp_hardware_test() 2143 switch_leds(ctrl, num_of_slots, &work_LED, 1); in cpqhp_hardware_test() 2144 switch_leds(ctrl, num_of_slots, &work_LED, 0); in cpqhp_hardware_test() 2145 switch_leds(ctrl, num_of_slots, &work_LED, 1); in cpqhp_hardware_test() 2149 switch_leds(ctrl, num_of_slots, &work_LED, 0); in cpqhp_hardware_test() 2150 switch_leds(ctrl, num_of_slots, &work_LED, 1); in cpqhp_hardware_test() [all …]
|
| H A D | cpqphp_core.c | 756 u8 num_of_slots = 0; in cpqhpc_probe() local 1177 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in cpqhpc_probe() 1182 while (num_of_slots) { in cpqhpc_probe() 1183 dbg("num_of_slots: %d\n", num_of_slots); in cpqhpc_probe() 1208 num_of_slots--; in cpqhpc_probe()
|
| /linux/drivers/gpu/drm/amd/display/include/ |
| H A D | grph_object_defs.h | 186 unsigned int num_of_slots; member
|
| /linux/drivers/gpu/drm/amd/display/dc/bios/ |
| H A D | bios_parser.c | 2935 board_layout_info->num_of_slots = 0; in bios_get_board_layout_info() 2947 ++board_layout_info->num_of_slots; in bios_get_board_layout_info()
|