USB3.0 host xHCI驱动

2023-05-16

xHCI驱动在usb/host中,主要初始化xHCI。xHCI作为usb host部分的驱动。

1. xhci driver与device的匹配

usb/host/xhci-plat.c:

static struct platform_driver usb_xhci_driver = {
    .probe  = xhci_plat_probe,
    .remove = xhci_plat_remove,
    .shutdown = usb_hcd_platform_shutdown,
    .driver = {
        .name = "xhci-hcd",
        .pm = &xhci_plat_pm_ops,
        .of_match_table = of_match_ptr(usb_xhci_of_match),
        .acpi_match_table = ACPI_PTR(usb_xhci_acpi_match),
    },
};
MODULE_ALIAS("platform:xhci-hcd");


static int __init xhci_plat_init(void)
{
    xhci_init_driver(&xhci_plat_hc_driver, &xhci_plat_overrides);
    return platform_driver_register(&usb_xhci_driver);
}
module_init(xhci_plat_init);

从usb_xhci_driver可以看出有两种匹配方式去执行xhci_plat_probe:

1.1 driver.name

platform_driver.driver.name

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

USB3.0 host xHCI驱动 的相关文章

随机推荐

  • 笔记:免费SSL证书申请,Linux+Nginx启用https

    实操 xff1a 阿里云CentOS 7 4 xff0c Nginx版 获取SSL证书 域名控制台 gt 基本信息 gt 免费开启SSL证书 gt 单域名免费证书 下载Nginx证书信息 上传SSL证书 把 crt和 key文件上传至Lin
  • iOS自定义组件-扇形进度视图

    iOS自定义组件 扇形进度视图 前言 xff1a 平时候我们在用Apple设备下载App的时候 xff0c 就会看见扇形的进度 xff0c 为了增强更好的用户体验 xff0c 本人心血来潮写了个自定义组件 扇形进度视图 xff0c 废话不多
  • Ubuntu20.04 系统禁用自带的Nouveau驱动

    注 xff1a 该博文所述的方法同样适用于Ubuntu16 04 Ubuntu18 04版本系统 nouveau 英语 xff1a nu vo 是一个自由开放源代码GPU驱动程序 xff0c 是为Nvidia的GPU所编写 xff0c 也可
  • 汇编语言减法指令

    文章目录 减法指令1 减法指令SUB2 带借位减法指令 SBB3 减量指令DEC4 求补指令NEG5 比较指令CMP 例 大小写字母转换程序 减法指令 减法运算主要包括SUB SBB DEC NEG和CMP指令 除DEC不影响CF标志外 其
  • manjaro 安装 vitualBox

    1 xff1a 安装 VirtualBox 要安装 VirtualBox xff0c 您需要安装软件包virtualbox和linux virtualbox host modules 后者必须与您正在运行的内核版本相匹配 要列出安装了哪些内
  • Android Studio环境配置安装、搭建详细步骤及使用方法

    APP准备工作如下 1 源码下载 因为我已经下载好了 就不演示了 连下载都不会我就不说什么了 稍后我会随教程发源码出去 jdk 8u77 windows x64 萝卜app 1 1 mahuaTV这个就是AS源码 COPY到非ACLL目录
  • edge浏览器打开网址提示“您可能拼写错误解决办法

    edge浏览器打开网址提示 您可能拼写错误解决办法 edge浏览器打开网址提示 您可能拼写错误 lanzoux com 建议你仔细检查地址 的解决方法 EDGE浏览器打开网址提示 您可能拼写错误 LANZOUX COM 建议你仔细检查地址
  • dwmac/stmmac/eqos EEE 驱动分析

    1 ethtool ethtool set eee eth0 eee on off ethtool gt nbsp set eee gt nbsp stmmac ethtool op set eee 2 nbsp stmmac eee in
  • 以太网PHY MMD

    1 Access to MDIO Manageable Device MMD The MDIO Manageable Device MMD is an extension to the management interface that p
  • 优化USB UVC ISO传输速度

    1 issue USB3 0单路uvc iso传输速率只有92MB s 1080p yuv 23 4fps 我们需要优化UVC传输速率 提高YUV帧率 2 analysis 2 1 ISO速度 ISO速度由mult burst max pa
  • UVC V4L2的实现

    linux 4 19 125 drivers media usb uvc uvc v4l2 c 1 uvc ops const struct v4l2 file operations uvc fops owner THIS MODULE o
  • USB3.0 PIPE接口

    1 introduction PHY Interface for the PCI Express and USB 3 0 Architectures USB SuperSpeed PHY Layer The USB SuperSpeed P
  • USB2.0 UTMI接口

    1 UTM Functional Block Diagram 2 UTMI Signal Descriptions 2 1 nbsp System Interface Signals 2 2 Data Interface Signals n
  • USB2.0 ULPI接口介绍

    UTMI Low Pin Interface ULPI nbsp a generic low pin interface LPI between a Link and a PHY 1 general ULPI defines a PHY t
  • 《IT项目管理》(郭宁编著) 课后习题答案

    目录 第一章 it项目管理概述 第二章 组织环境与项目管理过程 第三章 it项目整体管理 第四章 it项目范围管理 第五章 it项目时间管理 第六章 it项目成本管理 第七章 it项目质量管理 第八章 项目人力资源管理 第九章 项目沟通管理
  • FPGA USB device原型验证流程及调试手段

    device mode enable usb ACM usb serial gadget function and connect it to PC host 1 register access check if register acce
  • FPGA USB host原型验证流程及调试手段

    host mode plug in a device for test super speed device usb3 0 usb storage high speed device usb2 0 usb storage full spee
  • USB2.0 UTMI+接口

    1 UTMI The UTMI standard contains progressive levels of technology support because the complexity requirements for devic
  • cadence usb linux配置

    1 kernel config 2 dts
  • USB3.0 host xHCI驱动

    xHCI驱动在usb host中 主要初始化xHCI xHCI作为usb nbsp host部分的驱动 1 nbsp xhci driver与device的匹配 usb host xhci plat c static struct plat