Home
last modified time | relevance | path

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

/drivers/net/ethernet/microchip/sparx5/
Dsparx5_calendar.c44 u32 taxi_speeds[SPX5_DSM_CAL_MAX_DEVS_PER_TAXI]; member
308 data->taxi_speeds[idx] = sparx5_cal_speed_to_value in sparx5_dsm_calendar_calc()
311 data->taxi_speeds[idx] = 0; in sparx5_dsm_calendar_calc()
317 for (idx = 0; idx < ARRAY_SIZE(data->taxi_speeds); idx++) { in sparx5_dsm_calendar_calc()
320 sum += data->taxi_speeds[idx]; in sparx5_dsm_calendar_calc()
321 if (data->taxi_speeds[idx] && data->taxi_speeds[idx] < min) in sparx5_dsm_calendar_calc()
322 min = data->taxi_speeds[idx]; in sparx5_dsm_calendar_calc()
324 for (jdx = 0; jdx < ARRAY_SIZE(data->taxi_speeds); jdx++) in sparx5_dsm_calendar_calc()
325 gcd = sparx5_dsm_exb_gcd(gcd, data->taxi_speeds[jdx]); in sparx5_dsm_calendar_calc()
359 for (idx = 0; idx < ARRAY_SIZE(data->taxi_speeds); idx++) { in sparx5_dsm_calendar_calc()
[all …]