Home
last modified time | relevance | path

Searched refs:vectors (Results 1 – 25 of 258) sorted by relevance

1234567891011

/openbmc/linux/arch/m68k/kernel/
H A Dvectors.c39 e_vector vectors[256]; variable
69 vectors[VEC_BUSERR] = buserr; in base_trap_init()
70 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
71 vectors[VEC_SYS] = system_call; in base_trap_init()
79 vectors[i] = bad_inthandler; in trap_init()
82 if (!vectors[i]) in trap_init()
83 vectors[i] = trap; in trap_init()
86 vectors[i] = bad_inthandler; in trap_init()
90 vectors[VEC_LINE11] = fpu_emu; in trap_init()
105 vectors[VEC_FPDIVZ] = dz_vec; in trap_init()
[all …]
H A Dints.c131 vectors[VEC_SPUR + irq] = auto_inthandler; in m68k_irq_startup_irq()
133 vectors[m68k_first_user_vec + irq - IRQ_USER] = user_inthandler; in m68k_irq_startup_irq()
147 vectors[VEC_SPUR + irq] = bad_inthandler; in m68k_irq_shutdown()
149 vectors[m68k_first_user_vec + irq - IRQ_USER] = bad_inthandler; in m68k_irq_shutdown()
/openbmc/linux/arch/arm/include/asm/
H A Dvmlinux.lds.h127 .vectors { \
128 *(.vectors) \
130 .vectors.bhb.loop8 { \
131 *(.vectors.bhb.loop8) \
133 .vectors.bhb.bpiall { \
134 *(.vectors.bhb.bpiall) \
137 ARM_LMA(__vectors, .vectors); \
138 ARM_LMA(__vectors_bhb_loop8, .vectors.bhb.loop8); \
140 . = __vectors_lma + SIZEOF(.vectors) + \
141 SIZEOF(.vectors.bhb.loop8) + \
[all …]
/openbmc/qemu/tests/tcg/alpha/
H A Dtest-ovf.c16 } vectors[] = variable
25 for (i = 0; i < sizeof (vectors)/sizeof(vectors[0]); i++) in main()
26 if ((*vectors[i].func)(vectors[i].a, vectors[i].b) != vectors[i].r) { in main()
H A Dtest-cond.c44 } vectors[] = variable
81 for (i = 0; i < sizeof (vectors)/sizeof(vectors[0]); i++) in main()
82 if ((*vectors[i].func)(vectors[i].v) != vectors[i].r) { in main()
/openbmc/qemu/hw/intc/
H A Darmv7m_nvic.c111 if (s->vectors[irq].active || in nvic_rettobase()
142 if (s->vectors[irq].pending) { in nvic_isrpending()
258 vec = &s->vectors[i]; in nvic_recompute_state_secure()
446 s->vectors[irq].prio = prio; in set_prio()
465 return s->vectors[irq].prio; in get_prio()
515 vec = &s->vectors[irq]; in armv7m_nvic_clear_pending()
735 vec = &s->vectors[irq]; in armv7m_nvic_set_pending_lazyfp()
782 vec = &s->vectors[pending]; in armv7m_nvic_acknowledge_irq()
838 vec = &s->vectors[irq]; in armv7m_nvic_complete_irq()
961 vec = &s->vectors[n]; in set_irq_level()
[all …]
/openbmc/linux/arch/x86/include/asm/xen/
H A Dpci.h32 int (*enable_msi)(struct pci_dev *dev, int vectors[]);
34 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec);
41 int vectors[]) in xen_pci_frontend_enable_msi() argument
44 return xen_pci_frontend->enable_msi(dev, vectors); in xen_pci_frontend_enable_msi()
53 int vectors[], int nvec) in xen_pci_frontend_enable_msix() argument
56 return xen_pci_frontend->enable_msix(dev, vectors, nvec); in xen_pci_frontend_enable_msix()
/openbmc/qemu/contrib/ivshmem-client/
H A Divshmem-client.c83 close(peer->vectors[vector]); in ivshmem_client_free_peer()
136 peer->vectors[peer->vectors_count] = fd; in ivshmem_client_handle_server_msg()
162 client->local.vectors[i] = -1; in ivshmem_client_init()
264 close(client->local.vectors[i]); in ivshmem_client_close()
265 client->local.vectors[i] = -1; in ivshmem_client_close()
283 fd = client->local.vectors[vector]; in ivshmem_client_get_fds()
303 if (peer->vectors[i] >= maxfd || !FD_ISSET(peer->vectors[i], cur)) { in ivshmem_client_handle_event()
307 ret = read(peer->vectors[i], &kick, sizeof(kick)); in ivshmem_client_handle_event()
357 fd = peer->vectors[vector]; in ivshmem_client_notify()
433 peer->vectors[vector]); in ivshmem_client_dump()
[all …]
/openbmc/linux/include/linux/
H A Dsh_intc.h84 struct intc_vect *vectors; member
105 #define INTC_HW_DESC(vectors, groups, mask_regs, \ argument
108 _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \
123 #define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, \ argument
127 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
131 #define DECLARE_INTC_DESC_ACK(symbol, chipname, vectors, groups, \ argument
135 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
/openbmc/qemu/tests/tcg/loongarch64/
H A Dtest_bit.c68 static struct vector vectors[] = { variable
83 for (i = 0; i < ARRAY_SIZE(vectors); i++) { in main()
84 assert((*vectors[i].func)(vectors[i].u) == vectors[i].r); in main()
/openbmc/linux/Documentation/devicetree/bindings/pci/
H A Daltera-pcie-msi.txt9 "vector_slave": vectors slave port region
13 - num-vectors: number of vectors, range 1 to 32.
26 num-vectors = <32>;
H A Dmediatek-pcie-gen3.yaml16 This PCIe controller supports up to 256 MSI vectors, the MSI hardware
37 | | | | | | | | | | | | (MSI vectors)
42 With 256 MSI vectors supported, the MSI vectors are composed of 8 sets,
43 each set has its own address for MSI message, and supports 32 MSI vectors
/openbmc/linux/drivers/vdpa/alibaba/
H A Deni_vdpa.c46 int vectors; member
133 if (eni_vdpa->vectors) { in eni_vdpa_free_irq()
135 eni_vdpa->vectors = 0; in eni_vdpa_free_irq()
165 int vectors = queues + 1; in eni_vdpa_request_irq() local
167 ret = pci_alloc_irq_vectors(pdev, vectors, vectors, PCI_IRQ_MSIX); in eni_vdpa_request_irq()
168 if (ret != vectors) { in eni_vdpa_request_irq()
171 vectors, ret); in eni_vdpa_request_irq()
175 eni_vdpa->vectors = vectors; in eni_vdpa_request_irq()
377 VIRTIO_PCI_CONFIG_OFF(eni_vdpa->vectors) + in eni_vdpa_get_config()
393 VIRTIO_PCI_CONFIG_OFF(eni_vdpa->vectors) + in eni_vdpa_set_config()
/openbmc/linux/arch/arm/
H A DKconfig-nommu40 bool 'Install vectors to the beginning of RAM'
42 The kernel needs to change the hardware exception vectors.
43 In nommu mode, the hardware exception vectors are normally
50 vectors to be mapped to writable memory, say 'n' here.
53 external support to redirect the hardware exception vectors to
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c739 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local
745 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors()
752 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors()
755 vectors += NON_Q_VECTORS; in ixgbe_acquire_msix_vectors()
763 vectors = min_t(int, vectors, hw->mac.max_msix_vectors); in ixgbe_acquire_msix_vectors()
776 for (i = 0; i < vectors; i++) in ixgbe_acquire_msix_vectors()
780 vector_threshold, vectors); in ixgbe_acquire_msix_vectors()
782 if (vectors < 0) { in ixgbe_acquire_msix_vectors()
787 vectors); in ixgbe_acquire_msix_vectors()
793 return vectors; in ixgbe_acquire_msix_vectors()
[all …]
/openbmc/linux/arch/sh/boards/mach-se/7721/
H A Dirq.c20 static struct intc_vect vectors[] __initdata = { variable
29 static DECLARE_INTC_DESC(intc_desc, "SE7721", vectors,
/openbmc/qemu/target/hexagon/imported/
H A Dcompare.idef308 "Compare elements of two vectors ",
317 "Compare elements of two vectors ",
326 "Compare elements of two vectors ",
336 "Compare elements of two vectors ",
347 "Compare elements of two vectors ",
356 "Compare elements of two vectors ",
365 "Compare elements of two vectors ",
374 "Compare elements of two vectors ",
422 "Compare elements of two vectors ",
432 "Compare elements of two vectors ",
[all …]
/openbmc/qemu/contrib/ivshmem-server/
H A Divshmem-server.c89 event_notifier_cleanup(&peer->vectors[vector]); in ivshmem_server_free_peer()
176 if (event_notifier_init(&peer->vectors[i], FALSE) < 0) { in ivshmem_server_handle_new_conn()
192 peer->vectors[i].wfd); in ivshmem_server_handle_new_conn()
200 other_peer->vectors[i].wfd); in ivshmem_server_handle_new_conn()
207 event_notifier_get_fd(&peer->vectors[i])); in ivshmem_server_handle_new_conn()
217 event_notifier_cleanup(&peer->vectors[i]); in ivshmem_server_handle_new_conn()
459 event_notifier_get_fd(&peer->vectors[vector])); in ivshmem_server_dump()
/openbmc/linux/drivers/vdpa/virtio_pci/
H A Dvp_vdpa.c43 int vectors; member
131 if (vp_vdpa->vectors) { in vp_vdpa_free_irq()
133 vp_vdpa->vectors = 0; in vp_vdpa_free_irq()
163 int vectors = queues + 1; in vp_vdpa_request_irq() local
165 ret = pci_alloc_irq_vectors(pdev, vectors, vectors, PCI_IRQ_MSIX); in vp_vdpa_request_irq()
166 if (ret != vectors) { in vp_vdpa_request_irq()
169 vectors, ret); in vp_vdpa_request_irq()
173 vp_vdpa->vectors = vectors; in vp_vdpa_request_irq()
/openbmc/linux/Documentation/arch/x86/
H A Delf_auxvec.rst7 This document describes the semantics of the x86 auxiliary vectors.
12 ELF Auxiliary vectors enable the kernel to efficiently provide
40 The exposed auxiliary vectors
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dmti,gic.yaml40 mti,reserved-cpu-vectors:
42 Specifies the list of CPU interrupt vectors to which the GIC may not
53 mti,reserved-ipi-vectors:
115 mti,reserved-cpu-vectors = <7>;
116 mti,reserved-ipi-vectors = <40 8>;
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_irq.c255 int vectors, max_vectors; in ice_init_interrupt_scheme() local
257 vectors = ice_ena_msix_range(pf); in ice_init_interrupt_scheme()
259 if (vectors < 0) in ice_init_interrupt_scheme()
265 max_vectors = vectors; in ice_init_interrupt_scheme()
267 ice_init_irq_tracker(pf, max_vectors, vectors); in ice_init_interrupt_scheme()
/openbmc/linux/arch/sh/boards/mach-highlander/
H A Dirq-r7780rp.c29 static struct intc_vect vectors[] __initdata = { variable
52 static DECLARE_INTC_DESC(intc_desc, "r7780rp", vectors,
/openbmc/linux/drivers/sh/intc/
H A Dirqdomain.c52 irq_base = evt2irq(hw->vectors[0].vect); in intc_irq_domain_init()
53 irq_end = evt2irq(hw->vectors[hw->nr_vectors - 1].vect); in intc_irq_domain_init()
/openbmc/qemu/docs/specs/
H A Divshmem-spec.rst110 interrupt vectors connected, the write is ignored. The device is not
112 interrupt vectors are connected.
123 With multiple MSI-X vectors, different vectors can be used to indicate
124 different events have occurred. The semantics of interrupt vectors
142 - creates eventfd file descriptors for the interrupt vectors,
168 vectors.
204 vectors, it closes the extra file descriptors. If it is configured
205 for more, the extra vectors remain unconnected.
210 order. If the client is configured for fewer vectors, it closes
212 extra vectors remain unconnected.

1234567891011