Searched refs:csrs (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/arch/alpha/kernel/ |
D | sys_marvel.c | 96 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 …]
|
D | core_marvel.c | 174 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 …]
|
D | err_marvel.c | 818 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/ |
D | kvm_csr.h | 182 #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()
|
D | kvm_host.h | 125 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/ |
D | fpu.S | 26 csrs CSR_STATUS, t1 70 csrs CSR_STATUS, t1 127 csrs CSR_STATUS, t1
|
D | head.S | 401 csrs CSR_STATUS, t1 451 csrs CSR_STATUS, t1 452 csrs CSR_VCSR, x0
|
/linux-6.12.1/arch/riscv/lib/ |
D | uaccess.S | 26 csrs CSR_STATUS, t6 203 csrs CSR_STATUS, t6
|
D | uaccess_vector.S | 26 csrs CSR_STATUS, t6
|
/linux-6.12.1/arch/riscv/kvm/ |
D | vcpu_switch.S | 240 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/ |
D | core_marvel.h | 302 io7_ioport_csrs *csrs; member 313 io7_port7_csrs *csrs; member
|
/linux-6.12.1/arch/loongarch/kvm/ |
D | vcpu.c | 1493 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()
|