Home
last modified time | relevance | path

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

12345678910>>...27

/Linux-v5.15/arch/m68k/kernel/
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 …]
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()
/Linux-v5.15/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 ... LOCAL_TIMER_VECTOR-1
22 * Vectors LOCAL_TIMER_VECTOR ... 255 : special interrupts
33 * IDT vectors usable for external interrupt sources start at 0x20.
48 * Vectors 0x30-0x3f are used for ISA interrupts.
54 * Special IRQ vectors used by the SMP architecture, 0xf0-0xff
56 * some of the following vectors are 'rare', they are merged
58 * TLB, reschedule and local APIC vectors are performance-critical.
/Linux-v5.15/tools/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 ... LOCAL_TIMER_VECTOR-1
22 * Vectors LOCAL_TIMER_VECTOR ... 255 : special interrupts
33 * IDT vectors usable for external interrupt sources start at 0x20.
48 * Vectors 0x30-0x3f are used for ISA interrupts.
54 * Special IRQ vectors used by the SMP architecture, 0xf0-0xff
56 * some of the following vectors are 'rare', they are merged
58 * TLB, reschedule and local APIC vectors are performance-critical.
/Linux-v5.15/kernel/irq/
Daffinity.c122 * The actual allocated total vectors may be less than @numvecs when
160 * Allocate vectors for each node according to the ratio of this in alloc_nodes_vectors()
171 * One perfect invariant is that number of allocated vectors for in alloc_nodes_vectors()
268 * number of vectors we just spread the vectors across the nodes. in __irq_build_affinity_masks()
308 /* Spread allocated vectors on CPUs of the current node */ in __irq_build_affinity_masks()
312 /* Account for extra vectors to compensate rounding errors */ in __irq_build_affinity_masks()
335 * 1) spread present CPU on these vectors
336 * 2) spread other possible CPUs on these vectors
373 * out vectors. in irq_build_affinity_masks()
410 * @nvecs: The total number of vectors
[all …]
/Linux-v5.15/arch/x86/include/asm/xen/
Dpci.h51 int (*enable_msi)(struct pci_dev *dev, int vectors[]);
53 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec);
60 int vectors[]) in xen_pci_frontend_enable_msi() argument
63 return xen_pci_frontend->enable_msi(dev, vectors); in xen_pci_frontend_enable_msi()
72 int vectors[], int nvec) in xen_pci_frontend_enable_msix() argument
75 return xen_pci_frontend->enable_msix(dev, vectors, nvec); in xen_pci_frontend_enable_msix()
/Linux-v5.15/include/linux/
Dsh_intc.h84 struct intc_vect *vectors; member
102 #define INTC_HW_DESC(vectors, groups, mask_regs, \ argument
105 _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \
120 #define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, \ argument
124 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
128 #define DECLARE_INTC_DESC_ACK(symbol, chipname, vectors, groups, \ argument
132 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
/Linux-v5.15/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-v5.15/Documentation/devicetree/bindings/pci/
Daltera-pcie-msi.txt9 "vector_slave": vectors slave port region
13 - num-vectors: number of vectors, range 1 to 32.
26 num-vectors = <32>;
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
/Linux-v5.15/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-v5.15/arch/arm/include/asm/
Dvmlinux.lds.h109 * The vectors and stubs are relocatable code, and the
114 .vectors 0xffff0000 : AT(__vectors_start) { \
115 *(.vectors) \
117 . = __vectors_start + SIZEOF(.vectors); \
121 .stubs ADDR(.vectors) + 0x1000 : AT(__stubs_start) { \
127 PROVIDE(vector_fiq_offset = vector_fiq - ADDR(.vectors));
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c726 * ixgbe_acquire_msix_vectors - acquire MSI-X vectors
730 * return a negative error code if unable to acquire MSI-X vectors for any
736 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local
741 vectors = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbe_acquire_msix_vectors()
742 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors()
744 /* It is easy to be greedy for MSI-X vectors. However, it really in ixgbe_acquire_msix_vectors()
745 * doesn't do much good if we have a lot more vectors than CPUs. We'll in ixgbe_acquire_msix_vectors()
747 * of vectors as there are CPUs. in ixgbe_acquire_msix_vectors()
749 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors()
751 /* Some vectors are necessary for non-queue interrupts */ in ixgbe_acquire_msix_vectors()
[all …]
/Linux-v5.15/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-v5.15/drivers/vdpa/virtio_pci/
Dvp_vdpa.c41 int vectors; member
100 if (vp_vdpa->vectors) { in vp_vdpa_free_irq()
102 vp_vdpa->vectors = 0; in vp_vdpa_free_irq()
132 int vectors = queues + 1; in vp_vdpa_request_irq() local
134 ret = pci_alloc_irq_vectors(pdev, vectors, vectors, PCI_IRQ_MSIX); in vp_vdpa_request_irq()
135 if (ret != vectors) { in vp_vdpa_request_irq()
137 "vp_vdpa: fail to allocate irq vectors want %d but %d\n", in vp_vdpa_request_irq()
138 vectors, ret); in vp_vdpa_request_irq()
142 vp_vdpa->vectors = vectors; in vp_vdpa_request_irq()
473 "Failed for adding devres for freeing irq vectors\n"); in vp_vdpa_probe()
/Linux-v5.15/Documentation/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-v5.15/arch/ia64/include/asm/
Dhw_irq.h42 * Vectors 0x10-0x1f are used for low priority interrupts, e.g. CMCI.
49 * Vectors 0x20-0x2f are reserved for legacy ISA IRQs.
50 * Use vectors 0x30-0xe7 as the default device vector range for ia64.
59 /* Reserve the lower priority vector than device vectors for "move IRQ" IPI */
141 * vectors. On smaller systems, there is a one-to-one correspondence between interrupt
142 * vectors and the Linux irq numbers. However, larger systems may have multiple interrupt
/Linux-v5.15/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-v5.15/tools/testing/selftests/kvm/lib/aarch64/
Dhandlers.S65 .global vectors
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-v5.15/arch/arm/kernel/
Dtraps.c510 * bad_mode handles the impossible case in the vectors. If you see one of
770 static void __init kuser_init(void *vectors) in kuser_init() argument
775 memcpy(vectors + 0x1000 - kuser_sz, __kuser_helper_start, kuser_sz); in kuser_init()
778 * vectors + 0xfe0 = __kuser_get_tls in kuser_init()
779 * vectors + 0xfe8 = hardware TLS instruction at 0xffff0fe8 in kuser_init()
782 memcpy(vectors + 0xfe0, vectors + 0xfe8, 4); in kuser_init()
785 static inline void __init kuser_init(void *vectors) in kuser_init() argument
793 unsigned long vectors = (unsigned long)vectors_base; in early_trap_init() local
801 * Poison the vectors page with an undefined instruction. This in early_trap_init()
810 * Copy the vectors, stubs and kuser helpers (in entry-armv.S) in early_trap_init()
[all …]
/Linux-v5.15/arch/xtensa/
DKconfig574 Unpacked kernel image (including vectors) must be located completely
603 prompt "Relocatable vectors location"
606 Choose whether relocatable vectors are merged into the kernel .text
608 configurations without VECBASE register where vectors are always
612 bool "Merge relocatable vectors into kernel text"
615 This option puts relocatable vectors into the kernel .text section
620 bool "Put relocatable vectors at fixed address"
622 This option puts relocatable vectors at specific virtual address.
623 Vectors are merged with the .init data in the kernel image and
625 Use it to put vectors into IRAM or out of FLASH on kernels with
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/pci/isp/modes/interface/
Disp_const.h75 Four FPGA vectors are required and
99 * ((width[vectors]/num_of_stripes) + 2[vectors])
164 /* [isp vmem] table size[vectors] per line per color (GR,R,B,GB),
170 /* [isp vmem] table size[vectors] per line for 4colors (GR,R,B,GB),
/Linux-v5.15/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-v5.15/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
321 /* Clearing interrupts for processed error vectors */ in elm_error_correction()
334 * @err_vec: elm error vectors
336 * Called with one or more error reported vectors & vectors with
373 /* All error vectors processed */ in elm_isr()
/Linux-v5.15/drivers/virtio/
Dvirtio_pci_common.h71 /* Number of available vectors */
73 /* Vectors allocated, excluding per-vq vectors if any */
93 * virtqueues Thus, we need at least 2 vectors for MSI. */

12345678910>>...27