Searched refs:rate_map (Results 1 – 3 of 3) sorted by relevance
147 static struct ssi_rate rate_map[] = { variable359 for (i = 0; rate_map[i].speed != 0; i++) { in ssichan_setspeed()360 if (rate_map[i].speed == speed) in ssichan_setspeed()361 sr = &rate_map[i]; in ssichan_setspeed()366 for (i = 0; rate_map[i].speed != 0; i++) { in ssichan_setspeed()367 sr = &rate_map[i]; in ssichan_setspeed()368 threshold = sr->speed + ((rate_map[i + 1].speed != 0) ? in ssichan_setspeed()369 ((rate_map[i + 1].speed - sr->speed) >> 1) : 0); in ssichan_setspeed()741 sc->sr = &rate_map[0]; in ssi_attach()
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()695 sc->sr = &rate_map[0]; in sai_attach()
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()