Home
last modified time | relevance | path

Searched refs:vectors (Results 1 - 25 of 179) sorted by relevance

12345678

/kernel/linux/linux-5.10/arch/m68k/kernel/
H A Dvectors.c2 * vectors.c
18 * Sets up all exception vectors
39 e_vector vectors[256]; variable
60 __asm__ volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in base_trap_init()
66 vectors[VEC_UNIMPII] = unimp_vec; in base_trap_init()
69 vectors[VEC_BUSERR] = buserr; in base_trap_init()
70 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
71 vectors[VEC_SYS] = system_call; in base_trap_init()
79 vectors[i] = bad_inthandler; in trap_init()
82 if (!vectors[ in trap_init()
[all...]
H A Dints.c131 vectors[VEC_SPUR + irq] = auto_inthandler; in m68k_irq_startup_irq()
133 vectors[m68k_first_user_vec + irq - IRQ_USER] = user_inthandler; in m68k_irq_startup_irq()
147 vectors[VEC_SPUR + irq] = bad_inthandler; in m68k_irq_shutdown()
149 vectors[m68k_first_user_vec + irq - IRQ_USER] = bad_inthandler; in m68k_irq_shutdown()
H A DMakefile20 obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o
21 obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o
/kernel/linux/linux-6.6/arch/m68k/kernel/
H A Dvectors.c2 * vectors.c
18 * Sets up all exception vectors
39 e_vector vectors[256]; variable
60 __asm__ volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in base_trap_init()
66 vectors[VEC_UNIMPII] = unimp_vec; in base_trap_init()
69 vectors[VEC_BUSERR] = buserr; in base_trap_init()
70 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
71 vectors[VEC_SYS] = system_call; in base_trap_init()
79 vectors[i] = bad_inthandler; in trap_init()
82 if (!vectors[ in trap_init()
[all...]
H A Dints.c131 vectors[VEC_SPUR + irq] = auto_inthandler; in m68k_irq_startup_irq()
133 vectors[m68k_first_user_vec + irq - IRQ_USER] = user_inthandler; in m68k_irq_startup_irq()
147 vectors[VEC_SPUR + irq] = bad_inthandler; in m68k_irq_shutdown()
149 vectors[m68k_first_user_vec + irq - IRQ_USER] = bad_inthandler; in m68k_irq_shutdown()
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dvmlinux.lds.h121 * 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
[all...]
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dvmlinux.lds.h127 * The vectors and stubs are relocatable code, and the
133 .vectors { \
134 *(.vectors) \
136 .vectors.bhb.loop8 { \
137 *(.vectors.bhb.loop8) \
139 .vectors.bhb.bpiall { \
140 *(.vectors.bhb.bpiall) \
143 ARM_LMA(__vectors, .vectors); \
144 ARM_LMA(__vectors_bhb_loop8, .vectors.bhb.loop8); \
145 ARM_LMA(__vectors_bhb_bpiall, .vectors
[all...]
/kernel/linux/linux-6.6/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()
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()
56 return xen_pci_frontend->enable_msix(dev, vectors, nvec); in xen_pci_frontend_enable_msix()
40 xen_pci_frontend_enable_msi(struct pci_dev *dev, int vectors[]) xen_pci_frontend_enable_msi() argument
52 xen_pci_frontend_enable_msix(struct pci_dev *dev, int vectors[], int nvec) xen_pci_frontend_enable_msix() argument
/kernel/linux/linux-5.10/arch/x86/include/asm/xen/
H A Dpci.h48 int (*enable_msi)(struct pci_dev *dev, int vectors[]);
50 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec);
57 int vectors[]) in xen_pci_frontend_enable_msi()
60 return xen_pci_frontend->enable_msi(dev, vectors); in xen_pci_frontend_enable_msi()
69 int vectors[], int nvec) in xen_pci_frontend_enable_msix()
72 return xen_pci_frontend->enable_msix(dev, vectors, nvec); in xen_pci_frontend_enable_msix()
56 xen_pci_frontend_enable_msi(struct pci_dev *dev, int vectors[]) xen_pci_frontend_enable_msi() argument
68 xen_pci_frontend_enable_msix(struct pci_dev *dev, int vectors[], int nvec) xen_pci_frontend_enable_msix() argument
/kernel/linux/linux-5.10/include/linux/
H A Dsh_intc.h84 struct intc_vect *vectors; member
105 #define INTC_HW_DESC(vectors, groups, mask_regs, \
108 _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \
123 #define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, \
127 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
131 #define DECLARE_INTC_DESC_ACK(symbol, chipname, vectors, groups, \
135 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
/kernel/linux/linux-6.6/include/linux/
H A Dsh_intc.h84 struct intc_vect *vectors; member
105 #define INTC_HW_DESC(vectors, groups, mask_regs, \
108 _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \
123 #define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, \
127 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
131 #define DECLARE_INTC_DESC_ACK(symbol, chipname, vectors, groups, \
135 .hw = INTC_HW_DESC(vectors, groups, mask_regs, \
/kernel/linux/linux-6.6/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 in eni_vdpa_request_irq()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c725 * ixgbe_acquire_msix_vectors - acquire MSI-X vectors
729 * return a negative error code if unable to acquire MSI-X vectors for any
735 int i, vectors, vector_threshold; in ixgbe_acquire_msix_vectors() local
740 vectors = max(adapter->num_rx_queues, adapter->num_tx_queues); in ixgbe_acquire_msix_vectors()
741 vectors = max(vectors, adapter->num_xdp_queues); in ixgbe_acquire_msix_vectors()
743 /* It is easy to be greedy for MSI-X vectors. However, it really in ixgbe_acquire_msix_vectors()
744 * doesn't do much good if we have a lot more vectors than CPUs. We'll in ixgbe_acquire_msix_vectors()
746 * of vectors as there are CPUs. in ixgbe_acquire_msix_vectors()
748 vectors in ixgbe_acquire_msix_vectors()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c729 * 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 in ixgbe_acquire_msix_vectors()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_irq.c11 * @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
255 int vectors, max_vectors; ice_init_interrupt_scheme() local
[all...]
/kernel/linux/linux-6.6/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 = queues + 1; in vp_vdpa_request_irq() local
165 ret = pci_alloc_irq_vectors(pdev, vectors, vectors, PCI_IRQ_MSIX); in vp_vdpa_request_irq()
166 if (ret != vectors) { in vp_vdpa_request_irq()
168 "vp_vdpa: fail to allocate irq vectors want %d but %d\n", in vp_vdpa_request_irq()
169 vectors, ret); in vp_vdpa_request_irq()
173 vp_vdpa->vectors in vp_vdpa_request_irq()
[all...]
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/7721/
H A Dirq.c20 static struct intc_vect vectors[] __initdata = {
29 static DECLARE_INTC_DESC(intc_desc, "SE7721", vectors,
/kernel/linux/linux-6.6/arch/sh/boards/mach-se/7721/
H A Dirq.c20 static struct intc_vect vectors[] __initdata = {
29 static DECLARE_INTC_DESC(intc_desc, "SE7721", vectors,
/kernel/linux/linux-5.10/arch/sh/boards/mach-highlander/
H A Dirq-r7780rp.c29 static struct intc_vect vectors[] __initdata = {
30 INTC_IRQ(PCI_A, 65), /* dirty: overwrite cpu vectors for pci */
52 static DECLARE_INTC_DESC(intc_desc, "r7780rp", vectors,
H A Dirq-r7785rp.c29 static struct intc_vect vectors[] __initdata = {
61 static DECLARE_INTC_DESC(intc_desc, "r7785rp", vectors,
/kernel/linux/linux-6.6/arch/sh/boards/mach-highlander/
H A Dirq-r7780rp.c29 static struct intc_vect vectors[] __initdata = {
30 INTC_IRQ(PCI_A, 65), /* dirty: overwrite cpu vectors for pci */
52 static DECLARE_INTC_DESC(intc_desc, "r7780rp", vectors,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/c6x/kernel/
H A Dvmlinux.lds.S36 .vectors :
39 *(.vectors)
/kernel/linux/linux-5.10/arch/m68k/sun3x/
H A Dprom.c55 asm volatile ("movec %0,%%vbr" : : "r" ((void*)vectors)); in sun3x_halt()
118 vectors[VEC_TRAP14] = sun3x_prom_abort; in sun3x_prom_init()

Completed in 15 milliseconds

12345678