Home
last modified time | relevance | path

Searched refs:lc (Results 1 – 25 of 31) sorted by relevance

12

/arch/s390/include/asm/
A Dvtime.h7 struct lowcore *lc = get_lowcore(); in update_timer_sys() local
9 lc->system_timer += lc->last_update_timer - lc->exit_timer; in update_timer_sys()
10 lc->user_timer += lc->exit_timer - lc->sys_enter_timer; in update_timer_sys()
11 lc->last_update_timer = lc->sys_enter_timer; in update_timer_sys()
16 struct lowcore *lc = get_lowcore(); in update_timer_mcck() local
18 lc->system_timer += lc->last_update_timer - lc->exit_timer; in update_timer_mcck()
19 lc->user_timer += lc->exit_timer - lc->mcck_enter_timer; in update_timer_mcck()
20 lc->last_update_timer = lc->mcck_enter_timer; in update_timer_mcck()
A Dabs_lowcore.h12 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc);
23 static inline void put_abs_lowcore(struct lowcore *lc) in put_abs_lowcore() argument
A Dlowcore.h220 struct lowcore *lc; in get_lowcore() local
228 : [lc] "=d" (lc) in get_lowcore()
230 return lc; in get_lowcore()
A Dctlreg.h170 void system_ctlreg_init_save_area(struct lowcore *lc);
/arch/s390/kernel/
A Dsmp.c187 struct lowcore *lc; in pcpu_alloc_lowcore() local
196 memset((char *) lc + 512, 0, sizeof(*lc) - 512); in pcpu_alloc_lowcore()
200 lc->cpu_nr = cpu; in pcpu_alloc_lowcore()
250 lc->cpu_nr = cpu; in pcpu_prepare_secondary()
258 lc->user_timer = lc->system_timer = in pcpu_prepare_secondary()
259 lc->steal_timer = lc->avg_steal_timer = 0; in pcpu_prepare_secondary()
263 lc->cregs_save_area[1] = lc->user_asce; in pcpu_prepare_secondary()
264 lc->cregs_save_area[7] = lc->user_asce; in pcpu_prepare_secondary()
291 lc->restart_stack = lc->kernel_stack; in pcpu_start_fn()
326 if (lc) { in pcpu_delegate()
[all …]
A Dvtime.c45 lc->system_timer += lc->last_update_timer - timer; in set_vtimer()
46 lc->last_update_timer = expires; in set_vtimer()
123 timer = lc->last_update_timer; in do_account_vtime()
124 clock = lc->last_update_clock; in do_account_vtime()
135 lc->hardirq_timer += timer; in do_account_vtime()
137 lc->system_timer += timer; in do_account_vtime()
155 lc->steal_timer += in do_account_vtime()
209 steal = lc->steal_timer; in vtime_flush()
212 lc->steal_timer = 0; in vtime_flush()
238 lc->guest_timer += delta; in vtime_account_kernel()
[all …]
A Dsetup.c390 struct lowcore *lc, *abs_lc; in setup_lowcore() local
396 lc = memblock_alloc_low(sizeof(*lc), sizeof(*lc)); in setup_lowcore()
397 if (!lc) in setup_lowcore()
399 __func__, sizeof(*lc), sizeof(*lc)); in setup_lowcore()
416 lc->lpp = LPP_MAGIC; in setup_lowcore()
442 lc->restart_data = 0; in setup_lowcore()
443 lc->restart_source = -1U; in setup_lowcore()
445 lc->spinlock_index = 0; in setup_lowcore()
462 abs_lc->mcesad = lc->mcesad; in setup_lowcore()
465 set_prefix(__pa(lc)); in setup_lowcore()
[all …]
A Didle.c27 struct lowcore *lc = get_lowcore(); in account_idle_time_irq() local
38 idle_time = lc->int_clock - idle->clock_idle_enter; in account_idle_time_irq()
40 lc->steal_timer += idle->clock_idle_enter - lc->last_update_clock; in account_idle_time_irq()
41 lc->last_update_clock = lc->int_clock; in account_idle_time_irq()
43 lc->system_timer += lc->last_update_timer - idle->timer_idle_enter; in account_idle_time_irq()
44 lc->last_update_timer = lc->sys_enter_timer; in account_idle_time_irq()
A Dnmi.c121 struct lowcore *lc = get_lowcore(); in nmi_print_info() local
140 ptr = u64_to_hex(ptr, lc->mcck_old_psw.mask); in nmi_print_info()
142 ptr = u64_to_hex(ptr, lc->mcck_old_psw.addr); in nmi_print_info()
189 struct lowcore *lc = get_lowcore(); in s390_handle_damage() local
204 psw_save = lc->mcck_new_psw; in s390_handle_damage()
205 psw_bits(lc->mcck_new_psw).io = 0; in s390_handle_damage()
206 psw_bits(lc->mcck_new_psw).ext = 0; in s390_handle_damage()
207 psw_bits(lc->mcck_new_psw).wait = 1; in s390_handle_damage()
214 lc->mcck_new_psw = psw_save; in s390_handle_damage()
370 struct lowcore *lc = get_lowcore(); in s390_do_machine_check() local
[all …]
A Dearly.c155 struct lowcore *lc = get_lowcore(); in __do_early_pgm_check() local
158 regs->int_code = lc->pgm_int_code; in __do_early_pgm_check()
159 regs->int_parm_long = lc->trans_exc_code; in __do_early_pgm_check()
160 regs->last_break = lc->pgm_last_break; in __do_early_pgm_check()
184 struct lowcore *lc = get_lowcore(); in setup_lowcore_early() local
189 lc->program_new_psw = psw; in setup_lowcore_early()
190 lc->preempt_count = INIT_PREEMPT_COUNT; in setup_lowcore_early()
191 lc->return_lpswe = gen_lpswe(__LC_RETURN_PSW); in setup_lowcore_early()
192 lc->return_mcck_lpswe = gen_lpswe(__LC_RETURN_MCCK_PSW); in setup_lowcore_early()
A Dtraps.c272 struct lowcore *lc = get_lowcore(); in trap_init() local
280 psw_bits(lc->svc_new_psw).mcheck = 1; in trap_init()
281 psw_bits(lc->io_new_psw).mcheck = 1; in trap_init()
292 struct lowcore *lc = get_lowcore(); in __do_pgm_check() local
297 teid.val = lc->trans_exc_code; in __do_pgm_check()
298 regs->int_code = lc->pgm_int_code; in __do_pgm_check()
321 if (lc->pgm_code & 0x0200) { in __do_pgm_check()
325 if (lc->pgm_code & PGM_INT_CODE_PER) { in __do_pgm_check()
330 ev->address = lc->per_address; in __do_pgm_check()
331 ev->cause = lc->per_code_combined; in __do_pgm_check()
[all …]
A Dabs_lowcore.c9 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc) in abs_lowcore_map() argument
12 unsigned long phys = __pa(lc); in abs_lowcore_map()
A Dcrash_dump.c89 struct lowcore *lc; in save_area_add_regs() local
91 lc = (struct lowcore *)(regs - __LC_FPREGS_SAVE_AREA); in save_area_add_regs()
92 memcpy(&sa->psw, &lc->psw_save_area, sizeof(sa->psw)); in save_area_add_regs()
93 memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); in save_area_add_regs()
94 memcpy(&sa->gprs, &lc->gpregs_save_area, sizeof(sa->gprs)); in save_area_add_regs()
95 memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs)); in save_area_add_regs()
96 memcpy(&sa->fprs, &lc->floating_pt_save_area, sizeof(sa->fprs)); in save_area_add_regs()
97 memcpy(&sa->fpc, &lc->fpt_creg_save_area, sizeof(sa->fpc)); in save_area_add_regs()
98 memcpy(&sa->prefix, &lc->prefixreg_save_area, sizeof(sa->prefix)); in save_area_add_regs()
100 memcpy(&sa->timer, &lc->cpu_timer_save_area, sizeof(sa->timer)); in save_area_add_regs()
[all …]
A Dctlreg.c37 void __init system_ctlreg_init_save_area(struct lowcore *lc) in system_ctlreg_init_save_area() argument
42 __local_ctl_store(0, 15, lc->cregs_save_area); in system_ctlreg_init_save_area()
/arch/powerpc/kernel/
A Dio.c132 u32 lc = c; in _memset_io() local
133 lc |= lc << 8; in _memset_io()
134 lc |= lc << 16; in _memset_io()
143 *((volatile u32 *)p) = lc; in _memset_io()
/arch/s390/mm/
A Dmaccess.c133 phys_addr_t lc; in get_swapped_owner() local
137 lc = virt_to_phys(lowcore_ptr[cpu]); in get_swapped_owner()
138 if (addr > lc + sizeof(struct lowcore) - 1 || addr < lc) in get_swapped_owner()
/arch/x86/boot/
A Dstring.c259 unsigned int lc = c | 0x20; /* don't tolower() this line */ in _parse_integer() local
264 else if ('a' <= lc && lc <= 'f') in _parse_integer()
265 val = lc - 'a' + 10; in _parse_integer()
/arch/s390/lib/
A Duaccess.c22 struct lowcore *lc = get_lowcore(); in debug_user_asce() local
27 if (cr1.val == lc->user_asce.val && cr7.val == lc->user_asce.val) in debug_user_asce()
33 lc->kernel_asce.val, lc->user_asce.val); in debug_user_asce()
/arch/riscv/kvm/
A Daia.c406 const struct imsic_local_config *lc; in kvm_riscv_aia_alloc_hgei() local
423 lc = (gc) ? per_cpu_ptr(gc->local, cpu) : NULL; in kvm_riscv_aia_alloc_hgei()
424 if (lc && ret > 0) { in kvm_riscv_aia_alloc_hgei()
426 *hgei_va = lc->msi_va + (ret * IMSIC_MMIO_PAGE_SZ); in kvm_riscv_aia_alloc_hgei()
428 *hgei_pa = lc->msi_pa + (ret * IMSIC_MMIO_PAGE_SZ); in kvm_riscv_aia_alloc_hgei()
/arch/arm/mach-sa1100/
A DKconfig69 <http://h10025.www1.hp.com/ewfrf/wc/product?product=61677&cc=us&lc=en&dlc=en&product=61677#>
/arch/arm/boot/dts/nvidia/
A Dtegra20-trimslice.dts250 nvidia,pins = "lc", "ls";
A Dtegra20-tamonten.dtsi232 nvidia,pins = "lc", "ls";
A Dtegra20-ventana.dts257 nvidia,pins = "lc", "ls";
/arch/s390/kvm/
A Dinterrupt.c559 unsigned long lc; in __write_machine_check() local
589 lc = ext_sa_addr & MCESA_LC_MASK; in __write_machine_check()
591 switch (lc) { in __write_machine_check()
618 && (lc == 11 || lc == 12)) { in __write_machine_check()
/arch/arm/boot/dts/nxp/imx/
A DMakefile368 imx6ull-phytec-segin-lc-rdk-nand.dtb \

Completed in 55 milliseconds

12