w1_triplet(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ w1_triplet πŸŽ€

Okay so this is w1_triplet(9), straight out of the Kernel API Manual, and it’s giving lowkey kernel triplet-search energy ✨. Bestie, the manpage says it does a triplet and that’s used for searching ROM addresses β€” iconic, honestly πŸ’–.


✨ NAME ✨

  • w1_triplet β€” * Does a triplet - used for searching ROM addresses.

πŸ’… SYNOPSIS πŸ’…

u8 w1_triplet (struct w1_master *dev , int bdir );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the master device. Main-character device energy, no cap πŸ‘‘.
  • bdir β€” the bit to write if both id_bit and comp_bit are 0. Like, both of those are zero? Then this is the bit you write, bestie πŸ’….

🌸 DESCRIPTION 🌸

Okay so the return bits are literally:

  • bit 0 = id_bit
  • bit 1 = comp_bit
  • bit 2 = dir_taken
⚠️ If both bits 0 & 1 are set, the search should be restarted. Not me warning you β€” the manpage is warning you 😭.

πŸ”₯ RETURN πŸ”₯

Just bit fields, bestie β€” see above for the deets. Fr fr πŸ‘‘.

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/w1/w1_io.c, plus the whole iconic squad:


Cute sign-off time: this page is from ./drivers/w1, dated October 2026, and it’s literally w1_triplet(9) πŸ«ΆπŸ’–πŸŽ€.

πŸ“¦ where this page comes from