Searched refs:msi_cap (Results 1 – 5 of 5) sorted by relevance
| /components/drivers/pci/msi/ |
| A D | device.c | 15 if (pdev && (pdev->msi_cap = rt_pci_find_capability(pdev, PCIY_MSI))) in rt_pci_msi_init() 19 rt_pci_read_config_u16(pdev, pdev->msi_cap + PCIR_MSI_CTRL, &ctrl); in rt_pci_msi_init() 23 … rt_pci_write_config_u16(pdev, pdev->msi_cap + PCIR_MSI_CTRL, ctrl & ~PCIM_MSICTRL_MSI_ENABLE); in rt_pci_msi_init()
|
| A D | msi.c | 116 rt_pci_read_config_u16(pdev, pdev->msi_cap + PCIR_MSI_CTRL, &msgctl); in msi_write_enable() 125 rt_pci_write_config_u16(pdev, pdev->msi_cap + PCIR_MSI_CTRL, msgctl); in msi_write_enable() 290 int pos = pdev->msi_cap; in rt_pci_msi_write_msg() 512 if (!pdev->msi_cap) in rt_pci_msi_vector_count() 517 rt_pci_read_config_u16(pdev, pdev->msi_cap + PCIR_MSI_CTRL, &msgctl); in rt_pci_msi_vector_count() 555 rt_pci_read_config_u16(pdev, pdev->msi_cap + PCIR_MSI_CTRL, &msgctl); in msi_setup_msi_desc() 572 desc.msi.mask_pos = pdev->msi_cap + PCIR_MSI_MASK_64BIT; in msi_setup_msi_desc() 576 desc.msi.mask_pos = pdev->msi_cap + PCIR_MSI_MASK; in msi_setup_msi_desc()
|
| /components/drivers/pci/host/dw/ |
| A D | pcie-dw_ep.c | 324 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_set_msi() 330 reg = ep_func->msi_cap + func_offset + PCIR_MSI_CTRL; in dw_pcie_ep_set_msi() 353 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_get_msi() 359 reg = ep_func->msi_cap + func_offset + PCIR_MSI_CTRL; in dw_pcie_ep_get_msi() 515 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_raise_msi_irq() 523 reg = ep_func->msi_cap + func_offset + PCIR_MSI_CTRL; in dw_pcie_ep_raise_msi_irq() 525 reg = ep_func->msi_cap + func_offset + PCIR_MSI_ADDR; in dw_pcie_ep_raise_msi_irq() 530 reg = ep_func->msi_cap + func_offset + PCIR_MSI_ADDR_HIGH; in dw_pcie_ep_raise_msi_irq() 532 reg = ep_func->msi_cap + func_offset + PCIR_MSI_DATA_64BIT; in dw_pcie_ep_raise_msi_irq() 538 reg = ep_func->msi_cap + func_offset + PCIR_MSI_DATA; in dw_pcie_ep_raise_msi_irq() [all …]
|
| A D | pcie-dw.h | 218 rt_uint8_t msi_cap; /* MSI capability offset */ member
|
| /components/drivers/include/drivers/ |
| A D | pci.h | 166 rt_uint8_t msi_cap; member
|
Completed in 11 milliseconds