Searched refs:adir (Results 1 – 3 of 3) sorted by relevance
56 int adir = (dir == TX) ? RX : TX; in fsl_sai_dir_is_synced() local59 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced()409 int adir = tx ? RX : TX; in fsl_sai_set_bclk() local483 if (fsl_sai_dir_is_synced(sai, adir)) in fsl_sai_set_bclk()528 int adir = tx ? RX : TX; in fsl_sai_hw_params() local615 if (!sai->is_consumer_mode && fsl_sai_dir_is_synced(sai, adir)) { in fsl_sai_hw_params()747 int adir = tx ? RX : TX; in fsl_sai_trigger() local785 if (fsl_sai_dir_is_synced(sai, adir)) in fsl_sai_trigger()807 if (fsl_sai_dir_is_synced(sai, adir) && !(xcsr & FSL_SAI_CSR_FRDE)) in fsl_sai_trigger()808 fsl_sai_config_disable(sai, adir); in fsl_sai_trigger()
511 int adir = tx ? RX : TX; in fsl_ssi_config_disable() local516 aactive = ssi->streams & BIT(adir); in fsl_ssi_config_disable()521 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()