mhi_get_free_desc_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mhi_get_free_desc_count(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” we're doing mhi_get_free_desc_count today and honestly? she's a little icon. πŸŽ€


πŸ’– NAME πŸ’–

mhi_get_free_desc_count β€” Get transfer ring length Get # of TD available to queue buffers

no cap, that's literally what it says β€” she tells you how long the transfer ring is, i.e. how many TDs you've got free to queue buffers into. πŸ¦‹


🌸 SYNOPSIS 🌸

int mhi_get_free_desc_count (struct mhi_device *mhi_dev , enum
       dma_data_direction dir );

✨ ARGUMENTS ✨

  • mhi_dev β€” the device that's associated with the channels 🫢 that's your main character right there
  • dir β€” the direction of the channel ⭐ like, which way are we going bestie

πŸ’… SEE ALSO πŸ’…

okay so this is the whole friend group, and they're all in the kernel file ./include/linux/mhi.h β€” go say hi πŸ‘‘


and that's the whole squad, periodt πŸ’œ

she lives in ./include/linux, dated October 2026 β€” mwah, go read the source bestie, ily, bye! πŸ˜­πŸ’–πŸŽ€

πŸ“¦ where this page comes from