没有合适的资源?快使用搜索试试~ 我知道了~
首页extensible-host-controler-interface-usb-xhci-1.1(解密有书签).pdf
资源详情
资源评论
资源推荐
eXtensible Host Controller Interface for
Universal Serial Bus
(xHCI)
Requirements Specification
November 2017
Revision 1.1
2
NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS
DOCUMENT. CONTACT INTEL ON FURTHER LICENSING AGREEMENTS AND REQUIREMENTS.
INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE
OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR
INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or
characteristics of any features or instructions marked “reserved” or “undefined.” Intel reserves these for future definition and shall have no
responsibility whatsoever for conflicts or incompatibilities arising from future changes to them.
Copyright © 2008-2017 Intel Corporation. All rights reserved.
3
Contents
1 Preface ....................................................................................................................................................................................... 22
1.1 Objective of Specification ............................................................................................................................... 22
1.2 Scope of Document ........................................................................................................................................... 22
1.3 Document Organization .................................................................................................................................. 22
1.4 References ............................................................................................................................................................. 23
1.5 Index ......................................................................................................................................................................... 24
1.6 Terms and Abbreviations ................................................................................................................................ 26
1.7 Compliance ............................................................................................................................................................ 43
1.8 Documentation Conventions ........................................................................................................................ 43
1.8.1 Capitalization.................................................................................................................................. 43
1.8.2 Bold Text .......................................................................................................................................... 43
1.8.3 Italic Text .......................................................................................................................................... 43
1.8.4 Numbers and Number Bases .................................................................................................. 43
1.8.5 Implementation Notes ............................................................................................................... 44
1.8.6 Word Usage .................................................................................................................................... 44
1.8.7 Pseudo Code .................................................................................................................................. 44
1.8.8 Other Notation ............................................................................................................................... 45
2 Introduction ............................................................................................................................................................................. 46
2.1 Motivation .............................................................................................................................................................. 46
2.2 Goals ......................................................................................................................................................................... 47
2.3 Key features........................................................................................................................................................... 47
2.4 xHCI Product Compliance ............................................................................................................................... 49
3 Architectural Overview ....................................................................................................................................................... 50
3.1 Interface Architecture ....................................................................................................................................... 53
3.2 xHCI Data Structures ......................................................................................................................................... 56
3.2.1 Device Context Base Address Array .................................................................................... 56
3.2.2 Device Context ............................................................................................................................... 56
3.2.3 Slot Context .................................................................................................................................... 57
3.2.4 Endpoint Context ......................................................................................................................... 57
3.2.5 Input Context .................................................................................................................................. 59
3.2.6 Rings ................................................................................................................................................... 60
3.2.7 Transfer Request Block ............................................................................................................. 61
3.2.8 Scatter/Gather Transfers .......................................................................................................... 63
3.2.9 Control Transfers ......................................................................................................................... 65
3.2.10 Bulk and Interrupt Transfers ................................................................................................... 66
3.2.11 Isoch Transfers .............................................................................................................................. 66
3.3 Command Interface ........................................................................................................................................... 69
3.3.1 No Op ................................................................................................................................................. 70
3.3.2 Enable Slot ...................................................................................................................................... 70
3.3.3 Disable Slot ..................................................................................................................................... 71
3.3.4 Address Device .............................................................................................................................. 71
3.3.5 Configure Endpoint ..................................................................................................................... 72
4
3.3.6 Evaluate Context ........................................................................................................................... 73
3.3.7 Reset Endpoint .............................................................................................................................. 73
3.3.8 Stop Endpoint ................................................................................................................................ 74
3.3.9 Set TR Dequeue Pointer ............................................................................................................ 74
3.3.10 Reset Device ................................................................................................................................... 74
3.3.11 Force Event ..................................................................................................................................... 74
3.3.12 Negotiate Bandwidth .................................................................................................................. 74
3.3.13 Set Latency Tolerance Value .................................................................................................. 75
3.3.14 Get Port Bandwidth ..................................................................................................................... 75
3.3.15 Force Header .................................................................................................................................. 75
3.4 General Information .......................................................................................................................................... 75
3.5 Root Hub Management .................................................................................................................................... 76
3.6 xHCI Device Enumeration ............................................................................................................................... 76
4 Operational Model ............................................................................................................................................................... 77
4.1 Command Operation ........................................................................................................................................ 77
4.2 Host Controller Initialization ......................................................................................................................... 77
4.3 USB Device Initialization .................................................................................................................................. 79
4.3.1 Resetting a Root Hub Port ........................................................................................................ 84
4.3.2 Device Slot Assignment ............................................................................................................. 84
4.3.3 Device Slot Initialization ............................................................................................................ 85
4.3.4 Address Assignment ................................................................................................................... 86
4.3.5 Device Configuration .................................................................................................................. 86
4.3.6 Setting Alternate Interfaces ..................................................................................................... 87
4.3.7 Low-Speed/Full-Speed Device Support ............................................................................ 90
4.3.8 Bandwidth Management ........................................................................................................... 90
4.4 Device Detach ....................................................................................................................................................... 90
4.5 Device Slot Management ................................................................................................................................ 91
4.5.1 Device Context Index .................................................................................................................. 92
4.5.2 Slot Context Initialization ......................................................................................................... 93
4.5.3 Slot States ........................................................................................................................................ 94
4.5.4 USB Standard Device Request to xHCI Command Mapping .................................... 99
4.6 Command Interface ........................................................................................................................................ 100
4.6.1 Command Ring Operation .................................................................................................... 100
4.6.2 No Op .............................................................................................................................................. 103
4.6.3 Enable Slot ................................................................................................................................... 104
4.6.4 Disable Slot .................................................................................................................................. 105
4.6.5 Address Device ........................................................................................................................... 107
4.6.6 Configure Endpoint .................................................................................................................. 111
4.6.7 Evaluate Context ........................................................................................................................ 123
4.6.8 Reset Endpoint ........................................................................................................................... 125
4.6.9 Stop Endpoint ............................................................................................................................. 129
4.6.10 Set TR Dequeue Pointer ......................................................................................................... 137
4.6.11 Reset Device ................................................................................................................................ 140
4.6.12 Force Event (Optional Normative) ..................................................................................... 142
4.6.13 Negotiate Bandwidth (Optional Normative) ................................................................. 144
4.6.14 Set Latency Tolerance Value (LTV) (Optional Normative) ...................................... 146
4.6.15 Get Port Bandwidth .................................................................................................................. 147
4.6.16 Force Header ............................................................................................................................... 150
4.7 Doorbells ............................................................................................................................................................. 151
4.8 Endpoint .............................................................................................................................................................. 153
5
4.8.1 Endpoint Addressing ............................................................................................................... 153
4.8.2 Endpoint Context Initialization ........................................................................................... 154
4.8.3 Endpoint Context State .......................................................................................................... 155
4.9 TRB Ring ............................................................................................................................................................... 159
4.9.1 Transfer Descriptors ................................................................................................................ 161
4.9.2 Transfer Ring Management .................................................................................................. 162
4.9.3 Command Ring Management .............................................................................................. 171
4.9.4 Event Ring Management ........................................................................................................ 172
4.10 Host Controller TRB Handling ................................................................................................................... 181
4.10.1 Transfer TRBs .............................................................................................................................. 181
4.10.2 Errors ............................................................................................................................................... 186
4.10.3 Events ............................................................................................................................................. 196
4.10.4 IOC Flag .......................................................................................................................................... 199
4.11 TRBs ....................................................................................................................................................................... 200
4.11.1 TRB Template ............................................................................................................................. 200
4.11.2 Transfer TRBs .............................................................................................................................. 202
4.11.3 Event TRBs.................................................................................................................................... 214
4.11.4 Command TRBs.......................................................................................................................... 215
4.11.5 Other TRBs ................................................................................................................................... 219
4.11.6 Vendor Defined TRB Types .................................................................................................. 223
4.11.7 TD Usage Rules .......................................................................................................................... 224
4.12 Streams ................................................................................................................................................................ 231
4.12.1 xHCI Stream Protocol .............................................................................................................. 232
4.12.2 Stream ID Management .......................................................................................................... 237
4.12.3 Evaluate Next TRB (ENT) ........................................................................................................ 241
4.13 Device Notifications ........................................................................................................................................ 242
4.13.1 Latency Tolerance Message Handling ............................................................................. 243
4.13.2 Function Wake ............................................................................................................................ 245
4.14 Managing Transfer Rings .............................................................................................................................. 246
4.14.1 General Scheduling Model .................................................................................................... 247
4.14.2 Periodic Transfer Ring Scheduling .................................................................................... 249
4.14.3 Interrupt Transfer Ring Scheduling .................................................................................. 257
4.14.4 Asynchronous Transfer Ring Scheduling ....................................................................... 260
4.15 Suspend-Resume ............................................................................................................................................ 267
4.15.1 Port Suspend ............................................................................................................................... 269
4.15.2 Port Resume ................................................................................................................................ 270
4.16 Bandwidth Management .............................................................................................................................. 274
4.16.1 Bandwidth Negotiation ........................................................................................................... 275
4.16.2 Bandwidth Domains ................................................................................................................. 277
4.17 Interrupters......................................................................................................................................................... 278
4.17.1 Interrupter Mapping ................................................................................................................. 279
4.17.2 Interrupt Moderation ............................................................................................................... 280
4.17.3 Interrupt Pin Support .............................................................................................................. 284
4.17.4 Interrupter Target Identification ........................................................................................ 285
4.17.5 Interrupt Blocking ..................................................................................................................... 286
4.18 Transfer Definition and Attributes ........................................................................................................... 287
4.18.1 No snoop ....................................................................................................................................... 287
4.18.2 No Snoop and Relaxed Ordering for USB Traffic ....................................................... 288
4.19 Root Hub .............................................................................................................................................................. 289
4.19.1 Root Hub Port State Machines ............................................................................................ 289
剩余603页未读,继续阅读
礼茶的贤
- 粉丝: 189
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0