Home
last modified time | relevance | path

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

/drivers/net/ethernet/microchip/sparx5/
Dsparx5_calendar.c286 u32 num_of_slots, slot_spd, empty_slots; in sparx5_dsm_calendar_calc() local
350 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()
371 if (num_of_slots < (5 * data->dev_slots[idx])) { 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()
392 for (idx = 1; idx < num_of_slots; idx++) { in sparx5_dsm_calendar_calc()
480 u32 num_of_slots, idx, port; in sparx5_dsm_calendar_check() local
[all …]
/drivers/pci/hotplug/
Dcpqphp_ctrl.c2108 static void switch_leds(struct controller *ctrl, const int num_of_slots, in switch_leds() argument
2113 for (loop = 0; loop < num_of_slots; loop++) { in switch_leds()
2142 int num_of_slots; in cpqhp_hardware_test() local
2144 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0f; in cpqhp_hardware_test()
2154 switch_leds(ctrl, num_of_slots, &work_LED, 0); in cpqhp_hardware_test()
2155 switch_leds(ctrl, num_of_slots, &work_LED, 1); in cpqhp_hardware_test()
2156 switch_leds(ctrl, num_of_slots, &work_LED, 0); in cpqhp_hardware_test()
2157 switch_leds(ctrl, num_of_slots, &work_LED, 1); in cpqhp_hardware_test()
2161 switch_leds(ctrl, num_of_slots, &work_LED, 0); in cpqhp_hardware_test()
2162 switch_leds(ctrl, num_of_slots, &work_LED, 1); in cpqhp_hardware_test()
[all …]
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()
/drivers/gpu/drm/amd/display/include/
Dgrph_object_defs.h176 unsigned int num_of_slots; member
/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c2753 board_layout_info->num_of_slots = 0; in bios_get_board_layout_info()
2765 ++board_layout_info->num_of_slots; in bios_get_board_layout_info()
Dbios_parser2.c2563 board_layout_info->num_of_slots = 0; in bios_get_board_layout_info()
2575 ++board_layout_info->num_of_slots; in bios_get_board_layout_info()