STRUCT HOST1X_DRIVER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Hii bestie πŸŽ€ this is struct host1x_driver(9), straight outta the Kernel API Manual β€” it’s the host1x logical device driver, and it’s lowkey the main character of this page πŸ’…


🌸 SYNOPSIS 🌸

Okay so here’s the whole struct, no cap β€” every field stays exactly as it is:

struct host1x_driver {
    struct device_driver driver;
    const struct of_device_id *subdevs;
    struct list_head list;
    int (*probe)(struct host1x_device *device);
    void (*remove)(struct host1x_device *device);
    void (*shutdown)(struct host1x_device *device);
};

πŸ’– MEMBERS πŸ’–

Here’s the friend-group roster for this struct β€” every single member is invited 🫢

  • driver β€” the core driver, aka the main character energy of this struct ✨
  • subdevs β€” the table of OF device IDs matching subdevices for this driver, doing its matching thing πŸ¦‹
  • list β€” the list node for the driver, keeping its spot in the lineup πŸŽ€
  • probe β€” called when the host1x logical device is probed; this is where the β€œomg it’s here” moment happens 😭
  • remove β€” called when the host1x logical device is removed, bye bestie πŸ‘‹
  • shutdown β€” called when the host1x logical device is shut down, wrapping things up with grace πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./include/linux/host1x.h β€” and the whole related-struct crew:

  • struct host1x_bo_cache(9)
  • struct host1x_client_ops(9)
  • struct host1x_client(9)
  • struct host1x_bo_ops(9)
Source/version vibes: ./include/linux Β· date: October 2026 Β· page: struct host1x_driver(9) πŸ’–βœ¨ This lil’ sign-off is brought to you by the kernel docs fairy πŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from