uofw/usbbus_8h_source.html

212 lines
34 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>uOFW: /home/runner/work/uofw/uofw/include/usbbus.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">uOFW
</div>
<div id="projectbrief">Reverse engineered PSP kernel 6.60.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">usbbus.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Copyright (C) The uOFW team</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> See the file COPYING for copying permission.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#ifndef USBBUS_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#define USBBUS_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;common_header.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structUsbEndpoint.html"> 18</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structUsbEndpoint.html">UsbEndpoint</a> {</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structUsbEndpoint.html#afb6bfebf3b932c0850376251c0ba50e1"> 20</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbEndpoint.html#afb6bfebf3b932c0850376251c0ba50e1">endpnum</a>; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structUsbEndpoint.html#a3e2418a7cf224e30a362414e836b40f5"> 22</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbEndpoint.html#a3e2418a7cf224e30a362414e836b40f5">unk2</a>; </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structUsbEndpoint.html#aa20a3325c36911d36a1b0cf612e2b62a"> 24</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbEndpoint.html#aa20a3325c36911d36a1b0cf612e2b62a">unk3</a>;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;};</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structInterfaceDescriptor.html"> 30</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structInterfaceDescriptor.html">InterfaceDescriptor</a> {</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bLength;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bDescriptorType;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bInterfaceNumber;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bAlternateSetting;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bNumEndpoints;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bInterfaceClass;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bInterfaceSubClass;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bInterfaceProtocol;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> iInterface;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structUsbInterfaces.html"> 45</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structUsbInterfaces.html">UsbInterfaces</a> {</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structUsbInterfaces.html#adf34d6c2aafb0d4e502680539665a7c4"> 47</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structInterfaceDescriptor.html">InterfaceDescriptor</a> *<a class="code" href="structUsbInterfaces.html#adf34d6c2aafb0d4e502680539665a7c4">infp</a>[2];</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structUsbInterfaces.html#a082db7a0dd7062a5af0e20fecba99a66"> 49</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structUsbInterfaces.html#a082db7a0dd7062a5af0e20fecba99a66">num</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;};</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structStringDescriptor.html"> 55</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structStringDescriptor.html">StringDescriptor</a> {</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bLength;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bDescriptorType;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordtype">short</span> bString[32];</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structDeviceRequest.html"> 64</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structDeviceRequest.html">DeviceRequest</a> {</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bmRequestType;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> bRequest;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> wValue;</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> wIndex;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> wLength;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;} __attribute__((packed));</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structUsbDriver.html"> 75</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structUsbDriver.html">UsbDriver</a> {</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a70a1e9f9dc31368fafb8dd02f06f95a0"> 77</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structUsbDriver.html#a70a1e9f9dc31368fafb8dd02f06f95a0">name</a>; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structUsbDriver.html#ae16871cccecc440a5c97bdcda3277934"> 79</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbDriver.html#ae16871cccecc440a5c97bdcda3277934">endpoints</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a5930f79baa63df3d2f08cff31099eeb0"> 81</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structUsbEndpoint.html">UsbEndpoint</a> *<a class="code" href="structUsbDriver.html#a5930f79baa63df3d2f08cff31099eeb0">endp</a>; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structUsbDriver.html#ac7579c7a741e941270c2c037176db4ea"> 83</a></span>&#160; <span class="keyword">struct </span>UsbInterface *<a class="code" href="structUsbDriver.html#ac7579c7a741e941270c2c037176db4ea">intp</a>; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a395ef63b40e5f5c1a4e08ff723efa5e9"> 85</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="structUsbDriver.html#a395ef63b40e5f5c1a4e08ff723efa5e9">devp_hi</a>; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a3aa8722de50e55f3edc9934aac702459"> 87</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="structUsbDriver.html#a3aa8722de50e55f3edc9934aac702459">confp_hi</a>; </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a0ef81a8cab49db2e8e95264781cb37d9"> 89</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="structUsbDriver.html#a0ef81a8cab49db2e8e95264781cb37d9">devp</a>; </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a0cf716fae20d0f68ecdd6eebd3cea341"> 91</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="structUsbDriver.html#a0cf716fae20d0f68ecdd6eebd3cea341">confp</a>; </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a563a6799b9cf87019240301ef741d104"> 93</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structStringDescriptor.html">StringDescriptor</a> *<a class="code" href="structUsbDriver.html#a563a6799b9cf87019240301ef741d104">str</a>; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structUsbDriver.html#ac8a5bb13c40e8028a88283c7047b27f8"> 95</a></span>&#160; int (*<a class="code" href="structUsbDriver.html#ac8a5bb13c40e8028a88283c7047b27f8">recvctl</a>)(<span class="keywordtype">int</span> arg1, <span class="keywordtype">int</span> arg2, <span class="keyword">struct </span><a class="code" href="structDeviceRequest.html">DeviceRequest</a> *req);</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structUsbDriver.html#ae05087538510b887b06ca140df8630ba"> 97</a></span>&#160; int (*<a class="code" href="structUsbDriver.html#ae05087538510b887b06ca140df8630ba">func28</a>)(<span class="keywordtype">int</span> arg1, <span class="keywordtype">int</span> arg2, <span class="keywordtype">int</span> arg3); </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a8074a5a48fa89e83f2564ba18b0a2345"> 99</a></span>&#160; int (*<a class="code" href="structUsbDriver.html#a8074a5a48fa89e83f2564ba18b0a2345">attach</a>)(<span class="keywordtype">int</span> speed, <span class="keywordtype">void</span> *arg2, <span class="keywordtype">void</span> *arg3); </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a8564e036fc847995da89388f1d3c9f4a"> 101</a></span>&#160; int (*<a class="code" href="structUsbDriver.html#a8564e036fc847995da89388f1d3c9f4a">detach</a>)(<span class="keywordtype">int</span> arg1, <span class="keywordtype">int</span> arg2, <span class="keywordtype">int</span> arg3);</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a9830a94a2c0ec9307137cc7bfe32efc7"> 103</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbDriver.html#a9830a94a2c0ec9307137cc7bfe32efc7">unk34</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a2d1c7c0a814ca4bdb488caf8cef2afdb"> 105</a></span>&#160; int (*<a class="code" href="structUsbDriver.html#a2d1c7c0a814ca4bdb488caf8cef2afdb">start_func</a>)(<span class="keywordtype">int</span> size, <span class="keywordtype">void</span> *args);</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a219f684a03df842775aceaa997228837"> 107</a></span>&#160; int (*<a class="code" href="structUsbDriver.html#a219f684a03df842775aceaa997228837">stop_func</a>)(<span class="keywordtype">int</span> size, <span class="keywordtype">void</span> *args); </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structUsbDriver.html#a06247582d3e31e3e2c21e95b16213ac1"> 109</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structUsbDriver.html">UsbDriver</a> *<a class="code" href="structUsbDriver.html#a06247582d3e31e3e2c21e95b16213ac1">link</a>; </div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;};</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html"> 115</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structUsbdDeviceReq.html">UsbdDeviceReq</a> {</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#a42e29c4276034b2c2d79ae6caf8b7c25"> 117</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structUsbEndpoint.html">UsbEndpoint</a> *<a class="code" href="structUsbdDeviceReq.html#a42e29c4276034b2c2d79ae6caf8b7c25">endp</a>; </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#a7eaccb9148cfe299878407b6fb25d0c4"> 119</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="structUsbdDeviceReq.html#a7eaccb9148cfe299878407b6fb25d0c4">data</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#aea7ad3b0dd6336d4e4b01294a216bd6e"> 121</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbdDeviceReq.html#aea7ad3b0dd6336d4e4b01294a216bd6e">size</a>; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#a50e719d74f545099e24ed1505a5a5854"> 123</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbdDeviceReq.html#a50e719d74f545099e24ed1505a5a5854">unkc</a>; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#a3b846649272f75a8cd3a9df6da0c10ee"> 125</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="structUsbdDeviceReq.html#a3b846649272f75a8cd3a9df6da0c10ee">func</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#adcfc22a12a03b0f7d23c7c3bdaa13ff1"> 127</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbdDeviceReq.html#adcfc22a12a03b0f7d23c7c3bdaa13ff1">recvsize</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#a748ea1a6ef82bc9f3ae4305a89e11e19"> 129</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbdDeviceReq.html#a748ea1a6ef82bc9f3ae4305a89e11e19">retcode</a>; </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#a2c5719e1cdaf330fd56925f406407f26"> 131</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structUsbdDeviceReq.html#a2c5719e1cdaf330fd56925f406407f26">unk1c</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#aecdbf03269b0c919191c98e4541127cc"> 133</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="structUsbdDeviceReq.html#aecdbf03269b0c919191c98e4541127cc">arg</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structUsbdDeviceReq.html#a9f605d951d27669ae377e590d0f156f6"> 135</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="structUsbdDeviceReq.html#a9f605d951d27669ae377e590d0f156f6">link</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;};</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="group__Chkreg.html#gaf88fb4ce7569677247b54c6eaba479ab"> 145</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__Chkreg.html#gaf88fb4ce7569677247b54c6eaba479ab">sceUsbbdRegister</a>(<span class="keyword">struct</span> <a class="code" href="structUsbDriver.html">UsbDriver</a> *drv);</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="group__Chkreg.html#ga9f29f68cb27b449561a790bfa2fb9803"> 155</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__Chkreg.html#ga9f29f68cb27b449561a790bfa2fb9803">sceUsbbdUnregister</a>(<span class="keyword">struct</span> <a class="code" href="structUsbDriver.html">UsbDriver</a> *drv);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="group__Chkreg.html#ga5b72f07f70d94415e6ed30bcd3ddf092"> 164</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__Chkreg.html#ga5b72f07f70d94415e6ed30bcd3ddf092">sceUsbbdReqSend</a>(<span class="keyword">struct</span> <a class="code" href="structUsbdDeviceReq.html">UsbdDeviceReq</a> *req);</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="keywordtype">int</span> sceUsbBus_driver_8A3EB5D2(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// USBBUS_H</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; </div>
<div class="ttc" id="agroup__Chkreg_html_ga5b72f07f70d94415e6ed30bcd3ddf092"><div class="ttname"><a href="group__Chkreg.html#ga5b72f07f70d94415e6ed30bcd3ddf092">sceUsbbdReqSend</a></div><div class="ttdeci">int sceUsbbdReqSend(struct UsbdDeviceReq *req)</div></div>
<div class="ttc" id="agroup__Chkreg_html_ga9f29f68cb27b449561a790bfa2fb9803"><div class="ttname"><a href="group__Chkreg.html#ga9f29f68cb27b449561a790bfa2fb9803">sceUsbbdUnregister</a></div><div class="ttdeci">int sceUsbbdUnregister(struct UsbDriver *drv)</div></div>
<div class="ttc" id="agroup__Chkreg_html_gaf88fb4ce7569677247b54c6eaba479ab"><div class="ttname"><a href="group__Chkreg.html#gaf88fb4ce7569677247b54c6eaba479ab">sceUsbbdRegister</a></div><div class="ttdeci">int sceUsbbdRegister(struct UsbDriver *drv)</div></div>
<div class="ttc" id="astructDeviceRequest_html"><div class="ttname"><a href="structDeviceRequest.html">DeviceRequest</a></div><div class="ttdef"><b>Definition:</b> usbbus.h:64</div></div>
<div class="ttc" id="astructInterfaceDescriptor_html"><div class="ttname"><a href="structInterfaceDescriptor.html">InterfaceDescriptor</a></div><div class="ttdef"><b>Definition:</b> usbbus.h:30</div></div>
<div class="ttc" id="astructStringDescriptor_html"><div class="ttname"><a href="structStringDescriptor.html">StringDescriptor</a></div><div class="ttdef"><b>Definition:</b> usbbus.h:55</div></div>
<div class="ttc" id="astructUsbDriver_html"><div class="ttname"><a href="structUsbDriver.html">UsbDriver</a></div><div class="ttdef"><b>Definition:</b> usbbus.h:75</div></div>
<div class="ttc" id="astructUsbDriver_html_a06247582d3e31e3e2c21e95b16213ac1"><div class="ttname"><a href="structUsbDriver.html#a06247582d3e31e3e2c21e95b16213ac1">UsbDriver::link</a></div><div class="ttdeci">struct UsbDriver * link</div><div class="ttdef"><b>Definition:</b> usbbus.h:109</div></div>
<div class="ttc" id="astructUsbDriver_html_a0cf716fae20d0f68ecdd6eebd3cea341"><div class="ttname"><a href="structUsbDriver.html#a0cf716fae20d0f68ecdd6eebd3cea341">UsbDriver::confp</a></div><div class="ttdeci">void * confp</div><div class="ttdef"><b>Definition:</b> usbbus.h:91</div></div>
<div class="ttc" id="astructUsbDriver_html_a0ef81a8cab49db2e8e95264781cb37d9"><div class="ttname"><a href="structUsbDriver.html#a0ef81a8cab49db2e8e95264781cb37d9">UsbDriver::devp</a></div><div class="ttdeci">void * devp</div><div class="ttdef"><b>Definition:</b> usbbus.h:89</div></div>
<div class="ttc" id="astructUsbDriver_html_a219f684a03df842775aceaa997228837"><div class="ttname"><a href="structUsbDriver.html#a219f684a03df842775aceaa997228837">UsbDriver::stop_func</a></div><div class="ttdeci">int(* stop_func)(int size, void *args)</div><div class="ttdef"><b>Definition:</b> usbbus.h:107</div></div>
<div class="ttc" id="astructUsbDriver_html_a2d1c7c0a814ca4bdb488caf8cef2afdb"><div class="ttname"><a href="structUsbDriver.html#a2d1c7c0a814ca4bdb488caf8cef2afdb">UsbDriver::start_func</a></div><div class="ttdeci">int(* start_func)(int size, void *args)</div><div class="ttdef"><b>Definition:</b> usbbus.h:105</div></div>
<div class="ttc" id="astructUsbDriver_html_a395ef63b40e5f5c1a4e08ff723efa5e9"><div class="ttname"><a href="structUsbDriver.html#a395ef63b40e5f5c1a4e08ff723efa5e9">UsbDriver::devp_hi</a></div><div class="ttdeci">void * devp_hi</div><div class="ttdef"><b>Definition:</b> usbbus.h:85</div></div>
<div class="ttc" id="astructUsbDriver_html_a3aa8722de50e55f3edc9934aac702459"><div class="ttname"><a href="structUsbDriver.html#a3aa8722de50e55f3edc9934aac702459">UsbDriver::confp_hi</a></div><div class="ttdeci">void * confp_hi</div><div class="ttdef"><b>Definition:</b> usbbus.h:87</div></div>
<div class="ttc" id="astructUsbDriver_html_a563a6799b9cf87019240301ef741d104"><div class="ttname"><a href="structUsbDriver.html#a563a6799b9cf87019240301ef741d104">UsbDriver::str</a></div><div class="ttdeci">struct StringDescriptor * str</div><div class="ttdef"><b>Definition:</b> usbbus.h:93</div></div>
<div class="ttc" id="astructUsbDriver_html_a5930f79baa63df3d2f08cff31099eeb0"><div class="ttname"><a href="structUsbDriver.html#a5930f79baa63df3d2f08cff31099eeb0">UsbDriver::endp</a></div><div class="ttdeci">struct UsbEndpoint * endp</div><div class="ttdef"><b>Definition:</b> usbbus.h:81</div></div>
<div class="ttc" id="astructUsbDriver_html_a70a1e9f9dc31368fafb8dd02f06f95a0"><div class="ttname"><a href="structUsbDriver.html#a70a1e9f9dc31368fafb8dd02f06f95a0">UsbDriver::name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition:</b> usbbus.h:77</div></div>
<div class="ttc" id="astructUsbDriver_html_a8074a5a48fa89e83f2564ba18b0a2345"><div class="ttname"><a href="structUsbDriver.html#a8074a5a48fa89e83f2564ba18b0a2345">UsbDriver::attach</a></div><div class="ttdeci">int(* attach)(int speed, void *arg2, void *arg3)</div><div class="ttdef"><b>Definition:</b> usbbus.h:99</div></div>
<div class="ttc" id="astructUsbDriver_html_a8564e036fc847995da89388f1d3c9f4a"><div class="ttname"><a href="structUsbDriver.html#a8564e036fc847995da89388f1d3c9f4a">UsbDriver::detach</a></div><div class="ttdeci">int(* detach)(int arg1, int arg2, int arg3)</div><div class="ttdef"><b>Definition:</b> usbbus.h:101</div></div>
<div class="ttc" id="astructUsbDriver_html_a9830a94a2c0ec9307137cc7bfe32efc7"><div class="ttname"><a href="structUsbDriver.html#a9830a94a2c0ec9307137cc7bfe32efc7">UsbDriver::unk34</a></div><div class="ttdeci">int unk34</div><div class="ttdef"><b>Definition:</b> usbbus.h:103</div></div>
<div class="ttc" id="astructUsbDriver_html_ac7579c7a741e941270c2c037176db4ea"><div class="ttname"><a href="structUsbDriver.html#ac7579c7a741e941270c2c037176db4ea">UsbDriver::intp</a></div><div class="ttdeci">struct UsbInterface * intp</div><div class="ttdef"><b>Definition:</b> usbbus.h:83</div></div>
<div class="ttc" id="astructUsbDriver_html_ac8a5bb13c40e8028a88283c7047b27f8"><div class="ttname"><a href="structUsbDriver.html#ac8a5bb13c40e8028a88283c7047b27f8">UsbDriver::recvctl</a></div><div class="ttdeci">int(* recvctl)(int arg1, int arg2, struct DeviceRequest *req)</div><div class="ttdef"><b>Definition:</b> usbbus.h:95</div></div>
<div class="ttc" id="astructUsbDriver_html_ae05087538510b887b06ca140df8630ba"><div class="ttname"><a href="structUsbDriver.html#ae05087538510b887b06ca140df8630ba">UsbDriver::func28</a></div><div class="ttdeci">int(* func28)(int arg1, int arg2, int arg3)</div><div class="ttdef"><b>Definition:</b> usbbus.h:97</div></div>
<div class="ttc" id="astructUsbDriver_html_ae16871cccecc440a5c97bdcda3277934"><div class="ttname"><a href="structUsbDriver.html#ae16871cccecc440a5c97bdcda3277934">UsbDriver::endpoints</a></div><div class="ttdeci">int endpoints</div><div class="ttdef"><b>Definition:</b> usbbus.h:79</div></div>
<div class="ttc" id="astructUsbEndpoint_html"><div class="ttname"><a href="structUsbEndpoint.html">UsbEndpoint</a></div><div class="ttdef"><b>Definition:</b> usbbus.h:18</div></div>
<div class="ttc" id="astructUsbEndpoint_html_a3e2418a7cf224e30a362414e836b40f5"><div class="ttname"><a href="structUsbEndpoint.html#a3e2418a7cf224e30a362414e836b40f5">UsbEndpoint::unk2</a></div><div class="ttdeci">int unk2</div><div class="ttdef"><b>Definition:</b> usbbus.h:22</div></div>
<div class="ttc" id="astructUsbEndpoint_html_aa20a3325c36911d36a1b0cf612e2b62a"><div class="ttname"><a href="structUsbEndpoint.html#aa20a3325c36911d36a1b0cf612e2b62a">UsbEndpoint::unk3</a></div><div class="ttdeci">int unk3</div><div class="ttdef"><b>Definition:</b> usbbus.h:24</div></div>
<div class="ttc" id="astructUsbEndpoint_html_afb6bfebf3b932c0850376251c0ba50e1"><div class="ttname"><a href="structUsbEndpoint.html#afb6bfebf3b932c0850376251c0ba50e1">UsbEndpoint::endpnum</a></div><div class="ttdeci">int endpnum</div><div class="ttdef"><b>Definition:</b> usbbus.h:20</div></div>
<div class="ttc" id="astructUsbInterfaces_html"><div class="ttname"><a href="structUsbInterfaces.html">UsbInterfaces</a></div><div class="ttdef"><b>Definition:</b> usbbus.h:45</div></div>
<div class="ttc" id="astructUsbInterfaces_html_a082db7a0dd7062a5af0e20fecba99a66"><div class="ttname"><a href="structUsbInterfaces.html#a082db7a0dd7062a5af0e20fecba99a66">UsbInterfaces::num</a></div><div class="ttdeci">unsigned int num</div><div class="ttdef"><b>Definition:</b> usbbus.h:49</div></div>
<div class="ttc" id="astructUsbInterfaces_html_adf34d6c2aafb0d4e502680539665a7c4"><div class="ttname"><a href="structUsbInterfaces.html#adf34d6c2aafb0d4e502680539665a7c4">UsbInterfaces::infp</a></div><div class="ttdeci">struct InterfaceDescriptor * infp[2]</div><div class="ttdef"><b>Definition:</b> usbbus.h:47</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html"><div class="ttname"><a href="structUsbdDeviceReq.html">UsbdDeviceReq</a></div><div class="ttdef"><b>Definition:</b> usbbus.h:115</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_a2c5719e1cdaf330fd56925f406407f26"><div class="ttname"><a href="structUsbdDeviceReq.html#a2c5719e1cdaf330fd56925f406407f26">UsbdDeviceReq::unk1c</a></div><div class="ttdeci">int unk1c</div><div class="ttdef"><b>Definition:</b> usbbus.h:131</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_a3b846649272f75a8cd3a9df6da0c10ee"><div class="ttname"><a href="structUsbdDeviceReq.html#a3b846649272f75a8cd3a9df6da0c10ee">UsbdDeviceReq::func</a></div><div class="ttdeci">void * func</div><div class="ttdef"><b>Definition:</b> usbbus.h:125</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_a42e29c4276034b2c2d79ae6caf8b7c25"><div class="ttname"><a href="structUsbdDeviceReq.html#a42e29c4276034b2c2d79ae6caf8b7c25">UsbdDeviceReq::endp</a></div><div class="ttdeci">struct UsbEndpoint * endp</div><div class="ttdef"><b>Definition:</b> usbbus.h:117</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_a50e719d74f545099e24ed1505a5a5854"><div class="ttname"><a href="structUsbdDeviceReq.html#a50e719d74f545099e24ed1505a5a5854">UsbdDeviceReq::unkc</a></div><div class="ttdeci">int unkc</div><div class="ttdef"><b>Definition:</b> usbbus.h:123</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_a748ea1a6ef82bc9f3ae4305a89e11e19"><div class="ttname"><a href="structUsbdDeviceReq.html#a748ea1a6ef82bc9f3ae4305a89e11e19">UsbdDeviceReq::retcode</a></div><div class="ttdeci">int retcode</div><div class="ttdef"><b>Definition:</b> usbbus.h:129</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_a7eaccb9148cfe299878407b6fb25d0c4"><div class="ttname"><a href="structUsbdDeviceReq.html#a7eaccb9148cfe299878407b6fb25d0c4">UsbdDeviceReq::data</a></div><div class="ttdeci">void * data</div><div class="ttdef"><b>Definition:</b> usbbus.h:119</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_a9f605d951d27669ae377e590d0f156f6"><div class="ttname"><a href="structUsbdDeviceReq.html#a9f605d951d27669ae377e590d0f156f6">UsbdDeviceReq::link</a></div><div class="ttdeci">void * link</div><div class="ttdef"><b>Definition:</b> usbbus.h:135</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_adcfc22a12a03b0f7d23c7c3bdaa13ff1"><div class="ttname"><a href="structUsbdDeviceReq.html#adcfc22a12a03b0f7d23c7c3bdaa13ff1">UsbdDeviceReq::recvsize</a></div><div class="ttdeci">int recvsize</div><div class="ttdef"><b>Definition:</b> usbbus.h:127</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_aea7ad3b0dd6336d4e4b01294a216bd6e"><div class="ttname"><a href="structUsbdDeviceReq.html#aea7ad3b0dd6336d4e4b01294a216bd6e">UsbdDeviceReq::size</a></div><div class="ttdeci">int size</div><div class="ttdef"><b>Definition:</b> usbbus.h:121</div></div>
<div class="ttc" id="astructUsbdDeviceReq_html_aecdbf03269b0c919191c98e4541127cc"><div class="ttname"><a href="structUsbdDeviceReq.html#aecdbf03269b0c919191c98e4541127cc">UsbdDeviceReq::arg</a></div><div class="ttdeci">void * arg</div><div class="ttdef"><b>Definition:</b> usbbus.h:133</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Sep 28 2024 18:01:49 for uOFW by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>