tsi721_port_write_init(9)
β¨ tsi721_port_write_init β¨ β a Kernel API Manual moment (section 9, bestie)
Okay so welcome to the Kernel API Manual, section 9, and today's main character is tsi721_port_write_init. Buckle up, this one's short but she's important π
πΈ NAME πΈ
tsi721_port_write_init β inbound port write interface init π«Ά
Like, the setup girlie for the inbound port write interface. That's the whole vibe.
π¦ SYNOPSIS π¦
int tsi721_port_write_init (struct tsi721_device *priv );
No cap, that's the whole signature. One argument, one int coming back at you. β¨
π ARGUMENTS π
privβ pointer to tsi721 private data. That's it, that's the whole thing. She needs her private data, obviously, main character energy requires context π₯
π DESCRIPTION π
Initializes inbound port write handler.
Lowkey that's the entire description and honestly? Iconic. Short, sweet, does exactly one job. It sets up the inbound port write handler so the rest of the tsi721 crew can do their thing. No extra lore given, so we're not inventing any β periodt π§
β RETURN β
0 on success, or -ENOMEM on failure. So like, if it works you get a cute little 0, and if the memory situation says no, you're getting -ENOMEM back π check your return value bestie, fr fr.
π SEE ALSO π
Everything else in the tsi721 cinematic universe lives in the kernel file at ./drivers/rapidio/devices/tsi721.c, and the whole friend group is:
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_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)
Go read them all, iykyk π
Ngl there are no OPTIONS here β this function takes exactly one argument and that's the tea β don't go looking for flags that aren't there π
And that's the page bestie!! π Signed, sealed, delivered from ./drivers/rapidio/devices, dated October 2026, and yes the header still says tsi721_port_write_init(9) because she's consistent like that πβ¨π
π¦ 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