STRUCT RMI_TRANSPORT_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

struct rmi_transport_ops β€” bestie, this is the struct that defines transport protocol operations. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

okay so here's the actual shape of it, no cap, copied exactly so you don't have to squint:

struct rmi_transport_ops {
    int (*write_block)(struct rmi_transport_dev *xport, u16 addr, const
void *buf, size_t len);
    int (*read_block)(struct rmi_transport_dev *xport, u16 addr, void
*buf, size_t len);
    int (*reset)(struct rmi_transport_dev *xport, u16 reset_addr);
 };

that's a function-pointer girlypop trio. write_block, read_block, and reset. three little icons living in one struct. πŸŽ€

this page is living in the Kernel API Manual section 9, iykyk β€” it's kernel-API-manual territory, not your regular user-command zone. 🧚

πŸ’… Members πŸ’…

  • write_block β€” literally the one that handles writing a block of data to the specified address. putting the data out there. main character energy for the write path. ✍️✨
  • read_block β€” and this one reads a block of data from the specified address. getting the data back. the reader. the listener. we stan. πŸ“–πŸ’–
ngl, reset is sitting right there in the struct in the synopsis, and this page is not giving us a Members description for it β€” so we're not gonna invent one, because making stuff up is not the vibe. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

head to the Kernel file ./include/linux/rmi.h for the source-of-truth glow-up, and then go hang out with the whole friend group:

  • struct rmi_2d_axis_alignment(9)
  • struct rmi_gpio_data(9)
  • struct rmi_f01_power_management(9)
  • struct rmi_device_platform_data_spi(9)
  • struct rmi_device_platform_data(9)
  • struct rmi_function_descriptor(9)
  • struct rmi_transport_dev(9)
  • struct rmi_driver(9)
  • struct rmi_device(9)

like, the entire rmi cinematic universe. πŸ”₯πŸ‘‘


lowkey a moment: the section 9 in the title means this is a kernel API manual page, so treat it like documentation for people writing kernel code, not like a command you can just run. no --help here bestie, only structs. 😭

⭐ that's the whole page! this one came out of ./include/linux and it's dated October 2026 β€” so yes, we're reading a manpage from the future, periodt. πŸ’œπŸŒˆπŸŒΈ

πŸ“¦ where this page comes from