RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
pci_msi.h 文件参考
#include <drivers/pci.h>
+ pci_msi.h 的引用(Include)关系图:

浏览该文件的源代码.

结构体

struct  rt_pci_msi_conf
 
struct  rt_pci_msix_conf
 
struct  rt_pci_msi_msg
 
struct  rt_pci_msi_desc
 

宏定义

#define rt_pci_msi_first_desc(pdev)
 
#define rt_pci_msi_for_each_desc(pdev, desc)
 
#define rt_pci_msix_table_size(flags)
 

函数

rt_err_t rt_pci_msi_setup_irqs (struct rt_pci_device *pdev, int nvec, int type)
 
void rt_pci_msi_shutdown (struct rt_pci_device *pdev)
 
void rt_pci_msix_shutdown (struct rt_pci_device *pdev)
 
void rt_pci_msi_free_irqs (struct rt_pci_device *pdev)
 
void rt_pci_msi_write_msg (struct rt_pci_msi_desc *desc, struct rt_pci_msi_msg *msg)
 
void rt_pci_msi_mask_irq (struct rt_pic_irq *pirq)
 
void rt_pci_msi_unmask_irq (struct rt_pic_irq *pirq)
 

宏定义说明

◆ rt_pci_msi_first_desc

#define rt_pci_msi_first_desc ( pdev)
值:
(rt_list_isempty(&(pdev)->msi_desc_nodes) ? RT_NULL : \
rt_list_first_entry(&(pdev)->msi_desc_nodes, struct rt_pci_msi_desc, list))
rt_inline int rt_list_isempty(const rt_list_t *l)
tests whether a list is empty
#define RT_NULL

在文件 pci_msi.h170 行定义.

170#define rt_pci_msi_first_desc(pdev) \
171 (rt_list_isempty(&(pdev)->msi_desc_nodes) ? RT_NULL : \
172 rt_list_first_entry(&(pdev)->msi_desc_nodes, struct rt_pci_msi_desc, list))

◆ rt_pci_msi_for_each_desc

#define rt_pci_msi_for_each_desc ( pdev,
desc )
值:
rt_list_for_each_entry(desc, &(pdev)->msi_desc_nodes, list)
#define rt_list_for_each_entry(pos, head, member)

在文件 pci_msi.h174 行定义.

174#define rt_pci_msi_for_each_desc(pdev, desc) \
175 rt_list_for_each_entry(desc, &(pdev)->msi_desc_nodes, list)

◆ rt_pci_msix_table_size

#define rt_pci_msix_table_size ( flags)
值:
((flags & PCIM_MSIXCTRL_TABLE_SIZE) + 1)

在文件 pci_msi.h177 行定义.

函数说明

◆ rt_pci_msi_setup_irqs()

rt_err_t rt_pci_msi_setup_irqs ( struct rt_pci_device * pdev,
int nvec,
int type )

◆ rt_pci_msi_shutdown()

void rt_pci_msi_shutdown ( struct rt_pci_device * pdev)

◆ rt_pci_msix_shutdown()

void rt_pci_msix_shutdown ( struct rt_pci_device * pdev)

◆ rt_pci_msi_free_irqs()

void rt_pci_msi_free_irqs ( struct rt_pci_device * pdev)

◆ rt_pci_msi_write_msg()

void rt_pci_msi_write_msg ( struct rt_pci_msi_desc * desc,
struct rt_pci_msi_msg * msg )

◆ rt_pci_msi_mask_irq()

void rt_pci_msi_mask_irq ( struct rt_pic_irq * pirq)

◆ rt_pci_msi_unmask_irq()

void rt_pci_msi_unmask_irq ( struct rt_pic_irq * pirq)