/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/ |
D | vector.c | 27 #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-6.12.1/drivers/gpu/drm/amd/display/include/ |
D | vector.h | 29 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-6.12.1/arch/x86/include/asm/trace/ |
D | irq_vectors.h | 15 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 …]
|
D | hyperv.h | 61 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-6.12.1/arch/x86/include/asm/ |
D | idtentry.h | 21 * @vector: Vector number (ignored for C) 34 #define DECLARE_IDTENTRY(vector, func) \ argument 75 * @vector: Vector number (ignored for C) 86 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \ argument 119 * @vector: Vector number (ignored for C) 124 #define DECLARE_IDTENTRY_RAW(vector, func) \ argument 125 DECLARE_IDTENTRY(vector, func) 158 * @vector: Vector number (ignored for C) 163 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \ argument 164 DECLARE_IDTENTRY_ERRORCODE(vector, func) [all …]
|
D | apic.h | 169 extern int setup_APIC_eilvt(u8 lvt_off, u8 vector, u8 msg_type, u8 mask); 177 extern void apic_send_IPI_allbutself(unsigned int vector); 285 void (*send_IPI)(int cpu, int vector); 286 void (*send_IPI_mask)(const struct cpumask *mask, int vector); 288 void (*send_IPI_allbutself)(int vector); 289 void (*send_IPI_all)(int vector); 290 void (*send_IPI_self)(int vector); 328 void (*send_IPI)(int cpu, int vector); 329 void (*send_IPI_mask)(const struct cpumask *mask, int vector); 331 void (*send_IPI_allbutself)(int vector); [all …]
|
/linux-6.12.1/Documentation/arch/arm64/ |
D | sme.rst | 21 * 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. 109 * All other SME state of a thread, including the currently configured vector 110 length, the state of the PR_SME_VL_INHERIT flag, and the deferred vector 127 the thread's vector length (in za_context.vl). 167 * The vector length cannot be changed via signal return. If za_context.vl in [all …]
|
D | sve.rst | 2 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, 64 reported in the AT_HWCAP2 aux vector entry. Among other things SME adds 66 separate SME vector length and the same Z/V registers. See sme.rst 90 2. Vector length terminology 93 The size of an SVE vector (Z) register is referred to as the "vector length". 95 To avoid confusion about the units used to express vector length, the kernel [all …]
|
/linux-6.12.1/arch/x86/hyperv/ |
D | hv_apic.c | 107 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector, in __send_ipi_mask_ex() argument 124 ipi_arg->vector = vector; in __send_ipi_mask_ex() 157 static bool __send_ipi_mask(const struct cpumask *mask, int vector, in __send_ipi_mask() argument 165 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask() 184 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_mask() 200 ipi_arg.vector = vector; in __send_ipi_mask() 220 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask() 225 return __send_ipi_mask_ex(mask, vector, exclude_self); in __send_ipi_mask() 228 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument 233 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one() [all …]
|
/linux-6.12.1/arch/x86/kernel/apic/ |
D | local.h | 17 void __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest); 20 void x2apic_send_IPI_all(int vector); 21 void x2apic_send_IPI_allbutself(int vector); 22 void x2apic_send_IPI_self(int vector); 29 static inline unsigned int __prepare_ICR(unsigned int shortcut, int vector, in __prepare_ICR() argument 34 switch (vector) { in __prepare_ICR() 36 icr |= APIC_DM_FIXED | vector; in __prepare_ICR() 54 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest); 56 void default_send_IPI_single(int cpu, int vector); 57 void default_send_IPI_single_phys(int cpu, int vector); [all …]
|
D | ipi.c | 51 void apic_send_IPI_allbutself(unsigned int vector) in apic_send_IPI_allbutself() argument 57 __apic_send_IPI_allbutself(vector); in apic_send_IPI_allbutself() 59 __apic_send_IPI_mask_allbutself(cpu_online_mask, vector); in apic_send_IPI_allbutself() 152 static void __default_send_IPI_shortcut(unsigned int shortcut, int vector) in __default_send_IPI_shortcut() argument 156 * safe_apic_wait_icr_idle() for the NMI vector as there have been in __default_send_IPI_shortcut() 160 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_shortcut() 166 native_apic_mem_write(APIC_ICR, __prepare_ICR(shortcut, vector, 0)); in __default_send_IPI_shortcut() 173 void __default_send_IPI_dest_field(unsigned int dest_mask, int vector, in __default_send_IPI_dest_field() argument 177 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_dest_field() 185 native_apic_mem_write(APIC_ICR, __prepare_ICR(0, vector, dest_mode)); in __default_send_IPI_dest_field() [all …]
|
D | vector.c | 28 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 trace_vector_config(irqd->irq, vector, cpu, in apic_update_irq_cfg() 151 trace_vector_update(irqd->irq, newvec, newcpu, apicd->vector, in apic_update_vector() 155 * If there is no vector associated or if the associated vector is in apic_update_vector() 156 * the shutdown vector, which is associated to make PCI/MSI in apic_update_vector() 161 if (!apicd->vector || apicd->vector == MANAGED_IRQ_SHUTDOWN_VECTOR) in apic_update_vector() 164 * If the target CPU of the previous vector is online, then mark in apic_update_vector() 165 * the vector as move in progress and store it for cleanup when the in apic_update_vector() [all …]
|
D | x2apic_phys.c | 44 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument 50 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_PHYSICAL); in x2apic_send_IPI() 54 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument 70 vector, APIC_DEST_PHYSICAL); in __x2apic_send_IPI_mask() 75 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument 77 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask() 81 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument 83 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself() 86 static void __x2apic_send_IPI_shorthand(int vector, u32 which) in __x2apic_send_IPI_shorthand() argument 88 unsigned long cfg = __prepare_ICR(which, vector, 0); in __x2apic_send_IPI_shorthand() [all …]
|
D | msi.c | 46 /* 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-6.12.1/arch/x86/entry/ |
D | entry_fred.c | 17 /* FRED EVENT_TYPE_OTHER vector numbers */ 30 "vector %u error 0x%lx aux 0x%lx at %04x:%016lx\n", in fred_bad_type() 31 regs->fred_ss.type, regs->fred_ss.vector, error_code, in fred_bad_type() 40 "vector %u error 0x%lx aux 0x%lx at %04x:%016lx\n", in fred_bad_type() 41 regs->fred_ss.type, regs->fred_ss.vector, error_code, in fred_bad_type() 56 switch (regs->fred_ss.vector) { in fred_intx() 81 if (likely(regs->fred_ss.vector == FRED_SYSCALL && regs->fred_ss.lm)) { in fred_other() 87 likely(regs->fred_ss.vector == FRED_SYSENTER && !regs->fred_ss.lm)) { in fred_other() 140 spurious_interrupt(regs, regs->fred_ss.vector); in fred_handle_spurious_interrupt() 145 unsigned int vector; in fred_complete_exception_setup() local [all …]
|
/linux-6.12.1/drivers/net/wireless/ti/wl12xx/ |
D | event.c | 37 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-6.12.1/arch/arc/kernel/ |
D | entry-arcv2.S | 22 #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-6.12.1/drivers/net/wireless/ti/wl18xx/ |
D | event.c | 119 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-6.12.1/Documentation/arch/riscv/ |
D | vector.rst | 4 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-6.12.1/arch/riscv/crypto/ |
D | Kconfig | 16 - Zvkned vector crypto extension 17 - Zvbb vector extension (XTS) 18 - Zvkb vector crypto extension (CTR) 19 - Zvkg vector crypto extension (XTS) 30 - Zvkb vector crypto extension 40 - Zvkg vector crypto extension 50 - Zvknha or Zvknhb vector crypto extensions 51 - Zvkb vector crypto extension 61 - Zvknhb vector crypto extension 62 - Zvkb vector crypto extension [all …]
|
/linux-6.12.1/arch/s390/include/asm/ |
D | fpu-insn-asm.h | 3 * Support for Vector Instructions 6 * vector instructions that are supported by recent binutils (>= 2.26) only. 21 /* Macros to generate vector instruction byte code */ 83 /* VX_NUM - Retrieve vector register number 88 * The vector register number is used for as input number to the 195 /* RXB - Compute most significant bit used vector registers 198 * @v1: Vector register designated operand whose MSB is stored in 201 * @v2: Vector register designated operand whose MSB is stored in 204 * @v3: Vector register designated operand whose MSB is stored in 207 * @v4: Vector register designated operand whose MSB is stored in [all …]
|
/linux-6.12.1/arch/sh/kernel/cpu/sh2a/ |
D | ex.S | 5 * 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-6.12.1/arch/riscv/kvm/ |
D | vcpu_vector.c | 16 #include <asm/vector.h> 27 WARN_ON(!cntx->vector.datap); in kvm_riscv_vcpu_vector_reset() 28 memset(cntx->vector.datap, 0, riscv_v_vsize); in kvm_riscv_vcpu_vector_reset() 76 cntx->vector.datap = kmalloc(riscv_v_vsize, GFP_KERNEL); in kvm_riscv_vcpu_alloc_vector_context() 77 if (!cntx->vector.datap) in kvm_riscv_vcpu_alloc_vector_context() 79 cntx->vector.vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_alloc_vector_context() 81 vcpu->arch.host_context.vector.datap = kzalloc(riscv_v_vsize, GFP_KERNEL); in kvm_riscv_vcpu_alloc_vector_context() 82 if (!vcpu->arch.host_context.vector.datap) in kvm_riscv_vcpu_alloc_vector_context() 90 kfree(vcpu->arch.guest_reset_context.vector.datap); in kvm_riscv_vcpu_free_vector_context() 91 kfree(vcpu->arch.host_context.vector.datap); in kvm_riscv_vcpu_free_vector_context() [all …]
|
/linux-6.12.1/include/trace/events/ |
D | osnoise.h | 39 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-6.12.1/drivers/s390/cio/ |
D | airq.c | 119 * airq_iv_create - create an interrupt vector 120 * @bits: number of bits in the interrupt vector 124 * Returns a pointer to an interrupt vector structure 144 iv->vector = dma_pool_zalloc(airq_iv_cache, GFP_KERNEL, in airq_iv_create() 146 if (!iv->vector) in airq_iv_create() 149 iv->vector = vec; in airq_iv_create() 151 iv->vector = cio_dma_zalloc(size); in airq_iv_create() 152 if (!iv->vector) in airq_iv_create() 187 if (iv->flags & AIRQ_IV_CACHELINE && iv->vector) in airq_iv_create() 188 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_create() [all …]
|