STRUCT LINEDISP_ATTACHMENT(9)
π struct linedisp_attachment(9) π
okay bestie, welcome to the Kernel API Manual, section 9 β this page is all about the struct that literally holds the device to linedisp mapping. it's giving matchmaker energy, no cap. π«Άβ¨
β¨ NAME β¨
struct linedisp_attachment β Holds the device to linedisp mapping π
π¦ SYNOPSIS π¦
here's the whole struct, character for character, because we don't play with technical details:
struct linedisp_attachment {
struct list_head list;
struct device *device;
struct linedisp *linedisp;
bool direct;
};
π Members π
listβ List entry for thelinedisp_attachmentslist. lowkey just the linked-list hookup that keeps everything connected πdeviceβ Pointer to the device where linedisp attributes are added. it's giving βwhich device are we decorating today?β β¨linedispβ Pointer to the linedisp mapped to the device. the actual linedisp bestie in this situationship π«Άdirectβtruefor directly attached device usinglinedisp_attach,falsefor child registered device usinglinedisp_register. this is the vibe check: direct attachment vs. child registration, fr fr π¦
π SEE ALSO π
Kernel file ./drivers/auxdisplay/line-display.c is the main character here, and the whole squad is: linedisp_scroll(9), linedisp_display(9), message_show(9), message_store(9), linedisp_attach(9), linedisp_detach(9), linedisp_register(9), linedisp_unregister(9). π
okay that's the page, mwah π β it lives under ./drivers/auxdisplay, it's dated October 2026, and it's the struct linedisp_attachment(9) page. bye bestie! ππ
π¦ 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