Lines Matching refs:synchronous
46 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's
58 return !sai->synchronous[dir] && sai->synchronous[adir];
485 else if (!sai->synchronous[dir])
787 sai->synchronous[TX] ? FSL_SAI_CR2_SYNC : 0);
789 sai->synchronous[RX] ? FSL_SAI_CR2_SYNC : 0);
805 * Enable the opposite direction for synchronous mode
834 * If opposite stream provides clocks for synchronous mode and
842 * 1. current stream doesn't provide clocks for synchronous mode
843 * 2. current stream provides clocks for synchronous mode but no
1406 sai->synchronous[RX] = true;
1407 sai->synchronous[TX] = false;
1412 if (of_property_read_bool(np, "fsl,sai-synchronous-rx") &&
1414 /* error out if both synchronous and asynchronous are present */
1415 dev_err(dev, "invalid binding for synchronous mode\n");
1419 if (of_property_read_bool(np, "fsl,sai-synchronous-rx")) {
1421 sai->synchronous[RX] = false;
1422 sai->synchronous[TX] = true;
1425 sai->synchronous[RX] = false;
1426 sai->synchronous[TX] = false;