tsi721_setup_mport(9)
π tsi721_setup_mport(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to the Kernel API Manual entry for tsi721_setup_mport(9). yes that's a mouthful, no you don't have to say it out loud. this is the function that makes the Tsi721 chip step into its main character era as a RapidIO master port β¨
πΈ NAME πΈ
tsi721_setup_mport β Setup Tsi721 as RapidIO subsystem master port
like, it literally sets up the Tsi721 as a RapidIO subsystem master port. that's the whole vibe. no cap π
π¦ SYNOPSIS π¦
int tsi721_setup_mport (struct tsi721_device *priv );
π ARGUMENTS π
privβ pointer to tsi721 private data π«Ά
that's it. one argument. one. and it's just the private data pointer for the tsi721 device. lowkey refreshing ngl π
β¨ DESCRIPTION β¨
Configures Tsi721 as RapidIO master port.
fr fr, that's what it does β it does the configuring, Tsi721 becomes the RapidIO master port, and the whole thing slays. it's giving "tiny function, huge responsibility" energy. main character behaviour only ππ₯
π RETURN π
0on success π-errnovalue on failure π
so like, check the return value, bestie. 0 means we ate and left no crumbs. a negative errno value means something went sideways and you should go look at that. periodt π
π§ SEE ALSO π§
the kernel file is ./drivers/rapidio/devices/tsi721.c β that's where the source lives, iykyk πβ¨
and now, the friend group π (yes, all of them, we're not skipping a single one):
tsi721_lcread(9)tsi721_lcwrite(9)tsi721_maint_dma(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)
bestie you are NOT gonna remember all 34 of these. that's fine. that's what the manual is for. bookmark it π
okay that's the whole page, mwah π this little number lives over in ./drivers/rapidio/devices and it's stamped October 2026 β go forth and configure your master port, icon ππ¦β
π¦ 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