Home
last modified time | relevance | path

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

123456

/Linux-v5.15/arch/m68k/kernel/
Dvectors.c39 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()
83 vectors[i] = trap; in trap_init()
86 vectors[i] = bad_inthandler; 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()
DMakefile20 obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o
21 obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
/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/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>;
/Linux-v5.15/arch/arm/include/asm/
Dvmlinux.lds.h114 .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/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/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c736 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()
749 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors()
752 vectors += NON_Q_VECTORS; in ixgbe_acquire_msix_vectors()
760 vectors = min_t(int, vectors, hw->mac.max_msix_vectors); in ixgbe_acquire_msix_vectors()
767 adapter->msix_entries = kcalloc(vectors, in ixgbe_acquire_msix_vectors()
773 for (i = 0; i < vectors; i++) in ixgbe_acquire_msix_vectors()
776 vectors = pci_enable_msix_range(adapter->pdev, adapter->msix_entries, in ixgbe_acquire_msix_vectors()
777 vector_threshold, vectors); in ixgbe_acquire_msix_vectors()
[all …]
/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()
138 vectors, ret); in vp_vdpa_request_irq()
142 vp_vdpa->vectors = vectors; in vp_vdpa_request_irq()
/Linux-v5.15/arch/arm/kernel/
Dtraps.c770 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()
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
814 memcpy((void *)vectors, __vectors_start, __vectors_end - __vectors_start); in early_trap_init()
815 memcpy((void *)vectors + 0x1000, __stubs_start, __stubs_end - __stubs_start); in early_trap_init()
819 flush_icache_range(vectors, vectors + PAGE_SIZE * 2); in early_trap_init()
/Linux-v5.15/arch/sh/boards/mach-se/7721/
Dirq.c20 static struct intc_vect vectors[] __initdata = { variable
29 static DECLARE_INTC_DESC(intc_desc, "SE7721", vectors,
/Linux-v5.15/Documentation/x86/
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
/Linux-v5.15/arch/sh/boards/mach-highlander/
Dirq-r7780rp.c29 static struct intc_vect vectors[] __initdata = { variable
52 static DECLARE_INTC_DESC(intc_desc, "r7780rp", vectors,
Dirq-r7780mp.c31 static struct intc_vect vectors[] __initdata = { variable
59 static DECLARE_INTC_DESC(intc_desc, "r7780mp", vectors,
Dirq-r7785rp.c29 static struct intc_vect vectors[] __initdata = { variable
61 static DECLARE_INTC_DESC(intc_desc, "r7785rp", vectors,
/Linux-v5.15/drivers/sh/intc/
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()
/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/m68k/sun3x/
Dprom.c54 asm volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in sun3x_halt()
117 vectors[VEC_TRAP14] = sun3x_prom_abort; in sun3x_prom_init()
/Linux-v5.15/arch/m68k/atari/
Dataints.c105 vectors[VEC_INT4] = falcon_hblhandler; in atari_irq_shutdown()
317 vectors[VEC_INT2] = falcon_hblhandler; in atari_init_IRQ()
318 vectors[VEC_INT4] = falcon_hblhandler; in atari_init_IRQ()
/Linux-v5.15/arch/sh/kernel/cpu/sh4/
Dsetup-sh4-202.c92 static struct intc_vect vectors[] __initdata = { variable
110 static DECLARE_INTC_DESC(intc_desc, "sh4-202", vectors, NULL,
/Linux-v5.15/arch/arm64/kvm/hyp/vhe/
Dswitch.c71 extern char vectors[]; /* kernel exception vectors */ in __deactivate_traps()
85 write_sysreg(vectors, vbar_el1); in __deactivate_traps()
/Linux-v5.15/Documentation/virt/kvm/arm/
Dhyp-abi.rst34 r1/x1 = vectors
36 Set HVBAR/VBAR_EL2 to 'vectors' to enable a hypervisor. 'vectors'
/Linux-v5.15/tools/testing/selftests/kvm/lib/aarch64/
Dhandlers.S65 .global vectors
66 vectors: label
/Linux-v5.15/arch/sh/kernel/cpu/sh3/
Dsetup-sh7705.c34 static struct intc_vect vectors[] __initdata = { variable
67 static DECLARE_INTC_DESC(intc_desc, "sh7705", vectors, NULL,

123456