Home
last modified time | relevance | path

Searched refs:ct (Results 1 – 2 of 2) sorted by relevance

/sound/soc/au1x/
Dpsc-i2s.c58 unsigned long ct; in au1xpsc_i2s_set_fmt() local
63 ct = pscdata->cfg; in au1xpsc_i2s_set_fmt()
65 ct &= ~(PSC_I2SCFG_XM | PSC_I2SCFG_MLJ); /* left-justified */ in au1xpsc_i2s_set_fmt()
68 ct |= PSC_I2SCFG_XM; /* enable I2S mode */ in au1xpsc_i2s_set_fmt()
73 ct |= PSC_I2SCFG_MLJ; /* LSB (right-) justified */ in au1xpsc_i2s_set_fmt()
79 ct &= ~(PSC_I2SCFG_BI | PSC_I2SCFG_WI); /* IB-IF */ in au1xpsc_i2s_set_fmt()
82 ct |= PSC_I2SCFG_BI | PSC_I2SCFG_WI; in au1xpsc_i2s_set_fmt()
85 ct |= PSC_I2SCFG_BI; in au1xpsc_i2s_set_fmt()
88 ct |= PSC_I2SCFG_WI; in au1xpsc_i2s_set_fmt()
98 ct |= PSC_I2SCFG_MS; /* PSC I2S slave mode */ in au1xpsc_i2s_set_fmt()
[all …]
/sound/usb/
Dpcm.c881 struct snd_interval *ct = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in hw_check_valid_format() local
897 if (fp->channels < ct->min || fp->channels > ct->max) { in hw_check_valid_format()
898 hwc_debug(" > check: no valid channels %d (%d/%d)\n", fp->channels, ct->min, ct->max); in hw_check_valid_format()