gb_message_send(9)
π 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 devicecportβ AP cport where message originatesmsgβ greybus message to sendmaskβ gfp mask
π§ DESCRIPTION π§
bestie, the Greybus HDLC frame has the following payload:
le16 cportgb_operation_msg_hdr msg_headeru8 *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:
- Kernel file
./drivers/greybus/gb-beagleplay.c struct gb_beagleplay(9)struct hdlc_payload(9)struct hdlc_greybus_frame(9)enum cc1352_bootloader_cmd(9)enum cc1352_bootloader_status(9)struct cc1352_bootloader_packet(9)struct cc1352_bootloader_download_cmd_data(9)struct cc1352_bootloader_crc32_cmd_data(9)hdlc_write(9)hdlc_append(9)hdlc_encoded_length(9)hdlc_tx_frames(9)csum8(9)cc1352_bootloader_pkt_rx(9)cc1352_bootloader_empty_pkt(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms