dma_port_flash_read(9)
π dma_port_flash_read(9) π
okay so bestie, this is the Kernel API Manual page for dma_port_flash_read(9) β no cap, it's the guide to reading from the active flash region. β¨
πΈ NAME πΈ
dma_port_flash_read β read from active flash region.
β¨ SYNOPSIS β¨
int dma_port_flash_read (struct tb_dma_port *dma , unsigned int address , void *buf , size_t size );
π ARGUMENTS π
dmaβ DMA control port. this is the port you're passing in, bestie. πaddressβ address relative to the start of active region. relative to the start of active region, periodt.bufβ buffer where the data is read. the place the read data goes, iykyk. π«Άsizeβ size of the buffer. size of the buffer, exactly.
π RETURN π
0 on success, negative errno otherwise. that's the whole vibe check: 0 = slay, negative errno = not slay. π
π¦ SEE ALSO π¦
bestie, go peek at the kernel file ./drivers/thunderbolt/dma_port.c, and say hi to this whole crew:
struct tb_dma_port(9)dma_port_alloc(9)dma_port_free(9)dma_port_flash_write(9)dma_port_flash_update_auth(9)dma_port_flash_update_auth_status(9)dma_port_power_cycle(9)
xoxo, source/version ./drivers/thunderbolt, date October 2026, page dma_port_flash_read(9) π
β¨
π¦ 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