'\" t .\" Title: w1_reset_resume_command .\" 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_RESUME_COMM" "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_resume_command \- resume instead of another match ROM .SH "SYNOPSIS" .HP \w'int\ w1_reset_resume_command('u .BI "int w1_reset_resume_command(struct\ w1_master\ *\ " "dev" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 the master device .RE .SH "DESCRIPTION" .PP When the workflow with a slave amongst many requires several successive commands a reset between each, this function is similar to doing a reset then a match ROM for the last matched ROM\&. The advantage being that the matched ROM step is skipped in favor of the resume command\&. The slave must support the command of course\&. .PP If the bus has only one slave, traditionnaly the match ROM is skipped and a \(lqSKIP ROM\(rq is done for efficiency\&. On multi\-slave busses, this doesn\*(Aqt work of course, but the resume command is the next best thing\&. .PP The w1 master lock must be held\&. .SH "AUTHOR" .PP \fBDavid Fries\fR <\&David@Fries.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br