ssp_read_word(9)
β¨ NAME β¨
okay bestie, welcome to ssp_read_word(9) from the Kernel API Manual π β this one is all about reading a word from the SSP port.
πΈ SYNOPSIS πΈ
int ssp_read_word (u16 *data );
π ARGUMENTS π
dataβ-- undescribed --... yep, the docs are literally leaving us on read here ππ
π¦ DESCRIPTION π¦
So this function waits for a data word to show up in the SSP receive FIFO, then returns the received data. The data is LSB justified. Slay. β¨
π NOTE π
β οΈ Currently, if data is not expected to be received, this function will wait for ever. Not the vibe, bestie β itβs giving eternal waiting room ππ
The caller is expected to perform the necessary locking. Lock it down, okay? ππ
π₯ RETURN π₯
-ETIMEDOUTβ timeout occurred16-bit dataβ success
π SEE ALSO π
- Kernel file:
./arch/arm/mach-sa1100/ssp.c ssp_write_word(9)ssp_flush(9)ssp_enable(9)ssp_disable(9)ssp_save_state(9)ssp_restore_state(9)ssp_init(9)ssp_exit(9)
byeee π«Άπ β this page lives under ./arch/arm/mach-sa1100 and is dated October 2026. β¨
π¦ 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