Home
last modified time | relevance | path

Searched full:msa (Results 1 – 25 of 48) sorted by relevance

12

/linux/arch/mips/include/asm/
H A Dmsa.h25 * read_msa_wr() - Read a single MSA vector register
30 * Read the value of MSA vector register idx into the FPU register
64 * write_msa_wr() - Write a single MSA vector register
69 * Write the value from the FPU register union from into MSA vector
125 * compiler to optimise out code for CPUs without MSA without adding in thread_msa_context_live()
126 * an extra redundant check for CPUs with MSA. in thread_msa_context_live()
150 * compiler to optimise out code for CPUs without MSA without adding in init_msa_upper()
151 * an extra redundant check for CPUs with MSA. in init_msa_upper()
162 * to allow compilation with toolchains that do not support MSA. Once all
163 * toolchains in use support MSA these can be removed.
[all …]
H A Dasmmacro.h13 #include <asm/msa.h>
253 .set msa
262 .set msa
271 .set msa
280 .set msa
289 .set msa
298 .set msa
307 .set msa
316 .set msa
325 .set msa
[all …]
H A Dthread_info.h130 #define TIF_USEDMSA 29 /* MSA has been used this quantum */
131 #define TIF_MSA_CTX_LIVE 30 /* MSA context must be preserved */
/linux/arch/mips/include/uapi/asm/
H A Ducontext.h26 * struct msa_extcontext - MSA extended context structure
28 * @wr: the most significant 64 bits of each MSA vector register
29 * @csr: the value of the MSA control & status register
31 * If MSA context is live for a task at the time a signal is delivered to it,
32 * this structure will hold the MSA context of the task as it was prior to the
H A Dkvm.h69 * Register set = 3: FPU / MSA registers (see definitions below).
168 * KVM_REG_MIPS_FPU - Floating Point and MIPS SIMD Architecture (MSA) registers.
193 * KVM_REG_MIPS_MSACR - MIPS SIMD Architecture (MSA) control registers.
H A Dinst.h314 * MSA minor opcodes.
321 * MSA ELM opcodes.
329 * func field for MSA MI10 format.
337 * MSA 2 bit format fields.
778 struct msa_mi10_format { /* MSA MI10 */
/linux/arch/mips/kernel/
H A Dsignal.c40 #include <asm/msa.h>
165 struct msa_extcontext __user *msa = buf; in save_msa_extcontext() local
173 * Ensure that we can't lose the live MSA context between checking in save_msa_extcontext()
181 * instructions, so MSA context has to be saved to kernel memory in save_msa_extcontext()
188 err = __put_user(read_msa_csr(), &msa->csr); in save_msa_extcontext()
189 err |= _save_msa_all_upper(&msa->wr); in save_msa_extcontext()
195 err = __put_user(current->thread.fpu.msacsr, &msa->csr); in save_msa_extcontext()
199 err |= __put_user(val, &msa->wr[i]); in save_msa_extcontext()
203 err |= __put_user(MSA_EXTCONTEXT_MAGIC, &msa->ext.magic); in save_msa_extcontext()
204 err |= __put_user(sizeof(*msa), &msa->ext.size); in save_msa_extcontext()
[all …]
H A Dtraps.c60 #include <asm/msa.h>
1276 static int enable_restore_fp_context(int msa) in enable_restore_fp_context() argument
1287 if (msa && !err) { in enable_restore_fp_context()
1290 * with MSA enabled, userspace can see MSACSR in enable_restore_fp_context()
1291 * and MSA regs, but the values in them are from in enable_restore_fp_context()
1293 * from saved fp/msa context in enable_restore_fp_context()
1311 * If this thread has no live MSA vector context then we can simply in enable_restore_fp_context()
1312 * restore the scalar FP context. If it has live MSA vector context in enable_restore_fp_context()
1313 * (that is, it has or may have used MSA since last performing a in enable_restore_fp_context()
1316 * instruction. This is because if we were to later execute an MSA in enable_restore_fp_context()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dqmi.c59 ath10k_err(ar, "failed to assign msa map permissions: %d\n", ret); in ath10k_qmi_map_msa_permission()
83 ath10k_err(ar, "failed to unmap msa permissions: %d\n", ret); in ath10k_qmi_unmap_msa_permission()
131 req.msa_addr = ar->msa.paddr; in ath10k_qmi_msa_mem_info_send_sync_msg()
132 req.size = ar->msa.mem_size; in ath10k_qmi_msa_mem_info_send_sync_msg()
145 ath10k_err(ar, "failed to send msa mem info req: %d\n", ret); in ath10k_qmi_msa_mem_info_send_sync_msg()
154 ath10k_err(ar, "msa info req rejected: %d\n", resp.resp.error); in ath10k_qmi_msa_mem_info_send_sync_msg()
166 max_mapped_addr = ar->msa.paddr + ar->msa.mem_size; in ath10k_qmi_msa_mem_info_send_sync_msg()
169 if (resp.mem_region_info[i].size > ar->msa.mem_size || in ath10k_qmi_msa_mem_info_send_sync_msg()
171 resp.mem_region_info[i].region_addr < ar->msa.paddr || in ath10k_qmi_msa_mem_info_send_sync_msg()
184 "qmi msa mem region %d addr 0x%pa size 0x%x flag 0x%08x\n", in ath10k_qmi_msa_mem_info_send_sync_msg()
[all …]
/linux/arch/csky/abiv2/inc/abi/
H A Dentry.h290 * MMU on: use origin MSA value from bootloader
292 * cr<30/31, 15> MSA register format:
296 mfcr r6, MSA_SET /* Get MSA */
301 mtcr r6, MSA_SET /* Set MSA */
304 mtcr r6, MSA_CLR /* Clr MSA */
/linux/arch/s390/tools/
H A Dgen_facilities.c88 76, /* msa extension 3 */
89 77, /* msa extension 4 */
94 146, /* msa extension 8 */
97 155, /* msa extension 9 */
/linux/drivers/scsi/device_handler/
H A DKconfig22 tristate "HP/COMPAQ MSA Device Handler"
25 If you have a HP/COMPAQ MSA device that requires START_STOP to
/linux/drivers/char/mwave/
H A D3780i.c488 /* Set the initial MSA address. No adjustments need to be made to data store addresses */ in dsp3780I_ReadDStore()
530 /* Set the initial MSA address. No adjustments need to be made to data store addresses */ in dsp3780I_ReadAndClearDStore()
571 /* Set the initial MSA address. No adjustments need to be made to data store addresses */ in dsp3780I_WriteDStore()
612 * Set the initial MSA address. To convert from an instruction store in dsp3780I_ReadIStore()
613 * address to an MSA address in dsp3780I_ReadIStore()
661 * Set the initial MSA address. To convert from an instruction store in dsp3780I_WriteIStore()
662 * address to an MSA address in dsp3780I_WriteIStore()
H A D3780i.h62 #define DSP_MsaDataDSISHigh 0x0008 /* MSA data register: d-store word or high byte of i-stor…
63 #define DSP_MsaDataISLow 0x000A /* MSA data register: low word of i-store */
64 #define DSP_ReadAndClear 0x000C /* MSA read and clear data register */
151 /* DSP registers that exist in MSA I/O space */
/linux/arch/mips/kvm/
H A Dtrace.h100 { KVM_TRACE_EXIT_MSA_FPE, "MSA FPE" }, \
102 { KVM_TRACE_EXIT_MSA_DISABLED, "MSA Disabled" }, \
249 { KVM_TRACE_AUX_MSA, "MSA" }, \
250 { KVM_TRACE_AUX_FPU_MSA, "FPU & MSA" }
H A Dmsa.S6 * MIPS SIMD Architecture (MSA) context handling code for KVM.
155 * which triggers an MSA FP Exception, which must be stepped over and
H A DMakefile9 kvm-$(CONFIG_CPU_HAS_MSA) += msa.o
H A Dvz.c114 /* Permit MSAEn changes if MSA supported and enabled */ in kvm_vz_config5_guest_wrmask()
174 /* Permit MSA to be present if MSA is supported */ in kvm_vz_config3_user_wrmask()
1349 * If MSA state is already live, it is undefined how it in kvm_trap_vz_handle_gsfc()
1352 * the MSA state later when CU=1 && FR=1, so play it in kvm_trap_vz_handle_gsfc()
1387 /* Handle changes in FPU/MSA modes */ in kvm_trap_vz_handle_gsfc()
1593 * kvm_trap_vz_handle_msa_disabled() - Guest used MSA while disabled in root.
1596 * Handle when the guest attempts to use MSA when it is disabled in the root
1605 * If MSA not present or not exposed to guest or FR=0, the MSA operation in kvm_trap_vz_handle_msa_disabled()
1608 * If MSA already in use, we shouldn't get this at all. in kvm_trap_vz_handle_msa_disabled()
/linux/tools/arch/mips/include/uapi/asm/
H A Dkvm.h62 * Register set = 3: FPU / MSA registers (see definitions below).
152 * KVM_REG_MIPS_FPU - Floating Point and MIPS SIMD Architecture (MSA) registers.
177 * KVM_REG_MIPS_MSACR - MIPS SIMD Architecture (MSA) control registers.
/linux/Documentation/devicetree/bindings/net/wireless/
H A Dqcom,ath10k.yaml40 Reference to the MSA memory region used by the Wi-Fi firmware
145 qcom,msa-fixed-perm:
151 qcom,no-msa-ready-indicator:
/linux/arch/s390/include/asm/
H A Dcpacf.h20 #define CPACF_KMAC 0xb91e /* MSA */
21 #define CPACF_KM 0xb92e /* MSA */
22 #define CPACF_KMC 0xb92f /* MSA */
23 #define CPACF_KIMD 0xb93e /* MSA */
24 #define CPACF_KLMD 0xb93f /* MSA */
314 return test_facility(17); /* check for MSA */ in __cpacf_check_opcode()
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,sc7180-mss-pil.yaml33 - description: MSA Stream 1
34 - description: MSA Stream 2
H A Dqcom,sc7280-mss-pil.yaml33 - description: MSA Stream 1
34 - description: MSA Stream 2
/linux/tools/testing/selftests/kvm/s390/
H A Dcpumodel_subfuncs_test.c244 /* MSA - Facility bit 17 */
250 /* MSA - Facility bit 77 */
/linux/drivers/staging/gpib/include/
H A Dgpib_cmd.h57 static inline u8 MSA(u32 addr) in MSA() function

12