psc_i2s_set_fmt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the SND_SOC_DAIFMT_xxx values, 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 🌈


mwah πŸ’‹ this page is from ./sound/soc/fsl, dated October 2026. go be iconic with your serial format, bestie! πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from