gb_message_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ gb_message_send(9) β€” the send-a-greybus-message glow-up

okay bestie, welcome to the gb_message_send(9) page in the Kernel API Manual β€” this is the one where we send a greybus message using HDLC over UART. iconic behavior, honestly. πŸ’…βœ¨


✨ NAME ✨

gb_message_send β€” send greybus message using HDLC over UART. no cap, that's the whole name vibe. πŸ›°οΈπŸ’–


πŸ›°οΈ SYNOPSIS πŸ›°οΈ

here's the signature, bestie β€” keep it exactly like this, no autocorrect energy:

int gb_message_send (struct gb_host_device *hd , u16 cport , struct gb_message *msg , gfp_t mask );

🫢 ARGUMENTS 🫢

okay so these are the four things this function is obsessed with:

  • hd β€” pointer to greybus host device
  • cport β€” AP cport where message originates
  • msg β€” greybus message to send
  • mask β€” gfp mask

🧚 DESCRIPTION 🧚

bestie, the Greybus HDLC frame has the following payload:

  1. le16 cport
  2. gb_operation_msg_hdr msg_header
  3. u8 *msg_payload

that's the payload lineup β€” literally those three, in that order. 🌸✨


πŸ‘‘ SEE ALSO πŸ‘‘

if you're going down the rabbit hole (and honestly, same), these are the references this page points at:


mwah πŸ’– β€” this page lives in the ./drivers/greybus corner, October 2026 edition, and it's sending you all the bestie energy. πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from