mhi_queue_buf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– Kernel API Manual: mhi_queue_buf(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for mhi_queue_buf(9) β€” it's giving β€œsend or receive raw buffers from a client device over an MHI channel” energy, and we're gonna break it all the way down πŸ’…βœ¨


🌸 NAME 🌸

mhi_queue_buf β€” send or receive raw buffers from a client device over an MHI channel. That's the whole assignment, and it ate πŸ’….


πŸŽ€ SYNOPSIS πŸŽ€

the signature, verbatim, no edits:

int mhi_queue_buf (struct mhi_device *mhi_dev , enum dma_data_direction
dir , void *buf , size_t len , enum mhi_flags mflags );

πŸ¦‹ ARGUMENTS πŸ¦‹

here's the cast, and yes every single one matters:

  • mhi_dev β€” the device associated with the channels. main character device energy.
  • dir β€” DMA direction for the channel.
  • buf β€” the buffer for holding the data.
  • len β€” buffer length.
  • mflags β€” MHI transfer flags used for the transfer.

🌈 SEE ALSO 🌈

Kernel file ./include/linux/mhi.h is the lore hub for this whole clique, and here are all the (9) refs β€” no skips, no cap:

mwah πŸ’– β€” source/version: ./include/linux; date: October 2026; and this is mhi_queue_buf(9) signing off 🫢✨

πŸ“¦ where this page comes from