Lines Matching refs:synchronous
43 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's
55 return !sai->synchronous[dir] && sai->synchronous[adir];
420 } else if (!sai->synchronous[dir]) {
598 sai->synchronous[TX] ? FSL_SAI_CR2_SYNC : 0);
600 sai->synchronous[RX] ? FSL_SAI_CR2_SYNC : 0);
616 * Enable the opposite direction for synchronous mode
645 * If opposite stream provides clocks for synchronous mode and
653 * 1. current stream doesn't provide clocks for synchronous mode
654 * 2. current stream provides clocks for synchronous mode but no
1070 sai->synchronous[RX] = true;
1071 sai->synchronous[TX] = false;
1076 if (of_find_property(np, "fsl,sai-synchronous-rx", NULL) &&
1078 /* error out if both synchronous and asynchronous are present */
1079 dev_err(&pdev->dev, "invalid binding for synchronous mode\n");
1083 if (of_find_property(np, "fsl,sai-synchronous-rx", NULL)) {
1085 sai->synchronous[RX] = false;
1086 sai->synchronous[TX] = true;
1089 sai->synchronous[RX] = false;
1090 sai->synchronous[TX] = false;