Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/fsl/
Dfsl_sai.c56 int adir = (dir == TX) ? RX : TX; in fsl_sai_dir_is_synced() local
59 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced()
409 int adir = tx ? RX : TX; in fsl_sai_set_bclk() local
483 if (fsl_sai_dir_is_synced(sai, adir)) in fsl_sai_set_bclk()
528 int adir = tx ? RX : TX; in fsl_sai_hw_params() local
615 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() local
785 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()
Dfsl_ssi.c511 int adir = tx ? RX : TX; in fsl_ssi_config_disable() local
516 aactive = ssi->streams & BIT(adir); in fsl_ssi_config_disable()
521 avals = &ssi->regvals[adir]; in fsl_ssi_config_disable()
/linux-6.1.9/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()