STRUCT W1_FAMILY_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the struct w1_family_ops(9) page from the Kernel API Manual β€” and it is literally about operations for a family type. That's the vibe. No cap. 🫢

✨ SYNOPSIS ✨

Here's the struct in all its exact glory:

struct w1_family_ops {
    int (*add_slave)(struct w1_slave *sl);
    void (*remove_slave)(struct w1_slave *sl);
    const struct attribute_group **groups;
    const struct hwmon_chip_info *chip_info;
 };

🌸 Members 🌸

  • add_slave β€” add_slave. That's what the page says, bestie β€” just the name, no extra lore. Keeping it 100% factual, periodt. πŸ’…
  • remove_slave β€” remove_slave. Same energy: the page gives us the member name and nothing more, so we are not inventing behaviour. πŸ¦‹
  • groups β€” sysfs group. That's the description, and it's giving exactly what it needs to give. ✨
  • chip_info β€” pointer to struct hwmon_chip_info. Literally a pointer to struct hwmon_chip_info, no cap. πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

bestie, please also peek at these, fr fr:

  • Kernel file ./include/linux/w1.h
  • struct w1_reg_num(9)
  • struct w1_slave(9)
  • struct w1_bus_master(9)
  • enum w1_master_flags(9)
  • struct w1_master(9)
  • struct w1_family(9)
  • module_w1_family(9)

mwah πŸ’‹ this lil page is signed off with source/version ./include/linux and date October 2026 β€” stay slay and go read the kernel file, iykyk πŸŽ€

πŸ“¦ where this page comes from