Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
Dks8851_par.c66 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_lock_par() local
68 spin_lock_irqsave(&ksp->lock, *flags); in ks8851_lock_par()
80 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_unlock_par() local
82 spin_unlock_irqrestore(&ksp->lock, *flags); in ks8851_unlock_par()
95 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks_check_endian() local
119 iowrite16(BE3 | BE2 | KS_CIDER, ksp->hw_addr_cmd); in ks_check_endian()
120 cider = ioread16(ksp->hw_addr); in ks_check_endian()
140 struct ks8851_net_par *ksp = to_ks8851_par(ks); in ks8851_wrreg16_par() local
142 ksp->cmd_reg_cache = (u16)reg | ((BE1 | BE0) << (reg & 0x02)); in ks8851_wrreg16_par()
143 iowrite16(ksp->cmd_reg_cache, ksp->hw_addr_cmd); in ks8851_wrreg16_par()
[all …]
/kernel/linux/linux-5.10/arch/openrisc/kernel/
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()
/kernel/linux/linux-5.10/arch/sparc/kernel/
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()
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()
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()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dprocessor.h25 unsigned long ksp; /* kernel mode stack pointer */ member
37 .ksp = sizeof(init_stack) + (unsigned long) init_stack, \
62 #define TSK_K_ESP(tsk) (tsk->thread.ksp)
Dunwind.h64 #define STACK_BOTTOM_UNW(tsk) STACK_LIMIT((tsk)->thread.ksp)
65 #define STACK_TOP_UNW(tsk) ((tsk)->thread.ksp)
/kernel/linux/linux-5.10/arch/csky/kernel/
Dstacktrace.c65 unsigned long *ksp; in walk_stackframe() local
83 ksp = (unsigned long *)sp; in walk_stackframe()
84 while (!kstack_end(ksp)) { in walk_stackframe()
87 pc = (*ksp++) - 0x4; in walk_stackframe()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dstacktrace.c78 unsigned long *ksp; in walk_stackframe() local
95 ksp = (unsigned long *)sp; in walk_stackframe()
96 while (!kstack_end(ksp)) { in walk_stackframe()
99 pc = (*ksp++) - 0x4; in walk_stackframe()
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dprocessor.h49 unsigned long ksp; member
58 .ksp = 0, \
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Dthread_info.h58 unsigned long ksp; member
75 .ksp = 0, \
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dprocessor.h91 unsigned long ksp; member
98 .ksp = sizeof init_stack + (unsigned long)init_stack, \
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dprocessor.h52 unsigned long ksp; /* kernel stack pointer */ member
63 .ksp = sizeof(init_stack) + (unsigned long)init_stack, \
/kernel/linux/linux-5.10/arch/mips/kernel/
Dscall32-o32.S70 sw t5, 16(sp) # argument #5 to ksp
71 sw t6, 20(sp) # argument #6 to ksp
72 sw t7, 24(sp) # argument #7 to ksp
73 sw t8, 28(sp) # argument #8 to ksp
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dprocessor.h79 unsigned long ksp; /* kernel stack pointer */ member
93 .ksp = sizeof(init_stack) + (unsigned long) init_stack, \
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dprocess.c122 p->thread.ksp = (unsigned long) childstack; in copy_thread()
136 p->thread.ksp = (unsigned long) childstack; in copy_thread()
230 fp = ((struct switch_stack *)p->thread.ksp)->fp; /* ;dgt2 */ in get_wchan()
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dpkey_api.c1164 struct pkey_sec2protk ksp; in pkey_unlocked_ioctl() local
1166 if (copy_from_user(&ksp, usp, sizeof(ksp))) in pkey_unlocked_ioctl()
1168 rc = cca_sec2protkey(ksp.cardnr, ksp.domain, in pkey_unlocked_ioctl()
1169 ksp.seckey.seckey, ksp.protkey.protkey, in pkey_unlocked_ioctl()
1170 &ksp.protkey.len, &ksp.protkey.type); in pkey_unlocked_ioctl()
1174 if (copy_to_user(usp, &ksp, sizeof(ksp))) in pkey_unlocked_ioctl()
1211 struct pkey_skey2pkey ksp; in pkey_unlocked_ioctl() local
1213 if (copy_from_user(&ksp, usp, sizeof(ksp))) in pkey_unlocked_ioctl()
1215 rc = pkey_skey2pkey(ksp.seckey.seckey, &ksp.protkey); in pkey_unlocked_ioctl()
1219 if (copy_to_user(usp, &ksp, sizeof(ksp))) in pkey_unlocked_ioctl()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dprocess.c211 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; in copy_thread()
234 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; in copy_thread()
/kernel/linux/linux-5.10/arch/h8300/kernel/
Dprocess.c126 p->thread.ksp = (unsigned long)childregs; in copy_thread()
141 fp = ((struct pt_regs *)p->thread.ksp)->er6; in get_wchan()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dprocess.c249 childti->pcb.ksp = (unsigned long) childstack; in copy_thread()
367 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc()
397 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in get_wchan()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dprocessor.h141 unsigned long ksp; /* Kernel stack pointer */ member
292 .ksp = INIT_SP, \
300 .ksp = INIT_SP, \
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dstacktrace.c78 sp = tsk->thread.ksp; in save_stack_trace_tsk()
138 sp = tsk->thread.ksp; in __save_stack_trace_tsk_reliable()
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dprocess.c151 p->thread.ksp = (unsigned long)frame; in copy_thread()
275 fp = ((struct switch_stack *)p->thread.ksp)->a6; in get_wchan()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dprocessor.h112 unsigned long ksp; /* kernel stack pointer */ member
160 .ksp = sizeof(init_stack) + (unsigned long) &init_stack, \
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dptrace.h33 unsigned long ksp; member

123