'\" t .\" Title: w1_triplet .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: W1 API internal to the kernel .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "W1_TRIPLET" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "W1 API internal to the kernel" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" w1_triplet \- * Does a triplet \- used for searching ROM addresses\&. .SH "SYNOPSIS" .HP \w'u8\ w1_triplet('u .BI "u8 w1_triplet(struct\ w1_master\ *\ " "dev" ", int\ " "bdir" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 the master device .RE .PP \fIbdir\fR .RS 4 the bit to write if both id_bit and comp_bit are 0 .RE .SH "DESCRIPTION" .PP Return bits: bit 0 = id_bit bit 1 = comp_bit bit 2 = dir_taken If both bits 0 & 1 are set, the search should be restarted\&. .SH "RETURN" .PP bit fields \- see above .SH "AUTHOR" .PP \fBDavid Fries\fR <\&David@Fries.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br