Home
last modified time | relevance | path

Searched full:vectors (Results 1 – 25 of 989) sorted by relevance

12345678910>>...40

/openbmc/linux/arch/m68k/kernel/
H A Dvectors.c2 * vectors.c
18 * Sets up all exception vectors
39 e_vector vectors[256]; variable
60 __asm__ volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in base_trap_init()
66 vectors[VEC_UNIMPII] = unimp_vec; in base_trap_init()
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()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_irq.c11 * @max_vectors: maximum number of vectors that tracker can hold
88 * ice_reduce_msix_usage - Reduce usage of MSI-X vectors
90 * @v_remain: number of remaining MSI-X vectors to be distributed
92 * Reduce the usage of MSI-X vectors when entire request cannot be fulfilled.
94 * remaining vectors.
109 dev_warn(ice_pf_to_dev(pf), "Not enough MSI-X vectors to support RDMA.\n"); in ice_reduce_msix_usage()
116 /* Support minimum RDMA and give remaining vectors to LAN MSIX in ice_reduce_msix_usage()
130 * ice_ena_msix_range - Request a range of MSIX vectors from the OS
133 * Compute the number of MSIX vectors wanted and request from the OS. Adjust
134 * device usage if there are not enough vectors. Return the number of vectors
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dvmlinux.lds.h121 * The vectors and stubs are relocatable code, and the
127 .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); \
139 ARM_LMA(__vectors_bhb_bpiall, .vectors.bhb.bpiall); \
[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/linux/arch/arm64/include/asm/
H A Dvectors.h13 extern char vectors[];
20 * 'full fat' vectors are used directly.
26 * vectors.
32 * canonical vectors.
38 * vectors.
44 * Remap the kernel before branching to the canonical vectors.
55 /* The vectors to use on return from EL0. e.g. to remap the kernel */
/openbmc/linux/arch/x86/include/asm/
H A Dirq_vectors.h18 * Vectors 0 ... 31 : system traps and exceptions - hardcoded events
19 * Vectors 32 ... 127 : device interrupts
21 * Vectors 129 ... LOCAL_TIMER_VECTOR-1
22 * Vectors LOCAL_TIMER_VECTOR ... 255 : special interrupts
33 * IDT vectors usable for external interrupt sources start at 0x20.
41 * Vectors 0x30-0x3f are used for ISA interrupts.
47 * Special IRQ vectors used by the SMP architecture, 0xf0-0xff
49 * some of the following vectors are 'rare', they are merged
51 * TLB, reschedule and local APIC vectors are performance-critical.
/openbmc/linux/tools/arch/x86/include/asm/
H A Dirq_vectors.h18 * Vectors 0 ... 31 : system traps and exceptions - hardcoded events
19 * Vectors 32 ... 127 : device interrupts
21 * Vectors 129 ... LOCAL_TIMER_VECTOR-1
22 * Vectors LOCAL_TIMER_VECTOR ... 255 : special interrupts
33 * IDT vectors usable for external interrupt sources start at 0x20.
41 * Vectors 0x30-0x3f are used for ISA interrupts.
47 * Special IRQ vectors used by the SMP architecture, 0xf0-0xff
49 * some of the following vectors are 'rare', they are merged
51 * TLB, reschedule and local APIC vectors are performance-critical.
/openbmc/qemu/contrib/ivshmem-client/
H A Divshmem-client.c83 close(peer->vectors[vector]); in ivshmem_client_free_peer()
89 /* handle message coming from server (new peer, new vectors) */
131 if (peer->vectors_count >= G_N_ELEMENTS(peer->vectors)) { in ivshmem_client_handle_server_msg()
132 IVSHMEM_CLIENT_DEBUG(client, "Too many vectors received, failing"); in ivshmem_client_handle_server_msg()
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()
[all …]
/openbmc/linux/drivers/pci/msi/
H A Dapi.c44 * free earlier allocated interrupt vectors, and restore INTx emulation.
64 * pci_msix_vec_count() - Get number of MSI-X interrupt vectors on device
67 * Return: number of MSI-X interrupt vectors available on this device
87 * @minvec: minimum required number of MSI-X vectors
88 * @maxvec: maximum desired number of MSI-X vectors
100 * Return: number of MSI-X vectors allocated (which might be smaller
101 * than @maxvecs), where Linux IRQ numbers for such allocated vectors
103 * -ENOSPC if less than @minvecs interrupt vectors are available.
187 * free earlier-allocated interrupt vectors, and restore INTx.
207 * pci_alloc_irq_vectors() - Allocate multiple device interrupt vectors
[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/linux/kernel/irq/
H A Daffinity.c20 * @nvecs: The total number of vectors
32 * Determine the number of vectors which need interrupt affinities in irq_create_affinity_masks()
33 * assigned. If the pre/post request exhausts the available vectors in irq_create_affinity_masks()
63 /* Fill out vectors at the beginning that don't need affinity */ in irq_create_affinity_masks()
89 /* Fill out vectors at the end that don't need affinity */ in irq_create_affinity_masks()
105 * irq_calc_affinity_vectors - Calculate the optimal number of vectors
106 * @minvec: The minimum number of vectors available
107 * @maxvec: The maximum number of vectors available
/openbmc/qemu/hw/intc/
H A Darmv7m_nvic.c111 if (s->vectors[irq].active || in nvic_rettobase()
135 * vectors[] array. in nvic_isrpending()
142 if (s->vectors[irq].pending) { in nvic_isrpending()
258 vec = &s->vectors[i]; in nvic_recompute_state_secure()
310 VecInfo *vec = &s->vectors[i]; in nvic_recompute_state()
409 s->vectors[ARMV7M_EXCP_HARD].active) { in armv7m_nvic_neg_prio_requested()
413 if (s->vectors[ARMV7M_EXCP_NMI].active && in armv7m_nvic_neg_prio_requested()
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()
[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/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/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.
/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>;
/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/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Drelocate.S14 * does not provide RAM at the high vectors address (0xFFFF0000),
16 * in ROM. Therefore, vectors cannot be changed at all.
18 * However, these ROM-based vectors actually just perform indirect
34 * taking care not to copy vectors number 5 (reserved exception).
45 ldmia r0!, {r2-r8} /* load indirect vectors 1..7 */
/openbmc/linux/Documentation/PCI/
H A Dmsi-howto.rst93 To automatically use MSI or MSI-X interrupt vectors, use the following
99 which allocates up to max_vecs interrupt vectors for a PCI device. It
100 returns the number of vectors allocated or a negative error. If the device
101 has a requirements for a minimum number of vectors the driver can pass a
103 if it can't meet the minimum number of vectors.
112 vectors, use the following function::
125 MSI interrupt vectors must be allocated consecutively, so the system might
126 not be able to allocate as many vectors for MSI as it could for MSI-X. On
133 The typical usage of MSI or MSI-X interrupts is to allocate as many vectors
137 vectors supported beforehand::
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c729 * ixgbe_acquire_msix_vectors - acquire MSI-X vectors
733 * return a negative error code if unable to acquire MSI-X vectors for any
739 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local
744 vectors = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbe_acquire_msix_vectors()
745 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors()
747 /* It is easy to be greedy for MSI-X vectors. However, it really in ixgbe_acquire_msix_vectors()
748 * doesn't do much good if we have a lot more vectors than CPUs. We'll in ixgbe_acquire_msix_vectors()
750 * of vectors as there are CPUs. in ixgbe_acquire_msix_vectors()
752 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors()
754 /* Some vectors are necessary for non-queue interrupts */ in ixgbe_acquire_msix_vectors()
[all …]
/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()
170 "failed to allocate irq vectors want %d but %d\n", 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()
[all …]
/openbmc/linux/net/dccp/
H A Dackvec.h7 * An implementation of Ack Vectors for the DCCP protocol
65 * @av_records: list of %dccp_ackvec_record (Ack Vectors sent previously)
79 * struct dccp_ackvec_record - Records information about sent Ack Vectors
82 * keeps about recently-sent Ack Vectors; again refer to RFC 4340, Appendix A.
119 * struct dccp_ackvec_parsed - Record offsets of Ack Vectors in skb
125 * This structure is used by CCIDs to access Ack Vectors in a received skb.
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/libjxl/
H A Dlibjxl_0.10.3.bb35 PACKAGECONFIG ?= "mime gdk-pixbuf-loader sizeless-vectors"
40 PACKAGECONFIG:remove:riscv64 = "sizeless-vectors"
41 PACKAGECONFIG:remove:riscv32 = "sizeless-vectors"
45 PACKAGECONFIG[sizeless-vectors] = "-DJPEGXL_ENABLE_SIZELESS_VECTORS=ON,-DJPEGXL_ENABLE_SIZELESS_VEC…
/openbmc/linux/Documentation/arch/x86/
H A Delf_auxvec.rst4 x86-specific ELF Auxiliary Vectors
7 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

12345678910>>...40