Home
last modified time | relevance | path

Searched refs:ksp (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/linux/drivers/net/ethernet/micrel/
H A Dks8851_par.c64 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_lock_par() local
66 spin_lock_irqsave(&ksp->lock, *flags); in ks8851_lock_par()
78 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_unlock_par() local
80 spin_unlock_irqrestore(&ksp->lock, *flags); in ks8851_unlock_par()
93 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks_check_endian() local
117 iowrite16(BE3 | BE2 | KS_CIDER, ksp->hw_addr_cmd); in ks_check_endian()
118 cider = ioread16(ksp->hw_addr); in ks_check_endian()
138 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_wrreg16_par() local
140 ksp->cmd_reg_cache = (u16)reg | ((BE1 | BE0) << (reg & 0x02)); in ks8851_wrreg16_par()
141 iowrite16(ksp->cmd_reg_cache, ksp->hw_addr_cmd); in ks8851_wrreg16_par()
[all …]
/openbmc/linux/arch/openrisc/kernel/
H A Dstacktrace.c78 unsigned long ksp; in save_stack_trace_tsk() local
81 ksp = task_thread_info(tsk)->ksp; in save_stack_trace_tsk()
82 ksp += STACK_FRAME_OVERHEAD; /* redzone */ in save_stack_trace_tsk()
83 ksp += sizeof(struct pt_regs); in save_stack_trace_tsk()
85 sp = (unsigned long *) ksp; in save_stack_trace_tsk()
H A Dasm-offsets.c50 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
/openbmc/linux/arch/sparc/kernel/
H A Dstacktrace.c17 unsigned long ksp, fp; in __save_stack_trace() local
25 __asm__ __volatile__("mov %%fp, %0" : "=r" (ksp)); in __save_stack_trace()
27 ksp = tp->ksp; in __save_stack_trace()
30 fp = ksp + STACK_BIAS; in __save_stack_trace()
H A Dkgdb_32.c59 gdb_regs[GDB_SP] = t->ksp; in sleeping_thread_to_gdb_regs()
62 win = (struct reg_window32 *) t->ksp; in sleeping_thread_to_gdb_regs()
H A Dkgdb_64.c60 gdb_regs[GDB_SP] = t->ksp; in sleeping_thread_to_gdb_regs()
63 win = (struct reg_window *) (t->ksp + STACK_BIAS); in sleeping_thread_to_gdb_regs()
/openbmc/linux/arch/csky/kernel/
H A Dstacktrace.c64 unsigned long *ksp; in walk_stackframe() local
81 ksp = (unsigned long *)sp; in walk_stackframe()
82 while (!kstack_end(ksp)) { in walk_stackframe()
85 pc = (*ksp++) - 0x4; in walk_stackframe()
/openbmc/linux/arch/riscv/kernel/
H A Dstacktrace.c92 unsigned long *ksp; in walk_stackframe() local
109 ksp = (unsigned long *)sp; in walk_stackframe()
110 while (!kstack_end(ksp)) { in walk_stackframe()
113 pc = READ_ONCE_NOCHECK(*ksp++) - 0x4; in walk_stackframe()
/openbmc/linux/arch/s390/include/asm/
H A Dprocessor.h161 unsigned long ksp; /* kernel stack pointer */ member
209 .ksp = sizeof(init_stack) + (unsigned long) &init_stack, \
266 unsigned long ksp = S390_lowcore.kernel_stack; in on_thread_stack() local
268 return !((ksp ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); in on_thread_stack()
/openbmc/linux/arch/nios2/include/asm/
H A Dprocessor.h49 unsigned long ksp; member
55 .ksp = 0, \
/openbmc/linux/arch/openrisc/include/asm/
H A Dthread_info.h52 unsigned long ksp; member
68 .ksp = 0, \
/openbmc/linux/arch/microblaze/include/asm/
H A Dprocessor.h55 unsigned long ksp; member
62 .ksp = sizeof init_stack + (unsigned long)init_stack, \
/openbmc/linux/arch/mips/kernel/
H A Dscall32-o32.S67 sw t5, 16(sp) # argument #5 to ksp
68 sw t6, 20(sp) # argument #6 to ksp
69 sw t7, 24(sp) # argument #7 to ksp
70 sw t8, 28(sp) # argument #8 to ksp
/openbmc/linux/arch/powerpc/include/asm/
H A Dprocessor.h134 unsigned long ksp; /* Kernel stack pointer */ member
288 .ksp = INIT_SP, \
297 .ksp = INIT_SP, \
305 .ksp = INIT_SP, \
/openbmc/linux/drivers/s390/crypto/
H A Dpkey_api.c1376 struct pkey_sec2protk ksp; in pkey_unlocked_ioctl() local
1378 if (copy_from_user(&ksp, usp, sizeof(ksp))) in pkey_unlocked_ioctl()
1380 ksp.protkey.len = sizeof(ksp.protkey.protkey); in pkey_unlocked_ioctl()
1381 rc = cca_sec2protkey(ksp.cardnr, ksp.domain, in pkey_unlocked_ioctl()
1382 ksp.seckey.seckey, ksp.protkey.protkey, in pkey_unlocked_ioctl()
1383 &ksp.protkey.len, &ksp.protkey.type); in pkey_unlocked_ioctl()
1387 if (copy_to_user(usp, &ksp, sizeof(ksp))) in pkey_unlocked_ioctl()
1424 struct pkey_skey2pkey ksp; in pkey_unlocked_ioctl() local
1426 if (copy_from_user(&ksp, usp, sizeof(ksp))) in pkey_unlocked_ioctl()
1428 ksp.protkey.len = sizeof(ksp.protkey.protkey); in pkey_unlocked_ioctl()
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Dprocessor.h104 unsigned long ksp; /* kernel stack pointer */ member
118 .ksp = sizeof(init_stack) + (unsigned long) init_stack, \
/openbmc/linux/arch/parisc/kernel/
H A Dprocess.c224 cregs->ksp = (unsigned long) stack + FRAME_SIZE + PT_SZ_ALGN; in copy_thread()
247 cregs->ksp = (unsigned long) stack + FRAME_SIZE; in copy_thread()
/openbmc/linux/arch/nios2/kernel/
H A Dprocess.c123 p->thread.ksp = (unsigned long) childstack; in copy_thread()
137 p->thread.ksp = (unsigned long) childstack; in copy_thread()
228 fp = ((struct switch_stack *)p->thread.ksp)->fp; /* ;dgt2 */ in __get_wchan()
/openbmc/linux/arch/alpha/kernel/
H A Dprocess.c246 childti->pcb.ksp = (unsigned long) childstack; in copy_thread()
363 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc()
392 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in __get_wchan()
/openbmc/linux/arch/arc/include/asm/
H A Dunwind.h64 #define STACK_BOTTOM_UNW(tsk) STACK_LIMIT((tsk)->thread.ksp)
65 #define STACK_TOP_UNW(tsk) ((tsk)->thread.ksp)
/openbmc/linux/arch/powerpc/kernel/
H A Dstacktrace.c40 sp = task->thread.ksp; in arch_stack_walk()
86 sp = task->thread.ksp; in arch_stack_walk_reliable()
/openbmc/u-boot/board/phytec/phycore_rk3288/
H A Dsom.h16 unsigned char ksp; /* 1: KSP, 2: KSM */ member
/openbmc/linux/arch/m68k/kernel/
H A Dprocess.c153 p->thread.ksp = (unsigned long)frame; in copy_thread()
274 fp = ((struct switch_stack *)p->thread.ksp)->a6; in __get_wchan()
/openbmc/qemu/linux-user/hppa/
H A Dtarget_syscall.h13 target_ulong ksp; member
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dptrace.h33 unsigned long ksp; member

123