STRUCT W1_FAMILY_OPS(9)
π 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 tostruct hwmon_chip_info. Literally a pointer tostruct 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms