Searched refs:msix_cap (Results 1 – 5 of 5) sorted by relevance
| /components/drivers/pci/msi/ |
| A D | device.c | 35 if (pdev && (pdev->msix_cap = rt_pci_find_capability(pdev, PCIY_MSIX))) in rt_pci_msix_init() 39 rt_pci_read_config_u16(pdev, pdev->msix_cap + PCIR_MSIX_CTRL, &ctrl); in rt_pci_msix_init() 43 … rt_pci_write_config_u16(pdev, pdev->msix_cap + PCIR_MSIX_CTRL, ctrl & ~PCIM_MSIXCTRL_MSIX_ENABLE); in rt_pci_msix_init()
|
| A D | msi.c | 63 rt_pci_read_config_u16(pdev, pdev->msix_cap + PCIR_MSIX_CTRL, &msgctl); in msix_update_ctrl() 66 rt_pci_write_config_u16(pdev, pdev->msix_cap + PCIR_MSIX_CTRL, msgctl); in msix_update_ctrl() 703 if (!pdev->msix_cap) in rt_pci_msix_vector_count() 708 rt_pci_read_config_u16(pdev, pdev->msix_cap + PCIR_MSIX_CTRL, &msgctl); in rt_pci_msix_vector_count() 741 rt_pci_read_config_u32(pdev, pdev->msix_cap + PCIR_MSIX_TABLE, &table_offset); in msix_table_remap() 808 rt_pci_read_config_u16(pdev, pdev->msix_cap + PCIR_MSIX_CTRL, &msgctl); in msix_capability_init()
|
| /components/drivers/pci/host/dw/ |
| A D | pcie-dw_ep.c | 382 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_set_msix() 390 reg = ep_func->msix_cap + func_offset + PCIR_MSIX_CTRL; in dw_pcie_ep_set_msix() 397 reg = ep_func->msix_cap + func_offset + PCIR_MSIX_TABLE; in dw_pcie_ep_set_msix() 401 reg = ep_func->msix_cap + func_offset + PCIR_MSIX_PBA; in dw_pcie_ep_set_msix() 420 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_get_msix() 426 reg = ep_func->msix_cap + func_offset + PCIR_MSIX_CTRL; in dw_pcie_ep_get_msix() 564 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq_doorbell() 591 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq() 597 reg = ep_func->msix_cap + func_offset + PCIR_MSIX_TABLE; in dw_pcie_ep_raise_msix_irq() 827 ep_func->msix_cap = dw_pcie_ep_find_capability(ep, func_no, PCIY_MSIX); in dw_pcie_ep_init()
|
| A D | pcie-dw.h | 219 rt_uint8_t msix_cap; /* MSI-X capability offset */ member
|
| /components/drivers/include/drivers/ |
| A D | pci.h | 167 rt_uint8_t msix_cap; member
|
Completed in 11 milliseconds