/Linux-v4.19/drivers/gpu/drm/amd/display/dc/basics/ |
D | vector.c | 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 62 vector->container = NULL; in dal_vector_presized_costruct() [all …]
|
/Linux-v4.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( 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, 83 const struct vector *vector, [all …]
|
/Linux-v4.19/arch/ia64/kernel/ |
D | irq_ia64.c | 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() 140 if (cfg->vector != IRQ_VECTOR_UNASSIGNED) in __bind_irq_vector() 143 per_cpu(vector_irq, cpu)[vector] = irq; in __bind_irq_vector() [all …]
|
/Linux-v4.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 …]
|
/Linux-v4.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 …]
|
/Linux-v4.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() 152 if (!apicd->vector || apicd->vector == MANAGED_IRQ_SHUTDOWN_VECTOR) in apic_update_vector() 164 apicd->prev_vector = apicd->vector; in apic_update_vector() 167 irq_matrix_free(vector_matrix, apicd->cpu, apicd->vector, in apic_update_vector() 172 apicd->vector = newvec; in apic_update_vector() 228 int vector = apicd->vector; in assign_vector_locked() local [all …]
|
D | x2apic_phys.c | 41 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument 46 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_PHYSICAL); in x2apic_send_IPI() 50 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument 65 vector, APIC_DEST_PHYSICAL); in __x2apic_send_IPI_mask() 70 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument 72 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask() 76 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument 78 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself() 81 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument 83 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself() [all …]
|
D | apic_flat_64.c | 57 static void _flat_send_IPI_mask(unsigned long mask, int vector) in _flat_send_IPI_mask() argument 62 __default_send_IPI_dest_field(mask, vector, apic->dest_logical); in _flat_send_IPI_mask() 66 static void flat_send_IPI_mask(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask() argument 70 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_mask() 74 flat_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask_allbutself() argument 82 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_mask_allbutself() 85 static void flat_send_IPI_allbutself(int vector) in flat_send_IPI_allbutself() argument 89 if (IS_ENABLED(CONFIG_HOTPLUG_CPU) || vector == NMI_VECTOR) { in flat_send_IPI_allbutself() 96 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_allbutself() 100 vector, apic->dest_logical); in flat_send_IPI_allbutself() [all …]
|
D | apic_numachip.c | 94 static void numachip_send_IPI_one(int cpu, int vector) in numachip_send_IPI_one() argument 107 __default_send_IPI_dest_field(apicid, vector, in numachip_send_IPI_one() 115 dmode = (vector == NMI_VECTOR) ? APIC_DM_NMI : APIC_DM_FIXED; in numachip_send_IPI_one() 116 numachip_apic_icr_write(apicid, dmode | vector); in numachip_send_IPI_one() 119 static void numachip_send_IPI_mask(const struct cpumask *mask, int vector) in numachip_send_IPI_mask() argument 124 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask() 128 int vector) in numachip_send_IPI_mask_allbutself() argument 135 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask_allbutself() 139 static void numachip_send_IPI_allbutself(int vector) in numachip_send_IPI_allbutself() argument 146 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_allbutself() [all …]
|
D | x2apic_cluster.c | 30 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument 35 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_LOGICAL); in x2apic_send_IPI() 39 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument 66 __x2apic_send_IPI_dest(dest, vector, apic->dest_logical); in __x2apic_send_IPI_mask() 74 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument 76 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask() 80 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument 82 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself() 85 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument 87 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself() [all …]
|
/Linux-v4.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 …]
|
/Linux-v4.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 …]
|
/Linux-v4.19/drivers/net/wireless/ti/wl18xx/ |
D | event.c | 133 u32 vector; in wl18xx_process_mailbox_events() local 135 vector = le32_to_cpu(mbox->events_vector); in wl18xx_process_mailbox_events() 136 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl18xx_process_mailbox_events() 138 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl18xx_process_mailbox_events() 146 if (vector & TIME_SYNC_EVENT_ID) in wl18xx_process_mailbox_events() 153 if (vector & RADAR_DETECTED_EVENT_ID) { in wl18xx_process_mailbox_events() 162 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { in wl18xx_process_mailbox_events() 170 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) in wl18xx_process_mailbox_events() 173 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) in wl18xx_process_mailbox_events() 176 if (vector & BA_SESSION_RX_CONSTRAINT_EVENT_ID) in wl18xx_process_mailbox_events() [all …]
|
/Linux-v4.19/arch/sh/kernel/cpu/sh2a/ |
D | ex.S | 64 vector = 0 define 66 .long exception_entry0 + vector * 6 67 vector = vector + 1 define 69 vector = 0 define 71 .long exception_entry1 + vector * 6 72 vector = vector + 1 define
|
/Linux-v4.19/arch/x86/xen/ |
D | smp.c | 157 int vector) in __xen_send_IPI_mask() argument 162 xen_send_IPI_one(cpu, vector); in __xen_send_IPI_mask() 186 static inline int xen_map_vector(int vector) in xen_map_vector() argument 190 switch (vector) { in xen_map_vector() 212 vector); in xen_map_vector() 219 int vector) in xen_send_IPI_mask() argument 221 int xen_vector = xen_map_vector(vector); in xen_send_IPI_mask() 227 void xen_send_IPI_all(int vector) in xen_send_IPI_all() argument 229 int xen_vector = xen_map_vector(vector); in xen_send_IPI_all() 235 void xen_send_IPI_self(int vector) in xen_send_IPI_self() argument [all …]
|
D | smp.h | 6 int vector); 8 int vector); 9 extern void xen_send_IPI_allbutself(int vector); 10 extern void xen_send_IPI_all(int vector); 11 extern void xen_send_IPI_self(int vector);
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_cq.c | 69 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq() 109 cq->vector)) { in mlx4_en_activate_cq() 110 cq->vector = cpumask_first(priv->rx_ring[cq->ring]->affinity_mask); in mlx4_en_activate_cq() 113 &cq->vector); in mlx4_en_activate_cq() 116 cq->vector); in mlx4_en_activate_cq() 125 cq->vector)); in mlx4_en_activate_cq() 133 cq->vector = rx_cq->vector; in mlx4_en_activate_cq() 146 cq->vector, 0, timestamp_en); in mlx4_en_activate_cq() 174 mlx4_release_eq(mdev->dev, cq->vector); in mlx4_en_activate_cq() 175 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_activate_cq() [all …]
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | hw_irq.h | 101 ia64_vector vector; member 121 extern int bind_irq_vector(int irq, int vector, cpumask_t domain); 123 extern void ia64_native_free_irq_vector (int vector); 124 extern int reserve_irq_vector (int vector); 126 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect); 138 static inline void ia64_native_resend_irq(unsigned int vector) in ia64_native_resend_irq() argument 140 platform_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); in ia64_native_resend_irq() 149 return irq_cfg[irq].vector; in __ia64_irq_to_vector()
|
/Linux-v4.19/Documentation/arm64/ |
D | sve.txt | 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 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 78 * All other SVE state of a thread, including the currently configured vector 79 length, the state of the PR_SVE_VL_INHERIT flag, and the deferred vector 99 the thread's vector length (in sve_context.vl). 134 * The vector length cannot be changed via signal return. If sve_context.vl in 135 the signal frame does not match the current vector length, the signal return 142 Some new prctl() calls are added to allow programs to manage the SVE vector [all …]
|
/Linux-v4.19/drivers/net/wireless/ti/wl1251/ |
D | event.c | 100 u32 vector; in wl1251_event_process() local 104 vector = mbox->events_vector & ~(mbox->events_mask); in wl1251_event_process() 105 wl1251_debug(DEBUG_EVENT, "vector: 0x%x", vector); in wl1251_event_process() 107 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl1251_event_process() 113 if (vector & BSS_LOSE_EVENT_ID) { in wl1251_event_process() 124 if (vector & PS_REPORT_EVENT_ID) { in wl1251_event_process() 131 if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID) { in wl1251_event_process() 139 if (vector & REGAINED_BSS_EVENT_ID) { in wl1251_event_process() 148 if (vector & ROAMING_TRIGGER_LOW_RSSI_EVENT_ID) { in wl1251_event_process() 156 if (vector & ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID) { in wl1251_event_process()
|
/Linux-v4.19/arch/x86/kernel/ |
D | irq.c | 237 unsigned vector = ~regs->orig_ax; in do_IRQ() local 244 desc = __this_cpu_read(vector_irq[vector]); in do_IRQ() 252 vector); in do_IRQ() 254 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); in do_IRQ() 344 unsigned int irr, vector; in fixup_irqs() local 367 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { in fixup_irqs() 368 if (IS_ERR_OR_NULL(__this_cpu_read(vector_irq[vector]))) in fixup_irqs() 371 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs() 372 if (irr & (1 << (vector % 32))) { in fixup_irqs() 373 desc = __this_cpu_read(vector_irq[vector]); in fixup_irqs() [all …]
|
/Linux-v4.19/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-chk-vsx.c | 39 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v… 43 vector int vss[] = { 57 uint8_t vsc[sizeof(vector int)]; in signal_usr1() 58 uint8_t vst[sizeof(vector int)]; in signal_usr1() 76 fail = memcmp(vsc, &vss[i], sizeof(vector int)); in signal_usr1() 79 fail |= memcmp(vst, &vss[i + NV_VSX_REGS], sizeof(vector int)); in signal_usr1()
|
/Linux-v4.19/arch/powerpc/platforms/86xx/ |
D | mpc86xx_smp.c | 65 unsigned int *vector = (unsigned int *)(KERNELBASE + 0x100); in smp_86xx_kick_cpu() local 75 save_vector = *vector; in smp_86xx_kick_cpu() 79 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu() 89 *vector = save_vector; in smp_86xx_kick_cpu() 90 flush_icache_range((unsigned long) vector, (unsigned long) vector + 4); in smp_86xx_kick_cpu()
|
/Linux-v4.19/arch/alpha/kernel/ |
D | proto.h | 24 extern void apecs_machine_check(unsigned long vector, unsigned long la_ptr); 33 extern void cia_machine_check(unsigned long vector, unsigned long la_ptr); 45 extern void lca_machine_check(unsigned long vector, unsigned long la_ptr); 67 extern void mcpcia_machine_check(unsigned long vector, unsigned long la_ptr); 75 extern void polaris_machine_check(unsigned long vector, unsigned long la_ptr); 82 extern void t2_machine_check(unsigned long vector, unsigned long la_ptr); 97 extern void tsunami_machine_check(unsigned long vector, unsigned long la_ptr); 104 extern void wildfire_machine_check(unsigned long vector, unsigned long la_ptr); 222 extern void process_mcheck_info(unsigned long vector, unsigned long la_ptr,
|