STRUCT BCM2835AUX_DATA(9)
β¨ 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β astruct clk *, aka the clock producer for the port'suartclk. it's giving "source of truth for the baud rate vibes" β°β¨lineβ anint, the index of this port's entry inserial8250_ports[]. like a little seat number in the big array auditorium ποΈcntlβ au32, a cached copy of theCNTLregister. 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
- 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