Searched refs:num_of_slots (Results 1 – 11 of 11) sorted by relevance
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_calendar.c | 346 num_of_slots = taxi_bw / slot_spd; in sparx5_dsm_calendar_calc() 347 if (num_of_slots <= 64) in sparx5_dsm_calendar_calc() 351 num_of_slots = num_of_slots > 64 ? 64 : num_of_slots; in sparx5_dsm_calendar_calc() 352 slot_spd = taxi_bw / num_of_slots; in sparx5_dsm_calendar_calc() 375 if (sum > num_of_slots) { in sparx5_dsm_calendar_calc() 383 empty_slots = num_of_slots - sum; in sparx5_dsm_calendar_calc() 476 u32 num_of_slots, idx, port; in sparx5_dsm_calendar_check() local 482 num_of_slots = 0; in sparx5_dsm_calendar_check() 491 slot_indices[num_of_slots] = idx; in sparx5_dsm_calendar_check() 492 num_of_slots++; in sparx5_dsm_calendar_check() [all …]
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| 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() 1273 int i = env->num_of_slots; in mlxsw_env_line_cards_free() 1437 u8 module_count, num_of_slots, max_module_count; in mlxsw_env_init() local 1448 &num_of_slots); in mlxsw_env_init() 1452 max_module_count = num_of_slots ? in mlxsw_env_init() 1456 env = kzalloc(struct_size(env, line_cards, num_of_slots + 1), in mlxsw_env_init() 1463 env->num_of_slots = num_of_slots + 1; in mlxsw_env_init() [all …]
|
| 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->line_cards = kcalloc(mlxsw_m->num_of_slots, in mlxsw_m_linecards_init() 414 for (i = 0; i < mlxsw_m->num_of_slots; i++) { in mlxsw_m_linecards_init() 443 int i = mlxsw_m->num_of_slots; in mlxsw_m_linecards_fini()
|
| A D | core_thermal.c | 635 u8 pwm_active, num_of_slots; in mlxsw_thermal_init() local 645 &num_of_slots); in mlxsw_thermal_init() 647 thermal = kzalloc(struct_size(thermal, line_cards, num_of_slots + 1), in mlxsw_thermal_init()
|
| A D | core_hwmon.c | 863 u8 num_of_slots; in mlxsw_hwmon_init() local 872 &num_of_slots); in mlxsw_hwmon_init() 875 num_of_slots + 1), GFP_KERNEL); in mlxsw_hwmon_init()
|
| A D | reg.h | 11313 MLXSW_ITEM32(reg, mgpir, num_of_slots, 0x04, 8, 8); 11331 u8 *num_of_slots) in mlxsw_reg_mgpir_unpack() argument 11342 if (num_of_slots) in mlxsw_reg_mgpir_unpack() 11343 *num_of_slots = mlxsw_reg_mgpir_num_of_slots_get(payload); in mlxsw_reg_mgpir_unpack()
|
| /drivers/pci/hotplug/ |
| A D | cpqphp_ctrl.c | 2101 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 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()
|
| /drivers/gpu/drm/amd/display/include/ |
| A D | grph_object_defs.h | 186 unsigned int num_of_slots; member
|
| /drivers/gpu/drm/amd/display/dc/bios/ |
| A D | bios_parser.c | 2778 board_layout_info->num_of_slots = 0; in bios_get_board_layout_info() 2790 ++board_layout_info->num_of_slots; in bios_get_board_layout_info()
|
| A D | bios_parser2.c | 3504 board_layout_info->num_of_slots = 0; in bios_get_board_layout_info() 3522 ++board_layout_info->num_of_slots; in bios_get_board_layout_info()
|
Completed in 76 milliseconds