Home
last modified time | relevance | path

Searched full:vector (Results 1 – 25 of 1726) sorted by relevance

12345678910>>...70

/Linux-v6.1/drivers/gpu/drm/amd/display/dc/basics/
Dvector.c27 #include "include/vector.h"
30 struct vector *vector, in dal_vector_construct() argument
35 vector->container = NULL; in dal_vector_construct()
43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct()
44 if (vector->container == NULL) in dal_vector_construct()
46 vector->capacity = capacity; in dal_vector_construct()
47 vector->struct_size = struct_size; in dal_vector_construct()
48 vector->count = 0; in dal_vector_construct()
49 vector->ctx = ctx; in dal_vector_construct()
54 struct vector *vector, in dal_vector_presized_costruct() argument
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/include/
Dvector.h29 struct vector { struct
38 struct vector *vector, argument
43 struct vector *dal_vector_create(
49 * each "structure" in the vector will contain zeros by default. */
50 struct vector *dal_vector_presized_create(
57 struct vector *vector);
60 struct vector **vector);
63 const struct vector *vector);
73 struct vector *vector,
78 struct vector *vector,
[all …]
/Linux-v6.1/arch/ia64/kernel/
Dirq_ia64.c13 * PCI to vector allocation routine.
61 * Legacy IRQ to IA-64 vector translation table.
74 .vector = IRQ_VECTOR_UNASSIGNED,
104 int pos, vector; in find_unassigned_vector() local
111 vector = IA64_FIRST_DEVICE_VECTOR + pos; in find_unassigned_vector()
112 cpumask_and(&mask, &domain, &vector_table[vector]); in find_unassigned_vector()
115 return vector; in find_unassigned_vector()
120 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() argument
127 BUG_ON((unsigned)vector >= IA64_NUM_VECTORS); in __bind_irq_vector()
132 if ((cfg->vector == vector) && cpumask_equal(&cfg->domain, &domain)) in __bind_irq_vector()
[all …]
/Linux-v6.1/arch/x86/include/asm/trace/
Dirq_vectors.h15 TP_PROTO(int vector),
17 TP_ARGS(vector),
20 __field( int, vector )
24 __entry->vector = vector;
27 TP_printk("vector=%d", __entry->vector) );
31 TP_PROTO(int vector), \
32 TP_ARGS(vector), NULL, NULL); \
34 TP_PROTO(int vector), \
35 TP_ARGS(vector), NULL, NULL);
39 * vector handler
[all …]
Dhyperv.h61 int vector),
62 TP_ARGS(cpus, vector),
65 __field(int, vector)
68 __entry->vector = vector;
70 TP_printk("ncpus %d vector %x",
71 __entry->ncpus, __entry->vector)
76 int vector),
77 TP_ARGS(cpu, vector),
80 __field(int, vector)
83 __entry->vector = vector;
[all …]
/Linux-v6.1/arch/x86/include/asm/
Didtentry.h19 * @vector: Vector number (ignored for C)
31 #define DECLARE_IDTENTRY(vector, func) \ argument
71 * @vector: Vector number (ignored for C)
82 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \ argument
115 * @vector: Vector number (ignored for C)
120 #define DECLARE_IDTENTRY_RAW(vector, func) \ argument
121 DECLARE_IDTENTRY(vector, func)
143 * @vector: Vector number (ignored for C)
148 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \ argument
149 DECLARE_IDTENTRY_ERRORCODE(vector, func)
[all …]
Dirq_vectors.h7 * Linux IRQ vector layout.
11 * given vector is triggered - by a CPU-external, CPU-internal or
20 * Vector 128 : legacy int80 syscall interface
29 /* This is used as an interrupt vector when programming the APIC. */
34 * (0x80 is the syscall vector, 0x30-0x3f are for ISA)
39 * Reserve the lowest usable vector (and hence lowest priority) 0x20 for
49 * round up to the next 16-vector boundary
57 * into a single vector (CALL_FUNCTION_VECTOR) to save vector space.
78 * Generic system vector for platform specific use
83 * IRQ work vector:
[all …]
/Linux-v6.1/Documentation/arm64/
Dsme.rst21 * PSTATE.SM, PSTATE.ZA, the streaming mode vector length, the ZA
24 * The presence of SME is reported to userspace via HWCAP2_SME in the aux vector
69 2. Vector lengths
72 SME defines a second vector length similar to the SVE vector length which is
75 mode SVE vector.
103 * All other SME state of a thread, including the currently configured vector
104 length, the state of the PR_SME_VL_INHERIT flag, and the deferred vector
118 the thread's vector length (in za_context.vl).
150 * The vector length cannot be changed via signal return. If za_context.vl in
151 the signal frame does not match the current vector length, the signal return
[all …]
Dsve.rst2 Scalable Vector Extension support for AArch64 Linux
10 order to support use of the ARM Scalable Vector Extension (SVE), including
25 * SVE registers Z0..Z31, P0..P15 and FFR and the current vector length VL, are
32 * The presence of SVE is reported to userspace via HWCAP_SVE in the aux vector
46 be reported in the AT_HWCAP2 aux vector entry. In addition to this,
63 reported in the AT_HWCAP2 aux vector entry. Among other things SME adds
65 separate SME vector length and the same Z/V registers. See sme.rst
89 2. Vector length terminology
92 The size of an SVE vector (Z) register is referred to as the "vector length".
94 To avoid confusion about the units used to express vector length, the kernel
[all …]
/Linux-v6.1/arch/x86/kernel/apic/
Dlocal.h22 void __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest);
26 void x2apic_send_IPI_self(int vector);
27 void __x2apic_send_IPI_shorthand(int vector, u32 which);
33 static inline unsigned int __prepare_ICR(unsigned int shortcut, int vector, in __prepare_ICR() argument
38 switch (vector) { in __prepare_ICR()
40 icr |= APIC_DM_FIXED | vector; in __prepare_ICR()
49 void __default_send_IPI_shortcut(unsigned int shortcut, int vector);
55 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest);
57 void default_send_IPI_single(int cpu, int vector);
58 void default_send_IPI_single_phys(int cpu, int vector);
[all …]
Dipi.c49 void apic_send_IPI_allbutself(unsigned int vector) in apic_send_IPI_allbutself() argument
55 apic->send_IPI_allbutself(vector); in apic_send_IPI_allbutself()
57 apic->send_IPI_mask_allbutself(cpu_online_mask, vector); in apic_send_IPI_allbutself()
111 void __default_send_IPI_shortcut(unsigned int shortcut, int vector) in __default_send_IPI_shortcut() argument
125 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_shortcut()
134 cfg = __prepare_ICR(shortcut, vector, 0); in __default_send_IPI_shortcut()
146 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest) in __default_send_IPI_dest_field() argument
153 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_dest_field()
167 cfg = __prepare_ICR(0, vector, dest); in __default_send_IPI_dest_field()
175 void default_send_IPI_single_phys(int cpu, int vector) in default_send_IPI_single_phys() argument
[all …]
Dvector.c28 unsigned int vector; member
117 static void apic_update_irq_cfg(struct irq_data *irqd, unsigned int vector, in apic_update_irq_cfg() argument
124 apicd->hw_irq_cfg.vector = vector; in apic_update_irq_cfg()
127 trace_vector_config(irqd->irq, vector, cpu, in apic_update_irq_cfg()
140 trace_vector_update(irqd->irq, newvec, newcpu, apicd->vector, in apic_update_vector()
144 * If there is no vector associated or if the associated vector is in apic_update_vector()
145 * the shutdown vector, which is associated to make PCI/MSI in apic_update_vector()
150 if (!apicd->vector || apicd->vector == MANAGED_IRQ_SHUTDOWN_VECTOR) in apic_update_vector()
153 * If the target CPU of the previous vector is online, then mark in apic_update_vector()
154 * the vector as move in progress and store it for cleanup when the in apic_update_vector()
[all …]
Dx2apic_phys.c42 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument
48 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_PHYSICAL); in x2apic_send_IPI()
52 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument
68 vector, APIC_DEST_PHYSICAL); in __x2apic_send_IPI_mask()
73 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument
75 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask()
79 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument
81 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself()
84 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument
86 __x2apic_send_IPI_shorthand(vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself()
[all …]
Dmsi.c46 /* Allocate a new target vector */ in msi_set_affinity()
53 * to a different destination CPU and a different vector has to be in msi_set_affinity()
60 * - The new vector is the same as the old vector in msi_set_affinity()
61 * - The old vector is MANAGED_IRQ_SHUTDOWN_VECTOR (interrupt starts up) in msi_set_affinity()
66 cfg->vector == old_cfg.vector || in msi_set_affinity()
67 old_cfg.vector == MANAGED_IRQ_SHUTDOWN_VECTOR || in msi_set_affinity()
84 * Redirect the interrupt to the new vector on the current CPU in msi_set_affinity()
85 * first. This might cause a spurious interrupt on this vector if in msi_set_affinity()
89 * If the vector is in use then the installed device handler will in msi_set_affinity()
92 * anyway. If the vector is unused, then it is marked so it won't in msi_set_affinity()
[all …]
/Linux-v6.1/arch/x86/hyperv/
Dhv_apic.c102 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector, in __send_ipi_mask_ex() argument
121 ipi_arg->vector = vector; in __send_ipi_mask_ex()
155 static bool __send_ipi_mask(const struct cpumask *mask, int vector, in __send_ipi_mask() argument
163 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask()
179 if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR)) in __send_ipi_mask()
195 ipi_arg.vector = vector; in __send_ipi_mask()
215 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask()
220 return __send_ipi_mask_ex(mask, vector, exclude_self); in __send_ipi_mask()
223 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument
228 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one()
[all …]
/Linux-v6.1/drivers/net/wireless/ti/wl12xx/
Devent.c37 u32 vector; in wl12xx_process_mailbox_events() local
40 vector = le32_to_cpu(mbox->events_vector); in wl12xx_process_mailbox_events()
41 vector &= ~(le32_to_cpu(mbox->events_mask)); in wl12xx_process_mailbox_events()
43 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl12xx_process_mailbox_events()
45 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl12xx_process_mailbox_events()
53 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { in wl12xx_process_mailbox_events()
61 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) in wl12xx_process_mailbox_events()
64 if (vector & SOFT_GEMINI_SENSE_EVENT_ID) in wl12xx_process_mailbox_events()
68 if (vector & BSS_LOSE_EVENT_ID) in wl12xx_process_mailbox_events()
71 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) in wl12xx_process_mailbox_events()
[all …]
/Linux-v6.1/arch/arc/kernel/
Dentry-arcv2.S22 #define VECTOR .word macro
24 ;############################ Vector Table #################################
26 .section .vector,"a",@progbits
30 VECTOR res_service ; Reset Vector label
31 VECTOR mem_service ; Mem exception label
32 VECTOR instr_service ; Instrn Error label
33 VECTOR EV_MachineCheck ; Fatal Machine check label
34 VECTOR EV_TLBMissI ; Intruction TLB miss label
35 VECTOR EV_TLBMissD ; Data TLB miss label
36 VECTOR EV_TLBProtV ; Protection Violation label
[all …]
/Linux-v6.1/drivers/net/wireless/ti/wl18xx/
Devent.c119 u32 vector; in wl18xx_process_mailbox_events() local
121 vector = le32_to_cpu(mbox->events_vector); in wl18xx_process_mailbox_events()
122 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl18xx_process_mailbox_events()
124 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl18xx_process_mailbox_events()
132 if (vector & TIME_SYNC_EVENT_ID) in wl18xx_process_mailbox_events()
139 if (vector & RADAR_DETECTED_EVENT_ID) { in wl18xx_process_mailbox_events()
148 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { in wl18xx_process_mailbox_events()
156 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) in wl18xx_process_mailbox_events()
159 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) in wl18xx_process_mailbox_events()
162 if (vector & BA_SESSION_RX_CONSTRAINT_EVENT_ID) in wl18xx_process_mailbox_events()
[all …]
/Linux-v6.1/arch/ia64/include/asm/
Dhw_irq.h44 #define IA64_CPEP_VECTOR 0x1c /* corrected platform error polling vector */
45 #define IA64_CMCP_VECTOR 0x1d /* corrected machine-check polling vector */
46 #define IA64_CPE_VECTOR 0x1e /* corrected platform error interrupt vector */
47 #define IA64_CMC_VECTOR 0x1f /* corrected machine-check interrupt vector */
50 * Use vectors 0x30-0xe7 as the default device vector range for ia64.
59 /* Reserve the lower priority vector than device vectors for "move IRQ" IPI */
76 #define IA64_IPI_VECTOR 0xfe /* inter-processor interrupt vector */
90 IA64_IPI_DM_NMI = 0x4, /* pend an NMI (vector 2) */
99 ia64_vector vector; member
118 extern int bind_irq_vector(int irq, int vector, cpumask_t domain);
[all …]
/Linux-v6.1/arch/s390/include/asm/
Dvx-insn.h3 * Support for Vector Instructions
6 * vector instructions that are supported by recent binutils (>= 2.26) only.
18 /* Macros to generate vector instruction byte code */
80 /* VX_NUM - Retrieve vector register number
85 * The vector register number is used for as input number to the
192 /* RXB - Compute most significant bit used vector registers
195 * @v1: First vector register designated operand
196 * @v2: Second vector register designated operand
197 * @v3: Third vector register designated operand
198 * @v4: Fourth vector register designated operand
[all …]
/Linux-v6.1/arch/sh/kernel/cpu/sh2a/
Dex.S5 * The SH-2A exception vector table
13 ! convert Exception Vector to Exception Number
57 ! Exception Vector Base
61 vector = 0 define
63 .long exception_entry0 + vector * 6
64 vector = vector + 1 define
66 vector = 0 define
68 .long exception_entry1 + vector * 6
69 vector = vector + 1 define
/Linux-v6.1/include/trace/events/
Dosnoise.h39 TP_PROTO(int vector, u64 start, u64 duration),
41 TP_ARGS(vector, start, duration),
46 __field( int, vector )
50 __entry->vector = vector;
56 show_softirq_name(__entry->vector),
57 __entry->vector,
65 TP_PROTO(int vector, const char *desc, u64 start, u64 duration),
67 TP_ARGS(vector, desc, start, duration),
73 __field( int, vector )
79 __entry->vector = vector;
[all …]
/Linux-v6.1/drivers/s390/cio/
Dairq.c122 * airq_iv_create - create an interrupt vector
123 * @bits: number of bits in the interrupt vector
127 * Returns a pointer to an interrupt vector structure
147 iv->vector = dma_pool_zalloc(airq_iv_cache, GFP_KERNEL, in airq_iv_create()
149 if (!iv->vector) in airq_iv_create()
152 iv->vector = vec; in airq_iv_create()
154 iv->vector = cio_dma_zalloc(size); in airq_iv_create()
155 if (!iv->vector) in airq_iv_create()
190 if (iv->flags & AIRQ_IV_CACHELINE && iv->vector) in airq_iv_create()
191 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_create()
[all …]
/Linux-v6.1/arch/x86/xen/
Dsmp.c136 int vector) in __xen_send_IPI_mask() argument
141 xen_send_IPI_one(cpu, vector); in __xen_send_IPI_mask()
165 static inline int xen_map_vector(int vector) in xen_map_vector() argument
169 switch (vector) { in xen_map_vector()
190 printk(KERN_ERR "xen: vector 0x%x is not implemented\n", in xen_map_vector()
191 vector); in xen_map_vector()
198 int vector) in xen_send_IPI_mask() argument
200 int xen_vector = xen_map_vector(vector); in xen_send_IPI_mask()
206 void xen_send_IPI_all(int vector) in xen_send_IPI_all() argument
208 int xen_vector = xen_map_vector(vector); in xen_send_IPI_all()
[all …]
/Linux-v6.1/arch/s390/include/asm/fpu/
Dapi.h9 * use of floating-point or vector registers and instructions.
11 * 2. For kernel_fpu_begin(), specify the vector register range you want to
15 * half of the vector registers, for example, specify KERNEL_VXR_LOW.
17 * prefer using the upper half of the vector registers, for example,
21 * does not require to save and restore vector registers because of
25 * includes logic to save and restore up to 16 vector registers at once.
28 * struct kernel_fpu states. Vector registers that are in use by outer
30 * effort by choosing disjoint vector register ranges.
32 * 5. To use vector floating-point instructions, specify the KERNEL_FPC
34 * vector register range.
[all …]

12345678910>>...70