Searched refs:rate_map (Results 1 – 4 of 4) sorted by relevance
133 static struct sai_rate rate_map[] = { variable321 for (i = 0; rate_map[i].speed != 0; i++) { in saichan_setspeed()322 if (rate_map[i].speed == speed) in saichan_setspeed()323 sr = &rate_map[i]; in saichan_setspeed()328 for (i = 0; rate_map[i].speed != 0; i++) { in saichan_setspeed()329 sr = &rate_map[i]; in saichan_setspeed()330 threshold = sr->speed + ((rate_map[i + 1].speed != 0) ? in saichan_setspeed()331 ((rate_map[i + 1].speed - sr->speed) >> 1) : 0); in saichan_setspeed()696 sc->sr = &rate_map[0]; in sai_attach()
147 static struct ssi_rate rate_map[] = { variable360 for (i = 0; rate_map[i].speed != 0; i++) { in ssichan_setspeed()361 if (rate_map[i].speed == speed) in ssichan_setspeed()362 sr = &rate_map[i]; in ssichan_setspeed()367 for (i = 0; rate_map[i].speed != 0; i++) { in ssichan_setspeed()368 sr = &rate_map[i]; in ssichan_setspeed()369 threshold = sr->speed + ((rate_map[i + 1].speed != 0) ? in ssichan_setspeed()370 ((rate_map[i + 1].speed - sr->speed) >> 1) : 0); in ssichan_setspeed()742 sc->sr = &rate_map[0]; in ssi_attach()
69 static struct hdspe_rate rate_map[] = { variable508 for (i = 0; rate_map[i].speed != 0; i++) { in hdspechan_setspeed()509 if (rate_map[i].speed == speed) in hdspechan_setspeed()510 hr = &rate_map[i]; in hdspechan_setspeed()515 for (i = 0; rate_map[i].speed != 0; i++) { in hdspechan_setspeed()516 hr = &rate_map[i]; in hdspechan_setspeed()517 threshold = hr->speed + ((rate_map[i + 1].speed != 0) ? in hdspechan_setspeed()518 ((rate_map[i + 1].speed - hr->speed) >> 1) : 0); in hdspechan_setspeed()
126 static struct aic_rate rate_map[] = { variable254 for (i = 0; rate_map[i].speed != 0; i++) { in aicchan_setspeed()255 if (rate_map[i].speed == speed) in aicchan_setspeed()256 sr = &rate_map[i]; in aicchan_setspeed()261 for (i = 0; rate_map[i].speed != 0; i++) { in aicchan_setspeed()262 sr = &rate_map[i]; in aicchan_setspeed()263 threshold = sr->speed + ((rate_map[i + 1].speed != 0) ? in aicchan_setspeed()264 ((rate_map[i + 1].speed - sr->speed) >> 1) : 0); in aicchan_setspeed()