| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/basics/ |
| D | vector.c | 29 #include "include/vector.h" 32 struct vector *vector, in dal_vector_construct() argument 37 vector->container = NULL; in dal_vector_construct() 45 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct() 46 if (vector->container == NULL) in dal_vector_construct() 48 vector->capacity = capacity; in dal_vector_construct() 49 vector->struct_size = struct_size; in dal_vector_construct() 50 vector->count = 0; in dal_vector_construct() 51 vector->ctx = ctx; in dal_vector_construct() 56 struct vector *vector, in dal_vector_presized_costruct() argument [all …]
|
| /kernel/linux/linux-4.19/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() 54 struct vector *vector, in dal_vector_presized_costruct() argument [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-4.19/arch/x86/include/asm/trace/ |
| D | irq_vectors.h | 18 TP_PROTO(int vector), 20 TP_ARGS(vector), 23 __field( int, vector ) 27 __entry->vector = vector; 30 TP_printk("vector=%d", __entry->vector) ); 34 TP_PROTO(int vector), \ 35 TP_ARGS(vector), NULL, NULL); \ 37 TP_PROTO(int vector), \ 38 TP_ARGS(vector), NULL, NULL); 42 TP_PROTO(int vector), \ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/arch/ia64/kernel/ |
| D | irq_ia64.c | 13 * PCI to vector allocation routine. 67 * Legacy IRQ to IA-64 vector translation table. 80 .vector = IRQ_VECTOR_UNASSIGNED, 110 int pos, vector; in find_unassigned_vector() local 117 vector = IA64_FIRST_DEVICE_VECTOR + pos; in find_unassigned_vector() 118 cpumask_and(&mask, &domain, &vector_table[vector]); in find_unassigned_vector() 121 return vector; in find_unassigned_vector() 126 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() argument 133 BUG_ON((unsigned)vector >= IA64_NUM_VECTORS); in __bind_irq_vector() 138 if ((cfg->vector == vector) && cpumask_equal(&cfg->domain, &domain)) in __bind_irq_vector() [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/kernel/ |
| D | irq_ia64.c | 13 * 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 …]
|
| /kernel/linux/linux-5.10/arch/x86/include/asm/ |
| D | idtentry.h | 17 * @vector: Vector number (ignored for C) 29 #define DECLARE_IDTENTRY(vector, func) \ argument 69 * @vector: Vector number (ignored for C) 80 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \ argument 113 * @vector: Vector number (ignored for C) 118 #define DECLARE_IDTENTRY_RAW(vector, func) \ argument 119 DECLARE_IDTENTRY(vector, func) 141 * @vector: Vector number (ignored for C) 146 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \ argument 147 DECLARE_IDTENTRY_ERRORCODE(vector, func) [all …]
|
| /kernel/linux/linux-4.19/arch/x86/include/asm/ |
| D | ipi.h | 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() 60 void __default_send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest); 66 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest); 68 extern void default_send_IPI_single(int cpu, int vector); 69 extern void default_send_IPI_single_phys(int cpu, int vector); 71 int vector); 73 int vector); 80 static inline void __default_local_send_IPI_allbutself(int vector) in __default_local_send_IPI_allbutself() argument [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
| D | local.h | 22 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 …]
|
| D | ipi.c | 49 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 …]
|
| D | vector.c | 28 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 …]
|
| /kernel/linux/linux-5.10/arch/x86/hyperv/ |
| D | hv_apic.c | 100 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector) in __send_ipi_mask_ex() argument 118 ipi_arg->vector = vector; in __send_ipi_mask_ex() 139 static bool __send_ipi_mask(const struct cpumask *mask, int vector) in __send_ipi_mask() argument 145 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask() 153 if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR)) in __send_ipi_mask() 169 ipi_arg.vector = vector; in __send_ipi_mask() 187 ret = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask() 192 return __send_ipi_mask_ex(mask, vector); in __send_ipi_mask() 195 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument 199 trace_hyperv_send_ipi_one(cpu, vector); in __send_ipi_one() [all …]
|
| /kernel/linux/linux-4.19/arch/x86/hyperv/ |
| D | hv_apic.c | 96 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector) in __send_ipi_mask_ex() argument 114 ipi_arg->vector = vector; in __send_ipi_mask_ex() 135 static bool __send_ipi_mask(const struct cpumask *mask, int vector) in __send_ipi_mask() argument 141 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask() 149 if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR)) in __send_ipi_mask() 165 ipi_arg.vector = vector; in __send_ipi_mask() 183 ret = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask() 188 return __send_ipi_mask_ex(mask, vector); in __send_ipi_mask() 191 static bool __send_ipi_one(int cpu, int vector) in __send_ipi_one() argument 196 return __send_ipi_mask(&mask, vector); in __send_ipi_one() [all …]
|
| /kernel/linux/linux-4.19/arch/x86/kernel/apic/ |
| D | ipi.c | 21 void __default_send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest) in __default_send_IPI_shortcut() argument 40 cfg = __prepare_ICR(shortcut, vector, dest); in __default_send_IPI_shortcut() 52 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest) in __default_send_IPI_dest_field() argument 59 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_dest_field() 73 cfg = __prepare_ICR(0, vector, dest); in __default_send_IPI_dest_field() 81 void default_send_IPI_single_phys(int cpu, int vector) in default_send_IPI_single_phys() argument 87 vector, APIC_DEST_PHYSICAL); in default_send_IPI_single_phys() 91 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_phys() argument 104 query_cpu), vector, APIC_DEST_PHYSICAL); in default_send_IPI_mask_sequence_phys() 110 int vector) in default_send_IPI_mask_allbutself_phys() argument [all …]
|
| D | vector.c | 30 unsigned int vector; member 119 static void apic_update_irq_cfg(struct irq_data *irqd, unsigned int vector, in apic_update_irq_cfg() argument 126 apicd->hw_irq_cfg.vector = vector; in apic_update_irq_cfg() 129 trace_vector_config(irqd->irq, vector, cpu, in apic_update_irq_cfg() 142 trace_vector_update(irqd->irq, newvec, newcpu, apicd->vector, in apic_update_vector() 146 * If there is no vector associated or if the associated vector is in apic_update_vector() 147 * the shutdown vector, which is associated to make PCI/MSI in apic_update_vector() 152 if (!apicd->vector || apicd->vector == MANAGED_IRQ_SHUTDOWN_VECTOR) in apic_update_vector() 155 * If the target CPU of the previous vector is online, then mark in apic_update_vector() 156 * the vector as move in progress and store it for cleanup when the in apic_update_vector() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/Documentation/arm64/ |
| D | sve.txt | 1 Scalable Vector Extension support for AArch64 Linux 8 order to support use of the ARM Scalable Vector Extension (SVE). 21 * SVE registers Z0..Z31, P0..P15 and FFR and the current vector length VL, are 24 * The presence of SVE is reported to userspace via HWCAP_SVE in the aux vector 43 2. Vector length terminology 46 The size of an SVE vector (Z) register is referred to as the "vector length". 48 To avoid confusion about the units used to express vector length, the kernel 51 * Vector length (VL) = size of a Z-register in bytes 53 * Vector quadwords (VQ) = size of a Z-register in units of 128 bits 78 * All other SVE state of a thread, including the currently configured vector [all …]
|
| /kernel/liteos_a/arch/arm/gic/ |
| D | gic_v2.c | 50 STATIC VOID GicWriteSgi(UINT32 vector, UINT32 cpuMask, UINT32 filter) in GicWriteSgi() argument 53 (vector & 0xF); in GicWriteSgi() 63 VOID HalIrqSetAffinity(UINT32 vector, UINT32 cpuMask) in HalIrqSetAffinity() argument 65 UINT32 offset = vector / 4; /* 4: Interrupt bit width */ in HalIrqSetAffinity() 66 UINT32 index = vector & 0x3; in HalIrqSetAffinity() 77 VOID HalIrqMask(UINT32 vector) in HalIrqMask() argument 79 if ((vector > OS_USER_HWI_MAX) || (vector < OS_USER_HWI_MIN)) { in HalIrqMask() 83 GIC_REG_32(GICD_ICENABLER(vector / 32)) = 1U << (vector % 32); /* 32: Interrupt bit width */ in HalIrqMask() 86 VOID HalIrqUnmask(UINT32 vector) in HalIrqUnmask() argument 88 if ((vector > OS_USER_HWI_MAX) || (vector < OS_USER_HWI_MIN)) { in HalIrqUnmask() [all …]
|
| /kernel/linux/linux-5.10/Documentation/arm64/ |
| D | sve.rst | 2 Scalable Vector Extension support for AArch64 Linux 10 order to support use of the ARM Scalable Vector Extension (SVE). 23 * SVE registers Z0..Z31, P0..P15 and FFR and the current vector length VL, are 26 * The presence of SVE is reported to userspace via HWCAP_SVE in the aux vector 40 be reported in the AT_HWCAP2 aux vector entry. In addition to this, 74 2. Vector length terminology 77 The size of an SVE vector (Z) register is referred to as the "vector length". 79 To avoid confusion about the units used to express vector length, the kernel 82 * Vector length (VL) = size of a Z-register in bytes 84 * Vector quadwords (VQ) = size of a Z-register in units of 128 bits [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/ti/wl12xx/ |
| D | event.c | 51 u32 vector; in wl12xx_process_mailbox_events() local 54 vector = le32_to_cpu(mbox->events_vector); in wl12xx_process_mailbox_events() 55 vector &= ~(le32_to_cpu(mbox->events_mask)); in wl12xx_process_mailbox_events() 57 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl12xx_process_mailbox_events() 59 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl12xx_process_mailbox_events() 67 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { in wl12xx_process_mailbox_events() 75 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) in wl12xx_process_mailbox_events() 78 if (vector & SOFT_GEMINI_SENSE_EVENT_ID) in wl12xx_process_mailbox_events() 82 if (vector & BSS_LOSE_EVENT_ID) in wl12xx_process_mailbox_events() 85 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) in wl12xx_process_mailbox_events() [all …]
|
| /kernel/linux/linux-5.10/arch/arc/kernel/ |
| D | entry-arcv2.S | 21 #define VECTOR .word macro 23 ;############################ Vector Table ################################# 25 .section .vector,"a",@progbits 29 VECTOR res_service ; Reset Vector label 30 VECTOR mem_service ; Mem exception label 31 VECTOR instr_service ; Instrn Error label 32 VECTOR EV_MachineCheck ; Fatal Machine check label 33 VECTOR EV_TLBMissI ; Intruction TLB miss label 34 VECTOR EV_TLBMissD ; Data TLB miss label 35 VECTOR EV_TLBProtV ; Protection Violation label [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/include/asm/ |
| D | hw_irq.h | 44 #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 */ 72 #define IA64_PERFMON_VECTOR 0xee /* performance monitor interrupt vector */ 77 #define IA64_IPI_VECTOR 0xfe /* inter-processor interrupt vector */ 91 IA64_IPI_DM_NMI = 0x4, /* pend an NMI (vector 2) */ 100 ia64_vector vector; member [all …]
|
| /kernel/linux/linux-5.10/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 …]
|