sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}(hhparenthuba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget!/translations/zh_CN/driver-api/w1modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}(hhhh2ubah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/zh_TW/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}(hhhhFubah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/it_IT/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}(hhhhZubah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ja_JP/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}(hhhhnubah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ko_KR/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}(hhhhubah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/sp_SP/driver-api/w1modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hW1: Dallas' 1-wire bush]hW1: Dallas’ 1-wire bus}(hhhhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh;/var/lib/git/docbuild/linux/Documentation/driver-api/w1.rsthKubh field_list)}(hhh]hfield)}(hhh](h field_name)}(hAuthorh]hAuthor}(hhhhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhKubh field_body)}(h David Fries h]h paragraph)}(h David Friesh]h David Fries}(hhhhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hW1 API internal to the kernelh]hW1 API internal to the kernel}(hhhhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hinclude/linux/w1.hh]hinclude/linux/w1.h}(hjhj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhK ubh)}(hW1 kernel API functions.h]hW1 kernel API functions.}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hj hhubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlew1_reg_num (C struct) c.w1_reg_numhNtauh1j)hj hhhNhNubhdesc)}(hhh](hdesc_signature)}(h w1_reg_numh]hdesc_signature_line)}(hstruct w1_reg_numh](hdesc_sig_keyword)}(hstructh]hstruct}(hhhjMhhhNhNubah}(h]h ]kah"]h$]h&]uh1jKhjGhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK ubhdesc_sig_space)}(h h]h }(hhhj_hhhNhNubah}(h]h ]wah"]h$]h&]uh1j]hjGhhhj\hK ubh desc_name)}(h w1_reg_numh]h desc_sig_name)}(hjCh]h w1_reg_num}(hhhjvhhhNhNubah}(h]h ]nah"]h$]h&]uh1jthjpubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jnhjGhhhj\hK ubeh}(h]h ]h"]h$]h&]jj add_permalinkuh1jEsphinx_line_type declaratorhjAhhhj\hK ubah}(h]j8ah ](sig sig-objecteh"]h$]h&] is_multilineuh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj<hhubh desc_content)}(hhh]h)}(hbroken out slave device idh]hbroken out slave device id}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK hjhhubah}(h]h ]h"]h$]h&]uh1jhj<hhhj\hK ubeh}(h]h ](cstructeh"]h$]h&]domainjobjtypejdesctypejnoindexuh1j:hhhj hNhNubh container)}(hX**Definition**:: struct w1_reg_num { #if defined(__LITTLE_ENDIAN_BITFIELD); __u64 family:8,id:48, crc:8; #elif defined(__BIG_ENDIAN_BITFIELD); __u64 crc:8,id:48, family:8; #else; #error "Please fix "; #endif; }; **Members** ``family`` identifies the type of device ``id`` along with family is the unique device id ``crc`` checksum of the other bytes ``crc`` checksum of the other bytes ``id`` along with family is the unique device id ``family`` identifies the type of deviceh](h)}(h**Definition**::h](hstrong)}(h**Definition**h]h Definition}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(h:hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubh literal_block)}(hstruct w1_reg_num { #if defined(__LITTLE_ENDIAN_BITFIELD); __u64 family:8,id:48, crc:8; #elif defined(__BIG_ENDIAN_BITFIELD); __u64 crc:8,id:48, family:8; #else; #error "Please fix "; #endif; };h]hstruct w1_reg_num { #if defined(__LITTLE_ENDIAN_BITFIELD); __u64 family:8,id:48, crc:8; #elif defined(__BIG_ENDIAN_BITFIELD); __u64 crc:8,id:48, family:8; #else; #error "Please fix "; #endif; };}(hhhjubah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubh)}(h **Members**h]j)}(hjh]hMembers}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubhdefinition_list)}(hhh](hdefinition_list_item)}(h)``family`` identifies the type of device h](hterm)}(h ``family``h]hliteral)}(hj%h]hfamily}(hhhj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj#ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubh definition)}(hhh]h)}(hidentifies the type of deviceh]hidentifies the type of device}(hjDhjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hKhj?ubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhj<hKhjubj)}(h1``id`` along with family is the unique device id h](j")}(h``id``h]j()}(hjbh]hid}(hhhjdhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj`ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj\ubj>)}(hhh]h)}(h)along with family is the unique device idh]h)along with family is the unique device id}(hj}hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhKhjxubah}(h]h ]h"]h$]h&]uh1j=hj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhKhjubj)}(h$``crc`` checksum of the other bytes h](j")}(h``crc``h]j()}(hjh]hcrc}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hchecksum of the other bytesh]hchecksum of the other bytes}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h$``crc`` checksum of the other bytes h](j")}(h``crc``h]j()}(hjh]hcrc}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hchecksum of the other bytesh]hchecksum of the other bytes}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h1``id`` along with family is the unique device id h](j")}(h``id``h]j()}(hj h]hid}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h)along with family is the unique device idh]h)along with family is the unique device id}(hj(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hKhj#ubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhj"hKhjubj)}(h(``family`` identifies the type of deviceh](j")}(h ``family``h]j()}(hjFh]hfamily}(hhhjHhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjDubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj@ubj>)}(hhh]h)}(hidentifies the type of deviceh]hidentifies the type of device}(hjahj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj\ubah}(h]h ]h"]h$]h&]uh1j=hj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_slave (C struct) c.w1_slavehNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(hw1_slaveh]jF)}(hstruct w1_slaveh](jL)}(hjOh]hstruct}(hhhjhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK2ubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjhhhjhK2ubjo)}(hw1_slaveh]ju)}(hjh]hw1_slave}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhjhK2ubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjhhhjhK2ubah}(h]jah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjhhubj)}(hhh]h)}(h&holds a single slave device on the bush]h&holds a single slave device on the bus}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK1hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhK2ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjuh1j:hhhj hNhNubj)}(hX**Definition**:: struct w1_slave { struct module *owner; unsigned char name[W1_MAXNAMELEN]; 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; struct device *hwmon; }; **Members** ``owner`` Points to the one wire "wire" kernel module. ``name`` Device id is ascii. ``w1_slave_entry`` data for the linked list ``reg_num`` the slave id in binary ``refcnt`` reference count, delete when 0 ``ttl`` decrement per search this slave isn't found, deatch at 0 ``flags`` bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACH ``master`` bus which this slave is on ``family`` module for device family type ``family_data`` pointer for use by the family module ``dev`` kernel device identifier ``hwmon`` pointer to hwmon deviceh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK5hjubj)}(hXstruct w1_slave { struct module *owner; unsigned char name[W1_MAXNAMELEN]; 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; struct device *hwmon; };h]hXstruct w1_slave { struct module *owner; unsigned char name[W1_MAXNAMELEN]; 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; struct device *hwmon; };}(hhhj ubah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK7hjubh)}(h **Members**h]j)}(hj1h]hMembers}(hhhj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKFhjubj)}(hhh](j)}(h7``owner`` Points to the one wire "wire" kernel module. h](j")}(h ``owner``h]j()}(hjPh]howner}(hhhjRhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjNubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK4hjJubj>)}(hhh]h)}(h,Points to the one wire "wire" kernel module.h]h0Points to the one wire “wire” kernel module.}(hjkhjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehK4hjfubah}(h]h ]h"]h$]h&]uh1j=hjJubeh}(h]h ]h"]h$]h&]uh1jhjehK4hjGubj)}(h``name`` Device id is ascii. h](j")}(h``name``h]j()}(hjh]hname}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK5hjubj>)}(hhh]h)}(hDevice id is ascii.h]hDevice id is ascii.}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK5hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhK5hjGubj)}(h,``w1_slave_entry`` data for the linked list h](j")}(h``w1_slave_entry``h]j()}(hjh]hw1_slave_entry}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK6hjubj>)}(hhh]h)}(hdata for the linked listh]hdata for the linked list}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK6hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhK6hjGubj)}(h#``reg_num`` the slave id in binary h](j")}(h ``reg_num``h]j()}(hjh]hreg_num}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK7hjubj>)}(hhh]h)}(hthe slave id in binaryh]hthe slave id in binary}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK7hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhK7hjGubj)}(h*``refcnt`` reference count, delete when 0 h](j")}(h ``refcnt``h]j()}(hj4h]hrefcnt}(hhhj6hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj2ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK8hj.ubj>)}(hhh]h)}(hreference count, delete when 0h]hreference count, delete when 0}(hjOhjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhK8hjJubah}(h]h ]h"]h$]h&]uh1j=hj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhK8hjGubj)}(hA``ttl`` decrement per search this slave isn't found, deatch at 0 h](j")}(h``ttl``h]j()}(hjmh]httl}(hhhjohhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjkubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK:hjgubj>)}(hhh]h)}(h8decrement per search this slave isn't found, deatch at 0h]h:decrement per search this slave isn’t found, deatch at 0}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK:hjubah}(h]h ]h"]h$]h&]uh1j=hjgubeh}(h]h ]h"]h$]h&]uh1jhjhK:hjGubj)}(h8``flags`` bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACH h](j")}(h ``flags``h]j()}(hjh]hflags}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK9hjubj>)}(hhh]h)}(h-bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACHh]h-bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACH}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK9hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhK9hjGubj)}(h&``master`` bus which this slave is on h](j")}(h ``master``h]j()}(hjh]hmaster}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK;hjubj>)}(hhh]h)}(hbus which this slave is onh]hbus which this slave is on}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK;hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhK;hjGubj)}(h)``family`` module for device family type h](j")}(h ``family``h]j()}(hjh]hfamily}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK)}(hhh]h)}(hmodule for device family typeh]hmodule for device family type}(hj3hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hK)}(hhh]h)}(h$pointer for use by the family moduleh]h$pointer for use by the family module}(hjlhjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhK=hjgubah}(h]h ]h"]h$]h&]uh1j=hjKubeh}(h]h ]h"]h$]h&]uh1jhjfhK=hjGubj)}(h!``dev`` kernel device identifier h](j")}(h``dev``h]j()}(hjh]hdev}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK>hjubj>)}(hhh]h)}(hkernel device identifierh]hkernel device identifier}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK>hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhK>hjGubj)}(h!``hwmon`` pointer to hwmon deviceh](j")}(h ``hwmon``h]j()}(hjh]hhwmon}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK>hjubj>)}(hhh]h)}(hpointer to hwmon deviceh]hpointer to hwmon device}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK?hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhK>hjGubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_bus_master (C struct)c.w1_bus_masterhNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(h w1_bus_masterh]jF)}(hstruct w1_bus_masterh](jL)}(hjOh]hstruct}(hhhjhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKUubj^)}(h h]h }(hhhj+hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjhhhj*hKUubjo)}(h w1_bus_masterh]ju)}(hjh]h w1_bus_master}(hhhj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj9ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhj*hKUubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjhhhj*hKUubah}(h]jah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKEhjhhubj)}(hhh]h)}(h$operations available on a bus masterh]h$operations available on a bus master}(hjbhj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKThj]hhubah}(h]h ]h"]h$]h&]uh1jhjhhhj*hKUubeh}(h]h ](jstructeh"]h$]h&]jjjjxjjxjuh1j:hhhj hNhNubj)}(hXn**Definition**:: struct w1_bus_master { void *data; u8 (*read_bit)(void *); void (*write_bit)(void *, u8); u8 (*touch_bit)(void *, u8); u8 (*read_byte)(void *); void (*write_byte)(void *, u8); u8 (*read_block)(void *, u8 *, int); void (*write_block)(void *, const u8 *, int); u8 (*triplet)(void *, u8); u8 (*reset_bus)(void *); u8 (*set_pullup)(void *, int); void (*search)(void *, struct w1_master *, u8, w1_slave_found_callback); char *dev_id; }; **Members** ``data`` the first parameter in all the functions below ``read_bit`` Sample the line level **return** the level read (0 or 1) ``write_bit`` Sets the line level ``touch_bit`` the lowest-level function for devices that really support the 1-wire protocol. touch_bit(0) = write-0 cycle touch_bit(1) = write-1 / read cycle **return** the bit read (0 or 1) ``read_byte`` Reads a bytes. Same as 8 touch_bit(1) calls. **return** the byte read ``write_byte`` Writes a byte. Same as 8 touch_bit(x) calls. ``read_block`` Same as a series of read_byte() calls **return** the number of bytes read ``write_block`` Same as a series of write_byte() calls ``triplet`` Combines two reads and a smart write for ROM searches **return** bit0=Id bit1=comp_id bit2=dir_taken ``reset_bus`` long write-0 with a read for the presence pulse detection **return** -1=Error, 0=Device present, 1=No device present ``set_pullup`` Put out a strong pull-up pulse of the specified duration. **return** -1=Error, 0=completed ``search`` Really nice hardware can handles the different types of ROM search w1_master* is passed to the slave found callback. u8 is search_type, W1_SEARCH or W1_ALARM_SEARCH ``dev_id`` Optional device id string, which w1 slaves could use for creating names, which then give a connection to the w1 masterh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKXhj|ubj)}(hXstruct w1_bus_master { void *data; u8 (*read_bit)(void *); void (*write_bit)(void *, u8); u8 (*touch_bit)(void *, u8); u8 (*read_byte)(void *); void (*write_byte)(void *, u8); u8 (*read_block)(void *, u8 *, int); void (*write_block)(void *, const u8 *, int); u8 (*triplet)(void *, u8); u8 (*reset_bus)(void *); u8 (*set_pullup)(void *, int); void (*search)(void *, struct w1_master *, u8, w1_slave_found_callback); char *dev_id; };h]hXstruct w1_bus_master { void *data; u8 (*read_bit)(void *); void (*write_bit)(void *, u8); u8 (*touch_bit)(void *, u8); u8 (*read_byte)(void *); void (*write_byte)(void *, u8); u8 (*read_block)(void *, u8 *, int); void (*write_block)(void *, const u8 *, int); u8 (*triplet)(void *, u8); u8 (*reset_bus)(void *); u8 (*set_pullup)(void *, int); void (*search)(void *, struct w1_master *, u8, w1_slave_found_callback); char *dev_id; };}(hhhjubah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKZhj|ubh)}(h **Members**h]j)}(hjh]hMembers}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKjhj|ubj)}(hhh](j)}(h8``data`` the first parameter in all the functions below h](j")}(h``data``h]j()}(hjh]hdata}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKWhjubj>)}(hhh]h)}(h.the first parameter in all the functions belowh]h.the first parameter in all the functions below}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKWhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKWhjubj)}(hF``read_bit`` Sample the line level **return** the level read (0 or 1) h](j")}(h ``read_bit``h]j()}(hjh]hread_bit}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKYhjubj>)}(hhh]h)}(h8Sample the line level **return** the level read (0 or 1)h](hSample the line level }(hSample the line level hjhhhNhNubj)}(h **return**h]hreturn}(hhhj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh the level read (0 or 1)}(h the level read (0 or 1)hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKYhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKYhjubj)}(h"``write_bit`` Sets the line level h](j")}(h ``write_bit``h]j()}(hjSh]h write_bit}(hhhjUhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjQubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK[hjMubj>)}(hhh]h)}(hSets the line levelh]hSets the line level}(hjnhjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhK[hjiubah}(h]h ]h"]h$]h&]uh1j=hjMubeh}(h]h ]h"]h$]h&]uh1jhjhhK[hjubj)}(h``touch_bit`` the lowest-level function for devices that really support the 1-wire protocol. touch_bit(0) = write-0 cycle touch_bit(1) = write-1 / read cycle **return** the bit read (0 or 1) h](j")}(h ``touch_bit``h]j()}(hjh]h touch_bit}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKahjubj>)}(hhh]h)}(hthe lowest-level function for devices that really support the 1-wire protocol. touch_bit(0) = write-0 cycle touch_bit(1) = write-1 / read cycle **return** the bit read (0 or 1)h](hthe lowest-level function for devices that really support the 1-wire protocol. touch_bit(0) = write-0 cycle touch_bit(1) = write-1 / read cycle }(hthe lowest-level function for devices that really support the 1-wire protocol. touch_bit(0) = write-0 cycle touch_bit(1) = write-1 / read cycle hjhhhNhNubj)}(h **return**h]hreturn}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh the bit read (0 or 1)}(h the bit read (0 or 1)hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK]hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKahjubj)}(hT``read_byte`` Reads a bytes. Same as 8 touch_bit(1) calls. **return** the byte read h](j")}(h ``read_byte``h]j()}(hjh]h read_byte}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKdhjubj>)}(hhh]h)}(hEReads a bytes. Same as 8 touch_bit(1) calls. **return** the byte readh](h-Reads a bytes. Same as 8 touch_bit(1) calls. }(h-Reads a bytes. Same as 8 touch_bit(1) calls. hjhhhNhNubj)}(h **return**h]hreturn}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh the byte read}(h the byte readhjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKchjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKdhjubj)}(h<``write_byte`` Writes a byte. Same as 8 touch_bit(x) calls. h](j")}(h``write_byte``h]j()}(hj( h]h write_byte}(hhhj* hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj& ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKfhj" ubj>)}(hhh]h)}(h,Writes a byte. Same as 8 touch_bit(x) calls.h]h,Writes a byte. Same as 8 touch_bit(x) calls.}(hjC hjA hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj= hKfhj> ubah}(h]h ]h"]h$]h&]uh1j=hj" ubeh}(h]h ]h"]h$]h&]uh1jhj= hKfhjubj)}(hY``read_block`` Same as a series of read_byte() calls **return** the number of bytes read h](j")}(h``read_block``h]j()}(hja h]h read_block}(hhhjc hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj_ ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKihj[ ubj>)}(hhh]h)}(hISame as a series of read_byte() calls **return** the number of bytes readh](h&Same as a series of read_byte() calls }(h&Same as a series of read_byte() calls hjz hhhNhNubj)}(h **return**h]hreturn}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz ubh the number of bytes read}(h the number of bytes readhjz hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhhjw ubah}(h]h ]h"]h$]h&]uh1j=hj[ ubeh}(h]h ]h"]h$]h&]uh1jhjv hKihjubj)}(h7``write_block`` Same as a series of write_byte() calls h](j")}(h``write_block``h]j()}(hj h]h write_block}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKkhj ubj>)}(hhh]h)}(h&Same as a series of write_byte() callsh]h&Same as a series of write_byte() calls}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKkhj ubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKkhjubj)}(hq``triplet`` Combines two reads and a smart write for ROM searches **return** bit0=Id bit1=comp_id bit2=dir_taken h](j")}(h ``triplet``h]j()}(hj h]htriplet}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKnhj ubj>)}(hhh]h)}(hdCombines two reads and a smart write for ROM searches **return** bit0=Id bit1=comp_id bit2=dir_takenh](h6Combines two reads and a smart write for ROM searches }(h6Combines two reads and a smart write for ROM searches hj hhhNhNubj)}(h **return**h]hreturn}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh$ bit0=Id bit1=comp_id bit2=dir_taken}(h$ bit0=Id bit1=comp_id bit2=dir_takenhj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKmhj ubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKnhjubj)}(h``reset_bus`` long write-0 with a read for the presence pulse detection **return** -1=Error, 0=Device present, 1=No device present h](j")}(h ``reset_bus``h]j()}(hj6 h]h reset_bus}(hhhj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj4 ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKqhj0 ubj>)}(hhh]h)}(htlong write-0 with a read for the presence pulse detection **return** -1=Error, 0=Device present, 1=No device presenth](h:long write-0 with a read for the presence pulse detection }(h:long write-0 with a read for the presence pulse detection hjO hhhNhNubj)}(h **return**h]hreturn}(hhhjX hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO ubh0 -1=Error, 0=Device present, 1=No device present}(h0 -1=Error, 0=Device present, 1=No device presenthjO hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKphjL ubah}(h]h ]h"]h$]h&]uh1j=hj0 ubeh}(h]h ]h"]h$]h&]uh1jhjK hKqhjubj)}(hj``set_pullup`` Put out a strong pull-up pulse of the specified duration. **return** -1=Error, 0=completed h](j")}(h``set_pullup``h]j()}(hj h]h set_pullup}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKthj~ ubj>)}(hhh]h)}(hZPut out a strong pull-up pulse of the specified duration. **return** -1=Error, 0=completedh](h:Put out a strong pull-up pulse of the specified duration. }(h:Put out a strong pull-up pulse of the specified duration. hj hhhNhNubj)}(h **return**h]hreturn}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh -1=Error, 0=completed}(h -1=Error, 0=completedhj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKshj ubah}(h]h ]h"]h$]h&]uh1j=hj~ ubeh}(h]h ]h"]h$]h&]uh1jhj hKthjubj)}(h``search`` Really nice hardware can handles the different types of ROM search w1_master* is passed to the slave found callback. u8 is search_type, W1_SEARCH or W1_ALARM_SEARCH h](j")}(h ``search``h]j()}(hj h]hsearch}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKxhj ubj>)}(hhh]h)}(hReally nice hardware can handles the different types of ROM search w1_master* is passed to the slave found callback. u8 is search_type, W1_SEARCH or W1_ALARM_SEARCHh]hReally nice hardware can handles the different types of ROM search w1_master* is passed to the slave found callback. u8 is search_type, W1_SEARCH or W1_ALARM_SEARCH}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKvhj ubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKxhjubj)}(h``dev_id`` Optional device id string, which w1 slaves could use for creating names, which then give a connection to the w1 masterh](j")}(h ``dev_id``h]j()}(hj h]hdev_id}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKzhj ubj>)}(hhh]h)}(hvOptional device id string, which w1 slaves could use for creating names, which then give a connection to the w1 masterh]hvOptional device id string, which w1 slaves could use for creating names, which then give a connection to the w1 master}(hj' hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj! hKzhj" ubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhj! hKzhjubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(h**Note**h]j)}(hjN h]hNote}(hhhjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK~hj hhubh)}(hread_bit and write_bit are very low level functions and should only be used with hardware that doesn't really support 1-wire operations, like a parallel/serial port. Either define read_bit and write_bit OR define, at minimum, touch_bit and reset_bus.h]hread_bit and write_bit are very low level functions and should only be used with hardware that doesn’t really support 1-wire operations, like a parallel/serial port. Either define read_bit and write_bit OR define, at minimum, touch_bit and reset_bus.}(hjf hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK|hj hhubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_master_flags (C enum)c.w1_master_flagshNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(hw1_master_flagsh]jF)}(henum w1_master_flagsh](jL)}(henumh]henum}(hhhj hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKubj^)}(h h]h }(hhhj hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj hhhj hKubjo)}(hw1_master_flagsh]ju)}(hj h]hw1_master_flags}(hhhj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj hhhj hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj hhhj hKubah}(h]j ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj hhubj)}(hhh]h)}(h!bitfields used in w1_master.flagsh]h!bitfields used in w1_master.flags}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hKubeh}(h]h ](jenumeh"]h$]h&]jjjj jj juh1j:hhhj hNhNubj)}(h**Constants** ``W1_ABORT_SEARCH`` abort searching early on shutdown ``W1_WARN_MAX_COUNT`` limit warning when the maximum count is reachedh](h)}(h **Constants**h]j)}(hj h]h Constants}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubj)}(hhh](j)}(h6``W1_ABORT_SEARCH`` abort searching early on shutdown h](j")}(h``W1_ABORT_SEARCH``h]j()}(hj h]hW1_ABORT_SEARCH}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubj>)}(hhh]h)}(h!abort searching early on shutdownh]h!abort searching early on shutdown}(hj, hj* hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj& hKhj' ubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhj& hKhj ubj)}(hE``W1_WARN_MAX_COUNT`` limit warning when the maximum count is reachedh](j")}(h``W1_WARN_MAX_COUNT``h]j()}(hjJ h]hW1_WARN_MAX_COUNT}(hhhjL hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjH ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjD ubj>)}(hhh]h)}(h/limit warning when the maximum count is reachedh]h/limit warning when the maximum count is reached}(hje hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj` ubah}(h]h ]h"]h$]h&]uh1j=hjD ubeh}(h]h ]h"]h$]h&]uh1jhj_ hKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_master (C struct) c.w1_masterhNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(h w1_masterh]jF)}(hstruct w1_masterh](jL)}(hjOh]hstruct}(hhhj hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKubj^)}(h h]h }(hhhj hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj hhhj hKubjo)}(h w1_masterh]ju)}(hj h]h w1_master}(hhhj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj hhhj hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj hhhj hKubah}(h]j ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj hhubj)}(hhh]h)}(hone per bus masterh]hone per bus master}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hKubeh}(h]h ](jstructeh"]h$]h&]jjjj jj juh1j:hhhj hNhNubj)}(hX**Definition**:: struct w1_master { struct list_head w1_master_entry; struct module *owner; unsigned char name[W1_MAXNAMELEN]; struct mutex list_mutex; struct list_head slist; struct list_head async_list; int max_slave_count, slave_count; unsigned long attempts; int slave_ttl; int initialized; u32 id; int search_count; u64 search_id; atomic_t refcnt; void *priv; int enable_pullup; int pullup_duration; long flags; struct task_struct *thread; struct mutex mutex; struct mutex bus_mutex; struct device_driver *driver; struct device dev; struct w1_bus_master *bus_master; u32 seq; }; **Members** ``w1_master_entry`` master linked list ``owner`` module owner ``name`` dynamically allocate bus name ``list_mutex`` protect slist and async_list ``slist`` linked list of slaves ``async_list`` linked list of netlink commands to execute ``max_slave_count`` maximum number of slaves to search for at a time ``slave_count`` current number of slaves known ``attempts`` number of searches ran ``slave_ttl`` number of searches before a slave is timed out ``initialized`` prevent init/removal race conditions ``id`` w1 bus number ``search_count`` number of automatic searches to run, -1 unlimited ``search_id`` allows continuing a search ``refcnt`` reference count ``priv`` private data storage ``enable_pullup`` allows a strong pullup ``pullup_duration`` time for the next strong pullup ``flags`` one of w1_master_flags ``thread`` thread for bus search and netlink commands ``mutex`` protect most of w1_master ``bus_mutex`` pretect concurrent bus access ``driver`` sysfs driver ``dev`` sysfs device ``bus_master`` io operations available ``seq`` sequence number used for netlink broadcastsh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh:}(hjhj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubj)}(hXstruct w1_master { struct list_head w1_master_entry; struct module *owner; unsigned char name[W1_MAXNAMELEN]; struct mutex list_mutex; struct list_head slist; struct list_head async_list; int max_slave_count, slave_count; unsigned long attempts; int slave_ttl; int initialized; u32 id; int search_count; u64 search_id; atomic_t refcnt; void *priv; int enable_pullup; int pullup_duration; long flags; struct task_struct *thread; struct mutex mutex; struct mutex bus_mutex; struct device_driver *driver; struct device dev; struct w1_bus_master *bus_master; u32 seq; };h]hXstruct w1_master { struct list_head w1_master_entry; struct module *owner; unsigned char name[W1_MAXNAMELEN]; struct mutex list_mutex; struct list_head slist; struct list_head async_list; int max_slave_count, slave_count; unsigned long attempts; int slave_ttl; int initialized; u32 id; int search_count; u64 search_id; atomic_t refcnt; void *priv; int enable_pullup; int pullup_duration; long flags; struct task_struct *thread; struct mutex mutex; struct mutex bus_mutex; struct device_driver *driver; struct device dev; struct w1_bus_master *bus_master; u32 seq; };}(hhhj$ ubah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubh)}(h **Members**h]j)}(hj5 h]hMembers}(hhhj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubj)}(hhh](j)}(h'``w1_master_entry`` master linked list h](j")}(h``w1_master_entry``h]j()}(hjT h]hw1_master_entry}(hhhjV hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjR ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjN ubj>)}(hhh]h)}(hmaster linked listh]hmaster linked list}(hjo hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1hhji hKhjj ubah}(h]h ]h"]h$]h&]uh1j=hjN ubeh}(h]h ]h"]h$]h&]uh1jhji hKhjK ubj)}(h``owner`` module owner h](j")}(h ``owner``h]j()}(hj h]howner}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubj>)}(hhh]h)}(h module ownerh]h module owner}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjK ubj)}(h'``name`` dynamically allocate bus name h](j")}(h``name``h]j()}(hj h]hname}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubj>)}(hhh]h)}(hdynamically allocate bus nameh]hdynamically allocate bus name}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjK ubj)}(h,``list_mutex`` protect slist and async_list h](j")}(h``list_mutex``h]j()}(hj h]h list_mutex}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubj>)}(hhh]h)}(hprotect slist and async_listh]hprotect slist and async_list}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h ``slist`` linked list of slaves h](j")}(h ``slist``h]j()}(hj8h]hslist}(hhhj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj6ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj2ubj>)}(hhh]h)}(hlinked list of slavesh]hlinked list of slaves}(hjShjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhKhjNubah}(h]h ]h"]h$]h&]uh1j=hj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjK ubj)}(h:``async_list`` linked list of netlink commands to execute h](j")}(h``async_list``h]j()}(hjqh]h async_list}(hhhjshhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjoubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjkubj>)}(hhh]h)}(h*linked list of netlink commands to executeh]h*linked list of netlink commands to execute}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjkubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(hE``max_slave_count`` maximum number of slaves to search for at a time h](j")}(h``max_slave_count``h]j()}(hjh]hmax_slave_count}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h0maximum number of slaves to search for at a timeh]h0maximum number of slaves to search for at a time}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h/``slave_count`` current number of slaves known h](j")}(h``slave_count``h]j()}(hjh]h slave_count}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hcurrent number of slaves knownh]hcurrent number of slaves known}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h$``attempts`` number of searches ran h](j")}(h ``attempts``h]j()}(hjh]hattempts}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hnumber of searches ranh]hnumber of searches ran}(hj7hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hKhj2ubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhj1hKhjK ubj)}(h=``slave_ttl`` number of searches before a slave is timed out h](j")}(h ``slave_ttl``h]j()}(hjUh]h slave_ttl}(hhhjWhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjSubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjOubj>)}(hhh]h)}(h.number of searches before a slave is timed outh]h.number of searches before a slave is timed out}(hjphjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhKhjkubah}(h]h ]h"]h$]h&]uh1j=hjOubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjK ubj)}(h5``initialized`` prevent init/removal race conditions h](j")}(h``initialized``h]j()}(hjh]h initialized}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h$prevent init/removal race conditionsh]h$prevent init/removal race conditions}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h``id`` w1 bus number h](j")}(h``id``h]j()}(hjh]hid}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h w1 bus numberh]h w1 bus number}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(hC``search_count`` number of automatic searches to run, -1 unlimited h](j")}(h``search_count``h]j()}(hjh]h search_count}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h1number of automatic searches to run, -1 unlimitedh]h1number of automatic searches to run, -1 unlimited}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h)``search_id`` allows continuing a search h](j")}(h ``search_id``h]j()}(hj9h]h search_id}(hhhj;hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj7ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj3ubj>)}(hhh]h)}(hallows continuing a searchh]hallows continuing a search}(hjThjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhKhjOubah}(h]h ]h"]h$]h&]uh1j=hj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjK ubj)}(h``refcnt`` reference count h](j")}(h ``refcnt``h]j()}(hjrh]hrefcnt}(hhhjthhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjpubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjlubj>)}(hhh]h)}(hreference counth]hreference count}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h``priv`` private data storage h](j")}(h``priv``h]j()}(hjh]hpriv}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hprivate data storageh]hprivate data storage}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h)``enable_pullup`` allows a strong pullup h](j")}(h``enable_pullup``h]j()}(hjh]h enable_pullup}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hallows a strong pulluph]hallows a strong pullup}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h4``pullup_duration`` time for the next strong pullup h](j")}(h``pullup_duration``h]j()}(hjh]hpullup_duration}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(htime for the next strong pulluph]htime for the next strong pullup}(hj8hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hKhj3ubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhj2hKhjK ubj)}(h!``flags`` one of w1_master_flags h](j")}(h ``flags``h]j()}(hjVh]hflags}(hhhjXhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjTubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjPubj>)}(hhh]h)}(hone of w1_master_flagsh]hone of w1_master_flags}(hjqhjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhKhjlubah}(h]h ]h"]h$]h&]uh1j=hjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKhjK ubj)}(h6``thread`` thread for bus search and netlink commands h](j")}(h ``thread``h]j()}(hjh]hthread}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h*thread for bus search and netlink commandsh]h*thread for bus search and netlink commands}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h$``mutex`` protect most of w1_master h](j")}(h ``mutex``h]j()}(hjh]hmutex}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hprotect most of w1_masterh]hprotect most of w1_master}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h,``bus_mutex`` pretect concurrent bus access h](j")}(h ``bus_mutex``h]j()}(hjh]h bus_mutex}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hpretect concurrent bus accessh]hpretect concurrent bus access}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h``driver`` sysfs driver h](j")}(h ``driver``h]j()}(hj:h]hdriver}(hhhj<hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj8ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj4ubj>)}(hhh]h)}(h sysfs driverh]h sysfs driver}(hjUhjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhKhjPubah}(h]h ]h"]h$]h&]uh1j=hj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKhjK ubj)}(h``dev`` sysfs device h](j")}(h``dev``h]j()}(hjsh]hdev}(hhhjuhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjqubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjmubj>)}(hhh]h)}(h sysfs deviceh]h sysfs device}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h'``bus_master`` io operations available h](j")}(h``bus_master``h]j()}(hjh]h bus_master}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(hio operations availableh]hio operations available}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubj)}(h3``seq`` sequence number used for netlink broadcastsh](j")}(h``seq``h]j()}(hjh]hseq}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h+sequence number used for netlink broadcastsh]h+sequence number used for netlink broadcasts}(hjhjh_hhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjK ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_family_ops (C struct)c.w1_family_opshNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(h w1_family_opsh]jF)}(hstruct w1_family_opsh](jL)}(hjOh]hstruct}(hhhj?hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj;hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKubj^)}(h h]h }(hhhjMhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj;hhhjLhKubjo)}(h w1_family_opsh]ju)}(hj9h]h w1_family_ops}(hhhj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj[ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj;hhhjLhKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj7hhhjLhKubah}(h]j2ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj4hhubj)}(hhh]h)}(hoperations for a family typeh]hoperations for a family type}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhj4hhhjLhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjuh1j:hhhj hNhNubj)}(hX**Definition**:: struct w1_family_ops { int (*add_slave)(struct w1_slave *sl); void (*remove_slave)(struct w1_slave *sl); const struct attribute_group **groups; const struct hwmon_chip_info *chip_info; }; **Members** ``add_slave`` add_slave ``remove_slave`` remove_slave ``groups`` sysfs group ``chip_info`` pointer to struct hwmon_chip_infoh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj)}(hstruct w1_family_ops { int (*add_slave)(struct w1_slave *sl); void (*remove_slave)(struct w1_slave *sl); const struct attribute_group **groups; const struct hwmon_chip_info *chip_info; };h]hstruct w1_family_ops { int (*add_slave)(struct w1_slave *sl); void (*remove_slave)(struct w1_slave *sl); const struct attribute_group **groups; const struct hwmon_chip_info *chip_info; };}(hhhjubah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubh)}(h **Members**h]j)}(hjh]hMembers}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjubj)}(hhh](j)}(h``add_slave`` add_slave h](j")}(h ``add_slave``h]j()}(hjh]h add_slave}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h add_slaveh]h add_slave}(hj hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``remove_slave`` remove_slave h](j")}(h``remove_slave``h]j()}(hj(h]h remove_slave}(hhhj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj&ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj"ubj>)}(hhh]h)}(h remove_slaveh]h remove_slave}(hjChjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hKhj>ubah}(h]h ]h"]h$]h&]uh1j=hj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hKhjubj)}(h``groups`` sysfs group h](j")}(h ``groups``h]j()}(hjah]hgroups}(hhhjchhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj_ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj[ubj>)}(hhh]h)}(h sysfs grouph]h sysfs group}(hj|hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhKhjwubah}(h]h ]h"]h$]h&]uh1j=hj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhKhjubj)}(h/``chip_info`` pointer to struct hwmon_chip_infoh](j")}(h ``chip_info``h]j()}(hjh]h chip_info}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubj>)}(hhh]h)}(h!pointer to struct hwmon_chip_infoh]h!pointer to struct hwmon_chip_info}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_family (C struct) c.w1_familyhNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(h w1_familyh]jF)}(hstruct w1_familyh](jL)}(hjOh]hstruct}(hhhjhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjhhhjhMubjo)}(h w1_familyh]ju)}(hjh]h w1_family}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjhhubj)}(hhh]h)}(h#reference counted family structure.h]h#reference counted family structure.}(hj9hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhj4hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjOjjOjuh1j:hhhj hNhNubj)}(hX**Definition**:: struct w1_family { struct list_head family_entry; u8 fid; const struct w1_family_ops *fops; const struct of_device_id *of_match_table; atomic_t refcnt; }; **Members** ``family_entry`` family linked list ``fid`` 8 bit family identifier ``fops`` operations for this family ``of_match_table`` open firmware match table ``refcnt`` reference counterh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hhhj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh:}(hjhjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjSubj)}(hstruct w1_family { struct list_head family_entry; u8 fid; const struct w1_family_ops *fops; const struct of_device_id *of_match_table; atomic_t refcnt; };h]hstruct w1_family { struct list_head family_entry; u8 fid; const struct w1_family_ops *fops; const struct of_device_id *of_match_table; atomic_t refcnt; };}(hhhjtubah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjSubh)}(h **Members**h]j)}(hjh]hMembers}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjSubj)}(hhh](j)}(h$``family_entry`` family linked list h](j")}(h``family_entry``h]j()}(hjh]h family_entry}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjubj>)}(hhh]h)}(hfamily linked listh]hfamily linked list}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``fid`` 8 bit family identifier h](j")}(h``fid``h]j()}(hjh]hfid}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjubj>)}(hhh]h)}(h8 bit family identifierh]h8 bit family identifier}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``fops`` operations for this family h](j")}(h``fops``h]j()}(hjh]hfops}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjubj>)}(hhh]h)}(hoperations for this familyh]hoperations for this family}(hj1hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hM hj,ubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhj+hM hjubj)}(h-``of_match_table`` open firmware match table h](j")}(h``of_match_table``h]j()}(hjOh]hof_match_table}(hhhjQhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjMubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjIubj>)}(hhh]h)}(hopen firmware match tableh]hopen firmware match table}(hjjhjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM hjeubah}(h]h ]h"]h$]h&]uh1j=hjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjubj)}(h``refcnt`` reference counterh](j")}(h ``refcnt``h]j()}(hjh]hrefcnt}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjubj>)}(hhh]h)}(hreference counterh]hreference counter}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6module_w1_family (C macro)c.module_w1_familyhNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(hmodule_w1_familyh]jF)}(hmodule_w1_familyh]jo)}(hmodule_w1_familyh]ju)}(hjh]hmodule_w1_family}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM#ubah}(h]h ]h"]h$]h&]jjjuh1jEjjhjhhhjhM#ubah}(h]jah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM"hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhM#ubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjuh1j:hhhj hNhNubh)}(h"``module_w1_family (__w1_family)``h]j()}(hjh]hmodule_w1_family (__w1_family)}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM$hj hhubh block_quote)}(hhh]h)}(h.Helper macro for registering a 1-Wire familiesh]h.Helper macro for registering a 1-Wire families}(hj6hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhj1ubah}(h]h ]h"]h$]h&]uh1j/hj hhhNhNubj)}(hX#**Parameters** ``__w1_family`` w1_family struct **Description** Helper macro for 1-Wire families which do not do anything special in module init/exit. This eliminates a lot of boilerplate. Each module may only use this macro once, and calling it replaces module_init() and module_exit()h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hhhjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjIubj)}(hhh]j)}(h!``__w1_family`` w1_family struct h](j")}(h``__w1_family``h]j()}(hjnh]h __w1_family}(hhhjphhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjlubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjhubj>)}(hhh]h)}(hw1_family structh]hw1_family struct}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j=hjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjh]h Description}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjIubh)}(hHelper macro for 1-Wire families which do not do anything special in module init/exit. This eliminates a lot of boilerplate. Each module may only use this macro once, and calling it replaces module_init() and module_exit()h]hHelper macro for 1-Wire families which do not do anything special in module init/exit. This eliminates a lot of boilerplate. Each module may only use this macro once, and calling it replaces module_init() and module_exit()}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubeh}(h]include-linux-w1-hah ]h"]include/linux/w1.hah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hdrivers/w1/w1.ch]hdrivers/w1/w1.c}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hW1 core functions.h]hW1 core functions.}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_search (C function) c.w1_searchhNtauh1j)hjhhhNhNubj;)}(hhh](j@)}(hRvoid w1_search (struct w1_master *dev, u8 search_type, w1_slave_found_callback cb)h]jF)}(hQvoid w1_search(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb)h](hdesc_sig_keyword_type)}(hvoidh]hvoid}(hhhjhhhNhNubah}(h]h ]ktah"]h$]h&]uh1jhjhhhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMubj^)}(h h]h }(hhhj'hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjhhhj&hMubjo)}(h w1_searchh]ju)}(h w1_searchh]h w1_search}(hhhj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj5ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhj&hMubhdesc_parameterlist)}(hC(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb)h](hdesc_parameter)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhjYhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjUubj^)}(h h]h }(hhhjfhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjUubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjtubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetjymodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}jj;sb c.w1_searchasbuh1hhjUubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjUubhdesc_sig_punctuation)}(h*h]h*}(hhhjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhjUubju)}(hdevh]hdev}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjUubeh}(h]h ]h"]h$]h&]noemphjjuh1jShjOubjT)}(hu8 search_typeh](h)}(hhh]ju)}(hu8h]hu8}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.w1_searchasbuh1hhjubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjubju)}(h search_typeh]h search_type}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubeh}(h]h ]h"]h$]h&]noemphjjuh1jShjOubjT)}(hw1_slave_found_callback cbh](h)}(hhh]ju)}(hw1_slave_found_callbackh]hw1_slave_found_callback}(hhhj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j]j c.w1_searchasbuh1hhjubj^)}(h h]h }(hhhj@hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjubju)}(hcbh]hcb}(hhhjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubeh}(h]h ]h"]h$]h&]noemphjjuh1jShjOubeh}(h]h ]h"]h$]h&]jjuh1jMhjhhhj&hMubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj hhhj&hMubah}(h]jah ](jjeh"]h$]h&]juh1j?hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhj hhubj)}(hhh]h)}(h4Performs a ROM Search & registers any devices found.h]h4Performs a ROM Search & registers any devices found.}(hj{hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jhj hhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjuh1j:hhhjhNhNubj)}(hX**Parameters** ``struct w1_master *dev`` The master device to search ``u8 search_type`` W1_SEARCH to search all devices, or W1_ALARM_SEARCH to return only devices in the alarmed state ``w1_slave_found_callback cb`` Function to call when a device is found **Description** The 1-wire search is a simple binary tree search. For each bit of the address, we read two bits and write one bit. The bit written will put to sleep all devies that don't match that bit. When the two reads differ, the direction choice is obvious. When both bits are 0, we must choose a path to take. When we can scan all 64 bits without having to choose a path, we are done. See "Application note 187 1-wire search algorithm" at www.maxim-ic.comh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjubj)}(hhh](j)}(h6``struct w1_master *dev`` The master device to search h](j")}(h``struct w1_master *dev``h]j()}(hjh]hstruct w1_master *dev}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjubj>)}(hhh]h)}(hThe master device to searchh]hThe master device to search}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hs``u8 search_type`` W1_SEARCH to search all devices, or W1_ALARM_SEARCH to return only devices in the alarmed state h](j")}(h``u8 search_type``h]j()}(hjh]hu8 search_type}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjubj>)}(hhh]h)}(h_W1_SEARCH to search all devices, or W1_ALARM_SEARCH to return only devices in the alarmed stateh]h_W1_SEARCH to search all devices, or W1_ALARM_SEARCH to return only devices in the alarmed state}(hjhj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhj ubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``w1_slave_found_callback cb`` Function to call when a device is found h](j")}(h``w1_slave_found_callback cb``h]j()}(hj-h]hw1_slave_found_callback cb}(hhhj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj+ubah}(h]h ]h"]h$]h&]uh1j!hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhj'ubj>)}(hhh]h)}(h'Function to call when a device is foundh]h'Function to call when a device is found}(hjHhjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjCubah}(h]h ]h"]h$]h&]uh1j=hj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjhh]h Description}(hhhjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjubh)}(hXvThe 1-wire search is a simple binary tree search. For each bit of the address, we read two bits and write one bit. The bit written will put to sleep all devies that don't match that bit. When the two reads differ, the direction choice is obvious. When both bits are 0, we must choose a path to take. When we can scan all 64 bits without having to choose a path, we are done.h]hXxThe 1-wire search is a simple binary tree search. For each bit of the address, we read two bits and write one bit. The bit written will put to sleep all devies that don’t match that bit. When the two reads differ, the direction choice is obvious. When both bits are 0, we must choose a path to take. When we can scan all 64 bits without having to choose a path, we are done.}(hjhj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjubh)}(hFSee "Application note 187 1-wire search algorithm" at www.maxim-ic.comh]hJSee “Application note 187 1-wire search algorithm” at www.maxim-ic.com}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6!w1_process_callbacks (C function)c.w1_process_callbackshNtauh1j)hjhhhNhNubj;)}(hhh](j@)}(h0int w1_process_callbacks (struct w1_master *dev)h]jF)}(h/int w1_process_callbacks(struct w1_master *dev)h](j)}(hinth]hint}(hhhjhhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjhhhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMaubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjhhhjhMaubjo)}(hw1_process_callbacksh]ju)}(hw1_process_callbacksh]hw1_process_callbacks}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhjhMaubjN)}(h(struct w1_master *dev)h]jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhjhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.w1_process_callbacksasbuh1hhjubj^)}(h h]h }(hhhj7hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjubj)}(hjh]h*}(hhhjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubju)}(hdevh]hdev}(hhhjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubeh}(h]h ]h"]h$]h&]noemphjjuh1jShjubah}(h]h ]h"]h$]h&]jjuh1jMhjhhhjhMaubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjhhhjhMaubah}(h]jah ](jjeh"]h$]h&]juh1j?hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMghjhhubj)}(hhh]h)}(h+execute each dev->async_list callback entryh]h+execute each dev->async_list callback entry}(hjhj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chM`hjzhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjuh1j:hhhjhNhNubj)}(h**Parameters** ``struct w1_master *dev`` w1_master device **Description** The w1 master list_mutex must be held. **Return** 1 if there were commands to executed 0 otherwiseh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMdhjubj)}(hhh]j)}(h+``struct w1_master *dev`` w1_master device h](j")}(h``struct w1_master *dev``h]j()}(hjh]hstruct w1_master *dev}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMahjubj>)}(hhh]h)}(hw1_master deviceh]hw1_master device}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMchjubh)}(h&The w1 master list_mutex must be held.h]h&The w1 master list_mutex must be held.}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMchjubh)}(h **Return**h]j)}(hj h]hReturn}(hhhj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMehjubh)}(h01 if there were commands to executed 0 otherwiseh]h01 if there were commands to executed 0 otherwise}(hj8hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMehjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]drivers-w1-w1-cah ]h"]drivers/w1/w1.cah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hdrivers/w1/w1_family.ch]hdrivers/w1/w1_family.c}(hjYhjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThhhhhKubh)}(h,Allows registering device family operations.h]h,Allows registering device family operations.}(hjghjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjThhubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_register_family (C function)c.w1_register_familyhNtauh1j)hjThhhNhNubj;)}(hhh](j@)}(h/int w1_register_family (struct w1_family *newf)h]jF)}(h.int w1_register_family(struct w1_family *newf)h](j)}(hinth]hint}(hhhjhhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chKubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjhhhjhKubjo)}(hw1_register_familyh]ju)}(hw1_register_familyh]hw1_register_family}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhjhKubjN)}(h(struct w1_family *newf)h]jT)}(hstruct w1_family *newfh](jL)}(hjOh]hstruct}(hhhjhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjubh)}(hhh]ju)}(h w1_familyh]h w1_family}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.w1_register_familyasbuh1hhjubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjubj)}(hjh]h*}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubju)}(hnewfh]hnewf}(hhhj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubeh}(h]h ]h"]h$]h&]noemphjjuh1jShjubah}(h]h ]h"]h$]h&]jjuh1jMhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]juh1j?hT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chKhjhhubj)}(hhh]h)}(hregister a device family driverh]hregister a device family driver}(hjOhjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chKhjJhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejuh1j:hhhjThNhNubj)}(h?**Parameters** ``struct w1_family *newf`` family to registerh](h)}(h**Parameters**h]j)}(hjoh]h Parameters}(hhhjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chKhjiubj)}(hhh]j)}(h-``struct w1_family *newf`` family to registerh](j")}(h``struct w1_family *newf``h]j()}(hjh]hstruct w1_family *newf}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chKhjubj>)}(hhh]h)}(hfamily to registerh]hfamily to register}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chKhjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6!w1_unregister_family (C function)c.w1_unregister_familyhNtauh1j)hjThhhNhNubj;)}(hhh](j@)}(h2void w1_unregister_family (struct w1_family *fent)h]jF)}(h1void w1_unregister_family(struct w1_family *fent)h](j)}(hvoidh]hvoid}(hhhjhhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chK4ubj^)}(h h]h }(hhhjhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjhhhjhK4ubjo)}(hw1_unregister_familyh]ju)}(hw1_unregister_familyh]hw1_unregister_family}(hhhj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhjhK4ubjN)}(h(struct w1_family *fent)h]jT)}(hstruct w1_family *fenth](jL)}(hjOh]hstruct}(hhhj%hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj!ubj^)}(h h]h }(hhhj2hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj!ubh)}(hhh]ju)}(h w1_familyh]h w1_family}(hhhjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}jj sbc.w1_unregister_familyasbuh1hhj!ubj^)}(h h]h }(hhhjchhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj!ubj)}(hjh]h*}(hhhjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubju)}(hfenth]hfent}(hhhj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShjubah}(h]h ]h"]h$]h&]jjuh1jMhjhhhjhK4ubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjhhhjhK4ubah}(h]jah ](jjeh"]h$]h&]juh1j?hT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chK6hjhhubj)}(hhh]h)}(h!unregister a device family driverh]h!unregister a device family driver}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chK3hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhK4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjuh1j:hhhjThNhNubj)}(hA**Parameters** ``struct w1_family *fent`` family to unregisterh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chK7hjubj)}(hhh]j)}(h/``struct w1_family *fent`` family to unregisterh](j")}(h``struct w1_family *fent``h]j()}(hjh]hstruct w1_family *fent}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjubah}(h]h ]h"]h$]h&]uh1j!hT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chK9hjubj>)}(hhh]h)}(hfamily to unregisterh]hfamily to unregister}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chK4hjubah}(h]h ]h"]h$]h&]uh1j=hjubeh}(h]h ]h"]h$]h&]uh1jhjhK9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubeh}(h]drivers-w1-w1-family-cah ]h"]drivers/w1/w1_family.cah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hdrivers/w1/w1_internal.hh]hdrivers/w1/w1_internal.h}(hj8hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hhhhhK#ubh)}(h.W1 internal initialization for master devices.h]h.W1 internal initialization for master devices.}(hjFhjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hj3hhubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_async_cmd (C struct)c.w1_async_cmdhNtauh1j)hj3hhhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhNubj;)}(hhh](j@)}(h w1_async_cmdh]jF)}(hstruct w1_async_cmdh](jL)}(hjOh]hstruct}(hhhjlhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjhhhhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKubj^)}(h h]h }(hhhjzhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjhhhhjyhKubjo)}(h w1_async_cmdh]ju)}(hjfh]h w1_async_cmd}(hhhjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjhhhhjyhKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjdhhhjyhKubah}(h]j^ah ](jjeh"]h$]h&]juh1j?hV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhjahhubj)}(hhh]h)}(h,execute callback from the w1_process kthreadh]h,execute callback from the w1_process kthread}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjahhhjyhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjuh1j:hhhj3hj`hNubj)}(hX!**Definition**:: struct w1_async_cmd { struct list_head async_entry; void (*cb)(struct w1_master *dev, struct w1_async_cmd *async_cmd); }; **Members** ``async_entry`` link entry ``cb`` callback function, must list_del and destroy this list before returningh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhjubj)}(hstruct w1_async_cmd { struct list_head async_entry; void (*cb)(struct w1_master *dev, struct w1_async_cmd *async_cmd); };h]hstruct w1_async_cmd { struct list_head async_entry; void (*cb)(struct w1_master *dev, struct w1_async_cmd *async_cmd); };}(hhhjubah}(h]h ]h"]h$]h&]jjuh1jhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhjubh)}(h **Members**h]j)}(hjh]hMembers}(hhhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhjubj)}(hhh](j)}(h``async_entry`` link entry h](j")}(h``async_entry``h]j()}(hj h]h async_entry}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj ubah}(h]h ]h"]h$]h&]uh1j!hV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhj ubj>)}(hhh]h)}(h link entryh]h link entry}(hj7 hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1 hKhj2 ubah}(h]h ]h"]h$]h&]uh1j=hj ubeh}(h]h ]h"]h$]h&]uh1jhj1 hKhj ubj)}(hN``cb`` callback function, must list_del and destroy this list before returningh](j")}(h``cb``h]j()}(hjU h]hcb}(hhhjW hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjS ubah}(h]h ]h"]h$]h&]uh1j!hV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhjO ubj>)}(hhh]h)}(hGcallback function, must list_del and destroy this list before returningh]hGcallback function, must list_del and destroy this list before returning}(hjp hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjj hKhjk ubah}(h]h ]h"]h$]h&]uh1j=hjO ubeh}(h]h ]h"]h$]h&]uh1jhjj hKhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj3hhhj`hNubh)}(h**Description**h]j)}(hj h]h Description}(hhhj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhj3hhubh)}(hWhen inserted into the w1_master async_list, w1_process will execute the callback. Embed this into the structure with the command details.h]hWhen inserted into the w1_master async_list, w1_process will execute the callback. Embed this into the structure with the command details.}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhj3hhubeh}(h]drivers-w1-w1-internal-hah ]h"]drivers/w1/w1_internal.hah$]h&]uh1hhhhhhhhK#ubh)}(hhh](h)}(hdrivers/w1/w1_int.ch]hdrivers/w1/w1_int.c}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhK+ubh)}(h.W1 internal initialization for master devices.h]h.W1 internal initialization for master devices.}(hj hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hj hhubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6!w1_add_master_device (C function)c.w1_add_master_devicehNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(h7int w1_add_master_device (struct w1_bus_master *master)h]jF)}(h6int w1_add_master_device(struct w1_bus_master *master)h](j)}(hinth]hint}(hhhj hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKZubj^)}(h h]h }(hhhj !hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj hhhj !hKZubjo)}(hw1_add_master_deviceh]ju)}(hw1_add_master_deviceh]hw1_add_master_device}(hhhj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj!ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj hhhj !hKZubjN)}(h(struct w1_bus_master *master)h]jT)}(hstruct w1_bus_master *masterh](jL)}(hjOh]hstruct}(hhhj9!hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj5!ubj^)}(h h]h }(hhhjF!hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj5!ubh)}(hhh]ju)}(h w1_bus_masterh]h w1_bus_master}(hhhjW!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjT!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY!modnameN classnameNjj)}j]j)}jj!sbc.w1_add_master_deviceasbuh1hhj5!ubj^)}(h h]h }(hhhjw!hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj5!ubj)}(hjh]h*}(hhhj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5!ubju)}(hmasterh]hmaster}(hhhj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj5!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj1!ubah}(h]h ]h"]h$]h&]jjuh1jMhj hhhj !hKZubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj hhhj !hKZubah}(h]j ah ](jjeh"]h$]h&]juh1j?hQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chK\hj hhubj)}(hhh]h)}(hregisters a new master deviceh]hregisters a new master device}(hj!hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKYhj!hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj !hKZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!juh1j:hhhj hNhNubj)}(hP**Parameters** ``struct w1_bus_master *master`` master bus device to registerh](h)}(h**Parameters**h]j)}(hj!h]h Parameters}(hhhj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chK]hj!ubj)}(hhh]j)}(h>``struct w1_bus_master *master`` master bus device to registerh](j")}(h ``struct w1_bus_master *master``h]j()}(hj!h]hstruct w1_bus_master *master}(hhhj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj!ubah}(h]h ]h"]h$]h&]uh1j!hQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chK_hj!ubj>)}(hhh]h)}(hmaster bus device to registerh]hmaster bus device to register}(hj"hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKZhj"ubah}(h]h ]h"]h$]h&]uh1j=hj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hK_hj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6$w1_remove_master_device (C function)c.w1_remove_master_devicehNtauh1j)hj hhhNhNubj;)}(hhh](j@)}(h7void w1_remove_master_device (struct w1_bus_master *bm)h]jF)}(h6void w1_remove_master_device(struct w1_bus_master *bm)h](j)}(hvoidh]hvoid}(hhhjX"hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjT"hhhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKubj^)}(h h]h }(hhhjg"hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjT"hhhjf"hKubjo)}(hw1_remove_master_deviceh]ju)}(hw1_remove_master_deviceh]hw1_remove_master_device}(hhhjy"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthju"ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjT"hhhjf"hKubjN)}(h(struct w1_bus_master *bm)h]jT)}(hstruct w1_bus_master *bmh](jL)}(hjOh]hstruct}(hhhj"hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj"ubj^)}(h h]h }(hhhj"hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj"ubh)}(hhh]ju)}(h w1_bus_masterh]h w1_bus_master}(hhhj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj)}j]j)}jj{"sbc.w1_remove_master_deviceasbuh1hhj"ubj^)}(h h]h }(hhhj"hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj"ubj)}(hjh]h*}(hhhj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubju)}(hbmh]hbm}(hhhj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj"ubah}(h]h ]h"]h$]h&]jjuh1jMhjT"hhhjf"hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjP"hhhjf"hKubah}(h]jK"ah ](jjeh"]h$]h&]juh1j?hQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKhjM"hhubj)}(hhh]h)}(hunregister a master deviceh]hunregister a master device}(hj#hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKhj#hhubah}(h]h ]h"]h$]h&]uh1jhjM"hhhjf"hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1#jj1#juh1j:hhhj hNhNubj)}(hJ**Parameters** ``struct w1_bus_master *bm`` master bus device to removeh](h)}(h**Parameters**h]j)}(hj;#h]h Parameters}(hhhj=#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9#ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKhj5#ubj)}(hhh]j)}(h8``struct w1_bus_master *bm`` master bus device to removeh](j")}(h``struct w1_bus_master *bm``h]j()}(hjZ#h]hstruct w1_bus_master *bm}(hhhj\#hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjX#ubah}(h]h ]h"]h$]h&]uh1j!hQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKhjT#ubj>)}(hhh]h)}(hmaster bus device to removeh]hmaster bus device to remove}(hju#hjs#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKhjp#ubah}(h]h ]h"]h$]h&]uh1j=hjT#ubeh}(h]h ]h"]h$]h&]uh1jhjo#hKhjQ#ubah}(h]h ]h"]h$]h&]uh1jhj5#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubeh}(h]drivers-w1-w1-int-cah ]h"]drivers/w1/w1_int.cah$]h&]uh1hhhhhhhhK+ubh)}(hhh](h)}(hdrivers/w1/w1_netlink.hh]hdrivers/w1/w1_netlink.h}(hj#hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hhhhhK3ubh)}(h0W1 external netlink API structures and commands.h]h0W1 external netlink API structures and commands.}(hj#hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hj#hhubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_cn_msg_flags (C enum)c.w1_cn_msg_flagshNtauh1j)hj#hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhNubj;)}(hhh](j@)}(hw1_cn_msg_flagsh]jF)}(henum w1_cn_msg_flagsh](jL)}(hj h]henum}(hhhj#hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj#hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKubj^)}(h h]h }(hhhj#hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj#hhhj#hKubjo)}(hw1_cn_msg_flagsh]ju)}(hj#h]hw1_cn_msg_flags}(hhhj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj#ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj#hhhj#hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj#hhhj#hKubah}(h]j#ah ](jjeh"]h$]h&]juh1j?hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhj#hhubj)}(hhh]h)}(h&bitfield flags for struct cn_msg.flagsh]h&bitfield flags for struct cn_msg.flags}(hj!$hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhj$hhubah}(h]h ]h"]h$]h&]uh1jhj#hhhj#hKubeh}(h]h ](jenumeh"]h$]h&]jjjj7$jj7$juh1j:hhhj#hj#hNubj)}(h**Constants** ``W1_CN_BUNDLE`` Request bundling replies into fewer messagse. Be prepared to handle multiple struct cn_msg, struct w1_netlink_msg, and struct w1_netlink_cmd in one packet.h](h)}(h **Constants**h]j)}(hjA$h]h Constants}(hhhjC$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?$ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhj;$ubj)}(hhh]j)}(h``W1_CN_BUNDLE`` Request bundling replies into fewer messagse. Be prepared to handle multiple struct cn_msg, struct w1_netlink_msg, and struct w1_netlink_cmd in one packet.h](j")}(h``W1_CN_BUNDLE``h]j()}(hj`$h]h W1_CN_BUNDLE}(hhhjb$hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj^$ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhjZ$ubj>)}(hhh]h)}(hRequest bundling replies into fewer messagse. Be prepared to handle multiple struct cn_msg, struct w1_netlink_msg, and struct w1_netlink_cmd in one packet.h]hRequest bundling replies into fewer messagse. Be prepared to handle multiple struct cn_msg, struct w1_netlink_msg, and struct w1_netlink_cmd in one packet.}(hj{$hjy$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhjv$ubah}(h]h ]h"]h$]h&]uh1j=hjZ$ubeh}(h]h ]h"]h$]h&]uh1jhju$hKhjW$ubah}(h]h ]h"]h$]h&]uh1jhj;$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6!w1_netlink_message_types (C enum)c.w1_netlink_message_typeshNtauh1j)hj#hhhj#hNubj;)}(hhh](j@)}(hw1_netlink_message_typesh]jF)}(henum w1_netlink_message_typesh](jL)}(hj h]henum}(hhhj$hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj$hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKubj^)}(h h]h }(hhhj$hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj$hhhj$hKubjo)}(hw1_netlink_message_typesh]ju)}(hj$h]hw1_netlink_message_types}(hhhj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj$ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj$hhhj$hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj$hhhj$hKubah}(h]j$ah ](jjeh"]h$]h&]juh1j?hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhj$hhubj)}(hhh]h)}(h message typeh]h message type}(hj$hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhj$hhubah}(h]h ]h"]h$]h&]uh1jhj$hhhj$hKubeh}(h]h ](jenumeh"]h$]h&]jjjj%jj%juh1j:hhhj#hj#hNubj)}(hX**Constants** ``W1_SLAVE_ADD`` notification that a slave device was added ``W1_SLAVE_REMOVE`` notification that a slave device was removed ``W1_MASTER_ADD`` notification that a new bus master was added ``W1_MASTER_REMOVE`` notification that a bus masterwas removed ``W1_MASTER_CMD`` initiate operations on a specific master ``W1_SLAVE_CMD`` sends reset, selects the slave, then does a read/write/touch operation ``W1_LIST_MASTERS`` used to determine the bus master identifiersh](h)}(h **Constants**h]j)}(hj%h]h Constants}(hhhj!%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhj%ubj)}(hhh](j)}(h<``W1_SLAVE_ADD`` notification that a slave device was added h](j")}(h``W1_SLAVE_ADD``h]j()}(hj>%h]h W1_SLAVE_ADD}(hhhj@%hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj<%ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK!hj8%ubj>)}(hhh]h)}(h*notification that a slave device was addedh]h*notification that a slave device was added}(hjY%hjW%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjS%hK!hjT%ubah}(h]h ]h"]h$]h&]uh1j=hj8%ubeh}(h]h ]h"]h$]h&]uh1jhjS%hK!hj5%ubj)}(hA``W1_SLAVE_REMOVE`` notification that a slave device was removed h](j")}(h``W1_SLAVE_REMOVE``h]j()}(hjw%h]hW1_SLAVE_REMOVE}(hhhjy%hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hju%ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK$hjq%ubj>)}(hhh]h)}(h,notification that a slave device was removedh]h,notification that a slave device was removed}(hj%hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hK$hj%ubah}(h]h ]h"]h$]h&]uh1j=hjq%ubeh}(h]h ]h"]h$]h&]uh1jhj%hK$hj5%ubj)}(h?``W1_MASTER_ADD`` notification that a new bus master was added h](j")}(h``W1_MASTER_ADD``h]j()}(hj%h]h W1_MASTER_ADD}(hhhj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj%ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK'hj%ubj>)}(hhh]h)}(h,notification that a new bus master was addedh]h,notification that a new bus master was added}(hj%hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hK'hj%ubah}(h]h ]h"]h$]h&]uh1j=hj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hK'hj5%ubj)}(h?``W1_MASTER_REMOVE`` notification that a bus masterwas removed h](j")}(h``W1_MASTER_REMOVE``h]j()}(hj%h]hW1_MASTER_REMOVE}(hhhj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj%ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK*hj%ubj>)}(hhh]h)}(h)notification that a bus masterwas removedh]h)notification that a bus masterwas removed}(hj&hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hK*hj%ubah}(h]h ]h"]h$]h&]uh1j=hj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hK*hj5%ubj)}(h;``W1_MASTER_CMD`` initiate operations on a specific master h](j")}(h``W1_MASTER_CMD``h]j()}(hj"&h]h W1_MASTER_CMD}(hhhj$&hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj &ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK-hj&ubj>)}(hhh]h)}(h(initiate operations on a specific masterh]h(initiate operations on a specific master}(hj=&hj;&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7&hK-hj8&ubah}(h]h ]h"]h$]h&]uh1j=hj&ubeh}(h]h ]h"]h$]h&]uh1jhj7&hK-hj5%ubj)}(hX``W1_SLAVE_CMD`` sends reset, selects the slave, then does a read/write/touch operation h](j")}(h``W1_SLAVE_CMD``h]j()}(hj[&h]h W1_SLAVE_CMD}(hhhj]&hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjY&ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK1hjU&ubj>)}(hhh]h)}(hFsends reset, selects the slave, then does a read/write/touch operationh]hFsends reset, selects the slave, then does a read/write/touch operation}(hjv&hjt&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK0hjq&ubah}(h]h ]h"]h$]h&]uh1j=hjU&ubeh}(h]h ]h"]h$]h&]uh1jhjp&hK1hj5%ubj)}(h@``W1_LIST_MASTERS`` used to determine the bus master identifiersh](j")}(h``W1_LIST_MASTERS``h]j()}(hj&h]hW1_LIST_MASTERS}(hhhj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj&ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK3hj&ubj>)}(hhh]h)}(h,used to determine the bus master identifiersh]h,used to determine the bus master identifiers}(hj&hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK4hj&ubah}(h]h ]h"]h$]h&]uh1j=hj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hK3hj5%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_netlink_msg (C struct)c.w1_netlink_msghNtauh1j)hj#hhhj#hNubj;)}(hhh](j@)}(hw1_netlink_msgh]jF)}(hstruct w1_netlink_msgh](jL)}(hjOh]hstruct}(hhhj&hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj&hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK1ubj^)}(h h]h }(hhhj&hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj&hhhj&hK1ubjo)}(hw1_netlink_msgh]ju)}(hj&h]hw1_netlink_msg}(hhhj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj 'ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj&hhhj&hK1ubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj&hhhj&hK1ubah}(h]j&ah ](jjeh"]h$]h&]juh1j?hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK:hj&hhubj)}(hhh]h)}(h%holds w1 message type, id, and resulth]h%holds w1 message type, id, and result}(hj4'hj2'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK0hj/'hhubah}(h]h ]h"]h$]h&]uh1jhj&hhhj&hK1ubeh}(h]h ](jstructeh"]h$]h&]jjjjJ'jjJ'juh1j:hhhj#hj#hNubj)}(hX**Definition**:: struct w1_netlink_msg { __u8 type; __u8 status; __u16 len; union { __u8 id[8]; struct w1_mst { __u32 id; __u32 res; } mst; } id; __u8 data[]; }; **Members** ``type`` one of enum w1_netlink_message_types ``status`` kernel feedback for success 0 or errno failure value ``len`` length of data following w1_netlink_msg ``id`` union holding bus master id (msg.id) and slave device id (id[8]). ``id.id`` Slave ID (8 bytes) ``id.mst`` bus master identification ``id.mst.id`` bus master ID ``id.mst.res`` bus master reserved ``data`` start address of any following datah](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hhhjV'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR'ubh:}(hjhjR'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK4hjN'ubj)}(hstruct w1_netlink_msg { __u8 type; __u8 status; __u16 len; union { __u8 id[8]; struct w1_mst { __u32 id; __u32 res; } mst; } id; __u8 data[]; };h]hstruct w1_netlink_msg { __u8 type; __u8 status; __u16 len; union { __u8 id[8]; struct w1_mst { __u32 id; __u32 res; } mst; } id; __u8 data[]; };}(hhhjo'ubah}(h]h ]h"]h$]h&]jjuh1jhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK6hjN'ubh)}(h **Members**h]j)}(hj'h]hMembers}(hhhj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~'ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKDhjN'ubj)}(hhh](j)}(h.``type`` one of enum w1_netlink_message_types h](j")}(h``type``h]j()}(hj'h]htype}(hhhj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj'ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK3hj'ubj>)}(hhh]h)}(h$one of enum w1_netlink_message_typesh]h$one of enum w1_netlink_message_types}(hj'hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hK3hj'ubah}(h]h ]h"]h$]h&]uh1j=hj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hK3hj'ubj)}(h@``status`` kernel feedback for success 0 or errno failure value h](j")}(h ``status``h]j()}(hj'h]hstatus}(hhhj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj'ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK4hj'ubj>)}(hhh]h)}(h4kernel feedback for success 0 or errno failure valueh]h4kernel feedback for success 0 or errno failure value}(hj'hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hK4hj'ubah}(h]h ]h"]h$]h&]uh1j=hj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hK4hj'ubj)}(h0``len`` length of data following w1_netlink_msg h](j")}(h``len``h]j()}(hj(h]hlen}(hhhj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj(ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK5hj (ubj>)}(hhh]h)}(h'length of data following w1_netlink_msgh]h'length of data following w1_netlink_msg}(hj,(hj*(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&(hK5hj'(ubah}(h]h ]h"]h$]h&]uh1j=hj (ubeh}(h]h ]h"]h$]h&]uh1jhj&(hK5hj'ubj)}(hI``id`` union holding bus master id (msg.id) and slave device id (id[8]). h](j")}(h``id``h]j()}(hjJ(h]hid}(hhhjL(hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjH(ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK6hjD(ubj>)}(hhh]h)}(hAunion holding bus master id (msg.id) and slave device id (id[8]).h]hAunion holding bus master id (msg.id) and slave device id (id[8]).}(hje(hjc(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_(hK6hj`(ubah}(h]h ]h"]h$]h&]uh1j=hjD(ubeh}(h]h ]h"]h$]h&]uh1jhj_(hK6hj'ubj)}(h``id.id`` Slave ID (8 bytes) h](j")}(h ``id.id``h]j()}(hj(h]hid.id}(hhhj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj(ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK7hj}(ubj>)}(hhh]h)}(hSlave ID (8 bytes)h]hSlave ID (8 bytes)}(hj(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hK7hj(ubah}(h]h ]h"]h$]h&]uh1j=hj}(ubeh}(h]h ]h"]h$]h&]uh1jhj(hK7hj'ubj)}(h%``id.mst`` bus master identification h](j")}(h ``id.mst``h]j()}(hj(h]hid.mst}(hhhj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj(ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK8hj(ubj>)}(hhh]h)}(hbus master identificationh]hbus master identification}(hj(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hK8hj(ubah}(h]h ]h"]h$]h&]uh1j=hj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hK8hj'ubj)}(h``id.mst.id`` bus master ID h](j")}(h ``id.mst.id``h]j()}(hj(h]h id.mst.id}(hhhj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj(ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK9hj(ubj>)}(hhh]h)}(h bus master IDh]h bus master ID}(hj)hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj )hK9hj )ubah}(h]h ]h"]h$]h&]uh1j=hj(ubeh}(h]h ]h"]h$]h&]uh1jhj )hK9hj'ubj)}(h#``id.mst.res`` bus master reserved h](j")}(h``id.mst.res``h]j()}(hj.)h]h id.mst.res}(hhhj0)hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj,)ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK:hj()ubj>)}(hhh]h)}(hbus master reservedh]hbus master reserved}(hjI)hjG)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC)hK:hjD)ubah}(h]h ]h"]h$]h&]uh1j=hj()ubeh}(h]h ]h"]h$]h&]uh1jhjC)hK:hj'ubj)}(h,``data`` start address of any following datah](j")}(h``data``h]j()}(hjg)h]hdata}(hhhji)hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hje)ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK:hja)ubj>)}(hhh]h)}(h#start address of any following datah]h#start address of any following data}(hj)hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK;hj})ubah}(h]h ]h"]h$]h&]uh1j=hja)ubeh}(h]h ]h"]h$]h&]uh1jhj|)hK:hj'ubeh}(h]h ]h"]h$]h&]uh1jhjN'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubh)}(h**Description**h]j)}(hj)h]h Description}(hhhj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK>hj#hhubh)}(hThe base message structure for w1 messages over netlink. The netlink connector data sequence is, struct nlmsghdr, struct cn_msg, then one or more struct w1_netlink_msg (each with optional data).h]hThe base message structure for w1 messages over netlink. The netlink connector data sequence is, struct nlmsghdr, struct cn_msg, then one or more struct w1_netlink_msg (each with optional data).}(hj)hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK)}(hhh]h)}(hread len bytesh]hread len bytes}(hj*hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hKWhj*ubah}(h]h ]h"]h$]h&]uh1j=hjf*ubeh}(h]h ]h"]h$]h&]uh1jhj*hKWhjc*ubj)}(h!``W1_CMD_WRITE`` write len bytes h](j")}(h``W1_CMD_WRITE``h]j()}(hj*h]h W1_CMD_WRITE}(hhhj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj*ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKZhj*ubj>)}(hhh]h)}(hwrite len bytesh]hwrite len bytes}(hj*hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hKZhj*ubah}(h]h ]h"]h$]h&]uh1j=hj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hKZhjc*ubj)}(hf``W1_CMD_SEARCH`` initiate a standard search, returns only the slave devices found during that search h](j")}(h``W1_CMD_SEARCH``h]j()}(hj*h]h W1_CMD_SEARCH}(hhhj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj*ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK^hj*ubj>)}(hhh]h)}(hSinitiate a standard search, returns only the slave devices found during that searchh]hSinitiate a standard search, returns only the slave devices found during that search}(hj*hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK]hj*ubah}(h]h ]h"]h$]h&]uh1j=hj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hK^hjc*ubj)}(hG``W1_CMD_ALARM_SEARCH`` search for devices that are currently alarming h](j")}(h``W1_CMD_ALARM_SEARCH``h]j()}(hj+h]hW1_CMD_ALARM_SEARCH}(hhhj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj+ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKahj+ubj>)}(hhh]h)}(h.search for devices that are currently alarmingh]h.search for devices that are currently alarming}(hj3+hj1+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-+hKahj.+ubah}(h]h ]h"]h$]h&]uh1j=hj+ubeh}(h]h ]h"]h$]h&]uh1jhj-+hKahjc*ubj)}(h,``W1_CMD_TOUCH`` Touches a series of bytes. h](j")}(h``W1_CMD_TOUCH``h]j()}(hjQ+h]h W1_CMD_TOUCH}(hhhjS+hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjO+ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKdhjK+ubj>)}(hhh]h)}(hTouches a series of bytes.h]hTouches a series of bytes.}(hjl+hjj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjf+hKdhjg+ubah}(h]h ]h"]h$]h&]uh1j=hjK+ubeh}(h]h ]h"]h$]h&]uh1jhjf+hKdhjc*ubj)}(h7``W1_CMD_RESET`` sends a bus reset on the given master h](j")}(h``W1_CMD_RESET``h]j()}(hj+h]h W1_CMD_RESET}(hhhj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj+ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKghj+ubj>)}(hhh]h)}(h%sends a bus reset on the given masterh]h%sends a bus reset on the given master}(hj+hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hKghj+ubah}(h]h ]h"]h$]h&]uh1j=hj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hKghjc*ubj)}(hR``W1_CMD_SLAVE_ADD`` adds a slave to the given master, 8 byte slave id at data[0] h](j")}(h``W1_CMD_SLAVE_ADD``h]j()}(hj+h]hW1_CMD_SLAVE_ADD}(hhhj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj+ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKkhj+ubj>)}(hhh]h)}(h)}(hhh]h)}(h?removes a slave to the given master, 8 byte slave id at data[0]h]h?removes a slave to the given master, 8 byte slave id at data[0]}(hj,hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKnhj,ubah}(h]h ]h"]h$]h&]uh1j=hj+ubeh}(h]h ]h"]h$]h&]uh1jhj,hKohjc*ubj)}(h@``W1_CMD_LIST_SLAVES`` list of slaves registered on this master h](j")}(h``W1_CMD_LIST_SLAVES``h]j()}(hj7,h]hW1_CMD_LIST_SLAVES}(hhhj9,hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj5,ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKrhj1,ubj>)}(hhh]h)}(h(list of slaves registered on this masterh]h(list of slaves registered on this master}(hjR,hjP,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL,hKrhjM,ubah}(h]h ]h"]h$]h&]uh1j=hj1,ubeh}(h]h ]h"]h$]h&]uh1jhjL,hKrhjc*ubj)}(h+``W1_CMD_MAX`` number of available commandsh](j")}(h``W1_CMD_MAX``h]j()}(hjp,h]h W1_CMD_MAX}(hhhjr,hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjn,ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKthjj,ubj>)}(hhh]h)}(hnumber of available commandsh]hnumber of available commands}(hj,hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKuhj,ubah}(h]h ]h"]h$]h&]uh1j=hjj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hKthjc*ubeh}(h]h ]h"]h$]h&]uh1jhjG*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_netlink_cmd (C struct)c.w1_netlink_cmdhNtauh1j)hj#hhhj#hNubj;)}(hhh](j@)}(hw1_netlink_cmdh]jF)}(hstruct w1_netlink_cmdh](jL)}(hjOh]hstruct}(hhhj,hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj,hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKoubj^)}(h h]h }(hhhj,hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj,hhhj,hKoubjo)}(hw1_netlink_cmdh]ju)}(hj,h]hw1_netlink_cmd}(hhhj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj,ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj,hhhj,hKoubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj,hhhj,hKoubah}(h]j,ah ](jjeh"]h$]h&]juh1j?hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK{hj,hhubj)}(hhh]h)}(hholds the command and datah]hholds the command and data}(hj-hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKnhj -hhubah}(h]h ]h"]h$]h&]uh1jhj,hhhj,hKoubeh}(h]h ](jstructeh"]h$]h&]jjjj%-jj%-juh1j:hhhj#hj#hNubj)}(hX**Definition**:: struct w1_netlink_cmd { __u8 cmd; __u8 res; __u16 len; __u8 data[]; }; **Members** ``cmd`` one of enum w1_commands ``res`` reserved ``len`` length of data following w1_netlink_cmd ``data`` start address of any following datah](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hhhj1-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj--ubh:}(hjhj--hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKrhj)-ubj)}(hVstruct w1_netlink_cmd { __u8 cmd; __u8 res; __u16 len; __u8 data[]; };h]hVstruct w1_netlink_cmd { __u8 cmd; __u8 res; __u16 len; __u8 data[]; };}(hhhjJ-ubah}(h]h ]h"]h$]h&]jjuh1jhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKthj)-ubh)}(h **Members**h]j)}(hj[-h]hMembers}(hhhj]-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY-ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK{hj)-ubj)}(hhh](j)}(h ``cmd`` one of enum w1_commands h](j")}(h``cmd``h]j()}(hjz-h]hcmd}(hhhj|-hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjx-ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKqhjt-ubj>)}(hhh]h)}(hone of enum w1_commandsh]hone of enum w1_commands}(hj-hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKqhj-ubah}(h]h ]h"]h$]h&]uh1j=hjt-ubeh}(h]h ]h"]h$]h&]uh1jhj-hKqhjq-ubj)}(h``res`` reserved h](j")}(h``res``h]j()}(hj-h]hres}(hhhj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj-ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKrhj-ubj>)}(hhh]h)}(hreservedh]hreserved}(hj-hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKrhj-ubah}(h]h ]h"]h$]h&]uh1j=hj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hKrhjq-ubj)}(h0``len`` length of data following w1_netlink_cmd h](j")}(h``len``h]j()}(hj-h]hlen}(hhhj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj-ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKshj-ubj>)}(hhh]h)}(h'length of data following w1_netlink_cmdh]h'length of data following w1_netlink_cmd}(hj.hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hKshj.ubah}(h]h ]h"]h$]h&]uh1j=hj-ubeh}(h]h ]h"]h$]h&]uh1jhj.hKshjq-ubj)}(h,``data`` start address of any following datah](j")}(h``data``h]j()}(hj%.h]hdata}(hhhj'.hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj#.ubah}(h]h ]h"]h$]h&]uh1j!hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKshj.ubj>)}(hhh]h)}(h#start address of any following datah]h#start address of any following data}(hj@.hj>.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKthj;.ubah}(h]h ]h"]h$]h&]uh1j=hj.ubeh}(h]h ]h"]h$]h&]uh1jhj:.hKshjq-ubeh}(h]h ]h"]h$]h&]uh1jhj)-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubh)}(h**Description**h]j)}(hjh.h]h Description}(hhhjj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf.ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKwhj#hhubh)}(hdOne or more struct w1_netlink_cmd is placed starting at w1_netlink_msg.data each with optional data.h]hdOne or more struct w1_netlink_cmd is placed starting at w1_netlink_msg.data each with optional data.}(hj.hj~.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKuhj#hhubeh}(h]drivers-w1-w1-netlink-hah ]h"]drivers/w1/w1_netlink.hah$]h&]uh1hhhhhhhhK3ubh)}(hhh](h)}(hdrivers/w1/w1_io.ch]hdrivers/w1/w1_io.c}(hj.hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hhhhhK;ubh)}(hW1 input/output.h]hW1 input/output.}(hj.hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK=hj.hhubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_touch_bit (C function)c.w1_touch_bithNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h0u8 w1_touch_bit (struct w1_master *dev, int bit)h]jF)}(h/u8 w1_touch_bit(struct w1_master *dev, int bit)h](h)}(hhh]ju)}(hu8h]hu8}(hhhj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNjj)}j]j)}j w1_touch_bitsbc.w1_touch_bitasbuh1hhj.hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK1ubj^)}(h h]h }(hhhj.hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj.hhhj.hK1ubjo)}(h w1_touch_bith]ju)}(hj.h]h w1_touch_bit}(hhhj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj/ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj.hhhj.hK1ubjN)}(h (struct w1_master *dev, int bit)h](jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhj/hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj/ubj^)}(h h]h }(hhhj,/hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj/ubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhj=/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj:/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?/modnameN classnameNjj)}j]j.c.w1_touch_bitasbuh1hhj/ubj^)}(h h]h }(hhhj[/hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj/ubj)}(hjh]h*}(hhhji/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubju)}(hdevh]hdev}(hhhjv/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj/ubjT)}(hint bith](j)}(hinth]hint}(hhhj/hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhj/ubj^)}(h h]h }(hhhj/hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj/ubju)}(hbith]hbit}(hhhj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj/ubeh}(h]h ]h"]h$]h&]jjuh1jMhj.hhhj.hK1ubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj.hhhj.hK1ubah}(h]j.ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK4hj.hhubj)}(hhh]h)}(h;Generates a write-0 or write-1 cycle and samples the level.h]h;Generates a write-0 or write-1 cycle and samples the level.}(hj/hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK0hj/hhubah}(h]h ]h"]h$]h&]uh1jhj.hhhj.hK1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/juh1j:hhhj.hNhNubj)}(hx**Parameters** ``struct w1_master *dev`` the master device ``int bit`` 0 - write a 0, 1 - write a 0 read the levelh](h)}(h**Parameters**h]j)}(hj/h]h Parameters}(hhhj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK4hj/ubj)}(hhh](j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hj0h]hstruct w1_master *dev}(hhhj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj0ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK1hj0ubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hj20hj00hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,0hK1hj-0ubah}(h]h ]h"]h$]h&]uh1j=hj0ubeh}(h]h ]h"]h$]h&]uh1jhj,0hK1hj0ubj)}(h7``int bit`` 0 - write a 0, 1 - write a 0 read the levelh](j")}(h ``int bit``h]j()}(hjP0h]hint bit}(hhhjR0hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjN0ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK3hjJ0ubj>)}(hhh]h)}(h+0 - write a 0, 1 - write a 0 read the levelh]h+0 - write a 0, 1 - write a 0 read the level}(hjk0hji0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK2hjf0ubah}(h]h ]h"]h$]h&]uh1j=hjJ0ubeh}(h]h ]h"]h$]h&]uh1jhje0hK3hj0ubeh}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_write_8 (C function) c.w1_write_8hNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h0void w1_write_8 (struct w1_master *dev, u8 byte)h]jF)}(h/void w1_write_8(struct w1_master *dev, u8 byte)h](j)}(hvoidh]hvoid}(hhhj0hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhj0hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKubj^)}(h h]h }(hhhj0hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj0hhhj0hKubjo)}(h w1_write_8h]ju)}(h w1_write_8h]h w1_write_8}(hhhj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj0ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj0hhhj0hKubjN)}(h (struct w1_master *dev, u8 byte)h](jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhj0hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj0ubj^)}(h h]h }(hhhj0hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj0ubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j]j)}jj0sb c.w1_write_8asbuh1hhj0ubj^)}(h h]h }(hhhj%1hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj0ubj)}(hjh]h*}(hhhj31hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubju)}(hdevh]hdev}(hhhj@1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj0ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj0ubjT)}(hu8 byteh](h)}(hhh]ju)}(hu8h]hu8}(hhhj\1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjY1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^1modnameN classnameNjj)}j]j!1 c.w1_write_8asbuh1hhjU1ubj^)}(h h]h }(hhhjz1hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjU1ubju)}(hbyteh]hbyte}(hhhj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjU1ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj0ubeh}(h]h ]h"]h$]h&]jjuh1jMhj0hhhj0hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj0hhhj0hKubah}(h]j0ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj0hhubj)}(hhh]h)}(hWrites 8 bits.h]hWrites 8 bits.}(hj1hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj1hhubah}(h]h ]h"]h$]h&]uh1jhj0hhhj0hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1juh1j:hhhj.hNhNubj)}(h^**Parameters** ``struct w1_master *dev`` the master device ``u8 byte`` the byte to writeh](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hhhj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj1ubj)}(hhh](j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hj1h]hstruct w1_master *dev}(hhhj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj1ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj1ubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hj2hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 2hKhj 2ubah}(h]h ]h"]h$]h&]uh1j=hj1ubeh}(h]h ]h"]h$]h&]uh1jhj 2hKhj1ubj)}(h``u8 byte`` the byte to writeh](j")}(h ``u8 byte``h]j()}(hj-2h]hu8 byte}(hhhj/2hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj+2ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj'2ubj>)}(hhh]h)}(hthe byte to writeh]hthe byte to write}(hjH2hjF2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhjC2ubah}(h]h ]h"]h$]h&]uh1j=hj'2ubeh}(h]h ]h"]h$]h&]uh1jhjB2hKhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_triplet (C function) c.w1_triplethNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h/u8 w1_triplet (struct w1_master *dev, int bdir)h]jF)}(h.u8 w1_triplet(struct w1_master *dev, int bdir)h](h)}(hhh]ju)}(hu8h]hu8}(hhhj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}j w1_tripletsb c.w1_tripletasbuh1hhj2hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKubj^)}(h h]h }(hhhj2hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj2hhhj2hKubjo)}(h w1_tripleth]ju)}(hj2h]h w1_triplet}(hhhj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj2ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj2hhhj2hKubjN)}(h!(struct w1_master *dev, int bdir)h](jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhj2hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj2ubj^)}(h h]h }(hhhj2hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj2ubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j2 c.w1_tripletasbuh1hhj2ubj^)}(h h]h }(hhhj3hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj2ubj)}(hjh]h*}(hhhj#3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubju)}(hdevh]hdev}(hhhj03hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj2ubjT)}(hint bdirh](j)}(hinth]hint}(hhhjI3hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjE3ubj^)}(h h]h }(hhhjW3hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjE3ubju)}(hbdirh]hbdir}(hhhje3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjE3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj2ubeh}(h]h ]h"]h$]h&]jjuh1jMhj2hhhj2hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj2hhhj2hKubah}(h]jz2ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj|2hhubj)}(hhh]h bullet_list)}(hhh]h list_item)}(h2Does a triplet - used for searching ROM addresses.h]h)}(hj3h]h2Does a triplet - used for searching ROM addresses.}(hj3hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubah}(h]h ]h"]h$]h&]uh1j3hj3hhhj3hNubah}(h]h ]h"]h$]h&]bulletjuh1j3hj3hKhj3hhubah}(h]h ]h"]h$]h&]uh1jhj|2hhhj2hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3juh1j:hhhj.hNhNubj)}(hX5**Parameters** ``struct w1_master *dev`` the master device ``int bdir`` the bit to write if both id_bit and comp_bit are 0 **Description** 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. **Return** bit fields - see aboveh](h)}(h**Parameters**h]j)}(hj3h]h Parameters}(hhhj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubj)}(hhh](j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hj3h]hstruct w1_master *dev}(hhhj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj3ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hj4hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hKhj3ubah}(h]h ]h"]h$]h&]uh1j=hj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hKhj3ubj)}(h@``int bdir`` the bit to write if both id_bit and comp_bit are 0 h](j")}(h ``int bdir``h]j()}(hj!4h]hint bdir}(hhhj#4hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj4ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj4ubj>)}(hhh]h)}(h2the bit to write if both id_bit and comp_bit are 0h]h2the bit to write if both id_bit and comp_bit are 0}(hj<4hj:4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj64hKhj74ubah}(h]h ]h"]h$]h&]uh1j=hj4ubeh}(h]h ]h"]h$]h&]uh1jhj64hKhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hj\4h]h Description}(hhhj^4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ4ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubj)}(hhh]j)}(h?Return bits: bit 0 = id_bit bit 1 = comp_bit bit 2 = dir_taken h](j")}(h Return bits:h]h Return bits:}(hj{4hjy4hhhNhNubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhju4ubj>)}(hhh]h)}(h1bit 0 = id_bit bit 1 = comp_bit bit 2 = dir_takenh]h1bit 0 = id_bit bit 1 = comp_bit bit 2 = dir_taken}(hj4hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj4ubah}(h]h ]h"]h$]h&]uh1j=hju4ubeh}(h]h ]h"]h$]h&]uh1jhj4hKhjr4ubah}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h;If both bits 0 & 1 are set, the search should be restarted.h]h;If both bits 0 & 1 are set, the search should be restarted.}(hj4hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubh)}(h **Return**h]j)}(hj4h]hReturn}(hhhj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubh)}(hbit fields - see aboveh]hbit fields - see above}(hj4hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_read_8 (C function) c.w1_read_8hNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h$u8 w1_read_8 (struct w1_master *dev)h]jF)}(h#u8 w1_read_8(struct w1_master *dev)h](h)}(hhh]ju)}(hu8h]hu8}(hhhj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}j w1_read_8sb c.w1_read_8asbuh1hhj4hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKubj^)}(h h]h }(hhhj'5hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj4hhhj&5hKubjo)}(h w1_read_8h]ju)}(hj#5h]h w1_read_8}(hhhj95hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj55ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj4hhhj&5hKubjN)}(h(struct w1_master *dev)h]jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhjT5hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjP5ubj^)}(h h]h }(hhhja5hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjP5ubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhjr5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjo5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjt5modnameN classnameNjj)}j]j!5 c.w1_read_8asbuh1hhjP5ubj^)}(h h]h }(hhhj5hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjP5ubj)}(hjh]h*}(hhhj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP5ubju)}(hdevh]hdev}(hhhj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjP5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShjL5ubah}(h]h ]h"]h$]h&]jjuh1jMhj4hhhj&5hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj4hhhj&5hKubah}(h]j4ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj4hhubj)}(hhh]h)}(h Reads 8 bits.h]h Reads 8 bits.}(hj5hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj5hhubah}(h]h ]h"]h$]h&]uh1jhj4hhhj&5hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5juh1j:hhhj.hNhNubj)}(hX**Parameters** ``struct w1_master *dev`` the master device **Return** the byte readh](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hhhj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj5ubj)}(hhh]j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hj6h]hstruct w1_master *dev}(hhhj6hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj6ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj6ubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hj26hj06hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,6hKhj-6ubah}(h]h ]h"]h$]h&]uh1j=hj6ubeh}(h]h ]h"]h$]h&]uh1jhj,6hKhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h **Return**h]j)}(hjR6h]hReturn}(hhhjT6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP6ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj5ubh)}(h the byte readh]h the byte read}(hjj6hjh6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_write_block (C function)c.w1_write_blockhNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(hCvoid w1_write_block (struct w1_master *dev, const u8 *buf, int len)h]jF)}(hBvoid w1_write_block(struct w1_master *dev, const u8 *buf, int len)h](j)}(hvoidh]hvoid}(hhhj6hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhj6hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKubj^)}(h h]h }(hhhj6hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj6hhhj6hKubjo)}(hw1_write_blockh]ju)}(hw1_write_blockh]hw1_write_block}(hhhj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj6ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj6hhhj6hKubjN)}(h/(struct w1_master *dev, const u8 *buf, int len)h](jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhj6hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj6ubj^)}(h h]h }(hhhj6hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj6ubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jj6sbc.w1_write_blockasbuh1hhj6ubj^)}(h h]h }(hhhj7hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj6ubj)}(hjh]h*}(hhhj 7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubju)}(hdevh]hdev}(hhhj-7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj6ubjT)}(h const u8 *bufh](jL)}(hconsth]hconst}(hhhjF7hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjB7ubj^)}(h h]h }(hhhjT7hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjB7ubh)}(hhh]ju)}(hu8h]hu8}(hhhje7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjb7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjg7modnameN classnameNjj)}j]j7c.w1_write_blockasbuh1hhjB7ubj^)}(h h]h }(hhhj7hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjB7ubj)}(hjh]h*}(hhhj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjB7ubju)}(hbufh]hbuf}(hhhj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjB7ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj6ubjT)}(hint lenh](j)}(hinth]hint}(hhhj7hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhj7ubj^)}(h h]h }(hhhj7hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj7ubju)}(hlenh]hlen}(hhhj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj7ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj6ubeh}(h]h ]h"]h$]h&]jjuh1jMhj6hhhj6hKubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj6hhhj6hKubah}(h]j6ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj6hhubj)}(hhh]h)}(hWrites a series of bytes.h]hWrites a series of bytes.}(hj8hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj7hhubah}(h]h ]h"]h$]h&]uh1jhj6hhhj6hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8juh1j:hhhj.hNhNubj)}(h**Parameters** ``struct w1_master *dev`` the master device ``const u8 *buf`` pointer to the data to write ``int len`` the number of bytes to writeh](h)}(h**Parameters**h]j)}(hj 8h]h Parameters}(hhhj"8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj8ubj)}(hhh](j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hj?8h]hstruct w1_master *dev}(hhhjA8hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj=8ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj98ubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hjZ8hjX8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT8hKhjU8ubah}(h]h ]h"]h$]h&]uh1j=hj98ubeh}(h]h ]h"]h$]h&]uh1jhjT8hKhj68ubj)}(h/``const u8 *buf`` pointer to the data to write h](j")}(h``const u8 *buf``h]j()}(hjx8h]h const u8 *buf}(hhhjz8hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjv8ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhjr8ubj>)}(hhh]h)}(hpointer to the data to writeh]hpointer to the data to write}(hj8hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1j=hjr8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhj68ubj)}(h(``int len`` the number of bytes to writeh](j")}(h ``int len``h]j()}(hj8h]hint len}(hhhj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj8ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj8ubj>)}(hhh]h)}(hthe number of bytes to writeh]hthe number of bytes to write}(hj8hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj8ubah}(h]h ]h"]h$]h&]uh1j=hj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hKhj68ubeh}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_touch_block (C function)c.w1_touch_blockhNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h=void w1_touch_block (struct w1_master *dev, u8 *buf, int len)h]jF)}(h)}(hhh]h)}(hthe master deviceh]hthe master device}(hj:hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM hj:ubah}(h]h ]h"]h$]h&]uh1j=hj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM hj:ubj)}(h)``u8 *buf`` pointer to the data to write h](j")}(h ``u8 *buf``h]j()}(hj:h]hu8 *buf}(hhhj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj:ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM hj:ubj>)}(hhh]h)}(hpointer to the data to writeh]hpointer to the data to write}(hj:hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM hj:ubah}(h]h ]h"]h$]h&]uh1j=hj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM hj:ubj)}(h(``int len`` the number of bytes to writeh](j")}(h ``int len``h]j()}(hj ;h]hint len}(hhhj ;hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj;ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhj;ubj>)}(hhh]h)}(hthe number of bytes to writeh]hthe number of bytes to write}(hj$;hj";hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM hj;ubah}(h]h ]h"]h$]h&]uh1j=hj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj:ubeh}(h]h ]h"]h$]h&]uh1jhjr:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_read_block (C function)c.w1_read_blockhNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h:u8 w1_read_block (struct w1_master *dev, u8 *buf, int len)h]jF)}(h9u8 w1_read_block(struct w1_master *dev, u8 *buf, int len)h](h)}(hhh]ju)}(hu8h]hu8}(hhhjf;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjc;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjh;modnameN classnameNjj)}j]j)}j w1_read_blocksbc.w1_read_blockasbuh1hhj_;hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM#ubj^)}(h h]h }(hhhj;hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj_;hhhj;hM#ubjo)}(h w1_read_blockh]ju)}(hj;h]h w1_read_block}(hhhj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj;ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj_;hhhj;hM#ubjN)}(h)(struct w1_master *dev, u8 *buf, int len)h](jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhj;hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj;ubj^)}(h h]h }(hhhj;hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj;ubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]j;c.w1_read_blockasbuh1hhj;ubj^)}(h h]h }(hhhj;hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj;ubj)}(hjh]h*}(hhhj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubju)}(hdevh]hdev}(hhhj <hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj;ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj;ubjT)}(hu8 *bufh](h)}(hhh]ju)}(hu8h]hu8}(hhhj(<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj%<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*<modnameN classnameNjj)}j]j;c.w1_read_blockasbuh1hhj!<ubj^)}(h h]h }(hhhjF<hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj!<ubj)}(hjh]h*}(hhhjT<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!<ubju)}(hbufh]hbuf}(hhhja<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj!<ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj;ubjT)}(hint lenh](j)}(hinth]hint}(hhhjz<hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjv<ubj^)}(h h]h }(hhhj<hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjv<ubju)}(hlenh]hlen}(hhhj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjv<ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj;ubeh}(h]h ]h"]h$]h&]jjuh1jMhj_;hhhj;hM#ubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj[;hhhj;hM#ubah}(h]jV;ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM(hjX;hhubj)}(hhh]h)}(hReads a series of bytes.h]hReads a series of bytes.}(hj<hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM"hj<hhubah}(h]h ]h"]h$]h&]uh1jhjX;hhhj;hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<juh1j:hhhj.hNhNubj)}(h**Parameters** ``struct w1_master *dev`` the master device ``u8 *buf`` pointer to the buffer to fill ``int len`` the number of bytes to read **Return** the number of bytes readh](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hhhj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM&hj<ubj)}(hhh](j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hj=h]hstruct w1_master *dev}(hhhj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj=ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM#hj<ubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hj=hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM#hj=ubah}(h]h ]h"]h$]h&]uh1j=hj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hM#hj<ubj)}(h*``u8 *buf`` pointer to the buffer to fill h](j")}(h ``u8 *buf``h]j()}(hj;=h]hu8 *buf}(hhhj==hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj9=ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM$hj5=ubj>)}(hhh]h)}(hpointer to the buffer to fillh]hpointer to the buffer to fill}(hjV=hjT=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP=hM$hjQ=ubah}(h]h ]h"]h$]h&]uh1j=hj5=ubeh}(h]h ]h"]h$]h&]uh1jhjP=hM$hj<ubj)}(h(``int len`` the number of bytes to read h](j")}(h ``int len``h]j()}(hjt=h]hint len}(hhhjv=hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjr=ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM%hjn=ubj>)}(hhh]h)}(hthe number of bytes to readh]hthe number of bytes to read}(hj=hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM%hj=ubah}(h]h ]h"]h$]h&]uh1j=hjn=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM%hj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubh)}(h **Return**h]j)}(hj=h]hReturn}(hhhj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM'hj<ubh)}(hthe number of bytes readh]hthe number of bytes read}(hj=hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM&hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*d)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_reset_bus (C function)c.w1_reset_bushNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h(int w1_reset_bus (struct w1_master *dev)h]jF)}(h'int w1_reset_bus(struct w1_master *dev)h](j)}(hinth]hint}(hhhj=hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhj=hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM;ubj^)}(h h]h }(hhhj>hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj=hhhj>hM;ubjo)}(h w1_reset_bush]ju)}(h w1_reset_bush]h w1_reset_bus}(hhhj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj>ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhj=hhhj>hM;ubjN)}(h(struct w1_master *dev)h]jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhj1>hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj->ubj^)}(h h]h }(hhhj>>hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj->ubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhjO>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjL>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQ>modnameN classnameNjj)}j]j)}jj>sbc.w1_reset_busasbuh1hhj->ubj^)}(h h]h }(hhhjo>hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj->ubj)}(hjh]h*}(hhhj}>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj->ubju)}(hdevh]hdev}(hhhj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj->ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj)>ubah}(h]h ]h"]h$]h&]jjuh1jMhj=hhhj>hM;ubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj=hhhj>hM;ubah}(h]j=ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM>hj=hhubj)}(hhh]h)}(hIssues a reset bus sequence.h]hIssues a reset bus sequence.}(hj>hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM:hj>hhubah}(h]h ]h"]h$]h&]uh1jhj=hhhj>hM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>juh1j:hhhj.hNhNubj)}(hy**Parameters** ``struct w1_master *dev`` the master device **Return** 0=Device present, 1=No device present or errorh](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hhhj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM>hj>ubj)}(hhh]j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hj>h]hstruct w1_master *dev}(hhhj>hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj>ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM;hj>ubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hj?hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ?hM;hj ?ubah}(h]h ]h"]h$]h&]uh1j=hj>ubeh}(h]h ]h"]h$]h&]uh1jhj ?hM;hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubh)}(h **Return**h]j)}(hj1?h]hReturn}(hhhj3?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/?ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM=hj>ubh)}(h.0=Device present, 1=No device present or errorh]h.0=Device present, 1=No device present or error}(hjI?hjG?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM<hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6"w1_reset_select_slave (C function)c.w1_reset_select_slavehNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h/int w1_reset_select_slave (struct w1_slave *sl)h]jF)}(h.int w1_reset_select_slave(struct w1_slave *sl)h](j)}(hinth]hint}(hhhjv?hhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjr?hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMzubj^)}(h h]h }(hhhj?hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjr?hhhj?hMzubjo)}(hw1_reset_select_slaveh]ju)}(hw1_reset_select_slaveh]hw1_reset_select_slave}(hhhj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj?ubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjr?hhhj?hMzubjN)}(h(struct w1_slave *sl)h]jT)}(hstruct w1_slave *slh](jL)}(hjOh]hstruct}(hhhj?hhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhj?ubj^)}(h h]h }(hhhj?hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj?ubh)}(hhh]ju)}(hw1_slaveh]hw1_slave}(hhhj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j]j)}jj?sbc.w1_reset_select_slaveasbuh1hhj?ubj^)}(h h]h }(hhhj?hhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hj?ubj)}(hjh]h*}(hhhj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubju)}(hslh]hsl}(hhhj @hhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj?ubah}(h]h ]h"]h$]h&]jjuh1jMhjr?hhhj?hMzubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjn?hhhj?hMzubah}(h]ji?ah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjk?hhubj)}(hhh]h)}(hreset and select a slaveh]hreset and select a slave}(hj9@hj7@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMyhj4@hhubah}(h]h ]h"]h$]h&]uh1jhjk?hhhj?hMzubeh}(h]h ](jfunctioneh"]h$]h&]jjjjO@jjO@juh1j:hhhj.hNhNubj)}(hX<**Parameters** ``struct w1_slave *sl`` the slave to select **Description** 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. **Return** 0=success, anything else=errorh](h)}(h**Parameters**h]j)}(hjY@h]h Parameters}(hhhj[@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW@ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM}hjS@ubj)}(hhh]j)}(h,``struct w1_slave *sl`` the slave to select h](j")}(h``struct w1_slave *sl``h]j()}(hjx@h]hstruct w1_slave *sl}(hhhjz@hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjv@ubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMzhjr@ubj>)}(hhh]h)}(hthe slave to selecth]hthe slave to select}(hj@hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMzhj@ubah}(h]h ]h"]h$]h&]uh1j=hjr@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMzhjo@ubah}(h]h ]h"]h$]h&]uh1jhjS@ubh)}(h**Description**h]j)}(hj@h]h Description}(hhhj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM|hjS@ubh)}(hResets 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.h]hResets 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.}(hj@hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM|hjS@ubh)}(h **Return**h]j)}(hj@h]hReturn}(hhhj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjS@ubh)}(h0=success, anything else=errorh]h0=success, anything else=error}(hj@hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjS@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6$w1_reset_resume_command (C function)c.w1_reset_resume_commandhNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h3int w1_reset_resume_command (struct w1_master *dev)h]jF)}(h2int w1_reset_resume_command(struct w1_master *dev)h](j)}(hinth]hint}(hhhjAhhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjAhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMubj^)}(h h]h }(hhhj.AhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjAhhhj-AhMubjo)}(hw1_reset_resume_commandh]ju)}(hw1_reset_resume_commandh]hw1_reset_resume_command}(hhhj@AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj)}(hhh]h)}(hthe master deviceh]hthe master device}(hj)}(hhh]h)}(hthe master deviceh]hthe master device}(hjDhjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj DhMhj Dubah}(h]h ]h"]h$]h&]uh1j=hjCubeh}(h]h ]h"]h$]h&]uh1jhj DhMhjCubj)}(h#``int delay`` time in milliseconds h](j")}(h ``int delay``h]j()}(hj/Dh]h int delay}(hhhj1DhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj-Dubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhj)Dubj>)}(hhh]h)}(htime in millisecondsh]htime in milliseconds}(hjJDhjHDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDDhMhjEDubah}(h]h ]h"]h$]h&]uh1j=hj)Dubeh}(h]h ]h"]h$]h&]uh1jhjDDhMhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjjDh]h Description}(hhhjlDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhDubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjCubh)}(hX|Put out a strong pull-up of the specified duration after the next write operation. Not all hardware supports strong pullups. Hardware that doesn't support strong pullups will sleep for the given time after the write operation without a strong pullup. This is a one shot request for the next write, specifying zero will clear a previous request. The w1 master lock must be held.h]hX~Put out a strong pull-up of the specified duration after the next write operation. Not all hardware supports strong pullups. Hardware that doesn’t support strong pullups will sleep for the given time after the write operation without a strong pullup. This is a one shot request for the next write, specifying zero will clear a previous request. The w1 master lock must be held.}(hjDhjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjCubh)}(h **Return**h]j)}(hjDh]hReturn}(hhhjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjCubh)}(h0=success, anything else=errorh]h0=success, anything else=error}(hjDhjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_write_bit (C function)c.w1_write_bithNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h2void w1_write_bit (struct w1_master *dev, int bit)h]jF)}(h1void w1_write_bit(struct w1_master *dev, int bit)h](j)}(hvoidh]hvoid}(hhhjDhhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjDhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKCubj^)}(h h]h }(hhhjDhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjDhhhjDhKCubjo)}(h w1_write_bith]ju)}(h w1_write_bith]h w1_write_bit}(hhhjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjDubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjDhhhjDhKCubjN)}(h (struct w1_master *dev, int bit)h](jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhjEhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjEubj^)}(h h]h }(hhhj EhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjEubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhj1EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj.Eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3EmodnameN classnameNjj)}j]j)}jjDsbc.w1_write_bitasbuh1hhjEubj^)}(h h]h }(hhhjQEhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjEubj)}(hjh]h*}(hhhj_EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubju)}(hdevh]hdev}(hhhjlEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj EubjT)}(hint bith](j)}(hinth]hint}(hhhjEhhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjEubj^)}(h h]h }(hhhjEhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjEubju)}(hbith]hbit}(hhhjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj Eubeh}(h]h ]h"]h$]h&]jjuh1jMhjDhhhjDhKCubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjDhhhjDhKCubah}(h]jDah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKHhjDhhubj)}(hhh]h)}(h%Generates a write-0 or write-1 cycle.h]h%Generates a write-0 or write-1 cycle.}(hjEhjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKBhjEhhubah}(h]h ]h"]h$]h&]uh1jhjDhhhjDhKCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjuh1j:hhhj.hNhNubj)}(h**Parameters** ``struct w1_master *dev`` the master device ``int bit`` bit to write **Description** Only call if dev->bus_master->touch_bit is NULLh](h)}(h**Parameters**h]j)}(hjEh]h Parameters}(hhhjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKFhjEubj)}(hhh](j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hj Fh]hstruct w1_master *dev}(hhhjFhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj Fubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKChjFubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hj(Fhj&FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"FhKChj#Fubah}(h]h ]h"]h$]h&]uh1j=hjFubeh}(h]h ]h"]h$]h&]uh1jhj"FhKChjFubj)}(h``int bit`` bit to write h](j")}(h ``int bit``h]j()}(hjFFh]hint bit}(hhhjHFhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjDFubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKDhj@Fubj>)}(hhh]h)}(h bit to writeh]h bit to write}(hjaFhj_FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[FhKDhj\Fubah}(h]h ]h"]h$]h&]uh1j=hj@Fubeh}(h]h ]h"]h$]h&]uh1jhj[FhKDhjFubeh}(h]h ]h"]h$]h&]uh1jhjEubh)}(h**Description**h]j)}(hjFh]h Description}(hhhjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKFhjEubh)}(h/Only call if dev->bus_master->touch_bit is NULLh]h/Only call if dev->bus_master->touch_bit is NULL}(hjFhjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKFhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_pre_write (C function)c.w1_pre_writehNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h)void w1_pre_write (struct w1_master *dev)h]jF)}(h(void w1_pre_write(struct w1_master *dev)h](j)}(hvoidh]hvoid}(hhhjFhhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjFhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chK_ubj^)}(h h]h }(hhhjFhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjFhhhjFhK_ubjo)}(h w1_pre_writeh]ju)}(h w1_pre_writeh]h w1_pre_write}(hhhjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjFubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjFhhhjFhK_ubjN)}(h(struct w1_master *dev)h]jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhjGhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjFubj^)}(h h]h }(hhhjGhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjFubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhj!GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#GmodnameN classnameNjj)}j]j)}jjFsbc.w1_pre_writeasbuh1hhjFubj^)}(h h]h }(hhhjAGhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjFubj)}(hjh]h*}(hhhjOGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubju)}(hdevh]hdev}(hhhj\GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjFubeh}(h]h ]h"]h$]h&]noemphjjuh1jShjFubah}(h]h ]h"]h$]h&]jjuh1jMhjFhhhjFhK_ubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhjFhhhjFhK_ubah}(h]jFah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKehjFhhubj)}(hhh]h)}(hpre-write operationsh]hpre-write operations}(hjGhjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chK^hjGhhubah}(h]h ]h"]h$]h&]uh1jhjFhhhjFhK_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjuh1j:hhhj.hNhNubj)}(h**Parameters** ``struct w1_master *dev`` the master device **Description** Pre-write operation, currently only supporting strong pullups. Program the hardware for a strong pullup, if one has been requested and the hardware supports it.h](h)}(h**Parameters**h]j)}(hjGh]h Parameters}(hhhjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKbhjGubj)}(hhh]j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hjGh]hstruct w1_master *dev}(hhhjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjGubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chK_hjGubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hjGhjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhK_hjGubah}(h]h ]h"]h$]h&]uh1j=hjGubeh}(h]h ]h"]h$]h&]uh1jhjGhK_hjGubah}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjHh]h Description}(hhhjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKahjGubh)}(hPre-write operation, currently only supporting strong pullups. Program the hardware for a strong pullup, if one has been requested and the hardware supports it.h]hPre-write operation, currently only supporting strong pullups. Program the hardware for a strong pullup, if one has been requested and the hardware supports it.}(hjHhjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKahjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_post_write (C function)c.w1_post_writehNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h*void w1_post_write (struct w1_master *dev)h]jF)}(h)void w1_post_write(struct w1_master *dev)h](j)}(hvoidh]hvoid}(hhhjHHhhhNhNubah}(h]h ]j"ah"]h$]h&]uh1jhjDHhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKpubj^)}(h h]h }(hhhjWHhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjDHhhhjVHhKpubjo)}(h w1_post_writeh]ju)}(h w1_post_writeh]h w1_post_write}(hhhjiHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjeHubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjDHhhhjVHhKpubjN)}(h(struct w1_master *dev)h]jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhjHhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjHubj^)}(h h]h }(hhhjHhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjHubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j)}jjkHsbc.w1_post_writeasbuh1hhjHubj^)}(h h]h }(hhhjHhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjHubj)}(hjh]h*}(hhhjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubju)}(hdevh]hdev}(hhhjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjHubeh}(h]h ]h"]h$]h&]noemphjjuh1jShj}Hubah}(h]h ]h"]h$]h&]jjuh1jMhjDHhhhjVHhKpubeh}(h]h ]h"]h$]h&]jjjuh1jEjjhj@HhhhjVHhKpubah}(h]j;Hah ](jjeh"]h$]h&]juh1j?hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKvhj=Hhhubj)}(hhh]h)}(hpost-write optionsh]hpost-write options}(hj Ihj IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKohjIhhubah}(h]h ]h"]h$]h&]uh1jhj=HhhhjVHhKpubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!Ijj!Ijuh1j:hhhj.hNhNubj)}(hX**Parameters** ``struct w1_master *dev`` the master device **Description** Post-write operation, currently only supporting strong pullups. If a strong pullup was requested, clear it if the hardware supports them, or execute the delay otherwise, in either case clear the request.h](h)}(h**Parameters**h]j)}(hj+Ih]h Parameters}(hhhj-IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Iubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKshj%Iubj)}(hhh]j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hjJIh]hstruct w1_master *dev}(hhhjLIhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjHIubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKphjDIubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hjeIhjcIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_IhKphj`Iubah}(h]h ]h"]h$]h&]uh1j=hjDIubeh}(h]h ]h"]h$]h&]uh1jhj_IhKphjAIubah}(h]h ]h"]h$]h&]uh1jhj%Iubh)}(h**Description**h]j)}(hjIh]h Description}(hhhjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKrhj%Iubh)}(hPost-write operation, currently only supporting strong pullups. If a strong pullup was requested, clear it if the hardware supports them, or execute the delay otherwise, in either case clear the request.h]hPost-write operation, currently only supporting strong pullups. If a strong pullup was requested, clear it if the hardware supports them, or execute the delay otherwise, in either case clear the request.}(hjIhjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKrhj%Iubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj*)}(hhh]h}(h]h ]h"]h$]h&]entries](j6w1_read_bit (C function) c.w1_read_bithNtauh1j)hj.hhhNhNubj;)}(hhh](j@)}(h&u8 w1_read_bit (struct w1_master *dev)h]jF)}(h%u8 w1_read_bit(struct w1_master *dev)h](h)}(hhh]ju)}(hu8h]hu8}(hhhjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}j w1_read_bitsb c.w1_read_bitasbuh1hhjIhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKubj^)}(h h]h }(hhhjIhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjIhhhjIhKubjo)}(h w1_read_bith]ju)}(hjIh]h w1_read_bit}(hhhjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthjIubah}(h]h ](jjeh"]h$]h&]jjuh1jnhjIhhhjIhKubjN)}(h(struct w1_master *dev)h]jT)}(hstruct w1_master *devh](jL)}(hjOh]hstruct}(hhhjJhhhNhNubah}(h]h ]jXah"]h$]h&]uh1jKhjJubj^)}(h h]h }(hhhj)JhhhNhNubah}(h]h ]jjah"]h$]h&]uh1j]hjJubh)}(hhh]ju)}(h w1_masterh]h w1_master}(hhhj:JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jthj7Jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbus_master->touch_bit is NULLh](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hhhjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKhjJubj)}(hhh]j)}(h,``struct w1_master *dev`` the master device h](j")}(h``struct w1_master *dev``h]j()}(hjJh]hstruct w1_master *dev}(hhhjJhhhNhNubah}(h]h ]h"]h$]h&]uh1j'hjJubah}(h]h ]h"]h$]h&]uh1j!hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKhjJubj>)}(hhh]h)}(hthe master deviceh]hthe master device}(hjJhjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhKhjJubah}(h]h ]h"]h$]h&]uh1j=hjJubeh}(h]h ]h"]h$]h&]uh1jhjJhKhjJubah}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjKh]h Description}(hhhjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKhjJubh)}(h/Only call if dev->bus_master->touch_bit is NULLh]h/Only call if dev->bus_master->touch_bit is NULL}(hj2Khj0KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubeh}(h]drivers-w1-w1-io-cah ]h"]drivers/w1/w1_io.cah$]h&]uh1hhhhhhhhK;ubeh}(h]w1-api-internal-to-the-kernelah ]h"]w1 api internal to the kernelah$]h&]uh1hhhhhhhhKubeh}(h]w1-dallas-1-wire-busah ]h"]w1: dallas' 1-wire busah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjKerror_encodingUTF-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confapep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacefile_insertion_enabled raw_enabledKline_length_limitM'syntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_link embed_imagesenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j[KjXKjSKjPKjjjQjNj0j-j j j#j#j.j.jKKjHKu nametypes}(j[KNjSKNjNjQNj0Nj Nj#Nj.NjKKNuh}(jXKhjPKhjj j8jAjjjjj j j j j2j7jjjjjNjjj jjj-jTjjjjj j3j^jdj#j j j jK"jP"j.j#j#j#j$j$j&j&j)j)j,j,jHKj.j.j.j0j0jz2j2j4j4j6j6j8j9jV;j[;j=j=ji?jn?jAjAjBjBjDjDjFjFj;Hj@HjIjIu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.