uc 134 arch/alpha/kernel/signal.c struct ucontext uc; uc 142 arch/alpha/kernel/signal.c [offsetof(struct rt_sigframe, uc.uc_mcontext) == 176 ? 1 : -1]; uc 238 arch/alpha/kernel/signal.c if (!access_ok(&frame->uc, sizeof(frame->uc))) uc 240 arch/alpha/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 245 arch/alpha/kernel/signal.c if (restore_sigcontext(&frame->uc.uc_mcontext, regs)) uc 386 arch/alpha/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 387 arch/alpha/kernel/signal.c err |= __put_user(0, &frame->uc.uc_link); uc 388 arch/alpha/kernel/signal.c err |= __put_user(set->sig[0], &frame->uc.uc_osf_sigmask); uc 389 arch/alpha/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, oldsp); uc 390 arch/alpha/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, uc 392 arch/alpha/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 416 arch/alpha/kernel/signal.c regs->r18 = (unsigned long) &frame->uc; /* a2: ucontext pointer */ uc 59 arch/arc/kernel/signal.c struct ucontext uc; uc 95 arch/arc/kernel/signal.c err = __copy_to_user(&(sf->uc.uc_mcontext.regs.scratch), &uregs.scratch, uc 96 arch/arc/kernel/signal.c sizeof(sf->uc.uc_mcontext.regs.scratch)); uc 97 arch/arc/kernel/signal.c err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(sigset_t)); uc 108 arch/arc/kernel/signal.c err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); uc 110 arch/arc/kernel/signal.c &(sf->uc.uc_mcontext.regs.scratch), uc 111 arch/arc/kernel/signal.c sizeof(sf->uc.uc_mcontext.regs.scratch)); uc 176 arch/arc/kernel/signal.c if (restore_altstack(&sf->uc.uc_stack)) uc 253 arch/arc/kernel/signal.c err |= __put_user(0, &sf->uc.uc_flags); uc 254 arch/arc/kernel/signal.c err |= __put_user(NULL, &sf->uc.uc_link); uc 255 arch/arc/kernel/signal.c err |= __save_altstack(&sf->uc.uc_stack, regs->sp); uc 259 arch/arc/kernel/signal.c regs->r2 = (unsigned long)&sf->uc; uc 180 arch/arm/kernel/signal.c err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); uc 184 arch/arm/kernel/signal.c err |= __copy_from_user(&context, &sf->uc.uc_mcontext, sizeof(context)); uc 207 arch/arm/kernel/signal.c aux = (char __user *) sf->uc.uc_regspace; uc 277 arch/arm/kernel/signal.c if (restore_altstack(&frame->sig.uc.uc_stack)) uc 319 arch/arm/kernel/signal.c err |= __copy_to_user(&sf->uc.uc_mcontext, &context, sizeof(context)); uc 321 arch/arm/kernel/signal.c err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)); uc 323 arch/arm/kernel/signal.c aux = (struct aux_sigframe __user *) sf->uc.uc_regspace; uc 499 arch/arm/kernel/signal.c err = __put_user(0x5ac3c35a, &frame->uc.uc_flags); uc 519 arch/arm/kernel/signal.c err |= __put_user(0, &frame->sig.uc.uc_flags); uc 520 arch/arm/kernel/signal.c err |= __put_user(NULL, &frame->sig.uc.uc_link); uc 522 arch/arm/kernel/signal.c err |= __save_altstack(&frame->sig.uc.uc_stack, regs->ARM_sp); uc 534 arch/arm/kernel/signal.c regs->ARM_r2 = (unsigned long)&frame->sig.uc; uc 4 arch/arm/kernel/signal.h struct ucontext uc; uc 48 arch/arm64/include/asm/signal32.h struct compat_ucontext uc; uc 70 arch/arm64/kernel/asm-offsets.c DEFINE(COMPAT_SIGFRAME_REGS_OFFSET, offsetof(struct compat_sigframe, uc.uc_mcontext.arm_r0)); uc 71 arch/arm64/kernel/asm-offsets.c DEFINE(COMPAT_RT_SIGFRAME_REGS_OFFSET, offsetof(struct compat_rt_sigframe, sig.uc.uc_mcontext.arm_r0)); uc 41 arch/arm64/kernel/signal.c struct ucontext uc; uc 70 arch/arm64/kernel/signal.c sizeof(user->sigframe->uc.uc_mcontext.__reserved); uc 73 arch/arm64/kernel/signal.c user->size = offsetof(struct rt_sigframe, uc.uc_mcontext.__reserved); uc 327 arch/arm64/kernel/signal.c struct sigcontext __user *const sc = &sf->uc.uc_mcontext; uc 489 arch/arm64/kernel/signal.c err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); uc 494 arch/arm64/kernel/signal.c __get_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], uc 496 arch/arm64/kernel/signal.c __get_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); uc 497 arch/arm64/kernel/signal.c __get_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); uc 498 arch/arm64/kernel/signal.c __get_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); uc 549 arch/arm64/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 616 arch/arm64/kernel/signal.c __put_user_error(regs->regs[i], &sf->uc.uc_mcontext.regs[i], uc 618 arch/arm64/kernel/signal.c __put_user_error(regs->sp, &sf->uc.uc_mcontext.sp, err); uc 619 arch/arm64/kernel/signal.c __put_user_error(regs->pc, &sf->uc.uc_mcontext.pc, err); uc 620 arch/arm64/kernel/signal.c __put_user_error(regs->pstate, &sf->uc.uc_mcontext.pstate, err); uc 622 arch/arm64/kernel/signal.c __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); uc 624 arch/arm64/kernel/signal.c err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)); uc 755 arch/arm64/kernel/signal.c __put_user_error(0, &frame->uc.uc_flags, err); uc 756 arch/arm64/kernel/signal.c __put_user_error(NULL, &frame->uc.uc_link, err); uc 758 arch/arm64/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->sp); uc 765 arch/arm64/kernel/signal.c regs->regs[2] = (unsigned long)&frame->uc; uc 192 arch/arm64/kernel/signal32.c err = get_sigset_t(&set, &sf->uc.uc_sigmask); uc 198 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); uc 199 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); uc 200 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); uc 201 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); uc 202 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); uc 203 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); uc 204 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); uc 205 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); uc 206 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); uc 207 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err); uc 208 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err); uc 209 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err); uc 210 arch/arm64/kernel/signal32.c __get_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err); uc 211 arch/arm64/kernel/signal32.c __get_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err); uc 212 arch/arm64/kernel/signal32.c __get_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err); uc 213 arch/arm64/kernel/signal32.c __get_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); uc 214 arch/arm64/kernel/signal32.c __get_user_error(psr, &sf->uc.uc_mcontext.arm_cpsr, err); uc 225 arch/arm64/kernel/signal32.c aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; uc 287 arch/arm64/kernel/signal32.c if (compat_restore_altstack(&frame->sig.uc.uc_stack)) uc 393 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); uc 394 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); uc 395 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); uc 396 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); uc 397 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); uc 398 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); uc 399 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); uc 400 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); uc 401 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); uc 402 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err); uc 403 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err); uc 404 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err); uc 405 arch/arm64/kernel/signal32.c __put_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err); uc 406 arch/arm64/kernel/signal32.c __put_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err); uc 407 arch/arm64/kernel/signal32.c __put_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err); uc 408 arch/arm64/kernel/signal32.c __put_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); uc 409 arch/arm64/kernel/signal32.c __put_user_error(psr, &sf->uc.uc_mcontext.arm_cpsr, err); uc 411 arch/arm64/kernel/signal32.c __put_user_error((compat_ulong_t)0, &sf->uc.uc_mcontext.trap_no, err); uc 414 arch/arm64/kernel/signal32.c FSR_WRITE_SHIFT, &sf->uc.uc_mcontext.error_code, err); uc 415 arch/arm64/kernel/signal32.c __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); uc 416 arch/arm64/kernel/signal32.c __put_user_error(set->sig[0], &sf->uc.uc_mcontext.oldmask, err); uc 418 arch/arm64/kernel/signal32.c err |= put_sigset_t(&sf->uc.uc_sigmask, set); uc 420 arch/arm64/kernel/signal32.c aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; uc 445 arch/arm64/kernel/signal32.c __put_user_error(0, &frame->sig.uc.uc_flags, err); uc 446 arch/arm64/kernel/signal32.c __put_user_error(0, &frame->sig.uc.uc_link, err); uc 448 arch/arm64/kernel/signal32.c err |= __compat_save_altstack(&frame->sig.uc.uc_stack, regs->compat_sp); uc 455 arch/arm64/kernel/signal32.c regs->regs[2] = (compat_ulong_t)(unsigned long)&frame->sig.uc; uc 472 arch/arm64/kernel/signal32.c __put_user_error(0x5ac3c35a, &frame->uc.uc_flags, err); uc 30 arch/c6x/kernel/signal.c struct ucontext uc; uc 82 arch/c6x/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 87 arch/c6x/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc 153 arch/c6x/kernel/signal.c err |= __put_user(&frame->uc, &frame->puc); uc 157 arch/c6x/kernel/signal.c err |= __clear_user(&frame->uc, offsetof(struct ucontext, uc_mcontext)); uc 159 arch/c6x/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, set->sig[0]); uc 160 arch/c6x/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 203 arch/c6x/kernel/signal.c regs->a6 = (unsigned long)&frame->uc; uc 48 arch/csky/kernel/signal.c struct ucontext uc; uc 79 arch/csky/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 84 arch/csky/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc 87 arch/csky/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 100 arch/csky/kernel/signal.c struct sigcontext __user *sc = &frame->uc.uc_mcontext; uc 146 arch/csky/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 147 arch/csky/kernel/signal.c err |= __put_user(NULL, &frame->uc.uc_link); uc 148 arch/csky/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->usp); uc 150 arch/csky/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 168 arch/csky/kernel/signal.c regs->a2 = (unsigned long)(&(frame->uc)); /* a2: ucontext pointer */ uc 69 arch/h8300/kernel/signal.c struct ucontext uc; uc 115 arch/h8300/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 120 arch/h8300/kernel/signal.c if (restore_sigcontext(&frame->uc.uc_mcontext, &er0)) uc 123 arch/h8300/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 175 arch/h8300/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 176 arch/h8300/kernel/signal.c err |= __put_user(0, &frame->uc.uc_link); uc 177 arch/h8300/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, rdusp()); uc 178 arch/h8300/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, set->sig[0]); uc 179 arch/h8300/kernel/signal.c err |= copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 204 arch/h8300/kernel/signal.c regs->er2 = (unsigned long)&frame->uc; uc 25 arch/hexagon/kernel/signal.c struct ucontext uc; uc 117 arch/hexagon/kernel/signal.c err |= setup_sigcontext(regs, &frame->uc.uc_mcontext); uc 118 arch/hexagon/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 119 arch/hexagon/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, user_stack_pointer(regs)); uc 126 arch/hexagon/kernel/signal.c regs->r02 = (unsigned long) &frame->uc; uc 236 arch/hexagon/kernel/signal.c if (__copy_from_user(&blocked, &frame->uc.uc_sigmask, sizeof(blocked))) uc 241 arch/hexagon/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc 249 arch/hexagon/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 483 arch/ia64/include/asm/pal.h uc : 1; /* Uarch check */ uc 679 arch/ia64/include/asm/pal.h #define pmci_proc_unknown_check pme_processor.uc uc 403 arch/ia64/kernel/mca_drv.c if (psp->tc || psp->cc || psp->rc || psp->uc) uc 680 arch/ia64/kernel/mca_drv.c if (psp->tc && !(psp->cc || psp->bc || psp->rc || psp->uc)) uc 244 arch/m68k/kernel/signal.c struct ucontext uc; uc 332 arch/m68k/kernel/signal.c static inline int rt_restore_fpu_state(struct ucontext __user *uc) uc 342 arch/m68k/kernel/signal.c uc->uc_mcontext.fpregs.f_fpcntl, 12)) uc 346 arch/m68k/kernel/signal.c uc->uc_mcontext.fpregs.f_fpregs, 96)) uc 351 arch/m68k/kernel/signal.c if (__get_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate)) uc 384 arch/m68k/kernel/signal.c if (__copy_from_user(&fpregs, &uc->uc_mcontext.fpregs, uc 409 arch/m68k/kernel/signal.c __copy_from_user(fpstate + 4, (long __user *)&uc->uc_fpstate + 1, uc 483 arch/m68k/kernel/signal.c static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs) uc 491 arch/m68k/kernel/signal.c err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpcntl, uc 494 arch/m68k/kernel/signal.c err |= copy_to_user(uc->uc_mcontext.fpregs.f_fpregs, uc 508 arch/m68k/kernel/signal.c err |= __put_user(*(long *)fpstate, (long __user *)&uc->uc_fpstate); uc 542 arch/m68k/kernel/signal.c err |= copy_to_user(&uc->uc_mcontext.fpregs, &fpregs, uc 546 arch/m68k/kernel/signal.c err |= copy_to_user((long __user *)&uc->uc_fpstate + 1, fpstate + 4, uc 561 arch/m68k/kernel/signal.c static inline int rt_restore_fpu_state(struct ucontext __user *uc) uc 570 arch/m68k/kernel/signal.c static inline int rt_save_fpu_state(struct ucontext __user *uc, struct pt_regs *regs) uc 733 arch/m68k/kernel/signal.c struct ucontext __user *uc) uc 736 arch/m68k/kernel/signal.c greg_t __user *gregs = uc->uc_mcontext.gregs; uc 743 arch/m68k/kernel/signal.c err = __get_user(temp, &uc->uc_mcontext.version); uc 768 arch/m68k/kernel/signal.c err |= __get_user(temp, &uc->uc_formatvec); uc 770 arch/m68k/kernel/signal.c err |= rt_restore_fpu_state(uc); uc 771 arch/m68k/kernel/signal.c err |= restore_altstack(&uc->uc_stack); uc 776 arch/m68k/kernel/signal.c if (mangle_kernel_stack(regs, temp, &uc->uc_extra)) uc 818 arch/m68k/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 823 arch/m68k/kernel/signal.c if (rt_restore_ucontext(regs, sw, &frame->uc)) uc 848 arch/m68k/kernel/signal.c static inline int rt_setup_ucontext(struct ucontext __user *uc, struct pt_regs *regs) uc 851 arch/m68k/kernel/signal.c greg_t __user *gregs = uc->uc_mcontext.gregs; uc 854 arch/m68k/kernel/signal.c err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); uc 873 arch/m68k/kernel/signal.c err |= __put_user((regs->format << 12) | regs->vector, &uc->uc_formatvec); uc 874 arch/m68k/kernel/signal.c err |= rt_save_fpu_state(uc, regs); uc 979 arch/m68k/kernel/signal.c err |= copy_to_user (&frame->uc.uc_extra, regs + 1, fsize); uc 983 arch/m68k/kernel/signal.c err |= __put_user(&frame->uc, &frame->puc); uc 987 arch/m68k/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 988 arch/m68k/kernel/signal.c err |= __put_user(NULL, &frame->uc.uc_link); uc 989 arch/m68k/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, rdusp()); uc 990 arch/m68k/kernel/signal.c err |= rt_setup_ucontext(&frame->uc, regs); uc 991 arch/m68k/kernel/signal.c err |= copy_to_user (&frame->uc.uc_sigmask, set, sizeof(*set)); uc 323 arch/m68k/mvme16x/config.c volatile unsigned char uc, *ucp; uc 329 arch/m68k/mvme16x/config.c uc = *ucp | 8; uc 330 arch/m68k/mvme16x/config.c *ucp = uc; uc 55 arch/microblaze/kernel/signal.c struct ucontext uc; uc 97 arch/microblaze/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 102 arch/microblaze/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &rval)) uc 105 arch/microblaze/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 176 arch/microblaze/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 177 arch/microblaze/kernel/signal.c err |= __put_user(NULL, &frame->uc.uc_link); uc 178 arch/microblaze/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->r1); uc 179 arch/microblaze/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, uc 181 arch/microblaze/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 228 arch/microblaze/kernel/signal.c regs->r7 = (unsigned long) &frame->uc; /* arg2: ucontext */ uc 150 arch/mips/kernel/signal.c struct ucontext __user *uc; uc 157 arch/mips/kernel/signal.c uc = container_of(sc, struct ucontext, uc_mcontext); uc 158 arch/mips/kernel/signal.c return &uc->uc_extcontext; uc 22 arch/nds32/kernel/signal.c struct ucontext uc; uc 85 arch/nds32/kernel/signal.c err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); uc 90 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[0], &sf->uc.uc_mcontext.nds32_r0, err); uc 91 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[1], &sf->uc.uc_mcontext.nds32_r1, err); uc 92 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[2], &sf->uc.uc_mcontext.nds32_r2, err); uc 93 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[3], &sf->uc.uc_mcontext.nds32_r3, err); uc 94 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[4], &sf->uc.uc_mcontext.nds32_r4, err); uc 95 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[5], &sf->uc.uc_mcontext.nds32_r5, err); uc 96 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[6], &sf->uc.uc_mcontext.nds32_r6, err); uc 97 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[7], &sf->uc.uc_mcontext.nds32_r7, err); uc 98 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[8], &sf->uc.uc_mcontext.nds32_r8, err); uc 99 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[9], &sf->uc.uc_mcontext.nds32_r9, err); uc 100 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[10], &sf->uc.uc_mcontext.nds32_r10, err); uc 101 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[11], &sf->uc.uc_mcontext.nds32_r11, err); uc 102 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[12], &sf->uc.uc_mcontext.nds32_r12, err); uc 103 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[13], &sf->uc.uc_mcontext.nds32_r13, err); uc 104 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[14], &sf->uc.uc_mcontext.nds32_r14, err); uc 105 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[15], &sf->uc.uc_mcontext.nds32_r15, err); uc 106 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[16], &sf->uc.uc_mcontext.nds32_r16, err); uc 107 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[17], &sf->uc.uc_mcontext.nds32_r17, err); uc 108 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[18], &sf->uc.uc_mcontext.nds32_r18, err); uc 109 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[19], &sf->uc.uc_mcontext.nds32_r19, err); uc 110 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[20], &sf->uc.uc_mcontext.nds32_r20, err); uc 111 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[21], &sf->uc.uc_mcontext.nds32_r21, err); uc 112 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[22], &sf->uc.uc_mcontext.nds32_r22, err); uc 113 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[23], &sf->uc.uc_mcontext.nds32_r23, err); uc 114 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[24], &sf->uc.uc_mcontext.nds32_r24, err); uc 115 arch/nds32/kernel/signal.c __get_user_error(regs->uregs[25], &sf->uc.uc_mcontext.nds32_r25, err); uc 117 arch/nds32/kernel/signal.c __get_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err); uc 118 arch/nds32/kernel/signal.c __get_user_error(regs->gp, &sf->uc.uc_mcontext.nds32_gp, err); uc 119 arch/nds32/kernel/signal.c __get_user_error(regs->lp, &sf->uc.uc_mcontext.nds32_lp, err); uc 120 arch/nds32/kernel/signal.c __get_user_error(regs->sp, &sf->uc.uc_mcontext.nds32_sp, err); uc 121 arch/nds32/kernel/signal.c __get_user_error(regs->ipc, &sf->uc.uc_mcontext.nds32_ipc, err); uc 123 arch/nds32/kernel/signal.c __get_user_error(regs->lc, &sf->uc.uc_mcontext.zol.nds32_lc, err); uc 124 arch/nds32/kernel/signal.c __get_user_error(regs->le, &sf->uc.uc_mcontext.zol.nds32_le, err); uc 125 arch/nds32/kernel/signal.c __get_user_error(regs->lb, &sf->uc.uc_mcontext.zol.nds32_lb, err); uc 128 arch/nds32/kernel/signal.c err |= restore_sigcontext_fpu(regs, &sf->uc.uc_mcontext); uc 160 arch/nds32/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 176 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[0], &sf->uc.uc_mcontext.nds32_r0, err); uc 177 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[1], &sf->uc.uc_mcontext.nds32_r1, err); uc 178 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[2], &sf->uc.uc_mcontext.nds32_r2, err); uc 179 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[3], &sf->uc.uc_mcontext.nds32_r3, err); uc 180 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[4], &sf->uc.uc_mcontext.nds32_r4, err); uc 181 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[5], &sf->uc.uc_mcontext.nds32_r5, err); uc 182 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[6], &sf->uc.uc_mcontext.nds32_r6, err); uc 183 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[7], &sf->uc.uc_mcontext.nds32_r7, err); uc 184 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[8], &sf->uc.uc_mcontext.nds32_r8, err); uc 185 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[9], &sf->uc.uc_mcontext.nds32_r9, err); uc 186 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[10], &sf->uc.uc_mcontext.nds32_r10, err); uc 187 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[11], &sf->uc.uc_mcontext.nds32_r11, err); uc 188 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[12], &sf->uc.uc_mcontext.nds32_r12, err); uc 189 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[13], &sf->uc.uc_mcontext.nds32_r13, err); uc 190 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[14], &sf->uc.uc_mcontext.nds32_r14, err); uc 191 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[15], &sf->uc.uc_mcontext.nds32_r15, err); uc 192 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[16], &sf->uc.uc_mcontext.nds32_r16, err); uc 193 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[17], &sf->uc.uc_mcontext.nds32_r17, err); uc 194 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[18], &sf->uc.uc_mcontext.nds32_r18, err); uc 195 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[19], &sf->uc.uc_mcontext.nds32_r19, err); uc 196 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[20], &sf->uc.uc_mcontext.nds32_r20, err); uc 198 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[21], &sf->uc.uc_mcontext.nds32_r21, err); uc 199 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[22], &sf->uc.uc_mcontext.nds32_r22, err); uc 200 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[23], &sf->uc.uc_mcontext.nds32_r23, err); uc 201 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[24], &sf->uc.uc_mcontext.nds32_r24, err); uc 202 arch/nds32/kernel/signal.c __put_user_error(regs->uregs[25], &sf->uc.uc_mcontext.nds32_r25, err); uc 203 arch/nds32/kernel/signal.c __put_user_error(regs->fp, &sf->uc.uc_mcontext.nds32_fp, err); uc 204 arch/nds32/kernel/signal.c __put_user_error(regs->gp, &sf->uc.uc_mcontext.nds32_gp, err); uc 205 arch/nds32/kernel/signal.c __put_user_error(regs->lp, &sf->uc.uc_mcontext.nds32_lp, err); uc 206 arch/nds32/kernel/signal.c __put_user_error(regs->sp, &sf->uc.uc_mcontext.nds32_sp, err); uc 207 arch/nds32/kernel/signal.c __put_user_error(regs->ipc, &sf->uc.uc_mcontext.nds32_ipc, err); uc 209 arch/nds32/kernel/signal.c __put_user_error(regs->lc, &sf->uc.uc_mcontext.zol.nds32_lc, err); uc 210 arch/nds32/kernel/signal.c __put_user_error(regs->le, &sf->uc.uc_mcontext.zol.nds32_le, err); uc 211 arch/nds32/kernel/signal.c __put_user_error(regs->lb, &sf->uc.uc_mcontext.zol.nds32_lb, err); uc 214 arch/nds32/kernel/signal.c err |= setup_sigcontext_fpu(regs, &sf->uc.uc_mcontext); uc 217 arch/nds32/kernel/signal.c __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, uc 220 arch/nds32/kernel/signal.c &sf->uc.uc_mcontext.error_code, err); uc 222 arch/nds32/kernel/signal.c &sf->uc.uc_mcontext.fault_address, err); uc 223 arch/nds32/kernel/signal.c __put_user_error(set->sig[0], &sf->uc.uc_mcontext.oldmask, err); uc 225 arch/nds32/kernel/signal.c err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)); uc 281 arch/nds32/kernel/signal.c __put_user_error(0, &frame->uc.uc_flags, err); uc 282 arch/nds32/kernel/signal.c __put_user_error(NULL, &frame->uc.uc_link, err); uc 284 arch/nds32/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->sp); uc 291 arch/nds32/kernel/signal.c regs->uregs[2] = (unsigned long)&frame->uc; uc 34 arch/nios2/kernel/signal.c struct ucontext uc; uc 39 arch/nios2/kernel/signal.c struct ucontext *uc, int *pr2) uc 42 arch/nios2/kernel/signal.c unsigned long *gregs = uc->uc_mcontext.gregs; uc 48 arch/nios2/kernel/signal.c err = __get_user(temp, &uc->uc_mcontext.version); uc 90 arch/nios2/kernel/signal.c err |= restore_altstack(&uc->uc_stack); uc 112 arch/nios2/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 117 arch/nios2/kernel/signal.c if (rt_restore_ucontext(regs, sw, &frame->uc, &rval)) uc 127 arch/nios2/kernel/signal.c static inline int rt_setup_ucontext(struct ucontext *uc, struct pt_regs *regs) uc 130 arch/nios2/kernel/signal.c unsigned long *gregs = uc->uc_mcontext.gregs; uc 133 arch/nios2/kernel/signal.c err |= __put_user(MCONTEXT_VERSION, &uc->uc_mcontext.version); uc 192 arch/nios2/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 193 arch/nios2/kernel/signal.c err |= __put_user(0, &frame->uc.uc_link); uc 194 arch/nios2/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->sp); uc 195 arch/nios2/kernel/signal.c err |= rt_setup_ucontext(&frame->uc, regs); uc 196 arch/nios2/kernel/signal.c err |= copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 209 arch/nios2/kernel/signal.c regs->r6 = (unsigned long) &frame->uc; uc 35 arch/openrisc/kernel/signal.c struct ucontext uc; uc 84 arch/openrisc/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 89 arch/openrisc/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc 92 arch/openrisc/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 168 arch/openrisc/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 169 arch/openrisc/kernel/signal.c err |= __put_user(NULL, &frame->uc.uc_link); uc 170 arch/openrisc/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->sp); uc 171 arch/openrisc/kernel/signal.c err |= setup_sigcontext(regs, &frame->uc.uc_mcontext); uc 173 arch/openrisc/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 197 arch/openrisc/kernel/signal.c regs->gpr[5] = (unsigned long)&frame->uc; /* arg 3: ucontext */ uc 16 arch/parisc/include/asm/rt_sigframe.h struct ucontext uc; uc 115 arch/parisc/kernel/signal.c if (get_compat_sigset(&set, &compat_frame->uc.uc_sigmask)) uc 120 arch/parisc/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 130 arch/parisc/kernel/signal.c &compat_frame->uc.uc_mcontext); uc 132 arch/parisc/kernel/signal.c if (restore_sigcontext32(&compat_frame->uc.uc_mcontext, uc 136 arch/parisc/kernel/signal.c usp, &compat_frame->uc.uc_stack); uc 137 arch/parisc/kernel/signal.c if (compat_restore_altstack(&compat_frame->uc.uc_stack)) uc 143 arch/parisc/kernel/signal.c &frame->uc.uc_mcontext); uc 144 arch/parisc/kernel/signal.c if (restore_sigcontext(&frame->uc.uc_mcontext, regs)) uc 147 arch/parisc/kernel/signal.c usp, &frame->uc.uc_stack); uc 148 arch/parisc/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 255 arch/parisc/kernel/signal.c err |= __compat_save_altstack( &compat_frame->uc.uc_stack, regs->gr[30]); uc 256 arch/parisc/kernel/signal.c DBG(1,"setup_rt_frame: frame->uc = 0x%p\n", &compat_frame->uc); uc 257 arch/parisc/kernel/signal.c DBG(1,"setup_rt_frame: frame->uc.uc_mcontext = 0x%p\n", &compat_frame->uc.uc_mcontext); uc 258 arch/parisc/kernel/signal.c err |= setup_sigcontext32(&compat_frame->uc.uc_mcontext, uc 260 arch/parisc/kernel/signal.c err |= put_compat_sigset(&compat_frame->uc.uc_sigmask, set, uc 267 arch/parisc/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->gr[30]); uc 268 arch/parisc/kernel/signal.c DBG(1,"setup_rt_frame: frame->uc = 0x%p\n", &frame->uc); uc 269 arch/parisc/kernel/signal.c DBG(1,"setup_rt_frame: frame->uc.uc_mcontext = 0x%p\n", &frame->uc.uc_mcontext); uc 270 arch/parisc/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, regs, in_syscall); uc 272 arch/parisc/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 392 arch/parisc/kernel/signal.c regs->gr[24] = A(&compat_frame->uc); /* ucontext pointer */ uc 397 arch/parisc/kernel/signal.c regs->gr[24] = A(&frame->uc); /* ucontext pointer */ uc 51 arch/parisc/kernel/signal32.h struct compat_ucontext uc; uc 227 arch/powerpc/kernel/signal_32.c struct ucontext uc; uc 923 arch/powerpc/kernel/signal_32.c || __put_user(0, &rt_sf->uc.uc_flags) uc 924 arch/powerpc/kernel/signal_32.c || __save_altstack(&rt_sf->uc.uc_stack, regs->gpr[1]) uc 925 arch/powerpc/kernel/signal_32.c || __put_user(to_user_ptr(&rt_sf->uc.uc_mcontext), uc 926 arch/powerpc/kernel/signal_32.c &rt_sf->uc.uc_regs) uc 927 arch/powerpc/kernel/signal_32.c || put_sigset_t(&rt_sf->uc.uc_sigmask, oldset)) uc 931 arch/powerpc/kernel/signal_32.c frame = &rt_sf->uc.uc_mcontext; uc 945 arch/powerpc/kernel/signal_32.c &rt_sf->uc.uc_link) || uc 955 arch/powerpc/kernel/signal_32.c if (__put_user(0, &rt_sf->uc.uc_link)) uc 974 arch/powerpc/kernel/signal_32.c regs->gpr[5] = (unsigned long) &rt_sf->uc; uc 1181 arch/powerpc/kernel/signal_32.c if (__get_user(tmp, &rt_sf->uc.uc_link)) uc 1204 arch/powerpc/kernel/signal_32.c if (do_setcontext_tm(&rt_sf->uc, uc_transact, regs)) uc 1219 arch/powerpc/kernel/signal_32.c if (do_setcontext(&rt_sf->uc, regs, 1)) uc 1230 arch/powerpc/kernel/signal_32.c if (compat_restore_altstack(&rt_sf->uc.uc_stack)) uc 1233 arch/powerpc/kernel/signal_32.c if (restore_altstack(&rt_sf->uc.uc_stack)) uc 56 arch/powerpc/kernel/signal_64.c struct ucontext uc; uc 709 arch/powerpc/kernel/signal_64.c struct ucontext __user *uc = (struct ucontext __user *)regs->gpr[1]; uc 718 arch/powerpc/kernel/signal_64.c if (!access_ok(uc, sizeof(*uc))) uc 721 arch/powerpc/kernel/signal_64.c if (__copy_from_user(&set, &uc->uc_sigmask, sizeof(set))) uc 764 arch/powerpc/kernel/signal_64.c if (__get_user(msr, &uc->uc_mcontext.gp_regs[PT_MSR])) uc 774 arch/powerpc/kernel/signal_64.c if (__get_user(uc_transact, &uc->uc_link)) uc 776 arch/powerpc/kernel/signal_64.c if (restore_tm_sigcontexts(current, &uc->uc_mcontext, uc 795 arch/powerpc/kernel/signal_64.c if (restore_sigcontext(current, NULL, 1, &uc->uc_mcontext)) uc 799 arch/powerpc/kernel/signal_64.c if (restore_altstack(&uc->uc_stack)) uc 809 arch/powerpc/kernel/signal_64.c (long)uc, regs->nip, regs->link); uc 834 arch/powerpc/kernel/signal_64.c err |= __put_user(&frame->uc, &frame->puc); uc 840 arch/powerpc/kernel/signal_64.c err |= __put_user(0, &frame->uc.uc_flags); uc 841 arch/powerpc/kernel/signal_64.c err |= __save_altstack(&frame->uc.uc_stack, regs->gpr[1]); uc 847 arch/powerpc/kernel/signal_64.c err |= __put_user(&frame->uc_transact, &frame->uc.uc_link); uc 848 arch/powerpc/kernel/signal_64.c err |= setup_tm_sigcontexts(&frame->uc.uc_mcontext, uc 856 arch/powerpc/kernel/signal_64.c err |= __put_user(0, &frame->uc.uc_link); uc 857 arch/powerpc/kernel/signal_64.c err |= setup_sigcontext(&frame->uc.uc_mcontext, tsk, ksig->sig, uc 861 arch/powerpc/kernel/signal_64.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 910 arch/powerpc/kernel/signal_64.c regs->gpr[4] = (unsigned long)&frame->uc.uc_mcontext; uc 196 arch/powerpc/perf/callchain.c struct ucontext uc; uc 229 arch/powerpc/perf/callchain.c puc == (unsigned long) &sf->uc; uc 268 arch/powerpc/perf/callchain.c uregs = sigframe->uc.uc_mcontext.gp_regs; uc 360 arch/powerpc/perf/callchain.c struct ucontext32 uc; uc 377 arch/powerpc/perf/callchain.c uc.uc_mcontext.mc_pad)) uc 402 arch/powerpc/perf/callchain.c if (read_user_stack_32((unsigned int __user *) &sf->uc.uc_regs, ®s)) uc 404 arch/powerpc/perf/callchain.c return regs == (unsigned long) &sf->uc.uc_mcontext; uc 431 arch/powerpc/perf/callchain.c mctx = &rt_sf->uc.uc_mcontext; uc 24 arch/riscv/kernel/signal.c struct ucontext uc; uc 108 arch/riscv/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 113 arch/riscv/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc 116 arch/riscv/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 136 arch/riscv/kernel/signal.c struct sigcontext __user *sc = &frame->uc.uc_mcontext; uc 183 arch/riscv/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 184 arch/riscv/kernel/signal.c err |= __put_user(NULL, &frame->uc.uc_link); uc 185 arch/riscv/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->sp); uc 187 arch/riscv/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 206 arch/riscv/kernel/signal.c regs->a2 = (unsigned long)(&frame->uc); /* a2: ucontext pointer */ uc 50 arch/s390/kernel/compat_signal.c struct ucontext32 uc; uc 207 arch/s390/kernel/compat_signal.c if (get_compat_sigset(&set, &frame->uc.uc_sigmask)) uc 210 arch/s390/kernel/compat_signal.c if (compat_restore_altstack(&frame->uc.uc_stack)) uc 213 arch/s390/kernel/compat_signal.c if (restore_sigregs32(regs, &frame->uc.uc_mcontext)) uc 215 arch/s390/kernel/compat_signal.c if (restore_sigregs_ext32(regs, &frame->uc.uc_mcontext_ext)) uc 347 arch/s390/kernel/compat_signal.c sizeof(frame->uc.uc_mcontext_ext.__reserved); uc 357 arch/s390/kernel/compat_signal.c frame_size -= sizeof(frame->uc.uc_mcontext_ext.vxrs_low) + uc 358 arch/s390/kernel/compat_signal.c sizeof(frame->uc.uc_mcontext_ext.vxrs_high); uc 387 arch/s390/kernel/compat_signal.c if (__put_user(uc_flags, &frame->uc.uc_flags) || uc 388 arch/s390/kernel/compat_signal.c __put_user(0, &frame->uc.uc_link) || uc 389 arch/s390/kernel/compat_signal.c __compat_save_altstack(&frame->uc.uc_stack, regs->gprs[15]) || uc 390 arch/s390/kernel/compat_signal.c save_sigregs32(regs, &frame->uc.uc_mcontext) || uc 391 arch/s390/kernel/compat_signal.c put_compat_sigset(&frame->uc.uc_sigmask, set, sizeof(compat_sigset_t)) || uc 392 arch/s390/kernel/compat_signal.c save_sigregs_ext32(regs, &frame->uc.uc_mcontext_ext)) uc 406 arch/s390/kernel/compat_signal.c regs->gprs[4] = (__force __u64) &frame->uc; uc 103 arch/s390/kernel/signal.c struct ucontext_extended uc; uc 246 arch/s390/kernel/signal.c if (__copy_from_user(&set.sig, &frame->uc.uc_sigmask, sizeof(set))) uc 249 arch/s390/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 252 arch/s390/kernel/signal.c if (restore_sigregs(regs, &frame->uc.uc_mcontext)) uc 254 arch/s390/kernel/signal.c if (restore_sigregs_ext(regs, &frame->uc.uc_mcontext_ext)) uc 415 arch/s390/kernel/signal.c if (__put_user(uc_flags, &frame->uc.uc_flags) || uc 416 arch/s390/kernel/signal.c __put_user(NULL, &frame->uc.uc_link) || uc 417 arch/s390/kernel/signal.c __save_altstack(&frame->uc.uc_stack, regs->gprs[15]) || uc 418 arch/s390/kernel/signal.c save_sigregs(regs, &frame->uc.uc_mcontext) || uc 419 arch/s390/kernel/signal.c __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)) || uc 420 arch/s390/kernel/signal.c save_sigregs_ext(regs, &frame->uc.uc_mcontext_ext)) uc 434 arch/s390/kernel/signal.c regs->gprs[4] = (unsigned long) &frame->uc; uc 73 arch/sh/kernel/signal_32.c struct ucontext uc; uc 196 arch/sh/kernel/signal_32.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 201 arch/sh/kernel/signal_32.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &r0)) uc 204 arch/sh/kernel/signal_32.c if (restore_altstack(&frame->uc.uc_stack)) uc 347 arch/sh/kernel/signal_32.c err |= __put_user(0, &frame->uc.uc_flags); uc 348 arch/sh/kernel/signal_32.c err |= __put_user(NULL, &frame->uc.uc_link); uc 349 arch/sh/kernel/signal_32.c err |= __save_altstack(&frame->uc.uc_stack, regs->regs[15]); uc 350 arch/sh/kernel/signal_32.c err |= setup_sigcontext(&frame->uc.uc_mcontext, uc 352 arch/sh/kernel/signal_32.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 383 arch/sh/kernel/signal_32.c regs->regs[6] = (unsigned long) &frame->uc; uc 136 arch/sh/kernel/signal_64.c struct ucontext uc; uc 299 arch/sh/kernel/signal_64.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 304 arch/sh/kernel/signal_64.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, &ret)) uc 308 arch/sh/kernel/signal_64.c if (restore_altstack(&frame->uc.uc_stack)) uc 472 arch/sh/kernel/signal_64.c err |= __put_user(&frame->uc, &frame->puc); uc 480 arch/sh/kernel/signal_64.c err |= __put_user(0, &frame->uc.uc_flags); uc 481 arch/sh/kernel/signal_64.c err |= __put_user(0, &frame->uc.uc_link); uc 482 arch/sh/kernel/signal_64.c err |= __save_altstack(&frame->uc.uc_stack, regs->regs[REG_SP]); uc 483 arch/sh/kernel/signal_64.c err |= setup_sigcontext(&frame->uc.uc_mcontext, uc 485 arch/sh/kernel/signal_64.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 529 arch/sh/kernel/signal_64.c regs->regs[REG_ARG3] = (unsigned long long)(unsigned long)(signed long)&frame->uc.uc_mcontext; uc 153 arch/um/os-Linux/signal.c ucontext_t *uc = p; uc 154 arch/um/os-Linux/signal.c mcontext_t *mc = &uc->uc_mcontext; uc 43 arch/unicore32/kernel/signal.c struct ucontext uc; uc 57 arch/unicore32/kernel/signal.c err = __copy_from_user(&set, &sf->uc.uc_sigmask, sizeof(set)); uc 61 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); uc 62 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); uc 63 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); uc 64 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); uc 65 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); uc 66 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); uc 67 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); uc 68 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); uc 69 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); uc 70 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); uc 71 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_10, &sf->uc.uc_mcontext.regs.UCreg_10); uc 72 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_11, &sf->uc.uc_mcontext.regs.UCreg_11); uc 73 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_12, &sf->uc.uc_mcontext.regs.UCreg_12); uc 74 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_13, &sf->uc.uc_mcontext.regs.UCreg_13); uc 75 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_14, &sf->uc.uc_mcontext.regs.UCreg_14); uc 76 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_15, &sf->uc.uc_mcontext.regs.UCreg_15); uc 77 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_16, &sf->uc.uc_mcontext.regs.UCreg_16); uc 78 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_17, &sf->uc.uc_mcontext.regs.UCreg_17); uc 79 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_18, &sf->uc.uc_mcontext.regs.UCreg_18); uc 80 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_19, &sf->uc.uc_mcontext.regs.UCreg_19); uc 81 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_20, &sf->uc.uc_mcontext.regs.UCreg_20); uc 82 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_21, &sf->uc.uc_mcontext.regs.UCreg_21); uc 83 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_22, &sf->uc.uc_mcontext.regs.UCreg_22); uc 84 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_23, &sf->uc.uc_mcontext.regs.UCreg_23); uc 85 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_24, &sf->uc.uc_mcontext.regs.UCreg_24); uc 86 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_25, &sf->uc.uc_mcontext.regs.UCreg_25); uc 87 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_26, &sf->uc.uc_mcontext.regs.UCreg_26); uc 88 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_fp, &sf->uc.uc_mcontext.regs.UCreg_fp); uc 89 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_ip, &sf->uc.uc_mcontext.regs.UCreg_ip); uc 90 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_sp, &sf->uc.uc_mcontext.regs.UCreg_sp); uc 91 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_lr, &sf->uc.uc_mcontext.regs.UCreg_lr); uc 92 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_pc, &sf->uc.uc_mcontext.regs.UCreg_pc); uc 93 arch/unicore32/kernel/signal.c err |= __get_user(regs->UCreg_asr, &sf->uc.uc_mcontext.regs.UCreg_asr); uc 123 arch/unicore32/kernel/signal.c if (restore_altstack(&frame->sig.uc.uc_stack)) uc 138 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_00, &sf->uc.uc_mcontext.regs.UCreg_00); uc 139 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_01, &sf->uc.uc_mcontext.regs.UCreg_01); uc 140 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_02, &sf->uc.uc_mcontext.regs.UCreg_02); uc 141 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_03, &sf->uc.uc_mcontext.regs.UCreg_03); uc 142 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_04, &sf->uc.uc_mcontext.regs.UCreg_04); uc 143 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_05, &sf->uc.uc_mcontext.regs.UCreg_05); uc 144 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_06, &sf->uc.uc_mcontext.regs.UCreg_06); uc 145 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_07, &sf->uc.uc_mcontext.regs.UCreg_07); uc 146 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_08, &sf->uc.uc_mcontext.regs.UCreg_08); uc 147 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_09, &sf->uc.uc_mcontext.regs.UCreg_09); uc 148 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_10, &sf->uc.uc_mcontext.regs.UCreg_10); uc 149 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_11, &sf->uc.uc_mcontext.regs.UCreg_11); uc 150 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_12, &sf->uc.uc_mcontext.regs.UCreg_12); uc 151 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_13, &sf->uc.uc_mcontext.regs.UCreg_13); uc 152 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_14, &sf->uc.uc_mcontext.regs.UCreg_14); uc 153 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_15, &sf->uc.uc_mcontext.regs.UCreg_15); uc 154 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_16, &sf->uc.uc_mcontext.regs.UCreg_16); uc 155 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_17, &sf->uc.uc_mcontext.regs.UCreg_17); uc 156 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_18, &sf->uc.uc_mcontext.regs.UCreg_18); uc 157 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_19, &sf->uc.uc_mcontext.regs.UCreg_19); uc 158 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_20, &sf->uc.uc_mcontext.regs.UCreg_20); uc 159 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_21, &sf->uc.uc_mcontext.regs.UCreg_21); uc 160 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_22, &sf->uc.uc_mcontext.regs.UCreg_22); uc 161 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_23, &sf->uc.uc_mcontext.regs.UCreg_23); uc 162 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_24, &sf->uc.uc_mcontext.regs.UCreg_24); uc 163 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_25, &sf->uc.uc_mcontext.regs.UCreg_25); uc 164 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_26, &sf->uc.uc_mcontext.regs.UCreg_26); uc 165 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_fp, &sf->uc.uc_mcontext.regs.UCreg_fp); uc 166 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_ip, &sf->uc.uc_mcontext.regs.UCreg_ip); uc 167 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_sp, &sf->uc.uc_mcontext.regs.UCreg_sp); uc 168 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_lr, &sf->uc.uc_mcontext.regs.UCreg_lr); uc 169 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_pc, &sf->uc.uc_mcontext.regs.UCreg_pc); uc 170 arch/unicore32/kernel/signal.c err |= __put_user(regs->UCreg_asr, &sf->uc.uc_mcontext.regs.UCreg_asr); uc 173 arch/unicore32/kernel/signal.c &sf->uc.uc_mcontext.trap_no); uc 175 arch/unicore32/kernel/signal.c &sf->uc.uc_mcontext.error_code); uc 177 arch/unicore32/kernel/signal.c &sf->uc.uc_mcontext.fault_address); uc 178 arch/unicore32/kernel/signal.c err |= __put_user(set->sig[0], &sf->uc.uc_mcontext.oldmask); uc 180 arch/unicore32/kernel/signal.c err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(*set)); uc 250 arch/unicore32/kernel/signal.c err |= __put_user(0x5ac3c35a, &frame->uc.uc_flags); uc 272 arch/unicore32/kernel/signal.c err |= __put_user(0, &frame->sig.uc.uc_flags); uc 273 arch/unicore32/kernel/signal.c err |= __put_user(NULL, &frame->sig.uc.uc_link); uc 274 arch/unicore32/kernel/signal.c err |= __save_altstack(&frame->sig.uc.uc_stack, regs->UCreg_sp); uc 286 arch/unicore32/kernel/signal.c regs->UCreg_02 = (unsigned long)&frame->sig.uc; uc 158 arch/x86/ia32/ia32_signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 163 arch/x86/ia32/ia32_signal.c if (ia32_restore_sigcontext(regs, &frame->uc.uc_mcontext)) uc 166 arch/x86/ia32/ia32_signal.c if (compat_restore_altstack(&frame->uc.uc_stack)) uc 359 arch/x86/ia32/ia32_signal.c put_user_ex(ptr_to_compat(&frame->uc), &frame->puc); uc 363 arch/x86/ia32/ia32_signal.c put_user_ex(UC_FP_XSTATE, &frame->uc.uc_flags); uc 365 arch/x86/ia32/ia32_signal.c put_user_ex(0, &frame->uc.uc_flags); uc 366 arch/x86/ia32/ia32_signal.c put_user_ex(0, &frame->uc.uc_link); uc 367 arch/x86/ia32/ia32_signal.c compat_save_altstack_ex(&frame->uc.uc_stack, regs->sp); uc 384 arch/x86/ia32/ia32_signal.c err |= ia32_setup_sigcontext(&frame->uc.uc_mcontext, fpstate, uc 386 arch/x86/ia32/ia32_signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 398 arch/x86/ia32/ia32_signal.c regs->cx = (unsigned long) &frame->uc; uc 55 arch/x86/include/asm/sigframe.h struct ucontext_ia32 uc; uc 65 arch/x86/include/asm/sigframe.h struct ucontext uc; uc 83 arch/x86/include/asm/sigframe.h struct ucontext_x32 uc; uc 64 arch/x86/kernel/asm-offsets.c OFFSET(IA32_RT_SIGFRAME_sigcontext, rt_sigframe_ia32, uc.uc_mcontext); uc 391 arch/x86/kernel/signal.c put_user_ex(&frame->uc, &frame->puc); uc 395 arch/x86/kernel/signal.c put_user_ex(UC_FP_XSTATE, &frame->uc.uc_flags); uc 397 arch/x86/kernel/signal.c put_user_ex(0, &frame->uc.uc_flags); uc 398 arch/x86/kernel/signal.c put_user_ex(0, &frame->uc.uc_link); uc 399 arch/x86/kernel/signal.c save_altstack_ex(&frame->uc.uc_stack, regs->sp); uc 419 arch/x86/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, fpstate, uc 421 arch/x86/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 431 arch/x86/kernel/signal.c regs->cx = (unsigned long)&frame->uc; uc 478 arch/x86/kernel/signal.c put_user_ex(uc_flags, &frame->uc.uc_flags); uc 479 arch/x86/kernel/signal.c put_user_ex(0, &frame->uc.uc_link); uc 480 arch/x86/kernel/signal.c save_altstack_ex(&frame->uc.uc_stack, regs->sp); uc 493 arch/x86/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, fp, regs, set->sig[0]); uc 494 arch/x86/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 507 arch/x86/kernel/signal.c regs->dx = (unsigned long)&frame->uc; uc 563 arch/x86/kernel/signal.c put_user_ex(uc_flags, &frame->uc.uc_flags); uc 564 arch/x86/kernel/signal.c put_user_ex(0, &frame->uc.uc_link); uc 565 arch/x86/kernel/signal.c compat_save_altstack_ex(&frame->uc.uc_stack, regs->sp); uc 566 arch/x86/kernel/signal.c put_user_ex(0, &frame->uc.uc__pad0); uc 578 arch/x86/kernel/signal.c err |= setup_sigcontext(&frame->uc.uc_mcontext, fpstate, uc 580 arch/x86/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 592 arch/x86/kernel/signal.c regs->dx = (unsigned long) &frame->uc; uc 650 arch/x86/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 652 arch/x86/kernel/signal.c if (__get_user(uc_flags, &frame->uc.uc_flags)) uc 657 arch/x86/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, uc_flags)) uc 660 arch/x86/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 875 arch/x86/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 877 arch/x86/kernel/signal.c if (__get_user(uc_flags, &frame->uc.uc_flags)) uc 882 arch/x86/kernel/signal.c if (restore_sigcontext(regs, &frame->uc.uc_mcontext, uc_flags)) uc 885 arch/x86/kernel/signal.c if (compat_restore_altstack(&frame->uc.uc_stack)) uc 326 arch/x86/um/signal.c static int copy_ucontext_to_user(struct ucontext __user *uc, uc 332 arch/x86/um/signal.c err |= __save_altstack(&uc->uc_stack, sp); uc 333 arch/x86/um/signal.c err |= copy_sc_to_user(&uc->uc_mcontext, fp, ¤t->thread.regs, 0); uc 334 arch/x86/um/signal.c err |= copy_to_user(&uc->uc_sigmask, set, sizeof(*set)); uc 355 arch/x86/um/signal.c struct ucontext uc; uc 425 arch/x86/um/signal.c err |= __put_user(&frame->uc, &frame->puc); uc 427 arch/x86/um/signal.c err |= copy_ucontext_to_user(&frame->uc, &frame->fpstate, mask, uc 448 arch/x86/um/signal.c PT_REGS_CX(regs) = (unsigned long) &frame->uc; uc 483 arch/x86/um/signal.c struct ucontext uc; uc 510 arch/x86/um/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 511 arch/x86/um/signal.c err |= __put_user(0, &frame->uc.uc_link); uc 512 arch/x86/um/signal.c err |= __save_altstack(&frame->uc.uc_stack, PT_REGS_SP(regs)); uc 513 arch/x86/um/signal.c err |= copy_sc_to_user(&frame->uc.uc_mcontext, &frame->fpstate, regs, uc 518 arch/x86/um/signal.c err |= __put_user(fp_to, &frame->uc.uc_mcontext.fpstate); uc 520 arch/x86/um/signal.c err |= __put_user(set->sig[0], &frame->uc.uc_sigmask.sig[0]); uc 521 arch/x86/um/signal.c err |= __put_user(set->sig[1], &frame->uc.uc_sigmask.sig[1]); uc 524 arch/x86/um/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, uc 552 arch/x86/um/signal.c PT_REGS_DX(regs) = (unsigned long) &frame->uc; uc 564 arch/x86/um/signal.c struct ucontext __user *uc = &frame->uc; uc 567 arch/x86/um/signal.c if (copy_from_user(&set, &uc->uc_sigmask, sizeof(set))) uc 572 arch/x86/um/signal.c if (copy_sc_from_user(¤t->thread.regs, &uc->uc_mcontext)) uc 14 arch/x86/um/stub_segv.c ucontext_t *uc = p; uc 17 arch/x86/um/stub_segv.c &uc->uc_mcontext); uc 36 arch/xtensa/kernel/signal.c struct ucontext uc; uc 136 arch/xtensa/kernel/signal.c struct sigcontext __user *sc = &frame->uc.uc_mcontext; uc 175 arch/xtensa/kernel/signal.c struct sigcontext __user *sc = &frame->uc.uc_mcontext; uc 257 arch/xtensa/kernel/signal.c if (__copy_from_user(&set, &frame->uc.uc_sigmask, sizeof(set))) uc 267 arch/xtensa/kernel/signal.c if (restore_altstack(&frame->uc.uc_stack)) uc 362 arch/xtensa/kernel/signal.c err |= __put_user(0, &frame->uc.uc_flags); uc 363 arch/xtensa/kernel/signal.c err |= __put_user(0, &frame->uc.uc_link); uc 364 arch/xtensa/kernel/signal.c err |= __save_altstack(&frame->uc.uc_stack, regs->areg[1]); uc 366 arch/xtensa/kernel/signal.c err |= __copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set)); uc 406 arch/xtensa/kernel/signal.c regs->areg[base + 4] = (unsigned long) &frame->uc; uc 224 drivers/char/pcmcia/cm4040_cs.c unsigned char uc; uc 311 drivers/char/pcmcia/cm4040_cs.c uc = xinb(iobase + REG_OFFSET_BULK_IN); uc 209 drivers/firewire/net.c return (u64)get_unaligned_be16(&ha->uc.fifo_hi) << 32 uc 210 drivers/firewire/net.c | get_unaligned_be32(&ha->uc.fifo_lo); uc 1301 drivers/firewire/net.c __be64 guid = get_unaligned(&ha->uc.uniq_id); uc 1499 drivers/firewire/net.c put_unaligned_be64(card->guid, &ha->uc.uniq_id); uc 1500 drivers/firewire/net.c ha->uc.max_rec = dev->card->max_receive; uc 1501 drivers/firewire/net.c ha->uc.sspd = dev->card->link_speed; uc 1502 drivers/firewire/net.c put_unaligned_be16(dev->local_fifo >> 32, &ha->uc.fifo_hi); uc 1503 drivers/firewire/net.c put_unaligned_be32(dev->local_fifo & 0xffffffff, &ha->uc.fifo_lo); uc 169 drivers/gpu/drm/i915/gem/i915_gem_pm.c intel_uc_suspend(&i915->gt.uc); uc 255 drivers/gpu/drm/i915/gem/i915_gem_pm.c intel_uc_resume(&i915->gt.uc); uc 24 drivers/gpu/drm/i915/gt/intel_gt.c intel_uc_init_early(>->uc); uc 266 drivers/gpu/drm/i915/gt/intel_gt.c intel_uc_driver_late_release(>->uc); uc 15 drivers/gpu/drm/i915/gt/intel_gt.h static inline struct intel_gt *uc_to_gt(struct intel_uc *uc) uc 17 drivers/gpu/drm/i915/gt/intel_gt.h return container_of(uc, struct intel_gt, uc); uc 22 drivers/gpu/drm/i915/gt/intel_gt.h return container_of(guc, struct intel_gt, uc.guc); uc 27 drivers/gpu/drm/i915/gt/intel_gt.h return container_of(huc, struct intel_gt, uc.huc); uc 77 drivers/gpu/drm/i915/gt/intel_gt_irq.c return guc_irq_handler(>->uc.guc, iir); uc 340 drivers/gpu/drm/i915/gt/intel_gt_irq.c guc_irq_handler(>->uc.guc, gt_iir[2] >> 16); uc 125 drivers/gpu/drm/i915/gt/intel_gt_pm.c intel_uc_sanitize(>->uc); uc 174 drivers/gpu/drm/i915/gt/intel_gt_pm.c intel_uc_runtime_suspend(>->uc); uc 181 drivers/gpu/drm/i915/gt/intel_gt_pm.c return intel_uc_runtime_resume(>->uc); uc 41 drivers/gpu/drm/i915/gt/intel_gt_types.h struct intel_uc uc; uc 661 drivers/gpu/drm/i915/gt/intel_reset.c intel_uc_reset_prepare(>->uc); uc 1047 drivers/gpu/drm/i915/gt/intel_reset.c if (!engine->gt->uc.guc.execbuf_client) uc 1050 drivers/gpu/drm/i915/gt/intel_reset.c ret = intel_guc_reset_engine(&engine->gt->uc.guc, engine); uc 1054 drivers/gpu/drm/i915/gt/intel_reset.c engine->gt->uc.guc.execbuf_client ? "GuC " : "", uc 494 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c struct intel_guc *guc = &engine->gt->uc.guc; uc 32 drivers/gpu/drm/i915/gt/uc/intel_huc.c struct intel_guc *guc = >->uc.guc; uc 129 drivers/gpu/drm/i915/gt/uc/intel_huc.c struct intel_guc *guc = >->uc.guc; uc 34 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c struct intel_uc *uc = >->uc; uc 38 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c intel_uc_uses_guc(uc), uc 17 drivers/gpu/drm/i915/gt/uc/intel_uc.c static int __intel_uc_reset_hw(struct intel_uc *uc) uc 19 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_gt *gt = uc_to_gt(uc); uc 41 drivers/gpu/drm/i915/gt/uc/intel_uc.c static void __confirm_options(struct intel_uc *uc) uc 43 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct drm_i915_private *i915 = uc_to_gt(uc)->i915; uc 48 drivers/gpu/drm/i915/gt/uc/intel_uc.c yesno(intel_uc_uses_guc(uc)), uc 49 drivers/gpu/drm/i915/gt/uc/intel_uc.c yesno(intel_uc_uses_guc_submission(uc)), uc 50 drivers/gpu/drm/i915/gt/uc/intel_uc.c yesno(intel_uc_uses_huc(uc))); uc 56 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(intel_uc_uses_guc(uc)); uc 57 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(intel_uc_uses_guc_submission(uc)); uc 58 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(intel_uc_uses_huc(uc)); uc 62 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (!intel_uc_supports_guc(uc)) uc 68 drivers/gpu/drm/i915/gt/uc/intel_uc.c !intel_uc_supports_huc(uc)) uc 74 drivers/gpu/drm/i915/gt/uc/intel_uc.c !intel_uc_supports_guc_submission(uc)) uc 86 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_init_early(struct intel_uc *uc) uc 88 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_guc_init_early(&uc->guc); uc 89 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_huc_init_early(&uc->huc); uc 91 drivers/gpu/drm/i915/gt/uc/intel_uc.c __confirm_options(uc); uc 94 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_driver_late_release(struct intel_uc *uc) uc 105 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_init_mmio(struct intel_uc *uc) uc 107 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_guc_init_send_regs(&uc->guc); uc 110 drivers/gpu/drm/i915/gt/uc/intel_uc.c static void __uc_capture_load_err_log(struct intel_uc *uc) uc 112 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 114 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (guc->log.vma && !uc->load_err_log) uc 115 drivers/gpu/drm/i915/gt/uc/intel_uc.c uc->load_err_log = i915_gem_object_get(guc->log.vma->obj); uc 118 drivers/gpu/drm/i915/gt/uc/intel_uc.c static void __uc_free_load_err_log(struct intel_uc *uc) uc 120 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct drm_i915_gem_object *log = fetch_and_zero(&uc->load_err_log); uc 264 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_fetch_firmwares(struct intel_uc *uc) uc 266 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct drm_i915_private *i915 = uc_to_gt(uc)->i915; uc 269 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (!intel_uc_uses_guc(uc)) uc 272 drivers/gpu/drm/i915/gt/uc/intel_uc.c err = intel_uc_fw_fetch(&uc->guc.fw, i915); uc 276 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (intel_uc_uses_huc(uc)) uc 277 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_uc_fw_fetch(&uc->huc.fw, i915); uc 280 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_cleanup_firmwares(struct intel_uc *uc) uc 282 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (!intel_uc_uses_guc(uc)) uc 285 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (intel_uc_uses_huc(uc)) uc 286 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_uc_fw_cleanup_fetch(&uc->huc.fw); uc 288 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_uc_fw_cleanup_fetch(&uc->guc.fw); uc 291 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_init(struct intel_uc *uc) uc 293 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 294 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_huc *huc = &uc->huc; uc 297 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (!intel_uc_uses_guc(uc)) uc 301 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(intel_uc_supports_guc_submission(uc)); uc 309 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (intel_uc_uses_huc(uc)) uc 313 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_fini(struct intel_uc *uc) uc 315 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 317 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (!intel_uc_uses_guc(uc)) uc 320 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (intel_uc_uses_huc(uc)) uc 321 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_huc_fini(&uc->huc); uc 325 drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_free_load_err_log(uc); uc 328 drivers/gpu/drm/i915/gt/uc/intel_uc.c static int __uc_sanitize(struct intel_uc *uc) uc 330 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 331 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_huc *huc = &uc->huc; uc 333 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(!intel_uc_supports_guc(uc)); uc 338 drivers/gpu/drm/i915/gt/uc/intel_uc.c return __intel_uc_reset_hw(uc); uc 341 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_sanitize(struct intel_uc *uc) uc 343 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (!intel_uc_supports_guc(uc)) uc 346 drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_sanitize(uc); uc 350 drivers/gpu/drm/i915/gt/uc/intel_uc.c static int uc_init_wopcm(struct intel_uc *uc) uc 352 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_gt *gt = uc_to_gt(uc); uc 356 drivers/gpu/drm/i915/gt/uc/intel_uc.c u32 huc_agent = intel_uc_uses_huc(uc) ? HUC_LOADING_AGENT_GUC : 0; uc 365 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(!intel_uc_supports_guc(uc)); uc 403 drivers/gpu/drm/i915/gt/uc/intel_uc.c static bool uc_is_wopcm_locked(struct intel_uc *uc) uc 405 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_gt *gt = uc_to_gt(uc); uc 412 drivers/gpu/drm/i915/gt/uc/intel_uc.c int intel_uc_init_hw(struct intel_uc *uc) uc 414 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct drm_i915_private *i915 = uc_to_gt(uc)->i915; uc 415 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 416 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_huc *huc = &uc->huc; uc 419 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (!intel_uc_supports_guc(uc)) uc 427 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (!intel_uc_uses_guc(uc) && !uc_is_wopcm_locked(uc)) uc 431 drivers/gpu/drm/i915/gt/uc/intel_uc.c ret = uc_is_wopcm_locked(uc) || uc 433 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_uc_supports_guc_submission(uc) ? uc 438 drivers/gpu/drm/i915/gt/uc/intel_uc.c ret = uc_init_wopcm(uc); uc 456 drivers/gpu/drm/i915/gt/uc/intel_uc.c ret = __uc_sanitize(uc); uc 485 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (intel_uc_supports_guc_submission(uc)) { uc 495 drivers/gpu/drm/i915/gt/uc/intel_uc.c enableddisabled(intel_uc_supports_guc_submission(uc))); uc 497 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (intel_uc_uses_huc(uc)) { uc 514 drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_capture_load_err_log(uc); uc 516 drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_sanitize(uc); uc 530 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_fini_hw(struct intel_uc *uc) uc 532 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 537 drivers/gpu/drm/i915/gt/uc/intel_uc.c if (intel_uc_supports_guc_submission(uc)) uc 541 drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_sanitize(uc); uc 550 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_reset_prepare(struct intel_uc *uc) uc 552 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 558 drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_sanitize(uc); uc 561 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_runtime_suspend(struct intel_uc *uc) uc 563 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 576 drivers/gpu/drm/i915/gt/uc/intel_uc.c void intel_uc_suspend(struct intel_uc *uc) uc 578 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 584 drivers/gpu/drm/i915/gt/uc/intel_uc.c with_intel_runtime_pm(&uc_to_gt(uc)->i915->runtime_pm, wakeref) uc 585 drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_uc_runtime_suspend(uc); uc 588 drivers/gpu/drm/i915/gt/uc/intel_uc.c static int __uc_resume(struct intel_uc *uc, bool enable_communication) uc 590 drivers/gpu/drm/i915/gt/uc/intel_uc.c struct intel_guc *guc = &uc->guc; uc 611 drivers/gpu/drm/i915/gt/uc/intel_uc.c int intel_uc_resume(struct intel_uc *uc) uc 617 drivers/gpu/drm/i915/gt/uc/intel_uc.c return __uc_resume(uc, false); uc 620 drivers/gpu/drm/i915/gt/uc/intel_uc.c int intel_uc_runtime_resume(struct intel_uc *uc) uc 626 drivers/gpu/drm/i915/gt/uc/intel_uc.c return __uc_resume(uc, true); uc 21 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_init_early(struct intel_uc *uc); uc 22 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_driver_late_release(struct intel_uc *uc); uc 23 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_init_mmio(struct intel_uc *uc); uc 24 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_fetch_firmwares(struct intel_uc *uc); uc 25 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_cleanup_firmwares(struct intel_uc *uc); uc 26 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_sanitize(struct intel_uc *uc); uc 27 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_init(struct intel_uc *uc); uc 28 drivers/gpu/drm/i915/gt/uc/intel_uc.h int intel_uc_init_hw(struct intel_uc *uc); uc 29 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_fini_hw(struct intel_uc *uc); uc 30 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_fini(struct intel_uc *uc); uc 31 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_reset_prepare(struct intel_uc *uc); uc 32 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_suspend(struct intel_uc *uc); uc 33 drivers/gpu/drm/i915/gt/uc/intel_uc.h void intel_uc_runtime_suspend(struct intel_uc *uc); uc 34 drivers/gpu/drm/i915/gt/uc/intel_uc.h int intel_uc_resume(struct intel_uc *uc); uc 35 drivers/gpu/drm/i915/gt/uc/intel_uc.h int intel_uc_runtime_resume(struct intel_uc *uc); uc 37 drivers/gpu/drm/i915/gt/uc/intel_uc.h static inline bool intel_uc_supports_guc(struct intel_uc *uc) uc 39 drivers/gpu/drm/i915/gt/uc/intel_uc.h return intel_guc_is_supported(&uc->guc); uc 42 drivers/gpu/drm/i915/gt/uc/intel_uc.h static inline bool intel_uc_uses_guc(struct intel_uc *uc) uc 44 drivers/gpu/drm/i915/gt/uc/intel_uc.h return intel_guc_is_enabled(&uc->guc); uc 47 drivers/gpu/drm/i915/gt/uc/intel_uc.h static inline bool intel_uc_supports_guc_submission(struct intel_uc *uc) uc 49 drivers/gpu/drm/i915/gt/uc/intel_uc.h return intel_guc_is_submission_supported(&uc->guc); uc 52 drivers/gpu/drm/i915/gt/uc/intel_uc.h static inline bool intel_uc_uses_guc_submission(struct intel_uc *uc) uc 54 drivers/gpu/drm/i915/gt/uc/intel_uc.h return intel_guc_is_submission_supported(&uc->guc); uc 57 drivers/gpu/drm/i915/gt/uc/intel_uc.h static inline bool intel_uc_supports_huc(struct intel_uc *uc) uc 59 drivers/gpu/drm/i915/gt/uc/intel_uc.h return intel_uc_supports_guc(uc); uc 62 drivers/gpu/drm/i915/gt/uc/intel_uc.h static inline bool intel_uc_uses_huc(struct intel_uc *uc) uc 64 drivers/gpu/drm/i915/gt/uc/intel_uc.h return intel_huc_is_enabled(&uc->huc); uc 19 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c return container_of(uc_fw, struct intel_gt, uc.guc.fw); uc 22 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c return container_of(uc_fw, struct intel_gt, uc.huc.fw); uc 122 drivers/gpu/drm/i915/gt/uc/selftest_guc.c guc = &dev_priv->gt.uc.guc; uc 214 drivers/gpu/drm/i915/gt/uc/selftest_guc.c guc = &dev_priv->gt.uc.guc; uc 1799 drivers/gpu/drm/i915/i915_debugfs.c intel_uc_fw_dump(&dev_priv->gt.uc.huc.fw, &p); uc 1817 drivers/gpu/drm/i915/i915_debugfs.c intel_uc_fw_dump(&dev_priv->gt.uc.guc.fw, &p); uc 1860 drivers/gpu/drm/i915/i915_debugfs.c struct intel_guc_log *log = &dev_priv->gt.uc.guc.log; uc 1884 drivers/gpu/drm/i915/i915_debugfs.c const struct intel_guc *guc = &dev_priv->gt.uc.guc; uc 1916 drivers/gpu/drm/i915/i915_debugfs.c const struct intel_guc *guc = &dev_priv->gt.uc.guc; uc 1978 drivers/gpu/drm/i915/i915_debugfs.c obj = dev_priv->gt.uc.load_err_log; uc 1979 drivers/gpu/drm/i915/i915_debugfs.c else if (dev_priv->gt.uc.guc.log.vma) uc 1980 drivers/gpu/drm/i915/i915_debugfs.c obj = dev_priv->gt.uc.guc.log.vma->obj; uc 2011 drivers/gpu/drm/i915/i915_debugfs.c *val = intel_guc_log_get_level(&dev_priv->gt.uc.guc.log); uc 2023 drivers/gpu/drm/i915/i915_debugfs.c return intel_guc_log_set_level(&dev_priv->gt.uc.guc.log, val); uc 2033 drivers/gpu/drm/i915/i915_debugfs.c struct intel_guc *guc = &i915->gt.uc.guc; uc 2059 drivers/gpu/drm/i915/i915_debugfs.c struct intel_guc *guc = &i915->gt.uc.guc; uc 681 drivers/gpu/drm/i915/i915_drv.c intel_uc_init_mmio(&dev_priv->gt.uc); uc 2172 drivers/gpu/drm/i915/i915_drv.h #define USES_GUC(dev_priv) intel_uc_uses_guc(&(dev_priv)->gt.uc) uc 2173 drivers/gpu/drm/i915/i915_drv.h #define USES_GUC_SUBMISSION(dev_priv) intel_uc_uses_guc_submission(&(dev_priv)->gt.uc) uc 1244 drivers/gpu/drm/i915/i915_gem.c ret = intel_uc_init_hw(>->uc); uc 1438 drivers/gpu/drm/i915/i915_gem.c intel_uc_fetch_firmwares(&dev_priv->gt.uc); uc 1483 drivers/gpu/drm/i915/i915_gem.c intel_uc_init(&dev_priv->gt.uc); uc 1543 drivers/gpu/drm/i915/i915_gem.c intel_uc_fini_hw(&dev_priv->gt.uc); uc 1546 drivers/gpu/drm/i915/i915_gem.c intel_uc_fini(&dev_priv->gt.uc); uc 1561 drivers/gpu/drm/i915/i915_gem.c intel_uc_cleanup_firmwares(&dev_priv->gt.uc); uc 1618 drivers/gpu/drm/i915/i915_gem.c intel_uc_fini_hw(&dev_priv->gt.uc); uc 1619 drivers/gpu/drm/i915/i915_gem.c intel_uc_fini(&dev_priv->gt.uc); uc 1637 drivers/gpu/drm/i915/i915_gem.c intel_uc_cleanup_firmwares(&dev_priv->gt.uc); uc 96 drivers/gpu/drm/i915/i915_getparam.c value = intel_huc_check_status(&i915->gt.uc.huc); uc 629 drivers/gpu/drm/i915/i915_gpu_error.c container_of(error_uc, typeof(*error), uc); uc 788 drivers/gpu/drm/i915/i915_gpu_error.c err_print_uc(m, &error->uc); uc 913 drivers/gpu/drm/i915/i915_gpu_error.c struct i915_error_uc *error_uc = &error->uc; uc 1471 drivers/gpu/drm/i915/i915_gpu_error.c struct i915_error_uc *error_uc = &error->uc; uc 1472 drivers/gpu/drm/i915/i915_gpu_error.c struct intel_uc *uc = &i915->gt.uc; uc 1478 drivers/gpu/drm/i915/i915_gpu_error.c memcpy(&error_uc->guc_fw, &uc->guc.fw, sizeof(uc->guc.fw)); uc 1479 drivers/gpu/drm/i915/i915_gpu_error.c memcpy(&error_uc->huc_fw, &uc->huc.fw, sizeof(uc->huc.fw)); uc 1485 drivers/gpu/drm/i915/i915_gpu_error.c error_uc->guc_fw.path = kstrdup(uc->guc.fw.path, ALLOW_FAIL); uc 1486 drivers/gpu/drm/i915/i915_gpu_error.c error_uc->huc_fw.path = kstrdup(uc->huc.fw.path, ALLOW_FAIL); uc 1488 drivers/gpu/drm/i915/i915_gpu_error.c uc->guc.log.vma, uc 58 drivers/gpu/drm/i915/i915_gpu_error.h } uc; uc 225 drivers/gpu/drm/i915/intel_wopcm.c u32 guc_fw_size = intel_uc_fw_get_upload_size(>->uc.guc.fw); uc 226 drivers/gpu/drm/i915/intel_wopcm.c u32 huc_fw_size = intel_uc_fw_get_upload_size(>->uc.huc.fw); uc 33 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c #define INTERLEAVED_RGB_FMT(fmt, a, r, g, b, e0, e1, e2, e3, uc, alpha, \ uc 44 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .unpack_count = uc, \ uc 52 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c #define INTERLEAVED_RGB_FMT_TILED(fmt, a, r, g, b, e0, e1, e2, e3, uc, \ uc 63 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .unpack_count = uc, \ uc 115 drivers/gpu/drm/msm/dsi/dsi.h enum msm_dsi_phy_usecase uc); uc 137 drivers/gpu/drm/msm/dsi/dsi.h enum msm_dsi_phy_usecase uc) uc 218 drivers/gpu/drm/msm/dsi/dsi.h enum msm_dsi_phy_usecase uc); uc 749 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c enum msm_dsi_phy_usecase uc) uc 752 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c phy->usecase = uc; uc 136 drivers/gpu/drm/msm/dsi/pll/dsi_pll.c enum msm_dsi_phy_usecase uc) uc 139 drivers/gpu/drm/msm/dsi/pll/dsi_pll.c return pll->set_usecase(pll, uc); uc 37 drivers/gpu/drm/msm/dsi/pll/dsi_pll.h enum msm_dsi_phy_usecase uc); uc 120 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c enum msm_dsi_phy_usecase uc; uc 582 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c enum msm_dsi_phy_usecase uc) uc 590 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c switch (uc) { uc 606 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c pll_10nm->uc = uc; uc 146 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c enum msm_dsi_phy_usecase uc; uc 613 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c if (pll_14nm->uc == MSM_DSI_PHY_MASTER) { uc 740 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c if (pll_14nm->uc == MSM_DSI_PHY_MASTER) { uc 837 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c if (pll_14nm->uc == MSM_DSI_PHY_MASTER) { uc 848 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c enum msm_dsi_phy_usecase uc) uc 854 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c switch (uc) { uc 874 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll_14nm->uc = uc; uc 1074 drivers/gpu/vga/vgaarb.c struct vga_arb_user_card *uc = NULL; uc 1157 drivers/gpu/vga/vgaarb.c uc = &priv->cards[i]; uc 1160 drivers/gpu/vga/vgaarb.c if (!uc) { uc 1165 drivers/gpu/vga/vgaarb.c if (io_state & VGA_RSRC_LEGACY_IO && uc->io_cnt == 0) { uc 1170 drivers/gpu/vga/vgaarb.c if (io_state & VGA_RSRC_LEGACY_MEM && uc->mem_cnt == 0) { uc 1178 drivers/gpu/vga/vgaarb.c uc->io_cnt--; uc 1180 drivers/gpu/vga/vgaarb.c uc->mem_cnt--; uc 1356 drivers/gpu/vga/vgaarb.c struct vga_arb_user_card *uc; uc 1365 drivers/gpu/vga/vgaarb.c uc = &priv->cards[i]; uc 1366 drivers/gpu/vga/vgaarb.c if (uc->pdev == NULL) uc 1368 drivers/gpu/vga/vgaarb.c vgaarb_dbg(&uc->pdev->dev, "uc->io_cnt == %d, uc->mem_cnt == %d\n", uc 1369 drivers/gpu/vga/vgaarb.c uc->io_cnt, uc->mem_cnt); uc 1370 drivers/gpu/vga/vgaarb.c while (uc->io_cnt--) uc 1371 drivers/gpu/vga/vgaarb.c vga_put(uc->pdev, VGA_RSRC_LEGACY_IO); uc 1372 drivers/gpu/vga/vgaarb.c while (uc->mem_cnt--) uc 1373 drivers/gpu/vga/vgaarb.c vga_put(uc->pdev, VGA_RSRC_LEGACY_MEM); uc 148 drivers/infiniband/sw/rxe/rxe_verbs.c struct rxe_ucontext *uc = to_ruc(uctx); uc 150 drivers/infiniband/sw/rxe/rxe_verbs.c return rxe_add_to_pool(&rxe->uc_pool, &uc->pelem); uc 155 drivers/infiniband/sw/rxe/rxe_verbs.c struct rxe_ucontext *uc = to_ruc(ibuc); uc 157 drivers/infiniband/sw/rxe/rxe_verbs.c rxe_drop_ref(uc); uc 428 drivers/infiniband/sw/rxe/rxe_verbs.h static inline struct rxe_ucontext *to_ruc(struct ib_ucontext *uc) uc 430 drivers/infiniband/sw/rxe/rxe_verbs.h return uc ? container_of(uc, struct rxe_ucontext, ibuc) : NULL; uc 239 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c hw_list = &netdev->uc; uc 27 drivers/md/dm-unstripe.c static void cleanup_unstripe(struct unstripe_c *uc, struct dm_target *ti) uc 29 drivers/md/dm-unstripe.c if (uc->dev) uc 30 drivers/md/dm-unstripe.c dm_put_device(ti, uc->dev); uc 31 drivers/md/dm-unstripe.c kfree(uc); uc 40 drivers/md/dm-unstripe.c struct unstripe_c *uc; uc 50 drivers/md/dm-unstripe.c uc = kzalloc(sizeof(*uc), GFP_KERNEL); uc 51 drivers/md/dm-unstripe.c if (!uc) { uc 56 drivers/md/dm-unstripe.c if (kstrtouint(argv[0], 10, &uc->stripes) || !uc->stripes) { uc 61 drivers/md/dm-unstripe.c if (kstrtouint(argv[1], 10, &uc->chunk_size) || !uc->chunk_size) { uc 66 drivers/md/dm-unstripe.c if (kstrtouint(argv[2], 10, &uc->unstripe)) { uc 71 drivers/md/dm-unstripe.c if (uc->unstripe > uc->stripes && uc->stripes > 1) { uc 76 drivers/md/dm-unstripe.c if (dm_get_device(ti, argv[3], dm_table_get_mode(ti->table), &uc->dev)) { uc 85 drivers/md/dm-unstripe.c uc->physical_start = start; uc 87 drivers/md/dm-unstripe.c uc->unstripe_offset = uc->unstripe * uc->chunk_size; uc 88 drivers/md/dm-unstripe.c uc->unstripe_width = (uc->stripes - 1) * uc->chunk_size; uc 89 drivers/md/dm-unstripe.c uc->chunk_shift = is_power_of_2(uc->chunk_size) ? fls(uc->chunk_size) - 1 : 0; uc 92 drivers/md/dm-unstripe.c if (sector_div(tmp_len, uc->chunk_size)) { uc 97 drivers/md/dm-unstripe.c if (dm_set_target_max_io_len(ti, uc->chunk_size)) { uc 102 drivers/md/dm-unstripe.c ti->private = uc; uc 105 drivers/md/dm-unstripe.c cleanup_unstripe(uc, ti); uc 111 drivers/md/dm-unstripe.c struct unstripe_c *uc = ti->private; uc 113 drivers/md/dm-unstripe.c cleanup_unstripe(uc, ti); uc 118 drivers/md/dm-unstripe.c struct unstripe_c *uc = ti->private; uc 123 drivers/md/dm-unstripe.c if (uc->chunk_shift) uc 124 drivers/md/dm-unstripe.c tmp_sector >>= uc->chunk_shift; uc 126 drivers/md/dm-unstripe.c sector_div(tmp_sector, uc->chunk_size); uc 128 drivers/md/dm-unstripe.c sector += uc->unstripe_width * tmp_sector; uc 131 drivers/md/dm-unstripe.c return sector + uc->unstripe_offset; uc 136 drivers/md/dm-unstripe.c struct unstripe_c *uc = ti->private; uc 138 drivers/md/dm-unstripe.c bio_set_dev(bio, uc->dev->bdev); uc 139 drivers/md/dm-unstripe.c bio->bi_iter.bi_sector = map_to_core(ti, bio) + uc->physical_start; uc 147 drivers/md/dm-unstripe.c struct unstripe_c *uc = ti->private; uc 156 drivers/md/dm-unstripe.c uc->stripes, (unsigned long long)uc->chunk_size, uc->unstripe, uc 157 drivers/md/dm-unstripe.c uc->dev->name, (unsigned long long)uc->physical_start); uc 165 drivers/md/dm-unstripe.c struct unstripe_c *uc = ti->private; uc 167 drivers/md/dm-unstripe.c return fn(ti, uc->dev, uc->physical_start, ti->len, data); uc 173 drivers/md/dm-unstripe.c struct unstripe_c *uc = ti->private; uc 175 drivers/md/dm-unstripe.c limits->chunk_sectors = uc->chunk_size; uc 298 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c unsigned int uc,cnt; uc 302 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c uc = 0; uc 314 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; uc 326 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; uc 332 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; uc 338 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; uc 342 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return uc; uc 1802 drivers/net/dsa/b53/b53_common.c u16 uc, mc; uc 1804 drivers/net/dsa/b53/b53_common.c b53_read16(dev, B53_CTRL_PAGE, B53_UC_FLOOD_MASK, &uc); uc 1806 drivers/net/dsa/b53/b53_common.c uc |= BIT(port); uc 1808 drivers/net/dsa/b53/b53_common.c uc &= ~BIT(port); uc 1809 drivers/net/dsa/b53/b53_common.c b53_write16(dev, B53_CTRL_PAGE, B53_UC_FLOOD_MASK, uc); uc 231 drivers/net/ethernet/broadcom/bcmsysport.c STAT_MIB_RX("rx_unicast", mib.rx.uc), uc 263 drivers/net/ethernet/broadcom/bcmsysport.c STAT_MIB_TX("tx_unicast", mib.tx.uc), uc 559 drivers/net/ethernet/broadcom/bcmsysport.h u32 uc; /* RO # of unicast pkt */ uc 585 drivers/net/ethernet/broadcom/bcmsysport.h u32 uc; /* RO (0x4f0) # of xmited unicast pkt */ uc 813 drivers/net/ethernet/broadcom/genet/bcmgenet.c STAT_GENET_MIB_RX("rx_unicast", mib.rx.uc), uc 845 drivers/net/ethernet/broadcom/genet/bcmgenet.c STAT_GENET_MIB_TX("tx_unicast", mib.tx.uc), uc 105 drivers/net/ethernet/broadcom/genet/bcmgenet.h u32 uc; /* RO # of unicast pkt */ uc 131 drivers/net/ethernet/broadcom/genet/bcmgenet.h u32 uc; /* RO (0x0x4f0)# of xmited unitcast pkt */ uc 572 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c if ((netdev->flags & IFF_PROMISC) || netdev->uc.count > 7) { uc 579 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c available_cam_entries = 7 - netdev->uc.count; uc 4044 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c list = &ndev->uc; uc 4073 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c list = &netdev->uc; uc 439 drivers/net/ethernet/hp/hp100.c u_char uc; uc 481 drivers/net/ethernet/hp/hp100.c for (i = uc = 0; i < 7; i++) uc 482 drivers/net/ethernet/hp/hp100.c uc += hp100_inb(LAN_ADDR + i); uc 483 drivers/net/ethernet/hp/hp100.c if (uc != 0xff) { uc 687 drivers/net/ethernet/hp/hp100.c for (i = uc = 0; i < 6; i++) uc 3804 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_prs_mac_da_accept_list(port, &dev->uc)) uc 81 drivers/net/ethernet/sfc/ef10.c u16 uc[EFX_EF10_FILTER_DEV_UC_MAX]; uc 5198 drivers/net/ethernet/sfc/ef10.c efx_ef10_filter_mark_one_old(efx, &vlan->uc[i]); uc 5224 drivers/net/ethernet/sfc/ef10.c struct netdev_hw_addr *uc; uc 5230 drivers/net/ethernet/sfc/ef10.c netdev_for_each_uc_addr(uc, net_dev) { uc 5235 drivers/net/ethernet/sfc/ef10.c ether_addr_copy(table->dev_uc_list[i].addr, uc->addr); uc 5287 drivers/net/ethernet/sfc/ef10.c ids = vlan->uc; uc 5785 drivers/net/ethernet/sfc/ef10.c for (i = 0; i < ARRAY_SIZE(vlan->uc); i++) uc 5786 drivers/net/ethernet/sfc/ef10.c vlan->uc[i] = EFX_EF10_FILTER_ID_INVALID; uc 5811 drivers/net/ethernet/sfc/ef10.c for (i = 0; i < ARRAY_SIZE(vlan->uc); i++) uc 5813 drivers/net/ethernet/sfc/ef10.c vlan->uc[i]); uc 8364 drivers/net/wireless/intel/ipw2x00/ipw2100.c fw->uc.data = fw->fw.data + h->fw_size; uc 8365 drivers/net/wireless/intel/ipw2x00/ipw2100.c fw->uc.size = h->uc_size; uc 8518 drivers/net/wireless/intel/ipw2x00/ipw2100.c const unsigned char *microcode_data = fw->uc.data; uc 8519 drivers/net/wireless/intel/ipw2x00/ipw2100.c unsigned int microcode_data_left = fw->uc.size; uc 1136 drivers/net/wireless/intel/ipw2x00/ipw2100.h struct ipw2100_fw_chunk_set uc; uc 894 drivers/scsi/sym53c8xx_2/sym_glue.c static void sym_exec_user_command (struct sym_hcb *np, struct sym_usrcmd *uc) uc 899 drivers/scsi/sym53c8xx_2/sym_glue.c switch (uc->cmd) { uc 904 drivers/scsi/sym53c8xx_2/sym_glue.c sym_debug_flags = uc->data; uc 908 drivers/scsi/sym53c8xx_2/sym_glue.c np->verbose = uc->data; uc 917 drivers/scsi/sym53c8xx_2/sym_glue.c if (!((uc->target >> t) & 1)) uc 923 drivers/scsi/sym53c8xx_2/sym_glue.c switch (uc->cmd) { uc 926 drivers/scsi/sym53c8xx_2/sym_glue.c if (!uc->data || uc->data >= 255) { uc 930 drivers/scsi/sym53c8xx_2/sym_glue.c } else if (uc->data <= 9 && np->minsync_dt) { uc 931 drivers/scsi/sym53c8xx_2/sym_glue.c if (uc->data < np->minsync_dt) uc 932 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data = np->minsync_dt; uc 936 drivers/scsi/sym53c8xx_2/sym_glue.c tp->tgoal.period = uc->data; uc 939 drivers/scsi/sym53c8xx_2/sym_glue.c if (uc->data < np->minsync) uc 940 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data = np->minsync; uc 943 drivers/scsi/sym53c8xx_2/sym_glue.c tp->tgoal.period = uc->data; uc 949 drivers/scsi/sym53c8xx_2/sym_glue.c tp->tgoal.width = uc->data ? 1 : 0; uc 954 drivers/scsi/sym53c8xx_2/sym_glue.c sym_tune_dev_queuing(tp, l, uc->data); uc 970 drivers/scsi/sym53c8xx_2/sym_glue.c tp->usrflags = uc->data; uc 1025 drivers/scsi/sym53c8xx_2/sym_glue.c struct sym_usrcmd cmd, *uc = &cmd; uc 1029 drivers/scsi/sym53c8xx_2/sym_glue.c memset(uc, 0, sizeof(*uc)); uc 1035 drivers/scsi/sym53c8xx_2/sym_glue.c uc->cmd = UC_SETSYNC; uc 1037 drivers/scsi/sym53c8xx_2/sym_glue.c uc->cmd = UC_SETTAGS; uc 1039 drivers/scsi/sym53c8xx_2/sym_glue.c uc->cmd = UC_SETVERBOSE; uc 1041 drivers/scsi/sym53c8xx_2/sym_glue.c uc->cmd = UC_SETWIDE; uc 1044 drivers/scsi/sym53c8xx_2/sym_glue.c uc->cmd = UC_SETDEBUG; uc 1047 drivers/scsi/sym53c8xx_2/sym_glue.c uc->cmd = UC_SETFLAG; uc 1049 drivers/scsi/sym53c8xx_2/sym_glue.c uc->cmd = UC_RESETDEV; uc 1051 drivers/scsi/sym53c8xx_2/sym_glue.c uc->cmd = UC_CLEARDEV; uc 1056 drivers/scsi/sym53c8xx_2/sym_glue.c printk("sym_user_command: arg_len=%d, cmd=%ld\n", arg_len, uc->cmd); uc 1063 drivers/scsi/sym53c8xx_2/sym_glue.c switch(uc->cmd) { uc 1073 drivers/scsi/sym53c8xx_2/sym_glue.c uc->target = ~0; uc 1076 drivers/scsi/sym53c8xx_2/sym_glue.c uc->target = (1<<target); uc 1084 drivers/scsi/sym53c8xx_2/sym_glue.c switch(uc->cmd) { uc 1090 drivers/scsi/sym53c8xx_2/sym_glue.c GET_INT_ARG(ptr, len, uc->data); uc 1092 drivers/scsi/sym53c8xx_2/sym_glue.c printk("sym_user_command: data=%ld\n", uc->data); uc 1100 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_ALLOC; uc 1102 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_PHASE; uc 1104 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_QUEUE; uc 1106 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_RESULT; uc 1108 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_SCATTER; uc 1110 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_SCRIPT; uc 1112 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_TINY; uc 1114 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_TIMING; uc 1116 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_NEGO; uc 1118 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_TAGS; uc 1120 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data |= DEBUG_POINTER; uc 1126 drivers/scsi/sym53c8xx_2/sym_glue.c printk("sym_user_command: data=%ld\n", uc->data); uc 1134 drivers/scsi/sym53c8xx_2/sym_glue.c uc->data &= ~SYM_DISC_ENABLED; uc 1150 drivers/scsi/sym53c8xx_2/sym_glue.c sym_exec_user_command(np, uc); uc 88 drivers/scsi/ufs/ufs_bsg.c struct uic_command uc = {}; uc 124 drivers/scsi/ufs/ufs_bsg.c memcpy(&uc, &bsg_request->upiu_req.uc, UIC_CMD_SIZE); uc 125 drivers/scsi/ufs/ufs_bsg.c ret = ufshcd_send_uic_cmd(hba, &uc); uc 130 drivers/scsi/ufs/ufs_bsg.c memcpy(&bsg_reply->upiu_rsp.uc, &uc, UIC_CMD_SIZE); uc 3238 drivers/scsi/ufs/ufshcd.c wchar_t uc[0]; uc 3307 drivers/scsi/ufs/ufshcd.c ret = utf16s_to_utf8s(uc_str->uc, uc 915 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct netdev_hw_addr_list *list = (is_uc) ? &netdev->uc : &netdev->mc; uc 2323 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c long rc = 0, uc = 0; uc 2335 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c uc = atomic_xchg(&arm_state->ka_use_count, 0); uc 2339 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c while (uc--) { uc 2574 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c int uc = service->service_use_count; uc 2577 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c for (i = 0; i < uc; i++) uc 379 drivers/tty/vt/vt.c static void vc_uniscr_putc(struct vc_data *vc, char32_t uc) uc 384 drivers/tty/vt/vt.c uniscr->lines[vc->vc_y][vc->vc_x] = uc; uc 612 drivers/tty/vt/vt.c char32_t uc = line[x]; uc 613 drivers/tty/vt/vt.c int tc = conv_uni_to_pc(vc, uc); uc 47 drivers/usb/gadget/composite.c struct usb_gadget_string_container *uc) uc 49 drivers/usb/gadget/composite.c return (struct usb_gadget_strings **)uc->stash; uc 1079 drivers/usb/gadget/composite.c struct usb_gadget_string_container *uc; uc 1112 drivers/usb/gadget/composite.c list_for_each_entry(uc, &cdev->gstrings, list) { uc 1115 drivers/usb/gadget/composite.c sp = get_containers_gs(uc); uc 1141 drivers/usb/gadget/composite.c list_for_each_entry(uc, &cdev->gstrings, list) { uc 1144 drivers/usb/gadget/composite.c sp = get_containers_gs(uc); uc 1239 drivers/usb/gadget/composite.c struct usb_gadget_string_container *uc; uc 1248 drivers/usb/gadget/composite.c mem = sizeof(*uc); uc 1252 drivers/usb/gadget/composite.c uc = kmalloc(mem, GFP_KERNEL); uc 1253 drivers/usb/gadget/composite.c if (!uc) uc 1255 drivers/usb/gadget/composite.c gs_array = get_containers_gs(uc); uc 1256 drivers/usb/gadget/composite.c stash = uc->stash; uc 1283 drivers/usb/gadget/composite.c return uc; uc 1306 drivers/usb/gadget/composite.c struct usb_gadget_string_container *uc; uc 1318 drivers/usb/gadget/composite.c uc = copy_gadget_strings(sp, n_gstrings, n_strings); uc 1319 drivers/usb/gadget/composite.c if (IS_ERR(uc)) uc 1320 drivers/usb/gadget/composite.c return ERR_CAST(uc); uc 1322 drivers/usb/gadget/composite.c n_gs = get_containers_gs(uc); uc 1340 drivers/usb/gadget/composite.c list_add_tail(&uc->list, &cdev->gstrings); uc 1343 drivers/usb/gadget/composite.c kfree(uc); uc 2172 drivers/usb/gadget/composite.c struct usb_gadget_string_container *uc, *tmp; uc 2175 drivers/usb/gadget/composite.c list_for_each_entry_safe(uc, tmp, &cdev->gstrings, list) { uc 2176 drivers/usb/gadget/composite.c list_del(&uc->list); uc 2177 drivers/usb/gadget/composite.c kfree(uc); uc 201 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_read(struct ucsi_ccg *uc, u16 rab, u8 *data, u32 len) uc 203 drivers/usb/typec/ucsi/ucsi_ccg.c struct i2c_client *client = uc->client; uc 226 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_get_sync(uc->dev); uc 234 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "i2c_transfer failed %d\n", status); uc 235 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_put_sync(uc->dev); uc 242 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_put_sync(uc->dev); uc 246 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_write(struct ucsi_ccg *uc, u16 rab, u8 *data, u32 len) uc 248 drivers/usb/typec/ucsi/ucsi_ccg.c struct i2c_client *client = uc->client; uc 268 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_get_sync(uc->dev); uc 271 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "i2c_transfer failed %d\n", status); uc 272 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_put_sync(uc->dev); uc 277 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_put_sync(uc->dev); uc 282 drivers/usb/typec/ucsi/ucsi_ccg.c static int ucsi_ccg_init(struct ucsi_ccg *uc) uc 289 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_write(uc, CCGX_RAB_UCSI_CONTROL, &data, sizeof(data)); uc 294 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_write(uc, CCGX_RAB_UCSI_CONTROL, &data, sizeof(data)); uc 303 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_read(uc, CCGX_RAB_INTR_REG, &data, sizeof(data)); uc 310 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_write(uc, CCGX_RAB_INTR_REG, &data, sizeof(data)); uc 320 drivers/usb/typec/ucsi/ucsi_ccg.c static int ucsi_ccg_send_data(struct ucsi_ccg *uc) uc 322 drivers/usb/typec/ucsi/ucsi_ccg.c u8 *ppm = (u8 *)uc->ppm.data; uc 327 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_write(uc, rab, ppm + uc 329 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->message_out)); uc 334 drivers/usb/typec/ucsi/ucsi_ccg.c return ccg_write(uc, rab, ppm + offsetof(struct ucsi_data, ctrl), uc 335 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->ctrl)); uc 338 drivers/usb/typec/ucsi/ucsi_ccg.c static int ucsi_ccg_recv_data(struct ucsi_ccg *uc) uc 340 drivers/usb/typec/ucsi/ucsi_ccg.c u8 *ppm = (u8 *)uc->ppm.data; uc 345 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_read(uc, rab, ppm + offsetof(struct ucsi_data, cci), uc 346 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->cci)); uc 351 drivers/usb/typec/ucsi/ucsi_ccg.c return ccg_read(uc, rab, ppm + offsetof(struct ucsi_data, message_in), uc 352 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->message_in)); uc 355 drivers/usb/typec/ucsi/ucsi_ccg.c static int ucsi_ccg_ack_interrupt(struct ucsi_ccg *uc) uc 360 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_read(uc, CCGX_RAB_INTR_REG, &data, sizeof(data)); uc 364 drivers/usb/typec/ucsi/ucsi_ccg.c return ccg_write(uc, CCGX_RAB_INTR_REG, &data, sizeof(data)); uc 369 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = container_of(ppm, struct ucsi_ccg, ppm); uc 372 drivers/usb/typec/ucsi/ucsi_ccg.c status = ucsi_ccg_recv_data(uc); uc 377 drivers/usb/typec/ucsi/ucsi_ccg.c return ucsi_ccg_ack_interrupt(uc); uc 382 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = container_of(ppm, struct ucsi_ccg, ppm); uc 385 drivers/usb/typec/ucsi/ucsi_ccg.c return ucsi_ccg_send_data(uc); uc 390 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = data; uc 392 drivers/usb/typec/ucsi/ucsi_ccg.c ucsi_notify(uc->ucsi); uc 399 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = container_of(pm_work, struct ucsi_ccg, pm_work); uc 401 drivers/usb/typec/ucsi/ucsi_ccg.c ucsi_notify(uc->ucsi); uc 404 drivers/usb/typec/ucsi/ucsi_ccg.c static int get_fw_info(struct ucsi_ccg *uc) uc 408 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_read(uc, CCGX_RAB_READ_ALL_VER, (u8 *)(&uc->version), uc 409 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->version)); uc 413 drivers/usb/typec/ucsi/ucsi_ccg.c uc->fw_version = CCG_VERSION(uc->version[FW2].app.ver) | uc 414 drivers/usb/typec/ucsi/ucsi_ccg.c CCG_VERSION_PATCH(uc->version[FW2].app.patch); uc 416 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_read(uc, CCGX_RAB_DEVICE_MODE, (u8 *)(&uc->info), uc 417 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->info)); uc 429 drivers/usb/typec/ucsi/ucsi_ccg.c static void ccg_process_response(struct ucsi_ccg *uc) uc 431 drivers/usb/typec/ucsi/ucsi_ccg.c struct device *dev = uc->dev; uc 433 drivers/usb/typec/ucsi/ucsi_ccg.c if (uc->dev_resp.code & ASYNC_EVENT) { uc 434 drivers/usb/typec/ucsi/ucsi_ccg.c if (uc->dev_resp.code == RESET_COMPLETE) { uc 435 drivers/usb/typec/ucsi/ucsi_ccg.c if (test_bit(RESET_PENDING, &uc->flags)) uc 436 drivers/usb/typec/ucsi/ucsi_ccg.c uc->cmd_resp = uc->dev_resp.code; uc 437 drivers/usb/typec/ucsi/ucsi_ccg.c get_fw_info(uc); uc 439 drivers/usb/typec/ucsi/ucsi_ccg.c if (invalid_async_evt(uc->dev_resp.code)) uc 441 drivers/usb/typec/ucsi/ucsi_ccg.c uc->dev_resp.code); uc 443 drivers/usb/typec/ucsi/ucsi_ccg.c if (test_bit(DEV_CMD_PENDING, &uc->flags)) { uc 444 drivers/usb/typec/ucsi/ucsi_ccg.c uc->cmd_resp = uc->dev_resp.code; uc 445 drivers/usb/typec/ucsi/ucsi_ccg.c clear_bit(DEV_CMD_PENDING, &uc->flags); uc 448 drivers/usb/typec/ucsi/ucsi_ccg.c uc->dev_resp.code); uc 453 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_read_response(struct ucsi_ccg *uc) uc 456 drivers/usb/typec/ucsi/ucsi_ccg.c struct device *dev = uc->dev; uc 462 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_read(uc, CCGX_RAB_INTR_REG, &intval, uc 477 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_read(uc, CCGX_RAB_RESPONSE, (u8 *)&uc->dev_resp, uc 478 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->dev_resp)); uc 482 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_write(uc, CCGX_RAB_INTR_REG, &intval, sizeof(intval)); uc 490 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_send_command(struct ucsi_ccg *uc, struct ccg_cmd *cmd) uc 492 drivers/usb/typec/ucsi/ucsi_ccg.c struct device *dev = uc->dev; uc 497 drivers/usb/typec/ucsi/ucsi_ccg.c set_bit(DEV_CMD_PENDING, &uc->flags); uc 504 drivers/usb/typec/ucsi/ucsi_ccg.c ret = ccg_write(uc, cmd->reg, (u8 *)&cmd->data, cmd->len); uc 510 drivers/usb/typec/ucsi/ucsi_ccg.c ret = ccg_read_response(uc); uc 515 drivers/usb/typec/ucsi/ucsi_ccg.c clear_bit(DEV_CMD_PENDING, &uc->flags); uc 523 drivers/usb/typec/ucsi/ucsi_ccg.c ccg_process_response(uc); uc 525 drivers/usb/typec/ucsi/ucsi_ccg.c return uc->cmd_resp; uc 528 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_cmd_enter_flashing(struct ucsi_ccg *uc) uc 538 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_lock(&uc->lock); uc 540 drivers/usb/typec/ucsi/ucsi_ccg.c ret = ccg_send_command(uc, &cmd); uc 542 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_unlock(&uc->lock); uc 545 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "enter flashing failed ret=%d\n", ret); uc 552 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_cmd_reset(struct ucsi_ccg *uc) uc 565 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_lock(&uc->lock); uc 567 drivers/usb/typec/ucsi/ucsi_ccg.c set_bit(RESET_PENDING, &uc->flags); uc 569 drivers/usb/typec/ucsi/ucsi_ccg.c ret = ccg_send_command(uc, &cmd); uc 576 drivers/usb/typec/ucsi/ucsi_ccg.c clear_bit(RESET_PENDING, &uc->flags); uc 578 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_unlock(&uc->lock); uc 583 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_cmd_port_control(struct ucsi_ccg *uc, bool enable) uc 590 drivers/usb/typec/ucsi/ucsi_ccg.c cmd.data = (uc->port_num == 1) ? uc 597 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_lock(&uc->lock); uc 599 drivers/usb/typec/ucsi/ucsi_ccg.c ret = ccg_send_command(uc, &cmd); uc 601 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_unlock(&uc->lock); uc 604 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "port control failed ret=%d\n", ret); uc 610 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_cmd_jump_boot_mode(struct ucsi_ccg *uc, int bl_mode) uc 625 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_lock(&uc->lock); uc 627 drivers/usb/typec/ucsi/ucsi_ccg.c set_bit(RESET_PENDING, &uc->flags); uc 629 drivers/usb/typec/ucsi/ucsi_ccg.c ret = ccg_send_command(uc, &cmd); uc 636 drivers/usb/typec/ucsi/ucsi_ccg.c clear_bit(RESET_PENDING, &uc->flags); uc 638 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_unlock(&uc->lock); uc 644 drivers/usb/typec/ucsi/ucsi_ccg.c ccg_cmd_write_flash_row(struct ucsi_ccg *uc, u16 row, uc 647 drivers/usb/typec/ucsi/ucsi_ccg.c struct i2c_client *client = uc->client; uc 658 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_lock(&uc->lock); uc 662 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "REG_FLASH_RW_MEM write fail %d\n", ret); uc 663 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_unlock(&uc->lock); uc 680 drivers/usb/typec/ucsi/ucsi_ccg.c ret = ccg_send_command(uc, &cmd); uc 682 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_unlock(&uc->lock); uc 685 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "write flash row failed ret=%d\n", ret); uc 692 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_cmd_validate_fw(struct ucsi_ccg *uc, unsigned int fwid) uc 702 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_lock(&uc->lock); uc 704 drivers/usb/typec/ucsi/ucsi_ccg.c ret = ccg_send_command(uc, &cmd); uc 706 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_unlock(&uc->lock); uc 714 drivers/usb/typec/ucsi/ucsi_ccg.c static bool ccg_check_vendor_version(struct ucsi_ccg *uc, uc 718 drivers/usb/typec/ucsi/ucsi_ccg.c struct device *dev = uc->dev; uc 721 drivers/usb/typec/ucsi/ucsi_ccg.c if (le16_to_cpu(app->build) != uc->fw_build) { uc 727 drivers/usb/typec/ucsi/ucsi_ccg.c if (le16_to_cpu(fw_cfg->app.build) != uc->fw_build) { uc 734 drivers/usb/typec/ucsi/ucsi_ccg.c static bool ccg_check_fw_version(struct ucsi_ccg *uc, const char *fw_name, uc 738 drivers/usb/typec/ucsi/ucsi_ccg.c struct device *dev = uc->dev; uc 771 drivers/usb/typec/ucsi/ucsi_ccg.c if (!ccg_check_vendor_version(uc, app, &fw_cfg)) uc 782 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_fw_update_needed(struct ucsi_ccg *uc, uc 785 drivers/usb/typec/ucsi/ucsi_ccg.c struct device *dev = uc->dev; uc 789 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_read(uc, CCGX_RAB_DEVICE_MODE, (u8 *)(&uc->info), uc 790 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->info)); uc 796 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_read(uc, CCGX_RAB_READ_ALL_VER, (u8 *)version, uc 816 drivers/usb/typec/ucsi/ucsi_ccg.c } else if (ccg_check_fw_version(uc, ccg_fw_names[PRIMARY], uc 827 drivers/usb/typec/ucsi/ucsi_ccg.c static int do_flash(struct ucsi_ccg *uc, enum enum_flash_mode mode) uc 829 drivers/usb/typec/ucsi/ucsi_ccg.c struct device *dev = uc->dev; uc 846 drivers/usb/typec/ucsi/ucsi_ccg.c if (((uc->info.mode & CCG_DEVINFO_FWMODE_MASK) >> uc 848 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_port_control(uc, false); uc 851 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_jump_boot_mode(uc, 0); uc 878 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_write_flash_row(uc, 0, (u8 *)&fw_cfg, uc 883 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_write_flash_row(uc, 0, (u8 *)&fw_cfg + CCG4_ROW_SIZE, uc 888 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_write_flash_row(uc, 0, &fw_cfg_sig, uc 900 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_enter_flashing(uc); uc 948 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_write_flash_row(uc, row, wr_buf + 4, uc 960 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_validate_fw(uc, (mode == PRIMARY) ? FW2 : FW1); uc 968 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_port_control(uc, false); uc 972 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_reset(uc); uc 976 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_cmd_port_control(uc, true); uc 994 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_fw_update(struct ucsi_ccg *uc, enum enum_flash_mode flash_mode) uc 999 drivers/usb/typec/ucsi/ucsi_ccg.c err = do_flash(uc, flash_mode); uc 1002 drivers/usb/typec/ucsi/ucsi_ccg.c err = ccg_fw_update_needed(uc, &flash_mode); uc 1006 drivers/usb/typec/ucsi/ucsi_ccg.c dev_info(uc->dev, "CCG FW update successful\n"); uc 1011 drivers/usb/typec/ucsi/ucsi_ccg.c static int ccg_restart(struct ucsi_ccg *uc) uc 1013 drivers/usb/typec/ucsi/ucsi_ccg.c struct device *dev = uc->dev; uc 1016 drivers/usb/typec/ucsi/ucsi_ccg.c status = ucsi_ccg_init(uc); uc 1022 drivers/usb/typec/ucsi/ucsi_ccg.c status = request_threaded_irq(uc->irq, NULL, ccg_irq_handler, uc 1024 drivers/usb/typec/ucsi/ucsi_ccg.c dev_name(dev), uc); uc 1030 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ucsi = ucsi_register_ppm(dev, &uc->ppm); uc 1031 drivers/usb/typec/ucsi/ucsi_ccg.c if (IS_ERR(uc->ucsi)) { uc 1032 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "ucsi_register_ppm failed\n"); uc 1033 drivers/usb/typec/ucsi/ucsi_ccg.c return PTR_ERR(uc->ucsi); uc 1041 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = container_of(work, struct ucsi_ccg, work); uc 1045 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_fw_update_needed(uc, &flash_mode); uc 1050 drivers/usb/typec/ucsi/ucsi_ccg.c ucsi_unregister_ppm(uc->ucsi); uc 1051 drivers/usb/typec/ucsi/ucsi_ccg.c free_irq(uc->irq, uc); uc 1053 drivers/usb/typec/ucsi/ucsi_ccg.c ccg_fw_update(uc, flash_mode); uc 1054 drivers/usb/typec/ucsi/ucsi_ccg.c ccg_restart(uc); uc 1062 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = i2c_get_clientdata(to_i2c_client(dev)); uc 1071 drivers/usb/typec/ucsi/ucsi_ccg.c if (uc->fw_build == 0x0) { uc 1076 drivers/usb/typec/ucsi/ucsi_ccg.c schedule_work(&uc->work); uc 1092 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc; uc 1096 drivers/usb/typec/ucsi/ucsi_ccg.c uc = devm_kzalloc(dev, sizeof(*uc), GFP_KERNEL); uc 1097 drivers/usb/typec/ucsi/ucsi_ccg.c if (!uc) uc 1100 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ppm.data = devm_kzalloc(dev, sizeof(struct ucsi_data), GFP_KERNEL); uc 1101 drivers/usb/typec/ucsi/ucsi_ccg.c if (!uc->ppm.data) uc 1104 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ppm.cmd = ucsi_ccg_cmd; uc 1105 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ppm.sync = ucsi_ccg_sync; uc 1106 drivers/usb/typec/ucsi/ucsi_ccg.c uc->dev = dev; uc 1107 drivers/usb/typec/ucsi/ucsi_ccg.c uc->client = client; uc 1108 drivers/usb/typec/ucsi/ucsi_ccg.c mutex_init(&uc->lock); uc 1109 drivers/usb/typec/ucsi/ucsi_ccg.c INIT_WORK(&uc->work, ccg_update_firmware); uc 1110 drivers/usb/typec/ucsi/ucsi_ccg.c INIT_WORK(&uc->pm_work, ccg_pm_workaround_work); uc 1114 drivers/usb/typec/ucsi/ucsi_ccg.c &uc->fw_build); uc 1116 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "failed to get FW build information\n"); uc 1119 drivers/usb/typec/ucsi/ucsi_ccg.c status = ucsi_ccg_init(uc); uc 1121 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "ucsi_ccg_init failed - %d\n", status); uc 1125 drivers/usb/typec/ucsi/ucsi_ccg.c status = get_fw_info(uc); uc 1127 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "get_fw_info failed - %d\n", status); uc 1131 drivers/usb/typec/ucsi/ucsi_ccg.c uc->port_num = 1; uc 1133 drivers/usb/typec/ucsi/ucsi_ccg.c if (uc->info.mode & CCG_DEVINFO_PDPORTS_MASK) uc 1134 drivers/usb/typec/ucsi/ucsi_ccg.c uc->port_num++; uc 1138 drivers/usb/typec/ucsi/ucsi_ccg.c dev_name(dev), uc); uc 1140 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "request_threaded_irq failed - %d\n", status); uc 1144 drivers/usb/typec/ucsi/ucsi_ccg.c uc->irq = client->irq; uc 1146 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ucsi = ucsi_register_ppm(dev, &uc->ppm); uc 1147 drivers/usb/typec/ucsi/ucsi_ccg.c if (IS_ERR(uc->ucsi)) { uc 1148 drivers/usb/typec/ucsi/ucsi_ccg.c dev_err(uc->dev, "ucsi_register_ppm failed\n"); uc 1149 drivers/usb/typec/ucsi/ucsi_ccg.c return PTR_ERR(uc->ucsi); uc 1153 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_read(uc, rab, (u8 *)(uc->ppm.data) + uc 1155 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->version)); uc 1157 drivers/usb/typec/ucsi/ucsi_ccg.c ucsi_unregister_ppm(uc->ucsi); uc 1161 drivers/usb/typec/ucsi/ucsi_ccg.c i2c_set_clientdata(client, uc); uc 1163 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_set_active(uc->dev); uc 1164 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_enable(uc->dev); uc 1165 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_use_autosuspend(uc->dev); uc 1166 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_set_autosuspend_delay(uc->dev, 5000); uc 1167 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_idle(uc->dev); uc 1174 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = i2c_get_clientdata(client); uc 1176 drivers/usb/typec/ucsi/ucsi_ccg.c cancel_work_sync(&uc->pm_work); uc 1177 drivers/usb/typec/ucsi/ucsi_ccg.c cancel_work_sync(&uc->work); uc 1178 drivers/usb/typec/ucsi/ucsi_ccg.c ucsi_unregister_ppm(uc->ucsi); uc 1179 drivers/usb/typec/ucsi/ucsi_ccg.c pm_runtime_disable(uc->dev); uc 1180 drivers/usb/typec/ucsi/ucsi_ccg.c free_irq(uc->irq, uc); uc 1194 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = i2c_get_clientdata(client); uc 1196 drivers/usb/typec/ucsi/ucsi_ccg.c return ucsi_resume(uc->ucsi); uc 1207 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = i2c_get_clientdata(client); uc 1214 drivers/usb/typec/ucsi/ucsi_ccg.c if (uc->fw_build == CCG_FW_BUILD_NVIDIA && uc 1215 drivers/usb/typec/ucsi/ucsi_ccg.c uc->fw_version <= CCG_OLD_FW_VERSION) uc 1216 drivers/usb/typec/ucsi/ucsi_ccg.c schedule_work(&uc->pm_work); uc 136 fs/cifs/cifs_unicode.h UniStrchr(const wchar_t *ucs, wchar_t uc) uc 138 fs/cifs/cifs_unicode.h while ((*ucs != uc) && *ucs) uc 141 fs/cifs/cifs_unicode.h if (*ucs == uc) uc 324 fs/cifs/cifs_unicode.h UniToupper(register wchar_t uc) uc 328 fs/cifs/cifs_unicode.h if (uc < sizeof(CifsUniUpperTable)) { uc 330 fs/cifs/cifs_unicode.h return uc + CifsUniUpperTable[uc]; /* Use base tables */ uc 334 fs/cifs/cifs_unicode.h if (uc < rp->start) /* Before start of range */ uc 335 fs/cifs/cifs_unicode.h return uc; /* Uppercase = input */ uc 336 fs/cifs/cifs_unicode.h if (uc <= rp->end) /* In range */ uc 337 fs/cifs/cifs_unicode.h return uc + rp->table[uc - rp->start]; uc 341 fs/cifs/cifs_unicode.h return uc; /* Past last range */ uc 366 fs/cifs/cifs_unicode.h UniTolower(register wchar_t uc) uc 370 fs/cifs/cifs_unicode.h if (uc < sizeof(CifsUniLowerTable)) { uc 372 fs/cifs/cifs_unicode.h return uc + CifsUniLowerTable[uc]; /* Use base tables */ uc 376 fs/cifs/cifs_unicode.h if (uc < rp->start) /* Before start of range */ uc 377 fs/cifs/cifs_unicode.h return uc; /* Uppercase = input */ uc 378 fs/cifs/cifs_unicode.h if (uc <= rp->end) /* In range */ uc 379 fs/cifs/cifs_unicode.h return uc + rp->table[uc - rp->start]; uc 383 fs/cifs/cifs_unicode.h return uc; /* Past last range */ uc 534 fs/fat/namei_vfat.c u8 uc[2]; uc 539 fs/fat/namei_vfat.c if (hex2bin(uc, ip + 1, 2) < 0) uc 542 fs/fat/namei_vfat.c *(wchar_t *)op = uc[0] << 8 | uc[1]; uc 257 fs/hfsplus/unicode.c wchar_t *uc) uc 259 fs/hfsplus/unicode.c int size = HFSPLUS_SB(sb)->nls->char2uni(astr, len, uc); uc 261 fs/hfsplus/unicode.c *uc = '?'; uc 264 fs/hfsplus/unicode.c switch (*uc) { uc 266 fs/hfsplus/unicode.c *uc = 0; uc 269 fs/hfsplus/unicode.c *uc = '/'; uc 276 fs/hfsplus/unicode.c static u16 *hfsplus_decompose_nonhangul(wchar_t uc, int *size) uc 280 fs/hfsplus/unicode.c off = hfsplus_decompose_table[(uc >> 12) & 0xf]; uc 284 fs/hfsplus/unicode.c off = hfsplus_decompose_table[off + ((uc >> 8) & 0xf)]; uc 288 fs/hfsplus/unicode.c off = hfsplus_decompose_table[off + ((uc >> 4) & 0xf)]; uc 292 fs/hfsplus/unicode.c off = hfsplus_decompose_table[off + (uc & 0xf)]; uc 309 fs/hfsplus/unicode.c static int hfsplus_try_decompose_hangul(wchar_t uc, u16 *result) uc 314 fs/hfsplus/unicode.c index = uc - Hangul_SBase; uc 332 fs/hfsplus/unicode.c static u16 *decompose_unichar(wchar_t uc, int *size, u16 *hangul_buffer) uc 338 fs/hfsplus/unicode.c *size = hfsplus_try_decompose_hangul(uc, result); uc 340 fs/hfsplus/unicode.c result = hfsplus_decompose_nonhangul(uc, size); uc 108 fs/jfs/jfs_unicode.h static inline wchar_t UniToupper(wchar_t uc) uc 112 fs/jfs/jfs_unicode.h if (uc < sizeof(UniUpperTable)) { /* Latin characters */ uc 113 fs/jfs/jfs_unicode.h return uc + UniUpperTable[uc]; /* Use base tables */ uc 117 fs/jfs/jfs_unicode.h if (uc < rp->start) /* Before start of range */ uc 118 fs/jfs/jfs_unicode.h return uc; /* Uppercase = input */ uc 119 fs/jfs/jfs_unicode.h if (uc <= rp->end) /* In range */ uc 120 fs/jfs/jfs_unicode.h return uc + rp->table[uc - rp->start]; uc 124 fs/jfs/jfs_unicode.h return uc; /* Past last range */ uc 55 fs/ntfs/upcase.c ntfschar *uc; uc 57 fs/ntfs/upcase.c uc = ntfs_malloc_nofs(default_upcase_len * sizeof(ntfschar)); uc 58 fs/ntfs/upcase.c if (!uc) uc 59 fs/ntfs/upcase.c return uc; uc 60 fs/ntfs/upcase.c memset(uc, 0, default_upcase_len * sizeof(ntfschar)); uc 63 fs/ntfs/upcase.c uc[i] = cpu_to_le16(i); uc 66 fs/ntfs/upcase.c le16_add_cpu(&uc[i], uc_run_table[r][2]); uc 69 fs/ntfs/upcase.c le16_add_cpu(&uc[i + 1], -1); uc 71 fs/ntfs/upcase.c uc[uc_word_table[r][0]] = cpu_to_le16(uc_word_table[r][1]); uc 72 fs/ntfs/upcase.c return uc; uc 104 fs/unicode/utf8-norm.c unsigned int uc; uc 106 fs/unicode/utf8-norm.c uc = *str++ & 0x0F; uc 107 fs/unicode/utf8-norm.c uc <<= 6; uc 108 fs/unicode/utf8-norm.c uc |= *str++ & 0x3F; uc 109 fs/unicode/utf8-norm.c uc <<= 6; uc 110 fs/unicode/utf8-norm.c uc |= *str++ & 0x3F; uc 112 fs/unicode/utf8-norm.c return uc; uc 1318 include/linux/mlx5/mlx5_ifc.h u8 uc[0x1]; uc 74 include/linux/mlx5/mlx5_ifc_fpga.h u8 uc[0x1]; uc 229 include/linux/netdevice.h #define netdev_uc_count(dev) netdev_hw_addr_list_count(&(dev)->uc) uc 230 include/linux/netdevice.h #define netdev_uc_empty(dev) netdev_hw_addr_list_empty(&(dev)->uc) uc 232 include/linux/netdevice.h netdev_hw_addr_list_for_each(ha, &(dev)->uc) uc 1899 include/linux/netdevice.h struct netdev_hw_addr_list uc; uc 4165 include/linux/netdevice.h return __hw_addr_sync_dev(&dev->uc, dev, sync, unsync); uc 4179 include/linux/netdevice.h __hw_addr_unsync_dev(&dev->uc, dev, unsync); uc 113 include/linux/uprobes.h extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); uc 114 include/linux/uprobes.h extern int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc); uc 115 include/linux/uprobes.h extern int uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool); uc 116 include/linux/uprobes.h extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc); uc 152 include/linux/uprobes.h uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) uc 156 include/linux/uprobes.h static inline int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *uc) uc 161 include/linux/uprobes.h uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool add) uc 166 include/linux/uprobes.h uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) uc 16 include/net/firewire.h } __packed uc; uc 79 include/uapi/scsi/scsi_bsg_ufs.h struct utp_upiu_query uc; uc 766 kernel/events/uprobes.c static void consumer_add(struct uprobe *uprobe, struct uprobe_consumer *uc) uc 769 kernel/events/uprobes.c uc->next = uprobe->consumers; uc 770 kernel/events/uprobes.c uprobe->consumers = uc; uc 779 kernel/events/uprobes.c static bool consumer_del(struct uprobe *uprobe, struct uprobe_consumer *uc) uc 786 kernel/events/uprobes.c if (*con == uc) { uc 787 kernel/events/uprobes.c *con = uc->next; uc 879 kernel/events/uprobes.c static inline bool consumer_filter(struct uprobe_consumer *uc, uc 882 kernel/events/uprobes.c return !uc->filter || uc->filter(uc, ctx, mm); uc 888 kernel/events/uprobes.c struct uprobe_consumer *uc; uc 892 kernel/events/uprobes.c for (uc = uprobe->consumers; uc; uc = uc->next) { uc 893 kernel/events/uprobes.c ret = consumer_filter(uc, ctx, mm); uc 1096 kernel/events/uprobes.c __uprobe_unregister(struct uprobe *uprobe, struct uprobe_consumer *uc) uc 1100 kernel/events/uprobes.c if (WARN_ON(!consumer_del(uprobe, uc))) uc 1115 kernel/events/uprobes.c void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) uc 1124 kernel/events/uprobes.c __uprobe_unregister(uprobe, uc); uc 1149 kernel/events/uprobes.c loff_t ref_ctr_offset, struct uprobe_consumer *uc) uc 1155 kernel/events/uprobes.c if (!uc->handler && !uc->ret_handler) uc 1188 kernel/events/uprobes.c consumer_add(uprobe, uc); uc 1189 kernel/events/uprobes.c ret = register_for_each_vma(uprobe, uc); uc 1191 kernel/events/uprobes.c __uprobe_unregister(uprobe, uc); uc 1202 kernel/events/uprobes.c struct uprobe_consumer *uc) uc 1204 kernel/events/uprobes.c return __uprobe_register(inode, offset, 0, uc); uc 1209 kernel/events/uprobes.c loff_t ref_ctr_offset, struct uprobe_consumer *uc) uc 1211 kernel/events/uprobes.c return __uprobe_register(inode, offset, ref_ctr_offset, uc); uc 1223 kernel/events/uprobes.c struct uprobe_consumer *uc, bool add) uc 1234 kernel/events/uprobes.c for (con = uprobe->consumers; con && con != uc ; con = con->next) uc 1237 kernel/events/uprobes.c ret = register_for_each_vma(uprobe, add ? uc : NULL); uc 2081 kernel/events/uprobes.c struct uprobe_consumer *uc; uc 2086 kernel/events/uprobes.c for (uc = uprobe->consumers; uc; uc = uc->next) { uc 2089 kernel/events/uprobes.c if (uc->handler) { uc 2090 kernel/events/uprobes.c rc = uc->handler(uc, regs); uc 2092 kernel/events/uprobes.c "bad rc=0x%x from %ps()\n", rc, uc->handler); uc 2095 kernel/events/uprobes.c if (uc->ret_handler) uc 2115 kernel/events/uprobes.c struct uprobe_consumer *uc; uc 2118 kernel/events/uprobes.c for (uc = uprobe->consumers; uc; uc = uc->next) { uc 2119 kernel/events/uprobes.c if (uc->ret_handler) uc 2120 kernel/events/uprobes.c uc->ret_handler(uc, ri->func, regs); uc 1308 kernel/trace/trace_uprobe.c static bool uprobe_perf_filter(struct uprobe_consumer *uc, uc 1315 kernel/trace/trace_uprobe.c tu = container_of(uc, struct trace_uprobe, consumer); uc 163 lib/decompress_bunzip2.c unsigned char uc, *symToByte, *mtfSymbol, *selectors; uc 225 lib/decompress_bunzip2.c uc = mtfSymbol[j]; uc 228 lib/decompress_bunzip2.c mtfSymbol[0] = selectors[i] = uc; uc 444 lib/decompress_bunzip2.c uc = symToByte[mtfSymbol[0]]; uc 445 lib/decompress_bunzip2.c byteCount[uc] += t; uc 447 lib/decompress_bunzip2.c dbuf[dbufCount++] = uc; uc 464 lib/decompress_bunzip2.c uc = mtfSymbol[i]; uc 473 lib/decompress_bunzip2.c mtfSymbol[0] = uc; uc 474 lib/decompress_bunzip2.c uc = symToByte[uc]; uc 476 lib/decompress_bunzip2.c byteCount[uc]++; uc 477 lib/decompress_bunzip2.c dbuf[dbufCount++] = (unsigned int)uc; uc 495 lib/decompress_bunzip2.c uc = (unsigned char)(dbuf[i] & 0xff); uc 496 lib/decompress_bunzip2.c dbuf[byteCount[uc]] |= (i << 8); uc 497 lib/decompress_bunzip2.c byteCount[uc]++; uc 1634 lib/vsprintf.c bool uc = false; uc 1641 lib/vsprintf.c uc = true; /* fall-through */ uc 1646 lib/vsprintf.c uc = true; uc 1651 lib/vsprintf.c if (uc) uc 559 net/core/dev_addr_lists.c list_for_each_entry(ha, &dev->uc.list, list) { uc 566 net/core/dev_addr_lists.c err = __hw_addr_create_ex(&dev->uc, addr, dev->addr_len, uc 589 net/core/dev_addr_lists.c err = __hw_addr_add(&dev->uc, addr, dev->addr_len, uc 611 net/core/dev_addr_lists.c err = __hw_addr_del(&dev->uc, addr, dev->addr_len, uc 641 net/core/dev_addr_lists.c err = __hw_addr_sync(&to->uc, &from->uc, to->addr_len); uc 671 net/core/dev_addr_lists.c err = __hw_addr_sync_multiple(&to->uc, &from->uc, to->addr_len); uc 695 net/core/dev_addr_lists.c __hw_addr_unsync(&to->uc, &from->uc, to->addr_len); uc 711 net/core/dev_addr_lists.c __hw_addr_flush(&dev->uc); uc 724 net/core/dev_addr_lists.c __hw_addr_init(&dev->uc); uc 3924 net/core/rtnetlink.c err = nlmsg_populate_fdb(skb, cb, dev, idx, &dev->uc); uc 1004 net/ipv4/ipmr.c struct mfc_cache *uc, struct mfc_cache *c) uc 1010 net/ipv4/ipmr.c while ((skb = __skb_dequeue(&uc->_c.mfc_un.unres.unresolved))) { uc 1216 net/ipv4/ipmr.c struct mfc_cache *uc, *c; uc 1271 net/ipv4/ipmr.c uc = (struct mfc_cache *)_uc; uc 1272 net/ipv4/ipmr.c if (uc->mfc_origin == c->mfc_origin && uc 1273 net/ipv4/ipmr.c uc->mfc_mcastgrp == c->mfc_mcastgrp) { uc 1285 net/ipv4/ipmr.c ipmr_cache_resolve(net, mrt, uc, c); uc 1286 net/ipv4/ipmr.c ipmr_cache_free(uc); uc 2221 net/ipv6/addrconf.c memcpy(eui, &ha->uc.uniq_id, sizeof(ha->uc.uniq_id)); uc 1001 net/ipv6/ip6mr.c struct mfc6_cache *uc, struct mfc6_cache *c) uc 1009 net/ipv6/ip6mr.c while ((skb = __skb_dequeue(&uc->_c.mfc_un.unres.unresolved))) { uc 1405 net/ipv6/ip6mr.c struct mfc6_cache *uc, *c; uc 1467 net/ipv6/ip6mr.c uc = (struct mfc6_cache *)_uc; uc 1468 net/ipv6/ip6mr.c if (ipv6_addr_equal(&uc->mf6c_origin, &c->mf6c_origin) && uc 1469 net/ipv6/ip6mr.c ipv6_addr_equal(&uc->mf6c_mcastgrp, &c->mf6c_mcastgrp)) { uc 1481 net/ipv6/ip6mr.c ip6mr_cache_resolve(net, mrt, uc, c); uc 1482 net/ipv6/ip6mr.c ip6mr_cache_free(uc); uc 311 net/mac80211/tdls.c struct cfg80211_chan_def uc = sta->tdls_chandef; uc 323 net/mac80211/tdls.c if (uc.width >= max_width) uc 332 net/mac80211/tdls.c if (abs(uc.chan->center_freq - centers_80mhz[i]) <= 30) { uc 333 net/mac80211/tdls.c uc.center_freq1 = centers_80mhz[i]; uc 334 net/mac80211/tdls.c uc.center_freq2 = 0; uc 335 net/mac80211/tdls.c uc.width = NL80211_CHAN_WIDTH_80; uc 339 net/mac80211/tdls.c if (!uc.center_freq1) uc 343 net/mac80211/tdls.c while (uc.width > max_width || uc 344 net/mac80211/tdls.c (uc.width > sta->tdls_chandef.width && uc 345 net/mac80211/tdls.c !cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &uc, uc 347 net/mac80211/tdls.c ieee80211_chandef_downgrade(&uc); uc 349 net/mac80211/tdls.c if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) { uc 351 net/mac80211/tdls.c sta->tdls_chandef.width, uc.width); uc 357 net/mac80211/tdls.c sta->tdls_chandef = uc; uc 445 sound/pci/ice1712/se.c struct snd_ctl_elem_value *uc) uc 450 sound/pci/ice1712/se.c uc->value.integer.value[0] = spec->vol[n].ch1; uc 451 sound/pci/ice1712/se.c uc->value.integer.value[1] = spec->vol[n].ch2; uc 456 sound/pci/ice1712/se.c struct snd_ctl_elem_value *uc) uc 461 sound/pci/ice1712/se.c uc->value.integer.value[0] = spec->vol[n].ch1; uc 466 sound/pci/ice1712/se.c struct snd_ctl_elem_value *uc) uc 471 sound/pci/ice1712/se.c uc->value.enumerated.item[0] = spec->vol[n].ch1; uc 517 sound/pci/ice1712/se.c struct snd_ctl_elem_value *uc) uc 526 sound/pci/ice1712/se.c vol1 = uc->value.integer.value[0] & 0xff; uc 527 sound/pci/ice1712/se.c vol2 = uc->value.integer.value[1] & 0xff; uc 543 sound/pci/ice1712/se.c struct snd_ctl_elem_value *uc) uc 550 sound/pci/ice1712/se.c vol1 = !!uc->value.integer.value[0]; uc 560 sound/pci/ice1712/se.c struct snd_ctl_elem_value *uc) uc 567 sound/pci/ice1712/se.c vol1 = uc->value.enumerated.item[0]; uc 396 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *uc) uc 411 sound/soc/img/img-spdif-in.c uc->value.integer.value[0] = spdif->multi_freqs[i]; uc 413 sound/soc/img/img-spdif-in.c uc->value.integer.value[0] = spdif->single_freq; uc 416 sound/soc/img/img-spdif-in.c uc->value.integer.value[0] = 0; uc 384 sound/soc/intel/atom/sst-mfld-dsp.h union snd_sst_codec_params uc; uc 118 sound/soc/intel/atom/sst-mfld-platform-compress.c str_params.sparams.uc.mp3_params.num_chan = params->codec.ch_in; uc 119 sound/soc/intel/atom/sst-mfld-platform-compress.c str_params.sparams.uc.mp3_params.pcm_wd_sz = 16; uc 125 sound/soc/intel/atom/sst-mfld-platform-compress.c str_params.sparams.uc.aac_params.num_chan = params->codec.ch_in; uc 126 sound/soc/intel/atom/sst-mfld-platform-compress.c str_params.sparams.uc.aac_params.pcm_wd_sz = 16; uc 128 sound/soc/intel/atom/sst-mfld-platform-compress.c str_params.sparams.uc.aac_params.bs_format = uc 131 sound/soc/intel/atom/sst-mfld-platform-compress.c str_params.sparams.uc.aac_params.bs_format = uc 137 sound/soc/intel/atom/sst-mfld-platform-compress.c str_params.sparams.uc.aac_params.externalsr = uc 145 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.num_chan = (u8) substream->runtime->channels; uc 146 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; uc 147 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.sfreq = substream->runtime->rate; uc 150 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.use_offload_path = 0; uc 151 sound/soc/intel/atom/sst-mfld-platform-pcm.c param->uc.pcm_params.reserved2 = 0; uc 152 sound/soc/intel/atom/sst-mfld-platform-pcm.c memset(param->uc.pcm_params.channel_map, 0, sizeof(u8)); uc 83 sound/soc/intel/atom/sst/sst_drv_interface.c return str_param->sparams.uc.pcm_params.sfreq; uc 85 sound/soc/intel/atom/sst/sst_drv_interface.c return str_param->sparams.uc.aac_params.externalsr; uc 102 sound/soc/intel/atom/sst/sst_drv_interface.c return str_param->sparams.uc.pcm_params.num_chan; uc 104 sound/soc/intel/atom/sst/sst_drv_interface.c return str_param->sparams.uc.mp3_params.num_chan; uc 106 sound/soc/intel/atom/sst/sst_drv_interface.c return str_param->sparams.uc.aac_params.num_chan; uc 64 sound/soc/intel/atom/sst/sst_stream.c pcm_params = &str_info->alloc_param.codec_params.uc.pcm_params; uc 1504 sound/soc/sh/rcar/core.c struct snd_ctl_elem_value *uc) uc 1511 sound/soc/sh/rcar/core.c uc->value.enumerated.item[i] = cfg->val[i]; uc 1513 sound/soc/sh/rcar/core.c uc->value.integer.value[i] = cfg->val[i]; uc 1519 sound/soc/sh/rcar/core.c struct snd_ctl_elem_value *uc) uc 1529 sound/soc/sh/rcar/core.c change |= (uc->value.enumerated.item[i] != cfg->val[i]); uc 1530 sound/soc/sh/rcar/core.c cfg->val[i] = uc->value.enumerated.item[i]; uc 1532 sound/soc/sh/rcar/core.c change |= (uc->value.integer.value[i] != cfg->val[i]); uc 1533 sound/soc/sh/rcar/core.c cfg->val[i] = uc->value.integer.value[i]; uc 402 sound/soc/ti/omap-mcbsp-st.c struct snd_ctl_elem_value *uc) \ uc 410 sound/soc/ti/omap-mcbsp-st.c int val = uc->value.integer.value[0]; \ uc 421 sound/soc/ti/omap-mcbsp-st.c struct snd_ctl_elem_value *uc) \ uc 430 sound/soc/ti/omap-mcbsp-st.c uc->value.integer.value[0] = chgain; \ uc 90 tools/perf/arch/x86/tests/rdpmc.c void *uc __maybe_unused) uc 93 tools/perf/bench/epoll-ctl.c void *uc __maybe_unused) uc 275 tools/perf/bench/epoll-wait.c void *uc __maybe_unused) uc 102 tools/perf/bench/futex-hash.c void *uc __maybe_unused) uc 72 tools/perf/bench/futex-lock-pi.c void *uc __maybe_unused) uc 110 tools/perf/bench/futex-requeue.c void *uc __maybe_unused) uc 216 tools/perf/bench/futex-wake-parallel.c void *uc __maybe_unused) uc 116 tools/perf/bench/futex-wake.c void *uc __maybe_unused) uc 68 tools/perf/tests/bp_signal.c void *uc __maybe_unused) uc 80 tools/perf/tests/bp_signal.c void *uc __maybe_unused) uc 40 tools/perf/tests/bp_signal_overflow.c void *uc __maybe_unused) uc 198 tools/testing/selftests/kvm/include/kvm_util.h uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc); uc 76 tools/testing/selftests/kvm/lib/aarch64/ucall.c struct ucall uc = { uc 86 tools/testing/selftests/kvm/lib/aarch64/ucall.c uc.args[i] = va_arg(va, uint64_t); uc 89 tools/testing/selftests/kvm/lib/aarch64/ucall.c *ucall_exit_mmio_addr = (vm_vaddr_t)&uc; uc 92 tools/testing/selftests/kvm/lib/aarch64/ucall.c uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) uc 107 tools/testing/selftests/kvm/lib/aarch64/ucall.c if (uc) uc 108 tools/testing/selftests/kvm/lib/aarch64/ucall.c memcpy(uc, &ucall, sizeof(ucall)); uc 19 tools/testing/selftests/kvm/lib/s390x/ucall.c struct ucall uc = { uc 29 tools/testing/selftests/kvm/lib/s390x/ucall.c uc.args[i] = va_arg(va, uint64_t); uc 33 tools/testing/selftests/kvm/lib/s390x/ucall.c asm volatile ("diag 0,%0,0x501" : : "a"(&uc) : "memory"); uc 36 tools/testing/selftests/kvm/lib/s390x/ucall.c uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) uc 51 tools/testing/selftests/kvm/lib/s390x/ucall.c if (uc) uc 52 tools/testing/selftests/kvm/lib/s390x/ucall.c memcpy(uc, &ucall, sizeof(ucall)); uc 21 tools/testing/selftests/kvm/lib/x86_64/ucall.c struct ucall uc = { uc 31 tools/testing/selftests/kvm/lib/x86_64/ucall.c uc.args[i] = va_arg(va, uint64_t); uc 35 tools/testing/selftests/kvm/lib/x86_64/ucall.c : : [port] "d" (UCALL_PIO_PORT), "D" (&uc) : "rax", "memory"); uc 38 tools/testing/selftests/kvm/lib/x86_64/ucall.c uint64_t get_ucall(struct kvm_vm *vm, uint32_t vcpu_id, struct ucall *uc) uc 51 tools/testing/selftests/kvm/lib/x86_64/ucall.c if (uc) uc 52 tools/testing/selftests/kvm/lib/x86_64/ucall.c memcpy(uc, &ucall, sizeof(ucall)); uc 70 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c struct ucall uc; uc 96 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c switch (get_ucall(vm, VCPU_ID, &uc)) { uc 109 tools/testing/selftests/kvm/x86_64/cr4_cpuid_sync_test.c TEST_ASSERT(false, "Unknown ucall 0x%x.", uc.cmd); uc 80 tools/testing/selftests/kvm/x86_64/evmcs_test.c struct ucall uc; uc 110 tools/testing/selftests/kvm/x86_64/evmcs_test.c switch (get_ucall(vm, VCPU_ID, &uc)) { uc 112 tools/testing/selftests/kvm/x86_64/evmcs_test.c TEST_ASSERT(false, "%s at %s:%d", (const char *)uc.args[0], uc 113 tools/testing/selftests/kvm/x86_64/evmcs_test.c __FILE__, uc.args[1]); uc 120 tools/testing/selftests/kvm/x86_64/evmcs_test.c TEST_ASSERT(false, "Unknown ucall 0x%x.", uc.cmd); uc 124 tools/testing/selftests/kvm/x86_64/evmcs_test.c TEST_ASSERT(!strcmp((const char *)uc.args[0], "hello") && uc 125 tools/testing/selftests/kvm/x86_64/evmcs_test.c uc.args[1] == stage, "Unexpected register values vmexit #%lx, got %lx", uc 126 tools/testing/selftests/kvm/x86_64/evmcs_test.c stage, (ulong)uc.args[1]); uc 51 tools/testing/selftests/kvm/x86_64/platform_info_test.c struct ucall uc; uc 59 tools/testing/selftests/kvm/x86_64/platform_info_test.c get_ucall(vm, VCPU_ID, &uc); uc 60 tools/testing/selftests/kvm/x86_64/platform_info_test.c TEST_ASSERT(uc.cmd == UCALL_SYNC, uc 63 tools/testing/selftests/kvm/x86_64/platform_info_test.c TEST_ASSERT((uc.args[1] & MSR_PLATFORM_INFO_MAX_TURBO_RATIO) == uc 128 tools/testing/selftests/kvm/x86_64/state_test.c struct ucall uc; uc 153 tools/testing/selftests/kvm/x86_64/state_test.c switch (get_ucall(vm, VCPU_ID, &uc)) { uc 155 tools/testing/selftests/kvm/x86_64/state_test.c TEST_ASSERT(false, "%s at %s:%d", (const char *)uc.args[0], uc 156 tools/testing/selftests/kvm/x86_64/state_test.c __FILE__, uc.args[1]); uc 163 tools/testing/selftests/kvm/x86_64/state_test.c TEST_ASSERT(false, "Unknown ucall 0x%x.", uc.cmd); uc 167 tools/testing/selftests/kvm/x86_64/state_test.c TEST_ASSERT(!strcmp((const char *)uc.args[0], "hello") && uc 168 tools/testing/selftests/kvm/x86_64/state_test.c uc.args[1] == stage, "Unexpected register values vmexit #%lx, got %lx", uc 169 tools/testing/selftests/kvm/x86_64/state_test.c stage, (ulong)uc.args[1]); uc 68 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c struct ucall uc; uc 79 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c switch (get_ucall(vm, VCPU_ID, &uc)) { uc 81 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c TEST_ASSERT(false, "%s", (const char *)uc.args[0]); uc 84 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c TEST_ASSERT(false, "Unknown ucall 0x%x.", uc.cmd); uc 78 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c struct ucall uc; uc 127 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c switch (get_ucall(vm, VCPU_ID, &uc)) { uc 129 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c TEST_ASSERT(false, "%s at %s:%d", (const char *)uc.args[0], uc 130 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c __FILE__, uc.args[1]); uc 138 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c if (uc.args[1]) { uc 155 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c TEST_ASSERT(false, "Unknown ucall 0x%x.", uc.cmd); uc 143 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c struct ucall uc; uc 151 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c switch (get_ucall(vm, VCPU_ID, &uc)) { uc 153 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c TEST_ASSERT(false, "%s", (const char *)uc.args[0]); uc 156 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c report(uc.args[1]); uc 161 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c TEST_ASSERT(false, "Unknown ucall 0x%x.", uc.cmd); uc 23 tools/testing/selftests/powerpc/copyloops/exc_validate.c ucontext_t *uc = (ucontext_t *)ptr; uc 25 tools/testing/selftests/powerpc/copyloops/exc_validate.c unsigned long *ip = &UCONTEXT_NIA(uc); uc 43 tools/testing/selftests/powerpc/math/fpu_signal.c ucontext_t *uc = context; uc 44 tools/testing/selftests/powerpc/math/fpu_signal.c mcontext_t *mc = &uc->uc_mcontext; uc 46 tools/testing/selftests/powerpc/math/vmx_signal.c ucontext_t *uc = context; uc 47 tools/testing/selftests/powerpc/math/vmx_signal.c mcontext_t *mc = &uc->uc_mcontext; uc 71 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c ucontext_t *uc = (ucontext_t *)ptr; uc 73 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c unsigned long *ip = &UCONTEXT_NIA(uc); uc 89 tools/testing/selftests/powerpc/signal/sigfuz.c static void trap_signal_handler(int signo, siginfo_t *si, void *uc) uc 91 tools/testing/selftests/powerpc/signal/sigfuz.c ucontext_t *ucp = uc; uc 104 tools/testing/selftests/powerpc/signal/sigfuz.c memcpy(ucp->uc_link, uc, sizeof(ucontext_t)); uc 193 tools/testing/selftests/powerpc/signal/sigfuz.c static void seg_signal_handler(int signo, siginfo_t *si, void *uc) uc 47 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c static void signal_usr1(int signum, siginfo_t *info, void *uc) uc 50 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-fpu.c ucontext_t *ucp = uc; uc 49 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c static void signal_usr1(int signum, siginfo_t *info, void *uc) uc 52 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-gpr.c ucontext_t *ucp = uc; uc 56 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c static void signal_usr1(int signum, siginfo_t *info, void *uc) uc 59 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vmx.c ucontext_t *ucp = uc; uc 57 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c static void signal_usr1(int signum, siginfo_t *info, void *uc) uc 62 tools/testing/selftests/powerpc/tm/tm-signal-context-chk-vsx.c ucontext_t *ucp = uc; uc 49 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c void usr_signal_handler(int signo, siginfo_t *si, void *uc) uc 51 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c ucontext_t *ucp = uc; uc 99 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c void seg_signal_handler(int signo, siginfo_t *si, void *uc) uc 33 tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c void signal_usr1(int signum, siginfo_t *info, void *uc) uc 35 tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c ucontext_t *ucp = uc; uc 20 tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt.c void trap_signal_handler(int signo, siginfo_t *si, void *uc) uc 22 tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt.c ucontext_t *ucp = (ucontext_t *) uc; uc 61 tools/testing/selftests/powerpc/tm/tm-trap.c void trap_signal_handler(int signo, siginfo_t *si, void *uc) uc 63 tools/testing/selftests/powerpc/tm/tm-trap.c ucontext_t *ucp = uc; uc 28 tools/testing/selftests/sigaltstack/sas.c static ucontext_t uc, sc; uc 71 tools/testing/selftests/sigaltstack/sas.c swapcontext(&sc, &uc); uc 170 tools/testing/selftests/sigaltstack/sas.c getcontext(&uc); uc 171 tools/testing/selftests/sigaltstack/sas.c uc.uc_link = NULL; uc 172 tools/testing/selftests/sigaltstack/sas.c uc.uc_stack.ss_sp = ustack; uc 173 tools/testing/selftests/sigaltstack/sas.c uc.uc_stack.ss_size = SIGSTKSZ; uc 174 tools/testing/selftests/sigaltstack/sas.c makecontext(&uc, switch_fn, 0);