没有合适的资源?快使用搜索试试~ 我知道了~
首页extensible-host-controler-interface-usb-xhci-1.1(解密有书签).pdf
extensible-host-controler-interface-usb-xhci-1.1(解密有书签).pdf
需积分: 50 36 下载量 201 浏览量
更新于2023-03-03
2
收藏 5.27MB PDF 举报
xHCI1.1协议,解密板,有书签。eXtensible Host Controller Interface for Universal Serial Bus (xHCI)
Requirements Specification November 2017 Revision 1.1
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页未读,继续阅读
2018-08-15 上传
2018-03-06 上传
2023-05-10 上传
2021-07-10 上传
2023-06-13 上传
2024-10-28 上传
2024-11-14 上传
2024-06-25 上传
礼茶的贤
- 粉丝: 195
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 黑板风格计算机毕业答辩PPT模板下载
- CodeSandbox实现ListView快速创建指南
- Node.js脚本实现WXR文件到Postgres数据库帖子导入
- 清新简约创意三角毕业论文答辩PPT模板
- DISCORD-JS-CRUD:提升 Discord 机器人开发体验
- Node.js v4.3.2版本Linux ARM64平台运行时环境发布
- SQLight:C++11编写的轻量级MySQL客户端
- 计算机专业毕业论文答辩PPT模板
- Wireshark网络抓包工具的使用与数据包解析
- Wild Match Map: JavaScript中实现通配符映射与事件绑定
- 毕业答辩利器:蝶恋花毕业设计PPT模板
- Node.js深度解析:高性能Web服务器与实时应用构建
- 掌握深度图技术:游戏开发中的绚丽应用案例
- Dart语言的HTTP扩展包功能详解
- MoonMaker: 投资组合加固神器,助力$GME投资者登月
- 计算机毕业设计答辩PPT模板下载
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功