Home
last modified time | relevance | path

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

12345678

/linux-6.15/arch/m68k/kernel/
H A Dvectors.c42 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 …]
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()
H A DMakefile14 obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o
15 obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
/linux-6.15/arch/arm/include/asm/
H A Dvmlinux.lds.h133 .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); \
146 . = __vectors_lma + SIZEOF(.vectors) + \
147 SIZEOF(.vectors.bhb.loop8) + \
[all …]
/linux-6.15/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
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()
141 vectors->info_array = hbg_irqs; in hbg_irq_init()
142 vectors->info_array_len = ARRAY_SIZE(hbg_irqs); in hbg_irq_init()
H A Dhbg_diagnose.c231 static u64 hbg_get_irq_stats(struct hbg_vector *vectors, u32 mask) in hbg_get_irq_stats() argument
235 for (i = 0; i < vectors->info_array_len; i++) in hbg_get_irq_stats()
236 if (vectors->info_array[i].mask == mask) in hbg_get_irq_stats()
237 return vectors->stats_array[i]; in hbg_get_irq_stats()
248 struct hbg_vector *vectors = &priv->vectors; in hbg_push_irq_cnt() local
264 data[i + 1] = hbg_get_irq_stats(vectors, info->mask); in hbg_push_irq_cnt()
H A Dhbg_debugfs.c67 for (i = 0; i < priv->vectors.info_array_len; i++) { in hbg_dbg_irq_info()
68 info = &priv->vectors.info_array[i]; in hbg_dbg_irq_info()
76 priv->vectors.stats_array[i]); in hbg_dbg_irq_info()
/linux-6.15/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-6.15/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-6.15/drivers/net/ethernet/intel/ice/
H A Dice_irq.c132 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()
/linux-6.15/Documentation/devicetree/bindings/pci/
H A Daltr,msi-controller.yaml33 num-vectors:
34 description: number of vectors
45 - num-vectors
64 num-vectors = <32>;
H A Dmediatek-pcie-gen3.yaml16 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-6.15/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()
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-6.15/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-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c740 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local
746 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors()
753 vectors = min_t(int, vectors, num_online_cpus()); in ixgbe_acquire_msix_vectors()
756 vectors += NON_Q_VECTORS; in ixgbe_acquire_msix_vectors()
764 vectors = min_t(int, vectors, hw->mac.max_msix_vectors); in ixgbe_acquire_msix_vectors()
777 for (i = 0; i < vectors; i++) in ixgbe_acquire_msix_vectors()
781 vector_threshold, vectors); in ixgbe_acquire_msix_vectors()
783 if (vectors < 0) { in ixgbe_acquire_msix_vectors()
788 vectors); in ixgbe_acquire_msix_vectors()
794 return vectors; in ixgbe_acquire_msix_vectors()
[all …]
/linux-6.15/drivers/vdpa/virtio_pci/
H A Dvp_vdpa.c43 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-6.15/drivers/irqchip/
H A Dirq-riscv-imsic-state.c139 vec = &lpriv->vectors[i]; in __imsic_local_sync()
180 NULL : &lpriv->vectors[mvec->local_id]; in __imsic_local_sync()
297 if (WARN_ON_ONCE(&lpriv->vectors[vec->local_id] != vec)) in imsic_vector_mask()
319 if (WARN_ON_ONCE(&lpriv->vectors[vec->local_id] != vec)) in imsic_vector_unmask()
413 if (WARN_ON_ONCE(&lpriv->vectors[vec->local_id] != vec)) in imsic_vector_debug_show()
444 return &lpriv->vectors[local_id]; in imsic_vector_from_local_id()
462 vec = &lpriv->vectors[local_id]; in imsic_vector_alloc()
490 kfree(lpriv->vectors); in imsic_local_cleanup()
525 lpriv->vectors = kcalloc(global->nr_ids + 1, sizeof(*lpriv->vectors), in imsic_local_init()
527 if (!lpriv->vectors) in imsic_local_init()
[all …]
/linux-6.15/arch/sh/boards/mach-se/7721/
H A Dirq.c20 static struct intc_vect vectors[] __initdata = { variable
29 static DECLARE_INTC_DESC(intc_desc, "SE7721", vectors,
/linux-6.15/Documentation/devicetree/bindings/interrupt-controller/
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-6.15/Documentation/arch/x86/
H A 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-6.15/fs/xfs/scrub/
H A Dscrub.c830 const struct xfs_scrub_vec *vectors, in xfs_scrubv_check_barrier() argument
838 for (v = vectors; v < stop_vec; v++) { in xfs_scrubv_check_barrier()
906 struct xfs_scrub_vec *vectors; in xfs_ioc_scrubv_metadata() local
934 vectors = memdup_user(uvectors, vec_bytes); in xfs_ioc_scrubv_metadata()
935 if (IS_ERR(vectors)) in xfs_ioc_scrubv_metadata()
936 return PTR_ERR(vectors); in xfs_ioc_scrubv_metadata()
940 for (i = 0, v = vectors; i < head.svh_nr; i++, v++) { in xfs_ioc_scrubv_metadata()
967 for (i = 0, v = vectors; i < head.svh_nr; i++, v++) { in xfs_ioc_scrubv_metadata()
977 v->sv_ret = xfs_scrubv_check_barrier(mp, vectors, v); in xfs_ioc_scrubv_metadata()
1006 if (copy_to_user(uvectors, vectors, vec_bytes) || in xfs_ioc_scrubv_metadata()
[all …]
/linux-6.15/arch/sh/boards/mach-highlander/
H A Dirq-r7780rp.c29 static struct intc_vect vectors[] __initdata = { variable
52 static DECLARE_INTC_DESC(intc_desc, "r7780rp", vectors,
H A Dirq-r7780mp.c31 static struct intc_vect vectors[] __initdata = { variable
59 static DECLARE_INTC_DESC(intc_desc, "r7780mp", vectors,
/linux-6.15/drivers/sh/intc/
H A 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-6.15/Documentation/PCI/
H A 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
137 vectors supported beforehand::
180 vectors: pci_msi_vec_count() and pci_msix_vec_count(). In general these
[all …]

12345678