Home
last modified time | relevance | path

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

12345678910>>...60

/linux/drivers/gpu/drm/amd/display/dc/basics/
H A 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()
53 static bool dal_vector_presized_costruct(struct vector *vector, in dal_vector_presized_costruct() argument
[all …]
/linux/drivers/gpu/drm/amd/display/include/
H A 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/arch/x86/include/asm/trace/
H A Dirq_vectors.h14 TP_PROTO(int vector),
16 TP_ARGS(vector),
19 __field( int, vector )
23 __entry->vector = vector;
26 TP_printk("vector=%d", __entry->vector) );
30 TP_PROTO(int vector), \
31 TP_ARGS(vector), NULL, NULL); \
33 TP_PROTO(int vector), \
34 TP_ARGS(vector), NULL, NULL);
38 * vector handler
[all …]
H A 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/Documentation/arch/arm64/
H A Dsme.rst21 * PSTATE.SM, PSTATE.ZA, the streaming mode vector length, the ZA and (when
24 * The presence of SME is reported to userspace via HWCAP2_SME in the aux vector
30 aux vector AT_HWCAP2 entry. Presence of this flag implies the presence of
75 2. Vector lengths
78 SME defines a second vector length similar to the SVE vector length which
81 mode SVE vector.
99 * All other SME state of a thread, including the currently configured vector
100 length, the state of the PR_SME_VL_INHERIT flag, and the deferred vector
117 the thread's vector length (in za_context.vl).
157 * The vector length cannot be changed via signal return. If za_context.vl in
[all …]
/linux/drivers/net/wireless/ti/wl12xx/
H A 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/arch/x86/kernel/apic/
H A Dvector.c28 unsigned int vector; member
128 static void apic_update_irq_cfg(struct irq_data *irqd, unsigned int vector, in apic_update_irq_cfg() argument
135 apicd->hw_irq_cfg.vector = vector; in apic_update_irq_cfg()
138 apic_update_vector(cpu, vector, true); in apic_update_irq_cfg()
141 trace_vector_config(irqd->irq, vector, cpu, apicd->hw_irq_cfg.dest_apicid); in apic_update_irq_cfg()
144 static void apic_free_vector(unsigned int cpu, unsigned int vector, bool managed) in apic_free_vector() argument
146 apic_update_vector(cpu, vector, false); in apic_free_vector()
147 irq_matrix_free(vector_matrix, cpu, vector, managed); in apic_free_vector()
158 trace_vector_update(irqd->irq, newvec, newcpu, apicd->vector, in chip_data_update()
162 * If there is no vector associated or if the associated vector is in chip_data_update()
[all …]
H A 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/arch/arc/kernel/
H A 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 ; Instruction TLB miss label
35 VECTOR EV_TLBMissD ; Data TLB miss label
36 VECTOR EV_TLBProtV ; Protection Violation label
[all …]
/linux/drivers/net/wireless/ti/wl18xx/
H A 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/Documentation/arch/riscv/
H A Dvector.rst4 Vector Extension Support for RISC-V Linux
8 order to support the use of the RISC-V Vector Extension.
14 status for the use of Vector in userspace. The intended usage guideline for
22 auxiliary vector.
26 Sets the Vector enablement status of the calling thread, where the control
37 * :c:macro:`PR_RISCV_V_VSTATE_CTRL_ON`: Allow Vector to be run for the
40 * :c:macro:`PR_RISCV_V_VSTATE_CTRL_OFF`: Disallow Vector. Executing Vector
54 Vector enablement status for the calling thread. The calling thread is
55 not able to turn off Vector once it has been enabled. The prctl() call
62 Vector enablement setting for the calling thread at the next execve()
[all …]
/linux/arch/riscv/kvm/
H A Dvcpu_vector.c18 #include <asm/vector.h>
28 cntx->vector.vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_vector_reset()
32 WARN_ON(!cntx->vector.datap); in kvm_riscv_vcpu_vector_reset()
33 memset(cntx->vector.datap, 0, riscv_v_vsize); in kvm_riscv_vcpu_vector_reset()
80 vcpu->arch.guest_context.vector.datap = kzalloc(riscv_v_vsize, GFP_KERNEL); in kvm_riscv_vcpu_alloc_vector_context()
81 if (!vcpu->arch.guest_context.vector.datap) in kvm_riscv_vcpu_alloc_vector_context()
84 vcpu->arch.host_context.vector.datap = kzalloc(riscv_v_vsize, GFP_KERNEL); in kvm_riscv_vcpu_alloc_vector_context()
85 if (!vcpu->arch.host_context.vector.datap) { in kvm_riscv_vcpu_alloc_vector_context()
86 kfree(vcpu->arch.guest_context.vector.datap); in kvm_riscv_vcpu_alloc_vector_context()
87 vcpu->arch.guest_context.vector.datap = NULL; in kvm_riscv_vcpu_alloc_vector_context()
[all …]
/linux/arch/sh/kernel/cpu/sh2a/
H A 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/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c40 SKIP(return, "Test expects vector to be not supported"); in TEST()
54 SKIP(return, "Test expects vector to be not supported"); in TEST()
69 SKIP(return, "Vector not supported"); in TEST()
82 SKIP(return, "Vector not supported"); in TEST()
101 SKIP(return, "Vector not supported"); in TEST()
104 /* Turn on next's vector explicitly and test */ in TEST()
119 SKIP(return, "Vector not supported"); in TEST()
122 /* Turn off next's vector explicitly and test */ in TEST()
137 SKIP(return, "Vector not supported"); in TEST()
140 /* Turn on next's vector explicitly and test no inherit */ in TEST()
[all …]
/linux/tools/perf/trace/beauty/arch/x86/include/asm/
H A 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)
42 * round up to the next 16-vector boundary
50 * into a single vector (CALL_FUNCTION_VECTOR) to save vector space.
71 * Generic system vector for platform specific use
76 * IRQ work vector:
80 /* IRQ vector for PMIs when running a guest with a mediated PMU. */
[all …]
/linux/drivers/s390/cio/
H A Dairq.c120 * airq_iv_create - create an interrupt vector
121 * @bits: number of bits in the interrupt vector
125 * Returns a pointer to an interrupt vector structure
145 iv->vector = dma_pool_zalloc(airq_iv_cache, GFP_KERNEL, in airq_iv_create()
147 if (!iv->vector) in airq_iv_create()
150 iv->vector = vec; in airq_iv_create()
152 iv->vector = cio_dma_zalloc(size); in airq_iv_create()
153 if (!iv->vector) in airq_iv_create()
188 if (iv->flags & AIRQ_IV_CACHELINE && iv->vector) in airq_iv_create()
189 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_create()
[all …]
/linux/include/media/
H A Dv4l2-vp9.h16 * struct v4l2_vp9_frame_mv_context - motion vector-related probabilities
18 * @joint: motion vector joint probabilities.
19 * @sign: motion vector sign probabilities.
20 * @classes: motion vector class probabilities.
21 * @class0_bit: motion vector class0 bit probabilities.
22 * @bits: motion vector bits probabilities.
23 * @class0_fr: motion vector class0 fractional bit probabilities.
24 * @fr: motion vector fractional bit probabilities.
25 * @class0_hp: motion vector class0 high precision fractional bit probabilities.
26 * @hp: motion vector high precision fractional bit probabilities.
[all …]
/linux/tools/testing/selftests/arm64/fp/
H A DREADME7 sve-probe-vls - Checks the SVE vector length enumeration interface
28 Vector length: 512 bits
31 Vector length: 512 bits
34 Vector length: 512 bits
37 Vector length: 512 bits
40 Vector length: 512 bits
43 Vector length: 512 bits
46 Vector length: 512 bits
49 Vector length: 512 bits
52 Vector length: 512 bits
[all …]
/linux/tools/arch/x86/include/asm/
H A Dirq_vectors.h
/linux/drivers/virtio/
H A Dvirtio_pci_legacy_dev.c140 * vp_legacy_queue_vector - set the MSIX vector for a specific virtqueue
143 * @vector: the queue vector
145 * Returns the queue vector read from the device
148 u16 index, u16 vector) in vp_legacy_queue_vector() argument
151 iowrite16(vector, ldev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); in vp_legacy_queue_vector()
158 * vp_legacy_config_vector - set the vector for config interrupt
160 * @vector: the config vector
162 * Returns the config vector read from the device
165 u16 vector) in vp_legacy_config_vector() argument
167 /* Setup the vector used for configuration events */ in vp_legacy_config_vector()
[all …]
/linux/arch/sh/kernel/cpu/sh2/
H A Dex.S5 * The SH-2 exception vector table
13 ! convert Exception Vector to Exception Number
36 ! Exception Vector Base
40 vector = 0 define
42 .long exception_entry + vector * 6
43 vector = vector + 1 define
/linux/Documentation/admin-guide/hw-vuln/
H A Dattack_vector_controls.rst3 Attack Vector Controls
6 Attack vector controls provide a simple method to configure only the mitigations
12 attack vector controls so administrators will likely not need to reconfigure
14 applied based on the chosen attack vector controls.
19 There are 5 sets of attack-vector mitigations currently supported by the kernel:
34 The user-to-kernel attack vector involves a malicious userspace program
54 The user-to-user attack vector involves a malicious userspace program attempting
74 The guest-to-host attack vector involves a malicious VM attempting to leak
88 The guest-to-guest attack vector involves a malicious VM attempting to influence
96 Similar to the user-to-user attack vector, preventing a malicious VM from
[all …]
/linux/include/trace/events/
H A Dosnoise.h135 TP_PROTO(int vector, u64 start, u64 duration),
137 TP_ARGS(vector, start, duration),
142 __field( int, vector )
146 __entry->vector = vector;
152 show_softirq_name(__entry->vector),
153 __entry->vector,
161 TP_PROTO(int vector, const char *desc, u64 start, u64 duration),
163 TP_ARGS(vector, desc, start, duration),
169 __field( int, vector )
175 __entry->vector = vector;
[all …]
/linux/drivers/irqchip/
H A Dirq-loongson-eiointc.c46 #define EIOINTC_ALL_ENABLE_VEC_MASK(vector) (EIOINTC_ALL_ENABLE & ~BIT(vector & 0x1f)) argument
47 #define EIOINTC_REG_ENABLE_VEC(vector) (EIOINTC_REG_ENABLE + ((vector >> 5) << 2)) argument
55 * interrupt vector. So one Route register contains four vectors routing
58 #define EIOINTC_REG_ROUTE_VEC(vector) (EIOINTC_REG_ROUTE + (vector & ~0x03)) argument
59 #define EIOINTC_REG_ROUTE_VEC_SHIFT(vector) ((vector & 0x03) << 3) argument
60 #define EIOINTC_REG_ROUTE_VEC_MASK(vector) (0xff << EIOINTC_REG_ROUTE_VEC_SHIFT(vector)) argument
132 static void veiointc_set_irq_route(unsigned int vector, unsigned int cpu) in veiointc_set_irq_route() argument
134 unsigned long reg = EIOINTC_REG_ROUTE_VEC(vector); in veiointc_set_irq_route()
138 data &= ~EIOINTC_REG_ROUTE_VEC_MASK(vector); in veiointc_set_irq_route()
139 data |= cpu_logical_map(cpu) << EIOINTC_REG_ROUTE_VEC_SHIFT(vector); in veiointc_set_irq_route()
[all …]
/linux/tools/testing/selftests/kvm/x86/
H A Dxcr0_cpuid_test.c53 int i, vector; in guest_code() local
82 vector = xsetbv_safe(0, XFEATURE_MASK_FP); in guest_code()
83 __GUEST_ASSERT(!vector, in guest_code()
85 ex_str(vector)); in guest_code()
87 vector = xsetbv_safe(0, supported_xcr0); in guest_code()
88 __GUEST_ASSERT(!vector, in guest_code()
90 supported_xcr0, ex_str(vector)); in guest_code()
96 vector = xsetbv_safe(0, supported_xcr0 | BIT_ULL(i)); in guest_code()
97 __GUEST_ASSERT(vector == GP_VECTOR, in guest_code()
99 BIT_ULL(i), supported_xcr0, ex_str(vector)); in guest_code()

12345678910>>...60