slim_stream_allocate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– slim_stream_allocate(9) πŸ’–

okay bestie, this page is from the Kernel API Manual, and it's all about slim_stream_allocate. It's giving β€œfirst step of the SLIMbus streaming saga” energy, and honestly? iconic. πŸŽ€


🌸 NAME 🌸

slim_stream_allocate β€” Allocate a new SLIMbus Stream

✨ SYNOPSIS ✨

struct slim_stream_runtime * slim_stream_allocate (struct slim_device
*dev , const char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” Slim device to be associated with
  • name β€” name of the stream

πŸ¦‹ DESCRIPTION πŸ¦‹

So this is the very first call for SLIMbus streaming, bestie. This API will allocate a new SLIMbus stream and return a valid stream runtime pointer for the client to use it in subsequent stream apis. The state of the stream is set to ALLOCATED. periodt. ✨

πŸ’… RETURN πŸ’…

It returns a valid pointer on success and an error code on failure.

From ASoC DPCM framework, this state is linked to startup operation. iykyk. 🫢

πŸ”₯ SEE ALSO πŸ”₯


xoxo, from the Kernel API Manual πŸ’– β€” source/version: ./drivers/slimbus, dated October 2026.

πŸ“¦ where this page comes from