| /linux/arch/m68k/kernel/ |
| A D | vectors.c | 42 e_vector vectors[256]; variable 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() 85 if (!vectors[i]) in trap_init() 86 vectors[i] = trap; in trap_init() 89 vectors[i] = bad_inthandler; in trap_init() 93 vectors[VEC_LINE11] = fpu_emu; in trap_init() 108 vectors[VEC_FPDIVZ] = dz_vec; in trap_init() [all …]
|
| 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()
|
| A D | Makefile | 22 obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o 23 obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
|
| /linux/arch/arm/include/asm/ |
| A D | vmlinux.lds.h | 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); \ 140 . = __vectors_lma + SIZEOF(.vectors) + \ 141 SIZEOF(.vectors.bhb.loop8) + \ [all …]
|
| /linux/arch/x86/include/asm/xen/ |
| 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/ |
| 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/ |
| A D | altr,msi-controller.yaml | 33 num-vectors: 34 description: number of vectors 45 - num-vectors 64 num-vectors = <32>;
|
| A D | mediatek-pcie-gen3.yaml | 16 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/drivers/vdpa/alibaba/ |
| 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() 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() 400 VIRTIO_PCI_CONFIG_OFF(eni_vdpa->vectors) + in eni_vdpa_set_config()
|
| /linux/arch/arm/ |
| 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/ |
| A D | ixgbe_lib.c | 739 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local 745 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors() 752 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors() 755 vectors += NON_Q_VECTORS; in ixgbe_acquire_msix_vectors() 763 vectors = min_t(int, vectors, hw->mac.max_msix_vectors); in ixgbe_acquire_msix_vectors() 776 for (i = 0; i < vectors; i++) in ixgbe_acquire_msix_vectors() 780 vector_threshold, vectors); in ixgbe_acquire_msix_vectors() 782 if (vectors < 0) { in ixgbe_acquire_msix_vectors() 787 vectors); in ixgbe_acquire_msix_vectors() 793 return vectors; in ixgbe_acquire_msix_vectors() [all …]
|
| /linux/drivers/irqchip/ |
| 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() 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() 448 lpriv->vectors = kcalloc(global->nr_ids + 1, sizeof(*lpriv->vectors), in imsic_local_init() 450 if (!lpriv->vectors) in imsic_local_init() [all …]
|
| /linux/drivers/vdpa/virtio_pci/ |
| 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() 175 vectors, ret); in vp_vdpa_request_irq() 179 vp_vdpa->vectors = vectors; in vp_vdpa_request_irq()
|
| /linux/fs/xfs/scrub/ |
| A D | scrub.c | 756 const struct xfs_scrub_vec *vectors, in xfs_scrubv_check_barrier() argument 764 for (v = vectors; v < stop_vec; v++) { in xfs_scrubv_check_barrier() 832 struct xfs_scrub_vec *vectors; in xfs_ioc_scrubv_metadata() local 860 vectors = memdup_user(uvectors, vec_bytes); in xfs_ioc_scrubv_metadata() 861 if (IS_ERR(vectors)) in xfs_ioc_scrubv_metadata() 862 return PTR_ERR(vectors); in xfs_ioc_scrubv_metadata() 866 for (i = 0, v = vectors; i < head.svh_nr; i++, v++) { in xfs_ioc_scrubv_metadata() 893 for (i = 0, v = vectors; i < head.svh_nr; i++, v++) { in xfs_ioc_scrubv_metadata() 903 v->sv_ret = xfs_scrubv_check_barrier(mp, vectors, v); in xfs_ioc_scrubv_metadata() 932 if (copy_to_user(uvectors, vectors, vec_bytes) || in xfs_ioc_scrubv_metadata() [all …]
|
| /linux/arch/sh/boards/mach-se/7721/ |
| A D | irq.c | 20 static struct intc_vect vectors[] __initdata = { variable 29 static DECLARE_INTC_DESC(intc_desc, "SE7721", vectors,
|
| /linux/drivers/net/ethernet/intel/ice/ |
| A D | ice_irq.c | 255 int vectors, max_vectors; in ice_init_interrupt_scheme() local 257 vectors = ice_ena_msix_range(pf); in ice_init_interrupt_scheme() 259 if (vectors < 0) in ice_init_interrupt_scheme() 265 max_vectors = vectors; in ice_init_interrupt_scheme() 267 ice_init_irq_tracker(pf, max_vectors, vectors); in ice_init_interrupt_scheme()
|
| /linux/Documentation/devicetree/bindings/interrupt-controller/ |
| 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/Documentation/arch/x86/ |
| A D | elf_auxvec.rst | 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/sh/boards/mach-highlander/ |
| A D | irq-r7780rp.c | 29 static struct intc_vect vectors[] __initdata = { variable 52 static DECLARE_INTC_DESC(intc_desc, "r7780rp", vectors,
|
| A D | irq-r7780mp.c | 31 static struct intc_vect vectors[] __initdata = { variable 59 static DECLARE_INTC_DESC(intc_desc, "r7780mp", vectors,
|
| A D | irq-r7785rp.c | 29 static struct intc_vect vectors[] __initdata = { variable 61 static DECLARE_INTC_DESC(intc_desc, "r7785rp", vectors,
|
| /linux/drivers/sh/intc/ |
| A D | irqdomain.c | 52 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/Documentation/PCI/ |
| A D | msi-howto.rst | 93 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 137 vectors supported beforehand:: 180 vectors: pci_msi_vec_count() and pci_msix_vec_count(). In general these [all …]
|
| /linux/arch/m68k/sun3x/ |
| A D | prom.c | 54 asm volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in sun3x_halt() 117 vectors[VEC_TRAP14] = sun3x_prom_abort; in sun3x_prom_init()
|
| /linux/arch/m68k/atari/ |
| A D | ataints.c | 104 vectors[VEC_INT4] = falcon_hblhandler; in atari_irq_shutdown() 312 vectors[VEC_INT2] = falcon_hblhandler; in atari_init_IRQ() 313 vectors[VEC_INT4] = falcon_hblhandler; in atari_init_IRQ()
|