'\" t .\" Title: struct w1_reg_num .\" 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 "STRUCT W1_REG_NUM" "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" struct_w1_reg_num \- broken out slave device id .SH "SYNOPSIS" .sp .nf struct w1_reg_num { #if defined(__LITTLE_ENDIAN_BITFIELD) __u64 family:8; __u64 id:48; __u64 crc:8; #elif defined(__BIG_ENDIAN_BITFIELD) __u64 crc:8; __u64 id:48; __u64 family:8; #else #error "Please fix " #endif }; .fi .SH "MEMBERS" .PP family .RS 4 identifies the type of device .RE .PP id .RS 4 along with family is the unique device id .RE .PP crc .RS 4 checksum of the other bytes .RE .PP crc .RS 4 checksum of the other bytes .RE .PP id .RS 4 along with family is the unique device id .RE .PP family .RS 4 identifies the type of device .RE .SH "AUTHOR" .PP \fBDavid Fries\fR <\&David@Fries.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br