Lines Matching refs:synchronous
47 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's
59 return !sai->synchronous[dir] && sai->synchronous[adir];
486 else if (!sai->synchronous[dir])
788 sai->synchronous[TX] ? FSL_SAI_CR2_SYNC : 0);
790 sai->synchronous[RX] ? FSL_SAI_CR2_SYNC : 0);
806 * Enable the opposite direction for synchronous mode
835 * If opposite stream provides clocks for synchronous mode and
843 * 1. current stream doesn't provide clocks for synchronous mode
844 * 2. current stream provides clocks for synchronous mode but no
1407 sai->synchronous[RX] = true;
1408 sai->synchronous[TX] = false;
1413 if (of_property_read_bool(np, "fsl,sai-synchronous-rx") &&
1415 /* error out if both synchronous and asynchronous are present */
1416 dev_err(dev, "invalid binding for synchronous mode\n");
1420 if (of_property_read_bool(np, "fsl,sai-synchronous-rx")) {
1422 sai->synchronous[RX] = false;
1423 sai->synchronous[TX] = true;
1426 sai->synchronous[RX] = false;
1427 sai->synchronous[TX] = false;