Lines Matching refs:vector
176 msi_vector_t *vector, in pcie_msi_map() argument
184 if (vector != NULL && n_vector > 0) { in pcie_msi_map()
185 return vtd_remap_msi(vtd, vector, n_vector); in pcie_msi_map()
199 msi_vector_t *vector) in pcie_msi_mdr() argument
201 if (vector != NULL) { in pcie_msi_mdr()
207 if (vector->msix) { in pcie_msi_mdr()
208 return 0x4000U | vector->arch.vector; in pcie_msi_mdr()
223 int i, irq, vector; in arch_pcie_msi_vectors_allocate() local
266 vector = z_x86_allocate_vector(priority, prev_vector); in arch_pcie_msi_vectors_allocate()
267 if (vector < 0) { in arch_pcie_msi_vectors_allocate()
272 vectors[i].arch.vector = vector; in arch_pcie_msi_vectors_allocate()
276 vectors[i].arch.vector); in arch_pcie_msi_vectors_allocate()
281 prev_vector = vectors[i].arch.vector; in arch_pcie_msi_vectors_allocate()
287 bool arch_pcie_msi_vector_connect(msi_vector_t *vector, in arch_pcie_msi_vector_connect() argument
293 if (vector->arch.remap) { in arch_pcie_msi_vector_connect()
300 id.bits.bus = PCIE_BDF_TO_BUS(vector->bdf); in arch_pcie_msi_vector_connect()
301 id.bits.device = PCIE_BDF_TO_DEV(vector->bdf); in arch_pcie_msi_vector_connect()
302 id.bits.function = PCIE_BDF_TO_FUNC(vector->bdf); in arch_pcie_msi_vector_connect()
304 vtd_remap(vtd, vector->arch.irte, vector->arch.vector, in arch_pcie_msi_vector_connect()
309 z_x86_irq_connect_on_vector(vector->arch.irq, vector->arch.vector, in arch_pcie_msi_vector_connect()