spi_test_run_tests(9)
β¨ spi_test_run_tests(9) β¨
okay bestie, welcome to the Kernel API Manual β this is the page for spi_test_run_tests, and no cap, it does exactly what the name says π
π NAME π
spi_test_run_tests β run an array of spi_messages tests π§
like, the whole lineup. not just one test. the array. slay.
πΈ SYNOPSIS πΈ
int spi_test_run_tests (struct spi_device *spi , struct spi_test *tests );
it's giving "one function call, all the tests" energy π
π¦ ARGUMENTS π¦
spiβ the spi device you're gonna run the tests on, bestie. that's the whole vibe check right there π«Άtestsβ aNULL-terminated array ofspi_test. yes,NULL-terminated, so don't forget the terminator or it's gonna keep going and going π
β RETURN β
status errors as per spi_test_run_test β so if you wanna know what the return values actually mean, that's the page to check, iykyk π₯
π SEE ALSO π
- Kernel file
./drivers/spi/spi-loopback-test.c spi_test_execute_msg(9)spi_test_run_test(9)
go read those, they're iconic π
and that's the page, bestie!! πβ¨ππ¦πΈ
shoutout to ./drivers/spi, dated October 2026 β mwah, love that for us π
π«Ά
π¦ 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