Lines Matching full:vectors
44 msi_vector_t *vectors, in arch_pcie_msi_vectors_allocate() argument
48 ARG_UNUSED(vectors); in arch_pcie_msi_vectors_allocate()
82 msi_vector_t *vectors, in map_msix_table_entries() argument
104 vectors[i].msix_vector = (struct msix_vector *) in map_msix_table_entries()
111 static void set_msix(msi_vector_t *vectors, in set_msix() argument
118 vectors[i].msix = msix; in set_msix()
141 msi_vector_t *vectors, in pcie_msi_vectors_allocate() argument
151 set_msix(vectors, n_vector, !msi); in pcie_msi_vectors_allocate()
156 vectors, n_vector)) { in pcie_msi_vectors_allocate()
171 vectors[req_vectors].bdf = bdf; in pcie_msi_vectors_allocate()
174 return arch_pcie_msi_vectors_allocate(priority, vectors, n_vector); in pcie_msi_vectors_allocate()
198 msi_vector_t *vectors, in enable_msix() argument
207 uint32_t map = pcie_msi_map(irq, &vectors[i], 1); in enable_msix()
208 uint32_t mdr = pcie_msi_mdr(irq, &vectors[i]); in enable_msix()
210 sys_write32(map, (mm_reg_t) &vectors[i].msix_vector->msg_addr); in enable_msix()
211 sys_write32(0, (mm_reg_t) &vectors[i].msix_vector->msg_up_addr); in enable_msix()
212 sys_write32(mdr, (mm_reg_t) &vectors[i].msix_vector->msg_data); in enable_msix()
213 sys_write32(0, (mm_reg_t) &vectors[i].msix_vector->vector_ctrl); in enable_msix()
236 msi_vector_t *vectors, in enable_msi() argument
246 map = pcie_msi_map(irq, vectors, n_vector); in enable_msi()
249 mdr = pcie_msi_mdr(irq, vectors); in enable_msi()
270 msi_vector_t *vectors, in pcie_msi_enable() argument
284 enable_msix(bdf, vectors, n_vector, base, irq); in pcie_msi_enable()
286 enable_msi(bdf, vectors, n_vector, base, irq); in pcie_msi_enable()