| /linux/arch/m68k/kernel/ |
| H A D | vectors.c | 2 * 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 …]
|
| H A D | ints.c | 133 vectors[VEC_SPUR + irq] = auto_inthandler; in m68k_irq_startup_irq() 135 vectors[m68k_first_user_vec + irq - IRQ_USER] = user_inthandler; in m68k_irq_startup_irq() 149 vectors[VEC_SPUR + irq] = bad_inthandler; in m68k_irq_shutdown() 151 vectors[m68k_first_user_vec + irq - IRQ_USER] = bad_inthandler; in m68k_irq_shutdown()
|
| /linux/arch/arm/include/asm/ |
| H A D | vmlinux.lds.h | 127 * 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/drivers/net/ethernet/hisilicon/hibmcge/ |
| H A D | hbg_irq.c | 74 for (i = 0; i < priv->vectors.info_array_len; i++) { in hbg_irq_handle() 75 info = &priv->vectors.info_array[i]; in hbg_irq_handle() 83 priv->vectors.stats_array[i]++; in hbg_irq_handle() 100 struct hbg_vector *vectors = &priv->vectors; in hbg_irq_init() local 105 /* used pcim_enable_device(), so the vectors become device managed */ in hbg_irq_init() 109 return dev_err_probe(dev, ret, "failed to allocate vectors\n"); in hbg_irq_init() 124 snprintf(vectors->name[i], sizeof(vectors->name[i]), "%s-%s-%s", in hbg_irq_init() 129 vectors->name[i], priv); in hbg_irq_init() 136 vectors->stats_array = devm_kcalloc(&priv->pdev->dev, in hbg_irq_init() 139 if (!vectors->stats_array) in hbg_irq_init() [all …]
|
| H A D | hbg_diagnose.c | 232 static u64 hbg_get_irq_stats(struct hbg_vector *vectors, u32 mask) in hbg_get_irq_stats() argument 236 for (i = 0; i < vectors->info_array_len; i++) in hbg_get_irq_stats() 237 if (vectors->info_array[i].mask == mask) in hbg_get_irq_stats() 238 return vectors->stats_array[i]; in hbg_get_irq_stats() 249 struct hbg_vector *vectors = &priv->vectors; in hbg_push_irq_cnt() local 265 data[i + 1] = hbg_get_irq_stats(vectors, info->mask); in hbg_push_irq_cnt()
|
| /linux/rust/kernel/pci/ |
| H A D | irq.rs | 90 /// - `dev` must point to a [`Device`] that has successfully allocated IRQ vectors. 117 /// This type ensures that IRQ vectors are properly allocated and freed by 122 /// The [`Device`] has successfully allocated IRQ vectors. 128 /// Allocate and register IRQ vectors for the given PCI device. 130 /// Allocates IRQ vectors and registers them with devres for automatic cleanup. 131 /// Returns a range of valid IRQ vectors. 151 // - `pci_alloc_irq_vectors` returns the number of allocated vectors on success. in register() 152 // - Vectors are 0-based, so valid indices are [0, count-1]. in register() 169 // - `self.dev` has successfully allocated IRQ vectors. in drop() 207 /// Allocate IRQ vectors for this PCI device with automatic cleanup. [all …]
|
| /linux/arch/arm64/include/asm/ |
| H A D | vectors.h | 13 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/tools/arch/x86/include/asm/ |
| H A D | irq_vectors.h | |
| /linux/tools/perf/trace/beauty/arch/x86/include/asm/ |
| H A D | irq_vectors.h | 18 * 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/Documentation/admin-guide/hw-vuln/ |
| H A D | attack_vector_controls.rst | 8 Administrators are encouraged to consider which attack vectors are relevant and 16 Attack Vectors 27 To control the enabled attack vectors, see :ref:`cmdline`. 134 Attack vectors are controlled through the mitigations= command line option. The 136 or more options to disable various attack vectors. 140 | ``mitigations=[global],[attack vectors]`` 147 'off' All attack vectors disabled. 148 'auto' All attack vectors enabled, partial cross-thread mitigations. 149 'auto,nosmt' All attack vectors enabled, full cross-thread mitigations. 166 'off' is equivalent to disabling all attack vectors. [all …]
|
| /linux/arch/x86/include/asm/xen/ |
| H A D | pci.h | 32 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/include/linux/ |
| H A D | sh_intc.h | 84 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/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | altr,msi-controller.yaml | 21 - description: Vectors slave port region 33 num-vectors: 34 description: number of vectors 45 - num-vectors 64 num-vectors = <32>;
|
| H A D | mti,gic.yaml | 40 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/arch/arm/ |
| H A D | Kconfig-nommu | 40 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/drivers/net/ethernet/intel/ice/ |
| H A D | ice_irq.c | 11 * @max_vectors: maximum number of vectors that tracker can hold 133 int vectors; in ice_init_interrupt_scheme() local 147 vectors = pf->msix.min; in ice_init_interrupt_scheme() 149 vectors = pf->msix.max; in ice_init_interrupt_scheme() 151 vectors = pci_alloc_irq_vectors(pf->pdev, pf->msix.min, vectors, in ice_init_interrupt_scheme() 153 if (vectors < 0) in ice_init_interrupt_scheme() 154 return vectors; in ice_init_interrupt_scheme() 156 ice_init_irq_tracker(pf, pf->msix.max, vectors); in ice_init_interrupt_scheme()
|
| H A D | ice_irq.h | 14 u16 num_entries; /* total vectors available */ 22 * number of MSIX vectors needed for all SR-IOV VFs from the number of 23 * MSIX vectors allowed on this PF.
|
| /linux/net/dccp/ |
| H A D | ackvec.h | |
| /linux/drivers/vdpa/virtio_pci/ |
| H A D | vp_vdpa.c | 43 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/Documentation/arch/x86/ |
| H A D | elf_auxvec.rst | 4 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/arch/x86/crypto/ |
| H A D | aes-ctr-avx-x86_64.S | 107 // XOR two vectors together. 194 // Prepare the next two vectors of AES inputs in AESDATA\i0 and AESDATA\i1, and 225 // Do all AES rounds on the data in the given AESDATA vectors, excluding the 239 // Finalize the keystream blocks in the given AESDATA vectors by doing the last 253 // XOR the keystream blocks in the specified AESDATA vectors with the 370 // This is the main loop, which encrypts 8 vectors of data at a time. 388 // 1 <= LEN < 8*VL. Generate 2, 4, or 8 more vectors of keystream 396 // 4*VL < LEN < 8*VL. Generate 8 vectors of keystream blocks. Use the 397 // first 4 to XOR 4 full vectors of data. Then XOR the remaining data. 427 // 2*VL < LEN <= 4*VL. Generate 4 vectors of keystream blocks. Use the [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | omap_elm.c | 159 * @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()
|
| /linux/arch/sh/boards/mach-highlander/ |
| H A D | irq-r7780rp.c | 29 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/net/sctp/ |
| H A D | auth.c | 133 /* Compare two byte vectors as numbers. Return values 135 * 0 - vectors are equal 141 * If the key vectors are equal as numbers but differ in length ... 177 * parameter sent by each endpoint are concatenated as byte vectors. 182 * omitted from the concatenation process. The resulting two vectors 183 * are called the two key vectors. 246 * From the endpoint pair shared keys and the key vectors the 300 /* Now we need to build the key vectors in sctp_auth_asoc_create_secret() 303 * parameter sent by each endpoint are concatenated as byte vectors. in sctp_auth_asoc_create_secret() 308 * omitted from the concatenation process. The resulting two vectors in sctp_auth_asoc_create_secret() [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | machvec_impl.h | 7 * This file has goodies to help simplify instantiation of machine vectors. 103 * In a GENERIC kernel, we have lots of these vectors floating about, 107 * Accomplish this in the GENERIC kernel by putting all of the vectors 112 * one of the vectors, which will not reside in .init.data. We then
|