Lines Matching refs:spc
36 u8 spc, mmcc, spfs; member
1043 u8 spc, mmcc; in cs42l73_set_dai_fmt() local
1045 spc = snd_soc_read(codec, CS42L73_SPC(id)); in cs42l73_set_dai_fmt()
1066 spc &= ~CS42L73_SPDIF_PCM; in cs42l73_set_dai_fmt()
1080 spc |= CS42L73_SPDIF_PCM; in cs42l73_set_dai_fmt()
1086 if (spc & CS42L73_SPDIF_PCM) { in cs42l73_set_dai_fmt()
1088 spc &= ~(CS42L73_PCM_MODE_MASK | CS42L73_PCM_BIT_ORDER); in cs42l73_set_dai_fmt()
1092 spc |= CS42L73_PCM_MODE0; in cs42l73_set_dai_fmt()
1094 spc |= CS42L73_PCM_MODE1; in cs42l73_set_dai_fmt()
1098 spc |= CS42L73_PCM_MODE1; in cs42l73_set_dai_fmt()
1105 priv->config[id].spc = spc; in cs42l73_set_dai_fmt()
1174 priv->config[id].spc &= 0xFC; in cs42l73_pcm_hw_params()
1177 priv->config[id].spc |= CS42L73_MCK_SCLK_64FS; in cs42l73_pcm_hw_params()
1179 priv->config[id].spc |= CS42L73_MCK_SCLK_MCLK; in cs42l73_pcm_hw_params()
1182 priv->config[id].spc &= 0xFC; in cs42l73_pcm_hw_params()
1183 priv->config[id].spc |= CS42L73_MCK_SCLK_64FS; in cs42l73_pcm_hw_params()
1188 snd_soc_write(codec, CS42L73_SPC(id), priv->config[id].spc); in cs42l73_pcm_hw_params()