Home
last modified time | relevance | path

Searched refs:num_of_slots (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_calendar.c350 num_of_slots = taxi_bw / slot_spd; in sparx5_dsm_calendar_calc()
351 if (num_of_slots <= 64) in sparx5_dsm_calendar_calc()
355 num_of_slots = num_of_slots > 64 ? 64 : num_of_slots; in sparx5_dsm_calendar_calc()
356 slot_spd = taxi_bw / num_of_slots; in sparx5_dsm_calendar_calc()
379 if (sum > num_of_slots) { in sparx5_dsm_calendar_calc()
387 empty_slots = num_of_slots - sum; in sparx5_dsm_calendar_calc()
480 u32 num_of_slots, idx, port; in sparx5_dsm_calendar_check() local
486 num_of_slots = 0; in sparx5_dsm_calendar_check()
495 slot_indices[num_of_slots] = idx; in sparx5_dsm_calendar_check()
496 num_of_slots++; in sparx5_dsm_calendar_check()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dminimal.c41 u8 num_of_slots; /* Including the main board. */ member
374 &mlxsw_m->num_of_slots); in mlxsw_m_linecards_init()
378 if (mlxsw_m->num_of_slots) in mlxsw_m_linecards_init()
384 mlxsw_m->num_of_slots += 1; in mlxsw_m_linecards_init()
391 mlxsw_m->line_cards = kcalloc(mlxsw_m->num_of_slots, in mlxsw_m_linecards_init()
399 for (i = 0; i < mlxsw_m->num_of_slots; i++) { in mlxsw_m_linecards_init()
427 int i = mlxsw_m->num_of_slots; in mlxsw_m_linecards_fini()
A Dcore_env.c34 u8 num_of_slots; /* Including the main board. */ member
1021 slot_index >= mlxsw_env->num_of_slots)) in mlxsw_env_pmpe_listener_func()
1190 for (i = 0; i < env->num_of_slots; i++) { in mlxsw_env_line_cards_alloc()
1218 int i = env->num_of_slots; in mlxsw_env_line_cards_free()
1366 u8 module_count, num_of_slots, max_module_count; in mlxsw_env_init() local
1377 &num_of_slots); in mlxsw_env_init()
1381 max_module_count = num_of_slots ? in mlxsw_env_init()
1385 env = kzalloc(struct_size(env, line_cards, num_of_slots + 1), in mlxsw_env_init()
1392 env->num_of_slots = num_of_slots + 1; in mlxsw_env_init()
1417 env->line_cards[0]->module_count = num_of_slots ? 0 : module_count; in mlxsw_env_init()
A Dcore_thermal.c796 u8 pwm_active, num_of_slots; in mlxsw_thermal_init() local
806 &num_of_slots); in mlxsw_thermal_init()
808 thermal = kzalloc(struct_size(thermal, line_cards, num_of_slots + 1), in mlxsw_thermal_init()
A Dcore_hwmon.c862 u8 num_of_slots; in mlxsw_hwmon_init() local
871 &num_of_slots); in mlxsw_hwmon_init()
874 num_of_slots + 1), GFP_KERNEL); in mlxsw_hwmon_init()
A Dreg.h11099 MLXSW_ITEM32(reg, mgpir, num_of_slots, 0x04, 8, 8);
11117 u8 *num_of_slots) in mlxsw_reg_mgpir_unpack() argument
11128 if (num_of_slots) in mlxsw_reg_mgpir_unpack()
11129 *num_of_slots = mlxsw_reg_mgpir_num_of_slots_get(payload); in mlxsw_reg_mgpir_unpack()
/linux-6.3-rc2/drivers/pci/hotplug/
A Dcpqphp_ctrl.c2101 for (loop = 0; loop < num_of_slots; loop++) { in switch_leds()
2130 int num_of_slots; in cpqhp_hardware_test() local
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()
2153 switch_leds(ctrl, num_of_slots, &work_LED, 0); in cpqhp_hardware_test()
2154 switch_leds(ctrl, num_of_slots, &work_LED, 1); in cpqhp_hardware_test()
[all …]
A Dcpqphp_core.c756 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-6.3-rc2/drivers/gpu/drm/amd/display/include/
A Dgrph_object_defs.h186 unsigned int num_of_slots; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/bios/
A Dbios_parser.c2764 board_layout_info->num_of_slots = 0; in bios_get_board_layout_info()
2776 ++board_layout_info->num_of_slots; in bios_get_board_layout_info()
A Dbios_parser2.c3394 board_layout_info->num_of_slots = 0; in bios_get_board_layout_info()
3412 ++board_layout_info->num_of_slots; in bios_get_board_layout_info()

Completed in 49 milliseconds