4sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget!/translations/zh_CN/driver-api/w1modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/zh_TW/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/it_IT/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ja_JP/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ko_KR/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/pt_BR/driver-api/w1modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(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}(hhhhhNhNubah}(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}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhKubh field_body)}(h David Fries h]h paragraph)}(h David Friesh]h David Fries}(hhhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubh)}(hhh](h)}(hinclude/linux/w1.hh]hinclude/linux/w1.h}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK ubh)}(hW1 kernel API functions.h]hW1 kernel API functions.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hjhhubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlew1_reg_num (C struct) c.w1_reg_numhNtauh1j=hjhhhNhNubhdesc)}(hhh](hdesc_signature)}(h w1_reg_numh]hdesc_signature_line)}(hstruct w1_reg_numh](hdesc_sig_keyword)}(hstructh]hstruct}(hjahhhNhNubah}(h]h ]kah"]h$]h&]uh1j_hj[hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKubhdesc_sig_space)}(h h]h }(hjshhhNhNubah}(h]h ]wah"]h$]h&]uh1jqhj[hhhjphKubh desc_name)}(h w1_reg_numh]h desc_sig_name)}(hjWh]h w1_reg_num}(hjhhhNhNubah}(h]h ]nah"]h$]h&]uh1jhjubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jhj[hhhjphKubeh}(h]h ]h"]h$]h&]jj add_permalinkuh1jYsphinx_line_type declaratorhjUhhhjphKubah}(h]jLah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jShjphKhjPhhubh desc_content)}(hhh]h)}(hbroken out slave device idh]hbroken out slave device id}(hjhhhNhNubah}(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&]uh1jhjPhhhjphKubeh}(h]h ](cstructeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1jNhhhjhNhNubh 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(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; };}hjsbah}(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}(hjhhhNhNubah}(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}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj9ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj3ubh definition)}(hhh]h)}(hidentifies the type of deviceh]hidentifies the type of device}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhKhjUubah}(h]h ]h"]h$]h&]uh1jShj3ubeh}(h]h ]h"]h$]h&]uh1j1hjRhKhj.ubj2)}(h1``id`` along with family is the unique device id h](j8)}(h``id``h]j>)}(hjxh]hid}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjvubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjrubjT)}(hhh]h)}(h)along with family is the unique device idh]h)along with family is the unique device id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjrubeh}(h]h ]h"]h$]h&]uh1j1hjhKhj.ubj2)}(h$``crc`` checksum of the other bytes h](j8)}(h``crc``h]j>)}(hjh]hcrc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hchecksum of the other bytesh]hchecksum of the other bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhj.ubj2)}(h$``crc`` checksum of the other bytes h](j8)}(h``crc``h]j>)}(hjh]hcrc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hchecksum of the other bytesh]hchecksum of the other bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhj.ubj2)}(h1``id`` along with family is the unique device id h](j8)}(h``id``h]j>)}(hj#h]hid}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj!ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h)along with family is the unique device idh]h)along with family is the unique device id}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hj8hKhj.ubj2)}(h(``family`` identifies the type of deviceh](j8)}(h ``family``h]j>)}(hj\h]hfamily}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjZubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjVubjT)}(hhh]h)}(hidentifies the type of deviceh]hidentifies the type of device}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjrubah}(h]h ]h"]h$]h&]uh1jShjVubeh}(h]h ]h"]h$]h&]uh1j1hjqhKhj.ubeh}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_slave (C struct) c.w1_slavehNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(hw1_slaveh]jZ)}(hstruct w1_slaveh](j`)}(hjch]hstruct}(hjhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjhhhjhKubj)}(hw1_slaveh]j)}(hjh]hw1_slave}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jShjhKhjhhubj)}(hhh]h)}(h&holds a single slave device on the bush]h&holds a single slave device on the bus}(hjhhhNhNubah}(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&]uh1jhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1jNhhhjhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(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; };}hj5sbah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK7hjubh)}(h **Members**h]j)}(hjFh]hMembers}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKFhjubj-)}(hhh](j2)}(h7``owner`` Points to the one wire "wire" kernel module. h](j8)}(h ``owner``h]j>)}(hjeh]howner}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjcubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK4hj_ubjT)}(hhh]h)}(h,Points to the one wire "wire" kernel module.h]h0Points to the one wire “wire” kernel module.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhK4hj{ubah}(h]h ]h"]h$]h&]uh1jShj_ubeh}(h]h ]h"]h$]h&]uh1j1hjzhK4hj\ubj2)}(h``name`` Device id is ascii. h](j8)}(h``name``h]j>)}(hjh]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK5hjubjT)}(hhh]h)}(hDevice id is ascii.h]hDevice id is ascii.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK5hjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhK5hj\ubj2)}(h,``w1_slave_entry`` data for the linked list h](j8)}(h``w1_slave_entry``h]j>)}(hjh]hw1_slave_entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK6hjubjT)}(hhh]h)}(hdata for the linked listh]hdata for the linked list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK6hjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhK6hj\ubj2)}(h#``reg_num`` the slave id in binary h](j8)}(h ``reg_num``h]j>)}(hjh]hreg_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK7hj ubjT)}(hhh]h)}(hthe slave id in binaryh]hthe slave id in binary}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hK7hj&ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj%hK7hj\ubj2)}(h*``refcnt`` reference count, delete when 0 h](j8)}(h ``refcnt``h]j>)}(hjIh]hrefcnt}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjGubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK8hjCubjT)}(hhh]h)}(hreference count, delete when 0h]hreference count, delete when 0}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hK8hj_ubah}(h]h ]h"]h$]h&]uh1jShjCubeh}(h]h ]h"]h$]h&]uh1j1hj^hK8hj\ubj2)}(hA``ttl`` decrement per search this slave isn't found, deatch at 0 h](j8)}(h``ttl``h]j>)}(hjh]httl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK:hj|ubjT)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK:hjubah}(h]h ]h"]h$]h&]uh1jShj|ubeh}(h]h ]h"]h$]h&]uh1j1hjhK:hj\ubj2)}(h8``flags`` bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACH h](j8)}(h ``flags``h]j>)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK9hjubjT)}(hhh]h)}(h-bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACHh]h-bit flags for W1_SLAVE_ACTIVE W1_SLAVE_DETACH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK9hjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhK9hj\ubj2)}(h&``master`` bus which this slave is on h](j8)}(h ``master``h]j>)}(hjh]hmaster}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK;hjubjT)}(hhh]h)}(hbus which this slave is onh]hbus which this slave is on}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hK;hj ubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hj hK;hj\ubj2)}(h)``family`` module for device family type h](j8)}(h ``family``h]j>)}(hj-h]hfamily}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj+ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK)}(hjfh]h family_data}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjdubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK=hj`ubjT)}(hhh]h)}(h$pointer for use by the family moduleh]h$pointer for use by the family module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hK=hj|ubah}(h]h ]h"]h$]h&]uh1jShj`ubeh}(h]h ]h"]h$]h&]uh1j1hj{hK=hj\ubj2)}(h!``dev`` kernel device identifier h](j8)}(h``dev``h]j>)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK>hjubjT)}(hhh]h)}(hkernel device identifierh]hkernel device identifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK>hjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhK>hj\ubj2)}(h!``hwmon`` pointer to hwmon deviceh](j8)}(h ``hwmon``h]j>)}(hjh]hhwmon}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK>hjubjT)}(hhh]h)}(hpointer to hwmon deviceh]hpointer to hwmon device}(hjhhhNhNubah}(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&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhK>hj\ubeh}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_bus_master (C struct)c.w1_bus_masterhNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(h w1_bus_masterh]jZ)}(hstruct w1_bus_masterh](j`)}(hjch]hstruct}(hj2hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj.hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKEubjr)}(h h]h }(hj@hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj.hhhj?hKEubj)}(h w1_bus_masterh]j)}(hj,h]h w1_bus_master}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubah}(h]h ](jjeh"]h$]h&]jjuh1jhj.hhhj?hKEubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj*hhhj?hKEubah}(h]j%ah ](jjeh"]h$]h&]jj)jhuh1jShj?hKEhj'hhubj)}(hhh]h)}(h$operations available on a bus masterh]h$operations available on a bus master}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKThjqhhubah}(h]h ]h"]h$]h&]uh1jhj'hhhj?hKEubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1jNhhhjhNhNubj)}(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 byte. 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 handle 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKXhjubj)}(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; };}hjsbah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKZhjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(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.hhKjhjubj-)}(hhh](j2)}(h8``data`` the first parameter in all the functions below h](j8)}(h``data``h]j>)}(hjh]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKWhjubjT)}(hhh]h)}(h.the first parameter in all the functions belowh]h.the first parameter in all the functions below}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKWhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKWhjubj2)}(hF``read_bit`` Sample the line level **return** the level read (0 or 1) h](j8)}(h ``read_bit``h]j>)}(hjh]hread_bit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKZhjubjT)}(hhh]h)}(h8Sample the line level **return** the level read (0 or 1)h](hSample the line level }(hj3hhhNhNubj)}(h **return**h]hreturn}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh the level read (0 or 1)}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKYhj0ubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hj/hKZhjubj2)}(h"``write_bit`` Sets the line level h](j8)}(h ``write_bit``h]j>)}(hjfh]h write_bit}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjdubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK\hj`ubjT)}(hhh]h)}(hSets the line levelh]hSets the line level}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hK\hj|ubah}(h]h ]h"]h$]h&]uh1jShj`ubeh}(h]h ]h"]h$]h&]uh1j1hj{hK\hjubj2)}(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](j8)}(h ``touch_bit``h]j>)}(hjh]h touch_bit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKbhjubjT)}(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 }(hjhhhNhNubj)}(h **return**h]hreturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKbhjubj2)}(hS``read_byte`` Reads a byte. Same as 8 touch_bit(1) calls. **return** the byte read h](j8)}(h ``read_byte``h]j>)}(hjh]h read_byte}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKehjubjT)}(hhh]h)}(hDReads a byte. Same as 8 touch_bit(1) calls. **return** the byte readh](h,Reads a byte. Same as 8 touch_bit(1) calls. }(hj hhhNhNubj)}(h **return**h]hreturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh the byte read}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKdhj ubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hj hKehjubj2)}(h<``write_byte`` Writes a byte. Same as 8 touch_bit(x) calls. h](j8)}(h``write_byte``h]j>)}(hj7 h]h write_byte}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj5 ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKghj1 ubjT)}(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.}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL hKghjM ubah}(h]h ]h"]h$]h&]uh1jShj1 ubeh}(h]h ]h"]h$]h&]uh1j1hjL hKghjubj2)}(hY``read_block`` Same as a series of read_byte() calls **return** the number of bytes read h](j8)}(h``read_block``h]j>)}(hjp h]h read_block}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjn ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKjhjj ubjT)}(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 }(hj hhhNhNubj)}(h **return**h]hreturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh the number of bytes read}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKihj ubah}(h]h ]h"]h$]h&]uh1jShjj ubeh}(h]h ]h"]h$]h&]uh1j1hj hKjhjubj2)}(h7``write_block`` Same as a series of write_byte() calls h](j8)}(h``write_block``h]j>)}(hj h]h write_block}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKlhj ubjT)}(hhh]h)}(h&Same as a series of write_byte() callsh]h&Same as a series of write_byte() calls}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKlhj ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj hKlhjubj2)}(hq``triplet`` Combines two reads and a smart write for ROM searches **return** bit0=Id bit1=comp_id bit2=dir_taken h](j8)}(h ``triplet``h]j>)}(hj h]htriplet}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKohj ubjT)}(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 }(hj hhhNhNubj)}(h **return**h]hreturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh$ bit0=Id bit1=comp_id bit2=dir_taken}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKnhj ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj hKohjubj2)}(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](j8)}(h ``reset_bus``h]j>)}(hjA h]h reset_bus}(hjC hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj? ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKrhj; ubjT)}(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 }(hjZ hhhNhNubj)}(h **return**h]hreturn}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ ubh0 -1=Error, 0=Device present, 1=No device present}(hjZ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKqhjW ubah}(h]h ]h"]h$]h&]uh1jShj; ubeh}(h]h ]h"]h$]h&]uh1j1hjV hKrhjubj2)}(hj``set_pullup`` Put out a strong pull-up pulse of the specified duration. **return** -1=Error, 0=completed h](j8)}(h``set_pullup``h]j>)}(hj h]h set_pullup}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKuhj ubjT)}(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. }(hj hhhNhNubj)}(h **return**h]hreturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh -1=Error, 0=completed}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKthj ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj hKuhjubj2)}(h``search`` Really nice hardware can handle 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](j8)}(h ``search``h]j>)}(hj h]hsearch}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKyhj ubjT)}(hhh]h)}(hReally nice hardware can handle 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 handle 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 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKwhj ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj hKyhjubj2)}(h``dev_id`` Optional device id string, which w1 slaves could use for creating names, which then give a connection to the w1 masterh](j8)}(h ``dev_id``h]j>)}(hj h]hdev_id}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK{hj ubjT)}(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, hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj( hK{hj) ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj( hK{hjubeh}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(h**Note**h]j)}(hjU h]hNote}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjhhubh)}(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.}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhK}hjhhubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_master_flags (C enum)c.w1_master_flagshNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(hw1_master_flagsh]jZ)}(henum w1_master_flagsh](j`)}(henumh]henum}(hj hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKubjr)}(h h]h }(hj hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj hhhj hKubj)}(hw1_master_flagsh]j)}(hj h]hw1_master_flags}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhj hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj hhhj hKubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jShj hKhj hhubj)}(hhh]h)}(h!bitfields used in w1_master.flagsh]h!bitfields used in w1_master.flags}(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 jjjuh1jNhhhjhNhNubj)}(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}(hj 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](j2)}(h6``W1_ABORT_SEARCH`` abort searching early on shutdown h](j8)}(h``W1_ABORT_SEARCH``h]j>)}(hj h]hW1_ABORT_SEARCH}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubjT)}(hhh]h)}(h!abort searching early on shutdownh]h!abort searching early on shutdown}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj, hKhj- ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj, hKhj ubj2)}(hE``W1_WARN_MAX_COUNT`` limit warning when the maximum count is reachedh](j8)}(h``W1_WARN_MAX_COUNT``h]j>)}(hjP h]hW1_WARN_MAX_COUNT}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjN ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjJ ubjT)}(hhh]h)}(h/limit warning when the maximum count is reachedh]h/limit warning when the maximum count is reached}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjf ubah}(h]h ]h"]h$]h&]uh1jShjJ ubeh}(h]h ]h"]h$]h&]uh1j1hje hKhj ubeh}(h]h ]h"]h$]h&]uh1j,hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_master (C struct) c.w1_masterhNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(h w1_masterh]jZ)}(hstruct w1_masterh](j`)}(hjch]hstruct}(hj hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKubjr)}(h h]h }(hj hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj hhhj hKubj)}(h w1_masterh]j)}(hj h]h w1_master}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhj hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj hhhj hKubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jShj hKhj hhubj)}(hhh]h)}(hone per bus masterh]hone per bus master}(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 jjjuh1jNhhhjhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh:}(hj 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; };}hj) sbah}(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)}(hj: h]hMembers}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8 ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubj-)}(hhh](j2)}(h'``w1_master_entry`` master linked list h](j8)}(h``w1_master_entry``h]j>)}(hjY h]hw1_master_entry}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjW ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjS ubjT)}(hhh]h)}(hmaster linked listh]hmaster linked list}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn hKhjo ubah}(h]h ]h"]h$]h&]uh1jShjS ubeh}(h]h ]h"]h$]h&]uh1j1hjn hKhjP ubj2)}(h``owner`` module owner h](j8)}(h ``owner``h]j>)}(hj h]howner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubjT)}(hhh]h)}(h module ownerh]h module owner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj hKhjP ubj2)}(h'``name`` dynamically allocate bus name h](j8)}(h``name``h]j>)}(hj h]hname}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubjT)}(hhh]h)}(hdynamically allocate bus nameh]hdynamically allocate bus name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj hKhjP ubj2)}(h,``list_mutex`` protect slist and async_list h](j8)}(h``list_mutex``h]j>)}(hjh]h list_mutex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj ubjT)}(hhh]h)}(hprotect slist and async_listh]hprotect slist and async_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h ``slist`` linked list of slaves h](j8)}(h ``slist``h]j>)}(hj=h]hslist}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj;ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj7ubjT)}(hhh]h)}(hlinked list of slavesh]hlinked list of slaves}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jShj7ubeh}(h]h ]h"]h$]h&]uh1j1hjRhKhjP ubj2)}(h:``async_list`` linked list of netlink commands to execute h](j8)}(h``async_list``h]j>)}(hjvh]h async_list}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjtubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjpubjT)}(hhh]h)}(h*linked list of netlink commands to executeh]h*linked list of netlink commands to execute}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjpubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(hE``max_slave_count`` maximum number of slaves to search for at a time h](j8)}(h``max_slave_count``h]j>)}(hjh]hmax_slave_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h0maximum number of slaves to search for at a timeh]h0maximum number of slaves to search for at a time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h/``slave_count`` current number of slaves known h](j8)}(h``slave_count``h]j>)}(hjh]h slave_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hcurrent number of slaves knownh]hcurrent number of slaves known}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h$``attempts`` number of searches ran h](j8)}(h ``attempts``h]j>)}(hj!h]hattempts}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hnumber of searches ranh]hnumber of searches ran}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hKhj7ubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hj6hKhjP ubj2)}(h=``slave_ttl`` number of searches before a slave is timed out h](j8)}(h ``slave_ttl``h]j>)}(hjZh]h slave_ttl}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjXubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjTubjT)}(hhh]h)}(h.number of searches before a slave is timed outh]h.number of searches before a slave is timed out}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohKhjpubah}(h]h ]h"]h$]h&]uh1jShjTubeh}(h]h ]h"]h$]h&]uh1j1hjohKhjP ubj2)}(h5``initialized`` prevent init/removal race conditions h](j8)}(h``initialized``h]j>)}(hjh]h initialized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h$prevent init/removal race conditionsh]h$prevent init/removal race conditions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h``id`` w1 bus number h](j8)}(h``id``h]j>)}(hjh]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h w1 bus numberh]h w1 bus number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(hC``search_count`` number of automatic searches to run, -1 unlimited h](j8)}(h``search_count``h]j>)}(hjh]h search_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h1number of automatic searches to run, -1 unlimitedh]h1number of automatic searches to run, -1 unlimited}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h)``search_id`` allows continuing a search h](j8)}(h ``search_id``h]j>)}(hj>h]h search_id}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj<ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj8ubjT)}(hhh]h)}(hallows continuing a searchh]hallows continuing a search}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShKhjTubah}(h]h ]h"]h$]h&]uh1jShj8ubeh}(h]h ]h"]h$]h&]uh1j1hjShKhjP ubj2)}(h``refcnt`` reference count h](j8)}(h ``refcnt``h]j>)}(hjwh]hrefcnt}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjuubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjqubjT)}(hhh]h)}(hreference counth]hreference count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjqubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h``priv`` private data storage h](j8)}(h``priv``h]j>)}(hjh]hpriv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hprivate data storageh]hprivate data storage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h)``enable_pullup`` allows a strong pullup h](j8)}(h``enable_pullup``h]j>)}(hjh]h enable_pullup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hallows a strong pulluph]hallows a strong pullup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h4``pullup_duration`` time for the next strong pullup h](j8)}(h``pullup_duration``h]j>)}(hj"h]hpullup_duration}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(htime for the next strong pulluph]htime for the next strong pullup}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hj7hKhjP ubj2)}(h!``flags`` one of w1_master_flags h](j8)}(h ``flags``h]j>)}(hj[h]hflags}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjYubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjUubjT)}(hhh]h)}(hone of w1_master_flagsh]hone of w1_master_flags}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphKhjqubah}(h]h ]h"]h$]h&]uh1jShjUubeh}(h]h ]h"]h$]h&]uh1j1hjphKhjP ubj2)}(h6``thread`` thread for bus search and netlink commands h](j8)}(h ``thread``h]j>)}(hjh]hthread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h*thread for bus search and netlink commandsh]h*thread for bus search and netlink commands}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h$``mutex`` protect most of w1_master h](j8)}(h ``mutex``h]j>)}(hjh]hmutex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hprotect most of w1_masterh]hprotect most of w1_master}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h,``bus_mutex`` pretect concurrent bus access h](j8)}(h ``bus_mutex``h]j>)}(hjh]h bus_mutex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hpretect concurrent bus accessh]hpretect concurrent bus access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h``driver`` sysfs driver h](j8)}(h ``driver``h]j>)}(hj?h]hdriver}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj=ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj9ubjT)}(hhh]h)}(h sysfs driverh]h sysfs driver}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThKhjUubah}(h]h ]h"]h$]h&]uh1jShj9ubeh}(h]h ]h"]h$]h&]uh1j1hjThKhjP ubj2)}(h``dev`` sysfs device h](j8)}(h``dev``h]j>)}(hjxh]hdev}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjvubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjrubjT)}(hhh]h)}(h sysfs deviceh]h sysfs device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjrubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h'``bus_master`` io operations available h](j8)}(h``bus_master``h]j>)}(hjh]h bus_master}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(hio operations availableh]hio operations available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubj2)}(h3``seq`` sequence number used for netlink broadcastsh](j8)}(h``seq``h]j>)}(hjh]hseq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h+sequence number used for netlink broadcastsh]h+sequence number used for netlink broadcasts}(hjhhhNhNubah}(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&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjP ubeh}(h]h ]h"]h$]h&]uh1j,hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_family_ops (C struct)c.w1_family_opshNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(h w1_family_opsh]jZ)}(hstruct w1_family_opsh](j`)}(hjch]hstruct}(hjDhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj@hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKubjr)}(h h]h }(hjRhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj@hhhjQhKubj)}(h w1_family_opsh]j)}(hj>h]h w1_family_ops}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj@hhhjQhKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj<hhhjQhKubah}(h]j7ah ](jjeh"]h$]h&]jj)jhuh1jShjQhKhj9hhubj)}(hhh]h)}(hoperations for a family typeh]hoperations for a family type}(hjhhhNhNubah}(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&]uh1jhj9hhhjQhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1jNhhhjhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(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; };}hjsbah}(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}(hjhhhNhNubah}(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](j2)}(h``add_slave`` add_slave h](j8)}(h ``add_slave``h]j>)}(hjh]h add_slave}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h add_slaveh]h add_slave}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhj ubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjubj2)}(h``remove_slave`` remove_slave h](j8)}(h``remove_slave``h]j>)}(hj,h]h remove_slave}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj*ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj&ubjT)}(hhh]h)}(h remove_slaveh]h remove_slave}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhKhjBubah}(h]h ]h"]h$]h&]uh1jShj&ubeh}(h]h ]h"]h$]h&]uh1j1hjAhKhjubj2)}(h``groups`` sysfs group h](j8)}(h ``groups``h]j>)}(hjeh]hgroups}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjcubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhj_ubjT)}(hhh]h)}(h sysfs grouph]h sysfs group}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhKhj{ubah}(h]h ]h"]h$]h&]uh1jShj_ubeh}(h]h ]h"]h$]h&]uh1j1hjzhKhjubj2)}(h/``chip_info`` pointer to struct hwmon_chip_infoh](j8)}(h ``chip_info``h]j>)}(hjh]h chip_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhKhjubjT)}(hhh]h)}(h!pointer to struct hwmon_chip_infoh]h!pointer to struct hwmon_chip_info}(hjhhhNhNubah}(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&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjubeh}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_family (C struct) c.w1_familyhNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(h w1_familyh]jZ)}(hstruct w1_familyh](j`)}(hjch]hstruct}(hjhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjhhhjhMubj)}(h w1_familyh]j)}(hjh]h w1_family}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jShjhMhjhhubj)}(hhh]h)}(h#reference counted family structure.h]h#reference counted family structure.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhj7hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjRjjRjjjuh1jNhhhjhNhNubj)}(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}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh:}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjVubj)}(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; };}hjwsbah}(h]h ]h"]h$]h&]jjuh1jhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjVubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(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.hhMhjVubj-)}(hhh](j2)}(h$``family_entry`` family linked list h](j8)}(h``family_entry``h]j>)}(hjh]h family_entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjubjT)}(hhh]h)}(hfamily linked listh]hfamily linked list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhMhjubj2)}(h ``fid`` 8 bit family identifier h](j8)}(h``fid``h]j>)}(hjh]hfid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjubjT)}(hhh]h)}(h8 bit family identifierh]h8 bit family identifier}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhM hjubj2)}(h$``fops`` operations for this family h](j8)}(h``fops``h]j>)}(hjh]hfops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjubjT)}(hhh]h)}(hoperations for this familyh]hoperations for this family}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hM hj/ubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hj.hM hjubj2)}(h-``of_match_table`` open firmware match table h](j8)}(h``of_match_table``h]j>)}(hjRh]hof_match_table}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjPubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjLubjT)}(hhh]h)}(hopen firmware match tableh]hopen firmware match table}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghM hjhubah}(h]h ]h"]h$]h&]uh1jShjLubeh}(h]h ]h"]h$]h&]uh1j1hjghM hjubj2)}(h``refcnt`` reference counterh](j8)}(h ``refcnt``h]j>)}(hjh]hrefcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjubjT)}(hhh]h)}(hreference counterh]hreference counter}(hjhhhNhNubah}(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&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhM hjubeh}(h]h ]h"]h$]h&]uh1j,hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJmodule_w1_family (C macro)c.module_w1_familyhNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(hmodule_w1_familyh]jZ)}(hmodule_w1_familyh]j)}(hmodule_w1_familyh]j)}(hjh]hmodule_w1_family}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMubah}(h]h ]h"]h$]h&]jjjuh1jYjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jShjhMhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjjjuh1jNhhhjhNhNubh)}(h"``module_w1_family (__w1_family)``h]j>)}(hjh]hmodule_w1_family (__w1_family)}(hjhhhNhNubah}(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.hhMhjhhubh block_quote)}(h/Helper macro for registering a 1-Wire families h]h)}(h.Helper macro for registering a 1-Wire familiesh]h.Helper macro for registering a 1-Wire families}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhj3ubah}(h]h ]h"]h$]h&]uh1j1hjEhMhjhhubj)}(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)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhM hjLubj-)}(hhh]j2)}(h!``__w1_family`` w1_family struct h](j8)}(h``__w1_family``h]j>)}(hjqh]h __w1_family}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjoubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjkubjT)}(hhh]h)}(hw1_family structh]hw1_family struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jShjkubeh}(h]h ]h"]h$]h&]uh1j1hjhMhjhubah}(h]h ]h"]h$]h&]uh1j,hjLubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(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.hhMhjLubh)}(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()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:15: ./include/linux/w1.hhMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]include-linux-w1-hah ]h"]include/linux/w1.hah$]h&]uh1hhj hhhhhK ubh)}(hhh](h)}(hdrivers/w1/w1.ch]hdrivers/w1/w1.c}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hW1 core functions.h]hW1 core functions.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_search (C function) c.w1_searchhNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(hRvoid w1_search (struct w1_master *dev, u8 search_type, w1_slave_found_callback cb)h]jZ)}(hQvoid w1_search(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb)h](hdesc_sig_keyword_type)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]ktah"]h$]h&]uh1jhjhhhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMubjr)}(h h]h }(hj*hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjhhhj)hMubj)}(h w1_searchh]j)}(h w1_searchh]h w1_search}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj)hMubhdesc_parameterlist)}(hC(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb)h](hdesc_parameter)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hj\hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjXubjr)}(h h]h }(hjihhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjXubh)}(hhh]j)}(h w1_masterh]h w1_master}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetj|modnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}jj>sb c.w1_searchasbuh1hhjXubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjXubhdesc_sig_punctuation)}(h*h]h*}(hjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhjXubj)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjRubjW)}(hu8 search_typeh](h)}(hhh]j)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.w1_searchasbuh1hhjubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubj)}(h search_typeh]h search_type}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjRubjW)}(hw1_slave_found_callback cbh](h)}(hhh]j)}(hw1_slave_found_callbackh]hw1_slave_found_callback}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]j c.w1_searchasbuh1hhjubjr)}(h h]h }(hjChhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubj)}(hcbh]hcb}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjRubeh}(h]h ]h"]h$]h&]jjuh1jPhjhhhj)hMubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjhhhj)hMubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jShj)hMhj hhubj)}(hhh]h)}(h4Performs a ROM Search & registers any devices found.h]h4Performs a ROM Search & registers any devices found.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jhj hhhj)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jNhhhjhNhNubj)}(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}(hjhhhNhNubah}(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](j2)}(h6``struct w1_master *dev`` The master device to search h](j8)}(h``struct w1_master *dev``h]j>)}(hjh]hstruct w1_master *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjubjT)}(hhh]h)}(hThe master device to searchh]hThe master device to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhMhjubj2)}(hs``u8 search_type`` W1_SEARCH to search all devices, or W1_ALARM_SEARCH to return only devices in the alarmed state h](j8)}(h``u8 search_type``h]j>)}(hjh]hu8 search_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhjubjT)}(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}(hjhhhNhNubah}(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&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hj hMhjubj2)}(hG``w1_slave_found_callback cb`` Function to call when a device is found h](j8)}(h``w1_slave_found_callback cb``h]j>)}(hj/h]hw1_slave_found_callback cb}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj-ubah}(h]h ]h"]h$]h&]uh1j7hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMhj)ubjT)}(hhh]h)}(h'Function to call when a device is foundh]h'Function to call when a device is found}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jShj)ubeh}(h]h ]h"]h$]h&]uh1j1hjDhMhjubeh}(h]h ]h"]h$]h&]uh1j,hjubh)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(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.}(hjhhhNhNubah}(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}(hjhhhNhNubah}(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](jJ!w1_process_callbacks (C function)c.w1_process_callbackshNtauh1j=hjhhhNhNubjO)}(hhh](jT)}(h0int w1_process_callbacks (struct w1_master *dev)h]jZ)}(h/int w1_process_callbacks(struct w1_master *dev)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjhhhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chM^ubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjhhhjhM^ubj)}(hw1_process_callbacksh]j)}(hw1_process_callbacksh]hw1_process_callbacks}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM^ubjQ)}(h(struct w1_master *dev)h]jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hjhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubh)}(hhh]j)}(h w1_masterh]h w1_master}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.w1_process_callbacksasbuh1hhjubjr)}(h h]h }(hj9hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hdevh]hdev}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjubah}(h]h ]h"]h$]h&]jjuh1jPhjhhhjhM^ubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjhhhjhM^ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jShjhM^hjhhubj)}(hhh]h)}(h+execute each dev->async_list callback entryh]h+execute each dev->async_list callback entry}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chM^hj{hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM^ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jNhhhjhNhNubj)}(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}(hjhhhNhNubah}(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.chMbhjubj-)}(hhh]j2)}(h+``struct w1_master *dev`` w1_master device h](j8)}(h``struct w1_master *dev``h]j>)}(hjh]hstruct w1_master *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chM_hjubjT)}(hhh]h)}(hw1_master deviceh]hw1_master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM_hjubah}(h]h ]h"]h$]h&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhM_hjubah}(h]h ]h"]h$]h&]uh1j,hjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(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.chMahjubh)}(h&The w1 master list_mutex must be held.h]h&The w1 master list_mutex must be held.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chM`hjubh)}(h **Return**h]j)}(hj!h]hReturn}(hj#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.chMbhjubh)}(h01 if there were commands to executed 0 otherwiseh]h01 if there were commands to executed 0 otherwise}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhM/var/lib/git/docbuild/linux/Documentation/driver-api/w1:23: ./drivers/w1/w1.chMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]drivers-w1-w1-cah ]h"]drivers/w1/w1.cah$]h&]uh1hhj hhhhhKubh)}(hhh](h)}(hdrivers/w1/w1_family.ch]hdrivers/w1/w1_family.c}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhhhhhKubh)}(h,Allows registering device family operations.h]h,Allows registering device family operations.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjUhhubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_register_family (C function)c.w1_register_familyhNtauh1j=hjUhhhNhNubjO)}(hhh](jT)}(h/int w1_register_family (struct w1_family *newf)h]jZ)}(h.int w1_register_family(struct w1_family *newf)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chKubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjhhhjhKubj)}(hw1_register_familyh]j)}(hw1_register_familyh]hw1_register_family}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubjQ)}(h(struct w1_family *newf)h]jW)}(hstruct w1_family *newfh](j`)}(hjch]hstruct}(hjhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubh)}(hhh]j)}(h w1_familyh]h w1_family}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.w1_register_familyasbuh1hhjubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hnewfh]hnewf}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjubah}(h]h ]h"]h$]h&]jjuh1jPhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jShjhKhjhhubj)}(hhh]h)}(hregister a device family driverh]hregister a device family driver}(hjMhhhNhNubah}(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&]jjjjejjejjjuh1jNhhhjUhNhNubj)}(h?**Parameters** ``struct w1_family *newf`` family to registerh](h)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjqhhhNhNubah}(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]j2)}(h-``struct w1_family *newf`` family to registerh](j8)}(h``struct w1_family *newf``h]j>)}(hjh]hstruct w1_family *newf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chKhjubjT)}(hhh]h)}(hfamily to registerh]hfamily to register}(hjhhhNhNubah}(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&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhKhjubah}(h]h ]h"]h$]h&]uh1j,hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJ!w1_unregister_family (C function)c.w1_unregister_familyhNtauh1j=hjUhhhNhNubjO)}(hhh](jT)}(h2void w1_unregister_family (struct w1_family *fent)h]jZ)}(h1void w1_unregister_family(struct w1_family *fent)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chK3ubjr)}(h h]h }(hjhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjhhhjhK3ubj)}(hw1_unregister_familyh]j)}(hw1_unregister_familyh]hw1_unregister_family}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhK3ubjQ)}(h(struct w1_family *fent)h]jW)}(hstruct w1_family *fenth](j`)}(hjch]hstruct}(hj%hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj!ubjr)}(h h]h }(hj2hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj!ubh)}(hhh]j)}(h w1_familyh]h w1_family}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}jj sbc.w1_unregister_familyasbuh1hhj!ubjr)}(h h]h }(hjchhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj!ubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj)}(hfenth]hfent}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjubah}(h]h ]h"]h$]h&]jjuh1jPhjhhhjhK3ubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjhhhjhK3ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jShjhK3hjhhubj)}(hhh]h)}(h!unregister a device family driverh]h!unregister a device family driver}(hjhhhNhNubah}(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&]uh1jhjhhhjhK3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jNhhhjUhNhNubj)}(hA**Parameters** ``struct w1_family *fent`` family to unregisterh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(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]j2)}(h/``struct w1_family *fent`` family to unregisterh](j8)}(h``struct w1_family *fent``h]j>)}(hjh]hstruct w1_family *fent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjubah}(h]h ]h"]h$]h&]uh1j7hT/var/lib/git/docbuild/linux/Documentation/driver-api/w1:31: ./drivers/w1/w1_family.chK9hjubjT)}(hhh]h)}(hfamily to unregisterh]hfamily to unregister}(hjhhhNhNubah}(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&]uh1jShjubeh}(h]h ]h"]h$]h&]uh1j1hjhK9hjubah}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjUhhhNhNubeh}(h]drivers-w1-w1-family-cah ]h"]drivers/w1/w1_family.cah$]h&]uh1hhj hhhhhKubh)}(hhh](h)}(hdrivers/w1/w1_internal.hh]hdrivers/w1/w1_internal.h}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hhhhhK#ubh)}(h.W1 internal initialization for master devices.h]h.W1 internal initialization for master devices.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hj2hhubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_async_cmd (C struct)c.w1_async_cmdhNtauh1j=hj2hhhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhNubjO)}(hhh](jT)}(h w1_async_cmdh]jZ)}(hstruct w1_async_cmdh](j`)}(hjch]hstruct}(hjkhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjghhhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKubjr)}(h h]h }(hjyhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjghhhjxhKubj)}(h w1_async_cmdh]j)}(hjeh]h w1_async_cmd}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjghhhjxhKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjchhhjxhKubah}(h]j]ah ](jjeh"]h$]h&]jj)jhuh1jShjxhKhj`hhubj)}(hhh]h)}(h,execute callback from the w1_process kthreadh]h,execute callback from the w1_process kthread}(hjhhhNhNubah}(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&]uh1jhj`hhhjxhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1jNhhhj2hj_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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(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); };}hjsbah}(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}(hjhhhNhNubah}(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](j2)}(h``async_entry`` link entry h](j8)}(h``async_entry``h]j>)}(hj h]h async_entry}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj ubah}(h]h ]h"]h$]h&]uh1j7hV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhj ubjT)}(hhh]h)}(h link entryh]h link entry}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ hKhj0 ubah}(h]h ]h"]h$]h&]uh1jShj ubeh}(h]h ]h"]h$]h&]uh1j1hj/ hKhj ubj2)}(hN``cb`` callback function, must list_del and destroy this list before returningh](j8)}(h``cb``h]j>)}(hjS h]hcb}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjQ ubah}(h]h ]h"]h$]h&]uh1j7hV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhjM ubjT)}(hhh]h)}(hGcallback function, must list_del and destroy this list before returningh]hGcallback function, must list_del and destroy this list before returning}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh hKhji ubah}(h]h ]h"]h$]h&]uh1jShjM ubeh}(h]h ]h"]h$]h&]uh1j1hjh hKhj ubeh}(h]h ]h"]h$]h&]uh1j,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj2hhhj_hNubh)}(h**Description**h]j)}(hj h]h Description}(hj 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.hhKhj2hhubh)}(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 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/driver-api/w1:39: ./drivers/w1/w1_internal.hhKhj2hhubeh}(h]drivers-w1-w1-internal-hah ]h"]drivers/w1/w1_internal.hah$]h&]uh1hhj hhhhhK#ubh)}(hhh](h)}(hdrivers/w1/w1_int.ch]hdrivers/w1/w1_int.c}(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 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hj hhubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJ!w1_add_master_device (C function)c.w1_add_master_devicehNtauh1j=hj hhhNhNubjO)}(hhh](jT)}(h7int w1_add_master_device (struct w1_bus_master *master)h]jZ)}(h6int w1_add_master_device(struct w1_bus_master *master)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKUubjr)}(h h]h }(hj !hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj hhhj!hKUubj)}(hw1_add_master_deviceh]j)}(hw1_add_master_deviceh]hw1_add_master_device}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhj!hKUubjQ)}(h(struct w1_bus_master *master)h]jW)}(hstruct w1_bus_master *masterh](j`)}(hjch]hstruct}(hj7!hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj3!ubjr)}(h h]h }(hjD!hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj3!ubh)}(hhh]j)}(h w1_bus_masterh]h w1_bus_master}(hjU!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW!modnameN classnameNjj)}j]j)}jj!sbc.w1_add_master_deviceasbuh1hhj3!ubjr)}(h h]h }(hju!hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj3!ubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3!ubj)}(hmasterh]hmaster}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj/!ubah}(h]h ]h"]h$]h&]jjuh1jPhj hhhj!hKUubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj hhhj!hKUubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jShj!hKUhj hhubj)}(hhh]h)}(hregisters a new master deviceh]hregisters a new master device}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKUhj!hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj!hKUubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1jNhhhj hNhNubj)}(hP**Parameters** ``struct w1_bus_master *master`` master bus device to registerh](h)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!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.chKYhj!ubj-)}(hhh]j2)}(h>``struct w1_bus_master *master`` master bus device to registerh](j8)}(h ``struct w1_bus_master *master``h]j>)}(hj!h]hstruct w1_bus_master *master}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj!ubah}(h]h ]h"]h$]h&]uh1j7hQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chK[hj!ubjT)}(hhh]h)}(hmaster bus device to registerh]hmaster bus device to register}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKVhj"ubah}(h]h ]h"]h$]h&]uh1jShj!ubeh}(h]h ]h"]h$]h&]uh1j1hj"hK[hj!ubah}(h]h ]h"]h$]h&]uh1j,hj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJ$w1_remove_master_device (C function)c.w1_remove_master_devicehNtauh1j=hj hhhNhNubjO)}(hhh](jT)}(h7void w1_remove_master_device (struct w1_bus_master *bm)h]jZ)}(h6void w1_remove_master_device(struct w1_bus_master *bm)h](j)}(hvoidh]hvoid}(hjU"hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjQ"hhhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKubjr)}(h h]h }(hjd"hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjQ"hhhjc"hKubj)}(hw1_remove_master_deviceh]j)}(hw1_remove_master_deviceh]hw1_remove_master_device}(hjv"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjr"ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjQ"hhhjc"hKubjQ)}(h(struct w1_bus_master *bm)h]jW)}(hstruct w1_bus_master *bmh](j`)}(hjch]hstruct}(hj"hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj"ubjr)}(h h]h }(hj"hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj"ubh)}(hhh]j)}(h w1_bus_masterh]h w1_bus_master}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj)}j]j)}jjx"sbc.w1_remove_master_deviceasbuh1hhj"ubjr)}(h h]h }(hj"hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj"ubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj)}(hbmh]hbm}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj"ubah}(h]h ]h"]h$]h&]jjuh1jPhjQ"hhhjc"hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjM"hhhjc"hKubah}(h]jH"ah ](jjeh"]h$]h&]jj)jhuh1jShjc"hKhjJ"hhubj)}(hhh]h)}(hunregister a master deviceh]hunregister a master device}(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&]uh1jhjJ"hhhjc"hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-#jj-#jjjuh1jNhhhj hNhNubj)}(hJ**Parameters** ``struct w1_bus_master *bm`` master bus device to removeh](h)}(h**Parameters**h]j)}(hj7#h]h Parameters}(hj9#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5#ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKhj1#ubj-)}(hhh]j2)}(h8``struct w1_bus_master *bm`` master bus device to removeh](j8)}(h``struct w1_bus_master *bm``h]j>)}(hjV#h]hstruct w1_bus_master *bm}(hjX#hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjT#ubah}(h]h ]h"]h$]h&]uh1j7hQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKhjP#ubjT)}(hhh]h)}(hmaster bus device to removeh]hmaster bus device to remove}(hjo#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/driver-api/w1:47: ./drivers/w1/w1_int.chKhjl#ubah}(h]h ]h"]h$]h&]uh1jShjP#ubeh}(h]h ]h"]h$]h&]uh1j1hjk#hKhjM#ubah}(h]h ]h"]h$]h&]uh1j,hj1#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubeh}(h]drivers-w1-w1-int-cah ]h"]drivers/w1/w1_int.cah$]h&]uh1hhj hhhhhK+ubh)}(hhh](h)}(hdrivers/w1/w1_netlink.hh]hdrivers/w1/w1_netlink.h}(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#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hj#hhubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_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.hhNubjO)}(hhh](jT)}(hw1_cn_msg_flagsh]jZ)}(henum w1_cn_msg_flagsh](j`)}(hj h]henum}(hj#hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj#hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKubjr)}(h h]h }(hj#hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj#hhhj#hKubj)}(hw1_cn_msg_flagsh]j)}(hj#h]hw1_cn_msg_flags}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj#hhhj#hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj#hhhj#hKubah}(h]j#ah ](jjeh"]h$]h&]jj)jhuh1jShj#hKhj#hhubj)}(hhh]h)}(h&bitfield flags for struct cn_msg.flagsh]h&bitfield flags for struct cn_msg.flags}(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&]jjjj2$jj2$jjjuh1jNhhhj#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)}(hj<$h]h Constants}(hj>$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.hhKhj6$ubj-)}(hhh]j2)}(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](j8)}(h``W1_CN_BUNDLE``h]j>)}(hj[$h]h W1_CN_BUNDLE}(hj]$hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjY$ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhjU$ubjT)}(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.}(hjt$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKhjq$ubah}(h]h ]h"]h$]h&]uh1jShjU$ubeh}(h]h ]h"]h$]h&]uh1j1hjp$hKhjR$ubah}(h]h ]h"]h$]h&]uh1j,hj6$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJ!w1_netlink_message_types (C enum)c.w1_netlink_message_typeshNtauh1j=hj#hhhj#hNubjO)}(hhh](jT)}(hw1_netlink_message_typesh]jZ)}(henum w1_netlink_message_typesh](j`)}(hj h]henum}(hj$hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj$hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKubjr)}(h h]h }(hj$hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj$hhhj$hKubj)}(hw1_netlink_message_typesh]j)}(hj$h]hw1_netlink_message_types}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj$hhhj$hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj$hhhj$hKubah}(h]j$ah ](jjeh"]h$]h&]jj)jhuh1jShj$hKhj$hhubj)}(hhh]h)}(h message typeh]h message type}(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%jjjuh1jNhhhj#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}(hj%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](j2)}(h<``W1_SLAVE_ADD`` notification that a slave device was added h](j8)}(h``W1_SLAVE_ADD``h]j>)}(hj8%h]h W1_SLAVE_ADD}(hj:%hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj6%ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK!hj2%ubjT)}(hhh]h)}(h*notification that a slave device was addedh]h*notification that a slave device was added}(hjQ%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjM%hK!hjN%ubah}(h]h ]h"]h$]h&]uh1jShj2%ubeh}(h]h ]h"]h$]h&]uh1j1hjM%hK!hj/%ubj2)}(hA``W1_SLAVE_REMOVE`` notification that a slave device was removed h](j8)}(h``W1_SLAVE_REMOVE``h]j>)}(hjq%h]hW1_SLAVE_REMOVE}(hjs%hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjo%ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK$hjk%ubjT)}(hhh]h)}(h,notification that a slave device was removedh]h,notification that a slave device was removed}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hK$hj%ubah}(h]h ]h"]h$]h&]uh1jShjk%ubeh}(h]h ]h"]h$]h&]uh1j1hj%hK$hj/%ubj2)}(h?``W1_MASTER_ADD`` notification that a new bus master was added h](j8)}(h``W1_MASTER_ADD``h]j>)}(hj%h]h W1_MASTER_ADD}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj%ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK'hj%ubjT)}(hhh]h)}(h,notification that a new bus master was addedh]h,notification that a new bus master was added}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hK'hj%ubah}(h]h ]h"]h$]h&]uh1jShj%ubeh}(h]h ]h"]h$]h&]uh1j1hj%hK'hj/%ubj2)}(h?``W1_MASTER_REMOVE`` notification that a bus masterwas removed h](j8)}(h``W1_MASTER_REMOVE``h]j>)}(hj%h]hW1_MASTER_REMOVE}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj%ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK*hj%ubjT)}(hhh]h)}(h)notification that a bus masterwas removedh]h)notification that a bus masterwas removed}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hK*hj%ubah}(h]h ]h"]h$]h&]uh1jShj%ubeh}(h]h ]h"]h$]h&]uh1j1hj%hK*hj/%ubj2)}(h;``W1_MASTER_CMD`` initiate operations on a specific master h](j8)}(h``W1_MASTER_CMD``h]j>)}(hj&h]h W1_MASTER_CMD}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj&ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK-hj&ubjT)}(hhh]h)}(h(initiate operations on a specific masterh]h(initiate operations on a specific master}(hj5&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1&hK-hj2&ubah}(h]h ]h"]h$]h&]uh1jShj&ubeh}(h]h ]h"]h$]h&]uh1j1hj1&hK-hj/%ubj2)}(hX``W1_SLAVE_CMD`` sends reset, selects the slave, then does a read/write/touch operation h](j8)}(h``W1_SLAVE_CMD``h]j>)}(hjU&h]h W1_SLAVE_CMD}(hjW&hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjS&ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK1hjO&ubjT)}(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}(hjn&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK0hjk&ubah}(h]h ]h"]h$]h&]uh1jShjO&ubeh}(h]h ]h"]h$]h&]uh1j1hjj&hK1hj/%ubj2)}(h@``W1_LIST_MASTERS`` used to determine the bus master identifiersh](j8)}(h``W1_LIST_MASTERS``h]j>)}(hj&h]hW1_LIST_MASTERS}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj&ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK3hj&ubjT)}(hhh]h)}(h,used to determine the bus master identifiersh]h,used to determine the bus master identifiers}(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&]uh1jShj&ubeh}(h]h ]h"]h$]h&]uh1j1hj&hK3hj/%ubeh}(h]h ]h"]h$]h&]uh1j,hj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_netlink_msg (C struct)c.w1_netlink_msghNtauh1j=hj#hhhj#hNubjO)}(hhh](jT)}(hw1_netlink_msgh]jZ)}(hstruct w1_netlink_msgh](j`)}(hjch]hstruct}(hj&hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj&hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK9ubjr)}(h h]h }(hj&hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj&hhhj&hK9ubj)}(hw1_netlink_msgh]j)}(hj&h]hw1_netlink_msg}(hj 'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj&hhhj&hK9ubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj&hhhj&hK9ubah}(h]j&ah ](jjeh"]h$]h&]jj)jhuh1jShj&hK9hj&hhubj)}(hhh]h)}(h%holds w1 message type, id, and resulth]h%holds w1 message type, id, and result}(hj+'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&hK9ubeh}(h]h ](jstructeh"]h$]h&]jjjjC'jjC'jjjuh1jNhhhj#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}(hjO'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK'ubh:}(hjK'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK4hjG'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[]; };}hjh'sbah}(h]h ]h"]h$]h&]jjuh1jhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK6hjG'ubh)}(h **Members**h]j)}(hjy'h]hMembers}(hj{'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw'ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKDhjG'ubj-)}(hhh](j2)}(h.``type`` one of enum w1_netlink_message_types h](j8)}(h``type``h]j>)}(hj'h]htype}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj'ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK3hj'ubjT)}(hhh]h)}(h$one of enum w1_netlink_message_typesh]h$one of enum w1_netlink_message_types}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hK3hj'ubah}(h]h ]h"]h$]h&]uh1jShj'ubeh}(h]h ]h"]h$]h&]uh1j1hj'hK3hj'ubj2)}(h@``status`` kernel feedback for success 0 or errno failure value h](j8)}(h ``status``h]j>)}(hj'h]hstatus}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj'ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK4hj'ubjT)}(hhh]h)}(h4kernel feedback for success 0 or errno failure valueh]h4kernel feedback for success 0 or errno failure value}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hK4hj'ubah}(h]h ]h"]h$]h&]uh1jShj'ubeh}(h]h ]h"]h$]h&]uh1j1hj'hK4hj'ubj2)}(h0``len`` length of data following w1_netlink_msg h](j8)}(h``len``h]j>)}(hj (h]hlen}(hj (hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj(ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK5hj(ubjT)}(hhh]h)}(h'length of data following w1_netlink_msgh]h'length of data following w1_netlink_msg}(hj#(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hK5hj (ubah}(h]h ]h"]h$]h&]uh1jShj(ubeh}(h]h ]h"]h$]h&]uh1j1hj(hK5hj'ubj2)}(hI``id`` union holding bus master id (msg.id) and slave device id (id[8]). h](j8)}(h``id``h]j>)}(hjC(h]hid}(hjE(hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjA(ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK6hj=(ubjT)}(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]).}(hj\(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjX(hK6hjY(ubah}(h]h ]h"]h$]h&]uh1jShj=(ubeh}(h]h ]h"]h$]h&]uh1j1hjX(hK6hj'ubj2)}(h``id.id`` Slave ID (8 bytes) h](j8)}(h ``id.id``h]j>)}(hj|(h]hid.id}(hj~(hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjz(ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK7hjv(ubjT)}(hhh]h)}(hSlave ID (8 bytes)h]hSlave ID (8 bytes)}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hK7hj(ubah}(h]h ]h"]h$]h&]uh1jShjv(ubeh}(h]h ]h"]h$]h&]uh1j1hj(hK7hj'ubj2)}(h%``id.mst`` bus master identification h](j8)}(h ``id.mst``h]j>)}(hj(h]hid.mst}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj(ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK8hj(ubjT)}(hhh]h)}(hbus master identificationh]hbus master identification}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hK8hj(ubah}(h]h ]h"]h$]h&]uh1jShj(ubeh}(h]h ]h"]h$]h&]uh1j1hj(hK8hj'ubj2)}(h``id.mst.id`` bus master ID h](j8)}(h ``id.mst.id``h]j>)}(hj(h]h id.mst.id}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj(ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK9hj(ubjT)}(hhh]h)}(h bus master IDh]h bus master ID}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hK9hj)ubah}(h]h ]h"]h$]h&]uh1jShj(ubeh}(h]h ]h"]h$]h&]uh1j1hj)hK9hj'ubj2)}(h#``id.mst.res`` bus master reserved h](j8)}(h``id.mst.res``h]j>)}(hj')h]h id.mst.res}(hj))hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj%)ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK:hj!)ubjT)}(hhh]h)}(hbus master reservedh]hbus master reserved}(hj@)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<)hK:hj=)ubah}(h]h ]h"]h$]h&]uh1jShj!)ubeh}(h]h ]h"]h$]h&]uh1j1hj<)hK:hj'ubj2)}(h,``data`` start address of any following datah](j8)}(h``data``h]j>)}(hj`)h]hdata}(hjb)hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj^)ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK:hjZ)ubjT)}(hhh]h)}(h#start address of any following datah]h#start address of any following data}(hjy)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK;hjv)ubah}(h]h ]h"]h$]h&]uh1jShjZ)ubeh}(h]h ]h"]h$]h&]uh1j1hju)hK:hj'ubeh}(h]h ]h"]h$]h&]uh1j,hjG'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubh)}(h**Description**h]j)}(hj)h]h Description}(hj)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)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK;hj#hhubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_commands (C enum) c.w1_commandshNtauh1j=hj#hhhj#hNubjO)}(hhh](jT)}(h w1_commandsh]jZ)}(henum w1_commandsh](j`)}(hj h]henum}(hj)hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj)hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKBubjr)}(h h]h }(hj)hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj)hhhj)hKBubj)}(h w1_commandsh]j)}(hj)h]h w1_commands}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj)hhhj)hKBubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj)hhhj)hKBubah}(h]j)ah ](jjeh"]h$]h&]jj)jhuh1jShj)hKBhj)hhubj)}(hhh]h)}(h1commands available for master or slave operationsh]h1commands available for master or slave operations}(hj#*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKPhj *hhubah}(h]h ]h"]h$]h&]uh1jhj)hhhj)hKBubeh}(h]h ](jenumeh"]h$]h&]jjjj;*jj;*jjjuh1jNhhhj#hj#hNubj)}(hX**Constants** ``W1_CMD_READ`` read len bytes ``W1_CMD_WRITE`` write len bytes ``W1_CMD_SEARCH`` initiate a standard search, returns only the slave devices found during that search ``W1_CMD_ALARM_SEARCH`` search for devices that are currently alarming ``W1_CMD_TOUCH`` Touches a series of bytes. ``W1_CMD_RESET`` sends a bus reset on the given master ``W1_CMD_SLAVE_ADD`` adds a slave to the given master, 8 byte slave id at data[0] ``W1_CMD_SLAVE_REMOVE`` removes a slave to the given master, 8 byte slave id at data[0] ``W1_CMD_LIST_SLAVES`` list of slaves registered on this master ``W1_CMD_MAX`` number of available commandsh](h)}(h **Constants**h]j)}(hjE*h]h Constants}(hjG*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC*ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKThj?*ubj-)}(hhh](j2)}(h``W1_CMD_READ`` read len bytes h](j8)}(h``W1_CMD_READ``h]j>)}(hjd*h]h W1_CMD_READ}(hjf*hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjb*ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKWhj^*ubjT)}(hhh]h)}(hread len bytesh]hread len bytes}(hj}*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy*hKWhjz*ubah}(h]h ]h"]h$]h&]uh1jShj^*ubeh}(h]h ]h"]h$]h&]uh1j1hjy*hKWhj[*ubj2)}(h!``W1_CMD_WRITE`` write len bytes h](j8)}(h``W1_CMD_WRITE``h]j>)}(hj*h]h W1_CMD_WRITE}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj*ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKZhj*ubjT)}(hhh]h)}(hwrite len bytesh]hwrite len bytes}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hKZhj*ubah}(h]h ]h"]h$]h&]uh1jShj*ubeh}(h]h ]h"]h$]h&]uh1j1hj*hKZhj[*ubj2)}(hf``W1_CMD_SEARCH`` initiate a standard search, returns only the slave devices found during that search h](j8)}(h``W1_CMD_SEARCH``h]j>)}(hj*h]h W1_CMD_SEARCH}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj*ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhK^hj*ubjT)}(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*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&]uh1jShj*ubeh}(h]h ]h"]h$]h&]uh1j1hj*hK^hj[*ubj2)}(hG``W1_CMD_ALARM_SEARCH`` search for devices that are currently alarming h](j8)}(h``W1_CMD_ALARM_SEARCH``h]j>)}(hj+h]hW1_CMD_ALARM_SEARCH}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj+ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKahj +ubjT)}(hhh]h)}(h.search for devices that are currently alarmingh]h.search for devices that are currently alarming}(hj)+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%+hKahj&+ubah}(h]h ]h"]h$]h&]uh1jShj +ubeh}(h]h ]h"]h$]h&]uh1j1hj%+hKahj[*ubj2)}(h,``W1_CMD_TOUCH`` Touches a series of bytes. h](j8)}(h``W1_CMD_TOUCH``h]j>)}(hjI+h]h W1_CMD_TOUCH}(hjK+hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjG+ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKdhjC+ubjT)}(hhh]h)}(hTouches a series of bytes.h]hTouches a series of bytes.}(hjb+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^+hKdhj_+ubah}(h]h ]h"]h$]h&]uh1jShjC+ubeh}(h]h ]h"]h$]h&]uh1j1hj^+hKdhj[*ubj2)}(h7``W1_CMD_RESET`` sends a bus reset on the given master h](j8)}(h``W1_CMD_RESET``h]j>)}(hj+h]h W1_CMD_RESET}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj+ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKghj|+ubjT)}(hhh]h)}(h%sends a bus reset on the given masterh]h%sends a bus reset on the given master}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hKghj+ubah}(h]h ]h"]h$]h&]uh1jShj|+ubeh}(h]h ]h"]h$]h&]uh1j1hj+hKghj[*ubj2)}(hR``W1_CMD_SLAVE_ADD`` adds a slave to the given master, 8 byte slave id at data[0] h](j8)}(h``W1_CMD_SLAVE_ADD``h]j>)}(hj+h]hW1_CMD_SLAVE_ADD}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj+ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKkhj+ubjT)}(hhh]h)}(h)}(hj+h]hW1_CMD_SLAVE_REMOVE}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj+ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKohj+ubjT)}(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,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&]uh1jShj+ubeh}(h]h ]h"]h$]h&]uh1j1hj ,hKohj[*ubj2)}(h@``W1_CMD_LIST_SLAVES`` list of slaves registered on this master h](j8)}(h``W1_CMD_LIST_SLAVES``h]j>)}(hj/,h]hW1_CMD_LIST_SLAVES}(hj1,hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj-,ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKrhj),ubjT)}(hhh]h)}(h(list of slaves registered on this masterh]h(list of slaves registered on this master}(hjH,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjD,hKrhjE,ubah}(h]h ]h"]h$]h&]uh1jShj),ubeh}(h]h ]h"]h$]h&]uh1j1hjD,hKrhj[*ubj2)}(h+``W1_CMD_MAX`` number of available commandsh](j8)}(h``W1_CMD_MAX``h]j>)}(hjh,h]h W1_CMD_MAX}(hjj,hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjf,ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKthjb,ubjT)}(hhh]h)}(hnumber of available commandsh]hnumber of available commands}(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&]uh1jShjb,ubeh}(h]h ]h"]h$]h&]uh1j1hj},hKthj[*ubeh}(h]h ]h"]h$]h&]uh1j,hj?*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_netlink_cmd (C struct)c.w1_netlink_cmdhNtauh1j=hj#hhhj#hNubjO)}(hhh](jT)}(hw1_netlink_cmdh]jZ)}(hstruct w1_netlink_cmdh](j`)}(hjch]hstruct}(hj,hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj,hhhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKzubjr)}(h h]h }(hj,hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj,hhhj,hKzubj)}(hw1_netlink_cmdh]j)}(hj,h]hw1_netlink_cmd}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj,hhhj,hKzubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj,hhhj,hKzubah}(h]j,ah ](jjeh"]h$]h&]jj)jhuh1jShj,hKzhj,hhubj)}(hhh]h)}(hholds the command and datah]hholds the command and data}(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,hKzubeh}(h]h ](jstructeh"]h$]h&]jjjj-jj-jjjuh1jNhhhj#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}(hj(-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$-ubh:}(hj$-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[]; };}hjA-sbah}(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)}(hjR-h]hMembers}(hjT-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP-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](j2)}(h ``cmd`` one of enum w1_commands h](j8)}(h``cmd``h]j>)}(hjq-h]hcmd}(hjs-hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjo-ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKqhjk-ubjT)}(hhh]h)}(hone of enum w1_commandsh]hone of enum w1_commands}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKqhj-ubah}(h]h ]h"]h$]h&]uh1jShjk-ubeh}(h]h ]h"]h$]h&]uh1j1hj-hKqhjh-ubj2)}(h``res`` reserved h](j8)}(h``res``h]j>)}(hj-h]hres}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj-ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKrhj-ubjT)}(hhh]h)}(hreservedh]hreserved}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKrhj-ubah}(h]h ]h"]h$]h&]uh1jShj-ubeh}(h]h ]h"]h$]h&]uh1j1hj-hKrhjh-ubj2)}(h0``len`` length of data following w1_netlink_cmd h](j8)}(h``len``h]j>)}(hj-h]hlen}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj-ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKshj-ubjT)}(hhh]h)}(h'length of data following w1_netlink_cmdh]h'length of data following w1_netlink_cmd}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKshj-ubah}(h]h ]h"]h$]h&]uh1jShj-ubeh}(h]h ]h"]h$]h&]uh1j1hj-hKshjh-ubj2)}(h,``data`` start address of any following datah](j8)}(h``data``h]j>)}(hj.h]hdata}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj.ubah}(h]h ]h"]h$]h&]uh1j7hU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKshj.ubjT)}(hhh]h)}(h#start address of any following datah]h#start address of any following data}(hj5.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKthj2.ubah}(h]h ]h"]h$]h&]uh1jShj.ubeh}(h]h ]h"]h$]h&]uh1j1hj1.hKshjh-ubeh}(h]h ]h"]h$]h&]uh1j,hj -ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhj#hNubh)}(h**Description**h]j)}(hj_.h]h Description}(hja.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.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.}(hju.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/driver-api/w1:55: ./drivers/w1/w1_netlink.hhKthj#hhubeh}(h]drivers-w1-w1-netlink-hah ]h"]drivers/w1/w1_netlink.hah$]h&]uh1hhj hhhhhK3ubh)}(hhh](h)}(hdrivers/w1/w1_io.ch]hdrivers/w1/w1_io.c}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hhhhhK;ubh)}(hW1 input/output.h]hW1 input/output.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK=hj.hhubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_touch_bit (C function)c.w1_touch_bithNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h0u8 w1_touch_bit (struct w1_master *dev, int bit)h]jZ)}(h/u8 w1_touch_bit(struct w1_master *dev, int bit)h](h)}(hhh]j)}(hu8h]hu8}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.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.chK0ubjr)}(h h]h }(hj.hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj.hhhj.hK0ubj)}(h w1_touch_bith]j)}(hj.h]h w1_touch_bit}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj.hhhj.hK0ubjQ)}(h (struct w1_master *dev, int bit)h](jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hj/hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj/ubjr)}(h h]h }(hj#/hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj/ubh)}(hhh]j)}(h w1_masterh]h w1_master}(hj4/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6/modnameN classnameNjj)}j]j.c.w1_touch_bitasbuh1hhj/ubjr)}(h h]h }(hjR/hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj/ubj)}(hjh]h*}(hj`/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hdevh]hdev}(hjm/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj/ubjW)}(hint bith](j)}(hinth]hint}(hj/hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj/ubjr)}(h h]h }(hj/hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj/ubj)}(hbith]hbit}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj/ubeh}(h]h ]h"]h$]h&]jjuh1jPhj.hhhj.hK0ubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj.hhhj.hK0ubah}(h]j.ah ](jjeh"]h$]h&]jj)jhuh1jShj.hK0hj.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/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.hK0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1jNhhhj.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}(hj/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](j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hj 0h]hstruct w1_master *dev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj 0ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK1hj0ubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hj&0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"0hK1hj#0ubah}(h]h ]h"]h$]h&]uh1jShj0ubeh}(h]h ]h"]h$]h&]uh1j1hj"0hK1hj0ubj2)}(h7``int bit`` 0 - write a 0, 1 - write a 0 read the levelh](j8)}(h ``int bit``h]j>)}(hjF0h]hint bit}(hjH0hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjD0ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK3hj@0ubjT)}(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}(hj_0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chK2hj\0ubah}(h]h ]h"]h$]h&]uh1jShj@0ubeh}(h]h ]h"]h$]h&]uh1j1hj[0hK3hj0ubeh}(h]h ]h"]h$]h&]uh1j,hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_write_8 (C function) c.w1_write_8hNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h0void w1_write_8 (struct w1_master *dev, u8 byte)h]jZ)}(h/void w1_write_8(struct w1_master *dev, u8 byte)h](j)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj0hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKubjr)}(h h]h }(hj0hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj0hhhj0hKubj)}(h w1_write_8h]j)}(h w1_write_8h]h w1_write_8}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj0hhhj0hKubjQ)}(h (struct w1_master *dev, u8 byte)h](jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hj0hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj0ubjr)}(h h]h }(hj0hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj0ubh)}(hhh]j)}(h w1_masterh]h w1_master}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]j)}jj0sb c.w1_write_8asbuh1hhj0ubjr)}(h h]h }(hj1hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj0ubj)}(hjh]h*}(hj)1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(hdevh]hdev}(hj61hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj0ubjW)}(hu8 byteh](h)}(hhh]j)}(hu8h]hu8}(hjR1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjO1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT1modnameN classnameNjj)}j]j1 c.w1_write_8asbuh1hhjK1ubjr)}(h h]h }(hjp1hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjK1ubj)}(hbyteh]hbyte}(hj~1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK1ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj0ubeh}(h]h ]h"]h$]h&]jjuh1jPhj0hhhj0hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj0hhhj0hKubah}(h]j0ah ](jjeh"]h$]h&]jj)jhuh1jShj0hKhj0hhubj)}(hhh]h)}(hWrites 8 bits.h]hWrites 8 bits.}(hj1hhhNhNubah}(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&]jjjj1jj1jjjuh1jNhhhj.hNhNubj)}(h^**Parameters** ``struct w1_master *dev`` the master device ``u8 byte`` the byte to writeh](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(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](j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hj1h]hstruct w1_master *dev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj1ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj1ubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hKhj1ubah}(h]h ]h"]h$]h&]uh1jShj1ubeh}(h]h ]h"]h$]h&]uh1j1hj1hKhj1ubj2)}(h``u8 byte`` the byte to writeh](j8)}(h ``u8 byte``h]j>)}(hj"2h]hu8 byte}(hj$2hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj 2ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj2ubjT)}(hhh]h)}(hthe byte to writeh]hthe byte to write}(hj;2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj82ubah}(h]h ]h"]h$]h&]uh1jShj2ubeh}(h]h ]h"]h$]h&]uh1j1hj72hKhj1ubeh}(h]h ]h"]h$]h&]uh1j,hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_triplet (C function) c.w1_triplethNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h/u8 w1_triplet (struct w1_master *dev, int bdir)h]jZ)}(h.u8 w1_triplet(struct w1_master *dev, int bdir)h](h)}(hhh]j)}(hu8h]hu8}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}j w1_tripletsb c.w1_tripletasbuh1hhjx2hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKubjr)}(h h]h }(hj2hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjx2hhhj2hKubj)}(h w1_tripleth]j)}(hj2h]h w1_triplet}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjx2hhhj2hKubjQ)}(h!(struct w1_master *dev, int bdir)h](jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hj2hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj2ubjr)}(h h]h }(hj2hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj2ubh)}(hhh]j)}(h w1_masterh]h w1_master}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j2 c.w1_tripletasbuh1hhj2ubjr)}(h h]h }(hj 3hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj2ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(hdevh]hdev}(hj%3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj2ubjW)}(hint bdirh](j)}(hinth]hint}(hj>3hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj:3ubjr)}(h h]h }(hjL3hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj:3ubj)}(hbdirh]hbdir}(hjZ3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj2ubeh}(h]h ]h"]h$]h&]jjuh1jPhjx2hhhj2hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjt2hhhj2hKubah}(h]jo2ah ](jjeh"]h$]h&]jj)jhuh1jShj2hKhjq2hhubj)}(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.}(hj3hhhNhNubah}(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&]uh1jhjq2hhhj2hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1jNhhhj.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}(hj3hhhNhNubah}(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](j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hj3h]hstruct w1_master *dev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj3ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hKhj3ubah}(h]h ]h"]h$]h&]uh1jShj3ubeh}(h]h ]h"]h$]h&]uh1j1hj3hKhj3ubj2)}(h@``int bdir`` the bit to write if both id_bit and comp_bit are 0 h](j8)}(h ``int bdir``h]j>)}(hj4h]hint bdir}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj4ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj4ubjT)}(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.4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*4hKhj+4ubah}(h]h ]h"]h$]h&]uh1jShj4ubeh}(h]h ]h"]h$]h&]uh1j1hj*4hKhj3ubeh}(h]h ]h"]h$]h&]uh1j,hj3ubh)}(h**Description**h]j)}(hjP4h]h Description}(hjR4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN4ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj3ubj-)}(hhh]j2)}(h?Return bits: bit 0 = id_bit bit 1 = comp_bit bit 2 = dir_taken h](j8)}(h Return bits:h]h Return bits:}(hjm4hhhNhNubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhji4ubjT)}(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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj|4ubah}(h]h ]h"]h$]h&]uh1jShji4ubeh}(h]h ]h"]h$]h&]uh1j1hj{4hKhjf4ubah}(h]h ]h"]h$]h&]uh1j,hj3ubh)}(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.}(hj4hhhNhNubah}(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}(hj4hhhNhNubah}(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}(hj4hhhNhNubah}(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](jJw1_read_8 (C function) c.w1_read_8hNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h$u8 w1_read_8 (struct w1_master *dev)h]jZ)}(h#u8 w1_read_8(struct w1_master *dev)h](h)}(hhh]j)}(hu8h]hu8}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN 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.chKubjr)}(h h]h }(hj5hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj4hhhj5hKubj)}(h w1_read_8h]j)}(hj5h]h w1_read_8}(hj-5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)5ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj4hhhj5hKubjQ)}(h(struct w1_master *dev)h]jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hjH5hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjD5ubjr)}(h h]h }(hjU5hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjD5ubh)}(hhh]j)}(h w1_masterh]h w1_master}(hjf5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjh5modnameN classnameNjj)}j]j5 c.w1_read_8asbuh1hhjD5ubjr)}(h h]h }(hj5hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjD5ubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD5ubj)}(hdevh]hdev}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj@5ubah}(h]h ]h"]h$]h&]jjuh1jPhj4hhhj5hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj4hhhj5hKubah}(h]j4ah ](jjeh"]h$]h&]jj)jhuh1jShj5hKhj4hhubj)}(hhh]h)}(h Reads 8 bits.h]h Reads 8 bits.}(hj5hhhNhNubah}(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&]uh1jhj4hhhj5hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jNhhhj.hNhNubj)}(hX**Parameters** ``struct w1_master *dev`` the master device **Return** the byte readh](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(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]j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hj 6h]hstruct w1_master *dev}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj6ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj6ubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hj#6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hKhj 6ubah}(h]h ]h"]h$]h&]uh1jShj6ubeh}(h]h ]h"]h$]h&]uh1j1hj6hKhj6ubah}(h]h ]h"]h$]h&]uh1j,hj5ubh)}(h **Return**h]j)}(hjE6h]hReturn}(hjG6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC6ubah}(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}(hj[6hhhNhNubah}(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](jJw1_write_block (C function)c.w1_write_blockhNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(hCvoid w1_write_block (struct w1_master *dev, const u8 *buf, int len)h]jZ)}(hBvoid w1_write_block(struct w1_master *dev, const u8 *buf, int len)h](j)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj6hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKubjr)}(h h]h }(hj6hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj6hhhj6hKubj)}(hw1_write_blockh]j)}(hw1_write_blockh]hw1_write_block}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj6hhhj6hKubjQ)}(h/(struct w1_master *dev, const u8 *buf, int len)h](jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hj6hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj6ubjr)}(h h]h }(hj6hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj6ubh)}(hhh]j)}(h w1_masterh]h w1_master}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jj6sbc.w1_write_blockasbuh1hhj6ubjr)}(h h]h }(hj7hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj6ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj)}(hdevh]hdev}(hj 7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj6ubjW)}(h const u8 *bufh](j`)}(hconsth]hconst}(hj97hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj57ubjr)}(h h]h }(hjG7hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj57ubh)}(hhh]j)}(hu8h]hu8}(hjX7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ7modnameN classnameNjj)}j]j7c.w1_write_blockasbuh1hhj57ubjr)}(h h]h }(hjv7hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj57ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj57ubj)}(hbufh]hbuf}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj57ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj6ubjW)}(hint lenh](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj7ubjr)}(h h]h }(hj7hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj7ubj)}(hlenh]hlen}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj6ubeh}(h]h ]h"]h$]h&]jjuh1jPhj6hhhj6hKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj6hhhj6hKubah}(h]j}6ah ](jjeh"]h$]h&]jj)jhuh1jShj6hKhj6hhubj)}(hhh]h)}(hWrites a series of bytes.h]hWrites a series of bytes.}(hj7hhhNhNubah}(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&]jjjj8jj8jjjuh1jNhhhj.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)}(hj8h]h Parameters}(hj8hhhNhNubah}(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.chKhj 8ubj-)}(hhh](j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hj18h]hstruct w1_master *dev}(hj38hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj/8ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj+8ubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hjJ8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjF8hKhjG8ubah}(h]h ]h"]h$]h&]uh1jShj+8ubeh}(h]h ]h"]h$]h&]uh1j1hjF8hKhj(8ubj2)}(h/``const u8 *buf`` pointer to the data to write h](j8)}(h``const u8 *buf``h]j>)}(hjj8h]h const u8 *buf}(hjl8hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjh8ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhjd8ubjT)}(hhh]h)}(hpointer to the data to writeh]hpointer to the data to write}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hKhj8ubah}(h]h ]h"]h$]h&]uh1jShjd8ubeh}(h]h ]h"]h$]h&]uh1j1hj8hKhj(8ubj2)}(h(``int len`` the number of bytes to writeh](j8)}(h ``int len``h]j>)}(hj8h]hint len}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj8ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chKhj8ubjT)}(hhh]h)}(hthe number of bytes to writeh]hthe number of bytes to write}(hj8hhhNhNubah}(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&]uh1jShj8ubeh}(h]h ]h"]h$]h&]uh1j1hj8hKhj(8ubeh}(h]h ]h"]h$]h&]uh1j,hj 8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_touch_block (C function)c.w1_touch_blockhNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h=void w1_touch_block (struct w1_master *dev, u8 *buf, int len)h]jZ)}(h)}(hj:h]hstruct w1_master *dev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj:ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM hj:ubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM hj:ubah}(h]h ]h"]h$]h&]uh1jShj:ubeh}(h]h ]h"]h$]h&]uh1j1hj:hM hj:ubj2)}(h)``u8 *buf`` pointer to the data to write h](j8)}(h ``u8 *buf``h]j>)}(hj:h]hu8 *buf}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj:ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM hj:ubjT)}(hhh]h)}(hpointer to the data to writeh]hpointer to the data to write}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM hj:ubah}(h]h ]h"]h$]h&]uh1jShj:ubeh}(h]h ]h"]h$]h&]uh1j1hj:hM hj:ubj2)}(h(``int len`` the number of bytes to writeh](j8)}(h ``int len``h]j>)}(hj:h]hint len}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj:ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhj:ubjT)}(hhh]h)}(hthe number of bytes to writeh]hthe number of bytes to write}(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&]uh1jShj:ubeh}(h]h ]h"]h$]h&]uh1j1hj;hMhj:ubeh}(h]h ]h"]h$]h&]uh1j,hjc:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_read_block (C function)c.w1_read_blockhNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h:u8 w1_read_block (struct w1_master *dev, u8 *buf, int len)h]jZ)}(h9u8 w1_read_block(struct w1_master *dev, u8 *buf, int len)h](h)}(hhh]j)}(hu8h]hu8}(hjW;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY;modnameN classnameNjj)}j]j)}j w1_read_blocksbc.w1_read_blockasbuh1hhjP;hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM"ubjr)}(h h]h }(hjy;hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjP;hhhjx;hM"ubj)}(h w1_read_blockh]j)}(hju;h]h w1_read_block}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjP;hhhjx;hM"ubjQ)}(h)(struct w1_master *dev, u8 *buf, int len)h](jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hj;hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj;ubjr)}(h h]h }(hj;hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj;ubh)}(hhh]j)}(h w1_masterh]h w1_master}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]js;c.w1_read_blockasbuh1hhj;ubjr)}(h h]h }(hj;hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj;ubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(hdevh]hdev}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj;ubjW)}(hu8 *bufh](h)}(hhh]j)}(hu8h]hu8}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj)}j]js;c.w1_read_blockasbuh1hhj<ubjr)}(h h]h }(hj7<hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj<ubj)}(hjh]h*}(hjE<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj)}(hbufh]hbuf}(hjR<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj;ubjW)}(hint lenh](j)}(hinth]hint}(hjk<hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjg<ubjr)}(h h]h }(hjy<hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjg<ubj)}(hlenh]hlen}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg<ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj;ubeh}(h]h ]h"]h$]h&]jjuh1jPhjP;hhhjx;hM"ubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjL;hhhjx;hM"ubah}(h]jG;ah ](jjeh"]h$]h&]jj)jhuh1jShjx;hM"hjI;hhubj)}(hhh]h)}(hReads a series of bytes.h]hReads a series of bytes.}(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&]uh1jhjI;hhhjx;hM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1jNhhhj.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}(hj<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](j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hj<h]hstruct w1_master *dev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj<ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM#hj<ubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hj =hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM#hj=ubah}(h]h ]h"]h$]h&]uh1jShj<ubeh}(h]h ]h"]h$]h&]uh1j1hj=hM#hj<ubj2)}(h*``u8 *buf`` pointer to the buffer to fill h](j8)}(h ``u8 *buf``h]j>)}(hj+=h]hu8 *buf}(hj-=hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj)=ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM$hj%=ubjT)}(hhh]h)}(hpointer to the buffer to fillh]hpointer to the buffer to fill}(hjD=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@=hM$hjA=ubah}(h]h ]h"]h$]h&]uh1jShj%=ubeh}(h]h ]h"]h$]h&]uh1j1hj@=hM$hj<ubj2)}(h(``int len`` the number of bytes to read h](j8)}(h ``int len``h]j>)}(hjd=h]hint len}(hjf=hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjb=ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM%hj^=ubjT)}(hhh]h)}(hthe number of bytes to readh]hthe number of bytes to read}(hj}=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy=hM%hjz=ubah}(h]h ]h"]h$]h&]uh1jShj^=ubeh}(h]h ]h"]h$]h&]uh1j1hjy=hM%hj<ubeh}(h]h ]h"]h$]h&]uh1j,hj<ubh)}(h **Return**h]j)}(hj=h]hReturn}(hj=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=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](jJw1_reset_bus (C function)c.w1_reset_bushNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h(int w1_reset_bus (struct w1_master *dev)h]jZ)}(h'int w1_reset_bus(struct w1_master *dev)h](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj=hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM:ubjr)}(h h]h }(hj=hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj=hhhj=hM:ubj)}(h w1_reset_bush]j)}(h w1_reset_bush]h w1_reset_bus}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj=hhhj=hM:ubjQ)}(h(struct w1_master *dev)h]jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hj!>hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj>ubjr)}(h h]h }(hj.>hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj>ubh)}(hhh]j)}(h w1_masterh]h w1_master}(hj?>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjA>modnameN classnameNjj)}j]j)}jj>sbc.w1_reset_busasbuh1hhj>ubjr)}(h h]h }(hj_>hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj>ubj)}(hjh]h*}(hjm>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj)}(hdevh]hdev}(hjz>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj>ubah}(h]h ]h"]h$]h&]jjuh1jPhj=hhhj=hM:ubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj=hhhj=hM:ubah}(h]j=ah ](jjeh"]h$]h&]jj)jhuh1jShj=hM:hj=hhubj)}(hhh]h)}(hIssues a reset bus sequence.h]hIssues a reset bus sequence.}(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>jjjuh1jNhhhj.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}(hj>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]j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hj>h]hstruct w1_master *dev}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj>ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM;hj>ubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hM;hj>ubah}(h]h ]h"]h$]h&]uh1jShj>ubeh}(h]h ]h"]h$]h&]uh1j1hj>hM;hj>ubah}(h]h ]h"]h$]h&]uh1j,hj>ubh)}(h **Return**h]j)}(hj ?h]hReturn}(hj"?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}(hj6?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.c:hM<hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJ"w1_reset_select_slave (C function)c.w1_reset_select_slavehNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h/int w1_reset_select_slave (struct w1_slave *sl)h]jZ)}(h.int w1_reset_select_slave(struct w1_slave *sl)h](j)}(hinth]hint}(hje?hhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhja?hhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMyubjr)}(h h]h }(hjt?hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhja?hhhjs?hMyubj)}(hw1_reset_select_slaveh]j)}(hw1_reset_select_slaveh]hw1_reset_select_slave}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ](jjeh"]h$]h&]jjuh1jhja?hhhjs?hMyubjQ)}(h(struct w1_slave *sl)h]jW)}(hstruct w1_slave *slh](j`)}(hjch]hstruct}(hj?hhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hj?ubjr)}(h h]h }(hj?hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj?ubh)}(hhh]j)}(hw1_slaveh]hw1_slave}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j]j)}jj?sbc.w1_reset_select_slaveasbuh1hhj?ubjr)}(h h]h }(hj?hhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj?ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj)}(hslh]hsl}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhj?ubah}(h]h ]h"]h$]h&]jjuh1jPhja?hhhjs?hMyubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj]?hhhjs?hMyubah}(h]jX?ah ](jjeh"]h$]h&]jj)jhuh1jShjs?hMyhjZ?hhubj)}(hhh]h)}(hreset and select a slaveh]hreset and select a slave}(hj%@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMyhj"@hhubah}(h]h ]h"]h$]h&]uh1jhjZ?hhhjs?hMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=@jj=@jjjuh1jNhhhj.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)}(hjG@h]h Parameters}(hjI@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE@ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM}hjA@ubj-)}(hhh]j2)}(h,``struct w1_slave *sl`` the slave to select h](j8)}(h``struct w1_slave *sl``h]j>)}(hjf@h]hstruct w1_slave *sl}(hjh@hhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjd@ubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMzhj`@ubjT)}(hhh]h)}(hthe slave to selecth]hthe slave to select}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{@hMzhj|@ubah}(h]h ]h"]h$]h&]uh1jShj`@ubeh}(h]h ]h"]h$]h&]uh1j1hj{@hMzhj]@ubah}(h]h ]h"]h$]h&]uh1j,hjA@ubh)}(h**Description**h]j)}(hj@h]h Description}(hj@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|hjA@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@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chM{hjA@ubh)}(h **Return**h]j)}(hj@h]hReturn}(hj@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.chMhjA@ubh)}(h0=success, anything else=errorh]h0=success, anything else=error}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjA@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJ$w1_reset_resume_command (C function)c.w1_reset_resume_commandhNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h3int w1_reset_resume_command (struct w1_master *dev)h]jZ)}(h2int w1_reset_resume_command(struct w1_master *dev)h](j)}(hinth]hint}(hj AhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj AhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMubjr)}(h h]h }(hjAhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj AhhhjAhMubj)}(hw1_reset_resume_commandh]j)}(hw1_reset_resume_commandh]hw1_reset_resume_command}(hj.AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*Aubah}(h]h ](jjeh"]h$]h&]jjuh1jhj AhhhjAhMubjQ)}(h(struct w1_master *dev)h]jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hjJAhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjFAubjr)}(h h]h }(hjWAhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjFAubh)}(hhh]j)}(h w1_masterh]h w1_master}(hjhAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjAmodnameN classnameNjj)}j]j)}jj0Asbc.w1_reset_resume_commandasbuh1hhjFAubjr)}(h h]h }(hjAhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjFAubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFAubj)}(hdevh]hdev}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFAubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjBAubah}(h]h ]h"]h$]h&]jjuh1jPhj AhhhjAhMubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjAhhhjAhMubah}(h]jAah ](jjeh"]h$]h&]jj)jhuh1jShjAhMhjAhhubj)}(hhh]h)}(h#resume instead of another match ROMh]h#resume instead of another match ROM}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jhjAhhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1jNhhhj.hNhNubj)}(hX**Parameters** ``struct w1_master *dev`` the master device **Description** When the workflow with a slave amongst many requires several successive commands a reset between each, this function is similar to doing a reset then a match ROM for the last matched ROM. The advantage being that the matched ROM step is skipped in favor of the resume command. The slave must support the command of course. If the bus has only one slave, traditionnaly the match ROM is skipped and a "SKIP ROM" is done for efficiency. On multi-slave busses, this doesn't work of course, but the resume command is the next best thing. The w1 master lock must be held.h](h)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjAubj-)}(hhh]j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hjBh]hstruct w1_master *dev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj Bubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjBubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hj'BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#BhMhj$Bubah}(h]h ]h"]h$]h&]uh1jShjBubeh}(h]h ]h"]h$]h&]uh1j1hj#BhMhjBubah}(h]h ]h"]h$]h&]uh1j,hjAubh)}(h**Description**h]j)}(hjIBh]h Description}(hjKBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGBubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjAubh)}(hXBWhen the workflow with a slave amongst many requires several successive commands a reset between each, this function is similar to doing a reset then a match ROM for the last matched ROM. The advantage being that the matched ROM step is skipped in favor of the resume command. The slave must support the command of course.h]hXBWhen the workflow with a slave amongst many requires several successive commands a reset between each, this function is similar to doing a reset then a match ROM for the last matched ROM. The advantage being that the matched ROM step is skipped in favor of the resume command. The slave must support the command of course.}(hj_BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjAubh)}(hIf the bus has only one slave, traditionnaly the match ROM is skipped and a "SKIP ROM" is done for efficiency. On multi-slave busses, this doesn't work of course, but the resume command is the next best thing.h]hIf the bus has only one slave, traditionnaly the match ROM is skipped and a “SKIP ROM” is done for efficiency. On multi-slave busses, this doesn’t work of course, but the resume command is the next best thing.}(hjnBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjAubh)}(h The w1 master lock must be held.h]h The w1 master lock must be held.}(hj}BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_next_pullup (C function)c.w1_next_pulluphNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h6void w1_next_pullup (struct w1_master *dev, int delay)h]jZ)}(h5void w1_next_pullup(struct w1_master *dev, int delay)h](j)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjBhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMubjr)}(h h]h }(hjBhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjBhhhjBhMubj)}(hw1_next_pulluph]j)}(hw1_next_pulluph]hw1_next_pullup}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubah}(h]h ](jjeh"]h$]h&]jjuh1jhjBhhhjBhMubjQ)}(h"(struct w1_master *dev, int delay)h](jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hjBhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjBubjr)}(h h]h }(hjBhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjBubh)}(hhh]j)}(h w1_masterh]h w1_master}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj CmodnameN classnameNjj)}j]j)}jjBsbc.w1_next_pullupasbuh1hhjBubjr)}(h h]h }(hj'ChhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjBubj)}(hjh]h*}(hj5ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj)}(hdevh]hdev}(hjBChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjBubjW)}(h int delayh](j)}(hinth]hint}(hj[ChhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjWCubjr)}(h h]h }(hjiChhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjWCubj)}(hdelayh]hdelay}(hjwChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWCubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjBubeh}(h]h ]h"]h$]h&]jjuh1jPhjBhhhjBhMubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjBhhhjBhMubah}(h]jBah ](jjeh"]h$]h&]jj)jhuh1jShjBhMhjBhhubj)}(hhh]h)}(hregister for a strong pulluph]hregister for a strong pullup}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjChhubah}(h]h ]h"]h$]h&]uh1jhjBhhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1jNhhhj.hNhNubj)}(hX**Parameters** ``struct w1_master *dev`` the master device ``int delay`` time in milliseconds **Description** 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. **Return** 0=success, anything else=errorh](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjCubj-)}(hhh](j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hjCh]hstruct w1_master *dev}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjCubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjCubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jShjCubeh}(h]h ]h"]h$]h&]uh1j1hjChMhjCubj2)}(h#``int delay`` time in milliseconds h](j8)}(h ``int delay``h]j>)}(hjDh]h int delay}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjDubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:63: ./drivers/w1/w1_io.chMhjDubjT)}(hhh]h)}(htime in millisecondsh]htime in milliseconds}(hj4DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0DhMhj1Dubah}(h]h ]h"]h$]h&]uh1jShjDubeh}(h]h ]h"]h$]h&]uh1j1hj0DhMhjCubeh}(h]h ]h"]h$]h&]uh1j,hjCubh)}(h**Description**h]j)}(hjVDh]h Description}(hjXDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTDubah}(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.}(hjlDhhhNhNubah}(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)}(hj}Dh]hReturn}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Dubah}(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}(hjDhhhNhNubah}(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](jJw1_write_bit (C function)c.w1_write_bithNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h2void w1_write_bit (struct w1_master *dev, int bit)h]jZ)}(h1void w1_write_bit(struct w1_master *dev, int bit)h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjDhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKBubjr)}(h h]h }(hjDhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjDhhhjDhKBubj)}(h w1_write_bith]j)}(h w1_write_bith]h w1_write_bit}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubah}(h]h ](jjeh"]h$]h&]jjuh1jhjDhhhjDhKBubjQ)}(h (struct w1_master *dev, int bit)h](jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hjDhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjDubjr)}(h h]h }(hj EhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjDubh)}(hhh]j)}(h w1_masterh]h w1_master}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}jjDsbc.w1_write_bitasbuh1hhjDubjr)}(h h]h }(hj=EhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjDubj)}(hjh]h*}(hjKEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj)}(hdevh]hdev}(hjXEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjDubjW)}(hint bith](j)}(hinth]hint}(hjqEhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjmEubjr)}(h h]h }(hjEhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjmEubj)}(hbith]hbit}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmEubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjDubeh}(h]h ]h"]h$]h&]jjuh1jPhjDhhhjDhKBubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjDhhhjDhKBubah}(h]jDah ](jjeh"]h$]h&]jj)jhuh1jShjDhKBhjDhhubj)}(hhh]h)}(h%Generates a write-0 or write-1 cycle.h]h%Generates a write-0 or write-1 cycle.}(hjEhhhNhNubah}(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&]uh1jhjDhhhjDhKBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1jNhhhj.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}(hjEhhhNhNubah}(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](j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hjEh]hstruct w1_master *dev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjEubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKChjEubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj FhKChjFubah}(h]h ]h"]h$]h&]uh1jShjEubeh}(h]h ]h"]h$]h&]uh1j1hj FhKChjEubj2)}(h``int bit`` bit to write h](j8)}(h ``int bit``h]j>)}(hj1Fh]hint bit}(hj3FhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj/Fubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKDhj+FubjT)}(hhh]h)}(h bit to writeh]h bit to write}(hjJFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFFhKDhjGFubah}(h]h ]h"]h$]h&]uh1jShj+Fubeh}(h]h ]h"]h$]h&]uh1j1hjFFhKDhjEubeh}(h]h ]h"]h$]h&]uh1j,hjEubh)}(h**Description**h]j)}(hjlFh]h Description}(hjnFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjFubah}(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}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKEhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_pre_write (C function)c.w1_pre_writehNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h)void w1_pre_write (struct w1_master *dev)h]jZ)}(h(void w1_pre_write(struct w1_master *dev)h](j)}(hvoidh]hvoid}(hjFhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhjFhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chK^ubjr)}(h h]h }(hjFhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjFhhhjFhK^ubj)}(h w1_pre_writeh]j)}(h w1_pre_writeh]h w1_pre_write}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubah}(h]h ](jjeh"]h$]h&]jjuh1jhjFhhhjFhK^ubjQ)}(h(struct w1_master *dev)h]jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hjFhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjFubjr)}(h h]h }(hjFhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjFubh)}(hhh]j)}(h w1_masterh]h w1_master}(hj GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]j)}jjFsbc.w1_pre_writeasbuh1hhjFubjr)}(h h]h }(hj,GhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjFubj)}(hjh]h*}(hj:GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj)}(hdevh]hdev}(hjGGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjFubah}(h]h ]h"]h$]h&]jjuh1jPhjFhhhjFhK^ubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjFhhhjFhK^ubah}(h]jFah ](jjeh"]h$]h&]jj)jhuh1jShjFhK^hjFhhubj)}(hhh]h)}(hpre-write operationsh]hpre-write operations}(hjqGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chK^hjnGhhubah}(h]h ]h"]h$]h&]uh1jhjFhhhjFhK^ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1jNhhhj.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}(hjGhhhNhNubah}(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]j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hjGh]hstruct w1_master *dev}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjGubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chK_hjGubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhK_hjGubah}(h]h ]h"]h$]h&]uh1jShjGubeh}(h]h ]h"]h$]h&]uh1j1hjGhK_hjGubah}(h]h ]h"]h$]h&]uh1j,hjGubh)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(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.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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chK`hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_post_write (C function)c.w1_post_writehNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h*void w1_post_write (struct w1_master *dev)h]jZ)}(h)void w1_post_write(struct w1_master *dev)h](j)}(hvoidh]hvoid}(hj2HhhhNhNubah}(h]h ]j%ah"]h$]h&]uh1jhj.HhhhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKoubjr)}(h h]h }(hjAHhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhj.Hhhhj@HhKoubj)}(h w1_post_writeh]j)}(h w1_post_writeh]h w1_post_write}(hjSHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOHubah}(h]h ](jjeh"]h$]h&]jjuh1jhj.Hhhhj@HhKoubjQ)}(h(struct w1_master *dev)h]jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hjoHhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjkHubjr)}(h h]h }(hj|HhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjkHubh)}(hhh]j)}(h w1_masterh]h w1_master}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j)}jjUHsbc.w1_post_writeasbuh1hhjkHubjr)}(h h]h }(hjHhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjkHubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkHubj)}(hdevh]hdev}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkHubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjgHubah}(h]h ]h"]h$]h&]jjuh1jPhj.Hhhhj@HhKoubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhj*Hhhhj@HhKoubah}(h]j%Hah ](jjeh"]h$]h&]jj)jhuh1jShj@HhKohj'Hhhubj)}(hhh]h)}(hpost-write optionsh]hpost-write options}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKohjHhhubah}(h]h ]h"]h$]h&]uh1jhj'Hhhhj@HhKoubeh}(h]h ](jfunctioneh"]h$]h&]jjjj Ijj Ijjjuh1jNhhhj.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)}(hjIh]h Parameters}(hjIhhhNhNubah}(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.chKshjIubj-)}(hhh]j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hj3Ih]hstruct w1_master *dev}(hj5IhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hj1Iubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKphj-IubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hjLIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHIhKphjIIubah}(h]h ]h"]h$]h&]uh1jShj-Iubeh}(h]h ]h"]h$]h&]uh1j1hjHIhKphj*Iubah}(h]h ]h"]h$]h&]uh1j,hjIubh)}(h**Description**h]j)}(hjnIh]h Description}(hjpIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlIubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKrhjIubh)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKqhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj.hhhNhNubj>)}(hhh]h}(h]h ]h"]h$]h&]entries](jJw1_read_bit (C function) c.w1_read_bithNtauh1j=hj.hhhNhNubjO)}(hhh](jT)}(h&u8 w1_read_bit (struct w1_master *dev)h]jZ)}(h%u8 w1_read_bit(struct w1_master *dev)h](h)}(hhh]j)}(hu8h]hu8}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubah}(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.chKubjr)}(h h]h }(hjIhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjIhhhjIhKubj)}(h w1_read_bith]j)}(hjIh]h w1_read_bit}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubah}(h]h ](jjeh"]h$]h&]jjuh1jhjIhhhjIhKubjQ)}(h(struct w1_master *dev)h]jW)}(hstruct w1_master *devh](j`)}(hjch]hstruct}(hjJhhhNhNubah}(h]h ]jlah"]h$]h&]uh1j_hjJubjr)}(h h]h }(hjJhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjJubh)}(hhh]j)}(h w1_masterh]h w1_master}(hj#JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%JmodnameN classnameNjj)}j]jI c.w1_read_bitasbuh1hhjJubjr)}(h h]h }(hjAJhhhNhNubah}(h]h ]j~ah"]h$]h&]uh1jqhjJubj)}(hjh]h*}(hjOJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj)}(hdevh]hdev}(hj\JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jVhjIubah}(h]h ]h"]h$]h&]jjuh1jPhjIhhhjIhKubeh}(h]h ]h"]h$]h&]jjjuh1jYjjhjIhhhjIhKubah}(h]jIah ](jjeh"]h$]h&]jj)jhuh1jShjIhKhjIhhubj)}(hhh]h)}(h0Generates a write-1 cycle and samples the level.h]h0Generates a write-1 cycle and samples the level.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKhjJhhubah}(h]h ]h"]h$]h&]uh1jhjIhhhjIhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1jNhhhj.hNhNubj)}(h**Parameters** ``struct w1_master *dev`` the master device **Description** Only call if dev->bus_master->touch_bit is NULLh](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(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]j2)}(h,``struct w1_master *dev`` the master device h](j8)}(h``struct w1_master *dev``h]j>)}(hjJh]hstruct w1_master *dev}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1j=hjJubah}(h]h ]h"]h$]h&]uh1j7hP/var/lib/git/docbuild/linux/Documentation/driver-api/w1:66: ./drivers/w1/w1_io.chKhjJubjT)}(hhh]h)}(hthe master deviceh]hthe master device}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhKhjJubah}(h]h ]h"]h$]h&]uh1jShjJubeh}(h]h ]h"]h$]h&]uh1j1hjJhKhjJubah}(h]h ]h"]h$]h&]uh1j,hjJubh)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(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}(hjKhhhNhNubah}(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&]uh1hhj hhhhhK;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_handlerjiKerror_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.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_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_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jCKj@Kj;Kj8KjjjRjOj/j,j j j#j#j.j.j3Kj0Ku nametypes}(jCKj;KjjRj/j j#j.j3Kuh}(j@Khj8Kj jjjLjUjjj%j*j j j j j7j<jjjjjOjj jjjj,jUjjjjj j2j]jcj#j j j jH"jM"j.j#j#j#j$j$j&j&j)j)j,j,j0Kj.j.j.j0j0jo2jt2j4j4j}6j6j8j8jG;jL;j=j=jX?j]?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.