STRUCT BCM2835AUX_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct bcm2835aux_data β€” the driver's very own private stash of data for the BCM2835 auxiliary UART, no cap πŸ’…


🌸 SYNOPSIS 🌸

struct bcm2835aux_data {
    struct clk *clk;
    int line;
    u32 cntl;
 };

okay so it's a struct, it's got three fields, and it's literally the whole personality of this driver πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • clk β€” a struct clk *, aka the clock producer for the port's uartclk. it's giving "source of truth for the baud rate vibes" ⏰✨
  • line β€” an int, the index of this port's entry in serial8250_ports[]. like a little seat number in the big array auditorium 🎟️
  • cntl β€” a u32, a cached copy of the CNTL register. we keep it close so we don't have to go re-reading it, iconic behavior honestly πŸ’ΎπŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/tty/serial/8250/8250_bcm2835aux.c β€” go read it bestie, that's where all of this actually lives 🫢

ngl this whole page was short and sweet and I'm obsessed πŸ“

mwah πŸ’‹ that's a wrap from ./drivers/tty/serial/8250, dated October 2026 β€” stan the kernel docs, periodt πŸ’œπŸ§š

πŸ“¦ where this page comes from