Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dvector.c30 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
61 vector->container = NULL; in dal_vector_presized_costruct()
[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(
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/arch/x86/include/asm/trace/
H A Dirq_vectors.h15 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 …]
H A Dhyperv.h61 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/arch/x86/hyperv/
H A Dhv_apic.c107 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/arch/x86/kernel/apic/
H A Dipi.c51 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
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()
188 void default_send_IPI_single_phys(int cpu, int vector) in default_send_IPI_single_phys() argument
[all …]
H A Dlocal.h17 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 …]
H A Dx2apic_phys.c44 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 …]
H A Dapic_numachip.c68 static void numachip_send_IPI_one(int cpu, int vector) in numachip_send_IPI_one() argument
81 __default_send_IPI_dest_field(apicid, vector, in numachip_send_IPI_one()
89 dmode = (vector == NMI_VECTOR) ? APIC_DM_NMI : APIC_DM_FIXED; in numachip_send_IPI_one()
90 numachip_apic_icr_write(apicid, dmode | vector); in numachip_send_IPI_one()
93 static void numachip_send_IPI_mask(const struct cpumask *mask, int vector) in numachip_send_IPI_mask() argument
98 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask()
102 int vector) in numachip_send_IPI_mask_allbutself() argument
109 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask_allbutself()
113 static void numachip_send_IPI_allbutself(int vector) in numachip_send_IPI_allbutself() argument
120 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_allbutself()
[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/entry/
H A Dentry_fred.c31 regs->fred_ss.type, regs->fred_ss.vector, error_code, 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
147 for (vector = 0; vector < FIRST_EXTERNAL_VECTOR; vector++) in fred_complete_exception_setup()
148 set_bit(vector, system_vectors); in fred_complete_exception_setup()
150 for (vector = 0; vector < NR_SYSTEM_VECTORS; vector++) { in fred_complete_exception_setup()
[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/arch/riscv/kvm/
H A Dvcpu_vector.c27 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()
108 *reg_addr = &cntx->vector.vstart; in kvm_riscv_vcpu_vreg_addr()
[all …]
/linux/include/trace/events/
H A Dosnoise.h39 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 )
[all...]
/linux/arch/riscv/crypto/
H A DKconfig16 - 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/tools/testing/selftests/kvm/x86_64/
H A Dmonitor_mwait_test.c23 #define GUEST_ASSERT_MONITOR_MWAIT(insn, testcase, vector) \ argument
29 __GUEST_ASSERT((vector) == UD_VECTOR, \
31 testcase, vector); \
33 __GUEST_ASSERT(!(vector), \
35 testcase, vector); \
40 u8 vector; in guest_monitor_wait() local
48 vector = kvm_asm_safe("monitor", "a"(guest_monitor_wait), "c"(0), "d"(0)); in guest_monitor_wait()
49 GUEST_ASSERT_MONITOR_MWAIT("MONITOR", testcase, vector); in guest_monitor_wait()
51 vector = kvm_asm_safe("mwait", "a"(guest_monitor_wait), "c"(0), "d"(0)); in guest_monitor_wait()
52 GUEST_ASSERT_MONITOR_MWAIT("MWAIT", testcase, vector); in guest_monitor_wait()
H A Dnested_exceptions_test.c74 static void svm_run_l2(struct svm_test_data *svm, void *l2_code, int vector, in svm_run_l2() argument
83 if (vector == FAKE_TRIPLE_FAULT_VECTOR) in svm_run_l2()
86 GUEST_ASSERT_EQ(ctrl->exit_code, (SVM_EXIT_EXCP_BASE + vector)); in svm_run_l2()
113 static void vmx_run_l2(void *l2_code, int vector, uint32_t error_code) in vmx_run_l2() argument
117 GUEST_ASSERT_EQ(vector == SS_VECTOR ? vmlaunch() : vmresume(), 0); in vmx_run_l2()
119 if (vector == FAKE_TRIPLE_FAULT_VECTOR) in vmx_run_l2()
123 GUEST_ASSERT_EQ((vmreadz(VM_EXIT_INTR_INFO) & 0xff), vector); in vmx_run_l2()
165 static void assert_ucall_vector(struct kvm_vcpu *vcpu, int vector) in assert_ucall_vector() argument
173 TEST_ASSERT(vector == uc.args[1], in assert_ucall_vector()
174 "Expected L2 to ask for %d, got %ld", vector, uc.args[1]); in assert_ucall_vector()
[all …]
H A Dpmu_counters_test.c328 #define GUEST_ASSERT_PMC_MSR_ACCESS(insn, msr, expect_gp, vector) \ argument
329 __GUEST_ASSERT(expect_gp ? vector == GP_VECTOR : !vector, \
331 expect_gp ? "#GP" : "no fault", msr, vector) \
341 uint8_t vector; in guest_test_rdpmc() local
344 vector = rdpmc_safe(rdpmc_idx, &val); in guest_test_rdpmc()
345 GUEST_ASSERT_PMC_MSR_ACCESS(RDPMC, rdpmc_idx, !expect_success, vector); in guest_test_rdpmc()
352 vector = rdpmc_safe_fep(rdpmc_idx, &val); in guest_test_rdpmc()
353 GUEST_ASSERT_PMC_MSR_ACCESS(RDPMC, rdpmc_idx, !expect_success, vector); in guest_test_rdpmc()
387 uint8_t vector; in guest_rd_wr_counters() local
390 vector = wrmsr_safe(msr, test_val); in guest_rd_wr_counters()
[all …]
/linux/arch/x86/xen/
H A Dsmp.c145 int vector) in __xen_send_IPI_mask() argument
150 xen_send_IPI_one(cpu, vector); in __xen_send_IPI_mask()
174 static inline int xen_map_vector(int vector) in xen_map_vector() argument
178 switch (vector) { in xen_map_vector()
200 vector); in xen_map_vector()
207 int vector) in xen_send_IPI_mask() argument
209 int xen_vector = xen_map_vector(vector); in xen_send_IPI_mask()
215 void xen_send_IPI_all(int vector) in xen_send_IPI_all() argument
217 int xen_vector = xen_map_vector(vector); in xen_send_IPI_all()
223 void xen_send_IPI_self(int vector) in xen_send_IPI_self() argument
[all …]
/linux/arch/sh/kernel/cpu/sh2a/
H A Dex.S61 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/arch/x86/kvm/
H A Dirq.c127 int vector = v->arch.pending_external_vector; in kvm_cpu_get_extint() local
130 return vector; in kvm_cpu_get_extint()
141 int vector = kvm_cpu_get_extint(v); in kvm_cpu_get_interrupt() local
142 if (vector != -1) in kvm_cpu_get_interrupt()
143 return vector; /* PIC */ in kvm_cpu_get_interrupt()
145 vector = kvm_apic_has_interrupt(v); /* APIC */ in kvm_cpu_get_interrupt()
146 if (vector != -1) in kvm_cpu_get_interrupt()
147 kvm_apic_ack_interrupt(v, vector); in kvm_cpu_get_interrupt()
149 return vector; in kvm_cpu_get_interrupt()
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_main.c49 int vector; in cptpf_disable_vfpf_mbox_intr() local
60 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFPF_MBOX0); in cptpf_disable_vfpf_mbox_intr()
61 free_irq(vector, cptpf); in cptpf_disable_vfpf_mbox_intr()
66 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFPF_MBOX1); in cptpf_disable_vfpf_mbox_intr()
67 free_irq(vector, cptpf); in cptpf_disable_vfpf_mbox_intr()
105 int vector; in cptpf_disable_vf_flr_me_intrs() local
110 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFFLR0); in cptpf_disable_vf_flr_me_intrs()
111 free_irq(vector, cptpf); in cptpf_disable_vf_flr_me_intrs()
116 vector = pci_irq_vector(cptpf->pdev, RVU_PF_INT_VEC_VFME0); in cptpf_disable_vf_flr_me_intrs()
117 free_irq(vector, cptpf); in cptpf_disable_vf_flr_me_intrs()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_cq.c66 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()
129 irq = mlx4_eq_get_irq(mdev->dev, cq->vector); in mlx4_en_activate_cq()
142 cq->vector, 0, timestamp_en, &cq->wqres.buf, false); in mlx4_en_activate_cq()
174 mlx4_release_eq(mdev->dev, cq->vector); in mlx4_en_activate_cq()
[all …]
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_irq.c38 int vector, err; in txgbe_request_queue_irqs() local
43 for (vector = 0; vector < wx->num_q_vectors; vector++) { in txgbe_request_queue_irqs()
44 struct wx_q_vector *q_vector = wx->q_vector[vector]; in txgbe_request_queue_irqs()
45 struct msix_entry *entry = &wx->msix_q_entries[vector]; in txgbe_request_queue_irqs()
54 err = request_irq(entry->vector, wx_msix_clean_rings, 0, in txgbe_request_queue_irqs()
66 while (vector) { in txgbe_request_queue_irqs()
67 vector--; in txgbe_request_queue_irqs()
68 free_irq(wx->msix_q_entries[vector].vector, in txgbe_request_queue_irqs()
69 wx->q_vector[vector]); in txgbe_request_queue_irqs()
205 txgbe->misc.irq = wx->msix_entry->vector; in txgbe_setup_misc_irq()
/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
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
168 the signal frame does not match the current vector length, the signal return
[all …]

12345678910>>...22