€•Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ&/translations/zh_CN/driver-api/usb/usb”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/zh_TW/driver-api/usb/usb”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/it_IT/driver-api/usb/usb”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/ja_JP/driver-api/usb/usb”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/ko_KR/driver-api/usb/usb”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/pt_BR/driver-api/usb/usb”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/sp_SP/driver-api/usb/usb”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒtarget”“”)�”}”(hŒ.. _usb-hostside-api:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œusb-hostside-api”uh1hµh´Khhh²hh³Œ@/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb.rst”ubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒThe Linux-USB Host Side API”h]”hŒThe Linux-USB Host Side API”…”�”}”(hhËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhhÆh²hh³hÃh´KubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒIntroduction to USB on Linux”h]”hŒIntroduction to USB on Linux”…”�”}”(hhÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhhÙh²hh³hÃh´KubhŒ paragraph”“”)�”}”(hXªA Universal Serial Bus (USB) is used to connect a host, such as a PC or workstation, to a number of peripheral devices. USB uses a tree structure, with the host as the root (the system's master), hubs as interior nodes, and peripherals as leaves (and slaves). Modern PCs support several such trees of USB devices, usually a few USB 3.0 (5 GBit/s) or USB 3.1 (10 GBit/s) and some legacy USB 2.0 (480 MBit/s) buses just in case.”h]”hX¬A Universal Serial Bus (USB) is used to connect a host, such as a PC or workstation, to a number of peripheral devices. USB uses a tree structure, with the host as the root (the system’s master), hubs as interior nodes, and peripherals as leaves (and slaves). Modern PCs support several such trees of USB devices, usually a few USB 3.0 (5 GBit/s) or USB 3.1 (10 GBit/s) and some legacy USB 2.0 (480 MBit/s) buses just in case.”…”�”}”(hhìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´K hhÙh²hubhë)�”}”(hXvThat master/slave asymmetry was designed-in for a number of reasons, one being ease of use. It is not physically possible to mistake upstream and downstream or it does not matter with a type C plug (or they are built into the peripheral). Also, the host software doesn't need to deal with distributed auto-configuration since the pre-designated master node manages all that.”h]”hXxThat master/slave asymmetry was designed-in for a number of reasons, one being ease of use. It is not physically possible to mistake upstream and downstream or it does not matter with a type C plug (or they are built into the peripheral). Also, the host software doesn’t need to deal with distributed auto-configuration since the pre-designated master node manages all that.”…”�”}”(hhúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KhhÙh²hubhë)�”}”(hXXKernel developers added USB support to Linux early in the 2.2 kernel series and have been developing it further since then. Besides support for each new generation of USB, various host controllers gained support, new drivers for peripherals have been added and advanced features for latency measurement and improved power management introduced.”h]”hXXKernel developers added USB support to Linux early in the 2.2 kernel series and have been developing it further since then. Besides support for each new generation of USB, various host controllers gained support, new drivers for peripherals have been added and advanced features for latency measurement and improved power management introduced.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KhhÙh²hubhë)�”}”(hX,Linux can run inside USB devices as well as on the hosts that control the devices. But USB device drivers running inside those peripherals don't do the same things as the ones running inside hosts, so they've been given a different name: *gadget drivers*. This document does not cover gadget drivers.”h]”(hŒòLinux can run inside USB devices as well as on the hosts that control the devices. But USB device drivers running inside those peripherals don’t do the same things as the ones running inside hosts, so they’ve been given a different name: ”…”�”}”(hjh²hh³Nh´NubhŒemphasis”“”)�”}”(hŒ*gadget drivers*”h]”hŒgadget drivers”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒ.. This document does not cover gadget drivers.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KhhÙh²hubeh}”(h]”Œintroduction-to-usb-on-linux”ah ]”h"]”Œintroduction to usb on linux”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒUSB Host-Side API Model”h]”hŒUSB Host-Side API Model”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj@h²hh³hÃh´K&ubhë)�”}”(hXƒHost-side drivers for USB devices talk to the "usbcore" APIs. There are two. One is intended for *general-purpose* drivers (exposed through driver frameworks), and the other is for drivers that are *part of the core*. Such core drivers include the *hub* driver (which manages trees of USB devices) and several different kinds of *host controller drivers*, which control individual buses.”h]”(hŒeHost-side drivers for USB devices talk to the “usbcoreâ€� APIs. There are two. One is intended for ”…”�”}”(hjQh²hh³Nh´Nubj)�”}”(hŒ*general-purpose*”h]”hŒgeneral-purpose”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjQubhŒT drivers (exposed through driver frameworks), and the other is for drivers that are ”…”�”}”(hjQh²hh³Nh´Nubj)�”}”(hŒ*part of the core*”h]”hŒpart of the core”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjQubhŒ . Such core drivers include the ”…”�”}”(hjQh²hh³Nh´Nubj)�”}”(hŒ*hub*”h]”hŒhub”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjQubhŒL driver (which manages trees of USB devices) and several different kinds of ”…”�”}”(hjQh²hh³Nh´Nubj)�”}”(hŒ*host controller drivers*”h]”hŒhost controller drivers”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjQubhŒ!, which control individual buses.”…”�”}”(hjQh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´K(hj@h²hubhë)�”}”(hŒ;The device model seen by USB drivers is relatively complex.”h]”hŒ;The device model seen by USB drivers is relatively complex.”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´K/hj@h²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒöUSB supports four kinds of data transfers (control, bulk, interrupt, and isochronous). Two of them (control and bulk) use bandwidth as it's available, while the other two (interrupt and isochronous) are scheduled to provide guaranteed bandwidth. ”h]”hë)�”}”(hŒõUSB supports four kinds of data transfers (control, bulk, interrupt, and isochronous). Two of them (control and bulk) use bandwidth as it's available, while the other two (interrupt and isochronous) are scheduled to provide guaranteed bandwidth.”h]”hŒ÷USB supports four kinds of data transfers (control, bulk, interrupt, and isochronous). Two of them (control and bulk) use bandwidth as it’s available, while the other two (interrupt and isochronous) are scheduled to provide guaranteed bandwidth.”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´K1hj¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhj·h²hh³hÃh´Nubj»)�”}”(hX!The device description model includes one or more "configurations" per device, only one of which is active at a time. Devices are supposed to be capable of operating at lower than their top speeds and may provide a BOS descriptor showing the lowest speed they remain fully operational at. ”h]”hë)�”}”(hX The device description model includes one or more "configurations" per device, only one of which is active at a time. Devices are supposed to be capable of operating at lower than their top speeds and may provide a BOS descriptor showing the lowest speed they remain fully operational at.”h]”hX$The device description model includes one or more “configurationsâ€� per device, only one of which is active at a time. Devices are supposed to be capable of operating at lower than their top speeds and may provide a BOS descriptor showing the lowest speed they remain fully operational at.”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´K6hjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhj·h²hh³hÃh´Nubj»)�”}”(hŒ�From USB 3.0 on configurations have one or more "functions", which provide a common functionality and are grouped together for purposes of power management. ”h]”hë)�”}”(hŒœFrom USB 3.0 on configurations have one or more "functions", which provide a common functionality and are grouped together for purposes of power management.”h]”hŒ From USB 3.0 on configurations have one or more “functionsâ€�, which provide a common functionality and are grouped together for purposes of power management.”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Kenum usb_ssp_rate usb_get_maximum_ssp_rate(struct device *dev)”h]”(j1)�”}”(hjh]”hŒenum”…”�”}”(hjS h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjO h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´K„ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hja h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjO h²hh³j` h´K„ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_ssp_rate”h]”hŒ usb_ssp_rate”…”�”}”(hjr h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjo ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jt Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHŒusb_get_maximum_ssp_rate”sbŒc.usb_get_maximum_ssp_rate”†”asbuh1hhjO h²hh³j` h´K„ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj“ h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjO h²hh³j` h´K„ubj„)�”}”(hŒusb_get_maximum_ssp_rate”h]”jŠ)�”}”(hj� h]”hŒusb_get_maximum_ssp_rate”…”�”}”(hj¥ h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¡ ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjO h²hh³j` h´K„ubj¥)�”}”(hŒ(struct device *dev)”h]”j«)�”}”(hŒstruct device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÀ h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj¼ ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÍ h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¼ ubh)�”}”(hhh]”jŠ)�”}”(hŒdevice”h]”hŒdevice”…”�”}”(hjÞ h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÛ ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jà Œmodname”NŒ classname”NjLjO)�”}”jR]”jŽ Œc.usb_get_maximum_ssp_rate”†”asbuh1hhj¼ ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjü h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¼ ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¼ ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¼ ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj¸ ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjO h²hh³j` h´K„ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjK h²hh³j` h´K„ubah}”(h]”jF ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j` h´K„hjH h²hubjü)�”}”(hhh]”hë)�”}”(hŒUGet the signaling rate generation and lane count of a SuperSpeed Plus capable device.”h]”hŒUGet the signaling rate generation and lane count of a SuperSpeed Plus capable device.”…”�”}”(hjA h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´K„hj> h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjH h²hh³j` h´K„ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjY jjY j ‰j!‰j"‰uh1jh²hhj·h³Nh´Nubj$)�”}”(hX/**Parameters** ``struct device *dev`` Pointer to the given USB controller device **Description** If the string from "maximum-speed" property is super-speed-plus-genXxY where 'X' is the generation number and 'Y' is the number of lanes, then this function returns the corresponding enum usb_ssp_rate.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjc h]”hŒ Parameters”…”�”}”(hje h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hja ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kˆhj] ubjD)�”}”(hhh]”jI)�”}”(hŒB``struct device *dev`` Pointer to the given USB controller device ”h]”(jO)�”}”(hŒ``struct device *dev``”h]”jÑ)�”}”(hj‚ h]”hŒstruct device *dev”…”�”}”(hj„ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj€ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´K†hj| ubji)�”}”(hhh]”hë)�”}”(hŒ*Pointer to the given USB controller device”h]”hŒ*Pointer to the given USB controller device”…”�”}”(hj› h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j— h´K†hj˜ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj| ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j— h´K†hjy ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj] ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj½ h]”hŒ Description”…”�”}”(hj¿ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj» ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kˆhj] ubhë)�”}”(hŒÉIf the string from "maximum-speed" property is super-speed-plus-genXxY where 'X' is the generation number and 'Y' is the number of lanes, then this function returns the corresponding enum usb_ssp_rate.”h]”hŒÕIf the string from “maximum-speedâ€� property is super-speed-plus-genXxY where ‘X’ is the generation number and ‘Y’ is the number of lanes, then this function returns the corresponding enum usb_ssp_rate.”…”�”}”(hjÓ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´K‡hj] ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj·h²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_state_string (C function)”Œc.usb_state_string”hNt”auh1jhj·h²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ;const char * usb_state_string (enum usb_device_state state)”h]”j+)�”}”(hŒ9const char *usb_state_string(enum usb_device_state state)”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjþ h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´K›ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjþ h²hh³j h´K›ubjT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjþ h²hh³j h´K›ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj, h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjþ h²hh³j h´K›ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjþ h²hh³j h´K›ubj„)�”}”(hŒusb_state_string”h]”jŠ)�”}”(hŒusb_state_string”h]”hŒusb_state_string”…”�”}”(hjK h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjG ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjþ h²hh³j h´K›ubj¥)�”}”(hŒ(enum usb_device_state state)”h]”j«)�”}”(hŒenum usb_device_state state”h]”(j1)�”}”(hjh]”hŒenum”…”�”}”(hjg h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjc ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjt h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjc ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_device_state”h]”hŒusb_device_state”…”�”}”(hj… h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‚ ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j‡ Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjM sbŒc.usb_state_string”†”asbuh1hhjc ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¥ h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjc ubjŠ)�”}”(hŒstate”h]”hŒstate”…”�”}”(hj³ h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjc ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjþ h²hh³j h´K›ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjú h²hh³j h´K›ubah}”(h]”jõ ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j h´K›hj÷ h²hubjü)�”}”(hhh]”hë)�”}”(hŒ*Returns human readable name for the state.”h]”hŒ*Returns human readable name for the state.”…”�”}”(hjÝ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´K›hjÚ h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj÷ h²hh³j h´K›ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjõ jjõ j ‰j!‰j"‰uh1jh²hhj·h³Nh´Nubj$)�”}”(hŒÐ**Parameters** ``enum usb_device_state state`` The state to return a human-readable name for. If it's not any of the states devices in usb_device_state_string enum, the string UNKNOWN will be returned.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÿ h]”hŒ Parameters”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjý ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´KŸhjù ubjD)�”}”(hhh]”jI)�”}”(hŒº``enum usb_device_state state`` The state to return a human-readable name for. If it's not any of the states devices in usb_device_state_string enum, the string UNKNOWN will be returned.”h]”(jO)�”}”(hŒ``enum usb_device_state state``”h]”jÑ)�”}”(hj h]”hŒenum usb_device_state state”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´K�hj ubji)�”}”(hhh]”hë)�”}”(hŒšThe state to return a human-readable name for. If it's not any of the states devices in usb_device_state_string enum, the string UNKNOWN will be returned.”h]”hŒœThe state to return a human-readable name for. If it’s not any of the states devices in usb_device_state_string enum, the string UNKNOWN will be returned.”…”�”}”(hj7 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kœhj4 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j3 h´K�hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjù ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj·h²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_get_role_switch_default_mode (C function)”Œ"c.usb_get_role_switch_default_mode”hNt”auh1jhj·h²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒFenum usb_dr_mode usb_get_role_switch_default_mode (struct device *dev)”h]”j+)�”}”(hŒEenum usb_dr_mode usb_get_role_switch_default_mode(struct device *dev)”h]”(j1)�”}”(hjh]”hŒenum”…”�”}”(hjx h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjt h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´KÚubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj† h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjt h²hh³j… h´KÚubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_dr_mode”h]”hŒ usb_dr_mode”…”�”}”(hj— h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj” ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j™ Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHŒ usb_get_role_switch_default_mode”sbŒ"c.usb_get_role_switch_default_mode”†”asbuh1hhjt h²hh³j… h´KÚubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¸ h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjt h²hh³j… h´KÚubj„)�”}”(hŒ usb_get_role_switch_default_mode”h]”jŠ)�”}”(hjµ h]”hŒ usb_get_role_switch_default_mode”…”�”}”(hjÊ h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÆ ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjt h²hh³j… h´KÚubj¥)�”}”(hŒ(struct device *dev)”h]”j«)�”}”(hŒstruct device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjå h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjá ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjò h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjá ubh)�”}”(hhh]”jŠ)�”}”(hŒdevice”h]”hŒdevice”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j Œmodname”NŒ classname”NjLjO)�”}”jR]”j³ Œ"c.usb_get_role_switch_default_mode”†”asbuh1hhjá ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj! h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjá ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj/ h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjá ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hj< h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjá ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÝ ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjt h²hh³j… h´KÚubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjp h²hh³j… h´KÚubah}”(h]”jk ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j… h´KÚhjm h²hubjü)�”}”(hhh]”hë)�”}”(hŒ!Get default mode for given device”h]”hŒ!Get default mode for given device”…”�”}”(hjf h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´KÚhjc h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjm h²hh³j… h´KÚubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj~ jj~ j ‰j!‰j"‰uh1jh²hhj·h³Nh´Nubj$)�”}”(hŒÉ**Parameters** ``struct device *dev`` Pointer to the given device **Description** The function gets string from property 'role-switch-default-mode', and returns the corresponding enum usb_dr_mode.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjˆ h]”hŒ Parameters”…”�”}”(hjŠ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj† ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´KÞhj‚ ubjD)�”}”(hhh]”jI)�”}”(hŒ3``struct device *dev`` Pointer to the given device ”h]”(jO)�”}”(hŒ``struct device *dev``”h]”jÑ)�”}”(hj§ h]”hŒstruct device *dev”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¥ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´KÛhj¡ ubji)�”}”(hhh]”hë)�”}”(hŒPointer to the given device”h]”hŒPointer to the given device”…”�”}”(hjÀ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¼ h´KÛhj½ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¡ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¼ h´KÛhjž ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj‚ ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjâ h]”hŒ Description”…”�”}”(hjä h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjà ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´KÝhj‚ ubhë)�”}”(hŒrThe function gets string from property 'role-switch-default-mode', and returns the corresponding enum usb_dr_mode.”h]”hŒvThe function gets string from property ‘role-switch-default-mode’, and returns the corresponding enum usb_dr_mode.”…”�”}”(hjø h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´KÜhj‚ ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj·h²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ usb_decode_interval (C function)”Œc.usb_decode_interval”hNt”auh1jhj·h²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒiunsigned int usb_decode_interval (const struct usb_endpoint_descriptor *epd, enum usb_device_speed speed)”h]”j+)�”}”(hŒhunsigned int usb_decode_interval(const struct usb_endpoint_descriptor *epd, enum usb_device_speed speed)”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj#h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´KîubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj#h²hh³j5h´KîubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj#h²hh³j5h´KîubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj#h²hh³j5h´Kîubj„)�”}”(hŒusb_decode_interval”h]”jŠ)�”}”(hŒusb_decode_interval”h]”hŒusb_decode_interval”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj`ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj#h²hh³j5h´Kîubj¥)�”}”(hŒH(const struct usb_endpoint_descriptor *epd, enum usb_device_speed speed)”h]”(j«)�”}”(hŒ)const struct usb_endpoint_descriptor *epd”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj|ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj|ubj1)�”}”(hjh]”hŒstruct”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj|ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj|ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¶ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j»Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjfsbŒc.usb_decode_interval”†”asbuh1hhj|ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj|ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj|ubjŠ)�”}”(hŒepd”h]”hŒepd”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj|ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjxubj«)�”}”(hŒenum usb_device_speed speed”h]”(j1)�”}”(hjh]”hŒenum”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_device_speed”h]”hŒusb_device_speed”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj(ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j-Œmodname”NŒ classname”NjLjO)�”}”jR]”jÕŒc.usb_decode_interval”†”asbuh1hhj ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ubjŠ)�”}”(hŒspeed”h]”hŒspeed”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjxubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj#h²hh³j5h´Kîubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjh²hh³j5h´Kîubah}”(h]”jah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j5h´Kîhjh²hubjü)�”}”(hhh]”hë)�”}”(hŒ4Decode bInterval into the time expressed in 1us unit”h]”hŒ4Decode bInterval into the time expressed in 1us unit”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kîhj~h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjh²hh³j5h´Kîubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj™jj™j ‰j!‰j"‰uh1jh²hhj·h³Nh´Nubj$)�”}”(hX**Parameters** ``const struct usb_endpoint_descriptor *epd`` The descriptor of the endpoint ``enum usb_device_speed speed`` The speed that the endpoint works as **Description** Function returns the interval expressed in 1us unit for servicing endpoint for data transfers.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj£h]”hŒ Parameters”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kòhj�ubjD)�”}”(hhh]”(jI)�”}”(hŒM``const struct usb_endpoint_descriptor *epd`` The descriptor of the endpoint ”h]”(jO)�”}”(hŒ-``const struct usb_endpoint_descriptor *epd``”h]”jÑ)�”}”(hjÂh]”hŒ)const struct usb_endpoint_descriptor *epd”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÀubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kïhj¼ubji)�”}”(hhh]”hë)�”}”(hŒThe descriptor of the endpoint”h]”hŒThe descriptor of the endpoint”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j×h´KïhjØubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¼ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j×h´Kïhj¹ubjI)�”}”(hŒE``enum usb_device_speed speed`` The speed that the endpoint works as ”h]”(jO)�”}”(hŒ``enum usb_device_speed speed``”h]”jÑ)�”}”(hjûh]”hŒenum usb_device_speed speed”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjùubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kðhjõubji)�”}”(hhh]”hë)�”}”(hŒ$The speed that the endpoint works as”h]”hŒ$The speed that the endpoint works as”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jh´Kðhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjõubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jh´Kðhj¹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj�ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj6h]”hŒ Description”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kòhj�ubhë)�”}”(hŒ^Function returns the interval expressed in 1us unit for servicing endpoint for data transfers.”h]”hŒ^Function returns the interval expressed in 1us unit for servicing endpoint for data transfers.”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Kñhj�ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj·h²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ&of_usb_get_dr_mode_by_phy (C function)”Œc.of_usb_get_dr_mode_by_phy”hNt”auh1jhj·h²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒMenum usb_dr_mode of_usb_get_dr_mode_by_phy (struct device_node *np, int arg0)”h]”j+)�”}”(hŒLenum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0)”h]”(j1)�”}”(hjh]”hŒenum”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjwh²hh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjwh²hh³jˆh´Mubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_dr_mode”h]”hŒ usb_dr_mode”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj—ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jœŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHŒof_usb_get_dr_mode_by_phy”sbŒc.of_usb_get_dr_mode_by_phy”†”asbuh1hhjwh²hh³jˆh´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj»h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjwh²hh³jˆh´Mubj„)�”}”(hŒof_usb_get_dr_mode_by_phy”h]”jŠ)�”}”(hj¸h]”hŒof_usb_get_dr_mode_by_phy”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÉubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjwh²hh³jˆh´Mubj¥)�”}”(hŒ"(struct device_node *np, int arg0)”h]”(j«)�”}”(hŒstruct device_node *np”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjèh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjäubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjäubh)�”}”(hhh]”jŠ)�”}”(hŒ device_node”h]”hŒ device_node”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jŒmodname”NŒ classname”NjLjO)�”}”jR]”j¶Œc.of_usb_get_dr_mode_by_phy”†”asbuh1hhjäubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjäubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjäubjŠ)�”}”(hŒnp”h]”hŒnp”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjäubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjàubj«)�”}”(hŒint arg0”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjTubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjTubjŠ)�”}”(hŒarg0”h]”hŒarg0”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjTubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjàubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjwh²hh³jˆh´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjsh²hh³jˆh´Mubah}”(h]”jnah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jˆh´Mhjph²hubjü)�”}”(hhh]”hë)�”}”(hŒ_Get dual role mode for the controller device which is associated with the given phy device_node”h]”hŒ_Get dual role mode for the controller device which is associated with the given phy device_node”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Mhj›h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjph²hh³jˆh´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¶jj¶j ‰j!‰j"‰uh1jh²hhj·h³Nh´Nubj$)�”}”(hX§**Parameters** ``struct device_node *np`` Pointer to the given phy device_node ``int arg0`` phandle args[0] for phy's with #phy-cells >= 1, or -1 for phys which do not have phy-cells **Description** In dts a usb controller associates with phy devices. The function gets the string from property 'dr_mode' of the controller associated with the given phy device node, and returns the correspondig enum usb_dr_mode.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÀh]”hŒ Parameters”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¾ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´MhjºubjD)�”}”(hhh]”(jI)�”}”(hŒ@``struct device_node *np`` Pointer to the given phy device_node ”h]”(jO)�”}”(hŒ``struct device_node *np``”h]”jÑ)�”}”(hjßh]”hŒstruct device_node *np”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”• h´MhjÙubji)�”}”(hhh]”hë)�”}”(hŒ$Pointer to the given phy device_node”h]”hŒ$Pointer to the given phy device_node”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jôh´Mhjõubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÙubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jôh´MhjÖubjI)�”}”(hŒh``int arg0`` phandle args[0] for phy's with #phy-cells >= 1, or -1 for phys which do not have phy-cells ”h]”(jO)�”}”(hŒ ``int arg0``”h]”jÑ)�”}”(hjh]”hŒint arg0”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Mhjubji)�”}”(hhh]”hë)�”}”(hŒZphandle args[0] for phy's with #phy-cells >= 1, or -1 for phys which do not have phy-cells”h]”hŒ\phandle args[0] for phy’s with #phy-cells >= 1, or -1 for phys which do not have phy-cells”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Mhj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j-h´MhjÖubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjºubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjTh]”hŒ Description”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjRubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Mhjºubhë)�”}”(hŒÖIn dts a usb controller associates with phy devices. The function gets the string from property 'dr_mode' of the controller associated with the given phy device node, and returns the correspondig enum usb_dr_mode.”h]”hŒÚIn dts a usb controller associates with phy devices. The function gets the string from property ‘dr_mode’ of the controller associated with the given phy device node, and returns the correspondig enum usb_dr_mode.”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Mhjºubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj·h²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ$of_usb_host_tpl_support (C function)”Œc.of_usb_host_tpl_support”hNt”auh1jhj·h²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ5bool of_usb_host_tpl_support (struct device_node *np)”h]”j+)�”}”(hŒ4bool of_usb_host_tpl_support(struct device_node *np)”h]”(jT)�”}”(hŒbool”h]”hŒbool”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj•h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´MOubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj•h²hh³j§h´MOubj„)�”}”(hŒof_usb_host_tpl_support”h]”jŠ)�”}”(hŒof_usb_host_tpl_support”h]”hŒof_usb_host_tpl_support”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¶ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj•h²hh³j§h´MOubj¥)�”}”(hŒ(struct device_node *np)”h]”j«)�”}”(hŒstruct device_node *np”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÒubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÒubh)�”}”(hhh]”jŠ)�”}”(hŒ device_node”h]”hŒ device_node”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjñubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jöŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj¼sbŒc.of_usb_host_tpl_support”†”asbuh1hhjÒubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÒubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÒubjŠ)�”}”(hŒnp”h]”hŒnp”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÒubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÎubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj•h²hh³j§h´MOubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj‘h²hh³j§h´MOubah}”(h]”jŒah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j§h´MOhjŽh²hubjü)�”}”(hhh]”hë)�”}”(hŒWto get if Targeted Peripheral List is supported for given targeted hosts (non-PC hosts)”h]”hŒWto get if Targeted Peripheral List is supported for given targeted hosts (non-PC hosts)”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´MOhjVh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjŽh²hh³j§h´MOubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjqjjqj ‰j!‰j"‰uh1jh²hhj·h³Nh´Nubj$)�”}”(hŒš**Parameters** ``struct device_node *np`` Pointer to the given device_node **Description** The function gets if the targeted hosts support TPL or not”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj{h]”hŒ Parameters”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjyubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´MShjuubjD)�”}”(hhh]”jI)�”}”(hŒ<``struct device_node *np`` Pointer to the given device_node ”h]”(jO)�”}”(hŒ``struct device_node *np``”h]”jÑ)�”}”(hjšh]”hŒstruct device_node *np”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´MQhj”ubji)�”}”(hhh]”hë)�”}”(hŒ Pointer to the given device_node”h]”hŒ Pointer to the given device_node”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¯h´MQhj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¯h´MQhj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjuubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÕh]”hŒ Description”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´MShjuubhë)�”}”(hŒ:The function gets if the targeted hosts support TPL or not”h]”hŒ:The function gets if the targeted hosts support TPL or not”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´MRhjuubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj·h²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ#of_usb_update_otg_caps (C function)”Œc.of_usb_update_otg_caps”hNt”auh1jhj·h²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒRint of_usb_update_otg_caps (struct device_node *np, struct usb_otg_caps *otg_caps)”h]”j+)�”}”(hŒQint of_usb_update_otg_caps(struct device_node *np, struct usb_otg_caps *otg_caps)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjh²hh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M\ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjh²hh³j(h´M\ubj„)�”}”(hŒof_usb_update_otg_caps”h]”jŠ)�”}”(hŒof_usb_update_otg_caps”h]”hŒof_usb_update_otg_caps”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj7ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjh²hh³j(h´M\ubj¥)�”}”(hŒ7(struct device_node *np, struct usb_otg_caps *otg_caps)”h]”(j«)�”}”(hŒstruct device_node *np”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjSubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjSubh)�”}”(hhh]”jŠ)�”}”(hŒ device_node”h]”hŒ device_node”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjrubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jwŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj=sbŒc.of_usb_update_otg_caps”†”asbuh1hhjSubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjSubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjSubjŠ)�”}”(hŒnp”h]”hŒnp”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjSubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjOubj«)�”}”(hŒstruct usb_otg_caps *otg_caps”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÅubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÅubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_otg_caps”h]”hŒ usb_otg_caps”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjäubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jéŒmodname”NŒ classname”NjLjO)�”}”jR]”j‘Œc.of_usb_update_otg_caps”†”asbuh1hhjÅubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÅubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÅubjŠ)�”}”(hŒotg_caps”h]”hŒotg_caps”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÅubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjOubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjh²hh³j(h´M\ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjh²hh³j(h´M\ubah}”(h]”j ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j(h´M\hjh²hubjü)�”}”(hhh]”hë)�”}”(hŒHto update usb otg capabilities according to the passed properties in DT.”h]”hŒHto update usb otg capabilities according to the passed properties in DT.”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M\hjGh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjh²hh³j(h´M\ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjbjjbj ‰j!‰j"‰uh1jh²hhj·h³Nh´Nubj$)�”}”(hŒÛ**Parameters** ``struct device_node *np`` Pointer to the given device_node ``struct usb_otg_caps *otg_caps`` Pointer to the target usb_otg_caps to be set **Description** The function updates the otg capabilities”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjlh]”hŒ Parameters”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjjubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M`hjfubjD)�”}”(hhh]”(jI)�”}”(hŒ<``struct device_node *np`` Pointer to the given device_node ”h]”(jO)�”}”(hŒ``struct device_node *np``”h]”jÑ)�”}”(hj‹h]”hŒstruct device_node *np”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M^hj…ubji)�”}”(hhh]”hë)�”}”(hŒ Pointer to the given device_node”h]”hŒ Pointer to the given device_node”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j h´M^hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j h´M^hj‚ubjI)�”}”(hŒO``struct usb_otg_caps *otg_caps`` Pointer to the target usb_otg_caps to be set ”h]”(jO)�”}”(hŒ!``struct usb_otg_caps *otg_caps``”h]”jÑ)�”}”(hjÄh]”hŒstruct usb_otg_caps *otg_caps”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M_hj¾ubji)�”}”(hhh]”hë)�”}”(hŒ,Pointer to the target usb_otg_caps to be set”h]”hŒ,Pointer to the target usb_otg_caps to be set”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÙh´M_hjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¾ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÙh´M_hj‚ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjfubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÿh]”hŒ Description”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjýubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Mahjfubhë)�”}”(hŒ)The function updates the otg capabilities”h]”hŒ)The function updates the otg capabilities”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M`hjfubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj·h²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ%usb_of_get_companion_dev (C function)”Œc.usb_of_get_companion_dev”hNt”auh1jhj·h²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ=struct device * usb_of_get_companion_dev (struct device *dev)”h]”j+)�”}”(hŒ;struct device *usb_of_get_companion_dev(struct device *dev)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj@h²hh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M“ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj@h²hh³jQh´M“ubh)�”}”(hhh]”jŠ)�”}”(hŒdevice”h]”hŒdevice”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj`ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jeŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHŒusb_of_get_companion_dev”sbŒc.usb_of_get_companion_dev”†”asbuh1hhj@h²hh³jQh´M“ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj@h²hh³jQh´M“ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj@h²hh³jQh´M“ubj„)�”}”(hŒusb_of_get_companion_dev”h]”jŠ)�”}”(hj�h]”hŒusb_of_get_companion_dev”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjŸubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj@h²hh³jQh´M“ubj¥)�”}”(hŒ(struct device *dev)”h]”j«)�”}”(hŒstruct device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjºubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjºubh)�”}”(hhh]”jŠ)�”}”(hŒdevice”h]”hŒdevice”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÙubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÞŒmodname”NŒ classname”NjLjO)�”}”jR]”jŒc.usb_of_get_companion_dev”†”asbuh1hhjºubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjºubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjºubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjºubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj¶ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj@h²hh³jQh´M“ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj<h²hh³jQh´M“ubah}”(h]”j7ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jQh´M“hj9h²hubjü)�”}”(hhh]”hë)�”}”(hŒFind the companion device”h]”hŒFind the companion device”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M“hj<h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj9h²hh³jQh´M“ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjWjjWj ‰j!‰j"‰uh1jh²hhj·h³Nh´Nubj$)�”}”(hX5**Parameters** ``struct device *dev`` the device pointer to find a companion **Description** Find the companion device from platform bus. Takes a reference to the returned struct device which needs to be dropped after use. **Return** On success, a pointer to the companion device, ``NULL`` on failure.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjah]”hŒ Parameters”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M—hj[ubjD)�”}”(hhh]”jI)�”}”(hŒ>``struct device *dev`` the device pointer to find a companion ”h]”(jO)�”}”(hŒ``struct device *dev``”h]”jÑ)�”}”(hj€h]”hŒstruct device *dev”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M”hjzubji)�”}”(hhh]”hë)�”}”(hŒ&the device pointer to find a companion”h]”hŒ&the device pointer to find a companion”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j•h´M”hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjzubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j•h´M”hjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj[ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj»h]”hŒ Description”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M–hj[ubhë)�”}”(hŒ,Find the companion device from platform bus.”h]”hŒ,Find the companion device from platform bus.”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M•hj[ubhë)�”}”(hŒTTakes a reference to the returned struct device which needs to be dropped after use.”h]”hŒTTakes a reference to the returned struct device which needs to be dropped after use.”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M—hj[ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjñh]”hŒReturn”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjïubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´Mšhj[ubhë)�”}”(hŒCOn success, a pointer to the companion device, ``NULL`` on failure.”h]”(hŒ/On success, a pointer to the companion device, ”…”�”}”(hjh²hh³Nh´NubjÑ)�”}”(hŒ``NULL``”h]”hŒNULL”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjubhŒ on failure.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ_/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:120: ./drivers/usb/common/common.c”h´M›hj[ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj·h²hh³Nh´Nubhë)�”}”(hŒoIn addition, some functions useful for creating debugging output are defined in ``drivers/usb/common/debug.c``.”h]”(hŒPIn addition, some functions useful for creating debugging output are defined in ”…”�”}”(hj/h²hh³Nh´NubjÑ)�”}”(hŒ``drivers/usb/common/debug.c``”h]”hŒdrivers/usb/common/debug.c”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj/ubhŒ.”…”�”}”(hj/h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´K{hj·h²hubh¶)�”}”(hŒ.. _usb_header:”h]”h}”(h]”h ]”h"]”h$]”h&]”hÁŒ usb-header”uh1hµh´K~hj·h²hh³hÃubeh}”(h]”(Œusb-standard-types”j®eh ]”h"]”(Œusb-standard types”Œ usb_chapter9”eh$]”h&]”uh1hÄhhÆh²hh³hÃh´KnŒexpect_referenced_by_name”}”j`j¤sŒexpect_referenced_by_id”}”j®j¤subhÅ)�”}”(hhh]”(hÊ)�”}”(hŒHost-Side Data Types and Macros”h]”hŒHost-Side Data Types and Macros”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjgh²hh³hÃh´K�ubhë)�”}”(hX The host side API exposes several layers to drivers, some of which are more necessary than others. These support lifecycle models for host side drivers and devices, and support passing buffers through usbcore to some HCD that performs the I/O for the device driver.”h]”hX The host side API exposes several layers to drivers, some of which are more necessary than others. These support lifecycle models for host side drivers and devices, and support passing buffers through usbcore to some HCD that performs the I/O for the device driver.”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Kƒhjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_host_endpoint (C struct)”Œc.usb_host_endpoint”hNt”auh1jhjgh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒusb_host_endpoint”h]”j+)�”}”(hŒstruct usb_host_endpoint”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjœh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjœh²hh³j­h´Kubj„)�”}”(hŒusb_host_endpoint”h]”jŠ)�”}”(hjšh]”hŒusb_host_endpoint”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¼ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjœh²hh³j­h´Kubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj˜h²hh³j­h´Kubah}”(h]”j’ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j­h´Khj•h²hubjü)�”}”(hhh]”hë)�”}”(hŒ'host-side endpoint descriptor and queue”h]”hŒ'host-side endpoint descriptor and queue”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K3hjßh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj•h²hh³j­h´Kubeh}”(h]”h ]”(jŒstruct”eh"]”h$]”h&]”jjjjújjúj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXj**Definition**:: struct usb_host_endpoint { struct usb_endpoint_descriptor desc; struct usb_ss_ep_comp_descriptor ss_ep_comp; struct usb_ssp_isoc_ep_comp_descriptor ssp_isoc_ep_comp; struct usb_eusb2_isoc_ep_comp_descriptor eusb2_isoc_ep_comp; struct list_head urb_list; void *hcpriv; struct ep_device *ep_dev; unsigned char *extra; int extralen; int enabled; int streams; }; **Members** ``desc`` descriptor for this endpoint, wMaxPacketSize in native byteorder ``ss_ep_comp`` SuperSpeed companion descriptor for this endpoint ``ssp_isoc_ep_comp`` SuperSpeedPlus isoc companion descriptor for this endpoint ``eusb2_isoc_ep_comp`` eUSB2 isoc companion descriptor for this endpoint ``urb_list`` urbs queued to this endpoint; maintained by usbcore ``hcpriv`` for use by HCD; typically holds hardware dma queue head (QH) with one or more transfer descriptors (TDs) per urb; must be preserved by core while BW is allocated for the endpoint ``ep_dev`` ep_device for sysfs info ``extra`` descriptors following this endpoint in the configuration ``extralen`` how many bytes of "extra" are valid ``enabled`` URBs may be submitted to this endpoint ``streams`` number of USB-3 streams allocated on the endpoint”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjubhŒ:”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K7hjþubhŒ literal_block”“”)�”}”(hXàstruct usb_host_endpoint { struct usb_endpoint_descriptor desc; struct usb_ss_ep_comp_descriptor ss_ep_comp; struct usb_ssp_isoc_ep_comp_descriptor ssp_isoc_ep_comp; struct usb_eusb2_isoc_ep_comp_descriptor eusb2_isoc_ep_comp; struct list_head urb_list; void *hcpriv; struct ep_device *ep_dev; unsigned char *extra; int extralen; int enabled; int streams; };”h]”hXàstruct usb_host_endpoint { struct usb_endpoint_descriptor desc; struct usb_ss_ep_comp_descriptor ss_ep_comp; struct usb_ssp_isoc_ep_comp_descriptor ssp_isoc_ep_comp; struct usb_eusb2_isoc_ep_comp_descriptor eusb2_isoc_ep_comp; struct list_head urb_list; void *hcpriv; struct ep_device *ep_dev; unsigned char *extra; int extralen; int enabled; int streams; };”…”�”}”hj!sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K9hjþubhë)�”}”(hŒ **Members**”h]”j.)�”}”(hj2h]”hŒMembers”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KGhjþubjD)�”}”(hhh]”(jI)�”}”(hŒJ``desc`` descriptor for this endpoint, wMaxPacketSize in native byteorder ”h]”(jO)�”}”(hŒ``desc``”h]”jÑ)�”}”(hjQh]”hŒdesc”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjOubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K5hjKubji)�”}”(hhh]”hë)�”}”(hŒ@descriptor for this endpoint, wMaxPacketSize in native byteorder”h]”hŒ@descriptor for this endpoint, wMaxPacketSize in native byteorder”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jfh´K5hjgubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jfh´K5hjHubjI)�”}”(hŒA``ss_ep_comp`` SuperSpeed companion descriptor for this endpoint ”h]”(jO)�”}”(hŒ``ss_ep_comp``”h]”jÑ)�”}”(hjŠh]”hŒ ss_ep_comp”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K6hj„ubji)�”}”(hhh]”hë)�”}”(hŒ1SuperSpeed companion descriptor for this endpoint”h]”hŒ1SuperSpeed companion descriptor for this endpoint”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jŸh´K6hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jŸh´K6hjHubjI)�”}”(hŒP``ssp_isoc_ep_comp`` SuperSpeedPlus isoc companion descriptor for this endpoint ”h]”(jO)�”}”(hŒ``ssp_isoc_ep_comp``”h]”jÑ)�”}”(hjÃh]”hŒssp_isoc_ep_comp”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÁubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K7hj½ubji)�”}”(hhh]”hë)�”}”(hŒ:SuperSpeedPlus isoc companion descriptor for this endpoint”h]”hŒ:SuperSpeedPlus isoc companion descriptor for this endpoint”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jØh´K7hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj½ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jØh´K7hjHubjI)�”}”(hŒI``eusb2_isoc_ep_comp`` eUSB2 isoc companion descriptor for this endpoint ”h]”(jO)�”}”(hŒ``eusb2_isoc_ep_comp``”h]”jÑ)�”}”(hjüh]”hŒeusb2_isoc_ep_comp”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjúubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K8hjöubji)�”}”(hhh]”hë)�”}”(hŒ1eUSB2 isoc companion descriptor for this endpoint”h]”hŒ1eUSB2 isoc companion descriptor for this endpoint”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jh´K8hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjöubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jh´K8hjHubjI)�”}”(hŒA``urb_list`` urbs queued to this endpoint; maintained by usbcore ”h]”(jO)�”}”(hŒ ``urb_list``”h]”jÑ)�”}”(hj5h]”hŒurb_list”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K9hj/ubji)�”}”(hhh]”hë)�”}”(hŒ3urbs queued to this endpoint; maintained by usbcore”h]”hŒ3urbs queued to this endpoint; maintained by usbcore”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jJh´K9hjKubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jJh´K9hjHubjI)�”}”(hŒ¾``hcpriv`` for use by HCD; typically holds hardware dma queue head (QH) with one or more transfer descriptors (TDs) per urb; must be preserved by core while BW is allocated for the endpoint ”h]”(jO)�”}”(hŒ ``hcpriv``”h]”jÑ)�”}”(hjnh]”hŒhcpriv”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjlubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KhjÛubji)�”}”(hhh]”hë)�”}”(hŒ8descriptors following this endpoint in the configuration”h]”hŒ8descriptors following this endpoint in the configuration”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jöh´K>hj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÛubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jöh´K>hjHubjI)�”}”(hŒ1``extralen`` how many bytes of "extra" are valid ”h]”(jO)�”}”(hŒ ``extralen``”h]”jÑ)�”}”(hjh]”hŒextralen”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K?hjubji)�”}”(hhh]”hë)�”}”(hŒ#how many bytes of "extra" are valid”h]”hŒ'how many bytes of “extraâ€� are valid”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j/h´K?hj0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j/h´K?hjHubjI)�”}”(hŒ3``enabled`` URBs may be submitted to this endpoint ”h]”(jO)�”}”(hŒ ``enabled``”h]”jÑ)�”}”(hjSh]”hŒenabled”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjQubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K@hjMubji)�”}”(hhh]”hë)�”}”(hŒ&URBs may be submitted to this endpoint”h]”hŒ&URBs may be submitted to this endpoint”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jhh´K@hjiubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjMubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jhh´K@hjHubjI)�”}”(hŒ=``streams`` number of USB-3 streams allocated on the endpoint”h]”(jO)�”}”(hŒ ``streams``”h]”jÑ)�”}”(hjŒh]”hŒstreams”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K@hj†ubji)�”}”(hhh]”hë)�”}”(hŒ1number of USB-3 streams allocated on the endpoint”h]”hŒ1number of USB-3 streams allocated on the endpoint”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KAhj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¡h´K@hjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjþubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÏh]”hŒ Description”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KDhjgh²hubhë)�”}”(hŒ‡USB requests are always queued to a given endpoint, identified by a descriptor within an active interface in a given USB configuration.”h]”hŒ‡USB requests are always queued to a given endpoint, identified by a descriptor within an active interface in a given USB configuration.”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KAhjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_interface (C struct)”Œc.usb_interface”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒ usb_interface”h]”j+)�”}”(hŒstruct usb_interface”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KGubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj h²hh³jh´KGubj„)�”}”(hŒ usb_interface”h]”jŠ)�”}”(hjh]”hŒ usb_interface”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj)ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj h²hh³jh´KGubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjh²hh³jh´KGubah}”(h]”jah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jh´KGhjh²hubjü)�”}”(hhh]”hë)�”}”(hŒwhat usb device drivers talk to”h]”hŒwhat usb device drivers talk to”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K·hjLh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjh²hh³jh´KGubeh}”(h]”h ]”(jŒstruct”eh"]”h$]”h&]”jjjjgjjgj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hX **Definition**:: struct usb_interface { struct usb_host_interface *altsetting; struct usb_host_interface *cur_altsetting; unsigned num_altsetting; struct usb_interface_assoc_descriptor *intf_assoc; int minor; enum usb_interface_condition condition; unsigned sysfs_files_created:1; unsigned ep_devs_created:1; unsigned unregistering:1; unsigned needs_remote_wakeup:1; unsigned needs_altsetting0:1; unsigned needs_binding:1; unsigned resetting_device:1; unsigned authorized:1; enum usb_wireless_status wireless_status; struct work_struct wireless_status_work; struct device dev; struct device *usb_dev; struct work_struct reset_ws; }; **Members** ``altsetting`` array of interface structures, one for each alternate setting that may be selected. Each one includes a set of endpoint configurations. They will be in no particular order. ``cur_altsetting`` the current altsetting. ``num_altsetting`` number of altsettings defined. ``intf_assoc`` interface association descriptor ``minor`` the minor number assigned to this interface, if this interface is bound to a driver that uses the USB major number. If this interface does not use the USB major, this field should be unused. The driver should set this value in the probe() function of the driver, after it has been assigned a minor number from the USB core by calling usb_register_dev(). ``condition`` binding state of the interface: not bound, binding (in probe()), bound to a driver, or unbinding (in disconnect()) ``sysfs_files_created`` sysfs attributes exist ``ep_devs_created`` endpoint child pseudo-devices exist ``unregistering`` flag set when the interface is being unregistered ``needs_remote_wakeup`` flag set when the driver requires remote-wakeup capability during autosuspend. ``needs_altsetting0`` flag set when a set-interface request for altsetting 0 has been deferred. ``needs_binding`` flag set when the driver should be re-probed or unbound following a reset or suspend operation it doesn't support. ``resetting_device`` USB core reset the device, so use alt setting 0 as current; needs bandwidth alloc after reset. ``authorized`` This allows to (de)authorize individual interfaces instead a whole device in contrast to the device authorization. ``wireless_status`` if the USB device uses a receiver/emitter combo, whether the emitter is connected. ``wireless_status_work`` Used for scheduling wireless status changes from atomic context. ``dev`` driver model's view of this device ``usb_dev`` if an interface is bound to the USB major, this will point to the sysfs representation for that device. ``reset_ws`` Used for scheduling resets from atomic context.”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjoubhŒ:”…”�”}”(hjoh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K»hjkubj )�”}”(hX³struct usb_interface { struct usb_host_interface *altsetting; struct usb_host_interface *cur_altsetting; unsigned num_altsetting; struct usb_interface_assoc_descriptor *intf_assoc; int minor; enum usb_interface_condition condition; unsigned sysfs_files_created:1; unsigned ep_devs_created:1; unsigned unregistering:1; unsigned needs_remote_wakeup:1; unsigned needs_altsetting0:1; unsigned needs_binding:1; unsigned resetting_device:1; unsigned authorized:1; enum usb_wireless_status wireless_status; struct work_struct wireless_status_work; struct device dev; struct device *usb_dev; struct work_struct reset_ws; };”h]”hX³struct usb_interface { struct usb_host_interface *altsetting; struct usb_host_interface *cur_altsetting; unsigned num_altsetting; struct usb_interface_assoc_descriptor *intf_assoc; int minor; enum usb_interface_condition condition; unsigned sysfs_files_created:1; unsigned ep_devs_created:1; unsigned unregistering:1; unsigned needs_remote_wakeup:1; unsigned needs_altsetting0:1; unsigned needs_binding:1; unsigned resetting_device:1; unsigned authorized:1; enum usb_wireless_status wireless_status; struct work_struct wireless_status_work; struct device dev; struct device *usb_dev; struct work_struct reset_ws; };”…”�”}”hjŒsbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K½hjkubhë)�”}”(hŒ **Members**”h]”j.)�”}”(hj�h]”hŒMembers”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÓhjkubjD)�”}”(hhh]”(jI)�”}”(hŒ¾``altsetting`` array of interface structures, one for each alternate setting that may be selected. Each one includes a set of endpoint configurations. They will be in no particular order. ”h]”(jO)�”}”(hŒ``altsetting``”h]”jÑ)�”}”(hj¼h]”hŒ altsetting”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K»hj¶ubji)�”}”(hhh]”hë)�”}”(hŒ®array of interface structures, one for each alternate setting that may be selected. Each one includes a set of endpoint configurations. They will be in no particular order.”h]”hŒ®array of interface structures, one for each alternate setting that may be selected. Each one includes a set of endpoint configurations. They will be in no particular order.”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K¹hjÒubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÑh´K»hj³ubjI)�”}”(hŒ+``cur_altsetting`` the current altsetting. ”h]”(jO)�”}”(hŒ``cur_altsetting``”h]”jÑ)�”}”(hjöh]”hŒcur_altsetting”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjôubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K¼hjðubji)�”}”(hhh]”hë)�”}”(hŒthe current altsetting.”h]”hŒthe current altsetting.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j h´K¼hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j h´K¼hj³ubjI)�”}”(hŒ2``num_altsetting`` number of altsettings defined. ”h]”(jO)�”}”(hŒ``num_altsetting``”h]”jÑ)�”}”(hj/h]”hŒnum_altsetting”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K½hj)ubji)�”}”(hhh]”hë)�”}”(hŒnumber of altsettings defined.”h]”hŒnumber of altsettings defined.”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jDh´K½hjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jDh´K½hj³ubjI)�”}”(hŒ0``intf_assoc`` interface association descriptor ”h]”(jO)�”}”(hŒ``intf_assoc``”h]”jÑ)�”}”(hjhh]”hŒ intf_assoc”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjfubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K¾hjbubji)�”}”(hhh]”hë)�”}”(hŒ interface association descriptor”h]”hŒ interface association descriptor”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j}h´K¾hj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjbubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j}h´K¾hj³ubjI)�”}”(hXm``minor`` the minor number assigned to this interface, if this interface is bound to a driver that uses the USB major number. If this interface does not use the USB major, this field should be unused. The driver should set this value in the probe() function of the driver, after it has been assigned a minor number from the USB core by calling usb_register_dev(). ”h]”(jO)�”}”(hŒ ``minor``”h]”jÑ)�”}”(hj¡h]”hŒminor”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÄhj›ubji)�”}”(hhh]”hë)�”}”(hXbthe minor number assigned to this interface, if this interface is bound to a driver that uses the USB major number. If this interface does not use the USB major, this field should be unused. The driver should set this value in the probe() function of the driver, after it has been assigned a minor number from the USB core by calling usb_register_dev().”h]”hXbthe minor number assigned to this interface, if this interface is bound to a driver that uses the USB major number. If this interface does not use the USB major, this field should be unused. The driver should set this value in the probe() function of the driver, after it has been assigned a minor number from the USB core by calling usb_register_dev().”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K¿hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¶h´KÄhj³ubjI)�”}”(hŒ�``condition`` binding state of the interface: not bound, binding (in probe()), bound to a driver, or unbinding (in disconnect()) ”h]”(jO)�”}”(hŒ ``condition``”h]”jÑ)�”}”(hjÛh]”hŒ condition”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÆhjÕubji)�”}”(hhh]”hë)�”}”(hŒrbinding state of the interface: not bound, binding (in probe()), bound to a driver, or unbinding (in disconnect())”h]”hŒrbinding state of the interface: not bound, binding (in probe()), bound to a driver, or unbinding (in disconnect())”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÅhjñubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÕubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jðh´KÆhj³ubjI)�”}”(hŒ/``sysfs_files_created`` sysfs attributes exist ”h]”(jO)�”}”(hŒ``sysfs_files_created``”h]”jÑ)�”}”(hjh]”hŒsysfs_files_created”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÇhjubji)�”}”(hhh]”hë)�”}”(hŒsysfs attributes exist”h]”hŒsysfs attributes exist”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j*h´KÇhj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j*h´KÇhj³ubjI)�”}”(hŒ8``ep_devs_created`` endpoint child pseudo-devices exist ”h]”(jO)�”}”(hŒ``ep_devs_created``”h]”jÑ)�”}”(hjNh]”hŒep_devs_created”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjLubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÈhjHubji)�”}”(hhh]”hë)�”}”(hŒ#endpoint child pseudo-devices exist”h]”hŒ#endpoint child pseudo-devices exist”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jch´KÈhjdubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jch´KÈhj³ubjI)�”}”(hŒD``unregistering`` flag set when the interface is being unregistered ”h]”(jO)�”}”(hŒ``unregistering``”h]”jÑ)�”}”(hj‡h]”hŒ unregistering”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÉhj�ubji)�”}”(hhh]”hë)�”}”(hŒ1flag set when the interface is being unregistered”h]”hŒ1flag set when the interface is being unregistered”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jœh´KÉhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jœh´KÉhj³ubjI)�”}”(hŒg``needs_remote_wakeup`` flag set when the driver requires remote-wakeup capability during autosuspend. ”h]”(jO)�”}”(hŒ``needs_remote_wakeup``”h]”jÑ)�”}”(hjÀh]”hŒneeds_remote_wakeup”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¾ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KËhjºubji)�”}”(hhh]”hë)�”}”(hŒNflag set when the driver requires remote-wakeup capability during autosuspend.”h]”hŒNflag set when the driver requires remote-wakeup capability during autosuspend.”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÊhjÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjºubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÕh´KËhj³ubjI)�”}”(hŒ```needs_altsetting0`` flag set when a set-interface request for altsetting 0 has been deferred. ”h]”(jO)�”}”(hŒ``needs_altsetting0``”h]”jÑ)�”}”(hjúh]”hŒneeds_altsetting0”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÍhjôubji)�”}”(hhh]”hë)�”}”(hŒIflag set when a set-interface request for altsetting 0 has been deferred.”h]”hŒIflag set when a set-interface request for altsetting 0 has been deferred.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÌhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjôubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jh´KÍhj³ubjI)�”}”(hŒ…``needs_binding`` flag set when the driver should be re-probed or unbound following a reset or suspend operation it doesn't support. ”h]”(jO)�”}”(hŒ``needs_binding``”h]”jÑ)�”}”(hj4h]”hŒ needs_binding”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÏhj.ubji)�”}”(hhh]”hë)�”}”(hŒrflag set when the driver should be re-probed or unbound following a reset or suspend operation it doesn't support.”h]”hŒtflag set when the driver should be re-probed or unbound following a reset or suspend operation it doesn’t support.”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÎhjJubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jIh´KÏhj³ubjI)�”}”(hŒt``resetting_device`` USB core reset the device, so use alt setting 0 as current; needs bandwidth alloc after reset. ”h]”(jO)�”}”(hŒ``resetting_device``”h]”jÑ)�”}”(hjnh]”hŒresetting_device”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjlubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÛhjhubji)�”}”(hhh]”hë)�”}”(hŒ^USB core reset the device, so use alt setting 0 as current; needs bandwidth alloc after reset.”h]”hŒ^USB core reset the device, so use alt setting 0 as current; needs bandwidth alloc after reset.”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÚhj„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjhubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jƒh´KÛhj³ubjI)�”}”(hŒ‚``authorized`` This allows to (de)authorize individual interfaces instead a whole device in contrast to the device authorization. ”h]”(jO)�”}”(hŒ``authorized``”h]”jÑ)�”}”(hj¨h]”hŒ authorized”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÑhj¢ubji)�”}”(hhh]”hë)�”}”(hŒrThis allows to (de)authorize individual interfaces instead a whole device in contrast to the device authorization.”h]”hŒrThis allows to (de)authorize individual interfaces instead a whole device in contrast to the device authorization.”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÐhj¾ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j½h´KÑhj³ubjI)�”}”(hŒg``wireless_status`` if the USB device uses a receiver/emitter combo, whether the emitter is connected. ”h]”(jO)�”}”(hŒ``wireless_status``”h]”jÑ)�”}”(hjâh]”hŒwireless_status”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjàubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÓhjÜubji)�”}”(hhh]”hë)�”}”(hŒRif the USB device uses a receiver/emitter combo, whether the emitter is connected.”h]”hŒRif the USB device uses a receiver/emitter combo, whether the emitter is connected.”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÒhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j÷h´KÓhj³ubjI)�”}”(hŒZ``wireless_status_work`` Used for scheduling wireless status changes from atomic context. ”h]”(jO)�”}”(hŒ``wireless_status_work``”h]”jÑ)�”}”(hj h]”hŒwireless_status_work”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÕhj ubji)�”}”(hhh]”hë)�”}”(hŒ@Used for scheduling wireless status changes from atomic context.”h]”hŒ@Used for scheduling wireless status changes from atomic context.”…”�”}”(hj5 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÔhj2 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j1 h´KÕhj³ubjI)�”}”(hŒ+``dev`` driver model's view of this device ”h]”(jO)�”}”(hŒ``dev``”h]”jÑ)�”}”(hjV h]”hŒdev”…”�”}”(hjX h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjT ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÖhjP ubji)�”}”(hhh]”hë)�”}”(hŒ"driver model's view of this device”h]”hŒ$driver model’s view of this device”…”�”}”(hjo h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jk h´KÖhjl ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjP ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jk h´KÖhj³ubjI)�”}”(hŒt``usb_dev`` if an interface is bound to the USB major, this will point to the sysfs representation for that device. ”h]”(jO)�”}”(hŒ ``usb_dev``”h]”jÑ)�”}”(hj� h]”hŒusb_dev”…”�”}”(hj‘ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj� ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KØhj‰ ubji)�”}”(hhh]”hë)�”}”(hŒgif an interface is bound to the USB major, this will point to the sysfs representation for that device.”h]”hŒgif an interface is bound to the USB major, this will point to the sysfs representation for that device.”…”�”}”(hj¨ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´K×hj¥ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‰ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¤ h´KØhj³ubjI)�”}”(hŒ<``reset_ws`` Used for scheduling resets from atomic context.”h]”(jO)�”}”(hŒ ``reset_ws``”h]”jÑ)�”}”(hjÉ h]”hŒreset_ws”…”�”}”(hjË h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÇ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KØhjà ubji)�”}”(hhh]”hë)�”}”(hŒ/Used for scheduling resets from atomic context.”h]”hŒ/Used for scheduling resets from atomic context.”…”�”}”(hjâ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÙhjß ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjà ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÞ h´KØhj³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjkubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj !h]”hŒ Description”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj !ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÜhjgh²hubhë)�”}”(hXíUSB device drivers attach to interfaces on a physical device. Each interface encapsulates a single high level function, such as feeding an audio stream to a speaker or reporting a change in a volume control. Many USB devices only have one interface. The protocol used to talk to an interface's endpoints can be defined in a usb "class" specification, or by a product's vendor. The (default) control endpoint is part of every interface, but is never listed among the interface's descriptors.”h]”hX÷USB device drivers attach to interfaces on a physical device. Each interface encapsulates a single high level function, such as feeding an audio stream to a speaker or reporting a change in a volume control. Many USB devices only have one interface. The protocol used to talk to an interface’s endpoints can be defined in a usb “classâ€� specification, or by a product’s vendor. The (default) control endpoint is part of every interface, but is never listed among the interface’s descriptors.”…”�”}”(hj"!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´KÛhjgh²hubhë)�”}”(hŒŒThe driver that is bound to the interface can use standard driver model calls such as dev_get_drvdata() on the dev member of this structure.”h]”hŒŒThe driver that is bound to the interface can use standard driver model calls such as dev_get_drvdata() on the dev member of this structure.”…”�”}”(hj1!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Kãhjgh²hubhë)�”}”(hX½Each interface may have alternate settings. The initial configuration of a device sets altsetting 0, but the device driver can change that setting using usb_set_interface(). Alternate settings are often used to control the use of periodic endpoints, such as by having different endpoints use different amounts of reserved USB bandwidth. All standards-conformant USB devices that use isochronous endpoints will use them in non-default settings.”h]”hX½Each interface may have alternate settings. The initial configuration of a device sets altsetting 0, but the device driver can change that setting using usb_set_interface(). Alternate settings are often used to control the use of periodic endpoints, such as by having different endpoints use different amounts of reserved USB bandwidth. All standards-conformant USB devices that use isochronous endpoints will use them in non-default settings.”…”�”}”(hj@!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Kæhjgh²hubhë)�”}”(hXaThe USB specification says that alternate setting numbers must run from 0 to one less than the total number of alternate settings. But some devices manage to mess this up, and the structures aren't necessarily stored in numerical order anyhow. Use usb_altnum_to_altsetting() to look up an alternate setting in the altsetting array based on its number.”h]”hXcThe USB specification says that alternate setting numbers must run from 0 to one less than the total number of alternate settings. But some devices manage to mess this up, and the structures aren’t necessarily stored in numerical order anyhow. Use usb_altnum_to_altsetting() to look up an alternate setting in the altsetting array based on its number.”…”�”}”(hjO!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Kîhjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_set_intfdata (C function)”Œc.usb_set_intfdata”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒ>void usb_set_intfdata (struct usb_interface *intf, void *data)”h]”j+)�”}”(hŒ=void usb_set_intfdata(struct usb_interface *intf, void *data)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjw!h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjs!h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj†!h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjs!h²hh³j…!h´Mubj„)�”}”(hŒusb_set_intfdata”h]”jŠ)�”}”(hŒusb_set_intfdata”h]”hŒusb_set_intfdata”…”�”}”(hj˜!h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj”!ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjs!h²hh³j…!h´Mubj¥)�”}”(hŒ((struct usb_interface *intf, void *data)”h]”(j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj´!h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj°!ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÁ!h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj°!ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjÒ!h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÏ!ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÔ!Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjš!sbŒc.usb_set_intfdata”†”asbuh1hhj°!ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjò!h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj°!ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj°!ubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hj "h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj°!ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj¬!ubj«)�”}”(hŒ void *data”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj&"h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj""ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj4"h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj""ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjB"h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj""ubjŠ)�”}”(hŒdata”h]”hŒdata”…”�”}”(hjO"h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj""ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj¬!ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjs!h²hh³j…!h´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjo!h²hh³j…!h´Mubah}”(h]”jj!ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j…!h´Mhjl!h²hubjü)�”}”(hhh]”hë)�”}”(hŒ0associate driver-specific data with an interface”h]”hŒ0associate driver-specific data with an interface”…”�”}”(hjy"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjv"h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjl!h²hh³j…!h´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj‘"jj‘"j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXq**Parameters** ``struct usb_interface *intf`` USB interface ``void *data`` driver data **Description** Drivers can use this function in their probe() callbacks to associate driver-specific data with an interface. Note that there is generally no need to clear the driver-data pointer even if some drivers do so for historical or implementation-specific reasons.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj›"h]”hŒ Parameters”…”�”}”(hj�"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj™"ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M!hj•"ubjD)�”}”(hhh]”(jI)�”}”(hŒ-``struct usb_interface *intf`` USB interface ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjº"h]”hŒstruct usb_interface *intf”…”�”}”(hj¼"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¸"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj´"ubji)�”}”(hhh]”hë)�”}”(hŒ USB interface”h]”hŒ USB interface”…”�”•}”(hjÓ"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÏ"h´MhjÐ"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj´"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÏ"h´Mhj±"ubjI)�”}”(hŒ``void *data`` driver data ”h]”(jO)�”}”(hŒ``void *data``”h]”jÑ)�”}”(hjó"h]”hŒ void *data”…”�”}”(hjõ"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjñ"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjí"ubji)�”}”(hhh]”hë)�”}”(hŒ driver data”h]”hŒ driver data”…”�”}”(hj #h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j#h´Mhj #ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjí"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j#h´Mhj±"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj•"ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj.#h]”hŒ Description”…”�”}”(hj0#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj,#ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M!hj•"ubhë)�”}”(hŒmDrivers can use this function in their probe() callbacks to associate driver-specific data with an interface.”h]”hŒmDrivers can use this function in their probe() callbacks to associate driver-specific data with an interface.”…”�”}”(hjD#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M hj•"ubhë)�”}”(hŒ“Note that there is generally no need to clear the driver-data pointer even if some drivers do so for historical or implementation-specific reasons.”h]”hŒ“Note that there is generally no need to clear the driver-data pointer even if some drivers do so for historical or implementation-specific reasons.”…”�”}”(hjS#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M#hj•"ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_interface_cache (C struct)”Œc.usb_interface_cache”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒusb_interface_cache”h]”j+)�”}”(hŒstruct usb_interface_cache”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj‚#h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj~#h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M)ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�#h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj~#h²hh³j�#h´M)ubj„)�”}”(hŒusb_interface_cache”h]”jŠ)�”}”(hj|#h]”hŒusb_interface_cache”…”�”}”(hj¢#h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjž#ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj~#h²hh³j�#h´M)ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjz#h²hh³j�#h´M)ubah}”(h]”ju#ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j�#h´M)hjw#h²hubjü)�”}”(hhh]”hë)�”}”(hŒ.long-term representation of a device interface”h]”hŒ.long-term representation of a device interface”…”�”}”(hjÄ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MUhjÁ#h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjw#h²hh³j�#h´M)ubeh}”(h]”h ]”(jŒstruct”eh"]”h$]”h&]”jjjjÜ#jjÜ#j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXÎ**Definition**:: struct usb_interface_cache { unsigned num_altsetting; struct kref ref; struct usb_host_interface altsetting[]; }; **Members** ``num_altsetting`` number of altsettings defined. ``ref`` reference counter. ``altsetting`` variable-length array of interface structures, one for each alternate setting that may be selected. Each one includes a set of endpoint configurations. They will be in no particular order.”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjè#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjä#ubhŒ:”…”�”}”(hjä#h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MYhjà#ubj )�”}”(hŒ}struct usb_interface_cache { unsigned num_altsetting; struct kref ref; struct usb_host_interface altsetting[]; };”h]”hŒ}struct usb_interface_cache { unsigned num_altsetting; struct kref ref; struct usb_host_interface altsetting[]; };”…”�”}”hj$sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M[hjà#ubhë)�”}”(hŒ **Members**”h]”j.)�”}”(hj$h]”hŒMembers”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mahjà#ubjD)�”}”(hhh]”(jI)�”}”(hŒ2``num_altsetting`` number of altsettings defined. ”h]”(jO)�”}”(hŒ``num_altsetting``”h]”jÑ)�”}”(hj1$h]”hŒnum_altsetting”…”�”}”(hj3$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj/$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MWhj+$ubji)�”}”(hhh]”hë)�”}”(hŒnumber of altsettings defined.”h]”hŒnumber of altsettings defined.”…”�”}”(hjJ$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jF$h´MWhjG$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj+$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jF$h´MWhj($ubjI)�”}”(hŒ``ref`` reference counter. ”h]”(jO)�”}”(hŒ``ref``”h]”jÑ)�”}”(hjj$h]”hŒref”…”�”}”(hjl$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjh$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MXhjd$ubji)�”}”(hhh]”hë)�”}”(hŒreference counter.”h]”hŒreference counter.”…”�”}”(hjƒ$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j$h´MXhj€$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjd$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j$h´MXhj($ubjI)�”}”(hŒÍ``altsetting`` variable-length array of interface structures, one for each alternate setting that may be selected. Each one includes a set of endpoint configurations. They will be in no particular order.”h]”(jO)�”}”(hŒ``altsetting``”h]”jÑ)�”}”(hj£$h]”hŒ altsetting”…”�”}”(hj¥$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¡$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MZhj�$ubji)�”}”(hhh]”hë)�”}”(hŒ¾variable-length array of interface structures, one for each alternate setting that may be selected. Each one includes a set of endpoint configurations. They will be in no particular order.”h]”hŒ¾variable-length array of interface structures, one for each alternate setting that may be selected. Each one includes a set of endpoint configurations. They will be in no particular order.”…”�”}”(hj¼$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MYhj¹$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�$ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¸$h´MZhj($ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjà#ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjæ$h]”hŒ Description”…”�”}”(hjè$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjä$ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M^hjgh²hubhë)�”}”(hXUThese structures persist for the lifetime of a usb_device, unlike struct usb_interface (which persists only as long as its configuration is installed). The altsetting arrays can be accessed through these structures at any time, permitting comparison of configurations and providing support for the /sys/kernel/debug/usb/devices pseudo-file.”h]”hXUThese structures persist for the lifetime of a usb_device, unlike struct usb_interface (which persists only as long as its configuration is installed). The altsetting arrays can be accessed through these structures at any time, permitting comparison of configurations and providing support for the /sys/kernel/debug/usb/devices pseudo-file.”…”�”}”(hjü$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M[hjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_host_config (C struct)”Œc.usb_host_config”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒusb_host_config”h]”j+)�”}”(hŒstruct usb_host_config”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj$%h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj %h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MdubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj2%h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj %h²hh³j1%h´Mdubj„)�”}”(hŒusb_host_config”h]”jŠ)�”}”(hj%h]”hŒusb_host_config”…”�”}”(hjD%h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj@%ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj %h²hh³j1%h´Mdubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj%h²hh³j1%h´Mdubah}”(h]”j%ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j1%h´Mdhj%h²hubjü)�”}”(hhh]”hë)�”}”(hŒ*representation of a device's configuration”h]”hŒ,representation of a device’s configuration”…”�”}”(hjf%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mphjc%h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj%h²hh³j1%h´Mdubeh}”(h]”h ]”(jŒstruct”eh"]”h$]”h&]”jjjj~%jj~%j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXÕ**Definition**:: struct usb_host_config { struct usb_config_descriptor desc; char *string; struct usb_interface_assoc_descriptor *intf_assoc[USB_MAXIADS]; struct usb_interface *interface[USB_MAXINTERFACES]; struct usb_interface_cache *intf_cache[USB_MAXINTERFACES]; unsigned char *extra; int extralen; }; **Members** ``desc`` the device's configuration descriptor. ``string`` pointer to the cached version of the iConfiguration string, if present for this configuration. ``intf_assoc`` list of any interface association descriptors in this config ``interface`` array of pointers to usb_interface structures, one for each interface in the configuration. The number of interfaces is stored in desc.bNumInterfaces. These pointers are valid only while the configuration is active. ``intf_cache`` array of pointers to usb_interface_cache structures, one for each interface in the configuration. These structures exist for the entire life of the device. ``extra`` pointer to buffer containing all extra descriptors associated with this configuration (those preceding the first interface descriptor). ``extralen`` length of the extra descriptors buffer.”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjŠ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj†%ubhŒ:”…”�”}”(hj†%h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mthj‚%ubj )�”}”(hX>struct usb_host_config { struct usb_config_descriptor desc; char *string; struct usb_interface_assoc_descriptor *intf_assoc[USB_MAXIADS]; struct usb_interface *interface[USB_MAXINTERFACES]; struct usb_interface_cache *intf_cache[USB_MAXINTERFACES]; unsigned char *extra; int extralen; };”h]”hX>struct usb_host_config { struct usb_config_descriptor desc; char *string; struct usb_interface_assoc_descriptor *intf_assoc[USB_MAXIADS]; struct usb_interface *interface[USB_MAXINTERFACES]; struct usb_interface_cache *intf_cache[USB_MAXINTERFACES]; unsigned char *extra; int extralen; };”…”�”}”hj£%sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mvhj‚%ubhë)�”}”(hŒ **Members**”h]”j.)�”}”(hj´%h]”hŒMembers”…”�”}”(hj¶%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj²%ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M€hj‚%ubjD)�”}”(hhh]”(jI)�”}”(hŒ0``desc`` the device's configuration descriptor. ”h]”(jO)�”}”(hŒ``desc``”h]”jÑ)�”}”(hjÓ%h]”hŒdesc”…”�”}”(hjÕ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÑ%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MrhjÍ%ubji)�”}”(hhh]”hë)�”}”(hŒ&the device's configuration descriptor.”h]”hŒ(the device’s configuration descriptor.”…”�”}”(hjì%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jè%h´Mrhjé%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÍ%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jè%h´MrhjÊ%ubjI)�”}”(hŒj``string`` pointer to the cached version of the iConfiguration string, if present for this configuration. ”h]”(jO)�”}”(hŒ ``string``”h]”jÑ)�”}”(hj &h]”hŒstring”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj &ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mthj&ubji)�”}”(hhh]”hë)�”}”(hŒ^pointer to the cached version of the iConfiguration string, if present for this configuration.”h]”hŒ^pointer to the cached version of the iConfiguration string, if present for this configuration.”…”�”}”(hj%&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mshj"&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j!&h´MthjÊ%ubjI)�”}”(hŒL``intf_assoc`` list of any interface association descriptors in this config ”h]”(jO)�”}”(hŒ``intf_assoc``”h]”jÑ)�”}”(hjF&h]”hŒ intf_assoc”…”�”}”(hjH&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjD&ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Muhj@&ubji)�”}”(hhh]”hë)�”}”(hŒhub_delay + wHubDelay + tTPTransmissionDelay (40ns) Will be used as wValue for SetIsochDelay requests. ``use_generic_driver`` ask driver core to reprobe using the generic driver.”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj2(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj.(ubhŒ:”…”�”}”(hj.(h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MIhj*(ubj )�”}”(hX©struct usb_device { int devnum; char devpath[16]; u32 route; enum usb_device_state state; enum usb_device_speed speed; unsigned int rx_lanes; unsigned int tx_lanes; enum usb_ssp_rate ssp_rate; struct usb_tt *tt; int ttport; unsigned int toggle[2]; struct usb_device *parent; struct usb_bus *bus; struct usb_host_endpoint ep0; struct device dev; struct usb_device_descriptor descriptor; struct usb_host_bos *bos; struct usb_host_config *config; struct usb_host_config *actconfig; struct usb_host_endpoint *ep_in[16]; struct usb_host_endpoint *ep_out[16]; char **rawdescriptors; unsigned short bus_mA; u8 portnum; u8 level; u8 devaddr; unsigned can_submit:1; unsigned persist_enabled:1; unsigned reset_in_progress:1; unsigned have_langid:1; unsigned authorized:1; unsigned authenticated:1; unsigned lpm_capable:1; unsigned lpm_devinit_allow:1; unsigned usb2_hw_lpm_capable:1; unsigned usb2_hw_lpm_besl_capable:1; unsigned usb2_hw_lpm_enabled:1; unsigned usb2_hw_lpm_allowed:1; unsigned usb3_lpm_u1_enabled:1; unsigned usb3_lpm_u2_enabled:1; int string_langid; char *product; char *manufacturer; char *serial; struct list_head filelist; int maxchild; u32 quirks; atomic_t urbnum; unsigned long active_duration; unsigned long connect_time; unsigned do_remote_wakeup:1; unsigned reset_resume:1; unsigned port_is_suspended:1; unsigned offload_pm_locked:1; int offload_usage; spinlock_t offload_lock; enum usb_link_tunnel_mode tunnel_mode; struct device_link *usb4_link; int slot_id; struct usb2_lpm_parameters l1_params; struct usb3_lpm_parameters u1_params; struct usb3_lpm_parameters u2_params; unsigned lpm_disable_count; u16 hub_delay; unsigned use_generic_driver:1; };”h]”hX©struct usb_device { int devnum; char devpath[16]; u32 route; enum usb_device_state state; enum usb_device_speed speed; unsigned int rx_lanes; unsigned int tx_lanes; enum usb_ssp_rate ssp_rate; struct usb_tt *tt; int ttport; unsigned int toggle[2]; struct usb_device *parent; struct usb_bus *bus; struct usb_host_endpoint ep0; struct device dev; struct usb_device_descriptor descriptor; struct usb_host_bos *bos; struct usb_host_config *config; struct usb_host_config *actconfig; struct usb_host_endpoint *ep_in[16]; struct usb_host_endpoint *ep_out[16]; char **rawdescriptors; unsigned short bus_mA; u8 portnum; u8 level; u8 devaddr; unsigned can_submit:1; unsigned persist_enabled:1; unsigned reset_in_progress:1; unsigned have_langid:1; unsigned authorized:1; unsigned authenticated:1; unsigned lpm_capable:1; unsigned lpm_devinit_allow:1; unsigned usb2_hw_lpm_capable:1; unsigned usb2_hw_lpm_besl_capable:1; unsigned usb2_hw_lpm_enabled:1; unsigned usb2_hw_lpm_allowed:1; unsigned usb3_lpm_u1_enabled:1; unsigned usb3_lpm_u2_enabled:1; int string_langid; char *product; char *manufacturer; char *serial; struct list_head filelist; int maxchild; u32 quirks; atomic_t urbnum; unsigned long active_duration; unsigned long connect_time; unsigned do_remote_wakeup:1; unsigned reset_resume:1; unsigned port_is_suspended:1; unsigned offload_pm_locked:1; int offload_usage; spinlock_t offload_lock; enum usb_link_tunnel_mode tunnel_mode; struct device_link *usb4_link; int slot_id; struct usb2_lpm_parameters l1_params; struct usb3_lpm_parameters u1_params; struct usb3_lpm_parameters u2_params; unsigned lpm_disable_count; u16 hub_delay; unsigned use_generic_driver:1; };”…”�”}”hjK(sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MKhj*(ubhë)�”}”(hŒ **Members**”h]”j.)�”}”(hj\(h]”hŒMembers”…”�”}”(hj^(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjZ(ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hj*(ubjD)�”}”(hhh]”(jI)�”}”(hŒ/``devnum`` device number; address on a USB bus ”h]”(jO)�”}”(hŒ ``devnum``”h]”jÑ)�”}”(hj{(h]”hŒdevnum”…”�”}”(hj}(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjy(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MGhju(ubji)�”}”(hhh]”hë)�”}”(hŒ#device number; address on a USB bus”h]”hŒ#device number; address on a USB bus”…”�”}”(hj”(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j�(h´MGhj‘(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhju(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j�(h´MGhjr(ubjI)�”}”(hŒC``devpath`` device ID string for use in messages (e.g., /port/...) ”h]”(jO)�”}”(hŒ ``devpath``”h]”jÑ)�”}”(hj´(h]”hŒdevpath”…”�”}”(hj¶(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj²(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MHhj®(ubji)�”}”(hhh]”hë)�”}”(hŒ6device ID string for use in messages (e.g., /port/...)”h]”hŒ6device ID string for use in messages (e.g., /port/...)”…”�”}”(hjÍ(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÉ(h´MHhjÊ(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj®(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÉ(h´MHhjr(ubjI)�”}”(hŒ5``route`` tree topology hex string for use with xHCI ”h]”(jO)�”}”(hŒ ``route``”h]”jÑ)�”}”(hjí(h]”hŒroute”…”�”}”(hjï(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjë(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MIhjç(ubji)�”}”(hhh]”hë)�”}”(hŒ*tree topology hex string for use with xHCI”h]”hŒ*tree topology hex string for use with xHCI”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j)h´MIhj)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjç(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j)h´MIhjr(ubjI)�”}”(hŒ7``state`` device state: configured, not attached, etc. ”h]”(jO)�”}”(hŒ ``state``”h]”jÑ)�”}”(hj&)h]”hŒstate”…”�”}”(hj()h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj$)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MJhj )ubji)�”}”(hhh]”hë)�”}”(hŒ,device state: configured, not attached, etc.”h]”hŒ,device state: configured, not attached, etc.”…”�”}”(hj?)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j;)h´MJhj<)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj )ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j;)h´MJhjr(ubjI)�”}”(hŒ1``speed`` device speed: high/full/low (or error) ”h]”(jO)�”}”(hŒ ``speed``”h]”jÑ)�”}”(hj_)h]”hŒspeed”…”�”}”(hja)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj])ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MKhjY)ubji)�”}”(hhh]”hë)�”}”(hŒ&device speed: high/full/low (or error)”h]”hŒ&device speed: high/full/low (or error)”…”�”}”(hjx)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jt)h´MKhju)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjY)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jt)h´MKhjr(ubjI)�”}”(hŒG``rx_lanes`` number of rx lanes in use, USB 3.2 adds dual-lane support ”h]”(jO)�”}”(hŒ ``rx_lanes``”h]”jÑ)�”}”(hj˜)h]”hŒrx_lanes”…”�”}”(hjš)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj–)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MLhj’)ubji)�”}”(hhh]”hë)�”}”(hŒ9number of rx lanes in use, USB 3.2 adds dual-lane support”h]”hŒ9number of rx lanes in use, USB 3.2 adds dual-lane support”…”�”}”(hj±)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j­)h´MLhj®)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj’)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j­)h´MLhjr(ubjI)�”}”(hŒG``tx_lanes`` number of tx lanes in use, USB 3.2 adds dual-lane support ”h]”(jO)�”}”(hŒ ``tx_lanes``”h]”jÑ)�”}”(hjÑ)h]”hŒtx_lanes”…”�”}”(hjÓ)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÏ)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MMhjË)ubji)�”}”(hhh]”hë)�”}”(hŒ9number of tx lanes in use, USB 3.2 adds dual-lane support”h]”hŒ9number of tx lanes in use, USB 3.2 adds dual-lane support”…”�”}”(hjê)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jæ)h´MMhjç)ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjË)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jæ)h´MMhjr(ubjI)�”}”(hŒ?``ssp_rate`` SuperSpeed Plus phy signaling rate and lane count ”h]”(jO)�”}”(hŒ ``ssp_rate``”h]”jÑ)�”}”(hj *h]”hŒssp_rate”…”�”}”(hj *h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MNhj*ubji)�”}”(hhh]”hë)�”}”(hŒ1SuperSpeed Plus phy signaling rate and lane count”h]”hŒ1SuperSpeed Plus phy signaling rate and lane count”…”�”}”(hj#*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j*h´MNhj *ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j*h´MNhjr(ubjI)�”}”(hŒP``tt`` Transaction Translator info; used with low/full speed dev, highspeed hub ”h]”(jO)�”}”(hŒ``tt``”h]”jÑ)�”}”(hjC*h]”hŒtt”…”�”}”(hjE*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjA*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MOhj=*ubji)�”}”(hhh]”hë)�”}”(hŒHTransaction Translator info; used with low/full speed dev, highspeed hub”h]”hŒHTransaction Translator info; used with low/full speed dev, highspeed hub”…”�”}”(hj\*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jX*h´MOhjY*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj=*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jX*h´MOhjr(ubjI)�”}”(hŒ&``ttport`` device port on that tt hub ”h]”(jO)�”}”(hŒ ``ttport``”h]”jÑ)�”}”(hj|*h]”hŒttport”…”�”}”(hj~*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjz*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MPhjv*ubji)�”}”(hhh]”hë)�”}”(hŒdevice port on that tt hub”h]”hŒdevice port on that tt hub”…”�”}”(hj•*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j‘*h´MPhj’*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjv*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‘*h´MPhjr(ubjI)�”}”(hŒK``toggle`` one bit for each endpoint, with ([0] = IN, [1] = OUT) endpoints ”h]”(jO)�”}”(hŒ ``toggle``”h]”jÑ)�”}”(hjµ*h]”hŒtoggle”…”�”}”(hj·*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj³*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MQhj¯*ubji)�”}”(hhh]”hë)�”}”(hŒ?one bit for each endpoint, with ([0] = IN, [1] = OUT) endpoints”h]”hŒ?one bit for each endpoint, with ([0] = IN, [1] = OUT) endpoints”…”�”}”(hjÎ*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÊ*h´MQhjË*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¯*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÊ*h´MQhjr(ubjI)�”}”(hŒ*``parent`` our hub, unless we're the root ”h]”(jO)�”}”(hŒ ``parent``”h]”jÑ)�”}”(hjî*h]”hŒparent”…”�”}”(hjð*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjì*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MRhjè*ubji)�”}”(hhh]”hë)�”}”(hŒour hub, unless we're the root”h]”hŒ our hub, unless we’re the root”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j+h´MRhj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjè*ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j+h´MRhjr(ubjI)�”}”(hŒ``bus`` bus we're part of ”h]”(jO)�”}”(hŒ``bus``”h]”jÑ)�”}”(hj'+h]”hŒbus”…”�”}”(hj)+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj%+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MShj!+ubji)�”}”(hhh]”hë)�”}”(hŒbus we're part of”h]”hŒbus we’re part of”…”�”}”(hj@+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j<+h´MShj=+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj!+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j<+h´MShjr(ubjI)�”}”(hŒ/``ep0`` endpoint 0 data (default control pipe) ”h]”(jO)�”}”(hŒ``ep0``”h]”jÑ)�”}”(hj`+h]”hŒep0”…”�”}”(hjb+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj^+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MThjZ+ubji)�”}”(hhh]”hë)�”}”(hŒ&endpoint 0 data (default control pipe)”h]”hŒ&endpoint 0 data (default control pipe)”…”�”}”(hjy+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ju+h´MThjv+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjZ+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³ju+h´MThjr(ubjI)�”}”(hŒ!``dev`` generic device interface ”h]”(jO)�”}”(hŒ``dev``”h]”jÑ)�”}”(hj™+h]”hŒdev”…”�”}”(hj›+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj—+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MUhj“+ubji)�”}”(hhh]”hë)�”}”(hŒgeneric device interface”h]”hŒgeneric device interface”…”�”}”(hj²+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j®+h´MUhj¯+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj“+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j®+h´MUhjr(ubjI)�”}”(hŒ%``descriptor`` USB device descriptor ”h]”(jO)�”}”(hŒ``descriptor``”h]”jÑ)�”}”(hjÒ+h]”hŒ descriptor”…”�”}”(hjÔ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÐ+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MVhjÌ+ubji)�”}”(hhh]”hë)�”}”(hŒUSB device descriptor”h]”hŒUSB device descriptor”…”�”}”(hjë+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jç+h´MVhjè+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÌ+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jç+h´MVhjr(ubjI)�”}”(hŒ&``bos`` USB device BOS descriptor set ”h]”(jO)�”}”(hŒ``bos``”h]”jÑ)�”}”(hj ,h]”hŒbos”…”�”}”(hj ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj ,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MWhj,ubji)�”}”(hhh]”hë)�”}”(hŒUSB device BOS descriptor set”h]”hŒUSB device BOS descriptor set”…”�”}”(hj$,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j ,h´MWhj!,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j ,h´MWhjr(ubjI)�”}”(hŒ'``config`` all of the device's configs ”h]”(jO)�”}”(hŒ ``config``”h]”jÑ)�”}”(hjD,h]”hŒconfig”…”�”}”(hjF,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjB,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MXhj>,ubji)�”}”(hhh]”hë)�”}”(hŒall of the device's configs”h]”hŒall of the device’s configs”…”�”}”(hj],h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jY,h´MXhjZ,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj>,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jY,h´MXhjr(ubjI)�”}”(hŒ'``actconfig`` the active configuration ”h]”(jO)�”}”(hŒ ``actconfig``”h]”jÑ)�”}”(hj},h]”hŒ actconfig”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj{,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MYhjw,ubji)�”}”(hhh]”hë)�”}”(hŒthe active configuration”h]”hŒthe active configuration”…”�”}”(hj–,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j’,h´MYhj“,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjw,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j’,h´MYhjr(ubjI)�”}”(hŒ ``ep_in`` array of IN endpoints ”h]”(jO)�”}”(hŒ ``ep_in``”h]”jÑ)�”}”(hj¶,h]”hŒep_in”…”�”}”(hj¸,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj´,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MZhj°,ubji)�”}”(hhh]”hë)�”}”(hŒarray of IN endpoints”h]”hŒarray of IN endpoints”…”�”}”(hjÏ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jË,h´MZhjÌ,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj°,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jË,h´MZhjr(ubjI)�”}”(hŒ"``ep_out`` array of OUT endpoints ”h]”(jO)�”}”(hŒ ``ep_out``”h]”jÑ)�”}”(hjï,h]”hŒep_out”…”�”}”(hjñ,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjí,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M[hjé,ubji)�”}”(hhh]”hë)�”}”(hŒarray of OUT endpoints”h]”hŒarray of OUT endpoints”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j-h´M[hj-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjé,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j-h´M[hjr(ubjI)�”}”(hŒ3``rawdescriptors`` raw descriptors for each config ”h]”(jO)�”}”(hŒ``rawdescriptors``”h]”jÑ)�”}”(hj(-h]”hŒrawdescriptors”…”�”}”(hj*-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj&-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M\hj"-ubji)�”}”(hhh]”hë)�”}”(hŒraw descriptors for each config”h]”hŒraw descriptors for each config”…”�”}”(hjA-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j=-h´M\hj>-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj"-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j=-h´M\hjr(ubjI)�”}”(hŒ*``bus_mA`` Current available from the bus ”h]”(jO)�”}”(hŒ ``bus_mA``”h]”jÑ)�”}”(hja-h]”hŒbus_mA”…”�”}”(hjc-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj_-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M]hj[-ubji)�”}”(hhh]”hë)�”}”(hŒCurrent available from the bus”h]”hŒCurrent available from the bus”…”�”}”(hjz-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jv-h´M]hjw-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj[-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jv-h´M]hjr(ubjI)�”}”(hŒ*``portnum`` parent port number (origin 1) ”h]”(jO)�”}”(hŒ ``portnum``”h]”jÑ)�”}”(hjš-h]”hŒportnum”…”�”}”(hjœ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj˜-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M^hj”-ubji)�”}”(hhh]”hë)�”}”(hŒparent port number (origin 1)”h]”hŒparent port number (origin 1)”…”�”}”(hj³-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¯-h´M^hj°-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj”-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¯-h´M^hjr(ubjI)�”}”(hŒ&``level`` number of USB hub ancestors ”h]”(jO)�”}”(hŒ ``level``”h]”jÑ)�”}”(hjÓ-h]”hŒlevel”…”�”}”(hjÕ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÑ-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M_hjÍ-ubji)�”}”(hhh]”hë)�”}”(hŒnumber of USB hub ancestors”h]”hŒnumber of USB hub ancestors”…”�”}”(hjì-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jè-h´M_hjé-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÍ-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jè-h´M_hjr(ubjI)�”}”(hŒI``devaddr`` device address, XHCI: assigned by HW, others: same as devnum ”h]”(jO)�”}”(hŒ ``devaddr``”h]”jÑ)�”}”(hj .h]”hŒdevaddr”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj .ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M`hj.ubji)�”}”(hhh]”hë)�”}”(hŒ/h´Mihjr(ubjI)�”}”(hŒ/``authenticated`` Crypto authentication passed ”h]”(jO)�”}”(hŒ``authenticated``”h]”jÑ)�”}”(hjc/h]”hŒ authenticated”…”�”}”(hje/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhja/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mjhj]/ubji)�”}”(hhh]”hë)�”}”(hŒCrypto authentication passed”h]”hŒCrypto authentication passed”…”�”}”(hj|/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jx/h´Mjhjy/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj]/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jx/h´Mjhjr(ubjI)�”}”(hŒ$``lpm_capable`` device supports LPM ”h]”(jO)�”}”(hŒ``lpm_capable``”h]”jÑ)�”}”(hjœ/h]”hŒ lpm_capable”…”�”}”(hjž/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjš/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mmhj–/ubji)�”}”(hhh]”hë)�”}”(hŒdevice supports LPM”h]”hŒdevice supports LPM”…”�”}”(hjµ/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j±/h´Mmhj²/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj–/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j±/h´Mmhjr(ubjI)�”}”(hŒP``lpm_devinit_allow`` Allow USB3 device initiated LPM, exit latency is in range ”h]”(jO)�”}”(hŒ``lpm_devinit_allow``”h]”jÑ)�”}”(hjÕ/h]”hŒlpm_devinit_allow”…”�”}”(hj×/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÓ/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MnhjÏ/ubji)�”}”(hhh]”hë)�”}”(hŒ9Allow USB3 device initiated LPM, exit latency is in range”h]”hŒ9Allow USB3 device initiated LPM, exit latency is in range”…”�”}”(hjî/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jê/h´Mnhjë/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÏ/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jê/h´Mnhjr(ubjI)�”}”(hŒ=``usb2_hw_lpm_capable`` device can perform USB2 hardware LPM ”h]”(jO)�”}”(hŒ``usb2_hw_lpm_capable``”h]”jÑ)�”}”(hj0h]”hŒusb2_hw_lpm_capable”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj 0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mohj0ubji)�”}”(hhh]”hë)�”}”(hŒ$device can perform USB2 hardware LPM”h]”hŒ$device can perform USB2 hardware LPM”…”�”}”(hj'0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j#0h´Mohj$0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj0ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j#0h´Mohjr(ubjI)�”}”(hŒG``usb2_hw_lpm_besl_capable`` device can perform USB2 hardware BESL LPM ”h]”(jO)�”}”(hŒ``usb2_hw_lpm_besl_capable``”h]”jÑ)�”}”(hjG0h]”hŒusb2_hw_lpm_besl_capable”…”�”}”(hjI0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjE0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MphjA0ubji)�”}”(hhh]”hë)�”}”(hŒ)device can perform USB2 hardware BESL LPM”h]”hŒ)device can perform USB2 hardware BESL LPM”…”�”}”(hj`0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j\0h´Mphj]0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjA0ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j\0h´Mphjr(ubjI)�”}”(hŒ5``usb2_hw_lpm_enabled`` USB2 hardware LPM is enabled ”h]”(jO)�”}”(hŒ``usb2_hw_lpm_enabled``”h]”jÑ)�”}”(hj€0h]”hŒusb2_hw_lpm_enabled”…”�”}”(hj‚0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj~0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mqhjz0ubji)�”}”(hhh]”hë)�”}”(hŒUSB2 hardware LPM is enabled”h]”hŒUSB2 hardware LPM is enabled”…”�”}”(hj™0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j•0h´Mqhj–0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjz0ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j•0h´Mqhjr(ubjI)�”}”(hŒC``usb2_hw_lpm_allowed`` Userspace allows USB 2.0 LPM to be enabled ”h]”(jO)�”}”(hŒ``usb2_hw_lpm_allowed``”h]”jÑ)�”}”(hj¹0h]”hŒusb2_hw_lpm_allowed”…”�”}”(hj»0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj·0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mrhj³0ubji)�”}”(hhh]”hë)�”}”(hŒ*Userspace allows USB 2.0 LPM to be enabled”h]”hŒ*Userspace allows USB 2.0 LPM to be enabled”…”�”}”(hjÒ0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÎ0h´MrhjÏ0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj³0ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÎ0h´Mrhjr(ubjI)�”}”(hŒ5``usb3_lpm_u1_enabled`` USB3 hardware U1 LPM enabled ”h]”(jO)�”}”(hŒ``usb3_lpm_u1_enabled``”h]”jÑ)�”}”(hjò0h]”hŒusb3_lpm_u1_enabled”…”�”}”(hjô0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjð0ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mshjì0ubji)�”}”(hhh]”hë)�”}”(hŒUSB3 hardware U1 LPM enabled”h]”hŒUSB3 hardware U1 LPM enabled”…”�”}”(hj 1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j1h´Mshj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjì0ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j1h´Mshjr(ubjI)�”}”(hŒ5``usb3_lpm_u2_enabled`` USB3 hardware U2 LPM enabled ”h]”(jO)�”}”(hŒ``usb3_lpm_u2_enabled``”h]”jÑ)�”}”(hj+1h]”hŒusb3_lpm_u2_enabled”…”�”}”(hj-1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj)1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mthj%1ubji)�”}”(hhh]”hë)�”}”(hŒUSB3 hardware U2 LPM enabled”h]”hŒUSB3 hardware U2 LPM enabled”…”�”}”(hjD1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j@1h´MthjA1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj%1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j@1h´Mthjr(ubjI)�”}”(hŒ*``string_langid`` language ID for strings ”h]”(jO)�”}”(hŒ``string_langid``”h]”jÑ)�”}”(hjd1h]”hŒ string_langid”…”�”}”(hjf1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjb1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Muhj^1ubji)�”}”(hhh]”hë)�”}”(hŒlanguage ID for strings”h]”hŒlanguage ID for strings”…”�”}”(hj}1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jy1h´Muhjz1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj^1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jy1h´Muhjr(ubjI)�”}”(hŒ1``product`` iProduct string, if present (static) ”h]”(jO)�”}”(hŒ ``product``”h]”jÑ)�”}”(hj�1h]”hŒproduct”…”�”}”(hjŸ1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj›1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mvhj—1ubji)�”}”(hhh]”hë)�”}”(hŒ$iProduct string, if present (static)”h]”hŒ$iProduct string, if present (static)”…”�”}”(hj¶1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j²1h´Mvhj³1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj—1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j²1h´Mvhjr(ubjI)�”}”(hŒ;``manufacturer`` iManufacturer string, if present (static) ”h]”(jO)�”}”(hŒ``manufacturer``”h]”jÑ)�”}”(hjÖ1h]”hŒ manufacturer”…”�”}”(hjØ1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÔ1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MwhjÐ1ubji)�”}”(hhh]”hë)�”}”(hŒ)iManufacturer string, if present (static)”h]”hŒ)iManufacturer string, if present (static)”…”�”}”(hjï1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jë1h´Mwhjì1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÐ1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jë1h´Mwhjr(ubjI)�”}”(hŒ5``serial`` iSerialNumber string, if present (static) ”h]”(jO)�”}”(hŒ ``serial``”h]”jÑ)�”}”(hj2h]”hŒserial”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj 2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mxhj 2ubji)�”}”(hhh]”hë)�”}”(hŒ)iSerialNumber string, if present (static)”h]”hŒ)iSerialNumber string, if present (static)”…”�”}”(hj(2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j$2h´Mxhj%2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj 2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j$2h´Mxhjr(ubjI)�”}”(hŒ6``filelist`` usbfs files that are open to this device ”h]”(jO)�”}”(hŒ ``filelist``”h]”jÑ)�”}”(hjH2h]”hŒfilelist”…”�”}”(hjJ2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjF2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MyhjB2ubji)�”}”(hhh]”hë)�”}”(hŒ(usbfs files that are open to this device”h]”hŒ(usbfs files that are open to this device”…”�”}”(hja2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j]2h´Myhj^2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjB2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j]2h´Myhjr(ubjI)�”}”(hŒ$``maxchild`` number of ports if hub ”h]”(jO)�”}”(hŒ ``maxchild``”h]”jÑ)�”}”(hj�2h]”hŒmaxchild”…”�”}”(hjƒ2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mzhj{2ubji)�”}”(hhh]”hë)�”}”(hŒnumber of ports if hub”h]”hŒnumber of ports if hub”…”�”}”(hjš2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j–2h´Mzhj—2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj{2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j–2h´Mzhjr(ubjI)�”}”(hŒ&``quirks`` quirks of the whole device ”h]”(jO)�”}”(hŒ ``quirks``”h]”jÑ)�”}”(hjº2h]”hŒquirks”…”�”}”(hj¼2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¸2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M{hj´2ubji)�”}”(hhh]”hë)�”}”(hŒquirks of the whole device”• h]”hŒquirks of the whole device”…”�”}”(hjÓ2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÏ2h´M{hjÐ2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj´2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÏ2h´M{hjr(ubjI)�”}”(hŒ9``urbnum`` number of URBs submitted for the whole device ”h]”(jO)�”}”(hŒ ``urbnum``”h]”jÑ)�”}”(hjó2h]”hŒurbnum”…”�”}”(hjõ2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjñ2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M|hjí2ubji)�”}”(hhh]”hë)�”}”(hŒ-number of URBs submitted for the whole device”h]”hŒ-number of URBs submitted for the whole device”…”�”}”(hj 3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j3h´M|hj 3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjí2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j3h´M|hjr(ubjI)�”}”(hŒ7``active_duration`` total time device is not suspended ”h]”(jO)�”}”(hŒ``active_duration``”h]”jÑ)�”}”(hj,3h]”hŒactive_duration”…”�”}”(hj.3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj*3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M}hj&3ubji)�”}”(hhh]”hë)�”}”(hŒ"total time device is not suspended”h]”hŒ"total time device is not suspended”…”�”}”(hjE3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jA3h´M}hjB3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj&3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jA3h´M}hjr(ubjI)�”}”(hŒ1``connect_time`` time device was first connected ”h]”(jO)�”}”(hŒ``connect_time``”h]”jÑ)�”}”(hje3h]”hŒ connect_time”…”�”}”(hjg3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjc3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M~hj_3ubji)�”}”(hhh]”hë)�”}”(hŒtime device was first connected”h]”hŒtime device was first connected”…”�”}”(hj~3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jz3h´M~hj{3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj_3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jz3h´M~hjr(ubjI)�”}”(hŒ5``do_remote_wakeup`` remote wakeup should be enabled ”h]”(jO)�”}”(hŒ``do_remote_wakeup``”h]”jÑ)�”}”(hjž3h]”hŒdo_remote_wakeup”…”�”}”(hj 3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjœ3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj˜3ubji)�”}”(hhh]”hë)�”}”(hŒremote wakeup should be enabled”h]”hŒremote wakeup should be enabled”…”�”}”(hj·3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j³3h´Mhj´3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj˜3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j³3h´Mhjr(ubjI)�”}”(hŒ/``reset_resume`` needs reset instead of resume ”h]”(jO)�”}”(hŒ``reset_resume``”h]”jÑ)�”}”(hj×3h]”hŒ reset_resume”…”�”}”(hjÙ3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÕ3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M€hjÑ3ubji)�”}”(hhh]”hë)�”}”(hŒneeds reset instead of resume”h]”hŒneeds reset instead of resume”…”�”}”(hjð3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jì3h´M€hjí3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÑ3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jì3h´M€hjr(ubjI)�”}”(hŒ@``port_is_suspended`` the upstream port is suspended (L2 or U3) ”h]”(jO)�”}”(hŒ``port_is_suspended``”h]”jÑ)�”}”(hj4h]”hŒport_is_suspended”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hj 4ubji)�”}”(hhh]”hë)�”}”(hŒ)the upstream port is suspended (L2 or U3)”h]”hŒ)the upstream port is suspended (L2 or U3)”…”�”}”(hj)4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j%4h´M�hj&4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj 4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j%4h´M�hjr(ubjI)�”}”(hŒL``offload_pm_locked`` prevents offload_usage changes during PM transitions. ”h]”(jO)�”}”(hŒ``offload_pm_locked``”h]”jÑ)�”}”(hjI4h]”hŒoffload_pm_locked”…”�”}”(hjK4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjG4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M‚hjC4ubji)�”}”(hhh]”hë)�”}”(hŒ5prevents offload_usage changes during PM transitions.”h]”hŒ5prevents offload_usage changes during PM transitions.”…”�”}”(hjb4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j^4h´M‚hj_4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjC4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j^4h´M‚hjr(ubjI)�”}”(hŒM``offload_usage`` number of offload activities happening on this usb device. ”h]”(jO)�”}”(hŒ``offload_usage``”h]”jÑ)�”}”(hj‚4h]”hŒ offload_usage”…”�”}”(hj„4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj€4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mƒhj|4ubji)�”}”(hhh]”hë)�”}”(hŒ:number of offload activities happening on this usb device.”h]”hŒ:number of offload activities happening on this usb device.”…”�”}”(hj›4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j—4h´Mƒhj˜4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj|4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j—4h´Mƒhjr(ubjI)�”}”(hŒ>``offload_lock`` protects offload_usage and offload_pm_locked ”h]”(jO)�”}”(hŒ``offload_lock``”h]”jÑ)�”}”(hj»4h]”hŒ offload_lock”…”�”}”(hj½4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¹4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M„hjµ4ubji)�”}”(hhh]”hë)�”}”(hŒ,protects offload_usage and offload_pm_locked”h]”hŒ,protects offload_usage and offload_pm_locked”…”�”}”(hjÔ4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÐ4h´M„hjÑ4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjµ4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÐ4h´M„hjr(ubjI)�”}”(hŒ8``tunnel_mode`` Connection native or tunneled over USB4 ”h]”(jO)�”}”(hŒ``tunnel_mode``”h]”jÑ)�”}”(hjô4h]”hŒ tunnel_mode”…”�”}”(hjö4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjò4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mkhjî4ubji)�”}”(hhh]”hë)�”}”(hŒ'Connection native or tunneled over USB4”h]”hŒ'Connection native or tunneled over USB4”…”�”}”(hj 5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j 5h´Mkhj 5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjî4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j 5h´Mkhjr(ubjI)�”}”(hŒ5``usb4_link`` device link to the USB4 host interface ”h]”(jO)�”}”(hŒ ``usb4_link``”h]”jÑ)�”}”(hj-5h]”hŒ usb4_link”…”�”}”(hj/5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj+5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mlhj'5ubji)�”}”(hhh]”hë)�”}”(hŒ&device link to the USB4 host interface”h]”hŒ&device link to the USB4 host interface”…”�”}”(hjF5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jB5h´MlhjC5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj'5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jB5h´Mlhjr(ubjI)�”}”(hŒ%``slot_id`` Slot ID assigned by xHCI ”h]”(jO)�”}”(hŒ ``slot_id``”h]”jÑ)�”}”(hjf5h]”hŒslot_id”…”�”}”(hjh5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjd5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M…hj`5ubji)�”}”(hhh]”hë)�”}”(hŒSlot ID assigned by xHCI”h]”hŒSlot ID assigned by xHCI”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j{5h´M…hj|5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj`5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j{5h´M…hjr(ubjI)�”}”(hŒP``l1_params`` best effor service latency for USB2 L1 LPM state, and L1 timeout. ”h]”(jO)�”}”(hŒ ``l1_params``”h]”jÑ)�”}”(hjŸ5h]”hŒ l1_params”…”�”}”(hj¡5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj�5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M†hj™5ubji)�”}”(hhh]”hë)�”}”(hŒAbest effor service latency for USB2 L1 LPM state, and L1 timeout.”h]”hŒAbest effor service latency for USB2 L1 LPM state, and L1 timeout.”…”�”}”(hj¸5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j´5h´M†hjµ5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj™5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j´5h´M†hjr(ubjI)�”}”(hŒO``u1_params`` exit latencies for USB3 U1 LPM state, and hub-initiated timeout. ”h]”(jO)�”}”(hŒ ``u1_params``”h]”jÑ)�”}”(hjØ5h]”hŒ u1_params”…”�”}”(hjÚ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÖ5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M‡hjÒ5ubji)�”}”(hhh]”hë)�”}”(hŒ@exit latencies for USB3 U1 LPM state, and hub-initiated timeout.”h]”hŒ@exit latencies for USB3 U1 LPM state, and hub-initiated timeout.”…”�”}”(hjñ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jí5h´M‡hjî5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÒ5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jí5h´M‡hjr(ubjI)�”}”(hŒO``u2_params`` exit latencies for USB3 U2 LPM state, and hub-initiated timeout. ”h]”(jO)�”}”(hŒ ``u2_params``”h]”jÑ)�”}”(hj6h]”hŒ u2_params”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mˆhj 6ubji)�”}”(hhh]”hë)�”}”(hŒ@exit latencies for USB3 U2 LPM state, and hub-initiated timeout.”h]”hŒ@exit latencies for USB3 U2 LPM state, and hub-initiated timeout.”…”�”}”(hj*6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j&6h´Mˆhj'6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj 6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j&6h´Mˆhjr(ubjI)�”}”(hX$``lpm_disable_count`` Ref count used by usb_disable_lpm() and usb_enable_lpm() to keep track of the number of functions that require USB 3.0 Link Power Management to be disabled for this usb_device. This count should only be manipulated by those functions, with the bandwidth_mutex is held. ”h]”(jO)�”}”(hŒ``lpm_disable_count``”h]”jÑ)�”}”(hjJ6h]”hŒlpm_disable_count”…”�”}”(hjL6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjH6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MŒhjD6ubji)�”}”(hhh]”hë)�”}”(hX Ref count used by usb_disable_lpm() and usb_enable_lpm() to keep track of the number of functions that require USB 3.0 Link Power Management to be disabled for this usb_device. This count should only be manipulated by those functions, with the bandwidth_mutex is held.”h]”hX Ref count used by usb_disable_lpm() and usb_enable_lpm() to keep track of the number of functions that require USB 3.0 Link Power Management to be disabled for this usb_device. This count should only be manipulated by those functions, with the bandwidth_mutex is held.”…”�”}”(hjc6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M‰hj`6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjD6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j_6h´MŒhjr(ubjI)�”}”(hŒ™``hub_delay`` cached value consisting of: parent->hub_delay + wHubDelay + tTPTransmissionDelay (40ns) Will be used as wValue for SetIsochDelay requests. ”h]”(jO)�”}”(hŒ ``hub_delay``”h]”jÑ)�”}”(hj„6h]”hŒ hub_delay”…”�”}”(hj†6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‚6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hj~6ubji)�”}”(hhh]”hë)�”}”(hŒŠcached value consisting of: parent->hub_delay + wHubDelay + tTPTransmissionDelay (40ns) Will be used as wValue for SetIsochDelay requests.”h]”hŒŠcached value consisting of: parent->hub_delay + wHubDelay + tTPTransmissionDelay (40ns) Will be used as wValue for SetIsochDelay requests.”…”�”}”(hj�6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hjš6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj~6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j™6h´M�hjr(ubjI)�”}”(hŒK``use_generic_driver`` ask driver core to reprobe using the generic driver.”h]”(jO)�”}”(hŒ``use_generic_driver``”h]”jÑ)�”}”(hj¾6h]”hŒuse_generic_driver”…”�”}”(hjÀ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¼6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hj¸6ubji)�”}”(hhh]”hë)�”}”(hŒ4ask driver core to reprobe using the generic driver.”h]”hŒ4ask driver core to reprobe using the generic driver.”…”�”}”(hj×6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hjÔ6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¸6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÓ6h´M�hjr(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj*(ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ **Notes**”h]”j.)�”}”(hj7h]”hŒNotes”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÿ6ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M“hjgh²hubhë)�”}”(hŒ[Usbcore drivers should not set usbdev->state directly. Instead use usb_set_device_state().”h]”hŒ[Usbcore drivers should not set usbdev->state directly. Instead use usb_set_device_state().”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M‘hjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ usb_hub_for_each_child (C macro)”Œc.usb_hub_for_each_child”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒusb_hub_for_each_child”h]”j+)�”}”(hŒusb_hub_for_each_child”h]”j„)�”}”(hŒusb_hub_for_each_child”h]”jŠ)�”}”(hj97h]”hŒusb_hub_for_each_child”…”�”}”(hjC7h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj?7ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj;7h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj77h²hh³jV7h´Mubah}”(h]”j27ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jV7h´Mhj47h²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhj47h²hh³jV7h´Mubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjjo7jjo7j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ/``usb_hub_for_each_child (hdev, port1, child)``”h]”jÑ)�”}”(hju7h]”hŒ+usb_hub_for_each_child (hdev, port1, child)”…”�”}”(hjw7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjs7ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubhŒ block_quote”“”)�”}”(hŒ*iterate over all child devices on the hub ”h]”hë)�”}”(hŒ)iterate over all child devices on the hub”h]”hŒ)iterate over all child devices on the hub”…”�”}”(hj‘7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj�7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jŸ7h´Mhjgh²hubj$)�”}”(hŒ’**Parameters** ``hdev`` USB device belonging to the usb hub ``port1`` portnum associated with child device ``child`` child device pointer”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¬7h]”hŒ Parameters”…”�”}”(hj®7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjª7ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj¦7ubjD)�”}”(hhh]”(jI)�”}”(hŒ-``hdev`` USB device belonging to the usb hub ”h]”(jO)�”}”(hŒ``hdev``”h]”jÑ)�”}”(hjË7h]”hŒhdev”…”�”}”(hjÍ7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÉ7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjÅ7ubji)�”}”(hhh]”hë)�”}”(hŒ#USB device belonging to the usb hub”h]”hŒ#USB device belonging to the usb hub”…”�”}”(hjä7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jà7h´Mhjá7ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÅ7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jà7h´MhjÂ7ubjI)�”}”(hŒ/``port1`` portnum associated with child device ”h]”(jO)�”}”(hŒ ``port1``”h]”jÑ)�”}”(hj8h]”hŒport1”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjþ7ubji)�”}”(hhh]”hë)�”}”(hŒ$portnum associated with child device”h]”hŒ$portnum associated with child device”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j8h´Mhj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjþ7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j8h´MhjÂ7ubjI)�”}”(hŒ``child`` child device pointer”h]”(jO)�”}”(hŒ ``child``”h]”jÑ)�”}”(hj=8h]”hŒchild”…”�”}”(hj?8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj;8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj78ubji)�”}”(hhh]”hë)�”}”(hŒchild device pointer”h]”hŒchild device pointer”…”�”}”(hjV8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjS8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj78ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jR8h´MhjÂ7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj¦7ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ"usb_interface_claimed (C function)”Œc.usb_interface_claimed”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒ7int usb_interface_claimed (struct usb_interface *iface)”h]”j+)�”}”(hŒ6int usb_interface_claimed(struct usb_interface *iface)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj—8h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj“8h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¦8h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj“8h²hh³j¥8h´M�ubj„)�”}”(hŒusb_interface_claimed”h]”jŠ)�”}”(hŒusb_interface_claimed”h]”hŒusb_interface_claimed”…”�”}”(hj¸8h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj´8ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj“8h²hh³j¥8h´M�ubj¥)�”}”(hŒ(struct usb_interface *iface)”h]”j«)�”}”(hŒstruct usb_interface *iface”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÔ8h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÐ8ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjá8h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÐ8ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjò8h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjï8ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jô8Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjº8sbŒc.usb_interface_claimed”†”asbuh1hhjÐ8ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÐ8ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj 9h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÐ8ubjŠ)�”}”(hŒiface”h]”hŒiface”…”�”}”(hj-9h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÐ8ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÌ8ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj“8h²hh³j¥8h´M�ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj�8h²hh³j¥8h´M�ubah}”(h]”jŠ8ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j¥8h´M�hjŒ8h²hubjü)�”}”(hhh]”hë)�”}”(hŒ(returns true iff an interface is claimed”h]”hŒ(returns true iff an interface is claimed”…”�”}”(hjW9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hjT9h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjŒ8h²hh³j¥8h´M�ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjo9jjo9j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXX**Parameters** ``struct usb_interface *iface`` the interface being checked **Return** ``true`` (nonzero) iff the interface is claimed, else ``false`` (zero). **Note** Callers must own the driver model's usb bus readlock. So driver probe() entries don't need extra locking, but other call contexts may need to explicitly claim that lock.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjy9h]”hŒ Parameters”…”�”}”(hj{9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjw9ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M“hjs9ubjD)�”}”(hhh]”jI)�”}”(hŒ<``struct usb_interface *iface`` the interface being checked ”h]”(jO)�”}”(hŒ``struct usb_interface *iface``”h]”jÑ)�”}”(hj˜9h]”hŒstruct usb_interface *iface”…”�”}”(hjš9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj–9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hj’9ubji)�”}”(hhh]”hë)�”}”(hŒthe interface being checked”h]”hŒthe interface being checked”…”�”}”(hj±9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j­9h´M�hj®9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj’9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j­9h´M�hj�9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjs9ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÓ9h]”hŒReturn”…”�”}”(hjÕ9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÑ9ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M’hjs9ubhë)�”}”(hŒG``true`` (nonzero) iff the interface is claimed, else ``false`` (zero).”h]”(jÑ)�”}”(hŒ``true``”h]”hŒtrue”…”�”}”(hjí9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjé9ubhŒ. (nonzero) iff the interface is claimed, else ”…”�”}”(hjé9h²hh³Nh´NubjÑ)�”}”(hŒ ``false``”h]”hŒfalse”…”�”}”(hjÿ9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjé9ubhŒ (zero).”…”�”}”(hjé9h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M’hjs9ubhë)�”}”(hŒ**Note**”h]”j.)�”}”(hj:h]”hŒNote”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M•hjs9ubhë)�”}”(hŒªCallers must own the driver model's usb bus readlock. So driver probe() entries don't need extra locking, but other call contexts may need to explicitly claim that lock.”h]”hŒ®Callers must own the driver model’s usb bus readlock. So driver probe() entries don’t need extra locking, but other call contexts may need to explicitly claim that lock.”…”�”}”(hj0:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M•hjs9ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_make_path (C function)”Œc.usb_make_path”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒBint usb_make_path (struct usb_device *dev, char *buf, size_t size)”h]”j+)�”}”(hŒAint usb_make_path(struct usb_device *dev, char *buf, size_t size)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj_:h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj[:h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¾ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjn:h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj[:h²hh³jm:h´M¾ubj„)�”}”(hŒ usb_make_path”h]”jŠ)�”}”(hŒ usb_make_path”h]”hŒ usb_make_path”…”�”}”(hj€:h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj|:ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj[:h²hh³jm:h´M¾ubj¥)�”}”(hŒ0(struct usb_device *dev, char *buf, size_t size)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjœ:h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj˜:ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj©:h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj˜:ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjº:h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj·:ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¼:Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj‚:sbŒc.usb_make_path”†”asbuh1hhj˜:ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÚ:h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj˜:ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjè:h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj˜:ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjõ:h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj˜:ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj”:ubj«)�”}”(hŒ char *buf”h]”(jT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj ;ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ;ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj*;h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj ;ubjŠ)�”}”(hŒbuf”h]”hŒbuf”…”�”}”(hj7;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ;ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj”:ubj«)�”}”(hŒ size_t size”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒsize_t”h]”hŒsize_t”…”�”}”(hjS;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjP;ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jU;Œmodname”NŒ classname”NjLjO)�”}”jR]”jÖ:Œc.usb_make_path”†”asbuh1hhjL;ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjq;h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjL;ubjŠ)�”}”(hŒsize”h]”hŒsize”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjL;ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj”:ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj[:h²hh³jm:h´M¾ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjW:h²hh³jm:h´M¾ubah}”(h]”jR:ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jm:h´M¾hjT:h²hubjü)�”}”(hhh]”hë)�”}”(hŒ*returns stable device path in the usb tree”h]”hŒ*returns stable device path in the usb tree”…”�”}”(hj©;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¾hj¦;h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjT:h²hh³jm:h´M¾ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÁ;jjÁ;j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXý**Parameters** ``struct usb_device *dev`` the device whose path is being constructed ``char *buf`` where to put the string ``size_t size`` how big is "buf"? **Return** Length of the string (> 0) or negative if size was too small. **Note** This identifier is intended to be "stable", reflecting physical paths in hardware such as physical bus addresses for host controllers or ports on USB hubs. That makes it stay the same until systems are physically reconfigured, by re-cabling a tree of USB devices or by moving USB host controllers. Adding and removing devices, including virtual root hubs in host controller driver modules, does not change these path identifiers; neither does rebooting or re-enumerating. These are more useful identifiers than changeable ("unstable") ones like bus numbers or device addresses. With a partial exception for devices connected to USB 2.0 root hubs, these identifiers are also predictable. So long as the device tree isn't changed, plugging any USB device into a given hub port always gives it the same path. Because of the use of "companion" controllers, devices connected to ports on USB 2.0 root hubs (EHCI host controllers) will get one path ID if they are high speed, and a different one if they are full or low speed.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjË;h]”hŒ Parameters”…”�”}”(hjÍ;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÉ;ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÂhjÅ;ubjD)�”}”(hhh]”(jI)�”}”(hŒF``struct usb_device *dev`` the device whose path is being constructed ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hjê;h]”hŒstruct usb_device *dev”…”�”}”(hjì;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjè;ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¿hjä;ubji)�”}”(hhh]”hë)�”}”(hŒ*the device whose path is being constructed”h]”hŒ*the device whose path is being constructed”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÿ;h´M¿hj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjä;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÿ;h´M¿hjá;ubjI)�”}”(hŒ&``char *buf`` where to put the string ”h]”(jO)�”}”(hŒ ``char *buf``”h]”jÑ)�”}”(hj#<h]”hŒ char *buf”…”�”}”(hj%<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj!<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÀhj<ubji)�”}”(hhh]”hë)�”}”(hŒwhere to put the string”h]”hŒwhere to put the string”…”�”}”(hj<<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j8<h´MÀhj9<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j8<h´MÀhjá;ubjI)�”}”(hŒ"``size_t size`` how big is "buf"? ”h]”(jO)�”}”(hŒ``size_t size``”h]”jÑ)�”}”(hj\<h]”hŒ size_t size”…”�”}”(hj^<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjZ<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÁhjV<ubji)�”}”(hhh]”hë)�”}”(hŒhow big is "buf"?”h]”hŒhow big is “bufâ€�?”…”�”}”(hju<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jq<h´MÁhjr<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjV<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jq<h´MÁhjá;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÅ;ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj—<h]”hŒReturn”…”�”}”(hj™<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj•<ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÃhjÅ;ubhë)�”}”(hŒ=Length of the string (> 0) or negative if size was too small.”h]”hŒ=Length of the string (> 0) or negative if size was too small.”…”�”}”(hj­<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÃhjÅ;ubhë)�”}”(hŒ**Note**”h]”j.)�”}”(hj¾<h]”hŒNote”…”�”}”(hjÀ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¼<ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÅhjÅ;ubhë)�”}”(hXDThis identifier is intended to be "stable", reflecting physical paths in hardware such as physical bus addresses for host controllers or ports on USB hubs. That makes it stay the same until systems are physically reconfigured, by re-cabling a tree of USB devices or by moving USB host controllers. Adding and removing devices, including virtual root hubs in host controller driver modules, does not change these path identifiers; neither does rebooting or re-enumerating. These are more useful identifiers than changeable ("unstable") ones like bus numbers or device addresses.”h]”hXLThis identifier is intended to be “stableâ€�, reflecting physical paths in hardware such as physical bus addresses for host controllers or ports on USB hubs. That makes it stay the same until systems are physically reconfigured, by re-cabling a tree of USB devices or by moving USB host controllers. Adding and removing devices, including virtual root hubs in host controller driver modules, does not change these path identifiers; neither does rebooting or re-enumerating. These are more useful identifiers than changeable (“unstableâ€�) ones like bus numbers or device addresses.”…”�”}”(hjÔ<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÅhjÅ;ubhë)�”}”(hX»With a partial exception for devices connected to USB 2.0 root hubs, these identifiers are also predictable. So long as the device tree isn't changed, plugging any USB device into a given hub port always gives it the same path. Because of the use of "companion" controllers, devices connected to ports on USB 2.0 root hubs (EHCI host controllers) will get one path ID if they are high speed, and a different one if they are full or low speed.”h]”hXÁWith a partial exception for devices connected to USB 2.0 root hubs, these identifiers are also predictable. So long as the device tree isn’t changed, plugging any USB device into a given hub port always gives it the same path. Because of the use of “companionâ€� controllers, devices connected to ports on USB 2.0 root hubs (EHCI host controllers) will get one path ID if they are high speed, and a different one if they are full or low speed.”…”�”}”(hjã<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÎhjÅ;ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒUSB_DEVICE (C macro)”Œ c.USB_DEVICE”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒ USB_DEVICE”h]”j+)�”}”(hŒ USB_DEVICE”h]”j„)�”}”(hŒ USB_DEVICE”h]”jŠ)�”}”(hj =h]”hŒ USB_DEVICE”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj=ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj=h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mðubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj =h²hh³j)=h´Mðubah}”(h]”j=ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j)=h´Mðhj=h²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhj=h²hh³j)=h´Mðubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjjB=jjB=j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ``USB_DEVICE (vend, prod)``”h]”jÑ)�”}”(hjH=h]”hŒUSB_DEVICE (vend, prod)”…”�”}”(hjJ=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjF=ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mòhjgh²hubjŒ7)�”}”(hŒ-macro used to describe a specific usb device ”h]”hë)�”}”(hŒ,macro used to describe a specific usb device”h]”hŒ,macro used to describe a specific usb device”…”�”}”(hjb=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mðhj^=ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jp=h´Mðhjgh²hubj$)�”}”(hŒ¿**Parameters** ``vend`` the 16 bit USB Vendor ID ``prod`` the 16 bit USB Product ID **Description** This macro is used to create a struct usb_device_id that matches a specific device.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj}=h]”hŒ Parameters”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj{=ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Môhjw=ubjD)�”}”(hhh]”(jI)�”}”(hŒ"``vend`` the 16 bit USB Vendor ID ”h]”(jO)�”}”(hŒ``vend``”h]”jÑ)�”}”(hjœ=h]”hŒvend”…”�”}”(hjž=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjš=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mñhj–=ubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Vendor ID”h]”hŒthe 16 bit USB Vendor ID”…”�”}”(hjµ=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j±=h´Mñhj²=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj–=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j±=h´Mñhj“=ubjI)�”}”(hŒ#``prod`` the 16 bit USB Product ID ”h]”(jO)�”}”(hŒ``prod``”h]”jÑ)�”}”(hjÕ=h]”hŒprod”…”�”}”(hj×=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÓ=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MòhjÏ=ubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Product ID”h]”hŒthe 16 bit USB Product ID”…”�”}”(hjî=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jê=h´Mòhjë=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÏ=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jê=h´Mòhj“=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjw=ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj>h]”hŒ Description”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Môhjw=ubhë)�”}”(hŒSThis macro is used to create a struct usb_device_id that matches a specific device.”h]”hŒSThis macro is used to create a struct usb_device_id that matches a specific device.”…”�”}”(hj&>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Móhjw=ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒUSB_DEVICE_VER (C macro)”Œc.USB_DEVICE_VER”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒUSB_DEVICE_VER”h]”j+)�”}”(hŒUSB_DEVICE_VER”h]”j„)�”}”(hŒUSB_DEVICE_VER”h]”jŠ)�”}”(hjO>h]”hŒUSB_DEVICE_VER”…”�”}”(hjY>h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjU>ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjQ>h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Müubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjM>h²hh³jl>h´Müubah}”(h]”jH>ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jl>h´MühjJ>h²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjJ>h²hh³jl>h´Müubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj…>jj…>j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ'``USB_DEVICE_VER (vend, prod, lo, hi)``”h]”jÑ)�”}”(hj‹>h]”hŒ#USB_DEVICE_VER (vend, prod, lo, hi)”…”�”}”(hj�>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‰>ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mþhjgh²hubjŒ7)�”}”(hŒ4describe a specific usb device with a version range ”h]”hë)�”}”(hŒ3describe a specific usb device with a version range”h]”hŒ3describe a specific usb device with a version range”…”�”}”(hj¥>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mühj¡>ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³j³>h´Mühjgh²hubj$)�”}”(hX**Parameters** ``vend`` the 16 bit USB Vendor ID ``prod`` the 16 bit USB Product ID ``lo`` the bcdDevice_lo value ``hi`` the bcdDevice_hi value **Description** This macro is used to create a struct usb_device_id that matches a specific device, with a version range.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÀ>h]”hŒ Parameters”…”�”}”(hjÂ>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¾>ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjº>ubjD)�”}”(hhh]”(jI)�”}”(hŒ"``vend`` the 16 bit USB Vendor ID ”h]”(jO)�”}”(hŒ``vend``”h]”jÑ)�”}”(hjß>h]”hŒvend”…”�”}”(hjá>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÝ>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MýhjÙ>ubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Vendor ID”h]”hŒthe 16 bit USB Vendor ID”…”�”}”(hjø>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jô>h´Mýhjõ>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÙ>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jô>h´MýhjÖ>ubjI)�”}”(hŒ#``prod`` the 16 bit USB Product ID ”h]”(jO)�”}”(hŒ``prod``”h]”jÑ)�”}”(hj?h]”hŒprod”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mþhj?ubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Product ID”h]”hŒthe 16 bit USB Product ID”…”�”}”(hj1?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j-?h´Mþhj.?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j-?h´MþhjÖ>ubjI)�”}”(hŒ``lo`` the bcdDevice_lo value ”h]”(jO)�”}”(hŒ``lo``”h]”jÑ)�”}”(hjQ?h]”hŒlo”…”�”}”(hjS?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjO?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÿhjK?ubji)�”}”(hhh]”hë)�”}”(hŒthe bcdDevice_lo value”h]”hŒthe bcdDevice_lo value”…”�”}”(hjj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jf?h´Mÿhjg?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjK?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jf?h´MÿhjÖ>ubjI)�”}”(hŒ``hi`` the bcdDevice_hi value ”h]”(jO)�”}”(hŒ``hi``”h]”jÑ)�”}”(hjŠ?h]”hŒhi”…”�”}”(hjŒ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjˆ?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj„?ubji)�”}”(hhh]”hë)�”}”(hŒthe bcdDevice_hi value”h]”hŒthe bcdDevice_hi value”…”�”}”(hj£?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jŸ?h´Mhj ?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj„?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jŸ?h´MhjÖ>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjº>ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÅ?h]”hŒ Description”…”�”}”(hjÇ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÃ?ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjº>ubhë)�”}”(hŒiThis macro is used to create a struct usb_device_id that matches a specific device, with a version range.”h]”hŒiThis macro is used to create a struct usb_device_id that matches a specific device, with a version range.”…”�”}”(hjÛ?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjº>ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ$USB_DEVICE_INTERFACE_CLASS (C macro)”Œc.USB_DEVICE_INTERFACE_CLASS”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒUSB_DEVICE_INTERFACE_CLASS”h]”j+)�”}”(hŒUSB_DEVICE_INTERFACE_CLASS”h]”j„)�”}”(hŒUSB_DEVICE_INTERFACE_CLASS”h]”jŠ)�”}”(hj@h]”hŒUSB_DEVICE_INTERFACE_CLASS”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj @ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj@h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj@h²hh³j!@h´M ubah}”(h]”jý?ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j!@h´M hjÿ?h²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÿ?h²hh³j!@h´M ubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj:@jj:@j ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ/``USB_DEVICE_INTERFACE_CLASS (vend, prod, cl)``”h]”jÑ)�”}”(hj@@h]”hŒ+USB_DEVICE_INTERFACE_CLASS (vend, prod, cl)”…”�”}”(hjB@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj>@ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubjŒ7)�”}”(hŒ6describe a usb device with a specific interface class ”h]”hë)�”}”(hŒ5describe a usb device with a specific interface class”h]”hŒ5describe a usb device with a specific interface class”…”�”}”(hjZ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M hjV@ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jh@h´M hjgh²hubj$)�”}”(hŒó**Parameters** ``vend`` the 16 bit USB Vendor ID ``prod`` the 16 bit USB Product ID ``cl`` bInterfaceClass value **Description** This macro is used to create a struct usb_device_id that matches a specific interface class of devices.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hju@h]”hŒ Parameters”…”�”}”(hjw@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjs@ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjo@ubjD)�”}”(hhh]”(jI)�”}”(hŒ"``vend`` the 16 bit USB Vendor ID ”h]”(jO)�”}”(hŒ``vend``”h]”jÑ)�”}”(hj”@h]”hŒvend”…”�”}”(hj–@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj’@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjŽ@ubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Vendor ID”h]”hŒthe 16 bit USB Vendor ID”…”�”}”(hj­@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j©@h´Mhjª@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjŽ@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j©@h´Mhj‹@ubjI)�”}”(hŒ#``prod`` the 16 bit USB Product ID ”h]”(jO)�”}”(hŒ``prod``”h]”jÑ)�”}”(hjÍ@h]”hŒprod”…”�”}”(hjÏ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjË@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjÇ@ubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Product ID”h]”hŒthe 16 bit USB Product ID”…”�”}”(hjæ@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jâ@h´Mhjã@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÇ@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jâ@h´Mhj‹@ubjI)�”}”(hŒ``cl`` bInterfaceClass value ”h]”(jO)�”}”(hŒ``cl``”h]”jÑ)�”}”(hjAh]”hŒcl”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjAubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjAubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceClass value”h]”hŒbInterfaceClass value”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jAh´MhjAubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jAh´Mhj‹@ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjo@ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjAAh]”hŒ Description”…”�”}”(hjCAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj?Aubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjo@ubhë)�”}”(hŒgThis macro is used to create a struct usb_device_id that matches a specific interface class of devices.”h]”hŒgThis macro is used to create a struct usb_device_id that matches a specific interface class of devices.”…”�”}”(hjWAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjo@ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'USB_DEVICE_INTERFACE_PROTOCOL (C macro)”Œc.USB_DEVICE_INTERFACE_PROTOCOL”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒUSB_DEVICE_INTERFACE_PROTOCOL”h]”j+)�”}”(hŒUSB_DEVICE_INTERFACE_PROTOCOL”h]”j„)�”}”(hŒUSB_DEVICE_INTERFACE_PROTOCOL”h]”jŠ)�”}”(hj€Ah]”hŒUSB_DEVICE_INTERFACE_PROTOCOL”…”�”}”(hjŠAh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj†Aubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj‚Ah²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj~Ah²hh³j�Ah´Mubah}”(h]”jyAah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j�Ah´Mhj{Ah²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhj{Ah²hh³j�Ah´Mubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj¶Ajj¶Aj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ2``USB_DEVICE_INTERFACE_PROTOCOL (vend, prod, pr)``”h]”jÑ)�”}”(hj¼Ah]”hŒ.USB_DEVICE_INTERFACE_PROTOCOL (vend, prod, pr)”…”�”}”(hj¾Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjºAubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubjŒ7)�”}”(hŒ9describe a usb device with a specific interface protocol ”h]”hë)�”}”(hŒ8describe a usb device with a specific interface protocol”h]”hŒ8describe a usb device with a specific interface protocol”…”�”}”(hjÖAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjÒAubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jäAh´Mhjgh²hubj$)�”}”(hŒù**Parameters** ``vend`` the 16 bit USB Vendor ID ``prod`` the 16 bit USB Product ID ``pr`` bInterfaceProtocol value **Description** This macro is used to create a struct usb_device_id that matches a specific interface protocol of devices.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjñAh]”hŒ Parameters”…”�”}”(hjóAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjïAubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M!hjëAubjD)�”}”(hhh]”(jI)�”}”(hŒ"``vend`` the 16 bit USB Vendor ID ”h]”(jO)�”}”(hŒ``vend``”h]”jÑ)�”}”(hjBh]”hŒvend”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjBubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj Bubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Vendor ID”h]”hŒthe 16 bit USB Vendor ID”…”�”}”(hj)Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j%Bh´Mhj&Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj Bubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j%Bh´MhjBubjI)�”}”(hŒ#``prod`` the 16 bit USB Product ID ”h]”(jO)�”}”(hŒ``prod``”h]”jÑ)�”}”(hjIBh]”hŒprod”…”�”}”(hjKBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjGBubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjCBubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Product ID”h]”hŒthe 16 bit USB Product ID”…”�”}”(hjbBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j^Bh´Mhj_Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjCBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j^Bh´MhjBubjI)�”}”(hŒ ``pr`` bInterfaceProtocol value ”h]”(jO)�”}”(hŒ``pr``”h]”jÑ)�”}”(hj‚Bh]”hŒpr”…”�”}”(hj„Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj€Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M hj|Bubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceProtocol value”h]”hŒbInterfaceProtocol value”…”�”}”(hj›Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j—Bh´M hj˜Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj|Bubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j—Bh´M hjBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjëAubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj½Bh]”hŒ Description”…”�”}”(hj¿Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj»Bubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M"hjëAubhë)�”}”(hŒjThis macro is used to create a struct usb_device_id that matches a specific interface protocol of devices.”h]”hŒjThis macro is used to create a struct usb_device_id that matches a specific interface protocol of devices.”…”�”}”(hjÓBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M!hjëAubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ%USB_DEVICE_INTERFACE_NUMBER (C macro)”Œc.USB_DEVICE_INTERFACE_NUMBER”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒUSB_DEVICE_INTERFACE_NUMBER”h]”j+)�”}”(hŒUSB_DEVICE_INTERFACE_NUMBER”h]”j„)�”}”(hŒUSB_DEVICE_INTERFACE_NUMBER”h]”jŠ)�”}”(hjüBh]”hŒUSB_DEVICE_INTERFACE_NUMBER”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjCubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjþBh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M-ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjúBh²hh³jCh´M-ubah}”(h]”jõBah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jCh´M-hj÷Bh²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhj÷Bh²hh³jCh´M-ubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj2Cjj2Cj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ1``USB_DEVICE_INTERFACE_NUMBER (vend, prod, num)``”h]”jÑ)�”}”(hj8Ch]”hŒ-USB_DEVICE_INTERFACE_NUMBER (vend, prod, num)”…”�”}”(hj:Ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj6Cubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M/hjgh²hubjŒ7)�”}”(hŒ7describe a usb device with a specific interface number ”h]”hë)�”}”(hŒ6describe a usb device with a specific interface number”h]”hŒ6describe a usb device with a specific interface number”…”�”}”(hjRCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M-hjNCubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³j`Ch´M-hjgh²hubj$)�”}”(hŒö**Parameters** ``vend`` the 16 bit USB Vendor ID ``prod`` the 16 bit USB Product ID ``num`` bInterfaceNumber value **Description** This macro is used to create a struct usb_device_id that matches a specific interface number of devices.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjmCh]”hŒ Parameters”…”�”}”(hjoCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjkCubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M1hjgCubjD)�”}”(hhh]”(jI)�”}”(hŒ"``vend`` the 16 bit USB Vendor ID ”h]”(jO)�”}”(hŒ``vend``”h]”jÑ)�”}”(hjŒCh]”hŒvend”…”�”}”(hjŽCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjŠCubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M.hj†Cubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Vendor ID”h]”hŒthe 16 bit USB Vendor ID”…”�”}”(hj¥Ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¡Ch´M.hj¢Cubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj†Cubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¡Ch´M.hjƒCubjI)�”}”(hŒ#``prod`` the 16 bit USB Product ID ”h]”(jO)�”}”(hŒ``prod``”h]”jÑ)�”}”(hjÅCh]”hŒprod”…”�”}”(hjÇCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÃCubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M/hj¿Cubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Product ID”h]”hŒthe 16 bit USB Product ID”…”�”}”(hjÞCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÚCh´M/hjÛCubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¿Cubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÚCh´M/hjƒCubjI)�”}”(hŒ``num`` bInterfaceNumber value ”h]”(jO)�”}”(hŒ``num``”h]”jÑ)�”}”(hjþCh]”hŒnum”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjüCubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M0hjøCubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceNumber value”h]”hŒbInterfaceNumber value”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jDh´M0hjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjøCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jDh´M0hjƒCubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjgCubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj9Dh]”hŒ Description”…”�”}”(hj;Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj7Dubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M2hjgCubhë)�”}”(hŒhThis macro is used to create a struct usb_device_id that matches a specific interface number of devices.”h]”hŒhThis macro is used to create a struct usb_device_id that matches a specific interface number of devices.”…”�”}”(hjODh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M1hjgCubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒUSB_DEVICE_INFO (C macro)”Œc.USB_DEVICE_INFO”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒUSB_DEVICE_INFO”h]”j+)�”}”(hŒUSB_DEVICE_INFO”h]”j„)�”}”(hŒUSB_DEVICE_INFO”h]”jŠ)�”}”(hjxDh]”hŒUSB_DEVICE_INFO”…”�”}”(hj‚Dh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj~Dubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjzDh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M=ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjvDh²hh³j•Dh´M=ubah}”(h]”jqDah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j•Dh´M=hjsDh²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjsDh²hh³j•Dh´M=ubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj®Djj®Dj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ ``USB_DEVICE_INFO (cl, sc, pr)``”h]”jÑ)�”}”(hj´Dh]”hŒUSB_DEVICE_INFO (cl, sc, pr)”…”�”}”(hj¶Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj²Dubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M?hjgh²hubjŒ7)�”}”(hŒ.macro used to describe a class of usb devices ”h]”hë)�”}”(hŒ-macro used to describe a class of usb devices”h]”hŒ-macro used to describe a class of usb devices”…”�”}”(hjÎDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M=hjÊDubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jÜDh´M=hjgh²hubj$)�”}”(hŒÛ**Parameters** ``cl`` bDeviceClass value ``sc`` bDeviceSubClass value ``pr`` bDeviceProtocol value **Description** This macro is used to create a struct usb_device_id that matches a specific class of devices.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjéDh]”hŒ Parameters”…”�”}”(hjëDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjçDubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MAhjãDubjD)�”}”(hhh]”(jI)�”}”(hŒ``cl`` bDeviceClass value ”h]”(jO)�”}”(hŒ``cl``”h]”jÑ)�”}”(hjEh]”hŒcl”…”�”}”(hj Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M>hjEubji)�”}”(hhh]”hë)�”}”(hŒbDeviceClass value”h]”hŒbDeviceClass value”…”�”}”(hj!Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jEh´M>hjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jEh´M>hjÿDubjI)�”}”(hŒ``sc`` bDeviceSubClass value ”h]”(jO)�”}”(hŒ``sc``”h]”jÑ)�”}”(hjAEh]”hŒsc”…”�”}”(hjCEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj?Eubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M?hj;Eubji)�”}”(hhh]”hë)�”}”(hŒbDeviceSubClass value”h]”hŒbDeviceSubClass value”…”�”}”(hjZEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jVEh´M?hjWEubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj;Eubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jVEh´M?hjÿDubjI)�”}”(hŒ``pr`` bDeviceProtocol value ”h]”(jO)�”}”(hŒ``pr``”h]”jÑ)�”}”(hjzEh]”hŒpr”…”�”}”(hj|Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjxEubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M@hjtEubji)�”}”(hhh]”hë)�”}”(hŒbDeviceProtocol value”h]”hŒbDeviceProtocol value”…”�”}”(hj“Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j�Eh´M@hj�Eubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjtEubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j�Eh´M@hjÿDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjãDubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjµEh]”hŒ Description”…”�”}”(hj·Eh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj³Eubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MBhjãDubhë)�”}”(hŒ]This macro is used to create a struct usb_device_id that matches a specific class of devices.”h]”hŒ]This macro is used to create a struct usb_device_id that matches a specific class of devices.”…”�”}”(hjËEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MAhjãDubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒUSB_INTERFACE_INFO (C macro)”Œc.USB_INTERFACE_INFO”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒUSB_INTERFACE_INFO”h]”j+)�”}”(hŒUSB_INTERFACE_INFO”h]”j„)�”}”(hŒUSB_INTERFACE_INFO”h]”jŠ)�”}”(hjôEh]”hŒUSB_INTERFACE_INFO”…”�”}”(hjþEh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjúEubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjöEh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MLubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjòEh²hh³jFh´MLubah}”(h]”jíEah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jFh´MLhjïEh²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjïEh²hh³jFh´MLubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj*Fjj*Fj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ#``USB_INTERFACE_INFO (cl, sc, pr)``”h]”jÑ)�”}”(hj0Fh]”hŒUSB_INTERFACE_INFO (cl, sc, pr)”…”�”}”(hj2Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj.Fubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MNhjgh²hubjŒ7)�”}”(hŒ1macro used to describe a class of usb interfaces ”h]”hë)�”}”(hŒ0macro used to describe a class of usb interfaces”h]”hŒ0macro used to describe a class of usb interfaces”…”�”}”(hjJFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MLhjFFubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jXFh´MLhjgh²hubj$)�”}”(hŒç**Parameters** ``cl`` bInterfaceClass value ``sc`` bInterfaceSubClass value ``pr`` bInterfaceProtocol value **Description** This macro is used to create a struct usb_device_id that matches a specific class of interfaces.”h]”(hë)�”}”(hŒ**Parameters**”•h]”j.)�”}”(hjeFh]”hŒ Parameters”…”�”}”(hjgFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjcFubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MPhj_FubjD)�”}”(hhh]”(jI)�”}”(hŒ``cl`` bInterfaceClass value ”h]”(jO)�”}”(hŒ``cl``”h]”jÑ)�”}”(hj„Fh]”hŒcl”…”�”}”(hj†Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‚Fubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MMhj~Fubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceClass value”h]”hŒbInterfaceClass value”…”�”}”(hj�Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j™Fh´MMhjšFubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj~Fubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j™Fh´MMhj{FubjI)�”}”(hŒ ``sc`` bInterfaceSubClass value ”h]”(jO)�”}”(hŒ``sc``”h]”jÑ)�”}”(hj½Fh]”hŒsc”…”�”}”(hj¿Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj»Fubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MNhj·Fubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceSubClass value”h]”hŒbInterfaceSubClass value”…”�”}”(hjÖFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÒFh´MNhjÓFubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj·Fubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÒFh´MNhj{FubjI)�”}”(hŒ ``pr`` bInterfaceProtocol value ”h]”(jO)�”}”(hŒ``pr``”h]”jÑ)�”}”(hjöFh]”hŒpr”…”�”}”(hjøFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjôFubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MOhjðFubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceProtocol value”h]”hŒbInterfaceProtocol value”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j Gh´MOhj Gubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjðFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j Gh´MOhj{Fubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj_Fubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj1Gh]”hŒ Description”…”�”}”(hj3Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj/Gubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MQhj_Fubhë)�”}”(hŒ`This macro is used to create a struct usb_device_id that matches a specific class of interfaces.”h]”hŒ`This macro is used to create a struct usb_device_id that matches a specific class of interfaces.”…”�”}”(hjGGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MPhj_Fubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'USB_DEVICE_AND_INTERFACE_INFO (C macro)”Œc.USB_DEVICE_AND_INTERFACE_INFO”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒUSB_DEVICE_AND_INTERFACE_INFO”h]”j+)�”}”(hŒUSB_DEVICE_AND_INTERFACE_INFO”h]”j„)�”}”(hŒUSB_DEVICE_AND_INTERFACE_INFO”h]”jŠ)�”}”(hjpGh]”hŒUSB_DEVICE_AND_INTERFACE_INFO”…”�”}”(hjzGh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjvGubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjrGh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M[ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjnGh²hh³j�Gh´M[ubah}”(h]”jiGah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j�Gh´M[hjkGh²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjkGh²hh³j�Gh´M[ubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj¦Gjj¦Gj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ:``USB_DEVICE_AND_INTERFACE_INFO (vend, prod, cl, sc, pr)``”h]”jÑ)�”}”(hj¬Gh]”hŒ6USB_DEVICE_AND_INTERFACE_INFO (vend, prod, cl, sc, pr)”…”�”}”(hj®Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjªGubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M]hjgh²hubjŒ7)�”}”(hŒ>describe a specific usb device with a class of usb interfaces ”h]”hë)�”}”(hŒ=describe a specific usb device with a class of usb interfaces”h]”hŒ=describe a specific usb device with a class of usb interfaces”…”�”}”(hjÆGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M[hjÂGubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jÔGh´M[hjgh²hubj$)�”}”(hXØ**Parameters** ``vend`` the 16 bit USB Vendor ID ``prod`` the 16 bit USB Product ID ``cl`` bInterfaceClass value ``sc`` bInterfaceSubClass value ``pr`` bInterfaceProtocol value **Description** This macro is used to create a struct usb_device_id that matches a specific device with a specific class of interfaces. This is especially useful when explicitly matching devices that have vendor specific bDeviceClass values, but standards-compliant interfaces.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjáGh]”hŒ Parameters”…”�”}”(hjãGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjßGubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M_hjÛGubjD)�”}”(hhh]”(jI)�”}”(hŒ"``vend`` the 16 bit USB Vendor ID ”h]”(jO)�”}”(hŒ``vend``”h]”jÑ)�”}”(hjHh]”hŒvend”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjþGubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M\hjúGubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Vendor ID”h]”hŒthe 16 bit USB Vendor ID”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jHh´M\hjHubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjúGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jHh´M\hj÷GubjI)�”}”(hŒ#``prod`` the 16 bit USB Product ID ”h]”(jO)�”}”(hŒ``prod``”h]”jÑ)�”}”(hj9Hh]”hŒprod”…”�”}”(hj;Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj7Hubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M]hj3Hubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Product ID”h]”hŒthe 16 bit USB Product ID”…”�”}”(hjRHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jNHh´M]hjOHubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj3Hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jNHh´M]hj÷GubjI)�”}”(hŒ``cl`` bInterfaceClass value ”h]”(jO)�”}”(hŒ``cl``”h]”jÑ)�”}”(hjrHh]”hŒcl”…”�”}”(hjtHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjpHubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M^hjlHubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceClass value”h]”hŒbInterfaceClass value”…”�”}”(hj‹Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j‡Hh´M^hjˆHubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjlHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‡Hh´M^hj÷GubjI)�”}”(hŒ ``sc`` bInterfaceSubClass value ”h]”(jO)�”}”(hŒ``sc``”h]”jÑ)�”}”(hj«Hh]”hŒsc”…”�”}”(hj­Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj©Hubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M_hj¥Hubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceSubClass value”h]”hŒbInterfaceSubClass value”…”�”}”(hjÄHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÀHh´M_hjÁHubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¥Hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÀHh´M_hj÷GubjI)�”}”(hŒ ``pr`` bInterfaceProtocol value ”h]”(jO)�”}”(hŒ``pr``”h]”jÑ)�”}”(hjäHh]”hŒpr”…”�”}”(hjæHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjâHubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M`hjÞHubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceProtocol value”h]”hŒbInterfaceProtocol value”…”�”}”(hjýHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jùHh´M`hjúHubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÞHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jùHh´M`hj÷Gubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÛGubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjIh]”hŒ Description”…”�”}”(hj!Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjIubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MbhjÛGubhë)�”}”(hŒwThis macro is used to create a struct usb_device_id that matches a specific device with a specific class of interfaces.”h]”hŒwThis macro is used to create a struct usb_device_id that matches a specific device with a specific class of interfaces.”…”�”}”(hj5Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MahjÛGubhë)�”}”(hŒ�This is especially useful when explicitly matching devices that have vendor specific bDeviceClass values, but standards-compliant interfaces.”h]”hŒ�This is especially useful when explicitly matching devices that have vendor specific bDeviceClass values, but standards-compliant interfaces.”…”�”}”(hjDIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MdhjÛGubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'USB_VENDOR_AND_INTERFACE_INFO (C macro)”Œc.USB_VENDOR_AND_INTERFACE_INFO”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒUSB_VENDOR_AND_INTERFACE_INFO”h]”j+)�”}”(hŒUSB_VENDOR_AND_INTERFACE_INFO”h]”j„)�”}”(hŒUSB_VENDOR_AND_INTERFACE_INFO”h]”jŠ)�”}”(hjmIh]”hŒUSB_VENDOR_AND_INTERFACE_INFO”…”�”}”(hjwIh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjsIubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjoIh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mrubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjkIh²hh³jŠIh´Mrubah}”(h]”jfIah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jŠIh´MrhjhIh²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjhIh²hh³jŠIh´Mrubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj£Ijj£Ij ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ4``USB_VENDOR_AND_INTERFACE_INFO (vend, cl, sc, pr)``”h]”jÑ)�”}”(hj©Ih]”hŒ0USB_VENDOR_AND_INTERFACE_INFO (vend, cl, sc, pr)”…”�”}”(hj«Ih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj§Iubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mthjgh²hubjŒ7)�”}”(hŒ>describe a specific usb vendor with a class of usb interfaces ”h]”hë)�”}”(hŒ=describe a specific usb vendor with a class of usb interfaces”h]”hŒ=describe a specific usb vendor with a class of usb interfaces”…”�”}”(hjÃIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mrhj¿Iubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jÑIh´Mrhjgh²hubj$)�”}”(hX²**Parameters** ``vend`` the 16 bit USB Vendor ID ``cl`` bInterfaceClass value ``sc`` bInterfaceSubClass value ``pr`` bInterfaceProtocol value **Description** This macro is used to create a struct usb_device_id that matches a specific vendor with a specific class of interfaces. This is especially useful when explicitly matching devices that have vendor specific bDeviceClass values, but standards-compliant interfaces.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÞIh]”hŒ Parameters”…”�”}”(hjàIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÜIubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MvhjØIubjD)�”}”(hhh]”(jI)�”}”(hŒ"``vend`` the 16 bit USB Vendor ID ”h]”(jO)�”}”(hŒ``vend``”h]”jÑ)�”}”(hjýIh]”hŒvend”…”�”}”(hjÿIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjûIubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mshj÷Iubji)�”}”(hhh]”hë)�”}”(hŒthe 16 bit USB Vendor ID”h]”hŒthe 16 bit USB Vendor ID”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jJh´MshjJubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj÷Iubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jJh´MshjôIubjI)�”}”(hŒ``cl`` bInterfaceClass value ”h]”(jO)�”}”(hŒ``cl``”h]”jÑ)�”}”(hj6Jh]”hŒcl”…”�”}”(hj8Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj4Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mthj0Jubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceClass value”h]”hŒbInterfaceClass value”…”�”}”(hjOJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jKJh´MthjLJubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj0Jubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jKJh´MthjôIubjI)�”}”(hŒ ``sc`` bInterfaceSubClass value ”h]”(jO)�”}”(hŒ``sc``”h]”jÑ)�”}”(hjoJh]”hŒsc”…”�”}”(hjqJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjmJubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MuhjiJubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceSubClass value”h]”hŒbInterfaceSubClass value”…”�”}”(hjˆJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j„Jh´Muhj…Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjiJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j„Jh´MuhjôIubjI)�”}”(hŒ ``pr`` bInterfaceProtocol value ”h]”(jO)�”}”(hŒ``pr``”h]”jÑ)�”}”(hj¨Jh]”hŒpr”…”�”}”(hjªJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¦Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mvhj¢Jubji)�”}”(hhh]”hë)�”}”(hŒbInterfaceProtocol value”h]”hŒbInterfaceProtocol value”…”�”}”(hjÁJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j½Jh´Mvhj¾Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¢Jubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j½Jh´MvhjôIubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjØIubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjãJh]”hŒ Description”…”�”}”(hjåJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjáJubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MxhjØIubhë)�”}”(hŒwThis macro is used to create a struct usb_device_id that matches a specific vendor with a specific class of interfaces.”h]”hŒwThis macro is used to create a struct usb_device_id that matches a specific vendor with a specific class of interfaces.”…”�”}”(hjùJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MwhjØIubhë)�”}”(hŒ�This is especially useful when explicitly matching devices that have vendor specific bDeviceClass values, but standards-compliant interfaces.”h]”hŒ�This is especially useful when explicitly matching devices that have vendor specific bDeviceClass values, but standards-compliant interfaces.”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MzhjØIubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_driver (C struct)”Œ c.usb_driver”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒ usb_driver”h]”j+)�”}”(hŒstruct usb_driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj7Kh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj3Kh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M€ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjEKh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj3Kh²hh³jDKh´M€ubj„)�”}”(hŒ usb_driver”h]”jŠ)�”}”(hj1Kh]”hŒ usb_driver”…”�”}”(hjWKh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjSKubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj3Kh²hh³jDKh´M€ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj/Kh²hh³jDKh´M€ubah}”(h]”j*Kah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jDKh´M€hj,Kh²hubjü)�”}”(hhh]”hë)�”}”(hŒ*identifies USB interface driver to usbcore”h]”hŒ*identifies USB interface driver to usbcore”…”�”}”(hjyKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M›hjvKh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj,Kh²hh³jDKh´M€ubeh}”(h]”h ]”(jŒstruct”eh"]”h$]”h&]”jjjj‘Kjj‘Kj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXw**Definition**:: struct usb_driver { const char *name; int (*probe) (struct usb_interface *intf, const struct usb_device_id *id); void (*disconnect) (struct usb_interface *intf); int (*unlocked_ioctl) (struct usb_interface *intf, unsigned int code, void *buf); int (*suspend) (struct usb_interface *intf, pm_message_t message); int (*resume) (struct usb_interface *intf); int (*reset_resume)(struct usb_interface *intf); int (*pre_reset)(struct usb_interface *intf); int (*post_reset)(struct usb_interface *intf); void (*shutdown)(struct usb_interface *intf); const struct usb_device_id *id_table; const struct attribute_group **dev_groups; struct usb_dynids dynids; struct device_driver driver; unsigned int no_dynamic_id:1; unsigned int supports_autosuspend:1; unsigned int disable_hub_initiated_lpm:1; unsigned int soft_unbind:1; }; **Members** ``name`` The driver name should be unique among USB drivers, and should normally be the same as the module name. ``probe`` Called to see if the driver is willing to manage a particular interface on a device. If it is, probe returns zero and uses usb_set_intfdata() to associate driver-specific data with the interface. It may also use usb_set_interface() to specify the appropriate altsetting. If unwilling to manage the interface, return -ENODEV, if genuine IO errors occurred, an appropriate negative errno value. The usb_device_id parameter is only valid during probe. ``disconnect`` Called when the interface is no longer accessible, usually because its device has been (or is being) disconnected or the driver module is being unloaded. ``unlocked_ioctl`` Used for drivers that want to talk to userspace through the "usbfs" filesystem. This lets devices provide ways to expose information to user space regardless of where they do (or don't) show up otherwise in the filesystem. ``suspend`` Called when the device is going to be suspended by the system either from system sleep or runtime suspend context. The return value will be ignored in system sleep context, so do NOT try to continue using the device if suspend fails in this case. Instead, let the resume or reset-resume routine recover from the failure. ``resume`` Called when the device is being resumed by the system. ``reset_resume`` Called when the suspended device has been reset instead of being resumed. ``pre_reset`` Called by usb_reset_device() when the device is about to be reset. This routine must not return until the driver has no active URBs for the device, and no more URBs may be submitted until the post_reset method is called. ``post_reset`` Called by usb_reset_device() after the device has been reset ``shutdown`` Called at shut-down time to quiesce the device. ``id_table`` USB drivers use ID table to support hotplugging. Export this with MODULE_DEVICE_TABLE(usb,...). This must be set or your driver's probe function will never get called. ``dev_groups`` Attributes attached to the device that will be created once it is bound to the driver. ``dynids`` used internally to hold the list of dynamically added device ids for this driver. ``driver`` The driver-model core driver structure. ``no_dynamic_id`` if set to 1, the USB core will not allow dynamic ids to be added to this driver by preventing the sysfs file from being created. ``supports_autosuspend`` if set to 0, the USB core will not allow autosuspend for interfaces bound to this driver. ``disable_hub_initiated_lpm`` if set to 1, the USB core will not allow hubs to initiate lower power link state transitions when an idle timeout occurs. Device-initiated USB 3.0 link PM will still be allowed. ``soft_unbind`` if set to 1, the USB core will not kill URBs and disable endpoints before calling the driver's disconnect method.”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj�Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj™KubhŒ:”…”�”}”(hj™Kh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MŸhj•Kubj )�”}”(hXzstruct usb_driver { const char *name; int (*probe) (struct usb_interface *intf, const struct usb_device_id *id); void (*disconnect) (struct usb_interface *intf); int (*unlocked_ioctl) (struct usb_interface *intf, unsigned int code, void *buf); int (*suspend) (struct usb_interface *intf, pm_message_t message); int (*resume) (struct usb_interface *intf); int (*reset_resume)(struct usb_interface *intf); int (*pre_reset)(struct usb_interface *intf); int (*post_reset)(struct usb_interface *intf); void (*shutdown)(struct usb_interface *intf); const struct usb_device_id *id_table; const struct attribute_group **dev_groups; struct usb_dynids dynids; struct device_driver driver; unsigned int no_dynamic_id:1; unsigned int supports_autosuspend:1; unsigned int disable_hub_initiated_lpm:1; unsigned int soft_unbind:1; };”h]”hXzstruct usb_driver { const char *name; int (*probe) (struct usb_interface *intf, const struct usb_device_id *id); void (*disconnect) (struct usb_interface *intf); int (*unlocked_ioctl) (struct usb_interface *intf, unsigned int code, void *buf); int (*suspend) (struct usb_interface *intf, pm_message_t message); int (*resume) (struct usb_interface *intf); int (*reset_resume)(struct usb_interface *intf); int (*pre_reset)(struct usb_interface *intf); int (*post_reset)(struct usb_interface *intf); void (*shutdown)(struct usb_interface *intf); const struct usb_device_id *id_table; const struct attribute_group **dev_groups; struct usb_dynids dynids; struct device_driver driver; unsigned int no_dynamic_id:1; unsigned int supports_autosuspend:1; unsigned int disable_hub_initiated_lpm:1; unsigned int soft_unbind:1; };”…”�”}”hj¶Ksbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¡hj•Kubhë)�”}”(hŒ **Members**”h]”j.)�”}”(hjÇKh]”hŒMembers”…”�”}”(hjÉKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÅKubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¶hj•KubjD)�”}”(hhh]”(jI)�”}”(hŒq``name`` The driver name should be unique among USB drivers, and should normally be the same as the module name. ”h]”(jO)�”}”(hŒ``name``”h]”jÑ)�”}”(hjæKh]”hŒname”…”�”}”(hjèKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjäKubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MžhjàKubji)�”}”(hhh]”hë)�”}”(hŒgThe driver name should be unique among USB drivers, and should normally be the same as the module name.”h]”hŒgThe driver name should be unique among USB drivers, and should normally be the same as the module name.”…”�”}”(hjÿKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hjüKubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjàKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jûKh´MžhjÝKubjI)�”}”(hXÏ``probe`` Called to see if the driver is willing to manage a particular interface on a device. If it is, probe returns zero and uses usb_set_intfdata() to associate driver-specific data with the interface. It may also use usb_set_interface() to specify the appropriate altsetting. If unwilling to manage the interface, return -ENODEV, if genuine IO errors occurred, an appropriate negative errno value. The usb_device_id parameter is only valid during probe. ”h]”(jO)�”}”(hŒ ``probe``”h]”jÑ)�”}”(hj Lh]”hŒprobe”…”�”}”(hj"Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjLubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¦hjLubji)�”}”(hhh]”hë)�”}”(hXÄCalled to see if the driver is willing to manage a particular interface on a device. If it is, probe returns zero and uses usb_set_intfdata() to associate driver-specific data with the interface. It may also use usb_set_interface() to specify the appropriate altsetting. If unwilling to manage the interface, return -ENODEV, if genuine IO errors occurred, an appropriate negative errno value. The usb_device_id parameter is only valid during probe.”h]”hXÄCalled to see if the driver is willing to manage a particular interface on a device. If it is, probe returns zero and uses usb_set_intfdata() to associate driver-specific data with the interface. It may also use usb_set_interface() to specify the appropriate altsetting. If unwilling to manage the interface, return -ENODEV, if genuine IO errors occurred, an appropriate negative errno value. The usb_device_id parameter is only valid during probe.”…”�”}”(hj9Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MŸhj6Lubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j5Lh´M¦hjÝKubjI)�”}”(hŒ©``disconnect`` Called when the interface is no longer accessible, usually because its device has been (or is being) disconnected or the driver module is being unloaded. ”h]”(jO)�”}”(hŒ``disconnect``”h]”jÑ)�”}”(hjZLh]”hŒ disconnect”…”�”}”(hj\Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjXLubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M©hjTLubji)�”}”(hhh]”hë)�”}”(hŒ™Called when the interface is no longer accessible, usually because its device has been (or is being) disconnected or the driver module is being unloaded.”h]”hŒ™Called when the interface is no longer accessible, usually because its device has been (or is being) disconnected or the driver module is being unloaded.”…”�”}”(hjsLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M§hjpLubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjTLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³joLh´M©hjÝKubjI)�”}”(hŒó``unlocked_ioctl`` Used for drivers that want to talk to userspace through the "usbfs" filesystem. This lets devices provide ways to expose information to user space regardless of where they do (or don't) show up otherwise in the filesystem. ”h]”(jO)�”}”(hŒ``unlocked_ioctl``”h]”jÑ)�”}”(hj”Lh]”hŒunlocked_ioctl”…”�”}”(hj–Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj’Lubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M­hjŽLubji)�”}”(hhh]”hë)�”}”(hŒßUsed for drivers that want to talk to userspace through the "usbfs" filesystem. This lets devices provide ways to expose information to user space regardless of where they do (or don't) show up otherwise in the filesystem.”h]”hŒåUsed for drivers that want to talk to userspace through the “usbfsâ€� filesystem. This lets devices provide ways to expose information to user space regardless of where they do (or don’t) show up otherwise in the filesystem.”…”�”}”(hj­Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MªhjªLubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjŽLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j©Lh´M­hjÝKubjI)�”}”(hXM``suspend`` Called when the device is going to be suspended by the system either from system sleep or runtime suspend context. The return value will be ignored in system sleep context, so do NOT try to continue using the device if suspend fails in this case. Instead, let the resume or reset-resume routine recover from the failure. ”h]”(jO)�”}”(hŒ ``suspend``”h]”jÑ)�”}”(hjÎLh]”hŒsuspend”…”�”}”(hjÐLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÌLubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M³hjÈLubji)�”}”(hhh]”hë)�”}”(hX@Called when the device is going to be suspended by the system either from system sleep or runtime suspend context. The return value will be ignored in system sleep context, so do NOT try to continue using the device if suspend fails in this case. Instead, let the resume or reset-resume routine recover from the failure.”h]”hX@Called when the device is going to be suspended by the system either from system sleep or runtime suspend context. The return value will be ignored in system sleep context, so do NOT try to continue using the device if suspend fails in this case. Instead, let the resume or reset-resume routine recover from the failure.”…”�”}”(hjçLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M®hjäLubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÈLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jãLh´M³hjÝKubjI)�”}”(hŒB``resume`` Called when the device is being resumed by the system. ”h]”(jO)�”}”(hŒ ``resume``”h]”jÑ)�”}”(hjMh]”hŒresume”…”�”}”(hj Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M´hjMubji)�”}”(hhh]”hë)�”}”(hŒ6Called when the device is being resumed by the system.”h]”hŒ6Called when the device is being resumed by the system.”…”�”}”(hj!Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jMh´M´hjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjMubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jMh´M´hjÝKubjI)�”}”(hŒ[``reset_resume`` Called when the suspended device has been reset instead of being resumed. ”h]”(jO)�”}”(hŒ``reset_resume``”h]”jÑ)�”}”(hjAMh]”hŒ reset_resume”…”�”}”(hjCMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj?Mubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¶hj;Mubji)�”}”(hhh]”hë)�”}”(hŒICalled when the suspended device has been reset instead of being resumed.”h]”hŒICalled when the suspended device has been reset instead of being resumed.”…”�”}”(hjZMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MµhjWMubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj;Mubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jVMh´M¶hjÝKubjI)�”}”(hŒì``pre_reset`` Called by usb_reset_device() when the device is about to be reset. This routine must not return until the driver has no active URBs for the device, and no more URBs may be submitted until the post_reset method is called. ”h]”(jO)�”}”(hŒ ``pre_reset``”h]”jÑ)�”}”(hj{Mh]”hŒ pre_reset”…”�”}”(hj}Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjyMubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MºhjuMubji)�”}”(hhh]”hë)�”}”(hŒÝCalled by usb_reset_device() when the device is about to be reset. This routine must not return until the driver has no active URBs for the device, and no more URBs may be submitted until the post_reset method is called.”h]”hŒÝCalled by usb_reset_device() when the device is about to be reset. This routine must not return until the driver has no active URBs for the device, and no more URBs may be submitted until the post_reset method is called.”…”�”}”(hj”Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M·hj‘Mubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjuMubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j�Mh´MºhjÝKubjI)�”}”(hŒL``post_reset`` Called by usb_reset_device() after the device has been reset ”h]”(jO)�”}”(hŒ``post_reset``”h]”jÑ)�”}”(hjµMh]”hŒ post_reset”…”�”}”(hj·Mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj³Mubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¼hj¯Mubji)�”}”(hhh]”hë)�”}”(hŒNubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj"Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j=Nh´MÀhjÝKubjI)�”}”(hŒf``dev_groups`` Attributes attached to the device that will be created once it is bound to the driver. ”h]”(jO)�”}”(hŒ``dev_groups``”h]”jÑ)�”}”(hjbNh]”hŒ dev_groups”…”�”}”(hjdNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj`Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÂhj\Nubji)�”}”(hhh]”hë)�”}”(hŒVAttributes attached to the device that will be created once it is bound to the driver.”h]”hŒVAttributes attached to the device that will be created once it is bound to the driver.”…”�”}”(hj{Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÁhjxNubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj\Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jwNh´MÂhjÝKubjI)�”}”(hŒ]``dynids`` used internally to hold the list of dynamically added device ids for this driver. ”h]”(jO)�”}”(hŒ ``dynids``”h]”jÑ)�”}”(hjœNh]”hŒdynids”…”�”}”(hjžNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjšNubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÄhj–Nubji)�”}”(hhh]”hë)�”}”(hŒQused internally to hold the list of dynamically added device ids for this driver.”h]”hŒQused internally to hold the list of dynamically added device ids for this driver.”…”�”}”(hjµNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÃhj²Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj–Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j±Nh´MÄhjÝKubjI)�”}”(hŒ3``driver`` The driver-model core driver structure. ”h]”(jO)�”}”(hŒ ``driver``”h]”jÑ)�”}”(hjÖNh]”hŒdriver”…”�”}”(hjØNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÔNubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÅhjÐNubji)�”}”(hhh]”hë)�”}”(hŒ'The driver-model core driver structure.”h]”hŒ'The driver-model core driver structure.”…”�”}”(hjïNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jëNh´MÅhjìNubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÐNubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jëNh´MÅhjÝKubjI)�”}”(hŒ“``no_dynamic_id`` if set to 1, the USB core will not allow dynamic ids to be added to this driver by preventing the sysfs file from being created. ”h]”(jO)�”}”(hŒ``no_dynamic_id``”h]”jÑ)�”}”(hjOh]”hŒ no_dynamic_id”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÇhj Oubji)�”}”(hhh]”hë)�”}”(hŒ€if set to 1, the USB core will not allow dynamic ids to be added to this driver by preventing the sysfs file from being created.”h]”hŒ€if set to 1, the USB core will not allow dynamic ids to be added to this driver by preventing the sysfs file from being created.”…”�”}”(hj(Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÆhj%Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj Oubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j$Oh´MÇhjÝKubjI)�”}”(hŒs``supports_autosuspend`` if set to 0, the USB core will not allow autosuspend for interfaces bound to this driver. ”h]”(jO)�”}”(hŒ``supports_autosuspend``”h]”jÑ)�”}”(hjIOh]”hŒsupports_autosuspend”…”�”}”(hjKOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjGOubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÉhjCOubji)�”}”(hhh]”hë)�”}”(hŒYif set to 0, the USB core will not allow autosuspend for interfaces bound to this driver.”h]”hŒYif set to 0, the USB core will not allow autosuspend for interfaces bound to this driver.”…”�”}”(hjbOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÈhj_Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjCOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j^Oh´MÉhjÝKubjI)�”}”(hŒÑ``disable_hub_initiated_lpm`` if set to 1, the USB core will not allow hubs to initiate lower power link state transitions when an idle timeout occurs. Device-initiated USB 3.0 link PM will still be allowed. ”h]”(jO)�”}”(hŒ``disable_hub_initiated_lpm``”h]”jÑ)�”}”(hjƒOh]”hŒdisable_hub_initiated_lpm”…”�”}”(hj…Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj�Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÎhj}Oubji)�”}”(hhh]”hë)�”}”(hŒ²if set to 1, the USB core will not allow hubs to initiate lower power link state transitions when an idle timeout occurs. Device-initiated USB 3.0 link PM will still be allowed.”h]”hŒ²if set to 1, the USB core will not allow hubs to initiate lower power link state transitions when an idle timeout occurs. Device-initiated USB 3.0 link PM will still be allowed.”…”�”}”(hjœOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÌhj™Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj}Oubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j˜Oh´MÎhjÝKubjI)�”}”(hŒ�``soft_unbind`` if set to 1, the USB core will not kill URBs and disable endpoints before calling the driver's disconnect method.”h]”(jO)�”}”(hŒ``soft_unbind``”h]”jÑ)�”}”(hj½Oh]”hŒ soft_unbind”…”�”}”(hj¿Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj»Oubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÊhj·Oubji)�”}”(hhh]”hë)�”}”(hŒqif set to 1, the USB core will not kill URBs and disable endpoints before calling the driver's disconnect method.”h]”hŒsif set to 1, the USB core will not kill URBs and disable endpoints before calling the driver’s disconnect method.”…”�”}”(hjÖOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÒOh´MÊhjÓOubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj·Oubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÒOh´MÊhjÝKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj•Kubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÿOh]”hŒ Description”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjýOubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÎhjgh²hubhë)�”}”(hŒ€USB interface drivers must provide a name, probe() and disconnect() methods, and an id_table. Other driver fields are optional.”h]”hŒ€USB interface drivers must provide a name, probe() and disconnect() methods, and an id_table. Other driver fields are optional.”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÎhjgh²hubhë)�”}”(hŒÂThe id_table is used in hotplugging. It holds a set of descriptors, and specialized data may be associated with each entry. That table is used by both user and kernel mode hotplugging support.”h]”hŒÂThe id_table is used in hotplugging. It holds a set of descriptors, and specialized data may be associated with each entry. That table is used by both user and kernel mode hotplugging support.”…”�”}”(hj$Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÑhjgh²hubhë)�”}”(hXÑThe probe() and disconnect() methods are called in a context where they can sleep, but they should avoid abusing the privilege. Most work to connect to a device should be done when the device is opened, and undone at the last close. The disconnect code needs to address concurrency issues with respect to open() and close() methods, as well as forcing all pending I/O requests to complete (by unlinking them as necessary, and blocking until the unlinks complete).”h]”hXÑThe probe() and disconnect() methods are called in a context where they can sleep, but they should avoid abusing the privilege. Most work to connect to a device should be done when the device is opened, and undone at the last close. The disconnect code needs to address concurrency issues with respect to open() and close() methods, as well as forcing all pending I/O requests to complete (by unlinking them as necessary, and blocking until the unlinks complete).”…”�”}”(hj3Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÕhjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_device_driver (C struct)”Œc.usb_device_driver”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒusb_device_driver”h]”j+)�”}”(hŒstruct usb_device_driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj[Ph²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjWPh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MàubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjiPh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjWPh²hh³jhPh´Màubj„)�”}”(hŒusb_device_driver”h]”jŠ)�”}”(hjUPh]”hŒusb_device_driver”…”�”}”(hj{Ph²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjwPubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjWPh²hh³jhPh´Màubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjSPh²hh³jhPh´Màubah}”(h]”jNPah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jhPh´MàhjPPh²hubjü)�”}”(hhh]”hë)�”}”(hŒ'identifies USB device driver to usbcore”h]”hŒ'identifies USB device driver to usbcore”…”�”}”(hj�Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÿhjšPh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjPPh²hh³jhPh´Màubeh}”(h]”h ]”(jŒstruct”eh"]”h$]”h&]”jjjjµPjjµPj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hX†**Definition**:: struct usb_device_driver { const char *name; bool (*match) (struct usb_device *udev); int (*probe) (struct usb_device *udev); void (*disconnect) (struct usb_device *udev); int (*suspend) (struct usb_device *udev, pm_message_t message); int (*resume) (struct usb_device *udev, pm_message_t message); int (*choose_configuration) (struct usb_device *udev); const struct attribute_group **dev_groups; struct device_driver driver; const struct usb_device_id *id_table; unsigned int supports_autosuspend:1; unsigned int generic_subclass:1; }; **Members** ``name`` The driver name should be unique among USB drivers, and should normally be the same as the module name. ``match`` If set, used for better device/driver matching. ``probe`` Called to see if the driver is willing to manage a particular device. If it is, probe returns zero and uses dev_set_drvdata() to associate driver-specific data with the device. If unwilling to manage the device, return a negative errno value. ``disconnect`` Called when the device is no longer accessible, usually because it has been (or is being) disconnected or the driver's module is being unloaded. ``suspend`` Called when the device is going to be suspended by the system. ``resume`` Called when the device is being resumed by the system. ``choose_configuration`` If non-NULL, called instead of the default usb_choose_configuration(). If this returns an error then we'll go on to call the normal usb_choose_configuration(). ``dev_groups`` Attributes attached to the device that will be created once it is bound to the driver. ``driver`` The driver-model core driver structure. ``id_table`` used with **match\(\)** to select better matching driver at probe() time. ``supports_autosuspend`` if set to 0, the USB core will not allow autosuspend for devices bound to this driver. ``generic_subclass`` if set to 1, the generic USB driver's probe, disconnect, resume and suspend functions will be called in addition to the driver's own, so this part of the setup does not need to be replicated.”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hjÁPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj½PubhŒ:”…”�”}”(hj½Ph²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj¹Pubj )�”}”(hXHstruct usb_device_driver { const char *name; bool (*match) (struct usb_device *udev); int (*probe) (struct usb_device *udev); void (*disconnect) (struct usb_device *udev); int (*suspend) (struct usb_device *udev, pm_message_t message); int (*resume) (struct usb_device *udev, pm_message_t message); int (*choose_configuration) (struct usb_device *udev); const struct attribute_group **dev_groups; struct device_driver driver; const struct usb_device_id *id_table; unsigned int supports_autosuspend:1; unsigned int generic_subclass:1; };”h]”hXHstruct usb_device_driver { const char *name; bool (*match) (struct usb_device *udev); int (*probe) (struct usb_device *udev); void (*disconnect) (struct usb_device *udev); int (*suspend) (struct usb_device *udev, pm_message_t message); int (*resume) (struct usb_device *udev, pm_message_t message); int (*choose_configuration) (struct usb_device *udev); const struct attribute_group **dev_groups; struct device_driver driver; const struct usb_device_id *id_table; unsigned int supports_autosuspend:1; unsigned int generic_subclass:1; };”…”�”}”hjÚPsbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj¹Pubhë)�”}”(hŒ **Members**”h]”j.)�”}”(hjëPh]”hŒMembers”…”�”}”(hjíPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjéPubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj¹PubjD)�”}”(hhh]”(jI)�”}”(hŒq``name`` The driver name should be unique among USB drivers, and should normally be the same as the module name. ”h]”(jO)�”}”(hŒ``name``”h]”jÑ)�”}”(hj Qh]”hŒname”…”�”}”(hj Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjQubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjQubji)�”}”(hhh]”hë)�”}”(hŒgThe driver name should be unique among USB drivers, and should normally be the same as the module name.”h]”hŒgThe driver name should be unique among USB drivers, and should normally be the same as the module name.”…”�”}”(hj#Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj Qubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jQh´MhjQubjI)�”}”(hŒ:``match`` If set, used for better device/driver matching. ”h]”(jO)�”}”(hŒ ``match``”h]”jÑ)�”}”(hjDQh]”hŒmatch”…”�”}”(hjFQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjBQubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj>Qubji)�”}”(hhh]”hë)�”}”(hŒ/If set, used for better device/driver matching.”h]”hŒ/If set, used for better device/driver matching.”…”�”}”(hj]Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jYQh´MhjZQubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj>Qubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jYQh´MhjQubjI)�”}”(hŒÿ``probe`` Called to see if the driver is willing to manage a particular device. If it is, probe returns zero and uses dev_set_drvdata() to associate driver-specific data with the device. If unwilling to manage the device, return a negative errno value. ”h]”(jO)�”}”(hŒ ``probe``”h]”jÑ)�”}”(hj}Qh]”hŒprobe”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj{Qubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjwQubji)�”}”(hhh]”hë)�”}”(hŒôCalled to see if the driver is willing to manage a particular device. If it is, probe returns zero and uses dev_set_drvdata() to associate driver-specific data with the device. If unwilling to manage the device, return a negative errno value.”h]”hŒôCalled to see if the driver is willing to manage a particular device. If it is, probe returns zero and uses dev_set_drvdata() to associate driver-specific data with the device. If unwilling to manage the device, return a negative errno value.”…”�”}”(hj–Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj“Qubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjwQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j’Qh´MhjQubjI)�”}”(hŒ ``disconnect`` Called when the device is no longer accessible, usually because it has been (or is being) disconnected or the driver's module is being unloaded. ”h]”(jO)�”}”(hŒ``disconnect``”h]”jÑ)�”}”(hj·Qh]”hŒ disconnect”…”�”}”(hj¹Qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjµQubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M hj±Qubji)�”}”(hhh]”hë)�”}”(hŒ�Called when the device is no longer accessible, usually because it has been (or is being) disconnected or the driver's module is being unloaded.”h]”hŒ’Called when the device is no longer accessible, usually because it has been (or is being) disconnected or the driver’s module is being unloaded.”…”�”}”(hjÐQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjÍQubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj±Qubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÌQh´M hjQubjI)�”}”(hŒK``suspend`` Called when the device is going to be suspended by the system. ”h]”(jO)�”}”(hŒ ``suspend``”h]”jÑ)�”}”(hjñQh]”hŒsuspend”…”�”}”(hjóQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjïQubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M hjëQubji)�”}”(hhh]”hë)�”}”(hŒ>Called when the device is going to be suspended by the system.”h]”hŒ>Called when the device is going to be suspended by the system.”…”�”}”(hj Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jRh´M hjRubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjëQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jRh´M hjQubjI)�”}”(hŒB``resume`` Called when the device is being resumed by the system. ”h]”(jO)�”}”(hŒ ``resume``”h]”jÑ)�”}”(hj*Rh]”hŒresume”…”�”}”(hj,Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj(Rubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M hj$Rubji)�”}”(hhh]”hë)�”}”(hŒ6Called when the device is being resumed by the system.”h]”hŒ6Called when the device is being resumed by the system.”…”�”}”(hjCRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j?Rh´M hj@Rubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj$Rubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j?Rh´M hjQubjI)�”}”(hŒ¹``choose_configuration`` If non-NULL, called instead of the default usb_choose_configuration(). If this returns an error then we'll go on to call the normal usb_choose_configuration(). ”h]”(jO)�”}”(hŒ``choose_configuration``”h]”jÑ)�”}”(hjcRh]”hŒchoose_configuration”…”�”}”(hjeRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjaRubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj]Rubji)�”}”(hhh]”hë)�”}”(hŒŸIf non-NULL, called instead of the default usb_choose_configuration(). If this returns an error then we'll go on to call the normal usb_choose_configuration().”h]”hŒ¡If non-NULL, called instead of the default usb_choose_configuration(). If this returns an error then we’ll go on to call the normal usb_choose_configuration().”…”�”}”(hj|Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M hjyRubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj]Rubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jxRh´MhjQubjI)�”}”(hŒf``dev_groups`` Attributes attached to the device that will be created once it is bound to the driver. ”h]”(jO)�”}”(hŒ``dev_groups``”h]”jÑ)�”}”(hj�Rh]”hŒ dev_groups”…”�”}”(hjŸRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj›Rubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj—Rubji)�”}”(hhh]”hë)�”}”(hŒVAttributes attached to the device that will be created once it is bound to the driver.”h]”hŒVAttributes attached to the device that will be created once it is bound to the driver.”…”�”}”(hj¶Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj³Rubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj—Rubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j²Rh´MhjQubjI)�”}”(hŒ3``driver`` The driver-model core driver structure. ”h]”(jO)�”}”(hŒ ``driver``”h]”jÑ)�”}”(hj×Rh]”hŒdriver”…”�”}”(hjÙRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÕRubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjÑRubji)�”}”(hhh]”hë)�”}”(hŒ'The driver-model core driver structure.”h]”hŒ'The driver-model core driver structure.”…”�”}”(hjðRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jìRh´MhjíRubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÑRubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jìRh´MhjQubjI)�”}”(hŒW``id_table`` used with **match\(\)** to select better matching driver at probe() time. ”h]”(jO)�”}”(hŒ ``id_table``”h]”jÑ)�”}”(hjSh]”hŒid_table”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjSubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj Subji)�”}”(hhh]”hë)�”}”(hŒIused with **match\(\)** to select better matching driver at probe() time.”h]”(hŒ used with ”…”�”}”(hj)Sh²hh³Nh´Nubj.)�”}”(hŒ **match\(\)**”h]”hŒ match()”…”�”}”(hj1Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj)SubhŒ2 to select better matching driver at probe() time.”…”�”}”(hj)Sh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj&Subah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj Subeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j%Sh´MhjQubjI)�”}”(hŒp``supports_autosuspend`` if set to 0, the USB core will not allow autosuspend for devices bound to this driver. ”h]”(jO)�”}”(hŒ``supports_autosuspend``”h]”jÑ)�”}”(hj\Sh]”hŒsupports_autosuspend”…”�”}”(hj^Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjZSubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjVSubji)�”}”(hhh]”hë)�”}”(hŒVif set to 0, the USB core will not allow autosuspend for devices bound to this driver.”h]”hŒVif set to 0, the USB core will not allow autosuspend for devices bound to this driver.”…”�”}”(hjuSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MhjrSubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjVSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jqSh´MhjQubjI)�”}”(hŒÔ``generic_subclass`` if set to 1, the generic USB driver's probe, disconnect, resume and suspend functions will be called in addition to the driver's own, so this part of the setup does not need to be replicated.”h]”(jO)�”}”(hŒ``generic_subclass``”h]”jÑ)�”}”(hj–Sh]”hŒgeneric_subclass”…”�”}”(hj˜Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj”Subah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj�Subji)�”}”(hhh]”hë)�”}”(hŒ¿if set to 1, the generic USB driver's probe, disconnect, resume and suspend functions will be called in addition to the driver's own, so this part of the setup does not need to be replicated.”h]”hŒÃif set to 1, the generic USB driver’s probe, disconnect, resume and suspend functions will be called in addition to the driver’s own, so this part of the setup does not need to be replicated.”…”�”}”(hj¯Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhj¬Subah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�Subeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j«Sh´MhjQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj¹Pubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÙSh]”hŒ Description”…”�”}”(hjÛSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj×Subah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubhë)�”}”(hŒIUSB device drivers must provide a name, other driver fields are optional.”h]”hŒIUSB device drivers must provide a name, other driver fields are optional.”…”�”}”(hjïSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_class_driver (C struct)”Œc.usb_class_driver”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒusb_class_driver”h]”j+)�”}”(hŒstruct usb_class_driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjTh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj%Th²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjTh²hh³j$Th´Mubj„)�”}”(hŒusb_class_driver”h]”jŠ)�”}”(hjTh]”hŒusb_class_driver”…”�”}”(hj7Th²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj3Tubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjTh²hh³j$Th´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjTh²hh³j$Th´Mubah}”(h]”j Tah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j$Th´Mhj Th²hubjü)�”}”(hhh]”hë)�”}”(hŒ>identifies a USB driver that wants to use the USB major number”h]”hŒ>identifies a USB driver that wants to use the USB major number”…”�”}”(hjYTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M1hjVTh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj Th²hh³j$Th´Mubeh}”(h]”h ]”(jŒstruct”eh"]”h$]”h&]”jjjjqTjjqTj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXü**Definition**:: struct usb_class_driver { char *name; char *(*devnode)(const struct device *dev, umode_t *mode); const struct file_operations *fops; int minor_base; }; **Members** ``name`` the usb class device name for this driver. Will show up in sysfs. ``devnode`` Callback to provide a naming hint for a possible device node to create. ``fops`` pointer to the struct file_operations of this driver. ``minor_base`` the start of the minor range for this driver.”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj}Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjyTubhŒ:”…”�”}”(hjyTh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M5hjuTubj )�”}”(hŒ§struct usb_class_driver { char *name; char *(*devnode)(const struct device *dev, umode_t *mode); const struct file_operations *fops; int minor_base; };”h]”hŒ§struct usb_class_driver { char *name; char *(*devnode)(const struct device *dev, umode_t *mode); const struct file_operations *fops; int minor_base; };”…”�”}”hj–Tsbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M7hjuTubhë)�”}”(hŒ **Members**”h]”j.)�”}”(hj§Th]”hŒMembers”…”�”}”(hj©Th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¥Tubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M>hjuTubjD)�”}”(•hhh]”(jI)�”}”(hŒL``name`` the usb class device name for this driver. Will show up in sysfs. ”h]”(jO)�”}”(hŒ``name``”h]”jÑ)�”}”(hjÆTh]”hŒname”…”�”}”(hjÈTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÄTubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M3hjÀTubji)�”}”(hhh]”hë)�”}”(hŒBthe usb class device name for this driver. Will show up in sysfs.”h]”hŒBthe usb class device name for this driver. Will show up in sysfs.”…”�”}”(hjßTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÛTh´M3hjÜTubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÀTubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÛTh´M3hj½TubjI)�”}”(hŒT``devnode`` Callback to provide a naming hint for a possible device node to create. ”h]”(jO)�”}”(hŒ ``devnode``”h]”jÑ)�”}”(hjÿTh]”hŒdevnode”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjýTubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M5hjùTubji)�”}”(hhh]”hë)�”}”(hŒGCallback to provide a naming hint for a possible device node to create.”h]”hŒGCallback to provide a naming hint for a possible device node to create.”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M4hjUubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjùTubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jUh´M5hj½TubjI)�”}”(hŒ?``fops`` pointer to the struct file_operations of this driver. ”h]”(jO)�”}”(hŒ``fops``”h]”jÑ)�”}”(hj9Uh]”hŒfops”…”�”}”(hj;Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj7Uubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M6hj3Uubji)�”}”(hhh]”hë)�”}”(hŒ5pointer to the struct file_operations of this driver.”h]”hŒ5pointer to the struct file_operations of this driver.”…”�”}”(hjRUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jNUh´M6hjOUubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj3Uubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jNUh´M6hj½TubjI)�”}”(hŒ<``minor_base`` the start of the minor range for this driver.”h]”(jO)�”}”(hŒ``minor_base``”h]”jÑ)�”}”(hjrUh]”hŒ minor_base”…”�”}”(hjtUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjpUubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M6hjlUubji)�”}”(hhh]”hë)�”}”(hŒ-the start of the minor range for this driver.”h]”hŒ-the start of the minor range for this driver.”…”�”}”(hj‹Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M7hjˆUubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjlUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‡Uh´M6hj½Tubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjuTubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjµUh]”hŒ Description”…”�”}”(hj·Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj³Uubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M:hjgh²hubhë)�”}”(hŒŽThis structure is used for the usb_register_dev() and usb_deregister_dev() functions, to consolidate a number of the parameters used for them.”h]”hŒŽThis structure is used for the usb_register_dev() and usb_deregister_dev() functions, to consolidate a number of the parameters used for them.”…”�”}”(hjËUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M7hjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒmodule_usb_driver (C macro)”Œc.module_usb_driver”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒmodule_usb_driver”h]”j+)�”}”(hŒmodule_usb_driver”h]”j„)�”}”(hŒmodule_usb_driver”h]”jŠ)�”}”(hjíUh]”hŒmodule_usb_driver”…”�”}”(hj÷Uh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjóUubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjïUh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MQubah}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjëUh²hh³j Vh´MQubah}”(h]”jæUah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j Vh´MQhjèUh²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjèUh²hh³j Vh´MQubeh}”(h]”h ]”(jŒmacro”eh"]”h$]”h&]”jjjj#Vjj#Vj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubhë)�”}”(hŒ$``module_usb_driver (__usb_driver)``”h]”jÑ)�”}”(hj)Vh]”hŒ module_usb_driver (__usb_driver)”…”�”}”(hj+Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj'Vubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MShjgh²hubjŒ7)�”}”(hŒ*Helper macro for registering a USB driver ”h]”hë)�”}”(hŒ)Helper macro for registering a USB driver”h]”hŒ)Helper macro for registering a USB driver”…”�”}”(hjCVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MQhj?Vubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³jQVh´MQhjgh²hubj$)�”}”(hX!**Parameters** ``__usb_driver`` usb_driver struct **Description** Helper macro for USB drivers 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.)�”}”(hj^Vh]”hŒ Parameters”…”�”}”(hj`Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj\Vubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MUhjXVubjD)�”}”(hhh]”jI)�”}”(hŒ#``__usb_driver`` usb_driver struct ”h]”(jO)�”}”(hŒ``__usb_driver``”h]”jÑ)�”}”(hj}Vh]”hŒ __usb_driver”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj{Vubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MRhjwVubji)�”}”(hhh]”hë)�”}”(hŒusb_driver struct”h]”hŒusb_driver struct”…”�”}”(hj–Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j’Vh´MRhj“Vubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjwVubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j’Vh´MRhjtVubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjXVubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj¸Vh]”hŒ Description”…”�”}”(hjºVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¶Vubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MThjXVubhë)�”}”(hŒÚHelper macro for USB drivers 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ŒÚHelper macro for USB drivers 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()”…”�”}”(hjÎVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MShjXVubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒurb (C struct)”Œc.urb”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒurb”h]”j+)�”}”(hŒ struct urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjýVh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjùVh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MZubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj Wh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjùVh²hh³j Wh´MZubj„)�”}”(hŒurb”h]”jŠ)�”}”(hj÷Vh]”hŒurb”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjWubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjùVh²hh³j Wh´MZubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjõVh²hh³j Wh´MZubah}”(h]”jðVah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j Wh´MZhjòVh²hubjü)�”}”(hhh]”hë)�”}”(hŒUSB Request Block”h]”hŒUSB Request Block”…”�”}”(hj?Wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¥hj\h]”hŒnumber_of_packets”…”�”}”(hj@\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj<\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mãhj8\ubji)�”}”(hhh]”hë)�”}”(hŒ)Lists the number of ISO transfer buffers.”h]”hŒ)Lists the number of ISO transfer buffers.”…”�”}”(hjW\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jS\h´MãhjT\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj8\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jS\h´Mãhj£WubjI)�”}”(hŒá``interval`` Specifies the polling interval for interrupt or isochronous transfers. The units are frames (milliseconds) for full and low speed devices, and microframes (1/8 millisecond) for highspeed and SuperSpeed devices. ”h]”(jO)�”}”(hŒ ``interval``”h]”jÑ)�”}”(hjw\h]”hŒinterval”…”�”}”(hjy\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhju\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mçhjq\ubji)�”}”(hhh]”hë)�”}”(hŒÓSpecifies the polling interval for interrupt or isochronous transfers. The units are frames (milliseconds) for full and low speed devices, and microframes (1/8 millisecond) for highspeed and SuperSpeed devices.”h]”hŒÓSpecifies the polling interval for interrupt or isochronous transfers. The units are frames (milliseconds) for full and low speed devices, and microframes (1/8 millisecond) for highspeed and SuperSpeed devices.”…”�”}”(hj�\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mähj�\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjq\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jŒ\h´Mçhj£WubjI)�”}”(hŒJ``error_count`` Returns the number of ISO transfers that reported errors. ”h]”(jO)�”}”(hŒ``error_count``”h]”jÑ)�”}”(hj±\h]”hŒ error_count”…”�”}”(hj³\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¯\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mèhj«\ubji)�”}”(hhh]”hë)�”}”(hŒ9Returns the number of ISO transfers that reported errors.”h]”hŒ9Returns the number of ISO transfers that reported errors.”…”�”}”(hjÊ\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÆ\h´MèhjÇ\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj«\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÆ\h´Mèhj£WubjI)�”}”(hŒg``context`` For use in completion functions. This normally points to request-specific driver context. ”h]”(jO)�”}”(hŒ ``context``”h]”jÑ)�”}”(hjê\h]”hŒcontext”…”�”}”(hjì\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjè\ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mêhjä\ubji)�”}”(hhh]”hë)�”}”(hŒZFor use in completion functions. This normally points to request-specific driver context.”h]”hŒZFor use in completion functions. This normally points to request-specific driver context.”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Méhj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjä\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÿ\h´Mêhj£WubjI)�”}”(hŒÈ``complete`` Completion handler. This URB is passed as the parameter to the completion function. The completion function may then do what it likes with the URB, including resubmitting or freeing it. ”h]”(jO)�”}”(hŒ ``complete``”h]”jÑ)�”}”(hj$]h]”hŒcomplete”…”�”}”(hj&]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj"]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Míhj]ubji)�”}”(hhh]”hë)�”}”(hŒºCompletion handler. This URB is passed as the parameter to the completion function. The completion function may then do what it likes with the URB, including resubmitting or freeing it.”h]”hŒºCompletion handler. This URB is passed as the parameter to the completion function. The completion function may then do what it likes with the URB, including resubmitting or freeing it.”…”�”}”(hj=]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mëhj:]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j9]h´Míhj£WubjI)�”}”(hŒu``iso_frame_desc`` Used to provide arrays of ISO transfer buffers and to collect the transfer status for each buffer.”h]”(jO)�”}”(hŒ``iso_frame_desc``”h]”jÑ)�”}”(hj^]h]”hŒiso_frame_desc”…”�”}”(hj`]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj\]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MîhjX]ubji)�”}”(hhh]”hë)�”}”(hŒbUsed to provide arrays of ISO transfer buffers and to collect the transfer status for each buffer.”h]”hŒbUsed to provide arrays of ISO transfer buffers and to collect the transfer status for each buffer.”…”�”}”(hjw]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³js]h´Mîhjt]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjX]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³js]h´Mîhj£Wubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj[Wubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj ]h]”hŒ Description”…”�”}”(hj¢]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjž]ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mòhjgh²hubhë)�”}”(hXLThis structure identifies USB transfer requests. URBs must be allocated by calling usb_alloc_urb() and freed with a call to usb_free_urb(). Initialization may be done using various usb_fill_*_urb() functions. URBs are submitted using usb_submit_urb(), and pending requests may be canceled using usb_unlink_urb() or usb_kill_urb().”h]”hXLThis structure identifies USB transfer requests. URBs must be allocated by calling usb_alloc_urb() and freed with a call to usb_free_urb(). Initialization may be done using various usb_fill_*_urb() functions. URBs are submitted using usb_submit_urb(), and pending requests may be canceled using usb_unlink_urb() or usb_kill_urb().”…”�”}”(hj¶]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mïhjgh²hubhë)�”}”(hŒData Transfer Buffers:”h]”hŒData Transfer Buffers:”…”�”}”(hjÅ]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mõhjgh²hubhë)�”}”(hXÍNormally drivers provide I/O buffers allocated with kmalloc() or otherwise taken from the general page pool. That is provided by transfer_buffer (control requests also use setup_packet), and host controller drivers perform a dma mapping (and unmapping) for each buffer transferred. Those mapping operations can be expensive on some platforms (perhaps using a dma bounce buffer or talking to an IOMMU), although they're cheap on commodity x86 and ppc hardware.”h]”hXÏNormally drivers provide I/O buffers allocated with kmalloc() or otherwise taken from the general page pool. That is provided by transfer_buffer (control requests also use setup_packet), and host controller drivers perform a dma mapping (and unmapping) for each buffer transferred. Those mapping operations can be expensive on some platforms (perhaps using a dma bounce buffer or talking to an IOMMU), although they’re cheap on commodity x86 and ppc hardware.”…”�”}”(hjÔ]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M÷hjgh²hubhë)�”}”(hXïAlternatively, drivers may pass the URB_NO_TRANSFER_DMA_MAP transfer flag, which tells the host controller driver that no such mapping is needed for the transfer_buffer since the device driver is DMA-aware. For example, a device driver might allocate a DMA buffer with usb_alloc_coherent() or call usb_buffer_map(). When this transfer flag is provided, host controller drivers will attempt to use the dma address found in the transfer_dma field rather than determining a dma address themselves.”h]”hXïAlternatively, drivers may pass the URB_NO_TRANSFER_DMA_MAP transfer flag, which tells the host controller driver that no such mapping is needed for the transfer_buffer since the device driver is DMA-aware. For example, a device driver might allocate a DMA buffer with usb_alloc_coherent() or call usb_buffer_map(). When this transfer flag is provided, host controller drivers will attempt to use the dma address found in the transfer_dma field rather than determining a dma address themselves.”…”�”}”(hjã]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mÿhjgh²hubhë)�”}”(hXîNote that transfer_buffer must still be set if the controller does not support DMA (as indicated by hcd_uses_dma()) and when talking to root hub. If you have to transfer between highmem zone and the device on such controller, create a bounce buffer or bail out with an error. If transfer_buffer cannot be set (is in highmem) and the controller is DMA capable, assign NULL to it, so that usbmon knows not to use the value. The setup_packet must always be set, so it cannot be located in highmem.”h]”hXîNote that transfer_buffer must still be set if the controller does not support DMA (as indicated by hcd_uses_dma()) and when talking to root hub. If you have to transfer between highmem zone and the device on such controller, create a bounce buffer or bail out with an error. If transfer_buffer cannot be set (is in highmem) and the controller is DMA capable, assign NULL to it, so that usbmon knows not to use the value. The setup_packet must always be set, so it cannot be located in highmem.”…”�”}”(hjò]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubhë)�”}”(hŒInitialization:”h]”hŒInitialization:”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubhë)�”}”(hXGAll URBs submitted must initialize the dev, pipe, transfer_flags (may be zero), and complete fields. All URBs must also initialize transfer_buffer and transfer_buffer_length. They may provide the URB_SHORT_NOT_OK transfer flag, indicating that short reads are to be treated as errors; that flag is invalid for write requests.”h]”hXGAll URBs submitted must initialize the dev, pipe, transfer_flags (may be zero), and complete fields. All URBs must also initialize transfer_buffer and transfer_buffer_length. They may provide the URB_SHORT_NOT_OK transfer flag, indicating that short reads are to be treated as errors; that flag is invalid for write requests.”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubhë)�”}”(hŒ¹Bulk URBs may use the URB_ZERO_PACKET transfer flag, indicating that bulk OUT transfers should always terminate with a short packet, even if it means adding an extra zero length packet.”h]”hŒ¹Bulk URBs may use the URB_ZERO_PACKET transfer flag, indicating that bulk OUT transfers should always terminate with a short packet, even if it means adding an extra zero length packet.”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubhë)�”}”(hŒ—Control URBs must provide a valid pointer in the setup_packet field. Unlike the transfer_buffer, the setup_packet may not be mapped for DMA beforehand.”h]”hŒ—Control URBs must provide a valid pointer in the setup_packet field. Unlike the transfer_buffer, the setup_packet may not be mapped for DMA beforehand.”…”�”}”(hj.^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mhjgh²hubhë)�”}”(hXÐInterrupt URBs must provide an interval, saying how often (in milliseconds or, for highspeed devices, 125 microsecond units) to poll for transfers. After the URB has been submitted, the interval field reflects how the transfer was actually scheduled. The polling interval may be more frequent than requested. For example, some controllers have a maximum interval of 32 milliseconds, while others support intervals of up to 1024 milliseconds. Isochronous URBs also have transfer intervals. (Note that for isochronous endpoints, as well as high speed interrupt endpoints, the encoding of the transfer interval in the endpoint descriptor is logarithmic. Device drivers must convert that value to linear units themselves.)”h]”hXÐInterrupt URBs must provide an interval, saying how often (in milliseconds or, for highspeed devices, 125 microsecond units) to poll for transfers. After the URB has been submitted, the interval field reflects how the transfer was actually scheduled. The polling interval may be more frequent than requested. For example, some controllers have a maximum interval of 32 milliseconds, while others support intervals of up to 1024 milliseconds. Isochronous URBs also have transfer intervals. (Note that for isochronous endpoints, as well as high speed interrupt endpoints, the encoding of the transfer interval in the endpoint descriptor is logarithmic. Device drivers must convert that value to linear units themselves.)”…”�”}”(hj=^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M!hjgh²hubhë)�”}”(hX»If an isochronous endpoint queue isn't already running, the host controller will schedule a new URB to start as soon as bandwidth utilization allows. If the queue is running then a new URB will be scheduled to start in the first transfer slot following the end of the preceding URB, if that slot has not already expired. If the slot has expired (which can happen when IRQ delivery is delayed for a long time), the scheduling behavior depends on the URB_ISO_ASAP flag. If the flag is clear then the URB will be scheduled to start in the expired slot, implying that some of its packets will not be transferred; if the flag is set then the URB will be scheduled in the first unexpired slot, breaking the queue's synchronization. Upon URB completion, the start_frame field will be set to the (micro)frame number in which the transfer was scheduled. Ranges for frame counter values are HC-specific and can go from as low as 256 to as high as 65536 frames.”h]”hX¿If an isochronous endpoint queue isn’t already running, the host controller will schedule a new URB to start as soon as bandwidth utilization allows. If the queue is running then a new URB will be scheduled to start in the first transfer slot following the end of the preceding URB, if that slot has not already expired. If the slot has expired (which can happen when IRQ delivery is delayed for a long time), the scheduling behavior depends on the URB_ISO_ASAP flag. If the flag is clear then the URB will be scheduled to start in the expired slot, implying that some of its packets will not be transferred; if the flag is set then the URB will be scheduled in the first unexpired slot, breaking the queue’s synchronization. Upon URB completion, the start_frame field will be set to the (micro)frame number in which the transfer was scheduled. Ranges for frame counter values are HC-specific and can go from as low as 256 to as high as 65536 frames.”…”�”}”(hjL^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M-hjgh²hubhë)�”}”(hX4Isochronous URBs have a different data transfer model, in part because the quality of service is only "best effort". Callers provide specially allocated URBs, with number_of_packets worth of iso_frame_desc structures at the end. Each such packet is an individual ISO transfer. Isochronous URBs are normally queued, submitted by drivers to arrange that transfers are at least double buffered, and then explicitly resubmitted in completion handlers, so that data (such as audio or video) streams at as constant a rate as the host controller scheduler can support.”h]”hX8Isochronous URBs have a different data transfer model, in part because the quality of service is only “best effortâ€�. Callers provide specially allocated URBs, with number_of_packets worth of iso_frame_desc structures at the end. Each such packet is an individual ISO transfer. Isochronous URBs are normally queued, submitted by drivers to arrange that transfers are at least double buffered, and then explicitly resubmitted in completion handlers, so that data (such as audio or video) streams at as constant a rate as the host controller scheduler can support.”…”�”}”(hj[^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M<hjgh²hubhë)�”}”(hŒCompletion Callbacks:”h]”hŒCompletion Callbacks:”…”�”}”(hjj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MFhjgh²hubhë)�”}”(hXQThe completion callback is made in_interrupt(), and one of the first things that a completion handler should do is check the status field. The status field is provided for all URBs. It is used to report unlinked URBs, and status for all non-ISO transfers. It should not be examined before the URB is returned to the completion handler.”h]”hXQThe completion callback is made in_interrupt(), and one of the first things that a completion handler should do is check the status field. The status field is provided for all URBs. It is used to report unlinked URBs, and status for all non-ISO transfers. It should not be examined before the URB is returned to the completion handler.”…”�”}”(hjy^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MHhjgh²hubhë)�”}”(hŒ]The context field is normally used to link URBs back to the relevant driver or request state.”h]”hŒ]The context field is normally used to link URBs back to the relevant driver or request state.”…”�”}”(hjˆ^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MNhjgh²hubhë)�”}”(hŒÓWhen the completion callback is invoked for non-isochronous URBs, the actual_length field tells how many bytes were transferred. This field is updated even when the URB terminated with an error or was unlinked.”h]”hŒÓWhen the completion callback is invoked for non-isochronous URBs, the actual_length field tells how many bytes were transferred. This field is updated even when the URB terminated with an error or was unlinked.”…”�”}”(hj—^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MQhjgh²hubhë)�”}”(hXISO transfer status is reported in the status and actual_length fields of the iso_frame_desc array, and the number of errors is reported in error_count. Completion callbacks for ISO transfers will normally (re)submit URBs to ensure a constant transfer rate.”h]”hXISO transfer status is reported in the status and actual_length fields of the iso_frame_desc array, and the number of errors is reported in error_count. Completion callbacks for ISO transfers will normally (re)submit URBs to ensure a constant transfer rate.”…”�”}”(hj¦^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MUhjgh²hubhë)�”}”(hŒÃNote that even fields marked "public" should not be touched by the driver when the urb is owned by the hcd, that is, since the call to usb_submit_urb() till the entry into the completion routine.”h]”hŒÇNote that even fields marked “publicâ€� should not be touched by the driver when the urb is owned by the hcd, that is, since the call to usb_submit_urb() till the entry into the completion routine.”…”�”}”(hjµ^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MZhjgh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ!usb_fill_control_urb (C function)”Œc.usb_fill_control_urb”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒÈvoid usb_fill_control_urb (struct urb *urb, struct usb_device *dev, unsigned int pipe, unsigned char *setup_packet, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context)”h]”j+)�”}”(hŒÇvoid usb_fill_control_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, unsigned char *setup_packet, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÝ^h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÙ^h²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MŠubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjì^h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÙ^h²hh³jë^h´MŠubj„)�”}”(hŒusb_fill_control_urb”h]”jŠ)�”}”(hŒusb_fill_control_urb”h]”hŒusb_fill_control_urb”…”�”}”(hjþ^h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjú^ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÙ^h²hh³jë^h´MŠubj¥)�”}”(hŒ®(struct urb *urb, struct usb_device *dev, unsigned int pipe, unsigned char *setup_packet, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context)”h]”(j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj'_h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj_ubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj8_h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj5_ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j:_Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj_sbŒc.usb_fill_control_urb”†”asbuh1hhj_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjX_h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj_ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjf_h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj_ubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjs_h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj_ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ubj«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjŒ_h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjˆ_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj™_h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjˆ_ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjª_h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj§_ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¬_Œmodname”NŒ classname”NjLjO)�”}”jR]”jT_Œc.usb_fill_control_urb”†”asbuh1hhjˆ_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÈ_h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjˆ_ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÖ_h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjˆ_ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjã_h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjˆ_ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ubj«)�”}”(hŒunsigned int pipe”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjü_h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjø_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj `h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjø_ubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjø_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj&`h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjø_ubjŠ)�”}”(hŒpipe”h]”hŒpipe”…”�”}”(hj4`h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjø_ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ubj«)�”}”(hŒunsigned char *setup_packet”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjM`h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjI`ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj[`h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjI`ubjT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hji`h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjI`ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjw`h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjI`ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj…`h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjI`ubjŠ)�”}”(hŒ setup_packet”h]”hŒ setup_packet”…”�”}”(hj’`h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjI`ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ubj«)�”}”(hŒvoid *transfer_buffer”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj«`h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj§`ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¹`h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj§`ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÇ`h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj§`ubjŠ)�”}”(hŒtransfer_buffer”h]”hŒtransfer_buffer”…”�”}”(hjÔ`h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj§`ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ubj«)�”}”(hŒint buffer_length”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjí`h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjé`ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjû`h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjé`ubjŠ)�”}”(hŒ buffer_length”h]”hŒ buffer_length”…”�”}”(hj ah²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjé`ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ubj«)�”}”(hŒusb_complete_t complete_fn”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒusb_complete_t”h]”hŒusb_complete_t”…”�”}”(hj%ah²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj"aubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j'aŒmodname”NŒ classname”NjLjO)�”}”jR]”jT_Œc.usb_fill_control_urb”†”asbuh1hhjaubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjCah²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjaubjŠ)�”}”(hŒ complete_fn”h]”hŒ complete_fn”…”�”}”(hjQah²hh³Nh´Nubah}”(h]”h ]”j–ah"•]”h$]”h&]”uh1j‰hjaubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ubj«)�”}”(hŒ void *context”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjjah²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjfaubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjxah²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjfaubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj†ah²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjfaubjŠ)�”}”(hŒcontext”h]”hŒcontext”…”�”}”(hj“ah²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjfaubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj_ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÙ^h²hh³jë^h´MŠubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÕ^h²hh³jë^h´MŠubah}”(h]”jÐ^ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jë^h´MŠhjÒ^h²hubjü)�”}”(hhh]”hë)�”}”(hŒinitializes a control urb”h]”hŒinitializes a control urb”…”�”}”(hj½ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MŠhjºah²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÒ^h²hh³jë^h´MŠubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÕajjÕaj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hX¨**Parameters** ``struct urb *urb`` pointer to the urb to initialize. ``struct usb_device *dev`` pointer to the struct usb_device for this urb. ``unsigned int pipe`` the endpoint pipe ``unsigned char *setup_packet`` pointer to the setup_packet buffer. The buffer must be suitable for DMA. ``void *transfer_buffer`` pointer to the transfer buffer. The buffer must be suitable for DMA. ``int buffer_length`` length of the transfer buffer ``usb_complete_t complete_fn`` pointer to the usb_complete_t function ``void *context`` what to set the urb context to. **Description** Initializes a control urb with the proper information needed to submit it to a device. The transfer buffer and the setup_packet buffer will most likely be filled or read via DMA. The simplest way to get a buffer that can be DMAed to is allocating it via kmalloc() or equivalent, even for very small buffers. If the buffers are embedded in a bigger structure, there is a risk that the buffer itself, the previous fields and/or the next fields are corrupted due to cache incoherencies; or slowed down if they are evicted from the cache. For more information, check :c:type:`struct urb `.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjßah]”hŒ Parameters”…”�”}”(hjáah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÝaubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MŽhjÙaubjD)�”}”(hhh]”(jI)�”}”(hŒ6``struct urb *urb`` pointer to the urb to initialize. ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hjþah]”hŒstruct urb *urb”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjüaubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M‹hjøaubji)�”}”(hhh]”hë)�”}”(hŒ!pointer to the urb to initialize.”h]”hŒ!pointer to the urb to initialize.”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jbh´M‹hjbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjøaubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jbh´M‹hjõaubjI)�”}”(hŒJ``struct usb_device *dev`` pointer to the struct usb_device for this urb. ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj7bh]”hŒstruct usb_device *dev”…”�”}”(hj9bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj5bubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MŒhj1bubji)�”}”(hhh]”hë)�”}”(hŒ.pointer to the struct usb_device for this urb.”h]”hŒ.pointer to the struct usb_device for this urb.”…”�”}”(hjPbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jLbh´MŒhjMbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj1bubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jLbh´MŒhjõaubjI)�”}”(hŒ(``unsigned int pipe`` the endpoint pipe ”h]”(jO)�”}”(hŒ``unsigned int pipe``”h]”jÑ)�”}”(hjpbh]”hŒunsigned int pipe”…”�”}”(hjrbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjnbubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hjjbubji)�”}”(hhh]”hë)�”}”(hŒthe endpoint pipe”h]”hŒthe endpoint pipe”…”�”}”(hj‰bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j…bh´M�hj†bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjjbubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j…bh´M�hjõaubjI)�”}”(hŒi``unsigned char *setup_packet`` pointer to the setup_packet buffer. The buffer must be suitable for DMA. ”h]”(jO)�”}”(hŒ``unsigned char *setup_packet``”h]”jÑ)�”}”(hj©bh]”hŒunsigned char *setup_packet”…”�”}”(hj«bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj§bubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hj£bubji)�”}”(hhh]”hë)�”}”(hŒHpointer to the setup_packet buffer. The buffer must be suitable for DMA.”h]”hŒHpointer to the setup_packet buffer. The buffer must be suitable for DMA.”…”�”}”(hjÂbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MŽhj¿bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj£bubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¾bh´M�hjõaubjI)�”}”(hŒ_``void *transfer_buffer`` pointer to the transfer buffer. The buffer must be suitable for DMA. ”h]”(jO)�”}”(hŒ``void *transfer_buffer``”h]”jÑ)�”}”(hjãbh]”hŒvoid *transfer_buffer”…”�”}”(hjåbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjábubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M‘hjÝbubji)�”}”(hhh]”hë)�”}”(hŒDpointer to the transfer buffer. The buffer must be suitable for DMA.”h]”hŒDpointer to the transfer buffer. The buffer must be suitable for DMA.”…”�”}”(hjübh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M�hjùbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÝbubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jøbh´M‘hjõaubjI)�”}”(hŒ4``int buffer_length`` length of the transfer buffer ”h]”(jO)�”}”(hŒ``int buffer_length``”h]”jÑ)�”}”(hjch]”hŒint buffer_length”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjcubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M’hjcubji)�”}”(hhh]”hë)�”}”(hŒlength of the transfer buffer”h]”hŒlength of the transfer buffer”…”�”}”(hj6ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j2ch´M’hj3cubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjcubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j2ch´M’hjõaubjI)�”}”(hŒF``usb_complete_t complete_fn`` pointer to the usb_complete_t function ”h]”(jO)�”}”(hŒ``usb_complete_t complete_fn``”h]”jÑ)�”}”(hjVch]”hŒusb_complete_t complete_fn”…”�”}”(hjXch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjTcubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M“hjPcubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to the usb_complete_t function”h]”hŒ&pointer to the usb_complete_t function”…”�”}”(hjoch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jkch´M“hjlcubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjPcubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jkch´M“hjõaubjI)�”}”(hŒ2``void *context`` what to set the urb context to. ”h]”(jO)�”}”(hŒ``void *context``”h]”jÑ)�”}”(hj�ch]”hŒ void *context”…”�”}”(hj‘ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj�cubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M”hj‰cubji)�”}”(hhh]”hë)�”}”(hŒwhat to set the urb context to.”h]”hŒwhat to set the urb context to.”…”�”}”(hj¨ch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¤ch´M”hj¥cubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‰cubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¤ch´M”hjõaubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÙaubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÊch]”hŒ Description”…”�”}”(hjÌch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÈcubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M–hjÙaubhë)�”}”(hŒVInitializes a control urb with the proper information needed to submit it to a device.”h]”hŒVInitializes a control urb with the proper information needed to submit it to a device.”…”�”}”(hjàch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M•hjÙaubhë)�”}”(hX÷The transfer buffer and the setup_packet buffer will most likely be filled or read via DMA. The simplest way to get a buffer that can be DMAed to is allocating it via kmalloc() or equivalent, even for very small buffers. If the buffers are embedded in a bigger structure, there is a risk that the buffer itself, the previous fields and/or the next fields are corrupted due to cache incoherencies; or slowed down if they are evicted from the cache. For more information, check :c:type:`struct urb `.”h]”(hXÜThe transfer buffer and the setup_packet buffer will most likely be filled or read via DMA. The simplest way to get a buffer that can be DMAed to is allocating it via kmalloc() or equivalent, even for very small buffers. If the buffers are embedded in a bigger structure, there is a risk that the buffer itself, the previous fields and/or the next fields are corrupted due to cache incoherencies; or slowed down if they are evicted from the cache. For more information, check ”…”�”}”(hjïch²hh³Nh´Nubh)�”}”(hŒ:c:type:`struct urb `”h]”jÑ)�”}”(hjùch]”hŒ struct urb”…”�”}”(hjûch²hh³Nh´Nubah}”(h]”h ]”(Œxref”jŒc-type”eh"]”h$]”h&]”uh1jÐhj÷cubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œdriver-api/usb/usb”Œ refdomain”jŒreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jLjO)�”}”jR]”sbŒ reftarget”Œurb”uh1hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M˜hjïcubhŒ.”…”�”}”(hjïch²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jdh´M˜hjÙaubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_fill_bulk_urb (C function)”Œc.usb_fill_bulk_urb”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒ¨void usb_fill_bulk_urb (struct urb *urb, struct usb_device *dev, unsigned int pipe, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context)”h]”j+)�”}”(hŒ§void usb_fill_bulk_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjGdh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjCdh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MµubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjVdh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjCdh²hh³jUdh´Mµubj„)�”}”(hŒusb_fill_bulk_urb”h]”jŠ)�”}”(hŒusb_fill_bulk_urb”h]”hŒusb_fill_bulk_urb”…”�”}”(hjhdh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjddubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjCdh²hh³jUdh´Mµubj¥)�”}”(hŒ‘(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context)”h]”(j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj„dh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj€dubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‘dh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj€dubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj¢dh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjŸdubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¤dŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjjdsbŒc.usb_fill_bulk_urb”†”asbuh1hhj€dubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂdh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj€dubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÐdh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj€dubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjÝdh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj€dubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj|dubj«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjödh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjòdubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjòdubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjeubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jeŒmodname”NŒ classname”NjLjO)�”}”jR]”j¾dŒc.usb_fill_bulk_urb”†”asbuh1hhjòdubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj2eh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjòdubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj@eh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjòdubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjMeh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjòdubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj|dubj«)�”}”(hŒunsigned int pipe”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjfeh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjbeubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjteh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjbeubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hj‚eh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjbeubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�eh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjbeubjŠ)�”}”(hŒpipe”h]”hŒpipe”…”�”}”(hjžeh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjbeubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj|dubj«)�”}”(hŒvoid *transfer_buffer”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj·eh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj³eubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÅeh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj³eubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÓeh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj³eubjŠ)�”}”(hŒtransfer_buffer”h]”hŒtransfer_buffer”…”�”}”(hjàeh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj³eubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj|dubj«)�”}”(hŒint buffer_length”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjùeh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjõeubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjõeubjŠ)�”}”(hŒ buffer_length”h]”hŒ buffer_length”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjõeubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj|dubj«)�”}”(hŒusb_complete_t complete_fn”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒusb_complete_t”h]”hŒusb_complete_t”…”�”}”(hj1fh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj.fubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j3fŒmodname”NŒ classname”NjLjO)�”}”jR]”j¾dŒc.usb_fill_bulk_urb”†”asbuh1hhj*fubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjOfh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj*fubjŠ)�”}”(hŒ complete_fn”h]”hŒ complete_fn”…”�”}”(hj]fh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj*fubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj|dubj«)�”}”(hŒ void *context”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjvfh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjrfubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj„fh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjrfubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj’fh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjrfubjŠ)�”}”(hŒcontext”h]”hŒcontext”…”�”}”(hjŸfh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjrfubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj|dubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjCdh²hh³jUdh´Mµubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj?dh²hh³jUdh´Mµubah}”(h]”j:dah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jUdh´Mµhjhubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj"hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j=hh´M¼hjgubjI)�”}”(hŒ2``void *context`` what to set the urb context to. ”h]”(jO)�”}”(hŒ``void *context``”h]”jÑ)�”}”(hjahh]”hŒ void *context”…”�”}”(hjchh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj_hubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M½hj[hubji)�”}”(hhh]”hë)�”}”(hŒwhat to set the urb context to.”h]”hŒwhat to set the urb context to.”…”�”}”(hjzhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jvhh´M½hjwhubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj[hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jvhh´M½hjgubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjåfubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjœhh]”hŒ Description”…”�”}”(hjžhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjšhubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¿hjåfubhë)�”}”(hŒSInitializes a bulk urb with the proper information needed to submit it to a device.”h]”hŒSInitializes a bulk urb with the proper information needed to submit it to a device.”…”�”}”(hj²hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M¾hjåfubhë)�”}”(hŒZRefer to usb_fill_control_urb() for a description of the requirements for transfer_buffer.”h]”hŒZRefer to usb_fill_control_urb() for a description of the requirements for transfer_buffer.”…”�”}”(hjÁhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÁhjåfubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_fill_int_urb (C function)”Œc.usb_fill_int_urb”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒµvoid usb_fill_int_urb (struct urb *urb, struct usb_device *dev, unsigned int pipe, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context, int interval)”h]”j+)�”}”(hŒ´void usb_fill_int_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context, int interval)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjðhh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjìhh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÖubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÿhh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjìhh²hh³jþhh´MÖubj„)�”}”(hŒusb_fill_int_urb”h]”jŠ)�”}”(hŒusb_fill_int_urb”h]”hŒusb_fill_int_urb”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj iubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjìhh²hh³jþhh´MÖubj¥)�”}”(hŒŸ(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *transfer_buffer, int buffer_length, usb_complete_t complete_fn, void *context, int interval)”h]”(j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj-ih²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj)iubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj:ih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj)iubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjKih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjHiubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jMiŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjisbŒc.usb_fill_int_urb”†”asbuh1hhj)iubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjkih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj)iubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjyih²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj)iubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj†ih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj)iubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj%iubj«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjŸih²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj›iubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¬ih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj›iubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj½ih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjºiubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¿iŒmodname”NŒ classname”NjLjO)�”}”jR]”jgiŒc.usb_fill_int_urb”†”asbuh1hhj›iubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÛih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj›iubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjéih²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj›iubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjöih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj›iubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj%iubj«)�”}”(hŒunsigned int pipe”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj jubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj jubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hj+jh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj jubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj9jh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj jubjŠ)�”}”(hŒpipe”h]”hŒpipe”…”�”}”(hjGjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj jubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj%iubj«)�”}”(hŒvoid *transfer_buffer”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj`jh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj\jubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjnjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj\jubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj|jh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj\jubjŠ)�”}”(hŒtransfer_buffer”h]”hŒtransfer_buffer”…”�”}”(hj‰jh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj\jubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj%iubj«)�”}”(hŒint buffer_length”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj¢jh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjžjubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj°jh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjžjubjŠ)�”}”(hŒ buffer_length”h]”hŒ buffer_length”…”�”}”(hj¾jh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjžjubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj%iubj«)�”}”(hŒusb_complete_t complete_fn”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒusb_complete_t”h]”hŒusb_complete_t”…”�”}”(hjÚjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj×jubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÜjŒmodname”NŒ classname”NjLjO)�”}”jR]”jgiŒc.usb_fill_int_urb”†”asbuh1hhjÓjubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjøjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÓjubjŠ)�”}”(hŒ complete_fn”h]”hŒ complete_fn”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÓjubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj%iubj«)�”}”(hŒ void *context”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjkubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj-kh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjkubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj;kh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjkubjŠ)�”}”(hŒcontext”h]”hŒcontext”…”�”}”(hjHkh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjkubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj%iubj«)�”}”(hŒ int interval”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjakh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj]kubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjokh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj]kubjŠ)�”}”(hŒinterval”h]”hŒinterval”…”�”}”(hj}kh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj]kubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj%iubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjìhh²hh³jþhh´MÖubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjèhh²hh³jþhh´MÖubah}”(h]”jãhah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jþhh´MÖhjåhh²hubjü)�”}”(hhh]”hë)�”}”(hŒ(macro to help initialize a interrupt urb”h]”hŒ(macro to help initialize a interrupt urb”…”�”}”(hj§kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÖhj¤kh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjåhh²hh³jþhh´MÖubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¿kjj¿kj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hXñ**Parameters** ``struct urb *urb`` pointer to the urb to initialize. ``struct usb_device *dev`` pointer to the struct usb_device for this urb. ``unsigned int pipe`` the endpoint pipe ``void *transfer_buffer`` pointer to the transfer buffer. The buffer must be suitable for DMA. ``int buffer_length`` length of the transfer buffer ``usb_complete_t complete_fn`` pointer to the usb_complete_t function ``void *context`` what to set the urb context to. ``int interval`` what to set the urb interval to, encoded like the endpoint descriptor's bInterval value. **Description** Initializes a interrupt urb with the proper information needed to submit it to a device. Refer to usb_fill_control_urb() for a description of the requirements for transfer_buffer. Note that High Speed and SuperSpeed(+) interrupt endpoints use a logarithmic encoding of the endpoint interval, and express polling intervals in microframes (eight per millisecond) rather than in frames (one per millisecond).”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÉkh]”hŒ Parameters”…”�”}”(hjËkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÇkubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÚhjÃkubjD)�”}”(hhh]”(jI)�”}”(hŒ6``struct urb *urb`` pointer to the urb to initialize. ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hjèkh]”hŒstruct urb *urb”…”�”}”(hjêkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjækubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M×hjâkubji)�”}”(hhh]”hë)�”}”(hŒ!pointer to the urb to initialize.”h]”hŒ!pointer to the urb to initialize.”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jýkh´M×hjþkubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjâkubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jýkh´M×hjßkubjI)�”}”(hŒJ``struct usb_device *dev`` pointer to the struct usb_device for this urb. ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj!lh]”hŒstruct usb_device *dev”…”�”}”(hj#lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjlubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MØhjlubji)�”}”(hhh]”hë)�”}”(hŒ.pointer to the struct usb_device for this urb.”h]”hŒ.pointer to the struct usb_device for this urb.”…”�”}”(hj:lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j6lh´MØhj7lubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjlubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j6lh´MØhjßkubjI)�”}”(hŒ(``unsigned int pipe`` the endpoint pipe ”h]”(jO)�”}”(hŒ``unsigned int pipe``”h]”jÑ)�”}”(hjZlh]”hŒunsigned int pipe”…”�”}”(hj\lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjXlubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÙhjTlubji)�”}”(hhh]”hë)�”}”(hŒthe endpoint pipe”h]”hŒthe endpoint pipe”…”�”}”(hjslh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jolh´MÙhjplubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjTlubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jolh´MÙhjßkubjI)�”}”(hŒ_``void *transfer_buffer`` pointer to the transfer buffer. The buffer must be suitable for DMA. ”h]”(jO)�”}”(hŒ``void *transfer_buffer``”h]”jÑ)�”}”(hj“lh]”hŒvoid *transfer_buffer”…”�”}”(hj•lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‘lubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÛhj�lubji)�”}”(hhh]”hë)�”}”(hŒDpointer to the transfer buffer. The buffer must be suitable for DMA.”h]”hŒDpointer to the transfer buffer. The buffer must be suitable for DMA.”…”�”}”(hj¬lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÚhj©lubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�lubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¨lh´MÛhjßkubjI)�”}”(hŒ4``int buffer_length`` length of the transfer buffer ”h]”(jO)�”}”(hŒ``int buffer_length``”h]”jÑ)�”}”(hjÍlh]”hŒint buffer_length”…”�”}”(hjÏlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjËlubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÜhjÇlubji)�”}”(hhh]”hë)�”}”(hŒlength of the transfer buffer”h]”hŒlength of the transfer buffer”…”�”}”(hjælh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jâlh´MÜhjãlubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÇlubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jâlh´MÜhjßkubjI)�”}”(hŒF``usb_complete_t complete_fn`` pointer to the usb_complete_t function ”h]”(jO)�”}”(hŒ``usb_complete_t complete_fn``”h]”jÑ)�”}”(hjmh]”hŒusb_complete_t complete_fn”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÝhjmubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to the usb_complete_t function”h]”hŒ&pointer to the usb_complete_t function”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jmh´MÝhjmubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjmubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jmh´MÝhjßkubjI)�”}”(hŒ2``void *context`` what to set the urb context to. ”h]”(jO)�”}”(hŒ``void *context``”h]”jÑ)�”}”(hj?mh]”hŒ void *context”…”�”}”(hjAmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj=mubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MÞhj9mubji)�”}”(hhh]”hë)�”}”(hŒwhat to set the urb context to.”h]”hŒwhat to set the urb context to.”…”�”}”(hjXmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jTmh´MÞhjUmubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj9mubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jTmh´MÞhjßkubjI)�”}”(hŒj``int interval`` what to set the urb interval to, encoded like the endpoint descriptor's bInterval value. ”h]”(jO)�”}”(hŒ``int interval``”h]”jÑ)�”}”(hjxmh]”hŒ int interval”…”�”}”(hjzmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjvmubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Màhjrmubji)�”}”(hhh]”hë)�”}”(hŒXwhat to set the urb interval to, encoded like the endpoint descriptor's bInterval value.”h]”hŒZwhat to set the urb interval to, encoded like the endpoint descriptor’s bInterval value.”…”�”}”(hj‘mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MßhjŽmubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjrmubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j�mh´Màhjßkubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÃkubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj´mh]”hŒ Description”…”�”}”(hj¶mh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj²mubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MâhjÃkubhë)�”}”(hŒXInitializes a interrupt urb with the proper information needed to submit it to a device.”h]”hŒXInitializes a interrupt urb with the proper information needed to submit it to a device.”…”�”}”(hjÊmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MáhjÃkubhë)�”}”(hŒZRefer to usb_fill_control_urb() for a description of the requirements for transfer_buffer.”h]”hŒZRefer to usb_fill_control_urb() for a description of the requirements for transfer_buffer.”…”�”}”(hjÙmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MähjÃkubhë)�”}”(hŒáNote that High Speed and SuperSpeed(+) interrupt endpoints use a logarithmic encoding of the endpoint interval, and express polling intervals in microframes (eight per millisecond) rather than in frames (one per millisecond).”h]”hŒáNote that High Speed and SuperSpeed(+) interrupt endpoints use a logarithmic encoding of the endpoint interval, and express polling intervals in microframes (eight per millisecond) rather than in frames (one per millisecond).”…”�”}”(hjèmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´MçhjÃkubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_urb_dir_in (C function)”Œc.usb_urb_dir_in”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒ$int usb_urb_dir_in (struct urb *urb)”h]”j+)�”}”(hŒ#int usb_urb_dir_in(struct urb *urb)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjnh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M$ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj&nh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjnh²hh³j%nh´M$ubj„)�”}”(hŒusb_urb_dir_in”h]”jŠ)�”}”(hŒusb_urb_dir_in”h]”hŒusb_urb_dir_in”…”�”}”(hj8nh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj4nubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjnh²hh³j%nh´M$ubj¥)�”}”(hŒ(struct urb *urb)”h]”j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjTnh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjPnubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjanh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjPnubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjrnh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjonubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jtnŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj:nsbŒc.usb_urb_dir_in”†”asbuh1hhjPnubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj’nh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjPnubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj nh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjPnubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj­nh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjPnubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjLnubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjnh²hh³j%nh´M$ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjnh²hh³j%nh´M$ubah}”(h]”j nah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j%nh´M$hj nh²hubjü)�”}”(hhh]”hë)�”}”(hŒ(check if an URB describes an IN transfer”h]”hŒ(check if an URB describes an IN transfer”…”�”}”(hj×nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M$hjÔnh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj nh²hh³j%nh´M$ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjïnjjïnj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hŒ‰**Parameters** ``struct urb *urb`` URB to be checked **Return** 1 if **urb** describes an IN transfer (device-to-host), otherwise 0.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjùnh]”hŒ Parameters”…”�”}”(hjûnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj÷nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M(hjónubjD)�”}”(hhh]”jI)�”}”(hŒ&``struct urb *urb`` URB to be checked ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hjoh]”hŒstruct urb *urb”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjoubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M%hjoubji)�”}”(hhh]”hë)�”}”(hŒURB to be checked”h]”hŒURB to be checked”…”�”}”(hj1oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j-oh´M%hj.oubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjoubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j-oh´M%hjoubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjónubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjSoh]”hŒReturn”…”�”}”(hjUoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjQoubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M'hjónubhë)�”}”(hŒD1 if **urb** describes an IN transfer (device-to-host), otherwise 0.”h]”(hŒ1 if ”…”�”}”(hjioh²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hjqoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjioubhŒ8 describes an IN transfer (device-to-host), otherwise 0.”…”�”}”(hjioh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M'hjónubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_urb_dir_out (C function)”Œc.usb_urb_dir_out”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒ%int usb_urb_dir_out (struct urb *urb)”h]”j+)�”}”(hŒ$int usb_urb_dir_out(struct urb *urb)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjªoh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj¦oh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M0ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¹oh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¦oh²hh³j¸oh´M0ubj„)�”}”(hŒusb_urb_dir_out”h]”jŠ)�”}”(hŒusb_urb_dir_out”h]”hŒusb_urb_dir_out”…”�”}”(hjËoh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÇoubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj¦oh²hh³j¸oh´M0ubj¥)�”}”(hŒ(struct urb *urb)”h]”j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjçoh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjãoubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjôoh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjãoubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjpubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jpŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjÍosbŒc.usb_urb_dir_out”†”asbuh1hhjãoubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj%ph²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjãoubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj3ph²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjãoubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj@ph²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjãoubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjßoubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj¦oh²hh³j¸oh´M0ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj¢oh²hh³j¸oh´M0ubah}”(h]”j�oah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j¸oh´M0hjŸoh²hubjü)�”}”(hhh]”hë)�”}”(hŒ)check if an URB describes an OUT transfer”h]”hŒ)check if an URB describes an OUT transfer”…”�”}”(hjjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M0hjgph²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjŸoh²hh³j¸oh´M0ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj‚pjj‚pj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hŒŠ**Parameters** ``struct urb *urb`` URB to be checked **Return** 1 if **urb** describes an OUT transfer (host-to-device), otherwise 0.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjŒph]”hŒ Parameters”…”�”}”(hjŽph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŠpubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M4hj†pubjD)�”}”(hhh]”jI)�”}”(hŒ&``struct urb *urb`` URB to be checked ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hj«ph]”hŒstruct urb *urb”…”�”}”(hj­ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj©pubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M1hj¥pubji)�”}”(hhh]”hë)�”}”(hŒURB to be checked”h]”hŒURB to be checked”…”�”}”(hjÄph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÀph´M1hjÁpubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¥pubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÀph´M1hj¢pubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj†pubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjæph]”hŒReturn”…”�”}”(hjèph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjäpubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M3hj†pubhë)�”}”(hŒE1 if **urb** describes an OUT transfer (host-to-device), otherwise 0.”h]”(hŒ1 if ”…”�”}”(hjüph²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjüpubhŒ9 describes an OUT transfer (host-to-device), otherwise 0.”…”�”}”(hjüph²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M3hj†pubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_sg_request (C struct)”Œc.usb_sg_request”hNt”auh1jhjgh²hh³j”h´Nubj )�”}”(hhh]”(j%)�”}”(hŒusb_sg_request”h]”j+)�”}”(hŒstruct usb_sg_request”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj=qh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj9qh²hh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M9ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjKqh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj9qh²hh³jJqh´M9ubj„)�”}”(hŒusb_sg_request”h]”jŠ)�”}”(hj7qh]”hŒusb_sg_request”…”�”}”(hj]qh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjYqubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj9qh²hh³jJqh´M9ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj5qh²hh³jJqh´M9ubah}”(h]”j0qah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jJqh´M9hj2qh²hubjü)�”}”(hhh]”hë)�”}”(hŒsupport for scatter/gather I/O”h]”hŒsupport for scatter/gather I/O”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M•hj|qh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj2qh²hh³jJqh´M9ubeh}”(h]”h ]”(jŒstruct”eh"]”h$]”h&]”jjjj—qjj—qj ‰j!‰j"‰uh1jh²hhjgh³j”h´Nubj$)�”}”(hŒÄ**Definition**:: struct usb_sg_request { int status; size_t bytes; }; **Members** ``status`` zero indicates success, else negative errno ``bytes`` counts bytes transferred.”h]”(hë)�”}”(hŒ**Definition**::”h]”(j.)�”}”(hŒ**Definition**”h]”hŒ Definition”…”�”}”(hj£qh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŸqubhŒ:”…”�”}”(hjŸqh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M™hj›qubj )�”}”(hŒrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M˜hj;rubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjrubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j:rh´M—hjãqubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj›qubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjgh²hh³j”h´Nubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjhrh]”hŒ Description”…”�”}”(hjjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjfrubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M›hjgh²hubhë)�”}”(hŒÂThese requests are initialized using usb_sg_init(), and then are used as request handles passed to usb_sg_wait() or usb_sg_cancel(). Most members of the request object aren't for driver access.”h]”hŒÄThese requests are initialized using usb_sg_init(), and then are used as request handles passed to usb_sg_wait() or usb_sg_cancel(). Most members of the request object aren’t for driver access.”…”�”}”(hj~rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M˜hjgh²hubhë)�”}”(hŒšThe status and bytecount values are valid only after usb_sg_wait() returns. If the status is zero, then the bytecount matches the total from the request.”h]”hŒšThe status and bytecount values are valid only after usb_sg_wait() returns. If the status is zero, then the bytecount matches the total from the request.”…”�”}”(hj�rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´Mœhjgh²hubhë)�”}”(hŒVAfter an error completion, drivers may need to clear a halt condition on the endpoint.”h]”hŒVAfter an error completion, drivers may need to clear a halt condition on the endpoint.”…”�”}”(hjœrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒW/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:136: ./include/linux/usb.h”h´M hjgh²hubeh}”(h]”(Œhost-side-data-types-and-macros”jYeh ]”h"]”(Œhost-side data types and macros”Œ usb_header”eh$]”h&]”uh1hÄhhÆh²hh³hÃh´K�jc}”j±rjOsje}”jYjOsubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ USB Core APIs”h]”hŒ USB Core APIs”…”�”}”(hj¹rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj¶rh²hh³hÃh´KŒubhë)�”}”(hX$There are two basic I/O models in the USB API. The most elemental one is asynchronous: drivers submit requests in the form of an URB, and the URB's completion callback handles the next step. All USB transfer types support that model, although there are special cases for control URBs (which always have setup and status stages, but may not have a data stage) and isochronous URBs (which allow large packets and include per-packet fault reports). Built on top of that is synchronous API support, where a driver calls a routine that allocates one or more URBs, submits them, and waits until they complete. There are synchronous wrappers for single-buffer control and bulk transfers (which are awkward to use in some driver disconnect scenarios), and for scatterlist based streaming i/o (bulk or interrupt).”h]”hX&There are two basic I/O models in the USB API. The most elemental one is asynchronous: drivers submit requests in the form of an URB, and the URB’s completion callback handles the next step. All USB transfer types support that model, although there are special cases for control URBs (which always have setup and status stages, but may not have a data stage) and isochronous URBs (which allow large packets and include per-packet fault reports). Built on top of that is synchronous API support, where a driver calls a routine that allocates one or more URBs, submits them, and waits until they complete. There are synchronous wrappers for single-buffer control and bulk transfers (which are awkward to use in some driver disconnect scenarios), and for scatterlist based streaming i/o (bulk or interrupt).”…”�”}”(hjÇrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KŽhj¶rh²hubhë)�”}”(hX^USB drivers need to provide buffers that can be used for DMA, although they don't necessarily need to provide the DMA mapping themselves. There are APIs to use used when allocating DMA buffers, which can prevent use of bounce buffers on some systems. In some cases, drivers may be able to rely on 64bit DMA to eliminate another kind of bounce buffer.”h]”hX`USB drivers need to provide buffers that can be used for DMA, although they don’t necessarily need to provide the DMA mapping themselves. There are APIs to use used when allocating DMA buffers, which can prevent use of bounce buffers on some systems. In some cases, drivers may be able to rely on 64bit DMA to eliminate another kind of bounce buffer.”…”�”}”(hjÕrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´K›hj¶rh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_init_urb (C function)”Œc.usb_init_urb”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ#void usb_init_urb (struct urb *urb)”h]”j+)�”}”(hŒ"void usb_init_urb(struct urb *urb)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjürh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjørh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´KubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj sh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjørh²hh³j sh´Kubj„)�”}”(hŒ usb_init_urb”h]”jŠ)�”}”(hŒ usb_init_urb”h]”hŒ usb_init_urb”…”�”}”(hjsh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjsubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjørh²hh³j sh´Kubj¥)�”}”(hŒ(struct urb *urb)”h]”j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj9sh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj5subjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjFsh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj5subh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjWsh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjTsubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jYsŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjssbŒc.usb_init_urb”†”asbuh1hhj5subjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjwsh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj5subjs)�”}”(hjvh]”hŒ*”…”�”}”(hj…sh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj5subjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj’sh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj5subeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj1subah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjørh²hh³j sh´Kubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjôrh²hh³j sh´Kubah}”(h]”jïrah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j sh´Khjñrh²hubjü)�”}”(hhh]”hë)�”}”(hŒ8initializes a urb so that it can be used by a USB driver”h]”hŒ8initializes a urb so that it can be used by a USB driver”…”�”}”(hj¼sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Khj¹sh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjñrh²hh³j sh´Kubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÔsjjÔsj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXÿ**Parameters** ``struct urb *urb`` pointer to the urb to initialize **Description** Initializes a urb so that the USB subsystem can use it properly. If a urb is created with a call to usb_alloc_urb() it is not necessary to call this function. Only use this if you allocate the space for a struct urb on your own. If you call this function, be careful when freeing the memory for your urb that it is no longer in use by the USB core. Only use this function if you _really_ understand what you are doing.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÞsh]”hŒ Parameters”…”�”}”(hjàsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÜsubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K#hjØsubjD)�”}”(hhh]”jI)�”}”(hŒ5``struct urb *urb`` pointer to the urb to initialize ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hjýsh]”hŒstruct urb *urb”…”�”}”(hjÿsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjûsubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K hj÷subji)�”}”(hhh]”hë)�”}”(hŒ pointer to the urb to initialize”h]”hŒ pointer to the urb to initialize”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jth´K hjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj÷subeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jth´K hjôsubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjØsubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj8th]”hŒ Description”…”�”}”(hj:th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj6tubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K"hjØsubhë)�”}”(hŒ@Initializes a urb so that the USB subsystem can use it properly.”h]”hŒ@Initializes a urb so that the USB subsystem can use it properly.”…”�”}”(hjNth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K!hjØsubhë)�”}”(hXIf a urb is created with a call to usb_alloc_urb() it is not necessary to call this function. Only use this if you allocate the space for a struct urb on your own. If you call this function, be careful when freeing the memory for your urb that it is no longer in use by the USB core.”h]”hXIf a urb is created with a call to usb_alloc_urb() it is not necessary to call this function. Only use this if you allocate the space for a struct urb on your own. If you call this function, be careful when freeing the memory for your urb that it is no longer in use by the USB core.”…”�”}”(hj]th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K#hjØsubhë)�”}”(hŒEOnly use this function if you _really_ understand what you are doing.”h]”hŒEOnly use this function if you _really_ understand what you are doing.”…”�”}”(hjlth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K)hjØsubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_alloc_urb (C function)”Œc.usb_alloc_urb”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ=struct urb * usb_alloc_urb (int iso_packets, gfp_t mem_flags)”h]”j+)�”}”(hŒ;struct urb *usb_alloc_urb(int iso_packets, gfp_t mem_flags)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj›th²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj—th²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K8ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj©th²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj—th²hh³j¨th´K8ubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjºth²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj·tubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¼tŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHŒ usb_alloc_urb”sbŒc.usb_alloc_urb”†”asbuh1hhj—th²hh³j¨th´K8ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÛth²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj—th²hh³j¨th´K8ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjéth²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj—th²hh³j¨th´K8ubj„)�”}”(hŒ usb_alloc_urb”h]”jŠ)�”}”(hjØth]”hŒ usb_alloc_urb”…”�”}”(hjúth²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjötubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj—th²hh³j¨th´K8ubj¥)�”}”(hŒ"(int iso_packets, gfp_t mem_flags)”h]”(j«)�”}”(hŒint iso_packets”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjuubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj#uh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjuubjŠ)�”}”(hŒ iso_packets”h]”hŒ iso_packets”…”�”}”(hj1uh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjuubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj uubj«)�”}”(hŒgfp_t mem_flags”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒgfp_t”h]”hŒgfp_t”…”�”}”(hjMuh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjJuubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”•jŒreftype”jHŒ reftarget”jOuŒmodname”NŒ classname”NjLjO)�”}”jR]”jÖtŒc.usb_alloc_urb”†”asbuh1hhjFuubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjkuh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjFuubjŠ)�”}”(hŒ mem_flags”h]”hŒ mem_flags”…”�”}”(hjyuh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjFuubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj uubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj—th²hh³j¨th´K8ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj“th²hh³j¨th´K8ubah}”(h]”jŽtah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j¨th´K8hj�th²hubjü)�”}”(hhh]”hë)�”}”(hŒ)creates a new urb for a USB driver to use”h]”hŒ)creates a new urb for a USB driver to use”…”�”}”(hj£uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K8hj uh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj�th²hh³j¨th´K8ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj»ujj»uj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX^**Parameters** ``int iso_packets`` number of iso packets for this urb ``gfp_t mem_flags`` the type of memory to allocate, see kmalloc() for a list of valid options for this. **Description** Creates an urb for the USB driver to use, initializes a few internal structures, increments the usage counter, and returns a pointer to it. If the driver want to use this urb for interrupt, control, or bulk endpoints, pass '0' as the number of iso packets. The driver must call usb_free_urb() when it is finished with the urb. **Return** A pointer to the new urb, or ``NULL`` if no memory is available.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÅuh]”hŒ Parameters”…”�”}”(hjÇuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÃuubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´K``struct urb *urb`` pointer to the urb to modify, may be NULL ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hjÙyh]”hŒstruct urb *urb”…”�”}”(hjÛyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj×yubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´KfhjÓyubji)�”}”(hhh]”hë)�”}”(hŒ)pointer to the urb to modify, may be NULL”h]”hŒ)pointer to the urb to modify, may be NULL”…”�”}”(hjòyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jîyh´Kfhjïyubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÓyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jîyh´KfhjÐyubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj´yubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjzh]”hŒ Description”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjzubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Khhj´yubhë)�”}”(hŒŸThis must be called whenever a urb is transferred from a device driver to a host controller driver. This allows proper reference counting to happen for urbs.”h]”hŒŸThis must be called whenever a urb is transferred from a device driver to a host controller driver. This allows proper reference counting to happen for urbs.”…”�”}”(hj*zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Kghj´yubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj;zh]”hŒReturn”…”�”}”(hj=zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj9zubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Kkhj´yubhë)�”}”(hŒinterval is modified to reflect the actual transfer period used (normally some power of two units). And for isochronous urbs, urb->start_frame is modified to reflect when the URB's transfers were scheduled to start. Not all isochronous transfer scheduling policies will work, but most host controller drivers should easily handle ISO queues going from now until 10-200 msec into the future. Drivers should try to keep at least one or two msec of data in the queue; many controllers require that new transfers start at least 1 msec in the future when they are added. If the driver is unable to keep up and the queue empties out, the behavior for new submissions is governed by the URB_ISO_ASAP flag. If the flag is set, or if the queue is idle, then the URB is always assigned to the first available (and not yet expired) slot in the endpoint's schedule. If the flag is not set and the queue is active then the URB is always assigned to the next slot in the schedule following the end of the endpoint's previous URB, even if that slot is in the past. When a packet is assigned in this way to a slot that has already expired, the packet is not transmitted and the corresponding usb_iso_packet_descriptor's status field will return -EXDEV. If this would happen to all the packets in the URB, submission fails with a -EXDEV error code. For control endpoints, the synchronous usb_control_msg() call is often used (in non-interrupt context) instead of this call. That is often used through convenience wrappers, for the requests that are standardized in the USB 2.0 specification. For bulk endpoints, a synchronous usb_bulk_msg() call is available. Request Queuing: URBs may be submitted to endpoints before previous ones complete, to minimize the impact of interrupt latencies and system overhead on data throughput. With that queuing policy, an endpoint's queue would never be empty. This is required for continuous isochronous data streams, and may also be required for some kinds of interrupt transfers. Such queuing also maximizes bandwidth utilization by letting USB controllers start work on later requests before driver software has finished the completion processing for earlier (successful) requests. As of Linux 2.6, all USB endpoint transfer queues support depths greater than one. This was previously a HCD-specific behavior, except for ISO transfers. Non-isochronous endpoint queues are inactive during cleanup after faults (transfer errors or cancellation). Reserved Bandwidth Transfers: Periodic transfers (interrupt or isochronous) are performed repeatedly, using the interval specified in the urb. Submitting the first urb to the endpoint reserves the bandwidth necessary to make those transfers. If the USB subsystem can't allocate sufficient bandwidth to perform the periodic request, submitting such a periodic request should fail. For devices under xHCI, the bandwidth is reserved at configuration time, or when the alt setting is selected. If there is not enough bus bandwidth, the configuration/alt setting request will fail. Therefore, submissions to periodic endpoints on devices under xHCI should never fail due to bandwidth constraints. Device drivers must explicitly request that repetition, by ensuring that some URB is always on the endpoint's queue (except possibly for short periods during completion callbacks). When there is no longer an urb queued, the endpoint's bandwidth reservation is canceled. This means drivers can use their completion handlers to ensure they keep bandwidth they need, by reinitializing and resubmitting the just-completed urb until the driver longer needs that periodic bandwidth. Memory Flags: The general rules for how to decide which mem_flags to use are the same as for kmalloc. There are four different possible values; GFP_KERNEL, GFP_NOFS, GFP_NOIO and GFP_ATOMIC. GFP_NOFS is not ever used, as it has not been implemented yet. GFP_ATOMIC is used when (a) you are inside a completion handler, an interrupt, bottom half, tasklet or timer, or (b) you are holding a spinlock or rwlock (does not apply to semaphores), or (c) current->state != TASK_RUNNING, this is the case only after you've changed it. GFP_NOIO is used in the block io path and error handling of storage devices. All other situations use GFP_KERNEL. Some more specific rules for mem_flags can be inferred, such as (1) start_xmit, timeout, and receive methods of network drivers must use GFP_ATOMIC (they are called with a spinlock held); (2) queuecommand methods of scsi drivers must use GFP_ATOMIC (also called with a spinlock held); (3) If you use a kernel thread with a network driver you must use GFP_NOIO, unless (b) or (c) apply; (4) after you have done a down() you can use GFP_KERNEL, unless (b) or (c) apply or your are in a storage driver's block io path; (5) USB probe and disconnect can use GFP_KERNEL unless (b) or (c) apply; and (6) changing firmware on a running storage or net device uses GFP_NOIO, unless b) or c) apply **Return** 0 on successful submissions. A negative error number otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjü‚h]”hŒ Parameters”…”�”}”(hjþ‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjú‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Këhjö‚ubjD)�”}”(hhh]”(jI)�”}”(hŒ>``struct urb *urb`` pointer to the urb describing the request ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hjƒh]”hŒstruct urb *urb”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Kèhjƒubji)�”}”(hhh]”hë)�”}”(hŒ)pointer to the urb describing the request”h]”hŒ)pointer to the urb describing the request”…”�”}”(hj4ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j0ƒh´Kèhj1ƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j0ƒh´KèhjƒubjI)�”}”(hŒh``gfp_t mem_flags`` the type of memory to allocate, see kmalloc() for a list of valid options for this. ”h]”(jO)�”}”(hŒ``gfp_t mem_flags``”h]”jÑ)�”}”(hjTƒh]”hŒgfp_t mem_flags”…”�”}”(hjVƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjRƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´KêhjNƒubji)�”}”(hhh]”hë)�”}”(hŒSthe type of memory to allocate, see kmalloc() for a list of valid options for this.”h]”hŒSthe type of memory to allocate, see kmalloc() for a list of valid options for this.”…”�”}”(hjmƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Kéhjjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjNƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jiƒh´Kêhjƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjö‚ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj�ƒh]”hŒ Description”…”�”}”(hj’ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŽƒubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Kìhjö‚ubhë)�”}”(hXLThis submits a transfer request, and transfers control of the URB describing that request to the USB subsystem. Request completion will be indicated later, asynchronously, by calling the completion handler. The three types of completion are success, error, and unlink (a software-induced fault, also called "request cancellation").”h]”hXPThis submits a transfer request, and transfers control of the URB describing that request to the USB subsystem. Request completion will be indicated later, asynchronously, by calling the completion handler. The three types of completion are success, error, and unlink (a software-induced fault, also called “request cancellationâ€�).”…”�”}”(hj¦ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Këhjö‚ubhë)�”}”(hŒ+URBs may be submitted in interrupt context.”h]”hŒ+URBs may be submitted in interrupt context.”…”�”}”(hjµƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Kñhjö‚ubhë)�”}”(hX)The caller must have correctly initialized the URB before submitting it. Functions such as usb_fill_bulk_urb() and usb_fill_control_urb() are available to ensure that most fields are correctly initialized, for the particular kind of transfer, although they will not initialize any transfer flags.”h]”hX)The caller must have correctly initialized the URB before submitting it. Functions such as usb_fill_bulk_urb() and usb_fill_control_urb() are available to ensure that most fields are correctly initialized, for the particular kind of transfer, although they will not initialize any transfer flags.”…”�”}”(hjăh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Kóhjö‚ubhë)�”}”(hXlIf the submission is successful, the complete() callback from the URB will be called exactly once, when the USB core and Host Controller Driver (HCD) are finished with the URB. When the completion function is called, control of the URB is returned to the device driver which issued the request. The completion handler may then immediately free or reuse that URB.”h]”hXlIf the submission is successful, the complete() callback from the URB will be called exactly once, when the USB core and Host Controller Driver (HCD) are finished with the URB. When the completion function is called, control of the URB is returned to the device driver which issued the request. The completion handler may then immediately free or reuse that URB.”…”�”}”(hjÓƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Kùhjö‚ubhë)�”}”(hXéWith few exceptions, USB device drivers should never access URB fields provided by usbcore or the HCD until its complete() is called. The exceptions relate to periodic transfer scheduling. For both interrupt and isochronous urbs, as part of successful URB submission urb->interval is modified to reflect the actual transfer period used (normally some power of two units). And for isochronous urbs, urb->start_frame is modified to reflect when the URB's transfers were scheduled to start.”h]”hXëWith few exceptions, USB device drivers should never access URB fields provided by usbcore or the HCD until its complete() is called. The exceptions relate to periodic transfer scheduling. For both interrupt and isochronous urbs, as part of successful URB submission urb->interval is modified to reflect the actual transfer period used (normally some power of two units). And for isochronous urbs, urb->start_frame is modified to reflect when the URB’s transfers were scheduled to start.”…”�”}”(hjâƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mhjö‚ubhë)�”}”(hX`Not all isochronous transfer scheduling policies will work, but most host controller drivers should easily handle ISO queues going from now until 10-200 msec into the future. Drivers should try to keep at least one or two msec of data in the queue; many controllers require that new transfers start at least 1 msec in the future when they are added. If the driver is unable to keep up and the queue empties out, the behavior for new submissions is governed by the URB_ISO_ASAP flag. If the flag is set, or if the queue is idle, then the URB is always assigned to the first available (and not yet expired) slot in the endpoint's schedule. If the flag is not set and the queue is active then the URB is always assigned to the next slot in the schedule following the end of the endpoint's previous URB, even if that slot is in the past. When a packet is assigned in this way to a slot that has already expired, the packet is not transmitted and the corresponding usb_iso_packet_descriptor's status field will return -EXDEV. If this would happen to all the packets in the URB, submission fails with a -EXDEV error code.”h]”hXfNot all isochronous transfer scheduling policies will work, but most host controller drivers should easily handle ISO queues going from now until 10-200 msec into the future. Drivers should try to keep at least one or two msec of data in the queue; many controllers require that new transfers start at least 1 msec in the future when they are added. If the driver is unable to keep up and the queue empties out, the behavior for new submissions is governed by the URB_ISO_ASAP flag. If the flag is set, or if the queue is idle, then the URB is always assigned to the first available (and not yet expired) slot in the endpoint’s schedule. If the flag is not set and the queue is active then the URB is always assigned to the next slot in the schedule following the end of the endpoint’s previous URB, even if that slot is in the past. When a packet is assigned in this way to a slot that has already expired, the packet is not transmitted and the corresponding usb_iso_packet_descriptor’s status field will return -EXDEV. If this would happen to all the packets in the URB, submission fails with a -EXDEV error code.”…”�”}”(hjñƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M hjö‚ubhë)�”}”(hX7For control endpoints, the synchronous usb_control_msg() call is often used (in non-interrupt context) instead of this call. That is often used through convenience wrappers, for the requests that are standardized in the USB 2.0 specification. For bulk endpoints, a synchronous usb_bulk_msg() call is available.”h]”hX7For control endpoints, the synchronous usb_control_msg() call is often used (in non-interrupt context) instead of this call. That is often used through convenience wrappers, for the requests that are standardized in the USB 2.0 specification. For bulk endpoints, a synchronous usb_bulk_msg() call is available.”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mhjö‚ubhë)�”}”(hŒRequest Queuing:”h]”hŒRequest Queuing:”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M"hjö‚ubhë)�”}”(hX"URBs may be submitted to endpoints before previous ones complete, to minimize the impact of interrupt latencies and system overhead on data throughput. With that queuing policy, an endpoint's queue would never be empty. This is required for continuous isochronous data streams, and may also be required for some kinds of interrupt transfers. Such queuing also maximizes bandwidth utilization by letting USB controllers start work on later requests before driver software has finished the completion processing for earlier (successful) requests.”h]”hX$URBs may be submitted to endpoints before previous ones complete, to minimize the impact of interrupt latencies and system overhead on data throughput. With that queuing policy, an endpoint’s queue would never be empty. This is required for continuous isochronous data streams, and may also be required for some kinds of interrupt transfers. Such queuing also maximizes bandwidth utilization by letting USB controllers start work on later requests before driver software has finished the completion processing for earlier (successful) requests.”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M$hjö‚ubhë)�”}”(hXAs of Linux 2.6, all USB endpoint transfer queues support depths greater than one. This was previously a HCD-specific behavior, except for ISO transfers. Non-isochronous endpoint queues are inactive during cleanup after faults (transfer errors or cancellation).”h]”hXAs of Linux 2.6, all USB endpoint transfer queues support depths greater than one. This was previously a HCD-specific behavior, except for ISO transfers. Non-isochronous endpoint queues are inactive during cleanup after faults (transfer errors or cancellation).”…”�”}”(hj-„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M-hjö‚ubhë)�”}”(hŒReserved Bandwidth Transfers:”h]”hŒReserved Bandwidth Transfers:”…”�”}”(hj<„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M2hjö‚ubhë)�”}”(hX^Periodic transfers (interrupt or isochronous) are performed repeatedly, using the interval specified in the urb. Submitting the first urb to the endpoint reserves the bandwidth necessary to make those transfers. If the USB subsystem can't allocate sufficient bandwidth to perform the periodic request, submitting such a periodic request should fail.”h]”hX`Periodic transfers (interrupt or isochronous) are performed repeatedly, using the interval specified in the urb. Submitting the first urb to the endpoint reserves the bandwidth necessary to make those transfers. If the USB subsystem can’t allocate sufficient bandwidth to perform the periodic request, submitting such a periodic request should fail.”…”�”}”(hjK„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M4hjö‚ubhë)�”}”(hX9For devices under xHCI, the bandwidth is reserved at configuration time, or when the alt setting is selected. If there is not enough bus bandwidth, the configuration/alt setting request will fail. Therefore, submissions to periodic endpoints on devices under xHCI should never fail due to bandwidth constraints.”h]”hX9For devices under xHCI, the bandwidth is reserved at configuration time, or when the alt setting is selected. If there is not enough bus bandwidth, the configuration/alt setting request will fail. Therefore, submissions to periodic endpoints on devices under xHCI should never fail due to bandwidth constraints.”…”�”}”(hjZ„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M:hjö‚ubhë)�”}”(hXÞDevice drivers must explicitly request that repetition, by ensuring that some URB is always on the endpoint's queue (except possibly for short periods during completion callbacks). When there is no longer an urb queued, the endpoint's bandwidth reservation is canceled. This means drivers can use their completion handlers to ensure they keep bandwidth they need, by reinitializing and resubmitting the just-completed urb until the driver longer needs that periodic bandwidth.”h]”hXâDevice drivers must explicitly request that repetition, by ensuring that some URB is always on the endpoint’s queue (except possibly for short periods during completion callbacks). When there is no longer an urb queued, the endpoint’s bandwidth reservation is canceled. This means drivers can use their completion handlers to ensure they keep bandwidth they need, by reinitializing and resubmitting the just-completed urb until the driver longer needs that periodic bandwidth.”…”�”}”(hji„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M@hjö‚ubhë)�”}”(hŒ Memory Flags:”h]”hŒ Memory Flags:”…”�”}”(hjx„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MHhjö‚ubhë)�”}”(hŒ±The general rules for how to decide which mem_flags to use are the same as for kmalloc. There are four different possible values; GFP_KERNEL, GFP_NOFS, GFP_NOIO and GFP_ATOMIC.”h]”hŒ±The general rules for how to decide which mem_flags to use are the same as for kmalloc. There are four different possible values; GFP_KERNEL, GFP_NOFS, GFP_NOIO and GFP_ATOMIC.”…”�”}”(hj‡„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MJhjö‚ubhë)�”}”(hŒ>GFP_NOFS is not ever used, as it has not been implemented yet.”h]”hŒ>GFP_NOFS is not ever used, as it has not been implemented yet.”…”�”}”(hj–„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MOhjö‚ubjD)�”}”(hhh]”jI)�”}”(hXGFP_ATOMIC is used when (a) you are inside a completion handler, an interrupt, bottom half, tasklet or timer, or (b) you are holding a spinlock or rwlock (does not apply to semaphores), or (c) current->state != TASK_RUNNING, this is the case only after you've changed it. ”h]”(jO)�”}”(hŒGFP_ATOMIC is used when”h]”hŒGFP_ATOMIC is used when”…”�”}”(hj¬„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MWhj¨„ubji)�”}”(hhh]”hŒenumerated_list”“”)�”}”(hhh]”(j»)�”}”(hŒTyou are inside a completion handler, an interrupt, bottom half, tasklet or timer, or”h]”hë)�”}”(hŒTyou are inside a completion handler, an interrupt, bottom half, tasklet or timer, or”h]”hŒTyou are inside a completion handler, an interrupt, bottom half, tasklet or timer, or”…”�”}”(hjÇ„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MRhjÄubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjÀ„ubj»)�”}”(hŒGyou are holding a spinlock or rwlock (does not apply to semaphores), or”h]”hë)�”}”(•AhŒGyou are holding a spinlock or rwlock (does not apply to semaphores), or”h]”hŒGyou are holding a spinlock or rwlock (does not apply to semaphores), or”…”�”}”(hjà„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MThjÜ„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjÀ„ubj»)�”}”(hŒOcurrent->state != TASK_RUNNING, this is the case only after you've changed it. ”h]”hë)�”}”(hŒNcurrent->state != TASK_RUNNING, this is the case only after you've changed it.”h]”hŒPcurrent->state != TASK_RUNNING, this is the case only after you’ve changed it.”…”�”}”(hjù„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MVhjõ„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjÀ„ubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œ loweralpha”Œprefix”Œ(”Œsuffix”Œ)”uh1j¾„hj»„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¨„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jº„h´MWhj¥„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjö‚ubhë)�”}”(hŒLGFP_NOIO is used in the block io path and error handling of storage devices.”h]”hŒLGFP_NOIO is used in the block io path and error handling of storage devices.”…”�”}”(hj,…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MYhjö‚ubhë)�”}”(hŒ$All other situations use GFP_KERNEL.”h]”hŒ$All other situations use GFP_KERNEL.”…”�”}”(hj;…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M\hjö‚ubjD)�”}”(hhh]”jI)�”}”(hXÃSome more specific rules for mem_flags can be inferred, such as (1) start_xmit, timeout, and receive methods of network drivers must use GFP_ATOMIC (they are called with a spinlock held); (2) queuecommand methods of scsi drivers must use GFP_ATOMIC (also called with a spinlock held); (3) If you use a kernel thread with a network driver you must use GFP_NOIO, unless (b) or (c) apply; (4) after you have done a down() you can use GFP_KERNEL, unless (b) or (c) apply or your are in a storage driver's block io path; (5) USB probe and disconnect can use GFP_KERNEL unless (b) or (c) apply; and (6) changing firmware on a running storage or net device uses GFP_NOIO, unless b) or c) apply ”h]”(jO)�”}”(hŒ?Some more specific rules for mem_flags can be inferred, such as”h]”hŒ?Some more specific rules for mem_flags can be inferred, such as”…”�”}”(hjQ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MihjM…ubji)�”}”(hhh]”j¿„)�”}”(hhh]”(j»)�”}”(hŒwstart_xmit, timeout, and receive methods of network drivers must use GFP_ATOMIC (they are called with a spinlock held);”h]”hë)�”}”(hŒwstart_xmit, timeout, and receive methods of network drivers must use GFP_ATOMIC (they are called with a spinlock held);”h]”hŒwstart_xmit, timeout, and receive methods of network drivers must use GFP_ATOMIC (they are called with a spinlock held);”…”�”}”(hjj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M_hjf…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjc…ubj»)�”}”(hŒ\queuecommand methods of scsi drivers must use GFP_ATOMIC (also called with a spinlock held);”h]”hë)�”}”(hŒ\queuecommand methods of scsi drivers must use GFP_ATOMIC (also called with a spinlock held);”h]”hŒ\queuecommand methods of scsi drivers must use GFP_ATOMIC (also called with a spinlock held);”…”�”}”(hjƒ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mahj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjc…ubj»)�”}”(hŒ`If you use a kernel thread with a network driver you must use GFP_NOIO, unless (b) or (c) apply;”h]”hë)�”}”(hŒ`If you use a kernel thread with a network driver you must use GFP_NOIO, unless (b) or (c) apply;”h]”hŒ`If you use a kernel thread with a network driver you must use GFP_NOIO, unless (b) or (c) apply;”…”�”}”(hjœ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mchj˜…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjc…ubj»)�”}”(hŒ}after you have done a down() you can use GFP_KERNEL, unless (b) or (c) apply or your are in a storage driver's block io path;”h]”hë)�”}”(hŒ}after you have done a down() you can use GFP_KERNEL, unless (b) or (c) apply or your are in a storage driver's block io path;”h]”hŒafter you have done a down() you can use GFP_KERNEL, unless (b) or (c) apply or your are in a storage driver’s block io path;”…”�”}”(hjµ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mehj±…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjc…ubj»)�”}”(hŒHUSB probe and disconnect can use GFP_KERNEL unless (b) or (c) apply; and”h]”hë)�”}”(hjÌ…h]”hŒHUSB probe and disconnect can use GFP_KERNEL unless (b) or (c) apply; and”…”�”}”(hjÎ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MghjÊ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjc…ubj»)�”}”(hŒZchanging firmware on a running storage or net device uses GFP_NOIO, unless b) or c) apply ”h]”hë)�”}”(hŒYchanging firmware on a running storage or net device uses GFP_NOIO, unless b) or c) apply”h]”hŒYchanging firmware on a running storage or net device uses GFP_NOIO, unless b) or c) apply”…”�”}”(hjæ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mhhjâ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjc…ubeh}”(h]”h ]”h"]”h$]”h&]”j…Œarabic”j…j…j…j…uh1j¾„hj`…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjM…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j_…h´MihjJ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjö‚ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj†h]”hŒReturn”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mkhjö‚ubhë)�”}”(hŒ?0 on successful submissions. A negative error number otherwise.”h]”hŒ?0 on successful submissions. A negative error number otherwise.”…”�”}”(hj,†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M"hjö‚ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_unlink_urb (C function)”Œc.usb_unlink_urb”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ$int usb_unlink_urb (struct urb *urb)”h]”j+)�”}”(hŒ#int usb_unlink_urb(struct urb *urb)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj[†h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjW†h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MQubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjj†h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjW†h²hh³ji†h´MQubj„)�”}”(hŒusb_unlink_urb”h]”jŠ)�”}”(hŒusb_unlink_urb”h]”hŒusb_unlink_urb”…”�”}”(hj|†h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjx†ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjW†h²hh³ji†h´MQubj¥)�”}”(hŒ(struct urb *urb)”h]”j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj˜†h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj”†ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¥†h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj”†ubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj¶†h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj³†ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¸†Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj~†sbŒc.usb_unlink_urb”†”asbuh1hhj”†ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÖ†h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj”†ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjä†h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj”†ubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjñ†h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj”†ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�†ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjW†h²hh³ji†h´MQubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjS†h²hh³ji†h´MQubah}”(h]”jN†ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³ji†h´MQhjP†h²hubjü)�”}”(hhh]”hë)�”}”(hŒ/abort/cancel a transfer request for an endpoint”h]”hŒ/abort/cancel a transfer request for an endpoint”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MQhj‡h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjP†h²hh³ji†h´MQubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj3‡jj3‡j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX**Parameters** ``struct urb *urb`` pointer to urb describing a previously submitted request, may be NULL **Description** This routine cancels an in-progress request. URBs complete only once per submission, and may be canceled only once per submission. Successful cancellation means termination of **urb** will be expedited and the completion handler will be called with a status code indicating that the request has been canceled (rather than any other code). Drivers should not call this routine or related routines, such as usb_kill_urb(), after their disconnect method has returned. The disconnect function should synchronize with a driver's I/O routines to insure that all URB-related activity has completed before it returns. This request is asynchronous, however the HCD might call the ->complete() callback during unlink. Therefore when drivers call usb_unlink_urb(), they must not hold any locks that may be taken by the completion function. Success is indicated by returning -EINPROGRESS, at which time the URB will probably not yet have been given back to the device driver. When it is eventually called, the completion function will see **urb->status** == -ECONNRESET. Failure is indicated by usb_unlink_urb() returning any other value. Unlinking will fail when **urb** is not currently "linked" (i.e., it was never submitted, or it was unlinked before, or the hardware is already finished with it), even if the completion handler has not yet run. The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB. Unlinking and Endpoint Queues: [The behaviors and guarantees described below do not apply to virtual root hubs but only to endpoint queues for physical USB devices.] Host Controller Drivers (HCDs) place all the URBs for a particular endpoint in a queue. Normally the queue advances as the controller hardware processes each request. But when an URB terminates with an error its queue generally stops (see below), at least until that URB's completion routine returns. It is guaranteed that a stopped queue will not restart until all its unlinked URBs have been fully retired, with their completion routines run, even if that's not until some time after the original completion handler returns. The same behavior and guarantee apply when an URB terminates because it was unlinked. Bulk and interrupt endpoint queues are guaranteed to stop whenever an URB terminates with any sort of error, including -ECONNRESET, -ENOENT, and -EREMOTEIO. Control endpoint queues behave the same way except that they are not guaranteed to stop for -EREMOTEIO errors. Queues for isochronous endpoints are treated differently, because they must advance at fixed rates. Such queues do not stop when an URB encounters an error or is unlinked. An unlinked isochronous URB may leave a gap in the stream of packets; it is undefined whether such gaps can be filled in. Note that early termination of an URB because a short packet was received will generate a -EREMOTEIO error if and only if the URB_SHORT_NOT_OK flag is set. By setting this flag, USB device drivers can build deep queues for large or complex bulk transfers and clean them up reliably after any sort of aborted transfer by unlinking all pending URBs at the first fault. When a control URB terminates with an error other than -EREMOTEIO, it is quite likely that the status stage of the transfer will not take place. **Return** -EINPROGRESS on success. See description for other values on failure.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj=‡h]”hŒ Parameters”…”�”}”(hj?‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj;‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MUhj7‡ubjD)�”}”(hhh]”jI)�”}”(hŒZ``struct urb *urb`` pointer to urb describing a previously submitted request, may be NULL ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hj\‡h]”hŒstruct urb *urb”…”�”}”(hj^‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjZ‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MShjV‡ubji)�”}”(hhh]”hë)�”}”(hŒEpointer to urb describing a previously submitted request, may be NULL”h]”hŒEpointer to urb describing a previously submitted request, may be NULL”…”�”}”(hju‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MRhjr‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjV‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jq‡h´MShjS‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj7‡ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj˜‡h]”hŒ Description”…”�”}”(hjš‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj–‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MUhj7‡ubhë)�”}”(hXSThis routine cancels an in-progress request. URBs complete only once per submission, and may be canceled only once per submission. Successful cancellation means termination of **urb** will be expedited and the completion handler will be called with a status code indicating that the request has been canceled (rather than any other code).”h]”(hŒ±This routine cancels an in-progress request. URBs complete only once per submission, and may be canceled only once per submission. Successful cancellation means termination of ”…”�”}”(hj®‡h²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hj¶‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj®‡ubhŒ› will be expedited and the completion handler will be called with a status code indicating that the request has been canceled (rather than any other code).”…”�”}”(hj®‡h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MThj7‡ubhë)�”}”(hXDrivers should not call this routine or related routines, such as usb_kill_urb(), after their disconnect method has returned. The disconnect function should synchronize with a driver's I/O routines to insure that all URB-related activity has completed before it returns.”h]”hXDrivers should not call this routine or related routines, such as usb_kill_urb(), after their disconnect method has returned. The disconnect function should synchronize with a driver’s I/O routines to insure that all URB-related activity has completed before it returns.”…”�”}”(hjχh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M[hj7‡ubhë)�”}”(hX×This request is asynchronous, however the HCD might call the ->complete() callback during unlink. Therefore when drivers call usb_unlink_urb(), they must not hold any locks that may be taken by the completion function. Success is indicated by returning -EINPROGRESS, at which time the URB will probably not yet have been given back to the device driver. When it is eventually called, the completion function will see **urb->status** == -ECONNRESET. Failure is indicated by usb_unlink_urb() returning any other value. Unlinking will fail when **urb** is not currently "linked" (i.e., it was never submitted, or it was unlinked before, or the hardware is already finished with it), even if the completion handler has not yet run.”h]”(hX¡This request is asynchronous, however the HCD might call the ->complete() callback during unlink. Therefore when drivers call usb_unlink_urb(), they must not hold any locks that may be taken by the completion function. Success is indicated by returning -EINPROGRESS, at which time the URB will probably not yet have been given back to the device driver. When it is eventually called, the completion function will see ”…”�”}”(hjÞ‡h²hh³Nh´Nubj.)�”}”(hŒ**urb->status**”h]”hŒ urb->status”…”�”}”(hjæ‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÞ‡ubhŒn == -ECONNRESET. Failure is indicated by usb_unlink_urb() returning any other value. Unlinking will fail when ”…”�”}”(hjÞ‡h²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hjø‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÞ‡ubhŒ¶ is not currently “linkedâ€� (i.e., it was never submitted, or it was unlinked before, or the hardware is already finished with it), even if the completion handler has not yet run.”…”�”}”(hjÞ‡h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M`hj7‡ubhë)�”}”(hŒ¶The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”h]”hŒ¶The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mlhj7‡ubhë)�”}”(hŒUnlinking and Endpoint Queues:”h]”hŒUnlinking and Endpoint Queues:”…”�”}”(hj ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mqhj7‡ubhë)�”}”(hŒ†[The behaviors and guarantees described below do not apply to virtual root hubs but only to endpoint queues for physical USB devices.]”h]”hŒ†[The behaviors and guarantees described below do not apply to virtual root hubs but only to endpoint queues for physical USB devices.]”…”�”}”(hj/ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mshj7‡ubhë)�”}”(hXhHost Controller Drivers (HCDs) place all the URBs for a particular endpoint in a queue. Normally the queue advances as the controller hardware processes each request. But when an URB terminates with an error its queue generally stops (see below), at least until that URB's completion routine returns. It is guaranteed that a stopped queue will not restart until all its unlinked URBs have been fully retired, with their completion routines run, even if that's not until some time after the original completion handler returns. The same behavior and guarantee apply when an URB terminates because it was unlinked.”h]”hXlHost Controller Drivers (HCDs) place all the URBs for a particular endpoint in a queue. Normally the queue advances as the controller hardware processes each request. But when an URB terminates with an error its queue generally stops (see below), at least until that URB’s completion routine returns. It is guaranteed that a stopped queue will not restart until all its unlinked URBs have been fully retired, with their completion routines run, even if that’s not until some time after the original completion handler returns. The same behavior and guarantee apply when an URB terminates because it was unlinked.”…”�”}”(hj>ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mvhj7‡ubhë)�”}”(hX5Bulk and interrupt endpoint queues are guaranteed to stop whenever an URB terminates with any sort of error, including -ECONNRESET, -ENOENT, and -EREMOTEIO. Control endpoint queues behave the same way except that they are not guaranteed to stop for -EREMOTEIO errors. Queues for isochronous endpoints are treated differently, because they must advance at fixed rates. Such queues do not stop when an URB encounters an error or is unlinked. An unlinked isochronous URB may leave a gap in the stream of packets; it is undefined whether such gaps can be filled in.”h]”hX5Bulk and interrupt endpoint queues are guaranteed to stop whenever an URB terminates with any sort of error, including -ECONNRESET, -ENOENT, and -EREMOTEIO. Control endpoint queues behave the same way except that they are not guaranteed to stop for -EREMOTEIO errors. Queues for isochronous endpoints are treated differently, because they must advance at fixed rates. Such queues do not stop when an URB encounters an error or is unlinked. An unlinked isochronous URB may leave a gap in the stream of packets; it is undefined whether such gaps can be filled in.”…”�”}”(hjMˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M€hj7‡ubhë)�”}”(hXoNote that early termination of an URB because a short packet was received will generate a -EREMOTEIO error if and only if the URB_SHORT_NOT_OK flag is set. By setting this flag, USB device drivers can build deep queues for large or complex bulk transfers and clean them up reliably after any sort of aborted transfer by unlinking all pending URBs at the first fault.”h]”hXoNote that early termination of an URB because a short packet was received will generate a -EREMOTEIO error if and only if the URB_SHORT_NOT_OK flag is set. By setting this flag, USB device drivers can build deep queues for large or complex bulk transfers and clean them up reliably after any sort of aborted transfer by unlinking all pending URBs at the first fault.”…”�”}”(hj\ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MŠhj7‡ubhë)�”}”(hŒ�When a control URB terminates with an error other than -EREMOTEIO, it is quite likely that the status stage of the transfer will not take place.”h]”hŒ�When a control URB terminates with an error other than -EREMOTEIO, it is quite likely that the status stage of the transfer will not take place.”…”�”}”(hjkˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M‘hj7‡ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj|ˆh]”hŒReturn”…”�”}”(hj~ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjzˆubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M•hj7‡ubhë)�”}”(hŒE-EINPROGRESS on success. See description for other values on failure.”h]”hŒE-EINPROGRESS on success. See description for other values on failure.”…”�”}”(hj’ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mqhj7‡ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_kill_urb (C function)”Œc.usb_kill_urb”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ#void usb_kill_urb (struct urb *urb)”h]”j+)�”}”(hŒ"void usb_kill_urb(struct urb *urb)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÁˆh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj½ˆh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¥ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjЈh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj½ˆh²hh³jψh´M¥ubj„)�”}”(hŒ usb_kill_urb”h]”jŠ)�”}”(hŒ usb_kill_urb”h]”hŒ usb_kill_urb”…”�”}”(hjâˆh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÞˆubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj½ˆh²hh³jψh´M¥ubj¥)�”}”(hŒ(struct urb *urb)”h]”j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjþˆh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjúˆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj ‰h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjúˆubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‰ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j‰Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjäˆsbŒc.usb_kill_urb”†”asbuh1hhjúˆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj<‰h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjúˆubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjJ‰h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjúˆubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjW‰h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjúˆubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjöˆubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj½ˆh²hh³jψh´M¥ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj¹ˆh²hh³jψh´M¥ubah}”(h]”j´ˆah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jψh´M¥hj¶ˆh²hubjü)�”}”(hhh]”hë)�”}”(hŒ3cancel a transfer request and wait for it to finish”h]”hŒ3cancel a transfer request and wait for it to finish”…”�”}”(hj�‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¥hj~‰h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj¶ˆh²hh³jψh´M¥ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj™‰jj™‰j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX§**Parameters** ``struct urb *urb`` pointer to URB describing a previously submitted request, may be NULL **Description** This routine cancels an in-progress request. It is guaranteed that upon return all completion handlers will have finished and the URB will be totally idle and available for reuse. These features make this an ideal way to stop I/O in a disconnect() callback or close() function. If the request has not already finished or been unlinked the completion handler will see urb->status == -ENOENT. While the routine is running, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB's completion handler always tries to resubmit, it will not succeed and the URB will become idle. The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB. This routine may not be used in an interrupt context (such as a bottom half or a completion handler), or when holding a spinlock, or in other situations where the caller can't schedule(). This routine should not be called by a driver after its disconnect method has returned.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj£‰h]”hŒ Parameters”…”�”}”(hj¥‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¡‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M©hj�‰ubjD)�”}”(hhh]”jI)�”}”(hŒZ``struct urb *urb`` pointer to URB describing a previously submitted request, may be NULL ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hj‰h]”hŒstruct urb *urb”…”�”}”(hjĉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÀ‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M§hj¼‰ubji)�”}”(hhh]”hë)�”}”(hŒEpointer to URB describing a previously submitted request, may be NULL”h]”hŒEpointer to URB describing a previously submitted request, may be NULL”…”�”}”(hjÛ‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¦hj؉ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¼‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j׉h´M§hj¹‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj�‰ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjþ‰h]”hŒ Description”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjü‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M©hj�‰ubhë)�”}”(hX‰This routine cancels an in-progress request. It is guaranteed that upon return all completion handlers will have finished and the URB will be totally idle and available for reuse. These features make this an ideal way to stop I/O in a disconnect() callback or close() function. If the request has not already finished or been unlinked the completion handler will see urb->status == -ENOENT.”h]”hX‰This routine cancels an in-progress request. It is guaranteed that upon return all completion handlers will have finished and the URB will be totally idle and available for reuse. These features make this an ideal way to stop I/O in a disconnect() callback or close() function. If the request has not already finished or been unlinked the completion handler will see urb->status == -ENOENT.”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¨hj�‰ubhë)�”}”(hŒÎWhile the routine is running, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB's completion handler always tries to resubmit, it will not succeed and the URB will become idle.”h]”hŒÐWhile the routine is running, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB’s completion handler always tries to resubmit, it will not succeed and the URB will become idle.”…”�”}”(hj#Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¯hj�‰ubhë)�”}”(hŒ¶The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”h]”hŒ¶The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”…”�”}”(hj2Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M³hj�‰ubhë)�”}”(hŒ»This routine may not be used in an interrupt context (such as a bottom half or a completion handler), or when holding a spinlock, or in other situations where the caller can't schedule().”h]”hŒ½This routine may not be used in an interrupt context (such as a bottom half or a completion handler), or when holding a spinlock, or in other situations where the caller can’t schedule().”…”�”}”(hjAŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M·hj�‰ubhë)�”}”(hŒWThis routine should not be called by a driver after its disconnect method has returned.”h]”hŒWThis routine should not be called by a driver after its disconnect method has returned.”…”�”}”(hjPŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M»hj�‰ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_poison_urb (C function)”Œc.usb_poison_urb”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ%void usb_poison_urb (struct urb *urb)”h]”j+)�”}”(hŒ$void usb_poison_urb(struct urb *urb)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj{Šh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MÔubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjŽŠh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj{Šh²hh³j�Šh´MÔubj„)�”}”(hŒusb_poison_urb”h]”jŠ)�”}”(hŒusb_poison_urb”h]”hŒusb_poison_urb”…”�”}”(hj Šh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjœŠubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj{Šh²hh³j�Šh´MÔubj¥)�”}”(hŒ(struct urb *urb)”h]”j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj¼Šh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj¸ŠubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÉŠh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¸Šubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjÚŠh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj׊ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÜŠŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj¢ŠsbŒc.usb_poison_urb”†”asbuh1hhj¸ŠubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjúŠh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¸Šubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¸ŠubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¸Šubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj´Šubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj{Šh²hh³j�Šh´MÔubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjwŠh²hh³j�Šh´MÔubah}”(h]”jrŠah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j�Šh´MÔhjtŠh²hubjü)�”}”(hhh]”hë)�”}”(hŒ:reliably kill a transfer and prevent further use of an URB”h]”hŒ:reliably kill a transfer and prevent further use of an URB”…”�”}”(hj?‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MÔhj<‹h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjtŠh²hh³j�Šh´MÔubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjW‹jjW‹j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX“**Parameters** ``struct urb *urb`` pointer to URB describing a previously submitted request, may be NULL **Description** This routine cancels an in-progress request. It is guaranteed that upon return all completion handlers will have finished and the URB will be totally idle and cannot be reused. These features make this an ideal way to stop I/O in a disconnect() callback. If the request has not already finished or been unlinked the completion handler will see urb->status == -ENOENT. After and while the routine runs, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB's completion handler always tries to resubmit, it will not succeed and the URB will become idle. The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB. This routine may not be used in an interrupt context (such as a bottom half or a completion handler), or when holding a spinlock, or in other situations where the caller can't schedule(). This routine should not be called by a driver after its disconnect method has returned.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hja‹h]”hŒ Parameters”…”�”}”(hjc‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj_‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MØhj[‹ubjD)�”}”(hhh]”jI)�”}”(hŒZ``struct urb *urb`` pointer to URB describing a previously submitted request, may be NULL ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hj€‹h]”hŒstruct urb *urb”…”�”}”(hj‚‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj~‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MÖhjz‹ubji)�”}”(hhh]”hë)�”}”(hŒEpointer to URB describing a previously submitted request, may be NULL”h]”hŒEpointer to URB describing a previously submitted request, may be NULL”…”�”}”(hj™‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MÕhj–‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjz‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j•‹h´MÖhjw‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj[‹ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj¼‹h]”hŒ Description”…”�”}”(hj¾‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjº‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MØhj[‹ubhë)�”}”(hXqThis routine cancels an in-progress request. It is guaranteed that upon return all completion handlers will have finished and the URB will be totally idle and cannot be reused. These features make this an ideal way to stop I/O in a disconnect() callback. If the request has not already finished or been unlinked the completion handler will see urb->status == -ENOENT.”h]”hXqThis routine cancels an in-progress request. It is guaranteed that upon return all completion handlers will have finished and the URB will be totally idle and cannot be reused. These features make this an ideal way to stop I/O in a disconnect() callback. If the request has not already finished or been unlinked the completion handler will see urb->status == -ENOENT.”…”�”}”(hjÒ‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M×hj[‹ubhë)�”}”(hŒÒAfter and while the routine runs, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB's completion handler always tries to resubmit, it will not succeed and the URB will become idle.”h]”hŒÔAfter and while the routine runs, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB’s completion handler always tries to resubmit, it will not succeed and the URB will become idle.”…”�”}”(hjá‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MÞhj[‹ubhë)�”}”(hŒ¶The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”h]”hŒ¶The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”…”�”}”(hjð‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mâhj[‹ubhë)�”}”(hŒ»This routine may not be used in an interrupt context (such as a bottom half or a completion handler), or when holding a spinlock, or in other situations where the caller can't schedule().”h]”hŒ½This routine may not be used in an interrupt context (such as a bottom half or a completion handler), or when holding a spinlock, or in other situations where the caller can’t schedule().”…”�”}”(hjÿ‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mæhj[‹ubhë)�”}”(hŒWThis routine should not be called by a driver after its disconnect method has returned.”h]”hŒWThis routine should not be called by a driver after its disconnect method has returned.”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mêhj[‹ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒusb_block_urb (C function)”Œc.usb_block_urb”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ$void usb_block_urb (struct urb *urb)”h]”j+)�”}”(hŒ#void usb_block_urb(struct urb *urb)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj=Œh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj9Œh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjLŒh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj9Œh²hh³jKŒh´M ubj„)�”}”(hŒ usb_block_urb”h]”jŠ)�”}”(hŒ usb_block_urb”h]”hŒ usb_block_urb”…”�”}”(hj^Œh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjZŒubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj9Œh²hh³jKŒh´M ubj¥)�”}”(hŒ(struct urb *urb)”h]”j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjzŒh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjvŒubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‡Œh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjvŒubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj˜Œh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj•Œubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jšŒŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj`ŒsbŒc.usb_block_urb”†”asbuh1hhjvŒubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¸Œh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjvŒubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÆŒh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjvŒubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjÓŒh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjvŒubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjrŒubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj9Œh²hh³jKŒh´M ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj5Œh²hh³jKŒh´M ubah}”(h]”j0Œah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jKŒh´M hj2Œh²hubjü)�”}”(hhh]”hë)�”}”(hŒ&reliably prevent further use of an URB”h]”hŒ&reliably prevent further use of an URB”…”�”}”(hjýŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M hjúŒh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj2Œh²hh³jKŒh´M ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj�jj�j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXå**Parameters** ``struct urb *urb`` pointer to URB to be blocked, may be NULL **Description** After the routine has run, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB's completion handler always tries to resubmit, it will not succeed and the URB will become idle. The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj�h]”hŒ Parameters”…”�”}”(hj!�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mhj�ubjD)�”}”(hhh]”jI)�”}”(hŒ>``struct urb *urb`` pointer to URB to be blocked, may be NULL ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hj>�h]”hŒstruct urb *urb”…”�”}”(hj@�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj<�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mhj8�ubji)�”}”(hhh]”hë)�”}”(hŒ)pointer to URB to be blocked, may be NULL”h]”hŒ)pointer to URB to be blocked, may be NULL”…”�”}”(hjW�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jS�h´MhjT�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj8�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jS�h´Mhj5�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj�ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjy�h]”hŒ Description”…”�”}”(hj{�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjw�ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mhj�ubhë)�”}”(hŒËAfter the routine has run, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB's completion handler always tries to resubmit, it will not succeed and the URB will become idle.”h]”hŒÍAfter the routine has run, attempts to resubmit the URB will fail with error -EPERM. Thus even if the URB’s completion handler always tries to resubmit, it will not succeed and the URB will become idle.”…”�”}”(hj��h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mhj�ubhë)�”}”(hŒ¶The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”h]”hŒ¶The URB must not be deallocated while this routine is running. In particular, when a driver calls this routine, it must insure that the completion handler cannot deallocate the URB.”…”�”}”(hjž�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mhj�ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ#usb_kill_anchored_urbs (C function)”Œc.usb_kill_anchored_urbs”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ7void usb_kill_anchored_urbs (struct usb_anchor *anchor)”h]”j+)�”}”(hŒ6void usb_kill_anchored_urbs(struct usb_anchor *anchor)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÍ�h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÉ�h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M"ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÜ�h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÉ�h²hh³jÛ�h´M"ubj„)�”}”(hŒusb_kill_anchored_urbs”h]”jŠ)�”}”(hŒusb_kill_anchored_urbs”h]”hŒusb_kill_anchored_urbs”…”�”}”(hjî�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjê�ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÉ�h²hh³jÛ�h´M"ubj¥)�”}”(hŒ(struct usb_anchor *anchor)”h]”j«)�”}”(hŒstruct usb_anchor *anchor”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj Žh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjŽubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjŽubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_anchor”h]”hŒ usb_anchor”…”�”}”(hj(Žh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj%Žubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j*ŽŒmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHjð�sbŒc.usb_kill_anchored_urbs”†”asbuh1hhjŽubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHŽh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjŽubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjVŽh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjŽubjŠ)�”}”(hŒanchor”h]”hŒanchor”…”�”}”(hjcŽh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjŽubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjŽubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÉ�h²hh³jÛ�h´M"ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÅ�h²hh³jÛ�h´M"ubah}”(h]”jÀ�ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÛ�h´M"hjÂ�h²hubjü)�”}”(hhh]”hë)�”}”(hŒ'kill all URBs associated with an anchor”h]”hŒ'kill all URBs associated with an anchor”…”�”}”(hj�Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M"hjŠŽh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÂ�h²hh³jÛ�h´M"ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¥Žjj¥Žj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXh**Parameters** ``struct usb_anchor *anchor`` anchor the requests are bound to **Description** This kills all outstanding URBs starting from the back of the queue, with guarantee that no completer callbacks will take place from the anchor after this function returns. This routine should not be called by a driver after its disconnect method has returned.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¯Žh]”hŒ Parameters”…”�”}”(hj±Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj­Žubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M&hj©ŽubjD)�”}”(hhh]”jI)�”}”(hŒ?``struct usb_anchor *anchor`` anchor the requests are bound to ”h]”(jO)�”}”(hŒ``struct usb_anchor *anchor``”h]”jÑ)�”}”(hjÎŽh]”hŒstruct usb_anchor *anchor”…”�”}”(hjÐŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÌŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M#hjÈŽubji)�”}”(hhh]”hë)�”}”(hŒ anchor the requests are bound to”h]”hŒ anchor the requests are bound to”…”�”}”(hjçŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jãŽh´M#hjäŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÈŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jãŽh´M#hjÅŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj©Žubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj �h]”hŒ Description”…”�”}”(hj �h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M%hj©Žubhë)�”}”(hŒ¬This kills all outstanding URBs starting from the back of the queue, with guarantee that no completer callbacks will take place from the anchor after this function returns.”h]”hŒ¬This kills all outstanding URBs starting from the back of the queue, with guarantee that no completer callbacks will take place from the anchor after this function returns.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M$hj©Žubhë)�”}”(hŒWThis routine should not be called by a driver after its disconnect method has returned.”h]”hŒWThis routine should not be called by a driver after its disconnect method has returned.”…”�”}”(hj.�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M(hj©Žubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ%usb_poison_anchored_urbs (C function)”Œc.usb_poison_anchored_urbs”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ9void usb_poison_anchored_urbs (struct usb_anchor *anchor)”h]”j+)�”}”(hŒ8void usb_poison_anchored_urbs(struct usb_anchor *anchor)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj]�h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjY�h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MHubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjl�h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjY�h²hh³jk�h´MHubj„)�”}”(hŒusb_poison_anchored_urbs”h]”jŠ)�”}”(hŒusb_poison_anchored_urbs”h]”hŒusb_poison_anchored_urbs”…”�”}”(hj~�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjz�ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjY�h²hh³jk�h´MHubj¥)�”}”(hŒ(struct usb_anchor *anchor)”h]”j«)�”}”(hŒstruct usb_anchor *anchor”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjš�h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj–�ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj§�h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj–�ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_anchor”h]”hŒ usb_anchor”…”�”}”(hj¸�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjµ�ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jº�Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj€�sbŒc.usb_poison_anchored_urbs”†”asbuh1hhj–�ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjØ�h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj–�ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjæ�h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj–�ubjŠ)�”}”(hŒanchor”h]”hŒanchor”…”�”}”(hjó�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj–�ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’�ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjY�h²hh³jk�h´MHubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjU�h²hh³jk�h´MHubah}”(h]”jP�ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jk�h´MHhjR�h²hubjü)�”}”(hhh]”hë)�”}”(hŒ cease all traffic from an anchor”h]”hŒ cease all traffic from an anchor”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MHhj�h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjR�h²hh³jk�h´MHubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj5�jj5�j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX7**Parameters** ``struct usb_anchor *anchor`` anchor the requests are bound to **Description** this allows all outstanding URBs to be poisoned starting from the back of the queue. Newly added URBs will also be poisoned This routine should not be called by a driver after its disconnect method has returned.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj?�h]”hŒ Parameters”…”�”}”(hjA�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj=�ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MLhj9�ubjD)�”}”(hhh]”jI)�”}”(hŒ?``struct usb_anchor *anchor`` anchor the requests are bound to ”h]”(jO)�”}”(hŒ``struct usb_anchor *anchor``”h]”jÑ)�”}”(hj^�h]”hŒstruct usb_anchor *anchor”…”�”}”(hj`�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj\�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MIhjX�ubji)�”}”(hhh]”hë)�”}”(hŒ anchor the requests are bound to”h]”hŒ anchor the requests are bound to”…”�”}”(hjw�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³js�h´MIhjt�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjX�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³js�h´MIhjU�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj9�ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj™�h]”hŒ Description”…”�”}”(hj›�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj—�ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MKhj9�ubhë)�”}”(hŒ{this allows all outstanding URBs to be poisoned starting from the back of the queue. Newly added URBs will also be poisoned”h]”hŒ{this allows all outstanding URBs to be poisoned starting from the back of the queue. Newly added URBs will also be poisoned”…”�”}”(hj¯�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MJhj9�ubhë)�”}”(hŒWThis routine should not be called by a driver after its disconnect method has returned.”h]”hŒWThis routine should not be called by a driver after its disconnect method has returned.”…”�”}”(hj¾�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MNhj9�ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_unpoison_anchored_urbs (C function)”Œc.usb_unpoison_anchored_urbs”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ;void usb_unpoison_anchored_urbs (struct usb_anchor *anchor)”h]”j+)�”}”(hŒ:void usb_unpoison_anchored_urbs(struct usb_anchor *anchor)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjí�h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjé�h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MnubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjü�h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjé�h²hh³jû�h´Mnubj„)�”}”(hŒusb_unpoison_anchored_urbs”h]”jŠ)�”}”(hŒusb_unpoison_anchored_urbs”h]”hŒusb_unpoison_anchored_urbs”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ‘ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjé�h²hh³jû�h´Mnubj¥)�”}”(hŒ(struct usb_anchor *anchor)”h]”j«)�”}”(hŒstruct usb_anchor *anchor”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj*‘h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj&‘ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj7‘h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj&‘ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_anchor”h]”hŒ usb_anchor”…”�”}”(hjH‘h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjE‘ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jJ‘Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj‘sbŒc.usb_unpoison_anchored_urbs”†”asbuh1hhj&‘ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh‘h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj&‘ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjv‘h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj&‘ubjŠ)�”}”(hŒanchor”h]”hŒanchor”…”�”}”(hjƒ‘h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj&‘ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj"‘ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjé�h²hh³jû�h´Mnubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjå�h²hh³jû�h´Mnubah}”(h]”jà�ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jû�h´Mnhjâ�h²hubjü)�”}”(hhh]”hë)�”}”(hŒ(let an anchor be used successfully again”h]”hŒ(let an anchor be used successfully again”…”�”}”(hj­‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mnhjª‘h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjâ�h²hh³jû�h´Mnubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÅ‘jjÅ‘j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hŒÃ**Parameters** ``struct usb_anchor *anchor`` anchor the requests are bound to **Description** Reverses the effect of usb_poison_anchored_urbs the anchor can be used normally after it returns”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÏ‘h]”hŒ Parameters”…”�”}”(hjÑ‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÍ‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MrhjÉ‘ubjD)�”}”(hhh]”jI)�”}”(hŒ?``struct usb_anchor *anchor`` anchor the requests are bound to ”h]”(jO)�”}”(hŒ``struct usb_anchor *anchor``”h]”jÑ)�”}”(hjî‘h]”hŒstruct usb_anchor *anchor”…”�”}”(hjð‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjì‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mohjè‘ubji)�”}”(hhh]”hë)�”}”(hŒ anchor the requests are bound to”h]”hŒ anchor the requests are bound to”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j’h´Mohj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjè‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j’h´Mohjå‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjÉ‘ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj)’h]”hŒ Description”…”�”}”(hj+’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj'’ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MqhjÉ‘ubhë)�”}”(hŒ`Reverses the effect of usb_poison_anchored_urbs the anchor can be used normally after it returns”h]”hŒ`Reverses the effect of usb_poison_anchored_urbs the anchor can be used normally after it returns”…”�”}”(hj?’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MphjÉ‘ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_anchor_suspend_wakeups (C function)”Œc.usb_anchor_suspend_wakeups”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ;void usb_anchor_suspend_wakeups (struct usb_anchor *anchor)”h]”j+)�”}”(hŒ:void usb_anchor_suspend_wakeups(struct usb_anchor *anchor)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjn’h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjj’h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´MƒubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj}’h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjj’h²hh³j|’h´Mƒubj„)�”}”(hŒusb_anchor_suspend_wakeups”h]”jŠ)�”}”(hŒusb_anchor_suspend_wakeups”h]”hŒusb_anchor_suspend_wakeups”…”�”}”(hj�’h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‹’ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjj’h²hh³j|’h´Mƒubj¥)�”}”(hŒ(struct usb_anchor *anchor)”h]”j«)�”}”(hŒstruct usb_anchor *anchor”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj«’h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj§’ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¸’h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj§’ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_anchor”h]”hŒ usb_anchor”…”�”}”(hjÉ’h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÆ’ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jË’Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj‘’sbŒc.usb_anchor_suspend_wakeups”†”asbuh1hhj§’ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjé’h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj§’ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj÷’h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj§’ubjŠ)�”}”(hŒanchor”h]”hŒanchor”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj§’ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj£’ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjj’h²hh³j|’h´Mƒubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjf’h²hh³j|’h´Mƒubah}”(h]”ja’ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j|’h´Mƒhjc’h²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjc’h²hh³j|’h´Mƒubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj7“jj7“j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX@**Parameters** ``struct usb_anchor *anchor`` the anchor you want to suspend wakeups on **Description** Call this to stop the last urb being unanchored from waking up any usb_wait_anchor_empty_timeout waiters. This is used in the hcd urb give- back path to delay waking up until after the completion handler has run.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjA“h]”hŒ Parameters”…”�”}”(hjC“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj?“ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M‡hj;“ubjD)�”}”(hhh]”jI)�”}”(hŒH``struct usb_anchor *anchor`` the anchor you want to suspend wakeups on ”h]”(jO)�”}”(hŒ``struct usb_anchor *anchor``”h]”jÑ)�”}”(hj`“h]”hŒstruct usb_anchor *anchor”…”�”}”(hjb“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj^“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M„hjZ“ubji)�”}”(hhh]”hë)�”}”(hŒ)the anchor you want to suspend wakeups on”h]”hŒ)the anchor you want to suspend wakeups on”…”�”}”(hjy“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ju“h´M„hjv“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjZ“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³ju“h´M„hjW“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj;“ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj›“h]”hŒ Description”…”�”}”(hj�“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj™“ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”•h´M†hj;“ubhë)�”}”(hŒÔCall this to stop the last urb being unanchored from waking up any usb_wait_anchor_empty_timeout waiters. This is used in the hcd urb give- back path to delay waking up until after the completion handler has run.”h]”hŒÔCall this to stop the last urb being unanchored from waking up any usb_wait_anchor_empty_timeout waiters. This is used in the hcd urb give- back path to delay waking up until after the completion handler has run.”…”�”}”(hj±“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M…hj;“ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ&usb_anchor_resume_wakeups (C function)”Œc.usb_anchor_resume_wakeups”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ:void usb_anchor_resume_wakeups (struct usb_anchor *anchor)”h]”j+)�”}”(hŒ9void usb_anchor_resume_wakeups(struct usb_anchor *anchor)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjà“h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÜ“h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M’ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjï“h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÜ“h²hh³jî“h´M’ubj„)�”}”(hŒusb_anchor_resume_wakeups”h]”jŠ)�”}”(hŒusb_anchor_resume_wakeups”h]”hŒusb_anchor_resume_wakeups”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjý“ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÜ“h²hh³jî“h´M’ubj¥)�”}”(hŒ(struct usb_anchor *anchor)”h]”j«)�”}”(hŒstruct usb_anchor *anchor”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj”ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj*”h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj”ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_anchor”h]”hŒ usb_anchor”…”�”}”(hj;”h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj8”ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j=”Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHj”sbŒc.usb_anchor_resume_wakeups”†”asbuh1hhj”ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj[”h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj”ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hji”h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj”ubjŠ)�”}”(hŒanchor”h]”hŒanchor”…”�”}”(hjv”h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj”ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj”ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÜ“h²hh³jî“h´M’ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjØ“h²hh³jî“h´M’ubah}”(h]”jÓ“ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jî“h´M’hjÕ“h²hubjü)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÕ“h²hh³jî“h´M’ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj©”jj©”j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hŒä**Parameters** ``struct usb_anchor *anchor`` the anchor you want to resume wakeups on **Description** Allow usb_wait_anchor_empty_timeout waiters to be woken up again, and wake up any current waiters if the anchor is empty.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj³”h]”hŒ Parameters”…”�”}”(hjµ”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj±”ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M–hj­”ubjD)�”}”(hhh]”jI)�”}”(hŒG``struct usb_anchor *anchor`` the anchor you want to resume wakeups on ”h]”(jO)�”}”(hŒ``struct usb_anchor *anchor``”h]”jÑ)�”}”(hjÒ”h]”hŒstruct usb_anchor *anchor”…”�”}”(hjÔ”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjДubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M“hjÌ”ubji)�”}”(hhh]”hë)�”}”(hŒ(the anchor you want to resume wakeups on”h]”hŒ(the anchor you want to resume wakeups on”…”�”}”(hjë”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jç”h´M“hjè”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÌ”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jç”h´M“hjÉ”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj­”ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj •h]”hŒ Description”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj •ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M•hj­”ubhë)�”}”(hŒyAllow usb_wait_anchor_empty_timeout waiters to be woken up again, and wake up any current waiters if the anchor is empty.”h]”hŒyAllow usb_wait_anchor_empty_timeout waiters to be woken up again, and wake up any current waiters if the anchor is empty.”…”�”}”(hj#•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M”hj­”ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ*usb_wait_anchor_empty_timeout (C function)”Œc.usb_wait_anchor_empty_timeout”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒSint usb_wait_anchor_empty_timeout (struct usb_anchor *anchor, unsigned int timeout)”h]”j+)�”}”(hŒRint usb_wait_anchor_empty_timeout(struct usb_anchor *anchor, unsigned int timeout)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjR•h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjN•h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¤ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hja•h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjN•h²hh³j`•h´M¤ubj„)�”}”(hŒusb_wait_anchor_empty_timeout”h]”jŠ)�”}”(hŒusb_wait_anchor_empty_timeout”h]”hŒusb_wait_anchor_empty_timeout”…”�”}”(hjs•h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjo•ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjN•h²hh³j`•h´M¤ubj¥)�”}”(hŒ1(struct usb_anchor *anchor, unsigned int timeout)”h]”(j«)�”}”(hŒstruct usb_anchor *anchor”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj�•h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj‹•ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjœ•h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj‹•ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_anchor”h]”hŒ usb_anchor”…”�”}”(hj­•h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjª•ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¯•Œmodname”NŒ classname”NjLjO)�”}”jR]”jU)�”}”jHju•sbŒc.usb_wait_anchor_empty_timeout”†”asbuh1hhj‹•ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÍ•h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj‹•ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÛ•h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj‹•ubjŠ)�”}”(hŒanchor”h]”hŒanchor”…”�”}”(hjè•h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‹•ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj‡•ubj«)�”}”(hŒunsigned int timeout”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjý•ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjý•ubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjý•ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj+–h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjý•ubjŠ)�”}”(hŒtimeout”h]”hŒtimeout”…”�”}”(hj9–h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjý•ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj‡•ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjN•h²hh³j`•h´M¤ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjJ•h²hh³j`•h´M¤ubah}”(h]”jE•ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j`•h´M¤hjG•h²hubjü)�”}”(hhh]”hë)�”}”(hŒwait for an anchor to be unused”h]”hŒwait for an anchor to be unused”…”�”}”(hjc–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¤hj`–h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjG•h²hh³j`•h´M¤ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj{–jj{–j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX;**Parameters** ``struct usb_anchor *anchor`` the anchor you want to become unused ``unsigned int timeout`` how long you are willing to wait in milliseconds **Description** Call this is you want to be sure all an anchor's URBs have finished **Return** Non-zero if the anchor became unused. Zero on timeout.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj…–h]”hŒ Parameters”…”�”}”(hj‡–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjƒ–ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¨hj–ubjD)�”}”(hhh]”(jI)�”}”(hŒC``struct usb_anchor *anchor`` the anchor you want to become unused ”h]”(jO)�”}”(hŒ``struct usb_anchor *anchor``”h]”jÑ)�”}”(hj¤–h]”hŒstruct usb_anchor *anchor”…”�”}”(hj¦–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¢–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¥hjž–ubji)�”}”(hhh]”hë)�”}”(hŒ$the anchor you want to become unused”h]”hŒ$the anchor you want to become unused”…”�”}”(hj½–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¹–h´M¥hjº–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjž–ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¹–h´M¥hj›–ubjI)�”}”(hŒJ``unsigned int timeout`` how long you are willing to wait in milliseconds ”h]”(jO)�”}”(hŒ``unsigned int timeout``”h]”jÑ)�”}”(hjÝ–h]”hŒunsigned int timeout”…”�”}”(hjß–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÛ–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¦hj×–ubji)�”}”(hhh]”hë)�”}”(hŒ0how long you are willing to wait in milliseconds”h]”hŒ0how long you are willing to wait in milliseconds”…”�”}”(hjö–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jò–h´M¦hjó–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj×–ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jò–h´M¦hj›–ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj–ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj—h]”hŒ Description”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M¨hj–ubhë)�”}”(hŒCCall this is you want to be sure all an anchor's URBs have finished”h]”hŒECall this is you want to be sure all an anchor’s URBs have finished”…”�”}”(hj.—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M§hj–ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj?—h]”hŒReturn”…”�”}”(hjA—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj=—ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´Mªhj–ubhë)�”}”(hŒ6Non-zero if the anchor became unused. Zero on timeout.”h]”hŒ6Non-zero if the anchor became unused. Zero on timeout.”…”�”}”(hjU—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:161: ./drivers/usb/core/urb.c”h´M«hj–ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ usb_get_from_anchor (C function)”Œc.usb_get_from_anchor”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ®h]”hŒ int timeout”…”�”}”(hj@®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj<®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´K÷hj8®ubji)�”}”(hhh]”hë)�”}”(hŒCtime in msecs to wait for the message to complete before timing out”h]”hŒCtime in msecs to wait for the message to complete before timing out”…”�”}”(hjW®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jS®h´K÷hjT®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj8®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jS®h´K÷hjm¬ubjI)�”}”(hŒ?``gfp_t memflags`` the flags for memory allocation for buffers ”h]”(jO)�”}”(hŒ``gfp_t memflags``”h]”jÑ)�”}”(hjw®h]”hŒgfp_t memflags”…”�”}”(hjy®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhju®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Køhjq®ubji)�”}”(hhh]”hë)�”}”(hŒ+the flags for memory allocation for buffers”h]”hŒ+the flags for memory allocation for buffers”…”�”}”(hj�®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jŒ®h´Køhj�®ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjq®ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jŒ®h´Køhjm¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjQ¬ubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj²®h]”hŒContext”…”�”}”(hj´®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj°®ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´KúhjQ¬ubhë)�”}”(hŒ!in_interrupt ()”h]”hŒ!in_interrupt ()”…”�”}”(hjÈ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´KúhjQ¬ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÙ®h]”hŒ Description”…”�”}”(hjÛ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj×®ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´KühjQ¬ubhë)�”}”(hŒ²This function sends a control message to a specified endpoint that is expected to fill in a response (i.e. a "receive message") and waits for the message to complete, or timeout.”h]”hŒ¶This function sends a control message to a specified endpoint that is expected to fill in a response (i.e. a “receive messageâ€�) and waits for the message to complete, or timeout.”…”�”}”(hjï®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´KûhjQ¬ubhë)�”}”(hXfDo not use this function from within an interrupt context. If you need an asynchronous message, or need to send a message from within interrupt context, use usb_submit_urb(). If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. Since you don't have a handle on the URB used, you can't cancel the request.”h]”hXjDo not use this function from within an interrupt context. If you need an asynchronous message, or need to send a message from within interrupt context, use usb_submit_urb(). If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. Since you don’t have a handle on the URB used, you can’t cancel the request.”…”�”}”(hjþ®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´KÿhjQ¬ubhë)�”}”(hX0The data pointer can be made to a reference on the stack, or anywhere else that can be successfully written to. This function does not have the restriction that usb_control_msg() has where the data pointer must be to dynamically allocated memory (i.e. memory that can be successfully DMAed to a device).”h]”hX0The data pointer can be made to a reference on the stack, or anywhere else that can be successfully written to. This function does not have the restriction that usb_control_msg() has where the data pointer must be to dynamically allocated memory (i.e. memory that can be successfully DMAed to a device).”…”�”}”(hj ¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjQ¬ubhë)�”}”(hXThe "whole" message must be properly received from the device in order for this function to be successful. If a device returns less than the expected amount of data, then the function will fail. Do not use this for messages where a variable amount of data might be returned.”h]”hXThe “wholeâ€� message must be properly received from the device in order for this function to be successful. If a device returns less than the expected amount of data, then the function will fail. Do not use this for messages where a variable amount of data might be returned.”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M hjQ¬ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj-¯h]”hŒReturn”…”�”}”(hj/¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj+¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjQ¬ubhë)�”}”(hŒAIf successful, 0 is returned, Otherwise, a negative error number.”h]”hŒAIf successful, 0 is returned, Otherwise, a negative error number.”…”�”}”(hjC¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjQ¬ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_core.usb_interrupt_msg (C function)”Œc.usb_core.usb_interrupt_msg”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ{int usb_interrupt_msg (struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”j+)�”}”(hŒzint usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjr¯h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjn¯h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M7ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�¯h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjn¯h²hh³j€¯h´M7ubj„)�”}”(hŒusb_interrupt_msg”h]”jŠ)�”}”(hŒusb_interrupt_msg”h]”hŒusb_interrupt_msg”…”�”}”(hj“¯h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj�¯ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjn¯h²hh³j€¯h´M7ubj¥)�”}”(hŒe(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”(j«)�”}”(hŒstruct usb_device *usb_dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj¯¯h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj«¯ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¼¯h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj«¯ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjͯh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjʯubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jϯŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj•¯sbŒc.usb_core.usb_interrupt_msg”†”esbuh1hhj«¯ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjî¯h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj«¯ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjü¯h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj«¯ubjŠ)�”}”(hŒusb_dev”h]”hŒusb_dev”…”�”}”(hj °h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj«¯ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj§¯ubj«)�”}”(hŒunsigned int pipe”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj"°h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj°ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj0°h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj°ubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hj>°h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj°ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjL°h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj°ubjŠ)�”}”(hŒpipe”h]”hŒpipe”…”�”}”(hjZ°h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj°ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj§¯ubj«)�”}”(hŒ void *data”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjs°h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjo°ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�°h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjo°ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj�°h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjo°ubjŠ)�”}”(hŒdata”h]”hŒdata”…”�”}”(hjœ°h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjo°ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj§¯ubj«)�”}”(hŒint len”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjµ°h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj±°ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj±°ubjŠ)�”}”(hŒlen”h]”hŒlen”…”�”}”(hjѰh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj±°ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj§¯ubj«)�”}”(hŒint *actual_length”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjê°h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjæ°ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjø°h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjæ°ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjæ°ubjŠ)�”}”(hŒ actual_length”h]”hŒ actual_length”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjæ°ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj§¯ubj«)�”}”(hŒ int timeout”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj,±h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj(±ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj:±h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj(±ubjŠ)�”}”(hŒtimeout”h]”hŒtimeout”…”�”}”(hjH±h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj(±ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj§¯ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjn¯h²hh³j€¯h´M7ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjj¯h²hh³j€¯h´M7ubah}”(h]”je¯ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j€¯h´M7hjg¯h²hubjü)�”}”(hhh]”hë)�”}”(hŒ>Builds an interrupt urb, sends it off and waits for completion”h]”hŒ>Builds an interrupt urb, sends it off and waits for completion”…”�”}”(hjr±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M7hjo±h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjg¯h²hh³j€¯h´M7ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjбjjбj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXp**Parameters** ``struct usb_device *usb_dev`` pointer to the usb device to send the message to ``unsigned int pipe`` endpoint "pipe" to send the message to ``void *data`` pointer to the data to send ``int len`` length in bytes of the data to send ``int *actual_length`` pointer to a location to put the actual length transferred in bytes ``int timeout`` time in msecs to wait for the message to complete before timing out **Context** task context, might sleep. **Description** This function sends a simple interrupt message to a specified endpoint and waits for the message to complete, or timeout. Don't use this function from within an interrupt context. If you need an asynchronous message, or need to send a message from within interrupt context, use usb_submit_urb() If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. Since you don't have a handle on the URB used, you can't cancel the request. **Return** If successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the **actual_length** parameter.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj”±h]”hŒ Parameters”…”�”}”(hj–±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj’±ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M;hjޱubjD)�”}”(hhh]”(jI)�”}”(hŒP``struct usb_device *usb_dev`` pointer to the usb device to send the message to ”h]”(jO)�”}”(hŒ``struct usb_device *usb_dev``”h]”jÑ)�”}”(hj³±h]”hŒstruct usb_device *usb_dev”…”�”}”(hjµ±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj±±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M8hj­±ubji)�”}”(hhh]”hë)�”}”(hŒ0pointer to the usb device to send the message to”h]”hŒ0pointer to the usb device to send the message to”…”�”}”(hj̱h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jȱh´M8hjɱubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj­±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jȱh´M8hjª±ubjI)�”}”(hŒ=``unsigned int pipe`` endpoint "pipe" to send the message to ”h]”(jO)�”}”(hŒ``unsigned int pipe``”h]”jÑ)�”}”(hjì±h]”hŒunsigned int pipe”…”�”}”(hjî±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjê±ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M9hjæ±ubji)�”}”(hhh]”hë)�”}”(hŒ&endpoint "pipe" to send the message to”h]”hŒ*endpoint “pipeâ€� to send the message to”…”�”}”(hj²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j²h´M9hj²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjæ±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j²h´M9hjª±ubjI)�”}”(hŒ+``void *data`` pointer to the data to send ”h]”(jO)�”}”(hŒ``void *data``”h]”jÑ)�”}”(hj%²h]”hŒ void *data”…”�”}”(hj'²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj#²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M:hj²ubji)�”}”(hhh]”hë)�”}”(hŒpointer to the data to send”h]”hŒpointer to the data to send”…”�”}”(hj>²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j:²h´M:hj;²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j:²h´M:hjª±ubjI)�”}”(hŒ0``int len`` length in bytes of the data to send ”h]”(jO)�”}”(hŒ ``int len``”h]”jÑ)�”}”(hj^²h]”hŒint len”…”�”}”(hj`²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj\²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M;hjX²ubji)�”}”(hhh]”hë)�”}”(hŒ#length in bytes of the data to send”h]”hŒ#length in bytes of the data to send”…”�”}”(hjw²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³js²h´M;hjt²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjX²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³js²h´M;hjª±ubjI)�”}”(hŒ[``int *actual_length`` pointer to a location to put the actual length transferred in bytes ”h]”(jO)�”}”(hŒ``int *actual_length``”h]”jÑ)�”}”(hj—²h]”hŒint *actual_length”…”�”}”(hj™²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj•²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M=hj‘²ubji)�”}”(hhh]”hë)�”}”(hŒCpointer to a location to put the actual length transferred in bytes”h]”hŒCpointer to a location to put the actual length transferred in bytes”…”�”}”(hj°²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M<hj­²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‘²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¬²h´M=hjª±ubjI)�”}”(hŒT``int timeout`` time in msecs to wait for the message to complete before timing out ”h]”(jO)�”}”(hŒ``int timeout``”h]”jÑ)�”}”(hjѲh]”hŒ int timeout”…”�”}”(hjÓ²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjϲubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M>hj˲ubji)�”}”(hhh]”hë)�”}”(hŒCtime in msecs to wait for the message to complete before timing out”h]”hŒCtime in msecs to wait for the message to complete before timing out”…”�”}”(hjê²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jæ²h´M>hjç²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj˲ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jæ²h´M>hjª±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjޱubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj ³h]”hŒContext”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj ³ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M@hjޱubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hj"³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M@hjޱubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj3³h]”hŒ Description”…”�”}”(hj5³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj1³ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MBhjޱubhë)�”}”(hŒyThis function sends a simple interrupt message to a specified endpoint and waits for the message to complete, or timeout.”h]”hŒyThis function sends a simple interrupt message to a specified endpoint and waits for the message to complete, or timeout.”…”�”}”(hjI³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MAhjޱubhë)�”}”(hXdDon't use this function from within an interrupt context. If you need an asynchronous message, or need to send a message from within interrupt context, use usb_submit_urb() If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. Since you don't have a handle on the URB used, you can't cancel the request.”h]”hXjDon’t use this function from within an interrupt context. If you need an asynchronous message, or need to send a message from within interrupt context, use usb_submit_urb() If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. Since you don’t have a handle on the URB used, you can’t cancel the request.”…”�”}”(hjX³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MDhjޱubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hji³h]”hŒReturn”…”�”}”(hjk³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjg³ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MJhjޱubhë)�”}”(hŒŽIf successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the **actual_length** parameter.”h]”(hŒrIf successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the ”…”�”}”(hj³h²hh³Nh´Nubj.)�”}”(hŒ**actual_length**”h]”hŒ actual_length”…”�”}”(hj‡³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj³ubhŒ parameter.”…”�”}”(hj³h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MKhjޱubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ"usb_core.usb_bulk_msg (C function)”Œc.usb_core.usb_bulk_msg”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒvint usb_bulk_msg (struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”j+)�”}”(hŒuint usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÀ³h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj¼³h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MWubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjϳh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¼³h²hh³jγh´MWubj„)�”}”(hŒ usb_bulk_msg”h]”jŠ)�”}”(hŒ usb_bulk_msg”h]”hŒ usb_bulk_msg”…”�”}”(hjá³h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjݳubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj¼³h²hh³jγh´MWubj¥)�”}”(hŒe(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”(j«)�”}”(hŒstruct usb_device *usb_dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjý³h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjù³ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj ´h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjù³ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj´ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j´Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjã³sbŒc.usb_core.usb_bulk_msg”†”esbuh1hhjù³ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj<´h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjù³ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjJ´h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjù³ubjŠ)�”}”(hŒusb_dev”h]”hŒusb_dev”…”�”}”(hjW´h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjù³ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõ³ubj«)�”}”(hŒunsigned int pipe”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjp´h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjl´ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj~´h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjl´ubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hjŒ´h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjl´ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjš´h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjl´ubjŠ)�”}”(hŒpipe”h]”hŒpipe”…”�”}”(hj¨´h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjl´ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõ³ubj«)�”}”(hŒ void *data”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÁ´h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj½´ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÏ´h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj½´ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÝ´h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj½´ubjŠ)�”}”(hŒdata”h]”hŒdata”…”�”}”(hjê´h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj½´ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõ³ubj«)�”}”(hŒint len”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÿ´ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÿ´ubjŠ)�”}”(hŒlen”h]”hŒlen”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÿ´ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõ³ubj«)�”}”(hŒint *actual_length”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj8µh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj4µubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjFµh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj4µubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjTµh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj4µubjŠ)�”}”(hŒ actual_length”h]”hŒ actual_length”…”�”}”(hjaµh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj4µubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõ³ubj«)�”}”(hŒ int timeout”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjzµh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjvµubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjˆµh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjvµubjŠ)�”}”(hŒtimeout”h]”hŒtimeout”…”�”}”(hj–µh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjvµubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõ³ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj¼³h²hh³jγh´MWubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj¸³h²hh³jγh´MWubah}”(h]”j³³ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jγh´MWhjµ³h²hubjü)�”}”(hhh]”hë)�”}”(hŒ8Builds a bulk urb, sends it off and waits for completion”h]”hŒ8Builds a bulk urb, sends it off and waits for completion”…”�”}”(hjÀµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MWhj½µh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjµ³h²hh³jγh´MWubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjصjjصj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX‹**Parameters** ``struct usb_device *usb_dev`` pointer to the usb device to send the message to ``unsigned int pipe`` endpoint "pipe" to send the message to ``void *data`` pointer to the data to send ``int len`` length in bytes of the data to send ``int *actual_length`` pointer to a location to put the actual length transferred in bytes ``int timeout`` time in msecs to wait for the message to complete before timing out **Context** task context, might sleep. **Description** This function sends a simple bulk message to a specified endpoint and waits for the message to complete, or timeout. Don't use this function from within an interrupt context. If you need an asynchronous message, or need to send a message from within interrupt context, use usb_submit_urb() If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. Since you don't have a handle on the URB used, you can't cancel the request. Because there is no usb_interrupt_msg() and no USBDEVFS_INTERRUPT ioctl, users are forced to abuse this routine by using it to submit URBs for interrupt endpoints. We will take the liberty of creating an interrupt URB (with the default interval) if the target is an interrupt endpoint. **Return** If successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the **actual_length** parameter.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjâµh]”hŒ Parameters”…”�”}”(hjäµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjàµubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M[hjܵubjD)�”}”(hhh]”(jI)�”}”(hŒP``struct usb_device *usb_dev`` pointer to the usb device to send the message to ”h]”(jO)�”}”(hŒ``struct usb_device *usb_dev``”h]”jÑ)�”}”(hj¶h]”hŒstruct usb_device *usb_dev”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÿµubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MXhjûµubji)�”}”(hhh]”hë)�”}”(hŒ0pointer to the usb device to send the message to”h]”hŒ0pointer to the usb device to send the message to”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¶h´MXhj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjûµubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¶h´MXhjøµubjI)�”}”(hŒ=``unsigned int pipe`` endpoint "pipe" to send the message to ”h]”(jO)�”}”(hŒ``unsigned int pipe``”h]”jÑ)�”}”(hj:¶h]”hŒunsigned int pipe”…”�”}”(hj<¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj8¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MYhj4¶ubji)�”}”(hhh]”hë)�”}”(hŒ&endpoint "pipe" to send the message to”h]”hŒ*endpoint “pipeâ€� to send the message to”…”�”}”(hjS¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jO¶h´MYhjP¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj4¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jO¶h´MYhjøµubjI)�”}”(hŒ+``void *data`` pointer to the data to send ”h]”(jO)�”}”(hŒ``void *data``”h]”jÑ)�”}”(hjs¶h]”hŒ void *data”…”�”}”(hju¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjq¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MZhjm¶ubji)�”}”(hhh]”hë)�”}”(hŒpointer to the data to send”h]”hŒpointer to the data to send”…”�”}”(hjŒ¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jˆ¶h´MZhj‰¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjm¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jˆ¶h´MZhjøµubjI)�”}”(hŒ0``int len`` length in bytes of the data to send ”h]”(jO)�”}”(hŒ ``int len``”h]”jÑ)�”}”(hj¬¶h]”hŒint len”…”�”}”(hj®¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjª¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M[hj¦¶ubji)�”}”(hhh]”hë)�”}”(hŒ#length in bytes of the data to send”h]”hŒ#length in bytes of the data to send”…”�”}”(hjŶh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÁ¶h´M[hj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¦¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÁ¶h´M[hjøµubjI)�”}”(hŒ[``int *actual_length`` pointer to a location to put the actual length transferred in bytes ”h]”(jO)�”}”(hŒ``int *actual_length``”h]”jÑ)�”}”(hjå¶h]”hŒint *actual_length”…”�”}”(hjç¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjã¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M]hjß¶ubji)�”}”(hhh]”hë)�”}”(hŒCpointer to a location to put the actual length transferred in bytes”h]”hŒCpointer to a location to put the actual length transferred in bytes”…”�”}”(hjþ¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M\hjû¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjß¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jú¶h´M]hjøµubjI)�”}”(hŒT``int timeout`` time in msecs to wait for the message to complete before timing out ”h]”(jO)�”}”(hŒ``int timeout``”h]”jÑ)�”}”(hj·h]”hŒ int timeout”…”�”}”(hj!·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M^hj·ubji)�”}”(hhh]”hë)�”}”(hŒCtime in msecs to wait for the message to complete before timing out”h]”hŒCtime in msecs to wait for the message to complete before timing out”…”�”}”(hj8·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j4·h´M^hj5·ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j4·h´M^hjøµubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjܵubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjZ·h]”hŒContext”…”�”}”(hj\·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjX·ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M`hjܵubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hjp·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M`hjܵubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj�·h]”hŒ Description”…”�”}”(hjƒ·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj·ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mbhjܵubhë)�”}”(hŒtThis function sends a simple bulk message to a specified endpoint and waits for the message to complete, or timeout.”h]”hŒtThis function sends a simple bulk message to a specified endpoint and waits for the message to complete, or timeout.”…”�”}”(hj—·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mahjܵubhë)�”}”(hXdDon't use this function from within an interrupt context. If you need an asynchronous message, or need to send a message from within interrupt context, use usb_submit_urb() If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. Since you don't have a handle on the URB used, you can't cancel the request.”h]”hXjDon’t use this function from within an interrupt context. If you need an asynchronous message, or need to send a message from within interrupt context, use usb_submit_urb() If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. Since you don’t have a handle on the URB used, you can’t cancel the request.”…”�”}”(hj¦·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mdhjܵubhë)�”}”(hXBecause there is no usb_interrupt_msg() and no USBDEVFS_INTERRUPT ioctl, users are forced to abuse this routine by using it to submit URBs for interrupt endpoints. We will take the liberty of creating an interrupt URB (with the default interval) if the target is an interrupt endpoint.”h]”hXBecause there is no usb_interrupt_msg() and no USBDEVFS_INTERRUPT ioctl, users are forced to abuse this routine by using it to submit URBs for interrupt endpoints. We will take the liberty of creating an interrupt URB (with the default interval) if the target is an interrupt endpoint.”…”�”}”(hjµ·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mjhjܵubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÆ·h]”hŒReturn”…”�”}”(hjÈ·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÄ·ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mohjܵubhë)�”}”(hŒŽIf successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the **actual_length** parameter.”h]”(hŒrIf successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the ”…”�”}”(hjÜ·h²hh³Nh´Nubj.)�”}”(hŒ**actual_length**”h]”hŒ actual_length”…”�”}”(hjä·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÜ·ubhŒ parameter.”…”�”}”(hjÜ·h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mphjܵubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ+usb_core.usb_bulk_msg_killable (C function)”Œ c.usb_core.usb_bulk_msg_killable”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒint usb_bulk_msg_killable (struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”j+)�”}”(hŒ~int usb_bulk_msg_killable(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj¸h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M’ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj,¸h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¸h²hh³j+¸h´M’ubj„)�”}”(hŒusb_bulk_msg_killable”h]”jŠ)�”}”(hŒusb_bulk_msg_killable”h]”hŒusb_bulk_msg_killable”…”�”}”(hj>¸h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj:¸ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj¸h²hh³j+¸h´M’ubj¥)�”}”(hŒe(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout)”h]”(j«)�”}”(hŒstruct usb_device *usb_dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjZ¸h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjV¸ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjg¸h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjV¸ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjx¸h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hju¸ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jz¸Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj@¸sbŒ c.usb_core.usb_bulk_msg_killable”†”esbuh1hhjV¸ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj™¸h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjV¸ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj§¸h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjV¸ubjŠ)�”}”(hŒusb_dev”h]”hŒusb_dev”…”�”}”(hj´¸h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjV¸ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjR¸ubj«)�”}”(hŒunsigned int pipe”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj͸h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjɸubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÛ¸h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjɸubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hjé¸h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjɸubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj÷¸h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjɸubjŠ)�”}”(hŒpipe”h]”hŒpipe”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjɸubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjR¸ubj«)�”}”(hŒ void *data”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj¹ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj,¹h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¹ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj:¹h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¹ubjŠ)�”}”(hŒdata”h]”hŒdata”…”�”}”(hjG¹h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¹ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjR¸ubj«)�”}”(hŒint len”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj`¹h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj\¹ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjn¹h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj\¹ubjŠ)�”}”(hŒlen”h]”hŒlen”…”�”}”(hj|¹h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj\¹ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjR¸ubj«)�”}”(hŒint *actual_length”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj•¹h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj‘¹ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj£¹h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj‘¹ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj±¹h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj‘¹ubjŠ)�”}”(hŒ actual_length”h]”hŒ actual_length”…”�”}”(hj¾¹h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‘¹ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjR¸ubj«)�”}”(hŒ int timeout”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj×¹h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÓ¹ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjå¹h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÓ¹ubjŠ)�”}”(hŒtimeout”h]”hŒtimeout”…”�”}”(hjó¹h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÓ¹ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjR¸ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj¸h²hh³j+¸h´M’ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj¸h²hh³j+¸h´M’ubah}”(h]”j¸ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j+¸h´M’hj¸h²hubjü)�”}”(hhh]”hë)�”}”(hŒLBuilds a bulk urb, sends it off and waits for completion in a killable state”h]”hŒLBuilds a bulk urb, sends it off and waits for completion in a killable state”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M’hjºh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj¸h²hh³j+¸h´M’ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj5ºjj5ºj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX=**Parameters** ``struct usb_device *usb_dev`` pointer to the usb device to send the message to ``unsigned int pipe`` endpoint "pipe" to send the message to ``void *data`` pointer to the data to send ``int len`` length in bytes of the data to send ``int *actual_length`` pointer to a location to put the actual length transferred in bytes ``int timeout`` time in msecs to wait for the message to complete before timing out (if <= 0, the wait is as long as possible) **Context** task context, might sleep. **Description** This function is just like usb_blk_msg(), except that it waits in a killable state and there is no limit on the timeout length. **Return** If successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the **actual_length** parameter.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj?ºh]”hŒ Parameters”…”�”}”(hjAºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj=ºubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M–hj9ºubjD)�”}”(hhh]”(jI)�”}”(hŒP``struct usb_device *usb_dev`` pointer to the usb device to send the message to ”h]”(jO)�”}”(hŒ``struct usb_device *usb_dev``”h]”jÑ)�”}”(hj^ºh]”hŒstruct usb_device *usb_dev”…”�”}”(hj`ºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj\ºubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M“hjXºubji)�”}”(hhh]”hë)�”}”(hŒ0pointer to the usb device to send the message to”h]”hŒ0pointer to the usb device to send the message to”…”�”}”(hjwºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jsºh´M“hjtºubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjXºubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jsºh´M“hjUºubjI)�”}”(hŒ=``unsigned int pipe`` endpoint "pipe" to send the message to ”h]”(jO)�”}”(hŒ``unsigned int pipe``”h]”jÑ)�”}”(hj—ºh]”hŒunsigned int pipe”…”�”}”(hj™ºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj•ºubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M”hj‘ºubji)�”}”(hhh]”hë)�”}”(hŒ&endpoint "pipe" to send the message to”h]”hŒ*endpoint “pipeâ€� to send the message to”…”�”}”(hj°ºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¬ºh´M”hj­ºubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‘ºubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¬ºh´M”hjUºubjI)�”}”(hŒ+``void *data`` pointer to the data to send ”h]”(jO)�”}”(hŒ``void *data``”h]”jÑ)�”}”(hjкh]”hŒ void *data”…”�”}”(hjÒºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjκubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M•hjʺubji)�”}”(hhh]”hë)�”}”(hŒpointer to the data to send”h]”hŒpointer to the data to send”…”�”}”(hjéºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jåºh´M•hjæºubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjʺubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jåºh´M•hjUºubjI)�”}”(hŒ0``int len`` length in bytes of the data to send ”h]”(jO)�”}”(hŒ ``int len``”h]”jÑ)�”}”(hj »h]”hŒint len”…”�”}”(hj »h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M–hj»ubji)�”}”(hhh]”hë)�”}”(hŒ#length in bytes of the data to send”h]”hŒ#length in bytes of the data to send”…”�”}”(hj"»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j»h´M–hj»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj»ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j»h´M–hjUºubjI)�”}”(hŒ[``int *actual_length`` pointer to a location to put the actual length transferred in bytes ”h]”(jO)�”}”(hŒ``int *actual_length``”h]”jÑ)�”}”(hjB»h]”hŒint *actual_length”…”�”}”(hjD»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj@»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M˜hj<»ubji)�”}”(hhh]”hë)�”}”(hŒCpointer to a location to put the actual length transferred in bytes”h]”hŒCpointer to a location to put the actual length transferred in bytes”…”�”}”(hj[»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M—hjX»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj<»ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jW»h´M˜hjUºubjI)�”}”(hŒ``int timeout`` time in msecs to wait for the message to complete before timing out (if <= 0, the wait is as long as possible) ”h]”(jO)�”}”(hŒ``int timeout``”h]”jÑ)�”}”(hj|»h]”hŒ int timeout”…”�”}”(hj~»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjz»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mšhjv»ubji)�”}”(hhh]”hë)�”}”(hŒntime in msecs to wait for the message to complete before timing out (if <= 0, the wait is as long as possible)”h]”hŒntime in msecs to wait for the message to complete before timing out (if <= 0, the wait is as long as possible)”…”�”}”(hj•»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M™hj’»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjv»ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‘»h´MšhjUºubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj9ºubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj¸»h]”hŒContext”…”�”}”(hjº»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¶»ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mœhj9ºubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hjλh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mœhj9ºubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjß»h]”hŒ Description”…”�”}”(hjá»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÝ»ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mžhj9ºubhë)�”}”(hŒThis function is just like usb_blk_msg(), except that it waits in a killable state and there is no limit on the timeout length.”h]”hŒThis function is just like usb_blk_msg(), except that it waits in a killable state and there is no limit on the timeout length.”…”�”}”(hjõ»h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M�hj9ºubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj¼h]”hŒReturn”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M hj9ºubhë)�”}”(hŒŽIf successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the **actual_length** parameter.”h]”(hŒrIf successful, 0. Otherwise a negative error number. The number of actual bytes transferred will be stored in the ”…”�”}”(hj¼h²hh³Nh´Nubj.)�”}”(hŒ**actual_length**”h]”hŒ actual_length”…”�”}”(hj$¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¼ubhŒ parameter.”…”�”}”(hj¼h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M¡hj9ºubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ!usb_core.usb_sg_init (C function)”Œc.usb_core.usb_sg_init”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ¦int usb_sg_init (struct usb_sg_request *io, struct usb_device *dev, unsigned pipe, unsigned period, struct scatterlist *sg, int nents, size_t length, gfp_t mem_flags)”h]”j+)�”}”(hŒ¥int usb_sg_init(struct usb_sg_request *io, struct usb_device *dev, unsigned pipe, unsigned period, struct scatterlist *sg, int nents, size_t length, gfp_t mem_flags)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj]¼h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jSh•jY¼h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjl¼h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjY¼h²hh³jk¼h´Mubj„)�”}”(hŒ usb_sg_init”h]”jŠ)�”}”(hŒ usb_sg_init”h]”hŒ usb_sg_init”…”�”}”(hj~¼h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjz¼ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjY¼h²hh³jk¼h´Mubj¥)�”}”(hŒ–(struct usb_sg_request *io, struct usb_device *dev, unsigned pipe, unsigned period, struct scatterlist *sg, int nents, size_t length, gfp_t mem_flags)”h]”(j«)�”}”(hŒstruct usb_sg_request *io”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjš¼h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj–¼ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj§¼h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj–¼ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_sg_request”h]”hŒusb_sg_request”…”�”}”(hj¸¼h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjµ¼ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jº¼Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj€¼sbŒc.usb_core.usb_sg_init”†”esbuh1hhj–¼ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÙ¼h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj–¼ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjç¼h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj–¼ubjŠ)�”}”(hŒio”h]”hŒio”…”�”}”(hjô¼h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj–¼ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’¼ubj«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj ½h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj ½ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ½ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj+½h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj(½ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j-½Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÕ¼Œc.usb_core.usb_sg_init”†”esbuh1hhj ½ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjJ½h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ½ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjX½h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj ½ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hje½h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ½ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’¼ubj«)�”}”(hŒ unsigned pipe”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj~½h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjz½ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjŒ½h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjz½ubjŠ)�”}”(hŒpipe”h]”hŒpipe”…”�”}”(hjš½h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjz½ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’¼ubj«)�”}”(hŒunsigned period”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj³½h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj¯½ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÁ½h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¯½ubjŠ)�”}”(hŒperiod”h]”hŒperiod”…”�”}”(hjϽh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¯½ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’¼ubj«)�”}”(hŒstruct scatterlist *sg”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjè½h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjä½ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjõ½h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjä½ubh)�”}”(hhh]”jŠ)�”}”(hŒ scatterlist”h]”hŒ scatterlist”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¾ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¾Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÕ¼Œc.usb_core.usb_sg_init”†”esbuh1hhjä½ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj%¾h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjä½ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj3¾h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjä½ubjŠ)�”}”(hŒsg”h]”hŒsg”…”�”}”(hj@¾h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjä½ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’¼ubj«)�”}”(hŒ int nents”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjY¾h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjU¾ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjg¾h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjU¾ubjŠ)�”}”(hŒnents”h]”hŒnents”…”�”}”(hju¾h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjU¾ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’¼ubj«)�”}”(hŒ size_t length”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒsize_t”h]”hŒsize_t”…”�”}”(hj‘¾h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj޾ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j“¾Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÕ¼Œc.usb_core.usb_sg_init”†”esbuh1hhjоubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj°¾h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjоubjŠ)�”}”(hŒlength”h]”hŒlength”…”�”}”(hj¾¾h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjоubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’¼ubj«)�”}”(hŒgfp_t mem_flags”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒgfp_t”h]”hŒgfp_t”…”�”}”(hjÚ¾h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj×¾ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jܾŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÕ¼Œc.usb_core.usb_sg_init”†”esbuh1hhjÓ¾ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjù¾h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÓ¾ubjŠ)�”}”(hŒ mem_flags”h]”hŒ mem_flags”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÓ¾ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj’¼ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjY¼h²hh³jk¼h´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjU¼h²hh³jk¼h´Mubah}”(h]”jP¼ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jk¼h´MhjR¼h²hubjü)�”}”(hhh]”hë)�”}”(hŒ8initializes scatterlist-based bulk/interrupt I/O request”h]”hŒ8initializes scatterlist-based bulk/interrupt I/O request”…”�”}”(hj1¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj.¿h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjR¼h²hh³jk¼h´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjI¿jjI¿j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX×**Parameters** ``struct usb_sg_request *io`` request block being initialized. until usb_sg_wait() returns, treat this as a pointer to an opaque block of memory, ``struct usb_device *dev`` the usb device that will send or receive the data ``unsigned pipe`` endpoint "pipe" used to transfer the data ``unsigned period`` polling rate for interrupt endpoints, in frames or (for high speed endpoints) microframes; ignored for bulk ``struct scatterlist *sg`` scatterlist entries ``int nents`` how many entries in the scatterlist ``size_t length`` how many bytes to send from the scatterlist, or zero to send every byte identified in the list. ``gfp_t mem_flags`` SLAB_* flags affecting memory allocations in this call **Description** This initializes a scatter/gather request, allocating resources such as I/O mappings and urb memory (except maybe memory used by USB controller drivers). The request must be issued using usb_sg_wait(), which waits for the I/O to complete (or to be canceled) and then cleans up all resources allocated by usb_sg_init(). The request may be canceled with usb_sg_cancel(), either before or after usb_sg_wait() is called. **Return** Zero for success, else a negative errno value.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjS¿h]”hŒ Parameters”…”�”}”(hjU¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjQ¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjM¿ubjD)�”}”(hhh]”(jI)�”}”(hŒ“``struct usb_sg_request *io`` request block being initialized. until usb_sg_wait() returns, treat this as a pointer to an opaque block of memory, ”h]”(jO)�”}”(hŒ``struct usb_sg_request *io``”h]”jÑ)�”}”(hjr¿h]”hŒstruct usb_sg_request *io”…”�”}”(hjt¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjp¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhjl¿ubji)�”}”(hhh]”hë)�”}”(hŒtrequest block being initialized. until usb_sg_wait() returns, treat this as a pointer to an opaque block of memory,”h]”hŒtrequest block being initialized. until usb_sg_wait() returns, treat this as a pointer to an opaque block of memory,”…”�”}”(hj‹¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhjˆ¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjl¿ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‡¿h´Mhji¿ubjI)�”}”(hŒM``struct usb_device *dev`` the usb device that will send or receive the data ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj¬¿h]”hŒstruct usb_device *dev”…”�”}”(hj®¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjª¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj¦¿ubji)�”}”(hhh]”hë)�”}”(hŒ1the usb device that will send or receive the data”h]”hŒ1the usb device that will send or receive the data”…”�”}”(hjÅ¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÁ¿h´Mhj¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¦¿ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÁ¿h´Mhji¿ubjI)�”}”(hŒ<``unsigned pipe`` endpoint "pipe" used to transfer the data ”h]”(jO)�”}”(hŒ``unsigned pipe``”h]”jÑ)�”}”(hjå¿h]”hŒ unsigned pipe”…”�”}”(hjç¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjã¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhjß¿ubji)�”}”(hhh]”hë)�”}”(hŒ)endpoint "pipe" used to transfer the data”h]”hŒ-endpoint “pipeâ€� used to transfer the data”…”�”}”(hjþ¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jú¿h´Mhjû¿ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjß¿ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jú¿h´Mhji¿ubjI)�”}”(hŒ€``unsigned period`` polling rate for interrupt endpoints, in frames or (for high speed endpoints) microframes; ignored for bulk ”h]”(jO)�”}”(hŒ``unsigned period``”h]”jÑ)�”}”(hjÀh]”hŒunsigned period”…”�”}”(hj Àh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÀubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjÀubji)�”}”(hhh]”hë)�”}”(hŒkpolling rate for interrupt endpoints, in frames or (for high speed endpoints) microframes; ignored for bulk”h]”hŒkpolling rate for interrupt endpoints, in frames or (for high speed endpoints) microframes; ignored for bulk”…”�”}”(hj7Àh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj4Àubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÀubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j3Àh´Mhji¿ubjI)�”}”(hŒ/``struct scatterlist *sg`` scatterlist entries ”h]”(jO)�”}”(hŒ``struct scatterlist *sg``”h]”jÑ)�”}”(hjXÀh]”hŒstruct scatterlist *sg”…”�”}”(hjZÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjVÀubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjRÀubji)�”}”(hhh]”hë)�”}”(hŒscatterlist entries”h]”hŒscatterlist entries”…”�”}”(hjqÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jmÀh´MhjnÀubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjRÀubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jmÀh´Mhji¿ubjI)�”}”(hŒ2``int nents`` how many entries in the scatterlist ”h]”(jO)�”}”(hŒ ``int nents``”h]”jÑ)�”}”(hj‘Àh]”hŒ int nents”…”�”}”(hj“Àh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj�Àubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj‹Àubji)�”}”(hhh]”hë)�”}”(hŒ#how many entries in the scatterlist”h]”hŒ#how many entries in the scatterlist”…”�”}”(hjªÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¦Àh´Mhj§Àubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‹Àubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¦Àh´Mhji¿ubjI)�”}”(hŒr``size_t length`` how many bytes to send from the scatterlist, or zero to send every byte identified in the list. ”h]”(jO)�”}”(hŒ``size_t length``”h]”jÑ)�”}”(hjÊÀh]”hŒ size_t length”…”�”}”(hjÌÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÈÀubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M hjÄÀubji)�”}”(hhh]”hë)�”}”(hŒ_how many bytes to send from the scatterlist, or zero to send every byte identified in the list.”h]”hŒ_how many bytes to send from the scatterlist, or zero to send every byte identified in the list.”…”�”}”(hjãÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjàÀubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÄÀubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jßÀh´M hji¿ubjI)�”}”(hŒK``gfp_t mem_flags`` SLAB_* flags affecting memory allocations in this call ”h]”(jO)�”}”(hŒ``gfp_t mem_flags``”h]”jÑ)�”}”(hjÁh]”hŒgfp_t mem_flags”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÁubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M!hjþÀubji)�”}”(hhh]”hë)�”}”(hŒ6SLAB_* flags affecting memory allocations in this call”h]”hŒ6SLAB_* flags affecting memory allocations in this call”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÁh´M!hjÁubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjþÀubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÁh´M!hji¿ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjM¿ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj?Áh]”hŒ Description”…”�”}”(hjAÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj=Áubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M#hjM¿ubhë)�”}”(hŒ™This initializes a scatter/gather request, allocating resources such as I/O mappings and urb memory (except maybe memory used by USB controller drivers).”h]”hŒ™This initializes a scatter/gather request, allocating resources such as I/O mappings and urb memory (except maybe memory used by USB controller drivers).”…”�”}”(hjUÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M"hjM¿ubhë)�”}”(hŒ¤The request must be issued using usb_sg_wait(), which waits for the I/O to complete (or to be canceled) and then cleans up all resources allocated by usb_sg_init().”h]”hŒ¤The request must be issued using usb_sg_wait(), which waits for the I/O to complete (or to be canceled) and then cleans up all resources allocated by usb_sg_init().”…”�”}”(hjdÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M&hjM¿ubhë)�”}”(hŒaThe request may be canceled with usb_sg_cancel(), either before or after usb_sg_wait() is called.”h]”hŒaThe request may be canceled with usb_sg_cancel(), either before or after usb_sg_wait() is called.”…”�”}”(hjsÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M*hjM¿ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj„Áh]”hŒReturn”…”�”}”(hj†Áh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj‚Áubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M-hjM¿ubhë)�”}”(hŒ.Zero for success, else a negative errno value.”h]”hŒ.Zero for success, else a negative errno value.”…”�”}”(hjšÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M.hjM¿ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ!usb_core.usb_sg_wait (C function)”Œc.usb_core.usb_sg_wait”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ,void usb_sg_wait (struct usb_sg_request *io)”h]”j+)�”}”(hŒ+void usb_sg_wait(struct usb_sg_request *io)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÉÁh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÅÁh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M™ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjØÁh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÅÁh²hh³j×Áh´M™ubj„)�”}”(hŒ usb_sg_wait”h]”jŠ)�”}”(hŒ usb_sg_wait”h]”hŒ usb_sg_wait”…”�”}”(hjêÁh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjæÁubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÅÁh²hh³j×Áh´M™ubj¥)�”}”(hŒ(struct usb_sg_request *io)”h]”j«)�”}”(hŒstruct usb_sg_request *io”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÂubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÂubh)�”}”(hhh]”jŠ)�”}”(hŒusb_sg_request”h]”hŒusb_sg_request”…”�”}”(hj$Âh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj!Âubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j&ÂŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjìÁsbŒc.usb_core.usb_sg_wait”†”esbuh1hhjÂubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjEÂh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÂubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjSÂh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÂubjŠ)�”}”(hŒio”h]”hŒio”…”�”}”(hj`Âh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÂubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjþÁubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÅÁh²hh³j×Áh´M™ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÁÁh²hh³j×Áh´M™ubah}”(h]”j¼Áah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j×Áh´M™hj¾Áh²hubjü)�”}”(hhh]”hë)�”}”(hŒ,synchronously execute scatter/gather request”h]”hŒ,synchronously execute scatter/gather request”…”�”}”(hjŠÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M™hj‡Âh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj¾Áh²hh³j×Áh´M™ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¢Âjj¢Âj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX¨**Parameters** ``struct usb_sg_request *io`` request block handle, as initialized with usb_sg_init(). some fields become accessible when this call returns. **Context** task context, might sleep. **Description** This function blocks until the specified I/O operation completes. It leverages the grouping of the related I/O requests to get good transfer rates, by queueing the requests. At higher speeds, such queuing can significantly improve USB throughput. There are three kinds of completion for this function. (1) success, where io->status is zero. The number of io->bytes transferred is as requested. (2) error, where io->status is a negative errno value. The number of io->bytes transferred before the error is usually less than requested, and can be nonzero. (3) cancellation, a type of error with status -ECONNRESET that is initiated by usb_sg_cancel(). When this function returns, all memory allocated through usb_sg_init() or this call will have been freed. The request block parameter may still be passed to usb_sg_cancel(), or it may be freed. It could also be reinitialized and then reused. Data Transfer Rates: Bulk transfers are valid for full or high speed endpoints. The best full speed data rate is 19 packets of 64 bytes each per frame, or 1216 bytes per millisecond. The best high speed data rate is 13 packets of 512 bytes each per microframe, or 52 KBytes per millisecond. The reason to use interrupt transfers through this API would most likely be to reserve high speed bandwidth, where up to 24 KBytes per millisecond could be transferred. That capability is less useful for low or full speed interrupt endpoints, which allow at most one packet per millisecond, of at most 8 or 64 bytes (respectively). It is not necessary to call this function to reserve bandwidth for devices under an xHCI host controller, as the bandwidth is reserved when the configuration or interface alt setting is selected.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¬Âh]”hŒ Parameters”…”�”}”(hj®Âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjªÂubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M�hj¦ÂubjD)�”}”(hhh]”jI)�”}”(hŒ�``struct usb_sg_request *io`` request block handle, as initialized with usb_sg_init(). some fields become accessible when this call returns. ”h]”(jO)�”}”(hŒ``struct usb_sg_request *io``”h]”jÑ)�”}”(hjËÂh]”hŒstruct usb_sg_request *io”…”�”}”(hjÍÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÉÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M›hjÅÂubji)�”}”(hhh]”hë)�”}”(hŒnrequest block handle, as initialized with usb_sg_init(). some fields become accessible when this call returns.”h]”hŒnrequest block handle, as initialized with usb_sg_init(). some fields become accessible when this call returns.”…”�”}”(hjäÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MšhjáÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÅÂubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jàÂh´M›hjÂÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj¦Âubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjÃh]”hŒContext”…”�”}”(hj Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M�hj¦Âubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M�hj¦Âubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj.Ãh]”hŒ Description”…”�”}”(hj0Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj,Ãubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MŸhj¦Âubhë)�”}”(hŒøThis function blocks until the specified I/O operation completes. It leverages the grouping of the related I/O requests to get good transfer rates, by queueing the requests. At higher speeds, such queuing can significantly improve USB throughput.”h]”hŒøThis function blocks until the specified I/O operation completes. It leverages the grouping of the related I/O requests to get good transfer rates, by queueing the requests. At higher speeds, such queuing can significantly improve USB throughput.”…”�”}”(hjDÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mžhj¦Âubhë)�”}”(hŒ6There are three kinds of completion for this function.”h]”hŒ6There are three kinds of completion for this function.”…”�”}”(hjSÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M£hj¦Âubj¿„)�”}”(hhh]”(j»)�”}”(hŒXsuccess, where io->status is zero. The number of io->bytes transferred is as requested.”h]”hë)�”}”(hŒXsuccess, where io->status is zero. The number of io->bytes transferred is as requested.”h]”hŒXsuccess, where io->status is zero. The number of io->bytes transferred is as requested.”…”�”}”(hjiÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M¥hjeÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjbÃubj»)�”}”(hŒœerror, where io->status is a negative errno value. The number of io->bytes transferred before the error is usually less than requested, and can be nonzero.”h]”hë)�”}”(hŒœerror, where io->status is a negative errno value. The number of io->bytes transferred before the error is usually less than requested, and can be nonzero.”h]”hŒœerror, where io->status is a negative errno value. The number of io->bytes transferred before the error is usually less than requested, and can be nonzero.”…”�”}”(hj‚Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M§hj~Ãubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjbÃubj»)�”}”(hŒ\cancellation, a type of error with status -ECONNRESET that is initiated by usb_sg_cancel(). ”h]”hë)�”}”(hŒ[cancellation, a type of error with status -ECONNRESET that is initiated by usb_sg_cancel().”h]”hŒ[cancellation, a type of error with status -ECONNRESET that is initiated by usb_sg_cancel().”…”�”}”(hj›Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mªhj—Ãubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjbÃubeh}”(h]”h ]”h"]”h$]”h&]”j…j†j…j…j…j…uh1j¾„hj¦Âubhë)�”}”(hŒóWhen this function returns, all memory allocated through usb_sg_init() or this call will have been freed. The request block parameter may still be passed to usb_sg_cancel(), or it may be freed. It could also be reinitialized and then reused.”h]”hŒóWhen this function returns, all memory allocated through usb_sg_init() or this call will have been freed. The request block parameter may still be passed to usb_sg_cancel(), or it may be freed. It could also be reinitialized and then reused.”…”�”}”(hj¶Ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M­hj¦Âubhë)�”}”(hŒData Transfer Rates:”h]”hŒData Transfer Rates:”…”�”}”(hjÅÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M²hj¦Âubhë)�”}”(hX Bulk transfers are valid for full or high speed endpoints. The best full speed data rate is 19 packets of 64 bytes each per frame, or 1216 bytes per millisecond. The best high speed data rate is 13 packets of 512 bytes each per microframe, or 52 KBytes per millisecond.”h]”hX Bulk transfers are valid for full or high speed endpoints. The best full speed data rate is 19 packets of 64 bytes each per frame, or 1216 bytes per millisecond. The best high speed data rate is 13 packets of 512 bytes each per microframe, or 52 KBytes per millisecond.”…”�”}”(hjÔÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M´hj¦Âubhë)�”}”(hXLThe reason to use interrupt transfers through this API would most likely be to reserve high speed bandwidth, where up to 24 KBytes per millisecond could be transferred. That capability is less useful for low or full speed interrupt endpoints, which allow at most one packet per millisecond, of at most 8 or 64 bytes (respectively).”h]”hXLThe reason to use interrupt transfers through this API would most likely be to reserve high speed bandwidth, where up to 24 KBytes per millisecond could be transferred. That capability is less useful for low or full speed interrupt endpoints, which allow at most one packet per millisecond, of at most 8 or 64 bytes (respectively).”…”�”}”(hjãÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mºhj¦Âubhë)�”}”(hŒÃIt is not necessary to call this function to reserve bandwidth for devices under an xHCI host controller, as the bandwidth is reserved when the configuration or interface alt setting is selected.”h]”hŒÃIt is not necessary to call this function to reserve bandwidth for devices under an xHCI host controller, as the bandwidth is reserved when the configuration or interface alt setting is selected.”…”�”}”(hjòÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÀhj¦Âubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ#usb_core.usb_sg_cancel (C function)”Œc.usb_core.usb_sg_cancel”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ.void usb_sg_cancel (struct usb_sg_request *io)”h]”j+)�”}”(hŒ-void usb_sg_cancel(struct usb_sg_request *io)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj!Äh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÄh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj0Äh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÄh²hh³j/Äh´Mubj„)�”}”(hŒ usb_sg_cancel”h]”jŠ)�”}”(hŒ usb_sg_cancel”h]”hŒ usb_sg_cancel”…”�”}”(hjBÄh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj>Äubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÄh²hh³j/Äh´Mubj¥)�”}”(hŒ(struct usb_sg_request *io)”h]”j«)�”}”(hŒstruct usb_sg_request *io”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj^Äh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjZÄubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjkÄh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjZÄubh)�”}”(hhh]”jŠ)�”}”(hŒusb_sg_request”h]”hŒusb_sg_request”…”�”}”(hj|Äh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjyÄubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j~ÄŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjDÄsbŒc.usb_core.usb_sg_cancel”†”esbuh1hhjZÄubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�Äh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjZÄubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj«Äh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjZÄubjŠ)�”}”(hŒio”h]”hŒio”…”�”}”(hj¸Äh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjZÄubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjVÄubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÄh²hh³j/Äh´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÄh²hh³j/Äh´Mubah}”(h]”jÄah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j/Äh´MhjÄh²hubjü)�”}”(hhh]”hë)�”}”(hŒ/stop scatter/gather i/o issued by usb_sg_wait()”h]”hŒ/stop scatter/gather i/o issued by usb_sg_wait()”…”�”}”(hjâÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjßÄh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÄh²hh³j/Äh´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjúÄjjúÄj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX1**Parameters** ``struct usb_sg_request *io`` request block, initialized with usb_sg_init() **Description** This stops a request after it has been started by usb_sg_wait(). It can also prevents one initialized by usb_sg_init() from starting, so that call just frees resources allocated to the request.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÅh]”hŒ Parameters”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÅubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjþÄubjD)�”}”(hhh]”jI)�”}”(hŒL``struct usb_sg_request *io`` request block, initialized with usb_sg_init() ”h]”(jO)�”}”(hŒ``struct usb_sg_request *io``”h]”jÑ)�”}”(hj#Åh]”hŒstruct usb_sg_request *io”…”�”}”(hj%Åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj!Åubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjÅubji)�”}”(hhh]”hë)�”}”(hŒ-request block, initialized with usb_sg_init()”h]”hŒ-request block, initialized with usb_sg_init()”…”�”}”(hj<Åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j8Åh´Mhj9Åubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÅubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j8Åh´MhjÅubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjþÄubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj^Åh]”hŒ Description”…”�”}”(hj`Åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj\Åubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjþÄubhë)�”}”(hŒÁThis stops a request after it has been started by usb_sg_wait(). It can also prevents one initialized by usb_sg_init() from starting, so that call just frees resources allocated to the request.”h]”hŒÁThis stops a request after it has been started by usb_sg_wait(). It can also prevents one initialized by usb_sg_init() from starting, so that call just frees resources allocated to the request.”…”�”}”(hjtÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjþÄubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.usb_get_descriptor (C function)”Œc.usb_core.usb_get_descriptor”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒmint usb_get_descriptor (struct usb_device *dev, unsigned char type, unsigned char index, void *buf, int size)”h]”j+)�”}”(hŒlint usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char index, void *buf, int size)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj£Åh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjŸÅh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M1ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj²Åh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjŸÅh²hh³j±Åh´M1ubj„)�”}”(hŒusb_get_descriptor”h]”jŠ)�”}”(hŒusb_get_descriptor”h]”hŒusb_get_descriptor”…”�”}”(hjÄÅh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÀÅubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjŸÅh²hh³j±Åh´M1ubj¥)�”}”(hŒV(struct usb_device *dev, unsigned char type, unsigned char index, void *buf, int size)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjàÅh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÜÅubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjíÅh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÜÅubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjþÅh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjûÅubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÆŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÆÅsbŒc.usb_core.usb_get_descriptor”†”esbuh1hhjÜÅubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÜÅubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj-Æh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÜÅubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hj:Æh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÜÅubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjØÅubj«)�”}”(hŒunsigned char type”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjSÆh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjOÆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjaÆh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjOÆubjT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hjoÆh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjOÆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj}Æh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjOÆubjŠ)�”}”(hŒtype”h]”hŒtype”…”�”}”(hj‹Æh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjOÆubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjØÅubj«)�”}”(hŒunsigned char index”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj¤Æh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj ÆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj²Æh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ÆubjT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hjÀÆh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj ÆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÎÆh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ÆubjŠ)�”}”(hŒindex”h]”hŒindex”…”�”}”(hjÜÆh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj Æubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjØÅubj«)�”}”(hŒ void *buf”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjõÆh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjñÆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjñÆubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjñÆubjŠ)�”}”(hŒbuf”h]”hŒbuf”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjñÆubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjØÅubj«)�”}”(hŒint size”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj7Çh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj3ÇubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjEÇh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj3ÇubjŠ)�”}”(hŒsize”h]”hŒsize”…”�”}”(hjSÇh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj3Çubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjØÅubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjŸÅh²hh³j±Åh´M1ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj›Åh²hh³j±Åh´M1ubah}”(h]”j–Åah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j±Åh´M1hj˜Åh²hubjü)�”}”(hhh]”hë)�”}”(hŒ'issues a generic GET_DESCRIPTOR request”h]”hŒ'issues a generic GET_DESCRIPTOR request”…”�”}”(hj}Çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M1hjzÇh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj˜Åh²hh³j±Åh´M1ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj•Çjj•Çj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXœ**Parameters** ``struct usb_device *dev`` the device whose descriptor is being retrieved ``unsigned char type`` the descriptor type (USB_DT_*) ``unsigned char index`` the number of the descriptor ``void *buf`` where to put the descriptor ``int size`` how big is "buf"? **Context** task context, might sleep. **Description** Gets a USB descriptor. Convenience functions exist to simplify getting some types of descriptors. Use usb_get_string() or usb_string() for USB_DT_STRING. Device (USB_DT_DEVICE) and configuration descriptors (USB_DT_CONFIG) are part of the device structure. In addition to a number of USB-standard descriptors, some devices also use class-specific or vendor-specific descriptors. This call is synchronous, and may not be used in an interrupt context. **Return** The number of bytes received on success, or else the status code returned by the underlying usb_control_msg() call.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjŸÇh]”hŒ Parameters”…”�”}”(hj¡Çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj�Çubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M5hj™ÇubjD)�”}”(hhh]”(jI)�”}”(hŒJ``struct usb_device *dev`` the device whose descriptor is being retrieved ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj¾Çh]”hŒstruct usb_device *dev”…”�”}”(hjÀÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¼Çubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M2hj¸Çubji)�”}”(hhh]”hë)�”}”(hŒ.the device whose descriptor is being retrieved”h]”hŒ.the device whose descriptor is being retrieved”…”�”}”(hj×Çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÓÇh´M2hjÔÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¸Çubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÓÇh´M2hjµÇubjI)�”}”(hŒ6``unsigned char type`` the descriptor type (USB_DT_*) ”h]”(jO)�”}”(hŒ``unsigned char type``”h]”jÑ)�”}”(hj÷Çh]”hŒunsigned char type”…”�”}”(hjùÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjõÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M3hjñÇubji)�”}”(hhh]”hë)�”}”(hŒthe descriptor type (USB_DT_*)”h]”hŒthe descriptor type (USB_DT_*)”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j Èh´M3hj Èubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjñÇubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j Èh´M3hjµÇubjI)�”}”(hŒ5``unsigned char index`` the number of the descriptor ”h]”(jO)�”}”(hŒ``unsigned char index``”h]”jÑ)�”}”(hj0Èh]”hŒunsigned char index”…”�”}”(hj2Èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj.Èubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M4hj*Èubji)�”}”(hhh]”hë)�”}”(hŒthe number of the descriptor”h]”hŒthe number of the descriptor”…”�”}”(hjIÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jEÈh´M4hjFÈubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj*Èubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jEÈh´M4hjµÇubjI)�”}”(hŒ*``void *buf`` where to put the descriptor ”h]”(jO)�”}”(hŒ ``void *buf``”h]”jÑ)�”}”(hjiÈh]”hŒ void *buf”…”�”}”(hjkÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjgÈubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M5hjcÈubji)�”}”(hhh]”hë)�”}”(hŒwhere to put the descriptor”h]”hŒwhere to put the descriptor”…”�”}”(hj‚Èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j~Èh´M5hjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjcÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j~Èh´M5hjµÇubjI)�”}”(hŒ``int size`` how big is "buf"? ”h]”(jO)�”}”(hŒ ``int size``”h]”jÑ)�”}”(hj¢Èh]”hŒint size”…”�”}”(hj¤Èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj Èubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M6hjœÈubji)�”}”(hhh]”hë)�”}”(hŒhow big is "buf"?”h]”hŒhow big is “bufâ€�?”…”�”}”(hj»Èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j·Èh´M6hj¸Èubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjœÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j·Èh´M6hjµÇubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj™Çubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjÝÈh]”hŒContext”…”�”}”(hjßÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÛÈubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M8hj™Çubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hjóÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M8hj™Çubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÉh]”hŒ Description”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M:hj™Çubhë)�”}”(hX|Gets a USB descriptor. Convenience functions exist to simplify getting some types of descriptors. Use usb_get_string() or usb_string() for USB_DT_STRING. Device (USB_DT_DEVICE) and configuration descriptors (USB_DT_CONFIG) are part of the device structure. In addition to a number of USB-standard descriptors, some devices also use class-specific or vendor-specific descriptors.”h]”hX|Gets a USB descriptor. Convenience functions exist to simplify getting some types of descriptors. Use usb_get_string() or usb_string() for USB_DT_STRING. Device (USB_DT_DEVICE) and configuration descriptors (USB_DT_CONFIG) are part of the device structure. In addition to a number of USB-standard descriptors, some devices also use class-specific or vendor-specific descriptors.”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M9hj™Çubhë)�”}”(hŒFThis call is synchronous, and may not be used in an interrupt context.”h]”hŒFThis call is synchronous, and may not be used in an interrupt context.”…”�”}”(hj)Éh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MAhj™Çubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj:Éh]”hŒReturn”…”�”}”(hj<Éh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj8Éubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MChj™Çubhë)�”}”(hŒsThe number of bytes received on success, or else the status code returned by the underlying usb_control_msg() call.”h]”hŒsThe number of bytes received on success, or else the status code returned by the underlying usb_control_msg() call.”…”�”}”(hjPÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MDhj™Çubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ usb_core.usb_string (C function)”Œc.usb_core.usb_string”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒJint usb_string (struct usb_device *dev, int index, char *buf, size_t size)”h]”j+)�”}”(hŒIint usb_string(struct usb_device *dev, int index, char *buf, size_t size)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj{Éh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MñubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjŽÉh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj{Éh²hh³j�Éh´Mñubj„)�”}”(hŒ usb_string”h]”jŠ)�”}”(hŒ usb_string”h]”hŒ usb_string”…”�”}”(hj Éh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjœÉubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj{Éh²hh³j�Éh´Mñubj¥)�”}”(hŒ;(struct usb_device *dev, int index, char *buf, size_t size)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj¼Éh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj¸ÉubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÉÉh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¸Éubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjÚÉh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj×Éubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÜÉŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj¢ÉsbŒc.usb_core.usb_string”†”esbuh1hhj¸ÉubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjûÉh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¸Éubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj Êh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¸ÉubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¸Éubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj´Éubj«)�”}”(hŒ int index”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj/Êh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj+ÊubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj=Êh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj+ÊubjŠ)�”}”(hŒindex”h]”hŒindex”…”�”}”(hjKÊh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj+Êubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj´Éubj«)�”}”(hŒ char *buf”h]”(jT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hjdÊh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj`ÊubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjrÊh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj`Êubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj€Êh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj`ÊubjŠ)�”}”(hŒbuf”h]”hŒbuf”…”�”}”(hj�Êh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj`Êubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj´Éubj«)�”}”(hŒ size_t size”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒsize_t”h]”hŒsize_t”…”�”}”(hj©Êh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¦Êubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j«ÊŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j÷ÉŒc.usb_core.usb_string”†”esbuh1hhj¢ÊubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÈÊh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¢ÊubjŠ)�”}”(hŒsize”h]”hŒsize”…”�”}”(hjÖÊh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¢Êubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj´Éubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj{Éh²hh³j�Éh´Mñubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjwÉh²hh³j�Éh´Mñubah}”(h]”jrÉah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j�Éh´MñhjtÉh²hubjü)�”}”(hhh]”hë)�”}”(hŒ,returns UTF-8 version of a string descriptor”h]”hŒ,returns UTF-8 version of a string descriptor”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MñhjýÊh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjtÉh²hh³j�Éh´Mñubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjËjjËj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX¹**Parameters** ``struct usb_device *dev`` the device whose string descriptor is being retrieved ``int index`` the number of the descriptor ``char *buf`` where to put the string ``size_t size`` how big is "buf"? **Context** task context, might sleep. **Description** This converts the UTF-16LE encoded strings returned by devices, from usb_get_string_descriptor(), to null-terminated UTF-8 encoded ones that are more usable in most kernel contexts. Note that this function chooses strings in the first language supported by the device. This call is synchronous, and may not be used in an interrupt context. **Return** length of the string (>= 0) or usb_control_msg status (< 0).”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj"Ëh]”hŒ Parameters”…”�”}”(hj$Ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj Ëubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MõhjËubjD)�”}”(hhh]”(jI)�”}”(hŒQ``struct usb_device *dev`` the device whose string descriptor is being retrieved ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hjAËh]”hŒstruct usb_device *dev”…”�”}”(hjCËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj?Ëubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mòhj;Ëubji)�”}”(hhh]”hë)�”}”(hŒ5the device whose string descriptor is being retrieved”h]”hŒ5the device whose string descriptor is being retrieved”…”�”}”(hjZËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jVËh´MòhjWËubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj;Ëubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jVËh´Mòhj8ËubjI)�”}”(hŒ+``int index`` the number of the descriptor ”h]”(jO)�”}”(hŒ ``int index``”h]”jÑ)�”}”(hjzËh]”hŒ int index”…”�”}”(hj|Ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjxËubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MóhjtËubji)�”}”(hhh]”hë)�”}”(hŒthe number of the descriptor”h]”hŒthe number of the descriptor”…”�”}”(hj“Ëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j�Ëh´Móhj�Ëubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjtËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j�Ëh´Móhj8ËubjI)�”}”(hŒ&``char *buf`` where to put the string ”h]”(jO)�”}”(hŒ ``char *buf``”h]”jÑ)�”}”(hj³Ëh]”hŒ char *buf”…”�”}”(hjµËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj±Ëubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Môhj­Ëubji)�”}”(hhh]”hë)�”}”(hŒwhere to put the string”h]”hŒwhere to put the string”…”�”}”(hjÌËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÈËh´MôhjÉËubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj­Ëubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÈËh´Môhj8ËubjI)�”}”(hŒ"``size_t size`` how big is "buf"? ”h]”(jO)�”}”(hŒ``size_t size``”h]”jÑ)�”}”(hjìËh]”hŒ size_t size”…”�”}”(hjîËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjêËubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MõhjæËubji)�”}”(hhh]”hë)�”}”(hŒhow big is "buf"?”h]”hŒhow big is “bufâ€�?”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÌh´MõhjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjæËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÌh´Mõhj8Ëubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjËubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj'Ìh]”hŒContext”…”�”}”(hj)Ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj%Ìubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M÷hjËubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hj=Ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M÷hjËubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjNÌh]”hŒ Description”…”�”}”(hjPÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjLÌubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MùhjËubhë)�”}”(hX This converts the UTF-16LE encoded strings returned by devices, from usb_get_string_descriptor(), to null-terminated UTF-8 encoded ones that are more usable in most kernel contexts. Note that this function chooses strings in the first language supported by the device.”h]”hX This converts the UTF-16LE encoded strings returned by devices, from usb_get_string_descriptor(), to null-terminated UTF-8 encoded ones that are more usable in most kernel contexts. Note that this function chooses strings in the first language supported by the device.”…”�”}”(hjdÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MøhjËubhë)�”}”(hŒFThis call is synchronous, and may not be used in an interrupt context.”h]”hŒFThis call is synchronous, and may not be used in an interrupt context.”…”�”}”(hjsÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MýhjËubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj„Ìh]”hŒReturn”…”�”}”(hj†Ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj‚Ìubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÿhjËubhë)�”}”(hŒ= 0) or usb_control_msg status (< 0).”h]”hŒ= 0) or usb_control_msg status (< 0).”…”�”}”(hjšÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjËubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ&usb_core.usb_cache_string (C function)”Œc.usb_core.usb_cache_string”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ``int recip`` USB_RECIP_*; for device, interface, or endpoint ”h]”(jO)�”}”(hŒ ``int recip``”h]”jÑ)�”}”(hjôÐh]”hŒ int recip”…”�”}”(hjöÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjòÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M‹hjîÐubji)�”}”(hhh]”hë)�”}”(hŒ/USB_RECIP_*; for device, interface, or endpoint”h]”hŒ/USB_RECIP_*; for device, interface, or endpoint”…”�”}”(hj Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j Ñh´M‹hj Ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjîÐubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j Ñh´M‹hj²ÐubjI)�”}”(hŒA``int type`` USB_STATUS_TYPE_*; for standard or PTM status types ”h]”(jO)�”}”(hŒ ``int type``”h]”jÑ)�”}”(hj-Ñh]”hŒint type”…”�”}”(hj/Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj+Ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MŒhj'Ñubji)�”}”(hhh]”hë)�”}”(hŒ3USB_STATUS_TYPE_*; for standard or PTM status types”h]”hŒ3USB_STATUS_TYPE_*; for standard or PTM status types”…”�”}”(hjFÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jBÑh´MŒhjCÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj'Ñubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jBÑh´MŒhj²ÐubjI)�”}”(hŒD``int target`` zero (for device), else interface or endpoint number ”h]”(jO)�”}”(hŒ``int target``”h]”jÑ)�”}”(hjfÑh]”hŒ int target”…”�”}”(hjhÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjdÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M�hj`Ñubji)�”}”(hhh]”hë)�”}”(hŒ4zero (for device), else interface or endpoint number”h]”hŒ4zero (for device), else interface or endpoint number”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j{Ñh´M�hj|Ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj`Ñubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j{Ñh´M�hj²ÐubjI)�”}”(hŒ3``void *data`` pointer to two bytes of bitmap data ”h]”(jO)�”}”(hŒ``void *data``”h]”jÑ)�”}”(hjŸÑh]”hŒ void *data”…”�”}”(hj¡Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj�Ñubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MŽhj™Ñubji)�”}”(hhh]”hë)�”}”(hŒ#pointer to two bytes of bitmap data”h]”hŒ#pointer to two bytes of bitmap data”…”�”}”(hj¸Ñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j´Ñh´MŽhjµÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj™Ñubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j´Ñh´MŽhj²Ðubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj–Ðubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjÚÑh]”hŒContext”…”�”}”(hjÜÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjØÑubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M�hj–Ðubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hjðÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M�hj–Ðubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÒh]”hŒ Description”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÿÑubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M’hj–Ðubhë)�”}”(hŒÙReturns device, interface, or endpoint status. Normally only of interest to see if the device is self powered, or has enabled the remote wakeup facility; or whether a bulk or interrupt endpoint is halted ("stalled").”h]”hŒÝReturns device, interface, or endpoint status. Normally only of interest to see if the device is self powered, or has enabled the remote wakeup facility; or whether a bulk or interrupt endpoint is halted (“stalledâ€�).”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M‘hj–Ðubhë)�”}”(hŒ¾Bits in these status bitmaps are set using the SET_FEATURE request, and cleared using the CLEAR_FEATURE request. The usb_clear_halt() function should be used to clear halt ("stall") status.”h]”hŒÂBits in these status bitmaps are set using the SET_FEATURE request, and cleared using the CLEAR_FEATURE request. The usb_clear_halt() function should be used to clear halt (“stallâ€�) status.”…”�”}”(hj&Òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M–hj–Ðubhë)�”}”(hŒFThis call is synchronous, and may not be used in an interrupt context.”h]”hŒFThis call is synchronous, and may not be used in an interrupt context.”…”�”}”(hj5Òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mšhj–Ðubhë)�”}”(hŒ�Returns 0 and the status value in ***data** (in host byte order) on success, or else the status code from the underlying usb_control_msg() call.”h]”(hŒ"Returns 0 and the status value in ”…”�”}”(hjDÒh²hh³Nh´Nubj.)�”}”(hŒ ***data**”h]”hŒ*data”…”�”}”(hjLÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjDÒubhŒe (in host byte order) on success, or else the status code from the underlying usb_control_msg() call.”…”�”}”(hjDÒh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mœhj–Ðubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ$usb_core.usb_clear_halt (C function)”Œc.usb_core.usb_clear_halt”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ5int usb_clear_halt (struct usb_device *dev, int pipe)”h]”j+)�”}”(hŒ4int usb_clear_halt(struct usb_device *dev, int pipe)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj…Òh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj�Òh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÚubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj”Òh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj�Òh²hh³j“Òh´MÚubj„)�”}”(hŒusb_clear_halt”h]”jŠ)�”}”(hŒusb_clear_halt”h]”hŒusb_clear_halt”…”�”}”(hj¦Òh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¢Òubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj�Òh²hh³j“Òh´MÚubj¥)�”}”(hŒ"(struct usb_device *dev, int pipe)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÂÒh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj¾ÒubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÏÒh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¾Òubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjàÒh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÝÒubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jâÒŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj¨ÒsbŒc.usb_core.usb_clear_halt”†”esbuh1hhj¾ÒubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¾Òubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¾ÒubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¾Òubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjºÒubj«)�”}”(hŒint pipe”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj5Óh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj1ÓubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjCÓh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj1ÓubjŠ)�”}”(hŒpipe”h]”hŒpipe”…”�”}”(hjQÓh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj1Óubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjºÒubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj�Òh²hh³j“Òh´MÚubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj}Òh²hh³j“Òh´MÚubah}”(h]”jxÒah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j“Òh´MÚhjzÒh²hubjü)�”}”(hhh]”hë)�”}”(hŒ3tells device to clear endpoint halt/stall condition”h]”hŒ3tells device to clear endpoint halt/stall condition”…”�”}”(hj{Óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÚhjxÓh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjzÒh²hh³j“Òh´MÚubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj“Ójj“Ój ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXR**Parameters** ``struct usb_device *dev`` device whose endpoint is halted ``int pipe`` endpoint "pipe" being cleared **Context** task context, might sleep. **Description** This is used to clear halt conditions for bulk and interrupt endpoints, as reported by URB completion status. Endpoints that are halted are sometimes referred to as being "stalled". Such endpoints are unable to transmit or receive data until the halt status is cleared. Any URBs queued for such an endpoint should normally be unlinked by the driver before clearing the halt condition, as described in sections 5.7.5 and 5.8.5 of the USB 2.0 spec. Note that control and isochronous endpoints don't halt, although control endpoints report "protocol stall" (for unsupported requests) using the same status code used to report a true stall. This call is synchronous, and may not be used in an interrupt context. If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. **Return** Zero on success, or else the status code returned by the underlying usb_control_msg() call.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj�Óh]”hŒ Parameters”…”�”}”(hjŸÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj›Óubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÞhj—ÓubjD)�”}”(hhh]”(jI)�”}”(hŒ;``struct usb_device *dev`` device whose endpoint is halted ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj¼Óh]”hŒstruct usb_device *dev”…”�”}”(hj¾Óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjºÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÛhj¶Óubji)�”}”(hhh]”hë)�”}”(hŒdevice whose endpoint is halted”h]”hŒdevice whose endpoint is halted”…”�”}”(hjÕÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÑÓh´MÛhjÒÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¶Óubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÑÓh´MÛhj³ÓubjI)�”}”(hŒ+``int pipe`` endpoint "pipe" being cleared ”h]”(jO)�”}”(hŒ ``int pipe``”h]”jÑ)�”}”(hjõÓh]”hŒint pipe”…”�”}”(hj÷Óh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjóÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÜhjïÓubji)�”}”(hhh]”hë)�”}”(hŒendpoint "pipe" being cleared”h]”hŒ!endpoint “pipeâ€� being cleared”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j Ôh´MÜhj Ôubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjïÓubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j Ôh´MÜhj³Óubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj—Óubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj0Ôh]”hŒContext”…”�”}”(hj2Ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj.Ôubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÞhj—Óubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hjFÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÞhj—Óubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjWÔh]”hŒ Description”…”�”}”(hjYÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjUÔubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Màhj—Óubhë)�”}”(hXÁThis is used to clear halt conditions for bulk and interrupt endpoints, as reported by URB completion status. Endpoints that are halted are sometimes referred to as being "stalled". Such endpoints are unable to transmit or receive data until the halt status is cleared. Any URBs queued for such an endpoint should normally be unlinked by the driver before clearing the halt condition, as described in sections 5.7.5 and 5.8.5 of the USB 2.0 spec.”h]”hXÅThis is used to clear halt conditions for bulk and interrupt endpoints, as reported by URB completion status. Endpoints that are halted are sometimes referred to as being “stalledâ€�. Such endpoints are unable to transmit or receive data until the halt status is cleared. Any URBs queued for such an endpoint should normally be unlinked by the driver before clearing the halt condition, as described in sections 5.7.5 and 5.8.5 of the USB 2.0 spec.”…”�”}”(hjmÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mßhj—Óubhë)�”}”(hŒ½Note that control and isochronous endpoints don't halt, although control endpoints report "protocol stall" (for unsupported requests) using the same status code used to report a true stall.”h]”hŒÃNote that control and isochronous endpoints don’t halt, although control endpoints report “protocol stallâ€� (for unsupported requests) using the same status code used to report a true stall.”…”�”}”(hj|Ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mçhj—Óubhë)�”}”(hŒ±This call is synchronous, and may not be used in an interrupt context. If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete.”h]”hŒ±This call is synchronous, and may not be used in an interrupt context. If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete.”…”�”}”(hj‹Ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mëhj—Óubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjœÔh]”hŒReturn”…”�”}”(hjžÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjšÔubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mïhj—Óubhë)�”}”(hŒ[Zero on success, or else the status code returned by the underlying usb_control_msg() call.”h]”hŒ[Zero on success, or else the status code returned by the underlying usb_control_msg() call.”…”�”}”(hj²Ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mðhj—Óubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.usb_reset_endpoint (C function)”Œc.usb_core.usb_reset_endpoint”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒEvoid usb_reset_endpoint (struct usb_device *dev, unsigned int epaddr)”h]”j+)�”}”(hŒDvoid usb_reset_endpoint(struct usb_device *dev, unsigned int epaddr)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjáÔh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÝÔh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjðÔh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÝÔh²hh³jïÔh´M_ubj„)�”}”(hŒusb_reset_endpoint”h]”jŠ)�”}”(hŒusb_reset_endpoint”h]”hŒusb_reset_endpoint”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjþÔubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÝÔh²hh³jïÔh´M_ubj¥)�”}”(hŒ-(struct usb_device *dev, unsigned int epaddr)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÕubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj+Õh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÕubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj<Õh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj9Õubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j>ÕŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÕsbŒc.usb_core.usb_reset_endpoint”†”esbuh1hhjÕubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj]Õh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÕubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjkÕh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÕubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjxÕh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÕubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÕubj«)�”}”(hŒunsigned int epaddr”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj‘Õh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj�ÕubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjŸÕh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj�ÕubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hj­Õh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj�ÕubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj»Õh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj�ÕubjŠ)�”}”(hŒepaddr”h]”hŒepaddr”…”�”}”(hjÉÕh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj�Õubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÕubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÝÔh²hh³jïÔh´M_ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÙÔh²hh³jïÔh´M_ubah}”(h]”jÔÔah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jïÔh´M_hjÖÔh²hubjü)�”}”(hhh]”hë)�”}”(hŒReset an endpoint's state.”h]”hŒReset an endpoint’s state.”…”�”}”(hjóÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M_hjðÕh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÖÔh²hh³jïÔh´M_ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj Öjj Öj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX?**Parameters** ``struct usb_device *dev`` the device whose endpoint is to be reset ``unsigned int epaddr`` the endpoint's address. Endpoint number for output, endpoint number + USB_DIR_IN for input **Description** Resets any host-side endpoint state such as the toggle bit, sequence number or current window.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÖh]”hŒ Parameters”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÖubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MchjÖubjD)�”}”(hhh]”(jI)�”}”(hŒD``struct usb_device *dev`` the device whose endpoint is to be reset ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj4Öh]”hŒstruct usb_device *dev”…”�”}”(hj6Öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj2Öubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M`hj.Öubji)�”}”(hhh]”hë)�”}”(hŒ(the device whose endpoint is to be reset”h]”hŒ(the device whose endpoint is to be reset”…”�”}”(hjMÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jIÖh´M`hjJÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj.Öubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jIÖh´M`hj+ÖubjI)�”}”(hŒt``unsigned int epaddr`` the endpoint's address. Endpoint number for output, endpoint number + USB_DIR_IN for input ”h]”(jO)�”}”(hŒ``unsigned int epaddr``”h]”jÑ)�”}”(hjmÖh]”hŒunsigned int epaddr”…”�”}”(hjoÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjkÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MbhjgÖubji)�”}”(hhh]”hë)�”}”(hŒ[the endpoint's address. Endpoint number for output, endpoint number + USB_DIR_IN for input”h]”hŒ]the endpoint’s address. Endpoint number for output, endpoint number + USB_DIR_IN for input”…”�”}”(hj†Öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MahjƒÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjgÖubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‚Öh´Mbhj+Öubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÖubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj©Öh]”hŒ Description”…”�”}”(hj«Öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj§Öubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MdhjÖubhë)�”}”(hŒ^Resets any host-side endpoint state such as the toggle bit, sequence number or current window.”h]”hŒ^Resets any host-side endpoint state such as the toggle bit, sequence number or current window.”…”�”}”(hj¿Öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MchjÖubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_core.usb_set_interface (C function)”Œc.usb_core.usb_set_interface”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒLint usb_set_interface (struct usb_device *dev, int interface, int alternate)”h]”j+)�”}”(hŒKint usb_set_interface(struct usb_device *dev, int interface, int alternate)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjîÖh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjêÖh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjýÖh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjêÖh²hh³jüÖh´Mubj„)�”}”(hŒusb_set_interface”h]”jŠ)�”}”(hŒusb_set_interface”h]”hŒusb_set_interface”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ×ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjêÖh²hh³jüÖh´Mubj¥)�”}”(hŒ6(struct usb_device *dev, int interface, int alternate)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj+×h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj'×ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj8×h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj'×ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjI×h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjF×ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jK׌modname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj×sbŒc.usb_core.usb_set_interface”†”esbuh1hhj'×ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjj×h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj'×ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjx×h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj'×ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hj…×h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj'×ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj#×ubj«)�”}”(hŒ int interface”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjž×h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjš×ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¬×h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjš×ubjŠ)�”}”(hŒ interface”h]”hŒ interface”…”�”}”(hjº×h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjš×ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj#×ubj«)�”}”(hŒ int alternate”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÓ×h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÏ×ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjá×h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÏ×ubjŠ)�”}”(hŒ alternate”h]”hŒ alternate”…”�”}”(hjï×h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÏ×ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj#×ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjêÖh²hh³jüÖh´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjæÖh²hh³jüÖh´Mubah}”(h]”jáÖah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jüÖh´MhjãÖh²hubjü)�”}”(hhh]”hë)�”}”(hŒ/Makes a particular alternate setting be current”h]”hŒ/Makes a particular alternate setting be current”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjØh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjãÖh²hh³jüÖh´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj1Øjj1Øj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXk**Parameters** ``struct usb_device *dev`` the device whose interface is being updated ``int interface`` the interface being updated ``int alternate`` the setting being chosen. **Context** task context, might sleep. **Description** This is used to enable data transfers on interfaces that may not be enabled by default. Not all devices support such configurability. Only the driver bound to an interface may change its setting. Within any given configuration, each interface may have several alternative settings. These are often used to control levels of bandwidth consumption. For example, the default setting for a high speed interrupt endpoint may not send more than 64 bytes per microframe, while interrupt transfers of up to 3KBytes per microframe are legal. Also, isochronous endpoints may never be part of an interface's default setting. To access such bandwidth, alternate interface settings must be made current. Note that in the Linux USB subsystem, bandwidth associated with an endpoint in a given alternate setting is not reserved until an URB is submitted that needs that bandwidth. Some other operating systems allocate bandwidth early, when a configuration is chosen. xHCI reserves bandwidth and configures the alternate setting in usb_hcd_alloc_bandwidth(). If it fails the original interface altsetting may be disabled. Drivers cannot rely on any particular alternate setting being in effect after a failure. This call is synchronous, and may not be used in an interrupt context. Also, drivers must not change altsettings while urbs are scheduled for endpoints in that interface; all such urbs must first be completed (perhaps forced by unlinking). If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete. **Return** Zero on success, or else the status code returned by the underlying usb_control_msg() call.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj;Øh]”hŒ Parameters”…”�”}”(hj=Øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj9Øubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj5ØubjD)�”}”(hhh]”(jI)�”}”(hŒG``struct usb_device *dev`` the device whose interface is being updated ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hjZØh]”hŒstruct usb_device *dev”…”�”}”(hj\Øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjXØubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjTØubji)�”}”(hhh]”hë)�”}”(hŒ+the device whose interface is being updated”h]”hŒ+the device whose interface is being updated”…”�”}”(hjsØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³joØh´MhjpØubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjTØubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³joØh´MhjQØubjI)�”}”(hŒ.``int interface`` the interface being updated ”h]”(jO)�”}”(hŒ``int interface``”h]”jÑ)�”}”(hj“Øh]”hŒ int interface”…”�”}”(hj•Øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‘Øubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj�Øubji)�”}”(hhh]”hë)�”}”(hŒthe interface being updated”h]”hŒthe interface being updated”…”�”}”(hj¬Øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¨Øh´Mhj©Øubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�Øubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¨Øh´MhjQØubjI)�”}”(hŒ,``int alternate`` the setting being chosen. ”h]”(jO)�”}”(hŒ``int alternate``”h]”jÑ)�”}”(hjÌØh]”hŒ int alternate”…”�”}”(hjÎØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÊØubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MhjÆØubji)�”}”(hhh]”hë)�”}”(hŒthe setting being chosen.”h]”hŒthe setting being chosen.”…”�”}”(hjåØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jáØh´MhjâØubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÆØubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jáØh´MhjQØubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj5Øubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjÙh]”hŒContext”…”�”}”(hj Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj5Øubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj5Øubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj.Ùh]”hŒ Description”…”�”}”(hj0Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj,Ùubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj5Øubhë)�”}”(hŒÄThis is used to enable data transfers on interfaces that may not be enabled by default. Not all devices support such configurability. Only the driver bound to an interface may change its setting.”h]”hŒÄThis is used to enable data transfers on interfaces that may not be enabled by default. Not all devices support such configurability. Only the driver bound to an interface may change its setting.”…”�”}”(hjDÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj5Øubhë)�”}”(hXñWithin any given configuration, each interface may have several alternative settings. These are often used to control levels of bandwidth consumption. For example, the default setting for a high speed interrupt endpoint may not send more than 64 bytes per microframe, while interrupt transfers of up to 3KBytes per microframe are legal. Also, isochronous endpoints may never be part of an interface's default setting. To access such bandwidth, alternate interface settings must be made current.”h]”hXóWithin any given configuration, each interface may have several alternative settings. These are often used to control levels of bandwidth consumption. For example, the default setting for a high speed interrupt endpoint may not send more than 64 bytes per microframe, while interrupt transfers of up to 3KBytes per microframe are legal. Also, isochronous endpoints may never be part of an interface’s default setting. To access such bandwidth, alternate interface settings must be made current.”…”�”}”(hjSÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´Mhj5Øubhë)�”}”(hXNote that in the Linux USB subsystem, bandwidth associated with an endpoint in a given alternate setting is not reserved until an URB is submitted that needs that bandwidth. Some other operating systems allocate bandwidth early, when a configuration is chosen.”h]”hXNote that in the Linux USB subsystem, bandwidth associated with an endpoint in a given alternate setting is not reserved until an URB is submitted that needs that bandwidth. Some other operating systems allocate bandwidth early, when a configuration is chosen.”…”�”}”(hjbÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M%hj5Øubhë)�”}”(hŒòxHCI reserves bandwidth and configures the alternate setting in usb_hcd_alloc_bandwidth(). If it fails the original interface altsetting may be disabled. Drivers cannot rely on any particular alternate setting being in effect after a failure.”h]”hŒòxHCI reserves bandwidth and configures the alternate setting in usb_hcd_alloc_bandwidth(). If it fails the original interface altsetting may be disabled. Drivers cannot rely on any particular alternate setting being in effect after a failure.”…”�”}”(hjqÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M*hj5Øubhë)�”}”(hXZThis call is synchronous, and may not be used in an interrupt context. Also, drivers must not change altsettings while urbs are scheduled for endpoints in that interface; all such urbs must first be completed (perhaps forced by unlinking). If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete.”h]”hXZThis call is synchronous, and may not be used in an interrupt context. Also, drivers must not change altsettings while urbs are scheduled for endpoints in that interface; all such urbs must first be completed (perhaps forced by unlinking). If a thread in your driver uses this call, make sure your disconnect() method can wait for it to complete.”…”�”}”(hj€Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M/hj5Øubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj‘Ùh]”hŒReturn”…”�”}”(hj“Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj�Ùubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M5hj5Øubhë)�”}”(hŒ[Zero on success, or else the status code returned by the underlying usb_control_msg() call.”h]”hŒ[Zero on success, or else the status code returned by the underlying usb_control_msg() call.”…”�”}”(hj§Ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M6hj5Øubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_core.usb_reset_configuration (C function)”Œ"c.usb_core.usb_reset_configuration”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ4int usb_reset_configuration (struct usb_device *dev)”h]”j+)�”}”(hŒ3int usb_reset_configuration(struct usb_device *dev)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÖÙh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÒÙh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjåÙh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÒÙh²hh³jäÙh´MÆubj„)�”}”(hŒusb_reset_configuration”h]”jŠ)�”}”(hŒusb_reset_configuration”h]”hŒusb_reset_configuration”…”�”}”(hj÷Ùh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjóÙubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÒÙh²hh³jäÙh´MÆubj¥)�”}”(hŒ(struct usb_device *dev)”h]”j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÚubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj Úh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÚubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj1Úh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj.Úubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j3ÚŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjùÙsbŒ"c.usb_core.usb_reset_configuration”†”esbuh1hhjÚubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjRÚh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÚubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj`Úh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÚubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjmÚh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÚubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj Úubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÒÙh²hh³jäÙh´MÆubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÎÙh²hh³jäÙh´MÆubah}”(h]”jÉÙah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jäÙh´MÆhjËÙh²hubjü)�”}”(hhh]”hë)�”}”(hŒlightweight device reset”h]”hŒlightweight device reset”…”�”}”(hj—Úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÆhj”Úh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjËÙh²hh³jäÙh´MÆubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¯Újj¯Új ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXz**Parameters** ``struct usb_device *dev`` the device whose configuration is being reset **Description** This issues a standard SET_CONFIGURATION request to the device using the current configuration. The effect is to reset most USB-related state in the device, including interface altsettings (reset to zero), endpoint halts (cleared), and endpoint state (only for bulk and interrupt endpoints). Other usbcore state is unchanged, including bindings of usb device drivers to interfaces. Because this affects multiple interfaces, avoid using this with composite (multi-interface) devices. Instead, the driver for each interface may use usb_set_interface() on the interfaces it claims. Be careful though; some devices don't support the SET_INTERFACE request, and others won't reset all the interface state (notably endpoint state). Resetting the whole configuration would affect other drivers' interfaces. The caller must own the device lock. If this routine fails the device will probably be in an unusable state with endpoints disabled, and interfaces only partially enabled. **Return** Zero on success, else a negative error code.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¹Úh]”hŒ Parameters”…”�”}”(hj»Úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj·Úubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÊhj³ÚubjD)�”}”(hhh]”jI)�”}”(hŒI``struct usb_device *dev`` the device whose configuration is being reset ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hjØÚh]”hŒstruct usb_device *dev”…”�”}”(hjÚÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÖÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÇhjÒÚubji)�”}”(hhh]”hë)�”}”(hŒ-the device whose configuration is being reset”h]”hŒ-the device whose configuration is being reset”…”�”}”(hjñÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jíÚh´MÇhjîÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÒÚubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jíÚh´MÇhjÏÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj³Úubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÛh]”hŒ Description”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÛubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÉhj³Úubhë)�”}”(hXThis issues a standard SET_CONFIGURATION request to the device using the current configuration. The effect is to reset most USB-related state in the device, including interface altsettings (reset to zero), endpoint halts (cleared), and endpoint state (only for bulk and interrupt endpoints). Other usbcore state is unchanged, including bindings of usb device drivers to interfaces.”h]”hXThis issues a standard SET_CONFIGURATION request to the device using the current configuration. The effect is to reset most USB-related state in the device, including interface altsettings (reset to zero), endpoint halts (cleared), and endpoint state (only for bulk and interrupt endpoints). Other usbcore state is unchanged, including bindings of usb device drivers to interfaces.”…”�”}”(hj)Ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÈhj³Úubhë)�”}”(hX£Because this affects multiple interfaces, avoid using this with composite (multi-interface) devices. Instead, the driver for each interface may use usb_set_interface() on the interfaces it claims. Be careful though; some devices don't support the SET_INTERFACE request, and others won't reset all the interface state (notably endpoint state). Resetting the whole configuration would affect other drivers' interfaces.”h]”hX©Because this affects multiple interfaces, avoid using this with composite (multi-interface) devices. Instead, the driver for each interface may use usb_set_interface() on the interfaces it claims. Be careful though; some devices don’t support the SET_INTERFACE request, and others won’t reset all the interface state (notably endpoint state). Resetting the whole configuration would affect other drivers’ interfaces.”…”�”}”(hj8Ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÏhj³Úubhë)�”}”(hŒ$The caller must own the device lock.”h]”hŒ$The caller must own the device lock.”…”�”}”(hjGÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÖhj³Úubhë)�”}”(hŒ†If this routine fails the device will probably be in an unusable state with endpoints disabled, and interfaces only partially enabled.”h]”hŒ†If this routine fails the device will probably be in an unusable state with endpoints disabled, and interfaces only partially enabled.”…”�”}”(hjVÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÙhj³Úubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjgÛh]”hŒReturn”…”�”}”(hjiÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjeÛubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÜhj³Úubhë)�”}”(hŒ,Zero on success, else a negative error code.”h]”hŒ,Zero on success, else a negative error code.”…”�”}”(hj}Ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÙhj³Úubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_core.usb_set_wireless_status (C function)”Œ"c.usb_core.usb_set_wireless_status”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒZint usb_set_wireless_status (struct usb_interface *iface, enum usb_wireless_status status)”h]”j+)�”}”(hŒYint usb_set_wireless_status(struct usb_interface *iface, enum usb_wireless_status status)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj¬Ûh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj¨Ûh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÉubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj»Ûh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¨Ûh²hh³jºÛh´MÉubj„)�”}”(hŒusb_set_wireless_status”h]”jŠ)�”}”(hŒusb_set_wireless_status”h]”hŒusb_set_wireless_status”…”�”}”(hjÍÛh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÉÛubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj¨Ûh²hh³jºÛh´MÉubj¥)�”}”(hŒ>(struct usb_interface *iface, enum usb_wireless_status status)”h]”(j«)�”}”(hŒstruct usb_interface *iface”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjéÛh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjåÛubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjöÛh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåÛubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÜubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j ÜŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÏÛsbŒ"c.usb_core.usb_set_wireless_status”†”esbuh1hhjåÛubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj(Üh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåÛubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj6Üh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjåÛubjŠ)�”}”(hŒiface”h]”hŒiface”…”�”}”(hjCÜh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjåÛubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjáÛubj«)�”}”(hŒenum usb_wireless_status status”h]”(j1)�”}”(hjh]”hŒenum”…”�”}”(hj\Üh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjXÜubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjiÜh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjXÜubh)�”}”(hhh]”jŠ)�”}”(hŒusb_wireless_status”h]”hŒusb_wireless_status”…”�”}”(hjzÜh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjwÜubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j|ÜŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j$ÜŒ"c.usb_core.usb_set_wireless_status”†”esbuh1hhjXÜubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj™Üh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjXÜubjŠ)�”}”(hŒstatus”h]”hŒstatus”…”�”}”(hj§Üh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjXÜubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjáÛubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj¨Ûh²hh³jºÛh´MÉubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj¤Ûh²hh³jºÛh´MÉubah}”(h]”jŸÛah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jºÛh´MÉhj¡Ûh²hubjü)�”}”(hhh]”hë)�”}”(hŒ&sets the wireless_status struct member”h]”hŒ&sets the wireless_status struct member”…”�”}”(hjÑÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÉhjÎÜh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj¡Ûh²hh³jºÛh´MÉubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjéÜjjéÜj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX,**Parameters** ``struct usb_interface *iface`` the interface to modify ``enum usb_wireless_status status`` the new wireless status **Description** Set the wireless_status struct member to the new value, and emit sysfs changes as necessary. **Return** 0 on success, -EALREADY if already set.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjóÜh]”hŒ Parameters”…”�”}”(hjõÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjñÜubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÍhjíÜubjD)�”}”(hhh]”(jI)�”}”(hŒ8``struct usb_interface *iface`` the interface to modify ”h]”(jO)�”}”(hŒ``struct usb_interface *iface``”h]”jÑ)�”}”(hjÝh]”hŒstruct usb_interface *iface”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÊhj Ýubji)�”}”(hhh]”hë)�”}”(hŒthe interface to modify”h]”hŒthe interface to modify”…”�”}”(hj+Ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j'Ýh´MÊhj(Ýubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj Ýubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j'Ýh´MÊhj ÝubjI)�”}”(hŒ<``enum usb_wireless_status status`` the new wireless status ”h]”(jO)�”}”(hŒ#``enum usb_wireless_status status``”h]”jÑ)�”}”(hjKÝh]”hŒenum usb_wireless_status status”…”�”}”(hjMÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjIÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MËhjEÝubji)�”}”(hhh]”hë)�”}”(hŒthe new wireless status”h]”hŒthe new wireless status”…”�”}”(hjdÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j`Ýh´MËhjaÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjEÝubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j`Ýh´MËhj Ýubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjíÜubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj†Ýh]”hŒ Description”…”�”}”(hjˆÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj„Ýubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÍhjíÜubhë)�”}”(hŒ\Set the wireless_status struct member to the new value, and emit sysfs changes as necessary.”h]”hŒ\Set the wireless_status struct member to the new value, and emit sysfs changes as necessary.”…”�”}”(hjœÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÌhjíÜubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj­Ýh]”hŒReturn”…”�”}”(hj¯Ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj«Ýubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÏhjíÜubhë)�”}”(hŒ'0 on success, -EALREADY if already set.”h]”hŒ'0 on success, -EALREADY if already set.”…”�”}”(hjÃÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MÐhjíÜubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ2usb_core.usb_driver_set_configuration (C function)”Œ'c.usb_core.usb_driver_set_configuration”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒFint usb_driver_set_configuration (struct usb_device *udev, int config)”h]”j+)�”}”(hŒEint usb_driver_set_configuration(struct usb_device *udev, int config)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjòÝh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjîÝh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjîÝh²hh³jÞh´M ubj„)�”}”(hŒusb_driver_set_configuration”h]”jŠ)�”}”(hŒusb_driver_set_configuration”h]”hŒusb_driver_set_configuration”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÞubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjîÝh²hh³jÞh´M ubj¥)�”}”(hŒ%(struct usb_device *udev, int config)”h]”(j«)�”}”(hŒstruct usb_device *udev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj/Þh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj+ÞubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj<Þh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj+Þubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjMÞh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjJÞubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jOÞŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÞsbŒ'c.usb_core.usb_driver_set_configuration”†”esbuh1hhj+ÞubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjnÞh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj+Þubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj|Þh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj+ÞubjŠ)�”}”(hŒudev”h]”hŒudev”…”�”}”(hj‰Þh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj+Þubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj'Þubj«)�”}”(hŒ int config”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj¢Þh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjžÞubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj°Þh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjžÞubjŠ)�”}”(hŒconfig”h]”hŒconfig”…”�”}”(hj¾Þh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjžÞubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj'Þubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjîÝh²hh³jÞh´M ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjêÝh²hh³jÞh´M ubah}”(h]”jåÝah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÞh´M hjçÝh²hubjü)�”}”(hhh]”hë)�”}”(hŒ9Provide a way for drivers to change device configurations”h]”hŒ9Provide a way for drivers to change device configurations”…”�”}”(hjèÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M hjåÞh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjçÝh²hh³jÞh´M ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjßjjßj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXO**Parameters** ``struct usb_device *udev`` the device whose configuration is being updated ``int config`` the configuration being chosen. **Context** In process context, must be able to sleep **Description** Device interface drivers are not allowed to change device configurations. This is because changing configurations will destroy the interface the driver is bound to and create new ones; it would be like a floppy-disk driver telling the computer to replace the floppy-disk drive with a tape drive! Still, in certain specialized circumstances the need may arise. This routine gets around the normal restrictions by using a work thread to submit the change-config request. **Return** 0 if the request was successfully queued, error code otherwise. The caller has no way to know whether the queued request will eventually succeed.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj ßh]”hŒ Parameters”…”�”}”(hj ßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjßubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M! hjßubjD)�”}”(hhh]”(jI)�”}”(hŒL``struct usb_device *udev`` the device whose configuration is being updated ”h]”(jO)�”}”(hŒ``struct usb_device *udev``”h]”jÑ)�”}”(hj)ßh]”hŒstruct usb_device *udev”…”�”}”(hj+ßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj'ßubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M hj#ßubji)�”}”(hhh]”hë)�”}”(hŒ/the device whose configuration is being updated”h]”hŒ/the device whose configuration is being updated”…”�”}”(hjBßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j>ßh´M hj?ßubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj#ßubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j>ßh´M hj ßubjI)�”}”(hŒ/``int config`` the configuration being chosen. ”h]”(jO)�”}”(hŒ``int config``”h]”jÑ)�”}”(hjbßh]”hŒ int config”…”�”}”(hjdßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj`ßubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M hj\ßubji)�”}”(hhh]”hë)�”}”(hŒthe configuration being chosen.”h]”hŒthe configuration being chosen.”…”�”}”(hj{ßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jwßh´M hjxßubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj\ßubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jwßh´M hj ßubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjßubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj�ßh]”hŒContext”…”�”}”(hjŸßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj›ßubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M! hjßubhë)�”}”(hŒ)In process context, must be able to sleep”h]”hŒ)In process context, must be able to sleep”…”�”}”(hj³ßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M hjßubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÄßh]”hŒ Description”…”�”}”(hjÆßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÂßubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M" hjßubhë)�”}”(hX'Device interface drivers are not allowed to change device configurations. This is because changing configurations will destroy the interface the driver is bound to and create new ones; it would be like a floppy-disk driver telling the computer to replace the floppy-disk drive with a tape drive!”h]”hX'Device interface drivers are not allowed to change device configurations. This is because changing configurations will destroy the interface the driver is bound to and create new ones; it would be like a floppy-disk driver telling the computer to replace the floppy-disk drive with a tape drive!”…”�”}”(hjÚßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M! hjßubhë)�”}”(hŒ­Still, in certain specialized circumstances the need may arise. This routine gets around the normal restrictions by using a work thread to submit the change-config request.”h]”hŒ­Still, in certain specialized circumstances the need may arise. This routine gets around the normal restrictions by using a work thread to submit the change-config request.”…”�”}”(hjéßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M' hjßubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjúßh]”hŒReturn”…”�”}”(hjüßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjøßubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M+ hjßubhë)�”}”(hŒ‘0 if the request was successfully queued, error code otherwise. The caller has no way to know whether the queued request will eventually succeed.”h]”hŒ‘0 if the request was successfully queued, error code otherwise. The caller has no way to know whether the queued request will eventually succeed.”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´M, hjßubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ*usb_core.cdc_parse_cdc_header (C function)”Œc.usb_core.cdc_parse_cdc_header”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒpint cdc_parse_cdc_header (struct usb_cdc_parsed_header *hdr, struct usb_interface *intf, u8 *buffer, int buflen)”h]”j+)�”}”(hŒoint cdc_parse_cdc_header(struct usb_cdc_parsed_header *hdr, struct usb_interface *intf, u8 *buffer, int buflen)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj?àh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj;àh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MF ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjNàh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj;àh²hh³jMàh´MF ubj„)�”}”(hŒcdc_parse_cdc_header”h]”jŠ)�”}”(hŒcdc_parse_cdc_header”h]”hŒcdc_parse_cdc_header”…”�”}”(hj`àh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj\àubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj;àh²hh³jMàh´MF ubj¥)�”}”(hŒW(struct usb_cdc_parsed_header *hdr, struct usb_interface *intf, u8 *buffer, int buflen)”h]”(j«)�”}”(hŒ!struct usb_cdc_parsed_header *hdr”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj|àh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjxàubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‰àh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjxàubh)�”}”(hhh]”jŠ)�”}”(hŒusb_cdc_parsed_header”h]”hŒusb_cdc_parsed_header”…”�”}”(hjšàh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”• h&]”uh1j‰hj—àubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jœàŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjbàsbŒc.usb_core.cdc_parse_cdc_header”†”esbuh1hhjxàubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj»àh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjxàubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÉàh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjxàubjŠ)�”}”(hŒhdr”h]”hŒhdr”…”�”}”(hjÖàh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjxàubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjtàubj«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjïàh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjëàubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjüàh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjëàubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hj áh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj áubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jáŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j·àŒc.usb_core.cdc_parse_cdc_header”†”esbuh1hhjëàubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj,áh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjëàubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj:áh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjëàubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hjGáh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjëàubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjtàubj«)�”}”(hŒ u8 *buffer”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒu8”h]”hŒu8”…”�”}”(hjcáh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj`áubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jeáŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j·àŒc.usb_core.cdc_parse_cdc_header”†”esbuh1hhj\áubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‚áh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj\áubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj�áh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj\áubjŠ)�”}”(hŒbuffer”h]”hŒbuffer”…”�”}”(hj�áh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj\áubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjtàubj«)�”}”(hŒ int buflen”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj¶áh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj²áubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÄáh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj²áubjŠ)�”}”(hŒbuflen”h]”hŒbuflen”…”�”}”(hjÒáh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj²áubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjtàubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj;àh²hh³jMàh´MF ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj7àh²hh³jMàh´MF ubah}”(h]”j2àah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jMàh´MF hj4àh²hubjü)�”}”(hhh]”hë)�”}”(hŒ.parse the extra headers present in CDC devices”h]”hŒ.parse the extra headers present in CDC devices”…”�”}”(hjüáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MF hjùáh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj4àh²hh³jMàh´MF ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjâjjâj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX2**Parameters** ``struct usb_cdc_parsed_header *hdr`` the place to put the results of the parsing ``struct usb_interface *intf`` the interface for which parsing is requested ``u8 *buffer`` pointer to the extra headers to be parsed ``int buflen`` length of the extra headers **Description** This evaluates the extra headers present in CDC devices which bind the interfaces for data and control and provide details about the capabilities of the device. **Return** number of descriptors parsed or -EINVAL if the header is contradictory beyond salvage”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjâh]”hŒ Parameters”…”�”}”(hj âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjâubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MJ hjâubjD)�”}”(hhh]”(jI)�”}”(hŒR``struct usb_cdc_parsed_header *hdr`` the place to put the results of the parsing ”h]”(jO)�”}”(hŒ%``struct usb_cdc_parsed_header *hdr``”h]”jÑ)�”}”(hj=âh]”hŒ!struct usb_cdc_parsed_header *hdr”…”�”}”(hj?âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj;âubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MG hj7âubji)�”}”(hhh]”hë)�”}”(hŒ+the place to put the results of the parsing”h]”hŒ+the place to put the results of the parsing”…”�”}”(hjVâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jRâh´MG hjSâubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj7âubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jRâh´MG hj4âubjI)�”}”(hŒL``struct usb_interface *intf`` the interface for which parsing is requested ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjvâh]”hŒstruct usb_interface *intf”…”�”}”(hjxâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjtâubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MH hjpâubji)�”}”(hhh]”hë)�”}”(hŒ,the interface for which parsing is requested”h]”hŒ,the interface for which parsing is requested”…”�”}”(hj�âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j‹âh´MH hjŒâubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjpâubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‹âh´MH hj4âubjI)�”}”(hŒ9``u8 *buffer`` pointer to the extra headers to be parsed ”h]”(jO)�”}”(hŒ``u8 *buffer``”h]”jÑ)�”}”(hj¯âh]”hŒ u8 *buffer”…”�”}”(hj±âh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj­âubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MI hj©âubji)�”}”(hhh]”hë)�”}”(hŒ)pointer to the extra headers to be parsed”h]”hŒ)pointer to the extra headers to be parsed”…”�”}”(hjÈâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÄâh´MI hjÅâubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj©âubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÄâh´MI hj4âubjI)�”}”(hŒ+``int buflen`` length of the extra headers ”h]”(jO)�”}”(hŒ``int buflen``”h]”jÑ)�”}”(hjèâh]”hŒ int buflen”…”�”}”(hjêâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjæâubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MJ hjââubji)�”}”(hhh]”hë)�”}”(hŒlength of the extra headers”h]”hŒlength of the extra headers”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jýâh´MJ hjþâubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjââubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jýâh´MJ hj4âubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjâubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj#ãh]”hŒ Description”…”�”}”(hj%ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj!ãubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´ML hjâubhë)�”}”(hŒ This evaluates the extra headers present in CDC devices which bind the interfaces for data and control and provide details about the capabilities of the device.”h]”hŒ This evaluates the extra headers present in CDC devices which bind the interfaces for data and control and provide details about the capabilities of the device.”…”�”}”(hj9ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MK hjâubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjJãh]”hŒReturn”…”�”}”(hjLãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjHãubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MO hjâubhë)�”}”(hŒUnumber of descriptors parsed or -EINVAL if the header is contradictory beyond salvage”h]”hŒUnumber of descriptors parsed or -EINVAL if the header is contradictory beyond salvage”…”�”}”(hj`ãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:165: ./drivers/usb/core/message.c”h´MP hjâubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ&usb_core.usb_register_dev (C function)”Œc.usb_core.usb_register_dev”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒXint usb_register_dev (struct usb_interface *intf, struct usb_class_driver *class_driver)”h]”j+)�”}”(hŒWint usb_register_dev(struct usb_interface *intf, struct usb_class_driver *class_driver)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj�ãh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj‹ãh²hh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K\ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjžãh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj‹ãh²hh³j�ãh´K\ubj„)�”}”(hŒusb_register_dev”h]”jŠ)�”}”(hŒusb_register_dev”h]”hŒusb_register_dev”…”�”}”(hj°ãh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¬ãubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj‹ãh²hh³j�ãh´K\ubj¥)�”}”(hŒC(struct usb_interface *intf, struct usb_class_driver *class_driver)”h]”(j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÌãh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÈãubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÙãh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÈãubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjêãh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjçãubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jìãŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj²ãsbŒc.usb_core.usb_register_dev”†”esbuh1hhjÈãubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj äh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÈãubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÈãubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hj&äh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÈãubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÄãubj«)�”}”(hŒ%struct usb_class_driver *class_driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj?äh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj;äubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjLäh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj;äubh)�”}”(hhh]”jŠ)�”}”(hŒusb_class_driver”h]”hŒusb_class_driver”…”�”}”(hj]äh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjZäubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j_äŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jäŒc.usb_core.usb_register_dev”†”esbuh1hhj;äubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj|äh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj;äubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjŠäh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj;äubjŠ)�”}”(hŒ class_driver”h]”hŒ class_driver”…”�”}”(hj—äh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj;äubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÄãubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj‹ãh²hh³j�ãh´K\ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj‡ãh²hh³j�ãh´K\ubah}”(h]”j‚ãah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j�ãh´K\hj„ãh²hubjü)�”}”(hhh]”hë)�”}”(hŒ1register a USB device, and ask for a minor number”h]”hŒ1register a USB device, and ask for a minor number”…”�”}”(hjÁäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K\hj¾äh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj„ãh²hh³j�ãh´K\ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÙäjjÙäj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX.**Parameters** ``struct usb_interface *intf`` pointer to the usb_interface that is being registered ``struct usb_class_driver *class_driver`` pointer to the usb_class_driver for this device **Description** This should be called by all USB drivers that use the USB major number. If CONFIG_USB_DYNAMIC_MINORS is enabled, the minor number will be dynamically allocated out of the list of available ones. If it is not enabled, the minor number will be based on the next available free minor, starting at the class_driver->minor_base. This function also creates a usb class device in the sysfs tree. usb_deregister_dev() must be called when the driver is done with the minor numbers given out by this function. **Return** -EINVAL if something bad happens with trying to register a device, and 0 on success.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjãäh]”hŒ Parameters”…”�”}”(hjåäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjáäubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K`hjÝäubjD)�”}”(hhh]”(jI)�”}”(hŒU``struct usb_interface *intf`` pointer to the usb_interface that is being registered ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjåh]”hŒstruct usb_interface *intf”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjåubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K]hjüäubji)�”}”(hhh]”hë)�”}”(hŒ5pointer to the usb_interface that is being registered”h]”hŒ5pointer to the usb_interface that is being registered”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jåh´K]hjåubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjüäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jåh´K]hjùäubjI)�”}”(hŒZ``struct usb_class_driver *class_driver`` pointer to the usb_class_driver for this device ”h]”(jO)�”}”(hŒ)``struct usb_class_driver *class_driver``”h]”jÑ)�”}”(hj;åh]”hŒ%struct usb_class_driver *class_driver”…”�”}”(hj=åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj9åubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K^hj5åubji)�”}”(hhh]”hë)�”}”(hŒ/pointer to the usb_class_driver for this device”h]”hŒ/pointer to the usb_class_driver for this device”…”�”}”(hjTåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jPåh´K^hjQåubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj5åubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jPåh´K^hjùäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÝäubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjvåh]”hŒ Description”…”�”}”(hjxåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjtåubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K`hjÝäubhë)�”}”(hXDThis should be called by all USB drivers that use the USB major number. If CONFIG_USB_DYNAMIC_MINORS is enabled, the minor number will be dynamically allocated out of the list of available ones. If it is not enabled, the minor number will be based on the next available free minor, starting at the class_driver->minor_base.”h]”hXDThis should be called by all USB drivers that use the USB major number. If CONFIG_USB_DYNAMIC_MINORS is enabled, the minor number will be dynamically allocated out of the list of available ones. If it is not enabled, the minor number will be based on the next available free minor, starting at the class_driver->minor_base.”…”�”}”(hjŒåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K_hjÝäubhë)�”}”(hŒ@This function also creates a usb class device in the sysfs tree.”h]”hŒ@This function also creates a usb class device in the sysfs tree.”…”�”}”(hj›åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´KehjÝäubhë)�”}”(hŒnusb_deregister_dev() must be called when the driver is done with the minor numbers given out by this function.”h]”hŒnusb_deregister_dev() must be called when the driver is done with the minor numbers given out by this function.”…”�”}”(hjªåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´KghjÝäubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj»åh]”hŒReturn”…”�”}”(hj½åh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¹åubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´KjhjÝäubhë)�”}”(hŒT-EINVAL if something bad happens with trying to register a device, and 0 on success.”h]”hŒT-EINVAL if something bad happens with trying to register a device, and 0 on success.”…”�”}”(hjÑåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´KkhjÝäubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.usb_deregister_dev (C function)”Œc.usb_core.usb_deregister_dev”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ[void usb_deregister_dev (struct usb_interface *intf, struct usb_class_driver *class_driver)”h]”j+)�”}”(hŒZvoid usb_deregister_dev(struct usb_interface *intf, struct usb_class_driver *class_driver)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjüåh²hh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K¤ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjæh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjüåh²hh³jæh´K¤ubj„)�”}”(hŒusb_deregister_dev”h]”jŠ)�”}”(hŒusb_deregister_dev”h]”hŒusb_deregister_dev”…”�”}”(hj!æh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjæubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjüåh²hh³jæh´K¤ubj¥)�”}”(hŒC(struct usb_interface *intf, struct usb_class_driver *class_driver)”h]”(j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj=æh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj9æubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjJæh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj9æubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hj[æh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjXæubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j]æŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj#æsbŒc.usb_core.usb_deregister_dev”†”esbuh1hhj9æubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj|æh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj9æubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjŠæh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj9æubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hj—æh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj9æubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj5æubj«)�”}”(hŒ%struct usb_class_driver *class_driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj°æh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj¬æubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj½æh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¬æubh)�”}”(hhh]”jŠ)�”}”(hŒusb_class_driver”h]”hŒusb_class_driver”…”�”}”(hjÎæh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjËæubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÐæŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jxæŒc.usb_core.usb_deregister_dev”†”esbuh1hhj¬æubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjíæh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¬æubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjûæh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¬æubjŠ)�”}”(hŒ class_driver”h]”hŒ class_driver”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¬æubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj5æubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjüåh²hh³jæh´K¤ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjøåh²hh³jæh´K¤ubah}”(h]”jóåah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jæh´K¤hjõåh²hubjü)�”}”(hhh]”hë)�”}”(hŒ(deregister a USB device's dynamic minor.”h]”hŒ*deregister a USB device’s dynamic minor.”…”�”}”(hj2çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K¤hj/çh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjõåh²hh³jæh´K¤ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjJçjjJçj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXC**Parameters** ``struct usb_interface *intf`` pointer to the usb_interface that is being deregistered ``struct usb_class_driver *class_driver`` pointer to the usb_class_driver for this device **Description** Used in conjunction with usb_register_dev(). This function is called when the USB driver is finished with the minor numbers gotten from a call to usb_register_dev() (usually when the device is disconnected from the system.) This function also removes the usb class device from the sysfs tree. This should be called by all drivers that use the USB major number.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjTçh]”hŒ Parameters”…”�”}”(hjVçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjRçubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K¨hjNçubjD)�”}”(hhh]”(jI)�”}”(hŒW``struct usb_interface *intf`` pointer to the usb_interface that is being deregistered ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjsçh]”hŒstruct usb_interface *intf”…”�”}”(hjuçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjqçubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K¥hjmçubji)�”}”(hhh]”hë)�”}”(hŒ7pointer to the usb_interface that is being deregistered”h]”hŒ7pointer to the usb_interface that is being deregistered”…”�”}”(hjŒçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jˆçh´K¥hj‰çubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjmçubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jˆçh´K¥hjjçubjI)�”}”(hŒZ``struct usb_class_driver *class_driver`` pointer to the usb_class_driver for this device ”h]”(jO)�”}”(hŒ)``struct usb_class_driver *class_driver``”h]”jÑ)�”}”(hj¬çh]”hŒ%struct usb_class_driver *class_driver”…”�”}”(hj®çh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjªçubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K¦hj¦çubji)�”}”(hhh]”hë)�”}”(hŒ/pointer to the usb_class_driver for this device”h]”hŒ/pointer to the usb_class_driver for this device”…”�”}”(hjÅçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÁçh´K¦hjÂçubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¦çubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÁçh´K¦hjjçubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjNçubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjççh]”hŒ Description”…”�”}”(hjéçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjåçubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K¨hjNçubhë)�”}”(hŒàUsed in conjunction with usb_register_dev(). This function is called when the USB driver is finished with the minor numbers gotten from a call to usb_register_dev() (usually when the device is disconnected from the system.)”h]”hŒàUsed in conjunction with usb_register_dev(). This function is called when the USB driver is finished with the minor numbers gotten from a call to usb_register_dev() (usually when the device is disconnected from the system.)”…”�”}”(hjýçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K§hjNçubhë)�”}”(hŒDThis function also removes the usb class device from the sysfs tree.”h]”hŒDThis function also removes the usb class device from the sysfs tree.”…”�”}”(hj èh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K¬hjNçubhë)�”}”(hŒCThis should be called by all drivers that use the USB major number.”h]”hŒCThis should be called by all drivers that use the USB major number.”…”�”}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ[/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:168: ./drivers/usb/core/file.c”h´K®hjNçubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ0usb_core.usb_driver_claim_interface (C function)”Œ%c.usb_core.usb_driver_claim_interface”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒcint usb_driver_claim_interface (struct usb_driver *driver, struct usb_interface *iface, void *data)”h]”j+)�”}”(hŒbint usb_driver_claim_interface(struct usb_driver *driver, struct usb_interface *iface, void *data)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjJèh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjFèh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjYèh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjFèh²hh³jXèh´Mubj„)�”}”(hŒusb_driver_claim_interface”h]”jŠ)�”}”(hŒusb_driver_claim_interface”h]”hŒusb_driver_claim_interface”…”�”}”(hjkèh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjgèubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjFèh²hh³jXèh´Mubj¥)�”}”(hŒD(struct usb_driver *driver, struct usb_interface *iface, void *data)”h]”(j«)�”}”(hŒstruct usb_driver *driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj‡èh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjƒèubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj”èh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjƒèubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_driver”h]”hŒ usb_driver”…”�”}”(hj¥èh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¢èubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j§èŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjmèsbŒ%c.usb_core.usb_driver_claim_interface”†”esbuh1hhjƒèubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÆèh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjƒèubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÔèh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjƒèubjŠ)�”}”(hŒdriver”h]”hŒdriver”…”�”}”(hjáèh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjƒèubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjèubj«)�”}”(hŒstruct usb_interface *iface”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjúèh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjöèubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjöèubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjéubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jéŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÂèŒ%c.usb_core.usb_driver_claim_interface”†”esbuh1hhjöèubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj7éh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjöèubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjEéh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjöèubjŠ)�”}”(hŒiface”h]”hŒiface”…”�”}”(hjRéh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjöèubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjèubj«)�”}”(hŒ void *data”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjkéh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjgéubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjyéh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjgéubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj‡éh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjgéubjŠ)�”}”(hŒdata”h]”hŒdata”…”�”}”(hj”éh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjgéubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjèubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjFèh²hh³jXèh´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjBèh²hh³jXèh´Mubah}”(h]”j=èah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jXèh´Mhj?èh²hubjü)�”}”(hhh]”hë)�”}”(hŒbind a driver to an interface”h]”hŒbind a driver to an interface”…”�”}”(hj¾éh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj»éh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj?èh²hh³jXèh´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÖéjjÖéj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX³**Parameters** ``struct usb_driver *driver`` the driver to be bound ``struct usb_interface *iface`` the interface to which it will be bound; must be in the usb device's active configuration ``void *data`` driver data associated with that interface **Description** This is used by usb device drivers that need to claim more than one interface on a device when probing (audio and acm are current examples). No device driver should directly modify internal usb_interface or usb_device structure members. Callers must own the device lock, so driver probe() entries don't need extra locking, but other call contexts may need to explicitly claim that lock. **Return** 0 on success.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjàéh]”hŒ Parameters”…”�”}”(hjâéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÞéubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÚéubjD)�”}”(hhh]”(jI)�”}”(hŒ5``struct usb_driver *driver`` the driver to be bound ”h]”(jO)�”}”(hŒ``struct usb_driver *driver``”h]”jÑ)�”}”(hjÿéh]”hŒstruct usb_driver *driver”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjýéubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhjùéubji)�”}”(hhh]”hë)�”}”(hŒthe driver to be bound”h]”hŒthe driver to be bound”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jêh´Mhjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjùéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jêh´MhjöéubjI)�”}”(hŒz``struct usb_interface *iface`` the interface to which it will be bound; must be in the usb device's active configuration ”h]”(jO)�”}”(hŒ``struct usb_interface *iface``”h]”jÑ)�”}”(hj8êh]”hŒstruct usb_interface *iface”…”�”}”(hj:êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj6êubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj2êubji)�”}”(hhh]”hë)�”}”(hŒYthe interface to which it will be bound; must be in the usb device's active configuration”h]”hŒ[the interface to which it will be bound; must be in the usb device’s active configuration”…”�”}”(hjQêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjNêubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj2êubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jMêh´MhjöéubjI)�”}”(hŒ:``void *data`` driver data associated with that interface ”h]”(jO)�”}”(hŒ``void *data``”h]”jÑ)�”}”(hjrêh]”hŒ void *data”…”�”}”(hjtêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjpêubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhjlêubji)�”}”(hhh]”hë)�”}”(hŒ*driver data associated with that interface”h]”hŒ*driver data associated with that interface”…”�”}”(hj‹êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j‡êh´Mhjˆêubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjlêubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‡êh´Mhjöéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÚéubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj­êh]”hŒ Description”…”�”}”(hj¯êh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj«êubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÚéubhë)�”}”(hŒìThis is used by usb device drivers that need to claim more than one interface on a device when probing (audio and acm are current examples). No device driver should directly modify internal usb_interface or usb_device structure members.”h]”hŒìThis is used by usb device drivers that need to claim more than one interface on a device when probing (audio and acm are current examples). No device driver should directly modify internal usb_interface or usb_device structure members.”…”�”}”(hjÃêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÚéubhë)�”}”(hŒ•Callers must own the device lock, so driver probe() entries don't need extra locking, but other call contexts may need to explicitly claim that lock.”h]”hŒ—Callers must own the device lock, so driver probe() entries don’t need extra locking, but other call contexts may need to explicitly claim that lock.”…”�”}”(hjÒêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjÚéubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjãêh]”hŒReturn”…”�”}”(hjåêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjáêubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M$hjÚéubhë)�”}”(hŒ 0 on success.”h]”hŒ 0 on success.”…”�”}”(hjùêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M%hjÚéubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ2usb_core.usb_driver_release_interface (C function)”Œ'c.usb_core.usb_driver_release_interface”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒZvoid usb_driver_release_interface (struct usb_driver *driver, struct usb_interface *iface)”h]”j+)�”}”(hŒYvoid usb_driver_release_interface(struct usb_driver *driver, struct usb_interface *iface)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj(ëh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj$ëh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MdubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj7ëh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj$ëh²hh³j6ëh´Mdubj„)�”}”(hŒusb_driver_release_interface”h]”jŠ)�”}”(hŒusb_driver_release_interface”h]”hŒusb_driver_release_interface”…”�”}”(hjIëh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjEëubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj$ëh²hh³j6ëh´Mdubj¥)�”}”(hŒ8(struct usb_driver *driver, struct usb_interface *iface)”h]”(j«)�”}”(hŒstruct usb_driver *driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjeëh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjaëubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjrëh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjaëubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_driver”h]”hŒ usb_driver”…”�”}”(hjƒëh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj€ëubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j…ëŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjKësbŒ'c.usb_core.usb_driver_release_interface”†”esbuh1hhjaëubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¤ëh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjaëubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj²ëh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjaëubjŠ)�”}”(hŒdriver”h]”hŒdriver”…”�”}”(hj¿ëh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjaëubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj]ëubj«)�”}”(hŒstruct usb_interface *iface”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjØëh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÔëubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjåëh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÔëubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjöëh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjóëubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jøëŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j ëŒ'c.usb_core.usb_driver_release_interface”†”esbuh1hhjÔëubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÔëubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj#ìh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÔëubjŠ)�”}”(hŒiface”h]”hŒiface”…”�”}”(hj0ìh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÔëubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj]ëubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj$ëh²hh³j6ëh´Mdubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj ëh²hh³j6ëh´Mdubah}”(h]”jëah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j6ëh´Mdhjëh²hubjü)�”}”(hhh]”hë)�”}”(hŒ!unbind a driver from an interface”h]”hŒ!unbind a driver from an interface”…”�”}”(hjZìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MdhjWìh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjëh²hh³j6ëh´Mdubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjrìjjrìj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXM**Parameters** ``struct usb_driver *driver`` the driver to be unbound ``struct usb_interface *iface`` the interface from which it will be unbound **Description** This can be used by drivers to release an interface without waiting for their disconnect() methods to be called. In typical cases this also causes the driver disconnect() method to be called. This call is synchronous, and may not be used in an interrupt context. Callers must own the device lock, so driver disconnect() entries don't need extra locking, but other call contexts may need to explicitly claim that lock.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj|ìh]”hŒ Parameters”…”�”}”(hj~ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjzìubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhhjvìubjD)�”}”(hhh]”(jI)�”}”(hŒ7``struct usb_driver *driver`` the driver to be unbound ”h]”(jO)�”}”(hŒ``struct usb_driver *driver``”h]”jÑ)�”}”(hj›ìh]”hŒstruct usb_driver *driver”…”�”}”(hj�ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj™ìubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mehj•ìubji)�”}”(hhh]”hë)�”}”(hŒthe driver to be unbound”h]”hŒthe driver to be unbound”…”�”}”(hj´ìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j°ìh´Mehj±ìubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj•ìubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j°ìh´Mehj’ìubjI)�”}”(hŒL``struct usb_interface *iface`` the interface from which it will be unbound ”h]”(jO)�”}”(hŒ``struct usb_interface *iface``”h]”jÑ)�”}”(hjÔìh]”hŒstruct usb_interface *iface”…”�”}”(hjÖìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÒìubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MfhjÎìubji)�”}”(hhh]”hë)�”}”(hŒ+the interface from which it will be unbound”h]”hŒ+the interface from which it will be unbound”…”�”}”(hjíìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jéìh´Mfhjêìubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÎìubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jéìh´Mfhj’ìubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjvìubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjíh]”hŒ Description”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj íubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhhjvìubhë)�”}”(hŒÀThis can be used by drivers to release an interface without waiting for their disconnect() methods to be called. In typical cases this also causes the driver disconnect() method to be called.”h]”hŒÀThis can be used by drivers to release an interface without waiting for their disconnect() methods to be called. In typical cases this also causes the driver disconnect() method to be called.”…”�”}”(hj%íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mghjvìubhë)�”}”(hŒáThis call is synchronous, and may not be used in an interrupt context. Callers must own the device lock, so driver disconnect() entries don't need extra locking, but other call contexts may need to explicitly claim that lock.”h]”hŒãThis call is synchronous, and may not be used in an interrupt context. Callers must own the device lock, so driver disconnect() entries don’t need extra locking, but other call contexts may need to explicitly claim that lock.”…”�”}”(hj4íh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mkhjvìubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ"usb_core.usb_match_id (C function)”Œc.usb_core.usb_match_id”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒkconst struct usb_device_id * usb_match_id (struct usb_interface *interface, const struct usb_device_id *id)”h]”j+)�”}”(hŒiconst struct usb_device_id *usb_match_id(struct usb_interface *interface, const struct usb_device_id *id)”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjcíh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj_íh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MêubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjqíh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj_íh²hh³jpíh´Mêubj1)�”}”(hjh]”hŒstruct”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj_íh²hh³jpíh´MêubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjŒíh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj_íh²hh³jpíh´Mêubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device_id”h]”hŒ usb_device_id”…”�”}”(hj�íh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjšíubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jŸíŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒ usb_match_id”sbŒc.usb_core.usb_match_id”†”esbuh1hhj_íh²hh³jpíh´MêubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¿íh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj_íh²hh³jpíh´Mêubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÍíh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj_íh²hh³jpíh´Mêubj„)�”}”(hŒ usb_match_id”h]”jŠ)�”}”(hj¼íh]”hŒ usb_match_id”…”�”}”(hjÞíh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÚíubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj_íh²hh³jpíh´Mêubj¥)�”}”(hŒA(struct usb_interface *interface, const struct usb_device_id *id)”h]”(j«)�”}”(hŒstruct usb_interface *interface”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjùíh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjõíubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjõíubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjîubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jîŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jºíŒc.usb_core.usb_match_id”†”esbuh1hhjõíubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj6îh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjõíubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjDîh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjõíubjŠ)�”}”(hŒ interface”h]”hŒ interface”…”�”}”(hjQîh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjõíubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjñíubj«)�”}”(hŒconst struct usb_device_id *id”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjjîh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjfîubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjwîh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjfîubj1)�”}”(hjh]”hŒstruct”…”�”}”(hj…îh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjfîubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj’îh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjfîubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device_id”h]”hŒ usb_device_id”…”�”}”(hj£îh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj îubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¥îŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jºíŒc.usb_core.usb_match_id”†”esbuh1hhjfîubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂîh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjfîubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÐîh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjfîubjŠ)�”}”(hŒid”h]”hŒid”…”�”}”(hjÝîh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjfîubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjñíubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj_íh²hh³jpíh´Mêubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj[íh²hh³jpíh´Mêubah}”(h]”jVíah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jpíh´MêhjXíh²hubjü)�”}”(hhh]”hë)�”}”(hŒ5find first usb_device_id matching device or interface”h]”hŒ5find first usb_device_id matching device or interface”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mêhjïh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjXíh²hh³jpíh´Mêubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjïjjïj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX **Parameters** ``struct usb_interface *interface`` the interface of interest ``const struct usb_device_id *id`` array of usb_device_id structures, terminated by zero entry **Description** usb_match_id searches an array of usb_device_id's and returns the first one matching the device or interface, or null. This is used when binding (or rebinding) a driver to an interface. Most USB device drivers will use this indirectly, through the usb core, but some layered driver frameworks use it directly. These device tables are exported with MODULE_DEVICE_TABLE, through modutils, to support the driver loading functionality of USB hotplugging. What Matches: The "match_flags" element in a usb_device_id controls which members are used. If the corresponding bit is set, the value in the device_id must match its corresponding member in the device or interface descriptor, or else the device_id does not match. "driver_info" is normally used only by device drivers, but you can create a wildcard "matches anything" usb_device_id as a driver's "modules.usbmap" entry if you provide an id with only a nonzero "driver_info" field. If you do this, the USB device driver's probe() routine should use additional intelligence to decide whether to bind to the specified interface. What Makes Good usb_device_id Tables: The match algorithm is very simple, so that intelligence in driver selection must come from smart driver id records. Unless you have good reasons to use another selection policy, provide match elements only in related groups, and order match specifiers from specific to general. Use the macros provided for that purpose if you can. The most specific match specifiers use device descriptor data. These are commonly used with product-specific matches; the USB_DEVICE macro lets you provide vendor and product IDs, and you can also match against ranges of product revisions. These are widely used for devices with application or vendor specific bDeviceClass values. Matches based on device class/subclass/protocol specifications are slightly more general; use the USB_DEVICE_INFO macro, or its siblings. These are used with single-function devices where bDeviceClass doesn't specify that each interface has its own class. Matches based on interface class/subclass/protocol are the most general; they let drivers bind to any interface on a multiple-function device. Use the USB_INTERFACE_INFO macro, or its siblings, to match class-per-interface style devices (as recorded in bInterfaceClass). Note that an entry created by USB_INTERFACE_INFO won't match any interface if the device class is set to Vendor-Specific. This is deliberate; according to the USB spec the meanings of the interface class/subclass/protocol for these devices are also vendor-specific, and hence matching against a standard product class wouldn't work anyway. If you really want to use an interface-based match for such a device, create a match record that also specifies the vendor ID. (Unforunately there isn't a standard macro for creating records like this.) Within those groups, remember that not all combinations are meaningful. For example, don't give a product version range without vendor and product IDs; or specify a protocol without its associated class and subclass. **Return** The first matching usb_device_id, or ``NULL``.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj)ïh]”hŒ Parameters”…”�”}”(hj+ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj'ïubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mîhj#ïubjD)�”}”(hhh]”(jI)�”}”(hŒ>``struct usb_interface *interface`` the interface of interest ”h]”(jO)�”}”(hŒ#``struct usb_interface *interface``”h]”jÑ)�”}”(hjHïh]”hŒstruct usb_interface *interface”…”�”}”(hjJïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjFïubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MëhjBïubji)�”}”(hhh]”hë)�”}”(hŒthe interface of interest”h]”hŒthe interface of interest”…”�”}”(hjaïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j]ïh´Mëhj^ïubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjBïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j]ïh´Mëhj?ïubjI)�”}”(hŒ_``const struct usb_device_id *id`` array of usb_device_id structures, terminated by zero entry ”h]”(jO)�”}”(hŒ"``const struct usb_device_id *id``”h]”jÑ)�”}”(hj�ïh]”hŒconst struct usb_device_id *id”…”�”}”(hjƒïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjïubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mìhj{ïubji)�”}”(hhh]”hë)�”}”(hŒ;array of usb_device_id structures, terminated by zero entry”h]”hŒ;array of usb_device_id structures, terminated by zero entry”…”�”}”(hjšïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j–ïh´Mìhj—ïubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj{ïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j–ïh´Mìhj?ïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj#ïubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj¼ïh]”hŒ Description”…”�”}”(hj¾ïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjºïubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mîhj#ïubhë)�”}”(hXÂusb_match_id searches an array of usb_device_id's and returns the first one matching the device or interface, or null. This is used when binding (or rebinding) a driver to an interface. Most USB device drivers will use this indirectly, through the usb core, but some layered driver frameworks use it directly. These device tables are exported with MODULE_DEVICE_TABLE, through modutils, to support the driver loading functionality of USB hotplugging.”h]”hXÄusb_match_id searches an array of usb_device_id’s and returns the first one matching the device or interface, or null. This is used when binding (or rebinding) a driver to an interface. Most USB device drivers will use this indirectly, through the usb core, but some layered driver frameworks use it directly. These device tables are exported with MODULE_DEVICE_TABLE, through modutils, to support the driver loading functionality of USB hotplugging.”…”�”}”(hjÒïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Míhj#ïubhë)�”}”(hŒ What Matches:”h]”hŒ What Matches:”…”�”}”(hjáïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Möhj#ïubhë)�”}”(hŒûThe "match_flags" element in a usb_device_id controls which members are used. If the corresponding bit is set, the value in the device_id must match its corresponding member in the device or interface descriptor, or else the device_id does not match.”h]”hŒÿThe “match_flagsâ€� element in a usb_device_id controls which members are used. If the corresponding bit is set, the value in the device_id must match its corresponding member in the device or interface descriptor, or else the device_id does not match.”…”�”}”(hjðïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Møhj#ïubhë)�”}”(hXj"driver_info" is normally used only by device drivers, but you can create a wildcard "matches anything" usb_device_id as a driver's "modules.usbmap" entry if you provide an id with only a nonzero "driver_info" field. If you do this, the USB device driver's probe() routine should use additional intelligence to decide whether to bind to the specified interface.”h]”hX~“driver_infoâ€� is normally used only by device drivers, but you can create a wildcard “matches anythingâ€� usb_device_id as a driver’s “modules.usbmapâ€� entry if you provide an id with only a nonzero “driver_infoâ€� field. If you do this, the USB device driver’s probe() routine should use additional intelligence to decide whether to bind to the specified interface.”…”�”}”(hjÿïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mþhj#ïubhë)�”}”(hŒ%What Makes Good usb_device_id Tables:”h]”hŒ%What Makes Good usb_device_id Tables:”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj#ïubhë)�”}”(hXLThe match algorithm is very simple, so that intelligence in driver selection must come from smart driver id records. Unless you have good reasons to use another selection policy, provide match elements only in related groups, and order match specifiers from specific to general. Use the macros provided for that purpose if you can.”h]”hXLThe match algorithm is very simple, so that intelligence in driver selection must come from smart driver id records. Unless you have good reasons to use another selection policy, provide match elements only in related groups, and order match specifiers from specific to general. Use the macros provided for that purpose if you can.”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj#ïubhë)�”}”(hXKThe most specific match specifiers use device descriptor data. These are commonly used with product-specific matches; the USB_DEVICE macro lets you provide vendor and product IDs, and you can also match against ranges of product revisions. These are widely used for devices with application or vendor specific bDeviceClass values.”h]”hXKThe most specific match specifiers use device descriptor data. These are commonly used with product-specific matches; the USB_DEVICE macro lets you provide vendor and product IDs, and you can also match against ranges of product revisions. These are widely used for devices with application or vendor specific bDeviceClass values.”…”�”}”(hj,ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj#ïubhë)�”}”(hXMatches based on device class/subclass/protocol specifications are slightly more general; use the USB_DEVICE_INFO macro, or its siblings. These are used with single-function devices where bDeviceClass doesn't specify that each interface has its own class.”h]”hXMatches based on device class/subclass/protocol specifications are slightly more general; use the USB_DEVICE_INFO macro, or its siblings. These are used with single-function devices where bDeviceClass doesn’t specify that each interface has its own class.”…”�”}”(hj;ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj#ïubhë)�”}”(hXMatches based on interface class/subclass/protocol are the most general; they let drivers bind to any interface on a multiple-function device. Use the USB_INTERFACE_INFO macro, or its siblings, to match class-per-interface style devices (as recorded in bInterfaceClass).”h]”hXMatches based on interface class/subclass/protocol are the most general; they let drivers bind to any interface on a multiple-function device. Use the USB_INTERFACE_INFO macro, or its siblings, to match class-per-interface style devices (as recorded in bInterfaceClass).”…”�”}”(hjJðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj#ïubhë)�”}”(hX Note that an entry created by USB_INTERFACE_INFO won't match any interface if the device class is set to Vendor-Specific. This is deliberate; according to the USB spec the meanings of the interface class/subclass/protocol for these devices are also vendor-specific, and hence matching against a standard product class wouldn't work anyway. If you really want to use an interface-based match for such a device, create a match record that also specifies the vendor ID. (Unforunately there isn't a standard macro for creating records like this.)”h]”hX&Note that an entry created by USB_INTERFACE_INFO won’t match any interface if the device class is set to Vendor-Specific. This is deliberate; according to the USB spec the meanings of the interface class/subclass/protocol for these devices are also vendor-specific, and hence matching against a standard product class wouldn’t work anyway. If you really want to use an interface-based match for such a device, create a match record that also specifies the vendor ID. (Unforunately there isn’t a standard macro for creating records like this.)”…”�”}”(hjYðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M!hj#ïubhë)�”}”(hŒÙWithin those groups, remember that not all combinations are meaningful. For example, don't give a product version range without vendor and product IDs; or specify a protocol without its associated class and subclass.”h]”hŒÛWithin those groups, remember that not all combinations are meaningful. For example, don’t give a product version range without vendor and product IDs; or specify a protocol without its associated class and subclass.”…”�”}”(hjhðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M+hj#ïubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjyðh]”hŒReturn”…”�”}”(hj{ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjwðubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M0hj#ïubhë)�”}”(hŒ.The first matching usb_device_id, or ``NULL``.”h]”(hŒ%The first matching usb_device_id, or ”…”�”}”(hj�ðh²hh³Nh´NubjÑ)�”}”(hŒ``NULL``”h]”hŒNULL”…”�”}”(hj—ðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj�ðubhŒ.”…”�”}”(hj�ðh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Möhj#ïubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ0usb_core.usb_register_device_driver (C function)”Œ%c.usb_core.usb_register_device_driver”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ\int usb_register_device_driver (struct usb_device_driver *new_udriver, struct module *owner)”h]”j+)�”}”(hŒ[int usb_register_device_driver(struct usb_device_driver *new_udriver, struct module *owner)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÐðh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÌðh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MÛubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjßðh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÌðh²hh³jÞðh´MÛubj„)�”}”(hŒusb_register_device_driver”h]”jŠ)�”}”(hŒusb_register_device_driver”h]”hŒusb_register_device_driver”…”�”}”(hjñðh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjíðubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÌðh²hh³jÞðh´MÛubj¥)�”}”(hŒ=(struct usb_device_driver *new_udriver, struct module *owner)”h]”(j«)�”}”(hŒ%struct usb_device_driver *new_udriver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj ñh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj ñubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ñubh)�”}”(hhh]”jŠ)�”}”(hŒusb_device_driver”h]”hŒusb_device_driver”…”�”}”(hj+ñh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj(ñubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j-ñŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjóðsbŒ%c.usb_core.usb_register_device_driver”†”esbuh1hhj ñubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjLñh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ñubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjZñh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj ñubjŠ)�”}”(hŒ new_udriver”h]”hŒ new_udriver”…”�”}”(hjgñh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ñubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjñubj«)�”}”(hŒstruct module *owner”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj€ñh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj|ñubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�ñh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj|ñubh)�”}”(hhh]”jŠ)�”}”(hŒmodule”h]”hŒmodule”…”�”}”(hjžñh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj›ñubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j ñŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jHñŒ%c.usb_core.usb_register_device_driver”†”esbuh1hhj|ñubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj½ñh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj|ñubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjËñh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj|ñubjŠ)�”}”(hŒowner”h]”hŒowner”…”�”}”(hjØñh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj|ñubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjñubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÌðh²hh³jÞðh´MÛubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÈðh²hh³jÞðh´MÛubah}”(h]”jÃðah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÞðh´MÛhjÅðh²hubjü)�”}”(hhh]”hë)�”}”(hŒ,register a USB device (not interface) driver”h]”hŒ,register a USB device (not interface) driver”…”�”•}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MÛhjÿñh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÅðh²hh³jÞðh´MÛubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjòjjòj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX«**Parameters** ``struct usb_device_driver *new_udriver`` USB operations for the device driver ``struct module *owner`` module owner of this driver. **Description** Registers a USB device driver with the USB core. The list of unattached devices will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized devices. **Return** A negative error code on failure and 0 on success.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj$òh]”hŒ Parameters”…”�”}”(hj&òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj"òubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MßhjòubjD)�”}”(hhh]”(jI)�”}”(hŒO``struct usb_device_driver *new_udriver`` USB operations for the device driver ”h]”(jO)�”}”(hŒ)``struct usb_device_driver *new_udriver``”h]”jÑ)�”}”(hjCòh]”hŒ%struct usb_device_driver *new_udriver”…”�”}”(hjEòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjAòubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MÜhj=òubji)�”}”(hhh]”hë)�”}”(hŒ$USB operations for the device driver”h]”hŒ$USB operations for the device driver”…”�”}”(hj\òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jXòh´MÜhjYòubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj=òubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jXòh´MÜhj:òubjI)�”}”(hŒ6``struct module *owner`` module owner of this driver. ”h]”(jO)�”}”(hŒ``struct module *owner``”h]”jÑ)�”}”(hj|òh]”hŒstruct module *owner”…”�”}”(hj~òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjzòubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MÝhjvòubji)�”}”(hhh]”hë)�”}”(hŒmodule owner of this driver.”h]”hŒmodule owner of this driver.”…”�”}”(hj•òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j‘òh´MÝhj’òubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjvòubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‘òh´MÝhj:òubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjòubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj·òh]”hŒ Description”…”�”}”(hj¹òh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjµòubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mßhjòubhë)�”}”(hŒ¿Registers a USB device driver with the USB core. The list of unattached devices will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized devices.”h]”hŒ¿Registers a USB device driver with the USB core. The list of unattached devices will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized devices.”…”�”}”(hjÍòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MÞhjòubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÞòh]”hŒReturn”…”�”}”(hjàòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÜòubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mâhjòubhë)�”}”(hŒ2A negative error code on failure and 0 on success.”h]”hŒ2A negative error code on failure and 0 on success.”…”�”}”(hjôòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mãhjòubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ2usb_core.usb_deregister_device_driver (C function)”Œ'c.usb_core.usb_deregister_device_driver”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒEvoid usb_deregister_device_driver (struct usb_device_driver *udriver)”h]”j+)�”}”(hŒDvoid usb_deregister_device_driver(struct usb_device_driver *udriver)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj#óh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjóh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj2óh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjóh²hh³j1óh´M ubj„)�”}”(hŒusb_deregister_device_driver”h]”jŠ)�”}”(hŒusb_deregister_device_driver”h]”hŒusb_deregister_device_driver”…”�”}”(hjDóh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj@óubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjóh²hh³j1óh´M ubj¥)�”}”(hŒ#(struct usb_device_driver *udriver)”h]”j«)�”}”(hŒ!struct usb_device_driver *udriver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj`óh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj\óubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjmóh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj\óubh)�”}”(hhh]”jŠ)�”}”(hŒusb_device_driver”h]”hŒusb_device_driver”…”�”}”(hj~óh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj{óubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j€óŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjFósbŒ'c.usb_core.usb_deregister_device_driver”†”esbuh1hhj\óubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjŸóh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj\óubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj­óh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj\óubjŠ)�”}”(hŒudriver”h]”hŒudriver”…”�”}”(hjºóh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj\óubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjXóubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjóh²hh³j1óh´M ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjóh²hh³j1óh´M ubah}”(h]”jóah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j1óh´M hjóh²hubjü)�”}”(hhh]”hë)�”}”(hŒ.unregister a USB device (not interface) driver”h]”hŒ.unregister a USB device (not interface) driver”…”�”}”(hjäóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjáóh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjóh²hh³j1óh´M ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjüójjüój ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hŒß**Parameters** ``struct usb_device_driver *udriver`` USB operations of the device driver to unregister **Context** must be able to sleep **Description** Unlinks the specified driver from the internal USB driver list.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjôh]”hŒ Parameters”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjôubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjôubjD)�”}”(hhh]”jI)�”}”(hŒX``struct usb_device_driver *udriver`` USB operations of the device driver to unregister ”h]”(jO)�”}”(hŒ%``struct usb_device_driver *udriver``”h]”jÑ)�”}”(hj%ôh]”hŒ!struct usb_device_driver *udriver”…”�”}”(hj'ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj#ôubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjôubji)�”}”(hhh]”hë)�”}”(hŒ1USB operations of the device driver to unregister”h]”hŒ1USB operations of the device driver to unregister”…”�”}”(hj>ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j:ôh´M hj;ôubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjôubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j:ôh´M hjôubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjôubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj`ôh]”hŒContext”…”�”}”(hjbôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj^ôubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjôubhë)�”}”(hŒmust be able to sleep”h]”hŒmust be able to sleep”…”�”}”(hjvôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjôubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj‡ôh]”hŒ Description”…”�”}”(hj‰ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj…ôubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjôubhë)�”}”(hŒ?Unlinks the specified driver from the internal USB driver list.”h]”hŒ?Unlinks the specified driver from the internal USB driver list.”…”�”}”(hj�ôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjôubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ)usb_core.usb_register_driver (C function)”Œc.usb_core.usb_register_driver”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒcint usb_register_driver (struct usb_driver *new_driver, struct module *owner, const char *mod_name)”h]”j+)�”}”(hŒbint usb_register_driver(struct usb_driver *new_driver, struct module *owner, const char *mod_name)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÌôh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÈôh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÛôh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÈôh²hh³jÚôh´Mubj„)�”}”(hŒusb_register_driver”h]”jŠ)�”}”(hŒusb_register_driver”h]”hŒusb_register_driver”…”�”}”(hjíôh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjéôubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÈôh²hh³jÚôh´Mubj¥)�”}”(hŒK(struct usb_driver *new_driver, struct module *owner, const char *mod_name)”h]”(j«)�”}”(hŒstruct usb_driver *new_driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj õh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjõubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjõubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_driver”h]”hŒ usb_driver”…”�”}”(hj'õh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj$õubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j)õŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjïôsbŒc.usb_core.usb_register_driver”†”esbuh1hhjõubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHõh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjõubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjVõh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjõubjŠ)�”}”(hŒ new_driver”h]”hŒ new_driver”…”�”}”(hjcõh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjõubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõubj«)�”}”(hŒstruct module *owner”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj|õh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjxõubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‰õh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjxõubh)�”}”(hhh]”jŠ)�”}”(hŒmodule”h]”hŒmodule”…”�”}”(hjšõh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj—õubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jœõŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jDõŒc.usb_core.usb_register_driver”†”esbuh1hhjxõubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¹õh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjxõubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÇõh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjxõubjŠ)�”}”(hŒowner”h]”hŒowner”…”�”}”(hjÔõh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjxõubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõubj«)�”}”(hŒconst char *mod_name”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjíõh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjéõubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjúõh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjéõubjT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjéõubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjéõubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj$öh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjéõubjŠ)�”}”(hŒmod_name”h]”hŒmod_name”…”�”}”(hj1öh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjéõubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjõubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÈôh²hh³jÚôh´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÄôh²hh³jÚôh´Mubah}”(h]”j¿ôah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÚôh´MhjÁôh²hubjü)�”}”(hhh]”hë)�”}”(hŒregister a USB interface driver”h]”hŒregister a USB interface driver”…”�”}”(hj[öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjXöh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÁôh²hh³jÚôh´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjsöjjsöj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXŠ**Parameters** ``struct usb_driver *new_driver`` USB operations for the interface driver ``struct module *owner`` module owner of this driver. ``const char *mod_name`` module name string **Description** Registers a USB interface driver with the USB core. The list of unattached interfaces will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized interfaces. **Return** A negative error code on failure and 0 on success. **NOTE** if you want your driver to use the USB major number, you must call usb_register_dev() to enable that functionality. This function no longer takes care of that.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj}öh]”hŒ Parameters”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj{öubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjwöubjD)�”}”(hhh]”(jI)�”}”(hŒJ``struct usb_driver *new_driver`` USB operations for the interface driver ”h]”(jO)�”}”(hŒ!``struct usb_driver *new_driver``”h]”jÑ)�”}”(hjœöh]”hŒstruct usb_driver *new_driver”…”�”}”(hjžöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjšöubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj–öubji)�”}”(hhh]”hë)�”}”(hŒ'USB operations for the interface driver”h]”hŒ'USB operations for the interface driver”…”�”}”(hjµöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j±öh´Mhj²öubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj–öubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j±öh´Mhj“öubjI)�”}”(hŒ6``struct module *owner`` module owner of this driver. ”h]”(jO)�”}”(hŒ``struct module *owner``”h]”jÑ)�”}”(hjÕöh]”hŒstruct module *owner”…”�”}”(hj×öh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÓöubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÏöubji)�”}”(hhh]”hë)�”}”(hŒmodule owner of this driver.”h]”hŒmodule owner of this driver.”…”�”}”(hjîöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jêöh´Mhjëöubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÏöubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jêöh´Mhj“öubjI)�”}”(hŒ,``const char *mod_name`` module name string ”h]”(jO)�”}”(hŒ``const char *mod_name``”h]”jÑ)�”}”(hj÷h]”hŒconst char *mod_name”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj ÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhj÷ubji)�”}”(hhh]”hë)�”}”(hŒmodule name string”h]”hŒmodule name string”…”�”}”(hj'÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j#÷h´Mhj$÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j#÷h´Mhj“öubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjwöubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjI÷h]”hŒ Description”…”�”}”(hjK÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjG÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhjwöubhë)�”}”(hŒÈRegisters a USB interface driver with the USB core. The list of unattached interfaces will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized interfaces.”h]”hŒÈRegisters a USB interface driver with the USB core. The list of unattached interfaces will be rescanned whenever a new driver is added, allowing the new driver to attach to any recognized interfaces.”…”�”}”(hj_÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhjwöubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjp÷h]”hŒReturn”…”�”}”(hjr÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjn÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M!hjwöubhë)�”}”(hŒ2A negative error code on failure and 0 on success.”h]”hŒ2A negative error code on failure and 0 on success.”…”�”}”(hj†÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M"hjwöubhë)�”}”(hŒ**NOTE**”h]”j.)�”}”(hj—÷h]”hŒNOTE”…”�”}”(hj™÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj•÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M$hjwöubhë)�”}”(hŒ if you want your driver to use the USB major number, you must call usb_register_dev() to enable that functionality. This function no longer takes care of that.”h]”hŒ if you want your driver to use the USB major number, you must call usb_register_dev() to enable that functionality. This function no longer takes care of that.”…”�”}”(hj­÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M$hjwöubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ$usb_core.usb_deregister (C function)”Œc.usb_core.usb_deregister”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ/void usb_deregister (struct usb_driver *driver)”h]”j+)�”}”(hŒ.void usb_deregister(struct usb_driver *driver)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÜ÷h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjØ÷h²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MQubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjë÷h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjØ÷h²hh³jê÷h´MQubj„)�”}”(hŒusb_deregister”h]”jŠ)�”}”(hŒusb_deregister”h]”hŒusb_deregister”…”�”}”(hjý÷h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjù÷ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjØ÷h²hh³jê÷h´MQubj¥)�”}”(hŒ(struct usb_driver *driver)”h]”j«)�”}”(hŒstruct usb_driver *driver”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjøubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj&øh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjøubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_driver”h]”hŒ usb_driver”…”�”}”(hj7øh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj4øubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j9øŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÿ÷sbŒc.usb_core.usb_deregister”†”esbuh1hhjøubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjXøh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjøubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjføh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjøubjŠ)�”}”(hŒdriver”h]”hŒdriver”…”�”}”(hjsøh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjøubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjøubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjØ÷h²hh³jê÷h´MQubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÔ÷h²hh³jê÷h´MQubah}”(h]”jÏ÷ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jê÷h´MQhjÑ÷h²hubjü)�”}”(hhh]”hë)�”}”(hŒ!unregister a USB interface driver”h]”hŒ!unregister a USB interface driver”…”�”}”(hj�øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MQhjšøh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÑ÷h²hh³jê÷h´MQubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjµøjjµøj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX�**Parameters** ``struct usb_driver *driver`` USB operations of the interface driver to unregister **Context** must be able to sleep **Description** Unlinks the specified driver from the internal USB driver list. **NOTE** If you called usb_register_dev(), you still need to call usb_deregister_dev() to clean up your driver's allocated minor numbers, this * call will no longer do it for you.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¿øh]”hŒ Parameters”…”�”}”(hjÁøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj½øubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MUhj¹øubjD)�”}”(hhh]”jI)�”}”(hŒS``struct usb_driver *driver`` USB operations of the interface driver to unregister ”h]”(jO)�”}”(hŒ``struct usb_driver *driver``”h]”jÑ)�”}”(hjÞøh]”hŒstruct usb_driver *driver”…”�”}”(hjàøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÜøubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MRhjØøubji)�”}”(hhh]”hë)�”}”(hŒ4USB operations of the interface driver to unregister”h]”hŒ4USB operations of the interface driver to unregister”…”�”}”(hj÷øh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jóøh´MRhjôøubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjØøubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jóøh´MRhjÕøubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj¹øubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjùh]”hŒContext”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjùubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MThj¹øubhë)�”}”(hŒmust be able to sleep”h]”hŒmust be able to sleep”…”�”}”(hj/ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MShj¹øubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj@ùh]”hŒ Description”…”�”}”(hjBùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj>ùubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MUhj¹øubhë)�”}”(hŒ?Unlinks the specified driver from the internal USB driver list.”h]”hŒ?Unlinks the specified driver from the internal USB driver list.”…”�”}”(hjVùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MThj¹øubhë)�”}”(hŒ**NOTE**”h]”j.)�”}”(hjgùh]”hŒNOTE”…”�”}”(hjiùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjeùubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MVhj¹øubhë)�”}”(hŒªIf you called usb_register_dev(), you still need to call usb_deregister_dev() to clean up your driver's allocated minor numbers, this * call will no longer do it for you.”h]”hŒ¬If you called usb_register_dev(), you still need to call usb_deregister_dev() to clean up your driver’s allocated minor numbers, this * call will no longer do it for you.”…”�”}”(hj}ùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MWhj¹øubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ,usb_core.usb_enable_autosuspend (C function)”Œ!c.usb_core.usb_enable_autosuspend”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ5void usb_enable_autosuspend (struct usb_device *udev)”h]”j+)�”}”(hŒ4void usb_enable_autosuspend(struct usb_device *udev)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj¬ùh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj¨ùh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M˜ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj»ùh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¨ùh²hh³jºùh´M˜ubj„)�”}”(hŒusb_enable_autosuspend”h]”jŠ)�”}”(hŒusb_enable_autosuspend”h]”hŒusb_enable_autosuspend”…”�”}”(hjÍùh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÉùubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj¨ùh²hh³jºùh´M˜ubj¥)�”}”(hŒ(struct usb_device *udev)”h]”j«)�”}”(hŒstruct usb_device *udev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjéùh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjåùubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjöùh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåùubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjúubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j úŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÏùsbŒ!c.usb_core.usb_enable_autosuspend”†”esbuh1hhjåùubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj(úh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåùubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj6úh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjåùubjŠ)�”}”(hŒudev”h]”hŒudev”…”�”}”(hjCúh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjåùubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjáùubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj¨ùh²hh³jºùh´M˜ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj¤ùh²hh³jºùh´M˜ubah}”(h]”jŸùah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jºùh´M˜hj¡ùh²hubjü)�”}”(hhh]”hë)�”}”(hŒ&allow a USB device to be autosuspended”h]”hŒ&allow a USB device to be autosuspended”…”�”}”(hjmúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M˜hjjúh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj¡ùh²hh³jºùh´M˜ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj…újj…új ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXH**Parameters** ``struct usb_device *udev`` the USB device which may be autosuspended **Description** This routine allows **udev** to be autosuspended. An autosuspend won't take place until the autosuspend_delay has elapsed and all the other necessary conditions are satisfied. The caller must hold **udev**'s device lock.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj�úh]”hŒ Parameters”…”�”}”(hj‘úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj�úubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mœhj‰úubjD)�”}”(hhh]”jI)�”}”(hŒF``struct usb_device *udev`` the USB device which may be autosuspended ”h]”(jO)�”}”(hŒ``struct usb_device *udev``”h]”jÑ)�”}”(hj®úh]”hŒstruct usb_device *udev”…”�”}”(hj°úh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¬úubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M™hj¨úubji)�”}”(hhh]”hë)�”}”(hŒ)the USB device which may be autosuspended”h]”hŒ)the USB device which may be autosuspended”…”�”}”(hjÇúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÃúh´M™hjÄúubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¨úubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÃúh´M™hj¥úubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj‰úubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjéúh]”hŒ Description”…”�”}”(hjëúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjçúubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M›hj‰úubhë)�”}”(hŒ°This routine allows **udev** to be autosuspended. An autosuspend won't take place until the autosuspend_delay has elapsed and all the other necessary conditions are satisfied.”h]”(hŒThis routine allows ”…”�”}”(hjÿúh²hh³Nh´Nubj.)�”}”(hŒ**udev**”h]”hŒudev”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÿúubhŒ– to be autosuspended. An autosuspend won’t take place until the autosuspend_delay has elapsed and all the other necessary conditions are satisfied.”…”�”}”(hjÿúh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mšhj‰úubhë)�”}”(hŒ,The caller must hold **udev**'s device lock.”h]”(hŒThe caller must hold ”…”�”}”(hj ûh²hh³Nh´Nubj.)�”}”(hŒ**udev**”h]”hŒudev”…”�”}”(hj(ûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj ûubhŒ’s device lock.”…”�”}”(hj ûh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mžhj‰úubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_core.usb_disable_autosuspend (C function)”Œ"c.usb_core.usb_disable_autosuspend”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ6void usb_disable_autosuspend (struct usb_device *udev)”h]”j+)�”}”(hŒ5void usb_disable_autosuspend(struct usb_device *udev)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjaûh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj]ûh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M¨ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjpûh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj]ûh²hh³joûh´M¨ubj„)�”}”(hŒusb_disable_autosuspend”h]”jŠ)�”}”(hŒusb_disable_autosuspend”h]”hŒusb_disable_autosuspend”…”�”}”(hj‚ûh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj~ûubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj]ûh²hh³joûh´M¨ubj¥)�”}”(hŒ(struct usb_device *udev)”h]”j«)�”}”(hŒstruct usb_device *udev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjžûh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjšûubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj«ûh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjšûubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj¼ûh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¹ûubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¾ûŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj„ûsbŒ"c.usb_core.usb_disable_autosuspend”†”esbuh1hhjšûubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÝûh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjšûubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjëûh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjšûubjŠ)�”}”(hŒudev”h]”hŒudev”…”�”}”(hjøûh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjšûubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj–ûubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj]ûh²hh³joûh´M¨ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjYûh²hh³joûh´M¨ubah}”(h]”jTûah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³joûh´M¨hjVûh²hubjü)�”}”(hhh]”hë)�”}”(hŒ-prevent a USB device from being autosuspended”h]”hŒ-prevent a USB device from being autosuspended”…”�”}”(hj"üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M¨hjüh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjVûh²hh³joûh´M¨ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj:üjj:üj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX**Parameters** ``struct usb_device *udev`` the USB device which may not be autosuspended **Description** This routine prevents **udev** from being autosuspended and wakes it up if it is already autosuspended. The caller must hold **udev**'s device lock.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjDüh]”hŒ Parameters”…”�”}”(hjFüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjBüubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M¬hj>üubjD)�”}”(hhh]”jI)�”}”(hŒJ``struct usb_device *udev`` the USB device which may not be autosuspended ”h]”(jO)�”}”(hŒ``struct usb_device *udev``”h]”jÑ)�”}”(hjcüh]”hŒstruct usb_device *udev”…”�”}”(hjeüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjaüubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M©hj]üubji)�”}”(hhh]”hë)�”}”(hŒ-the USB device which may not be autosuspended”h]”hŒ-the USB device which may not be autosuspended”…”�”}”(hj|üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jxüh´M©hjyüubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj]üubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jxüh´M©hjZüubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj>üubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjžüh]”hŒ Description”…”�”}”(hj üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjœüubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M«hj>üubhë)�”}”(hŒgThis routine prevents **udev** from being autosuspended and wakes it up if it is already autosuspended.”h]”(hŒThis routine prevents ”…”�”}”(hj´üh²hh³Nh´Nubj.)�”}”(hŒ**udev**”h]”hŒudev”…”�”}”(hj¼üh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj´üubhŒI from being autosuspended and wakes it up if it is already autosuspended.”…”�”}”(hj´üh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mªhj>üubhë)�”}”(hŒ,The caller must hold **udev**'s device lock.”h]”(hŒThe caller must hold ”…”�”}”(hjÕüh²hh³Nh´Nubj.)�”}”(hŒ**udev**”h]”hŒudev”…”�”}”(hjÝüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÕüubhŒ’s device lock.”…”�”}”(hjÕüh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M­hj>üubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ.usb_core.usb_autopm_put_interface (C function)”Œ#c.usb_core.usb_autopm_put_interface”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ:void usb_autopm_put_interface (struct usb_interface *intf)”h]”j+)�”}”(hŒ9void usb_autopm_put_interface(struct usb_interface *intf)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjýh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MñubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj%ýh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjýh²hh³j$ýh´Mñubj„)�”}”(hŒusb_autopm_put_interface”h]”jŠ)�”}”(hŒusb_autopm_put_interface”h]”hŒusb_autopm_put_interface”…”�”}”(hj7ýh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj3ýubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjýh²hh³j$ýh´Mñubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjSýh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjOýubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj`ýh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjOýubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjqýh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjnýubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jsýŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj9ýsbŒ#c.usb_core.usb_autopm_put_interface”†”esbuh1hhjOýubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj’ýh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjOýubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj ýh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjOýubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hj­ýh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjOýubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjKýubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjýh²hh³j$ýh´Mñubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjýh²hh³j$ýh´Mñubah}”(h]”j ýah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j$ýh´Mñhj ýh²hubjü)�”}”(hhh]”hë)�”}”(hŒ,decrement a USB interface's PM-usage counter”h]”hŒ.decrement a USB interface’s PM-usage counter”…”�”}”(hj×ýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MñhjÔýh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj ýh²hh³j$ýh´Mñubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjïýjjïýj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX=**Parameters** ``struct usb_interface *intf`` the usb_interface whose counter should be decremented **Description** This routine should be called by an interface driver when it is finished using **intf** and wants to allow it to autosuspend. A typical example would be a character-device driver when its device file is closed. The routine decrements **intf**'s usage counter. When the counter reaches 0, a delayed autosuspend request for **intf**'s device is attempted. The attempt may fail (see autosuspend_check()). This routine can run only in process context.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjùýh]”hŒ Parameters”…”�”}”(hjûýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj÷ýubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MõhjóýubjD)�”}”(hhh]”jI)�”}”(hŒU``struct usb_interface *intf`` the usb_interface whose counter should be decremented ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjþh]”hŒstruct usb_interface *intf”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mòhjþubji)�”}”(hhh]”hë)�”}”(hŒ5the usb_interface whose counter should be decremented”h]”hŒ5the usb_interface whose counter should be decremented”…”�”}”(hj1þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j-þh´Mòhj.þubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjþubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j-þh´Mòhjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjóýubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjSþh]”hŒ Description”…”�”}”(hjUþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjQþubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Môhjóýubhë)�”}”(hŒÓThis routine should be called by an interface driver when it is finished using **intf** and wants to allow it to autosuspend. A typical example would be a character-device driver when its device file is closed.”h]”(hŒOThis routine should be called by an interface driver when it is finished using ”…”�”}”(hjiþh²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hjqþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjiþubhŒ| and wants to allow it to autosuspend. A typical example would be a character-device driver when its device file is closed.”…”�”}”(hjiþh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Móhjóýubhë)�”}”(hŒÀThe routine decrements **intf**'s usage counter. When the counter reaches 0, a delayed autosuspend request for **intf**'s device is attempted. The attempt may fail (see autosuspend_check()).”h]”(hŒThe routine decrements ”…”�”}”(hjŠþh²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hj’þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŠþubhŒS’s usage counter. When the counter reaches 0, a delayed autosuspend request for ”…”�”}”(hjŠþh²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hj¤þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŠþubhŒJ’s device is attempted. The attempt may fail (see autosuspend_check()).”…”�”}”(hjŠþh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Møhjóýubhë)�”}”(hŒ-This routine can run only in process context.”h]”hŒ-This routine can run only in process context.”…”�”}”(hj½þh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mühjóýubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ4usb_core.usb_autopm_put_interface_async (C function)”Œ)c.usb_core.usb_autopm_put_interface_async”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ@void usb_autopm_put_interface_async (struct usb_interface *intf)”h]”j+)�”}”(hŒ?void usb_autopm_put_interface_async(struct usb_interface *intf)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjìþh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjèþh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjûþh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjèþh²hh³júþh´M ubj„)�”}”(hŒusb_autopm_put_interface_async”h]”jŠ)�”}”(hŒusb_autopm_put_interface_async”h]”hŒusb_autopm_put_interface_async”…”�”}”(hj ÿh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ÿubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjèþh²hh³júþh´M ubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj)ÿh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj%ÿubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj6ÿh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj%ÿubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjGÿh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjDÿubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jIÿŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÿsbŒ)c.usb_core.usb_autopm_put_interface_async”†”esbuh1hhj%ÿubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjhÿh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj%ÿubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjvÿh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj%ÿubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hjƒÿh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj%ÿubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj!ÿubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjèþh²hh³júþh´M ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjäþh²hh³júþh´M ubah}”(h]”jßþah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³júþh´M hjáþh²hubjü)�”}”(hhh]”hë)�”}”(hŒ,decrement a USB interface's PM-usage counter”h]”hŒ.decrement a USB interface’s PM-usage counter”…”�”}”(hj­ÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M hjªÿh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjáþh²hh³júþh´M ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÅÿjjÅÿj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXU**Parameters** ``struct usb_interface *intf`` the usb_interface whose counter should be decremented **Description** This routine does much the same thing as usb_autopm_put_interface(): It decrements **intf**'s usage counter and schedules a delayed autosuspend request if the counter is <= 0. The difference is that it does not perform any synchronization; callers should hold a private lock and handle all synchronization issues themselves. Typically a driver would call this routine during an URB's completion handler, if no more URBs were pending. This routine can run in atomic context.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÏÿh]”hŒ Parameters”…”�”}”(hjÑÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÍÿubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÉÿubjD)�”}”(hhh]”jI)�”}”(hŒU``struct usb_interface *intf`` the usb_interface whose counter should be decremented ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjîÿh]”hŒstruct usb_interface *intf”…”�”}”(hjðÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjìÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mhjèÿubji)�”}”(hhh]”hë)�”}”(hŒ5the usb_interface whose counter should be decremented”h]”hŒ5the usb_interface whose counter should be decremented”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jh´Mhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjèÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jh´Mhjåÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjÉÿubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj)h]”hŒ Description”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÉÿubhë)�”}”(hXEThis routine does much the same thing as usb_autopm_put_interface(): It decrements **intf**'s usage counter and schedules a delayed autosuspend request if the counter is <= 0. The difference is that it does not perform any synchronization; callers should hold a private lock and handle all synchronization issues themselves.”h]”(hŒSThis routine does much the same thing as usb_autopm_put_interface(): It decrements ”…”�”}”(hj?h²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj?ubhŒì’s usage counter and schedules a delayed autosuspend request if the counter is <= 0. The difference is that it does not perform any synchronization; callers should hold a private lock and handle all synchronization issues themselves.”…”�”}”(hj?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÉÿubhë)�”}”(hŒlTypically a driver would call this routine during an URB's completion handler, if no more URBs were pending.”h]”hŒnTypically a driver would call this routine during an URB’s completion handler, if no more URBs were pending.”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÉÿubhë)�”}”(hŒ'This routine can run in atomic context.”h]”hŒ'This routine can run in atomic context.”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MhjÉÿubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ9usb_core.usb_autopm_put_interface_no_suspend (C function)”Œ.c.usb_core.usb_autopm_put_interface_no_suspend”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒEvoid usb_autopm_put_interface_no_suspend (struct usb_interface *intf)”h]”j+)�”}”(hŒDvoid usb_autopm_put_interface_no_suspend(struct usb_interface *intf)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjšh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M'ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjšh²hh³j¬h´M'ubj„)�”}”(hŒ#usb_autopm_put_interface_no_suspend”h]”jŠ)�”}”(hŒ#usb_autopm_put_interface_no_suspend”h]”hŒ#usb_autopm_put_interface_no_suspend”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj»ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjšh²hh³j¬h´M'ubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj×ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjèh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj×ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjöubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jûŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÁsbŒ.c.usb_core.usb_autopm_put_interface_no_suspend”†”esbuh1hhj×ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj×ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj×ubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj×ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÓubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjšh²hh³j¬h´M'ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj–h²hh³j¬h´M'ubah}”(h]”j‘ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j¬h´M'hj“h²hubjü)�”}”(hhh]”hë)�”}”(hŒ,decrement a USB interface's PM-usage counter”h]”hŒ.decrement a USB interface’s PM-usage counter”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M'hj\h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj“h²hh³j¬h´M'ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjwjjwj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hŒù**Parameters** ``struct usb_interface *intf`` the usb_interface whose counter should be decremented **Description** This routine decrements **intf**'s usage counter but does not carry out an autosuspend. This routine can run in atomic context.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj�h]”hŒ Parameters”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M+hj{ubjD)�”}”(hhh]”jI)�”}”(hŒU``struct usb_interface *intf`` the usb_interface whose counter should be decremented ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hj h]”hŒstruct usb_interface *intf”…”�”}”(hj¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjžubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M(hjšubji)�”}”(hhh]”hë)�”}”(hŒ5the usb_interface whose counter should be decremented”h]”hŒ5the usb_interface whose counter should be decremented”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jµh´M(hj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjšubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jµh´M(hj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj{ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÛh]”hŒ Description”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M*hj{ubhë)�”}”(hŒWThis routine decrements **intf**'s usage counter but does not carry out an autosuspend.”h]”(hŒThis routine decrements ”…”�”}”(hjñh²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjñubhŒ9’s usage counter but does not carry out an autosuspend.”…”�”}”(hjñh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M)hj{ubhë)�”}”(hŒ'This routine can run in atomic context.”h]”hŒ'This routine can run in atomic context.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M,hj{ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ.usb_core.usb_autopm_get_interface (C function)”Œ#c.usb_core.usb_autopm_get_interface”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ9int usb_autopm_get_interface (struct usb_interface *intf)”h]”j+)�”}”(hŒ8int usb_autopm_get_interface(struct usb_interface *intf)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj=h²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M9ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj=h²hh³jOh´M9ubj„)�”}”(hŒusb_autopm_get_interface”h]”jŠ)�”}”(hŒusb_autopm_get_interface”h]”hŒusb_autopm_get_interface”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj^ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj=h²hh³jOh´M9ubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjzubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjzubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj™ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jžŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjdsbŒ#c.usb_core.usb_autopm_get_interface”†”esbuh1hhjzubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjzubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjzubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjzubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjvubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj=h²hh³jOh´M9ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj9h²hh³jOh´M9ubah}”(h]”j4ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jOh´M9hj6h²hubjü)�”}”(hhh]”hë)�”}”(hŒ,increment a USB interface's PM-usage counter”h]”hŒ.increment a USB interface’s PM-usage counter”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M9hjÿh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj6h²hh³jOh´M9ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjjjj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX.**Parameters** ``struct usb_interface *intf`` the usb_interface whose counter should be incremented **Description** This routine should be called by an interface driver when it wants to use **intf** and needs to guarantee that it is not suspended. In addition, the routine prevents **intf** from being autosuspended subsequently. (Note that this will not prevent suspend events originating in the PM core.) This prevention will persist until usb_autopm_put_interface() is called or **intf** is unbound. A typical example would be a character-device driver when its device file is opened. **intf**'s usage counter is incremented to prevent subsequent autosuspends. However if the autoresume fails then the counter is re-decremented. This routine can run only in process context. **Return** 0 on success.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj$h]”hŒ Parameters”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M=hjubjD)�”}”(hhh]”jI)�”}”(hŒU``struct usb_interface *intf`` the usb_interface whose counter should be incremented ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjCh]”hŒstruct usb_interface *intf”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjAubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M:hj=ubji)�”}”(hhh]”hë)�”}”(hŒ5the usb_interface whose counter should be incremented”h]”hŒ5the usb_interface whose counter should be incremented”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jXh´M:hjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jXh´M:hj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj~h]”hŒ Description”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M<hjubhë)�”}”(hXÚThis routine should be called by an interface driver when it wants to use **intf** and needs to guarantee that it is not suspended. In addition, the routine prevents **intf** from being autosuspended subsequently. (Note that this will not prevent suspend events originating in the PM core.) This prevention will persist until usb_autopm_put_interface() is called or **intf** is unbound. A typical example would be a character-device driver when its device file is opened.”h]”(hŒJThis routine should be called by an interface driver when it wants to use ”…”�”}”(hj”h²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj”ubhŒU and needs to guarantee that it is not suspended. In addition, the routine prevents ”…”�”}”(hj”h²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj”ubhŒÁ from being autosuspended subsequently. (Note that this will not prevent suspend events originating in the PM core.) This prevention will persist until usb_autopm_put_interface() is called or ”…”�”}”(hj”h²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj”ubhŒb is unbound. A typical example would be a character-device driver when its device file is opened.”…”�”}”(hj”h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M;hjubhë)�”}”(hŒ�**intf**'s usage counter is incremented to prevent subsequent autosuspends. However if the autoresume fails then the counter is re-decremented.”h]”(j.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÙubhŒ‰â€™s usage counter is incremented to prevent subsequent autosuspends. However if the autoresume fails then the counter is re-decremented.”…”�”}”(hjÙh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MChjubhë)�”}”(hŒ-This routine can run only in process context.”h]”hŒ-This routine can run only in process context.”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MFhjubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjh]”hŒReturn”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MHhjubhë)�”}”(hŒ 0 on success.”h]”hŒ 0 on success.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MIhjubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ4usb_core.usb_autopm_get_interface_async (C function)”Œ)c.usb_core.usb_autopm_get_interface_async”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ?int usb_autopm_get_interface_async (struct usb_interface *intf)”h]”j+)�”}”(hŒ>int usb_autopm_get_interface_async(struct usb_interface *intf)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjHh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MXubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjHh²hh³jZh´MXubj„)�”}”(hŒusb_autopm_get_interface_async”h]”jŠ)�”}”(hŒusb_autopm_get_interface_async”h]”hŒusb_autopm_get_interface_async”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjiubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjHh²hh³jZh´MXubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj…ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj…ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¤ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j©Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjosbŒ)c.usb_core.usb_autopm_get_interface_async”†”esbuh1hhj…ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj…ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj…ubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj…ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjHh²hh³jZh´MXubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjDh²hh³jZh´MXubah}”(h]”j?ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jZh´MXhjAh²hubjü)�”}”(hhh]”hë)�”}”(hŒ,increment a USB interface's PM-usage counter”h]”hŒ.increment a USB interface’s PM-usage counter”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MXhj h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjAh²hh³jZh´MXubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj%jj%j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX§**Parameters** ``struct usb_interface *intf`` the usb_interface whose counter should be incremented **Description** This routine does much the same thing as usb_autopm_get_interface(): It increments **intf**'s usage counter and queues an autoresume request if the device is suspended. The differences are that it does not perform any synchronization (callers should hold a private lock and handle all synchronization issues themselves), and it does not autoresume the device directly (it only queues a request). After a successful call, the device may not yet be resumed. This routine can run in atomic context. **Return** 0 on success. A negative error code otherwise.”•h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj/h]”hŒ Parameters”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj-ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M\hj)ubjD)�”}”(hhh]”jI)�”}”(hŒU``struct usb_interface *intf`` the usb_interface whose counter should be incremented ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjNh]”hŒstruct usb_interface *intf”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjLubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MYhjHubji)�”}”(hhh]”hë)�”}”(hŒ5the usb_interface whose counter should be incremented”h]”hŒ5the usb_interface whose counter should be incremented”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jch´MYhjdubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jch´MYhjEubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj)ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj‰h]”hŒ Description”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M[hj)ubhë)�”}”(hXÉThis routine does much the same thing as usb_autopm_get_interface(): It increments **intf**'s usage counter and queues an autoresume request if the device is suspended. The differences are that it does not perform any synchronization (callers should hold a private lock and handle all synchronization issues themselves), and it does not autoresume the device directly (it only queues a request). After a successful call, the device may not yet be resumed.”h]”(hŒSThis routine does much the same thing as usb_autopm_get_interface(): It increments ”…”�”}”(hjŸh²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŸubhXp’s usage counter and queues an autoresume request if the device is suspended. The differences are that it does not perform any synchronization (callers should hold a private lock and handle all synchronization issues themselves), and it does not autoresume the device directly (it only queues a request). After a successful call, the device may not yet be resumed.”…”�”}”(hjŸh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MZhj)ubhë)�”}”(hŒ'This routine can run in atomic context.”h]”hŒ'This routine can run in atomic context.”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mchj)ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÑh]”hŒReturn”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mehj)ubhë)�”}”(hŒ.0 on success. A negative error code otherwise.”h]”hŒ.0 on success. A negative error code otherwise.”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mfhj)ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ8usb_core.usb_autopm_get_interface_no_resume (C function)”Œ-c.usb_core.usb_autopm_get_interface_no_resume”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒDvoid usb_autopm_get_interface_no_resume (struct usb_interface *intf)”h]”j+)�”}”(hŒCvoid usb_autopm_get_interface_no_resume(struct usb_interface *intf)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjh²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MyubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjh²hh³j$h´Myubj„)�”}”(hŒ"usb_autopm_get_interface_no_resume”h]”jŠ)�”}”(hŒ"usb_autopm_get_interface_no_resume”h]”hŒ"usb_autopm_get_interface_no_resume”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj3ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjh²hh³j$h´Myubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjOubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjOubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjnubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jsŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj9sbŒ-c.usb_core.usb_autopm_get_interface_no_resume”†”esbuh1hhjOubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjOubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjOubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjOubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjKubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjh²hh³j$h´Myubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjh²hh³j$h´Myubah}”(h]”j ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j$h´Myhj h²hubjü)�”}”(hhh]”hë)�”}”(hŒ,increment a USB interface's PM-usage counter”h]”hŒ.increment a USB interface’s PM-usage counter”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´MyhjÔh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj h²hh³j$h´Myubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjïjjïj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hŒø**Parameters** ``struct usb_interface *intf`` the usb_interface whose counter should be incremented **Description** This routine increments **intf**'s usage counter but does not carry out an autoresume. This routine can run in atomic context.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjùh]”hŒ Parameters”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M}hjóubjD)�”}”(hhh]”jI)�”}”(hŒU``struct usb_interface *intf`` the usb_interface whose counter should be incremented ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjh]”hŒstruct usb_interface *intf”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´Mzhjubji)�”}”(hhh]”hë)�”}”(hŒ5the usb_interface whose counter should be incremented”h]”hŒ5the usb_interface whose counter should be incremented”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j-h´Mzhj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j-h´Mzhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjóubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjSh]”hŒ Description”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjQubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M|hjóubhë)�”}”(hŒVThis routine increments **intf**'s usage counter but does not carry out an autoresume.”h]”(hŒThis routine increments ”…”�”}”(hjih²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjiubhŒ8’s usage counter but does not carry out an autoresume.”…”�”}”(hjih²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M{hjóubhë)�”}”(hŒ'This routine can run in atomic context.”h]”hŒ'This routine can run in atomic context.”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:171: ./drivers/usb/core/driver.c”h´M~hjóubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ/usb_core.usb_find_common_endpoints (C function)”Œ$c.usb_core.usb_find_common_endpoints”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒæint usb_find_common_endpoints (struct usb_host_interface *alt, struct usb_endpoint_descriptor **bulk_in, struct usb_endpoint_descriptor **bulk_out, struct usb_endpoint_descriptor **int_in, struct usb_endpoint_descriptor **int_out)”h]”j+)�”}”(hŒåint usb_find_common_endpoints(struct usb_host_interface *alt, struct usb_endpoint_descriptor **bulk_in, struct usb_endpoint_descriptor **bulk_out, struct usb_endpoint_descriptor **int_in, struct usb_endpoint_descriptor **int_out)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjµh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´KxubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjµh²hh³jÇh´Kxubj„)�”}”(hŒusb_find_common_endpoints”h]”jŠ)�”}”(hŒusb_find_common_endpoints”h]”hŒusb_find_common_endpoints”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÖubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjµh²hh³jÇh´Kxubj¥)�”}”(hŒÈ(struct usb_host_interface *alt, struct usb_endpoint_descriptor **bulk_in, struct usb_endpoint_descriptor **bulk_out, struct usb_endpoint_descriptor **int_in, struct usb_endpoint_descriptor **int_out)”h]”(j«)�”}”(hŒstruct usb_host_interface *alt”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjòubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjòubh)�”}”(hhh]”jŠ)�”}”(hŒusb_host_interface”h]”hŒusb_host_interface”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÜsbŒ$c.usb_core.usb_find_common_endpoints”†”esbuh1hhjòubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjòubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjòubjŠ)�”}”(hŒalt”h]”hŒalt”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjòubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjîubj«)�”}”(hŒ(struct usb_endpoint_descriptor **bulk_in”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjeubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjeubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj„ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j‰Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j1Œ$c.usb_core.usb_find_common_endpoints”†”esbuh1hhjeubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjeubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjeubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjeubjŠ)�”}”(hŒbulk_in”h]”hŒbulk_in”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjeubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjîubj«)�”}”(hŒ)struct usb_endpoint_descriptor **bulk_out”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjãubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjãubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j1Œ$c.usb_core.usb_find_common_endpoints”†”esbuh1hhjãubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj$ h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjãubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj2 h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjãubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj? h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjãubjŠ)�”}”(hŒbulk_out”h]”hŒbulk_out”…”�”}”(hjL h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjãubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjîubj«)�”}”(hŒ'struct usb_endpoint_descriptor **int_in”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hje h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hja ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjr h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhja ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hjƒ h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj€ ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j… Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j1Œ$c.usb_core.usb_find_common_endpoints”†”esbuh1hhja ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¢ h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhja ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj° h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhja ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj½ h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhja ubjŠ)�”}”(hŒint_in”h]”hŒint_in”…”�”}”(hjÊ h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hja ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjîubj«)�”}”(hŒ(struct usb_endpoint_descriptor **int_out”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjã h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjß ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjð h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjß ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjþ ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j1Œ$c.usb_core.usb_find_common_endpoints”†”esbuh1hhjß ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjß ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj. h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjß ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj; h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjß ubjŠ)�”}”(hŒint_out”h]”hŒint_out”…”�”}”(hjH h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjß ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjîubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjµh²hh³jÇh´Kxubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj±h²hh³jÇh´Kxubah}”(h]”j¬ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÇh´Kxhj®h²hubjü)�”}”(hhh]”j¶)�”}”(hhh]”j»)�”}”(hŒ#look up common endpoint descriptors”h]”hë)�”}”(hjw h]”hŒ#look up common endpoint descriptors”…”�”}”(hjy h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kxhju ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjr h²hh³j† h´Nubah}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³j† h´Kxhjo h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj®h²hh³jÇh´Kxubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjœ jjœ j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX**Parameters** ``struct usb_host_interface *alt`` alternate setting to search ``struct usb_endpoint_descriptor **bulk_in`` pointer to descriptor pointer, or NULL ``struct usb_endpoint_descriptor **bulk_out`` pointer to descriptor pointer, or NULL ``struct usb_endpoint_descriptor **int_in`` pointer to descriptor pointer, or NULL ``struct usb_endpoint_descriptor **int_out`` pointer to descriptor pointer, or NULL **Description** Search the alternate setting's endpoint descriptors for the first bulk-in, bulk-out, interrupt-in and interrupt-out endpoints and return them in the provided pointers (unless they are NULL). If a requested endpoint is not found, the corresponding pointer is set to NULL. **Return** Zero if all requested descriptors were found, or -ENXIO otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¦ h]”hŒ Parameters”…”�”}”(hj¨ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¤ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K|hj  ubjD)�”}”(hhh]”(jI)�”}”(hŒ?``struct usb_host_interface *alt`` alternate setting to search ”h]”(jO)�”}”(hŒ"``struct usb_host_interface *alt``”h]”jÑ)�”}”(hjÅ h]”hŒstruct usb_host_interface *alt”…”�”}”(hjÇ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjà ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kyhj¿ ubji)�”}”(hhh]”hë)�”}”(hŒalternate setting to search”h]”hŒalternate setting to search”…”�”}”(hjÞ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÚ h´KyhjÛ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¿ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÚ h´Kyhj¼ ubjI)�”}”(hŒT``struct usb_endpoint_descriptor **bulk_in`` pointer to descriptor pointer, or NULL ”h]”(jO)�”}”(hŒ,``struct usb_endpoint_descriptor **bulk_in``”h]”jÑ)�”}”(hjþ h]”hŒ(struct usb_endpoint_descriptor **bulk_in”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjü ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kzhjø ubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to descriptor pointer, or NULL”h]”hŒ&pointer to descriptor pointer, or NULL”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j h´Kzhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjø ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j h´Kzhj¼ ubjI)�”}”(hŒU``struct usb_endpoint_descriptor **bulk_out`` pointer to descriptor pointer, or NULL ”h]”(jO)�”}”(hŒ-``struct usb_endpoint_descriptor **bulk_out``”h]”jÑ)�”}”(hj7 h]”hŒ)struct usb_endpoint_descriptor **bulk_out”…”�”}”(hj9 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj5 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K{hj1 ubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to descriptor pointer, or NULL”h]”hŒ&pointer to descriptor pointer, or NULL”…”�”}”(hjP h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jL h´K{hjM ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj1 ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jL h´K{hj¼ ubjI)�”}”(hŒS``struct usb_endpoint_descriptor **int_in`` pointer to descriptor pointer, or NULL ”h]”(jO)�”}”(hŒ+``struct usb_endpoint_descriptor **int_in``”h]”jÑ)�”}”(hjp h]”hŒ'struct usb_endpoint_descriptor **int_in”…”�”}”(hjr h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjn ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K|hjj ubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to descriptor pointer, or NULL”h]”hŒ&pointer to descriptor pointer, or NULL”…”�”}”(hj‰ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j… h´K|hj† ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j… h´K|hj¼ ubjI)�”}”(hŒT``struct usb_endpoint_descriptor **int_out`` pointer to descriptor pointer, or NULL ”h]”(jO)�”}”(hŒ,``struct usb_endpoint_descriptor **int_out``”h]”jÑ)�”}”(hj© h]”hŒ(struct usb_endpoint_descriptor **int_out”…”�”}”(hj« h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj§ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K}hj£ ubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to descriptor pointer, or NULL”h]”hŒ&pointer to descriptor pointer, or NULL”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¾ h´K}hj¿ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj£ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¾ h´K}hj¼ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj  ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjä h]”hŒ Description”…”�”}”(hjæ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjâ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Khj  ubhë)�”}”(hŒ¾Search the alternate setting's endpoint descriptors for the first bulk-in, bulk-out, interrupt-in and interrupt-out endpoints and return them in the provided pointers (unless they are NULL).”h]”hŒÀSearch the alternate setting’s endpoint descriptors for the first bulk-in, bulk-out, interrupt-in and interrupt-out endpoints and return them in the provided pointers (unless they are NULL).”…”�”}”(hjú h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K~hj  ubhë)�”}”(hŒOIf a requested endpoint is not found, the corresponding pointer is set to NULL.”h]”hŒOIf a requested endpoint is not found, the corresponding pointer is set to NULL.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K‚hj  ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj h]”hŒReturn”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K…hj  ubhë)�”}”(hŒBZero if all requested descriptors were found, or -ENXIO otherwise.”h]”hŒBZero if all requested descriptors were found, or -ENXIO otherwise.”…”�”}”(hj0 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K†hj  ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ7usb_core.usb_find_common_endpoints_reverse (C function)”Œ,c.usb_core.usb_find_common_endpoints_reverse”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒîint usb_find_common_endpoints_reverse (struct usb_host_interface *alt, struct usb_endpoint_descriptor **bulk_in, struct usb_endpoint_descriptor **bulk_out, struct usb_endpoint_descriptor **int_in, struct usb_endpoint_descriptor **int_out)”h]”j+)�”}”(hŒíint usb_find_common_endpoints_reverse(struct usb_host_interface *alt, struct usb_endpoint_descriptor **bulk_in, struct usb_endpoint_descriptor **bulk_out, struct usb_endpoint_descriptor **int_in, struct usb_endpoint_descriptor **int_out)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj_ h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj[ h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K¦ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjn h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj[ h²hh³jm h´K¦ubj„)�”}”(hŒ!usb_find_common_endpoints_reverse”h]”jŠ)�”}”(hŒ!usb_find_common_endpoints_reverse”h]”hŒ!usb_find_common_endpoints_reverse”…”�”}”(hj€ h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj| ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj[ h²hh³jm h´K¦ubj¥)�”}”(hŒÈ(struct usb_host_interface *alt, struct usb_endpoint_descriptor **bulk_in, struct usb_endpoint_descriptor **bulk_out, struct usb_endpoint_descriptor **int_in, struct usb_endpoint_descriptor **int_out)”h]”(j«)�”}”(hŒstruct usb_host_interface *alt”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjœ h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj˜ ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj˜ ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_host_interface”h]”hŒusb_host_interface”…”�”}”(hjº h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj· ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¼ Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj‚ sbŒ,c.usb_core.usb_find_common_endpoints_reverse”†”esbuh1hhj˜ ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÛ h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj˜ ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjé h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj˜ ubjŠ)�”}”(hŒalt”h]”hŒalt”…”�”}”(hjö h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj˜ ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj” ubj«)�”}”(hŒ(struct usb_endpoint_descriptor **bulk_in”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hj- h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj* ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j/ Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j× Œ,c.usb_core.usb_find_common_endpoints_reverse”†”esbuh1hhj ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjL h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjZ h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjg h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj ubjŠ)�”}”(hŒbulk_in”h]”hŒbulk_in”…”�”}”(hjt h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj” ubj«)�”}”(hŒ)struct usb_endpoint_descriptor **bulk_out”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj‰ ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjš h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj‰ ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hj« h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¨ ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j­ Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j× Œ,c.usb_core.usb_find_common_endpoints_reverse”†”esbuh1hhj‰ ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÊ h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj‰ ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjØ h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj‰ ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjå h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj‰ ubjŠ)�”}”(hŒbulk_out”h]”hŒbulk_out”…”�”}”(hjò h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‰ ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj” ubj«)�”}”(hŒ'struct usb_endpoint_descriptor **int_in”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj&ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j+Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j× Œ,c.usb_core.usb_find_common_endpoints_reverse”†”esbuh1hhjubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjubjŠ)�”}”(hŒint_in”h]”hŒint_in”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj” ubj«)�”}”(hŒ(struct usb_endpoint_descriptor **int_out”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj…ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj…ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_endpoint_descriptor”h]”hŒusb_endpoint_descriptor”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¤ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j©Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j× Œ,c.usb_core.usb_find_common_endpoints_reverse”†”esbuh1hhj…ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj…ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj…ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj…ubjŠ)�”}”(hŒint_out”h]”hŒint_out”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj…ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj” ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj[ h²hh³jm h´K¦ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjW h²hh³jm h´K¦ubah}”(h]”jR ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jm h´K¦hjT h²hubjü)�”}”(hhh]”j¶)�”}”(hhh]”j»)�”}”(hŒ#look up common endpoint descriptors”h]”hë)�”}”(hjh]”hŒ#look up common endpoint descriptors”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K¦hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjh²hh³j,h´Nubah}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³j,h´K¦hjh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjT h²hh³jm h´K¦ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjBjjBj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX**Parameters** ``struct usb_host_interface *alt`` alternate setting to search ``struct usb_endpoint_descriptor **bulk_in`` pointer to descriptor pointer, or NULL ``struct usb_endpoint_descriptor **bulk_out`` pointer to descriptor pointer, or NULL ``struct usb_endpoint_descriptor **int_in`` pointer to descriptor pointer, or NULL ``struct usb_endpoint_descriptor **int_out`` pointer to descriptor pointer, or NULL **Description** Search the alternate setting's endpoint descriptors for the last bulk-in, bulk-out, interrupt-in and interrupt-out endpoints and return them in the provided pointers (unless they are NULL). If a requested endpoint is not found, the corresponding pointer is set to NULL. **Return** Zero if all requested descriptors were found, or -ENXIO otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjLh]”hŒ Parameters”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjJubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´KªhjFubjD)�”}”(hhh]”(jI)�”}”(hŒ?``struct usb_host_interface *alt`` alternate setting to search ”h]”(jO)�”}”(hŒ"``struct usb_host_interface *alt``”h]”jÑ)�”}”(hjkh]”hŒstruct usb_host_interface *alt”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjiubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K§hjeubji)�”}”(hhh]”hë)�”}”(hŒalternate setting to search”h]”hŒalternate setting to search”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j€h´K§hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjeubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j€h´K§hjbubjI)�”}”(hŒT``struct usb_endpoint_descriptor **bulk_in`` pointer to descriptor pointer, or NULL ”h]”(jO)�”}”(hŒ,``struct usb_endpoint_descriptor **bulk_in``”h]”jÑ)�”}”(hj¤h]”hŒ(struct usb_endpoint_descriptor **bulk_in”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K¨hjžubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to descriptor pointer, or NULL”h]”hŒ&pointer to descriptor pointer, or NULL”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¹h´K¨hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjžubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¹h´K¨hjbubjI)�”}”(hŒU``struct usb_endpoint_descriptor **bulk_out`` pointer to descriptor pointer, or NULL ”h]”(jO)�”}”(hŒ-``struct usb_endpoint_descriptor **bulk_out``”h]”jÑ)�”}”(hjÝh]”hŒ)struct usb_endpoint_descriptor **bulk_out”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÛubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K©hj×ubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to descriptor pointer, or NULL”h]”hŒ&pointer to descriptor pointer, or NULL”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jòh´K©hjóubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jòh´K©hjbubjI)�”}”(hŒS``struct usb_endpoint_descriptor **int_in`` pointer to descriptor pointer, or NULL ”h]”(jO)�”}”(hŒ+``struct usb_endpoint_descriptor **int_in``”h]”jÑ)�”}”(hjh]”hŒ'struct usb_endpoint_descriptor **int_in”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kªhjubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to descriptor pointer, or NULL”h]”hŒ&pointer to descriptor pointer, or NULL”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j+h´Kªhj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j+h´KªhjbubjI)�”}”(hŒT``struct usb_endpoint_descriptor **int_out`` pointer to descriptor pointer, or NULL ”h]”(jO)�”}”(hŒ,``struct usb_endpoint_descriptor **int_out``”h]”jÑ)�”}”(hjOh]”hŒ(struct usb_endpoint_descriptor **int_out”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K«hjIubji)�”}”(hhh]”hë)�”}”(hŒ&pointer to descriptor pointer, or NULL”h]”hŒ&pointer to descriptor pointer, or NULL”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jdh´K«hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjIubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jdh´K«hjbubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjFubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjŠh]”hŒ Description”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K­hjFubhë)�”}”(hŒ½Search the alternate setting's endpoint descriptors for the last bulk-in, bulk-out, interrupt-in and interrupt-out endpoints and return them in the provided pointers (unless they are NULL).”h]”hŒ¿Search the alternate setting’s endpoint descriptors for the last bulk-in, bulk-out, interrupt-in and interrupt-out endpoints and return them in the provided pointers (unless they are NULL).”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K¬hjFubhë)�”}”(hŒOIf a requested endpoint is not found, the corresponding pointer is set to NULL.”h]”hŒOIf a requested endpoint is not found, the corresponding pointer is set to NULL.”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K°hjFubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÀh]”hŒReturn”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¾ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K³hjFubhë)�”}”(hŒBZero if all requested descriptors were found, or -ENXIO otherwise.”h]”hŒBZero if all requested descriptors were found, or -ENXIO otherwise.”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´K´hjFubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ.usb_core.usb_check_bulk_endpoints (C function)”Œ#c.usb_core.usb_check_bulk_endpoints”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒTbool usb_check_bulk_endpoints (const struct usb_interface *intf, const u8 *ep_addrs)”h]”j+)�”}”(hŒSbool usb_check_bulk_endpoints(const struct usb_interface *intf, const u8 *ep_addrs)”h]”(jT)�”}”(hj›h]”hŒbool”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´KíubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjh²hh³jh´Kíubj„)�”}”(hŒusb_check_bulk_endpoints”h]”jŠ)�”}”(hŒusb_check_bulk_endpoints”h]”hŒusb_check_bulk_endpoints”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj!ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjh²hh³jh´Kíubj¥)�”}”(hŒ6(const struct usb_interface *intf, const u8 *ep_addrs)”h]”(j«)�”}”(hŒ const struct usb_interface *intf”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj=ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj=ubj1)�”}”(hjh]”hŒstruct”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj=ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj=ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjwubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j|Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj'sbŒ#c.usb_core.usb_check_bulk_endpoints”†”esbuh1hhj=ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj=ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj=ubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj=ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj9ubj«)�”}”(hŒconst u8 *ep_addrs”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjËubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjËubh)�”}”(hhh]”jŠ)�”}”(hŒu8”h]”hŒu8”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjêubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jïŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j—Œ#c.usb_core.usb_check_bulk_endpoints”†”esbuh1hhjËubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjËubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjËubjŠ)�”}”(hŒep_addrs”h]”hŒep_addrs”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjËubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj9ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjh²hh³jh´Kíubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjýh²hh³jh´Kíubah}”(h]”jøah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jh´Kíhjúh²hubjü)�”}”(hhh]”hë)�”}”(hŒjCheck whether an interface's current altsetting contains a set of bulk endpoints with the given addresses.”h]”hŒlCheck whether an interface’s current altsetting contains a set of bulk endpoints with the given addresses.”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´KíhjNh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjúh²hh³jh´Kíubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjijjij ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX�**Parameters** ``const struct usb_interface *intf`` the interface whose current altsetting should be searched ``const u8 *ep_addrs`` 0-terminated array of the endpoint addresses (number and direction) to look for **Description** Search for endpoints with the specified addresses and check their types. **Return** ``true`` if all the endpoints are found and are bulk, ``false`` otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjsh]”hŒ Parameters”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjqubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´KñhjmubjD)�”}”(hhh]”(jI)�”}”(hŒ_``const struct usb_interface *intf`` the interface whose current altsetting should be searched ”h]”(jO)�”}”(hŒ$``const struct usb_interface *intf``”h]”jÑ)�”}”(hj’h]”hŒ const struct usb_interface *intf”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´KïhjŒubji)�”}”(hhh]”hë)�”}”(hŒ9the interface whose current altsetting should be searched”h]”hŒ9the interface whose current altsetting should be searched”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j§h´Kïhj¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j§h´Kïhj‰ubjI)�”}”(hŒg``const u8 *ep_addrs`` 0-terminated array of the endpoint addresses (number and direction) to look for ”h]”(jO)�”}”(hŒ``const u8 *ep_addrs``”h]”jÑ)�”}”(hjËh]”hŒconst u8 *ep_addrs”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´KñhjÅubji)�”}”(hhh]”hë)�”}”(hŒO0-terminated array of the endpoint addresses (number and direction) to look for”h]”hŒO0-terminated array of the endpoint addresses (number and direction) to look for”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kðhjáubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÅubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jàh´Kñhj‰ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjmubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjh]”hŒ Description”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kóhjmubhë)�”}”(hŒHSearch for endpoints with the specified addresses and check their types.”h]”hŒHSearch for endpoints with the specified addresses and check their types.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kòhjmubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj.h]”hŒReturn”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kôhjmubhë)�”}”(hŒJ``true`` if all the endpoints are found and are bulk, ``false`` otherwise.”h]”(jÑ)�”}”(hŒ``true``”h]”hŒtrue”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjDubhŒ. if all the endpoints are found and are bulk, ”…”�”}”(hjDh²hh³Nh´NubjÑ)�”}”(hŒ ``false``”h]”hŒfalse”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjDubhŒ otherwise.”…”�”}”(hjDh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Kõhjmubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_core.usb_check_int_endpoints (C function)”Œ"c.usb_core.usb_check_int_endpoints”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒSbool usb_check_int_endpoints (const struct usb_interface *intf, const u8 *ep_addrs)”h]”j+)�”}”(hŒRbool usb_check_int_endpoints(const struct usb_interface *intf, const u8 *ep_addrs)”h]”(jT)�”}”(hj›h]”hŒbool”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj�h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj�h²hh³j h´Mubj„)�”}”(hŒusb_check_int_endpoints”h]”jŠ)�”}”(hŒusb_check_int_endpoints”h]”hŒusb_check_int_endpoints”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¯ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj�h²hh³j h´Mubj¥)�”}”(hŒ6(const struct usb_interface *intf, const u8 *ep_addrs)”h]”(j«)�”}”(hŒ const struct usb_interface *intf”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjËubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjËubj1)�”}”(hjh]”hŒstruct”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjËubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjËubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjµsbŒ"c.usb_core.usb_check_int_endpoints”†”esbuh1hhjËubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjËubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjËubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjËubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÇubj«)�”}”(hŒconst u8 *ep_addrs”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjYubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjYubh)�”}”(hhh]”jŠ)�”}”(hŒu8”h]”hŒu8”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjxubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j}Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j%Œ"c.usb_core.usb_check_int_endpoints”†”esbuh1hhjYubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjYubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjYubjŠ)�”}”(hŒep_addrs”h]”hŒep_addrs”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjYubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÇubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj�h²hh³j h´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj‹h²hh³j h´Mubah}”(h]”j†ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j h´Mhjˆh²hubjü)�”}”(hhh]”hë)�”}”(hŒoCheck whether an interface's current altsetting contains a set of interrupt endpoints with the given addresses.”h]”hŒqCheck whether an interface’s current altsetting contains a set of interrupt endpoints with the given addresses.”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MhjÜh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjˆh²hh³j h´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj÷jj÷j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX”**Parameters** ``const struct usb_interface *intf`` the interface whose current altsetting should be searched ``const u8 *ep_addrs`` 0-terminated array of the endpoint addresses (number and direction) to look for **Description** Search for endpoints with the specified addresses and check their types. **Return** ``true`` if all the endpoints are found and are interrupt, ``false`` otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjh]”hŒ Parameters”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M hjûubjD)�”}”(hhh]”(jI)�”}”(hŒ_``const struct usb_interface *intf`` the interface whose current altsetting should be searched ”h]”(jO)�”}”(hŒ$``const struct usb_interface *intf``”h]”jÑ)�”}”(hj h]”hŒ const struct usb_interface *intf”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhjubji)�”}”(hhh]”hë)�”}”(hŒ9the interface whose current altsetting should be searched”h]”hŒ9the interface whose current altsetting should be searched”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j5h´Mhj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j5h´MhjubjI)�”}”(hŒg``const u8 *ep_addrs`` 0-terminated array of the endpoint addresses (number and direction) to look for ”h]”(jO)�”}”(hŒ``const u8 *ep_addrs``”h]”jÑ)�”}”(hjYh]”hŒconst u8 *ep_addrs”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjWubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M hjSubji)�”}”(hhh]”hë)�”}”(hŒO0-terminated array of the endpoint addresses (number and direction) to look for”h]”hŒO0-terminated array of the endpoint addresses (number and direction) to look for”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M hjoubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jnh´M hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjûubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj•h]”hŒ Description”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M hjûubhë)�”}”(hŒHSearch for endpoints with the specified addresses and check their types.”h]”hŒHSearch for endpoints with the specified addresses and check their types.”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M hjûubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj¼h]”hŒReturn”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M hjûubhë)�”}”(hŒO``true`` if all the endpoints are found and are interrupt, ``false`` otherwise.”h]”(jÑ)�”}”(hŒ``true``”h]”hŒtrue”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÒubhŒ3 if all the endpoints are found and are interrupt, ”…”�”}”(hjÒh²hh³Nh´NubjÑ)�”}”(hŒ ``false``”h]”hŒfalse”…”�”}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÒubhŒ otherwise.”…”�”}”(hjÒh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhjûubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ*usb_core.usb_find_alt_setting (C function)”Œc.usb_core.usb_find_alt_setting”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒstruct usb_host_interface * usb_find_alt_setting (struct usb_host_config *config, unsigned int iface_num, unsigned int alt_num)”h]”j+)�”}”(hŒ}struct usb_host_interface *usb_find_alt_setting(struct usb_host_config *config, unsigned int iface_num, unsigned int alt_num)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjh²hh³j.h´M ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_host_interface”h]”hŒusb_host_interface”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj=ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jBŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒusb_find_alt_setting”sbŒc.usb_core.usb_find_alt_setting”†”esbuh1hhjh²hh³j.h´M ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjh²hh³j.h´M ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjh²hh³j.h´M ubj„)�”}”(hŒusb_find_alt_setting”h]”jŠ)�”}”(hj_h]”hŒusb_find_alt_setting”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj}ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjh²hh³j.h´M ubj¥)�”}”(hŒN(struct usb_host_config *config, unsigned int iface_num, unsigned int alt_num)”h]”(j«)�”}”(hŒstruct usb_host_config *config”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj˜ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj˜ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_host_config”h]”hŒusb_host_config”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj·ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¼Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j]Œc.usb_core.usb_find_alt_setting”†”esbuh1hhj˜ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj˜ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj˜ubjŠ)�”}”(hŒconfig”h]”hŒconfig”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj˜ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj”ubj«)�”}”(hŒunsigned int iface_num”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj ubjŠ)�”}”(hŒ iface_num”h]”hŒ iface_num”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj”ubj«)�”}”(hŒunsigned int alt_num”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjZubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjZubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjZubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjZubjŠ)�”}”(hŒalt_num”h]”hŒalt_num”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjZubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj”ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjh²hh³j.h´M ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjh²hh³j.h´M ubah}”(h]”jah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j.h´M hjh²hubjü)�”}”(hhh]”hë)�”}”(hŒJGiven a configuration, find the alternate setting for the given interface.”h]”hŒJGiven a configuration, find the alternate setting for the given interface.”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M hj½h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjh²hh³j.h´M ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjØjjØj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXš**Parameters** ``struct usb_host_config *config`` the configuration to search (not necessarily the current config). ``unsigned int iface_num`` interface number to search in ``unsigned int alt_num`` alternate interface setting number to search for. **Description** Search the configuration's interface cache for the given alt setting. **Return** The alternate setting, if found. ``NULL`` otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjâh]”hŒ Parameters”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjàubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M$hjÜubjD)�”}”(hhh]”(jI)�”}”(hŒe``struct usb_host_config *config`` the configuration to search (not necessarily the current config). ”h]”(jO)�”}”(hŒ"``struct usb_host_config *config``”h]”jÑ)�”}”(hjh]”hŒstruct usb_host_config *config”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M"hjûubji)�”}”(hhh]”hë)�”}”(hŒAthe configuration to search (not necessarily the current config).”h]”hŒAthe configuration to search (not necessarily the current config).”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jh´M"hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjûubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jh´M"hjøubjI)�”}”(hŒ9``unsigned int iface_num`` interface number to search in ”h]”(jO)�”}”(hŒ``unsigned int iface_num``”h]”jÑ)�”}”(hj:h]”hŒunsigned int iface_num”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M#hj4ubji)�”}”(hhh]”hë)�”}”(hŒinterface number to search in”h]”hŒinterface number to search in”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jOh´M#hjPubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jOh´M#hjøubjI)�”}”(hŒK``unsigned int alt_num`` alternate interface setting number to search for. ”h]”(jO)�”}”(hŒ``unsigned int alt_num``”h]”jÑ)�”}”(hjsh]”hŒunsigned int alt_num”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjqubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M$hjmubji)�”}”(hhh]”hë)�”}”(hŒ1alternate interface setting number to search for.”h]”hŒ1alternate interface setting number to search for.”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jˆh´M$hj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjmubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jˆh´M$hjøubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÜubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj®h]”hŒ Description”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M&hjÜubhë)�”}”(hŒESearch the configuration's interface cache for the given alt setting.”h]”hŒGSearch the configuration’s interface cache for the given alt setting.”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M%hjÜubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÕh]”hŒReturn”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M'hjÜubhë)�”}”(hŒ4The alternate setting, if found. ``NULL`` otherwise.”h]”(hŒ!The alternate setting, if found. ”…”�”}”(hjëh²hh³Nh´NubjÑ)�”}”(hŒ``NULL``”h]”hŒNULL”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjëubhŒ otherwise.”…”�”}”(hjëh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M(hjÜubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ%usb_core.usb_ifnum_to_if (C function)”Œc.usb_core.usb_ifnum_to_if”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒUstruct usb_interface * usb_ifnum_to_if (const struct usb_device *dev, unsigned ifnum)”h]”j+)�”}”(hŒSstruct usb_interface *usb_ifnum_to_if(const struct usb_device *dev, unsigned ifnum)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj(h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MIubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj(h²hh³j9h´MIubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjHubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jMŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒusb_ifnum_to_if”sbŒc.usb_core.usb_ifnum_to_if”†”esbuh1hhj(h²hh³j9h´MIubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj(h²hh³j9h´MIubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj(h²hh³j9h´MIubj„)�”}”(hŒusb_ifnum_to_if”h]”jŠ)�”}”(hjjh]”hŒusb_ifnum_to_if”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjˆubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj(h²hh³j9h´MIubj¥)�”}”(hŒ.(const struct usb_device *dev, unsigned ifnum)”h]”(j«)�”}”(hŒconst struct usb_device *dev”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj£ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj£ubj1)�”}”(hjh]”hŒstruct”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj£ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj£ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÝubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jâŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jhŒc.usb_core.usb_ifnum_to_if”†”esbuh1hhj£ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj£ubjs)�”•}”(hjvh]”hŒ*”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj£ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj£ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjŸubj«)�”}”(hŒunsigned ifnum”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj/ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj/ubjŠ)�”}”(hŒifnum”h]”hŒifnum”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj/ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjŸubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj(h²hh³j9h´MIubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj$h²hh³j9h´MIubah}”(h]”jah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j9h´MIhj!h²hubjü)�”}”(hhh]”hë)�”}”(hŒ6get the interface object with a given interface number”h]”hŒ6get the interface object with a given interface number”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MIhjvh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj!h²hh³j9h´MIubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj‘jj‘j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX“**Parameters** ``const struct usb_device *dev`` the device whose current configuration is considered ``unsigned ifnum`` the desired interface **Description** This walks the device descriptor for the currently active configuration to find the interface object with the particular interface number. Note that configuration descriptors are not required to assign interface numbers sequentially, so that it would be incorrect to assume that the first interface in that descriptor corresponds to interface zero. This routine helps device drivers avoid such mistakes. However, you should make sure that you do the right thing with any alternate settings available for this interfaces. Don't call this function unless you are bound to one of the interfaces on this device or you have locked the device! **Return** A pointer to the interface that has **ifnum** as interface number, if found. ``NULL`` otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj›h]”hŒ Parameters”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MMhj•ubjD)�”}”(hhh]”(jI)�”}”(hŒV``const struct usb_device *dev`` the device whose current configuration is considered ”h]”(jO)�”}”(hŒ ``const struct usb_device *dev``”h]”jÑ)�”}”(hjºh]”hŒconst struct usb_device *dev”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MJhj´ubji)�”}”(hhh]”hë)�”}”(hŒ4the device whose current configuration is considered”h]”hŒ4the device whose current configuration is considered”…”�”}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÏh´MJhjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj´ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÏh´MJhj±ubjI)�”}”(hŒ)``unsigned ifnum`` the desired interface ”h]”(jO)�”}”(hŒ``unsigned ifnum``”h]”jÑ)�”}”(hjóh]”hŒunsigned ifnum”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjñubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MKhjíubji)�”}”(hhh]”hë)�”}”(hŒthe desired interface”h]”hŒthe desired interface”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jh´MKhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjíubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jh´MKhj±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj•ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj.h]”hŒ Description”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MMhj•ubhë)�”}”(hŒŠThis walks the device descriptor for the currently active configuration to find the interface object with the particular interface number.”h]”hŒŠThis walks the device descriptor for the currently active configuration to find the interface object with the particular interface number.”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MLhj•ubhë)�”}”(hX}Note that configuration descriptors are not required to assign interface numbers sequentially, so that it would be incorrect to assume that the first interface in that descriptor corresponds to interface zero. This routine helps device drivers avoid such mistakes. However, you should make sure that you do the right thing with any alternate settings available for this interfaces.”h]”hX}Note that configuration descriptors are not required to assign interface numbers sequentially, so that it would be incorrect to assume that the first interface in that descriptor corresponds to interface zero. This routine helps device drivers avoid such mistakes. However, you should make sure that you do the right thing with any alternate settings available for this interfaces.”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MOhj•ubhë)�”}”(hŒtDon't call this function unless you are bound to one of the interfaces on this device or you have locked the device!”h]”hŒvDon’t call this function unless you are bound to one of the interfaces on this device or you have locked the device!”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MVhj•ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjsh]”hŒReturn”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjqubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MYhj•ubhë)�”}”(hŒ`A pointer to the interface that has **ifnum** as interface number, if found. ``NULL`` otherwise.”h]”(hŒ$A pointer to the interface that has ”…”�”}”(hj‰h²hh³Nh´Nubj.)�”}”(hŒ **ifnum**”h]”hŒifnum”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj‰ubhŒ as interface number, if found. ”…”�”}”(hj‰h²hh³Nh´NubjÑ)�”}”(hŒ``NULL``”h]”hŒNULL”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‰ubhŒ otherwise.”…”�”}”(hj‰h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MZhj•ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ.usb_core.usb_altnum_to_altsetting (C function)”Œ#c.usb_core.usb_altnum_to_altsetting”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒlstruct usb_host_interface * usb_altnum_to_altsetting (const struct usb_interface *intf, unsigned int altnum)”h]”j+)�”}”(hŒjstruct usb_host_interface *usb_altnum_to_altsetting(const struct usb_interface *intf, unsigned int altnum)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjØh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MoubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjØh²hh³jéh´Moubh)�”}”(hhh]”jŠ)�”}”(hŒusb_host_interface”h]”hŒusb_host_interface”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjøubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jýŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒusb_altnum_to_altsetting”sbŒ#c.usb_core.usb_altnum_to_altsetting”†”esbuh1hhjØh²hh³jéh´MoubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjØh²hh³jéh´Moubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjØh²hh³jéh´Moubj„)�”}”(hŒusb_altnum_to_altsetting”h]”jŠ)�”}”(hjh]”hŒusb_altnum_to_altsetting”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj8ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjØh²hh³jéh´Moubj¥)�”}”(hŒ7(const struct usb_interface *intf, unsigned int altnum)”h]”(j«)�”}”(hŒ const struct usb_interface *intf”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjSubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjSubj1)�”}”(hjh]”hŒstruct”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjSubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjSubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj�ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j’Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jŒ#c.usb_core.usb_altnum_to_altsetting”†”esbuh1hhjSubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjSubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjSubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjSubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjOubj«)�”}”(hŒunsigned int altnum”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjßubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjßubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjßubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjßubjŠ)�”}”(hŒaltnum”h]”hŒaltnum”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjßubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjOubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjØh²hh³jéh´Moubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÔh²hh³jéh´Moubah}”(h]”jÏah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jéh´MohjÑh²hubjü)�”}”(hhh]”hë)�”}”(hŒCget the altsetting structure with a given alternate setting number.”h]”hŒCget the altsetting structure with a given alternate setting number.”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MohjBh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÑh²hh³jéh´Moubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj]jj]j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX**Parameters** ``const struct usb_interface *intf`` the interface containing the altsetting in question ``unsigned int altnum`` the desired alternate setting number **Description** This searches the altsetting array of the specified interface for an entry with the correct bAlternateSetting value. Note that altsettings need not be stored sequentially by number, so it would be incorrect to assume that the first altsetting entry in the array corresponds to altsetting zero. This routine helps device drivers avoid such mistakes. Don't call this function unless you are bound to the intf interface or you have locked the device! **Return** A pointer to the entry of the altsetting array of **intf** that has **altnum** as the alternate setting number. ``NULL`` if not found.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjgh]”hŒ Parameters”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MshjaubjD)�”}”(hhh]”(jI)�”}”(hŒY``const struct usb_interface *intf`` the interface containing the altsetting in question ”h]”(jO)�”}”(hŒ$``const struct usb_interface *intf``”h]”jÑ)�”}”(hj†h]”hŒ const struct usb_interface *intf”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj„ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mphj€ubji)�”}”(hhh]”hë)�”}”(hŒ3the interface containing the altsetting in question”h]”hŒ3the interface containing the altsetting in question”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j›h´Mphjœubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j›h´Mphj}ubjI)�”}”(hŒ=``unsigned int altnum`` the desired alternate setting number ”h]”(jO)�”}”(hŒ``unsigned int altnum``”h]”jÑ)�”}”(hj¿h]”hŒunsigned int altnum”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj½ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mqhj¹ubji)�”}”(hhh]”hë)�”}”(hŒ$the desired alternate setting number”h]”hŒ$the desired alternate setting number”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÔh´MqhjÕubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÔh´Mqhj}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjaubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjúh]”hŒ Description”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjøubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mshjaubhë)�”}”(hŒtThis searches the altsetting array of the specified interface for an entry with the correct bAlternateSetting value.”h]”hŒtThis searches the altsetting array of the specified interface for an entry with the correct bAlternateSetting value.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mrhjaubhë)�”}”(hŒèNote that altsettings need not be stored sequentially by number, so it would be incorrect to assume that the first altsetting entry in the array corresponds to altsetting zero. This routine helps device drivers avoid such mistakes.”h]”hŒèNote that altsettings need not be stored sequentially by number, so it would be incorrect to assume that the first altsetting entry in the array corresponds to altsetting zero. This routine helps device drivers avoid such mistakes.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Muhjaubhë)�”}”(hŒbDon't call this function unless you are bound to the intf interface or you have locked the device!”h]”hŒdDon’t call this function unless you are bound to the intf interface or you have locked the device!”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mzhjaubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj?h]”hŒReturn”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M}hjaubhë)�”}”(hŒ†A pointer to the entry of the altsetting array of **intf** that has **altnum** as the alternate setting number. ``NULL`` if not found.”h]”(hŒ2A pointer to the entry of the altsetting array of ”…”�”}”(hjUh²hh³Nh´Nubj.)�”}”(hŒ**intf**”h]”hŒintf”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjUubhŒ that has ”…”�”}”(hjUh²hh³Nh´Nubj.)�”}”(hŒ **altnum**”h]”hŒaltnum”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjUubhŒ" as the alternate setting number. ”…”�”}”(hjUh²hh³Nh´NubjÑ)�”}”(hŒ``NULL``”h]”hŒNULL”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjUubhŒ if not found.”…”�”}”(hjUh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M~hjaubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.usb_find_interface (C function)”Œc.usb_core.usb_find_interface”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒMstruct usb_interface * usb_find_interface (struct usb_driver *drv, int minor)”h]”j+)�”}”(hŒKstruct usb_interface *usb_find_interface(struct usb_driver *drv, int minor)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj¶h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M£ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¶h²hh³jÇh´M£ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÖubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÛŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒusb_find_interface”sbŒc.usb_core.usb_find_interface”†”esbuh1hhj¶h²hh³jÇh´M£ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¶h²hh³jÇh´M£ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¶h²hh³jÇh´M£ubj„)�”}”(hŒusb_find_interface”h]”jŠ)�”}”(hjøh]”hŒusb_find_interface”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj¶h²hh³jÇh´M£ubj¥)�”}”(hŒ#(struct usb_driver *drv, int minor)”h]”(j«)�”}”(hŒstruct usb_driver *drv”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj1ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj1ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_driver”h]”hŒ usb_driver”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjPubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jUŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jöŒc.usb_core.usb_find_interface”†”esbuh1hhj1ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj1ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj1ubjŠ)�”}”(hŒdrv”h]”hŒdrv”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj1ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj-ubj«)�”}”(hŒ int minor”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj¢ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¢ubjŠ)�”}”(hŒminor”h]”hŒminor”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¢ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj-ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj¶h²hh³jÇh´M£ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj²h²hh³jÇh´M£ubah}”(h]”j­ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÇh´M£hj¯h²hubjü)�”}”(hhh]”hë)�”}”(hŒ0find usb_interface pointer for driver and device”h]”hŒ0find usb_interface pointer for driver and device”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M£hjéh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj¯h²hh³jÇh´M£ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj jj j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX¨**Parameters** ``struct usb_driver *drv`` the driver whose current configuration is considered ``int minor`` the minor number of the desired device **Description** This walks the bus device list and returns a pointer to the interface with the matching minor and driver. Note, this only works for devices that share the USB major number. **Return** A pointer to the interface with the matching major and **minor**.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj h]”hŒ Parameters”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M§hj ubjD)�”}”(hhh]”(jI)�”}”(hŒP``struct usb_driver *drv`` the driver whose current configuration is considered ”h]”(jO)�”}”(hŒ``struct usb_driver *drv``”h]”jÑ)�”}”(hj- h]”hŒstruct usb_driver *drv”…”�”}”(hj/ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj+ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¤hj' ubji)�”}”(hhh]”hë)�”}”(hŒ4the driver whose current configuration is considered”h]”hŒ4the driver whose current configuration is considered”…”�”}”(hjF h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jB h´M¤hjC ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj' ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jB h´M¤hj$ ubjI)�”}”(hŒ5``int minor`` the minor number of the desired device ”h]”(jO)�”}”(hŒ ``int minor``”h]”jÑ)�”}”(hjf h]”hŒ int minor”…”�”}”(hjh h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjd ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¥hj` ubji)�”}”(hhh]”hë)�”}”(hŒ&the minor number of the desired device”h]”hŒ&the minor number of the desired device”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j{ h´M¥hj| ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj` ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j{ h´M¥hj$ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj¡ h]”hŒ Description”…”�”}”(hj£ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŸ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M§hj ubhë)�”}”(hŒ­This walks the bus device list and returns a pointer to the interface with the matching minor and driver. Note, this only works for devices that share the USB major number.”h]”hŒ­This walks the bus device list and returns a pointer to the interface with the matching minor and driver. Note, this only works for devices that share the USB major number.”…”�”}”(hj· h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¦hj ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÈ h]”hŒReturn”…”�”}”(hjÊ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÆ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mªhj ubhë)�”}”(hŒAA pointer to the interface with the matching major and **minor**.”h]”(hŒ7A pointer to the interface with the matching major and ”…”�”}”(hjÞ h²hh³Nh´Nubj.)�”}”(hŒ **minor**”h]”hŒminor”…”�”}”(hjæ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÞ ubhŒ.”…”�”}”(hjÞ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M«hj ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ&usb_core.usb_for_each_dev (C function)”Œc.usb_core.usb_for_each_dev”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒIint usb_for_each_dev (void *data, int (*fn)(struct usb_device *, void *))”h]”j+)�”}”(hŒFint usb_for_each_dev(void *data, int (*fn)(struct usb_device*, void*))”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj!h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MÏubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj.!h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj!h²hh³j-!h´MÏubj„)�”}”(hŒusb_for_each_dev”h]”jŠ)�”}”(hŒusb_for_each_dev”h]”hŒusb_for_each_dev”…”�”}”(hj@!h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj:*ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MhjÜ)ubhë)�”}”(hŒ•Must be called when a user of a device is finished with it. When the last user of the device calls this function, the memory of the device is freed.”h]”hŒ•Must be called when a user of a device is finished with it. When the last user of the device calls this function, the memory of the device is freed.”…”�”}”(hjR*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MhjÜ)ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ"usb_core.usb_get_intf (C function)”Œc.usb_core.usb_get_intf”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ@struct usb_interface * usb_get_intf (struct usb_interface *intf)”h]”j+)�”}”(hŒ>struct usb_interface *usb_get_intf(struct usb_interface *intf)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj�*h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj}*h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�*h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj}*h²hh³jŽ*h´Mubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hj *h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj�*ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¢*Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒ usb_get_intf”sbŒc.usb_core.usb_get_intf”†”esbuh1hhj}*h²hh³jŽ*h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂ*h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj}*h²hh³jŽ*h´Mubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÐ*h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj}*h²hh³jŽ*h´Mubj„)�”}”(hŒ usb_get_intf”h]”jŠ)�”}”(hj¿*h]”hŒ usb_get_intf”…”�”}”(hjá*h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÝ*ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj}*h²hh³jŽ*h´Mubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjü*h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjø*ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj +h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjø*ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj+ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j+Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j½*Œc.usb_core.usb_get_intf”†”esbuh1hhjø*ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj9+h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjø*ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjG+h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjø*ubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hjT+h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjø*ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjô*ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj}*h²hh³jŽ*h´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjy*h²hh³jŽ*h´Mubah}”(h]”jt*ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jŽ*h´Mhjv*h²hubjü)�”}”(hhh]”hë)�”}”(hŒ=increments the reference count of the usb interface structure”h]”hŒ=increments the reference count of the usb interface structure”…”�”}”(hj~+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj{+h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjv*h²hh³jŽ*h´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj–+jj–+j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX°**Parameters** ``struct usb_interface *intf`` the interface being referenced **Description** Each live reference to a interface must be refcounted. Drivers for USB interfaces should normally record such references in their probe() methods, when they bind to an interface, and release them by calling usb_put_intf(), in their disconnect() methods. However, if a driver does not access the usb_interface structure after its disconnect() method returns then refcounting is not necessary, because the USB core guarantees that a usb_interface will not be deallocated until after its driver has been unbound. **Return** A pointer to the interface with the incremented reference counter.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj +h]”hŒ Parameters”…”�”}”(hj¢+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjž+ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhjš+ubjD)�”}”(hhh]”jI)�”}”(hŒ>``struct usb_interface *intf`` the interface being referenced ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hj¿+h]”hŒstruct usb_interface *intf”…”�”}”(hjÁ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj½+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj¹+ubji)�”}”(hhh]”hë)�”}”(hŒthe interface being referenced”h]”hŒthe interface being referenced”…”�”}”(hjØ+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÔ+h´MhjÕ+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¹+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÔ+h´Mhj¶+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjš+ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjú+h]”hŒ Description”…”�”}”(hjü+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjø+ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhjš+ubhë)�”}”(hŒ6Each live reference to a interface must be refcounted.”h]”hŒ6Each live reference to a interface must be refcounted.”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhjš+ubhë)�”}”(hXÆDrivers for USB interfaces should normally record such references in their probe() methods, when they bind to an interface, and release them by calling usb_put_intf(), in their disconnect() methods. However, if a driver does not access the usb_interface structure after its disconnect() method returns then refcounting is not necessary, because the USB core guarantees that a usb_interface will not be deallocated until after its driver has been unbound.”h]”hXÆDrivers for USB interfaces should normally record such references in their probe() methods, when they bind to an interface, and release them by calling usb_put_intf(), in their disconnect() methods. However, if a driver does not access the usb_interface structure after its disconnect() method returns then refcounting is not necessary, because the USB core guarantees that a usb_interface will not be deallocated until after its driver has been unbound.”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhjš+ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj0,h]”hŒReturn”…”�”}”(hj2,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj.,ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M'hjš+ubhë)�”}”(hŒBA pointer to the interface with the incremented reference counter.”h]”hŒBA pointer to the interface with the incremented reference counter.”…”�”}”(hjF,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M(hjš+ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ"usb_core.usb_put_intf (C function)”Œc.usb_core.usb_put_intf”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ.void usb_put_intf (struct usb_interface *intf)”h]”j+)�”}”(hŒ-void usb_put_intf(struct usb_interface *intf)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hju,h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjq,h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M3ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj„,h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjq,h²hh³jƒ,h´M3ubj„)�”}”(hŒ usb_put_intf”h]”jŠ)�”}”(hŒ usb_put_intf”h]”hŒ usb_put_intf”…”�”}”(hj–,h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj’,ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjq,h²hh³jƒ,h´M3ubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj²,h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj®,ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¿,h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj®,ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjÐ,h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÍ,ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÒ,Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj˜,sbŒc.usb_core.usb_put_intf”†”esbuh1hhj®,ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjñ,h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj®,ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÿ,h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj®,ubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hj -h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj®,ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjª,ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjq,h²hh³jƒ,h´M3ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjm,h²hh³jƒ,h´M3ubah}”(h]”jh,ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jƒ,h´M3hjj,h²hubjü)�”}”(hhh]”hë)�”}”(hŒ,release a use of the usb interface structure”h]”hŒ,release a use of the usb interface structure”…”�”}”(hj6-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M3hj3-h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjj,h²hh³jƒ,h´M3ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjN-jjN-j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX**Parameters** ``struct usb_interface *intf`` interface that's been decremented **Description** Must be called when a user of an interface is finished with it. When the last user of the interface calls this function, the memory of the interface is freed.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjX-h]”hŒ Parameters”…”�”}”(hjZ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjV-ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M7hjR-ubjD)�”}”(hhh]”jI)�”}”(hŒA``struct usb_interface *intf`` interface that's been decremented ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hjw-h]”hŒstruct usb_interface *intf”…”�”}”(hjy-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhju-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M4hjq-ubji)�”}”(hhh]”hë)�”}”(hŒ!interface that's been decremented”h]”hŒ#interface that’s been decremented”…”�”}”(hj�-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jŒ-h´M4hj�-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjq-ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jŒ-h´M4hjn-ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjR-ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj²-h]”hŒ Description”…”�”}”(hj´-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj°-ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”•h´M6hjR-ubhë)�”}”(hŒŸMust be called when a user of an interface is finished with it. When the last user of the interface calls this function, the memory of the interface is freed.”h]”hŒŸMust be called when a user of an interface is finished with it. When the last user of the interface calls this function, the memory of the interface is freed.”…”�”}”(hjÈ-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M5hjR-ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_core.usb_intf_get_dma_device (C function)”Œ"c.usb_core.usb_intf_get_dma_device”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒDstruct device * usb_intf_get_dma_device (struct usb_interface *intf)”h]”j+)�”}”(hŒBstruct device *usb_intf_get_dma_device(struct usb_interface *intf)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj÷-h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjó-h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MBubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjó-h²hh³j.h´MBubh)�”}”(hhh]”jŠ)�”}”(hŒdevice”h]”hŒdevice”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj.ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j.Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒusb_intf_get_dma_device”sbŒ"c.usb_core.usb_intf_get_dma_device”†”esbuh1hhjó-h²hh³j.h´MBubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj8.h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjó-h²hh³j.h´MBubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjF.h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjó-h²hh³j.h´MBubj„)�”}”(hŒusb_intf_get_dma_device”h]”jŠ)�”}”(hj5.h]”hŒusb_intf_get_dma_device”…”�”}”(hjW.h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjS.ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjó-h²hh³j.h´MBubj¥)�”}”(hŒ(struct usb_interface *intf)”h]”j«)�”}”(hŒstruct usb_interface *intf”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjr.h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjn.ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj.h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjn.ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hj�.h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj�.ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j’.Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j3.Œ"c.usb_core.usb_intf_get_dma_device”†”esbuh1hhjn.ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¯.h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjn.ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj½.h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjn.ubjŠ)�”}”(hŒintf”h]”hŒintf”…”�”}”(hjÊ.h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjn.ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjj.ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjó-h²hh³j.h´MBubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjï-h²hh³j.h´MBubah}”(h]”jê-ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j.h´MBhjì-h²hubjü)�”}”(hhh]”hë)�”}”(hŒ7acquire a reference on the usb interface's DMA endpoint”h]”hŒ9acquire a reference on the usb interface’s DMA endpoint”…”�”}”(hjô.h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MBhjñ.h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjì-h²hh³j.h´MBubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj /jj /j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXÄ**Parameters** ``struct usb_interface *intf`` the usb interface **Description** While a USB device cannot perform DMA operations by itself, many USB controllers can. A call to usb_intf_get_dma_device() returns the DMA endpoint for the given USB interface, if any. The returned device structure must be released with put_device(). See also usb_get_dma_device(). **Return** A reference to the usb interface's DMA endpoint; or NULL if none exists.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj/h]”hŒ Parameters”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj/ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MFhj/ubjD)�”}”(hhh]”jI)�”}”(hŒ1``struct usb_interface *intf`` the usb interface ”h]”(jO)�”}”(hŒ``struct usb_interface *intf``”h]”jÑ)�”}”(hj5/h]”hŒstruct usb_interface *intf”…”�”}”(hj7/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj3/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MChj//ubji)�”}”(hhh]”hë)�”}”(hŒthe usb interface”h]”hŒthe usb interface”…”�”}”(hjN/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jJ/h´MChjK/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj//ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jJ/h´MChj,/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj/ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjp/h]”hŒ Description”…”�”}”(hjr/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjn/ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MEhj/ubhë)�”}”(hŒùWhile a USB device cannot perform DMA operations by itself, many USB controllers can. A call to usb_intf_get_dma_device() returns the DMA endpoint for the given USB interface, if any. The returned device structure must be released with put_device().”h]”hŒùWhile a USB device cannot perform DMA operations by itself, many USB controllers can. A call to usb_intf_get_dma_device() returns the DMA endpoint for the given USB interface, if any. The returned device structure must be released with put_device().”…”�”}”(hj†/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MDhj/ubhë)�”}”(hŒSee also usb_get_dma_device().”h]”hŒSee also usb_get_dma_device().”…”�”}”(hj•/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MIhj/ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj¦/h]”hŒReturn”…”�”}”(hj¨/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¤/ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MKhj/ubhë)�”}”(hŒHA reference to the usb interface's DMA endpoint; or NULL if none exists.”h]”hŒJA reference to the usb interface’s DMA endpoint; or NULL if none exists.”…”�”}”(hj¼/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MLhj/ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ/usb_core.usb_lock_device_for_reset (C function)”Œ$c.usb_core.usb_lock_device_for_reset”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒZint usb_lock_device_for_reset (struct usb_device *udev, const struct usb_interface *iface)”h]”j+)�”}”(hŒYint usb_lock_device_for_reset(struct usb_device *udev, const struct usb_interface *iface)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjë/h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjç/h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MrubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjú/h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjç/h²hh³jù/h´Mrubj„)�”}”(hŒusb_lock_device_for_reset”h]”jŠ)�”}”(hŒusb_lock_device_for_reset”h]”hŒusb_lock_device_for_reset”…”�”}”(hj 0h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj0ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjç/h²hh³jù/h´Mrubj¥)�”}”(hŒ<(struct usb_device *udev, const struct usb_interface *iface)”h]”(j«)�”}”(hŒstruct usb_device *udev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj(0h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj$0ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj50h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj$0ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjF0h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjC0ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jH0Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj0sbŒ$c.usb_core.usb_lock_device_for_reset”†”esbuh1hhj$0ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjg0h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj$0ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hju0h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj$0ubjŠ)�”}”(hŒudev”h]”hŒudev”…”�”}”(hj‚0h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj$0ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj 0ubj«)�”}”(hŒ!const struct usb_interface *iface”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj›0h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj—0ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¨0h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj—0ubj1)�”}”(hjh]”hŒstruct”…”�”}”(hj¶0h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj—0ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÃ0h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj—0ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjÔ0h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÑ0ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÖ0Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jc0Œ$c.usb_core.usb_lock_device_for_reset”†”esbuh1hhj—0ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjó0h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj—0ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj—0ubjŠ)�”}”(hŒiface”h]”hŒiface”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj—0ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj 0ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjç/h²hh³jù/h´Mrubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjã/h²hh³jù/h´Mrubah}”(h]”jÞ/ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jù/h´Mrhjà/h²hubjü)�”}”(hhh]”hë)�”}”(hŒ6cautiously acquire the lock for a usb device structure”h]”hŒ6cautiously acquire the lock for a usb device structure”…”�”}”(hj81h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mrhj51h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjà/h²hh³jù/h´Mrubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjP1jjP1j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX•**Parameters** ``struct usb_device *udev`` device that's being locked ``const struct usb_interface *iface`` interface bound to the driver making the request (optional) **Description** Attempts to acquire the device lock, but fails if the device is NOTATTACHED or SUSPENDED, or if iface is specified and the interface is neither BINDING nor BOUND. Rather than sleeping to wait for the lock, the routine polls repeatedly. This is to prevent deadlock with disconnect; in some drivers (such as usb-storage) the disconnect() or suspend() method will block waiting for a device reset to complete. **Return** A negative error code for failure, otherwise 0.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjZ1h]”hŒ Parameters”…”�”}”(hj\1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjX1ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MvhjT1ubjD)�”}”(hhh]”(jI)�”}”(hŒ7``struct usb_device *udev`` device that's being locked ”h]”(jO)�”}”(hŒ``struct usb_device *udev``”h]”jÑ)�”}”(hjy1h]”hŒstruct usb_device *udev”…”�”}”(hj{1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjw1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mshjs1ubji)�”}”(hhh]”hë)�”}”(hŒdevice that's being locked”h]”hŒdevice that’s being locked”…”�”}”(hj’1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jŽ1h´Mshj�1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjs1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jŽ1h´Mshjp1ubjI)�”}”(hŒb``const struct usb_interface *iface`` interface bound to the driver making the request (optional) ”h]”(jO)�”}”(hŒ%``const struct usb_interface *iface``”h]”jÑ)�”}”(hj²1h]”hŒ!const struct usb_interface *iface”…”�”}”(hj´1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj°1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mthj¬1ubji)�”}”(hhh]”hë)�”}”(hŒ;interface bound to the driver making the request (optional)”h]”hŒ;interface bound to the driver making the request (optional)”…”�”}”(hjË1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÇ1h´MthjÈ1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¬1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÇ1h´Mthjp1ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjT1ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjí1h]”hŒ Description”…”�”}”(hjï1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjë1ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MvhjT1ubhë)�”}”(hX˜Attempts to acquire the device lock, but fails if the device is NOTATTACHED or SUSPENDED, or if iface is specified and the interface is neither BINDING nor BOUND. Rather than sleeping to wait for the lock, the routine polls repeatedly. This is to prevent deadlock with disconnect; in some drivers (such as usb-storage) the disconnect() or suspend() method will block waiting for a device reset to complete.”h]”hX˜Attempts to acquire the device lock, but fails if the device is NOTATTACHED or SUSPENDED, or if iface is specified and the interface is neither BINDING nor BOUND. Rather than sleeping to wait for the lock, the routine polls repeatedly. This is to prevent deadlock with disconnect; in some drivers (such as usb-storage) the disconnect() or suspend() method will block waiting for a device reset to complete.”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MuhjT1ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj2h]”hŒReturn”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M|hjT1ubhë)�”}”(hŒ/A negative error code for failure, otherwise 0.”h]”hŒ/A negative error code for failure, otherwise 0.”…”�”}”(hj*2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M}hjT1ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ2usb_core.usb_get_current_frame_number (C function)”Œ'c.usb_core.usb_get_current_frame_number”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ9int usb_get_current_frame_number (struct usb_device *dev)”h]”j+)�”}”(hŒ8int usb_get_current_frame_number(struct usb_device *dev)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjY2h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjU2h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¡ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjh2h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjU2h²hh³jg2h´M¡ubj„)�”}”(hŒusb_get_current_frame_number”h]”jŠ)�”}”(hŒusb_get_current_frame_number”h]”hŒusb_get_current_frame_number”…”�”}”(hjz2h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjv2ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjU2h²hh³jg2h´M¡ubj¥)�”}”(hŒ(struct usb_device *dev)”h]”j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj–2h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj’2ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj£2h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj’2ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj´2h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj±2ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¶2Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj|2sbŒ'c.usb_core.usb_get_current_frame_number”†”esbuh1hhj’2ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÕ2h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj’2ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjã2h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj’2ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjð2h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj’2ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjŽ2ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjU2h²hh³jg2h´M¡ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjQ2h²hh³jg2h´M¡ubah}”(h]”jL2ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jg2h´M¡hjN2h²hubjü)�”}”(hhh]”hë)�”}”(hŒreturn current bus frame number”h]”hŒreturn current bus frame number”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¡hj3h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjN2h²hh³jg2h´M¡ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj23jj23j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXÊ**Parameters** ``struct usb_device *dev`` the device whose bus is being queried **Return** The current frame number for the USB host controller used with the given USB device. This can be used when scheduling isochronous requests. **Note** Different kinds of host controller have different "scheduling horizons". While one type might support scheduling only 32 frames into the future, others could support scheduling up to 1024 frames into the future.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj<3h]”hŒ Parameters”…”�”}”(hj>3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj:3ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¥hj63ubjD)�”}”(hhh]”jI)�”}”(hŒA``struct usb_device *dev`` the device whose bus is being queried ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj[3h]”hŒstruct usb_device *dev”…”�”}”(hj]3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjY3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¢hjU3ubji)�”}”(hhh]”hë)�”}”(hŒ%the device whose bus is being queried”h]”hŒ%the device whose bus is being queried”…”�”}”(hjt3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jp3h´M¢hjq3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjU3ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jp3h´M¢hjR3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj63ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj–3h]”hŒReturn”…”�”}”(hj˜3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj”3ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¤hj63ubhë)�”}”(hŒ‹The current frame number for the USB host controller used with the given USB device. This can be used when scheduling isochronous requests.”h]”hŒ‹The current frame number for the USB host controller used with the given USB device. This can be used when scheduling isochronous requests.”…”�”}”(hj¬3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¤hj63ubhë)�”}”(hŒ**Note**”h]”j.)�”}”(hj½3h]”hŒNote”…”�”}”(hj¿3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj»3ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¨hj63ubhë)�”}”(hŒÓDifferent kinds of host controller have different "scheduling horizons". While one type might support scheduling only 32 frames into the future, others could support scheduling up to 1024 frames into the future.”h]”hŒ×Different kinds of host controller have different “scheduling horizonsâ€�. While one type might support scheduling only 32 frames into the future, others could support scheduling up to 1024 frames into the future.”…”�”}”(hjÓ3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M¨hj63ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.usb_alloc_coherent (C function)”Œc.usb_core.usb_alloc_coherent”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒavoid * usb_alloc_coherent (struct usb_device *dev, size_t size, gfp_t mem_flags, dma_addr_t *dma)”h]”j+)�”}”(hŒ_void *usb_alloc_coherent(struct usb_device *dev, size_t size, gfp_t mem_flags, dma_addr_t *dma)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjþ3h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MØubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjþ3h²hh³j4h´MØubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjþ3h²hh³j4h´MØubj„)�”}”(hŒusb_alloc_coherent”h]”jŠ)�”}”(hŒusb_alloc_coherent”h]”hŒusb_alloc_coherent”…”�”}”(hj04h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj,4ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjþ3h²hh³j4h´MØubj¥)�”}”(hŒG(struct usb_device *dev, size_t size, gfp_t mem_flags, dma_addr_t *dma)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjL4h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjH4ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjY4h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjH4ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjj4h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjg4ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jl4Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj24sbŒc.usb_core.usb_alloc_coherent”†”esbuh1hhjH4ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‹4h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjH4ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj™4h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjH4ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hj¦4h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjH4ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjD4ubj«)�”}”(hŒ size_t size”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒsize_t”h]”hŒsize_t”…”�”}”(hjÂ4h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¿4ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÄ4Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j‡4Œc.usb_core.usb_alloc_coherent”†”esbuh1hhj»4ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjá4h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj»4ubjŠ)�”}”(hŒsize”h]”hŒsize”…”�”}”(hjï4h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj»4ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjD4ubj«)�”}”(hŒgfp_t mem_flags”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒgfp_t”h]”hŒgfp_t”…”�”}”(hj 5h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj5ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j 5Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j‡4Œc.usb_core.usb_alloc_coherent”†”esbuh1hhj5ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj*5h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj5ubjŠ)�”}”(hŒ mem_flags”h]”hŒ mem_flags”…”�”}”(hj85h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj5ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjD4ubj«)�”}”(hŒdma_addr_t *dma”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒ dma_addr_t”h]”hŒ dma_addr_t”…”�”}”(hjT5h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjQ5ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jV5Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j‡4Œc.usb_core.usb_alloc_coherent”†”esbuh1hhjM5ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjs5h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjM5ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj�5h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjM5ubjŠ)�”}”(hŒdma”h]”hŒdma”…”�”}”(hjŽ5h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjM5ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjD4ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjþ3h²hh³j4h´MØubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjú3h²hh³j4h´MØubah}”(h]”jõ3ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j4h´MØhj÷3h²hubjü)�”}”(hhh]”hë)�”}”(hŒ5allocate dma-consistent buffer for URB_NO_xxx_DMA_MAP”h]”hŒ5allocate dma-consistent buffer for URB_NO_xxx_DMA_MAP”…”�”}”(hj¸5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MØhjµ5h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj÷3h²hh³j4h´MØubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÐ5jjÐ5j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX!**Parameters** ``struct usb_device *dev`` device the buffer will be used with ``size_t size`` requested buffer size ``gfp_t mem_flags`` affect whether allocation may block ``dma_addr_t *dma`` used to return DMA address of buffer **Return** Either null (indicating no buffer could be allocated), or the cpu-space pointer to a buffer that may be used to perform DMA to the specified device. Such cpu-space buffers are returned along with the DMA address (through the pointer provided). **Note** These buffers are used with URB_NO_xxx_DMA_MAP set in urb->transfer_flags to avoid behaviors like using "DMA bounce buffers", or thrashing IOMMU hardware during URB completion/resubmit. The implementation varies between platforms, depending on details of how DMA will work to this device. Using these buffers also eliminates cacheline sharing problems on architectures where CPU caches are not DMA-coherent. On systems without bus-snooping caches, these buffers are uncached. When the buffer is no longer used, free it with usb_free_coherent().”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÚ5h]”hŒ Parameters”…”�”}”(hjÜ5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjØ5ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MÜhjÔ5ubjD)�”}”(hhh]”(jI)�”}”(hŒ?``struct usb_device *dev`` device the buffer will be used with ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hjù5h]”hŒstruct usb_device *dev”…”�”}”(hjû5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj÷5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MÙhjó5ubji)�”}”(hhh]”hë)�”}”(hŒ#device the buffer will be used with”h]”hŒ#device the buffer will be used with”…”�”}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j6h´MÙhj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjó5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j6h´MÙhjð5ubjI)�”}”(hŒ&``size_t size`` requested buffer size ”h]”(jO)�”}”(hŒ``size_t size``”h]”jÑ)�”}”(hj26h]”hŒ size_t size”…”�”}”(hj46h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj06ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MÚhj,6ubji)�”}”(hhh]”hë)�”}”(hŒrequested buffer size”h]”hŒrequested buffer size”…”�”}”(hjK6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jG6h´MÚhjH6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj,6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jG6h´MÚhjð5ubjI)�”}”(hŒ8``gfp_t mem_flags`` affect whether allocation may block ”h]”(jO)�”}”(hŒ``gfp_t mem_flags``”h]”jÑ)�”}”(hjk6h]”hŒgfp_t mem_flags”…”�”}”(hjm6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhji6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MÛhje6ubji)�”}”(hhh]”hë)�”}”(hŒ#affect whether allocation may block”h]”hŒ#affect whether allocation may block”…”�”}”(hj„6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j€6h´MÛhj�6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhje6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j€6h´MÛhjð5ubjI)�”}”(hŒ9``dma_addr_t *dma`` used to return DMA address of buffer ”h]”(jO)�”}”(hŒ``dma_addr_t *dma``”h]”jÑ)�”}”(hj¤6h]”hŒdma_addr_t *dma”…”�”}”(hj¦6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¢6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MÜhjž6ubji)�”}”(hhh]”hë)�”}”(hŒ$used to return DMA address of buffer”h]”hŒ$used to return DMA address of buffer”…”�”}”(hj½6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j¹6h´MÜhjº6ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjž6ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j¹6h´MÜhjð5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÔ5ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjß6h]”hŒReturn”…”�”}”(hjá6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÝ6ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MÞhjÔ5ubhë)�”}”(hŒôEither null (indicating no buffer could be allocated), or the cpu-space pointer to a buffer that may be used to perform DMA to the specified device. Such cpu-space buffers are returned along with the DMA address (through the pointer provided).”h]”hŒôEither null (indicating no buffer could be allocated), or the cpu-space pointer to a buffer that may be used to perform DMA to the specified device. Such cpu-space buffers are returned along with the DMA address (through the pointer provided).”…”�”}”(hjõ6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MÞhjÔ5ubhë)�”}”(hŒ**Note**”h]”j.)�”}”(hj7h]”hŒNote”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MãhjÔ5ubhë)�”}”(hXÝThese buffers are used with URB_NO_xxx_DMA_MAP set in urb->transfer_flags to avoid behaviors like using "DMA bounce buffers", or thrashing IOMMU hardware during URB completion/resubmit. The implementation varies between platforms, depending on details of how DMA will work to this device. Using these buffers also eliminates cacheline sharing problems on architectures where CPU caches are not DMA-coherent. On systems without bus-snooping caches, these buffers are uncached.”h]”hXáThese buffers are used with URB_NO_xxx_DMA_MAP set in urb->transfer_flags to avoid behaviors like using “DMA bounce buffersâ€�, or thrashing IOMMU hardware during URB completion/resubmit. The implementation varies between platforms, depending on details of how DMA will work to this device. Using these buffers also eliminates cacheline sharing problems on architectures where CPU caches are not DMA-coherent. On systems without bus-snooping caches, these buffers are uncached.”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MãhjÔ5ubhë)�”}”(hŒDWhen the buffer is no longer used, free it with usb_free_coherent().”h]”hŒDWhen the buffer is no longer used, free it with usb_free_coherent().”…”�”}”(hj+7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MëhjÔ5ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_core.usb_free_coherent (C function)”Œc.usb_core.usb_free_coherent”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒXvoid usb_free_coherent (struct usb_device *dev, size_t size, void *addr, dma_addr_t dma)”h]”j+)�”}”(hŒWvoid usb_free_coherent(struct usb_device *dev, size_t size, void *addr, dma_addr_t dma)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjZ7h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjV7h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MøubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hji7h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjV7h²hh³jh7h´Møubj„)�”}”(hŒusb_free_coherent”h]”jŠ)�”}”(hŒusb_free_coherent”h]”hŒusb_free_coherent”…”�”}”(hj{7h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjw7ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjV7h²hh³jh7h´Møubj¥)�”}”(hŒA(struct usb_device *dev, size_t size, void *addr, dma_addr_t dma)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj—7h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj“7ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¤7h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj“7ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjµ7h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj²7ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j·7Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj}7sbŒc.usb_core.usb_free_coherent”†”esbuh1hhj“7ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÖ7h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj“7ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjä7h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj“7ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjñ7h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj“7ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�7ubj«)�”}”(hŒ size_t size”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒsize_t”h]”hŒsize_t”…”�”}”(hj 8h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj 8ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j8Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÒ7Œc.usb_core.usb_free_coherent”†”esbuh1hhj8ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj,8h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj8ubjŠ)�”}”(hŒsize”h]”hŒsize”…”�”}”(hj:8h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj8ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�7ubj«)�”}”(hŒ void *addr”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjS8h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjO8ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hja8h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjO8ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjo8h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjO8ubjŠ)�”}”(hŒaddr”h]”hŒaddr”…”�”}”(hj|8h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjO8ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�7ubj«)�”}”(hŒdma_addr_t dma”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒ dma_addr_t”h]”hŒ dma_addr_t”…”�”}”(hj˜8h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj•8ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jš8Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÒ7Œc.usb_core.usb_free_coherent”†”esbuh1hhj‘8ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj·8h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj‘8ubjŠ)�”}”(hŒdma”h]”hŒdma”…”�”}”(hjÅ8h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‘8ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�7ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjV7h²hh³jh7h´Møubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjR7h²hh³jh7h´Møubah}”(h]”jM7ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jh7h´MøhjO7h²hubjü)�”}”(hhh]”hë)�”}”(hŒ/free memory allocated with usb_alloc_coherent()”h]”hŒ/free memory allocated with usb_alloc_coherent()”…”�”}”(hjï8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Møhjì8h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjO7h²hh³jh7h´Møubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj9jj9j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX˜**Parameters** ``struct usb_device *dev`` device the buffer was used with ``size_t size`` requested buffer size ``void *addr`` CPU address of buffer ``dma_addr_t dma`` DMA address of buffer **Description** This reclaims an I/O buffer, letting it be reused. The memory must have been allocated using usb_alloc_coherent(), and the parameters must match those provided in that allocation request.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj9h]”hŒ Parameters”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mühj 9ubjD)�”}”(hhh]”(jI)�”}”(hŒ;``struct usb_device *dev`` device the buffer was used with ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj09h]”hŒstruct usb_device *dev”…”�”}”(hj29h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj.9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mùhj*9ubji)�”}”(hhh]”hë)�”}”(hŒdevice the buffer was used with”h]”hŒdevice the buffer was used with”…”�”}”(hjI9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jE9h´MùhjF9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj*9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jE9h´Mùhj'9ubjI)�”}”(hŒ&``size_t size`` requested buffer size ”h]”(jO)�”}”(hŒ``size_t size``”h]”jÑ)�”}”(hji9h]”hŒ size_t size”…”�”}”(hjk9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjg9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Múhjc9ubji)�”}”(hhh]”hë)�”}”(hŒrequested buffer size”h]”hŒrequested buffer size”…”�”}”(hj‚9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j~9h´Múhj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjc9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j~9h´Múhj'9ubjI)�”}”(hŒ%``void *addr`` CPU address of buffer ”h]”(jO)�”}”(hŒ``void *addr``”h]”jÑ)�”}”(hj¢9h]”hŒ void *addr”…”�”}”(hj¤9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj 9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mûhjœ9ubji)�”}”(hhh]”hë)�”}”(hŒCPU address of buffer”h]”hŒCPU address of buffer”…”�”}”(hj»9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j·9h´Mûhj¸9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjœ9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j·9h´Mûhj'9ubjI)�”}”(hŒ)``dma_addr_t dma`` DMA address of buffer ”h]”(jO)�”}”(hŒ``dma_addr_t dma``”h]”jÑ)�”}”(hjÛ9h]”hŒdma_addr_t dma”…”�”}”(hjÝ9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÙ9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MühjÕ9ubji)�”}”(hhh]”hë)�”}”(hŒDMA address of buffer”h]”hŒDMA address of buffer”…”�”}”(hjô9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jð9h´Mühjñ9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÕ9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jð9h´Mühj'9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj 9ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj:h]”hŒ Description”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mþhj 9ubhë)�”}”(hŒ¼This reclaims an I/O buffer, letting it be reused. The memory must have been allocated using usb_alloc_coherent(), and the parameters must match those provided in that allocation request.”h]”hŒ¼This reclaims an I/O buffer, letting it be reused. The memory must have been allocated using usb_alloc_coherent(), and the parameters must match those provided in that allocation request.”…”�”}”(hj,:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mýhj 9ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ+usb_core.usb_alloc_noncoherent (C function)”Œ c.usb_core.usb_alloc_noncoherent”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒšvoid * usb_alloc_noncoherent (struct usb_device *dev, size_t size, gfp_t mem_flags, dma_addr_t *dma, enum dma_data_direction dir, struct sg_table **table)”h]”j+)�”}”(hŒ˜void *usb_alloc_noncoherent(struct usb_device *dev, size_t size, gfp_t mem_flags, dma_addr_t *dma, enum dma_data_direction dir, struct sg_table **table)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj[:h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjW:h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjj:h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjW:h²hh³ji:h´Mubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjx:h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjW:h²hh³ji:h´Mubj„)�”}”(hŒusb_alloc_noncoherent”h]”jŠ)�”}”(hŒusb_alloc_noncoherent”h]”hŒusb_alloc_noncoherent”…”�”}”(hj‰:h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj…:ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjW:h²hh³ji:h´Mubj¥)�”}”(hŒ}(struct usb_device *dev, size_t size, gfp_t mem_flags, dma_addr_t *dma, enum dma_data_direction dir, struct sg_table **table)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj¥:h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj¡:ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj²:h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¡:ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjÃ:h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÀ:ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÅ:Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj‹:sbŒ c.usb_core.usb_alloc_noncoherent”†”esbuh1hhj¡:ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjä:h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¡:ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjò:h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¡:ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjÿ:h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¡:ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�:ubj«)�”}”(hŒ size_t size”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒsize_t”h]”hŒsize_t”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj;ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j;Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jà:Œ c.usb_core.usb_alloc_noncoherent”†”esbuh1hhj;ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj:;h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj;ubjŠ)�”}”(hŒsize”h]”hŒsize”…”�”}”(hjH;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj;ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�:ubj«)�”}”(hŒgfp_t mem_flags”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒgfp_t”h]”hŒgfp_t”…”�”}”(hjd;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hja;ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jf;Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jà:Œ c.usb_core.usb_alloc_noncoherent”†”esbuh1hhj];ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjƒ;h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj];ubjŠ)�”}”(hŒ mem_flags”h]”hŒ mem_flags”…”�”}”(hj‘;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj];ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�:ubj«)�”}”(hŒdma_addr_t *dma”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒ dma_addr_t”h]”hŒ dma_addr_t”…”�”}”(hj­;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjª;ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j¯;Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jà:Œ c.usb_core.usb_alloc_noncoherent”†”esbuh1hhj¦;ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÌ;h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¦;ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÚ;h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¦;ubjŠ)�”}”(hŒdma”h]”hŒdma”…”�”}”(hjç;h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¦;ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�:ubj«)�”}”(hŒenum dma_data_direction dir”h]”(j1)�”}”(hjh]”hŒenum”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjü;ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj <h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjü;ubh)�”}”(hhh]”jŠ)�”}”(hŒdma_data_direction”h]”hŒdma_data_direction”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj<ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j <Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jà:Œ c.usb_core.usb_alloc_noncoherent”†”esbuh1hhjü;ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj=<h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjü;ubjŠ)�”}”(hŒdir”h]”hŒdir”…”�”}”(hjK<h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjü;ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�:ubj«)�”}”(hŒstruct sg_table **table”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjd<h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj`<ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjq<h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj`<ubh)�”}”(hhh]”jŠ)�”}”(hŒsg_table”h]”hŒsg_table”…”�”}”(hj‚<h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj<ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j„<Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jà:Œ c.usb_core.usb_alloc_noncoherent”†”esbuh1hhj`<ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¡<h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj`<ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¯<h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj`<ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¼<h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj`<ubjŠ)�”}”(hŒtable”h]”hŒtable”…”�”}”(hjÉ<h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj`<ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj�:ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjW:h²hh³ji:h´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjS:h²hh³ji:h´Mubah}”(h]”jN:ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³ji:h´MhjP:h²hubjü)�”}”(hhh]”hë)�”}”(hŒ6allocate dma-noncoherent buffer for URB_NO_xxx_DMA_MAP”h]”hŒ6allocate dma-noncoherent buffer for URB_NO_xxx_DMA_MAP”…”�”}”(hjó<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhjð<h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjP:h²hh³ji:h´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj =jj =j ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXŠ**Parameters** ``struct usb_device *dev`` device the buffer will be used with ``size_t size`` requested buffer size ``gfp_t mem_flags`` affect whether allocation may block ``dma_addr_t *dma`` used to return DMA address of buffer ``enum dma_data_direction dir`` DMA transfer direction ``struct sg_table **table`` used to return sg_table of allocated memory **Description** To explicit manage the memory ownership for the kernel vs the device by USB core, the user needs save sg_table to urb->sgt. Then USB core will do DMA sync for CPU and device properly. When the buffer is no longer used, free it with usb_free_noncoherent(). **Return** Either null (indicating no buffer could be allocated), or the cpu-space pointer to a buffer that may be used to perform DMA to the specified device. Such cpu-space buffers are returned along with the DMA address (through the pointer provided).”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj=h]”hŒ Parameters”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj=ubjD)�”}”(hhh]”(jI)�”}”(hŒ?``struct usb_device *dev`` device the buffer will be used with ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hj4=h]”hŒstruct usb_device *dev”…”�”}”(hj6=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj2=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj.=ubji)�”}”(hhh]”hë)�”}”(hŒ#device the buffer will be used with”h]”hŒ#device the buffer will be used with”…”�”}”(hjM=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jI=h´MhjJ=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj.=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jI=h´Mhj+=ubjI)�”}”(hŒ&``size_t size`` requested buffer size ”h]”(jO)�”}”(hŒ``size_t size``”h]”jÑ)�”}”(hjm=h]”hŒ size_t size”…”�”}”(hjo=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjk=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhjg=ubji)�”}”(hhh]”hë)�”}”(hŒrequested buffer size”h]”hŒrequested buffer size”…”�”}”(hj†=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j‚=h´Mhjƒ=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjg=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‚=h´Mhj+=ubjI)�”}”(hŒ8``gfp_t mem_flags`` affect whether allocation may block ”h]”(jO)�”}”(hŒ``gfp_t mem_flags``”h]”jÑ)�”}”(hj¦=h]”hŒgfp_t mem_flags”…”�”}”(hj¨=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¤=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj =ubji)�”}”(hhh]”hë)�”}”(hŒ#affect whether allocation may block”h]”hŒ#affect whether allocation may block”…”�”}”(hj¿=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j»=h´Mhj¼=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj =ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j»=h´Mhj+=ubjI)�”}”(hŒ9``dma_addr_t *dma`` used to return DMA address of buffer ”h]”(jO)�”}”(hŒ``dma_addr_t *dma``”h]”jÑ)�”}”(hjß=h]”hŒdma_addr_t *dma”…”�”}”(hjá=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÝ=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MhjÙ=ubji)�”}”(hhh]”hë)�”}”(hŒ$used to return DMA address of buffer”h]”hŒ$used to return DMA address of buffer”…”�”}”(hjø=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jô=h´Mhjõ=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÙ=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jô=h´Mhj+=ubjI)�”}”(hŒ7``enum dma_data_direction dir`` DMA transfer direction ”h]”(jO)�”}”(hŒ``enum dma_data_direction dir``”h]”jÑ)�”}”(hj>h]”hŒenum dma_data_direction dir”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj>ubji)�”}”(hhh]”hë)�”}”(hŒDMA transfer direction”h]”hŒDMA transfer direction”…”�”}”(hj1>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j->h´Mhj.>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j->h´Mhj+=ubjI)�”}”(hŒH``struct sg_table **table`` used to return sg_table of allocated memory ”h]”(jO)�”}”(hŒ``struct sg_table **table``”h]”jÑ)�”}”(hjQ>h]”hŒstruct sg_table **table”…”�”}”(hjS>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjO>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MhjK>ubji)�”}”(hhh]”hë)�”}”(hŒ+used to return sg_table of allocated memory”h]”hŒ+used to return sg_table of allocated memory”…”�”}”(hjj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jf>h´Mhjg>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjK>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jf>h´Mhj+=ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj=ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjŒ>h]”hŒ Description”…”�”}”(hjŽ>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŠ>ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj=ubhë)�”}”(hŒ·To explicit manage the memory ownership for the kernel vs the device by USB core, the user needs save sg_table to urb->sgt. Then USB core will do DMA sync for CPU and device properly.”h]”hŒ·To explicit manage the memory ownership for the kernel vs the device by USB core, the user needs save sg_table to urb->sgt. Then USB core will do DMA sync for CPU and device properly.”…”�”}”(hj¢>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj=ubhë)�”}”(hŒGWhen the buffer is no longer used, free it with usb_free_noncoherent().”h]”hŒGWhen the buffer is no longer used, free it with usb_free_noncoherent().”…”�”}”(hj±>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj=ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÂ>h]”hŒReturn”…”�”}”(hjÄ>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÀ>ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj=ubhë)�”}”(hŒôEither null (indicating no buffer could be allocated), or the cpu-space pointer to a buffer that may be used to perform DMA to the specified device. Such cpu-space buffers are returned along with the DMA address (through the pointer provided).”h]”hŒôEither null (indicating no buffer could be allocated), or the cpu-space pointer to a buffer that may be used to perform DMA to the specified device. Such cpu-space buffers are returned along with the DMA address (through the pointer provided).”…”�”}”(hjØ>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mhj=ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ*usb_core.usb_free_noncoherent (C function)”Œc.usb_core.usb_free_noncoherent”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ€void usb_free_noncoherent (struct usb_device *dev, size_t size, void *addr, enum dma_data_direction dir, struct sg_table *table)”h]”j+)�”}”(hŒvoid usb_free_noncoherent(struct usb_device *dev, size_t size, void *addr, enum dma_data_direction dir, struct sg_table *table)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj?h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MAubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj?h²hh³j?h´MAubj„)�”}”(hŒusb_free_noncoherent”h]”jŠ)�”}”(hŒusb_free_noncoherent”h]”hŒusb_free_noncoherent”…”�”}”(hj(?h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj$?ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj?h²hh³j?h´MAubj¥)�”}”(hŒf(struct usb_device *dev, size_t size, void *addr, enum dma_data_direction dir, struct sg_table *table)”h]”(j«)�”}”(hŒstruct usb_device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjD?h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj@?ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjQ?h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj@?ubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjb?h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj_?ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jd?Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj*?sbŒc.usb_core.usb_free_noncoherent”†”esbuh1hhj@?ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjƒ?h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj@?ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj‘?h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj@?ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjž?h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj@?ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj@ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjO@h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj>@ubh)�”}”(hhh]”jŠ)�”}”(hŒdma_data_direction”h]”hŒdma_data_direction”…”�”}”(hj`@h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj]@ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jb@Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j?Œc.usb_core.usb_free_noncoherent”†”esbuh1hhj>@ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj>@ubjŠ)�”}”(hŒdir”h]”hŒdir”…”�”}”(hj�@h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj>@ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjh²hh³j?h´MAubah}”(h]”jú>ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j?h´MAhjü>h²hubjü)�”}”(hhh]”hë)�”}”(hŒ2free memory allocated with usb_alloc_noncoherent()”h]”hŒ2free memory allocated with usb_alloc_noncoherent()”…”�”}”(hj(Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MAhj%Ah²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjü>h²hh³j?h´MAubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj@Ajj@Aj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXõ**Parameters** ``struct usb_device *dev`` device the buffer was used with ``size_t size`` requested buffer size ``void *addr`` CPU address of buffer ``enum dma_data_direction dir`` DMA transfer direction ``struct sg_table *table`` describe the allocated and DMA mapped memory, **Description** This reclaims an I/O buffer, letting it be reused. The memory must have been allocated using usb_alloc_noncoherent(), and the parameters must match those provided in that allocation request.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjJAh]”hŒ Parameters”…”�”}”(hjLAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjHAubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MEhjDAubjD)�”}”(hhh]”(jI)�”}”(hŒ;``struct usb_device *dev`` device the buffer was used with ”h]”(jO)�”}”(hŒ``struct usb_device *dev``”h]”jÑ)�”}”(hjiAh]”hŒstruct usb_device *dev”…”�”}”(hjkAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjgAubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MBhjcAubji)�”}”(hhh]”hë)�”}”(hŒdevice the buffer was used with”h]”hŒdevice the buffer was used with”…”�”}”(hj‚Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j~Ah´MBhjAubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjcAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j~Ah´MBhj`AubjI)�”}”(hŒ&``size_t size`` requested buffer size ”h]”(jO)�”}”(hŒ``size_t size``”h]”jÑ)�”}”(hj¢Ah]”hŒ size_t size”…”�”}”(hj¤Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj Aubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MChjœAubji)�”}”(hhh]”hë)�”}”(hŒrequested buffer size”h]”hŒrequested buffer size”…”�”}”(hj»Ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j·Ah´MChj¸Aubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjœAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j·Ah´MChj`AubjI)�”}”(hŒ%``void *addr`` CPU address of buffer ”h]”(jO)�”}”(hŒ``void *addr``”h]”jÑ)�”}”(hjÛAh]”hŒ void *addr”…”�”}”(hjÝAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÙAubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MDhjÕAubji)�”}”(hhh]”hë)�”}”(hŒCPU address of buffer”h]”hŒCPU address of buffer”…”�”}”(hjôAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jðAh´MDhjñAubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÕAubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jðAh´MDhj`AubjI)�”}”(hŒ7``enum dma_data_direction dir`` DMA transfer direction ”h]”(jO)�”}”(hŒ``enum dma_data_direction dir``”h]”jÑ)�”}”(hjBh]”hŒenum dma_data_direction dir”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjBubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MEhjBubji)�”}”(hhh]”hë)�”}”(hŒDMA transfer direction”h]”hŒDMA transfer direction”…”�”}”(hj-Bh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j)Bh´MEhj*Bubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jH•h³j)Bh´MEhj`AubjI)�”}”(hŒI``struct sg_table *table`` describe the allocated and DMA mapped memory, ”h]”(jO)�”}”(hŒ``struct sg_table *table``”h]”jÑ)�”}”(hjMBh]”hŒstruct sg_table *table”…”�”}”(hjOBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjKBubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MFhjGBubji)�”}”(hhh]”hë)�”}”(hŒ-describe the allocated and DMA mapped memory,”h]”hŒ-describe the allocated and DMA mapped memory,”…”�”}”(hjfBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jbBh´MFhjcBubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjGBubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jbBh´MFhj`Aubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjDAubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjˆBh]”hŒ Description”…”�”}”(hjŠBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj†Bubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MHhjDAubhë)�”}”(hŒ¿This reclaims an I/O buffer, letting it be reused. The memory must have been allocated using usb_alloc_noncoherent(), and the parameters must match those provided in that allocation request.”h]”hŒ¿This reclaims an I/O buffer, letting it be reused. The memory must have been allocated using usb_alloc_noncoherent(), and the parameters must match those provided in that allocation request.”…”�”}”(hjžBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MGhjDAubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ7usb_core.usb_endpoint_max_periodic_payload (C function)”Œ,c.usb_core.usb_endpoint_max_periodic_payload”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒcu32 usb_endpoint_max_periodic_payload (struct usb_device *udev, const struct usb_host_endpoint *ep)”h]”j+)�”}”(hŒbu32 usb_endpoint_max_periodic_payload(struct usb_device *udev, const struct usb_host_endpoint *ep)”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒu32”h]”hŒu32”…”�”}”(hjÐBh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÍBubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÒBŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒ!usb_endpoint_max_periodic_payload”sbŒ,c.usb_core.usb_endpoint_max_periodic_payload”†”esbuh1hhjÉBh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M^ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjóBh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÉBh²hh³jòBh´M^ubj„)�”}”(hŒ!usb_endpoint_max_periodic_payload”h]”jŠ)�”}”(hjïBh]”hŒ!usb_endpoint_max_periodic_payload”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjCubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjÉBh²hh³jòBh´M^ubj¥)�”}”(hŒ=(struct usb_device *udev, const struct usb_host_endpoint *ep)”h]”(j«)�”}”(hŒstruct usb_device *udev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj Ch²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjCubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj-Ch²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjCubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj>Ch²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj;Cubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j@CŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jíBŒ,c.usb_core.usb_endpoint_max_periodic_payload”†”esbuh1hhjCubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj]Ch²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjCubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjkCh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjCubjŠ)�”}”(hŒudev”h]”hŒudev”…”�”}”(hjxCh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjCubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjCubj«)�”}”(hŒ"const struct usb_host_endpoint *ep”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj‘Ch²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj�CubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjžCh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj�Cubj1)�”}”(hjh]”hŒstruct”…”�”}”(hj¬Ch²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj�CubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¹Ch²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj�Cubh)�”}”(hhh]”jŠ)�”}”(hŒusb_host_endpoint”h]”hŒusb_host_endpoint”…”�”}”(hjÊCh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÇCubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÌCŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jíBŒ,c.usb_core.usb_endpoint_max_periodic_payload”†”esbuh1hhj�CubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjéCh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj�Cubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj÷Ch²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj�CubjŠ)�”}”(hŒep”h]”hŒep”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj�Cubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjCubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjÉBh²hh³jòBh´M^ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÅBh²hh³jòBh´M^ubah}”(h]”jÀBah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jòBh´M^hjÂBh²hubjü)�”}”(hhh]”hë)�”}”(hŒ.Get maximum payload bytes per service interval”h]”hŒ.Get maximum payload bytes per service interval”…”�”}”(hj.Dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M^hj+Dh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÂBh²hh³jòBh´M^ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjFDjjFDj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX**Parameters** ``struct usb_device *udev`` The USB device ``const struct usb_host_endpoint *ep`` The endpoint **Return** the maximum number of bytes isochronous or interrupt endpoint **ep** can transfer during a service interval, or 0 for other endpoints.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjPDh]”hŒ Parameters”…”�”}”(hjRDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjNDubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MbhjJDubjD)�”}”(hhh]”(jI)�”}”(hŒ+``struct usb_device *udev`` The USB device ”h]”(jO)�”}”(hŒ``struct usb_device *udev``”h]”jÑ)�”}”(hjoDh]”hŒstruct usb_device *udev”…”�”}”(hjqDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjmDubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M`hjiDubji)�”}”(hhh]”hë)�”}”(hŒThe USB device”h]”hŒThe USB device”…”�”}”(hjˆDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j„Dh´M`hj…Dubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjiDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j„Dh´M`hjfDubjI)�”}”(hŒ4``const struct usb_host_endpoint *ep`` The endpoint ”h]”(jO)�”}”(hŒ&``const struct usb_host_endpoint *ep``”h]”jÑ)�”}”(hj¨Dh]”hŒ"const struct usb_host_endpoint *ep”…”�”}”(hjªDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¦Dubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´Mahj¢Dubji)�”}”(hhh]”hë)�”}”(hŒ The endpoint”h]”hŒ The endpoint”…”�”}”(hjÁDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j½Dh´Mahj¾Dubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¢Dubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j½Dh´MahjfDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjJDubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjãDh]”hŒReturn”…”�”}”(hjåDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjáDubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MchjJDubhë)�”}”(hŒ†the maximum number of bytes isochronous or interrupt endpoint **ep** can transfer during a service interval, or 0 for other endpoints.”h]”(hŒ>the maximum number of bytes isochronous or interrupt endpoint ”…”�”}”(hjùDh²hh³Nh´Nubj.)�”}”(hŒ**ep**”h]”hŒep”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjùDubhŒB can transfer during a service interval, or 0 for other endpoints.”…”�”}”(hjùDh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MchjJDubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ4usb_core.usb_endpoint_is_hs_isoc_double (C function)”Œ)c.usb_core.usb_endpoint_is_hs_isoc_double”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒabool usb_endpoint_is_hs_isoc_double (struct usb_device *udev, const struct usb_host_endpoint *ep)”h]”j+)�”}”(hŒ`bool usb_endpoint_is_hs_isoc_double(struct usb_device *udev, const struct usb_host_endpoint *ep)”h]”(jT)�”}”(hj›h]”hŒbool”…”�”}”(hj:Eh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj6Eh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M}ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHEh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj6Eh²hh³jGEh´M}ubj„)�”}”(hŒusb_endpoint_is_hs_isoc_double”h]”jŠ)�”}”(hŒusb_endpoint_is_hs_isoc_double”h]”hŒusb_endpoint_is_hs_isoc_double”…”�”}”(hjZEh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjVEubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj6Eh²hh³jGEh´M}ubj¥)�”}”(hŒ=(struct usb_device *udev, const struct usb_host_endpoint *ep)”h]”(j«)�”}”(hŒstruct usb_device *udev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjvEh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjrEubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjƒEh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjrEubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj”Eh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‘Eubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j–EŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj\EsbŒ)c.usb_core.usb_endpoint_is_hs_isoc_double”†”esbuh1hhjrEubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjµEh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjrEubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÃEh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjrEubjŠ)�”}”(hŒudev”h]”hŒudev”…”�”}”(hjÐEh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjrEubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjnEubj«)�”}”(hŒ"const struct usb_host_endpoint *ep”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjéEh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjåEubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjöEh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåEubj1)�”}”(hjh]”hŒstruct”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjåEubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåEubh)�”}”(hhh]”jŠ)�”}”(hŒusb_host_endpoint”h]”hŒusb_host_endpoint”…”�”}”(hj"Fh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjFubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j$FŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j±EŒ)c.usb_core.usb_endpoint_is_hs_isoc_double”†”esbuh1hhjåEubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjAFh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåEubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjOFh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjåEubjŠ)�”}”(hŒep”h]”hŒep”…”�”}”(hj\Fh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjåEubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjnEubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj6Eh²hh³jGEh´M}ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj2Eh²hh³jGEh´M}ubah}”(h]”j-Eah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jGEh´M}hj/Eh²hubjü)�”}”(hhh]”hë)�”}”(hŒCTell whether an endpoint uses USB 2 Isochronous Double IN Bandwidth”h]”hŒCTell whether an endpoint uses USB 2 Isochronous Double IN Bandwidth”…”�”}”(hj†Fh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M}hjƒFh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj/Eh²hh³jGEh´M}ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjžFjjžFj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hŒã**Parameters** ``struct usb_device *udev`` The USB device ``const struct usb_host_endpoint *ep`` The endpoint **Return** true if an endpoint **ep** conforms to USB 2 Isochronous Double IN Bandwidth ECN, false otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¨Fh]”hŒ Parameters”…”�”}”(hjªFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¦Fubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M�hj¢FubjD)�”}”(hhh]”(jI)�”}”(hŒ+``struct usb_device *udev`` The USB device ”h]”(jO)�”}”(hŒ``struct usb_device *udev``”h]”jÑ)�”}”(hjÇFh]”hŒstruct usb_device *udev”…”�”}”(hjÉFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÅFubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´MhjÁFubji)�”}”(hhh]”hë)�”}”(hŒThe USB device”h]”hŒThe USB device”…”�”}”(hjàFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÜFh´MhjÝFubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÁFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÜFh´Mhj¾FubjI)�”}”(hŒ4``const struct usb_host_endpoint *ep`` The endpoint ”h]”(jO)�”}”(hŒ&``const struct usb_host_endpoint *ep``”h]”jÑ)�”}”(hjGh]”hŒ"const struct usb_host_endpoint *ep”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjþFubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M€hjúFubji)�”}”(hhh]”hë)�”}”(hŒ The endpoint”h]”hŒ The endpoint”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jGh´M€hjGubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjúFubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jGh´M€hj¾Fubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj¢Fubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj;Gh]”hŒReturn”…”�”}”(hj=Gh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj9Gubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M‚hj¢Fubhë)�”}”(hŒbtrue if an endpoint **ep** conforms to USB 2 Isochronous Double IN Bandwidth ECN, false otherwise.”h]”(hŒtrue if an endpoint ”…”�”}”(hjQGh²hh³Nh´Nubj.)�”}”(hŒ**ep**”h]”hŒep”…”�”}”(hjYGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjQGubhŒH conforms to USB 2 Isochronous Double IN Bandwidth ECN, false otherwise.”…”�”}”(hjQGh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:174: ./drivers/usb/core/usb.c”h´M‚hj¢Fubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_core.usb_hub_clear_tt_buffer (C function)”Œ"c.usb_core.usb_hub_clear_tt_buffer”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ-int usb_hub_clear_tt_buffer (struct urb *urb)”h]”j+)�”}”(hŒ,int usb_hub_clear_tt_buffer(struct urb *urb)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj’Gh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjŽGh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M‘ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¡Gh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjŽGh²hh³j Gh´M‘ubj„)�”}”(hŒusb_hub_clear_tt_buffer”h]”jŠ)�”}”(hŒusb_hub_clear_tt_buffer”h]”hŒusb_hub_clear_tt_buffer”…”�”}”(hj³Gh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¯Gubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjŽGh²hh³j Gh´M‘ubj¥)�”}”(hŒ(struct urb *urb)”h]”j«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÏGh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjËGubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÜGh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjËGubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjíGh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjêGubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jïGŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjµGsbŒ"c.usb_core.usb_hub_clear_tt_buffer”†”esbuh1hhjËGubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjËGubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjËGubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj)Hh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjËGubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÇGubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjŽGh²hh³j Gh´M‘ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjŠGh²hh³j Gh´M‘ubah}”(h]”j…Gah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j Gh´M‘hj‡Gh²hubjü)�”}”(hhh]”hë)�”}”(hŒ-clear control/bulk TT state in high speed hub”h]”hŒ-clear control/bulk TT state in high speed hub”…”�”}”(hjSHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M‘hjPHh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj‡Gh²hh³j Gh´M‘ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjkHjjkHj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX+**Parameters** ``struct urb *urb`` an URB associated with the failed or incomplete split transaction **Description** High speed HCDs use this to tell the hub driver that some split control or bulk transaction failed in a way that requires clearing internal state of a transaction translator. This is normally detected (and reported) from interrupt context. It may not be possible for that hub to handle additional full (or low) speed transactions until that state is fully cleared out. **Return** 0 if successful. A negative error code otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjuHh]”hŒ Parameters”…”�”}”(hjwHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjsHubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M•hjoHubjD)�”}”(hhh]”jI)�”}”(hŒV``struct urb *urb`` an URB associated with the failed or incomplete split transaction ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hj”Hh]”hŒstruct urb *urb”…”�”}”(hj–Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj’Hubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M’hjŽHubji)�”}”(hhh]”hë)�”}”(hŒAan URB associated with the failed or incomplete split transaction”h]”hŒAan URB associated with the failed or incomplete split transaction”…”�”}”(hj­Hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j©Hh´M’hjªHubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjŽHubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j©Hh´M’hj‹Hubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjoHubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÏHh]”hŒ Description”…”�”}”(hjÑHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÍHubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M”hjoHubhë)�”}”(hŒðHigh speed HCDs use this to tell the hub driver that some split control or bulk transaction failed in a way that requires clearing internal state of a transaction translator. This is normally detected (and reported) from interrupt context.”h]”hŒðHigh speed HCDs use this to tell the hub driver that some split control or bulk transaction failed in a way that requires clearing internal state of a transaction translator. This is normally detected (and reported) from interrupt context.”…”�”}”(hjåHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M“hjoHubhë)�”}”(hŒ€It may not be possible for that hub to handle additional full (or low) speed transactions until that state is fully cleared out.”h]”hŒ€It may not be possible for that hub to handle additional full (or low) speed transactions until that state is fully cleared out.”…”�”}”(hjôHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M˜hjoHubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjIh]”hŒReturn”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjIubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M›hjoHubhë)�”}”(hŒ10 if successful. A negative error code otherwise.”h]”hŒ10 if successful. A negative error code otherwise.”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MœhjoHubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ*usb_core.usb_set_device_state (C function)”Œc.usb_core.usb_set_device_state”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒTvoid usb_set_device_state (struct usb_device *udev, enum usb_device_state new_state)”h]”j+)�”}”(hŒSvoid usb_set_device_state(struct usb_device *udev, enum usb_device_state new_state)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjJIh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjFIh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MˆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjYIh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjFIh²hh³jXIh´Mˆubj„)�”}”(hŒusb_set_device_state”h]”jŠ)�”}”(hŒusb_set_device_state”h]”hŒusb_set_device_state”…”�”}”(hjkIh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjgIubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjFIh²hh³jXIh´Mˆubj¥)�”}”(hŒ:(struct usb_device *udev, enum usb_device_state new_state)”h]”(j«)�”}”(hŒstruct usb_device *udev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj‡Ih²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjƒIubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj”Ih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjƒIubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj¥Ih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¢Iubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j§IŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjmIsbŒc.usb_core.usb_set_device_state”†”esbuh1hhjƒIubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÆIh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjƒIubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÔIh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjƒIubjŠ)�”}”(hŒudev”h]”hŒudev”…”�”}”(hjáIh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjƒIubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjIubj«)�”}”(hŒenum usb_device_state new_state”h]”(j1)�”}”(hjh]”hŒenum”…”�”}”(hjúIh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjöIubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjöIubh)�”}”(hhh]”jŠ)�”}”(hŒusb_device_state”h]”hŒusb_device_state”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjJubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jJŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÂIŒc.usb_core.usb_set_device_state”†”esbuh1hhjöIubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj7Jh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjöIubjŠ)�”}”(hŒ new_state”h]”hŒ new_state”…”�”}”(hjEJh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjöIubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjIubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjFIh²hh³jXIh´Mˆubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjBIh²hh³jXIh´Mˆubah}”(h]”j=Iah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jXIh´Mˆhj?Ih²hubjü)�”}”(hhh]”hë)�”}”(hŒ/change a device's current state (usbcore, hcds)”h]”hŒ1change a device’s current state (usbcore, hcds)”…”�”}”(hjoJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MˆhjlJh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj?Ih²hh³jXIh´Mˆubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj‡Jjj‡Jj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXá**Parameters** ``struct usb_device *udev`` pointer to device whose state should be changed ``enum usb_device_state new_state`` new state value to be stored **Description** udev->state is _not_ fully protected by the device lock. Although most transitions are made only while holding the lock, the state can can change to USB_STATE_NOTATTACHED at almost any time. This is so that devices can be marked as disconnected as soon as possible, without having to wait for any semaphores to be released. As a result, all changes to any device's state must be protected by the device_state_lock spinlock. Once a device has been added to the device tree, all changes to its state should be made using this routine. The state should _not_ be set directly. If udev->state is already USB_STATE_NOTATTACHED then no change is made. Otherwise udev->state is set to new_state, and if new_state is USB_STATE_NOTATTACHED then all of udev's descendants' states are also set to USB_STATE_NOTATTACHED.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj‘Jh]”hŒ Parameters”…”�”}”(hj“Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj�Jubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MŒhj‹JubjD)�”}”(hhh]”(jI)�”}”(hŒL``struct usb_device *udev`` pointer to device whose state should be changed ”h]”(jO)�”}”(hŒ``struct usb_device *udev``”h]”jÑ)�”}”(hj°Jh]”hŒstruct usb_device *udev”…”�”}”(hj²Jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj®Jubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M‰hjªJubji)�”}”(hhh]”hë)�”}”(hŒ/pointer to device whose state should be changed”h]”hŒ/pointer to device whose state should be changed”…”�”}”(hjÉJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÅJh´M‰hjÆJubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjªJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÅJh´M‰hj§JubjI)�”}”(hŒA``enum usb_device_state new_state`` new state value to be stored ”h]”(jO)�”}”(hŒ#``enum usb_device_state new_state``”h]”jÑ)�”}”(hjéJh]”hŒenum usb_device_state new_state”…”�”}”(hjëJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjçJubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MŠhjãJubji)�”}”(hhh]”hë)�”}”(hŒnew state value to be stored”h]”hŒnew state value to be stored”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jþJh´MŠhjÿJubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjãJubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jþJh´MŠhj§Jubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj‹Jubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj$Kh]”hŒ Description”…”�”}”(hj&Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj"Kubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MŒhj‹Jubhë)�”}”(hXªudev->state is _not_ fully protected by the device lock. Although most transitions are made only while holding the lock, the state can can change to USB_STATE_NOTATTACHED at almost any time. This is so that devices can be marked as disconnected as soon as possible, without having to wait for any semaphores to be released. As a result, all changes to any device's state must be protected by the device_state_lock spinlock.”h]”hX¬udev->state is _not_ fully protected by the device lock. Although most transitions are made only while holding the lock, the state can can change to USB_STATE_NOTATTACHED at almost any time. This is so that devices can be marked as disconnected as soon as possible, without having to wait for any semaphores to be released. As a result, all changes to any device’s state must be protected by the device_state_lock spinlock.”…”�”}”(hj:Kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M‹hj‹Jubhë)�”}”(hŒ•Once a device has been added to the device tree, all changes to its state should be made using this routine. The state should _not_ be set directly.”h]”hŒ•Once a device has been added to the device tree, all changes to its state should be made using this routine. The state should _not_ be set directly.”…”�”}”(hjIKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M“hj‹Jubhë)�”}”(hŒêIf udev->state is already USB_STATE_NOTATTACHED then no change is made. Otherwise udev->state is set to new_state, and if new_state is USB_STATE_NOTATTACHED then all of udev's descendants' states are also set to USB_STATE_NOTATTACHED.”h]”hŒîIf udev->state is already USB_STATE_NOTATTACHED then no change is made. Otherwise udev->state is set to new_state, and if new_state is USB_STATE_NOTATTACHED then all of udev’s descendants’ states are also set to USB_STATE_NOTATTACHED.”…”�”}”(hjXKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M–hj‹Jubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_core.usb_root_hub_lost_power (C function)”Œ"c.usb_core.usb_root_hub_lost_power”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ7void usb_root_hub_lost_power (struct usb_device *rhdev)”h]”j+)�”}”(hŒ6void usb_root_hub_lost_power(struct usb_device *rhdev)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj‡Kh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjƒKh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MûubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj–Kh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjƒKh²hh³j•Kh´Mûubj„)�”}”(hŒusb_root_hub_lost_power”h]”jŠ)�”}”(hŒusb_root_hub_lost_power”h]”hŒusb_root_hub_lost_power”…”�”}”(hj¨Kh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¤Kubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjƒKh²hh³j•Kh´Mûubj¥)�”}”(hŒ(struct usb_device *rhdev)”h]”j«)�”}”(hŒstruct usb_device *rhdev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÄKh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÀKubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÑKh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÀKubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hjâKh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjßKubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jäKŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjªKsbŒ"c.usb_core.usb_root_hub_lost_power”†”esbuh1hhjÀKubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÀKubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÀKubjŠ)�”}”(hŒrhdev”h]”hŒrhdev”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÀKubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj¼Kubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjƒKh²hh³j•Kh´Mûubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjKh²hh³j•Kh´Mûubah}”(h]”jzKah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j•Kh´Mûhj|Kh²hubjü)�”}”(hhh]”hë)�”}”(hŒ-called by HCD if the root hub lost Vbus power”h]”hŒ-called by HCD if the root hub lost Vbus power”…”�”}”(hjHLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MûhjELh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj|Kh²hh³j•Kh´Mûubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj`Ljj`Lj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXÖ**Parameters** ``struct usb_device *rhdev`` struct usb_device for the root hub **Description** The USB host controller driver calls this function when its root hub is resumed and Vbus power has been interrupted or the controller has been reset. The routine marks **rhdev** as having lost power. When the hub driver is resumed it will take notice and carry out power-session recovery for all the "USB-PERSIST"-enabled child devices; the others will be disconnected.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjjLh]”hŒ Parameters”…”�”}”(hjlLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjhLubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÿhjdLubjD)�”}”(hhh]”jI)�”}”(hŒ@``struct usb_device *rhdev`` struct usb_device for the root hub ”h]”(jO)�”}”(hŒ``struct usb_device *rhdev``”h]”jÑ)�”}”(hj‰Lh]”hŒstruct usb_device *rhdev”…”�”}”(hj‹Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‡Lubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MühjƒLubji)�”}”(hhh]”hë)�”}”(hŒ"struct usb_device for the root hub”h]”hŒ"struct usb_device for the root hub”…”�”}”(hj¢Lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jžLh´MühjŸLubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjƒLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jžLh´Mühj€Lubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjdLubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÄLh]”hŒ Description”…”�”}”(hjÆLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÂLubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MþhjdLubhë)�”}”(hXrThe USB host controller driver calls this function when its root hub is resumed and Vbus power has been interrupted or the controller has been reset. The routine marks **rhdev** as having lost power. When the hub driver is resumed it will take notice and carry out power-session recovery for all the "USB-PERSIST"-enabled child devices; the others will be disconnected.”h]”(hŒ©The USB host controller driver calls this function when its root hub is resumed and Vbus power has been interrupted or the controller has been reset. The routine marks ”…”�”}”(hjÚLh²hh³Nh´Nubj.)�”}”(hŒ **rhdev**”h]”hŒrhdev”…”�”}”(hjâLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÚLubhŒÄ as having lost power. When the hub driver is resumed it will take notice and carry out power-session recovery for all the “USB-PERSISTâ€�-enabled child devices; the others will be disconnected.”…”�”}”(hjÚLh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MýhjdLubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ&usb_core.usb_reset_device (C function)”Œc.usb_core.usb_reset_device”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ.int usb_reset_device (struct usb_device *udev)”h]”j+)�”}”(hŒ-int usb_reset_device(struct usb_device *udev)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjMh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÆubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj*Mh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjMh²hh³j)Mh´MÆubj„)�”}”(hŒusb_reset_device”h]”jŠ)�”}”(hŒusb_reset_device”h]”hŒusb_reset_device”…”�”}”(hjMsbŒc.usb_core.usb_reset_device”†”esbuh1hhjTMubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj—Mh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjTMubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¥Mh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjTMubjŠ)�”}”(hŒudev”h]”hŒudev”…”�”}”(hj²Mh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjTMubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjPMubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjMh²hh³j)Mh´MÆubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjMh²hh³j)Mh´MÆubah}”(h]”jMah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j)Mh´MÆhjMh²hubjü)�”}”(hhh]”hë)�”}”(hŒ3warn interface drivers and perform a USB port reset”h]”hŒ3warn interface drivers and perform a USB port reset”…”�”}”(hjÜMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÆhjÙMh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjMh²hh³j)Mh´MÆubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjôMjjôMj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXˆ**Parameters** ``struct usb_device *udev`` device to reset (not in NOTATTACHED state) **Description** Warns all drivers bound to registered interfaces (using their pre_reset method), performs the port reset, and then lets the drivers know that the reset is over (using their post_reset method). **Return** The same as for usb_reset_and_verify_device(). However, if a reset is already in progress (for instance, if a driver doesn't have pre_reset() or post_reset() callbacks, and while being unbound or re-bound during the ongoing reset its disconnect() or probe() routine tries to perform a second, nested reset), the routine returns -EINPROGRESS. **Note** The caller must own the device lock. For example, it's safe to use this from a driver probe() routine after downloading new firmware. For calls that might not occur during probe(), drivers should lock the device using usb_lock_device_for_reset(). If an interface is currently being probed or disconnected, we assume its driver knows how to handle resets. For all other interfaces, if the driver doesn't have pre_reset and post_reset methods then we attempt to unbind it and rebind afterward.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjþMh]”hŒ Parameters”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjüMubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÊhjøMubjD)�”}”(hhh]”jI)�”}”(hŒG``struct usb_device *udev`` device to reset (not in NOTATTACHED state) ”h]”(jO)�”}”(hŒ``struct usb_device *udev``”h]”jÑ)�”}”(hjNh]”hŒstruct usb_device *udev”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjNubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÇhjNubji)�”}”(hhh]”hë)�”}”(hŒ*device to reset (not in NOTATTACHED state)”h]”hŒ*device to reset (not in NOTATTACHED state)”…”�”}”(hj6Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j2Nh´MÇhj3Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjNubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j2Nh´MÇhjNubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjøMubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjXNh]”hŒ Description”…”�”}”(hjZNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjVNubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÉhjøMubhë)�”}”(hŒÀWarns all drivers bound to registered interfaces (using their pre_reset method), performs the port reset, and then lets the drivers know that the reset is over (using their post_reset method).”h]”hŒÀWarns all drivers bound to registered interfaces (using their pre_reset method), performs the port reset, and then lets the drivers know that the reset is over (using their post_reset method).”…”�”}”(hjnNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÈhjøMubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjNh]”hŒReturn”…”�”}”(hj�Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj}Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÌhjøMubhë)�”}”(hXUThe same as for usb_reset_and_verify_device(). However, if a reset is already in progress (for instance, if a driver doesn't have pre_reset() or post_reset() callbacks, and while being unbound or re-bound during the ongoing reset its disconnect() or probe() routine tries to perform a second, nested reset), the routine returns -EINPROGRESS.”h]”hXWThe same as for usb_reset_and_verify_device(). However, if a reset is already in progress (for instance, if a driver doesn’t have pre_reset() or post_reset() callbacks, and while being unbound or re-bound during the ongoing reset its disconnect() or probe() routine tries to perform a second, nested reset), the routine returns -EINPROGRESS.”…”�”}”(hj•Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÍhjøMubhë)�”}”(hŒ**Note**”h]”j.)�”}”(hj¦Nh]”hŒNote”…”�”}”(hj¨Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¤Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÔhjøMubhë)�”}”(hŒ÷The caller must own the device lock. For example, it's safe to use this from a driver probe() routine after downloading new firmware. For calls that might not occur during probe(), drivers should lock the device using usb_lock_device_for_reset().”h]”hŒùThe caller must own the device lock. For example, it’s safe to use this from a driver probe() routine after downloading new firmware. For calls that might not occur during probe(), drivers should lock the device using usb_lock_device_for_reset().”…”�”}”(hj¼Nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÔhjøMubhë)�”}”(hŒõIf an interface is currently being probed or disconnected, we assume its driver knows how to handle resets. For all other interfaces, if the driver doesn't have pre_reset and post_reset methods then we attempt to unbind it and rebind afterward.”h]”hŒ÷If an interface is currently being probed or disconnected, we assume its driver knows how to handle resets. For all other interfaces, if the driver doesn’t have pre_reset and post_reset methods then we attempt to unbind it and rebind afterward.”…”�”}”(hjËNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MÙhjøMubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ,usb_core.usb_queue_reset_device (C function)”Œ!c.usb_core.usb_queue_reset_device”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ9void usb_queue_reset_device (struct usb_interface *iface)”h]”j+)�”}”(hŒ8void usb_queue_reset_device(struct usb_interface *iface)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjúNh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjöNh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M?ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj Oh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjöNh²hh³jOh´M?ubj„)�”}”(hŒusb_queue_reset_device”h]”jŠ)�”}”(hŒusb_queue_reset_device”h]”hŒusb_queue_reset_device”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjOubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjöNh²hh³jOh´M?ubj¥)�”}”(hŒ(struct usb_interface *iface)”h]”j«)�”}”(hŒstruct usb_interface *iface”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj7Oh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj3OubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjDOh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj3Oubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjUOh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjROubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jWOŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjOsbŒ!c.usb_core.usb_queue_reset_device”†”esbuh1hhj3OubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjvOh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj3Oubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj„Oh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj3OubjŠ)�”}”(hŒiface”h]”hŒiface”…”�”}”(hj‘Oh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj3Oubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj/Oubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjöNh²hh³jOh´M?ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjòNh²hh³jOh´M?ubah}”(h]”jíNah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jOh´M?hjïNh²hubjü)�”}”(hhh]”hë)�”}”(hŒ)Reset a USB device from an atomic context”h]”hŒ)Reset a USB device from an atomic context”…”�”}”(hj»Oh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M?hj¸Oh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjïNh²hh³jOh´M?ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÓOjjÓOj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hX¡**Parameters** ``struct usb_interface *iface`` USB interface belonging to the device to reset **Description** This function can be used to reset a USB device from an atomic context, where usb_reset_device() won't work (as it blocks). Doing a reset via this method is functionally equivalent to calling usb_reset_device(), except for the fact that it is delayed to a workqueue. This means that any drivers bound to other interfaces might be unbound, as well as users from usbfs in user space. Corner cases: - Scheduling two resets at the same time from two different drivers attached to two different interfaces of the same device is possible; depending on how the driver attached to each interface handles ->pre_reset(), the second reset might happen or not. - If the reset is delayed so long that the interface is unbound from its driver, the reset will be skipped. - This function can be called during .probe(). It can also be called during .disconnect(), but doing so is pointless because the reset will not occur. If you really want to reset the device during .disconnect(), call usb_reset_device() directly -- but watch out for nested unbinding issues!”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÝOh]”hŒ Parameters”…”�”}”(hjßOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÛOubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MChj×OubjD)�”}”(hhh]”jI)�”}”(hŒO``struct usb_interface *iface`` USB interface belonging to the device to reset ”h]”(jO)�”}”(hŒ``struct usb_interface *iface``”h]”jÑ)�”}”(hjüOh]”hŒstruct usb_interface *iface”…”�”}”(hjþOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjúOubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´M@hjöOubji)�”}”(hhh]”hë)�”}”(hŒ.USB interface belonging to the device to reset”h]”hŒ.USB interface belonging to the device to reset”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jPh´M@hjPubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjöOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jPh´M@hjóOubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj×Oubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj7Ph]”hŒ Description”…”�”}”(hj9Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj5Pubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MBhj×Oubhë)�”}”(hŒ{This function can be used to reset a USB device from an atomic context, where usb_reset_device() won't work (as it blocks).”h]”hŒ}This function can be used to reset a USB device from an atomic context, where usb_reset_device() won’t work (as it blocks).”…”�”}”(hjMPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MAhj×Oubhë)�”}”(hXDoing a reset via this method is functionally equivalent to calling usb_reset_device(), except for the fact that it is delayed to a workqueue. This means that any drivers bound to other interfaces might be unbound, as well as users from usbfs in user space.”h]”hXDoing a reset via this method is functionally equivalent to calling usb_reset_device(), except for the fact that it is delayed to a workqueue. This means that any drivers bound to other interfaces might be unbound, as well as users from usbfs in user space.”…”�”}”(hj\Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MDhj×Oubhë)�”}”(hŒ Corner cases:”h]”hŒ Corner cases:”…”�”}”(hjkPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MIhj×Oubj¶)�”}”(hhh]”(j»)�”}”(hŒûScheduling two resets at the same time from two different drivers attached to two different interfaces of the same device is possible; depending on how the driver attached to each interface handles ->pre_reset(), the second reset might happen or not. ”h]”hë)�”}”(hŒúScheduling two resets at the same time from two different drivers attached to two different interfaces of the same device is possible; depending on how the driver attached to each interface handles ->pre_reset(), the second reset might happen or not.”h]”hŒúScheduling two resets at the same time from two different drivers attached to two different interfaces of the same device is possible; depending on how the driver attached to each interface handles ->pre_reset(), the second reset might happen or not.”…”�”}”(hj�Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MKhj}Pubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjzPubj»)�”}”(hŒjIf the reset is delayed so long that the interface is unbound from its driver, the reset will be skipped. ”h]”hë)�”}”(hŒiIf the reset is delayed so long that the interface is unbound from its driver, the reset will be skipped.”h]”hŒiIf the reset is delayed so long that the interface is unbound from its driver, the reset will be skipped.”…”�”}”(hjšPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MPhj–Pubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjzPubj»)�”}”(hX"This function can be called during .probe(). It can also be called during .disconnect(), but doing so is pointless because the reset will not occur. If you really want to reset the device during .disconnect(), call usb_reset_device() directly -- but watch out for nested unbinding issues!”h]”hë)�”}”(hX"This function can be called during .probe(). It can also be called during .disconnect(), but doing so is pointless because the reset will not occur. If you really want to reset the device during .disconnect(), call usb_reset_device() directly -- but watch out for nested unbinding issues!”h]”hX"This function can be called during .probe(). It can also be called during .disconnect(), but doing so is pointless because the reset will not occur. If you really want to reset the device during .disconnect(), call usb_reset_device() directly -- but watch out for nested unbinding issues!”…”�”}”(hj³Ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MShj¯Pubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjzPubeh}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³j�Ph´MKhj×Oubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.usb_hub_find_child (C function)”Œc.usb_core.usb_hub_find_child”hNt”auh1jhj¶rh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒKstruct usb_device * usb_hub_find_child (struct usb_device *hdev, int port1)”h]”j+)�”}”(hŒIstruct usb_device *usb_hub_find_child(struct usb_device *hdev, int port1)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjîPh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjêPh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MbubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjüPh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjêPh²hh³jûPh´Mbubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj Qh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj Qubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jQŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒusb_hub_find_child”sbŒc.usb_core.usb_hub_find_child”†”esbuh1hhjêPh²hh³jûPh´MbubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj/Qh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjêPh²hh³jûPh´Mbubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj=Qh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjêPh²hh³jûPh´Mbubj„)�”}”(hŒusb_hub_find_child”h]”jŠ)�”}”(hj,Qh]”hŒusb_hub_find_child”…”�”}”(hjNQh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjJQubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjêPh²hh³jûPh´Mbubj¥)�”}”(hŒ$(struct usb_device *hdev, int port1)”h]”(j«)�”}”(hŒstruct usb_device *hdev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjiQh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjeQubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjvQh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjeQubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_device”h]”hŒ usb_device”…”�”}”(hj‡Qh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj„Qubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j‰QŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j*QŒc.usb_core.usb_hub_find_child”†”esbuh1hhjeQubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¦Qh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjeQubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj´Qh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjeQubjŠ)�”}”(hŒhdev”h]”hŒhdev”…”�”}”(hjÁQh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjeQubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjaQubj«)�”}”(hŒ int port1”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÚQh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÖQubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjèQh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÖQubjŠ)�”}”(hŒport1”h]”hŒport1”…”�”}”(hjöQh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÖQubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjaQubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjêPh²hh³jûPh´Mbubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjæPh²hh³jûPh´Mbubah}”(h]”jáPah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jûPh´MbhjãPh²hubjü)�”}”(hhh]”hë)�”}”(hŒUGet the pointer of child device attached to the port which is specified by **port1**.”h]”(hŒKGet the pointer of child device attached to the port which is specified by ”…”�”}”(hj Rh²hh³Nh´Nubj.)�”}”(hŒ **port1**”h]”hŒport1”…”�”}”(hj(Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj RubhŒ.”…”�”}”(hj Rh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MbhjRh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjãPh²hh³jûPh´Mbubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjJRjjJRj ‰j!‰j"‰uh1jh²hhj¶rh³Nh´Nubj$)�”}”(hXU**Parameters** ``struct usb_device *hdev`` USB device belonging to the usb hub ``int port1`` port num to indicate which port the child device is attached to. **Description** USB drivers call this function to get hub's child device pointer. **Return** ``NULL`` if input param is invalid and child's usb_device pointer if non-NULL.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjTRh]”hŒ Parameters”…”�”}”(hjVRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjRRubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MfhjNRubjD)�”}”(hhh]”(jI)�”}”(hŒ@``struct usb_device *hdev`` USB device belonging to the usb hub ”h]”(jO)�”}”(hŒ``struct usb_device *hdev``”h]”jÑ)�”}”(hjsRh]”hŒstruct usb_device *hdev”…”�”}”(hjuRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjqRubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MdhjmRubji)�”}”(hhh]”hë)�”}”(hŒ#USB device belonging to the usb hub”h]”hŒ#USB device belonging to the usb hub”…”�”}”(hjŒRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jˆRh´Mdhj‰Rubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjmRubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jˆRh´MdhjjRubjI)�”}”(hŒO``int port1`` port num to indicate which port the child device is attached to. ”h]”(jO)�”}”(hŒ ``int port1``”h]”jÑ)�”}”(hj¬Rh]”hŒ int port1”…”�”}”(hj®Rh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjªRubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´Mfhj¦Rubji)�”}”(hhh]”hë)�”}”(hŒ@port num to indicate which port the child device is attached to.”h]”hŒ@port num to indicate which port the child device is attached to.”…”�”}”(hjÅRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MehjÂRubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¦Rubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÁRh´MfhjjRubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjNRubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjèRh]”hŒ Description”…”�”}”(hjêRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjæRubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MhhjNRubhë)�”}”(hŒAUSB drivers call this function to get hub's child device pointer.”h]”hŒCUSB drivers call this function to get hub’s child device pointer.”…”�”}”(hjþRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MghjNRubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjSh]”hŒReturn”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj Subah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MjhjNRubhë)�”}”(hŒN``NULL`` if input param is invalid and child's usb_device pointer if non-NULL.”h]”(jÑ)�”}”(hŒ``NULL``”h]”hŒNULL”…”�”}”(hj)Sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj%SubhŒH if input param is invalid and child’s usb_device pointer if non-NULL.”…”�”}”(hj%Sh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:177: ./drivers/usb/core/hub.c”h´MkhjNRubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hj¶rh²hh³Nh´Nubeh}”(h]”Œ usb-core-apis”ah ]”h"]”Œ usb core apis”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KŒubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒHost Controller APIs”h]”hŒHost Controller APIs”…”�”}”(hjTSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjQSh²hh³hÃh´Kµubhë)�”}”(hXzThese APIs are only for use by host controller drivers, most of which implement standard register interfaces such as XHCI, EHCI, OHCI, or UHCI. UHCI was one of the first interfaces, designed by Intel and also used by VIA; it doesn't do much in hardware. OHCI was designed later, to have the hardware do more work (bigger transfers, tracking protocol state, and so on). EHCI was designed with USB 2.0; its design has features that resemble OHCI (hardware does much more work) as well as UHCI (some parts of ISO support, TD list processing). XHCI was designed with USB 3.0. It continues to shift support for functionality into hardware.”h]”hX|These APIs are only for use by host controller drivers, most of which implement standard register interfaces such as XHCI, EHCI, OHCI, or UHCI. UHCI was one of the first interfaces, designed by Intel and also used by VIA; it doesn’t do much in hardware. OHCI was designed later, to have the hardware do more work (bigger transfers, tracking protocol state, and so on). EHCI was designed with USB 2.0; its design has features that resemble OHCI (hardware does much more work) as well as UHCI (some parts of ISO support, TD list processing). XHCI was designed with USB 3.0. It continues to shift support for functionality into hardware.”…”�”}”(hjbSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´K·hjQSh²hubhë)�”}”(hX There are host controllers other than the "big three", although most PCI based controllers (and a few non-PCI based ones) use one of those interfaces. Not all host controllers use DMA; some use PIO, and there is also a simulator and a virtual host controller to pipe USB over the network.”h]”hX$There are host controllers other than the “big threeâ€�, although most PCI based controllers (and a few non-PCI based ones) use one of those interfaces. Not all host controllers use DMA; some use PIO, and there is also a simulator and a virtual host controller to pipe USB over the network.”…”�”}”(hjpSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KÁhjQSh²hubhë)�”}”(hX‡The same basic APIs are available to drivers for all those controllers. For historical reasons they are in two layers: :c:type:`struct usb_bus ` is a rather thin layer that became available in the 2.2 kernels, while :c:type:`struct usb_hcd ` is a more featureful layer that lets HCDs share common code, to shrink driver size and significantly reduce hcd-specific behaviors.”h]”(hŒwThe same basic APIs are available to drivers for all those controllers. For historical reasons they are in two layers: ”…”�”}”(hj~Sh²hh³Nh´Nubh)�”}”(hŒ":c:type:`struct usb_bus `”h]”jÑ)�”}”(hjˆSh]”hŒstruct usb_bus”…”�”}”(hjŠSh²hh³Nh´Nubah}”(h]”h ]”(jdjŒc-type”eh"]”h$]”h&]”uh1jÐhj†Subah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jdŒ refdomain”jŒreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jLjO)�”}”jR]”j�N†”asbjdŒusb_bus”uh1hh³hÃh´KÆhj~SubhŒH is a rather thin layer that became available in the 2.2 kernels, while ”…”�”}”(hj~Sh²hh³Nh´Nubh)�”}”(hŒ":c:type:`struct usb_hcd `”h]”jÑ)�”}”(hj¯Sh]”hŒstruct usb_hcd”…”�”}”(hj±Sh²hh³Nh´Nubah}”(h]”h ]”(jdjŒc-type”eh"]”h$]”h&]”uh1jÐh•j­Subah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jdŒ refdomain”jŒreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jLj¤SjdŒusb_hcd”uh1hh³hÃh´KÆhj~SubhŒ„ is a more featureful layer that lets HCDs share common code, to shrink driver size and significantly reduce hcd-specific behaviors.”…”�”}”(hj~Sh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KÆhjQSh²hubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_core.usb_calc_bus_time (C function)”Œc.usb_core.usb_calc_bus_time”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒIlong usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount)”h]”j+)�”}”(hŒHlong usb_calc_bus_time(int speed, int is_input, int isoc, int bytecount)”h]”(jT)�”}”(hŒlong”h]”hŒlong”…”�”}”(hjïSh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjëSh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjþSh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjëSh²hh³jýSh´Mubj„)�”}”(hŒusb_calc_bus_time”h]”jŠ)�”}”(hŒusb_calc_bus_time”h]”hŒusb_calc_bus_time”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj Tubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjëSh²hh³jýSh´Mubj¥)�”}”(hŒ2(int speed, int is_input, int isoc, int bytecount)”h]”(j«)�”}”(hŒ int speed”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj,Th²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj(TubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj:Th²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj(TubjŠ)�”}”(hŒspeed”h]”hŒspeed”…”�”}”(hjHTh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj(Tubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj$Tubj«)�”}”(hŒ int is_input”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjaTh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj]TubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjoTh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj]TubjŠ)�”}”(hŒis_input”h]”hŒis_input”…”�”}”(hj}Th²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj]Tubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj$Tubj«)�”}”(hŒint isoc”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj–Th²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj’TubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¤Th²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj’TubjŠ)�”}”(hŒisoc”h]”hŒisoc”…”�”}”(hj²Th²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj’Tubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj$Tubj«)�”}”(hŒ int bytecount”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjËTh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÇTubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÙTh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÇTubjŠ)�”}”(hŒ bytecount”h]”hŒ bytecount”…”�”}”(hjçTh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÇTubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj$Tubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjëSh²hh³jýSh´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjçSh²hh³jýSh´Mubah}”(h]”jâSah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jýSh´MhjäSh²hubjü)�”}”(hhh]”hë)�”}”(hŒ4approximate periodic transaction time in nanoseconds”h]”hŒ4approximate periodic transaction time in nanoseconds”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MhjUh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjäSh²hh³jýSh´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj)Ujj)Uj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXõ**Parameters** ``int speed`` from dev->speed; USB_SPEED_{LOW,FULL,HIGH} ``int is_input`` true iff the transaction sends data to the host ``int isoc`` true for isochronous transactions, false for interrupt ones ``int bytecount`` how many bytes in the transaction. **Return** Approximate bus time in nanoseconds for a periodic transaction. **Note** See USB 2.0 spec section 5.11.3; only periodic transfers need to be scheduled in software, this function is only used for such scheduling.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj3Uh]”hŒ Parameters”…”�”}”(hj5Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj1Uubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M#hj-UubjD)�”}”(hhh]”(jI)�”}”(hŒ9``int speed`` from dev->speed; USB_SPEED_{LOW,FULL,HIGH} ”h]”(jO)�”}”(hŒ ``int speed``”h]”jÑ)�”}”(hjRUh]”hŒ int speed”…”�”}”(hjTUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjPUubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M hjLUubji)�”}”(hhh]”hë)�”}”(hŒ*from dev->speed; USB_SPEED_{LOW,FULL,HIGH}”h]”hŒ*from dev->speed; USB_SPEED_{LOW,FULL,HIGH}”…”�”}”(hjkUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jgUh´M hjhUubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjLUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jgUh´M hjIUubjI)�”}”(hŒA``int is_input`` true iff the transaction sends data to the host ”h]”(jO)�”}”(hŒ``int is_input``”h]”jÑ)�”}”(hj‹Uh]”hŒ int is_input”…”�”}”(hj�Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‰Uubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M!hj…Uubji)�”}”(hhh]”hë)�”}”(hŒ/true iff the transaction sends data to the host”h]”hŒ/true iff the transaction sends data to the host”…”�”}”(hj¤Uh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j Uh´M!hj¡Uubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj…Uubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j Uh´M!hjIUubjI)�”}”(hŒI``int isoc`` true for isochronous transactions, false for interrupt ones ”h]”(jO)�”}”(hŒ ``int isoc``”h]”jÑ)�”}”(hjÄUh]”hŒint isoc”…”�”}”(hjÆUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÂUubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M"hj¾Uubji)�”}”(hhh]”hë)�”}”(hŒ;true for isochronous transactions, false for interrupt ones”h]”hŒ;true for isochronous transactions, false for interrupt ones”…”�”}”(hjÝUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÙUh´M"hjÚUubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¾Uubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÙUh´M"hjIUubjI)�”}”(hŒ5``int bytecount`` how many bytes in the transaction. ”h]”(jO)�”}”(hŒ``int bytecount``”h]”jÑ)�”}”(hjýUh]”hŒ int bytecount”…”�”}”(hjÿUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjûUubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M#hj÷Uubji)�”}”(hhh]”hë)�”}”(hŒ"how many bytes in the transaction.”h]”hŒ"how many bytes in the transaction.”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jVh´M#hjVubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj÷Uubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jVh´M#hjIUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj-Uubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj8Vh]”hŒReturn”…”�”}”(hj:Vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj6Vubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M%hj-Uubhë)�”}”(hŒ?Approximate bus time in nanoseconds for a periodic transaction.”h]”hŒ?Approximate bus time in nanoseconds for a periodic transaction.”…”�”}”(hjNVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M%hj-Uubhë)�”}”(hŒ**Note**”h]”j.)�”}”(hj_Vh]”hŒNote”…”�”}”(hjaVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj]Vubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M'hj-Uubhë)�”}”(hŒŠSee USB 2.0 spec section 5.11.3; only periodic transfers need to be scheduled in software, this function is only used for such scheduling.”h]”hŒŠSee USB 2.0 spec section 5.11.3; only periodic transfers need to be scheduled in software, this function is only used for such scheduling.”…”�”}”(hjuVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M'hj-Uubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ,usb_core.usb_hcd_link_urb_to_ep (C function)”Œ!c.usb_core.usb_hcd_link_urb_to_ep”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒAint usb_hcd_link_urb_to_ep (struct usb_hcd *hcd, struct urb *urb)”h]”j+)�”}”(hŒ@int usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj¤Vh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj Vh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MXubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj³Vh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj Vh²hh³j²Vh´MXubj„)�”}”(hŒusb_hcd_link_urb_to_ep”h]”jŠ)�”}”(hŒusb_hcd_link_urb_to_ep”h]”hŒusb_hcd_link_urb_to_ep”…”�”}”(hjÅVh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÁVubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj Vh²hh³j²Vh´MXubj¥)�”}”(hŒ&(struct usb_hcd *hcd, struct urb *urb)”h]”(j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjáVh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÝVubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjîVh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÝVubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hjÿVh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjüVubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jWŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÇVsbŒ!c.usb_core.usb_hcd_link_urb_to_ep”†”esbuh1hhjÝVubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj Wh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÝVubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj.Wh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÝVubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hj;Wh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÝVubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÙVubj«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjTWh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjPWubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjaWh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjPWubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjrWh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjoWubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jtWŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jWŒ!c.usb_core.usb_hcd_link_urb_to_ep”†”esbuh1hhjPWubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‘Wh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjPWubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjŸWh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjPWubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj¬Wh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjPWubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjÙVubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj Vh²hh³j²Vh´MXubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjœVh²hh³j²Vh´MXubah}”(h]”j—Vah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j²Vh´MXhj™Vh²hubjü)�”}”(hhh]”hë)�”}”(hŒ add an URB to its endpoint queue”h]”hŒ add an URB to its endpoint queue”…”�”}”(hjÖWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MXhjÓWh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj™Vh²hh³j²Vh´MXubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjîWjjîWj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hX�**Parameters** ``struct usb_hcd *hcd`` host controller to which **urb** was submitted ``struct urb *urb`` URB being submitted **Description** Host controller drivers should call this routine in their enqueue() method. The HCD's private spinlock must be held and interrupts must be disabled. The actions carried out here are required for URB submission, as well as for endpoint shutdown and for usb_kill_urb. **Return** 0 for no error, otherwise a negative error code (in which case the enqueue() method must fail). If no error occurs but enqueue() fails anyway, it must call usb_hcd_unlink_urb_from_ep() before releasing the private spinlock and returning.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjøWh]”hŒ Parameters”…”�”}”(hjúWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjöWubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M\hjòWubjD)�”}”(hhh]”(jI)�”}”(hŒG``struct usb_hcd *hcd`` host controller to which **urb** was submitted ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hjXh]”hŒstruct usb_hcd *hcd”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjXubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MYhjXubji)�”}”(hhh]”hë)�”}”(hŒ.host controller to which **urb** was submitted”h]”(hŒhost controller to which ”…”�”}”(hj0Xh²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hj8Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj0XubhŒ was submitted”…”�”}”(hj0Xh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j,Xh´MYhj-Xubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjXubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j,Xh´MYhjXubjI)�”}”(hŒ(``struct urb *urb`` URB being submitted ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hjbXh]”hŒstruct urb *urb”…”�”}”(hjdXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj`Xubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MZhj\Xubji)�”}”(hhh]”hë)�”}”(hŒURB being submitted”h]”hŒURB being submitted”…”�”}”(hj{Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jwXh´MZhjxXubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj\Xubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jwXh´MZhjXubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjòWubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj�Xh]”hŒ Description”…”�”}”(hjŸXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj›Xubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M\hjòWubhë)�”}”(hX Host controller drivers should call this routine in their enqueue() method. The HCD's private spinlock must be held and interrupts must be disabled. The actions carried out here are required for URB submission, as well as for endpoint shutdown and for usb_kill_urb.”h]”hX Host controller drivers should call this routine in their enqueue() method. The HCD’s private spinlock must be held and interrupts must be disabled. The actions carried out here are required for URB submission, as well as for endpoint shutdown and for usb_kill_urb.”…”�”}”(hj³Xh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M[hjòWubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjÄXh]”hŒReturn”…”�”}”(hjÆXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÂXubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M`hjòWubhë)�”}”(hŒî0 for no error, otherwise a negative error code (in which case the enqueue() method must fail). If no error occurs but enqueue() fails anyway, it must call usb_hcd_unlink_urb_from_ep() before releasing the private spinlock and returning.”h]”hŒî0 for no error, otherwise a negative error code (in which case the enqueue() method must fail). If no error occurs but enqueue() fails anyway, it must call usb_hcd_unlink_urb_from_ep() before releasing the private spinlock and returning.”…”�”}”(hjÚXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MahjòWubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ.usb_core.usb_hcd_check_unlink_urb (C function)”Œ#c.usb_core.usb_hcd_check_unlink_urb”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒOint usb_hcd_check_unlink_urb (struct usb_hcd *hcd, struct urb *urb, int status)”h]”j+)�”}”(hŒNint usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb, int status)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj Yh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjYh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MŽubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjYh²hh³jYh´MŽubj„)�”}”(hŒusb_hcd_check_unlink_urb”h]”jŠ)�”}”(hŒusb_hcd_check_unlink_urb”h]”hŒusb_hcd_check_unlink_urb”…”�”}”(hj*Yh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj&Yubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjYh²hh³jYh´MŽubj¥)�”}”(hŒ2(struct usb_hcd *hcd, struct urb *urb, int status)”h]”(j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjFYh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjBYubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjSYh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjBYubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hjdYh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjaYubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jfYŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj,YsbŒ#c.usb_core.usb_hcd_check_unlink_urb”†”esbuh1hhjBYubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj…Yh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjBYubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj“Yh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjBYubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hj Yh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjBYubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj>Yubj«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj¹Yh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjµYubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÆYh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjµYubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj×Yh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÔYubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÙYŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j�YŒ#c.usb_core.usb_hcd_check_unlink_urb”†”esbuh1hhjµYubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjöYh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjµYubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjµYubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjµYubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj>Yubj«)�”}”(hŒ int status”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj*Zh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj&ZubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj8Zh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj&ZubjŠ)�”}”(hŒstatus”h]”hŒstatus”…”�”}”(hjFZh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj&Zubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj>Yubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjYh²hh³jYh´MŽubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjYh²hh³jYh´MŽubah}”(h]”jüXah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jYh´MŽhjþXh²hubjü)�”}”(hhh]”hë)�”}”(hŒ$check whether an URB may be unlinked”h]”hŒ$check whether an URB may be unlinked”…”�”}”(hjpZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MŽhjmZh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjþXh²hh³jYh´MŽubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjˆZjjˆZj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hX**Parameters** ``struct usb_hcd *hcd`` host controller to which **urb** was submitted ``struct urb *urb`` URB being checked for unlinkability ``int status`` error code to store in **urb** if the unlink succeeds **Description** Host controller drivers should call this routine in their dequeue() method. The HCD's private spinlock must be held and interrupts must be disabled. The actions carried out here are required for making sure than an unlink is valid. -EIDRM: **urb** was not submitted or has already completed. The completion function may not have been called yet. -EBUSY: **urb** has already been unlinked. **Return** 0 for no error, otherwise a negative error code (in which case the dequeue() method must fail). The possible error codes are:”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj’Zh]”hŒ Parameters”…”�”}”(hj”Zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj�Zubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M’hjŒZubjD)�”}”(hhh]”(jI)�”}”(hŒG``struct usb_hcd *hcd`` host controller to which **urb** was submitted ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hj±Zh]”hŒstruct usb_hcd *hcd”…”�”}”(hj³Zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¯Zubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M�hj«Zubji)�”}”(hhh]”hë)�”}”(hŒ.host controller to which **urb** was submitted”h]”(hŒhost controller to which ”…”�”}”(hjÊZh²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hjÒZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÊZubhŒ was submitted”…”�”}”(hjÊZh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÆZh´M�hjÇZubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj«Zubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÆZh´M�hj¨ZubjI)�”}”(hŒ8``struct urb *urb`` URB being checked for unlinkability ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hjüZh]”hŒstruct urb *urb”…”�”}”(hjþZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjúZubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M�hjöZubji)�”}”(hhh]”hë)�”}”(hŒ#URB being checked for unlinkability”h]”hŒ#URB being checked for unlinkability”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j[h´M�hj[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjöZubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j[h´M�hj¨ZubjI)�”}”(hŒE``int status`` error code to store in **urb** if the unlink succeeds ”h]”(jO)�”}”(hŒ``int status``”h]”jÑ)�”}”(hj5[h]”hŒ int status”…”�”}”(hj7[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj3[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M‘hj/[ubji)�”}”(hhh]”hë)�”}”(hŒ5error code to store in **urb** if the unlink succeeds”h]”(hŒerror code to store in ”…”�”}”(hjN[h²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hjV[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjN[ubhŒ if the unlink succeeds”…”�”}”(hjN[h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jJ[h´M‘hjK[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj/[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jJ[h´M‘hj¨Zubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjŒZubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj‚[h]”hŒ Description”…”�”}”(hj„[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj€[ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M“hjŒZubhë)�”}”(hŒéHost controller drivers should call this routine in their dequeue() method. The HCD's private spinlock must be held and interrupts must be disabled. The actions carried out here are required for making sure than an unlink is valid.”h]”hŒëHost controller drivers should call this routine in their dequeue() method. The HCD’s private spinlock must be held and interrupts must be disabled. The actions carried out here are required for making sure than an unlink is valid.”…”�”}”(hj˜[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M’hjŒZubjŒ7)�”}”(hŒ¦-EIDRM: **urb** was not submitted or has already completed. The completion function may not have been called yet. -EBUSY: **urb** has already been unlinked. ”h]”(jD)�”}”(hhh]”jI)�”}”(hŒr-EIDRM: **urb** was not submitted or has already completed. The completion function may not have been called yet. ”h]”(jO)�”}”(hŒ;-EIDRM: **urb** was not submitted or has already completed.”h]”(hŒ-EIDRM: ”…”�”}”(hj²[h²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hjº[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj²[ubhŒ, was not submitted or has already completed.”…”�”}”(hj²[h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M™hj®[ubji)�”}”(hhh]”hë)�”}”(hŒ5The completion function may not have been called yet.”h]”hŒ5The completion function may not have been called yet.”…”�”}”(hjÖ[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÒ[h´M™hjÓ[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj®[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÒ[h´M™hj«[ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj§[ubhë)�”}”(hŒ*-EBUSY: **urb** has already been unlinked.”h]”(hŒ-EBUSY: ”…”�”}”(hjö[h²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hjþ[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjö[ubhŒ has already been unlinked.”…”�”}”(hjö[h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M›hj§[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M˜hjŒZubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj \h]”hŒReturn”…”�”}”(hj"\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj\ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M�hjŒZubhë)�”}”(hŒ~0 for no error, otherwise a negative error code (in which case the dequeue() method must fail). The possible error codes are:”h]”hŒ~0 for no error, otherwise a negative error code (in which case the dequeue() method must fail). The possible error codes are:”…”�”}”(hj6\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M˜hjŒZubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ0usb_core.usb_hcd_unlink_urb_from_ep (C function)”Œ%c.usb_core.usb_hcd_unlink_urb_from_ep”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒFvoid usb_hcd_unlink_urb_from_ep (struct usb_hcd *hcd, struct urb *urb)”h]”j+)�”}”(hŒEvoid usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hje\h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShja\h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¸ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjt\h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhja\h²hh³js\h´M¸ubj„)�”}”(hŒusb_hcd_unlink_urb_from_ep”h]”jŠ)�”}”(hŒusb_hcd_unlink_urb_from_ep”h]”hŒusb_hcd_unlink_urb_from_ep”…”�”}”(hj†\h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‚\ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhja\h²hh³js\h´M¸ubj¥)�”}”(hŒ&(struct usb_hcd *hcd, struct urb *urb)”h]”(j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj¢\h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjž\ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¯\h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjž\ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hjÀ\h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj½\ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÂ\Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjˆ\sbŒ%c.usb_core.usb_hcd_unlink_urb_from_ep”†”esbuh1hhjž\ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjá\h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjž\ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjï\h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjž\ubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hjü\h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjž\ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjš\ubj«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj]ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj"]h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj]ubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj3]h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj0]ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j5]Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jÝ\Œ%c.usb_core.usb_hcd_unlink_urb_from_ep”†”esbuh1hhj]ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjR]h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj]ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj`]h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj]ubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjm]h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj]ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjš\ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hja\h²hh³js\h´M¸ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj]\h²hh³js\h´M¸ubah}”(h]”jX\ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³js\h´M¸hjZ\h²hubjü)�”}”(hhh]”hë)�”}”(hŒ%remove an URB from its endpoint queue”h]”hŒ%remove an URB from its endpoint queue”…”�”}”(hj—]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¸hj”]h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjZ\h²hh³js\h´M¸ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¯]jj¯]j ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXu**Parameters** ``struct usb_hcd *hcd`` host controller to which **urb** was submitted ``struct urb *urb`` URB being unlinked **Description** Host controller drivers should call this routine before calling usb_hcd_giveback_urb(). The HCD's private spinlock must be held and interrupts must be disabled. The actions carried out here are required for URB completion.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¹]h]”hŒ Parameters”…”�”}”(hj»]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj·]ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¼hj³]ubjD)�”}”(hhh]”(jI)�”}”(hŒG``struct usb_hcd *hcd`` host controller to which **urb** was submitted ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hjØ]h]”hŒstruct usb_hcd *hcd”…”�”}”(hjÚ]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÖ]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¹hjÒ]ubji)�”}”(hhh]”hë)�”}”(hŒ.host controller to which **urb** was submitted”h]”(hŒhost controller to which ”…”�”}”(hjñ]h²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hjù]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjñ]ubhŒ was submitted”…”�”}”(hjñ]h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jí]h´M¹hjî]ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÒ]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jí]h´M¹hjÏ]ubjI)�”}”(hŒ'``struct urb *urb`` URB being unlinked ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hj#^h]”hŒstruct urb *urb”…”�”}”(hj%^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj!^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mºhj^ubji)�”}”(hhh]”hë)�”}”(hŒURB being unlinked”h]”hŒURB being unlinked”…”�”}”(hj<^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j8^h´Mºhj9^ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj^ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j8^h´MºhjÏ]ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj³]ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj^^h]”hŒ Description”…”�”}”(hj`^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj\^ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¼hj³]ubhë)�”}”(hŒàHost controller drivers should call this routine before calling usb_hcd_giveback_urb(). The HCD's private spinlock must be held and interrupts must be disabled. The actions carried out here are required for URB completion.”h]”hŒâHost controller drivers should call this routine before calling usb_hcd_giveback_urb(). The HCD’s private spinlock must be held and interrupts must be disabled. The actions carried out here are required for URB completion.”…”�”}”(hjt^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M»hj³]ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ*usb_core.usb_hcd_giveback_urb (C function)”Œc.usb_core.usb_hcd_giveback_urb”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒLvoid usb_hcd_giveback_urb (struct usb_hcd *hcd, struct urb *urb, int status)”h]”j+)�”}”(hŒKvoid usb_hcd_giveback_urb(struct usb_hcd *hcd, struct urb *urb, int status)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj£^h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjŸ^h²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¯ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj²^h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjŸ^h²hh³j±^h´M¯ubj„)�”}”(hŒusb_hcd_giveback_urb”h]”jŠ)�”}”(hŒusb_hcd_giveback_urb”h]”hŒusb_hcd_giveback_urb”…”�”}”(hjÄ^h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÀ^ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjŸ^h²hh³j±^h´M¯ubj¥)�”}”(hŒ2(struct usb_hcd *hcd, struct urb *urb, int status)”h]”(j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjà^h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÜ^ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjí^h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÜ^ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hjþ^h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjû^ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j_Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÆ^sbŒc.usb_core.usb_hcd_giveback_urb”†”esbuh1hhjÜ^ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÜ^ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj-_h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÜ^ubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hj:_h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÜ^ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjØ^ubj«)�”}”(hŒstruct urb *urb”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjS_h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjO_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj`_h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjO_ubh)�”}”(hhh]”jŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hjq_h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjn_ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”js_Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j_Œc.usb_core.usb_hcd_giveback_urb”†”esbuh1hhjO_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�_h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjO_ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjž_h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjO_ubjŠ)�”}”(hŒurb”h]”hŒurb”…”�”}”(hj«_h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjO_ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjØ^ubj«)�”}”(hŒ int status”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjÄ_h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjÀ_ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÒ_h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÀ_ubjŠ)�”}”(hŒstatus”h]”hŒstatus”…”�”}”(hjà_h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÀ_ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjØ^ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjŸ^h²hh³j±^h´M¯ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj›^h²hh³j±^h´M¯ubah}”(h]”j–^ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j±^h´M¯hj˜^h²hubjü)�”}”(hhh]”hë)�”}”(hŒ$return URB from HCD to device driver”h]”hŒ$return URB from HCD to device driver”…”�”}”(hj `h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¯hj`h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj˜^h²hh³j±^h´M¯ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj"`jj"`j ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hX¡**Parameters** ``struct usb_hcd *hcd`` host controller returning the URB ``struct urb *urb`` urb being returned to the USB device driver. ``int status`` completion status code for the URB. **Context** atomic. The completion callback is invoked either in a work queue (BH) context or in the caller's context, depending on whether the HCD_BH flag is set in the **hcd** structure, except that URBs submitted to the root hub always complete in BH context. **Description** This hands the URB from HCD to its USB device driver, using its completion function. The HCD has freed all per-urb resources (and is done using urb->hcpriv). It also released all HCD locks; the device driver won't cause problems if it frees, modifies, or resubmits this URB. If **urb** was unlinked, the value of **status** will be overridden by **urb->unlinked**. Erroneous short transfers are detected in case the HCD hasn't checked for them.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj,`h]”hŒ Parameters”…”�”}”(hj.`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj*`ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M³hj&`ubjD)�”}”(hhh]”(jI)�”}”(hŒ:``struct usb_hcd *hcd`` host controller returning the URB ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hjK`h]”hŒstruct usb_hcd *hcd”…”�”}”(hjM`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjI`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M°hjE`ubji)�”}”(hhh]”hë)�”}”(hŒ!host controller returning the URB”h]”hŒ!host controller returning the URB”…”�”}”(hjd`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j``h´M°hja`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjE`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j``h´M°hjB`ubjI)�”}”(hŒA``struct urb *urb`` urb being returned to the USB device driver. ”h]”(jO)�”}”(hŒ``struct urb *urb``”h]”jÑ)�”}”(hj„`h]”hŒstruct urb *urb”…”�”}”(hj†`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‚`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M±hj~`ubji)�”}”(hhh]”hë)�”}”(hŒ,urb being returned to the USB device driver.”h]”hŒ,urb being returned to the USB device driver.”…”�”}”(hj�`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j™`h´M±hjš`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj~`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j™`h´M±hjB`ubjI)�”}”(hŒ3``int status`` completion status code for the URB. ”h]”(jO)�”}”(hŒ``int status``”h]”jÑ)�”}”(hj½`h]”hŒ int status”…”�”}”(hj¿`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj»`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M²hj·`ubji)�”}”(hhh]”hë)�”}”(hŒ#completion status code for the URB.”h]”hŒ#completion status code for the URB.”…”�”}”(hjÖ`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jÒ`h´M²hjÓ`ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj·`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jÒ`h´M²hjB`ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj&`ubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjø`h]”hŒContext”…”�”}”(hjú`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjö`ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M´hj&`ubhë)�”}”(hŒúatomic. The completion callback is invoked either in a work queue (BH) context or in the caller's context, depending on whether the HCD_BH flag is set in the **hcd** structure, except that URBs submitted to the root hub always complete in BH context.”h]”(hŒ atomic. The completion callback is invoked either in a work queue (BH) context or in the caller’s context, depending on whether the HCD_BH flag is set in the ”…”�”}”(hjah²hh³Nh´Nubj.)�”}”(hŒ**hcd**”h]”hŒhcd”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjaubhŒU structure, except that URBs submitted to the root hub always complete in BH context.”…”�”}”(hjah²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M´hj&`ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj1ah]”hŒ Description”…”�”}”(hj3ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj/aubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¹hj&`ubhë)�”}”(hXThis hands the URB from HCD to its USB device driver, using its completion function. The HCD has freed all per-urb resources (and is done using urb->hcpriv). It also released all HCD locks; the device driver won't cause problems if it frees, modifies, or resubmits this URB.”h]”hXThis hands the URB from HCD to its USB device driver, using its completion function. The HCD has freed all per-urb resources (and is done using urb->hcpriv). It also released all HCD locks; the device driver won’t cause problems if it frees, modifies, or resubmits this URB.”…”�”}”(hjGah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¸hj&`ubhë)�”}”(hŒªIf **urb** was unlinked, the value of **status** will be overridden by **urb->unlinked**. Erroneous short transfers are detected in case the HCD hasn't checked for them.”h]”(hŒIf ”…”�”}”(hjVah²hh³Nh´Nubj.)�”}”(hŒ**urb**”h]”hŒurb”…”�”}”(hj^ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjVaubhŒ was unlinked, the value of ”…”�”}”(hjVah²hh³Nh´Nubj.)�”}”(hŒ **status**”h]”hŒstatus”…”�”}”(hjpah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjVaubhŒ will be overridden by ”…”�”}”(hjVah²hh³Nh´Nubj.)�”}”(hŒ**urb->unlinked**”h]”hŒ urb->unlinked”…”�”}”(hj‚ah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjVaubhŒT. Erroneous short transfers are detected in case the HCD hasn’t checked for them.”…”�”}”(hjVah²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¾hj&`ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_core.usb_alloc_streams (C function)”Œc.usb_core.usb_alloc_streams”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ˜int usb_alloc_streams (struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags)”h]”j+)�”}”(hŒ—int usb_alloc_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj»ah²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj·ah²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÙubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÊah²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj·ah²hh³jÉah´MÙubj„)�”}”(hŒusb_alloc_streams”h]”jŠ)�”}”(hŒusb_alloc_streams”h]”hŒusb_alloc_streams”…”�”}”(hjÜah²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjØaubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj·ah²hh³jÉah´MÙubj¥)�”}”(hŒ‚(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags)”h]”(j«)�”}”(hŒstruct usb_interface *interface”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjøah²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjôaubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjôaubh)�”}”(hhh]”jŠ)�”}”(hŒ usb_interface”h]”hŒ usb_interface”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjbubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jbŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÞasbŒc.usb_core.usb_alloc_streams”†”esbuh1hhjôaubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj7bh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjôaubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjEbh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjôaubjŠ)�”}”(hŒ interface”h]”hŒ interface”…”�”}”(hjRbh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjôaubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjðaubj«)�”}”(hŒstruct usb_host_endpoint **eps”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjkbh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjgbubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjxbh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjgbubh)�”}”(hhh]”jŠ)�”}”(hŒusb_host_endpoint”h]”hŒusb_host_endpoint”…”�”}”(hj‰bh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj†bubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j‹bŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j3bŒc.usb_core.usb_alloc_streams”†”esbuh1hhjgbubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¨bh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjgbubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¶bh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjgbubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÃbh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjgbubjŠ)�”}”(hŒeps”h]”hŒeps”…”�”}”(hjÐbh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjgbubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjðaubj«)�”}”(hŒunsigned int num_eps”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjébh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjåbubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj÷bh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåbubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjåbubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåbubjŠ)�”}”(hŒnum_eps”h]”hŒnum_eps”…”�”}”(hj!ch²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjåbubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjðaubj«)�”}”(hŒunsigned int num_streams”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj:ch²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj6cubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHch²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj6cubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hjVch²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj6cubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjdch²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj6cubjŠ)�”}”(hŒ num_streams”h]”hŒ num_streams”…”�”}”(hjrch²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj6cubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjðaubj«)�”}”(hŒgfp_t mem_flags”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒgfp_t”h]”hŒgfp_t”…”�”}”(hjŽch²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‹cubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j�cŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”j3bŒc.usb_core.usb_alloc_streams”†”esbuh1hhj‡cubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj­ch²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj‡cubjŠ)�”}”(hŒ mem_flags”h]”hŒ mem_flags”…”�”}”(hj»ch²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‡cubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjðaubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj·ah²hh³jÉah´MÙubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj³ah²hh³jÉah´MÙubah}”(h]”j®aah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÉah´MÙhj°ah²hubjü)�”}”(hhh]”hë)�”}”(hŒ"allocate bulk endpoint stream IDs.”h]”hŒ"allocate bulk endpoint stream IDs.”…”�”}”(hjåch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÙhjâch²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj°ah²hh³jÉah´MÙubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjýcjjýcj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hX©**Parameters** ``struct usb_interface *interface`` alternate setting that includes all endpoints. ``struct usb_host_endpoint **eps`` array of endpoints that need streams. ``unsigned int num_eps`` number of endpoints in the array. ``unsigned int num_streams`` number of streams to allocate. ``gfp_t mem_flags`` flags hcd should use to allocate memory. **Description** Sets up a group of bulk endpoints to have **num_streams** stream IDs available. Drivers may queue multiple transfers to different stream IDs, which may complete in a different order than they were queued. **Return** On success, the number of allocated streams. On failure, a negative error code.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjdh]”hŒ Parameters”…”�”}”(hj dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjdubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÝhjdubjD)�”}”(hhh]”(jI)�”}”(hŒS``struct usb_interface *interface`` alternate setting that includes all endpoints. ”h]”(jO)�”}”(hŒ#``struct usb_interface *interface``”h]”jÑ)�”}”(hj&dh]”hŒstruct usb_interface *interface”…”�”}”(hj(dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj$dubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÚhj dubji)�”}”(hhh]”hë)�”}”(hŒ.alternate setting that includes all endpoints.”h]”hŒ.alternate setting that includes all endpoints.”…”�”}”(hj?dh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j;dh´MÚhjgubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjdgh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj>gubjŠ)�”}”(hŒ mem_flags”h]”hŒ mem_flags”…”�”}”(hjrgh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj>gubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjøeubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj¿eh²hh³jÑeh´Mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj»eh²hh³jÑeh´Mubah}”(h]”j¶eah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÑeh´Mhj¸eh²hubjü)�”}”(hhh]”hë)�”}”(hŒfree bulk endpoint stream IDs.”h]”hŒfree bulk endpoint stream IDs.”…”�”}”(hjœgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhj™gh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj¸eh²hh³jÑeh´Mubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj´gjj´gj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXý**Parameters** ``struct usb_interface *interface`` alternate setting that includes all endpoints. ``struct usb_host_endpoint **eps`` array of endpoints to remove streams from. ``unsigned int num_eps`` number of endpoints in the array. ``gfp_t mem_flags`` flags hcd should use to allocate memory. **Description** Reverts a group of bulk endpoints back to not using stream IDs. Can fail if we are given bad arguments, or HCD is broken. **Return** 0 on success. On failure, a negative error code.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¾gh]”hŒ Parameters”…”�”}”(hjÀgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¼gubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhj¸gubjD)�”}”(hhh]”(jI)�”}”(hŒS``struct usb_interface *interface`` alternate setting that includes all endpoints. ”h]”(jO)�”}”(hŒ#``struct usb_interface *interface``”h]”jÑ)�”}”(hjÝgh]”hŒstruct usb_interface *interface”…”�”}”(hjßgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÛgubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhj×gubji)�”}”(hhh]”hë)�”}”(hŒ.alternate setting that includes all endpoints.”h]”hŒ.alternate setting that includes all endpoints.”…”�”}”(hjögh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jògh´Mhjógubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj×gubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jògh´MhjÔgubjI)�”}”(hŒN``struct usb_host_endpoint **eps`` array of endpoints to remove streams from. ”h]”(jO)�”}”(hŒ"``struct usb_host_endpoint **eps``”h]”jÑ)�”}”(hjhh]”hŒstruct usb_host_endpoint **eps”…”�”}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjhubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhjhubji)�”}”(hhh]”hë)�”}”(hŒ*array of endpoints to remove streams from.”h]”hŒ*array of endpoints to remove streams from.”…”�”}”(hj/hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j+hh´Mhj,hubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjhubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j+hh´MhjÔgubjI)�”}”(hŒ;``unsigned int num_eps`` number of endpoints in the array. ”h]”(jO)�”}”(hŒ``unsigned int num_eps``”h]”jÑ)�”}”(hjOhh]”hŒunsigned int num_eps”…”�”}”(hjQhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjMhubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MhjIhubji)�”}”(hhh]”hë)�”}”(hŒ!number of endpoints in the array.”h]”hŒ!number of endpoints in the array.”…”�”}”(hjhhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jdhh´Mhjehubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjIhubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jdhh´MhjÔgubjI)�”}”(hŒ=``gfp_t mem_flags`` flags hcd should use to allocate memory. ”h]”(jO)�”}”(hŒ``gfp_t mem_flags``”•h]”jÑ)�”}”(hjˆhh]”hŒgfp_t mem_flags”…”�”}”(hjŠhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj†hubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhj‚hubji)�”}”(hhh]”hë)�”}”(hŒ(flags hcd should use to allocate memory.”h]”hŒ(flags hcd should use to allocate memory.”…”�”}”(hj¡hh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j�hh´Mhjžhubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‚hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j�hh´MhjÔgubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj¸gubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjÃhh]”hŒ Description”…”�”}”(hjÅhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÁhubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhj¸gubhë)�”}”(hŒyReverts a group of bulk endpoints back to not using stream IDs. Can fail if we are given bad arguments, or HCD is broken.”h]”hŒyReverts a group of bulk endpoints back to not using stream IDs. Can fail if we are given bad arguments, or HCD is broken.”…”�”}”(hjÙhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhj¸gubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjêhh]”hŒReturn”…”�”}”(hjìhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjèhubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhj¸gubhë)�”}”(hŒ00 on success. On failure, a negative error code.”h]”hŒ00 on success. On failure, a negative error code.”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mhj¸gubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ-usb_core.usb_hcd_resume_root_hub (C function)”Œ"c.usb_core.usb_hcd_resume_root_hub”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ2void usb_hcd_resume_root_hub (struct usb_hcd *hcd)”h]”j+)�”}”(hŒ1void usb_hcd_resume_root_hub(struct usb_hcd *hcd)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj/ih²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj+ih²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MV ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj>ih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj+ih²hh³j=ih´MV ubj„)�”}”(hŒusb_hcd_resume_root_hub”h]”jŠ)�”}”(hŒusb_hcd_resume_root_hub”h]”hŒusb_hcd_resume_root_hub”…”�”}”(hjPih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjLiubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj+ih²hh³j=ih´MV ubj¥)�”}”(hŒ(struct usb_hcd *hcd)”h]”j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjlih²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjhiubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjyih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjhiubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hjŠih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‡iubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jŒiŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjRisbŒ"c.usb_core.usb_hcd_resume_root_hub”†”esbuh1hhjhiubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj«ih²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjhiubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¹ih²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjhiubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hjÆih²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjhiubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjdiubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj+ih²hh³j=ih´MV ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj'ih²hh³j=ih´MV ubah}”(h]”j"iah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j=ih´MV hj$ih²hubjü)�”}”(hhh]”hë)�”}”(hŒ$called by HCD to resume its root hub”h]”hŒ$called by HCD to resume its root hub”…”�”}”(hjðih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MV hjíih²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj$ih²hh³j=ih´MV ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjjjjjj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXh**Parameters** ``struct usb_hcd *hcd`` host controller for this root hub **Description** The USB host controller calls this function when its root hub is suspended (with the remote wakeup feature enabled) and a remote wakeup request is received. The routine submits a workqueue request to resume the root hub (that is, manage its downstream ports again).”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjjh]”hŒ Parameters”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjjubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MZ hj jubjD)�”}”(hhh]”jI)�”}”(hŒ:``struct usb_hcd *hcd`` host controller for this root hub ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hj1jh]”hŒstruct usb_hcd *hcd”…”�”}”(hj3jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj/jubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MW hj+jubji)�”}”(hhh]”hë)�”}”(hŒ!host controller for this root hub”h]”hŒ!host controller for this root hub”…”�”}”(hjJjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jFjh´MW hjGjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj+jubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jFjh´MW hj(jubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj jubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjljh]”hŒ Description”…”�”}”(hjnjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjjjubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MY hj jubhë)�”}”(hX The USB host controller calls this function when its root hub is suspended (with the remote wakeup feature enabled) and a remote wakeup request is received. The routine submits a workqueue request to resume the root hub (that is, manage its downstream ports again).”h]”hX The USB host controller calls this function when its root hub is suspended (with the remote wakeup feature enabled) and a remote wakeup request is received. The routine submits a workqueue request to resume the root hub (that is, manage its downstream ports again).”…”�”}”(hj‚jh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MX hj jubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.usb_bus_start_enum (C function)”Œc.usb_core.usb_bus_start_enum”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ?int usb_bus_start_enum (struct usb_bus *bus, unsigned port_num)”h]”j+)�”}”(hŒ>int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj±jh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj­jh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Ms ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÀjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj­jh²hh³j¿jh´Ms ubj„)�”}”(hŒusb_bus_start_enum”h]”jŠ)�”}”(hŒusb_bus_start_enum”h]”hŒusb_bus_start_enum”…”�”}”(hjÒjh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÎjubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj­jh²hh³j¿jh´Ms ubj¥)�”}”(hŒ((struct usb_bus *bus, unsigned port_num)”h]”(j«)�”}”(hŒstruct usb_bus *bus”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjîjh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjêjubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjûjh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjêjubh)�”}”(hhh]”jŠ)�”}”(hŒusb_bus”h]”hŒusb_bus”…”�”}”(hj kh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj kubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jkŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjÔjsbŒc.usb_core.usb_bus_start_enum”†”esbuh1hhjêjubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj-kh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjêjubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj;kh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjêjubjŠ)�”}”(hŒbus”h]”hŒbus”…”�”}”(hjHkh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjêjubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjæjubj«)�”}”(hŒunsigned port_num”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjakh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj]kubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjokh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj]kubjŠ)�”}”(hŒport_num”h]”hŒport_num”…”�”}”(hj}kh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj]kubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjæjubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj­jh²hh³j¿jh´Ms ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj©jh²hh³j¿jh´Ms ubah}”(h]”j¤jah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j¿jh´Ms hj¦jh²hubjü)�”}”(hhh]”hë)�”}”(hŒ%start immediate enumeration (for OTG)”h]”hŒ%start immediate enumeration (for OTG)”…”�”}”(hj§kh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Ms hj¤kh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj¦jh²hh³j¿jh´Ms ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¿kjj¿kj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXÆ**Parameters** ``struct usb_bus *bus`` the bus (must use hcd framework) ``unsigned port_num`` 1-based number of port; usually bus->otg_port **Context** atomic **Description** Starts enumeration, with an immediate reset followed later by hub_wq identifying and possibly configuring the device. This is needed by OTG controller drivers, where it helps meet HNP protocol timing requirements for starting a port reset. **Return** 0 if successful.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÉkh]”hŒ Parameters”…”�”}”(hjËkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÇkubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mw hjÃkubjD)�”}”(hhh]”(jI)�”}”(hŒ9``struct usb_bus *bus`` the bus (must use hcd framework) ”h]”(jO)�”}”(hŒ``struct usb_bus *bus``”h]”jÑ)�”}”(hjèkh]”hŒstruct usb_bus *bus”…”�”}”(hjêkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjækubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mt hjâkubji)�”}”(hhh]”hë)�”}”(hŒ the bus (must use hcd framework)”h]”hŒ the bus (must use hcd framework)”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jýkh´Mt hjþkubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjâkubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jýkh´Mt hjßkubjI)�”}”(hŒD``unsigned port_num`` 1-based number of port; usually bus->otg_port ”h]”(jO)�”}”(hŒ``unsigned port_num``”h]”jÑ)�”}”(hj!lh]”hŒunsigned port_num”…”�”}”(hj#lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjlubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mu hjlubji)�”}”(hhh]”hë)�”}”(hŒ-1-based number of port; usually bus->otg_port”h]”hŒ-1-based number of port; usually bus->otg_port”…”�”}”(hj:lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j6lh´Mu hj7lubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjlubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j6lh´Mu hjßkubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÃkubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj\lh]”hŒContext”…”�”}”(hj^lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjZlubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mw hjÃkubhë)�”}”(hŒatomic”h]”hŒatomic”…”�”}”(hjrlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mv hjÃkubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjƒlh]”hŒ Description”…”�”}”(hj…lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj�lubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mx hjÃkubhë)�”}”(hŒïStarts enumeration, with an immediate reset followed later by hub_wq identifying and possibly configuring the device. This is needed by OTG controller drivers, where it helps meet HNP protocol timing requirements for starting a port reset.”h]”hŒïStarts enumeration, with an immediate reset followed later by hub_wq identifying and possibly configuring the device. This is needed by OTG controller drivers, where it helps meet HNP protocol timing requirements for starting a port reset.”…”�”}”(hj™lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mw hjÃkubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjªlh]”hŒReturn”…”�”}”(hj¬lh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¨lubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M| hjÃkubhë)�”}”(hŒ0 if successful.”h]”hŒ0 if successful.”…”�”}”(hjÀlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M} hjÃkubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ!usb_core.usb_hcd_irq (C function)”Œc.usb_core.usb_hcd_irq”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ.irqreturn_t usb_hcd_irq (int irq, void *__hcd)”h]”j+)�”}”(hŒ-irqreturn_t usb_hcd_irq(int irq, void *__hcd)”h]”(h)�”}”(hhh]”jŠ)�”}”(hŒ irqreturn_t”h]”hŒ irqreturn_t”…”�”}”(hjòlh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjïlubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jôlŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒ usb_hcd_irq”sbŒc.usb_core.usb_hcd_irq”†”esbuh1hhjëlh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mš ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjëlh²hh³jmh´Mš ubj„)�”}”(hŒ usb_hcd_irq”h]”jŠ)�”}”(hjmh]”hŒ usb_hcd_irq”…”�”}”(hj'mh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj#mubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjëlh²hh³jmh´Mš ubj¥)�”}”(hŒ(int irq, void *__hcd)”h]”(j«)�”}”(hŒint irq”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjBmh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj>mubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjPmh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj>mubjŠ)�”}”(hŒirq”h]”hŒirq”…”�”}”(hj^mh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj>mubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj:mubj«)�”}”(hŒ void *__hcd”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjwmh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjsmubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj…mh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjsmubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj“mh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjsmubjŠ)�”}”(hŒ__hcd”h]”hŒ__hcd”…”�”}”(hj mh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjsmubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj:mubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjëlh²hh³jmh´Mš ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjçlh²hh³jmh´Mš ubah}”(h]”jâlah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jmh´Mš hjälh²hubjü)�”}”(hhh]”hë)�”}”(hŒ%hook IRQs to HCD framework (bus glue)”h]”hŒ%hook IRQs to HCD framework (bus glue)”…”�”}”(hjÊmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mš hjÇmh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjälh²hh³jmh´Mš ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjâmjjâmj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hX>**Parameters** ``int irq`` the IRQ being raised ``void *__hcd`` pointer to the HCD whose IRQ is being signaled **Description** If the controller isn't HALTed, calls the driver's irq handler. Checks whether the controller is now dead. **Return** ``IRQ_HANDLED`` if the IRQ was handled. ``IRQ_NONE`` otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjìmh]”hŒ Parameters”…”�”}”(hjîmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjêmubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mž hjæmubjD)�”}”(hhh]”(jI)�”}”(hŒ!``int irq`` the IRQ being raised ”h]”(jO)�”}”(hŒ ``int irq``”h]”jÑ)�”}”(hj nh]”hŒint irq”…”�”}”(hj nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M› hjnubji)�”}”(hhh]”hë)�”}”(hŒthe IRQ being raised”h]”hŒthe IRQ being raised”…”�”}”(hj$nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j nh´M› hj!nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjnubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j nh´M› hjnubjI)�”}”(hŒ?``void *__hcd`` pointer to the HCD whose IRQ is being signaled ”h]”(jO)�”}”(hŒ``void *__hcd``”h]”jÑ)�”}”(hjDnh]”hŒ void *__hcd”…”�”}”(hjFnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjBnubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mœ hj>nubji)�”}”(hhh]”hë)�”}”(hŒ.pointer to the HCD whose IRQ is being signaled”h]”hŒ.pointer to the HCD whose IRQ is being signaled”…”�”}”(hj]nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jYnh´Mœ hjZnubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj>nubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jYnh´Mœ hjnubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjæmubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjnh]”hŒ Description”…”�”}”(hj�nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj}nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mž hjæmubhë)�”}”(hŒjIf the controller isn't HALTed, calls the driver's irq handler. Checks whether the controller is now dead.”h]”hŒnIf the controller isn’t HALTed, calls the driver’s irq handler. Checks whether the controller is now dead.”…”�”}”(hj•nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M� hjæmubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj¦nh]”hŒReturn”…”�”}”(hj¨nh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¤nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M  hjæmubhë)�”}”(hŒ?``IRQ_HANDLED`` if the IRQ was handled. ``IRQ_NONE`` otherwise.”h]”(jÑ)�”}”(hŒ``IRQ_HANDLED``”h]”hŒ IRQ_HANDLED”…”�”}”(hjÀnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¼nubhŒ if the IRQ was handled. ”…”�”}”(hj¼nh²hh³Nh´NubjÑ)�”}”(hŒ ``IRQ_NONE``”h]”hŒIRQ_NONE”…”�”}”(hjÒnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¼nubhŒ otherwise.”…”�”}”(hj¼nh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M¡ hjæmubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ!usb_core.usb_hc_died (C function)”Œc.usb_core.usb_hc_died”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ&void usb_hc_died (struct usb_hcd *hcd)”h]”j+)�”}”(hŒ%void usb_hc_died(struct usb_hcd *hcd)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj oh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjoh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mà ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjoh²hh³joh´Mà ubj„)�”}”(hŒ usb_hc_died”h]”jŠ)�”}”(hŒ usb_hc_died”h]”hŒ usb_hc_died”…”�”}”(hj,oh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj(oubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjoh²hh³joh´Mà ubj¥)�”}”(hŒ(struct usb_hcd *hcd)”h]”j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjHoh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjDoubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjUoh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjDoubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hjfoh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjcoubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jhoŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj.osbŒc.usb_core.usb_hc_died”†”esbuh1hhjDoubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‡oh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjDoubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj•oh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjDoubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hj¢oh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjDoubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj@oubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjoh²hh³joh´Mà ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjoh²hh³joh´Mà ubah}”(h]”jþnah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³joh´Mà hjoh²hubjü)�”}”(hhh]”hë)�”}”(hŒ8report abnormal shutdown of a host controller (bus glue)”h]”hŒ8report abnormal shutdown of a host controller (bus glue)”…”�”}”(hjÌoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mà hjÉoh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjoh²hh³joh´Mà ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjäojjäoj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXp**Parameters** ``struct usb_hcd *hcd`` pointer to the HCD representing the controller **Description** This is called by bus glue to report a USB host controller that died while operations may still have been pending. It's called automatically by the PCI glue, so only glue for non-PCI busses should need to call it. Only call this function with the primary HCD.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjîoh]”hŒ Parameters”…”�”}”(hjðoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjìoubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÇ hjèoubjD)�”}”(hhh]”jI)�”}”(hŒG``struct usb_hcd *hcd`` pointer to the HCD representing the controller ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hj ph]”hŒstruct usb_hcd *hcd”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj pubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÄ hjpubji)�”}”(hhh]”hë)�”}”(hŒ.pointer to the HCD representing the controller”h]”hŒ.pointer to the HCD representing the controller”…”�”}”(hj&ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j"ph´MÄ hj#pubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjpubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j"ph´MÄ hjpubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjèoubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjHph]”hŒ Description”…”�”}”(hjJph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjFpubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÆ hjèoubhë)�”}”(hŒÖThis is called by bus glue to report a USB host controller that died while operations may still have been pending. It's called automatically by the PCI glue, so only glue for non-PCI busses should need to call it.”h]”hŒØThis is called by bus glue to report a USB host controller that died while operations may still have been pending. It’s called automatically by the PCI glue, so only glue for non-PCI busses should need to call it.”…”�”}”(hj^ph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÅ hjèoubhë)�”}”(hŒ-Only call this function with the primary HCD.”h]”hŒ-Only call this function with the primary HCD.”…”�”}”(hjmph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÉ hjèoubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ+usb_core.usb_create_shared_hcd (C function)”Œ c.usb_core.usb_create_shared_hcd”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒŽstruct usb_hcd * usb_create_shared_hcd (const struct hc_driver *driver, struct device *dev, const char *bus_name, struct usb_hcd *primary_hcd)”h]”j+)�”}”(hŒŒstruct usb_hcd *usb_create_shared_hcd(const struct hc_driver *driver, struct device *dev, const char *bus_name, struct usb_hcd *primary_hcd)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjœph²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj˜ph²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M< ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjªph²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj˜ph²hh³j©ph´M< ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hj»ph²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¸pubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j½pŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒusb_create_shared_hcd”sbŒ c.usb_core.usb_create_shared_hcd”†”esbuh1hhj˜ph²hh³j©ph´M< ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÝph²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj˜ph²hh³j©ph´M< ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjëph²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj˜ph²hh³j©ph´M< ubj„)�”}”(hŒusb_create_shared_hcd”h]”jŠ)�”}”(hjÚph]”hŒusb_create_shared_hcd”…”�”}”(hjüph²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjøpubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj˜ph²hh³j©ph´M< ubj¥)�”}”(hŒg(const struct hc_driver *driver, struct device *dev, const char *bus_name, struct usb_hcd *primary_hcd)”h]”(j«)�”}”(hŒconst struct hc_driver *driver”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjqubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj$qh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjqubj1)�”}”(hjh]”hŒstruct”…”�”}”(hj2qh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjqubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj?qh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjqubh)�”}”(hhh]”jŠ)�”}”(hŒ hc_driver”h]”hŒ hc_driver”…”�”}”(hjPqh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjMqubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jRqŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jØpŒ c.usb_core.usb_create_shared_hcd”†”esbuh1hhjqubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjoqh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjqubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj}qh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjqubjŠ)�”}”(hŒdriver”h]”hŒdriver”…”�”}”(hjŠqh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjqubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjqubj«)�”}”(hŒstruct device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj£qh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjŸqubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj°qh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjŸqubh)�”}”(hhh]”jŠ)�”}”(hŒdevice”h]”hŒdevice”…”�”}”(hjÁqh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj¾qubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÃqŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jØpŒ c.usb_core.usb_create_shared_hcd”†”esbuh1hhjŸqubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjàqh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjŸqubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjîqh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjŸqubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjûqh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjŸqubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjqubj«)�”}”(hŒconst char *bus_name”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjrubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj!rh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjrubjT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hj/rh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjrubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj=rh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjrubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjKrh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjrubjŠ)�”}”(hŒbus_name”h]”hŒbus_name”…”�”}”(hjXrh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjrubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjqubj«)�”}”(hŒstruct usb_hcd *primary_hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjqrh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjmrubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj~rh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjmrubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hj�rh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjŒrubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j‘rŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jØpŒ c.usb_core.usb_create_shared_hcd”†”esbuh1hhjmrubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj®rh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjmrubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¼rh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjmrubjŠ)�”}”(hŒ primary_hcd”h]”hŒ primary_hcd”…”�”}”(hjÉrh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjmrubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjqubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj˜ph²hh³j©ph´M< ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj”ph²hh³j©ph´M< ubah}”(h]”j�pah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j©ph´M< hj‘ph²hubjü)�”}”(hhh]”hë)�”}”(hŒ&create and initialize an HCD structure”h]”hŒ&create and initialize an HCD structure”…”�”}”(hjórh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M< hjðrh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj‘ph²hh³j©ph´M< ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj sjj sj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXÑ**Parameters** ``const struct hc_driver *driver`` HC driver that will use this hcd ``struct device *dev`` device for this HC, stored in hcd->self.controller ``const char *bus_name`` value to store in hcd->self.bus_name ``struct usb_hcd *primary_hcd`` a pointer to the usb_hcd structure that is sharing the PCI device. Only allocate certain resources for the primary HCD **Context** task context, might sleep. **Description** Allocate a struct usb_hcd, with extra space at the end for the HC driver's private data. Initialize the generic members of the hcd structure. **Return** On success, a pointer to the created and initialized HCD structure. On failure (e.g. if memory is unavailable), ``NULL``.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjsh]”hŒ Parameters”…”�”}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M@ hjsubjD)�”}”(hhh]”(jI)�”}”(hŒD``const struct hc_driver *driver`` HC driver that will use this hcd ”h]”(jO)�”}”(hŒ"``const struct hc_driver *driver``”h]”jÑ)�”}”(hj4sh]”hŒconst struct hc_driver *driver”…”�”}”(hj6sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj2subah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M= hj.subji)�”}”(hhh]”hë)�”}”(hŒ HC driver that will use this hcd”h]”hŒ HC driver that will use this hcd”…”�”}”(hjMsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jIsh´M= hjJsubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj.subeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jIsh´M= hj+subjI)�”}”(hŒJ``struct device *dev`` device for this HC, stored in hcd->self.controller ”h]”(jO)�”}”(hŒ``struct device *dev``”h]”jÑ)�”}”(hjmsh]”hŒstruct device *dev”…”�”}”(hjosh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjksubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M> hjgsubji)�”}”(hhh]”hë)�”}”(hŒ2device for this HC, stored in hcd->self.controller”h]”hŒ2device for this HC, stored in hcd->self.controller”…”�”}”(hj†sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j‚sh´M> hjƒsubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjgsubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j‚sh´M> hj+subjI)�”}”(hŒ>``const char *bus_name`` value to store in hcd->self.bus_name ”h]”(jO)�”}”(hŒ``const char *bus_name``”h]”jÑ)�”}”(hj¦sh]”hŒconst char *bus_name”…”�”}”(hj¨sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¤subah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M? hj subji)�”}”(hhh]”hë)�”}”(hŒ$value to store in hcd->self.bus_name”h]”hŒ$value to store in hcd->self.bus_name”…”�”}”(hj¿sh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j»sh´M? hj¼subah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj subeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j»sh´M? hj+subjI)�”}”(hŒ˜``struct usb_hcd *primary_hcd`` a pointer to the usb_hcd structure that is sharing the PCI device. Only allocate certain resources for the primary HCD ”h]”(jO)�”}”(hŒ``struct usb_hcd *primary_hcd``”h]”jÑ)�”}”(hjßsh]”hŒstruct usb_hcd *primary_hcd”…”�”}”(hjásh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÝsubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MA hjÙsubji)�”}”(hhh]”hë)�”}”(hŒwa pointer to the usb_hcd structure that is sharing the PCI device. Only allocate certain resources for the primary HCD”h]”hŒwa pointer to the usb_hcd structure that is sharing the PCI device. Only allocate certain resources for the primary HCD”…”�”}”(hjøsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M@ hjõsubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÙsubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jôsh´MA hj+subeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjsubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjth]”hŒContext”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjtubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MC hjsubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hj1th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MC hjsubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjBth]”hŒ Description”…”�”}”(hjDth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj@tubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´ME hjsubhë)�”}”(hŒŽAllocate a struct usb_hcd, with extra space at the end for the HC driver's private data. Initialize the generic members of the hcd structure.”h]”hŒ�Allocate a struct usb_hcd, with extra space at the end for the HC driver’s private data. Initialize the generic members of the hcd structure.”…”�”}”(hjXth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MD hjsubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjith]”hŒReturn”…”�”}”(hjkth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjgtubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MH hjsubhë)�”}”(hŒyOn success, a pointer to the created and initialized HCD structure. On failure (e.g. if memory is unavailable), ``NULL``.”h]”(hŒpOn success, a pointer to the created and initialized HCD structure. On failure (e.g. if memory is unavailable), ”…”�”}”(hjth²hh³Nh´NubjÑ)�”}”(hŒ``NULL``”h]”hŒNULL”…”�”}”(hj‡th²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjtubhŒ.”…”�”}”(hjth²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MI hjsubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ$usb_core.usb_create_hcd (C function)”Œc.usb_core.usb_create_hcd”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒjstruct usb_hcd * usb_create_hcd (const struct hc_driver *driver, struct device *dev, const char *bus_name)”h]”j+)�”}”(hŒhstruct usb_hcd *usb_create_hcd(const struct hc_driver *driver, struct device *dev, const char *bus_name)”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÀth²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj¼th²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MU ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÎth²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¼th²hh³jÍth´MU ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hjßth²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÜtubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”játŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHŒusb_create_hcd”sbŒc.usb_core.usb_create_hcd”†”esbuh1hhj¼th²hh³jÍth´MU ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj¼th²hh³jÍth´MU ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj¼th²hh³jÍth´MU ubj„)�”}”(hŒusb_create_hcd”h]”jŠ)�”}”(hjþth]”hŒusb_create_hcd”…”�”}”(hj uh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjuubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj¼th²hh³jÍth´MU ubj¥)�”}”(hŒJ(const struct hc_driver *driver, struct device *dev, const char *bus_name)”h]”(j«)�”}”(hŒconst struct hc_driver *driver”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj;uh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj7uubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHuh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj7uubj1)�”}”(hjh]”hŒstruct”…”�”}”(hjVuh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj7uubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjcuh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj7uubh)�”}”(hhh]”jŠ)�”}”(hŒ hc_driver”h]”hŒ hc_driver”…”�”}”(hjtuh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjquubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jvuŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jütŒc.usb_core.usb_create_hcd”†”esbuh1hhj7uubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj“uh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj7uubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¡uh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj7uubjŠ)�”}”(hŒdriver”h]”hŒdriver”…”�”}”(hj®uh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj7uubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj3uubj«)�”}”(hŒstruct device *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjÇuh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjÃuubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÔuh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÃuubh)�”}”(hhh]”jŠ)�”}”(hŒdevice”h]”hŒdevice”…”�”}”(hjåuh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjâuubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jçuŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jütŒc.usb_core.usb_create_hcd”†”esbuh1hhjÃuubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjÃuubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjÃuubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÃuubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj3uubj«)�”}”(hŒconst char *bus_name”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj8vh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj4vubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjEvh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj4vubjT)�”}”(hŒchar”h]”hŒchar”…”�”}”(hjSvh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj4vubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjavh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj4vubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjovh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj4vubjŠ)�”}”(hŒbus_name”h]”hŒbus_name”…”�”}”(hj|vh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj4vubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj3uubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj¼th²hh³jÍth´MU ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj¸th²hh³jÍth´MU ubah}”(h]”j³tah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÍth´MU hjµth²hubjü)�”}”(hhh]”hë)�”}”(hŒ&create and initialize an HCD structure”h]”hŒ&create and initialize an HCD structure”…”�”}”(hj¦vh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MU hj£vh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjµth²hh³jÍth´MU ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¾vjj¾vj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hX4**Parameters** ``const struct hc_driver *driver`` HC driver that will use this hcd ``struct device *dev`` device for this HC, stored in hcd->self.controller ``const char *bus_name`` value to store in hcd->self.bus_name **Context** task context, might sleep. **Description** Allocate a struct usb_hcd, with extra space at the end for the HC driver's private data. Initialize the generic members of the hcd structure. **Return** On success, a pointer to the created and initialized HCD structure. On failure (e.g. if memory is unavailable), ``NULL``.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÈvh]”hŒ Parameters”…”�”}”(hjÊvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÆvubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MY hjÂvubjD)�”}”(hhh]”(jI)�”}”(hŒD``const struct hc_driver *driver`` HC driver that will use this hcd ”h]”(jO)�”}”(hŒ"``const struct hc_driver *driver``”h]”jÑ)�”}”(hjçvh]”hŒconst struct hc_driver *driver”…”�”}”(hjévh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjåvubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MV hjávubji)�”}”(hhh]”hë)�”}”(hŒ HC driver that will use this hcd”h]”hŒ HC driver that will use this hcd”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jüvh´MV hjývubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjávubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jüvh´MV hjÞvubjI)�”}”(hŒJ``struct device *dev`` device for this HC, stored in hcd->self.controller ”h]”(jO)�”}”(hŒ``struct device *dev``”h]”jÑ)�”}”(hj wh]”hŒstruct device *dev”…”�”}”(hj"wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MW hjwubji)�”}”(hhh]”hë)�”}”(hŒ2device for this HC, stored in hcd->self.controller”h]”hŒ2device for this HC, stored in hcd->self.controller”…”�”}”(hj9wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j5wh´MW hj6wubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjwubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j5wh´MW hjÞvubjI)�”}”(hŒ>``const char *bus_name`` value to store in hcd->self.bus_name ”h]”(jO)�”}”(hŒ``const char *bus_name``”h]”jÑ)�”}”(hjYwh]”hŒconst char *bus_name”…”�”}”(hj[wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjWwubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MX hjSwubji)�”}”(hhh]”hë)�”}”(hŒ$value to store in hcd->self.bus_name”h]”hŒ$value to store in hcd->self.bus_name”…”�”}”(hjrwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jnwh´MX hjowubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjSwubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jnwh´MX hjÞvubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÂvubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj”wh]”hŒContext”…”�”}”(hj–wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj’wubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MZ hjÂvubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hjªwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MZ hjÂvubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj»wh]”hŒ Description”…”�”}”(hj½wh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¹wubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M\ hjÂvubhë)�”}”(hŒŽAllocate a struct usb_hcd, with extra space at the end for the HC driver's private data. Initialize the generic members of the hcd structure.”h]”hŒ�Allocate a struct usb_hcd, with extra space at the end for the HC driver’s private data. Initialize the generic members of the hcd structure.”…”�”}”(hjÑwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M[ hjÂvubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hjâwh]”hŒReturn”…”�”}”(hjäwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjàwubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M_ hjÂvubhë)�”}”(hŒyOn success, a pointer to the created and initialized HCD structure. On failure (e.g. if memory is unavailable), ``NULL``.”h]”(hŒpOn success, a pointer to the created and initialized HCD structure. On failure (e.g. if memory is unavailable), ”…”�”}”(hjøwh²hh³Nh´NubjÑ)�”}”(hŒ``NULL``”h]”hŒNULL”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjøwubhŒ.”…”�”}”(hjøwh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´M` hjÂvubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ!usb_core.usb_add_hcd (C function)”Œc.usb_core.usb_add_hcd”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒRint usb_add_hcd (struct usb_hcd *hcd, unsigned int irqnum, unsigned long irqflags)”h]”j+)�”}”(hŒQint usb_add_hcd(struct usb_hcd *hcd, unsigned int irqnum, unsigned long irqflags)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj9xh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj5xh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mé ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHxh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj5xh²hh³jGxh´Mé ubj„)�”}”(hŒ usb_add_hcd”h]”jŠ)�”}”(hŒ usb_add_hcd”h]”hŒ usb_add_hcd”…”�”}”(hjZxh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjVxubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj5xh²hh³jGxh´Mé ubj¥)�”}”(hŒB(struct usb_hcd *hcd, unsigned int irqnum, unsigned long irqflags)”h]”(j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjvxh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjrxubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjƒxh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjrxubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hj”xh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj‘xubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j–xŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj\xsbŒc.usb_core.usb_add_hcd”†”esbuh1hhjrxubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjµxh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjrxubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjÃxh²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjrxubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hjÐxh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjrxubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjnxubj«)�”}”(hŒunsigned int irqnum”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hjéxh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjåxubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj÷xh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåxubjT)�”}”(hŒint”h]”hŒint”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjåxubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjåxubjŠ)�”}”(hŒirqnum”h]”hŒirqnum”…”�”}”(hj!yh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjåxubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjnxubj«)�”}”(hŒunsigned long irqflags”h]”(jT)�”}”(hŒunsigned”h]”hŒunsigned”…”�”}”(hj:yh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj6yubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjHyh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj6yubjT)�”}”(hŒlong”h]”hŒlong”…”�”}”(hjVyh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj6yubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjdyh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj6yubjŠ)�”}”(hŒirqflags”h]”hŒirqflags”…”�”}”(hjryh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj6yubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjnxubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj5xh²hh³jGxh´Mé ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj1xh²hh³jGxh´Mé ubah}”(h]”j,xah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jGxh´Mé hj.xh²hubjü)�”}”(hhh]”hë)�”}”(hŒ8finish generic HCD structure initialization and register”h]”hŒ8finish generic HCD structure initialization and register”…”�”}”(hjœyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mé hj™yh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj.xh²hh³jGxh´Mé ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj´yjj´yj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hX‰**Parameters** ``struct usb_hcd *hcd`` the usb_hcd structure to initialize ``unsigned int irqnum`` Interrupt line to allocate ``unsigned long irqflags`` Interrupt type flags **Description** Finish the remaining parts of generic HCD initialization: allocate the buffers of consistent memory, register the bus, request the IRQ line, and call the driver's reset() and start() routines.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj¾yh]”hŒ Parameters”…”�”}”(hjÀyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj¼yubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mí hj¸yubjD)�”}”(hhh]”(jI)�”}”(hŒ<``struct usb_hcd *hcd`` the usb_hcd structure to initialize ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hjÝyh]”hŒstruct usb_hcd *hcd”…”�”}”(hjßyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÛyubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mê hj×yubji)�”}”(hhh]”hë)�”}”(hŒ#the usb_hcd structure to initialize”h]”hŒ#the usb_hcd structure to initialize”…”�”}”(hjöyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jòyh´Mê hjóyubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj×yubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jòyh´Mê hjÔyubjI)�”}”(hŒ3``unsigned int irqnum`` Interrupt line to allocate ”h]”(jO)�”}”(hŒ``unsigned int irqnum``”h]”jÑ)�”}”(hjzh]”hŒunsigned int irqnum”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjzubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Më hjzubji)�”}”(hhh]”hë)�”}”(hŒInterrupt line to allocate”h]”hŒInterrupt line to allocate”…”�”}”(hj/zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j+zh´Më hj,zubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjzubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j+zh´Më hjÔyubjI)�”}”(hŒ0``unsigned long irqflags`` Interrupt type flags ”h]”(jO)�”}”(hŒ``unsigned long irqflags``”h]”jÑ)�”}”(hjOzh]”hŒunsigned long irqflags”…”�”}”(hjQzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjMzubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mì hjIzubji)�”}”(hhh]”hë)�”}”(hŒInterrupt type flags”h]”hŒInterrupt type flags”…”�”}”(hjhzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jdzh´Mì hjezubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjIzubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jdzh´Mì hjÔyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChj¸yubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjŠzh]”hŒ Description”…”�”}”(hjŒzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjˆzubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mî hj¸yubhë)�”}”(hŒÀFinish the remaining parts of generic HCD initialization: allocate the buffers of consistent memory, register the bus, request the IRQ line, and call the driver's reset() and start() routines.”h]”hŒÂFinish the remaining parts of generic HCD initialization: allocate the buffers of consistent memory, register the bus, request the IRQ line, and call the driver’s reset() and start() routines.”…”�”}”(hj zh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´Mí hj¸yubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ$usb_core.usb_remove_hcd (C function)”Œc.usb_core.usb_remove_hcd”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ)void usb_remove_hcd (struct usb_hcd *hcd)”h]”j+)�”}”(hŒ(void usb_remove_hcd(struct usb_hcd *hcd)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÏzh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjËzh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÌ ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÞzh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjËzh²hh³jÝzh´MÌ ubj„)�”}”(hŒusb_remove_hcd”h]”jŠ)�”}”(hŒusb_remove_hcd”h]”hŒusb_remove_hcd”…”�”}”(hjðzh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjìzubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjËzh²hh³jÝzh´MÌ ubj¥)�”}”(hŒ(struct usb_hcd *hcd)”h]”j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj {h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj{ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj{ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hj*{h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj'{ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j,{Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjòzsbŒc.usb_core.usb_remove_hcd”†”esbuh1hhj{ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjK{h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj{ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjY{h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj{ubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hjf{h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj{ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj{ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjËzh²hh³jÝzh´MÌ ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÇzh²hh³jÝzh´MÌ ubah}”(h]”jÂzah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jÝzh´MÌ hjÄzh²hubjü)�”}”(hhh]”hë)�”}”(hŒ$shutdown processing for generic HCDs”h]”hŒ$shutdown processing for generic HCDs”…”�”}”(hj�{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÌ hj�{h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÄzh²hh³jÝzh´MÌ ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj¨{jj¨{j ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hŒì**Parameters** ``struct usb_hcd *hcd`` the usb_hcd structure to remove **Context** task context, might sleep. **Description** Disconnects the root hub, then reverses the effects of usb_add_hcd(), invoking the HCD's stop() method.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj²{h]”hŒ Parameters”…”�”}”(hj´{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj°{ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÐ hj¬{ubjD)�”}”(hhh]”jI)�”}”(hŒ8``struct usb_hcd *hcd`` the usb_hcd structure to remove ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hjÑ{h]”hŒstruct usb_hcd *hcd”…”�”}”(hjÓ{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÏ{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÍ hjË{ubji)�”}”(hhh]”hë)�”}”(hŒthe usb_hcd structure to remove”h]”hŒthe usb_hcd structure to remove”…”�”}”(hjê{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jæ{h´MÍ hjç{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjË{ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jæ{h´MÍ hjÈ{ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj¬{ubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hj |h]”hŒContext”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj |ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÏ hj¬{ubhë)�”}”(hŒtask context, might sleep.”h]”hŒtask context, might sleep.”…”�”}”(hj"|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÏ hj¬{ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj3|h]”hŒ Description”…”�”}”(hj5|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj1|ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÑ hj¬{ubhë)�”}”(hŒgDisconnects the root hub, then reverses the effects of usb_add_hcd(), invoking the HCD's stop() method.”h]”hŒiDisconnects the root hub, then reverses the effects of usb_add_hcd(), invoking the HCD’s stop() method.”…”�”}”(hjI|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³ŒZ/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:206: ./drivers/usb/core/hcd.c”h´MÐ hj¬{ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_core.usb_hcd_pci_probe (C function)”Œc.usb_core.usb_hcd_pci_probe”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒKint usb_hcd_pci_probe (struct pci_dev *dev, const struct hc_driver *driver)”h]”j+)�”}”(hŒJint usb_hcd_pci_probe(struct pci_dev *dev, const struct hc_driver *driver)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hjx|h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjt|h²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´KžubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‡|h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjt|h²hh³j†|h´Kžubj„)�”}”(hŒusb_hcd_pci_probe”h]”jŠ)�”}”(hŒusb_hcd_pci_probe”h]”hŒusb_hcd_pci_probe”…”�”}”(hj™|h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj•|ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjt|h²hh³j†|h´Kžubj¥)�”}”(hŒ5(struct pci_dev *dev, const struct hc_driver *driver)”h]”(j«)�”}”(hŒstruct pci_dev *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjµ|h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj±|ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjÂ|h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj±|ubh)�”}”(hhh]”jŠ)�”}”(hŒpci_dev”h]”hŒpci_dev”…”�”}”(hjÓ|h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjÐ|ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jÕ|Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj›|sbŒc.usb_core.usb_hcd_pci_probe”†”esbuh1hhj±|ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjô|h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj±|ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj±|ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj±|ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj­|ubj«)�”}”(hŒconst struct hc_driver *driver”h]”(j1)�”}”(hj4h]”hŒconst”…”�”}”(hj(}h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj$}ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj5}h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj$}ubj1)�”}”(hjh]”hŒstruct”…”�”}”(hjC}h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj$}ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjP}h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj$}ubh)�”}”(hhh]”jŠ)�”}”(hŒ hc_driver”h]”hŒ hc_driver”…”�”}”(hja}h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj^}ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jc}Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jð|Œc.usb_core.usb_hcd_pci_probe”†”esbuh1hhj$}ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj€}h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj$}ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjŽ}h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj$}ubjŠ)�”}”(hŒdriver”h]”hŒdriver”…”�”}”(hj›}h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj$}ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj­|ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjt|h²hh³j†|h´Kžubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjp|h²hh³j†|h´Kžubah}”(h]”jk|ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j†|h´Kžhjm|h²hubjü)�”}”(hhh]”hë)�”}”(hŒinitialize PCI-based HCDs”h]”hŒinitialize PCI-based HCDs”…”�”}”(hjÅ}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´KžhjÂ}h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjm|h²hh³j†|h´Kžubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjÝ}jjÝ}j •‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXÅ**Parameters** ``struct pci_dev *dev`` USB Host Controller being probed ``const struct hc_driver *driver`` USB HC driver handle **Context** task context, might sleep **Description** Allocates basic PCI resources for this USB host controller, and then invokes the start() method for the HCD associated with it through the hotplug entry's driver_data. Store this function in the HCD's struct pci_driver as probe(). **Return** 0 if successful.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjç}h]”hŒ Parameters”…”�”}”(hjé}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjå}ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´K¢hjá}ubjD)�”}”(hhh]”(jI)�”}”(hŒ9``struct pci_dev *dev`` USB Host Controller being probed ”h]”(jO)�”}”(hŒ``struct pci_dev *dev``”h]”jÑ)�”}”(hj~h]”hŒstruct pci_dev *dev”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´KŸhj~ubji)�”}”(hhh]”hë)�”}”(hŒ USB Host Controller being probed”h]”hŒ USB Host Controller being probed”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j~h´KŸhj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j~h´KŸhjý}ubjI)�”}”(hŒ8``const struct hc_driver *driver`` USB HC driver handle ”h]”(jO)�”}”(hŒ"``const struct hc_driver *driver``”h]”jÑ)�”}”(hj?~h]”hŒconst struct hc_driver *driver”…”�”}”(hjA~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj=~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´K hj9~ubji)�”}”(hhh]”hë)�”}”(hŒUSB HC driver handle”h]”hŒUSB HC driver handle”…”�”}”(hjX~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jT~h´K hjU~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj9~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jT~h´K hjý}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjá}ubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjz~h]”hŒContext”…”�”}”(hj|~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjx~ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´K¢hjá}ubhë)�”}”(hŒtask context, might sleep”h]”hŒtask context, might sleep”…”�”}”(hj�~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´K¢hjá}ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj¡~h]”hŒ Description”…”�”}”(hj£~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjŸ~ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´K¤hjá}ubhë)�”}”(hŒ§Allocates basic PCI resources for this USB host controller, and then invokes the start() method for the HCD associated with it through the hotplug entry's driver_data.”h]”hŒ©Allocates basic PCI resources for this USB host controller, and then invokes the start() method for the HCD associated with it through the hotplug entry’s driver_data.”…”�”}”(hj·~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´K£hjá}ubhë)�”}”(hŒ>Store this function in the HCD's struct pci_driver as probe().”h]”hŒ@Store this function in the HCD’s struct pci_driver as probe().”…”�”}”(hjÆ~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´K§hjá}ubhë)�”}”(hŒ **Return**”h]”j.)�”}”(hj×~h]”hŒReturn”…”�”}”(hjÙ~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjÕ~ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´K©hjá}ubhë)�”}”(hŒ0 if successful.”h]”hŒ0 if successful.”…”�”}”(hjí~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´Kªhjá}ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.usb_hcd_pci_remove (C function)”Œc.usb_core.usb_hcd_pci_remove”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ-void usb_hcd_pci_remove (struct pci_dev *dev)”h]”j+)�”}”(hŒ,void usb_hcd_pci_remove(struct pci_dev *dev)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M,ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjh²hh³j*h´M,ubj„)�”}”(hŒusb_hcd_pci_remove”h]”jŠ)�”}”(hŒusb_hcd_pci_remove”h]”hŒusb_hcd_pci_remove”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj9ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjh²hh³j*h´M,ubj¥)�”}”(hŒ(struct pci_dev *dev)”h]”j«)�”}”(hŒstruct pci_dev *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjUubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjUubh)�”}”(hhh]”jŠ)�”}”(hŒpci_dev”h]”hŒpci_dev”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjtubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jyŒmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj?sbŒc.usb_core.usb_hcd_pci_remove”†”esbuh1hhjUubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjUubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjUubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjUubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjQubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjh²hh³j*h´M,ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjh²hh³j*h´M,ubah}”(h]”jah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j*h´M,hjh²hubjü)�”}”(hhh]”hë)�”}”(hŒ&shutdown processing for PCI-based HCDs”h]”hŒ&shutdown processing for PCI-based HCDs”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M,hjÚh²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjh²hh³j*h´M,ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjõjjõj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXv**Parameters** ``struct pci_dev *dev`` USB Host Controller being removed **Context** task context, might sleep **Description** Reverses the effect of usb_hcd_pci_probe(), first invoking the HCD's stop() method. It is always called from a thread context, normally "rmmod", "apmd", or something similar. Store this function in the HCD's struct pci_driver as remove().”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjÿh]”hŒ Parameters”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjýubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M0hjùubjD)�”}”(hhh]”jI)�”}”(hŒ:``struct pci_dev *dev`` USB Host Controller being removed ”h]”(jO)�”}”(hŒ``struct pci_dev *dev``”h]”jÑ)�”}”(hj€h]”hŒstruct pci_dev *dev”…”�”}”(hj €h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M-hj€ubji)�”}”(hhh]”hë)�”}”(hŒ!USB Host Controller being removed”h]”hŒ!USB Host Controller being removed”…”�”}”(hj7€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j3€h´M-hj4€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj€ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j3€h´M-hj€ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjùubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjY€h]”hŒContext”…”�”}”(hj[€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjW€ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M/hjùubhë)�”}”(hŒtask context, might sleep”h]”hŒtask context, might sleep”…”�”}”(hjo€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M/hjùubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj€€h]”hŒ Description”…”�”}”(hj‚€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj~€ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M1hjùubhë)�”}”(hŒ¯Reverses the effect of usb_hcd_pci_probe(), first invoking the HCD's stop() method. It is always called from a thread context, normally "rmmod", "apmd", or something similar.”h]”hŒ¹Reverses the effect of usb_hcd_pci_probe(), first invoking the HCD’s stop() method. It is always called from a thread context, normally “rmmodâ€�, “apmdâ€�, or something similar.”…”�”}”(hj–€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M0hjùubhë)�”}”(hŒ?Store this function in the HCD's struct pci_driver as remove().”h]”hŒAStore this function in the HCD’s struct pci_driver as remove().”…”�”}”(hj¥€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´M4hjùubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ*usb_core.usb_hcd_pci_shutdown (C function)”Œc.usb_core.usb_hcd_pci_shutdown”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ/void usb_hcd_pci_shutdown (struct pci_dev *dev)”h]”j+)�”}”(hŒ.void usb_hcd_pci_shutdown(struct pci_dev *dev)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hjÔ€h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShjЀh²hh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´MdubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjã€h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjЀh²hh³jâ€h´Mdubj„)�”}”(hŒusb_hcd_pci_shutdown”h]”jŠ)�”}”(hŒusb_hcd_pci_shutdown”h]”hŒusb_hcd_pci_shutdown”…”�”}”(hjõ€h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjñ€ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhjЀh²hh³jâ€h´Mdubj¥)�”}”(hŒ(struct pci_dev *dev)”h]”j«)�”}”(hŒstruct pci_dev *dev”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hj �ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj �ubh)�”}”(hhh]”jŠ)�”}”(hŒpci_dev”h]”hŒpci_dev”…”�”}”(hj/�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj,�ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j1�Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj÷€sbŒc.usb_core.usb_hcd_pci_shutdown”†”esbuh1hhj �ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjP�h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj �ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj^�h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhj �ubjŠ)�”}”(hŒdev”h]”hŒdev”…”�”}”(hjk�h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj �ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhj �ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hjЀh²hh³jâ€h´Mdubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhjÌ€h²hh³jâ€h´Mdubah}”(h]”jÇ€ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³jâ€h´MdhjÉ€h²hubjü)�”}”(hhh]”hë)�”}”(hŒshutdown host controller”h]”hŒshutdown host controller”…”�”}”(hj•�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´Mdhj’�h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhjÉ€h²hh³jâ€h´Mdubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj­�jj­�j ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hŒL**Parameters** ``struct pci_dev *dev`` USB Host Controller being shutdown”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hj·�h]”hŒ Parameters”…”�”}”(hj¹�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjµ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´Mhhj±�ubjD)�”}”(hhh]”jI)�”}”(hŒ:``struct pci_dev *dev`` USB Host Controller being shutdown”h]”(jO)�”}”(hŒ``struct pci_dev *dev``”h]”jÑ)�”}”(hjÖ�h]”hŒstruct pci_dev *dev”…”�”}”(hjØ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÔ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´MjhjÐ�ubji)�”}”(hhh]”hë)�”}”(hŒ"USB Host Controller being shutdown”h]”hŒ"USB Host Controller being shutdown”…”�”}”(hjï�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ^/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:209: ./drivers/usb/core/hcd-pci.c”h´Mehjì�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÐ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jë�h´MjhjÍ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj±�ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ'usb_core.hcd_buffer_create (C function)”Œc.usb_core.hcd_buffer_create”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ+int hcd_buffer_create (struct usb_hcd *hcd)”h]”j+)�”}”(hŒ*int hcd_buffer_create(struct usb_hcd *hcd)”h]”(jT)�”}”(hŒint”h]”hŒint”…”�”}”(hj0‚h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj,‚h²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K4ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj?‚h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj,‚h²hh³j>‚h´K4ubj„)�”}”(hŒhcd_buffer_create”h]”jŠ)�”}”(hŒhcd_buffer_create”h]”hŒhcd_buffer_create”…”�”}”(hjQ‚h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjM‚ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj,‚h²hh³j>‚h´K4ubj¥)�”}”(hŒ(struct usb_hcd *hcd)”h]”j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjm‚h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hji‚ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjz‚h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhji‚ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hj‹‚h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjˆ‚ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”j�‚Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHjS‚sbŒc.usb_core.hcd_buffer_create”†”esbuh1hhji‚ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj¬‚h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhji‚ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hjº‚h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhji‚ubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hjÇ‚h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hji‚ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhje‚ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj,‚h²hh³j>‚h´K4ubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj(‚h²hh³j>‚h´K4ubah}”(h]”j#‚ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j>‚h´K4hj%‚h²hubjü)�”}”(hhh]”hë)�”}”(hŒinitialize buffer pools”h]”hŒinitialize buffer pools”…”�”}”(hjñ‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K4hjî‚h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj%‚h²hh³j>‚h´K4ubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjj ƒjj ƒj ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hXÙ**Parameters** ``struct usb_hcd *hcd`` the bus whose buffer pools are to be initialized **Context** task context, might sleep **Description** Call this as part of initializing a host controller that uses the dma memory allocators. It initializes some pools of dma-coherent memory that will be shared by all drivers using that controller. Call hcd_buffer_destroy() to clean up after using those pools. **Return** 0 if successful. A negative errno value otherwise.”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjƒh]”hŒ Parameters”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K8hj ƒubjD)�”}”(hhh]”jI)�”}”(hŒI``struct usb_hcd *hcd`` the bus whose buffer pools are to be initialized ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hj2ƒh]”hŒstruct usb_hcd *hcd”…”�”}”(hj4ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj0ƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K5hj,ƒubji)�”}”(hhh]”hë)�”}”(hŒ0the bus whose buffer pools are to be initialized”h]”hŒ0the bus whose buffer pools are to be initialized”…”�”}”(hjKƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³jGƒh´K5hjHƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj,ƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³jGƒh´K5hj)ƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jChj ƒubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjmƒh]”hŒContext”…”�”}”(hjoƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjkƒubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K7hj ƒubhë)�”}”(hŒtask context, might sleep”h]”hŒtask context, might sleep”…”�”}”(hjƒƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K7hj ƒubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hj”ƒh]”hŒ Description”…”�”}”(hj–ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hj’ƒubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K9hj ƒubhë)�”}”(hŒÄCall this as part of initializing a host controller that uses the dma memory allocators. It initializes some pools of dma-coherent memory that will be shared by all drivers using that controller.”h]”hŒÄCall this as part of initializing a host controller that uses the dma memory allocators. It initializes some pools of dma-coherent memory that will be shared by all drivers using that controller.”…”�”}”(hjªƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K8hj ƒubhë)�”}”(hŒ>Call hcd_buffer_destroy() to clean up after using those pools.”h]”hŒ>Call hcd_buffer_destroy() to clean up after using those pools.”…”�”}”(hj¹ƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´Khj ƒubhë)�”}”(hŒ20 if successful. A negative errno value otherwise.”h]”hŒ20 if successful. A negative errno value otherwise.”…”�”}”(hjàƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K?hj ƒubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubj)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ(usb_core.hcd_buffer_destroy (C function)”Œc.usb_core.hcd_buffer_destroy”hNt”auh1jhjQSh²hh³Nh´Nubj )�”}”(hhh]”(j%)�”}”(hŒ-void hcd_buffer_destroy (struct usb_hcd *hcd)”h]”j+)�”}”(hŒ,void hcd_buffer_destroy(struct usb_hcd *hcd)”h]”(jT)�”}”(hŒvoid”h]”hŒvoid”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”j`ah"]”h$]”h&]”uh1jShj „h²hh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´KZubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj„h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhj „h²hh³j„h´KZubj„)�”}”(hŒhcd_buffer_destroy”h]”jŠ)�”}”(hŒhcd_buffer_destroy”h]”hŒhcd_buffer_destroy”…”�”}”(hj0„h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hj,„ubah}”(h]”h ]”(j�jžeh"]”h$]”h&]”j¢j£uh1jƒhj „h²hh³j„h´KZubj¥)�”}”(hŒ(struct usb_hcd *hcd)”h]”j«)�”}”(hŒstruct usb_hcd *hcd”h]”(j1)�”}”(hjh]”hŒstruct”…”�”}”(hjL„h²hh³Nh´Nubah}”(h]”h ]”j=ah"]”h$]”h&]”uh1j0hjH„ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjY„h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjH„ubh)�”}”(hhh]”jŠ)�”}”(hŒusb_hcd”h]”hŒusb_hcd”…”�”}”(hjj„h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjg„ubah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”jŒreftype”jHŒ reftarget”jl„Œmodname”NŒ classname”NjLjO)�”}”jR]”(j�N†”jU)�”}”jHj2„sbŒc.usb_core.hcd_buffer_destroy”†”esbuh1hhjH„ubjC)�”}”(hŒ ”h]”hŒ ”…”�”}”(hj‹„h²hh³Nh´Nubah}”(h]”h ]”jOah"]”h$]”h&]”uh1jBhjH„ubjs)�”}”(hjvh]”hŒ*”…”�”}”(hj™„h²hh³Nh´Nubah}”(h]”h ]”jah"]”h$]”h&]”uh1jrhjH„ubjŠ)�”}”(hŒhcd”h]”hŒhcd”…”�”}”(hj¦„h²hh³Nh´Nubah}”(h]”h ]”j–ah"]”h$]”h&]”uh1j‰hjH„ubeh}”(h]”h ]”h"]”h$]”h&]”Œnoemph”ˆj¢j£uh1jªhjD„ubah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1j¤hj „h²hh³j„h´KZubeh}”(h]”h ]”h"]”h$]”h&]”j¢j£jíˆuh1j*jîjïhj„h²hh³j„h´KZubah}”(h]”j„ah ]”(jójôeh"]”h$]”h&]”jøˆjù)júhuh1j$h³j„h´KZhj„h²hubjü)�”}”(hhh]”hë)�”}”(hŒdeallocate buffer pools”h]”hŒdeallocate buffer pools”…”�”}”(hjЄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´KZhjÍ„h²hubah}”(h]”h ]”h"]”h$]”h&]”uh1jûhj„h²hh³j„h´KZubeh}”(h]”h ]”(jŒfunction”eh"]”h$]”h&]”jjjjè„jjè„j ‰j!‰j"‰uh1jh²hhjQSh³Nh´Nubj$)�”}”(hŒÎ**Parameters** ``struct usb_hcd *hcd`` the bus whose buffer pools are to be destroyed **Context** task context, might sleep **Description** This frees the buffer pools created by hcd_buffer_create().”h]”(hë)�”}”(hŒ**Parameters**”h]”j.)�”}”(hjò„h]”hŒ Parameters”…”�”}”(hjô„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjð„ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K^hjì„ubjD)�”}”(hhh]”jI)�”}”(hŒG``struct usb_hcd *hcd`` the bus whose buffer pools are to be destroyed ”h]”(jO)�”}”(hŒ``struct usb_hcd *hcd``”h]”jÑ)�”}”(hj…h]”hŒstruct usb_hcd *hcd”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K[hj …ubji)�”}”(hhh]”hë)�”}”(hŒ.the bus whose buffer pools are to be destroyed”h]”hŒ.the bus whose buffer pools are to be destroyed”…”�”}”(hj*…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³j&…h´K[hj'…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj …ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³j&…h´K[hj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjì„ubhë)�”}”(hŒ **Context**”h]”j.)�”}”(hjL…h]”hŒContext”…”�”}”(hjN…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjJ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K]hjì„ubhë)�”}”(hŒtask context, might sleep”h]”hŒtask context, might sleep”…”�”}”(hjb…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K]hjì„ubhë)�”}”(hŒ**Description**”h]”j.)�”}”(hjs…h]”hŒ Description”…”�”}”(hju…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j-hjq…ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K_hjì„ubhë)�”}”(hŒ;This frees the buffer pools created by hcd_buffer_create().”h]”hŒ;This frees the buffer pools created by hcd_buffer_create().”…”�”}”(hj‰…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³Œ]/var/lib/git/docbuild/linux/Documentation/driver-api/usb/usb:212: ./drivers/usb/core/buffer.c”h´K^hjì„ubeh}”(h]”h ]”Œ kernelindent”ah"]”h$]”h&]”uh1j#hjQSh²hh³Nh´Nubeh}”(h]”Œhost-controller-apis”ah ]”h"]”Œhost controller apis”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KµubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒThe USB character device nodes”h]”hŒThe USB character device nodes”…”�”}”(hjª…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj§…h²hh³hÃh´KØubhë)�”}”(hX.This chapter presents the Linux character device nodes. You may prefer to avoid writing new kernel code for your USB driver. User mode device drivers are usually packaged as applications or libraries, and may use character devices through some programming library that wraps it. Such libraries include:”h]”hX.This chapter presents the Linux character device nodes. You may prefer to avoid writing new kernel code for your USB driver. User mode device drivers are usually packaged as applications or libraries, and may use character devices through some programming library that wraps it. Such libraries include:”…”�”}”(hj¸…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KÚhj§…h²hubjŒ7)�”}”(hŒo- `libusb `__ for C/C++, and - `jUSB `__ for Java. ”h]”j¶)�”}”(hhh]”(j»)�”}”(hŒ9`libusb `__ for C/C++, and”h]”hë)�”}”(hjÏ…h]”(hŒ reference”“”)�”}”(hŒ*`libusb `__”h]”hŒlibusb”…”�”}”(hjÖ…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œname”Œlibusb”Œrefuri”Œhttp://libusb.sourceforge.net”uh1jÔ…hjÑ…ubhŒ for C/C++, and”…”�”}”(hjÑ…h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KàhjÍ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjÊ…ubj»)�”}”(hŒ1`jUSB `__ for Java. ”h]”hë)�”}”(hŒ0`jUSB `__ for Java.”h]”(jÕ…)�”}”(hŒ&`jUSB `__”h]”hŒjUSB”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œname”ŒjUSB”jæ…Œhttp://jUSB.sourceforge.net”uh1jÔ…hjü…ubhŒ for Java.”…”�”}”(hjü…h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Káhjø…ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjÊ…ubeh}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³hÃh´KàhjÆ…ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³hÃh´Kàhj§…h²hubhë)�”}”(hŒ­Some old information about it can be seen at the "USB Device Filesystem" section of the USB Guide. The latest copy of the USB Guide can be found at http://www.linux-usb.org/”h]”(hŒ˜Some old information about it can be seen at the “USB Device Filesystemâ€� section of the USB Guide. The latest copy of the USB Guide can be found at ”…”�”}”(hj-†h²hh³Nh´NubjÕ…)�”}”(hŒhttp://www.linux-usb.org/”h]”hŒhttp://www.linux-usb.org/”…”�”}”(hj5†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j7†uh1jÔ…hj-†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Kãhj§…h²hubhŒnote”“”)�”}”(hX"- They were used to be implemented via *usbfs*, but this is not part of the sysfs debug interface. - This particular documentation is incomplete, especially with respect to the asynchronous mode. As of kernel 2.5.66 the code and this (new) documentation need to be cross-reviewed.”h]”(j¶)�”}”(hhh]”j»)�”}”(hŒaThey were used to be implemented via *usbfs*, but this is not part of the sysfs debug interface. ”h]”hë)�”}”(hŒ`They were used to be implemented via *usbfs*, but this is not part of the sysfs debug interface.”h]”(hŒ%They were used to be implemented via ”…”�”}”(hjW†h²hh³Nh´Nubj)�”}”(hŒ*usbfs*”h]”hŒusbfs”…”�”}”(hj_†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjW†ubhŒ4, but this is not part of the sysfs debug interface.”…”�”}”(hjW†h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KéhjS†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjP†ubah}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³hÃh´KéhjL†ubjŒ7)�”}”(hŒ¹- This particular documentation is incomplete, especially with respect to the asynchronous mode. As of kernel 2.5.66 the code and this (new) documentation need to be cross-reviewed.”h]”j¶)�”}”(hhh]”j»)�”}”(hŒ³This particular documentation is incomplete, especially with respect to the asynchronous mode. As of kernel 2.5.66 the code and this (new) documentation need to be cross-reviewed.”h]”hë)�”}”(hŒ³This particular documentation is incomplete, especially with respect to the asynchronous mode. As of kernel 2.5.66 the code and this (new) documentation need to be cross-reviewed.”h]”hŒ³This particular documentation is incomplete, especially with respect to the asynchronous mode. As of kernel 2.5.66 the code and this (new) documentation need to be cross-reviewed.”…”�”}”(hjކh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´KìhjІubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhj‡†ubah}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³hÃh´Kìhjƒ†ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³hÃh´KìhjL†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jJ†hj§…h²hh³hÃh´NubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒWhat files are in "devtmpfs"?”h]”hŒ!What files are in “devtmpfsâ€�?”…”�”}”(hj·†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj´†h²hh³hÃh´Kñubhë)�”}”(hŒDConventionally mounted at ``/dev/bus/usb/``, usbfs features include:”h]”(hŒConventionally mounted at ”…”�”}”(hjņh²hh³Nh´NubjÑ)�”}”(hŒ``/dev/bus/usb/``”h]”hŒ /dev/bus/usb/”…”�”}”(hj͆h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjņubhŒ, usbfs features include:”…”�”}”(hjņh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Kóhj´†h²hubj¶)�”}”(hhh]”j»)�”}”(hŒØ``/dev/bus/usb/BBB/DDD`` ... magic files exposing the each device's configuration descriptors, and supporting a series of ioctls for making device requests, including I/O to devices. (Purely for access by programs.) ”h]”hë)�”}”(hŒ×``/dev/bus/usb/BBB/DDD`` ... magic files exposing the each device's configuration descriptors, and supporting a series of ioctls for making device requests, including I/O to devices. (Purely for access by programs.)”h]”(jÑ)�”}”(hŒ``/dev/bus/usb/BBB/DDD``”h]”hŒ/dev/bus/usb/BBB/DDD”…”�”}”(hjð†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjì†ubhŒÁ ... magic files exposing the each device’s configuration descriptors, and supporting a series of ioctls for making device requests, including I/O to devices. (Purely for access by programs.)”…”�”}”(hjì†h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Kõhjè†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhjå†h²hh³hÃh´Nubah}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³hÃh´Kõhj´†h²hubhë)�”}”(hX}Each bus is given a number (``BBB``) based on when it was enumerated; within each bus, each device is given a similar number (``DDD``). Those ``BBB/DDD`` paths are not "stable" identifiers; expect them to change even if you always leave the devices plugged in to the same hub port. *Don't even think of saving these in application configuration files.* Stable identifiers are available, for user mode applications that want to use them. HID and networking devices expose these stable IDs, so that for example you can be sure that you told the right UPS to power down its second server. Pleast note that it doesn't (yet) expose those IDs.”h]”(hŒEach bus is given a number (”…”�”}”(hj‡h²hh³Nh´NubjÑ)�”}”(hŒ``BBB``”h]”hŒBBB”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‡ubhŒ[) based on when it was enumerated; within each bus, each device is given a similar number (”…”�”}”(hj‡h²hh³Nh´NubjÑ)�”}”(hŒ``DDD``”h]”hŒDDD”…”�”}”(hj.‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‡ubhŒ ). Those ”…”�”}”(hj‡h²hh³Nh´NubjÑ)�”}”(hŒ ``BBB/DDD``”h]”hŒBBB/DDD”…”�”}”(hj@‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‡ubhŒ… paths are not “stableâ€� identifiers; expect them to change even if you always leave the devices plugged in to the same hub port. ”…”�”}”(hj‡h²hh³Nh´Nubj)�”}”(hŒF*Don't even think of saving these in application configuration files.*”h]”hŒFDon’t even think of saving these in application configuration files.”…”�”}”(hjR‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‡ubhX Stable identifiers are available, for user mode applications that want to use them. HID and networking devices expose these stable IDs, so that for example you can be sure that you told the right UPS to power down its second server. Pleast note that it doesn’t (yet) expose those IDs.”…”�”}”(hj‡h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Kúhj´†h²hubeh}”(h]”Œwhat-files-are-in-devtmpfs”ah ]”h"]”Œwhat files are in "devtmpfs"?”ah$]”h&]”uh1hÄhj§…h²hh³hÃh´KñubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ/dev/bus/usb/BBB/DDD”h]”hŒ/dev/bus/usb/BBB/DDD”…”�”}”(hju‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjr‡h²hh³hÃh´Mubhë)�”}”(hŒ+Use these files in one of these basic ways:”h]”hŒ+Use these files in one of these basic ways:”…”�”}”(hjƒ‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhjr‡h²hubj¶)�”}”(hhh]”(j»)�”}”(hXB*They can be read,* producing first the device descriptor (18 bytes) and then the descriptors for the current configuration. See the USB 2.0 spec for details about those binary data formats. You'll need to convert most multibyte values from little endian format to your native host byte order, although a few of the fields in the device descriptor (both of the BCD-encoded fields, and the vendor and product IDs) will be byteswapped for you. Note that configuration descriptors include descriptors for interfaces, altsettings, endpoints, and maybe additional class descriptors. ”h]”hë)�”}”(hXA*They can be read,* producing first the device descriptor (18 bytes) and then the descriptors for the current configuration. See the USB 2.0 spec for details about those binary data formats. You'll need to convert most multibyte values from little endian format to your native host byte order, although a few of the fields in the device descriptor (both of the BCD-encoded fields, and the vendor and product IDs) will be byteswapped for you. Note that configuration descriptors include descriptors for interfaces, altsettings, endpoints, and maybe additional class descriptors.”h]”(j)�”}”(hŒ*They can be read,*”h]”hŒThey can be read,”…”�”}”(hjœ‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj˜‡ubhX0 producing first the device descriptor (18 bytes) and then the descriptors for the current configuration. See the USB 2.0 spec for details about those binary data formats. You’ll need to convert most multibyte values from little endian format to your native host byte order, although a few of the fields in the device descriptor (both of the BCD-encoded fields, and the vendor and product IDs) will be byteswapped for you. Note that configuration descriptors include descriptors for interfaces, altsettings, endpoints, and maybe additional class descriptors.”…”�”}”(hj˜‡h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hj”‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhj‘‡h²hh³hÃh´Nubj»)�”}”(hX=*Perform USB operations* using *ioctl()* requests to make endpoint I/O requests (synchronously or asynchronously) or manage the device. These requests need the ``CAP_SYS_RAWIO`` capability, as well as filesystem access permissions. Only one ioctl request can be made on one of these device files at a time. This means that if you are synchronously reading an endpoint from one thread, you won't be able to write to a different endpoint from another thread until the read completes. This works for *half duplex* protocols, but otherwise you'd use asynchronous i/o requests. ”h]”hë)�”}”(hX<*Perform USB operations* using *ioctl()* requests to make endpoint I/O requests (synchronously or asynchronously) or manage the device. These requests need the ``CAP_SYS_RAWIO`` capability, as well as filesystem access permissions. Only one ioctl request can be made on one of these device files at a time. This means that if you are synchronously reading an endpoint from one thread, you won't be able to write to a different endpoint from another thread until the read completes. This works for *half duplex* protocols, but otherwise you'd use asynchronous i/o requests.”h]”(j)�”}”(hŒ*Perform USB operations*”h]”hŒPerform USB operations”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¾‡ubhŒ using ”…”�”}”(hj¾‡h²hh³Nh´Nubj)�”}”(hŒ *ioctl()*”h]”hŒioctl()”…”�”}”(hjÔ‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¾‡ubhŒx requests to make endpoint I/O requests (synchronously or asynchronously) or manage the device. These requests need the ”…”�”}”(hj¾‡h²hh³Nh´NubjÑ)�”}”(hŒ``CAP_SYS_RAWIO``”h]”hŒ CAP_SYS_RAWIO”…”�”}”(hjæ‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¾‡ubhXB capability, as well as filesystem access permissions. Only one ioctl request can be made on one of these device files at a time. This means that if you are synchronously reading an endpoint from one thread, you won’t be able to write to a different endpoint from another thread until the read completes. This works for ”…”�”}”(hj¾‡h²hh³Nh´Nubj)�”}”(hŒ *half duplex*”h]”hŒ half duplex”…”�”}”(hjø‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¾‡ubhŒ@ protocols, but otherwise you’d use asynchronous i/o requests.”…”�”}”(hj¾‡h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhjº‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhj‘‡h²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³hÃh´M hjr‡h²hubhë)�”}”(hXþEach connected USB device has one file. The ``BBB`` indicates the bus number. The ``DDD`` indicates the device address on that bus. Both of these numbers are assigned sequentially, and can be reused, so you can't rely on them for stable access to devices. For example, it's relatively common for devices to re-enumerate while they are still connected (perhaps someone jostled their power supply, hub, or USB cable), so a device might be ``002/027`` when you first connect it and ``002/048`` sometime later.”h]”(hŒ-Each connected USB device has one file. The ”…”�”}”(hjˆh²hh³Nh´NubjÑ)�”}”(hŒ``BBB``”h]”hŒBBB”…”�”}”(hj$ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjˆubhŒ indicates the bus number. The ”…”�”}”(hjˆh²hh³Nh´NubjÑ)�”}”(hŒ``DDD``”h]”hŒDDD”…”�”}”(hj6ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjˆubhXb indicates the device address on that bus. Both of these numbers are assigned sequentially, and can be reused, so you can’t rely on them for stable access to devices. For example, it’s relatively common for devices to re-enumerate while they are still connected (perhaps someone jostled their power supply, hub, or USB cable), so a device might be ”…”�”}”(hjˆh²hh³Nh´NubjÑ)�”}”(hŒ ``002/027``”h]”hŒ002/027”…”�”}”(hjHˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjˆubhŒ when you first connect it and ”…”�”}”(hjˆh²hh³Nh´NubjÑ)�”}”(hŒ ``002/048``”h]”hŒ002/048”…”�”}”(hjZˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjˆubhŒ sometime later.”…”�”}”(hjˆh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhjr‡h²hubhë)�”}”(hXgThese files can be read as binary data. The binary data consists of first the device descriptor, then the descriptors for each configuration of the device. Multi-byte fields in the device descriptor are converted to host endianness by the kernel. The configuration descriptors are in bus endian format! The configuration descriptor are wTotalLength bytes apart. If a device returns less configuration descriptor data than indicated by wTotalLength there will be a hole in the file for the missing bytes. This information is also shown in text form by the ``/sys/kernel/debug/usb/devices`` file, described later.”h]”(hX/These files can be read as binary data. The binary data consists of first the device descriptor, then the descriptors for each configuration of the device. Multi-byte fields in the device descriptor are converted to host endianness by the kernel. The configuration descriptors are in bus endian format! The configuration descriptor are wTotalLength bytes apart. If a device returns less configuration descriptor data than indicated by wTotalLength there will be a hole in the file for the missing bytes. This information is also shown in text form by the ”…”�”}”(hjrˆh²hh³Nh´NubjÑ)�”}”(hŒ!``/sys/kernel/debug/usb/devices``”h]”hŒ/sys/kernel/debug/usb/devices”…”�”}”(hjzˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjrˆubhŒ file, described later.”…”�”}”(hjrˆh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M&hjr‡h²hubhë)�”}”(hXWThese files may also be used to write user-level drivers for the USB devices. You would open the ``/dev/bus/usb/BBB/DDD`` file read/write, read its descriptors to make sure it's the device you expect, and then bind to an interface (or perhaps several) using an ioctl call. You would issue more ioctls to the device to communicate to it using control, bulk, or other kinds of USB transfers. The IOCTLs are listed in the ```` file, and at this writing the source code (``linux/drivers/usb/core/devio.c``) is the primary reference for how to access devices through those files.”h]”(hŒbThese files may also be used to write user-level drivers for the USB devices. You would open the ”…”�”}”(hj’ˆh²hh³Nh´NubjÑ)�”}”(hŒ``/dev/bus/usb/BBB/DDD``”h]”hŒ/dev/bus/usb/BBB/DDD”…”�”}”(hjšˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj’ˆubhX. file read/write, read its descriptors to make sure it’s the device you expect, and then bind to an interface (or perhaps several) using an ioctl call. You would issue more ioctls to the device to communicate to it using control, bulk, or other kinds of USB transfers. The IOCTLs are listed in the ”…”�”}”(hj’ˆh²hh³Nh´NubjÑ)�”}”(hŒ````”h]”hŒ”…”�”}”(hj¬ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj’ˆubhŒ, file, and at this writing the source code (”…”�”}”(hj’ˆh²hh³Nh´NubjÑ)�”}”(hŒ"``linux/drivers/usb/core/devio.c``”h]”hŒlinux/drivers/usb/core/devio.c”…”�”}”(hj¾ˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj’ˆubhŒI) is the primary reference for how to access devices through those files.”…”�”}”(hj’ˆh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M0hjr‡h²hubhë)�”}”(hXNote that since by default these ``BBB/DDD`` files are writable only by root, only root can write such user mode drivers. You can selectively grant read/write permissions to other users by using ``chmod``. Also, usbfs mount options such as ``devmode=0666`` may be helpful.”h]”(hŒ!Note that since by default these ”…”�”}”(hjÖˆh²hh³Nh´NubjÑ)�”}”(hŒ ``BBB/DDD``”h]”hŒBBB/DDD”…”�”}”(hjÞˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÖˆubhŒ˜ files are writable only by root, only root can write such user mode drivers. You can selectively grant read/write permissions to other users by using ”…”�”}”(hjÖˆh²hh³Nh´NubjÑ)�”}”(hŒ ``chmod``”h]”hŒchmod”…”�”}”(hjðˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÖˆubhŒ%. Also, usbfs mount options such as ”…”�”}”(hjÖˆh²hh³Nh´NubjÑ)�”}”(hŒ``devmode=0666``”h]”hŒ devmode=0666”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÖˆubhŒ may be helpful.”…”�”}”(hjÖˆh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M:hjr‡h²hubeh}”(h]”Œdev-bus-usb-bbb-ddd”ah ]”h"]”Œ/dev/bus/usb/bbb/ddd”ah$]”h&]”uh1hÄhj§…h²hh³hÃh´MubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒLife Cycle of User Mode Drivers”h]”hŒLife Cycle of User Mode Drivers”…”�”}”(hj%‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj"‰h²hh³hÃh´MAubhë)�”}”(hX(Such a driver first needs to find a device file for a device it knows how to handle. Maybe it was told about it because a ``/sbin/hotplug`` event handling agent chose that driver to handle the new device. Or maybe it's an application that scans all the ``/dev/bus/usb`` device files, and ignores most devices. In either case, it should :c:func:`read()` all the descriptors from the device file, and check them against what it knows how to handle. It might just reject everything except a particular vendor and product ID, or need a more complex policy.”h]”(hŒzSuch a driver first needs to find a device file for a device it knows how to handle. Maybe it was told about it because a ”…”�”}”(hj3‰h²hh³Nh´NubjÑ)�”}”(hŒ``/sbin/hotplug``”h]”hŒ /sbin/hotplug”…”�”}”(hj;‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj3‰ubhŒt event handling agent chose that driver to handle the new device. Or maybe it’s an application that scans all the ”…”�”}”(hj3‰h²hh³Nh´NubjÑ)�”}”(hŒ``/dev/bus/usb``”h]”hŒ /dev/bus/usb”…”�”}”(hjM‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj3‰ubhŒC device files, and ignores most devices. In either case, it should ”…”�”}”(hj3‰h²hh³Nh´Nubh)�”}”(hŒ:c:func:`read()`”h]”jÑ)�”}”(hja‰h]”hŒread()”…”�”}”(hjc‰h²hh³Nh´Nubah}”(h]”h ]”(jdjŒc-func”eh"]”h$]”h&]”uh1jÐhj_‰ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jdŒ refdomain”jŒreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰jLj¤SjdŒread”uh1hh³hÃh´MChj3‰ubhŒÈ all the descriptors from the device file, and check them against what it knows how to handle. It might just reject everything except a particular vendor and product ID, or need a more complex policy.”…”�”}”(hj3‰h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MChj"‰h²hubhë)�”}”(hŒÞNever assume there will only be one such device on the system at a time! If your code can't handle more than one device at a time, at least detect when there's more than one, and have your users choose which device to use.”h]”hŒâNever assume there will only be one such device on the system at a time! If your code can’t handle more than one device at a time, at least detect when there’s more than one, and have your users choose which device to use.”…”�”}”(hjˆ‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MLhj"‰h²hubhë)�”}”(hXlOnce your user mode driver knows what device to use, it interacts with it in either of two styles. The simple style is to make only control requests; some devices don't need more complex interactions than those. (An example might be software using vendor-specific control requests for some initialization or configuration tasks, with a kernel driver for the rest.)”h]”hXnOnce your user mode driver knows what device to use, it interacts with it in either of two styles. The simple style is to make only control requests; some devices don’t need more complex interactions than those. (An example might be software using vendor-specific control requests for some initialization or configuration tasks, with a kernel driver for the rest.)”…”�”}”(hj–‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MQhj"‰h²hubhë)�”}”(hX(More likely, you need a more complex style driver: one using non-control endpoints, reading or writing data and claiming exclusive use of an interface. *Bulk* transfers are easiest to use, but only their sibling *interrupt* transfers work with low speed devices. Both interrupt and *isochronous* transfers offer service guarantees because their bandwidth is reserved. Such "periodic" transfers are awkward to use through usbfs, unless you're using the asynchronous calls. However, interrupt transfers can also be used in a synchronous "one shot" style.”h]”(hŒ˜More likely, you need a more complex style driver: one using non-control endpoints, reading or writing data and claiming exclusive use of an interface. ”…”�”}”(hj¤‰h²hh³Nh´Nubj)�”}”(hŒ*Bulk*”h]”hŒBulk”…”�”}”(hj¬‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¤‰ubhŒ6 transfers are easiest to use, but only their sibling ”…”�”}”(hj¤‰h²hh³Nh´Nubj)�”}”(hŒ *interrupt*”h]”hŒ interrupt”…”�”}”(hj¾‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¤‰ubhŒ; transfers work with low speed devices. Both interrupt and ”…”�”}”(hj¤‰h²hh³Nh´Nubj)�”}”(hŒ *isochronous*”h]”hŒ isochronous”…”�”}”(hjЉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¤‰ubhX  transfers offer service guarantees because their bandwidth is reserved. Such “periodicâ€� transfers are awkward to use through usbfs, unless you’re using the asynchronous calls. However, interrupt transfers can also be used in a synchronous “one shotâ€� style.”…”�”}”(hj¤‰h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MXhj"‰h²hubhë)�”}”(hŒÓYour user-mode driver should never need to worry about cleaning up request state when the device is disconnected, although it should close its open file descriptors as soon as it starts seeing the ENODEV errors.”h]”hŒÓYour user-mode driver should never need to worry about cleaning up request state when the device is disconnected, although it should close its open file descriptors as soon as it starts seeing the ENODEV errors.”…”�”}”(hjè‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mahj"‰h²hubeh}”(h]”Œlife-cycle-of-user-mode-drivers”ah ]”h"]”Œlife cycle of user mode drivers”ah$]”h&]”uh1hÄhj§…h²hh³hÃh´MAubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒThe ioctl() Requests”h]”hŒThe ioctl() Requests”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjþ‰h²hh³hÃh´Mfubhë)�”}”(hŒZTo use these ioctls, you need to include the following headers in your userspace program::”h]”hŒYTo use these ioctls, you need to include the following headers in your userspace program:”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhhjþ‰h²hubj )�”}”(hŒQ#include #include #include ”h]”hŒQ#include #include #include ”…”�”}”hjŠsbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mkhjþ‰h²hubhë)�”}”(hŒ˜The standard USB device model requests, from "Chapter 9" of the USB 2.0 specification, are automatically included from the ```` header.”h]”(hŒThe standard USB device model requests, from “Chapter 9â€� of the USB 2.0 specification, are automatically included from the ”…”�”}”(hj+Šh²hh³Nh´NubjÑ)�”}”(hŒ````”h]”hŒ”…”�”}”(hj3Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj+ŠubhŒ header.”…”�”}”(hj+Šh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mohjþ‰h²hubhë)�”}”(hX"Unless noted otherwise, the ioctl requests described here will update the modification time on the usbfs file to which they are applied (unless they fail). A return of zero indicates success; otherwise, a standard USB error code is returned (These are documented in :ref:`usb-error-codes`).”h]”(hX Unless noted otherwise, the ioctl requests described here will update the modification time on the usbfs file to which they are applied (unless they fail). A return of zero indicates success; otherwise, a standard USB error code is returned (These are documented in ”…”�”}”(hjKŠh²hh³Nh´Nubh)�”}”(hŒ:ref:`usb-error-codes`”h]”hŒinline”“”)�”}”(hjUŠh]”hŒusb-error-codes”…”�”}”(hjYŠh²hh³Nh´Nubah}”(h]”h ]”(jdŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jWŠhjSŠubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jdŒ refdomain”jcŠŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjdŒusb-error-codes”uh1hh³hÃh´MshjKŠubhŒ).”…”�”}”(hjKŠh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mshjþ‰h²hubhë)�”}”(hXJEach of these files multiplexes access to several I/O streams, one per endpoint. Each device has one control endpoint (endpoint zero) which supports a limited RPC style RPC access. Devices are configured by hub_wq (in the kernel) setting a device-wide *configuration* that affects things like power consumption and basic functionality. The endpoints are part of USB *interfaces*, which may have *altsettings* affecting things like which endpoints are available. Many devices only have a single configuration and interface, so drivers for them will ignore configurations and altsettings.”h]”(hŒüEach of these files multiplexes access to several I/O streams, one per endpoint. Each device has one control endpoint (endpoint zero) which supports a limited RPC style RPC access. Devices are configured by hub_wq (in the kernel) setting a device-wide ”…”�”}”(hjŠh²hh³Nh´Nubj)�”}”(hŒ*configuration*”h]”hŒ configuration”…”�”}”(hj‡Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŠubhŒc that affects things like power consumption and basic functionality. The endpoints are part of USB ”…”�”}”(hjŠh²hh³Nh´Nubj)�”}”(hŒ *interfaces*”h]”hŒ interfaces”…”�”}”(hj™Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŠubhŒ, which may have ”…”�”}”(hjŠh²hh³Nh´Nubj)�”}”(hŒ *altsettings*”h]”hŒ altsettings”…”�”}”(hj«Šh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjŠubhŒ² affecting things like which endpoints are available. Many devices only have a single configuration and interface, so drivers for them will ignore configurations and altsettings.”…”�”}”(hjŠh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Myhjþ‰h²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒManagement/Status Requests”h]”hŒManagement/Status Requests”…”�”}”(hjÆŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjÊh²hh³hÃh´M„ubhë)�”}”(hŒœA number of usbfs requests don't deal very directly with device I/O. They mostly relate to device management and status. These are all synchronous requests.”h]”hŒžA number of usbfs requests don’t deal very directly with device I/O. They mostly relate to device management and status. These are all synchronous requests.”…”�”}”(hjÔŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M†hjÊh²hubjD)�”}”(hhh]”(jI)�”}”(hXWUSBDEVFS_CLAIMINTERFACE This is used to force usbfs to claim a specific interface, which has not previously been claimed by usbfs or any other kernel driver. The ioctl parameter is an integer holding the number of the interface (bInterfaceNumber from descriptor). Note that if your driver doesn't claim an interface before trying to use one of its endpoints, and no other driver has bound to it, then the interface is automatically claimed by usbfs. This claim will be released by a RELEASEINTERFACE ioctl, or by closing the file descriptor. File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_CLAIMINTERFACE”h]”hŒUSBDEVFS_CLAIMINTERFACE”…”�”}”(hjéŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M–hjåŠubji)�”}”(hhh]”(hë)�”}”(hŒïThis is used to force usbfs to claim a specific interface, which has not previously been claimed by usbfs or any other kernel driver. The ioctl parameter is an integer holding the number of the interface (bInterfaceNumber from descriptor).”h]”hŒïThis is used to force usbfs to claim a specific interface, which has not previously been claimed by usbfs or any other kernel driver. The ioctl parameter is an integer holding the number of the interface (bInterfaceNumber from descriptor).”…”�”}”(hjúŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M‹hj÷Šubhë)�”}”(hŒ¹Note that if your driver doesn't claim an interface before trying to use one of its endpoints, and no other driver has bound to it, then the interface is automatically claimed by usbfs.”h]”hŒ»Note that if your driver doesn’t claim an interface before trying to use one of its endpoints, and no other driver has bound to it, then the interface is automatically claimed by usbfs.”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M�hj÷Šubhë)�”}”(hŒ’This claim will be released by a RELEASEINTERFACE ioctl, or by closing the file descriptor. File modification time is not updated by this request.”h]”hŒ’This claim will be released by a RELEASEINTERFACE ioctl, or by closing the file descriptor. File modification time is not updated by this request.”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M”hj÷Šubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjåŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M–hjâŠubjI)�”}”(hXæUSBDEVFS_CONNECTINFO Says whether the device is lowspeed. The ioctl parameter points to a structure like this:: struct usbdevfs_connectinfo { unsigned int devnum; unsigned char slow; }; File modification time is not updated by this request. *You can't tell whether a "not slow" device is connected at high speed (480 MBit/sec) or just full speed (12 MBit/sec).* You should know the devnum value already, it's the DDD value of the device file name. ”h]”(jO)�”}”(hŒUSBDEVFS_CONNECTINFO”h]”hŒUSBDEVFS_CONNECTINFO”…”�”}”(hj4‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M¦hj0‹ubji)�”}”(hhh]”(hë)�”}”(hŒZSays whether the device is lowspeed. The ioctl parameter points to a structure like this::”h]”hŒYSays whether the device is lowspeed. The ioctl parameter points to a structure like this:”…”�”}”(hjE‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M™hjB‹ubj )�”}”(hŒ\struct usbdevfs_connectinfo { unsigned int devnum; unsigned char slow; };”h]”hŒ\struct usbdevfs_connectinfo { unsigned int devnum; unsigned char slow; };”…”�”}”hjS‹sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´MœhjB‹ubhë)�”}”(hŒ6File modification time is not updated by this request.”h]”hŒ6File modification time is not updated by this request.”…”�”}”(hja‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¡hjB‹ubhë)�”}”(hŒÎ*You can't tell whether a "not slow" device is connected at high speed (480 MBit/sec) or just full speed (12 MBit/sec).* You should know the devnum value already, it's the DDD value of the device file name.”h]”(j)�”}”(hŒx*You can't tell whether a "not slow" device is connected at high speed (480 MBit/sec) or just full speed (12 MBit/sec).*”h]”hŒ|You can’t tell whether a “not slowâ€� device is connected at high speed (480 MBit/sec) or just full speed (12 MBit/sec).”…”�”}”(hjs‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjo‹ubhŒX You should know the devnum value already, it’s the DDD value of the device file name.”…”�”}”(hjo‹h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M£hjB‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhj0‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M¦hjâŠh²hubjI)�”}”(hŒÀUSBDEVFS_GET_SPEED Returns the speed of the device. The speed is returned as a numerical value in accordance with enum usb_device_speed File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_GET_SPEED”h]”hŒUSBDEVFS_GET_SPEED”…”�”}”(hj›‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M¬hj—‹ubji)�”}”(hhh]”(hë)�”}”(hŒtReturns the speed of the device. The speed is returned as a numerical value in accordance with enum usb_device_speed”h]”hŒtReturns the speed of the device. The speed is returned as a numerical value in accordance with enum usb_device_speed”…”�”}”(hj¬‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M©hj©‹ubhë)�”}”(hŒ6File modification time is not updated by this request.”h]”hŒ6File modification time is not updated by this request.”…”�”}”(hjº‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¬hj©‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhj—‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M¬hjâŠh²hubjI)�”}”(hXaUSBDEVFS_GETDRIVER Returns the name of the kernel driver bound to a given interface (a string). Parameter is a pointer to this structure, which is modified:: struct usbdevfs_getdriver { unsigned int interface; char driver[USBDEVFS_MAXDRIVERNAME + 1]; }; File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_GETDRIVER”h]”hŒUSBDEVFS_GETDRIVER”…”�”}”(hjØ‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M¸hjÔ‹ubji)�”}”(hhh]”(hë)�”}”(hŒŠReturns the name of the kernel driver bound to a given interface (a string). Parameter is a pointer to this structure, which is modified::”h]”hŒ‰Returns the name of the kernel driver bound to a given interface (a string). Parameter is a pointer to this structure, which is modified:”…”�”}”(hjé‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¯hjæ‹ubj )�”}”(hŒystruct usbdevfs_getdriver { unsigned int interface; char driver[USBDEVFS_MAXDRIVERNAME + 1]; };”h]”hŒystruct usbdevfs_getdriver { unsigned int interface; char driver[USBDEVFS_MAXDRIVERNAME + 1]; };”…”�”}”hj÷‹sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´M³hjæ‹ubhë)�”}”(hŒ6File modification time is not updated by this request.”h]”hŒ6File modification time is not updated by this request.”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¸hjæ‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÔ‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M¸hjâŠh²hubjI)�”}”(hXõUSBDEVFS_IOCTL Passes a request from userspace through to a kernel driver that has an ioctl entry in the *struct usb_driver* it registered:: struct usbdevfs_ioctl { int ifno; int ioctl_code; void *data; }; /* user mode call looks like this. * 'request' becomes the driver->ioctl() 'code' parameter. * the size of 'param' is encoded in 'request', and that data * is copied to or from the driver->ioctl() 'buf' parameter. */ static int usbdev_ioctl (int fd, int ifno, unsigned request, void *param) { struct usbdevfs_ioctl wrapper; wrapper.ifno = ifno; wrapper.ioctl_code = request; wrapper.data = param; return ioctl (fd, USBDEVFS_IOCTL, &wrapper); } File modification time is not updated by this request. This request lets kernel drivers talk to user mode code through filesystem operations even when they don't create a character or block special device. It's also been used to do things like ask devices what device special file should be used. Two pre-defined ioctls are used to disconnect and reconnect kernel drivers, so that user mode code can completely manage binding and configuration of devices. ”h]”(jO)�”}”(hŒUSBDEVFS_IOCTL”h]”hŒUSBDEVFS_IOCTL”…”�”}”(hj#Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´MÝhjŒubji)�”}”(hhh]”(hë)�”}”(hŒ}Passes a request from userspace through to a kernel driver that has an ioctl entry in the *struct usb_driver* it registered::”h]”(hŒZPasses a request from userspace through to a kernel driver that has an ioctl entry in the ”…”�”}”(hj4Œh²hh³Nh´Nubj)�”}”(hŒ*struct usb_driver*”h]”hŒstruct usb_driver”…”�”}”(hj<Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj4ŒubhŒ it registered:”…”�”}”(hj4Œh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M»hj1Œubj )�”}”(hXPstruct usbdevfs_ioctl { int ifno; int ioctl_code; void *data; }; /* user mode call looks like this. * 'request' becomes the driver->ioctl() 'code' parameter. * the size of 'param' is encoded in 'request', and that data * is copied to or from the driver->ioctl() 'buf' parameter. */ static int usbdev_ioctl (int fd, int ifno, unsigned request, void *param) { struct usbdevfs_ioctl wrapper; wrapper.ifno = ifno; wrapper.ioctl_code = request; wrapper.data = param; return ioctl (fd, USBDEVFS_IOCTL, &wrapper); }”h]”hXPstruct usbdevfs_ioctl { int ifno; int ioctl_code; void *data; }; /* user mode call looks like this. * 'request' becomes the driver->ioctl() 'code' parameter. * the size of 'param' is encoded in 'request', and that data * is copied to or from the driver->ioctl() 'buf' parameter. */ static int usbdev_ioctl (int fd, int ifno, unsigned request, void *param) { struct usbdevfs_ioctl wrapper; wrapper.ifno = ifno; wrapper.ioctl_code = request; wrapper.data = param; return ioctl (fd, USBDEVFS_IOCTL, &wrapper); }”…”�”}”hjTŒsbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´M¾hj1Œubhë)�”}”(hŒ6File modification time is not updated by this request.”•Dh]”hŒ6File modification time is not updated by this request.”…”�”}”(hjbŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MÕhj1Œubhë)�”}”(hX�This request lets kernel drivers talk to user mode code through filesystem operations even when they don't create a character or block special device. It's also been used to do things like ask devices what device special file should be used. Two pre-defined ioctls are used to disconnect and reconnect kernel drivers, so that user mode code can completely manage binding and configuration of devices.”h]”hX”This request lets kernel drivers talk to user mode code through filesystem operations even when they don’t create a character or block special device. It’s also been used to do things like ask devices what device special file should be used. Two pre-defined ioctls are used to disconnect and reconnect kernel drivers, so that user mode code can completely manage binding and configuration of devices.”…”�”}”(hjpŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M×hj1Œubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´MÝhjâŠh²hubjI)�”}”(hXUSBDEVFS_RELEASEINTERFACE This is used to release the claim usbfs made on interface, either implicitly or because of a USBDEVFS_CLAIMINTERFACE call, before the file descriptor is closed. The ioctl parameter is an integer holding the number of the interface (bInterfaceNumber from descriptor); File modification time is not updated by this request. .. warning:: *No security check is made to ensure that the task which made the claim is the one which is releasing it. This means that user mode driver may interfere other ones.* ”h]”(jO)�”}”(hŒUSBDEVFS_RELEASEINTERFACE”h]”hŒUSBDEVFS_RELEASEINTERFACE”…”�”}”(hjŽŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´MêhjŠŒubji)�”}”(hhh]”(hë)�”}”(hXAThis is used to release the claim usbfs made on interface, either implicitly or because of a USBDEVFS_CLAIMINTERFACE call, before the file descriptor is closed. The ioctl parameter is an integer holding the number of the interface (bInterfaceNumber from descriptor); File modification time is not updated by this request.”h]”hXAThis is used to release the claim usbfs made on interface, either implicitly or because of a USBDEVFS_CLAIMINTERFACE call, before the file descriptor is closed. The ioctl parameter is an integer holding the number of the interface (bInterfaceNumber from descriptor); File modification time is not updated by this request.”…”�”}”(hjŸŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MàhjœŒubhŒwarning”“”)�”}”(hŒ¥*No security check is made to ensure that the task which made the claim is the one which is releasing it. This means that user mode driver may interfere other ones.*”h]”hë)�”}”(hŒ¥*No security check is made to ensure that the task which made the claim is the one which is releasing it. This means that user mode driver may interfere other ones.*”h]”j)�”}”(hjµŒh]”hŒ£No security check is made to ensure that the task which made the claim is the one which is releasing it. This means that user mode driver may interfere other ones.”…”�”}”(hj·Œh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj³Œubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mèhj¯Œubah}”(h]”h ]”h"]”h$]”h&]”uh1j­ŒhjœŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjŠŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´MêhjâŠh²hubjI)�”}”(hXHUSBDEVFS_RESETEP Resets the data toggle value for an endpoint (bulk or interrupt) to DATA0. The ioctl parameter is an integer endpoint number (1 to 15, as identified in the endpoint descriptor), with USB_DIR_IN added if the device's endpoint sends data to the host. .. Warning:: *Avoid using this request. It should probably be removed.* Using it typically means the device and driver will lose toggle synchronization. If you really lost synchronization, you likely need to completely handshake with the device, using a request like CLEAR_HALT or SET_INTERFACE. ”h]”(jO)�”}”(hŒUSBDEVFS_RESETEP”h]”hŒUSBDEVFS_RESETEP”…”�”}”(hjàŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´MøhjÜŒubji)�”}”(hhh]”(hë)�”}”(hŒøResets the data toggle value for an endpoint (bulk or interrupt) to DATA0. The ioctl parameter is an integer endpoint number (1 to 15, as identified in the endpoint descriptor), with USB_DIR_IN added if the device's endpoint sends data to the host.”h]”hŒúResets the data toggle value for an endpoint (bulk or interrupt) to DATA0. The ioctl parameter is an integer endpoint number (1 to 15, as identified in the endpoint descriptor), with USB_DIR_IN added if the device’s endpoint sends data to the host.”…”�”}”(hjñŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MíhjîŒubj®Œ)�”}”(hX*Avoid using this request. It should probably be removed.* Using it typically means the device and driver will lose toggle synchronization. If you really lost synchronization, you likely need to completely handshake with the device, using a request like CLEAR_HALT or SET_INTERFACE.”h]”hë)�”}”(hX*Avoid using this request. It should probably be removed.* Using it typically means the device and driver will lose toggle synchronization. If you really lost synchronization, you likely need to completely handshake with the device, using a request like CLEAR_HALT or SET_INTERFACE.”h]”(j)�”}”(hŒ:*Avoid using this request. It should probably be removed.*”h]”hŒ8Avoid using this request. It should probably be removed.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�ubhŒà Using it typically means the device and driver will lose toggle synchronization. If you really lost synchronization, you likely need to completely handshake with the device, using a request like CLEAR_HALT or SET_INTERFACE.”…”�”}”(hj�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MôhjÿŒubah}”(h]”h ]”h"]”h$]”h&]”uh1j­ŒhjîŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÜŒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´MøhjâŠh²hubjI)�”}”(hXéUSBDEVFS_DROP_PRIVILEGES This is used to relinquish the ability to do certain operations which are considered to be privileged on a usbfs file descriptor. This includes claiming arbitrary interfaces, resetting a device on which there are currently claimed interfaces from other users, and issuing USBDEVFS_IOCTL calls. The ioctl parameter is a 32 bit mask of interfaces the user is allowed to claim on this file descriptor. You may issue this ioctl more than one time to narrow said mask. ”h]”(jO)�”}”(hŒUSBDEVFS_DROP_PRIVILEGES”h]”hŒUSBDEVFS_DROP_PRIVILEGES”…”�”}”(hj5�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´Mhj1�ubji)�”}”(hhh]”hë)�”}”(hXÏThis is used to relinquish the ability to do certain operations which are considered to be privileged on a usbfs file descriptor. This includes claiming arbitrary interfaces, resetting a device on which there are currently claimed interfaces from other users, and issuing USBDEVFS_IOCTL calls. The ioctl parameter is a 32 bit mask of interfaces the user is allowed to claim on this file descriptor. You may issue this ioctl more than one time to narrow said mask.”h]”hXÏThis is used to relinquish the ability to do certain operations which are considered to be privileged on a usbfs file descriptor. This includes claiming arbitrary interfaces, resetting a device on which there are currently claimed interfaces from other users, and issuing USBDEVFS_IOCTL calls. The ioctl parameter is a 32 bit mask of interfaces the user is allowed to claim on this file descriptor. You may issue this ioctl more than one time to narrow said mask.”…”�”}”(hjF�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MûhjC�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj1�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´MhjâŠh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjÊh²hh³hÃh´Nubeh}”(h]”Œmanagement-status-requests”ah ]”h"]”Œmanagement/status requests”ah$]”h&]”uh1hÄhjþ‰h²hh³hÃh´M„ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒSynchronous I/O Support”h]”hŒSynchronous I/O Support”…”�”}”(hjq�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjn�h²hh³hÃh´Mubhë)�”}”(hX#Synchronous requests involve the kernel blocking until the user mode request completes, either by finishing successfully or by reporting an error. In most cases this is the simplest way to use usbfs, although as noted above it does prevent performing I/O to more than one endpoint at a time.”h]”hX#Synchronous requests involve the kernel blocking until the user mode request completes, either by finishing successfully or by reporting an error. In most cases this is the simplest way to use usbfs, although as noted above it does prevent performing I/O to more than one endpoint at a time.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhjn�h²hubjD)�”}”(hhh]”(jI)�”}”(hX½USBDEVFS_BULK Issues a bulk read or write request to the device. The ioctl parameter is a pointer to this structure:: struct usbdevfs_bulktransfer { unsigned int ep; unsigned int len; unsigned int timeout; /* in milliseconds */ void *data; }; The ``ep`` value identifies a bulk endpoint number (1 to 15, as identified in an endpoint descriptor), masked with USB_DIR_IN when referring to an endpoint which sends data to the host from the device. The length of the data buffer is identified by ``len``; Recent kernels support requests up to about 128KBytes. *FIXME say how read length is returned, and how short reads are handled.*. ”h]”(jO)�”}”(hŒ USBDEVFS_BULK”h]”hŒ USBDEVFS_BULK”…”�”}”(hj”�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´Mhj��ubji)�”}”(hhh]”(hë)�”}”(hŒgIssues a bulk read or write request to the device. The ioctl parameter is a pointer to this structure::”h]”hŒfIssues a bulk read or write request to the device. The ioctl parameter is a pointer to this structure:”…”�”}”(hj¥�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hj¢�ubj )�”}”(hŒ¨struct usbdevfs_bulktransfer { unsigned int ep; unsigned int len; unsigned int timeout; /* in milliseconds */ void *data; };”h]”hŒ¨struct usbdevfs_bulktransfer { unsigned int ep; unsigned int len; unsigned int timeout; /* in milliseconds */ void *data; };”…”�”}”hj³�sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mhj¢�ubhë)�”}”(hXƒThe ``ep`` value identifies a bulk endpoint number (1 to 15, as identified in an endpoint descriptor), masked with USB_DIR_IN when referring to an endpoint which sends data to the host from the device. The length of the data buffer is identified by ``len``; Recent kernels support requests up to about 128KBytes. *FIXME say how read length is returned, and how short reads are handled.*.”h]”(hŒThe ”…”�”}”(hjÁ�h²hh³Nh´NubjÑ)�”}”(hŒ``ep``”h]”hŒep”…”�”}”(hjÉ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÁ�ubhŒï value identifies a bulk endpoint number (1 to 15, as identified in an endpoint descriptor), masked with USB_DIR_IN when referring to an endpoint which sends data to the host from the device. The length of the data buffer is identified by ”…”�”}”(hjÁ�h²hh³Nh´NubjÑ)�”}”(hŒ``len``”h]”hŒlen”…”�”}”(hjÛ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjÁ�ubhŒ9; Recent kernels support requests up to about 128KBytes. ”…”�”}”(hjÁ�h²hh³Nh´Nubj)�”}”(hŒI*FIXME say how read length is returned, and how short reads are handled.*”h]”hŒGFIXME say how read length is returned, and how short reads are handled.”…”�”}”(hjí�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÁ�ubhŒ.”…”�”}”(hjÁ�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhj¢�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhj��ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´Mhj��ubjI)�”}”(hX5USBDEVFS_CLEAR_HALT Clears endpoint halt (stall) and resets the endpoint toggle. This is only meaningful for bulk or interrupt endpoints. The ioctl parameter is an integer endpoint number (1 to 15, as identified in an endpoint descriptor), masked with USB_DIR_IN when referring to an endpoint which sends data to the host from the device. Use this on bulk or interrupt endpoints which have stalled, returning ``-EPIPE`` status to a data transfer request. Do not issue the control request directly, since that could invalidate the host's record of the data toggle. ”h]”(jO)�”}”(hŒUSBDEVFS_CLEAR_HALT”h]”hŒUSBDEVFS_CLEAR_HALT”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M(hjŽubji)�”}”(hhh]”(hë)�”}”(hX>Clears endpoint halt (stall) and resets the endpoint toggle. This is only meaningful for bulk or interrupt endpoints. The ioctl parameter is an integer endpoint number (1 to 15, as identified in an endpoint descriptor), masked with USB_DIR_IN when referring to an endpoint which sends data to the host from the device.”h]”hX>Clears endpoint halt (stall) and resets the endpoint toggle. This is only meaningful for bulk or interrupt endpoints. The ioctl parameter is an integer endpoint number (1 to 15, as identified in an endpoint descriptor), masked with USB_DIR_IN when referring to an endpoint which sends data to the host from the device.”…”�”}”(hj&Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhj#Žubhë)�”}”(hŒàUse this on bulk or interrupt endpoints which have stalled, returning ``-EPIPE`` status to a data transfer request. Do not issue the control request directly, since that could invalidate the host's record of the data toggle.”h]”(hŒFUse this on bulk or interrupt endpoints which have stalled, returning ”…”�”}”(hj4Žh²hh³Nh´NubjÑ)�”}”(hŒ ``-EPIPE``”h]”hŒ-EPIPE”…”�”}”(hj<Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj4ŽubhŒ’ status to a data transfer request. Do not issue the control request directly, since that could invalidate the host’s record of the data toggle.”…”�”}”(hj4Žh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M%hj#Žubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M(hj��h²hubjI)�”}”(hXDUSBDEVFS_CONTROL Issues a control request to the device. The ioctl parameter points to a structure like this:: struct usbdevfs_ctrltransfer { __u8 bRequestType; __u8 bRequest; __u16 wValue; __u16 wIndex; __u16 wLength; __u32 timeout; /* in milliseconds */ void *data; }; The first eight bytes of this structure are the contents of the SETUP packet to be sent to the device; see the USB 2.0 specification for details. The bRequestType value is composed by combining a ``USB_TYPE_*`` value, a ``USB_DIR_*`` value, and a ``USB_RECIP_*`` value (from ``linux/usb.h``). If wLength is nonzero, it describes the length of the data buffer, which is either written to the device (USB_DIR_OUT) or read from the device (USB_DIR_IN). At this writing, you can't transfer more than 4 KBytes of data to or from a device; usbfs has a limit, and some host controller drivers have a limit. (That's not usually a problem.) *Also* there's no way to say it's not OK to get a short read back from the device. ”h]”(jO)�”}”(hŒUSBDEVFS_CONTROL”h]”hŒUSBDEVFS_CONTROL”…”�”}”(hjdŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´MChj`Žubji)�”}”(hhh]”(hë)�”}”(hŒ]Issues a control request to the device. The ioctl parameter points to a structure like this::”h]”hŒ\Issues a control request to the device. The ioctl parameter points to a structure like this:”…”�”}”(hjuŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M+hjrŽubj )�”}”(hŒâstruct usbdevfs_ctrltransfer { __u8 bRequestType; __u8 bRequest; __u16 wValue; __u16 wIndex; __u16 wLength; __u32 timeout; /* in milliseconds */ void *data; };”h]”hŒâstruct usbdevfs_ctrltransfer { __u8 bRequestType; __u8 bRequest; __u16 wValue; __u16 wIndex; __u16 wLength; __u32 timeout; /* in milliseconds */ void *data; };”…”�”}”hjƒŽsbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´M.hjrŽubhë)�”}”(hXÁThe first eight bytes of this structure are the contents of the SETUP packet to be sent to the device; see the USB 2.0 specification for details. The bRequestType value is composed by combining a ``USB_TYPE_*`` value, a ``USB_DIR_*`` value, and a ``USB_RECIP_*`` value (from ``linux/usb.h``). If wLength is nonzero, it describes the length of the data buffer, which is either written to the device (USB_DIR_OUT) or read from the device (USB_DIR_IN).”h]”(hŒÄThe first eight bytes of this structure are the contents of the SETUP packet to be sent to the device; see the USB 2.0 specification for details. The bRequestType value is composed by combining a ”…”�”}”(hj‘Žh²hh³Nh´NubjÑ)�”}”(hŒ``USB_TYPE_*``”h]”hŒ USB_TYPE_*”…”�”}”(hj™Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‘ŽubhŒ value, a ”…”�”}”(hj‘Žh²hh³Nh´NubjÑ)�”}”(hŒ ``USB_DIR_*``”h]”hŒ USB_DIR_*”…”�”}”(hj«Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‘ŽubhŒ value, and a ”…”�”}”(hj‘Žh²hh³Nh´NubjÑ)�”}”(hŒ``USB_RECIP_*``”h]”hŒ USB_RECIP_*”…”�”}”(hj½Žh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‘ŽubhŒ value (from ”…”�”}”(hj‘Žh²hh³Nh´NubjÑ)�”}”(hŒ``linux/usb.h``”h]”hŒ linux/usb.h”…”�”}”(hjÏŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj‘ŽubhŒŸ). If wLength is nonzero, it describes the length of the data buffer, which is either written to the device (USB_DIR_OUT) or read from the device (USB_DIR_IN).”…”�”}”(hj‘Žh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M8hjrŽubhë)�”}”(hXAt this writing, you can't transfer more than 4 KBytes of data to or from a device; usbfs has a limit, and some host controller drivers have a limit. (That's not usually a problem.) *Also* there's no way to say it's not OK to get a short read back from the device.”h]”(hŒºAt this writing, you can’t transfer more than 4 KBytes of data to or from a device; usbfs has a limit, and some host controller drivers have a limit. (That’s not usually a problem.) ”…”�”}”(hjçŽh²hh³Nh´Nubj)�”}”(hŒ*Also*”h]”hŒAlso”…”�”}”(hjïŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjçŽubhŒP there’s no way to say it’s not OK to get a short read back from the device.”…”�”}”(hjçŽh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M@hjrŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhj`Žubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´MChj��h²hubjI)�”}”(hŒºUSBDEVFS_RESET Does a USB level device reset. The ioctl parameter is ignored. After the reset, this rebinds all device interfaces. File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_RESET”h]”hŒUSBDEVFS_RESET”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´MHhj�ubji)�”}”(hhh]”hë)�”}”(hŒªDoes a USB level device reset. The ioctl parameter is ignored. After the reset, this rebinds all device interfaces. File modification time is not updated by this request.”h]”hŒªDoes a USB level device reset. The ioctl parameter is ignored. After the reset, this rebinds all device interfaces. File modification time is not updated by this request.”…”�”}”(hj(�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MFhj%�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´MHhj��h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjn�h²hh³hÃh´Nubj®Œ)�”}”(hŒ”*Avoid using this call* until some usbcore bugs get fixed, since it does not fully synchronize device, interface, and driver (not just usbfs) state.”h]”hë)�”}”(hŒ”*Avoid using this call* until some usbcore bugs get fixed, since it does not fully synchronize device, interface, and driver (not just usbfs) state.”h]”(j)�”}”(hŒ*Avoid using this call*”h]”hŒAvoid using this call”…”�”}”(hjP�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjL�ubhŒ} until some usbcore bugs get fixed, since it does not fully synchronize device, interface, and driver (not just usbfs) state.”…”�”}”(hjL�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MLhjH�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­Œhjn�h²hh³hÃh´NubjD)�”}”(hhh]”(jI)�”}”(hX)USBDEVFS_SETINTERFACE Sets the alternate setting for an interface. The ioctl parameter is a pointer to a structure like this:: struct usbdevfs_setinterface { unsigned int interface; unsigned int altsetting; }; File modification time is not updated by this request. Those struct members are from some interface descriptor applying to the current configuration. The interface number is the bInterfaceNumber value, and the altsetting number is the bAlternateSetting value. (This resets each endpoint in the interface.) ”h]”(jO)�”}”(hŒUSBDEVFS_SETINTERFACE”h]”hŒUSBDEVFS_SETINTERFACE”…”�”}”(hju�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M_hjq�ubji)�”}”(hhh]”(hë)�”}”(hŒhSets the alternate setting for an interface. The ioctl parameter is a pointer to a structure like this::”h]”hŒgSets the alternate setting for an interface. The ioctl parameter is a pointer to a structure like this:”…”�”}”(hj†�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MQhjƒ�ubj )�”}”(hŒdstruct usbdevfs_setinterface { unsigned int interface; unsigned int altsetting; };”h]”hŒdstruct usbdevfs_setinterface { unsigned int interface; unsigned int altsetting; };”…”�”}”hj”�sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´MThjƒ�ubhë)�”}”(hŒ6File modification time is not updated by this request.”h]”hŒ6File modification time is not updated by this request.”…”�”}”(hj¢�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MYhjƒ�ubhë)�”}”(hŒúThose struct members are from some interface descriptor applying to the current configuration. The interface number is the bInterfaceNumber value, and the altsetting number is the bAlternateSetting value. (This resets each endpoint in the interface.)”h]”hŒúThose struct members are from some interface descriptor applying to the current configuration. The interface number is the bInterfaceNumber value, and the altsetting number is the bAlternateSetting value. (This resets each endpoint in the interface.)”…”�”}”(hj°�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M[hjƒ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhhjq�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M_hjn�ubjI)�”}”(hŒüUSBDEVFS_SETCONFIGURATION Issues the :c:func:`usb_set_configuration()` call for the device. The parameter is an integer holding the number of a configuration (bConfigurationValue from descriptor). File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_SETCONFIGURATION”h]”hŒUSBDEVFS_SETCONFIGURATION”…”�”}”(hjÎ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´MehjÊ�ubji)�”}”(hhh]”hë)�”}”(hŒáIssues the :c:func:`usb_set_configuration()` call for the device. The parameter is an integer holding the number of a configuration (bConfigurationValue from descriptor). File modification time is not updated by this request.”h]”(hŒ Issues the ”…”�”}”(hjß�h²hh³Nh´Nubh)�”}”(hŒ!:c:func:`usb_set_configuration()`”h]”jÑ)�”}”(hjé�h]”hŒusb_set_configuration()”…”�”}”(hjë�h²hh³Nh´Nubah}”(h]”h ]”(jdjŒc-func”eh"]”h$]”h&]”uh1jÐhjç�ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jdŒ refdomain”jŒreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰jLj¤SjdŒusb_set_configuration”uh1hh³hÃh´Mbhjß�ubhŒµ call for the device. The parameter is an integer holding the number of a configuration (bConfigurationValue from descriptor). File modification time is not updated by this request.”…”�”}”(hjß�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MbhjÜ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÊ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´Mehjn�h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjn�h²hh³hÃh´Nubj®Œ)�”}”(hŒ”*Avoid using this call* until some usbcore bugs get fixed, since it does not fully synchronize device, interface, and driver (not just usbfs) state.”h]”hë)�”}”(hŒ”*Avoid using this call* until some usbcore bugs get fixed, since it does not fully synchronize device, interface, and driver (not just usbfs) state.”h]”(j)�”}”(hŒ*Avoid using this call*”h]”hŒAvoid using this call”…”�”}”(hj*�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj&�ubhŒ} until some usbcore bugs get fixed, since it does not fully synchronize device, interface, and driver (not just usbfs) state.”…”�”}”(hj&�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mihj"�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j­Œhjn�h²hh³hÃh´Nubeh}”(h]”Œsynchronous-i-o-support”ah ]”h"]”Œsynchronous i/o support”ah$]”h&]”uh1hÄhjþ‰h²hh³hÃh´MubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒAsynchronous I/O Support”h]”hŒAsynchronous I/O Support”…”�”}”(hjS�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjP�h²hh³hÃh´Mnubhë)�”}”(hX¸As mentioned above, there are situations where it may be important to initiate concurrent operations from user mode code. This is particularly important for periodic transfers (interrupt and isochronous), but it can be used for other kinds of USB requests too. In such cases, the asynchronous requests described here are essential. Rather than submitting one request and having the kernel block until it completes, the blocking is separate.”h]”hX¸As mentioned above, there are situations where it may be important to initiate concurrent operations from user mode code. This is particularly important for periodic transfers (interrupt and isochronous), but it can be used for other kinds of USB requests too. In such cases, the asynchronous requests described here are essential. Rather than submitting one request and having the kernel block until it completes, the blocking is separate.”…”�”}”(hja�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MphjP�h²hubhë)�”}”(hXÑThese requests are packaged into a structure that resembles the URB used by kernel device drivers. (No POSIX Async I/O support here, sorry.) It identifies the endpoint type (``USBDEVFS_URB_TYPE_*``), endpoint (number, masked with USB_DIR_IN as appropriate), buffer and length, and a user "context" value serving to uniquely identify each request. (It's usually a pointer to per-request data.) Flags can modify requests (not as many as supported for kernel drivers).”h]”(hŒ®These requests are packaged into a structure that resembles the URB used by kernel device drivers. (No POSIX Async I/O support here, sorry.) It identifies the endpoint type (”…”�”}”(hjo�h²hh³Nh´NubjÑ)�”}”(hŒ``USBDEVFS_URB_TYPE_*``”h]”hŒUSBDEVFS_URB_TYPE_*”…”�”}”(hjw�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjo�ubhX), endpoint (number, masked with USB_DIR_IN as appropriate), buffer and length, and a user “contextâ€� value serving to uniquely identify each request. (It’s usually a pointer to per-request data.) Flags can modify requests (not as many as supported for kernel drivers).”…”�”}”(hjo�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MxhjP�h²hubhë)�”}”(hŒ”Each request can specify a realtime signal number (between SIGRTMIN and SIGRTMAX, inclusive) to request a signal be sent when the request completes.”h]”hŒ”Each request can specify a realtime signal number (between SIGRTMIN and SIGRTMAX, inclusive) to request a signal be sent when the request completes.”…”�”}”(hj��h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M€hjP�h²hubhë)�”}”(hX_When usbfs returns these urbs, the status value is updated, and the buffer may have been modified. Except for isochronous transfers, the actual_length is updated to say how many bytes were transferred; if the USBDEVFS_URB_DISABLE_SPD flag is set ("short packets are not OK"), if fewer bytes were read than were requested then you get an error report::”h]”hXbWhen usbfs returns these urbs, the status value is updated, and the buffer may have been modified. Except for isochronous transfers, the actual_length is updated to say how many bytes were transferred; if the USBDEVFS_URB_DISABLE_SPD flag is set (“short packets are not OKâ€�), if fewer bytes were read than were requested then you get an error report:”…”�”}”(hj��h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M„hjP�h²hubj )�”}”(hX‡struct usbdevfs_iso_packet_desc { unsigned int length; unsigned int actual_length; unsigned int status; }; struct usbdevfs_urb { unsigned char type; unsigned char endpoint; int status; unsigned int flags; void *buffer; int buffer_length; int actual_length; int start_frame; int number_of_packets; int error_count; unsigned int signr; void *usercontext; struct usbdevfs_iso_packet_desc iso_frame_desc[]; };”h]”hX‡struct usbdevfs_iso_packet_desc { unsigned int length; unsigned int actual_length; unsigned int status; }; struct usbdevfs_urb { unsigned char type; unsigned char endpoint; int status; unsigned int flags; void *buffer; int buffer_length; int actual_length; int start_frame; int number_of_packets; int error_count; unsigned int signr; void *usercontext; struct usbdevfs_iso_packet_desc iso_frame_desc[]; };”…”�”}”hj«�sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´MŠhjP�h²hubhë)�”}”(hŒËFor these asynchronous requests, the file modification time reflects when the request was initiated. This contrasts with their use with the synchronous requests, where it reflects when requests complete.”h]”hŒËFor these asynchronous requests, the file modification time reflects when the request was initiated. This contrasts with their use with the synchronous requests, where it reflects when requests complete.”…”�”}”(hj¹�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hjP�h²hubjD)�”}”(hhh]”(jI)�”}”(hŒQUSBDEVFS_DISCARDURB *TBS* File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_DISCARDURB”h]”hŒUSBDEVFS_DISCARDURB”…”�”}”(hjÎ�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M¥hjÊ�ubji)�”}”(hhh]”hë)�”}”(hŒ<*TBS* File modification time is not updated by this request.”h]”(j)�”}”(hŒ*TBS*”h]”hŒTBS”…”�”}”(hjã�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjß�ubhŒ7 File modification time is not updated by this request.”…”�”}”(hjß�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¥hjÜ�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÊ�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M¥hjÇ�ubjI)�”}”(hŒQUSBDEVFS_DISCSIGNAL *TBS* File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_DISCSIGNAL”h]”hŒUSBDEVFS_DISCSIGNAL”…”�”}”(hj ‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M¨hj‘ubji)�”}”(hhh]”hë)�”}”(hŒ<*TBS* File modification time is not updated by this request.”h]”(j)�”}”(hŒ*TBS*”h]”hŒTBS”…”�”}”(hj ‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj‘ubhŒ7 File modification time is not updated by this request.”…”�”}”(hj‘h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¨hj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M¨hjÇ�h²hubjI)�”}”(hŒNUSBDEVFS_REAPURB *TBS* File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_REAPURB”h]”hŒUSBDEVFS_REAPURB”…”�”}”(hjH‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M«hjD‘ubji)�”}”(hhh]”hë)�”}”(hŒ<*TBS* File modification time is not updated by this request.”h]”(j)�”}”(hŒ*TBS*”h]”hŒTBS”…”�”}”(hj]‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjY‘ubhŒ7 File modification time is not updated by this request.”…”�”}”(hjY‘h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M«hjV‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjD‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M«hjÇ�h²hubjI)�”}”(hŒTUSBDEVFS_REAPURBNDELAY *TBS* File modification time is not updated by this request. ”h]”(jO)�”}”(hŒUSBDEVFS_REAPURBNDELAY”h]”hŒUSBDEVFS_REAPURBNDELAY”…”�”}”(hj…‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M®hj�‘ubji)�”}”(hhh]”hë)�”}”(hŒ<*TBS* File modification time is not updated by this request.”h]”(j)�”}”(hŒ*TBS*”h]”hŒTBS”…”�”}”(hjš‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj–‘ubhŒ7 File modification time is not updated by this request.”…”�”}”(hj–‘h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M®hj“‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M®hjÇ�h²hubjI)�”}”(hŒUSBDEVFS_SUBMITURB *TBS* ”h]”(jO)�”}”(hŒUSBDEVFS_SUBMITURB”h]”hŒUSBDEVFS_SUBMITURB”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´M±hj¾‘ubji)�”}”(hhh]”hë)�”}”(hŒ*TBS*”h]”j)�”}”(hjÕ‘h]”hŒTBS”…”�”}”(hjבh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÓ‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M±hjБubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¾‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´M±hjÇ�h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jChjP�h²hh³hÃh´Nubeh}”(h]”Œasynchronous-i-o-support”ah ]”h"]”Œasynchronous i/o support”ah$]”h&]”uh1hÄhjþ‰h²hh³hÃh´Mnubeh}”(h]”Œthe-ioctl-requests”ah ]”h"]”Œthe ioctl() requests”ah$]”h&]”uh1hÄhj§…h²hh³hÃh´Mfubeh}”(h]”Œthe-usb-character-device-nodes”ah ]”h"]”Œthe usb character device nodes”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KØubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒThe USB devices”h]”hŒThe USB devices”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj’h²hh³hÃh´M´ubhë)�”}”(hŒ-The USB devices are now exported via debugfs:”h]”hŒ-The USB devices are now exported via debugfs:”…”�”}”(hj%’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¶hj’h²hubj¶)�”}”(hhh]”j»)�”}”(hŒÄ``/sys/kernel/debug/usb/devices`` ... a text file showing each of the USB devices on known to the kernel, and their configuration descriptors. You can also poll() this to learn about new devices. ”h]”hë)�”}”(hŒÃ``/sys/kernel/debug/usb/devices`` ... a text file showing each of the USB devices on known to the kernel, and their configuration descriptors. You can also poll() this to learn about new devices.”h]”(jÑ)�”}”(hŒ!``/sys/kernel/debug/usb/devices``”h]”hŒ/sys/kernel/debug/usb/devices”…”�”}”(hj>’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj:’ubhŒ¢ ... a text file showing each of the USB devices on known to the kernel, and their configuration descriptors. You can also poll() this to learn about new devices.”…”�”}”(hj:’h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¸hj6’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhj3’h²hh³hÃh´Nubah}”(h]”h ]”h"]”h$]”h&]”j†j‡uh1jµh³hÃh´M¸hj’h²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ/sys/kernel/debug/usb/devices”h]”hŒ/sys/kernel/debug/usb/devices”…”�”}”(hje’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjb’h²hh³hÃh´M½ubhë)�”}”(hXThis file is handy for status viewing tools in user mode, which can scan the text format and ignore most of it. More detailed device status (including class and vendor status) is available from device-specific files. For information about the current format of this file, see below.”h]”hXThis file is handy for status viewing tools in user mode, which can scan the text format and ignore most of it. More detailed device status (including class and vendor status) is available from device-specific files. For information about the current format of this file, see below.”…”�”}”(hjs’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¿hjb’h²hubhë)�”}”(hŒuThis file, in combination with the poll() system call, can also be used to detect when devices are added or removed::”h]”hŒtThis file, in combination with the poll() system call, can also be used to detect when devices are added or removed:”…”�”}”(hj�’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MÄhjb’h²hubj )�”}”(hXbint fd; struct pollfd pfd; fd = open("/sys/kernel/debug/usb/devices", O_RDONLY); pfd = { fd, POLLIN, 0 }; for (;;) { /* The first time through, this call will return immediately. */ poll(&pfd, 1, -1); /* To see what's changed, compare the file's previous and current contents or scan the filesystem. (Scanning is more precise.) */ }”h]”hXbint fd; struct pollfd pfd; fd = open("/sys/kernel/debug/usb/devices", O_RDONLY); pfd = { fd, POLLIN, 0 }; for (;;) { /* The first time through, this call will return immediately. */ poll(&pfd, 1, -1); /* To see what's changed, compare the file's previous and current contents or scan the filesystem. (Scanning is more precise.) */ }”…”�”}”hj�’sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´MÇhjb’h²hubhë)�”}”(hŒßNote that this behavior is intended to be used for informational and debug purposes. It would be more appropriate to use programs such as udev or HAL to initialize a device or start a user-mode helper program, for instance.”h]”hŒßNote that this behavior is intended to be used for informational and debug purposes. It would be more appropriate to use programs such as udev or HAL to initialize a device or start a user-mode helper program, for instance.”…”�”}”(hj�’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MÔhjb’h²hubhë)�”}”(hŒFIn this file, each device's output has multiple lines of ASCII output.”h]”hŒHIn this file, each device’s output has multiple lines of ASCII output.”…”�”}”(hj«’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MÙhjb’h²hubhë)�”}”(hX9I made it ASCII instead of binary on purpose, so that someone can obtain some useful data from it without the use of an auxiliary program. However, with an auxiliary program, the numbers in the first 4 columns of each ``T:`` line (topology info: Lev, Prnt, Port, Cnt) can be used to build a USB topology diagram.”h]”(hŒÛI made it ASCII instead of binary on purpose, so that someone can obtain some useful data from it without the use of an auxiliary program. However, with an auxiliary program, the numbers in the first 4 columns of each ”…”�”}”(hj¹’h²hh³Nh´NubjÑ)�”}”(hŒ``T:``”h]”hŒT:”…”�”}”(hjÁ’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj¹’ubhŒX line (topology info: Lev, Prnt, Port, Cnt) can be used to build a USB topology diagram.”…”�”}”(hj¹’h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MÛhjb’h²hubhë)�”}”(hŒ;Each line is tagged with a one-character ID for that line::”h]”hŒ:Each line is tagged with a one-character ID for that line:”…”�”}”(hjÙ’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Máhjb’h²hubj )�”}”(hXrT = Topology (etc.) B = Bandwidth (applies only to USB host controllers, which are virtualized as root hubs) D = Device descriptor info. P = Product ID info. (from Device descriptor, but they won't fit together on one line) S = String descriptors. C = Configuration descriptor info. (* = active configuration) I = Interface descriptor info. E = Endpoint descriptor info.”h]”hXrT = Topology (etc.) B = Bandwidth (applies only to USB host controllers, which are virtualized as root hubs) D = Device descriptor info. P = Product ID info. (from Device descriptor, but they won't fit together on one line) S = String descriptors. C = Configuration descriptor info. (* = active configuration) I = Interface descriptor info. E = Endpoint descriptor info.”…”�”}”hjç’sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mãhjb’h²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ+/sys/kernel/debug/usb/devices output format”h]”hŒ+/sys/kernel/debug/usb/devices output format”…”�”}”(hjø’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjõ’h²hh³hÃh´MïubjD)�”}”(hhh]”jI)�”}”(hŒ‚Legend:: d = decimal number (may have leading spaces or 0's) x = hexadecimal number (may have leading spaces or 0's) s = string ”h]”(jO)�”}”(hŒLegend::”h]”hŒLegend::”…”�”}”(hj “h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jNh³hÃh´Möhj “ubji)�”}”(hhh]”hë)�”}”(hŒvd = decimal number (may have leading spaces or 0's) x = hexadecimal number (may have leading spaces or 0's) s = string”h]”hŒzd = decimal number (may have leading spaces or 0’s) x = hexadecimal number (may have leading spaces or 0’s) s = string”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mòhj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj “ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jHh³hÃh´Möhj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jChjõ’h²hh³hÃh´NubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Topology info”h]”hŒ Topology info”…”�”}”(hjA“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj>“h²hh³hÃh´Mùubj )�”}”(hXT: Bus=dd Lev=dd Prnt=dd Port=dd Cnt=dd Dev#=ddd Spd=dddd MxCh=dd | | | | | | | | |__MaxChildren | | | | | | | |__Device Speed in Mbps | | | | | | |__DeviceNumber | | | | | |__Count of devices at this level | | | | |__Connector/Port on Parent for this device | | | |__Parent DeviceNumber | | |__Level in topology for this bus | |__Bus number |__Topology info tag”h]”hXT: Bus=dd Lev=dd Prnt=dd Port=dd Cnt=dd Dev#=ddd Spd=dddd MxCh=dd | | | | | | | | |__MaxChildren | | | | | | | |__Device Speed in Mbps | | | | | | |__DeviceNumber | | | | | |__Count of devices at this level | | | | |__Connector/Port on Parent for this device | | | |__Parent DeviceNumber | | |__Level in topology for this bus | |__Bus number |__Topology info tag”…”�”}”hjO“sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mýhj>“h²hubhë)�”}”(hŒ Speed may be:”h]”hŒ Speed may be:”…”�”}”(hj]“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhj>“h²hubjŒ7)�”}”(hX-======= ====================================================== 1.5 Mbit/s for low speed USB 12 Mbit/s for full speed USB 480 Mbit/s for high speed USB (added for USB 2.0) 5000 Mbit/s for SuperSpeed USB (added for USB 3.0) ======= ====================================================== ”h]”hŒtable”“”)�”}”(hhh]”hŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jy“hjv“ubjz“)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K6uh1jy“hjv“ubhŒtbody”“”)�”}”(hhh]”(hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(hhh]”hë)�”}”(hŒ1.5”h]”hŒ1.5”…”�”}”(hjž“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hj›“ubah}”(h]”h ]”h"]”h$]”h&]”uh1j™“hj–“ubjš“)�”}”(hhh]”hë)�”}”(hŒMbit/s for low speed USB”h]”hŒMbit/s for low speed USB”…”�”}”(hjµ“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hj²“ubah}”(h]”h ]”h"]”h$]”h&]”uh1j™“hj–“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j”“hj‘“ubj•“)�”}”(hhh]”(jš“)�”}”(hhh]”hë)�”}”(hŒ12”h]”hŒ12”…”�”}”(hjÕ“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hjÒ“ubah}”(h]”h ]”h"]”h$]”h&]”uh1j™“hjÏ“ubjš“)�”}”(hhh]”hë)�”}”(hŒMbit/s for full speed USB”h]”hŒMbit/s for full speed USB”…”�”}”(hjì“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hjé“ubah}”(h]”h ]”h"]”h$]”h&]”uh1j™“hjÏ“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j”“hj‘“ubj•“)�”}”(hhh]”(jš“)�”}”(hhh]”hë)�”}”(hŒ480”h]”hŒ480”…”�”}”(hj ”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hj ”ubah}”(h]”h ]”h"]”h$]”h&]”uh1j™“hj”ubjš“)�”}”(hhh]”hë)�”}”(hŒ-Mbit/s for high speed USB (added for USB 2.0)”h]”hŒ-Mbit/s for high speed USB (added for USB 2.0)”…”�”}”(hj#”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hj ”ubah}”(h]”h ]”h"]”h$]”h&]”uh1j™“hj”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j”“hj‘“ubj•“)�”}”(hhh]”(jš“)�”}”(hhh]”hë)�”}”(hŒ5000”h]”hŒ5000”…”�”}”(hjC”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhj@”ubah}”(h]”h ]”h"]”h$]”h&]”uh1j™“hj=”ubjš“)�”}”(hhh]”hë)�”}”(hŒ-Mbit/s for SuperSpeed USB (added for USB 3.0)”h]”hŒ-Mbit/s for SuperSpeed USB (added for USB 3.0)”…”�”}”(hjZ”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MhjW”ubah}”(h]”h ]”h"]”h$]”h&]”uh1j™“hj=”ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j”“hj‘“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j�“hjv“ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jt“hjq“ubah}”(h]”h ]”h"]”h$]”h&]”uh1jo“hjk“ubah}”(h]”h ]”h"]”h$]”h&]”uh1j‹7h³hÃh´M hj>“h²hubhë)�”}”(hŒ˜For reasons lost in the mists of time, the Port number is always too low by 1. For example, a device plugged into port 4 will show up with ``Port=03``.”h]”(hŒŒFor reasons lost in the mists of time, the Port number is always too low by 1. For example, a device plugged into port 4 will show up with ”…”�”}”(hj�”h²hh³Nh´NubjÑ)�”}”(hŒ ``Port=03``”h]”hŒPort=03”…”�”}”(hj•”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj�”ubhŒ.”…”�”}”(hj�”h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhj>“h²hubeh}”(h]”Œ topology-info”ah ]”h"]”Œ topology info”ah$]”h&]”uh1hÄhjõ’h²hh³hÃh´MùubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒBandwidth info”h]”hŒBandwidth info”…”�”}”(hj¸”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjµ”h²hh³hÃh´Mubj )�”}”(hŒõB: Alloc=ddd/ddd us (xx%), #Int=ddd, #Iso=ddd | | | |__Number of isochronous requests | | |__Number of interrupt requests | |__Total Bandwidth allocated to this bus |__Bandwidth info tag”h]”hŒõB: Alloc=ddd/ddd us (xx%), #Int=ddd, #Iso=ddd | | | |__Number of isochronous requests | | |__Number of interrupt requests | |__Total Bandwidth allocated to this bus |__Bandwidth info tag”…”�”}”hjÆ”sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mhjµ”h²hubhë)�”}”(hXCBandwidth allocation is an approximation of how much of one frame (millisecond) is in use. It reflects only periodic transfers, which are the only transfers that reserve bandwidth. Control and bulk transfers use all other bandwidth, including reserved bandwidth that is not used for transfers (such as for short packets).”h]”hXCBandwidth allocation is an approximation of how much of one frame (millisecond) is in use. It reflects only periodic transfers, which are the only transfers that reserve bandwidth. Control and bulk transfers use all other bandwidth, including reserved bandwidth that is not used for transfers (such as for short packets).”…”�”}”(hjÔ”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M hjµ”h²hubhë)�”}”(hŒìThe percentage is how much of the "reserved" bandwidth is scheduled by those transfers. For a low or full speed bus (loosely, "USB 1.1"), 90% of the bus bandwidth is reserved. For a high speed bus (loosely, "USB 2.0") 80% is reserved.”h]”hŒøThe percentage is how much of the “reservedâ€� bandwidth is scheduled by those transfers. For a low or full speed bus (loosely, “USB 1.1â€�), 90% of the bus bandwidth is reserved. For a high speed bus (loosely, “USB 2.0â€�) 80% is reserved.”…”�”}”(hjâ”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M&hjµ”h²hubeh}”(h]”Œbandwidth-info”ah ]”h"]”Œbandwidth info”ah$]”h&]”uh1hÄhjõ’h²hh³hÃh´MubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ(Device descriptor info & Product ID info”h]”hŒ(Device descriptor info & Product ID info”…”�”}”(hjû”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjø”h²hh³hÃh´M-ubj )�”}”(hŒ\D: Ver=x.xx Cls=xx(s) Sub=xx Prot=xx MxPS=dd #Cfgs=dd P: Vendor=xxxx ProdID=xxxx Rev=xx.xx”h]”hŒ\D: Ver=x.xx Cls=xx(s) Sub=xx Prot=xx MxPS=dd #Cfgs=dd P: Vendor=xxxx ProdID=xxxx Rev=xx.xx”…”�”}”hj •sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´M1hjø”h²hubhë)�”}”(hŒwhere::”h]”hŒwhere:”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M4hjø”h²hubj )�”}”(hX€D: Ver=x.xx Cls=xx(sssss) Sub=xx Prot=xx MxPS=dd #Cfgs=dd | | | | | | |__NumberConfigurations | | | | | |__MaxPacketSize of Default Endpoint | | | | |__DeviceProtocol | | | |__DeviceSubClass | | |__DeviceClass | |__Device USB version |__Device info tag #1”h]”hX€D: Ver=x.xx Cls=xx(sssss) Sub=xx Prot=xx MxPS=dd #Cfgs=dd | | | | | | |__NumberConfigurations | | | | | |__MaxPacketSize of Default Endpoint | | | | |__DeviceProtocol | | | |__DeviceSubClass | | |__DeviceClass | |__Device USB version |__Device info tag #1”…”�”}”hj%•sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´M6hjø”h²hubhë)�”}”(hŒwhere::”h]”hŒwhere:”…”�”}”(hj3•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M?hjø”h²hubj )�”}”(hŒ«P: Vendor=xxxx ProdID=xxxx Rev=xx.xx | | | |__Product revision number | | |__Product ID code | |__Vendor ID code |__Device info tag #2”h]”hŒ«P: Vendor=xxxx ProdID=xxxx Rev=xx.xx | | | |__Product revision number | | |__Product ID code | |__Vendor ID code |__Device info tag #2”…”�”}”hjA•sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´MAhjø”h²hubeh}”(h]”Œ&device-descriptor-info-product-id-info”ah ]”h"]”Œ(device descriptor info & product id info”ah$]”h&]”uh1hÄhjõ’h²hh³hÃh´M-ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒString descriptor info”h]”hŒString descriptor info”…”�”}”(hjZ•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjW•h²hh³hÃh´MIubj )�”}”(hX‡S: Manufacturer=ssss | |__Manufacturer of this device as read from the device. | For USB host controller drivers (virtual root hubs) this may | be omitted, or (for newer drivers) will identify the kernel | version and the driver which provides this hub emulation. |__String info tag S: Product=ssss | |__Product description of this device as read from the device. | For older USB host controller drivers (virtual root hubs) this | indicates the driver; for newer ones, it's a product (and vendor) | description that often comes from the kernel's PCI ID database. |__String info tag S: SerialNumber=ssss | |__Serial Number of this device as read from the device. | For USB host controller drivers (virtual root hubs) this is | some unique ID, normally a bus ID (address or slot name) that | can't be shared with any other device. |__String info tag”h]”hX‡S: Manufacturer=ssss | |__Manufacturer of this device as read from the device. | For USB host controller drivers (virtual root hubs) this may | be omitted, or (for newer drivers) will identify the kernel | version and the driver which provides this hub emulation. |__String info tag S: Product=ssss | |__Product description of this device as read from the device. | For older USB host controller drivers (virtual root hubs) this | indicates the driver; for newer ones, it's a product (and vendor) | description that often comes from the kernel's PCI ID database. |__String info tag S: SerialNumber=ssss | |__Serial Number of this device as read from the device. | For USB host controller drivers (virtual root hubs) this is | some unique ID, normally a bus ID (address or slot name) that | can't be shared with any other device. |__String info tag”…”�”}”hjh•sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´MLhjW•h²hubeh}”(h]”Œstring-descriptor-info”ah ]”h"]”Œstring descriptor info”ah$]”h&]”uh1hÄhjõ’h²hh³hÃh´MIubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒConfiguration descriptor info”h]”hŒConfiguration descriptor info”…”�”}”(hj�•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj~•h²hh³hÃh´Mdubj )�”}”(hXC:* #Ifs=dd Cfg#=dd Atr=xx MPwr=dddmA | | | | | |__MaxPower in mA | | | | |__Attributes | | | |__ConfiguratioNumber | | |__NumberOfInterfaces | |__ "*" indicates the active configuration (others are " ") |__Config info tag”h]”hXC:* #Ifs=dd Cfg#=dd Atr=xx MPwr=dddmA | | | | | |__MaxPower in mA | | | | |__Attributes | | | |__ConfiguratioNumber | | |__NumberOfInterfaces | |__ "*" indicates the active configuration (others are " ") |__Config info tag”…”�”}”hj�•sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mghj~•h²hubhë)�”}”(hXUSB devices may have multiple configurations, each of which act rather differently. For example, a bus-powered configuration might be much less capable than one that is self-powered. Only one device configuration can be active at a time; most devices have only one configuration.”h]”hXUSB devices may have multiple configurations, each of which act rather differently. For example, a bus-powered configuration might be much less capable than one that is self-powered. Only one device configuration can be active at a time; most devices have only one configuration.”…”�”}”(hj�•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mohj~•h²hubhë)�”}”(hX$Each configuration consists of one or more interfaces. Each interface serves a distinct "function", which is typically bound to a different USB device driver. One common example is a USB speaker with an audio interface for playback, and a HID interface for use with software volume control.”h]”hX(Each configuration consists of one or more interfaces. Each interface serves a distinct “functionâ€�, which is typically bound to a different USB device driver. One common example is a USB speaker with an audio interface for playback, and a HID interface for use with software volume control.”…”�”}”(hj«•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Muhj~•h²hubeh}”(h]”Œconfiguration-descriptor-info”ah ]”h"]”Œconfiguration descriptor info”ah$]”h&]”uh1hÄhjõ’h²hh³hÃh´MdubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ6Interface descriptor info (can be multiple per Config)”h]”hŒ6Interface descriptor info (can be multiple per Config)”…”�”}”(hjÄ•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjÁ•h²hh³hÃh´M|ubj )�”}”(hX/I:* If#=dd Alt=dd #EPs=dd Cls=xx(sssss) Sub=xx Prot=xx Driver=ssss | | | | | | | | |__Driver name | | | | | | | | or "(none)" | | | | | | | |__InterfaceProtocol | | | | | | |__InterfaceSubClass | | | | | |__InterfaceClass | | | | |__NumberOfEndpoints | | | |__AlternateSettingNumber | | |__InterfaceNumber | |__ "*" indicates the active altsetting (others are " ") |__Interface info tag”h]”hX/I:* If#=dd Alt=dd #EPs=dd Cls=xx(sssss) Sub=xx Prot=xx Driver=ssss | | | | | | | | |__Driver name | | | | | | | | or "(none)" | | | | | | | |__InterfaceProtocol | | | | | | |__InterfaceSubClass | | | | | |__InterfaceClass | | | | |__NumberOfEndpoints | | | |__AlternateSettingNumber | | |__InterfaceNumber | |__ "*" indicates the active altsetting (others are " ") |__Interface info tag”…”�”}”hjÒ•sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´MhjÁ•h²hubhë)�”}”(hŒôA given interface may have one or more "alternate" settings. For example, default settings may not use more than a small amount of periodic bandwidth. To use significant fractions of bus bandwidth, drivers must select a non-default altsetting.”h]”hŒøA given interface may have one or more “alternateâ€� settings. For example, default settings may not use more than a small amount of periodic bandwidth. To use significant fractions of bus bandwidth, drivers must select a non-default altsetting.”…”�”}”(hjà•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M‹hjÁ•h²hubhë)�”}”(hŒ¯Only one setting for an interface may be active at a time, and only one driver may bind to an interface at a time. Most devices have only one alternate setting per interface.”h]”hŒ¯Only one setting for an interface may be active at a time, and only one driver may bind to an interface at a time. Most devices have only one alternate setting per interface.”…”�”}”(hjî•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M�hjÁ•h²hubeh}”(h]”Œ4interface-descriptor-info-can-be-multiple-per-config”ah ]”h"]”Œ6interface descriptor info (can be multiple per config)”ah$]”h&]”uh1hÄhjõ’h²hh³hÃh´M|ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ8Endpoint descriptor info (can be multiple per Interface)”h]”hŒ8Endpoint descriptor info (can be multiple per Interface)”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj–h²hh³hÃh´M–ubj )�”}”(hX E: Ad=xx(s) Atr=xx(ssss) MxPS=dddd Ivl=dddss | | | | |__Interval (max) between transfers | | | |__EndpointMaxPacketSize | | |__Attributes(EndpointType) | |__EndpointAddress(I=In,O=Out) |__Endpoint info tag”h]”hX E: Ad=xx(s) Atr=xx(ssss) MxPS=dddd Ivl=dddss | | | | |__Interval (max) between transfers | | | |__EndpointMaxPacketSize | | |__Attributes(EndpointType) | |__EndpointAddress(I=In,O=Out) |__Endpoint info tag”…”�”}”hj–sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mšhj–h²hubhë)�”}”(hŒ¸The interval is nonzero for all periodic (interrupt or isochronous) endpoints. For high speed endpoints the transfer interval may be measured in microseconds rather than milliseconds.”h]”hŒ¸The interval is nonzero for all periodic (interrupt or isochronous) endpoints. For high speed endpoints the transfer interval may be measured in microseconds rather than milliseconds.”…”�”}”(hj#–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¡hj–h²hubhë)�”}”(hŒèFor high speed periodic endpoints, the ``EndpointMaxPacketSize`` reflects the per-microframe data transfer size. For "high bandwidth" endpoints, that can reflect two or three packets (for up to 3KBytes every 125 usec) per endpoint.”h]”(hŒ'For high speed periodic endpoints, the ”…”�”}”(hj1–h²hh³Nh´NubjÑ)�”}”(hŒ``EndpointMaxPacketSize``”h]”hŒEndpointMaxPacketSize”…”�”}”(hj9–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj1–ubhŒ¬ reflects the per-microframe data transfer size. For “high bandwidthâ€� endpoints, that can reflect two or three packets (for up to 3KBytes every 125 usec) per endpoint.”…”�”}”(hj1–h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M¥hj–h²hubhë)�”}”(hŒ«With the Linux-USB stack, periodic bandwidth reservations use the transfer intervals and sizes provided by URBs, which can be less than those found in endpoint descriptor.”h]”hŒ«With the Linux-USB stack, periodic bandwidth reservations use the transfer intervals and sizes provided by URBs, which can be less than those found in endpoint descriptor.”…”�”}”(hjQ–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mªhj–h²hubeh}”(h]”Œ6endpoint-descriptor-info-can-be-multiple-per-interface”ah ]”h"]”Œ8endpoint descriptor info (can be multiple per interface)”ah$]”h&]”uh1hÄhjõ’h²hh³hÃh´M–ubeh}”(h]”Œ*sys-kernel-debug-usb-devices-output-format”ah ]”h"]”Œ+/sys/kernel/debug/usb/devices output format”ah$]”h&]”uh1hÄhjb’h²hh³hÃh´MïubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒUsage examples”h]”hŒUsage examples”…”�”}”(hjr–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjo–h²hh³hÃh´M¯ubhë)�”}”(hXšIf a user or script is interested only in Topology info, for example, use something like ``grep ^T: /sys/kernel/debug/usb/devices`` for only the Topology lines. A command like ``grep -i ^[tdp]: /sys/kernel/debug/usb/devices`` can be used to list only the lines that begin with the characters in square brackets, where the valid characters are TDPCIE. With a slightly more able script, it can display any selected lines (for example, only T, D, and P lines) and change their output format. (The ``procusb`` Perl script is the beginning of this idea. It will list only selected lines [selected from TBDPSCIE] or "All" lines from ``/sys/kernel/debug/usb/devices``.)”h]”(hŒYIf a user or script is interested only in Topology info, for example, use something like ”…”�”}”(hj€–h²hh³Nh´NubjÑ)�”}”(hŒ*``grep ^T: /sys/kernel/debug/usb/devices``”h]”hŒ&grep ^T: /sys/kernel/debug/usb/devices”…”�”}”(hjˆ–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj€–ubhŒ. for only the Topology lines. A command like ”…”�”}”(hj€–h²hh³Nh´NubjÑ)�”}”(hŒ1``grep -i ^[tdp]: /sys/kernel/debug/usb/devices``”h]”hŒ-grep -i ^[tdp]: /sys/kernel/debug/usb/devices”…”�”}”(hjš–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj€–ubhX can be used to list only the lines that begin with the characters in square brackets, where the valid characters are TDPCIE. With a slightly more able script, it can display any selected lines (for example, only T, D, and P lines) and change their output format. (The ”…”�”}”(hj€–h²hh³Nh´NubjÑ)�”}”(hŒ ``procusb``”h]”hŒprocusb”…”�”}”(hj¬–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj€–ubhŒ Perl script is the beginning of this idea. It will list only selected lines [selected from TBDPSCIE] or “Allâ€� lines from ”…”�”}”(hj€–h²hh³Nh´NubjÑ)�”}”(hŒ!``/sys/kernel/debug/usb/devices``”h]”hŒ/sys/kernel/debug/usb/devices”…”�”}”(hj¾–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj€–ubhŒ.)”…”�”}”(hj€–h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M±hjo–h²hubhë)�”}”(hŒŽThe Topology lines can be used to generate a graphic/pictorial of the USB devices on a system's root hub. (See more below on how to do this.)”h]”hŒ�The Topology lines can be used to generate a graphic/pictorial of the USB devices on a system’s root hub. (See more below on how to do this.)”…”�”}”(hjÖ–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´M½hjo–h²hubhë)�”}”(hŒzThe Interface lines can be used to determine what driver is being used for each device, and which altsetting it activated.”h]”hŒzThe Interface lines can be used to determine what driver is being used for each device, and which altsetting it activated.”…”�”}”(hjä–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MÁhjo–h²hubhë)�”}”(hŒªThe Configuration lines could be used to list maximum power (in milliamps) that a system's USB devices are using. For example, ``grep ^C: /sys/kernel/debug/usb/devices``.”h]”(hŒ�The Configuration lines could be used to list maximum power (in milliamps) that a system’s USB devices are using. For example, ”…”�”}”(hjò–h²hh³Nh´NubjÑ)�”}”(hŒ*``grep ^C: /sys/kernel/debug/usb/devices``”h]”hŒ&grep ^C: /sys/kernel/debug/usb/devices”…”�”}”(hjú–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhjò–ubhŒ.”…”�”}”(hjò–h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MÄhjo–h²hubhë)�”}”(hŒ¨Here's an example, from a system which has a UHCI root hub, an external hub connected to the root hub, and a mouse and a serial converter connected to the external hub.”h]”hŒªHere’s an example, from a system which has a UHCI root hub, an external hub connected to the root hub, and a mouse and a serial converter connected to the external hub.”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´MÉhjo–h²hubj )�”}”(hXT: Bus=00 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 28/900 us ( 3%), #Int= 2, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=dce0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=00 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0451 ProdID=1446 Rev= 1.00 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms T: Bus=00 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04b4 ProdID=0001 Rev= 0.00 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=mouse E: Ad=81(I) Atr=03(Int.) MxPS= 3 Ivl= 10ms T: Bus=00 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0565 ProdID=0001 Rev= 1.08 S: Manufacturer=Peracom Networks, Inc. S: Product=Peracom USB to Serial Converter C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=serial E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 16ms E: Ad=01(O) Atr=02(Bulk) MxPS= 16 Ivl= 16ms E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl= 8ms”•s.h]”hXT: Bus=00 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 28/900 us ( 3%), #Int= 2, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=dce0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=00 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0451 ProdID=1446 Rev= 1.00 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms T: Bus=00 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04b4 ProdID=0001 Rev= 0.00 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=mouse E: Ad=81(I) Atr=03(Int.) MxPS= 3 Ivl= 10ms T: Bus=00 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0565 ProdID=0001 Rev= 1.08 S: Manufacturer=Peracom Networks, Inc. S: Product=Peracom USB to Serial Converter C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=serial E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 16ms E: Ad=01(O) Atr=02(Bulk) MxPS= 16 Ivl= 16ms E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl= 8ms”…”�”}”hj —sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´MÏhjo–h²hubhë)�”}”(hŒdSelecting only the ``T:`` and ``I:`` lines from this (for example, by using ``procusb ti``), we have”h]”(hŒSelecting only the ”…”�”}”(hj.—h²hh³Nh´NubjÑ)�”}”(hŒ``T:``”h]”hŒT:”…”�”}”(hj6—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj.—ubhŒ and ”…”�”}”(hj.—h²hh³Nh´NubjÑ)�”}”(hŒ``I:``”h]”hŒI:”…”�”}”(hjH—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj.—ubhŒ( lines from this (for example, by using ”…”�”}”(hj.—h²hh³Nh´NubjÑ)�”}”(hŒ``procusb ti``”h]”hŒ procusb ti”…”�”}”(hjZ—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÐhj.—ubhŒ ), we have”…”�”}”(hj.—h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Móhjo–h²hubj )�”}”(hXÖT: Bus=00 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 T: Bus=00 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4 I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub T: Bus=00 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=mouse T: Bus=00 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=serial”h]”hXÖT: Bus=00 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 T: Bus=00 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4 I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub T: Bus=00 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=mouse T: Bus=00 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=serial”…”�”}”hjr—sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Møhjo–h²hubhë)�”}”(hŒ7Physically this looks like (or could be converted to)::”h]”hŒ6Physically this looks like (or could be converted to):”…”�”}”(hj€—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhjo–h²hubj )�”}”(hX; +------------------+ | PC/root_hub (12)| Dev# = 1 +------------------+ (nn) is Mbps. Level 0 | CN.0 | CN.1 | [CN = connector/port #] +------------------+ / / +-----------------------+ Level 1 | Dev#2: 4-port hub (12)| +-----------------------+ |CN.0 |CN.1 |CN.2 |CN.3 | +-----------------------+ \ \____________________ \_____ \ \ \ +--------------------+ +--------------------+ Level 2 | Dev# 3: mouse (1.5)| | Dev# 4: serial (12)| +--------------------+ +--------------------+”h]”hX; +------------------+ | PC/root_hub (12)| Dev# = 1 +------------------+ (nn) is Mbps. Level 0 | CN.0 | CN.1 | [CN = connector/port #] +------------------+ / / +-----------------------+ Level 1 | Dev#2: 4-port hub (12)| +-----------------------+ |CN.0 |CN.1 |CN.2 |CN.3 | +-----------------------+ \ \____________________ \_____ \ \ \ +--------------------+ +--------------------+ Level 2 | Dev# 3: mouse (1.5)| | Dev# 4: serial (12)| +--------------------+ +--------------------+”…”�”}”hjŽ—sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mhjo–h²hubhë)�”}”(hŒ]Or, in a more tree-like structure (ports [Connectors] without connections could be omitted)::”h]”hŒ\Or, in a more tree-like structure (ports [Connectors] without connections could be omitted):”…”�”}”(hjœ—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêh³hÃh´Mhjo–h²hubj )�”}”(hŒÂPC: Dev# 1, root hub, 2 ports, 12 Mbps |_ CN.0: Dev# 2, hub, 4 ports, 12 Mbps |_ CN.0: Dev #3, mouse, 1.5 Mbps |_ CN.1: |_ CN.2: Dev #4, serial, 12 Mbps |_ CN.3: |_ CN.1:”h]”hŒÂPC: Dev# 1, root hub, 2 ports, 12 Mbps |_ CN.0: Dev# 2, hub, 4 ports, 12 Mbps |_ CN.0: Dev #3, mouse, 1.5 Mbps |_ CN.1: |_ CN.2: Dev #4, serial, 12 Mbps |_ CN.3: |_ CN.1:”…”�”}”hjª—sbah}”(h]”h ]”h"]”h$]”h&]”j¢j£uh1jh³hÃh´Mhjo–h²hubeh}”(h]”Œusage-examples”ah ]”h"]”Œusage examples”ah$]”h&]”uh1hÄhjb’h²hh³hÃh´M¯ubeh}”(h]”Œsys-kernel-debug-usb-devices”ah ]”h"]”Œ/sys/kernel/debug/usb/devices”ah$]”h&]”uh1hÄhj’h²hh³hÃh´M½ubeh}”(h]”Œthe-usb-devices”ah ]”h"]”Œthe usb devices”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´M´ubeh}”(h]”(Œthe-linux-usb-host-side-api”hÂeh ]”h"]”(Œthe linux-usb host side api”Œusb-hostside-api”eh$]”h&]”uh1hÄhhh²hh³hÃh´Kjc}”jÖ—h·sje}”hÂh·subeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÃuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hÉNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”j™“Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jý—Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÃŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”(hÂ]”h·aj®]”j¤ajY]”jOauŒnameids”}”(jÖ—hÂjÕ—jÒ—j=j:j´j±j`j®j_j\j±rjYj°rj­rjNSjKSj¤…j¡…j’j’jo‡jl‡j‰j‰jû‰jø‰j ’j’jk�jh�jM�jJ�j’jþ‘jÍ—jÊ—jÅ—j—jl–ji–j²”j¯”jõ”jò”jT•jQ•j{•jx•j¾•j»•j–jþ•jd–ja–j½—jº—uŒ nametypes”}”(jÖ—ˆjÕ—‰j=‰j´‰j`ˆj_‰j±rˆj°r‰jNS‰j¤…‰j’‰jo‡‰j‰‰jû‰‰j ’‰jk�‰jM�‰j’‰jÍ—‰jÅ—‰jl–‰j²”‰jõ”‰jT•‰j{•‰j¾•‰j–‰jd–‰j½—‰uh}”(hÂhÆjÒ—hÆj:hÙj±j@j®j·j\j·jj&j¡j¦j j%j–j›jF jK jõ jú jk jp jjjnjsjŒj‘j jj7j<jYjgj­rjgj’j˜jjjj!jo!ju#jz#j%j%j¿'jÄ'j27j77jŠ8j�8jR:jW:j=j =jH>jM>jý?j@jyAj~AjõBjúBjqDjvDjíEjòEjiGjnGjfIjkIj*Kj/KjNPjSPj TjTjæUjëUjðVjõVjÐ^jÕ^j:dj?djãhjèhj njnj�oj¢oj0qj5qjKSj¶rjïrjôrjŽtj“tjèvjívj�xj•xjszjxzj�|j¢|j~j#~j)€j.€jÅ�jÊ�jN†jS†j´ˆj¹ˆjrŠjwŠj0Œj5ŒjÀ�jÅ�jP�jU�jà�jå�ja’jf’jÓ“jØ“jE•jJ•jw—j|—j�™j•™j›j›j’œj—œjq¢jv¢jñ¨jö¨je¯jj¯j³³j¸³j¸j¸jP¼jU¼j¼ÁjÁÁjÄjÄj–Åj›ÅjrÉjwÉj¼ÌjÁÌjËÎjÐÎjxÒj}ÒjÔÔjÙÔjáÖjæÖjÉÙjÎÙjŸÛj¤ÛjåÝjêÝj2àj7àj‚ãj‡ãjóåjøåj=èjBèjëj ëjVíj[íjÃðjÈðjójój¿ôjÄôjÏ÷jÔ÷jŸùj¤ùjTûjYûj ýjýjßþjäþj‘j–j4j9j?jDj jj¬j±jR jW jøjýj†j‹jjjj$jÏjÔj­j²j!j!j¹#j¾#jþ&j'jò(j÷(jt*jy*jh,jm,jê-jï-jÞ/jã/jL2jQ2jõ3jú3jM7jR7jN:jS:jú>jÿ>jÀBjÅBj-Ej2Ej…GjŠGj=IjBIjzKjKjMjMjíNjòNjáPjæPj¡…jQSjâSjçSj—VjœVjüXjYjX\j]\j–^j›^j®aj³aj¶ej»ej"ij'ij¤jj©jjâljçljþnjoj�pj”pj³tj¸tj,xj1xjÂzjÇzjk|jp|jjjÇ€jÌ€j#‚j(‚j„j„j’j§…jl‡j´†j‰jr‡jø‰j"‰j’jþ‰jh�jÊjJ�jn�jþ‘jP�jÊ—j’j—jb’ji–jõ’j¯”j>“jò”jµ”jQ•jø”jx•jW•j»•j~•jþ•jÁ•ja–j–jº—jo–uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”hŒsystem_message”“”)�”}”(hhh]”hë)�”}”(hŒ`Blank line missing before literal block (after the "::")? Interpreted as a definition list item.”h]”hŒdBlank line missing before literal block (after the “::â€�)? Interpreted as a definition list item.”…”�”}”(hjg˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hêhjd˜ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œline”M÷Œsource”hÃuh1jb˜hj“ubaŒtransform_messages”]”(jc˜)�”}”(hhh]”hë)�”}”(hhh]”hŒ6Hyperlink target "usb-hostside-api" is not referenced.”…”�”}”hj…˜sbah}”(h]”h ]”h"]”h$]”h&]”uh1hêhj‚˜ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}˜Œsource”hÃŒline”Kuh1jb˜ubjc˜)�”}”(hhh]”hë)�”}”(hhh]”hŒ2Hyperlink target "usb-chapter9" is not referenced.”…”�”}”hjŸ˜sbah}”(h]”h ]”h"]”h$]”h&]”uh1hêhjœ˜ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}˜Œsource”hÃŒline”Kkuh1jb˜ubjc˜)�”}”(hhh]”hë)�”}”(hhh]”hŒ0Hyperlink target "usb-header" is not referenced.”…”�”}”hj¹˜sbah}”(h]”h ]”h"]”h$]”h&]”uh1hêhj¶˜ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j}˜Œsource”hÃŒline”K~uh1jb˜ubeŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.