psc_i2s_set_fmt(9)
π NAME
okay so this is psc_i2s_set_fmt(9) from the Kernel API Manual β and it is literally here to set the serial format. periodt π
β¨ SYNOPSIS β¨
int psc_i2s_set_fmt (struct snd_soc_dai *cpu_dai , unsigned int format
);
π ARGUMENTS π
cpu_daiβ the DAI runtime data pointer, aka the little backstage pass for your DAI runtime info π«Άformatβ one of theSND_SOC_DAIFMT_xxxvalues, bestie; that's the whole format menu β¨
π¦ DESCRIPTION π¦
so the machine driver calls this function to tell us what serial format to use. that's the whole vibe check π
and lowkey this driver is not flexible: it only supports I2S mode π₯. if the format is not SND_SOC_DAIFMT_I2S, it returns an error. no cap.
πΈ RETURN πΈ
0 on success, or -EINVAL on failure. slay or fail, that's the whole story π
π SEE ALSO π
- Kernel file
./sound/soc/fsl/mpc5200_psc_i2s.cπ§ PSC_I2S_RATES(9)PSC_I2S_FORMATS(9)psc_i2s_set_sysclk(9)- var
psc_i2s_dai_ops(9)π
mwah π this page is from ./sound/soc/fsl, dated October 2026. go be iconic with your serial format, bestie! ππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms