tsi721_maint_dma(9)
π tsi721_maint_dma(9) β Kernel API Manual π
okay so bestie, welcome to the tsi721_maint_dma(9) page β it lives in the Kernel API Manual and it's literally the little helper that gets your RapidIO maintenance transactions out the door. no cap, it's giving "small function, big job" energy. π
β¨ NAME β¨
tsi721_maint_dma β the helper function that generates RapidIO maintenance transactions using a designated Tsi721 DMA channel. π¦
πΈ SYNOPSIS πΈ
int tsi721_maint_dma (struct tsi721_device *priv , u32 sys_size , u16
destid , u8 hopcount , u32 offset , int len , u32 *data , int do_wr );
π ARGUMENTS π
like, every single one of these matters, so pay attention bestie:
privβ pointer to the tsi721 private data. your whole vibe lives here. β¨sys_sizeβ the RapdiIO transport system size.destidβ the Destination ID of the transaction. who are we talking to πhopcountβ the number of hops to the target device. it's a journey, not a sprint πΆββοΈoffsetβ the offset into configuration space.lenβ the length (in bytes) of the maintenance transaction. keep it exact, no vibes-based measuring πdataβ the location to be read from or written into.do_wrβ the operation flag, where1 == MAINT_WR. so1means write, and that's the whole mood π
π₯ DESCRIPTION π₯
It generates a RapidIO maintenance transaction β Read or Write. That's it, that's the function. iconic behaviour, honestly. π
β RETURN β
0 on success, and -EINVAL or -EFAULT on failure. so like, always check your return value, bestie β it's not decorative π
π SEE ALSO π
Kernel file ./drivers/rapidio/devices/tsi721.c β plus the whole squad, fr fr:
tsi721_lcread(9)tsi721_lcwrite(9)tsi721_cread_dma(9)tsi721_cwrite_dma(9)tsi721_pw_handler(9)tsi721_pw_enable(9)tsi721_dsend(9)tsi721_dbell_handler(9)tsi721_irqhandler(9)tsi721_omsg_msix(9)tsi721_imsg_msix(9)tsi721_srio_msix(9)tsi721_sr2pc_ch_msix(9)tsi721_request_msix(9)tsi721_enable_msix(9)tsi721_init_pc2sr_mapping(9)tsi721_rio_map_inb_mem(9)tsi721_rio_unmap_inb_mem(9)tsi721_init_sr2pc_mapping(9)tsi721_port_write_init(9)tsi721_bdma_maint_init(9)tsi721_add_outb_message(9)tsi721_omsg_handler(9)tsi721_open_outb_mbox(9)tsi721_close_outb_mbox(9)tsi721_imsg_handler(9)tsi721_open_inb_mbox(9)tsi721_close_inb_mbox(9)tsi721_add_inb_buffer(9)tsi721_get_inb_message(9)tsi721_messages_init(9)tsi721_query_mport(9)tsi721_disable_ints(9)tsi721_setup_mport(9)
and that's the whole page, bestie π«Ά this one's chilling in ./drivers/rapidio/devices, dated October 2026, and it's still out here signing off as tsi721_maint_dma(9) like the main character it is πβ¨
π¦ 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