STRUCT HW_PROBER_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct hw_prober_entry(9) 🌸

okay bestie, welcome to the Kernel API Manual entry for this absolute little legend: struct hw_prober_entry. It’s the struct that holds an entry for the hardware prober β€” very niche, very useful, very demure. πŸŽ€


✨ NAME ✨

struct hw_prober_entry β€” holds an entry for the hardware prober. literally that’s the whole job. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

       struct hw_prober_entry {
           const char *compatible;
           int (*prober)(struct device *dev, const void *data);
           const void *data;
        };

πŸ’– Members πŸ’–

okay, the squad of fields, no cap:

  • compatible β€” compatible string to match against the machine. it’s giving β€œare you the one?” energy. πŸ¦‹
  • prober β€” prober function to call when machine matches. yep, that’s the function bestie. πŸ”₯
  • data β€” extra data for the prober function. lil bonus bag of stuff. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/platform/chrome/chromeos_of_hw_prober.c β€” go read the source, iykyk. 🌈

source/version vibes: ./drivers/platform/chrome, dated October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from