Home
last modified time | relevance | path

Searched refs:csrs (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/arch/alpha/kernel/
Dsys_marvel.c96 ctl = &io7->csrs->PO7_LSI_CTL[irq & 0xff].csr; /* assume LSI */ in io7_get_irq_ctl()
98 ctl = &io7->csrs->PO7_MSI_CTL[((irq - 0x80) >> 5) & 0x0f].csr; in io7_get_irq_ctl()
196 val = io7->csrs->PO7_LSI_CTL[which].csr; in io7_redirect_one_lsi()
200 io7->csrs->PO7_LSI_CTL[which].csr = val; in io7_redirect_one_lsi()
202 io7->csrs->PO7_LSI_CTL[which].csr; in io7_redirect_one_lsi()
213 val = io7->csrs->PO7_MSI_CTL[which].csr; in io7_redirect_one_msi()
217 io7->csrs->PO7_MSI_CTL[which].csr = val; in io7_redirect_one_msi()
219 io7->csrs->PO7_MSI_CTL[which].csr; in io7_redirect_one_msi()
228 io7->csrs->PO7_LSI_CTL[which].csr = ((unsigned long)where << 14); in init_one_io7_lsi()
230 io7->csrs->PO7_LSI_CTL[which].csr; in init_one_io7_lsi()
[all …]
Dcore_marvel.c174 io7_ioport_csrs *csrs; in io7_clear_errors() local
182 csrs = IO7_CSRS_KERN(io7->pe, port); in io7_clear_errors()
184 csrs->POx_ERR_SUM.csr = -1UL; in io7_clear_errors()
185 csrs->POx_TLB_ERR.csr = -1UL; in io7_clear_errors()
186 csrs->POx_SPL_COMPLT.csr = -1UL; in io7_clear_errors()
187 csrs->POx_TRANS_SUM.csr = -1UL; in io7_clear_errors()
211 io7_ioport_csrs *csrs = IO7_CSRS_KERN(io7->pe, port); in io7_init_hose() local
227 io7_port->csrs = csrs; in io7_init_hose()
268 io7_port->saved_wbase[i] = csrs->POx_WBASE[i].csr; in io7_init_hose()
269 io7_port->saved_wmask[i] = csrs->POx_WMASK[i].csr; in io7_init_hose()
[all …]
Derr_marvel.c818 err_sum |= io7->csrs->PO7_ERROR_SUM.csr; in marvel_find_io7_with_error()
822 err_sum |= io7->ports[i].csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error()
843 io->io_asic_rev = io7->csrs->IO_ASIC_REV.csr; in marvel_find_io7_with_error()
844 io->io_sys_rev = io7->csrs->IO_SYS_REV.csr; in marvel_find_io7_with_error()
845 io->io7_uph = io7->csrs->IO7_UPH.csr; in marvel_find_io7_with_error()
846 io->hpi_ctl = io7->csrs->HPI_CTL.csr; in marvel_find_io7_with_error()
847 io->crd_ctl = io7->csrs->CRD_CTL.csr; in marvel_find_io7_with_error()
848 io->hei_ctl = io7->csrs->HEI_CTL.csr; in marvel_find_io7_with_error()
849 io->po7_error_sum = io7->csrs->PO7_ERROR_SUM.csr; in marvel_find_io7_with_error()
850 io->po7_uncrr_sym = io7->csrs->PO7_UNCRR_SYM.csr; in marvel_find_io7_with_error()
[all …]
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h182 #define kvm_save_hw_gcsr(csr, gid) (csr->csrs[gid] = gcsr_read(gid))
183 #define kvm_restore_hw_gcsr(csr, gid) (gcsr_write(csr->csrs[gid], gid))
185 #define kvm_read_clear_hw_gcsr(csr, gid) (csr->csrs[gid] = gcsr_write(0, gid))
191 return csr->csrs[gid]; in kvm_read_sw_gcsr()
196 csr->csrs[gid] = val; in kvm_write_sw_gcsr()
202 csr->csrs[gid] |= val; in kvm_set_sw_gcsr()
210 csr->csrs[gid] &= ~_mask; in kvm_change_sw_gcsr()
211 csr->csrs[gid] |= val & _mask; in kvm_change_sw_gcsr()
Dkvm_host.h125 unsigned long csrs[CSR_MAX_NUMS]; member
237 return csr->csrs[reg]; in readl_sw_gcsr()
242 csr->csrs[reg] = val; in writel_sw_gcsr()
/linux-6.12.1/arch/riscv/kernel/
Dfpu.S26 csrs CSR_STATUS, t1
70 csrs CSR_STATUS, t1
127 csrs CSR_STATUS, t1
Dhead.S401 csrs CSR_STATUS, t1
451 csrs CSR_STATUS, t1
452 csrs CSR_VCSR, x0
/linux-6.12.1/arch/riscv/lib/
Duaccess.S26 csrs CSR_STATUS, t6
203 csrs CSR_STATUS, t6
Duaccess_vector.S26 csrs CSR_STATUS, t6
/linux-6.12.1/arch/riscv/kvm/
Dvcpu_switch.S240 csrs CSR_SSTATUS, t1
282 csrs CSR_SSTATUS, t1
325 csrs CSR_SSTATUS, t1
367 csrs CSR_SSTATUS, t1
/linux-6.12.1/arch/alpha/include/asm/
Dcore_marvel.h302 io7_ioport_csrs *csrs; member
313 io7_port7_csrs *csrs; member
/linux-6.12.1/arch/loongarch/kvm/
Dvcpu.c1493 csr->csrs[LOONGARCH_CSR_GINTC] = 0; in kvm_arch_vcpu_create()
1607 write_csr_gintc(csr->csrs[LOONGARCH_CSR_GINTC]); in _kvm_vcpu_load()
1700 csr->csrs[LOONGARCH_CSR_GINTC] = read_csr_gintc(); in _kvm_vcpu_put()