'\" t .\" Title: w1_reset_select_slave .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: W1 API internal to the kernel .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "W1_RESET_SELECT_SLAV" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_reset_select_slave \- reset and select a slave .SH "SYNOPSIS" .HP \w'int\ w1_reset_select_slave('u .BI "int w1_reset_select_slave(struct\ w1_slave\ *\ " "sl" ");" .SH "ARGUMENTS" .PP \fIsl\fR .RS 4 the slave to select .RE .SH "DESCRIPTION" .PP Resets the bus and then selects the slave by sending either a skip rom or a rom match\&. A skip rom is issued if there is only one device registered on the bus\&. The w1 master lock must be held\&. .SH "RETURN" .PP 0=success, anything else=error .SH "AUTHOR" .PP \fBDavid Fries\fR <\&David@Fries.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br