/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/drivers/net/ethernet/intel/ice/ |
H A D | ice_irq.c | 11 * @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/arch/arm/include/asm/ |
H A D | vmlinux.lds.h | 121 * The vectors and stubs are relocatable code, and the 127 .vectors { \ 128 *(.vectors) \ 130 .vectors.bhb.loop8 { \ 131 *(.vectors.bhb.loop8) \ 133 .vectors.bhb.bpiall { \ 134 *(.vectors.bhb.bpiall) \ 137 ARM_LMA(__vectors, .vectors); \ 138 ARM_LMA(__vectors_bhb_loop8, .vectors.bhb.loop8); \ 139 ARM_LMA(__vectors_bhb_bpiall, .vectors.bhb.bpiall); \ [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/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/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/kernel/irq/ |
H A D | affinity.c | 20 * @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/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/pci/ |
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>;
|
/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/ixgbe/ |
H A D | ixgbe_lib.c | 729 * ixgbe_acquire_msix_vectors - acquire MSI-X vectors 733 * return a negative error code if unable to acquire MSI-X vectors for any 739 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local 744 vectors = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbe_acquire_msix_vectors() 745 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors() 747 /* It is easy to be greedy for MSI-X vectors. However, it really in ixgbe_acquire_msix_vectors() 748 * doesn't do much good if we have a lot more vectors than CPUs. We'll in ixgbe_acquire_msix_vectors() 750 * of vectors as there are CPUs. in ixgbe_acquire_msix_vectors() 752 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors() 754 /* Some vectors are necessary for non-queue interrupts */ in ixgbe_acquire_msix_vectors() [all …]
|
/linux/drivers/vdpa/alibaba/ |
H A D | eni_vdpa.c | 46 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/net/dccp/ |
H A D | ackvec.h | 7 * 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/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/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/devicetree/bindings/interrupt-controller/ |
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/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | handlers.S | 65 .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/arch/xtensa/ |
H A D | Kconfig | 657 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/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/drivers/irqchip/ |
H A D | irq-riscv-imsic-state.c | 138 vec = &lpriv->vectors[i]; in __imsic_local_sync() 159 imsic_vector_free(&lpriv->vectors[i]); in __imsic_local_sync() 242 if (WARN_ON_ONCE(&lpriv->vectors[vec->local_id] != vec)) in imsic_vector_mask() 264 if (WARN_ON_ONCE(&lpriv->vectors[vec->local_id] != vec)) in imsic_vector_unmask() 312 if (WARN_ON_ONCE(&old_lpriv->vectors[old_vec->local_id] != old_vec)) in imsic_vector_move() 316 if (WARN_ON_ONCE(&new_lpriv->vectors[new_vec->local_id] != new_vec)) in imsic_vector_move() 337 if (WARN_ON_ONCE(&lpriv->vectors[vec->local_id] != vec)) in imsic_vector_debug_show() 368 return &lpriv->vectors[local_id]; in imsic_vector_from_local_id() 386 vec = &lpriv->vectors[local_id]; in imsic_vector_alloc() 413 kfree(lpriv->vectors); in imsic_local_cleanup() [all …]
|
/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/drivers/net/ethernet/intel/idpf/ |
H A D | idpf.h | 283 * @num_q_vectors: Number of IRQ vectors allocated 284 * @q_vectors: Array of queue vectors 285 * @q_vector_idxs: Starting index of queue vectors 426 * @num_req_vecs: Vectors required based on the number of queues updated by the 428 * @num_curr_vecs: Current number of vectors, must be >= @num_req_vecs 429 * @index: Relative starting index for vectors 430 * @default_vport: Vectors are for default vport 451 * vectors are allocated per default vport and the relative vector indexes for 492 * @num_req_msix: Requested number of MSIX vectors 493 * @num_avail_msix: Available number of MSIX vectors [all …]
|