HomeSort by: relevance | last modified time | path
    Searched defs:speed_table (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/arch/arm/xscale/
pxa2x0_i2s.c 151 } speed_table[] = { local in function:pxa2x0_i2s_setspeed
159 const int n = (int)__arraycount(speed_table);
163 if (arg < speed_table[0].speed)
165 if (arg > speed_table[n - 1].speed)
169 if (speed_table[i].speed == arg)
174 sc->sc_sadiv = speed_table[selected].div;
  /src/sys/dev/ic/
ad1848.c 1041 static const speed_struct speed_table[] = { local in function:ad1848_set_speed
1063 n = sizeof(speed_table) / sizeof(speed_struct);
1065 if (arg < speed_table[0].speed)
1067 if (arg > speed_table[n - 1].speed)
1071 if (speed_table[i].speed == arg)
1073 else if (speed_table[i].speed > arg) {
1076 diff1 = arg - speed_table[i - 1].speed;
1077 diff2 = speed_table[i].speed - arg;
1090 sc->speed_bits = speed_table[selected].bits;
1092 *argp = speed_table[selected].speed
    [all...]

Completed in 12 milliseconds