首页
学习
活动
专区
圈层
工具
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    platform_driver_probe与platform_driver_register的区别

    Platform Device and Drivers 从platform_device.h>我们可以了解Platform bus上面的驱动模型接口:platform_device,platform_driver...Platform device 典型的Platform device是系统中的各种自主设备,包括各种桥接在外围总线上的port-based device和host,以及各种集成在SOC platform...struct platform_driver { int (*probe)(struct platform_device *); int (*remove)(struct platform_device...平台(一般来说是板级)启动代码会注册所有的Platform device: int platform_device_register(struct platform_device *pdev); int...Platform device 和 Platform driver实际上是cpu总线可以直接寻址的设备和驱动,他们挂载在一个虚拟的总线platform_bus_type上,是一种bus-specific

    86710
    领券