| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A 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() 53 static bool dal_vector_presized_costruct(struct vector *vector, in dal_vector_presized_costruct() argument 62 vector->container = NULL; in dal_vector_presized_costruct() [all …]
|
| /linux/drivers/gpu/drm/amd/display/include/ |
| H A 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/arch/x86/hyperv/ |
| H A D | hv_apic.c | 56 void hv_enable_coco_interrupt(unsigned int cpu, unsigned int vector, bool set) in hv_enable_coco_interrupt() argument 58 apic_update_vector(cpu, vector, set); in hv_enable_coco_interrupt() 112 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector, in __send_ipi_mask_ex() argument 129 ipi_arg->vector = vector; in __send_ipi_mask_ex() 167 static bool __send_ipi_mask(const struct cpumask *mask, int vector, in __send_ipi_mask() argument 175 trace_hyperv_send_ipi_mask(mask, vector); in __send_ipi_mask() 194 if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR) in __send_ipi_mask() 210 ipi_arg.vector = vector; in __send_ipi_mask() 230 status = hv_do_fast_hypercall16(HVCALL_SEND_IPI, ipi_arg.vector, in __send_ipi_mask() 235 return __send_ipi_mask_ex(mask, vector, exclude_self); in __send_ipi_mask() [all …]
|
| /linux/arch/x86/include/asm/trace/ |
| H A D | irq_vectors.h | 14 TP_PROTO(int vector), 16 TP_ARGS(vector), 19 __field( int, vector ) 23 __entry->vector = vector; 26 TP_printk("vector=%d", __entry->vector) ); 30 TP_PROTO(int vector), \ 31 TP_ARGS(vector), NULL, NULL); \ 33 TP_PROTO(int vector), \ 34 TP_ARGS(vector), NULL, NULL); 127 TP_PROTO(unsigned int irq, unsigned int vector, [all …]
|
| H A 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/arch/x86/kernel/apic/ |
| H A D | x2apic_savic.c | 37 unsigned int vector, bool set) in update_vector() argument 42 apic_set_vector(vector, bitmap); in update_vector() 44 apic_clear_vector(vector, bitmap); in update_vector() 131 static inline void self_ipi_reg_write(unsigned int vector) in self_ipi_reg_write() argument 133 native_apic_msr_write(APIC_SELF_IPI, vector); in self_ipi_reg_write() 136 static void send_ipi_dest(unsigned int cpu, unsigned int vector, bool nmi) in send_ipi_dest() argument 141 update_vector(cpu, APIC_IRR, vector, true); in send_ipi_dest() 144 static void send_ipi_allbut(unsigned int vector, bool nmi) in send_ipi_allbut() argument 155 send_ipi_dest(cpu, vector, nmi); in send_ipi_allbut() 159 static inline void self_ipi(unsigned int vector, bool nmi) in self_ipi() argument [all …]
|
| H A 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 apic_update_vector(cpu, vector, true); in apic_update_irq_cfg() 141 trace_vector_config(irqd->irq, vector, cpu, apicd->hw_irq_cfg.dest_apicid); in apic_update_irq_cfg() 144 static void apic_free_vector(unsigned int cpu, unsigned int vector, bool managed) in apic_free_vector() argument 146 apic_update_vector(cpu, vector, false); in apic_free_vector() 147 irq_matrix_free(vector_matrix, cpu, vector, managed); in apic_free_vector() 158 trace_vector_update(irqd->irq, newvec, newcpu, apicd->vector, in chip_data_update() 168 if (!apicd->vector || apicd->vector == MANAGED_IRQ_SHUTDOWN_VECTOR) in chip_data_update() [all …]
|
| /linux/drivers/net/wireless/ti/wl12xx/ |
| H A 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/drivers/net/wireless/ti/wl18xx/ |
| H A 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/tools/testing/selftests/kvm/x86/ |
| H A D | xcr0_cpuid_test.c | 53 int i, vector; in guest_code() local 82 vector = xsetbv_safe(0, XFEATURE_MASK_FP); in guest_code() 83 __GUEST_ASSERT(!vector, in guest_code() 85 ex_str(vector)); in guest_code() 87 vector = xsetbv_safe(0, supported_xcr0); in guest_code() 88 __GUEST_ASSERT(!vector, in guest_code() 90 supported_xcr0, ex_str(vector)); in guest_code() 96 vector = xsetbv_safe(0, supported_xcr0 | BIT_ULL(i)); in guest_code() 97 __GUEST_ASSERT(vector == GP_VECTOR, in guest_code() 99 BIT_ULL(i), supported_xcr0, ex_str(vector)); in guest_code()
|
| H A D | monitor_mwait_test.c | 26 #define GUEST_ASSERT_MONITOR_MWAIT(insn, testcase, vector) \ argument 32 __GUEST_ASSERT((vector) == UD_VECTOR, \ 34 testcase, ex_str(vector)); \ 36 __GUEST_ASSERT(!(vector), \ 38 testcase, ex_str(vector)); \ 44 u8 vector; in guest_monitor_wait() local 59 vector = kvm_asm_safe("monitor", "a"(guest_monitor_wait), "c"(0), "d"(0)); in guest_monitor_wait() 60 GUEST_ASSERT_MONITOR_MWAIT("MONITOR", testcase, vector); in guest_monitor_wait() 62 vector = kvm_asm_safe("mwait", "a"(guest_monitor_wait), "c"(0), "d"(0)); in guest_monitor_wait() 63 GUEST_ASSERT_MONITOR_MWAIT("MWAIT", testcase, vector); in guest_monitor_wait()
|
| H A D | nested_exceptions_test.c | 74 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() 114 static void vmx_run_l2(void *l2_code, int vector, u32 error_code) in vmx_run_l2() argument 118 GUEST_ASSERT_EQ(vector == SS_VECTOR ? vmlaunch() : vmresume(), 0); in vmx_run_l2() 120 if (vector == FAKE_TRIPLE_FAULT_VECTOR) in vmx_run_l2() 124 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 175 TEST_ASSERT(vector == uc.args[1], in assert_ucall_vector() 176 "Expected L2 to ask for %d, got %ld", vector, uc.args[1]); in assert_ucall_vector() [all …]
|
| H A D | pmu_counters_test.c | 366 #define GUEST_ASSERT_PMC_MSR_ACCESS(insn, msr, expect_gp, vector) \ argument 367 __GUEST_ASSERT(expect_gp ? vector == GP_VECTOR : !vector, \ 369 expect_gp ? "#GP" : "no fault", msr, ex_str(vector)) \ 379 u8 vector; in guest_test_rdpmc() local 382 vector = rdpmc_safe(rdpmc_idx, &val); in guest_test_rdpmc() 383 GUEST_ASSERT_PMC_MSR_ACCESS(RDPMC, rdpmc_idx, !expect_success, vector); in guest_test_rdpmc() 390 vector = rdpmc_safe_fep(rdpmc_idx, &val); in guest_test_rdpmc() 391 GUEST_ASSERT_PMC_MSR_ACCESS(RDPMC, rdpmc_idx, !expect_success, vector); in guest_test_rdpmc() 425 u8 vector; in guest_rd_wr_counters() local 428 vector = wrmsr_safe(msr, test_val); in guest_rd_wr_counters() [all …]
|
| /linux/arch/sh/kernel/cpu/sh2a/ |
| H A 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/include/trace/events/ |
| H A D | osnoise.h | 135 TP_PROTO(int vector, u64 start, u64 duration), 137 TP_ARGS(vector, start, duration), 142 __field( int, vector ) 146 __entry->vector = vector; 152 show_softirq_name(__entry->vector), 153 __entry->vector, 161 TP_PROTO(int vector, const char *desc, u64 start, u64 duration), 163 TP_ARGS(vector, desc, start, duration), 169 __field( int, vector ) 175 __entry->vector = vector; [all …]
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A 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()
|
| /linux/Documentation/arch/arm64/ |
| H A 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 78 SME defines a second vector length similar to the SVE vector length which 81 mode SVE vector. 99 * All other SME state of a thread, including the currently configured vector 100 length, the state of the PR_SME_VL_INHERIT flag, and the deferred vector 117 the thread's vector length (in za_context.vl). 157 * The vector length cannot be changed via signal return. If za_context.vl in 158 the signal frame does not match the current vector length, the signal return [all …]
|
| /linux/drivers/s390/cio/ |
| H A D | airq.c | 145 iv->vector = dma_pool_zalloc(airq_iv_cache, GFP_KERNEL, in airq_iv_create() 147 if (!iv->vector) in airq_iv_create() 150 iv->vector = vec; in airq_iv_create() 152 iv->vector = cio_dma_zalloc(size); in airq_iv_create() 153 if (!iv->vector) in airq_iv_create() 188 if (iv->flags & AIRQ_IV_CACHELINE && iv->vector) in airq_iv_create() 189 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_create() 191 cio_dma_free(iv->vector, size); in airq_iv_create() 208 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_release() 210 cio_dma_free(iv->vector, iv_size(iv->bits)); in airq_iv_release() [all …]
|
| /linux/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-signal-context-chk-vsx.c | 37 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v… 42 vector int vsxs[] = { 60 uint8_t vsx[sizeof(vector int)]; in signal_usr1() 61 uint8_t vsx_tm[sizeof(vector int)]; in signal_usr1() 109 fail = memcmp(vsx, &vsxs[i], sizeof(vector int)); in signal_usr1() 133 fail = memcmp(vsx_tm, &vsxs[NV_VSX_REGS + i], sizeof(vector int)); in signal_usr1()
|
| /linux/arch/x86/entry/ |
| H A D | common.c | 18 noinstr void x86_entry_from_kvm(unsigned int event_type, unsigned int vector) in x86_entry_from_kvm() argument 27 fred_entry_from_kvm(event_type, vector); in x86_entry_from_kvm() 29 idt_entry_from_kvm(vector); in x86_entry_from_kvm() 50 return fred_entry_from_kvm(event_type, vector); in x86_entry_from_kvm()
|
| /linux/arch/x86/include/asm/ |
| H A D | irq_stack.h | 194 #define IRQ_CONSTRAINTS , [arg1] "r" (regs), [arg2] "r" ((unsigned long)vector) 196 #define run_irq_on_irqstack_cond(func, regs, vector) \ argument 200 assert_arg_type(vector, u32); \ 203 IRQ_CONSTRAINTS, regs, vector); \ 232 #define run_irq_on_irqstack_cond(func, regs, vector) \ argument 235 func(regs, vector); \
|
| /linux/arch/alpha/kernel/ |
| H A D | irq_alpha.c | 31 dummy_perf(unsigned long vector, struct pt_regs *regs) in dummy_perf() argument 45 do_entInt(unsigned long type, unsigned long vector, in do_entInt() argument 75 alpha_mv.machine_check(vector, la_ptr); in do_entInt() 80 alpha_mv.device_interrupt(vector); in do_entInt() 88 type, vector); in do_entInt() 128 process_mcheck_info(unsigned long vector, unsigned long la_ptr, in process_mcheck_info() argument 156 machine, vector, get_irq_regs()->pc, mchk_header->code); in process_mcheck_info()
|
| /linux/tools/testing/selftests/powerpc/math/ |
| H A D | vsx_preempt.c | 36 __thread vector int varray[24] = { 46 extern long preempt_vsx(vector int *varray, int *threads_starting, int *running); 48 long vsx_memcmp(vector int *a) { in vsx_memcmp() 49 vector int zero = {0, 0, 0, 0}; in vsx_memcmp() 55 if (memcmp(&a[i + 12], &zero, sizeof(vector int)) == 0) { in vsx_memcmp() 61 if (memcmp(a, &a[12], 12 * sizeof(vector int))) { in vsx_memcmp()
|
| /linux/drivers/irqchip/ |
| H A D | irq-loongson-eiointc.c | 46 #define EIOINTC_ALL_ENABLE_VEC_MASK(vector) (EIOINTC_ALL_ENABLE & ~BIT(vector & 0x1f)) argument 47 #define EIOINTC_REG_ENABLE_VEC(vector) (EIOINTC_REG_ENABLE + ((vector >> 5) << 2)) argument 58 #define EIOINTC_REG_ROUTE_VEC(vector) (EIOINTC_REG_ROUTE + (vector & ~0x03)) argument 59 #define EIOINTC_REG_ROUTE_VEC_SHIFT(vector) ((vector & 0x03) << 3) argument 60 #define EIOINTC_REG_ROUTE_VEC_MASK(vector) (0xff << EIOINTC_REG_ROUTE_VEC_SHIFT(vector)) argument 132 static void veiointc_set_irq_route(unsigned int vector, unsigned int cpu) in veiointc_set_irq_route() argument 134 unsigned long reg = EIOINTC_REG_ROUTE_VEC(vector); in veiointc_set_irq_route() 138 data &= ~EIOINTC_REG_ROUTE_VEC_MASK(vector); in veiointc_set_irq_route() 139 data |= cpu_logical_map(cpu) << EIOINTC_REG_ROUTE_VEC_SHIFT(vector); in veiointc_set_irq_route() 149 uint32_t vector, regaddr; in eiointc_set_irq_affinity() local [all …]
|
| /linux/tools/perf/trace/beauty/tracepoints/ |
| H A D | x86_irq_vectors.c | 14 static size_t x86_irq_vectors__scnprintf(unsigned long vector, char *bf, size_t size, bool show_pre… in x86_irq_vectors__scnprintf() argument 16 …return strarray__scnprintf_suffix(&strarray__x86_irq_vectors, bf, size, "%#x", show_prefix, vector… in x86_irq_vectors__scnprintf() 21 unsigned long vector = arg->val; in syscall_arg__scnprintf_x86_irq_vectors() local 23 return x86_irq_vectors__scnprintf(vector, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_x86_irq_vectors()
|