Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/micrel/
A Dks8851_par.c118 cider = ioread16(ksp->hw_addr); in ks_check_endian()
141 iowrite16(ksp->cmd_reg_cache, ksp->hw_addr_cmd); in ks8851_wrreg16_par()
142 iowrite16(val, ksp->hw_addr); in ks8851_wrreg16_par()
157 iowrite16(ksp->cmd_reg_cache, ksp->hw_addr_cmd); in ks8851_rdreg16_par()
158 return ioread16(ksp->hw_addr); in ks8851_rdreg16_par()
207 iowrite16(fid, ksp->hw_addr); in ks8851_wrfifo_par()
273 struct ks8851_net_par *ksp; in ks8851_probe_par() local
297 ksp = to_ks8851_par(ks); in ks8851_probe_par()
298 spin_lock_init(&ksp->lock); in ks8851_probe_par()
301 if (IS_ERR(ksp->hw_addr)) in ks8851_probe_par()
[all …]
/linux/arch/openrisc/kernel/
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()
A Dasm-offsets.c50 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
/linux/drivers/s390/crypto/
A Dpkey_api.c147 if (copy_from_user(&ksp, usp, sizeof(ksp))) in pkey_ioctl_sec2protk()
150 apqn.card = ksp.cardnr; in pkey_ioctl_sec2protk()
152 ksp.protkey.len = sizeof(ksp.protkey.protkey); in pkey_ioctl_sec2protk()
154 ksp.seckey.seckey, in pkey_ioctl_sec2protk()
157 &ksp.protkey.len, &ksp.protkey.type); in pkey_ioctl_sec2protk()
159 if (!rc && copy_to_user(usp, &ksp, sizeof(ksp))) in pkey_ioctl_sec2protk()
161 memzero_explicit(&ksp, sizeof(ksp)); in pkey_ioctl_sec2protk()
256 if (copy_from_user(&ksp, usp, sizeof(ksp))) in pkey_ioctl_skey2pkey()
259 ksp.protkey.len = sizeof(ksp.protkey.protkey); in pkey_ioctl_skey2pkey()
267 if (!rc && copy_to_user(usp, &ksp, sizeof(ksp))) in pkey_ioctl_skey2pkey()
[all …]
/linux/arch/sparc/kernel/
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()
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()
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()
/linux/arch/csky/kernel/
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()
/linux/arch/riscv/kernel/
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()
/linux/arch/nios2/include/asm/
A Dprocessor.h49 unsigned long ksp; member
55 .ksp = 0, \
/linux/arch/openrisc/include/asm/
A Dthread_info.h52 unsigned long ksp; member
68 .ksp = 0, \
/linux/arch/microblaze/include/asm/
A Dprocessor.h55 unsigned long ksp; member
62 .ksp = sizeof init_stack + (unsigned long)init_stack, \
/linux/arch/s390/include/asm/
A Dprocessor.h183 unsigned long ksp; /* kernel stack pointer */ member
230 .ksp = sizeof(init_stack) + (unsigned long) &init_stack, \
285 unsigned long ksp = get_lowcore()->kernel_stack; in on_thread_stack() local
287 return !((ksp ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); in on_thread_stack()
/linux/arch/mips/kernel/
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
/linux/arch/powerpc/include/asm/
A Dprocessor.h134 unsigned long ksp; /* Kernel stack pointer */ member
289 .ksp = INIT_SP, \
298 .ksp = INIT_SP, \
306 .ksp = INIT_SP, \
/linux/arch/m68k/include/asm/
A Dprocessor.h105 unsigned long ksp; /* kernel stack pointer */ member
119 .ksp = sizeof(init_stack) + (unsigned long) init_stack, \
/linux/arch/parisc/kernel/
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()
/linux/arch/nios2/kernel/
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()
/linux/arch/alpha/kernel/
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()
/linux/arch/arc/include/asm/
A Dunwind.h64 #define STACK_BOTTOM_UNW(tsk) STACK_LIMIT((tsk)->thread.ksp)
65 #define STACK_TOP_UNW(tsk) ((tsk)->thread.ksp)
A Dthread_info.h40 unsigned long ksp; /* kernel mode stack top in __switch_to */ member
A Dprocessor.h56 #define TSK_K_ESP(tsk) (task_thread_info(tsk)->ksp)
/linux/arch/powerpc/kernel/
A Dstacktrace.c41 sp = task->thread.ksp; in arch_stack_walk()
87 sp = task->thread.ksp; in arch_stack_walk_reliable()
/linux/arch/m68k/kernel/
A Dprocess.c154 p->thread.ksp = (unsigned long)frame; in copy_thread()
275 fp = ((struct switch_stack *)p->thread.ksp)->a6; in __get_wchan()
/linux/arch/parisc/include/uapi/asm/
A Dptrace.h33 unsigned long ksp; member

Completed in 39 milliseconds

123