Searched refs:cpu_regs (Results 1 – 4 of 4) sorted by relevance
112 struct acrn_vcpu_regs *cpu_regs; in acrn_dev_ioctl() local181 cpu_regs = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()183 if (IS_ERR(cpu_regs)) in acrn_dev_ioctl()184 return PTR_ERR(cpu_regs); in acrn_dev_ioctl()186 for (i = 0; i < ARRAY_SIZE(cpu_regs->reserved); i++) in acrn_dev_ioctl()187 if (cpu_regs->reserved[i]) { in acrn_dev_ioctl()188 kfree(cpu_regs); in acrn_dev_ioctl()192 for (i = 0; i < ARRAY_SIZE(cpu_regs->vcpu_regs.reserved_32); i++) in acrn_dev_ioctl()193 if (cpu_regs->vcpu_regs.reserved_32[i]) { in acrn_dev_ioctl()194 kfree(cpu_regs); in acrn_dev_ioctl()[all …]
528 struct sable_cpu_csr *cpu_regs; in t2_clear_errors() local530 cpu_regs = (struct sable_cpu_csr *)T2_CPUn_BASE(cpu); in t2_clear_errors()532 cpu_regs->sic &= ~SIC_SEIC; in t2_clear_errors()535 cpu_regs->bcce |= cpu_regs->bcce; in t2_clear_errors()536 cpu_regs->cbe |= cpu_regs->cbe; in t2_clear_errors()537 cpu_regs->bcue |= cpu_regs->bcue; in t2_clear_errors()538 cpu_regs->dter |= cpu_regs->dter; in t2_clear_errors()
47 struct ethtool_regs *cpu_regs; in dsa_master_get_regs() local63 cpu_regs = (struct ethtool_regs *)data; in dsa_master_get_regs()64 data += sizeof(*cpu_regs); in dsa_master_get_regs()70 cpu_regs->len = len; in dsa_master_get_regs()71 ds->ops->get_regs(ds, port, cpu_regs, data); in dsa_master_get_regs()
112 } cpu_regs; member