Lines Matching refs:speed_table
786 static speed_struct speed_table[] =
807 n = sizeof(speed_table) / sizeof(speed_struct);
820 portc->speed_bits = speed_table[3].bits;
823 if (arg < speed_table[0].speed)
825 if (arg > speed_table[n - 1].speed)
830 if (speed_table[i].speed == arg)
832 else if (speed_table[i].speed > arg)
836 diff1 = arg - speed_table[i - 1].speed;
837 diff2 = speed_table[i].speed - arg;
850 portc->speed = speed_table[selected].speed;
851 portc->speed_bits = speed_table[selected].bits;