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

  /src/sys/dev/usb/
uchcom.c 156 static const uint32_t rates4x[8] = { variable in typeref:typename:const uint32_t[8]
619 * combined with rates4x[] defined above, this routine generates,
643 pre = __arraycount(rates4x);
646 for (i = 0; i < __arraycount(rates4x); i++) {
648 try = rates4x[i] * 2 / rate4x;
654 score = abs((int)rate4x - rates4x[i] / try);
662 if (pre >= __arraycount(rates4x))
664 if ((rates4x[pre] / div / 4) < (rate * 99 / 100))
666 if ((rates4x[pre] / div / 4) > (rate * 101 / 100))
uchcom.c 156 static const uint32_t rates4x[8] = { variable in typeref:typename:const uint32_t[8]
619 * combined with rates4x[] defined above, this routine generates,
643 pre = __arraycount(rates4x);
646 for (i = 0; i < __arraycount(rates4x); i++) {
648 try = rates4x[i] * 2 / rate4x;
654 score = abs((int)rate4x - rates4x[i] / try);
662 if (pre >= __arraycount(rates4x))
664 if ((rates4x[pre] / div / 4) < (rate * 99 / 100))
666 if ((rates4x[pre] / div / 4) > (rate * 101 / 100))

Completed in 22 milliseconds