Searched refs:adir (Results 1 – 3 of 3) sorted by relevance
52 int adir = (dir == TX) ? RX : TX; in fsl_sai_dir_is_synced() local55 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced()584 int adir = tx ? RX : TX; in fsl_sai_trigger() local622 if (fsl_sai_dir_is_synced(sai, adir)) in fsl_sai_trigger()644 if (fsl_sai_dir_is_synced(sai, adir) && !(xcsr & FSL_SAI_CSR_FRDE)) in fsl_sai_trigger()645 fsl_sai_config_disable(sai, adir); in fsl_sai_trigger()
509 int adir = tx ? RX : TX; in fsl_ssi_config_disable() local514 aactive = ssi->streams & BIT(adir); in fsl_ssi_config_disable()519 avals = &ssi->regvals[adir]; in fsl_ssi_config_disable()
317 static int boundary_sub(int a, int adir, in boundary_sub() argument321 adir = adir < 0 ? -1 : (adir > 0 ? 1 : 0); in boundary_sub()324 *cdir = adir - bdir; in boundary_sub()333 static int boundary_lt(unsigned int a, int adir, in boundary_lt() argument336 if (adir < 0) { in boundary_lt()338 adir = 1; in boundary_lt()339 } else if (adir > 0) in boundary_lt()340 adir = 1; in boundary_lt()346 return a < b || (a == b && adir < bdir); in boundary_lt()