w1_triplet(9)
π 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 bothid_bitandcomp_bitare 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_bitbit 1 = comp_bitbit 2 = dir_taken
β οΈ If both bits0&1are 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:
w1_touch_bit(9)w1_write_bit(9)w1_pre_write(9)w1_post_write(9)w1_write_8(9)w1_read_bit(9)w1_read_8(9)w1_write_block(9)w1_touch_block(9)w1_read_block(9)w1_reset_bus(9)w1_reset_select_slave(9)w1_reset_resume_command(9)w1_next_pullup(9)
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
- 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