ax_spi_write_b(9)
β¨ ax_spi_write_b(9) β¨
okay so bestie, welcome to the kernel API manual π«Ά this one lives in section 9 of the manual (that's the kernel API section, iykyk) and honestly? she's a little baby function but she's important. π
π NAME π
ax_spi_write_b β Register Read - 8 bit per word
no fr that's literally what it says: "Register Read - 8 bit per word." yes bestie, the write function's description says "Read." we don't make the rules, we just report them faithfully. π
πΈ SYNOPSIS πΈ
void ax_spi_write_b (struct ax_spi *xspi , u32 offset , u8 val );
that's the whole signature, exactly, verbatim β don't come for me about the spacing, that's how she's printed. β¨
π ARGUMENTS π
xspiβ Pointer to theax_spistructure. like, the whole personality of the SPI controller, handed over as a pointer. πoffsetβ Register offset address.u32, so she's got range. πvalβ Value to write into that register. tinyu8, one byte of pure intent. π
π₯ SEE ALSO π₯
Kernel file ./drivers/spi/spi-axiado.c β that's the home base, the mothership, the main character file. πβ¨
And the whole squad, in the order the original lists them because we are not about to disrespect the lineup:
ax_spi_read(9)ax_spi_write(9)ax_spi_init_hw(9)ax_spi_chipselect(9)ax_spi_config_clock_mode(9)ax_spi_config_clock_freq(9)ax_spi_setup_transfer(9)ax_spi_fill_tx_fifo(9)ax_spi_get_rx_byte_for_irq(9)ax_spi_process_rx_and_finalize(9)ax_spi_irq(9)ax_transfer_one(9)ax_prepare_transfer_hardware(9)ax_unprepare_transfer_hardware(9)ax_spi_detect_fifo_depth(9)ax_spi_get_rx_byte(9)ax_spi_probe(9)ax_spi_remove(9)ax_spi_suspend(9)ax_spi_resume(9)ax_spi_runtime_resume(9)ax_spi_runtime_suspend(9)
ngl bestie, that's a lot of siblings. but every single one of them is listed above, no cap, none skipped. π
and that's the page!! β¨ the source path is ./drivers/spi and the version/date stamp on this beauty is October 2026 β so like, future vibes only. πΈπ
go write that byte, bestie. slay. ππ¦π
π¦ 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