'\" t .\" Title: struct w1_slave .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: W1 API internal to the kernel .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "STRUCT W1_SLAVE" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "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" struct_w1_slave \- holds a single slave device on the bus .SH "SYNOPSIS" .sp .nf struct w1_slave { struct module * owner; unsigned char name; struct list_head w1_slave_entry; struct w1_reg_num reg_num; atomic_t refcnt; int ttl; unsigned long flags; struct w1_master * master; struct w1_family * family; void * family_data; struct device dev; }; .fi .SH "MEMBERS" .PP struct module * owner .RS 4 Points to the one wire \(lqwire\(rq kernel module\&. .RE .PP unsigned char name .RS 4 Device id is ascii\&. .RE .PP struct list_head w1_slave_entry .RS 4 data for the linked list .RE .PP struct w1_reg_num reg_num .RS 4 the slave id in binary .RE .PP atomic_t refcnt .RS 4 reference count, delete when 0 .RE .PP int ttl .RS 4 decrement per search this slave isn\*(Aqt found, deatch at 0 .RE .PP unsigned long flags .RS 4 bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACH .RE .PP struct w1_master * master .RS 4 bus which this slave is on .RE .PP struct w1_family * family .RS 4 module for device family type .RE .PP void * family_data .RS 4 pointer for use by the family module .RE .PP struct device dev .RS 4 kernel device identifier .RE .SH "AUTHOR" .PP \fBDavid Fries\fR <\&David@Fries.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br