Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/arch/mips/include/asm/
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 …]
Dasmmacro.h13 #include <asm/msa.h>
247 .set msa
256 .set msa
265 .set msa
274 .set msa
283 .set msa
292 .set msa
301 .set msa
310 .set msa
319 .set msa
[all …]
/kernel/linux/linux-6.6/arch/mips/include/asm/
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 …]
Dasmmacro.h13 #include <asm/msa.h>
247 .set msa
256 .set msa
265 .set msa
274 .set msa
283 .set msa
292 .set msa
301 .set msa
310 .set msa
319 .set msa
[all …]
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/
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
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
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
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
Dsnoc.c1451 hdr->start = cpu_to_le32((unsigned long)ar->msa.vaddr); in ath10k_msa_dump_memory()
1452 hdr->length = cpu_to_le32(ar->msa.mem_size); in ath10k_msa_dump_memory()
1454 if (current_region->len < ar->msa.mem_size) { in ath10k_msa_dump_memory()
1455 memcpy(buf, ar->msa.vaddr, current_region->len); in ath10k_msa_dump_memory()
1456 ath10k_warn(ar, "msa dump length is less than msa size %x, %x\n", in ath10k_msa_dump_memory()
1457 current_region->len, ar->msa.mem_size); in ath10k_msa_dump_memory()
1459 memcpy(buf, ar->msa.vaddr, ar->msa.mem_size); in ath10k_msa_dump_memory()
1567 dev_err(dev, "failed to resolve msa fixed region\n"); in ath10k_setup_msa_resources()
1571 ar->msa.paddr = r.start; in ath10k_setup_msa_resources()
1572 ar->msa.mem_size = resource_size(&r); in ath10k_setup_msa_resources()
[all …]
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dsnoc.c1443 hdr->start = cpu_to_le32((unsigned long)ar->msa.vaddr); in ath10k_msa_dump_memory()
1444 hdr->length = cpu_to_le32(ar->msa.mem_size); in ath10k_msa_dump_memory()
1446 if (current_region->len < ar->msa.mem_size) { in ath10k_msa_dump_memory()
1447 memcpy(buf, ar->msa.vaddr, current_region->len); in ath10k_msa_dump_memory()
1448 ath10k_warn(ar, "msa dump length is less than msa size %x, %x\n", in ath10k_msa_dump_memory()
1449 current_region->len, ar->msa.mem_size); in ath10k_msa_dump_memory()
1451 memcpy(buf, ar->msa.vaddr, ar->msa.mem_size); in ath10k_msa_dump_memory()
1491 dev_err(dev, "failed to resolve msa fixed region\n"); in ath10k_setup_msa_resources()
1495 ar->msa.paddr = r.start; in ath10k_setup_msa_resources()
1496 ar->msa.mem_size = resource_size(&r); in ath10k_setup_msa_resources()
[all …]
Dqmi.c53 ath10k_err(ar, "failed to assign msa map permissions: %d\n", ret); in ath10k_qmi_map_msa_permission()
77 ath10k_err(ar, "failed to unmap msa permissions: %d\n", ret); in ath10k_qmi_unmap_msa_permission()
125 req.msa_addr = ar->msa.paddr; in ath10k_qmi_msa_mem_info_send_sync_msg()
126 req.size = ar->msa.mem_size; in ath10k_qmi_msa_mem_info_send_sync_msg()
139 ath10k_err(ar, "failed to send msa mem info req: %d\n", ret); in ath10k_qmi_msa_mem_info_send_sync_msg()
148 ath10k_err(ar, "msa info req rejected: %d\n", resp.resp.error); in ath10k_qmi_msa_mem_info_send_sync_msg()
160 max_mapped_addr = ar->msa.paddr + ar->msa.mem_size; in ath10k_qmi_msa_mem_info_send_sync_msg()
163 if (resp.mem_region_info[i].size > ar->msa.mem_size || in ath10k_qmi_msa_mem_info_send_sync_msg()
165 resp.mem_region_info[i].region_addr < ar->msa.paddr || in ath10k_qmi_msa_mem_info_send_sync_msg()
178 "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 …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dsignal.c41 #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 …]
/kernel/linux/linux-6.6/arch/mips/kernel/
Dsignal.c40 #include <asm/msa.h>
164 struct msa_extcontext __user *msa = buf; in save_msa_extcontext() local
172 * Ensure that we can't lose the live MSA context between checking in save_msa_extcontext()
180 * instructions, so MSA context has to be saved to kernel memory in save_msa_extcontext()
187 err = __put_user(read_msa_csr(), &msa->csr); in save_msa_extcontext()
188 err |= _save_msa_all_upper(&msa->wr); in save_msa_extcontext()
194 err = __put_user(current->thread.fpu.msacsr, &msa->csr); in save_msa_extcontext()
198 err |= __put_user(val, &msa->wr[i]); in save_msa_extcontext()
202 err |= __put_user(MSA_EXTCONTEXT_MAGIC, &msa->ext.magic); in save_msa_extcontext()
203 err |= __put_user(sizeof(*msa), &msa->ext.size); in save_msa_extcontext()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_stream_encoder.c220 /* Double buffer enable for MSA and pixel format registers in dcn31_hpo_dp_stream_enc_set_stream_attribute()
365 /* MSA Packet Mapping to 32-bit Link Symbols - DP2 spec, section 2.7.4.1 in dcn31_hpo_dp_stream_enc_set_stream_attribute()
368 * MSA[0] = { 0, 0, 0, VFREQ[47:40]} in dcn31_hpo_dp_stream_enc_set_stream_attribute()
369 * MSA[1] = { 0, 0, 0, VFREQ[39:32]} in dcn31_hpo_dp_stream_enc_set_stream_attribute()
370 * MSA[2] = { 0, 0, 0, VFREQ[31:24]} in dcn31_hpo_dp_stream_enc_set_stream_attribute()
371 * MSA[3] = { HTotal[15:8], HStart[15:8], HWidth[15:8], VFREQ[23:16]} in dcn31_hpo_dp_stream_enc_set_stream_attribute()
372 * MSA[4] = { HTotal[ 7:0], HStart[ 7:0], HWidth[ 7:0], VFREQ[15: 8]} in dcn31_hpo_dp_stream_enc_set_stream_attribute()
373 * MSA[5] = { VTotal[15:8], VStart[15:8], VHeight[15:8], VFREQ[ 7: 0]} in dcn31_hpo_dp_stream_enc_set_stream_attribute()
374 * MSA[6] = { VTotal[ 7:0], VStart[ 7:0], VHeight[ 7:0], MISC0[ 7: 0]} in dcn31_hpo_dp_stream_enc_set_stream_attribute()
375 * MSA[7] = { HSP|HSW[14:8], VSP|VSW[14:8], 0, MISC1[ 7: 0]} in dcn31_hpo_dp_stream_enc_set_stream_attribute()
[all …]
/kernel/linux/linux-6.6/arch/csky/abiv2/inc/abi/
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 */
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dkvm.h143 __u8 kmac[16]; /* with MSA */
144 __u8 kmc[16]; /* with MSA */
145 __u8 km[16]; /* with MSA */
146 __u8 kimd[16]; /* with MSA */
147 __u8 klmd[16]; /* with MSA */
/kernel/linux/linux-6.6/tools/arch/s390/include/uapi/asm/
Dkvm.h144 __u8 kmac[16]; /* with MSA */
145 __u8 kmc[16]; /* with MSA */
146 __u8 km[16]; /* with MSA */
147 __u8 kimd[16]; /* with MSA */
148 __u8 klmd[16]; /* with MSA */
/kernel/linux/linux-5.10/tools/arch/s390/include/uapi/asm/
Dkvm.h143 __u8 kmac[16]; /* with MSA */
144 __u8 kmc[16]; /* with MSA */
145 __u8 km[16]; /* with MSA */
146 __u8 kimd[16]; /* with MSA */
147 __u8 klmd[16]; /* with MSA */
/kernel/linux/linux-6.6/arch/s390/include/uapi/asm/
Dkvm.h144 __u8 kmac[16]; /* with MSA */
145 __u8 kmc[16]; /* with MSA */
146 __u8 km[16]; /* with MSA */
147 __u8 kimd[16]; /* with MSA */
148 __u8 klmd[16]; /* with MSA */
/kernel/linux/linux-5.10/arch/s390/tools/
Dgen_facilities.c92 76, /* msa extension 3 */
93 77, /* msa extension 4 */
98 146, /* msa extension 8 */
101 155, /* msa extension 9 */
/kernel/linux/linux-6.6/arch/s390/tools/
Dgen_facilities.c84 76, /* msa extension 3 */
85 77, /* msa extension 4 */
90 146, /* msa extension 8 */
93 155, /* msa extension 9 */
/kernel/linux/linux-6.6/drivers/scsi/device_handler/
DKconfig22 tristate "HP/COMPAQ MSA Device Handler"
25 If you have a HP/COMPAQ MSA device that requires START_STOP to
/kernel/linux/linux-5.10/drivers/scsi/device_handler/
DKconfig22 tristate "HP/COMPAQ MSA Device Handler"
25 If you have a HP/COMPAQ MSA device that requires START_STOP to
/kernel/linux/linux-5.10/arch/mips/kvm/
Dmips.c722 /* MIPS SIMD Architecture (MSA) registers */ in kvm_mips_get_reg()
726 /* Can't access MSA registers in FR=0 mode */ in kvm_mips_get_reg()
856 /* MIPS SIMD Architecture (MSA) registers */ in kvm_mips_set_reg()
1091 * We don't support MSA vector partitioning yet: in kvm_vm_ioctl_check_extension()
1393 * If FPU / MSA are enabled (i.e. the guest's FPU / MSA context in kvm_mips_handle_exit()
1397 * vector, as it may well cause an [MSA] FP exception if there in kvm_mips_handle_exit()
1428 * If MSA state is already live, it is undefined how it interacts with in kvm_own_fpu()
1430 * exceptions trying to save the MSA state later when CU=1 && FR=1, so in kvm_own_fpu()
1465 /* Enable MSA for guest and restore context */
1482 * interacts with MSA state, so play it safe and save it first. in kvm_own_msa()
[all …]
/kernel/linux/linux-6.6/arch/mips/kvm/
Dmips.c707 /* MIPS SIMD Architecture (MSA) registers */ in kvm_mips_get_reg()
711 /* Can't access MSA registers in FR=0 mode */ in kvm_mips_get_reg()
841 /* MIPS SIMD Architecture (MSA) registers */ in kvm_mips_set_reg()
1060 * We don't support MSA vector partitioning yet: in kvm_vm_ioctl_check_extension()
1341 * If FPU / MSA are enabled (i.e. the guest's FPU / MSA context in __kvm_mips_handle_exit()
1345 * vector, as it may well cause an [MSA] FP exception if there in __kvm_mips_handle_exit()
1382 * If MSA state is already live, it is undefined how it interacts with in kvm_own_fpu()
1384 * exceptions trying to save the MSA state later when CU=1 && FR=1, so in kvm_own_fpu()
1415 /* Enable MSA for guest and restore context */
1432 * interacts with MSA state, so play it safe and save it first. in kvm_own_msa()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath10k.txt73 Definition: reference to the reserved-memory for the msa region
92 - qcom,msa-fixed-perm: Boolean context flag to disable SCM call for statically
93 mapped msa region.
211 qcom,msa-fixed-perm;

123456