STRUCT LINEDISP_ATTACHMENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the linedisp_attachments list. 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 β€” true for directly attached device using linedisp_attach, false for child registered device using linedisp_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