/linux-6.1.9/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-6.1.9/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-6.1.9/arch/ia64/kernel/ |
D | irq_ia64.c | 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() 134 if (cfg->vector != IRQ_VECTOR_UNASSIGNED) in __bind_irq_vector() 137 per_cpu(vector_irq, cpu)[vector] = irq; in __bind_irq_vector() [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
D | idtentry.h | 31 #define DECLARE_IDTENTRY(vector, func) \ argument 82 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \ argument 120 #define DECLARE_IDTENTRY_RAW(vector, func) \ argument 121 DECLARE_IDTENTRY(vector, func) 148 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \ argument 149 DECLARE_IDTENTRY_ERRORCODE(vector, func) 176 #define DECLARE_IDTENTRY_IRQ(vector, func) \ argument 177 DECLARE_IDTENTRY_ERRORCODE(vector, func) 192 static void __##func(struct pt_regs *regs, u32 vector); \ 198 u32 vector = (u32)(u8)error_code; \ [all …]
|
/linux-6.1.9/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); 128 TP_PROTO(unsigned int irq, unsigned int vector, [all …]
|
D | hyperv.h | 61 int vector), 62 TP_ARGS(cpus, vector), 65 __field(int, vector) 68 __entry->vector = vector; 71 __entry->ncpus, __entry->vector) 76 int vector), 77 TP_ARGS(cpu, vector), 80 __field(int, vector) 83 __entry->vector = vector; 86 __entry->cpu, __entry->vector)
|
/linux-6.1.9/arch/x86/hyperv/ |
D | hv_apic.c | 102 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-6.1.9/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 | x2apic_phys.c | 42 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 …]
|
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() 150 if (!apicd->vector || apicd->vector == MANAGED_IRQ_SHUTDOWN_VECTOR) in apic_update_vector() 162 apicd->prev_vector = apicd->vector; in apic_update_vector() 166 irq_matrix_free(vector_matrix, apicd->cpu, apicd->vector, in apic_update_vector() 171 apicd->vector = newvec; in apic_update_vector() 227 int vector = apicd->vector; in assign_vector_locked() local [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 | 34 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument 40 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_LOGICAL); in x2apic_send_IPI() 44 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument 72 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_LOGICAL); in __x2apic_send_IPI_mask() 80 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument 82 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask() 86 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument 88 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself() 91 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument 93 __x2apic_send_IPI_shorthand(vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself() [all …]
|
/linux-6.1.9/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.1.9/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.1.9/tools/testing/selftests/kvm/x86_64/ |
D | monitor_mwait_test.c | 27 u8 vector; in guest_monitor_wait() local 35 vector = kvm_asm_safe("monitor", "a"(guest_monitor_wait), "c"(0), "d"(0)); in guest_monitor_wait() 37 GUEST_ASSERT_2(vector == UD_VECTOR, testcase, vector); in guest_monitor_wait() 39 GUEST_ASSERT_2(!vector, testcase, vector); in guest_monitor_wait() 41 vector = kvm_asm_safe("mwait", "a"(guest_monitor_wait), "c"(0), "d"(0)); in guest_monitor_wait() 43 GUEST_ASSERT_2(vector == UD_VECTOR, testcase, vector); in guest_monitor_wait() 45 GUEST_ASSERT_2(!vector, testcase, vector); in guest_monitor_wait()
|
D | nested_exceptions_test.c | 76 static void svm_run_l2(struct svm_test_data *svm, void *l2_code, int vector, in svm_run_l2() argument 85 if (vector == FAKE_TRIPLE_FAULT_VECTOR) in svm_run_l2() 88 GUEST_ASSERT_EQ(ctrl->exit_code, (SVM_EXIT_EXCP_BASE + vector)); in svm_run_l2() 115 static void vmx_run_l2(void *l2_code, int vector, uint32_t error_code) in vmx_run_l2() argument 119 GUEST_ASSERT_EQ(vector == SS_VECTOR ? vmlaunch() : vmresume(), 0); in vmx_run_l2() 121 if (vector == FAKE_TRIPLE_FAULT_VECTOR) in vmx_run_l2() 125 GUEST_ASSERT_EQ((vmreadz(VM_EXIT_INTR_INFO) & 0xff), vector); in vmx_run_l2() 167 static void assert_ucall_vector(struct kvm_vcpu *vcpu, int vector) in assert_ucall_vector() argument 178 TEST_ASSERT(vector == uc.args[1], in assert_ucall_vector() 179 "Expected L2 to ask for %d, got %ld", vector, uc.args[1]); in assert_ucall_vector() [all …]
|
/linux-6.1.9/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.1.9/arch/x86/xen/ |
D | smp.c | 136 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() 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() 214 void xen_send_IPI_self(int vector) in xen_send_IPI_self() argument [all …]
|
/linux-6.1.9/arch/sh/kernel/cpu/sh2a/ |
D | ex.S | 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.1.9/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptpf_main.c | 45 int vector; in cptpf_disable_vfpf_mbox_intr() local 56 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFPF_MBOX0); in cptpf_disable_vfpf_mbox_intr() 57 free_irq(vector, cptpf); in cptpf_disable_vfpf_mbox_intr() 62 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFPF_MBOX1); in cptpf_disable_vfpf_mbox_intr() 63 free_irq(vector, cptpf); in cptpf_disable_vfpf_mbox_intr() 101 int vector; in cptpf_disable_vf_flr_me_intrs() local 106 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFFLR0); in cptpf_disable_vf_flr_me_intrs() 107 free_irq(vector, cptpf); in cptpf_disable_vf_flr_me_intrs() 112 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFME0); in cptpf_disable_vf_flr_me_intrs() 113 free_irq(vector, cptpf); in cptpf_disable_vf_flr_me_intrs() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | en_cq.c | 66 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq() 106 cq->vector)) { in mlx4_en_activate_cq() 107 cq->vector = cpumask_first(priv->rx_ring[cq->ring]->affinity_mask); in mlx4_en_activate_cq() 110 &cq->vector); in mlx4_en_activate_cq() 113 cq->vector); in mlx4_en_activate_cq() 119 irq = mlx4_eq_get_irq(mdev->dev, cq->vector); in mlx4_en_activate_cq() 128 cq->vector = rx_cq->vector; in mlx4_en_activate_cq() 141 cq->vector, 0, timestamp_en, &cq->wqres.buf, false); in mlx4_en_activate_cq() 168 mlx4_release_eq(mdev->dev, cq->vector); in mlx4_en_activate_cq() 169 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_activate_cq() [all …]
|
/linux-6.1.9/arch/ia64/include/asm/ |
D | hw_irq.h | 99 ia64_vector vector; member 118 extern int bind_irq_vector(int irq, int vector, cpumask_t domain); 120 extern void ia64_native_free_irq_vector (int vector); 121 extern int reserve_irq_vector (int vector); 123 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect); 134 static inline void ia64_native_resend_irq(unsigned int vector) in ia64_native_resend_irq() argument 136 ia64_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); in ia64_native_resend_irq() 153 return irq_cfg[irq].vector; in irq_to_vector()
|
/linux-6.1.9/Documentation/arm64/ |
D | sme.rst | 21 * 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 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 158 Some new prctl() calls are added to allow programs to manage the SME vector [all …]
|
/linux-6.1.9/drivers/net/wireless/ti/wl1251/ |
D | event.c | 86 u32 vector; in wl1251_event_process() local 90 vector = mbox->events_vector & ~(mbox->events_mask); in wl1251_event_process() 91 wl1251_debug(DEBUG_EVENT, "vector: 0x%x", vector); in wl1251_event_process() 93 if (vector & SCAN_COMPLETE_EVENT_ID) { in wl1251_event_process() 99 if (vector & BSS_LOSE_EVENT_ID) { in wl1251_event_process() 110 if (vector & PS_REPORT_EVENT_ID) { in wl1251_event_process() 117 if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID) { in wl1251_event_process() 125 if (vector & REGAINED_BSS_EVENT_ID) { in wl1251_event_process() 134 if (vector & ROAMING_TRIGGER_LOW_RSSI_EVENT_ID) { in wl1251_event_process() 142 if (vector & ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID) { in wl1251_event_process()
|