Home
last modified time | relevance | path

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

12345678910>>...28

/linux/arch/m68k/kernel/
H A 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 …]
H A Dints.c133 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 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/drivers/net/ethernet/hisilicon/hibmcge/
H A Dhbg_irq.c73 for (i = 0; i < priv->vectors.info_array_len; i++) { in hbg_irq_handle()
74 info = &priv->vectors.info_array[i]; in hbg_irq_handle()
82 priv->vectors.stats_array[i]++; in hbg_irq_handle()
99 struct hbg_vector *vectors = &priv->vectors; in hbg_irq_init() local
104 /* used pcim_enable_device(), so the vectors become device managed */ in hbg_irq_init()
108 return dev_err_probe(dev, ret, "failed to allocate vectors\n"); in hbg_irq_init()
123 snprintf(vectors->name[i], sizeof(vectors->name[i]), "%s-%s-%s", in hbg_irq_init()
128 vectors->name[i], priv); in hbg_irq_init()
135 vectors->stats_array = devm_kcalloc(&priv->pdev->dev, in hbg_irq_init()
138 if (!vectors->stats_array) in hbg_irq_init()
[all …]
H A Dhbg_diagnose.c232 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/drivers/pci/msi/
H A Dapi.c44 * free earlier allocated interrupt vectors, and restore INTx emulation.
63 * pci_msix_vec_count() - Get number of MSI-X interrupt vectors on device
66 * Return: number of MSI-X interrupt vectors available on this device
86 * @minvec: minimum required number of MSI-X vectors
87 * @maxvec: maximum desired number of MSI-X vectors
99 * Return: number of MSI-X vectors allocated (which might be smaller
100 * than @maxvecs), where Linux IRQ numbers for such allocated vectors
102 * -ENOSPC if less than @minvecs interrupt vectors are available.
186 * free earlier-allocated interrupt vectors, and restore INTx.
205 * pci_alloc_irq_vectors() - Allocate multiple device interrupt vectors
[all …]
/linux/tools/perf/trace/beauty/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 ... 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/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()
88 /* Fill out vectors at the end that don't need affinity */ in irq_create_affinity_masks()
104 * irq_calc_affinity_vectors - Calculate the optimal number of vectors
105 * @minvec: The minimum number of vectors available
106 * @maxvec: The maximum number of vectors available
/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()
/linux/Documentation/admin-guide/hw-vuln/
H A Dattack_vector_controls.rst8 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/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, \
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Daltr,msi-controller.yaml21 - description: Vectors slave port region
33 num-vectors:
34 description: number of vectors
45 - num-vectors
64 num-vectors = <32>;
H A 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/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
/linux/drivers/net/ethernet/intel/ice/
H A Dice_irq.c11 * @max_vectors: maximum number of vectors that tracker can hold
132 int vectors; in ice_init_interrupt_scheme() local
146 vectors = pf->msix.min; in ice_init_interrupt_scheme()
148 vectors = pf->msix.max; in ice_init_interrupt_scheme()
150 vectors = pci_alloc_irq_vectors(pf->pdev, pf->msix.min, vectors, in ice_init_interrupt_scheme()
152 if (vectors < 0) in ice_init_interrupt_scheme()
153 return vectors; in ice_init_interrupt_scheme()
155 ice_init_irq_tracker(pf, pf->msix.max, vectors); in ice_init_interrupt_scheme()
H A Dice_irq.h14 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/drivers/net/ethernet/intel/ixgbe/
H A 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/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()
384 VIRTIO_PCI_CONFIG_OFF(eni_vdpa->vectors) + in eni_vdpa_get_config()
[all …]
/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
/linux/tools/testing/selftests/kvm/lib/arm64/
H A 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/arch/x86/crypto/
H A Daes-ctr-avx-x86_64.S107 // 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/arch/xtensa/
H A DKconfig658 Unpacked kernel image (including vectors) must be located completely
687 prompt "Relocatable vectors location"
690 Choose whether relocatable vectors are merged into the kernel .text
692 configurations without VECBASE register where vectors are always
696 bool "Merge relocatable vectors into kernel text"
699 This option puts relocatable vectors into the kernel .text section
704 bool "Put relocatable vectors at fixed address"
706 This option puts relocatable vectors at specific virtual address.
707 Vectors are merged with the .init data in the kernel image and
709 Use it to put vectors into IRAM or out of FLASH on kernels with
[all …]
/linux/arch/sh/boards/mach-highlander/
H A 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/arch/m68k/
H A DKconfig.machine365 hex "Address of the base of system vectors"
368 Define the address of the system vectors. Commonly this is
402 processor vectors at the base of RAM and then the start of the
406 for the theoretical maximum number of 256 vectors.
418 hex "Address of the base of the ROM vectors"
423 68000 type variants the vectors are at the base of the boot device
432 is strait after the ROM vectors.
/linux/drivers/mtd/nand/raw/
H A 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>>...28