__ssp_early_writel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __ssp_early_writel(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– this one is a lil function from the SiFive serial driver and it's literally just "put a value in a register, but make it early" πŸŽ€


🌸 NAME 🌸

__ssp_early_writel β€” write to a SiFive serial port register (early) πŸ¦‹


⭐ SYNOPSIS ⭐

void __ssp_early_writel (u32 v , u16 offs , struct uart_port *port );

πŸ’… ARGUMENTS πŸ’…

  • v β€” the value you're writing into the register, that's it, that's the whole vibe ✨
  • offs β€” the register address offset, measured from the IP block base address πŸ“
  • port β€” a pointer to a struct uart_port record, the main character of this whole story πŸ‘‘

🫢 DESCRIPTION 🫢

so you hand it a pointer port to a struct uart_port record, and it writes the value v to the IP block register address offset offs. simple as that, no cap πŸ’€

this one is intended for early console use β€” like, before all the fancy stuff is up and running 🌈


πŸ”₯ CONTEXT πŸ”₯

fr fr, this is intended to be used only by the earlyconsole code. not a general-purpose lil guy, okay? respect the lane πŸ™ˆ


🧚 SEE ALSO 🧚


lowkey obsessed with how many friends this function has in ./drivers/tty/serial πŸ“

k that's the whole page bestie, go forth and write registers πŸ’œ

shoutout to the ./drivers/tty/serial source and the October 2026 version, mwah 😘

πŸ“¦ where this page comes from