Home
last modified time | relevance | path

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

12345678910>>...31

/linux-6.14.4/arch/m68k/kernel/
Dvectors.c2 * vectors.c
18 * Sets up all exception vectors
31 #include "vectors.h"
42 e_vector vectors[256]; variable
63 __asm__ volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in base_trap_init()
69 vectors[VEC_UNIMPII] = unimp_vec; in base_trap_init()
72 vectors[VEC_BUSERR] = buserr; in base_trap_init()
73 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
74 vectors[VEC_SYS] = system_call; in base_trap_init()
82 vectors[i] = bad_inthandler; in trap_init()
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/ice/
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 …]
/linux-6.14.4/arch/arm/include/asm/
Dvmlinux.lds.h127 * The vectors and stubs are relocatable code, and the
133 .vectors { \
134 OVERLAY_KEEP(*(.vectors)) \
136 .vectors.bhb.loop8 { \
137 OVERLAY_KEEP(*(.vectors.bhb.loop8)) \
139 .vectors.bhb.bpiall { \
140 OVERLAY_KEEP(*(.vectors.bhb.bpiall)) \
143 ARM_LMA(__vectors, .vectors); \
144 ARM_LMA(__vectors_bhb_loop8, .vectors.bhb.loop8); \
145 ARM_LMA(__vectors_bhb_bpiall, .vectors.bhb.bpiall); \
[all …]
/linux-6.14.4/drivers/net/ethernet/hisilicon/hibmcge/
Dhbg_irq.c62 for (i = 0; i < priv->vectors.info_array_len; i++) { in hbg_irq_handle()
63 info = &priv->vectors.info_array[i]; in hbg_irq_handle()
88 struct hbg_vector *vectors = &priv->vectors; in hbg_irq_init() local
93 /* used pcim_enable_device(), so the vectors become device managed */ in hbg_irq_init()
97 return dev_err_probe(dev, ret, "failed to allocate vectors\n"); in hbg_irq_init()
112 snprintf(vectors->name[i], sizeof(vectors->name[i]), "%s-%s-%s", in hbg_irq_init()
117 vectors->name[i], priv); in hbg_irq_init()
124 vectors->info_array = hbg_irqs; in hbg_irq_init()
125 vectors->info_array_len = ARRAY_SIZE(hbg_irqs); in hbg_irq_init()
/linux-6.14.4/drivers/pci/msi/
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 …]
/linux-6.14.4/arch/arm64/include/asm/
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 */
/linux-6.14.4/arch/x86/include/asm/
Dirq_vectors.h18 * Vectors 0 ... 31 : system traps and exceptions - hardcoded events
19 * Vectors 32 ... 127 : device interrupts
21 * Vectors 129 ... FIRST_SYSTEM_VECTOR-1 : device interrupts
22 * Vectors FIRST_SYSTEM_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.
/linux-6.14.4/tools/perf/trace/beauty/arch/x86/include/asm/
Dirq_vectors.h18 * Vectors 0 ... 31 : system traps and exceptions - hardcoded events
19 * Vectors 32 ... 127 : device interrupts
21 * Vectors 129 ... FIRST_SYSTEM_VECTOR-1 : device interrupts
22 * Vectors FIRST_SYSTEM_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.
/linux-6.14.4/kernel/irq/
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
/linux-6.14.4/arch/x86/include/asm/xen/
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()
/linux-6.14.4/include/linux/
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, \
/linux-6.14.4/Documentation/devicetree/bindings/pci/
Daltr,msi-controller.yaml21 - description: Vectors slave port region
33 num-vectors:
34 description: number of vectors
45 - num-vectors
64 num-vectors = <32>;
/linux-6.14.4/arch/arm/
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
/linux-6.14.4/Documentation/PCI/
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 …]
/linux-6.14.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c730 * ixgbe_acquire_msix_vectors - acquire MSI-X vectors
734 * return a negative error code if unable to acquire MSI-X vectors for any
740 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local
745 vectors = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbe_acquire_msix_vectors()
746 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors()
748 /* It is easy to be greedy for MSI-X vectors. However, it really in ixgbe_acquire_msix_vectors()
749 * doesn't do much good if we have a lot more vectors than CPUs. We'll in ixgbe_acquire_msix_vectors()
751 * of vectors as there are CPUs. in ixgbe_acquire_msix_vectors()
753 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors()
755 /* Some vectors are necessary for non-queue interrupts */ in ixgbe_acquire_msix_vectors()
[all …]
/linux-6.14.4/drivers/vdpa/alibaba/
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()
384 VIRTIO_PCI_CONFIG_OFF(eni_vdpa->vectors) + in eni_vdpa_get_config()
[all …]
/linux-6.14.4/net/dccp/
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.
/linux-6.14.4/Documentation/arch/x86/
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
/linux-6.14.4/Documentation/devicetree/bindings/interrupt-controller/
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>;
/linux-6.14.4/drivers/vdpa/virtio_pci/
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 = 1; in vp_vdpa_request_irq() local
168 vectors++; in vp_vdpa_request_irq()
171 ret = pci_alloc_irq_vectors(pdev, vectors, vectors, PCI_IRQ_MSIX); in vp_vdpa_request_irq()
172 if (ret != vectors) { in vp_vdpa_request_irq()
174 "vp_vdpa: fail to allocate irq vectors want %d but %d\n", in vp_vdpa_request_irq()
175 vectors, ret); in vp_vdpa_request_irq()
179 vp_vdpa->vectors = vectors; in vp_vdpa_request_irq()
[all …]
/linux-6.14.4/tools/testing/selftests/kvm/lib/arm64/
Dhandlers.S65 .global vectors symbol
66 vectors: label
73 * vectors (while making sure that it's 0x80 aligned).
105 * Caution: be sure to not add anything between the declaration of vectors
106 * above and these macro calls that will build the vectors table below it.
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/modes/interface/
Disp_const.h57 Four FPGA vectors are required and
81 * ((width[vectors]/num_of_stripes) + 2[vectors])
140 /* [isp vmem] table size[vectors] per line per color (GR,R,B,GB),
146 /* [isp vmem] table size[vectors] per line for 4colors (GR,R,B,GB),
/linux-6.14.4/arch/xtensa/
DKconfig657 Unpacked kernel image (including vectors) must be located completely
686 prompt "Relocatable vectors location"
689 Choose whether relocatable vectors are merged into the kernel .text
691 configurations without VECBASE register where vectors are always
695 bool "Merge relocatable vectors into kernel text"
698 This option puts relocatable vectors into the kernel .text section
703 bool "Put relocatable vectors at fixed address"
705 This option puts relocatable vectors at specific virtual address.
706 Vectors are merged with the .init data in the kernel image and
708 Use it to put vectors into IRAM or out of FLASH on kernels with
[all …]
/linux-6.14.4/arch/sh/boards/mach-highlander/
Dirq-r7780rp.c29 static struct intc_vect vectors[] __initdata = { variable
30 INTC_IRQ(PCI_A, 65), /* dirty: overwrite cpu vectors for pci */
52 static DECLARE_INTC_DESC(intc_desc, "r7780rp", vectors,
/linux-6.14.4/drivers/mtd/nand/raw/
Domap_elm.c159 * @err_vec: elm error vectors
244 * @err_vec: elm error vectors
248 * to start processing syndrome vectors.
258 * will process it for vectors error is reported in elm_start_processing()
274 * @err_vec: elm error vectors
319 /* Clearing interrupts for processed error vectors */ in elm_error_correction()
332 * @err_vec: elm error vectors
334 * Called with one or more error reported vectors & vectors with
371 /* All error vectors processed */ in elm_isr()

12345678910>>...31