dpseci_get_api_version(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dpseci_get_api_version β€” get the Data Path SEC Interface API version ✨

okay so bestie, we're in the Kernel API Manual today (the dpseci_get_api_version(9) one, yes THAT one) and honestly? this one is short, sweet, and lowkey iconic. it's a tiny little getter that tells you which version of the Data Path SEC Interface API you're working with. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

int dpseci_get_api_version (struct fsl_mc_io *mc_io , u32 cmd_flags ,
u16 *major_ver , u16 *minor_ver );

it returns an int, takes four things, and yes you gotta pass those pointers. no cap. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mc_io β€” Pointer to MC portal's I/O object. like, the whole portal. you're not gonna get anywhere without it, fr fr. πŸ”₯
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. yep, that's the family of them, so stack as many as you need. ✨
  • major_ver β€” Major version of data path sec API. main character number, the big one. πŸ‘‘
  • minor_ver β€” Minor version of data path sec API. the little sidekick number. 🫢

πŸ’€ RETURN πŸ’€

so about the return value… the original page literally says nothing here. like, the section is there and then it's just vibes and silence. πŸ™ˆ don't come for me β€” i'm just telling you what's on the page, and what's on the page is nothing. it returns an int per the synopsis (you can see that much), but if you're looking for documented return values, this section is giving empty.


🌈 SEE ALSO 🌈

the whole dpseci friend group, together at last πŸ’– β€” and they all live in the kernel file ./drivers/crypto/caam/dpseci.c:


bestie reminder: that's the complete list up there. i didn't skip one, and you shouldn't either. 🧚

and that's the whole page, slay. πŸ’… this little beauty comes to you from ./drivers/crypto/caam, dated October 2026 β€” go forth and version-check responsibly, bestie. πŸ“βœ¨

πŸ“¦ where this page comes from