Home
last modified time | relevance | path

Searched refs:rate_map (Results 1 – 4 of 4) sorted by relevance

/src/sys/arm/freescale/vybrid/
H A Dvf_sai.c129 static struct sai_rate rate_map[] = { variable
317 for (i = 0; rate_map[i].speed != 0; i++) { in saichan_setspeed()
318 if (rate_map[i].speed == speed) in saichan_setspeed()
319 sr = &rate_map[i]; in saichan_setspeed()
324 for (i = 0; rate_map[i].speed != 0; i++) { in saichan_setspeed()
325 sr = &rate_map[i]; in saichan_setspeed()
326 threshold = sr->speed + ((rate_map[i + 1].speed != 0) ? in saichan_setspeed()
327 ((rate_map[i + 1].speed - sr->speed) >> 1) : 0); in saichan_setspeed()
691 sc->sr = &rate_map[0]; in sai_attach()
/src/sys/arm/freescale/imx/
H A Dimx6_ssi.c143 static struct ssi_rate rate_map[] = { variable
355 for (i = 0; rate_map[i].speed != 0; i++) { in ssichan_setspeed()
356 if (rate_map[i].speed == speed) in ssichan_setspeed()
357 sr = &rate_map[i]; in ssichan_setspeed()
362 for (i = 0; rate_map[i].speed != 0; i++) { in ssichan_setspeed()
363 sr = &rate_map[i]; in ssichan_setspeed()
364 threshold = sr->speed + ((rate_map[i + 1].speed != 0) ? in ssichan_setspeed()
365 ((rate_map[i + 1].speed - sr->speed) >> 1) : 0); in ssichan_setspeed()
735 sc->sr = &rate_map[0]; in ssi_attach()
/src/sys/dev/sound/pci/
H A Dhdspe-pcm.c69 static struct hdspe_rate rate_map[] = { variable
849 for (i = 0; rate_map[i].speed != 0; i++) { in hdspechan_setspeed()
850 if (rate_map[i].speed == speed) in hdspechan_setspeed()
851 hr = &rate_map[i]; in hdspechan_setspeed()
856 for (i = 0; rate_map[i].speed != 0; i++) { in hdspechan_setspeed()
857 hr = &rate_map[i]; in hdspechan_setspeed()
858 threshold = hr->speed + ((rate_map[i + 1].speed != 0) ? in hdspechan_setspeed()
859 ((rate_map[i + 1].speed - hr->speed) >> 1) : 0); in hdspechan_setspeed()
H A Dhdsp-pcm.c71 static struct hdsp_rate rate_map[] = { variable
869 for (i = 0; rate_map[i].speed != 0; i++) { in hdspchan_setspeed()
870 if (rate_map[i].speed == speed) in hdspchan_setspeed()
871 hr = &rate_map[i]; in hdspchan_setspeed()
876 for (i = 0; rate_map[i].speed != 0; i++) { in hdspchan_setspeed()
877 hr = &rate_map[i]; in hdspchan_setspeed()
878 threshold = hr->speed + ((rate_map[i + 1].speed != 0) ? in hdspchan_setspeed()
879 ((rate_map[i + 1].speed - hr->speed) >> 1) : 0); in hdspchan_setspeed()