Lines Matching refs:bestspeed
2375 uint32_t bestformat, bestspeed, besthwformat, *vchanformat, *vchanrate; in chn_notify() local
2446 bestspeed = *vchanrate; in chn_notify()
2449 bestspeed = 0; in chn_notify()
2463 bestspeed = ch->speed; in chn_notify()
2471 bestspeed = ch->speed; in chn_notify()
2472 RANGE(bestspeed, caps->minspeed, in chn_notify()
2490 if (ch->speed > bestspeed) { in chn_notify()
2491 bestspeed = ch->speed; in chn_notify()
2492 RANGE(bestspeed, caps->minspeed, in chn_notify()
2514 if (bestspeed == 0) in chn_notify()
2515 bestspeed = c->speed; in chn_notify()
2517 if (bestformat != c->format || bestspeed != c->speed) in chn_notify()
2525 bestspeed = CHANNEL_SETSPEED(c->methods, in chn_notify()
2526 c->devinfo, bestspeed); in chn_notify()
2527 err = chn_reset(c, bestformat, bestspeed); in chn_notify()
2546 bestspeed = CHANNEL_SETSPEED(c->methods, c->devinfo, in chn_notify()
2547 bestspeed); in chn_notify()
2548 err = chn_reset(c, bestformat, bestspeed); in chn_notify()
2566 *vchanrate = bestspeed; in chn_notify()
2572 bestspeed = *vchanrate; in chn_notify()
2574 if (c->format != bestformat || c->speed != bestspeed) in chn_notify()
2575 chn_reset(c, bestformat, bestspeed); in chn_notify()