rio_add_mport_pw_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is rio_add_mport_pw_handler(9) from the Kernel API Manual, and it's giving β€œadd a port-write handler to the mport list” energy. πŸ’…

NAME πŸ’–

rio_add_mport_pw_handler β€” add port-write message handler into the list of mport specific pw handlers. That's the whole assignment, and it ate. ✨

SYNOPSIS ✨

Here's the signature exactly, no cap:

       int rio_add_mport_pw_handler (struct rio_mport *mport , void *context ,
       int (*pwcback)(struct rio_mport *mport, void *context, union rio_pw_msg
       *msg, int step) );

ARGUMENTS πŸŽ€

  • mport β€” the RIO master port to bind the portwrite callback. 🫢
  • context β€” handler-specific context to pass on event. ✨
  • pwcback β€” the callback to execute when portwrite is received. πŸ’…

DESCRIPTION πŸ¦‹

The description is short and sweet: Returns 0 if the request has been satisfied. Fr fr, that is the entire description in the original β€” no extra plot twists. 😌

SEE ALSO 🌈

Kernel file ./drivers/rapidio/rio.c β€” and the whole related-functions friend group, in order:

rio_local_get_device_id(9), rio_query_mport(9), rio_alloc_net(9), rio_local_set_device_id(9), rio_add_device(9), rio_request_inb_mbox(9), rio_release_inb_mbox(9), rio_request_outb_mbox(9), rio_release_outb_mbox(9), rio_setup_inb_dbell(9), rio_request_inb_dbell(9), rio_release_inb_dbell(9), rio_request_outb_dbell(9), rio_release_outb_dbell(9), rio_del_mport_pw_handler(9), rio_request_inb_pwrite(9), rio_release_inb_pwrite(9), rio_pw_enable(9), rio_map_inb_region(9), rio_unmap_inb_region(9), rio_map_outb_region(9), rio_unmap_outb_region(9), rio_mport_get_physefb(9), rio_get_comptag(9), rio_set_port_lockout(9), rio_enable_rx_tx_port(9), rio_chk_dev_route(9), rio_mport_chk_dev_access(9), rio_chk_dev_access(9), rio_get_input_status(9), rio_clr_err_stopped(9), rio_inb_pwrite_handler(9), rio_mport_get_efb(9), rio_mport_get_feature(9), rio_std_route_add_entry(9), rio_std_route_get_entry(9), rio_std_route_clr_table(9), rio_lock_device(9), rio_unlock_device(9), rio_route_add_entry(9), rio_route_get_entry(9), rio_route_clr_table(9), rio_request_mport_dma(9), rio_release_dma(9), rio_dma_prep_xfer(9), rio_register_scan(9), rio_mport_scan(9).


brought to you by source/version ./drivers/rapidio, dated October 2026, on the rio_add_mport_pw_handler(9) page. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from