tsi721_cwrite_dma(9)
π tsi721_cwrite_dma β¨
okay so bestie, welcome to the tsi721_cwrite_dma(9) page π this one lives in the Kernel API Manual and it's literally all about generating a RapidIO maintenance write transaction using the Tsi721 BDMA engine. no cap, that's the whole vibe.
β¨ SYNOPSIS β¨
int tsi721_cwrite_dma (struct rio_mport *mport , int index , u16 destid
, u8 hopcount , u32 offset , int len , u32 data );
like, that's the whole signature π«Ά she's a little long but she ate.
π ARGUMENTS π
mportβ the RapidIO master port control structure, aka the main character of this story πindexβ ID of RapdiIO interface (yes, the original page spells it "RapdiIO", and honestly? iconic typo behavior, we keep it π)destidβ Destination ID of the transaction, like the address of where it's going π¦hopcountβ how many hops to the target device π§ literally the travel itineraryoffsetβ offset into configuration space, the exact spot we're poking at π―lenβ length (in bytes) of the maintenance transaction, so we know how much we're moving πdataβ the value to be written, the actual payload, the moment π
πΈ DESCRIPTION πΈ
okay so what does she do? Generates a RapidIO maintenance write transaction. periodt. that's it, that's the whole job π₯
β RETURN β
0on success π slay-EINVALor-EFAULTon failure π (not every day is a good day, bestie)
π SEE ALSO π
okay so this is the part where we shout out the whole friend group, and there are a LOT of them, so buckle up π the kernel file lives at ./drivers/rapidio/devices/tsi721.c and here's everybody:
tsi721_lcread(9)tsi721_lcwrite(9)tsi721_maint_dma(9)tsi721_cread_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)
ngl that's a whole group chat and they all have main character energy π
and that's the page, bestie!! π«Ά this one ships from ./drivers/rapidio/devices and it's dated October 2026 β go forth and write your maintenance transactions, iykyk πβ¨
π¦ 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