__ssp_writel(9)
π
__ssp_writel β the Kernel API Manual girlies know β¨
okay so bestie, welcome to __ssp_writel, straight out of the Kernel API Manual (section 9, yes ma'am π), and it's literally about writing to a SiFive serial port register. that's the whole vibe. let's get into it π
β¨ SYNOPSIS β¨
void __ssp_writel (u32 v , u16 offs , struct sifive_serial_port *ssp );
like, look at her. three args, returns void, zero drama π¦
πΈ ARGUMENTS πΈ
vβ the value you're gonna write into the register. that's it, that's the value. πoffsβ the register address offset, measured from the IP block base address. lowkey important, don't fumble it πsspβ pointer to astruct sifive_serial_portrecord. your main character struct π«Ά
π DESCRIPTION π
so what she does: you hand her the value v, you tell her the offset offs from the IP block base, and you give her a pointer ssp to a struct sifive_serial_port record β and she writes that value into the IP block register sitting at that offset. iconic behavior, no cap β¨
like that's literally the entire job. write value β register. slay π
π¦ CONTEXT π¦
Any context. fr fr, any. she does not care, she's flexible like that π
π SEE ALSO π
okay this list is LONG and honestly she ate π
- Kernel file
./drivers/tty/serial/sifive.c struct sifive_serial_port(9)__ssp_early_writel(9)__ssp_early_readl(9)__ssp_readl(9)sifive_serial_is_txfifo_full(9)__ssp_transmit_char(9)__ssp_transmit_chars(9)__ssp_enable_txwm(9)__ssp_enable_rxwm(9)__ssp_disable_txwm(9)__ssp_disable_rxwm(9)__ssp_receive_char(9)__ssp_receive_chars(9)__ssp_update_div(9)__ssp_update_baud_rate(9)__ssp_set_stop_bits(9)__ssp_wait_for_xmitr(9)sifive_serial_clk_notifier(9)
ngl that's a whole friend group and she's the one holding the group chat together ππ
reminder bestie: every single one of those is a real page, iykyk β go read them, they're all in ./drivers/tty/serial πβ¨
and that's the page! mwah π this one lives in ./drivers/tty/serial and the version/date stamp on it is October 2026 β so go forth and write those registers, bestie, you're gonna do amazing πππΈπ¦β
π¦ 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