码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • Linux 驱动PCIE编程接口


    PCI Support Library

    Prev

    Chapter 9. Hardware Interfaces

     Next


    PCI Support Library

    pci_bus_max_busnr — returns maximum PCI bus number of given bus' children

    pci_find_capability — query for devices' capabilities

    pci_bus_find_capability — query for devices' capabilities

    pci_find_next_ext_capability — Find an extended capability

    pci_find_ext_capability — Find an extended capability

    pci_find_next_ht_capability — query a device's Hypertransport capabilities

    pci_find_ht_capability — query a device's Hypertransport capabilities

    pci_find_parent_resource — return resource region of parent bus of given region

    pci_find_resource — Return matching PCI device resource

    pci_find_pcie_root_port — return PCIe Root Port

    __pci_complete_power_transition — Complete power transition of a PCI device

    pci_set_power_state — Set the power state of a PCI device

    pci_choose_state — Choose the power state of a PCI device

    pci_save_state — save the PCI configuration space of a device before suspending

    pci_restore_state — Restore the saved state of a PCI device

    pci_store_saved_state — Allocate and return an opaque struct containing the device saved state.

    pci_load_saved_state — Reload the provided save state into struct pci_dev.

    pci_load_and_free_saved_state — Reload the save state pointed to by state, and free the memory allocated for it.

    pci_reenable_device — Resume abandoned device

    pci_enable_device_io — Initialize a device for use with IO space

    pci_enable_device_mem — Initialize a device for use with Memory space

    pci_enable_device — Initialize device before it's used by a driver.

    pcim_enable_device Managed pci_enable_device

    pcim_pin_device — Pin managed PCI device

    pci_disable_device — Disable PCI device after use

    pci_set_pcie_reset_state — set reset state for device dev

    pci_pme_capable — check the capability of PCI device to generate PME#

    pci_pme_active — enable or disable PCI device's PME# function

    __pci_enable_wake — enable PCI device as wakeup event source

    pci_wake_from_d3 — enable/disable device to wake up from D3_hot or D3_cold

    pci_prepare_to_sleep — prepare PCI device for system-wide transition into a sleep state

    pci_back_from_sleep — turn PCI device on during system-wide transition into working state

    pci_dev_run_wake — Check if device can generate run-time wake-up events.

    pci_d3cold_enable — Enable D3cold for device

    pci_d3cold_disable — Disable D3cold for device

    pci_common_swizzle — swizzle INTx all the way to root bridge

    pci_release_region — Release a PCI bar

    pci_request_region — Reserve PCI I/O and memory resource

    pci_request_region_exclusive — Reserved PCI I/O and memory resource

    pci_release_selected_regions — Release selected PCI I/O and memory resources

    pci_request_selected_regions — Reserve selected PCI I/O and memory resources

    pci_release_regions — Release reserved PCI I/O and memory resources

    pci_request_regions — Reserved PCI I/O and memory resources

    pci_request_regions_exclusive — Reserved PCI I/O and memory resources

    pci_set_master — enables bus-mastering for device dev

    pci_clear_master — disables bus-mastering for device dev

    pci_set_cacheline_size — ensure the CACHE_LINE_SIZE register is programmed

    pci_set_mwi — enables memory-write-invalidate PCI transaction

    pci_try_set_mwi — enables memory-write-invalidate PCI transaction

    pci_clear_mwi — disables Memory-Write-Invalidate for device dev

    pci_intx — enables/disables PCI INTx for device dev

    pci_intx_mask_supported — probe for INTx masking support

    pci_check_and_mask_intx — mask INTx on pending interrupt

    pci_check_and_unmask_intx — unmask INTx if no interrupt is pending

    pci_wait_for_pending_transaction — waits for pending transaction

    pci_reset_bridge_secondary_bus — Reset the secondary bus on a PCI bridge.

    __pci_reset_function — reset a PCI device function

    __pci_reset_function_locked — reset a PCI device function while holding the dev mutex lock.

    pci_reset_function — quiesce and reset a PCI device function

    pci_try_reset_function — quiesce and reset a PCI device function

    pci_probe_reset_slot — probe whether a PCI slot can be reset

    pci_reset_slot — reset a PCI slot

    pci_try_reset_slot — Try to reset a PCI slot

    pci_probe_reset_bus — probe whether a PCI bus can be reset

    pci_reset_bus — reset a PCI bus

    pci_try_reset_bus — Try to reset a PCI bus

    pcix_get_max_mmrbc — get PCI-X maximum designed memory read byte count

    pcix_get_mmrbc — get PCI-X maximum memory read byte count

    pcix_set_mmrbc — set PCI-X maximum memory read byte count

    pcie_get_readrq — get PCI Express read request size

    pcie_set_readrq — set PCI Express maximum memory read request

    pcie_get_mps — get PCI Express maximum payload size

    pcie_set_mps — set PCI Express maximum payload size

    pcie_get_minimum_link — determine minimum link settings of a PCI device

    pci_select_bars — Make BAR mask from the type of resource

    pci_add_dynid — add a new PCI device ID to this driver and re-probe devices

    pci_match_id — See if a pci device matches a given pci_id table

    __pci_register_driver — register a new pci driver

    pci_unregister_driver — unregister a pci driver

    pci_dev_driver — get the pci_driver of a device

    pci_dev_get — increments the reference count of the pci device structure

    pci_dev_put — release a use of the pci device structure

    pci_stop_and_remove_bus_device — remove a PCI device and any children

    pci_find_bus — locate PCI bus from a given domain and bus number

    pci_find_next_bus — begin or continue searching for a PCI bus

    pci_get_slot — locate PCI device for a given PCI slot

    pci_get_domain_bus_and_slot — locate PCI device for a given PCI domain (segment), bus, and slot

    pci_get_subsys — begin or continue searching for a PCI device by vendor/subvendor/device/subdevice id

    pci_get_device — begin or continue searching for a PCI device by vendor/device id

    pci_get_class — begin or continue searching for a PCI device by class

    pci_dev_present — Returns 1 if device matching the device list is present, 0 if not.

    pci_msi_mask_irq — Generic irq chip callback to mask PCI/MSI interrupts

    pci_msi_unmask_irq — Generic irq chip callback to unmask PCI/MSI interrupts

    pci_msi_vec_count — Return the number of MSI vectors a device can send

    pci_msix_vec_count — return the number of device's MSI-X table entries

    pci_enable_msix — configure device's MSI-X capability structure

    pci_msi_enabled — is MSI enabled?

    pci_enable_msix_range — configure device's MSI-X capability structure

    pci_alloc_irq_vectors_affinity — allocate multiple IRQs for a device

    pci_free_irq_vectors — free previously allocated IRQs for a device

    pci_irq_vector — return Linux IRQ number of a device vector

    pci_irq_get_affinity — return the affinity of a particular msi vector

    pci_irq_get_node — return the numa node of a particular msi vector

    pci_msi_create_irq_domain — Create a MSI interrupt domain

    pci_bus_alloc_resource — allocate a resource from a parent bus

    pci_bus_add_device — start driver for a single device

    pci_bus_add_devices — start driver for PCI devices

    pci_bus_set_ops — Set raw operations of pci bus

    pci_read_vpd — Read one entry from Vital Product Data

    pci_write_vpd — Write entry to Vital Product Data

    pci_set_vpd_size — Set size of Vital Product Data space

    pci_cfg_access_lock — Lock PCI config reads/writes

    pci_cfg_access_trylock — try to lock PCI config reads/writes

    pci_cfg_access_unlock — Unlock PCI config reads/writes

    pci_lost_interrupt — reports a lost PCI interrupt

    __ht_create_irq — create an irq and attach it to a device.

    ht_create_irq — create an irq and attach it to a device.

    ht_destroy_irq — destroy an irq created with ht_create_irq

    pci_scan_slot — scan a PCI slot on a bus for devices.

    pci_rescan_bus — scan a PCI bus for devices.

    pci_create_slot — create or increment refcount for physical PCI slot

    pci_destroy_slot — decrement refcount for physical PCI slot

    pci_hp_create_module_link — create symbolic link to the hotplug driver module.

    pci_hp_remove_module_link — remove symbolic link to the hotplug driver module.

    pci_enable_rom — enable ROM decoding for a PCI device

    pci_disable_rom — disable ROM decoding for a PCI device

    pci_map_rom — map a PCI ROM to kernel space

    pci_unmap_rom — unmap the ROM from kernel space

    pci_platform_rom — provides a pointer to any ROM image provided by the platform

    pci_enable_sriov — enable the SR-IOV capability

    pci_disable_sriov — disable the SR-IOV capability

    pci_num_vf — return number of VFs associated with a PF device_release_driver

    pci_vfs_assigned — returns number of VFs are assigned to a guest

    pci_sriov_set_totalvfs — - reduce the TotalVFs available

    pci_sriov_get_totalvfs — - get total VFs supported on this device

    pci_read_legacy_io — read byte(s) from legacy I/O port space

    pci_write_legacy_io — write byte(s) to legacy I/O port space

    pci_mmap_legacy_mem — map legacy PCI memory into user memory space

    pci_mmap_legacy_io — map legacy PCI IO into user memory space

    pci_adjust_legacy_attr — adjustment of legacy file attributes

    pci_create_legacy_files — create legacy I/O port and memory files

    pci_mmap_resource — map a PCI resource into user memory space

    pci_remove_resource_files — cleanup resource files

    pci_create_resource_files — create resource files in sysfs for dev

    pci_write_rom — used to enable access to the PCI ROM display

    pci_read_rom — read a PCI ROM

    pci_remove_sysfs_dev_files — cleanup PCI specific sysfs files

    分数

  • 相关阅读:
    [python刷题模板] 珂朵莉树 ODT (基于支持随机访问的跳表
    Flink---12、状态后端(HashMapStateBackend/RocksDB)、如何选择正确的状态后端
    leetcode-每日一题-119-杨辉三角2(简单,dp)
    Vue全家桶 Vuex的详细介绍
    C++模拟实现——红黑树
    基于libmodbus库实现modbus TCP/RTU通信
    MacBook Pro M1 安装Burp Suite中文版
    Python开发运维:PyMongo 连接操作 MongoDB
    LVGL_基础控件滑动条slider
    【MATLAB高级编程】第一篇 | 矩阵操作
  • 原文地址:https://blog.csdn.net/funtasty/article/details/127769826
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号