Home
last modified time | relevance | path

Searched refs:arate (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_spdif.c1151 u32 arate; in fsl_spdif_txclk_caldiv() local
1167 arate = rate_actual / 64; in fsl_spdif_txclk_caldiv()
1168 arate /= txclk_df * sysclk_df; in fsl_spdif_txclk_caldiv()
1170 if (arate == rate[index]) { in fsl_spdif_txclk_caldiv()
1175 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1177 } else if (arate / rate[index] == 1) { in fsl_spdif_txclk_caldiv()
1179 sub = (u64)(arate - rate[index]) * 100000; in fsl_spdif_txclk_caldiv()
1186 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1187 } else if (rate[index] / arate == 1) { in fsl_spdif_txclk_caldiv()
1189 sub = (u64)(rate[index] - arate) * 100000; in fsl_spdif_txclk_caldiv()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/go7007/
Dgo7007-fw.c1279 int arate = go->board_info->audio_rate * 1001 * go->fps_scale; in avsync_to_package() local
1280 int ratio = arate / go->sensor_framerate; in avsync_to_package()
1283 arate % go->sensor_framerate); in avsync_to_package()
1284 int f1 = (arate % go->sensor_framerate) / rprime; in avsync_to_package()
1285 int f2 = (go->sensor_framerate - arate % go->sensor_framerate) / rprime; in avsync_to_package()
/kernel/linux/linux-5.10/drivers/misc/
Dapds990x.c127 u16 arate; /* als reporting rate */ member
715 return sprintf(buf, "%d\n", chip->arate); in apds990x_rate_show()
731 chip->arate = arates_hz[i]; in apds990x_set_arate()
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dsi470x.rst124 mplayer -radio adevice=hw=1.0:arate=96000 \
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch14918 + u32 arate;
14934 + arate = rate_actual / 64;
14935 + arate /= txclk_df * sysclk_df;
14937 + if (arate == rate[index]) {
14942 + spdif_priv->txrate[index] = arate;
14944 + } else if (arate / rate[index] == 1) {
14946 + sub = (u64)(arate - rate[index]) * 100000;
14953 + spdif_priv->txrate[index] = arate;
14954 + } else if (rate[index] / arate == 1) {
14956 + sub = (u64)(rate[index] - arate) * 100000;
[all …]