Home
last modified time | relevance | path

Searched refs:adir (Results 1 – 3 of 3) sorted by relevance

/sound/soc/fsl/
Dfsl_sai.c52 int adir = (dir == TX) ? RX : TX; in fsl_sai_dir_is_synced() local
55 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced()
584 int adir = tx ? RX : TX; in fsl_sai_trigger() local
622 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()
Dfsl_ssi.c509 int adir = tx ? RX : TX; in fsl_ssi_config_disable() local
514 aactive = ssi->streams & BIT(adir); in fsl_ssi_config_disable()
519 avals = &ssi->regvals[adir]; in fsl_ssi_config_disable()
/sound/core/oss/
Dpcm_oss.c317 static int boundary_sub(int a, int adir, in boundary_sub() argument
321 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() argument
336 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()