retval 14 arch/alpha/kernel/binfmt_loader.c int retval; retval 29 arch/alpha/kernel/binfmt_loader.c retval = PTR_ERR(file); retval 31 arch/alpha/kernel/binfmt_loader.c return retval; retval 38 arch/alpha/kernel/binfmt_loader.c retval = prepare_binprm(bprm); retval 39 arch/alpha/kernel/binfmt_loader.c if (retval < 0) retval 40 arch/alpha/kernel/binfmt_loader.c return retval; retval 60 arch/alpha/kernel/osf_sys.c unsigned long retval = sys_brk(brk); retval 61 arch/alpha/kernel/osf_sys.c if (brk && brk != retval) retval 62 arch/alpha/kernel/osf_sys.c retval = -ENOMEM; retval 63 arch/alpha/kernel/osf_sys.c return retval; retval 457 arch/alpha/kernel/osf_sys.c int retval; retval 461 arch/alpha/kernel/osf_sys.c retval = -EFAULT; retval 465 arch/alpha/kernel/osf_sys.c retval = PTR_ERR(devname); retval 468 arch/alpha/kernel/osf_sys.c retval = do_mount(devname->name, dirname, "ext2", flags, NULL); retval 471 arch/alpha/kernel/osf_sys.c return retval; retval 478 arch/alpha/kernel/osf_sys.c int retval; retval 482 arch/alpha/kernel/osf_sys.c retval = -EFAULT; retval 486 arch/alpha/kernel/osf_sys.c retval = PTR_ERR(devname); retval 489 arch/alpha/kernel/osf_sys.c retval = do_mount(devname->name, dirname, "iso9660", flags, NULL); retval 492 arch/alpha/kernel/osf_sys.c return retval; retval 510 arch/alpha/kernel/osf_sys.c int retval; retval 514 arch/alpha/kernel/osf_sys.c retval = osf_ufs_mount(path, data, flag); retval 517 arch/alpha/kernel/osf_sys.c retval = osf_cdfs_mount(path, data, flag); retval 520 arch/alpha/kernel/osf_sys.c retval = osf_procfs_mount(path, data, flag); retval 523 arch/alpha/kernel/osf_sys.c retval = -EINVAL; retval 527 arch/alpha/kernel/osf_sys.c return retval; retval 173 arch/alpha/kernel/pci-sysfs.c int retval, nlen1, nlen2 = 0, res_count = 1; retval 211 arch/alpha/kernel/pci-sysfs.c retval = pci_create_one_attr(pdev, num, attr_name, suffix, attr, retval 213 arch/alpha/kernel/pci-sysfs.c if (retval || res_count == 1) retval 214 arch/alpha/kernel/pci-sysfs.c return retval; retval 232 arch/alpha/kernel/pci-sysfs.c int retval; retval 241 arch/alpha/kernel/pci-sysfs.c retval = pci_create_attr(pdev, i); retval 242 arch/alpha/kernel/pci-sysfs.c if (retval) { retval 244 arch/alpha/kernel/pci-sysfs.c return retval; retval 150 arch/alpha/kernel/rtc.c long retval; retval 157 arch/alpha/kernel/rtc.c x->retval = alpha_rtc_read_time(NULL, x->tm); retval 167 arch/alpha/kernel/rtc.c return x.retval; retval 176 arch/alpha/kernel/rtc.c x->retval = alpha_rtc_set_time(NULL, x->tm); retval 186 arch/alpha/kernel/rtc.c return x.retval; retval 23 arch/arm/include/asm/hugetlb-3level.h pte_t retval = *ptep; retval 24 arch/arm/include/asm/hugetlb-3level.h if (pte_val(retval)) retval 25 arch/arm/include/asm/hugetlb-3level.h pte_val(retval) |= L_PTE_VALID; retval 26 arch/arm/include/asm/hugetlb-3level.h return retval; retval 580 arch/arm/kernel/signal.c unsigned int retval = 0, continue_addr = 0, restart_addr = 0; retval 590 arch/arm/kernel/signal.c retval = regs->ARM_r0; retval 596 arch/arm/kernel/signal.c switch (retval) { retval 622 arch/arm/kernel/signal.c if (retval == -ERESTARTNOHAND || retval 623 arch/arm/kernel/signal.c retval == -ERESTART_RESTARTBLOCK retval 624 arch/arm/kernel/signal.c || (retval == -ERESTARTSYS retval 97 arch/arm/mach-ixp4xx/common-pci.c int retval = 0; retval 115 arch/arm/mach-ixp4xx/common-pci.c retval = 1; retval 118 arch/arm/mach-ixp4xx/common-pci.c return retval; retval 124 arch/arm/mach-ixp4xx/common-pci.c int retval = 0; retval 137 arch/arm/mach-ixp4xx/common-pci.c retval = 1; retval 140 arch/arm/mach-ixp4xx/common-pci.c return retval; retval 146 arch/arm/mach-ixp4xx/common-pci.c int retval = 0; retval 159 arch/arm/mach-ixp4xx/common-pci.c retval = 1; retval 162 arch/arm/mach-ixp4xx/common-pci.c return retval; retval 90 arch/arm/mach-omap1/ams-delta-fiq.c int i, retval; retval 138 arch/arm/mach-omap1/ams-delta-fiq.c retval = claim_fiq(&fh); retval 139 arch/arm/mach-omap1/ams-delta-fiq.c if (retval) { retval 141 arch/arm/mach-omap1/ams-delta-fiq.c retval); retval 145 arch/arm/mach-omap1/ams-delta-fiq.c retval = request_irq(INT_DEFERRED_FIQ, deferred_fiq, retval 147 arch/arm/mach-omap1/ams-delta-fiq.c if (retval < 0) { retval 148 arch/arm/mach-omap1/ams-delta-fiq.c pr_err("Failed to get deferred_fiq IRQ, ret=%d\n", retval); retval 499 arch/arm/mach-omap1/clock.c int retval; retval 501 arch/arm/mach-omap1/clock.c retval = omap1_clk_enable(api_ck_p); retval 502 arch/arm/mach-omap1/clock.c if (!retval) { retval 503 arch/arm/mach-omap1/clock.c retval = omap1_clk_enable_generic(clk); retval 507 arch/arm/mach-omap1/clock.c return retval; retval 72 arch/arm/mach-omap2/board-n8x0.c int i, retval = 0; retval 87 arch/arm/mach-omap2/board-n8x0.c retval = -ENODEV; retval 94 arch/arm/mach-omap2/board-n8x0.c return retval; retval 354 arch/arm/probes/decode.c int retval; retval 357 arch/arm/probes/decode.c retval = INSN_GOOD; retval 359 arch/arm/probes/decode.c retval = checker_func(insn, asi, h); retval 360 arch/arm/probes/decode.c if (retval == INSN_REJECTED) retval 361 arch/arm/probes/decode.c return retval; retval 206 arch/arm64/kernel/debug-monitors.c int retval = DBG_HOOK_ERROR; retval 215 arch/arm64/kernel/debug-monitors.c retval = hook->fn(regs, esr); retval 216 arch/arm64/kernel/debug-monitors.c if (retval == DBG_HOOK_HANDLED) retval 220 arch/arm64/kernel/debug-monitors.c return retval; retval 411 arch/arm64/kernel/probes/kprobes.c int retval; retval 414 arch/arm64/kernel/probes/kprobes.c retval = kprobe_ss_hit(kcb, instruction_pointer(regs)); retval 416 arch/arm64/kernel/probes/kprobes.c if (retval == DBG_HOOK_HANDLED) { retval 423 arch/arm64/kernel/probes/kprobes.c return retval; retval 831 arch/arm64/kernel/signal.c int retval = 0; retval 841 arch/arm64/kernel/signal.c retval = regs->regs[0]; retval 852 arch/arm64/kernel/signal.c switch (retval) { retval 874 arch/arm64/kernel/signal.c (retval == -ERESTARTNOHAND || retval 875 arch/arm64/kernel/signal.c retval == -ERESTART_RESTARTBLOCK || retval 876 arch/arm64/kernel/signal.c (retval == -ERESTARTSYS && retval 891 arch/arm64/kernel/signal.c if (retval == -ERESTART_RESTARTBLOCK) retval 91 arch/csky/include/asm/uaccess.h #define __put_user_size(x, ptr, size, retval) \ retval 93 arch/csky/include/asm/uaccess.h retval = 0; \ retval 96 arch/csky/include/asm/uaccess.h __put_user_asm_b(x, ptr, retval); \ retval 99 arch/csky/include/asm/uaccess.h __put_user_asm_h(x, ptr, retval); \ retval 102 arch/csky/include/asm/uaccess.h __put_user_asm_w(x, ptr, retval); \ retval 105 arch/csky/include/asm/uaccess.h __put_user_asm_64(x, ptr, retval); \ retval 217 arch/csky/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval) \ retval 221 arch/csky/include/asm/uaccess.h __get_user_asm_common((x), ptr, "ldb", retval); \ retval 224 arch/csky/include/asm/uaccess.h __get_user_asm_common((x), ptr, "ldh", retval); \ retval 227 arch/csky/include/asm/uaccess.h __get_user_asm_common((x), ptr, "ldw", retval); \ retval 231 arch/csky/include/asm/uaccess.h (retval) = __get_user_bad(); \ retval 91 arch/h8300/include/asm/bitops.h int retval = 0; \ retval 104 arch/h8300/include/asm/bitops.h : "=r"(retval), "+WU" (*b_addr), "=&r"(ccrsave) \ retval 105 arch/h8300/include/asm/bitops.h : "0"(retval), "i"(nr & 7) : "cc"); \ retval 115 arch/h8300/include/asm/bitops.h : "=r"(retval), "+WU" (*b_addr) \ retval 116 arch/h8300/include/asm/bitops.h : "0" (retval), "r"(bit) : "cc"); \ retval 118 arch/h8300/include/asm/bitops.h return retval; \ retval 123 arch/h8300/include/asm/bitops.h int retval = 0; \ retval 132 arch/h8300/include/asm/bitops.h : "=r"(retval), "+WU"(*b_addr) \ retval 133 arch/h8300/include/asm/bitops.h : "0" (retval), "i"(nr & 7)); \ retval 140 arch/h8300/include/asm/bitops.h : "=r"(retval), "+WU"(*b_addr) \ retval 141 arch/h8300/include/asm/bitops.h : "0" (retval), "r"(bit)); \ retval 143 arch/h8300/include/asm/bitops.h return retval; \ retval 163 arch/hexagon/include/asm/bitops.h int retval; retval 167 arch/hexagon/include/asm/bitops.h : "=&r" (retval) retval 172 arch/hexagon/include/asm/bitops.h return retval; retval 25 arch/hexagon/include/asm/cmpxchg.h unsigned long retval; retval 34 arch/hexagon/include/asm/cmpxchg.h : "=&r" (retval) retval 38 arch/hexagon/include/asm/cmpxchg.h return retval; retval 97 arch/hexagon/kernel/smp.c unsigned long retval; retval 106 arch/hexagon/kernel/smp.c retval = __vmintop_post(BASE_IPI_IRQ+cpu); retval 108 arch/hexagon/kernel/smp.c if (retval != 0) { retval 627 arch/ia64/include/asm/processor.h __u64 retval; retval 629 arch/ia64/include/asm/processor.h retval = __ia64_get_dbr(regnum); retval 633 arch/ia64/include/asm/processor.h return retval; retval 5409 arch/ia64/kernel/perfmon.c int retval = 0; retval 5444 arch/ia64/kernel/perfmon.c retval = -1; retval 5451 arch/ia64/kernel/perfmon.c return retval; retval 344 arch/ia64/kernel/process.c int retval = 0; retval 440 arch/ia64/kernel/process.c return retval; retval 835 arch/ia64/kernel/ptrace.c long ret, retval = 0; retval 865 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->cr_iip, &ppr->cr_iip); retval 866 arch/ia64/kernel/ptrace.c retval |= __put_user(psr, &ppr->cr_ipsr); retval 870 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->ar_pfs, &ppr->ar[PT_AUR_PFS]); retval 871 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->ar_rsc, &ppr->ar[PT_AUR_RSC]); retval 872 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->ar_bspstore, &ppr->ar[PT_AUR_BSPSTORE]); retval 873 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->ar_unat, &ppr->ar[PT_AUR_UNAT]); retval 874 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->ar_ccv, &ppr->ar[PT_AUR_CCV]); retval 875 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->ar_fpsr, &ppr->ar[PT_AUR_FPSR]); retval 877 arch/ia64/kernel/ptrace.c retval |= __put_user(ec, &ppr->ar[PT_AUR_EC]); retval 878 arch/ia64/kernel/ptrace.c retval |= __put_user(lc, &ppr->ar[PT_AUR_LC]); retval 879 arch/ia64/kernel/ptrace.c retval |= __put_user(rnat, &ppr->ar[PT_AUR_RNAT]); retval 880 arch/ia64/kernel/ptrace.c retval |= __put_user(bsp, &ppr->ar[PT_AUR_BSP]); retval 881 arch/ia64/kernel/ptrace.c retval |= __put_user(cfm, &ppr->cfm); retval 885 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->gr[1], &pt->r1, sizeof(long)); retval 886 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->gr[2], &pt->r2, sizeof(long) *2); retval 893 arch/ia64/kernel/ptrace.c retval |= __put_user(val, &ppr->gr[i]); retval 898 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->gr[8], &pt->r8, sizeof(long) * 4); retval 902 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->gr[12], &pt->r12, sizeof(long) * 2); retval 903 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->gr[14], &pt->r14, sizeof(long)); retval 904 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->gr[15], &pt->r15, sizeof(long)); retval 908 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->gr[16], &pt->r16, sizeof(long) * 16); retval 912 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->b0, &ppr->br[0]); retval 924 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->b6, &ppr->br[6]); retval 925 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->b7, &ppr->br[7]); retval 932 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->fr[i], &fpval, sizeof (fpval)); retval 937 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->fr[6], &pt->f6, retval 942 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->fr[12], &sw->f12, retval 950 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->fr[i], &fpval, sizeof (fpval)); retval 956 arch/ia64/kernel/ptrace.c retval |= __copy_to_user(&ppr->fr[32], &child->thread.fph, retval 961 arch/ia64/kernel/ptrace.c retval |= __put_user(pt->pr, &ppr->pr); retval 965 arch/ia64/kernel/ptrace.c retval |= __put_user(nat_bits, &ppr->nat); retval 967 arch/ia64/kernel/ptrace.c ret = retval ? -EIO : 0; retval 979 arch/ia64/kernel/ptrace.c long ret, retval = 0; retval 1001 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->cr_iip, &ppr->cr_iip); retval 1002 arch/ia64/kernel/ptrace.c retval |= __get_user(psr, &ppr->cr_ipsr); retval 1006 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->ar_pfs, &ppr->ar[PT_AUR_PFS]); retval 1007 arch/ia64/kernel/ptrace.c retval |= __get_user(rsc, &ppr->ar[PT_AUR_RSC]); retval 1008 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->ar_bspstore, &ppr->ar[PT_AUR_BSPSTORE]); retval 1009 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->ar_unat, &ppr->ar[PT_AUR_UNAT]); retval 1010 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->ar_ccv, &ppr->ar[PT_AUR_CCV]); retval 1011 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->ar_fpsr, &ppr->ar[PT_AUR_FPSR]); retval 1013 arch/ia64/kernel/ptrace.c retval |= __get_user(ec, &ppr->ar[PT_AUR_EC]); retval 1014 arch/ia64/kernel/ptrace.c retval |= __get_user(lc, &ppr->ar[PT_AUR_LC]); retval 1015 arch/ia64/kernel/ptrace.c retval |= __get_user(rnat, &ppr->ar[PT_AUR_RNAT]); retval 1016 arch/ia64/kernel/ptrace.c retval |= __get_user(bsp, &ppr->ar[PT_AUR_BSP]); retval 1017 arch/ia64/kernel/ptrace.c retval |= __get_user(cfm, &ppr->cfm); retval 1021 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&pt->r1, &ppr->gr[1], sizeof(long)); retval 1022 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&pt->r2, &ppr->gr[2], sizeof(long) * 2); retval 1027 arch/ia64/kernel/ptrace.c retval |= __get_user(val, &ppr->gr[i]); retval 1035 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&pt->r8, &ppr->gr[8], sizeof(long) * 4); retval 1039 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&pt->r12, &ppr->gr[12], sizeof(long) * 2); retval 1040 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&pt->r14, &ppr->gr[14], sizeof(long)); retval 1041 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&pt->r15, &ppr->gr[15], sizeof(long)); retval 1045 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&pt->r16, &ppr->gr[16], sizeof(long) * 16); retval 1049 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->b0, &ppr->br[0]); retval 1054 arch/ia64/kernel/ptrace.c retval |= __get_user(val, &ppr->br[i]); retval 1060 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->b6, &ppr->br[6]); retval 1061 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->b7, &ppr->br[7]); retval 1066 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&fpval, &ppr->fr[i], sizeof(fpval)); retval 1073 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&pt->f6, &ppr->fr[6], retval 1078 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&sw->f12, &ppr->fr[12], retval 1084 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&fpval, &ppr->fr[i], retval 1093 arch/ia64/kernel/ptrace.c retval |= __copy_from_user(&child->thread.fph, &ppr->fr[32], retval 1098 arch/ia64/kernel/ptrace.c retval |= __get_user(pt->pr, &ppr->pr); retval 1102 arch/ia64/kernel/ptrace.c retval |= __get_user(nat_bits, &ppr->nat); retval 1104 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_CR_IPSR, &psr, 1); retval 1105 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_RSC, &rsc, 1); retval 1106 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_EC, &ec, 1); retval 1107 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_LC, &lc, 1); retval 1108 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_RNAT, &rnat, 1); retval 1109 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_AR_BSP, &bsp, 1); retval 1110 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_CFM, &cfm, 1); retval 1111 arch/ia64/kernel/ptrace.c retval |= access_uarea(child, PT_NAT_BITS, &nat_bits, 1); retval 1113 arch/ia64/kernel/ptrace.c ret = retval ? -EIO : 0; retval 114 arch/ia64/kernel/signal.c long retval; retval 124 arch/ia64/kernel/signal.c retval = (long) &ia64_leave_kernel; retval 133 arch/ia64/kernel/signal.c retval = (long) &ia64_strace_leave_kernel; retval 152 arch/ia64/kernel/signal.c return retval; retval 156 arch/ia64/kernel/signal.c return retval; retval 611 arch/ia64/kernel/smpboot.c int retval = 0; retval 640 arch/ia64/kernel/smpboot.c retval = -EBUSY; retval 643 arch/ia64/kernel/smpboot.c return retval; retval 93 arch/ia64/kernel/sys_ia64.c unsigned long retval = sys_brk(brk); retval 95 arch/ia64/kernel/sys_ia64.c return retval; retval 107 arch/ia64/kernel/sys_ia64.c int retval; retval 109 arch/ia64/kernel/sys_ia64.c retval = do_pipe_flags(fd, 0); retval 110 arch/ia64/kernel/sys_ia64.c if (retval) retval 112 arch/ia64/kernel/sys_ia64.c retval = fd[0]; retval 115 arch/ia64/kernel/sys_ia64.c return retval; retval 353 arch/ia64/kernel/topology.c int retval = 0; retval 359 arch/ia64/kernel/topology.c retval = cpu_cache_sysfs_init(cpu); retval 360 arch/ia64/kernel/topology.c if (unlikely(retval < 0)) retval 361 arch/ia64/kernel/topology.c return retval; retval 363 arch/ia64/kernel/topology.c retval = kobject_init_and_add(&all_cpu_cache_info[cpu].kobj, retval 366 arch/ia64/kernel/topology.c if (unlikely(retval < 0)) { retval 368 arch/ia64/kernel/topology.c return retval; retval 373 arch/ia64/kernel/topology.c retval = kobject_init_and_add(&(this_object->kobj), retval 377 arch/ia64/kernel/topology.c if (unlikely(retval)) { retval 383 arch/ia64/kernel/topology.c return retval; retval 388 arch/ia64/kernel/topology.c return retval; retval 1888 arch/ia64/kernel/unwind.c int retval; retval 1963 arch/ia64/kernel/unwind.c retval = find_save_locs(info); retval 1965 arch/ia64/kernel/unwind.c return retval; retval 161 arch/m68k/include/asm/bitops.h char retval; retval 164 arch/m68k/include/asm/bitops.h : "=d" (retval) retval 167 arch/m68k/include/asm/bitops.h return retval; retval 174 arch/m68k/include/asm/bitops.h char retval; retval 177 arch/m68k/include/asm/bitops.h : "=d" (retval), "+m" (*p) retval 179 arch/m68k/include/asm/bitops.h return retval; retval 185 arch/m68k/include/asm/bitops.h char retval; retval 188 arch/m68k/include/asm/bitops.h : "=d" (retval) retval 191 arch/m68k/include/asm/bitops.h return retval; retval 211 arch/m68k/include/asm/bitops.h char retval; retval 214 arch/m68k/include/asm/bitops.h : "=d" (retval) retval 217 arch/m68k/include/asm/bitops.h return retval; retval 224 arch/m68k/include/asm/bitops.h char retval; retval 227 arch/m68k/include/asm/bitops.h : "=d" (retval), "+m" (*p) retval 229 arch/m68k/include/asm/bitops.h return retval; retval 235 arch/m68k/include/asm/bitops.h char retval; retval 238 arch/m68k/include/asm/bitops.h : "=d" (retval) retval 241 arch/m68k/include/asm/bitops.h return retval; retval 261 arch/m68k/include/asm/bitops.h char retval; retval 264 arch/m68k/include/asm/bitops.h : "=d" (retval) retval 267 arch/m68k/include/asm/bitops.h return retval; retval 274 arch/m68k/include/asm/bitops.h char retval; retval 277 arch/m68k/include/asm/bitops.h : "=d" (retval), "+m" (*p) retval 279 arch/m68k/include/asm/bitops.h return retval; retval 285 arch/m68k/include/asm/bitops.h char retval; retval 288 arch/m68k/include/asm/bitops.h : "=d" (retval) retval 291 arch/m68k/include/asm/bitops.h return retval; retval 206 arch/m68k/mac/iop.c int retval; retval 208 arch/m68k/mac/iop.c retval = (iop_readb(iop, IOP_ADDR_ALIVE) == 0xFF); retval 210 arch/m68k/mac/iop.c return retval; retval 193 arch/microblaze/mm/pgtable.c int retval = 0; retval 201 arch/microblaze/mm/pgtable.c retval = 1; retval 206 arch/microblaze/mm/pgtable.c return retval; retval 441 arch/mips/cavium-octeon/executive/cvmx-bootmem.c int retval = 0; retval 483 arch/mips/cavium-octeon/executive/cvmx-bootmem.c retval = 1; retval 509 arch/mips/cavium-octeon/executive/cvmx-bootmem.c retval = 1; retval 530 arch/mips/cavium-octeon/executive/cvmx-bootmem.c retval = 1; retval 541 arch/mips/cavium-octeon/executive/cvmx-bootmem.c retval = 1; retval 551 arch/mips/cavium-octeon/executive/cvmx-bootmem.c retval = 1; retval 556 arch/mips/cavium-octeon/executive/cvmx-bootmem.c return retval; retval 349 arch/mips/cavium-octeon/executive/cvmx-l2c.c int retval = 0; retval 407 arch/mips/cavium-octeon/executive/cvmx-l2c.c retval = 1; /* We were unable to lock the line */ retval 410 arch/mips/cavium-octeon/executive/cvmx-l2c.c return retval; retval 416 arch/mips/cavium-octeon/executive/cvmx-l2c.c int retval = 0; retval 424 arch/mips/cavium-octeon/executive/cvmx-l2c.c retval += cvmx_l2c_lock_line(start); retval 428 arch/mips/cavium-octeon/executive/cvmx-l2c.c return retval; retval 21 arch/mips/cobalt/lcd.c int retval; retval 27 arch/mips/cobalt/lcd.c retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1); retval 28 arch/mips/cobalt/lcd.c if (retval) retval 31 arch/mips/cobalt/lcd.c retval = platform_device_add(pdev); retval 32 arch/mips/cobalt/lcd.c if (retval) retval 40 arch/mips/cobalt/lcd.c return retval; retval 23 arch/mips/cobalt/led.c int retval; retval 34 arch/mips/cobalt/led.c retval = platform_device_add_resources(pdev, &cobalt_led_resource, 1); retval 35 arch/mips/cobalt/led.c if (retval) retval 38 arch/mips/cobalt/led.c retval = platform_device_add(pdev); retval 39 arch/mips/cobalt/led.c if (retval) retval 47 arch/mips/cobalt/led.c return retval; retval 29 arch/mips/cobalt/rtc.c int retval; retval 35 arch/mips/cobalt/rtc.c retval = platform_device_add_resources(pdev, cobalt_rtc_resource, retval 37 arch/mips/cobalt/rtc.c if (retval) retval 40 arch/mips/cobalt/rtc.c retval = platform_device_add(pdev); retval 41 arch/mips/cobalt/rtc.c if (retval) retval 49 arch/mips/cobalt/rtc.c return retval; retval 43 arch/mips/cobalt/serial.c int retval; retval 58 arch/mips/cobalt/serial.c retval = platform_device_add_resources(pdev, cobalt_uart_resource, ARRAY_SIZE(cobalt_uart_resource)); retval 59 arch/mips/cobalt/serial.c if (retval) retval 62 arch/mips/cobalt/serial.c retval = platform_device_add(pdev); retval 63 arch/mips/cobalt/serial.c if (retval) retval 71 arch/mips/cobalt/serial.c return retval; retval 71 arch/mips/dec/time.c int retval = 0; retval 111 arch/mips/dec/time.c retval = -1; retval 124 arch/mips/dec/time.c return retval; retval 292 arch/mips/include/asm/mach-pmcs-msp71xx/msp_gpio_macros.h enum msp_gpio_mode retval = MSP_GPIO_UNKNOWN; retval 296 arch/mips/include/asm/mach-pmcs-msp71xx/msp_gpio_macros.h return retval; retval 301 arch/mips/include/asm/mach-pmcs-msp71xx/msp_gpio_macros.h retval = BASIC_MODE_FROM_REG(data, gpio); retval 305 arch/mips/include/asm/mach-pmcs-msp71xx/msp_gpio_macros.h retval = MSP_GPIO_OUTPUT; retval 307 arch/mips/include/asm/mach-pmcs-msp71xx/msp_gpio_macros.h retval = MSP_GPIO_INPUT; retval 310 arch/mips/include/asm/mach-pmcs-msp71xx/msp_gpio_macros.h return retval; retval 35 arch/mips/include/asm/mc146818-time.h int retval = 0; retval 72 arch/mips/include/asm/mc146818-time.h retval = -1; retval 86 arch/mips/include/asm/mc146818-time.h return retval; retval 71 arch/mips/kernel/mips-mt-fpaff.c int retval; retval 94 arch/mips/kernel/mips-mt-fpaff.c retval = -ENOMEM; retval 98 arch/mips/kernel/mips-mt-fpaff.c retval = -ENOMEM; retval 102 arch/mips/kernel/mips-mt-fpaff.c retval = -ENOMEM; retval 106 arch/mips/kernel/mips-mt-fpaff.c retval = -EPERM; retval 110 arch/mips/kernel/mips-mt-fpaff.c retval = security_task_setscheduler(p); retval 111 arch/mips/kernel/mips-mt-fpaff.c if (retval) retval 123 arch/mips/kernel/mips-mt-fpaff.c retval = set_cpus_allowed_ptr(p, effective_mask); retval 127 arch/mips/kernel/mips-mt-fpaff.c retval = set_cpus_allowed_ptr(p, new_mask); retval 130 arch/mips/kernel/mips-mt-fpaff.c if (!retval) { retval 151 arch/mips/kernel/mips-mt-fpaff.c return retval; retval 162 arch/mips/kernel/mips-mt-fpaff.c int retval; retval 172 arch/mips/kernel/mips-mt-fpaff.c retval = -ESRCH; retval 176 arch/mips/kernel/mips-mt-fpaff.c retval = security_task_getscheduler(p); retval 177 arch/mips/kernel/mips-mt-fpaff.c if (retval) retval 186 arch/mips/kernel/mips-mt-fpaff.c if (retval) retval 187 arch/mips/kernel/mips-mt-fpaff.c return retval; retval 30 arch/mips/lasat/serial.c int retval; retval 65 arch/mips/lasat/serial.c retval = platform_device_add_resources(pdev, lasat_serial_res, ARRAY_SIZE(lasat_serial_res)); retval 66 arch/mips/lasat/serial.c if (retval) retval 69 arch/mips/lasat/serial.c retval = platform_device_add(pdev); retval 70 arch/mips/lasat/serial.c if (retval) retval 78 arch/mips/lasat/serial.c return retval; retval 134 arch/mips/pci/fixup-cobalt.c int retval; retval 136 arch/mips/pci/fixup-cobalt.c retval = pci_read_config_byte(dev, VIA_COBALT_BRD_ID_REG, &id); retval 137 arch/mips/pci/fixup-cobalt.c if (retval) { retval 109 arch/mips/sibyte/bcm1480/smp.c int retval; retval 111 arch/mips/sibyte/bcm1480/smp.c retval = cfe_cpu_start(cpu_logical_map(cpu), &smp_bootstrap, retval 114 arch/mips/sibyte/bcm1480/smp.c if (retval != 0) retval 115 arch/mips/sibyte/bcm1480/smp.c printk("cfe_start_cpu(%i) returned %i\n" , cpu, retval); retval 116 arch/mips/sibyte/bcm1480/smp.c return retval; retval 98 arch/mips/sibyte/sb1250/smp.c int retval; retval 100 arch/mips/sibyte/sb1250/smp.c retval = cfe_cpu_start(cpu_logical_map(cpu), &smp_bootstrap, retval 103 arch/mips/sibyte/sb1250/smp.c if (retval != 0) retval 104 arch/mips/sibyte/sb1250/smp.c printk("cfe_start_cpu(%i) returned %i\n" , cpu, retval); retval 105 arch/mips/sibyte/sb1250/smp.c return retval; retval 66 arch/mips/vr41xx/common/giu.c int retval; retval 91 arch/mips/vr41xx/common/giu.c retval = -ENODEV; retval 95 arch/mips/vr41xx/common/giu.c retval = platform_device_add_resources(pdev, res, num); retval 96 arch/mips/vr41xx/common/giu.c if (retval) retval 99 arch/mips/vr41xx/common/giu.c retval = platform_device_add(pdev); retval 100 arch/mips/vr41xx/common/giu.c if (retval) retval 108 arch/mips/vr41xx/common/giu.c return retval; retval 594 arch/mips/vr41xx/common/icu.c int retval = -EINVAL; retval 603 arch/mips/vr41xx/common/icu.c retval = set_sysint1_assign(irq, intassign); retval 605 arch/mips/vr41xx/common/icu.c retval = set_sysint2_assign(irq, intassign); retval 607 arch/mips/vr41xx/common/icu.c return retval; retval 28 arch/mips/vr41xx/common/irq.c int retval = 0; retval 39 arch/mips/vr41xx/common/irq.c retval = setup_irq(irq, &cascade_irqaction); retval 40 arch/mips/vr41xx/common/irq.c if (retval < 0) retval 44 arch/mips/vr41xx/common/irq.c return retval; retval 67 arch/mips/vr41xx/common/rtc.c int retval; retval 86 arch/mips/vr41xx/common/rtc.c retval = -ENODEV; retval 90 arch/mips/vr41xx/common/rtc.c retval = platform_device_add_resources(pdev, res, num); retval 91 arch/mips/vr41xx/common/rtc.c if (retval) retval 94 arch/mips/vr41xx/common/rtc.c retval = platform_device_add(pdev); retval 95 arch/mips/vr41xx/common/rtc.c if (retval) retval 103 arch/mips/vr41xx/common/rtc.c return retval; retval 68 arch/mips/vr41xx/common/siu.c int retval; retval 89 arch/mips/vr41xx/common/siu.c retval = -ENODEV; retval 93 arch/mips/vr41xx/common/siu.c retval = platform_device_add_resources(pdev, res, num); retval 94 arch/mips/vr41xx/common/siu.c if (retval) retval 97 arch/mips/vr41xx/common/siu.c retval = platform_device_add(pdev); retval 98 arch/mips/vr41xx/common/siu.c if (retval) retval 106 arch/mips/vr41xx/common/siu.c return retval; retval 234 arch/nios2/kernel/signal.c unsigned int retval = 0, continue_addr = 0, restart_addr = 0; retval 246 arch/nios2/kernel/signal.c retval = regs->r2; retval 252 arch/nios2/kernel/signal.c switch (retval) { retval 269 arch/nios2/kernel/signal.c if (retval == ERESTARTNOHAND || retval 270 arch/nios2/kernel/signal.c retval == ERESTART_RESTARTBLOCK || retval 271 arch/nios2/kernel/signal.c (retval == ERESTARTSYS retval 109 arch/openrisc/include/asm/uaccess.h #define __put_user_size(x, ptr, size, retval) \ retval 111 arch/openrisc/include/asm/uaccess.h retval = 0; \ retval 113 arch/openrisc/include/asm/uaccess.h case 1: __put_user_asm(x, ptr, retval, "l.sb"); break; \ retval 114 arch/openrisc/include/asm/uaccess.h case 2: __put_user_asm(x, ptr, retval, "l.sh"); break; \ retval 115 arch/openrisc/include/asm/uaccess.h case 4: __put_user_asm(x, ptr, retval, "l.sw"); break; \ retval 116 arch/openrisc/include/asm/uaccess.h case 8: __put_user_asm2(x, ptr, retval); break; \ retval 185 arch/openrisc/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval) \ retval 187 arch/openrisc/include/asm/uaccess.h retval = 0; \ retval 189 arch/openrisc/include/asm/uaccess.h case 1: __get_user_asm(x, ptr, retval, "l.lbz"); break; \ retval 190 arch/openrisc/include/asm/uaccess.h case 2: __get_user_asm(x, ptr, retval, "l.lhz"); break; \ retval 191 arch/openrisc/include/asm/uaccess.h case 4: __get_user_asm(x, ptr, retval, "l.lwz"); break; \ retval 192 arch/openrisc/include/asm/uaccess.h case 8: __get_user_asm2(x, ptr, retval); break; \ retval 232 arch/openrisc/kernel/signal.c unsigned long retval = 0; retval 238 arch/openrisc/kernel/signal.c retval = regs->gpr[11]; retval 244 arch/openrisc/kernel/signal.c switch (retval) { retval 266 arch/openrisc/kernel/signal.c if (retval == -ERESTARTNOHAND || retval 267 arch/openrisc/kernel/signal.c retval == -ERESTART_RESTARTBLOCK retval 268 arch/openrisc/kernel/signal.c || (retval == -ERESTARTSYS retval 267 arch/parisc/kernel/cache.c int srhash_type, retval; retval 295 arch/parisc/kernel/cache.c retval = pdc_spaceid_bits(&space_bits); retval 297 arch/parisc/kernel/cache.c if (retval < 0 && retval != PDC_BAD_OPTION) retval 219 arch/parisc/kernel/firmware.c int retval; retval 223 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_ADD_VALID, PDC_ADD_VALID_VERIFY, address); retval 226 arch/parisc/kernel/firmware.c return retval; retval 238 arch/parisc/kernel/firmware.c int retval; retval 242 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_INSTR, 0UL, __pa(pdc_result)); retval 247 arch/parisc/kernel/firmware.c return retval; retval 260 arch/parisc/kernel/firmware.c int retval; retval 266 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_CHASSIS, PDC_RETURN_CHASSIS_INFO, retval 272 arch/parisc/kernel/firmware.c return retval; retval 284 arch/parisc/kernel/firmware.c int retval = 0; retval 291 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_CHASSIS_LOG, PDC_PAT_CHASSIS_WRITE_LOG, __pa(&state), __pa(&data)); retval 294 arch/parisc/kernel/firmware.c return retval; retval 304 arch/parisc/kernel/firmware.c int retval = 0; retval 308 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_CHASSIS, PDC_CHASSIS_DISP, disp); retval 311 arch/parisc/kernel/firmware.c return retval; retval 333 arch/parisc/kernel/firmware.c int retval = 0; retval 337 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_CHASSIS, PDC_CHASSIS_WARN, __pa(pdc_result)); retval 341 arch/parisc/kernel/firmware.c return retval; retval 391 arch/parisc/kernel/firmware.c int retval; retval 395 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_IODC, PDC_IODC_READ, __pa(pdc_result), hpa, retval 402 arch/parisc/kernel/firmware.c return retval; retval 418 arch/parisc/kernel/firmware.c int retval; retval 422 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_SYSTEM_MAP, PDC_FIND_MODULE, __pa(pdc_result), retval 430 arch/parisc/kernel/firmware.c return retval; retval 445 arch/parisc/kernel/firmware.c int retval; retval 449 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_SYSTEM_MAP, PDC_FIND_ADDRESS, __pa(pdc_result), retval 456 arch/parisc/kernel/firmware.c return retval; retval 467 arch/parisc/kernel/firmware.c int retval; retval 471 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_INFO, __pa(pdc_result), 0); retval 476 arch/parisc/kernel/firmware.c return retval; retval 489 arch/parisc/kernel/firmware.c int retval; retval 493 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_SYSMODEL, __pa(pdc_result), retval 497 arch/parisc/kernel/firmware.c if (retval == PDC_OK) { retval 504 arch/parisc/kernel/firmware.c return retval; retval 519 arch/parisc/kernel/firmware.c int retval; retval 523 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_VERSIONS, __pa(pdc_result), id); retval 528 arch/parisc/kernel/firmware.c return retval; retval 540 arch/parisc/kernel/firmware.c int retval; retval 545 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_CPU_ID, __pa(pdc_result), 0); retval 550 arch/parisc/kernel/firmware.c return retval; retval 562 arch/parisc/kernel/firmware.c int retval; retval 567 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_CAPABILITIES, __pa(pdc_result), 0); retval 569 arch/parisc/kernel/firmware.c if (retval == PDC_OK) { retval 576 arch/parisc/kernel/firmware.c return retval; retval 591 arch/parisc/kernel/firmware.c int retval; retval 595 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MODEL, PDC_MODEL_GET_PLATFORM_INFO, retval 600 arch/parisc/kernel/firmware.c return retval; retval 611 arch/parisc/kernel/firmware.c int retval; retval 615 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_CACHE, PDC_CACHE_INFO, __pa(pdc_result), 0); retval 620 arch/parisc/kernel/firmware.c return retval; retval 631 arch/parisc/kernel/firmware.c int retval; retval 636 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_CACHE, PDC_CACHE_RET_SPID, __pa(pdc_result), 0); retval 641 arch/parisc/kernel/firmware.c return retval; retval 653 arch/parisc/kernel/firmware.c int retval; retval 657 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_BLOCK_TLB, PDC_BTLB_INFO, __pa(pdc_result), 0); retval 661 arch/parisc/kernel/firmware.c if(retval < 0) { retval 664 arch/parisc/kernel/firmware.c return retval; retval 682 arch/parisc/kernel/firmware.c int retval; retval 687 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MEM_MAP, PDC_MEM_MAP_HPA, __pa(pdc_result), retval 692 arch/parisc/kernel/firmware.c return retval; retval 705 arch/parisc/kernel/firmware.c int retval; retval 709 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_LAN_STATION_ID, PDC_LAN_STATION_ID_READ, retval 711 arch/parisc/kernel/firmware.c if (retval < 0) { retval 719 arch/parisc/kernel/firmware.c return retval; retval 735 arch/parisc/kernel/firmware.c int retval; retval 739 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_STABLE, PDC_STABLE_READ, staddr, retval 745 arch/parisc/kernel/firmware.c return retval; retval 761 arch/parisc/kernel/firmware.c int retval; retval 767 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_STABLE, PDC_STABLE_WRITE, staddr, retval 771 arch/parisc/kernel/firmware.c return retval; retval 786 arch/parisc/kernel/firmware.c int retval; retval 790 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_STABLE, PDC_STABLE_RETURN_SIZE, __pa(pdc_result)); retval 794 arch/parisc/kernel/firmware.c return retval; retval 806 arch/parisc/kernel/firmware.c int retval; retval 810 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_STABLE, PDC_STABLE_VERIFY_CONTENTS); retval 813 arch/parisc/kernel/firmware.c return retval; retval 825 arch/parisc/kernel/firmware.c int retval; retval 829 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_STABLE, PDC_STABLE_INITIALIZE); retval 832 arch/parisc/kernel/firmware.c return retval; retval 852 arch/parisc/kernel/firmware.c int retval; retval 861 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_INITIATOR, PDC_GET_INITIATOR, retval 863 arch/parisc/kernel/firmware.c if (retval < PDC_OK) retval 897 arch/parisc/kernel/firmware.c return (retval >= PDC_OK); retval 913 arch/parisc/kernel/firmware.c int retval; retval 917 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PCI_INDEX, PDC_PCI_GET_INT_TBL_SIZE, retval 923 arch/parisc/kernel/firmware.c return retval; retval 937 arch/parisc/kernel/firmware.c int retval; retval 944 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PCI_INDEX, PDC_PCI_GET_INT_TBL, retval 948 arch/parisc/kernel/firmware.c return retval; retval 963 arch/parisc/kernel/firmware.c int retval; retval 969 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PCI_INDEX, PDC_PCI_READ_CONFIG, retval 973 arch/parisc/kernel/firmware.c return retval ? ~0 : (unsigned int) pdc_result[0]; retval 987 arch/parisc/kernel/firmware.c int retval; retval 992 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PCI_INDEX, PDC_PCI_WRITE_CONFIG, retval 997 arch/parisc/kernel/firmware.c return retval; retval 1009 arch/parisc/kernel/firmware.c int retval; retval 1013 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_TOD, PDC_TOD_READ, __pa(pdc_result), 0); retval 1018 arch/parisc/kernel/firmware.c return retval; retval 1024 arch/parisc/kernel/firmware.c int retval; retval 1028 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MEM, PDC_MEM_MEMINFO, __pa(pdc_result), 0); retval 1033 arch/parisc/kernel/firmware.c return retval; retval 1039 arch/parisc/kernel/firmware.c int retval; retval 1043 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MEM, PDC_MEM_READ_PDT, __pa(pdc_result), retval 1045 arch/parisc/kernel/firmware.c if (retval == PDC_OK) { retval 1056 arch/parisc/kernel/firmware.c if (WARN_ON_ONCE((retval == PDC_OK) && parisc_narrow_firmware)) retval 1060 arch/parisc/kernel/firmware.c return retval; retval 1072 arch/parisc/kernel/firmware.c int retval; retval 1076 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_TOD, PDC_TOD_WRITE, sec, usec); retval 1079 arch/parisc/kernel/firmware.c return retval; retval 1087 arch/parisc/kernel/firmware.c int retval; retval 1091 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_MEM, PDC_MEM_TABLE, __pa(pdc_result), __pa(pdc_result2), entries); retval 1097 arch/parisc/kernel/firmware.c return retval; retval 1107 arch/parisc/kernel/firmware.c int retval; retval 1111 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_BROADCAST_RESET, PDC_DO_FIRM_TEST_RESET, retval 1115 arch/parisc/kernel/firmware.c return retval; retval 1125 arch/parisc/kernel/firmware.c int retval; retval 1129 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_BROADCAST_RESET, PDC_DO_RESET); retval 1132 arch/parisc/kernel/firmware.c return retval; retval 1143 arch/parisc/kernel/firmware.c int retval; retval 1149 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_SOFT_POWER, PDC_SOFT_POWER_INFO, __pa(pdc_result), 0); retval 1150 arch/parisc/kernel/firmware.c if (retval == PDC_OK) { retval 1156 arch/parisc/kernel/firmware.c return retval; retval 1172 arch/parisc/kernel/firmware.c int retval; retval 1176 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_SOFT_POWER, PDC_SOFT_POWER_ENABLE, __pa(pdc_result), sw_control); retval 1179 arch/parisc/kernel/firmware.c return retval; retval 1298 arch/parisc/kernel/firmware.c int retval; retval 1302 arch/parisc/kernel/firmware.c retval = real32_call(func, flags, inptr, outputr, glob_cfg); retval 1305 arch/parisc/kernel/firmware.c return retval; retval 1319 arch/parisc/kernel/firmware.c int retval; retval 1323 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_CELL, PDC_PAT_CELL_GET_NUMBER, __pa(pdc_result)); retval 1327 arch/parisc/kernel/firmware.c return retval; retval 1344 arch/parisc/kernel/firmware.c int retval; retval 1349 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_CELL, PDC_PAT_CELL_MODULE, __pa(pdc_result), retval 1351 arch/parisc/kernel/firmware.c if(!retval) { retval 1357 arch/parisc/kernel/firmware.c return retval; retval 1373 arch/parisc/kernel/firmware.c int retval; retval 1378 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_CELL, PDC_PAT_CELL_GET_INFO, retval 1381 arch/parisc/kernel/firmware.c if (!retval) { retval 1387 arch/parisc/kernel/firmware.c return retval; retval 1399 arch/parisc/kernel/firmware.c int retval; retval 1403 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_CPU, PDC_PAT_CPU_GET_NUMBER, retval 1408 arch/parisc/kernel/firmware.c return retval; retval 1421 arch/parisc/kernel/firmware.c int retval; retval 1425 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_IO, PDC_PAT_IO_GET_PCI_ROUTING_TABLE_SIZE, retval 1430 arch/parisc/kernel/firmware.c return retval; retval 1442 arch/parisc/kernel/firmware.c int retval; retval 1446 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_IO, PDC_PAT_IO_GET_PCI_ROUTING_TABLE, retval 1450 arch/parisc/kernel/firmware.c return retval; retval 1464 arch/parisc/kernel/firmware.c int retval; retval 1468 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_PD, PDC_PAT_PD_GET_ADDR_MAP, __pa(pdc_result), retval 1474 arch/parisc/kernel/firmware.c return retval; retval 1487 arch/parisc/kernel/firmware.c int retval; retval 1491 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_PD, PDC_PAT_PD_GET_PDC_INTERF_REV, retval 1493 arch/parisc/kernel/firmware.c if (retval == PDC_OK) { retval 1500 arch/parisc/kernel/firmware.c return retval; retval 1513 arch/parisc/kernel/firmware.c int retval; retval 1517 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_IO, PDC_PAT_IO_PCI_CONFIG_READ, retval 1526 arch/parisc/kernel/firmware.c return retval; retval 1539 arch/parisc/kernel/firmware.c int retval; retval 1543 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_IO, PDC_PAT_IO_PCI_CONFIG_WRITE, retval 1547 arch/parisc/kernel/firmware.c return retval; retval 1557 arch/parisc/kernel/firmware.c int retval; retval 1561 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_MEM, PDC_PAT_MEM_PD_INFO, retval 1563 arch/parisc/kernel/firmware.c if (retval == PDC_OK) retval 1567 arch/parisc/kernel/firmware.c return retval; retval 1580 arch/parisc/kernel/firmware.c int retval; retval 1584 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_MEM, PDC_PAT_MEM_CELL_INFO, retval 1586 arch/parisc/kernel/firmware.c if (retval == PDC_OK) retval 1590 arch/parisc/kernel/firmware.c return retval; retval 1603 arch/parisc/kernel/firmware.c int retval; retval 1608 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_MEM, PDC_PAT_MEM_CELL_READ, retval 1612 arch/parisc/kernel/firmware.c if (retval == PDC_OK) { retval 1620 arch/parisc/kernel/firmware.c WARN_ON(retval == PDC_OK && pdc_result[0] > max_entries); retval 1622 arch/parisc/kernel/firmware.c return retval; retval 1636 arch/parisc/kernel/firmware.c int retval; retval 1640 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_MEM, PDC_PAT_MEM_PD_READ, retval 1644 arch/parisc/kernel/firmware.c if (retval == PDC_OK) { retval 1652 arch/parisc/kernel/firmware.c return retval; retval 1665 arch/parisc/kernel/firmware.c int retval; retval 1669 arch/parisc/kernel/firmware.c retval = mem_pdc_call(PDC_PAT_MEM, PDC_PAT_MEM_ADDRESS, retval 1672 arch/parisc/kernel/firmware.c if (retval == PDC_OK) retval 1677 arch/parisc/kernel/firmware.c return retval; retval 164 arch/parisc/kernel/pdc_chassis.c int retval = 0; retval 174 arch/parisc/kernel/pdc_chassis.c retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_BSTART, PDC_CHASSIS_LSTATE_RUN_NORMAL); retval 178 arch/parisc/kernel/pdc_chassis.c retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_BCOMPLETE, PDC_CHASSIS_LSTATE_RUN_NORMAL); retval 182 arch/parisc/kernel/pdc_chassis.c retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_SHUTDOWN, PDC_CHASSIS_LSTATE_NONOS); retval 186 arch/parisc/kernel/pdc_chassis.c retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_PANIC, PDC_CHASSIS_LSTATE_RUN_CRASHREC); retval 190 arch/parisc/kernel/pdc_chassis.c retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_LPMC, PDC_CHASSIS_LSTATE_RUN_SYSINT); retval 194 arch/parisc/kernel/pdc_chassis.c retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_HPMC, PDC_CHASSIS_LSTATE_RUN_NCRIT); retval 198 arch/parisc/kernel/pdc_chassis.c retval = -1; retval 200 arch/parisc/kernel/pdc_chassis.c } else retval = -1; retval 205 arch/parisc/kernel/pdc_chassis.c retval = pdc_chassis_disp(PDC_CHASSIS_DISP_DATA(OSTAT_INIT)); retval 209 arch/parisc/kernel/pdc_chassis.c retval = pdc_chassis_disp(PDC_CHASSIS_DISP_DATA(OSTAT_RUN)); retval 213 arch/parisc/kernel/pdc_chassis.c retval = pdc_chassis_disp(PDC_CHASSIS_DISP_DATA(OSTAT_SHUT)); retval 218 arch/parisc/kernel/pdc_chassis.c retval = pdc_chassis_disp(PDC_CHASSIS_DISP_DATA(OSTAT_FLT)); retval 222 arch/parisc/kernel/pdc_chassis.c retval = pdc_chassis_disp(PDC_CHASSIS_DISP_DATA(OSTAT_WARN)); retval 226 arch/parisc/kernel/pdc_chassis.c retval = -1; retval 228 arch/parisc/kernel/pdc_chassis.c } else retval = -1; retval 232 arch/parisc/kernel/pdc_chassis.c return retval; retval 281 arch/parisc/math-emu/fpudispatch.c u_int retval, local_status; retval 545 arch/parisc/math-emu/fpudispatch.c retval = sgl_fcmp(&fpregs[r1], retval 550 arch/parisc/math-emu/fpudispatch.c return(retval); retval 552 arch/parisc/math-emu/fpudispatch.c retval = dbl_fcmp(&fpregs[r1], retval 557 arch/parisc/math-emu/fpudispatch.c return(retval); retval 576 arch/parisc/math-emu/fpudispatch.c retval = sgl_fcmp(&fpregs[r1], retval 581 arch/parisc/math-emu/fpudispatch.c return(retval); retval 583 arch/parisc/math-emu/fpudispatch.c retval = dbl_fcmp(&fpregs[r1], retval 588 arch/parisc/math-emu/fpudispatch.c return(retval); retval 700 arch/parisc/math-emu/fpudispatch.c u_int retval, local_status; retval 949 arch/parisc/math-emu/fpudispatch.c retval = sgl_fcmp(&fpregs[r1], retval 954 arch/parisc/math-emu/fpudispatch.c return(retval); retval 956 arch/parisc/math-emu/fpudispatch.c retval = dbl_fcmp(&fpregs[r1], retval 961 arch/parisc/math-emu/fpudispatch.c return(retval); retval 981 arch/parisc/math-emu/fpudispatch.c retval = sgl_fcmp(&fpregs[r1], retval 986 arch/parisc/math-emu/fpudispatch.c return(retval); retval 988 arch/parisc/math-emu/fpudispatch.c retval = dbl_fcmp(&fpregs[r1], retval 993 arch/parisc/math-emu/fpudispatch.c return(retval); retval 36 arch/powerpc/include/asm/asm-prototypes.h void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf); retval 100 arch/powerpc/include/asm/trace.h TP_PROTO(unsigned long opcode, long retval, unsigned long *retbuf), retval 102 arch/powerpc/include/asm/trace.h TP_ARGS(opcode, retval, retbuf), retval 108 arch/powerpc/include/asm/trace.h __field(long, retval) retval 113 arch/powerpc/include/asm/trace.h __entry->retval = retval; retval 116 arch/powerpc/include/asm/trace.h TP_printk("opcode=%lu retval=%ld", __entry->opcode, __entry->retval), retval 147 arch/powerpc/include/asm/trace.h TP_PROTO(unsigned long opcode, unsigned long retval), retval 149 arch/powerpc/include/asm/trace.h TP_ARGS(opcode, retval), retval 153 arch/powerpc/include/asm/trace.h __field(unsigned long, retval) retval 158 arch/powerpc/include/asm/trace.h __entry->retval = retval; retval 161 arch/powerpc/include/asm/trace.h TP_printk("opcode=%lu retval=%lu", __entry->opcode, __entry->retval), retval 123 arch/powerpc/include/asm/uaccess.h #define __put_user_asm2(x, ptr, retval) \ retval 124 arch/powerpc/include/asm/uaccess.h __put_user_asm(x, ptr, retval, "std") retval 141 arch/powerpc/include/asm/uaccess.h #define __put_user_size(x, ptr, size, retval) \ retval 143 arch/powerpc/include/asm/uaccess.h retval = 0; \ retval 146 arch/powerpc/include/asm/uaccess.h case 1: __put_user_asm(x, ptr, retval, "stb"); break; \ retval 147 arch/powerpc/include/asm/uaccess.h case 2: __put_user_asm(x, ptr, retval, "sth"); break; \ retval 148 arch/powerpc/include/asm/uaccess.h case 4: __put_user_asm(x, ptr, retval, "stw"); break; \ retval 149 arch/powerpc/include/asm/uaccess.h case 8: __put_user_asm2(x, ptr, retval); break; \ retval 239 arch/powerpc/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval) \ retval 241 arch/powerpc/include/asm/uaccess.h retval = 0; \ retval 247 arch/powerpc/include/asm/uaccess.h case 1: __get_user_asm(x, ptr, retval, "lbz"); break; \ retval 248 arch/powerpc/include/asm/uaccess.h case 2: __get_user_asm(x, ptr, retval, "lhz"); break; \ retval 249 arch/powerpc/include/asm/uaccess.h case 4: __get_user_asm(x, ptr, retval, "lwz"); break; \ retval 250 arch/powerpc/include/asm/uaccess.h case 8: __get_user_asm2(x, ptr, retval); break; \ retval 775 arch/powerpc/kvm/book3s_64_mmu_hv.c int retval = 0; retval 798 arch/powerpc/kvm/book3s_64_mmu_hv.c retval |= ret; retval 802 arch/powerpc/kvm/book3s_64_mmu_hv.c return retval; retval 748 arch/powerpc/kvm/mpic.c u32 retval; retval 752 arch/powerpc/kvm/mpic.c retval = 0xFFFFFFFF; retval 758 arch/powerpc/kvm/mpic.c retval = opp->frr; retval 759 arch/powerpc/kvm/mpic.c retval |= (opp->nb_cpus - 1) << FRR_NCPU_SHIFT; retval 762 arch/powerpc/kvm/mpic.c retval = opp->gcr; retval 765 arch/powerpc/kvm/mpic.c retval = opp->vir; retval 768 arch/powerpc/kvm/mpic.c retval = 0x00000000; retval 771 arch/powerpc/kvm/mpic.c retval = opp->brr1; retval 782 arch/powerpc/kvm/mpic.c &retval, get_current_cpu()); retval 791 arch/powerpc/kvm/mpic.c retval = read_IRQreg_ivpr(opp, opp->irq_ipi0 + idx); retval 795 arch/powerpc/kvm/mpic.c retval = opp->spve; retval 802 arch/powerpc/kvm/mpic.c pr_debug("%s: => 0x%08x\n", __func__, retval); retval 803 arch/powerpc/kvm/mpic.c *ptr = retval; retval 852 arch/powerpc/kvm/mpic.c uint32_t retval = -1; retval 862 arch/powerpc/kvm/mpic.c retval = opp->tfrr; retval 868 arch/powerpc/kvm/mpic.c retval = opp->timers[idx].tccr; retval 871 arch/powerpc/kvm/mpic.c retval = opp->timers[idx].tbcr; retval 874 arch/powerpc/kvm/mpic.c retval = read_IRQreg_ivpr(opp, opp->irq_tim0 + idx); retval 877 arch/powerpc/kvm/mpic.c retval = read_IRQreg_idr(opp, opp->irq_tim0 + idx); retval 882 arch/powerpc/kvm/mpic.c pr_debug("%s: => 0x%08x\n", __func__, retval); retval 883 arch/powerpc/kvm/mpic.c *ptr = retval; retval 915 arch/powerpc/kvm/mpic.c uint32_t retval; retval 919 arch/powerpc/kvm/mpic.c retval = 0xFFFFFFFF; retval 926 arch/powerpc/kvm/mpic.c retval = read_IRQreg_ivpr(opp, idx); retval 929 arch/powerpc/kvm/mpic.c retval = read_IRQreg_idr(opp, idx); retval 932 arch/powerpc/kvm/mpic.c retval = read_IRQreg_ilr(opp, idx); retval 936 arch/powerpc/kvm/mpic.c pr_debug("%s: => 0x%08x\n", __func__, retval); retval 937 arch/powerpc/kvm/mpic.c *ptr = retval; retval 1131 arch/powerpc/kvm/mpic.c int retval, irq; retval 1149 arch/powerpc/kvm/mpic.c retval = opp->spve; retval 1153 arch/powerpc/kvm/mpic.c retval = IVPR_VECTOR(opp, src->ivpr); retval 1174 arch/powerpc/kvm/mpic.c return retval; retval 1196 arch/powerpc/kvm/mpic.c uint32_t retval; retval 1199 arch/powerpc/kvm/mpic.c retval = 0xFFFFFFFF; retval 1211 arch/powerpc/kvm/mpic.c retval = dst->ctpr; retval 1214 arch/powerpc/kvm/mpic.c retval = idx; retval 1217 arch/powerpc/kvm/mpic.c retval = openpic_iack(opp, dst, idx); retval 1220 arch/powerpc/kvm/mpic.c retval = 0; retval 1225 arch/powerpc/kvm/mpic.c pr_debug("%s: => 0x%08x\n", __func__, retval); retval 1228 arch/powerpc/kvm/mpic.c *ptr = retval; retval 139 arch/powerpc/mm/pgtable_32.c int retval = 0; retval 149 arch/powerpc/mm/pgtable_32.c retval = 1; retval 158 arch/powerpc/mm/pgtable_32.c return(retval); retval 191 arch/powerpc/oprofile/cell/spu_task_sync.c int retval = 0; retval 212 arch/powerpc/oprofile/cell/spu_task_sync.c retval = -ENOMEM; retval 220 arch/powerpc/oprofile/cell/spu_task_sync.c retval = -ENOMEM; retval 248 arch/powerpc/oprofile/cell/spu_task_sync.c return retval; retval 375 arch/powerpc/oprofile/cell/spu_task_sync.c int retval; retval 379 arch/powerpc/oprofile/cell/spu_task_sync.c retval = prepare_cached_spu_info(spu, objectId); retval 380 arch/powerpc/oprofile/cell/spu_task_sync.c if (retval) retval 388 arch/powerpc/oprofile/cell/spu_task_sync.c retval = -ENOENT; retval 413 arch/powerpc/oprofile/cell/spu_task_sync.c return retval; retval 425 arch/powerpc/oprofile/cell/spu_task_sync.c int retval; retval 432 arch/powerpc/oprofile/cell/spu_task_sync.c retval = release_cached_info(the_spu->number); retval 435 arch/powerpc/oprofile/cell/spu_task_sync.c retval = process_context_switch(the_spu, val); retval 437 arch/powerpc/oprofile/cell/spu_task_sync.c return retval; retval 128 arch/powerpc/platforms/embedded6xx/flipper-pic.c int retval; retval 140 arch/powerpc/platforms/embedded6xx/flipper-pic.c retval = of_address_to_resource(pi, 0, &res); retval 141 arch/powerpc/platforms/embedded6xx/flipper-pic.c if (retval) { retval 163 arch/powerpc/platforms/embedded6xx/hlwd-pic.c int retval; retval 165 arch/powerpc/platforms/embedded6xx/hlwd-pic.c retval = of_address_to_resource(np, 0, &res); retval 166 arch/powerpc/platforms/embedded6xx/hlwd-pic.c if (retval) { retval 41 arch/powerpc/platforms/powernv/opal-call.c static void __trace_opal_exit(unsigned long opcode, unsigned long retval) retval 51 arch/powerpc/platforms/powernv/opal-call.c trace_opal_exit(opcode, retval); retval 69 arch/powerpc/platforms/powernv/opal-tracepoints.c void __trace_opal_exit(long opcode, unsigned long retval) retval 82 arch/powerpc/platforms/powernv/opal-tracepoints.c trace_opal_exit(opcode, retval); retval 115 arch/powerpc/platforms/pseries/hvCall_inst.c static void probe_hcall_exit(void *ignored, unsigned long opcode, long retval, retval 87 arch/powerpc/platforms/pseries/hvcserver.c long retval; retval 88 arch/powerpc/platforms/pseries/hvcserver.c retval = plpar_hcall_norets(H_VTERM_PARTNER_INFO, unit_address, retval 91 arch/powerpc/platforms/pseries/hvcserver.c return hvcs_convert(retval); retval 130 arch/powerpc/platforms/pseries/hvcserver.c int retval; retval 141 arch/powerpc/platforms/pseries/hvcserver.c retval = hvcs_next_partner(unit_address, last_p_partition_ID, retval 143 arch/powerpc/platforms/pseries/hvcserver.c if (retval) { retval 150 arch/powerpc/platforms/pseries/hvcserver.c return retval; retval 216 arch/powerpc/platforms/pseries/hvcserver.c long retval; retval 217 arch/powerpc/platforms/pseries/hvcserver.c retval = plpar_hcall_norets(H_REGISTER_VTERM, unit_address, retval 219 arch/powerpc/platforms/pseries/hvcserver.c return hvcs_convert(retval); retval 235 arch/powerpc/platforms/pseries/hvcserver.c long retval; retval 236 arch/powerpc/platforms/pseries/hvcserver.c retval = plpar_hcall_norets(H_FREE_VTERM, unit_address); retval 237 arch/powerpc/platforms/pseries/hvcserver.c return hvcs_convert(retval); retval 1843 arch/powerpc/platforms/pseries/lpar.c void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf) retval 1859 arch/powerpc/platforms/pseries/lpar.c trace_hcall_exit(opcode, retval, retbuf); retval 513 arch/powerpc/platforms/pseries/lparcfg.c ssize_t retval; retval 516 arch/powerpc/platforms/pseries/lparcfg.c retval = h_get_ppp(&ppp_data); retval 517 arch/powerpc/platforms/pseries/lparcfg.c if (retval) retval 518 arch/powerpc/platforms/pseries/lparcfg.c return retval; retval 535 arch/powerpc/platforms/pseries/lparcfg.c retval = plpar_hcall_norets(H_SET_PPP, new_entitled, new_weight); retval 536 arch/powerpc/platforms/pseries/lparcfg.c return retval; retval 602 arch/powerpc/platforms/pseries/lparcfg.c ssize_t retval; retval 626 arch/powerpc/platforms/pseries/lparcfg.c retval = update_ppp(new_entitled_ptr, NULL); retval 633 arch/powerpc/platforms/pseries/lparcfg.c retval = update_ppp(NULL, new_weight_ptr); retval 640 arch/powerpc/platforms/pseries/lparcfg.c retval = update_mpp(new_entitled_ptr, NULL); retval 647 arch/powerpc/platforms/pseries/lparcfg.c retval = update_mpp(NULL, new_weight_ptr); retval 651 arch/powerpc/platforms/pseries/lparcfg.c if (retval == H_SUCCESS || retval == H_CONSTRAINED) { retval 652 arch/powerpc/platforms/pseries/lparcfg.c retval = count; retval 653 arch/powerpc/platforms/pseries/lparcfg.c } else if (retval == H_BUSY) { retval 654 arch/powerpc/platforms/pseries/lparcfg.c retval = -EBUSY; retval 655 arch/powerpc/platforms/pseries/lparcfg.c } else if (retval == H_HARDWARE) { retval 656 arch/powerpc/platforms/pseries/lparcfg.c retval = -EIO; retval 657 arch/powerpc/platforms/pseries/lparcfg.c } else if (retval == H_PARAMETER) { retval 658 arch/powerpc/platforms/pseries/lparcfg.c retval = -EINVAL; retval 661 arch/powerpc/platforms/pseries/lparcfg.c return retval; retval 114 arch/s390/mm/extmem.c struct dcss_segment *tmp, *retval = NULL; retval 121 arch/s390/mm/extmem.c retval = tmp; retval 125 arch/s390/mm/extmem.c return retval; retval 92 arch/sh/boards/mach-sh03/rtc.c int retval = 0; retval 117 arch/sh/boards/mach-sh03/rtc.c retval = -EINVAL; retval 121 arch/sh/boards/mach-sh03/rtc.c return retval; retval 77 arch/sh/include/asm/bitops-grb.h int mask, retval; retval 98 arch/sh/include/asm/bitops-grb.h "=&r" (retval), retval 103 arch/sh/include/asm/bitops-grb.h return retval; retval 108 arch/sh/include/asm/bitops-grb.h int mask, retval,not_mask; retval 131 arch/sh/include/asm/bitops-grb.h "=&r" (retval), retval 137 arch/sh/include/asm/bitops-grb.h return retval; retval 142 arch/sh/include/asm/bitops-grb.h int mask, retval; retval 163 arch/sh/include/asm/bitops-grb.h "=&r" (retval), retval 168 arch/sh/include/asm/bitops-grb.h return retval; retval 70 arch/sh/include/asm/bitops-llsc.h int mask, retval; retval 85 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp), "=&r" (retval) retval 90 arch/sh/include/asm/bitops-llsc.h return retval != 0; retval 95 arch/sh/include/asm/bitops-llsc.h int mask, retval; retval 111 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp), "=&r" (retval) retval 116 arch/sh/include/asm/bitops-llsc.h return retval != 0; retval 121 arch/sh/include/asm/bitops-llsc.h int mask, retval; retval 137 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp), "=&r" (retval) retval 142 arch/sh/include/asm/bitops-llsc.h return retval != 0; retval 7 arch/sh/include/asm/cmpxchg-grb.h unsigned long retval; retval 18 arch/sh/include/asm/cmpxchg-grb.h : "=&r" (retval), retval 24 arch/sh/include/asm/cmpxchg-grb.h return retval; retval 29 arch/sh/include/asm/cmpxchg-grb.h unsigned long retval; retval 40 arch/sh/include/asm/cmpxchg-grb.h : "=&r" (retval), retval 46 arch/sh/include/asm/cmpxchg-grb.h return retval; retval 51 arch/sh/include/asm/cmpxchg-grb.h unsigned long retval; retval 62 arch/sh/include/asm/cmpxchg-grb.h : "=&r" (retval), retval 68 arch/sh/include/asm/cmpxchg-grb.h return retval; retval 74 arch/sh/include/asm/cmpxchg-grb.h unsigned long retval; retval 87 arch/sh/include/asm/cmpxchg-grb.h : "=&r" (retval), retval 92 arch/sh/include/asm/cmpxchg-grb.h return retval; retval 9 arch/sh/include/asm/cmpxchg-irq.h unsigned long flags, retval; retval 12 arch/sh/include/asm/cmpxchg-irq.h retval = *m; retval 15 arch/sh/include/asm/cmpxchg-irq.h return retval; retval 20 arch/sh/include/asm/cmpxchg-irq.h unsigned long flags, retval; retval 23 arch/sh/include/asm/cmpxchg-irq.h retval = *m; retval 26 arch/sh/include/asm/cmpxchg-irq.h return retval; retval 31 arch/sh/include/asm/cmpxchg-irq.h unsigned long flags, retval; retval 34 arch/sh/include/asm/cmpxchg-irq.h retval = *m; retval 37 arch/sh/include/asm/cmpxchg-irq.h return retval; retval 43 arch/sh/include/asm/cmpxchg-irq.h __u32 retval; retval 47 arch/sh/include/asm/cmpxchg-irq.h retval = *m; retval 48 arch/sh/include/asm/cmpxchg-irq.h if (retval == old) retval 51 arch/sh/include/asm/cmpxchg-irq.h return retval; retval 7 arch/sh/include/asm/cmpxchg-llsc.h unsigned long retval; retval 18 arch/sh/include/asm/cmpxchg-llsc.h : "=&z"(tmp), "=&r" (retval) retval 23 arch/sh/include/asm/cmpxchg-llsc.h return retval; retval 29 arch/sh/include/asm/cmpxchg-llsc.h unsigned long retval; retval 43 arch/sh/include/asm/cmpxchg-llsc.h : "=&z" (tmp), "=&r" (retval) retval 48 arch/sh/include/asm/cmpxchg-llsc.h return retval; retval 16 arch/sh/include/asm/uaccess_32.h #define __get_user_size(x,ptr,size,retval) \ retval 18 arch/sh/include/asm/uaccess_32.h retval = 0; \ retval 21 arch/sh/include/asm/uaccess_32.h __get_user_asm(x, ptr, retval, "b"); \ retval 24 arch/sh/include/asm/uaccess_32.h __get_user_asm(x, ptr, retval, "w"); \ retval 27 arch/sh/include/asm/uaccess_32.h __get_user_asm(x, ptr, retval, "l"); \ retval 69 arch/sh/include/asm/uaccess_32.h #define __put_user_size(x,ptr,size,retval) \ retval 71 arch/sh/include/asm/uaccess_32.h retval = 0; \ retval 74 arch/sh/include/asm/uaccess_32.h __put_user_asm(x, ptr, retval, "b"); \ retval 77 arch/sh/include/asm/uaccess_32.h __put_user_asm(x, ptr, retval, "w"); \ retval 80 arch/sh/include/asm/uaccess_32.h __put_user_asm(x, ptr, retval, "l"); \ retval 83 arch/sh/include/asm/uaccess_32.h __put_user_u64(x, ptr, retval); \ retval 127 arch/sh/include/asm/uaccess_32.h #define __put_user_u64(val,addr,retval) \ retval 145 arch/sh/include/asm/uaccess_32.h : "=r" (retval) \ retval 146 arch/sh/include/asm/uaccess_32.h : "r" (val), "m" (__m(addr)), "i" (-EFAULT), "0" (retval) \ retval 149 arch/sh/include/asm/uaccess_32.h #define __put_user_u64(val,addr,retval) \ retval 167 arch/sh/include/asm/uaccess_32.h : "=r" (retval) \ retval 168 arch/sh/include/asm/uaccess_32.h : "r" (val), "m" (__m(addr)), "i" (-EFAULT), "0" (retval) \ retval 21 arch/sh/include/asm/uaccess_64.h #define __get_user_size(x,ptr,size,retval) \ retval 23 arch/sh/include/asm/uaccess_64.h retval = 0; \ retval 27 arch/sh/include/asm/uaccess_64.h retval = __get_user_asm_b((void *)&x, \ retval 31 arch/sh/include/asm/uaccess_64.h retval = __get_user_asm_w((void *)&x, \ retval 35 arch/sh/include/asm/uaccess_64.h retval = __get_user_asm_l((void *)&x, \ retval 39 arch/sh/include/asm/uaccess_64.h retval = __get_user_asm_q((void *)&x, \ retval 54 arch/sh/include/asm/uaccess_64.h #define __put_user_size(x,ptr,size,retval) \ retval 56 arch/sh/include/asm/uaccess_64.h retval = 0; \ retval 59 arch/sh/include/asm/uaccess_64.h retval = __put_user_asm_b((void *)&x, \ retval 63 arch/sh/include/asm/uaccess_64.h retval = __put_user_asm_w((void *)&x, \ retval 67 arch/sh/include/asm/uaccess_64.h retval = __put_user_asm_l((void *)&x, \ retval 71 arch/sh/include/asm/uaccess_64.h retval = __put_user_asm_q((void *)&x, \ retval 22 arch/sparc/include/asm/fpumacro.h unsigned long retval; retval 24 arch/sparc/include/asm/fpumacro.h __asm__ __volatile__("rd %%fprs, %0" : "=r" (retval)); retval 26 arch/sparc/include/asm/fpumacro.h return retval; retval 83 arch/sparc/include/asm/irq_64.h unsigned long retval; retval 86 arch/sparc/include/asm/irq_64.h : "=r" (retval)); retval 87 arch/sparc/include/asm/irq_64.h return retval; retval 74 arch/sparc/include/asm/leon.h unsigned long retval; retval 76 arch/sparc/include/asm/leon.h "=r"(retval) : "r"(paddr), "i"(ASI_LEON_BYPASS)); retval 77 arch/sparc/include/asm/leon.h return retval; retval 91 arch/sparc/include/asm/leon.h unsigned int retval; retval 93 arch/sparc/include/asm/leon.h "=r"(retval) : retval 96 arch/sparc/include/asm/leon.h return retval; retval 83 arch/sparc/include/asm/mbus.h register int retval; retval 86 arch/sparc/include/asm/mbus.h "=r" (retval) : retval 88 arch/sparc/include/asm/mbus.h return (retval & 3); retval 33 arch/sparc/kernel/irq_32.c unsigned long retval; retval 41 arch/sparc/kernel/irq_32.c : "=&r" (retval), "=r" (tmp) retval 45 arch/sparc/kernel/irq_32.c return retval; retval 459 arch/sparc/kernel/sys_sparc_64.c unsigned long retval = -EINVAL; retval 465 arch/sparc/kernel/sys_sparc_64.c retval = ksys_mmap_pgoff(addr, len, prot, flags, fd, off >> PAGE_SHIFT); retval 467 arch/sparc/kernel/sys_sparc_64.c return retval; retval 26 arch/sparc/mm/leon_mm.c unsigned int retval; retval 29 arch/sparc/mm/leon_mm.c "=r" (retval) : retval 32 arch/sparc/mm/leon_mm.c return (retval & SRMMU_CTX_PMASK) << 4; retval 757 arch/sparc/mm/srmmu.c unsigned long retval; retval 763 arch/sparc/mm/srmmu.c "=r" (retval) : retval 766 arch/sparc/mm/srmmu.c retval = leon_swprobe(vaddr, NULL); retval 768 arch/sparc/mm/srmmu.c return retval; retval 146 arch/sparc/prom/tree_32.c int retval; retval 148 arch/sparc/prom/tree_32.c retval = prom_getint(node, property); retval 149 arch/sparc/prom/tree_32.c if(retval == -1) return deflt; retval 151 arch/sparc/prom/tree_32.c return retval; retval 158 arch/sparc/prom/tree_32.c int retval; retval 160 arch/sparc/prom/tree_32.c retval = prom_getproplen(node, prop); retval 161 arch/sparc/prom/tree_32.c if(retval == -1) return 0; retval 162 arch/sparc/prom/tree_64.c int retval; retval 164 arch/sparc/prom/tree_64.c retval = prom_getint(node, property); retval 165 arch/sparc/prom/tree_64.c if (retval == -1) retval 168 arch/sparc/prom/tree_64.c return retval; retval 175 arch/sparc/prom/tree_64.c int retval; retval 177 arch/sparc/prom/tree_64.c retval = prom_getproplen(node, prop); retval 178 arch/sparc/prom/tree_64.c if (retval == -1) retval 24 arch/x86/boot/compressed/mkpiggy.c int retval = 1; retval 63 arch/x86/boot/compressed/mkpiggy.c retval = 0; retval 67 arch/x86/boot/compressed/mkpiggy.c return retval; retval 161 arch/x86/events/amd/iommu.c int retval; retval 174 arch/x86/events/amd/iommu.c retval = 0; retval 179 arch/x86/events/amd/iommu.c retval = -ENOSPC; retval 182 arch/x86/events/amd/iommu.c return retval; retval 344 arch/x86/events/amd/iommu.c int retval; retval 349 arch/x86/events/amd/iommu.c retval = get_next_avail_iommu_bnk_cntr(event); retval 350 arch/x86/events/amd/iommu.c if (retval) retval 351 arch/x86/events/amd/iommu.c return retval; retval 110 arch/x86/ia32/ia32_aout.c int retval; retval 134 arch/x86/ia32/ia32_aout.c retval = flush_old_exec(bprm); retval 135 arch/x86/ia32/ia32_aout.c if (retval) retval 136 arch/x86/ia32/ia32_aout.c return retval; retval 155 arch/x86/ia32/ia32_aout.c retval = setup_arg_pages(bprm, IA32_STACK_TOP, EXSTACK_DEFAULT); retval 156 arch/x86/ia32/ia32_aout.c if (retval < 0) retval 157 arch/x86/ia32/ia32_aout.c return retval; retval 252 arch/x86/ia32/ia32_aout.c int retval; retval 256 arch/x86/ia32/ia32_aout.c retval = -ENOEXEC; retval 288 arch/x86/ia32/ia32_aout.c retval = vm_brk(start_addr, ex.a_text + ex.a_data + ex.a_bss); retval 289 arch/x86/ia32/ia32_aout.c if (retval) retval 294 arch/x86/ia32/ia32_aout.c retval = 0; retval 302 arch/x86/ia32/ia32_aout.c retval = error; retval 309 arch/x86/ia32/ia32_aout.c retval = vm_brk(start_addr + len, bss - len); retval 310 arch/x86/ia32/ia32_aout.c if (retval) retval 313 arch/x86/ia32/ia32_aout.c retval = 0; retval 315 arch/x86/ia32/ia32_aout.c return retval; retval 318 arch/x86/include/asm/uaccess.h #define __get_user_asm_u64(x, ptr, retval, errret) \ retval 333 arch/x86/include/asm/uaccess.h : "=r" (retval), "=&A"(x) \ retval 335 arch/x86/include/asm/uaccess.h "i" (errret), "0" (retval)); \ retval 340 arch/x86/include/asm/uaccess.h #define __get_user_asm_u64(x, ptr, retval, errret) \ retval 341 arch/x86/include/asm/uaccess.h __get_user_asm(x, ptr, retval, "q", "", "=r", errret) retval 346 arch/x86/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval, errret) \ retval 348 arch/x86/include/asm/uaccess.h retval = 0; \ retval 352 arch/x86/include/asm/uaccess.h __get_user_asm(x, ptr, retval, "b", "b", "=q", errret); \ retval 355 arch/x86/include/asm/uaccess.h __get_user_asm(x, ptr, retval, "w", "w", "=r", errret); \ retval 358 arch/x86/include/asm/uaccess.h __get_user_asm(x, ptr, retval, "l", "k", "=r", errret); \ retval 361 arch/x86/include/asm/uaccess.h __get_user_asm_u64(x, ptr, retval, errret); \ retval 479 arch/x86/include/asm/uaccess.h #define __put_user_asm(x, addr, retval, itype, rtype, ltype, errret) do { \ retval 480 arch/x86/include/asm/uaccess.h retval = __put_user_failed(x, addr, itype, rtype, ltype, errret); \ retval 30 arch/x86/include/uapi/asm/vm86.h #define VM86_TYPE(retval) ((retval) & 0xff) retval 31 arch/x86/include/uapi/asm/vm86.h #define VM86_ARG(retval) ((retval) >> 8) retval 102 arch/x86/kernel/acpi/cstate.c long retval; retval 116 arch/x86/kernel/acpi/cstate.c retval = 0; retval 121 arch/x86/kernel/acpi/cstate.c retval = -1; retval 128 arch/x86/kernel/acpi/cstate.c retval = -1; retval 142 arch/x86/kernel/acpi/cstate.c return retval; retval 150 arch/x86/kernel/acpi/cstate.c long retval; retval 164 arch/x86/kernel/acpi/cstate.c retval = call_on_cpu(cpu, acpi_processor_ffh_cstate_probe_cpu, cx, retval 166 arch/x86/kernel/acpi/cstate.c if (retval == 0) { retval 180 arch/x86/kernel/acpi/cstate.c return retval; retval 747 arch/x86/kernel/cpu/cacheinfo.c int retval; retval 749 arch/x86/kernel/cpu/cacheinfo.c retval = cpuid4_cache_lookup_regs(i, &this_leaf); retval 750 arch/x86/kernel/cpu/cacheinfo.c if (retval < 0) retval 599 arch/x86/kernel/kgdb.c int retval; retval 601 arch/x86/kernel/kgdb.c retval = register_die_notifier(&kgdb_notifier); retval 602 arch/x86/kernel/kgdb.c if (retval) retval 605 arch/x86/kernel/kgdb.c retval = register_nmi_handler(NMI_LOCAL, kgdb_nmi_handler, retval 607 arch/x86/kernel/kgdb.c if (retval) retval 610 arch/x86/kernel/kgdb.c retval = register_nmi_handler(NMI_UNKNOWN, kgdb_nmi_handler, retval 613 arch/x86/kernel/kgdb.c if (retval) retval 616 arch/x86/kernel/kgdb.c return retval; retval 623 arch/x86/kernel/kgdb.c return retval; retval 362 arch/x86/kernel/ldt.c int retval = 0; retval 373 arch/x86/kernel/ldt.c retval = -ENOMEM; retval 381 arch/x86/kernel/ldt.c retval = map_ldt_struct(mm, new_ldt, 0); retval 382 arch/x86/kernel/ldt.c if (retval) { retval 391 arch/x86/kernel/ldt.c return retval; retval 414 arch/x86/kernel/ldt.c int retval; retval 419 arch/x86/kernel/ldt.c retval = 0; retval 431 arch/x86/kernel/ldt.c retval = -EFAULT; retval 438 arch/x86/kernel/ldt.c retval = -EFAULT; retval 442 arch/x86/kernel/ldt.c retval = bytecount; retval 446 arch/x86/kernel/ldt.c return retval; retval 169 arch/x86/kernel/ptrace.c unsigned int retval; retval 171 arch/x86/kernel/ptrace.c retval = *pt_regs_access(task_pt_regs(task), offset); retval 174 arch/x86/kernel/ptrace.c retval = get_user_gs(task_pt_regs(task)); retval 176 arch/x86/kernel/ptrace.c retval = task_user_gs(task); retval 178 arch/x86/kernel/ptrace.c return retval; retval 324 arch/x86/kernel/ptrace.c unsigned long retval = task_pt_regs(task)->flags; retval 330 arch/x86/kernel/ptrace.c retval &= ~X86_EFLAGS_TF; retval 332 arch/x86/kernel/ptrace.c return retval; retval 46 arch/x86/kernel/rtc.c int retval = 0; retval 50 arch/x86/kernel/rtc.c retval = mc146818_set_time(&tm); retval 51 arch/x86/kernel/rtc.c if (retval) retval 53 arch/x86/kernel/rtc.c __func__, retval); retval 58 arch/x86/kernel/rtc.c retval = -EINVAL; retval 60 arch/x86/kernel/rtc.c return retval; retval 116 arch/x86/kernel/smpboot.c int retval = x86_topology_update; retval 119 arch/x86/kernel/smpboot.c return retval; retval 96 arch/x86/kernel/vm86_32.c void save_v86_state(struct kernel_vm86_regs *regs, int retval) retval 161 arch/x86/kernel/vm86_32.c regs->pt.ax = retval; retval 66 arch/x86/math-emu/poly.h int retval; retval 67 arch/x86/math-emu/poly.h asm volatile ("mull %2; movl %%edx,%%eax":"=a" (retval) retval 70 arch/x86/math-emu/poly.h return retval; retval 187 arch/x86/mm/ioremap.c int retval; retval 220 arch/x86/mm/ioremap.c retval = reserve_memtype(phys_addr, (u64)phys_addr + size, retval 222 arch/x86/mm/ioremap.c if (retval) { retval 223 arch/x86/mm/ioremap.c printk(KERN_ERR "ioremap reserve_memtype failed %d\n", retval); retval 2080 arch/x86/mm/pageattr.c int retval; retval 2086 arch/x86/mm/pageattr.c retval = cpa_clear_pages_array(pages, numpages, retval 2088 arch/x86/mm/pageattr.c if (retval) retval 2089 arch/x86/mm/pageattr.c return retval; retval 2214 arch/x86/mm/pageattr.c int retval = -EINVAL; retval 2236 arch/x86/mm/pageattr.c retval = __change_page_attr_set_clr(&cpa, 0); retval 2240 arch/x86/mm/pageattr.c return retval; retval 2251 arch/x86/mm/pageattr.c int retval; retval 2271 arch/x86/mm/pageattr.c retval = __change_page_attr_set_clr(&cpa, 0); retval 2274 arch/x86/mm/pageattr.c return retval; retval 178 arch/x86/pci/ce4100.c int retval = 0; retval 238 arch/x86/pci/ce4100.c retval = 1; retval 240 arch/x86/pci/ce4100.c return retval; retval 32 arch/x86/platform/intel-mid/intel_mid_vrtc.c unsigned char retval; retval 39 arch/x86/platform/intel-mid/intel_mid_vrtc.c retval = __raw_readb(vrtc_virt_base + (reg << 2)); retval 41 arch/x86/platform/intel-mid/intel_mid_vrtc.c return retval; retval 91 arch/x86/platform/intel-mid/intel_mid_vrtc.c int retval = 0; retval 111 arch/x86/platform/intel-mid/intel_mid_vrtc.c retval = -EINVAL; retval 113 arch/x86/platform/intel-mid/intel_mid_vrtc.c return retval; retval 93 arch/xtensa/include/asm/uaccess.h #define __put_user_size(x, ptr, size, retval) \ retval 96 arch/xtensa/include/asm/uaccess.h retval = 0; \ retval 98 arch/xtensa/include/asm/uaccess.h case 1: __put_user_asm(x, ptr, retval, 1, "s8i", __cb); break; \ retval 99 arch/xtensa/include/asm/uaccess.h case 2: __put_user_asm(x, ptr, retval, 2, "s16i", __cb); break; \ retval 100 arch/xtensa/include/asm/uaccess.h case 4: __put_user_asm(x, ptr, retval, 4, "s32i", __cb); break; \ retval 103 arch/xtensa/include/asm/uaccess.h retval = __copy_to_user(ptr, &__v64, 8) ? -EFAULT : 0; \ retval 193 arch/xtensa/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval) \ retval 196 arch/xtensa/include/asm/uaccess.h retval = 0; \ retval 198 arch/xtensa/include/asm/uaccess.h case 1: __get_user_asm(x, ptr, retval, 1, "l8ui", __cb); break;\ retval 199 arch/xtensa/include/asm/uaccess.h case 2: __get_user_asm(x, ptr, retval, 2, "l16ui", __cb); break;\ retval 200 arch/xtensa/include/asm/uaccess.h case 4: __get_user_asm(x, ptr, retval, 4, "l32i", __cb); break;\ retval 204 arch/xtensa/include/asm/uaccess.h retval = -EFAULT; \ retval 696 block/genhd.c int retval; retval 717 block/genhd.c retval = blk_alloc_devt(&disk->part0, &devt); retval 718 block/genhd.c if (retval) { retval 79 drivers/acpi/acpi_tad.c unsigned long long retval; retval 94 drivers/acpi/acpi_tad.c status = acpi_evaluate_integer(handle, "_SRT", &arg_list, &retval); retval 98 drivers/acpi/acpi_tad.c if (ACPI_FAILURE(status) || retval) retval 262 drivers/acpi/acpi_tad.c unsigned long long retval; retval 270 drivers/acpi/acpi_tad.c status = acpi_evaluate_integer(handle, method, &arg_list, &retval); retval 274 drivers/acpi/acpi_tad.c if (ACPI_FAILURE(status) || retval) retval 311 drivers/acpi/acpi_tad.c unsigned long long retval; retval 318 drivers/acpi/acpi_tad.c status = acpi_evaluate_integer(handle, method, &arg_list, &retval); retval 325 drivers/acpi/acpi_tad.c if ((u32)retval == ACPI_TAD_WAKE_DISABLED) retval 328 drivers/acpi/acpi_tad.c return sprintf(buf, "%u\n", (u32)retval); retval 367 drivers/acpi/acpi_tad.c unsigned long long retval; retval 374 drivers/acpi/acpi_tad.c status = acpi_evaluate_integer(handle, "_CWS", &arg_list, &retval); retval 378 drivers/acpi/acpi_tad.c if (ACPI_FAILURE(status) || retval) retval 408 drivers/acpi/acpi_tad.c unsigned long long retval; retval 415 drivers/acpi/acpi_tad.c status = acpi_evaluate_integer(handle, "_GWS", &arg_list, &retval); retval 422 drivers/acpi/acpi_tad.c return sprintf(buf, "0x%02X\n", (u32)retval); retval 450 drivers/acpi/acpica/hwgpe.c u8 retval; retval 500 drivers/acpi/acpica/hwgpe.c c->retval |= ret_mask; retval 591 drivers/acpi/acpica/hwgpe.c .retval = 0, retval 610 drivers/acpi/acpica/hwgpe.c return (context.retval != 0); retval 425 drivers/acpi/cppc_acpi.c int retval = 0; retval 450 drivers/acpi/cppc_acpi.c retval = -EFAULT; retval 475 drivers/acpi/cppc_acpi.c retval = -EFAULT; retval 485 drivers/acpi/cppc_acpi.c retval = -EFAULT; retval 490 drivers/acpi/cppc_acpi.c retval = -EFAULT; retval 508 drivers/acpi/cppc_acpi.c retval = -EFAULT; retval 529 drivers/acpi/cppc_acpi.c if (retval) { retval 537 drivers/acpi/cppc_acpi.c return retval; retval 1374 drivers/acpi/ec.c ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) retval 180 drivers/acpi/glue.c int retval = -EINVAL; retval 197 drivers/acpi/glue.c retval = -ENOMEM; retval 238 drivers/acpi/glue.c retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj, retval 240 drivers/acpi/glue.c if (retval) retval 242 drivers/acpi/glue.c physical_node_name, retval); retval 244 drivers/acpi/glue.c retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj, retval 246 drivers/acpi/glue.c if (retval) retval 248 drivers/acpi/glue.c retval); retval 261 drivers/acpi/glue.c return retval; retval 203 drivers/acpi/ioapic.c acpi_status status, retval = AE_OK; retval 207 drivers/acpi/ioapic.c root_handle, (void **)&retval); retval 209 drivers/acpi/ioapic.c return ACPI_SUCCESS(status) && ACPI_SUCCESS(retval) ? 0 : -ENODEV; retval 231 drivers/acpi/ioapic.c int retval = 0; retval 239 drivers/acpi/ioapic.c retval = -EBUSY; retval 247 drivers/acpi/ioapic.c return retval; retval 818 drivers/acpi/pci_link.c int retval; retval 822 drivers/acpi/pci_link.c retval = get_option(&str, &irq); retval 824 drivers/acpi/pci_link.c if (!retval) retval 838 drivers/acpi/pci_link.c if (retval != 2) /* no next number */ retval 177 drivers/acpi/pci_root.c const u32 *capbuf, u32 *retval) retval 189 drivers/acpi/pci_root.c *retval = *((u32 *)(context.ret.pointer + 8)); retval 528 drivers/acpi/pptt.c int retval; retval 535 drivers/acpi/pptt.c retval = topology_get_acpi_cpu_tag(table, cpu, level, flag); retval 537 drivers/acpi/pptt.c cpu, level, retval); retval 540 drivers/acpi/pptt.c return retval; retval 1429 drivers/acpi/processor_idle.c int retval; retval 1449 drivers/acpi/processor_idle.c retval = cpuidle_register_driver(&acpi_idle_driver); retval 1450 drivers/acpi/processor_idle.c if (retval) retval 1451 drivers/acpi/processor_idle.c return retval; retval 1466 drivers/acpi/processor_idle.c retval = cpuidle_register_device(dev); retval 1467 drivers/acpi/processor_idle.c if (retval) { retval 1470 drivers/acpi/processor_idle.c return retval; retval 577 drivers/acpi/processor_perflib.c int retval = 0; retval 602 drivers/acpi/processor_perflib.c retval = -EBUSY; retval 607 drivers/acpi/processor_perflib.c retval = -EINVAL; retval 622 drivers/acpi/processor_perflib.c retval = -EINVAL; retval 626 drivers/acpi/processor_perflib.c if (retval) retval 671 drivers/acpi/processor_perflib.c retval = -EINVAL; retval 676 drivers/acpi/processor_perflib.c retval = -EINVAL; retval 710 drivers/acpi/processor_perflib.c if (retval) { retval 721 drivers/acpi/processor_perflib.c return retval; retval 58 drivers/acpi/processor_throttling.c int retval = 0; retval 86 drivers/acpi/processor_throttling.c retval = -EINVAL; retval 90 drivers/acpi/processor_throttling.c if (retval) retval 136 drivers/acpi/processor_throttling.c retval = -EINVAL; retval 141 drivers/acpi/processor_throttling.c retval = -EINVAL; retval 183 drivers/acpi/processor_throttling.c if (retval) { retval 191 drivers/acpi/processor_throttling.c return retval; retval 74 drivers/amba/bus.c int retval = 0; retval 76 drivers/amba/bus.c retval = add_uevent_var(env, "AMBA_ID=%08x", pcdev->periphid); retval 77 drivers/amba/bus.c if (retval) retval 78 drivers/amba/bus.c return retval; retval 80 drivers/amba/bus.c retval = add_uevent_var(env, "MODALIAS=amba:d%08X", pcdev->periphid); retval 81 drivers/amba/bus.c return retval; retval 1442 drivers/ata/sata_fsl.c int retval = -ENXIO; retval 1496 drivers/ata/sata_fsl.c retval = -ENOMEM; retval 1519 drivers/ata/sata_fsl.c retval = device_create_file(host->dev, &host_priv->intr_coalescing); retval 1520 drivers/ata/sata_fsl.c if (retval) retval 1528 drivers/ata/sata_fsl.c retval = device_create_file(host->dev, &host_priv->rx_watermark); retval 1529 drivers/ata/sata_fsl.c if (retval) { retval 1545 drivers/ata/sata_fsl.c return retval; retval 2423 drivers/atm/nicstar.c int retval; retval 2424 drivers/atm/nicstar.c retval = retval 2427 drivers/atm/nicstar.c return retval; retval 95 drivers/base/attribute_container.c int retval = -EBUSY; retval 101 drivers/base/attribute_container.c retval = 0; retval 106 drivers/base/attribute_container.c return retval; retval 560 drivers/base/bus.c int retval; retval 562 drivers/base/bus.c retval = bus_create_file(bus, &bus_attr_drivers_probe); retval 563 drivers/base/bus.c if (retval) retval 566 drivers/base/bus.c retval = bus_create_file(bus, &bus_attr_drivers_autoprobe); retval 567 drivers/base/bus.c if (retval) retval 570 drivers/base/bus.c return retval; retval 803 drivers/base/bus.c int retval; retval 816 drivers/base/bus.c retval = kobject_set_name(&priv->subsys.kobj, "%s", bus->name); retval 817 drivers/base/bus.c if (retval) retval 824 drivers/base/bus.c retval = kset_register(&priv->subsys); retval 825 drivers/base/bus.c if (retval) retval 828 drivers/base/bus.c retval = bus_create_file(bus, &bus_attr_uevent); retval 829 drivers/base/bus.c if (retval) retval 835 drivers/base/bus.c retval = -ENOMEM; retval 842 drivers/base/bus.c retval = -ENOMEM; retval 851 drivers/base/bus.c retval = add_probe_files(bus); retval 852 drivers/base/bus.c if (retval) retval 855 drivers/base/bus.c retval = bus_add_groups(bus, bus->bus_groups); retval 856 drivers/base/bus.c if (retval) retval 875 drivers/base/bus.c return retval; retval 229 drivers/base/class.c int retval; retval 233 drivers/base/class.c retval = -ENOMEM; retval 241 drivers/base/class.c retval = __class_register(cls, key); retval 242 drivers/base/class.c if (retval) retval 249 drivers/base/class.c return ERR_PTR(retval); retval 1164 drivers/base/core.c int retval = 0; retval 1200 drivers/base/core.c retval = dev->bus->uevent(dev, env); retval 1201 drivers/base/core.c if (retval) retval 1203 drivers/base/core.c dev_name(dev), __func__, retval); retval 1208 drivers/base/core.c retval = dev->class->dev_uevent(dev, env); retval 1209 drivers/base/core.c if (retval) retval 1212 drivers/base/core.c __func__, retval); retval 1217 drivers/base/core.c retval = dev->type->uevent(dev, env); retval 1218 drivers/base/core.c if (retval) retval 1221 drivers/base/core.c __func__, retval); retval 1224 drivers/base/core.c return retval; retval 1241 drivers/base/core.c int retval; retval 1264 drivers/base/core.c retval = kset->uevent_ops->uevent(kset, &dev->kobj, env); retval 1265 drivers/base/core.c if (retval) retval 1761 drivers/base/core.c int retval; retval 1772 drivers/base/core.c retval = kobject_add(&dir->kobj, parent_kobj, "%s", class->name); retval 1773 drivers/base/core.c if (retval < 0) { retval 1775 drivers/base/core.c return ERR_PTR(retval); retval 2823 drivers/base/core.c int retval = -ENODEV; retval 2830 drivers/base/core.c retval = -ENOMEM; retval 2842 drivers/base/core.c retval = kobject_set_name_vargs(&dev->kobj, fmt, args); retval 2843 drivers/base/core.c if (retval) retval 2846 drivers/base/core.c retval = device_add(dev); retval 2847 drivers/base/core.c if (retval) retval 2854 drivers/base/core.c return ERR_PTR(retval); retval 419 drivers/base/cpu.c int retval = -ENODEV; retval 423 drivers/base/cpu.c retval = -ENOMEM; retval 434 drivers/base/cpu.c retval = kobject_set_name_vargs(&dev->kobj, fmt, args); retval 435 drivers/base/cpu.c if (retval) retval 438 drivers/base/cpu.c retval = device_add(dev); retval 439 drivers/base/cpu.c if (retval) retval 446 drivers/base/cpu.c return ERR_PTR(retval); retval 400 drivers/base/firmware_loader/fallback.c ssize_t retval; retval 408 drivers/base/firmware_loader/fallback.c retval = -ENODEV; retval 414 drivers/base/firmware_loader/fallback.c retval = -ENOMEM; retval 418 drivers/base/firmware_loader/fallback.c retval = count; retval 420 drivers/base/firmware_loader/fallback.c retval = fw_realloc_pages(fw_sysfs, offset + count); retval 421 drivers/base/firmware_loader/fallback.c if (retval) retval 424 drivers/base/firmware_loader/fallback.c retval = count; retval 431 drivers/base/firmware_loader/fallback.c return retval; retval 498 drivers/base/firmware_loader/fallback.c int retval = 0; retval 508 drivers/base/firmware_loader/fallback.c retval = device_add(f_dev); retval 509 drivers/base/firmware_loader/fallback.c if (retval) { retval 527 drivers/base/firmware_loader/fallback.c retval = fw_sysfs_wait_timeout(fw_priv, timeout); retval 528 drivers/base/firmware_loader/fallback.c if (retval < 0 && retval != -ENOENT) { retval 535 drivers/base/firmware_loader/fallback.c if (retval == -ERESTARTSYS) retval 536 drivers/base/firmware_loader/fallback.c retval = -EINTR; retval 538 drivers/base/firmware_loader/fallback.c retval = -EAGAIN; retval 540 drivers/base/firmware_loader/fallback.c retval = -ENOMEM; retval 545 drivers/base/firmware_loader/fallback.c return retval; retval 778 drivers/base/platform.c int retval, code; retval 804 drivers/base/platform.c retval = code = __platform_driver_register(drv, module); retval 815 drivers/base/platform.c retval = -ENODEV; retval 819 drivers/base/platform.c if (code != retval) retval 821 drivers/base/platform.c return retval; retval 260 drivers/base/power/runtime.c int retval = 0; retval 263 drivers/base/power/runtime.c retval = -EINVAL; retval 265 drivers/base/power/runtime.c retval = -EACCES; retval 267 drivers/base/power/runtime.c retval = -EAGAIN; retval 270 drivers/base/power/runtime.c retval = -EBUSY; retval 277 drivers/base/power/runtime.c retval = -EAGAIN; retval 279 drivers/base/power/runtime.c retval = -EPERM; retval 281 drivers/base/power/runtime.c retval = 1; retval 283 drivers/base/power/runtime.c return retval; retval 292 drivers/base/power/runtime.c int retval; retval 298 drivers/base/power/runtime.c retval = pm_runtime_get_sync(link->supplier); retval 300 drivers/base/power/runtime.c if (retval < 0 && retval != -EACCES) { retval 302 drivers/base/power/runtime.c return retval; retval 331 drivers/base/power/runtime.c int retval, idx; retval 349 drivers/base/power/runtime.c retval = rpm_get_suppliers(dev); retval 350 drivers/base/power/runtime.c if (retval) retval 357 drivers/base/power/runtime.c retval = cb(dev); retval 370 drivers/base/power/runtime.c && ((dev->power.runtime_status == RPM_SUSPENDING && !retval) retval 371 drivers/base/power/runtime.c || (dev->power.runtime_status == RPM_RESUMING && retval))) { retval 383 drivers/base/power/runtime.c return retval; retval 402 drivers/base/power/runtime.c int retval; retval 405 drivers/base/power/runtime.c retval = rpm_check_suspend_allowed(dev); retval 406 drivers/base/power/runtime.c if (retval < 0) retval 411 drivers/base/power/runtime.c retval = -EAGAIN; retval 419 drivers/base/power/runtime.c retval = -EAGAIN; retval 423 drivers/base/power/runtime.c retval = -EINPROGRESS; retval 424 drivers/base/power/runtime.c if (retval) retval 449 drivers/base/power/runtime.c retval = __rpm_callback(callback, dev); retval 455 drivers/base/power/runtime.c trace_rpm_return_int_rcuidle(dev, _THIS_IP_, retval); retval 456 drivers/base/power/runtime.c return retval ? retval : rpm_suspend(dev, rpmflags | RPM_AUTO); retval 466 drivers/base/power/runtime.c int retval; retval 484 drivers/base/power/runtime.c retval = __rpm_callback(cb, dev); retval 487 drivers/base/power/runtime.c retval = __rpm_callback(cb, dev); retval 490 drivers/base/power/runtime.c dev->power.runtime_error = retval; retval 491 drivers/base/power/runtime.c return retval != -EACCES ? retval : -EIO; retval 520 drivers/base/power/runtime.c int retval; retval 525 drivers/base/power/runtime.c retval = rpm_check_suspend_allowed(dev); retval 527 drivers/base/power/runtime.c if (retval < 0) retval 533 drivers/base/power/runtime.c retval = -EAGAIN; retval 534 drivers/base/power/runtime.c if (retval) retval 580 drivers/base/power/runtime.c retval = -EINPROGRESS; retval 629 drivers/base/power/runtime.c retval = rpm_callback(callback, dev); retval 630 drivers/base/power/runtime.c if (retval) retval 646 drivers/base/power/runtime.c retval = -EAGAIN; retval 662 drivers/base/power/runtime.c trace_rpm_return_int_rcuidle(dev, _THIS_IP_, retval); retval 664 drivers/base/power/runtime.c return retval; retval 672 drivers/base/power/runtime.c if (retval == -EAGAIN || retval == -EBUSY) { retval 712 drivers/base/power/runtime.c int retval = 0; retval 718 drivers/base/power/runtime.c retval = -EINVAL; retval 721 drivers/base/power/runtime.c retval = 1; retval 723 drivers/base/power/runtime.c retval = -EACCES; retval 724 drivers/base/power/runtime.c if (retval) retval 738 drivers/base/power/runtime.c retval = 1; retval 750 drivers/base/power/runtime.c retval = -EINPROGRESS; retval 793 drivers/base/power/runtime.c retval = 1; retval 806 drivers/base/power/runtime.c retval = 0; retval 832 drivers/base/power/runtime.c retval = -EBUSY; retval 837 drivers/base/power/runtime.c if (retval) retval 851 drivers/base/power/runtime.c retval = rpm_callback(callback, dev); retval 852 drivers/base/power/runtime.c if (retval) { retval 865 drivers/base/power/runtime.c if (retval >= 0) retval 877 drivers/base/power/runtime.c trace_rpm_return_int_rcuidle(dev, _THIS_IP_, retval); retval 879 drivers/base/power/runtime.c return retval; retval 963 drivers/base/power/runtime.c int retval; retval 968 drivers/base/power/runtime.c retval = rpm_suspend(dev, RPM_ASYNC); retval 972 drivers/base/power/runtime.c retval = rpm_check_suspend_allowed(dev); retval 973 drivers/base/power/runtime.c if (retval) retval 987 drivers/base/power/runtime.c return retval; retval 1006 drivers/base/power/runtime.c int retval; retval 1016 drivers/base/power/runtime.c retval = rpm_idle(dev, rpmflags); retval 1019 drivers/base/power/runtime.c return retval; retval 1038 drivers/base/power/runtime.c int retval; retval 1048 drivers/base/power/runtime.c retval = rpm_suspend(dev, rpmflags); retval 1051 drivers/base/power/runtime.c return retval; retval 1069 drivers/base/power/runtime.c int retval; retval 1078 drivers/base/power/runtime.c retval = rpm_resume(dev, rpmflags); retval 1081 drivers/base/power/runtime.c return retval; retval 1098 drivers/base/power/runtime.c int retval; retval 1101 drivers/base/power/runtime.c retval = dev->power.disable_depth > 0 ? -EINVAL : retval 1105 drivers/base/power/runtime.c return retval; retval 1296 drivers/base/power/runtime.c int retval = 0; retval 1304 drivers/base/power/runtime.c retval = 1; retval 1312 drivers/base/power/runtime.c return retval; retval 137 drivers/base/power/wakeup_stats.c int retval = -ENODEV; retval 141 drivers/base/power/wakeup_stats.c retval = -ENOMEM; retval 154 drivers/base/power/wakeup_stats.c retval = kobject_set_name(&dev->kobj, "wakeup%d", ws->id); retval 155 drivers/base/power/wakeup_stats.c if (retval) retval 158 drivers/base/power/wakeup_stats.c retval = device_add(dev); retval 159 drivers/base/power/wakeup_stats.c if (retval) retval 166 drivers/base/power/wakeup_stats.c return ERR_PTR(retval); retval 319 drivers/block/drbd/drbd_main.c int retval; retval 328 drivers/block/drbd/drbd_main.c retval = thi->function(thi); retval 363 drivers/block/drbd/drbd_main.c return retval; retval 1062 drivers/block/umem.c int retval, i; retval 1065 drivers/block/umem.c retval = pci_register_driver(&mm_pci_driver); retval 1066 drivers/block/umem.c if (retval) retval 71 drivers/bus/mips_cdmm.c int retval = 0; retval 73 drivers/bus/mips_cdmm.c retval = add_uevent_var(env, "CDMM_CPU=%u", cdev->cpu); retval 74 drivers/bus/mips_cdmm.c if (retval) retval 75 drivers/bus/mips_cdmm.c return retval; retval 77 drivers/bus/mips_cdmm.c retval = add_uevent_var(env, "CDMM_TYPE=0x%02x", cdev->type); retval 78 drivers/bus/mips_cdmm.c if (retval) retval 79 drivers/bus/mips_cdmm.c return retval; retval 81 drivers/bus/mips_cdmm.c retval = add_uevent_var(env, "CDMM_REV=%u", cdev->rev); retval 82 drivers/bus/mips_cdmm.c if (retval) retval 83 drivers/bus/mips_cdmm.c return retval; retval 85 drivers/bus/mips_cdmm.c retval = add_uevent_var(env, "MODALIAS=mipscdmm:t%02X", cdev->type); retval 86 drivers/bus/mips_cdmm.c return retval; retval 85 drivers/char/agp/amd-k7-agp.c int retval = 0; retval 97 drivers/char/agp/amd-k7-agp.c retval = -ENOMEM; retval 100 drivers/char/agp/amd-k7-agp.c retval = amd_create_page_map(entry); retval 101 drivers/char/agp/amd-k7-agp.c if (retval != 0) retval 107 drivers/char/agp/amd-k7-agp.c if (retval != 0) retval 110 drivers/char/agp/amd-k7-agp.c return retval; retval 130 drivers/char/agp/amd-k7-agp.c int retval; retval 134 drivers/char/agp/amd-k7-agp.c retval = amd_create_page_map(&page_dir); retval 135 drivers/char/agp/amd-k7-agp.c if (retval != 0) retval 136 drivers/char/agp/amd-k7-agp.c return retval; retval 138 drivers/char/agp/amd-k7-agp.c retval = amd_create_gatt_pages(value->num_entries / 1024); retval 139 drivers/char/agp/amd-k7-agp.c if (retval != 0) { retval 141 drivers/char/agp/amd-k7-agp.c return retval; retval 108 drivers/char/agp/ati-agp.c int retval = 0; retval 120 drivers/char/agp/ati-agp.c retval = -ENOMEM; retval 123 drivers/char/agp/ati-agp.c retval = ati_create_page_map(entry); retval 124 drivers/char/agp/ati-agp.c if (retval != 0) retval 130 drivers/char/agp/ati-agp.c if (retval != 0) retval 133 drivers/char/agp/ati-agp.c return retval; retval 348 drivers/char/agp/ati-agp.c int retval; retval 354 drivers/char/agp/ati-agp.c retval = ati_create_page_map(&page_dir); retval 355 drivers/char/agp/ati-agp.c if (retval != 0) retval 356 drivers/char/agp/ati-agp.c return retval; retval 358 drivers/char/agp/ati-agp.c retval = ati_create_gatt_pages(value->num_entries / 1024); retval 359 drivers/char/agp/ati-agp.c if (retval != 0) { retval 361 drivers/char/agp/ati-agp.c return retval; retval 96 drivers/char/agp/sworks-agp.c int retval = 0; retval 107 drivers/char/agp/sworks-agp.c retval = -ENOMEM; retval 111 drivers/char/agp/sworks-agp.c retval = serverworks_create_page_map(entry); retval 112 drivers/char/agp/sworks-agp.c if (retval != 0) break; retval 117 drivers/char/agp/sworks-agp.c if (retval != 0) serverworks_free_gatt_pages(); retval 119 drivers/char/agp/sworks-agp.c return retval; retval 142 drivers/char/agp/sworks-agp.c int retval; retval 147 drivers/char/agp/sworks-agp.c retval = serverworks_create_page_map(&page_dir); retval 148 drivers/char/agp/sworks-agp.c if (retval != 0) { retval 149 drivers/char/agp/sworks-agp.c return retval; retval 151 drivers/char/agp/sworks-agp.c retval = serverworks_create_page_map(&serverworks_private.scratch_dir); retval 152 drivers/char/agp/sworks-agp.c if (retval != 0) { retval 154 drivers/char/agp/sworks-agp.c return retval; retval 162 drivers/char/agp/sworks-agp.c retval = serverworks_create_gatt_pages(value->num_entries / 1024); retval 163 drivers/char/agp/sworks-agp.c if (retval != 0) { retval 166 drivers/char/agp/sworks-agp.c return retval; retval 300 drivers/char/hpet.c ssize_t retval; retval 323 drivers/char/hpet.c retval = -EAGAIN; retval 326 drivers/char/hpet.c retval = -ERESTARTSYS; retval 332 drivers/char/hpet.c retval = put_user(data, (unsigned long __user *)buf); retval 333 drivers/char/hpet.c if (!retval) retval 334 drivers/char/hpet.c retval = sizeof(unsigned long); retval 339 drivers/char/hpet.c return retval; retval 121 drivers/char/hw_random/imx-rngc.c int retval = 0; retval 138 drivers/char/hw_random/imx-rngc.c retval += sizeof(u32); retval 144 drivers/char/hw_random/imx-rngc.c return retval ? retval : -EIO; retval 86 drivers/char/hw_random/mtk-rng.c int retval = 0; retval 95 drivers/char/hw_random/mtk-rng.c retval += sizeof(u32); retval 103 drivers/char/hw_random/mtk-rng.c return retval || !wait ? retval : -EIO; retval 43 drivers/char/hw_random/stm32-rng.c int retval = 0; retval 52 drivers/char/hw_random/stm32-rng.c retval = readl_relaxed_poll_timeout_atomic(priv->base retval 56 drivers/char/hw_random/stm32-rng.c if (retval) retval 71 drivers/char/hw_random/stm32-rng.c retval += sizeof(u32); retval 79 drivers/char/hw_random/stm32-rng.c return retval || !wait ? retval : -EIO; retval 49 drivers/char/hw_random/timeriomem-rng.c int retval = 0; retval 70 drivers/char/hw_random/timeriomem-rng.c if (retval > 0) retval 75 drivers/char/hw_random/timeriomem-rng.c retval += sizeof(u32); retval 89 drivers/char/hw_random/timeriomem-rng.c return retval; retval 209 drivers/char/lp.c int retval; retval 214 drivers/char/lp.c retval = r_str(minor); retval 216 drivers/char/lp.c return retval; retval 423 drivers/char/lp.c ssize_t retval = 0; retval 443 drivers/char/lp.c retval = -EIO; retval 447 drivers/char/lp.c while (retval == 0) { retval 448 drivers/char/lp.c retval = parport_read(port, kbuf, count); retval 450 drivers/char/lp.c if (retval > 0) retval 454 drivers/char/lp.c retval = -EAGAIN; retval 466 drivers/char/lp.c retval = -EIO; retval 476 drivers/char/lp.c retval = -ERESTARTSYS; retval 486 drivers/char/lp.c if (retval > 0 && copy_to_user(buf, kbuf, retval)) retval 487 drivers/char/lp.c retval = -EFAULT; retval 491 drivers/char/lp.c return retval; retval 584 drivers/char/lp.c int retval = 0; retval 662 drivers/char/lp.c retval = -EINVAL; retval 664 drivers/char/lp.c return retval; retval 98 drivers/char/mwave/mwavedd.c unsigned int retval = 0; retval 104 drivers/char/mwave/mwavedd.c "mwavedd::mwave_open, exit return retval %x\n", retval); retval 106 drivers/char/mwave/mwavedd.c return retval; retval 111 drivers/char/mwave/mwavedd.c unsigned int retval = 0; retval 118 drivers/char/mwave/mwavedd.c retval); retval 120 drivers/char/mwave/mwavedd.c return retval; retval 126 drivers/char/mwave/mwavedd.c unsigned int retval = 0; retval 141 drivers/char/mwave/mwavedd.c retval = tp3780I_ResetDSP(&pDrvData->rBDData); retval 146 drivers/char/mwave/mwavedd.c retval); retval 154 drivers/char/mwave/mwavedd.c retval = tp3780I_StartDSP(&pDrvData->rBDData); retval 159 drivers/char/mwave/mwavedd.c retval); retval 170 drivers/char/mwave/mwavedd.c retval = tp3780I_QueryAbilities(&pDrvData->rBDData, retval 176 drivers/char/mwave/mwavedd.c retval); retval 177 drivers/char/mwave/mwavedd.c if (retval == 0) { retval 185 drivers/char/mwave/mwavedd.c retval); retval 204 drivers/char/mwave/mwavedd.c retval = tp3780I_ReadWriteDspDStore(&pDrvData->rBDData, retval 228 drivers/char/mwave/mwavedd.c retval = tp3780I_ReadWriteDspDStore(&pDrvData->rBDData, retval 251 drivers/char/mwave/mwavedd.c retval = tp3780I_ReadWriteDspDStore(&pDrvData->rBDData, retval 274 drivers/char/mwave/mwavedd.c retval = tp3780I_ReadWriteDspIStore(&pDrvData->rBDData, retval 409 drivers/char/mwave/mwavedd.c PRINTK_2(TRACE_MWAVE, "mwavedd::mwave_ioctl, exit retval %x\n", retval); retval 411 drivers/char/mwave/mwavedd.c return retval; retval 579 drivers/char/mwave/mwavedd.c int retval = 0; retval 600 drivers/char/mwave/mwavedd.c retval = tp3780I_InitializeBoardData(&pDrvData->rBDData); retval 604 drivers/char/mwave/mwavedd.c retval); retval 605 drivers/char/mwave/mwavedd.c if (retval) { retval 613 drivers/char/mwave/mwavedd.c retval = tp3780I_CalcResources(&pDrvData->rBDData); retval 617 drivers/char/mwave/mwavedd.c retval); retval 618 drivers/char/mwave/mwavedd.c if (retval) { retval 625 drivers/char/mwave/mwavedd.c retval = tp3780I_ClaimResources(&pDrvData->rBDData); retval 629 drivers/char/mwave/mwavedd.c retval); retval 630 drivers/char/mwave/mwavedd.c if (retval) { retval 638 drivers/char/mwave/mwavedd.c retval = tp3780I_EnableDSP(&pDrvData->rBDData); retval 642 drivers/char/mwave/mwavedd.c retval); retval 643 drivers/char/mwave/mwavedd.c if (retval) { retval 72 drivers/char/mwave/smapi.c int retval = 0; retval 121 drivers/char/mwave/smapi.c retval = (usSmapiOK == 1) ? 0 : -EIO; retval 122 drivers/char/mwave/smapi.c PRINTK_2(TRACE_SMAPI, "smapi::smapi_request exit retval %x\n", retval); retval 123 drivers/char/mwave/smapi.c return retval; retval 540 drivers/char/mwave/smapi.c int retval = -EIO; retval 563 drivers/char/mwave/smapi.c retval = 0; retval 568 drivers/char/mwave/smapi.c retval = -ENXIO; retval 571 drivers/char/mwave/smapi.c return retval; retval 157 drivers/char/mwave/tp3780i.c int retval = 0; retval 166 drivers/char/mwave/tp3780i.c retval = smapi_init(); retval 167 drivers/char/mwave/tp3780i.c if (retval) { retval 171 drivers/char/mwave/tp3780i.c retval = smapi_set_DSP_cfg(); retval 175 drivers/char/mwave/tp3780i.c PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_InitializeBoardData exit retval %x\n", retval); retval 177 drivers/char/mwave/tp3780i.c return retval; retval 182 drivers/char/mwave/tp3780i.c int retval = 0; retval 187 drivers/char/mwave/tp3780i.c return retval; retval 240 drivers/char/mwave/tp3780i.c int retval = 0; retval 248 drivers/char/mwave/tp3780i.c if ( pres == NULL ) retval = -EIO; retval 250 drivers/char/mwave/tp3780i.c if (retval) { retval 252 drivers/char/mwave/tp3780i.c retval = -EIO; retval 255 drivers/char/mwave/tp3780i.c PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_ClaimResources exit retval %x\n", retval); retval 257 drivers/char/mwave/tp3780i.c return retval; retval 262 drivers/char/mwave/tp3780i.c int retval = 0; retval 276 drivers/char/mwave/tp3780i.c "tp3780i::tp3780I_ReleaseResources exit retval %x\n", retval); retval 278 drivers/char/mwave/tp3780i.c return retval; retval 415 drivers/char/mwave/tp3780i.c int retval = 0; retval 430 drivers/char/mwave/tp3780i.c PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_DisableDSP exit retval %x\n", retval); retval 432 drivers/char/mwave/tp3780i.c return retval; retval 438 drivers/char/mwave/tp3780i.c int retval = 0; retval 447 drivers/char/mwave/tp3780i.c retval = -EIO; retval 450 drivers/char/mwave/tp3780i.c PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_ResetDSP exit retval %x\n", retval); retval 452 drivers/char/mwave/tp3780i.c return retval; retval 458 drivers/char/mwave/tp3780i.c int retval = 0; retval 466 drivers/char/mwave/tp3780i.c retval = -EIO; retval 469 drivers/char/mwave/tp3780i.c PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_StartDSP exit retval %x\n", retval); retval 471 drivers/char/mwave/tp3780i.c return retval; retval 477 drivers/char/mwave/tp3780i.c int retval = 0; retval 509 drivers/char/mwave/tp3780i.c return retval; retval 516 drivers/char/mwave/tp3780i.c int retval = 0; retval 541 drivers/char/mwave/tp3780i.c retval = (bRC) ? -EIO : 0; retval 542 drivers/char/mwave/tp3780i.c PRINTK_2(TRACE_TP3780I, "tp3780i::tp3780I_ReadWriteDspDStore exit retval %x\n", retval); retval 544 drivers/char/mwave/tp3780i.c return retval; retval 552 drivers/char/mwave/tp3780i.c int retval = 0; retval 573 drivers/char/mwave/tp3780i.c retval = (bRC) ? -EIO : 0; retval 576 drivers/char/mwave/tp3780i.c "tp3780i::tp3780I_ReadWriteDspIStore exit retval %x\n", retval); retval 578 drivers/char/mwave/tp3780i.c return retval; retval 1270 drivers/char/pcmcia/synclink_cs.c int retval = 0; retval 1295 drivers/char/pcmcia/synclink_cs.c retval = claim_resources(info); retval 1298 drivers/char/pcmcia/synclink_cs.c if (!retval) retval 1299 drivers/char/pcmcia/synclink_cs.c retval = adapter_test(info); retval 1301 drivers/char/pcmcia/synclink_cs.c if (retval) { retval 1305 drivers/char/pcmcia/synclink_cs.c return retval; retval 2471 drivers/char/pcmcia/synclink_cs.c int retval, line; retval 2501 drivers/char/pcmcia/synclink_cs.c retval = -EBUSY; retval 2512 drivers/char/pcmcia/synclink_cs.c retval = startup(info, tty); retval 2513 drivers/char/pcmcia/synclink_cs.c if (retval < 0) retval 2517 drivers/char/pcmcia/synclink_cs.c retval = tty_port_block_til_ready(&info->port, tty, filp); retval 2518 drivers/char/pcmcia/synclink_cs.c if (retval) { retval 2521 drivers/char/pcmcia/synclink_cs.c __FILE__, __LINE__, info->device_name, retval); retval 2528 drivers/char/pcmcia/synclink_cs.c retval = 0; retval 2531 drivers/char/pcmcia/synclink_cs.c return retval; retval 2107 drivers/char/random.c int retval; retval 2131 drivers/char/random.c retval = write_pool(&input_pool, (const char __user *)p, retval 2133 drivers/char/random.c if (retval < 0) retval 2134 drivers/char/random.c return retval; retval 320 drivers/char/rtc.c ssize_t retval; retval 354 drivers/char/rtc.c retval = -EAGAIN; retval 358 drivers/char/rtc.c retval = -ERESTARTSYS; retval 365 drivers/char/rtc.c retval = put_user(data, retval 368 drivers/char/rtc.c retval = put_user(data, retval 371 drivers/char/rtc.c if (!retval) retval 372 drivers/char/rtc.c retval = count; retval 377 drivers/char/rtc.c return retval; retval 188 drivers/char/tb0219.c int retval = 0; retval 209 drivers/char/tb0219.c retval = set_led(c); retval 212 drivers/char/tb0219.c retval = set_gpio_output_pin(minor - 32, c); retval 216 drivers/char/tb0219.c if (retval < 0) retval 277 drivers/char/tb0219.c int retval; retval 288 drivers/char/tb0219.c retval = register_chrdev(major, "TB0219", &tb0219_fops); retval 289 drivers/char/tb0219.c if (retval < 0) { retval 293 drivers/char/tb0219.c return retval; retval 302 drivers/char/tb0219.c major = retval; retval 333 drivers/char/tb0219.c int retval; retval 339 drivers/char/tb0219.c retval = platform_device_add(tb0219_platform_device); retval 340 drivers/char/tb0219.c if (retval < 0) { retval 342 drivers/char/tb0219.c return retval; retval 345 drivers/char/tb0219.c retval = platform_driver_register(&tb0219_device_driver); retval 346 drivers/char/tb0219.c if (retval < 0) retval 349 drivers/char/tb0219.c return retval; retval 483 drivers/char/toshiba.c int retval; retval 496 drivers/char/toshiba.c retval = misc_register(&tosh_device); retval 497 drivers/char/toshiba.c if (retval < 0) retval 498 drivers/char/toshiba.c return retval; retval 609 drivers/char/xilinx_hwicap/xilinx_hwicap.c int retval = 0; retval 639 drivers/char/xilinx_hwicap/xilinx_hwicap.c retval = -ENOMEM; retval 646 drivers/char/xilinx_hwicap/xilinx_hwicap.c retval = -EFAULT; retval 658 drivers/char/xilinx_hwicap/xilinx_hwicap.c retval = -EBUSY; retval 667 drivers/char/xilinx_hwicap/xilinx_hwicap.c retval = -ENOMEM; retval 684 drivers/char/xilinx_hwicap/xilinx_hwicap.c retval = cdev_add(&drvdata->cdev, devt, 1); retval 685 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (retval) { retval 707 drivers/char/xilinx_hwicap/xilinx_hwicap.c return retval; retval 857 drivers/char/xilinx_hwicap/xilinx_hwicap.c int retval; retval 863 drivers/char/xilinx_hwicap/xilinx_hwicap.c retval = register_chrdev_region(devt, retval 866 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (retval < 0) retval 867 drivers/char/xilinx_hwicap/xilinx_hwicap.c return retval; retval 869 drivers/char/xilinx_hwicap/xilinx_hwicap.c retval = platform_driver_register(&hwicap_platform_driver); retval 870 drivers/char/xilinx_hwicap/xilinx_hwicap.c if (retval) retval 873 drivers/char/xilinx_hwicap/xilinx_hwicap.c return retval; retval 878 drivers/char/xilinx_hwicap/xilinx_hwicap.c return retval; retval 245 drivers/clk/ingenic/jz4725b-cgu.c int retval; retval 254 drivers/clk/ingenic/jz4725b-cgu.c retval = ingenic_cgu_register_clocks(cgu); retval 255 drivers/clk/ingenic/jz4725b-cgu.c if (retval) retval 242 drivers/clk/ingenic/jz4740-cgu.c int retval; retval 251 drivers/clk/ingenic/jz4740-cgu.c retval = ingenic_cgu_register_clocks(cgu); retval 252 drivers/clk/ingenic/jz4740-cgu.c if (retval) retval 431 drivers/clk/ingenic/jz4770-cgu.c int retval; retval 440 drivers/clk/ingenic/jz4770-cgu.c retval = ingenic_cgu_register_clocks(cgu); retval 441 drivers/clk/ingenic/jz4770-cgu.c if (retval) retval 711 drivers/clk/ingenic/jz4780-cgu.c int retval; retval 720 drivers/clk/ingenic/jz4780-cgu.c retval = ingenic_cgu_register_clocks(cgu); retval 721 drivers/clk/ingenic/jz4780-cgu.c if (retval) { retval 2061 drivers/cpufreq/cpufreq.c int retval = -EINVAL; retval 2071 drivers/cpufreq/cpufreq.c retval = __target_intermediate(policy, &freqs, index); retval 2072 drivers/cpufreq/cpufreq.c if (retval) retval 2073 drivers/cpufreq/cpufreq.c return retval; retval 2088 drivers/cpufreq/cpufreq.c retval = cpufreq_driver->target_index(policy, index); retval 2089 drivers/cpufreq/cpufreq.c if (retval) retval 2091 drivers/cpufreq/cpufreq.c retval); retval 2094 drivers/cpufreq/cpufreq.c cpufreq_freq_transition_end(policy, &freqs, retval); retval 2102 drivers/cpufreq/cpufreq.c if (unlikely(retval && intermediate_freq)) { retval 2110 drivers/cpufreq/cpufreq.c return retval; retval 50 drivers/cpufreq/ia64-acpi-cpufreq.c s64 retval; retval 54 drivers/cpufreq/ia64-acpi-cpufreq.c retval = ia64_pal_set_pstate((u64)value); retval 56 drivers/cpufreq/ia64-acpi-cpufreq.c if (retval) { retval 58 drivers/cpufreq/ia64-acpi-cpufreq.c value, retval); retval 61 drivers/cpufreq/ia64-acpi-cpufreq.c return (int)retval; retval 70 drivers/cpufreq/ia64-acpi-cpufreq.c s64 retval; retval 74 drivers/cpufreq/ia64-acpi-cpufreq.c retval = ia64_pal_get_pstate(&pstate_index, retval 78 drivers/cpufreq/ia64-acpi-cpufreq.c if (retval) retval 80 drivers/cpufreq/ia64-acpi-cpufreq.c "error 0x%lx, idx 0x%x\n", retval, *value); retval 82 drivers/cpufreq/ia64-acpi-cpufreq.c return (int)retval; retval 626 drivers/cpufreq/longhaul.c int retval = 0; retval 629 drivers/cpufreq/longhaul.c retval = longhaul_setstate(policy, table_index); retval 644 drivers/cpufreq/longhaul.c retval = longhaul_setstate(policy, i); retval 653 drivers/cpufreq/longhaul.c retval = longhaul_setstate(policy, table_index); retval 657 drivers/cpufreq/longhaul.c return retval; retval 299 drivers/cpufreq/powernow-k7.c int retval = 0; retval 303 drivers/cpufreq/powernow-k7.c retval = -EINVAL; retval 309 drivers/cpufreq/powernow-k7.c retval = -ENOMEM; retval 315 drivers/cpufreq/powernow-k7.c retval = -ENOMEM; retval 320 drivers/cpufreq/powernow-k7.c retval = -EIO; retval 326 drivers/cpufreq/powernow-k7.c retval = -ENODEV; retval 332 drivers/cpufreq/powernow-k7.c retval = -ENODEV; retval 339 drivers/cpufreq/powernow-k7.c retval = -ENODEV; retval 346 drivers/cpufreq/powernow-k7.c retval = -ENOMEM; retval 430 drivers/cpufreq/powernow-k7.c return retval; retval 425 drivers/cpufreq/speedstep-centrino.c int retval = 0; retval 434 drivers/cpufreq/speedstep-centrino.c retval = -ENODEV; retval 455 drivers/cpufreq/speedstep-centrino.c retval = -EAGAIN; retval 470 drivers/cpufreq/speedstep-centrino.c retval = 0; retval 488 drivers/cpufreq/speedstep-centrino.c if (unlikely(retval)) { retval 499 drivers/cpufreq/speedstep-centrino.c retval = 0; retval 503 drivers/cpufreq/speedstep-centrino.c return retval; retval 395 drivers/cpuidle/cpuidle-powernv.c int retval; retval 397 drivers/cpuidle/cpuidle-powernv.c retval = powernv_idle_probe(); retval 398 drivers/cpuidle/cpuidle-powernv.c if (retval) retval 399 drivers/cpuidle/cpuidle-powernv.c return retval; retval 402 drivers/cpuidle/cpuidle-powernv.c retval = cpuidle_register(&powernv_idle_driver, NULL); retval 403 drivers/cpuidle/cpuidle-powernv.c if (retval) { retval 405 drivers/cpuidle/cpuidle-powernv.c return retval; retval 408 drivers/cpuidle/cpuidle-powernv.c retval = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, retval 411 drivers/cpuidle/cpuidle-powernv.c WARN_ON(retval < 0); retval 412 drivers/cpuidle/cpuidle-powernv.c retval = cpuhp_setup_state_nocalls(CPUHP_CPUIDLE_DEAD, retval 415 drivers/cpuidle/cpuidle-powernv.c WARN_ON(retval < 0); retval 276 drivers/cpuidle/cpuidle-pseries.c int retval; retval 278 drivers/cpuidle/cpuidle-pseries.c retval = pseries_idle_probe(); retval 279 drivers/cpuidle/cpuidle-pseries.c if (retval) retval 280 drivers/cpuidle/cpuidle-pseries.c return retval; retval 283 drivers/cpuidle/cpuidle-pseries.c retval = cpuidle_register(&pseries_idle_driver, NULL); retval 284 drivers/cpuidle/cpuidle-pseries.c if (retval) { retval 286 drivers/cpuidle/cpuidle-pseries.c return retval; retval 289 drivers/cpuidle/cpuidle-pseries.c retval = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, retval 292 drivers/cpuidle/cpuidle-pseries.c WARN_ON(retval < 0); retval 293 drivers/cpuidle/cpuidle-pseries.c retval = cpuhp_setup_state_nocalls(CPUHP_CPUIDLE_DEAD, retval 296 drivers/cpuidle/cpuidle-pseries.c WARN_ON(retval < 0); retval 238 drivers/crypto/amcc/crypto4xx_core.c u32 retval; retval 241 drivers/crypto/amcc/crypto4xx_core.c retval = dev->pdr_head; retval 249 drivers/crypto/amcc/crypto4xx_core.c return retval; retval 300 drivers/crypto/amcc/crypto4xx_core.c u32 retval; retval 306 drivers/crypto/amcc/crypto4xx_core.c retval = dev->gdr_head; retval 317 drivers/crypto/amcc/crypto4xx_core.c return retval; retval 399 drivers/crypto/amcc/crypto4xx_core.c u32 retval; retval 405 drivers/crypto/amcc/crypto4xx_core.c retval = dev->sdr_head; retval 416 drivers/crypto/amcc/crypto4xx_core.c return retval; retval 1541 drivers/dma/amba-pl08x.c struct dma_async_tx_descriptor *retval = NULL; retval 1543 drivers/dma/amba-pl08x.c return retval; retval 3076 drivers/dma/amba-pl08x.c int retval; retval 3077 drivers/dma/amba-pl08x.c retval = amba_driver_register(&pl08x_amba_driver); retval 3078 drivers/dma/amba-pl08x.c if (retval) retval 3081 drivers/dma/amba-pl08x.c retval); retval 3082 drivers/dma/amba-pl08x.c return retval; retval 906 drivers/dma/mpc512x_dma.c int retval, i; retval 911 drivers/dma/mpc512x_dma.c retval = -ENOMEM; retval 918 drivers/dma/mpc512x_dma.c retval = -EINVAL; retval 927 drivers/dma/mpc512x_dma.c retval = -EINVAL; retval 932 drivers/dma/mpc512x_dma.c retval = of_address_to_resource(dn, 0, &res); retval 933 drivers/dma/mpc512x_dma.c if (retval) { retval 943 drivers/dma/mpc512x_dma.c retval = -EBUSY; retval 950 drivers/dma/mpc512x_dma.c retval = -ENOMEM; retval 957 drivers/dma/mpc512x_dma.c retval = request_irq(mdma->irq, &mpc_dma_irq, 0, DRV_NAME, mdma); retval 958 drivers/dma/mpc512x_dma.c if (retval) { retval 960 drivers/dma/mpc512x_dma.c retval = -EINVAL; retval 965 drivers/dma/mpc512x_dma.c retval = request_irq(mdma->irq2, &mpc_dma_irq, 0, retval 967 drivers/dma/mpc512x_dma.c if (retval) { retval 969 drivers/dma/mpc512x_dma.c retval = -EINVAL; retval 1058 drivers/dma/mpc512x_dma.c retval = dma_async_device_register(dma); retval 1059 drivers/dma/mpc512x_dma.c if (retval) retval 1064 drivers/dma/mpc512x_dma.c retval = of_dma_controller_register(dev->of_node, retval 1066 drivers/dma/mpc512x_dma.c if (retval) retval 1083 drivers/dma/mpc512x_dma.c return retval; retval 257 drivers/edac/amd64_edac.c int i, retval = -EINVAL; retval 291 drivers/edac/amd64_edac.c retval = scrubrates[i].bandwidth; retval 295 drivers/edac/amd64_edac.c return retval; retval 583 drivers/firewire/net.c int retval; retval 639 drivers/firewire/net.c retval = -ENOENT; retval 654 drivers/firewire/net.c retval = -ENOMEM; retval 670 drivers/firewire/net.c retval = -ENOMEM; retval 682 drivers/firewire/net.c retval = -ENOMEM; retval 706 drivers/firewire/net.c retval = 0; retval 710 drivers/firewire/net.c return retval; retval 764 drivers/firewire/net.c int retval; retval 803 drivers/firewire/net.c retval = fw_iso_context_queue(dev->broadcast_rcv_context, &packet, retval 808 drivers/firewire/net.c if (retval >= 0) retval 1067 drivers/firewire/net.c int retval; retval 1076 drivers/firewire/net.c retval = fw_core_add_address_handler(&dev->handler, retval 1078 drivers/firewire/net.c if (retval < 0) retval 1079 drivers/firewire/net.c return retval; retval 1115 drivers/firewire/net.c int retval; retval 1131 drivers/firewire/net.c retval = -ENOMEM; retval 1141 drivers/firewire/net.c retval = PTR_ERR(context); retval 1145 drivers/firewire/net.c retval = fw_iso_buffer_init(&dev->broadcast_rcv_buffer, dev->card, retval 1147 drivers/firewire/net.c if (retval < 0) retval 1171 drivers/firewire/net.c retval = fw_iso_context_queue(context, &packet, retval 1173 drivers/firewire/net.c if (retval < 0) retval 1181 drivers/firewire/net.c retval = fw_iso_context_start(context, -1, 0, retval 1183 drivers/firewire/net.c if (retval < 0) retval 1195 drivers/firewire/net.c return retval; retval 516 drivers/firewire/sbp2.c int retval = -ENOENT; retval 524 drivers/firewire/sbp2.c retval = 0; retval 533 drivers/firewire/sbp2.c return retval; retval 554 drivers/firewire/sbp2.c int retval = -ENOMEM; retval 609 drivers/firewire/sbp2.c retval = -EIO; retval 630 drivers/firewire/sbp2.c retval = 0; retval 642 drivers/firewire/sbp2.c return retval; retval 1447 drivers/firewire/sbp2.c int generation, retval = SCSI_MLQUEUE_HOST_BUSY; retval 1485 drivers/firewire/sbp2.c retval = 0; retval 1488 drivers/firewire/sbp2.c return retval; retval 101 drivers/firmware/arm_scmi/bus.c int retval; retval 108 drivers/firmware/arm_scmi/bus.c retval = driver_register(&driver->driver); retval 109 drivers/firmware/arm_scmi/bus.c if (!retval) retval 112 drivers/firmware/arm_scmi/bus.c return retval; retval 130 drivers/firmware/arm_scmi/bus.c int id, retval; retval 151 drivers/firmware/arm_scmi/bus.c retval = device_register(&scmi_dev->dev); retval 152 drivers/firmware/arm_scmi/bus.c if (retval) retval 212 drivers/firmware/arm_scmi/bus.c int retval; retval 214 drivers/firmware/arm_scmi/bus.c retval = bus_register(&scmi_bus_type); retval 215 drivers/firmware/arm_scmi/bus.c if (retval) retval 216 drivers/firmware/arm_scmi/bus.c pr_err("scmi protocol bus register failed (%d)\n", retval); retval 218 drivers/firmware/arm_scmi/bus.c return retval; retval 90 drivers/firmware/efi/arm-init.c int i, retval; retval 108 drivers/firmware/efi/arm-init.c retval = -EINVAL; retval 137 drivers/firmware/efi/arm-init.c retval = -ENOMEM; retval 140 drivers/firmware/efi/arm-init.c retval = efi_config_parse_tables(config_tables, efi.systab->nr_tables, retval 144 drivers/firmware/efi/arm-init.c if (!retval) retval 150 drivers/firmware/efi/arm-init.c return retval; retval 135 drivers/firmware/turris-mox-rwtm.c static int mox_get_status(enum mbox_cmd cmd, u32 retval) retval 137 drivers/firmware/turris-mox-rwtm.c if (MBOX_STS_CMD(retval) != cmd || retval 138 drivers/firmware/turris-mox-rwtm.c MBOX_STS_ERROR(retval) != MBOX_STS_SUCCESS) retval 140 drivers/firmware/turris-mox-rwtm.c else if (MBOX_STS_ERROR(retval) == MBOX_STS_FAIL) retval 141 drivers/firmware/turris-mox-rwtm.c return -(int)MBOX_STS_VALUE(retval); retval 143 drivers/firmware/turris-mox-rwtm.c return MBOX_STS_VALUE(retval); retval 190 drivers/firmware/turris-mox-rwtm.c ret = mox_get_status(MBOX_CMD_BOARD_INFO, reply->retval); retval 223 drivers/firmware/turris-mox-rwtm.c ret = mox_get_status(MBOX_CMD_ECDSA_PUB_KEY, reply->retval); retval 270 drivers/firmware/turris-mox-rwtm.c ret = mox_get_status(MBOX_CMD_GET_RANDOM, rwtm->reply.retval); retval 330 drivers/gpio/gpio-crystalcove.c int retval; retval 356 drivers/gpio/gpio-crystalcove.c retval = devm_gpiochip_add_data(&pdev->dev, &cg->chip, cg); retval 357 drivers/gpio/gpio-crystalcove.c if (retval) { retval 358 drivers/gpio/gpio-crystalcove.c dev_warn(&pdev->dev, "add gpio chip error: %d\n", retval); retval 359 drivers/gpio/gpio-crystalcove.c return retval; retval 365 drivers/gpio/gpio-crystalcove.c retval = request_threaded_irq(irq, NULL, crystalcove_gpio_irq_handler, retval 368 drivers/gpio/gpio-crystalcove.c if (retval) { retval 369 drivers/gpio/gpio-crystalcove.c dev_warn(&pdev->dev, "request irq failed: %d\n", retval); retval 370 drivers/gpio/gpio-crystalcove.c return retval; retval 334 drivers/gpio/gpio-intel-mid.c int retval; retval 339 drivers/gpio/gpio-intel-mid.c retval = pcim_enable_device(pdev); retval 340 drivers/gpio/gpio-intel-mid.c if (retval) retval 341 drivers/gpio/gpio-intel-mid.c return retval; retval 343 drivers/gpio/gpio-intel-mid.c retval = pcim_iomap_regions(pdev, 1 << 0 | 1 << 1, pci_name(pdev)); retval 344 drivers/gpio/gpio-intel-mid.c if (retval) { retval 346 drivers/gpio/gpio-intel-mid.c return retval; retval 393 drivers/gpio/gpio-intel-mid.c retval = devm_gpiochip_add_data(&pdev->dev, &priv->chip, priv); retval 394 drivers/gpio/gpio-intel-mid.c if (retval) { retval 395 drivers/gpio/gpio-intel-mid.c dev_err(&pdev->dev, "gpiochip_add error %d\n", retval); retval 396 drivers/gpio/gpio-intel-mid.c return retval; retval 404 drivers/gpio/gpio-merrifield.c int retval; retval 406 drivers/gpio/gpio-merrifield.c retval = pcim_enable_device(pdev); retval 407 drivers/gpio/gpio-merrifield.c if (retval) retval 408 drivers/gpio/gpio-merrifield.c return retval; retval 410 drivers/gpio/gpio-merrifield.c retval = pcim_iomap_regions(pdev, BIT(1) | BIT(0), pci_name(pdev)); retval 411 drivers/gpio/gpio-merrifield.c if (retval) { retval 413 drivers/gpio/gpio-merrifield.c return retval; retval 448 drivers/gpio/gpio-merrifield.c retval = devm_gpiochip_add_data(&pdev->dev, &priv->chip, priv); retval 449 drivers/gpio/gpio-merrifield.c if (retval) { retval 450 drivers/gpio/gpio-merrifield.c dev_err(&pdev->dev, "gpiochip_add error %d\n", retval); retval 451 drivers/gpio/gpio-merrifield.c return retval; retval 457 drivers/gpio/gpio-merrifield.c retval = gpiochip_add_pin_range(&priv->chip, retval 462 drivers/gpio/gpio-merrifield.c if (retval) { retval 464 drivers/gpio/gpio-merrifield.c return retval; retval 468 drivers/gpio/gpio-merrifield.c retval = gpiochip_irqchip_add(&priv->chip, &mrfld_irqchip, irq_base, retval 470 drivers/gpio/gpio-merrifield.c if (retval) { retval 472 drivers/gpio/gpio-merrifield.c return retval; retval 248 drivers/gpio/gpio-msic.c int retval; retval 283 drivers/gpio/gpio-msic.c retval = gpiochip_add_data(&mg->chip, mg); retval 284 drivers/gpio/gpio-msic.c if (retval) { retval 300 drivers/gpio/gpio-msic.c return retval; retval 425 drivers/gpio/gpio-omap.c int retval; retval 437 drivers/gpio/gpio-omap.c retval = omap_set_gpio_triggering(bank, offset, type); retval 438 drivers/gpio/gpio-omap.c if (retval) { retval 445 drivers/gpio/gpio-omap.c retval = -EINVAL; retval 464 drivers/gpio/gpio-omap.c return retval; retval 27 drivers/gpio/gpio-ts4800.c int retval; retval 42 drivers/gpio/gpio-ts4800.c retval = of_property_read_u32(node, "ngpios", &ngpios); retval 43 drivers/gpio/gpio-ts4800.c if (retval == -EINVAL) retval 45 drivers/gpio/gpio-ts4800.c else if (retval) retval 46 drivers/gpio/gpio-ts4800.c return retval; retval 48 drivers/gpio/gpio-ts4800.c retval = bgpio_init(chip, &pdev->dev, 2, base_addr + INPUT_REG_OFFSET, retval 51 drivers/gpio/gpio-ts4800.c if (retval) { retval 53 drivers/gpio/gpio-ts4800.c return retval; retval 94 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c uint32_t retval; retval 96 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c retval = base[engine_id] + queue_id * (mmSDMA0_RLC1_RB_CNTL - retval 99 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c pr_debug("sdma base address: 0x%x\n", retval); retval 101 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c return retval; retval 325 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c uint32_t retval; retval 327 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c retval = base[engine_id] + queue_id * (mmSDMA0_RLC1_RB_CNTL - retval 330 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c pr_debug("sdma base address: 0x%x\n", retval); retval 332 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c return retval; retval 338 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c uint32_t retval = SOC15_REG_OFFSET(GC, 0, mmTCP_WATCH0_ADDR_H) - retval 341 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c pr_debug("kfd: reg watch base address: 0x%x\n", retval); retval 343 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c return retval; retval 600 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c bool retval = false; retval 611 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c retval = true; retval 614 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c return retval; retval 308 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c uint32_t retval; retval 310 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c retval = m->sdma_engine_id * SDMA1_REGISTER_OFFSET + retval 313 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c pr_debug("sdma base address: 0x%x\n", retval); retval 315 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c return retval; retval 506 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c bool retval = false; retval 517 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c retval = true; retval 520 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c return retval; retval 265 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c uint32_t retval; retval 267 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c retval = m->sdma_engine_id * SDMA1_REGISTER_OFFSET + retval 269 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c pr_debug("sdma base address: 0x%x\n", retval); retval 271 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c return retval; retval 499 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c bool retval = false; retval 510 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c retval = true; retval 513 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c return retval; retval 239 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c uint32_t retval; retval 241 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c retval = base[engine_id] + queue_id * (mmSDMA0_RLC1_RB_CNTL - retval 244 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c pr_debug("sdma base address: 0x%x\n", retval); retval 246 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c return retval; retval 496 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c bool retval = false; retval 507 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c retval = true; retval 510 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c return retval; retval 149 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c int retval; retval 159 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c retval = pe->adev->df_funcs->pmc_start(pe->adev, hwc->conf, 1); retval 165 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c if (retval) retval 166 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c return retval; retval 171 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c return retval; retval 332 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c int retval; retval 341 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c retval = pqm_destroy_queue(&p->pqm, args->queue_id); retval 344 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c return retval; retval 350 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c int retval; retval 386 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c retval = pqm_update_queue(&p->pqm, args->queue_id, &properties); retval 390 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c return retval; retval 396 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c int retval; retval 429 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c retval = copy_from_user(properties.cu_mask, cu_mask_ptr, cu_mask_size); retval 430 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (retval) { retval 438 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c retval = pqm_set_cu_mask(&p->pqm, args->queue_id, &properties); retval 442 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (retval) retval 445 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c return retval; retval 273 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 282 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = -EPERM; retval 287 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = allocate_vmid(dqm, qpd, q); retval 288 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 305 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = allocate_hqd(dqm, q); retval 306 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 312 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = allocate_sdma_queue(dqm, q); retval 313 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 318 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = allocate_doorbell(qpd, q); retval 319 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 328 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = -ENOMEM; retval 337 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = -EFAULT; retval 339 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = mqd_mgr->load_mqd(mqd_mgr, q->mqd, q->pipe, retval 341 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 379 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 429 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 452 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = mqd_mgr->destroy_mqd(mqd_mgr, q->mqd, retval 456 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval == -ETIME) retval 480 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 487 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 490 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = destroy_queue_nocpsch_locked(dqm, qpd, q); retval 493 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 498 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval = 0; retval 506 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = -ENODEV; retval 517 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = unmap_queues_cpsch(dqm, retval 519 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) { retval 527 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = mqd_mgr->destroy_mqd(mqd_mgr, q->mqd, retval 530 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) { retval 550 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = map_queues_cpsch(dqm); retval 557 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = -EFAULT; retval 559 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = mqd_mgr->load_mqd(mqd_mgr, q->mqd, retval 566 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 575 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval, ret = 0; retval 596 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = mqd_mgr->destroy_mqd(mqd_mgr, q->mqd, retval 599 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval && !ret) retval 603 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c ret = retval; retval 617 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval = 0; retval 638 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = execute_queues_cpsch(dqm, retval 645 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 656 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval, ret = 0; retval 705 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = mqd_mgr->load_mqd(mqd_mgr, q->mqd, q->pipe, retval 707 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval && !ret) retval 711 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c ret = retval; retval 728 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval = 0; retval 758 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = execute_queues_cpsch(dqm, retval 763 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 772 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 791 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = dqm->asic_ops.update_qpd(dqm, qpd); retval 802 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 808 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 814 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = 0; retval 826 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = 1; retval 833 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (!retval) retval 836 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1032 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 1034 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = 0; retval 1036 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = pm_init(&dqm->packets, dqm); retval 1037 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 1040 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = set_sched_resources(dqm); retval 1041 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 1047 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = kfd_gtt_sa_allocate(dqm->dev, sizeof(*dqm->fence_addr), retval 1050 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 1069 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1135 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 1141 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = -EPERM; retval 1148 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = allocate_sdma_queue(dqm, q); retval 1150 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 1154 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = allocate_doorbell(qpd, q); retval 1155 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 1168 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = -ENOMEM; retval 1192 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = execute_queues_cpsch(dqm, retval 1206 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1218 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1247 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int i, retval = 0; retval 1251 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = pm_send_unmap_queue(&dqm->packets, KFD_QUEUE_TYPE_SDMA, retval 1253 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 1254 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1256 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1262 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 1270 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = pm_send_runlist(&dqm->packets, &dqm->queues); retval 1272 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) { retval 1274 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1278 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1286 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval = 0; retval 1291 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1299 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = pm_send_unmap_queue(&dqm->packets, KFD_QUEUE_TYPE_COMPUTE, retval 1301 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 1302 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1308 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = amdkfd_fence_wait_timeout(dqm->fence_addr, KFD_FENCE_COMPLETED, retval 1310 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) retval 1311 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1316 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1324 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 1328 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = unmap_queues_cpsch(dqm, filter, filter_param); retval 1329 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval) { retval 1333 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1343 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 1346 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = 0; retval 1356 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = -EBUSY; retval 1378 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = execute_queues_cpsch(dqm, retval 1380 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if (retval == -ETIME) retval 1397 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1402 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1420 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c bool retval = true; retval 1423 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1447 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = false; retval 1455 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = dqm->asic_ops.set_cache_memory_policy( retval 1472 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1500 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval = 0; retval 1511 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = ret; retval 1533 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1571 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 1580 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = 0; retval 1620 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = execute_queues_cpsch(dqm, filter, 0); retval 1621 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c if ((!dqm->is_hws_hang) && (retval || qpd->reset_wavefronts)) { retval 1646 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 1677 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c int retval; retval 1686 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = amdgpu_amdkfd_alloc_gtt_mem(dev->kgd, size, retval 1690 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return retval; retval 41 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c int retval; retval 81 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c retval = kfd_gtt_sa_allocate(dev, queue_size, &kq->pq); retval 82 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c if (retval != 0) { retval 90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c retval = kq->ops_asic_specific.initialize(kq, dev, type, queue_size); retval 91 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c if (!retval) retval 94 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c retval = kfd_gtt_sa_allocate(dev, sizeof(*kq->rptr_kernel), retval 97 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c if (retval != 0) retval 103 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c retval = kfd_gtt_sa_allocate(dev, dev->device_info->doorbell_size, retval 106 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c if (retval != 0) retval 154 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c retval = kfd_gtt_sa_allocate(dev, sizeof(uint32_t), retval 157 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c if (retval != 0) retval 366 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c int retval; retval 377 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c retval = kq->ops.acquire_packet_buffer(kq, 5, &buffer); retval 378 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c if (unlikely(retval != 0)) { retval 45 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c int retval; retval 47 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c retval = kfd_gtt_sa_allocate(dev, PAGE_SIZE, &kq->eop_mem); retval 48 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c if (retval != 0) retval 44 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c int retval; retval 46 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c retval = kfd_gtt_sa_allocate(dev, PAGE_SIZE, &kq->eop_mem); retval 47 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c if (retval) retval 44 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c int retval; retval 46 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c retval = kfd_gtt_sa_allocate(dev, PAGE_SIZE, &kq->eop_mem); retval 47 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c if (retval != 0) retval 72 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c int retval; retval 83 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c retval = amdgpu_amdkfd_alloc_gtt_mem(kfd->kgd, retval 90 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c retval = kfd_gtt_sa_allocate(kfd, sizeof(struct v10_compute_mqd), retval 94 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c if (retval) { retval 87 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c int retval; retval 98 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c retval = amdgpu_amdkfd_alloc_gtt_mem(kfd->kgd, retval 105 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c retval = kfd_gtt_sa_allocate(kfd, sizeof(struct v9_mqd), retval 109 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c if (retval) { retval 91 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int retval; retval 100 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = kfd_gtt_sa_allocate(pm->dqm->dev, *rl_buffer_size, retval 103 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (retval) { retval 116 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 126 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int retval, proccesses_mapped; retval 133 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c rl_wptr = retval = proccesses_mapped = 0; retval 135 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm_allocate_runlist_ib(pm, &rl_buffer, rl_gpu_addr, retval 137 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (retval) retval 138 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 156 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->map_process(pm, &rl_buffer[rl_wptr], qpd); retval 157 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (retval) retval 158 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 171 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->map_queues(pm, retval 175 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (retval) retval 176 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 190 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->map_queues(pm, retval 195 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (retval) retval 196 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 209 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->runlist(pm, &rl_buffer[rl_wptr], retval 220 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 276 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int retval = 0; retval 285 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = -ENOMEM; retval 289 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->set_resources(pm, buffer, res); retval 290 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!retval) retval 298 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 306 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int retval; retval 308 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm_create_runlist_ib(pm, dqm_queues, &rl_gpu_ib_addr, retval 310 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (retval) retval 318 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->priv_queue->ops.acquire_packet_buffer(pm->priv_queue, retval 320 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (retval) retval 323 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->runlist(pm, rl_buffer, rl_gpu_ib_addr, retval 325 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (retval) retval 332 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 340 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 347 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int retval = 0; retval 358 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = -ENOMEM; retval 362 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->query_status(pm, buffer, fence_address, fence_value); retval 363 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!retval) retval 370 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 379 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c int retval = 0; retval 387 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = -ENOMEM; retval 391 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c retval = pm->pmf->unmap_queues(pm, buffer, type, filter, filter_param, retval 393 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c if (!retval) retval 400 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c return retval; retval 170 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c int retval; retval 179 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = init_queue(q, q_properties); retval 180 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval != 0) retval 181 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c return retval; retval 188 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c return retval; retval 197 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c int retval; retval 226 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = find_available_queue_slot(pqm, qid); retval 227 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval != 0) retval 228 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c return retval; retval 236 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = -ENOMEM; retval 249 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = -EPERM; retval 253 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = create_cp_queue(pqm, dev, &q, properties, f, *qid); retval 254 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval != 0) retval 258 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd); retval 259 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c pr_debug("DQM returned %d for create_queue\n", retval); retval 270 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = -EPERM; retval 274 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = create_cp_queue(pqm, dev, &q, properties, f, *qid); retval 275 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval != 0) retval 279 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = dev->dqm->ops.create_queue(dev->dqm, q, &pdd->qpd); retval 280 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c pr_debug("DQM returned %d for create_queue\n", retval); retval 286 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = -ENOMEM; retval 292 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = dev->dqm->ops.create_kernel_queue(dev->dqm, retval 297 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = -EINVAL; retval 300 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval != 0) { retval 302 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c pqm->process->pasid, type, retval); retval 324 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c return retval; retval 334 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c return retval; retval 343 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c int retval; retval 347 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = 0; retval 378 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = dqm->ops.destroy_queue(dqm, &pdd->qpd, pqn->q); retval 379 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval) { retval 382 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c pqn->q->properties.queue_id, retval); retval 383 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval != -ETIME) retval 407 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c return retval; retval 413 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c int retval; retval 427 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = pqn->q->device->dqm->ops.update_queue(pqn->q->device->dqm, retval 429 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval != 0) retval 430 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c return retval; retval 438 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c int retval; retval 455 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c retval = pqn->q->device->dqm->ops.update_queue(pqn->q->device->dqm, retval 457 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c if (retval != 0) retval 458 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c return retval; retval 1430 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c static enum dc_status retval; retval 1441 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c retval = core_link_read_dpcd( retval 1452 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c retval = core_link_read_dpcd( retval 1458 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (retval != DC_OK) retval 1459 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c return retval; retval 1469 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c return retval; retval 1140 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c int retval; retval 1158 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c &retval); retval 1160 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c if (retval == 0) retval 1166 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c &retval); retval 1168 drivers/gpu/drm/amd/display/dc/dce/dce_transform.c if (retval == 0) retval 101 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c double retval = (int)num; retval 103 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c if (retval != num && num > 0) retval 104 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c retval = num + 1; retval 106 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c return (int)retval; retval 260 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c int lane, lane_count, pll_tries, retval; retval 277 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_write(&dp->aux, DP_LINK_BW_SET, buf, 2); retval 278 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 279 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 281 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = analogix_dp_set_enhanced_mode(dp); retval 282 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) { retval 284 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 308 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, retval 311 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 312 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 318 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_write(&dp->aux, DP_TRAINING_LANE0_SET, buf, retval 320 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 321 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 467 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c int lane, lane_count, retval; retval 475 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, 2); retval 476 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 477 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 479 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_read(&dp->aux, DP_ADJUST_REQUEST_LANE0_1, retval 481 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 482 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 488 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, retval 491 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 492 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 529 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_write(&dp->aux, DP_TRAINING_LANE0_SET, retval 531 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 532 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 539 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c int lane, lane_count, retval; retval 547 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, 2); retval 548 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 549 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 556 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_read(&dp->aux, DP_ADJUST_REQUEST_LANE0_1, retval 558 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 559 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 561 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_readb(&dp->aux, DP_LANE_ALIGN_STATUS_UPDATED, retval 563 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 564 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 570 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = analogix_dp_training_pattern_dis(dp); retval 571 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 572 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 603 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = drm_dp_dpcd_write(&dp->aux, DP_TRAINING_LANE0_SET, retval 605 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval < 0) retval 606 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 642 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c int retval = 0; retval 681 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c while (!retval && !training_finished) { retval 684 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = analogix_dp_link_start(dp); retval 685 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval) retval 689 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = analogix_dp_process_clock_recovery(dp); retval 690 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval) retval 694 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c retval = analogix_dp_process_equalizer_training(dp); retval 695 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval) retval 705 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c if (retval) retval 706 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c dev_err(dp->dev, "eDP link training failed (%d)\n", retval); retval 708 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c return retval; retval 530 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c int retval = 0; retval 568 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c return retval; retval 577 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c int retval; retval 605 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c retval = analogix_dp_start_aux_transaction(dp); retval 606 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c if (retval == 0) retval 612 drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c return retval; retval 59 drivers/gpu/drm/gma500/cdv_intel_lvds.c u32 retval; retval 62 drivers/gpu/drm/gma500/cdv_intel_lvds.c retval = ((REG_READ(BLC_PWM_CTL) & retval 68 drivers/gpu/drm/gma500/cdv_intel_lvds.c retval = ((dev_priv->regs.saveBLC_PWM_CTL & retval 72 drivers/gpu/drm/gma500/cdv_intel_lvds.c return retval; retval 1844 drivers/gpu/drm/i915/display/intel_panel.c int retval; retval 1860 drivers/gpu/drm/i915/display/intel_panel.c retval = pwm_config(panel->backlight.pwm, CRC_PMIC_PWM_PERIOD_NS, retval 1862 drivers/gpu/drm/i915/display/intel_panel.c if (retval < 0) { retval 1866 drivers/gpu/drm/i915/display/intel_panel.c return retval; retval 90 drivers/gpu/drm/sis/sis_mm.c int retval = 0, user_key; retval 107 drivers/gpu/drm/sis/sis_mm.c retval = -ENOMEM; retval 113 drivers/gpu/drm/sis/sis_mm.c retval = drm_mm_insert_node(&dev_priv->agp_mm, retval 122 drivers/gpu/drm/sis/sis_mm.c retval = -ENOMEM; retval 125 drivers/gpu/drm/sis/sis_mm.c retval = drm_mm_insert_node(&dev_priv->vram_mm, retval 131 drivers/gpu/drm/sis/sis_mm.c if (retval) retval 134 drivers/gpu/drm/sis/sis_mm.c retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); retval 135 drivers/gpu/drm/sis/sis_mm.c if (retval < 0) retval 137 drivers/gpu/drm/sis/sis_mm.c user_key = retval; retval 163 drivers/gpu/drm/sis/sis_mm.c return retval; retval 234 drivers/gpu/drm/udl/udl_modeset.c int retval; retval 243 drivers/gpu/drm/udl/udl_modeset.c retval = udl_submit_urb(dev, urb, udl->mode_buf_len); retval 245 drivers/gpu/drm/udl/udl_modeset.c return retval; retval 253 drivers/gpu/drm/udl/udl_modeset.c int retval; retval 268 drivers/gpu/drm/udl/udl_modeset.c retval = udl_submit_urb(dev, urb, buf - (char *) retval 119 drivers/gpu/drm/via/via_mm.c int retval = 0, user_key; retval 140 drivers/gpu/drm/via/via_mm.c retval = -ENOMEM; retval 146 drivers/gpu/drm/via/via_mm.c retval = drm_mm_insert_node(&dev_priv->agp_mm, retval 150 drivers/gpu/drm/via/via_mm.c retval = drm_mm_insert_node(&dev_priv->vram_mm, retval 153 drivers/gpu/drm/via/via_mm.c if (retval) retval 156 drivers/gpu/drm/via/via_mm.c retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); retval 157 drivers/gpu/drm/via/via_mm.c if (retval < 0) retval 159 drivers/gpu/drm/via/via_mm.c user_key = retval; retval 182 drivers/gpu/drm/via/via_mm.c return retval; retval 170 drivers/greybus/core.c int retval; retval 177 drivers/greybus/core.c retval = pm_runtime_get_sync(&bundle->intf->dev); retval 178 drivers/greybus/core.c if (retval < 0) { retval 180 drivers/greybus/core.c return retval; retval 183 drivers/greybus/core.c retval = gb_control_bundle_activate(bundle->intf->control, bundle->id); retval 184 drivers/greybus/core.c if (retval) { retval 186 drivers/greybus/core.c return retval; retval 202 drivers/greybus/core.c retval = driver->probe(bundle, id); retval 203 drivers/greybus/core.c if (retval) { retval 217 drivers/greybus/core.c return retval; retval 230 drivers/greybus/core.c int retval; retval 232 drivers/greybus/core.c retval = pm_runtime_get_sync(dev); retval 233 drivers/greybus/core.c if (retval < 0) retval 234 drivers/greybus/core.c dev_err(dev, "failed to resume bundle: %d\n", retval); retval 271 drivers/greybus/core.c int retval; retval 283 drivers/greybus/core.c retval = driver_register(&driver->driver); retval 284 drivers/greybus/core.c if (retval) retval 285 drivers/greybus/core.c return retval; retval 300 drivers/greybus/core.c int retval; retval 309 drivers/greybus/core.c retval = bus_register(&greybus_bus_type); retval 310 drivers/greybus/core.c if (retval) { retval 311 drivers/greybus/core.c pr_err("bus_register failed (%d)\n", retval); retval 315 drivers/greybus/core.c retval = gb_hd_init(); retval 316 drivers/greybus/core.c if (retval) { retval 317 drivers/greybus/core.c pr_err("gb_hd_init failed (%d)\n", retval); retval 321 drivers/greybus/core.c retval = gb_operation_init(); retval 322 drivers/greybus/core.c if (retval) { retval 323 drivers/greybus/core.c pr_err("gb_operation_init failed (%d)\n", retval); retval 335 drivers/greybus/core.c return retval; retval 151 drivers/greybus/es2.c int retval; retval 157 drivers/greybus/es2.c retval = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), retval 162 drivers/greybus/es2.c if (retval < 0) retval 163 drivers/greybus/es2.c dev_err(&udev->dev, "%s: return error %d\n", __func__, retval); retval 165 drivers/greybus/es2.c retval = 0; retval 168 drivers/greybus/es2.c return retval; retval 185 drivers/greybus/es2.c int retval; retval 209 drivers/greybus/es2.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 210 drivers/greybus/es2.c if (retval) { retval 214 drivers/greybus/es2.c return retval; retval 396 drivers/greybus/es2.c int retval; retval 433 drivers/greybus/es2.c retval = usb_submit_urb(urb, gfp_mask); retval 434 drivers/greybus/es2.c if (retval) { retval 435 drivers/greybus/es2.c dev_err(&udev->dev, "failed to submit out-urb: %d\n", retval); retval 444 drivers/greybus/es2.c return retval; retval 698 drivers/greybus/es2.c int retval; retval 702 drivers/greybus/es2.c retval = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), retval 708 drivers/greybus/es2.c if (retval < 0) retval 711 drivers/greybus/es2.c return retval; retval 716 drivers/greybus/es2.c int retval; retval 720 drivers/greybus/es2.c retval = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), retval 726 drivers/greybus/es2.c if (retval < 0) retval 729 drivers/greybus/es2.c return retval; retval 822 drivers/greybus/es2.c int retval; retval 854 drivers/greybus/es2.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 855 drivers/greybus/es2.c if (retval) retval 856 drivers/greybus/es2.c dev_err(dev, "failed to resubmit in-urb: %d\n", retval); retval 955 drivers/greybus/es2.c int retval; retval 957 drivers/greybus/es2.c retval = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), retval 964 drivers/greybus/es2.c if (retval != le16_to_cpu(rpc->req->size)) { retval 967 drivers/greybus/es2.c rpc->req->type, retval); retval 968 drivers/greybus/es2.c if (retval > 0) retval 969 drivers/greybus/es2.c retval = -EIO; retval 970 drivers/greybus/es2.c return retval; retval 981 drivers/greybus/es2.c int retval; retval 994 drivers/greybus/es2.c retval = arpc_send(es2, rpc, timeout); retval 995 drivers/greybus/es2.c if (retval) retval 998 drivers/greybus/es2.c retval = wait_for_completion_interruptible_timeout( retval 1001 drivers/greybus/es2.c if (retval <= 0) { retval 1002 drivers/greybus/es2.c if (!retval) retval 1003 drivers/greybus/es2.c retval = -ETIMEDOUT; retval 1008 drivers/greybus/es2.c retval = -EREMOTEIO; retval 1012 drivers/greybus/es2.c retval = 0; retval 1021 drivers/greybus/es2.c if (retval < 0 && retval != -EREMOTEIO) { retval 1023 drivers/greybus/es2.c "failed to execute ARPC: %d\n", retval); retval 1026 drivers/greybus/es2.c return retval; retval 1037 drivers/greybus/es2.c int retval; retval 1073 drivers/greybus/es2.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 1074 drivers/greybus/es2.c if (retval) retval 1075 drivers/greybus/es2.c dev_err(dev, "failed to resubmit arpc in-urb: %d\n", retval); retval 1081 drivers/greybus/es2.c int retval; retval 1084 drivers/greybus/es2.c retval = usb_control_msg(es2->usb_dev, retval 1093 drivers/greybus/es2.c if (retval > 0) retval 1094 drivers/greybus/es2.c kfifo_in(&es2->apb_log_fifo, buf, retval); retval 1095 drivers/greybus/es2.c } while (retval > 0); retval 1186 drivers/greybus/es2.c ssize_t retval; retval 1189 drivers/greybus/es2.c retval = kstrtoint_from_user(buf, count, 10, &enable); retval 1190 drivers/greybus/es2.c if (retval) retval 1191 drivers/greybus/es2.c return retval; retval 1208 drivers/greybus/es2.c int retval; retval 1215 drivers/greybus/es2.c retval = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), retval 1220 drivers/greybus/es2.c if (retval != sizeof(*cport_count)) { retval 1222 drivers/greybus/es2.c retval); retval 1224 drivers/greybus/es2.c if (retval >= 0) retval 1225 drivers/greybus/es2.c retval = -EIO; retval 1230 drivers/greybus/es2.c retval = le16_to_cpu(*cport_count); retval 1233 drivers/greybus/es2.c if (retval > U8_MAX) { retval 1234 drivers/greybus/es2.c retval = U8_MAX; retval 1240 drivers/greybus/es2.c return retval; retval 1258 drivers/greybus/es2.c int retval; retval 1294 drivers/greybus/es2.c retval = gb_hd_cport_reserve(hd, ES2_CPORT_CDSI0); retval 1295 drivers/greybus/es2.c if (retval) retval 1297 drivers/greybus/es2.c retval = gb_hd_cport_reserve(hd, ES2_CPORT_CDSI1); retval 1298 drivers/greybus/es2.c if (retval) retval 1338 drivers/greybus/es2.c retval = -ENODEV; retval 1349 drivers/greybus/es2.c retval = -ENOMEM; retval 1356 drivers/greybus/es2.c retval = -ENOMEM; retval 1375 drivers/greybus/es2.c retval = -ENOMEM; retval 1382 drivers/greybus/es2.c retval = -ENOMEM; retval 1401 drivers/greybus/es2.c retval = -ENOMEM; retval 1418 drivers/greybus/es2.c retval = es2_arpc_in_enable(es2); retval 1419 drivers/greybus/es2.c if (retval) retval 1422 drivers/greybus/es2.c retval = gb_hd_add(hd); retval 1423 drivers/greybus/es2.c if (retval) retval 1426 drivers/greybus/es2.c retval = es2_cport_in_enable(es2, &es2->cport_in); retval 1427 drivers/greybus/es2.c if (retval) retval 1439 drivers/greybus/es2.c return retval; retval 83 drivers/greybus/svc.c int retval; retval 86 drivers/greybus/svc.c retval = strtobool(buf, &user_request); retval 87 drivers/greybus/svc.c if (retval) retval 88 drivers/greybus/svc.c return retval; retval 91 drivers/greybus/svc.c retval = gb_svc_watchdog_enable(svc); retval 93 drivers/greybus/svc.c retval = gb_svc_watchdog_disable(svc); retval 94 drivers/greybus/svc.c if (retval) retval 95 drivers/greybus/svc.c return retval; retval 67 drivers/greybus/svc_watchdog.c int retval; retval 73 drivers/greybus/svc_watchdog.c retval = gb_svc_ping(svc); retval 74 drivers/greybus/svc_watchdog.c if (retval) { retval 84 drivers/greybus/svc_watchdog.c retval); retval 110 drivers/greybus/svc_watchdog.c int retval; retval 125 drivers/greybus/svc_watchdog.c retval = register_pm_notifier(&watchdog->pm_notifier); retval 126 drivers/greybus/svc_watchdog.c if (retval) { retval 128 drivers/greybus/svc_watchdog.c retval); retval 132 drivers/greybus/svc_watchdog.c retval = gb_svc_watchdog_enable(svc); retval 133 drivers/greybus/svc_watchdog.c if (retval) { retval 134 drivers/greybus/svc_watchdog.c dev_err(&svc->dev, "error enabling watchdog (%d)\n", retval); retval 138 drivers/greybus/svc_watchdog.c return retval; retval 144 drivers/greybus/svc_watchdog.c return retval; retval 231 drivers/hid/hid-google-hammer.c int retval; retval 236 drivers/hid/hid-google-hammer.c retval = -EBUSY; retval 240 drivers/hid/hid-google-hammer.c retval = __cbas_ec_probe(pdev); retval 244 drivers/hid/hid-google-hammer.c return retval; retval 758 drivers/hid/hid-logitech-dj.c int retval; retval 795 drivers/hid/hid-logitech-dj.c retval = logi_dj_recv_query_paired_devices(djrcv_dev); retval 796 drivers/hid/hid-logitech-dj.c if (retval) { retval 798 drivers/hid/hid-logitech-dj.c __func__, retval); retval 1121 drivers/hid/hid-logitech-dj.c int retval; retval 1127 drivers/hid/hid-logitech-dj.c retval = hid_hw_raw_request(djrcv_dev->hidpp, retval 1134 drivers/hid/hid-logitech-dj.c return (retval < 0) ? retval : 0; retval 1140 drivers/hid/hid-logitech-dj.c int retval; retval 1153 drivers/hid/hid-logitech-dj.c retval = logi_dj_recv_send_report(djrcv_dev, dj_report); retval 1155 drivers/hid/hid-logitech-dj.c return retval; retval 1165 drivers/hid/hid-logitech-dj.c int retval = 0; retval 1179 drivers/hid/hid-logitech-dj.c retval = logi_dj_recv_send_report(djrcv_dev, dj_report); retval 1214 drivers/hid/hid-logitech-dj.c return retval; retval 1312 drivers/hid/hid-logitech-dj.c int retval; retval 1375 drivers/hid/hid-logitech-dj.c retval = hid_parse_report(hid, rdesc, rsize); retval 1378 drivers/hid/hid-logitech-dj.c return retval; retval 1636 drivers/hid/hid-logitech-dj.c int retval; retval 1643 drivers/hid/hid-logitech-dj.c retval = hid_parse(hdev); retval 1644 drivers/hid/hid-logitech-dj.c if (retval) { retval 1646 drivers/hid/hid-logitech-dj.c return retval; retval 1709 drivers/hid/hid-logitech-dj.c retval = hid_hw_start(hdev, HID_CONNECT_HIDRAW|HID_CONNECT_HIDDEV); retval 1710 drivers/hid/hid-logitech-dj.c if (retval) { retval 1716 drivers/hid/hid-logitech-dj.c retval = logi_dj_recv_switch_to_dj_mode(djrcv_dev, 0); retval 1717 drivers/hid/hid-logitech-dj.c if (retval < 0) { retval 1719 drivers/hid/hid-logitech-dj.c __func__, retval); retval 1725 drivers/hid/hid-logitech-dj.c retval = hid_hw_open(hdev); retval 1726 drivers/hid/hid-logitech-dj.c if (retval < 0) { retval 1728 drivers/hid/hid-logitech-dj.c __func__, retval); retval 1739 drivers/hid/hid-logitech-dj.c retval = logi_dj_recv_query_paired_devices(djrcv_dev); retval 1740 drivers/hid/hid-logitech-dj.c if (retval < 0) { retval 1742 drivers/hid/hid-logitech-dj.c __func__, retval); retval 1758 drivers/hid/hid-logitech-dj.c return retval; retval 1764 drivers/hid/hid-logitech-dj.c int retval; retval 1770 drivers/hid/hid-logitech-dj.c retval = logi_dj_recv_switch_to_dj_mode(djrcv_dev, 0); retval 1771 drivers/hid/hid-logitech-dj.c if (retval < 0) { retval 1773 drivers/hid/hid-logitech-dj.c __func__, retval); retval 124 drivers/hid/hid-rmi.c int retval; retval 131 drivers/hid/hid-rmi.c retval = rmi_write_report(hdev, data->writeReport, retval 133 drivers/hid/hid-rmi.c if (retval != data->output_report_size) { retval 135 drivers/hid/hid-rmi.c "%s: set page failed: %d.", __func__, retval); retval 136 drivers/hid/hid-rmi.c return retval; retval 36 drivers/hid/hid-roccat-arvo.c int retval; retval 39 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_MODE_KEY, retval 42 drivers/hid/hid-roccat-arvo.c if (retval) retval 43 drivers/hid/hid-roccat-arvo.c return retval; retval 57 drivers/hid/hid-roccat-arvo.c int retval; retval 59 drivers/hid/hid-roccat-arvo.c retval = kstrtoul(buf, 10, &state); retval 60 drivers/hid/hid-roccat-arvo.c if (retval) retval 61 drivers/hid/hid-roccat-arvo.c return retval; retval 67 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_send(usb_dev, ARVO_COMMAND_MODE_KEY, retval 70 drivers/hid/hid-roccat-arvo.c if (retval) retval 71 drivers/hid/hid-roccat-arvo.c return retval; retval 86 drivers/hid/hid-roccat-arvo.c int retval; retval 89 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_KEY_MASK, retval 92 drivers/hid/hid-roccat-arvo.c if (retval) retval 93 drivers/hid/hid-roccat-arvo.c return retval; retval 107 drivers/hid/hid-roccat-arvo.c int retval; retval 109 drivers/hid/hid-roccat-arvo.c retval = kstrtoul(buf, 10, &key_mask); retval 110 drivers/hid/hid-roccat-arvo.c if (retval) retval 111 drivers/hid/hid-roccat-arvo.c return retval; retval 117 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_send(usb_dev, ARVO_COMMAND_KEY_MASK, retval 120 drivers/hid/hid-roccat-arvo.c if (retval) retval 121 drivers/hid/hid-roccat-arvo.c return retval; retval 132 drivers/hid/hid-roccat-arvo.c int retval; retval 134 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_ACTUAL_PROFILE, retval 137 drivers/hid/hid-roccat-arvo.c if (retval) retval 138 drivers/hid/hid-roccat-arvo.c return retval; retval 161 drivers/hid/hid-roccat-arvo.c int retval; retval 163 drivers/hid/hid-roccat-arvo.c retval = kstrtoul(buf, 10, &profile); retval 164 drivers/hid/hid-roccat-arvo.c if (retval) retval 165 drivers/hid/hid-roccat-arvo.c return retval; retval 174 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_send(usb_dev, ARVO_COMMAND_ACTUAL_PROFILE, retval 176 drivers/hid/hid-roccat-arvo.c if (!retval) { retval 178 drivers/hid/hid-roccat-arvo.c retval = size; retval 181 drivers/hid/hid-roccat-arvo.c return retval; retval 194 drivers/hid/hid-roccat-arvo.c int retval; retval 200 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_send(usb_dev, command, buf, real_size); retval 203 drivers/hid/hid-roccat-arvo.c return (retval ? retval : real_size); retval 213 drivers/hid/hid-roccat-arvo.c int retval; retval 222 drivers/hid/hid-roccat-arvo.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); retval 225 drivers/hid/hid-roccat-arvo.c return (retval ? retval : real_size); retval 274 drivers/hid/hid-roccat-arvo.c int retval; retval 278 drivers/hid/hid-roccat-arvo.c retval = arvo_get_actual_profile(usb_dev); retval 279 drivers/hid/hid-roccat-arvo.c if (retval < 0) retval 280 drivers/hid/hid-roccat-arvo.c return retval; retval 281 drivers/hid/hid-roccat-arvo.c arvo->actual_profile = retval; retval 291 drivers/hid/hid-roccat-arvo.c int retval; retval 306 drivers/hid/hid-roccat-arvo.c retval = arvo_init_arvo_device_struct(usb_dev, arvo); retval 307 drivers/hid/hid-roccat-arvo.c if (retval) { retval 312 drivers/hid/hid-roccat-arvo.c retval = roccat_connect(arvo_class, hdev, retval 314 drivers/hid/hid-roccat-arvo.c if (retval < 0) { retval 317 drivers/hid/hid-roccat-arvo.c arvo->chrdev_minor = retval; retval 324 drivers/hid/hid-roccat-arvo.c return retval; retval 345 drivers/hid/hid-roccat-arvo.c int retval; retval 347 drivers/hid/hid-roccat-arvo.c retval = hid_parse(hdev); retval 348 drivers/hid/hid-roccat-arvo.c if (retval) { retval 353 drivers/hid/hid-roccat-arvo.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 354 drivers/hid/hid-roccat-arvo.c if (retval) { retval 359 drivers/hid/hid-roccat-arvo.c retval = arvo_init_specials(hdev); retval 360 drivers/hid/hid-roccat-arvo.c if (retval) { retval 370 drivers/hid/hid-roccat-arvo.c return retval; retval 431 drivers/hid/hid-roccat-arvo.c int retval; retval 438 drivers/hid/hid-roccat-arvo.c retval = hid_register_driver(&arvo_driver); retval 439 drivers/hid/hid-roccat-arvo.c if (retval) retval 441 drivers/hid/hid-roccat-arvo.c return retval; retval 74 drivers/hid/hid-roccat-common.c int retval; retval 79 drivers/hid/hid-roccat-common.c retval = roccat_common2_receive(usb_dev, retval 83 drivers/hid/hid-roccat-common.c if (retval) retval 84 drivers/hid/hid-roccat-common.c return retval; retval 110 drivers/hid/hid-roccat-common.c int retval; retval 112 drivers/hid/hid-roccat-common.c retval = roccat_common2_send(usb_dev, command, buf, size); retval 113 drivers/hid/hid-roccat-common.c if (retval) retval 114 drivers/hid/hid-roccat-common.c return retval; retval 137 drivers/hid/hid-roccat-common.c int retval; retval 146 drivers/hid/hid-roccat-common.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); retval 149 drivers/hid/hid-roccat-common.c return retval ? retval : real_size; retval 160 drivers/hid/hid-roccat-common.c int retval; retval 166 drivers/hid/hid-roccat-common.c retval = roccat_common2_send_with_status(usb_dev, command, buf, real_size); retval 169 drivers/hid/hid-roccat-common.c return retval ? retval : real_size; retval 42 drivers/hid/hid-roccat-isku.c int retval; retval 44 drivers/hid/hid-roccat-isku.c retval = isku_receive(usb_dev, ISKU_COMMAND_ACTUAL_PROFILE, retval 46 drivers/hid/hid-roccat-isku.c return retval ? retval : buf.actual_profile; retval 75 drivers/hid/hid-roccat-isku.c int retval; retval 82 drivers/hid/hid-roccat-isku.c retval = kstrtoul(buf, 10, &profile); retval 83 drivers/hid/hid-roccat-isku.c if (retval) retval 84 drivers/hid/hid-roccat-isku.c return retval; retval 91 drivers/hid/hid-roccat-isku.c retval = isku_set_actual_profile(usb_dev, profile); retval 92 drivers/hid/hid-roccat-isku.c if (retval) { retval 94 drivers/hid/hid-roccat-isku.c return retval; retval 124 drivers/hid/hid-roccat-isku.c int retval; retval 133 drivers/hid/hid-roccat-isku.c retval = isku_receive(usb_dev, command, buf, count); retval 136 drivers/hid/hid-roccat-isku.c return retval ? retval : count; retval 146 drivers/hid/hid-roccat-isku.c int retval; retval 152 drivers/hid/hid-roccat-isku.c retval = roccat_common2_send_with_status(usb_dev, command, retval 156 drivers/hid/hid-roccat-isku.c return retval ? retval : count; retval 254 drivers/hid/hid-roccat-isku.c int retval; retval 258 drivers/hid/hid-roccat-isku.c retval = isku_get_actual_profile(usb_dev); retval 259 drivers/hid/hid-roccat-isku.c if (retval < 0) retval 260 drivers/hid/hid-roccat-isku.c return retval; retval 261 drivers/hid/hid-roccat-isku.c isku_profile_activated(isku, retval); retval 271 drivers/hid/hid-roccat-isku.c int retval; retval 286 drivers/hid/hid-roccat-isku.c retval = isku_init_isku_device_struct(usb_dev, isku); retval 287 drivers/hid/hid-roccat-isku.c if (retval) { retval 292 drivers/hid/hid-roccat-isku.c retval = roccat_connect(isku_class, hdev, retval 294 drivers/hid/hid-roccat-isku.c if (retval < 0) { retval 297 drivers/hid/hid-roccat-isku.c isku->chrdev_minor = retval; retval 304 drivers/hid/hid-roccat-isku.c return retval; retval 325 drivers/hid/hid-roccat-isku.c int retval; retval 327 drivers/hid/hid-roccat-isku.c retval = hid_parse(hdev); retval 328 drivers/hid/hid-roccat-isku.c if (retval) { retval 333 drivers/hid/hid-roccat-isku.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 334 drivers/hid/hid-roccat-isku.c if (retval) { retval 339 drivers/hid/hid-roccat-isku.c retval = isku_init_specials(hdev); retval 340 drivers/hid/hid-roccat-isku.c if (retval) { retval 350 drivers/hid/hid-roccat-isku.c return retval; retval 434 drivers/hid/hid-roccat-isku.c int retval; retval 440 drivers/hid/hid-roccat-isku.c retval = hid_register_driver(&isku_driver); retval 441 drivers/hid/hid-roccat-isku.c if (retval) retval 443 drivers/hid/hid-roccat-isku.c return retval; retval 113 drivers/hid/hid-roccat-kone.c int retval; retval 123 drivers/hid/hid-roccat-kone.c retval = kone_receive(usb_dev, retval 125 drivers/hid/hid-roccat-kone.c if (retval) retval 126 drivers/hid/hid-roccat-kone.c return retval; retval 163 drivers/hid/hid-roccat-kone.c int retval; retval 165 drivers/hid/hid-roccat-kone.c retval = kone_send(usb_dev, kone_command_settings, retval 167 drivers/hid/hid-roccat-kone.c if (retval) retval 168 drivers/hid/hid-roccat-kone.c return retval; retval 235 drivers/hid/hid-roccat-kone.c int retval; retval 238 drivers/hid/hid-roccat-kone.c retval = kone_receive(usb_dev, kone_command_weight, &data, 1); retval 240 drivers/hid/hid-roccat-kone.c if (retval) retval 241 drivers/hid/hid-roccat-kone.c return retval; retval 254 drivers/hid/hid-roccat-kone.c int retval; retval 257 drivers/hid/hid-roccat-kone.c retval = kone_receive(usb_dev, kone_command_firmware_version, retval 259 drivers/hid/hid-roccat-kone.c if (retval) retval 260 drivers/hid/hid-roccat-kone.c return retval; retval 296 drivers/hid/hid-roccat-kone.c int retval = 0, difference, old_profile; retval 305 drivers/hid/hid-roccat-kone.c retval = kone_set_settings(usb_dev, retval 307 drivers/hid/hid-roccat-kone.c if (retval) { retval 309 drivers/hid/hid-roccat-kone.c return retval; retval 354 drivers/hid/hid-roccat-kone.c int retval = 0, difference; retval 365 drivers/hid/hid-roccat-kone.c retval = kone_set_profile(usb_dev, retval 368 drivers/hid/hid-roccat-kone.c if (!retval) retval 373 drivers/hid/hid-roccat-kone.c if (retval) retval 374 drivers/hid/hid-roccat-kone.c return retval; retval 417 drivers/hid/hid-roccat-kone.c int retval; retval 424 drivers/hid/hid-roccat-kone.c retval = kone_get_weight(usb_dev, &weight); retval 427 drivers/hid/hid-roccat-kone.c if (retval) retval 428 drivers/hid/hid-roccat-kone.c return retval; retval 468 drivers/hid/hid-roccat-kone.c int retval; retval 475 drivers/hid/hid-roccat-kone.c retval = kstrtoul(buf, 10, &state); retval 476 drivers/hid/hid-roccat-kone.c if (retval) retval 477 drivers/hid/hid-roccat-kone.c return retval; retval 485 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 1); retval 486 drivers/hid/hid-roccat-kone.c if (retval) retval 488 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 2); retval 489 drivers/hid/hid-roccat-kone.c if (retval) retval 492 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 3); retval 493 drivers/hid/hid-roccat-kone.c if (retval) retval 495 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 0); retval 496 drivers/hid/hid-roccat-kone.c if (retval) retval 498 drivers/hid/hid-roccat-kone.c retval = kone_tcu_command(usb_dev, 4); retval 499 drivers/hid/hid-roccat-kone.c if (retval) retval 511 drivers/hid/hid-roccat-kone.c retval = kone_get_settings(usb_dev, &kone->settings); retval 512 drivers/hid/hid-roccat-kone.c if (retval) retval 520 drivers/hid/hid-roccat-kone.c retval = kone_set_settings(usb_dev, &kone->settings); retval 521 drivers/hid/hid-roccat-kone.c if (retval) { retval 527 drivers/hid/hid-roccat-kone.c retval = kone_get_settings(usb_dev, &kone->settings); retval 528 drivers/hid/hid-roccat-kone.c if (retval) retval 536 drivers/hid/hid-roccat-kone.c retval = size; retval 541 drivers/hid/hid-roccat-kone.c return retval; retval 558 drivers/hid/hid-roccat-kone.c int retval; retval 565 drivers/hid/hid-roccat-kone.c retval = kstrtoul(buf, 10, &new_startup_profile); retval 566 drivers/hid/hid-roccat-kone.c if (retval) retval 567 drivers/hid/hid-roccat-kone.c return retval; retval 577 drivers/hid/hid-roccat-kone.c retval = kone_set_settings(usb_dev, &kone->settings); retval 578 drivers/hid/hid-roccat-kone.c if (retval) { retval 580 drivers/hid/hid-roccat-kone.c return retval; retval 655 drivers/hid/hid-roccat-kone.c int retval; retval 660 drivers/hid/hid-roccat-kone.c retval = kone_get_profile(usb_dev, &kone->profiles[i], i + 1); retval 661 drivers/hid/hid-roccat-kone.c if (retval) retval 662 drivers/hid/hid-roccat-kone.c return retval; retval 665 drivers/hid/hid-roccat-kone.c retval = kone_get_settings(usb_dev, &kone->settings); retval 666 drivers/hid/hid-roccat-kone.c if (retval) retval 667 drivers/hid/hid-roccat-kone.c return retval; retval 669 drivers/hid/hid-roccat-kone.c retval = kone_get_firmware_version(usb_dev, &kone->firmware_version); retval 670 drivers/hid/hid-roccat-kone.c if (retval) retval 671 drivers/hid/hid-roccat-kone.c return retval; retval 690 drivers/hid/hid-roccat-kone.c int retval; retval 700 drivers/hid/hid-roccat-kone.c retval = kone_init_kone_device_struct(usb_dev, kone); retval 701 drivers/hid/hid-roccat-kone.c if (retval) { retval 706 drivers/hid/hid-roccat-kone.c retval = roccat_connect(kone_class, hdev, retval 708 drivers/hid/hid-roccat-kone.c if (retval < 0) { retval 713 drivers/hid/hid-roccat-kone.c kone->chrdev_minor = retval; retval 722 drivers/hid/hid-roccat-kone.c return retval; retval 741 drivers/hid/hid-roccat-kone.c int retval; retval 743 drivers/hid/hid-roccat-kone.c retval = hid_parse(hdev); retval 744 drivers/hid/hid-roccat-kone.c if (retval) { retval 749 drivers/hid/hid-roccat-kone.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 750 drivers/hid/hid-roccat-kone.c if (retval) { retval 755 drivers/hid/hid-roccat-kone.c retval = kone_init_specials(hdev); retval 756 drivers/hid/hid-roccat-kone.c if (retval) { retval 766 drivers/hid/hid-roccat-kone.c return retval; retval 878 drivers/hid/hid-roccat-kone.c int retval; retval 886 drivers/hid/hid-roccat-kone.c retval = hid_register_driver(&kone_driver); retval 887 drivers/hid/hid-roccat-kone.c if (retval) retval 889 drivers/hid/hid-roccat-kone.c return retval; retval 61 drivers/hid/hid-roccat-koneplus.c int retval; retval 63 drivers/hid/hid-roccat-koneplus.c retval = roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_ACTUAL_PROFILE, retval 66 drivers/hid/hid-roccat-koneplus.c return retval ? retval : buf.actual_profile; retval 90 drivers/hid/hid-roccat-koneplus.c int retval; retval 99 drivers/hid/hid-roccat-koneplus.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); retval 102 drivers/hid/hid-roccat-koneplus.c if (retval) retval 103 drivers/hid/hid-roccat-koneplus.c return retval; retval 115 drivers/hid/hid-roccat-koneplus.c int retval; retval 121 drivers/hid/hid-roccat-koneplus.c retval = roccat_common2_send_with_status(usb_dev, command, retval 125 drivers/hid/hid-roccat-koneplus.c if (retval) retval 126 drivers/hid/hid-roccat-koneplus.c return retval; retval 193 drivers/hid/hid-roccat-koneplus.c ssize_t retval; retval 195 drivers/hid/hid-roccat-koneplus.c retval = koneplus_send_control(usb_dev, *(uint *)(attr->private), retval 197 drivers/hid/hid-roccat-koneplus.c if (retval) retval 198 drivers/hid/hid-roccat-koneplus.c return retval; retval 211 drivers/hid/hid-roccat-koneplus.c ssize_t retval; retval 213 drivers/hid/hid-roccat-koneplus.c retval = koneplus_send_control(usb_dev, *(uint *)(attr->private), retval 215 drivers/hid/hid-roccat-koneplus.c if (retval) retval 216 drivers/hid/hid-roccat-koneplus.c return retval; retval 256 drivers/hid/hid-roccat-koneplus.c int retval; retval 263 drivers/hid/hid-roccat-koneplus.c retval = kstrtoul(buf, 10, &profile); retval 264 drivers/hid/hid-roccat-koneplus.c if (retval) retval 265 drivers/hid/hid-roccat-koneplus.c return retval; retval 272 drivers/hid/hid-roccat-koneplus.c retval = koneplus_set_actual_profile(usb_dev, profile); retval 273 drivers/hid/hid-roccat-koneplus.c if (retval) { retval 275 drivers/hid/hid-roccat-koneplus.c return retval; retval 362 drivers/hid/hid-roccat-koneplus.c int retval; retval 366 drivers/hid/hid-roccat-koneplus.c retval = koneplus_get_actual_profile(usb_dev); retval 367 drivers/hid/hid-roccat-koneplus.c if (retval < 0) retval 368 drivers/hid/hid-roccat-koneplus.c return retval; retval 369 drivers/hid/hid-roccat-koneplus.c koneplus_profile_activated(koneplus, retval); retval 379 drivers/hid/hid-roccat-koneplus.c int retval; retval 391 drivers/hid/hid-roccat-koneplus.c retval = koneplus_init_koneplus_device_struct(usb_dev, koneplus); retval 392 drivers/hid/hid-roccat-koneplus.c if (retval) { retval 397 drivers/hid/hid-roccat-koneplus.c retval = roccat_connect(koneplus_class, hdev, retval 399 drivers/hid/hid-roccat-koneplus.c if (retval < 0) { retval 402 drivers/hid/hid-roccat-koneplus.c koneplus->chrdev_minor = retval; retval 412 drivers/hid/hid-roccat-koneplus.c return retval; retval 432 drivers/hid/hid-roccat-koneplus.c int retval; retval 434 drivers/hid/hid-roccat-koneplus.c retval = hid_parse(hdev); retval 435 drivers/hid/hid-roccat-koneplus.c if (retval) { retval 440 drivers/hid/hid-roccat-koneplus.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 441 drivers/hid/hid-roccat-koneplus.c if (retval) { retval 446 drivers/hid/hid-roccat-koneplus.c retval = koneplus_init_specials(hdev); retval 447 drivers/hid/hid-roccat-koneplus.c if (retval) { retval 457 drivers/hid/hid-roccat-koneplus.c return retval; retval 546 drivers/hid/hid-roccat-koneplus.c int retval; retval 554 drivers/hid/hid-roccat-koneplus.c retval = hid_register_driver(&koneplus_driver); retval 555 drivers/hid/hid-roccat-koneplus.c if (retval) retval 557 drivers/hid/hid-roccat-koneplus.c return retval; retval 80 drivers/hid/hid-roccat-konepure.c int retval; retval 95 drivers/hid/hid-roccat-konepure.c retval = roccat_common2_device_init_struct(usb_dev, konepure); retval 96 drivers/hid/hid-roccat-konepure.c if (retval) { retval 101 drivers/hid/hid-roccat-konepure.c retval = roccat_connect(konepure_class, hdev, retval 103 drivers/hid/hid-roccat-konepure.c if (retval < 0) { retval 106 drivers/hid/hid-roccat-konepure.c konepure->chrdev_minor = retval; retval 113 drivers/hid/hid-roccat-konepure.c return retval; retval 134 drivers/hid/hid-roccat-konepure.c int retval; retval 136 drivers/hid/hid-roccat-konepure.c retval = hid_parse(hdev); retval 137 drivers/hid/hid-roccat-konepure.c if (retval) { retval 142 drivers/hid/hid-roccat-konepure.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 143 drivers/hid/hid-roccat-konepure.c if (retval) { retval 148 drivers/hid/hid-roccat-konepure.c retval = konepure_init_specials(hdev); retval 149 drivers/hid/hid-roccat-konepure.c if (retval) { retval 159 drivers/hid/hid-roccat-konepure.c return retval; retval 205 drivers/hid/hid-roccat-konepure.c int retval; retval 212 drivers/hid/hid-roccat-konepure.c retval = hid_register_driver(&konepure_driver); retval 213 drivers/hid/hid-roccat-konepure.c if (retval) retval 215 drivers/hid/hid-roccat-konepure.c return retval; retval 48 drivers/hid/hid-roccat-kovaplus.c int retval; retval 60 drivers/hid/hid-roccat-kovaplus.c retval = roccat_common2_send(usb_dev, ROCCAT_COMMON_COMMAND_CONTROL, retval 63 drivers/hid/hid-roccat-kovaplus.c return retval; retval 75 drivers/hid/hid-roccat-kovaplus.c int retval; retval 77 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_select_profile(usb_dev, number, retval 79 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 80 drivers/hid/hid-roccat-kovaplus.c return retval; retval 89 drivers/hid/hid-roccat-kovaplus.c int retval; retval 91 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_select_profile(usb_dev, number, retval 93 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 94 drivers/hid/hid-roccat-kovaplus.c return retval; retval 104 drivers/hid/hid-roccat-kovaplus.c int retval; retval 106 drivers/hid/hid-roccat-kovaplus.c retval = roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_ACTUAL_PROFILE, retval 109 drivers/hid/hid-roccat-kovaplus.c return retval ? retval : buf.actual_profile; retval 133 drivers/hid/hid-roccat-kovaplus.c int retval; retval 142 drivers/hid/hid-roccat-kovaplus.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); retval 145 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 146 drivers/hid/hid-roccat-kovaplus.c return retval; retval 158 drivers/hid/hid-roccat-kovaplus.c int retval; retval 164 drivers/hid/hid-roccat-kovaplus.c retval = roccat_common2_send_with_status(usb_dev, command, retval 168 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 169 drivers/hid/hid-roccat-kovaplus.c return retval; retval 223 drivers/hid/hid-roccat-kovaplus.c ssize_t retval; retval 225 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), retval 227 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 228 drivers/hid/hid-roccat-kovaplus.c return retval; retval 241 drivers/hid/hid-roccat-kovaplus.c ssize_t retval; retval 243 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), retval 245 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 246 drivers/hid/hid-roccat-kovaplus.c return retval; retval 286 drivers/hid/hid-roccat-kovaplus.c int retval; retval 293 drivers/hid/hid-roccat-kovaplus.c retval = kstrtoul(buf, 10, &profile); retval 294 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 295 drivers/hid/hid-roccat-kovaplus.c return retval; retval 301 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_set_actual_profile(usb_dev, profile); retval 302 drivers/hid/hid-roccat-kovaplus.c if (retval) { retval 304 drivers/hid/hid-roccat-kovaplus.c return retval; retval 415 drivers/hid/hid-roccat-kovaplus.c int retval, i; retval 422 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_get_profile_settings(usb_dev, retval 424 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 425 drivers/hid/hid-roccat-kovaplus.c return retval; retval 428 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_get_profile_buttons(usb_dev, retval 430 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 431 drivers/hid/hid-roccat-kovaplus.c return retval; retval 435 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_get_actual_profile(usb_dev); retval 436 drivers/hid/hid-roccat-kovaplus.c if (retval < 0) retval 437 drivers/hid/hid-roccat-kovaplus.c return retval; retval 438 drivers/hid/hid-roccat-kovaplus.c kovaplus_profile_activated(kovaplus, retval); retval 448 drivers/hid/hid-roccat-kovaplus.c int retval; retval 460 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_init_kovaplus_device_struct(usb_dev, kovaplus); retval 461 drivers/hid/hid-roccat-kovaplus.c if (retval) { retval 466 drivers/hid/hid-roccat-kovaplus.c retval = roccat_connect(kovaplus_class, hdev, retval 468 drivers/hid/hid-roccat-kovaplus.c if (retval < 0) { retval 471 drivers/hid/hid-roccat-kovaplus.c kovaplus->chrdev_minor = retval; retval 482 drivers/hid/hid-roccat-kovaplus.c return retval; retval 502 drivers/hid/hid-roccat-kovaplus.c int retval; retval 504 drivers/hid/hid-roccat-kovaplus.c retval = hid_parse(hdev); retval 505 drivers/hid/hid-roccat-kovaplus.c if (retval) { retval 510 drivers/hid/hid-roccat-kovaplus.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 511 drivers/hid/hid-roccat-kovaplus.c if (retval) { retval 516 drivers/hid/hid-roccat-kovaplus.c retval = kovaplus_init_specials(hdev); retval 517 drivers/hid/hid-roccat-kovaplus.c if (retval) { retval 527 drivers/hid/hid-roccat-kovaplus.c return retval; retval 636 drivers/hid/hid-roccat-kovaplus.c int retval; retval 643 drivers/hid/hid-roccat-kovaplus.c retval = hid_register_driver(&kovaplus_driver); retval 644 drivers/hid/hid-roccat-kovaplus.c if (retval) retval 646 drivers/hid/hid-roccat-kovaplus.c return retval; retval 33 drivers/hid/hid-roccat-lua.c int retval; retval 42 drivers/hid/hid-roccat-lua.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); retval 45 drivers/hid/hid-roccat-lua.c return retval ? retval : real_size; retval 55 drivers/hid/hid-roccat-lua.c int retval; retval 61 drivers/hid/hid-roccat-lua.c retval = roccat_common2_send(usb_dev, command, buf, real_size); retval 64 drivers/hid/hid-roccat-lua.c return retval ? retval : real_size; retval 120 drivers/hid/hid-roccat-lua.c int retval; retval 129 drivers/hid/hid-roccat-lua.c retval = lua_init_lua_device_struct(usb_dev, lua); retval 130 drivers/hid/hid-roccat-lua.c if (retval) { retval 135 drivers/hid/hid-roccat-lua.c retval = lua_create_sysfs_attributes(intf); retval 136 drivers/hid/hid-roccat-lua.c if (retval) { retval 144 drivers/hid/hid-roccat-lua.c return retval; retval 161 drivers/hid/hid-roccat-lua.c int retval; retval 163 drivers/hid/hid-roccat-lua.c retval = hid_parse(hdev); retval 164 drivers/hid/hid-roccat-lua.c if (retval) { retval 169 drivers/hid/hid-roccat-lua.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 170 drivers/hid/hid-roccat-lua.c if (retval) { retval 175 drivers/hid/hid-roccat-lua.c retval = lua_init_specials(hdev); retval 176 drivers/hid/hid-roccat-lua.c if (retval) { retval 186 drivers/hid/hid-roccat-lua.c return retval; retval 62 drivers/hid/hid-roccat-pyra.c int retval; retval 63 drivers/hid/hid-roccat-pyra.c retval = pyra_send_control(usb_dev, number, retval 65 drivers/hid/hid-roccat-pyra.c if (retval) retval 66 drivers/hid/hid-roccat-pyra.c return retval; retval 93 drivers/hid/hid-roccat-pyra.c int retval; retval 102 drivers/hid/hid-roccat-pyra.c retval = roccat_common2_receive(usb_dev, command, buf, real_size); retval 105 drivers/hid/hid-roccat-pyra.c if (retval) retval 106 drivers/hid/hid-roccat-pyra.c return retval; retval 118 drivers/hid/hid-roccat-pyra.c int retval; retval 124 drivers/hid/hid-roccat-pyra.c retval = roccat_common2_send_with_status(usb_dev, command, (void *)buf, real_size); retval 127 drivers/hid/hid-roccat-pyra.c if (retval) retval 128 drivers/hid/hid-roccat-pyra.c return retval; retval 191 drivers/hid/hid-roccat-pyra.c ssize_t retval; retval 193 drivers/hid/hid-roccat-pyra.c retval = pyra_send_control(usb_dev, *(uint *)(attr->private), retval 195 drivers/hid/hid-roccat-pyra.c if (retval) retval 196 drivers/hid/hid-roccat-pyra.c return retval; retval 209 drivers/hid/hid-roccat-pyra.c ssize_t retval; retval 211 drivers/hid/hid-roccat-pyra.c retval = pyra_send_control(usb_dev, *(uint *)(attr->private), retval 213 drivers/hid/hid-roccat-pyra.c if (retval) retval 214 drivers/hid/hid-roccat-pyra.c return retval; retval 247 drivers/hid/hid-roccat-pyra.c int retval = 0; retval 260 drivers/hid/hid-roccat-pyra.c retval = pyra_set_settings(usb_dev, settings); retval 261 drivers/hid/hid-roccat-pyra.c if (retval) { retval 263 drivers/hid/hid-roccat-pyra.c return retval; retval 373 drivers/hid/hid-roccat-pyra.c int retval, i; retval 377 drivers/hid/hid-roccat-pyra.c retval = pyra_get_settings(usb_dev, &settings); retval 378 drivers/hid/hid-roccat-pyra.c if (retval) retval 379 drivers/hid/hid-roccat-pyra.c return retval; retval 382 drivers/hid/hid-roccat-pyra.c retval = pyra_get_profile_settings(usb_dev, retval 384 drivers/hid/hid-roccat-pyra.c if (retval) retval 385 drivers/hid/hid-roccat-pyra.c return retval; retval 398 drivers/hid/hid-roccat-pyra.c int retval; retval 410 drivers/hid/hid-roccat-pyra.c retval = pyra_init_pyra_device_struct(usb_dev, pyra); retval 411 drivers/hid/hid-roccat-pyra.c if (retval) { retval 416 drivers/hid/hid-roccat-pyra.c retval = roccat_connect(pyra_class, hdev, retval 418 drivers/hid/hid-roccat-pyra.c if (retval < 0) { retval 421 drivers/hid/hid-roccat-pyra.c pyra->chrdev_minor = retval; retval 431 drivers/hid/hid-roccat-pyra.c return retval; retval 450 drivers/hid/hid-roccat-pyra.c int retval; retval 452 drivers/hid/hid-roccat-pyra.c retval = hid_parse(hdev); retval 453 drivers/hid/hid-roccat-pyra.c if (retval) { retval 458 drivers/hid/hid-roccat-pyra.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 459 drivers/hid/hid-roccat-pyra.c if (retval) { retval 464 drivers/hid/hid-roccat-pyra.c retval = pyra_init_specials(hdev); retval 465 drivers/hid/hid-roccat-pyra.c if (retval) { retval 474 drivers/hid/hid-roccat-pyra.c return retval; retval 582 drivers/hid/hid-roccat-pyra.c int retval; retval 590 drivers/hid/hid-roccat-pyra.c retval = hid_register_driver(&pyra_driver); retval 591 drivers/hid/hid-roccat-pyra.c if (retval) retval 593 drivers/hid/hid-roccat-pyra.c return retval; retval 88 drivers/hid/hid-roccat-ryos.c int retval; retval 103 drivers/hid/hid-roccat-ryos.c retval = roccat_common2_device_init_struct(usb_dev, ryos); retval 104 drivers/hid/hid-roccat-ryos.c if (retval) { retval 109 drivers/hid/hid-roccat-ryos.c retval = roccat_connect(ryos_class, hdev, retval 111 drivers/hid/hid-roccat-ryos.c if (retval < 0) { retval 114 drivers/hid/hid-roccat-ryos.c ryos->chrdev_minor = retval; retval 121 drivers/hid/hid-roccat-ryos.c return retval; retval 142 drivers/hid/hid-roccat-ryos.c int retval; retval 144 drivers/hid/hid-roccat-ryos.c retval = hid_parse(hdev); retval 145 drivers/hid/hid-roccat-ryos.c if (retval) { retval 150 drivers/hid/hid-roccat-ryos.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 151 drivers/hid/hid-roccat-ryos.c if (retval) { retval 156 drivers/hid/hid-roccat-ryos.c retval = ryos_init_specials(hdev); retval 157 drivers/hid/hid-roccat-ryos.c if (retval) { retval 167 drivers/hid/hid-roccat-ryos.c return retval; retval 214 drivers/hid/hid-roccat-ryos.c int retval; retval 221 drivers/hid/hid-roccat-ryos.c retval = hid_register_driver(&ryos_driver); retval 222 drivers/hid/hid-roccat-ryos.c if (retval) retval 224 drivers/hid/hid-roccat-ryos.c return retval; retval 60 drivers/hid/hid-roccat-savu.c int retval; retval 75 drivers/hid/hid-roccat-savu.c retval = roccat_common2_device_init_struct(usb_dev, savu); retval 76 drivers/hid/hid-roccat-savu.c if (retval) { retval 81 drivers/hid/hid-roccat-savu.c retval = roccat_connect(savu_class, hdev, retval 83 drivers/hid/hid-roccat-savu.c if (retval < 0) { retval 86 drivers/hid/hid-roccat-savu.c savu->chrdev_minor = retval; retval 93 drivers/hid/hid-roccat-savu.c return retval; retval 114 drivers/hid/hid-roccat-savu.c int retval; retval 116 drivers/hid/hid-roccat-savu.c retval = hid_parse(hdev); retval 117 drivers/hid/hid-roccat-savu.c if (retval) { retval 122 drivers/hid/hid-roccat-savu.c retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); retval 123 drivers/hid/hid-roccat-savu.c if (retval) { retval 128 drivers/hid/hid-roccat-savu.c retval = savu_init_specials(hdev); retval 129 drivers/hid/hid-roccat-savu.c if (retval) { retval 139 drivers/hid/hid-roccat-savu.c return retval; retval 202 drivers/hid/hid-roccat-savu.c int retval; retval 209 drivers/hid/hid-roccat-savu.c retval = hid_register_driver(&savu_driver); retval 210 drivers/hid/hid-roccat-savu.c if (retval) retval 212 drivers/hid/hid-roccat-savu.c return retval; retval 79 drivers/hid/hid-roccat.c ssize_t retval = 0, len; retval 92 drivers/hid/hid-roccat.c retval = -EAGAIN; retval 96 drivers/hid/hid-roccat.c retval = -ERESTARTSYS; retval 100 drivers/hid/hid-roccat.c retval = -EIO; retval 115 drivers/hid/hid-roccat.c if (retval) retval 126 drivers/hid/hid-roccat.c retval = -EFAULT; retval 129 drivers/hid/hid-roccat.c retval += len; retval 134 drivers/hid/hid-roccat.c return retval; retval 381 drivers/hid/hid-roccat.c long retval = 0; retval 387 drivers/hid/hid-roccat.c retval = -ENODEV; retval 394 drivers/hid/hid-roccat.c retval = -EFAULT; retval 397 drivers/hid/hid-roccat.c retval = -ENOTTY; retval 401 drivers/hid/hid-roccat.c return retval; retval 416 drivers/hid/hid-roccat.c int retval; retval 419 drivers/hid/hid-roccat.c retval = alloc_chrdev_region(&dev_id, ROCCAT_FIRST_MINOR, retval 421 drivers/hid/hid-roccat.c if (retval < 0) { retval 429 drivers/hid/hid-roccat.c retval = cdev_add(&roccat_cdev, dev_id, ROCCAT_MAX_DEVICES); retval 431 drivers/hid/hid-roccat.c if (retval < 0) { retval 441 drivers/hid/hid-roccat.c return retval; retval 1670 drivers/hid/usbhid/hid-core.c int retval = -ENOMEM; retval 1672 drivers/hid/usbhid/hid-core.c retval = hid_quirks_init(quirks_param, BUS_USB, MAX_USBHID_BOOT_QUIRKS); retval 1673 drivers/hid/usbhid/hid-core.c if (retval) retval 1675 drivers/hid/usbhid/hid-core.c retval = usb_register(&hid_driver); retval 1676 drivers/hid/usbhid/hid-core.c if (retval) retval 1684 drivers/hid/usbhid/hid-core.c return retval; retval 324 drivers/hid/usbhid/hiddev.c int retval; retval 333 drivers/hid/usbhid/hiddev.c retval = mutex_lock_interruptible(&list->thread_lock); retval 334 drivers/hid/usbhid/hiddev.c if (retval) retval 337 drivers/hid/usbhid/hiddev.c while (retval == 0) { retval 343 drivers/hid/usbhid/hiddev.c retval = -ERESTARTSYS; retval 347 drivers/hid/usbhid/hiddev.c retval = -EIO; retval 351 drivers/hid/usbhid/hiddev.c retval = -EAGAIN; retval 368 drivers/hid/usbhid/hiddev.c if (retval) { retval 370 drivers/hid/usbhid/hiddev.c return retval; retval 375 drivers/hid/usbhid/hiddev.c retval + event_size <= count) { retval 382 drivers/hid/usbhid/hiddev.c if (copy_to_user(buffer + retval, &event, sizeof(struct hiddev_event))) { retval 386 drivers/hid/usbhid/hiddev.c retval += sizeof(struct hiddev_event); retval 392 drivers/hid/usbhid/hiddev.c if (copy_to_user(buffer + retval, list->buffer + list->tail, sizeof(struct hiddev_usage_ref))) { retval 396 drivers/hid/usbhid/hiddev.c retval += sizeof(struct hiddev_usage_ref); retval 405 drivers/hid/usbhid/hiddev.c return retval; retval 885 drivers/hid/usbhid/hiddev.c int retval; retval 909 drivers/hid/usbhid/hiddev.c retval = usb_register_dev(usbhid->intf, &hiddev_class); retval 910 drivers/hid/usbhid/hiddev.c if (retval) { retval 25 drivers/hid/wacom_sys.c int retval; retval 28 drivers/hid/wacom_sys.c retval = hid_hw_raw_request(hdev, buf[0], buf, size, type, retval 30 drivers/hid/wacom_sys.c } while ((retval == -ETIMEDOUT || retval == -EAGAIN) && --retries); retval 32 drivers/hid/wacom_sys.c if (retval < 0) retval 34 drivers/hid/wacom_sys.c "(last error = %d)\n", retval); retval 36 drivers/hid/wacom_sys.c return retval; retval 42 drivers/hid/wacom_sys.c int retval; retval 45 drivers/hid/wacom_sys.c retval = hid_hw_raw_request(hdev, buf[0], buf, size, type, retval 47 drivers/hid/wacom_sys.c } while ((retval == -ETIMEDOUT || retval == -EAGAIN) && --retries); retval 49 drivers/hid/wacom_sys.c if (retval < 0) retval 51 drivers/hid/wacom_sys.c "(last error = %d)\n", retval); retval 53 drivers/hid/wacom_sys.c return retval; retval 876 drivers/hid/wacom_sys.c int retval = 0; retval 884 drivers/hid/wacom_sys.c retval = -ENOMEM; retval 895 drivers/hid/wacom_sys.c retval = devm_add_action(&hdev->dev, wacom_remove_shared_data, wacom); retval 896 drivers/hid/wacom_sys.c if (retval) { retval 899 drivers/hid/wacom_sys.c return retval; retval 909 drivers/hid/wacom_sys.c return retval; retval 915 drivers/hid/wacom_sys.c int retval; retval 987 drivers/hid/wacom_sys.c retval = wacom_set_report(wacom->hdev, HID_FEATURE_REPORT, buf, buf_size, retval 991 drivers/hid/wacom_sys.c return retval; retval 998 drivers/hid/wacom_sys.c int i, retval; retval 1008 drivers/hid/wacom_sys.c retval = wacom_set_report(wacom->hdev, HID_FEATURE_REPORT, buf, 2, retval 1010 drivers/hid/wacom_sys.c if (retval < 0) retval 1019 drivers/hid/wacom_sys.c retval = wacom_set_report(wacom->hdev, HID_FEATURE_REPORT, retval 1021 drivers/hid/wacom_sys.c if (retval < 0) retval 1033 drivers/hid/wacom_sys.c return retval; retval 1889 drivers/hid/wacom_sys.c int retval; retval 1898 drivers/hid/wacom_sys.c retval = wacom_set_report(wacom->hdev, HID_OUTPUT_REPORT, buf, retval 1902 drivers/hid/wacom_sys.c return retval; retval 312 drivers/hid/wacom_wac.c int retval = 0; retval 412 drivers/hid/wacom_wac.c retval = 1; retval 428 drivers/hid/wacom_wac.c retval = 1; retval 440 drivers/hid/wacom_wac.c retval = 1; retval 455 drivers/hid/wacom_wac.c return retval; retval 1135 drivers/hsi/clients/cmt_speech.c ssize_t retval; retval 1157 drivers/hsi/clients/cmt_speech.c retval = -EAGAIN; retval 1160 drivers/hsi/clients/cmt_speech.c retval = -ERESTARTSYS; retval 1169 drivers/hsi/clients/cmt_speech.c retval = put_user(data, (u32 __user *)buf); retval 1170 drivers/hsi/clients/cmt_speech.c if (!retval) retval 1171 drivers/hsi/clients/cmt_speech.c retval = sizeof(data); retval 1174 drivers/hsi/clients/cmt_speech.c return retval; retval 1183 drivers/hsi/clients/cmt_speech.c ssize_t retval; retval 1189 drivers/hsi/clients/cmt_speech.c retval = -EFAULT; retval 1191 drivers/hsi/clients/cmt_speech.c retval = count; retval 1195 drivers/hsi/clients/cmt_speech.c retval = err; retval 1197 drivers/hsi/clients/cmt_speech.c return retval; retval 803 drivers/hv/vmbus_drv.c ssize_t retval; retval 805 drivers/hv/vmbus_drv.c retval = guid_parse(buf, &guid); retval 806 drivers/hv/vmbus_drv.c if (retval) retval 807 drivers/hv/vmbus_drv.c return retval; retval 812 drivers/hv/vmbus_drv.c retval = vmbus_add_dynid(drv, &guid); retval 813 drivers/hv/vmbus_drv.c if (retval) retval 814 drivers/hv/vmbus_drv.c return retval; retval 830 drivers/hv/vmbus_drv.c ssize_t retval; retval 832 drivers/hv/vmbus_drv.c retval = guid_parse(buf, &guid); retval 833 drivers/hv/vmbus_drv.c if (retval) retval 834 drivers/hv/vmbus_drv.c return retval; retval 836 drivers/hv/vmbus_drv.c retval = -ENODEV; retval 844 drivers/hv/vmbus_drv.c retval = count; retval 850 drivers/hv/vmbus_drv.c return retval; retval 2059 drivers/hv/vmbus_drv.c int retval; retval 2061 drivers/hv/vmbus_drv.c retval = -ENXIO; retval 2078 drivers/hv/vmbus_drv.c retval = 0; retval 2100 drivers/hv/vmbus_drv.c retval = 0; retval 2110 drivers/hv/vmbus_drv.c return retval; retval 41 drivers/hwmon/emc1403.c int retval; retval 43 drivers/hwmon/emc1403.c retval = regmap_read(data->regmap, sda->index, &val); retval 44 drivers/hwmon/emc1403.c if (retval < 0) retval 45 drivers/hwmon/emc1403.c return retval; retval 55 drivers/hwmon/emc1403.c int retval; retval 57 drivers/hwmon/emc1403.c retval = regmap_read(data->regmap, sda->nr, &val); retval 58 drivers/hwmon/emc1403.c if (retval < 0) retval 59 drivers/hwmon/emc1403.c return retval; retval 69 drivers/hwmon/emc1403.c int retval; retval 73 drivers/hwmon/emc1403.c retval = regmap_write(data->regmap, sda->index, retval 75 drivers/hwmon/emc1403.c if (retval < 0) retval 76 drivers/hwmon/emc1403.c return retval; retval 86 drivers/hwmon/emc1403.c int retval; retval 91 drivers/hwmon/emc1403.c retval = regmap_update_bits(data->regmap, sda->nr, sda->index, retval 93 drivers/hwmon/emc1403.c if (retval < 0) retval 94 drivers/hwmon/emc1403.c return retval; retval 107 drivers/hwmon/emc1403.c int retval; retval 109 drivers/hwmon/emc1403.c retval = regmap_read(regmap, sda->index, &limit); retval 110 drivers/hwmon/emc1403.c if (retval < 0) retval 111 drivers/hwmon/emc1403.c return retval; retval 113 drivers/hwmon/emc1403.c retval = regmap_read(regmap, 0x21, &hyst); retval 114 drivers/hwmon/emc1403.c if (retval < 0) retval 115 drivers/hwmon/emc1403.c return retval; retval 139 drivers/hwmon/emc1403.c int retval; retval 147 drivers/hwmon/emc1403.c retval = regmap_read(regmap, sda->index, &limit); retval 148 drivers/hwmon/emc1403.c if (retval < 0) retval 153 drivers/hwmon/emc1403.c retval = regmap_write(regmap, 0x21, hyst); retval 154 drivers/hwmon/emc1403.c if (retval == 0) retval 155 drivers/hwmon/emc1403.c retval = count; retval 158 drivers/hwmon/emc1403.c return retval; retval 364 drivers/i2c/algos/i2c-algo-bit.c int retval; retval 368 drivers/i2c/algos/i2c-algo-bit.c retval = i2c_outb(i2c_adap, *temp); retval 371 drivers/i2c/algos/i2c-algo-bit.c if ((retval > 0) || (nak_ok && (retval == 0))) { retval 380 drivers/i2c/algos/i2c-algo-bit.c } else if (retval == 0) { retval 393 drivers/i2c/algos/i2c-algo-bit.c retval); retval 394 drivers/i2c/algos/i2c-algo-bit.c return retval; retval 130 drivers/i2c/busses/i2c-ali1535.c int retval; retval 139 drivers/i2c/busses/i2c-ali1535.c retval = pci_enable_device(dev); retval 140 drivers/i2c/busses/i2c-ali1535.c if (retval) { retval 152 drivers/i2c/busses/i2c-ali1535.c retval = -ENODEV; retval 161 drivers/i2c/busses/i2c-ali1535.c retval = acpi_check_region(ali1535_smba, ALI1535_SMB_IOSIZE, retval 163 drivers/i2c/busses/i2c-ali1535.c if (retval) retval 170 drivers/i2c/busses/i2c-ali1535.c retval = -EBUSY; retval 178 drivers/i2c/busses/i2c-ali1535.c retval = -ENODEV; retval 186 drivers/i2c/busses/i2c-ali1535.c retval = -ENODEV; retval 209 drivers/i2c/busses/i2c-ali1535.c return retval; retval 125 drivers/i2c/busses/i2c-efm32.c int retval; retval 204 drivers/i2c/busses/i2c-efm32.c ddata->retval = -EAGAIN; retval 212 drivers/i2c/busses/i2c-efm32.c ddata->retval = -EIO; retval 227 drivers/i2c/busses/i2c-efm32.c ddata->retval = -ENXIO; retval 267 drivers/i2c/busses/i2c-efm32.c ddata->retval = -EIO; retval 282 drivers/i2c/busses/i2c-efm32.c ret = ddata->retval; retval 259 drivers/i2c/busses/i2c-isch.c int retval; retval 282 drivers/i2c/busses/i2c-isch.c retval = i2c_add_adapter(&sch_adapter); retval 283 drivers/i2c/busses/i2c-isch.c if (retval) retval 286 drivers/i2c/busses/i2c-isch.c return retval; retval 683 drivers/i2c/busses/i2c-piix4.c int retval; retval 702 drivers/i2c/busses/i2c-piix4.c retval = -EBUSY; retval 749 drivers/i2c/busses/i2c-piix4.c retval = piix4_access(adap, addr, flags, read_write, retval 762 drivers/i2c/busses/i2c-piix4.c return retval; retval 819 drivers/i2c/busses/i2c-piix4.c int retval; retval 858 drivers/i2c/busses/i2c-piix4.c retval = i2c_add_adapter(adap); retval 859 drivers/i2c/busses/i2c-piix4.c if (retval) { retval 863 drivers/i2c/busses/i2c-piix4.c return retval; retval 875 drivers/i2c/busses/i2c-piix4.c int retval; retval 888 drivers/i2c/busses/i2c-piix4.c retval = piix4_add_adapter(dev, smba, true, port, notify_imc, retval 892 drivers/i2c/busses/i2c-piix4.c if (retval < 0) retval 896 drivers/i2c/busses/i2c-piix4.c return retval; retval 911 drivers/i2c/busses/i2c-piix4.c return retval; retval 916 drivers/i2c/busses/i2c-piix4.c int retval; retval 943 drivers/i2c/busses/i2c-piix4.c retval = piix4_setup_sb800(dev, id, 0); retval 944 drivers/i2c/busses/i2c-piix4.c if (retval < 0) retval 945 drivers/i2c/busses/i2c-piix4.c return retval; retval 951 drivers/i2c/busses/i2c-piix4.c retval = piix4_add_adapters_sb800(dev, retval, notify_imc); retval 952 drivers/i2c/busses/i2c-piix4.c if (retval < 0) retval 953 drivers/i2c/busses/i2c-piix4.c return retval; retval 955 drivers/i2c/busses/i2c-piix4.c retval = piix4_setup(dev, id); retval 956 drivers/i2c/busses/i2c-piix4.c if (retval < 0) retval 957 drivers/i2c/busses/i2c-piix4.c return retval; retval 960 drivers/i2c/busses/i2c-piix4.c retval = piix4_add_adapter(dev, retval, false, 0, false, 0, retval 962 drivers/i2c/busses/i2c-piix4.c if (retval < 0) retval 963 drivers/i2c/busses/i2c-piix4.c return retval; retval 967 drivers/i2c/busses/i2c-piix4.c retval = -ENODEV; retval 972 drivers/i2c/busses/i2c-piix4.c retval = piix4_setup_aux(dev, id, 0x58); retval 975 drivers/i2c/busses/i2c-piix4.c retval = piix4_setup_sb800(dev, id, 1); retval 981 drivers/i2c/busses/i2c-piix4.c retval = piix4_setup_sb800(dev, id, 1); retval 984 drivers/i2c/busses/i2c-piix4.c if (retval > 0) { retval 987 drivers/i2c/busses/i2c-piix4.c piix4_add_adapter(dev, retval, false, 0, false, 1, retval 445 drivers/i2c/busses/i2c-pmcmsp.c enum pmcmsptwi_xfer_result retval; retval 464 drivers/i2c/busses/i2c-pmcmsp.c retval = pmcmsptwi_do_xfer(pmcmsptwi_cmd_to_reg(cmd), data); retval 465 drivers/i2c/busses/i2c-pmcmsp.c if (retval != MSP_TWI_XFER_OK) retval 487 drivers/i2c/busses/i2c-pmcmsp.c return retval; retval 138 drivers/i2c/busses/i2c-sis5595.c int retval; retval 164 drivers/i2c/busses/i2c-sis5595.c retval = acpi_check_region(sis5595_base + SMB_INDEX, 2, retval 166 drivers/i2c/busses/i2c-sis5595.c if (retval) retval 167 drivers/i2c/busses/i2c-sis5595.c return retval; retval 408 drivers/i2c/busses/i2c-sis630.c int retval, i; retval 435 drivers/i2c/busses/i2c-sis630.c retval = -ENODEV; retval 442 drivers/i2c/busses/i2c-sis630.c retval = -ENODEV; retval 451 drivers/i2c/busses/i2c-sis630.c retval = -ENODEV; retval 464 drivers/i2c/busses/i2c-sis630.c retval = acpi_check_region(smbus_base + SMB_STS, SIS630_SMB_IOREGION, retval 466 drivers/i2c/busses/i2c-sis630.c if (retval) retval 476 drivers/i2c/busses/i2c-sis630.c retval = -EBUSY; retval 480 drivers/i2c/busses/i2c-sis630.c retval = 0; retval 483 drivers/i2c/busses/i2c-sis630.c if (retval) retval 485 drivers/i2c/busses/i2c-sis630.c return retval; retval 246 drivers/i2c/busses/i2c-sis96x.c int retval; retval 268 drivers/i2c/busses/i2c-sis96x.c retval = acpi_check_resource_conflict(&dev->resource[SIS96x_BAR]); retval 269 drivers/i2c/busses/i2c-sis96x.c if (retval) retval 289 drivers/i2c/busses/i2c-sis96x.c if ((retval = i2c_add_adapter(&sis96x_adapter))) { retval 295 drivers/i2c/busses/i2c-sis96x.c return retval; retval 222 drivers/i2c/busses/i2c-tiny-usb.c int retval = -ENOMEM; retval 258 drivers/i2c/busses/i2c-tiny-usb.c retval = -EIO; retval 276 drivers/i2c/busses/i2c-tiny-usb.c return retval; retval 1821 drivers/i2c/i2c-core-base.c int retval; retval 1823 drivers/i2c/i2c-core-base.c retval = of_alias_get_highest_id("i2c"); retval 1826 drivers/i2c/i2c-core-base.c if (retval >= __i2c_first_dynamic_bus_num) retval 1827 drivers/i2c/i2c-core-base.c __i2c_first_dynamic_bus_num = retval + 1; retval 1830 drivers/i2c/i2c-core-base.c retval = bus_register(&i2c_bus_type); retval 1831 drivers/i2c/i2c-core-base.c if (retval) retval 1832 drivers/i2c/i2c-core-base.c return retval; retval 1839 drivers/i2c/i2c-core-base.c retval = -ENOMEM; retval 1843 drivers/i2c/i2c-core-base.c retval = i2c_add_driver(&dummy_driver); retval 1844 drivers/i2c/i2c-core-base.c if (retval) retval 1861 drivers/i2c/i2c-core-base.c return retval; retval 94 drivers/ide/ide-cd_ioctl.c int retval; retval 98 drivers/ide/ide-cd_ioctl.c retval = (drive->dev_flags & IDE_DFLAG_MEDIA_CHANGED) ? 1 : 0; retval 100 drivers/ide/ide-cd_ioctl.c return retval ? DISK_EVENT_MEDIA_CHANGE : 0; retval 1069 drivers/ide/ide-tape.c int retval, count = 0; retval 1101 drivers/ide/ide-tape.c retval = idetape_space_over_filemarks(drive, MTFSF, retval 1103 drivers/ide/ide-tape.c if (retval) retval 1104 drivers/ide/ide-tape.c return retval; retval 1259 drivers/ide/ide-tape.c int i, retval; retval 1282 drivers/ide/ide-tape.c retval = idetape_write_filemark(drive); retval 1283 drivers/ide/ide-tape.c if (retval) retval 1284 drivers/ide/ide-tape.c return retval; retval 1306 drivers/ide/ide-tape.c retval = ide_do_start_stop(drive, disk, !IDETAPE_LU_LOAD_MASK); retval 1307 drivers/ide/ide-tape.c if (!retval) retval 1310 drivers/ide/ide-tape.c return retval; retval 1347 drivers/ide/ide-tape.c retval = ide_set_media_lock(drive, disk, 1); retval 1348 drivers/ide/ide-tape.c if (retval) retval 1349 drivers/ide/ide-tape.c return retval; retval 1353 drivers/ide/ide-tape.c retval = ide_set_media_lock(drive, disk, 0); retval 1354 drivers/ide/ide-tape.c if (retval) retval 1355 drivers/ide/ide-tape.c return retval; retval 1469 drivers/ide/ide-tape.c int retval; retval 1496 drivers/ide/ide-tape.c retval = -EBUSY; retval 1500 drivers/ide/ide-tape.c retval = idetape_wait_ready(drive, 60 * HZ); retval 1501 drivers/ide/ide-tape.c if (retval) { retval 1525 drivers/ide/ide-tape.c retval = -EROFS; retval 1546 drivers/ide/ide-tape.c return retval; retval 1430 drivers/idle/intel_idle.c int retval; retval 1436 drivers/idle/intel_idle.c retval = intel_idle_probe(); retval 1437 drivers/idle/intel_idle.c if (retval) retval 1438 drivers/idle/intel_idle.c return retval; retval 1445 drivers/idle/intel_idle.c retval = cpuidle_register_driver(&intel_idle_driver); retval 1446 drivers/idle/intel_idle.c if (retval) { retval 1456 drivers/idle/intel_idle.c retval = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "idle/intel:online", retval 1458 drivers/idle/intel_idle.c if (retval < 0) retval 1471 drivers/idle/intel_idle.c return retval; retval 161 drivers/iio/adc/bcm_iproc_adc.c irqreturn_t retval = IRQ_NONE; retval 218 drivers/iio/adc/bcm_iproc_adc.c retval = IRQ_HANDLED; retval 221 drivers/iio/adc/bcm_iproc_adc.c return retval; retval 145 drivers/iio/adc/lpc32xx_adc.c int retval = -ENODEV; retval 178 drivers/iio/adc/lpc32xx_adc.c retval = devm_request_irq(&pdev->dev, irq, lpc32xx_adc_isr, 0, retval 180 drivers/iio/adc/lpc32xx_adc.c if (retval < 0) { retval 182 drivers/iio/adc/lpc32xx_adc.c return retval; retval 204 drivers/iio/adc/lpc32xx_adc.c retval = devm_iio_device_register(&pdev->dev, iodev); retval 205 drivers/iio/adc/lpc32xx_adc.c if (retval) retval 206 drivers/iio/adc/lpc32xx_adc.c return retval; retval 3755 drivers/infiniband/hw/cxgb4/cm.c switch (req->retval) { retval 3772 drivers/infiniband/hw/cxgb4/cm.c __func__, req->retval); retval 3776 drivers/infiniband/hw/cxgb4/cm.c req->retval, atid); retval 3780 drivers/infiniband/hw/cxgb4/cm.c connect_reply_upcall(ep, status2errno(req->retval)); retval 3803 drivers/infiniband/hw/cxgb4/cm.c if (req->retval) { retval 3804 drivers/infiniband/hw/cxgb4/cm.c pr_err("%s passive open failure %d\n", __func__, req->retval); retval 1062 drivers/infiniband/hw/hns/hns_roce_hw_v2.c desc_ret = le16_to_cpu(desc[handle].retval); retval 1092 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int retval; retval 1103 drivers/infiniband/hw/hns/hns_roce_hw_v2.c retval = hns_roce_v2_rst_process_cmd(hr_dev); retval 1104 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (retval == CMD_RST_PRC_SUCCESS) retval 1106 drivers/infiniband/hw/hns/hns_roce_hw_v2.c else if (retval == CMD_RST_PRC_EBUSY) retval 1150 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static void hns_roce_func_clr_rst_prc(struct hns_roce_dev *hr_dev, int retval, retval 1209 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (retval && !flag) retval 1211 drivers/infiniband/hw/hns/hns_roce_hw_v2.c "Func clear read failed, ret = %d.\n", retval); retval 1575 drivers/infiniband/hw/hns/hns_roce_hw_v2.h __le16 retval; retval 73 drivers/infiniband/sw/rxe/rxe.h u32 retval; retval 86 drivers/infiniband/sw/rxe/rxe.h retval = *(u32 *)shash_desc_ctx(shash); retval 88 drivers/infiniband/sw/rxe/rxe.h return retval; retval 391 drivers/input/evdev.c int retval; retval 393 drivers/input/evdev.c retval = mutex_lock_interruptible(&evdev->mutex); retval 394 drivers/input/evdev.c if (retval) retval 395 drivers/input/evdev.c return retval; retval 398 drivers/input/evdev.c retval = -ENODEV; retval 400 drivers/input/evdev.c retval = input_open_device(&evdev->handle); retval 401 drivers/input/evdev.c if (retval) retval 406 drivers/input/evdev.c return retval; retval 507 drivers/input/evdev.c int retval = 0; retval 512 drivers/input/evdev.c retval = mutex_lock_interruptible(&evdev->mutex); retval 513 drivers/input/evdev.c if (retval) retval 514 drivers/input/evdev.c return retval; retval 517 drivers/input/evdev.c retval = -ENODEV; retval 521 drivers/input/evdev.c while (retval + input_event_size() <= count) { retval 523 drivers/input/evdev.c if (input_event_from_user(buffer + retval, &event)) { retval 524 drivers/input/evdev.c retval = -EFAULT; retval 527 drivers/input/evdev.c retval += input_event_size(); retval 536 drivers/input/evdev.c return retval; retval 1260 drivers/input/evdev.c int retval; retval 1262 drivers/input/evdev.c retval = mutex_lock_interruptible(&evdev->mutex); retval 1263 drivers/input/evdev.c if (retval) retval 1264 drivers/input/evdev.c return retval; retval 1267 drivers/input/evdev.c retval = -ENODEV; retval 1271 drivers/input/evdev.c retval = evdev_do_ioctl(file, cmd, p, compat_mode); retval 1275 drivers/input/evdev.c return retval; retval 357 drivers/input/gameport/gameport.c int retval = 0; retval 379 drivers/input/gameport/gameport.c retval = -ENOMEM; retval 387 drivers/input/gameport/gameport.c retval = -EINVAL; retval 400 drivers/input/gameport/gameport.c return retval; retval 536 drivers/input/input.c int retval; retval 538 drivers/input/input.c retval = mutex_lock_interruptible(&dev->mutex); retval 539 drivers/input/input.c if (retval) retval 540 drivers/input/input.c return retval; retval 543 drivers/input/input.c retval = -EBUSY; retval 551 drivers/input/input.c return retval; retval 602 drivers/input/input.c int retval; retval 604 drivers/input/input.c retval = mutex_lock_interruptible(&dev->mutex); retval 605 drivers/input/input.c if (retval) retval 606 drivers/input/input.c return retval; retval 609 drivers/input/input.c retval = -ENODEV; retval 624 drivers/input/input.c retval = dev->open(dev); retval 625 drivers/input/input.c if (retval) { retval 642 drivers/input/input.c return retval; retval 649 drivers/input/input.c int retval; retval 651 drivers/input/input.c retval = mutex_lock_interruptible(&dev->mutex); retval 652 drivers/input/input.c if (retval) retval 653 drivers/input/input.c return retval; retval 656 drivers/input/input.c retval = dev->flush(dev, file); retval 659 drivers/input/input.c return retval; retval 908 drivers/input/input.c int retval; retval 911 drivers/input/input.c retval = dev->getkeycode(dev, ke); retval 914 drivers/input/input.c return retval; retval 931 drivers/input/input.c int retval; retval 938 drivers/input/input.c retval = dev->setkeycode(dev, ke, &old_keycode); retval 939 drivers/input/input.c if (retval) retval 967 drivers/input/input.c return retval; retval 2353 drivers/input/input.c int retval = 0; retval 2358 drivers/input/input.c retval = fn(handle, data); retval 2359 drivers/input/input.c if (retval) retval 2365 drivers/input/input.c return retval; retval 199 drivers/input/joydev.c int retval; retval 201 drivers/input/joydev.c retval = mutex_lock_interruptible(&joydev->mutex); retval 202 drivers/input/joydev.c if (retval) retval 203 drivers/input/joydev.c return retval; retval 206 drivers/input/joydev.c retval = -ENODEV; retval 208 drivers/input/joydev.c retval = input_open_device(&joydev->handle); retval 209 drivers/input/joydev.c if (retval) retval 216 drivers/input/joydev.c return retval; retval 391 drivers/input/joydev.c int retval; retval 405 drivers/input/joydev.c retval = wait_event_interruptible(joydev->wait, retval 407 drivers/input/joydev.c if (retval) retval 408 drivers/input/joydev.c return retval; retval 413 drivers/input/joydev.c while (retval + sizeof(struct js_event) <= count && retval 416 drivers/input/joydev.c if (copy_to_user(buf + retval, &event, sizeof(struct js_event))) retval 419 drivers/input/joydev.c retval += sizeof(struct js_event); retval 422 drivers/input/joydev.c while (retval + sizeof(struct js_event) <= count && retval 425 drivers/input/joydev.c if (copy_to_user(buf + retval, &event, sizeof(struct js_event))) retval 428 drivers/input/joydev.c retval += sizeof(struct js_event); retval 431 drivers/input/joydev.c return retval; retval 450 drivers/input/joydev.c int retval = 0; retval 461 drivers/input/joydev.c retval = -EINVAL; retval 473 drivers/input/joydev.c return retval; retval 481 drivers/input/joydev.c int retval = 0; retval 492 drivers/input/joydev.c retval = -EINVAL; retval 504 drivers/input/joydev.c return retval; retval 601 drivers/input/joydev.c int retval; retval 603 drivers/input/joydev.c retval = mutex_lock_interruptible(&joydev->mutex); retval 604 drivers/input/joydev.c if (retval) retval 605 drivers/input/joydev.c return retval; retval 608 drivers/input/joydev.c retval = -ENODEV; retval 615 drivers/input/joydev.c retval = get_user(tmp32, (s32 __user *) arg); retval 616 drivers/input/joydev.c if (retval == 0) retval 622 drivers/input/joydev.c retval = put_user(tmp32, (s32 __user *) arg); retval 626 drivers/input/joydev.c retval = copy_from_user(&ds32, argp, retval 628 drivers/input/joydev.c if (retval == 0) { retval 646 drivers/input/joydev.c retval = copy_to_user(argp, &ds32, sizeof(ds32)) ? -EFAULT : 0; retval 650 drivers/input/joydev.c retval = joydev_ioctl_common(joydev, cmd, argp); retval 656 drivers/input/joydev.c return retval; retval 666 drivers/input/joydev.c int retval; retval 668 drivers/input/joydev.c retval = mutex_lock_interruptible(&joydev->mutex); retval 669 drivers/input/joydev.c if (retval) retval 670 drivers/input/joydev.c return retval; retval 673 drivers/input/joydev.c retval = -ENODEV; retval 680 drivers/input/joydev.c retval = get_user(joydev->glue.JS_TIMELIMIT, retval 685 drivers/input/joydev.c retval = put_user(joydev->glue.JS_TIMELIMIT, retval 690 drivers/input/joydev.c retval = copy_from_user(&joydev->glue, argp, retval 695 drivers/input/joydev.c retval = copy_to_user(argp, &joydev->glue, retval 700 drivers/input/joydev.c retval = joydev_ioctl_common(joydev, cmd, argp); retval 705 drivers/input/joydev.c return retval; retval 84 drivers/input/joystick/pxrc.c int retval; retval 87 drivers/input/joystick/pxrc.c retval = usb_submit_urb(pxrc->urb, GFP_KERNEL); retval 88 drivers/input/joystick/pxrc.c if (retval) { retval 91 drivers/input/joystick/pxrc.c __func__, retval); retval 92 drivers/input/joystick/pxrc.c retval = -EIO; retval 100 drivers/input/joystick/pxrc.c return retval; retval 222 drivers/input/joystick/pxrc.c int retval = 0; retval 226 drivers/input/joystick/pxrc.c retval = -EIO; retval 229 drivers/input/joystick/pxrc.c return retval; retval 244 drivers/input/joystick/pxrc.c int retval = 0; retval 247 drivers/input/joystick/pxrc.c retval = -EIO; retval 251 drivers/input/joystick/pxrc.c return retval; retval 910 drivers/input/joystick/xpad.c int retval, status; retval 946 drivers/input/joystick/xpad.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 947 drivers/input/joystick/xpad.c if (retval) retval 949 drivers/input/joystick/xpad.c __func__, retval); retval 1149 drivers/input/joystick/xpad.c int retval; retval 1170 drivers/input/joystick/xpad.c retval = xpad_try_sending_next_out_packet(xpad); retval 1174 drivers/input/joystick/xpad.c return retval; retval 1180 drivers/input/joystick/xpad.c int retval; retval 1190 drivers/input/joystick/xpad.c retval = xpad_try_sending_next_out_packet(xpad); retval 1194 drivers/input/joystick/xpad.c return retval; retval 1228 drivers/input/joystick/xpad.c int retval; retval 1303 drivers/input/joystick/xpad.c retval = -EINVAL; retval 1307 drivers/input/joystick/xpad.c retval = xpad_try_sending_next_out_packet(xpad); retval 1311 drivers/input/joystick/xpad.c return retval; retval 1919 drivers/input/joystick/xpad.c int retval = 0; retval 1922 drivers/input/joystick/xpad.c retval = xpad360w_start_input(xpad); retval 1926 drivers/input/joystick/xpad.c retval = xpad_start_input(xpad); retval 1933 drivers/input/joystick/xpad.c retval = xpad_start_xbox_one(xpad); retval 1938 drivers/input/joystick/xpad.c return retval; retval 1221 drivers/input/keyboard/atkbd.c int retval = -1; retval 1264 drivers/input/keyboard/atkbd.c retval = 0; retval 1268 drivers/input/keyboard/atkbd.c return retval; retval 1322 drivers/input/keyboard/atkbd.c int retval; retval 1324 drivers/input/keyboard/atkbd.c retval = mutex_lock_interruptible(&atkbd->mutex); retval 1325 drivers/input/keyboard/atkbd.c if (retval) retval 1326 drivers/input/keyboard/atkbd.c return retval; retval 1329 drivers/input/keyboard/atkbd.c retval = handler(atkbd, buf, count); retval 1334 drivers/input/keyboard/atkbd.c return retval; retval 291 drivers/input/keyboard/lpc32xx-keys.c int retval = 0; retval 297 drivers/input/keyboard/lpc32xx-keys.c retval = clk_prepare_enable(kscandat->clk); retval 298 drivers/input/keyboard/lpc32xx-keys.c if (retval == 0) retval 303 drivers/input/keyboard/lpc32xx-keys.c return retval; retval 236 drivers/input/keyboard/st-keyscan.c int retval = 0; retval 243 drivers/input/keyboard/st-keyscan.c retval = keyscan_start(keypad); retval 246 drivers/input/keyboard/st-keyscan.c return retval; retval 73 drivers/input/keyboard/tca6416-keypad.c int retval; retval 75 drivers/input/keyboard/tca6416-keypad.c retval = chip->io_size > 8 ? retval 78 drivers/input/keyboard/tca6416-keypad.c if (retval < 0) { retval 80 drivers/input/keyboard/tca6416-keypad.c __func__, reg, retval); retval 81 drivers/input/keyboard/tca6416-keypad.c return retval; retval 84 drivers/input/keyboard/tca6416-keypad.c *val = (u16)retval; retval 79 drivers/input/matrix-keymap.c int retval; retval 101 drivers/input/matrix-keymap.c retval = device_property_read_u32_array(dev, propname, keys, size); retval 102 drivers/input/matrix-keymap.c if (retval) { retval 104 drivers/input/matrix-keymap.c propname, retval); retval 111 drivers/input/matrix-keymap.c retval = -EINVAL; retval 116 drivers/input/matrix-keymap.c retval = 0; retval 120 drivers/input/matrix-keymap.c return retval; retval 571 drivers/input/misc/ati_remote2.c int index, mode, retval; retval 620 drivers/input/misc/ati_remote2.c retval = input_register_device(idev); retval 621 drivers/input/misc/ati_remote2.c if (retval) retval 624 drivers/input/misc/ati_remote2.c return retval; retval 227 drivers/input/misc/gp2ap002a00f.c int retval = 0; retval 234 drivers/input/misc/gp2ap002a00f.c retval = gp2a_disable(dt); retval 238 drivers/input/misc/gp2ap002a00f.c return retval; retval 245 drivers/input/misc/gp2ap002a00f.c int retval = 0; retval 252 drivers/input/misc/gp2ap002a00f.c retval = gp2a_enable(dt); retval 256 drivers/input/misc/gp2ap002a00f.c return retval; retval 402 drivers/input/misc/hp_sdc_rtc.c ssize_t retval; retval 407 drivers/input/misc/hp_sdc_rtc.c retval = put_user(68, (unsigned long __user *)buf); retval 408 drivers/input/misc/hp_sdc_rtc.c return retval; retval 889 drivers/input/misc/ims-pcu.c int retval; retval 896 drivers/input/misc/ims-pcu.c retval = ims_pcu_flash_firmware(pcu, fw, n_fw_records); retval 897 drivers/input/misc/ims-pcu.c if (retval) retval 900 drivers/input/misc/ims-pcu.c retval = ims_pcu_execute_bl_command(pcu, LAUNCH_APP, NULL, 0, 0); retval 901 drivers/input/misc/ims-pcu.c if (retval) retval 904 drivers/input/misc/ims-pcu.c retval); retval 907 drivers/input/misc/ims-pcu.c pcu->update_firmware_status = retval; retval 909 drivers/input/misc/ims-pcu.c return retval; retval 1477 drivers/input/misc/ims-pcu.c int retval, status; retval 1505 drivers/input/misc/ims-pcu.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 1506 drivers/input/misc/ims-pcu.c if (retval && retval != -ENODEV) retval 1508 drivers/input/misc/ims-pcu.c __func__, retval); retval 2104 drivers/input/misc/ims-pcu.c int retval = 0; retval 2107 drivers/input/misc/ims-pcu.c retval = ims_pcu_start_io(pcu); retval 2108 drivers/input/misc/ims-pcu.c if (retval == 0) retval 2109 drivers/input/misc/ims-pcu.c retval = ims_pcu_line_setup(pcu); retval 2112 drivers/input/misc/ims-pcu.c return retval; retval 336 drivers/input/misc/keyspan_remote.c int retval = 0; retval 338 drivers/input/misc/keyspan_remote.c retval = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), retval 341 drivers/input/misc/keyspan_remote.c if (retval) { retval 343 drivers/input/misc/keyspan_remote.c __func__, retval); retval 344 drivers/input/misc/keyspan_remote.c return(retval); retval 347 drivers/input/misc/keyspan_remote.c retval = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), retval 350 drivers/input/misc/keyspan_remote.c if (retval) { retval 352 drivers/input/misc/keyspan_remote.c __func__, retval); retval 353 drivers/input/misc/keyspan_remote.c return(retval); retval 356 drivers/input/misc/keyspan_remote.c retval = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), retval 359 drivers/input/misc/keyspan_remote.c if (retval) { retval 361 drivers/input/misc/keyspan_remote.c __func__, retval); retval 362 drivers/input/misc/keyspan_remote.c return(retval); retval 366 drivers/input/misc/keyspan_remote.c return(retval); retval 375 drivers/input/misc/keyspan_remote.c int retval; retval 398 drivers/input/misc/keyspan_remote.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 399 drivers/input/misc/keyspan_remote.c if (retval) retval 402 drivers/input/misc/keyspan_remote.c __func__, retval); retval 477 drivers/input/misc/kxtj9.c int retval; retval 479 drivers/input/misc/kxtj9.c retval = kxtj9_device_power_on(tj9); retval 480 drivers/input/misc/kxtj9.c if (retval < 0) retval 481 drivers/input/misc/kxtj9.c return retval; retval 483 drivers/input/misc/kxtj9.c retval = i2c_smbus_read_byte_data(tj9->client, WHO_AM_I); retval 484 drivers/input/misc/kxtj9.c if (retval < 0) { retval 489 drivers/input/misc/kxtj9.c retval = (retval != 0x07 && retval != 0x08) ? -EIO : 0; retval 493 drivers/input/misc/kxtj9.c return retval; retval 90 drivers/input/misc/powermate.c int retval; retval 115 drivers/input/misc/powermate.c retval = usb_submit_urb (urb, GFP_ATOMIC); retval 116 drivers/input/misc/powermate.c if (retval) retval 118 drivers/input/misc/powermate.c __func__, retval); retval 43 drivers/input/misc/uinput.c int retval; retval 148 drivers/input/misc/uinput.c int retval; retval 150 drivers/input/misc/uinput.c retval = mutex_lock_interruptible(&udev->mutex); retval 151 drivers/input/misc/uinput.c if (retval) retval 152 drivers/input/misc/uinput.c return retval; retval 155 drivers/input/misc/uinput.c retval = -ENODEV; retval 169 drivers/input/misc/uinput.c return retval; retval 175 drivers/input/misc/uinput.c int retval; retval 177 drivers/input/misc/uinput.c retval = uinput_request_reserve_slot(udev, request); retval 178 drivers/input/misc/uinput.c if (retval) retval 179 drivers/input/misc/uinput.c return retval; retval 181 drivers/input/misc/uinput.c retval = uinput_request_send(udev, request); retval 182 drivers/input/misc/uinput.c if (retval) retval 186 drivers/input/misc/uinput.c retval = -ETIMEDOUT; retval 190 drivers/input/misc/uinput.c retval = request->retval; retval 194 drivers/input/misc/uinput.c return retval; retval 211 drivers/input/misc/uinput.c request->retval = -ENODEV; retval 515 drivers/input/misc/uinput.c int retval; retval 536 drivers/input/misc/uinput.c retval = -EINVAL; retval 544 drivers/input/misc/uinput.c retval = -ENOMEM; retval 560 drivers/input/misc/uinput.c retval = uinput_validate_absbits(dev); retval 561 drivers/input/misc/uinput.c if (retval < 0) retval 565 drivers/input/misc/uinput.c retval = count; retval 569 drivers/input/misc/uinput.c return retval; retval 603 drivers/input/misc/uinput.c int retval; retval 608 drivers/input/misc/uinput.c retval = mutex_lock_interruptible(&udev->mutex); retval 609 drivers/input/misc/uinput.c if (retval) retval 610 drivers/input/misc/uinput.c return retval; retval 612 drivers/input/misc/uinput.c retval = udev->state == UIST_CREATED ? retval 618 drivers/input/misc/uinput.c return retval; retval 661 drivers/input/misc/uinput.c ssize_t retval; retval 667 drivers/input/misc/uinput.c retval = mutex_lock_interruptible(&udev->mutex); retval 668 drivers/input/misc/uinput.c if (retval) retval 669 drivers/input/misc/uinput.c return retval; retval 672 drivers/input/misc/uinput.c retval = -ENODEV; retval 675 drivers/input/misc/uinput.c retval = -EAGAIN; retval 677 drivers/input/misc/uinput.c retval = uinput_events_to_user(udev, buffer, count); retval 681 drivers/input/misc/uinput.c if (retval || count == 0) retval 685 drivers/input/misc/uinput.c retval = wait_event_interruptible(udev->waitq, retval 688 drivers/input/misc/uinput.c } while (retval == 0); retval 690 drivers/input/misc/uinput.c return retval; retval 718 drivers/input/misc/uinput.c __s32 retval; retval 730 drivers/input/misc/uinput.c ff_up_compat.retval = ff_up->retval; retval 765 drivers/input/misc/uinput.c ff_up->retval = ff_up_compat.retval; retval 841 drivers/input/misc/uinput.c int retval; retval 850 drivers/input/misc/uinput.c retval = mutex_lock_interruptible(&udev->mutex); retval 851 drivers/input/misc/uinput.c if (retval) retval 852 drivers/input/misc/uinput.c return retval; retval 857 drivers/input/misc/uinput.c retval = -ENOMEM; retval 865 drivers/input/misc/uinput.c retval = -EFAULT; retval 869 drivers/input/misc/uinput.c retval = uinput_create_device(udev); retval 877 drivers/input/misc/uinput.c retval = uinput_dev_setup(udev, p); retval 883 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, evbit, EV_MAX); retval 887 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, keybit, KEY_MAX); retval 891 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, relbit, REL_MAX); retval 895 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, absbit, ABS_MAX); retval 899 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, mscbit, MSC_MAX); retval 903 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, ledbit, LED_MAX); retval 907 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, sndbit, SND_MAX); retval 911 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, ffbit, FF_MAX); retval 915 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, swbit, SW_MAX); retval 919 drivers/input/misc/uinput.c retval = uinput_set_bit(arg, propbit, INPUT_PROP_MAX); retval 924 drivers/input/misc/uinput.c retval = -EINVAL; retval 930 drivers/input/misc/uinput.c retval = PTR_ERR(phys); retval 939 drivers/input/misc/uinput.c retval = uinput_ff_upload_from_user(p, &ff_up); retval 940 drivers/input/misc/uinput.c if (retval) retval 946 drivers/input/misc/uinput.c retval = -EINVAL; retval 950 drivers/input/misc/uinput.c ff_up.retval = 0; retval 957 drivers/input/misc/uinput.c retval = uinput_ff_upload_to_user(p, &ff_up); retval 962 drivers/input/misc/uinput.c retval = -EFAULT; retval 968 drivers/input/misc/uinput.c retval = -EINVAL; retval 972 drivers/input/misc/uinput.c ff_erase.retval = 0; retval 975 drivers/input/misc/uinput.c retval = -EFAULT; retval 982 drivers/input/misc/uinput.c retval = uinput_ff_upload_from_user(p, &ff_up); retval 983 drivers/input/misc/uinput.c if (retval) retval 989 drivers/input/misc/uinput.c retval = -EINVAL; retval 993 drivers/input/misc/uinput.c req->retval = ff_up.retval; retval 999 drivers/input/misc/uinput.c retval = -EFAULT; retval 1005 drivers/input/misc/uinput.c retval = -EINVAL; retval 1009 drivers/input/misc/uinput.c req->retval = ff_erase.retval; retval 1020 drivers/input/misc/uinput.c retval = -ENOENT; retval 1024 drivers/input/misc/uinput.c retval = uinput_str_to_user(p, name, size); retval 1028 drivers/input/misc/uinput.c retval = uinput_abs_setup(udev, p, size); retval 1032 drivers/input/misc/uinput.c retval = -EINVAL; retval 1035 drivers/input/misc/uinput.c return retval; retval 321 drivers/input/mouse/appletouch.c int retval; retval 326 drivers/input/mouse/appletouch.c retval = usb_submit_urb(dev->urb, GFP_ATOMIC); retval 327 drivers/input/mouse/appletouch.c if (retval) retval 330 drivers/input/mouse/appletouch.c retval); retval 518 drivers/input/mouse/appletouch.c int retval, i, j; retval 646 drivers/input/mouse/appletouch.c retval = usb_submit_urb(dev->urb, GFP_ATOMIC); retval 647 drivers/input/mouse/appletouch.c if (retval) retval 650 drivers/input/mouse/appletouch.c retval); retval 658 drivers/input/mouse/appletouch.c int retval, i, j; retval 789 drivers/input/mouse/appletouch.c retval = usb_submit_urb(dev->urb, GFP_ATOMIC); retval 790 drivers/input/mouse/appletouch.c if (retval) retval 793 drivers/input/mouse/appletouch.c retval); retval 650 drivers/input/mouse/bcm5974.c int retval = 0, size; retval 660 drivers/input/mouse/bcm5974.c retval = -ENOMEM; retval 672 drivers/input/mouse/bcm5974.c retval = -EIO; retval 687 drivers/input/mouse/bcm5974.c retval = -EIO; retval 696 drivers/input/mouse/bcm5974.c return retval; retval 510 drivers/input/mouse/elan_i2c_core.c int retval; retval 517 drivers/input/mouse/elan_i2c_core.c retval = __elan_update_firmware(data, fw); retval 518 drivers/input/mouse/elan_i2c_core.c if (retval) { retval 519 drivers/input/mouse/elan_i2c_core.c dev_err(&client->dev, "firmware update failed: %d\n", retval); retval 530 drivers/input/mouse/elan_i2c_core.c return retval; retval 648 drivers/input/mouse/elan_i2c_core.c int retval; retval 652 drivers/input/mouse/elan_i2c_core.c retval = mutex_lock_interruptible(&data->sysfs_mutex); retval 653 drivers/input/mouse/elan_i2c_core.c if (retval) retval 654 drivers/input/mouse/elan_i2c_core.c return retval; retval 659 drivers/input/mouse/elan_i2c_core.c retval = data->ops->set_mode(client, data->mode); retval 660 drivers/input/mouse/elan_i2c_core.c if (retval) { retval 662 drivers/input/mouse/elan_i2c_core.c retval); retval 666 drivers/input/mouse/elan_i2c_core.c retval = data->ops->calibrate(client); retval 667 drivers/input/mouse/elan_i2c_core.c if (retval) { retval 669 drivers/input/mouse/elan_i2c_core.c retval); retval 678 drivers/input/mouse/elan_i2c_core.c retval = data->ops->calibrate_result(client, val); retval 679 drivers/input/mouse/elan_i2c_core.c if (retval) retval 681 drivers/input/mouse/elan_i2c_core.c retval); retval 689 drivers/input/mouse/elan_i2c_core.c retval = -ETIMEDOUT; retval 698 drivers/input/mouse/elan_i2c_core.c if (!retval) retval 699 drivers/input/mouse/elan_i2c_core.c retval = error; retval 704 drivers/input/mouse/elan_i2c_core.c return retval ?: count; retval 762 drivers/input/mouse/elan_i2c_core.c int retval; retval 764 drivers/input/mouse/elan_i2c_core.c retval = mutex_lock_interruptible(&data->sysfs_mutex); retval 765 drivers/input/mouse/elan_i2c_core.c if (retval) retval 766 drivers/input/mouse/elan_i2c_core.c return retval; retval 773 drivers/input/mouse/elan_i2c_core.c retval = data->ops->set_mode(data->client, data->mode); retval 774 drivers/input/mouse/elan_i2c_core.c if (retval) { retval 776 drivers/input/mouse/elan_i2c_core.c retval); retval 782 drivers/input/mouse/elan_i2c_core.c retval = data->ops->get_baseline_data(data->client, true, retval 784 drivers/input/mouse/elan_i2c_core.c if (retval) { retval 786 drivers/input/mouse/elan_i2c_core.c retval); retval 790 drivers/input/mouse/elan_i2c_core.c retval = data->ops->get_baseline_data(data->client, false, retval 792 drivers/input/mouse/elan_i2c_core.c if (retval) { retval 794 drivers/input/mouse/elan_i2c_core.c retval); retval 806 drivers/input/mouse/elan_i2c_core.c if (!retval) retval 807 drivers/input/mouse/elan_i2c_core.c retval = error; retval 812 drivers/input/mouse/elan_i2c_core.c return retval ?: count; retval 820 drivers/input/mouse/elan_i2c_core.c int retval; retval 822 drivers/input/mouse/elan_i2c_core.c retval = mutex_lock_interruptible(&data->sysfs_mutex); retval 823 drivers/input/mouse/elan_i2c_core.c if (retval) retval 824 drivers/input/mouse/elan_i2c_core.c return retval; retval 827 drivers/input/mouse/elan_i2c_core.c retval = -ENODATA; retval 831 drivers/input/mouse/elan_i2c_core.c retval = snprintf(buf, PAGE_SIZE, "%d", data->min_baseline); retval 835 drivers/input/mouse/elan_i2c_core.c return retval; retval 843 drivers/input/mouse/elan_i2c_core.c int retval; retval 845 drivers/input/mouse/elan_i2c_core.c retval = mutex_lock_interruptible(&data->sysfs_mutex); retval 846 drivers/input/mouse/elan_i2c_core.c if (retval) retval 847 drivers/input/mouse/elan_i2c_core.c return retval; retval 850 drivers/input/mouse/elan_i2c_core.c retval = -ENODATA; retval 854 drivers/input/mouse/elan_i2c_core.c retval = snprintf(buf, PAGE_SIZE, "%d", data->max_baseline); retval 858 drivers/input/mouse/elan_i2c_core.c return retval; retval 95 drivers/input/mouse/elan_i2c_i2c.c int retval; retval 97 drivers/input/mouse/elan_i2c_i2c.c retval = elan_i2c_read_block(client, reg, val, ETP_I2C_INF_LENGTH); retval 98 drivers/input/mouse/elan_i2c_i2c.c if (retval < 0) { retval 100 drivers/input/mouse/elan_i2c_i2c.c return retval; retval 1586 drivers/input/mouse/psmouse-base.c int retval = 0, error = -ENOMEM; retval 1667 drivers/input/mouse/psmouse-base.c return retval; retval 1688 drivers/input/mouse/psmouse-base.c retval = error; retval 1826 drivers/input/mouse/psmouse-base.c int retval; retval 1828 drivers/input/mouse/psmouse-base.c retval = mutex_lock_interruptible(&psmouse_mutex); retval 1829 drivers/input/mouse/psmouse-base.c if (retval) retval 1836 drivers/input/mouse/psmouse-base.c retval = -ENOENT; retval 1842 drivers/input/mouse/psmouse-base.c retval = -ENODEV; retval 1855 drivers/input/mouse/psmouse-base.c retval = attr->set(psmouse, attr->data, buf, count); retval 1858 drivers/input/mouse/psmouse-base.c if (retval != -ENODEV && !psmouse->protocol->smbus_companion) retval 1868 drivers/input/mouse/psmouse-base.c return retval; retval 424 drivers/input/mouse/sentelic.c ssize_t retval; retval 430 drivers/input/mouse/sentelic.c retval = kstrtouint(rest + 1, 16, &val); retval 431 drivers/input/mouse/sentelic.c if (retval) retval 432 drivers/input/mouse/sentelic.c return retval; retval 440 drivers/input/mouse/sentelic.c retval = fsp_reg_write(psmouse, reg, val) < 0 ? -EIO : count; retval 1855 drivers/input/mouse/synaptics.c int retval; retval 1880 drivers/input/mouse/synaptics.c retval = synaptics_setup_ps2(psmouse, &info); retval 1881 drivers/input/mouse/synaptics.c if (retval < 0) { retval 1889 drivers/input/mouse/synaptics.c return retval; retval 245 drivers/input/mouse/synaptics_usb.c int retval; retval 247 drivers/input/mouse/synaptics_usb.c retval = usb_autopm_get_interface(synusb->intf); retval 248 drivers/input/mouse/synaptics_usb.c if (retval) { retval 251 drivers/input/mouse/synaptics_usb.c __func__, retval); retval 252 drivers/input/mouse/synaptics_usb.c return retval; retval 256 drivers/input/mouse/synaptics_usb.c retval = usb_submit_urb(synusb->urb, GFP_KERNEL); retval 257 drivers/input/mouse/synaptics_usb.c if (retval) { retval 260 drivers/input/mouse/synaptics_usb.c __func__, retval); retval 261 drivers/input/mouse/synaptics_usb.c retval = -EIO; retval 271 drivers/input/mouse/synaptics_usb.c return retval; retval 487 drivers/input/mouse/synaptics_usb.c int retval = 0; retval 493 drivers/input/mouse/synaptics_usb.c retval = -EIO; retval 498 drivers/input/mouse/synaptics_usb.c return retval; retval 514 drivers/input/mouse/synaptics_usb.c int retval = 0; retval 518 drivers/input/mouse/synaptics_usb.c retval = -EIO; retval 523 drivers/input/mouse/synaptics_usb.c return retval; retval 78 drivers/input/mouse/trackpoint.c int retval; retval 81 drivers/input/mouse/trackpoint.c retval = trackpoint_read(ps2dev, loc, &data); retval 82 drivers/input/mouse/trackpoint.c if (retval) retval 83 drivers/input/mouse/trackpoint.c return retval; retval 86 drivers/input/mouse/trackpoint.c retval = trackpoint_toggle_bit(ps2dev, loc, mask); retval 88 drivers/input/mouse/trackpoint.c return retval; retval 421 drivers/input/mousedev.c int retval; retval 423 drivers/input/mousedev.c retval = mutex_lock_interruptible(&mousedev->mutex); retval 424 drivers/input/mousedev.c if (retval) retval 425 drivers/input/mousedev.c return retval; retval 428 drivers/input/mousedev.c retval = -ENODEV; retval 430 drivers/input/mousedev.c retval = input_open_device(&mousedev->handle); retval 431 drivers/input/mousedev.c if (retval) retval 436 drivers/input/mousedev.c return retval; retval 722 drivers/input/mousedev.c int retval = 0; retval 728 drivers/input/mousedev.c retval = wait_event_interruptible(mousedev->wait, retval 730 drivers/input/mousedev.c if (retval) retval 731 drivers/input/mousedev.c return retval; retval 937 drivers/input/mousedev.c int retval; retval 939 drivers/input/mousedev.c retval = mutex_lock_interruptible(&mousedev_mix->mutex); retval 940 drivers/input/mousedev.c if (retval) retval 941 drivers/input/mousedev.c return retval; retval 944 drivers/input/mousedev.c retval = mousedev_open_device(mousedev); retval 945 drivers/input/mousedev.c if (retval) retval 956 drivers/input/mousedev.c return retval; retval 228 drivers/input/rmi4/rmi_2d_sensor.c int retval; retval 240 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,clip-x-low", 1); retval 241 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 242 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 246 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,clip-y-low", 1); retval 247 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 248 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 252 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,clip-x-high", 1); retval 253 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 254 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 258 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,clip-y-high", 1); retval 259 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 260 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 264 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,offset-x", 1); retval 265 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 266 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 270 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,offset-y", 1); retval 271 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 272 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 276 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,delta-x-threshold", retval 278 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 279 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 283 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,delta-y-threshold", retval 285 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 286 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 290 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, (u32 *)&pdata->sensor_type, retval 292 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 293 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 295 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "touchscreen-x-mm", 1); retval 296 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 297 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 301 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "touchscreen-y-mm", 1); retval 302 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 303 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 307 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, retval 309 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 310 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 314 drivers/input/rmi4/rmi_2d_sensor.c retval = rmi_of_property_read_u32(dev, &val, "syna,rezero-wait-ms", retval 316 drivers/input/rmi4/rmi_2d_sensor.c if (retval) retval 317 drivers/input/rmi4/rmi_2d_sensor.c return retval; retval 413 drivers/input/rmi4/rmi_bus.c int retval; retval 416 drivers/input/rmi4/rmi_bus.c retval = of_property_read_u32(dev->of_node, prop, &val); retval 417 drivers/input/rmi4/rmi_bus.c if (retval && (!optional && retval == -EINVAL)) { retval 419 drivers/input/rmi4/rmi_bus.c prop, retval); retval 420 drivers/input/rmi4/rmi_bus.c return retval; retval 63 drivers/input/rmi4/rmi_driver.c int retval = 0; retval 70 drivers/input/rmi4/rmi_driver.c retval = fh->reset(fn); retval 71 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 73 drivers/input/rmi4/rmi_driver.c retval); retval 76 drivers/input/rmi4/rmi_driver.c return retval; retval 82 drivers/input/rmi4/rmi_driver.c int retval = 0; retval 89 drivers/input/rmi4/rmi_driver.c retval = fh->config(fn); retval 90 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 92 drivers/input/rmi4/rmi_driver.c retval); retval 95 drivers/input/rmi4/rmi_driver.c return retval; retval 102 drivers/input/rmi4/rmi_driver.c int retval; retval 105 drivers/input/rmi4/rmi_driver.c retval = reset_one_function(entry); retval 106 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 107 drivers/input/rmi4/rmi_driver.c return retval; retval 117 drivers/input/rmi4/rmi_driver.c int retval; retval 120 drivers/input/rmi4/rmi_driver.c retval = configure_one_function(entry); retval 121 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 122 drivers/input/rmi4/rmi_driver.c return retval; retval 259 drivers/input/rmi4/rmi_driver.c int retval = 0; retval 266 drivers/input/rmi4/rmi_driver.c retval = fh->suspend(fn); retval 267 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 269 drivers/input/rmi4/rmi_driver.c retval); retval 272 drivers/input/rmi4/rmi_driver.c return retval; retval 279 drivers/input/rmi4/rmi_driver.c int retval; retval 282 drivers/input/rmi4/rmi_driver.c retval = suspend_one_function(entry); retval 283 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 284 drivers/input/rmi4/rmi_driver.c return retval; retval 293 drivers/input/rmi4/rmi_driver.c int retval = 0; retval 300 drivers/input/rmi4/rmi_driver.c retval = fh->resume(fn); retval 301 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 303 drivers/input/rmi4/rmi_driver.c retval); retval 306 drivers/input/rmi4/rmi_driver.c return retval; retval 313 drivers/input/rmi4/rmi_driver.c int retval; retval 316 drivers/input/rmi4/rmi_driver.c retval = resume_one_function(entry); retval 317 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 318 drivers/input/rmi4/rmi_driver.c return retval; retval 326 drivers/input/rmi4/rmi_driver.c int retval = 0; retval 328 drivers/input/rmi4/rmi_driver.c retval = rmi_driver_process_config_requests(rmi_dev); retval 329 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 330 drivers/input/rmi4/rmi_driver.c return retval; retval 514 drivers/input/rmi4/rmi_driver.c int retval; retval 524 drivers/input/rmi4/rmi_driver.c retval = callback(rmi_dev, ctx, &pdt_entry); retval 525 drivers/input/rmi4/rmi_driver.c if (retval != RMI_SCAN_CONTINUE) retval 526 drivers/input/rmi4/rmi_driver.c return retval; retval 548 drivers/input/rmi4/rmi_driver.c int retval = RMI_SCAN_DONE; retval 551 drivers/input/rmi4/rmi_driver.c retval = rmi_scan_pdt_page(rmi_dev, page, &empty_pages, retval 553 drivers/input/rmi4/rmi_driver.c if (retval != RMI_SCAN_CONTINUE) retval 557 drivers/input/rmi4/rmi_driver.c return retval < 0 ? retval : 0; retval 882 drivers/input/rmi4/rmi_driver.c int retval; retval 892 drivers/input/rmi4/rmi_driver.c retval = disable_irq_wake(irq); retval 893 drivers/input/rmi4/rmi_driver.c if (retval) retval 896 drivers/input/rmi4/rmi_driver.c retval); retval 917 drivers/input/rmi4/rmi_driver.c int retval, count; retval 927 drivers/input/rmi4/rmi_driver.c retval = enable_irq_wake(irq); retval 928 drivers/input/rmi4/rmi_driver.c if (retval) retval 931 drivers/input/rmi4/rmi_driver.c retval); retval 947 drivers/input/rmi4/rmi_driver.c int retval; retval 949 drivers/input/rmi4/rmi_driver.c retval = rmi_suspend_functions(rmi_dev); retval 950 drivers/input/rmi4/rmi_driver.c if (retval) retval 952 drivers/input/rmi4/rmi_driver.c retval); retval 955 drivers/input/rmi4/rmi_driver.c return retval; retval 961 drivers/input/rmi4/rmi_driver.c int retval; retval 965 drivers/input/rmi4/rmi_driver.c retval = rmi_resume_functions(rmi_dev); retval 966 drivers/input/rmi4/rmi_driver.c if (retval) retval 968 drivers/input/rmi4/rmi_driver.c retval); retval 970 drivers/input/rmi4/rmi_driver.c return retval; retval 994 drivers/input/rmi4/rmi_driver.c int retval; retval 996 drivers/input/rmi4/rmi_driver.c retval = rmi_of_property_read_u32(dev, &pdata->reset_delay_ms, retval 998 drivers/input/rmi4/rmi_driver.c if (retval) retval 999 drivers/input/rmi4/rmi_driver.c return retval; retval 1018 drivers/input/rmi4/rmi_driver.c int retval; retval 1029 drivers/input/rmi4/rmi_driver.c retval = rmi_scan_pdt(rmi_dev, &irq_count, rmi_count_irqs); retval 1030 drivers/input/rmi4/rmi_driver.c if (retval < 0) { retval 1031 drivers/input/rmi4/rmi_driver.c dev_err(dev, "IRQ counting failed with code %d.\n", retval); retval 1032 drivers/input/rmi4/rmi_driver.c return retval; retval 1062 drivers/input/rmi4/rmi_driver.c return retval; retval 1070 drivers/input/rmi4/rmi_driver.c int retval; retval 1073 drivers/input/rmi4/rmi_driver.c retval = rmi_scan_pdt(rmi_dev, &irq_count, rmi_create_function); retval 1074 drivers/input/rmi4/rmi_driver.c if (retval < 0) { retval 1076 drivers/input/rmi4/rmi_driver.c retval); retval 1082 drivers/input/rmi4/rmi_driver.c retval = -EINVAL; retval 1086 drivers/input/rmi4/rmi_driver.c retval = rmi_read_block(rmi_dev, retval 1089 drivers/input/rmi4/rmi_driver.c if (retval < 0) { retval 1099 drivers/input/rmi4/rmi_driver.c return retval; retval 1108 drivers/input/rmi4/rmi_driver.c int retval; retval 1125 drivers/input/rmi4/rmi_driver.c retval = rmi_driver_of_probe(rmi_dev->xport->dev, pdata); retval 1126 drivers/input/rmi4/rmi_driver.c if (retval) retval 1127 drivers/input/rmi4/rmi_driver.c return retval; retval 1159 drivers/input/rmi4/rmi_driver.c retval = rmi_scan_pdt(rmi_dev, NULL, rmi_initial_reset); retval 1160 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 1163 drivers/input/rmi4/rmi_driver.c retval = rmi_read(rmi_dev, PDT_PROPERTIES_LOCATION, &data->pdt_props); retval 1164 drivers/input/rmi4/rmi_driver.c if (retval < 0) { retval 1170 drivers/input/rmi4/rmi_driver.c PDT_PROPERTIES_LOCATION, retval); retval 1176 drivers/input/rmi4/rmi_driver.c retval = rmi_probe_interrupts(data); retval 1177 drivers/input/rmi4/rmi_driver.c if (retval) retval 1194 drivers/input/rmi4/rmi_driver.c retval = -ENOMEM; retval 1202 drivers/input/rmi4/rmi_driver.c retval = rmi_init_functions(data); retval 1203 drivers/input/rmi4/rmi_driver.c if (retval) retval 1206 drivers/input/rmi4/rmi_driver.c retval = rmi_f34_create_sysfs(rmi_dev); retval 1207 drivers/input/rmi4/rmi_driver.c if (retval) retval 1213 drivers/input/rmi4/rmi_driver.c retval = input_register_device(data->input); retval 1214 drivers/input/rmi4/rmi_driver.c if (retval) { retval 1222 drivers/input/rmi4/rmi_driver.c retval = rmi_irq_init(rmi_dev); retval 1223 drivers/input/rmi4/rmi_driver.c if (retval < 0) retval 1228 drivers/input/rmi4/rmi_driver.c retval = rmi_enable_sensor(rmi_dev); retval 1229 drivers/input/rmi4/rmi_driver.c if (retval) retval 1240 drivers/input/rmi4/rmi_driver.c return retval; retval 342 drivers/input/rmi4/rmi_f01.c int retval; retval 345 drivers/input/rmi4/rmi_f01.c retval = rmi_of_property_read_u32(dev, retval 348 drivers/input/rmi4/rmi_f01.c if (retval) retval 349 drivers/input/rmi4/rmi_f01.c return retval; retval 351 drivers/input/rmi4/rmi_f01.c retval = rmi_of_property_read_u32(dev, &val, retval 353 drivers/input/rmi4/rmi_f01.c if (retval) retval 354 drivers/input/rmi4/rmi_f01.c return retval; retval 358 drivers/input/rmi4/rmi_f01.c retval = rmi_of_property_read_u32(dev, &val, retval 360 drivers/input/rmi4/rmi_f01.c if (retval) retval 361 drivers/input/rmi4/rmi_f01.c return retval; retval 365 drivers/input/rmi4/rmi_f01.c retval = rmi_of_property_read_u32(dev, &val, retval 367 drivers/input/rmi4/rmi_f01.c if (retval) retval 368 drivers/input/rmi4/rmi_f01.c return retval; retval 200 drivers/input/rmi4/rmi_f12.c int retval; retval 218 drivers/input/rmi4/rmi_f12.c retval = rmi_read_block(rmi_dev, f12->data_addr, retval 220 drivers/input/rmi4/rmi_f12.c if (retval < 0) { retval 222 drivers/input/rmi4/rmi_f12.c retval); retval 223 drivers/input/rmi4/rmi_f12.c return IRQ_RETVAL(retval); retval 62 drivers/input/rmi4/rmi_i2c.c int retval; retval 64 drivers/input/rmi4/rmi_i2c.c retval = i2c_master_send(client, txbuf, sizeof(txbuf)); retval 65 drivers/input/rmi4/rmi_i2c.c if (retval != sizeof(txbuf)) { retval 67 drivers/input/rmi4/rmi_i2c.c "%s: set page failed: %d.", __func__, retval); retval 68 drivers/input/rmi4/rmi_i2c.c return (retval < 0) ? retval : -EIO; retval 82 drivers/input/rmi4/rmi_i2c.c int retval; retval 95 drivers/input/rmi4/rmi_i2c.c retval = -ENOMEM; retval 104 drivers/input/rmi4/rmi_i2c.c retval = rmi_set_page(rmi_i2c, RMI_I2C_PAGE(addr)); retval 105 drivers/input/rmi4/rmi_i2c.c if (retval) retval 109 drivers/input/rmi4/rmi_i2c.c retval = i2c_master_send(client, rmi_i2c->tx_buf, tx_size); retval 110 drivers/input/rmi4/rmi_i2c.c if (retval == tx_size) retval 111 drivers/input/rmi4/rmi_i2c.c retval = 0; retval 112 drivers/input/rmi4/rmi_i2c.c else if (retval >= 0) retval 113 drivers/input/rmi4/rmi_i2c.c retval = -EIO; retval 118 drivers/input/rmi4/rmi_i2c.c len, addr, retval, (int)len, buf); retval 121 drivers/input/rmi4/rmi_i2c.c return retval; retval 131 drivers/input/rmi4/rmi_i2c.c int retval; retval 149 drivers/input/rmi4/rmi_i2c.c retval = rmi_set_page(rmi_i2c, RMI_I2C_PAGE(addr)); retval 150 drivers/input/rmi4/rmi_i2c.c if (retval) retval 154 drivers/input/rmi4/rmi_i2c.c retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); retval 155 drivers/input/rmi4/rmi_i2c.c if (retval == ARRAY_SIZE(msgs)) retval 156 drivers/input/rmi4/rmi_i2c.c retval = 0; /* success */ retval 157 drivers/input/rmi4/rmi_i2c.c else if (retval >= 0) retval 158 drivers/input/rmi4/rmi_i2c.c retval = -EIO; retval 163 drivers/input/rmi4/rmi_i2c.c len, addr, retval, (int)len, buf); retval 166 drivers/input/rmi4/rmi_i2c.c return retval; retval 45 drivers/input/rmi4/rmi_smbus.c int retval; retval 48 drivers/input/rmi4/rmi_smbus.c retval = i2c_smbus_read_byte_data(client, SMB_PROTOCOL_VERSION_ADDRESS); retval 49 drivers/input/rmi4/rmi_smbus.c if (retval < 0) { retval 51 drivers/input/rmi4/rmi_smbus.c return retval; retval 54 drivers/input/rmi4/rmi_smbus.c return retval + 1; retval 64 drivers/input/rmi4/rmi_smbus.c int retval; retval 66 drivers/input/rmi4/rmi_smbus.c retval = i2c_smbus_write_block_data(client, commandcode, len, buf); retval 70 drivers/input/rmi4/rmi_smbus.c len, commandcode, retval, (int)len, buf); retval 72 drivers/input/rmi4/rmi_smbus.c return retval; retval 86 drivers/input/rmi4/rmi_smbus.c int retval = 0; retval 114 drivers/input/rmi4/rmi_smbus.c retval = smb_block_write(xport, i + 0x80, &new_map, sizeof(new_map)); retval 115 drivers/input/rmi4/rmi_smbus.c if (retval < 0) { retval 129 drivers/input/rmi4/rmi_smbus.c if (retval < 0) retval 130 drivers/input/rmi4/rmi_smbus.c return retval; retval 139 drivers/input/rmi4/rmi_smbus.c int retval = 0; retval 153 drivers/input/rmi4/rmi_smbus.c retval = rmi_smb_get_command_code(xport, rmiaddr, block_len, retval 155 drivers/input/rmi4/rmi_smbus.c if (retval < 0) retval 158 drivers/input/rmi4/rmi_smbus.c retval = smb_block_write(xport, commandcode, retval 160 drivers/input/rmi4/rmi_smbus.c if (retval < 0) retval 170 drivers/input/rmi4/rmi_smbus.c return retval; retval 180 drivers/input/rmi4/rmi_smbus.c int retval; retval 182 drivers/input/rmi4/rmi_smbus.c retval = i2c_smbus_read_block_data(client, commandcode, buf); retval 183 drivers/input/rmi4/rmi_smbus.c if (retval < 0) retval 184 drivers/input/rmi4/rmi_smbus.c return retval; retval 186 drivers/input/rmi4/rmi_smbus.c return retval; retval 194 drivers/input/rmi4/rmi_smbus.c int retval; retval 205 drivers/input/rmi4/rmi_smbus.c retval = rmi_smb_get_command_code(xport, rmiaddr, block_len, retval 207 drivers/input/rmi4/rmi_smbus.c if (retval < 0) retval 210 drivers/input/rmi4/rmi_smbus.c retval = smb_block_read(xport, commandcode, retval 212 drivers/input/rmi4/rmi_smbus.c if (retval < 0) retval 221 drivers/input/rmi4/rmi_smbus.c retval = 0; retval 225 drivers/input/rmi4/rmi_smbus.c return retval; retval 238 drivers/input/rmi4/rmi_smbus.c int retval; retval 241 drivers/input/rmi4/rmi_smbus.c retval = rmi_smb_get_version(rmi_smb); retval 242 drivers/input/rmi4/rmi_smbus.c if (retval < 0) retval 243 drivers/input/rmi4/rmi_smbus.c return retval; retval 332 drivers/input/rmi4/rmi_spi.c int retval; retval 334 drivers/input/rmi4/rmi_spi.c retval = rmi_of_property_read_u32(dev, retval 337 drivers/input/rmi4/rmi_spi.c if (retval) retval 338 drivers/input/rmi4/rmi_spi.c return retval; retval 340 drivers/input/rmi4/rmi_spi.c retval = rmi_of_property_read_u32(dev, retval 343 drivers/input/rmi4/rmi_spi.c if (retval) retval 344 drivers/input/rmi4/rmi_spi.c return retval; retval 1164 drivers/input/serio/i8042-x86ia64io.h int retval; retval 1184 drivers/input/serio/i8042-x86ia64io.h retval = i8042_pnp_init(); retval 1185 drivers/input/serio/i8042-x86ia64io.h if (retval) retval 1186 drivers/input/serio/i8042-x86ia64io.h return retval; retval 1229 drivers/input/serio/i8042-x86ia64io.h return retval; retval 266 drivers/input/serio/i8042.c int retval = 0; retval 277 drivers/input/serio/i8042.c retval = -EIO; retval 284 drivers/input/serio/i8042.c return retval; retval 342 drivers/input/serio/i8042.c int retval; retval 345 drivers/input/serio/i8042.c retval = __i8042_command(param, command); retval 348 drivers/input/serio/i8042.c return retval; retval 359 drivers/input/serio/i8042.c int retval = 0; retval 363 drivers/input/serio/i8042.c if (!(retval = i8042_wait_write())) { retval 370 drivers/input/serio/i8042.c return retval; retval 797 drivers/input/serio/i8042.c int retval = -1; retval 816 drivers/input/serio/i8042.c retval = i8042_command(¶m, I8042_CMD_AUX_LOOP); retval 817 drivers/input/serio/i8042.c if (retval || param != 0x5a) { retval 835 drivers/input/serio/i8042.c if (!retval) retval 871 drivers/input/serio/i8042.c retval = 0; retval 890 drivers/input/serio/i8042.c retval = __i8042_command(¶m, I8042_CMD_AUX_LOOP & 0xf0ff); retval 894 drivers/input/serio/i8042.c if (retval) retval 905 drivers/input/serio/i8042.c retval = -1; retval 918 drivers/input/serio/i8042.c retval = -1; retval 923 drivers/input/serio/i8042.c return retval; retval 88 drivers/input/serio/libps2.c int retval; retval 92 drivers/input/serio/libps2.c retval = ps2_do_sendbyte(ps2dev, byte, timeout, 1); retval 97 drivers/input/serio/libps2.c return retval; retval 350 drivers/input/serio/libps2.c int retval; retval 354 drivers/input/serio/libps2.c retval = __ps2_command(ps2dev, NULL, PS2_CMD_SETSCALE11); retval 355 drivers/input/serio/libps2.c if (retval) retval 360 drivers/input/serio/libps2.c retval = __ps2_command(ps2dev, &d, PS2_CMD_SETRES); retval 361 drivers/input/serio/libps2.c if (retval) retval 366 drivers/input/serio/libps2.c dev_dbg(&ps2dev->serio->dev, "%02x - %d\n", command, retval); retval 368 drivers/input/serio/libps2.c return retval; retval 44 drivers/input/serio/serio.c int retval; retval 47 drivers/input/serio/serio.c retval = drv->connect(serio, drv); retval 50 drivers/input/serio/serio.c return retval; retval 55 drivers/input/serio/serio.c int retval = -1; retval 59 drivers/input/serio/serio.c retval = serio->drv->reconnect(serio); retval 62 drivers/input/serio/serio.c return retval; retval 245 drivers/input/serio/serio.c int retval = 0; retval 267 drivers/input/serio/serio.c retval = -ENOMEM; retval 275 drivers/input/serio/serio.c retval = -EINVAL; retval 288 drivers/input/serio/serio.c return retval; retval 422 drivers/input/serio/serio.c int retval; retval 424 drivers/input/serio/serio.c retval = count; retval 430 drivers/input/serio/serio.c retval = -EINVAL; retval 433 drivers/input/serio/serio.c return retval; retval 751 drivers/input/serio/serio.c int retval; retval 753 drivers/input/serio/serio.c retval = count; retval 759 drivers/input/serio/serio.c retval = -EINVAL; retval 762 drivers/input/serio/serio.c return retval; retval 78 drivers/input/serio/serio_raw.c int retval; retval 80 drivers/input/serio/serio_raw.c retval = mutex_lock_interruptible(&serio_raw_mutex); retval 81 drivers/input/serio/serio_raw.c if (retval) retval 82 drivers/input/serio/serio_raw.c return retval; retval 86 drivers/input/serio/serio_raw.c retval = -ENODEV; retval 91 drivers/input/serio/serio_raw.c retval = -ENODEV; retval 97 drivers/input/serio/serio_raw.c retval = -ENOMEM; retval 112 drivers/input/serio/serio_raw.c return retval; retval 203 drivers/input/serio/serio_raw.c int retval = 0; retval 206 drivers/input/serio/serio_raw.c retval = mutex_lock_interruptible(&serio_raw_mutex); retval 207 drivers/input/serio/serio_raw.c if (retval) retval 208 drivers/input/serio/serio_raw.c return retval; retval 211 drivers/input/serio/serio_raw.c retval = -ENODEV; retval 220 drivers/input/serio/serio_raw.c retval = -EFAULT; retval 226 drivers/input/serio/serio_raw.c if (retval == 0) retval 227 drivers/input/serio/serio_raw.c retval = -EIO; retval 231 drivers/input/serio/serio_raw.c retval++; retval 236 drivers/input/serio/serio_raw.c return retval; retval 293 drivers/input/serio/serport.c int retval; retval 294 drivers/input/serio/serport.c retval = tty_register_ldisc(N_MOUSE, &serport_ldisc); retval 295 drivers/input/serio/serport.c if (retval) retval 298 drivers/input/serio/serport.c return retval; retval 419 drivers/input/tablet/aiptek.c int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; retval 792 drivers/input/tablet/aiptek.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 793 drivers/input/tablet/aiptek.c if (retval != 0) { retval 796 drivers/input/tablet/aiptek.c __func__, retval); retval 256 drivers/input/tablet/hanwang.c int retval; retval 276 drivers/input/tablet/hanwang.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 277 drivers/input/tablet/hanwang.c if (retval) retval 279 drivers/input/tablet/hanwang.c __func__, retval); retval 37 drivers/input/tablet/kbtab.c int retval; retval 76 drivers/input/tablet/kbtab.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 77 drivers/input/tablet/kbtab.c if (retval) retval 80 drivers/input/tablet/kbtab.c __func__, retval); retval 179 drivers/input/tablet/pegasus_notetaker.c int retval; retval 200 drivers/input/tablet/pegasus_notetaker.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 201 drivers/input/tablet/pegasus_notetaker.c if (retval) retval 203 drivers/input/tablet/pegasus_notetaker.c __func__, retval); retval 419 drivers/input/tablet/pegasus_notetaker.c int retval = 0; retval 423 drivers/input/tablet/pegasus_notetaker.c retval = -EIO; retval 426 drivers/input/tablet/pegasus_notetaker.c return retval; retval 432 drivers/input/tablet/pegasus_notetaker.c int retval = 0; retval 436 drivers/input/tablet/pegasus_notetaker.c retval = pegasus_set_mode(pegasus, PEN_MODE_XY, retval 438 drivers/input/tablet/pegasus_notetaker.c if (!retval && usb_submit_urb(pegasus->irq, GFP_NOIO) < 0) retval 439 drivers/input/tablet/pegasus_notetaker.c retval = -EIO; retval 443 drivers/input/tablet/pegasus_notetaker.c return retval; retval 457 drivers/input/touchscreen/ads7846.c unsigned retval = v; retval 460 drivers/input/touchscreen/ads7846.c retval *= ts->vref_mv; retval 461 drivers/input/touchscreen/ads7846.c retval = retval >> 12; retval 463 drivers/input/touchscreen/ads7846.c return retval; retval 468 drivers/input/touchscreen/ads7846.c unsigned retval = vaux_adjust(ts, v); retval 472 drivers/input/touchscreen/ads7846.c retval *= 4; retval 474 drivers/input/touchscreen/ads7846.c return retval; retval 37 drivers/input/touchscreen/ar1021_i2c.c int retval; retval 39 drivers/input/touchscreen/ar1021_i2c.c retval = i2c_master_recv(ar1021->client, retval 41 drivers/input/touchscreen/ar1021_i2c.c if (retval != sizeof(ar1021->data)) retval 1462 drivers/input/touchscreen/cyttsp4_core.c int retval; retval 1465 drivers/input/touchscreen/cyttsp4_core.c retval = cyttsp4_load_status_regs(cd); retval 1466 drivers/input/touchscreen/cyttsp4_core.c if (retval < 0) { retval 1469 drivers/input/touchscreen/cyttsp4_core.c __func__, retval); retval 44 drivers/input/touchscreen/cyttsp4_spi.c int retval; retval 92 drivers/input/touchscreen/cyttsp4_spi.c retval = spi_sync(spi, &msg); retval 93 drivers/input/touchscreen/cyttsp4_spi.c if (retval < 0) { retval 95 drivers/input/touchscreen/cyttsp4_spi.c __func__, retval, xfer[1].len, op); retval 208 drivers/input/touchscreen/cyttsp_core.c int retval = 0; retval 221 drivers/input/touchscreen/cyttsp_core.c retval = ttsp_write_block_data(ts, CY_REG_ACT_INTRVL, retval 226 drivers/input/touchscreen/cyttsp_core.c return retval; retval 242 drivers/input/touchscreen/cyttsp_core.c int retval; retval 250 drivers/input/touchscreen/cyttsp_core.c retval = ttsp_send_command(ts, CY_SOFT_RESET_MODE); retval 251 drivers/input/touchscreen/cyttsp_core.c if (retval) retval 256 drivers/input/touchscreen/cyttsp_core.c retval = timeout ? 0 : -EIO; retval 261 drivers/input/touchscreen/cyttsp_core.c return retval; retval 478 drivers/input/touchscreen/cyttsp_core.c int retval = 0; retval 483 drivers/input/touchscreen/cyttsp_core.c retval = cyttsp_disable(ts); retval 484 drivers/input/touchscreen/cyttsp_core.c if (retval == 0) retval 490 drivers/input/touchscreen/cyttsp_core.c return retval; retval 515 drivers/input/touchscreen/cyttsp_core.c int retval = 0; retval 518 drivers/input/touchscreen/cyttsp_core.c retval = cyttsp_enable(ts); retval 520 drivers/input/touchscreen/cyttsp_core.c return retval; retval 46 drivers/input/touchscreen/cyttsp_i2c_common.c int retval; retval 48 drivers/input/touchscreen/cyttsp_i2c_common.c retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); retval 49 drivers/input/touchscreen/cyttsp_i2c_common.c if (retval < 0) retval 50 drivers/input/touchscreen/cyttsp_i2c_common.c return retval; retval 52 drivers/input/touchscreen/cyttsp_i2c_common.c return retval != ARRAY_SIZE(msgs) ? -EIO : 0; retval 70 drivers/input/touchscreen/cyttsp_i2c_common.c int retval; retval 75 drivers/input/touchscreen/cyttsp_i2c_common.c retval = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); retval 76 drivers/input/touchscreen/cyttsp_i2c_common.c if (retval < 0) retval 77 drivers/input/touchscreen/cyttsp_i2c_common.c return retval; retval 79 drivers/input/touchscreen/cyttsp_i2c_common.c return retval != ARRAY_SIZE(msgs) ? -EIO : 0; retval 41 drivers/input/touchscreen/cyttsp_spi.c int retval; retval 89 drivers/input/touchscreen/cyttsp_spi.c retval = spi_sync(spi, &msg); retval 90 drivers/input/touchscreen/cyttsp_spi.c if (retval < 0) { retval 92 drivers/input/touchscreen/cyttsp_spi.c __func__, retval, xfer[1].len, op); retval 659 drivers/input/touchscreen/edt-ft5x06.c int retval = 0; retval 667 drivers/input/touchscreen/edt-ft5x06.c retval = mode ? edt_ft5x06_factory_mode(tsdata) : retval 673 drivers/input/touchscreen/edt-ft5x06.c return retval; retval 529 drivers/input/touchscreen/imx6ul_tsc.c int retval = 0; retval 534 drivers/input/touchscreen/imx6ul_tsc.c retval = clk_prepare_enable(tsc->adc_clk); retval 535 drivers/input/touchscreen/imx6ul_tsc.c if (retval) retval 538 drivers/input/touchscreen/imx6ul_tsc.c retval = clk_prepare_enable(tsc->tsc_clk); retval 539 drivers/input/touchscreen/imx6ul_tsc.c if (retval) { retval 544 drivers/input/touchscreen/imx6ul_tsc.c retval = imx6ul_tsc_init(tsc); retval 549 drivers/input/touchscreen/imx6ul_tsc.c return retval; retval 198 drivers/input/touchscreen/sx8654.c int retval; retval 217 drivers/input/touchscreen/sx8654.c retval = i2c_master_recv(sx8654->client, data, sizeof(data)); retval 218 drivers/input/touchscreen/sx8654.c if (retval != sizeof(data)) retval 1491 drivers/input/touchscreen/usbtouchscreen.c int retval; retval 1521 drivers/input/touchscreen/usbtouchscreen.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 1522 drivers/input/touchscreen/usbtouchscreen.c if (retval) retval 1524 drivers/input/touchscreen/usbtouchscreen.c __func__, retval); retval 2088 drivers/iommu/dmar.c void *context, void **retval) retval 2090 drivers/iommu/dmar.c acpi_handle *phdl = retval; retval 757 drivers/isdn/capi/capi.c int retval = -EINVAL; retval 765 drivers/isdn/capi/capi.c retval = -EEXIST; retval 770 drivers/isdn/capi/capi.c retval = -EFAULT; retval 776 drivers/isdn/capi/capi.c retval = (int)cdev->ap.applid; retval 779 drivers/isdn/capi/capi.c retval = -EIO; retval 784 drivers/isdn/capi/capi.c return retval; retval 820 drivers/isdn/capi/capi.c retval = copy_to_user(argp, retval 829 drivers/isdn/capi/capi.c retval = copy_to_user(argp, &data.profile, retval 832 drivers/isdn/capi/capi.c if (retval) retval 983 drivers/isdn/capi/kcapi.c int retval = 0; retval 996 drivers/isdn/capi/kcapi.c retval = -ESRCH; retval 1000 drivers/isdn/capi/kcapi.c retval = -EINTR; retval 1012 drivers/isdn/capi/kcapi.c return retval; retval 1026 drivers/isdn/capi/kcapi.c int retval; retval 1032 drivers/isdn/capi/kcapi.c if ((retval = copy_from_user(&cdef, data, retval 1038 drivers/isdn/capi/kcapi.c if ((retval = copy_from_user(&cdef, data, retval 1069 drivers/isdn/capi/kcapi.c retval = -EIO; retval 1072 drivers/isdn/capi/kcapi.c retval = -EIO; retval 1074 drivers/isdn/capi/kcapi.c retval = driver->add_card(driver, &cparams); retval 1077 drivers/isdn/capi/kcapi.c return retval; retval 1098 drivers/isdn/capi/kcapi.c retval = -EINVAL; retval 1104 drivers/isdn/capi/kcapi.c retval = -ESRCH; retval 1110 drivers/isdn/capi/kcapi.c retval = -EINVAL; retval 1115 drivers/isdn/capi/kcapi.c retval = -EINVAL; retval 1128 drivers/isdn/capi/kcapi.c retval = -EBUSY; retval 1133 drivers/isdn/capi/kcapi.c retval = ctr->load_firmware(ctr, &ldata); retval 1134 drivers/isdn/capi/kcapi.c if (retval) { retval 1139 drivers/isdn/capi/kcapi.c retval = wait_on_ctr_state(ctr, CAPI_CTR_RUNNING); retval 1143 drivers/isdn/capi/kcapi.c return retval; retval 1149 drivers/isdn/capi/kcapi.c retval = 0; retval 1155 drivers/isdn/capi/kcapi.c retval = -ESRCH; retval 1164 drivers/isdn/capi/kcapi.c retval = -ESRCH; retval 1170 drivers/isdn/capi/kcapi.c retval = wait_on_ctr_state(ctr, CAPI_CTR_DETECTED); retval 1174 drivers/isdn/capi/kcapi.c return retval; retval 1192 drivers/isdn/capi/kcapi.c int retval; retval 1217 drivers/isdn/capi/kcapi.c retval = 0; retval 1219 drivers/isdn/capi/kcapi.c retval = -ESRCH; retval 1223 drivers/isdn/capi/kcapi.c return retval; retval 1232 drivers/isdn/capi/kcapi.c if ((retval = copy_from_user(&cdef, data, sizeof(cdef)))) retval 1252 drivers/isdn/capi/kcapi.c retval = -ESRCH; retval 1255 drivers/isdn/capi/kcapi.c retval = -EIO; retval 1257 drivers/isdn/capi/kcapi.c retval = driver->add_card(driver, &cparams); retval 1260 drivers/isdn/capi/kcapi.c return retval; retval 69 drivers/leds/leds-cobalt-raq.c int retval; retval 79 drivers/leds/leds-cobalt-raq.c retval = led_classdev_register(&pdev->dev, &raq_power_off_led); retval 80 drivers/leds/leds-cobalt-raq.c if (retval) retval 83 drivers/leds/leds-cobalt-raq.c retval = led_classdev_register(&pdev->dev, &raq_web_led); retval 84 drivers/leds/leds-cobalt-raq.c if (retval) retval 95 drivers/leds/leds-cobalt-raq.c return retval; retval 135 drivers/leds/uleds.c ssize_t retval; retval 141 drivers/leds/uleds.c retval = mutex_lock_interruptible(&udev->mutex); retval 142 drivers/leds/uleds.c if (retval) retval 143 drivers/leds/uleds.c return retval; retval 146 drivers/leds/uleds.c retval = -ENODEV; retval 148 drivers/leds/uleds.c retval = -EAGAIN; retval 150 drivers/leds/uleds.c retval = copy_to_user(buffer, &udev->brightness, retval 153 drivers/leds/uleds.c retval = sizeof(udev->brightness); retval 158 drivers/leds/uleds.c if (retval) retval 162 drivers/leds/uleds.c retval = wait_event_interruptible(udev->waitq, retval 165 drivers/leds/uleds.c } while (retval == 0); retval 167 drivers/leds/uleds.c return retval; retval 159 drivers/macintosh/ans-lcd.c int retval; retval 171 drivers/macintosh/ans-lcd.c retval = misc_register(&anslcd_dev); retval 172 drivers/macintosh/ans-lcd.c if(retval < 0){ retval 175 drivers/macintosh/ans-lcd.c return retval; retval 84 drivers/macintosh/rack-meter.c u64 retval; retval 86 drivers/macintosh/rack-meter.c retval = kcpustat_cpu(cpu).cpustat[CPUTIME_IDLE] + retval 90 drivers/macintosh/rack-meter.c retval += kcpustat_cpu(cpu).cpustat[CPUTIME_NICE]; retval 92 drivers/macintosh/rack-meter.c return retval; retval 49 drivers/mailbox/armada-37xx-rwtm-mailbox.c rx_msg.retval = readl(mbox->base + RWTM_MBOX_RETURN_STATUS); retval 391 drivers/mcb/mcb-core.c int retval; retval 396 drivers/mcb/mcb-core.c retval = device_attach(dev); retval 397 drivers/mcb/mcb-core.c if (retval < 0) retval 398 drivers/mcb/mcb-core.c dev_err(dev, "Error adding device (%d)\n", retval); retval 480 drivers/media/dvb-core/dvb_frontend.c int retval = 0; retval 496 drivers/media/dvb-core/dvb_frontend.c retval = fe->ops.set_frontend(fe); retval 498 drivers/media/dvb-core/dvb_frontend.c if (retval < 0) retval 579 drivers/media/dvb-core/dvb_frontend.c retval = dvb_frontend_swzigzag_autotune(fe, retval 581 drivers/media/dvb-core/dvb_frontend.c if (retval < 0) { retval 583 drivers/media/dvb-core/dvb_frontend.c } else if (retval) { retval 1034 drivers/media/dvb-core/dvbdev.c int retval; retval 1037 drivers/media/dvb-core/dvbdev.c if ((retval = register_chrdev_region(dev, MAX_DVB_MINORS, "DVB")) != 0) { retval 1039 drivers/media/dvb-core/dvbdev.c return retval; retval 1043 drivers/media/dvb-core/dvbdev.c if ((retval = cdev_add(&dvb_device_cdev, dev, MAX_DVB_MINORS)) != 0) { retval 1050 drivers/media/dvb-core/dvbdev.c retval = PTR_ERR(dvb_class); retval 1060 drivers/media/dvb-core/dvbdev.c return retval; retval 987 drivers/media/dvb-frontends/cx24123.c int retval = 0; retval 990 drivers/media/dvb-frontends/cx24123.c retval = cx24123_set_frontend(fe); retval 996 drivers/media/dvb-frontends/cx24123.c return retval; retval 1295 drivers/media/dvb-frontends/drx39xyj/drxj.c bool retval = false; retval 1300 drivers/media/dvb-frontends/drx39xyj/drxj.c retval = true; retval 1303 drivers/media/dvb-frontends/drx39xyj/drxj.c return retval; retval 508 drivers/media/i2c/cx25840/cx25840-audio.c int retval; retval 516 drivers/media/i2c/cx25840/cx25840-audio.c retval = set_audclk_freq(client, freq); retval 521 drivers/media/i2c/cx25840/cx25840-audio.c return retval; retval 102 drivers/media/i2c/cx25840/cx25840-firmware.c int size, retval; retval 133 drivers/media/i2c/cx25840/cx25840-firmware.c retval = fw_write(client, buffer, len + 2); retval 135 drivers/media/i2c/cx25840/cx25840-firmware.c if (retval < 0) { retval 137 drivers/media/i2c/cx25840/cx25840-firmware.c return retval; retval 147 drivers/media/i2c/msp3400-driver.c int err, retval; retval 180 drivers/media/i2c/msp3400-driver.c retval = read[0] << 8 | read[1]; retval 182 drivers/media/i2c/msp3400-driver.c dev, addr, retval); retval 183 drivers/media/i2c/msp3400-driver.c return retval; retval 23 drivers/media/i2c/msp3400-kthreads.c int retval; retval 160 drivers/media/i2c/msp3400-kthreads.c if (msp_stdlist[i].retval == std) retval 170 drivers/media/i2c/msp3400-kthreads.c if (msp_stdlist[i].retval == std) retval 753 drivers/media/i2c/msp3400-kthreads.c if (msp_stdlist[i].retval == val) retval 321 drivers/media/pci/bt8xx/bt878.c int retval; retval 323 drivers/media/pci/bt8xx/bt878.c retval = 0; retval 330 drivers/media/pci/bt8xx/bt878.c retval = bttv_gpio_enable(bt->bttv_nr, retval 336 drivers/media/pci/bt8xx/bt878.c retval = bttv_write_gpio(bt->bttv_nr, retval 343 drivers/media/pci/bt8xx/bt878.c retval = bttv_read_gpio(bt->bttv_nr, &mp->rd.value); retval 352 drivers/media/pci/bt8xx/bt878.c retval = -EINVAL; retval 356 drivers/media/pci/bt8xx/bt878.c return retval; retval 2127 drivers/media/pci/bt8xx/bttv-driver.c int n,size,retval = 0; retval 2133 drivers/media/pci/bt8xx/bttv-driver.c retval = verify_window_lock(fh, win, retval 2136 drivers/media/pci/bt8xx/bttv-driver.c if (0 != retval) retval 2137 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2188 drivers/media/pci/bt8xx/bttv-driver.c retval = 0; retval 2195 drivers/media/pci/bt8xx/bttv-driver.c retval = bttv_switch_overlay(btv,fh,new); retval 2197 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2377 drivers/media/pci/bt8xx/bttv-driver.c int retval; retval 2385 drivers/media/pci/bt8xx/bttv-driver.c retval = bttv_switch_type(fh, f->type); retval 2386 drivers/media/pci/bt8xx/bttv-driver.c if (0 != retval) retval 2387 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2389 drivers/media/pci/bt8xx/bttv-driver.c retval = bttv_try_fmt_vid_cap(file, priv, f); retval 2390 drivers/media/pci/bt8xx/bttv-driver.c if (0 != retval) retval 2391 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2399 drivers/media/pci/bt8xx/bttv-driver.c retval = limit_scaled_size_lock(fh, &width, &height, f->fmt.pix.field, retval 2403 drivers/media/pci/bt8xx/bttv-driver.c if (0 != retval) retval 2404 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2540 drivers/media/pci/bt8xx/bttv-driver.c int retval = 0; retval 2549 drivers/media/pci/bt8xx/bttv-driver.c retval = -EINVAL; retval 2551 drivers/media/pci/bt8xx/bttv-driver.c if (retval) retval 2552 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2568 drivers/media/pci/bt8xx/bttv-driver.c retval = bttv_switch_overlay(btv, fh, new); retval 2569 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2578 drivers/media/pci/bt8xx/bttv-driver.c int retval; retval 2591 drivers/media/pci/bt8xx/bttv-driver.c retval = -EINVAL; retval 2596 drivers/media/pci/bt8xx/bttv-driver.c retval = limit_scaled_size_lock(fh, &width, &height, retval 2602 drivers/media/pci/bt8xx/bttv-driver.c if (0 != retval) retval 2603 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2615 drivers/media/pci/bt8xx/bttv-driver.c retval = 0; retval 2636 drivers/media/pci/bt8xx/bttv-driver.c retval = bttv_switch_overlay(btv, fh, new); retval 2639 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2693 drivers/media/pci/bt8xx/bttv-driver.c int retval; retval 2697 drivers/media/pci/bt8xx/bttv-driver.c retval = videobuf_streamoff(bttv_queue(fh)); retval 2698 drivers/media/pci/bt8xx/bttv-driver.c if (retval < 0) retval 2699 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2792 drivers/media/pci/bt8xx/bttv-driver.c int retval; retval 2809 drivers/media/pci/bt8xx/bttv-driver.c retval = -EBUSY; retval 2812 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2823 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 2872 drivers/media/pci/bt8xx/bttv-driver.c int retval = 0; retval 2886 drivers/media/pci/bt8xx/bttv-driver.c retval = videobuf_read_one(&fh->cap, data, count, ppos, retval 2893 drivers/media/pci/bt8xx/bttv-driver.c retval = videobuf_read_stream(&fh->vbi, data, count, ppos, 1, retval 2899 drivers/media/pci/bt8xx/bttv-driver.c return retval; retval 128 drivers/media/pci/bt8xx/bttv-i2c.c int retval,cnt; retval 139 drivers/media/pci/bt8xx/bttv-i2c.c retval = bttv_i2c_wait_done(btv); retval 140 drivers/media/pci/bt8xx/bttv-i2c.c if (retval < 0) retval 142 drivers/media/pci/bt8xx/bttv-i2c.c if (retval == 0) retval 154 drivers/media/pci/bt8xx/bttv-i2c.c retval = bttv_i2c_wait_done(btv); retval 155 drivers/media/pci/bt8xx/bttv-i2c.c if (retval < 0) retval 157 drivers/media/pci/bt8xx/bttv-i2c.c if (retval == 0) retval 167 drivers/media/pci/bt8xx/bttv-i2c.c retval = -EIO; retval 170 drivers/media/pci/bt8xx/bttv-i2c.c pr_cont(" ERR: %d\n",retval); retval 171 drivers/media/pci/bt8xx/bttv-i2c.c return retval; retval 179 drivers/media/pci/bt8xx/bttv-i2c.c int retval; retval 196 drivers/media/pci/bt8xx/bttv-i2c.c retval = bttv_i2c_wait_done(btv); retval 197 drivers/media/pci/bt8xx/bttv-i2c.c if (retval < 0) retval 199 drivers/media/pci/bt8xx/bttv-i2c.c if (retval == 0) retval 213 drivers/media/pci/bt8xx/bttv-i2c.c retval = -EIO; retval 216 drivers/media/pci/bt8xx/bttv-i2c.c pr_cont(" ERR: %d\n",retval); retval 217 drivers/media/pci/bt8xx/bttv-i2c.c return retval; retval 224 drivers/media/pci/bt8xx/bttv-i2c.c int retval = 0; retval 234 drivers/media/pci/bt8xx/bttv-i2c.c retval = bttv_i2c_readbytes(btv, &msgs[i], i+1 == num); retval 235 drivers/media/pci/bt8xx/bttv-i2c.c if (retval < 0) retval 239 drivers/media/pci/bt8xx/bttv-i2c.c retval = bttv_i2c_sendbytes(btv, &msgs[i], i+1 == num); retval 240 drivers/media/pci/bt8xx/bttv-i2c.c if (retval < 0) retval 247 drivers/media/pci/bt8xx/bttv-i2c.c return retval; retval 1252 drivers/media/pci/bt8xx/dst.c int retval; retval 1264 drivers/media/pci/bt8xx/dst.c retval = dst_command(state, get_signal, 8); retval 1265 drivers/media/pci/bt8xx/dst.c if (retval < 0) retval 1266 drivers/media/pci/bt8xx/dst.c return retval; retval 1300 drivers/media/pci/bt8xx/dst.c int retval; retval 1310 drivers/media/pci/bt8xx/dst.c retval = read_dst(state, state->rx_tuna, 10); retval 1312 drivers/media/pci/bt8xx/dst.c retval = read_dst(state, &state->rx_tuna[2], FIXED_COMM); retval 1313 drivers/media/pci/bt8xx/dst.c if (retval < 0) { retval 1315 drivers/media/pci/bt8xx/dst.c return retval; retval 1350 drivers/media/pci/bt8xx/dst.c int retval; retval 1371 drivers/media/pci/bt8xx/dst.c retval = write_dst(state, &state->tx_tuna[0], 10); retval 1374 drivers/media/pci/bt8xx/dst.c retval = write_dst(state, &state->tx_tuna[2], FIXED_COMM); retval 1376 drivers/media/pci/bt8xx/dst.c if (retval < 0) { retval 1394 drivers/media/pci/bt8xx/dst.c retval = dst_get_tuna(state); retval 1397 drivers/media/pci/bt8xx/dst.c return retval; retval 1437 drivers/media/pci/bt8xx/dst.c int need_cmd, retval = 0; retval 1464 drivers/media/pci/bt8xx/dst.c retval = dst_tone_power_cmd(state); retval 1466 drivers/media/pci/bt8xx/dst.c return retval; retval 1562 drivers/media/pci/bt8xx/dst.c int retval = dst_get_signal(state); retval 1565 drivers/media/pci/bt8xx/dst.c return retval; retval 1572 drivers/media/pci/bt8xx/dst.c int retval = dst_get_signal(state); retval 1575 drivers/media/pci/bt8xx/dst.c return retval; retval 1581 drivers/media/pci/bt8xx/dst.c int retval = -EINVAL; retval 1585 drivers/media/pci/bt8xx/dst.c retval = dst_set_freq(state, p->frequency); retval 1586 drivers/media/pci/bt8xx/dst.c if(retval != 0) retval 1587 drivers/media/pci/bt8xx/dst.c return retval; retval 1605 drivers/media/pci/bt8xx/dst.c retval = dst_write_tuna(fe); retval 1608 drivers/media/pci/bt8xx/dst.c return retval; retval 659 drivers/media/pci/cobalt/cobalt-driver.c int retval = 0; retval 671 drivers/media/pci/cobalt/cobalt-driver.c retval = v4l2_device_register(&pci_dev->dev, &cobalt->v4l2_dev); retval 672 drivers/media/pci/cobalt/cobalt-driver.c if (retval) { retval 676 drivers/media/pci/cobalt/cobalt-driver.c return retval; retval 687 drivers/media/pci/cobalt/cobalt-driver.c retval = -ENOMEM; retval 694 drivers/media/pci/cobalt/cobalt-driver.c retval = cobalt_setup_pci(cobalt, pci_dev, pci_id); retval 695 drivers/media/pci/cobalt/cobalt-driver.c if (retval != 0) retval 704 drivers/media/pci/cobalt/cobalt-driver.c retval = cobalt_i2c_init(cobalt); retval 705 drivers/media/pci/cobalt/cobalt-driver.c if (retval) retval 710 drivers/media/pci/cobalt/cobalt-driver.c retval = cobalt_subdevs_init(cobalt); retval 711 drivers/media/pci/cobalt/cobalt-driver.c if (retval) retval 716 drivers/media/pci/cobalt/cobalt-driver.c retval = cobalt_subdevs_hsma_init(cobalt); retval 717 drivers/media/pci/cobalt/cobalt-driver.c if (retval) retval 721 drivers/media/pci/cobalt/cobalt-driver.c retval = cobalt_nodes_register(cobalt); retval 722 drivers/media/pci/cobalt/cobalt-driver.c if (retval) { retval 723 drivers/media/pci/cobalt/cobalt-driver.c cobalt_err("Error %d registering device nodes\n", retval); retval 747 drivers/media/pci/cobalt/cobalt-driver.c cobalt_err("error %d on initialization\n", retval); retval 751 drivers/media/pci/cobalt/cobalt-driver.c return retval; retval 406 drivers/media/pci/cx18/cx18-av-audio.c int retval; retval 417 drivers/media/pci/cx18/cx18-av-audio.c retval = set_audclk_freq(cx, freq); retval 425 drivers/media/pci/cx18/cx18-av-audio.c return retval; retval 890 drivers/media/pci/cx18/cx18-driver.c int retval = 0; retval 910 drivers/media/pci/cx18/cx18-driver.c retval = v4l2_device_register(&pci_dev->dev, &cx->v4l2_dev); retval 911 drivers/media/pci/cx18/cx18-driver.c if (retval) { retval 915 drivers/media/pci/cx18/cx18-driver.c return retval; retval 923 drivers/media/pci/cx18/cx18-driver.c retval = -ENODEV; retval 927 drivers/media/pci/cx18/cx18-driver.c retval = cx18_init_struct1(cx); retval 928 drivers/media/pci/cx18/cx18-driver.c if (retval) retval 934 drivers/media/pci/cx18/cx18-driver.c retval = cx18_setup_pci(cx, pci_dev, pci_id); retval 935 drivers/media/pci/cx18/cx18-driver.c if (retval != 0) retval 948 drivers/media/pci/cx18/cx18-driver.c retval = -ENOMEM; retval 974 drivers/media/pci/cx18/cx18-driver.c retval = cx18_av_probe(cx); retval 975 drivers/media/pci/cx18/cx18-driver.c if (retval) { retval 990 drivers/media/pci/cx18/cx18-driver.c retval = init_cx18_i2c(cx); retval 991 drivers/media/pci/cx18/cx18-driver.c if (retval) { retval 1012 drivers/media/pci/cx18/cx18-driver.c retval = -ENODEV; retval 1019 drivers/media/pci/cx18/cx18-driver.c retval = request_irq(cx->pci_dev->irq, cx18_irq_handler, retval 1021 drivers/media/pci/cx18/cx18-driver.c if (retval) { retval 1022 drivers/media/pci/cx18/cx18-driver.c CX18_ERR("Failed to register irq %d\n", retval); retval 1098 drivers/media/pci/cx18/cx18-driver.c retval = cx18_streams_setup(cx); retval 1099 drivers/media/pci/cx18/cx18-driver.c if (retval) { retval 1100 drivers/media/pci/cx18/cx18-driver.c CX18_ERR("Error %d setting up streams\n", retval); retval 1103 drivers/media/pci/cx18/cx18-driver.c retval = cx18_streams_register(cx); retval 1104 drivers/media/pci/cx18/cx18-driver.c if (retval) { retval 1105 drivers/media/pci/cx18/cx18-driver.c CX18_ERR("Error %d registering devices\n", retval); retval 1128 drivers/media/pci/cx18/cx18-driver.c CX18_ERR("Error %d on initialization\n", retval); retval 1132 drivers/media/pci/cx18/cx18-driver.c return retval; retval 375 drivers/media/pci/cx23885/cx23885-417.c int retval; retval 407 drivers/media/pci/cx23885/cx23885-417.c retval = mc417_wait_ready(dev); retval 464 drivers/media/pci/cx23885/cx23885-417.c return retval; retval 533 drivers/media/pci/cx23885/cx23885-417.c int retval; retval 565 drivers/media/pci/cx23885/cx23885-417.c retval = mc417_wait_ready(dev); retval 618 drivers/media/pci/cx23885/cx23885-417.c return retval; retval 753 drivers/media/pci/cx23885/cx23885-417.c u32 value, flag, retval = 0; retval 815 drivers/media/pci/cx23885/cx23885-417.c mc417_memory_read(dev, dev->cx23417_mailbox + 2, &retval); retval 816 drivers/media/pci/cx23885/cx23885-417.c dprintk(3, "API result = %d\n", retval); retval 821 drivers/media/pci/cx23885/cx23885-417.c return retval; retval 890 drivers/media/pci/cx23885/cx23885-417.c int i, retval = 0; retval 900 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_memory_read(dev, 0x9020, &gpio_output); retval 901 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_memory_read(dev, 0x900C, &gpio_value); retval 903 drivers/media/pci/cx23885/cx23885-417.c retval = mc417_register_write(dev, retval 905 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, retval 907 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, retval 909 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, retval 911 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, retval 914 drivers/media/pci/cx23885/cx23885-417.c if (retval != 0) { retval 920 drivers/media/pci/cx23885/cx23885-417.c retval = request_firmware(&firmware, CX23885_FIRM_IMAGE_NAME, retval 923 drivers/media/pci/cx23885/cx23885-417.c if (retval != 0) { retval 975 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, IVTV_REG_HW_BLOCKS, retval 979 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, 0x9020, gpio_output); retval 980 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, 0x900C, gpio_value); retval 982 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_read(dev, IVTV_REG_VPU, &value); retval 983 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, IVTV_REG_VPU, value & 0xFFFFFFE8); retval 986 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, 0x9020, 0x4000); retval 987 drivers/media/pci/cx23885/cx23885-417.c retval |= mc417_register_write(dev, 0x900C, 0x4000); retval 992 drivers/media/pci/cx23885/cx23885-417.c if (retval < 0) retval 1035 drivers/media/pci/cx23885/cx23885-417.c int retval; retval 1040 drivers/media/pci/cx23885/cx23885-417.c retval = cx23885_api_cmd(dev, CX2341X_ENC_PING_FW, 0, 0); /* ping */ retval 1041 drivers/media/pci/cx23885/cx23885-417.c if (retval < 0) { retval 1043 drivers/media/pci/cx23885/cx23885-417.c retval = cx23885_load_firmware(dev); retval 1044 drivers/media/pci/cx23885/cx23885-417.c if (retval < 0) { retval 1046 drivers/media/pci/cx23885/cx23885-417.c return retval; retval 1048 drivers/media/pci/cx23885/cx23885-417.c retval = cx23885_find_mailbox(dev); retval 1049 drivers/media/pci/cx23885/cx23885-417.c if (retval < 0) { retval 1054 drivers/media/pci/cx23885/cx23885-417.c dev->cx23417_mailbox = retval; retval 1055 drivers/media/pci/cx23885/cx23885-417.c retval = cx23885_api_cmd(dev, CX2341X_ENC_PING_FW, 0, 0); retval 1056 drivers/media/pci/cx23885/cx23885-417.c if (retval < 0) { retval 1060 drivers/media/pci/cx23885/cx23885-417.c retval = cx23885_api_cmd(dev, CX2341X_ENC_GET_VERSION, 0, 1, retval 1062 drivers/media/pci/cx23885/cx23885-417.c if (retval < 0) { retval 73 drivers/media/pci/cx23885/cx23885-i2c.c int retval, cnt; retval 142 drivers/media/pci/cx23885/cx23885-i2c.c retval = -EIO; retval 144 drivers/media/pci/cx23885/cx23885-i2c.c pr_err(" ERR: %d\n", retval); retval 145 drivers/media/pci/cx23885/cx23885-i2c.c return retval; retval 154 drivers/media/pci/cx23885/cx23885-i2c.c int retval; retval 203 drivers/media/pci/cx23885/cx23885-i2c.c retval = -EIO; retval 205 drivers/media/pci/cx23885/cx23885-i2c.c pr_err(" ERR: %d\n", retval); retval 206 drivers/media/pci/cx23885/cx23885-i2c.c return retval; retval 212 drivers/media/pci/cx23885/cx23885-i2c.c int i, retval = 0; retval 221 drivers/media/pci/cx23885/cx23885-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 0); retval 225 drivers/media/pci/cx23885/cx23885-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], retval 227 drivers/media/pci/cx23885/cx23885-i2c.c if (retval < 0) retval 230 drivers/media/pci/cx23885/cx23885-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 1); retval 233 drivers/media/pci/cx23885/cx23885-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], 0); retval 235 drivers/media/pci/cx23885/cx23885-i2c.c if (retval < 0) retval 241 drivers/media/pci/cx23885/cx23885-i2c.c return retval; retval 72 drivers/media/pci/cx25821/cx25821-i2c.c int retval, cnt; retval 110 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_wait_done(i2c_adap); retval 111 drivers/media/pci/cx25821/cx25821-i2c.c if (retval < 0) retval 114 drivers/media/pci/cx25821/cx25821-i2c.c if (retval == 0) retval 136 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_wait_done(i2c_adap); retval 137 drivers/media/pci/cx25821/cx25821-i2c.c if (retval < 0) retval 140 drivers/media/pci/cx25821/cx25821-i2c.c if (retval == 0) retval 153 drivers/media/pci/cx25821/cx25821-i2c.c retval = -EIO; retval 156 drivers/media/pci/cx25821/cx25821-i2c.c pr_err(" ERR: %d\n", retval); retval 157 drivers/media/pci/cx25821/cx25821-i2c.c return retval; retval 166 drivers/media/pci/cx25821/cx25821-i2c.c int retval; retval 201 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_wait_done(i2c_adap); retval 202 drivers/media/pci/cx25821/cx25821-i2c.c if (retval < 0) retval 204 drivers/media/pci/cx25821/cx25821-i2c.c if (retval == 0) retval 217 drivers/media/pci/cx25821/cx25821-i2c.c retval = -EIO; retval 220 drivers/media/pci/cx25821/cx25821-i2c.c pr_err(" ERR: %d\n", retval); retval 221 drivers/media/pci/cx25821/cx25821-i2c.c return retval; retval 228 drivers/media/pci/cx25821/cx25821-i2c.c int i, retval = 0; retval 238 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 0); retval 242 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], retval 245 drivers/media/pci/cx25821/cx25821-i2c.c if (retval < 0) retval 248 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 1); retval 251 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], 0); retval 254 drivers/media/pci/cx25821/cx25821-i2c.c if (retval < 0) retval 260 drivers/media/pci/cx25821/cx25821-i2c.c return retval; retval 381 drivers/media/pci/cx25821/cx25821-i2c.c int retval = 0; retval 402 drivers/media/pci/cx25821/cx25821-i2c.c retval = i2c_xfer(client->adapter, msgs, 1); retval 404 drivers/media/pci/cx25821/cx25821-i2c.c return retval; retval 257 drivers/media/pci/cx88/cx88-blackbird.c int retval; retval 266 drivers/media/pci/cx88/cx88-blackbird.c retval = wait_ready_gpio0_bit1(core, 1); retval 278 drivers/media/pci/cx88/cx88-blackbird.c return retval; retval 298 drivers/media/pci/cx88/cx88-blackbird.c int retval; retval 306 drivers/media/pci/cx88/cx88-blackbird.c retval = wait_ready_gpio0_bit1(core, 1); retval 313 drivers/media/pci/cx88/cx88-blackbird.c return retval; retval 323 drivers/media/pci/cx88/cx88-blackbird.c u32 value, flag, retval; retval 381 drivers/media/pci/cx88/cx88-blackbird.c memory_read(dev->core, dev->mailbox + 2, &retval); retval 382 drivers/media/pci/cx88/cx88-blackbird.c dprintk(1, "API result = %d\n", retval); retval 386 drivers/media/pci/cx88/cx88-blackbird.c return retval; retval 444 drivers/media/pci/cx88/cx88-blackbird.c int i, retval = 0; retval 449 drivers/media/pci/cx88/cx88-blackbird.c retval = register_write(dev->core, IVTV_REG_VPU, 0xFFFFFFED); retval 450 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_write(dev->core, IVTV_REG_HW_BLOCKS, retval 452 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_write(dev->core, IVTV_REG_ENC_SDRAM_REFRESH, retval 454 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_write(dev->core, IVTV_REG_ENC_SDRAM_PRECHARGE, retval 457 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_write(dev->core, IVTV_REG_APU, 0); retval 459 drivers/media/pci/cx88/cx88-blackbird.c if (retval < 0) retval 462 drivers/media/pci/cx88/cx88-blackbird.c retval = request_firmware(&firmware, CX2341X_FIRM_ENC_FILENAME, retval 465 drivers/media/pci/cx88/cx88-blackbird.c if (retval != 0) { retval 507 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_write(dev->core, IVTV_REG_HW_BLOCKS, retval 509 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_read(dev->core, IVTV_REG_SPU, &value); retval 510 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_write(dev->core, IVTV_REG_SPU, value & 0xFFFFFFFE); retval 513 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_read(dev->core, IVTV_REG_VPU, &value); retval 514 drivers/media/pci/cx88/cx88-blackbird.c retval |= register_write(dev->core, IVTV_REG_VPU, value & 0xFFFFFFE8); retval 516 drivers/media/pci/cx88/cx88-blackbird.c if (retval < 0) retval 554 drivers/media/pci/cx88/cx88-blackbird.c int retval; retval 557 drivers/media/pci/cx88/cx88-blackbird.c retval = blackbird_api_cmd(dev, CX2341X_ENC_PING_FW, 0, 0); /* ping */ retval 558 drivers/media/pci/cx88/cx88-blackbird.c if (retval < 0) { retval 562 drivers/media/pci/cx88/cx88-blackbird.c retval = blackbird_load_firmware(dev); retval 563 drivers/media/pci/cx88/cx88-blackbird.c if (retval < 0) retval 564 drivers/media/pci/cx88/cx88-blackbird.c return retval; retval 566 drivers/media/pci/cx88/cx88-blackbird.c retval = blackbird_find_mailbox(dev); retval 567 drivers/media/pci/cx88/cx88-blackbird.c if (retval < 0) retval 570 drivers/media/pci/cx88/cx88-blackbird.c dev->mailbox = retval; retval 573 drivers/media/pci/cx88/cx88-blackbird.c retval = blackbird_api_cmd(dev, CX2341X_ENC_PING_FW, 0, 0); retval 574 drivers/media/pci/cx88/cx88-blackbird.c if (retval < 0) { retval 579 drivers/media/pci/cx88/cx88-blackbird.c retval = blackbird_api_cmd(dev, CX2341X_ENC_GET_VERSION, retval 581 drivers/media/pci/cx88/cx88-blackbird.c if (retval < 0) { retval 998 drivers/media/pci/ivtv/ivtv-driver.c int retval = 0; retval 1009 drivers/media/pci/ivtv/ivtv-driver.c retval = v4l2_device_register(&pdev->dev, &itv->v4l2_dev); retval 1010 drivers/media/pci/ivtv/ivtv-driver.c if (retval) { retval 1012 drivers/media/pci/ivtv/ivtv-driver.c return retval; retval 1018 drivers/media/pci/ivtv/ivtv-driver.c retval = -ENODEV; retval 1022 drivers/media/pci/ivtv/ivtv-driver.c retval = -ENOMEM; retval 1025 drivers/media/pci/ivtv/ivtv-driver.c retval = cx2341x_handler_init(&itv->cxhdl, 50); retval 1026 drivers/media/pci/ivtv/ivtv-driver.c if (retval) retval 1036 drivers/media/pci/ivtv/ivtv-driver.c retval = ivtv_setup_pci(itv, pdev, pci_id); retval 1037 drivers/media/pci/ivtv/ivtv-driver.c if (retval == -EIO) retval 1039 drivers/media/pci/ivtv/ivtv-driver.c if (retval == -ENXIO) retval 1052 drivers/media/pci/ivtv/ivtv-driver.c retval = -ENOMEM; retval 1066 drivers/media/pci/ivtv/ivtv-driver.c retval = -ENOMEM; retval 1084 drivers/media/pci/ivtv/ivtv-driver.c retval = -ENOMEM; retval 1088 drivers/media/pci/ivtv/ivtv-driver.c retval = ivtv_gpio_init(itv); retval 1089 drivers/media/pci/ivtv/ivtv-driver.c if (retval) retval 1108 drivers/media/pci/ivtv/ivtv-driver.c retval = -ENODEV; retval 1235 drivers/media/pci/ivtv/ivtv-driver.c retval = hdl->error; retval 1251 drivers/media/pci/ivtv/ivtv-driver.c retval = request_irq(itv->pdev->irq, ivtv_irq_handler, retval 1253 drivers/media/pci/ivtv/ivtv-driver.c if (retval) { retval 1254 drivers/media/pci/ivtv/ivtv-driver.c IVTV_ERR("Failed to register irq %d\n", retval); retval 1258 drivers/media/pci/ivtv/ivtv-driver.c retval = ivtv_streams_setup(itv); retval 1259 drivers/media/pci/ivtv/ivtv-driver.c if (retval) { retval 1260 drivers/media/pci/ivtv/ivtv-driver.c IVTV_ERR("Error %d setting up streams\n", retval); retval 1263 drivers/media/pci/ivtv/ivtv-driver.c retval = ivtv_streams_register(itv); retval 1264 drivers/media/pci/ivtv/ivtv-driver.c if (retval) { retval 1265 drivers/media/pci/ivtv/ivtv-driver.c IVTV_ERR("Error %d registering devices\n", retval); retval 1291 drivers/media/pci/ivtv/ivtv-driver.c if (retval == 0) retval 1292 drivers/media/pci/ivtv/ivtv-driver.c retval = -ENODEV; retval 1293 drivers/media/pci/ivtv/ivtv-driver.c IVTV_ERR("Error %d on initialization\n", retval); retval 1297 drivers/media/pci/ivtv/ivtv-driver.c return retval; retval 205 drivers/media/pci/ivtv/ivtv-driver.h u32 retval; retval 582 drivers/media/pci/ivtv/ivtv-i2c.c int retval; retval 586 drivers/media/pci/ivtv/ivtv-i2c.c for (i = retval = 0; retval == 0 && i < num; i++) { retval 588 drivers/media/pci/ivtv/ivtv-i2c.c retval = ivtv_read(itv, msgs[i].addr, msgs[i].buf, msgs[i].len); retval 593 drivers/media/pci/ivtv/ivtv-i2c.c retval = ivtv_write(itv, msgs[i].addr, msgs[i].buf, msgs[i].len, stop); retval 597 drivers/media/pci/ivtv/ivtv-i2c.c return retval ? retval : num; retval 687 drivers/media/pci/ivtv/ivtv-i2c.c int retval; retval 721 drivers/media/pci/ivtv/ivtv-i2c.c retval = i2c_add_adapter(&itv->i2c_adap); retval 723 drivers/media/pci/ivtv/ivtv-i2c.c retval = i2c_bit_add_bus(&itv->i2c_adap); retval 725 drivers/media/pci/ivtv/ivtv-i2c.c return retval; retval 369 drivers/media/pci/saa7134/saa7134-tvaudio.c int retval = -1; retval 379 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; retval 381 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO; retval 383 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = V4L2_TUNER_SUB_MONO; retval 399 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; retval 402 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO; retval 405 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = V4L2_TUNER_SUB_MONO; retval 412 drivers/media/pci/saa7134/saa7134-tvaudio.c if (retval != -1) retval 414 drivers/media/pci/saa7134/saa7134-tvaudio.c (retval & V4L2_TUNER_SUB_MONO) ? " mono" : "", retval 415 drivers/media/pci/saa7134/saa7134-tvaudio.c (retval & V4L2_TUNER_SUB_STEREO) ? " stereo" : "", retval 416 drivers/media/pci/saa7134/saa7134-tvaudio.c (retval & V4L2_TUNER_SUB_LANG1) ? " lang1" : "", retval 417 drivers/media/pci/saa7134/saa7134-tvaudio.c (retval & V4L2_TUNER_SUB_LANG2) ? " lang2" : ""); retval 418 drivers/media/pci/saa7134/saa7134-tvaudio.c return retval; retval 699 drivers/media/pci/saa7134/saa7134-tvaudio.c int retval = V4L2_TUNER_SUB_MONO; retval 704 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO; retval 706 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; retval 707 drivers/media/pci/saa7134/saa7134-tvaudio.c return retval; retval 951 drivers/media/pci/saa7134/saa7134-tvaudio.c int retval = V4L2_TUNER_SUB_MONO; retval 956 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = tvaudio_getstereo(dev,dev->tvaudio); retval 960 drivers/media/pci/saa7134/saa7134-tvaudio.c retval = getstereo_7133(dev); retval 963 drivers/media/pci/saa7134/saa7134-tvaudio.c return retval; retval 20 drivers/media/pci/saa7164/saa7164-i2c.c int i, retval = 0; retval 28 drivers/media/pci/saa7164/saa7164-i2c.c retval = saa7164_api_i2c_read(bus, retval 36 drivers/media/pci/saa7164/saa7164-i2c.c retval = saa7164_api_i2c_read(bus, msgs[i].addr, retval 43 drivers/media/pci/saa7164/saa7164-i2c.c if (retval < 0) retval 47 drivers/media/pci/saa7164/saa7164-i2c.c retval = saa7164_api_i2c_write(bus, msgs[i].addr, retval 50 drivers/media/pci/saa7164/saa7164-i2c.c if (retval < 0) retval 56 drivers/media/pci/saa7164/saa7164-i2c.c return retval; retval 75 drivers/media/pci/solo6x10/solo6x10-eeprom.c unsigned int retval = 0; retval 83 drivers/media/pci/solo6x10/solo6x10-eeprom.c retval = (retval << 1) | solo_eeprom_reg_read(solo_dev); retval 85 drivers/media/pci/solo6x10/solo6x10-eeprom.c retval = (retval << 1) | solo_eeprom_reg_read(solo_dev); retval 89 drivers/media/pci/solo6x10/solo6x10-eeprom.c retval = (retval << 1) | solo_eeprom_reg_read(solo_dev); retval 91 drivers/media/pci/solo6x10/solo6x10-eeprom.c return retval; retval 97 drivers/media/pci/solo6x10/solo6x10-eeprom.c u16 retval = 0; retval 105 drivers/media/pci/solo6x10/solo6x10-eeprom.c retval = (retval << 1) | solo_eeprom_reg_read(solo_dev); retval 111 drivers/media/pci/solo6x10/solo6x10-eeprom.c return (__force __be16)retval; retval 118 drivers/media/pci/solo6x10/solo6x10-eeprom.c unsigned int retval; retval 135 drivers/media/pci/solo6x10/solo6x10-eeprom.c for (i = retval = 0; i < 10000 && !retval; i++) retval 136 drivers/media/pci/solo6x10/solo6x10-eeprom.c retval = solo_eeprom_reg_read(solo_dev); retval 140 drivers/media/pci/solo6x10/solo6x10-eeprom.c return !retval; retval 84 drivers/media/radio/dsbr100.c int retval = 0; retval 87 drivers/media/radio/dsbr100.c retval = usb_control_msg(radio->usbdev, retval 93 drivers/media/radio/dsbr100.c if (retval >= 0) retval 97 drivers/media/radio/dsbr100.c if (retval >= 0) { retval 103 drivers/media/radio/dsbr100.c __func__, retval, DSB100_TUNE); retval 104 drivers/media/radio/dsbr100.c return retval; retval 110 drivers/media/radio/dsbr100.c int retval = usb_control_msg(radio->usbdev, retval 116 drivers/media/radio/dsbr100.c if (retval >= 0) retval 120 drivers/media/radio/dsbr100.c __func__, retval, DSB100_ONOFF); retval 121 drivers/media/radio/dsbr100.c return retval; retval 128 drivers/media/radio/dsbr100.c int retval = usb_control_msg(radio->usbdev, retval 134 drivers/media/radio/dsbr100.c if (retval >= 0) retval 138 drivers/media/radio/dsbr100.c __func__, retval, DSB100_ONOFF); retval 139 drivers/media/radio/dsbr100.c return retval; retval 147 drivers/media/radio/dsbr100.c int retval = usb_control_msg(radio->usbdev, retval 153 drivers/media/radio/dsbr100.c if (retval < 0) { retval 157 drivers/media/radio/dsbr100.c __func__, retval, USB_REQ_GET_STATUS); retval 339 drivers/media/radio/dsbr100.c int retval; retval 356 drivers/media/radio/dsbr100.c retval = v4l2_device_register(&intf->dev, v4l2_dev); retval 357 drivers/media/radio/dsbr100.c if (retval < 0) { retval 366 drivers/media/radio/dsbr100.c retval = radio->hdl.error; retval 388 drivers/media/radio/dsbr100.c retval = video_register_device(&radio->videodev, VFL_TYPE_RADIO, radio_nr); retval 389 drivers/media/radio/dsbr100.c if (retval == 0) retval 399 drivers/media/radio/dsbr100.c return retval; retval 300 drivers/media/radio/radio-keene.c int retval = 0; retval 321 drivers/media/radio/radio-keene.c retval = -ENOMEM; retval 339 drivers/media/radio/radio-keene.c retval = hdl->error; retval 344 drivers/media/radio/radio-keene.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); retval 345 drivers/media/radio/radio-keene.c if (retval < 0) { retval 374 drivers/media/radio/radio-keene.c retval = video_register_device(&radio->vdev, VFL_TYPE_RADIO, -1); retval 375 drivers/media/radio/radio-keene.c if (retval < 0) { retval 390 drivers/media/radio/radio-keene.c return retval; retval 96 drivers/media/radio/radio-ma901.c int retval; retval 107 drivers/media/radio/radio-ma901.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), retval 110 drivers/media/radio/radio-ma901.c if (retval < 0) retval 111 drivers/media/radio/radio-ma901.c return retval; retval 119 drivers/media/radio/radio-ma901.c int retval; retval 130 drivers/media/radio/radio-ma901.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), retval 133 drivers/media/radio/radio-ma901.c if (retval < 0) retval 134 drivers/media/radio/radio-ma901.c return retval; retval 137 drivers/media/radio/radio-ma901.c return retval; retval 142 drivers/media/radio/radio-ma901.c int retval; retval 153 drivers/media/radio/radio-ma901.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), retval 157 drivers/media/radio/radio-ma901.c if (retval < 0) retval 158 drivers/media/radio/radio-ma901.c return retval; retval 165 drivers/media/radio/radio-ma901.c return retval; retval 337 drivers/media/radio/radio-ma901.c int retval = 0; retval 352 drivers/media/radio/radio-ma901.c retval = -ENOMEM; retval 359 drivers/media/radio/radio-ma901.c retval = -ENOMEM; retval 363 drivers/media/radio/radio-ma901.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); retval 364 drivers/media/radio/radio-ma901.c if (retval < 0) { retval 384 drivers/media/radio/radio-ma901.c retval = radio->hdl.error; retval 415 drivers/media/radio/radio-ma901.c retval = video_register_device(&radio->vdev, VFL_TYPE_RADIO, retval 417 drivers/media/radio/radio-ma901.c if (retval < 0) { retval 433 drivers/media/radio/radio-ma901.c return retval; retval 123 drivers/media/radio/radio-maxiradio.c int retval = -ENOMEM; retval 134 drivers/media/radio/radio-maxiradio.c retval = v4l2_device_register(&pdev->dev, v4l2_dev); retval 135 drivers/media/radio/radio-maxiradio.c if (retval < 0) { retval 150 drivers/media/radio/radio-maxiradio.c retval = -ENODEV; retval 174 drivers/media/radio/radio-maxiradio.c return retval; retval 138 drivers/media/radio/radio-mr800.c int retval; retval 150 drivers/media/radio/radio-mr800.c retval = usb_bulk_msg(radio->usbdev, usb_sndintpipe(radio->usbdev, 2), retval 153 drivers/media/radio/radio-mr800.c if (retval < 0 || size != BUFFER_LENGTH) { retval 157 drivers/media/radio/radio-mr800.c return retval ? retval : -EIO; retval 165 drivers/media/radio/radio-mr800.c retval = usb_bulk_msg(radio->usbdev, usb_sndintpipe(radio->usbdev, 2), retval 169 drivers/media/radio/radio-mr800.c retval = usb_bulk_msg(radio->usbdev, usb_rcvbulkpipe(radio->usbdev, 0x81), retval 172 drivers/media/radio/radio-mr800.c if (retval == 0 && size == BUFFER_LENGTH) retval 176 drivers/media/radio/radio-mr800.c return retval ? retval : -EIO; retval 195 drivers/media/radio/radio-mr800.c int retval; retval 206 drivers/media/radio/radio-mr800.c retval = amradio_send_cmd(radio, AMRADIO_SET_FREQ, 0, buf, 3, false); retval 207 drivers/media/radio/radio-mr800.c if (retval) retval 208 drivers/media/radio/radio-mr800.c return retval; retval 272 drivers/media/radio/radio-mr800.c int retval; retval 278 drivers/media/radio/radio-mr800.c retval = amradio_get_stat(radio, &is_stereo, &v->signal); retval 279 drivers/media/radio/radio-mr800.c if (retval) retval 280 drivers/media/radio/radio-mr800.c return retval; retval 345 drivers/media/radio/radio-mr800.c int retval; retval 353 drivers/media/radio/radio-mr800.c retval = amradio_send_cmd(radio, retval 355 drivers/media/radio/radio-mr800.c if (retval) retval 356 drivers/media/radio/radio-mr800.c return retval; retval 358 drivers/media/radio/radio-mr800.c retval = amradio_send_cmd(radio, retval 361 drivers/media/radio/radio-mr800.c if (retval) retval 362 drivers/media/radio/radio-mr800.c return retval; retval 366 drivers/media/radio/radio-mr800.c retval = -ENODATA; retval 370 drivers/media/radio/radio-mr800.c retval = -ERESTARTSYS; retval 373 drivers/media/radio/radio-mr800.c retval = amradio_send_cmd(radio, AMRADIO_GET_READY_FLAG, retval 375 drivers/media/radio/radio-mr800.c if (retval) retval 385 drivers/media/radio/radio-mr800.c retval = 0; retval 391 drivers/media/radio/radio-mr800.c return retval; retval 409 drivers/media/radio/radio-mr800.c int retval; retval 411 drivers/media/radio/radio-mr800.c retval = amradio_set_mute(radio, true); retval 412 drivers/media/radio/radio-mr800.c if (retval) retval 414 drivers/media/radio/radio-mr800.c retval = amradio_set_stereo(radio, true); retval 415 drivers/media/radio/radio-mr800.c if (retval) retval 417 drivers/media/radio/radio-mr800.c retval = amradio_set_freq(radio, radio->curfreq); retval 418 drivers/media/radio/radio-mr800.c if (retval) retval 424 drivers/media/radio/radio-mr800.c return retval; retval 502 drivers/media/radio/radio-mr800.c int retval; retval 508 drivers/media/radio/radio-mr800.c retval = -ENOMEM; retval 516 drivers/media/radio/radio-mr800.c retval = -ENOMEM; retval 520 drivers/media/radio/radio-mr800.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); retval 521 drivers/media/radio/radio-mr800.c if (retval < 0) { retval 530 drivers/media/radio/radio-mr800.c retval = radio->hdl.error; retval 554 drivers/media/radio/radio-mr800.c retval = usb_amradio_init(radio); retval 555 drivers/media/radio/radio-mr800.c if (retval) retval 558 drivers/media/radio/radio-mr800.c retval = video_register_device(&radio->vdev, VFL_TYPE_RADIO, retval 560 drivers/media/radio/radio-mr800.c if (retval < 0) { retval 576 drivers/media/radio/radio-mr800.c return retval; retval 302 drivers/media/radio/radio-raremono.c int retval = 0; retval 326 drivers/media/radio/radio-raremono.c retval = usb_control_msg(radio->usbdev, retval 332 drivers/media/radio/radio-raremono.c if (retval != 3 || retval 335 drivers/media/radio/radio-raremono.c retval = -ENODEV; retval 342 drivers/media/radio/radio-raremono.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); retval 343 drivers/media/radio/radio-raremono.c if (retval < 0) { retval 366 drivers/media/radio/radio-raremono.c retval = video_register_device(&radio->vdev, VFL_TYPE_RADIO, -1); retval 367 drivers/media/radio/radio-raremono.c if (retval == 0) { retval 378 drivers/media/radio/radio-raremono.c return retval; retval 240 drivers/media/radio/radio-shark.c int i, retval; retval 249 drivers/media/radio/radio-shark.c retval = led_classdev_register(dev, &shark->leds[i]); retval 250 drivers/media/radio/radio-shark.c if (retval) { retval 254 drivers/media/radio/radio-shark.c return retval; retval 318 drivers/media/radio/radio-shark.c int retval = -ENOMEM; retval 322 drivers/media/radio/radio-shark.c return retval; retval 330 drivers/media/radio/radio-shark.c retval = shark_register_leds(shark, &intf->dev); retval 331 drivers/media/radio/radio-shark.c if (retval) retval 335 drivers/media/radio/radio-shark.c retval = v4l2_device_register(&intf->dev, &shark->v4l2_dev); retval 336 drivers/media/radio/radio-shark.c if (retval) { retval 353 drivers/media/radio/radio-shark.c retval = snd_tea575x_init(&shark->tea, THIS_MODULE); retval 354 drivers/media/radio/radio-shark.c if (retval) { retval 370 drivers/media/radio/radio-shark.c return retval; retval 206 drivers/media/radio/radio-shark2.c int i, retval; retval 215 drivers/media/radio/radio-shark2.c retval = led_classdev_register(dev, &shark->leds[i]); retval 216 drivers/media/radio/radio-shark2.c if (retval) { retval 220 drivers/media/radio/radio-shark2.c return retval; retval 284 drivers/media/radio/radio-shark2.c int retval = -ENOMEM; retval 288 drivers/media/radio/radio-shark2.c return retval; retval 296 drivers/media/radio/radio-shark2.c retval = shark_register_leds(shark, &intf->dev); retval 297 drivers/media/radio/radio-shark2.c if (retval) retval 301 drivers/media/radio/radio-shark2.c retval = v4l2_device_register(&intf->dev, &shark->v4l2_dev); retval 302 drivers/media/radio/radio-shark2.c if (retval) { retval 318 drivers/media/radio/radio-shark2.c retval = radio_tea5777_init(&shark->tea, THIS_MODULE); retval 319 drivers/media/radio/radio-shark2.c if (retval) { retval 335 drivers/media/radio/radio-shark2.c return retval; retval 515 drivers/media/radio/radio-si476x.c int retval; retval 530 drivers/media/radio/radio-si476x.c retval = radio->ops->tune_freq(radio->core, &args); retval 535 drivers/media/radio/radio-si476x.c retval = radio->ops->tune_freq(radio->core, &args); retval 539 drivers/media/radio/radio-si476x.c retval = -EINVAL; retval 542 drivers/media/radio/radio-si476x.c return retval; retval 829 drivers/media/radio/radio-si476x.c int retval; retval 838 drivers/media/radio/radio-si476x.c retval = radio->ops->phase_div_status(radio->core); retval 839 drivers/media/radio/radio-si476x.c if (retval < 0) retval 842 drivers/media/radio/radio-si476x.c ctrl->val = !!SI476X_PHDIV_STATUS_LINK_LOCKED(retval); retval 843 drivers/media/radio/radio-si476x.c retval = 0; retval 846 drivers/media/radio/radio-si476x.c retval = -ENOTTY; retval 850 drivers/media/radio/radio-si476x.c retval = -EINVAL; retval 853 drivers/media/radio/radio-si476x.c retval = -EINVAL; retval 857 drivers/media/radio/radio-si476x.c return retval; retval 863 drivers/media/radio/radio-si476x.c int retval; retval 871 drivers/media/radio/radio-si476x.c retval = regmap_update_bits(radio->core->regmap, retval 879 drivers/media/radio/radio-si476x.c retval = regmap_update_bits(radio->core->regmap, retval 885 drivers/media/radio/radio-si476x.c retval = regmap_update_bits(radio->core->regmap, retval 891 drivers/media/radio/radio-si476x.c retval = regmap_update_bits(radio->core->regmap, retval 897 drivers/media/radio/radio-si476x.c retval = -EINVAL; retval 902 drivers/media/radio/radio-si476x.c retval = regmap_write(radio->core->regmap, retval 907 drivers/media/radio/radio-si476x.c retval = regmap_write(radio->core->regmap, retval 912 drivers/media/radio/radio-si476x.c retval = regmap_write(radio->core->regmap, retval 926 drivers/media/radio/radio-si476x.c retval = regmap_write(radio->core->regmap, retval 929 drivers/media/radio/radio-si476x.c if (retval < 0) retval 933 drivers/media/radio/radio-si476x.c retval = regmap_write(radio->core->regmap, retval 936 drivers/media/radio/radio-si476x.c if (retval < 0) retval 941 drivers/media/radio/radio-si476x.c retval = si476x_core_cmd_fm_rds_status(radio->core, retval 946 drivers/media/radio/radio-si476x.c if (retval < 0) retval 949 drivers/media/radio/radio-si476x.c retval = regmap_update_bits(radio->core->regmap, retval 954 drivers/media/radio/radio-si476x.c retval = regmap_update_bits(radio->core->regmap, retval 964 drivers/media/radio/radio-si476x.c retval = regmap_write(radio->core->regmap, retval 973 drivers/media/radio/radio-si476x.c retval = 0; retval 983 drivers/media/radio/radio-si476x.c retval = 0; retval 985 drivers/media/radio/radio-si476x.c retval = radio->ops->phase_diversity(radio->core, mode); retval 986 drivers/media/radio/radio-si476x.c if (!retval) retval 992 drivers/media/radio/radio-si476x.c retval = -EINVAL; retval 998 drivers/media/radio/radio-si476x.c return retval; retval 195 drivers/media/radio/si470x/radio-si470x-common.c int retval; retval 199 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->get_register(radio, POWERCFG); retval 200 drivers/media/radio/si470x/radio-si470x-common.c if (retval) retval 201 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 211 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, CHANNEL); retval 212 drivers/media/radio/si470x/radio-si470x-common.c if (retval < 0) retval 230 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, CHANNEL); retval 233 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 261 drivers/media/radio/si470x/radio-si470x-common.c int chan, retval; retval 264 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->get_register(radio, READCHAN); retval 270 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 297 drivers/media/radio/si470x/radio-si470x-common.c int band, retval; retval 315 drivers/media/radio/si470x/radio-si470x-common.c retval = si470x_get_freq(radio, &freq); retval 316 drivers/media/radio/si470x/radio-si470x-common.c if (retval) retval 317 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 318 drivers/media/radio/si470x/radio-si470x-common.c retval = si470x_set_band(radio, band); retval 319 drivers/media/radio/si470x/radio-si470x-common.c if (retval) retval 320 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 321 drivers/media/radio/si470x/radio-si470x-common.c retval = si470x_set_freq(radio, freq); retval 322 drivers/media/radio/si470x/radio-si470x-common.c if (retval) retval 323 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 336 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, POWERCFG); retval 337 drivers/media/radio/si470x/radio-si470x-common.c if (retval < 0) retval 338 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 355 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, POWERCFG); retval 358 drivers/media/radio/si470x/radio-si470x-common.c if (retval == 0 && timed_out) retval 360 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 369 drivers/media/radio/si470x/radio-si470x-common.c int retval; retval 374 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, POWERCFG); retval 375 drivers/media/radio/si470x/radio-si470x-common.c if (retval < 0) retval 385 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, SYSCONFIG1); retval 386 drivers/media/radio/si470x/radio-si470x-common.c if (retval < 0) retval 395 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, SYSCONFIG2); retval 396 drivers/media/radio/si470x/radio-si470x-common.c if (retval < 0) retval 400 drivers/media/radio/si470x/radio-si470x-common.c retval = si470x_set_chan(radio, retval 404 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 414 drivers/media/radio/si470x/radio-si470x-common.c int retval; retval 418 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, SYSCONFIG1); retval 419 drivers/media/radio/si470x/radio-si470x-common.c if (retval < 0) retval 426 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, POWERCFG); retval 429 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 439 drivers/media/radio/si470x/radio-si470x-common.c int retval; retval 443 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->set_register(radio, SYSCONFIG1); retval 444 drivers/media/radio/si470x/radio-si470x-common.c if (retval < 0) retval 447 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 463 drivers/media/radio/si470x/radio-si470x-common.c int retval = 0; retval 473 drivers/media/radio/si470x/radio-si470x-common.c retval = -EWOULDBLOCK; retval 478 drivers/media/radio/si470x/radio-si470x-common.c retval = -EINTR; retval 504 drivers/media/radio/si470x/radio-si470x-common.c retval += 3; retval 508 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 520 drivers/media/radio/si470x/radio-si470x-common.c __poll_t retval = v4l2_ctrl_poll(file, pts); retval 530 drivers/media/radio/si470x/radio-si470x-common.c retval |= EPOLLIN | EPOLLRDNORM; retval 533 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 604 drivers/media/radio/si470x/radio-si470x-common.c int retval = 0; retval 610 drivers/media/radio/si470x/radio-si470x-common.c retval = radio->get_register(radio, STATUSRSSI); retval 611 drivers/media/radio/si470x/radio-si470x-common.c if (retval < 0) retval 612 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 653 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 706 drivers/media/radio/si470x/radio-si470x-common.c int retval; retval 714 drivers/media/radio/si470x/radio-si470x-common.c retval = si470x_set_band(radio, 1); retval 715 drivers/media/radio/si470x/radio-si470x-common.c if (retval) retval 716 drivers/media/radio/si470x/radio-si470x-common.c return retval; retval 172 drivers/media/radio/si470x/radio-si470x-i2c.c int retval = v4l2_fh_open(file); retval 174 drivers/media/radio/si470x/radio-si470x-i2c.c if (retval) retval 175 drivers/media/radio/si470x/radio-si470x-i2c.c return retval; retval 179 drivers/media/radio/si470x/radio-si470x-i2c.c retval = si470x_start(radio); retval 180 drivers/media/radio/si470x/radio-si470x-i2c.c if (retval < 0) retval 188 drivers/media/radio/si470x/radio-si470x-i2c.c retval = si470x_set_register(radio, SYSCONFIG1); retval 192 drivers/media/radio/si470x/radio-si470x-i2c.c if (retval) retval 194 drivers/media/radio/si470x/radio-si470x-i2c.c return retval; retval 246 drivers/media/radio/si470x/radio-si470x-i2c.c int retval = 0; retval 249 drivers/media/radio/si470x/radio-si470x-i2c.c retval = si470x_get_register(radio, STATUSRSSI); retval 250 drivers/media/radio/si470x/radio-si470x-i2c.c if (retval < 0) retval 262 drivers/media/radio/si470x/radio-si470x-i2c.c retval = si470x_get_register(radio, STATUSRSSI + regnr); retval 263 drivers/media/radio/si470x/radio-si470x-i2c.c if (retval < 0) retval 336 drivers/media/radio/si470x/radio-si470x-i2c.c int retval = 0; retval 342 drivers/media/radio/si470x/radio-si470x-i2c.c retval = -ENOMEM; retval 357 drivers/media/radio/si470x/radio-si470x-i2c.c retval = v4l2_device_register(&client->dev, &radio->v4l2_dev); retval 358 drivers/media/radio/si470x/radio-si470x-i2c.c if (retval < 0) { retval 369 drivers/media/radio/si470x/radio-si470x-i2c.c retval = radio->hdl.error; retval 388 drivers/media/radio/si470x/radio-si470x-i2c.c retval = PTR_ERR(radio->gpio_reset); retval 389 drivers/media/radio/si470x/radio-si470x-i2c.c dev_err(&client->dev, "Failed to request gpio: %d\n", retval); retval 399 drivers/media/radio/si470x/radio-si470x-i2c.c retval = -EIO; retval 406 drivers/media/radio/si470x/radio-si470x-i2c.c retval = -EIO; retval 436 drivers/media/radio/si470x/radio-si470x-i2c.c retval = -EIO; retval 445 drivers/media/radio/si470x/radio-si470x-i2c.c retval = devm_request_threaded_irq(&client->dev, client->irq, NULL, retval 449 drivers/media/radio/si470x/radio-si470x-i2c.c if (retval) { retval 455 drivers/media/radio/si470x/radio-si470x-i2c.c retval = video_register_device(&radio->videodev, VFL_TYPE_RADIO, retval 457 drivers/media/radio/si470x/radio-si470x-i2c.c if (retval) { retval 469 drivers/media/radio/si470x/radio-si470x-i2c.c return retval; retval 201 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 203 drivers/media/radio/si470x/radio-si470x-usb.c retval = usb_control_msg(radio->usbdev, retval 210 drivers/media/radio/si470x/radio-si470x-usb.c if (retval < 0) retval 213 drivers/media/radio/si470x/radio-si470x-usb.c retval); retval 214 drivers/media/radio/si470x/radio-si470x-usb.c return retval; retval 224 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 226 drivers/media/radio/si470x/radio-si470x-usb.c retval = usb_control_msg(radio->usbdev, retval 233 drivers/media/radio/si470x/radio-si470x-usb.c if (retval < 0) retval 236 drivers/media/radio/si470x/radio-si470x-usb.c retval); retval 237 drivers/media/radio/si470x/radio-si470x-usb.c return retval; retval 246 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 250 drivers/media/radio/si470x/radio-si470x-usb.c retval = si470x_get_report(radio, radio->usb_buf, REGISTER_REPORT_SIZE); retval 252 drivers/media/radio/si470x/radio-si470x-usb.c if (retval >= 0) retval 255 drivers/media/radio/si470x/radio-si470x-usb.c return (retval < 0) ? -EINVAL : 0; retval 264 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 269 drivers/media/radio/si470x/radio-si470x-usb.c retval = si470x_set_report(radio, radio->usb_buf, REGISTER_REPORT_SIZE); retval 271 drivers/media/radio/si470x/radio-si470x-usb.c return (retval < 0) ? -EINVAL : 0; retval 285 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 290 drivers/media/radio/si470x/radio-si470x-usb.c retval = si470x_get_report(radio, radio->usb_buf, ENTIRE_REPORT_SIZE); retval 292 drivers/media/radio/si470x/radio-si470x-usb.c if (retval >= 0) retval 297 drivers/media/radio/si470x/radio-si470x-usb.c return (retval < 0) ? -EINVAL : 0; retval 312 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 318 drivers/media/radio/si470x/radio-si470x-usb.c retval = si470x_set_report(radio, radio->usb_buf, LED_REPORT_SIZE); retval 320 drivers/media/radio/si470x/radio-si470x-usb.c return (retval < 0) ? -EINVAL : 0; retval 334 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 338 drivers/media/radio/si470x/radio-si470x-usb.c retval = si470x_get_report(radio, radio->usb_buf, SCRATCH_REPORT_SIZE); retval 340 drivers/media/radio/si470x/radio-si470x-usb.c if (retval < 0) retval 342 drivers/media/radio/si470x/radio-si470x-usb.c retval); retval 348 drivers/media/radio/si470x/radio-si470x-usb.c return (retval < 0) ? -EINVAL : 0; retval 365 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 465 drivers/media/radio/si470x/radio-si470x-usb.c retval = usb_submit_urb(radio->int_in_urb, GFP_ATOMIC); retval 466 drivers/media/radio/si470x/radio-si470x-usb.c if (retval) { retval 468 drivers/media/radio/si470x/radio-si470x-usb.c "resubmitting urb failed (%d)", retval); retval 523 drivers/media/radio/si470x/radio-si470x-usb.c int retval; retval 538 drivers/media/radio/si470x/radio-si470x-usb.c retval = usb_submit_urb(radio->int_in_urb, GFP_KERNEL); retval 539 drivers/media/radio/si470x/radio-si470x-usb.c if (retval) { retval 541 drivers/media/radio/si470x/radio-si470x-usb.c "submitting int urb failed (%d)\n", retval); retval 547 drivers/media/radio/si470x/radio-si470x-usb.c retval = si470x_start(radio); retval 548 drivers/media/radio/si470x/radio-si470x-usb.c if (retval < 0) retval 549 drivers/media/radio/si470x/radio-si470x-usb.c return retval; retval 553 drivers/media/radio/si470x/radio-si470x-usb.c return retval; retval 569 drivers/media/radio/si470x/radio-si470x-usb.c int i, int_end_size, retval; retval 575 drivers/media/radio/si470x/radio-si470x-usb.c retval = -ENOMEM; retval 580 drivers/media/radio/si470x/radio-si470x-usb.c retval = -ENOMEM; retval 605 drivers/media/radio/si470x/radio-si470x-usb.c retval = -EIO; retval 614 drivers/media/radio/si470x/radio-si470x-usb.c retval = -ENOMEM; retval 620 drivers/media/radio/si470x/radio-si470x-usb.c retval = -ENOMEM; retval 635 drivers/media/radio/si470x/radio-si470x-usb.c retval = usb_control_msg(radio->usbdev, retval 641 drivers/media/radio/si470x/radio-si470x-usb.c if (retval != 3 || retval 644 drivers/media/radio/si470x/radio-si470x-usb.c retval = -ENODEV; retval 649 drivers/media/radio/si470x/radio-si470x-usb.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); retval 650 drivers/media/radio/si470x/radio-si470x-usb.c if (retval < 0) { retval 661 drivers/media/radio/si470x/radio-si470x-usb.c retval = radio->hdl.error; retval 677 drivers/media/radio/si470x/radio-si470x-usb.c retval = -EIO; retval 694 drivers/media/radio/si470x/radio-si470x-usb.c retval = -EIO; retval 724 drivers/media/radio/si470x/radio-si470x-usb.c retval = -EIO; retval 735 drivers/media/radio/si470x/radio-si470x-usb.c retval = si470x_start_usb(radio); retval 736 drivers/media/radio/si470x/radio-si470x-usb.c if (retval < 0) retval 743 drivers/media/radio/si470x/radio-si470x-usb.c retval = video_register_device(&radio->videodev, VFL_TYPE_RADIO, retval 745 drivers/media/radio/si470x/radio-si470x-usb.c if (retval) { retval 768 drivers/media/radio/si470x/radio-si470x-usb.c return retval; retval 156 drivers/media/radio/si4713/radio-usb-si4713.c int retval; retval 159 drivers/media/radio/si4713/radio-usb-si4713.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), retval 162 drivers/media/radio/si4713/radio-usb-si4713.c if (retval < 0) retval 163 drivers/media/radio/si4713/radio-usb-si4713.c return retval; retval 167 drivers/media/radio/si4713/radio-usb-si4713.c retval = usb_control_msg(radio->usbdev, usb_rcvctrlpipe(radio->usbdev, 0), retval 170 drivers/media/radio/si4713/radio-usb-si4713.c if (retval < 0) retval 171 drivers/media/radio/si4713/radio-usb-si4713.c return retval; retval 198 drivers/media/radio/si4713/radio-usb-si4713.c return retval; retval 242 drivers/media/radio/si4713/radio-usb-si4713.c int retval = 0; retval 253 drivers/media/radio/si4713/radio-usb-si4713.c retval = si4713_send_startup_command(radio); retval 256 drivers/media/radio/si4713/radio-usb-si4713.c return retval; retval 295 drivers/media/radio/si4713/radio-usb-si4713.c int retval; retval 305 drivers/media/radio/si4713/radio-usb-si4713.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), retval 309 drivers/media/radio/si4713/radio-usb-si4713.c return retval < 0 ? retval : 0; retval 315 drivers/media/radio/si4713/radio-usb-si4713.c int retval; retval 319 drivers/media/radio/si4713/radio-usb-si4713.c retval = usb_control_msg(radio->usbdev, retval 323 drivers/media/radio/si4713/radio-usb-si4713.c if (retval < 0) retval 324 drivers/media/radio/si4713/radio-usb-si4713.c return retval; retval 348 drivers/media/radio/si4713/radio-usb-si4713.c int retval = -EINVAL; retval 356 drivers/media/radio/si4713/radio-usb-si4713.c retval = send_command(radio, command_table[i].payload, retval 360 drivers/media/radio/si4713/radio-usb-si4713.c return retval < 0 ? retval : 0; retval 367 drivers/media/radio/si4713/radio-usb-si4713.c int retval = -EINVAL; retval 372 drivers/media/radio/si4713/radio-usb-si4713.c retval = si4713_i2c_read(radio, msgs[i].buf, msgs[i].len); retval 374 drivers/media/radio/si4713/radio-usb-si4713.c retval = si4713_i2c_write(radio, msgs[i].buf, msgs[i].len); retval 375 drivers/media/radio/si4713/radio-usb-si4713.c if (retval) retval 379 drivers/media/radio/si4713/radio-usb-si4713.c return retval ? retval : num; retval 417 drivers/media/radio/si4713/radio-usb-si4713.c int retval = -ENOMEM; retval 439 drivers/media/radio/si4713/radio-usb-si4713.c retval = si4713_start_seq(radio); retval 440 drivers/media/radio/si4713/radio-usb-si4713.c if (retval < 0) retval 443 drivers/media/radio/si4713/radio-usb-si4713.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); retval 444 drivers/media/radio/si4713/radio-usb-si4713.c if (retval < 0) { retval 449 drivers/media/radio/si4713/radio-usb-si4713.c retval = si4713_register_i2c_adapter(radio); retval 450 drivers/media/radio/si4713/radio-usb-si4713.c if (retval < 0) { retval 461 drivers/media/radio/si4713/radio-usb-si4713.c retval = -ENODEV; retval 479 drivers/media/radio/si4713/radio-usb-si4713.c retval = video_register_device(&radio->vdev, VFL_TYPE_RADIO, -1); retval 480 drivers/media/radio/si4713/radio-usb-si4713.c if (retval < 0) { retval 497 drivers/media/radio/si4713/radio-usb-si4713.c return retval; retval 517 drivers/media/radio/tea575x.c int retval = snd_tea575x_hw_init(tea); retval 519 drivers/media/radio/tea575x.c if (retval) retval 520 drivers/media/radio/tea575x.c return retval; retval 543 drivers/media/radio/tea575x.c retval = tea->ctrl_handler.error; retval 544 drivers/media/radio/tea575x.c if (retval) { retval 547 drivers/media/radio/tea575x.c return retval; retval 551 drivers/media/radio/tea575x.c retval = tea->ext_init(tea); retval 552 drivers/media/radio/tea575x.c if (retval) { retval 554 drivers/media/radio/tea575x.c return retval; retval 561 drivers/media/radio/tea575x.c retval = video_register_device(&tea->vd, VFL_TYPE_RADIO, tea->radio_nr); retval 562 drivers/media/radio/tea575x.c if (retval) { retval 565 drivers/media/radio/tea575x.c return retval; retval 406 drivers/media/rc/ati_remote.c int retval = 0; retval 416 drivers/media/rc/ati_remote.c retval = usb_submit_urb(ati_remote->out_urb, GFP_ATOMIC); retval 417 drivers/media/rc/ati_remote.c if (retval) { retval 419 drivers/media/rc/ati_remote.c "sendpacket: usb_submit_urb failed: %d\n", retval); retval 420 drivers/media/rc/ati_remote.c return retval; retval 429 drivers/media/rc/ati_remote.c return retval; retval 655 drivers/media/rc/ati_remote.c int retval; retval 674 drivers/media/rc/ati_remote.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 675 drivers/media/rc/ati_remote.c if (retval) retval 678 drivers/media/rc/ati_remote.c __func__, retval); retval 44 drivers/media/rc/ene_ir.c u8 retval; retval 46 drivers/media/rc/ene_ir.c retval = inb(dev->hw_io + ENE_IO); retval 47 drivers/media/rc/ene_ir.c dbg_regs("reg %04x == %02x", reg, retval); retval 48 drivers/media/rc/ene_ir.c return retval; retval 679 drivers/media/rc/ene_ir.c int retval = 0; retval 703 drivers/media/rc/ene_ir.c retval |= ENE_IRQ_RX; retval 711 drivers/media/rc/ene_ir.c retval |= ENE_IRQ_TX; retval 714 drivers/media/rc/ene_ir.c return retval; retval 724 drivers/media/rc/ene_ir.c irqreturn_t retval = IRQ_NONE; retval 737 drivers/media/rc/ene_ir.c retval = IRQ_HANDLED; retval 809 drivers/media/rc/ene_ir.c return retval; retval 472 drivers/media/rc/imon.c int retval = 0; retval 481 drivers/media/rc/imon.c retval = -ENODEV; retval 488 drivers/media/rc/imon.c retval = -ENODEV; retval 496 drivers/media/rc/imon.c retval = -ENODEV; retval 499 drivers/media/rc/imon.c retval = -EBUSY; retval 510 drivers/media/rc/imon.c return retval; retval 520 drivers/media/rc/imon.c int retval = 0; retval 533 drivers/media/rc/imon.c retval = -ENODEV; retval 536 drivers/media/rc/imon.c retval = -EIO; retval 543 drivers/media/rc/imon.c return retval; retval 556 drivers/media/rc/imon.c int retval = 0; retval 600 drivers/media/rc/imon.c retval = usb_submit_urb(ictx->tx_urb, GFP_KERNEL); retval 601 drivers/media/rc/imon.c if (retval) { retval 604 drivers/media/rc/imon.c pr_err_ratelimited("error submitting urb(%d)\n", retval); retval 608 drivers/media/rc/imon.c retval = wait_for_completion_interruptible( retval 610 drivers/media/rc/imon.c if (retval) { retval 616 drivers/media/rc/imon.c retval = ictx->tx.status; retval 617 drivers/media/rc/imon.c if (retval) retval 618 drivers/media/rc/imon.c pr_err_ratelimited("packet tx failed (%d)\n", retval); retval 632 drivers/media/rc/imon.c return retval; retval 645 drivers/media/rc/imon.c int retval; retval 660 drivers/media/rc/imon.c retval = send_packet(ictx); retval 662 drivers/media/rc/imon.c return retval; retval 679 drivers/media/rc/imon.c int retval = 0; retval 742 drivers/media/rc/imon.c retval = send_packet(ictx); retval 743 drivers/media/rc/imon.c if (retval) { retval 749 drivers/media/rc/imon.c return retval; retval 828 drivers/media/rc/imon.c ssize_t retval; retval 837 drivers/media/rc/imon.c retval = -ENODEV; retval 840 drivers/media/rc/imon.c retval = -EBUSY; retval 846 drivers/media/rc/imon.c retval = -EINVAL; retval 853 drivers/media/rc/imon.c retval = -EINVAL; retval 857 drivers/media/rc/imon.c retval = send_set_imon_clock(ictx, year, month, day, dow, retval 859 drivers/media/rc/imon.c if (retval) retval 862 drivers/media/rc/imon.c retval = count; retval 866 drivers/media/rc/imon.c return retval; retval 911 drivers/media/rc/imon.c int retval = 0; retval 926 drivers/media/rc/imon.c retval = -ENODEV; retval 932 drivers/media/rc/imon.c retval = -EINVAL; retval 937 drivers/media/rc/imon.c retval = -EFAULT; retval 955 drivers/media/rc/imon.c retval = send_packet(ictx); retval 956 drivers/media/rc/imon.c if (retval) { retval 969 drivers/media/rc/imon.c retval = send_packet(ictx); retval 970 drivers/media/rc/imon.c if (retval) retval 976 drivers/media/rc/imon.c return (!retval) ? n_bytes : retval; retval 995 drivers/media/rc/imon.c int retval = 0; retval 1008 drivers/media/rc/imon.c retval = -ENODEV; retval 1015 drivers/media/rc/imon.c retval = -EINVAL; retval 1020 drivers/media/rc/imon.c retval = -EFAULT; retval 1024 drivers/media/rc/imon.c retval = send_packet(ictx); retval 1025 drivers/media/rc/imon.c if (retval) { retval 1034 drivers/media/rc/imon.c return (!retval) ? n_bytes : retval; retval 1090 drivers/media/rc/imon.c int retval; retval 1125 drivers/media/rc/imon.c retval = send_packet(ictx); retval 1126 drivers/media/rc/imon.c if (retval) retval 1136 drivers/media/rc/imon.c return retval; retval 142 drivers/media/rc/lirc_dev.c int retval; retval 150 drivers/media/rc/lirc_dev.c retval = -ENODEV; retval 156 drivers/media/rc/lirc_dev.c retval = -ENOMEM; retval 163 drivers/media/rc/lirc_dev.c retval = -ENOMEM; retval 177 drivers/media/rc/lirc_dev.c retval = rc_open(dev); retval 178 drivers/media/rc/lirc_dev.c if (retval) retval 201 drivers/media/rc/lirc_dev.c return retval; retval 813 drivers/media/rc/lirc_dev.c int retval; retval 821 drivers/media/rc/lirc_dev.c retval = alloc_chrdev_region(&lirc_base_dev, 0, RC_DEV_MAX, retval 823 drivers/media/rc/lirc_dev.c if (retval) { retval 826 drivers/media/rc/lirc_dev.c return retval; retval 398 drivers/media/rc/rc-main.c int retval = 0; retval 406 drivers/media/rc/rc-main.c retval = -EINVAL; retval 410 drivers/media/rc/rc-main.c retval = input_scancode_to_scalar(ke, &scancode); retval 411 drivers/media/rc/rc-main.c if (retval) retval 416 drivers/media/rc/rc-main.c retval = -ENOMEM; retval 425 drivers/media/rc/rc-main.c return retval; retval 520 drivers/media/rc/rc-main.c int retval; retval 527 drivers/media/rc/rc-main.c retval = input_scancode_to_scalar(ke, &scancode); retval 528 drivers/media/rc/rc-main.c if (retval) retval 551 drivers/media/rc/rc-main.c retval = -EINVAL; retval 555 drivers/media/rc/rc-main.c retval = 0; retval 559 drivers/media/rc/rc-main.c return retval; retval 987 drivers/media/rc/redrat3.c int retval = -ENOMEM; retval 1021 drivers/media/rc/redrat3.c retval = -ENODEV; retval 1104 drivers/media/rc/redrat3.c retval = led_classdev_register(&intf->dev, &rr3->led); retval 1105 drivers/media/rc/redrat3.c if (retval) retval 1110 drivers/media/rc/redrat3.c retval = -ENOMEM; retval 1115 drivers/media/rc/redrat3.c retval = redrat3_enable_detector(rr3); retval 1116 drivers/media/rc/redrat3.c if (retval < 0) retval 1130 drivers/media/rc/redrat3.c return retval; retval 328 drivers/media/rc/sir_ir.c int retval; retval 354 drivers/media/rc/sir_ir.c retval = devm_request_irq(&sir_ir_dev->dev, irq, sir_interrupt, 0, retval 356 drivers/media/rc/sir_ir.c if (retval < 0) { retval 358 drivers/media/rc/sir_ir.c return retval; retval 361 drivers/media/rc/sir_ir.c retval = init_hardware(); retval 362 drivers/media/rc/sir_ir.c if (retval) { retval 364 drivers/media/rc/sir_ir.c return retval; retval 369 drivers/media/rc/sir_ir.c retval = devm_rc_register_device(&sir_ir_dev->dev, rcdev); retval 370 drivers/media/rc/sir_ir.c if (retval < 0) retval 371 drivers/media/rc/sir_ir.c return retval; retval 393 drivers/media/rc/sir_ir.c int retval; retval 395 drivers/media/rc/sir_ir.c retval = platform_driver_register(&sir_ir_driver); retval 396 drivers/media/rc/sir_ir.c if (retval) retval 397 drivers/media/rc/sir_ir.c return retval; retval 401 drivers/media/rc/sir_ir.c retval = -ENOMEM; retval 405 drivers/media/rc/sir_ir.c retval = platform_device_add(sir_ir_dev); retval 406 drivers/media/rc/sir_ir.c if (retval) retval 415 drivers/media/rc/sir_ir.c return retval; retval 329 drivers/media/rc/streamzap.c int retval = -ENOMEM; retval 346 drivers/media/rc/streamzap.c retval = -ENODEV; retval 354 drivers/media/rc/streamzap.c retval = -ENODEV; retval 361 drivers/media/rc/streamzap.c retval = -ENODEV; retval 371 drivers/media/rc/streamzap.c retval = -ENODEV; retval 441 drivers/media/rc/streamzap.c return retval; retval 120 drivers/media/rc/xbox_remote.c int retval; retval 139 drivers/media/rc/xbox_remote.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 140 drivers/media/rc/xbox_remote.c if (retval) retval 143 drivers/media/rc/xbox_remote.c __func__, retval); retval 216 drivers/media/tuners/qt1010.c u8 oper, u8 reg, u8 reg_init_val, u8 *retval) retval 245 drivers/media/tuners/qt1010.c *retval = val1; retval 251 drivers/media/tuners/qt1010.c u8 reg_init_val, u8 *retval) retval 273 drivers/media/tuners/qt1010.c *retval = val; retval 652 drivers/media/usb/au0828/au0828-core.c int retval = 0; retval 693 drivers/media/usb/au0828/au0828-core.c retval = au0828_media_device_init(dev, usbdev); retval 694 drivers/media/usb/au0828/au0828-core.c if (retval) { retval 699 drivers/media/usb/au0828/au0828-core.c return retval; retval 702 drivers/media/usb/au0828/au0828-core.c retval = au0828_v4l2_device_register(interface, dev); retval 703 drivers/media/usb/au0828/au0828-core.c if (retval) { retval 707 drivers/media/usb/au0828/au0828-core.c return retval; retval 729 drivers/media/usb/au0828/au0828-core.c retval = au0828_analog_register(dev, interface); retval 730 drivers/media/usb/au0828/au0828-core.c if (retval) { retval 738 drivers/media/usb/au0828/au0828-core.c retval = au0828_dvb_register(dev); retval 739 drivers/media/usb/au0828/au0828-core.c if (retval) retval 751 drivers/media/usb/au0828/au0828-core.c retval = au0828_media_device_register(dev, usbdev); retval 754 drivers/media/usb/au0828/au0828-core.c if (retval < 0) retval 757 drivers/media/usb/au0828/au0828-core.c return retval; retval 285 drivers/media/usb/au0828/au0828-i2c.c int i, retval = 0; retval 294 drivers/media/usb/au0828/au0828-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 0); retval 298 drivers/media/usb/au0828/au0828-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], retval 300 drivers/media/usb/au0828/au0828-i2c.c if (retval < 0) retval 303 drivers/media/usb/au0828/au0828-i2c.c retval = i2c_readbytes(i2c_adap, &msgs[i], 1); retval 306 drivers/media/usb/au0828/au0828-i2c.c retval = i2c_sendbytes(i2c_adap, &msgs[i], 0); retval 308 drivers/media/usb/au0828/au0828-i2c.c if (retval < 0) retval 314 drivers/media/usb/au0828/au0828-i2c.c return retval; retval 653 drivers/media/usb/au0828/au0828-video.c int retval; retval 662 drivers/media/usb/au0828/au0828-video.c retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); retval 663 drivers/media/usb/au0828/au0828-video.c if (retval) { retval 666 drivers/media/usb/au0828/au0828-video.c return retval; retval 672 drivers/media/usb/au0828/au0828-video.c retval = v4l2_ctrl_handler_init(&dev->v4l2_ctrl_hdl, 4); retval 673 drivers/media/usb/au0828/au0828-video.c if (retval) { retval 676 drivers/media/usb/au0828/au0828-video.c return retval; retval 1905 drivers/media/usb/au0828/au0828-video.c int retval = -ENOMEM; retval 1918 drivers/media/usb/au0828/au0828-video.c retval = usb_set_interface(dev->usbdev, retval 1920 drivers/media/usb/au0828/au0828-video.c if (retval != 0) { retval 1922 drivers/media/usb/au0828/au0828-video.c return retval; retval 2001 drivers/media/usb/au0828/au0828-video.c retval = au0828_vb2_setup(dev); retval 2002 drivers/media/usb/au0828/au0828-video.c if (retval != 0) { retval 2004 drivers/media/usb/au0828/au0828-video.c retval); retval 2010 drivers/media/usb/au0828/au0828-video.c retval = video_register_device(&dev->vdev, VFL_TYPE_GRABBER, -1); retval 2011 drivers/media/usb/au0828/au0828-video.c if (retval != 0) { retval 2013 drivers/media/usb/au0828/au0828-video.c retval); retval 2020 drivers/media/usb/au0828/au0828-video.c retval = video_register_device(&dev->vbi_dev, VFL_TYPE_VBI, -1); retval 2021 drivers/media/usb/au0828/au0828-video.c if (retval != 0) { retval 2023 drivers/media/usb/au0828/au0828-video.c retval); retval 2029 drivers/media/usb/au0828/au0828-video.c retval = v4l2_mc_create_media_graph(dev->media_dev); retval 2030 drivers/media/usb/au0828/au0828-video.c if (retval) { retval 131 drivers/media/usb/cpia2/cpia2_core.c int retval = 0; retval 420 drivers/media/usb/cpia2/cpia2_core.c retval = cpia2_send_command(cam, &cmd); retval 421 drivers/media/usb/cpia2/cpia2_core.c if (retval) { retval 422 drivers/media/usb/cpia2/cpia2_core.c return retval; retval 513 drivers/media/usb/cpia2/cpia2_core.c return retval; retval 530 drivers/media/usb/cpia2/cpia2_core.c int retval; retval 570 drivers/media/usb/cpia2/cpia2_core.c retval = cpia2_usb_transfer_cmd(cam, retval 589 drivers/media/usb/cpia2/cpia2_core.c return retval; retval 618 drivers/media/usb/cpia2/cpia2_core.c int retval = 0; retval 626 drivers/media/usb/cpia2/cpia2_core.c retval = configure_sensor(cam, retval 629 drivers/media/usb/cpia2/cpia2_core.c if (retval < 0) { retval 630 drivers/media/usb/cpia2/cpia2_core.c ERR("Couldn't configure sensor, error=%d\n", retval); retval 631 drivers/media/usb/cpia2/cpia2_core.c return retval; retval 663 drivers/media/usb/cpia2/cpia2_core.c retval = apply_vp_patch(cam); retval 837 drivers/media/usb/cpia2/cpia2_core.c return retval; retval 1053 drivers/media/usb/cpia2/cpia2_core.c int retval = 0; retval 1111 drivers/media/usb/cpia2/cpia2_core.c retval = -EINVAL; retval 1113 drivers/media/usb/cpia2/cpia2_core.c return retval; retval 1124 drivers/media/usb/cpia2/cpia2_core.c int retval; retval 1131 drivers/media/usb/cpia2/cpia2_core.c retval = config_sensor_410(cam, req_width, req_height); retval 1134 drivers/media/usb/cpia2/cpia2_core.c retval = config_sensor_500(cam, req_width, req_height); retval 1140 drivers/media/usb/cpia2/cpia2_core.c return retval; retval 1744 drivers/media/usb/cpia2/cpia2_core.c int retval; retval 1768 drivers/media/usb/cpia2/cpia2_core.c retval = cpia2_do_command(cam, retval 1773 drivers/media/usb/cpia2/cpia2_core.c if(retval == 0) retval 1776 drivers/media/usb/cpia2/cpia2_core.c return retval; retval 74 drivers/media/usb/cpia2/cpia2_v4l.c int retval; retval 78 drivers/media/usb/cpia2/cpia2_v4l.c retval = v4l2_fh_open(file); retval 79 drivers/media/usb/cpia2/cpia2_v4l.c if (retval) retval 85 drivers/media/usb/cpia2/cpia2_v4l.c retval = -ENOMEM; retval 92 drivers/media/usb/cpia2/cpia2_v4l.c retval = -EIO; retval 103 drivers/media/usb/cpia2/cpia2_v4l.c return retval; retval 967 drivers/media/usb/cpia2/cpia2_v4l.c int retval; retval 971 drivers/media/usb/cpia2/cpia2_v4l.c retval = cpia2_remap_buffer(cam, area); retval 973 drivers/media/usb/cpia2/cpia2_v4l.c if(!retval) retval 976 drivers/media/usb/cpia2/cpia2_v4l.c return retval; retval 723 drivers/media/usb/cx231xx/cx231xx-417.c u32 value, flag, retval = 0; retval 785 drivers/media/usb/cx231xx/cx231xx-417.c mc417_memory_read(dev, dev->cx23417_mailbox + 2, &retval); retval 786 drivers/media/usb/cx231xx/cx231xx-417.c dprintk(3, "API result = %d\n", retval); retval 932 drivers/media/usb/cx231xx/cx231xx-417.c int i, retval = 0; retval 964 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_memory_read(dev, 0x9020, &gpio_output); retval 965 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_memory_read(dev, 0x900C, &value); retval 967 drivers/media/usb/cx231xx/cx231xx-417.c retval = mc417_register_write(dev, retval 969 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_write(dev, retval 971 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_write(dev, retval 973 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_write(dev, retval 975 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_write(dev, retval 978 drivers/media/usb/cx231xx/cx231xx-417.c if (retval != 0) { retval 983 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 986 drivers/media/usb/cx231xx/cx231xx-417.c retval = request_firmware(&firmware, CX231xx_FIRM_IMAGE_NAME, retval 989 drivers/media/usb/cx231xx/cx231xx-417.c if (retval != 0) { retval 997 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1059 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_write(dev, IVTV_REG_HW_BLOCKS, retval 1061 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) { retval 1065 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1068 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_write(dev, 0x9020, gpio_output); retval 1069 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_write(dev, 0x900C, value); retval 1071 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_read(dev, IVTV_REG_VPU, &value); retval 1072 drivers/media/usb/cx231xx/cx231xx-417.c retval |= mc417_register_write(dev, IVTV_REG_VPU, value & 0xFFFFFFE8); retval 1074 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) { retval 1078 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1113 drivers/media/usb/cx231xx/cx231xx-417.c int retval; retval 1119 drivers/media/usb/cx231xx/cx231xx-417.c retval = cx231xx_api_cmd(dev, CX2341X_ENC_PING_FW, 0, 0); /* ping */ retval 1120 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) { retval 1122 drivers/media/usb/cx231xx/cx231xx-417.c retval = cx231xx_load_firmware(dev); retval 1123 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) { retval 1126 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1128 drivers/media/usb/cx231xx/cx231xx-417.c retval = cx231xx_find_mailbox(dev); retval 1129 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) { retval 1132 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1134 drivers/media/usb/cx231xx/cx231xx-417.c dev->cx23417_mailbox = retval; retval 1135 drivers/media/usb/cx231xx/cx231xx-417.c retval = cx231xx_api_cmd(dev, CX2341X_ENC_PING_FW, 0, 0); retval 1136 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) { retval 1139 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1141 drivers/media/usb/cx231xx/cx231xx-417.c retval = cx231xx_api_cmd(dev, CX2341X_ENC_GET_VERSION, 0, 1, retval 1143 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) { retval 1146 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1153 drivers/media/usb/cx231xx/cx231xx-417.c retval = mc417_register_read(dev, 0x20f8, &val); retval 1156 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) retval 1157 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1205 drivers/media/usb/cx231xx/cx231xx-417.c retval = cx231xx_api_cmd(dev, CX2341X_ENC_INITIALIZE_INPUT, 0, 0); retval 1206 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) retval 1207 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 1214 drivers/media/usb/cx231xx/cx231xx-417.c retval = cx231xx_api_cmd(dev, CX2341X_ENC_START_CAPTURE, 2, 0, retval 1216 drivers/media/usb/cx231xx/cx231xx-417.c if (retval < 0) retval 1217 drivers/media/usb/cx231xx/cx231xx-417.c return retval; retval 578 drivers/media/usb/cx231xx/cx231xx-audio.c int retval = 0; retval 592 drivers/media/usb/cx231xx/cx231xx-audio.c retval = -EINVAL; retval 599 drivers/media/usb/cx231xx/cx231xx-audio.c return retval; retval 1402 drivers/media/usb/cx231xx/cx231xx-cards.c int retval = -ENOMEM; retval 1426 drivers/media/usb/cx231xx/cx231xx-cards.c retval = initialize_cx231xx(dev); retval 1427 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval < 0) { retval 1429 drivers/media/usb/cx231xx/cx231xx-cards.c return retval; retval 1442 drivers/media/usb/cx231xx/cx231xx-cards.c retval = cx231xx_config(dev); retval 1443 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval) { retval 1452 drivers/media/usb/cx231xx/cx231xx-cards.c retval = cx231xx_dev_init(dev); retval 1453 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval) { retval 1456 drivers/media/usb/cx231xx/cx231xx-cards.c __func__, retval); retval 1475 drivers/media/usb/cx231xx/cx231xx-cards.c retval = cx231xx_config(dev); retval 1476 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval) { retval 1478 drivers/media/usb/cx231xx/cx231xx-cards.c __func__, retval); retval 1502 drivers/media/usb/cx231xx/cx231xx-cards.c retval = cx231xx_register_analog_devices(dev); retval 1503 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval) retval 1517 drivers/media/usb/cx231xx/cx231xx-cards.c return retval; retval 1696 drivers/media/usb/cx231xx/cx231xx-cards.c int retval = -ENODEV; retval 1729 drivers/media/usb/cx231xx/cx231xx-cards.c retval = -ENOMEM; retval 1796 drivers/media/usb/cx231xx/cx231xx-cards.c retval = -ENODEV; retval 1806 drivers/media/usb/cx231xx/cx231xx-cards.c retval = cx231xx_media_device_init(dev, udev); retval 1807 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval) { retval 1816 drivers/media/usb/cx231xx/cx231xx-cards.c retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); retval 1817 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval) { retval 1823 drivers/media/usb/cx231xx/cx231xx-cards.c retval = cx231xx_init_dev(dev, udev, nr); retval 1824 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval) retval 1827 drivers/media/usb/cx231xx/cx231xx-cards.c retval = cx231xx_init_v4l2(dev, udev, interface, isoc_pipe); retval 1828 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval) retval 1837 drivers/media/usb/cx231xx/cx231xx-cards.c retval = -ENODEV; retval 1843 drivers/media/usb/cx231xx/cx231xx-cards.c retval = -ENODEV; retval 1859 drivers/media/usb/cx231xx/cx231xx-cards.c retval = -ENOMEM; retval 1867 drivers/media/usb/cx231xx/cx231xx-cards.c retval = -ENODEV; retval 1897 drivers/media/usb/cx231xx/cx231xx-cards.c retval = v4l2_mc_create_media_graph(dev->media_dev); retval 1898 drivers/media/usb/cx231xx/cx231xx-cards.c if (!retval) retval 1899 drivers/media/usb/cx231xx/cx231xx-cards.c retval = media_device_register(dev->media_dev); retval 1901 drivers/media/usb/cx231xx/cx231xx-cards.c if (retval < 0) retval 1903 drivers/media/usb/cx231xx/cx231xx-cards.c return retval; retval 1922 drivers/media/usb/cx231xx/cx231xx-cards.c return retval; retval 647 drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c int retval; retval 662 drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c retval = cx231xx_read_ctrl_reg(dev, VRT_GET_REGISTER, BOARD_CFG_STAT, retval 664 drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c if (retval < 0) retval 665 drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c return retval; retval 2329 drivers/media/usb/dvb-usb/dw2102.c int retval = -ENOMEM; retval 2414 drivers/media/usb/dvb-usb/dw2102.c retval = -ENODEV; retval 2423 drivers/media/usb/dvb-usb/dw2102.c return retval; retval 434 drivers/media/usb/em28xx/em28xx-audio.c int retval = 0; retval 451 drivers/media/usb/em28xx/em28xx-audio.c retval = -EINVAL; retval 454 drivers/media/usb/em28xx/em28xx-audio.c return retval; retval 3421 drivers/media/usb/em28xx/em28xx-cards.c int retval; retval 3440 drivers/media/usb/em28xx/em28xx-cards.c retval = em28xx_read_reg(dev, EM28XX_R0A_CHIPID); retval 3441 drivers/media/usb/em28xx/em28xx-cards.c if (retval > 0) { retval 3442 drivers/media/usb/em28xx/em28xx-cards.c dev->chip_id = retval; retval 3517 drivers/media/usb/em28xx/em28xx-cards.c retval = em28xx_audio_setup(dev); retval 3518 drivers/media/usb/em28xx/em28xx-cards.c if (retval) retval 3531 drivers/media/usb/em28xx/em28xx-cards.c retval = em28xx_i2c_register(dev, 0, EM28XX_I2C_ALGO_EM2800); retval 3533 drivers/media/usb/em28xx/em28xx-cards.c retval = em28xx_i2c_register(dev, 0, EM28XX_I2C_ALGO_EM28XX); retval 3534 drivers/media/usb/em28xx/em28xx-cards.c if (retval < 0) { retval 3537 drivers/media/usb/em28xx/em28xx-cards.c __func__, retval); retval 3538 drivers/media/usb/em28xx/em28xx-cards.c return retval; retval 3544 drivers/media/usb/em28xx/em28xx-cards.c retval = em28xx_i2c_register(dev, 1, retval 3547 drivers/media/usb/em28xx/em28xx-cards.c retval = em28xx_i2c_register(dev, 1, retval 3549 drivers/media/usb/em28xx/em28xx-cards.c if (retval < 0) { retval 3552 drivers/media/usb/em28xx/em28xx-cards.c __func__, retval); retval 3556 drivers/media/usb/em28xx/em28xx-cards.c return retval; retval 3710 drivers/media/usb/em28xx/em28xx-cards.c int retval; retval 3726 drivers/media/usb/em28xx/em28xx-cards.c retval = -ENOMEM; retval 3740 drivers/media/usb/em28xx/em28xx-cards.c retval = -ENODEV; retval 3747 drivers/media/usb/em28xx/em28xx-cards.c retval = -ENOMEM; retval 3757 drivers/media/usb/em28xx/em28xx-cards.c retval = -ENOMEM; retval 3776 drivers/media/usb/em28xx/em28xx-cards.c retval = -ENODEV; retval 3814 drivers/media/usb/em28xx/em28xx-cards.c retval = -ENODEV; retval 3869 drivers/media/usb/em28xx/em28xx-cards.c retval = em28xx_init_dev(dev, udev, intf, nr); retval 3870 drivers/media/usb/em28xx/em28xx-cards.c if (retval) retval 3927 drivers/media/usb/em28xx/em28xx-cards.c retval = em28xx_init_dev(dev->dev_next, udev, intf, retval 3929 drivers/media/usb/em28xx/em28xx-cards.c if (retval) retval 3986 drivers/media/usb/em28xx/em28xx-cards.c retval = media_device_register(dev->media_dev); retval 4000 drivers/media/usb/em28xx/em28xx-cards.c return retval; retval 977 drivers/media/usb/em28xx/em28xx-i2c.c int retval; retval 996 drivers/media/usb/em28xx/em28xx-i2c.c retval = i2c_add_adapter(&dev->i2c_adap[bus]); retval 997 drivers/media/usb/em28xx/em28xx-i2c.c if (retval < 0) { retval 1000 drivers/media/usb/em28xx/em28xx-i2c.c __func__, retval); retval 1001 drivers/media/usb/em28xx/em28xx-i2c.c return retval; retval 1009 drivers/media/usb/em28xx/em28xx-i2c.c retval = em28xx_i2c_eeprom(dev, bus, retval 1011 drivers/media/usb/em28xx/em28xx-i2c.c if (retval < 0 && retval != -ENODEV) { retval 1014 drivers/media/usb/em28xx/em28xx-i2c.c __func__, retval); retval 23 drivers/media/usb/gspca/autogain_functions.c int i, steps, retval = 0; retval 70 drivers/media/usb/gspca/autogain_functions.c retval = 1; retval 74 drivers/media/usb/gspca/autogain_functions.c retval = 1; retval 77 drivers/media/usb/gspca/autogain_functions.c if (retval) retval 80 drivers/media/usb/gspca/autogain_functions.c return retval; retval 103 drivers/media/usb/gspca/autogain_functions.c int steps, retval = 0; retval 153 drivers/media/usb/gspca/autogain_functions.c retval = 1; retval 157 drivers/media/usb/gspca/autogain_functions.c retval = 1; retval 160 drivers/media/usb/gspca/autogain_functions.c if (retval) retval 163 drivers/media/usb/gspca/autogain_functions.c return retval; retval 88 drivers/media/usb/gspca/jeilinj.c int retval; retval 93 drivers/media/usb/gspca/jeilinj.c retval = usb_bulk_msg(gspca_dev->dev, retval 96 drivers/media/usb/gspca/jeilinj.c if (retval < 0) { retval 98 drivers/media/usb/gspca/jeilinj.c gspca_dev->usb_buf[0], retval); retval 99 drivers/media/usb/gspca/jeilinj.c gspca_dev->usb_err = retval; retval 106 drivers/media/usb/gspca/jeilinj.c int retval; retval 110 drivers/media/usb/gspca/jeilinj.c retval = usb_bulk_msg(gspca_dev->dev, retval 114 drivers/media/usb/gspca/jeilinj.c if (retval < 0) { retval 116 drivers/media/usb/gspca/jeilinj.c gspca_dev->usb_buf[0], retval); retval 117 drivers/media/usb/gspca/jeilinj.c gspca_dev->usb_err = retval; retval 76 drivers/media/usb/gspca/jl2005bcd.c int retval; retval 79 drivers/media/usb/gspca/jl2005bcd.c retval = usb_bulk_msg(gspca_dev->dev, retval 82 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 84 drivers/media/usb/gspca/jl2005bcd.c gspca_dev->usb_buf[0], retval); retval 85 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 91 drivers/media/usb/gspca/jl2005bcd.c int retval; retval 93 drivers/media/usb/gspca/jl2005bcd.c retval = usb_bulk_msg(gspca_dev->dev, retval 96 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 98 drivers/media/usb/gspca/jl2005bcd.c gspca_dev->usb_buf[0], retval); retval 99 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 105 drivers/media/usb/gspca/jl2005bcd.c int retval; retval 111 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_write2(gspca_dev, instruction); retval 112 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 113 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 114 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_read1(gspca_dev); retval 116 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 122 drivers/media/usb/gspca/jl2005bcd.c int retval; retval 127 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_write2(gspca_dev, instruction); retval 128 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 129 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 134 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_read_reg(gspca_dev, 0x7e); retval 135 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 136 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 138 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_read_reg(gspca_dev, 0x7d); retval 139 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 140 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 145 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 151 drivers/media/usb/gspca/jl2005bcd.c int retval; retval 157 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_write2(gspca_dev, instruction); retval 158 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 159 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 161 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 168 drivers/media/usb/gspca/jl2005bcd.c int retval = -1; retval 173 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_read_reg(gspca_dev, regs_to_read[0]); retval 176 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 177 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 180 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_read_reg(gspca_dev, regs_to_read[i]); retval 181 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 182 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 199 drivers/media/usb/gspca/jl2005bcd.c int retval = -1; retval 211 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_write2(gspca_dev, instruction[i]); retval 212 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 213 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 216 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 222 drivers/media/usb/gspca/jl2005bcd.c int retval = -1; retval 234 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_write2(gspca_dev, instruction[i]); retval 235 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 236 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 239 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 245 drivers/media/usb/gspca/jl2005bcd.c int retval = -1; retval 257 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_write2(gspca_dev, instruction[i]); retval 258 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 259 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 262 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 268 drivers/media/usb/gspca/jl2005bcd.c int retval = -1; retval 280 drivers/media/usb/gspca/jl2005bcd.c retval = jl2005c_write2(gspca_dev, instruction[i]); retval 281 drivers/media/usb/gspca/jl2005bcd.c if (retval < 0) retval 282 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 285 drivers/media/usb/gspca/jl2005bcd.c return retval; retval 5575 drivers/media/usb/gspca/zc3xx.c u16 retval; retval 5585 drivers/media/usb/gspca/zc3xx.c retval = reg_r(gspca_dev, 0x0095); /* read Lowbyte */ retval 5586 drivers/media/usb/gspca/zc3xx.c retval |= reg_r(gspca_dev, 0x0096) << 8; /* read Hightbyte */ retval 5587 drivers/media/usb/gspca/zc3xx.c return retval; retval 114 drivers/media/usb/hdpvr/hdpvr-core.c int ret, retval = -ENOMEM; retval 191 drivers/media/usb/hdpvr/hdpvr-core.c retval = ret != 8; retval 194 drivers/media/usb/hdpvr/hdpvr-core.c return retval; retval 276 drivers/media/usb/hdpvr/hdpvr-core.c int retval = -ENOMEM; retval 359 drivers/media/usb/hdpvr/hdpvr-core.c retval = hdpvr_register_i2c_adapter(dev); retval 360 drivers/media/usb/hdpvr/hdpvr-core.c if (retval < 0) { retval 368 drivers/media/usb/hdpvr/hdpvr-core.c retval = -ENODEV; retval 378 drivers/media/usb/hdpvr/hdpvr-core.c retval = -ENODEV; retval 382 drivers/media/usb/hdpvr/hdpvr-core.c retval = hdpvr_register_videodev(dev, &interface->dev, retval 384 drivers/media/usb/hdpvr/hdpvr-core.c if (retval < 0) { retval 408 drivers/media/usb/hdpvr/hdpvr-core.c return retval; retval 114 drivers/media/usb/hdpvr/hdpvr-i2c.c int retval = 0, addr; retval 122 drivers/media/usb/hdpvr/hdpvr-i2c.c retval = hdpvr_i2c_read(dev, 1, addr, NULL, 0, retval 125 drivers/media/usb/hdpvr/hdpvr-i2c.c retval = hdpvr_i2c_write(dev, 1, addr, msgs[0].buf, retval 130 drivers/media/usb/hdpvr/hdpvr-i2c.c retval = -EINVAL; retval 138 drivers/media/usb/hdpvr/hdpvr-i2c.c retval = -EINVAL; retval 146 drivers/media/usb/hdpvr/hdpvr-i2c.c retval = hdpvr_i2c_read(dev, 1, addr, msgs[0].buf, msgs[0].len, retval 155 drivers/media/usb/hdpvr/hdpvr-i2c.c return retval ? retval : num; retval 135 drivers/media/usb/hdpvr/hdpvr-video.c int retval = -ENOMEM; retval 182 drivers/media/usb/hdpvr/hdpvr-video.c return retval; retval 786 drivers/media/usb/hdpvr/hdpvr-video.c int retval; retval 794 drivers/media/usb/hdpvr/hdpvr-video.c retval = hdpvr_config_call(dev, CTRL_VIDEO_INPUT_VALUE, index+1); retval 795 drivers/media/usb/hdpvr/hdpvr-video.c if (!retval) { retval 813 drivers/media/usb/hdpvr/hdpvr-video.c return retval; retval 852 drivers/media/usb/hdpvr/hdpvr-video.c int retval; retval 860 drivers/media/usb/hdpvr/hdpvr-video.c retval = hdpvr_set_audio(dev, audio->index+1, dev->options.audio_codec); retval 861 drivers/media/usb/hdpvr/hdpvr-video.c if (!retval) retval 864 drivers/media/usb/hdpvr/hdpvr-video.c return retval; retval 893 drivers/media/usb/s2255/s2255drv.c long retval = -1; retval 896 drivers/media/usb/s2255/s2255drv.c retval = usb_bulk_msg(udev, pipe, pbuf, size, &done, 500); retval 898 drivers/media/usb/s2255/s2255drv.c return retval; retval 2091 drivers/media/usb/s2255/s2255drv.c int retval; retval 2106 drivers/media/usb/s2255/s2255drv.c retval = usb_submit_urb(pipe_info->stream_urb, GFP_KERNEL); retval 2107 drivers/media/usb/s2255/s2255drv.c if (retval) { retval 2109 drivers/media/usb/s2255/s2255drv.c return retval; retval 2208 drivers/media/usb/s2255/s2255drv.c int retval = -ENOMEM; retval 2236 drivers/media/usb/s2255/s2255drv.c retval = -ENODEV; retval 2291 drivers/media/usb/s2255/s2255drv.c retval = -ENODEV; retval 2308 drivers/media/usb/s2255/s2255drv.c retval = s2255_board_init(dev); retval 2309 drivers/media/usb/s2255/s2255drv.c if (retval) retval 2313 drivers/media/usb/s2255/s2255drv.c retval = s2255_probe_v4l(dev); retval 2314 drivers/media/usb/s2255/s2255drv.c if (retval) retval 2336 drivers/media/usb/s2255/s2255drv.c pr_warn("Sensoray 2255 driver load failed: 0x%x\n", retval); retval 2337 drivers/media/usb/s2255/s2255drv.c return retval; retval 252 drivers/media/usb/ttusb-dec/ttusb_dec.c int retval; retval 294 drivers/media/usb/ttusb-dec/ttusb_dec.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 295 drivers/media/usb/ttusb-dec/ttusb_dec.c if (retval) retval 297 drivers/media/usb/ttusb-dec/ttusb_dec.c __func__, retval); retval 395 drivers/media/usb/usbvision/usbvision-i2c.c int retval; retval 402 drivers/media/usb/usbvision/usbvision-i2c.c retval = usbvision_i2c_write_max4(usbvision, addr, buf_ptr, count); retval 403 drivers/media/usb/usbvision/usbvision-i2c.c if (retval > 0) { retval 408 drivers/media/usb/usbvision/usbvision-i2c.c return (retval < 0) ? retval : -EFAULT; retval 417 drivers/media/usb/usbvision/usbvision-i2c.c int retval, i; retval 423 drivers/media/usb/usbvision/usbvision-i2c.c retval = usbvision_i2c_read_max4(usbvision, addr, temp, count); retval 424 drivers/media/usb/usbvision/usbvision-i2c.c if (retval > 0) { retval 430 drivers/media/usb/usbvision/usbvision-i2c.c return (retval < 0) ? retval : -EFAULT; retval 1020 drivers/media/usb/zr364xx/zr364xx.c int retval; retval 1038 drivers/media/usb/zr364xx/zr364xx.c retval = usb_submit_urb(pipe_info->stream_urb, GFP_KERNEL); retval 1039 drivers/media/usb/zr364xx/zr364xx.c if (retval) { retval 1041 drivers/media/usb/zr364xx/zr364xx.c return retval; retval 443 drivers/media/v4l2-core/videobuf-core.c int retval; retval 455 drivers/media/v4l2-core/videobuf-core.c retval = -EINVAL; retval 461 drivers/media/v4l2-core/videobuf-core.c retval = -EBUSY; retval 466 drivers/media/v4l2-core/videobuf-core.c retval = -EBUSY; retval 472 drivers/media/v4l2-core/videobuf-core.c retval = __videobuf_free(q); retval 485 drivers/media/v4l2-core/videobuf-core.c retval = __videobuf_mmap_setup(q, count, size, req->memory); retval 486 drivers/media/v4l2-core/videobuf-core.c if (retval < 0) { retval 487 drivers/media/v4l2-core/videobuf-core.c dprintk(1, "reqbufs: mmap setup returned %d\n", retval); retval 491 drivers/media/v4l2-core/videobuf-core.c req->count = retval; retval 492 drivers/media/v4l2-core/videobuf-core.c retval = 0; retval 496 drivers/media/v4l2-core/videobuf-core.c return retval; retval 532 drivers/media/v4l2-core/videobuf-core.c int retval; retval 540 drivers/media/v4l2-core/videobuf-core.c retval = -EBUSY; retval 545 drivers/media/v4l2-core/videobuf-core.c retval = -EINVAL; retval 604 drivers/media/v4l2-core/videobuf-core.c retval = q->ops->buf_prepare(q, buf, field); retval 605 drivers/media/v4l2-core/videobuf-core.c if (0 != retval) { retval 606 drivers/media/v4l2-core/videobuf-core.c dprintk(1, "qbuf: buffer_prepare returned %d\n", retval); retval 617 drivers/media/v4l2-core/videobuf-core.c retval = 0; retval 626 drivers/media/v4l2-core/videobuf-core.c return retval; retval 633 drivers/media/v4l2-core/videobuf-core.c int retval; retval 638 drivers/media/v4l2-core/videobuf-core.c retval = -EINVAL; retval 644 drivers/media/v4l2-core/videobuf-core.c retval = -EAGAIN; retval 656 drivers/media/v4l2-core/videobuf-core.c retval = wait_event_interruptible(q->wait, retval 660 drivers/media/v4l2-core/videobuf-core.c if (retval) retval 667 drivers/media/v4l2-core/videobuf-core.c retval = 0; retval 670 drivers/media/v4l2-core/videobuf-core.c return retval; retval 677 drivers/media/v4l2-core/videobuf-core.c int retval; retval 680 drivers/media/v4l2-core/videobuf-core.c retval = stream_next_buffer_check_queue(q, nonblocking); retval 681 drivers/media/v4l2-core/videobuf-core.c if (retval) retval 685 drivers/media/v4l2-core/videobuf-core.c retval = videobuf_waiton(q, buf, nonblocking, 1); retval 686 drivers/media/v4l2-core/videobuf-core.c if (retval < 0) retval 691 drivers/media/v4l2-core/videobuf-core.c return retval; retval 698 drivers/media/v4l2-core/videobuf-core.c int retval; retval 705 drivers/media/v4l2-core/videobuf-core.c retval = stream_next_buffer(q, &buf, nonblocking); retval 706 drivers/media/v4l2-core/videobuf-core.c if (retval < 0) { retval 707 drivers/media/v4l2-core/videobuf-core.c dprintk(1, "dqbuf: next_buffer error: %i\n", retval); retval 720 drivers/media/v4l2-core/videobuf-core.c retval = -EINVAL; retval 730 drivers/media/v4l2-core/videobuf-core.c return retval; retval 738 drivers/media/v4l2-core/videobuf-core.c int retval; retval 741 drivers/media/v4l2-core/videobuf-core.c retval = -EBUSY; retval 744 drivers/media/v4l2-core/videobuf-core.c retval = 0; retval 757 drivers/media/v4l2-core/videobuf-core.c return retval; retval 774 drivers/media/v4l2-core/videobuf-core.c int retval; retval 777 drivers/media/v4l2-core/videobuf-core.c retval = __videobuf_streamoff(q); retval 780 drivers/media/v4l2-core/videobuf-core.c return retval; retval 791 drivers/media/v4l2-core/videobuf-core.c int retval; retval 805 drivers/media/v4l2-core/videobuf-core.c retval = q->ops->buf_prepare(q, q->read_buf, field); retval 806 drivers/media/v4l2-core/videobuf-core.c if (0 != retval) retval 813 drivers/media/v4l2-core/videobuf-core.c retval = videobuf_waiton(q, q->read_buf, 0, 0); retval 814 drivers/media/v4l2-core/videobuf-core.c if (0 == retval) { retval 817 drivers/media/v4l2-core/videobuf-core.c retval = -EIO; retval 819 drivers/media/v4l2-core/videobuf-core.c retval = q->read_buf->size; retval 827 drivers/media/v4l2-core/videobuf-core.c return retval; retval 880 drivers/media/v4l2-core/videobuf-core.c int retval; retval 891 drivers/media/v4l2-core/videobuf-core.c retval = videobuf_read_zerocopy(q, data, count, ppos); retval 892 drivers/media/v4l2-core/videobuf-core.c if (retval >= 0 || retval == -EIO) retval 900 drivers/media/v4l2-core/videobuf-core.c retval = -ENOMEM; retval 909 drivers/media/v4l2-core/videobuf-core.c retval = q->ops->buf_prepare(q, q->read_buf, field); retval 911 drivers/media/v4l2-core/videobuf-core.c if (0 != retval) { retval 925 drivers/media/v4l2-core/videobuf-core.c retval = videobuf_waiton(q, q->read_buf, nonblocking, 1); retval 926 drivers/media/v4l2-core/videobuf-core.c if (0 != retval) retval 936 drivers/media/v4l2-core/videobuf-core.c retval = -EIO; retval 941 drivers/media/v4l2-core/videobuf-core.c retval = __videobuf_copy_to_user(q, q->read_buf, data, count, nonblocking); retval 942 drivers/media/v4l2-core/videobuf-core.c if (retval < 0) retval 945 drivers/media/v4l2-core/videobuf-core.c q->read_off += retval; retval 955 drivers/media/v4l2-core/videobuf-core.c return retval; retval 1049 drivers/media/v4l2-core/videobuf-core.c int rc, retval; retval 1056 drivers/media/v4l2-core/videobuf-core.c retval = -EBUSY; retval 1060 drivers/media/v4l2-core/videobuf-core.c retval = __videobuf_read_start(q); retval 1061 drivers/media/v4l2-core/videobuf-core.c if (retval < 0) retval 1065 drivers/media/v4l2-core/videobuf-core.c retval = 0; retval 1077 drivers/media/v4l2-core/videobuf-core.c if (0 == retval) retval 1078 drivers/media/v4l2-core/videobuf-core.c retval = rc; retval 1083 drivers/media/v4l2-core/videobuf-core.c rc = __videobuf_copy_stream(q, q->read_buf, data + retval, count, retval 1084 drivers/media/v4l2-core/videobuf-core.c retval, vbihack, nonblocking); retval 1086 drivers/media/v4l2-core/videobuf-core.c retval = rc; retval 1089 drivers/media/v4l2-core/videobuf-core.c retval += rc; retval 1095 drivers/media/v4l2-core/videobuf-core.c if (0 == retval) retval 1096 drivers/media/v4l2-core/videobuf-core.c retval = -EIO; retval 1108 drivers/media/v4l2-core/videobuf-core.c if (retval < 0) retval 1114 drivers/media/v4l2-core/videobuf-core.c return retval; retval 280 drivers/media/v4l2-core/videobuf-dma-contig.c int retval; retval 313 drivers/media/v4l2-core/videobuf-dma-contig.c retval = vm_iomap_memory(vma, mem->dma_handle, mem->size); retval 314 drivers/media/v4l2-core/videobuf-dma-contig.c if (retval) { retval 316 drivers/media/v4l2-core/videobuf-dma-contig.c retval); retval 597 drivers/media/v4l2-core/videobuf-dma-sg.c int retval; retval 599 drivers/media/v4l2-core/videobuf-dma-sg.c retval = -EINVAL; retval 622 drivers/media/v4l2-core/videobuf-dma-sg.c retval = -ENOMEM; retval 644 drivers/media/v4l2-core/videobuf-dma-sg.c retval = 0; retval 647 drivers/media/v4l2-core/videobuf-dma-sg.c return retval; retval 215 drivers/media/v4l2-core/videobuf-vmalloc.c int retval, pages; retval 242 drivers/media/v4l2-core/videobuf-vmalloc.c retval = remap_vmalloc_range(vma, mem->vaddr, 0); retval 243 drivers/media/v4l2-core/videobuf-vmalloc.c if (retval < 0) { retval 244 drivers/media/v4l2-core/videobuf-vmalloc.c printk(KERN_ERR "mmap: remap failed with error %d. ", retval); retval 97 drivers/memstick/core/ms_block.c int retval = 0, cmplen; retval 110 drivers/memstick/core/ms_block.c retval = memcmp(miter.addr + offset, buffer, cmplen) ? -1 : 0; retval 111 drivers/memstick/core/ms_block.c if (retval) retval 119 drivers/memstick/core/ms_block.c if (!retval && len) retval 120 drivers/memstick/core/ms_block.c retval = -1; retval 123 drivers/memstick/core/ms_block.c return retval; retval 6886 drivers/message/fusion/mptbase.c int retval; retval 6891 drivers/message/fusion/mptbase.c retval = -1; retval 6894 drivers/message/fusion/mptbase.c retval = 0; retval 6903 drivers/message/fusion/mptbase.c return retval; retval 322 drivers/message/fusion/mptctl.c int retval; retval 334 drivers/message/fusion/mptctl.c retval = 0; retval 342 drivers/message/fusion/mptctl.c retval = -ENOMEM; retval 391 drivers/message/fusion/mptctl.c retval = mpt_send_handshake_request(mptctl_taskmgmt_id, ioc, retval 393 drivers/message/fusion/mptctl.c if (retval != 0) { retval 398 drivers/message/fusion/mptctl.c ioc, mf, retval)); retval 414 drivers/message/fusion/mptctl.c retval = 0; retval 416 drivers/message/fusion/mptctl.c retval = -1; /* return failure */ retval 423 drivers/message/fusion/mptctl.c retval = -1; /* return failure */ retval 443 drivers/message/fusion/mptctl.c retval = 0; retval 447 drivers/message/fusion/mptctl.c retval = -1; /* return failure */ retval 453 drivers/message/fusion/mptctl.c return retval; retval 2337 drivers/message/fusion/mptctl.c int retval; retval 2487 drivers/message/fusion/mptctl.c retval = 0; retval 2497 drivers/message/fusion/mptctl.c retval = -ETIME; retval 3779 drivers/message/fusion/mptsas.c int retval, retry_count; retval 3804 drivers/message/fusion/mptsas.c retval = mptsas_sas_device_pg0(ioc, &sas_device, retval 3812 drivers/message/fusion/mptsas.c if (retval == -EBUSY) { retval 3829 drivers/message/fusion/mptsas.c if (retval && (retval != -ENODEV)) { retval 4765 drivers/message/fusion/mptsas.c int retval; retval 4771 drivers/message/fusion/mptsas.c retval = -1; /* return failure */ retval 4798 drivers/message/fusion/mptsas.c retval = 0; retval 4805 drivers/message/fusion/mptsas.c retval = -1; /* return failure */ retval 4816 drivers/message/fusion/mptsas.c retval = -1; /* return failure */ retval 4824 drivers/message/fusion/mptsas.c return retval; retval 1519 drivers/message/fusion/mptscsih.c int retval; retval 1558 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1567 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1607 drivers/message/fusion/mptscsih.c retval = mpt_send_handshake_request(ioc->TaskCtx, ioc, retval 1609 drivers/message/fusion/mptscsih.c if (retval) { retval 1612 drivers/message/fusion/mptscsih.c ioc->name, mf, retval)); retval 1622 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1632 drivers/message/fusion/mptscsih.c retval = mptscsih_taskmgmt_reply(ioc, type, retval 1646 drivers/message/fusion/mptscsih.c retval = (ioc->bus_type == SAS) ? retval 1652 drivers/message/fusion/mptscsih.c retval = (retval == 0) ? 0 : FAILED; retval 1654 drivers/message/fusion/mptscsih.c return retval; retval 1688 drivers/message/fusion/mptscsih.c int retval; retval 1714 drivers/message/fusion/mptscsih.c retval = SUCCESS; retval 1725 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1736 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1750 drivers/message/fusion/mptscsih.c retval = SUCCESS; retval 1769 drivers/message/fusion/mptscsih.c retval = mptscsih_IssueTaskMgmt(hd, retval 1779 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1784 drivers/message/fusion/mptscsih.c retval = SUCCESS; retval 1789 drivers/message/fusion/mptscsih.c ioc->name, ((retval == SUCCESS) ? "SUCCESS" : "FAILED"), retval, retval 1792 drivers/message/fusion/mptscsih.c return retval; retval 1808 drivers/message/fusion/mptscsih.c int retval; retval 1827 drivers/message/fusion/mptscsih.c retval = 0; retval 1834 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1838 drivers/message/fusion/mptscsih.c retval = mptscsih_IssueTaskMgmt(hd, retval 1846 drivers/message/fusion/mptscsih.c ioc->name, ((retval == 0) ? "SUCCESS" : "FAILED" ), SCpnt); retval 1848 drivers/message/fusion/mptscsih.c if (retval == 0) retval 1868 drivers/message/fusion/mptscsih.c int retval; retval 1891 drivers/message/fusion/mptscsih.c retval = mptscsih_IssueTaskMgmt(hd, retval 1897 drivers/message/fusion/mptscsih.c ioc->name, ((retval == 0) ? "SUCCESS" : "FAILED" ), SCpnt); retval 1899 drivers/message/fusion/mptscsih.c if (retval == 0) retval 1920 drivers/message/fusion/mptscsih.c int retval; retval 1939 drivers/message/fusion/mptscsih.c retval = mpt_Soft_Hard_ResetHandler(ioc, CAN_SLEEP); retval 1940 drivers/message/fusion/mptscsih.c if (retval < 0) retval 1946 drivers/message/fusion/mptscsih.c ioc->name, ((retval == 0) ? "SUCCESS" : "FAILED" ), SCpnt); retval 1957 drivers/message/fusion/mptscsih.c int retval; retval 1960 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1983 drivers/message/fusion/mptscsih.c retval = 0; retval 1987 drivers/message/fusion/mptscsih.c retval = FAILED; retval 1990 drivers/message/fusion/mptscsih.c retval = 0; retval 1996 drivers/message/fusion/mptscsih.c retval = 0; retval 1999 drivers/message/fusion/mptscsih.c return retval; retval 1071 drivers/mfd/asic3.c int retval = 0; retval 1073 drivers/mfd/asic3.c retval = platform_driver_probe(&asic3_device_driver, asic3_probe); retval 1075 drivers/mfd/asic3.c return retval; retval 340 drivers/mfd/cros_ec_dev.c int retval = -ENOMEM; retval 348 drivers/mfd/cros_ec_dev.c return retval; retval 382 drivers/mfd/cros_ec_dev.c retval = dev_set_name(&ec->class_dev, "%s", ec_platform->ec_name); retval 383 drivers/mfd/cros_ec_dev.c if (retval) { retval 384 drivers/mfd/cros_ec_dev.c dev_err(dev, "dev_set_name failed => %d\n", retval); retval 388 drivers/mfd/cros_ec_dev.c retval = device_add(&ec->class_dev); retval 389 drivers/mfd/cros_ec_dev.c if (retval) retval 405 drivers/mfd/cros_ec_dev.c retval = mfd_add_hotplug_devices(ec->dev, retval 408 drivers/mfd/cros_ec_dev.c if (retval) retval 412 drivers/mfd/cros_ec_dev.c retval); retval 420 drivers/mfd/cros_ec_dev.c retval = mfd_add_hotplug_devices(ec->dev, cros_ec_platform_cells, retval 422 drivers/mfd/cros_ec_dev.c if (retval) retval 425 drivers/mfd/cros_ec_dev.c retval); retval 430 drivers/mfd/cros_ec_dev.c retval = mfd_add_hotplug_devices(ec->dev, cros_ec_vbc_cells, retval 432 drivers/mfd/cros_ec_dev.c if (retval) retval 434 drivers/mfd/cros_ec_dev.c retval); retval 441 drivers/mfd/cros_ec_dev.c return retval; retval 2419 drivers/misc/altera-stapl/altera.c int retval = 0; retval 2423 drivers/misc/altera-stapl/altera.c retval = -ENOMEM; retval 2428 drivers/misc/altera-stapl/altera.c retval = -ENOMEM; retval 2433 drivers/misc/altera-stapl/altera.c retval = -ENOMEM; retval 2520 drivers/misc/altera-stapl/altera.c return retval; retval 104 drivers/misc/fastrpc.c int retval; /* invoke return value */ retval 151 drivers/misc/fastrpc.c int retval; retval 450 drivers/misc/fastrpc.c ctx->retval = -1; retval 943 drivers/misc/fastrpc.c err = ctx->retval; retval 1504 drivers/misc/fastrpc.c ctx->retval = rsp->retval; retval 936 drivers/misc/habanalabs/goya/goya.c int rc, retval = 0; retval 941 drivers/misc/habanalabs/goya/goya.c return retval; retval 950 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 960 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 970 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 980 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 990 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 993 drivers/misc/habanalabs/goya/goya.c return retval; retval 1780 drivers/misc/habanalabs/goya/goya.c int rc, retval = 0; retval 1798 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1808 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1813 drivers/misc/habanalabs/goya/goya.c return retval; retval 1822 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1832 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1842 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1852 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1862 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1872 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1882 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1892 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1902 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1912 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1922 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1932 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1942 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1952 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1962 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1972 drivers/misc/habanalabs/goya/goya.c retval = -EIO; retval 1975 drivers/misc/habanalabs/goya/goya.c return retval; retval 911 drivers/misc/ibmvmc.c ssize_t retval = 0; retval 957 drivers/misc/ibmvmc.c retval = -EBADFD; retval 961 drivers/misc/ibmvmc.c retval = -EAGAIN; retval 968 drivers/misc/ibmvmc.c retval = -ERESTARTSYS; retval 983 drivers/misc/ibmvmc.c retval = nbytes; retval 987 drivers/misc/ibmvmc.c retval = -EFAULT; retval 992 drivers/misc/ibmvmc.c dev_dbg(adapter->dev, "read: out %ld\n", retval); retval 993 drivers/misc/ibmvmc.c return retval; retval 144 drivers/misc/isl29020.c int retval; retval 146 drivers/misc/isl29020.c retval = i2c_smbus_write_byte_data(client, 0x00, 0xc0); retval 147 drivers/misc/isl29020.c if (retval < 0) { retval 149 drivers/misc/isl29020.c return retval; retval 598 drivers/misc/lis3lv02d/lis3lv02d.c ssize_t retval = 1; retval 611 drivers/misc/lis3lv02d/lis3lv02d.c retval = -EAGAIN; retval 616 drivers/misc/lis3lv02d/lis3lv02d.c retval = -ERESTARTSYS; retval 632 drivers/misc/lis3lv02d/lis3lv02d.c retval = -EFAULT; retval 638 drivers/misc/lis3lv02d/lis3lv02d.c return retval; retval 351 drivers/misc/pch_phub.c int retval; retval 357 drivers/misc/pch_phub.c retval = pch_phub_write_serial_rom(chip, mem_addr, data); retval 359 drivers/misc/pch_phub.c return retval; retval 367 drivers/misc/pch_phub.c int retval; retval 369 drivers/misc/pch_phub.c retval = pch_phub_write_serial_rom(chip, 0x0b, 0xbc); retval 370 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x0a, 0x10); retval 371 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x09, 0x01); retval 372 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x08, 0x02); retval 374 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x0f, 0x00); retval 375 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x0e, 0x00); retval 376 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x0d, 0x00); retval 377 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x0c, 0x80); retval 379 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x13, 0xbc); retval 380 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x12, 0x10); retval 381 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x11, 0x01); retval 382 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x10, 0x18); retval 384 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x1b, 0xbc); retval 385 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x1a, 0x10); retval 386 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x19, 0x01); retval 387 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x18, 0x19); retval 389 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x23, 0xbc); retval 390 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x22, 0x10); retval 391 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x21, 0x01); retval 392 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x20, 0x3a); retval 394 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x27, 0x01); retval 395 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x26, 0x00); retval 396 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x25, 0x00); retval 397 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x24, 0x00); retval 399 drivers/misc/pch_phub.c return retval; retval 407 drivers/misc/pch_phub.c int retval; retval 411 drivers/misc/pch_phub.c retval = pch_phub_write_serial_rom(chip, 0x03 + offset_addr, 0xbc); retval 412 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x02 + offset_addr, 0x00); retval 413 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x01 + offset_addr, 0x40); retval 414 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x00 + offset_addr, 0x02); retval 416 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x07 + offset_addr, 0x00); retval 417 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x06 + offset_addr, 0x00); retval 418 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x05 + offset_addr, 0x00); retval 419 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x04 + offset_addr, 0x80); retval 421 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x0b + offset_addr, 0xbc); retval 422 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x0a + offset_addr, 0x00); retval 423 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x09 + offset_addr, 0x40); retval 424 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x08 + offset_addr, 0x18); retval 426 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x13 + offset_addr, 0xbc); retval 427 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x12 + offset_addr, 0x00); retval 428 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x11 + offset_addr, 0x40); retval 429 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x10 + offset_addr, 0x19); retval 431 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x1b + offset_addr, 0xbc); retval 432 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x1a + offset_addr, 0x00); retval 433 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x19 + offset_addr, 0x40); retval 434 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x18 + offset_addr, 0x3a); retval 436 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x1f + offset_addr, 0x01); retval 437 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x1e + offset_addr, 0x00); retval 438 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x1d + offset_addr, 0x00); retval 439 drivers/misc/pch_phub.c retval |= pch_phub_write_serial_rom(chip, 0x1c + offset_addr, 0x00); retval 441 drivers/misc/pch_phub.c return retval; retval 463 drivers/misc/pch_phub.c int retval; retval 467 drivers/misc/pch_phub.c retval = pch_phub_gbe_serial_rom_conf(chip); retval 469 drivers/misc/pch_phub.c retval = pch_phub_gbe_serial_rom_conf_mp(chip); retval 470 drivers/misc/pch_phub.c if (retval) retval 471 drivers/misc/pch_phub.c return retval; retval 474 drivers/misc/pch_phub.c retval = pch_phub_write_serial_rom_val(chip, i, data[i]); retval 475 drivers/misc/pch_phub.c if (retval) retval 476 drivers/misc/pch_phub.c return retval; retval 479 drivers/misc/pch_phub.c return retval; retval 339 drivers/misc/phantom.c int retval; retval 341 drivers/misc/phantom.c retval = pci_enable_device(pdev); retval 342 drivers/misc/phantom.c if (retval) { retval 350 drivers/misc/phantom.c retval = -EIO; retval 356 drivers/misc/phantom.c retval = pci_request_regions(pdev, "phantom"); retval 357 drivers/misc/phantom.c if (retval) { retval 362 drivers/misc/phantom.c retval = -ENOMEM; retval 393 drivers/misc/phantom.c retval = request_irq(pdev->irq, phantom_isr, retval 395 drivers/misc/phantom.c if (retval) { retval 400 drivers/misc/phantom.c retval = cdev_add(&pht->cdev, MKDEV(phantom_major, minor), 1); retval 401 drivers/misc/phantom.c if (retval) { retval 431 drivers/misc/phantom.c return retval; retval 507 drivers/misc/phantom.c int retval; retval 512 drivers/misc/phantom.c retval = PTR_ERR(phantom_class); retval 516 drivers/misc/phantom.c retval = class_create_file(phantom_class, &class_attr_version.attr); retval 517 drivers/misc/phantom.c if (retval) { retval 522 drivers/misc/phantom.c retval = alloc_chrdev_region(&dev, 0, PHANTOM_MAX_MINORS, "phantom"); retval 523 drivers/misc/phantom.c if (retval) { retval 529 drivers/misc/phantom.c retval = pci_register_driver(&phantom_pci_driver); retval 530 drivers/misc/phantom.c if (retval) { retval 546 drivers/misc/phantom.c return retval; retval 795 drivers/misc/pti.c int retval = -EINVAL; retval 801 drivers/misc/pti.c retval = misc_register(&pti_char_driver); retval 802 drivers/misc/pti.c if (retval) { retval 806 drivers/misc/pti.c __func__, __LINE__, retval); retval 810 drivers/misc/pti.c retval = pci_enable_device(pdev); retval 811 drivers/misc/pti.c if (retval != 0) { retval 814 drivers/misc/pti.c __func__, retval); retval 820 drivers/misc/pti.c retval = -ENOMEM; retval 828 drivers/misc/pti.c retval = pci_request_region(pdev, pci_bar, dev_name(&pdev->dev)); retval 829 drivers/misc/pti.c if (retval != 0) { retval 832 drivers/misc/pti.c __func__, __LINE__, retval); retval 840 drivers/misc/pti.c retval = -ENOMEM; retval 866 drivers/misc/pti.c return retval; retval 913 drivers/misc/pti.c int retval = -EINVAL; retval 936 drivers/misc/pti.c retval = tty_register_driver(pti_tty_driver); retval 937 drivers/misc/pti.c if (retval) { retval 941 drivers/misc/pti.c __func__, __LINE__, retval); retval 946 drivers/misc/pti.c retval = pci_register_driver(&pti_pci_driver); retval 947 drivers/misc/pti.c if (retval) { retval 951 drivers/misc/pti.c __func__, __LINE__, retval); retval 961 drivers/misc/pti.c return retval; retval 159 drivers/misc/vmw_vmci/vmci_datagram.c int retval; retval 177 drivers/misc/vmw_vmci/vmci_datagram.c retval = vmci_datagram_get_priv_flags(context_id, dg->src, retval 179 drivers/misc/vmw_vmci/vmci_datagram.c if (retval != VMCI_SUCCESS) { retval 182 drivers/misc/vmw_vmci/vmci_datagram.c return retval; retval 241 drivers/misc/vmw_vmci/vmci_datagram.c retval = VMCI_SUCCESS; retval 244 drivers/misc/vmw_vmci/vmci_datagram.c retval = dst_entry->recv_cb(dst_entry->client_data, dg); retval 246 drivers/misc/vmw_vmci/vmci_datagram.c if (retval < VMCI_SUCCESS) retval 247 drivers/misc/vmw_vmci/vmci_datagram.c return retval; retval 275 drivers/misc/vmw_vmci/vmci_datagram.c retval = vmci_ctx_enqueue_datagram(dg->dst.context, new_dg); retval 276 drivers/misc/vmw_vmci/vmci_datagram.c if (retval < VMCI_SUCCESS) { retval 278 drivers/misc/vmw_vmci/vmci_datagram.c return retval; retval 296 drivers/misc/vmw_vmci/vmci_datagram.c int retval; retval 304 drivers/misc/vmw_vmci/vmci_datagram.c retval = vmci_send_datagram(dg); retval 306 drivers/misc/vmw_vmci/vmci_datagram.c return retval; retval 317 drivers/misc/vmw_vmci/vmci_datagram.c int retval; retval 329 drivers/misc/vmw_vmci/vmci_datagram.c retval = vmci_route(&dg->src, &dg->dst, from_guest, &route); retval 330 drivers/misc/vmw_vmci/vmci_datagram.c if (retval < VMCI_SUCCESS) { retval 332 drivers/misc/vmw_vmci/vmci_datagram.c dg->src.context, dg->dst.context, retval); retval 333 drivers/misc/vmw_vmci/vmci_datagram.c return retval; retval 581 drivers/misc/vmw_vmci/vmci_doorbell.c int retval; retval 590 drivers/misc/vmw_vmci/vmci_doorbell.c retval = vmci_route(&src, &dst, false, &route); retval 591 drivers/misc/vmw_vmci/vmci_doorbell.c if (retval < VMCI_SUCCESS) retval 592 drivers/misc/vmw_vmci/vmci_doorbell.c return retval; retval 136 drivers/misc/vmw_vmci/vmci_event.c int retval; retval 180 drivers/misc/vmw_vmci/vmci_event.c retval = VMCI_SUCCESS; retval 182 drivers/misc/vmw_vmci/vmci_event.c retval = VMCI_ERROR_NO_RESOURCES; retval 188 drivers/misc/vmw_vmci/vmci_event.c return retval; retval 192 drivers/misc/vmw_vmci/vmci_host.c int *retval) retval 205 drivers/misc/vmw_vmci/vmci_host.c *retval = copy_to_user(user_buf_uva, retval 219 drivers/misc/vmw_vmci/vmci_host.c int retval; retval 237 drivers/misc/vmw_vmci/vmci_host.c retval = get_user_pages_fast(uva, 1, FOLL_WRITE, &context->notify_page); retval 238 drivers/misc/vmw_vmci/vmci_host.c if (retval != 1) { retval 292 drivers/misc/vmw_vmci/vmci_host.c int retval; retval 303 drivers/misc/vmw_vmci/vmci_host.c retval = -EINVAL; retval 309 drivers/misc/vmw_vmci/vmci_host.c retval = -EINVAL; retval 320 drivers/misc/vmw_vmci/vmci_host.c retval = PTR_ERR(vmci_host_dev->context); retval 334 drivers/misc/vmw_vmci/vmci_host.c retval = -EFAULT; retval 341 drivers/misc/vmw_vmci/vmci_host.c retval = 0; retval 345 drivers/misc/vmw_vmci/vmci_host.c return retval; retval 409 drivers/misc/vmw_vmci/vmci_host.c int retval; retval 426 drivers/misc/vmw_vmci/vmci_host.c retval = copy_to_user(ubuf, dg, VMCI_DG_SIZE(dg)); retval 428 drivers/misc/vmw_vmci/vmci_host.c if (retval != 0) retval 703 drivers/misc/vmw_vmci/vmci_host.c int retval; retval 718 drivers/misc/vmw_vmci/vmci_host.c retval = copy_to_user(ubuf, cpt_buf, get_info.buf_size); retval 721 drivers/misc/vmw_vmci/vmci_host.c if (retval) retval 735 drivers/misc/vmw_vmci/vmci_host.c int retval; retval 754 drivers/misc/vmw_vmci/vmci_host.c retval = copy_to_user(uptr, &set_info, sizeof(set_info)) ? -EFAULT : 0; retval 757 drivers/misc/vmw_vmci/vmci_host.c return retval; retval 855 drivers/misc/vmw_vmci/vmci_host.c int retval = 0; retval 884 drivers/misc/vmw_vmci/vmci_host.c db_handle_array, &retval); retval 885 drivers/misc/vmw_vmci/vmci_host.c if (info.result == VMCI_SUCCESS && !retval) { retval 889 drivers/misc/vmw_vmci/vmci_host.c qp_handle_array, &retval); retval 892 drivers/misc/vmw_vmci/vmci_host.c if (!retval && copy_to_user(uptr, &info, sizeof(info))) retval 893 drivers/misc/vmw_vmci/vmci_host.c retval = -EFAULT; retval 897 drivers/misc/vmw_vmci/vmci_host.c info.result == VMCI_SUCCESS && !retval); retval 899 drivers/misc/vmw_vmci/vmci_host.c return retval; retval 650 drivers/misc/vmw_vmci/vmci_queue_pair.c int retval; retval 653 drivers/misc/vmw_vmci/vmci_queue_pair.c retval = get_user_pages_fast((uintptr_t) produce_uva, retval 657 drivers/misc/vmw_vmci/vmci_queue_pair.c if (retval < (int)produce_q->kernel_if->num_pages) { retval 659 drivers/misc/vmw_vmci/vmci_queue_pair.c retval); retval 661 drivers/misc/vmw_vmci/vmci_queue_pair.c retval, false); retval 666 drivers/misc/vmw_vmci/vmci_queue_pair.c retval = get_user_pages_fast((uintptr_t) consume_uva, retval 670 drivers/misc/vmw_vmci/vmci_queue_pair.c if (retval < (int)consume_q->kernel_if->num_pages) { retval 672 drivers/misc/vmw_vmci/vmci_queue_pair.c retval); retval 674 drivers/misc/vmw_vmci/vmci_queue_pair.c retval, false); retval 2662 drivers/misc/vmw_vmci/vmci_queue_pair.c int retval; retval 2690 drivers/misc/vmw_vmci/vmci_queue_pair.c retval = vmci_route(&src, &dst, false, &route); retval 2691 drivers/misc/vmw_vmci/vmci_queue_pair.c if (retval < VMCI_SUCCESS) retval 2726 drivers/misc/vmw_vmci/vmci_queue_pair.c retval = vmci_qp_alloc(handle, retval 2737 drivers/misc/vmw_vmci/vmci_queue_pair.c if (retval < VMCI_SUCCESS) { retval 2739 drivers/misc/vmw_vmci/vmci_queue_pair.c return retval; retval 2745 drivers/misc/vmw_vmci/vmci_queue_pair.c return retval; retval 71 drivers/mmc/core/bus.c int retval = 0; retval 91 drivers/mmc/core/bus.c retval = add_uevent_var(env, "MMC_TYPE=%s", type); retval 92 drivers/mmc/core/bus.c if (retval) retval 93 drivers/mmc/core/bus.c return retval; retval 96 drivers/mmc/core/bus.c retval = add_uevent_var(env, "MMC_NAME=%s", mmc_card_name(card)); retval 97 drivers/mmc/core/bus.c if (retval) retval 98 drivers/mmc/core/bus.c return retval; retval 104 drivers/mmc/core/bus.c retval = add_uevent_var(env, "MODALIAS=mmc:block"); retval 106 drivers/mmc/core/bus.c return retval; retval 480 drivers/mmc/host/vub300.c int retval; retval 492 drivers/mmc/host/vub300.c retval = usb_submit_urb(vub300->command_out_urb, GFP_KERNEL); retval 493 drivers/mmc/host/vub300.c if (0 > retval) { retval 494 drivers/mmc/host/vub300.c vub300->usb_transport_fail = retval; retval 573 drivers/mmc/host/vub300.c int retval; retval 574 drivers/mmc/host/vub300.c retval = retval 580 drivers/mmc/host/vub300.c if (sizeof(vub300->system_port_status) == retval) retval 894 drivers/mmc/host/vub300.c int retval; retval 1167 drivers/mmc/host/vub300.c retval = usb_submit_urb(vub300->command_out_urb, GFP_KERNEL); retval 1168 drivers/mmc/host/vub300.c if (retval < 0) { retval 1169 drivers/mmc/host/vub300.c cmd->error = retval; retval 1232 drivers/mmc/host/vub300.c int retval; retval 1238 drivers/mmc/host/vub300.c retval = retval 1246 drivers/mmc/host/vub300.c if (retval < 0) retval 1275 drivers/mmc/host/vub300.c int retval; retval 1281 drivers/mmc/host/vub300.c retval = retval 1289 drivers/mmc/host/vub300.c if (retval < 0) retval 1363 drivers/mmc/host/vub300.c int retval; retval 1373 drivers/mmc/host/vub300.c retval = request_firmware(&fw, vub300->vub_name, &card->dev); retval 1374 drivers/mmc/host/vub300.c if (retval < 0) { retval 1377 drivers/mmc/host/vub300.c retval = request_firmware(&fw, vub300->vub_name, &card->dev); retval 1378 drivers/mmc/host/vub300.c if (retval < 0) { retval 1404 drivers/mmc/host/vub300.c int retval; retval 1413 drivers/mmc/host/vub300.c retval = usb_submit_urb(vub300->urb, GFP_KERNEL); retval 1414 drivers/mmc/host/vub300.c if (unlikely(retval)) retval 1418 drivers/mmc/host/vub300.c retval = -ETIMEDOUT; retval 1421 drivers/mmc/host/vub300.c retval = vub300->urb->status; retval 1427 drivers/mmc/host/vub300.c return retval; retval 1968 drivers/mmc/host/vub300.c int retval; retval 1990 drivers/mmc/host/vub300.c retval = retval 1995 drivers/mmc/host/vub300.c if (retval != 8) { retval 1997 drivers/mmc/host/vub300.c " %dkHz failed with retval=%d\n", kHzClock, retval); retval 2094 drivers/mmc/host/vub300.c int retval = -ENOMEM; retval 2112 drivers/mmc/host/vub300.c retval = -ENOMEM; retval 2117 drivers/mmc/host/vub300.c retval = -ENOMEM; retval 2123 drivers/mmc/host/vub300.c retval = -ENOMEM; retval 2277 drivers/mmc/host/vub300.c retval = -EINVAL; retval 2280 drivers/mmc/host/vub300.c retval = retval 2286 drivers/mmc/host/vub300.c if (retval < 0) retval 2288 drivers/mmc/host/vub300.c retval = retval 2293 drivers/mmc/host/vub300.c if (retval < 0) retval 2302 drivers/mmc/host/vub300.c retval = retval 2308 drivers/mmc/host/vub300.c if (retval < 0) { retval 2310 drivers/mmc/host/vub300.c } else if (sizeof(vub300->system_port_status) == retval) { retval 2353 drivers/mmc/host/vub300.c return retval; retval 198 drivers/mtd/ftl.c ssize_t retval; retval 221 drivers/mtd/ftl.c ret = mtd_read(part->mbd.mtd, offset, sizeof(header), &retval, retval 287 drivers/mtd/ftl.c part->BlocksPerUnit * sizeof(uint32_t), &retval, retval 302 drivers/mtd/maps/vmu-flash.c static unsigned char vmu_flash_read_char(unsigned long ofs, int *retval, retval 316 drivers/mtd/maps/vmu-flash.c *retval = 0; retval 320 drivers/mtd/maps/vmu-flash.c *retval = 1; retval 327 drivers/mtd/maps/vmu-flash.c *retval = 3; retval 335 drivers/mtd/maps/vmu-flash.c *retval = 2; retval 358 drivers/mtd/maps/vmu-flash.c int index = 0, retval, partition, leftover, numblocks; retval 400 drivers/mtd/maps/vmu-flash.c cx = vmu_flash_read_char(from + index, &retval, mtd); retval 401 drivers/mtd/maps/vmu-flash.c if (retval) { retval 246 drivers/mtd/mtdcore.c int retval; retval 248 drivers/mtd/mtdcore.c retval = kstrtouint(buf, 0, &bitflip_threshold); retval 249 drivers/mtd/mtdcore.c if (retval) retval 250 drivers/mtd/mtdcore.c return retval; retval 617 drivers/mtd/nand/raw/mpc5121_nfc.c int retval = 0; retval 643 drivers/mtd/nand/raw/mpc5121_nfc.c retval = mpc5121_nfc_read_hw_config(mtd); retval 644 drivers/mtd/nand/raw/mpc5121_nfc.c if (retval) { retval 646 drivers/mtd/nand/raw/mpc5121_nfc.c return retval; retval 655 drivers/mtd/nand/raw/mpc5121_nfc.c retval = of_address_to_resource(dn, 0, &res); retval 656 drivers/mtd/nand/raw/mpc5121_nfc.c if (retval) { retval 658 drivers/mtd/nand/raw/mpc5121_nfc.c return retval; retval 696 drivers/mtd/nand/raw/mpc5121_nfc.c retval = ads5121_chipselect_init(mtd); retval 697 drivers/mtd/nand/raw/mpc5121_nfc.c if (retval) { retval 699 drivers/mtd/nand/raw/mpc5121_nfc.c return retval; retval 709 drivers/mtd/nand/raw/mpc5121_nfc.c retval = PTR_ERR(clk); retval 712 drivers/mtd/nand/raw/mpc5121_nfc.c retval = clk_prepare_enable(clk); retval 713 drivers/mtd/nand/raw/mpc5121_nfc.c if (retval) { retval 724 drivers/mtd/nand/raw/mpc5121_nfc.c retval = -EINVAL; retval 751 drivers/mtd/nand/raw/mpc5121_nfc.c retval = devm_request_irq(dev, prv->irq, &mpc5121_nfc_irq, 0, DRV_NAME, retval 753 drivers/mtd/nand/raw/mpc5121_nfc.c if (retval) { retval 759 drivers/mtd/nand/raw/mpc5121_nfc.c retval = nand_scan(chip, be32_to_cpup(chips_no)); retval 760 drivers/mtd/nand/raw/mpc5121_nfc.c if (retval) { retval 785 drivers/mtd/nand/raw/mpc5121_nfc.c retval = -ENXIO; retval 792 drivers/mtd/nand/raw/mpc5121_nfc.c retval = mtd_device_register(mtd, NULL, 0); retval 793 drivers/mtd/nand/raw/mpc5121_nfc.c if (retval) { retval 801 drivers/mtd/nand/raw/mpc5121_nfc.c return retval; retval 2229 drivers/mtd/nand/raw/nandsim.c int retval = -ENOMEM, i; retval 2262 drivers/mtd/nand/raw/nandsim.c retval = -EINVAL; retval 2288 drivers/mtd/nand/raw/nandsim.c if ((retval = parse_weakblocks()) != 0) retval 2291 drivers/mtd/nand/raw/nandsim.c if ((retval = parse_weakpages()) != 0) retval 2294 drivers/mtd/nand/raw/nandsim.c if ((retval = parse_gravepages()) != 0) retval 2301 drivers/mtd/nand/raw/nandsim.c retval = nand_scan(chip, 1); retval 2302 drivers/mtd/nand/raw/nandsim.c if (retval) { retval 2316 drivers/mtd/nand/raw/nandsim.c retval = -EINVAL; retval 2328 drivers/mtd/nand/raw/nandsim.c if ((retval = setup_wear_reporting(nsmtd)) != 0) retval 2331 drivers/mtd/nand/raw/nandsim.c if ((retval = init_nandsim(nsmtd)) != 0) retval 2334 drivers/mtd/nand/raw/nandsim.c if ((retval = nand_create_bbt(chip)) != 0) retval 2337 drivers/mtd/nand/raw/nandsim.c if ((retval = parse_badblocks(ns, nsmtd)) != 0) retval 2341 drivers/mtd/nand/raw/nandsim.c retval = mtd_device_register(nsmtd, &ns->partitions[0], retval 2343 drivers/mtd/nand/raw/nandsim.c if (retval != 0) retval 2346 drivers/mtd/nand/raw/nandsim.c if ((retval = nandsim_debugfs_create(ns)) != 0) retval 2360 drivers/mtd/nand/raw/nandsim.c return retval; retval 369 drivers/mtd/nand/raw/tmio_nand.c int retval; retval 397 drivers/mtd/nand/raw/tmio_nand.c retval = tmio_hw_init(dev, tmio); retval 398 drivers/mtd/nand/raw/tmio_nand.c if (retval) retval 399 drivers/mtd/nand/raw/tmio_nand.c return retval; retval 427 drivers/mtd/nand/raw/tmio_nand.c retval = devm_request_irq(&dev->dev, irq, &tmio_irq, 0, retval 429 drivers/mtd/nand/raw/tmio_nand.c if (retval) { retval 430 drivers/mtd/nand/raw/tmio_nand.c dev_err(&dev->dev, "request_irq error %d\n", retval); retval 438 drivers/mtd/nand/raw/tmio_nand.c retval = nand_scan(nand_chip, 1); retval 439 drivers/mtd/nand/raw/tmio_nand.c if (retval) retval 443 drivers/mtd/nand/raw/tmio_nand.c retval = mtd_device_parse_register(mtd, retval 448 drivers/mtd/nand/raw/tmio_nand.c if (!retval) retval 449 drivers/mtd/nand/raw/tmio_nand.c return retval; retval 455 drivers/mtd/nand/raw/tmio_nand.c return retval; retval 1087 drivers/mtd/sm_ftl.c int retval; retval 1090 drivers/mtd/sm_ftl.c retval = sm_cache_flush(ftl); retval 1092 drivers/mtd/sm_ftl.c return retval; retval 280 drivers/net/appletalk/cops.c int retval; retval 306 drivers/net/appletalk/cops.c retval = -EINVAL; retval 330 drivers/net/appletalk/cops.c retval = request_irq(dev->irq, cops_interrupt, 0, dev->name, dev); retval 331 drivers/net/appletalk/cops.c if (retval) retval 364 drivers/net/appletalk/cops.c return retval; retval 657 drivers/net/arcnet/arcnet.c int retval; retval 710 drivers/net/arcnet/arcnet.c retval = NETDEV_TX_OK; retval 713 drivers/net/arcnet/arcnet.c retval = NETDEV_TX_BUSY; retval 730 drivers/net/arcnet/arcnet.c return retval; /* no need to try again */ retval 812 drivers/net/arcnet/arcnet.c int retval = IRQ_NONE; retval 831 drivers/net/arcnet/arcnet.c return retval; retval 1044 drivers/net/arcnet/arcnet.c retval |= IRQ_HANDLED; retval 1056 drivers/net/arcnet/arcnet.c return retval; retval 353 drivers/net/bonding/bond_3ad.c u8 retval = 0x0; retval 361 drivers/net/bonding/bond_3ad.c retval = 0x1; retval 367 drivers/net/bonding/bond_3ad.c retval = 0x0; retval 373 drivers/net/bonding/bond_3ad.c return retval; retval 397 drivers/net/bonding/bond_3ad.c u16 retval = 0; /* to silence the compiler */ retval 402 drivers/net/bonding/bond_3ad.c retval = (AD_SHORT_TIMEOUT_TIME*ad_ticks_per_sec); retval 404 drivers/net/bonding/bond_3ad.c retval = (AD_LONG_TIMEOUT_TIME*ad_ticks_per_sec); retval 407 drivers/net/bonding/bond_3ad.c retval = (AD_CHURN_DETECTION_TIME*ad_ticks_per_sec); retval 410 drivers/net/bonding/bond_3ad.c retval = (par*ad_ticks_per_sec); /* long timeout */ retval 413 drivers/net/bonding/bond_3ad.c retval = (AD_CHURN_DETECTION_TIME*ad_ticks_per_sec); retval 416 drivers/net/bonding/bond_3ad.c retval = (AD_AGGREGATE_WAIT_TIME*ad_ticks_per_sec); retval 420 drivers/net/bonding/bond_3ad.c return retval; retval 640 drivers/net/bonding/bond_3ad.c int retval = 1; retval 650 drivers/net/bonding/bond_3ad.c retval = 0; retval 656 drivers/net/bonding/bond_3ad.c return retval; retval 660 drivers/net/bonding/bond_options.c const struct bond_opt_value *retval = NULL; retval 672 drivers/net/bonding/bond_options.c retval = bond_opt_parse(opt, val); retval 673 drivers/net/bonding/bond_options.c if (!retval) { retval 677 drivers/net/bonding/bond_options.c ret = opt->set(bond, retval); retval 835 drivers/net/can/pch_can.c int retval; retval 838 drivers/net/can/pch_can.c retval = request_irq(priv->dev->irq, pch_can_interrupt, IRQF_SHARED, retval 840 drivers/net/can/pch_can.c if (retval) { retval 846 drivers/net/can/pch_can.c retval = open_candev(ndev); retval 847 drivers/net/can/pch_can.c if (retval) { retval 848 drivers/net/can/pch_can.c netdev_err(ndev, "open_candev() failed %d\n", retval); retval 864 drivers/net/can/pch_can.c return retval; retval 1039 drivers/net/can/pch_can.c int retval; retval 1084 drivers/net/can/pch_can.c retval = pci_save_state(pdev); retval 1085 drivers/net/can/pch_can.c if (retval) { retval 1093 drivers/net/can/pch_can.c return retval; retval 1099 drivers/net/can/pch_can.c int retval; retval 1105 drivers/net/can/pch_can.c retval = pci_enable_device(pdev); retval 1106 drivers/net/can/pch_can.c if (retval) { retval 1108 drivers/net/can/pch_can.c return retval; retval 1149 drivers/net/can/pch_can.c return retval; retval 86 drivers/net/can/sja1000/ems_pcmcia.c irqreturn_t retval = IRQ_NONE; retval 107 drivers/net/can/sja1000/ems_pcmcia.c retval = IRQ_HANDLED; retval 111 drivers/net/can/sja1000/ems_pcmcia.c return retval; retval 410 drivers/net/can/usb/ems_usb.c int retval; retval 480 drivers/net/can/usb/ems_usb.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 482 drivers/net/can/usb/ems_usb.c if (retval == -ENODEV) retval 484 drivers/net/can/usb/ems_usb.c else if (retval) retval 486 drivers/net/can/usb/ems_usb.c "failed resubmitting read bulk urb: %d\n", retval); retval 375 drivers/net/can/usb/esd_usb2.c int retval; retval 434 drivers/net/can/usb/esd_usb2.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 435 drivers/net/can/usb/esd_usb2.c if (retval == -ENODEV) { retval 440 drivers/net/can/usb/esd_usb2.c } else if (retval) { retval 442 drivers/net/can/usb/esd_usb2.c "failed resubmitting read bulk urb: %d\n", retval); retval 571 drivers/net/can/usb/mcba_usb.c int retval; retval 616 drivers/net/can/usb/mcba_usb.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 618 drivers/net/can/usb/mcba_usb.c if (retval == -ENODEV) retval 620 drivers/net/can/usb/mcba_usb.c else if (retval) retval 622 drivers/net/can/usb/mcba_usb.c retval); retval 503 drivers/net/can/usb/usb_8dev.c int retval; retval 547 drivers/net/can/usb/usb_8dev.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 549 drivers/net/can/usb/usb_8dev.c if (retval == -ENODEV) retval 551 drivers/net/can/usb/usb_8dev.c else if (retval) retval 553 drivers/net/can/usb/usb_8dev.c "failed resubmitting read bulk urb: %d\n", retval); retval 546 drivers/net/ethernet/3com/3c574_cs.c unsigned int retval = 0; retval 561 drivers/net/ethernet/3com/3c574_cs.c retval = (retval << 1) | ((inw(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); retval 564 drivers/net/ethernet/3com/3c574_cs.c return (retval>>1) & 0xffff; retval 1097 drivers/net/ethernet/3com/3c59x.c int retval, print_info; retval 1119 drivers/net/ethernet/3com/3c59x.c retval = -ENOMEM; retval 1213 drivers/net/ethernet/3com/3c59x.c retval = -ENOMEM; retval 1293 drivers/net/ethernet/3com/3c59x.c retval = -EINVAL; retval 1320 drivers/net/ethernet/3com/3c59x.c retval = -ENOMEM; retval 1469 drivers/net/ethernet/3com/3c59x.c retval = register_netdev(dev); retval 1470 drivers/net/ethernet/3com/3c59x.c if (retval == 0) retval 1480 drivers/net/ethernet/3com/3c59x.c pr_err(PFX "vortex_probe1 fails. Returns %d\n", retval); retval 1482 drivers/net/ethernet/3com/3c59x.c return retval; retval 1722 drivers/net/ethernet/3com/3c59x.c int retval; retval 1726 drivers/net/ethernet/3com/3c59x.c if ((retval = request_irq(dev->irq, vortex_boomerang_interrupt, IRQF_SHARED, dev->name, dev))) { retval 1755 drivers/net/ethernet/3com/3c59x.c retval = -ENOMEM; retval 1762 drivers/net/ethernet/3com/3c59x.c retval = vortex_up(dev); retval 1763 drivers/net/ethernet/3com/3c59x.c if (!retval) retval 1776 drivers/net/ethernet/3com/3c59x.c pr_err("%s: vortex_open() fails: returning %d\n", dev->name, retval); retval 1778 drivers/net/ethernet/3com/3c59x.c return retval; retval 3157 drivers/net/ethernet/3com/3c59x.c unsigned int retval = 0; retval 3177 drivers/net/ethernet/3com/3c59x.c retval = (retval << 1) | retval 3187 drivers/net/ethernet/3com/3c59x.c return retval & 0x20000 ? 0xffff : retval>>1 & 0xffff; retval 429 drivers/net/ethernet/8390/axnet_cs.c int i, retval = 0; retval 439 drivers/net/ethernet/8390/axnet_cs.c retval = (retval << 1) | ((inb_p(addr) & MDIO_DATA_READ) != 0); retval 442 drivers/net/ethernet/8390/axnet_cs.c return (retval>>1) & 0xffff; retval 928 drivers/net/ethernet/8390/ne.c int retval; retval 930 drivers/net/ethernet/8390/ne.c retval = platform_driver_probe(&ne_driver, ne_drv_probe); retval 931 drivers/net/ethernet/8390/ne.c if (retval) { retval 936 drivers/net/ethernet/8390/ne.c return retval; retval 941 drivers/net/ethernet/8390/ne.c return retval; retval 946 drivers/net/ethernet/8390/ne.c int retval = platform_driver_probe(&ne_driver, ne_drv_probe); retval 950 drivers/net/ethernet/8390/ne.c return retval; retval 709 drivers/net/ethernet/8390/pcnet_cs.c int i, retval = 0, mask = inb(addr) & MDIO_MASK; retval 719 drivers/net/ethernet/8390/pcnet_cs.c retval = (retval << 1) | ((inb(addr) & MDIO_DATA_READ) != 0); retval 722 drivers/net/ethernet/8390/pcnet_cs.c return (retval>>1) & 0xffff; retval 761 drivers/net/ethernet/8390/pcnet_cs.c int i, retval = 0; retval 778 drivers/net/ethernet/8390/pcnet_cs.c retval = (retval << 1) | ((inb(ee_addr) & EE_DI) ? 1 : 0); retval 784 drivers/net/ethernet/8390/pcnet_cs.c return retval; retval 205 drivers/net/ethernet/8390/smc-ultra.c int i, retval; retval 222 drivers/net/ethernet/8390/smc-ultra.c retval = -ENODEV; retval 232 drivers/net/ethernet/8390/smc-ultra.c retval = -ENODEV; retval 270 drivers/net/ethernet/8390/smc-ultra.c retval = -EAGAIN; retval 301 drivers/net/ethernet/8390/smc-ultra.c retval = -ENOMEM; retval 327 drivers/net/ethernet/8390/smc-ultra.c retval = register_netdev(dev); retval 328 drivers/net/ethernet/8390/smc-ultra.c if (retval) retval 333 drivers/net/ethernet/8390/smc-ultra.c return retval; retval 388 drivers/net/ethernet/8390/smc-ultra.c int retval; retval 393 drivers/net/ethernet/8390/smc-ultra.c retval = request_irq(dev->irq, ei_interrupt, 0, dev->name, dev); retval 394 drivers/net/ethernet/8390/smc-ultra.c if (retval) retval 395 drivers/net/ethernet/8390/smc-ultra.c return retval; retval 880 drivers/net/ethernet/adaptec/starfire.c int i, retval; retval 886 drivers/net/ethernet/adaptec/starfire.c retval = request_irq(irq, intr_handler, IRQF_SHARED, dev->name, dev); retval 887 drivers/net/ethernet/adaptec/starfire.c if (retval) retval 888 drivers/net/ethernet/adaptec/starfire.c return retval; retval 1017 drivers/net/ethernet/adaptec/starfire.c retval = request_firmware(&fw_rx, FIRMWARE_RX, &np->pci_dev->dev); retval 1018 drivers/net/ethernet/adaptec/starfire.c if (retval) { retval 1026 drivers/net/ethernet/adaptec/starfire.c retval = -EINVAL; retval 1029 drivers/net/ethernet/adaptec/starfire.c retval = request_firmware(&fw_tx, FIRMWARE_TX, &np->pci_dev->dev); retval 1030 drivers/net/ethernet/adaptec/starfire.c if (retval) { retval 1038 drivers/net/ethernet/adaptec/starfire.c retval = -EINVAL; retval 1067 drivers/net/ethernet/adaptec/starfire.c if (retval) retval 1069 drivers/net/ethernet/adaptec/starfire.c return retval; retval 587 drivers/net/ethernet/aeroflex/greth.c irqreturn_t retval = IRQ_NONE; retval 605 drivers/net/ethernet/aeroflex/greth.c retval = IRQ_HANDLED; retval 614 drivers/net/ethernet/aeroflex/greth.c return retval; retval 907 drivers/net/ethernet/amd/au1000_eth.c int retval; retval 912 drivers/net/ethernet/amd/au1000_eth.c retval = request_irq(dev->irq, au1000_interrupt, 0, retval 914 drivers/net/ethernet/amd/au1000_eth.c if (retval) { retval 916 drivers/net/ethernet/amd/au1000_eth.c return retval; retval 919 drivers/net/ethernet/amd/au1000_eth.c retval = au1000_init(dev); retval 920 drivers/net/ethernet/amd/au1000_eth.c if (retval) { retval 923 drivers/net/ethernet/amd/au1000_eth.c return retval; retval 583 drivers/net/ethernet/atheros/atl1c/atl1c_main.c int retval = 0; retval 597 drivers/net/ethernet/atheros/atl1c/atl1c_main.c retval = -EIO; retval 604 drivers/net/ethernet/atheros/atl1c/atl1c_main.c retval = -EFAULT; retval 612 drivers/net/ethernet/atheros/atl1c/atl1c_main.c retval = -EIO; retval 618 drivers/net/ethernet/atheros/atl1c/atl1c_main.c retval = -EOPNOTSUPP; retval 623 drivers/net/ethernet/atheros/atl1c/atl1c_main.c return retval; retval 474 drivers/net/ethernet/atheros/atl1e/atl1e_main.c int retval = 0; retval 488 drivers/net/ethernet/atheros/atl1e/atl1e_main.c retval = -EIO; retval 495 drivers/net/ethernet/atheros/atl1e/atl1e_main.c retval = -EFAULT; retval 503 drivers/net/ethernet/atheros/atl1e/atl1e_main.c retval = -EIO; retval 509 drivers/net/ethernet/atheros/atl1e/atl1e_main.c retval = -EOPNOTSUPP; retval 514 drivers/net/ethernet/atheros/atl1e/atl1e_main.c return retval; retval 2069 drivers/net/ethernet/atheros/atl1e/atl1e_main.c int retval = 0; retval 2079 drivers/net/ethernet/atheros/atl1e/atl1e_main.c retval = pci_save_state(pdev); retval 2080 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (retval) retval 2081 drivers/net/ethernet/atheros/atl1e/atl1e_main.c return retval; retval 1003 drivers/net/ethernet/atheros/atlx/atl1.c int retval; retval 1009 drivers/net/ethernet/atheros/atlx/atl1.c retval = generic_mii_ioctl(&adapter->mii, if_mii(ifr), cmd, NULL); retval 1012 drivers/net/ethernet/atheros/atlx/atl1.c return retval; retval 2195 drivers/net/ethernet/atheros/atlx/atl1.c int retval; retval 2208 drivers/net/ethernet/atheros/atlx/atl1.c retval = (ptpd->word3 >> TPD_SEGMENT_EN_SHIFT) & TPD_SEGMENT_EN_MASK; retval 2209 drivers/net/ethernet/atheros/atlx/atl1.c if (retval) { retval 1503 drivers/net/ethernet/atheros/atlx/atl2.c int retval = 0; retval 1514 drivers/net/ethernet/atheros/atlx/atl2.c retval = pci_save_state(pdev); retval 1515 drivers/net/ethernet/atheros/atlx/atl2.c if (retval) retval 1516 drivers/net/ethernet/atheros/atlx/atl2.c return retval; retval 2251 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c char *retval = NULL; retval 2262 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c retval = NULL; retval 2268 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c retval = value; retval 2279 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c return retval; retval 814 drivers/net/ethernet/cavium/liquidio/lio_core.c int retval = 0; retval 838 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = octeon_setup_droq( retval 845 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) { retval 880 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = octeon_setup_iq(octeon_dev, ifidx, q, retval 883 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) { retval 1389 drivers/net/ethernet/cavium/liquidio/lio_core.c int retval; retval 1400 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = -ENOMEM; retval 1415 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = octeon_send_soft_command(oct_dev, sc); retval 1416 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval == IQ_SEND_FAILED) { retval 1421 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = retval 1424 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) { retval 1443 drivers/net/ethernet/cavium/liquidio/lio_core.c return retval; retval 1454 drivers/net/ethernet/cavium/liquidio/lio_core.c int retval; retval 1490 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = octeon_send_soft_command(oct_dev, sc); retval 1491 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval == IQ_SEND_FAILED) { retval 1496 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = wait_for_sc_completion_timeout(oct_dev, sc, retval 1498 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) { retval 1520 drivers/net/ethernet/cavium/liquidio/lio_core.c int retval; retval 1556 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = octeon_send_soft_command(oct, sc); retval 1557 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval == IQ_SEND_FAILED) { retval 1560 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = -EBUSY; retval 1563 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 1564 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) retval 1565 drivers/net/ethernet/cavium/liquidio/lio_core.c return retval; retval 1567 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = resp->status; retval 1569 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) { retval 1571 drivers/net/ethernet/cavium/liquidio/lio_core.c __func__, retval); retval 1588 drivers/net/ethernet/cavium/liquidio/lio_core.c return retval; retval 1597 drivers/net/ethernet/cavium/liquidio/lio_core.c int retval; retval 1622 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = octeon_send_soft_command(oct, sc); retval 1623 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval == IQ_SEND_FAILED) { retval 1626 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = -EIO; retval 1628 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 1629 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) retval 1630 drivers/net/ethernet/cavium/liquidio/lio_core.c return retval; retval 1632 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = resp->status; retval 1633 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) { retval 1635 drivers/net/ethernet/cavium/liquidio/lio_core.c "%s failed retval=%d\n", __func__, retval); retval 1636 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = -EIO; retval 1661 drivers/net/ethernet/cavium/liquidio/lio_core.c return retval; retval 1670 drivers/net/ethernet/cavium/liquidio/lio_core.c int retval; retval 1717 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = octeon_send_soft_command(oct, sc); retval 1718 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval == IQ_SEND_FAILED) { retval 1724 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 1725 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) retval 1750 drivers/net/ethernet/cavium/liquidio/lio_core.c return retval; retval 1759 drivers/net/ethernet/cavium/liquidio/lio_core.c int retval; retval 1786 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = octeon_send_soft_command(oct, sc); retval 1787 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval == IQ_SEND_FAILED) { retval 1794 drivers/net/ethernet/cavium/liquidio/lio_core.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 1795 drivers/net/ethernet/cavium/liquidio/lio_core.c if (retval) retval 1796 drivers/net/ethernet/cavium/liquidio/lio_core.c return retval; retval 1814 drivers/net/ethernet/cavium/liquidio/lio_core.c return retval; retval 767 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c int retval = 0; retval 794 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = octeon_send_soft_command(oct_dev, sc); retval 795 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval == IQ_SEND_FAILED) { retval 798 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval); retval 805 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = wait_for_sc_completion_timeout(oct_dev, sc, 0); retval 806 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval) retval 807 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c return retval; retval 809 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = mdio_cmd_rsp->status; retval 810 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval) { retval 812 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c "octnet mdio45 access failed: %x\n", retval); retval 826 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c return retval; retval 994 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c int retval; retval 1031 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = octeon_send_soft_command(oct, sc); retval 1032 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval == IQ_SEND_FAILED) { retval 1035 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval); retval 1040 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 1041 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval) retval 1042 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c return retval; retval 1044 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = resp->status; retval 1045 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval) { retval 1047 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c "iq/oq config failed: %x\n", retval); retval 2000 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c int retval; retval 2023 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = octeon_send_soft_command(oct_dev, sc); retval 2024 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval == IQ_SEND_FAILED) { retval 2032 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = wait_for_sc_completion_timeout(oct_dev, sc, 0); retval 2033 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval) retval 2057 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c int retval; retval 2082 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = octeon_send_soft_command(oct_dev, sc); retval 2083 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval == IQ_SEND_FAILED) { retval 2091 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = wait_for_sc_completion_timeout(oct_dev, sc, 0); retval 2092 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval) retval 2093 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c return retval; retval 2095 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c retval = sc->sc_status; retval 2096 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (retval == 0) { retval 2106 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c "intrmod config failed. Status: %x\n", retval); retval 1187 drivers/net/ethernet/cavium/liquidio/lio_main.c int retval; retval 1217 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = octeon_send_soft_command(oct, sc); retval 1218 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval == IQ_SEND_FAILED) { retval 1226 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 1227 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) retval 2265 drivers/net/ethernet/cavium/liquidio/lio_main.c int retval; retval 2300 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = octeon_send_command(oct, sc->iq_no, ring_doorbell, &sc->cmd, retval 2303 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval == IQ_SEND_FAILED) { retval 2305 drivers/net/ethernet/cavium/liquidio/lio_main.c retval); retval 2311 drivers/net/ethernet/cavium/liquidio/lio_main.c return retval; retval 2864 drivers/net/ethernet/cavium/liquidio/lio_main.c int retval; retval 2869 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = __liquidio_set_vf_mac(netdev, vfidx, mac, true); retval 2870 drivers/net/ethernet/cavium/liquidio/lio_main.c if (!retval) retval 2873 drivers/net/ethernet/cavium/liquidio/lio_main.c return retval; retval 2882 drivers/net/ethernet/cavium/liquidio/lio_main.c int retval; retval 2916 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = octnet_send_nic_ctrl_pkt(oct, &nctrl); retval 2918 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) { retval 3018 drivers/net/ethernet/cavium/liquidio/lio_main.c int retval; retval 3034 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = octeon_send_soft_command(oct, sc); retval 3035 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval == IQ_SEND_FAILED) { retval 3037 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = -1; retval 3040 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 3041 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) retval 3042 drivers/net/ethernet/cavium/liquidio/lio_main.c return (retval); retval 3047 drivers/net/ethernet/cavium/liquidio/lio_main.c return retval; retval 3357 drivers/net/ethernet/cavium/liquidio/lio_main.c int retval, num_iqueues, num_oqueues; retval 3437 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = octeon_send_soft_command(octeon_dev, sc); retval 3438 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval == IQ_SEND_FAILED) { retval 3441 drivers/net/ethernet/cavium/liquidio/lio_main.c retval); retval 3450 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = wait_for_sc_completion_timeout(octeon_dev, sc, 0); retval 3451 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) retval 3452 drivers/net/ethernet/cavium/liquidio/lio_main.c return retval; retval 3454 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = resp->status; retval 3455 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) { retval 3531 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = netif_set_real_num_rx_queues(netdev, num_oqueues); retval 3532 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) { retval 3539 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = netif_set_real_num_tx_queues(netdev, num_iqueues); retval 3540 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) { retval 3911 drivers/net/ethernet/cavium/liquidio/lio_main.c int i, retval = 0; retval 3927 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = setup_nic_devices(oct); retval 3928 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) { retval 3938 drivers/net/ethernet/cavium/liquidio/lio_main.c retval = lio_vf_rep_modinit(); retval 3939 drivers/net/ethernet/cavium/liquidio/lio_main.c if (retval) { retval 3949 drivers/net/ethernet/cavium/liquidio/lio_main.c return retval; retval 3955 drivers/net/ethernet/cavium/liquidio/lio_main.c return retval; retval 606 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c int retval; retval 631 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c retval = octeon_send_soft_command(oct, sc); retval 632 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (retval == IQ_SEND_FAILED) { retval 639 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 640 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (retval) retval 1357 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c int retval; retval 1384 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c retval = octeon_send_command(oct, sc->iq_no, ring_doorbell, &sc->cmd, retval 1387 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (retval == IQ_SEND_FAILED) { retval 1389 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c retval); retval 1395 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c return retval; retval 1926 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c int retval, num_iqueues, num_oqueues; retval 1985 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c retval = octeon_send_soft_command(octeon_dev, sc); retval 1986 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (retval == IQ_SEND_FAILED) { retval 1988 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c "iq/oq config failed status: %x\n", retval); retval 1997 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c retval = wait_for_sc_completion_timeout(octeon_dev, sc, 0); retval 1998 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (retval) retval 1999 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c return retval; retval 2001 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c retval = resp->status; retval 2002 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (retval) { retval 2004 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c "iq/oq config failed, retval = %d\n", retval); retval 2236 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c int i, retval = 0; retval 2250 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c retval = setup_nic_devices(oct); retval 2251 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (retval) { retval 2258 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c return retval; retval 2264 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c return retval; retval 600 drivers/net/ethernet/cavium/liquidio/octeon_droq.c u32 pkt, total_len = 0, pkt_count, retval; retval 721 drivers/net/ethernet/cavium/liquidio/octeon_droq.c retval = pkt; retval 726 drivers/net/ethernet/cavium/liquidio/octeon_droq.c retval = pkts_to_process; retval 729 drivers/net/ethernet/cavium/liquidio/octeon_droq.c atomic_sub(retval, &droq->pkts_pending); retval 740 drivers/net/ethernet/cavium/liquidio/octeon_droq.c return retval; retval 140 drivers/net/ethernet/cavium/liquidio/octeon_nic.c int retval; retval 164 drivers/net/ethernet/cavium/liquidio/octeon_nic.c retval = octeon_send_soft_command(oct, sc); retval 165 drivers/net/ethernet/cavium/liquidio/octeon_nic.c if (retval == IQ_SEND_FAILED) { retval 168 drivers/net/ethernet/cavium/liquidio/octeon_nic.c __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); retval 182 drivers/net/ethernet/cavium/liquidio/octeon_nic.c return retval; retval 186 drivers/net/ethernet/cavium/liquidio/octeon_nic.c retval = wait_for_sc_completion_timeout(oct, sc, 0); retval 187 drivers/net/ethernet/cavium/liquidio/octeon_nic.c if (retval) retval 188 drivers/net/ethernet/cavium/liquidio/octeon_nic.c return (retval); retval 191 drivers/net/ethernet/cavium/liquidio/octeon_nic.c retval = nctrl->sc_status; retval 197 drivers/net/ethernet/cavium/liquidio/octeon_nic.c return retval; retval 1445 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __u8 retval; retval 402 drivers/net/ethernet/cirrus/cs89x0.c int retval = 0; retval 406 drivers/net/ethernet/cirrus/cs89x0.c retval |= RESET_RX_DMA; /* Reset the DMA pointer */ retval 408 drivers/net/ethernet/cirrus/cs89x0.c retval |= DMA_BURST_MODE; /* Does ISA config specify DMA burst ? */ retval 410 drivers/net/ethernet/cirrus/cs89x0.c retval |= RX_DMA_SIZE_64K; /* did they ask for 64K? */ retval 411 drivers/net/ethernet/cirrus/cs89x0.c retval |= MEMORY_ON; /* we need memory enabled to use DMA. */ retval 413 drivers/net/ethernet/cirrus/cs89x0.c return retval; retval 1317 drivers/net/ethernet/cirrus/cs89x0.c int retval; retval 1344 drivers/net/ethernet/cirrus/cs89x0.c retval = -ENODEV; retval 1569 drivers/net/ethernet/cirrus/cs89x0.c retval = register_netdev(dev); retval 1570 drivers/net/ethernet/cirrus/cs89x0.c if (retval) retval 1576 drivers/net/ethernet/cirrus/cs89x0.c return retval; retval 1760 drivers/net/ethernet/dec/tulip/de2104x.c unsigned retval = 0; retval 1774 drivers/net/ethernet/dec/tulip/de2104x.c retval = (retval << 1) | ((readl(ee_addr) & EE_DATA_READ) ? 1 : 0); retval 1782 drivers/net/ethernet/dec/tulip/de2104x.c retval = (retval << 1) | ((readl(ee_addr) & EE_DATA_READ) ? 1 : 0); retval 1789 drivers/net/ethernet/dec/tulip/de2104x.c return retval; retval 2160 drivers/net/ethernet/dec/tulip/de2104x.c int retval = 0; retval 2167 drivers/net/ethernet/dec/tulip/de2104x.c if ((retval = pci_enable_device(pdev))) { retval 342 drivers/net/ethernet/dec/tulip/eeprom.c unsigned retval = 0; retval 363 drivers/net/ethernet/dec/tulip/eeprom.c retval = (retval << 1) | ((ioread32(ee_addr) & EE_DATA_READ) ? 1 : 0); retval 371 drivers/net/ethernet/dec/tulip/eeprom.c retval = (retval << 1) | ((ioread32(ee_addr) & EE_DATA_READ) ? 1 : 0); retval 378 drivers/net/ethernet/dec/tulip/eeprom.c return (tp->flags & HAS_SWAPPED_SEEPROM) ? swab16(retval) : retval; retval 52 drivers/net/ethernet/dec/tulip/media.c int retval = 0; retval 73 drivers/net/ethernet/dec/tulip/media.c if ( ! ((retval = ioread32(ioaddr + 0xA0)) & 0x80000000)) retval 77 drivers/net/ethernet/dec/tulip/media.c return retval & 0xffff; retval 100 drivers/net/ethernet/dec/tulip/media.c retval = (retval << 1) | ((ioread32(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); retval 106 drivers/net/ethernet/dec/tulip/media.c return (retval>>1) & 0xffff; retval 516 drivers/net/ethernet/dec/tulip/tulip_core.c int retval; retval 520 drivers/net/ethernet/dec/tulip/tulip_core.c retval = request_irq(tp->pdev->irq, tulip_interrupt, IRQF_SHARED, retval 522 drivers/net/ethernet/dec/tulip/tulip_core.c if (retval) retval 533 drivers/net/ethernet/dec/tulip/tulip_core.c return retval; retval 1868 drivers/net/ethernet/dec/tulip/tulip_core.c int retval; retval 1880 drivers/net/ethernet/dec/tulip/tulip_core.c if ((retval = pci_enable_device(pdev))) { retval 1882 drivers/net/ethernet/dec/tulip/tulip_core.c return retval; retval 1885 drivers/net/ethernet/dec/tulip/tulip_core.c retval = request_irq(pdev->irq, tulip_interrupt, IRQF_SHARED, retval 1887 drivers/net/ethernet/dec/tulip/tulip_core.c if (retval) { retval 1889 drivers/net/ethernet/dec/tulip/tulip_core.c return retval; retval 505 drivers/net/ethernet/dec/tulip/winbond-840.c int retval = 0; retval 524 drivers/net/ethernet/dec/tulip/winbond-840.c retval = (retval << 1) | ((ioread32(ee_addr) & EE_DataIn) ? 1 : 0); retval 531 drivers/net/ethernet/dec/tulip/winbond-840.c return retval; retval 571 drivers/net/ethernet/dec/tulip/winbond-840.c int i, retval = 0; retval 589 drivers/net/ethernet/dec/tulip/winbond-840.c retval = (retval << 1) | ((ioread32(mdio_addr) & MDIO_DataIn) ? 1 : 0); retval 593 drivers/net/ethernet/dec/tulip/winbond-840.c return (retval>>1) & 0xffff; retval 1608 drivers/net/ethernet/dec/tulip/winbond-840.c int retval = 0; retval 1614 drivers/net/ethernet/dec/tulip/winbond-840.c if ((retval = pci_enable_device(pdev))) { retval 1636 drivers/net/ethernet/dec/tulip/winbond-840.c return retval; retval 442 drivers/net/ethernet/dec/tulip/xircom_cb.c int retval; retval 445 drivers/net/ethernet/dec/tulip/xircom_cb.c retval = request_irq(irq, xircom_interrupt, IRQF_SHARED, dev->name, dev); retval 446 drivers/net/ethernet/dec/tulip/xircom_cb.c if (retval) retval 447 drivers/net/ethernet/dec/tulip/xircom_cb.c return retval; retval 1442 drivers/net/ethernet/dlink/dl2k.c u32 retval = 0; retval 1455 drivers/net/ethernet/dlink/dl2k.c retval |= mii_getbit (dev); retval 1456 drivers/net/ethernet/dlink/dl2k.c retval <<= 1; retval 1460 drivers/net/ethernet/dlink/dl2k.c return (retval >> 1) & 0xffff; retval 777 drivers/net/ethernet/dlink/sundance.c int i, retval = 0; retval 795 drivers/net/ethernet/dlink/sundance.c retval = (retval << 1) | ((ioread8(mdio_addr) & MDIO_Data) ? 1 : 0); retval 799 drivers/net/ethernet/dlink/sundance.c return (retval>>1) & 0xffff; retval 1405 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c int retval = 0; retval 1451 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c retval = -EIO; retval 1468 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c retval = -EIO; retval 1486 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c return retval; retval 65 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c int mdix_ctrl, mdix, retval, is_resolved; retval 76 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c retval = phy_read(phy_dev, HNS_PHY_CSC_REG); retval 77 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c mdix_ctrl = hnae_get_field(retval, PHY_MDIX_CTRL_M, PHY_MDIX_CTRL_S); retval 79 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c retval = phy_read(phy_dev, HNS_PHY_CSS_REG); retval 80 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c mdix = hnae_get_bit(retval, PHY_MDIX_STATUS_B); retval 81 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c is_resolved = hnae_get_bit(retval, PHY_SPEED_DUP_RESOLVE_B); retval 1016 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c int retval; retval 1019 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c retval = phy_write(phy_dev, HNS_PHY_PAGE_REG, HNS_PHY_PAGE_LED); retval 1020 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c retval |= phy_write(phy_dev, HNS_LED_FC_REG, value); retval 1021 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c retval |= phy_write(phy_dev, HNS_PHY_PAGE_REG, HNS_PHY_PAGE_COPPER); retval 1022 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (retval) { retval 1024 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c return retval; retval 240 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c desc_ret = le16_to_cpu(desc[num - 1].retval); retval 242 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c desc_ret = le16_to_cpu(desc[0].retval); retval 266 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int retval = 0; retval 318 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c retval = -EBADE; retval 320 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c retval = hclge_cmd_check_retval(hw, desc, num, ntc); retval 326 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c retval = handle; retval 333 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c return retval; retval 19 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h __le16 retval; retval 6866 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u16 retval; retval 6881 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c retval = le16_to_cpu(desc.retval); retval 6883 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_get_mac_vlan_cmd_status(vport, retval, resp_code, retval 6894 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u16 retval; retval 6924 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c retval = le16_to_cpu(desc[0].retval); retval 6926 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_get_mac_vlan_cmd_status(vport, retval, resp_code, retval 6937 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u16 retval; retval 6950 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c retval = le16_to_cpu(desc.retval); retval 6952 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg_status = hclge_get_mac_vlan_cmd_status(vport, retval, retval 6966 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c retval = le16_to_cpu(mc_desc[0].retval); retval 6968 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cfg_status = hclge_get_mac_vlan_cmd_status(vport, retval, retval 7451 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u16 retval; retval 7466 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c retval = le16_to_cpu(desc.retval); retval 7468 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return hclge_get_mac_ethertype_cmd_status(hdev, retval, resp_code); retval 8778 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c unsigned int retval; retval 8788 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c retval = phy_read(phydev, HCLGE_PHY_CSC_REG); retval 8789 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mdix_ctrl = hnae3_get_field(retval, HCLGE_PHY_MDIX_CTRL_M, retval 8792 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c retval = phy_read(phydev, HCLGE_PHY_CSS_REG); retval 8793 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mdix = hnae3_get_bit(retval, HCLGE_PHY_MDIX_STATUS_B); retval 8794 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c is_resolved = hnae3_get_bit(retval, HCLGE_PHY_SPEED_DUP_RESOLVE_B); retval 231 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c u16 retval; retval 292 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c retval = le16_to_cpu(desc[handle].retval); retval 294 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c retval = le16_to_cpu(desc[0].retval); retval 296 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c status = hclgevf_cmd_convert_err_code(retval); retval 297 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c hw->cmq.last_status = (enum hclgevf_cmd_status)retval; retval 20 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h __le16 retval; retval 158 drivers/net/ethernet/i825xx/lasi_82596.c int retval; retval 190 drivers/net/ethernet/i825xx/lasi_82596.c retval = i82596_probe(netdevice); retval 191 drivers/net/ethernet/i825xx/lasi_82596.c if (retval) { retval 195 drivers/net/ethernet/i825xx/lasi_82596.c return retval; retval 83 drivers/net/ethernet/i825xx/sni_82596.c int retval = -ENOMEM; retval 137 drivers/net/ethernet/i825xx/sni_82596.c retval = i82596_probe(netdevice); retval 138 drivers/net/ethernet/i825xx/sni_82596.c if (retval == 0) retval 147 drivers/net/ethernet/i825xx/sni_82596.c return retval; retval 345 drivers/net/ethernet/i825xx/sun3_82586.c int i, size, retval; retval 366 drivers/net/ethernet/i825xx/sun3_82586.c retval = -ENODEV; retval 371 drivers/net/ethernet/i825xx/sun3_82586.c retval = -ENODEV; retval 400 drivers/net/ethernet/i825xx/sun3_82586.c return retval; retval 271 drivers/net/ethernet/intel/e1000/e1000_ethtool.c int retval = 0; retval 297 drivers/net/ethernet/intel/e1000/e1000_ethtool.c retval = ((hw->media_type == e1000_media_type_fiber) ? retval 301 drivers/net/ethernet/intel/e1000/e1000_ethtool.c return retval; retval 1585 drivers/net/ethernet/intel/e1000/e1000_ethtool.c int retval = 1; /* fail by default */ retval 1608 drivers/net/ethernet/intel/e1000/e1000_ethtool.c retval = 0; retval 1617 drivers/net/ethernet/intel/e1000/e1000_ethtool.c retval = 0; retval 1630 drivers/net/ethernet/intel/e1000/e1000_ethtool.c retval = 0; retval 1633 drivers/net/ethernet/intel/e1000/e1000_ethtool.c return retval; retval 2573 drivers/net/ethernet/intel/e1000/e1000_main.c unsigned int retval = itr_setting; retval 2586 drivers/net/ethernet/intel/e1000/e1000_main.c retval = bulk_latency; retval 2588 drivers/net/ethernet/intel/e1000/e1000_main.c retval = low_latency; retval 2594 drivers/net/ethernet/intel/e1000/e1000_main.c retval = bulk_latency; retval 2596 drivers/net/ethernet/intel/e1000/e1000_main.c retval = bulk_latency; retval 2598 drivers/net/ethernet/intel/e1000/e1000_main.c retval = lowest_latency; retval 2600 drivers/net/ethernet/intel/e1000/e1000_main.c retval = bulk_latency; retval 2602 drivers/net/ethernet/intel/e1000/e1000_main.c retval = lowest_latency; retval 2607 drivers/net/ethernet/intel/e1000/e1000_main.c retval = low_latency; retval 2609 drivers/net/ethernet/intel/e1000/e1000_main.c retval = low_latency; retval 2615 drivers/net/ethernet/intel/e1000/e1000_main.c return retval; retval 4748 drivers/net/ethernet/intel/e1000/e1000_main.c int retval; retval 4795 drivers/net/ethernet/intel/e1000/e1000_main.c retval = e1000_set_spd_dplx( retval 4800 drivers/net/ethernet/intel/e1000/e1000_main.c if (retval) retval 4801 drivers/net/ethernet/intel/e1000/e1000_main.c return retval; retval 5056 drivers/net/ethernet/intel/e1000/e1000_main.c int retval = 0; retval 5072 drivers/net/ethernet/intel/e1000/e1000_main.c retval = pci_save_state(pdev); retval 5073 drivers/net/ethernet/intel/e1000/e1000_main.c if (retval) retval 5074 drivers/net/ethernet/intel/e1000/e1000_main.c return retval; retval 5140 drivers/net/ethernet/intel/e1000/e1000_main.c int retval; retval 5143 drivers/net/ethernet/intel/e1000/e1000_main.c retval = __e1000_shutdown(pdev, &wake); retval 5144 drivers/net/ethernet/intel/e1000/e1000_main.c if (retval) retval 5145 drivers/net/ethernet/intel/e1000/e1000_main.c return retval; retval 364 drivers/net/ethernet/intel/e1000e/ethtool.c int retval = 0; retval 394 drivers/net/ethernet/intel/e1000e/ethtool.c retval = hw->mac.ops.setup_link(hw); retval 397 drivers/net/ethernet/intel/e1000e/ethtool.c retval = e1000e_force_mac_fc(hw); retval 398 drivers/net/ethernet/intel/e1000e/ethtool.c if (retval) retval 407 drivers/net/ethernet/intel/e1000e/ethtool.c return retval; retval 2493 drivers/net/ethernet/intel/e1000e/netdev.c unsigned int retval = itr_setting; retval 2502 drivers/net/ethernet/intel/e1000e/netdev.c retval = bulk_latency; retval 2504 drivers/net/ethernet/intel/e1000e/netdev.c retval = low_latency; retval 2510 drivers/net/ethernet/intel/e1000e/netdev.c retval = bulk_latency; retval 2512 drivers/net/ethernet/intel/e1000e/netdev.c retval = bulk_latency; retval 2514 drivers/net/ethernet/intel/e1000e/netdev.c retval = lowest_latency; retval 2516 drivers/net/ethernet/intel/e1000e/netdev.c retval = bulk_latency; retval 2518 drivers/net/ethernet/intel/e1000e/netdev.c retval = lowest_latency; retval 2524 drivers/net/ethernet/intel/e1000e/netdev.c retval = low_latency; retval 2526 drivers/net/ethernet/intel/e1000e/netdev.c retval = low_latency; retval 2531 drivers/net/ethernet/intel/e1000e/netdev.c return retval; retval 6217 drivers/net/ethernet/intel/e1000e/netdev.c int retval; retval 6222 drivers/net/ethernet/intel/e1000e/netdev.c retval = hw->phy.ops.acquire(hw); retval 6223 drivers/net/ethernet/intel/e1000e/netdev.c if (retval) { retval 6225 drivers/net/ethernet/intel/e1000e/netdev.c return retval; retval 6229 drivers/net/ethernet/intel/e1000e/netdev.c retval = e1000_enable_phy_wakeup_reg_access_bm(hw, &wuc_enable); retval 6230 drivers/net/ethernet/intel/e1000e/netdev.c if (retval) retval 6277 drivers/net/ethernet/intel/e1000e/netdev.c retval = e1000_disable_phy_wakeup_reg_access_bm(hw, &wuc_enable); retval 6278 drivers/net/ethernet/intel/e1000e/netdev.c if (retval) retval 6283 drivers/net/ethernet/intel/e1000e/netdev.c return retval; retval 6349 drivers/net/ethernet/intel/e1000e/netdev.c int retval = 0; retval 6389 drivers/net/ethernet/intel/e1000e/netdev.c retval = e1000_init_phy_wakeup(adapter, wufc); retval 6390 drivers/net/ethernet/intel/e1000e/netdev.c if (retval) retval 6391 drivers/net/ethernet/intel/e1000e/netdev.c return retval; retval 6411 drivers/net/ethernet/intel/e1000e/netdev.c retval = e1000_enable_ulp_lpt_lp(hw, !runtime); retval 6413 drivers/net/ethernet/intel/e1000e/netdev.c if (retval) retval 6414 drivers/net/ethernet/intel/e1000e/netdev.c return retval; retval 6424 drivers/net/ethernet/intel/e1000e/netdev.c retval = hw->phy.ops.acquire(hw); retval 6425 drivers/net/ethernet/intel/e1000e/netdev.c if (!retval) { retval 6426 drivers/net/ethernet/intel/e1000e/netdev.c retval = e1e_rphy_locked(hw, I82579_LPI_CTRL, retval 6428 drivers/net/ethernet/intel/e1000e/netdev.c if (!retval) { retval 6438 drivers/net/ethernet/intel/e1000e/netdev.c retval = e1e_wphy_locked(hw, I82579_LPI_CTRL, retval 157 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc->retval = 0; retval 741 drivers/net/ethernet/intel/i40e/i40e_adminq.c u16 retval = 0; retval 871 drivers/net/ethernet/intel/i40e/i40e_adminq.c retval = le16_to_cpu(desc->retval); retval 872 drivers/net/ethernet/intel/i40e/i40e_adminq.c if (retval != 0) { retval 876 drivers/net/ethernet/intel/i40e/i40e_adminq.c retval); retval 879 drivers/net/ethernet/intel/i40e/i40e_adminq.c retval &= 0xff; retval 882 drivers/net/ethernet/intel/i40e/i40e_adminq.c if ((enum i40e_admin_queue_err)retval == I40E_AQ_RC_OK) retval 884 drivers/net/ethernet/intel/i40e/i40e_adminq.c else if ((enum i40e_admin_queue_err)retval == I40E_AQ_RC_EBUSY) retval 888 drivers/net/ethernet/intel/i40e/i40e_adminq.c hw->aq.asq_last_status = (enum i40e_admin_queue_err)retval; retval 983 drivers/net/ethernet/intel/i40e/i40e_adminq.c (enum i40e_admin_queue_err)le16_to_cpu(desc->retval); retval 32 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h __le16 retval; retval 300 drivers/net/ethernet/intel/i40e/i40e_common.c le16_to_cpu(aq_desc->retval)); retval 465 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i, d->flags, d->opcode, d->datalen, d->retval, retval 478 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i, d->flags, d->opcode, d->datalen, d->retval, retval 1212 drivers/net/ethernet/intel/i40e/i40e_debugfs.c &desc->opcode, &desc->datalen, &desc->retval, retval 1240 drivers/net/ethernet/intel/i40e/i40e_debugfs.c desc->flags, desc->opcode, desc->datalen, desc->retval, retval 1260 drivers/net/ethernet/intel/i40e/i40e_debugfs.c &desc->opcode, &desc->datalen, &desc->retval, retval 1301 drivers/net/ethernet/intel/i40e/i40e_debugfs.c desc->flags, desc->opcode, desc->datalen, desc->retval, retval 2035 drivers/net/ethernet/intel/i40e/i40e_main.c int retval = 0; retval 2049 drivers/net/ethernet/intel/i40e/i40e_main.c retval++; retval 2057 drivers/net/ethernet/intel/i40e/i40e_main.c return retval; retval 2076 drivers/net/ethernet/intel/i40e/i40e_main.c int num_del, int *retval) retval 2087 drivers/net/ethernet/intel/i40e/i40e_main.c *retval = -EIO; retval 2276 drivers/net/ethernet/intel/i40e/i40e_main.c int retval = 0; retval 2340 drivers/net/ethernet/intel/i40e/i40e_main.c retval = i40e_correct_mac_vlan_filters(vsi, retval 2344 drivers/net/ethernet/intel/i40e/i40e_main.c if (retval) retval 2391 drivers/net/ethernet/intel/i40e/i40e_main.c num_del, &retval); retval 2404 drivers/net/ethernet/intel/i40e/i40e_main.c num_del, &retval); retval 2531 drivers/net/ethernet/intel/i40e/i40e_main.c retval = i40e_aq_rc_to_posix(aq_ret, retval 2552 drivers/net/ethernet/intel/i40e/i40e_main.c retval = i40e_aq_rc_to_posix(aq_ret, retval 2564 drivers/net/ethernet/intel/i40e/i40e_main.c if (retval) retval 2568 drivers/net/ethernet/intel/i40e/i40e_main.c return retval; retval 9295 drivers/net/ethernet/intel/i40e/i40e_main.c le16_to_cpu(event.desc.retval), retval 1792 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_status retval) retval 1794 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c return i40e_vc_send_msg_to_vf(vf, opcode, retval, NULL, 0); retval 143 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc->retval = 0; retval 643 drivers/net/ethernet/intel/iavf/iavf_adminq.c u16 retval = 0; retval 773 drivers/net/ethernet/intel/iavf/iavf_adminq.c retval = le16_to_cpu(desc->retval); retval 774 drivers/net/ethernet/intel/iavf/iavf_adminq.c if (retval != 0) { retval 778 drivers/net/ethernet/intel/iavf/iavf_adminq.c retval); retval 781 drivers/net/ethernet/intel/iavf/iavf_adminq.c retval &= 0xff; retval 784 drivers/net/ethernet/intel/iavf/iavf_adminq.c if ((enum iavf_admin_queue_err)retval == IAVF_AQ_RC_OK) retval 786 drivers/net/ethernet/intel/iavf/iavf_adminq.c else if ((enum iavf_admin_queue_err)retval == IAVF_AQ_RC_EBUSY) retval 790 drivers/net/ethernet/intel/iavf/iavf_adminq.c hw->aq.asq_last_status = (enum iavf_admin_queue_err)retval; retval 884 drivers/net/ethernet/intel/iavf/iavf_adminq.c (enum iavf_admin_queue_err)le16_to_cpu(desc->retval); retval 28 drivers/net/ethernet/intel/iavf/iavf_adminq_cmd.h __le16 retval; retval 274 drivers/net/ethernet/intel/iavf/iavf_common.c le16_to_cpu(aq_desc->retval)); retval 3770 drivers/net/ethernet/intel/iavf/iavf_main.c int retval = 0; retval 3788 drivers/net/ethernet/intel/iavf/iavf_main.c retval = pci_save_state(pdev); retval 3789 drivers/net/ethernet/intel/iavf/iavf_main.c if (retval) retval 3790 drivers/net/ethernet/intel/iavf/iavf_main.c return retval; retval 1604 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 retval; retval 1223 drivers/net/ethernet/intel/ice/ice_common.c le16_to_cpu(cq_desc->datalen), le16_to_cpu(cq_desc->retval)); retval 180 drivers/net/ethernet/intel/ice/ice_controlq.c desc->retval = 0; retval 851 drivers/net/ethernet/intel/ice/ice_controlq.c u16 retval = 0; retval 971 drivers/net/ethernet/intel/ice/ice_controlq.c retval = le16_to_cpu(desc->retval); retval 972 drivers/net/ethernet/intel/ice/ice_controlq.c if (retval) { retval 975 drivers/net/ethernet/intel/ice/ice_controlq.c retval); retval 978 drivers/net/ethernet/intel/ice/ice_controlq.c retval &= 0xff; retval 981 drivers/net/ethernet/intel/ice/ice_controlq.c if (!status && retval != ICE_AQ_RC_OK) retval 983 drivers/net/ethernet/intel/ice/ice_controlq.c cq->sq_last_status = (enum ice_aq_err)retval; retval 1073 drivers/net/ethernet/intel/ice/ice_controlq.c cq->rq_last_status = (enum ice_aq_err)le16_to_cpu(desc->retval); retval 2905 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c s16 vf_id = le16_to_cpu(event->desc.retval); retval 398 drivers/net/ethernet/intel/igb/igb_ethtool.c int retval = 0; retval 429 drivers/net/ethernet/intel/igb/igb_ethtool.c retval = ((hw->phy.media_type == e1000_media_type_copper) ? retval 434 drivers/net/ethernet/intel/igb/igb_ethtool.c return retval; retval 7471 drivers/net/ethernet/intel/igb/igb_main.c s32 retval; retval 7473 drivers/net/ethernet/intel/igb/igb_main.c retval = igb_read_mbx(hw, msgbuf, E1000_VFMAILBOX_SIZE, vf, false); retval 7475 drivers/net/ethernet/intel/igb/igb_main.c if (retval) { retval 7500 drivers/net/ethernet/intel/igb/igb_main.c retval = -1; retval 7506 drivers/net/ethernet/intel/igb/igb_main.c retval = igb_set_vf_mac_addr(adapter, msgbuf, vf); retval 7509 drivers/net/ethernet/intel/igb/igb_main.c retval = igb_set_vf_promisc(adapter, msgbuf, vf); retval 7512 drivers/net/ethernet/intel/igb/igb_main.c retval = igb_set_vf_multicasts(adapter, msgbuf, vf); retval 7515 drivers/net/ethernet/intel/igb/igb_main.c retval = igb_set_vf_rlpml(adapter, msgbuf[1], vf); retval 7518 drivers/net/ethernet/intel/igb/igb_main.c retval = -1; retval 7524 drivers/net/ethernet/intel/igb/igb_main.c retval = igb_set_vf_vlan_msg(adapter, msgbuf, vf); retval 7528 drivers/net/ethernet/intel/igb/igb_main.c retval = -1; retval 7535 drivers/net/ethernet/intel/igb/igb_main.c if (retval) retval 644 drivers/net/ethernet/intel/igbvf/netdev.c enum latency_range retval = itr_setting; retval 653 drivers/net/ethernet/intel/igbvf/netdev.c retval = bulk_latency; retval 655 drivers/net/ethernet/intel/igbvf/netdev.c retval = low_latency; retval 661 drivers/net/ethernet/intel/igbvf/netdev.c retval = bulk_latency; retval 663 drivers/net/ethernet/intel/igbvf/netdev.c retval = bulk_latency; retval 665 drivers/net/ethernet/intel/igbvf/netdev.c retval = lowest_latency; retval 667 drivers/net/ethernet/intel/igbvf/netdev.c retval = bulk_latency; retval 669 drivers/net/ethernet/intel/igbvf/netdev.c retval = lowest_latency; retval 675 drivers/net/ethernet/intel/igbvf/netdev.c retval = low_latency; retval 677 drivers/net/ethernet/intel/igbvf/netdev.c retval = low_latency; retval 685 drivers/net/ethernet/intel/igbvf/netdev.c return retval; retval 2467 drivers/net/ethernet/intel/igbvf/netdev.c int retval = 0; retval 2479 drivers/net/ethernet/intel/igbvf/netdev.c retval = pci_save_state(pdev); retval 2480 drivers/net/ethernet/intel/igbvf/netdev.c if (retval) retval 2481 drivers/net/ethernet/intel/igbvf/netdev.c return retval; retval 623 drivers/net/ethernet/intel/igc/igc_ethtool.c int retval = 0; retval 650 drivers/net/ethernet/intel/igc/igc_ethtool.c retval = ((hw->phy.media_type == igc_media_type_copper) ? retval 655 drivers/net/ethernet/intel/igc/igc_ethtool.c return retval; retval 2170 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c int retval = 0; retval 2175 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c retval = 1; retval 2179 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c return retval; retval 6929 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c int retval = 0; retval 6942 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c retval = pci_save_state(pdev); retval 6943 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (retval) retval 6944 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return retval; retval 7004 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c int retval; retval 7007 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c retval = __ixgbe_shutdown(pdev, &wake); retval 7008 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (retval) retval 7009 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return retval; retval 641 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c int retval = 0; retval 682 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_add_mac_filter(adapter, mac_addr, vf); retval 683 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (retval < 0) retval 684 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c return retval; retval 778 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c s32 retval; retval 781 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_add_mac_filter(adapter, mac_addr, vf); retval 782 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (retval >= 0) retval 788 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c return retval; retval 1212 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c s32 retval; retval 1214 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_read_mbx(hw, msgbuf, mbx_size, vf); retval 1216 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (retval) { retval 1218 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c return retval; retval 1243 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_set_vf_mac_addr(adapter, msgbuf, vf); retval 1246 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_set_vf_multicasts(adapter, msgbuf, vf); retval 1249 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_set_vf_vlan_msg(adapter, msgbuf, vf); retval 1252 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_set_vf_lpe(adapter, msgbuf, vf); retval 1255 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_set_vf_macvlan_msg(adapter, msgbuf, vf); retval 1258 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_negotiate_vf_api(adapter, msgbuf, vf); retval 1261 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_get_vf_queues(adapter, msgbuf, vf); retval 1264 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_get_vf_reta(adapter, msgbuf, vf); retval 1267 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_get_vf_rss_key(adapter, msgbuf, vf); retval 1270 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_update_vf_xcast_mode(adapter, msgbuf, vf); retval 1273 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_ipsec_vf_add_sa(adapter, msgbuf, vf); retval 1276 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_ipsec_vf_del_sa(adapter, msgbuf, vf); retval 1280 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = IXGBE_ERR_MBX; retval 1285 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (retval) retval 1294 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c return retval; retval 1367 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c s32 retval; retval 1377 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_set_vf_mac(adapter, vf, mac); retval 1378 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (retval >= 0) { retval 1398 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = ixgbe_del_mac_filter(adapter, vf_mac_addr, vf); retval 1399 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (retval >= 0) { retval 1406 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c retval = -EINVAL; retval 1409 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c return retval; retval 4288 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c int retval = 0; retval 4301 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c retval = pci_save_state(pdev); retval 4302 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (retval) retval 4303 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c return retval; retval 17 drivers/net/ethernet/intel/ixgbevf/vf.c s32 retval = mbx->ops.write_posted(hw, msg, size); retval 19 drivers/net/ethernet/intel/ixgbevf/vf.c if (retval) retval 20 drivers/net/ethernet/intel/ixgbevf/vf.c return retval; retval 330 drivers/net/ethernet/korina.c irqreturn_t retval; retval 344 drivers/net/ethernet/korina.c retval = IRQ_HANDLED; retval 346 drivers/net/ethernet/korina.c retval = IRQ_NONE; retval 348 drivers/net/ethernet/korina.c return retval; retval 612 drivers/net/ethernet/korina.c irqreturn_t retval; retval 634 drivers/net/ethernet/korina.c retval = IRQ_HANDLED; retval 636 drivers/net/ethernet/korina.c retval = IRQ_NONE; retval 638 drivers/net/ethernet/korina.c return retval; retval 1190 drivers/net/ethernet/marvell/pxa168_eth.c int retval; retval 1194 drivers/net/ethernet/marvell/pxa168_eth.c retval = set_port_config_ext(pep); retval 196 drivers/net/ethernet/microchip/lan743x_ethtool.c int retval; retval 203 drivers/net/ethernet/microchip/lan743x_ethtool.c retval = lan743x_eeprom_confirm_not_busy(adapter); retval 204 drivers/net/ethernet/microchip/lan743x_ethtool.c if (retval) retval 205 drivers/net/ethernet/microchip/lan743x_ethtool.c return retval; retval 212 drivers/net/ethernet/microchip/lan743x_ethtool.c retval = lan743x_eeprom_wait(adapter); retval 213 drivers/net/ethernet/microchip/lan743x_ethtool.c if (retval < 0) retval 214 drivers/net/ethernet/microchip/lan743x_ethtool.c return retval; retval 227 drivers/net/ethernet/microchip/lan743x_ethtool.c int retval; retval 234 drivers/net/ethernet/microchip/lan743x_ethtool.c retval = lan743x_eeprom_confirm_not_busy(adapter); retval 235 drivers/net/ethernet/microchip/lan743x_ethtool.c if (retval) retval 236 drivers/net/ethernet/microchip/lan743x_ethtool.c return retval; retval 242 drivers/net/ethernet/microchip/lan743x_ethtool.c retval = lan743x_eeprom_wait(adapter); retval 243 drivers/net/ethernet/microchip/lan743x_ethtool.c if (retval < 0) retval 244 drivers/net/ethernet/microchip/lan743x_ethtool.c return retval; retval 256 drivers/net/ethernet/microchip/lan743x_ethtool.c retval = lan743x_eeprom_wait(adapter); retval 257 drivers/net/ethernet/microchip/lan743x_ethtool.c if (retval < 0) retval 258 drivers/net/ethernet/microchip/lan743x_ethtool.c return retval; retval 76 drivers/net/ethernet/natsemi/jazzsonic.c int retval; retval 78 drivers/net/ethernet/natsemi/jazzsonic.c retval = request_irq(dev->irq, sonic_interrupt, 0, "sonic", dev); retval 79 drivers/net/ethernet/natsemi/jazzsonic.c if (retval) { retval 82 drivers/net/ethernet/natsemi/jazzsonic.c return retval; retval 85 drivers/net/ethernet/natsemi/jazzsonic.c retval = sonic_open(dev); retval 86 drivers/net/ethernet/natsemi/jazzsonic.c if (retval) retval 88 drivers/net/ethernet/natsemi/jazzsonic.c return retval; retval 130 drivers/net/ethernet/natsemi/macsonic.c int retval; retval 132 drivers/net/ethernet/natsemi/macsonic.c retval = request_irq(dev->irq, sonic_interrupt, 0, "sonic", dev); retval 133 drivers/net/ethernet/natsemi/macsonic.c if (retval) { retval 143 drivers/net/ethernet/natsemi/macsonic.c retval = request_irq(IRQ_NUBUS_9, macsonic_interrupt, 0, retval 145 drivers/net/ethernet/natsemi/macsonic.c if (retval) { retval 151 drivers/net/ethernet/natsemi/macsonic.c retval = sonic_open(dev); retval 152 drivers/net/ethernet/natsemi/macsonic.c if (retval) retval 162 drivers/net/ethernet/natsemi/macsonic.c return retval; retval 1009 drivers/net/ethernet/natsemi/natsemi.c int retval = 0; retval 1029 drivers/net/ethernet/natsemi/natsemi.c retval |= (readl(ee_addr) & EE_DataOut) ? 1 << i : 0; retval 1037 drivers/net/ethernet/natsemi/natsemi.c return retval; retval 1084 drivers/net/ethernet/natsemi/natsemi.c u32 retval = 0; retval 1097 drivers/net/ethernet/natsemi/natsemi.c retval <<= 1; retval 1098 drivers/net/ethernet/natsemi/natsemi.c retval |= mii_getbit (dev); retval 1102 drivers/net/ethernet/natsemi/natsemi.c return retval; retval 89 drivers/net/ethernet/natsemi/xtsonic.c int retval; retval 91 drivers/net/ethernet/natsemi/xtsonic.c retval = request_irq(dev->irq, sonic_interrupt, 0, "sonic", dev); retval 92 drivers/net/ethernet/natsemi/xtsonic.c if (retval) { retval 98 drivers/net/ethernet/natsemi/xtsonic.c retval = sonic_open(dev); retval 99 drivers/net/ethernet/natsemi/xtsonic.c if (retval) retval 101 drivers/net/ethernet/natsemi/xtsonic.c return retval; retval 467 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c int barnum, retval; retval 492 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c retval = nfp_wait_for_bar(nfp, &barnum, tgt, act, tok, retval 494 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (retval) retval 495 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c return retval; retval 500 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c retval = reconfigure_bar(nfp, &nfp->bar[barnum], retval 502 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c if (retval < 0) { retval 504 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c barnum = retval; retval 1147 drivers/net/ethernet/nvidia/forcedeth.c int retval; retval 1166 drivers/net/ethernet/nvidia/forcedeth.c retval = -1; retval 1169 drivers/net/ethernet/nvidia/forcedeth.c retval = 0; retval 1171 drivers/net/ethernet/nvidia/forcedeth.c retval = -1; retval 1173 drivers/net/ethernet/nvidia/forcedeth.c retval = readl(base + NvRegMIIData); retval 1176 drivers/net/ethernet/nvidia/forcedeth.c return retval; retval 3356 drivers/net/ethernet/nvidia/forcedeth.c int retval = 0; retval 3383 drivers/net/ethernet/nvidia/forcedeth.c retval = 0; retval 3401 drivers/net/ethernet/nvidia/forcedeth.c retval = 1; retval 3409 drivers/net/ethernet/nvidia/forcedeth.c retval = 0; retval 3416 drivers/net/ethernet/nvidia/forcedeth.c retval = 1; retval 3450 drivers/net/ethernet/nvidia/forcedeth.c return retval; retval 3564 drivers/net/ethernet/nvidia/forcedeth.c return retval; retval 4839 drivers/net/ethernet/nvidia/forcedeth.c int err, retval = 0; retval 4854 drivers/net/ethernet/nvidia/forcedeth.c retval = PHY_ERROR; retval 4886 drivers/net/ethernet/nvidia/forcedeth.c return retval; retval 4925 drivers/net/ethernet/nvidia/forcedeth.c int retval; retval 4928 drivers/net/ethernet/nvidia/forcedeth.c retval = nv_set_loopback(dev, features); retval 4929 drivers/net/ethernet/nvidia/forcedeth.c if (retval != 0) retval 4930 drivers/net/ethernet/nvidia/forcedeth.c return retval; retval 2414 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c int retval = 0; retval 2434 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c return retval; retval 1793 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c int retval; retval 1797 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c retval = pci_save_state(pdev); retval 1798 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (retval) retval 1799 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c return retval; retval 3417 drivers/net/ethernet/qlogic/qla3xxx.c int retval = 0; retval 3455 drivers/net/ethernet/qlogic/qla3xxx.c retval = -1; retval 3460 drivers/net/ethernet/qlogic/qla3xxx.c return retval; retval 3816 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c int retval; retval 3827 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c retval = pci_save_state(pdev); retval 3828 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if (retval) retval 3829 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c return retval; retval 1652 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c int retval; retval 1665 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c retval = pci_save_state(pdev); retval 1666 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c if (retval) retval 1667 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c return retval; retval 2817 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c int retval; retval 2819 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c retval = __qlcnic_shutdown(pdev); retval 2820 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (retval) retval 2821 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c return retval; retval 2116 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c int retval; retval 2129 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c retval = pci_save_state(pdev); retval 2130 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if (retval) retval 2131 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c return retval; retval 1713 drivers/net/ethernet/realtek/8139cp.c u16 retval = 0; retval 1723 drivers/net/ethernet/realtek/8139cp.c retval = retval 1724 drivers/net/ethernet/realtek/8139cp.c (retval << 1) | ((readb (ee_addr) & EE_DATA_READ) ? 1 : retval 1732 drivers/net/ethernet/realtek/8139cp.c return retval; retval 1155 drivers/net/ethernet/realtek/8139too.c unsigned retval = 0; retval 1176 drivers/net/ethernet/realtek/8139too.c retval = retval 1177 drivers/net/ethernet/realtek/8139too.c (retval << 1) | ((RTL_R8 (Cfg9346) & EE_DATA_READ) ? 1 : retval 1187 drivers/net/ethernet/realtek/8139too.c return retval; retval 1236 drivers/net/ethernet/realtek/8139too.c int retval = 0; retval 1265 drivers/net/ethernet/realtek/8139too.c retval = (retval << 1) | ((RTL_R8 (Config4) & MDIO_DATA_IN) ? 1 : 0); retval 1271 drivers/net/ethernet/realtek/8139too.c return (retval >> 1) & 0xffff; retval 1324 drivers/net/ethernet/realtek/8139too.c int retval; retval 1326 drivers/net/ethernet/realtek/8139too.c retval = request_irq(irq, rtl8139_interrupt, IRQF_SHARED, dev->name, dev); retval 1327 drivers/net/ethernet/realtek/8139too.c if (retval) retval 1328 drivers/net/ethernet/realtek/8139too.c return retval; retval 95 drivers/net/ethernet/realtek/atp.h unsigned char retval; retval 100 drivers/net/ethernet/realtek/atp.h retval = inbyte(port + PAR_STATUS); retval 103 drivers/net/ethernet/realtek/atp.h return retval; retval 6445 drivers/net/ethernet/realtek/r8169_main.c int retval = -ENOMEM; retval 6463 drivers/net/ethernet/realtek/r8169_main.c retval = rtl8169_init_ring(tp); retval 6464 drivers/net/ethernet/realtek/r8169_main.c if (retval < 0) retval 6469 drivers/net/ethernet/realtek/r8169_main.c retval = pci_request_irq(pdev, 0, rtl8169_interrupt, NULL, tp, retval 6471 drivers/net/ethernet/realtek/r8169_main.c if (retval < 0) retval 6474 drivers/net/ethernet/realtek/r8169_main.c retval = r8169_phy_connect(tp); retval 6475 drivers/net/ethernet/realtek/r8169_main.c if (retval) retval 6500 drivers/net/ethernet/realtek/r8169_main.c return retval; retval 821 drivers/net/ethernet/sis/sis900.c u16 retval = 0; retval 846 drivers/net/ethernet/sis/sis900.c retval = (retval << 1) | ((sr32(mear) & EEDO) ? 1 : 0); retval 854 drivers/net/ethernet/sis/sis900.c return retval; retval 901 drivers/net/ethernet/sis/sis900.c u16 retval = 0; retval 920 drivers/net/ethernet/sis/sis900.c retval = (retval << 1) | ((sr32(mear) & MDIO) ? 1 : 0); retval 926 drivers/net/ethernet/sis/sis900.c return retval; retval 568 drivers/net/ethernet/smsc/epic100.c int retval = 0; retval 588 drivers/net/ethernet/smsc/epic100.c retval = (retval << 1) | ((er32(EECTL) & EE_DATA_READ) ? 1 : 0); retval 595 drivers/net/ethernet/smsc/epic100.c return retval; retval 1780 drivers/net/ethernet/smsc/smc911x.c int i, retval; retval 1797 drivers/net/ethernet/smsc/smc911x.c retval = -ENODEV; retval 1814 drivers/net/ethernet/smsc/smc911x.c retval = -ENODEV; retval 1830 drivers/net/ethernet/smsc/smc911x.c retval = -EINVAL; retval 1918 drivers/net/ethernet/smsc/smc911x.c retval = -ENODEV; retval 1953 drivers/net/ethernet/smsc/smc911x.c retval = request_irq(dev->irq, smc911x_interrupt, retval 1955 drivers/net/ethernet/smsc/smc911x.c if (retval) retval 1974 drivers/net/ethernet/smsc/smc911x.c retval = dmaengine_slave_config(lp->rxdma, &config); retval 1975 drivers/net/ethernet/smsc/smc911x.c if (retval) { retval 1977 drivers/net/ethernet/smsc/smc911x.c retval); retval 1980 drivers/net/ethernet/smsc/smc911x.c retval = dmaengine_slave_config(lp->txdma, &config); retval 1981 drivers/net/ethernet/smsc/smc911x.c if (retval) { retval 1983 drivers/net/ethernet/smsc/smc911x.c retval); retval 1988 drivers/net/ethernet/smsc/smc911x.c retval = register_netdev(dev); retval 1989 drivers/net/ethernet/smsc/smc911x.c if (retval == 0) { retval 2022 drivers/net/ethernet/smsc/smc911x.c if (retval) { retval 2029 drivers/net/ethernet/smsc/smc911x.c return retval; retval 847 drivers/net/ethernet/smsc/smc9194.c int i, memory, retval; retval 870 drivers/net/ethernet/smsc/smc9194.c retval = -ENODEV; retval 878 drivers/net/ethernet/smsc/smc9194.c retval = -ENODEV; retval 892 drivers/net/ethernet/smsc/smc9194.c retval = -ENODEV; retval 906 drivers/net/ethernet/smsc/smc9194.c retval = -ENODEV; retval 949 drivers/net/ethernet/smsc/smc9194.c retval = -ENODEV; retval 997 drivers/net/ethernet/smsc/smc9194.c retval = -ENODEV; retval 1012 drivers/net/ethernet/smsc/smc9194.c retval = request_irq(dev->irq, smc_interrupt, 0, DRV_NAME, dev); retval 1013 drivers/net/ethernet/smsc/smc9194.c if (retval) { retval 1015 drivers/net/ethernet/smsc/smc9194.c DRV_NAME, dev->irq, retval); retval 1026 drivers/net/ethernet/smsc/smc9194.c return retval; retval 989 drivers/net/ethernet/smsc/smc91c92_cs.c int i, retval = 0; retval 999 drivers/net/ethernet/smsc/smc91c92_cs.c retval = (retval << 1) | ((inb(addr) & MDIO_DATA_READ) != 0); retval 1002 drivers/net/ethernet/smsc/smc91c92_cs.c return (retval>>1) & 0xffff; retval 1851 drivers/net/ethernet/smsc/smc91x.c int retval; retval 1867 drivers/net/ethernet/smsc/smc91x.c retval = -ENODEV; retval 1878 drivers/net/ethernet/smsc/smc91x.c retval = -ENODEV; retval 1910 drivers/net/ethernet/smsc/smc91x.c retval = -ENODEV; retval 1959 drivers/net/ethernet/smsc/smc91x.c retval = -ENODEV; retval 2000 drivers/net/ethernet/smsc/smc91x.c retval = request_irq(dev->irq, smc_interrupt, irq_flags, dev->name, dev); retval 2001 drivers/net/ethernet/smsc/smc91x.c if (retval) retval 2017 drivers/net/ethernet/smsc/smc91x.c retval = register_netdev(dev); retval 2018 drivers/net/ethernet/smsc/smc91x.c if (retval == 0) { retval 2050 drivers/net/ethernet/smsc/smc91x.c if (retval && lp->dma_chan) retval 2053 drivers/net/ethernet/smsc/smc91x.c return retval; retval 1590 drivers/net/ethernet/smsc/smsc911x.c int retval; retval 1595 drivers/net/ethernet/smsc/smsc911x.c retval = smsc911x_mii_probe(dev); retval 1596 drivers/net/ethernet/smsc/smsc911x.c if (retval < 0) { retval 1603 drivers/net/ethernet/smsc/smsc911x.c retval = smsc911x_soft_reset(pdata); retval 1604 drivers/net/ethernet/smsc/smsc911x.c if (retval) { retval 1663 drivers/net/ethernet/smsc/smsc911x.c retval = request_irq(dev->irq, smsc911x_irqhandler, retval 1665 drivers/net/ethernet/smsc/smsc911x.c if (retval) { retval 1685 drivers/net/ethernet/smsc/smsc911x.c retval = -ENODEV; retval 1739 drivers/net/ethernet/smsc/smsc911x.c return retval; retval 2419 drivers/net/ethernet/smsc/smsc911x.c int retval; retval 2427 drivers/net/ethernet/smsc/smsc911x.c retval = -ENODEV; retval 2434 drivers/net/ethernet/smsc/smsc911x.c retval = -EPROBE_DEFER; retval 2438 drivers/net/ethernet/smsc/smsc911x.c retval = -ENODEV; retval 2443 drivers/net/ethernet/smsc/smsc911x.c retval = -EBUSY; retval 2449 drivers/net/ethernet/smsc/smsc911x.c retval = -ENOMEM; retval 2459 drivers/net/ethernet/smsc/smsc911x.c retval = -ENOMEM; retval 2468 drivers/net/ethernet/smsc/smsc911x.c retval = smsc911x_request_resources(pdev); retval 2469 drivers/net/ethernet/smsc/smsc911x.c if (retval) retval 2472 drivers/net/ethernet/smsc/smsc911x.c retval = smsc911x_enable_resources(pdev); retval 2473 drivers/net/ethernet/smsc/smsc911x.c if (retval) retval 2478 drivers/net/ethernet/smsc/smsc911x.c retval = -ENOMEM; retval 2482 drivers/net/ethernet/smsc/smsc911x.c retval = smsc911x_probe_config(&pdata->config, &pdev->dev); retval 2483 drivers/net/ethernet/smsc/smsc911x.c if (retval && config) { retval 2486 drivers/net/ethernet/smsc/smsc911x.c retval = 0; retval 2489 drivers/net/ethernet/smsc/smsc911x.c if (retval) { retval 2503 drivers/net/ethernet/smsc/smsc911x.c retval = smsc911x_init(dev); retval 2504 drivers/net/ethernet/smsc/smsc911x.c if (retval < 0) retval 2509 drivers/net/ethernet/smsc/smsc911x.c retval = smsc911x_mii_init(pdev, dev); retval 2510 drivers/net/ethernet/smsc/smsc911x.c if (retval) { retval 2511 drivers/net/ethernet/smsc/smsc911x.c SMSC_WARN(pdata, probe, "Error %i initialising mii", retval); retval 2515 drivers/net/ethernet/smsc/smsc911x.c retval = register_netdev(dev); retval 2516 drivers/net/ethernet/smsc/smsc911x.c if (retval) { retval 2517 drivers/net/ethernet/smsc/smsc911x.c SMSC_WARN(pdata, probe, "Error %i registering device", retval); retval 2573 drivers/net/ethernet/smsc/smsc911x.c return retval; retval 995 drivers/net/ethernet/sun/cassini.c int retval = 0; retval 1050 drivers/net/ethernet/sun/cassini.c retval = 1; retval 1084 drivers/net/ethernet/sun/cassini.c retval = 1; retval 1093 drivers/net/ethernet/sun/cassini.c return retval; retval 293 drivers/net/ethernet/sun/sunbmac.c int retval = 0; retval 301 drivers/net/ethernet/sun/sunbmac.c retval = (sbus_readl(tregs + TCVR_MPAL) & MGMT_PAL_INT_MDIO) >> 3; retval 307 drivers/net/ethernet/sun/sunbmac.c retval = (sbus_readl(tregs + TCVR_MPAL) & MGMT_PAL_EXT_MDIO) >> 2; retval 311 drivers/net/ethernet/sun/sunbmac.c return retval; retval 316 drivers/net/ethernet/sun/sunbmac.c int retval = 0; retval 321 drivers/net/ethernet/sun/sunbmac.c retval = (sbus_readl(tregs + TCVR_MPAL) & MGMT_PAL_INT_MDIO) >> 3; retval 327 drivers/net/ethernet/sun/sunbmac.c retval = (sbus_readl(tregs + TCVR_MPAL) & MGMT_PAL_EXT_MDIO) >> 2; retval 333 drivers/net/ethernet/sun/sunbmac.c return retval; retval 391 drivers/net/ethernet/sun/sunbmac.c unsigned short retval = 0; retval 426 drivers/net/ethernet/sun/sunbmac.c retval |= ((tmp & 1) << shift); retval 443 drivers/net/ethernet/sun/sunbmac.c retval |= ((tmp & 1) << shift); retval 451 drivers/net/ethernet/sun/sunbmac.c return retval; retval 348 drivers/net/ethernet/sun/sunhme.c u32 retval; retval 352 drivers/net/ethernet/sun/sunhme.c retval = hme_read32(hp, tregs + TCVR_CFG); retval 354 drivers/net/ethernet/sun/sunhme.c retval &= TCV_CFG_MDIO0; retval 356 drivers/net/ethernet/sun/sunhme.c retval &= TCV_CFG_MDIO1; retval 359 drivers/net/ethernet/sun/sunhme.c return retval; retval 368 drivers/net/ethernet/sun/sunhme.c int retval = 0; retval 402 drivers/net/ethernet/sun/sunhme.c retval |= BB_GET_BIT2(hp, tregs, (hp->tcvr_type == internal)); retval 406 drivers/net/ethernet/sun/sunhme.c ASD(("value=%x\n", retval)); retval 407 drivers/net/ethernet/sun/sunhme.c return retval; retval 459 drivers/net/ethernet/sun/sunhme.c int retval; retval 480 drivers/net/ethernet/sun/sunhme.c retval = hme_read32(hp, tregs + TCVR_FRAME) & 0xffff; retval 481 drivers/net/ethernet/sun/sunhme.c ASD(("value=%04x\n", retval)); retval 482 drivers/net/ethernet/sun/sunhme.c return retval; retval 920 drivers/net/ethernet/xilinx/xilinx_emaclite.c int retval; retval 958 drivers/net/ethernet/xilinx/xilinx_emaclite.c retval = request_irq(dev->irq, xemaclite_interrupt, 0, dev->name, dev); retval 959 drivers/net/ethernet/xilinx/xilinx_emaclite.c if (retval) { retval 966 drivers/net/ethernet/xilinx/xilinx_emaclite.c return retval; retval 608 drivers/net/fjes/fjes_main.c int retval; retval 610 drivers/net/fjes/fjes_main.c retval = fjes_hw_epbuf_tx_pkt_send(&adapter->hw.ep_shm_info[dest].tx, retval 612 drivers/net/fjes/fjes_main.c if (retval) retval 613 drivers/net/fjes/fjes_main.c return retval; retval 621 drivers/net/fjes/fjes_main.c retval = 0; retval 622 drivers/net/fjes/fjes_main.c return retval; retval 1466 drivers/net/phy/marvell.c int retval = phy_read(phydev, MII_M1011_PHY_STATUS); retval 1468 drivers/net/phy/marvell.c return (retval < 0) ? retval : (retval & MII_M1011_PHY_STATUS_RESOLVED); retval 551 drivers/net/phy/mdio_bus.c int retval; retval 555 drivers/net/phy/mdio_bus.c retval = bus->read(bus, addr, regnum); retval 557 drivers/net/phy/mdio_bus.c trace_mdio_access(bus, 1, addr, regnum, retval, retval); retval 559 drivers/net/phy/mdio_bus.c return retval; retval 603 drivers/net/phy/mdio_bus.c int retval; retval 608 drivers/net/phy/mdio_bus.c retval = __mdiobus_read(bus, addr, regnum); retval 611 drivers/net/phy/mdio_bus.c return retval; retval 627 drivers/net/phy/mdio_bus.c int retval; retval 632 drivers/net/phy/mdio_bus.c retval = __mdiobus_read(bus, addr, regnum); retval 635 drivers/net/phy/mdio_bus.c return retval; retval 190 drivers/net/phy/mdio_device.c int retval; retval 198 drivers/net/phy/mdio_device.c retval = driver_register(&mdiodrv->driver); retval 199 drivers/net/phy/mdio_device.c if (retval) { retval 201 drivers/net/phy/mdio_device.c mdiodrv->driver.name, retval); retval 203 drivers/net/phy/mdio_device.c return retval; retval 1736 drivers/net/phy/phy_device.c int retval = phy_read(phydev, MII_BMSR); retval 1738 drivers/net/phy/phy_device.c return (retval < 0) ? retval : (retval & BMSR_ANEGCOMPLETE); retval 2308 drivers/net/phy/phy_device.c int retval; retval 2326 drivers/net/phy/phy_device.c retval = driver_register(&new_driver->mdiodrv.driver); retval 2327 drivers/net/phy/phy_device.c if (retval) { retval 2329 drivers/net/phy/phy_device.c new_driver->name, retval); retval 2331 drivers/net/phy/phy_device.c return retval; retval 407 drivers/net/tap.c int retval = -ENOMEM; retval 413 drivers/net/tap.c retval = -EINVAL; retval 418 drivers/net/tap.c retval = idr_alloc(&tap_major->minor_idr, tap, 1, TAP_NUM_DEVS, GFP_ATOMIC); retval 419 drivers/net/tap.c if (retval >= 0) { retval 420 drivers/net/tap.c tap->minor = retval; retval 421 drivers/net/tap.c } else if (retval == -ENOSPC) { retval 423 drivers/net/tap.c retval = -EINVAL; retval 429 drivers/net/tap.c return retval < 0 ? retval : 0; retval 464 drivers/net/usb/catc.c int retval = usb_control_msg(catc->usbdev, retval 467 drivers/net/usb/catc.c return retval < 0 ? retval : 0; retval 537 drivers/net/usb/catc.c int retval = 0; retval 557 drivers/net/usb/catc.c retval = -1; retval 565 drivers/net/usb/catc.c return retval; retval 339 drivers/net/usb/ch9200.c int retval = 0; retval 342 drivers/net/usb/ch9200.c retval = usbnet_get_endpoints(dev, intf); retval 343 drivers/net/usb/ch9200.c if (retval) retval 344 drivers/net/usb/ch9200.c return retval; retval 359 drivers/net/usb/ch9200.c retval = control_write(dev, REQUEST_WRITE, 0, MAC_REG_THRESHOLD, data, retval 364 drivers/net/usb/ch9200.c retval = control_write(dev, REQUEST_WRITE, 0, MAC_REG_FIFO_DEPTH, data, retval 369 drivers/net/usb/ch9200.c retval = control_write(dev, REQUEST_WRITE, 0, MAC_REG_PAUSE, data, retval 374 drivers/net/usb/ch9200.c retval = control_write(dev, REQUEST_WRITE, 0, MAC_REG_FLOW_CONTROL, retval 380 drivers/net/usb/ch9200.c retval = control_write(dev, REQUEST_WRITE, 0, 254, data, 0x02, retval 385 drivers/net/usb/ch9200.c retval = control_write(dev, REQUEST_WRITE, 0, MAC_REG_CTRL, data, 0x02, retval 388 drivers/net/usb/ch9200.c retval = get_mac_address(dev, dev->net->dev_addr); retval 390 drivers/net/usb/ch9200.c return retval; retval 1623 drivers/net/usb/hso.c int retval; retval 1634 drivers/net/usb/hso.c retval = ((serial->rts_state) ? TIOCM_RTS : 0) | retval 1642 drivers/net/usb/hso.c retval |= TIOCM_RNG; retval 1644 drivers/net/usb/hso.c retval |= TIOCM_CD; retval 1646 drivers/net/usb/hso.c retval |= TIOCM_DSR; retval 1649 drivers/net/usb/hso.c return retval; retval 242 drivers/net/usb/ipheth.c int retval; retval 248 drivers/net/usb/ipheth.c retval = usb_control_msg(udev, retval 256 drivers/net/usb/ipheth.c if (retval < 0) { retval 258 drivers/net/usb/ipheth.c __func__, retval); retval 259 drivers/net/usb/ipheth.c return retval; retval 286 drivers/net/usb/ipheth.c int retval; retval 288 drivers/net/usb/ipheth.c retval = usb_control_msg(udev, retval 297 drivers/net/usb/ipheth.c if (retval < 0) { retval 299 drivers/net/usb/ipheth.c __func__, retval); retval 300 drivers/net/usb/ipheth.c } else if (retval < ETH_ALEN) { retval 303 drivers/net/usb/ipheth.c __func__, retval); retval 304 drivers/net/usb/ipheth.c retval = -EINVAL; retval 307 drivers/net/usb/ipheth.c retval = 0; retval 310 drivers/net/usb/ipheth.c return retval; retval 316 drivers/net/usb/ipheth.c int retval; retval 325 drivers/net/usb/ipheth.c retval = usb_submit_urb(dev->rx_urb, mem_flags); retval 326 drivers/net/usb/ipheth.c if (retval) retval 328 drivers/net/usb/ipheth.c __func__, retval); retval 329 drivers/net/usb/ipheth.c return retval; retval 336 drivers/net/usb/ipheth.c int retval = 0; retval 340 drivers/net/usb/ipheth.c retval = ipheth_carrier_set(dev); retval 341 drivers/net/usb/ipheth.c if (retval) retval 342 drivers/net/usb/ipheth.c return retval; retval 344 drivers/net/usb/ipheth.c retval = ipheth_rx_submit(dev, GFP_KERNEL); retval 345 drivers/net/usb/ipheth.c if (retval) retval 346 drivers/net/usb/ipheth.c return retval; retval 349 drivers/net/usb/ipheth.c return retval; retval 365 drivers/net/usb/ipheth.c int retval; retval 387 drivers/net/usb/ipheth.c retval = usb_submit_urb(dev->tx_urb, GFP_ATOMIC); retval 388 drivers/net/usb/ipheth.c if (retval) { retval 390 drivers/net/usb/ipheth.c __func__, retval); retval 438 drivers/net/usb/ipheth.c int retval; retval 456 drivers/net/usb/ipheth.c retval = -ENODEV; retval 469 drivers/net/usb/ipheth.c retval = -ENODEV; retval 476 drivers/net/usb/ipheth.c retval = -ENOMEM; retval 480 drivers/net/usb/ipheth.c retval = ipheth_get_macaddr(dev); retval 481 drivers/net/usb/ipheth.c if (retval) retval 486 drivers/net/usb/ipheth.c retval = ipheth_alloc_urbs(dev); retval 487 drivers/net/usb/ipheth.c if (retval) { retval 488 drivers/net/usb/ipheth.c dev_err(&intf->dev, "error allocating urbs: %d\n", retval); retval 497 drivers/net/usb/ipheth.c retval = register_netdev(netdev); retval 498 drivers/net/usb/ipheth.c if (retval) { retval 499 drivers/net/usb/ipheth.c dev_err(&intf->dev, "error registering netdev: %d\n", retval); retval 500 drivers/net/usb/ipheth.c retval = -EIO; retval 517 drivers/net/usb/ipheth.c return retval; retval 252 drivers/net/usb/kaweth.c int retval; retval 269 drivers/net/usb/kaweth.c retval = kaweth_internal_control_msg(kaweth->dev, retval 277 drivers/net/usb/kaweth.c return retval; retval 285 drivers/net/usb/kaweth.c int retval; retval 287 drivers/net/usb/kaweth.c retval = kaweth_control(kaweth, retval 297 drivers/net/usb/kaweth.c return retval; retval 305 drivers/net/usb/kaweth.c int retval; retval 309 drivers/net/usb/kaweth.c retval = kaweth_control(kaweth, retval 319 drivers/net/usb/kaweth.c return retval; retval 327 drivers/net/usb/kaweth.c int retval; retval 331 drivers/net/usb/kaweth.c retval = kaweth_control(kaweth, retval 341 drivers/net/usb/kaweth.c return retval; retval 350 drivers/net/usb/kaweth.c int retval; retval 355 drivers/net/usb/kaweth.c retval = kaweth_control(kaweth, retval 365 drivers/net/usb/kaweth.c return retval; retval 696 drivers/net/usb/lan78xx.c int retval; retval 708 drivers/net/usb/lan78xx.c retval = lan78xx_eeprom_confirm_not_busy(dev); retval 709 drivers/net/usb/lan78xx.c if (retval) retval 710 drivers/net/usb/lan78xx.c return retval; retval 717 drivers/net/usb/lan78xx.c retval = -EIO; retval 721 drivers/net/usb/lan78xx.c retval = lan78xx_wait_eeprom(dev); retval 722 drivers/net/usb/lan78xx.c if (retval < 0) retval 727 drivers/net/usb/lan78xx.c retval = -EIO; retval 735 drivers/net/usb/lan78xx.c retval = 0; retval 740 drivers/net/usb/lan78xx.c return retval; retval 764 drivers/net/usb/lan78xx.c int retval; retval 776 drivers/net/usb/lan78xx.c retval = lan78xx_eeprom_confirm_not_busy(dev); retval 777 drivers/net/usb/lan78xx.c if (retval) retval 784 drivers/net/usb/lan78xx.c retval = -EIO; retval 788 drivers/net/usb/lan78xx.c retval = lan78xx_wait_eeprom(dev); retval 789 drivers/net/usb/lan78xx.c if (retval < 0) retval 797 drivers/net/usb/lan78xx.c retval = -EIO; retval 806 drivers/net/usb/lan78xx.c retval = -EIO; retval 810 drivers/net/usb/lan78xx.c retval = lan78xx_wait_eeprom(dev); retval 811 drivers/net/usb/lan78xx.c if (retval < 0) retval 817 drivers/net/usb/lan78xx.c retval = 0; retval 822 drivers/net/usb/lan78xx.c return retval; retval 143 drivers/net/usb/net1080.c int retval; retval 151 drivers/net/usb/net1080.c retval = nc_register_read(dev, reg, vp); retval 152 drivers/net/usb/net1080.c if (retval < 0) retval 154 drivers/net/usb/net1080.c reg, retval); retval 264 drivers/net/usb/net1080.c int retval; retval 268 drivers/net/usb/net1080.c if ((retval = nc_register_read(dev, REG_STATUS, &vp)) < 0) { retval 270 drivers/net/usb/net1080.c dev->udev->bus->bus_name, dev->udev->devpath, retval); retval 276 drivers/net/usb/net1080.c if ((retval = nc_register_read(dev, REG_USBCTL, &vp)) < 0) { retval 277 drivers/net/usb/net1080.c netdev_dbg(dev->net, "can't read USBCTL, %d\n", retval); retval 286 drivers/net/usb/net1080.c if ((retval = nc_register_read(dev, REG_TTL, &vp)) < 0) { retval 287 drivers/net/usb/net1080.c netdev_dbg(dev->net, "can't read TTL, %d\n", retval); retval 299 drivers/net/usb/net1080.c retval = 0; retval 302 drivers/net/usb/net1080.c return retval; retval 307 drivers/net/usb/net1080.c int retval; retval 311 drivers/net/usb/net1080.c retval = nc_register_read(dev, REG_STATUS, &vp); retval 313 drivers/net/usb/net1080.c if (retval != 0) { retval 314 drivers/net/usb/net1080.c netdev_dbg(dev->net, "net1080_check_conn read - %d\n", retval); retval 315 drivers/net/usb/net1080.c return retval; retval 96 drivers/net/usb/rndis_host.c int retval; retval 116 drivers/net/usb/rndis_host.c retval = usb_control_msg(dev->udev, retval 123 drivers/net/usb/rndis_host.c if (unlikely(retval < 0 || xid == 0)) retval 124 drivers/net/usb/rndis_host.c return retval; retval 129 drivers/net/usb/rndis_host.c retval = usb_interrupt_msg( retval 135 drivers/net/usb/rndis_host.c if (unlikely(retval < 0)) retval 136 drivers/net/usb/rndis_host.c return retval; retval 143 drivers/net/usb/rndis_host.c retval = usb_control_msg(dev->udev, retval 150 drivers/net/usb/rndis_host.c if (likely(retval >= 8)) { retval 181 drivers/net/usb/rndis_host.c retval = usb_control_msg(dev->udev, retval 188 drivers/net/usb/rndis_host.c if (unlikely(retval < 0)) retval 191 drivers/net/usb/rndis_host.c retval); retval 202 drivers/net/usb/rndis_host.c "rndis response error, code %d\n", retval); retval 231 drivers/net/usb/rndis_host.c int retval; retval 249 drivers/net/usb/rndis_host.c retval = rndis_command(dev, u.header, CONTROL_BUFFER_SIZE); retval 250 drivers/net/usb/rndis_host.c if (unlikely(retval < 0)) { retval 252 drivers/net/usb/rndis_host.c oid, retval); retval 253 drivers/net/usb/rndis_host.c return retval; retval 267 drivers/net/usb/rndis_host.c return retval; retval 290 drivers/net/usb/rndis_host.c int retval; retval 313 drivers/net/usb/rndis_host.c retval = usbnet_generic_cdc_bind(dev, intf); retval 314 drivers/net/usb/rndis_host.c if (retval < 0) retval 340 drivers/net/usb/rndis_host.c retval = -EINVAL; retval 350 drivers/net/usb/rndis_host.c retval = rndis_command(dev, u.header, CONTROL_BUFFER_SIZE); retval 351 drivers/net/usb/rndis_host.c if (unlikely(retval < 0)) { retval 353 drivers/net/usb/rndis_host.c dev_err(&intf->dev, "RNDIS init failed, %d\n", retval); retval 362 drivers/net/usb/rndis_host.c retval = -EINVAL; retval 388 drivers/net/usb/rndis_host.c retval = rndis_query(dev, intf, u.buf, retval 391 drivers/net/usb/rndis_host.c if (retval != 0 || !phym) { retval 400 drivers/net/usb/rndis_host.c retval = -ENODEV; retval 407 drivers/net/usb/rndis_host.c retval = -ENODEV; retval 413 drivers/net/usb/rndis_host.c retval = rndis_query(dev, intf, u.buf, retval 416 drivers/net/usb/rndis_host.c if (unlikely(retval< 0)) { retval 417 drivers/net/usb/rndis_host.c dev_err(&intf->dev, "rndis get ethaddr, %d\n", retval); retval 435 drivers/net/usb/rndis_host.c retval = rndis_command(dev, u.header, CONTROL_BUFFER_SIZE); retval 436 drivers/net/usb/rndis_host.c if (unlikely(retval < 0)) { retval 437 drivers/net/usb/rndis_host.c dev_err(&intf->dev, "rndis set packet filter, %d\n", retval); retval 441 drivers/net/usb/rndis_host.c retval = 0; retval 444 drivers/net/usb/rndis_host.c return retval; retval 457 drivers/net/usb/rndis_host.c return retval; retval 728 drivers/net/usb/smsc95xx.c int retval; retval 731 drivers/net/usb/smsc95xx.c retval = smsc95xx_read_reg(dev, ID_REV, ®s->version); retval 732 drivers/net/usb/smsc95xx.c if (retval < 0) { retval 738 drivers/net/usb/smsc95xx.c retval = smsc95xx_read_reg(dev, i, &data[j]); retval 739 drivers/net/usb/smsc95xx.c if (retval < 0) { retval 849 drivers/net/usb/smsc95xx.c int retval; retval 851 drivers/net/usb/smsc95xx.c retval = usbnet_get_link_ksettings(net, cmd); retval 856 drivers/net/usb/smsc95xx.c return retval; retval 864 drivers/net/usb/smsc95xx.c int retval; retval 869 drivers/net/usb/smsc95xx.c retval = usbnet_set_link_ksettings(net, cmd); retval 871 drivers/net/usb/smsc95xx.c return retval; retval 472 drivers/net/usb/usbnet.c int retval = 0; retval 508 drivers/net/usb/usbnet.c switch (retval = usb_submit_urb (urb, GFP_ATOMIC)) { retval 520 drivers/net/usb/usbnet.c retval = -ENOLINK; retval 524 drivers/net/usb/usbnet.c "rx submit, %d\n", retval); retval 532 drivers/net/usb/usbnet.c retval = -ENOLINK; retval 535 drivers/net/usb/usbnet.c if (retval) { retval 539 drivers/net/usb/usbnet.c return retval; retval 714 drivers/net/usb/usbnet.c int retval; retval 737 drivers/net/usb/usbnet.c retval = usb_unlink_urb (urb); retval 738 drivers/net/usb/usbnet.c if (retval != -EINPROGRESS && retval != 0) retval 739 drivers/net/usb/usbnet.c netdev_dbg(dev->net, "unlink urb err, %d\n", retval); retval 803 drivers/net/usb/usbnet.c int retval, pm, mpn; retval 818 drivers/net/usb/usbnet.c retval = info->stop(dev); retval 819 drivers/net/usb/usbnet.c if (retval < 0) retval 822 drivers/net/usb/usbnet.c retval, retval 864 drivers/net/usb/usbnet.c int retval; retval 867 drivers/net/usb/usbnet.c if ((retval = usb_autopm_get_interface(dev->intf)) < 0) { retval 870 drivers/net/usb/usbnet.c retval, retval 878 drivers/net/usb/usbnet.c if (info->reset && (retval = info->reset (dev)) < 0) { retval 881 drivers/net/usb/usbnet.c retval, retval 892 drivers/net/usb/usbnet.c if (info->check_connect && (retval = info->check_connect (dev)) < 0) { retval 893 drivers/net/usb/usbnet.c netif_dbg(dev, ifup, dev->net, "can't open; %d\n", retval); retval 899 drivers/net/usb/usbnet.c retval = usbnet_status_start(dev, GFP_KERNEL); retval 900 drivers/net/usb/usbnet.c if (retval < 0) { retval 902 drivers/net/usb/usbnet.c "intr submit %d\n", retval); retval 928 drivers/net/usb/usbnet.c retval = info->manage_power(dev, 1); retval 929 drivers/net/usb/usbnet.c if (retval < 0) { retval 930 drivers/net/usb/usbnet.c retval = 0; retval 936 drivers/net/usb/usbnet.c return retval; retval 940 drivers/net/usb/usbnet.c return retval; retval 968 drivers/net/usb/usbnet.c int retval; retval 973 drivers/net/usb/usbnet.c retval = mii_ethtool_set_link_ksettings(&dev->mii, cmd); retval 982 drivers/net/usb/usbnet.c return retval; retval 1206 drivers/net/usb/usbnet.c int retval = 0; retval 1212 drivers/net/usb/usbnet.c if(info->link_reset && (retval = info->link_reset(dev)) < 0) { retval 1216 drivers/net/usb/usbnet.c retval, retval 1355 drivers/net/usb/usbnet.c int retval; retval 1426 drivers/net/usb/usbnet.c retval = usb_autopm_get_interface_async(dev->intf); retval 1427 drivers/net/usb/usbnet.c if (retval < 0) { retval 1451 drivers/net/usb/usbnet.c switch ((retval = usb_submit_urb (urb, GFP_ATOMIC))) { retval 1460 drivers/net/usb/usbnet.c "tx: submit urb err %d\n", retval); retval 1470 drivers/net/usb/usbnet.c if (retval) { retval 1471 drivers/net/usb/usbnet.c netif_dbg(dev, tx_err, dev->net, "drop, code %d\n", retval); retval 1886 drivers/net/usb/usbnet.c int retval; retval 1896 drivers/net/usb/usbnet.c retval = usb_submit_urb(res, GFP_ATOMIC); retval 1897 drivers/net/usb/usbnet.c if (retval < 0) { retval 1713 drivers/net/wan/lmc/lmc_main.c int retval = 0; retval 1740 drivers/net/wan/lmc/lmc_main.c retval = (retval << 1) | ((LMC_CSR_READ (sc, csr_9) & 0x80000) ? 1 : 0); retval 1748 drivers/net/wan/lmc/lmc_main.c return (retval >> 1) & 0xffff; retval 476 drivers/net/wan/sdla.c ret = cmd_buf->retval; retval 1517 drivers/net/wireless/admtek/adm8211.c int retval; retval 1520 drivers/net/wireless/admtek/adm8211.c retval = adm8211_hw_reset(dev); retval 1521 drivers/net/wireless/admtek/adm8211.c if (retval) { retval 1526 drivers/net/wireless/admtek/adm8211.c retval = adm8211_init_rings(dev); retval 1527 drivers/net/wireless/admtek/adm8211.c if (retval) { retval 1536 drivers/net/wireless/admtek/adm8211.c retval = request_irq(priv->pdev->irq, adm8211_interrupt, retval 1538 drivers/net/wireless/admtek/adm8211.c if (retval) { retval 1554 drivers/net/wireless/admtek/adm8211.c return retval; retval 1796 drivers/net/wireless/ath/ath10k/debug.c int retval = 0, len = 0; retval 1834 drivers/net/wireless/ath/ath10k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 1837 drivers/net/wireless/ath/ath10k/debug.c return retval; retval 656 drivers/net/wireless/ath/ath10k/debugfs_sta.c int len = 0, i, j, k, retval = 0; retval 743 drivers/net/wireless/ath/ath10k/debugfs_sta.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 747 drivers/net/wireless/ath/ath10k/debugfs_sta.c return retval; retval 1708 drivers/net/wireless/ath/ath5k/ath5k.h u32 retval = 0, bit, i; retval 1712 drivers/net/wireless/ath/ath5k/ath5k.h retval = (retval << 1) | bit; retval 1715 drivers/net/wireless/ath/ath5k/ath5k.h return retval; retval 25 drivers/net/wireless/ath/ath9k/common-debug.c size_t retval; retval 33 drivers/net/wireless/ath/ath9k/common-debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 36 drivers/net/wireless/ath/ath9k/common-debug.c return retval; retval 60 drivers/net/wireless/ath/ath9k/common-debug.c ssize_t retval = 0; retval 69 drivers/net/wireless/ath/ath9k/common-debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 72 drivers/net/wireless/ath/ath9k/common-debug.c return retval; retval 136 drivers/net/wireless/ath/ath9k/common-debug.c ssize_t retval = 0; retval 165 drivers/net/wireless/ath/ath9k/common-debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 168 drivers/net/wireless/ath/ath9k/common-debug.c return retval; retval 197 drivers/net/wireless/ath/ath9k/common-debug.c ssize_t retval = 0; retval 241 drivers/net/wireless/ath/ath9k/common-debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 244 drivers/net/wireless/ath/ath9k/common-debug.c return retval; retval 140 drivers/net/wireless/ath/ath9k/debug.c ssize_t retval = 0; retval 181 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 184 drivers/net/wireless/ath/ath9k/debug.c return retval; retval 311 drivers/net/wireless/ath/ath9k/debug.c ssize_t retval = 0; retval 391 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 394 drivers/net/wireless/ath/ath9k/debug.c return retval; retval 1000 drivers/net/wireless/ath/ath9k/debug.c size_t retval; retval 1014 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 1017 drivers/net/wireless/ath/ath9k/debug.c return retval; retval 1058 drivers/net/wireless/ath/ath9k/debug.c ssize_t retval; retval 1071 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 1074 drivers/net/wireless/ath/ath9k/debug.c return retval; retval 1120 drivers/net/wireless/ath/ath9k/debug.c ssize_t retval; retval 1133 drivers/net/wireless/ath/ath9k/debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 1136 drivers/net/wireless/ath/ath9k/debug.c return retval; retval 32 drivers/net/wireless/ath/ath9k/debug_sta.c size_t retval; retval 74 drivers/net/wireless/ath/ath9k/debug_sta.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 77 drivers/net/wireless/ath/ath9k/debug_sta.c return retval; retval 179 drivers/net/wireless/ath/ath9k/debug_sta.c size_t retval; retval 229 drivers/net/wireless/ath/ath9k/debug_sta.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 232 drivers/net/wireless/ath/ath9k/debug_sta.c return retval; retval 41 drivers/net/wireless/ath/ath9k/dfs_debug.c ssize_t retval = 0; retval 89 drivers/net/wireless/ath/ath9k/dfs_debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 92 drivers/net/wireless/ath/ath9k/dfs_debug.c return retval; retval 257 drivers/net/wireless/ath/ath9k/htc_drv_debug.c ssize_t retval = 0; retval 276 drivers/net/wireless/ath/ath9k/htc_drv_debug.c retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); retval 279 drivers/net/wireless/ath/ath9k/htc_drv_debug.c return retval; retval 157 drivers/net/wireless/ath/ath9k/hw.c u32 retval; retval 160 drivers/net/wireless/ath/ath9k/hw.c for (i = 0, retval = 0; i < n; i++) { retval 161 drivers/net/wireless/ath/ath9k/hw.c retval = (retval << 1) | (val & 1); retval 164 drivers/net/wireless/ath/ath9k/hw.c return retval; retval 1067 drivers/net/wireless/ath/ath9k/recv.c int retval; retval 1115 drivers/net/wireless/ath/ath9k/recv.c retval = ath9k_rx_skb_preprocess(sc, hdr_skb, &rs, rxs, retval 1117 drivers/net/wireless/ath/ath9k/recv.c if (retval) retval 334 drivers/net/wireless/ath/wil6210/pmc.c size_t retval = 0; retval 373 drivers/net/wireless/ath/wil6210/pmc.c retval = simple_read_from_buffer(buf, retval 378 drivers/net/wireless/ath/wil6210/pmc.c *f_pos += retval; retval 382 drivers/net/wireless/ath/wil6210/pmc.c return retval; retval 247 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c int retval; retval 249 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c retval = brcmf_sdiod_set_backplane_window(sdiodev, addr); retval 250 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (retval) retval 256 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c data = sdio_readl(sdiodev->func1, addr, &retval); retval 260 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c *ret = retval; retval 268 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c int retval; retval 270 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c retval = brcmf_sdiod_set_backplane_window(sdiodev, addr); retval 271 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c if (retval) retval 277 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c sdio_writel(sdiodev->func1, data, addr, &retval); retval 281 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c *ret = retval; retval 564 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c int retval; retval 586 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c retval = iwl_mvm_init_fw_regd(mvm); retval 587 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c if (retval != -ENOENT) retval 588 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c return retval; retval 611 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c retval = regulatory_set_wiphy_regd_sync_rtnl(mvm->hw->wiphy, regd); retval 613 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c return retval; retval 747 drivers/net/wireless/intersil/orinoco/orinoco_usb.c int retval = 0; retval 752 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = -EBUSY; retval 759 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = usb_submit_urb(upriv->read_urb, GFP_ATOMIC); retval 760 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval) retval 761 drivers/net/wireless/intersil/orinoco/orinoco_usb.c err("%s submit failed %d", __func__, retval); retval 764 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 800 drivers/net/wireless/intersil/orinoco/orinoco_usb.c int retval, addr; retval 818 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = -EINVAL; retval 822 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = ezusb_8051_cpucs(upriv, 1); retval 823 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) retval 839 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = usb_control_msg(upriv->udev, retval 848 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) retval 851 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = ezusb_8051_cpucs(upriv, 0); retval 852 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) retval 858 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval); retval 861 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 870 drivers/net/wireless/intersil/orinoco/orinoco_usb.c int retval = 0; retval 876 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = -ENODEV; retval 904 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = ctx->outurb->status; retval 926 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = -ETIMEDOUT; retval 929 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = -EFAULT; retval 946 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = -EIO; retval 957 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 1316 drivers/net/wireless/intersil/orinoco/orinoco_usb.c int retval = ezusb_8051_cpucs(upriv, 1); retval 1318 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) { retval 1320 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 1323 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = ezusb_8051_cpucs(upriv, 0); retval 1324 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) { retval 1326 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 1330 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = usb_control_msg(upriv->udev, retval 1336 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) { retval 1337 drivers/net/wireless/intersil/orinoco/orinoco_usb.c err("EZUSB_REQUEST_TRIGER failed retval %d", retval); retval 1338 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 1342 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = usb_control_msg(upriv->udev, retval 1348 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) { retval 1349 drivers/net/wireless/intersil/orinoco/orinoco_usb.c err("EZUSB_REQUEST_TRIG_AC failed retval %d", retval); retval 1350 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 1361 drivers/net/wireless/intersil/orinoco/orinoco_usb.c int retval; retval 1376 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = ezusb_write_ltv(hw, 0, EZUSB_RID_INIT1, retval 1378 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) { retval 1379 drivers/net/wireless/intersil/orinoco/orinoco_usb.c printk(KERN_ERR PFX "EZUSB_RID_INIT1 error %d\n", retval); retval 1380 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 1383 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = ezusb_docmd_wait(hw, HERMES_CMD_INIT, 0, NULL); retval 1384 drivers/net/wireless/intersil/orinoco/orinoco_usb.c if (retval < 0) { retval 1385 drivers/net/wireless/intersil/orinoco/orinoco_usb.c printk(KERN_ERR PFX "HERMES_CMD_INIT error %d\n", retval); retval 1386 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 1580 drivers/net/wireless/intersil/orinoco/orinoco_usb.c int retval = 0; retval 1587 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = -ENOMEM; retval 1720 drivers/net/wireless/intersil/orinoco/orinoco_usb.c retval = -EFAULT; retval 1728 drivers/net/wireless/intersil/orinoco/orinoco_usb.c return retval; retval 1060 drivers/net/wireless/ralink/rt2x00/rt2400pci.c int retval = 0; retval 1064 drivers/net/wireless/ralink/rt2x00/rt2400pci.c retval = rt2400pci_enable_radio(rt2x00dev); retval 1077 drivers/net/wireless/ralink/rt2x00/rt2400pci.c retval = rt2400pci_set_state(rt2x00dev, state); retval 1080 drivers/net/wireless/ralink/rt2x00/rt2400pci.c retval = -ENOTSUPP; retval 1084 drivers/net/wireless/ralink/rt2x00/rt2400pci.c if (unlikely(retval)) retval 1086 drivers/net/wireless/ralink/rt2x00/rt2400pci.c state, retval); retval 1088 drivers/net/wireless/ralink/rt2x00/rt2400pci.c return retval; retval 1607 drivers/net/wireless/ralink/rt2x00/rt2400pci.c int retval; retval 1613 drivers/net/wireless/ralink/rt2x00/rt2400pci.c retval = rt2400pci_validate_eeprom(rt2x00dev); retval 1614 drivers/net/wireless/ralink/rt2x00/rt2400pci.c if (retval) retval 1615 drivers/net/wireless/ralink/rt2x00/rt2400pci.c return retval; retval 1617 drivers/net/wireless/ralink/rt2x00/rt2400pci.c retval = rt2400pci_init_eeprom(rt2x00dev); retval 1618 drivers/net/wireless/ralink/rt2x00/rt2400pci.c if (retval) retval 1619 drivers/net/wireless/ralink/rt2x00/rt2400pci.c return retval; retval 1632 drivers/net/wireless/ralink/rt2x00/rt2400pci.c retval = rt2400pci_probe_hw_mode(rt2x00dev); retval 1633 drivers/net/wireless/ralink/rt2x00/rt2400pci.c if (retval) retval 1634 drivers/net/wireless/ralink/rt2x00/rt2400pci.c return retval; retval 1213 drivers/net/wireless/ralink/rt2x00/rt2500pci.c int retval = 0; retval 1217 drivers/net/wireless/ralink/rt2x00/rt2500pci.c retval = rt2500pci_enable_radio(rt2x00dev); retval 1230 drivers/net/wireless/ralink/rt2x00/rt2500pci.c retval = rt2500pci_set_state(rt2x00dev, state); retval 1233 drivers/net/wireless/ralink/rt2x00/rt2500pci.c retval = -ENOTSUPP; retval 1237 drivers/net/wireless/ralink/rt2x00/rt2500pci.c if (unlikely(retval)) retval 1239 drivers/net/wireless/ralink/rt2x00/rt2500pci.c state, retval); retval 1241 drivers/net/wireless/ralink/rt2x00/rt2500pci.c return retval; retval 1932 drivers/net/wireless/ralink/rt2x00/rt2500pci.c int retval; retval 1938 drivers/net/wireless/ralink/rt2x00/rt2500pci.c retval = rt2500pci_validate_eeprom(rt2x00dev); retval 1939 drivers/net/wireless/ralink/rt2x00/rt2500pci.c if (retval) retval 1940 drivers/net/wireless/ralink/rt2x00/rt2500pci.c return retval; retval 1942 drivers/net/wireless/ralink/rt2x00/rt2500pci.c retval = rt2500pci_init_eeprom(rt2x00dev); retval 1943 drivers/net/wireless/ralink/rt2x00/rt2500pci.c if (retval) retval 1944 drivers/net/wireless/ralink/rt2x00/rt2500pci.c return retval; retval 1957 drivers/net/wireless/ralink/rt2x00/rt2500pci.c retval = rt2500pci_probe_hw_mode(rt2x00dev); retval 1958 drivers/net/wireless/ralink/rt2x00/rt2500pci.c if (retval) retval 1959 drivers/net/wireless/ralink/rt2x00/rt2500pci.c return retval; retval 1022 drivers/net/wireless/ralink/rt2x00/rt2500usb.c int retval = 0; retval 1026 drivers/net/wireless/ralink/rt2x00/rt2500usb.c retval = rt2500usb_enable_radio(rt2x00dev); retval 1039 drivers/net/wireless/ralink/rt2x00/rt2500usb.c retval = rt2500usb_set_state(rt2x00dev, state); retval 1042 drivers/net/wireless/ralink/rt2x00/rt2500usb.c retval = -ENOTSUPP; retval 1046 drivers/net/wireless/ralink/rt2x00/rt2500usb.c if (unlikely(retval)) retval 1048 drivers/net/wireless/ralink/rt2x00/rt2500usb.c state, retval); retval 1050 drivers/net/wireless/ralink/rt2x00/rt2500usb.c return retval; retval 1747 drivers/net/wireless/ralink/rt2x00/rt2500usb.c int retval; retval 1753 drivers/net/wireless/ralink/rt2x00/rt2500usb.c retval = rt2500usb_validate_eeprom(rt2x00dev); retval 1754 drivers/net/wireless/ralink/rt2x00/rt2500usb.c if (retval) retval 1755 drivers/net/wireless/ralink/rt2x00/rt2500usb.c return retval; retval 1757 drivers/net/wireless/ralink/rt2x00/rt2500usb.c retval = rt2500usb_init_eeprom(rt2x00dev); retval 1758 drivers/net/wireless/ralink/rt2x00/rt2500usb.c if (retval) retval 1759 drivers/net/wireless/ralink/rt2x00/rt2500usb.c return retval; retval 1772 drivers/net/wireless/ralink/rt2x00/rt2500usb.c retval = rt2500usb_probe_hw_mode(rt2x00dev); retval 1773 drivers/net/wireless/ralink/rt2x00/rt2500usb.c if (retval) retval 1774 drivers/net/wireless/ralink/rt2x00/rt2500usb.c return retval; retval 697 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int retval; retval 700 drivers/net/wireless/ralink/rt2x00/rt2800lib.c retval = rt2800_enable_wlan_rt3290(rt2x00dev); retval 701 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (retval) retval 9258 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int retval; retval 9263 drivers/net/wireless/ralink/rt2x00/rt2800lib.c retval = rt2800_read_eeprom(rt2x00dev); retval 9264 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (retval) retval 9265 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return retval; retval 10239 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int retval; retval 10242 drivers/net/wireless/ralink/rt2x00/rt2800lib.c retval = rt2800_probe_rt(rt2x00dev); retval 10243 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (retval) retval 10244 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return retval; retval 10249 drivers/net/wireless/ralink/rt2x00/rt2800lib.c retval = rt2800_validate_eeprom(rt2x00dev); retval 10250 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (retval) retval 10251 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return retval; retval 10253 drivers/net/wireless/ralink/rt2x00/rt2800lib.c retval = rt2800_init_eeprom(rt2x00dev); retval 10254 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (retval) retval 10255 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return retval; retval 10268 drivers/net/wireless/ralink/rt2x00/rt2800lib.c retval = rt2800_probe_hw_mode(rt2x00dev); retval 10269 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (retval) retval 10270 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return retval; retval 10382 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int retval; retval 10392 drivers/net/wireless/ralink/rt2x00/rt2800lib.c retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); retval 10393 drivers/net/wireless/ralink/rt2x00/rt2800lib.c if (retval) retval 10394 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return retval; retval 830 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c int retval; retval 832 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c retval = rt2800_probe_hw(rt2x00dev); retval 833 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c if (retval) retval 834 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c return retval; retval 198 drivers/net/wireless/ralink/rt2x00/rt2800pci.c int retval; retval 200 drivers/net/wireless/ralink/rt2x00/rt2800pci.c retval = rt2800mmio_enable_radio(rt2x00dev); retval 201 drivers/net/wireless/ralink/rt2x00/rt2800pci.c if (retval) retval 202 drivers/net/wireless/ralink/rt2x00/rt2800pci.c return retval; retval 214 drivers/net/wireless/ralink/rt2x00/rt2800pci.c return retval; retval 239 drivers/net/wireless/ralink/rt2x00/rt2800pci.c int retval = 0; retval 243 drivers/net/wireless/ralink/rt2x00/rt2800pci.c retval = rt2800pci_enable_radio(rt2x00dev); retval 260 drivers/net/wireless/ralink/rt2x00/rt2800pci.c retval = rt2800pci_set_state(rt2x00dev, state); retval 263 drivers/net/wireless/ralink/rt2x00/rt2800pci.c retval = -ENOTSUPP; retval 267 drivers/net/wireless/ralink/rt2x00/rt2800pci.c if (unlikely(retval)) retval 269 drivers/net/wireless/ralink/rt2x00/rt2800pci.c state, retval); retval 271 drivers/net/wireless/ralink/rt2x00/rt2800pci.c return retval; retval 279 drivers/net/wireless/ralink/rt2x00/rt2800pci.c int retval; retval 282 drivers/net/wireless/ralink/rt2x00/rt2800pci.c retval = rt2800pci_read_eeprom_efuse(rt2x00dev); retval 284 drivers/net/wireless/ralink/rt2x00/rt2800pci.c retval = rt2800pci_read_eeprom_pci(rt2x00dev); retval 286 drivers/net/wireless/ralink/rt2x00/rt2800pci.c return retval; retval 57 drivers/net/wireless/ralink/rt2x00/rt2800soc.c int retval = 0; retval 61 drivers/net/wireless/ralink/rt2x00/rt2800soc.c retval = rt2800mmio_enable_radio(rt2x00dev); retval 78 drivers/net/wireless/ralink/rt2x00/rt2800soc.c retval = 0; retval 82 drivers/net/wireless/ralink/rt2x00/rt2800soc.c retval = -ENOTSUPP; retval 86 drivers/net/wireless/ralink/rt2x00/rt2800soc.c if (unlikely(retval)) retval 88 drivers/net/wireless/ralink/rt2x00/rt2800soc.c state, retval); retval 90 drivers/net/wireless/ralink/rt2x00/rt2800soc.c return retval; retval 216 drivers/net/wireless/ralink/rt2x00/rt2800usb.c int retval; retval 234 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = rt2800usb_autorun_detect(rt2x00dev); retval 235 drivers/net/wireless/ralink/rt2x00/rt2800usb.c if (retval < 0) retval 236 drivers/net/wireless/ralink/rt2x00/rt2800usb.c return retval; retval 237 drivers/net/wireless/ralink/rt2x00/rt2800usb.c if (retval) { retval 339 drivers/net/wireless/ralink/rt2x00/rt2800usb.c int retval = 0; retval 350 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = rt2800usb_enable_radio(rt2x00dev); retval 368 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = rt2800usb_set_state(rt2x00dev, state); retval 371 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = -ENOTSUPP; retval 375 drivers/net/wireless/ralink/rt2x00/rt2800usb.c if (unlikely(retval)) retval 377 drivers/net/wireless/ralink/rt2x00/rt2800usb.c state, retval); retval 379 drivers/net/wireless/ralink/rt2x00/rt2800usb.c return retval; retval 584 drivers/net/wireless/ralink/rt2x00/rt2800usb.c int retval; retval 586 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = rt2800usb_autorun_detect(rt2x00dev); retval 587 drivers/net/wireless/ralink/rt2x00/rt2800usb.c if (retval < 0) retval 588 drivers/net/wireless/ralink/rt2x00/rt2800usb.c return retval; retval 589 drivers/net/wireless/ralink/rt2x00/rt2800usb.c if (retval) retval 596 drivers/net/wireless/ralink/rt2x00/rt2800usb.c int retval; retval 598 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = rt2800usb_efuse_detect(rt2x00dev); retval 599 drivers/net/wireless/ralink/rt2x00/rt2800usb.c if (retval < 0) retval 600 drivers/net/wireless/ralink/rt2x00/rt2800usb.c return retval; retval 601 drivers/net/wireless/ralink/rt2x00/rt2800usb.c if (retval) retval 602 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = rt2800_read_eeprom_efuse(rt2x00dev); retval 604 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, retval 607 drivers/net/wireless/ralink/rt2x00/rt2800usb.c return retval; retval 612 drivers/net/wireless/ralink/rt2x00/rt2800usb.c int retval; retval 614 drivers/net/wireless/ralink/rt2x00/rt2800usb.c retval = rt2800_probe_hw(rt2x00dev); retval 615 drivers/net/wireless/ralink/rt2x00/rt2800usb.c if (retval) retval 616 drivers/net/wireless/ralink/rt2x00/rt2800usb.c return retval; retval 216 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c int retval; retval 218 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c retval = rt2x00debug_file_open(inode, file); retval 219 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c if (retval) retval 220 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c return retval; retval 249 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c int retval; retval 254 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c retval = retval 258 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c if (retval) retval 259 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c return retval; retval 1256 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c int retval = 0; retval 1272 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c retval = rt2x00lib_load_firmware(rt2x00dev); retval 1273 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (retval) retval 1279 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c retval = rt2x00lib_initialize(rt2x00dev); retval 1280 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (retval) retval 1288 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c retval = rt2x00lib_enable_radio(rt2x00dev); retval 1289 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (retval) retval 1296 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c return retval; retval 1365 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c int retval = -ENOMEM; retval 1379 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c retval = -ENOMEM; retval 1413 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c retval = -ENOMEM; retval 1424 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c retval = rt2x00dev->ops->lib->probe_hw(rt2x00dev); retval 1425 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (retval) { retval 1433 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c retval = rt2x00queue_allocate(rt2x00dev); retval 1434 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (retval) retval 1465 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c retval = rt2x00lib_probe_hw(rt2x00dev); retval 1466 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (retval) { retval 1489 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c return retval; retval 25 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c int retval; retval 40 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c retval = request_firmware(&fw, fw_name, device); retval 41 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c if (retval) { retval 43 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c return retval; retval 58 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c retval = rt2x00dev->ops->lib->check_firmware(rt2x00dev, fw->data, fw->size); retval 59 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c switch (retval) { retval 86 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c int retval; retval 92 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c retval = rt2x00lib_request_firmware(rt2x00dev); retval 93 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c if (retval) retval 94 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c return retval; retval 100 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c retval = rt2x00dev->ops->lib->load_firmware(rt2x00dev, retval 111 drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c return retval; retval 96 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c int retval; retval 101 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c retval = led_classdev_register(device, &led->led_dev); retval 102 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c if (retval) { retval 104 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c return retval; retval 115 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c int retval; retval 124 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c retval = rt2x00leds_register_led(rt2x00dev, retval 127 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c if (retval) retval 135 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c retval = rt2x00leds_register_led(rt2x00dev, retval 138 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c if (retval) retval 146 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c retval = rt2x00leds_register_led(rt2x00dev, retval 149 drivers/net/wireless/ralink/rt2x00/rt2x00leds.c if (retval) retval 27 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c int retval = 0; retval 80 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c retval = rt2x00queue_write_tx_frame(queue, skb, NULL, true); retval 81 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (retval) { retval 86 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c return retval; retval 69 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c int retval; retval 72 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c retval = pci_enable_device(pci_dev); retval 73 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c if (retval) { retval 75 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c return retval; retval 78 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c retval = pci_request_regions(pci_dev, pci_name(pci_dev)); retval 79 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c if (retval) { retval 91 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c retval = -EIO; retval 98 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c retval = -ENOMEM; retval 116 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c retval = rt2x00pci_alloc_reg(rt2x00dev); retval 117 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c if (retval) retval 128 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c retval = rt2x00lib_probe_dev(rt2x00dev); retval 129 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c if (retval) retval 147 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c return retval; retval 177 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c int retval; retval 179 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c retval = rt2x00lib_suspend(rt2x00dev, state); retval 180 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c if (retval) retval 181 drivers/net/wireless/ralink/rt2x00/rt2x00pci.c return retval; retval 68 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c int retval; retval 91 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c retval = rt2x00soc_alloc_reg(rt2x00dev); retval 92 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c if (retval) retval 95 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c retval = rt2x00lib_probe_dev(rt2x00dev); retval 96 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c if (retval) retval 107 drivers/net/wireless/ralink/rt2x00/rt2x00soc.c return retval; retval 800 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c int retval; retval 808 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c retval = -ENOMEM; retval 826 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c retval = rt2x00usb_alloc_reg(rt2x00dev); retval 827 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c if (retval) retval 834 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c retval = -ENOMEM; retval 839 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c retval = rt2x00lib_probe_dev(rt2x00dev); retval 840 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c if (retval) retval 859 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c return retval; retval 1741 drivers/net/wireless/ralink/rt2x00/rt61pci.c int retval = 0; retval 1745 drivers/net/wireless/ralink/rt2x00/rt61pci.c retval = rt61pci_enable_radio(rt2x00dev); retval 1758 drivers/net/wireless/ralink/rt2x00/rt61pci.c retval = rt61pci_set_state(rt2x00dev, state); retval 1761 drivers/net/wireless/ralink/rt2x00/rt61pci.c retval = -ENOTSUPP; retval 1765 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (unlikely(retval)) retval 1767 drivers/net/wireless/ralink/rt2x00/rt61pci.c state, retval); retval 1769 drivers/net/wireless/ralink/rt2x00/rt61pci.c return retval; retval 2737 drivers/net/wireless/ralink/rt2x00/rt61pci.c int retval; retval 2748 drivers/net/wireless/ralink/rt2x00/rt61pci.c retval = rt61pci_validate_eeprom(rt2x00dev); retval 2749 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (retval) retval 2750 drivers/net/wireless/ralink/rt2x00/rt61pci.c return retval; retval 2752 drivers/net/wireless/ralink/rt2x00/rt61pci.c retval = rt61pci_init_eeprom(rt2x00dev); retval 2753 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (retval) retval 2754 drivers/net/wireless/ralink/rt2x00/rt61pci.c return retval; retval 2767 drivers/net/wireless/ralink/rt2x00/rt61pci.c retval = rt61pci_probe_hw_mode(rt2x00dev); retval 2768 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (retval) retval 2769 drivers/net/wireless/ralink/rt2x00/rt61pci.c return retval; retval 2804 drivers/net/wireless/ralink/rt2x00/rt61pci.c int retval; retval 2814 drivers/net/wireless/ralink/rt2x00/rt61pci.c retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); retval 2815 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (retval) retval 2816 drivers/net/wireless/ralink/rt2x00/rt61pci.c return retval; retval 1410 drivers/net/wireless/ralink/rt2x00/rt73usb.c int retval = 0; retval 1414 drivers/net/wireless/ralink/rt2x00/rt73usb.c retval = rt73usb_enable_radio(rt2x00dev); retval 1427 drivers/net/wireless/ralink/rt2x00/rt73usb.c retval = rt73usb_set_state(rt2x00dev, state); retval 1430 drivers/net/wireless/ralink/rt2x00/rt73usb.c retval = -ENOTSUPP; retval 1434 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (unlikely(retval)) retval 1436 drivers/net/wireless/ralink/rt2x00/rt73usb.c state, retval); retval 1438 drivers/net/wireless/ralink/rt2x00/rt73usb.c return retval; retval 2165 drivers/net/wireless/ralink/rt2x00/rt73usb.c int retval; retval 2171 drivers/net/wireless/ralink/rt2x00/rt73usb.c retval = rt73usb_validate_eeprom(rt2x00dev); retval 2172 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (retval) retval 2173 drivers/net/wireless/ralink/rt2x00/rt73usb.c return retval; retval 2175 drivers/net/wireless/ralink/rt2x00/rt73usb.c retval = rt73usb_init_eeprom(rt2x00dev); retval 2176 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (retval) retval 2177 drivers/net/wireless/ralink/rt2x00/rt73usb.c return retval; retval 2190 drivers/net/wireless/ralink/rt2x00/rt73usb.c retval = rt73usb_probe_hw_mode(rt2x00dev); retval 2191 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (retval) retval 2192 drivers/net/wireless/ralink/rt2x00/rt73usb.c return retval; retval 2227 drivers/net/wireless/ralink/rt2x00/rt73usb.c int retval; retval 2237 drivers/net/wireless/ralink/rt2x00/rt73usb.c retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); retval 2238 drivers/net/wireless/ralink/rt2x00/rt73usb.c if (retval) retval 2239 drivers/net/wireless/ralink/rt2x00/rt73usb.c return retval; retval 1400 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c int retry, retval; retval 1405 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c retval = -EBUSY; retval 1412 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c retval = 0; retval 1419 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c retval = -EBUSY; retval 1450 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c return retval; retval 810 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u32 hssia, val32, retval; retval 835 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = rtl8xxxu_read32(priv, rtl8xxxu_rfregs[path].hspiread); retval 837 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = rtl8xxxu_read32(priv, rtl8xxxu_rfregs[path].lssiread); retval 839 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval &= 0xfffff; retval 843 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c __func__, reg, retval); retval 844 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c return retval; retval 855 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c int ret, retval; retval 874 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = -EIO; retval 876 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = 0; retval 886 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c return retval; retval 893 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c int mbox_nr, retry, retval = 0; retval 915 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = -EBUSY; retval 936 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c return retval; retval 943 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c int mbox_nr, retry, retval = 0; retval 965 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = -EBUSY; retval 987 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c return retval; retval 2810 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c bool retval = true; retval 2842 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = false; retval 2845 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c return retval; retval 2865 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c bool retval = true; retval 2911 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = false; retval 2914 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c return retval; retval 3700 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c int retry, retval; retval 3709 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = -EBUSY; retval 3714 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = 0; retval 3726 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c return retval; retval 5671 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c int retval = -EOPNOTSUPP; retval 5719 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = 0; retval 5726 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c retval = 0; retval 5732 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c return retval; retval 507 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c u8 retval = ERFON; retval 523 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c retval = (u1tmp & HAL_8192S_HW_GPIO_OFF_BIT) ? ERFON : ERFOFF; retval 525 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c return retval; retval 3114 drivers/net/wireless/rndis_wlan.c int len, retval, i, n; retval 3119 drivers/net/wireless/rndis_wlan.c retval = rndis_query_oid(usbdev, retval 3122 drivers/net/wireless/rndis_wlan.c if (retval >= 0) { retval 3145 drivers/net/wireless/rndis_wlan.c retval = rndis_query_oid(usbdev, retval 3148 drivers/net/wireless/rndis_wlan.c if (retval >= 0) { retval 3159 drivers/net/wireless/rndis_wlan.c return retval; retval 3400 drivers/net/wireless/rndis_wlan.c int retval, len; retval 3435 drivers/net/wireless/rndis_wlan.c retval = generic_rndis_bind(usbdev, intf, FLAG_RNDIS_PHYM_WIRELESS); retval 3436 drivers/net/wireless/rndis_wlan.c if (retval < 0) retval 3449 drivers/net/wireless/rndis_wlan.c retval = rndis_set_oid(usbdev, retval 3454 drivers/net/wireless/rndis_wlan.c retval = rndis_query_oid(usbdev, retval 3458 drivers/net/wireless/rndis_wlan.c if (retval < 0 || priv->multicast_size < 0) retval 3492 drivers/net/wireless/rndis_wlan.c retval = -ENODEV; retval 3519 drivers/net/wireless/rndis_wlan.c return retval; retval 3544 drivers/net/wireless/rndis_wlan.c int retval; retval 3548 drivers/net/wireless/rndis_wlan.c retval = rndis_reset(usbdev); retval 3549 drivers/net/wireless/rndis_wlan.c if (retval) retval 3550 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "rndis_reset failed: %d\n", retval); retval 3565 drivers/net/wireless/rndis_wlan.c int retval; retval 3570 drivers/net/wireless/rndis_wlan.c retval = disassociate(usbdev, false); retval 3593 drivers/net/wireless/rndis_wlan.c return retval; retval 163 drivers/oprofile/event_buffer.c int retval = -EINVAL; retval 183 drivers/oprofile/event_buffer.c retval = -EINTR; retval 189 drivers/oprofile/event_buffer.c retval = -EFAULT; retval 196 drivers/oprofile/event_buffer.c retval = count; retval 201 drivers/oprofile/event_buffer.c return retval; retval 42 drivers/oprofile/oprofile_files.c int retval; retval 47 drivers/oprofile/oprofile_files.c retval = oprofilefs_ulong_from_user(&val, buf, count); retval 48 drivers/oprofile/oprofile_files.c if (retval <= 0) retval 49 drivers/oprofile/oprofile_files.c return retval; retval 51 drivers/oprofile/oprofile_files.c retval = oprofile_set_timeout(val); retval 53 drivers/oprofile/oprofile_files.c if (retval) retval 54 drivers/oprofile/oprofile_files.c return retval; retval 78 drivers/oprofile/oprofile_files.c int retval; retval 86 drivers/oprofile/oprofile_files.c retval = oprofilefs_ulong_from_user(&val, buf, count); retval 87 drivers/oprofile/oprofile_files.c if (retval <= 0) retval 88 drivers/oprofile/oprofile_files.c return retval; retval 90 drivers/oprofile/oprofile_files.c retval = oprofile_set_ulong(&oprofile_backtrace_depth, val); retval 91 drivers/oprofile/oprofile_files.c if (retval) retval 92 drivers/oprofile/oprofile_files.c return retval; retval 138 drivers/oprofile/oprofile_files.c int retval; retval 143 drivers/oprofile/oprofile_files.c retval = oprofilefs_ulong_from_user(&val, buf, count); retval 144 drivers/oprofile/oprofile_files.c if (retval <= 0) retval 145 drivers/oprofile/oprofile_files.c return retval; retval 147 drivers/oprofile/oprofile_files.c retval = 0; retval 149 drivers/oprofile/oprofile_files.c retval = oprofile_start(); retval 153 drivers/oprofile/oprofile_files.c if (retval) retval 154 drivers/oprofile/oprofile_files.c return retval; retval 104 drivers/oprofile/oprofilefs.c int retval; retval 109 drivers/oprofile/oprofilefs.c retval = oprofilefs_ulong_from_user(&value, buf, count); retval 110 drivers/oprofile/oprofilefs.c if (retval <= 0) retval 111 drivers/oprofile/oprofilefs.c return retval; retval 113 drivers/oprofile/oprofilefs.c retval = oprofile_set_ulong(file->private_data, value); retval 114 drivers/oprofile/oprofilefs.c if (retval) retval 115 drivers/oprofile/oprofilefs.c return retval; retval 84 drivers/parisc/eisa_eeprom.c int retval; retval 89 drivers/parisc/eisa_eeprom.c retval = misc_register(&eisa_eeprom_dev); retval 90 drivers/parisc/eisa_eeprom.c if (retval < 0) { retval 92 drivers/parisc/eisa_eeprom.c return retval; retval 356 drivers/parisc/led.c int retval; retval 376 drivers/parisc/led.c retval = 0; retval 380 drivers/parisc/led.c retval |= LED_LAN_RCV; retval 385 drivers/parisc/led.c retval |= LED_LAN_TX; retval 388 drivers/parisc/led.c return retval; retval 387 drivers/parisc/superio.c int retval; retval 401 drivers/parisc/superio.c retval = early_serial_setup(&serial_port); retval 402 drivers/parisc/superio.c if (retval < 0) { retval 411 drivers/parisc/superio.c retval = early_serial_setup(&serial_port); retval 412 drivers/parisc/superio.c if (retval < 0) retval 605 drivers/parport/ieee1284.c ssize_t retval; retval 670 drivers/parport/ieee1284.c retval = (*fn) (port, buffer, len, 0); retval 671 drivers/parport/ieee1284.c DPRINTK (KERN_DEBUG "%s: wrote %d/%d bytes\n", port->name, retval, len); retval 672 drivers/parport/ieee1284.c return retval; retval 337 drivers/parport/ieee1284_ops.c int retval; retval 352 drivers/parport/ieee1284_ops.c retval = parport_wait_peripheral (port, retval 355 drivers/parport/ieee1284_ops.c if (!retval) { retval 365 drivers/parport/ieee1284_ops.c return retval; retval 371 drivers/parport/ieee1284_ops.c int retval; retval 381 drivers/parport/ieee1284_ops.c retval = parport_wait_peripheral (port, retval 385 drivers/parport/ieee1284_ops.c if (!retval) { retval 398 drivers/parport/ieee1284_ops.c return retval; retval 144 drivers/parport/probe.c ssize_t retval; retval 148 drivers/parport/probe.c retval = parport_read (port, length, 2); retval 150 drivers/parport/probe.c if (retval < 0) retval 151 drivers/parport/probe.c return retval; retval 152 drivers/parport/probe.c if (retval != 2) retval 196 drivers/parport/probe.c retval = parport_read (port, buffer+len, idlen-len); retval 198 drivers/parport/probe.c if (retval < 0) retval 199 drivers/parport/probe.c return retval; retval 200 drivers/parport/probe.c len += retval; retval 229 drivers/parport/probe.c retval = parport_read (port, buffer+len, count-len-1); retval 230 drivers/parport/probe.c if (retval < 0) retval 231 drivers/parport/probe.c return retval; retval 232 drivers/parport/probe.c len += retval; retval 239 drivers/parport/probe.c while(len2 < idlen && retval > 0) { retval 241 drivers/parport/probe.c retval = parport_read (port, tmp, retval 243 drivers/parport/probe.c if (retval < 0) retval 244 drivers/parport/probe.c return retval; retval 245 drivers/parport/probe.c len2 += retval; retval 259 drivers/parport/probe.c ssize_t retval = -ENXIO; retval 270 drivers/parport/probe.c retval = parport_negotiate (dev->port, retval 273 drivers/parport/probe.c if (!retval) { retval 274 drivers/parport/probe.c retval = parport_read_device_id (dev->port, buffer, count); retval 276 drivers/parport/probe.c if (retval > 2) retval 282 drivers/parport/probe.c return retval; retval 311 drivers/pci/bus.c int retval; retval 324 drivers/pci/bus.c retval = device_attach(&dev->dev); retval 325 drivers/pci/bus.c if (retval < 0 && retval != -EPROBE_DEFER) { retval 326 drivers/pci/bus.c pci_warn(dev, "device attach failed (%d)\n", retval); retval 384 drivers/pci/bus.c int retval; retval 406 drivers/pci/bus.c retval = cb(dev, userdata); retval 407 drivers/pci/bus.c if (retval) retval 34 drivers/pci/controller/pci-versatile.c int retval; retval 37 drivers/pci/controller/pci-versatile.c while ((retval = get_option(&str, &slot))) { retval 80 drivers/pci/hotplug/acpiphp_core.c int retval = -EINVAL; retval 84 drivers/pci/hotplug/acpiphp_core.c retval = 0; retval 87 drivers/pci/hotplug/acpiphp_core.c return retval; retval 102 drivers/pci/hotplug/acpiphp_core.c int retval = -EINVAL; retval 106 drivers/pci/hotplug/acpiphp_core.c retval = 0; retval 108 drivers/pci/hotplug/acpiphp_core.c return retval; retval 158 drivers/pci/hotplug/acpiphp_core.c int retval = -ENODEV; retval 164 drivers/pci/hotplug/acpiphp_core.c retval = attention_info->set_attn(hotplug_slot, status); retval 168 drivers/pci/hotplug/acpiphp_core.c return retval; retval 204 drivers/pci/hotplug/acpiphp_core.c int retval = -EINVAL; retval 210 drivers/pci/hotplug/acpiphp_core.c retval = attention_info->get_attn(hotplug_slot, value); retval 214 drivers/pci/hotplug/acpiphp_core.c return retval; retval 262 drivers/pci/hotplug/acpiphp_core.c int retval = -ENOMEM; retval 277 drivers/pci/hotplug/acpiphp_core.c retval = pci_hp_register(&slot->hotplug_slot, acpiphp_slot->bus, retval 279 drivers/pci/hotplug/acpiphp_core.c if (retval == -EBUSY) retval 281 drivers/pci/hotplug/acpiphp_core.c if (retval) { retval 282 drivers/pci/hotplug/acpiphp_core.c pr_err("pci_hp_register failed with error %d\n", retval); retval 292 drivers/pci/hotplug/acpiphp_core.c return retval; retval 297 drivers/pci/hotplug/acpiphp_glue.c int retval; retval 307 drivers/pci/hotplug/acpiphp_glue.c retval = acpiphp_register_hotplug_slot(slot, sun); retval 308 drivers/pci/hotplug/acpiphp_glue.c if (retval) { retval 311 drivers/pci/hotplug/acpiphp_glue.c if (retval == -EBUSY) retval 314 drivers/pci/hotplug/acpiphp_glue.c pr_warn("acpiphp_register_hotplug_slot failed (err code = 0x%x)\n", retval); retval 391 drivers/pci/hotplug/acpiphp_ibm.c int retval = 0; retval 397 drivers/pci/hotplug/acpiphp_ibm.c return retval; retval 413 drivers/pci/hotplug/acpiphp_ibm.c retval = FOUND_APCI; retval 416 drivers/pci/hotplug/acpiphp_ibm.c return retval; retval 421 drivers/pci/hotplug/acpiphp_ibm.c int retval = 0; retval 432 drivers/pci/hotplug/acpiphp_ibm.c retval = -ENODEV; retval 438 drivers/pci/hotplug/acpiphp_ibm.c retval = -ENODEV; retval 442 drivers/pci/hotplug/acpiphp_ibm.c retval = -ENODEV; retval 453 drivers/pci/hotplug/acpiphp_ibm.c retval = -EBUSY; retval 458 drivers/pci/hotplug/acpiphp_ibm.c retval = sysfs_create_bin_file(sysdir, &ibm_apci_table_attr); retval 460 drivers/pci/hotplug/acpiphp_ibm.c return retval; retval 465 drivers/pci/hotplug/acpiphp_ibm.c return retval; retval 74 drivers/pci/hotplug/cpci_hotplug_core.c int retval = 0; retval 79 drivers/pci/hotplug/cpci_hotplug_core.c retval = controller->ops->set_power(slot, 1); retval 80 drivers/pci/hotplug/cpci_hotplug_core.c return retval; retval 87 drivers/pci/hotplug/cpci_hotplug_core.c int retval = 0; retval 95 drivers/pci/hotplug/cpci_hotplug_core.c retval = cpci_unconfigure_slot(slot); retval 96 drivers/pci/hotplug/cpci_hotplug_core.c if (retval) { retval 107 drivers/pci/hotplug/cpci_hotplug_core.c retval = -ENODEV; retval 113 drivers/pci/hotplug/cpci_hotplug_core.c retval = controller->ops->set_power(slot, 0); retval 114 drivers/pci/hotplug/cpci_hotplug_core.c if (retval) retval 126 drivers/pci/hotplug/cpci_hotplug_core.c return retval; retval 707 drivers/pci/hotplug/cpqphp.h int retval = 0; retval 715 drivers/pci/hotplug/cpqphp.h retval = -EINTR; retval 718 drivers/pci/hotplug/cpqphp.h return retval; retval 683 drivers/pci/hotplug/cpqphp_core.c int retval = 0; retval 690 drivers/pci/hotplug/cpqphp_core.c retval = init_cpqhp_routing_table(); retval 691 drivers/pci/hotplug/cpqphp_core.c if (retval) retval 699 drivers/pci/hotplug/cpqphp_core.c retval = cpqhp_event_start_thread(); retval 700 drivers/pci/hotplug/cpqphp_core.c if (retval) retval 715 drivers/pci/hotplug/cpqphp_core.c retval = -EIO; retval 729 drivers/pci/hotplug/cpqphp_core.c retval = -EIO; retval 737 drivers/pci/hotplug/cpqphp_core.c retval = -EIO; retval 743 drivers/pci/hotplug/cpqphp_core.c return retval; retval 750 drivers/pci/hotplug/cpqphp_core.c return retval; retval 135 drivers/pci/hotplug/cpqphp_sysfs.c int retval = -ENOMEM; retval 148 drivers/pci/hotplug/cpqphp_sysfs.c retval = 0; retval 151 drivers/pci/hotplug/cpqphp_sysfs.c return retval; retval 189 drivers/pci/hotplug/ibmphp_core.c int retval; retval 191 drivers/pci/hotplug/ibmphp_core.c retval = ibmphp_hpc_writeslot(slot_cur, cmd); retval 192 drivers/pci/hotplug/ibmphp_core.c if (retval) { retval 194 drivers/pci/hotplug/ibmphp_core.c return retval; retval 207 drivers/pci/hotplug/ibmphp_core.c int retval; retval 209 drivers/pci/hotplug/ibmphp_core.c retval = ibmphp_hpc_writeslot(slot_cur, cmd); retval 210 drivers/pci/hotplug/ibmphp_core.c if (retval) { retval 212 drivers/pci/hotplug/ibmphp_core.c return retval; retval 216 drivers/pci/hotplug/ibmphp_core.c retval = -EIO; retval 218 drivers/pci/hotplug/ibmphp_core.c return retval; retval 475 drivers/pci/hotplug/ibmphp_core.c int retval; retval 495 drivers/pci/hotplug/ibmphp_core.c retval = slot_update(&slot_cur); retval 496 drivers/pci/hotplug/ibmphp_core.c if (retval) retval 497 drivers/pci/hotplug/ibmphp_core.c return retval; retval 532 drivers/pci/hotplug/ibmphp_core.c int retval; retval 541 drivers/pci/hotplug/ibmphp_core.c retval = slot_update(&slot_cur); retval 542 drivers/pci/hotplug/ibmphp_core.c if (retval) retval 543 drivers/pci/hotplug/ibmphp_core.c return retval; retval 814 drivers/pci/hotplug/ibmphp_core.c int retval; retval 882 drivers/pci/hotplug/ibmphp_core.c retval = ibmphp_hpc_writeslot(slot_cur, cmd); retval 883 drivers/pci/hotplug/ibmphp_core.c if (retval) { retval 885 drivers/pci/hotplug/ibmphp_core.c return retval; retval 576 drivers/pci/hotplug/ibmphp_pci.c int retval; retval 655 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 686 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 701 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 741 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 811 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 832 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 853 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 867 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 897 drivers/pci/hotplug/ibmphp_pci.c retval = -ENOMEM; retval 907 drivers/pci/hotplug/ibmphp_pci.c retval = -EIO; retval 916 drivers/pci/hotplug/ibmphp_pci.c retval = rc; retval 1014 drivers/pci/hotplug/ibmphp_pci.c retval = -EIO; retval 1038 drivers/pci/hotplug/ibmphp_pci.c return retval; retval 53 drivers/pci/hotplug/pci_hotplug_core.c int retval = 0; \ retval 57 drivers/pci/hotplug/pci_hotplug_core.c retval = ops->get_##name(slot, value); \ retval 59 drivers/pci/hotplug/pci_hotplug_core.c return retval; \ retval 69 drivers/pci/hotplug/pci_hotplug_core.c int retval; retval 72 drivers/pci/hotplug/pci_hotplug_core.c retval = get_power_status(pci_slot->hotplug, &value); retval 73 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 74 drivers/pci/hotplug/pci_hotplug_core.c return retval; retval 85 drivers/pci/hotplug/pci_hotplug_core.c int retval = 0; retval 92 drivers/pci/hotplug/pci_hotplug_core.c retval = -ENODEV; retval 98 drivers/pci/hotplug/pci_hotplug_core.c retval = slot->ops->disable_slot(slot); retval 103 drivers/pci/hotplug/pci_hotplug_core.c retval = slot->ops->enable_slot(slot); retval 108 drivers/pci/hotplug/pci_hotplug_core.c retval = -EINVAL; retval 113 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 114 drivers/pci/hotplug/pci_hotplug_core.c return retval; retval 126 drivers/pci/hotplug/pci_hotplug_core.c int retval; retval 129 drivers/pci/hotplug/pci_hotplug_core.c retval = get_attention_status(pci_slot->hotplug, &value); retval 130 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 131 drivers/pci/hotplug/pci_hotplug_core.c return retval; retval 143 drivers/pci/hotplug/pci_hotplug_core.c int retval = 0; retval 150 drivers/pci/hotplug/pci_hotplug_core.c retval = -ENODEV; retval 154 drivers/pci/hotplug/pci_hotplug_core.c retval = ops->set_attention_status(slot, attention); retval 158 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 159 drivers/pci/hotplug/pci_hotplug_core.c return retval; retval 171 drivers/pci/hotplug/pci_hotplug_core.c int retval; retval 174 drivers/pci/hotplug/pci_hotplug_core.c retval = get_latch_status(pci_slot->hotplug, &value); retval 175 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 176 drivers/pci/hotplug/pci_hotplug_core.c return retval; retval 188 drivers/pci/hotplug/pci_hotplug_core.c int retval; retval 191 drivers/pci/hotplug/pci_hotplug_core.c retval = get_adapter_status(pci_slot->hotplug, &value); retval 192 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 193 drivers/pci/hotplug/pci_hotplug_core.c return retval; retval 209 drivers/pci/hotplug/pci_hotplug_core.c int retval = 0; retval 216 drivers/pci/hotplug/pci_hotplug_core.c retval = -ENODEV; retval 220 drivers/pci/hotplug/pci_hotplug_core.c retval = slot->ops->hardware_test(slot, test); retval 224 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 225 drivers/pci/hotplug/pci_hotplug_core.c return retval; retval 294 drivers/pci/hotplug/pci_hotplug_core.c int retval = 0; retval 300 drivers/pci/hotplug/pci_hotplug_core.c retval = sysfs_create_file(&pci_slot->kobj, retval 302 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 307 drivers/pci/hotplug/pci_hotplug_core.c retval = sysfs_create_file(&pci_slot->kobj, retval 309 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 314 drivers/pci/hotplug/pci_hotplug_core.c retval = sysfs_create_file(&pci_slot->kobj, retval 316 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 321 drivers/pci/hotplug/pci_hotplug_core.c retval = sysfs_create_file(&pci_slot->kobj, retval 323 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 328 drivers/pci/hotplug/pci_hotplug_core.c retval = sysfs_create_file(&pci_slot->kobj, retval 330 drivers/pci/hotplug/pci_hotplug_core.c if (retval) retval 353 drivers/pci/hotplug/pci_hotplug_core.c return retval; retval 54 drivers/pci/hotplug/pciehp_core.c int retval; retval 80 drivers/pci/hotplug/pciehp_core.c retval = pci_hp_initialize(&ctrl->hotplug_slot, retval 82 drivers/pci/hotplug/pciehp_core.c if (retval) { retval 83 drivers/pci/hotplug/pciehp_core.c ctrl_err(ctrl, "pci_hp_initialize failed: error %d\n", retval); retval 86 drivers/pci/hotplug/pciehp_core.c return retval; retval 357 drivers/pci/hotplug/pciehp_core.c int retval = 0; retval 359 drivers/pci/hotplug/pciehp_core.c retval = pcie_port_service_register(&hpdriver_portdrv); retval 360 drivers/pci/hotplug/pciehp_core.c pr_debug("pcie_port_service_register = %d\n", retval); retval 361 drivers/pci/hotplug/pciehp_core.c if (retval) retval 364 drivers/pci/hotplug/pciehp_core.c return retval; retval 61 drivers/pci/hotplug/pciehp_ctrl.c int retval = 0; retval 66 drivers/pci/hotplug/pciehp_ctrl.c retval = pciehp_power_on_slot(ctrl); retval 67 drivers/pci/hotplug/pciehp_ctrl.c if (retval) retval 68 drivers/pci/hotplug/pciehp_ctrl.c return retval; retval 75 drivers/pci/hotplug/pciehp_ctrl.c retval = pciehp_check_link_status(ctrl); retval 76 drivers/pci/hotplug/pciehp_ctrl.c if (retval) { retval 84 drivers/pci/hotplug/pciehp_ctrl.c retval = -EIO; retval 88 drivers/pci/hotplug/pciehp_ctrl.c retval = pciehp_configure_device(ctrl); retval 89 drivers/pci/hotplug/pciehp_ctrl.c if (retval) { retval 90 drivers/pci/hotplug/pciehp_ctrl.c if (retval != -EEXIST) { retval 103 drivers/pci/hotplug/pciehp_ctrl.c return retval; retval 40 drivers/pci/hotplug/pciehp_hpc.c int retval, irq = ctrl->pcie->irq; retval 50 drivers/pci/hotplug/pciehp_hpc.c retval = request_threaded_irq(irq, pciehp_isr, pciehp_ist, retval 52 drivers/pci/hotplug/pciehp_hpc.c if (retval) retval 55 drivers/pci/hotplug/pciehp_hpc.c return retval; retval 498 drivers/pci/hotplug/pciehp_hpc.c int retval; retval 512 drivers/pci/hotplug/pciehp_hpc.c retval = pciehp_link_enable(ctrl); retval 513 drivers/pci/hotplug/pciehp_hpc.c if (retval) retval 516 drivers/pci/hotplug/pciehp_hpc.c return retval; retval 81 drivers/pci/hotplug/rpaphp_core.c int retval, level; retval 84 drivers/pci/hotplug/rpaphp_core.c retval = rtas_get_power_level(slot->power_domain, &level); retval 85 drivers/pci/hotplug/rpaphp_core.c if (!retval) retval 87 drivers/pci/hotplug/rpaphp_core.c return retval; retval 352 drivers/pci/hotplug/rpaphp_core.c int retval = 0; retval 383 drivers/pci/hotplug/rpaphp_core.c retval = rpaphp_enable_slot(slot); retval 384 drivers/pci/hotplug/rpaphp_core.c if (!retval) retval 385 drivers/pci/hotplug/rpaphp_core.c retval = rpaphp_register_slot(slot); retval 387 drivers/pci/hotplug/rpaphp_core.c if (retval) retval 393 drivers/pci/hotplug/rpaphp_core.c dbg("%s - Exit: rc[%d]\n", __func__, retval); retval 396 drivers/pci/hotplug/rpaphp_core.c return retval; retval 438 drivers/pci/hotplug/rpaphp_core.c int retval; retval 443 drivers/pci/hotplug/rpaphp_core.c retval = rpaphp_get_sensor_state(slot, &state); retval 444 drivers/pci/hotplug/rpaphp_core.c if (retval) retval 445 drivers/pci/hotplug/rpaphp_core.c return retval; retval 66 drivers/pci/hotplug/rpaphp_slot.c int retval = 0; retval 76 drivers/pci/hotplug/rpaphp_slot.c dbg("%s - Exit: rc[%d]\n", __func__, retval); retval 77 drivers/pci/hotplug/rpaphp_slot.c return retval; retval 86 drivers/pci/hotplug/rpaphp_slot.c int retval; retval 100 drivers/pci/hotplug/rpaphp_slot.c retval = of_property_read_u32(child, "ibm,my-drc-index", &my_index); retval 108 drivers/pci/hotplug/rpaphp_slot.c retval = pci_hp_register(php_slot, slot->bus, slotno, slot->name); retval 109 drivers/pci/hotplug/rpaphp_slot.c if (retval) { retval 110 drivers/pci/hotplug/rpaphp_slot.c err("pci_hp_register failed with error %d\n", retval); retval 111 drivers/pci/hotplug/rpaphp_slot.c return retval; retval 69 drivers/pci/hotplug/shpchp_core.c int retval; retval 75 drivers/pci/hotplug/shpchp_core.c retval = -ENOMEM; retval 90 drivers/pci/hotplug/shpchp_core.c retval = -ENOMEM; retval 105 drivers/pci/hotplug/shpchp_core.c retval = pci_hp_register(hotplug_slot, retval 107 drivers/pci/hotplug/shpchp_core.c if (retval) { retval 109 drivers/pci/hotplug/shpchp_core.c retval); retval 127 drivers/pci/hotplug/shpchp_core.c return retval; retval 182 drivers/pci/hotplug/shpchp_core.c int retval; retval 187 drivers/pci/hotplug/shpchp_core.c retval = slot->hpc_ops->get_power_status(slot, value); retval 188 drivers/pci/hotplug/shpchp_core.c if (retval < 0) retval 197 drivers/pci/hotplug/shpchp_core.c int retval; retval 202 drivers/pci/hotplug/shpchp_core.c retval = slot->hpc_ops->get_attention_status(slot, value); retval 203 drivers/pci/hotplug/shpchp_core.c if (retval < 0) retval 212 drivers/pci/hotplug/shpchp_core.c int retval; retval 217 drivers/pci/hotplug/shpchp_core.c retval = slot->hpc_ops->get_latch_status(slot, value); retval 218 drivers/pci/hotplug/shpchp_core.c if (retval < 0) retval 227 drivers/pci/hotplug/shpchp_core.c int retval; retval 232 drivers/pci/hotplug/shpchp_core.c retval = slot->hpc_ops->get_adapter_status(slot, value); retval 233 drivers/pci/hotplug/shpchp_core.c if (retval < 0) retval 329 drivers/pci/hotplug/shpchp_core.c int retval; retval 331 drivers/pci/hotplug/shpchp_core.c retval = pci_register_driver(&shpc_driver); retval 332 drivers/pci/hotplug/shpchp_core.c dbg("%s: pci_register_driver = %d\n", __func__, retval); retval 335 drivers/pci/hotplug/shpchp_core.c return retval; retval 547 drivers/pci/hotplug/shpchp_ctrl.c int rc, retval = -ENODEV; retval 582 drivers/pci/hotplug/shpchp_ctrl.c retval = board_added(p_slot); retval 586 drivers/pci/hotplug/shpchp_ctrl.c retval = board_added(p_slot); retval 588 drivers/pci/hotplug/shpchp_ctrl.c if (retval) { retval 597 drivers/pci/hotplug/shpchp_ctrl.c return retval; retval 604 drivers/pci/hotplug/shpchp_ctrl.c int rc, retval = -ENODEV; retval 630 drivers/pci/hotplug/shpchp_ctrl.c retval = remove_board(p_slot); retval 634 drivers/pci/hotplug/shpchp_ctrl.c return retval; retval 639 drivers/pci/hotplug/shpchp_ctrl.c int retval = -ENODEV; retval 650 drivers/pci/hotplug/shpchp_ctrl.c retval = shpchp_enable_slot(p_slot); retval 670 drivers/pci/hotplug/shpchp_ctrl.c return retval; retval 675 drivers/pci/hotplug/shpchp_ctrl.c int retval = -ENODEV; retval 686 drivers/pci/hotplug/shpchp_ctrl.c retval = shpchp_disable_slot(p_slot); retval 706 drivers/pci/hotplug/shpchp_ctrl.c return retval; retval 273 drivers/pci/hotplug/shpchp_hpc.c int retval = 0; retval 283 drivers/pci/hotplug/shpchp_hpc.c retval = -EIO; retval 286 drivers/pci/hotplug/shpchp_hpc.c retval = -EINTR; retval 290 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 297 drivers/pci/hotplug/shpchp_hpc.c int retval = 0; retval 305 drivers/pci/hotplug/shpchp_hpc.c retval = -EBUSY; retval 321 drivers/pci/hotplug/shpchp_hpc.c retval = shpc_wait_cmd(slot->ctrl); retval 322 drivers/pci/hotplug/shpchp_hpc.c if (retval) retval 329 drivers/pci/hotplug/shpchp_hpc.c retval = -EIO; retval 333 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 338 drivers/pci/hotplug/shpchp_hpc.c int retval = 0; retval 343 drivers/pci/hotplug/shpchp_hpc.c retval = 0; retval 346 drivers/pci/hotplug/shpchp_hpc.c retval = SWITCH_OPEN; retval 350 drivers/pci/hotplug/shpchp_hpc.c retval = INVALID_CMD; retval 354 drivers/pci/hotplug/shpchp_hpc.c retval = INVALID_SPEED_MODE; retval 358 drivers/pci/hotplug/shpchp_hpc.c retval = cmd_status; retval 361 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 446 drivers/pci/hotplug/shpchp_hpc.c int retval = 0; retval 452 drivers/pci/hotplug/shpchp_hpc.c retval = hpc_get_prog_int(slot, &pi); retval 453 drivers/pci/hotplug/shpchp_hpc.c if (retval) retval 454 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 489 drivers/pci/hotplug/shpchp_hpc.c retval = -ENODEV; retval 494 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 499 drivers/pci/hotplug/shpchp_hpc.c int retval = 0; retval 507 drivers/pci/hotplug/shpchp_hpc.c retval = -1; retval 511 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 602 drivers/pci/hotplug/shpchp_hpc.c int retval; retval 604 drivers/pci/hotplug/shpchp_hpc.c retval = shpc_write_cmd(slot, slot->hp_slot, SET_SLOT_PWR); retval 605 drivers/pci/hotplug/shpchp_hpc.c if (retval) retval 608 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 613 drivers/pci/hotplug/shpchp_hpc.c int retval; retval 616 drivers/pci/hotplug/shpchp_hpc.c retval = shpc_write_cmd(slot, slot->hp_slot, retval 618 drivers/pci/hotplug/shpchp_hpc.c if (retval) retval 621 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 626 drivers/pci/hotplug/shpchp_hpc.c int retval; retval 629 drivers/pci/hotplug/shpchp_hpc.c retval = shpc_write_cmd(slot, slot->hp_slot, retval 631 drivers/pci/hotplug/shpchp_hpc.c if (retval) retval 634 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 639 drivers/pci/hotplug/shpchp_hpc.c int retval = 0; retval 647 drivers/pci/hotplug/shpchp_hpc.c retval = -ENODEV; retval 695 drivers/pci/hotplug/shpchp_hpc.c retval = -ENODEV; retval 702 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 708 drivers/pci/hotplug/shpchp_hpc.c int retval; retval 763 drivers/pci/hotplug/shpchp_hpc.c retval = shpc_write_cmd(slot, 0, cmd); retval 764 drivers/pci/hotplug/shpchp_hpc.c if (retval) retval 769 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 853 drivers/pci/hotplug/shpchp_hpc.c int retval = 0; retval 887 drivers/pci/hotplug/shpchp_hpc.c retval = -ENODEV; retval 893 drivers/pci/hotplug/shpchp_hpc.c return retval; retval 466 drivers/pci/msi.c int retval; retval 468 drivers/pci/msi.c retval = kstrtoul(attr->attr.name, 10, &irq); retval 469 drivers/pci/msi.c if (retval) retval 470 drivers/pci/msi.c return retval; retval 62 drivers/pci/pci-acpi.c void **retval) retval 72 drivers/pci/pci-acpi.c *(acpi_handle *)retval = handle; retval 107 drivers/pci/pci-driver.c int retval = 0; retval 127 drivers/pci/pci-driver.c retval = -EEXIST; retval 131 drivers/pci/pci-driver.c if (retval) retval 132 drivers/pci/pci-driver.c return retval; retval 138 drivers/pci/pci-driver.c retval = -EINVAL; retval 141 drivers/pci/pci-driver.c retval = 0; retval 146 drivers/pci/pci-driver.c if (retval) /* No match */ retval 147 drivers/pci/pci-driver.c return retval; retval 150 drivers/pci/pci-driver.c retval = pci_add_dynid(pdrv, vendor, device, subvendor, subdevice, retval 152 drivers/pci/pci-driver.c if (retval) retval 153 drivers/pci/pci-driver.c return retval; retval 174 drivers/pci/pci-driver.c size_t retval = -ENODEV; retval 192 drivers/pci/pci-driver.c retval = count; retval 198 drivers/pci/pci-driver.c return retval; retval 551 drivers/pci/pci-driver.c int retval; retval 554 drivers/pci/pci-driver.c retval = pci_reenable_device(pci_dev); retval 562 drivers/pci/pci-driver.c return retval; retval 1150 drivers/pci/pci-sysfs.c int retval; retval 1179 drivers/pci/pci-sysfs.c retval = sysfs_create_bin_file(&pdev->dev.kobj, res_attr); retval 1180 drivers/pci/pci-sysfs.c if (retval) retval 1183 drivers/pci/pci-sysfs.c return retval; retval 1195 drivers/pci/pci-sysfs.c int retval; retval 1204 drivers/pci/pci-sysfs.c retval = pci_create_attr(pdev, i, 0); retval 1206 drivers/pci/pci-sysfs.c if (!retval && arch_can_pci_mmap_wc() && retval 1208 drivers/pci/pci-sysfs.c retval = pci_create_attr(pdev, i, 1); retval 1209 drivers/pci/pci-sysfs.c if (retval) { retval 1211 drivers/pci/pci-sysfs.c return retval; retval 1332 drivers/pci/pci-sysfs.c int retval; retval 1338 drivers/pci/pci-sysfs.c retval = device_create_file(&dev->dev, &dev_attr_reset); retval 1339 drivers/pci/pci-sysfs.c if (retval) retval 1347 drivers/pci/pci-sysfs.c return retval; retval 1352 drivers/pci/pci-sysfs.c int retval; retval 1360 drivers/pci/pci-sysfs.c retval = sysfs_create_bin_file(&pdev->dev.kobj, &pcie_config_attr); retval 1362 drivers/pci/pci-sysfs.c retval = sysfs_create_bin_file(&pdev->dev.kobj, &pci_config_attr); retval 1363 drivers/pci/pci-sysfs.c if (retval) retval 1366 drivers/pci/pci-sysfs.c retval = pci_create_resource_files(pdev); retval 1367 drivers/pci/pci-sysfs.c if (retval) retval 1375 drivers/pci/pci-sysfs.c retval = -ENOMEM; retval 1384 drivers/pci/pci-sysfs.c retval = sysfs_create_bin_file(&pdev->dev.kobj, attr); retval 1385 drivers/pci/pci-sysfs.c if (retval) { retval 1393 drivers/pci/pci-sysfs.c retval = pci_create_capabilities_sysfs(pdev); retval 1394 drivers/pci/pci-sysfs.c if (retval) retval 1415 drivers/pci/pci-sysfs.c return retval; retval 1460 drivers/pci/pci-sysfs.c int retval; retval 1464 drivers/pci/pci-sysfs.c retval = pci_create_sysfs_dev_files(pdev); retval 1465 drivers/pci/pci-sysfs.c if (retval) { retval 1467 drivers/pci/pci-sysfs.c return retval; retval 1642 drivers/pci/pci.c int retval; retval 1654 drivers/pci/pci.c retval = pci_enable_device(dev); retval 1655 drivers/pci/pci.c if (retval) retval 1657 drivers/pci/pci.c retval); retval 272 drivers/pci/pcie/portdrv_core.c int retval; retval 293 drivers/pci/pcie/portdrv_core.c retval = device_register(device); retval 294 drivers/pci/pcie/portdrv_core.c if (retval) { retval 296 drivers/pci/pcie/portdrv_core.c return retval; retval 2006 drivers/pci/setup-bus.c int retval; retval 2064 drivers/pci/setup-bus.c retval = pci_reenable_device(bridge); retval 2065 drivers/pci/setup-bus.c if (retval) retval 2066 drivers/pci/setup-bus.c pci_err(bridge, "Error reenabling bridge (%d)\n", retval); retval 434 drivers/pci/vpd.c int retval; retval 450 drivers/pci/vpd.c retval = sysfs_create_bin_file(&dev->dev.kobj, attr); retval 451 drivers/pci/vpd.c if (retval) { retval 103 drivers/pcmcia/ds.c int retval = 0; retval 127 drivers/pcmcia/ds.c retval = driver_attach(&pdrv->drv); retval 129 drivers/pcmcia/ds.c if (retval) retval 130 drivers/pcmcia/ds.c return retval; retval 1155 drivers/pcmcia/i82365.c int retval; \ retval 1158 drivers/pcmcia/i82365.c retval = x; \ retval 1160 drivers/pcmcia/i82365.c return retval; \ retval 509 drivers/pcmcia/vrc4171_card.c irqreturn_t retval = IRQ_NONE; retval 520 drivers/pcmcia/vrc4171_card.c retval = IRQ_HANDLED; retval 533 drivers/pcmcia/vrc4171_card.c retval = IRQ_HANDLED; retval 539 drivers/pcmcia/vrc4171_card.c return retval; retval 558 drivers/pcmcia/vrc4171_card.c int slot, retval; retval 592 drivers/pcmcia/vrc4171_card.c retval = pcmcia_register_socket(&socket->pcmcia_socket); retval 593 drivers/pcmcia/vrc4171_card.c if (retval < 0) retval 594 drivers/pcmcia/vrc4171_card.c return retval; retval 704 drivers/pcmcia/vrc4171_card.c int retval; retval 706 drivers/pcmcia/vrc4171_card.c retval = platform_driver_register(&vrc4171_card_driver); retval 707 drivers/pcmcia/vrc4171_card.c if (retval < 0) retval 708 drivers/pcmcia/vrc4171_card.c return retval; retval 710 drivers/pcmcia/vrc4171_card.c retval = platform_device_register(&vrc4171_card_device); retval 711 drivers/pcmcia/vrc4171_card.c if (retval < 0) { retval 713 drivers/pcmcia/vrc4171_card.c return retval; retval 718 drivers/pcmcia/vrc4171_card.c retval = vrc4171_add_sockets(); retval 719 drivers/pcmcia/vrc4171_card.c if (retval == 0) retval 720 drivers/pcmcia/vrc4171_card.c retval = request_irq(vrc4171_irq, pccard_interrupt, IRQF_SHARED, retval 723 drivers/pcmcia/vrc4171_card.c if (retval < 0) { retval 727 drivers/pcmcia/vrc4171_card.c return retval; retval 1075 drivers/phy/mediatek/phy-mtk-tphy.c int port, retval; retval 1124 drivers/phy/mediatek/phy-mtk-tphy.c retval = -ENOMEM; retval 1133 drivers/phy/mediatek/phy-mtk-tphy.c retval = PTR_ERR(phy); retval 1137 drivers/phy/mediatek/phy-mtk-tphy.c retval = of_address_to_resource(child_np, 0, &res); retval 1138 drivers/phy/mediatek/phy-mtk-tphy.c if (retval) { retval 1147 drivers/phy/mediatek/phy-mtk-tphy.c retval = PTR_ERR(instance->port_base); retval 1163 drivers/phy/mediatek/phy-mtk-tphy.c retval = PTR_ERR(instance->ref_clk); retval 1173 drivers/phy/mediatek/phy-mtk-tphy.c return retval; retval 500 drivers/phy/mediatek/phy-mtk-xsphy.c int port, retval; retval 540 drivers/phy/mediatek/phy-mtk-xsphy.c retval = -ENOMEM; retval 549 drivers/phy/mediatek/phy-mtk-xsphy.c retval = PTR_ERR(phy); retval 553 drivers/phy/mediatek/phy-mtk-xsphy.c retval = of_address_to_resource(child_np, 0, &res); retval 554 drivers/phy/mediatek/phy-mtk-xsphy.c if (retval) { retval 563 drivers/phy/mediatek/phy-mtk-xsphy.c retval = PTR_ERR(inst->port_base); retval 575 drivers/phy/mediatek/phy-mtk-xsphy.c retval = PTR_ERR(inst->ref_clk); retval 585 drivers/phy/mediatek/phy-mtk-xsphy.c return retval; retval 532 drivers/platform/chrome/cros_ec_lpc.c void *context, void **retval) retval 259 drivers/platform/x86/asus-wmi.c u32 arg0, u32 arg1, u32 arg2, u32 *retval) retval 282 drivers/platform/x86/asus-wmi.c if (retval) retval 283 drivers/platform/x86/asus-wmi.c *retval = tmp; retval 293 drivers/platform/x86/asus-wmi.c int asus_wmi_evaluate_method(u32 method_id, u32 arg0, u32 arg1, u32 *retval) retval 295 drivers/platform/x86/asus-wmi.c return asus_wmi_evaluate_method3(method_id, arg0, arg1, 0, retval); retval 303 drivers/platform/x86/asus-wmi.c u32 retval; retval 317 drivers/platform/x86/asus-wmi.c phys_addr, 0, &retval); retval 325 drivers/platform/x86/asus-wmi.c return retval; retval 328 drivers/platform/x86/asus-wmi.c static int asus_wmi_get_devstate(struct asus_wmi *asus, u32 dev_id, u32 *retval) retval 330 drivers/platform/x86/asus-wmi.c return asus_wmi_evaluate_method(asus->dsts_id, dev_id, 0, retval); retval 334 drivers/platform/x86/asus-wmi.c u32 *retval) retval 337 drivers/platform/x86/asus-wmi.c ctrl_param, retval); retval 344 drivers/platform/x86/asus-wmi.c u32 retval = 0; retval 347 drivers/platform/x86/asus-wmi.c err = asus_wmi_get_devstate(asus, dev_id, &retval); retval 351 drivers/platform/x86/asus-wmi.c if (!(retval & ASUS_WMI_DSTS_PRESENCE_BIT)) retval 355 drivers/platform/x86/asus-wmi.c if (retval & ASUS_WMI_DSTS_UNKNOWN_BIT) retval 359 drivers/platform/x86/asus-wmi.c return retval & mask; retval 370 drivers/platform/x86/asus-wmi.c u32 retval; retval 371 drivers/platform/x86/asus-wmi.c int status = asus_wmi_get_devstate(asus, dev_id, &retval); retval 373 drivers/platform/x86/asus-wmi.c return status == 0 && (retval & ASUS_WMI_DSTS_PRESENCE_BIT); retval 524 drivers/platform/x86/asus-wmi.c int retval; retval 532 drivers/platform/x86/asus-wmi.c retval = asus_wmi_get_devstate_bits(asus, ASUS_WMI_DEVID_KBD_BACKLIGHT, retval 536 drivers/platform/x86/asus-wmi.c if (retval == 0x8000) retval 537 drivers/platform/x86/asus-wmi.c retval = 0; retval 539 drivers/platform/x86/asus-wmi.c if (retval < 0) retval 540 drivers/platform/x86/asus-wmi.c return retval; retval 543 drivers/platform/x86/asus-wmi.c *level = retval & 0x7F; retval 545 drivers/platform/x86/asus-wmi.c *env = (retval >> 8) & 0x7F; retval 582 drivers/platform/x86/asus-wmi.c int retval, value; retval 586 drivers/platform/x86/asus-wmi.c retval = kbd_led_read(asus, &value, NULL); retval 587 drivers/platform/x86/asus-wmi.c if (retval < 0) retval 588 drivers/platform/x86/asus-wmi.c return retval; retval 1298 drivers/platform/x86/asus-wmi.c u32 retval; retval 1303 drivers/platform/x86/asus-wmi.c 0, &retval); retval 1307 drivers/platform/x86/asus-wmi.c if (retval != 1) retval 1448 drivers/platform/x86/asus-wmi.c u32 retval; retval 1467 drivers/platform/x86/asus-wmi.c value, &retval); retval 1471 drivers/platform/x86/asus-wmi.c if (retval != 1) retval 1640 drivers/platform/x86/asus-wmi.c u32 retval; retval 1646 drivers/platform/x86/asus-wmi.c &retval); retval 1652 drivers/platform/x86/asus-wmi.c if (retval != 1) { retval 1654 drivers/platform/x86/asus-wmi.c retval); retval 1744 drivers/platform/x86/asus-wmi.c u32 retval; retval 1747 drivers/platform/x86/asus-wmi.c err = asus_wmi_get_devstate(asus, ASUS_WMI_DEVID_BRIGHTNESS, &retval); retval 1751 drivers/platform/x86/asus-wmi.c retval = retval & ASUS_WMI_DSTS_MAX_BRIGTH_MASK; retval 1752 drivers/platform/x86/asus-wmi.c retval >>= 8; retval 1754 drivers/platform/x86/asus-wmi.c if (!retval) retval 1757 drivers/platform/x86/asus-wmi.c return retval; retval 1763 drivers/platform/x86/asus-wmi.c u32 retval; retval 1766 drivers/platform/x86/asus-wmi.c err = asus_wmi_get_devstate(asus, ASUS_WMI_DEVID_BRIGHTNESS, &retval); retval 1770 drivers/platform/x86/asus-wmi.c return retval & ASUS_WMI_DSTS_BRIGHTNESS_MASK; retval 2067 drivers/platform/x86/asus-wmi.c u32 retval; retval 2078 drivers/platform/x86/asus-wmi.c err = asus_wmi_set_devstate(devid, value, &retval); retval 2292 drivers/platform/x86/asus-wmi.c u32 retval = -1; retval 2294 drivers/platform/x86/asus-wmi.c err = asus_wmi_get_devstate(asus, asus->debug.dev_id, &retval); retval 2298 drivers/platform/x86/asus-wmi.c seq_printf(m, "DSTS(%#x) = %#x\n", asus->debug.dev_id, retval); retval 2307 drivers/platform/x86/asus-wmi.c u32 retval = -1; retval 2310 drivers/platform/x86/asus-wmi.c &retval); retval 2315 drivers/platform/x86/asus-wmi.c asus->debug.ctrl_param, retval); retval 935 drivers/platform/x86/classmate-laptop.c int retval; retval 950 drivers/platform/x86/classmate-laptop.c retval = PTR_ERR(ipml->bd); retval 962 drivers/platform/x86/classmate-laptop.c retval = rfkill_register(ipml->rf); retval 963 drivers/platform/x86/classmate-laptop.c if (retval) { retval 974 drivers/platform/x86/classmate-laptop.c return retval; retval 85 drivers/platform/x86/dell-smo8800.c ssize_t retval = 1; retval 91 drivers/platform/x86/dell-smo8800.c retval = wait_event_interruptible(smo8800->misc_wait, retval 94 drivers/platform/x86/dell-smo8800.c if (retval) retval 95 drivers/platform/x86/dell-smo8800.c return retval; retval 97 drivers/platform/x86/dell-smo8800.c retval = 1; retval 105 drivers/platform/x86/dell-smo8800.c retval = -EFAULT; retval 107 drivers/platform/x86/dell-smo8800.c return retval; retval 97 drivers/platform/x86/dell_rbu.c int retval = 0; retval 107 drivers/platform/x86/dell_rbu.c retval = -EINVAL; retval 119 drivers/platform/x86/dell_rbu.c retval = -ENOMEM; retval 148 drivers/platform/x86/dell_rbu.c retval = -ENOMEM; retval 160 drivers/platform/x86/dell_rbu.c retval = -ENOMEM; retval 213 drivers/platform/x86/dell_rbu.c if (retval) retval 217 drivers/platform/x86/dell_rbu.c return retval; retval 451 drivers/platform/x86/dell_rbu.c int retval; retval 459 drivers/platform/x86/dell_rbu.c retval = -ENOMEM; retval 464 drivers/platform/x86/dell_rbu.c retval = 0; retval 473 drivers/platform/x86/dell_rbu.c if ((retval = packet_read_list(ptempBuf, &data_length)) < 0) retval 479 drivers/platform/x86/dell_rbu.c retval = bytes_left; retval 481 drivers/platform/x86/dell_rbu.c retval = count; retval 484 drivers/platform/x86/dell_rbu.c return retval; retval 863 drivers/platform/x86/msi-laptop.c int retval; retval 872 drivers/platform/x86/msi-laptop.c retval = -ENOMEM; retval 875 drivers/platform/x86/msi-laptop.c retval = rfkill_register(rfk_bluetooth); retval 876 drivers/platform/x86/msi-laptop.c if (retval) retval 882 drivers/platform/x86/msi-laptop.c retval = -ENOMEM; retval 885 drivers/platform/x86/msi-laptop.c retval = rfkill_register(rfk_wlan); retval 886 drivers/platform/x86/msi-laptop.c if (retval) retval 893 drivers/platform/x86/msi-laptop.c retval = -ENOMEM; retval 896 drivers/platform/x86/msi-laptop.c retval = rfkill_register(rfk_threeg); retval 897 drivers/platform/x86/msi-laptop.c if (retval) retval 921 drivers/platform/x86/msi-laptop.c return retval; retval 483 drivers/platform/x86/samsung-laptop.c int retval; retval 485 drivers/platform/x86/samsung-laptop.c retval = sabi_command(samsung, commands->get_brightness, retval 487 drivers/platform/x86/samsung-laptop.c if (retval) retval 488 drivers/platform/x86/samsung-laptop.c return retval; retval 662 drivers/platform/x86/samsung-laptop.c int retval; retval 666 drivers/platform/x86/samsung-laptop.c retval = sabi_command(samsung, commands->get_performance_level, retval 668 drivers/platform/x86/samsung-laptop.c if (retval) retval 669 drivers/platform/x86/samsung-laptop.c return retval; retval 715 drivers/platform/x86/samsung-laptop.c int retval; retval 722 drivers/platform/x86/samsung-laptop.c retval = sabi_command(samsung, commands->get_battery_life_extender, retval 725 drivers/platform/x86/samsung-laptop.c if (retval) retval 726 drivers/platform/x86/samsung-laptop.c return retval; retval 784 drivers/platform/x86/samsung-laptop.c int retval; retval 791 drivers/platform/x86/samsung-laptop.c retval = sabi_command(samsung, commands->get_usb_charge, retval 794 drivers/platform/x86/samsung-laptop.c if (retval) retval 795 drivers/platform/x86/samsung-laptop.c return retval; retval 853 drivers/platform/x86/samsung-laptop.c int retval; retval 859 drivers/platform/x86/samsung-laptop.c retval = sabi_command(samsung, commands->get_lid_handling, retval 862 drivers/platform/x86/samsung-laptop.c if (retval) retval 863 drivers/platform/x86/samsung-laptop.c return retval; retval 1049 drivers/platform/x86/samsung-laptop.c int retval = 0; retval 1052 drivers/platform/x86/samsung-laptop.c retval = write_lid_handling(samsung, 1); retval 1054 drivers/platform/x86/samsung-laptop.c return retval; retval 1061 drivers/platform/x86/samsung-laptop.c int retval; retval 1068 drivers/platform/x86/samsung-laptop.c retval = sabi_command(samsung, commands->kbd_backlight, retval 1071 drivers/platform/x86/samsung-laptop.c if (retval) retval 1072 drivers/platform/x86/samsung-laptop.c return retval; retval 1083 drivers/platform/x86/samsung-laptop.c int retval; retval 1087 drivers/platform/x86/samsung-laptop.c retval = sabi_command(samsung, commands->kbd_backlight, retval 1090 drivers/platform/x86/samsung-laptop.c if (retval) retval 1091 drivers/platform/x86/samsung-laptop.c return retval; retval 1446 drivers/platform/x86/samsung-laptop.c int retval = sabi_set_commandb(samsung, retval 1448 drivers/platform/x86/samsung-laptop.c if (retval) { retval 1150 drivers/platform/x86/wmi.c int retval = 0; retval 1162 drivers/platform/x86/wmi.c retval = -ENXIO; retval 1184 drivers/platform/x86/wmi.c retval = -ENOMEM; retval 1191 drivers/platform/x86/wmi.c retval = wmi_create_device(wmi_bus_dev, &gblock[i], wblock, device); retval 1192 drivers/platform/x86/wmi.c if (retval) { retval 1213 drivers/platform/x86/wmi.c retval = device_add(&wblock->dev.dev); retval 1214 drivers/platform/x86/wmi.c if (retval) { retval 1226 drivers/platform/x86/wmi.c return retval; retval 341 drivers/pnp/interface.c int retval = 0; retval 344 drivers/pnp/interface.c retval = -EBUSY; retval 351 drivers/pnp/interface.c retval = pnp_disable_dev(dev); retval 355 drivers/pnp/interface.c retval = pnp_activate_dev(dev); retval 361 drivers/pnp/interface.c retval = pnp_auto_config_dev(dev); retval 368 drivers/pnp/interface.c retval = pnp_auto_config_dev(dev); retval 434 drivers/pnp/interface.c if (retval < 0) retval 435 drivers/pnp/interface.c return retval; retval 682 drivers/power/supply/ds2760_battery.c int retval = 0; retval 688 drivers/power/supply/ds2760_battery.c retval = -ENOMEM; retval 753 drivers/power/supply/ds2760_battery.c retval = PTR_ERR(di->bat); retval 762 drivers/power/supply/ds2760_battery.c retval = -ESRCH; retval 777 drivers/power/supply/ds2760_battery.c return retval; retval 64 drivers/rtc/rtc-ab8500.c int retval, i; retval 70 drivers/rtc/rtc-ab8500.c retval = abx500_set_register_interruptible(dev, retval 72 drivers/rtc/rtc-ab8500.c if (retval < 0) retval 73 drivers/rtc/rtc-ab8500.c return retval; retval 77 drivers/rtc/rtc-ab8500.c retval = abx500_get_register_interruptible(dev, retval 79 drivers/rtc/rtc-ab8500.c if (retval < 0) retval 80 drivers/rtc/rtc-ab8500.c return retval; retval 90 drivers/rtc/rtc-ab8500.c retval = abx500_get_register_interruptible(dev, retval 92 drivers/rtc/rtc-ab8500.c if (retval < 0) retval 93 drivers/rtc/rtc-ab8500.c return retval; retval 109 drivers/rtc/rtc-ab8500.c int retval, i; retval 129 drivers/rtc/rtc-ab8500.c retval = abx500_set_register_interruptible(dev, AB8500_RTC, retval 131 drivers/rtc/rtc-ab8500.c if (retval < 0) retval 132 drivers/rtc/rtc-ab8500.c return retval; retval 142 drivers/rtc/rtc-ab8500.c int retval, i; retval 148 drivers/rtc/rtc-ab8500.c retval = abx500_get_register_interruptible(dev, AB8500_RTC, retval 150 drivers/rtc/rtc-ab8500.c if (retval < 0) retval 151 drivers/rtc/rtc-ab8500.c return retval; retval 161 drivers/rtc/rtc-ab8500.c retval = abx500_get_register_interruptible(dev, AB8500_RTC, retval 163 drivers/rtc/rtc-ab8500.c if (retval < 0) retval 164 drivers/rtc/rtc-ab8500.c return retval; retval 185 drivers/rtc/rtc-ab8500.c int retval, i; retval 213 drivers/rtc/rtc-ab8500.c retval = abx500_set_register_interruptible(dev, AB8500_RTC, retval 215 drivers/rtc/rtc-ab8500.c if (retval < 0) retval 216 drivers/rtc/rtc-ab8500.c return retval; retval 224 drivers/rtc/rtc-ab8500.c int retval; retval 249 drivers/rtc/rtc-ab8500.c retval = abx500_set_register_interruptible(dev, AB8500_RTC, retval 252 drivers/rtc/rtc-ab8500.c return retval; retval 257 drivers/rtc/rtc-ab8500.c int retval; retval 260 drivers/rtc/rtc-ab8500.c retval = abx500_get_register_interruptible(dev, AB8500_RTC, retval 262 drivers/rtc/rtc-ab8500.c if (retval >= 0) { retval 274 drivers/rtc/rtc-ab8500.c return retval; retval 281 drivers/rtc/rtc-ab8500.c int retval; retval 289 drivers/rtc/rtc-ab8500.c retval = ab8500_rtc_set_calibration(dev, calibration); retval 291 drivers/rtc/rtc-ab8500.c return retval ? retval : count; retval 297 drivers/rtc/rtc-ab8500.c int retval = 0; retval 300 drivers/rtc/rtc-ab8500.c retval = ab8500_rtc_get_calibration(dev, &calibration); retval 301 drivers/rtc/rtc-ab8500.c if (retval < 0) { retval 304 drivers/rtc/rtc-ab8500.c return retval; retval 336 drivers/rtc/rtc-abx80x.c int retval, flags = 0; retval 360 drivers/rtc/rtc-abx80x.c retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_CFG_KEY, retval 362 drivers/rtc/rtc-abx80x.c if (retval < 0) { retval 364 drivers/rtc/rtc-abx80x.c return retval; retval 367 drivers/rtc/rtc-abx80x.c retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSC, flags); retval 369 drivers/rtc/rtc-abx80x.c return retval; retval 395 drivers/rtc/rtc-abx80x.c int retval; retval 398 drivers/rtc/rtc-abx80x.c retval = kstrtoul(buf, 10, &autocalibration); retval 399 drivers/rtc/rtc-abx80x.c if (retval < 0) { retval 404 drivers/rtc/rtc-abx80x.c retval = abx80x_rtc_set_autocalibration(dev->parent, autocalibration); retval 406 drivers/rtc/rtc-abx80x.c return retval ? retval : count; retval 431 drivers/rtc/rtc-abx80x.c int retval, flags, rc_mode = 0; retval 452 drivers/rtc/rtc-abx80x.c retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_CFG_KEY, retval 454 drivers/rtc/rtc-abx80x.c if (retval < 0) { retval 456 drivers/rtc/rtc-abx80x.c return retval; retval 459 drivers/rtc/rtc-abx80x.c retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSC, flags); retval 460 drivers/rtc/rtc-abx80x.c if (retval < 0) { retval 462 drivers/rtc/rtc-abx80x.c return retval; retval 465 drivers/rtc/rtc-abx80x.c return retval ? retval : count; retval 597 drivers/rtc/rtc-cmos.c int retval; retval 601 drivers/rtc/rtc-cmos.c for (retval = 0; count; count--, off++, retval++) { retval 611 drivers/rtc/rtc-cmos.c return retval; retval 619 drivers/rtc/rtc-cmos.c int retval; retval 628 drivers/rtc/rtc-cmos.c for (retval = 0; count; count--, off++, retval++) { retval 643 drivers/rtc/rtc-cmos.c return retval; retval 709 drivers/rtc/rtc-cmos.c int retval = 0; retval 799 drivers/rtc/rtc-cmos.c retval = PTR_ERR(cmos_rtc.rtc); retval 830 drivers/rtc/rtc-cmos.c retval = -ENXIO; retval 842 drivers/rtc/rtc-cmos.c retval = hpet_register_irq_handler(cmos_interrupt); retval 843 drivers/rtc/rtc-cmos.c if (retval) { retval 852 drivers/rtc/rtc-cmos.c retval = request_irq(rtc_irq, rtc_cmos_int_handler, retval 855 drivers/rtc/rtc-cmos.c if (retval < 0) { retval 866 drivers/rtc/rtc-cmos.c retval = rtc_register_device(cmos_rtc.rtc); retval 867 drivers/rtc/rtc-cmos.c if (retval) retval 896 drivers/rtc/rtc-cmos.c return retval; retval 937 drivers/rtc/rtc-cmos.c int retval = 0; retval 969 drivers/rtc/rtc-cmos.c retval = cmos_set_alarm(dev, &alarm); retval 971 drivers/rtc/rtc-cmos.c retval = -EBUSY; retval 974 drivers/rtc/rtc-cmos.c return retval; retval 1330 drivers/rtc/rtc-cmos.c int retval = cmos_poweroff(dev); retval 1332 drivers/rtc/rtc-cmos.c if (cmos_aie_poweroff(dev) < 0 && !retval) retval 1428 drivers/rtc/rtc-cmos.c int retval = cmos_poweroff(dev); retval 1430 drivers/rtc/rtc-cmos.c if (cmos_aie_poweroff(dev) < 0 && !retval) retval 1457 drivers/rtc/rtc-cmos.c int retval = 0; retval 1460 drivers/rtc/rtc-cmos.c retval = pnp_register_driver(&cmos_pnp_driver); retval 1461 drivers/rtc/rtc-cmos.c if (retval == 0) retval 1466 drivers/rtc/rtc-cmos.c retval = platform_driver_probe(&cmos_platform_driver, retval 1468 drivers/rtc/rtc-cmos.c if (retval == 0) retval 1472 drivers/rtc/rtc-cmos.c if (retval == 0) retval 1479 drivers/rtc/rtc-cmos.c return retval; retval 210 drivers/rtc/rtc-ds2404.c int retval = -EBUSY; retval 220 drivers/rtc/rtc-ds2404.c retval = ds2404_gpio_map(chip, pdev, pdata); retval 221 drivers/rtc/rtc-ds2404.c if (retval) retval 222 drivers/rtc/rtc-ds2404.c return retval; retval 224 drivers/rtc/rtc-ds2404.c retval = devm_add_action_or_reset(&pdev->dev, ds2404_gpio_unmap, chip); retval 225 drivers/rtc/rtc-ds2404.c if (retval) retval 226 drivers/rtc/rtc-ds2404.c return retval; retval 237 drivers/rtc/rtc-ds2404.c retval = rtc_register_device(chip->rtc); retval 238 drivers/rtc/rtc-ds2404.c if (retval) retval 239 drivers/rtc/rtc-ds2404.c return retval; retval 302 drivers/rtc/rtc-m41t80.c int flags, retval; retval 313 drivers/rtc/rtc-m41t80.c retval = i2c_smbus_write_byte_data(client, M41T80_REG_ALARM_MON, flags); retval 314 drivers/rtc/rtc-m41t80.c if (retval < 0) { retval 315 drivers/rtc/rtc-m41t80.c dev_err(dev, "Unable to enable alarm IRQ %d\n", retval); retval 316 drivers/rtc/rtc-m41t80.c return retval; retval 316 drivers/rtc/rtc-mrst.c int retval = 0; retval 354 drivers/rtc/rtc-mrst.c retval = devm_request_irq(dev, rtc_irq, mrst_rtc_irq, retval 357 drivers/rtc/rtc-mrst.c if (retval < 0) { retval 359 drivers/rtc/rtc-mrst.c rtc_irq, retval); retval 364 drivers/rtc/rtc-mrst.c retval = rtc_register_device(mrst_rtc.rtc); retval 365 drivers/rtc/rtc-mrst.c if (retval) retval 374 drivers/rtc/rtc-mrst.c return retval; retval 285 drivers/rtc/rtc-v3020.c int retval = -EBUSY; retval 298 drivers/rtc/rtc-v3020.c retval = chip->ops->map_io(chip, pdev, pdata); retval 299 drivers/rtc/rtc-v3020.c if (retval) retval 300 drivers/rtc/rtc-v3020.c return retval; retval 311 drivers/rtc/rtc-v3020.c retval = -ENODEV; retval 336 drivers/rtc/rtc-v3020.c retval = PTR_ERR(chip->rtc); retval 345 drivers/rtc/rtc-v3020.c return retval; retval 254 drivers/rtc/rtc-vr41xx.c int retval; retval 269 drivers/rtc/rtc-vr41xx.c retval = -EBUSY; retval 275 drivers/rtc/rtc-vr41xx.c retval = -EBUSY; retval 281 drivers/rtc/rtc-vr41xx.c retval = PTR_ERR(rtc); retval 303 drivers/rtc/rtc-vr41xx.c retval = -EBUSY; retval 307 drivers/rtc/rtc-vr41xx.c retval = devm_request_irq(&pdev->dev, aie_irq, elapsedtime_interrupt, 0, retval 309 drivers/rtc/rtc-vr41xx.c if (retval < 0) retval 314 drivers/rtc/rtc-vr41xx.c retval = -EBUSY; retval 318 drivers/rtc/rtc-vr41xx.c retval = devm_request_irq(&pdev->dev, pie_irq, rtclong1_interrupt, 0, retval 320 drivers/rtc/rtc-vr41xx.c if (retval < 0) retval 330 drivers/rtc/rtc-vr41xx.c retval = rtc_register_device(rtc); retval 331 drivers/rtc/rtc-vr41xx.c if (retval) retval 342 drivers/rtc/rtc-vr41xx.c return retval; retval 34 drivers/rtc/sysfs.c ssize_t retval; retval 37 drivers/rtc/sysfs.c retval = rtc_read_time(to_rtc_device(dev), &tm); retval 38 drivers/rtc/sysfs.c if (retval) retval 39 drivers/rtc/sysfs.c return retval; retval 48 drivers/rtc/sysfs.c ssize_t retval; retval 51 drivers/rtc/sysfs.c retval = rtc_read_time(to_rtc_device(dev), &tm); retval 52 drivers/rtc/sysfs.c if (retval) retval 53 drivers/rtc/sysfs.c return retval; retval 62 drivers/rtc/sysfs.c ssize_t retval; retval 65 drivers/rtc/sysfs.c retval = rtc_read_time(to_rtc_device(dev), &tm); retval 66 drivers/rtc/sysfs.c if (retval == 0) { retval 70 drivers/rtc/sysfs.c retval = sprintf(buf, "%lld\n", time); retval 73 drivers/rtc/sysfs.c return retval; retval 126 drivers/rtc/sysfs.c ssize_t retval; retval 138 drivers/rtc/sysfs.c retval = rtc_read_alarm(to_rtc_device(dev), &alm); retval 139 drivers/rtc/sysfs.c if (retval == 0 && alm.enabled) { retval 141 drivers/rtc/sysfs.c retval = sprintf(buf, "%lld\n", alarm); retval 144 drivers/rtc/sysfs.c return retval; retval 151 drivers/rtc/sysfs.c ssize_t retval; retval 162 drivers/rtc/sysfs.c retval = rtc_read_time(rtc, &alm.time); retval 163 drivers/rtc/sysfs.c if (retval < 0) retval 164 drivers/rtc/sysfs.c return retval; retval 177 drivers/rtc/sysfs.c retval = kstrtos64(buf_ptr, 0, &alarm); retval 178 drivers/rtc/sysfs.c if (retval) retval 179 drivers/rtc/sysfs.c return retval; retval 187 drivers/rtc/sysfs.c retval = rtc_read_alarm(rtc, &alm); retval 188 drivers/rtc/sysfs.c if (retval < 0) retval 189 drivers/rtc/sysfs.c return retval; retval 209 drivers/rtc/sysfs.c retval = rtc_set_alarm(rtc, &alm); retval 210 drivers/rtc/sysfs.c return (retval < 0) ? retval : n; retval 217 drivers/rtc/sysfs.c ssize_t retval; retval 220 drivers/rtc/sysfs.c retval = rtc_read_offset(to_rtc_device(dev), &offset); retval 221 drivers/rtc/sysfs.c if (retval == 0) retval 222 drivers/rtc/sysfs.c retval = sprintf(buf, "%ld\n", offset); retval 224 drivers/rtc/sysfs.c return retval; retval 231 drivers/rtc/sysfs.c ssize_t retval; retval 234 drivers/rtc/sysfs.c retval = kstrtol(buf, 10, &offset); retval 235 drivers/rtc/sysfs.c if (retval == 0) retval 236 drivers/rtc/sysfs.c retval = rtc_set_offset(to_rtc_device(dev), offset); retval 238 drivers/rtc/sysfs.c return (retval < 0) ? retval : n; retval 981 drivers/s390/char/con3215.c int retval; retval 989 drivers/s390/char/con3215.c retval = raw3215_startup(raw); retval 990 drivers/s390/char/con3215.c if (retval) retval 991 drivers/s390/char/con3215.c return retval; retval 574 drivers/s390/crypto/ap_bus.c int retval = 0; retval 580 drivers/s390/crypto/ap_bus.c retval = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type); retval 581 drivers/s390/crypto/ap_bus.c if (retval) retval 582 drivers/s390/crypto/ap_bus.c return retval; retval 585 drivers/s390/crypto/ap_bus.c retval = add_uevent_var(env, "MODALIAS=ap:t%02X", ap_dev->device_type); retval 587 drivers/s390/crypto/ap_bus.c return retval; retval 125 drivers/s390/scsi/zfcp_aux.c int retval = -ENOMEM; retval 147 drivers/s390/scsi/zfcp_aux.c retval = ccw_driver_register(&zfcp_ccw_driver); retval 148 drivers/s390/scsi/zfcp_aux.c if (retval) { retval 165 drivers/s390/scsi/zfcp_aux.c return retval; retval 483 drivers/s390/scsi/zfcp_aux.c int retval = -ENOMEM; retval 490 drivers/s390/scsi/zfcp_aux.c retval = -EEXIST; retval 521 drivers/s390/scsi/zfcp_aux.c retval = -EINVAL; retval 538 drivers/s390/scsi/zfcp_aux.c return ERR_PTR(retval); retval 887 drivers/s390/scsi/zfcp_erp.c int retval; retval 889 drivers/s390/scsi/zfcp_erp.c retval = zfcp_fsf_close_physical_port(act); retval 890 drivers/s390/scsi/zfcp_erp.c if (retval == -ENOMEM) retval 893 drivers/s390/scsi/zfcp_erp.c if (retval) retval 930 drivers/s390/scsi/zfcp_erp.c int retval; retval 932 drivers/s390/scsi/zfcp_erp.c retval = zfcp_fsf_close_port(erp_action); retval 933 drivers/s390/scsi/zfcp_erp.c if (retval == -ENOMEM) retval 936 drivers/s390/scsi/zfcp_erp.c if (retval) retval 944 drivers/s390/scsi/zfcp_erp.c int retval; retval 946 drivers/s390/scsi/zfcp_erp.c retval = zfcp_fsf_open_port(erp_action); retval 947 drivers/s390/scsi/zfcp_erp.c if (retval == -ENOMEM) retval 950 drivers/s390/scsi/zfcp_erp.c if (retval) retval 1056 drivers/s390/scsi/zfcp_erp.c int retval = zfcp_fsf_close_lun(erp_action); retval 1057 drivers/s390/scsi/zfcp_erp.c if (retval == -ENOMEM) retval 1060 drivers/s390/scsi/zfcp_erp.c if (retval) retval 1068 drivers/s390/scsi/zfcp_erp.c int retval = zfcp_fsf_open_lun(erp_action); retval 1069 drivers/s390/scsi/zfcp_erp.c if (retval == -ENOMEM) retval 1072 drivers/s390/scsi/zfcp_erp.c if (retval) retval 573 drivers/s390/scsi/zfcp_fc.c int retval; retval 586 drivers/s390/scsi/zfcp_fc.c retval = zfcp_fc_adisc(port); retval 587 drivers/s390/scsi/zfcp_fc.c if (retval == 0) retval 803 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 813 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 819 drivers/s390/scsi/zfcp_fsf.c retval = -ENOMEM; retval 829 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 830 drivers/s390/scsi/zfcp_fsf.c if (retval) retval 844 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1244 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1255 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1270 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1271 drivers/s390/scsi/zfcp_fsf.c if (retval) { retval 1278 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1285 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1295 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1310 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1312 drivers/s390/scsi/zfcp_fsf.c if (!retval) { retval 1318 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1322 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1334 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1348 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1360 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1361 drivers/s390/scsi/zfcp_fsf.c if (retval) { retval 1368 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1381 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1394 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1405 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1408 drivers/s390/scsi/zfcp_fsf.c if (!retval) { retval 1415 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1419 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1499 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1510 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1525 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1526 drivers/s390/scsi/zfcp_fsf.c if (retval) { retval 1534 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1566 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1577 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1591 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1592 drivers/s390/scsi/zfcp_fsf.c if (retval) { retval 1599 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1641 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1652 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1666 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1667 drivers/s390/scsi/zfcp_fsf.c if (retval) retval 1672 drivers/s390/scsi/zfcp_fsf.c if (!retval) retval 1674 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1700 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1711 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1725 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1726 drivers/s390/scsi/zfcp_fsf.c if (retval) retval 1731 drivers/s390/scsi/zfcp_fsf.c if (!retval) retval 1733 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1794 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1805 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1819 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1820 drivers/s390/scsi/zfcp_fsf.c if (retval) { retval 1827 drivers/s390/scsi/zfcp_fsf.c return retval; retval 1914 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 1925 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 1943 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 1944 drivers/s390/scsi/zfcp_fsf.c if (retval) { retval 1951 drivers/s390/scsi/zfcp_fsf.c return retval; retval 2006 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 2017 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 2032 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 2033 drivers/s390/scsi/zfcp_fsf.c if (retval) { retval 2040 drivers/s390/scsi/zfcp_fsf.c return retval; retval 2274 drivers/s390/scsi/zfcp_fsf.c int retval = -EIO; retval 2299 drivers/s390/scsi/zfcp_fsf.c retval = PTR_ERR(req); retval 2330 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_qdio_sbals_from_sg(qdio, &req->qdio_req, retval 2332 drivers/s390/scsi/zfcp_fsf.c if (retval) retval 2338 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_qdio_sbals_from_sg(qdio, &req->qdio_req, retval 2340 drivers/s390/scsi/zfcp_fsf.c if (unlikely(retval)) retval 2347 drivers/s390/scsi/zfcp_fsf.c retval = zfcp_fsf_req_send(req); retval 2348 drivers/s390/scsi/zfcp_fsf.c if (unlikely(retval)) retval 2359 drivers/s390/scsi/zfcp_fsf.c return retval; retval 256 drivers/s390/scsi/zfcp_qdio.c int retval; retval 263 drivers/s390/scsi/zfcp_qdio.c retval = do_QDIO(qdio->adapter->ccw_device, QDIO_FLAG_SYNC_OUTPUT, 0, retval 266 drivers/s390/scsi/zfcp_qdio.c if (unlikely(retval)) { retval 269 drivers/s390/scsi/zfcp_qdio.c return retval; retval 174 drivers/s390/scsi/zfcp_scsi.c int retval = SUCCESS, ret; retval 223 drivers/s390/scsi/zfcp_scsi.c retval = FAILED; retval 227 drivers/s390/scsi/zfcp_scsi.c return retval; retval 295 drivers/s390/scsi/zfcp_scsi.c int retval = SUCCESS, ret; retval 326 drivers/s390/scsi/zfcp_scsi.c retval = FAILED; retval 333 drivers/s390/scsi/zfcp_scsi.c return retval; retval 193 drivers/s390/scsi/zfcp_sysfs.c int retval = 0; retval 199 drivers/s390/scsi/zfcp_sysfs.c retval = -EINVAL; retval 206 drivers/s390/scsi/zfcp_sysfs.c return retval ? retval : (ssize_t) count; retval 293 drivers/s390/scsi/zfcp_sysfs.c int retval = -EINVAL; retval 305 drivers/s390/scsi/zfcp_sysfs.c retval = 0; retval 308 drivers/s390/scsi/zfcp_sysfs.c retval = -EBUSY; retval 323 drivers/s390/scsi/zfcp_sysfs.c return retval ? retval : (ssize_t) count; retval 353 drivers/s390/scsi/zfcp_sysfs.c int retval; retval 358 drivers/s390/scsi/zfcp_sysfs.c retval = zfcp_unit_add(port, fcp_lun); retval 359 drivers/s390/scsi/zfcp_sysfs.c if (retval) retval 360 drivers/s390/scsi/zfcp_sysfs.c return retval; retval 569 drivers/s390/scsi/zfcp_sysfs.c int retval; retval 579 drivers/s390/scsi/zfcp_sysfs.c retval = zfcp_fsf_exchange_port_data_sync(adapter->qdio, qtcb_port); retval 580 drivers/s390/scsi/zfcp_sysfs.c if (!retval) retval 581 drivers/s390/scsi/zfcp_sysfs.c retval = sprintf(buf, "%u %u %u\n", qtcb_port->cp_util, retval 584 drivers/s390/scsi/zfcp_sysfs.c return retval; retval 594 drivers/s390/scsi/zfcp_sysfs.c int retval; retval 605 drivers/s390/scsi/zfcp_sysfs.c retval = zfcp_fsf_exchange_config_data_sync(adapter->qdio, qtcb_config); retval 606 drivers/s390/scsi/zfcp_sysfs.c if (!retval) retval 610 drivers/s390/scsi/zfcp_sysfs.c return retval; retval 619 drivers/s390/scsi/zfcp_sysfs.c int retval; \ retval 621 drivers/s390/scsi/zfcp_sysfs.c retval = zfcp_sysfs_adapter_ex_config(dev, &stat_info); \ retval 622 drivers/s390/scsi/zfcp_sysfs.c if (retval) \ retval 623 drivers/s390/scsi/zfcp_sysfs.c return retval; \ retval 124 drivers/s390/scsi/zfcp_unit.c int retval = 0; retval 129 drivers/s390/scsi/zfcp_unit.c retval = -ENODEV; retval 136 drivers/s390/scsi/zfcp_unit.c retval = -EEXIST; retval 142 drivers/s390/scsi/zfcp_unit.c retval = -ENOMEM; retval 156 drivers/s390/scsi/zfcp_unit.c retval = -ENOMEM; retval 162 drivers/s390/scsi/zfcp_unit.c retval = -ENOMEM; retval 178 drivers/s390/scsi/zfcp_unit.c return retval; retval 182 drivers/s390/scsi/zfcp_unit.c return retval; retval 186 drivers/sbus/char/oradax.c u64 retval; /* command return value */ retval 232 drivers/scsi/3w-9xxx.c int retval = 1; retval 246 drivers/scsi/3w-9xxx.c retval = 0; retval 257 drivers/scsi/3w-9xxx.c retval = 0; retval 266 drivers/scsi/3w-9xxx.c retval = 0; retval 270 drivers/scsi/3w-9xxx.c retval = 0; retval 276 drivers/scsi/3w-9xxx.c return retval; retval 289 drivers/scsi/3w-9xxx.c int first_reset = 0, queue = 0, retval = 1; retval 364 drivers/scsi/3w-9xxx.c retval = 0; retval 367 drivers/scsi/3w-9xxx.c return retval; retval 431 drivers/scsi/3w-9xxx.c int retval = 1; retval 454 drivers/scsi/3w-9xxx.c retval = 0; retval 456 drivers/scsi/3w-9xxx.c return retval; retval 462 drivers/scsi/3w-9xxx.c char *retval = NULL; retval 468 drivers/scsi/3w-9xxx.c retval = twa_aen_severity_table[severity_code]; retval 470 drivers/scsi/3w-9xxx.c return retval; retval 521 drivers/scsi/3w-9xxx.c int retval = 1; retval 551 drivers/scsi/3w-9xxx.c retval = 0; retval 553 drivers/scsi/3w-9xxx.c return retval; retval 559 drivers/scsi/3w-9xxx.c int retval = 1; retval 566 drivers/scsi/3w-9xxx.c retval = 0; retval 568 drivers/scsi/3w-9xxx.c return retval; retval 574 drivers/scsi/3w-9xxx.c int retval = 1; retval 631 drivers/scsi/3w-9xxx.c retval = 0; retval 633 drivers/scsi/3w-9xxx.c return retval; retval 654 drivers/scsi/3w-9xxx.c int retval = TW_IOCTL_ERROR_OS_EFAULT; retval 661 drivers/scsi/3w-9xxx.c retval = TW_IOCTL_ERROR_OS_EINTR; retval 671 drivers/scsi/3w-9xxx.c retval = TW_IOCTL_ERROR_OS_EINVAL; retval 681 drivers/scsi/3w-9xxx.c retval = TW_IOCTL_ERROR_OS_ENOMEM; retval 725 drivers/scsi/3w-9xxx.c retval = TW_IOCTL_ERROR_OS_EIO; retval 865 drivers/scsi/3w-9xxx.c retval = TW_IOCTL_ERROR_OS_ENOTTY; retval 871 drivers/scsi/3w-9xxx.c retval = 0; retval 879 drivers/scsi/3w-9xxx.c return retval; retval 887 drivers/scsi/3w-9xxx.c int retval = TW_IOCTL_ERROR_OS_ENODEV; retval 890 drivers/scsi/3w-9xxx.c retval = -EACCES; retval 897 drivers/scsi/3w-9xxx.c retval = 0; retval 899 drivers/scsi/3w-9xxx.c return retval; retval 905 drivers/scsi/3w-9xxx.c int retval = 1; retval 934 drivers/scsi/3w-9xxx.c retval = 0; retval 936 drivers/scsi/3w-9xxx.c return retval; retval 943 drivers/scsi/3w-9xxx.c int count = 0, retval = 1; retval 955 drivers/scsi/3w-9xxx.c retval = 0; retval 957 drivers/scsi/3w-9xxx.c return retval; retval 965 drivers/scsi/3w-9xxx.c int retval = 1; retval 977 drivers/scsi/3w-9xxx.c retval = 0; retval 979 drivers/scsi/3w-9xxx.c retval = 0; retval 981 drivers/scsi/3w-9xxx.c return retval; retval 989 drivers/scsi/3w-9xxx.c int retval = 1; retval 1022 drivers/scsi/3w-9xxx.c retval = TW_ISR_DONT_RESULT; retval 1025 drivers/scsi/3w-9xxx.c retval = 0; retval 1027 drivers/scsi/3w-9xxx.c return retval; retval 1062 drivers/scsi/3w-9xxx.c void *retval = NULL; retval 1091 drivers/scsi/3w-9xxx.c retval = (void *)&(param->data[0]); retval 1096 drivers/scsi/3w-9xxx.c return retval; retval 1121 drivers/scsi/3w-9xxx.c int request_id = 0, retval = 1; retval 1162 drivers/scsi/3w-9xxx.c retval = 0; retval 1168 drivers/scsi/3w-9xxx.c return retval; retval 1174 drivers/scsi/3w-9xxx.c int i, retval = 1; retval 1212 drivers/scsi/3w-9xxx.c retval = 0; retval 1214 drivers/scsi/3w-9xxx.c return retval; retval 1421 drivers/scsi/3w-9xxx.c int retval = 1, found = 0, response_request_id; retval 1450 drivers/scsi/3w-9xxx.c retval = 0; retval 1452 drivers/scsi/3w-9xxx.c return retval; retval 1460 drivers/scsi/3w-9xxx.c int retval = 1; retval 1479 drivers/scsi/3w-9xxx.c retval = 0; retval 1481 drivers/scsi/3w-9xxx.c return retval; retval 1489 drivers/scsi/3w-9xxx.c int retval = 1; retval 1507 drivers/scsi/3w-9xxx.c retval = 0; retval 1509 drivers/scsi/3w-9xxx.c return retval; retval 1517 drivers/scsi/3w-9xxx.c int retval = 1; retval 1537 drivers/scsi/3w-9xxx.c retval = SCSI_MLQUEUE_HOST_BUSY; retval 1573 drivers/scsi/3w-9xxx.c retval = 0; retval 1575 drivers/scsi/3w-9xxx.c return retval; retval 1582 drivers/scsi/3w-9xxx.c int retval = 1; retval 1628 drivers/scsi/3w-9xxx.c retval = 0; retval 1630 drivers/scsi/3w-9xxx.c return retval; retval 1636 drivers/scsi/3w-9xxx.c int tries = 0, retval = 1, flashed = 0, do_soft_reset = soft_reset; retval 1690 drivers/scsi/3w-9xxx.c retval = 0; retval 1694 drivers/scsi/3w-9xxx.c return retval; retval 1726 drivers/scsi/3w-9xxx.c int retval = FAILED; retval 1745 drivers/scsi/3w-9xxx.c retval = SUCCESS; retval 1748 drivers/scsi/3w-9xxx.c return retval; retval 1754 drivers/scsi/3w-9xxx.c int request_id, retval; retval 1759 drivers/scsi/3w-9xxx.c retval = SCSI_MLQUEUE_HOST_BUSY; retval 1767 drivers/scsi/3w-9xxx.c retval = 0; retval 1780 drivers/scsi/3w-9xxx.c retval = twa_scsiop_execute_scsi(tw_dev, request_id, NULL, 0, NULL); retval 1781 drivers/scsi/3w-9xxx.c switch (retval) { retval 1794 drivers/scsi/3w-9xxx.c retval = 0; retval 1797 drivers/scsi/3w-9xxx.c return retval; retval 1813 drivers/scsi/3w-9xxx.c int retval = 1; retval 1912 drivers/scsi/3w-9xxx.c retval = twa_post_command_packet(tw_dev, request_id, 0); retval 1915 drivers/scsi/3w-9xxx.c retval = 0; retval 1918 drivers/scsi/3w-9xxx.c return retval; retval 2012 drivers/scsi/3w-9xxx.c int retval; retval 2014 drivers/scsi/3w-9xxx.c retval = pci_enable_device(pdev); retval 2015 drivers/scsi/3w-9xxx.c if (retval) { retval 2023 drivers/scsi/3w-9xxx.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); retval 2024 drivers/scsi/3w-9xxx.c if (retval) retval 2025 drivers/scsi/3w-9xxx.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 2026 drivers/scsi/3w-9xxx.c if (retval) { retval 2028 drivers/scsi/3w-9xxx.c retval = -ENODEV; retval 2035 drivers/scsi/3w-9xxx.c retval = -ENOMEM; retval 2046 drivers/scsi/3w-9xxx.c retval = -ENOMEM; retval 2051 drivers/scsi/3w-9xxx.c retval = pci_request_regions(pdev, "3w-9xxx"); retval 2052 drivers/scsi/3w-9xxx.c if (retval) { retval 2069 drivers/scsi/3w-9xxx.c retval = -ENOMEM; retval 2078 drivers/scsi/3w-9xxx.c retval = -ENOMEM; retval 2096 drivers/scsi/3w-9xxx.c retval = scsi_add_host(host, &pdev->dev); retval 2097 drivers/scsi/3w-9xxx.c if (retval) { retval 2121 drivers/scsi/3w-9xxx.c retval = request_irq(pdev->irq, twa_interrupt, IRQF_SHARED, "3w-9xxx", tw_dev); retval 2122 drivers/scsi/3w-9xxx.c if (retval) { retval 2156 drivers/scsi/3w-9xxx.c return retval; retval 2227 drivers/scsi/3w-9xxx.c int retval = 0; retval 2236 drivers/scsi/3w-9xxx.c retval = pci_enable_device(pdev); retval 2237 drivers/scsi/3w-9xxx.c if (retval) { retval 2239 drivers/scsi/3w-9xxx.c return retval; retval 2245 drivers/scsi/3w-9xxx.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); retval 2246 drivers/scsi/3w-9xxx.c if (retval) retval 2247 drivers/scsi/3w-9xxx.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 2248 drivers/scsi/3w-9xxx.c if (retval) { retval 2250 drivers/scsi/3w-9xxx.c retval = -ENODEV; retval 2256 drivers/scsi/3w-9xxx.c retval = -ENODEV; retval 2261 drivers/scsi/3w-9xxx.c retval = request_irq(pdev->irq, twa_interrupt, IRQF_SHARED, "3w-9xxx", tw_dev); retval 2262 drivers/scsi/3w-9xxx.c if (retval) { retval 2264 drivers/scsi/3w-9xxx.c retval = -ENODEV; retval 2282 drivers/scsi/3w-9xxx.c return retval; retval 209 drivers/scsi/3w-sas.c char *retval = NULL; retval 215 drivers/scsi/3w-sas.c retval = twl_aen_severity_table[severity_code]; retval 217 drivers/scsi/3w-sas.c return retval; retval 299 drivers/scsi/3w-sas.c int retval = 1; retval 368 drivers/scsi/3w-sas.c retval = twl_post_command_packet(tw_dev, request_id); retval 371 drivers/scsi/3w-sas.c return retval; retval 380 drivers/scsi/3w-sas.c int retval = 1; retval 403 drivers/scsi/3w-sas.c retval = 0; retval 405 drivers/scsi/3w-sas.c return retval; retval 473 drivers/scsi/3w-sas.c int retval = 1; retval 487 drivers/scsi/3w-sas.c retval = 0; retval 498 drivers/scsi/3w-sas.c retval = 0; retval 507 drivers/scsi/3w-sas.c retval = 0; retval 511 drivers/scsi/3w-sas.c retval = 0; retval 517 drivers/scsi/3w-sas.c return retval; retval 527 drivers/scsi/3w-sas.c int retval = 1; retval 550 drivers/scsi/3w-sas.c retval = 0; retval 552 drivers/scsi/3w-sas.c return retval; retval 565 drivers/scsi/3w-sas.c int first_reset = 0, queue = 0, retval = 1; retval 635 drivers/scsi/3w-sas.c retval = 0; retval 638 drivers/scsi/3w-sas.c return retval; retval 647 drivers/scsi/3w-sas.c int retval = 1; retval 673 drivers/scsi/3w-sas.c retval = 0; retval 675 drivers/scsi/3w-sas.c return retval; retval 727 drivers/scsi/3w-sas.c int retval = -EFAULT; retval 734 drivers/scsi/3w-sas.c retval = -EINTR; retval 744 drivers/scsi/3w-sas.c retval = -EINVAL; retval 754 drivers/scsi/3w-sas.c retval = -ENOMEM; retval 798 drivers/scsi/3w-sas.c retval = -EIO; retval 814 drivers/scsi/3w-sas.c retval = -ENOTTY; retval 820 drivers/scsi/3w-sas.c retval = 0; retval 828 drivers/scsi/3w-sas.c return retval; retval 835 drivers/scsi/3w-sas.c int retval = -ENODEV; retval 838 drivers/scsi/3w-sas.c retval = -EACCES; retval 845 drivers/scsi/3w-sas.c retval = 0; retval 847 drivers/scsi/3w-sas.c return retval; retval 866 drivers/scsi/3w-sas.c int retval = 1; retval 898 drivers/scsi/3w-sas.c return retval; retval 932 drivers/scsi/3w-sas.c void *retval = NULL; retval 961 drivers/scsi/3w-sas.c retval = (void *)&(param->data[0]); retval 966 drivers/scsi/3w-sas.c return retval; retval 983 drivers/scsi/3w-sas.c int request_id = 0, retval = 1; retval 1024 drivers/scsi/3w-sas.c retval = 0; retval 1030 drivers/scsi/3w-sas.c return retval; retval 1036 drivers/scsi/3w-sas.c int i, retval = 1; retval 1077 drivers/scsi/3w-sas.c retval = 0; retval 1079 drivers/scsi/3w-sas.c return retval; retval 1085 drivers/scsi/3w-sas.c int retval = 1; retval 1109 drivers/scsi/3w-sas.c retval = 0; retval 1117 drivers/scsi/3w-sas.c return retval; retval 1242 drivers/scsi/3w-sas.c int retval = 1; retval 1254 drivers/scsi/3w-sas.c retval = 0; retval 1256 drivers/scsi/3w-sas.c return retval; retval 1262 drivers/scsi/3w-sas.c int retval = 1; retval 1343 drivers/scsi/3w-sas.c retval = 0; retval 1347 drivers/scsi/3w-sas.c return retval; retval 1353 drivers/scsi/3w-sas.c int i = 0, retval = 1; retval 1400 drivers/scsi/3w-sas.c retval = 0; retval 1404 drivers/scsi/3w-sas.c return retval; retval 1434 drivers/scsi/3w-sas.c int retval = FAILED; retval 1453 drivers/scsi/3w-sas.c retval = SUCCESS; retval 1456 drivers/scsi/3w-sas.c return retval; retval 1462 drivers/scsi/3w-sas.c int request_id, retval; retval 1467 drivers/scsi/3w-sas.c retval = SCSI_MLQUEUE_HOST_BUSY; retval 1480 drivers/scsi/3w-sas.c retval = twl_scsiop_execute_scsi(tw_dev, request_id, NULL, 0, NULL); retval 1481 drivers/scsi/3w-sas.c if (retval) { retval 1486 drivers/scsi/3w-sas.c retval = 0; retval 1489 drivers/scsi/3w-sas.c return retval; retval 1564 drivers/scsi/3w-sas.c int retval = -ENODEV; retval 1567 drivers/scsi/3w-sas.c retval = pci_enable_device(pdev); retval 1568 drivers/scsi/3w-sas.c if (retval) { retval 1576 drivers/scsi/3w-sas.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); retval 1577 drivers/scsi/3w-sas.c if (retval) retval 1578 drivers/scsi/3w-sas.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 1579 drivers/scsi/3w-sas.c if (retval) { retval 1581 drivers/scsi/3w-sas.c retval = -ENODEV; retval 1588 drivers/scsi/3w-sas.c retval = -ENOMEM; retval 1599 drivers/scsi/3w-sas.c retval = -ENOMEM; retval 1604 drivers/scsi/3w-sas.c retval = pci_request_regions(pdev, "3w-sas"); retval 1605 drivers/scsi/3w-sas.c if (retval) { retval 1614 drivers/scsi/3w-sas.c retval = -ENOMEM; retval 1624 drivers/scsi/3w-sas.c retval = -ENOMEM; retval 1635 drivers/scsi/3w-sas.c retval = scsi_add_host(host, &pdev->dev); retval 1636 drivers/scsi/3w-sas.c if (retval) { retval 1667 drivers/scsi/3w-sas.c retval = request_irq(pdev->irq, twl_interrupt, IRQF_SHARED, "3w-sas", tw_dev); retval 1668 drivers/scsi/3w-sas.c if (retval) { retval 1709 drivers/scsi/3w-sas.c return retval; retval 1792 drivers/scsi/3w-sas.c int retval = 0; retval 1801 drivers/scsi/3w-sas.c retval = pci_enable_device(pdev); retval 1802 drivers/scsi/3w-sas.c if (retval) { retval 1804 drivers/scsi/3w-sas.c return retval; retval 1810 drivers/scsi/3w-sas.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); retval 1811 drivers/scsi/3w-sas.c if (retval) retval 1812 drivers/scsi/3w-sas.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 1813 drivers/scsi/3w-sas.c if (retval) { retval 1815 drivers/scsi/3w-sas.c retval = -ENODEV; retval 1821 drivers/scsi/3w-sas.c retval = -ENODEV; retval 1826 drivers/scsi/3w-sas.c retval = request_irq(pdev->irq, twl_interrupt, IRQF_SHARED, "3w-sas", tw_dev); retval 1827 drivers/scsi/3w-sas.c if (retval) { retval 1829 drivers/scsi/3w-sas.c retval = -ENODEV; retval 1847 drivers/scsi/3w-sas.c return retval; retval 303 drivers/scsi/3w-xxxx.c int retval = 1; retval 322 drivers/scsi/3w-xxxx.c retval = 0; retval 324 drivers/scsi/3w-xxxx.c return retval; retval 332 drivers/scsi/3w-xxxx.c int retval = 1; retval 351 drivers/scsi/3w-xxxx.c retval = 0; retval 353 drivers/scsi/3w-xxxx.c return retval; retval 887 drivers/scsi/3w-xxxx.c int retval = -EFAULT; retval 905 drivers/scsi/3w-xxxx.c retval = -EINVAL; retval 915 drivers/scsi/3w-xxxx.c retval = -ENOMEM; retval 995 drivers/scsi/3w-xxxx.c retval = -EIO; retval 1013 drivers/scsi/3w-xxxx.c retval = -ENOTTY; retval 1020 drivers/scsi/3w-xxxx.c retval = 0; retval 1027 drivers/scsi/3w-xxxx.c return retval; retval 1374 drivers/scsi/3w-xxxx.c int retval = FAILED; retval 1393 drivers/scsi/3w-xxxx.c retval = SUCCESS; retval 1396 drivers/scsi/3w-xxxx.c return retval; retval 1929 drivers/scsi/3w-xxxx.c int retval = 1; retval 1951 drivers/scsi/3w-xxxx.c retval = tw_scsiop_read_write(tw_dev, request_id); retval 1955 drivers/scsi/3w-xxxx.c retval = tw_scsiop_test_unit_ready(tw_dev, request_id); retval 1959 drivers/scsi/3w-xxxx.c retval = tw_scsiop_inquiry(tw_dev, request_id); retval 1963 drivers/scsi/3w-xxxx.c retval = tw_scsiop_read_capacity(tw_dev, request_id); retval 1967 drivers/scsi/3w-xxxx.c retval = tw_scsiop_request_sense(tw_dev, request_id); retval 1971 drivers/scsi/3w-xxxx.c retval = tw_scsiop_mode_sense(tw_dev, request_id); retval 1975 drivers/scsi/3w-xxxx.c retval = tw_scsiop_synchronize_cache(tw_dev, request_id); retval 1987 drivers/scsi/3w-xxxx.c retval = 0; retval 1989 drivers/scsi/3w-xxxx.c if (retval) { retval 1994 drivers/scsi/3w-xxxx.c retval = 0; retval 1996 drivers/scsi/3w-xxxx.c return retval; retval 2008 drivers/scsi/3w-xxxx.c int error = 0, retval = 0; retval 2117 drivers/scsi/3w-xxxx.c retval = tw_aen_complete(tw_dev, request_id); retval 2118 drivers/scsi/3w-xxxx.c if (retval) { retval 2260 drivers/scsi/3w-xxxx.c int retval = -ENODEV; retval 2262 drivers/scsi/3w-xxxx.c retval = pci_enable_device(pdev); retval 2263 drivers/scsi/3w-xxxx.c if (retval) { retval 2270 drivers/scsi/3w-xxxx.c retval = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 2271 drivers/scsi/3w-xxxx.c if (retval) { retval 2279 drivers/scsi/3w-xxxx.c retval = -ENOMEM; retval 2290 drivers/scsi/3w-xxxx.c retval = -ENOMEM; retval 2295 drivers/scsi/3w-xxxx.c retval = pci_request_regions(pdev, "3w-xxxx"); retval 2296 drivers/scsi/3w-xxxx.c if (retval) { retval 2305 drivers/scsi/3w-xxxx.c retval = -ENOMEM; retval 2325 drivers/scsi/3w-xxxx.c retval = scsi_add_host(host, &pdev->dev); retval 2326 drivers/scsi/3w-xxxx.c if (retval) { retval 2336 drivers/scsi/3w-xxxx.c retval = request_irq(pdev->irq, tw_interrupt, IRQF_SHARED, "3w-xxxx", tw_dev); retval 2337 drivers/scsi/3w-xxxx.c if (retval) { retval 2367 drivers/scsi/3w-xxxx.c return retval; retval 53 drivers/scsi/aacraid/commctrl.c int retval; retval 84 drivers/scsi/aacraid/commctrl.c retval = -EINVAL; retval 91 drivers/scsi/aacraid/commctrl.c retval = -ENOMEM; retval 105 drivers/scsi/aacraid/commctrl.c retval = -EFAULT; retval 113 drivers/scsi/aacraid/commctrl.c retval = -EINVAL; retval 125 drivers/scsi/aacraid/commctrl.c retval = aac_fib_send(le16_to_cpu(kfib->header.Command), fibptr, retval 128 drivers/scsi/aacraid/commctrl.c if (retval) { retval 132 drivers/scsi/aacraid/commctrl.c retval = -EINVAL; retval 144 drivers/scsi/aacraid/commctrl.c retval = 0; retval 146 drivers/scsi/aacraid/commctrl.c retval = -EFAULT; retval 154 drivers/scsi/aacraid/commctrl.c if (retval != -ERESTARTSYS) retval 156 drivers/scsi/aacraid/commctrl.c return retval; retval 1035 drivers/scsi/aacraid/commctrl.c int retval; retval 1043 drivers/scsi/aacraid/commctrl.c retval = aac_reset_adapter(dev, 0, reset.reset_type); retval 1046 drivers/scsi/aacraid/commctrl.c return retval; retval 1469 drivers/scsi/aacraid/commsup.c int retval; retval 1504 drivers/scsi/aacraid/commsup.c retval = aac_adapter_restart(aac, bled, reset_type); retval 1506 drivers/scsi/aacraid/commsup.c if (retval) retval 1512 drivers/scsi/aacraid/commsup.c retval = 1; retval 1531 drivers/scsi/aacraid/commsup.c retval = 0; retval 1535 drivers/scsi/aacraid/commsup.c if (retval == 0) retval 1560 drivers/scsi/aacraid/commsup.c retval = pci_set_dma_mask(aac->pdev, dmamask); retval 1562 drivers/scsi/aacraid/commsup.c retval = pci_set_dma_mask(aac->pdev, dmamask); retval 1564 drivers/scsi/aacraid/commsup.c retval = pci_set_consistent_dma_mask(aac->pdev, dmamask); retval 1566 drivers/scsi/aacraid/commsup.c if (quirks & AAC_QUIRK_31BIT && !retval) { retval 1568 drivers/scsi/aacraid/commsup.c retval = pci_set_consistent_dma_mask(aac->pdev, dmamask); retval 1571 drivers/scsi/aacraid/commsup.c if (retval) retval 1574 drivers/scsi/aacraid/commsup.c if ((retval = (*(aac_get_driver_ident(index)->init))(aac))) retval 1581 drivers/scsi/aacraid/commsup.c retval = PTR_ERR(aac->thread); retval 1629 drivers/scsi/aacraid/commsup.c retval = 0; retval 1639 drivers/scsi/aacraid/commsup.c if (!retval && !is_kdump_kernel()) { retval 1647 drivers/scsi/aacraid/commsup.c return retval; retval 1653 drivers/scsi/aacraid/commsup.c int retval; retval 1681 drivers/scsi/aacraid/commsup.c retval = _aac_reset_adapter(aac, bled, reset_type); retval 1684 drivers/scsi/aacraid/commsup.c if ((forced < 2) && (retval == -ENODEV)) { retval 1718 drivers/scsi/aacraid/commsup.c return retval; retval 1368 drivers/scsi/aacraid/linit.c int retval = -EACCES; retval 1371 drivers/scsi/aacraid/linit.c return retval; retval 1373 drivers/scsi/aacraid/linit.c retval = aac_reset_adapter(shost_priv(class_to_shost(device)), retval 1375 drivers/scsi/aacraid/linit.c if (retval >= 0) retval 1376 drivers/scsi/aacraid/linit.c retval = count; retval 1378 drivers/scsi/aacraid/linit.c return retval; retval 35 drivers/scsi/aacraid/rkt.c int retval; retval 36 drivers/scsi/aacraid/rkt.c retval = aac_rx_select_comm(dev, comm); retval 55 drivers/scsi/aacraid/rkt.c return retval; retval 610 drivers/scsi/aha1542.c int retval; retval 612 drivers/scsi/aha1542.c retval = BIOS_TRANSLATION_6432; retval 616 drivers/scsi/aha1542.c return retval; retval 627 drivers/scsi/aha1542.c retval = BIOS_TRANSLATION_25563; retval 637 drivers/scsi/aha1542.c return retval; retval 137 drivers/scsi/aha1740.c int retval = DID_OK; retval 152 drivers/scsi/aha1740.c retval=DID_ERROR; /* It's an Overrun */ retval 160 drivers/scsi/aha1740.c retval=DID_TIME_OUT; retval 163 drivers/scsi/aha1740.c retval=DID_BAD_TARGET; retval 167 drivers/scsi/aha1740.c retval=DID_ABORT; retval 172 drivers/scsi/aha1740.c retval=DID_ERROR; /* No further retval 179 drivers/scsi/aha1740.c retval = DID_TIME_OUT; /* forces a redo */ retval 186 drivers/scsi/aha1740.c retval = DID_ERROR; retval 194 drivers/scsi/aha1740.c return status[3] | retval << 16; retval 917 drivers/scsi/aic7xxx/aic79xx_core.c u_int retval; retval 919 drivers/scsi/aic7xxx/aic79xx_core.c retval = 0; retval 925 drivers/scsi/aic7xxx/aic79xx_core.c retval |= AHD_RUN_QOUTFIFO; retval 935 drivers/scsi/aic7xxx/aic79xx_core.c retval |= AHD_RUN_TQINFIFO; retval 938 drivers/scsi/aic7xxx/aic79xx_core.c return (retval); retval 10025 drivers/scsi/aic7xxx/aic79xx_core.c int retval; retval 10041 drivers/scsi/aic7xxx/aic79xx_core.c retval = EINVAL; retval 10048 drivers/scsi/aic7xxx/aic79xx_core.c retval = ahd_wait_seeprom(ahd); retval 10049 drivers/scsi/aic7xxx/aic79xx_core.c if (retval) retval 10061 drivers/scsi/aic7xxx/aic79xx_core.c return (retval); retval 487 drivers/scsi/aic7xxx/aic79xx_osm.c uint8_t retval; retval 489 drivers/scsi/aic7xxx/aic79xx_osm.c pci_read_config_byte(pci, reg, &retval); retval 490 drivers/scsi/aic7xxx/aic79xx_osm.c return (retval); retval 494 drivers/scsi/aic7xxx/aic79xx_osm.c uint16_t retval; retval 495 drivers/scsi/aic7xxx/aic79xx_osm.c pci_read_config_word(pci, reg, &retval); retval 496 drivers/scsi/aic7xxx/aic79xx_osm.c return (retval); retval 500 drivers/scsi/aic7xxx/aic79xx_osm.c uint32_t retval; retval 501 drivers/scsi/aic7xxx/aic79xx_osm.c pci_read_config_dword(pci, reg, &retval); retval 502 drivers/scsi/aic7xxx/aic79xx_osm.c return (retval); retval 787 drivers/scsi/aic7xxx/aic79xx_osm.c int retval = SUCCESS; retval 869 drivers/scsi/aic7xxx/aic79xx_osm.c retval = FAILED; retval 871 drivers/scsi/aic7xxx/aic79xx_osm.c printk("%s: Device reset returning 0x%x\n", ahd_name(ahd), retval); retval 873 drivers/scsi/aic7xxx/aic79xx_osm.c return (retval); retval 1229 drivers/scsi/aic7xxx/aic79xx_osm.c int retval; retval 1262 drivers/scsi/aic7xxx/aic79xx_osm.c retval = scsi_add_host(host, &ahd->dev_softc->dev); retval 1263 drivers/scsi/aic7xxx/aic79xx_osm.c if (retval) { retval 1266 drivers/scsi/aic7xxx/aic79xx_osm.c return retval; retval 2157 drivers/scsi/aic7xxx/aic79xx_osm.c int retval; retval 2195 drivers/scsi/aic7xxx/aic79xx_osm.c retval = SUCCESS; retval 2216 drivers/scsi/aic7xxx/aic79xx_osm.c retval = FAILED; retval 2249 drivers/scsi/aic7xxx/aic79xx_osm.c retval = SUCCESS; retval 2345 drivers/scsi/aic7xxx/aic79xx_osm.c retval = FAILED; retval 2356 drivers/scsi/aic7xxx/aic79xx_osm.c retval = SUCCESS; retval 2373 drivers/scsi/aic7xxx/aic79xx_osm.c retval = FAILED; retval 2379 drivers/scsi/aic7xxx/aic79xx_osm.c if (retval != SUCCESS) retval 2381 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_name(ahd), retval); retval 2383 drivers/scsi/aic7xxx/aic79xx_osm.c return retval; retval 696 drivers/scsi/aic7xxx/aic7xxx_core.c u_int retval; retval 698 drivers/scsi/aic7xxx/aic7xxx_core.c retval = 0; retval 703 drivers/scsi/aic7xxx/aic7xxx_core.c retval |= AHC_RUN_QOUTFIFO; retval 713 drivers/scsi/aic7xxx/aic7xxx_core.c retval |= AHC_RUN_TQINFIFO; retval 716 drivers/scsi/aic7xxx/aic7xxx_core.c return (retval); retval 1092 drivers/scsi/aic7xxx/aic7xxx_osm.c int retval; retval 1125 drivers/scsi/aic7xxx/aic7xxx_osm.c retval = scsi_add_host(host, ahc->dev); retval 1126 drivers/scsi/aic7xxx/aic7xxx_osm.c if (retval) { retval 1129 drivers/scsi/aic7xxx/aic7xxx_osm.c return retval; retval 2060 drivers/scsi/aic7xxx/aic7xxx_osm.c int retval; retval 2099 drivers/scsi/aic7xxx/aic7xxx_osm.c retval = SUCCESS; retval 2111 drivers/scsi/aic7xxx/aic7xxx_osm.c retval = SUCCESS; retval 2144 drivers/scsi/aic7xxx/aic7xxx_osm.c retval = FAILED; retval 2177 drivers/scsi/aic7xxx/aic7xxx_osm.c retval = SUCCESS; retval 2293 drivers/scsi/aic7xxx/aic7xxx_osm.c retval = FAILED; retval 2304 drivers/scsi/aic7xxx/aic7xxx_osm.c retval = SUCCESS; retval 2321 drivers/scsi/aic7xxx/aic7xxx_osm.c retval = FAILED; retval 2326 drivers/scsi/aic7xxx/aic7xxx_osm.c return (retval); retval 279 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c uint8_t retval; retval 281 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_read_config_byte(pci, reg, &retval); retval 282 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c return (retval); retval 286 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c uint16_t retval; retval 287 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_read_config_word(pci, reg, &retval); retval 288 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c return (retval); retval 292 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c uint32_t retval; retval 293 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_read_config_dword(pci, reg, &retval); retval 294 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c return (retval); retval 122 drivers/scsi/aic7xxx/aicasm/aicasm.c int retval; retval 273 drivers/scsi/aic7xxx/aicasm/aicasm.c retval = yyparse(); retval 274 drivers/scsi/aic7xxx/aicasm/aicasm.c if (retval == 0) { retval 1578 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y int retval; retval 1592 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y retval = snprintf(regex_pattern, sizeof(regex_pattern), retval 1595 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y if (retval >= sizeof(regex_pattern)) { retval 1600 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y retval = regcomp(&marg->arg_regex, regex_pattern, REG_EXTENDED); retval 1601 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y if (retval != 0) { retval 168 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c int retval; retval 173 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c if ((retval = symtable->get(symtable, &key, &data, /*flags*/0)) != 0) { retval 174 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c if (retval == -1) { retval 178 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c } else if (retval == 1) { retval 271 drivers/scsi/bfa/bfad.c int retval; retval 283 drivers/scsi/bfa/bfad.c retval = bfad_start_ops(bfad); retval 284 drivers/scsi/bfa/bfad.c if (retval != BFA_STATUS_OK) { retval 310 drivers/scsi/bfa/bfad.c int retval; retval 316 drivers/scsi/bfa/bfad.c retval = bfad_start_ops(bfad); retval 317 drivers/scsi/bfa/bfad.c if (retval != BFA_STATUS_OK) retval 962 drivers/scsi/bfa/bfad.c int retval; retval 1002 drivers/scsi/bfa/bfad.c retval = bfad_cfg_pport(bfad, BFA_LPORT_ROLE_FCP_IM); retval 1003 drivers/scsi/bfa/bfad.c if (retval != BFA_STATUS_OK) retval 1011 drivers/scsi/bfa/bfad.c retval = bfad_im_probe(bfad); retval 1012 drivers/scsi/bfa/bfad.c if (retval != BFA_STATUS_OK) { retval 1293 drivers/scsi/bfa/bfad.c int error = -ENODEV, retval, i; retval 1328 drivers/scsi/bfa/bfad.c retval = bfad_pci_init(pdev, bfad); retval 1329 drivers/scsi/bfa/bfad.c if (retval) { retval 1331 drivers/scsi/bfa/bfad.c error = retval; retval 1357 drivers/scsi/bfa/bfad.c retval = bfad_drv_init(bfad); retval 1358 drivers/scsi/bfa/bfad.c if (retval != BFA_STATUS_OK) retval 36 drivers/scsi/bnx2i/bnx2i_iscsi.c int retval = 0; retval 41 drivers/scsi/bnx2i/bnx2i_iscsi.c retval = -EPERM; retval 42 drivers/scsi/bnx2i/bnx2i_iscsi.c return retval; retval 541 drivers/scsi/ch.c int retval = 0; retval 549 drivers/scsi/ch.c retval = -EIO; retval 557 drivers/scsi/ch.c retval = ch_read_element_status retval 559 drivers/scsi/ch.c if (0 != retval) retval 563 drivers/scsi/ch.c return retval; retval 622 drivers/scsi/ch.c int retval; retval 625 drivers/scsi/ch.c retval = scsi_ioctl_block_when_processing_errors(ch->device, cmd, retval 627 drivers/scsi/ch.c if (retval) retval 628 drivers/scsi/ch.c return retval; retval 683 drivers/scsi/ch.c retval = ch_position(ch,0, retval 687 drivers/scsi/ch.c return retval; retval 704 drivers/scsi/ch.c retval = ch_move(ch,0, retval 709 drivers/scsi/ch.c return retval; retval 727 drivers/scsi/ch.c retval = ch_exchange retval 734 drivers/scsi/ch.c return retval; retval 830 drivers/scsi/ch.c retval = ch_init_elem(ch); retval 832 drivers/scsi/ch.c return retval; retval 849 drivers/scsi/ch.c retval = ch_set_voltag(ch, elem, retval 854 drivers/scsi/ch.c return retval; retval 920 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 944 drivers/scsi/csiostor/csio_hw.c csio_mb_process_hello_rsp(hw, mbp, &retval, state, &mpfn); retval 945 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 946 drivers/scsi/csiostor/csio_hw.c csio_err(hw, "HELLO cmd failed with ret: %d\n", retval); retval 1066 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 1082 drivers/scsi/csiostor/csio_hw.c retval = csio_mb_fw_retval(mbp); retval 1083 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1106 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 1130 drivers/scsi/csiostor/csio_hw.c retval = csio_mb_fw_retval(mbp); retval 1131 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1132 drivers/scsi/csiostor/csio_hw.c csio_err(hw, "RESET cmd failed with ret:0x%x.\n", retval); retval 1182 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval = 0; retval 1207 drivers/scsi/csiostor/csio_hw.c retval = csio_mb_fw_retval(mbp); retval 1224 drivers/scsi/csiostor/csio_hw.c if (retval == 0 || force) { retval 1234 drivers/scsi/csiostor/csio_hw.c return retval ? -EINVAL : 0; retval 1358 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 1394 drivers/scsi/csiostor/csio_hw.c csio_mb_process_read_params_rsp(hw, mbp, &retval, retval 1396 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1398 drivers/scsi/csiostor/csio_hw.c retval); retval 1446 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 1463 drivers/scsi/csiostor/csio_hw.c retval = csio_mb_fw_retval(mbp); retval 1464 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1465 drivers/scsi/csiostor/csio_hw.c csio_err(hw, "FW_CAPS_CONFIG_CMD(r) returned %d!\n", retval); retval 1489 drivers/scsi/csiostor/csio_hw.c retval = csio_mb_fw_retval(mbp); retval 1490 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1491 drivers/scsi/csiostor/csio_hw.c csio_err(hw, "FW_CAPS_CONFIG_CMD(w) returned %d!\n", retval); retval 1780 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 1812 drivers/scsi/csiostor/csio_hw.c csio_mb_process_read_params_rsp(hw, mbp, &retval, retval 1814 drivers/scsi/csiostor/csio_hw.c fw_caps = retval ? FW_CAPS16 : FW_CAPS32; retval 1828 drivers/scsi/csiostor/csio_hw.c csio_mb_process_read_port_rsp(hw, mbp, &retval, fw_caps, retval 1830 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1832 drivers/scsi/csiostor/csio_hw.c portid, retval); retval 1852 drivers/scsi/csiostor/csio_hw.c retval = csio_mb_fw_retval(mbp); retval 1853 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1855 drivers/scsi/csiostor/csio_hw.c portid, retval); retval 1878 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 1896 drivers/scsi/csiostor/csio_hw.c retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16)); retval 1897 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1899 drivers/scsi/csiostor/csio_hw.c retval); retval 1928 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 1952 drivers/scsi/csiostor/csio_hw.c csio_mb_process_read_params_rsp(hw, mbp, &retval, retval 1954 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 1956 drivers/scsi/csiostor/csio_hw.c retval); retval 2609 drivers/scsi/csiostor/csio_hw.c enum fw_retval retval; retval 2625 drivers/scsi/csiostor/csio_hw.c retval = csio_mb_fw_retval(mbp); retval 2626 drivers/scsi/csiostor/csio_hw.c if (retval != FW_SUCCESS) { retval 2628 drivers/scsi/csiostor/csio_hw.c retval); retval 621 drivers/scsi/csiostor/csio_lnode.c enum fw_retval retval; retval 624 drivers/scsi/csiostor/csio_lnode.c retval = FW_CMD_RETVAL_G(ntohl(rsp->alloc_to_len16)); retval 625 drivers/scsi/csiostor/csio_lnode.c if (retval != FW_SUCCESS) { retval 626 drivers/scsi/csiostor/csio_lnode.c csio_err(hw, "FCOE VNP read cmd returned error:0x%x\n", retval); retval 722 drivers/scsi/csiostor/csio_lnode.c enum fw_retval retval; retval 750 drivers/scsi/csiostor/csio_lnode.c retval = csio_mb_fw_retval(mbp); retval 751 drivers/scsi/csiostor/csio_lnode.c if (retval != FW_SUCCESS) { retval 754 drivers/scsi/csiostor/csio_lnode.c "ret:x%x\n", sub_op ? "UP" : "DOWN", portid, retval); retval 789 drivers/scsi/csiostor/csio_lnode.c enum fw_retval retval; retval 791 drivers/scsi/csiostor/csio_lnode.c retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16)); retval 792 drivers/scsi/csiostor/csio_lnode.c if (retval != FW_SUCCESS) { retval 794 drivers/scsi/csiostor/csio_lnode.c retval); retval 1392 drivers/scsi/csiostor/csio_lnode.c enum fw_retval retval; retval 1414 drivers/scsi/csiostor/csio_lnode.c csio_mb_process_portparams_rsp(hw, mbp, &retval, retval 109 drivers/scsi/csiostor/csio_mb.c enum fw_retval *retval, enum csio_dev_state *state, retval 115 drivers/scsi/csiostor/csio_mb.c *retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16)); retval 117 drivers/scsi/csiostor/csio_mb.c if (*retval == FW_SUCCESS) { retval 241 drivers/scsi/csiostor/csio_mb.c enum fw_retval *retval, unsigned int nparams, retval 248 drivers/scsi/csiostor/csio_mb.c *retval = FW_CMD_RETVAL_G(ntohl(rsp->retval_len16)); retval 250 drivers/scsi/csiostor/csio_mb.c if (*retval == FW_SUCCESS) retval 386 drivers/scsi/csiostor/csio_mb.c enum fw_retval *retval, uint16_t fw_caps, retval 391 drivers/scsi/csiostor/csio_mb.c *retval = FW_CMD_RETVAL_G(ntohl(rsp->action_to_len16)); retval 393 drivers/scsi/csiostor/csio_mb.c if (*retval == FW_SUCCESS) { retval 1053 drivers/scsi/csiostor/csio_mb.c enum fw_retval *retval, retval 1062 drivers/scsi/csiostor/csio_mb.c *retval = FW_CMD_RETVAL_G(ntohl(rsp->free_to_len16)); retval 1066 drivers/scsi/csiostor/csio_mb.c if (*retval == FW_SUCCESS) { retval 245 drivers/scsi/csiostor/csio_mb.h enum fw_retval *retval, retval 1785 drivers/scsi/csiostor/csio_scsi.c int retval; retval 1858 drivers/scsi/csiostor/csio_scsi.c retval = csio_scsi_start_io(ioreq); retval 1861 drivers/scsi/csiostor/csio_scsi.c if (retval != 0) { retval 1863 drivers/scsi/csiostor/csio_scsi.c ioreq, retval); retval 2067 drivers/scsi/csiostor/csio_scsi.c int retval; retval 2147 drivers/scsi/csiostor/csio_scsi.c retval = csio_scsi_start_tm(ioreq); retval 2150 drivers/scsi/csiostor/csio_scsi.c if (retval != 0) { retval 2152 drivers/scsi/csiostor/csio_scsi.c ioreq, retval); retval 2192 drivers/scsi/csiostor/csio_scsi.c retval = csio_scsi_abort_io_q(scsim, &local_q, 30000); retval 2196 drivers/scsi/csiostor/csio_scsi.c if (retval != 0) { retval 2199 drivers/scsi/csiostor/csio_scsi.c " returned %d\n", cmnd->device->lun, retval); retval 341 drivers/scsi/csiostor/csio_wr.c enum fw_retval retval; retval 347 drivers/scsi/csiostor/csio_wr.c csio_mb_iq_alloc_write_rsp(hw, mbp, &retval, &iqp); retval 349 drivers/scsi/csiostor/csio_wr.c if (retval != FW_SUCCESS) { retval 350 drivers/scsi/csiostor/csio_wr.c csio_err(hw, "IQ cmd returned 0x%x!\n", retval); retval 523 drivers/scsi/csiostor/csio_wr.c enum fw_retval retval; retval 527 drivers/scsi/csiostor/csio_wr.c csio_mb_eq_ofld_alloc_write_rsp(hw, mbp, &retval, &eqp); retval 529 drivers/scsi/csiostor/csio_wr.c if (retval != FW_SUCCESS) { retval 530 drivers/scsi/csiostor/csio_wr.c csio_err(hw, "EQ OFLD cmd returned 0x%x!\n", retval); retval 610 drivers/scsi/csiostor/csio_wr.c enum fw_retval retval = csio_mb_fw_retval(mbp); retval 613 drivers/scsi/csiostor/csio_wr.c if (retval != FW_SUCCESS) retval 684 drivers/scsi/csiostor/csio_wr.c enum fw_retval retval = csio_mb_fw_retval(mbp); retval 687 drivers/scsi/csiostor/csio_wr.c if (retval != FW_SUCCESS) retval 484 drivers/scsi/device_handler/scsi_dh_alua.c int retval; retval 486 drivers/scsi/device_handler/scsi_dh_alua.c retval = scsi_test_unit_ready(sdev, ALUA_FAILOVER_TIMEOUT * HZ, retval 491 drivers/scsi/device_handler/scsi_dh_alua.c else if (retval) retval 511 drivers/scsi/device_handler/scsi_dh_alua.c unsigned err, retval; retval 532 drivers/scsi/device_handler/scsi_dh_alua.c retval = submit_rtpg(sdev, buff, bufflen, &sense_hdr, pg->flags); retval 534 drivers/scsi/device_handler/scsi_dh_alua.c if (retval) { retval 547 drivers/scsi/device_handler/scsi_dh_alua.c ALUA_DH_NAME, retval); retval 554 drivers/scsi/device_handler/scsi_dh_alua.c ALUA_DH_NAME, retval); retval 556 drivers/scsi/device_handler/scsi_dh_alua.c if (driver_byte(retval) == DRIVER_ERROR) retval 744 drivers/scsi/device_handler/scsi_dh_alua.c int retval; retval 773 drivers/scsi/device_handler/scsi_dh_alua.c retval = submit_stpg(sdev, pg->group_id, &sense_hdr); retval 775 drivers/scsi/device_handler/scsi_dh_alua.c if (retval) { retval 779 drivers/scsi/device_handler/scsi_dh_alua.c ALUA_DH_NAME, retval); retval 780 drivers/scsi/device_handler/scsi_dh_alua.c if (driver_byte(retval) == DRIVER_ERROR) retval 123 drivers/scsi/esas2r/esas2r_log.c int retval = 0; retval 155 drivers/scsi/esas2r/esas2r_log.c retval = vsnprintf(buffer, buflen, format, args); retval 156 drivers/scsi/esas2r/esas2r_log.c if (retval < 0) { retval 184 drivers/scsi/esas2r/esas2r_log.c int retval = 0; retval 189 drivers/scsi/esas2r/esas2r_log.c retval = esas2r_log_master(level, NULL, format, args); retval 193 drivers/scsi/esas2r/esas2r_log.c return retval; retval 212 drivers/scsi/esas2r/esas2r_log.c int retval = 0; retval 217 drivers/scsi/esas2r/esas2r_log.c retval = esas2r_log_master(level, dev, format, args); retval 221 drivers/scsi/esas2r/esas2r_log.c return retval; retval 3280 drivers/scsi/gdth.c enum blk_eh_timer_return retval = BLK_EH_DONE; retval 3292 drivers/scsi/gdth.c retval = BLK_EH_RESET_TIMER; retval 3299 drivers/scsi/gdth.c retval = BLK_EH_RESET_TIMER; retval 3303 drivers/scsi/gdth.c return retval; retval 1360 drivers/scsi/lpfc/lpfc_init.c int retval, i; retval 1435 drivers/scsi/lpfc/lpfc_init.c retval = lpfc_sli_issue_mbox(phba, pmboxq, retval 1438 drivers/scsi/lpfc/lpfc_init.c if (retval != MBX_BUSY && retval 1439 drivers/scsi/lpfc/lpfc_init.c retval != MBX_SUCCESS) { retval 10503 drivers/scsi/lpfc/lpfc_init.c int retval; retval 10507 drivers/scsi/lpfc/lpfc_init.c retval = lpfc_sli_config_port(phba, LPFC_SLI_REV3); retval 10508 drivers/scsi/lpfc/lpfc_init.c if (!retval) { retval 10510 drivers/scsi/lpfc/lpfc_init.c retval = lpfc_sli_enable_msix(phba); retval 10511 drivers/scsi/lpfc/lpfc_init.c if (!retval) { retval 10521 drivers/scsi/lpfc/lpfc_init.c retval = lpfc_sli_enable_msi(phba); retval 10522 drivers/scsi/lpfc/lpfc_init.c if (!retval) { retval 10531 drivers/scsi/lpfc/lpfc_init.c retval = request_irq(phba->pcidev->irq, lpfc_sli_intr_handler, retval 10533 drivers/scsi/lpfc/lpfc_init.c if (!retval) { retval 11073 drivers/scsi/lpfc/lpfc_init.c static int __lpfc_cpuhp_checks(struct lpfc_hba *phba, int *retval) retval 11076 drivers/scsi/lpfc/lpfc_init.c *retval = -EAGAIN; retval 11081 drivers/scsi/lpfc/lpfc_init.c *retval = 0; retval 11094 drivers/scsi/lpfc/lpfc_init.c int retval; retval 11101 drivers/scsi/lpfc/lpfc_init.c if (__lpfc_cpuhp_checks(phba, &retval)) retval 11102 drivers/scsi/lpfc/lpfc_init.c return retval; retval 11120 drivers/scsi/lpfc/lpfc_init.c int retval; retval 11127 drivers/scsi/lpfc/lpfc_init.c if (__lpfc_cpuhp_checks(phba, &retval)) retval 11128 drivers/scsi/lpfc/lpfc_init.c return retval; retval 11283 drivers/scsi/lpfc/lpfc_init.c int retval, idx; retval 11287 drivers/scsi/lpfc/lpfc_init.c retval = 0; retval 11288 drivers/scsi/lpfc/lpfc_init.c if (!retval) { retval 11290 drivers/scsi/lpfc/lpfc_init.c retval = lpfc_sli4_enable_msix(phba); retval 11291 drivers/scsi/lpfc/lpfc_init.c if (!retval) { retval 11301 drivers/scsi/lpfc/lpfc_init.c retval = lpfc_sli4_enable_msi(phba); retval 11302 drivers/scsi/lpfc/lpfc_init.c if (!retval) { retval 11311 drivers/scsi/lpfc/lpfc_init.c retval = request_irq(phba->pcidev->irq, lpfc_sli4_intr_handler, retval 11313 drivers/scsi/lpfc/lpfc_init.c if (!retval) { retval 4093 drivers/scsi/lpfc/lpfc_sli.c int retval = 0; retval 4123 drivers/scsi/lpfc/lpfc_sli.c retval = 1; retval 4137 drivers/scsi/lpfc/lpfc_sli.c retval = 1; retval 4140 drivers/scsi/lpfc/lpfc_sli.c return retval; retval 4158 drivers/scsi/lpfc/lpfc_sli.c int retval = 0; retval 4172 drivers/scsi/lpfc/lpfc_sli.c retval = 1; retval 4176 drivers/scsi/lpfc/lpfc_sli.c return retval; retval 4318 drivers/scsi/lpfc/lpfc_sli.c int retval; retval 4347 drivers/scsi/lpfc/lpfc_sli.c retval = lpfc_sli_issue_mbox(phba, pmb, MBX_NOWAIT); retval 4349 drivers/scsi/lpfc/lpfc_sli.c if (retval != MBX_SUCCESS) { retval 4350 drivers/scsi/lpfc/lpfc_sli.c if (retval != MBX_BUSY) retval 4354 drivers/scsi/lpfc/lpfc_sli.c retval); retval 11124 drivers/scsi/lpfc/lpfc_sli.c int retval; retval 11195 drivers/scsi/lpfc/lpfc_sli.c retval = __lpfc_sli_issue_iocb(phba, pring->ringno, retval 11199 drivers/scsi/lpfc/lpfc_sli.c retval = __lpfc_sli_issue_iocb(phba, pring->ringno, retval 11203 drivers/scsi/lpfc/lpfc_sli.c if (retval) retval 11211 drivers/scsi/lpfc/lpfc_sli.c return retval; retval 11232 drivers/scsi/lpfc/lpfc_sli.c int retval = IOCB_ERROR; retval 11270 drivers/scsi/lpfc/lpfc_sli.c retval = lpfc_sli_abort_iotag_issue(phba, pring, cmdiocb); retval 11278 drivers/scsi/lpfc/lpfc_sli.c return retval; retval 11835 drivers/scsi/lpfc/lpfc_sli.c int retval = IOCB_SUCCESS; retval 11871 drivers/scsi/lpfc/lpfc_sli.c retval = lpfc_sli_issue_iocb(phba, ring_number, piocb, retval 11873 drivers/scsi/lpfc/lpfc_sli.c if (retval == IOCB_SUCCESS) { retval 11902 drivers/scsi/lpfc/lpfc_sli.c retval = IOCB_TIMEDOUT; retval 11908 drivers/scsi/lpfc/lpfc_sli.c retval = IOCB_TIMEDOUT; retval 11910 drivers/scsi/lpfc/lpfc_sli.c } else if (retval == IOCB_BUSY) { retval 11922 drivers/scsi/lpfc/lpfc_sli.c return retval; retval 11926 drivers/scsi/lpfc/lpfc_sli.c retval); retval 11927 drivers/scsi/lpfc/lpfc_sli.c retval = IOCB_ERROR; retval 11943 drivers/scsi/lpfc/lpfc_sli.c return retval; retval 11977 drivers/scsi/lpfc/lpfc_sli.c int retval; retval 11988 drivers/scsi/lpfc/lpfc_sli.c retval = lpfc_sli_issue_mbox(phba, pmboxq, MBX_NOWAIT); retval 11989 drivers/scsi/lpfc/lpfc_sli.c if (retval == MBX_BUSY || retval == MBX_SUCCESS) { retval 12000 drivers/scsi/lpfc/lpfc_sli.c retval = MBX_SUCCESS; retval 12002 drivers/scsi/lpfc/lpfc_sli.c retval = MBX_TIMEOUT; retval 12007 drivers/scsi/lpfc/lpfc_sli.c return retval; retval 18450 drivers/scsi/lpfc/lpfc_sli.c int retval = MBX_SUCCESS; retval 18464 drivers/scsi/lpfc/lpfc_sli.c retval = -EIO; retval 18469 drivers/scsi/lpfc/lpfc_sli.c return retval; retval 195 drivers/scsi/megaraid.c int retval; retval 218 drivers/scsi/megaraid.c if ((retval = issue_scb_block(adapter, raw_mbox))) { retval 265 drivers/scsi/megaraid.c if ((retval = issue_scb_block(adapter, raw_mbox))) retval 268 drivers/scsi/megaraid.c retval); retval 2297 drivers/scsi/megaraid/megaraid_sas_base.c int ld, retval = 0; retval 2364 drivers/scsi/megaraid/megaraid_sas_base.c retval = 1; /* Do a scan if we couldn't get affiliation */ retval 2379 drivers/scsi/megaraid/megaraid_sas_base.c retval = 1; retval 2393 drivers/scsi/megaraid/megaraid_sas_base.c return retval; retval 2404 drivers/scsi/megaraid/megaraid_sas_base.c int i, j, retval = 0, found = 0, doscan = 0; retval 2472 drivers/scsi/megaraid/megaraid_sas_base.c retval = 1; /* Do a scan if we couldn't get affiliation */ retval 2481 drivers/scsi/megaraid/megaraid_sas_base.c retval = 1; retval 2548 drivers/scsi/megaraid/megaraid_sas_base.c retval = 1; retval 2558 drivers/scsi/megaraid/megaraid_sas_base.c return retval; retval 2565 drivers/scsi/megaraid/megaraid_sas_base.c int retval; retval 2568 drivers/scsi/megaraid/megaraid_sas_base.c retval = megasas_get_ld_vf_affiliation_111(instance, initial); retval 2570 drivers/scsi/megaraid/megaraid_sas_base.c retval = megasas_get_ld_vf_affiliation_12(instance, initial); retval 2571 drivers/scsi/megaraid/megaraid_sas_base.c return retval; retval 2580 drivers/scsi/megaraid/megaraid_sas_base.c int retval = 0; retval 2603 drivers/scsi/megaraid/megaraid_sas_base.c retval = -ENOMEM; retval 2628 drivers/scsi/megaraid/megaraid_sas_base.c retval = megasas_issue_blocked_cmd(instance, cmd, retval 2631 drivers/scsi/megaraid/megaraid_sas_base.c retval = megasas_issue_polled(instance, cmd); retval 2633 drivers/scsi/megaraid/megaraid_sas_base.c if (retval) { retval 2638 drivers/scsi/megaraid/megaraid_sas_base.c retval = 1; retval 2644 drivers/scsi/megaraid/megaraid_sas_base.c return retval; retval 8515 drivers/scsi/megaraid/megaraid_sas_base.c int retval = count; retval 8519 drivers/scsi/megaraid/megaraid_sas_base.c retval = -EINVAL; retval 8521 drivers/scsi/megaraid/megaraid_sas_base.c return retval; retval 492 drivers/scsi/megaraid/megaraid_sas_fp.c u64 span_set_Strip, span_set_Row, retval; retval 517 drivers/scsi/megaraid/megaraid_sas_fp.c retval = (span_set->data_row_start + span_set_Row + retval 519 drivers/scsi/megaraid/megaraid_sas_fp.c return retval; retval 609 drivers/scsi/megaraid/megaraid_sas_fp.c u32 info, strip_offset, span, span_offset, retval; retval 634 drivers/scsi/megaraid/megaraid_sas_fp.c retval = (strip_offset - span_offset); retval 635 drivers/scsi/megaraid/megaraid_sas_fp.c return retval; retval 697 drivers/scsi/megaraid/megaraid_sas_fp.c u8 retval = true; retval 771 drivers/scsi/megaraid/megaraid_sas_fp.c return retval; retval 800 drivers/scsi/megaraid/megaraid_sas_fp.c u8 retval = true; retval 889 drivers/scsi/megaraid/megaraid_sas_fp.c return retval; retval 989 drivers/scsi/megaraid/megaraid_sas_fp.c u8 retval = 0; retval 1182 drivers/scsi/megaraid/megaraid_sas_fp.c retval = io_info->IoforUnevenSpan ? retval 1192 drivers/scsi/megaraid/megaraid_sas_fp.c return retval; retval 1196 drivers/scsi/megaraid/megaraid_sas_fp.c retval = io_info->IoforUnevenSpan ? retval 1204 drivers/scsi/megaraid/megaraid_sas_fp.c if (!retval) retval 4101 drivers/scsi/megaraid/megaraid_sas_fusion.c int i, outstanding, retval = 0, hb_seconds_missed = 0; retval 4115 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = 1; retval 4137 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = 1; retval 4144 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = 1; retval 4166 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = 1; retval 4187 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = 1; retval 4196 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = 1; retval 4200 drivers/scsi/megaraid/megaraid_sas_fusion.c return retval; retval 4776 drivers/scsi/megaraid/megaraid_sas_fusion.c int retval = (DID_REQUEUE << 16); retval 4783 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = (DID_NO_CONNECT << 16); retval 4785 drivers/scsi/megaraid/megaraid_sas_fusion.c return retval; retval 4791 drivers/scsi/megaraid/megaraid_sas_fusion.c int retval = SUCCESS, i, j, convert = 0; retval 4842 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = SUCCESS; retval 4848 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = megasas_reset_fusion(shost, 0); retval 4850 drivers/scsi/megaraid/megaraid_sas_fusion.c return retval; retval 5026 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = SUCCESS; retval 5054 drivers/scsi/megaraid/megaraid_sas_fusion.c retval = FAILED; retval 5058 drivers/scsi/megaraid/megaraid_sas_fusion.c return retval; retval 1305 drivers/scsi/mpt3sas/mpt3sas_ctl.c int retval; retval 1320 drivers/scsi/mpt3sas/mpt3sas_ctl.c retval = mpt3sas_base_hard_reset_handler(ioc, FORCE_BIG_HAMMER); retval 1321 drivers/scsi/mpt3sas/mpt3sas_ctl.c ioc_info(ioc, "host reset: %s\n", ((!retval) ? "SUCCESS" : "FAILED")); retval 3098 drivers/scsi/mpt3sas/mpt3sas_scsih.c int r, retval; retval 3109 drivers/scsi/mpt3sas/mpt3sas_scsih.c retval = mpt3sas_base_hard_reset_handler(ioc, FORCE_BIG_HAMMER); retval 3110 drivers/scsi/mpt3sas/mpt3sas_scsih.c r = (retval < 0) ? FAILED : SUCCESS; retval 1308 drivers/scsi/pmcraid.c int retval = 0; retval 1312 drivers/scsi/pmcraid.c retval = ((cfgte->unique_flags1 & 0x80) == 0); retval 1314 drivers/scsi/pmcraid.c retval = ((cfgte->unique_flags0 & 0x80) == 0 && retval 1318 drivers/scsi/pmcraid.c retval = (RES_BUS(cfgte->resource_address) != retval 1320 drivers/scsi/pmcraid.c return retval; retval 3911 drivers/scsi/pmcraid.c int retval = -ENOTTY; retval 3920 drivers/scsi/pmcraid.c retval = pmcraid_check_ioctl_buffer(cmd, argp, hdr); retval 3922 drivers/scsi/pmcraid.c if (retval) { retval 3925 drivers/scsi/pmcraid.c return retval; retval 3945 drivers/scsi/pmcraid.c retval = pmcraid_ioctl_passthrough(pinstance, cmd, retval 3954 drivers/scsi/pmcraid.c retval = pmcraid_ioctl_driver(pinstance, cmd, retval 3959 drivers/scsi/pmcraid.c retval = -ENOTTY; retval 3965 drivers/scsi/pmcraid.c return retval; retval 3613 drivers/scsi/qla4xxx/ql4_nx.c int retval; retval 3624 drivers/scsi/qla4xxx/ql4_nx.c retval = qla4_8xxx_device_state_handler(ha); retval 3627 drivers/scsi/qla4xxx/ql4_nx.c if (retval == QLA_SUCCESS) retval 3630 drivers/scsi/qla4xxx/ql4_nx.c if (retval == QLA_SUCCESS && !test_bit(AF_IRQ_ATTACHED, &ha->flags)) retval 3631 drivers/scsi/qla4xxx/ql4_nx.c retval = qla4xxx_request_irqs(ha); retval 3633 drivers/scsi/qla4xxx/ql4_nx.c return retval; retval 3410 drivers/scsi/scsi_debug.c int retval = 0; retval 3446 drivers/scsi/scsi_debug.c retval = DID_ERROR << 16; retval 3454 drivers/scsi/scsi_debug.c retval = check_condition_result; retval 3462 drivers/scsi/scsi_debug.c return retval; retval 3758 drivers/scsi/scsi_debug.c int k, retval; retval 3760 drivers/scsi/scsi_debug.c retval = atomic_read(&retired_max_queue); retval 3761 drivers/scsi/scsi_debug.c if (qc_idx >= retval) { retval 3763 drivers/scsi/scsi_debug.c pr_err("index %d too large\n", retval); retval 3766 drivers/scsi/scsi_debug.c k = find_last_bit(sqp->in_use_bm, retval); retval 3767 drivers/scsi/scsi_debug.c if ((k < sdebug_max_queue) || (k == retval)) retval 972 drivers/scsi/scsi_sysfs.c int depth, retval; retval 984 drivers/scsi/scsi_sysfs.c retval = sht->change_queue_depth(sdev, depth); retval 985 drivers/scsi/scsi_sysfs.c if (retval < 0) retval 986 drivers/scsi/scsi_sysfs.c return retval; retval 501 drivers/scsi/scsi_transport_spi.c int period, retval; retval 506 drivers/scsi/scsi_transport_spi.c retval = store_spi_transport_period_helper(cdev, buf, count, &period); retval 513 drivers/scsi/scsi_transport_spi.c return retval; retval 752 drivers/scsi/scsi_transport_spi.c enum spi_compare_returns retval; retval 757 drivers/scsi/scsi_transport_spi.c retval = compare_fn(sdev, buffer, ptr, DV_LOOPS); retval 759 drivers/scsi/scsi_transport_spi.c if (retval == SPI_COMPARE_SUCCESS retval 760 drivers/scsi/scsi_transport_spi.c || retval == SPI_COMPARE_SKIP_TEST) retval 799 drivers/scsi/scsi_transport_spi.c return retval; retval 1338 drivers/scsi/sd.c int retval; retval 1351 drivers/scsi/sd.c retval = -ENXIO; retval 1361 drivers/scsi/sd.c retval = -ENOMEDIUM; retval 1369 drivers/scsi/sd.c retval = -EROFS; retval 1379 drivers/scsi/sd.c retval = -ENXIO; retval 1392 drivers/scsi/sd.c return retval; retval 1556 drivers/scsi/sd.c int retval; retval 1587 drivers/scsi/sd.c retval = scsi_test_unit_ready(sdp, SD_TIMEOUT, SD_MAX_RETRIES, retval 1591 drivers/scsi/sd.c if (host_byte(retval)) { retval 1614 drivers/scsi/sd.c retval = sdp->changed ? DISK_EVENT_MEDIA_CHANGE : 0; retval 1617 drivers/scsi/sd.c return retval; retval 248 drivers/scsi/sg.c int retval = 0; retval 253 drivers/scsi/sg.c retval = wait_event_interruptible(sdp->open_wait, retval 258 drivers/scsi/sg.c if (retval) /* -ERESTARTSYS */ retval 259 drivers/scsi/sg.c return retval; retval 266 drivers/scsi/sg.c retval = wait_event_interruptible(sdp->open_wait, retval 271 drivers/scsi/sg.c if (retval) /* -ERESTARTSYS */ retval 272 drivers/scsi/sg.c return retval; retval 278 drivers/scsi/sg.c return retval; retval 290 drivers/scsi/sg.c int retval; retval 304 drivers/scsi/sg.c retval = scsi_device_get(sdp->device); retval 305 drivers/scsi/sg.c if (retval) retval 308 drivers/scsi/sg.c retval = scsi_autopm_get_device(sdp->device); retval 309 drivers/scsi/sg.c if (retval) retval 317 drivers/scsi/sg.c retval = -ENXIO; retval 326 drivers/scsi/sg.c retval = -EBUSY; retval 331 drivers/scsi/sg.c retval = -EBUSY; retval 336 drivers/scsi/sg.c retval = open_wait(sdp, flags); retval 337 drivers/scsi/sg.c if (retval) /* -ERESTARTSYS or -ENODEV */ retval 352 drivers/scsi/sg.c retval = PTR_ERR(sfp); retval 360 drivers/scsi/sg.c retval = 0; retval 363 drivers/scsi/sg.c return retval; retval 417 drivers/scsi/sg.c int retval = 0; retval 423 drivers/scsi/sg.c retval = sg_check_file_access(filp, __func__); retval 424 drivers/scsi/sg.c if (retval) retval 425 drivers/scsi/sg.c return retval; retval 439 drivers/scsi/sg.c retval = -EFAULT; retval 447 drivers/scsi/sg.c retval = -ENOMEM; retval 450 drivers/scsi/sg.c retval =__copy_from_user retval 454 drivers/scsi/sg.c if (retval) { retval 455 drivers/scsi/sg.c retval = -EFAULT; retval 465 drivers/scsi/sg.c retval = -ENODEV; retval 469 drivers/scsi/sg.c retval = -EAGAIN; retval 472 drivers/scsi/sg.c retval = wait_event_interruptible(sfp->read_wait, retval 476 drivers/scsi/sg.c retval = -ENODEV; retval 479 drivers/scsi/sg.c if (retval) { retval 485 drivers/scsi/sg.c retval = sg_new_read(sfp, buf, count, srp); retval 493 drivers/scsi/sg.c retval = -ENOMEM; retval 542 drivers/scsi/sg.c retval = -EFAULT; retval 550 drivers/scsi/sg.c retval = -EFAULT; retval 558 drivers/scsi/sg.c retval = count; retval 561 drivers/scsi/sg.c return retval; retval 614 drivers/scsi/sg.c int retval; retval 616 drivers/scsi/sg.c retval = sg_check_file_access(filp, __func__); retval 617 drivers/scsi/sg.c if (retval) retval 618 drivers/scsi/sg.c return retval; retval 656 drivers/scsi/sr.c int retval; retval 662 drivers/scsi/sr.c retval = -ENXIO; retval 669 drivers/scsi/sr.c return retval; retval 665 drivers/scsi/st.c int retval = 0; retval 701 drivers/scsi/st.c retval = -EIO; retval 709 drivers/scsi/st.c retval = -ENOSPC; retval 711 drivers/scsi/st.c if (retval == -EIO) retval 716 drivers/scsi/st.c DEB(if (debugging && retval) retval 719 drivers/scsi/st.c STbuffer->cmdstat.midlevel_result, retval);) /* end DEB */ retval 721 drivers/scsi/st.c return retval; retval 918 drivers/scsi/st.c int retval; retval 922 drivers/scsi/st.c retval = scsi_set_medium_removal(STp->device, retval 924 drivers/scsi/st.c if (!retval) retval 928 drivers/scsi/st.c return retval; retval 968 drivers/scsi/st.c int retval = CHKRES_READY, new_session = 0; retval 982 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; retval 997 drivers/scsi/st.c retval = (-EIO); retval 1005 drivers/scsi/st.c retval = (-EINTR); retval 1014 drivers/scsi/st.c retval = CHKRES_NO_TAPE; retval 1016 drivers/scsi/st.c retval = CHKRES_NOT_READY; retval 1022 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; retval 1023 drivers/scsi/st.c if (!retval) retval 1024 drivers/scsi/st.c retval = new_session ? CHKRES_NEW_SESSION : CHKRES_READY; retval 1030 drivers/scsi/st.c return retval; retval 1041 drivers/scsi/st.c int i, retval, new_session = 0, do_wait; retval 1064 drivers/scsi/st.c retval = test_ready(STp, do_wait); retval 1066 drivers/scsi/st.c if (retval < 0) retval 1069 drivers/scsi/st.c if (retval == CHKRES_NEW_SESSION) { retval 1089 drivers/scsi/st.c if (retval == CHKRES_NOT_READY || retval == CHKRES_NO_TAPE) { retval 1090 drivers/scsi/st.c if (retval == CHKRES_NO_TAPE) retval 1115 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; retval 1142 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; retval 1203 drivers/scsi/st.c retval = (-EROFS); retval 1214 drivers/scsi/st.c retval = STp->partition; retval 1225 drivers/scsi/st.c (retval = set_mode_densblk(STp, STm)) < 0) retval 1240 drivers/scsi/st.c return retval; retval 1248 drivers/scsi/st.c int i, retval = (-EIO); retval 1280 drivers/scsi/st.c retval = -EIO; retval 1285 drivers/scsi/st.c retval = (-ENXIO); retval 1293 drivers/scsi/st.c retval = (-EOVERFLOW); retval 1313 drivers/scsi/st.c retval = check_tape(STp, filp); retval 1314 drivers/scsi/st.c if (retval < 0) retval 1317 drivers/scsi/st.c retval != CHKRES_READY) { retval 1319 drivers/scsi/st.c retval = (-ENOMEDIUM); retval 1321 drivers/scsi/st.c retval = (-EIO); retval 1334 drivers/scsi/st.c return retval; retval 1477 drivers/scsi/st.c ssize_t retval = 0; retval 1486 drivers/scsi/st.c retval = (-ENXIO); retval 1492 drivers/scsi/st.c retval = (-ENOMEDIUM); retval 1494 drivers/scsi/st.c retval = (-EIO); retval 1499 drivers/scsi/st.c retval = (-ENXIO); retval 1509 drivers/scsi/st.c retval = (-EIO); retval 1520 drivers/scsi/st.c retval = (-EIO); retval 1525 drivers/scsi/st.c (retval = switch_partition(STp)) < 0) retval 1530 drivers/scsi/st.c retval = (-EINVAL); retval 1539 drivers/scsi/st.c return retval; retval 1546 drivers/scsi/st.c int i, bufsize, retval = 0; retval 1592 drivers/scsi/st.c retval = (-EOVERFLOW); retval 1600 drivers/scsi/st.c return retval; retval 1624 drivers/scsi/st.c ssize_t retval; retval 1638 drivers/scsi/st.c retval = rw_checks(STp, filp, count); retval 1639 drivers/scsi/st.c if (retval || count == 0) retval 1646 drivers/scsi/st.c retval = (-EINVAL); retval 1654 drivers/scsi/st.c retval = (-EACCES); retval 1660 drivers/scsi/st.c retval = flush_buffer(STp, 0); retval 1661 drivers/scsi/st.c if (retval) retval 1666 drivers/scsi/st.c if ((retval = set_mode_densblk(STp, STm)) < 0) retval 1674 drivers/scsi/st.c retval = (-EINVAL); retval 1692 drivers/scsi/st.c retval = (-ENOSPC); retval 1696 drivers/scsi/st.c retval = (-EIO); retval 1706 drivers/scsi/st.c retval = (-EFAULT); retval 1710 drivers/scsi/st.c retval = setup_buffering(STp, buf, count, 0); retval 1711 drivers/scsi/st.c if (retval) retval 1740 drivers/scsi/st.c retval = i; retval 1778 drivers/scsi/st.c retval = STbp->syscall_result; retval 1819 drivers/scsi/st.c retval = (-ENOSPC); /* EOM within current request */ retval 1848 drivers/scsi/st.c retval = (-EIO); /* EOM for old data */ retval 1856 drivers/scsi/st.c retval = STbp->syscall_result; retval 1871 drivers/scsi/st.c if (retval || retry_eot) { retval 1873 drivers/scsi/st.c retval = total - count; retval 1882 drivers/scsi/st.c retval = total - count; retval 1890 drivers/scsi/st.c return retval; retval 1908 drivers/scsi/st.c int retval = 0; retval 1959 drivers/scsi/st.c retval = 1; retval 2064 drivers/scsi/st.c retval = (-EIO); retval 2072 drivers/scsi/st.c retval = STbp->syscall_result; retval 2089 drivers/scsi/st.c return retval; retval 2098 drivers/scsi/st.c ssize_t retval = 0; retval 2110 drivers/scsi/st.c retval = rw_checks(STp, filp, count); retval 2111 drivers/scsi/st.c if (retval || count == 0) retval 2117 drivers/scsi/st.c retval = (-EINVAL); /* Read must be integral number of blocks */ retval 2125 drivers/scsi/st.c retval = flush_buffer(STp, 0); retval 2126 drivers/scsi/st.c if (retval) retval 2137 drivers/scsi/st.c retval = setup_buffering(STp, buf, count, 1); retval 2138 drivers/scsi/st.c if (retval) retval 2146 drivers/scsi/st.c retval = 0; retval 2149 drivers/scsi/st.c retval = (-EIO); /* EOM or Blank Check */ retval 2160 drivers/scsi/st.c retval = (-EFAULT); retval 2175 drivers/scsi/st.c retval = special; retval 2194 drivers/scsi/st.c retval = i; retval 2224 drivers/scsi/st.c retval = total; retval 2237 drivers/scsi/st.c return retval; retval 2552 drivers/scsi/st.c int retval; retval 2560 drivers/scsi/st.c retval = read_mode_page(STp, COMPRESSION_PAGE, 0); retval 2561 drivers/scsi/st.c if (retval) { retval 2588 drivers/scsi/st.c retval = write_mode_page(STp, COMPRESSION_PAGE, 0); retval 2589 drivers/scsi/st.c if (retval) { retval 2603 drivers/scsi/st.c int retval = (-EIO), timeout; retval 2648 drivers/scsi/st.c retval = (STp->buffer)->syscall_result; retval 2651 drivers/scsi/st.c if (!retval) { /* SCSI command successful */ retval 2659 drivers/scsi/st.c retval = check_tape(STp, filp); retval 2660 drivers/scsi/st.c if (retval > 0) retval 2661 drivers/scsi/st.c retval = 0; retval 2669 drivers/scsi/st.c return retval; retval 3506 drivers/scsi/st.c int retval = 0; retval 3519 drivers/scsi/st.c retval = (-EIO); retval 3532 drivers/scsi/st.c retval = scsi_ioctl_block_when_processing_errors(STp->device, cmd_in, retval 3534 drivers/scsi/st.c if (retval) retval 3544 drivers/scsi/st.c retval = (-EINVAL); retval 3550 drivers/scsi/st.c retval = (-EFAULT); retval 3557 drivers/scsi/st.c retval = (-EPERM); retval 3563 drivers/scsi/st.c retval = (-ENXIO); retval 3597 drivers/scsi/st.c retval = i; retval 3606 drivers/scsi/st.c retval = i; retval 3626 drivers/scsi/st.c retval = (-EIO); retval 3644 drivers/scsi/st.c retval = st_set_options(STp, mtc.mt_count); retval 3651 drivers/scsi/st.c retval = (-EINVAL); retval 3656 drivers/scsi/st.c retval = (-EIO); retval 3660 drivers/scsi/st.c retval = (-EINVAL); retval 3664 drivers/scsi/st.c retval = 0; retval 3670 drivers/scsi/st.c retval = (-EINVAL); retval 3675 drivers/scsi/st.c retval = i; retval 3680 drivers/scsi/st.c retval = i; retval 3691 drivers/scsi/st.c retval = 0; retval 3699 drivers/scsi/st.c retval = i; retval 3704 drivers/scsi/st.c retval = do_load_unload(STp, file, 0); retval 3709 drivers/scsi/st.c retval = do_load_unload(STp, file, max(1, mtc.mt_count)); retval 3714 drivers/scsi/st.c retval = do_door_lock(STp, (mtc.mt_op == MTLOCK)); retval 3720 drivers/scsi/st.c retval = i; retval 3725 drivers/scsi/st.c retval = st_compression(STp, (mtc.mt_count & 1)); retval 3727 drivers/scsi/st.c retval = st_int_ioctl(STp, mtc.mt_op, mtc.mt_count); retval 3731 drivers/scsi/st.c retval = (-ENXIO); retval 3736 drivers/scsi/st.c retval = i; retval 3741 drivers/scsi/st.c retval = i; retval 3749 drivers/scsi/st.c retval = (-EINVAL); retval 3805 drivers/scsi/st.c retval = (-EFAULT); retval 3810 drivers/scsi/st.c retval = 0; retval 3816 drivers/scsi/st.c retval = (-EINVAL); retval 3820 drivers/scsi/st.c retval = i; retval 3826 drivers/scsi/st.c retval = (-EFAULT); retval 3847 drivers/scsi/st.c retval = scsi_ioctl(STp->device, cmd_in, p); retval 3848 drivers/scsi/st.c if (!retval && cmd_in == SCSI_IOCTL_STOP_UNIT) { /* unload */ retval 3852 drivers/scsi/st.c return retval; retval 3856 drivers/scsi/st.c return retval; retval 5612 drivers/scsi/ufs/ufshcd.c irqreturn_t retval = IRQ_NONE; retval 5632 drivers/scsi/ufs/ufshcd.c retval = IRQ_HANDLED; retval 5639 drivers/scsi/ufs/ufshcd.c return retval; retval 494 drivers/sh/maple/maple.c int retval, k, devcheck; retval 501 drivers/sh/maple/maple.c retval = retval 504 drivers/sh/maple/maple.c if (retval) { retval 797 drivers/sh/maple/maple.c int retval, i; retval 802 drivers/sh/maple/maple.c retval = device_register(&maple_bus); retval 803 drivers/sh/maple/maple.c if (retval) retval 806 drivers/sh/maple/maple.c retval = bus_register(&maple_bus_type); retval 807 drivers/sh/maple/maple.c if (retval) retval 810 drivers/sh/maple/maple.c retval = driver_register(&maple_unsupported_device.drv); retval 811 drivers/sh/maple/maple.c if (retval) retval 815 drivers/sh/maple/maple.c retval = maple_get_dma_buffer(); retval 816 drivers/sh/maple/maple.c if (retval) { retval 822 drivers/sh/maple/maple.c retval = maple_set_dma_interrupt_handler(); retval 823 drivers/sh/maple/maple.c if (retval) { retval 830 drivers/sh/maple/maple.c retval = maple_set_vblank_interrupt_handler(); retval 831 drivers/sh/maple/maple.c if (retval) { retval 890 drivers/sh/maple/maple.c return retval; retval 200 drivers/spi/spi-bitbang.c int retval = bitbang->setup_transfer(spi, NULL); retval 201 drivers/spi/spi-bitbang.c if (retval < 0) retval 202 drivers/spi/spi-bitbang.c return retval; retval 445 drivers/spi/spi-fsl-spi.c int retval; retval 477 drivers/spi/spi-fsl-spi.c retval = fsl_spi_setup_transfer(spi, NULL); retval 478 drivers/spi/spi-fsl-spi.c if (retval < 0) { retval 480 drivers/spi/spi-fsl-spi.c return retval; retval 156 drivers/spi/spi-sh.c int i, retval = 0; retval 178 drivers/spi/spi-sh.c retval = -EIO; retval 215 drivers/spi/spi-sh.c return retval; retval 456 drivers/spi/spi-topcliff-pch.c int retval; retval 465 drivers/spi/spi-topcliff-pch.c retval = -EINVAL; retval 472 drivers/spi/spi-topcliff-pch.c retval = -EINVAL; retval 485 drivers/spi/spi-topcliff-pch.c retval = -ESHUTDOWN; retval 492 drivers/spi/spi-topcliff-pch.c retval = -EINVAL; retval 511 drivers/spi/spi-topcliff-pch.c retval = 0; retval 514 drivers/spi/spi-topcliff-pch.c dev_dbg(&pspi->dev, "%s RETURN=%d\n", __func__, retval); retval 515 drivers/spi/spi-topcliff-pch.c return retval; retval 517 drivers/spi/spi-topcliff-pch.c dev_dbg(&pspi->dev, "%s RETURN=%d\n", __func__, retval); retval 519 drivers/spi/spi-topcliff-pch.c return retval; retval 1503 drivers/spi/spi-topcliff-pch.c int retval; retval 1513 drivers/spi/spi-topcliff-pch.c retval = request_irq(board_dat->pdev->irq, pch_spi_handler, retval 1515 drivers/spi/spi-topcliff-pch.c if (retval < 0) { retval 1518 drivers/spi/spi-topcliff-pch.c return retval; retval 1547 drivers/spi/spi-topcliff-pch.c int retval; retval 1557 drivers/spi/spi-topcliff-pch.c retval = -ENOMEM; retval 1561 drivers/spi/spi-topcliff-pch.c retval = pci_request_regions(pdev, KBUILD_MODNAME); retval 1562 drivers/spi/spi-topcliff-pch.c if (retval) { retval 1572 drivers/spi/spi-topcliff-pch.c retval = pci_enable_device(pdev); retval 1573 drivers/spi/spi-topcliff-pch.c if (retval) { retval 1582 drivers/spi/spi-topcliff-pch.c retval = -ENOMEM; retval 1588 drivers/spi/spi-topcliff-pch.c retval = platform_device_add_data(pd_dev, board_dat, retval 1590 drivers/spi/spi-topcliff-pch.c if (retval) { retval 1597 drivers/spi/spi-topcliff-pch.c retval = platform_device_add(pd_dev); retval 1598 drivers/spi/spi-topcliff-pch.c if (retval) { retval 1620 drivers/spi/spi-topcliff-pch.c return retval; retval 1642 drivers/spi/spi-topcliff-pch.c int retval; retval 1650 drivers/spi/spi-topcliff-pch.c retval = pci_save_state(pdev); retval 1651 drivers/spi/spi-topcliff-pch.c if (retval == 0) { retval 1659 drivers/spi/spi-topcliff-pch.c return retval; retval 1664 drivers/spi/spi-topcliff-pch.c int retval; retval 1671 drivers/spi/spi-topcliff-pch.c retval = pci_enable_device(pdev); retval 1672 drivers/spi/spi-topcliff-pch.c if (retval < 0) { retval 1682 drivers/spi/spi-topcliff-pch.c return retval; retval 338 drivers/spi/spidev.c int retval = 0; retval 371 drivers/spi/spidev.c retval = put_user(spi->mode & SPI_MODE_MASK, retval 375 drivers/spi/spidev.c retval = put_user(spi->mode & SPI_MODE_MASK, retval 379 drivers/spi/spidev.c retval = put_user((spi->mode & SPI_LSB_FIRST) ? 1 : 0, retval 383 drivers/spi/spidev.c retval = put_user(spi->bits_per_word, (__u8 __user *)arg); retval 386 drivers/spi/spidev.c retval = put_user(spidev->speed_hz, (__u32 __user *)arg); retval 393 drivers/spi/spidev.c retval = get_user(tmp, (u8 __user *)arg); retval 395 drivers/spi/spidev.c retval = get_user(tmp, (u32 __user *)arg); retval 396 drivers/spi/spidev.c if (retval == 0) { retval 401 drivers/spi/spidev.c retval = -EINVAL; retval 411 drivers/spi/spidev.c retval = spi_setup(spi); retval 412 drivers/spi/spidev.c if (retval < 0) retval 419 drivers/spi/spidev.c retval = get_user(tmp, (__u8 __user *)arg); retval 420 drivers/spi/spidev.c if (retval == 0) { retval 427 drivers/spi/spidev.c retval = spi_setup(spi); retval 428 drivers/spi/spidev.c if (retval < 0) retval 436 drivers/spi/spidev.c retval = get_user(tmp, (__u8 __user *)arg); retval 437 drivers/spi/spidev.c if (retval == 0) { retval 441 drivers/spi/spidev.c retval = spi_setup(spi); retval 442 drivers/spi/spidev.c if (retval < 0) retval 449 drivers/spi/spidev.c retval = get_user(tmp, (__u32 __user *)arg); retval 450 drivers/spi/spidev.c if (retval == 0) { retval 454 drivers/spi/spidev.c retval = spi_setup(spi); retval 455 drivers/spi/spidev.c if (retval >= 0) retval 469 drivers/spi/spidev.c retval = PTR_ERR(ioc); retval 476 drivers/spi/spidev.c retval = spidev_message(spidev, ioc, n_ioc); retval 483 drivers/spi/spidev.c return retval; retval 492 drivers/spi/spidev.c int retval = 0; retval 517 drivers/spi/spidev.c retval = PTR_ERR(ioc); retval 530 drivers/spi/spidev.c retval = spidev_message(spidev, ioc, n_ioc); retval 536 drivers/spi/spidev.c return retval; retval 385 drivers/staging/android/vsoc.c int retval = vsoc_validate_filep(filp); retval 387 drivers/staging/android/vsoc.c if (retval) retval 388 drivers/staging/android/vsoc.c return retval; retval 535 drivers/staging/android/vsoc.c int retval = vsoc_validate_filep(filp); retval 537 drivers/staging/android/vsoc.c if (retval) retval 538 drivers/staging/android/vsoc.c return retval; retval 627 drivers/staging/android/vsoc.c int retval = vsoc_validate_filep(filp); retval 629 drivers/staging/android/vsoc.c if (retval) retval 630 drivers/staging/android/vsoc.c return retval; retval 648 drivers/staging/android/vsoc.c int retval = vsoc_validate_filep(filp); retval 650 drivers/staging/android/vsoc.c if (retval) retval 651 drivers/staging/android/vsoc.c return retval; retval 701 drivers/staging/android/vsoc.c int retval = vsoc_validate_filep(filp); retval 703 drivers/staging/android/vsoc.c if (retval) retval 704 drivers/staging/android/vsoc.c return retval; retval 1061 drivers/staging/android/vsoc.c int retval = vsoc_validate_filep(filp); retval 1063 drivers/staging/android/vsoc.c if (retval) retval 1064 drivers/staging/android/vsoc.c return retval; retval 1125 drivers/staging/android/vsoc.c int retval = vsoc_validate_filep(filp); retval 1127 drivers/staging/android/vsoc.c if (retval) retval 1128 drivers/staging/android/vsoc.c return retval; retval 340 drivers/staging/comedi/comedi_fops.c int retval; retval 361 drivers/staging/comedi/comedi_fops.c retval = comedi_buf_alloc(dev, s, new_size); retval 362 drivers/staging/comedi/comedi_fops.c if (retval < 0) retval 363 drivers/staging/comedi/comedi_fops.c return retval; retval 366 drivers/staging/comedi/comedi_fops.c retval = s->buf_change(dev, s); retval 367 drivers/staging/comedi/comedi_fops.c if (retval < 0) retval 368 drivers/staging/comedi/comedi_fops.c return retval; retval 871 drivers/staging/comedi/comedi_fops.c int retval = 0; retval 899 drivers/staging/comedi/comedi_fops.c retval = resize_async_buffer(dev, s, bc.size); retval 900 drivers/staging/comedi/comedi_fops.c if (retval < 0) retval 901 drivers/staging/comedi/comedi_fops.c return retval; retval 1112 drivers/staging/comedi/comedi_fops.c int retval = 0; retval 1147 drivers/staging/comedi/comedi_fops.c retval = -EPIPE; retval 1156 drivers/staging/comedi/comedi_fops.c retval = -EPIPE; retval 1173 drivers/staging/comedi/comedi_fops.c if (retval) retval 1174 drivers/staging/comedi/comedi_fops.c return retval; retval 2309 drivers/staging/comedi/comedi_fops.c int retval = 0; retval 2322 drivers/staging/comedi/comedi_fops.c retval = -ENODEV; retval 2331 drivers/staging/comedi/comedi_fops.c retval = -EINVAL; retval 2337 drivers/staging/comedi/comedi_fops.c retval = -EINVAL; retval 2343 drivers/staging/comedi/comedi_fops.c retval = -EINVAL; retval 2349 drivers/staging/comedi/comedi_fops.c retval = -EFAULT; retval 2353 drivers/staging/comedi/comedi_fops.c retval = -EFAULT; retval 2362 drivers/staging/comedi/comedi_fops.c retval = -EINVAL; retval 2371 drivers/staging/comedi/comedi_fops.c retval = dma_mmap_coherent(bm->dma_hw_dev, vma, buf->virt_addr, retval 2379 drivers/staging/comedi/comedi_fops.c retval = remap_pfn_range(vma, start, pfn, PAGE_SIZE, retval 2381 drivers/staging/comedi/comedi_fops.c if (retval) retval 2388 drivers/staging/comedi/comedi_fops.c if (retval == 0) { retval 2398 drivers/staging/comedi/comedi_fops.c return retval; retval 2449 drivers/staging/comedi/comedi_fops.c int retval = 0; retval 2464 drivers/staging/comedi/comedi_fops.c retval = -ENODEV; retval 2470 drivers/staging/comedi/comedi_fops.c retval = -EIO; retval 2476 drivers/staging/comedi/comedi_fops.c retval = -EINVAL; retval 2481 drivers/staging/comedi/comedi_fops.c while (count == 0 && !retval) { retval 2490 drivers/staging/comedi/comedi_fops.c retval = -EPIPE; retval 2491 drivers/staging/comedi/comedi_fops.c if (retval || nbytes) retval 2505 drivers/staging/comedi/comedi_fops.c retval = -EAGAIN; retval 2510 drivers/staging/comedi/comedi_fops.c retval = -ERESTARTSYS; retval 2515 drivers/staging/comedi/comedi_fops.c retval = -EINVAL; retval 2532 drivers/staging/comedi/comedi_fops.c retval = -EFAULT; retval 2575 drivers/staging/comedi/comedi_fops.c return count ? count : retval; retval 2585 drivers/staging/comedi/comedi_fops.c int retval = 0; retval 2600 drivers/staging/comedi/comedi_fops.c retval = -ENODEV; retval 2606 drivers/staging/comedi/comedi_fops.c retval = -EIO; retval 2612 drivers/staging/comedi/comedi_fops.c retval = -EINVAL; retval 2617 drivers/staging/comedi/comedi_fops.c while (count == 0 && !retval) { retval 2631 drivers/staging/comedi/comedi_fops.c retval = -EPIPE; retval 2632 drivers/staging/comedi/comedi_fops.c if (retval || nbytes) retval 2639 drivers/staging/comedi/comedi_fops.c retval = -EAGAIN; retval 2644 drivers/staging/comedi/comedi_fops.c retval = -ERESTARTSYS; retval 2649 drivers/staging/comedi/comedi_fops.c retval = -EINVAL; retval 2666 drivers/staging/comedi/comedi_fops.c retval = -EFAULT; retval 2712 drivers/staging/comedi/comedi_fops.c return count ? count : retval; retval 2998 drivers/staging/comedi/comedi_fops.c int retval; retval 3008 drivers/staging/comedi/comedi_fops.c retval = register_chrdev_region(MKDEV(COMEDI_MAJOR, 0), retval 3010 drivers/staging/comedi/comedi_fops.c if (retval) retval 3011 drivers/staging/comedi/comedi_fops.c return retval; retval 3016 drivers/staging/comedi/comedi_fops.c retval = kobject_set_name(&comedi_cdev.kobj, "comedi"); retval 3017 drivers/staging/comedi/comedi_fops.c if (retval) retval 3020 drivers/staging/comedi/comedi_fops.c retval = cdev_add(&comedi_cdev, MKDEV(COMEDI_MAJOR, 0), retval 3022 drivers/staging/comedi/comedi_fops.c if (retval) retval 3027 drivers/staging/comedi/comedi_fops.c retval = PTR_ERR(comedi_class); retval 3040 drivers/staging/comedi/comedi_fops.c retval = PTR_ERR(dev); retval 3060 drivers/staging/comedi/comedi_fops.c return retval; retval 44 drivers/staging/comedi/drivers/amplc_pc236_common.c bool retval = false; retval 50 drivers/staging/comedi/drivers/amplc_pc236_common.c retval = board->intr_chk_clr_cb(dev); retval 52 drivers/staging/comedi/drivers/amplc_pc236_common.c retval = true; retval 56 drivers/staging/comedi/drivers/amplc_pc236_common.c return retval; retval 953 drivers/staging/comedi/drivers/amplc_pci224.c int retval = 0; retval 958 drivers/staging/comedi/drivers/amplc_pci224.c retval = 1; retval 988 drivers/staging/comedi/drivers/amplc_pci224.c return IRQ_RETVAL(retval); retval 1400 drivers/staging/comedi/drivers/cb_pcidas64.c int retval; retval 1405 drivers/staging/comedi/drivers/cb_pcidas64.c retval = set_ai_fifo_segment_length(dev, retval 1408 drivers/staging/comedi/drivers/cb_pcidas64.c if (retval < 0) retval 1409 drivers/staging/comedi/drivers/cb_pcidas64.c return retval; retval 1411 drivers/staging/comedi/drivers/cb_pcidas64.c return retval * fifo->num_segments * fifo->sample_packing_ratio; retval 1908 drivers/staging/comedi/drivers/cb_pcidas64.c int retval; retval 1916 drivers/staging/comedi/drivers/cb_pcidas64.c retval = set_ai_fifo_size(dev, fifo_size); retval 1917 drivers/staging/comedi/drivers/cb_pcidas64.c if (retval < 0) retval 1918 drivers/staging/comedi/drivers/cb_pcidas64.c return retval; retval 1933 drivers/staging/comedi/drivers/cb_pcidas64.c int retval = 0; retval 1937 drivers/staging/comedi/drivers/cb_pcidas64.c retval = -EAGAIN; retval 1951 drivers/staging/comedi/drivers/cb_pcidas64.c return retval ? retval : 5; retval 2567 drivers/staging/comedi/drivers/cb_pcidas64.c int retval; retval 2572 drivers/staging/comedi/drivers/cb_pcidas64.c retval = setup_channel_queue(dev, cmd); retval 2573 drivers/staging/comedi/drivers/cb_pcidas64.c if (retval < 0) retval 2574 drivers/staging/comedi/drivers/cb_pcidas64.c return retval; retval 3275 drivers/staging/comedi/drivers/cb_pcidas64.c int retval; retval 3280 drivers/staging/comedi/drivers/cb_pcidas64.c retval = prep_ao_dma(dev, cmd); retval 3281 drivers/staging/comedi/drivers/cb_pcidas64.c if (retval < 0) retval 3980 drivers/staging/comedi/drivers/cb_pcidas64.c int retval; retval 3992 drivers/staging/comedi/drivers/cb_pcidas64.c retval = comedi_pci_enable(dev); retval 3993 drivers/staging/comedi/drivers/cb_pcidas64.c if (retval) retval 3994 drivers/staging/comedi/drivers/cb_pcidas64.c return retval; retval 4026 drivers/staging/comedi/drivers/cb_pcidas64.c retval = alloc_and_init_dma_members(dev); retval 4027 drivers/staging/comedi/drivers/cb_pcidas64.c if (retval < 0) retval 4028 drivers/staging/comedi/drivers/cb_pcidas64.c return retval; retval 4037 drivers/staging/comedi/drivers/cb_pcidas64.c retval = request_irq(pcidev->irq, handle_interrupt, IRQF_SHARED, retval 4039 drivers/staging/comedi/drivers/cb_pcidas64.c if (retval) { retval 4042 drivers/staging/comedi/drivers/cb_pcidas64.c return retval; retval 4047 drivers/staging/comedi/drivers/cb_pcidas64.c retval = setup_subdevices(dev); retval 4048 drivers/staging/comedi/drivers/cb_pcidas64.c if (retval < 0) retval 4049 drivers/staging/comedi/drivers/cb_pcidas64.c return retval; retval 587 drivers/staging/comedi/drivers/gsc_hpdi.c int retval; retval 595 drivers/staging/comedi/drivers/gsc_hpdi.c retval = comedi_pci_enable(dev); retval 596 drivers/staging/comedi/drivers/gsc_hpdi.c if (retval) retval 597 drivers/staging/comedi/drivers/gsc_hpdi.c return retval; retval 649 drivers/staging/comedi/drivers/gsc_hpdi.c retval = gsc_hpdi_setup_dma_descriptors(dev, 0x1000); retval 650 drivers/staging/comedi/drivers/gsc_hpdi.c if (retval < 0) retval 651 drivers/staging/comedi/drivers/gsc_hpdi.c return retval; retval 653 drivers/staging/comedi/drivers/gsc_hpdi.c retval = comedi_alloc_subdevices(dev, 1); retval 654 drivers/staging/comedi/drivers/gsc_hpdi.c if (retval) retval 655 drivers/staging/comedi/drivers/gsc_hpdi.c return retval; retval 382 drivers/staging/comedi/drivers/ni_660x.c int retval; retval 384 drivers/staging/comedi/drivers/ni_660x.c retval = ni_660x_request_mite_channel(dev, counter, COMEDI_INPUT); retval 385 drivers/staging/comedi/drivers/ni_660x.c if (retval) { retval 388 drivers/staging/comedi/drivers/ni_660x.c return retval; retval 398 drivers/staging/comedi/drivers/ni_660x.c int retval; retval 400 drivers/staging/comedi/drivers/ni_660x.c retval = ni_tio_cancel(counter); retval 402 drivers/staging/comedi/drivers/ni_660x.c return retval; retval 894 drivers/staging/comedi/drivers/ni_mio_common.c int retval = 0; retval 911 drivers/staging/comedi/drivers/ni_mio_common.c retval = -1; retval 918 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 1434 drivers/staging/comedi/drivers/ni_mio_common.c int retval; retval 1437 drivers/staging/comedi/drivers/ni_mio_common.c retval = ni_request_ai_mite_channel(dev); retval 1438 drivers/staging/comedi/drivers/ni_mio_common.c if (retval) retval 1439 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 1468 drivers/staging/comedi/drivers/ni_mio_common.c int retval; retval 1471 drivers/staging/comedi/drivers/ni_mio_common.c retval = ni_request_ao_mite_channel(dev); retval 1472 drivers/staging/comedi/drivers/ni_mio_common.c if (retval) retval 1473 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 1492 drivers/staging/comedi/drivers/ni_mio_common.c retval = -EIO; retval 1496 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 2440 drivers/staging/comedi/drivers/ni_mio_common.c int retval = ni_ai_setup_MITE_dma(dev); retval 2442 drivers/staging/comedi/drivers/ni_mio_common.c if (retval) retval 2443 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 3613 drivers/staging/comedi/drivers/ni_mio_common.c int retval = 0; retval 3632 drivers/staging/comedi/drivers/ni_mio_common.c retval = -EIO; retval 3635 drivers/staging/comedi/drivers/ni_mio_common.c if (retval < 0) retval 3636 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 3658 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 3666 drivers/staging/comedi/drivers/ni_mio_common.c int retval; retval 3691 drivers/staging/comedi/drivers/ni_mio_common.c retval = ni_request_cdo_mite_channel(dev); retval 3692 drivers/staging/comedi/drivers/ni_mio_common.c if (retval < 0) retval 3693 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 4779 drivers/staging/comedi/drivers/ni_mio_common.c int retval; retval 4783 drivers/staging/comedi/drivers/ni_mio_common.c retval = cs5529_wait_for_idle(dev); retval 4784 drivers/staging/comedi/drivers/ni_mio_common.c if (retval) { retval 4812 drivers/staging/comedi/drivers/ni_mio_common.c int n, retval; retval 4830 drivers/staging/comedi/drivers/ni_mio_common.c retval = cs5529_do_conversion(dev, &sample); retval 4831 drivers/staging/comedi/drivers/ni_mio_common.c if (retval < 0) retval 4832 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 4932 drivers/staging/comedi/drivers/ni_mio_common.c int retval; retval 4973 drivers/staging/comedi/drivers/ni_mio_common.c retval = ni_mseries_get_pll_parameters(period_ns, retval 4977 drivers/staging/comedi/drivers/ni_mio_common.c if (retval < 0) { retval 4980 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 5856 drivers/staging/comedi/drivers/ni_mio_common.c int retval; retval 5858 drivers/staging/comedi/drivers/ni_mio_common.c retval = ni_request_gpct_mite_channel(dev, counter->counter_index, retval 5860 drivers/staging/comedi/drivers/ni_mio_common.c if (retval) { retval 5863 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 5874 drivers/staging/comedi/drivers/ni_mio_common.c int retval; retval 5876 drivers/staging/comedi/drivers/ni_mio_common.c retval = ni_tio_cancel(counter); retval 5879 drivers/staging/comedi/drivers/ni_mio_common.c return retval; retval 336 drivers/staging/comedi/drivers/ni_pcidio.c int retval; retval 339 drivers/staging/comedi/drivers/ni_pcidio.c retval = ni_pcidio_request_di_mite_channel(dev); retval 340 drivers/staging/comedi/drivers/ni_pcidio.c if (retval) retval 341 drivers/staging/comedi/drivers/ni_pcidio.c return retval; retval 351 drivers/staging/comedi/drivers/ni_pcidio.c retval = -EIO; retval 355 drivers/staging/comedi/drivers/ni_pcidio.c return retval; retval 698 drivers/staging/comedi/drivers/ni_pcidio.c int retval = setup_mite_dma(dev, s); retval 700 drivers/staging/comedi/drivers/ni_pcidio.c if (retval) retval 701 drivers/staging/comedi/drivers/ni_pcidio.c return retval; retval 169 drivers/staging/comedi/drivers/ni_tiocmd.c int retval = 0; retval 186 drivers/staging/comedi/drivers/ni_tiocmd.c retval = ni_tio_set_gate_src_raw(counter, 0, reg); retval 193 drivers/staging/comedi/drivers/ni_tiocmd.c retval = ni_tio_set_gate_src(counter, 0, gate_source); retval 201 drivers/staging/comedi/drivers/ni_tiocmd.c return retval; retval 209 drivers/staging/comedi/drivers/ni_tiocmd.c int retval = 0; retval 218 drivers/staging/comedi/drivers/ni_tiocmd.c retval = -EIO; retval 220 drivers/staging/comedi/drivers/ni_tiocmd.c retval = ni_tio_cmd_setup(s); retval 221 drivers/staging/comedi/drivers/ni_tiocmd.c if (retval == 0) { retval 223 drivers/staging/comedi/drivers/ni_tiocmd.c retval = ni_tio_output_cmd(s); retval 225 drivers/staging/comedi/drivers/ni_tiocmd.c retval = ni_tio_input_cmd(s); retval 229 drivers/staging/comedi/drivers/ni_tiocmd.c return retval; retval 353 drivers/staging/comedi/drivers/ni_tiocmd.c int retval = 0; retval 375 drivers/staging/comedi/drivers/ni_tiocmd.c retval = 1; retval 381 drivers/staging/comedi/drivers/ni_tiocmd.c return retval; retval 222 drivers/staging/comedi/drivers/vmk80xx.c int retval; retval 226 drivers/staging/comedi/drivers/vmk80xx.c retval = vmk80xx_write_packet(dev, VMK8055_CMD_RST); retval 227 drivers/staging/comedi/drivers/vmk80xx.c if (retval) retval 228 drivers/staging/comedi/drivers/vmk80xx.c return retval; retval 359 drivers/staging/comedi/drivers/vmk80xx.c int retval; retval 372 drivers/staging/comedi/drivers/vmk80xx.c retval = vmk80xx_read_packet(dev); retval 374 drivers/staging/comedi/drivers/vmk80xx.c if (!retval) { retval 382 drivers/staging/comedi/drivers/vmk80xx.c retval = 2; retval 387 drivers/staging/comedi/drivers/vmk80xx.c return retval; retval 29 drivers/staging/comedi/kcomedilib/kcomedilib_main.c struct comedi_device *dev, *retval = NULL; retval 47 drivers/staging/comedi/kcomedilib/kcomedilib_main.c retval = dev; retval 49 drivers/staging/comedi/kcomedilib/kcomedilib_main.c retval = NULL; retval 52 drivers/staging/comedi/kcomedilib/kcomedilib_main.c if (!retval) retval 55 drivers/staging/comedi/kcomedilib/kcomedilib_main.c return retval; retval 275 drivers/staging/gasket/gasket_ioctl.c int retval; retval 282 drivers/staging/gasket/gasket_ioctl.c retval = ioctl_permissions_cb(filp, cmd, argp); retval 283 drivers/staging/gasket/gasket_ioctl.c if (retval < 0) { retval 284 drivers/staging/gasket/gasket_ioctl.c trace_gasket_ioctl_exit(retval); retval 285 drivers/staging/gasket/gasket_ioctl.c return retval; retval 286 drivers/staging/gasket/gasket_ioctl.c } else if (retval == 0) { retval 303 drivers/staging/gasket/gasket_ioctl.c retval = gasket_reset(gasket_dev); retval 306 drivers/staging/gasket/gasket_ioctl.c retval = gasket_set_event_fd(gasket_dev, argp); retval 310 drivers/staging/gasket/gasket_ioctl.c retval = retval 316 drivers/staging/gasket/gasket_ioctl.c retval = gasket_partition_page_table(gasket_dev, argp); retval 322 drivers/staging/gasket/gasket_ioctl.c retval = -EFAULT; retval 324 drivers/staging/gasket/gasket_ioctl.c retval = 0; retval 327 drivers/staging/gasket/gasket_ioctl.c retval = gasket_read_page_table_size(gasket_dev, argp); retval 330 drivers/staging/gasket/gasket_ioctl.c retval = gasket_read_simple_page_table_size(gasket_dev, argp); retval 333 drivers/staging/gasket/gasket_ioctl.c retval = gasket_map_buffers(gasket_dev, argp); retval 336 drivers/staging/gasket/gasket_ioctl.c retval = gasket_config_coherent_allocator(gasket_dev, argp); retval 339 drivers/staging/gasket/gasket_ioctl.c retval = gasket_unmap_buffers(gasket_dev, argp); retval 344 drivers/staging/gasket/gasket_ioctl.c retval = gasket_interrupt_reset_counts(gasket_dev); retval 354 drivers/staging/gasket/gasket_ioctl.c retval = -EINVAL; retval 358 drivers/staging/gasket/gasket_ioctl.c trace_gasket_ioctl_exit(retval); retval 359 drivers/staging/gasket/gasket_ioctl.c return retval; retval 647 drivers/staging/greybus/arche-platform.c int retval; retval 649 drivers/staging/greybus/arche-platform.c retval = platform_driver_register(&arche_platform_device_driver); retval 650 drivers/staging/greybus/arche-platform.c if (retval) retval 651 drivers/staging/greybus/arche-platform.c return retval; retval 653 drivers/staging/greybus/arche-platform.c retval = arche_apb_init(); retval 654 drivers/staging/greybus/arche-platform.c if (retval) retval 657 drivers/staging/greybus/arche-platform.c return retval; retval 198 drivers/staging/greybus/gbphy.c int retval; retval 208 drivers/staging/greybus/gbphy.c retval = driver_register(&driver->driver); retval 209 drivers/staging/greybus/gbphy.c if (retval) retval 210 drivers/staging/greybus/gbphy.c return retval; retval 227 drivers/staging/greybus/gbphy.c int retval; retval 250 drivers/staging/greybus/gbphy.c retval = device_register(&gbphy_dev->dev); retval 251 drivers/staging/greybus/gbphy.c if (retval) { retval 253 drivers/staging/greybus/gbphy.c return ERR_PTR(retval); retval 328 drivers/staging/greybus/gbphy.c int retval; retval 330 drivers/staging/greybus/gbphy.c retval = bus_register(&gbphy_bus_type); retval 331 drivers/staging/greybus/gbphy.c if (retval) { retval 332 drivers/staging/greybus/gbphy.c pr_err("gbphy bus register failed (%d)\n", retval); retval 333 drivers/staging/greybus/gbphy.c return retval; retval 336 drivers/staging/greybus/gbphy.c retval = greybus_register(&gb_gbphy_driver); retval 337 drivers/staging/greybus/gbphy.c if (retval) { retval 347 drivers/staging/greybus/gbphy.c return retval; retval 71 drivers/staging/greybus/log.c int retval; retval 87 drivers/staging/greybus/log.c retval = PTR_ERR(connection); retval 94 drivers/staging/greybus/log.c retval = gb_connection_enable(connection); retval 95 drivers/staging/greybus/log.c if (retval) retval 104 drivers/staging/greybus/log.c return retval; retval 512 drivers/staging/greybus/loopback.c int retval; retval 519 drivers/staging/greybus/loopback.c retval = gb_loopback_operation_sync(gb, GB_LOOPBACK_TYPE_SINK, retval 523 drivers/staging/greybus/loopback.c return retval; retval 530 drivers/staging/greybus/loopback.c int retval; retval 547 drivers/staging/greybus/loopback.c retval = gb_loopback_operation_sync(gb, GB_LOOPBACK_TYPE_TRANSFER, retval 550 drivers/staging/greybus/loopback.c if (retval) retval 556 drivers/staging/greybus/loopback.c retval = -EREMOTEIO; retval 565 drivers/staging/greybus/loopback.c return retval; retval 577 drivers/staging/greybus/loopback.c int retval; retval 584 drivers/staging/greybus/loopback.c retval = gb_loopback_async_operation(gb, GB_LOOPBACK_TYPE_SINK, retval 588 drivers/staging/greybus/loopback.c return retval; retval 599 drivers/staging/greybus/loopback.c int retval = 0; retval 611 drivers/staging/greybus/loopback.c retval = -EREMOTEIO; retval 619 drivers/staging/greybus/loopback.c return retval; retval 625 drivers/staging/greybus/loopback.c int retval, response_len; retval 635 drivers/staging/greybus/loopback.c retval = gb_loopback_async_operation(gb, GB_LOOPBACK_TYPE_TRANSFER, retval 639 drivers/staging/greybus/loopback.c if (retval) retval 644 drivers/staging/greybus/loopback.c return retval; retval 945 drivers/staging/greybus/loopback.c int retval; retval 948 drivers/staging/greybus/loopback.c retval = -EAGAIN; retval 953 drivers/staging/greybus/loopback.c retval = kfifo_out(kfifo, &latency, sizeof(latency)); retval 954 drivers/staging/greybus/loopback.c if (retval > 0) { retval 956 drivers/staging/greybus/loopback.c retval = 0; retval 960 drivers/staging/greybus/loopback.c return retval; retval 981 drivers/staging/greybus/loopback.c int retval; retval 999 drivers/staging/greybus/loopback.c retval = PTR_ERR(connection); retval 1020 drivers/staging/greybus/loopback.c retval = -EINVAL; retval 1034 drivers/staging/greybus/loopback.c retval = gb->id; retval 1038 drivers/staging/greybus/loopback.c retval = gb_connection_enable(connection); retval 1039 drivers/staging/greybus/loopback.c if (retval) retval 1047 drivers/staging/greybus/loopback.c retval = PTR_ERR(dev); retval 1055 drivers/staging/greybus/loopback.c retval = -ENOMEM; retval 1062 drivers/staging/greybus/loopback.c retval = PTR_ERR(gb->task); retval 1091 drivers/staging/greybus/loopback.c return retval; retval 1146 drivers/staging/greybus/loopback.c int retval; retval 1151 drivers/staging/greybus/loopback.c retval = class_register(&loopback_class); retval 1152 drivers/staging/greybus/loopback.c if (retval) retval 1155 drivers/staging/greybus/loopback.c retval = greybus_register(&gb_loopback_driver); retval 1156 drivers/staging/greybus/loopback.c if (retval) retval 1165 drivers/staging/greybus/loopback.c return retval; retval 59 drivers/staging/greybus/raw.c int retval = 0; retval 69 drivers/staging/greybus/raw.c retval = -EINVAL; retval 75 drivers/staging/greybus/raw.c retval = -ENOMEM; retval 86 drivers/staging/greybus/raw.c return retval; retval 127 drivers/staging/greybus/raw.c int retval; retval 140 drivers/staging/greybus/raw.c retval = gb_operation_sync(connection, GB_RAW_TYPE_SEND, retval 145 drivers/staging/greybus/raw.c return retval; retval 154 drivers/staging/greybus/raw.c int retval; retval 171 drivers/staging/greybus/raw.c retval = PTR_ERR(connection); retval 183 drivers/staging/greybus/raw.c retval = minor; retval 190 drivers/staging/greybus/raw.c retval = gb_connection_enable(connection); retval 191 drivers/staging/greybus/raw.c if (retval) retval 194 drivers/staging/greybus/raw.c retval = cdev_add(&raw->cdev, raw->dev, 1); retval 195 drivers/staging/greybus/raw.c if (retval) retval 201 drivers/staging/greybus/raw.c retval = PTR_ERR(raw->device); retval 221 drivers/staging/greybus/raw.c return retval; retval 270 drivers/staging/greybus/raw.c int retval; retval 278 drivers/staging/greybus/raw.c retval = gb_raw_send(raw, count, buf); retval 279 drivers/staging/greybus/raw.c if (retval) retval 280 drivers/staging/greybus/raw.c return retval; retval 289 drivers/staging/greybus/raw.c int retval = 0; retval 298 drivers/staging/greybus/raw.c retval = -ENOSPC; retval 303 drivers/staging/greybus/raw.c retval = -EFAULT; retval 309 drivers/staging/greybus/raw.c retval = raw_data->len; retval 314 drivers/staging/greybus/raw.c return retval; retval 341 drivers/staging/greybus/raw.c int retval; retval 345 drivers/staging/greybus/raw.c retval = PTR_ERR(raw_class); retval 349 drivers/staging/greybus/raw.c retval = alloc_chrdev_region(&dev, 0, NUM_MINORS, "gb_raw"); retval 350 drivers/staging/greybus/raw.c if (retval < 0) retval 355 drivers/staging/greybus/raw.c retval = greybus_register(&gb_raw_driver); retval 356 drivers/staging/greybus/raw.c if (retval) retval 366 drivers/staging/greybus/raw.c return retval; retval 396 drivers/staging/greybus/uart.c int retval; retval 402 drivers/staging/greybus/uart.c retval = tty_standard_install(driver, tty); retval 403 drivers/staging/greybus/uart.c if (retval) retval 410 drivers/staging/greybus/uart.c return retval; retval 585 drivers/staging/greybus/uart.c int retval; retval 589 drivers/staging/greybus/uart.c retval = gb_tty_write(tty, &stop_char, 1); retval 590 drivers/staging/greybus/uart.c if (retval <= 0) retval 596 drivers/staging/greybus/uart.c retval = send_control(gb_tty, gb_tty->ctrlout); retval 604 drivers/staging/greybus/uart.c int retval; retval 608 drivers/staging/greybus/uart.c retval = gb_tty_write(tty, &start_char, 1); retval 609 drivers/staging/greybus/uart.c if (retval <= 0) retval 615 drivers/staging/greybus/uart.c retval = send_control(gb_tty, gb_tty->ctrlout); retval 641 drivers/staging/greybus/uart.c int retval = 0; retval 651 drivers/staging/greybus/uart.c retval = -EPERM; retval 653 drivers/staging/greybus/uart.c retval = -EOPNOTSUPP; retval 659 drivers/staging/greybus/uart.c return retval; retval 664 drivers/staging/greybus/uart.c int retval = 0; retval 693 drivers/staging/greybus/uart.c retval = -ENODEV; retval 695 drivers/staging/greybus/uart.c retval = -ERESTARTSYS; retval 697 drivers/staging/greybus/uart.c } while (!retval); retval 699 drivers/staging/greybus/uart.c return retval; retval 825 drivers/staging/greybus/uart.c int retval; retval 836 drivers/staging/greybus/uart.c retval = PTR_ERR(connection); retval 842 drivers/staging/greybus/uart.c retval = -EINVAL; retval 851 drivers/staging/greybus/uart.c retval = -ENOMEM; retval 857 drivers/staging/greybus/uart.c retval = kfifo_alloc(&gb_tty->write_fifo, GB_UART_WRITE_FIFO_SIZE, retval 859 drivers/staging/greybus/uart.c if (retval) retval 870 drivers/staging/greybus/uart.c retval = -ENODEV; retval 872 drivers/staging/greybus/uart.c retval = minor; retval 891 drivers/staging/greybus/uart.c retval = gb_connection_enable_tx(connection); retval 892 drivers/staging/greybus/uart.c if (retval) retval 904 drivers/staging/greybus/uart.c retval = gb_connection_enable(connection); retval 905 drivers/staging/greybus/uart.c if (retval) retval 911 drivers/staging/greybus/uart.c retval = PTR_ERR(tty_dev); retval 931 drivers/staging/greybus/uart.c return retval; retval 973 drivers/staging/greybus/uart.c int retval = 0; retval 978 drivers/staging/greybus/uart.c retval = -ENOMEM; retval 994 drivers/staging/greybus/uart.c retval = tty_register_driver(gb_tty_driver); retval 995 drivers/staging/greybus/uart.c if (retval) { retval 996 drivers/staging/greybus/uart.c pr_err("Can not register tty driver: %d\n", retval); retval 1005 drivers/staging/greybus/uart.c return retval; retval 165 drivers/staging/greybus/usb.c int retval; retval 175 drivers/staging/greybus/usb.c retval = PTR_ERR(connection); retval 187 drivers/staging/greybus/usb.c retval = gb_connection_enable(connection); retval 188 drivers/staging/greybus/usb.c if (retval) retval 199 drivers/staging/greybus/usb.c retval = -EPROTONOSUPPORT; retval 203 drivers/staging/greybus/usb.c retval = usb_add_hcd(hcd, 0, 0); retval 204 drivers/staging/greybus/usb.c if (retval) retval 216 drivers/staging/greybus/usb.c return retval; retval 83 drivers/staging/greybus/vibrator.c int retval; retval 85 drivers/staging/greybus/vibrator.c retval = kstrtoul(buf, 10, &val); retval 86 drivers/staging/greybus/vibrator.c if (retval < 0) { retval 87 drivers/staging/greybus/vibrator.c dev_err(dev, "could not parse timeout value %d\n", retval); retval 88 drivers/staging/greybus/vibrator.c return retval; retval 92 drivers/staging/greybus/vibrator.c retval = turn_on(vib, (u16)val); retval 94 drivers/staging/greybus/vibrator.c retval = turn_off(vib); retval 95 drivers/staging/greybus/vibrator.c if (retval) retval 96 drivers/staging/greybus/vibrator.c return retval; retval 123 drivers/staging/greybus/vibrator.c int retval; retval 139 drivers/staging/greybus/vibrator.c retval = PTR_ERR(connection); retval 148 drivers/staging/greybus/vibrator.c retval = gb_connection_enable(connection); retval 149 drivers/staging/greybus/vibrator.c if (retval) retval 159 drivers/staging/greybus/vibrator.c retval = vib->minor; retval 165 drivers/staging/greybus/vibrator.c retval = -EINVAL; retval 185 drivers/staging/greybus/vibrator.c return retval; retval 222 drivers/staging/greybus/vibrator.c int retval; retval 224 drivers/staging/greybus/vibrator.c retval = class_register(&vibrator_class); retval 225 drivers/staging/greybus/vibrator.c if (retval) retval 226 drivers/staging/greybus/vibrator.c return retval; retval 228 drivers/staging/greybus/vibrator.c retval = greybus_register(&gb_vibrator_driver); retval 229 drivers/staging/greybus/vibrator.c if (retval) retval 237 drivers/staging/greybus/vibrator.c return retval; retval 284 drivers/staging/isdn/avm/b1.c int retval; retval 288 drivers/staging/isdn/avm/b1.c if ((retval = b1_load_t4file(card, &data->firmware))) { retval 292 drivers/staging/isdn/avm/b1.c return retval; retval 298 drivers/staging/isdn/avm/b1.c if ((retval = b1_load_config(card, &data->configuration))) { retval 302 drivers/staging/isdn/avm/b1.c return retval; retval 386 drivers/staging/isdn/avm/b1.c u16 dlen, retval; retval 390 drivers/staging/isdn/avm/b1.c retval = capilib_data_b3_req(&cinfo->ncci_head, retval 394 drivers/staging/isdn/avm/b1.c if (retval != CAPI_NOERROR) { retval 396 drivers/staging/isdn/avm/b1.c return retval; retval 708 drivers/staging/isdn/avm/b1dma.c int retval; retval 712 drivers/staging/isdn/avm/b1dma.c if ((retval = b1_load_t4file(card, &data->firmware))) { retval 716 drivers/staging/isdn/avm/b1dma.c return retval; retval 720 drivers/staging/isdn/avm/b1dma.c if ((retval = b1_load_config(card, &data->configuration))) { retval 724 drivers/staging/isdn/avm/b1dma.c return retval; retval 842 drivers/staging/isdn/avm/b1dma.c u16 retval = CAPI_NOERROR; retval 847 drivers/staging/isdn/avm/b1dma.c retval = capilib_data_b3_req(&cinfo->ncci_head, retval 853 drivers/staging/isdn/avm/b1dma.c if (retval == CAPI_NOERROR) retval 856 drivers/staging/isdn/avm/b1dma.c return retval; retval 67 drivers/staging/isdn/avm/b1isa.c int retval; retval 72 drivers/staging/isdn/avm/b1isa.c retval = -ENOMEM; retval 86 drivers/staging/isdn/avm/b1isa.c retval = -EINVAL; retval 91 drivers/staging/isdn/avm/b1isa.c retval = -EINVAL; retval 97 drivers/staging/isdn/avm/b1isa.c retval = -EBUSY; retval 100 drivers/staging/isdn/avm/b1isa.c retval = request_irq(card->irq, b1_interrupt, 0, card->name, card); retval 101 drivers/staging/isdn/avm/b1isa.c if (retval) { retval 106 drivers/staging/isdn/avm/b1isa.c if ((retval = b1_detect(card->port, card->cardtype)) != 0) { retval 108 drivers/staging/isdn/avm/b1isa.c card->port, retval); retval 109 drivers/staging/isdn/avm/b1isa.c retval = -ENODEV; retval 127 drivers/staging/isdn/avm/b1isa.c retval = attach_capi_ctr(&cinfo->capi_ctrl); retval 128 drivers/staging/isdn/avm/b1isa.c if (retval) { retval 146 drivers/staging/isdn/avm/b1isa.c return retval; retval 68 drivers/staging/isdn/avm/b1pci.c int retval; retval 73 drivers/staging/isdn/avm/b1pci.c retval = -ENOMEM; retval 86 drivers/staging/isdn/avm/b1pci.c retval = -EBUSY; retval 90 drivers/staging/isdn/avm/b1pci.c retval = b1_detect(card->port, card->cardtype); retval 91 drivers/staging/isdn/avm/b1pci.c if (retval) { retval 93 drivers/staging/isdn/avm/b1pci.c card->port, retval); retval 94 drivers/staging/isdn/avm/b1pci.c retval = -ENODEV; retval 100 drivers/staging/isdn/avm/b1pci.c retval = request_irq(card->irq, b1_interrupt, IRQF_SHARED, card->name, card); retval 101 drivers/staging/isdn/avm/b1pci.c if (retval) { retval 103 drivers/staging/isdn/avm/b1pci.c retval = -EBUSY; retval 119 drivers/staging/isdn/avm/b1pci.c retval = attach_capi_ctr(&cinfo->capi_ctrl); retval 120 drivers/staging/isdn/avm/b1pci.c if (retval) { retval 143 drivers/staging/isdn/avm/b1pci.c return retval; retval 187 drivers/staging/isdn/avm/b1pci.c int retval; retval 192 drivers/staging/isdn/avm/b1pci.c retval = -ENOMEM; retval 199 drivers/staging/isdn/avm/b1pci.c retval = -ENOMEM; retval 213 drivers/staging/isdn/avm/b1pci.c retval = -EBUSY; retval 221 drivers/staging/isdn/avm/b1pci.c retval = -ENOMEM; retval 227 drivers/staging/isdn/avm/b1pci.c retval = b1pciv4_detect(card); retval 228 drivers/staging/isdn/avm/b1pci.c if (retval) { retval 230 drivers/staging/isdn/avm/b1pci.c card->port, retval); retval 231 drivers/staging/isdn/avm/b1pci.c retval = -ENODEV; retval 237 drivers/staging/isdn/avm/b1pci.c retval = request_irq(card->irq, b1dma_interrupt, IRQF_SHARED, card->name, card); retval 238 drivers/staging/isdn/avm/b1pci.c if (retval) { retval 241 drivers/staging/isdn/avm/b1pci.c retval = -EBUSY; retval 257 drivers/staging/isdn/avm/b1pci.c retval = attach_capi_ctr(&cinfo->capi_ctrl); retval 258 drivers/staging/isdn/avm/b1pci.c if (retval) { retval 281 drivers/staging/isdn/avm/b1pci.c return retval; retval 306 drivers/staging/isdn/avm/b1pci.c int retval; retval 324 drivers/staging/isdn/avm/b1pci.c retval = b1pciv4_probe(¶m, pdev); retval 326 drivers/staging/isdn/avm/b1pci.c retval = b1pci_probe(¶m, pdev); retval 328 drivers/staging/isdn/avm/b1pci.c if (retval != 0) { retval 338 drivers/staging/isdn/avm/b1pci.c retval = b1pci_probe(¶m, pdev); retval 339 drivers/staging/isdn/avm/b1pci.c if (retval != 0) { retval 344 drivers/staging/isdn/avm/b1pci.c return retval; retval 66 drivers/staging/isdn/avm/b1pcmcia.c int retval; retval 71 drivers/staging/isdn/avm/b1pcmcia.c retval = -ENOMEM; retval 85 drivers/staging/isdn/avm/b1pcmcia.c retval = request_irq(card->irq, b1_interrupt, IRQF_SHARED, card->name, card); retval 86 drivers/staging/isdn/avm/b1pcmcia.c if (retval) { retval 89 drivers/staging/isdn/avm/b1pcmcia.c retval = -EBUSY; retval 93 drivers/staging/isdn/avm/b1pcmcia.c if ((retval = b1_detect(card->port, card->cardtype)) != 0) { retval 95 drivers/staging/isdn/avm/b1pcmcia.c card->port, retval); retval 96 drivers/staging/isdn/avm/b1pcmcia.c retval = -ENODEV; retval 114 drivers/staging/isdn/avm/b1pcmcia.c retval = attach_capi_ctr(&cinfo->capi_ctrl); retval 115 drivers/staging/isdn/avm/b1pcmcia.c if (retval) { retval 136 drivers/staging/isdn/avm/b1pcmcia.c return retval; retval 819 drivers/staging/isdn/avm/c4.c int retval; retval 821 drivers/staging/isdn/avm/c4.c if ((retval = queue_sendconfigword(card, 1)) != 0) retval 822 drivers/staging/isdn/avm/c4.c return retval; retval 823 drivers/staging/isdn/avm/c4.c if ((retval = queue_sendconfigword(card, config->len)) != 0) retval 824 drivers/staging/isdn/avm/c4.c return retval; retval 835 drivers/staging/isdn/avm/c4.c if ((retval = queue_sendconfig(card, val)) != 0) retval 836 drivers/staging/isdn/avm/c4.c return retval; retval 848 drivers/staging/isdn/avm/c4.c if ((retval = queue_sendconfig(card, val)) != 0) retval 849 drivers/staging/isdn/avm/c4.c return retval; retval 859 drivers/staging/isdn/avm/c4.c int retval; retval 861 drivers/staging/isdn/avm/c4.c if ((retval = c4_load_t4file(card, &data->firmware))) { retval 865 drivers/staging/isdn/avm/c4.c return retval; retval 884 drivers/staging/isdn/avm/c4.c retval = c4_send_config(card, &data->configuration); retval 885 drivers/staging/isdn/avm/c4.c if (retval) { retval 889 drivers/staging/isdn/avm/c4.c return retval; retval 1032 drivers/staging/isdn/avm/c4.c u16 retval = CAPI_NOERROR; retval 1037 drivers/staging/isdn/avm/c4.c retval = capilib_data_b3_req(&cinfo->ncci_head, retval 1042 drivers/staging/isdn/avm/c4.c if (retval == CAPI_NOERROR) { retval 1047 drivers/staging/isdn/avm/c4.c return retval; retval 1137 drivers/staging/isdn/avm/c4.c int retval; retval 1143 drivers/staging/isdn/avm/c4.c retval = -ENOMEM; retval 1149 drivers/staging/isdn/avm/c4.c retval = -ENOMEM; retval 1162 drivers/staging/isdn/avm/c4.c retval = -EBUSY; retval 1170 drivers/staging/isdn/avm/c4.c retval = -EIO; retval 1174 drivers/staging/isdn/avm/c4.c retval = c4_detect(card); retval 1175 drivers/staging/isdn/avm/c4.c if (retval != 0) { retval 1177 drivers/staging/isdn/avm/c4.c card->port, retval); retval 1178 drivers/staging/isdn/avm/c4.c retval = -EIO; retval 1183 drivers/staging/isdn/avm/c4.c retval = request_irq(card->irq, c4_interrupt, IRQF_SHARED, card->name, card); retval 1184 drivers/staging/isdn/avm/c4.c if (retval) { retval 1186 drivers/staging/isdn/avm/c4.c retval = -EBUSY; retval 1204 drivers/staging/isdn/avm/c4.c retval = attach_capi_ctr(&cinfo->capi_ctrl); retval 1205 drivers/staging/isdn/avm/c4.c if (retval) { retval 1234 drivers/staging/isdn/avm/c4.c return retval; retval 1242 drivers/staging/isdn/avm/c4.c int retval = 0; retval 1258 drivers/staging/isdn/avm/c4.c retval = c4_add_card(¶m, dev, nr); retval 1259 drivers/staging/isdn/avm/c4.c if (retval != 0) { retval 291 drivers/staging/isdn/avm/t1isa.c int retval; retval 296 drivers/staging/isdn/avm/t1isa.c if ((retval = b1_load_t4file(card, &data->firmware))) { retval 300 drivers/staging/isdn/avm/t1isa.c return retval; retval 304 drivers/staging/isdn/avm/t1isa.c if ((retval = b1_load_config(card, &data->configuration))) { retval 308 drivers/staging/isdn/avm/t1isa.c return retval; retval 376 drivers/staging/isdn/avm/t1isa.c int retval; retval 381 drivers/staging/isdn/avm/t1isa.c retval = -ENOMEM; retval 394 drivers/staging/isdn/avm/t1isa.c retval = -EINVAL; retval 399 drivers/staging/isdn/avm/t1isa.c retval = -EINVAL; retval 405 drivers/staging/isdn/avm/t1isa.c retval = -EBUSY; retval 408 drivers/staging/isdn/avm/t1isa.c retval = request_irq(card->irq, t1isa_interrupt, 0, card->name, card); retval 409 drivers/staging/isdn/avm/t1isa.c if (retval) { retval 411 drivers/staging/isdn/avm/t1isa.c retval = -EBUSY; retval 415 drivers/staging/isdn/avm/t1isa.c if ((retval = t1_detectandinit(card->port, card->irq, card->cardnr)) != 0) { retval 417 drivers/staging/isdn/avm/t1isa.c card->port, retval); retval 418 drivers/staging/isdn/avm/t1isa.c retval = -ENODEV; retval 436 drivers/staging/isdn/avm/t1isa.c retval = attach_capi_ctr(&cinfo->capi_ctrl); retval 437 drivers/staging/isdn/avm/t1isa.c if (retval) { retval 455 drivers/staging/isdn/avm/t1isa.c return retval; retval 467 drivers/staging/isdn/avm/t1isa.c u16 dlen, retval; retval 471 drivers/staging/isdn/avm/t1isa.c retval = capilib_data_b3_req(&cinfo->ncci_head, retval 475 drivers/staging/isdn/avm/t1isa.c if (retval != CAPI_NOERROR) { retval 477 drivers/staging/isdn/avm/t1isa.c return retval; retval 53 drivers/staging/isdn/avm/t1pci.c int retval; retval 58 drivers/staging/isdn/avm/t1pci.c retval = -ENOMEM; retval 65 drivers/staging/isdn/avm/t1pci.c retval = -ENOMEM; retval 79 drivers/staging/isdn/avm/t1pci.c retval = -EBUSY; retval 87 drivers/staging/isdn/avm/t1pci.c retval = -EIO; retval 93 drivers/staging/isdn/avm/t1pci.c retval = t1pci_detect(card); retval 94 drivers/staging/isdn/avm/t1pci.c if (retval != 0) { retval 95 drivers/staging/isdn/avm/t1pci.c if (retval < 6) retval 97 drivers/staging/isdn/avm/t1pci.c card->port, retval); retval 100 drivers/staging/isdn/avm/t1pci.c card->port, retval); retval 101 drivers/staging/isdn/avm/t1pci.c retval = -EIO; retval 106 drivers/staging/isdn/avm/t1pci.c retval = request_irq(card->irq, b1dma_interrupt, IRQF_SHARED, card->name, card); retval 107 drivers/staging/isdn/avm/t1pci.c if (retval) { retval 109 drivers/staging/isdn/avm/t1pci.c retval = -EBUSY; retval 125 drivers/staging/isdn/avm/t1pci.c retval = attach_capi_ctr(&cinfo->capi_ctrl); retval 126 drivers/staging/isdn/avm/t1pci.c if (retval) { retval 128 drivers/staging/isdn/avm/t1pci.c retval = -EBUSY; retval 150 drivers/staging/isdn/avm/t1pci.c return retval; retval 193 drivers/staging/isdn/avm/t1pci.c int retval; retval 208 drivers/staging/isdn/avm/t1pci.c retval = t1pci_add_card(¶m, dev); retval 209 drivers/staging/isdn/avm/t1pci.c if (retval != 0) { retval 1916 drivers/staging/isdn/gigaset/bas-gigaset.c int retval = 0; retval 1945 drivers/staging/isdn/gigaset/bas-gigaset.c retval = rc; retval 1951 drivers/staging/isdn/gigaset/bas-gigaset.c return retval; retval 1004 drivers/staging/isdn/gigaset/ev-layer.c int retval = 0; retval 1019 drivers/staging/isdn/gigaset/ev-layer.c retval = 1; retval 1022 drivers/staging/isdn/gigaset/ev-layer.c return retval; retval 1028 drivers/staging/isdn/gigaset/ev-layer.c int retval; retval 1030 drivers/staging/isdn/gigaset/ev-layer.c retval = gigaset_isdn_icall(at_state); retval 1031 drivers/staging/isdn/gigaset/ev-layer.c switch (retval) { retval 1035 drivers/staging/isdn/gigaset/ev-layer.c dev_err(cs->dev, "internal error: disposition=%d\n", retval); retval 170 drivers/staging/isdn/gigaset/interface.c int retval = -ENODEV; retval 182 drivers/staging/isdn/gigaset/interface.c retval = -ENODEV; retval 184 drivers/staging/isdn/gigaset/interface.c retval = 0; retval 187 drivers/staging/isdn/gigaset/interface.c retval = get_user(int_arg, (int __user *) arg); retval 188 drivers/staging/isdn/gigaset/interface.c if (retval >= 0) retval 189 drivers/staging/isdn/gigaset/interface.c retval = if_lock(cs, &int_arg); retval 190 drivers/staging/isdn/gigaset/interface.c if (retval >= 0) retval 191 drivers/staging/isdn/gigaset/interface.c retval = put_user(int_arg, (int __user *) arg); retval 194 drivers/staging/isdn/gigaset/interface.c retval = get_user(int_arg, (int __user *) arg); retval 195 drivers/staging/isdn/gigaset/interface.c if (retval >= 0) retval 196 drivers/staging/isdn/gigaset/interface.c retval = if_config(cs, &int_arg); retval 197 drivers/staging/isdn/gigaset/interface.c if (retval >= 0) retval 198 drivers/staging/isdn/gigaset/interface.c retval = put_user(int_arg, (int __user *) arg); retval 201 drivers/staging/isdn/gigaset/interface.c retval = copy_from_user(&buf, retval 204 drivers/staging/isdn/gigaset/interface.c if (retval >= 0) { retval 207 drivers/staging/isdn/gigaset/interface.c retval = cs->ops->brkchars(cs, buf); retval 211 drivers/staging/isdn/gigaset/interface.c retval = copy_from_user(version, retval 214 drivers/staging/isdn/gigaset/interface.c if (retval >= 0) retval 215 drivers/staging/isdn/gigaset/interface.c retval = if_version(cs, version); retval 216 drivers/staging/isdn/gigaset/interface.c if (retval >= 0) retval 217 drivers/staging/isdn/gigaset/interface.c retval = copy_to_user((unsigned __user *) arg, retval 224 drivers/staging/isdn/gigaset/interface.c retval = -ENOIOCTLCMD; retval 230 drivers/staging/isdn/gigaset/interface.c return retval; retval 244 drivers/staging/isdn/gigaset/interface.c int retval; retval 251 drivers/staging/isdn/gigaset/interface.c retval = cs->control_state & (TIOCM_RTS | TIOCM_DTR); retval 255 drivers/staging/isdn/gigaset/interface.c return retval; retval 262 drivers/staging/isdn/gigaset/interface.c int retval; retval 273 drivers/staging/isdn/gigaset/interface.c retval = -ENODEV; retval 276 drivers/staging/isdn/gigaset/interface.c retval = cs->ops->set_modem_ctrl(cs, cs->control_state, mc); retval 282 drivers/staging/isdn/gigaset/interface.c return retval; retval 289 drivers/staging/isdn/gigaset/interface.c int retval; retval 298 drivers/staging/isdn/gigaset/interface.c retval = -ENODEV; retval 303 drivers/staging/isdn/gigaset/interface.c retval = -EBUSY; retval 308 drivers/staging/isdn/gigaset/interface.c retval = 0; retval 315 drivers/staging/isdn/gigaset/interface.c retval = -ENOMEM; retval 324 drivers/staging/isdn/gigaset/interface.c retval = cs->ops->write_cmd(cs, cb); retval 327 drivers/staging/isdn/gigaset/interface.c return retval; retval 333 drivers/staging/isdn/gigaset/interface.c int retval; retval 342 drivers/staging/isdn/gigaset/interface.c retval = -ENODEV; retval 345 drivers/staging/isdn/gigaset/interface.c retval = -EBUSY; retval 347 drivers/staging/isdn/gigaset/interface.c retval = cs->ops->write_room(cs); retval 351 drivers/staging/isdn/gigaset/interface.c return retval; retval 357 drivers/staging/isdn/gigaset/interface.c int retval = 0; retval 368 drivers/staging/isdn/gigaset/interface.c retval = cs->ops->chars_in_buffer(cs); retval 372 drivers/staging/isdn/gigaset/interface.c return retval; retval 650 drivers/staging/isdn/gigaset/usb-gigaset.c int retval; retval 710 drivers/staging/isdn/gigaset/usb-gigaset.c retval = -ENODEV; retval 720 drivers/staging/isdn/gigaset/usb-gigaset.c retval = -ENOMEM; retval 727 drivers/staging/isdn/gigaset/usb-gigaset.c retval = -ENOMEM; retval 735 drivers/staging/isdn/gigaset/usb-gigaset.c retval = -ENODEV; retval 744 drivers/staging/isdn/gigaset/usb-gigaset.c retval = -ENOMEM; retval 752 drivers/staging/isdn/gigaset/usb-gigaset.c retval = -ENOMEM; retval 762 drivers/staging/isdn/gigaset/usb-gigaset.c retval = usb_submit_urb(ucs->read_urb, GFP_KERNEL); retval 763 drivers/staging/isdn/gigaset/usb-gigaset.c if (retval) { retval 764 drivers/staging/isdn/gigaset/usb-gigaset.c dev_err(cs->dev, "Could not submit URB (error %d)\n", -retval); retval 772 drivers/staging/isdn/gigaset/usb-gigaset.c retval = gigaset_start(cs); retval 773 drivers/staging/isdn/gigaset/usb-gigaset.c if (retval < 0) { retval 792 drivers/staging/isdn/gigaset/usb-gigaset.c return retval; retval 377 drivers/staging/isdn/hysdn/hycapi.c u16 retval = CAPI_NOERROR; retval 392 drivers/staging/isdn/hysdn/hycapi.c retval = CAPI_ILLAPPNR; retval 409 drivers/staging/isdn/hysdn/hycapi.c retval = capilib_data_b3_req(&cinfo->ncci_head, retval 430 drivers/staging/isdn/hysdn/hycapi.c if (retval == CAPI_NOERROR) retval 435 drivers/staging/isdn/hysdn/hycapi.c return retval; retval 728 drivers/staging/isdn/hysdn/hycapi.c int retval; retval 768 drivers/staging/isdn/hysdn/hycapi.c retval = attach_capi_ctr(ctrl); retval 769 drivers/staging/isdn/hysdn/hycapi.c if (retval) { retval 308 drivers/staging/isdn/hysdn/hysdn_procconf.c int retval = 0; retval 323 drivers/staging/isdn/hysdn/hysdn_procconf.c retval = pof_write_close(cnf->card); /* close the pof write */ retval 333 drivers/staging/isdn/hysdn/hysdn_procconf.c return (retval); retval 243 drivers/staging/isdn/hysdn/hysdn_proclog.c int retval = 0; retval 248 drivers/staging/isdn/hysdn/hysdn_proclog.c retval = 0; /* success */ retval 278 drivers/staging/isdn/hysdn/hysdn_proclog.c return (retval); retval 432 drivers/staging/most/cdev/cdev.c int retval; retval 449 drivers/staging/most/cdev/cdev.c retval = -ENOMEM; retval 456 drivers/staging/most/cdev/cdev.c retval = cdev_add(&c->cdev, c->devno, 1); retval 457 drivers/staging/most/cdev/cdev.c if (retval < 0) retval 465 drivers/staging/most/cdev/cdev.c retval = kfifo_alloc(&c->fifo, cfg->num_buffers, GFP_KERNEL); retval 466 drivers/staging/most/cdev/cdev.c if (retval) retval 476 drivers/staging/most/cdev/cdev.c retval = PTR_ERR(c->dev); retval 492 drivers/staging/most/cdev/cdev.c return retval; retval 140 drivers/staging/most/usb/usb.c int retval; retval 147 drivers/staging/most/usb/usb.c retval = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), retval 154 drivers/staging/most/usb/usb.c return retval; retval 555 drivers/staging/most/usb/usb.c int retval = 0; retval 570 drivers/staging/most/usb/usb.c retval = -ENODEV; retval 576 drivers/staging/most/usb/usb.c retval = -ENOMEM; retval 582 drivers/staging/most/usb/usb.c retval = -EIO; retval 614 drivers/staging/most/usb/usb.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 615 drivers/staging/most/usb/usb.c if (retval) { retval 617 drivers/staging/most/usb/usb.c "URB submit failed with error %d.\n", retval); retval 628 drivers/staging/most/usb/usb.c return retval; retval 365 drivers/staging/pi433/pi433_if.c int retval; retval 372 drivers/staging/pi433/pi433_if.c retval = rf69_set_rx_cfg(dev, &dev->rx_cfg); retval 373 drivers/staging/pi433/pi433_if.c if (retval) retval 374 drivers/staging/pi433/pi433_if.c return retval; retval 377 drivers/staging/pi433/pi433_if.c retval = rf69_set_dio_mapping(dev->spi, DIO0, DIO_RSSI_DIO0); retval 378 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 379 drivers/staging/pi433/pi433_if.c return retval; retval 384 drivers/staging/pi433/pi433_if.c retval = rf69_set_fifo_threshold(dev->spi, FIFO_SIZE - FIFO_THRESHOLD); retval 385 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 386 drivers/staging/pi433/pi433_if.c return retval; retval 387 drivers/staging/pi433/pi433_if.c retval = rf69_set_dio_mapping(dev->spi, DIO1, DIO_FIFO_LEVEL); retval 388 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 389 drivers/staging/pi433/pi433_if.c return retval; retval 394 drivers/staging/pi433/pi433_if.c retval = rf69_set_mode(dev->spi, receive); retval 395 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 396 drivers/staging/pi433/pi433_if.c return retval; retval 409 drivers/staging/pi433/pi433_if.c int retval; retval 415 drivers/staging/pi433/pi433_if.c retval = wait_event_interruptible(dev->rx_wait_queue, !dev->tx_active); retval 416 drivers/staging/pi433/pi433_if.c if (retval) { retval 420 drivers/staging/pi433/pi433_if.c return retval; retval 429 drivers/staging/pi433/pi433_if.c retval = pi433_start_rx(dev); retval 430 drivers/staging/pi433/pi433_if.c if (retval) retval 431 drivers/staging/pi433/pi433_if.c return retval; retval 441 drivers/staging/pi433/pi433_if.c retval = wait_event_interruptible(dev->rx_wait_queue, retval 444 drivers/staging/pi433/pi433_if.c if (retval) /* wait was interrupted */ retval 454 drivers/staging/pi433/pi433_if.c retval = rf69_set_dio_mapping(spi, DIO0, DIO_PAYLOAD_READY); retval 455 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 463 drivers/staging/pi433/pi433_if.c retval = -1; retval 477 drivers/staging/pi433/pi433_if.c retval = wait_event_interruptible(dev->fifo_wait_queue, retval 479 drivers/staging/pi433/pi433_if.c if (retval) /* wait was interrupted */ retval 484 drivers/staging/pi433/pi433_if.c retval = -1; retval 498 drivers/staging/pi433/pi433_if.c retval = wait_event_interruptible(dev->fifo_wait_queue, retval 500 drivers/staging/pi433/pi433_if.c if (retval) /* wait was interrupted */ retval 511 drivers/staging/pi433/pi433_if.c retval = wait_event_interruptible(dev->fifo_wait_queue, retval 513 drivers/staging/pi433/pi433_if.c if (retval) /* wait was interrupted */ retval 527 drivers/staging/pi433/pi433_if.c retval = rf69_read_fifo(spi, retval 530 drivers/staging/pi433/pi433_if.c if (retval) /* read failed */ retval 549 drivers/staging/pi433/pi433_if.c if (retval) retval 550 drivers/staging/pi433/pi433_if.c return retval; retval 564 drivers/staging/pi433/pi433_if.c int retval; retval 581 drivers/staging/pi433/pi433_if.c retval = kfifo_out(&device->tx_fifo, &tx_cfg, sizeof(tx_cfg)); retval 582 drivers/staging/pi433/pi433_if.c if (retval != sizeof(tx_cfg)) { retval 585 drivers/staging/pi433/pi433_if.c retval, (unsigned int)sizeof(tx_cfg)); retval 589 drivers/staging/pi433/pi433_if.c retval = kfifo_out(&device->tx_fifo, &size, sizeof(size_t)); retval 590 drivers/staging/pi433/pi433_if.c if (retval != sizeof(size_t)) { retval 593 drivers/staging/pi433/pi433_if.c retval, (unsigned int)sizeof(size_t)); retval 626 drivers/staging/pi433/pi433_if.c retval = kfifo_out(&device->tx_fifo, &device->buffer[position], retval 629 drivers/staging/pi433/pi433_if.c "read %d message byte(s) from fifo queue.", retval); retval 650 drivers/staging/pi433/pi433_if.c retval = rf69_set_mode(spi, standby); /* this clears the fifo */ retval 651 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 652 drivers/staging/pi433/pi433_if.c return retval; retval 662 drivers/staging/pi433/pi433_if.c retval = rf69_set_fifo_threshold(spi, FIFO_THRESHOLD); retval 663 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 664 drivers/staging/pi433/pi433_if.c return retval; retval 666 drivers/staging/pi433/pi433_if.c retval = rf69_set_payload_length(spi, size * tx_cfg.repetitions); retval 667 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 668 drivers/staging/pi433/pi433_if.c return retval; retval 670 drivers/staging/pi433/pi433_if.c retval = rf69_set_payload_length(spi, 0); retval 671 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 672 drivers/staging/pi433/pi433_if.c return retval; retval 676 drivers/staging/pi433/pi433_if.c retval = rf69_set_tx_cfg(device, &tx_cfg); retval 677 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 678 drivers/staging/pi433/pi433_if.c return retval; retval 681 drivers/staging/pi433/pi433_if.c retval = rf69_set_dio_mapping(spi, DIO1, DIO_FIFO_LEVEL); retval 682 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 683 drivers/staging/pi433/pi433_if.c return retval; retval 688 drivers/staging/pi433/pi433_if.c retval = rf69_set_dio_mapping(spi, DIO0, DIO_PACKET_SENT); retval 689 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 690 drivers/staging/pi433/pi433_if.c return retval; retval 696 drivers/staging/pi433/pi433_if.c retval = rf69_set_mode(spi, transmit); retval 697 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 698 drivers/staging/pi433/pi433_if.c return retval; retval 724 drivers/staging/pi433/pi433_if.c retval = wait_event_interruptible(device->fifo_wait_queue, retval 726 drivers/staging/pi433/pi433_if.c if (retval) { retval 743 drivers/staging/pi433/pi433_if.c retval = rf69_set_mode(spi, standby); retval 744 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 745 drivers/staging/pi433/pi433_if.c return retval; retval 768 drivers/staging/pi433/pi433_if.c ssize_t retval; retval 799 drivers/staging/pi433/pi433_if.c retval = copy_to_user(buf, device->rx_buffer, bytes_received); retval 800 drivers/staging/pi433/pi433_if.c if (retval) retval 813 drivers/staging/pi433/pi433_if.c int retval; retval 843 drivers/staging/pi433/pi433_if.c retval = kfifo_in(&device->tx_fifo, &instance->tx_cfg, retval 845 drivers/staging/pi433/pi433_if.c if (retval != sizeof(instance->tx_cfg)) retval 848 drivers/staging/pi433/pi433_if.c retval = kfifo_in(&device->tx_fifo, &count, sizeof(size_t)); retval 849 drivers/staging/pi433/pi433_if.c if (retval != sizeof(size_t)) retval 852 drivers/staging/pi433/pi433_if.c retval = kfifo_from_user(&device->tx_fifo, buf, count, &copied); retval 853 drivers/staging/pi433/pi433_if.c if (retval || copied != count) retval 866 drivers/staging/pi433/pi433_if.c "write to fifo failed, non recoverable: 0x%x", retval); retval 988 drivers/staging/pi433/pi433_if.c int retval; retval 1011 drivers/staging/pi433/pi433_if.c retval = PTR_ERR(device->gpiod[i]); retval 1017 drivers/staging/pi433/pi433_if.c return retval; retval 1022 drivers/staging/pi433/pi433_if.c retval = gpiod_direction_input(device->gpiod[i]); retval 1023 drivers/staging/pi433/pi433_if.c if (retval) retval 1024 drivers/staging/pi433/pi433_if.c return retval; retval 1032 drivers/staging/pi433/pi433_if.c retval = request_irq(device->irq_num[i], retval 1038 drivers/staging/pi433/pi433_if.c if (retval) retval 1039 drivers/staging/pi433/pi433_if.c return retval; retval 1063 drivers/staging/pi433/pi433_if.c int retval = -ENOMEM; retval 1066 drivers/staging/pi433/pi433_if.c retval = idr_alloc(&pi433_idr, device, 0, N_PI433_MINORS, GFP_KERNEL); retval 1067 drivers/staging/pi433/pi433_if.c if (retval >= 0) { retval 1068 drivers/staging/pi433/pi433_if.c device->minor = retval; retval 1069 drivers/staging/pi433/pi433_if.c retval = 0; retval 1070 drivers/staging/pi433/pi433_if.c } else if (retval == -ENOSPC) { retval 1072 drivers/staging/pi433/pi433_if.c retval = -EINVAL; retval 1075 drivers/staging/pi433/pi433_if.c return retval; retval 1108 drivers/staging/pi433/pi433_if.c int retval; retval 1118 drivers/staging/pi433/pi433_if.c retval = spi_setup(spi); retval 1119 drivers/staging/pi433/pi433_if.c if (retval) { retval 1121 drivers/staging/pi433/pi433_if.c return retval; retval 1129 drivers/staging/pi433/pi433_if.c retval = spi_w8r8(spi, 0x10); retval 1130 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 1131 drivers/staging/pi433/pi433_if.c return retval; retval 1133 drivers/staging/pi433/pi433_if.c switch (retval) { retval 1135 drivers/staging/pi433/pi433_if.c dev_dbg(&spi->dev, "found pi433 (ver. 0x%x)", retval); retval 1138 drivers/staging/pi433/pi433_if.c dev_dbg(&spi->dev, "unknown chip version: 0x%x", retval); retval 1156 drivers/staging/pi433/pi433_if.c retval = -ENOMEM; retval 1173 drivers/staging/pi433/pi433_if.c retval = setup_gpio(device); retval 1174 drivers/staging/pi433/pi433_if.c if (retval) { retval 1180 drivers/staging/pi433/pi433_if.c retval = rf69_set_mode(spi, standby); retval 1181 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 1183 drivers/staging/pi433/pi433_if.c retval = rf69_set_data_mode(spi, DATAMODUL_MODE_PACKET); retval 1184 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 1186 drivers/staging/pi433/pi433_if.c retval = rf69_enable_amplifier(spi, MASK_PALEVEL_PA0); retval 1187 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 1189 drivers/staging/pi433/pi433_if.c retval = rf69_disable_amplifier(spi, MASK_PALEVEL_PA1); retval 1190 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 1192 drivers/staging/pi433/pi433_if.c retval = rf69_disable_amplifier(spi, MASK_PALEVEL_PA2); retval 1193 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 1195 drivers/staging/pi433/pi433_if.c retval = rf69_set_output_power_level(spi, 13); retval 1196 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 1198 drivers/staging/pi433/pi433_if.c retval = rf69_set_antenna_impedance(spi, fifty_ohm); retval 1199 drivers/staging/pi433/pi433_if.c if (retval < 0) retval 1203 drivers/staging/pi433/pi433_if.c retval = pi433_get_minor(device); retval 1204 drivers/staging/pi433/pi433_if.c if (retval) { retval 1219 drivers/staging/pi433/pi433_if.c retval = PTR_ERR(device->dev); retval 1235 drivers/staging/pi433/pi433_if.c retval = PTR_ERR(device->tx_task_struct); retval 1247 drivers/staging/pi433/pi433_if.c retval = cdev_add(device->cdev, device->devt, 1); retval 1248 drivers/staging/pi433/pi433_if.c if (retval) { retval 1273 drivers/staging/pi433/pi433_if.c return retval; retval 29 drivers/staging/pi433/rf69.c int retval; retval 31 drivers/staging/pi433/rf69.c retval = spi_w8r8(spi, addr); retval 34 drivers/staging/pi433/rf69.c if (retval < 0) retval 42 drivers/staging/pi433/rf69.c dev_dbg(&spi->dev, "read 0x%x from reg 0x%x\n", retval, addr); retval 45 drivers/staging/pi433/rf69.c return retval; retval 50 drivers/staging/pi433/rf69.c int retval; retval 56 drivers/staging/pi433/rf69.c retval = spi_write(spi, &buffer, 2); retval 59 drivers/staging/pi433/rf69.c if (retval < 0) retval 70 drivers/staging/pi433/rf69.c return retval; retval 223 drivers/staging/pi433/rf69.c int retval; retval 243 drivers/staging/pi433/rf69.c retval = rf69_write_reg(spi, REG_BITRATE_MSB, msb); retval 244 drivers/staging/pi433/rf69.c if (retval) retval 245 drivers/staging/pi433/rf69.c return retval; retval 246 drivers/staging/pi433/rf69.c retval = rf69_write_reg(spi, REG_BITRATE_LSB, lsb); retval 247 drivers/staging/pi433/rf69.c if (retval) retval 248 drivers/staging/pi433/rf69.c return retval; retval 255 drivers/staging/pi433/rf69.c int retval; retval 286 drivers/staging/pi433/rf69.c retval = rf69_write_reg(spi, REG_FDEV_MSB, msb); retval 287 drivers/staging/pi433/rf69.c if (retval) retval 288 drivers/staging/pi433/rf69.c return retval; retval 289 drivers/staging/pi433/rf69.c retval = rf69_write_reg(spi, REG_FDEV_LSB, lsb); retval 290 drivers/staging/pi433/rf69.c if (retval) retval 291 drivers/staging/pi433/rf69.c return retval; retval 298 drivers/staging/pi433/rf69.c int retval; retval 327 drivers/staging/pi433/rf69.c retval = rf69_write_reg(spi, REG_FRF_MSB, msb); retval 328 drivers/staging/pi433/rf69.c if (retval) retval 329 drivers/staging/pi433/rf69.c return retval; retval 330 drivers/staging/pi433/rf69.c retval = rf69_write_reg(spi, REG_FRF_MID, mid); retval 331 drivers/staging/pi433/rf69.c if (retval) retval 332 drivers/staging/pi433/rf69.c return retval; retval 333 drivers/staging/pi433/rf69.c retval = rf69_write_reg(spi, REG_FRF_LSB, lsb); retval 334 drivers/staging/pi433/rf69.c if (retval) retval 335 drivers/staging/pi433/rf69.c return retval; retval 647 drivers/staging/pi433/rf69.c int retval; retval 657 drivers/staging/pi433/rf69.c retval = rf69_write_reg(spi, REG_PREAMBLE_MSB, msb); retval 658 drivers/staging/pi433/rf69.c if (retval) retval 659 drivers/staging/pi433/rf69.c return retval; retval 705 drivers/staging/pi433/rf69.c int retval = 0; retval 707 drivers/staging/pi433/rf69.c retval += rf69_write_reg(spi, REG_SYNCVALUE1, sync_values[0]); retval 708 drivers/staging/pi433/rf69.c retval += rf69_write_reg(spi, REG_SYNCVALUE2, sync_values[1]); retval 709 drivers/staging/pi433/rf69.c retval += rf69_write_reg(spi, REG_SYNCVALUE3, sync_values[2]); retval 710 drivers/staging/pi433/rf69.c retval += rf69_write_reg(spi, REG_SYNCVALUE4, sync_values[3]); retval 711 drivers/staging/pi433/rf69.c retval += rf69_write_reg(spi, REG_SYNCVALUE5, sync_values[4]); retval 712 drivers/staging/pi433/rf69.c retval += rf69_write_reg(spi, REG_SYNCVALUE6, sync_values[5]); retval 713 drivers/staging/pi433/rf69.c retval += rf69_write_reg(spi, REG_SYNCVALUE7, sync_values[6]); retval 714 drivers/staging/pi433/rf69.c retval += rf69_write_reg(spi, REG_SYNCVALUE8, sync_values[7]); retval 716 drivers/staging/pi433/rf69.c return retval; retval 798 drivers/staging/pi433/rf69.c int retval; retval 807 drivers/staging/pi433/rf69.c retval = rf69_read_mod_write(spi, REG_FIFO_THRESH, retval 810 drivers/staging/pi433/rf69.c if (retval) retval 811 drivers/staging/pi433/rf69.c return retval; retval 817 drivers/staging/pi433/rf69.c return rf69_read_fifo(spi, (u8 *)&retval, 1); retval 845 drivers/staging/pi433/rf69.c int retval; retval 860 drivers/staging/pi433/rf69.c retval = spi_sync_transfer(spi, &transfer, 1); retval 869 drivers/staging/pi433/rf69.c return retval; retval 1154 drivers/staging/rtl8188eu/core/rtw_recv.c int retval = _SUCCESS; retval 1171 drivers/staging/rtl8188eu/core/rtw_recv.c retval = _FAIL; retval 1215 drivers/staging/rtl8188eu/core/rtw_recv.c retval = validate_recv_mgnt_frame(adapter, precv_frame); retval 1216 drivers/staging/rtl8188eu/core/rtw_recv.c if (retval == _FAIL) retval 1218 drivers/staging/rtl8188eu/core/rtw_recv.c retval = _FAIL; /* only data frame return _SUCCESS */ retval 1221 drivers/staging/rtl8188eu/core/rtw_recv.c retval = validate_recv_ctrl_frame(adapter, precv_frame); retval 1222 drivers/staging/rtl8188eu/core/rtw_recv.c if (retval == _FAIL) retval 1224 drivers/staging/rtl8188eu/core/rtw_recv.c retval = _FAIL; /* only data frame return _SUCCESS */ retval 1229 drivers/staging/rtl8188eu/core/rtw_recv.c retval = validate_recv_data_frame(adapter, precv_frame); retval 1230 drivers/staging/rtl8188eu/core/rtw_recv.c if (retval == _FAIL) { retval 1238 drivers/staging/rtl8188eu/core/rtw_recv.c retval = _FAIL; retval 1257 drivers/staging/rtl8188eu/core/rtw_recv.c return retval; retval 1729 drivers/staging/rtl8188eu/core/rtw_recv.c int retval = _SUCCESS; retval 1763 drivers/staging/rtl8188eu/core/rtw_recv.c retval = amsdu_to_msdu(padapter, prframe); retval 1767 drivers/staging/rtl8188eu/core/rtw_recv.c return retval; retval 1843 drivers/staging/rtl8188eu/core/rtw_recv.c int retval = _SUCCESS; retval 1856 drivers/staging/rtl8188eu/core/rtw_recv.c retval = wlanhdr_to_ethhdr(prframe); retval 1857 drivers/staging/rtl8188eu/core/rtw_recv.c if (retval != _SUCCESS) { retval 1859 drivers/staging/rtl8188eu/core/rtw_recv.c return retval; retval 1875 drivers/staging/rtl8188eu/core/rtw_recv.c return retval; retval 629 drivers/staging/rtl8712/rtl8712_recv.c int retval = _SUCCESS; retval 641 drivers/staging/rtl8712/rtl8712_recv.c retval = r8712_wlanhdr_to_ethhdr(prframe); retval 642 drivers/staging/rtl8712/rtl8712_recv.c if (retval) retval 651 drivers/staging/rtl8712/rtl8712_recv.c return retval; retval 936 drivers/staging/rtl8712/rtl8712_recv.c int retval = _SUCCESS; retval 955 drivers/staging/rtl8712/rtl8712_recv.c retval = r8712_validate_recv_frame(padapter, prframe); retval 956 drivers/staging/rtl8712/rtl8712_recv.c if (retval != _SUCCESS) { retval 964 drivers/staging/rtl8712/rtl8712_recv.c retval = _FAIL; retval 972 drivers/staging/rtl8712/rtl8712_recv.c retval = _FAIL; retval 975 drivers/staging/rtl8712/rtl8712_recv.c retval = r8712_process_recv_indicatepkts(padapter, prframe); retval 976 drivers/staging/rtl8712/rtl8712_recv.c if (retval != _SUCCESS) { retval 981 drivers/staging/rtl8712/rtl8712_recv.c return retval; retval 552 drivers/staging/rtl8712/rtl871x_recv.c sint retval = _SUCCESS; retval 573 drivers/staging/rtl8712/rtl871x_recv.c retval = validate_recv_mgnt_frame(adapter, precv_frame); retval 576 drivers/staging/rtl8712/rtl871x_recv.c retval = validate_recv_ctrl_frame(adapter, precv_frame); retval 580 drivers/staging/rtl8712/rtl871x_recv.c retval = validate_recv_data_frame(adapter, precv_frame); retval 585 drivers/staging/rtl8712/rtl871x_recv.c return retval; retval 1505 drivers/staging/rtl8723bs/core/rtw_recv.c sint retval = _SUCCESS; retval 1516 drivers/staging/rtl8723bs/core/rtw_recv.c retval = _FAIL; retval 1546 drivers/staging/rtl8723bs/core/rtw_recv.c retval = _FAIL; retval 1551 drivers/staging/rtl8723bs/core/rtw_recv.c retval = validate_recv_mgnt_frame(adapter, precv_frame); retval 1552 drivers/staging/rtl8723bs/core/rtw_recv.c if (retval == _FAIL) { retval 1556 drivers/staging/rtl8723bs/core/rtw_recv.c retval = _FAIL; /* only data frame return _SUCCESS */ retval 1560 drivers/staging/rtl8723bs/core/rtw_recv.c retval = validate_recv_ctrl_frame(adapter, precv_frame); retval 1561 drivers/staging/rtl8723bs/core/rtw_recv.c if (retval == _FAIL) { retval 1565 drivers/staging/rtl8723bs/core/rtw_recv.c retval = _FAIL; /* only data frame return _SUCCESS */ retval 1571 drivers/staging/rtl8723bs/core/rtw_recv.c retval = validate_recv_data_frame(adapter, precv_frame); retval 1572 drivers/staging/rtl8723bs/core/rtw_recv.c if (retval == _FAIL) { retval 1577 drivers/staging/rtl8723bs/core/rtw_recv.c } else if (retval == _SUCCESS) { retval 1599 drivers/staging/rtl8723bs/core/rtw_recv.c retval = _FAIL; retval 1604 drivers/staging/rtl8723bs/core/rtw_recv.c return retval; retval 2217 drivers/staging/rtl8723bs/core/rtw_recv.c int retval = _SUCCESS; retval 2274 drivers/staging/rtl8723bs/core/rtw_recv.c retval = amsdu_to_msdu(padapter, prframe); retval 2282 drivers/staging/rtl8723bs/core/rtw_recv.c if (retval != _SUCCESS) { retval 2288 drivers/staging/rtl8723bs/core/rtw_recv.c return retval; retval 2373 drivers/staging/rtl8723bs/core/rtw_recv.c int retval = _SUCCESS; retval 2391 drivers/staging/rtl8723bs/core/rtw_recv.c retval = _FAIL; retval 2392 drivers/staging/rtl8723bs/core/rtw_recv.c return retval; retval 2396 drivers/staging/rtl8723bs/core/rtw_recv.c retval = wlanhdr_to_ethhdr(prframe); retval 2397 drivers/staging/rtl8723bs/core/rtw_recv.c if (retval != _SUCCESS) { retval 2402 drivers/staging/rtl8723bs/core/rtw_recv.c return retval; retval 2415 drivers/staging/rtl8723bs/core/rtw_recv.c retval = _FAIL; retval 2416 drivers/staging/rtl8723bs/core/rtw_recv.c return retval; retval 2421 drivers/staging/rtl8723bs/core/rtw_recv.c return retval; retval 43 drivers/staging/rts5208/ms.c int retval; retval 63 drivers/staging/rts5208/ms.c retval = rtsx_send_cmd(chip, MS_CARD, 5000); retval 64 drivers/staging/rts5208/ms.c if (retval < 0) { retval 99 drivers/staging/rts5208/ms.c int retval; retval 140 drivers/staging/rts5208/ms.c retval = rtsx_transfer_data(chip, MS_CARD, buf, buf_len, retval 142 drivers/staging/rts5208/ms.c if (retval < 0) { retval 144 drivers/staging/rts5208/ms.c if (retval == -ETIMEDOUT) retval 145 drivers/staging/rts5208/ms.c retval = STATUS_TIMEDOUT; retval 147 drivers/staging/rts5208/ms.c retval = STATUS_FAIL; retval 149 drivers/staging/rts5208/ms.c return retval; retval 152 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &val); retval 153 drivers/staging/rts5208/ms.c if (retval) retval 154 drivers/staging/rts5208/ms.c return retval; retval 166 drivers/staging/rts5208/ms.c int retval, i; retval 191 drivers/staging/rts5208/ms.c retval = rtsx_send_cmd(chip, MS_CARD, 5000); retval 192 drivers/staging/rts5208/ms.c if (retval < 0) { retval 230 drivers/staging/rts5208/ms.c int retval, i; retval 258 drivers/staging/rts5208/ms.c retval = rtsx_send_cmd(chip, MS_CARD, 5000); retval 259 drivers/staging/rts5208/ms.c if (retval < 0) { retval 305 drivers/staging/rts5208/ms.c int retval, i; retval 314 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, SET_RW_REG_ADRS, 4, retval 316 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 337 drivers/staging/rts5208/ms.c int retval; retval 358 drivers/staging/rts5208/ms.c retval = switch_clock(chip, ms_card->ms_clock); retval 359 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 362 drivers/staging/rts5208/ms.c retval = select_card(chip, MS_CARD); retval 363 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 372 drivers/staging/rts5208/ms.c int retval; retval 374 drivers/staging/rts5208/ms.c retval = select_card(chip, MS_CARD); retval 375 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 378 drivers/staging/rts5208/ms.c retval = switch_clock(chip, ms_card->ms_clock); retval 379 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 387 drivers/staging/rts5208/ms.c int retval; retval 390 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL1, 0xFF, retval 393 drivers/staging/rts5208/ms.c if (retval) retval 394 drivers/staging/rts5208/ms.c return retval; retval 396 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL2, 0xFF, retval 399 drivers/staging/rts5208/ms.c if (retval) retval 400 drivers/staging/rts5208/ms.c return retval; retval 402 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL3, 0xFF, retval 405 drivers/staging/rts5208/ms.c if (retval) retval 406 drivers/staging/rts5208/ms.c return retval; retval 408 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL4, 0xFF, retval 411 drivers/staging/rts5208/ms.c if (retval) retval 412 drivers/staging/rts5208/ms.c return retval; retval 414 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL5, 0xFF, retval 417 drivers/staging/rts5208/ms.c if (retval) retval 418 drivers/staging/rts5208/ms.c return retval; retval 420 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL6, 0xFF, retval 422 drivers/staging/rts5208/ms.c if (retval) retval 423 drivers/staging/rts5208/ms.c return retval; retval 427 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL1, retval 429 drivers/staging/rts5208/ms.c if (retval) retval 430 drivers/staging/rts5208/ms.c return retval; retval 432 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL2, retval 434 drivers/staging/rts5208/ms.c if (retval) retval 435 drivers/staging/rts5208/ms.c return retval; retval 437 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL3, retval 439 drivers/staging/rts5208/ms.c if (retval) retval 440 drivers/staging/rts5208/ms.c return retval; retval 442 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_PULL_CTL4, retval 444 drivers/staging/rts5208/ms.c if (retval) retval 445 drivers/staging/rts5208/ms.c return retval; retval 454 drivers/staging/rts5208/ms.c int retval; retval 484 drivers/staging/rts5208/ms.c retval = rtsx_send_cmd(chip, MS_CARD, 100); retval 485 drivers/staging/rts5208/ms.c if (retval < 0) retval 494 drivers/staging/rts5208/ms.c int retval; retval 504 drivers/staging/rts5208/ms.c retval = ms_power_off_card3v3(chip); retval 505 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 511 drivers/staging/rts5208/ms.c retval = enable_card_clock(chip, MS_CARD); retval 512 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 516 drivers/staging/rts5208/ms.c retval = ms_pull_ctl_enable(chip); retval 517 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 520 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, FPGA_PULL_CTL, retval 522 drivers/staging/rts5208/ms.c if (retval) retval 523 drivers/staging/rts5208/ms.c return retval; retval 527 drivers/staging/rts5208/ms.c retval = card_power_on(chip, MS_CARD); retval 528 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 547 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_OE, MS_OUTPUT_EN, retval 549 drivers/staging/rts5208/ms.c if (retval) retval 550 drivers/staging/rts5208/ms.c return retval; retval 553 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_CFG, 0xFF, retval 558 drivers/staging/rts5208/ms.c if (retval) retval 559 drivers/staging/rts5208/ms.c return retval; retval 562 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_CFG, 0xFF, retval 567 drivers/staging/rts5208/ms.c if (retval) retval 568 drivers/staging/rts5208/ms.c return retval; retval 570 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_TRANS_CFG, 0xFF, retval 572 drivers/staging/rts5208/ms.c if (retval) retval 573 drivers/staging/rts5208/ms.c return retval; retval 575 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_STOP, MS_STOP | MS_CLR_ERR, retval 577 drivers/staging/rts5208/ms.c if (retval) retval 578 drivers/staging/rts5208/ms.c return retval; retval 580 drivers/staging/rts5208/ms.c retval = ms_set_init_para(chip); retval 581 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 590 drivers/staging/rts5208/ms.c int retval, i; retval 593 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, Pro_StatusReg, 6, SystemParm, 1); retval 594 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 598 drivers/staging/rts5208/ms.c retval = ms_transfer_tpc(chip, MS_TM_READ_BYTES, READ_REG, retval 600 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 606 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, PPBUF_BASE2 + 2, &val); retval 607 drivers/staging/rts5208/ms.c if (retval) retval 608 drivers/staging/rts5208/ms.c return retval; retval 618 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, PPBUF_BASE2 + 4, &val); retval 619 drivers/staging/rts5208/ms.c if (retval) retval 620 drivers/staging/rts5208/ms.c return retval; retval 628 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, PPBUF_BASE2 + 5, &val); retval 629 drivers/staging/rts5208/ms.c if (retval) retval 630 drivers/staging/rts5208/ms.c return retval; retval 634 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, PPBUF_BASE2, &val); retval 635 drivers/staging/rts5208/ms.c if (retval) retval 636 drivers/staging/rts5208/ms.c return retval; retval 652 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, PPBUF_BASE2 + 3, &val); retval 653 drivers/staging/rts5208/ms.c if (retval) retval 654 drivers/staging/rts5208/ms.c return retval; retval 674 drivers/staging/rts5208/ms.c int retval, i, k; retval 686 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, retval 688 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 702 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 703 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 722 drivers/staging/rts5208/ms.c int retval, i; retval 728 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 1, NO_WAIT_INT, retval 730 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 733 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 742 drivers/staging/rts5208/ms.c int retval, i; retval 748 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 1, retval 750 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 753 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 756 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_CFG, 0x98, retval 758 drivers/staging/rts5208/ms.c if (retval) retval 759 drivers/staging/rts5208/ms.c return retval; retval 762 drivers/staging/rts5208/ms.c retval = ms_set_init_para(chip); retval 763 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 767 drivers/staging/rts5208/ms.c retval = ms_transfer_tpc(chip, MS_TM_READ_BYTES, GET_INT, retval 769 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 779 drivers/staging/rts5208/ms.c int retval, i; retval 782 drivers/staging/rts5208/ms.c retval = ms_prepare_reset(chip); retval 783 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 786 drivers/staging/rts5208/ms.c retval = ms_identify_media_type(chip, switch_8bit_bus); retval 787 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 790 drivers/staging/rts5208/ms.c retval = ms_confirm_cpu_startup(chip); retval 791 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 794 drivers/staging/rts5208/ms.c retval = ms_switch_parallel_bus(chip); retval 795 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 806 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 810 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_CFG, 0x18, MS_BUS_WIDTH_4); retval 811 drivers/staging/rts5208/ms.c if (retval) retval 812 drivers/staging/rts5208/ms.c return retval; retval 814 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_CFG, PUSH_TIME_ODD, retval 816 drivers/staging/rts5208/ms.c if (retval) retval 817 drivers/staging/rts5208/ms.c return retval; retval 819 drivers/staging/rts5208/ms.c retval = ms_set_init_para(chip); retval 820 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 825 drivers/staging/rts5208/ms.c retval = ms_switch_8bit_bus(chip); retval 826 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 838 drivers/staging/rts5208/ms.c int retval; retval 843 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, 0, 0, Pro_DataCount1, 6); retval 844 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 854 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_WRITE_REG, 6, NO_WAIT_INT, buf, 6); retval 855 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 858 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, XC_CHG_POWER, WAIT_INT); retval 859 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 862 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, buf); retval 863 drivers/staging/rts5208/ms.c if (retval) retval 864 drivers/staging/rts5208/ms.c return retval; retval 876 drivers/staging/rts5208/ms.c int retval, i; retval 888 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, Pro_IntReg, 2, Pro_SystemParm, 7); retval 889 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 907 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_WRITE_REG, 7, NO_WAIT_INT, retval 909 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 912 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 920 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, PRO_READ_ATRB, WAIT_INT); retval 921 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 924 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &val); retval 925 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 933 drivers/staging/rts5208/ms.c retval = ms_transfer_data(chip, MS_TM_AUTO_READ, retval 936 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 941 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 948 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &val); retval 949 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 957 drivers/staging/rts5208/ms.c retval = ms_transfer_tpc(chip, MS_TM_NORMAL_READ, retval 959 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 1150 drivers/staging/rts5208/ms.c int retval; retval 1165 drivers/staging/rts5208/ms.c retval = ms_pro_reset_flow(chip, 1); retval 1166 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 1168 drivers/staging/rts5208/ms.c retval = ms_pro_reset_flow(chip, 0); retval 1169 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1176 drivers/staging/rts5208/ms.c retval = ms_read_attribute_info(chip); retval 1177 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1205 drivers/staging/rts5208/ms.c retval = msxc_change_power(chip, retval 1207 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 1217 drivers/staging/rts5208/ms.c retval = mg_set_tpc_para_sub(chip, 0, 0); retval 1218 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1232 drivers/staging/rts5208/ms.c int retval; retval 1235 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, StatusReg0, 2, 0, 0); retval 1236 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1239 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, READ_REG, 2, NO_WAIT_INT, val, 2); retval 1240 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1255 drivers/staging/rts5208/ms.c int retval, i; retval 1258 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 1260 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1277 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, retval 1279 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 1288 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_READ, WAIT_INT); retval 1289 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 1296 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 1297 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1306 drivers/staging/rts5208/ms.c retval = ms_read_status_reg(chip); retval 1307 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1310 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, retval 1313 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1318 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, READ_REG, MS_EXTRA_SIZE, NO_WAIT_INT, retval 1320 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1336 drivers/staging/rts5208/ms.c int retval, i; retval 1342 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 1344 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1361 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, (6 + MS_EXTRA_SIZE), retval 1363 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1366 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_WRITE, WAIT_INT); retval 1367 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1371 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 1372 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1392 drivers/staging/rts5208/ms.c int retval; retval 1395 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 1397 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1411 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, data, 6); retval 1412 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1415 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_READ, WAIT_INT); retval 1416 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1420 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 1421 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1435 drivers/staging/rts5208/ms.c retval = ms_read_status_reg(chip); retval 1436 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1447 drivers/staging/rts5208/ms.c retval = ms_transfer_tpc(chip, MS_TM_NORMAL_READ, READ_PAGE_DATA, retval 1449 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1461 drivers/staging/rts5208/ms.c int retval; retval 1464 drivers/staging/rts5208/ms.c retval = ms_read_extra_data(chip, phy_blk, 0, extra, MS_EXTRA_SIZE); retval 1465 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1468 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 1470 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1488 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 7, NO_WAIT_INT, data, 7); retval 1489 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1492 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_WRITE, WAIT_INT); retval 1493 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1497 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 1498 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1519 drivers/staging/rts5208/ms.c int retval, i = 0; retval 1522 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 1524 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1540 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, data, 6); retval 1541 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1545 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_ERASE, WAIT_INT); retval 1546 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1550 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 1551 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1597 drivers/staging/rts5208/ms.c int retval; retval 1613 drivers/staging/rts5208/ms.c retval = ms_write_extra_data(chip, phy_blk, i, retval 1615 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1627 drivers/staging/rts5208/ms.c int retval, rty_cnt; retval 1635 drivers/staging/rts5208/ms.c retval = ms_read_extra_data(chip, new_blk, 0, extra, MS_EXTRA_SIZE); retval 1636 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1639 drivers/staging/rts5208/ms.c retval = ms_read_status_reg(chip); retval 1640 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1643 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, PPBUF_BASE2, &val); retval 1644 drivers/staging/rts5208/ms.c if (retval) retval 1645 drivers/staging/rts5208/ms.c return retval; retval 1648 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, CLEAR_BUF, WAIT_INT); retval 1649 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1652 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 1653 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1668 drivers/staging/rts5208/ms.c retval = ms_read_extra_data(chip, old_blk, i, extra, retval 1670 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1673 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, retval 1675 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1691 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, retval 1693 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1696 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_READ, WAIT_INT); retval 1697 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1701 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 1702 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1712 drivers/staging/rts5208/ms.c retval = ms_read_status_reg(chip); retval 1713 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 1720 drivers/staging/rts5208/ms.c retval = ms_transfer_tpc(chip, retval 1724 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1752 drivers/staging/rts5208/ms.c retval = ms_transfer_tpc( retval 1757 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 1770 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 1798 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, (6 + MS_EXTRA_SIZE), retval 1800 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1803 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_WRITE, WAIT_INT); retval 1804 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1808 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 1809 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1825 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, retval 1828 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1846 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 7, retval 1848 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1851 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_WRITE, WAIT_INT); retval 1852 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1856 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, retval 1858 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1882 drivers/staging/rts5208/ms.c int retval; retval 1889 drivers/staging/rts5208/ms.c retval = ms_prepare_reset(chip); retval 1890 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1895 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, MS_RESET, NO_WAIT_INT); retval 1896 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1899 drivers/staging/rts5208/ms.c retval = ms_read_status_reg(chip); retval 1900 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1903 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, PPBUF_BASE2, &val); retval 1904 drivers/staging/rts5208/ms.c if (retval) retval 1905 drivers/staging/rts5208/ms.c return retval; retval 1922 drivers/staging/rts5208/ms.c retval = ms_read_extra_data(chip, i, 0, extra, MS_EXTRA_SIZE); retval 1923 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 1943 drivers/staging/rts5208/ms.c retval = ms_read_page(chip, ms_card->boot_block, j); retval 1944 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 1953 drivers/staging/rts5208/ms.c retval = ms_read_page(chip, ms_card->boot_block, 0); retval 1954 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 1963 drivers/staging/rts5208/ms.c retval = rtsx_send_cmd(chip, MS_CARD, 100); retval 1964 drivers/staging/rts5208/ms.c if (retval < 0) retval 1986 drivers/staging/rts5208/ms.c retval = rtsx_send_cmd(chip, MS_CARD, 100); retval 1987 drivers/staging/rts5208/ms.c if (retval < 0) retval 2060 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, 0, 0, SystemParm, 1); retval 2061 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2064 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, PPBUF_BASE2, 0xFF, 0x88); retval 2065 drivers/staging/rts5208/ms.c if (retval) retval 2066 drivers/staging/rts5208/ms.c return retval; retval 2068 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, PPBUF_BASE2 + 1, 0xFF, 0); retval 2069 drivers/staging/rts5208/ms.c if (retval) retval 2070 drivers/staging/rts5208/ms.c return retval; retval 2072 drivers/staging/rts5208/ms.c retval = ms_transfer_tpc(chip, MS_TM_WRITE_BYTES, WRITE_REG, 1, retval 2074 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2077 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_CFG, retval 2082 drivers/staging/rts5208/ms.c if (retval) retval 2083 drivers/staging/rts5208/ms.c return retval; retval 2099 drivers/staging/rts5208/ms.c int size, i, seg_no, retval; retval 2112 drivers/staging/rts5208/ms.c retval = ms_read_page(chip, ms_card->boot_block, 1); retval 2113 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2120 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, reg_addr++, &val1); retval 2121 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2124 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, reg_addr++, &val2); retval 2125 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2279 drivers/staging/rts5208/ms.c int retval, table_size, disable_cnt, i; retval 2286 drivers/staging/rts5208/ms.c retval = ms_init_l2p_tbl(chip); retval 2287 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2288 drivers/staging/rts5208/ms.c return retval; retval 2342 drivers/staging/rts5208/ms.c retval = ms_read_extra_data(chip, phy_blk, 0, retval 2344 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2353 drivers/staging/rts5208/ms.c retval = ms_erase_block(chip, phy_blk); retval 2354 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2373 drivers/staging/rts5208/ms.c retval = ms_erase_block(chip, phy_blk); retval 2374 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2384 drivers/staging/rts5208/ms.c retval = ms_erase_block(chip, phy_blk); retval 2385 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2401 drivers/staging/rts5208/ms.c retval = ms_read_extra_data(chip, tmp_blk, 0, retval 2403 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2438 drivers/staging/rts5208/ms.c retval = ms_init_page(chip, phy_blk, log_blk, 0, 1); retval 2439 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2468 drivers/staging/rts5208/ms.c retval = ms_copy_page(chip, tmp_blk, phy_blk, retval 2471 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2476 drivers/staging/rts5208/ms.c retval = ms_set_bad_block(chip, tmp_blk); retval 2477 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2499 drivers/staging/rts5208/ms.c int retval; retval 2503 drivers/staging/rts5208/ms.c retval = enable_card_clock(chip, MS_CARD); retval 2504 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2507 drivers/staging/rts5208/ms.c retval = select_card(chip, MS_CARD); retval 2508 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2513 drivers/staging/rts5208/ms.c retval = reset_ms_pro(chip); retval 2514 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2516 drivers/staging/rts5208/ms.c retval = reset_ms(chip); retval 2517 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2524 drivers/staging/rts5208/ms.c retval = ms_set_init_para(chip); retval 2525 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2532 drivers/staging/rts5208/ms.c retval = ms_build_l2p_tbl(chip, seg_no); retval 2533 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2545 drivers/staging/rts5208/ms.c int retval, i; retval 2558 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_EX_SET_CMD, 7, retval 2560 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 2572 drivers/staging/rts5208/ms.c int retval; retval 2575 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 2576 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2590 drivers/staging/rts5208/ms.c int retval; retval 2602 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 2603 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2615 drivers/staging/rts5208/ms.c int retval; retval 2652 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 2653 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2661 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &val); retval 2662 drivers/staging/rts5208/ms.c if (retval) retval 2663 drivers/staging/rts5208/ms.c return retval; retval 2676 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, PRO_STOP, WAIT_INT); retval 2677 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2703 drivers/staging/rts5208/ms.c retval = mspro_set_rw_cmd(chip, start_sector, count, rw_cmd); retval 2704 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2710 drivers/staging/rts5208/ms.c retval = ms_transfer_data(chip, trans_mode, rw_tpc, sector_cnt, retval 2713 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2734 drivers/staging/rts5208/ms.c return retval; retval 2751 drivers/staging/rts5208/ms.c int retval, i; retval 2759 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 2760 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2765 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &tmp); retval 2766 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2786 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_CFG, MS_NO_CHECK_INT, retval 2788 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2793 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, PRO_READ_SHORT_DATA, cnt, WAIT_INT, retval 2795 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2819 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &tmp); retval 2820 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2831 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, MS_CFG, MS_NO_CHECK_INT, 0); retval 2832 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 2882 drivers/staging/rts5208/ms.c int retval, i; retval 2886 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 2887 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2890 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, 0x00, 0x00, Pro_TPCParm, 0x01); retval 2891 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2912 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_WRITE_REG, 1, retval 2914 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 2925 drivers/staging/rts5208/ms.c retval = mspro_set_rw_cmd(chip, 0, para, PRO_FORMAT); retval 2926 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2929 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &tmp); retval 2930 drivers/staging/rts5208/ms.c if (retval) retval 2931 drivers/staging/rts5208/ms.c return retval; retval 2960 drivers/staging/rts5208/ms.c int retval, i; retval 2964 drivers/staging/rts5208/ms.c retval = ms_read_extra_data(chip, phy_blk, start_page, retval 2966 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) { retval 2973 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 2975 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 2990 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 6, NO_WAIT_INT, retval 2992 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 3000 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_READ, WAIT_INT); retval 3001 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3014 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 3015 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3024 drivers/staging/rts5208/ms.c retval = ms_read_status_reg(chip); retval 3025 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3054 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_END, WAIT_INT); retval 3055 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3059 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, retval 3061 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3091 drivers/staging/rts5208/ms.c retval = rtsx_transfer_data_partial(chip, MS_CARD, ptr, 512, retval 3096 drivers/staging/rts5208/ms.c if (retval < 0) { retval 3097 drivers/staging/rts5208/ms.c if (retval == -ETIMEDOUT) { retval 3103 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &val); retval 3104 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3129 drivers/staging/rts5208/ms.c int retval, i; retval 3134 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 3136 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3152 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 7, NO_WAIT_INT, retval 3154 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3157 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_WRITE, WAIT_INT); retval 3158 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3162 drivers/staging/rts5208/ms.c retval = ms_transfer_tpc(chip, MS_TM_READ_BYTES, GET_INT, 1, retval 3164 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3168 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, OverwriteFlag, MS_EXTRA_SIZE, retval 3170 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3198 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, WRITE_REG, 6 + MS_EXTRA_SIZE, retval 3200 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 3207 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_WRITE, WAIT_INT); retval 3208 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 3214 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 3215 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3260 drivers/staging/rts5208/ms.c retval = rtsx_transfer_data_partial(chip, MS_CARD, ptr, 512, retval 3265 drivers/staging/rts5208/ms.c if (retval < 0) { retval 3269 drivers/staging/rts5208/ms.c if (retval == -ETIMEDOUT) retval 3274 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, NO_WAIT_INT, &val, 1); retval 3275 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3286 drivers/staging/rts5208/ms.c retval = ms_send_cmd(chip, BLOCK_END, retval 3288 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3292 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, GET_INT, 1, retval 3294 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3319 drivers/staging/rts5208/ms.c int retval, seg_no; retval 3321 drivers/staging/rts5208/ms.c retval = ms_copy_page(chip, old_blk, new_blk, log_blk, retval 3323 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3332 drivers/staging/rts5208/ms.c retval = ms_erase_block(chip, old_blk); retval 3333 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 3345 drivers/staging/rts5208/ms.c int retval; retval 3348 drivers/staging/rts5208/ms.c retval = ms_copy_page(chip, old_blk, new_blk, log_blk, retval 3350 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3362 drivers/staging/rts5208/ms.c int retval; retval 3365 drivers/staging/rts5208/ms.c retval = ms_set_init_para(chip); retval 3366 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3370 drivers/staging/rts5208/ms.c retval = ms_finish_write(chip, retval 3375 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3397 drivers/staging/rts5208/ms.c int retval, seg_no; retval 3412 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 3413 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3427 drivers/staging/rts5208/ms.c retval = ms_build_l2p_tbl(chip, seg_no); retval 3428 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3441 drivers/staging/rts5208/ms.c retval = ms_copy_page(chip, retval 3446 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3460 drivers/staging/rts5208/ms.c retval = ms_delay_write(chip); retval 3461 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3477 drivers/staging/rts5208/ms.c retval = ms_prepare_write(chip, old_blk, new_blk, retval 3479 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3496 drivers/staging/rts5208/ms.c retval = ms_delay_write(chip); retval 3497 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3532 drivers/staging/rts5208/ms.c retval = ms_read_multiple_pages(chip, retval 3537 drivers/staging/rts5208/ms.c retval = ms_write_multiple_pages(chip, old_blk, new_blk, retval 3543 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3556 drivers/staging/rts5208/ms.c retval = ms_erase_block(chip, old_blk); retval 3557 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 3582 drivers/staging/rts5208/ms.c retval = ms_build_l2p_tbl(chip, seg_no); retval 3583 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3621 drivers/staging/rts5208/ms.c retval = ms_finish_write(chip, old_blk, new_blk, retval 3623 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3648 drivers/staging/rts5208/ms.c int retval; retval 3651 drivers/staging/rts5208/ms.c retval = mspro_rw_multi_sector(srb, chip, start_sector, retval 3654 drivers/staging/rts5208/ms.c retval = ms_rw_multi_sector(srb, chip, start_sector, retval 3657 drivers/staging/rts5208/ms.c return retval; retval 3682 drivers/staging/rts5208/ms.c int retval; retval 3689 drivers/staging/rts5208/ms.c retval = rtsx_send_cmd(chip, MS_CARD, 5000); retval 3690 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3704 drivers/staging/rts5208/ms.c int retval; retval 3707 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANSFER, &val); retval 3708 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3713 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &val); retval 3714 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3725 drivers/staging/rts5208/ms.c int retval; retval 3728 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANSFER, &val); retval 3729 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3740 drivers/staging/rts5208/ms.c int retval, i; retval 3753 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_EX_SET_CMD, 7, WAIT_INT, retval 3755 drivers/staging/rts5208/ms.c if (retval == STATUS_SUCCESS) retval 3772 drivers/staging/rts5208/ms.c int retval; retval 3776 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, 0, 0, Pro_TPCParm, 1); retval 3778 drivers/staging/rts5208/ms.c retval = ms_set_rw_reg_addr(chip, 0, 0, Pro_DataCount1, 6); retval 3780 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3791 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_WRITE_REG, (type == 0) ? 1 : 6, retval 3793 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3801 drivers/staging/rts5208/ms.c int retval; retval 3813 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 3814 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3817 drivers/staging/rts5208/ms.c retval = mg_send_ex_cmd(chip, MG_SET_LID, 0); retval 3818 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3828 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_WRITE_SHORT_DATA, 32, WAIT_INT, retval 3830 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3845 drivers/staging/rts5208/ms.c int retval; retval 3852 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 3853 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3865 drivers/staging/rts5208/ms.c retval = mg_send_ex_cmd(chip, MG_GET_LEKB, 0); retval 3866 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3871 drivers/staging/rts5208/ms.c retval = ms_transfer_data(chip, MS_TM_AUTO_READ, PRO_READ_LONG_DATA, retval 3873 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3881 drivers/staging/rts5208/ms.c retval = STATUS_FAIL; retval 3890 drivers/staging/rts5208/ms.c return retval; retval 3896 drivers/staging/rts5208/ms.c int retval; retval 3904 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 3905 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3908 drivers/staging/rts5208/ms.c retval = mg_send_ex_cmd(chip, MG_GET_ID, 0); retval 3909 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3914 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, PRO_READ_SHORT_DATA, 32, WAIT_INT, retval 3916 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3929 drivers/staging/rts5208/ms.c retval = ms_poll_int(chip); retval 3930 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3936 drivers/staging/rts5208/ms.c retval = mg_send_ex_cmd(chip, MG_SET_RD, 0); retval 3937 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3951 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_WRITE_SHORT_DATA, retval 3953 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3971 drivers/staging/rts5208/ms.c int retval; retval 3978 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 3979 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 3982 drivers/staging/rts5208/ms.c retval = mg_send_ex_cmd(chip, MG_MAKE_RMS, 0); retval 3983 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 3988 drivers/staging/rts5208/ms.c retval = ms_read_bytes(chip, PRO_READ_SHORT_DATA, 32, WAIT_INT, retval 3990 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 4012 drivers/staging/rts5208/ms.c retval = ms_poll_int(chip); retval 4013 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 4025 drivers/staging/rts5208/ms.c int retval; retval 4033 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 4034 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 4037 drivers/staging/rts5208/ms.c retval = mg_send_ex_cmd(chip, MG_MAKE_KSE, 0); retval 4038 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 4052 drivers/staging/rts5208/ms.c retval = ms_write_bytes(chip, PRO_WRITE_SHORT_DATA, 32, WAIT_INT, retval 4054 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 4072 drivers/staging/rts5208/ms.c int retval; retval 4079 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 4080 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 4092 drivers/staging/rts5208/ms.c retval = mg_send_ex_cmd(chip, MG_GET_IBD, ms_card->mg_entry_num); retval 4093 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 4098 drivers/staging/rts5208/ms.c retval = ms_transfer_data(chip, MS_TM_AUTO_READ, PRO_READ_LONG_DATA, retval 4100 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 4108 drivers/staging/rts5208/ms.c retval = STATUS_FAIL; retval 4117 drivers/staging/rts5208/ms.c return retval; retval 4123 drivers/staging/rts5208/ms.c int retval; retval 4133 drivers/staging/rts5208/ms.c retval = ms_switch_clock(chip); retval 4134 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 4144 drivers/staging/rts5208/ms.c retval = mg_send_ex_cmd(chip, MG_SET_IBD, ms_card->mg_entry_num); retval 4145 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) { retval 4181 drivers/staging/rts5208/ms.c retval = rtsx_transfer_data(chip, MS_CARD, buf + 4 + i * 512, retval 4183 drivers/staging/rts5208/ms.c if ((retval < 0) || check_ms_err(chip)) { retval 4197 drivers/staging/rts5208/ms.c retval = STATUS_FAIL; retval 4202 drivers/staging/rts5208/ms.c retval = ms_transfer_data(chip, MS_TM_AUTO_WRITE, PRO_WRITE_LONG_DATA, retval 4204 drivers/staging/rts5208/ms.c if ((retval != STATUS_SUCCESS) || check_ms_err(chip)) { retval 4223 drivers/staging/rts5208/ms.c return retval; retval 4255 drivers/staging/rts5208/ms.c int retval; retval 4257 drivers/staging/rts5208/ms.c retval = disable_card_clock(chip, MS_CARD); retval 4258 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 4262 drivers/staging/rts5208/ms.c retval = ms_pull_ctl_disable(chip); retval 4263 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 4266 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, FPGA_PULL_CTL, retval 4269 drivers/staging/rts5208/ms.c if (retval) retval 4270 drivers/staging/rts5208/ms.c return retval; retval 4272 drivers/staging/rts5208/ms.c retval = rtsx_write_register(chip, CARD_OE, MS_OUTPUT_EN, 0); retval 4273 drivers/staging/rts5208/ms.c if (retval) retval 4274 drivers/staging/rts5208/ms.c return retval; retval 4277 drivers/staging/rts5208/ms.c retval = card_power_off(chip, MS_CARD); retval 4278 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 4288 drivers/staging/rts5208/ms.c int retval; retval 4306 drivers/staging/rts5208/ms.c retval = ms_power_off_card3v3(chip); retval 4307 drivers/staging/rts5208/ms.c if (retval != STATUS_SUCCESS) retval 528 drivers/staging/rts5208/rtsx.c int retval; retval 541 drivers/staging/rts5208/rtsx.c retval = rtsx_pre_handle_interrupt(chip); retval 542 drivers/staging/rts5208/rtsx.c if (retval == STATUS_FAIL) { retval 140 drivers/staging/rts5208/rtsx_card.c int retval; retval 157 drivers/staging/rts5208/rtsx_card.c retval = reset_sd_card(chip); retval 160 drivers/staging/rts5208/rtsx_card.c if (retval == STATUS_SUCCESS) { retval 194 drivers/staging/rts5208/rtsx_card.c int retval; retval 211 drivers/staging/rts5208/rtsx_card.c retval = reset_xd_card(chip); retval 214 drivers/staging/rts5208/rtsx_card.c if (retval == STATUS_SUCCESS) { retval 242 drivers/staging/rts5208/rtsx_card.c int retval; retval 259 drivers/staging/rts5208/rtsx_card.c retval = reset_ms_card(chip); retval 262 drivers/staging/rts5208/rtsx_card.c if (retval == STATUS_SUCCESS) { retval 624 drivers/staging/rts5208/rtsx_card.c int retval; retval 678 drivers/staging/rts5208/rtsx_card.c retval = rtsx_send_cmd(chip, 0, WAIT_TIME); retval 679 drivers/staging/rts5208/rtsx_card.c if (retval < 0) retval 683 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CLK_CTL, CLK_LOW_FREQ, 0); retval 684 drivers/staging/rts5208/rtsx_card.c if (retval) retval 685 drivers/staging/rts5208/rtsx_card.c return retval; retval 694 drivers/staging/rts5208/rtsx_card.c int retval; retval 778 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CLK_CTL, 0xFF, CLK_LOW_FREQ); retval 779 drivers/staging/rts5208/rtsx_card.c if (retval) retval 780 drivers/staging/rts5208/rtsx_card.c return retval; retval 782 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, SD_VPCLK0_CTL, retval 784 drivers/staging/rts5208/rtsx_card.c if (retval) retval 785 drivers/staging/rts5208/rtsx_card.c return retval; retval 786 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, SD_VPCLK1_CTL, retval 788 drivers/staging/rts5208/rtsx_card.c if (retval) retval 789 drivers/staging/rts5208/rtsx_card.c return retval; retval 791 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CLK_DIV, 0xFF, retval 793 drivers/staging/rts5208/rtsx_card.c if (retval) retval 794 drivers/staging/rts5208/rtsx_card.c return retval; retval 795 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CLK_SEL, 0xFF, sel); retval 796 drivers/staging/rts5208/rtsx_card.c if (retval) retval 797 drivers/staging/rts5208/rtsx_card.c return retval; retval 801 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, SD_VPCLK0_CTL, retval 803 drivers/staging/rts5208/rtsx_card.c if (retval) retval 804 drivers/staging/rts5208/rtsx_card.c return retval; retval 805 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, SD_VPCLK1_CTL, retval 807 drivers/staging/rts5208/rtsx_card.c if (retval) retval 808 drivers/staging/rts5208/rtsx_card.c return retval; retval 811 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CLK_CTL, 0xFF, 0); retval 812 drivers/staging/rts5208/rtsx_card.c if (retval) retval 813 drivers/staging/rts5208/rtsx_card.c return retval; retval 848 drivers/staging/rts5208/rtsx_card.c int retval; retval 858 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CARD_CLK_EN, clk_en, clk_en); retval 859 drivers/staging/rts5208/rtsx_card.c if (retval) retval 860 drivers/staging/rts5208/rtsx_card.c return retval; retval 867 drivers/staging/rts5208/rtsx_card.c int retval; retval 877 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CARD_CLK_EN, clk_en, 0); retval 878 drivers/staging/rts5208/rtsx_card.c if (retval) retval 879 drivers/staging/rts5208/rtsx_card.c return retval; retval 886 drivers/staging/rts5208/rtsx_card.c int retval; retval 902 drivers/staging/rts5208/rtsx_card.c retval = rtsx_send_cmd(chip, 0, 100); retval 903 drivers/staging/rts5208/rtsx_card.c if (retval != STATUS_SUCCESS) retval 911 drivers/staging/rts5208/rtsx_card.c retval = rtsx_send_cmd(chip, 0, 100); retval 912 drivers/staging/rts5208/rtsx_card.c if (retval != STATUS_SUCCESS) retval 920 drivers/staging/rts5208/rtsx_card.c int retval; retval 931 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CARD_PWR_CTL, mask, val); retval 932 drivers/staging/rts5208/rtsx_card.c if (retval) retval 933 drivers/staging/rts5208/rtsx_card.c return retval; retval 941 drivers/staging/rts5208/rtsx_card.c int retval; retval 951 drivers/staging/rts5208/rtsx_card.c retval = chip->rw_card[lun](srb, chip, sec_addr, sec_cnt); retval 952 drivers/staging/rts5208/rtsx_card.c if (retval != STATUS_SUCCESS) { retval 974 drivers/staging/rts5208/rtsx_card.c return retval; retval 979 drivers/staging/rts5208/rtsx_card.c int retval; retval 1008 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CARD_SHARE_MODE, mask, value); retval 1009 drivers/staging/rts5208/rtsx_card.c if (retval) retval 1010 drivers/staging/rts5208/rtsx_card.c return retval; retval 1017 drivers/staging/rts5208/rtsx_card.c int retval; retval 1033 drivers/staging/rts5208/rtsx_card.c retval = rtsx_write_register(chip, CARD_SELECT, 0x07, mod); retval 1034 drivers/staging/rts5208/rtsx_card.c if (retval) retval 1035 drivers/staging/rts5208/rtsx_card.c return retval; retval 1038 drivers/staging/rts5208/rtsx_card.c retval = card_share_mode(chip, card); retval 1039 drivers/staging/rts5208/rtsx_card.c if (retval != STATUS_SUCCESS) retval 1035 drivers/staging/rts5208/rtsx_card.h int retval = 0; retval 1038 drivers/staging/rts5208/rtsx_card.h retval = switch_ssc_clock(chip, clk); retval 1040 drivers/staging/rts5208/rtsx_card.h retval = switch_normal_clock(chip, clk); retval 1042 drivers/staging/rts5208/rtsx_card.h return retval; retval 1050 drivers/staging/rts5208/rtsx_card.h int retval; retval 1052 drivers/staging/rts5208/rtsx_card.h retval = rtsx_write_register(chip, CARD_PWR_CTL, 0x0F, 0x0F); retval 1053 drivers/staging/rts5208/rtsx_card.h if (retval) retval 1054 drivers/staging/rts5208/rtsx_card.h return retval; retval 100 drivers/staging/rts5208/rtsx_chip.c int retval; retval 104 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_PULL_CTL5, retval 108 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 109 drivers/staging/rts5208/rtsx_chip.c return retval; retval 111 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, FPGA_PULL_CTL, retval 114 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 115 drivers/staging/rts5208/rtsx_chip.c return retval; retval 117 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_SHARE_MODE, 0xFF, retval 119 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 120 drivers/staging/rts5208/rtsx_chip.c return retval; retval 123 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, 0xFF2C, 0x01, 0x01); retval 124 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 125 drivers/staging/rts5208/rtsx_chip.c return retval; retval 127 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, SDIO_CTRL, 0xFF, retval 129 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 130 drivers/staging/rts5208/rtsx_chip.c return retval; retval 146 drivers/staging/rts5208/rtsx_chip.c int retval; retval 150 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, 0xFE5A, &tmp); retval 151 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 152 drivers/staging/rts5208/rtsx_chip.c return retval; retval 156 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, 0xFE70, &tmp); retval 157 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 158 drivers/staging/rts5208/rtsx_chip.c return retval; retval 176 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, TLPTISTAT, &tmp); retval 177 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 178 drivers/staging/rts5208/rtsx_chip.c return retval; retval 184 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, 0xFE5A, retval 186 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 187 drivers/staging/rts5208/rtsx_chip.c return retval; retval 189 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, 0xFE70, retval 191 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 192 drivers/staging/rts5208/rtsx_chip.c return retval; retval 195 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, TLPTISTAT, 0xFF, retval 197 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 198 drivers/staging/rts5208/rtsx_chip.c return retval; retval 205 drivers/staging/rts5208/rtsx_chip.c retval = sd_pull_ctl_enable(chip); retval 206 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 209 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register retval 213 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 214 drivers/staging/rts5208/rtsx_chip.c return retval; retval 216 drivers/staging/rts5208/rtsx_chip.c retval = card_share_mode(chip, SD_CARD); retval 217 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 222 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, 0xFE5A, retval 224 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 225 drivers/staging/rts5208/rtsx_chip.c return retval; retval 227 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, 0xFE70, retval 229 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 230 drivers/staging/rts5208/rtsx_chip.c return retval; retval 237 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, TLPTISTAT, 0x08, 0x08); retval 238 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 239 drivers/staging/rts5208/rtsx_chip.c return retval; retval 336 drivers/staging/rts5208/rtsx_chip.c int retval; retval 342 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, HOST_SLEEP_STATE, 0x03, 0x00); retval 343 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 344 drivers/staging/rts5208/rtsx_chip.c return retval; retval 347 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_CLK_EN, 0x1E, 0); retval 348 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 349 drivers/staging/rts5208/rtsx_chip.c return retval; retval 354 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, FPDCTL, OC_POWER_DOWN, 0); retval 355 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 356 drivers/staging/rts5208/rtsx_chip.c return retval; retval 358 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, FPDCTL, OC_POWER_DOWN, retval 360 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 361 drivers/staging/rts5208/rtsx_chip.c return retval; retval 364 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, OCPPARA1, OCP_TIME_MASK, retval 366 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 367 drivers/staging/rts5208/rtsx_chip.c return retval; retval 368 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, OCPPARA2, OCP_THD_MASK, retval 370 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 371 drivers/staging/rts5208/rtsx_chip.c return retval; retval 372 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, OCPCTL, 0xFF, retval 374 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 375 drivers/staging/rts5208/rtsx_chip.c return retval; retval 378 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, FPDCTL, OC_POWER_DOWN, retval 380 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 381 drivers/staging/rts5208/rtsx_chip.c return retval; retval 385 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_GPIO_DIR, 0xFF, 0x03); retval 386 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 387 drivers/staging/rts5208/rtsx_chip.c return retval; retval 391 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_GPIO, 0xFF, 0x03); retval 392 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 393 drivers/staging/rts5208/rtsx_chip.c return retval; retval 396 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CHANGE_LINK_STATE, 0x0A, 0); retval 397 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 398 drivers/staging/rts5208/rtsx_chip.c return retval; retval 401 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_DRIVE_SEL, 0xFF, retval 403 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 404 drivers/staging/rts5208/rtsx_chip.c return retval; retval 407 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_AUTO_BLINK, 0xFF, retval 409 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 410 drivers/staging/rts5208/rtsx_chip.c return retval; retval 415 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, SSC_CTL1, 0xFF, retval 417 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 418 drivers/staging/rts5208/rtsx_chip.c return retval; retval 419 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, SSC_CTL2, 0xFF, 0x12); retval 420 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 421 drivers/staging/rts5208/rtsx_chip.c return retval; retval 432 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CHANGE_LINK_STATE, 0x16, 0x10); retval 433 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 434 drivers/staging/rts5208/rtsx_chip.c return retval; retval 438 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_reset_aspm(chip); retval 439 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 443 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_phy_register(chip, 0x07, 0x0129); retval 444 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 447 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_config_byte(chip, LCTLR, retval 449 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 453 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_config_byte(chip, 0x81, 1); retval 454 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 458 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_cfg_dw(chip, retval 462 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 467 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_cfg_dw(chip, 2, 0xC0, 0xFFFF, 0x0103); retval 468 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 471 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_cfg_dw(chip, 2, 0x84, 0xFF, 0x03); retval 472 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 476 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, IRQSTAT0, LINK_RDY_INT, retval 478 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 479 drivers/staging/rts5208/rtsx_chip.c return retval; retval 481 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PERST_GLITCH_WIDTH, 0xFF, 0x80); retval 482 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 483 drivers/staging/rts5208/rtsx_chip.c return retval; retval 485 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_enable_pcie_intr(chip); retval 486 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 500 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_pre_handle_sdio_old(chip); retval 502 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_pre_handle_sdio_new(chip); retval 507 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_pre_handle_sdio_old(chip); retval 509 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 514 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, SDIO_CTRL, retval 516 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 517 drivers/staging/rts5208/rtsx_chip.c return retval; retval 526 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, SSC_CTL1, SSC_RSTB, retval 528 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 529 drivers/staging/rts5208/rtsx_chip.c return retval; retval 535 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, RCCTL, 0x01, 0x00); retval 536 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 537 drivers/staging/rts5208/rtsx_chip.c return retval; retval 541 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, MAIN_PWR_OFF_CTL, 0x03, retval 543 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 544 drivers/staging/rts5208/rtsx_chip.c return retval; retval 548 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, WAKE_SEL_CTL, 0x07, 0x07); retval 549 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 550 drivers/staging/rts5208/rtsx_chip.c return retval; retval 552 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PME_FORCE_CTL, retval 554 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 555 drivers/staging/rts5208/rtsx_chip.c return retval; retval 558 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, WAKE_SEL_CTL, 0x07, 0x04); retval 559 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 560 drivers/staging/rts5208/rtsx_chip.c return retval; retval 561 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PME_FORCE_CTL, 0xFF, 0x30); retval 562 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 563 drivers/staging/rts5208/rtsx_chip.c return retval; retval 567 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PETXCFG, 0x1C, 0x14); retval 568 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 569 drivers/staging/rts5208/rtsx_chip.c return retval; retval 573 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_clr_phy_reg_bit(chip, 0x1C, 2); retval 574 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 579 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_PWR_CTL, 0xFF, retval 582 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 583 drivers/staging/rts5208/rtsx_chip.c return retval; retval 585 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CARD_PWR_CTL, 0xFF, retval 587 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 588 drivers/staging/rts5208/rtsx_chip.c return retval; retval 637 drivers/staging/rts5208/rtsx_chip.c int retval; retval 641 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CLK_SEL, 0x03, 0x03); retval 642 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 643 drivers/staging/rts5208/rtsx_chip.c return retval; retval 644 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CLK_SEL, &val); retval 645 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 646 drivers/staging/rts5208/rtsx_chip.c return retval; retval 650 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_phy_register(chip, 0x1C, ®); retval 651 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 660 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, 0xFE80, &val); retval 661 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 662 drivers/staging/rts5208/rtsx_chip.c return retval; retval 667 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PDINFO, &val); retval 668 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 669 drivers/staging/rts5208/rtsx_chip.c return retval; retval 673 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, 0xFE50, &val); retval 674 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 675 drivers/staging/rts5208/rtsx_chip.c return retval; retval 685 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CHANGE_LINK_STATE, &val); retval 686 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 687 drivers/staging/rts5208/rtsx_chip.c return retval; retval 696 drivers/staging/rts5208/rtsx_chip.c int retval; retval 700 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CLK_SEL, 0x03, 0x03); retval 701 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 702 drivers/staging/rts5208/rtsx_chip.c return retval; retval 703 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CLK_SEL, &val); retval 704 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 705 drivers/staging/rts5208/rtsx_chip.c return retval; retval 711 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PDINFO, &val); retval 712 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 713 drivers/staging/rts5208/rtsx_chip.c return retval; retval 717 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CARD_SHARE_MODE, &val); retval 718 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 719 drivers/staging/rts5208/rtsx_chip.c return retval; retval 723 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, 0xFE5A, &val); retval 724 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 725 drivers/staging/rts5208/rtsx_chip.c return retval; retval 728 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_cfg_dw(chip, 0, 0x718, &lval); retval 729 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 740 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CHANGE_LINK_STATE, &val); retval 741 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 742 drivers/staging/rts5208/rtsx_chip.c return retval; retval 759 drivers/staging/rts5208/rtsx_chip.c int retval; retval 817 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, FPDCTL, SSC_POWER_DOWN, 0); retval 818 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 819 drivers/staging/rts5208/rtsx_chip.c return retval; retval 821 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CLK_DIV, 0x07, 0x07); retval 822 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 823 drivers/staging/rts5208/rtsx_chip.c return retval; retval 828 drivers/staging/rts5208/rtsx_chip.c retval = rts5208_init(chip); retval 829 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 833 drivers/staging/rts5208/rtsx_chip.c retval = rts5288_init(chip); retval 834 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 881 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_reset_chip(chip); retval 882 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 1351 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1357 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CFGDATA0 + i, retval 1360 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1361 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1369 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CFGADDR0, 0xFF, (u8)addr); retval 1370 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1371 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1372 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CFGADDR1, 0xFF, retval 1374 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1375 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1377 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CFGRWCTL, 0xFF, retval 1380 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1381 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1384 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CFGRWCTL, &tmp); retval 1385 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1386 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1397 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1402 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CFGADDR0, 0xFF, (u8)addr); retval 1403 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1404 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1405 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CFGADDR1, 0xFF, (u8)(addr >> 8)); retval 1406 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1407 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1408 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, CFGRWCTL, 0xFF, retval 1410 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1411 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1414 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CFGRWCTL, &tmp); retval 1415 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1416 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1422 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CFGDATA0 + i, &tmp); retval 1423 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1424 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1441 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1479 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_cfg_dw(chip, func, aligned_addr + i * 4, retval 1481 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) { retval 1501 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1515 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_cfg_dw(chip, func, aligned_addr + i * 4, retval 1517 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) { retval 1542 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1547 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PHYDATA0, 0xFF, (u8)val); retval 1548 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1549 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1550 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PHYDATA1, 0xFF, (u8)(val >> 8)); retval 1551 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1552 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1553 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PHYADDR, 0xFF, addr); retval 1554 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1555 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1556 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PHYRWCTL, 0xFF, 0x81); retval 1557 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1558 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1561 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PHYRWCTL, &tmp); retval 1562 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1563 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1578 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1584 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PHYADDR, 0xFF, addr); retval 1585 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1586 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1587 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, PHYRWCTL, 0xFF, 0x80); retval 1588 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1589 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1592 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PHYRWCTL, &tmp); retval 1593 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1594 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1604 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PHYDATA0, &tmp); retval 1605 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1606 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1608 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PHYDATA1, &tmp); retval 1609 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1610 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1621 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1625 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, EFUSE_CTRL, 0xFF, 0x80 | addr); retval 1626 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1627 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1630 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, EFUSE_CTRL, &data); retval 1631 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1632 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1641 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, EFUSE_DATA, &data); retval 1642 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1643 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1652 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1663 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, EFUSE_DATA, 0xFF, tmp); retval 1664 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1665 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1666 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, EFUSE_CTRL, 0xFF, retval 1668 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1669 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1672 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, EFUSE_CTRL, &data); retval 1673 drivers/staging/rts5208/rtsx_chip.c if (retval) retval 1674 drivers/staging/rts5208/rtsx_chip.c return retval; retval 1691 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1694 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_phy_register(chip, reg, &value); retval 1695 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 1700 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_phy_register(chip, reg, value); retval 1701 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 1710 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1713 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_phy_register(chip, reg, &value); retval 1714 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 1719 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_phy_register(chip, reg, value); retval 1720 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 1912 drivers/staging/rts5208/rtsx_chip.c int retval; retval 1918 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1919 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 2017 drivers/staging/rts5208/rtsx_chip.c int retval; retval 2033 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_send_cmd(chip, 0, 250); retval 2034 drivers/staging/rts5208/rtsx_chip.c if (retval < 0) retval 2047 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_send_cmd(chip, 0, 250); retval 2048 drivers/staging/rts5208/rtsx_chip.c if (retval < 0) retval 2059 drivers/staging/rts5208/rtsx_chip.c int retval; retval 2078 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_send_cmd(chip, 0, 250); retval 2079 drivers/staging/rts5208/rtsx_chip.c if (retval < 0) retval 2092 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_send_cmd(chip, 0, 250); retval 2093 drivers/staging/rts5208/rtsx_chip.c if (retval < 0) retval 2110 drivers/staging/rts5208/rtsx_chip.c int retval; retval 2125 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, FPDCTL, mask, 0); retval 2126 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 2138 drivers/staging/rts5208/rtsx_chip.c int retval; retval 2154 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, FPDCTL, mask, val); retval 2155 drivers/staging/rts5208/rtsx_chip.c if (retval != STATUS_SUCCESS) retval 839 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 940 drivers/staging/rts5208/rtsx_scsi.c retval = card_rw(srb, chip, start_sec, sec_cnt); retval 941 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 955 drivers/staging/rts5208/rtsx_scsi.c retval = TRANSPORT_FAILED; retval 959 drivers/staging/rts5208/rtsx_scsi.c retval = TRANSPORT_GOOD; retval 965 drivers/staging/rts5208/rtsx_scsi.c return retval; retval 1089 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1106 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1107 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1115 drivers/staging/rts5208/rtsx_scsi.c retval = spi_read_eeprom(chip, i, buf + i); retval 1116 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1136 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1149 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1150 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1156 drivers/staging/rts5208/rtsx_scsi.c retval = spi_erase_eeprom_chip(chip); retval 1157 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1173 drivers/staging/rts5208/rtsx_scsi.c retval = spi_write_eeprom(chip, i, buf[i]); retval 1174 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1191 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1215 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1216 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1223 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_read_register(chip, addr + i, buf + i); retval 1224 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1244 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1272 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1273 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1280 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_register(chip, addr + i, 0xFF, buf[i]); retval 1281 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1425 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1438 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1439 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1499 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1519 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_transfer_data(chip, 0, scsi_sglist(srb), len, retval 1522 drivers/staging/rts5208/rtsx_scsi.c if (retval < 0) { retval 1671 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1684 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_register(chip, CDRESUMECTL, 0x77, 0); retval 1685 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 1690 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_read_phy_register(chip, 0x1C, ®); retval 1691 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 1695 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_phy_register(chip, 0x1C, reg); retval 1696 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 1700 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_register(chip, CDRESUMECTL, 0x77, 0x77); retval 1701 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 1706 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_read_phy_register(chip, 0x1C, ®); retval 1707 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 1711 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_phy_register(chip, 0x1C, reg); retval 1712 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 1721 drivers/staging/rts5208/rtsx_scsi.c int retval = STATUS_SUCCESS; retval 1753 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_send_cmd(chip, 0, 1000); retval 1773 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1797 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1820 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1821 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1829 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_read_phy_register(chip, addr + i, &val); retval 1830 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1856 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1885 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1886 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1895 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_phy_register(chip, addr + i, val); retval 1896 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1913 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1924 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1925 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1934 drivers/staging/rts5208/rtsx_scsi.c retval = spi_erase_eeprom_chip(chip); retval 1935 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1941 drivers/staging/rts5208/rtsx_scsi.c retval = spi_erase_eeprom_byte(chip, addr); retval 1942 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1959 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 1977 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 1978 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 1986 drivers/staging/rts5208/rtsx_scsi.c retval = spi_read_eeprom(chip, addr + i, buf + i); retval 1987 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2007 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 2029 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 2030 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2037 drivers/staging/rts5208/rtsx_scsi.c retval = spi_write_eeprom(chip, addr + i, buf[i]); retval 2038 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2053 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 2072 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 2073 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2081 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_read_efuse(chip, addr + i, buf + i); retval 2082 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2101 drivers/staging/rts5208/rtsx_scsi.c int retval, result = TRANSPORT_GOOD; retval 2125 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_force_power_on(chip, SSC_PDCTL); retval 2126 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2132 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_read_phy_register(chip, 0x08, &val); retval 2133 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2138 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_register(chip, PWR_GATE_CTRL, retval 2140 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2147 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_phy_register(chip, 0x08, retval 2149 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2154 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_register(chip, PWR_GATE_CTRL, retval 2156 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2164 drivers/staging/rts5208/rtsx_scsi.c retval = card_power_on(chip, SPI_CARD); retval 2165 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2173 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_efuse(chip, addr + i, buf[i]); retval 2174 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2185 drivers/staging/rts5208/rtsx_scsi.c retval = card_power_off(chip, SPI_CARD); retval 2186 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 2190 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_register(chip, PWR_GATE_CTRL, retval 2192 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 2197 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_phy_register(chip, 0x08, val); retval 2198 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 2201 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_register(chip, PWR_GATE_CTRL, retval 2203 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 2212 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 2248 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_read_cfg_seq(chip, func, addr, buf, len); retval 2249 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2267 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 2307 drivers/staging/rts5208/rtsx_scsi.c retval = rtsx_write_cfg_seq(chip, func, addr, buf, len); retval 2308 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2712 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 2760 drivers/staging/rts5208/rtsx_scsi.c retval = mspro_format(srb, chip, MS_SHORT_DATA_LEN, quick_format); retval 2761 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) { retval 2871 drivers/staging/rts5208/rtsx_scsi.c int retval = TRANSPORT_ERROR; retval 2874 drivers/staging/rts5208/rtsx_scsi.c retval = ms_format_cmnd(srb, chip); retval 2877 drivers/staging/rts5208/rtsx_scsi.c retval = get_ms_information(srb, chip); retval 2880 drivers/staging/rts5208/rtsx_scsi.c return retval; retval 2947 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 2987 drivers/staging/rts5208/rtsx_scsi.c retval = mg_get_local_EKB(srb, chip); retval 2988 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 3002 drivers/staging/rts5208/rtsx_scsi.c retval = mg_get_rsp_chg(srb, chip); retval 3003 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 3022 drivers/staging/rts5208/rtsx_scsi.c retval = mg_get_ICV(srb, chip); retval 3023 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 3046 drivers/staging/rts5208/rtsx_scsi.c int retval; retval 3090 drivers/staging/rts5208/rtsx_scsi.c retval = mg_set_leaf_id(srb, chip); retval 3091 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 3105 drivers/staging/rts5208/rtsx_scsi.c retval = mg_chg(srb, chip); retval 3106 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 3120 drivers/staging/rts5208/rtsx_scsi.c retval = mg_rsp(srb, chip); retval 3121 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 3140 drivers/staging/rts5208/rtsx_scsi.c retval = mg_set_ICV(srb, chip); retval 3141 drivers/staging/rts5208/rtsx_scsi.c if (retval != STATUS_SUCCESS) retval 97 drivers/staging/rts5208/sd.c int retval; retval 100 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, REG_SD_STAT1, &stat); retval 101 drivers/staging/rts5208/sd.c if (retval) retval 102 drivers/staging/rts5208/sd.c return retval; retval 116 drivers/staging/rts5208/sd.c int retval; retval 165 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, timeout); retval 166 drivers/staging/rts5208/sd.c if (retval < 0) { retval 175 drivers/staging/rts5208/sd.c if (retval == -ETIMEDOUT) { retval 177 drivers/staging/rts5208/sd.c retval = sd_check_data0_status(chip); retval 178 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 180 drivers/staging/rts5208/sd.c return retval; retval 185 drivers/staging/rts5208/sd.c retval = STATUS_TIMEDOUT; retval 187 drivers/staging/rts5208/sd.c retval = STATUS_FAIL; retval 191 drivers/staging/rts5208/sd.c return retval; retval 266 drivers/staging/rts5208/sd.c int retval; retval 308 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, timeout); retval 309 drivers/staging/rts5208/sd.c if (retval < 0) { retval 310 drivers/staging/rts5208/sd.c if (retval == -ETIMEDOUT) { retval 319 drivers/staging/rts5208/sd.c retval = rtsx_read_ppbuf(chip, buf, buf_len); retval 320 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 332 drivers/staging/rts5208/sd.c int retval; retval 346 drivers/staging/rts5208/sd.c retval = rtsx_write_ppbuf(chip, buf, buf_len); retval 347 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 380 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, timeout); retval 381 drivers/staging/rts5208/sd.c if (retval < 0) { retval 382 drivers/staging/rts5208/sd.c if (retval == -ETIMEDOUT) { retval 396 drivers/staging/rts5208/sd.c int retval; retval 407 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_CSD, sd_card->sd_addr, retval 409 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) retval 499 drivers/staging/rts5208/sd.c int retval; retval 528 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, 0x1C, val); retval 529 drivers/staging/rts5208/sd.c if (retval) retval 530 drivers/staging/rts5208/sd.c return retval; retval 579 drivers/staging/rts5208/sd.c int retval; retval 590 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, mask, val); retval 591 drivers/staging/rts5208/sd.c if (retval) retval 592 drivers/staging/rts5208/sd.c return retval; retval 600 drivers/staging/rts5208/sd.c int retval; retval 602 drivers/staging/rts5208/sd.c retval = sd_set_sample_push_timing(chip); retval 603 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 608 drivers/staging/rts5208/sd.c retval = switch_clock(chip, sd_card->sd_clock); retval 609 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 618 drivers/staging/rts5208/sd.c int retval; retval 632 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, cmd_idx, addr, cmd_type, NULL, 0); retval 633 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 643 drivers/staging/rts5208/sd.c int retval; retval 646 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_STATUS, sd_card->sd_addr, retval 648 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 670 drivers/staging/rts5208/sd.c int retval, i; retval 674 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_STATUS, retval 677 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 690 drivers/staging/rts5208/sd.c int retval; retval 694 drivers/staging/rts5208/sd.c retval = rtsx_write_phy_register(chip, 0x08, retval 697 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 700 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_PAD_CTL, retval 702 drivers/staging/rts5208/sd.c if (retval) retval 703 drivers/staging/rts5208/sd.c return retval; retval 707 drivers/staging/rts5208/sd.c retval = rtsx_write_phy_register(chip, 0x08, retval 710 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 713 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_PAD_CTL, retval 716 drivers/staging/rts5208/sd.c if (retval) retval 717 drivers/staging/rts5208/sd.c return retval; retval 728 drivers/staging/rts5208/sd.c int retval; retval 731 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_BUS_STAT, retval 734 drivers/staging/rts5208/sd.c if (retval) retval 735 drivers/staging/rts5208/sd.c return retval; retval 737 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, VOLTAGE_SWITCH, 0, SD_RSP_TYPE_R1, retval 739 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 744 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, SD_BUS_STAT, &stat); retval 745 drivers/staging/rts5208/sd.c if (retval) retval 746 drivers/staging/rts5208/sd.c return retval; retval 752 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_BUS_STAT, 0xFF, retval 754 drivers/staging/rts5208/sd.c if (retval) retval 755 drivers/staging/rts5208/sd.c return retval; retval 756 drivers/staging/rts5208/sd.c retval = sd_change_bank_voltage(chip, SD_IO_1V8); retval 757 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 762 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_BUS_STAT, 0xFF, retval 764 drivers/staging/rts5208/sd.c if (retval) retval 765 drivers/staging/rts5208/sd.c return retval; retval 768 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, SD_BUS_STAT, &stat); retval 769 drivers/staging/rts5208/sd.c if (retval) retval 770 drivers/staging/rts5208/sd.c return retval; retval 782 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_BUS_STAT, retval 784 drivers/staging/rts5208/sd.c if (retval) retval 785 drivers/staging/rts5208/sd.c return retval; retval 792 drivers/staging/rts5208/sd.c int retval; retval 795 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, DCM_DRP_CTL, 0xFF, retval 797 drivers/staging/rts5208/sd.c if (retval) retval 798 drivers/staging/rts5208/sd.c return retval; retval 799 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, DCM_DRP_CTL, 0xFF, DCM_RX); retval 800 drivers/staging/rts5208/sd.c if (retval) retval 801 drivers/staging/rts5208/sd.c return retval; retval 803 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, DCM_DRP_CTL, 0xFF, retval 805 drivers/staging/rts5208/sd.c if (retval) retval 806 drivers/staging/rts5208/sd.c return retval; retval 807 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, DCM_DRP_CTL, 0xFF, DCM_TX); retval 808 drivers/staging/rts5208/sd.c if (retval) retval 809 drivers/staging/rts5208/sd.c return retval; retval 820 drivers/staging/rts5208/sd.c int retval; retval 837 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CLK_CTL, CHANGE_CLK, retval 839 drivers/staging/rts5208/sd.c if (retval) retval 840 drivers/staging/rts5208/sd.c return retval; retval 841 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_VP_CTL, 0x1F, retval 843 drivers/staging/rts5208/sd.c if (retval) retval 844 drivers/staging/rts5208/sd.c return retval; retval 845 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_VPCLK0_CTL, retval 847 drivers/staging/rts5208/sd.c if (retval) retval 848 drivers/staging/rts5208/sd.c return retval; retval 849 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_VPCLK0_CTL, retval 851 drivers/staging/rts5208/sd.c if (retval) retval 852 drivers/staging/rts5208/sd.c return retval; retval 853 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CLK_CTL, CHANGE_CLK, 0); retval 854 drivers/staging/rts5208/sd.c if (retval) retval 855 drivers/staging/rts5208/sd.c return retval; retval 863 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_VP_CTL, retval 866 drivers/staging/rts5208/sd.c if (retval) retval 867 drivers/staging/rts5208/sd.c return retval; retval 869 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_VP_CTL, 0xFF, retval 873 drivers/staging/rts5208/sd.c if (retval) retval 874 drivers/staging/rts5208/sd.c return retval; retval 876 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CLK_CTL, retval 878 drivers/staging/rts5208/sd.c if (retval) retval 879 drivers/staging/rts5208/sd.c return retval; retval 881 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_VP_CTL, 0xFF, retval 884 drivers/staging/rts5208/sd.c if (retval) retval 885 drivers/staging/rts5208/sd.c return retval; retval 894 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, 100); retval 895 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 905 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_DCMPS_CTL, retval 907 drivers/staging/rts5208/sd.c if (retval) retval 908 drivers/staging/rts5208/sd.c return retval; retval 910 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_VP_CTL, retval 912 drivers/staging/rts5208/sd.c if (retval) retval 913 drivers/staging/rts5208/sd.c return retval; retval 915 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CLK_CTL, retval 917 drivers/staging/rts5208/sd.c if (retval) retval 918 drivers/staging/rts5208/sd.c return retval; retval 924 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_CFG1, SD_ASYNC_FIFO_NOT_RST, 0); retval 925 drivers/staging/rts5208/sd.c if (retval) retval 926 drivers/staging/rts5208/sd.c return retval; retval 946 drivers/staging/rts5208/sd.c int retval; retval 949 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, APP_CMD, sd_card->sd_addr, retval 951 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 960 drivers/staging/rts5208/sd.c retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 8, 1, bus_width, retval 962 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1092 drivers/staging/rts5208/sd.c int retval; retval 1120 drivers/staging/rts5208/sd.c retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 64, 1, bus_width, retval 1122 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1154 drivers/staging/rts5208/sd.c retval = sd_query_switch_result(chip, func_group, retval 1156 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1160 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, OCPPARA2, retval 1163 drivers/staging/rts5208/sd.c if (retval) retval 1164 drivers/staging/rts5208/sd.c return retval; retval 1165 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PWR_CTL, retval 1168 drivers/staging/rts5208/sd.c if (retval) retval 1169 drivers/staging/rts5208/sd.c return retval; retval 1193 drivers/staging/rts5208/sd.c int retval; retval 1203 drivers/staging/rts5208/sd.c retval = sd_check_switch_mode(chip, SD_CHECK_MODE, func_group, retval 1205 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) { retval 1208 drivers/staging/rts5208/sd.c retval = sd_check_switch_mode(chip, SD_SWITCH_MODE, retval 1212 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) { retval 1217 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, SD_STAT1, &stat); retval 1218 drivers/staging/rts5208/sd.c if (retval) retval 1219 drivers/staging/rts5208/sd.c return retval; retval 1241 drivers/staging/rts5208/sd.c int retval; retval 1246 drivers/staging/rts5208/sd.c retval = sd_check_switch_mode(chip, SD_CHECK_MODE, NO_ARGUMENT, retval 1248 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1303 drivers/staging/rts5208/sd.c retval = sd_check_switch(chip, SD_FUNC_GROUP_1, func_to_switch, retval 1305 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1329 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_PUSH_POINT_CTL, 0x06, retval 1331 drivers/staging/rts5208/sd.c if (retval) retval 1332 drivers/staging/rts5208/sd.c return retval; retval 1333 drivers/staging/rts5208/sd.c retval = sd_set_sample_push_timing(chip); retval 1334 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1386 drivers/staging/rts5208/sd.c retval = sd_check_switch(chip, SD_FUNC_GROUP_4, func_to_switch, retval 1388 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1393 drivers/staging/rts5208/sd.c retval); retval 1397 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_PUSH_POINT_CTL, 0x06, 0); retval 1398 drivers/staging/rts5208/sd.c if (retval) retval 1399 drivers/staging/rts5208/sd.c return retval; retval 1407 drivers/staging/rts5208/sd.c int retval = STATUS_TIMEDOUT; retval 1412 drivers/staging/rts5208/sd.c retval = rtsx_read_register(chip, SD_DATA_STATE, &val); retval 1413 drivers/staging/rts5208/sd.c if (retval) retval 1414 drivers/staging/rts5208/sd.c return retval; retval 1416 drivers/staging/rts5208/sd.c retval = STATUS_SUCCESS; retval 1423 drivers/staging/rts5208/sd.c return retval; retval 1428 drivers/staging/rts5208/sd.c int retval; retval 1431 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, sample_point, TUNE_RX); retval 1432 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1441 drivers/staging/rts5208/sd.c retval = sd_read_data(chip, SD_TM_AUTO_TUNING, cmd, 5, 0x40, 1, retval 1443 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1456 drivers/staging/rts5208/sd.c int retval; retval 1459 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, sample_point, TUNE_RX); retval 1460 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1465 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, APP_CMD, sd_card->sd_addr, retval 1467 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1476 drivers/staging/rts5208/sd.c retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 64, 1, retval 1478 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1491 drivers/staging/rts5208/sd.c int retval; retval 1501 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, sample_point, TUNE_RX); retval 1502 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1513 drivers/staging/rts5208/sd.c retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 0x200, 1, retval 1515 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1528 drivers/staging/rts5208/sd.c int retval; retval 1530 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, sample_point, TUNE_TX); retval 1531 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1534 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_CFG3, SD_RSP_80CLK_TIMEOUT_EN, retval 1536 drivers/staging/rts5208/sd.c if (retval) retval 1537 drivers/staging/rts5208/sd.c return retval; retval 1539 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_STATUS, sd_card->sd_addr, retval 1541 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1549 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_CFG3, SD_RSP_80CLK_TIMEOUT_EN, retval 1551 drivers/staging/rts5208/sd.c if (retval) retval 1552 drivers/staging/rts5208/sd.c return retval; retval 1560 drivers/staging/rts5208/sd.c int retval; retval 1563 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, sample_point, TUNE_TX); retval 1564 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1578 drivers/staging/rts5208/sd.c retval = sd_wait_state_data_ready(chip, 0x08, 1, 1000); retval 1579 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1582 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_CFG3, SD_RSP_80CLK_TIMEOUT_EN, retval 1584 drivers/staging/rts5208/sd.c if (retval) retval 1585 drivers/staging/rts5208/sd.c return retval; retval 1593 drivers/staging/rts5208/sd.c retval = sd_write_data(chip, SD_TM_AUTO_WRITE_2, cmd, 5, 16, 1, retval 1595 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 1601 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_CFG3, SD_RSP_80CLK_TIMEOUT_EN, retval 1603 drivers/staging/rts5208/sd.c if (retval) retval 1604 drivers/staging/rts5208/sd.c return retval; retval 1734 drivers/staging/rts5208/sd.c int retval; retval 1761 drivers/staging/rts5208/sd.c retval = tuning_cmd(chip, (u8)j); retval 1762 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) retval 1778 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, final_phase, TUNE_RX); retval 1779 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1788 drivers/staging/rts5208/sd.c int retval; retval 1793 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_CFG3, SD_RSP_80CLK_TIMEOUT_EN, retval 1795 drivers/staging/rts5208/sd.c if (retval) retval 1796 drivers/staging/rts5208/sd.c return retval; retval 1807 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, (u8)i, TUNE_TX); retval 1808 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1811 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_STATUS, retval 1814 drivers/staging/rts5208/sd.c if ((retval == STATUS_SUCCESS) || retval 1819 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_CFG3, SD_RSP_80CLK_TIMEOUT_EN, retval 1821 drivers/staging/rts5208/sd.c if (retval) retval 1822 drivers/staging/rts5208/sd.c return retval; retval 1831 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, final_phase, TUNE_TX); retval 1832 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1844 drivers/staging/rts5208/sd.c int retval; retval 1873 drivers/staging/rts5208/sd.c retval = tuning_cmd(chip, (u8)j); retval 1874 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) retval 1890 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, final_phase, TUNE_TX); retval 1891 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1899 drivers/staging/rts5208/sd.c int retval; retval 1901 drivers/staging/rts5208/sd.c retval = sd_tuning_tx(chip); retval 1902 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1905 drivers/staging/rts5208/sd.c retval = sd_tuning_rx(chip); retval 1906 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1914 drivers/staging/rts5208/sd.c int retval; retval 1917 drivers/staging/rts5208/sd.c retval = sd_ddr_pre_tuning_tx(chip); retval 1918 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1921 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, (u8)chip->sd_ddr_tx_phase, retval 1923 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1927 drivers/staging/rts5208/sd.c retval = sd_tuning_rx(chip); retval 1928 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1932 drivers/staging/rts5208/sd.c retval = sd_tuning_tx(chip); retval 1933 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1942 drivers/staging/rts5208/sd.c int retval; retval 1945 drivers/staging/rts5208/sd.c retval = sd_ddr_pre_tuning_tx(chip); retval 1946 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1949 drivers/staging/rts5208/sd.c retval = sd_change_phase(chip, (u8)chip->mmc_ddr_tx_phase, retval 1951 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1955 drivers/staging/rts5208/sd.c retval = sd_tuning_rx(chip); retval 1956 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1960 drivers/staging/rts5208/sd.c retval = sd_tuning_tx(chip); retval 1961 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1971 drivers/staging/rts5208/sd.c int retval; retval 1974 drivers/staging/rts5208/sd.c retval = select_card(chip, SD_CARD); retval 1975 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1978 drivers/staging/rts5208/sd.c retval = switch_clock(chip, sd_card->sd_clock); retval 1979 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 1985 drivers/staging/rts5208/sd.c retval = sd_ddr_tuning(chip); retval 1987 drivers/staging/rts5208/sd.c retval = sd_sdr_tuning(chip); retval 1990 drivers/staging/rts5208/sd.c retval = mmc_ddr_tuning(chip); retval 1993 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2003 drivers/staging/rts5208/sd.c int retval; retval 2023 drivers/staging/rts5208/sd.c retval = sd_set_init_para(chip); retval 2024 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2025 drivers/staging/rts5208/sd.c return retval; retval 2027 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, 0xFF, 0x40); retval 2028 drivers/staging/rts5208/sd.c if (retval) retval 2029 drivers/staging/rts5208/sd.c return retval; retval 2031 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_STOP, SD_STOP | SD_CLR_ERR, retval 2033 drivers/staging/rts5208/sd.c if (retval) retval 2034 drivers/staging/rts5208/sd.c return retval; retval 2036 drivers/staging/rts5208/sd.c retval = select_card(chip, SD_CARD); retval 2037 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2045 drivers/staging/rts5208/sd.c int retval; retval 2048 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL1, 0xFF, retval 2051 drivers/staging/rts5208/sd.c if (retval) retval 2052 drivers/staging/rts5208/sd.c return retval; retval 2053 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL2, 0xFF, retval 2056 drivers/staging/rts5208/sd.c if (retval) retval 2057 drivers/staging/rts5208/sd.c return retval; retval 2058 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL3, 0xFF, retval 2061 drivers/staging/rts5208/sd.c if (retval) retval 2062 drivers/staging/rts5208/sd.c return retval; retval 2063 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL4, 0xFF, retval 2066 drivers/staging/rts5208/sd.c if (retval) retval 2067 drivers/staging/rts5208/sd.c return retval; retval 2068 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL5, 0xFF, retval 2071 drivers/staging/rts5208/sd.c if (retval) retval 2072 drivers/staging/rts5208/sd.c return retval; retval 2073 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL6, 0xFF, retval 2075 drivers/staging/rts5208/sd.c if (retval) retval 2076 drivers/staging/rts5208/sd.c return retval; retval 2079 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL1, retval 2081 drivers/staging/rts5208/sd.c if (retval) retval 2082 drivers/staging/rts5208/sd.c return retval; retval 2083 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL2, retval 2085 drivers/staging/rts5208/sd.c if (retval) retval 2086 drivers/staging/rts5208/sd.c return retval; retval 2087 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL3, retval 2089 drivers/staging/rts5208/sd.c if (retval) retval 2090 drivers/staging/rts5208/sd.c return retval; retval 2091 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_PULL_CTL4, retval 2093 drivers/staging/rts5208/sd.c if (retval) retval 2094 drivers/staging/rts5208/sd.c return retval; retval 2103 drivers/staging/rts5208/sd.c int retval; retval 2133 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, 100); retval 2134 drivers/staging/rts5208/sd.c if (retval < 0) retval 2142 drivers/staging/rts5208/sd.c int retval; retval 2144 drivers/staging/rts5208/sd.c retval = sd_power_off_card3v3(chip); retval 2145 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2151 drivers/staging/rts5208/sd.c retval = enable_card_clock(chip, SD_CARD); retval 2152 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2156 drivers/staging/rts5208/sd.c retval = sd_pull_ctl_enable(chip); retval 2157 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2160 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, FPGA_PULL_CTL, retval 2162 drivers/staging/rts5208/sd.c if (retval) retval 2163 drivers/staging/rts5208/sd.c return retval; retval 2167 drivers/staging/rts5208/sd.c retval = card_power_on(chip, SD_CARD); retval 2168 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2182 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_OE, SD_OUTPUT_EN, retval 2184 drivers/staging/rts5208/sd.c if (retval) retval 2185 drivers/staging/rts5208/sd.c return retval; retval 2192 drivers/staging/rts5208/sd.c int retval; retval 2194 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG3, 0x01, 0x01); retval 2195 drivers/staging/rts5208/sd.c if (retval) retval 2196 drivers/staging/rts5208/sd.c return retval; retval 2198 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG3, 0x01, 0); retval 2199 drivers/staging/rts5208/sd.c if (retval) retval 2200 drivers/staging/rts5208/sd.c return retval; retval 2208 drivers/staging/rts5208/sd.c int retval; retval 2228 drivers/staging/rts5208/sd.c retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 512, 1, retval 2230 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2241 drivers/staging/rts5208/sd.c int retval; retval 2246 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, APP_CMD, sd_card->sd_addr, retval 2248 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2257 drivers/staging/rts5208/sd.c retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 64, 1, retval 2259 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2289 drivers/staging/rts5208/sd.c int retval, i = 0, j = 0, k = 0; retval 2312 drivers/staging/rts5208/sd.c retval = sd_prepare_reset(chip); retval 2313 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2316 drivers/staging/rts5208/sd.c retval = sd_dummy_clock(chip); retval 2317 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2329 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, IO_SEND_OP_COND, 0, retval 2331 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) { retval 2354 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, GO_IDLE_STATE, 0, SD_RSP_TYPE_R0, retval 2356 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2361 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_IF_COND, 0x000001AA, retval 2363 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) { retval 2373 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, GO_IDLE_STATE, 0, retval 2375 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2382 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, APP_CMD, 0, SD_RSP_TYPE_R1, retval 2384 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2397 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SD_APP_OP_COND, voltage, retval 2399 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2428 drivers/staging/rts5208/sd.c retval = sd_voltage_switch(chip); retval 2429 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2433 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, ALL_SEND_CID, 0, SD_RSP_TYPE_R2, retval 2435 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2439 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_RELATIVE_ADDR, 0, retval 2441 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2451 drivers/staging/rts5208/sd.c retval = sd_check_csd(chip, 1); retval 2452 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2455 drivers/staging/rts5208/sd.c retval = sd_select_card(chip, 1); retval 2456 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2461 drivers/staging/rts5208/sd.c retval = sd_update_lock_status(chip); retval 2462 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2473 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, APP_CMD, sd_card->sd_addr, retval 2475 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2478 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SET_CLR_CARD_DETECT, 0, retval 2480 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2484 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, APP_CMD, sd_card->sd_addr, retval 2486 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2489 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SET_BUS_WIDTH, 2, retval 2491 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2499 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SET_BLOCKLEN, 0x200, SD_RSP_TYPE_R1, retval 2501 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2504 drivers/staging/rts5208/sd.c retval = sd_set_clock_divider(chip, SD_CLK_DIVIDE_0); retval 2505 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2521 drivers/staging/rts5208/sd.c retval = sd_check_spec(chip, switch_bus_width); retval 2522 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) { retval 2523 drivers/staging/rts5208/sd.c retval = sd_switch_function(chip, switch_bus_width); retval 2524 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2543 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, APP_CMD, sd_card->sd_addr, retval 2545 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2548 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SET_BUS_WIDTH, 2, retval 2550 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2561 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD30_DRIVE_SEL, 0x07, retval 2563 drivers/staging/rts5208/sd.c if (retval) retval 2564 drivers/staging/rts5208/sd.c return retval; retval 2566 drivers/staging/rts5208/sd.c retval = sd_set_init_para(chip); retval 2567 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2571 drivers/staging/rts5208/sd.c retval = sd_ddr_tuning(chip); retval 2573 drivers/staging/rts5208/sd.c retval = sd_sdr_tuning(chip); retval 2575 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2576 drivers/staging/rts5208/sd.c retval = sd_init_power(chip); retval 2577 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2589 drivers/staging/rts5208/sd.c retval = sd_wait_state_data_ready(chip, 0x08, 1, 1000); retval 2590 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2595 drivers/staging/rts5208/sd.c retval = sd_read_lba0(chip); retval 2596 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2597 drivers/staging/rts5208/sd.c retval = sd_init_power(chip); retval 2598 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2608 drivers/staging/rts5208/sd.c retval = sd_check_wp_state(chip); retval 2609 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2616 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_BLOCK_CNT_H, 0xFF, retval 2618 drivers/staging/rts5208/sd.c if (retval) retval 2619 drivers/staging/rts5208/sd.c return retval; retval 2620 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_BLOCK_CNT_L, 0xFF, retval 2622 drivers/staging/rts5208/sd.c if (retval) retval 2623 drivers/staging/rts5208/sd.c return retval; retval 2636 drivers/staging/rts5208/sd.c int retval; retval 2641 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, BUSTEST_W, 0, SD_RSP_TYPE_R1, NULL, retval 2643 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2659 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG3, 0x02, 0x02); retval 2660 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2663 drivers/staging/rts5208/sd.c retval = sd_write_data(chip, SD_TM_AUTO_WRITE_3, NULL, 0, byte_cnt, 1, retval 2665 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2671 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG3, 0x02, 0); retval 2672 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2705 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, 100); retval 2706 drivers/staging/rts5208/sd.c if (retval < 0) { retval 2725 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SWITCH, arg, retval 2727 drivers/staging/rts5208/sd.c if ((retval == STATUS_SUCCESS) && retval 2742 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SWITCH, arg, retval 2744 drivers/staging/rts5208/sd.c if ((retval == STATUS_SUCCESS) && retval 2756 drivers/staging/rts5208/sd.c int retval; retval 2793 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, 1000); retval 2794 drivers/staging/rts5208/sd.c if (retval < 0) { retval 2795 drivers/staging/rts5208/sd.c if (retval == -ETIMEDOUT) { retval 2831 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SWITCH, 0x03B90100, retval 2833 drivers/staging/rts5208/sd.c if ((retval != STATUS_SUCCESS) || (rsp[4] & MMC_SWITCH_ERR)) retval 2838 drivers/staging/rts5208/sd.c retval = switch_clock(chip, sd_card->sd_clock); retval 2839 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2843 drivers/staging/rts5208/sd.c retval = mmc_test_switch_bus(chip, MMC_8BIT_BUS); retval 2844 drivers/staging/rts5208/sd.c if (retval == SWITCH_SUCCESS) { retval 2850 drivers/staging/rts5208/sd.c } else if (retval == SWITCH_FAIL) { retval 2851 drivers/staging/rts5208/sd.c retval = mmc_test_switch_bus(chip, MMC_4BIT_BUS); retval 2852 drivers/staging/rts5208/sd.c if (retval == SWITCH_SUCCESS) { retval 2858 drivers/staging/rts5208/sd.c } else if (retval == SWITCH_FAIL) { retval 2874 drivers/staging/rts5208/sd.c int retval, i = 0, j = 0, k = 0; retval 2886 drivers/staging/rts5208/sd.c retval = sd_prepare_reset(chip); retval 2887 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2888 drivers/staging/rts5208/sd.c return retval; retval 2893 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, GO_IDLE_STATE, 0, SD_RSP_TYPE_R0, retval 2895 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2904 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_OP_COND, retval 2907 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2940 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, ALL_SEND_CID, 0, SD_RSP_TYPE_R2, retval 2942 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2946 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SET_RELATIVE_ADDR, sd_card->sd_addr, retval 2948 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2951 drivers/staging/rts5208/sd.c retval = sd_check_csd(chip, 1); retval 2952 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2957 drivers/staging/rts5208/sd.c retval = sd_select_card(chip, 1); retval 2958 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2961 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SET_BLOCKLEN, 0x200, SD_RSP_TYPE_R1, retval 2963 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2968 drivers/staging/rts5208/sd.c retval = sd_update_lock_status(chip); retval 2969 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2973 drivers/staging/rts5208/sd.c retval = sd_set_clock_divider(chip, SD_CLK_DIVIDE_0); retval 2974 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2982 drivers/staging/rts5208/sd.c retval = mmc_switch_timing_bus(chip, switch_ddr); retval 2983 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 2984 drivers/staging/rts5208/sd.c retval = sd_init_power(chip); retval 2985 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 2996 drivers/staging/rts5208/sd.c retval = sd_set_init_para(chip); retval 2997 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3000 drivers/staging/rts5208/sd.c retval = mmc_ddr_tuning(chip); retval 3001 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3002 drivers/staging/rts5208/sd.c retval = sd_init_power(chip); retval 3003 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3010 drivers/staging/rts5208/sd.c retval = sd_wait_state_data_ready(chip, 0x08, 1, 1000); retval 3011 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) { retval 3012 drivers/staging/rts5208/sd.c retval = sd_read_lba0(chip); retval 3013 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3014 drivers/staging/rts5208/sd.c retval = sd_init_power(chip); retval 3015 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3027 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_BLOCK_CNT_H, 0xFF, retval 3029 drivers/staging/rts5208/sd.c if (retval) retval 3030 drivers/staging/rts5208/sd.c return retval; retval 3031 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_BLOCK_CNT_L, 0xFF, retval 3033 drivers/staging/rts5208/sd.c if (retval) retval 3034 drivers/staging/rts5208/sd.c return retval; retval 3048 drivers/staging/rts5208/sd.c int retval; retval 3055 drivers/staging/rts5208/sd.c retval = enable_card_clock(chip, SD_CARD); retval 3056 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3062 drivers/staging/rts5208/sd.c retval = sd_pull_ctl_enable(chip); retval 3063 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3066 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, FPGA_PULL_CTL, retval 3069 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3072 drivers/staging/rts5208/sd.c retval = card_share_mode(chip, SD_CARD); retval 3073 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3080 drivers/staging/rts5208/sd.c retval = sd_init_power(chip); retval 3081 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3085 drivers/staging/rts5208/sd.c retval = reset_mmc(chip); retval 3086 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3090 drivers/staging/rts5208/sd.c retval = reset_sd(chip); retval 3091 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3095 drivers/staging/rts5208/sd.c retval = reset_sd(chip); retval 3096 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3102 drivers/staging/rts5208/sd.c retval = reset_mmc(chip); retval 3103 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3108 drivers/staging/rts5208/sd.c retval = sd_set_clock_divider(chip, SD_CLK_DIVIDE_0); retval 3109 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3112 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_BYTE_CNT_L, 0xFF, 0); retval 3113 drivers/staging/rts5208/sd.c if (retval) retval 3114 drivers/staging/rts5208/sd.c return retval; retval 3115 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_BYTE_CNT_H, 0xFF, 2); retval 3116 drivers/staging/rts5208/sd.c if (retval) retval 3117 drivers/staging/rts5208/sd.c return retval; retval 3121 drivers/staging/rts5208/sd.c retval = sd_set_init_para(chip); retval 3122 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3133 drivers/staging/rts5208/sd.c int retval; retval 3148 drivers/staging/rts5208/sd.c retval = enable_card_clock(chip, SD_CARD); retval 3149 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3152 drivers/staging/rts5208/sd.c retval = sd_init_power(chip); retval 3153 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3156 drivers/staging/rts5208/sd.c retval = reset_mmc(chip); retval 3157 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3160 drivers/staging/rts5208/sd.c retval = sd_set_clock_divider(chip, SD_CLK_DIVIDE_0); retval 3161 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3164 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_BYTE_CNT_L, 0xFF, 0); retval 3165 drivers/staging/rts5208/sd.c if (retval) retval 3166 drivers/staging/rts5208/sd.c return retval; retval 3167 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_BYTE_CNT_H, 0xFF, 2); retval 3168 drivers/staging/rts5208/sd.c if (retval) retval 3169 drivers/staging/rts5208/sd.c return retval; retval 3173 drivers/staging/rts5208/sd.c retval = sd_set_init_para(chip); retval 3174 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3188 drivers/staging/rts5208/sd.c int i, retval; retval 3198 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SEND_STATUS, retval 3201 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3218 drivers/staging/rts5208/sd.c int retval; retval 3221 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 3222 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3225 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, STOP_TRANSMISSION, 0, retval 3227 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3230 drivers/staging/rts5208/sd.c retval = sd_wait_state_data_ready(chip, 0x08, 1, 1000); retval 3231 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3243 drivers/staging/rts5208/sd.c int retval; retval 3279 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 3280 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3292 drivers/staging/rts5208/sd.c int retval; retval 3309 drivers/staging/rts5208/sd.c retval = reset_sd_card(chip); retval 3310 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) { retval 3329 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 3330 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3348 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, STOP_TRANSMISSION, 0, retval 3350 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3358 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, RBCTL, RB_FLUSH, RB_FLUSH); retval 3359 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3446 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, 50); retval 3447 drivers/staging/rts5208/sd.c if (retval < 0) { retval 3455 drivers/staging/rts5208/sd.c retval = wait_data_buf_ready(chip); retval 3456 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3462 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, WRITE_MULTIPLE_BLOCK, retval 3465 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3492 drivers/staging/rts5208/sd.c retval = rtsx_transfer_data(chip, SD_CARD, scsi_sglist(srb), retval 3495 drivers/staging/rts5208/sd.c if (retval < 0) { retval 3501 drivers/staging/rts5208/sd.c if (retval == -ETIMEDOUT) retval 3517 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, STOP_TRANSMISSION, 0, retval 3519 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3563 drivers/staging/rts5208/sd.c retval = reset_sd_card(chip); retval 3564 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3579 drivers/staging/rts5208/sd.c int retval; retval 3626 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, timeout); retval 3627 drivers/staging/rts5208/sd.c if (retval < 0) { retval 3628 drivers/staging/rts5208/sd.c if (retval == -ETIMEDOUT) { retval 3632 drivers/staging/rts5208/sd.c retval = sd_check_data0_status(chip); retval 3633 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3634 drivers/staging/rts5208/sd.c return retval; retval 3701 drivers/staging/rts5208/sd.c int retval, rsp_len; retval 3724 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, 100); retval 3725 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3855 drivers/staging/rts5208/sd.c int retval, rsp_len; retval 3865 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 3866 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3885 drivers/staging/rts5208/sd.c retval = get_rsp_type(srb, &rsp_type, &rsp_len); retval 3886 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 3892 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 3893 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3899 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, 0x03, retval 3901 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3905 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, 0x03, retval 3907 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3912 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, 0x03, SD_BUS_WIDTH_4); retval 3913 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3918 drivers/staging/rts5208/sd.c retval = sd_select_card(chip, 0); retval 3919 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3924 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, APP_CMD, retval 3928 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3932 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, cmd_idx, arg, rsp_type, retval 3934 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3938 drivers/staging/rts5208/sd.c retval = sd_select_card(chip, 1); retval 3939 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3944 drivers/staging/rts5208/sd.c retval = sd_update_lock_status(chip); retval 3945 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 3967 drivers/staging/rts5208/sd.c int retval, rsp_len, i; retval 3984 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 3985 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4001 drivers/staging/rts5208/sd.c retval = get_rsp_type(srb, &rsp_type, &rsp_len); retval 4002 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4008 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 4009 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4029 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, SET_BLOCKLEN, data_len, retval 4032 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4037 drivers/staging/rts5208/sd.c retval = sd_select_card(chip, 0); retval 4038 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4043 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, APP_CMD, retval 4047 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4070 drivers/staging/rts5208/sd.c retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, byte_cnt, retval 4072 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4118 drivers/staging/rts5208/sd.c retval = rtsx_transfer_data(chip, SD_CARD, scsi_sglist(srb), retval 4122 drivers/staging/rts5208/sd.c if (retval < 0) { retval 4132 drivers/staging/rts5208/sd.c retval = ext_sd_get_rsp(chip, rsp_len, sd_card->rsp, rsp_type); retval 4133 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4137 drivers/staging/rts5208/sd.c retval = sd_select_card(chip, 1); retval 4138 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4143 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, STOP_TRANSMISSION, 0, retval 4146 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4151 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, SET_BLOCKLEN, 0x200, retval 4154 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4157 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_BYTE_CNT_H, 0xFF, 0x02); retval 4158 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4161 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_BYTE_CNT_L, 0xFF, 0x00); retval 4162 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4170 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, SEND_STATUS, retval 4174 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) retval 4177 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4201 drivers/staging/rts5208/sd.c int retval, rsp_len, i; retval 4223 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 4224 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4249 drivers/staging/rts5208/sd.c retval = get_rsp_type(srb, &rsp_type, &rsp_len); retval 4250 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4256 drivers/staging/rts5208/sd.c retval = sd_switch_clock(chip); retval 4257 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4263 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, 0x03, retval 4265 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4269 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, 0x03, retval 4271 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4276 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, REG_SD_CFG1, 0x03, SD_BUS_WIDTH_4); retval 4277 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4282 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, SET_BLOCKLEN, data_len, retval 4285 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4290 drivers/staging/rts5208/sd.c retval = sd_select_card(chip, 0); retval 4291 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4296 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, APP_CMD, retval 4300 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4304 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, cmd_idx, arg, rsp_type, retval 4306 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4330 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, 0, 250); retval 4331 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4341 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, 0, 250); retval 4342 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4352 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, 0, 250); retval 4353 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4379 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, 250); retval 4401 drivers/staging/rts5208/sd.c retval = rtsx_transfer_data(chip, SD_CARD, scsi_sglist(srb), retval 4410 drivers/staging/rts5208/sd.c if (retval < 0) { retval 4427 drivers/staging/rts5208/sd.c retval = rtsx_send_cmd(chip, SD_CARD, 250); retval 4428 drivers/staging/rts5208/sd.c if (retval < 0) { retval 4434 drivers/staging/rts5208/sd.c retval = sd_update_lock_status(chip); retval 4435 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4443 drivers/staging/rts5208/sd.c retval = sd_select_card(chip, 1); retval 4444 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4449 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, STOP_TRANSMISSION, 0, retval 4452 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4457 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, SET_BLOCKLEN, 0x200, retval 4460 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4463 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_BYTE_CNT_H, 0xFF, 0x02); retval 4464 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4467 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, SD_BYTE_CNT_L, 0xFF, 0x00); retval 4468 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4476 drivers/staging/rts5208/sd.c retval = ext_sd_send_cmd_get_rsp(chip, SEND_STATUS, retval 4480 drivers/staging/rts5208/sd.c if (retval == STATUS_SUCCESS) retval 4483 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4507 drivers/staging/rts5208/sd.c retval = reset_sd(chip); retval 4508 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4586 drivers/staging/rts5208/sd.c int retval; retval 4613 drivers/staging/rts5208/sd.c retval = reset_sd_card(chip); retval 4614 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4628 drivers/staging/rts5208/sd.c retval = reset_sd(chip); retval 4629 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) { retval 4659 drivers/staging/rts5208/sd.c int retval; retval 4661 drivers/staging/rts5208/sd.c retval = disable_card_clock(chip, SD_CARD); retval 4662 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4665 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, CARD_OE, SD_OUTPUT_EN, 0); retval 4666 drivers/staging/rts5208/sd.c if (retval) retval 4667 drivers/staging/rts5208/sd.c return retval; retval 4670 drivers/staging/rts5208/sd.c retval = card_power_off(chip, SD_CARD); retval 4671 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4678 drivers/staging/rts5208/sd.c retval = sd_pull_ctl_disable(chip); retval 4679 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 4682 drivers/staging/rts5208/sd.c retval = rtsx_write_register(chip, FPGA_PULL_CTL, retval 4685 drivers/staging/rts5208/sd.c if (retval) retval 4686 drivers/staging/rts5208/sd.c return retval; retval 4695 drivers/staging/rts5208/sd.c int retval; retval 4712 drivers/staging/rts5208/sd.c retval = sd_power_off_card3v3(chip); retval 4713 drivers/staging/rts5208/sd.c if (retval != STATUS_SUCCESS) retval 28 drivers/staging/rts5208/spi.c int retval; retval 30 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, SPI_CONTROL, 0xFF, retval 33 drivers/staging/rts5208/spi.c if (retval) retval 34 drivers/staging/rts5208/spi.c return retval; retval 35 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, SPI_TCTL, EDO_TIMING_MASK, retval 37 drivers/staging/rts5208/spi.c if (retval) retval 38 drivers/staging/rts5208/spi.c return retval; retval 46 drivers/staging/rts5208/spi.c int retval; retval 48 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, SPI_CLK_DIVIDER1, 0xFF, retval 50 drivers/staging/rts5208/spi.c if (retval) retval 51 drivers/staging/rts5208/spi.c return retval; retval 52 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, SPI_CLK_DIVIDER0, 0xFF, retval 54 drivers/staging/rts5208/spi.c if (retval) retval 55 drivers/staging/rts5208/spi.c return retval; retval 57 drivers/staging/rts5208/spi.c retval = switch_clock(chip, spi->spi_clock); retval 58 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 61 drivers/staging/rts5208/spi.c retval = select_card(chip, SPI_CARD); retval 62 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 65 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, CARD_CLK_EN, SPI_CLK_EN, retval 67 drivers/staging/rts5208/spi.c if (retval) retval 68 drivers/staging/rts5208/spi.c return retval; retval 69 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, CARD_OE, SPI_OUTPUT_EN, retval 71 drivers/staging/rts5208/spi.c if (retval) retval 72 drivers/staging/rts5208/spi.c return retval; retval 76 drivers/staging/rts5208/spi.c retval = spi_init(chip); retval 77 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 85 drivers/staging/rts5208/spi.c int retval; retval 95 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, msec); retval 96 drivers/staging/rts5208/spi.c if (retval < 0) { retval 108 drivers/staging/rts5208/spi.c int retval; retval 123 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 124 drivers/staging/rts5208/spi.c if (retval < 0) { retval 136 drivers/staging/rts5208/spi.c int retval; retval 151 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 152 drivers/staging/rts5208/spi.c if (retval < 0) { retval 187 drivers/staging/rts5208/spi.c int retval; retval 209 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 210 drivers/staging/rts5208/spi.c if (retval < 0) { retval 221 drivers/staging/rts5208/spi.c int retval; retval 229 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, SPI_CLK_DIVIDER1, 0xFF, 0x00); retval 230 drivers/staging/rts5208/spi.c if (retval) retval 231 drivers/staging/rts5208/spi.c return retval; retval 232 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, SPI_CLK_DIVIDER0, 0xFF, 0x27); retval 233 drivers/staging/rts5208/spi.c if (retval) retval 234 drivers/staging/rts5208/spi.c return retval; retval 236 drivers/staging/rts5208/spi.c retval = switch_clock(chip, clk); retval 237 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 240 drivers/staging/rts5208/spi.c retval = select_card(chip, SPI_CARD); retval 241 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 244 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, CARD_CLK_EN, SPI_CLK_EN, retval 246 drivers/staging/rts5208/spi.c if (retval) retval 247 drivers/staging/rts5208/spi.c return retval; retval 248 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, CARD_OE, SPI_OUTPUT_EN, retval 250 drivers/staging/rts5208/spi.c if (retval) retval 251 drivers/staging/rts5208/spi.c return retval; retval 255 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, SPI_CONTROL, 0xFF, retval 257 drivers/staging/rts5208/spi.c if (retval) retval 258 drivers/staging/rts5208/spi.c return retval; retval 259 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, SPI_TCTL, EDO_TIMING_MASK, retval 261 drivers/staging/rts5208/spi.c if (retval) retval 262 drivers/staging/rts5208/spi.c return retval; retval 269 drivers/staging/rts5208/spi.c int retval; retval 280 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 281 drivers/staging/rts5208/spi.c if (retval < 0) retval 289 drivers/staging/rts5208/spi.c int retval; retval 291 drivers/staging/rts5208/spi.c retval = spi_init_eeprom(chip); retval 292 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 295 drivers/staging/rts5208/spi.c retval = spi_eeprom_program_enable(chip); retval 296 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 310 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 311 drivers/staging/rts5208/spi.c if (retval < 0) retval 314 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, CARD_GPIO_DIR, 0x01, 0x01); retval 315 drivers/staging/rts5208/spi.c if (retval) retval 316 drivers/staging/rts5208/spi.c return retval; retval 323 drivers/staging/rts5208/spi.c int retval; retval 325 drivers/staging/rts5208/spi.c retval = spi_init_eeprom(chip); retval 326 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 329 drivers/staging/rts5208/spi.c retval = spi_eeprom_program_enable(chip); retval 330 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 346 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 347 drivers/staging/rts5208/spi.c if (retval < 0) retval 350 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, CARD_GPIO_DIR, 0x01, 0x01); retval 351 drivers/staging/rts5208/spi.c if (retval) retval 352 drivers/staging/rts5208/spi.c return retval; retval 359 drivers/staging/rts5208/spi.c int retval; retval 362 drivers/staging/rts5208/spi.c retval = spi_init_eeprom(chip); retval 363 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 380 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 381 drivers/staging/rts5208/spi.c if (retval < 0) retval 385 drivers/staging/rts5208/spi.c retval = rtsx_read_register(chip, SPI_DATA, &data); retval 386 drivers/staging/rts5208/spi.c if (retval) retval 387 drivers/staging/rts5208/spi.c return retval; retval 392 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, CARD_GPIO_DIR, 0x01, 0x01); retval 393 drivers/staging/rts5208/spi.c if (retval) retval 394 drivers/staging/rts5208/spi.c return retval; retval 401 drivers/staging/rts5208/spi.c int retval; retval 403 drivers/staging/rts5208/spi.c retval = spi_init_eeprom(chip); retval 404 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 407 drivers/staging/rts5208/spi.c retval = spi_eeprom_program_enable(chip); retval 408 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 425 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 426 drivers/staging/rts5208/spi.c if (retval < 0) retval 429 drivers/staging/rts5208/spi.c retval = rtsx_write_register(chip, CARD_GPIO_DIR, 0x01, 0x01); retval 430 drivers/staging/rts5208/spi.c if (retval) retval 431 drivers/staging/rts5208/spi.c return retval; retval 473 drivers/staging/rts5208/spi.c int retval; retval 485 drivers/staging/rts5208/spi.c retval = spi_set_init_para(chip); retval 486 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 526 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 527 drivers/staging/rts5208/spi.c if (retval < 0) { retval 538 drivers/staging/rts5208/spi.c retval = rtsx_read_ppbuf(chip, buf, len); retval 539 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 556 drivers/staging/rts5208/spi.c int retval; retval 571 drivers/staging/rts5208/spi.c retval = spi_set_init_para(chip); retval 572 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 625 drivers/staging/rts5208/spi.c retval = rtsx_transfer_data(chip, 0, buf, pagelen, 0, retval 627 drivers/staging/rts5208/spi.c if (retval < 0) { retval 649 drivers/staging/rts5208/spi.c int retval; retval 664 drivers/staging/rts5208/spi.c retval = spi_set_init_para(chip); retval 665 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 676 drivers/staging/rts5208/spi.c retval = sf_enable_write(chip, SPI_WREN); retval 677 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 693 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 694 drivers/staging/rts5208/spi.c if (retval < 0) { retval 701 drivers/staging/rts5208/spi.c retval = sf_polling_status(chip, 100); retval 702 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 716 drivers/staging/rts5208/spi.c retval = sf_enable_write(chip, SPI_WREN); retval 717 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 741 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 742 drivers/staging/rts5208/spi.c if (retval < 0) { retval 749 drivers/staging/rts5208/spi.c retval = sf_polling_status(chip, 100); retval 750 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 760 drivers/staging/rts5208/spi.c retval = sf_disable_write(chip, SPI_WRDI); retval 761 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 764 drivers/staging/rts5208/spi.c retval = sf_polling_status(chip, 100); retval 765 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 778 drivers/staging/rts5208/spi.c retval = sf_enable_write(chip, SPI_WREN); retval 779 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 794 drivers/staging/rts5208/spi.c retval = rtsx_transfer_data(chip, 0, buf, pagelen, 0, retval 796 drivers/staging/rts5208/spi.c if (retval < 0) { retval 803 drivers/staging/rts5208/spi.c retval = sf_polling_status(chip, 100); retval 804 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 824 drivers/staging/rts5208/spi.c int retval; retval 835 drivers/staging/rts5208/spi.c retval = spi_set_init_para(chip); retval 836 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 842 drivers/staging/rts5208/spi.c retval = sf_enable_write(chip, SPI_WREN); retval 843 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 846 drivers/staging/rts5208/spi.c retval = sf_erase(chip, ins, 1, addr); retval 847 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 850 drivers/staging/rts5208/spi.c retval = sf_enable_write(chip, SPI_WREN); retval 851 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 854 drivers/staging/rts5208/spi.c retval = sf_erase(chip, ins, 0, 0); retval 855 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 867 drivers/staging/rts5208/spi.c int retval; retval 874 drivers/staging/rts5208/spi.c retval = spi_set_init_para(chip); retval 875 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 880 drivers/staging/rts5208/spi.c retval = sf_enable_write(chip, ewsr); retval 881 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) retval 900 drivers/staging/rts5208/spi.c retval = rtsx_send_cmd(chip, 0, 100); retval 901 drivers/staging/rts5208/spi.c if (retval != STATUS_SUCCESS) { retval 44 drivers/staging/rts5208/xd.c int retval; retval 51 drivers/staging/rts5208/xd.c retval = switch_clock(chip, xd_card->xd_clock); retval 52 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 61 drivers/staging/rts5208/xd.c int retval; retval 63 drivers/staging/rts5208/xd.c retval = select_card(chip, XD_CARD); retval 64 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 67 drivers/staging/rts5208/xd.c retval = switch_clock(chip, xd_card->xd_clock); retval 68 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 76 drivers/staging/rts5208/xd.c int retval, i; retval 90 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 20); retval 91 drivers/staging/rts5208/xd.c if (retval < 0) retval 141 drivers/staging/rts5208/xd.c int retval, i; retval 160 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 500); retval 161 drivers/staging/rts5208/xd.c if (retval < 0) retval 178 drivers/staging/rts5208/xd.c int retval, i; retval 189 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, 0, 250); retval 190 drivers/staging/rts5208/xd.c if (retval < 0) { retval 203 drivers/staging/rts5208/xd.c int retval; retval 224 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 250); retval 225 drivers/staging/rts5208/xd.c if (retval == -ETIMEDOUT) { retval 230 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_PAGE_STATUS, ®); retval 231 drivers/staging/rts5208/xd.c if (retval) retval 232 drivers/staging/rts5208/xd.c return retval; retval 238 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_CTL, ®); retval 239 drivers/staging/rts5208/xd.c if (retval) retval 240 drivers/staging/rts5208/xd.c return retval; retval 242 drivers/staging/rts5208/xd.c retval = xd_read_data_from_ppb(chip, 0, buf, buf_len); retval 243 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 248 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_ECC_BIT1, retval 250 drivers/staging/rts5208/xd.c if (retval) retval 251 drivers/staging/rts5208/xd.c return retval; retval 252 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_ECC_BYTE1, retval 254 drivers/staging/rts5208/xd.c if (retval) retval 255 drivers/staging/rts5208/xd.c return retval; retval 270 drivers/staging/rts5208/xd.c retval = xd_read_data_from_ppb(chip, 256, buf, buf_len); retval 271 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 276 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_ECC_BIT2, retval 278 drivers/staging/rts5208/xd.c if (retval) retval 279 drivers/staging/rts5208/xd.c return retval; retval 280 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_ECC_BYTE2, retval 282 drivers/staging/rts5208/xd.c if (retval) retval 283 drivers/staging/rts5208/xd.c return retval; retval 373 drivers/staging/rts5208/xd.c int retval; retval 376 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL1, 0xFF, retval 381 drivers/staging/rts5208/xd.c if (retval) retval 382 drivers/staging/rts5208/xd.c return retval; retval 383 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL2, 0xFF, retval 388 drivers/staging/rts5208/xd.c if (retval) retval 389 drivers/staging/rts5208/xd.c return retval; retval 390 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL3, 0xFF, retval 395 drivers/staging/rts5208/xd.c if (retval) retval 396 drivers/staging/rts5208/xd.c return retval; retval 397 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL4, 0xFF, retval 402 drivers/staging/rts5208/xd.c if (retval) retval 403 drivers/staging/rts5208/xd.c return retval; retval 404 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL5, 0xFF, retval 409 drivers/staging/rts5208/xd.c if (retval) retval 410 drivers/staging/rts5208/xd.c return retval; retval 411 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL6, 0xFF, retval 413 drivers/staging/rts5208/xd.c if (retval) retval 414 drivers/staging/rts5208/xd.c return retval; retval 417 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL1, retval 419 drivers/staging/rts5208/xd.c if (retval) retval 420 drivers/staging/rts5208/xd.c return retval; retval 421 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL2, retval 423 drivers/staging/rts5208/xd.c if (retval) retval 424 drivers/staging/rts5208/xd.c return retval; retval 425 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL3, retval 427 drivers/staging/rts5208/xd.c if (retval) retval 428 drivers/staging/rts5208/xd.c return retval; retval 429 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_PULL_CTL4, retval 431 drivers/staging/rts5208/xd.c if (retval) retval 432 drivers/staging/rts5208/xd.c return retval; retval 442 drivers/staging/rts5208/xd.c int retval, i, j; retval 445 drivers/staging/rts5208/xd.c retval = select_card(chip, XD_CARD); retval 446 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 470 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 100); retval 471 drivers/staging/rts5208/xd.c if (retval < 0) retval 475 drivers/staging/rts5208/xd.c retval = card_power_off(chip, XD_CARD); retval 476 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 492 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 100); retval 493 drivers/staging/rts5208/xd.c if (retval < 0) retval 496 drivers/staging/rts5208/xd.c retval = card_power_on(chip, XD_CARD); retval 497 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 526 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 100); retval 527 drivers/staging/rts5208/xd.c if (retval < 0) retval 533 drivers/staging/rts5208/xd.c retval = xd_set_init_para(chip); retval 534 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 557 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 100); retval 558 drivers/staging/rts5208/xd.c if (retval < 0) retval 570 drivers/staging/rts5208/xd.c retval = xd_read_id(chip, READ_ID, id_buf, 4); retval 571 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 651 drivers/staging/rts5208/xd.c retval = xd_read_id(chip, READ_ID, id_buf, 4); retval 652 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 672 drivers/staging/rts5208/xd.c retval = xd_read_id(chip, READ_xD_ID, id_buf, 4); retval 673 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 690 drivers/staging/rts5208/xd.c retval = xd_read_redundant(chip, page_addr, redunt, 11); retval 691 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 703 drivers/staging/rts5208/xd.c retval = xd_read_redundant(chip, page_addr + j, retval 705 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) { retval 722 drivers/staging/rts5208/xd.c retval = xd_read_cis(chip, page_addr, buf, 10); retval 723 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 918 drivers/staging/rts5208/xd.c int retval; retval 926 drivers/staging/rts5208/xd.c retval = xd_delay_write(chip); retval 927 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 946 drivers/staging/rts5208/xd.c retval = xd_init_page(chip, phy_blk, log_off, retval 948 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 966 drivers/staging/rts5208/xd.c int retval; retval 978 drivers/staging/rts5208/xd.c retval = enable_card_clock(chip, XD_CARD); retval 979 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 982 drivers/staging/rts5208/xd.c retval = reset_xd(chip); retval 983 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 986 drivers/staging/rts5208/xd.c retval = xd_init_l2p_tbl(chip); retval 987 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 996 drivers/staging/rts5208/xd.c int retval; retval 1030 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 500); retval 1031 drivers/staging/rts5208/xd.c if (retval < 0) { retval 1048 drivers/staging/rts5208/xd.c int retval; retval 1082 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 500); retval 1083 drivers/staging/rts5208/xd.c if (retval < 0) { retval 1104 drivers/staging/rts5208/xd.c int retval; retval 1120 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_DATA_SOURCE, 0x01, retval 1122 drivers/staging/rts5208/xd.c if (retval) retval 1123 drivers/staging/rts5208/xd.c return retval; retval 1144 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 500); retval 1145 drivers/staging/rts5208/xd.c if (retval < 0) { retval 1192 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 300); retval 1193 drivers/staging/rts5208/xd.c if (retval < 0) { retval 1216 drivers/staging/rts5208/xd.c int retval; retval 1228 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 100); retval 1229 drivers/staging/rts5208/xd.c if (retval < 0) retval 1244 drivers/staging/rts5208/xd.c int i, retval; retval 1262 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 250); retval 1263 drivers/staging/rts5208/xd.c if (retval < 0) { retval 1272 drivers/staging/rts5208/xd.c retval = xd_reset_cmd(chip); retval 1273 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1297 drivers/staging/rts5208/xd.c int retval; retval 1306 drivers/staging/rts5208/xd.c retval = xd_init_l2p_tbl(chip); retval 1307 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1308 drivers/staging/rts5208/xd.c return retval; retval 1362 drivers/staging/rts5208/xd.c retval = xd_read_redundant(chip, page_addr, redunt, 11); retval 1363 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1380 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, i); retval 1381 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1400 drivers/staging/rts5208/xd.c retval = xd_read_redundant(chip, page_addr, redunt, 11); retval 1401 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1412 drivers/staging/rts5208/xd.c retval = xd_read_redundant(chip, page_addr, retval 1414 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1421 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, phy_block); retval 1422 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1431 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, phy_block); retval 1432 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1436 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, i); retval 1437 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1441 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, i); retval 1442 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1481 drivers/staging/rts5208/xd.c int retval; retval 1491 drivers/staging/rts5208/xd.c retval = rtsx_send_cmd(chip, XD_CARD, 200); retval 1492 drivers/staging/rts5208/xd.c if (retval < 0) retval 1507 drivers/staging/rts5208/xd.c int zone_no, retval, i; retval 1520 drivers/staging/rts5208/xd.c retval = xd_read_redundant(chip, page_addr, NULL, 0); retval 1521 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1553 drivers/staging/rts5208/xd.c retval = rtsx_transfer_data_partial(chip, XD_CARD, buf, page_cnt * 512, retval 1557 drivers/staging/rts5208/xd.c if (retval < 0) { retval 1560 drivers/staging/rts5208/xd.c if (retval == -ETIMEDOUT) { retval 1571 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_PAGE_STATUS, ®_val); retval 1572 drivers/staging/rts5208/xd.c if (retval) retval 1573 drivers/staging/rts5208/xd.c return retval; retval 1578 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_CTL, ®_val); retval 1579 drivers/staging/rts5208/xd.c if (retval) retval 1580 drivers/staging/rts5208/xd.c return retval; retval 1601 drivers/staging/rts5208/xd.c retval = xd_copy_page(chip, phy_blk, new_blk, 0, retval 1603 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1605 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, new_blk); retval 1606 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1628 drivers/staging/rts5208/xd.c int retval, zone_no; retval 1643 drivers/staging/rts5208/xd.c retval = xd_init_page(chip, new_blk, log_off, retval 1645 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1646 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, new_blk); retval 1647 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1652 drivers/staging/rts5208/xd.c retval = xd_copy_page(chip, old_blk, new_blk, retval 1654 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1656 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, new_blk); retval 1657 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) retval 1664 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, old_blk); retval 1665 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) { retval 1686 drivers/staging/rts5208/xd.c int retval; retval 1692 drivers/staging/rts5208/xd.c retval = xd_copy_page(chip, old_blk, new_blk, 0, page_off); retval 1693 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1707 drivers/staging/rts5208/xd.c int zone_no, retval; retval 1723 drivers/staging/rts5208/xd.c retval = xd_send_cmd(chip, READ1_1); retval 1724 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1752 drivers/staging/rts5208/xd.c retval = rtsx_transfer_data_partial(chip, XD_CARD, buf, page_cnt * 512, retval 1755 drivers/staging/rts5208/xd.c if (retval < 0) { retval 1758 drivers/staging/rts5208/xd.c if (retval == -ETIMEDOUT) { retval 1770 drivers/staging/rts5208/xd.c retval = xd_erase_block(chip, old_blk); retval 1771 drivers/staging/rts5208/xd.c if (retval == STATUS_SUCCESS) { retval 1789 drivers/staging/rts5208/xd.c retval = rtsx_read_register(chip, XD_DAT, ®_val); retval 1790 drivers/staging/rts5208/xd.c if (retval) retval 1791 drivers/staging/rts5208/xd.c return retval; retval 1806 drivers/staging/rts5208/xd.c int retval; retval 1810 drivers/staging/rts5208/xd.c retval = xd_switch_clock(chip); retval 1811 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1815 drivers/staging/rts5208/xd.c retval = xd_finish_write(chip, retval 1820 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1836 drivers/staging/rts5208/xd.c int retval, zone_no; retval 1852 drivers/staging/rts5208/xd.c retval = xd_switch_clock(chip); retval 1853 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 1868 drivers/staging/rts5208/xd.c retval = xd_build_l2p_tbl(chip, zone_no); retval 1869 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1883 drivers/staging/rts5208/xd.c retval = xd_copy_page(chip, retval 1888 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1903 drivers/staging/rts5208/xd.c retval = xd_delay_write(chip); retval 1904 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1919 drivers/staging/rts5208/xd.c retval = xd_prepare_write(chip, old_blk, new_blk, retval 1921 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1937 drivers/staging/rts5208/xd.c retval = xd_delay_write(chip); retval 1938 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1974 drivers/staging/rts5208/xd.c retval = xd_read_multiple_pages(chip, old_blk, log_blk, retval 1977 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 1983 drivers/staging/rts5208/xd.c retval = xd_write_multiple_pages(chip, old_blk, retval 1987 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 2006 drivers/staging/rts5208/xd.c retval = xd_build_l2p_tbl(chip, zone_no); retval 2007 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 2054 drivers/staging/rts5208/xd.c retval = xd_finish_write(chip, old_blk, new_blk, retval 2056 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) { retval 2105 drivers/staging/rts5208/xd.c int retval; retval 2107 drivers/staging/rts5208/xd.c retval = disable_card_clock(chip, XD_CARD); retval 2108 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 2111 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, CARD_OE, XD_OUTPUT_EN, 0); retval 2112 drivers/staging/rts5208/xd.c if (retval) retval 2113 drivers/staging/rts5208/xd.c return retval; retval 2116 drivers/staging/rts5208/xd.c retval = card_power_off(chip, XD_CARD); retval 2117 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 2124 drivers/staging/rts5208/xd.c retval = xd_pull_ctl_disable(chip); retval 2125 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 2128 drivers/staging/rts5208/xd.c retval = rtsx_write_register(chip, FPGA_PULL_CTL, 0xFF, 0xDF); retval 2129 drivers/staging/rts5208/xd.c if (retval) retval 2130 drivers/staging/rts5208/xd.c return retval; retval 2139 drivers/staging/rts5208/xd.c int retval; retval 2149 drivers/staging/rts5208/xd.c retval = xd_power_off_card3v3(chip); retval 2150 drivers/staging/rts5208/xd.c if (retval != STATUS_SUCCESS) retval 120 drivers/staging/speakup/kobjects.c ssize_t retval = count; retval 180 drivers/staging/speakup/kobjects.c retval = -ENOMEM; retval 223 drivers/staging/speakup/kobjects.c return retval; retval 759 drivers/staging/speakup/kobjects.c ssize_t retval = count; retval 821 drivers/staging/speakup/kobjects.c retval = msg_stored; retval 836 drivers/staging/speakup/kobjects.c return retval; retval 842 drivers/staging/speakup/kobjects.c ssize_t retval = 0; retval 850 drivers/staging/speakup/kobjects.c retval = message_show_helper(buf, group->start, group->end); retval 852 drivers/staging/speakup/kobjects.c return retval; retval 1006 drivers/staging/speakup/kobjects.c int retval; retval 1019 drivers/staging/speakup/kobjects.c retval = -ENOMEM; retval 1025 drivers/staging/speakup/kobjects.c retval = -ENOMEM; retval 1030 drivers/staging/speakup/kobjects.c retval = sysfs_create_group(speakup_kobj, &main_attr_group); retval 1031 drivers/staging/speakup/kobjects.c if (retval) retval 1034 drivers/staging/speakup/kobjects.c retval = sysfs_create_group(speakup_kobj, &i18n_attr_group); retval 1035 drivers/staging/speakup/kobjects.c if (retval) retval 1047 drivers/staging/speakup/kobjects.c return retval; retval 179 drivers/staging/vme/devices/vme_user.c ssize_t retval; retval 202 drivers/staging/vme/devices/vme_user.c retval = resource_to_user(minor, buf, count, ppos); retval 205 drivers/staging/vme/devices/vme_user.c retval = buffer_to_user(minor, buf, count, ppos); retval 208 drivers/staging/vme/devices/vme_user.c retval = -EINVAL; retval 212 drivers/staging/vme/devices/vme_user.c if (retval > 0) retval 213 drivers/staging/vme/devices/vme_user.c *ppos += retval; retval 215 drivers/staging/vme/devices/vme_user.c return retval; retval 222 drivers/staging/vme/devices/vme_user.c ssize_t retval; retval 244 drivers/staging/vme/devices/vme_user.c retval = resource_from_user(minor, buf, count, ppos); retval 247 drivers/staging/vme/devices/vme_user.c retval = buffer_from_user(minor, buf, count, ppos); retval 250 drivers/staging/vme/devices/vme_user.c retval = -EINVAL; retval 255 drivers/staging/vme/devices/vme_user.c if (retval > 0) retval 256 drivers/staging/vme/devices/vme_user.c *ppos += retval; retval 258 drivers/staging/vme/devices/vme_user.c return retval; retval 298 drivers/staging/vme/devices/vme_user.c int retval; retval 326 drivers/staging/vme/devices/vme_user.c retval = vme_master_get(image[minor].resource, retval 339 drivers/staging/vme/devices/vme_user.c return retval; retval 372 drivers/staging/vme/devices/vme_user.c retval = vme_slave_get(image[minor].resource, retval 384 drivers/staging/vme/devices/vme_user.c return retval; retval 733 drivers/staging/vme/devices/vme_user.c int retval = 0; retval 739 drivers/staging/vme/devices/vme_user.c retval = -ENODEV; retval 758 drivers/staging/vme/devices/vme_user.c retval = vme_register_driver(&vme_user_driver, VME_MAX_SLOTS); retval 759 drivers/staging/vme/devices/vme_user.c if (retval) retval 762 drivers/staging/vme/devices/vme_user.c return retval; retval 766 drivers/staging/vme/devices/vme_user.c return retval; retval 710 drivers/thermal/intel/intel_powerclamp.c int retval; retval 719 drivers/thermal/intel/intel_powerclamp.c retval = powerclamp_probe(); retval 720 drivers/thermal/intel/intel_powerclamp.c if (retval) retval 725 drivers/thermal/intel/intel_powerclamp.c retval = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, retval 729 drivers/thermal/intel/intel_powerclamp.c if (retval < 0) retval 732 drivers/thermal/intel/intel_powerclamp.c hp_state = retval; retval 736 drivers/thermal/intel/intel_powerclamp.c retval = -ENOMEM; retval 743 drivers/thermal/intel/intel_powerclamp.c retval = -ENODEV; retval 760 drivers/thermal/intel/intel_powerclamp.c return retval; retval 1098 drivers/thermal/rockchip_thermal.c int retval; retval 1100 drivers/thermal/rockchip_thermal.c retval = tsadc->get_temp(&tsadc->table, retval 1103 drivers/thermal/rockchip_thermal.c sensor->id, *out_temp, retval); retval 1105 drivers/thermal/rockchip_thermal.c return retval; retval 520 drivers/tty/amiserial.c int retval=0; retval 548 drivers/tty/amiserial.c retval = request_irq(IRQ_AMIGA_VERTB, ser_vbl_int, 0, "serial status", info); retval 549 drivers/tty/amiserial.c if (retval) { retval 552 drivers/tty/amiserial.c retval = 0; retval 584 drivers/tty/amiserial.c return retval; retval 1021 drivers/tty/amiserial.c int retval = 0; retval 1074 drivers/tty/amiserial.c retval = startup(tty, state); retval 1076 drivers/tty/amiserial.c return retval; retval 1464 drivers/tty/amiserial.c int retval; retval 1475 drivers/tty/amiserial.c retval = startup(tty, info); retval 1476 drivers/tty/amiserial.c if (retval) { retval 1477 drivers/tty/amiserial.c return retval; retval 1202 drivers/tty/cyclades.c int retval; retval 1207 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_INTBACK2, 0L); retval 1208 drivers/tty/cyclades.c if (retval != 0) { retval 1210 drivers/tty/cyclades.c info->line, retval); retval 1265 drivers/tty/cyclades.c int retval = 0; retval 1343 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_IOCTL, 0L); retval 1344 drivers/tty/cyclades.c if (retval != 0) { retval 1346 drivers/tty/cyclades.c "%x\n", info->line, retval); retval 1350 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_FLUSH_RX, 0L); retval 1351 drivers/tty/cyclades.c if (retval != 0) { retval 1353 drivers/tty/cyclades.c "%x\n", info->line, retval); retval 1383 drivers/tty/cyclades.c return retval; retval 1399 drivers/tty/cyclades.c int retval; retval 1402 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_INTBACK, 0L); retval 1403 drivers/tty/cyclades.c if (retval != 0) { retval 1405 drivers/tty/cyclades.c "%x\n", info->line, retval); retval 1496 drivers/tty/cyclades.c int retval; retval 1544 drivers/tty/cyclades.c retval = cyz_issue_cmd(cinfo, 0, retval 1546 drivers/tty/cyclades.c if (retval != 0) { retval 1548 drivers/tty/cyclades.c "was %x\n", retval); retval 1578 drivers/tty/cyclades.c retval = cy_startup(info, tty); retval 1579 drivers/tty/cyclades.c if (retval) retval 1580 drivers/tty/cyclades.c return retval; retval 1582 drivers/tty/cyclades.c retval = tty_port_block_til_ready(&info->port, tty, filp); retval 1583 drivers/tty/cyclades.c if (retval) { retval 1586 drivers/tty/cyclades.c "with %d\n", retval); retval 1588 drivers/tty/cyclades.c return retval; retval 1663 drivers/tty/cyclades.c int channel, retval; retval 1683 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_FLUSH_TX, 0L); retval 1684 drivers/tty/cyclades.c if (retval != 0) { retval 1686 drivers/tty/cyclades.c "was %x\n", info->line, retval); retval 1722 drivers/tty/cyclades.c int retval; retval 1725 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_IOCTLW, 0L); retval 1726 drivers/tty/cyclades.c if (retval != 0) { retval 1728 drivers/tty/cyclades.c "ttyC%d was %x\n", info->line, retval); retval 2142 drivers/tty/cyclades.c int retval; retval 2227 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_IOCTL, 0L); retval 2228 drivers/tty/cyclades.c if (retval != 0) { retval 2230 drivers/tty/cyclades.c "was %x\n", info->line, retval); retval 2250 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_IOCTLM, 0L); retval 2251 drivers/tty/cyclades.c if (retval != 0) { retval 2253 drivers/tty/cyclades.c "was %x\n", info->line, retval); retval 2440 drivers/tty/cyclades.c int retval, channel = info->line - card->first_line; retval 2466 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, channel, C_CM_IOCTLM, 0L); retval 2468 drivers/tty/cyclades.c if (retval != 0) { retval 2470 drivers/tty/cyclades.c "was %x\n", info->line, retval); retval 2484 drivers/tty/cyclades.c int retval = 0; retval 2517 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, retval 2520 drivers/tty/cyclades.c if (retval != 0) { retval 2522 drivers/tty/cyclades.c "ttyC%d was %x\n", info->line, retval); retval 2525 drivers/tty/cyclades.c retval = cyz_issue_cmd(card, retval 2528 drivers/tty/cyclades.c if (retval != 0) { retval 2531 drivers/tty/cyclades.c retval); retval 2536 drivers/tty/cyclades.c return retval; retval 3484 drivers/tty/cyclades.c int retval; retval 3486 drivers/tty/cyclades.c retval = request_firmware(&fw, "cyzfirm.bin", &pdev->dev); retval 3487 drivers/tty/cyclades.c if (retval) { retval 3502 drivers/tty/cyclades.c retval = 0; retval 3525 drivers/tty/cyclades.c retval = __cyz_load_fw(fw, "Cyclom-Z", mailbox, NULL, retval 3527 drivers/tty/cyclades.c if (retval) retval 3554 drivers/tty/cyclades.c retval = __cyz_load_fw(fw, "Cyclom-Z", mailbox, base_addr, NULL); retval 3556 drivers/tty/cyclades.c if (retval) retval 3571 drivers/tty/cyclades.c retval = -EIO; retval 3591 drivers/tty/cyclades.c retval = -EIO; retval 3617 drivers/tty/cyclades.c retval = 0; retval 3637 drivers/tty/cyclades.c return retval; retval 3649 drivers/tty/cyclades.c int retval, irq; retval 3651 drivers/tty/cyclades.c retval = pci_enable_device(pdev); retval 3652 drivers/tty/cyclades.c if (retval) { retval 3665 drivers/tty/cyclades.c retval = -EIO; retval 3672 drivers/tty/cyclades.c retval = -EIO; retval 3682 drivers/tty/cyclades.c retval = pci_request_regions(pdev, "cyclades"); retval 3683 drivers/tty/cyclades.c if (retval) { retval 3688 drivers/tty/cyclades.c retval = -EIO; retval 3764 drivers/tty/cyclades.c retval = cyz_load_fw(pdev, addr2, addr0, irq); retval 3765 drivers/tty/cyclades.c if (retval <= 0) retval 3767 drivers/tty/cyclades.c nchan = retval; retval 3792 drivers/tty/cyclades.c retval = request_irq(irq, cyy_interrupt, retval 3794 drivers/tty/cyclades.c if (retval) { retval 3811 drivers/tty/cyclades.c retval = request_irq(irq, cyz_interrupt, retval 3813 drivers/tty/cyclades.c if (retval) { retval 3828 drivers/tty/cyclades.c retval = cy_init_card(card); retval 3829 drivers/tty/cyclades.c if (retval) retval 3876 drivers/tty/cyclades.c return retval; retval 4017 drivers/tty/cyclades.c int retval = -ENOMEM; retval 4039 drivers/tty/cyclades.c retval = tty_register_driver(cy_serial_driver); retval 4040 drivers/tty/cyclades.c if (retval) { retval 4057 drivers/tty/cyclades.c retval = pci_register_driver(&cy_pci_driver); retval 4058 drivers/tty/cyclades.c if (retval && !nboards) { retval 4068 drivers/tty/cyclades.c return retval; retval 343 drivers/tty/hvc/hvcs.c int retval; retval 346 drivers/tty/hvc/hvcs.c retval = sprintf(buf, "%X\n", hvcsd->p_unit_address); retval 348 drivers/tty/hvc/hvcs.c return retval; retval 357 drivers/tty/hvc/hvcs.c int retval; retval 360 drivers/tty/hvc/hvcs.c retval = sprintf(buf, "%s\n", &hvcsd->p_location_code[0]); retval 362 drivers/tty/hvc/hvcs.c return retval; retval 382 drivers/tty/hvc/hvcs.c int retval; retval 385 drivers/tty/hvc/hvcs.c retval = sprintf(buf, "%s\n", &hvcsd->p_location_code[0]); retval 387 drivers/tty/hvc/hvcs.c return retval; retval 436 drivers/tty/hvc/hvcs.c int retval; retval 439 drivers/tty/hvc/hvcs.c retval = sprintf(buf, "%d\n", hvcsd->connected); retval 441 drivers/tty/hvc/hvcs.c return retval; retval 451 drivers/tty/hvc/hvcs.c int retval; retval 454 drivers/tty/hvc/hvcs.c retval = sprintf(buf, "%d\n", hvcsd->index); retval 456 drivers/tty/hvc/hvcs.c return retval; retval 751 drivers/tty/hvc/hvcs.c int retval; retval 808 drivers/tty/hvc/hvcs.c retval = sysfs_create_group(&dev->dev.kobj, &hvcs_attr_group); retval 809 drivers/tty/hvc/hvcs.c if (retval) { retval 812 drivers/tty/hvc/hvcs.c return retval; retval 896 drivers/tty/hvc/hvcs.c int retval; retval 903 drivers/tty/hvc/hvcs.c retval = hvcs_get_partner_info(unit_address, &head, hvcs_pi_buff); retval 905 drivers/tty/hvc/hvcs.c if (retval) { retval 908 drivers/tty/hvc/hvcs.c return retval; retval 964 drivers/tty/hvc/hvcs.c int retval; retval 974 drivers/tty/hvc/hvcs.c retval = hvcs_register_connection(unit_address, retval 977 drivers/tty/hvc/hvcs.c if (!retval) { retval 980 drivers/tty/hvc/hvcs.c } else if (retval != -EINVAL) retval 981 drivers/tty/hvc/hvcs.c return retval; retval 993 drivers/tty/hvc/hvcs.c retval = hvcs_register_connection(unit_address, retval 996 drivers/tty/hvc/hvcs.c if (retval != -EINVAL) { retval 998 drivers/tty/hvc/hvcs.c return retval; retval 1015 drivers/tty/hvc/hvcs.c int retval; retval 1017 drivers/tty/hvc/hvcs.c retval = hvcs_free_connection(hvcsd->vdev->unit_address); retval 1018 drivers/tty/hvc/hvcs.c } while (retval == -EBUSY); retval 1092 drivers/tty/hvc/hvcs.c int retval; retval 1108 drivers/tty/hvc/hvcs.c retval = hvcs_partner_connect(hvcsd); retval 1109 drivers/tty/hvc/hvcs.c if (retval) { retval 1137 drivers/tty/hvc/hvcs.c retval = hvcs_enable_device(hvcsd, unit_address, irq, vdev); retval 1138 drivers/tty/hvc/hvcs.c if (retval) { retval 1143 drivers/tty/hvc/hvcs.c retval = tty_port_install(&hvcsd->port, driver, tty); retval 1144 drivers/tty/hvc/hvcs.c if (retval) retval 1156 drivers/tty/hvc/hvcs.c return retval; retval 1279 drivers/tty/isicom.c int retval = 0; retval 1299 drivers/tty/isicom.c retval = -EIO; retval 1310 drivers/tty/isicom.c retval = -EIO; retval 1331 drivers/tty/isicom.c return retval; retval 1342 drivers/tty/isicom.c int retval = -EIO; retval 1373 drivers/tty/isicom.c retval = request_firmware(&fw, name, &pdev->dev); retval 1374 drivers/tty/isicom.c if (retval) retval 1377 drivers/tty/isicom.c retval = -EIO; retval 1501 drivers/tty/isicom.c retval = 0; retval 1506 drivers/tty/isicom.c return retval; retval 1518 drivers/tty/isicom.c int retval = -EPERM; retval 1524 drivers/tty/isicom.c retval = pci_enable_device(pdev); retval 1525 drivers/tty/isicom.c if (retval) { retval 1540 drivers/tty/isicom.c retval = -ENODEV; retval 1551 drivers/tty/isicom.c retval = pci_request_region(pdev, 3, ISICOM_NAME); retval 1552 drivers/tty/isicom.c if (retval) { retval 1556 drivers/tty/isicom.c retval = -EBUSY; retval 1560 drivers/tty/isicom.c retval = request_irq(board->irq, isicom_interrupt, retval 1562 drivers/tty/isicom.c if (retval < 0) { retval 1568 drivers/tty/isicom.c retval = reset_card(pdev, index, &signature); retval 1569 drivers/tty/isicom.c if (retval < 0) retval 1572 drivers/tty/isicom.c retval = load_firmware(pdev, index, signature); retval 1573 drivers/tty/isicom.c if (retval < 0) retval 1598 drivers/tty/isicom.c return retval; retval 1620 drivers/tty/isicom.c int retval, idx, channel; retval 1641 drivers/tty/isicom.c retval = -ENOMEM; retval 1657 drivers/tty/isicom.c retval = tty_register_driver(isicom_normal); retval 1658 drivers/tty/isicom.c if (retval) { retval 1663 drivers/tty/isicom.c retval = pci_register_driver(&isicom_driver); retval 1664 drivers/tty/isicom.c if (retval < 0) { retval 1677 drivers/tty/isicom.c return retval; retval 648 drivers/tty/moxa.c int retval, i; retval 655 drivers/tty/moxa.c retval = moxa_real_load_code(brd, ptr, len); /* may change numPorts */ retval 656 drivers/tty/moxa.c if (retval) retval 657 drivers/tty/moxa.c return retval; retval 937 drivers/tty/moxa.c int retval; retval 939 drivers/tty/moxa.c retval = pci_enable_device(pdev); retval 940 drivers/tty/moxa.c if (retval) { retval 949 drivers/tty/moxa.c retval = -ENODEV; retval 958 drivers/tty/moxa.c retval = pci_request_region(pdev, 2, "moxa-base"); retval 959 drivers/tty/moxa.c if (retval) { retval 967 drivers/tty/moxa.c retval = -ENOMEM; retval 987 drivers/tty/moxa.c retval = moxa_init_board(board, &pdev->dev); retval 988 drivers/tty/moxa.c if (retval) retval 1003 drivers/tty/moxa.c return retval; retval 1026 drivers/tty/moxa.c int retval = 0; retval 1096 drivers/tty/moxa.c retval = pci_register_driver(&moxa_pci_driver); retval 1097 drivers/tty/moxa.c if (retval) { retval 1100 drivers/tty/moxa.c retval = 0; retval 1104 drivers/tty/moxa.c return retval; retval 1240 drivers/tty/mxser.c int retval = 0; retval 1304 drivers/tty/mxser.c retval = mxser_activate(port, tty); retval 1305 drivers/tty/mxser.c if (retval == 0) retval 1309 drivers/tty/mxser.c return retval; retval 2382 drivers/tty/mxser.c int retval; retval 2416 drivers/tty/mxser.c retval = request_irq(brd->irq, mxser_interrupt, IRQF_SHARED, "mxser", retval 2418 drivers/tty/mxser.c if (retval) { retval 2426 drivers/tty/mxser.c return retval; retval 2563 drivers/tty/mxser.c int retval = -EINVAL; retval 2581 drivers/tty/mxser.c retval = pci_enable_device(pdev); retval 2582 drivers/tty/mxser.c if (retval) { retval 2589 drivers/tty/mxser.c retval = pci_request_region(pdev, 2, "mxser(IO)"); retval 2590 drivers/tty/mxser.c if (retval) retval 2599 drivers/tty/mxser.c retval = pci_request_region(pdev, 3, "mxser(vector)"); retval 2600 drivers/tty/mxser.c if (retval) retval 2642 drivers/tty/mxser.c retval = mxser_initbrd(brd); retval 2643 drivers/tty/mxser.c if (retval) retval 2650 drivers/tty/mxser.c retval = PTR_ERR(tty_dev); retval 2673 drivers/tty/mxser.c return retval; retval 2705 drivers/tty/mxser.c int retval; retval 2725 drivers/tty/mxser.c retval = tty_register_driver(mxvar_sdriver); retval 2726 drivers/tty/mxser.c if (retval) { retval 2738 drivers/tty/mxser.c retval = mxser_get_ISA_conf(ioaddr[b], brd); retval 2739 drivers/tty/mxser.c if (retval <= 0) { retval 2776 drivers/tty/mxser.c retval = pci_register_driver(&mxser_driver); retval 2777 drivers/tty/mxser.c if (retval) { retval 2780 drivers/tty/mxser.c retval = -ENODEV; retval 2790 drivers/tty/mxser.c return retval; retval 2784 drivers/tty/n_gsm.c int retval = 0; retval 2828 drivers/tty/n_gsm.c retval = register_netdev(net); retval 2829 drivers/tty/n_gsm.c if (retval) { retval 2830 drivers/tty/n_gsm.c pr_err("network register fail %d\n", retval); retval 2832 drivers/tty/n_gsm.c return retval; retval 63 drivers/tty/n_tracerouter.c int retval = -EEXIST; retval 70 drivers/tty/n_tracerouter.c retval = -EFAULT; retval 76 drivers/tty/n_tracerouter.c retval = 0; retval 80 drivers/tty/n_tracerouter.c return retval; retval 196 drivers/tty/n_tracerouter.c int retval; retval 204 drivers/tty/n_tracerouter.c retval = tty_register_ldisc(N_TRACEROUTER, &tty_ptirouter_ldisc); retval 205 drivers/tty/n_tracerouter.c if (retval < 0) { retval 206 drivers/tty/n_tracerouter.c pr_err("%s: Registration failed: %d\n", __func__, retval); retval 209 drivers/tty/n_tracerouter.c return retval; retval 219 drivers/tty/n_tracerouter.c int retval = tty_unregister_ldisc(N_TRACEROUTER); retval 221 drivers/tty/n_tracerouter.c if (retval < 0) retval 222 drivers/tty/n_tracerouter.c pr_err("%s: Unregistration failed: %d\n", __func__, retval); retval 66 drivers/tty/n_tracesink.c int retval = -EEXIST; retval 72 drivers/tty/n_tracesink.c retval = -EFAULT; retval 76 drivers/tty/n_tracesink.c retval = 0; retval 81 drivers/tty/n_tracesink.c return retval; retval 201 drivers/tty/n_tracesink.c int retval = tty_register_ldisc(N_TRACESINK, &tty_n_tracesink); retval 203 drivers/tty/n_tracesink.c if (retval < 0) retval 204 drivers/tty/n_tracesink.c pr_err("%s: Registration failed: %d\n", __func__, retval); retval 206 drivers/tty/n_tracesink.c return retval; retval 216 drivers/tty/n_tracesink.c int retval = tty_unregister_ldisc(N_TRACESINK); retval 218 drivers/tty/n_tracesink.c if (retval < 0) retval 219 drivers/tty/n_tracesink.c pr_err("%s: Unregistration failed: %d\n", __func__, retval); retval 509 drivers/tty/n_tty.c int space, retval; retval 514 drivers/tty/n_tty.c retval = do_output_char(c, tty, space); retval 517 drivers/tty/n_tty.c if (retval < 0) retval 739 drivers/tty/n_tty.c int retval = do_output_char(c, tty, space); retval 740 drivers/tty/n_tty.c if (retval < 0) retval 742 drivers/tty/n_tty.c space -= retval; retval 1968 drivers/tty/n_tty.c int retval; retval 1974 drivers/tty/n_tty.c retval = 0; retval 1979 drivers/tty/n_tty.c retval = copy_to_user(*b, from, n); retval 1980 drivers/tty/n_tty.c n -= retval; retval 1992 drivers/tty/n_tty.c return retval; retval 2140 drivers/tty/n_tty.c ssize_t retval = 0; retval 2189 drivers/tty/n_tty.c retval = -EFAULT; retval 2203 drivers/tty/n_tty.c retval = -EIO; retval 2217 drivers/tty/n_tty.c retval = -EAGAIN; retval 2221 drivers/tty/n_tty.c retval = -ERESTARTSYS; retval 2235 drivers/tty/n_tty.c retval = canon_copy_from_read_buf(tty, &b, &nr); retval 2236 drivers/tty/n_tty.c if (retval) retval 2244 drivers/tty/n_tty.c retval = -EFAULT; retval 2254 drivers/tty/n_tty.c retval = -EFAULT; retval 2274 drivers/tty/n_tty.c retval = b - buf; retval 2276 drivers/tty/n_tty.c return retval; retval 2307 drivers/tty/n_tty.c ssize_t retval = 0; retval 2311 drivers/tty/n_tty.c retval = tty_check_change(tty); retval 2312 drivers/tty/n_tty.c if (retval) retval 2313 drivers/tty/n_tty.c return retval; retval 2324 drivers/tty/n_tty.c retval = -ERESTARTSYS; retval 2328 drivers/tty/n_tty.c retval = -EIO; retval 2337 drivers/tty/n_tty.c retval = num; retval 2359 drivers/tty/n_tty.c retval = c; retval 2371 drivers/tty/n_tty.c retval = -EAGAIN; retval 2385 drivers/tty/n_tty.c return (b - buf) ? b - buf : retval; retval 2452 drivers/tty/n_tty.c int retval; retval 2460 drivers/tty/n_tty.c retval = inq_canon(ldata); retval 2462 drivers/tty/n_tty.c retval = read_cnt(ldata); retval 2464 drivers/tty/n_tty.c return put_user(retval, (unsigned int __user *) arg); retval 385 drivers/tty/pty.c int retval = -ENOMEM; retval 448 drivers/tty/pty.c return retval; retval 627 drivers/tty/pty.c int retval = -EINVAL; retval 635 drivers/tty/pty.c retval = fd; retval 642 drivers/tty/pty.c retval = PTR_ERR(path.mnt); retval 650 drivers/tty/pty.c retval = PTR_ERR(filp); retval 660 drivers/tty/pty.c return retval; retval 816 drivers/tty/pty.c int retval; retval 824 drivers/tty/pty.c retval = tty_alloc_file(filp); retval 825 drivers/tty/pty.c if (retval) retval 826 drivers/tty/pty.c return retval; retval 830 drivers/tty/pty.c retval = PTR_ERR(fsi); retval 839 drivers/tty/pty.c retval = index; retval 850 drivers/tty/pty.c retval = PTR_ERR(tty); retval 865 drivers/tty/pty.c retval = PTR_ERR(dentry); retval 870 drivers/tty/pty.c retval = ptm_driver->ops->open(tty, filp); retval 871 drivers/tty/pty.c if (retval) retval 882 drivers/tty/pty.c return retval; retval 889 drivers/tty/pty.c return retval; retval 875 drivers/tty/rocket.c int retval; retval 949 drivers/tty/rocket.c retval = tty_port_block_til_ready(port, tty, filp); retval 950 drivers/tty/rocket.c if (retval) { retval 952 drivers/tty/rocket.c printk(KERN_INFO "rp_open returning after block_til_ready with %d\n", retval); retval 954 drivers/tty/rocket.c return retval; retval 1558 drivers/tty/rocket.c int c, retval = 0; retval 1590 drivers/tty/rocket.c retval += c; retval 1624 drivers/tty/rocket.c retval += c; retval 1627 drivers/tty/rocket.c if ((retval > 0) && !tty->stopped) retval 1638 drivers/tty/rocket.c return retval; retval 2457 drivers/tty/rocket.c int retval; retval 2462 drivers/tty/rocket.c retval = tty_unregister_driver(rocket_driver); retval 2463 drivers/tty/rocket.c if (retval) retval 2465 drivers/tty/rocket.c "rocketport driver\n", -retval); retval 315 drivers/tty/serial/8250/8250_core.c int retval = 0; retval 337 drivers/tty/serial/8250/8250_core.c retval = serial_link_irq_chain(up); retval 339 drivers/tty/serial/8250/8250_core.c return retval; retval 592 drivers/tty/serial/8250/8250_core.c int retval; retval 605 drivers/tty/serial/8250/8250_core.c retval = serial8250_console_setup(port, options, false); retval 606 drivers/tty/serial/8250/8250_core.c if (retval != 0) retval 608 drivers/tty/serial/8250/8250_core.c return retval; retval 2060 drivers/tty/serial/8250/8250_port.c int retval; retval 2153 drivers/tty/serial/8250/8250_port.c retval = -ENODEV; retval 2238 drivers/tty/serial/8250/8250_port.c retval = up->ops->setup_irq(up); retval 2239 drivers/tty/serial/8250/8250_port.c if (retval) retval 2312 drivers/tty/serial/8250/8250_port.c retval = serial8250_request_dma(up); retval 2313 drivers/tty/serial/8250/8250_port.c if (retval) { retval 2336 drivers/tty/serial/8250/8250_port.c retval = 0; retval 2339 drivers/tty/serial/8250/8250_port.c return retval; retval 317 drivers/tty/serial/amba-pl010.c int retval; retval 322 drivers/tty/serial/amba-pl010.c retval = clk_prepare_enable(uap->clk); retval 323 drivers/tty/serial/amba-pl010.c if (retval) retval 331 drivers/tty/serial/amba-pl010.c retval = request_irq(uap->port.irq, pl010_int, 0, "uart-pl010", uap); retval 332 drivers/tty/serial/amba-pl010.c if (retval) retval 351 drivers/tty/serial/amba-pl010.c return retval; retval 1657 drivers/tty/serial/amba-pl011.c int retval; retval 1665 drivers/tty/serial/amba-pl011.c retval = clk_prepare_enable(uap->clk); retval 1666 drivers/tty/serial/amba-pl011.c if (retval) retval 1667 drivers/tty/serial/amba-pl011.c return retval; retval 1760 drivers/tty/serial/amba-pl011.c int retval; retval 1762 drivers/tty/serial/amba-pl011.c retval = pl011_hwinit(port); retval 1763 drivers/tty/serial/amba-pl011.c if (retval) retval 1766 drivers/tty/serial/amba-pl011.c retval = pl011_allocate_irq(uap); retval 1767 drivers/tty/serial/amba-pl011.c if (retval) retval 1795 drivers/tty/serial/amba-pl011.c return retval; retval 1802 drivers/tty/serial/amba-pl011.c int retval; retval 1804 drivers/tty/serial/amba-pl011.c retval = pl011_hwinit(port); retval 1805 drivers/tty/serial/amba-pl011.c if (retval) retval 1806 drivers/tty/serial/amba-pl011.c return retval; retval 1808 drivers/tty/serial/amba-pl011.c retval = pl011_allocate_irq(uap); retval 1809 drivers/tty/serial/amba-pl011.c if (retval) retval 1810 drivers/tty/serial/amba-pl011.c return retval; retval 205 drivers/tty/serial/apbuart.c int retval; retval 209 drivers/tty/serial/apbuart.c retval = request_irq(port->irq, apbuart_int, 0, "apbuart", port); retval 210 drivers/tty/serial/apbuart.c if (retval) retval 211 drivers/tty/serial/apbuart.c return retval; retval 1890 drivers/tty/serial/atmel_serial.c int retval; retval 1903 drivers/tty/serial/atmel_serial.c retval = request_irq(port->irq, atmel_interrupt, retval 1906 drivers/tty/serial/atmel_serial.c if (retval) { retval 1908 drivers/tty/serial/atmel_serial.c return retval; retval 1924 drivers/tty/serial/atmel_serial.c retval = atmel_port->prepare_rx(port); retval 1925 drivers/tty/serial/atmel_serial.c if (retval < 0) retval 1930 drivers/tty/serial/atmel_serial.c retval = atmel_port->prepare_tx(port); retval 1931 drivers/tty/serial/atmel_serial.c if (retval < 0) retval 393 drivers/tty/serial/cpm_uart/cpm_uart_core.c int retval; retval 422 drivers/tty/serial/cpm_uart/cpm_uart_core.c retval = request_irq(port->irq, cpm_uart_int, 0, "cpm_uart", port); retval 423 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (retval) retval 424 drivers/tty/serial/cpm_uart/cpm_uart_core.c return retval; retval 1056 drivers/tty/serial/icom.c int retval; retval 1059 drivers/tty/serial/icom.c retval = startup(ICOM_PORT); retval 1061 drivers/tty/serial/icom.c if (retval) { retval 1064 drivers/tty/serial/icom.c return retval; retval 1480 drivers/tty/serial/icom.c int retval; retval 1484 drivers/tty/serial/icom.c retval = pci_enable_device(dev); retval 1485 drivers/tty/serial/icom.c if (retval) { retval 1487 drivers/tty/serial/icom.c return retval; retval 1490 drivers/tty/serial/icom.c retval = pci_request_regions(dev, "icom"); retval 1491 drivers/tty/serial/icom.c if (retval) { retval 1494 drivers/tty/serial/icom.c return retval; retval 1499 drivers/tty/serial/icom.c retval = pci_read_config_dword(dev, PCI_COMMAND, &command_reg); retval 1500 drivers/tty/serial/icom.c if (retval) { retval 1502 drivers/tty/serial/icom.c return retval; retval 1517 drivers/tty/serial/icom.c retval = icom_alloc_adapter(&icom_adapter); retval 1518 drivers/tty/serial/icom.c if (retval) { retval 1520 drivers/tty/serial/icom.c retval = -EIO; retval 1530 drivers/tty/serial/icom.c retval = icom_init_ports(icom_adapter); retval 1531 drivers/tty/serial/icom.c if (retval) { retval 1539 drivers/tty/serial/icom.c retval = -ENOMEM; retval 1544 drivers/tty/serial/icom.c retval = request_irq(dev->irq, icom_interrupt, IRQF_SHARED, ICOM_DRIVER_NAME, (void *)icom_adapter); retval 1545 drivers/tty/serial/icom.c if (retval) { retval 1549 drivers/tty/serial/icom.c retval = icom_load_ports(icom_adapter); retval 1584 drivers/tty/serial/icom.c return retval; retval 731 drivers/tty/serial/ifx6x60.c int retval; retval 783 drivers/tty/serial/ifx6x60.c retval = spi_async(ifx_dev->spi_dev, &ifx_dev->spi_msg); retval 784 drivers/tty/serial/ifx6x60.c if (retval) { retval 1342 drivers/tty/serial/imx.c int retval, i; retval 1347 drivers/tty/serial/imx.c retval = clk_prepare_enable(sport->clk_per); retval 1348 drivers/tty/serial/imx.c if (retval) retval 1349 drivers/tty/serial/imx.c return retval; retval 1350 drivers/tty/serial/imx.c retval = clk_prepare_enable(sport->clk_ipg); retval 1351 drivers/tty/serial/imx.c if (retval) { retval 1353 drivers/tty/serial/imx.c return retval; retval 1779 drivers/tty/serial/imx.c int retval; retval 1781 drivers/tty/serial/imx.c retval = clk_prepare_enable(sport->clk_ipg); retval 1782 drivers/tty/serial/imx.c if (retval) retval 1783 drivers/tty/serial/imx.c return retval; retval 1784 drivers/tty/serial/imx.c retval = clk_prepare_enable(sport->clk_per); retval 1785 drivers/tty/serial/imx.c if (retval) retval 1939 drivers/tty/serial/imx.c int retval; retval 1941 drivers/tty/serial/imx.c retval = clk_enable(sport->clk_per); retval 1942 drivers/tty/serial/imx.c if (retval) retval 1944 drivers/tty/serial/imx.c retval = clk_enable(sport->clk_ipg); retval 1945 drivers/tty/serial/imx.c if (retval) { retval 2060 drivers/tty/serial/imx.c int retval; retval 2074 drivers/tty/serial/imx.c retval = clk_prepare_enable(sport->clk_ipg); retval 2075 drivers/tty/serial/imx.c if (retval) retval 2085 drivers/tty/serial/imx.c retval = uart_set_options(&sport->port, co, baud, parity, bits, flow); retval 2088 drivers/tty/serial/imx.c if (retval) { retval 2093 drivers/tty/serial/imx.c retval = clk_prepare(sport->clk_per); retval 2094 drivers/tty/serial/imx.c if (retval) retval 2098 drivers/tty/serial/imx.c return retval; retval 116 drivers/tty/serial/ip22zilog.c unsigned char retval; retval 120 drivers/tty/serial/ip22zilog.c retval = readb(&channel->control); retval 123 drivers/tty/serial/ip22zilog.c return retval; retval 352 drivers/tty/serial/lantiq.c int retval; retval 381 drivers/tty/serial/lantiq.c retval = ltq_port->soc->request_irq(port); retval 382 drivers/tty/serial/lantiq.c if (retval) retval 383 drivers/tty/serial/lantiq.c return retval; retval 387 drivers/tty/serial/lantiq.c return retval; retval 742 drivers/tty/serial/lantiq.c int retval; retval 744 drivers/tty/serial/lantiq.c retval = request_irq(ltq_port->tx_irq, lqasc_tx_int, retval 746 drivers/tty/serial/lantiq.c if (retval) { retval 748 drivers/tty/serial/lantiq.c return retval; retval 751 drivers/tty/serial/lantiq.c retval = request_irq(ltq_port->rx_irq, lqasc_rx_int, retval 753 drivers/tty/serial/lantiq.c if (retval) { retval 758 drivers/tty/serial/lantiq.c retval = request_irq(ltq_port->err_irq, lqasc_err_int, retval 760 drivers/tty/serial/lantiq.c if (retval) { retval 770 drivers/tty/serial/lantiq.c return retval; retval 801 drivers/tty/serial/lantiq.c int retval; retval 803 drivers/tty/serial/lantiq.c retval = request_irq(ltq_port->common_irq, lqasc_irq, 0, retval 805 drivers/tty/serial/lantiq.c if (retval) retval 808 drivers/tty/serial/lantiq.c return retval; retval 445 drivers/tty/serial/lpc32xx_hs.c int retval; retval 471 drivers/tty/serial/lpc32xx_hs.c retval = request_irq(port->irq, serial_lpc32xx_interrupt, retval 473 drivers/tty/serial/lpc32xx_hs.c if (!retval) retval 477 drivers/tty/serial/lpc32xx_hs.c return retval; retval 739 drivers/tty/serial/max3100.c int i, retval; retval 747 drivers/tty/serial/max3100.c retval = uart_register_driver(&max3100_uart_driver); retval 748 drivers/tty/serial/max3100.c if (retval) { retval 751 drivers/tty/serial/max3100.c return retval; retval 794 drivers/tty/serial/max3100.c retval = uart_add_one_port(&max3100_uart_driver, &max3100s[i]->port); retval 795 drivers/tty/serial/max3100.c if (retval < 0) retval 798 drivers/tty/serial/max3100.c i, retval); retval 722 drivers/tty/serial/omap-serial.c int retval; retval 727 drivers/tty/serial/omap-serial.c retval = request_irq(up->port.irq, serial_omap_irq, up->port.irqflags, retval 729 drivers/tty/serial/omap-serial.c if (retval) retval 730 drivers/tty/serial/omap-serial.c return retval; retval 734 drivers/tty/serial/omap-serial.c retval = dev_pm_set_dedicated_wake_irq(up->dev, up->wakeirq); retval 735 drivers/tty/serial/omap-serial.c if (retval) { retval 737 drivers/tty/serial/omap-serial.c return retval; retval 371 drivers/tty/serial/pnx8xxx_uart.c int retval; retval 376 drivers/tty/serial/pnx8xxx_uart.c retval = request_irq(sport->port.irq, pnx8xxx_int, 0, retval 378 drivers/tty/serial/pnx8xxx_uart.c if (retval) retval 379 drivers/tty/serial/pnx8xxx_uart.c return retval; retval 337 drivers/tty/serial/pxa.c int retval; retval 349 drivers/tty/serial/pxa.c retval = request_irq(up->port.irq, serial_pxa_irq, 0, up->name, up); retval 350 drivers/tty/serial/pxa.c if (retval) retval 351 drivers/tty/serial/pxa.c return retval; retval 371 drivers/tty/serial/sa1100.c int retval; retval 376 drivers/tty/serial/sa1100.c retval = request_irq(sport->port.irq, sa1100_int, 0, retval 378 drivers/tty/serial/sa1100.c if (retval) retval 379 drivers/tty/serial/sa1100.c return retval; retval 161 drivers/tty/serial/sb1250-duart.c unsigned char retval; retval 163 drivers/tty/serial/sb1250-duart.c retval = __read_sbdchn(sport, reg); retval 166 drivers/tty/serial/sb1250-duart.c return retval; retval 171 drivers/tty/serial/sb1250-duart.c unsigned char retval; retval 173 drivers/tty/serial/sb1250-duart.c retval = __read_sbdshr(sport, reg); retval 176 drivers/tty/serial/sb1250-duart.c return retval; retval 187 drivers/tty/serial/serial_core.c int retval = 0; retval 219 drivers/tty/serial/serial_core.c retval = uport->ops->startup(uport); retval 220 drivers/tty/serial/serial_core.c if (retval == 0) { retval 243 drivers/tty/serial/serial_core.c if (retval && capable(CAP_SYS_ADMIN)) retval 246 drivers/tty/serial/serial_core.c return retval; retval 253 drivers/tty/serial/serial_core.c int retval; retval 258 drivers/tty/serial/serial_core.c retval = uart_port_startup(tty, state, init_hw); retval 259 drivers/tty/serial/serial_core.c if (retval) retval 262 drivers/tty/serial/serial_core.c return retval; retval 814 drivers/tty/serial/serial_core.c int retval = 0; retval 851 drivers/tty/serial/serial_core.c retval = -EPERM; retval 866 drivers/tty/serial/serial_core.c retval = security_locked_down(LOCKDOWN_TIOCSSERIAL); retval 867 drivers/tty/serial/serial_core.c if (retval && (change_irq || change_port)) retval 874 drivers/tty/serial/serial_core.c retval = uport->ops->verify_port(uport, new_info); retval 878 drivers/tty/serial/serial_core.c retval = -EINVAL; retval 880 drivers/tty/serial/serial_core.c if (retval) retval 884 drivers/tty/serial/serial_core.c retval = -EBUSY; retval 927 drivers/tty/serial/serial_core.c retval = uport->ops->request_port(uport); retval 930 drivers/tty/serial/serial_core.c retval = 0; retval 937 drivers/tty/serial/serial_core.c if (retval) { retval 946 drivers/tty/serial/serial_core.c retval = uport->ops->request_port(uport); retval 951 drivers/tty/serial/serial_core.c if (retval) retval 957 drivers/tty/serial/serial_core.c retval = -EBUSY; retval 979 drivers/tty/serial/serial_core.c retval = 0; retval 998 drivers/tty/serial/serial_core.c retval = uart_startup(tty, state, 1); retval 999 drivers/tty/serial/serial_core.c if (retval == 0) retval 1001 drivers/tty/serial/serial_core.c if (retval > 0) retval 1002 drivers/tty/serial/serial_core.c retval = 0; retval 1005 drivers/tty/serial/serial_core.c return retval; retval 1012 drivers/tty/serial/serial_core.c int retval; retval 1023 drivers/tty/serial/serial_core.c retval = uart_set_info(tty, port, state, ss); retval 1026 drivers/tty/serial/serial_core.c return retval; retval 1772 drivers/tty/serial/serial_core.c int retval; retval 1774 drivers/tty/serial/serial_core.c retval = tty_port_open(&state->port, tty, filp); retval 1775 drivers/tty/serial/serial_core.c if (retval > 0) retval 1776 drivers/tty/serial/serial_core.c retval = 0; retval 1778 drivers/tty/serial/serial_core.c return retval; retval 2522 drivers/tty/serial/serial_core.c int i, retval = -ENOMEM; retval 2564 drivers/tty/serial/serial_core.c retval = tty_register_driver(normal); retval 2565 drivers/tty/serial/serial_core.c if (retval >= 0) retval 2566 drivers/tty/serial/serial_core.c return retval; retval 2574 drivers/tty/serial/serial_core.c return retval; retval 545 drivers/tty/serial/serial_txx9.c int retval; retval 563 drivers/tty/serial/serial_txx9.c retval = request_irq(up->port.irq, serial_txx9_interrupt, retval 565 drivers/tty/serial/serial_txx9.c if (retval) retval 566 drivers/tty/serial/serial_txx9.c return retval; retval 624 drivers/tty/serial/sunsu.c int retval; retval 678 drivers/tty/serial/sunsu.c retval = request_irq(up->port.irq, sunsu_kbd_ms_interrupt, retval 681 drivers/tty/serial/sunsu.c retval = request_irq(up->port.irq, sunsu_serial_interrupt, retval 684 drivers/tty/serial/sunsu.c if (retval) { retval 686 drivers/tty/serial/sunsu.c return retval; retval 133 drivers/tty/serial/sunzilog.c unsigned char retval; retval 137 drivers/tty/serial/sunzilog.c retval = readb(&channel->control); retval 140 drivers/tty/serial/sunzilog.c return retval; retval 436 drivers/tty/serial/vr41xx_siu.c int retval; retval 451 drivers/tty/serial/vr41xx_siu.c retval = request_irq(port->irq, siu_interrupt, 0, siu_type_name(port), port); retval 452 drivers/tty/serial/vr41xx_siu.c if (retval) retval 453 drivers/tty/serial/vr41xx_siu.c return retval; retval 857 drivers/tty/serial/vr41xx_siu.c int num, i, retval; retval 864 drivers/tty/serial/vr41xx_siu.c retval = uart_register_driver(&siu_uart_driver); retval 865 drivers/tty/serial/vr41xx_siu.c if (retval) retval 866 drivers/tty/serial/vr41xx_siu.c return retval; retval 873 drivers/tty/serial/vr41xx_siu.c retval = uart_add_one_port(&siu_uart_driver, port); retval 874 drivers/tty/serial/vr41xx_siu.c if (retval < 0) { retval 880 drivers/tty/serial/vr41xx_siu.c if (i == 0 && retval < 0) { retval 882 drivers/tty/serial/vr41xx_siu.c return retval; retval 145 drivers/tty/serial/zs.c u8 retval; retval 152 drivers/tty/serial/zs.c retval = readb(control); retval 154 drivers/tty/serial/zs.c return retval; retval 175 drivers/tty/serial/zs.c u8 retval; retval 177 drivers/tty/serial/zs.c retval = readb(data); retval 179 drivers/tty/serial/zs.c return retval; retval 1749 drivers/tty/synclink.c int retval = 0; retval 1774 drivers/tty/synclink.c retval = mgsl_claim_resources(info); retval 1777 drivers/tty/synclink.c if ( !retval ) retval 1778 drivers/tty/synclink.c retval = mgsl_adapter_test(info); retval 1780 drivers/tty/synclink.c if ( retval ) { retval 1784 drivers/tty/synclink.c return retval; retval 3251 drivers/tty/synclink.c int retval; retval 3277 drivers/tty/synclink.c retval = 0; retval 3296 drivers/tty/synclink.c retval = (port->flags & ASYNC_HUP_NOTIFY) ? retval 3306 drivers/tty/synclink.c retval = -ERESTARTSYS; retval 3331 drivers/tty/synclink.c if (!retval) retval 3334 drivers/tty/synclink.c return retval; retval 3375 drivers/tty/synclink.c int retval; retval 3387 drivers/tty/synclink.c retval = -EBUSY; retval 3396 drivers/tty/synclink.c retval = startup(info); retval 3397 drivers/tty/synclink.c if (retval < 0) retval 3401 drivers/tty/synclink.c retval = block_til_ready(tty, filp, info); retval 3402 drivers/tty/synclink.c if (retval) { retval 3405 drivers/tty/synclink.c __FILE__,__LINE__, info->device_name, retval); retval 3412 drivers/tty/synclink.c retval = 0; retval 3415 drivers/tty/synclink.c if (retval) { retval 3422 drivers/tty/synclink.c return retval; retval 650 drivers/tty/synclink_gt.c int retval, line; retval 679 drivers/tty/synclink_gt.c retval = -EBUSY; retval 689 drivers/tty/synclink_gt.c retval = startup(info); retval 690 drivers/tty/synclink_gt.c if (retval < 0) { retval 696 drivers/tty/synclink_gt.c retval = block_til_ready(tty, filp, info); retval 697 drivers/tty/synclink_gt.c if (retval) { retval 698 drivers/tty/synclink_gt.c DBGINFO(("%s block_til_ready rc=%d\n", info->device_name, retval)); retval 702 drivers/tty/synclink_gt.c retval = 0; retval 705 drivers/tty/synclink_gt.c if (retval) { retval 712 drivers/tty/synclink_gt.c DBGINFO(("%s open rc=%d\n", info->device_name, retval)); retval 713 drivers/tty/synclink_gt.c return retval; retval 3233 drivers/tty/synclink_gt.c int retval; retval 3257 drivers/tty/synclink_gt.c retval = 0; retval 3272 drivers/tty/synclink_gt.c retval = (port->flags & ASYNC_HUP_NOTIFY) ? retval 3282 drivers/tty/synclink_gt.c retval = -ERESTARTSYS; retval 3299 drivers/tty/synclink_gt.c if (!retval) retval 3302 drivers/tty/synclink_gt.c DBGINFO(("%s block_til_ready ready, rc=%d\n", tty->driver->name, retval)); retval 3303 drivers/tty/synclink_gt.c return retval; retval 747 drivers/tty/synclinkmp.c int retval; retval 759 drivers/tty/synclinkmp.c retval = -EBUSY; retval 768 drivers/tty/synclinkmp.c retval = startup(info); retval 769 drivers/tty/synclinkmp.c if (retval < 0) retval 773 drivers/tty/synclinkmp.c retval = block_til_ready(tty, filp, info); retval 774 drivers/tty/synclinkmp.c if (retval) { retval 777 drivers/tty/synclinkmp.c __FILE__,__LINE__, info->device_name, retval); retval 784 drivers/tty/synclinkmp.c retval = 0; retval 787 drivers/tty/synclinkmp.c if (retval) { retval 794 drivers/tty/synclinkmp.c return retval; retval 3256 drivers/tty/synclinkmp.c int retval; retval 3283 drivers/tty/synclinkmp.c retval = 0; retval 3302 drivers/tty/synclinkmp.c retval = (port->flags & ASYNC_HUP_NOTIFY) ? retval 3312 drivers/tty/synclinkmp.c retval = -ERESTARTSYS; retval 3335 drivers/tty/synclinkmp.c if (!retval) retval 3338 drivers/tty/synclinkmp.c return retval; retval 492 drivers/tty/sysrq.c int retval; retval 495 drivers/tty/sysrq.c retval = key - '0'; retval 497 drivers/tty/sysrq.c retval = key + 10 - 'a'; retval 499 drivers/tty/sysrq.c retval = -1; retval 500 drivers/tty/sysrq.c return retval; retval 1060 drivers/tty/sysrq.c int retval; retval 1065 drivers/tty/sysrq.c retval = 0; retval 1067 drivers/tty/sysrq.c retval = -1; retval 1078 drivers/tty/sysrq.c return retval; retval 1262 drivers/tty/tty_io.c int retval = 0; retval 1278 drivers/tty/tty_io.c retval = tty_ldisc_lock(tty, 5 * HZ); retval 1279 drivers/tty/tty_io.c if (retval) retval 1280 drivers/tty/tty_io.c return retval; retval 1283 drivers/tty/tty_io.c retval = tty_ldisc_reinit(tty, tty->termios.c_line); retval 1287 drivers/tty/tty_io.c if (retval == 0) retval 1290 drivers/tty/tty_io.c return retval; retval 1320 drivers/tty/tty_io.c int retval; retval 1335 drivers/tty/tty_io.c retval = -ENOMEM; retval 1340 drivers/tty/tty_io.c retval = tty_driver_install_tty(driver, tty); retval 1341 drivers/tty/tty_io.c if (retval < 0) retval 1351 drivers/tty/tty_io.c retval = tty_ldisc_lock(tty, 5 * HZ); retval 1352 drivers/tty/tty_io.c if (retval) retval 1361 drivers/tty/tty_io.c retval = tty_ldisc_setup(tty, tty->link); retval 1362 drivers/tty/tty_io.c if (retval) retval 1373 drivers/tty/tty_io.c return ERR_PTR(retval); retval 1379 drivers/tty/tty_io.c retval, idx); retval 1383 drivers/tty/tty_io.c return ERR_PTR(retval); retval 1803 drivers/tty/tty_io.c int retval; retval 1817 drivers/tty/tty_io.c retval = tty_reopen(tty); retval 1818 drivers/tty/tty_io.c if (retval < 0) { retval 1820 drivers/tty/tty_io.c tty = ERR_PTR(retval); retval 1946 drivers/tty/tty_io.c int retval; retval 1970 drivers/tty/tty_io.c retval = tty_lock_interruptible(tty); retval 1972 drivers/tty/tty_io.c if (retval) { retval 1973 drivers/tty/tty_io.c if (retval == -EINTR) retval 1974 drivers/tty/tty_io.c retval = -ERESTARTSYS; retval 1975 drivers/tty/tty_io.c tty = ERR_PTR(retval); retval 1978 drivers/tty/tty_io.c retval = tty_reopen(tty); retval 1979 drivers/tty/tty_io.c if (retval < 0) { retval 1981 drivers/tty/tty_io.c tty = ERR_PTR(retval); retval 2019 drivers/tty/tty_io.c int noctty, retval; retval 2026 drivers/tty/tty_io.c retval = tty_alloc_file(filp); retval 2027 drivers/tty/tty_io.c if (retval) retval 2036 drivers/tty/tty_io.c retval = PTR_ERR(tty); retval 2037 drivers/tty/tty_io.c if (retval != -EAGAIN || signal_pending(current)) retval 2038 drivers/tty/tty_io.c return retval; retval 2049 drivers/tty/tty_io.c retval = tty->ops->open(tty, filp); retval 2051 drivers/tty/tty_io.c retval = -ENODEV; retval 2054 drivers/tty/tty_io.c if (retval) { retval 2055 drivers/tty/tty_io.c tty_debug_hangup(tty, "open error %d, releasing\n", retval); retval 2059 drivers/tty/tty_io.c if (retval != -ERESTARTSYS) retval 2060 drivers/tty/tty_io.c return retval; retval 2063 drivers/tty/tty_io.c return retval; retval 2122 drivers/tty/tty_io.c int retval = 0; retval 2127 drivers/tty/tty_io.c retval = fasync_helper(fd, filp, on, &tty->fasync); retval 2128 drivers/tty/tty_io.c if (retval <= 0) retval 2147 drivers/tty/tty_io.c retval = 0; retval 2150 drivers/tty/tty_io.c return retval; retval 2156 drivers/tty/tty_io.c int retval = -ENOTTY; retval 2160 drivers/tty/tty_io.c retval = __tty_fasync(fd, filp, on); retval 2163 drivers/tty/tty_io.c return retval; retval 2378 drivers/tty/tty_io.c int retval; retval 2384 drivers/tty/tty_io.c retval = tty->ops->break_ctl(tty, duration); retval 2389 drivers/tty/tty_io.c retval = tty->ops->break_ctl(tty, -1); retval 2390 drivers/tty/tty_io.c if (retval) retval 2394 drivers/tty/tty_io.c retval = tty->ops->break_ctl(tty, 0); retval 2398 drivers/tty/tty_io.c retval = -EINTR; retval 2400 drivers/tty/tty_io.c return retval; retval 2417 drivers/tty/tty_io.c int retval = -EINVAL; retval 2420 drivers/tty/tty_io.c retval = tty->ops->tiocmget(tty); retval 2422 drivers/tty/tty_io.c if (retval >= 0) retval 2423 drivers/tty/tty_io.c retval = put_user(retval, p); retval 2425 drivers/tty/tty_io.c return retval; retval 2443 drivers/tty/tty_io.c int retval; retval 2449 drivers/tty/tty_io.c retval = get_user(val, p); retval 2450 drivers/tty/tty_io.c if (retval) retval 2451 drivers/tty/tty_io.c return retval; retval 2472 drivers/tty/tty_io.c int retval = -EINVAL; retval 2476 drivers/tty/tty_io.c retval = tty->ops->get_icount(tty, &icount); retval 2477 drivers/tty/tty_io.c if (retval != 0) retval 2478 drivers/tty/tty_io.c return retval; retval 2540 drivers/tty/tty_io.c int retval; retval 2557 drivers/tty/tty_io.c retval = tty_check_change(tty); retval 2558 drivers/tty/tty_io.c if (retval) retval 2559 drivers/tty/tty_io.c return retval; retval 2652 drivers/tty/tty_io.c retval = tty_jobctrl_ioctl(tty, real_tty, file, cmd, arg); retval 2653 drivers/tty/tty_io.c if (retval != -ENOIOCTLCMD) retval 2654 drivers/tty/tty_io.c return retval; retval 2657 drivers/tty/tty_io.c retval = tty->ops->ioctl(tty, cmd, arg); retval 2658 drivers/tty/tty_io.c if (retval != -ENOIOCTLCMD) retval 2659 drivers/tty/tty_io.c return retval; retval 2664 drivers/tty/tty_io.c retval = -EINVAL; retval 2666 drivers/tty/tty_io.c retval = ld->ops->ioctl(tty, file, cmd, arg); retval 2667 drivers/tty/tty_io.c if (retval == -ENOIOCTLCMD) retval 2668 drivers/tty/tty_io.c retval = -ENOTTY; retval 2671 drivers/tty/tty_io.c return retval; retval 2757 drivers/tty/tty_io.c int retval = -ENOIOCTLCMD; retval 2844 drivers/tty/tty_io.c retval = tty->ops->compat_ioctl(tty, cmd, arg); retval 2845 drivers/tty/tty_io.c if (retval != -ENOIOCTLCMD) retval 2846 drivers/tty/tty_io.c return retval; retval 2853 drivers/tty/tty_io.c retval = ld->ops->compat_ioctl(tty, file, cmd, arg); retval 2854 drivers/tty/tty_io.c if (retval == -ENOIOCTLCMD && ld->ops->ioctl) retval 2855 drivers/tty/tty_io.c retval = ld->ops->ioctl(tty, file, retval 2859 drivers/tty/tty_io.c return retval; retval 3113 drivers/tty/tty_io.c int retval; retval 3140 drivers/tty/tty_io.c retval = device_register(dev); retval 3141 drivers/tty/tty_io.c if (retval) retval 3155 drivers/tty/tty_io.c retval = tty_cdev_add(driver, devt, index, 1); retval 3156 drivers/tty/tty_io.c if (retval) retval 3170 drivers/tty/tty_io.c return ERR_PTR(retval); retval 366 drivers/tty/tty_ioctl.c int retval = tty_check_change(tty); retval 368 drivers/tty/tty_ioctl.c if (retval) retval 369 drivers/tty/tty_ioctl.c return retval; retval 569 drivers/tty/tty_ioctl.c int retval; retval 573 drivers/tty/tty_ioctl.c retval = tty_check_change(tty); retval 574 drivers/tty/tty_ioctl.c if (retval) retval 575 drivers/tty/tty_ioctl.c return retval; retval 882 drivers/tty/tty_ioctl.c int retval = tty_check_change(tty); retval 883 drivers/tty/tty_ioctl.c if (retval) retval 884 drivers/tty/tty_ioctl.c return retval; retval 887 drivers/tty/tty_ioctl.c retval = __tty_perform_flush(tty, arg); retval 890 drivers/tty/tty_ioctl.c return retval; retval 897 drivers/tty/tty_ioctl.c int retval; retval 901 drivers/tty/tty_ioctl.c retval = tty_check_change(tty); retval 902 drivers/tty/tty_ioctl.c if (retval) retval 903 drivers/tty/tty_ioctl.c return retval; retval 923 drivers/tty/tty_ioctl.c retval = tty_send_xchar(tty, STOP_CHAR(tty)); retval 927 drivers/tty/tty_ioctl.c retval = tty_send_xchar(tty, START_CHAR(tty)); retval 932 drivers/tty/tty_ioctl.c return retval; retval 934 drivers/tty/tty_ioctl.c retval = tty_check_change(tty); retval 935 drivers/tty/tty_ioctl.c if (retval) retval 936 drivers/tty/tty_ioctl.c return retval; retval 474 drivers/tty/tty_jobctrl.c int retval = tty_check_change(real_tty); retval 476 drivers/tty/tty_jobctrl.c if (retval == -EIO) retval 478 drivers/tty/tty_jobctrl.c if (retval) retval 479 drivers/tty/tty_jobctrl.c return retval; retval 490 drivers/tty/tty_jobctrl.c retval = -ESRCH; retval 493 drivers/tty/tty_jobctrl.c retval = -EPERM; retval 496 drivers/tty/tty_jobctrl.c retval = 0; retval 503 drivers/tty/tty_jobctrl.c return retval; retval 560 drivers/tty/tty_ldisc.c int retval; retval 568 drivers/tty/tty_ldisc.c retval = tty_ldisc_lock(tty, 5 * HZ); retval 569 drivers/tty/tty_ldisc.c if (retval) retval 573 drivers/tty/tty_ldisc.c retval = -EIO; retval 583 drivers/tty/tty_ldisc.c retval = -EIO; retval 596 drivers/tty/tty_ldisc.c retval = tty_ldisc_open(tty, new_ldisc); retval 597 drivers/tty/tty_ldisc.c if (retval < 0) { retval 624 drivers/tty/tty_ldisc.c return retval; retval 682 drivers/tty/tty_ldisc.c int retval; retval 699 drivers/tty/tty_ldisc.c retval = tty_ldisc_open(tty, tty->ldisc); retval 700 drivers/tty/tty_ldisc.c if (retval) { retval 704 drivers/tty/tty_ldisc.c return retval; retval 778 drivers/tty/tty_ldisc.c int retval = tty_ldisc_open(tty, tty->ldisc); retval 779 drivers/tty/tty_ldisc.c if (retval) retval 780 drivers/tty/tty_ldisc.c return retval; retval 787 drivers/tty/tty_ldisc.c retval = tty_ldisc_open(o_tty, o_tty->ldisc); retval 788 drivers/tty/tty_ldisc.c if (retval) { retval 790 drivers/tty/tty_ldisc.c return retval; retval 465 drivers/tty/tty_port.c int do_clocal = 0, retval; retval 490 drivers/tty/tty_port.c retval = 0; retval 508 drivers/tty/tty_port.c retval = -EAGAIN; retval 510 drivers/tty/tty_port.c retval = -ERESTARTSYS; retval 522 drivers/tty/tty_port.c retval = -ERESTARTSYS; retval 538 drivers/tty/tty_port.c if (retval == 0) retval 540 drivers/tty/tty_port.c return retval; retval 689 drivers/tty/tty_port.c int retval = port->ops->activate(port, tty); retval 690 drivers/tty/tty_port.c if (retval) { retval 692 drivers/tty/tty_port.c return retval; retval 3161 drivers/tty/vt/vt.c int retval; retval 3163 drivers/tty/vt/vt.c retval = do_con_write(tty, buf, count); retval 3166 drivers/tty/vt/vt.c return retval; retval 3510 drivers/tty/vt/vt.c int i, j = -1, k = -1, retval = -ENODEV; retval 3523 drivers/tty/vt/vt.c retval = 0; retval 3528 drivers/tty/vt/vt.c if (retval) retval 3599 drivers/tty/vt/vt.c retval = 0; retval 3602 drivers/tty/vt/vt.c return retval; retval 3613 drivers/tty/vt/vt.c int i, retval = -ENODEV; retval 3626 drivers/tty/vt/vt.c retval = 0; retval 3631 drivers/tty/vt/vt.c if (retval) retval 3634 drivers/tty/vt/vt.c retval = -ENODEV; retval 3642 drivers/tty/vt/vt.c retval = 0; retval 3647 drivers/tty/vt/vt.c if (retval) retval 3682 drivers/tty/vt/vt.c return retval; retval 3985 drivers/tty/vt/vt.c int i, retval; retval 3997 drivers/tty/vt/vt.c retval = -EBUSY; retval 4004 drivers/tty/vt/vt.c retval = -ENODEV; retval 4008 drivers/tty/vt/vt.c retval = -EINVAL; retval 4022 drivers/tty/vt/vt.c retval = 0; retval 4027 drivers/tty/vt/vt.c if (retval) retval 4045 drivers/tty/vt/vt.c return retval; retval 401 drivers/uio/uio.c int retval = -ENOMEM; retval 404 drivers/uio/uio.c retval = idr_alloc(&uio_idr, idev, 0, UIO_MAX_DEVICES, GFP_KERNEL); retval 405 drivers/uio/uio.c if (retval >= 0) { retval 406 drivers/uio/uio.c idev->minor = retval; retval 407 drivers/uio/uio.c retval = 0; retval 408 drivers/uio/uio.c } else if (retval == -ENOSPC) { retval 410 drivers/uio/uio.c retval = -EINVAL; retval 413 drivers/uio/uio.c return retval; retval 569 drivers/uio/uio.c ssize_t retval = 0; retval 580 drivers/uio/uio.c retval = -EIO; retval 592 drivers/uio/uio.c retval = -EFAULT; retval 595 drivers/uio/uio.c retval = count; retval 601 drivers/uio/uio.c retval = -EAGAIN; retval 606 drivers/uio/uio.c retval = -ERESTARTSYS; retval 615 drivers/uio/uio.c return retval; retval 623 drivers/uio/uio.c ssize_t retval; retval 634 drivers/uio/uio.c retval = -EINVAL; retval 639 drivers/uio/uio.c retval = -EIO; retval 644 drivers/uio/uio.c retval = -ENOSYS; retval 648 drivers/uio/uio.c retval = idev->info->irqcontrol(idev->info, irq_on); retval 652 drivers/uio/uio.c return retval ? retval : sizeof(s32); retval 334 drivers/usb/c67x00/c67x00-hcd.c int retval; retval 341 drivers/usb/c67x00/c67x00-hcd.c retval = -ENOMEM; retval 362 drivers/usb/c67x00/c67x00-hcd.c retval = c67x00_sched_start_scheduler(c67x00); retval 363 drivers/usb/c67x00/c67x00-hcd.c if (retval) retval 366 drivers/usb/c67x00/c67x00-hcd.c retval = usb_add_hcd(hcd, 0, 0); retval 367 drivers/usb/c67x00/c67x00-hcd.c if (retval) { retval 369 drivers/usb/c67x00/c67x00-hcd.c __func__, retval); retval 380 drivers/usb/c67x00/c67x00-hcd.c return retval; retval 387 drivers/usb/c67x00/c67x00-hcd.c return retval; retval 60 drivers/usb/chipidea/ci_hdrc_pci.c int retval = 0, nres = 2; retval 71 drivers/usb/chipidea/ci_hdrc_pci.c retval = pcim_enable_device(pdev); retval 72 drivers/usb/chipidea/ci_hdrc_pci.c if (retval) retval 73 drivers/usb/chipidea/ci_hdrc_pci.c return retval; retval 239 drivers/usb/chipidea/host.c int retval = 0; retval 250 drivers/usb/chipidea/host.c retval = -EPIPE; retval 297 drivers/usb/chipidea/host.c return retval; retval 734 drivers/usb/chipidea/otg_fsm.c irqreturn_t retval = IRQ_NONE; retval 781 drivers/usb/chipidea/otg_fsm.c return retval; retval 791 drivers/usb/chipidea/otg_fsm.c int retval = 0; retval 811 drivers/usb/chipidea/otg_fsm.c retval = ci_otg_init_timers(ci); retval 812 drivers/usb/chipidea/otg_fsm.c if (retval) { retval 814 drivers/usb/chipidea/otg_fsm.c return retval; retval 819 drivers/usb/chipidea/otg_fsm.c retval = sysfs_create_group(&ci->dev->kobj, &inputs_attr_group); retval 820 drivers/usb/chipidea/otg_fsm.c if (retval < 0) { retval 822 drivers/usb/chipidea/otg_fsm.c "Can't register sysfs attr group: %d\n", retval); retval 823 drivers/usb/chipidea/otg_fsm.c return retval; retval 665 drivers/usb/chipidea/udc.c int direction, retval = 0; retval 685 drivers/usb/chipidea/udc.c retval |= hw_ep_set_halt(hwep->ci, hwep->num, hwep->dir, value); retval 696 drivers/usb/chipidea/udc.c return retval; retval 751 drivers/usb/chipidea/udc.c int retval; retval 757 drivers/usb/chipidea/udc.c retval = _gadget_stop_activity(&ci->gadget); retval 758 drivers/usb/chipidea/udc.c if (retval) retval 761 drivers/usb/chipidea/udc.c retval = hw_usb_reset(ci); retval 762 drivers/usb/chipidea/udc.c if (retval) retval 767 drivers/usb/chipidea/udc.c retval = -ENOMEM; retval 772 drivers/usb/chipidea/udc.c if (retval) retval 773 drivers/usb/chipidea/udc.c dev_err(ci->dev, "error: %i\n", retval); retval 807 drivers/usb/chipidea/udc.c int retval = 0; retval 839 drivers/usb/chipidea/udc.c retval = _hardware_enqueue(hwep, hwreq); retval 841 drivers/usb/chipidea/udc.c if (retval == -EALREADY) retval 842 drivers/usb/chipidea/udc.c retval = 0; retval 843 drivers/usb/chipidea/udc.c if (!retval) retval 846 drivers/usb/chipidea/udc.c return retval; retval 864 drivers/usb/chipidea/udc.c int dir, num, retval; retval 879 drivers/usb/chipidea/udc.c retval = -ENOMEM; retval 895 drivers/usb/chipidea/udc.c retval = _ep_queue(&hwep->ep, req, gfp_flags); retval 896 drivers/usb/chipidea/udc.c if (retval) retval 907 drivers/usb/chipidea/udc.c return retval; retval 976 drivers/usb/chipidea/udc.c int retval = 0; retval 980 drivers/usb/chipidea/udc.c retval = _hardware_dequeue(hwep, hwreq); retval 981 drivers/usb/chipidea/udc.c if (retval < 0) retval 994 drivers/usb/chipidea/udc.c if (retval == -EBUSY) retval 995 drivers/usb/chipidea/udc.c retval = 0; retval 997 drivers/usb/chipidea/udc.c return retval; retval 1230 drivers/usb/chipidea/udc.c int retval = 0; retval 1274 drivers/usb/chipidea/udc.c retval = -EINVAL; retval 1282 drivers/usb/chipidea/udc.c retval |= hw_ep_enable(hwep->ci, hwep->num, hwep->dir, retval 1286 drivers/usb/chipidea/udc.c return retval; retval 1297 drivers/usb/chipidea/udc.c int direction, retval = 0; retval 1315 drivers/usb/chipidea/udc.c retval |= _ep_nuke(hwep); retval 1316 drivers/usb/chipidea/udc.c retval |= hw_ep_disable(hwep->ci, hwep->num, hwep->dir); retval 1326 drivers/usb/chipidea/udc.c return retval; retval 1392 drivers/usb/chipidea/udc.c int retval = 0; retval 1403 drivers/usb/chipidea/udc.c retval = _ep_queue(ep, req, gfp_flags); retval 1405 drivers/usb/chipidea/udc.c return retval; retval 1678 drivers/usb/chipidea/udc.c int retval = 0, i, j; retval 1719 drivers/usb/chipidea/udc.c retval = -ENOMEM; retval 1738 drivers/usb/chipidea/udc.c return retval; retval 1765 drivers/usb/chipidea/udc.c int retval; retval 1771 drivers/usb/chipidea/udc.c retval = usb_ep_enable(&ci->ep0out->ep); retval 1772 drivers/usb/chipidea/udc.c if (retval) retval 1773 drivers/usb/chipidea/udc.c return retval; retval 1776 drivers/usb/chipidea/udc.c retval = usb_ep_enable(&ci->ep0in->ep); retval 1777 drivers/usb/chipidea/udc.c if (retval) retval 1778 drivers/usb/chipidea/udc.c return retval; retval 1785 drivers/usb/chipidea/udc.c return retval; retval 1794 drivers/usb/chipidea/udc.c return retval; retval 1797 drivers/usb/chipidea/udc.c retval = hw_device_state(ci, ci->ep0out->qh.dma); retval 1798 drivers/usb/chipidea/udc.c if (retval) retval 1801 drivers/usb/chipidea/udc.c return retval; retval 1859 drivers/usb/chipidea/udc.c irqreturn_t retval; retval 1911 drivers/usb/chipidea/udc.c retval = IRQ_HANDLED; retval 1913 drivers/usb/chipidea/udc.c retval = IRQ_NONE; retval 1917 drivers/usb/chipidea/udc.c return retval; retval 1928 drivers/usb/chipidea/udc.c int retval = 0; retval 1956 drivers/usb/chipidea/udc.c retval = -ENOMEM; retval 1960 drivers/usb/chipidea/udc.c retval = init_eps(ci); retval 1961 drivers/usb/chipidea/udc.c if (retval) retval 1966 drivers/usb/chipidea/udc.c retval = usb_add_gadget_udc(dev, &ci->gadget); retval 1967 drivers/usb/chipidea/udc.c if (retval) retval 1973 drivers/usb/chipidea/udc.c return retval; retval 1981 drivers/usb/chipidea/udc.c return retval; retval 113 drivers/usb/class/cdc-acm.c int retval; retval 115 drivers/usb/class/cdc-acm.c retval = usb_autopm_get_interface(acm->control); retval 116 drivers/usb/class/cdc-acm.c if (retval) retval 117 drivers/usb/class/cdc-acm.c return retval; retval 119 drivers/usb/class/cdc-acm.c retval = usb_control_msg(acm->dev, usb_sndctrlpipe(acm->dev, 0), retval 126 drivers/usb/class/cdc-acm.c __func__, request, value, len, retval); retval 130 drivers/usb/class/cdc-acm.c return retval < 0 ? retval : 0; retval 347 drivers/usb/class/cdc-acm.c int retval; retval 414 drivers/usb/class/cdc-acm.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 415 drivers/usb/class/cdc-acm.c if (retval && retval != -EPERM && retval != -ENODEV) retval 417 drivers/usb/class/cdc-acm.c "%s - usb_submit_urb failed: %d\n", __func__, retval); retval 420 drivers/usb/class/cdc-acm.c "control resubmission terminated %d\n", retval); retval 603 drivers/usb/class/cdc-acm.c int retval; retval 609 drivers/usb/class/cdc-acm.c retval = tty_standard_install(driver, tty); retval 610 drivers/usb/class/cdc-acm.c if (retval) retval 626 drivers/usb/class/cdc-acm.c return retval; retval 658 drivers/usb/class/cdc-acm.c int retval = -ENODEV; retval 665 drivers/usb/class/cdc-acm.c retval = usb_autopm_get_interface(acm->control); retval 666 drivers/usb/class/cdc-acm.c if (retval) retval 677 drivers/usb/class/cdc-acm.c retval = usb_submit_urb(acm->ctrlurb, GFP_KERNEL); retval 678 drivers/usb/class/cdc-acm.c if (retval) { retval 691 drivers/usb/class/cdc-acm.c retval = acm_submit_read_urbs(acm, GFP_KERNEL); retval 692 drivers/usb/class/cdc-acm.c if (retval) retval 711 drivers/usb/class/cdc-acm.c return usb_translate_errors(retval); retval 875 drivers/usb/class/cdc-acm.c int retval; retval 877 drivers/usb/class/cdc-acm.c retval = acm_send_break(acm, state ? 0xffff : 0); retval 878 drivers/usb/class/cdc-acm.c if (retval < 0) retval 881 drivers/usb/class/cdc-acm.c return retval; retval 933 drivers/usb/class/cdc-acm.c int retval = 0; retval 951 drivers/usb/class/cdc-acm.c retval = -EPERM; retval 953 drivers/usb/class/cdc-acm.c retval = -EOPNOTSUPP; retval 960 drivers/usb/class/cdc-acm.c return retval; retval 1985 drivers/usb/class/cdc-acm.c int retval; retval 2001 drivers/usb/class/cdc-acm.c retval = tty_register_driver(acm_tty_driver); retval 2002 drivers/usb/class/cdc-acm.c if (retval) { retval 2004 drivers/usb/class/cdc-acm.c return retval; retval 2007 drivers/usb/class/cdc-acm.c retval = usb_register(&acm_driver); retval 2008 drivers/usb/class/cdc-acm.c if (retval) { retval 2011 drivers/usb/class/cdc-acm.c return retval; retval 252 drivers/usb/class/usblp.c int retval; retval 261 drivers/usb/class/usblp.c retval = usb_control_msg(usblp->dev, retval 266 drivers/usb/class/usblp.c request, !!dir, recip, value, index, len, retval); retval 267 drivers/usb/class/usblp.c return retval < 0 ? retval : 0; retval 395 drivers/usb/class/usblp.c int retval; retval 402 drivers/usb/class/usblp.c retval = -ENODEV; retval 410 drivers/usb/class/usblp.c retval = -EBUSY; retval 420 drivers/usb/class/usblp.c retval = usb_autopm_get_interface(intf); retval 421 drivers/usb/class/usblp.c if (retval < 0) retval 434 drivers/usb/class/usblp.c retval = -EIO; retval 438 drivers/usb/class/usblp.c return retval; retval 500 drivers/usb/class/usblp.c int retval = 0; retval 504 drivers/usb/class/usblp.c retval = -ENODEV; retval 518 drivers/usb/class/usblp.c retval = -EINVAL; retval 524 drivers/usb/class/usblp.c retval = length; retval 533 drivers/usb/class/usblp.c retval = -EFAULT; retval 542 drivers/usb/class/usblp.c retval = -EINVAL; retval 557 drivers/usb/class/usblp.c retval = -EFAULT; retval 565 drivers/usb/class/usblp.c retval = -EINVAL; retval 577 drivers/usb/class/usblp.c retval = usblp_set_protocol(usblp, arg); retval 578 drivers/usb/class/usblp.c if (retval < 0) { retval 588 drivers/usb/class/usblp.c retval = -EINVAL; retval 599 drivers/usb/class/usblp.c retval = -EIO; retval 611 drivers/usb/class/usblp.c retval = -EINVAL; retval 620 drivers/usb/class/usblp.c retval = -EFAULT; retval 632 drivers/usb/class/usblp.c retval = -EINVAL; retval 641 drivers/usb/class/usblp.c retval = -EFAULT; retval 652 drivers/usb/class/usblp.c retval = -EINVAL; retval 655 drivers/usb/class/usblp.c retval = usblp_reset(usblp); retval 658 drivers/usb/class/usblp.c retval = -ENOTTY; retval 664 drivers/usb/class/usblp.c retval = usblp_read_status(usblp, usblp->statusbuf); retval 665 drivers/usb/class/usblp.c if (retval) { retval 668 drivers/usb/class/usblp.c usblp->minor, retval); retval 669 drivers/usb/class/usblp.c retval = -EIO; retval 674 drivers/usb/class/usblp.c retval = -EFAULT; retval 685 drivers/usb/class/usblp.c retval = -ENOTTY; retval 690 drivers/usb/class/usblp.c return retval; retval 1100 drivers/usb/class/usblp.c int retval; retval 1106 drivers/usb/class/usblp.c retval = -ENOMEM; retval 1123 drivers/usb/class/usblp.c retval = -ENOMEM; retval 1133 drivers/usb/class/usblp.c retval = -ENOMEM; retval 1140 drivers/usb/class/usblp.c retval = -ENOMEM; retval 1156 drivers/usb/class/usblp.c retval = -ENODEV; retval 1162 drivers/usb/class/usblp.c retval = -ENODEV; /* ->probe isn't ->ioctl */ retval 1177 drivers/usb/class/usblp.c retval = usb_register_dev(intf, &usblp_class); retval 1178 drivers/usb/class/usblp.c if (retval) { retval 1181 drivers/usb/class/usblp.c USBLP_MINOR_BASE, retval); retval 1205 drivers/usb/class/usblp.c return retval; retval 682 drivers/usb/class/usbtmc.c int retval; retval 694 drivers/usb/class/usbtmc.c retval = usb_bulk_msg(data->usb_dev, retval 709 drivers/usb/class/usbtmc.c if (retval < 0) { retval 711 drivers/usb/class/usbtmc.c __func__, retval); retval 712 drivers/usb/class/usbtmc.c return retval; retval 798 drivers/usb/class/usbtmc.c int retval = 0; retval 832 drivers/usb/class/usbtmc.c retval = file_data->in_status; retval 875 drivers/usb/class/usbtmc.c retval = -ENOMEM; retval 887 drivers/usb/class/usbtmc.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 890 drivers/usb/class/usbtmc.c if (unlikely(retval)) { retval 915 drivers/usb/class/usbtmc.c retval = wait_event_interruptible_timeout( retval 921 drivers/usb/class/usbtmc.c __func__, retval); retval 923 drivers/usb/class/usbtmc.c if (retval <= 0) { retval 924 drivers/usb/class/usbtmc.c if (retval == 0) retval 925 drivers/usb/class/usbtmc.c retval = -ETIMEDOUT; retval 934 drivers/usb/class/usbtmc.c retval = -EFAULT; retval 963 drivers/usb/class/usbtmc.c retval = -EFAULT; retval 973 drivers/usb/class/usbtmc.c retval = file_data->in_status; retval 983 drivers/usb/class/usbtmc.c retval = 1; retval 991 drivers/usb/class/usbtmc.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 992 drivers/usb/class/usbtmc.c if (unlikely(retval)) { retval 1000 drivers/usb/class/usbtmc.c retval = 0; retval 1013 drivers/usb/class/usbtmc.c dev_dbg(dev, "%s: done=%u ret=%d\n", __func__, done, retval); retval 1015 drivers/usb/class/usbtmc.c return retval; retval 1022 drivers/usb/class/usbtmc.c ssize_t retval = 0; retval 1029 drivers/usb/class/usbtmc.c retval = usbtmc_generic_read(file_data, msg.message, retval 1037 drivers/usb/class/usbtmc.c return retval; retval 1087 drivers/usb/class/usbtmc.c int retval = 0; retval 1101 drivers/usb/class/usbtmc.c retval = file_data->out_status; retval 1103 drivers/usb/class/usbtmc.c if (retval < 0) retval 1104 drivers/usb/class/usbtmc.c return retval; retval 1125 drivers/usb/class/usbtmc.c retval = (done)?(0):(-EAGAIN); retval 1129 drivers/usb/class/usbtmc.c retval = down_timeout(&file_data->limit_write_sem, retval 1131 drivers/usb/class/usbtmc.c if (retval < 0) { retval 1132 drivers/usb/class/usbtmc.c retval = -ETIMEDOUT; retval 1138 drivers/usb/class/usbtmc.c retval = file_data->out_status; retval 1140 drivers/usb/class/usbtmc.c if (retval < 0) { retval 1148 drivers/usb/class/usbtmc.c retval = -ENOMEM; retval 1160 drivers/usb/class/usbtmc.c retval = -EFAULT; retval 1183 drivers/usb/class/usbtmc.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 1184 drivers/usb/class/usbtmc.c if (unlikely(retval)) { retval 1201 drivers/usb/class/usbtmc.c retval = -ETIMEDOUT; retval 1206 drivers/usb/class/usbtmc.c retval = 0; retval 1217 drivers/usb/class/usbtmc.c if (!retval && file_data->out_status) retval 1218 drivers/usb/class/usbtmc.c retval = file_data->out_status; retval 1224 drivers/usb/class/usbtmc.c __func__, done, retval, file_data->out_status); retval 1226 drivers/usb/class/usbtmc.c return retval; retval 1233 drivers/usb/class/usbtmc.c ssize_t retval = 0; retval 1240 drivers/usb/class/usbtmc.c retval = usbtmc_generic_write(file_data, msg.message, retval 1248 drivers/usb/class/usbtmc.c return retval; retval 1258 drivers/usb/class/usbtmc.c int retval; retval 1262 drivers/usb/class/usbtmc.c retval = file_data->out_status; retval 1268 drivers/usb/class/usbtmc.c return retval; retval 1283 drivers/usb/class/usbtmc.c int retval; retval 1308 drivers/usb/class/usbtmc.c retval = usb_bulk_msg(data->usb_dev, retval 1323 drivers/usb/class/usbtmc.c if (retval < 0) retval 1325 drivers/usb/class/usbtmc.c __func__, retval); retval 1327 drivers/usb/class/usbtmc.c return retval; retval 1342 drivers/usb/class/usbtmc.c int retval; retval 1355 drivers/usb/class/usbtmc.c retval = -ENODEV; retval 1364 drivers/usb/class/usbtmc.c retval = send_request_dev_dep_msg_in(file_data, count); retval 1366 drivers/usb/class/usbtmc.c if (retval < 0) { retval 1377 drivers/usb/class/usbtmc.c retval = usb_bulk_msg(data->usb_dev, retval 1384 drivers/usb/class/usbtmc.c __func__, retval, actual); retval 1389 drivers/usb/class/usbtmc.c if (retval < 0) { retval 1456 drivers/usb/class/usbtmc.c retval = -EFAULT; retval 1461 drivers/usb/class/usbtmc.c retval = usbtmc_generic_read(file_data, buf + actual, retval 1465 drivers/usb/class/usbtmc.c if (retval < 0) retval 1472 drivers/usb/class/usbtmc.c retval = done; retval 1477 drivers/usb/class/usbtmc.c return retval; retval 1486 drivers/usb/class/usbtmc.c ssize_t retval = 0; retval 1497 drivers/usb/class/usbtmc.c retval = -ENODEV; retval 1513 drivers/usb/class/usbtmc.c retval = -EBUSY; retval 1519 drivers/usb/class/usbtmc.c retval = -ENOMEM; retval 1559 drivers/usb/class/usbtmc.c retval = -EFAULT; retval 1576 drivers/usb/class/usbtmc.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 1577 drivers/usb/class/usbtmc.c if (unlikely(retval)) { retval 1592 drivers/usb/class/usbtmc.c retval = usbtmc_generic_write(file_data, buf + transfersize, remaining, retval 1601 drivers/usb/class/usbtmc.c if (retval < 0) { retval 1605 drivers/usb/class/usbtmc.c "Unable to send data, error %d\n", (int)retval); retval 1611 drivers/usb/class/usbtmc.c retval = done; retval 1615 drivers/usb/class/usbtmc.c return retval; retval 2022 drivers/usb/class/usbtmc.c int retval = -EBADRQC; retval 2030 drivers/usb/class/usbtmc.c retval = -ENODEV; retval 2036 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_clear_out_halt(data); retval 2040 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_clear_in_halt(data); retval 2044 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_indicator_pulse(data); retval 2048 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_clear(data); retval 2052 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_abort_bulk_out(data); retval 2056 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_abort_bulk_in(data); retval 2060 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_request(data, (void __user *)arg); retval 2064 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_get_timeout(file_data, retval 2069 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_set_timeout(file_data, retval 2074 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_eom_enable(file_data, retval 2079 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_config_termc(file_data, retval 2084 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_generic_write(file_data, retval 2089 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_generic_read(file_data, retval 2094 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_write_result(file_data, retval 2099 drivers/usb/class/usbtmc.c retval = put_user(USBTMC_API_VERSION, retval 2104 drivers/usb/class/usbtmc.c retval = put_user(data->usb488_caps, retval 2109 drivers/usb/class/usbtmc.c retval = usbtmc488_ioctl_read_stb(file_data, retval 2114 drivers/usb/class/usbtmc.c retval = usbtmc488_ioctl_simple(data, (void __user *)arg, retval 2119 drivers/usb/class/usbtmc.c retval = usbtmc488_ioctl_simple(data, (void __user *)arg, retval 2124 drivers/usb/class/usbtmc.c retval = usbtmc488_ioctl_simple(data, (void __user *)arg, retval 2129 drivers/usb/class/usbtmc.c retval = usbtmc488_ioctl_trigger(file_data); retval 2133 drivers/usb/class/usbtmc.c retval = usbtmc488_ioctl_wait_srq(file_data, retval 2138 drivers/usb/class/usbtmc.c retval = put_user(file_data->bmTransferAttributes, retval 2143 drivers/usb/class/usbtmc.c retval = get_user(tmp_byte, (unsigned char __user *)arg); retval 2144 drivers/usb/class/usbtmc.c if (retval == 0) retval 2149 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_cancel_io(file_data); retval 2153 drivers/usb/class/usbtmc.c retval = usbtmc_ioctl_cleanup_io(file_data); retval 2159 drivers/usb/class/usbtmc.c return retval; retval 127 drivers/usb/common/usb-otg-fsm.c int retval; retval 141 drivers/usb/common/usb-otg-fsm.c retval = usb_control_msg(udev, retval 150 drivers/usb/common/usb-otg-fsm.c if (retval != 1) { retval 170 drivers/usb/common/usb-otg-fsm.c retval = usb_control_msg(udev, retval 176 drivers/usb/common/usb-otg-fsm.c if (retval >= 0) retval 263 drivers/usb/core/config.c int n, i, j, retval; retval 476 drivers/usb/core/config.c retval = buffer - buffer0 + i; retval 480 drivers/usb/core/config.c return retval; retval 512 drivers/usb/core/config.c int len, retval; retval 586 drivers/usb/core/config.c retval = usb_parse_endpoint(ddev, cfgno, config, inum, asnum, retval 588 drivers/usb/core/config.c if (retval < 0) retval 589 drivers/usb/core/config.c return retval; retval 592 drivers/usb/core/config.c buffer += retval; retval 593 drivers/usb/core/config.c size -= retval; retval 621 drivers/usb/core/config.c int retval; retval 799 drivers/usb/core/config.c retval = usb_parse_interface(ddev, cfgno, config, retval 801 drivers/usb/core/config.c if (retval < 0) retval 802 drivers/usb/core/config.c return retval; retval 804 drivers/usb/core/config.c buffer += retval; retval 805 drivers/usb/core/config.c size -= retval; retval 1993 drivers/usb/core/devio.c int retval; retval 1996 drivers/usb/core/devio.c retval = processcompl(as, (void __user * __user *)arg); retval 1998 drivers/usb/core/devio.c return retval; retval 2007 drivers/usb/core/devio.c int retval; retval 2013 drivers/usb/core/devio.c retval = processcompl(as, (void __user * __user *)arg); retval 2016 drivers/usb/core/devio.c retval = (connected(ps) ? -EAGAIN : -ENODEV); retval 2018 drivers/usb/core/devio.c return retval; retval 2140 drivers/usb/core/devio.c int retval; retval 2143 drivers/usb/core/devio.c retval = processcompl_compat(as, (void __user * __user *)arg); retval 2145 drivers/usb/core/devio.c return retval; retval 2154 drivers/usb/core/devio.c int retval; retval 2160 drivers/usb/core/devio.c retval = processcompl_compat(as, (void __user * __user *)arg); retval 2163 drivers/usb/core/devio.c retval = (connected(ps) ? -EAGAIN : -ENODEV); retval 2165 drivers/usb/core/devio.c return retval; retval 2209 drivers/usb/core/devio.c int retval = 0; retval 2236 drivers/usb/core/devio.c retval = -EHOSTUNREACH; retval 2238 drivers/usb/core/devio.c retval = -EINVAL; retval 2248 drivers/usb/core/devio.c retval = -ENODATA; retval 2254 drivers/usb/core/devio.c retval = device_attach(&intf->dev); retval 2256 drivers/usb/core/devio.c retval = -EBUSY; retval 2264 drivers/usb/core/devio.c retval = -ENOTTY; retval 2266 drivers/usb/core/devio.c retval = driver->unlocked_ioctl(intf, ctl->ioctl_code, buf); retval 2267 drivers/usb/core/devio.c if (retval == -ENOIOCTLCMD) retval 2268 drivers/usb/core/devio.c retval = -ENOTTY; retval 2273 drivers/usb/core/devio.c if (retval >= 0 retval 2277 drivers/usb/core/devio.c retval = -EFAULT; retval 2280 drivers/usb/core/devio.c return retval; retval 2794 drivers/usb/core/devio.c int retval; retval 2796 drivers/usb/core/devio.c retval = register_chrdev_region(USB_DEVICE_DEV, USB_DEVICE_MAX, retval 2798 drivers/usb/core/devio.c if (retval) { retval 2803 drivers/usb/core/devio.c retval = cdev_add(&usb_device_cdev, USB_DEVICE_DEV, USB_DEVICE_MAX); retval 2804 drivers/usb/core/devio.c if (retval) { retval 2811 drivers/usb/core/devio.c return retval; retval 53 drivers/usb/core/driver.c int retval = 0; retval 70 drivers/usb/core/driver.c retval = -EINVAL; retval 82 drivers/usb/core/driver.c retval = -ENODEV; retval 93 drivers/usb/core/driver.c retval = -ENODEV; retval 102 drivers/usb/core/driver.c retval = driver_attach(driver); retval 104 drivers/usb/core/driver.c if (retval) retval 105 drivers/usb/core/driver.c return retval; retval 110 drivers/usb/core/driver.c return retval; retval 508 drivers/usb/core/driver.c int retval = 0; retval 543 drivers/usb/core/driver.c retval = device_bind_driver(dev); retval 545 drivers/usb/core/driver.c if (retval) { retval 560 drivers/usb/core/driver.c return retval; retval 884 drivers/usb/core/driver.c int retval = 0; retval 897 drivers/usb/core/driver.c retval = driver_register(&new_udriver->drvwrap.driver); retval 899 drivers/usb/core/driver.c if (!retval) retval 905 drivers/usb/core/driver.c usbcore_name, retval, new_udriver->name); retval 907 drivers/usb/core/driver.c return retval; retval 946 drivers/usb/core/driver.c int retval = 0; retval 962 drivers/usb/core/driver.c retval = driver_register(&new_driver->drvwrap.driver); retval 963 drivers/usb/core/driver.c if (retval) retval 966 drivers/usb/core/driver.c retval = usb_create_newid_files(new_driver); retval 967 drivers/usb/core/driver.c if (retval) retval 974 drivers/usb/core/driver.c return retval; retval 981 drivers/usb/core/driver.c usbcore_name, retval, new_driver->name); retval 181 drivers/usb/core/endpoint.c int retval; retval 185 drivers/usb/core/endpoint.c retval = -ENOMEM; retval 196 drivers/usb/core/endpoint.c retval = device_register(&ep_dev->dev); retval 197 drivers/usb/core/endpoint.c if (retval) retval 202 drivers/usb/core/endpoint.c return retval; retval 207 drivers/usb/core/endpoint.c return retval; retval 159 drivers/usb/core/file.c int retval; retval 179 drivers/usb/core/file.c retval = init_usb_class(); retval 182 drivers/usb/core/file.c if (retval) retval 183 drivers/usb/core/file.c return retval; retval 209 drivers/usb/core/file.c retval = PTR_ERR(intf->usb_dev); retval 212 drivers/usb/core/file.c return retval; retval 176 drivers/usb/core/hcd-pci.c int retval; retval 200 drivers/usb/core/hcd-pci.c retval = -ENODEV; retval 208 drivers/usb/core/hcd-pci.c retval = -ENOMEM; retval 222 drivers/usb/core/hcd-pci.c retval = -EBUSY; retval 229 drivers/usb/core/hcd-pci.c retval = -EFAULT; retval 250 drivers/usb/core/hcd-pci.c retval = -EBUSY; retval 262 drivers/usb/core/hcd-pci.c retval = usb_add_hcd(hcd, hcd_irq, IRQF_SHARED); retval 263 drivers/usb/core/hcd-pci.c if (retval != 0) retval 270 drivers/usb/core/hcd-pci.c retval = usb_add_hcd(hcd, hcd_irq, IRQF_SHARED); retval 271 drivers/usb/core/hcd-pci.c if (retval != 0) retval 278 drivers/usb/core/hcd-pci.c if (retval != 0) retval 284 drivers/usb/core/hcd-pci.c return retval; retval 290 drivers/usb/core/hcd-pci.c dev_err(&dev->dev, "init %s fail, %d\n", pci_name(dev), retval); retval 291 drivers/usb/core/hcd-pci.c return retval; retval 416 drivers/usb/core/hcd-pci.c int retval; retval 423 drivers/usb/core/hcd-pci.c retval = check_root_hub_suspended(dev); retval 424 drivers/usb/core/hcd-pci.c if (retval) retval 425 drivers/usb/core/hcd-pci.c return retval; retval 436 drivers/usb/core/hcd-pci.c retval = hcd->driver->pci_suspend(hcd, do_wakeup); retval 437 drivers/usb/core/hcd-pci.c suspend_report_result(hcd->driver->pci_suspend, retval); retval 440 drivers/usb/core/hcd-pci.c if ((retval == 0 && do_wakeup && HCD_WAKEUP_PENDING(hcd)) || retval 441 drivers/usb/core/hcd-pci.c (retval == 0 && do_wakeup && hcd->shared_hcd && retval 445 drivers/usb/core/hcd-pci.c retval = -EBUSY; retval 447 drivers/usb/core/hcd-pci.c if (retval) retval 448 drivers/usb/core/hcd-pci.c return retval; retval 464 drivers/usb/core/hcd-pci.c return retval; retval 471 drivers/usb/core/hcd-pci.c int retval; retval 480 drivers/usb/core/hcd-pci.c retval = pci_enable_device(pci_dev); retval 481 drivers/usb/core/hcd-pci.c if (retval < 0) { retval 482 drivers/usb/core/hcd-pci.c dev_err(dev, "can't re-enable after resume, %d!\n", retval); retval 483 drivers/usb/core/hcd-pci.c return retval; retval 499 drivers/usb/core/hcd-pci.c retval = hcd->driver->pci_resume(hcd, retval 501 drivers/usb/core/hcd-pci.c if (retval) { retval 502 drivers/usb/core/hcd-pci.c dev_err(dev, "PCI post-resume error %d!\n", retval); retval 506 drivers/usb/core/hcd-pci.c return retval; retval 520 drivers/usb/core/hcd-pci.c int retval; retval 522 drivers/usb/core/hcd-pci.c retval = check_root_hub_suspended(dev); retval 523 drivers/usb/core/hcd-pci.c if (retval) retval 524 drivers/usb/core/hcd-pci.c return retval; retval 539 drivers/usb/core/hcd-pci.c retval = pci_prepare_to_sleep(pci_dev); retval 540 drivers/usb/core/hcd-pci.c if (retval == -EIO) { /* Low-power not supported */ retval 542 drivers/usb/core/hcd-pci.c retval = 0; retval 543 drivers/usb/core/hcd-pci.c } else if (retval == 0) { retval 547 drivers/usb/core/hcd-pci.c suspend_report_result(pci_prepare_to_sleep, retval); retval 548 drivers/usb/core/hcd-pci.c return retval; retval 552 drivers/usb/core/hcd-pci.c return retval; retval 583 drivers/usb/core/hcd-pci.c int retval; retval 585 drivers/usb/core/hcd-pci.c retval = suspend_common(dev, true); retval 586 drivers/usb/core/hcd-pci.c if (retval == 0) retval 588 drivers/usb/core/hcd-pci.c dev_dbg(dev, "hcd_pci_runtime_suspend: %d\n", retval); retval 589 drivers/usb/core/hcd-pci.c return retval; retval 594 drivers/usb/core/hcd-pci.c int retval; retval 597 drivers/usb/core/hcd-pci.c retval = resume_common(dev, PM_EVENT_AUTO_RESUME); retval 598 drivers/usb/core/hcd-pci.c dev_dbg(dev, "hcd_pci_runtime_resume: %d\n", retval); retval 599 drivers/usb/core/hcd-pci.c return retval; retval 807 drivers/usb/core/hcd.c int retval; retval 814 drivers/usb/core/hcd.c retval = -EINVAL; retval 818 drivers/usb/core/hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 819 drivers/usb/core/hcd.c if (retval) retval 830 drivers/usb/core/hcd.c retval = 0; retval 833 drivers/usb/core/hcd.c return retval; retval 978 drivers/usb/core/hcd.c int retval; retval 988 drivers/usb/core/hcd.c retval = usb_get_device_descriptor(usb_dev, USB_DT_DEVICE_SIZE); retval 989 drivers/usb/core/hcd.c if (retval != sizeof usb_dev->descriptor) { retval 992 drivers/usb/core/hcd.c dev_name(&usb_dev->dev), retval); retval 993 drivers/usb/core/hcd.c return (retval < 0) ? retval : -EMSGSIZE; retval 997 drivers/usb/core/hcd.c retval = usb_get_bos_descriptor(usb_dev); retval 998 drivers/usb/core/hcd.c if (!retval) { retval 1003 drivers/usb/core/hcd.c dev_name(&usb_dev->dev), retval); retval 1004 drivers/usb/core/hcd.c return retval; retval 1008 drivers/usb/core/hcd.c retval = usb_new_device (usb_dev); retval 1009 drivers/usb/core/hcd.c if (retval) { retval 1011 drivers/usb/core/hcd.c dev_name(&usb_dev->dev), retval); retval 1023 drivers/usb/core/hcd.c return retval; retval 1604 drivers/usb/core/hcd.c int retval = -EIDRM; retval 1614 drivers/usb/core/hcd.c retval = 0; retval 1618 drivers/usb/core/hcd.c if (retval == 0) { retval 1620 drivers/usb/core/hcd.c retval = unlink1(hcd, urb, status); retval 1621 drivers/usb/core/hcd.c if (retval == 0) retval 1622 drivers/usb/core/hcd.c retval = -EINPROGRESS; retval 1623 drivers/usb/core/hcd.c else if (retval != -EIDRM && retval != -EBUSY) retval 1625 drivers/usb/core/hcd.c urb, retval); retval 1628 drivers/usb/core/hcd.c return retval; retval 2579 drivers/usb/core/hcd.c int retval; retval 2585 drivers/usb/core/hcd.c retval = request_irq(irqnum, &usb_hcd_irq, irqflags, retval 2587 drivers/usb/core/hcd.c if (retval != 0) { retval 2591 drivers/usb/core/hcd.c return retval; retval 2637 drivers/usb/core/hcd.c int retval; retval 2645 drivers/usb/core/hcd.c retval = usb_phy_roothub_init(hcd->phy_roothub); retval 2646 drivers/usb/core/hcd.c if (retval) retval 2647 drivers/usb/core/hcd.c return retval; retval 2649 drivers/usb/core/hcd.c retval = usb_phy_roothub_set_mode(hcd->phy_roothub, retval 2651 drivers/usb/core/hcd.c if (retval) retval 2652 drivers/usb/core/hcd.c retval = usb_phy_roothub_set_mode(hcd->phy_roothub, retval 2654 drivers/usb/core/hcd.c if (retval) retval 2657 drivers/usb/core/hcd.c retval = usb_phy_roothub_power_on(hcd->phy_roothub); retval 2658 drivers/usb/core/hcd.c if (retval) retval 2693 drivers/usb/core/hcd.c retval = hcd_buffer_create(hcd); retval 2694 drivers/usb/core/hcd.c if (retval != 0) { retval 2699 drivers/usb/core/hcd.c retval = usb_register_bus(&hcd->self); retval 2700 drivers/usb/core/hcd.c if (retval < 0) retval 2706 drivers/usb/core/hcd.c retval = -ENOMEM; retval 2737 drivers/usb/core/hcd.c retval = -EINVAL; retval 2757 drivers/usb/core/hcd.c retval = hcd->driver->reset(hcd); retval 2758 drivers/usb/core/hcd.c if (retval < 0) { retval 2760 drivers/usb/core/hcd.c retval); retval 2766 drivers/usb/core/hcd.c retval = usb_phy_roothub_calibrate(hcd->phy_roothub); retval 2767 drivers/usb/core/hcd.c if (retval) retval 2783 drivers/usb/core/hcd.c retval = usb_hcd_request_irqs(hcd, irqnum, irqflags); retval 2784 drivers/usb/core/hcd.c if (retval) retval 2789 drivers/usb/core/hcd.c retval = hcd->driver->start(hcd); retval 2790 drivers/usb/core/hcd.c if (retval < 0) { retval 2791 drivers/usb/core/hcd.c dev_err(hcd->self.controller, "startup error %d\n", retval); retval 2796 drivers/usb/core/hcd.c retval = register_root_hub(hcd); retval 2797 drivers/usb/core/hcd.c if (retval != 0) retval 2803 drivers/usb/core/hcd.c return retval; retval 2829 drivers/usb/core/hcd.c return retval; retval 4455 drivers/usb/core/hub.c int retval; retval 4469 drivers/usb/core/hub.c retval = hcd->driver->address_device(hcd, udev); retval 4471 drivers/usb/core/hub.c retval = usb_control_msg(udev, usb_sndaddr0pipe(), retval 4474 drivers/usb/core/hub.c if (retval == 0) { retval 4480 drivers/usb/core/hub.c return retval; retval 4541 drivers/usb/core/hub.c int retries, operations, retval, i; retval 4566 drivers/usb/core/hub.c retval = hub_port_reset(hub, port1, udev, delay, false); retval 4567 drivers/usb/core/hub.c if (retval < 0) /* error or disconnect */ retval 4571 drivers/usb/core/hub.c retval = -ENODEV; retval 4640 drivers/usb/core/hub.c retval = -EINVAL; retval 4667 drivers/usb/core/hub.c retval = hub_enable_device(udev); retval 4668 drivers/usb/core/hub.c if (retval < 0) { retval 4671 drivers/usb/core/hub.c retval); retval 4678 drivers/usb/core/hub.c retval = -ENOMEM; retval 4721 drivers/usb/core/hub.c retval = hub_port_reset(hub, port1, udev, delay, false); retval 4722 drivers/usb/core/hub.c if (retval < 0) /* error or disconnect */ retval 4727 drivers/usb/core/hub.c retval = -ENODEV; retval 4734 drivers/usb/core/hub.c retval = -EMSGSIZE; retval 4747 drivers/usb/core/hub.c retval = hub_set_address(udev, devnum); retval 4748 drivers/usb/core/hub.c if (retval >= 0) retval 4752 drivers/usb/core/hub.c if (retval < 0) { retval 4753 drivers/usb/core/hub.c if (retval != -ENODEV) retval 4755 drivers/usb/core/hub.c devnum, retval); retval 4783 drivers/usb/core/hub.c retval = usb_get_device_descriptor(udev, 8); retval 4784 drivers/usb/core/hub.c if (retval < 8) { retval 4785 drivers/usb/core/hub.c if (retval != -ENODEV) retval 4788 drivers/usb/core/hub.c retval); retval 4789 drivers/usb/core/hub.c if (retval >= 0) retval 4790 drivers/usb/core/hub.c retval = -EMSGSIZE; retval 4794 drivers/usb/core/hub.c retval = 0; retval 4799 drivers/usb/core/hub.c retval = usb_set_isoch_delay(udev); retval 4800 drivers/usb/core/hub.c if (retval) { retval 4803 drivers/usb/core/hub.c retval); retval 4804 drivers/usb/core/hub.c retval = 0; retval 4809 drivers/usb/core/hub.c if (retval) retval 4824 drivers/usb/core/hub.c retval = -EINVAL; retval 4837 drivers/usb/core/hub.c retval = -EMSGSIZE; retval 4848 drivers/usb/core/hub.c retval = usb_get_device_descriptor(udev, USB_DT_DEVICE_SIZE); retval 4849 drivers/usb/core/hub.c if (retval < (signed)sizeof(udev->descriptor)) { retval 4850 drivers/usb/core/hub.c if (retval != -ENODEV) retval 4852 drivers/usb/core/hub.c retval); retval 4853 drivers/usb/core/hub.c if (retval >= 0) retval 4854 drivers/usb/core/hub.c retval = -ENOMSG; retval 4861 drivers/usb/core/hub.c retval = usb_get_bos_descriptor(udev); retval 4862 drivers/usb/core/hub.c if (!retval) { retval 4868 drivers/usb/core/hub.c retval = 0; retval 4874 drivers/usb/core/hub.c if (retval) { retval 4879 drivers/usb/core/hub.c return retval; retval 52 drivers/usb/core/message.c int retval; retval 57 drivers/usb/core/message.c retval = usb_submit_urb(urb, GFP_NOIO); retval 58 drivers/usb/core/message.c if (unlikely(retval)) retval 64 drivers/usb/core/message.c retval = (ctx.status == -ENOENT ? -ETIMEDOUT : ctx.status); retval 74 drivers/usb/core/message.c retval = ctx.status; retval 80 drivers/usb/core/message.c return retval; retval 302 drivers/usb/core/message.c int i, found, retval; retval 316 drivers/usb/core/message.c retval = usb_unlink_urb(io->urbs[i]); retval 317 drivers/usb/core/message.c if (retval != -EINPROGRESS && retval 318 drivers/usb/core/message.c retval != -ENODEV && retval 319 drivers/usb/core/message.c retval != -EBUSY && retval 320 drivers/usb/core/message.c retval != -EIDRM) retval 323 drivers/usb/core/message.c __func__, retval); retval 524 drivers/usb/core/message.c int retval; retval 529 drivers/usb/core/message.c retval = usb_submit_urb(io->urbs[i], GFP_NOIO); retval 531 drivers/usb/core/message.c switch (retval) { retval 536 drivers/usb/core/message.c retval = 0; retval 553 drivers/usb/core/message.c io->urbs[i]->status = retval; retval 555 drivers/usb/core/message.c __func__, retval); retval 559 drivers/usb/core/message.c if (retval && (io->status == 0 || io->status == -ECONNRESET)) retval 560 drivers/usb/core/message.c io->status = retval; retval 588 drivers/usb/core/message.c int i, retval; retval 603 drivers/usb/core/message.c retval = usb_unlink_urb(io->urbs[i]); retval 604 drivers/usb/core/message.c if (retval != -EINPROGRESS retval 605 drivers/usb/core/message.c && retval != -ENODEV retval 606 drivers/usb/core/message.c && retval != -EBUSY retval 607 drivers/usb/core/message.c && retval != -EIDRM) retval 609 drivers/usb/core/message.c __func__, retval); retval 1527 drivers/usb/core/message.c int i, retval; retval 1545 drivers/usb/core/message.c retval = 0; retval 1564 drivers/usb/core/message.c retval = usb_hcd_alloc_bandwidth(dev, NULL, retval 1566 drivers/usb/core/message.c if (retval < 0) retval 1570 drivers/usb/core/message.c if (retval < 0) { retval 1585 drivers/usb/core/message.c return retval; retval 1587 drivers/usb/core/message.c retval = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), retval 1591 drivers/usb/core/message.c if (retval < 0) retval 1721 drivers/usb/core/message.c struct usb_interface_assoc_descriptor *retval = NULL; retval 1735 drivers/usb/core/message.c if (!retval) retval 1736 drivers/usb/core/message.c retval = intf_assoc; retval 1743 drivers/usb/core/message.c return retval; retval 200 drivers/usb/core/port.c int retval; retval 216 drivers/usb/core/port.c retval = usb_autopm_get_interface(intf); retval 217 drivers/usb/core/port.c if (retval < 0) retval 218 drivers/usb/core/port.c return retval; retval 220 drivers/usb/core/port.c retval = usb_hub_set_port_power(hdev, hub, port1, true); retval 222 drivers/usb/core/port.c if (udev && !retval) { retval 247 drivers/usb/core/port.c return retval; retval 258 drivers/usb/core/port.c int retval; retval 272 drivers/usb/core/port.c retval = usb_autopm_get_interface(intf); retval 273 drivers/usb/core/port.c if (retval < 0) retval 274 drivers/usb/core/port.c return retval; retval 276 drivers/usb/core/port.c retval = usb_hub_set_port_power(hdev, hub, port1, false); retval 290 drivers/usb/core/port.c return retval; retval 535 drivers/usb/core/port.c int retval; retval 564 drivers/usb/core/port.c retval = device_register(&port_dev->dev); retval 565 drivers/usb/core/port.c if (retval) { retval 567 drivers/usb/core/port.c return retval; retval 571 drivers/usb/core/port.c retval = dev_pm_qos_add_request(&port_dev->dev, port_dev->req, retval 573 drivers/usb/core/port.c if (retval < 0) { retval 575 drivers/usb/core/port.c return retval; retval 598 drivers/usb/core/port.c retval = dev_pm_qos_expose_flags(&port_dev->dev, retval 600 drivers/usb/core/port.c if (retval < 0) { retval 606 drivers/usb/core/port.c retval = dev_pm_qos_remove_request(port_dev->req); retval 607 drivers/usb/core/port.c if (retval >= 0) { retval 128 drivers/usb/core/sysfs.c int retval; \ retval 131 drivers/usb/core/sysfs.c retval = usb_lock_device_interruptible(udev); \ retval 132 drivers/usb/core/sysfs.c if (retval < 0) \ retval 134 drivers/usb/core/sysfs.c retval = sprintf(buf, "%s\n", udev->name); \ retval 136 drivers/usb/core/sysfs.c return retval; \ retval 1039 drivers/usb/core/sysfs.c int retval; retval 1041 drivers/usb/core/sysfs.c retval = device_create_bin_file(dev, &dev_bin_attr_descriptors); retval 1042 drivers/usb/core/sysfs.c if (retval) retval 1045 drivers/usb/core/sysfs.c retval = add_persist_attributes(dev); retval 1046 drivers/usb/core/sysfs.c if (retval) retval 1049 drivers/usb/core/sysfs.c retval = add_power_attributes(dev); retval 1050 drivers/usb/core/sysfs.c if (retval) retval 1054 drivers/usb/core/sysfs.c retval = add_default_authorized_attributes(dev); retval 1055 drivers/usb/core/sysfs.c if (retval) retval 1058 drivers/usb/core/sysfs.c return retval; retval 1062 drivers/usb/core/sysfs.c return retval; retval 984 drivers/usb/core/usb.c int retval; retval 994 drivers/usb/core/usb.c retval = bus_register(&usb_bus_type); retval 995 drivers/usb/core/usb.c if (retval) retval 997 drivers/usb/core/usb.c retval = bus_register_notifier(&usb_bus_type, &usb_bus_nb); retval 998 drivers/usb/core/usb.c if (retval) retval 1000 drivers/usb/core/usb.c retval = usb_major_init(); retval 1001 drivers/usb/core/usb.c if (retval) retval 1003 drivers/usb/core/usb.c retval = usb_register(&usbfs_driver); retval 1004 drivers/usb/core/usb.c if (retval) retval 1006 drivers/usb/core/usb.c retval = usb_devio_init(); retval 1007 drivers/usb/core/usb.c if (retval) retval 1009 drivers/usb/core/usb.c retval = usb_hub_init(); retval 1010 drivers/usb/core/usb.c if (retval) retval 1012 drivers/usb/core/usb.c retval = usb_register_device_driver(&usb_generic_driver, THIS_MODULE); retval 1013 drivers/usb/core/usb.c if (!retval) retval 1031 drivers/usb/core/usb.c return retval; retval 1052 drivers/usb/dwc2/core.c int retval = 0; retval 1067 drivers/usb/dwc2/core.c retval = dwc2_core_reset(hsotg, false); retval 1069 drivers/usb/dwc2/core.c if (retval) { retval 1072 drivers/usb/dwc2/core.c return retval; retval 1116 drivers/usb/dwc2/core.c return retval; retval 1122 drivers/usb/dwc2/core.c int retval = 0; retval 1174 drivers/usb/dwc2/core.c retval = dwc2_core_reset(hsotg, false); retval 1175 drivers/usb/dwc2/core.c if (retval) { retval 1178 drivers/usb/dwc2/core.c return retval; retval 1182 drivers/usb/dwc2/core.c return retval; retval 1188 drivers/usb/dwc2/core.c int retval = 0; retval 1194 drivers/usb/dwc2/core.c retval = dwc2_fs_phy_init(hsotg, select_phy); retval 1195 drivers/usb/dwc2/core.c if (retval) retval 1196 drivers/usb/dwc2/core.c return retval; retval 1199 drivers/usb/dwc2/core.c retval = dwc2_hs_phy_init(hsotg, select_phy); retval 1200 drivers/usb/dwc2/core.c if (retval) retval 1201 drivers/usb/dwc2/core.c return retval; retval 1219 drivers/usb/dwc2/core.c return retval; retval 784 drivers/usb/dwc2/core_intr.c irqreturn_t retval = IRQ_NONE; retval 803 drivers/usb/dwc2/core_intr.c retval = IRQ_HANDLED; retval 808 drivers/usb/dwc2/core_intr.c retval = IRQ_HANDLED; retval 838 drivers/usb/dwc2/core_intr.c retval = IRQ_HANDLED; retval 844 drivers/usb/dwc2/core_intr.c return retval; retval 1883 drivers/usb/dwc2/hcd.c int retval; retval 1909 drivers/usb/dwc2/hcd.c retval = dwc2_hcd_qtd_add(hsotg, qtd, qh); retval 1910 drivers/usb/dwc2/hcd.c if (retval) { retval 1913 drivers/usb/dwc2/hcd.c retval); retval 1914 drivers/usb/dwc2/hcd.c return retval; retval 2078 drivers/usb/dwc2/hcd.c int retval; retval 2104 drivers/usb/dwc2/hcd.c retval = dwc2_core_reset(hsotg, false); retval 2105 drivers/usb/dwc2/hcd.c if (retval) { retval 2108 drivers/usb/dwc2/hcd.c return retval; retval 2115 drivers/usb/dwc2/hcd.c retval = dwc2_phy_init(hsotg, initial_setup); retval 2116 drivers/usb/dwc2/hcd.c if (retval) retval 2117 drivers/usb/dwc2/hcd.c return retval; retval 2120 drivers/usb/dwc2/hcd.c retval = dwc2_gahbcfg_init(hsotg); retval 2121 drivers/usb/dwc2/hcd.c if (retval) retval 2122 drivers/usb/dwc2/hcd.c return retval; retval 2820 drivers/usb/dwc2/hcd.c int retval = 0; retval 2850 drivers/usb/dwc2/hcd.c retval = 1; retval 2852 drivers/usb/dwc2/hcd.c retval = dwc2_hc_continue_transfer(hsotg, chan); retval 2855 drivers/usb/dwc2/hcd.c retval = -1; retval 2860 drivers/usb/dwc2/hcd.c retval = 1; retval 2862 drivers/usb/dwc2/hcd.c retval = dwc2_hc_continue_transfer(hsotg, chan); retval 2866 drivers/usb/dwc2/hcd.c return retval; retval 3373 drivers/usb/dwc2/hcd.c int retval = 0; retval 3391 drivers/usb/dwc2/hcd.c retval = -EINVAL; retval 3490 drivers/usb/dwc2/hcd.c retval = -EINVAL; retval 3703 drivers/usb/dwc2/hcd.c retval = -EINVAL; retval 3713 drivers/usb/dwc2/hcd.c retval = -EINVAL; retval 3720 drivers/usb/dwc2/hcd.c return retval; retval 3725 drivers/usb/dwc2/hcd.c int retval; retval 3730 drivers/usb/dwc2/hcd.c retval = (hsotg->flags.b.port_connect_status_change || retval 3736 drivers/usb/dwc2/hcd.c if (retval) { retval 3751 drivers/usb/dwc2/hcd.c return retval; retval 4557 drivers/usb/dwc2/hcd.c int retval; retval 4616 drivers/usb/dwc2/hcd.c retval = -EINVAL; retval 4647 drivers/usb/dwc2/hcd.c retval = -ENOMEM; retval 4656 drivers/usb/dwc2/hcd.c retval = -ENOMEM; retval 4661 drivers/usb/dwc2/hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 4662 drivers/usb/dwc2/hcd.c if (retval) retval 4665 drivers/usb/dwc2/hcd.c retval = dwc2_hcd_urb_enqueue(hsotg, dwc2_urb, qh, qtd); retval 4666 drivers/usb/dwc2/hcd.c if (retval) retval 4703 drivers/usb/dwc2/hcd.c return retval; retval 4818 drivers/usb/dwc2/hcd.c int retval = dwc2_hcd_hub_control(dwc2_hcd_to_hsotg(hcd), typereq, retval 4820 drivers/usb/dwc2/hcd.c return retval; retval 5017 drivers/usb/dwc2/hcd.c int retval; retval 5024 drivers/usb/dwc2/hcd.c retval = -ENOMEM; retval 5088 drivers/usb/dwc2/hcd.c retval = dwc2_core_init(hsotg, true); retval 5089 drivers/usb/dwc2/hcd.c if (retval) retval 5093 drivers/usb/dwc2/hcd.c retval = -ENOMEM; retval 5230 drivers/usb/dwc2/hcd.c retval = usb_add_hcd(hcd, hsotg->irq, IRQF_SHARED); retval 5231 drivers/usb/dwc2/hcd.c if (retval < 0) retval 5257 drivers/usb/dwc2/hcd.c dev_err(hsotg->dev, "%s() FAILED, returning %d\n", __func__, retval); retval 5258 drivers/usb/dwc2/hcd.c return retval; retval 345 drivers/usb/dwc2/hcd_ddma.c int retval; retval 350 drivers/usb/dwc2/hcd_ddma.c retval = -EINVAL; retval 354 drivers/usb/dwc2/hcd_ddma.c retval = dwc2_desc_list_alloc(hsotg, qh, mem_flags); retval 355 drivers/usb/dwc2/hcd_ddma.c if (retval) retval 361 drivers/usb/dwc2/hcd_ddma.c retval = dwc2_frame_list_alloc(hsotg, mem_flags); retval 362 drivers/usb/dwc2/hcd_ddma.c if (retval) retval 375 drivers/usb/dwc2/hcd_ddma.c return retval; retval 2224 drivers/usb/dwc2/hcd_intr.c irqreturn_t retval = IRQ_NONE; retval 2228 drivers/usb/dwc2/hcd_intr.c return retval; retval 2238 drivers/usb/dwc2/hcd_intr.c return retval; retval 2241 drivers/usb/dwc2/hcd_intr.c retval = IRQ_HANDLED; retval 2282 drivers/usb/dwc2/hcd_intr.c return retval; retval 2081 drivers/usb/dwc2/hcd_queue.c int retval; retval 2085 drivers/usb/dwc2/hcd_queue.c retval = -EINVAL; retval 2089 drivers/usb/dwc2/hcd_queue.c retval = dwc2_hcd_qh_add(hsotg, qh); retval 2090 drivers/usb/dwc2/hcd_queue.c if (retval) retval 2098 drivers/usb/dwc2/hcd_queue.c return retval; retval 376 drivers/usb/dwc2/platform.c int retval; retval 389 drivers/usb/dwc2/platform.c retval = dma_set_coherent_mask(&dev->dev, DMA_BIT_MASK(32)); retval 390 drivers/usb/dwc2/platform.c if (retval) { retval 391 drivers/usb/dwc2/platform.c dev_err(&dev->dev, "can't set coherent DMA mask: %d\n", retval); retval 392 drivers/usb/dwc2/platform.c return retval; retval 403 drivers/usb/dwc2/platform.c retval = dwc2_lowlevel_hw_init(hsotg); retval 404 drivers/usb/dwc2/platform.c if (retval) retval 405 drivers/usb/dwc2/platform.c return retval; retval 415 drivers/usb/dwc2/platform.c retval = devm_request_irq(hsotg->dev, hsotg->irq, retval 418 drivers/usb/dwc2/platform.c if (retval) retval 419 drivers/usb/dwc2/platform.c return retval; retval 423 drivers/usb/dwc2/platform.c retval = PTR_ERR(hsotg->vbus_supply); retval 425 drivers/usb/dwc2/platform.c if (retval != -ENODEV) retval 426 drivers/usb/dwc2/platform.c return retval; retval 429 drivers/usb/dwc2/platform.c retval = dwc2_lowlevel_hw_enable(hsotg); retval 430 drivers/usb/dwc2/platform.c if (retval) retval 431 drivers/usb/dwc2/platform.c return retval; retval 435 drivers/usb/dwc2/platform.c retval = dwc2_get_dr_mode(hsotg); retval 436 drivers/usb/dwc2/platform.c if (retval) retval 447 drivers/usb/dwc2/platform.c retval = dwc2_core_reset(hsotg, false); retval 448 drivers/usb/dwc2/platform.c if (retval) retval 452 drivers/usb/dwc2/platform.c retval = dwc2_get_hwparams(hsotg); retval 453 drivers/usb/dwc2/platform.c if (retval) retval 463 drivers/usb/dwc2/platform.c retval = dwc2_init_params(hsotg); retval 464 drivers/usb/dwc2/platform.c if (retval) retval 468 drivers/usb/dwc2/platform.c retval = dwc2_gadget_init(hsotg); retval 469 drivers/usb/dwc2/platform.c if (retval) retval 492 drivers/usb/dwc2/platform.c retval = dwc2_hcd_init(hsotg); retval 493 drivers/usb/dwc2/platform.c if (retval) { retval 514 drivers/usb/dwc2/platform.c return retval; retval 172 drivers/usb/gadget/function/rndis.c int retval = -ENOTSUPP; retval 215 drivers/usb/gadget/function/rndis.c retval = 0; retval 228 drivers/usb/gadget/function/rndis.c retval = 0; retval 235 drivers/usb/gadget/function/rndis.c retval = 0; retval 243 drivers/usb/gadget/function/rndis.c retval = 0; retval 251 drivers/usb/gadget/function/rndis.c retval = 0; retval 263 drivers/usb/gadget/function/rndis.c retval = 0; retval 271 drivers/usb/gadget/function/rndis.c retval = 0; retval 280 drivers/usb/gadget/function/rndis.c retval = 0; retval 288 drivers/usb/gadget/function/rndis.c retval = 0; retval 300 drivers/usb/gadget/function/rndis.c retval = 0; retval 307 drivers/usb/gadget/function/rndis.c retval = 0; retval 314 drivers/usb/gadget/function/rndis.c retval = 0; retval 321 drivers/usb/gadget/function/rndis.c retval = 0; retval 329 drivers/usb/gadget/function/rndis.c retval = 0; retval 335 drivers/usb/gadget/function/rndis.c retval = 0; retval 347 drivers/usb/gadget/function/rndis.c retval = 0; retval 359 drivers/usb/gadget/function/rndis.c retval = 0; retval 370 drivers/usb/gadget/function/rndis.c retval = 0; retval 380 drivers/usb/gadget/function/rndis.c retval = 0; retval 390 drivers/usb/gadget/function/rndis.c retval = 0; retval 399 drivers/usb/gadget/function/rndis.c retval = 0; retval 411 drivers/usb/gadget/function/rndis.c retval = 0; retval 421 drivers/usb/gadget/function/rndis.c retval = 0; retval 430 drivers/usb/gadget/function/rndis.c retval = 0; retval 438 drivers/usb/gadget/function/rndis.c retval = 0; retval 444 drivers/usb/gadget/function/rndis.c retval = 0; retval 454 drivers/usb/gadget/function/rndis.c retval = 0; retval 462 drivers/usb/gadget/function/rndis.c retval = 0; retval 469 drivers/usb/gadget/function/rndis.c retval = 0; retval 475 drivers/usb/gadget/function/rndis.c if (retval < 0) retval 481 drivers/usb/gadget/function/rndis.c return retval; retval 488 drivers/usb/gadget/function/rndis.c int i, retval = -ENOTSUPP; retval 524 drivers/usb/gadget/function/rndis.c retval = 0; retval 540 drivers/usb/gadget/function/rndis.c retval = 0; retval 548 drivers/usb/gadget/function/rndis.c return retval; retval 179 drivers/usb/gadget/function/u_ether.c int retval = -ENOMEM; retval 238 drivers/usb/gadget/function/u_ether.c retval = usb_ep_queue(out, req, gfp_flags); retval 239 drivers/usb/gadget/function/u_ether.c if (retval == -ENOMEM) retval 242 drivers/usb/gadget/function/u_ether.c if (retval) { retval 243 drivers/usb/gadget/function/u_ether.c DBG(dev, "rx submit --> %d\n", retval); retval 250 drivers/usb/gadget/function/u_ether.c return retval; retval 477 drivers/usb/gadget/function/u_ether.c int retval; retval 584 drivers/usb/gadget/function/u_ether.c retval = usb_ep_queue(in, req, GFP_ATOMIC); retval 585 drivers/usb/gadget/function/u_ether.c switch (retval) { retval 587 drivers/usb/gadget/function/u_ether.c DBG(dev, "tx queue err %d\n", retval); retval 594 drivers/usb/gadget/function/u_ether.c if (retval) { retval 910 drivers/usb/gadget/legacy/inode.c ssize_t retval; retval 915 drivers/usb/gadget/legacy/inode.c retval = -EINVAL; retval 922 drivers/usb/gadget/legacy/inode.c retval = -EIDRM; retval 932 drivers/usb/gadget/legacy/inode.c retval = -EL2HLT; retval 939 drivers/usb/gadget/legacy/inode.c if ((retval = setup_req (ep, req, 0)) == 0) { retval 942 drivers/usb/gadget/legacy/inode.c retval = usb_ep_queue (ep, req, GFP_KERNEL); retval 964 drivers/usb/gadget/legacy/inode.c retval = -EAGAIN; retval 968 drivers/usb/gadget/legacy/inode.c retval = wait_event_interruptible (dev->wait, retval 973 drivers/usb/gadget/legacy/inode.c if (retval) retval 977 drivers/usb/gadget/legacy/inode.c retval = -ECANCELED; retval 983 drivers/usb/gadget/legacy/inode.c retval = -EIO; retval 989 drivers/usb/gadget/legacy/inode.c retval = -EFAULT; retval 991 drivers/usb/gadget/legacy/inode.c retval = len; retval 1003 drivers/usb/gadget/legacy/inode.c retval = -EINVAL; retval 1029 drivers/usb/gadget/legacy/inode.c retval = -EFAULT; retval 1031 drivers/usb/gadget/legacy/inode.c retval = len; retval 1045 drivers/usb/gadget/legacy/inode.c return retval; retval 1048 drivers/usb/gadget/legacy/inode.c retval = -EAGAIN; retval 1055 drivers/usb/gadget/legacy/inode.c retval = -ESRCH; retval 1063 drivers/usb/gadget/legacy/inode.c retval = wait_event_interruptible (dev->wait, retval 1065 drivers/usb/gadget/legacy/inode.c if (retval < 0) retval 1066 drivers/usb/gadget/legacy/inode.c return retval; retval 1073 drivers/usb/gadget/legacy/inode.c return retval; retval 1122 drivers/usb/gadget/legacy/inode.c ssize_t retval = -ESRCH; retval 1127 drivers/usb/gadget/legacy/inode.c retval = -EIDRM; retval 1134 drivers/usb/gadget/legacy/inode.c retval = setup_req (dev->gadget->ep0, dev->req, len); retval 1135 drivers/usb/gadget/legacy/inode.c if (retval == 0) { retval 1140 drivers/usb/gadget/legacy/inode.c retval = -EFAULT; retval 1144 drivers/usb/gadget/legacy/inode.c retval = usb_ep_queue ( retval 1150 drivers/usb/gadget/legacy/inode.c if (retval < 0) { retval 1153 drivers/usb/gadget/legacy/inode.c retval = len; retval 1155 drivers/usb/gadget/legacy/inode.c return retval; retval 1162 drivers/usb/gadget/legacy/inode.c retval = -EL2HLT; retval 1170 drivers/usb/gadget/legacy/inode.c return retval; retval 90 drivers/usb/gadget/udc/amd5536udc_pci.c int retval = 0; retval 105 drivers/usb/gadget/udc/amd5536udc_pci.c retval = -ENODEV; retval 115 drivers/usb/gadget/udc/amd5536udc_pci.c retval = -EBUSY; retval 122 drivers/usb/gadget/udc/amd5536udc_pci.c retval = -EFAULT; retval 128 drivers/usb/gadget/udc/amd5536udc_pci.c retval = -ENODEV; retval 145 drivers/usb/gadget/udc/amd5536udc_pci.c retval = -EBUSY; retval 159 drivers/usb/gadget/udc/amd5536udc_pci.c retval = init_dma_pools(dev); retval 160 drivers/usb/gadget/udc/amd5536udc_pci.c if (retval != 0) retval 171 drivers/usb/gadget/udc/amd5536udc_pci.c retval = -ENODEV; retval 189 drivers/usb/gadget/udc/amd5536udc_pci.c return retval; retval 1810 drivers/usb/gadget/udc/at91_udc.c int retval; retval 1848 drivers/usb/gadget/udc/at91_udc.c retval = udc->caps->init(udc); retval 1849 drivers/usb/gadget/udc/at91_udc.c if (retval) retval 1850 drivers/usb/gadget/udc/at91_udc.c return retval; retval 1866 drivers/usb/gadget/udc/at91_udc.c retval = clk_prepare(udc->fclk); retval 1867 drivers/usb/gadget/udc/at91_udc.c if (retval) retval 1868 drivers/usb/gadget/udc/at91_udc.c return retval; retval 1870 drivers/usb/gadget/udc/at91_udc.c retval = clk_prepare_enable(udc->iclk); retval 1871 drivers/usb/gadget/udc/at91_udc.c if (retval) retval 1882 drivers/usb/gadget/udc/at91_udc.c retval = devm_request_irq(dev, udc->udp_irq, at91_udc_irq, 0, retval 1884 drivers/usb/gadget/udc/at91_udc.c if (retval) { retval 1890 drivers/usb/gadget/udc/at91_udc.c retval = devm_gpio_request(dev, udc->board.vbus_pin, retval 1892 drivers/usb/gadget/udc/at91_udc.c if (retval) { retval 1912 drivers/usb/gadget/udc/at91_udc.c retval = devm_request_irq(dev, retval 1915 drivers/usb/gadget/udc/at91_udc.c if (retval) { retval 1925 drivers/usb/gadget/udc/at91_udc.c retval = usb_add_gadget_udc(dev, &udc->gadget); retval 1926 drivers/usb/gadget/udc/at91_udc.c if (retval) retval 1940 drivers/usb/gadget/udc/at91_udc.c DBG("%s probe failed, %d\n", driver_name, retval); retval 1942 drivers/usb/gadget/udc/at91_udc.c return retval; retval 1305 drivers/usb/gadget/udc/atmel_usba_udc.c int retval = 0; retval 1412 drivers/usb/gadget/udc/atmel_usba_udc.c retval = udc->driver->setup(&udc->gadget, crq); retval 1416 drivers/usb/gadget/udc/atmel_usba_udc.c return retval; retval 505 drivers/usb/gadget/udc/dummy_hcd.c int retval; retval 534 drivers/usb/gadget/udc/dummy_hcd.c retval = -EINVAL; retval 628 drivers/usb/gadget/udc/dummy_hcd.c retval = 0; retval 630 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 749 drivers/usb/gadget/udc/dummy_hcd.c int retval = -EINVAL; retval 754 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 767 drivers/usb/gadget/udc/dummy_hcd.c retval = 0; retval 773 drivers/usb/gadget/udc/dummy_hcd.c if (retval == 0) { retval 780 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 1996 drivers/usb/gadget/udc/dummy_hcd.c int retval = 0; retval 2014 drivers/usb/gadget/udc/dummy_hcd.c retval = 1; retval 2020 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 2080 drivers/usb/gadget/udc/dummy_hcd.c int retval = 0; retval 2144 drivers/usb/gadget/udc/dummy_hcd.c retval = sizeof(usb3_bos_desc); retval 2152 drivers/usb/gadget/udc/dummy_hcd.c retval = -EPIPE; retval 2192 drivers/usb/gadget/udc/dummy_hcd.c retval = -EPIPE; retval 2317 drivers/usb/gadget/udc/dummy_hcd.c retval = -EPIPE; retval 2323 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 2623 drivers/usb/gadget/udc/dummy_hcd.c int retval; retval 2639 drivers/usb/gadget/udc/dummy_hcd.c retval = usb_add_hcd(hs_hcd, 0, 0); retval 2640 drivers/usb/gadget/udc/dummy_hcd.c if (retval) retval 2647 drivers/usb/gadget/udc/dummy_hcd.c retval = -ENOMEM; retval 2651 drivers/usb/gadget/udc/dummy_hcd.c retval = usb_add_hcd(ss_hcd, 0, 0); retval 2652 drivers/usb/gadget/udc/dummy_hcd.c if (retval) retval 2664 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 2734 drivers/usb/gadget/udc/dummy_hcd.c int retval = -ENOMEM; retval 2756 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 2771 drivers/usb/gadget/udc/dummy_hcd.c retval = -ENOMEM; retval 2774 drivers/usb/gadget/udc/dummy_hcd.c retval = platform_device_add_data(the_hcd_pdev[i], &dum[i], retval 2776 drivers/usb/gadget/udc/dummy_hcd.c if (retval) retval 2778 drivers/usb/gadget/udc/dummy_hcd.c retval = platform_device_add_data(the_udc_pdev[i], &dum[i], retval 2780 drivers/usb/gadget/udc/dummy_hcd.c if (retval) retval 2784 drivers/usb/gadget/udc/dummy_hcd.c retval = platform_driver_register(&dummy_hcd_driver); retval 2785 drivers/usb/gadget/udc/dummy_hcd.c if (retval < 0) retval 2787 drivers/usb/gadget/udc/dummy_hcd.c retval = platform_driver_register(&dummy_udc_driver); retval 2788 drivers/usb/gadget/udc/dummy_hcd.c if (retval < 0) retval 2792 drivers/usb/gadget/udc/dummy_hcd.c retval = platform_device_add(the_hcd_pdev[i]); retval 2793 drivers/usb/gadget/udc/dummy_hcd.c if (retval < 0) { retval 2807 drivers/usb/gadget/udc/dummy_hcd.c retval = -EINVAL; retval 2813 drivers/usb/gadget/udc/dummy_hcd.c retval = platform_device_add(the_udc_pdev[i]); retval 2814 drivers/usb/gadget/udc/dummy_hcd.c if (retval < 0) { retval 2828 drivers/usb/gadget/udc/dummy_hcd.c retval = -EINVAL; retval 2832 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 2852 drivers/usb/gadget/udc/dummy_hcd.c return retval; retval 1580 drivers/usb/gadget/udc/fsl_qe_udc.c int retval = 0; retval 1596 drivers/usb/gadget/udc/fsl_qe_udc.c retval = qe_ep_init(udc, epnum, desc); retval 1597 drivers/usb/gadget/udc/fsl_qe_udc.c if (retval != 0) { retval 550 drivers/usb/gadget/udc/fsl_udc_core.c int retval = -EINVAL; retval 617 drivers/usb/gadget/udc/fsl_udc_core.c retval = 0; retval 624 drivers/usb/gadget/udc/fsl_udc_core.c return retval; retval 1943 drivers/usb/gadget/udc/fsl_udc_core.c int retval = 0; retval 1962 drivers/usb/gadget/udc/fsl_udc_core.c retval = otg_set_peripheral( retval 1965 drivers/usb/gadget/udc/fsl_udc_core.c if (retval < 0) { retval 1968 drivers/usb/gadget/udc/fsl_udc_core.c return retval; retval 1979 drivers/usb/gadget/udc/fsl_udc_core.c return retval; retval 882 drivers/usb/gadget/udc/goku_udc.c int retval = 0; retval 903 drivers/usb/gadget/udc/goku_udc.c retval = -EAGAIN; retval 908 drivers/usb/gadget/udc/goku_udc.c retval = -EAGAIN; retval 918 drivers/usb/gadget/udc/goku_udc.c return retval; retval 1745 drivers/usb/gadget/udc/goku_udc.c int retval; retval 1749 drivers/usb/gadget/udc/goku_udc.c retval = -ENODEV; retval 1756 drivers/usb/gadget/udc/goku_udc.c retval = -ENOMEM; retval 1769 drivers/usb/gadget/udc/goku_udc.c retval = pci_enable_device(pdev); retval 1770 drivers/usb/gadget/udc/goku_udc.c if (retval < 0) { retval 1771 drivers/usb/gadget/udc/goku_udc.c DBG(dev, "can't enable, %d\n", retval); retval 1780 drivers/usb/gadget/udc/goku_udc.c retval = -EBUSY; retval 1788 drivers/usb/gadget/udc/goku_udc.c retval = -EFAULT; retval 1804 drivers/usb/gadget/udc/goku_udc.c retval = -EBUSY; retval 1816 drivers/usb/gadget/udc/goku_udc.c retval = usb_add_gadget_udc_release(&pdev->dev, &dev->gadget, retval 1818 drivers/usb/gadget/udc/goku_udc.c if (retval) retval 1828 drivers/usb/gadget/udc/goku_udc.c return retval; retval 706 drivers/usb/gadget/udc/gr_udc.c int retval = 0; retval 745 drivers/usb/gadget/udc/gr_udc.c return retval; retval 2123 drivers/usb/gadget/udc/gr_udc.c int retval; retval 2180 drivers/usb/gadget/udc/gr_udc.c retval = usb_add_gadget_udc(dev->dev, &dev->gadget); retval 2181 drivers/usb/gadget/udc/gr_udc.c if (retval) { retval 2189 drivers/usb/gadget/udc/gr_udc.c retval = gr_udc_init(dev); retval 2190 drivers/usb/gadget/udc/gr_udc.c if (retval) { retval 2202 drivers/usb/gadget/udc/gr_udc.c retval = gr_request_irq(dev, dev->irq); retval 2203 drivers/usb/gadget/udc/gr_udc.c if (retval) { retval 2209 drivers/usb/gadget/udc/gr_udc.c retval = gr_request_irq(dev, dev->irqi); retval 2210 drivers/usb/gadget/udc/gr_udc.c if (retval) { retval 2215 drivers/usb/gadget/udc/gr_udc.c retval = gr_request_irq(dev, dev->irqo); retval 2216 drivers/usb/gadget/udc/gr_udc.c if (retval) { retval 2230 drivers/usb/gadget/udc/gr_udc.c if (retval) retval 2233 drivers/usb/gadget/udc/gr_udc.c return retval; retval 3002 drivers/usb/gadget/udc/lpc32xx_udc.c int retval, i; retval 3037 drivers/usb/gadget/udc/lpc32xx_udc.c retval = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32)); retval 3038 drivers/usb/gadget/udc/lpc32xx_udc.c if (retval) retval 3039 drivers/usb/gadget/udc/lpc32xx_udc.c return retval; retval 3078 drivers/usb/gadget/udc/lpc32xx_udc.c retval = clk_prepare_enable(udc->usb_slv_clk); retval 3079 drivers/usb/gadget/udc/lpc32xx_udc.c if (retval < 0) { retval 3081 drivers/usb/gadget/udc/lpc32xx_udc.c return retval; retval 3101 drivers/usb/gadget/udc/lpc32xx_udc.c retval = -ENOMEM; retval 3114 drivers/usb/gadget/udc/lpc32xx_udc.c retval = -ENOMEM; retval 3124 drivers/usb/gadget/udc/lpc32xx_udc.c retval = devm_request_irq(dev, udc->udp_irq[IRQ_USB_LP], retval 3126 drivers/usb/gadget/udc/lpc32xx_udc.c if (retval < 0) { retval 3131 drivers/usb/gadget/udc/lpc32xx_udc.c retval = devm_request_irq(dev, udc->udp_irq[IRQ_USB_HP], retval 3133 drivers/usb/gadget/udc/lpc32xx_udc.c if (retval < 0) { retval 3139 drivers/usb/gadget/udc/lpc32xx_udc.c retval = devm_request_irq(dev, udc->udp_irq[IRQ_USB_DEVDMA], retval 3141 drivers/usb/gadget/udc/lpc32xx_udc.c if (retval < 0) { retval 3149 drivers/usb/gadget/udc/lpc32xx_udc.c retval = devm_request_threaded_irq(dev, udc->udp_irq[IRQ_USB_ATX], NULL, retval 3152 drivers/usb/gadget/udc/lpc32xx_udc.c if (retval < 0) { retval 3162 drivers/usb/gadget/udc/lpc32xx_udc.c retval = usb_add_gadget_udc(dev, &udc->gadget); retval 3163 drivers/usb/gadget/udc/lpc32xx_udc.c if (retval < 0) retval 3184 drivers/usb/gadget/udc/lpc32xx_udc.c dev_err(udc->dev, "%s probe failed, %d\n", driver_name, retval); retval 3186 drivers/usb/gadget/udc/lpc32xx_udc.c return retval; retval 121 drivers/usb/gadget/udc/mv_u3d_core.c int retval = 0; retval 157 drivers/usb/gadget/udc/mv_u3d_core.c retval = -EPROTO; retval 162 drivers/usb/gadget/udc/mv_u3d_core.c if (retval) retval 163 drivers/usb/gadget/udc/mv_u3d_core.c return retval; retval 224 drivers/usb/gadget/udc/mv_u3d_core.c int retval = 0; retval 238 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENOMEM; retval 265 drivers/usb/gadget/udc/mv_u3d_core.c return retval; retval 1094 drivers/usb/gadget/udc/mv_u3d_core.c int retval; retval 1107 drivers/usb/gadget/udc/mv_u3d_core.c retval = pdata->phy_init(u3d->phy_regs); retval 1108 drivers/usb/gadget/udc/mv_u3d_core.c if (retval) { retval 1110 drivers/usb/gadget/udc/mv_u3d_core.c "init phy error %d\n", retval); retval 1112 drivers/usb/gadget/udc/mv_u3d_core.c return retval; retval 1136 drivers/usb/gadget/udc/mv_u3d_core.c int retval = 0; retval 1151 drivers/usb/gadget/udc/mv_u3d_core.c retval = mv_u3d_enable(u3d); retval 1152 drivers/usb/gadget/udc/mv_u3d_core.c if (retval == 0) { retval 1173 drivers/usb/gadget/udc/mv_u3d_core.c return retval; retval 1196 drivers/usb/gadget/udc/mv_u3d_core.c int retval = 0; retval 1204 drivers/usb/gadget/udc/mv_u3d_core.c retval = mv_u3d_enable(u3d); retval 1205 drivers/usb/gadget/udc/mv_u3d_core.c if (retval == 0) { retval 1223 drivers/usb/gadget/udc/mv_u3d_core.c return retval; retval 1786 drivers/usb/gadget/udc/mv_u3d_core.c int retval = 0; retval 1792 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENODEV; retval 1798 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENOMEM; retval 1811 drivers/usb/gadget/udc/mv_u3d_core.c retval = PTR_ERR(u3d->clk); retval 1818 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENODEV; retval 1826 drivers/usb/gadget/udc/mv_u3d_core.c retval = -EBUSY; retval 1835 drivers/usb/gadget/udc/mv_u3d_core.c retval = clk_enable(u3d->clk); retval 1836 drivers/usb/gadget/udc/mv_u3d_core.c if (retval) { retval 1837 drivers/usb/gadget/udc/mv_u3d_core.c dev_err(&dev->dev, "clk_enable error %d\n", retval); retval 1842 drivers/usb/gadget/udc/mv_u3d_core.c retval = pdata->phy_init(u3d->phy_regs); retval 1843 drivers/usb/gadget/udc/mv_u3d_core.c if (retval) { retval 1844 drivers/usb/gadget/udc/mv_u3d_core.c dev_err(&dev->dev, "init phy error %d\n", retval); retval 1876 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENOMEM; retval 1889 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENOMEM; retval 1896 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENOMEM; retval 1903 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENOMEM; retval 1921 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENODEV; retval 1930 drivers/usb/gadget/udc/mv_u3d_core.c retval = -ENODEV; retval 1957 drivers/usb/gadget/udc/mv_u3d_core.c retval = usb_add_gadget_udc(&dev->dev, &u3d->gadget); retval 1958 drivers/usb/gadget/udc/mv_u3d_core.c if (retval) retval 1989 drivers/usb/gadget/udc/mv_u3d_core.c return retval; retval 2019 drivers/usb/gadget/udc/mv_u3d_core.c int retval; retval 2022 drivers/usb/gadget/udc/mv_u3d_core.c retval = mv_u3d_enable(u3d); retval 2023 drivers/usb/gadget/udc/mv_u3d_core.c if (retval) retval 2024 drivers/usb/gadget/udc/mv_u3d_core.c return retval; retval 129 drivers/usb/gadget/udc/mv_udc_core.c int retval = 0; retval 157 drivers/usb/gadget/udc/mv_udc_core.c retval = -EPROTO; retval 170 drivers/usb/gadget/udc/mv_udc_core.c retval = -EPIPE; retval 172 drivers/usb/gadget/udc/mv_udc_core.c retval = -EPROTO; retval 174 drivers/usb/gadget/udc/mv_udc_core.c retval = -EILSEQ; retval 180 drivers/usb/gadget/udc/mv_udc_core.c if (retval) retval 181 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 259 drivers/usb/gadget/udc/mv_udc_core.c int retval = 0; retval 303 drivers/usb/gadget/udc/mv_udc_core.c retval = -ETIME; retval 332 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 689 drivers/usb/gadget/udc/mv_udc_core.c int retval; retval 709 drivers/usb/gadget/udc/mv_udc_core.c retval = usb_gadget_map_request(&udc->gadget, _req, ep_dir(ep)); retval 710 drivers/usb/gadget/udc/mv_udc_core.c if (retval) retval 711 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 721 drivers/usb/gadget/udc/mv_udc_core.c retval = queue_dtd(ep, req); retval 722 drivers/usb/gadget/udc/mv_udc_core.c if (retval) { retval 730 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENOMEM; retval 747 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1062 drivers/usb/gadget/udc/mv_udc_core.c int retval; retval 1068 drivers/usb/gadget/udc/mv_udc_core.c retval = udc_clock_enable(udc); retval 1069 drivers/usb/gadget/udc/mv_udc_core.c if (retval) retval 1070 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1073 drivers/usb/gadget/udc/mv_udc_core.c retval = udc->pdata->phy_init(udc->phy_regs); retval 1074 drivers/usb/gadget/udc/mv_udc_core.c if (retval) { retval 1076 drivers/usb/gadget/udc/mv_udc_core.c "init phy error %d\n", retval); retval 1078 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1114 drivers/usb/gadget/udc/mv_udc_core.c u16 retval; retval 1121 drivers/usb/gadget/udc/mv_udc_core.c retval = readl(&udc->op_regs->frindex) & USB_FRINDEX_MASKS; retval 1123 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1150 drivers/usb/gadget/udc/mv_udc_core.c int retval = 0; retval 1161 drivers/usb/gadget/udc/mv_udc_core.c retval = mv_udc_enable(udc); retval 1162 drivers/usb/gadget/udc/mv_udc_core.c if (retval == 0) { retval 1180 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1187 drivers/usb/gadget/udc/mv_udc_core.c int retval = 0; retval 1198 drivers/usb/gadget/udc/mv_udc_core.c retval = mv_udc_enable(udc); retval 1199 drivers/usb/gadget/udc/mv_udc_core.c if (retval == 0) { retval 1213 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1350 drivers/usb/gadget/udc/mv_udc_core.c int retval = 0; retval 1371 drivers/usb/gadget/udc/mv_udc_core.c retval = otg_set_peripheral(udc->transceiver->otg, retval 1373 drivers/usb/gadget/udc/mv_udc_core.c if (retval) { retval 1377 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1444 drivers/usb/gadget/udc/mv_udc_core.c int retval = 0; retval 1481 drivers/usb/gadget/udc/mv_udc_core.c retval = queue_dtd(ep, req); retval 1482 drivers/usb/gadget/udc/mv_udc_core.c if (retval) { retval 1488 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENOMEM; retval 1500 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1529 drivers/usb/gadget/udc/mv_udc_core.c int retval; retval 1553 drivers/usb/gadget/udc/mv_udc_core.c retval = udc_prime_status(udc, EP_DIR_IN, status, false); retval 1554 drivers/usb/gadget/udc/mv_udc_core.c if (retval) retval 2112 drivers/usb/gadget/udc/mv_udc_core.c int retval = 0; retval 2135 drivers/usb/gadget/udc/mv_udc_core.c retval = PTR_ERR(udc->transceiver); retval 2137 drivers/usb/gadget/udc/mv_udc_core.c if (retval == -ENXIO) retval 2138 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 2176 drivers/usb/gadget/udc/mv_udc_core.c retval = mv_udc_enable_internal(udc); retval 2177 drivers/usb/gadget/udc/mv_udc_core.c if (retval) retval 2178 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 2200 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENOMEM; retval 2213 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENOMEM; retval 2220 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENOMEM; retval 2228 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENOMEM; retval 2245 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENODEV; retval 2253 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENODEV; retval 2274 drivers/usb/gadget/udc/mv_udc_core.c retval = devm_request_threaded_irq(&pdev->dev, retval 2277 drivers/usb/gadget/udc/mv_udc_core.c if (retval) { retval 2287 drivers/usb/gadget/udc/mv_udc_core.c retval = -ENOMEM; retval 2304 drivers/usb/gadget/udc/mv_udc_core.c retval = usb_add_gadget_udc_release(&pdev->dev, &udc->gadget, retval 2306 drivers/usb/gadget/udc/mv_udc_core.c if (retval) retval 2325 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 2366 drivers/usb/gadget/udc/mv_udc_core.c int retval; retval 2375 drivers/usb/gadget/udc/mv_udc_core.c retval = mv_udc_enable_internal(udc); retval 2376 drivers/usb/gadget/udc/mv_udc_core.c if (retval) retval 2377 drivers/usb/gadget/udc/mv_udc_core.c return retval; retval 1332 drivers/usb/gadget/udc/net2280.c int retval = 0; retval 1340 drivers/usb/gadget/udc/net2280.c retval = -ESHUTDOWN; retval 1345 drivers/usb/gadget/udc/net2280.c retval = -EINVAL; retval 1351 drivers/usb/gadget/udc/net2280.c retval = -EAGAIN; retval 1354 drivers/usb/gadget/udc/net2280.c retval = -EAGAIN; retval 1379 drivers/usb/gadget/udc/net2280.c return retval; retval 1384 drivers/usb/gadget/udc/net2280.c dev_err(&ep->dev->pdev->dev, "%s: error=%d\n", __func__, retval); retval 1385 drivers/usb/gadget/udc/net2280.c return retval; retval 1471 drivers/usb/gadget/udc/net2280.c u16 retval; retval 1477 drivers/usb/gadget/udc/net2280.c retval = get_idx_reg(dev->regs, REG_FRAME) & 0x03ff; retval 1479 drivers/usb/gadget/udc/net2280.c return retval; retval 2413 drivers/usb/gadget/udc/net2280.c int retval; retval 2433 drivers/usb/gadget/udc/net2280.c retval = device_create_file(&dev->pdev->dev, &dev_attr_function); retval 2434 drivers/usb/gadget/udc/net2280.c if (retval) retval 2436 drivers/usb/gadget/udc/net2280.c retval = device_create_file(&dev->pdev->dev, &dev_attr_queues); retval 2437 drivers/usb/gadget/udc/net2280.c if (retval) retval 2457 drivers/usb/gadget/udc/net2280.c return retval; retval 3618 drivers/usb/gadget/udc/net2280.c int retval, i; retval 3623 drivers/usb/gadget/udc/net2280.c retval = -ENOMEM; retval 3640 drivers/usb/gadget/udc/net2280.c retval = -ENODEV; retval 3653 drivers/usb/gadget/udc/net2280.c retval = -EBUSY; retval 3665 drivers/usb/gadget/udc/net2280.c retval = -EFAULT; retval 3709 drivers/usb/gadget/udc/net2280.c retval = -ENODEV; retval 3720 drivers/usb/gadget/udc/net2280.c retval = -EBUSY; retval 3733 drivers/usb/gadget/udc/net2280.c retval = -ENOMEM; retval 3743 drivers/usb/gadget/udc/net2280.c retval = -ENOMEM; retval 3774 drivers/usb/gadget/udc/net2280.c retval = device_create_file(&pdev->dev, &dev_attr_registers); retval 3775 drivers/usb/gadget/udc/net2280.c if (retval) retval 3778 drivers/usb/gadget/udc/net2280.c retval = usb_add_gadget_udc_release(&pdev->dev, &dev->gadget, retval 3780 drivers/usb/gadget/udc/net2280.c if (retval) retval 3787 drivers/usb/gadget/udc/net2280.c return retval; retval 1138 drivers/usb/gadget/udc/omap_udc.c int retval = -EHOSTUNREACH; retval 1150 drivers/usb/gadget/udc/omap_udc.c retval = 0; retval 1156 drivers/usb/gadget/udc/omap_udc.c retval = otg_start_srp(udc->transceiver->otg); retval 1160 drivers/usb/gadget/udc/omap_udc.c return retval; retval 1601 drivers/usb/gadget/udc/pch_udc.c int retval; retval 1604 drivers/usb/gadget/udc/pch_udc.c retval = pch_udc_create_dma_chain(ep, req, ep->ep.maxpacket, gfp); retval 1605 drivers/usb/gadget/udc/pch_udc.c if (retval) { retval 1606 drivers/usb/gadget/udc/pch_udc.c pr_err("%s: could not create DMA chain:%d\n", __func__, retval); retval 1607 drivers/usb/gadget/udc/pch_udc.c return retval; retval 1827 drivers/usb/gadget/udc/pch_udc.c int retval = 0; retval 1862 drivers/usb/gadget/udc/pch_udc.c retval = -ENOMEM; retval 1880 drivers/usb/gadget/udc/pch_udc.c retval = prepare_dma(ep, req, GFP_ATOMIC); retval 1881 drivers/usb/gadget/udc/pch_udc.c if (retval) retval 1891 drivers/usb/gadget/udc/pch_udc.c retval = 0; retval 1913 drivers/usb/gadget/udc/pch_udc.c return retval; retval 3071 drivers/usb/gadget/udc/pch_udc.c int retval; retval 3080 drivers/usb/gadget/udc/pch_udc.c retval = pcim_enable_device(pdev); retval 3081 drivers/usb/gadget/udc/pch_udc.c if (retval) retval 3082 drivers/usb/gadget/udc/pch_udc.c return retval; retval 3093 drivers/usb/gadget/udc/pch_udc.c retval = pcim_iomap_regions(pdev, 1 << bar, pci_name(pdev)); retval 3094 drivers/usb/gadget/udc/pch_udc.c if (retval) retval 3095 drivers/usb/gadget/udc/pch_udc.c return retval; retval 3105 drivers/usb/gadget/udc/pch_udc.c retval = devm_request_irq(&pdev->dev, pdev->irq, pch_udc_isr, retval 3107 drivers/usb/gadget/udc/pch_udc.c if (retval) { retval 3121 drivers/usb/gadget/udc/pch_udc.c retval = init_dma_pools(dev); retval 3122 drivers/usb/gadget/udc/pch_udc.c if (retval) retval 3130 drivers/usb/gadget/udc/pch_udc.c retval = usb_add_gadget_udc(&pdev->dev, &dev->gadget); retval 3131 drivers/usb/gadget/udc/pch_udc.c if (retval) retval 3137 drivers/usb/gadget/udc/pch_udc.c return retval; retval 1467 drivers/usb/gadget/udc/pxa25x_udc.c int retval; retval 1478 drivers/usb/gadget/udc/pxa25x_udc.c retval = otg_set_peripheral(dev->transceiver->otg, retval 1480 drivers/usb/gadget/udc/pxa25x_udc.c if (retval) retval 1487 drivers/usb/gadget/udc/pxa25x_udc.c return retval; retval 2322 drivers/usb/gadget/udc/pxa25x_udc.c int retval, irq; retval 2391 drivers/usb/gadget/udc/pxa25x_udc.c retval = devm_gpio_request(&pdev->dev, dev->mach->gpio_pullup, retval 2393 drivers/usb/gadget/udc/pxa25x_udc.c if (retval) { retval 2396 drivers/usb/gadget/udc/pxa25x_udc.c dev->mach->gpio_pullup, retval); retval 2413 drivers/usb/gadget/udc/pxa25x_udc.c retval = devm_request_irq(&pdev->dev, irq, pxa25x_udc_irq, 0, retval 2415 drivers/usb/gadget/udc/pxa25x_udc.c if (retval != 0) { retval 2417 drivers/usb/gadget/udc/pxa25x_udc.c driver_name, irq, retval); retval 2424 drivers/usb/gadget/udc/pxa25x_udc.c retval = devm_request_irq(&pdev->dev, LUBBOCK_USB_DISC_IRQ, retval 2427 drivers/usb/gadget/udc/pxa25x_udc.c if (retval != 0) { retval 2429 drivers/usb/gadget/udc/pxa25x_udc.c driver_name, LUBBOCK_USB_DISC_IRQ, retval); retval 2432 drivers/usb/gadget/udc/pxa25x_udc.c retval = devm_request_irq(&pdev->dev, LUBBOCK_USB_IRQ, retval 2435 drivers/usb/gadget/udc/pxa25x_udc.c if (retval != 0) { retval 2437 drivers/usb/gadget/udc/pxa25x_udc.c driver_name, LUBBOCK_USB_IRQ, retval); retval 2444 drivers/usb/gadget/udc/pxa25x_udc.c retval = usb_add_gadget_udc(&pdev->dev, &dev->gadget); retval 2445 drivers/usb/gadget/udc/pxa25x_udc.c if (!retval) retval 2446 drivers/usb/gadget/udc/pxa25x_udc.c return retval; retval 2452 drivers/usb/gadget/udc/pxa25x_udc.c return retval; retval 1752 drivers/usb/gadget/udc/pxa27x_udc.c int retval; retval 1758 drivers/usb/gadget/udc/pxa27x_udc.c retval = otg_set_peripheral(udc->transceiver->otg, retval 1760 drivers/usb/gadget/udc/pxa27x_udc.c if (retval) { retval 1772 drivers/usb/gadget/udc/pxa27x_udc.c return retval; retval 2361 drivers/usb/gadget/udc/pxa27x_udc.c int retval = 0, gpio; retval 2369 drivers/usb/gadget/udc/pxa27x_udc.c retval = devm_gpio_request_one(&pdev->dev, gpio, retval 2372 drivers/usb/gadget/udc/pxa27x_udc.c if (retval) retval 2373 drivers/usb/gadget/udc/pxa27x_udc.c return retval; retval 2411 drivers/usb/gadget/udc/pxa27x_udc.c retval = clk_prepare(udc->clk); retval 2412 drivers/usb/gadget/udc/pxa27x_udc.c if (retval) retval 2413 drivers/usb/gadget/udc/pxa27x_udc.c return retval; retval 2422 drivers/usb/gadget/udc/pxa27x_udc.c retval = devm_request_irq(&pdev->dev, udc->irq, pxa_udc_irq, retval 2424 drivers/usb/gadget/udc/pxa27x_udc.c if (retval != 0) { retval 2426 drivers/usb/gadget/udc/pxa27x_udc.c driver_name, udc->irq, retval); retval 2432 drivers/usb/gadget/udc/pxa27x_udc.c retval = usb_add_gadget_udc(&pdev->dev, &udc->gadget); retval 2433 drivers/usb/gadget/udc/pxa27x_udc.c if (retval) retval 2446 drivers/usb/gadget/udc/pxa27x_udc.c return retval; retval 1278 drivers/usb/gadget/udc/s3c2410_udc.c int retval = -EINVAL; retval 1288 drivers/usb/gadget/udc/s3c2410_udc.c return retval; retval 1298 drivers/usb/gadget/udc/s3c2410_udc.c retval = 0; retval 1303 drivers/usb/gadget/udc/s3c2410_udc.c if (retval == 0) { retval 1312 drivers/usb/gadget/udc/s3c2410_udc.c return retval; retval 1751 drivers/usb/gadget/udc/s3c2410_udc.c int retval; retval 1795 drivers/usb/gadget/udc/s3c2410_udc.c retval = -ENOMEM; retval 1806 drivers/usb/gadget/udc/s3c2410_udc.c retval = request_irq(IRQ_USBD, s3c2410_udc_irq, retval 1809 drivers/usb/gadget/udc/s3c2410_udc.c if (retval != 0) { retval 1810 drivers/usb/gadget/udc/s3c2410_udc.c dev_err(dev, "cannot get irq %i, err %d\n", IRQ_USBD, retval); retval 1811 drivers/usb/gadget/udc/s3c2410_udc.c retval = -EBUSY; retval 1818 drivers/usb/gadget/udc/s3c2410_udc.c retval = gpio_request(udc_info->vbus_pin, "udc vbus"); retval 1819 drivers/usb/gadget/udc/s3c2410_udc.c if (retval < 0) { retval 1827 drivers/usb/gadget/udc/s3c2410_udc.c retval = irq; retval 1831 drivers/usb/gadget/udc/s3c2410_udc.c retval = request_irq(irq, s3c2410_udc_vbus_irq, retval 1836 drivers/usb/gadget/udc/s3c2410_udc.c if (retval != 0) { retval 1838 drivers/usb/gadget/udc/s3c2410_udc.c irq, retval); retval 1839 drivers/usb/gadget/udc/s3c2410_udc.c retval = -EBUSY; retval 1851 drivers/usb/gadget/udc/s3c2410_udc.c retval = gpio_request_one(udc_info->pullup_pin, retval 1855 drivers/usb/gadget/udc/s3c2410_udc.c if (retval) retval 1859 drivers/usb/gadget/udc/s3c2410_udc.c retval = usb_add_gadget_udc(&pdev->dev, &udc->gadget); retval 1860 drivers/usb/gadget/udc/s3c2410_udc.c if (retval) retval 1888 drivers/usb/gadget/udc/s3c2410_udc.c return retval; retval 1977 drivers/usb/gadget/udc/s3c2410_udc.c int retval; retval 1983 drivers/usb/gadget/udc/s3c2410_udc.c retval = platform_driver_register(&udc_driver_24x0); retval 1984 drivers/usb/gadget/udc/s3c2410_udc.c if (retval) retval 1991 drivers/usb/gadget/udc/s3c2410_udc.c return retval; retval 879 drivers/usb/gadget/udc/snps_udc_core.c int retval = 0; retval 895 drivers/usb/gadget/udc/snps_udc_core.c retval = udc_create_dma_chain(ep, req, ep->ep.maxpacket, gfp); retval 896 drivers/usb/gadget/udc/snps_udc_core.c if (retval != 0) { retval 897 drivers/usb/gadget/udc/snps_udc_core.c if (retval == -ENOMEM) retval 899 drivers/usb/gadget/udc/snps_udc_core.c return retval; retval 961 drivers/usb/gadget/udc/snps_udc_core.c return retval; retval 1056 drivers/usb/gadget/udc/snps_udc_core.c int retval = 0; retval 1084 drivers/usb/gadget/udc/snps_udc_core.c retval = usb_gadget_map_request(&udc->gadget, usbreq, ep->in); retval 1085 drivers/usb/gadget/udc/snps_udc_core.c if (retval) retval 1086 drivers/usb/gadget/udc/snps_udc_core.c return retval; retval 1129 drivers/usb/gadget/udc/snps_udc_core.c retval = prep_dma(ep, req, GFP_ATOMIC); retval 1130 drivers/usb/gadget/udc/snps_udc_core.c if (retval != 0) retval 1197 drivers/usb/gadget/udc/snps_udc_core.c retval = prep_dma(ep, req, GFP_ATOMIC); retval 1198 drivers/usb/gadget/udc/snps_udc_core.c if (retval != 0) retval 1237 drivers/usb/gadget/udc/snps_udc_core.c return retval; retval 1316 drivers/usb/gadget/udc/snps_udc_core.c int retval = 0; retval 1369 drivers/usb/gadget/udc/snps_udc_core.c return retval; retval 3092 drivers/usb/gadget/udc/snps_udc_core.c int retval; retval 3118 drivers/usb/gadget/udc/snps_udc_core.c retval = -ENOMEM; retval 3125 drivers/usb/gadget/udc/snps_udc_core.c retval = -ENOMEM; retval 3134 drivers/usb/gadget/udc/snps_udc_core.c retval = -ENOMEM; retval 3149 drivers/usb/gadget/udc/snps_udc_core.c return retval; retval 3158 drivers/usb/gadget/udc/snps_udc_core.c int retval; retval 3184 drivers/usb/gadget/udc/snps_udc_core.c retval = -ENODEV; retval 3193 drivers/usb/gadget/udc/snps_udc_core.c retval = usb_add_gadget_udc_release(udc->dev, &dev->gadget, retval 3195 drivers/usb/gadget/udc/snps_udc_core.c if (retval) retval 3213 drivers/usb/gadget/udc/snps_udc_core.c return retval; retval 588 drivers/usb/gadget/udc/udc-xilinx.c int retval = -EAGAIN; retval 593 drivers/usb/gadget/udc/udc-xilinx.c return retval; retval 655 drivers/usb/gadget/udc/udc-xilinx.c retval = 0; retval 659 drivers/usb/gadget/udc/udc-xilinx.c return retval; retval 676 drivers/usb/gadget/udc/udc-xilinx.c int retval = -EAGAIN; retval 707 drivers/usb/gadget/udc/udc-xilinx.c retval = 0; retval 717 drivers/usb/gadget/udc/udc-xilinx.c retval = 0; retval 721 drivers/usb/gadget/udc/udc-xilinx.c return retval; retval 94 drivers/usb/host/ehci-atmel.c int retval; retval 103 drivers/usb/host/ehci-atmel.c retval = -ENODEV; retval 111 drivers/usb/host/ehci-atmel.c retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 112 drivers/usb/host/ehci-atmel.c if (retval) retval 117 drivers/usb/host/ehci-atmel.c retval = -ENOMEM; retval 125 drivers/usb/host/ehci-atmel.c retval = PTR_ERR(hcd->regs); retval 135 drivers/usb/host/ehci-atmel.c retval = -ENOENT; retval 142 drivers/usb/host/ehci-atmel.c retval = PTR_ERR(atmel_ehci->uclk); retval 152 drivers/usb/host/ehci-atmel.c retval = usb_add_hcd(hcd, irq, IRQF_SHARED); retval 153 drivers/usb/host/ehci-atmel.c if (retval) retval 157 drivers/usb/host/ehci-atmel.c return retval; retval 165 drivers/usb/host/ehci-atmel.c dev_name(&pdev->dev), retval); retval 167 drivers/usb/host/ehci-atmel.c return retval; retval 53 drivers/usb/host/ehci-fsl.c int retval; retval 91 drivers/usb/host/ehci-fsl.c retval = -ENOMEM; retval 98 drivers/usb/host/ehci-fsl.c retval = PTR_ERR(hcd->regs); retval 114 drivers/usb/host/ehci-fsl.c retval = -ENODEV; retval 146 drivers/usb/host/ehci-fsl.c retval = usb_add_hcd(hcd, irq, IRQF_SHARED); retval 147 drivers/usb/host/ehci-fsl.c if (retval != 0) retval 160 drivers/usb/host/ehci-fsl.c retval = otg_set_host(hcd->usb_phy->otg, retval 162 drivers/usb/host/ehci-fsl.c if (retval) { retval 168 drivers/usb/host/ehci-fsl.c retval = -ENODEV; retval 175 drivers/usb/host/ehci-fsl.c return retval; retval 180 drivers/usb/host/ehci-fsl.c dev_err(&pdev->dev, "init %s fail, %d\n", dev_name(&pdev->dev), retval); retval 183 drivers/usb/host/ehci-fsl.c return retval; retval 378 drivers/usb/host/ehci-fsl.c int retval; retval 401 drivers/usb/host/ehci-fsl.c retval = ehci_setup(hcd); retval 402 drivers/usb/host/ehci-fsl.c if (retval) retval 403 drivers/usb/host/ehci-fsl.c return retval; retval 415 drivers/usb/host/ehci-fsl.c retval = ehci_fsl_reinit(ehci); retval 416 drivers/usb/host/ehci-fsl.c return retval; retval 231 drivers/usb/host/ehci-hcd.c int retval; retval 244 drivers/usb/host/ehci-hcd.c retval = ehci_handshake(ehci, &ehci->regs->command, retval 252 drivers/usb/host/ehci-hcd.c if (retval) retval 253 drivers/usb/host/ehci-hcd.c return retval; retval 263 drivers/usb/host/ehci-hcd.c return retval; retval 456 drivers/usb/host/ehci-hcd.c int retval; retval 502 drivers/usb/host/ehci-hcd.c if ((retval = ehci_mem_init(ehci, GFP_KERNEL)) < 0) retval 503 drivers/usb/host/ehci-hcd.c return retval; retval 659 drivers/usb/host/ehci-hcd.c int retval; retval 672 drivers/usb/host/ehci-hcd.c retval = ehci_init(hcd); retval 673 drivers/usb/host/ehci-hcd.c if (retval) retval 674 drivers/usb/host/ehci-hcd.c return retval; retval 676 drivers/usb/host/ehci-hcd.c retval = ehci_halt(ehci); retval 677 drivers/usb/host/ehci-hcd.c if (retval) { retval 679 drivers/usb/host/ehci-hcd.c return retval; retval 1291 drivers/usb/host/ehci-hcd.c int retval = 0; retval 1313 drivers/usb/host/ehci-hcd.c retval = platform_driver_register(&PLATFORM_DRIVER); retval 1314 drivers/usb/host/ehci-hcd.c if (retval < 0) retval 1319 drivers/usb/host/ehci-hcd.c retval = ps3_ehci_driver_register(&PS3_SYSTEM_BUS_DRIVER); retval 1320 drivers/usb/host/ehci-hcd.c if (retval < 0) retval 1325 drivers/usb/host/ehci-hcd.c retval = platform_driver_register(&OF_PLATFORM_DRIVER); retval 1326 drivers/usb/host/ehci-hcd.c if (retval < 0) retval 1331 drivers/usb/host/ehci-hcd.c retval = platform_driver_register(&XILINX_OF_PLATFORM_DRIVER); retval 1332 drivers/usb/host/ehci-hcd.c if (retval < 0) retval 1335 drivers/usb/host/ehci-hcd.c return retval; retval 1358 drivers/usb/host/ehci-hcd.c return retval; retval 621 drivers/usb/host/ehci-hub.c int ports, i, retval = 1; retval 630 drivers/usb/host/ehci-hub.c retval++; retval 689 drivers/usb/host/ehci-hub.c return status ? retval : 0; retval 800 drivers/usb/host/ehci-hub.c int retval = -ENOMEM; retval 835 drivers/usb/host/ehci-hub.c retval = submit_single_step_set_feature(hcd, urb, 1); retval 836 drivers/usb/host/ehci-hub.c if (retval) retval 840 drivers/usb/host/ehci-hub.c retval = -ETIMEDOUT; retval 851 drivers/usb/host/ehci-hub.c retval = submit_single_step_set_feature(hcd, urb, 0); retval 852 drivers/usb/host/ehci-hub.c if (!retval && !wait_for_completion_timeout(&done, retval 855 drivers/usb/host/ehci-hub.c retval = -ETIMEDOUT; retval 863 drivers/usb/host/ehci-hub.c return retval; retval 881 drivers/usb/host/ehci-hub.c int retval = 0; retval 1063 drivers/usb/host/ehci-hub.c retval = ehci_handshake(ehci, status_reg, retval 1065 drivers/usb/host/ehci-hub.c if (retval != 0) { retval 1067 drivers/usb/host/ehci-hub.c wIndex + 1, retval); retval 1083 drivers/usb/host/ehci-hub.c retval = ehci_handshake(ehci, status_reg, retval 1085 drivers/usb/host/ehci-hub.c if (retval != 0) { retval 1087 drivers/usb/host/ehci-hub.c wIndex + 1, retval); retval 1167 drivers/usb/host/ehci-hub.c retval = -ENODEV; retval 1266 drivers/usb/host/ehci-hub.c retval = ehset_single_step_set_feature(hcd, retval 1307 drivers/usb/host/ehci-hub.c retval = -EPIPE; retval 1311 drivers/usb/host/ehci-hub.c return retval; retval 70 drivers/usb/host/ehci-mv.c int retval; retval 79 drivers/usb/host/ehci-mv.c retval = ehci_setup(hcd); retval 80 drivers/usb/host/ehci-mv.c if (retval) retval 81 drivers/usb/host/ehci-mv.c dev_err(dev, "ehci_setup failed %d\n", retval); retval 83 drivers/usb/host/ehci-mv.c return retval; retval 100 drivers/usb/host/ehci-mv.c int retval = -ENODEV; retval 121 drivers/usb/host/ehci-mv.c retval = PTR_ERR(ehci_mv->phy); retval 122 drivers/usb/host/ehci-mv.c if (retval != -EPROBE_DEFER) retval 130 drivers/usb/host/ehci-mv.c retval = PTR_ERR(ehci_mv->clk); retval 139 drivers/usb/host/ehci-mv.c retval = PTR_ERR(ehci_mv->base); retval 143 drivers/usb/host/ehci-mv.c retval = mv_ehci_enable(ehci_mv); retval 144 drivers/usb/host/ehci-mv.c if (retval) { retval 145 drivers/usb/host/ehci-mv.c dev_err(&pdev->dev, "init phy error %d\n", retval); retval 162 drivers/usb/host/ehci-mv.c retval = -ENODEV; retval 172 drivers/usb/host/ehci-mv.c retval = PTR_ERR(ehci_mv->otg); retval 174 drivers/usb/host/ehci-mv.c if (retval == -ENXIO) retval 183 drivers/usb/host/ehci-mv.c retval = otg_set_host(ehci_mv->otg->otg, &hcd->self); retval 184 drivers/usb/host/ehci-mv.c if (retval < 0) { retval 187 drivers/usb/host/ehci-mv.c retval = -ENODEV; retval 196 drivers/usb/host/ehci-mv.c retval = usb_add_hcd(hcd, hcd->irq, IRQF_SHARED); retval 197 drivers/usb/host/ehci-mv.c if (retval) { retval 199 drivers/usb/host/ehci-mv.c "failed to add hcd with err %d\n", retval); retval 220 drivers/usb/host/ehci-mv.c return retval; retval 69 drivers/usb/host/ehci-npcm7xx.c int retval; retval 116 drivers/usb/host/ehci-npcm7xx.c retval = irq; retval 125 drivers/usb/host/ehci-npcm7xx.c retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 126 drivers/usb/host/ehci-npcm7xx.c if (retval) retval 131 drivers/usb/host/ehci-npcm7xx.c retval = -ENOMEM; retval 138 drivers/usb/host/ehci-npcm7xx.c retval = PTR_ERR(hcd->regs); retval 147 drivers/usb/host/ehci-npcm7xx.c retval = usb_add_hcd(hcd, irq, IRQF_SHARED); retval 148 drivers/usb/host/ehci-npcm7xx.c if (retval) retval 152 drivers/usb/host/ehci-npcm7xx.c return retval; retval 157 drivers/usb/host/ehci-npcm7xx.c dev_err(&pdev->dev, "init fail, %d\n", retval); retval 159 drivers/usb/host/ehci-npcm7xx.c return retval; retval 62 drivers/usb/host/ehci-pci.c int retval; retval 69 drivers/usb/host/ehci-pci.c retval = pci_set_mwi(pdev); retval 70 drivers/usb/host/ehci-pci.c if (!retval) retval 92 drivers/usb/host/ehci-pci.c int retval; retval 157 drivers/usb/host/ehci-pci.c retval = -EIO; retval 241 drivers/usb/host/ehci-pci.c retval = ehci_setup(hcd); retval 242 drivers/usb/host/ehci-pci.c if (retval) retval 243 drivers/usb/host/ehci-pci.c return retval; retval 317 drivers/usb/host/ehci-pci.c retval = ehci_pci_reinit(ehci, pdev); retval 319 drivers/usb/host/ehci-pci.c return retval; retval 56 drivers/usb/host/ehci-platform.c int retval; retval 61 drivers/usb/host/ehci-platform.c retval = pdata->pre_setup(hcd); retval 62 drivers/usb/host/ehci-platform.c if (retval < 0) retval 63 drivers/usb/host/ehci-platform.c return retval; retval 67 drivers/usb/host/ehci-platform.c retval = ehci_setup(hcd); retval 68 drivers/usb/host/ehci-platform.c if (retval) retval 69 drivers/usb/host/ehci-platform.c return retval; retval 73 drivers/usb/host/ehci-pmcmsp.c int retval; retval 81 drivers/usb/host/ehci-pmcmsp.c retval = ehci_setup(hcd); retval 82 drivers/usb/host/ehci-pmcmsp.c if (retval) retval 83 drivers/usb/host/ehci-pmcmsp.c return retval; retval 87 drivers/usb/host/ehci-pmcmsp.c return retval; retval 100 drivers/usb/host/ehci-pmcmsp.c int retval; retval 112 drivers/usb/host/ehci-pmcmsp.c retval = -ENOMEM; retval 119 drivers/usb/host/ehci-pmcmsp.c retval = -ENOMEM; retval 124 drivers/usb/host/ehci-pmcmsp.c retval = -EBUSY; retval 129 drivers/usb/host/ehci-pmcmsp.c retval = -ENOMEM; retval 145 drivers/usb/host/ehci-pmcmsp.c return retval; retval 160 drivers/usb/host/ehci-pmcmsp.c int retval; retval 172 drivers/usb/host/ehci-pmcmsp.c retval = -ENOMEM; retval 178 drivers/usb/host/ehci-pmcmsp.c retval = -EBUSY; retval 184 drivers/usb/host/ehci-pmcmsp.c retval = -ENOMEM; retval 191 drivers/usb/host/ehci-pmcmsp.c retval = -ENOMEM; retval 196 drivers/usb/host/ehci-pmcmsp.c retval = usb_hcd_msp_map_regs(to_mspusb_device(dev)); retval 197 drivers/usb/host/ehci-pmcmsp.c if (retval != 0) retval 205 drivers/usb/host/ehci-pmcmsp.c retval = usb_add_hcd(hcd, res->start, IRQF_SHARED); retval 206 drivers/usb/host/ehci-pmcmsp.c if (retval == 0) { retval 219 drivers/usb/host/ehci-pmcmsp.c return retval; retval 790 drivers/usb/host/ehci-sched.c int retval = -ENOSPC; retval 799 drivers/usb/host/ehci-sched.c retval = 0; retval 816 drivers/usb/host/ehci-sched.c retval = 0; retval 839 drivers/usb/host/ehci-sched.c retval = 0; retval 843 drivers/usb/host/ehci-sched.c return retval; retval 1838 drivers/usb/host/ehci-sched.c bool retval = false; retval 1889 drivers/usb/host/ehci-sched.c retval = true; retval 1918 drivers/usb/host/ehci-sched.c return retval; retval 2231 drivers/usb/host/ehci-sched.c bool retval = false; retval 2269 drivers/usb/host/ehci-sched.c retval = true; retval 2298 drivers/usb/host/ehci-sched.c return retval; retval 65 drivers/usb/host/ehci-spear.c int irq, retval; retval 72 drivers/usb/host/ehci-spear.c retval = irq; retval 81 drivers/usb/host/ehci-spear.c retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 82 drivers/usb/host/ehci-spear.c if (retval) retval 88 drivers/usb/host/ehci-spear.c retval = PTR_ERR(usbh_clk); retval 94 drivers/usb/host/ehci-spear.c retval = -ENOMEM; retval 101 drivers/usb/host/ehci-spear.c retval = PTR_ERR(hcd->regs); retval 114 drivers/usb/host/ehci-spear.c retval = usb_add_hcd(hcd, irq, IRQF_SHARED); retval 115 drivers/usb/host/ehci-spear.c if (retval) retval 119 drivers/usb/host/ehci-spear.c return retval; retval 126 drivers/usb/host/ehci-spear.c dev_err(&pdev->dev, "init fail, %d\n", retval); retval 128 drivers/usb/host/ehci-spear.c return retval ; retval 112 drivers/usb/host/ehci-tegra.c int retval = 0; retval 149 drivers/usb/host/ehci-tegra.c retval = -ETIMEDOUT; retval 167 drivers/usb/host/ehci-tegra.c return retval; retval 184 drivers/usb/host/ehci-tegra.c int retval = 0; retval 202 drivers/usb/host/ehci-tegra.c retval = -EPIPE; retval 240 drivers/usb/host/ehci-tegra.c retval = -EPIPE; retval 281 drivers/usb/host/ehci-tegra.c return retval; retval 560 drivers/usb/host/ehci-tegra.c int retval; retval 563 drivers/usb/host/ehci-tegra.c retval = ehci_setup(hcd); retval 564 drivers/usb/host/ehci-tegra.c if (retval) retval 565 drivers/usb/host/ehci-tegra.c return retval; retval 206 drivers/usb/host/fhci-hub.c int retval = 0; retval 328 drivers/usb/host/fhci-hub.c retval = -EPIPE; retval 335 drivers/usb/host/fhci-hub.c return retval; retval 933 drivers/usb/host/fotg210-hcd.c int retval; retval 947 drivers/usb/host/fotg210-hcd.c retval = handshake(fotg210, &fotg210->regs->command, retval 950 drivers/usb/host/fotg210-hcd.c if (retval) retval 951 drivers/usb/host/fotg210-hcd.c return retval; retval 958 drivers/usb/host/fotg210-hcd.c return retval; retval 1399 drivers/usb/host/fotg210-hcd.c int retval = 1; retval 1435 drivers/usb/host/fotg210-hcd.c return status ? retval : 0; retval 1469 drivers/usb/host/fotg210-hcd.c int retval = 0; retval 1595 drivers/usb/host/fotg210-hcd.c retval = handshake(fotg210, status_reg, retval 1597 drivers/usb/host/fotg210-hcd.c if (retval != 0) { retval 1600 drivers/usb/host/fotg210-hcd.c wIndex + 1, retval); retval 1621 drivers/usb/host/fotg210-hcd.c retval = handshake(fotg210, status_reg, retval 1623 drivers/usb/host/fotg210-hcd.c if (retval != 0) { retval 1625 drivers/usb/host/fotg210-hcd.c wIndex + 1, retval); retval 1780 drivers/usb/host/fotg210-hcd.c retval = -EPIPE; retval 1783 drivers/usb/host/fotg210-hcd.c return retval; retval 3717 drivers/usb/host/fotg210-hcd.c int retval = -ENOSPC; retval 3726 drivers/usb/host/fotg210-hcd.c retval = 0; retval 3749 drivers/usb/host/fotg210-hcd.c retval = 0; retval 3752 drivers/usb/host/fotg210-hcd.c return retval; retval 4440 drivers/usb/host/fotg210-hcd.c bool retval = false; retval 4492 drivers/usb/host/fotg210-hcd.c retval = true; retval 4520 drivers/usb/host/fotg210-hcd.c return retval; retval 4906 drivers/usb/host/fotg210-hcd.c int retval; retval 4953 drivers/usb/host/fotg210-hcd.c retval = fotg210_mem_init(fotg210, GFP_KERNEL); retval 4954 drivers/usb/host/fotg210-hcd.c if (retval < 0) retval 4955 drivers/usb/host/fotg210-hcd.c return retval; retval 5092 drivers/usb/host/fotg210-hcd.c int retval; retval 5107 drivers/usb/host/fotg210-hcd.c retval = hcd_fotg210_init(hcd); retval 5108 drivers/usb/host/fotg210-hcd.c if (retval) retval 5109 drivers/usb/host/fotg210-hcd.c return retval; retval 5111 drivers/usb/host/fotg210-hcd.c retval = fotg210_halt(fotg210); retval 5112 drivers/usb/host/fotg210-hcd.c if (retval) retval 5113 drivers/usb/host/fotg210-hcd.c return retval; retval 5574 drivers/usb/host/fotg210-hcd.c int retval = -ENODEV; retval 5594 drivers/usb/host/fotg210-hcd.c dev_err(dev, "failed to create hcd with err %d\n", retval); retval 5595 drivers/usb/host/fotg210-hcd.c retval = -ENOMEM; retval 5604 drivers/usb/host/fotg210-hcd.c retval = PTR_ERR(hcd->regs); retval 5618 drivers/usb/host/fotg210-hcd.c retval = clk_prepare_enable(fotg210->pclk); retval 5619 drivers/usb/host/fotg210-hcd.c if (retval) { retval 5628 drivers/usb/host/fotg210-hcd.c retval = PTR_ERR(fotg210->pclk); retval 5632 drivers/usb/host/fotg210-hcd.c retval = fotg210_setup(hcd); retval 5633 drivers/usb/host/fotg210-hcd.c if (retval) retval 5638 drivers/usb/host/fotg210-hcd.c retval = usb_add_hcd(hcd, irq, IRQF_SHARED); retval 5639 drivers/usb/host/fotg210-hcd.c if (retval) { retval 5640 drivers/usb/host/fotg210-hcd.c dev_err(dev, "failed to add hcd with err %d\n", retval); retval 5646 drivers/usb/host/fotg210-hcd.c return retval; retval 5654 drivers/usb/host/fotg210-hcd.c dev_err(dev, "init %s fail, %d\n", dev_name(dev), retval); retval 5655 drivers/usb/host/fotg210-hcd.c return retval; retval 5696 drivers/usb/host/fotg210-hcd.c int retval = 0; retval 5714 drivers/usb/host/fotg210-hcd.c retval = platform_driver_register(&fotg210_hcd_driver); retval 5715 drivers/usb/host/fotg210-hcd.c if (retval < 0) retval 5717 drivers/usb/host/fotg210-hcd.c return retval; retval 5724 drivers/usb/host/fotg210-hcd.c return retval; retval 85 drivers/usb/host/fsl-mph-dr-of.c int retval; retval 89 drivers/usb/host/fsl-mph-dr-of.c retval = -ENOMEM; retval 102 drivers/usb/host/fsl-mph-dr-of.c retval = platform_device_add_data(pdev, pdata, sizeof(*pdata)); retval 103 drivers/usb/host/fsl-mph-dr-of.c if (retval) retval 107 drivers/usb/host/fsl-mph-dr-of.c retval = platform_device_add_resources(pdev, res, num); retval 108 drivers/usb/host/fsl-mph-dr-of.c if (retval) retval 112 drivers/usb/host/fsl-mph-dr-of.c retval = platform_device_add(pdev); retval 113 drivers/usb/host/fsl-mph-dr-of.c if (retval) retval 120 drivers/usb/host/fsl-mph-dr-of.c return ERR_PTR(retval); retval 1229 drivers/usb/host/isp1362-hcd.c int retval = 0; retval 1263 drivers/usb/host/isp1362-hcd.c retval = -ENODEV; retval 1267 drivers/usb/host/isp1362-hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 1268 drivers/usb/host/isp1362-hcd.c if (retval) { retval 1328 drivers/usb/host/isp1362-hcd.c retval = balance(isp1362_hcd, ep->interval, ep->load); retval 1329 drivers/usb/host/isp1362-hcd.c if (retval < 0) { retval 1330 drivers/usb/host/isp1362-hcd.c pr_err("%s: balance returned %d\n", __func__, retval); retval 1333 drivers/usb/host/isp1362-hcd.c ep->branch = retval; retval 1334 drivers/usb/host/isp1362-hcd.c retval = 0; retval 1386 drivers/usb/host/isp1362-hcd.c if (retval) retval 1392 drivers/usb/host/isp1362-hcd.c if (retval) retval 1393 drivers/usb/host/isp1362-hcd.c DBG(0, "%s: urb %p failed with %d\n", __func__, urb, retval); retval 1394 drivers/usb/host/isp1362-hcd.c return retval; retval 1403 drivers/usb/host/isp1362-hcd.c int retval = 0; retval 1408 drivers/usb/host/isp1362-hcd.c retval = usb_hcd_check_unlink_urb(hcd, urb, status); retval 1409 drivers/usb/host/isp1362-hcd.c if (retval) retval 1439 drivers/usb/host/isp1362-hcd.c retval = -EINVAL; retval 1446 drivers/usb/host/isp1362-hcd.c return retval; retval 1567 drivers/usb/host/isp1362-hcd.c int retval = 0; retval 1726 drivers/usb/host/isp1362-hcd.c retval = -EPIPE; retval 1729 drivers/usb/host/isp1362-hcd.c return retval; retval 2634 drivers/usb/host/isp1362-hcd.c int retval = 0; retval 2684 drivers/usb/host/isp1362-hcd.c retval = -ENODEV; retval 2698 drivers/usb/host/isp1362-hcd.c retval = usb_add_hcd(hcd, irq, irq_flags | IRQF_SHARED); retval 2699 drivers/usb/host/isp1362-hcd.c if (retval != 0) retval 2712 drivers/usb/host/isp1362-hcd.c return retval; retval 2721 drivers/usb/host/isp1362-hcd.c int retval = 0; retval 2727 drivers/usb/host/isp1362-hcd.c retval = isp1362_bus_suspend(hcd); retval 2734 drivers/usb/host/isp1362-hcd.c if (retval == 0) retval 2736 drivers/usb/host/isp1362-hcd.c return retval; retval 808 drivers/usb/host/max3421-hcd.c int retval = 0; retval 815 drivers/usb/host/max3421-hcd.c retval = 1; retval 827 drivers/usb/host/max3421-hcd.c return retval; retval 1529 drivers/usb/host/max3421-hcd.c int retval; retval 1551 drivers/usb/host/max3421-hcd.c retval = -ENOMEM; retval 1561 drivers/usb/host/max3421-hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 1562 drivers/usb/host/max3421-hcd.c if (retval == 0) { retval 1570 drivers/usb/host/max3421-hcd.c return retval; retval 1578 drivers/usb/host/max3421-hcd.c int retval; retval 1586 drivers/usb/host/max3421-hcd.c retval = usb_hcd_check_unlink_urb(hcd, urb, status); retval 1587 drivers/usb/host/max3421-hcd.c if (retval == 0) { retval 1592 drivers/usb/host/max3421-hcd.c return retval; retval 1632 drivers/usb/host/max3421-hcd.c int retval = 0; retval 1644 drivers/usb/host/max3421-hcd.c retval = 1; retval 1650 drivers/usb/host/max3421-hcd.c return retval; retval 1701 drivers/usb/host/max3421-hcd.c int retval = 0; retval 1739 drivers/usb/host/max3421-hcd.c retval = -EPIPE; retval 1748 drivers/usb/host/max3421-hcd.c retval = -EPIPE; retval 1784 drivers/usb/host/max3421-hcd.c retval = -EPIPE; retval 1788 drivers/usb/host/max3421-hcd.c return retval; retval 1824 drivers/usb/host/max3421-hcd.c int retval; retval 1830 drivers/usb/host/max3421-hcd.c retval = of_property_read_u32_array(dev->of_node, "maxim,vbus-en-pin", value, 2); retval 1831 drivers/usb/host/max3421-hcd.c if (retval) { retval 1833 drivers/usb/host/max3421-hcd.c return retval; retval 1850 drivers/usb/host/max3421-hcd.c int retval = -ENOMEM; retval 1865 drivers/usb/host/max3421-hcd.c retval = -ENOMEM; retval 1868 drivers/usb/host/max3421-hcd.c retval = max3421_of_vbus_en_pin(dev, pdata); retval 1869 drivers/usb/host/max3421-hcd.c if (retval) retval 1878 drivers/usb/host/max3421-hcd.c retval = -EFAULT; retval 1883 drivers/usb/host/max3421-hcd.c retval = -EINVAL; retval 1888 drivers/usb/host/max3421-hcd.c retval = -EINVAL; retval 1919 drivers/usb/host/max3421-hcd.c retval = usb_add_hcd(hcd, 0, 0); retval 1920 drivers/usb/host/max3421-hcd.c if (retval) { retval 1925 drivers/usb/host/max3421-hcd.c retval = request_irq(spi->irq, max3421_irq_handler, retval 1927 drivers/usb/host/max3421-hcd.c if (retval < 0) { retval 1946 drivers/usb/host/max3421-hcd.c return retval; retval 170 drivers/usb/host/ohci-at91.c int retval; retval 191 drivers/usb/host/ohci-at91.c retval = PTR_ERR(hcd->regs); retval 200 drivers/usb/host/ohci-at91.c retval = PTR_ERR(ohci_at91->iclk); retval 206 drivers/usb/host/ohci-at91.c retval = PTR_ERR(ohci_at91->fclk); retval 212 drivers/usb/host/ohci-at91.c retval = PTR_ERR(ohci_at91->hclk); retval 231 drivers/usb/host/ohci-at91.c retval = usb_add_hcd(hcd, irq, IRQF_SHARED); retval 232 drivers/usb/host/ohci-at91.c if (retval == 0) { retval 234 drivers/usb/host/ohci-at91.c return retval; retval 242 drivers/usb/host/ohci-at91.c return retval; retval 158 drivers/usb/host/ohci-hcd.c int retval = 0; retval 216 drivers/usb/host/ohci-hcd.c retval = -ENODEV; retval 220 drivers/usb/host/ohci-hcd.c retval = -ENODEV; retval 223 drivers/usb/host/ohci-hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 224 drivers/usb/host/ohci-hcd.c if (retval) retval 229 drivers/usb/host/ohci-hcd.c retval = ed_schedule (ohci, ed); retval 230 drivers/usb/host/ohci-hcd.c if (retval < 0) { retval 303 drivers/usb/host/ohci-hcd.c if (retval) retval 306 drivers/usb/host/ohci-hcd.c return retval; retval 1272 drivers/usb/host/ohci-hcd.c int retval = 0; retval 1285 drivers/usb/host/ohci-hcd.c retval = ps3_ohci_driver_register(&PS3_SYSTEM_BUS_DRIVER); retval 1286 drivers/usb/host/ohci-hcd.c if (retval < 0) retval 1291 drivers/usb/host/ohci-hcd.c retval = platform_driver_register(&OF_PLATFORM_DRIVER); retval 1292 drivers/usb/host/ohci-hcd.c if (retval < 0) retval 1297 drivers/usb/host/ohci-hcd.c retval = sa1111_driver_register(&SA1111_DRIVER); retval 1298 drivers/usb/host/ohci-hcd.c if (retval < 0) retval 1303 drivers/usb/host/ohci-hcd.c retval = platform_driver_register(&SM501_OHCI_DRIVER); retval 1304 drivers/usb/host/ohci-hcd.c if (retval < 0) retval 1309 drivers/usb/host/ohci-hcd.c retval = platform_driver_register(&TMIO_OHCI_DRIVER); retval 1310 drivers/usb/host/ohci-hcd.c if (retval < 0) retval 1314 drivers/usb/host/ohci-hcd.c return retval; retval 1341 drivers/usb/host/ohci-hcd.c return retval; retval 684 drivers/usb/host/ohci-hub.c int retval = 0; retval 785 drivers/usb/host/ohci-hub.c retval = root_port_reset (ohci, wIndex); retval 795 drivers/usb/host/ohci-hub.c retval = -EPIPE; retval 797 drivers/usb/host/ohci-hub.c return retval; retval 306 drivers/usb/host/ohci-omap.c int retval, irq; retval 339 drivers/usb/host/ohci-omap.c retval = -ENOMEM; retval 347 drivers/usb/host/ohci-omap.c retval = -EBUSY; retval 354 drivers/usb/host/ohci-omap.c retval = -ENOMEM; retval 360 drivers/usb/host/ohci-omap.c retval = -ENXIO; retval 363 drivers/usb/host/ohci-omap.c retval = usb_add_hcd(hcd, irq, 0); retval 364 drivers/usb/host/ohci-omap.c if (retval) retval 378 drivers/usb/host/ohci-omap.c return retval; retval 278 drivers/usb/host/ohci-pxa27x.c int retval; retval 285 drivers/usb/host/ohci-pxa27x.c retval = clk_prepare_enable(pxa_ohci->clk); retval 286 drivers/usb/host/ohci-pxa27x.c if (retval) retval 287 drivers/usb/host/ohci-pxa27x.c return retval; retval 300 drivers/usb/host/ohci-pxa27x.c retval = inf->init(dev); retval 302 drivers/usb/host/ohci-pxa27x.c if (retval < 0) { retval 304 drivers/usb/host/ohci-pxa27x.c return retval; retval 422 drivers/usb/host/ohci-pxa27x.c int retval, irq; retval 431 drivers/usb/host/ohci-pxa27x.c retval = ohci_pxa_of_init(pdev); retval 432 drivers/usb/host/ohci-pxa27x.c if (retval) retval 433 drivers/usb/host/ohci-pxa27x.c return retval; retval 457 drivers/usb/host/ohci-pxa27x.c retval = PTR_ERR(hcd->regs); retval 478 drivers/usb/host/ohci-pxa27x.c retval = pxa27x_start_hc(pxa_ohci, &pdev->dev); retval 479 drivers/usb/host/ohci-pxa27x.c if (retval < 0) { retval 494 drivers/usb/host/ohci-pxa27x.c retval = usb_add_hcd(hcd, irq, 0); retval 495 drivers/usb/host/ohci-pxa27x.c if (retval == 0) { retval 497 drivers/usb/host/ohci-pxa27x.c return retval; retval 503 drivers/usb/host/ohci-pxa27x.c return retval; retval 359 drivers/usb/host/ohci-s3c2410.c int retval; retval 373 drivers/usb/host/ohci-s3c2410.c retval = PTR_ERR(hcd->regs); retval 380 drivers/usb/host/ohci-s3c2410.c retval = PTR_ERR(clk); retval 387 drivers/usb/host/ohci-s3c2410.c retval = PTR_ERR(usb_clk); retval 393 drivers/usb/host/ohci-s3c2410.c retval = usb_add_hcd(hcd, dev->resource[1].start, 0); retval 394 drivers/usb/host/ohci-s3c2410.c if (retval != 0) retval 405 drivers/usb/host/ohci-s3c2410.c return retval; retval 93 drivers/usb/host/ohci-sm501.c int retval, irq; retval 96 drivers/usb/host/ohci-sm501.c irq = retval = platform_get_irq(pdev, 0); retval 97 drivers/usb/host/ohci-sm501.c if (retval < 0) retval 103 drivers/usb/host/ohci-sm501.c retval = -ENOENT; retval 109 drivers/usb/host/ohci-sm501.c retval = -EBUSY; retval 117 drivers/usb/host/ohci-sm501.c retval = -ENOENT; retval 123 drivers/usb/host/ohci-sm501.c retval = -ENOMEM; retval 132 drivers/usb/host/ohci-sm501.c retval = -EBUSY; retval 139 drivers/usb/host/ohci-sm501.c retval = -ENXIO; retval 164 drivers/usb/host/ohci-sm501.c retval = usb_add_hcd(hcd, irq, IRQF_SHARED); retval 165 drivers/usb/host/ohci-sm501.c if (retval) retval 184 drivers/usb/host/ohci-sm501.c return retval; retval 42 drivers/usb/host/ohci-spear.c int retval, irq; retval 46 drivers/usb/host/ohci-spear.c retval = irq; retval 55 drivers/usb/host/ohci-spear.c retval = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); retval 56 drivers/usb/host/ohci-spear.c if (retval) retval 62 drivers/usb/host/ohci-spear.c retval = PTR_ERR(usbh_clk); retval 68 drivers/usb/host/ohci-spear.c retval = -ENOMEM; retval 75 drivers/usb/host/ohci-spear.c retval = PTR_ERR(hcd->regs); retval 87 drivers/usb/host/ohci-spear.c retval = usb_add_hcd(hcd, platform_get_irq(pdev, 0), 0); retval 88 drivers/usb/host/ohci-spear.c if (retval == 0) { retval 90 drivers/usb/host/ohci-spear.c return retval; retval 97 drivers/usb/host/ohci-spear.c dev_err(&pdev->dev, "init fail, %d\n", retval); retval 99 drivers/usb/host/ohci-spear.c return retval; retval 798 drivers/usb/host/oxu210hp-hcd.c int retval; retval 806 drivers/usb/host/oxu210hp-hcd.c retval = handshake(oxu, &oxu->regs->command, retval 809 drivers/usb/host/oxu210hp-hcd.c if (retval) retval 810 drivers/usb/host/oxu210hp-hcd.c return retval; retval 814 drivers/usb/host/oxu210hp-hcd.c return retval; retval 2529 drivers/usb/host/oxu210hp-hcd.c int retval = -ENOSPC; retval 2537 drivers/usb/host/oxu210hp-hcd.c retval = 0; retval 2543 drivers/usb/host/oxu210hp-hcd.c return retval; retval 3010 drivers/usb/host/oxu210hp-hcd.c int retval; retval 3022 drivers/usb/host/oxu210hp-hcd.c retval = ehci_mem_init(oxu, GFP_KERNEL); retval 3023 drivers/usb/host/oxu210hp-hcd.c if (retval < 0) retval 3024 drivers/usb/host/oxu210hp-hcd.c return retval; retval 3114 drivers/usb/host/oxu210hp-hcd.c int retval; retval 3120 drivers/usb/host/oxu210hp-hcd.c retval = ehci_reset(oxu); retval 3121 drivers/usb/host/oxu210hp-hcd.c if (retval != 0) { retval 3123 drivers/usb/host/oxu210hp-hcd.c return retval; retval 3489 drivers/usb/host/oxu210hp-hcd.c int ports, i, retval = 1; retval 3501 drivers/usb/host/oxu210hp-hcd.c retval++; retval 3542 drivers/usb/host/oxu210hp-hcd.c return status ? retval : 0; retval 3569 drivers/usb/host/oxu210hp-hcd.c int retval = 0; retval 3692 drivers/usb/host/oxu210hp-hcd.c retval = handshake(oxu, status_reg, retval 3694 drivers/usb/host/oxu210hp-hcd.c if (retval != 0) { retval 3697 drivers/usb/host/oxu210hp-hcd.c wIndex + 1, retval); retval 3717 drivers/usb/host/oxu210hp-hcd.c retval = handshake(oxu, status_reg, retval 3719 drivers/usb/host/oxu210hp-hcd.c if (retval != 0) { retval 3721 drivers/usb/host/oxu210hp-hcd.c wIndex + 1, retval); retval 3846 drivers/usb/host/oxu210hp-hcd.c retval = -EPIPE; retval 3849 drivers/usb/host/oxu210hp-hcd.c return retval; retval 804 drivers/usb/host/sl811-hcd.c int retval; retval 824 drivers/usb/host/sl811-hcd.c retval = -ENODEV; retval 828 drivers/usb/host/sl811-hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 829 drivers/usb/host/sl811-hcd.c if (retval) { retval 838 drivers/usb/host/sl811-hcd.c retval = -ENOMEM; retval 861 drivers/usb/host/sl811-hcd.c retval = -EINVAL; retval 912 drivers/usb/host/sl811-hcd.c retval = balance(sl811, ep->period, ep->load); retval 913 drivers/usb/host/sl811-hcd.c if (retval < 0) retval 915 drivers/usb/host/sl811-hcd.c ep->branch = retval; retval 916 drivers/usb/host/sl811-hcd.c retval = 0; retval 951 drivers/usb/host/sl811-hcd.c if (retval) retval 955 drivers/usb/host/sl811-hcd.c return retval; retval 964 drivers/usb/host/sl811-hcd.c int retval; retval 967 drivers/usb/host/sl811-hcd.c retval = usb_hcd_check_unlink_urb(hcd, urb, status); retval 968 drivers/usb/host/sl811-hcd.c if (retval) retval 1022 drivers/usb/host/sl811-hcd.c retval = -EINVAL; retval 1025 drivers/usb/host/sl811-hcd.c return retval; retval 1221 drivers/usb/host/sl811-hcd.c int retval = 0; retval 1338 drivers/usb/host/sl811-hcd.c retval = -EPIPE; retval 1342 drivers/usb/host/sl811-hcd.c return retval; retval 1616 drivers/usb/host/sl811-hcd.c int retval; retval 1638 drivers/usb/host/sl811-hcd.c retval = -EBUSY; retval 1655 drivers/usb/host/sl811-hcd.c retval = -ENOMEM; retval 1661 drivers/usb/host/sl811-hcd.c retval = -ENOMEM; retval 1669 drivers/usb/host/sl811-hcd.c retval = -ENOMEM; retval 1698 drivers/usb/host/sl811-hcd.c retval = -ENXIO; retval 1712 drivers/usb/host/sl811-hcd.c retval = usb_add_hcd(hcd, irq, irqflags); retval 1713 drivers/usb/host/sl811-hcd.c if (retval != 0) retval 1719 drivers/usb/host/sl811-hcd.c return retval; retval 1730 drivers/usb/host/sl811-hcd.c dev_dbg(&dev->dev, "init error, %d\n", retval); retval 1731 drivers/usb/host/sl811-hcd.c return retval; retval 1745 drivers/usb/host/sl811-hcd.c int retval = 0; retval 1749 drivers/usb/host/sl811-hcd.c retval = sl811h_bus_suspend(hcd); retval 1757 drivers/usb/host/sl811-hcd.c return retval; retval 424 drivers/usb/host/u132-hcd.c int retval; retval 425 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, revision, &revision); retval 426 drivers/usb/host/u132-hcd.c if (retval) { retval 428 drivers/usb/host/u132-hcd.c "ntrol\n", retval); retval 429 drivers/usb/host/u132-hcd.c return retval; retval 437 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, control, &u132->hc_control); retval 438 drivers/usb/host/u132-hcd.c if (retval) { retval 440 drivers/usb/host/u132-hcd.c "ntrol\n", retval); retval 441 drivers/usb/host/u132-hcd.c return retval; retval 443 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, roothub.status, retval 445 drivers/usb/host/u132-hcd.c if (retval) { retval 447 drivers/usb/host/u132-hcd.c "g roothub.status\n", retval); retval 448 drivers/usb/host/u132-hcd.c return retval; retval 450 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, roothub.a, &u132->hc_roothub_a); retval 451 drivers/usb/host/u132-hcd.c if (retval) { retval 453 drivers/usb/host/u132-hcd.c "g roothub.a\n", retval); retval 454 drivers/usb/host/u132-hcd.c return retval; retval 460 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, roothub.portstatus[i], retval 462 drivers/usb/host/u132-hcd.c if (retval) { retval 465 drivers/usb/host/u132-hcd.c , retval, i); retval 466 drivers/usb/host/u132-hcd.c return retval; retval 487 drivers/usb/host/u132-hcd.c int retval; retval 489 drivers/usb/host/u132-hcd.c retval = read_roothub_info(u132); retval 490 drivers/usb/host/u132-hcd.c if (retval) { retval 660 drivers/usb/host/u132-hcd.c int retval; retval 662 drivers/usb/host/u132-hcd.c retval = edset_single(u132, ring, endp, urb, retval 665 drivers/usb/host/u132-hcd.c if (retval != 0) retval 667 drivers/usb/host/u132-hcd.c retval); retval 748 drivers/usb/host/u132-hcd.c int retval; retval 750 drivers/usb/host/u132-hcd.c retval = edset_output(u132, ring, endp, urb, address, retval 752 drivers/usb/host/u132-hcd.c if (retval != 0) retval 753 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 807 drivers/usb/host/u132-hcd.c int retval; retval 812 drivers/usb/host/u132-hcd.c retval = usb_ftdi_elan_edset_input(u132->platform_dev, retval 816 drivers/usb/host/u132-hcd.c if (retval != 0) retval 817 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 947 drivers/usb/host/u132-hcd.c int retval; retval 949 drivers/usb/host/u132-hcd.c retval = usb_ftdi_elan_edset_empty(u132->platform_dev, retval 953 drivers/usb/host/u132-hcd.c if (retval != 0) retval 954 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1045 drivers/usb/host/u132-hcd.c int retval; retval 1048 drivers/usb/host/u132-hcd.c retval = usb_ftdi_elan_edset_input(u132->platform_dev, retval 1052 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1053 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1056 drivers/usb/host/u132-hcd.c int retval; retval 1059 drivers/usb/host/u132-hcd.c retval = usb_ftdi_elan_edset_input(u132->platform_dev, retval 1063 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1064 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1142 drivers/usb/host/u132-hcd.c int retval; retval 1145 drivers/usb/host/u132-hcd.c retval = usb_ftdi_elan_edset_input(u132->platform_dev, retval 1148 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1149 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1223 drivers/usb/host/u132-hcd.c int retval; retval 1234 drivers/usb/host/u132-hcd.c retval = usb_ftdi_elan_edset_empty(u132->platform_dev, retval 1237 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1238 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1275 drivers/usb/host/u132-hcd.c int retval; retval 1278 drivers/usb/host/u132-hcd.c retval = usb_ftdi_elan_edset_input(u132->platform_dev, retval 1281 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1282 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1390 drivers/usb/host/u132-hcd.c int retval; retval 1397 drivers/usb/host/u132-hcd.c retval = edset_single(u132, ring, endp, urb, address, retval 1399 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1400 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1410 drivers/usb/host/u132-hcd.c int retval; retval 1417 drivers/usb/host/u132-hcd.c retval = edset_setup(u132, ring, endp, urb, address, retval 1419 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1420 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1423 drivers/usb/host/u132-hcd.c int retval; retval 1430 drivers/usb/host/u132-hcd.c retval = edset_setup(u132, ring, endp, urb, 0, 0x2, retval 1432 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1433 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1436 drivers/usb/host/u132-hcd.c int retval; retval 1444 drivers/usb/host/u132-hcd.c retval = edset_setup(u132, ring, endp, urb, address, retval 1446 drivers/usb/host/u132-hcd.c if (retval != 0) retval 1447 drivers/usb/host/u132-hcd.c u132_hcd_giveback_urb(u132, endp, urb, retval); retval 1458 drivers/usb/host/u132-hcd.c int retval; retval 1465 drivers/usb/host/u132-hcd.c retval = edset_input(u132, ring, endp, urb, retval 1468 drivers/usb/host/u132-hcd.c if (retval == 0) { retval 1471 drivers/usb/host/u132-hcd.c retval); retval 1481 drivers/usb/host/u132-hcd.c int retval; retval 1488 drivers/usb/host/u132-hcd.c retval = edset_output(u132, ring, endp, urb, retval 1491 drivers/usb/host/u132-hcd.c if (retval == 0) { retval 1494 drivers/usb/host/u132-hcd.c retval); retval 1525 drivers/usb/host/u132-hcd.c int retval; retval 1529 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, fminterval, &fminterval); retval 1530 drivers/usb/host/u132-hcd.c if (retval) retval 1531 drivers/usb/host/u132-hcd.c return retval; retval 1533 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, fminterval, retval 1535 drivers/usb/host/u132-hcd.c if (retval) retval 1536 drivers/usb/host/u132-hcd.c return retval; retval 1558 drivers/usb/host/u132-hcd.c int retval; retval 1562 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, intrdisable, OHCI_INTR_MIE); retval 1563 drivers/usb/host/u132-hcd.c if (retval) retval 1564 drivers/usb/host/u132-hcd.c return retval; retval 1565 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, control, &control); retval 1566 drivers/usb/host/u132-hcd.c if (retval) retval 1567 drivers/usb/host/u132-hcd.c return retval; retval 1570 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, roothub.a, &rh_a); retval 1571 drivers/usb/host/u132-hcd.c if (retval) retval 1572 drivers/usb/host/u132-hcd.c return retval; retval 1574 drivers/usb/host/u132-hcd.c retval = read_roothub_info(u132); retval 1575 drivers/usb/host/u132-hcd.c if (retval) retval 1576 drivers/usb/host/u132-hcd.c return retval; retval 1591 drivers/usb/host/u132-hcd.c int retval; retval 1605 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, fminterval, &temp); retval 1606 drivers/usb/host/u132-hcd.c if (retval) retval 1607 drivers/usb/host/u132-hcd.c return retval; retval 1611 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, control, &u132->hc_control); retval 1612 drivers/usb/host/u132-hcd.c if (retval) retval 1613 drivers/usb/host/u132-hcd.c return retval; retval 1633 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, control, u132->hc_control); retval 1634 drivers/usb/host/u132-hcd.c if (retval) retval 1635 drivers/usb/host/u132-hcd.c return retval; retval 1636 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, control, &control); retval 1637 drivers/usb/host/u132-hcd.c if (retval) retval 1638 drivers/usb/host/u132-hcd.c return retval; retval 1640 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, roothub.a, &roothub_a); retval 1641 drivers/usb/host/u132-hcd.c if (retval) retval 1642 drivers/usb/host/u132-hcd.c return retval; retval 1646 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, retval 1648 drivers/usb/host/u132-hcd.c if (retval) retval 1649 drivers/usb/host/u132-hcd.c return retval; retval 1652 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, control, &control); retval 1653 drivers/usb/host/u132-hcd.c if (retval) retval 1654 drivers/usb/host/u132-hcd.c return retval; retval 1656 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, cmdstatus, &status); retval 1657 drivers/usb/host/u132-hcd.c if (retval) retval 1658 drivers/usb/host/u132-hcd.c return retval; retval 1659 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, cmdstatus, OHCI_HCR); retval 1660 drivers/usb/host/u132-hcd.c if (retval) retval 1661 drivers/usb/host/u132-hcd.c return retval; retval 1663 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, cmdstatus, &status); retval 1664 drivers/usb/host/u132-hcd.c if (retval) retval 1665 drivers/usb/host/u132-hcd.c return retval; retval 1678 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, control, u132->hc_control); retval 1679 drivers/usb/host/u132-hcd.c if (retval) retval 1680 drivers/usb/host/u132-hcd.c return retval; retval 1681 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, control, &control); retval 1682 drivers/usb/host/u132-hcd.c if (retval) retval 1683 drivers/usb/host/u132-hcd.c return retval; retval 1685 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, ed_controlhead, 0x00000000); retval 1686 drivers/usb/host/u132-hcd.c if (retval) retval 1687 drivers/usb/host/u132-hcd.c return retval; retval 1688 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, ed_bulkhead, 0x11000000); retval 1689 drivers/usb/host/u132-hcd.c if (retval) retval 1690 drivers/usb/host/u132-hcd.c return retval; retval 1691 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, hcca, 0x00000000); retval 1692 drivers/usb/host/u132-hcd.c if (retval) retval 1693 drivers/usb/host/u132-hcd.c return retval; retval 1694 drivers/usb/host/u132-hcd.c retval = u132_periodic_reinit(u132); retval 1695 drivers/usb/host/u132-hcd.c if (retval) retval 1696 drivers/usb/host/u132-hcd.c return retval; retval 1697 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, fminterval, &fminterval); retval 1698 drivers/usb/host/u132-hcd.c if (retval) retval 1699 drivers/usb/host/u132-hcd.c return retval; retval 1700 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, periodicstart, &periodicstart); retval 1701 drivers/usb/host/u132-hcd.c if (retval) retval 1702 drivers/usb/host/u132-hcd.c return retval; retval 1713 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, control, u132->hc_control); retval 1714 drivers/usb/host/u132-hcd.c if (retval) retval 1715 drivers/usb/host/u132-hcd.c return retval; retval 1716 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, cmdstatus, OHCI_BLF); retval 1717 drivers/usb/host/u132-hcd.c if (retval) retval 1718 drivers/usb/host/u132-hcd.c return retval; retval 1719 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, cmdstatus, &cmdstatus); retval 1720 drivers/usb/host/u132-hcd.c if (retval) retval 1721 drivers/usb/host/u132-hcd.c return retval; retval 1722 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, control, &control); retval 1723 drivers/usb/host/u132-hcd.c if (retval) retval 1724 drivers/usb/host/u132-hcd.c return retval; retval 1726 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, roothub.status, RH_HS_DRWE); retval 1727 drivers/usb/host/u132-hcd.c if (retval) retval 1728 drivers/usb/host/u132-hcd.c return retval; retval 1729 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, intrstatus, mask); retval 1730 drivers/usb/host/u132-hcd.c if (retval) retval 1731 drivers/usb/host/u132-hcd.c return retval; retval 1732 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, intrdisable, retval 1736 drivers/usb/host/u132-hcd.c if (retval) retval 1737 drivers/usb/host/u132-hcd.c return retval; /* handle root hub init quirks ... */ retval 1738 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, roothub.a, &roothub_a); retval 1739 drivers/usb/host/u132-hcd.c if (retval) retval 1740 drivers/usb/host/u132-hcd.c return retval; retval 1745 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, roothub.a, roothub_a); retval 1746 drivers/usb/host/u132-hcd.c if (retval) retval 1747 drivers/usb/host/u132-hcd.c return retval; retval 1750 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, roothub.a, roothub_a); retval 1751 drivers/usb/host/u132-hcd.c if (retval) retval 1752 drivers/usb/host/u132-hcd.c return retval; retval 1754 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, roothub.status, RH_HS_LPSC); retval 1755 drivers/usb/host/u132-hcd.c if (retval) retval 1756 drivers/usb/host/u132-hcd.c return retval; retval 1757 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, roothub.b, retval 1759 drivers/usb/host/u132-hcd.c if (retval) retval 1760 drivers/usb/host/u132-hcd.c return retval; retval 1761 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, control, &control); retval 1762 drivers/usb/host/u132-hcd.c if (retval) retval 1763 drivers/usb/host/u132-hcd.c return retval; retval 1797 drivers/usb/host/u132-hcd.c int retval; retval 1813 drivers/usb/host/u132-hcd.c retval = u132_run(u132); retval 1814 drivers/usb/host/u132-hcd.c if (retval) { retval 1820 drivers/usb/host/u132-hcd.c return retval; retval 1838 drivers/usb/host/u132-hcd.c int retval; retval 1840 drivers/usb/host/u132-hcd.c retval = u132_init(u132); retval 1841 drivers/usb/host/u132-hcd.c if (retval) { retval 1846 drivers/usb/host/u132-hcd.c return retval; retval 2263 drivers/usb/host/u132-hcd.c int retval; retval 2266 drivers/usb/host/u132-hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 2267 drivers/usb/host/u132-hcd.c if (retval == 0) { retval 2268 drivers/usb/host/u132-hcd.c retval = queue_int_on_old_endpoint( retval 2273 drivers/usb/host/u132-hcd.c if (retval) retval 2279 drivers/usb/host/u132-hcd.c if (retval) { retval 2280 drivers/usb/host/u132-hcd.c return retval; retval 2305 drivers/usb/host/u132-hcd.c int retval; retval 2308 drivers/usb/host/u132-hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 2309 drivers/usb/host/u132-hcd.c if (retval == 0) { retval 2310 drivers/usb/host/u132-hcd.c retval = queue_bulk_on_old_endpoint( retval 2315 drivers/usb/host/u132-hcd.c if (retval) retval 2321 drivers/usb/host/u132-hcd.c if (retval) { retval 2322 drivers/usb/host/u132-hcd.c return retval; retval 2354 drivers/usb/host/u132-hcd.c int retval; retval 2357 drivers/usb/host/u132-hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 2358 drivers/usb/host/u132-hcd.c if (retval == 0) { retval 2359 drivers/usb/host/u132-hcd.c retval = queue_control_on_old_endpoint( retval 2363 drivers/usb/host/u132-hcd.c if (retval) retval 2369 drivers/usb/host/u132-hcd.c if (retval) { retval 2370 drivers/usb/host/u132-hcd.c return retval; retval 2496 drivers/usb/host/u132-hcd.c int retval; retval 2499 drivers/usb/host/u132-hcd.c retval = dequeue_from_overflow_chain(u132, endp, retval 2502 drivers/usb/host/u132-hcd.c return retval; retval 2566 drivers/usb/host/u132-hcd.c int retval; retval 2570 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, roothub.a, &rh_a); retval 2571 drivers/usb/host/u132-hcd.c if (retval) retval 2572 drivers/usb/host/u132-hcd.c return retval; retval 2589 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, roothub.b, &rh_b); retval 2590 drivers/usb/host/u132-hcd.c if (retval) retval 2591 drivers/usb/host/u132-hcd.c return retval; retval 2637 drivers/usb/host/u132-hcd.c int retval; retval 2641 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, fmnumber, &fmnumber); retval 2642 drivers/usb/host/u132-hcd.c if (retval) retval 2643 drivers/usb/host/u132-hcd.c return retval; retval 2649 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, retval 2651 drivers/usb/host/u132-hcd.c if (retval) retval 2652 drivers/usb/host/u132-hcd.c return retval; retval 2662 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, retval 2665 drivers/usb/host/u132-hcd.c if (retval) retval 2666 drivers/usb/host/u132-hcd.c return retval; retval 2671 drivers/usb/host/u132-hcd.c retval = u132_write_pcimem(u132, roothub.portstatus[port_index], retval 2673 drivers/usb/host/u132-hcd.c if (retval) retval 2674 drivers/usb/host/u132-hcd.c return retval; retval 2676 drivers/usb/host/u132-hcd.c retval = u132_read_pcimem(u132, fmnumber, &fmnumber); retval 2677 drivers/usb/host/u132-hcd.c if (retval) retval 2678 drivers/usb/host/u132-hcd.c return retval; retval 2821 drivers/usb/host/u132-hcd.c int retval = 0; retval 2843 drivers/usb/host/u132-hcd.c retval = u132_roothub_clearportfeature(u132, retval 2845 drivers/usb/host/u132-hcd.c if (retval) retval 2850 drivers/usb/host/u132-hcd.c retval = u132_roothub_descriptor(u132, retval 2852 drivers/usb/host/u132-hcd.c if (retval) retval 2857 drivers/usb/host/u132-hcd.c retval = u132_roothub_status(u132, retval 2859 drivers/usb/host/u132-hcd.c if (retval) retval 2864 drivers/usb/host/u132-hcd.c retval = u132_roothub_portstatus(u132, retval 2866 drivers/usb/host/u132-hcd.c if (retval) retval 2871 drivers/usb/host/u132-hcd.c retval = u132_roothub_setportfeature(u132, retval 2873 drivers/usb/host/u132-hcd.c if (retval) retval 2884 drivers/usb/host/u132-hcd.c retval = -EPIPE; retval 2888 drivers/usb/host/u132-hcd.c return retval; retval 3063 drivers/usb/host/u132-hcd.c int retval; retval 3071 drivers/usb/host/u132-hcd.c retval = ftdi_write_pcimem(pdev, intrdisable, OHCI_INTR_MIE); retval 3072 drivers/usb/host/u132-hcd.c if (retval) retval 3073 drivers/usb/host/u132-hcd.c return retval; retval 3074 drivers/usb/host/u132-hcd.c retval = ftdi_read_pcimem(pdev, control, &control); retval 3075 drivers/usb/host/u132-hcd.c if (retval) retval 3076 drivers/usb/host/u132-hcd.c return retval; retval 3077 drivers/usb/host/u132-hcd.c retval = ftdi_read_pcimem(pdev, roothub.a, &rh_a); retval 3078 drivers/usb/host/u132-hcd.c if (retval) retval 3079 drivers/usb/host/u132-hcd.c return retval; retval 3089 drivers/usb/host/u132-hcd.c retval = 0; retval 3098 drivers/usb/host/u132-hcd.c retval = usb_add_hcd(hcd, 0, 0); retval 3099 drivers/usb/host/u132-hcd.c if (retval != 0) { retval 3101 drivers/usb/host/u132-hcd.c retval); retval 3103 drivers/usb/host/u132-hcd.c return retval; retval 3130 drivers/usb/host/u132-hcd.c int retval = 0, ports; retval 3134 drivers/usb/host/u132-hcd.c retval = u132_bus_suspend(hcd); retval 3144 drivers/usb/host/u132-hcd.c return retval; retval 3160 drivers/usb/host/u132-hcd.c int retval = 0; retval 3166 drivers/usb/host/u132-hcd.c retval = 0; retval 3168 drivers/usb/host/u132-hcd.c retval = u132_bus_resume(hcd); retval 3170 drivers/usb/host/u132-hcd.c return retval; retval 3194 drivers/usb/host/u132-hcd.c int retval; retval 3205 drivers/usb/host/u132-hcd.c retval = platform_driver_register(&u132_platform_driver); retval 3206 drivers/usb/host/u132-hcd.c if (retval) retval 3209 drivers/usb/host/u132-hcd.c return retval; retval 578 drivers/usb/host/uhci-hcd.c int retval = -EBUSY; retval 707 drivers/usb/host/uhci-hcd.c return retval; retval 867 drivers/usb/host/uhci-hcd.c int retval = -ENOMEM; retval 889 drivers/usb/host/uhci-hcd.c retval = platform_driver_register(&PLATFORM_DRIVER); retval 890 drivers/usb/host/uhci-hcd.c if (retval < 0) retval 895 drivers/usb/host/uhci-hcd.c retval = pci_register_driver(&PCI_DRIVER); retval 896 drivers/usb/host/uhci-hcd.c if (retval < 0) retval 921 drivers/usb/host/uhci-hcd.c return retval; retval 247 drivers/usb/host/uhci-hub.c int status, lstatus, retval = 0; retval 261 drivers/usb/host/uhci-hub.c retval = 4; /* hub power */ retval 315 drivers/usb/host/uhci-hub.c retval = 4; retval 409 drivers/usb/host/uhci-hub.c retval = min_t(unsigned int, sizeof(root_hub_hub_des), wLength); retval 410 drivers/usb/host/uhci-hub.c memcpy(buf, root_hub_hub_des, retval); retval 411 drivers/usb/host/uhci-hub.c if (retval > 2) retval 416 drivers/usb/host/uhci-hub.c retval = -EPIPE; retval 420 drivers/usb/host/uhci-hub.c return retval; retval 621 drivers/usb/host/xhci-hub.c int i, retval; retval 630 drivers/usb/host/xhci-hub.c retval = xhci_disable_slot(xhci, i); retval 631 drivers/usb/host/xhci-hub.c if (retval) retval 633 drivers/usb/host/xhci-hub.c i, retval); retval 646 drivers/usb/host/xhci-hub.c retval = xhci_halt(xhci); retval 647 drivers/usb/host/xhci-hub.c if (retval) retval 648 drivers/usb/host/xhci-hub.c return retval; retval 656 drivers/usb/host/xhci-hub.c return retval; retval 661 drivers/usb/host/xhci-hub.c int retval; retval 669 drivers/usb/host/xhci-hub.c retval = xhci_halt(xhci); retval 670 drivers/usb/host/xhci-hub.c if (retval) retval 671 drivers/usb/host/xhci-hub.c return retval; retval 1094 drivers/usb/host/xhci-hub.c int retval = 0; retval 1137 drivers/usb/host/xhci-hub.c retval = xhci_create_usb3_bos_desc(xhci, buf, wLength); retval 1139 drivers/usb/host/xhci-hub.c return retval; retval 1147 drivers/usb/host/xhci-hub.c retval = -ENODEV; retval 1166 drivers/usb/host/xhci-hub.c retval = -EINVAL; retval 1190 drivers/usb/host/xhci-hub.c retval = -ENODEV; retval 1300 drivers/usb/host/xhci-hub.c retval = -ENODEV; retval 1424 drivers/usb/host/xhci-hub.c retval = xhci_enter_test_mode(xhci, test_mode, wIndex, retval 1440 drivers/usb/host/xhci-hub.c retval = -ENODEV; retval 1499 drivers/usb/host/xhci-hub.c retval = xhci_exit_test_mode(xhci); retval 1508 drivers/usb/host/xhci-hub.c retval = -EPIPE; retval 1511 drivers/usb/host/xhci-hub.c return retval; retval 1527 drivers/usb/host/xhci-hub.c int i, retval; retval 1541 drivers/usb/host/xhci-hub.c retval = (max_ports + 8) / 8; retval 1542 drivers/usb/host/xhci-hub.c memset(buf, 0, retval); retval 1558 drivers/usb/host/xhci-hub.c retval = -ENODEV; retval 1580 drivers/usb/host/xhci-hub.c return status ? retval : 0; retval 292 drivers/usb/host/xhci-pci.c int retval; retval 301 drivers/usb/host/xhci-pci.c retval = xhci_gen_setup(hcd, xhci_pci_quirks); retval 302 drivers/usb/host/xhci-pci.c if (retval) retval 303 drivers/usb/host/xhci-pci.c return retval; retval 323 drivers/usb/host/xhci-pci.c int retval; retval 339 drivers/usb/host/xhci-pci.c retval = usb_hcd_pci_probe(dev, id); retval 341 drivers/usb/host/xhci-pci.c if (retval) retval 350 drivers/usb/host/xhci-pci.c retval = -ENOMEM; retval 354 drivers/usb/host/xhci-pci.c retval = xhci_ext_cap_init(xhci); retval 355 drivers/usb/host/xhci-pci.c if (retval) retval 358 drivers/usb/host/xhci-pci.c retval = usb_add_hcd(xhci->shared_hcd, dev->irq, retval 360 drivers/usb/host/xhci-pci.c if (retval) retval 382 drivers/usb/host/xhci-pci.c return retval; retval 493 drivers/usb/host/xhci-pci.c int retval = 0; retval 522 drivers/usb/host/xhci-pci.c retval = xhci_resume(xhci, hibernated); retval 523 drivers/usb/host/xhci-pci.c return retval; retval 130 drivers/usb/host/xhci-rcar.c int retval, index, j, time; retval 149 drivers/usb/host/xhci-rcar.c retval = request_firmware(&fw, firmware_name, dev); retval 150 drivers/usb/host/xhci-rcar.c if (retval) retval 151 drivers/usb/host/xhci-rcar.c return retval; retval 176 drivers/usb/host/xhci-rcar.c retval = -ETIMEDOUT; retval 188 drivers/usb/host/xhci-rcar.c retval = 0; retval 194 drivers/usb/host/xhci-rcar.c retval = -ETIMEDOUT; retval 198 drivers/usb/host/xhci-rcar.c return retval; retval 578 drivers/usb/host/xhci.c int retval = 0; retval 590 drivers/usb/host/xhci.c retval = xhci_mem_init(xhci, GFP_KERNEL); retval 599 drivers/usb/host/xhci.c return retval; retval 1086 drivers/usb/host/xhci.c int retval = 0; retval 1112 drivers/usb/host/xhci.c retval = xhci_handshake(&xhci->op_regs->status, retval 1114 drivers/usb/host/xhci.c if (retval) { retval 1116 drivers/usb/host/xhci.c retval); retval 1118 drivers/usb/host/xhci.c return retval; retval 1160 drivers/usb/host/xhci.c retval = xhci_reset(xhci); retval 1162 drivers/usb/host/xhci.c if (retval) retval 1163 drivers/usb/host/xhci.c return retval; retval 1188 drivers/usb/host/xhci.c retval = xhci_init(hcd->primary_hcd); retval 1189 drivers/usb/host/xhci.c if (retval) retval 1190 drivers/usb/host/xhci.c return retval; retval 1194 drivers/usb/host/xhci.c retval = xhci_run(hcd->primary_hcd); retval 1195 drivers/usb/host/xhci.c if (!retval) { retval 1197 drivers/usb/host/xhci.c retval = xhci_run(secondary_hcd); retval 1225 drivers/usb/host/xhci.c if (retval == 0) { retval 1252 drivers/usb/host/xhci.c return retval; retval 5125 drivers/usb/host/xhci.c int retval; retval 5218 drivers/usb/host/xhci.c retval = xhci_halt(xhci); retval 5219 drivers/usb/host/xhci.c if (retval) retval 5220 drivers/usb/host/xhci.c return retval; retval 5226 drivers/usb/host/xhci.c retval = xhci_reset(xhci); retval 5227 drivers/usb/host/xhci.c if (retval) retval 5228 drivers/usb/host/xhci.c return retval; retval 5252 drivers/usb/host/xhci.c retval = dma_set_mask(dev, DMA_BIT_MASK(32)); retval 5253 drivers/usb/host/xhci.c if (retval) retval 5254 drivers/usb/host/xhci.c return retval; retval 5261 drivers/usb/host/xhci.c retval = xhci_init(hcd); retval 5262 drivers/usb/host/xhci.c if (retval) retval 5263 drivers/usb/host/xhci.c return retval; retval 428 drivers/usb/image/mdc800.c int retval; retval 485 drivers/usb/image/mdc800.c retval = usb_register_dev(intf, &mdc800_class); retval 486 drivers/usb/image/mdc800.c if (retval) { retval 608 drivers/usb/image/mdc800.c int retval=0; retval 634 drivers/usb/image/mdc800.c retval=0; retval 636 drivers/usb/image/mdc800.c retval = usb_submit_urb (mdc800->irq_urb, GFP_KERNEL); retval 637 drivers/usb/image/mdc800.c if (retval) { retval 639 drivers/usb/image/mdc800.c "request USB irq fails (submit_retval=%i).\n", retval); retval 658 drivers/usb/image/mdc800.c int retval=0; retval 670 drivers/usb/image/mdc800.c retval=-EIO; retval 674 drivers/usb/image/mdc800.c return retval; retval 685 drivers/usb/image/mdc800.c int retval; retval 726 drivers/usb/image/mdc800.c retval = usb_submit_urb (mdc800->download_urb, GFP_KERNEL); retval 727 drivers/usb/image/mdc800.c if (retval) { retval 730 drivers/usb/image/mdc800.c "(retval=%i)\n", retval); retval 783 drivers/usb/image/mdc800.c int retval; retval 851 drivers/usb/image/mdc800.c retval = usb_submit_urb (mdc800->write_urb, GFP_KERNEL); retval 852 drivers/usb/image/mdc800.c if (retval) { retval 855 drivers/usb/image/mdc800.c "(retval=%i)\n", retval); retval 984 drivers/usb/image/mdc800.c int retval = -ENODEV; retval 1023 drivers/usb/image/mdc800.c retval = usb_register(&mdc800_usb_driver); retval 1024 drivers/usb/image/mdc800.c if (retval) retval 1051 drivers/usb/image/mdc800.c return retval; retval 1295 drivers/usb/isp1760/isp1760-hcd.c int retval; retval 1321 drivers/usb/isp1760/isp1760-hcd.c retval = handshake(hcd, HC_USBCMD, CMD_RUN, CMD_RUN, 250 * 1000); retval 1322 drivers/usb/isp1760/isp1760-hcd.c if (retval) retval 1323 drivers/usb/isp1760/isp1760-hcd.c return retval; retval 1333 drivers/usb/isp1760/isp1760-hcd.c retval = handshake(hcd, HC_CONFIGFLAG, FLAG_CF, FLAG_CF, 250 * 1000); retval 1335 drivers/usb/isp1760/isp1760-hcd.c if (retval) retval 1336 drivers/usb/isp1760/isp1760-hcd.c return retval; retval 1501 drivers/usb/isp1760/isp1760-hcd.c int retval; retval 1535 drivers/usb/isp1760/isp1760-hcd.c retval = 0; retval 1539 drivers/usb/isp1760/isp1760-hcd.c retval = -ESHUTDOWN; retval 1543 drivers/usb/isp1760/isp1760-hcd.c retval = usb_hcd_link_urb_to_ep(hcd, urb); retval 1544 drivers/usb/isp1760/isp1760-hcd.c if (retval) { retval 1563 drivers/usb/isp1760/isp1760-hcd.c retval = -ENOMEM; retval 1577 drivers/usb/isp1760/isp1760-hcd.c return retval; retval 1649 drivers/usb/isp1760/isp1760-hcd.c int retval = 0; retval 1652 drivers/usb/isp1760/isp1760-hcd.c retval = usb_hcd_check_unlink_urb(hcd, urb, status); retval 1653 drivers/usb/isp1760/isp1760-hcd.c if (retval) retval 1658 drivers/usb/isp1760/isp1760-hcd.c retval = -EINVAL; retval 1674 drivers/usb/isp1760/isp1760-hcd.c return retval; retval 1714 drivers/usb/isp1760/isp1760-hcd.c int retval = 1; retval 1753 drivers/usb/isp1760/isp1760-hcd.c return status ? retval : 0; retval 1819 drivers/usb/isp1760/isp1760-hcd.c int retval = 0; retval 1940 drivers/usb/isp1760/isp1760-hcd.c retval = handshake(hcd, HC_PORTSC1, retval 1942 drivers/usb/isp1760/isp1760-hcd.c if (retval != 0) { retval 1945 drivers/usb/isp1760/isp1760-hcd.c wIndex + 1, retval); retval 1964 drivers/usb/isp1760/isp1760-hcd.c retval = handshake(hcd, HC_PORTSC1, retval 1966 drivers/usb/isp1760/isp1760-hcd.c if (retval != 0) { retval 1968 drivers/usb/isp1760/isp1760-hcd.c wIndex + 1, retval); retval 2070 drivers/usb/isp1760/isp1760-hcd.c retval = -EPIPE; retval 2073 drivers/usb/isp1760/isp1760-hcd.c return retval; retval 231 drivers/usb/misc/adutux.c int retval; retval 235 drivers/usb/misc/adutux.c retval = mutex_lock_interruptible(&adutux_mutex); retval 236 drivers/usb/misc/adutux.c if (retval) retval 243 drivers/usb/misc/adutux.c retval = -ENODEV; retval 249 drivers/usb/misc/adutux.c retval = -ENODEV; retval 255 drivers/usb/misc/adutux.c retval = -EBUSY; retval 286 drivers/usb/misc/adutux.c retval = 0; retval 291 drivers/usb/misc/adutux.c return retval; retval 309 drivers/usb/misc/adutux.c int retval = 0; retval 312 drivers/usb/misc/adutux.c retval = -ENODEV; retval 318 drivers/usb/misc/adutux.c retval = -ENODEV; retval 326 drivers/usb/misc/adutux.c retval = -ENODEV; retval 339 drivers/usb/misc/adutux.c return retval; retval 348 drivers/usb/misc/adutux.c int retval = 0; retval 360 drivers/usb/misc/adutux.c retval = -ENODEV; retval 361 drivers/usb/misc/adutux.c pr_err("No device or device unplugged %d\n", retval); retval 385 drivers/usb/misc/adutux.c retval = -EFAULT; retval 433 drivers/usb/misc/adutux.c retval = usb_submit_urb(dev->interrupt_in_urb, GFP_KERNEL); retval 434 drivers/usb/misc/adutux.c if (retval) { retval 436 drivers/usb/misc/adutux.c if (retval == -ENOMEM) { retval 437 drivers/usb/misc/adutux.c retval = bytes_read ? bytes_read : -ENOMEM; retval 462 drivers/usb/misc/adutux.c retval = bytes_read ? bytes_read : -ETIMEDOUT; retval 470 drivers/usb/misc/adutux.c retval = bytes_read ? bytes_read : -EINTR; retval 477 drivers/usb/misc/adutux.c retval = bytes_read; retval 502 drivers/usb/misc/adutux.c return retval; retval 514 drivers/usb/misc/adutux.c int retval; retval 518 drivers/usb/misc/adutux.c retval = mutex_lock_interruptible(&dev->mtx); retval 519 drivers/usb/misc/adutux.c if (retval) retval 524 drivers/usb/misc/adutux.c retval = -ENODEV; retval 525 drivers/usb/misc/adutux.c pr_err("No device or device unplugged %d\n", retval); retval 548 drivers/usb/misc/adutux.c retval = -EINTR; retval 554 drivers/usb/misc/adutux.c retval = -ETIMEDOUT; retval 558 drivers/usb/misc/adutux.c retval = mutex_lock_interruptible(&dev->mtx); retval 559 drivers/usb/misc/adutux.c if (retval) { retval 560 drivers/usb/misc/adutux.c retval = bytes_written ? bytes_written : retval; retval 582 drivers/usb/misc/adutux.c retval = -EFAULT; retval 598 drivers/usb/misc/adutux.c retval = usb_submit_urb(dev->interrupt_out_urb, GFP_KERNEL); retval 599 drivers/usb/misc/adutux.c if (retval < 0) { retval 602 drivers/usb/misc/adutux.c "interrupt_out_urb %d\n", retval); retval 618 drivers/usb/misc/adutux.c return retval; retval 622 drivers/usb/misc/adutux.c return retval; retval 656 drivers/usb/misc/adutux.c int retval = -ENOMEM; retval 678 drivers/usb/misc/adutux.c retval = res; retval 725 drivers/usb/misc/adutux.c retval = -EIO; retval 733 drivers/usb/misc/adutux.c retval = usb_register_dev(interface, &adu_class); retval 735 drivers/usb/misc/adutux.c if (retval) { retval 753 drivers/usb/misc/adutux.c return retval; retval 82 drivers/usb/misc/appledisplay.c int retval; retval 119 drivers/usb/misc/appledisplay.c retval = usb_submit_urb(pdata->urb, GFP_ATOMIC); retval 120 drivers/usb/misc/appledisplay.c if (retval) { retval 122 drivers/usb/misc/appledisplay.c __func__, retval); retval 129 drivers/usb/misc/appledisplay.c int retval; retval 135 drivers/usb/misc/appledisplay.c retval = usb_control_msg( retval 146 drivers/usb/misc/appledisplay.c if (retval < 0) retval 147 drivers/usb/misc/appledisplay.c return retval; retval 155 drivers/usb/misc/appledisplay.c int retval, brightness; retval 158 drivers/usb/misc/appledisplay.c retval = usb_control_msg( retval 167 drivers/usb/misc/appledisplay.c if (retval < 2) { retval 168 drivers/usb/misc/appledisplay.c if (retval >= 0) retval 169 drivers/usb/misc/appledisplay.c retval = -EMSGSIZE; retval 175 drivers/usb/misc/appledisplay.c if (retval < 0) retval 176 drivers/usb/misc/appledisplay.c return retval; retval 190 drivers/usb/misc/appledisplay.c int retval; retval 192 drivers/usb/misc/appledisplay.c retval = appledisplay_bl_get_brightness(pdata->bd); retval 193 drivers/usb/misc/appledisplay.c if (retval >= 0) retval 194 drivers/usb/misc/appledisplay.c pdata->bd->props.brightness = retval; retval 209 drivers/usb/misc/appledisplay.c int retval, brightness; retval 214 drivers/usb/misc/appledisplay.c retval = usb_find_int_in_endpoint(iface->cur_altsetting, &endpoint); retval 215 drivers/usb/misc/appledisplay.c if (retval) { retval 217 drivers/usb/misc/appledisplay.c return retval; retval 225 drivers/usb/misc/appledisplay.c retval = -ENOMEM; retval 237 drivers/usb/misc/appledisplay.c retval = -ENOMEM; retval 244 drivers/usb/misc/appledisplay.c retval = -ENOMEM; retval 252 drivers/usb/misc/appledisplay.c retval = -ENOMEM; retval 264 drivers/usb/misc/appledisplay.c retval = -EIO; retval 279 drivers/usb/misc/appledisplay.c retval = PTR_ERR(pdata->bd); retval 287 drivers/usb/misc/appledisplay.c retval = brightness; retval 289 drivers/usb/misc/appledisplay.c "Error while getting initial brightness: %d\n", retval); retval 319 drivers/usb/misc/appledisplay.c return retval; retval 72 drivers/usb/misc/cypress_cy7c63.c int retval = 0; retval 79 drivers/usb/misc/cypress_cy7c63.c retval = -ENOMEM; retval 87 drivers/usb/misc/cypress_cy7c63.c retval = usb_control_msg(dev->udev, pipe, request, retval 112 drivers/usb/misc/cypress_cy7c63.c return retval; retval 207 drivers/usb/misc/cypress_cy7c63.c int retval = -ENOMEM; retval 225 drivers/usb/misc/cypress_cy7c63.c return retval; retval 82 drivers/usb/misc/cytherm.c int retval; retval 96 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS, retval 98 drivers/usb/misc/cytherm.c if (retval) retval 99 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 101 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS_SEM, retval 103 drivers/usb/misc/cytherm.c if (retval) retval 104 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 122 drivers/usb/misc/cytherm.c int retval; retval 132 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_RAM, TEMP, 0, buffer, 8); retval 133 drivers/usb/misc/cytherm.c if (retval) retval 134 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 138 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_RAM, SIGN, 0, buffer, 8); retval 139 drivers/usb/misc/cytherm.c if (retval) retval 140 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 159 drivers/usb/misc/cytherm.c int retval; retval 167 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_RAM, BUTTON, 0, buffer, 8); retval 168 drivers/usb/misc/cytherm.c if (retval) retval 169 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 171 drivers/usb/misc/cytherm.c retval = buffer[1]; retval 175 drivers/usb/misc/cytherm.c if (retval) retval 188 drivers/usb/misc/cytherm.c int retval; retval 195 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_PORT, 0, 0, buffer, 8); retval 196 drivers/usb/misc/cytherm.c if (retval) retval 197 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 199 drivers/usb/misc/cytherm.c retval = buffer[1]; retval 203 drivers/usb/misc/cytherm.c return sprintf(buf, "%d", retval); retval 213 drivers/usb/misc/cytherm.c int retval; retval 227 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, WRITE_PORT, 0, retval 229 drivers/usb/misc/cytherm.c if (retval) retval 230 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 243 drivers/usb/misc/cytherm.c int retval; retval 250 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, READ_PORT, 1, 0, buffer, 8); retval 251 drivers/usb/misc/cytherm.c if (retval) retval 252 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 254 drivers/usb/misc/cytherm.c retval = buffer[1]; retval 258 drivers/usb/misc/cytherm.c return sprintf(buf, "%d", retval); retval 268 drivers/usb/misc/cytherm.c int retval; retval 282 drivers/usb/misc/cytherm.c retval = vendor_command(cytherm->udev, WRITE_PORT, 1, retval 284 drivers/usb/misc/cytherm.c if (retval) retval 285 drivers/usb/misc/cytherm.c dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); retval 308 drivers/usb/misc/cytherm.c int retval = -ENOMEM; retval 325 drivers/usb/misc/cytherm.c return retval; retval 466 drivers/usb/misc/ftdi-elan.c int retval = ftdi_elan_command_engine(ftdi); retval 467 drivers/usb/misc/ftdi-elan.c if (retval == -ESHUTDOWN) { retval 469 drivers/usb/misc/ftdi-elan.c } else if (retval == -ENODEV) { retval 471 drivers/usb/misc/ftdi-elan.c } else if (retval) retval 472 drivers/usb/misc/ftdi-elan.c dev_err(&ftdi->udev->dev, "command error %d\n", retval); retval 491 drivers/usb/misc/ftdi-elan.c int retval = ftdi_elan_respond_engine(ftdi); retval 492 drivers/usb/misc/ftdi-elan.c if (retval == 0) { retval 493 drivers/usb/misc/ftdi-elan.c } else if (retval == -ESHUTDOWN) { retval 495 drivers/usb/misc/ftdi-elan.c } else if (retval == -ENODEV) { retval 497 drivers/usb/misc/ftdi-elan.c } else if (retval == -EILSEQ) { retval 501 drivers/usb/misc/ftdi-elan.c dev_err(&ftdi->udev->dev, "respond error %d\n", retval); retval 690 drivers/usb/misc/ftdi-elan.c int retval = usb_bulk_msg(ftdi->udev, retval 698 drivers/usb/misc/ftdi-elan.c } else if (retval == -ETIMEDOUT) { retval 704 drivers/usb/misc/ftdi-elan.c return retval; retval 705 drivers/usb/misc/ftdi-elan.c } else if (retval == 0) { retval 711 drivers/usb/misc/ftdi-elan.c return retval; retval 771 drivers/usb/misc/ftdi-elan.c int retval; retval 811 drivers/usb/misc/ftdi-elan.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 812 drivers/usb/misc/ftdi-elan.c if (retval) { retval 814 drivers/usb/misc/ftdi-elan.c retval, urb, command_size, total_size); retval 817 drivers/usb/misc/ftdi-elan.c return retval; retval 920 drivers/usb/misc/ftdi-elan.c int retval = usb_bulk_msg(ftdi->udev, retval 940 drivers/usb/misc/ftdi-elan.c } else if (retval == -ETIMEDOUT) { retval 954 drivers/usb/misc/ftdi-elan.c } else if (retval == -EILSEQ) { retval 956 drivers/usb/misc/ftdi-elan.c retval, packet_bytes, bytes_read, diag); retval 957 drivers/usb/misc/ftdi-elan.c return retval; retval 958 drivers/usb/misc/ftdi-elan.c } else if (retval) { retval 960 drivers/usb/misc/ftdi-elan.c retval, packet_bytes, bytes_read, diag); retval 961 drivers/usb/misc/ftdi-elan.c return retval; retval 1082 drivers/usb/misc/ftdi-elan.c int retval = 0; retval 1095 drivers/usb/misc/ftdi-elan.c retval = -ENOMEM; retval 1101 drivers/usb/misc/ftdi-elan.c retval = -ENOMEM; retval 1105 drivers/usb/misc/ftdi-elan.c retval = -EFAULT; retval 1112 drivers/usb/misc/ftdi-elan.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 1113 drivers/usb/misc/ftdi-elan.c if (retval) { retval 1115 drivers/usb/misc/ftdi-elan.c "failed submitting write urb, error %d\n", retval); retval 1127 drivers/usb/misc/ftdi-elan.c return retval; retval 1811 drivers/usb/misc/ftdi-elan.c int retval = usb_bulk_msg(ftdi->udev, retval 1855 drivers/usb/misc/ftdi-elan.c } else if (retval == -ETIMEDOUT) { retval 1862 drivers/usb/misc/ftdi-elan.c } else if (retval == 0) { retval 1870 drivers/usb/misc/ftdi-elan.c dev_err(&ftdi->udev->dev, "error = %d\n", retval); retval 1871 drivers/usb/misc/ftdi-elan.c return retval; retval 1884 drivers/usb/misc/ftdi-elan.c int retval; retval 1904 drivers/usb/misc/ftdi-elan.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 1905 drivers/usb/misc/ftdi-elan.c if (retval) { retval 1922 drivers/usb/misc/ftdi-elan.c int retval; retval 1944 drivers/usb/misc/ftdi-elan.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 1945 drivers/usb/misc/ftdi-elan.c if (retval) { retval 1957 drivers/usb/misc/ftdi-elan.c int retval; retval 1962 drivers/usb/misc/ftdi-elan.c retval = ftdi_elan_flush_input_fifo(ftdi); retval 1963 drivers/usb/misc/ftdi-elan.c if (retval) retval 1964 drivers/usb/misc/ftdi-elan.c return retval; retval 1970 drivers/usb/misc/ftdi-elan.c retval = ftdi_elan_synchronize_flush(ftdi); retval 1971 drivers/usb/misc/ftdi-elan.c if (retval) retval 1972 drivers/usb/misc/ftdi-elan.c return retval; retval 1973 drivers/usb/misc/ftdi-elan.c retval = ftdi_elan_flush_input_fifo(ftdi); retval 1974 drivers/usb/misc/ftdi-elan.c if (retval) retval 1975 drivers/usb/misc/ftdi-elan.c return retval; retval 1976 drivers/usb/misc/ftdi-elan.c reset:retval = ftdi_elan_synchronize_reset(ftdi); retval 1977 drivers/usb/misc/ftdi-elan.c if (retval) retval 1978 drivers/usb/misc/ftdi-elan.c return retval; retval 1983 drivers/usb/misc/ftdi-elan.c retval = usb_bulk_msg(ftdi->udev, retval 2041 drivers/usb/misc/ftdi-elan.c } else if (retval == -ETIMEDOUT) { retval 2048 drivers/usb/misc/ftdi-elan.c } else if (retval == 0) { retval 2058 drivers/usb/misc/ftdi-elan.c retval); retval 2079 drivers/usb/misc/ftdi-elan.c int retval = usb_bulk_msg(ftdi->udev, retval 2122 drivers/usb/misc/ftdi-elan.c } else if (retval == -ETIMEDOUT) { retval 2129 drivers/usb/misc/ftdi-elan.c } else if (retval == 0) { retval 2137 drivers/usb/misc/ftdi-elan.c dev_err(&ftdi->udev->dev, "error = %d\n", retval); retval 2194 drivers/usb/misc/ftdi-elan.c int retval; retval 2209 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, intrdisable, OHCI_INTR_MIE); retval 2210 drivers/usb/misc/ftdi-elan.c if (retval) retval 2211 drivers/usb/misc/ftdi-elan.c return retval; retval 2212 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, control, &control); retval 2213 drivers/usb/misc/ftdi-elan.c if (retval) retval 2214 drivers/usb/misc/ftdi-elan.c return retval; retval 2215 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, roothub.a, &rh_a); retval 2216 drivers/usb/misc/ftdi-elan.c if (retval) retval 2217 drivers/usb/misc/ftdi-elan.c return retval; retval 2219 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, fminterval, &hc_fminterval); retval 2220 drivers/usb/misc/ftdi-elan.c if (retval) retval 2221 drivers/usb/misc/ftdi-elan.c return retval; retval 2226 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, control, &hc_control); retval 2227 drivers/usb/misc/ftdi-elan.c if (retval) retval 2228 drivers/usb/misc/ftdi-elan.c return retval; retval 2245 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, control, hc_control); retval 2246 drivers/usb/misc/ftdi-elan.c if (retval) retval 2247 drivers/usb/misc/ftdi-elan.c return retval; retval 2248 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, control, &control); retval 2249 drivers/usb/misc/ftdi-elan.c if (retval) retval 2250 drivers/usb/misc/ftdi-elan.c return retval; retval 2252 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a); retval 2253 drivers/usb/misc/ftdi-elan.c if (retval) retval 2254 drivers/usb/misc/ftdi-elan.c return retval; retval 2257 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, retval 2259 drivers/usb/misc/ftdi-elan.c if (retval) retval 2260 drivers/usb/misc/ftdi-elan.c return retval; retval 2263 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, control, &control); retval 2264 drivers/usb/misc/ftdi-elan.c if (retval) retval 2265 drivers/usb/misc/ftdi-elan.c return retval; retval 2266 drivers/usb/misc/ftdi-elan.c retry:retval = ftdi_read_pcimem(ftdi, cmdstatus, &status); retval 2267 drivers/usb/misc/ftdi-elan.c if (retval) retval 2268 drivers/usb/misc/ftdi-elan.c return retval; retval 2269 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, cmdstatus, OHCI_HCR); retval 2270 drivers/usb/misc/ftdi-elan.c if (retval) retval 2271 drivers/usb/misc/ftdi-elan.c return retval; retval 2273 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, cmdstatus, &status); retval 2274 drivers/usb/misc/ftdi-elan.c if (retval) retval 2275 drivers/usb/misc/ftdi-elan.c return retval; retval 2287 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, control, hc_control); retval 2288 drivers/usb/misc/ftdi-elan.c if (retval) retval 2289 drivers/usb/misc/ftdi-elan.c return retval; retval 2290 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, control, &control); retval 2291 drivers/usb/misc/ftdi-elan.c if (retval) retval 2292 drivers/usb/misc/ftdi-elan.c return retval; retval 2294 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, ed_controlhead, 0x00000000); retval 2295 drivers/usb/misc/ftdi-elan.c if (retval) retval 2296 drivers/usb/misc/ftdi-elan.c return retval; retval 2297 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, ed_bulkhead, 0x11000000); retval 2298 drivers/usb/misc/ftdi-elan.c if (retval) retval 2299 drivers/usb/misc/ftdi-elan.c return retval; retval 2300 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, hcca, 0x00000000); retval 2301 drivers/usb/misc/ftdi-elan.c if (retval) retval 2302 drivers/usb/misc/ftdi-elan.c return retval; retval 2303 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, fminterval, &fminterval); retval 2304 drivers/usb/misc/ftdi-elan.c if (retval) retval 2305 drivers/usb/misc/ftdi-elan.c return retval; retval 2306 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, fminterval, retval 2308 drivers/usb/misc/ftdi-elan.c if (retval) retval 2309 drivers/usb/misc/ftdi-elan.c return retval; retval 2310 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, periodicstart, retval 2312 drivers/usb/misc/ftdi-elan.c if (retval) retval 2313 drivers/usb/misc/ftdi-elan.c return retval; retval 2314 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, fminterval, &fminterval); retval 2315 drivers/usb/misc/ftdi-elan.c if (retval) retval 2316 drivers/usb/misc/ftdi-elan.c return retval; retval 2317 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, periodicstart, &periodicstart); retval 2318 drivers/usb/misc/ftdi-elan.c if (retval) retval 2319 drivers/usb/misc/ftdi-elan.c return retval; retval 2330 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, control, hc_control); retval 2331 drivers/usb/misc/ftdi-elan.c if (retval) retval 2332 drivers/usb/misc/ftdi-elan.c return retval; retval 2333 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, cmdstatus, OHCI_BLF); retval 2334 drivers/usb/misc/ftdi-elan.c if (retval) retval 2335 drivers/usb/misc/ftdi-elan.c return retval; retval 2336 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, cmdstatus, &cmdstatus); retval 2337 drivers/usb/misc/ftdi-elan.c if (retval) retval 2338 drivers/usb/misc/ftdi-elan.c return retval; retval 2339 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, control, &control); retval 2340 drivers/usb/misc/ftdi-elan.c if (retval) retval 2341 drivers/usb/misc/ftdi-elan.c return retval; retval 2342 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, roothub.status, RH_HS_DRWE); retval 2343 drivers/usb/misc/ftdi-elan.c if (retval) retval 2344 drivers/usb/misc/ftdi-elan.c return retval; retval 2345 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, intrstatus, mask); retval 2346 drivers/usb/misc/ftdi-elan.c if (retval) retval 2347 drivers/usb/misc/ftdi-elan.c return retval; retval 2348 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, intrdisable, retval 2352 drivers/usb/misc/ftdi-elan.c if (retval) retval 2353 drivers/usb/misc/ftdi-elan.c return retval; /* handle root hub init quirks ... */ retval 2354 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, roothub.a, &roothub_a); retval 2355 drivers/usb/misc/ftdi-elan.c if (retval) retval 2356 drivers/usb/misc/ftdi-elan.c return retval; retval 2361 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a); retval 2362 drivers/usb/misc/ftdi-elan.c if (retval) retval 2363 drivers/usb/misc/ftdi-elan.c return retval; retval 2366 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, roothub.a, roothub_a); retval 2367 drivers/usb/misc/ftdi-elan.c if (retval) retval 2368 drivers/usb/misc/ftdi-elan.c return retval; retval 2370 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, roothub.status, RH_HS_LPSC); retval 2371 drivers/usb/misc/ftdi-elan.c if (retval) retval 2372 drivers/usb/misc/ftdi-elan.c return retval; retval 2373 drivers/usb/misc/ftdi-elan.c retval = ftdi_write_pcimem(ftdi, roothub.b, retval 2375 drivers/usb/misc/ftdi-elan.c if (retval) retval 2376 drivers/usb/misc/ftdi-elan.c return retval; retval 2377 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, control, &control); retval 2378 drivers/usb/misc/ftdi-elan.c if (retval) retval 2379 drivers/usb/misc/ftdi-elan.c return retval; retval 2383 drivers/usb/misc/ftdi-elan.c retval = ftdi_read_pcimem(ftdi, roothub.portstatus[temp], retval 2385 drivers/usb/misc/ftdi-elan.c if (retval) retval 2386 drivers/usb/misc/ftdi-elan.c return retval; retval 2642 drivers/usb/misc/ftdi-elan.c int retval; retval 2661 drivers/usb/misc/ftdi-elan.c retval = usb_find_common_endpoints(iface_desc, retval 2663 drivers/usb/misc/ftdi-elan.c if (retval) { retval 2672 drivers/usb/misc/ftdi-elan.c retval = -ENOMEM; retval 2685 drivers/usb/misc/ftdi-elan.c retval = usb_register_dev(interface, &ftdi_elan_jtag_class); retval 2686 drivers/usb/misc/ftdi-elan.c if (retval) { retval 2689 drivers/usb/misc/ftdi-elan.c retval = -ENOMEM; retval 2712 drivers/usb/misc/ftdi-elan.c retval = -ENODEV; retval 2718 drivers/usb/misc/ftdi-elan.c return retval; retval 164 drivers/usb/misc/iowarrior.c int retval; retval 216 drivers/usb/misc/iowarrior.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 217 drivers/usb/misc/iowarrior.c if (retval) retval 219 drivers/usb/misc/iowarrior.c __func__, retval); retval 347 drivers/usb/misc/iowarrior.c int retval = 0; retval 356 drivers/usb/misc/iowarrior.c retval = -ENODEV; retval 363 drivers/usb/misc/iowarrior.c retval = 0; retval 368 drivers/usb/misc/iowarrior.c retval = -EINVAL; retval 380 drivers/usb/misc/iowarrior.c retval = PTR_ERR(buf); retval 383 drivers/usb/misc/iowarrior.c retval = usb_set_report(dev->interface, 2, 0, buf, count); retval 396 drivers/usb/misc/iowarrior.c retval = -EAGAIN; retval 399 drivers/usb/misc/iowarrior.c retval = wait_event_interruptible(dev->write_wait, retval 401 drivers/usb/misc/iowarrior.c if (retval) { retval 403 drivers/usb/misc/iowarrior.c retval = -ERESTART; retval 408 drivers/usb/misc/iowarrior.c retval = -ENODEV; retval 413 drivers/usb/misc/iowarrior.c retval = -ENODEV; retval 421 drivers/usb/misc/iowarrior.c retval = -ENOMEM; retval 427 drivers/usb/misc/iowarrior.c retval = -ENOMEM; retval 440 drivers/usb/misc/iowarrior.c retval = -EFAULT; retval 444 drivers/usb/misc/iowarrior.c retval = usb_submit_urb(int_out_urb, GFP_KERNEL); retval 445 drivers/usb/misc/iowarrior.c if (retval) { retval 448 drivers/usb/misc/iowarrior.c retval, atomic_read(&dev->write_busy)); retval 453 drivers/usb/misc/iowarrior.c retval = count; retval 461 drivers/usb/misc/iowarrior.c retval = -EFAULT; retval 475 drivers/usb/misc/iowarrior.c return retval; retval 487 drivers/usb/misc/iowarrior.c int retval; retval 502 drivers/usb/misc/iowarrior.c retval = -ENODEV; retval 509 drivers/usb/misc/iowarrior.c retval = 0; retval 522 drivers/usb/misc/iowarrior.c retval = -EFAULT; retval 528 drivers/usb/misc/iowarrior.c retval = io_res; retval 531 drivers/usb/misc/iowarrior.c retval = -EINVAL; retval 543 drivers/usb/misc/iowarrior.c retval = io_res; retval 547 drivers/usb/misc/iowarrior.c retval = -EFAULT; retval 580 drivers/usb/misc/iowarrior.c retval = -EFAULT; retval 585 drivers/usb/misc/iowarrior.c retval = -ENOTTY; retval 592 drivers/usb/misc/iowarrior.c return retval; retval 603 drivers/usb/misc/iowarrior.c int retval = 0; retval 622 drivers/usb/misc/iowarrior.c retval = -EBUSY; retval 627 drivers/usb/misc/iowarrior.c if ((retval = usb_submit_urb(dev->int_in_urb, GFP_KERNEL)) < 0) { retval 628 drivers/usb/misc/iowarrior.c dev_err(&interface->dev, "Error %d while submitting URB\n", retval); retval 629 drivers/usb/misc/iowarrior.c retval = -EFAULT; retval 636 drivers/usb/misc/iowarrior.c retval = 0; retval 640 drivers/usb/misc/iowarrior.c return retval; retval 649 drivers/usb/misc/iowarrior.c int retval = 0; retval 661 drivers/usb/misc/iowarrior.c retval = -ENODEV; /* close called more than once */ retval 665 drivers/usb/misc/iowarrior.c retval = 0; retval 681 drivers/usb/misc/iowarrior.c return retval; retval 757 drivers/usb/misc/iowarrior.c int retval = -ENOMEM; retval 763 drivers/usb/misc/iowarrior.c return retval; retval 785 drivers/usb/misc/iowarrior.c retval = res; retval 798 drivers/usb/misc/iowarrior.c retval = res; retval 853 drivers/usb/misc/iowarrior.c retval = usb_register_dev(interface, &iowarrior_class); retval 854 drivers/usb/misc/iowarrior.c if (retval) { retval 866 drivers/usb/misc/iowarrior.c return retval; retval 870 drivers/usb/misc/iowarrior.c return retval; retval 226 drivers/usb/misc/ldusb.c int retval; retval 264 drivers/usb/misc/ldusb.c retval = usb_submit_urb(dev->interrupt_in_urb, GFP_ATOMIC); retval 265 drivers/usb/misc/ldusb.c if (retval) { retval 267 drivers/usb/misc/ldusb.c "usb_submit_urb failed (%d)\n", retval); retval 304 drivers/usb/misc/ldusb.c int retval; retval 329 drivers/usb/misc/ldusb.c retval = -EBUSY; retval 351 drivers/usb/misc/ldusb.c retval = usb_submit_urb(dev->interrupt_in_urb, GFP_KERNEL); retval 352 drivers/usb/misc/ldusb.c if (retval) { retval 353 drivers/usb/misc/ldusb.c dev_err(&interface->dev, "Couldn't submit interrupt_in_urb %d\n", retval); retval 365 drivers/usb/misc/ldusb.c return retval; retval 374 drivers/usb/misc/ldusb.c int retval = 0; retval 379 drivers/usb/misc/ldusb.c retval = -ENODEV; retval 386 drivers/usb/misc/ldusb.c retval = -ENODEV; retval 407 drivers/usb/misc/ldusb.c return retval; retval 443 drivers/usb/misc/ldusb.c int retval = 0; retval 454 drivers/usb/misc/ldusb.c retval = -ERESTARTSYS; retval 460 drivers/usb/misc/ldusb.c retval = -ENODEV; retval 461 drivers/usb/misc/ldusb.c printk(KERN_ERR "ldusb: No device or device unplugged %d\n", retval); retval 471 drivers/usb/misc/ldusb.c retval = -EAGAIN; retval 474 drivers/usb/misc/ldusb.c retval = wait_event_interruptible(dev->read_wait, dev->interrupt_in_done); retval 475 drivers/usb/misc/ldusb.c if (retval < 0) retval 485 drivers/usb/misc/ldusb.c retval = -EIO; retval 495 drivers/usb/misc/ldusb.c retval = -EFAULT; retval 498 drivers/usb/misc/ldusb.c retval = bytes_to_read; retval 518 drivers/usb/misc/ldusb.c return retval; retval 529 drivers/usb/misc/ldusb.c int retval = 0; retval 539 drivers/usb/misc/ldusb.c retval = -ERESTARTSYS; retval 545 drivers/usb/misc/ldusb.c retval = -ENODEV; retval 546 drivers/usb/misc/ldusb.c printk(KERN_ERR "ldusb: No device or device unplugged %d\n", retval); retval 553 drivers/usb/misc/ldusb.c retval = -EAGAIN; retval 556 drivers/usb/misc/ldusb.c retval = wait_event_interruptible(dev->write_wait, !dev->interrupt_out_busy); retval 557 drivers/usb/misc/ldusb.c if (retval < 0) { retval 571 drivers/usb/misc/ldusb.c retval = -EFAULT; retval 577 drivers/usb/misc/ldusb.c retval = usb_control_msg(interface_to_usbdev(dev->intf), retval 585 drivers/usb/misc/ldusb.c if (retval < 0) retval 588 drivers/usb/misc/ldusb.c retval); retval 606 drivers/usb/misc/ldusb.c retval = usb_submit_urb(dev->interrupt_out_urb, GFP_KERNEL); retval 607 drivers/usb/misc/ldusb.c if (retval) { retval 610 drivers/usb/misc/ldusb.c "Couldn't submit interrupt_out_urb %d\n", retval); retval 613 drivers/usb/misc/ldusb.c retval = bytes_to_write; retval 620 drivers/usb/misc/ldusb.c return retval; retval 656 drivers/usb/misc/ldusb.c int retval = -ENOMEM; retval 689 drivers/usb/misc/ldusb.c retval = res; retval 727 drivers/usb/misc/ldusb.c retval = usb_register_dev(intf, &ld_usb_class); retval 728 drivers/usb/misc/ldusb.c if (retval) { retval 740 drivers/usb/misc/ldusb.c return retval; retval 745 drivers/usb/misc/ldusb.c return retval; retval 311 drivers/usb/misc/legousbtower.c int retval = 0; retval 319 drivers/usb/misc/legousbtower.c retval = -ENOMEM; retval 330 drivers/usb/misc/legousbtower.c retval = -ENODEV; retval 336 drivers/usb/misc/legousbtower.c retval = -ENODEV; retval 342 drivers/usb/misc/legousbtower.c retval = -ERESTARTSYS; retval 349 drivers/usb/misc/legousbtower.c retval = -EBUSY; retval 366 drivers/usb/misc/legousbtower.c retval = result; retval 386 drivers/usb/misc/legousbtower.c retval = usb_submit_urb (dev->interrupt_in_urb, GFP_KERNEL); retval 387 drivers/usb/misc/legousbtower.c if (retval) { retval 389 drivers/usb/misc/legousbtower.c "Couldn't submit interrupt_in_urb %d\n", retval); retval 404 drivers/usb/misc/legousbtower.c return retval; retval 413 drivers/usb/misc/legousbtower.c int retval = 0; retval 418 drivers/usb/misc/legousbtower.c retval = -ENODEV; retval 427 drivers/usb/misc/legousbtower.c retval = -ENODEV; retval 450 drivers/usb/misc/legousbtower.c return retval; retval 540 drivers/usb/misc/legousbtower.c int retval = 0; retval 547 drivers/usb/misc/legousbtower.c retval = -ERESTARTSYS; retval 553 drivers/usb/misc/legousbtower.c retval = -ENODEV; retval 554 drivers/usb/misc/legousbtower.c pr_err("No device or device unplugged %d\n", retval); retval 572 drivers/usb/misc/legousbtower.c retval = -EAGAIN; retval 575 drivers/usb/misc/legousbtower.c retval = wait_event_interruptible_timeout(dev->read_wait, dev->interrupt_in_done, dev->packet_timeout_jiffies); retval 576 drivers/usb/misc/legousbtower.c if (retval < 0) { retval 587 drivers/usb/misc/legousbtower.c retval = -ETIMEDOUT; retval 597 drivers/usb/misc/legousbtower.c retval = -EFAULT; retval 609 drivers/usb/misc/legousbtower.c retval = bytes_to_read; retval 616 drivers/usb/misc/legousbtower.c return retval; retval 627 drivers/usb/misc/legousbtower.c int retval = 0; retval 633 drivers/usb/misc/legousbtower.c retval = -ERESTARTSYS; retval 639 drivers/usb/misc/legousbtower.c retval = -ENODEV; retval 640 drivers/usb/misc/legousbtower.c pr_err("No device or device unplugged %d\n", retval); retval 653 drivers/usb/misc/legousbtower.c retval = -EAGAIN; retval 656 drivers/usb/misc/legousbtower.c retval = wait_event_interruptible (dev->write_wait, !dev->interrupt_out_busy); retval 657 drivers/usb/misc/legousbtower.c if (retval) { retval 668 drivers/usb/misc/legousbtower.c retval = -EFAULT; retval 685 drivers/usb/misc/legousbtower.c retval = usb_submit_urb (dev->interrupt_out_urb, GFP_KERNEL); retval 686 drivers/usb/misc/legousbtower.c if (retval) { retval 689 drivers/usb/misc/legousbtower.c "Couldn't submit interrupt_out_urb %d\n", retval); retval 692 drivers/usb/misc/legousbtower.c retval = bytes_to_write; retval 699 drivers/usb/misc/legousbtower.c return retval; retval 710 drivers/usb/misc/legousbtower.c int retval; retval 749 drivers/usb/misc/legousbtower.c retval = usb_submit_urb (dev->interrupt_in_urb, GFP_ATOMIC); retval 750 drivers/usb/misc/legousbtower.c if (retval) retval 753 drivers/usb/misc/legousbtower.c __func__, retval); retval 799 drivers/usb/misc/legousbtower.c int retval = -ENOMEM; retval 842 drivers/usb/misc/legousbtower.c retval = result; retval 867 drivers/usb/misc/legousbtower.c retval = -ENOMEM; retval 885 drivers/usb/misc/legousbtower.c retval = result; retval 897 drivers/usb/misc/legousbtower.c retval = usb_register_dev (interface, &tower_class); retval 899 drivers/usb/misc/legousbtower.c if (retval) { retval 913 drivers/usb/misc/legousbtower.c return retval; retval 918 drivers/usb/misc/legousbtower.c return retval; retval 218 drivers/usb/misc/sisusbvga/sisusb.c int retval, byteswritten = 0; retval 238 drivers/usb/misc/sisusbvga/sisusb.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 241 drivers/usb/misc/sisusbvga/sisusb.c if ((retval == 0) && timeout) { retval 248 drivers/usb/misc/sisusbvga/sisusb.c retval = -ETIMEDOUT; retval 251 drivers/usb/misc/sisusbvga/sisusb.c retval = urb->status; retval 259 drivers/usb/misc/sisusbvga/sisusb.c return retval; retval 282 drivers/usb/misc/sisusbvga/sisusb.c int retval, readbytes = 0; retval 293 drivers/usb/misc/sisusbvga/sisusb.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 294 drivers/usb/misc/sisusbvga/sisusb.c if (retval == 0) { retval 299 drivers/usb/misc/sisusbvga/sisusb.c retval = -ETIMEDOUT; retval 302 drivers/usb/misc/sisusbvga/sisusb.c retval = urb->status; retval 310 drivers/usb/misc/sisusbvga/sisusb.c return retval; retval 2788 drivers/usb/misc/sisusbvga/sisusb.c int retval, length; retval 2803 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_getidxreg(sisusb, port, y->data0, &y->data1); retval 2804 drivers/usb/misc/sisusbvga/sisusb.c if (!retval) { retval 2806 drivers/usb/misc/sisusbvga/sisusb.c retval = -EFAULT; retval 2811 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_setidxreg(sisusb, port, y->data0, y->data1); retval 2815 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_setidxregor(sisusb, port, y->data0, y->data1); retval 2819 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_setidxregand(sisusb, port, y->data0, y->data1); retval 2823 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_setidxregandor(sisusb, port, y->data0, retval 2828 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_setidxregmask(sisusb, port, y->data0, retval 2840 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_clear_vram(sisusb, address, length); retval 2844 drivers/usb/misc/sisusbvga/sisusb.c retval = 0; retval 2852 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_reset_text_mode(sisusb, 0); retval 2867 drivers/usb/misc/sisusbvga/sisusb.c retval = 0; retval 2873 drivers/usb/misc/sisusbvga/sisusb.c retval = -EINVAL; retval 2882 drivers/usb/misc/sisusbvga/sisusb.c retval = 0; retval 2888 drivers/usb/misc/sisusbvga/sisusb.c retval = -EINVAL; retval 2894 drivers/usb/misc/sisusbvga/sisusb.c retval = -EINVAL; retval 2897 drivers/usb/misc/sisusbvga/sisusb.c if (retval > 0) retval 2898 drivers/usb/misc/sisusbvga/sisusb.c retval = -EIO; retval 2900 drivers/usb/misc/sisusbvga/sisusb.c return retval; retval 2908 drivers/usb/misc/sisusbvga/sisusb.c long retval = 0; retval 2919 drivers/usb/misc/sisusbvga/sisusb.c retval = -ENODEV; retval 2927 drivers/usb/misc/sisusbvga/sisusb.c retval = -EFAULT; retval 2953 drivers/usb/misc/sisusbvga/sisusb.c retval = -EFAULT; retval 2960 drivers/usb/misc/sisusbvga/sisusb.c retval = -EFAULT; retval 2962 drivers/usb/misc/sisusbvga/sisusb.c retval = sisusb_handle_command(sisusb, &y, arg); retval 2967 drivers/usb/misc/sisusbvga/sisusb.c retval = -ENOTTY; retval 2973 drivers/usb/misc/sisusbvga/sisusb.c return retval; retval 3016 drivers/usb/misc/sisusbvga/sisusb.c int retval = 0, i; retval 3038 drivers/usb/misc/sisusbvga/sisusb.c retval = usb_register_dev(intf, &usb_sisusb_class); retval 3039 drivers/usb/misc/sisusbvga/sisusb.c if (retval) { retval 3043 drivers/usb/misc/sisusbvga/sisusb.c retval = -ENODEV; retval 3053 drivers/usb/misc/sisusbvga/sisusb.c retval = -ENOMEM; retval 3063 drivers/usb/misc/sisusbvga/sisusb.c retval = -ENOMEM; retval 3074 drivers/usb/misc/sisusbvga/sisusb.c retval = -ENOMEM; retval 3082 drivers/usb/misc/sisusbvga/sisusb.c retval = -ENOMEM; retval 3097 drivers/usb/misc/sisusbvga/sisusb.c retval = -ENOMEM; retval 3150 drivers/usb/misc/sisusbvga/sisusb.c return retval; retval 47 drivers/usb/misc/trancevibrator.c int temp, retval, old; retval 49 drivers/usb/misc/trancevibrator.c retval = kstrtoint(buf, 10, &temp); retval 50 drivers/usb/misc/trancevibrator.c if (retval) retval 51 drivers/usb/misc/trancevibrator.c return retval; retval 62 drivers/usb/misc/trancevibrator.c retval = usb_control_msg(tv->udev, usb_sndctrlpipe(tv->udev, 0), retval 67 drivers/usb/misc/trancevibrator.c if (retval) { retval 69 drivers/usb/misc/trancevibrator.c dev_dbg(&tv->udev->dev, "retval = %d\n", retval); retval 70 drivers/usb/misc/trancevibrator.c return retval; retval 87 drivers/usb/misc/trancevibrator.c int retval; retval 91 drivers/usb/misc/trancevibrator.c retval = -ENOMEM; retval 102 drivers/usb/misc/trancevibrator.c return retval; retval 128 drivers/usb/misc/usblcd.c int retval = 0; retval 136 drivers/usb/misc/usblcd.c retval = -ENODEV; retval 141 drivers/usb/misc/usblcd.c retval = usb_bulk_msg(dev->udev, retval 149 drivers/usb/misc/usblcd.c if (!retval) { retval 151 drivers/usb/misc/usblcd.c retval = -EFAULT; retval 153 drivers/usb/misc/usblcd.c retval = bytes_read; retval 159 drivers/usb/misc/usblcd.c return retval; retval 222 drivers/usb/misc/usblcd.c int retval = 0, r; retval 239 drivers/usb/misc/usblcd.c retval = -ENODEV; retval 246 drivers/usb/misc/usblcd.c retval = -ENOMEM; retval 253 drivers/usb/misc/usblcd.c retval = -ENOMEM; retval 258 drivers/usb/misc/usblcd.c retval = -EFAULT; retval 272 drivers/usb/misc/usblcd.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 273 drivers/usb/misc/usblcd.c if (retval) { retval 276 drivers/usb/misc/usblcd.c __func__, retval); retval 295 drivers/usb/misc/usblcd.c return retval; retval 324 drivers/usb/misc/usblcd.c int retval; retval 341 drivers/usb/misc/usblcd.c retval = -ENODEV; retval 347 drivers/usb/misc/usblcd.c retval = usb_find_common_endpoints(interface->cur_altsetting, retval 349 drivers/usb/misc/usblcd.c if (retval) { retval 359 drivers/usb/misc/usblcd.c retval = -ENOMEM; retval 369 drivers/usb/misc/usblcd.c retval = usb_register_dev(interface, &lcd_class); retval 370 drivers/usb/misc/usblcd.c if (retval) { retval 390 drivers/usb/misc/usblcd.c return retval; retval 466 drivers/usb/misc/usbtest.c int retval = 0; retval 470 drivers/usb/misc/usbtest.c while (retval == 0 && iterations-- > 0) { retval 476 drivers/usb/misc/usbtest.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 477 drivers/usb/misc/usbtest.c if (retval != 0) retval 483 drivers/usb/misc/usbtest.c retval = (urb->status == -ENOENT ? retval 486 drivers/usb/misc/usbtest.c retval = urb->status; retval 490 drivers/usb/misc/usbtest.c if (retval == 0 && usb_pipein(urb->pipe)) retval 491 drivers/usb/misc/usbtest.c retval = simple_check_buf(tdev, urb); retval 507 drivers/usb/misc/usbtest.c if (expected != retval) retval 510 drivers/usb/misc/usbtest.c label, iterations, retval, expected); retval 511 drivers/usb/misc/usbtest.c return retval; retval 610 drivers/usb/misc/usbtest.c int retval = 0; retval 617 drivers/usb/misc/usbtest.c while (retval == 0 && iterations-- > 0) { retval 618 drivers/usb/misc/usbtest.c retval = usb_sg_init(req, udev, pipe, retval 624 drivers/usb/misc/usbtest.c if (retval) retval 630 drivers/usb/misc/usbtest.c retval = -ETIMEDOUT; retval 632 drivers/usb/misc/usbtest.c retval = req->status; retval 643 drivers/usb/misc/usbtest.c if (retval) retval 646 drivers/usb/misc/usbtest.c iterations, retval); retval 647 drivers/usb/misc/usbtest.c return retval; retval 673 drivers/usb/misc/usbtest.c int retval; retval 675 drivers/usb/misc/usbtest.c retval = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), retval 679 drivers/usb/misc/usbtest.c switch (retval) { retval 683 drivers/usb/misc/usbtest.c retval = -ERANGE; retval 686 drivers/usb/misc/usbtest.c return retval; retval 830 drivers/usb/misc/usbtest.c int i, alt, retval; retval 850 drivers/usb/misc/usbtest.c retval = set_altsetting(dev, alt); retval 851 drivers/usb/misc/usbtest.c if (retval) { retval 853 drivers/usb/misc/usbtest.c alt, retval); retval 854 drivers/usb/misc/usbtest.c return retval; retval 858 drivers/usb/misc/usbtest.c retval = get_altsetting(dev); retval 859 drivers/usb/misc/usbtest.c if (retval != alt) { retval 861 drivers/usb/misc/usbtest.c alt, retval); retval 862 drivers/usb/misc/usbtest.c return (retval < 0) ? retval : -EDOM; retval 875 drivers/usb/misc/usbtest.c retval = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), retval 879 drivers/usb/misc/usbtest.c if (retval != 1 || dev->buf[0] != expected) { retval 881 drivers/usb/misc/usbtest.c retval, dev->buf[0], expected); retval 882 drivers/usb/misc/usbtest.c return (retval < 0) ? retval : -EDOM; retval 887 drivers/usb/misc/usbtest.c retval = usb_get_descriptor(udev, USB_DT_DEVICE, 0, retval 889 drivers/usb/misc/usbtest.c if (retval != sizeof(udev->descriptor)) { retval 890 drivers/usb/misc/usbtest.c dev_err(&iface->dev, "dev descriptor --> %d\n", retval); retval 891 drivers/usb/misc/usbtest.c return (retval < 0) ? retval : -EDOM; retval 904 drivers/usb/misc/usbtest.c retval = usb_get_descriptor(udev, USB_DT_BOS, 0, dev->buf, retval 906 drivers/usb/misc/usbtest.c if (retval != sizeof(*udev->bos->desc)) { retval 907 drivers/usb/misc/usbtest.c dev_err(&iface->dev, "bos descriptor --> %d\n", retval); retval 908 drivers/usb/misc/usbtest.c return (retval < 0) ? retval : -EDOM; retval 922 drivers/usb/misc/usbtest.c retval = usb_get_descriptor(udev, USB_DT_BOS, 0, dev->buf, retval 924 drivers/usb/misc/usbtest.c if (retval != total) { retval 926 drivers/usb/misc/usbtest.c retval); retval 927 drivers/usb/misc/usbtest.c return (retval < 0) ? retval : -EDOM; retval 980 drivers/usb/misc/usbtest.c retval = usb_get_descriptor(udev, USB_DT_CONFIG, i, retval 982 drivers/usb/misc/usbtest.c if (!is_good_config(dev, retval)) { retval 985 drivers/usb/misc/usbtest.c i, retval); retval 986 drivers/usb/misc/usbtest.c return (retval < 0) ? retval : -EDOM; retval 999 drivers/usb/misc/usbtest.c retval = usb_get_descriptor(udev, retval 1002 drivers/usb/misc/usbtest.c if (retval == -EPIPE) { retval 1006 drivers/usb/misc/usbtest.c retval); retval 1007 drivers/usb/misc/usbtest.c return retval; retval 1010 drivers/usb/misc/usbtest.c } else if (retval != sizeof(struct usb_qualifier_descriptor)) { retval 1011 drivers/usb/misc/usbtest.c dev_err(&iface->dev, "dev qualifier --> %d\n", retval); retval 1012 drivers/usb/misc/usbtest.c return (retval < 0) ? retval : -EDOM; retval 1020 drivers/usb/misc/usbtest.c retval = usb_get_descriptor(udev, retval 1023 drivers/usb/misc/usbtest.c if (!is_good_config(dev, retval)) { retval 1026 drivers/usb/misc/usbtest.c retval); retval 1027 drivers/usb/misc/usbtest.c return (retval < 0) ? retval : -EDOM; retval 1035 drivers/usb/misc/usbtest.c retval = usb_get_std_status(udev, USB_RECIP_DEVICE, 0, dev->buf); retval 1036 drivers/usb/misc/usbtest.c if (retval) { retval 1037 drivers/usb/misc/usbtest.c dev_err(&iface->dev, "get dev status --> %d\n", retval); retval 1038 drivers/usb/misc/usbtest.c return retval; retval 1045 drivers/usb/misc/usbtest.c retval = usb_get_std_status(udev, USB_RECIP_INTERFACE, retval 1047 drivers/usb/misc/usbtest.c if (retval) { retval 1048 drivers/usb/misc/usbtest.c dev_err(&iface->dev, "get interface status --> %d\n", retval); retval 1049 drivers/usb/misc/usbtest.c return retval; retval 1439 drivers/usb/misc/usbtest.c int retval = 0; retval 1459 drivers/usb/misc/usbtest.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 1460 drivers/usb/misc/usbtest.c if (retval != 0) { retval 1461 drivers/usb/misc/usbtest.c dev_err(&dev->intf->dev, "submit fail %d\n", retval); retval 1462 drivers/usb/misc/usbtest.c return retval; retval 1471 drivers/usb/misc/usbtest.c retval = usb_unlink_urb(urb); retval 1473 drivers/usb/misc/usbtest.c if (retval == 0 && usb_pipein(urb->pipe)) retval 1474 drivers/usb/misc/usbtest.c retval = simple_check_buf(dev, urb); retval 1476 drivers/usb/misc/usbtest.c switch (retval) { retval 1493 drivers/usb/misc/usbtest.c "unlink fail %d\n", retval); retval 1494 drivers/usb/misc/usbtest.c return retval; retval 1503 drivers/usb/misc/usbtest.c retval = urb->status; retval 1507 drivers/usb/misc/usbtest.c return (retval == -ECONNRESET) ? 0 : retval - 1000; retval 1509 drivers/usb/misc/usbtest.c return (retval == -ENOENT || retval == -EPERM) ? retval 1510 drivers/usb/misc/usbtest.c 0 : retval - 2000; retval 1515 drivers/usb/misc/usbtest.c int retval = 0; retval 1518 drivers/usb/misc/usbtest.c retval = unlink1(dev, pipe, len, 1); retval 1519 drivers/usb/misc/usbtest.c if (!retval) retval 1520 drivers/usb/misc/usbtest.c retval = unlink1(dev, pipe, len, 0); retval 1521 drivers/usb/misc/usbtest.c return retval; retval 1562 drivers/usb/misc/usbtest.c int retval = -ENOMEM; retval 1571 drivers/usb/misc/usbtest.c return retval; retval 1596 drivers/usb/misc/usbtest.c retval = usb_submit_urb(ctx.urbs[i], GFP_KERNEL); retval 1597 drivers/usb/misc/usbtest.c if (retval != 0) { retval 1599 drivers/usb/misc/usbtest.c i, retval); retval 1601 drivers/usb/misc/usbtest.c ctx.status = retval; retval 1616 drivers/usb/misc/usbtest.c retval = ctx.status; retval 1624 drivers/usb/misc/usbtest.c return retval; retval 1631 drivers/usb/misc/usbtest.c int retval; retval 1635 drivers/usb/misc/usbtest.c retval = usb_get_std_status(urb->dev, USB_RECIP_ENDPOINT, ep, &status); retval 1636 drivers/usb/misc/usbtest.c if (retval < 0) { retval 1638 drivers/usb/misc/usbtest.c ep, retval); retval 1639 drivers/usb/misc/usbtest.c return retval; retval 1645 drivers/usb/misc/usbtest.c retval = simple_io(tdev, urb, 1, 0, 0, __func__); retval 1646 drivers/usb/misc/usbtest.c if (retval != 0) retval 1653 drivers/usb/misc/usbtest.c int retval; retval 1657 drivers/usb/misc/usbtest.c retval = usb_get_std_status(urb->dev, USB_RECIP_ENDPOINT, ep, &status); retval 1658 drivers/usb/misc/usbtest.c if (retval < 0) { retval 1660 drivers/usb/misc/usbtest.c ep, retval); retval 1661 drivers/usb/misc/usbtest.c return retval; retval 1667 drivers/usb/misc/usbtest.c retval = simple_io(tdev, urb, 1, 0, -EPIPE, __func__); retval 1668 drivers/usb/misc/usbtest.c if (retval != -EPIPE) retval 1670 drivers/usb/misc/usbtest.c retval = simple_io(tdev, urb, 1, 0, -EPIPE, "verify_still_halted"); retval 1671 drivers/usb/misc/usbtest.c if (retval != -EPIPE) retval 1678 drivers/usb/misc/usbtest.c int retval; retval 1681 drivers/usb/misc/usbtest.c retval = verify_not_halted(tdev, ep, urb); retval 1682 drivers/usb/misc/usbtest.c if (retval < 0) retval 1683 drivers/usb/misc/usbtest.c return retval; retval 1686 drivers/usb/misc/usbtest.c retval = usb_control_msg(urb->dev, usb_sndctrlpipe(urb->dev, 0), retval 1690 drivers/usb/misc/usbtest.c if (retval < 0) { retval 1691 drivers/usb/misc/usbtest.c ERROR(tdev, "ep %02x couldn't set halt, %d\n", ep, retval); retval 1692 drivers/usb/misc/usbtest.c return retval; retval 1694 drivers/usb/misc/usbtest.c retval = verify_halted(tdev, ep, urb); retval 1695 drivers/usb/misc/usbtest.c if (retval < 0) { retval 1704 drivers/usb/misc/usbtest.c return retval; retval 1708 drivers/usb/misc/usbtest.c retval = usb_clear_halt(urb->dev, urb->pipe); retval 1709 drivers/usb/misc/usbtest.c if (retval < 0) { retval 1710 drivers/usb/misc/usbtest.c ERROR(tdev, "ep %02x couldn't clear halt, %d\n", ep, retval); retval 1711 drivers/usb/misc/usbtest.c return retval; retval 1713 drivers/usb/misc/usbtest.c retval = verify_not_halted(tdev, ep, urb); retval 1714 drivers/usb/misc/usbtest.c if (retval < 0) retval 1715 drivers/usb/misc/usbtest.c return retval; retval 1724 drivers/usb/misc/usbtest.c int retval; retval 1727 drivers/usb/misc/usbtest.c retval = usb_clear_halt(urb->dev, urb->pipe); retval 1728 drivers/usb/misc/usbtest.c if (retval < 0) { retval 1729 drivers/usb/misc/usbtest.c ERROR(tdev, "ep %02x couldn't clear halt, %d\n", ep, retval); retval 1730 drivers/usb/misc/usbtest.c return retval; retval 1734 drivers/usb/misc/usbtest.c retval = simple_io(tdev, urb, 1, 0, 0, __func__); retval 1735 drivers/usb/misc/usbtest.c if (retval != 0) retval 1739 drivers/usb/misc/usbtest.c retval = usb_clear_halt(urb->dev, urb->pipe); retval 1740 drivers/usb/misc/usbtest.c if (retval < 0) { retval 1741 drivers/usb/misc/usbtest.c ERROR(tdev, "ep %02x couldn't clear halt, %d\n", ep, retval); retval 1742 drivers/usb/misc/usbtest.c return retval; retval 1746 drivers/usb/misc/usbtest.c retval = simple_io(tdev, urb, 1, 0, 0, __func__); retval 1748 drivers/usb/misc/usbtest.c return retval; retval 1754 drivers/usb/misc/usbtest.c int retval = 0; retval 1768 drivers/usb/misc/usbtest.c retval = test_halt(dev, ep, urb); retval 1769 drivers/usb/misc/usbtest.c if (retval < 0) retval 1776 drivers/usb/misc/usbtest.c retval = test_halt(dev, ep, urb); retval 1780 drivers/usb/misc/usbtest.c return retval; retval 1786 drivers/usb/misc/usbtest.c int retval = 0; retval 1804 drivers/usb/misc/usbtest.c retval = test_toggle_sync(dev, ep, urb); retval 1807 drivers/usb/misc/usbtest.c return retval; retval 1824 drivers/usb/misc/usbtest.c int retval; retval 1839 drivers/usb/misc/usbtest.c retval = 0; retval 1848 drivers/usb/misc/usbtest.c retval = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), retval 1851 drivers/usb/misc/usbtest.c if (retval != len) { retval 1853 drivers/usb/misc/usbtest.c if (retval >= 0) { retval 1855 drivers/usb/misc/usbtest.c retval, len); retval 1856 drivers/usb/misc/usbtest.c retval = -EBADMSG; retval 1862 drivers/usb/misc/usbtest.c retval = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), retval 1865 drivers/usb/misc/usbtest.c if (retval != len) { retval 1867 drivers/usb/misc/usbtest.c if (retval >= 0) { retval 1869 drivers/usb/misc/usbtest.c retval, len); retval 1870 drivers/usb/misc/usbtest.c retval = -EBADMSG; retval 1880 drivers/usb/misc/usbtest.c retval = -EBADMSG; retval 1884 drivers/usb/misc/usbtest.c if (retval < 0) { retval 1899 drivers/usb/misc/usbtest.c if (retval < 0) retval 1901 drivers/usb/misc/usbtest.c what, retval, i); retval 1904 drivers/usb/misc/usbtest.c return retval; retval 2158 drivers/usb/misc/usbtest.c int retval; retval 2165 drivers/usb/misc/usbtest.c retval = simple_io(tdev, urb, iterations, 0, 0, label); retval 2167 drivers/usb/misc/usbtest.c return retval; retval 2180 drivers/usb/misc/usbtest.c int retval = -EOPNOTSUPP; retval 2199 drivers/usb/misc/usbtest.c retval = 0; retval 2211 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2215 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, 0, 0, "test1"); retval 2226 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2230 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, 0, 0, "test2"); retval 2241 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2245 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, param->vary, retval 2257 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2261 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, param->vary, retval 2277 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2281 drivers/usb/misc/usbtest.c retval = perform_sglist(dev, param->iterations, dev->out_pipe, retval 2296 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2300 drivers/usb/misc/usbtest.c retval = perform_sglist(dev, param->iterations, dev->in_pipe, retval 2314 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2318 drivers/usb/misc/usbtest.c retval = perform_sglist(dev, param->iterations, dev->out_pipe, retval 2332 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2336 drivers/usb/misc/usbtest.c retval = perform_sglist(dev, param->iterations, dev->in_pipe, retval 2343 drivers/usb/misc/usbtest.c retval = 0; retval 2347 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i--; /* NOP */) retval 2348 drivers/usb/misc/usbtest.c retval = ch9_postconfig(dev); retval 2349 drivers/usb/misc/usbtest.c if (retval) retval 2356 drivers/usb/misc/usbtest.c retval = 0; retval 2361 drivers/usb/misc/usbtest.c retval = test_ctrl_queue(dev, param); retval 2368 drivers/usb/misc/usbtest.c retval = 0; retval 2371 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i--; /* NOP */) retval 2372 drivers/usb/misc/usbtest.c retval = unlink_simple(dev, dev->in_pipe, retval 2374 drivers/usb/misc/usbtest.c if (retval) retval 2376 drivers/usb/misc/usbtest.c "iterations left %d\n", retval, i); retval 2381 drivers/usb/misc/usbtest.c retval = 0; retval 2384 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i--; /* NOP */) retval 2385 drivers/usb/misc/usbtest.c retval = unlink_simple(dev, dev->out_pipe, retval 2387 drivers/usb/misc/usbtest.c if (retval) retval 2389 drivers/usb/misc/usbtest.c "iterations left %d\n", retval, i); retval 2396 drivers/usb/misc/usbtest.c retval = 0; retval 2399 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i--; /* NOP */) retval 2400 drivers/usb/misc/usbtest.c retval = halt_simple(dev); retval 2402 drivers/usb/misc/usbtest.c if (retval) retval 2414 drivers/usb/misc/usbtest.c retval = ctrl_out(dev, param->iterations, retval 2427 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, retval 2440 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, retval 2454 drivers/usb/misc/usbtest.c retval = test_unaligned_bulk( retval 2467 drivers/usb/misc/usbtest.c retval = test_unaligned_bulk( retval 2481 drivers/usb/misc/usbtest.c retval = test_unaligned_bulk( retval 2494 drivers/usb/misc/usbtest.c retval = test_unaligned_bulk( retval 2509 drivers/usb/misc/usbtest.c retval = ctrl_out(dev, param->iterations, retval 2521 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, retval 2532 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, retval 2540 drivers/usb/misc/usbtest.c retval = 0; retval 2544 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i > 0; --i) { retval 2545 drivers/usb/misc/usbtest.c retval = unlink_queued(dev, dev->out_pipe, retval 2547 drivers/usb/misc/usbtest.c if (retval) { retval 2550 drivers/usb/misc/usbtest.c "iterations left %d\n", retval, i); retval 2566 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2570 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, 0, 0, "test25"); retval 2582 drivers/usb/misc/usbtest.c retval = -ENOMEM; retval 2586 drivers/usb/misc/usbtest.c retval = simple_io(dev, urb, param->iterations, 0, 0, "test26"); retval 2596 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, retval 2605 drivers/usb/misc/usbtest.c retval = test_queue(dev, param, retval 2612 drivers/usb/misc/usbtest.c retval = 0; retval 2615 drivers/usb/misc/usbtest.c for (i = param->iterations; retval == 0 && i > 0; --i) retval 2616 drivers/usb/misc/usbtest.c retval = toggle_sync_simple(dev); retval 2618 drivers/usb/misc/usbtest.c if (retval) retval 2623 drivers/usb/misc/usbtest.c return retval; retval 2660 drivers/usb/misc/usbtest.c int retval = -EOPNOTSUPP; retval 2677 drivers/usb/misc/usbtest.c retval = -ENODEV; retval 2680 drivers/usb/misc/usbtest.c retval = set_altsetting(dev, dev->info->alt); retval 2681 drivers/usb/misc/usbtest.c if (retval) { retval 2684 drivers/usb/misc/usbtest.c dev->info->alt, retval); retval 2703 drivers/usb/misc/usbtest.c retval = -EOPNOTSUPP; retval 2709 drivers/usb/misc/usbtest.c retval = usbtest_do_ioctl(intf, param_32); retval 2710 drivers/usb/misc/usbtest.c if (retval < 0) retval 2734 drivers/usb/misc/usbtest.c return retval; retval 800 drivers/usb/misc/uss720.c int retval; retval 801 drivers/usb/misc/uss720.c retval = usb_register(&uss720_driver); retval 802 drivers/usb/misc/uss720.c if (retval) retval 813 drivers/usb/misc/uss720.c return retval; retval 132 drivers/usb/misc/yurex.c int retval, i; retval 184 drivers/usb/misc/yurex.c retval = usb_submit_urb(dev->urb, GFP_ATOMIC); retval 185 drivers/usb/misc/yurex.c if (retval) { retval 187 drivers/usb/misc/yurex.c __func__, retval); retval 196 drivers/usb/misc/yurex.c int retval = -ENOMEM; retval 217 drivers/usb/misc/yurex.c retval = res; retval 277 drivers/usb/misc/yurex.c retval = -EIO; retval 287 drivers/usb/misc/yurex.c retval = usb_register_dev(interface, &yurex_class); retval 288 drivers/usb/misc/yurex.c if (retval) { retval 305 drivers/usb/misc/yurex.c return retval; retval 357 drivers/usb/misc/yurex.c int retval = 0; retval 365 drivers/usb/misc/yurex.c retval = -ENODEV; retval 371 drivers/usb/misc/yurex.c retval = -ENODEV; retval 384 drivers/usb/misc/yurex.c return retval; retval 431 drivers/usb/misc/yurex.c int i, set = 0, retval = 0; retval 448 drivers/usb/misc/yurex.c retval = -ENODEV; retval 454 drivers/usb/misc/yurex.c retval = -EFAULT; retval 495 drivers/usb/misc/yurex.c retval = usb_submit_urb(dev->cntl_urb, GFP_KERNEL); retval 496 drivers/usb/misc/yurex.c if (retval >= 0) retval 502 drivers/usb/misc/yurex.c if (retval < 0) { retval 505 drivers/usb/misc/yurex.c __func__, retval); retval 513 drivers/usb/misc/yurex.c return retval; retval 318 drivers/usb/musb/am35x.c int retval = 0; retval 323 drivers/usb/musb/am35x.c retval = -EIO; retval 325 drivers/usb/musb/am35x.c return retval; retval 246 drivers/usb/musb/davinci.c irqreturn_t retval = IRQ_NONE; retval 269 drivers/usb/musb/davinci.c retval = cppi_interrupt(irq, __hci); retval 333 drivers/usb/musb/davinci.c retval = IRQ_HANDLED; retval 337 drivers/usb/musb/davinci.c retval |= musb_interrupt(musb); retval 348 drivers/usb/musb/davinci.c return retval; retval 28 drivers/usb/musb/jz4740.c irqreturn_t retval = IRQ_NONE; retval 46 drivers/usb/musb/jz4740.c retval = musb_interrupt(musb); retval 50 drivers/usb/musb/jz4740.c return retval; retval 1589 drivers/usb/musb/musb_core.c irqreturn_t retval = IRQ_NONE; retval 1622 drivers/usb/musb/musb_core.c retval |= musb_stage0_irq(musb, musb->int_usb, devctl); retval 1626 drivers/usb/musb/musb_core.c retval |= musb_h_ep0_irq(musb); retval 1628 drivers/usb/musb/musb_core.c retval |= musb_g_ep0_irq(musb); retval 1637 drivers/usb/musb/musb_core.c retval = IRQ_HANDLED; retval 1647 drivers/usb/musb/musb_core.c retval = IRQ_HANDLED; retval 1654 drivers/usb/musb/musb_core.c return retval; retval 1426 drivers/usb/musb/musb_gadget.c int retval = -EINVAL; retval 1438 drivers/usb/musb/musb_gadget.c retval = musb_readw(epio, MUSB_RXCOUNT); retval 1442 drivers/usb/musb/musb_gadget.c return retval; retval 1835 drivers/usb/musb/musb_gadget.c int retval = 0; retval 1838 drivers/usb/musb/musb_gadget.c retval = -EINVAL; retval 1869 drivers/usb/musb/musb_gadget.c return retval; retval 631 drivers/usb/musb/musb_gadget_ep0.c int retval; retval 635 drivers/usb/musb/musb_gadget_ep0.c retval = musb->gadget_driver->setup(&musb->g, ctrlrequest); retval 637 drivers/usb/musb/musb_gadget_ep0.c return retval; retval 651 drivers/usb/musb/musb_gadget_ep0.c irqreturn_t retval = IRQ_NONE; retval 672 drivers/usb/musb/musb_gadget_ep0.c retval = IRQ_HANDLED; retval 680 drivers/usb/musb/musb_gadget_ep0.c retval = IRQ_HANDLED; retval 707 drivers/usb/musb/musb_gadget_ep0.c retval = IRQ_HANDLED; retval 715 drivers/usb/musb/musb_gadget_ep0.c retval = IRQ_HANDLED; retval 761 drivers/usb/musb/musb_gadget_ep0.c retval = IRQ_HANDLED; retval 772 drivers/usb/musb/musb_gadget_ep0.c retval = IRQ_HANDLED; retval 787 drivers/usb/musb/musb_gadget_ep0.c retval = IRQ_HANDLED; retval 878 drivers/usb/musb/musb_gadget_ep0.c retval = IRQ_HANDLED; retval 889 drivers/usb/musb/musb_gadget_ep0.c return retval; retval 1090 drivers/usb/musb/musb_host.c irqreturn_t retval = IRQ_NONE; retval 1106 drivers/usb/musb/musb_host.c retval = IRQ_HANDLED; retval 1131 drivers/usb/musb/musb_host.c retval = IRQ_HANDLED; retval 1136 drivers/usb/musb/musb_host.c retval = IRQ_HANDLED; retval 1192 drivers/usb/musb/musb_host.c retval = IRQ_HANDLED; retval 1200 drivers/usb/musb/musb_host.c return retval; retval 236 drivers/usb/musb/musb_virthub.c int retval = 0; retval 241 drivers/usb/musb/musb_virthub.c retval = 1; retval 243 drivers/usb/musb/musb_virthub.c return retval; retval 271 drivers/usb/musb/musb_virthub.c int retval = 0; retval 432 drivers/usb/musb/musb_virthub.c retval = -EPIPE; retval 439 drivers/usb/musb/musb_virthub.c return retval; retval 280 drivers/usb/musb/musbhsdma.c irqreturn_t retval = IRQ_NONE; retval 381 drivers/usb/musb/musbhsdma.c retval = IRQ_HANDLED; retval 384 drivers/usb/musb/musbhsdma.c return retval; retval 207 drivers/usb/musb/omap2430.c irqreturn_t retval = IRQ_NONE; retval 217 drivers/usb/musb/omap2430.c retval = musb_interrupt(musb); retval 221 drivers/usb/musb/omap2430.c return retval; retval 127 drivers/usb/musb/ux500.c irqreturn_t retval = IRQ_NONE; retval 137 drivers/usb/musb/ux500.c retval = musb_interrupt(musb); retval 141 drivers/usb/musb/ux500.c return retval; retval 463 drivers/usb/phy/phy-fsl-usb.c u32 retval = 0; retval 483 drivers/usb/phy/phy-fsl-usb.c retval = dev->driver->pm->resume(dev); retval 508 drivers/usb/phy/phy-fsl-usb.c retval = dev->driver->pm->suspend(dev); retval 517 drivers/usb/phy/phy-fsl-usb.c return retval; retval 1061 drivers/usb/phy/phy-fsl-usb.c u32 retval = 0; retval 1065 drivers/usb/phy/phy-fsl-usb.c retval = fsl_otg_dev->host_working; retval 1090 drivers/usb/phy/phy-fsl-usb.c return retval; retval 242 drivers/usb/phy/phy-mv-usb.c int retval = 0; retval 251 drivers/usb/phy/phy-mv-usb.c retval = mvotg->pdata->phy_init(mvotg->phy_regs); retval 252 drivers/usb/phy/phy-mv-usb.c if (retval) { retval 254 drivers/usb/phy/phy-mv-usb.c "init phy error %d\n", retval); retval 256 drivers/usb/phy/phy-mv-usb.c return retval; retval 671 drivers/usb/phy/phy-mv-usb.c int retval = 0, i; retval 723 drivers/usb/phy/phy-mv-usb.c retval = -ENODEV; retval 730 drivers/usb/phy/phy-mv-usb.c retval = -EFAULT; retval 738 drivers/usb/phy/phy-mv-usb.c retval = -ENODEV; retval 745 drivers/usb/phy/phy-mv-usb.c retval = -EFAULT; retval 750 drivers/usb/phy/phy-mv-usb.c retval = mv_otg_enable_internal(mvotg); retval 751 drivers/usb/phy/phy-mv-usb.c if (retval) { retval 752 drivers/usb/phy/phy-mv-usb.c dev_err(&pdev->dev, "mv otg enable error %d\n", retval); retval 761 drivers/usb/phy/phy-mv-usb.c retval = devm_request_threaded_irq(&pdev->dev, pdata->id->irq, retval 764 drivers/usb/phy/phy-mv-usb.c if (retval) { retval 773 drivers/usb/phy/phy-mv-usb.c retval = devm_request_threaded_irq(&pdev->dev, pdata->vbus->irq, retval 776 drivers/usb/phy/phy-mv-usb.c if (retval) { retval 794 drivers/usb/phy/phy-mv-usb.c retval = -ENODEV; retval 804 drivers/usb/phy/phy-mv-usb.c retval = -ENODEV; retval 808 drivers/usb/phy/phy-mv-usb.c retval = usb_add_phy(&mvotg->phy, USB_PHY_TYPE_USB2); retval 809 drivers/usb/phy/phy-mv-usb.c if (retval < 0) { retval 811 drivers/usb/phy/phy-mv-usb.c retval); retval 833 drivers/usb/phy/phy-mv-usb.c return retval; retval 48 drivers/usb/renesas_usbhs/rcar2.c int retval = -ENODEV; retval 52 drivers/usb/renesas_usbhs/rcar2.c retval = phy_init(priv->phy); retval 54 drivers/usb/renesas_usbhs/rcar2.c if (!retval) retval 55 drivers/usb/renesas_usbhs/rcar2.c retval = phy_power_on(priv->phy); retval 59 drivers/usb/renesas_usbhs/rcar2.c retval = 0; retval 63 drivers/usb/renesas_usbhs/rcar2.c return retval; retval 42 drivers/usb/renesas_usbhs/rza2.c int retval = 0; retval 48 drivers/usb/renesas_usbhs/rza2.c retval = phy_init(priv->phy); retval 51 drivers/usb/renesas_usbhs/rza2.c if (!retval) retval 52 drivers/usb/renesas_usbhs/rza2.c retval = phy_power_on(priv->phy); retval 59 drivers/usb/renesas_usbhs/rza2.c return retval; retval 150 drivers/usb/serial/belkin_sa.c int retval; retval 152 drivers/usb/serial/belkin_sa.c retval = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL); retval 153 drivers/usb/serial/belkin_sa.c if (retval) { retval 155 drivers/usb/serial/belkin_sa.c return retval; retval 158 drivers/usb/serial/belkin_sa.c retval = usb_serial_generic_open(tty, port); retval 159 drivers/usb/serial/belkin_sa.c if (retval) retval 162 drivers/usb/serial/belkin_sa.c return retval; retval 176 drivers/usb/serial/belkin_sa.c int retval; retval 230 drivers/usb/serial/belkin_sa.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 231 drivers/usb/serial/belkin_sa.c if (retval) retval 233 drivers/usb/serial/belkin_sa.c "result %d\n", __func__, retval); retval 451 drivers/usb/serial/belkin_sa.c int retval; retval 478 drivers/usb/serial/belkin_sa.c retval = BSA_USB_CMD(BELKIN_SA_SET_RTS_REQUEST, rts); retval 479 drivers/usb/serial/belkin_sa.c if (retval < 0) { retval 480 drivers/usb/serial/belkin_sa.c dev_err(&port->dev, "Set RTS error %d\n", retval); retval 484 drivers/usb/serial/belkin_sa.c retval = BSA_USB_CMD(BELKIN_SA_SET_DTR_REQUEST, dtr); retval 485 drivers/usb/serial/belkin_sa.c if (retval < 0) { retval 486 drivers/usb/serial/belkin_sa.c dev_err(&port->dev, "Set DTR error %d\n", retval); retval 490 drivers/usb/serial/belkin_sa.c return retval; retval 43 drivers/usb/serial/bus.c int retval = 0; retval 51 drivers/usb/serial/bus.c retval = usb_autopm_get_interface(port->serial->interface); retval 52 drivers/usb/serial/bus.c if (retval) retval 53 drivers/usb/serial/bus.c return retval; retval 57 drivers/usb/serial/bus.c retval = driver->port_probe(port); retval 58 drivers/usb/serial/bus.c if (retval) retval 66 drivers/usb/serial/bus.c retval = PTR_ERR(tty_dev); retval 84 drivers/usb/serial/bus.c return retval; retval 91 drivers/usb/serial/bus.c int retval = 0; retval 112 drivers/usb/serial/bus.c retval = driver->port_remove(port); retval 120 drivers/usb/serial/bus.c return retval; retval 127 drivers/usb/serial/bus.c ssize_t retval = usb_store_new_id(&usb_drv->dynids, usb_drv->id_table, retval 130 drivers/usb/serial/bus.c if (retval >= 0 && usb_drv->usb_driver != NULL) retval 131 drivers/usb/serial/bus.c retval = usb_store_new_id(&usb_drv->usb_driver->dynids, retval 135 drivers/usb/serial/bus.c return retval; retval 174 drivers/usb/serial/bus.c int retval; retval 180 drivers/usb/serial/bus.c retval = driver_register(&driver->driver); retval 182 drivers/usb/serial/bus.c return retval; retval 66 drivers/usb/serial/console.c int retval; retval 117 drivers/usb/serial/console.c retval = usb_autopm_get_interface(serial->interface); retval 118 drivers/usb/serial/console.c if (retval) retval 135 drivers/usb/serial/console.c retval = -ENOMEM; retval 153 drivers/usb/serial/console.c retval = serial->type->open(NULL, port); retval 154 drivers/usb/serial/console.c if (retval) { retval 179 drivers/usb/serial/console.c return retval; retval 191 drivers/usb/serial/console.c return retval; retval 200 drivers/usb/serial/console.c int retval = -ENODEV; retval 229 drivers/usb/serial/console.c retval = serial->type->write(NULL, port, buf, i); retval 230 drivers/usb/serial/console.c dev_dbg(&port->dev, "%s - write: %d\n", __func__, retval); retval 234 drivers/usb/serial/console.c retval = serial->type->write(NULL, port, &cr, 1); retval 236 drivers/usb/serial/console.c __func__, retval); retval 293 drivers/usb/serial/cypress_m8.c int new_baudrate = 0, retval = 0, tries = 0; retval 315 drivers/usb/serial/cypress_m8.c retval = analyze_baud_rate(port, baud_rate); retval 316 drivers/usb/serial/cypress_m8.c if (retval >= 0) { retval 317 drivers/usb/serial/cypress_m8.c new_baudrate = retval; retval 342 drivers/usb/serial/cypress_m8.c retval = usb_control_msg(port->serial->dev, retval 352 drivers/usb/serial/cypress_m8.c } while (retval != feature_len && retval 353 drivers/usb/serial/cypress_m8.c retval != -ENODEV); retval 355 drivers/usb/serial/cypress_m8.c if (retval != feature_len) { retval 357 drivers/usb/serial/cypress_m8.c __func__, retval); retval 375 drivers/usb/serial/cypress_m8.c retval = -ENOTTY; retval 380 drivers/usb/serial/cypress_m8.c retval = usb_control_msg(port->serial->dev, retval 389 drivers/usb/serial/cypress_m8.c } while (retval != feature_len retval 390 drivers/usb/serial/cypress_m8.c && retval != -ENODEV); retval 392 drivers/usb/serial/cypress_m8.c if (retval != feature_len) { retval 394 drivers/usb/serial/cypress_m8.c __func__, retval); retval 411 drivers/usb/serial/cypress_m8.c return retval; retval 293 drivers/usb/serial/f81232.c int retval; retval 318 drivers/usb/serial/f81232.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 319 drivers/usb/serial/f81232.c if (retval) retval 322 drivers/usb/serial/f81232.c __func__, retval); retval 1746 drivers/usb/serial/ftdi_sio.c int retval = 0; retval 1752 drivers/usb/serial/ftdi_sio.c retval = device_create_file(&port->dev, &dev_attr_event_char); retval 1753 drivers/usb/serial/ftdi_sio.c if ((!retval) && retval 1761 drivers/usb/serial/ftdi_sio.c retval = device_create_file(&port->dev, retval 1765 drivers/usb/serial/ftdi_sio.c return retval; retval 1167 drivers/usb/serial/garmin_gps.c int retval; retval 1184 drivers/usb/serial/garmin_gps.c retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); retval 1185 drivers/usb/serial/garmin_gps.c if (retval) retval 1188 drivers/usb/serial/garmin_gps.c __func__, retval); retval 1192 drivers/usb/serial/garmin_gps.c retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); retval 1193 drivers/usb/serial/garmin_gps.c if (retval) retval 1196 drivers/usb/serial/garmin_gps.c __func__, retval); retval 1210 drivers/usb/serial/garmin_gps.c int retval; retval 1245 drivers/usb/serial/garmin_gps.c retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); retval 1246 drivers/usb/serial/garmin_gps.c if (retval) { retval 1249 drivers/usb/serial/garmin_gps.c __func__, retval); retval 1281 drivers/usb/serial/garmin_gps.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 1282 drivers/usb/serial/garmin_gps.c if (retval) retval 1285 drivers/usb/serial/garmin_gps.c __func__, retval); retval 85 drivers/usb/serial/generic.c int retval = 0; retval 93 drivers/usb/serial/generic.c retval = usb_serial_register_drivers(serial_drivers, retval 96 drivers/usb/serial/generic.c return retval; retval 762 drivers/usb/serial/io_edgeport.c int retval; retval 798 drivers/usb/serial/io_edgeport.c retval = usb_submit_urb(edge_serial->read_urb, GFP_ATOMIC); retval 799 drivers/usb/serial/io_edgeport.c if (retval) { retval 802 drivers/usb/serial/io_edgeport.c __func__, retval); retval 1634 drivers/usb/serial/io_ti.c int retval; retval 1720 drivers/usb/serial/io_ti.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 1721 drivers/usb/serial/io_ti.c if (retval) retval 1724 drivers/usb/serial/io_ti.c __func__, retval); retval 1733 drivers/usb/serial/io_ti.c int retval = 0; retval 1786 drivers/usb/serial/io_ti.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 1791 drivers/usb/serial/io_ti.c if (retval) retval 1792 drivers/usb/serial/io_ti.c dev_err(dev, "%s - usb_submit_urb failed with result %d\n", __func__, retval); retval 139 drivers/usb/serial/keyspan_pda.c int retval; retval 197 drivers/usb/serial/keyspan_pda.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 198 drivers/usb/serial/keyspan_pda.c if (retval) retval 201 drivers/usb/serial/keyspan_pda.c __func__, retval); retval 247 drivers/usb/serial/kl5kusb105.c int retval = 0; retval 282 drivers/usb/serial/kl5kusb105.c retval = rc; retval 297 drivers/usb/serial/kl5kusb105.c retval = rc; retval 304 drivers/usb/serial/kl5kusb105.c retval = rc; retval 330 drivers/usb/serial/kl5kusb105.c return retval; retval 417 drivers/usb/serial/mct_u232.c int retval = 0; retval 459 drivers/usb/serial/mct_u232.c retval = usb_submit_urb(priv->read_urb, GFP_KERNEL); retval 460 drivers/usb/serial/mct_u232.c if (retval) { retval 463 drivers/usb/serial/mct_u232.c port->read_urb->pipe, retval); retval 467 drivers/usb/serial/mct_u232.c retval = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL); retval 468 drivers/usb/serial/mct_u232.c if (retval) { retval 472 drivers/usb/serial/mct_u232.c port->interrupt_in_urb->pipe, retval); retval 478 drivers/usb/serial/mct_u232.c return retval; retval 513 drivers/usb/serial/mct_u232.c int retval; retval 589 drivers/usb/serial/mct_u232.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 590 drivers/usb/serial/mct_u232.c if (retval) retval 593 drivers/usb/serial/mct_u232.c __func__, retval); retval 220 drivers/usb/serial/metro-usb.c int retval = 0; retval 233 drivers/usb/serial/metro-usb.c retval = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), retval 236 drivers/usb/serial/metro-usb.c if (retval < 0) retval 239 drivers/usb/serial/metro-usb.c __func__, mcr, retval); retval 241 drivers/usb/serial/metro-usb.c return retval; retval 652 drivers/usb/serial/mos7720.c int retval; retval 659 drivers/usb/serial/mos7720.c retval = usb_bulk_msg(mos_parport->serial->dev, retval 664 drivers/usb/serial/mos7720.c if (retval) { retval 666 drivers/usb/serial/mos7720.c "mos7720: usb_bulk_msg() failed: %d\n", retval); retval 921 drivers/usb/serial/mos7720.c int retval; retval 943 drivers/usb/serial/mos7720.c retval = usb_submit_urb(port->read_urb, GFP_ATOMIC); retval 944 drivers/usb/serial/mos7720.c if (retval) retval 945 drivers/usb/serial/mos7720.c dev_dbg(&port->dev, "usb_submit_urb(read bulk) failed, retval = %d\n", retval); retval 735 drivers/usb/serial/mos7840.c int retval; retval 785 drivers/usb/serial/mos7840.c retval = usb_submit_urb(mos7840_port->read_urb, GFP_ATOMIC); retval 787 drivers/usb/serial/mos7840.c if (retval) { retval 788 drivers/usb/serial/mos7840.c dev_dbg(&port->dev, "usb_submit_urb(read bulk) failed, retval = %d\n", retval); retval 103 drivers/usb/serial/opticon.c int retval; retval 113 drivers/usb/serial/opticon.c retval = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), retval 119 drivers/usb/serial/opticon.c if (retval < 0) retval 120 drivers/usb/serial/opticon.c return retval; retval 407 drivers/usb/serial/pl2303.c int retval; retval 411 drivers/usb/serial/pl2303.c retval = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), retval 414 drivers/usb/serial/pl2303.c if (retval) retval 415 drivers/usb/serial/pl2303.c dev_err(&port->dev, "%s - failed: %d\n", __func__, retval); retval 417 drivers/usb/serial/pl2303.c return retval; retval 956 drivers/usb/serial/pl2303.c int retval; retval 981 drivers/usb/serial/pl2303.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 982 drivers/usb/serial/pl2303.c if (retval) { retval 985 drivers/usb/serial/pl2303.c __func__, retval); retval 226 drivers/usb/serial/qcserial.c int retval = -ENODEV; retval 255 drivers/usb/serial/qcserial.c retval = 0; /* Success */ retval 406 drivers/usb/serial/qcserial.c retval = usb_set_interface(serial->dev, ifnum, altsetting); retval 407 drivers/usb/serial/qcserial.c if (retval < 0) { retval 410 drivers/usb/serial/qcserial.c retval); retval 411 drivers/usb/serial/qcserial.c retval = -ENODEV; retval 415 drivers/usb/serial/qcserial.c if (!retval) retval 418 drivers/usb/serial/qcserial.c return retval; retval 314 drivers/usb/serial/sierra.c int retval; retval 349 drivers/usb/serial/sierra.c retval = usb_autopm_get_interface(serial->interface); retval 350 drivers/usb/serial/sierra.c if (retval < 0) retval 351 drivers/usb/serial/sierra.c return retval; retval 353 drivers/usb/serial/sierra.c retval = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), retval 357 drivers/usb/serial/sierra.c return retval; retval 444 drivers/usb/serial/sierra.c int retval = 0; retval 467 drivers/usb/serial/sierra.c retval = usb_autopm_get_interface_async(serial->interface); retval 468 drivers/usb/serial/sierra.c if (retval < 0) { retval 477 drivers/usb/serial/sierra.c retval = -ENOMEM; retval 483 drivers/usb/serial/sierra.c retval = -ENOMEM; retval 509 drivers/usb/serial/sierra.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 510 drivers/usb/serial/sierra.c if (retval) { retval 514 drivers/usb/serial/sierra.c "with status = %d\n", __func__, retval); retval 539 drivers/usb/serial/sierra.c return retval; retval 186 drivers/usb/serial/spcp8x5.c int retval; retval 191 drivers/usb/serial/spcp8x5.c retval = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), retval 194 drivers/usb/serial/spcp8x5.c if (retval != 0) { retval 196 drivers/usb/serial/spcp8x5.c retval); retval 198 drivers/usb/serial/spcp8x5.c return retval; retval 1120 drivers/usb/serial/ti_usb_3410_5052.c int retval; retval 1183 drivers/usb/serial/ti_usb_3410_5052.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 1184 drivers/usb/serial/ti_usb_3410_5052.c if (retval) retval 1186 drivers/usb/serial/ti_usb_3410_5052.c __func__, retval); retval 1197 drivers/usb/serial/ti_usb_3410_5052.c int retval = 0; retval 1238 drivers/usb/serial/ti_usb_3410_5052.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 1243 drivers/usb/serial/ti_usb_3410_5052.c if (retval) retval 1245 drivers/usb/serial/ti_usb_3410_5052.c __func__, retval); retval 182 drivers/usb/serial/usb-serial.c int retval = -ENODEV; retval 186 drivers/usb/serial/usb-serial.c return retval; retval 192 drivers/usb/serial/usb-serial.c retval = usb_autopm_get_interface(serial->interface); retval 193 drivers/usb/serial/usb-serial.c if (retval) retval 198 drivers/usb/serial/usb-serial.c retval = tty_standard_install(driver, tty); retval 199 drivers/usb/serial/usb-serial.c if (retval) retval 210 drivers/usb/serial/usb-serial.c return retval; retval 219 drivers/usb/serial/usb-serial.c return retval; retval 227 drivers/usb/serial/usb-serial.c int retval; retval 231 drivers/usb/serial/usb-serial.c retval = -ENODEV; retval 233 drivers/usb/serial/usb-serial.c retval = port->serial->type->open(tty, port); retval 236 drivers/usb/serial/usb-serial.c if (retval < 0) retval 237 drivers/usb/serial/usb-serial.c retval = usb_translate_errors(retval); retval 239 drivers/usb/serial/usb-serial.c return retval; retval 327 drivers/usb/serial/usb-serial.c int retval = -ENODEV; retval 334 drivers/usb/serial/usb-serial.c retval = port->serial->type->write(tty, port, buf, count); retval 335 drivers/usb/serial/usb-serial.c if (retval < 0) retval 336 drivers/usb/serial/usb-serial.c retval = usb_translate_errors(retval); retval 338 drivers/usb/serial/usb-serial.c return retval; retval 421 drivers/usb/serial/usb-serial.c int retval = -ENOIOCTLCMD; retval 428 drivers/usb/serial/usb-serial.c retval = port->serial->type->tiocmiwait(tty, arg); retval 432 drivers/usb/serial/usb-serial.c retval = port->serial->type->ioctl(tty, cmd, arg); retval 435 drivers/usb/serial/usb-serial.c return retval; retval 874 drivers/usb/serial/usb-serial.c int retval; retval 896 drivers/usb/serial/usb-serial.c retval = -ENOMEM; retval 905 drivers/usb/serial/usb-serial.c retval = type->probe(serial, id); retval 907 drivers/usb/serial/usb-serial.c if (retval) { retval 916 drivers/usb/serial/usb-serial.c retval = -ENOMEM; retval 927 drivers/usb/serial/usb-serial.c retval = -ENODEV; retval 932 drivers/usb/serial/usb-serial.c retval = type->calc_num_ports(serial, epds); retval 933 drivers/usb/serial/usb-serial.c if (retval < 0) retval 935 drivers/usb/serial/usb-serial.c num_ports = retval; retval 968 drivers/usb/serial/usb-serial.c retval = -ENOMEM; retval 989 drivers/usb/serial/usb-serial.c retval = setup_port_bulk_in(serial->port[i], epds->bulk_in[i]); retval 990 drivers/usb/serial/usb-serial.c if (retval) retval 995 drivers/usb/serial/usb-serial.c retval = setup_port_bulk_out(serial->port[i], retval 997 drivers/usb/serial/usb-serial.c if (retval) retval 1003 drivers/usb/serial/usb-serial.c retval = setup_port_interrupt_in(serial->port[i], retval 1005 drivers/usb/serial/usb-serial.c if (retval) retval 1014 drivers/usb/serial/usb-serial.c retval = setup_port_interrupt_out(serial->port[i], retval 1016 drivers/usb/serial/usb-serial.c if (retval) retval 1027 drivers/usb/serial/usb-serial.c retval = type->attach(serial); retval 1028 drivers/usb/serial/usb-serial.c if (retval < 0) retval 1031 drivers/usb/serial/usb-serial.c if (retval > 0) { retval 1041 drivers/usb/serial/usb-serial.c retval = allocate_minors(serial, num_ports); retval 1042 drivers/usb/serial/usb-serial.c if (retval) { retval 1054 drivers/usb/serial/usb-serial.c retval = device_add(&port->dev); retval 1055 drivers/usb/serial/usb-serial.c if (retval) retval 1073 drivers/usb/serial/usb-serial.c return retval; retval 1307 drivers/usb/serial/usb-serial.c int retval; retval 1329 drivers/usb/serial/usb-serial.c retval = usb_serial_bus_register(driver); retval 1330 drivers/usb/serial/usb-serial.c if (retval) { retval 1331 drivers/usb/serial/usb-serial.c pr_err("problem %d when registering driver %s\n", retval, driver->description); retval 1337 drivers/usb/serial/usb-serial.c return retval; retval 156 drivers/usb/serial/usb_wwan.c int retval = 0; retval 167 drivers/usb/serial/usb_wwan.c retval = -EPERM; retval 169 drivers/usb/serial/usb_wwan.c retval = -EOPNOTSUPP; retval 176 drivers/usb/serial/usb_wwan.c return retval; retval 318 drivers/usb/serial/visor.c int retval = 0; retval 327 drivers/usb/serial/visor.c retval = usb_control_msg(serial->dev, retval 332 drivers/usb/serial/visor.c if (retval < 0) { retval 334 drivers/usb/serial/visor.c __func__, retval); retval 338 drivers/usb/serial/visor.c if (retval != sizeof(*connection_info)) { retval 340 drivers/usb/serial/visor.c retval = -ENODEV; retval 391 drivers/usb/serial/visor.c retval = usb_control_msg(serial->dev, retval 396 drivers/usb/serial/visor.c if (retval < 0) retval 398 drivers/usb/serial/visor.c __func__, retval); retval 399 drivers/usb/serial/visor.c retval = 0; retval 404 drivers/usb/serial/visor.c return retval; retval 413 drivers/usb/serial/visor.c int retval; retval 419 drivers/usb/serial/visor.c retval = usb_control_msg(serial->dev, retval 424 drivers/usb/serial/visor.c if (retval < 0) retval 426 drivers/usb/serial/visor.c __func__, retval); retval 428 drivers/usb/serial/visor.c usb_serial_debug_data(dev, __func__, retval, transfer_buffer); retval 438 drivers/usb/serial/visor.c int retval = 0; retval 461 drivers/usb/serial/visor.c retval = startup(serial, id); retval 464 drivers/usb/serial/visor.c return retval; retval 360 drivers/usb/serial/whiteheat.c int retval; retval 362 drivers/usb/serial/whiteheat.c retval = start_command_port(port->serial); retval 363 drivers/usb/serial/whiteheat.c if (retval) retval 367 drivers/usb/serial/whiteheat.c retval = firm_open(port); retval 368 drivers/usb/serial/whiteheat.c if (retval) { retval 373 drivers/usb/serial/whiteheat.c retval = firm_purge(port, WHITEHEAT_PURGE_RX | WHITEHEAT_PURGE_TX); retval 374 drivers/usb/serial/whiteheat.c if (retval) { retval 387 drivers/usb/serial/whiteheat.c retval = usb_serial_generic_open(tty, port); retval 388 drivers/usb/serial/whiteheat.c if (retval) { retval 394 drivers/usb/serial/whiteheat.c return retval; retval 555 drivers/usb/serial/whiteheat.c int retval = 0; retval 573 drivers/usb/serial/whiteheat.c retval = usb_submit_urb(command_port->write_urb, GFP_NOIO); retval 574 drivers/usb/serial/whiteheat.c if (retval) { retval 587 drivers/usb/serial/whiteheat.c retval = -ETIMEDOUT; retval 593 drivers/usb/serial/whiteheat.c retval = -EIO; retval 609 drivers/usb/serial/whiteheat.c return retval; retval 787 drivers/usb/serial/whiteheat.c int retval = 0; retval 796 drivers/usb/serial/whiteheat.c retval = usb_submit_urb(command_port->read_urb, GFP_KERNEL); retval 797 drivers/usb/serial/whiteheat.c if (retval) { retval 800 drivers/usb/serial/whiteheat.c __func__, retval); retval 808 drivers/usb/serial/whiteheat.c return retval; retval 48 drivers/usb/serial/wishbone-serial.c int retval; retval 50 drivers/usb/serial/wishbone-serial.c retval = usb_gsi_openclose(port, 1); retval 51 drivers/usb/serial/wishbone-serial.c if (retval) { retval 54 drivers/usb/serial/wishbone-serial.c retval); retval 55 drivers/usb/serial/wishbone-serial.c return retval; retval 58 drivers/usb/serial/wishbone-serial.c retval = usb_serial_generic_open(tty, port); retval 59 drivers/usb/serial/wishbone-serial.c if (retval) retval 62 drivers/usb/serial/wishbone-serial.c return retval; retval 94 drivers/usb/storage/onetouch.c int retval; retval 112 drivers/usb/storage/onetouch.c retval = usb_submit_urb (urb, GFP_ATOMIC); retval 113 drivers/usb/storage/onetouch.c if (retval) retval 116 drivers/usb/storage/onetouch.c onetouch->udev->devpath, retval); retval 362 drivers/usb/storage/realtek_cr.c int retval; retval 379 drivers/usb/storage/realtek_cr.c retval = rts51x_bulk_transport(us, 0, cmnd, 12, retval 381 drivers/usb/storage/realtek_cr.c if (retval != USB_STOR_TRANSPORT_GOOD) { retval 393 drivers/usb/storage/realtek_cr.c int retval; retval 410 drivers/usb/storage/realtek_cr.c retval = rts51x_bulk_transport(us, 0, cmnd, 12, retval 413 drivers/usb/storage/realtek_cr.c if (retval != USB_STOR_TRANSPORT_GOOD) retval 422 drivers/usb/storage/realtek_cr.c int retval; retval 435 drivers/usb/storage/realtek_cr.c retval = rts51x_bulk_transport(us, lun, cmnd, 12, retval 437 drivers/usb/storage/realtek_cr.c if (retval != USB_STOR_TRANSPORT_GOOD) { retval 450 drivers/usb/storage/realtek_cr.c int retval; retval 453 drivers/usb/storage/realtek_cr.c retval = rts51x_read_status(us, lun, buf, 16, &(chip->status_len)); retval 454 drivers/usb/storage/realtek_cr.c if (retval != STATUS_SUCCESS) retval 480 drivers/usb/storage/realtek_cr.c int retval; retval 483 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFE77, &value, 1); retval 484 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 488 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0xFE77, &value, 1); retval 489 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 492 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFE77, &value, 1); retval 493 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 504 drivers/usb/storage/realtek_cr.c int retval; retval 521 drivers/usb/storage/realtek_cr.c retval = rts51x_bulk_transport_special(us, 0, cmnd, 12, buf, len, DMA_TO_DEVICE, NULL); retval 523 drivers/usb/storage/realtek_cr.c if (retval != USB_STOR_TRANSPORT_GOOD) { retval 532 drivers/usb/storage/realtek_cr.c int retval; retval 535 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFE47, &value, 1); retval 536 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 551 drivers/usb/storage/realtek_cr.c retval = __do_config_autodelink(us, &value, 1); retval 552 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 561 drivers/usb/storage/realtek_cr.c int retval; retval 567 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFE47, &value, 1); retval 568 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 582 drivers/usb/storage/realtek_cr.c retval = __do_config_autodelink(us, &value, 1); retval 583 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 586 drivers/usb/storage/realtek_cr.c retval = enable_oscillator(us); retval 587 drivers/usb/storage/realtek_cr.c if (retval == 0) retval 604 drivers/usb/storage/realtek_cr.c retval = __do_config_autodelink(us, &value, 1); retval 605 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 610 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0xFE79, &value, 1); retval 611 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 615 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0x48, &value, 1); retval 616 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 628 drivers/usb/storage/realtek_cr.c int retval; retval 635 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFE77, &value, 1); retval 636 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 640 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0xFE77, &value, 1); retval 641 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 646 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0x48, &value, 1); retval 647 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 651 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFE47, &value, 1); retval 652 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 658 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0xFE77, &value, 1); retval 659 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 665 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFE47, &value, 1); retval 666 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 679 drivers/usb/storage/realtek_cr.c retval = __do_config_autodelink(us, &value, 1); retval 680 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 686 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0x48, &value, 1); retval 687 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 698 drivers/usb/storage/realtek_cr.c int retval; retval 704 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFD6F, &val, 1); retval 705 drivers/usb/storage/realtek_cr.c if (retval == STATUS_SUCCESS && (val & 0x1F) == 0) { retval 707 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0xFD70, &val, 1); retval 708 drivers/usb/storage/realtek_cr.c if (retval != STATUS_SUCCESS) retval 721 drivers/usb/storage/realtek_cr.c int retval; retval 727 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xFD6F, buf, 1); retval 728 drivers/usb/storage/realtek_cr.c if (retval == STATUS_SUCCESS && (buf[0] & 0x24) == 0x24) { retval 730 drivers/usb/storage/realtek_cr.c retval = rts51x_read_mem(us, 0xD04E, buf, 1); retval 731 drivers/usb/storage/realtek_cr.c if (retval == STATUS_SUCCESS) { retval 733 drivers/usb/storage/realtek_cr.c retval = rts51x_write_mem(us, 0xFD70, buf, 1); retval 734 drivers/usb/storage/realtek_cr.c if (retval != STATUS_SUCCESS) retval 879 drivers/usb/storage/realtek_cr.c int retval; retval 887 drivers/usb/storage/realtek_cr.c retval = rts51x_read_status(us, 0, buf, 16, &(chip->status_len)); retval 888 drivers/usb/storage/realtek_cr.c if (retval != STATUS_SUCCESS) { retval 976 drivers/usb/storage/realtek_cr.c int size, i, retval; retval 995 drivers/usb/storage/realtek_cr.c retval = rts51x_check_status(us, (u8) i); retval 996 drivers/usb/storage/realtek_cr.c if (retval < 0) retval 199 drivers/usb/typec/ucsi/ucsi.c void *retval, size_t size) retval 204 drivers/usb/typec/ucsi/ucsi.c ret = ucsi_run_command(ucsi, ctrl, retval, size); retval 430 drivers/usb/typec/ucsi/ucsi.h void *retval, size_t size); retval 88 drivers/usb/usb-skeleton.c int retval = 0; retval 96 drivers/usb/usb-skeleton.c retval = -ENODEV; retval 102 drivers/usb/usb-skeleton.c retval = -ENODEV; retval 106 drivers/usb/usb-skeleton.c retval = usb_autopm_get_interface(interface); retval 107 drivers/usb/usb-skeleton.c if (retval) retval 117 drivers/usb/usb-skeleton.c return retval; retval 363 drivers/usb/usb-skeleton.c int retval = 0; retval 380 drivers/usb/usb-skeleton.c retval = -ERESTARTSYS; retval 385 drivers/usb/usb-skeleton.c retval = -EAGAIN; retval 391 drivers/usb/usb-skeleton.c retval = dev->errors; retval 392 drivers/usb/usb-skeleton.c if (retval < 0) { retval 396 drivers/usb/usb-skeleton.c retval = (retval == -EPIPE) ? retval : -EIO; retval 399 drivers/usb/usb-skeleton.c if (retval < 0) retval 405 drivers/usb/usb-skeleton.c retval = -ENOMEM; retval 412 drivers/usb/usb-skeleton.c retval = -ENOMEM; retval 417 drivers/usb/usb-skeleton.c retval = -EFAULT; retval 425 drivers/usb/usb-skeleton.c retval = -ENODEV; retval 437 drivers/usb/usb-skeleton.c retval = usb_submit_urb(urb, GFP_KERNEL); retval 439 drivers/usb/usb-skeleton.c if (retval) { retval 442 drivers/usb/usb-skeleton.c __func__, retval); retval 465 drivers/usb/usb-skeleton.c return retval; retval 493 drivers/usb/usb-skeleton.c int retval; retval 512 drivers/usb/usb-skeleton.c retval = usb_find_common_endpoints(interface->cur_altsetting, retval 514 drivers/usb/usb-skeleton.c if (retval) { retval 524 drivers/usb/usb-skeleton.c retval = -ENOMEM; retval 529 drivers/usb/usb-skeleton.c retval = -ENOMEM; retval 539 drivers/usb/usb-skeleton.c retval = usb_register_dev(interface, &skel_class); retval 540 drivers/usb/usb-skeleton.c if (retval) { retval 558 drivers/usb/usb-skeleton.c return retval; retval 232 drivers/usb/usbip/vhci_hcd.c int retval = DIV_ROUND_UP(VHCI_HC_PORTS + 1, 8); retval 237 drivers/usb/usbip/vhci_hcd.c memset(buf, 0, retval); retval 261 drivers/usb/usbip/vhci_hcd.c return changed ? retval : 0; retval 320 drivers/usb/usbip/vhci_hcd.c int retval = 0; retval 424 drivers/usb/usbip/vhci_hcd.c retval = sizeof(usb3_bos_desc); retval 434 drivers/usb/usbip/vhci_hcd.c retval = -EPIPE; retval 491 drivers/usb/usbip/vhci_hcd.c retval = -EPIPE; retval 631 drivers/usb/usbip/vhci_hcd.c retval = -EPIPE; retval 652 drivers/usb/usbip/vhci_hcd.c return retval; retval 33 drivers/usb/usbip/vudc_main.c int retval = -ENOMEM; retval 45 drivers/usb/usbip/vudc_main.c retval = platform_driver_register(&vudc_driver); retval 46 drivers/usb/usbip/vudc_main.c if (retval < 0) retval 52 drivers/usb/usbip/vudc_main.c retval = -ENOMEM; retval 56 drivers/usb/usbip/vudc_main.c retval = platform_device_add(udc_dev->pdev); retval 57 drivers/usb/usbip/vudc_main.c if (retval < 0) { retval 68 drivers/usb/usbip/vudc_main.c retval = -EINVAL; retval 87 drivers/usb/usbip/vudc_main.c return retval; retval 82 drivers/video/backlight/ot200_bl.c int retval = 0; retval 100 drivers/video/backlight/ot200_bl.c retval = -ENOMEM; retval 123 drivers/video/backlight/ot200_bl.c retval = PTR_ERR(bl); retval 133 drivers/video/backlight/ot200_bl.c return retval; retval 170 drivers/video/backlight/pwm_bl.c u64 retval; retval 174 drivers/video/backlight/pwm_bl.c retval = DIV_ROUND_CLOSEST_ULL(lightness * 10, 9023); retval 176 drivers/video/backlight/pwm_bl.c retval = int_pow((lightness + (16 * scale)) / 116, 3); retval 177 drivers/video/backlight/pwm_bl.c retval = DIV_ROUND_CLOSEST_ULL(retval, (scale * scale)); retval 180 drivers/video/backlight/pwm_bl.c return retval; retval 193 drivers/video/backlight/pwm_bl.c u64 retval; retval 210 drivers/video/backlight/pwm_bl.c retval = cie1931((i * PWM_LUMINANCE_SCALE) / retval 213 drivers/video/backlight/pwm_bl.c retval = DIV_ROUND_CLOSEST_ULL(retval, PWM_LUMINANCE_SCALE); retval 214 drivers/video/backlight/pwm_bl.c if (retval > UINT_MAX) retval 216 drivers/video/backlight/pwm_bl.c data->levels[i] = (unsigned int)retval; retval 510 drivers/video/fbdev/arcfb.c int retval = -ENOMEM; retval 522 drivers/video/fbdev/arcfb.c return retval; retval 547 drivers/video/fbdev/arcfb.c retval = register_framebuffer(info); retval 548 drivers/video/fbdev/arcfb.c if (retval < 0) retval 557 drivers/video/fbdev/arcfb.c retval = -EBUSY; retval 587 drivers/video/fbdev/arcfb.c return retval; retval 1069 drivers/video/fbdev/broadsheetfb.c int retval = -ENOMEM; retval 1139 drivers/video/fbdev/broadsheetfb.c retval = fb_alloc_cmap(&info->cmap, 16, 0); retval 1140 drivers/video/fbdev/broadsheetfb.c if (retval < 0) { retval 1151 drivers/video/fbdev/broadsheetfb.c retval = par->board->setup_irq(info); retval 1152 drivers/video/fbdev/broadsheetfb.c if (retval < 0) retval 1156 drivers/video/fbdev/broadsheetfb.c retval = board->init(par); retval 1157 drivers/video/fbdev/broadsheetfb.c if (retval < 0) retval 1164 drivers/video/fbdev/broadsheetfb.c retval = register_framebuffer(info); retval 1165 drivers/video/fbdev/broadsheetfb.c if (retval < 0) retval 1170 drivers/video/fbdev/broadsheetfb.c retval = device_create_file(&dev->dev, &dev_attr_loadstore_waveform); retval 1171 drivers/video/fbdev/broadsheetfb.c if (retval < 0) retval 1192 drivers/video/fbdev/broadsheetfb.c return retval; retval 77 drivers/video/fbdev/cobalt_lcdfb.c int timeout = 10, retval = 0; retval 92 drivers/video/fbdev/cobalt_lcdfb.c retval = -EBUSY; retval 94 drivers/video/fbdev/cobalt_lcdfb.c return retval; retval 130 drivers/video/fbdev/cobalt_lcdfb.c int len, retval = 0; retval 143 drivers/video/fbdev/cobalt_lcdfb.c retval = lcd_busy_wait(info); retval 144 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0) retval 149 drivers/video/fbdev/cobalt_lcdfb.c retval = lcd_busy_wait(info); retval 150 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0) retval 160 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0 && signal_pending(current)) retval 176 drivers/video/fbdev/cobalt_lcdfb.c int len, retval = 0; retval 192 drivers/video/fbdev/cobalt_lcdfb.c retval = lcd_busy_wait(info); retval 193 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0) retval 198 drivers/video/fbdev/cobalt_lcdfb.c retval = lcd_busy_wait(info); retval 199 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0) retval 209 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0 && signal_pending(current)) retval 219 drivers/video/fbdev/cobalt_lcdfb.c int retval; retval 221 drivers/video/fbdev/cobalt_lcdfb.c retval = lcd_busy_wait(info); retval 222 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0) retval 223 drivers/video/fbdev/cobalt_lcdfb.c return retval; retval 240 drivers/video/fbdev/cobalt_lcdfb.c int retval; retval 249 drivers/video/fbdev/cobalt_lcdfb.c retval = lcd_busy_wait(info); retval 250 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0) retval 251 drivers/video/fbdev/cobalt_lcdfb.c return retval; retval 260 drivers/video/fbdev/cobalt_lcdfb.c retval = lcd_busy_wait(info); retval 261 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0) retval 262 drivers/video/fbdev/cobalt_lcdfb.c return retval; retval 284 drivers/video/fbdev/cobalt_lcdfb.c int retval; retval 312 drivers/video/fbdev/cobalt_lcdfb.c retval = register_framebuffer(info); retval 313 drivers/video/fbdev/cobalt_lcdfb.c if (retval < 0) { retval 315 drivers/video/fbdev/cobalt_lcdfb.c return retval; retval 38 drivers/video/fbdev/core/fb_cmdline.c int retval = 0; retval 42 drivers/video/fbdev/core/fb_cmdline.c retval = 1; retval 44 drivers/video/fbdev/core/fb_cmdline.c if (name_len && !retval) { retval 60 drivers/video/fbdev/core/fb_cmdline.c retval = 1; retval 65 drivers/video/fbdev/core/fb_cmdline.c return retval; retval 548 drivers/video/fbdev/core/fbcon.c int i, retval = 0; retval 552 drivers/video/fbdev/core/fbcon.c retval = 1; retval 554 drivers/video/fbdev/core/fbcon.c return retval; retval 559 drivers/video/fbdev/core/fbcon.c int i, retval = 0; retval 563 drivers/video/fbdev/core/fbcon.c retval = 1; retval 565 drivers/video/fbdev/core/fbcon.c return retval; retval 696 drivers/video/fbdev/core/fbmon.c int i, retval = 1; retval 711 drivers/video/fbdev/core/fbmon.c retval = 0; retval 718 drivers/video/fbdev/core/fbmon.c if (retval) { retval 729 drivers/video/fbdev/core/fbmon.c retval = 0; retval 772 drivers/video/fbdev/core/fbmon.c return retval; retval 1208 drivers/video/fbdev/cyber2000fb.c int retval; retval 1211 drivers/video/fbdev/cyber2000fb.c retval = !!(cyber2000_grphr(DDC_REG, cfb) & DDC_SCL_IN); retval 1214 drivers/video/fbdev/cyber2000fb.c return retval; retval 1220 drivers/video/fbdev/cyber2000fb.c int retval; retval 1223 drivers/video/fbdev/cyber2000fb.c retval = !!(cyber2000_grphr(DDC_REG, cfb) & DDC_SDA_IN); retval 1226 drivers/video/fbdev/cyber2000fb.c return retval; retval 667 drivers/video/fbdev/fb-puv3.c int retval = -ENOMEM; retval 691 drivers/video/fbdev/fb-puv3.c retval = fb_find_mode(&info->var, info, NULL, retval 694 drivers/video/fbdev/fb-puv3.c if (!retval || (retval == 4)) retval 705 drivers/video/fbdev/fb-puv3.c retval = fb_alloc_cmap(&info->cmap, 256, 0); retval 706 drivers/video/fbdev/fb-puv3.c if (retval < 0) retval 709 drivers/video/fbdev/fb-puv3.c retval = register_framebuffer(info); retval 710 drivers/video/fbdev/fb-puv3.c if (retval < 0) retval 723 drivers/video/fbdev/fb-puv3.c return retval; retval 330 drivers/video/fbdev/grvga.c int retval = -ENOMEM; retval 349 drivers/video/fbdev/grvga.c retval = -ENODEV; retval 365 drivers/video/fbdev/grvga.c retval = -EINVAL; retval 386 drivers/video/fbdev/grvga.c retval = -EBUSY; retval 396 drivers/video/fbdev/grvga.c retval = -ENOMEM; retval 400 drivers/video/fbdev/grvga.c retval = fb_alloc_cmap(&info->cmap, 256, 0); retval 401 drivers/video/fbdev/grvga.c if (retval < 0) { retval 403 drivers/video/fbdev/grvga.c retval = -ENOMEM; retval 408 drivers/video/fbdev/grvga.c retval = fb_find_mode(&info->var, info, mode_opt, retval 410 drivers/video/fbdev/grvga.c if (!retval || retval == 4) { retval 411 drivers/video/fbdev/grvga.c retval = -EINVAL; retval 427 drivers/video/fbdev/grvga.c retval = -ENOMEM; retval 435 drivers/video/fbdev/grvga.c retval = -ENOMEM; retval 448 drivers/video/fbdev/grvga.c retval = -ENOMEM; retval 479 drivers/video/fbdev/grvga.c retval = register_framebuffer(info); retval 480 drivers/video/fbdev/grvga.c if (retval < 0) { retval 504 drivers/video/fbdev/grvga.c return retval; retval 218 drivers/video/fbdev/hecubafb.c int retval = -ENOMEM; retval 259 drivers/video/fbdev/hecubafb.c retval = register_framebuffer(info); retval 260 drivers/video/fbdev/hecubafb.c if (retval < 0) retval 268 drivers/video/fbdev/hecubafb.c retval = par->board->init(par); retval 269 drivers/video/fbdev/hecubafb.c if (retval < 0) retval 279 drivers/video/fbdev/hecubafb.c return retval; retval 995 drivers/video/fbdev/i810/i810_main.c int line_length, vidmem, mode_valid = 0, retval = 0; retval 1072 drivers/video/fbdev/i810/i810_main.c retval = -EINVAL; retval 1076 drivers/video/fbdev/i810/i810_main.c return retval; retval 1439 drivers/video/fbdev/intelfb/intelfbdrv.c int retval = 0; retval 1448 drivers/video/fbdev/intelfb/intelfbdrv.c retval = intelfbhw_wait_for_vsync(dinfo, pipe); retval 1454 drivers/video/fbdev/intelfb/intelfbdrv.c return retval; retval 578 drivers/video/fbdev/metronomefb.c int retval = -ENOMEM; retval 662 drivers/video/fbdev/metronomefb.c retval = board->setup_fb(par); retval 663 drivers/video/fbdev/metronomefb.c if (retval) { retval 672 drivers/video/fbdev/metronomefb.c retval = -EINVAL; retval 681 drivers/video/fbdev/metronomefb.c retval = request_firmware(&fw_entry, "metronome.wbf", &dev->dev); retval 682 drivers/video/fbdev/metronomefb.c if (retval < 0) { retval 687 drivers/video/fbdev/metronomefb.c retval = load_waveform((u8 *) fw_entry->data, fw_entry->size, 3, 31, retval 690 drivers/video/fbdev/metronomefb.c if (retval < 0) { retval 695 drivers/video/fbdev/metronomefb.c retval = board->setup_irq(info); retval 696 drivers/video/fbdev/metronomefb.c if (retval) retval 699 drivers/video/fbdev/metronomefb.c retval = metronome_init_regs(par); retval 700 drivers/video/fbdev/metronomefb.c if (retval < 0) retval 708 drivers/video/fbdev/metronomefb.c retval = fb_alloc_cmap(&info->cmap, 8, 0); retval 709 drivers/video/fbdev/metronomefb.c if (retval < 0) { retval 720 drivers/video/fbdev/metronomefb.c retval = register_framebuffer(info); retval 721 drivers/video/fbdev/metronomefb.c if (retval < 0) retval 744 drivers/video/fbdev/metronomefb.c return retval; retval 1333 drivers/video/fbdev/mx3fb.c int retval = 0; retval 1342 drivers/video/fbdev/mx3fb.c retval = -EBUSY; retval 1367 drivers/video/fbdev/mx3fb.c return retval; retval 123 drivers/video/fbdev/n411.c int retval; retval 125 drivers/video/fbdev/n411.c retval = n411_init_control(par); retval 126 drivers/video/fbdev/n411.c if (retval) retval 127 drivers/video/fbdev/n411.c return retval; retval 1518 drivers/video/fbdev/pm2fb.c int retval = -ENXIO; retval 1657 drivers/video/fbdev/pm2fb.c retval = -ENOMEM; retval 1679 drivers/video/fbdev/pm2fb.c retval = fb_alloc_cmap(&info->cmap, 256, 0); retval 1680 drivers/video/fbdev/pm2fb.c if (retval < 0) retval 1683 drivers/video/fbdev/pm2fb.c retval = register_framebuffer(info); retval 1684 drivers/video/fbdev/pm2fb.c if (retval < 0) retval 1709 drivers/video/fbdev/pm2fb.c return retval; retval 1316 drivers/video/fbdev/pm3fb.c int retval = -ENXIO; retval 1401 drivers/video/fbdev/pm3fb.c retval = -ENOMEM; retval 1417 drivers/video/fbdev/pm3fb.c retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); retval 1419 drivers/video/fbdev/pm3fb.c if (!retval || retval == 4) { retval 1420 drivers/video/fbdev/pm3fb.c retval = -EINVAL; retval 1425 drivers/video/fbdev/pm3fb.c retval = -ENOMEM; retval 1435 drivers/video/fbdev/pm3fb.c retval = -EINVAL; retval 1454 drivers/video/fbdev/pm3fb.c return retval; retval 725 drivers/video/fbdev/ps3fb.c int retval; retval 733 drivers/video/fbdev/ps3fb.c retval = ps3av_video_mute(1); /* mute on */ retval 734 drivers/video/fbdev/ps3fb.c if (!retval) retval 739 drivers/video/fbdev/ps3fb.c retval = ps3av_video_mute(0); /* mute off */ retval 740 drivers/video/fbdev/ps3fb.c if (!retval) retval 744 drivers/video/fbdev/ps3fb.c return retval; retval 779 drivers/video/fbdev/ps3fb.c int retval = -EFAULT; retval 786 drivers/video/fbdev/ps3fb.c retval = ps3fb_get_vblank(&vblank); retval 787 drivers/video/fbdev/ps3fb.c if (retval) retval 791 drivers/video/fbdev/ps3fb.c retval = -EFAULT; retval 802 drivers/video/fbdev/ps3fb.c retval = ps3fb_wait_for_vsync(crt); retval 821 drivers/video/fbdev/ps3fb.c retval = -EINVAL; retval 831 drivers/video/fbdev/ps3fb.c retval = fb_set_var(info, &var); retval 842 drivers/video/fbdev/ps3fb.c retval = 0; retval 856 drivers/video/fbdev/ps3fb.c retval = 0; retval 863 drivers/video/fbdev/ps3fb.c retval = 0; retval 869 drivers/video/fbdev/ps3fb.c retval = 0; retval 878 drivers/video/fbdev/ps3fb.c retval = ps3fb_sync(info, val); retval 883 drivers/video/fbdev/ps3fb.c retval = -ENOIOCTLCMD; retval 886 drivers/video/fbdev/ps3fb.c return retval; retval 966 drivers/video/fbdev/ps3fb.c int retval; retval 984 drivers/video/fbdev/ps3fb.c retval = ps3_open_hv_device(dev); retval 985 drivers/video/fbdev/ps3fb.c if (retval) { retval 1004 drivers/video/fbdev/ps3fb.c retval = -ENODEV; retval 1013 drivers/video/fbdev/ps3fb.c retval = -ENODEV; retval 1031 drivers/video/fbdev/ps3fb.c retval = -ENOMEM; retval 1044 drivers/video/fbdev/ps3fb.c retval = -ENOMEM; retval 1052 drivers/video/fbdev/ps3fb.c retval = -ENOMEM; retval 1068 drivers/video/fbdev/ps3fb.c retval = -EINVAL; retval 1072 drivers/video/fbdev/ps3fb.c retval = ps3_irq_plug_setup(PS3_BINDING_CPU_ANY, dinfo->irq.irq_outlet, retval 1074 drivers/video/fbdev/ps3fb.c if (retval) { retval 1076 drivers/video/fbdev/ps3fb.c retval); retval 1080 drivers/video/fbdev/ps3fb.c retval = request_irq(ps3fb.irq_no, ps3fb_vsync_interrupt, retval 1082 drivers/video/fbdev/ps3fb.c if (retval) { retval 1084 drivers/video/fbdev/ps3fb.c retval); retval 1103 drivers/video/fbdev/ps3fb.c retval = -ENXIO; retval 1116 drivers/video/fbdev/ps3fb.c retval = -ENXIO; retval 1122 drivers/video/fbdev/ps3fb.c retval = -ENOMEM; retval 1149 drivers/video/fbdev/ps3fb.c retval = fb_alloc_cmap(&info->cmap, 256, 0); retval 1150 drivers/video/fbdev/ps3fb.c if (retval < 0) retval 1156 drivers/video/fbdev/ps3fb.c retval = -EINVAL; retval 1163 drivers/video/fbdev/ps3fb.c retval = register_framebuffer(info); retval 1164 drivers/video/fbdev/ps3fb.c if (retval < 0) retval 1175 drivers/video/fbdev/ps3fb.c retval = PTR_ERR(task); retval 1207 drivers/video/fbdev/ps3fb.c return retval; retval 1741 drivers/video/fbdev/sh_mobile_lcdcfb.c int retval; retval 1745 drivers/video/fbdev/sh_mobile_lcdcfb.c retval = sh_mobile_lcdc_wait_for_vsync(ch); retval 1749 drivers/video/fbdev/sh_mobile_lcdcfb.c retval = -ENOIOCTLCMD; retval 1752 drivers/video/fbdev/sh_mobile_lcdcfb.c return retval; retval 669 drivers/video/fbdev/skeletonfb.c int cmap_len, retval; retval 775 drivers/video/fbdev/skeletonfb.c retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); retval 777 drivers/video/fbdev/skeletonfb.c if (!retval || retval == 4) retval 1614 drivers/video/fbdev/smscufx.c int retval; retval 1661 drivers/video/fbdev/smscufx.c retval = fb_alloc_cmap(&info->cmap, 256, 0); retval 1662 drivers/video/fbdev/smscufx.c if (retval < 0) { retval 1663 drivers/video/fbdev/smscufx.c dev_err(dev->gdev, "fb_alloc_cmap failed %x\n", retval); retval 1672 drivers/video/fbdev/smscufx.c retval = ufx_reg_read(dev, 0x3000, &id_rev); retval 1673 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d reading 0x3000 register from device", retval); retval 1676 drivers/video/fbdev/smscufx.c retval = ufx_reg_read(dev, 0x3004, &fpga_rev); retval 1677 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d reading 0x3004 register from device", retval); retval 1681 drivers/video/fbdev/smscufx.c retval = ufx_lite_reset(dev); retval 1682 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d resetting device", retval); retval 1685 drivers/video/fbdev/smscufx.c retval = ufx_config_sys_clk(dev); retval 1686 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d configuring system clock", retval); retval 1689 drivers/video/fbdev/smscufx.c retval = ufx_config_ddr2(dev); retval 1690 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d initialising DDR2 controller", retval); retval 1693 drivers/video/fbdev/smscufx.c retval = ufx_i2c_init(dev); retval 1694 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d initialising I2C controller", retval); retval 1697 drivers/video/fbdev/smscufx.c retval = ufx_setup_modes(dev, info, NULL, 0); retval 1698 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "unable to find common mode for display and adapter"); retval 1700 drivers/video/fbdev/smscufx.c retval = ufx_reg_set_bits(dev, 0x4000, 0x00000001); retval 1701 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d enabling graphics engine", retval); retval 1707 drivers/video/fbdev/smscufx.c retval = ufx_ops_check_var(&info->var, info); retval 1708 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d ufx_ops_check_var", retval); retval 1711 drivers/video/fbdev/smscufx.c retval = ufx_ops_set_par(info); retval 1712 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d ufx_ops_set_par", retval); retval 1715 drivers/video/fbdev/smscufx.c retval = register_framebuffer(info); retval 1716 drivers/video/fbdev/smscufx.c check_warn_goto_error(retval, "error %d register_framebuffer", retval); retval 1734 drivers/video/fbdev/smscufx.c return retval; retval 1737 drivers/video/fbdev/smscufx.c retval = -ENOMEM; retval 680 drivers/video/fbdev/tmiofb.c int retval; retval 727 drivers/video/fbdev/tmiofb.c retval = -ENOMEM; retval 733 drivers/video/fbdev/tmiofb.c retval = -ENOMEM; retval 739 drivers/video/fbdev/tmiofb.c retval = -ENOMEM; retval 743 drivers/video/fbdev/tmiofb.c retval = request_irq(irq, &tmiofb_irq, 0, retval 746 drivers/video/fbdev/tmiofb.c if (retval) retval 751 drivers/video/fbdev/tmiofb.c retval = fb_find_mode(&info->var, info, mode_option, retval 754 drivers/video/fbdev/tmiofb.c if (!retval) { retval 755 drivers/video/fbdev/tmiofb.c retval = -EINVAL; retval 760 drivers/video/fbdev/tmiofb.c retval = cell->enable(dev); retval 761 drivers/video/fbdev/tmiofb.c if (retval) retval 765 drivers/video/fbdev/tmiofb.c retval = tmiofb_hw_init(dev); retval 766 drivers/video/fbdev/tmiofb.c if (retval) retval 772 drivers/video/fbdev/tmiofb.c retval = register_framebuffer(info); retval 773 drivers/video/fbdev/tmiofb.c if (retval < 0) retval 797 drivers/video/fbdev/tmiofb.c return retval; retval 931 drivers/video/fbdev/tmiofb.c int retval = 0; retval 952 drivers/video/fbdev/tmiofb.c retval = cell->suspend(dev); retval 956 drivers/video/fbdev/tmiofb.c return retval; retval 963 drivers/video/fbdev/tmiofb.c int retval = 0; retval 968 drivers/video/fbdev/tmiofb.c retval = cell->resume(dev); retval 969 drivers/video/fbdev/tmiofb.c if (retval) retval 982 drivers/video/fbdev/tmiofb.c return retval; retval 284 drivers/video/fbdev/udlfb.c int retval; retval 315 drivers/video/fbdev/udlfb.c retval = dlfb_submit_urb(dlfb, urb, writesize); retval 319 drivers/video/fbdev/udlfb.c return retval; retval 1652 drivers/video/fbdev/udlfb.c int retval = -ENOMEM; retval 1706 drivers/video/fbdev/udlfb.c retval = -ENOMEM; retval 1713 drivers/video/fbdev/udlfb.c retval = fb_alloc_cmap(&info->cmap, 256, 0); retval 1714 drivers/video/fbdev/udlfb.c if (retval < 0) { retval 1715 drivers/video/fbdev/udlfb.c dev_err(info->device, "cmap allocation failed: %d\n", retval); retval 1719 drivers/video/fbdev/udlfb.c retval = dlfb_setup_modes(dlfb, info, NULL, 0); retval 1720 drivers/video/fbdev/udlfb.c if (retval != 0) { retval 1732 drivers/video/fbdev/udlfb.c retval = dlfb_ops_set_par(info); retval 1733 drivers/video/fbdev/udlfb.c if (retval) retval 1736 drivers/video/fbdev/udlfb.c retval = register_framebuffer(info); retval 1737 drivers/video/fbdev/udlfb.c if (retval < 0) { retval 1739 drivers/video/fbdev/udlfb.c retval); retval 1745 drivers/video/fbdev/udlfb.c retval = device_create_file(info->dev, attr); retval 1746 drivers/video/fbdev/udlfb.c if (retval) retval 1749 drivers/video/fbdev/udlfb.c attr->attr.name, retval); retval 1752 drivers/video/fbdev/udlfb.c retval = device_create_bin_file(info->dev, &edid_attr); retval 1753 drivers/video/fbdev/udlfb.c if (retval) retval 1755 drivers/video/fbdev/udlfb.c edid_attr.attr.name, retval); retval 1771 drivers/video/fbdev/udlfb.c return retval; retval 430 drivers/video/fbdev/vfb.c int retval = -ENOMEM; retval 436 drivers/video/fbdev/vfb.c return retval; retval 448 drivers/video/fbdev/vfb.c retval = -EINVAL; retval 459 drivers/video/fbdev/vfb.c retval = fb_alloc_cmap(&info->cmap, 256, 0); retval 460 drivers/video/fbdev/vfb.c if (retval < 0) retval 463 drivers/video/fbdev/vfb.c retval = register_framebuffer(info); retval 464 drivers/video/fbdev/vfb.c if (retval < 0) retval 479 drivers/video/fbdev/vfb.c return retval; retval 40 drivers/vme/boards/vme_vmivme7805.c int retval; retval 44 drivers/vme/boards/vme_vmivme7805.c retval = pci_enable_device(pdev); retval 45 drivers/vme/boards/vme_vmivme7805.c if (retval) { retval 51 drivers/vme/boards/vme_vmivme7805.c retval = pci_request_regions(pdev, driver_name); retval 52 drivers/vme/boards/vme_vmivme7805.c if (retval) { retval 61 drivers/vme/boards/vme_vmivme7805.c retval = -EIO; retval 90 drivers/vme/boards/vme_vmivme7805.c return retval; retval 503 drivers/vme/bridges/vme_ca91cx42.c int retval = 0; retval 534 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 546 drivers/vme/bridges/vme_ca91cx42.c retval = pci_bus_alloc_resource(pdev->bus, retval 549 drivers/vme/bridges/vme_ca91cx42.c if (retval) { retval 561 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 573 drivers/vme/bridges/vme_ca91cx42.c return retval; retval 593 drivers/vme/bridges/vme_ca91cx42.c int retval = 0; retval 615 drivers/vme/bridges/vme_ca91cx42.c retval = -EINVAL; retval 621 drivers/vme/bridges/vme_ca91cx42.c retval = -EINVAL; retval 631 drivers/vme/bridges/vme_ca91cx42.c retval = ca91cx42_alloc_resource(image, size); retval 632 drivers/vme/bridges/vme_ca91cx42.c if (retval) { retval 636 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 679 drivers/vme/bridges/vme_ca91cx42.c retval = -EINVAL; retval 711 drivers/vme/bridges/vme_ca91cx42.c retval = -EINVAL; retval 743 drivers/vme/bridges/vme_ca91cx42.c return retval; retval 837 drivers/vme/bridges/vme_ca91cx42.c int retval; retval 841 drivers/vme/bridges/vme_ca91cx42.c retval = __ca91cx42_master_get(image, enabled, vme_base, size, aspace, retval 846 drivers/vme/bridges/vme_ca91cx42.c return retval; retval 852 drivers/vme/bridges/vme_ca91cx42.c ssize_t retval; retval 902 drivers/vme/bridges/vme_ca91cx42.c retval = count; retval 905 drivers/vme/bridges/vme_ca91cx42.c return retval; retval 911 drivers/vme/bridges/vme_ca91cx42.c ssize_t retval; retval 956 drivers/vme/bridges/vme_ca91cx42.c retval = count; retval 960 drivers/vme/bridges/vme_ca91cx42.c return retval; retval 1025 drivers/vme/bridges/vme_ca91cx42.c int retval = 0; retval 1033 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 1041 drivers/vme/bridges/vme_ca91cx42.c retval = -EINVAL; retval 1061 drivers/vme/bridges/vme_ca91cx42.c retval = -EINVAL; retval 1069 drivers/vme/bridges/vme_ca91cx42.c retval = -EINVAL; retval 1079 drivers/vme/bridges/vme_ca91cx42.c retval = -EINVAL; retval 1159 drivers/vme/bridges/vme_ca91cx42.c return retval; retval 1181 drivers/vme/bridges/vme_ca91cx42.c int retval; retval 1234 drivers/vme/bridges/vme_ca91cx42.c retval = wait_event_interruptible(bridge->dma_queue, retval 1237 drivers/vme/bridges/vme_ca91cx42.c if (retval) { retval 1243 drivers/vme/bridges/vme_ca91cx42.c retval = -EINTR; retval 1258 drivers/vme/bridges/vme_ca91cx42.c retval = -EIO; retval 1267 drivers/vme/bridges/vme_ca91cx42.c return retval; retval 1598 drivers/vme/bridges/vme_ca91cx42.c int retval, i; retval 1613 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 1620 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 1627 drivers/vme/bridges/vme_ca91cx42.c retval = pci_enable_device(pdev); retval 1628 drivers/vme/bridges/vme_ca91cx42.c if (retval) { retval 1634 drivers/vme/bridges/vme_ca91cx42.c retval = pci_request_regions(pdev, driver_name); retval 1635 drivers/vme/bridges/vme_ca91cx42.c if (retval) { retval 1645 drivers/vme/bridges/vme_ca91cx42.c retval = -EIO; retval 1653 drivers/vme/bridges/vme_ca91cx42.c retval = -EIO; retval 1667 drivers/vme/bridges/vme_ca91cx42.c retval = ca91cx42_irq_init(ca91cx42_bridge); retval 1668 drivers/vme/bridges/vme_ca91cx42.c if (retval != 0) { retval 1677 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 1700 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 1724 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 1742 drivers/vme/bridges/vme_ca91cx42.c retval = -ENOMEM; retval 1784 drivers/vme/bridges/vme_ca91cx42.c retval = vme_register_bridge(ca91cx42_bridge); retval 1785 drivers/vme/bridges/vme_ca91cx42.c if (retval != 0) { retval 1839 drivers/vme/bridges/vme_ca91cx42.c return retval; retval 255 drivers/vme/bridges/vme_fake.c int retval = 0; retval 267 drivers/vme/bridges/vme_fake.c retval = -EINVAL; retval 273 drivers/vme/bridges/vme_fake.c retval = -EINVAL; retval 279 drivers/vme/bridges/vme_fake.c retval = -EINVAL; retval 291 drivers/vme/bridges/vme_fake.c retval = -EINVAL; retval 309 drivers/vme/bridges/vme_fake.c retval = -EINVAL; retval 331 drivers/vme/bridges/vme_fake.c return retval; retval 364 drivers/vme/bridges/vme_fake.c int retval; retval 368 drivers/vme/bridges/vme_fake.c retval = __fake_master_get(image, enabled, vme_base, size, aspace, retval 373 drivers/vme/bridges/vme_fake.c return retval; retval 421 drivers/vme/bridges/vme_fake.c u8 retval = 0xff; retval 439 drivers/vme/bridges/vme_fake.c retval = *loc; retval 447 drivers/vme/bridges/vme_fake.c return retval; retval 454 drivers/vme/bridges/vme_fake.c u16 retval = 0xffff; retval 472 drivers/vme/bridges/vme_fake.c retval = *loc; retval 480 drivers/vme/bridges/vme_fake.c return retval; retval 487 drivers/vme/bridges/vme_fake.c u32 retval = 0xffffffff; retval 505 drivers/vme/bridges/vme_fake.c retval = *loc; retval 513 drivers/vme/bridges/vme_fake.c return retval; retval 519 drivers/vme/bridges/vme_fake.c int retval; retval 608 drivers/vme/bridges/vme_fake.c retval = count; retval 612 drivers/vme/bridges/vme_fake.c return retval; retval 711 drivers/vme/bridges/vme_fake.c int retval = 0; retval 798 drivers/vme/bridges/vme_fake.c retval = count; retval 802 drivers/vme/bridges/vme_fake.c return retval; retval 1066 drivers/vme/bridges/vme_fake.c int retval, i; retval 1082 drivers/vme/bridges/vme_fake.c retval = -ENOMEM; retval 1088 drivers/vme/bridges/vme_fake.c retval = -ENOMEM; retval 1111 drivers/vme/bridges/vme_fake.c retval = -ENOMEM; retval 1137 drivers/vme/bridges/vme_fake.c retval = -ENOMEM; retval 1159 drivers/vme/bridges/vme_fake.c retval = -ENOMEM; retval 1191 drivers/vme/bridges/vme_fake.c retval = fake_crcsr_init(fake_bridge); retval 1192 drivers/vme/bridges/vme_fake.c if (retval) { retval 1197 drivers/vme/bridges/vme_fake.c retval = vme_register_bridge(fake_bridge); retval 1198 drivers/vme/bridges/vme_fake.c if (retval != 0) { retval 1237 drivers/vme/bridges/vme_fake.c return retval; retval 720 drivers/vme/bridges/vme_tsi148.c int retval = 0; retval 750 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 762 drivers/vme/bridges/vme_tsi148.c retval = pci_bus_alloc_resource(pdev->bus, retval 765 drivers/vme/bridges/vme_tsi148.c if (retval) { retval 777 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 789 drivers/vme/bridges/vme_tsi148.c return retval; retval 811 drivers/vme/bridges/vme_tsi148.c int retval = 0; retval 833 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 840 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 850 drivers/vme/bridges/vme_tsi148.c retval = tsi148_alloc_resource(image, size); retval 851 drivers/vme/bridges/vme_tsi148.c if (retval) { retval 883 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 889 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 896 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 959 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 996 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 1040 drivers/vme/bridges/vme_tsi148.c return retval; retval 1163 drivers/vme/bridges/vme_tsi148.c int retval; retval 1167 drivers/vme/bridges/vme_tsi148.c retval = __tsi148_master_get(image, enabled, vme_base, size, aspace, retval 1172 drivers/vme/bridges/vme_tsi148.c return retval; retval 1178 drivers/vme/bridges/vme_tsi148.c int retval, enabled; retval 1243 drivers/vme/bridges/vme_tsi148.c retval = count; retval 1250 drivers/vme/bridges/vme_tsi148.c retval = handler->first_error - (vme_base + offset); retval 1257 drivers/vme/bridges/vme_tsi148.c return retval; retval 1264 drivers/vme/bridges/vme_tsi148.c int retval = 0, enabled; retval 1328 drivers/vme/bridges/vme_tsi148.c retval = count; retval 1348 drivers/vme/bridges/vme_tsi148.c retval = handler->first_error - (vme_base + offset); retval 1355 drivers/vme/bridges/vme_tsi148.c return retval; retval 1632 drivers/vme/bridges/vme_tsi148.c int retval = 0; retval 1640 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 1649 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 1694 drivers/vme/bridges/vme_tsi148.c retval = tsi148_dma_set_vme_src_attributes( retval 1697 drivers/vme/bridges/vme_tsi148.c if (retval < 0) retval 1702 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 1731 drivers/vme/bridges/vme_tsi148.c retval = tsi148_dma_set_vme_dest_attributes( retval 1734 drivers/vme/bridges/vme_tsi148.c if (retval < 0) retval 1739 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 1756 drivers/vme/bridges/vme_tsi148.c retval = -EINVAL; retval 1779 drivers/vme/bridges/vme_tsi148.c return retval; retval 1810 drivers/vme/bridges/vme_tsi148.c int channel, retval; retval 1860 drivers/vme/bridges/vme_tsi148.c retval = wait_event_interruptible(bridge->dma_queue[channel], retval 1863 drivers/vme/bridges/vme_tsi148.c if (retval) { retval 1869 drivers/vme/bridges/vme_tsi148.c retval = -EINTR; retval 1882 drivers/vme/bridges/vme_tsi148.c retval = -EIO; retval 1891 drivers/vme/bridges/vme_tsi148.c return retval; retval 2196 drivers/vme/bridges/vme_tsi148.c int retval; retval 2242 drivers/vme/bridges/vme_tsi148.c retval = tsi148_master_set(bridge->flush_image, 1, retval 2245 drivers/vme/bridges/vme_tsi148.c if (retval) retval 2277 drivers/vme/bridges/vme_tsi148.c int retval, i, master_num; retval 2292 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 2299 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 2306 drivers/vme/bridges/vme_tsi148.c retval = pci_enable_device(pdev); retval 2307 drivers/vme/bridges/vme_tsi148.c if (retval) { retval 2313 drivers/vme/bridges/vme_tsi148.c retval = pci_request_regions(pdev, driver_name); retval 2314 drivers/vme/bridges/vme_tsi148.c if (retval) { retval 2324 drivers/vme/bridges/vme_tsi148.c retval = -EIO; retval 2332 drivers/vme/bridges/vme_tsi148.c retval = -EIO; retval 2347 drivers/vme/bridges/vme_tsi148.c retval = tsi148_irq_init(tsi148_bridge); retval 2348 drivers/vme/bridges/vme_tsi148.c if (retval != 0) { retval 2366 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 2382 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 2408 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 2429 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 2449 drivers/vme/bridges/vme_tsi148.c retval = -ENOMEM; retval 2492 drivers/vme/bridges/vme_tsi148.c retval = tsi148_crcsr_init(tsi148_bridge, pdev); retval 2493 drivers/vme/bridges/vme_tsi148.c if (retval) { retval 2498 drivers/vme/bridges/vme_tsi148.c retval = vme_register_bridge(tsi148_bridge); retval 2499 drivers/vme/bridges/vme_tsi148.c if (retval != 0) { retval 2560 drivers/vme/bridges/vme_tsi148.c return retval; retval 169 drivers/vme/vme.c int enabled, retval; retval 176 drivers/vme/vme.c retval = vme_master_get(resource, &enabled, &base, &size, retval 178 drivers/vme/vme.c if (retval) retval 184 drivers/vme/vme.c retval = vme_slave_get(resource, &enabled, &base, &size, retval 186 drivers/vme/vme.c if (retval) retval 205 drivers/vme/vme.c int retval = 0; retval 213 drivers/vme/vme.c retval = -EFAULT; retval 217 drivers/vme/vme.c retval = -EFAULT; retval 221 drivers/vme/vme.c retval = -EFAULT; retval 228 drivers/vme/vme.c retval = -EFAULT; retval 238 drivers/vme/vme.c retval = -EINVAL; retval 242 drivers/vme/vme.c return retval; retval 376 drivers/vme/vme.c int retval; retval 396 drivers/vme/vme.c retval = vme_check_window(aspace, vme_base, size); retval 397 drivers/vme/vme.c if (retval) retval 398 drivers/vme/vme.c return retval; retval 580 drivers/vme/vme.c int retval; retval 601 drivers/vme/vme.c retval = vme_check_window(aspace, vme_base, size); retval 602 drivers/vme/vme.c if (retval) retval 603 drivers/vme/vme.c return retval; retval 1122 drivers/vme/vme.c int retval; retval 1134 drivers/vme/vme.c retval = bridge->dma_list_add(list, src, dest, count); retval 1138 drivers/vme/vme.c return retval; retval 1155 drivers/vme/vme.c int retval; retval 1164 drivers/vme/vme.c retval = bridge->dma_list_exec(list); retval 1168 drivers/vme/vme.c return retval; retval 1184 drivers/vme/vme.c int retval; retval 1200 drivers/vme/vme.c retval = bridge->dma_list_empty(list); retval 1201 drivers/vme/vme.c if (retval) { retval 1204 drivers/vme/vme.c return retval; retval 1209 drivers/vme/vme.c return retval; retval 391 drivers/w1/masters/ds2482.c u8 retval = 1; retval 405 drivers/w1/masters/ds2482.c retval = !(err & DS2482_REG_STS_PPD); retval 415 drivers/w1/masters/ds2482.c return retval; retval 422 drivers/w1/masters/ds2482.c u8 retval = 1; retval 435 drivers/w1/masters/ds2482.c retval = ds2482_send_cmd_data(pdev, DS2482_CMD_WRITE_CONFIG, retval 441 drivers/w1/masters/ds2482.c return retval; retval 1181 drivers/w1/w1.c int retval; retval 1187 drivers/w1/w1.c retval = bus_register(&w1_bus_type); retval 1188 drivers/w1/w1.c if (retval) { retval 1189 drivers/w1/w1.c pr_err("Failed to register bus. err=%d.\n", retval); retval 1193 drivers/w1/w1.c retval = driver_register(&w1_master_driver); retval 1194 drivers/w1/w1.c if (retval) { retval 1196 drivers/w1/w1.c retval); retval 1200 drivers/w1/w1.c retval = driver_register(&w1_slave_driver); retval 1201 drivers/w1/w1.c if (retval) { retval 1203 drivers/w1/w1.c retval); retval 1222 drivers/w1/w1.c return retval; retval 96 drivers/w1/w1_int.c int retval = 0; retval 130 drivers/w1/w1_int.c retval = w1_create_master_attributes(dev); retval 131 drivers/w1/w1_int.c if (retval) { retval 142 drivers/w1/w1_int.c retval = PTR_ERR(dev->thread); retval 145 drivers/w1/w1_int.c retval); retval 170 drivers/w1/w1_int.c return retval; retval 200 drivers/w1/w1_io.c u8 retval; retval 207 drivers/w1/w1_io.c retval = bdir ? 0x04 : 0; retval 211 drivers/w1/w1_io.c retval = id_bit ? 0x05 : 0x02; retval 218 drivers/w1/w1_io.c return retval; retval 146 drivers/watchdog/acquirewdt.c int options, retval = -EINVAL; retval 169 drivers/watchdog/acquirewdt.c retval = 0; retval 173 drivers/watchdog/acquirewdt.c retval = 0; retval 175 drivers/watchdog/acquirewdt.c return retval; retval 156 drivers/watchdog/advantechwdt.c int options, retval = -EINVAL; retval 162 drivers/watchdog/advantechwdt.c retval = 0; retval 166 drivers/watchdog/advantechwdt.c retval = 0; retval 168 drivers/watchdog/advantechwdt.c return retval; retval 197 drivers/watchdog/alim1535_wdt.c int new_options, retval = -EINVAL; retval 203 drivers/watchdog/alim1535_wdt.c retval = 0; retval 207 drivers/watchdog/alim1535_wdt.c retval = 0; retval 209 drivers/watchdog/alim1535_wdt.c return retval; retval 253 drivers/watchdog/alim7101_wdt.c int new_options, retval = -EINVAL; retval 259 drivers/watchdog/alim7101_wdt.c retval = 0; retval 263 drivers/watchdog/alim7101_wdt.c retval = 0; retval 265 drivers/watchdog/alim7101_wdt.c return retval; retval 171 drivers/watchdog/bcm63xx_wdt.c int new_value, retval = -EINVAL; retval 188 drivers/watchdog/bcm63xx_wdt.c retval = 0; retval 192 drivers/watchdog/bcm63xx_wdt.c retval = 0; retval 195 drivers/watchdog/bcm63xx_wdt.c return retval; retval 245 drivers/watchdog/eurotechwdt.c int options, retval = -EINVAL; retval 261 drivers/watchdog/eurotechwdt.c retval = 0; retval 266 drivers/watchdog/eurotechwdt.c retval = 0; retval 269 drivers/watchdog/eurotechwdt.c return retval; retval 241 drivers/watchdog/hpwdt.c int retval; retval 245 drivers/watchdog/hpwdt.c retval = register_nmi_handler(NMI_UNKNOWN, hpwdt_pretimeout, 0, "hpwdt"); retval 246 drivers/watchdog/hpwdt.c if (retval) retval 248 drivers/watchdog/hpwdt.c retval = register_nmi_handler(NMI_SERR, hpwdt_pretimeout, 0, "hpwdt"); retval 249 drivers/watchdog/hpwdt.c if (retval) retval 251 drivers/watchdog/hpwdt.c retval = register_nmi_handler(NMI_IO_CHECK, hpwdt_pretimeout, 0, "hpwdt"); retval 252 drivers/watchdog/hpwdt.c if (retval) retval 267 drivers/watchdog/hpwdt.c retval); retval 268 drivers/watchdog/hpwdt.c return retval; retval 285 drivers/watchdog/hpwdt.c int retval; retval 315 drivers/watchdog/hpwdt.c retval = -ENOMEM; retval 329 drivers/watchdog/hpwdt.c retval = hpwdt_init_nmi_decoding(dev); retval 330 drivers/watchdog/hpwdt.c if (retval != 0) retval 345 drivers/watchdog/hpwdt.c retval = watchdog_register_device(&hpwdt_dev); retval 346 drivers/watchdog/hpwdt.c if (retval < 0) retval 368 drivers/watchdog/hpwdt.c return retval; retval 192 drivers/watchdog/ib700wdt.c int options, retval = -EINVAL; retval 199 drivers/watchdog/ib700wdt.c retval = 0; retval 203 drivers/watchdog/ib700wdt.c retval = 0; retval 205 drivers/watchdog/ib700wdt.c return retval; retval 289 drivers/watchdog/ibmasr.c int new_options, retval = -EINVAL; retval 294 drivers/watchdog/ibmasr.c retval = 0; retval 299 drivers/watchdog/ibmasr.c retval = 0; retval 301 drivers/watchdog/ibmasr.c return retval; retval 101 drivers/watchdog/indydog.c int options, retval = -EINVAL; retval 123 drivers/watchdog/indydog.c retval = 0; retval 127 drivers/watchdog/indydog.c retval = 0; retval 129 drivers/watchdog/indydog.c return retval; retval 213 drivers/watchdog/nv_tco.c int new_options, retval = -EINVAL; retval 236 drivers/watchdog/nv_tco.c retval = 0; retval 241 drivers/watchdog/nv_tco.c retval = 0; retval 243 drivers/watchdog/nv_tco.c return retval; retval 408 drivers/watchdog/pc87413_wdt.c int options, retval = -EINVAL; retval 413 drivers/watchdog/pc87413_wdt.c retval = 0; retval 417 drivers/watchdog/pc87413_wdt.c retval = 0; retval 419 drivers/watchdog/pc87413_wdt.c return retval; retval 811 drivers/watchdog/pcwd.c int retval; retval 821 drivers/watchdog/pcwd.c retval = 0; retval 840 drivers/watchdog/pcwd.c retval = 1; retval 847 drivers/watchdog/pcwd.c return retval; retval 504 drivers/watchdog/pcwd_pci.c int new_options, retval = -EINVAL; retval 512 drivers/watchdog/pcwd_pci.c retval = 0; retval 518 drivers/watchdog/pcwd_pci.c retval = 0; retval 523 drivers/watchdog/pcwd_pci.c retval = 0; retval 526 drivers/watchdog/pcwd_pci.c return retval; retval 171 drivers/watchdog/pcwd_usb.c int retval; retval 201 drivers/watchdog/pcwd_usb.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 202 drivers/watchdog/pcwd_usb.c if (retval) retval 204 drivers/watchdog/pcwd_usb.c retval); retval 268 drivers/watchdog/pcwd_usb.c int retval; retval 271 drivers/watchdog/pcwd_usb.c retval = usb_pcwd_send_command(usb_pcwd, CMD_ENABLE_WATCHDOG, retval 274 drivers/watchdog/pcwd_usb.c if ((retval == 0) || (lsb == 0)) { retval 286 drivers/watchdog/pcwd_usb.c int retval; retval 289 drivers/watchdog/pcwd_usb.c retval = usb_pcwd_send_command(usb_pcwd, CMD_DISABLE_WATCHDOG, retval 292 drivers/watchdog/pcwd_usb.c if ((retval == 0) || (lsb != 0)) { retval 421 drivers/watchdog/pcwd_usb.c int new_options, retval = -EINVAL; retval 428 drivers/watchdog/pcwd_usb.c retval = 0; retval 433 drivers/watchdog/pcwd_usb.c retval = 0; retval 436 drivers/watchdog/pcwd_usb.c return retval; retval 607 drivers/watchdog/pcwd_usb.c int retval = -ENOMEM; retval 680 drivers/watchdog/pcwd_usb.c retval = -EIO; /* failure */ retval 721 drivers/watchdog/pcwd_usb.c retval = register_reboot_notifier(&usb_pcwd_notifier); retval 722 drivers/watchdog/pcwd_usb.c if (retval != 0) { retval 723 drivers/watchdog/pcwd_usb.c pr_err("cannot register reboot notifier (err=%d)\n", retval); retval 727 drivers/watchdog/pcwd_usb.c retval = misc_register(&usb_pcwd_temperature_miscdev); retval 728 drivers/watchdog/pcwd_usb.c if (retval != 0) { retval 730 drivers/watchdog/pcwd_usb.c TEMP_MINOR, retval); retval 734 drivers/watchdog/pcwd_usb.c retval = misc_register(&usb_pcwd_miscdev); retval 735 drivers/watchdog/pcwd_usb.c if (retval != 0) { retval 737 drivers/watchdog/pcwd_usb.c WATCHDOG_MINOR, retval); retval 757 drivers/watchdog/pcwd_usb.c return retval; retval 240 drivers/watchdog/sbc60xxwdt.c int new_options, retval = -EINVAL; retval 245 drivers/watchdog/sbc60xxwdt.c retval = 0; retval 249 drivers/watchdog/sbc60xxwdt.c retval = 0; retval 251 drivers/watchdog/sbc60xxwdt.c return retval; retval 168 drivers/watchdog/sbc7240_wdt.c int retval = -EINVAL; retval 175 drivers/watchdog/sbc7240_wdt.c retval = 0; retval 180 drivers/watchdog/sbc7240_wdt.c retval = 0; retval 183 drivers/watchdog/sbc7240_wdt.c return retval; retval 104 drivers/watchdog/sbc_epx_c3.c int options, retval = -EINVAL; retval 126 drivers/watchdog/sbc_epx_c3.c retval = 0; retval 131 drivers/watchdog/sbc_epx_c3.c retval = 0; retval 134 drivers/watchdog/sbc_epx_c3.c return retval; retval 207 drivers/watchdog/sc1200wdt.c int options, retval = -EINVAL; retval 214 drivers/watchdog/sc1200wdt.c retval = 0; retval 219 drivers/watchdog/sc1200wdt.c retval = 0; retval 222 drivers/watchdog/sc1200wdt.c return retval; retval 292 drivers/watchdog/sc520_wdt.c int new_options, retval = -EINVAL; retval 299 drivers/watchdog/sc520_wdt.c retval = 0; retval 304 drivers/watchdog/sc520_wdt.c retval = 0; retval 307 drivers/watchdog/sc520_wdt.c return retval; retval 274 drivers/watchdog/sch311x_wdt.c int options, retval = -EINVAL; retval 280 drivers/watchdog/sch311x_wdt.c retval = 0; retval 284 drivers/watchdog/sch311x_wdt.c retval = 0; retval 286 drivers/watchdog/sch311x_wdt.c return retval; retval 449 drivers/watchdog/smsc37b787_wdt.c int options, retval = -EINVAL; retval 456 drivers/watchdog/smsc37b787_wdt.c retval = 0; retval 460 drivers/watchdog/smsc37b787_wdt.c retval = 0; retval 462 drivers/watchdog/smsc37b787_wdt.c return retval; retval 258 drivers/watchdog/w83877f_wdt.c int new_options, retval = -EINVAL; retval 265 drivers/watchdog/w83877f_wdt.c retval = 0; retval 270 drivers/watchdog/w83877f_wdt.c retval = 0; retval 273 drivers/watchdog/w83877f_wdt.c return retval; retval 376 drivers/watchdog/w83977f_wdt.c int new_options, retval = -EINVAL; retval 403 drivers/watchdog/w83977f_wdt.c retval = 0; retval 408 drivers/watchdog/w83977f_wdt.c retval = 0; retval 411 drivers/watchdog/w83977f_wdt.c return retval; retval 147 drivers/watchdog/wafer5823wdt.c int options, retval = -EINVAL; retval 154 drivers/watchdog/wafer5823wdt.c retval = 0; retval 159 drivers/watchdog/wafer5823wdt.c retval = 0; retval 162 drivers/watchdog/wafer5823wdt.c return retval; retval 115 drivers/watchdog/wdat_wdt.c u32 param, u32 *retval) retval 149 drivers/watchdog/wdat_wdt.c if (retval) retval 150 drivers/watchdog/wdat_wdt.c *retval = x == value; retval 159 drivers/watchdog/wdat_wdt.c if (retval) retval 160 drivers/watchdog/wdat_wdt.c *retval = x; retval 196 drivers/watchdog/wdt285.c int retval; retval 201 drivers/watchdog/wdt285.c retval = misc_register(&watchdog_miscdev); retval 202 drivers/watchdog/wdt285.c if (retval < 0) retval 203 drivers/watchdog/wdt285.c return retval; retval 352 drivers/watchdog/wdt977.c int new_options, retval = -EINVAL; retval 379 drivers/watchdog/wdt977.c retval = 0; retval 384 drivers/watchdog/wdt977.c retval = 0; retval 387 drivers/watchdog/wdt977.c return retval; retval 1027 drivers/xen/events/events_base.c int irq, retval; retval 1032 drivers/xen/events/events_base.c retval = request_irq(irq, handler, irqflags, devname, dev_id); retval 1033 drivers/xen/events/events_base.c if (retval != 0) { retval 1035 drivers/xen/events/events_base.c return retval; retval 1049 drivers/xen/events/events_base.c int irq, retval; retval 1055 drivers/xen/events/events_base.c retval = request_irq(irq, handler, irqflags, devname, dev_id); retval 1056 drivers/xen/events/events_base.c if (retval != 0) { retval 1058 drivers/xen/events/events_base.c return retval; retval 1069 drivers/xen/events/events_base.c int irq, retval; retval 1074 drivers/xen/events/events_base.c retval = request_irq(irq, handler, irqflags, devname, dev_id); retval 1075 drivers/xen/events/events_base.c if (retval != 0) { retval 1077 drivers/xen/events/events_base.c return retval; retval 1091 drivers/xen/events/events_base.c int irq, retval; retval 1098 drivers/xen/events/events_base.c retval = request_irq(irq, handler, irqflags, devname, dev_id); retval 1099 drivers/xen/events/events_base.c if (retval != 0) { retval 1101 drivers/xen/events/events_base.c return retval; retval 58 fs/9p/acl.c int retval = 0; retval 77 fs/9p/acl.c retval = -EIO; retval 85 fs/9p/acl.c return retval; retval 119 fs/9p/acl.c int retval; retval 131 fs/9p/acl.c retval = posix_acl_to_xattr(&init_user_ns, acl, buffer, size); retval 132 fs/9p/acl.c if (retval < 0) retval 144 fs/9p/acl.c retval = v9fs_fid_xattr_set(fid, name, buffer, size, 0); retval 147 fs/9p/acl.c return retval; retval 152 fs/9p/acl.c int retval = 0; retval 159 fs/9p/acl.c retval = __posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode); retval 160 fs/9p/acl.c if (retval) retval 161 fs/9p/acl.c return retval; retval 163 fs/9p/acl.c retval = v9fs_set_acl(fid, ACL_TYPE_ACCESS, acl); retval 166 fs/9p/acl.c return retval; retval 189 fs/9p/acl.c int retval = 0; retval 203 fs/9p/acl.c retval = __posix_acl_create(&acl, GFP_NOFS, &mode); retval 204 fs/9p/acl.c if (retval < 0) retval 205 fs/9p/acl.c return retval; retval 206 fs/9p/acl.c if (retval > 0) retval 246 fs/9p/acl.c int retval; retval 269 fs/9p/acl.c retval = posix_acl_valid(inode->i_sb->s_user_ns, acl); retval 270 fs/9p/acl.c if (retval) retval 282 fs/9p/acl.c retval = posix_acl_update_mode(inode, &iattr.ia_mode, &acl); retval 283 fs/9p/acl.c if (retval) retval 305 fs/9p/acl.c retval = acl ? -EINVAL : 0; retval 312 fs/9p/acl.c retval = v9fs_xattr_set(dentry, handler->name, value, size, flags); retval 313 fs/9p/acl.c if (!retval) retval 317 fs/9p/acl.c return retval; retval 44 fs/9p/vfs_addr.c int retval, err; retval 50 fs/9p/vfs_addr.c retval = v9fs_readpage_from_fscache(inode, page); retval 51 fs/9p/vfs_addr.c if (retval == 0) retval 52 fs/9p/vfs_addr.c return retval; retval 56 fs/9p/vfs_addr.c retval = p9_client_read(fid, page_offset(page), &to, &err); retval 59 fs/9p/vfs_addr.c retval = err; retval 63 fs/9p/vfs_addr.c zero_user(page, retval, PAGE_SIZE - retval); retval 68 fs/9p/vfs_addr.c retval = 0; retval 72 fs/9p/vfs_addr.c return retval; retval 180 fs/9p/vfs_addr.c int retval; retval 184 fs/9p/vfs_addr.c retval = v9fs_vfs_writepage_locked(page); retval 185 fs/9p/vfs_addr.c if (retval < 0) { retval 186 fs/9p/vfs_addr.c if (retval == -EAGAIN) { retval 188 fs/9p/vfs_addr.c retval = 0; retval 191 fs/9p/vfs_addr.c mapping_set_error(page->mapping, retval); retval 194 fs/9p/vfs_addr.c retval = 0; retval 197 fs/9p/vfs_addr.c return retval; retval 207 fs/9p/vfs_addr.c int retval; retval 212 fs/9p/vfs_addr.c retval = v9fs_vfs_writepage_locked(page); retval 213 fs/9p/vfs_addr.c if (retval) retval 214 fs/9p/vfs_addr.c return retval; retval 259 fs/9p/vfs_addr.c int retval = 0; retval 272 fs/9p/vfs_addr.c retval = -ENOMEM; retval 282 fs/9p/vfs_addr.c retval = v9fs_fid_readpage(v9inode->writeback_fid, page); retval 284 fs/9p/vfs_addr.c if (!retval) retval 288 fs/9p/vfs_addr.c return retval; retval 77 fs/9p/vfs_dentry.c int retval; retval 85 fs/9p/vfs_dentry.c retval = v9fs_refresh_inode_dotl(fid, inode); retval 87 fs/9p/vfs_dentry.c retval = v9fs_refresh_inode(fid, inode); retval 88 fs/9p/vfs_dentry.c if (retval == -ENOENT) retval 90 fs/9p/vfs_dentry.c if (retval < 0) retval 91 fs/9p/vfs_dentry.c return retval; retval 411 fs/9p/vfs_file.c ssize_t retval; retval 415 fs/9p/vfs_file.c retval = generic_write_checks(iocb, from); retval 416 fs/9p/vfs_file.c if (retval <= 0) retval 417 fs/9p/vfs_file.c return retval; retval 420 fs/9p/vfs_file.c retval = p9_client_write(file->private_data, iocb->ki_pos, from, &err); retval 421 fs/9p/vfs_file.c if (retval > 0) { retval 426 fs/9p/vfs_file.c pg_end = (origin + retval - 1) >> PAGE_SHIFT; retval 430 fs/9p/vfs_file.c iocb->ki_pos += retval; retval 440 fs/9p/vfs_file.c return retval; retval 451 fs/9p/vfs_file.c int retval; retval 453 fs/9p/vfs_file.c retval = file_write_and_wait_range(filp, start, end); retval 454 fs/9p/vfs_file.c if (retval) retval 455 fs/9p/vfs_file.c return retval; retval 463 fs/9p/vfs_file.c retval = p9_client_wstat(fid, &wstat); retval 466 fs/9p/vfs_file.c return retval; retval 474 fs/9p/vfs_file.c int retval; retval 476 fs/9p/vfs_file.c retval = file_write_and_wait_range(filp, start, end); retval 477 fs/9p/vfs_file.c if (retval) retval 478 fs/9p/vfs_file.c return retval; retval 485 fs/9p/vfs_file.c retval = p9_client_fsync(fid, datasync); retval 488 fs/9p/vfs_file.c return retval; retval 494 fs/9p/vfs_file.c int retval; retval 497 fs/9p/vfs_file.c retval = generic_file_mmap(filp, vma); retval 498 fs/9p/vfs_file.c if (!retval) retval 501 fs/9p/vfs_file.c return retval; retval 507 fs/9p/vfs_file.c int retval; retval 527 fs/9p/vfs_file.c retval = PTR_ERR(fid); retval 529 fs/9p/vfs_file.c return retval; retval 535 fs/9p/vfs_file.c retval = generic_file_mmap(filp, vma); retval 536 fs/9p/vfs_file.c if (!retval) retval 539 fs/9p/vfs_file.c return retval; retval 491 fs/9p/vfs_inode.c int retval; retval 516 fs/9p/vfs_inode.c retval = v9fs_init_inode(v9ses, inode, umode, rdev); retval 517 fs/9p/vfs_inode.c if (retval) retval 526 fs/9p/vfs_inode.c return ERR_PTR(retval); retval 589 fs/9p/vfs_inode.c int retval = -EOPNOTSUPP; retval 600 fs/9p/vfs_inode.c retval = PTR_ERR(dfid); retval 601 fs/9p/vfs_inode.c p9_debug(P9_DEBUG_VFS, "fid lookup failed %d\n", retval); retval 602 fs/9p/vfs_inode.c return retval; retval 605 fs/9p/vfs_inode.c retval = p9_client_unlinkat(dfid, dentry->d_name.name, retval 607 fs/9p/vfs_inode.c if (retval == -EOPNOTSUPP) { retval 612 fs/9p/vfs_inode.c retval = p9_client_remove(v9fid); retval 614 fs/9p/vfs_inode.c if (!retval) { retval 628 fs/9p/vfs_inode.c return retval; retval 955 fs/9p/vfs_inode.c int retval; retval 968 fs/9p/vfs_inode.c retval = 0; retval 978 fs/9p/vfs_inode.c retval = PTR_ERR(olddirfid); retval 984 fs/9p/vfs_inode.c retval = PTR_ERR(newdirfid); retval 990 fs/9p/vfs_inode.c retval = p9_client_renameat(olddirfid, old_dentry->d_name.name, retval 992 fs/9p/vfs_inode.c if (retval == -EOPNOTSUPP) retval 993 fs/9p/vfs_inode.c retval = p9_client_rename(oldfid, newdirfid, retval 995 fs/9p/vfs_inode.c if (retval != -EOPNOTSUPP) retval 1004 fs/9p/vfs_inode.c retval = -EXDEV; retval 1010 fs/9p/vfs_inode.c retval = p9_client_wstat(oldfid, &wstat); retval 1013 fs/9p/vfs_inode.c if (!retval) { retval 1039 fs/9p/vfs_inode.c return retval; retval 1091 fs/9p/vfs_inode.c int retval; retval 1097 fs/9p/vfs_inode.c retval = setattr_prepare(dentry, iattr); retval 1098 fs/9p/vfs_inode.c if (retval) retval 1099 fs/9p/vfs_inode.c return retval; retval 1101 fs/9p/vfs_inode.c retval = -EPERM; retval 1132 fs/9p/vfs_inode.c retval = p9_client_wstat(fid, &wstat); retval 1133 fs/9p/vfs_inode.c if (retval < 0) retval 1134 fs/9p/vfs_inode.c return retval; retval 1340 fs/9p/vfs_inode.c int retval; retval 1352 fs/9p/vfs_inode.c retval = v9fs_vfs_mkspecial(dir, dentry, P9_DMLINK, name); retval 1353 fs/9p/vfs_inode.c if (!retval) { retval 1358 fs/9p/vfs_inode.c return retval; retval 1374 fs/9p/vfs_inode.c int retval; retval 1391 fs/9p/vfs_inode.c retval = v9fs_vfs_mkspecial(dir, dentry, perm, name); retval 1393 fs/9p/vfs_inode.c return retval; retval 103 fs/9p/vfs_inode_dotl.c int retval; retval 126 fs/9p/vfs_inode_dotl.c retval = v9fs_init_inode(v9ses, inode, retval 128 fs/9p/vfs_inode_dotl.c if (retval) retval 133 fs/9p/vfs_inode_dotl.c retval = v9fs_get_acl(inode, fid); retval 134 fs/9p/vfs_inode_dotl.c if (retval) retval 141 fs/9p/vfs_inode_dotl.c return ERR_PTR(retval); retval 542 fs/9p/vfs_inode_dotl.c int retval; retval 549 fs/9p/vfs_inode_dotl.c retval = setattr_prepare(dentry, iattr); retval 550 fs/9p/vfs_inode_dotl.c if (retval) retval 551 fs/9p/vfs_inode_dotl.c return retval; retval 571 fs/9p/vfs_inode_dotl.c retval = p9_client_setattr(fid, &p9attr); retval 572 fs/9p/vfs_inode_dotl.c if (retval < 0) retval 573 fs/9p/vfs_inode_dotl.c return retval; retval 584 fs/9p/vfs_inode_dotl.c retval = v9fs_acl_chmod(inode, fid); retval 585 fs/9p/vfs_inode_dotl.c if (retval < 0) retval 586 fs/9p/vfs_inode_dotl.c return retval; retval 901 fs/9p/vfs_inode_dotl.c int retval; retval 911 fs/9p/vfs_inode_dotl.c retval = p9_client_readlink(fid, &target); retval 912 fs/9p/vfs_inode_dotl.c if (retval) retval 913 fs/9p/vfs_inode_dotl.c return ERR_PTR(retval); retval 116 fs/9p/vfs_super.c int retval = 0; retval 126 fs/9p/vfs_super.c retval = PTR_ERR(fid); retval 132 fs/9p/vfs_super.c retval = PTR_ERR(sb); retval 135 fs/9p/vfs_super.c retval = v9fs_fill_super(sb, v9ses, flags); retval 136 fs/9p/vfs_super.c if (retval) retval 146 fs/9p/vfs_super.c retval = PTR_ERR(inode); retval 152 fs/9p/vfs_super.c retval = -ENOMEM; retval 160 fs/9p/vfs_super.c retval = PTR_ERR(st); retval 170 fs/9p/vfs_super.c retval = PTR_ERR(st); retval 180 fs/9p/vfs_super.c retval = v9fs_get_acl(inode, fid); retval 181 fs/9p/vfs_super.c if (retval) retval 193 fs/9p/vfs_super.c return ERR_PTR(retval); retval 204 fs/9p/vfs_super.c return ERR_PTR(retval); retval 28 fs/9p/xattr.c ssize_t retval; retval 39 fs/9p/xattr.c retval = PTR_ERR(attr_fid); retval 41 fs/9p/xattr.c retval); retval 42 fs/9p/xattr.c return retval; retval 46 fs/9p/xattr.c retval = attr_size; retval 48 fs/9p/xattr.c retval = -ERANGE; retval 51 fs/9p/xattr.c retval = p9_client_read(attr_fid, 0, &to, &err); retval 53 fs/9p/xattr.c retval = err; retval 56 fs/9p/xattr.c return retval; retval 108 fs/9p/xattr.c int retval, err; retval 123 fs/9p/xattr.c retval = p9_client_xattrcreate(fid, name, value_len, flags); retval 124 fs/9p/xattr.c if (retval < 0) retval 126 fs/9p/xattr.c retval); retval 128 fs/9p/xattr.c p9_client_write(fid, 0, &from, &retval); retval 130 fs/9p/xattr.c if (!retval && err) retval 131 fs/9p/xattr.c retval = err; retval 132 fs/9p/xattr.c return retval; retval 81 fs/affs/amigaffs.c int offset, retval; retval 93 fs/affs/amigaffs.c retval = -ENOENT; retval 105 fs/affs/amigaffs.c retval = 0; retval 121 fs/affs/amigaffs.c return retval; retval 148 fs/affs/amigaffs.c int retval; retval 151 fs/affs/amigaffs.c retval = -EIO; retval 168 fs/affs/amigaffs.c retval = PTR_ERR(dir); retval 178 fs/affs/amigaffs.c retval = affs_remove_hash(dir, link_bh); retval 179 fs/affs/amigaffs.c if (retval) { retval 186 fs/affs/amigaffs.c retval = affs_insert_hash(dir, bh); retval 187 fs/affs/amigaffs.c if (retval) { retval 207 fs/affs/amigaffs.c retval = 0; retval 225 fs/affs/amigaffs.c retval = -ENOENT; retval 229 fs/affs/amigaffs.c return retval; retval 238 fs/affs/amigaffs.c int retval, size; retval 240 fs/affs/amigaffs.c retval = -EIO; retval 245 fs/affs/amigaffs.c retval = -ENOTEMPTY; retval 249 fs/affs/amigaffs.c retval = 0; retval 253 fs/affs/amigaffs.c return retval; retval 272 fs/affs/amigaffs.c int retval; retval 277 fs/affs/amigaffs.c retval = -ENOENT; retval 283 fs/affs/amigaffs.c retval = -EIO; retval 297 fs/affs/amigaffs.c retval = affs_empty_dir(inode); retval 299 fs/affs/amigaffs.c if (retval) retval 306 fs/affs/amigaffs.c retval = affs_remove_hash(dir, bh); retval 307 fs/affs/amigaffs.c if (retval) retval 314 fs/affs/amigaffs.c retval = affs_remove_link(dentry); retval 323 fs/affs/amigaffs.c return retval; retval 356 fs/affs/inode.c int retval; retval 361 fs/affs/inode.c retval = -EIO; retval 370 fs/affs/inode.c retval = -ENOSPC; retval 374 fs/affs/inode.c retval = -EIO; retval 406 fs/affs/inode.c retval = affs_insert_hash(dir, bh); retval 415 fs/affs/inode.c return retval; retval 50 fs/affs/namei.c int retval; retval 53 fs/affs/namei.c retval = affs_check_name(qstr->name, qstr->len, notruncate); retval 54 fs/affs/namei.c if (retval) retval 55 fs/affs/namei.c return retval; retval 407 fs/affs/namei.c int retval; retval 409 fs/affs/namei.c retval = affs_check_name(new_dentry->d_name.name, retval 413 fs/affs/namei.c if (retval) retval 414 fs/affs/namei.c return retval; retval 418 fs/affs/namei.c retval = affs_remove_header(new_dentry); retval 419 fs/affs/namei.c if (retval) retval 420 fs/affs/namei.c return retval; retval 429 fs/affs/namei.c retval = affs_remove_hash(old_dir, bh); retval 431 fs/affs/namei.c if (retval) retval 438 fs/affs/namei.c retval = affs_insert_hash(new_dir, bh); retval 443 fs/affs/namei.c mark_buffer_dirty_inode(bh, retval ? old_dir : new_dir); retval 445 fs/affs/namei.c return retval; retval 456 fs/affs/namei.c int retval; retval 468 fs/affs/namei.c retval = affs_remove_hash(old_dir, bh_old); retval 470 fs/affs/namei.c if (retval) retval 475 fs/affs/namei.c retval = affs_remove_hash(new_dir, bh_new); retval 477 fs/affs/namei.c if (retval) retval 484 fs/affs/namei.c retval = affs_insert_hash(new_dir, bh_old); retval 491 fs/affs/namei.c retval = affs_insert_hash(old_dir, bh_new); retval 498 fs/affs/namei.c return retval; retval 124 fs/binfmt_aout.c int retval; retval 154 fs/binfmt_aout.c retval = flush_old_exec(bprm); retval 155 fs/binfmt_aout.c if (retval) retval 156 fs/binfmt_aout.c return retval; retval 173 fs/binfmt_aout.c retval = setup_arg_pages(bprm, STACK_TOP, EXSTACK_DEFAULT); retval 174 fs/binfmt_aout.c if (retval < 0) retval 175 fs/binfmt_aout.c return retval; retval 242 fs/binfmt_aout.c retval = set_brk(current->mm->start_brk, current->mm->brk); retval 243 fs/binfmt_aout.c if (retval < 0) retval 244 fs/binfmt_aout.c return retval; retval 261 fs/binfmt_aout.c int retval; retval 267 fs/binfmt_aout.c retval = -ENOEXEC; retval 301 fs/binfmt_aout.c retval = vm_brk(start_addr, ex.a_text + ex.a_data + ex.a_bss); retval 302 fs/binfmt_aout.c if (retval) retval 307 fs/binfmt_aout.c retval = 0; retval 315 fs/binfmt_aout.c retval = error; retval 322 fs/binfmt_aout.c retval = vm_brk(start_addr + len, bss - len); retval 323 fs/binfmt_aout.c if (retval) retval 326 fs/binfmt_aout.c retval = 0; retval 328 fs/binfmt_aout.c return retval; retval 420 fs/binfmt_elf.c int retval, err = -1; retval 442 fs/binfmt_elf.c retval = kernel_read(elf_file, elf_phdata, size, &pos); retval 443 fs/binfmt_elf.c if (retval != size) { retval 444 fs/binfmt_elf.c err = (retval < 0) ? retval : -EIO; retval 682 fs/binfmt_elf.c int retval, i; retval 697 fs/binfmt_elf.c retval = -ENOMEM; retval 704 fs/binfmt_elf.c retval = -ENOEXEC; retval 734 fs/binfmt_elf.c retval = -ENOEXEC; retval 738 fs/binfmt_elf.c retval = -ENOMEM; retval 744 fs/binfmt_elf.c retval = kernel_read(bprm->file, elf_interpreter, retval 746 fs/binfmt_elf.c if (retval != elf_ppnt->p_filesz) { retval 747 fs/binfmt_elf.c if (retval >= 0) retval 748 fs/binfmt_elf.c retval = -EIO; retval 752 fs/binfmt_elf.c retval = -ENOEXEC; retval 758 fs/binfmt_elf.c retval = PTR_ERR(interpreter); retval 770 fs/binfmt_elf.c retval = kernel_read(interpreter, &loc->interp_elf_ex, retval 772 fs/binfmt_elf.c if (retval != sizeof(loc->interp_elf_ex)) { retval 773 fs/binfmt_elf.c if (retval >= 0) retval 774 fs/binfmt_elf.c retval = -EIO; retval 796 fs/binfmt_elf.c retval = arch_elf_pt_proc(&loc->elf_ex, elf_ppnt, retval 799 fs/binfmt_elf.c if (retval) retval 806 fs/binfmt_elf.c retval = -ELIBBAD; retval 826 fs/binfmt_elf.c retval = arch_elf_pt_proc(&loc->interp_elf_ex, retval 829 fs/binfmt_elf.c if (retval) retval 840 fs/binfmt_elf.c retval = arch_check_elf(&loc->elf_ex, retval 843 fs/binfmt_elf.c if (retval) retval 847 fs/binfmt_elf.c retval = flush_old_exec(bprm); retval 848 fs/binfmt_elf.c if (retval) retval 865 fs/binfmt_elf.c retval = setup_arg_pages(bprm, randomize_stack_top(STACK_TOP), retval 867 fs/binfmt_elf.c if (retval < 0) retval 895 fs/binfmt_elf.c retval = set_brk(elf_bss + load_bias, retval 898 fs/binfmt_elf.c if (retval) retval 978 fs/binfmt_elf.c retval = -EINVAL; retval 986 fs/binfmt_elf.c retval = IS_ERR((void *)error) ? retval 1016 fs/binfmt_elf.c retval = -EINVAL; retval 1048 fs/binfmt_elf.c retval = set_brk(elf_bss, elf_brk, bss_prot); retval 1049 fs/binfmt_elf.c if (retval) retval 1052 fs/binfmt_elf.c retval = -EFAULT; /* Nobody gets to see this, but.. */ retval 1072 fs/binfmt_elf.c retval = IS_ERR((void *)elf_entry) ? retval 1083 fs/binfmt_elf.c retval = -EINVAL; retval 1094 fs/binfmt_elf.c retval = arch_setup_additional_pages(bprm, !!interpreter); retval 1095 fs/binfmt_elf.c if (retval < 0) retval 1099 fs/binfmt_elf.c retval = create_elf_tables(bprm, &loc->elf_ex, retval 1101 fs/binfmt_elf.c if (retval < 0) retval 1155 fs/binfmt_elf.c retval = 0; retval 1159 fs/binfmt_elf.c return retval; retval 1180 fs/binfmt_elf.c int retval, error, i, j; retval 1185 fs/binfmt_elf.c retval = kernel_read(file, &elf_ex, sizeof(elf_ex), &pos); retval 1186 fs/binfmt_elf.c if (retval != sizeof(elf_ex)) retval 1212 fs/binfmt_elf.c retval = kernel_read(file, eppnt, j, &pos); retval 1213 fs/binfmt_elf.c if (retval != j) retval 143 fs/binfmt_elf_fdpic.c int retval, loop; retval 156 fs/binfmt_elf_fdpic.c retval = kernel_read(file, params->phdrs, size, &pos); retval 157 fs/binfmt_elf_fdpic.c if (unlikely(retval != size)) retval 158 fs/binfmt_elf_fdpic.c return retval < 0 ? retval : -ENOEXEC; retval 197 fs/binfmt_elf_fdpic.c int retval, i; retval 209 fs/binfmt_elf_fdpic.c retval = -ENOEXEC; retval 224 fs/binfmt_elf_fdpic.c retval = elf_fdpic_fetch_phdrs(&exec_params, bprm->file); retval 225 fs/binfmt_elf_fdpic.c if (retval < 0) retval 234 fs/binfmt_elf_fdpic.c retval = -ENOMEM; retval 237 fs/binfmt_elf_fdpic.c retval = -ENOENT; retval 247 fs/binfmt_elf_fdpic.c retval = kernel_read(bprm->file, interpreter_name, retval 249 fs/binfmt_elf_fdpic.c if (unlikely(retval != phdr->p_filesz)) { retval 250 fs/binfmt_elf_fdpic.c if (retval >= 0) retval 251 fs/binfmt_elf_fdpic.c retval = -ENOEXEC; retval 255 fs/binfmt_elf_fdpic.c retval = -ENOENT; retval 263 fs/binfmt_elf_fdpic.c retval = PTR_ERR(interpreter); retval 277 fs/binfmt_elf_fdpic.c retval = kernel_read(interpreter, bprm->buf, retval 279 fs/binfmt_elf_fdpic.c if (unlikely(retval != BINPRM_BUF_SIZE)) { retval 280 fs/binfmt_elf_fdpic.c if (retval >= 0) retval 281 fs/binfmt_elf_fdpic.c retval = -ENOEXEC; retval 303 fs/binfmt_elf_fdpic.c retval = -ELIBBAD; retval 310 fs/binfmt_elf_fdpic.c retval = elf_fdpic_fetch_phdrs(&interp_params, interpreter); retval 311 fs/binfmt_elf_fdpic.c if (retval < 0) retval 333 fs/binfmt_elf_fdpic.c retval = -ENOEXEC; retval 341 fs/binfmt_elf_fdpic.c retval = flush_old_exec(bprm); retval 342 fs/binfmt_elf_fdpic.c if (retval) retval 373 fs/binfmt_elf_fdpic.c retval = setup_arg_pages(bprm, current->mm->start_stack, retval 375 fs/binfmt_elf_fdpic.c if (retval < 0) retval 378 fs/binfmt_elf_fdpic.c retval = arch_setup_additional_pages(bprm, !!interpreter_name); retval 379 fs/binfmt_elf_fdpic.c if (retval < 0) retval 385 fs/binfmt_elf_fdpic.c retval = elf_fdpic_map_file(&exec_params, bprm->file, current->mm, retval 387 fs/binfmt_elf_fdpic.c if (retval < 0) retval 391 fs/binfmt_elf_fdpic.c retval = elf_fdpic_map_file(&interp_params, interpreter, retval 393 fs/binfmt_elf_fdpic.c if (retval < 0) { retval 427 fs/binfmt_elf_fdpic.c retval = current->mm->start_brk; retval 467 fs/binfmt_elf_fdpic.c retval = 0; retval 479 fs/binfmt_elf_fdpic.c return retval; retval 31 fs/binfmt_em86.c int retval; retval 71 fs/binfmt_em86.c retval = copy_strings_kernel(1, &bprm->filename, bprm); retval 72 fs/binfmt_em86.c if (retval < 0) return retval; retval 75 fs/binfmt_em86.c retval = copy_strings_kernel(1, &i_arg, bprm); retval 76 fs/binfmt_em86.c if (retval < 0) return retval; retval 79 fs/binfmt_em86.c retval = copy_strings_kernel(1, &i_name, bprm); retval 80 fs/binfmt_em86.c if (retval < 0) return retval; retval 94 fs/binfmt_em86.c retval = prepare_binprm(bprm); retval 95 fs/binfmt_em86.c if (retval < 0) retval 96 fs/binfmt_em86.c return retval; retval 197 fs/binfmt_flat.c int ret, retval; retval 208 fs/binfmt_flat.c retval = -ENOMEM; retval 219 fs/binfmt_flat.c retval = -ENOEXEC; retval 299 fs/binfmt_flat.c retval = 0; retval 306 fs/binfmt_flat.c return retval; retval 136 fs/binfmt_misc.c int retval; retval 139 fs/binfmt_misc.c retval = -ENOEXEC; retval 141 fs/binfmt_misc.c return retval; retval 150 fs/binfmt_misc.c return retval; retval 153 fs/binfmt_misc.c retval = -ENOENT; retval 158 fs/binfmt_misc.c retval = remove_arg_zero(bprm); retval 159 fs/binfmt_misc.c if (retval) retval 171 fs/binfmt_misc.c retval = fd_binary; retval 193 fs/binfmt_misc.c retval = copy_strings_kernel(1, &bprm->interp, bprm); retval 194 fs/binfmt_misc.c if (retval < 0) retval 199 fs/binfmt_misc.c retval = copy_strings_kernel(1, &fmt->interpreter, bprm); retval 200 fs/binfmt_misc.c if (retval < 0) retval 205 fs/binfmt_misc.c retval = bprm_change_interp(fmt->interpreter, bprm); retval 206 fs/binfmt_misc.c if (retval < 0) retval 216 fs/binfmt_misc.c retval = PTR_ERR(interp_file); retval 229 fs/binfmt_misc.c retval = kernel_read(bprm->file, bprm->buf, BINPRM_BUF_SIZE, retval 232 fs/binfmt_misc.c retval = prepare_binprm(bprm); retval 234 fs/binfmt_misc.c if (retval < 0) retval 237 fs/binfmt_misc.c retval = search_binary_handler(bprm); retval 238 fs/binfmt_misc.c if (retval < 0) retval 243 fs/binfmt_misc.c return retval; retval 39 fs/binfmt_script.c int retval; retval 117 fs/binfmt_script.c retval = remove_arg_zero(bprm); retval 118 fs/binfmt_script.c if (retval) retval 119 fs/binfmt_script.c return retval; retval 120 fs/binfmt_script.c retval = copy_strings_kernel(1, &bprm->interp, bprm); retval 121 fs/binfmt_script.c if (retval < 0) retval 122 fs/binfmt_script.c return retval; retval 125 fs/binfmt_script.c retval = copy_strings_kernel(1, &i_arg, bprm); retval 126 fs/binfmt_script.c if (retval < 0) retval 127 fs/binfmt_script.c return retval; retval 130 fs/binfmt_script.c retval = copy_strings_kernel(1, &i_name, bprm); retval 131 fs/binfmt_script.c if (retval) retval 132 fs/binfmt_script.c return retval; retval 134 fs/binfmt_script.c retval = bprm_change_interp(i_name, bprm); retval 135 fs/binfmt_script.c if (retval < 0) retval 136 fs/binfmt_script.c return retval; retval 146 fs/binfmt_script.c retval = prepare_binprm(bprm); retval 147 fs/binfmt_script.c if (retval < 0) retval 148 fs/binfmt_script.c return retval; retval 653 fs/block_dev.c loff_t retval; retval 656 fs/block_dev.c retval = fixed_size_llseek(file, offset, whence, i_size_read(bd_inode)); retval 658 fs/block_dev.c return retval; retval 8707 fs/btrfs/inode.c ssize_t retval = -EINVAL; retval 8729 fs/btrfs/inode.c retval = 0; retval 8731 fs/btrfs/inode.c return retval; retval 880 fs/buffer.c sector_t retval = ~((sector_t)0); retval 885 fs/buffer.c retval = (sz >> sizebits); retval 887 fs/buffer.c return retval; retval 624 fs/ceph/dir.c loff_t retval; retval 627 fs/ceph/dir.c retval = -EINVAL; retval 634 fs/ceph/dir.c retval = -EOPNOTSUPP; retval 655 fs/ceph/dir.c retval = offset; retval 659 fs/ceph/dir.c return retval; retval 99 fs/coda/psdev.c ssize_t retval = 0, count = 0; retval 127 fs/coda/psdev.c retval = -ENOMEM; retval 132 fs/coda/psdev.c retval = -EFAULT; retval 143 fs/coda/psdev.c retval = error; retval 165 fs/coda/psdev.c retval = -ESRCH; retval 179 fs/coda/psdev.c retval = -EFAULT; retval 201 fs/coda/psdev.c return(count ? count : retval); retval 214 fs/coda/psdev.c ssize_t retval = 0, count = 0; retval 226 fs/coda/psdev.c retval = -EAGAIN; retval 230 fs/coda/psdev.c retval = -ERESTARTSYS; retval 241 fs/coda/psdev.c if (retval) retval 256 fs/coda/psdev.c retval = -EFAULT; retval 269 fs/coda/psdev.c return (count ? count : retval); retval 97 fs/compat.c int retval; retval 100 fs/compat.c retval = PTR_ERR(kernel_type); retval 105 fs/compat.c retval = PTR_ERR(kernel_dev); retval 110 fs/compat.c retval = PTR_ERR(options); retval 116 fs/compat.c retval = -EINVAL; retval 122 fs/compat.c retval = do_mount(kernel_dev, dir_name, kernel_type, flags, options); retval 131 fs/compat.c return retval; retval 105 fs/configfs/file.c ssize_t retval = 0; retval 109 fs/configfs/file.c retval = fill_read_buffer(file, buffer); retval 110 fs/configfs/file.c if (retval) retval 115 fs/configfs/file.c retval = simple_read_from_buffer(buf, count, ppos, buffer->page, retval 119 fs/configfs/file.c return retval; retval 148 fs/configfs/file.c ssize_t retval = 0; retval 155 fs/configfs/file.c retval = -ETXTBSY; retval 169 fs/configfs/file.c retval = len; retval 175 fs/configfs/file.c retval = -EFBIG; retval 181 fs/configfs/file.c retval = -ENOMEM; retval 195 fs/configfs/file.c retval = len; retval 205 fs/configfs/file.c retval = simple_read_from_buffer(buf, count, ppos, buffer->bin_buffer, retval 209 fs/configfs/file.c return retval; retval 575 fs/coredump.c int retval = 0; retval 619 fs/coredump.c retval = coredump_wait(siginfo->si_signo, &core_state); retval 620 fs/coredump.c if (retval < 0) retval 682 fs/coredump.c retval = -ENOMEM; retval 687 fs/coredump.c retval = call_usermodehelper_exec(sub_info, retval 691 fs/coredump.c if (retval) { retval 785 fs/coredump.c retval = unshare_files(&displaced); retval 786 fs/coredump.c if (retval) retval 776 fs/cramfs/inode.c int namelen, retval; retval 804 fs/cramfs/inode.c retval = memcmp(dentry->d_name.name, name, namelen); retval 805 fs/cramfs/inode.c if (retval > 0) retval 807 fs/cramfs/inode.c if (!retval) { retval 328 fs/d_path.c char *end, *retval; retval 342 fs/d_path.c retval = end-1; retval 343 fs/d_path.c *retval = '/'; retval 353 fs/d_path.c retval = end; retval 365 fs/d_path.c return retval; retval 379 fs/d_path.c char *retval; retval 387 fs/d_path.c retval = __dentry_path(dentry, buf, buflen); retval 388 fs/d_path.c if (!IS_ERR(retval) && p) retval 390 fs/d_path.c return retval; retval 898 fs/debugfs/inode.c int retval; retval 900 fs/debugfs/inode.c retval = sysfs_create_mount_point(kernel_kobj, "debug"); retval 901 fs/debugfs/inode.c if (retval) retval 902 fs/debugfs/inode.c return retval; retval 904 fs/debugfs/inode.c retval = register_filesystem(&debug_fs_type); retval 905 fs/debugfs/inode.c if (retval) retval 910 fs/debugfs/inode.c return retval; retval 1172 fs/direct-io.c ssize_t retval = -EINVAL; retval 1200 fs/direct-io.c retval = -ENOMEM; retval 1219 fs/direct-io.c retval = filemap_write_and_wait_range(mapping, offset, retval 1221 fs/direct-io.c if (retval) { retval 1235 fs/direct-io.c retval = 0; retval 1269 fs/direct-io.c retval = 0; retval 1271 fs/direct-io.c retval = dio_set_defer_completion(dio); retval 1278 fs/direct-io.c retval = sb_init_dio_done_wq(dio->inode->i_sb); retval 1280 fs/direct-io.c if (retval) { retval 1295 fs/direct-io.c retval = 0; retval 1326 fs/direct-io.c retval = do_direct_IO(dio, &sdio, &map_bh); retval 1327 fs/direct-io.c if (retval) retval 1330 fs/direct-io.c if (retval == -ENOTBLK) { retval 1335 fs/direct-io.c retval = 0; retval 1347 fs/direct-io.c if (retval == 0) retval 1348 fs/direct-io.c retval = ret2; retval 1378 fs/direct-io.c BUG_ON(retval == -EIOCBQUEUED); retval 1379 fs/direct-io.c if (dio->is_async && retval == 0 && dio->result && retval 1381 fs/direct-io.c retval = -EIOCBQUEUED; retval 1386 fs/direct-io.c retval = dio_complete(dio, retval, DIO_COMPLETE_INVALIDATE); retval 1388 fs/direct-io.c BUG_ON(retval != -EIOCBQUEUED); retval 1391 fs/direct-io.c return retval; retval 1260 fs/exec.c int retval; retval 1266 fs/exec.c retval = de_thread(current); retval 1267 fs/exec.c if (retval) retval 1283 fs/exec.c retval = exec_mmap(bprm->mm); retval 1284 fs/exec.c if (retval) retval 1311 fs/exec.c return retval; retval 1576 fs/exec.c int retval; retval 1582 fs/exec.c retval = security_bprm_set_creds(bprm); retval 1583 fs/exec.c if (retval) retval 1584 fs/exec.c return retval; retval 1642 fs/exec.c int retval; retval 1648 fs/exec.c retval = security_bprm_check(bprm); retval 1649 fs/exec.c if (retval) retval 1650 fs/exec.c return retval; retval 1652 fs/exec.c retval = -ENOENT; retval 1661 fs/exec.c retval = fmt->load_binary(bprm); retval 1666 fs/exec.c if (retval < 0 && !bprm->mm) { retval 1670 fs/exec.c return retval; retval 1672 fs/exec.c if (retval != -ENOEXEC || !bprm->file) { retval 1674 fs/exec.c return retval; retval 1682 fs/exec.c return retval; retval 1684 fs/exec.c return retval; retval 1689 fs/exec.c return retval; retval 1726 fs/exec.c int retval; retval 1739 fs/exec.c retval = -EAGAIN; retval 1747 fs/exec.c retval = unshare_files(&displaced); retval 1748 fs/exec.c if (retval) retval 1751 fs/exec.c retval = -ENOMEM; retval 1756 fs/exec.c retval = prepare_bprm_creds(bprm); retval 1757 fs/exec.c if (retval) retval 1765 fs/exec.c retval = PTR_ERR(file); retval 1783 fs/exec.c retval = -ENOMEM; retval 1797 fs/exec.c retval = bprm_mm_init(bprm); retval 1798 fs/exec.c if (retval) retval 1801 fs/exec.c retval = prepare_arg_pages(bprm, argv, envp); retval 1802 fs/exec.c if (retval < 0) retval 1805 fs/exec.c retval = prepare_binprm(bprm); retval 1806 fs/exec.c if (retval < 0) retval 1809 fs/exec.c retval = copy_strings_kernel(1, &bprm->filename, bprm); retval 1810 fs/exec.c if (retval < 0) retval 1814 fs/exec.c retval = copy_strings(bprm->envc, envp, bprm); retval 1815 fs/exec.c if (retval < 0) retval 1818 fs/exec.c retval = copy_strings(bprm->argc, argv, bprm); retval 1819 fs/exec.c if (retval < 0) retval 1822 fs/exec.c retval = exec_binprm(bprm); retval 1823 fs/exec.c if (retval < 0) retval 1838 fs/exec.c return retval; retval 1860 fs/exec.c return retval; retval 149 fs/ext2/acl.c int retval; retval 161 fs/ext2/acl.c retval = ext2_xattr_get(inode, name_index, "", NULL, 0); retval 162 fs/ext2/acl.c if (retval > 0) { retval 163 fs/ext2/acl.c value = kmalloc(retval, GFP_KERNEL); retval 166 fs/ext2/acl.c retval = ext2_xattr_get(inode, name_index, "", value, retval); retval 168 fs/ext2/acl.c if (retval > 0) retval 169 fs/ext2/acl.c acl = ext2_acl_from_disk(value, retval); retval 170 fs/ext2/acl.c else if (retval == -ENODATA || retval == -ENOSYS) retval 173 fs/ext2/acl.c acl = ERR_PTR(retval); retval 150 fs/ext4/acl.c int retval; retval 162 fs/ext4/acl.c retval = ext4_xattr_get(inode, name_index, "", NULL, 0); retval 163 fs/ext4/acl.c if (retval > 0) { retval 164 fs/ext4/acl.c value = kmalloc(retval, GFP_NOFS); retval 167 fs/ext4/acl.c retval = ext4_xattr_get(inode, name_index, "", value, retval); retval 169 fs/ext4/acl.c if (retval > 0) retval 170 fs/ext4/acl.c acl = ext4_acl_from_disk(value, retval); retval 171 fs/ext4/acl.c else if (retval == -ENODATA || retval == -ENOSYS) retval 174 fs/ext4/acl.c acl = ERR_PTR(retval); retval 3186 fs/ext4/ext4.h int *retval); retval 669 fs/ext4/extents_status.c int retval; retval 681 fs/ext4/extents_status.c retval = ext4_ind_map_blocks(NULL, inode, &map, 0); retval 682 fs/ext4/extents_status.c if (retval > 0) { retval 695 fs/ext4/extents_status.c if (retval != es->es_len) { retval 698 fs/ext4/extents_status.c inode->i_ino, retval, es->es_len); retval 716 fs/ext4/extents_status.c } else if (retval == 0) { retval 1571 fs/ext4/inline.c int *retval) retval 1575 fs/ext4/inline.c *retval = ext4_get_inode_loc(inode, &iloc); retval 1576 fs/ext4/inline.c if (*retval) retval 451 fs/ext4/inode.c int retval; retval 463 fs/ext4/inode.c retval = ext4_ext_map_blocks(handle, inode, map, flags & retval 466 fs/ext4/inode.c retval = ext4_ind_map_blocks(handle, inode, map, flags & retval 484 fs/ext4/inode.c retval, flags); retval 515 fs/ext4/inode.c int retval; retval 545 fs/ext4/inode.c retval = es.es_len - (map->m_lblk - es.es_lblk); retval 546 fs/ext4/inode.c if (retval > map->m_len) retval 547 fs/ext4/inode.c retval = map->m_len; retval 548 fs/ext4/inode.c map->m_len = retval; retval 551 fs/ext4/inode.c retval = es.es_len - (map->m_lblk - es.es_lblk); retval 552 fs/ext4/inode.c if (retval > map->m_len) retval 553 fs/ext4/inode.c retval = map->m_len; retval 554 fs/ext4/inode.c map->m_len = retval; retval 555 fs/ext4/inode.c retval = 0; retval 572 fs/ext4/inode.c retval = ext4_ext_map_blocks(handle, inode, map, flags & retval 575 fs/ext4/inode.c retval = ext4_ind_map_blocks(handle, inode, map, flags & retval 578 fs/ext4/inode.c if (retval > 0) { retval 581 fs/ext4/inode.c if (unlikely(retval != map->m_len)) { retval 585 fs/ext4/inode.c inode->i_ino, retval, map->m_len); retval 599 fs/ext4/inode.c retval = ret; retval 604 fs/ext4/inode.c if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) { retval 612 fs/ext4/inode.c return retval; retval 621 fs/ext4/inode.c if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) retval 628 fs/ext4/inode.c return retval; retval 649 fs/ext4/inode.c retval = ext4_ext_map_blocks(handle, inode, map, flags); retval 651 fs/ext4/inode.c retval = ext4_ind_map_blocks(handle, inode, map, flags); retval 653 fs/ext4/inode.c if (retval > 0 && map->m_flags & EXT4_MAP_NEW) { retval 668 fs/ext4/inode.c if ((retval > 0) && retval 670 fs/ext4/inode.c ext4_da_update_reserve_space(inode, retval, 1); retval 673 fs/ext4/inode.c if (retval > 0) { retval 676 fs/ext4/inode.c if (unlikely(retval != map->m_len)) { retval 680 fs/ext4/inode.c inode->i_ino, retval, map->m_len); retval 697 fs/ext4/inode.c retval = ret; retval 721 fs/ext4/inode.c retval = ret; retval 728 fs/ext4/inode.c if (retval > 0 && map->m_flags & EXT4_MAP_MAPPED) { retval 757 fs/ext4/inode.c return retval; retval 1830 fs/ext4/inode.c int retval; retval 1849 fs/ext4/inode.c retval = 0; retval 1866 fs/ext4/inode.c retval = es.es_len - (iblock - es.es_lblk); retval 1867 fs/ext4/inode.c if (retval > map->m_len) retval 1868 fs/ext4/inode.c retval = map->m_len; retval 1869 fs/ext4/inode.c map->m_len = retval; retval 1880 fs/ext4/inode.c return retval; retval 1889 fs/ext4/inode.c retval = 0; retval 1891 fs/ext4/inode.c retval = ext4_ext_map_blocks(NULL, inode, map, 0); retval 1893 fs/ext4/inode.c retval = ext4_ind_map_blocks(NULL, inode, map, 0); retval 1896 fs/ext4/inode.c if (retval == 0) { retval 1906 fs/ext4/inode.c retval = ret; retval 1913 fs/ext4/inode.c } else if (retval > 0) { retval 1917 fs/ext4/inode.c if (unlikely(retval != map->m_len)) { retval 1921 fs/ext4/inode.c inode->i_ino, retval, map->m_len); retval 1930 fs/ext4/inode.c retval = ret; retval 1936 fs/ext4/inode.c return retval; retval 25 fs/ext4/migrate.c int retval = 0, needed; retval 39 fs/ext4/migrate.c retval = PTR_ERR(path); retval 59 fs/ext4/migrate.c retval = ext4_journal_restart(handle, needed); retval 61 fs/ext4/migrate.c if (retval) retval 64 fs/ext4/migrate.c retval = ext4_journal_extend(handle, needed); retval 65 fs/ext4/migrate.c if (retval) { retval 70 fs/ext4/migrate.c retval = ext4_journal_restart(handle, needed); retval 72 fs/ext4/migrate.c if (retval) retval 76 fs/ext4/migrate.c retval = ext4_ext_insert_extent(handle, inode, &path, &newext, 0); retval 82 fs/ext4/migrate.c return retval; retval 88 fs/ext4/migrate.c int retval; retval 103 fs/ext4/migrate.c retval = finish_range(handle, inode, lb); retval 107 fs/ext4/migrate.c return retval; retval 116 fs/ext4/migrate.c int i, retval = 0; retval 126 fs/ext4/migrate.c retval = update_extent_range(handle, inode, retval 128 fs/ext4/migrate.c if (retval) retval 135 fs/ext4/migrate.c return retval; retval 145 fs/ext4/migrate.c int i, retval = 0; retval 155 fs/ext4/migrate.c retval = update_ind_extent_range(handle, inode, retval 157 fs/ext4/migrate.c if (retval) retval 165 fs/ext4/migrate.c return retval; retval 175 fs/ext4/migrate.c int i, retval = 0; retval 185 fs/ext4/migrate.c retval = update_dind_extent_range(handle, inode, retval 187 fs/ext4/migrate.c if (retval) retval 195 fs/ext4/migrate.c return retval; retval 201 fs/ext4/migrate.c int retval = 0, needed; retval 214 fs/ext4/migrate.c retval = ext4_journal_restart(handle, needed); retval 216 fs/ext4/migrate.c return retval; retval 252 fs/ext4/migrate.c int i, retval = 0; retval 264 fs/ext4/migrate.c retval = free_dind_blocks(handle, retval 266 fs/ext4/migrate.c if (retval) { retval 268 fs/ext4/migrate.c return retval; retval 282 fs/ext4/migrate.c int retval; retval 295 fs/ext4/migrate.c retval = free_dind_blocks(handle, inode, i_data[1]); retval 296 fs/ext4/migrate.c if (retval) retval 297 fs/ext4/migrate.c return retval; retval 302 fs/ext4/migrate.c retval = free_tind_blocks(handle, inode, i_data[2]); retval 303 fs/ext4/migrate.c if (retval) retval 304 fs/ext4/migrate.c return retval; retval 312 fs/ext4/migrate.c int retval; retval 321 fs/ext4/migrate.c retval = ext4_journal_extend(handle, 1); retval 322 fs/ext4/migrate.c if (retval) { retval 323 fs/ext4/migrate.c retval = ext4_journal_restart(handle, 1); retval 324 fs/ext4/migrate.c if (retval) retval 339 fs/ext4/migrate.c retval = -EAGAIN; retval 369 fs/ext4/migrate.c retval = free_ind_block(handle, inode, i_data); retval 373 fs/ext4/migrate.c return retval; retval 379 fs/ext4/migrate.c int i, retval = 0; retval 393 fs/ext4/migrate.c retval = free_ext_idx(handle, inode, ix); retval 394 fs/ext4/migrate.c if (retval) retval 402 fs/ext4/migrate.c return retval; retval 410 fs/ext4/migrate.c int i, retval = 0; retval 421 fs/ext4/migrate.c retval = free_ext_idx(handle, inode, ix); retval 422 fs/ext4/migrate.c if (retval) retval 423 fs/ext4/migrate.c return retval; retval 425 fs/ext4/migrate.c return retval; retval 432 fs/ext4/migrate.c int retval = 0, i; retval 453 fs/ext4/migrate.c return retval; retval 466 fs/ext4/migrate.c retval = PTR_ERR(handle); retval 476 fs/ext4/migrate.c retval = PTR_ERR(tmp_inode); retval 519 fs/ext4/migrate.c retval = PTR_ERR(handle); retval 531 fs/ext4/migrate.c retval = update_extent_range(handle, tmp_inode, retval 533 fs/ext4/migrate.c if (retval) retval 539 fs/ext4/migrate.c retval = update_ind_extent_range(handle, tmp_inode, retval 541 fs/ext4/migrate.c if (retval) retval 546 fs/ext4/migrate.c retval = update_dind_extent_range(handle, tmp_inode, retval 548 fs/ext4/migrate.c if (retval) retval 553 fs/ext4/migrate.c retval = update_tind_extent_range(handle, tmp_inode, retval 555 fs/ext4/migrate.c if (retval) retval 561 fs/ext4/migrate.c retval = finish_range(handle, tmp_inode, &lb); retval 563 fs/ext4/migrate.c if (retval) retval 570 fs/ext4/migrate.c retval = ext4_ext_swap_inode_data(handle, inode, tmp_inode); retval 571 fs/ext4/migrate.c if (retval) retval 606 fs/ext4/migrate.c return retval; retval 145 fs/ext4/mmp.c int retval; retval 171 fs/ext4/mmp.c retval = write_mmp_block(sb, bh); retval 176 fs/ext4/mmp.c if (retval) { retval 207 fs/ext4/mmp.c retval = read_mmp_block(sb, &bh_check, mmp_block); retval 208 fs/ext4/mmp.c if (retval) { retval 210 fs/ext4/mmp.c retval); retval 224 fs/ext4/mmp.c retval = -EBUSY; retval 246 fs/ext4/mmp.c retval = write_mmp_block(sb, bh); retval 252 fs/ext4/mmp.c return retval; retval 283 fs/ext4/mmp.c int retval; retval 291 fs/ext4/mmp.c retval = read_mmp_block(sb, &bh, mmp_block); retval 292 fs/ext4/mmp.c if (retval) retval 329 fs/ext4/mmp.c retval = read_mmp_block(sb, &bh, mmp_block); retval 330 fs/ext4/mmp.c if (retval) retval 346 fs/ext4/mmp.c retval = write_mmp_block(sb, bh); retval 347 fs/ext4/mmp.c if (retval) retval 358 fs/ext4/mmp.c retval = read_mmp_block(sb, &bh, mmp_block); retval 359 fs/ext4/mmp.c if (retval) retval 1454 fs/ext4/namei.c int i, namelen, retval; retval 1519 fs/ext4/namei.c retval = ext4_bread_batch(dir, block, ra_max, retval 1521 fs/ext4/namei.c if (retval) { retval 1522 fs/ext4/namei.c ret = ERR_PTR(retval); retval 1631 fs/ext4/namei.c int retval; retval 1645 fs/ext4/namei.c retval = search_dirblock(bh, dir, fname, retval 1648 fs/ext4/namei.c if (retval == 1) retval 1651 fs/ext4/namei.c if (retval == -1) { retval 1657 fs/ext4/namei.c retval = ext4_htree_next_block(dir, fname->hinfo.hash, frame, retval 1659 fs/ext4/namei.c if (retval < 0) { retval 1662 fs/ext4/namei.c retval); retval 1663 fs/ext4/namei.c bh = ERR_PTR(retval); retval 1666 fs/ext4/namei.c } while (retval == 1); retval 2048 fs/ext4/namei.c int retval; retval 2060 fs/ext4/namei.c retval = ext4_journal_get_write_access(handle, bh); retval 2061 fs/ext4/namei.c if (retval) { retval 2062 fs/ext4/namei.c ext4_std_error(dir->i_sb, retval); retval 2064 fs/ext4/namei.c return retval; retval 2124 fs/ext4/namei.c retval = ext4_handle_dirty_dx_node(handle, dir, frame->bh); retval 2125 fs/ext4/namei.c if (retval) retval 2127 fs/ext4/namei.c retval = ext4_handle_dirty_dirblock(handle, dir, bh2); retval 2128 fs/ext4/namei.c if (retval) retval 2133 fs/ext4/namei.c retval = PTR_ERR(de); retval 2137 fs/ext4/namei.c retval = add_dirent_to_buf(handle, fname, dir, inode, de, bh2); retval 2144 fs/ext4/namei.c if (retval) retval 2148 fs/ext4/namei.c return retval; retval 2170 fs/ext4/namei.c int retval; retval 2191 fs/ext4/namei.c retval = ext4_fname_setup_filename(dir, &dentry->d_name, 0, &fname); retval 2192 fs/ext4/namei.c if (retval) retval 2193 fs/ext4/namei.c return retval; retval 2196 fs/ext4/namei.c retval = ext4_try_add_inline_entry(handle, &fname, dir, inode); retval 2197 fs/ext4/namei.c if (retval < 0) retval 2199 fs/ext4/namei.c if (retval == 1) { retval 2200 fs/ext4/namei.c retval = 0; retval 2206 fs/ext4/namei.c retval = ext4_dx_add_entry(handle, &fname, dir, inode); retval 2207 fs/ext4/namei.c if (!retval || (retval != ERR_BAD_DX_DIR)) retval 2213 fs/ext4/namei.c retval = -EFSCORRUPTED; retval 2229 fs/ext4/namei.c retval = PTR_ERR(bh); retval 2233 fs/ext4/namei.c retval = add_dirent_to_buf(handle, &fname, dir, inode, retval 2235 fs/ext4/namei.c if (retval != -ENOSPC) retval 2240 fs/ext4/namei.c retval = make_indexed_dir(handle, &fname, dir, retval 2250 fs/ext4/namei.c retval = PTR_ERR(bh); retval 2261 fs/ext4/namei.c retval = add_dirent_to_buf(handle, &fname, dir, inode, de, bh); retval 2265 fs/ext4/namei.c if (retval == 0) retval 2267 fs/ext4/namei.c return retval; retval 3067 fs/ext4/namei.c int retval; retval 3078 fs/ext4/namei.c retval = dquot_initialize(dir); retval 3079 fs/ext4/namei.c if (retval) retval 3080 fs/ext4/namei.c return retval; retval 3081 fs/ext4/namei.c retval = dquot_initialize(d_inode(dentry)); retval 3082 fs/ext4/namei.c if (retval) retval 3083 fs/ext4/namei.c return retval; retval 3085 fs/ext4/namei.c retval = -ENOENT; retval 3094 fs/ext4/namei.c retval = -EFSCORRUPTED; retval 3098 fs/ext4/namei.c retval = -ENOTEMPTY; retval 3105 fs/ext4/namei.c retval = PTR_ERR(handle); retval 3113 fs/ext4/namei.c retval = ext4_delete_entry(handle, dir, de, bh); retval 3114 fs/ext4/namei.c if (retval) retval 3149 fs/ext4/namei.c return retval; retval 3154 fs/ext4/namei.c int retval; retval 3166 fs/ext4/namei.c retval = dquot_initialize(dir); retval 3167 fs/ext4/namei.c if (retval) retval 3168 fs/ext4/namei.c return retval; retval 3169 fs/ext4/namei.c retval = dquot_initialize(d_inode(dentry)); retval 3170 fs/ext4/namei.c if (retval) retval 3171 fs/ext4/namei.c return retval; retval 3173 fs/ext4/namei.c retval = -ENOENT; retval 3182 fs/ext4/namei.c retval = -EFSCORRUPTED; retval 3189 fs/ext4/namei.c retval = PTR_ERR(handle); retval 3197 fs/ext4/namei.c retval = ext4_delete_entry(handle, dir, de, bh); retval 3198 fs/ext4/namei.c if (retval) retval 3228 fs/ext4/namei.c trace_ext4_unlink_exit(dentry, retval); retval 3229 fs/ext4/namei.c return retval; retval 3426 fs/ext4/namei.c int *retval, retval 3438 fs/ext4/namei.c *retval = PTR_ERR(bh); retval 3448 fs/ext4/namei.c return ext4_get_first_inline_block(inode, parent_de, retval); retval 3471 fs/ext4/namei.c int retval; retval 3474 fs/ext4/namei.c &retval, &ent->parent_de, retval 3477 fs/ext4/namei.c return retval; retval 3487 fs/ext4/namei.c int retval; retval 3493 fs/ext4/namei.c retval = ext4_handle_dirty_dx_node(handle, retval 3497 fs/ext4/namei.c retval = ext4_handle_dirty_dirblock(handle, ent->inode, retval 3501 fs/ext4/namei.c retval = ext4_mark_inode_dirty(handle, ent->inode); retval 3503 fs/ext4/namei.c if (retval) { retval 3504 fs/ext4/namei.c ext4_std_error(ent->dir->i_sb, retval); retval 3505 fs/ext4/namei.c return retval; retval 3513 fs/ext4/namei.c int retval; retval 3516 fs/ext4/namei.c retval = ext4_journal_get_write_access(handle, ent->bh); retval 3517 fs/ext4/namei.c if (retval) retval 3518 fs/ext4/namei.c return retval; retval 3528 fs/ext4/namei.c retval = ext4_handle_dirty_dirblock(handle, ent->dir, ent->bh); retval 3529 fs/ext4/namei.c if (unlikely(retval)) { retval 3530 fs/ext4/namei.c ext4_std_error(ent->dir->i_sb, retval); retval 3531 fs/ext4/namei.c return retval; retval 3543 fs/ext4/namei.c int retval = -ENOENT; retval 3551 fs/ext4/namei.c retval = ext4_delete_entry(handle, dir, de, bh); retval 3554 fs/ext4/namei.c return retval; retval 3560 fs/ext4/namei.c int retval; retval 3572 fs/ext4/namei.c retval = ext4_find_delete_entry(handle, ent->dir, retval 3575 fs/ext4/namei.c retval = ext4_delete_entry(handle, ent->dir, ent->de, ent->bh); retval 3576 fs/ext4/namei.c if (retval == -ENOENT) { retval 3577 fs/ext4/namei.c retval = ext4_find_delete_entry(handle, ent->dir, retval 3582 fs/ext4/namei.c if (retval) { retval 3585 fs/ext4/namei.c ent->dir->i_nlink, retval); retval 3657 fs/ext4/namei.c int retval; retval 3673 fs/ext4/namei.c retval = dquot_initialize(old.dir); retval 3674 fs/ext4/namei.c if (retval) retval 3675 fs/ext4/namei.c return retval; retval 3676 fs/ext4/namei.c retval = dquot_initialize(new.dir); retval 3677 fs/ext4/namei.c if (retval) retval 3678 fs/ext4/namei.c return retval; retval 3683 fs/ext4/namei.c retval = dquot_initialize(new.inode); retval 3684 fs/ext4/namei.c if (retval) retval 3685 fs/ext4/namei.c return retval; retval 3697 fs/ext4/namei.c retval = -ENOENT; retval 3704 fs/ext4/namei.c retval = PTR_ERR(new.bh); retval 3722 fs/ext4/namei.c retval = PTR_ERR(handle); retval 3729 fs/ext4/namei.c retval = PTR_ERR(whiteout); retval 3740 fs/ext4/namei.c retval = -ENOTEMPTY; retval 3744 fs/ext4/namei.c retval = -EMLINK; retval 3748 fs/ext4/namei.c retval = ext4_rename_dir_prepare(handle, &old); retval 3749 fs/ext4/namei.c if (retval) retval 3768 fs/ext4/namei.c retval = ext4_setent(handle, &old, whiteout->i_ino, retval 3770 fs/ext4/namei.c if (retval) retval 3775 fs/ext4/namei.c retval = ext4_add_entry(handle, new.dentry, old.inode); retval 3776 fs/ext4/namei.c if (retval) retval 3779 fs/ext4/namei.c retval = ext4_setent(handle, &new, retval 3781 fs/ext4/namei.c if (retval) retval 3809 fs/ext4/namei.c retval = ext4_rename_dir_finish(handle, &old, new.dir->i_ino); retval 3810 fs/ext4/namei.c if (retval) retval 3831 fs/ext4/namei.c retval = 0; retval 3838 fs/ext4/namei.c if (retval) retval 3845 fs/ext4/namei.c return retval; retval 3863 fs/ext4/namei.c int retval; retval 3874 fs/ext4/namei.c retval = dquot_initialize(old.dir); retval 3875 fs/ext4/namei.c if (retval) retval 3876 fs/ext4/namei.c return retval; retval 3877 fs/ext4/namei.c retval = dquot_initialize(new.dir); retval 3878 fs/ext4/namei.c if (retval) retval 3879 fs/ext4/namei.c return retval; retval 3891 fs/ext4/namei.c retval = -ENOENT; retval 3898 fs/ext4/namei.c retval = PTR_ERR(new.bh); retval 3911 fs/ext4/namei.c retval = PTR_ERR(handle); retval 3921 fs/ext4/namei.c retval = ext4_rename_dir_prepare(handle, &old); retval 3922 fs/ext4/namei.c if (retval) retval 3927 fs/ext4/namei.c retval = ext4_rename_dir_prepare(handle, &new); retval 3928 fs/ext4/namei.c if (retval) retval 3939 fs/ext4/namei.c retval = -EMLINK; retval 3946 fs/ext4/namei.c retval = ext4_setent(handle, &new, old.inode->i_ino, old.de->file_type); retval 3947 fs/ext4/namei.c if (retval) retval 3950 fs/ext4/namei.c retval = ext4_setent(handle, &old, new.inode->i_ino, new_file_type); retval 3951 fs/ext4/namei.c if (retval) retval 3965 fs/ext4/namei.c retval = ext4_rename_dir_finish(handle, &old, new.dir->i_ino); retval 3966 fs/ext4/namei.c if (retval) retval 3970 fs/ext4/namei.c retval = ext4_rename_dir_finish(handle, &new, old.dir->i_ino); retval 3971 fs/ext4/namei.c if (retval) retval 3976 fs/ext4/namei.c retval = 0; retval 3985 fs/ext4/namei.c return retval; retval 173 fs/f2fs/acl.c int retval; retval 178 fs/f2fs/acl.c retval = f2fs_getxattr(inode, name_index, "", NULL, 0, dpage); retval 179 fs/f2fs/acl.c if (retval > 0) { retval 180 fs/f2fs/acl.c value = f2fs_kmalloc(F2FS_I_SB(inode), retval, GFP_F2FS_ZERO); retval 183 fs/f2fs/acl.c retval = f2fs_getxattr(inode, name_index, "", value, retval 184 fs/f2fs/acl.c retval, dpage); retval 187 fs/f2fs/acl.c if (retval > 0) retval 188 fs/f2fs/acl.c acl = f2fs_acl_from_disk(value, retval); retval 189 fs/f2fs/acl.c else if (retval == -ENODATA) retval 192 fs/f2fs/acl.c acl = ERR_PTR(retval); retval 21 fs/fhandle.c long retval; retval 49 fs/fhandle.c retval = exportfs_encode_fh(path->dentry, retval 52 fs/fhandle.c handle->handle_type = retval; retval 57 fs/fhandle.c (retval == FILEID_INVALID) || (retval == -ENOSPC)) { retval 68 fs/fhandle.c retval = -EOVERFLOW; retval 70 fs/fhandle.c retval = 0; retval 75 fs/fhandle.c retval = -EFAULT; retval 77 fs/fhandle.c return retval; retval 142 fs/fhandle.c int retval = 0; retval 147 fs/fhandle.c retval = PTR_ERR(path->mnt); retval 157 fs/fhandle.c retval = PTR_ERR(path->dentry); retval 164 fs/fhandle.c return retval; retval 170 fs/fhandle.c int retval = 0; retval 180 fs/fhandle.c retval = -EPERM; retval 184 fs/fhandle.c retval = -EFAULT; retval 189 fs/fhandle.c retval = -EINVAL; retval 195 fs/fhandle.c retval = -ENOMEM; retval 203 fs/fhandle.c retval = -EFAULT; retval 207 fs/fhandle.c retval = do_handle_to_path(mountdirfd, handle, path); retval 212 fs/fhandle.c return retval; retval 218 fs/fhandle.c long retval = 0; retval 223 fs/fhandle.c retval = handle_to_path(mountdirfd, ufh, &path); retval 224 fs/fhandle.c if (retval) retval 225 fs/fhandle.c return retval; retval 235 fs/fhandle.c retval = PTR_ERR(file); retval 237 fs/fhandle.c retval = fd; retval 242 fs/fhandle.c return retval; retval 952 fs/file.c int retval = oldfd; retval 956 fs/file.c retval = -EBADF; retval 958 fs/file.c return retval; retval 192 fs/filesystems.c int retval = -EINVAL; retval 196 fs/filesystems.c retval = fs_index((const char __user *) arg1); retval 200 fs/filesystems.c retval = fs_name(arg1, (char __user *) arg2); retval 204 fs/filesystems.c retval = fs_maxindex(); retval 207 fs/filesystems.c return retval; retval 2546 fs/fuse/file.c loff_t retval; retval 2553 fs/fuse/file.c retval = generic_file_llseek(file, offset, whence); retval 2557 fs/fuse/file.c retval = fuse_update_attributes(inode, file); retval 2558 fs/fuse/file.c if (!retval) retval 2559 fs/fuse/file.c retval = generic_file_llseek(file, offset, whence); retval 2565 fs/fuse/file.c retval = fuse_lseek(file, offset, whence); retval 2569 fs/fuse/file.c retval = -EINVAL; retval 2572 fs/fuse/file.c return retval; retval 21 fs/hfs/brec.c __be16 retval[2]; retval 25 fs/hfs/brec.c hfs_bnode_read(node, retval, dataoff, 4); retval 26 fs/hfs/brec.c *off = be16_to_cpu(retval[1]); retval 27 fs/hfs/brec.c return be16_to_cpu(retval[0]) - *off; retval 33 fs/hfs/brec.c u16 retval, recoff; retval 41 fs/hfs/brec.c retval = node->tree->max_key_len + 2; retval 43 fs/hfs/brec.c retval = node->tree->max_key_len + 1; retval 49 fs/hfs/brec.c retval = hfs_bnode_read_u16(node, recoff) + 2; retval 50 fs/hfs/brec.c if (retval > node->tree->max_key_len + 2) { retval 51 fs/hfs/brec.c pr_err("keylen %d too large\n", retval); retval 52 fs/hfs/brec.c retval = 0; retval 55 fs/hfs/brec.c retval = (hfs_bnode_read_u8(node, recoff) | 1) + 1; retval 56 fs/hfs/brec.c if (retval > node->tree->max_key_len + 1) { retval 57 fs/hfs/brec.c pr_err("keylen %d too large\n", retval); retval 58 fs/hfs/brec.c retval = 0; retval 62 fs/hfs/brec.c return retval; retval 22 fs/hfsplus/brec.c __be16 retval[2]; retval 26 fs/hfsplus/brec.c hfs_bnode_read(node, retval, dataoff, 4); retval 27 fs/hfsplus/brec.c *off = be16_to_cpu(retval[1]); retval 28 fs/hfsplus/brec.c return be16_to_cpu(retval[0]) - *off; retval 34 fs/hfsplus/brec.c u16 retval, recoff; retval 42 fs/hfsplus/brec.c retval = node->tree->max_key_len + 2; retval 53 fs/hfsplus/brec.c retval = hfs_bnode_read_u16(node, recoff) + 2; retval 54 fs/hfsplus/brec.c if (retval > node->tree->max_key_len + 2) { retval 56 fs/hfsplus/brec.c retval); retval 57 fs/hfsplus/brec.c retval = 0; retval 60 fs/hfsplus/brec.c return retval; retval 280 fs/hugetlbfs/inode.c ssize_t retval = 0; retval 319 fs/hugetlbfs/inode.c retval += copied; retval 321 fs/hugetlbfs/inode.c if (!retval) retval 322 fs/hugetlbfs/inode.c retval = -EFAULT; retval 329 fs/hugetlbfs/inode.c return retval; retval 836 fs/hugetlbfs/inode.c int retval = hugetlbfs_mknod(dir, dentry, mode | S_IFDIR, 0); retval 837 fs/hugetlbfs/inode.c if (!retval) retval 839 fs/hugetlbfs/inode.c return retval; retval 427 fs/namei.c int retval; retval 429 fs/namei.c retval = sb_permission(inode->i_sb, inode, mask); retval 430 fs/namei.c if (retval) retval 431 fs/namei.c return retval; retval 449 fs/namei.c retval = do_inode_permission(inode, mask); retval 450 fs/namei.c if (retval) retval 451 fs/namei.c return retval; retval 453 fs/namei.c retval = devcgroup_inode_permission(inode, mask); retval 454 fs/namei.c if (retval) retval 455 fs/namei.c return retval; retval 2330 fs/namei.c int retval; retval 2339 fs/namei.c retval = path_lookupat(&nd, flags | LOOKUP_RCU, path); retval 2340 fs/namei.c if (unlikely(retval == -ECHILD)) retval 2341 fs/namei.c retval = path_lookupat(&nd, flags, path); retval 2342 fs/namei.c if (unlikely(retval == -ESTALE)) retval 2343 fs/namei.c retval = path_lookupat(&nd, flags | LOOKUP_REVAL, path); retval 2345 fs/namei.c if (likely(!retval)) retval 2349 fs/namei.c return retval; retval 2373 fs/namei.c int retval; retval 2379 fs/namei.c retval = path_parentat(&nd, flags | LOOKUP_RCU, parent); retval 2380 fs/namei.c if (unlikely(retval == -ECHILD)) retval 2381 fs/namei.c retval = path_parentat(&nd, flags, parent); retval 2382 fs/namei.c if (unlikely(retval == -ESTALE)) retval 2383 fs/namei.c retval = path_parentat(&nd, flags | LOOKUP_REVAL, parent); retval 2384 fs/namei.c if (likely(!retval)) { retval 2390 fs/namei.c name = ERR_PTR(retval); retval 1509 fs/namespace.c int retval; retval 1511 fs/namespace.c retval = security_sb_umount(&mnt->mnt, flags); retval 1512 fs/namespace.c if (retval) retval 1513 fs/namespace.c return retval; retval 1578 fs/namespace.c retval = -EINVAL; retval 1586 fs/namespace.c retval = 0; retval 1589 fs/namespace.c retval = -EBUSY; retval 1593 fs/namespace.c retval = 0; retval 1599 fs/namespace.c return retval; retval 1671 fs/namespace.c int retval; retval 1683 fs/namespace.c retval = user_path_mountpoint_at(AT_FDCWD, name, lookup_flags, &path); retval 1684 fs/namespace.c if (retval) retval 1687 fs/namespace.c retval = -EINVAL; retval 1694 fs/namespace.c retval = -EPERM; retval 1698 fs/namespace.c retval = do_umount(mnt, flags); retval 1704 fs/namespace.c return retval; retval 3066 fs/namespace.c int retval = 0; retval 3080 fs/namespace.c retval = user_path_at(AT_FDCWD, dir_name, LOOKUP_FOLLOW, &path); retval 3081 fs/namespace.c if (retval) retval 3082 fs/namespace.c return retval; retval 3084 fs/namespace.c retval = security_sb_mount(dev_name, &path, retval 3086 fs/namespace.c if (!retval && !may_mount()) retval 3087 fs/namespace.c retval = -EPERM; retval 3088 fs/namespace.c if (!retval && (flags & SB_MANDLOCK) && !may_mandlock()) retval 3089 fs/namespace.c retval = -EPERM; retval 3090 fs/namespace.c if (retval) retval 3131 fs/namespace.c retval = do_reconfigure_mnt(&path, mnt_flags); retval 3133 fs/namespace.c retval = do_remount(&path, flags, sb_flags, mnt_flags, retval 3136 fs/namespace.c retval = do_loopback(&path, dev_name, flags & MS_REC); retval 3138 fs/namespace.c retval = do_change_type(&path, flags); retval 3140 fs/namespace.c retval = do_move_mount_old(&path, dev_name); retval 3142 fs/namespace.c retval = do_new_mount(&path, type_page, sb_flags, mnt_flags, retval 3146 fs/namespace.c return retval; retval 127 fs/nfs/file.c int retval = nfs_revalidate_file_size(inode, filp); retval 128 fs/nfs/file.c if (retval < 0) retval 129 fs/nfs/file.c return (loff_t)retval; retval 3212 fs/nfs/nfs4xdr.c int retval; retval 3214 fs/nfs/nfs4xdr.c __decode_op_hdr(xdr, expected, &retval); retval 3215 fs/nfs/nfs4xdr.c return retval; retval 221 fs/nfs/nfsroot.c int len, retval = -1; retval 272 fs/nfs/nfsroot.c retval = 0; retval 276 fs/nfs/nfsroot.c return retval; retval 1459 fs/nfs/pnfs.c int retval = -EAGAIN; retval 1466 fs/nfs/pnfs.c retval = 0; retval 1481 fs/nfs/pnfs.c retval = 0; retval 1496 fs/nfs/pnfs.c return retval; retval 1454 fs/nfsd/nfsctl.c int retval; retval 1458 fs/nfsd/nfsctl.c retval = nfsd_export_init(net); retval 1459 fs/nfsd/nfsctl.c if (retval) retval 1461 fs/nfsd/nfsctl.c retval = nfsd_idmap_init(net); retval 1462 fs/nfsd/nfsctl.c if (retval) retval 1466 fs/nfsd/nfsctl.c retval = nfsd_reply_cache_init(nn); retval 1467 fs/nfsd/nfsctl.c if (retval) retval 1484 fs/nfsd/nfsctl.c retval = PTR_ERR(mnt); retval 1497 fs/nfsd/nfsctl.c return retval; retval 1520 fs/nfsd/nfsctl.c int retval; retval 1523 fs/nfsd/nfsctl.c retval = register_pernet_subsys(&nfsd_net_ops); retval 1524 fs/nfsd/nfsctl.c if (retval < 0) retval 1525 fs/nfsd/nfsctl.c return retval; retval 1526 fs/nfsd/nfsctl.c retval = register_cld_notifier(); retval 1527 fs/nfsd/nfsctl.c if (retval) retval 1529 fs/nfsd/nfsctl.c retval = nfsd4_init_slabs(); retval 1530 fs/nfsd/nfsctl.c if (retval) retval 1532 fs/nfsd/nfsctl.c retval = nfsd4_init_pnfs(); retval 1533 fs/nfsd/nfsctl.c if (retval) retval 1538 fs/nfsd/nfsctl.c retval = create_proc_exports_entry(); retval 1539 fs/nfsd/nfsctl.c if (retval) retval 1541 fs/nfsd/nfsctl.c retval = register_filesystem(&nfsd_fs_type); retval 1542 fs/nfsd/nfsctl.c if (retval) retval 1559 fs/nfsd/nfsctl.c return retval; retval 121 fs/ocfs2/acl.c int retval; retval 134 fs/ocfs2/acl.c retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, "", NULL, 0); retval 135 fs/ocfs2/acl.c if (retval > 0) { retval 136 fs/ocfs2/acl.c value = kmalloc(retval, GFP_NOFS); retval 139 fs/ocfs2/acl.c retval = ocfs2_xattr_get_nolock(inode, di_bh, name_index, retval 140 fs/ocfs2/acl.c "", value, retval); retval 143 fs/ocfs2/acl.c if (retval > 0) retval 144 fs/ocfs2/acl.c acl = ocfs2_acl_from_xattr(value, retval); retval 145 fs/ocfs2/acl.c else if (retval == -ENODATA || retval == 0) retval 148 fs/ocfs2/acl.c acl = ERR_PTR(retval); retval 952 fs/ocfs2/alloc.c int retval; retval 962 fs/ocfs2/alloc.c retval = ocfs2_read_extent_block(et->et_ci, last_eb_blk, retval 964 fs/ocfs2/alloc.c if (retval < 0) { retval 965 fs/ocfs2/alloc.c mlog_errno(retval); retval 974 fs/ocfs2/alloc.c retval = le16_to_cpu(el->l_count) - le16_to_cpu(el->l_next_free_rec); retval 978 fs/ocfs2/alloc.c trace_ocfs2_num_free_extents(retval); retval 979 fs/ocfs2/alloc.c return retval; retval 1593 fs/ocfs2/dir.c int retval; retval 1614 fs/ocfs2/dir.c retval = ocfs2_journal_access_dr(handle, retval 1619 fs/ocfs2/dir.c retval = ocfs2_journal_access_db(handle, retval 1623 fs/ocfs2/dir.c if (retval) { retval 1624 fs/ocfs2/dir.c mlog_errno(retval); retval 1625 fs/ocfs2/dir.c return retval; retval 1644 fs/ocfs2/dir.c retval = -ENOENT; retval 1648 fs/ocfs2/dir.c retval = -EEXIST; retval 1664 fs/ocfs2/dir.c retval = ocfs2_mark_inode_dirty(handle, dir, parent_fe_bh); retval 1665 fs/ocfs2/dir.c if (retval < 0) { retval 1666 fs/ocfs2/dir.c mlog_errno(retval); retval 1671 fs/ocfs2/dir.c retval = ocfs2_journal_access_di(handle, retval 1676 fs/ocfs2/dir.c retval = ocfs2_journal_access_db(handle, retval 1681 fs/ocfs2/dir.c if (!retval && ocfs2_dir_indexed(dir)) retval 1682 fs/ocfs2/dir.c retval = ocfs2_dx_dir_insert(dir, retval 1687 fs/ocfs2/dir.c if (retval) { retval 1688 fs/ocfs2/dir.c mlog_errno(retval); retval 1717 fs/ocfs2/dir.c retval = 0; retval 1727 fs/ocfs2/dir.c retval = -ENOSPC; retval 1729 fs/ocfs2/dir.c if (retval) retval 1730 fs/ocfs2/dir.c mlog_errno(retval); retval 1732 fs/ocfs2/dir.c return retval; retval 1163 fs/open.c int retval = 0; retval 1171 fs/open.c retval = filp->f_op->flush(filp, id); retval 1178 fs/open.c return retval; retval 1190 fs/open.c int retval = __close_fd(current->files, fd); retval 1193 fs/open.c if (unlikely(retval == -ERESTARTSYS || retval 1194 fs/open.c retval == -ERESTARTNOINTR || retval 1195 fs/open.c retval == -ERESTARTNOHAND || retval 1196 fs/open.c retval == -ERESTART_RESTARTBLOCK)) retval 1197 fs/open.c retval = -EINTR; retval 1199 fs/open.c return retval; retval 611 fs/pipe.c int retval = 0; retval 615 fs/pipe.c retval = fasync_helper(fd, filp, on, &pipe->fasync_readers); retval 616 fs/pipe.c if ((filp->f_mode & FMODE_WRITE) && retval >= 0) { retval 617 fs/pipe.c retval = fasync_helper(fd, filp, on, &pipe->fasync_writers); retval 618 fs/pipe.c if (retval < 0 && (filp->f_mode & FMODE_READ)) retval 623 fs/pipe.c return retval; retval 948 fs/proc/base.c int retval; retval 958 fs/proc/base.c retval = access_remote_vm(mm, (env_start + src), page, this_len, FOLL_ANON); retval 960 fs/proc/base.c if (retval <= 0) { retval 961 fs/proc/base.c ret = retval; retval 965 fs/proc/base.c if (copy_to_user(buf, page, retval)) { retval 970 fs/proc/base.c ret += retval; retval 971 fs/proc/base.c src += retval; retval 972 fs/proc/base.c buf += retval; retval 973 fs/proc/base.c count -= retval; retval 120 fs/ramfs/inode.c int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0); retval 121 fs/ramfs/inode.c if (!retval) retval 123 fs/ramfs/inode.c return retval; retval 239 fs/read_write.c loff_t retval; retval 248 fs/read_write.c retval = file->f_pos; retval 260 fs/read_write.c retval = -ENXIO; retval 271 fs/read_write.c retval = -ENXIO; retval 277 fs/read_write.c retval = -EINVAL; retval 283 fs/read_write.c retval = offset; retval 287 fs/read_write.c return retval; retval 306 fs/read_write.c off_t retval; retval 311 fs/read_write.c retval = -EINVAL; retval 314 fs/read_write.c retval = res; retval 315 fs/read_write.c if (res != (loff_t)retval) retval 316 fs/read_write.c retval = -EOVERFLOW; /* LFS: should only happen on 32 bit platforms */ retval 319 fs/read_write.c return retval; retval 339 fs/read_write.c int retval; retval 346 fs/read_write.c retval = -EINVAL; retval 353 fs/read_write.c retval = (int)offset; retval 355 fs/read_write.c retval = -EFAULT; retval 357 fs/read_write.c retval = 0; retval 361 fs/read_write.c return retval; retval 368 fs/read_write.c int retval = -EINVAL; retval 372 fs/read_write.c return retval; retval 383 fs/read_write.c return retval; retval 388 fs/read_write.c return retval; retval 392 fs/read_write.c retval = locks_mandatory_area(inode, file, pos, pos + count - 1, retval 394 fs/read_write.c if (retval < 0) retval 395 fs/read_write.c return retval; retval 1400 fs/read_write.c ssize_t retval; retval 1406 fs/read_write.c retval = -EBADF; retval 1412 fs/read_write.c retval = -ESPIPE; retval 1420 fs/read_write.c retval = rw_verify_area(READ, in.file, &pos, count); retval 1421 fs/read_write.c if (retval < 0) retval 1429 fs/read_write.c retval = -EBADF; retval 1438 fs/read_write.c retval = rw_verify_area(WRITE, out.file, &out_pos, count); retval 1439 fs/read_write.c if (retval < 0) retval 1446 fs/read_write.c retval = -EOVERFLOW; retval 1464 fs/read_write.c retval = do_splice_direct(in.file, &pos, out.file, &out_pos, count, fl); retval 1467 fs/read_write.c if (retval > 0) { retval 1468 fs/read_write.c add_rchar(current, retval); retval 1469 fs/read_write.c add_wchar(current, retval); retval 1482 fs/read_write.c retval = -EOVERFLOW; retval 1489 fs/read_write.c return retval; retval 1765 fs/read_write.c int retval; retval 1767 fs/read_write.c retval = locks_mandatory_area(inode, file, pos, end, retval 1769 fs/read_write.c if (retval < 0) retval 1770 fs/read_write.c return retval; retval 1649 fs/reiserfs/do_balan.c int retval = 0; retval 1664 fs/reiserfs/do_balan.c retval |= locked_or_not_in_tree(tb, tb->L[0], "L[0]"); retval 1665 fs/reiserfs/do_balan.c retval |= locked_or_not_in_tree(tb, tb->FL[0], "FL[0]"); retval 1666 fs/reiserfs/do_balan.c retval |= locked_or_not_in_tree(tb, tb->CFL[0], "CFL[0]"); retval 1670 fs/reiserfs/do_balan.c retval |= locked_or_not_in_tree(tb, tb->R[0], "R[0]"); retval 1671 fs/reiserfs/do_balan.c retval |= locked_or_not_in_tree(tb, tb->FR[0], "FR[0]"); retval 1672 fs/reiserfs/do_balan.c retval |= locked_or_not_in_tree(tb, tb->CFR[0], "CFR[0]"); retval 1675 fs/reiserfs/do_balan.c retval |= locked_or_not_in_tree(tb, PATH_PLAST_BUFFER(tb->tb_path), retval 1679 fs/reiserfs/do_balan.c return retval; retval 833 fs/reiserfs/fix_node.c int retval = CARRY_ON; retval 905 fs/reiserfs/fix_node.c if (retval == CARRY_ON && FILESYSTEM_CHANGED_TB(tb)) retval 906 fs/reiserfs/fix_node.c retval = REPEAT_SEARCH; retval 908 fs/reiserfs/fix_node.c return retval; retval 214 fs/reiserfs/inode.c static inline int allocation_needed(int retval, b_blocknr_t allocated, retval 220 fs/reiserfs/inode.c if (retval == POSITION_FOUND && is_indirect_le_ih(ih) && retval 226 fs/reiserfs/inode.c static inline int indirect_item_found(int retval, struct item_head *ih) retval 228 fs/reiserfs/inode.c return (retval == POSITION_FOUND) && is_indirect_le_ih(ih); retval 585 fs/reiserfs/inode.c int retval = 0; retval 601 fs/reiserfs/inode.c retval = -ENOMEM; retval 620 fs/reiserfs/inode.c retval = __reiserfs_write_begin(tail_page, tail_start, retval 622 fs/reiserfs/inode.c if (retval) retval 628 fs/reiserfs/inode.c retval = reiserfs_commit_write(NULL, tail_page, tail_start, tail_end); retval 636 fs/reiserfs/inode.c return retval; retval 660 fs/reiserfs/inode.c int repeat, retval = 0; retval 734 fs/reiserfs/inode.c retval = -ENOMEM; retval 741 fs/reiserfs/inode.c retval = search_for_position_by_key(inode->i_sb, &key, &path); retval 742 fs/reiserfs/inode.c if (retval == IO_ERROR) { retval 743 fs/reiserfs/inode.c retval = -EIO; retval 756 fs/reiserfs/inode.c (retval, allocated_block_nr, ih, item, pos_in_item)) { retval 774 fs/reiserfs/inode.c retval = restart_transaction(th, inode, &path); retval 775 fs/reiserfs/inode.c if (retval) retval 785 fs/reiserfs/inode.c retval = -EDQUOT; retval 787 fs/reiserfs/inode.c retval = -ENOSPC; retval 797 fs/reiserfs/inode.c if (indirect_item_found(retval, ih)) { retval 825 fs/reiserfs/inode.c retval = 0; retval 827 fs/reiserfs/inode.c retval = reiserfs_end_persistent_transaction(th); retval 836 fs/reiserfs/inode.c return retval; retval 875 fs/reiserfs/inode.c retval = retval 878 fs/reiserfs/inode.c if (retval) { retval 920 fs/reiserfs/inode.c retval = retval 924 fs/reiserfs/inode.c if (retval) retval 928 fs/reiserfs/inode.c retval = retval 931 fs/reiserfs/inode.c if (retval) { retval 932 fs/reiserfs/inode.c if (retval != -ENOSPC) retval 938 fs/reiserfs/inode.c retval); retval 956 fs/reiserfs/inode.c retval = retval 959 fs/reiserfs/inode.c if (retval) { retval 1076 fs/reiserfs/inode.c retval = retval 1085 fs/reiserfs/inode.c if (retval) { retval 1114 fs/reiserfs/inode.c retval = restart_transaction(th, inode, &path); retval 1115 fs/reiserfs/inode.c if (retval) retval 1125 fs/reiserfs/inode.c retval = search_for_position_by_key(inode->i_sb, &key, &path); retval 1126 fs/reiserfs/inode.c if (retval == IO_ERROR) { retval 1127 fs/reiserfs/inode.c retval = -EIO; retval 1130 fs/reiserfs/inode.c if (retval == POSITION_FOUND) { retval 1133 fs/reiserfs/inode.c retval = -EEXIST; retval 1146 fs/reiserfs/inode.c retval = 0; retval 1149 fs/reiserfs/inode.c if (th && (!dangle || (retval && !th->t_trans_id))) { retval 1155 fs/reiserfs/inode.c retval = err; retval 1160 fs/reiserfs/inode.c return retval; retval 1455 fs/reiserfs/inode.c int retval; retval 1465 fs/reiserfs/inode.c retval = search_item(inode->i_sb, &key, &path); retval 1466 fs/reiserfs/inode.c if (retval == IO_ERROR) { retval 1472 fs/reiserfs/inode.c if (retval == ITEM_NOT_FOUND) { retval 1548 fs/reiserfs/inode.c int retval; retval 1563 fs/reiserfs/inode.c retval = search_item(inode->i_sb, &key, &path_to_sd); retval 1564 fs/reiserfs/inode.c if (retval == IO_ERROR) { retval 1573 fs/reiserfs/inode.c if (retval != ITEM_FOUND) { retval 1813 fs/reiserfs/inode.c int retval; retval 1845 fs/reiserfs/inode.c retval = search_item(sb, &key, path); retval 1846 fs/reiserfs/inode.c if (retval == IO_ERROR) { retval 1851 fs/reiserfs/inode.c if (retval == ITEM_FOUND) { retval 1875 fs/reiserfs/inode.c int retval; retval 1888 fs/reiserfs/inode.c retval = search_item(sb, &key, path); retval 1889 fs/reiserfs/inode.c if (retval == IO_ERROR) { retval 1894 fs/reiserfs/inode.c if (retval == ITEM_FOUND) { retval 1940 fs/reiserfs/inode.c int retval; retval 2027 fs/reiserfs/inode.c retval = search_item(sb, &key, &path_to_key); retval 2028 fs/reiserfs/inode.c if (retval == IO_ERROR) { retval 2032 fs/reiserfs/inode.c if (retval == ITEM_FOUND) { retval 2067 fs/reiserfs/inode.c retval = retval 2070 fs/reiserfs/inode.c if (retval) { retval 2071 fs/reiserfs/inode.c err = retval; retval 2081 fs/reiserfs/inode.c retval = retval 2089 fs/reiserfs/inode.c retval = retval 2093 fs/reiserfs/inode.c if (retval) { retval 2094 fs/reiserfs/inode.c err = retval; retval 2111 fs/reiserfs/inode.c retval = reiserfs_inherit_default_acl(th, dir, dentry, inode); retval 2113 fs/reiserfs/inode.c if (retval) { retval 2114 fs/reiserfs/inode.c err = retval; retval 2127 fs/reiserfs/inode.c retval = reiserfs_security_write(th, inode, security); retval 2129 fs/reiserfs/inode.c if (retval) { retval 2130 fs/reiserfs/inode.c err = retval; retval 2132 fs/reiserfs/inode.c retval = journal_end(th); retval 2133 fs/reiserfs/inode.c if (retval) retval 2134 fs/reiserfs/inode.c err = retval; retval 2383 fs/reiserfs/inode.c int retval; retval 2405 fs/reiserfs/inode.c retval = search_for_position_by_key(inode->i_sb, &key, &path); retval 2406 fs/reiserfs/inode.c if (retval != POSITION_FOUND) { retval 2417 fs/reiserfs/inode.c if (indirect_item_found(retval, ih)) { retval 2440 fs/reiserfs/inode.c retval = journal_begin(&th, inode->i_sb, jbegin_count); retval 2441 fs/reiserfs/inode.c if (retval) retval 2479 fs/reiserfs/inode.c retval = -EIO; retval 2482 fs/reiserfs/inode.c retval = 0; retval 2489 fs/reiserfs/inode.c retval = err; retval 2496 fs/reiserfs/inode.c retval = reiserfs_get_block(inode, block, bh_result, retval 2499 fs/reiserfs/inode.c if (!retval) { retval 2510 fs/reiserfs/inode.c if (!retval && buffer_mapped(bh_result) && bh_result->b_blocknr == 0) { retval 2519 fs/reiserfs/inode.c return retval; retval 170 fs/reiserfs/ioctl.c int retval = 0; retval 210 fs/reiserfs/ioctl.c retval = -ENOMEM; retval 214 fs/reiserfs/ioctl.c retval = __reiserfs_write_begin(page, write_from, 0); retval 215 fs/reiserfs/ioctl.c if (retval) retval 220 fs/reiserfs/ioctl.c retval = reiserfs_commit_write(NULL, page, write_from, write_from); retval 230 fs/reiserfs/ioctl.c return retval; retval 582 fs/reiserfs/item_ops.c int i, retval; retval 586 fs/reiserfs/item_ops.c retval = 0; retval 594 fs/reiserfs/item_ops.c retval += dir_u->entry_sizes[i]; retval 596 fs/reiserfs/item_ops.c return retval; retval 980 fs/reiserfs/journal.c int retval = 0; retval 1036 fs/reiserfs/journal.c if (ret < 0 && retval == 0) retval 1037 fs/reiserfs/journal.c retval = ret; retval 1090 fs/reiserfs/journal.c retval = -EIO; retval 1107 fs/reiserfs/journal.c if (likely(!retval && !reiserfs_is_journal_aborted (journal))) { retval 1129 fs/reiserfs/journal.c retval = -EIO; retval 1145 fs/reiserfs/journal.c retval = retval ? retval : journal->j_errno; retval 1148 fs/reiserfs/journal.c if (!retval) retval 1159 fs/reiserfs/journal.c if (retval) retval 1160 fs/reiserfs/journal.c reiserfs_abort(s, retval, "Journal write error in %s", retval 1162 fs/reiserfs/journal.c return retval; retval 3022 fs/reiserfs/journal.c int retval; retval 3037 fs/reiserfs/journal.c retval = journal->j_errno; retval 3094 fs/reiserfs/journal.c retval = journal_join(&myth, sb); retval 3095 fs/reiserfs/journal.c if (retval) retval 3100 fs/reiserfs/journal.c retval = do_journal_end(&myth, 0); retval 3102 fs/reiserfs/journal.c retval = do_journal_end(&myth, COMMIT_NOW); retval 3105 fs/reiserfs/journal.c if (retval) retval 3132 fs/reiserfs/journal.c return retval; retval 123 fs/reiserfs/namei.c int retval; retval 125 fs/reiserfs/namei.c retval = search_item(sb, key, path); retval 126 fs/reiserfs/namei.c switch (retval) { retval 140 fs/reiserfs/namei.c return retval; retval 164 fs/reiserfs/namei.c retval = bin_search_in_dir_item(de, cpu_key_k_offset(key)); retval 166 fs/reiserfs/namei.c if (retval != NAME_NOT_FOUND) { retval 174 fs/reiserfs/namei.c return retval; retval 211 fs/reiserfs/namei.c int retval = NAME_NOT_FOUND; retval 215 fs/reiserfs/namei.c retval = retval 219 fs/reiserfs/namei.c return retval; retval 231 fs/reiserfs/namei.c int retval; retval 267 fs/reiserfs/namei.c if ((retval = retval 276 fs/reiserfs/namei.c return retval; retval 309 fs/reiserfs/namei.c int retval; retval 320 fs/reiserfs/namei.c retval = retval 323 fs/reiserfs/namei.c if (retval == IO_ERROR) { retval 329 fs/reiserfs/namei.c retval = retval 336 fs/reiserfs/namei.c if (retval != GOTO_PREVIOUS_ITEM) { retval 338 fs/reiserfs/namei.c return retval; retval 355 fs/reiserfs/namei.c int retval; retval 366 fs/reiserfs/namei.c retval = retval 370 fs/reiserfs/namei.c if (retval == NAME_FOUND) { retval 389 fs/reiserfs/namei.c if (retval == IO_ERROR) { retval 402 fs/reiserfs/namei.c int retval; retval 414 fs/reiserfs/namei.c retval = reiserfs_find_entry(dir, "..", 2, &path_to_entry, &de); retval 416 fs/reiserfs/namei.c if (retval != NAME_FOUND) { retval 451 fs/reiserfs/namei.c int retval; retval 510 fs/reiserfs/namei.c retval = reiserfs_find_entry(dir, name, namelen, &path, &de); retval 511 fs/reiserfs/namei.c if (retval != NAME_NOT_FOUND) { retval 516 fs/reiserfs/namei.c if (retval == IO_ERROR) { retval 520 fs/reiserfs/namei.c if (retval != NAME_FOUND) { retval 523 fs/reiserfs/namei.c "unexpected value (%d)", retval); retval 565 fs/reiserfs/namei.c retval = retval 570 fs/reiserfs/namei.c if (retval) { retval 572 fs/reiserfs/namei.c return retval; retval 625 fs/reiserfs/namei.c int retval; retval 638 fs/reiserfs/namei.c retval = dquot_initialize(dir); retval 639 fs/reiserfs/namei.c if (retval) retval 640 fs/reiserfs/namei.c return retval; retval 645 fs/reiserfs/namei.c retval = new_inode_init(inode, dir, mode); retval 646 fs/reiserfs/namei.c if (retval) { retval 648 fs/reiserfs/namei.c return retval; retval 652 fs/reiserfs/namei.c retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); retval 653 fs/reiserfs/namei.c if (retval < 0) { retval 655 fs/reiserfs/namei.c return retval; retval 657 fs/reiserfs/namei.c jbegin_count += retval; retval 660 fs/reiserfs/namei.c retval = journal_begin(&th, dir->i_sb, jbegin_count); retval 661 fs/reiserfs/namei.c if (retval) { retval 666 fs/reiserfs/namei.c retval = retval 669 fs/reiserfs/namei.c if (retval) retval 676 fs/reiserfs/namei.c retval = retval 679 fs/reiserfs/namei.c if (retval) { retval 685 fs/reiserfs/namei.c retval = err; retval 694 fs/reiserfs/namei.c retval = journal_end(&th); retval 698 fs/reiserfs/namei.c return retval; retval 704 fs/reiserfs/namei.c int retval; retval 717 fs/reiserfs/namei.c retval = dquot_initialize(dir); retval 718 fs/reiserfs/namei.c if (retval) retval 719 fs/reiserfs/namei.c return retval; retval 724 fs/reiserfs/namei.c retval = new_inode_init(inode, dir, mode); retval 725 fs/reiserfs/namei.c if (retval) { retval 727 fs/reiserfs/namei.c return retval; retval 731 fs/reiserfs/namei.c retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); retval 732 fs/reiserfs/namei.c if (retval < 0) { retval 734 fs/reiserfs/namei.c return retval; retval 736 fs/reiserfs/namei.c jbegin_count += retval; retval 739 fs/reiserfs/namei.c retval = journal_begin(&th, dir->i_sb, jbegin_count); retval 740 fs/reiserfs/namei.c if (retval) { retval 745 fs/reiserfs/namei.c retval = retval 748 fs/reiserfs/namei.c if (retval) { retval 761 fs/reiserfs/namei.c retval = retval 764 fs/reiserfs/namei.c if (retval) { retval 770 fs/reiserfs/namei.c retval = err; retval 777 fs/reiserfs/namei.c retval = journal_end(&th); retval 781 fs/reiserfs/namei.c return retval; retval 786 fs/reiserfs/namei.c int retval; retval 799 fs/reiserfs/namei.c retval = dquot_initialize(dir); retval 800 fs/reiserfs/namei.c if (retval) retval 801 fs/reiserfs/namei.c return retval; retval 814 fs/reiserfs/namei.c retval = new_inode_init(inode, dir, mode); retval 815 fs/reiserfs/namei.c if (retval) { retval 817 fs/reiserfs/namei.c return retval; retval 821 fs/reiserfs/namei.c retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); retval 822 fs/reiserfs/namei.c if (retval < 0) { retval 824 fs/reiserfs/namei.c return retval; retval 826 fs/reiserfs/namei.c jbegin_count += retval; retval 829 fs/reiserfs/namei.c retval = journal_begin(&th, dir->i_sb, jbegin_count); retval 830 fs/reiserfs/namei.c if (retval) { retval 841 fs/reiserfs/namei.c retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */ , retval 845 fs/reiserfs/namei.c if (retval) { retval 857 fs/reiserfs/namei.c retval = retval 860 fs/reiserfs/namei.c if (retval) { retval 867 fs/reiserfs/namei.c retval = err; retval 876 fs/reiserfs/namei.c retval = journal_end(&th); retval 879 fs/reiserfs/namei.c return retval; retval 899 fs/reiserfs/namei.c int retval, err; retval 916 fs/reiserfs/namei.c retval = dquot_initialize(dir); retval 917 fs/reiserfs/namei.c if (retval) retval 918 fs/reiserfs/namei.c return retval; retval 921 fs/reiserfs/namei.c retval = journal_begin(&th, dir->i_sb, jbegin_count); retval 922 fs/reiserfs/namei.c if (retval) retval 926 fs/reiserfs/namei.c if ((retval = retval 929 fs/reiserfs/namei.c retval = -ENOENT; retval 931 fs/reiserfs/namei.c } else if (retval == IO_ERROR) { retval 932 fs/reiserfs/namei.c retval = -EIO; retval 945 fs/reiserfs/namei.c retval = -EIO; retval 949 fs/reiserfs/namei.c retval = -ENOTEMPTY; retval 954 fs/reiserfs/namei.c retval = reiserfs_cut_from_item(&th, &path, &de.de_entry_key, retval 957 fs/reiserfs/namei.c if (retval < 0) retval 976 fs/reiserfs/namei.c retval = journal_end(&th); retval 980 fs/reiserfs/namei.c return retval; retval 991 fs/reiserfs/namei.c return err ? err : retval; retval 996 fs/reiserfs/namei.c int retval, err; retval 1004 fs/reiserfs/namei.c retval = dquot_initialize(dir); retval 1005 fs/reiserfs/namei.c if (retval) retval 1006 fs/reiserfs/namei.c return retval; retval 1022 fs/reiserfs/namei.c retval = journal_begin(&th, dir->i_sb, jbegin_count); retval 1023 fs/reiserfs/namei.c if (retval) retval 1027 fs/reiserfs/namei.c if ((retval = retval 1030 fs/reiserfs/namei.c retval = -ENOENT; retval 1032 fs/reiserfs/namei.c } else if (retval == IO_ERROR) { retval 1033 fs/reiserfs/namei.c retval = -EIO; retval 1044 fs/reiserfs/namei.c retval = -EIO; retval 1063 fs/reiserfs/namei.c retval = retval 1066 fs/reiserfs/namei.c if (retval < 0) { retval 1081 fs/reiserfs/namei.c retval = journal_end(&th); retval 1084 fs/reiserfs/namei.c return retval; retval 1091 fs/reiserfs/namei.c retval = err; retval 1094 fs/reiserfs/namei.c return retval; retval 1100 fs/reiserfs/namei.c int retval; retval 1116 fs/reiserfs/namei.c retval = dquot_initialize(parent_dir); retval 1117 fs/reiserfs/namei.c if (retval) retval 1118 fs/reiserfs/namei.c return retval; retval 1123 fs/reiserfs/namei.c retval = new_inode_init(inode, parent_dir, mode); retval 1124 fs/reiserfs/namei.c if (retval) { retval 1126 fs/reiserfs/namei.c return retval; retval 1129 fs/reiserfs/namei.c retval = reiserfs_security_init(parent_dir, inode, &dentry->d_name, retval 1131 fs/reiserfs/namei.c if (retval < 0) { retval 1133 fs/reiserfs/namei.c return retval; retval 1135 fs/reiserfs/namei.c jbegin_count += retval; retval 1140 fs/reiserfs/namei.c retval = -ENAMETOOLONG; retval 1148 fs/reiserfs/namei.c retval = -ENOMEM; retval 1154 fs/reiserfs/namei.c retval = journal_begin(&th, parent_dir->i_sb, jbegin_count); retval 1155 fs/reiserfs/namei.c if (retval) { retval 1161 fs/reiserfs/namei.c retval = retval 1165 fs/reiserfs/namei.c if (retval) { /* reiserfs_new_inode iputs for us */ retval 1176 fs/reiserfs/namei.c retval = reiserfs_add_entry(&th, parent_dir, dentry->d_name.name, retval 1178 fs/reiserfs/namei.c if (retval) { retval 1184 fs/reiserfs/namei.c retval = err; retval 1191 fs/reiserfs/namei.c retval = journal_end(&th); retval 1194 fs/reiserfs/namei.c return retval; retval 1200 fs/reiserfs/namei.c int retval; retval 1211 fs/reiserfs/namei.c retval = dquot_initialize(dir); retval 1212 fs/reiserfs/namei.c if (retval) retval 1213 fs/reiserfs/namei.c return retval; retval 1225 fs/reiserfs/namei.c retval = journal_begin(&th, dir->i_sb, jbegin_count); retval 1226 fs/reiserfs/namei.c if (retval) { retval 1229 fs/reiserfs/namei.c return retval; retval 1233 fs/reiserfs/namei.c retval = retval 1240 fs/reiserfs/namei.c if (retval) { retval 1245 fs/reiserfs/namei.c return err ? err : retval; retval 1253 fs/reiserfs/namei.c retval = journal_end(&th); retval 1255 fs/reiserfs/namei.c return retval; retval 1311 fs/reiserfs/namei.c int retval; retval 1341 fs/reiserfs/namei.c retval = dquot_initialize(old_dir); retval 1342 fs/reiserfs/namei.c if (retval) retval 1343 fs/reiserfs/namei.c return retval; retval 1344 fs/reiserfs/namei.c retval = dquot_initialize(new_dir); retval 1345 fs/reiserfs/namei.c if (retval) retval 1346 fs/reiserfs/namei.c return retval; retval 1357 fs/reiserfs/namei.c retval = retval 1362 fs/reiserfs/namei.c if (retval == IO_ERROR) { retval 1367 fs/reiserfs/namei.c if (retval != NAME_FOUND || old_de.de_objectid != old_inode->i_ino) { retval 1391 fs/reiserfs/namei.c retval = retval 1395 fs/reiserfs/namei.c if (retval != NAME_FOUND) { retval 1407 fs/reiserfs/namei.c retval = journal_begin(&th, old_dir->i_sb, jbegin_count); retval 1408 fs/reiserfs/namei.c if (retval) { retval 1410 fs/reiserfs/namei.c return retval; retval 1414 fs/reiserfs/namei.c retval = retval 1417 fs/reiserfs/namei.c if (retval == -EEXIST) { retval 1422 fs/reiserfs/namei.c } else if (retval) { retval 1425 fs/reiserfs/namei.c return err ? err : retval; retval 1445 fs/reiserfs/namei.c if ((retval = retval 1461 fs/reiserfs/namei.c retval = retval 1471 fs/reiserfs/namei.c if (retval != NAME_FOUND_INVISIBLE && retval != NAME_FOUND) { retval 1484 fs/reiserfs/namei.c if ((retval = retval 1639 fs/reiserfs/namei.c retval = journal_end(&th); retval 1641 fs/reiserfs/namei.c return retval; retval 71 fs/reiserfs/stree.c int retval; retval 73 fs/reiserfs/stree.c retval = comp_short_keys(le_key, cpu_key); retval 74 fs/reiserfs/stree.c if (retval) retval 75 fs/reiserfs/stree.c return retval; retval 595 fs/reiserfs/stree.c int node_level, retval; retval 743 fs/reiserfs/stree.c retval = bin_search(key, item_head(bh, 0), retval 750 fs/reiserfs/stree.c return retval; retval 758 fs/reiserfs/stree.c if (retval == ITEM_FOUND) retval 837 fs/reiserfs/stree.c int retval; retval 847 fs/reiserfs/stree.c retval = search_item(sb, p_cpu_key, search_path); retval 848 fs/reiserfs/stree.c if (retval == IO_ERROR) retval 849 fs/reiserfs/stree.c return retval; retval 850 fs/reiserfs/stree.c if (retval == ITEM_FOUND) { retval 1392 fs/reiserfs/stree.c int retval; retval 1400 fs/reiserfs/stree.c retval = search_item(th->t_super, &cpu_key, &path); retval 1401 fs/reiserfs/stree.c if (retval == IO_ERROR) { retval 1407 fs/reiserfs/stree.c if (retval != ITEM_FOUND) { retval 1434 fs/reiserfs/stree.c retval = fix_nodes(M_DELETE, &tb, NULL, NULL); retval 1435 fs/reiserfs/stree.c if (retval == REPEAT_SEARCH) { retval 1440 fs/reiserfs/stree.c if (retval == CARRY_ON) { retval 1876 fs/reiserfs/stree.c int retval; retval 1898 fs/reiserfs/stree.c retval = retval 1901 fs/reiserfs/stree.c if (retval == IO_ERROR) { retval 1908 fs/reiserfs/stree.c if (retval == POSITION_FOUND || retval == FILE_NOT_FOUND) { retval 1910 fs/reiserfs/stree.c "wrong result %d of search for %K", retval, retval 2075 fs/reiserfs/stree.c int retval; retval 2091 fs/reiserfs/stree.c retval = dquot_alloc_space_nodirty(inode, pasted_size); retval 2093 fs/reiserfs/stree.c if (retval) { retval 2095 fs/reiserfs/stree.c return retval; retval 2108 fs/reiserfs/stree.c while ((retval = retval 2114 fs/reiserfs/stree.c retval = retval 2117 fs/reiserfs/stree.c if (retval == IO_ERROR) { retval 2118 fs/reiserfs/stree.c retval = -EIO; retval 2121 fs/reiserfs/stree.c if (retval == POSITION_FOUND) { retval 2125 fs/reiserfs/stree.c retval = -EEXIST; retval 2137 fs/reiserfs/stree.c if (retval == CARRY_ON) { retval 2141 fs/reiserfs/stree.c retval = (retval == NO_DISK_SPACE) ? -ENOSPC : -EIO; retval 2154 fs/reiserfs/stree.c return retval; retval 2170 fs/reiserfs/stree.c int retval; retval 2198 fs/reiserfs/stree.c retval = dquot_alloc_space_nodirty(inode, quota_bytes); retval 2200 fs/reiserfs/stree.c if (retval) { retval 2202 fs/reiserfs/stree.c return retval; retval 2218 fs/reiserfs/stree.c while ((retval = retval 2224 fs/reiserfs/stree.c retval = search_item(th->t_super, key, path); retval 2225 fs/reiserfs/stree.c if (retval == IO_ERROR) { retval 2226 fs/reiserfs/stree.c retval = -EIO; retval 2229 fs/reiserfs/stree.c if (retval == ITEM_FOUND) { retval 2233 fs/reiserfs/stree.c retval = -EEXIST; retval 2239 fs/reiserfs/stree.c if (retval == CARRY_ON) { retval 2244 fs/reiserfs/stree.c retval = (retval == NO_DISK_SPACE) ? -ENOSPC : -EIO; retval 2259 fs/reiserfs/stree.c return retval; retval 230 fs/reiserfs/super.c int retval = 0; retval 284 fs/reiserfs/super.c while (!retval) { retval 286 fs/reiserfs/super.c retval = search_item(s, &max_cpu_key, &path); retval 287 fs/reiserfs/super.c if (retval != ITEM_NOT_FOUND) { retval 289 fs/reiserfs/super.c "search_by_key returned %d", retval); retval 331 fs/reiserfs/super.c retval = remove_save_link_only(s, &save_link_key, 1); retval 340 fs/reiserfs/super.c retval = remove_save_link_only(s, &save_link_key, 0); retval 359 fs/reiserfs/super.c retval = remove_save_link_only(s, &save_link_key, 0); retval 378 fs/reiserfs/super.c retval = remove_save_link(inode, truncate); retval 387 fs/reiserfs/super.c retval = 0; retval 393 fs/reiserfs/super.c retval = remove_save_link_only(s, retval 420 fs/reiserfs/super.c return retval; retval 433 fs/reiserfs/super.c int retval; retval 480 fs/reiserfs/super.c retval = search_item(inode->i_sb, &key, &path); retval 481 fs/reiserfs/super.c if (retval != ITEM_NOT_FOUND) { retval 482 fs/reiserfs/super.c if (retval != -ENOSPC) retval 485 fs/reiserfs/super.c retval); retval 494 fs/reiserfs/super.c retval = retval 496 fs/reiserfs/super.c if (retval) { retval 497 fs/reiserfs/super.c if (retval != -ENOSPC) retval 499 fs/reiserfs/super.c "insert_item returned %d", retval); retval 1732 fs/reiserfs/super.c int retval; retval 1744 fs/reiserfs/super.c retval = search_by_entry_key(s, &key, &path, &de); retval 1745 fs/reiserfs/super.c if (retval == IO_ERROR) { retval 1749 fs/reiserfs/super.c if (retval == NAME_NOT_FOUND) retval 44 fs/reiserfs/tail_conversion.c int retval; retval 83 fs/reiserfs/tail_conversion.c retval = retval 88 fs/reiserfs/tail_conversion.c retval = reiserfs_paste_into_item(th, path, &end_key, inode, retval 92 fs/reiserfs/tail_conversion.c if (retval) { retval 93 fs/reiserfs/tail_conversion.c return retval; retval 139 fs/reiserfs/tail_conversion.c retval = reiserfs_delete_item(th, path, &end_key, inode, retval 142 fs/reiserfs/tail_conversion.c total_tail += retval; retval 145 fs/reiserfs/tail_conversion.c if (tail_size == retval) retval 196 fs/reiserfs/xattr_acl.c int retval; retval 220 fs/reiserfs/xattr_acl.c retval = reiserfs_xattr_get(inode, name, value, size); retval 221 fs/reiserfs/xattr_acl.c if (retval == -ENODATA || retval == -ENOSYS) { retval 227 fs/reiserfs/xattr_acl.c } else if (retval < 0) { retval 228 fs/reiserfs/xattr_acl.c acl = ERR_PTR(retval); retval 230 fs/reiserfs/xattr_acl.c acl = reiserfs_posix_acl_from_disk(value, retval); retval 481 fs/select.c int retval, i, timed_out = 0; retval 487 fs/select.c retval = max_select_fd(n, fds); retval 490 fs/select.c if (retval < 0) retval 491 fs/select.c return retval; retval 492 fs/select.c n = retval; retval 504 fs/select.c retval = 0; retval 539 fs/select.c retval++; retval 544 fs/select.c retval++; retval 549 fs/select.c retval++; retval 553 fs/select.c if (retval) { retval 575 fs/select.c if (retval || timed_out || signal_pending(current)) retval 578 fs/select.c retval = table.error; retval 610 fs/select.c return retval; retval 313 fs/seq_file.c loff_t retval = -EINVAL; retval 324 fs/seq_file.c retval = offset; retval 326 fs/seq_file.c while ((retval = traverse(m, offset)) == -EAGAIN) retval 328 fs/seq_file.c if (retval) { retval 337 fs/seq_file.c retval = file->f_pos = offset; retval 345 fs/seq_file.c return retval; retval 113 fs/stat.c int retval; retval 115 fs/stat.c retval = security_inode_getattr(path); retval 116 fs/stat.c if (retval) retval 117 fs/stat.c return retval; retval 55 fs/statfs.c int retval; retval 61 fs/statfs.c retval = security_sb_statfs(dentry); retval 62 fs/statfs.c if (retval) retval 63 fs/statfs.c return retval; retval 64 fs/statfs.c retval = dentry->d_sb->s_op->statfs(dentry, buf); retval 65 fs/statfs.c if (retval == 0 && buf->f_frsize == 0) retval 67 fs/statfs.c return retval; retval 906 fs/super.c int retval; retval 915 fs/super.c retval = security_sb_remount(sb, fc->security); retval 916 fs/super.c if (retval) retval 917 fs/super.c return retval; retval 950 fs/super.c retval = sb_prepare_remount_readonly(sb); retval 951 fs/super.c if (retval) retval 952 fs/super.c return retval; retval 957 fs/super.c retval = fc->ops->reconfigure(fc); retval 958 fs/super.c if (retval) { retval 963 fs/super.c sb->s_type->name, retval); retval 987 fs/super.c return retval; retval 630 fs/tracefs/inode.c int retval; retval 632 fs/tracefs/inode.c retval = sysfs_create_mount_point(kernel_kobj, "tracing"); retval 633 fs/tracefs/inode.c if (retval) retval 636 fs/tracefs/inode.c retval = register_filesystem(&trace_fs_type); retval 637 fs/tracefs/inode.c if (!retval) retval 640 fs/tracefs/inode.c return retval; retval 39 fs/udf/balloc.c int retval = 0; retval 47 fs/udf/balloc.c retval = -EIO; retval 50 fs/udf/balloc.c return retval; retval 57 fs/udf/balloc.c int retval = 0; retval 68 fs/udf/balloc.c retval = read_block_bitmap(sb, bitmap, block_group, block_group); retval 69 fs/udf/balloc.c if (retval < 0) retval 70 fs/udf/balloc.c return retval; retval 138 fs/udf/file.c ssize_t retval; retval 146 fs/udf/file.c retval = generic_write_checks(iocb, from); retval 147 fs/udf/file.c if (retval <= 0) retval 169 fs/udf/file.c retval = __generic_file_write_iter(iocb, from); retval 173 fs/udf/file.c if (retval > 0) { retval 175 fs/udf/file.c retval = generic_write_sync(iocb, retval); retval 178 fs/udf/file.c return retval; retval 792 fs/udf/namei.c int retval; retval 798 fs/udf/namei.c retval = -ENOENT; retval 802 fs/udf/namei.c retval = PTR_ERR(fi); retval 806 fs/udf/namei.c retval = -EIO; retval 810 fs/udf/namei.c retval = -ENOTEMPTY; retval 813 fs/udf/namei.c retval = udf_delete_entry(dir, fi, &fibh, &cfi); retval 814 fs/udf/namei.c if (retval) retval 832 fs/udf/namei.c return retval; retval 837 fs/udf/namei.c int retval; retval 844 fs/udf/namei.c retval = -ENOENT; retval 849 fs/udf/namei.c retval = PTR_ERR(fi); retval 853 fs/udf/namei.c retval = -EIO; retval 863 fs/udf/namei.c retval = udf_delete_entry(dir, fi, &fibh, &cfi); retval 864 fs/udf/namei.c if (retval) retval 870 fs/udf/namei.c retval = 0; retval 878 fs/udf/namei.c return retval; retval 1079 fs/udf/namei.c int retval = -ENOENT; retval 1088 fs/udf/namei.c retval = PTR_ERR(ofi); retval 1103 fs/udf/namei.c retval = PTR_ERR(nfi); retval 1116 fs/udf/namei.c retval = -ENOTEMPTY; retval 1120 fs/udf/namei.c retval = -EIO; retval 1129 fs/udf/namei.c dir_bh = udf_bread(old_inode, 0, 0, &retval); retval 1144 fs/udf/namei.c &retval); retval 1200 fs/udf/namei.c retval = 0; retval 1210 fs/udf/namei.c return retval; retval 530 fs/xfs/libxfs/xfs_attr.c int newsize, forkoff, retval; retval 534 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr_shortform_lookup(args); retval 535 fs/xfs/libxfs/xfs_attr.c if ((args->flags & ATTR_REPLACE) && (retval == -ENOATTR)) { retval 536 fs/xfs/libxfs/xfs_attr.c return retval; retval 537 fs/xfs/libxfs/xfs_attr.c } else if (retval == -EEXIST) { retval 539 fs/xfs/libxfs/xfs_attr.c return retval; retval 540 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr_shortform_remove(args); retval 541 fs/xfs/libxfs/xfs_attr.c if (retval) retval 542 fs/xfs/libxfs/xfs_attr.c return retval; retval 583 fs/xfs/libxfs/xfs_attr.c int retval, error, forkoff; retval 600 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_lookup_int(bp, args); retval 601 fs/xfs/libxfs/xfs_attr.c if ((args->flags & ATTR_REPLACE) && (retval == -ENOATTR)) { retval 603 fs/xfs/libxfs/xfs_attr.c return retval; retval 604 fs/xfs/libxfs/xfs_attr.c } else if (retval == -EEXIST) { retval 607 fs/xfs/libxfs/xfs_attr.c return retval; retval 634 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_add(bp, args); retval 635 fs/xfs/libxfs/xfs_attr.c if (retval == -ENOSPC) { retval 852 fs/xfs/libxfs/xfs_attr.c int retval, error; retval 870 fs/xfs/libxfs/xfs_attr.c error = xfs_da3_node_lookup_int(state, &retval); retval 875 fs/xfs/libxfs/xfs_attr.c if ((args->flags & ATTR_REPLACE) && (retval == -ENOATTR)) { retval 877 fs/xfs/libxfs/xfs_attr.c } else if (retval == -EEXIST) { retval 901 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_add(blk->bp, state->args); retval 902 fs/xfs/libxfs/xfs_attr.c if (retval == -ENOSPC) { retval 1015 fs/xfs/libxfs/xfs_attr.c error = xfs_da3_node_lookup_int(state, &retval); retval 1030 fs/xfs/libxfs/xfs_attr.c if (retval && (state->path.active > 1)) { retval 1054 fs/xfs/libxfs/xfs_attr.c retval = error = 0; retval 1061 fs/xfs/libxfs/xfs_attr.c return retval; retval 1079 fs/xfs/libxfs/xfs_attr.c int retval, error, forkoff; retval 1094 fs/xfs/libxfs/xfs_attr.c error = xfs_da3_node_lookup_int(state, &retval); retval 1095 fs/xfs/libxfs/xfs_attr.c if (error || (retval != -EEXIST)) { retval 1097 fs/xfs/libxfs/xfs_attr.c error = retval; retval 1144 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_remove(blk->bp, args); retval 1150 fs/xfs/libxfs/xfs_attr.c if (retval && (state->path.active > 1)) { retval 1316 fs/xfs/libxfs/xfs_attr.c int error, retval; retval 1328 fs/xfs/libxfs/xfs_attr.c error = xfs_da3_node_lookup_int(state, &retval); retval 1330 fs/xfs/libxfs/xfs_attr.c retval = error; retval 1333 fs/xfs/libxfs/xfs_attr.c if (retval != -EEXIST) retval 1340 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_getvalue(blk->bp, args); retval 1352 fs/xfs/libxfs/xfs_attr.c return retval; retval 1870 fs/xfs/libxfs/xfs_attr_leaf.c int retval; retval 1905 fs/xfs/libxfs/xfs_attr_leaf.c 0, &retval); retval 1908 fs/xfs/libxfs/xfs_attr_leaf.c if (retval) { retval 1963 fs/xfs/libxfs/xfs_attr_leaf.c 0, &retval); retval 1966 fs/xfs/libxfs/xfs_attr_leaf.c 0, &retval); retval 1970 fs/xfs/libxfs/xfs_attr_leaf.c if (retval) { retval 76 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr3_leaf_toosmall(struct xfs_da_state *state, int *retval); retval 60 fs/xfs/libxfs/xfs_da_btree.c STATIC int xfs_da3_node_toosmall(xfs_da_state_t *state, int *retval); retval 1161 fs/xfs/libxfs/xfs_da_btree.c int retval; retval 1195 fs/xfs/libxfs/xfs_da_btree.c 0, &retval); retval 1198 fs/xfs/libxfs/xfs_da_btree.c if (retval) { retval 1251 fs/xfs/libxfs/xfs_da_btree.c 0, &retval); retval 1254 fs/xfs/libxfs/xfs_da_btree.c 0, &retval); retval 1258 fs/xfs/libxfs/xfs_da_btree.c if (retval) { retval 1500 fs/xfs/libxfs/xfs_da_btree.c int retval; retval 1630 fs/xfs/libxfs/xfs_da_btree.c retval = xfs_dir2_leafn_lookup_int(blk->bp, args, retval 1633 fs/xfs/libxfs/xfs_da_btree.c retval = xfs_attr3_leaf_lookup_int(blk->bp, args); retval 1640 fs/xfs/libxfs/xfs_da_btree.c if (((retval == -ENOENT) || (retval == -ENOATTR)) && retval 1643 fs/xfs/libxfs/xfs_da_btree.c &retval); retval 1646 fs/xfs/libxfs/xfs_da_btree.c if (retval == 0) { retval 1650 fs/xfs/libxfs/xfs_da_btree.c retval = -ENOATTR; retval 1655 fs/xfs/libxfs/xfs_da_btree.c *result = retval; retval 246 fs/xfs/scrub/dabtree.c int retval; retval 258 fs/xfs/scrub/dabtree.c direction, false, &retval); retval 259 fs/xfs/scrub/dabtree.c if (error == 0 && retval == 0) retval 267 fs/xfs/scrub/dabtree.c direction, false, &retval); retval 270 fs/xfs/scrub/dabtree.c if (retval) { retval 3940 fs/xfs/xfs_log.c int retval; retval 3989 fs/xfs/xfs_log.c retval = xlog_state_ioerror(log); retval 4027 fs/xfs/xfs_log.c return retval; retval 19 include/linux/armada-37xx-rwtm-mailbox.h u32 retval; retval 1299 include/linux/blkdev.h int retval = 512; retval 1302 include/linux/blkdev.h retval = q->limits.logical_block_size; retval 1304 include/linux/blkdev.h return retval; retval 133 include/linux/bpf-cgroup.h int retval); retval 318 include/linux/bpf-cgroup.h max_optlen, retval) \ retval 320 include/linux/bpf-cgroup.h int __ret = retval; \ retval 325 include/linux/bpf-cgroup.h retval); \ retval 402 include/linux/bpf-cgroup.h optlen, max_optlen, retval) ({ retval; }) retval 1232 include/linux/filter.h s32 retval; retval 49 include/linux/greybus/bundle.h int retval; retval 51 include/linux/greybus/bundle.h retval = pm_runtime_get_sync(&bundle->dev); retval 52 include/linux/greybus/bundle.h if (retval < 0) { retval 54 include/linux/greybus/bundle.h "pm_runtime_get_sync failed: %d\n", retval); retval 56 include/linux/greybus/bundle.h return retval; retval 64 include/linux/greybus/bundle.h int retval; retval 67 include/linux/greybus/bundle.h retval = pm_runtime_put_autosuspend(&bundle->dev); retval 69 include/linux/greybus/bundle.h return retval; retval 268 include/linux/msi.h void (*msi_finish)(msi_alloc_info_t *arg, int retval); retval 98 include/linux/platform_data/x86/asus-wmi.h int asus_wmi_evaluate_method(u32 method_id, u32 arg0, u32 arg1, u32 *retval); retval 101 include/linux/platform_data/x86/asus-wmi.h u32 *retval) retval 202 include/linux/sdla.h char retval; retval 152 include/linux/srcu.h int retval; retval 154 include/linux/srcu.h retval = __srcu_read_lock(ssp); retval 156 include/linux/srcu.h return retval; retval 163 include/linux/srcu.h int retval; retval 165 include/linux/srcu.h retval = __srcu_read_lock(ssp); retval 166 include/linux/srcu.h return retval; retval 536 include/linux/sunrpc/xdr.h ssize_t retval; retval 549 include/linux/sunrpc/xdr.h retval = len; retval 551 include/linux/sunrpc/xdr.h retval = -EMSGSIZE; retval 554 include/linux/sunrpc/xdr.h return retval; retval 364 include/linux/uaccess.h #define probe_kernel_address(addr, retval) \ retval 365 include/linux/uaccess.h probe_kernel_read(&retval, addr, sizeof(retval)) retval 27 include/linux/umh.h int retval; retval 142 include/net/sctp/command.h { union sctp_arg retval;\ retval 143 include/net/sctp/command.h retval.zero_all = NULL;\ retval 144 include/net/sctp/command.h retval.elt = arg;\ retval 145 include/net/sctp/command.h return retval;\ retval 179 include/net/sctp/command.h union sctp_arg retval; retval 180 include/net/sctp/command.h retval.zero_all = NULL; retval 181 include/net/sctp/command.h return retval; retval 243 include/trace/events/vmscan.h __field(int, retval) retval 253 include/trace/events/vmscan.h __entry->retval = shrinker_retval; retval 264 include/trace/events/vmscan.h __entry->retval) retval 440 include/uapi/linux/bpf.h __u32 retval; retval 3613 include/uapi/linux/bpf.h __s32 retval; retval 51 include/uapi/linux/uinput.h __s32 retval; retval 58 include/uapi/linux/uinput.h __s32 retval; retval 605 ipc/mqueue.c __poll_t retval = 0; retval 611 ipc/mqueue.c retval = EPOLLIN | EPOLLRDNORM; retval 614 ipc/mqueue.c retval |= EPOLLOUT | EPOLLWRNORM; retval 617 ipc/mqueue.c return retval; retval 644 ipc/mqueue.c int retval; retval 657 ipc/mqueue.c retval = 0; retval 662 ipc/mqueue.c retval = 0; retval 666 ipc/mqueue.c retval = -ERESTARTSYS; retval 670 ipc/mqueue.c retval = -ETIMEDOUT; retval 678 ipc/mqueue.c return retval; retval 136 ipc/msg.c int retval; retval 148 ipc/msg.c retval = security_msg_queue_alloc(&msq->q_perm); retval 149 ipc/msg.c if (retval) { retval 151 ipc/msg.c return retval; retval 164 ipc/msg.c retval = ipc_addid(&msg_ids(ns), &msq->q_perm, ns->msg_ctlmni); retval 165 ipc/msg.c if (retval < 0) { retval 167 ipc/msg.c return retval; retval 511 ipc/sem.c int retval; retval 531 ipc/sem.c retval = security_sem_alloc(&sma->sem_perm); retval 532 ipc/sem.c if (retval) { retval 534 ipc/sem.c return retval; retval 552 ipc/sem.c retval = ipc_addid(&sem_ids(ns), &sma->sem_perm, ns->sc_semmni); retval 553 ipc/sem.c if (retval < 0) { retval 555 ipc/sem.c return retval; retval 1631 ipc/shm.c int retval = -EINVAL; retval 1639 ipc/shm.c return retval; retval 1694 ipc/shm.c retval = 0; retval 1724 ipc/shm.c retval = 0; retval 1730 ipc/shm.c return retval; retval 319 kernel/audit.c int retval = 0; retval 325 kernel/audit.c retval = 1; retval 332 kernel/audit.c retval = 1; retval 337 kernel/audit.c return retval; retval 1060 kernel/bpf/cgroup.c int retval) retval 1067 kernel/bpf/cgroup.c .retval = retval, retval 1077 kernel/bpf/cgroup.c return retval; retval 1085 kernel/bpf/cgroup.c if (!retval) { retval 1125 kernel/bpf/cgroup.c if (ctx.retval != 0 && ctx.retval != retval) { retval 1136 kernel/bpf/cgroup.c ret = ctx.retval; retval 1446 kernel/bpf/cgroup.c case offsetof(struct bpf_sockopt, retval): retval 1481 kernel/bpf/cgroup.c case offsetof(struct bpf_sockopt, retval): retval 1528 kernel/bpf/cgroup.c case offsetof(struct bpf_sockopt, retval): retval 1530 kernel/bpf/cgroup.c *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_STX_MEM, retval); retval 1532 kernel/bpf/cgroup.c *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_LDX_MEM, retval); retval 62 kernel/cgroup/cgroup-v1.c int retval = 0; retval 76 kernel/cgroup/cgroup-v1.c retval = cgroup_attach_task(from_cgrp, tsk, false); retval 77 kernel/cgroup/cgroup-v1.c if (retval) retval 83 kernel/cgroup/cgroup-v1.c return retval; retval 5874 kernel/cgroup/cgroup.c int retval; retval 5877 kernel/cgroup/cgroup.c retval = -ENOMEM; retval 5916 kernel/cgroup/cgroup.c retval = cgroup_path_ns_locked(cgrp, buf, PATH_MAX, retval 5918 kernel/cgroup/cgroup.c if (retval >= PATH_MAX) retval 5919 kernel/cgroup/cgroup.c retval = -ENAMETOOLONG; retval 5920 kernel/cgroup/cgroup.c if (retval < 0) retval 5934 kernel/cgroup/cgroup.c retval = 0; retval 5940 kernel/cgroup/cgroup.c return retval; retval 1479 kernel/cgroup/cpuset.c int retval; retval 1495 kernel/cgroup/cpuset.c retval = cpulist_parse(buf, trialcs->cpus_allowed); retval 1496 kernel/cgroup/cpuset.c if (retval < 0) retval 1497 kernel/cgroup/cpuset.c return retval; retval 1508 kernel/cgroup/cpuset.c retval = validate_change(cs, trialcs); retval 1509 kernel/cgroup/cpuset.c if (retval < 0) retval 1510 kernel/cgroup/cpuset.c return retval; retval 1767 kernel/cgroup/cpuset.c int retval; retval 1774 kernel/cgroup/cpuset.c retval = -EACCES; retval 1787 kernel/cgroup/cpuset.c retval = nodelist_parse(buf, trialcs->mems_allowed); retval 1788 kernel/cgroup/cpuset.c if (retval < 0) retval 1793 kernel/cgroup/cpuset.c retval = -EINVAL; retval 1799 kernel/cgroup/cpuset.c retval = 0; /* Too easy - nothing to do */ retval 1802 kernel/cgroup/cpuset.c retval = validate_change(cs, trialcs); retval 1803 kernel/cgroup/cpuset.c if (retval < 0) retval 1813 kernel/cgroup/cpuset.c return retval; retval 2258 kernel/cgroup/cpuset.c int retval = 0; retval 2263 kernel/cgroup/cpuset.c retval = -ENODEV; retval 2269 kernel/cgroup/cpuset.c retval = update_flag(CS_CPU_EXCLUSIVE, cs, val); retval 2272 kernel/cgroup/cpuset.c retval = update_flag(CS_MEM_EXCLUSIVE, cs, val); retval 2275 kernel/cgroup/cpuset.c retval = update_flag(CS_MEM_HARDWALL, cs, val); retval 2278 kernel/cgroup/cpuset.c retval = update_flag(CS_SCHED_LOAD_BALANCE, cs, val); retval 2281 kernel/cgroup/cpuset.c retval = update_flag(CS_MEMORY_MIGRATE, cs, val); retval 2287 kernel/cgroup/cpuset.c retval = update_flag(CS_SPREAD_PAGE, cs, val); retval 2290 kernel/cgroup/cpuset.c retval = update_flag(CS_SPREAD_SLAB, cs, val); retval 2293 kernel/cgroup/cpuset.c retval = -EINVAL; retval 2299 kernel/cgroup/cpuset.c return retval; retval 2307 kernel/cgroup/cpuset.c int retval = -ENODEV; retval 2316 kernel/cgroup/cpuset.c retval = update_relax_domain_level(cs, val); retval 2319 kernel/cgroup/cpuset.c retval = -EINVAL; retval 2325 kernel/cgroup/cpuset.c return retval; retval 2336 kernel/cgroup/cpuset.c int retval = -ENODEV; retval 2370 kernel/cgroup/cpuset.c retval = -ENOMEM; retval 2376 kernel/cgroup/cpuset.c retval = update_cpumask(cs, trialcs, buf); retval 2379 kernel/cgroup/cpuset.c retval = update_nodemask(cs, trialcs, buf); retval 2382 kernel/cgroup/cpuset.c retval = -EINVAL; retval 2393 kernel/cgroup/cpuset.c return retval ?: nbytes; retval 2505 kernel/cgroup/cpuset.c int retval = -ENODEV; retval 2525 kernel/cgroup/cpuset.c retval = update_prstate(cs, val); retval 2530 kernel/cgroup/cpuset.c return retval ?: nbytes; retval 3589 kernel/cgroup/cpuset.c int retval; retval 3591 kernel/cgroup/cpuset.c retval = -ENOMEM; retval 3597 kernel/cgroup/cpuset.c retval = cgroup_path_ns(css->cgroup, buf, PATH_MAX, retval 3600 kernel/cgroup/cpuset.c if (retval >= PATH_MAX) retval 3601 kernel/cgroup/cpuset.c retval = -ENAMETOOLONG; retval 3602 kernel/cgroup/cpuset.c if (retval < 0) retval 3606 kernel/cgroup/cpuset.c retval = 0; retval 3610 kernel/cgroup/cpuset.c return retval; retval 217 kernel/compat.c int retval; retval 222 kernel/compat.c retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); retval 223 kernel/compat.c if (retval) retval 226 kernel/compat.c retval = sched_setaffinity(pid, new_mask); retval 229 kernel/compat.c return retval; retval 5925 kernel/events/core.c int retval; retval 5928 kernel/events/core.c retval = fasync_helper(fd, filp, on, &event->fasync); retval 5931 kernel/events/core.c if (retval < 0) retval 5932 kernel/events/core.c return retval; retval 291 kernel/exit.c int retval; retval 294 kernel/exit.c retval = will_become_orphaned_pgrp(task_pgrp(current), NULL); retval 297 kernel/exit.c return retval; retval 1422 kernel/exit.c int retval; retval 1445 kernel/exit.c retval = do_wait_thread(wo, tsk); retval 1446 kernel/exit.c if (retval) retval 1449 kernel/exit.c retval = ptrace_do_wait(wo, tsk); retval 1450 kernel/exit.c if (retval) retval 1459 kernel/exit.c retval = wo->notask_error; retval 1460 kernel/exit.c if (!retval && !(wo->wo_flags & WNOHANG)) { retval 1461 kernel/exit.c retval = -ERESTARTSYS; retval 1470 kernel/exit.c return retval; retval 29 kernel/fail_function.c unsigned long retval; retval 69 kernel/fail_function.c attr->retval = adjust_error_retval(addr, 0); retval 130 kernel/fail_function.c attr->retval = val; retval 147 kernel/fail_function.c *val = attr->retval; retval 177 kernel/fail_function.c regs_set_return_value(regs, attr->retval); retval 483 kernel/fork.c int retval; retval 489 kernel/fork.c retval = -EINTR; retval 510 kernel/fork.c retval = ksm_fork(mm, oldmm); retval 511 kernel/fork.c if (retval) retval 513 kernel/fork.c retval = khugepaged_fork(mm, oldmm); retval 514 kernel/fork.c if (retval) retval 531 kernel/fork.c retval = -EINTR; retval 544 kernel/fork.c retval = vma_dup_policy(mpnt, tmp); retval 545 kernel/fork.c if (retval) retval 548 kernel/fork.c retval = dup_userfaultfd(tmp, &uf); retval 549 kernel/fork.c if (retval) retval 601 kernel/fork.c retval = copy_page_range(mm, oldmm, mpnt); retval 606 kernel/fork.c if (retval) retval 610 kernel/fork.c retval = arch_dup_mmap(oldmm, mm); retval 618 kernel/fork.c return retval; retval 624 kernel/fork.c retval = -ENOMEM; retval 1382 kernel/fork.c int retval; retval 1412 kernel/fork.c retval = -ENOMEM; retval 1423 kernel/fork.c return retval; retval 1766 kernel/fork.c int pidfd = -1, retval; retval 1842 kernel/fork.c retval = -ERESTARTNOINTR; retval 1846 kernel/fork.c retval = -ENOMEM; retval 1871 kernel/fork.c retval = -EAGAIN; retval 1880 kernel/fork.c retval = copy_creds(p, clone_flags); retval 1881 kernel/fork.c if (retval < 0) retval 1889 kernel/fork.c retval = -EAGAIN; retval 1937 kernel/fork.c retval = PTR_ERR(p->mempolicy); retval 1978 kernel/fork.c retval = sched_fork(clone_flags, p); retval 1979 kernel/fork.c if (retval) retval 1982 kernel/fork.c retval = perf_event_init_task(p); retval 1983 kernel/fork.c if (retval) retval 1985 kernel/fork.c retval = audit_alloc(p); retval 1986 kernel/fork.c if (retval) retval 1990 kernel/fork.c retval = security_task_alloc(p, clone_flags); retval 1991 kernel/fork.c if (retval) retval 1993 kernel/fork.c retval = copy_semundo(clone_flags, p); retval 1994 kernel/fork.c if (retval) retval 1996 kernel/fork.c retval = copy_files(clone_flags, p); retval 1997 kernel/fork.c if (retval) retval 1999 kernel/fork.c retval = copy_fs(clone_flags, p); retval 2000 kernel/fork.c if (retval) retval 2002 kernel/fork.c retval = copy_sighand(clone_flags, p); retval 2003 kernel/fork.c if (retval) retval 2005 kernel/fork.c retval = copy_signal(clone_flags, p); retval 2006 kernel/fork.c if (retval) retval 2008 kernel/fork.c retval = copy_mm(clone_flags, p); retval 2009 kernel/fork.c if (retval) retval 2011 kernel/fork.c retval = copy_namespaces(clone_flags, p); retval 2012 kernel/fork.c if (retval) retval 2014 kernel/fork.c retval = copy_io(clone_flags, p); retval 2015 kernel/fork.c if (retval) retval 2017 kernel/fork.c retval = copy_thread_tls(clone_flags, args->stack, args->stack_size, p, retval 2019 kernel/fork.c if (retval) retval 2027 kernel/fork.c retval = PTR_ERR(pid); retval 2038 kernel/fork.c retval = get_unused_fd_flags(O_RDWR | O_CLOEXEC); retval 2039 kernel/fork.c if (retval < 0) retval 2042 kernel/fork.c pidfd = retval; retval 2048 kernel/fork.c retval = PTR_ERR(pidfile); retval 2053 kernel/fork.c retval = put_user(pidfd, args->pidfd); retval 2054 kernel/fork.c if (retval) retval 2110 kernel/fork.c retval = cgroup_can_fork(p); retval 2111 kernel/fork.c if (retval) retval 2154 kernel/fork.c retval = -ENOMEM; retval 2160 kernel/fork.c retval = -EINTR; retval 2287 kernel/fork.c return ERR_PTR(retval); retval 193 kernel/groups.c int retval; retval 203 kernel/groups.c retval = groups_from_user(group_info, grouplist); retval 204 kernel/groups.c if (retval) { retval 206 kernel/groups.c return retval; retval 210 kernel/groups.c retval = set_current_groups(group_info); retval 213 kernel/groups.c return retval; retval 222 kernel/groups.c int retval = 1; retval 225 kernel/groups.c retval = groups_search(cred->group_info, grp); retval 226 kernel/groups.c return retval; retval 234 kernel/groups.c int retval = 1; retval 237 kernel/groups.c retval = groups_search(cred->group_info, grp); retval 238 kernel/groups.c return retval; retval 1536 kernel/irq/chip.c int retval; retval 1539 kernel/irq/chip.c retval = pm_runtime_get_sync(data->chip->parent_device); retval 1540 kernel/irq/chip.c if (retval < 0) { retval 1542 kernel/irq/chip.c return retval; retval 1559 kernel/irq/chip.c int retval = 0; retval 1562 kernel/irq/chip.c retval = pm_runtime_put(data->chip->parent_device); retval 1564 kernel/irq/chip.c return (retval < 0) ? retval : 0; retval 139 kernel/irq/handle.c irqreturn_t retval = IRQ_NONE; retval 178 kernel/irq/handle.c retval |= res; retval 181 kernel/irq/handle.c return retval; retval 186 kernel/irq/handle.c irqreturn_t retval; retval 189 kernel/irq/handle.c retval = __handle_irq_event_percpu(desc, &flags); retval 194 kernel/irq/handle.c note_interrupt(desc, retval); retval 195 kernel/irq/handle.c return retval; retval 1656 kernel/irq/manage.c int retval; retval 1662 kernel/irq/manage.c retval = irq_chip_pm_get(&desc->irq_data); retval 1663 kernel/irq/manage.c if (retval < 0) retval 1664 kernel/irq/manage.c return retval; retval 1666 kernel/irq/manage.c retval = __setup_irq(irq, desc, act); retval 1668 kernel/irq/manage.c if (retval) retval 1671 kernel/irq/manage.c return retval; retval 1973 kernel/irq/manage.c int retval; retval 2016 kernel/irq/manage.c retval = irq_chip_pm_get(&desc->irq_data); retval 2017 kernel/irq/manage.c if (retval < 0) { retval 2019 kernel/irq/manage.c return retval; retval 2022 kernel/irq/manage.c retval = __setup_irq(irq, desc, action); retval 2024 kernel/irq/manage.c if (retval) { retval 2031 kernel/irq/manage.c if (!retval && (irqflags & IRQF_SHARED)) { retval 2049 kernel/irq/manage.c return retval; retval 2126 kernel/irq/manage.c int retval; retval 2158 kernel/irq/manage.c retval = irq_chip_pm_get(&desc->irq_data); retval 2159 kernel/irq/manage.c if (retval < 0) retval 2162 kernel/irq/manage.c retval = __setup_irq(irq, desc, action); retval 2163 kernel/irq/manage.c if (retval) retval 2170 kernel/irq/manage.c retval = irq_nmi_setup(desc); retval 2171 kernel/irq/manage.c if (retval) { retval 2186 kernel/irq/manage.c return retval; retval 2381 kernel/irq/manage.c int retval; retval 2386 kernel/irq/manage.c retval = irq_chip_pm_get(&desc->irq_data); retval 2387 kernel/irq/manage.c if (retval < 0) retval 2388 kernel/irq/manage.c return retval; retval 2390 kernel/irq/manage.c retval = __setup_irq(irq, desc, act); retval 2392 kernel/irq/manage.c if (retval) retval 2395 kernel/irq/manage.c return retval; retval 2421 kernel/irq/manage.c int retval; retval 2443 kernel/irq/manage.c retval = irq_chip_pm_get(&desc->irq_data); retval 2444 kernel/irq/manage.c if (retval < 0) { retval 2446 kernel/irq/manage.c return retval; retval 2449 kernel/irq/manage.c retval = __setup_irq(irq, desc, action); retval 2451 kernel/irq/manage.c if (retval) { retval 2456 kernel/irq/manage.c return retval; retval 2487 kernel/irq/manage.c int retval; retval 2514 kernel/irq/manage.c retval = irq_chip_pm_get(&desc->irq_data); retval 2515 kernel/irq/manage.c if (retval < 0) retval 2518 kernel/irq/manage.c retval = __setup_irq(irq, desc, action); retval 2519 kernel/irq/manage.c if (retval) retval 2533 kernel/irq/manage.c return retval; retval 592 kernel/locking/mutex.c int retval = 1; retval 605 kernel/locking/mutex.c retval = owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); retval 613 kernel/locking/mutex.c return retval; retval 167 kernel/pid.c int retval = -ENOMEM; retval 171 kernel/pid.c return ERR_PTR(retval); retval 199 kernel/pid.c retval = (nr == -ENOSPC) ? -EAGAIN : nr; retval 251 kernel/pid.c return ERR_PTR(retval); retval 501 kernel/power/qos.c int retval; retval 503 kernel/power/qos.c retval = blocking_notifier_chain_register( retval 507 kernel/power/qos.c return retval; retval 521 kernel/power/qos.c int retval; retval 523 kernel/power/qos.c retval = blocking_notifier_chain_unregister( retval 527 kernel/power/qos.c return retval; retval 368 kernel/ptrace.c int retval; retval 370 kernel/ptrace.c retval = -EIO; retval 383 kernel/ptrace.c retval = -EPERM; retval 394 kernel/ptrace.c retval = -ERESTARTNOINTR; retval 399 kernel/ptrace.c retval = __ptrace_may_access(task, PTRACE_MODE_ATTACH_REALCREDS); retval 401 kernel/ptrace.c if (retval) retval 405 kernel/ptrace.c retval = -EPERM; retval 446 kernel/ptrace.c retval = 0; retval 452 kernel/ptrace.c if (!retval) { retval 464 kernel/ptrace.c return retval; retval 599 kernel/ptrace.c int this_len, retval; retval 602 kernel/ptrace.c retval = ptrace_access_vm(tsk, src, buf, this_len, FOLL_FORCE); retval 604 kernel/ptrace.c if (!retval) { retval 609 kernel/ptrace.c if (copy_to_user(dst, buf, retval)) retval 611 kernel/ptrace.c copied += retval; retval 612 kernel/ptrace.c src += retval; retval 613 kernel/ptrace.c dst += retval; retval 614 kernel/ptrace.c len -= retval; retval 625 kernel/ptrace.c int this_len, retval; retval 630 kernel/ptrace.c retval = ptrace_access_vm(tsk, dst, buf, this_len, retval 632 kernel/ptrace.c if (!retval) { retval 637 kernel/ptrace.c copied += retval; retval 638 kernel/ptrace.c src += retval; retval 639 kernel/ptrace.c dst += retval; retval 640 kernel/ptrace.c len -= retval; retval 1559 kernel/rcu/rcutorture.c int retval; retval 1572 kernel/rcu/rcutorture.c retval = PTR_ERR(boost_tasks[cpu]); retval 1577 kernel/rcu/rcutorture.c return retval; retval 312 kernel/resource.c int retval; retval 315 kernel/resource.c retval = __release_resource(old, true); retval 317 kernel/resource.c return retval; retval 926 kernel/resource.c int retval; retval 929 kernel/resource.c retval = __release_resource(old, false); retval 931 kernel/resource.c return retval; retval 4573 kernel/sched/core.c long nice, retval; retval 4587 kernel/sched/core.c retval = security_task_setnice(current, nice); retval 4588 kernel/sched/core.c if (retval) retval 4589 kernel/sched/core.c return retval; retval 4755 kernel/sched/core.c int retval, oldprio, oldpolicy = -1, queued, running; retval 4847 kernel/sched/core.c retval = security_task_setscheduler(p); retval 4848 kernel/sched/core.c if (retval) retval 4849 kernel/sched/core.c return retval; retval 4854 kernel/sched/core.c retval = uclamp_validate(p, attr); retval 4855 kernel/sched/core.c if (retval) retval 4856 kernel/sched/core.c return retval; retval 4876 kernel/sched/core.c retval = -EINVAL; retval 4895 kernel/sched/core.c retval = 0; retval 4909 kernel/sched/core.c retval = -EPERM; retval 4925 kernel/sched/core.c retval = -EPERM; retval 4947 kernel/sched/core.c retval = -EBUSY; retval 5013 kernel/sched/core.c return retval; retval 5087 kernel/sched/core.c int retval; retval 5095 kernel/sched/core.c retval = -ESRCH; retval 5102 kernel/sched/core.c retval = sched_setscheduler(p, policy, &lparam); retval 5106 kernel/sched/core.c return retval; retval 5193 kernel/sched/core.c int retval; retval 5198 kernel/sched/core.c retval = sched_copy_attr(uattr, &attr); retval 5199 kernel/sched/core.c if (retval) retval 5200 kernel/sched/core.c return retval; retval 5208 kernel/sched/core.c retval = -ESRCH; retval 5215 kernel/sched/core.c retval = sched_setattr(p, &attr); retval 5219 kernel/sched/core.c return retval; retval 5232 kernel/sched/core.c int retval; retval 5237 kernel/sched/core.c retval = -ESRCH; retval 5241 kernel/sched/core.c retval = security_task_getscheduler(p); retval 5242 kernel/sched/core.c if (!retval) retval 5243 kernel/sched/core.c retval = p->policy retval 5247 kernel/sched/core.c return retval; retval 5262 kernel/sched/core.c int retval; retval 5269 kernel/sched/core.c retval = -ESRCH; retval 5273 kernel/sched/core.c retval = security_task_getscheduler(p); retval 5274 kernel/sched/core.c if (retval) retval 5284 kernel/sched/core.c retval = copy_to_user(param, &lp, sizeof(*param)) ? -EFAULT : 0; retval 5286 kernel/sched/core.c return retval; retval 5290 kernel/sched/core.c return retval; retval 5344 kernel/sched/core.c int retval; retval 5352 kernel/sched/core.c retval = -ESRCH; retval 5356 kernel/sched/core.c retval = security_task_getscheduler(p); retval 5357 kernel/sched/core.c if (retval) retval 5381 kernel/sched/core.c return retval; retval 5388 kernel/sched/core.c int retval; retval 5403 kernel/sched/core.c retval = -EINVAL; retval 5407 kernel/sched/core.c retval = -ENOMEM; retval 5411 kernel/sched/core.c retval = -ENOMEM; retval 5414 kernel/sched/core.c retval = -EPERM; retval 5424 kernel/sched/core.c retval = security_task_setscheduler(p); retval 5425 kernel/sched/core.c if (retval) retval 5442 kernel/sched/core.c retval = -EBUSY; retval 5450 kernel/sched/core.c retval = __set_cpus_allowed_ptr(p, new_mask, true); retval 5452 kernel/sched/core.c if (!retval) { retval 5470 kernel/sched/core.c return retval; retval 5496 kernel/sched/core.c int retval; retval 5501 kernel/sched/core.c retval = get_user_cpu_mask(user_mask_ptr, len, new_mask); retval 5502 kernel/sched/core.c if (retval == 0) retval 5503 kernel/sched/core.c retval = sched_setaffinity(pid, new_mask); retval 5505 kernel/sched/core.c return retval; retval 5512 kernel/sched/core.c int retval; retval 5516 kernel/sched/core.c retval = -ESRCH; retval 5521 kernel/sched/core.c retval = security_task_getscheduler(p); retval 5522 kernel/sched/core.c if (retval) retval 5532 kernel/sched/core.c return retval; retval 5852 kernel/sched/core.c int retval; retval 5857 kernel/sched/core.c retval = -ESRCH; retval 5863 kernel/sched/core.c retval = security_task_getscheduler(p); retval 5864 kernel/sched/core.c if (retval) retval 5879 kernel/sched/core.c return retval; retval 5897 kernel/sched/core.c int retval = sched_rr_get_interval(pid, &t); retval 5899 kernel/sched/core.c if (retval == 0) retval 5900 kernel/sched/core.c retval = put_timespec64(&t, interval); retval 5902 kernel/sched/core.c return retval; retval 5910 kernel/sched/core.c int retval = sched_rr_get_interval(pid, &t); retval 5912 kernel/sched/core.c if (retval == 0) retval 5913 kernel/sched/core.c retval = put_old_timespec32(&t, interval); retval 5914 kernel/sched/core.c return retval; retval 1426 kernel/signal.c int retval, success; retval 1429 kernel/signal.c retval = -ESRCH; retval 1433 kernel/signal.c retval = err; retval 1435 kernel/signal.c return success ? 0 : retval; retval 1576 kernel/signal.c int retval = 0, count = 0; retval 1586 kernel/signal.c retval = err; retval 1589 kernel/signal.c ret = count ? retval : -ESRCH; retval 271 kernel/sys.c long niceval, retval = -ESRCH; retval 288 kernel/sys.c if (niceval > retval) retval 289 kernel/sys.c retval = niceval; retval 299 kernel/sys.c if (niceval > retval) retval 300 kernel/sys.c retval = niceval; retval 316 kernel/sys.c if (niceval > retval) retval 317 kernel/sys.c retval = niceval; retval 328 kernel/sys.c return retval; retval 355 kernel/sys.c int retval; retval 371 kernel/sys.c retval = -EPERM; retval 399 kernel/sys.c return retval; retval 417 kernel/sys.c int retval; retval 429 kernel/sys.c retval = -EPERM; retval 441 kernel/sys.c return retval; retval 498 kernel/sys.c int retval; retval 514 kernel/sys.c retval = -EPERM; retval 533 kernel/sys.c retval = set_user(new); retval 534 kernel/sys.c if (retval < 0) retval 542 kernel/sys.c retval = security_task_fix_setuid(new, old, LSM_SETID_RE); retval 543 kernel/sys.c if (retval < 0) retval 550 kernel/sys.c return retval; retval 574 kernel/sys.c int retval; retval 586 kernel/sys.c retval = -EPERM; retval 590 kernel/sys.c retval = set_user(new); retval 591 kernel/sys.c if (retval < 0) retval 600 kernel/sys.c retval = security_task_fix_setuid(new, old, LSM_SETID_ID); retval 601 kernel/sys.c if (retval < 0) retval 608 kernel/sys.c return retval; retval 626 kernel/sys.c int retval; retval 648 kernel/sys.c retval = -EPERM; retval 664 kernel/sys.c retval = set_user(new); retval 665 kernel/sys.c if (retval < 0) retval 675 kernel/sys.c retval = security_task_fix_setuid(new, old, LSM_SETID_RES); retval 676 kernel/sys.c if (retval < 0) retval 683 kernel/sys.c return retval; retval 694 kernel/sys.c int retval; retval 701 kernel/sys.c retval = put_user(ruid, ruidp); retval 702 kernel/sys.c if (!retval) { retval 703 kernel/sys.c retval = put_user(euid, euidp); retval 704 kernel/sys.c if (!retval) retval 707 kernel/sys.c return retval; retval 718 kernel/sys.c int retval; retval 737 kernel/sys.c retval = -EPERM; retval 762 kernel/sys.c return retval; retval 773 kernel/sys.c int retval; retval 780 kernel/sys.c retval = put_user(rgid, rgidp); retval 781 kernel/sys.c if (!retval) { retval 782 kernel/sys.c retval = put_user(egid, egidp); retval 783 kernel/sys.c if (!retval) retval 784 kernel/sys.c retval = put_user(sgid, sgidp); retval 787 kernel/sys.c return retval; retval 1081 kernel/sys.c int retval; retval 1087 kernel/sys.c retval = -ESRCH; retval 1095 kernel/sys.c retval = security_task_getpgid(p); retval 1096 kernel/sys.c if (retval) retval 1099 kernel/sys.c retval = pid_vnr(grp); retval 1102 kernel/sys.c return retval; retval 1123 kernel/sys.c int retval; retval 1129 kernel/sys.c retval = -ESRCH; retval 1137 kernel/sys.c retval = security_task_getsid(p); retval 1138 kernel/sys.c if (retval) retval 1141 kernel/sys.c retval = pid_vnr(sid); retval 1144 kernel/sys.c return retval; retval 1531 kernel/sys.c int retval = 0; retval 1546 kernel/sys.c retval = -ESRCH; retval 1557 kernel/sys.c retval = -EPERM; retval 1558 kernel/sys.c if (!retval) retval 1559 kernel/sys.c retval = security_task_setrlimit(tsk, resource, new_rlim); retval 1561 kernel/sys.c if (!retval) { retval 1574 kernel/sys.c if (!retval && new_rlim && resource == RLIMIT_CPU && retval 1580 kernel/sys.c return retval; retval 67 kernel/uid16.c int retval; retval 74 kernel/uid16.c if (!(retval = put_user(ruid, ruidp)) && retval 75 kernel/uid16.c !(retval = put_user(euid, euidp))) retval 76 kernel/uid16.c retval = put_user(suid, suidp); retval 78 kernel/uid16.c return retval; retval 90 kernel/uid16.c int retval; retval 97 kernel/uid16.c if (!(retval = put_user(rgid, rgidp)) && retval 98 kernel/uid16.c !(retval = put_user(egid, egidp))) retval 99 kernel/uid16.c retval = put_user(sgid, sgidp); retval 101 kernel/uid16.c return retval; retval 180 kernel/uid16.c int retval; retval 190 kernel/uid16.c retval = groups16_from_user(group_info, grouplist); retval 191 kernel/uid16.c if (retval) { retval 193 kernel/uid16.c return retval; retval 197 kernel/uid16.c retval = set_current_groups(group_info); retval 200 kernel/uid16.c return retval; retval 72 kernel/umh.c int retval; retval 84 kernel/umh.c retval = -ENOMEM; retval 96 kernel/umh.c retval = sub_info->init(sub_info, new); retval 97 kernel/umh.c if (retval) { retval 107 kernel/umh.c retval = do_execve_file(sub_info->file, retval 109 kernel/umh.c if (!retval) retval 112 kernel/umh.c retval = do_execve(getname_kernel(sub_info->path), retval 116 kernel/umh.c sub_info->retval = retval; retval 123 kernel/umh.c if (!retval) retval 137 kernel/umh.c sub_info->retval = pid; retval 158 kernel/umh.c sub_info->retval = ret; retval 198 kernel/umh.c sub_info->retval = pid; retval 319 kernel/umh.c long retval; retval 334 kernel/umh.c retval = wait_event_timeout(running_helpers_waitq, retval 337 kernel/umh.c if (retval) retval 479 kernel/umh.c if (info->pid && info->retval) { retval 562 kernel/umh.c int retval = 0; retval 570 kernel/umh.c retval = -EBUSY; retval 595 kernel/umh.c retval = wait_for_completion_killable(&done); retval 596 kernel/umh.c if (!retval) retval 607 kernel/umh.c retval = sub_info->retval; retval 612 kernel/umh.c return retval; retval 327 lib/kobject.c int retval; retval 330 lib/kobject.c retval = kobject_set_name_vargs(kobj, fmt, vargs); retval 333 lib/kobject.c return retval; retval 382 lib/kobject.c int retval; retval 384 lib/kobject.c retval = kobject_set_name_vargs(kobj, fmt, vargs); retval 385 lib/kobject.c if (retval) { retval 387 lib/kobject.c return retval; retval 430 lib/kobject.c int retval; retval 442 lib/kobject.c retval = kobject_add_varg(kobj, parent, fmt, args); retval 445 lib/kobject.c return retval; retval 468 lib/kobject.c int retval; retval 473 lib/kobject.c retval = kobject_add_varg(kobj, parent, fmt, args); retval 476 lib/kobject.c return retval; retval 794 lib/kobject.c int retval; retval 800 lib/kobject.c retval = kobject_add(kobj, parent, "%s", name); retval 801 lib/kobject.c if (retval) { retval 802 lib/kobject.c pr_warn("%s: kobject_add error: %d\n", __func__, retval); retval 953 lib/kobject.c int retval; retval 958 lib/kobject.c retval = kobject_set_name(&kset->kobj, "%s", name); retval 959 lib/kobject.c if (retval) { retval 314 lib/kobject_uevent.c int retval = 0; retval 324 lib/kobject_uevent.c retval = -ENOMEM; retval 330 lib/kobject_uevent.c retval = netlink_broadcast(uevent_sock, skb_get(skb), 0, 1, retval 333 lib/kobject_uevent.c if (retval == -ENOBUFS || retval == -ESRCH) retval 334 lib/kobject_uevent.c retval = 0; retval 338 lib/kobject_uevent.c return retval; retval 467 lib/kobject_uevent.c int retval = 0; retval 530 lib/kobject_uevent.c retval = -ENOENT; retval 535 lib/kobject_uevent.c retval = add_uevent_var(env, "ACTION=%s", action_string); retval 536 lib/kobject_uevent.c if (retval) retval 538 lib/kobject_uevent.c retval = add_uevent_var(env, "DEVPATH=%s", devpath); retval 539 lib/kobject_uevent.c if (retval) retval 541 lib/kobject_uevent.c retval = add_uevent_var(env, "SUBSYSTEM=%s", subsystem); retval 542 lib/kobject_uevent.c if (retval) retval 548 lib/kobject_uevent.c retval = add_uevent_var(env, "%s", envp_ext[i]); retval 549 lib/kobject_uevent.c if (retval) retval 556 lib/kobject_uevent.c retval = uevent_ops->uevent(kset, kobj, env); retval 557 lib/kobject_uevent.c if (retval) { retval 560 lib/kobject_uevent.c __func__, retval); retval 587 lib/kobject_uevent.c retval = add_uevent_var(env, "SEQNUM=%llu", ++uevent_seqnum); retval 588 lib/kobject_uevent.c if (retval) { retval 592 lib/kobject_uevent.c retval = kobject_uevent_net_broadcast(kobj, env, action_string, retval 601 lib/kobject_uevent.c retval = add_uevent_var(env, "HOME=/"); retval 602 lib/kobject_uevent.c if (retval) retval 604 lib/kobject_uevent.c retval = add_uevent_var(env, retval 606 lib/kobject_uevent.c if (retval) retval 608 lib/kobject_uevent.c retval = init_uevent_argv(env, subsystem); retval 609 lib/kobject_uevent.c if (retval) retval 612 lib/kobject_uevent.c retval = -ENOMEM; retval 617 lib/kobject_uevent.c retval = call_usermodehelper_exec(info, UMH_NO_WAIT); retval 626 lib/kobject_uevent.c return retval; retval 65 lib/lockref.c int retval; retval 76 lib/lockref.c retval = 0; retval 79 lib/lockref.c retval = 1; retval 82 lib/lockref.c return retval; retval 93 lib/lockref.c int retval; retval 104 lib/lockref.c retval = 0; retval 107 lib/lockref.c retval = 1; retval 110 lib/lockref.c return retval; retval 201 lib/lockref.c int retval; retval 212 lib/lockref.c retval = 0; retval 215 lib/lockref.c retval = 1; retval 218 lib/lockref.c return retval; retval 33 lib/mpi/generic_mpih-lshift.c mpi_limb_t retval; retval 40 lib/mpi/generic_mpih-lshift.c retval = low_limb >> sh_2; retval 49 lib/mpi/generic_mpih-lshift.c return retval; retval 34 lib/mpi/generic_mpih-rshift.c mpi_limb_t retval; retval 40 lib/mpi/generic_mpih-rshift.c retval = high_limb << sh_2; retval 49 lib/mpi/generic_mpih-rshift.c return retval; retval 324 lib/reed_solomon/test_rslib.c int errs, eras, retval; retval 342 lib/reed_solomon/test_rslib.c retval = stat.dwrong + stat.wepos + stat.irv; retval 343 lib/reed_solomon/test_rslib.c if (retval && v >= V_PROGRESS) retval 344 lib/reed_solomon/test_rslib.c pr_warn(" FAIL: %d decoding failures!\n", retval); retval 346 lib/reed_solomon/test_rslib.c return retval; retval 353 lib/reed_solomon/test_rslib.c int retval = 0; retval 360 lib/reed_solomon/test_rslib.c retval |= ex_rs_helper(rs, ws, len, trials, i); retval 362 lib/reed_solomon/test_rslib.c return retval; retval 447 lib/reed_solomon/test_rslib.c int retval = -ENOMEM; retval 455 lib/reed_solomon/test_rslib.c return retval; retval 461 lib/reed_solomon/test_rslib.c retval = 0; retval 475 lib/reed_solomon/test_rslib.c retval |= exercise_rs(rsc, ws, len, e->ntrials); retval 477 lib/reed_solomon/test_rslib.c retval |= exercise_rs_bc(rsc, ws, len, e->ntrials); retval 484 lib/reed_solomon/test_rslib.c return retval; retval 492 lib/reed_solomon/test_rslib.c int retval; retval 494 lib/reed_solomon/test_rslib.c retval = run_exercise(Tab + i); retval 495 lib/reed_solomon/test_rslib.c if (retval < 0) retval 498 lib/reed_solomon/test_rslib.c fail |= retval; retval 228 lib/stackdepot.c depot_stack_handle_t retval = 0; retval 303 lib/stackdepot.c retval = found->handle.handle; retval 305 lib/stackdepot.c return retval; retval 108 lib/strncpy_from_user.c long retval; retval 120 lib/strncpy_from_user.c retval = do_strncpy_from_user(dst, src, count, max); retval 122 lib/strncpy_from_user.c return retval; retval 103 lib/strnlen_user.c long retval; retval 113 lib/strnlen_user.c retval = do_strnlen_user(str, count, max); retval 115 lib/strnlen_user.c return retval; retval 93 lib/test_user_copy.c int retval = check_zeroed_user(umem + start, len); retval 96 lib/test_user_copy.c ret |= test(retval != expected, retval 98 lib/test_user_copy.c retval, expected, start, end); retval 133 mm/dmapool.c struct dma_pool *retval; retval 157 mm/dmapool.c retval = kmalloc_node(sizeof(*retval), GFP_KERNEL, dev_to_node(dev)); retval 158 mm/dmapool.c if (!retval) retval 159 mm/dmapool.c return retval; retval 161 mm/dmapool.c strlcpy(retval->name, name, sizeof(retval->name)); retval 163 mm/dmapool.c retval->dev = dev; retval 165 mm/dmapool.c INIT_LIST_HEAD(&retval->page_list); retval 166 mm/dmapool.c spin_lock_init(&retval->lock); retval 167 mm/dmapool.c retval->size = size; retval 168 mm/dmapool.c retval->boundary = boundary; retval 169 mm/dmapool.c retval->allocation = allocation; retval 171 mm/dmapool.c INIT_LIST_HEAD(&retval->pools); retval 185 mm/dmapool.c list_add(&retval->pools, &dev->dma_pools); retval 193 mm/dmapool.c list_del(&retval->pools); retval 196 mm/dmapool.c kfree(retval); retval 201 mm/dmapool.c return retval; retval 325 mm/dmapool.c void *retval; retval 349 mm/dmapool.c retval = offset + page->vaddr; retval 354 mm/dmapool.c u8 *data = retval; retval 362 mm/dmapool.c pool->name, retval); retval 365 mm/dmapool.c pool->name, retval); retval 377 mm/dmapool.c memset(retval, POOL_POISON_ALLOCATED, pool->size); retval 382 mm/dmapool.c memset(retval, 0, pool->size); retval 384 mm/dmapool.c return retval; retval 2277 mm/filemap.c ssize_t retval = 0; retval 2294 mm/filemap.c retval = filemap_write_and_wait_range(mapping, retval 2297 mm/filemap.c if (retval < 0) retval 2303 mm/filemap.c retval = mapping->a_ops->direct_IO(iocb, iter); retval 2304 mm/filemap.c if (retval >= 0) { retval 2305 mm/filemap.c iocb->ki_pos += retval; retval 2306 mm/filemap.c count -= retval; retval 2319 mm/filemap.c if (retval < 0 || !count || iocb->ki_pos >= size || retval 2324 mm/filemap.c retval = generic_file_buffered_read(iocb, iter, retval); retval 2326 mm/filemap.c return retval; retval 2769 mm/hugetlb.c int retval; retval 2776 mm/hugetlb.c retval = sysfs_create_group(hstate_kobjs[hi], hstate_attr_group); retval 2777 mm/hugetlb.c if (retval) retval 2780 mm/hugetlb.c return retval; retval 3377 mm/memcontrol.c int retval = 0; retval 3397 mm/memcontrol.c retval = -EBUSY; retval 3399 mm/memcontrol.c retval = -EINVAL; retval 3401 mm/memcontrol.c return retval; retval 1426 mm/memory.c int retval; retval 1430 mm/memory.c retval = -EINVAL; retval 1433 mm/memory.c retval = -ENOMEM; retval 1438 mm/memory.c retval = -EBUSY; retval 1448 mm/memory.c retval = 0; retval 1452 mm/memory.c return retval; retval 255 mm/mincore.c long retval; retval 280 mm/mincore.c retval = 0; retval 287 mm/mincore.c retval = do_mincore(start, min(pages, PAGE_SIZE), tmp); retval 290 mm/mincore.c if (retval <= 0) retval 292 mm/mincore.c if (copy_to_user(vec, tmp, retval)) { retval 293 mm/mincore.c retval = -EFAULT; retval 296 mm/mincore.c pages -= retval; retval 297 mm/mincore.c vec += retval; retval 298 mm/mincore.c start += retval << PAGE_SHIFT; retval 299 mm/mincore.c retval = 0; retval 302 mm/mincore.c return retval; retval 225 mm/mlock.c static int __mlock_posix_error_return(long retval) retval 227 mm/mlock.c if (retval == -EFAULT) retval 228 mm/mlock.c retval = -ENOMEM; retval 229 mm/mlock.c else if (retval == -ENOMEM) retval 230 mm/mlock.c retval = -EAGAIN; retval 231 mm/mlock.c return retval; retval 189 mm/mmap.c unsigned long retval; retval 281 mm/mmap.c retval = origbrk; retval 283 mm/mmap.c return retval; retval 1582 mm/mmap.c unsigned long retval; retval 1591 mm/mmap.c retval = -EINVAL; retval 1619 mm/mmap.c retval = vm_mmap_pgoff(file, addr, len, prot, flags, pgoff); retval 1623 mm/mmap.c return retval; retval 657 mm/mremap.c int retval; retval 659 mm/mremap.c retval = __do_munmap(mm, addr+new_len, old_len - new_len, retval 661 mm/mremap.c if (retval < 0 && old_len != new_len) { retval 662 mm/mremap.c ret = retval; retval 665 mm/mremap.c } else if (retval == 1) retval 1329 mm/nommu.c unsigned long retval = -EBADF; retval 1340 mm/nommu.c retval = vm_mmap_pgoff(file, addr, len, prot, flags, pgoff); retval 1345 mm/nommu.c return retval; retval 2184 mm/shmem.c int retval = -ENOMEM; retval 2202 mm/shmem.c retval = 0; retval 2205 mm/shmem.c return retval; retval 2538 mm/shmem.c ssize_t retval = 0; retval 2619 mm/shmem.c retval += ret; retval 2636 mm/shmem.c return retval ? retval : error; retval 103 mm/swap_cgroup.c unsigned short retval; retval 108 mm/swap_cgroup.c retval = sc->id; retval 109 mm/swap_cgroup.c if (retval == old) retval 112 mm/swap_cgroup.c retval = 0; retval 114 mm/swap_cgroup.c return retval; retval 2129 mm/swapfile.c int retval = 0; retval 2142 mm/swapfile.c retval = shmem_unuse(type, frontswap, &pages_to_unuse); retval 2143 mm/swapfile.c if (retval) retval 2161 mm/swapfile.c retval = unuse_mm(mm, type, frontswap, &pages_to_unuse); retval 2163 mm/swapfile.c if (retval) { retval 2225 mm/swapfile.c retval = -EINTR; retval 2228 mm/swapfile.c return (retval == FRONTSWAP_PAGES_UNUSED) ? 0 : retval; retval 483 net/appletalk/aarp.c int hash, retval = -EPROTONOSUPPORT; retval 500 net/appletalk/aarp.c retval = -ENOMEM; retval 530 net/appletalk/aarp.c retval = -EADDRINUSE; /* return network full */ retval 533 net/appletalk/aarp.c retval = 1; retval 538 net/appletalk/aarp.c return retval; retval 343 net/appletalk/ddp.c struct atalk_addr *retval; retval 355 net/appletalk/ddp.c retval = &iface->address; retval 361 net/appletalk/ddp.c retval = &fiface->address; retval 363 net/appletalk/ddp.c retval = &atalk_interfaces->address; retval 365 net/appletalk/ddp.c retval = NULL; retval 368 net/appletalk/ddp.c return retval; retval 501 net/appletalk/ddp.c int retval = -EINVAL; retval 545 net/appletalk/ddp.c retval = -ENETUNREACH; retval 555 net/appletalk/ddp.c retval = -ENOBUFS; retval 570 net/appletalk/ddp.c retval = 0; retval 574 net/appletalk/ddp.c return retval; retval 581 net/appletalk/ddp.c int retval = 0; retval 596 net/appletalk/ddp.c retval = -ENOENT; retval 599 net/appletalk/ddp.c return retval; retval 1076 net/appletalk/ddp.c int retval; retval 1097 net/appletalk/ddp.c retval = 0; retval 1103 net/appletalk/ddp.c retval = -EBUSY; retval 1106 net/appletalk/ddp.c return retval; retval 1089 net/atm/lec.c int retval; retval 1108 net/atm/lec.c retval = send_to_lecd(priv, l_arp_xmt, dst_mac, NULL, NULL); retval 1116 net/atm/lec.c retval = send_to_lecd(priv, l_arp_xmt, dst_mac, NULL, skb); retval 1118 net/atm/lec.c return retval; retval 1131 net/atm/lec.c int retval; retval 1150 net/atm/lec.c retval = send_to_lecd(priv, l_associate_req, NULL, NULL, skb); retval 1151 net/atm/lec.c if (retval != 0) retval 1338 net/atm/mpc.c int i, retval ; retval 1358 net/atm/mpc.c retval = priv->lane2_ops->associate_req(mpc->dev, retval 1361 net/atm/mpc.c if (retval == 0) retval 1364 net/atm/mpc.c retval = priv->lane2_ops->resolve(mpc->dev, NULL, 1, NULL, NULL); retval 1365 net/atm/mpc.c if (retval < 0) retval 18 net/bpf/test_run.c u32 *retval, u32 *time) retval 44 net/bpf/test_run.c *retval = BPF_PROG_RUN(prog, ctx); retval 78 net/bpf/test_run.c u32 size, u32 retval, u32 duration) retval 97 net/bpf/test_run.c if (copy_to_user(&uattr->test.retval, &retval, sizeof(retval))) retval 248 net/bpf/test_run.c u32 retval, duration; retval 310 net/bpf/test_run.c ret = bpf_test_run(prog, skb, repeat, &retval, &duration); retval 330 net/bpf/test_run.c ret = bpf_test_finish(kattr, uattr, skb->data, size, retval, duration); retval 349 net/bpf/test_run.c u32 retval, duration; retval 368 net/bpf/test_run.c ret = bpf_test_run(prog, &xdp, repeat, &retval, &duration); retval 374 net/bpf/test_run.c ret = bpf_test_finish(kattr, uattr, xdp.data, size, retval, duration); retval 408 net/bpf/test_run.c u32 retval, duration; retval 448 net/bpf/test_run.c retval = bpf_flow_dissect(prog, &ctx, eth->h_proto, ETH_HLEN, retval 479 net/bpf/test_run.c retval, duration); retval 415 net/core/ethtool.c bool retval = true; retval 427 net/core/ethtool.c retval = false; retval 431 net/core/ethtool.c return retval; retval 443 net/core/ethtool.c bool retval = true; retval 453 net/core/ethtool.c retval = false; retval 480 net/core/ethtool.c return retval; retval 491 net/core/ethtool.c bool retval = true; retval 500 net/core/ethtool.c retval &= ethtool_convert_link_mode_to_legacy_u32( retval 503 net/core/ethtool.c retval &= ethtool_convert_link_mode_to_legacy_u32( retval 506 net/core/ethtool.c retval &= ethtool_convert_link_mode_to_legacy_u32( retval 526 net/core/ethtool.c return retval; retval 180 net/core/neighbour.c bool retval = false; retval 190 net/core/neighbour.c retval = true; retval 193 net/core/neighbour.c if (retval) retval 195 net/core/neighbour.c return retval; retval 1613 net/core/net-sysfs.c int retval; retval 1616 net/core/net-sysfs.c retval = add_uevent_var(env, "INTERFACE=%s", dev->name); retval 1617 net/core/net-sysfs.c if (retval) retval 1624 net/core/net-sysfs.c retval = add_uevent_var(env, "IFINDEX=%d", dev->ifindex); retval 1627 net/core/net-sysfs.c return retval; retval 879 net/openvswitch/datapath.c int retval; retval 886 net/openvswitch/datapath.c retval = ovs_flow_cmd_fill_info(flow, dp_ifindex, skb, retval 889 net/openvswitch/datapath.c if (WARN_ON_ONCE(retval < 0)) { retval 891 net/openvswitch/datapath.c skb = ERR_PTR(retval); retval 1955 net/openvswitch/datapath.c int retval; retval 1961 net/openvswitch/datapath.c retval = ovs_vport_cmd_fill_info(vport, skb, net, portid, seq, 0, cmd, retval 1963 net/openvswitch/datapath.c BUG_ON(retval < 0); retval 895 net/rds/send.c int retval; retval 928 net/rds/send.c retval = rds_rdma_extra_size(CMSG_DATA(cmsg), iov); retval 929 net/rds/send.c if (retval < 0) retval 930 net/rds/send.c return retval; retval 931 net/rds/send.c size += retval; retval 388 net/sched/act_ct.c int nh_ofs, err, retval; retval 395 net/sched/act_ct.c retval = READ_ONCE(c->tcf_action); retval 422 net/sched/act_ct.c retval = TC_ACT_STOLEN; retval 480 net/sched/act_ct.c return retval; retval 218 net/sched/act_mirred.c int retval, err = 0; retval 240 net/sched/act_mirred.c retval = READ_ONCE(m->tcf_action); retval 259 net/sched/act_mirred.c tcf_mirred_can_reinsert(retval); retval 308 net/sched/act_mirred.c retval = TC_ACT_SHOT; retval 312 net/sched/act_mirred.c return retval; retval 163 net/sched/act_sample.c int retval; retval 170 net/sched/act_sample.c retval = READ_ONCE(s->tcf_action); retval 196 net/sched/act_sample.c return retval; retval 880 net/sctp/associola.c __u32 retval = asoc->next_tsn; retval 884 net/sctp/associola.c return retval; retval 210 net/sctp/bind_addr.c union sctp_params retval; retval 230 net/sctp/bind_addr.c retval.v = NULL; retval 234 net/sctp/bind_addr.c retval.v = kmalloc(len, gfp); retval 235 net/sctp/bind_addr.c if (!retval.v) retval 238 net/sctp/bind_addr.c addrparms = retval; retval 250 net/sctp/bind_addr.c return retval; retval 263 net/sctp/bind_addr.c int retval = 0; retval 274 net/sctp/bind_addr.c retval = -EINVAL; retval 282 net/sctp/bind_addr.c retval = sctp_add_bind_addr(bp, &addr, sizeof(addr), retval 284 net/sctp/bind_addr.c if (retval) { retval 296 net/sctp/bind_addr.c return retval; retval 244 net/sctp/endpointola.c struct sctp_endpoint *retval = NULL; retval 250 net/sctp/endpointola.c retval = ep; retval 253 net/sctp/endpointola.c return retval; retval 684 net/sctp/ipv6.c enum sctp_scope retval; retval 694 net/sctp/ipv6.c retval = SCTP_SCOPE_LOOPBACK; retval 697 net/sctp/ipv6.c retval = SCTP_SCOPE_LINK; retval 700 net/sctp/ipv6.c retval = SCTP_SCOPE_PRIVATE; retval 703 net/sctp/ipv6.c retval = SCTP_SCOPE_GLOBAL; retval 707 net/sctp/ipv6.c return retval; retval 182 net/sctp/output.c enum sctp_xmit retval; retval 187 net/sctp/output.c switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) { retval 200 net/sctp/output.c retval = sctp_packet_append_chunk(packet, retval 211 net/sctp/output.c return retval; retval 219 net/sctp/output.c enum sctp_xmit retval = SCTP_XMIT_OK; retval 224 net/sctp/output.c return retval; retval 230 net/sctp/output.c return retval; retval 236 net/sctp/output.c return retval; retval 240 net/sctp/output.c return retval; retval 245 net/sctp/output.c retval = __sctp_packet_append_chunk(pkt, auth); retval 247 net/sctp/output.c if (retval != SCTP_XMIT_OK) retval 250 net/sctp/output.c return retval; retval 257 net/sctp/output.c enum sctp_xmit retval = SCTP_XMIT_OK; retval 275 net/sctp/output.c return retval; retval 280 net/sctp/output.c retval = __sctp_packet_append_chunk(pkt, sack); retval 281 net/sctp/output.c if (retval != SCTP_XMIT_OK) { retval 295 net/sctp/output.c return retval; retval 306 net/sctp/output.c enum sctp_xmit retval = SCTP_XMIT_OK; retval 309 net/sctp/output.c retval = sctp_packet_will_fit(packet, chunk, chunk_len); retval 310 net/sctp/output.c if (retval != SCTP_XMIT_OK) retval 351 net/sctp/output.c return retval; retval 360 net/sctp/output.c enum sctp_xmit retval = SCTP_XMIT_OK; retval 369 net/sctp/output.c retval = sctp_packet_can_append_data(packet, chunk); retval 370 net/sctp/output.c if (retval != SCTP_XMIT_OK) retval 375 net/sctp/output.c retval = sctp_packet_bundle_auth(packet, chunk); retval 376 net/sctp/output.c if (retval != SCTP_XMIT_OK) retval 380 net/sctp/output.c retval = sctp_packet_bundle_sack(packet, chunk); retval 381 net/sctp/output.c if (retval != SCTP_XMIT_OK) retval 384 net/sctp/output.c retval = __sctp_packet_append_chunk(packet, chunk); retval 387 net/sctp/output.c return retval; retval 761 net/sctp/output.c enum sctp_xmit retval = SCTP_XMIT_OK; retval 808 net/sctp/output.c retval = SCTP_XMIT_PMTU_FULL; retval 817 net/sctp/output.c retval = SCTP_XMIT_PMTU_FULL; retval 821 net/sctp/output.c retval = SCTP_XMIT_PMTU_FULL; retval 828 net/sctp/output.c retval = SCTP_XMIT_PMTU_FULL; retval 835 net/sctp/output.c retval = SCTP_XMIT_PMTU_FULL; retval 840 net/sctp/output.c return retval; retval 383 net/sctp/protocol.c enum sctp_scope retval; retval 387 net/sctp/protocol.c retval = SCTP_SCOPE_UNUSABLE; retval 389 net/sctp/protocol.c retval = SCTP_SCOPE_LOOPBACK; retval 391 net/sctp/protocol.c retval = SCTP_SCOPE_LINK; retval 395 net/sctp/protocol.c retval = SCTP_SCOPE_PRIVATE; retval 397 net/sctp/protocol.c retval = SCTP_SCOPE_GLOBAL; retval 400 net/sctp/protocol.c return retval; retval 216 net/sctp/sm_make_chunk.c struct sctp_chunk *retval = NULL; retval 319 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_INIT, 0, chunksize, gfp); retval 320 net/sctp/sm_make_chunk.c if (!retval) retval 323 net/sctp/sm_make_chunk.c retval->subh.init_hdr = retval 324 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(init), &init); retval 325 net/sctp/sm_make_chunk.c retval->param_hdr.v = retval 326 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, addrs_len, addrs.v); retval 337 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(sat), &sat); retval 338 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, num_types * sizeof(__u16), &types); retval 341 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param); retval 349 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(ext_param), &ext_param); retval 350 net/sctp/sm_make_chunk.c sctp_addto_param(retval, num_ext, extensions); retval 354 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(prsctp_param), &prsctp_param); retval 360 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(aiparam), &aiparam); retval 365 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(asoc->c.auth_random), retval 368 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, ntohs(auth_hmacs->length), retval 371 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, ntohs(auth_chunks->length), retval 376 net/sctp/sm_make_chunk.c return retval; retval 388 net/sctp/sm_make_chunk.c struct sctp_chunk *retval = NULL; retval 472 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_INIT_ACK, 0, chunksize, gfp); retval 473 net/sctp/sm_make_chunk.c if (!retval) retval 486 net/sctp/sm_make_chunk.c retval->transport = retval 490 net/sctp/sm_make_chunk.c retval->subh.init_hdr = retval 491 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(initack), &initack); retval 492 net/sctp/sm_make_chunk.c retval->param_hdr.v = sctp_addto_chunk(retval, addrs_len, addrs.v); retval 493 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, cookie_len, cookie); retval 495 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param); retval 499 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(ext_param), &ext_param); retval 500 net/sctp/sm_make_chunk.c sctp_addto_param(retval, num_ext, extensions); retval 503 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(prsctp_param), &prsctp_param); retval 509 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(aiparam), &aiparam); retval 513 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, ntohs(auth_random->length), retval 516 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, ntohs(auth_hmacs->length), retval 519 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, ntohs(auth_chunks->length), retval 524 net/sctp/sm_make_chunk.c retval->asoc = (struct sctp_association *) asoc; retval 530 net/sctp/sm_make_chunk.c return retval; retval 570 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 578 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_COOKIE_ECHO, 0, retval 580 net/sctp/sm_make_chunk.c if (!retval) retval 582 net/sctp/sm_make_chunk.c retval->subh.cookie_hdr = retval 583 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, cookie_len, cookie); retval 595 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 598 net/sctp/sm_make_chunk.c return retval; retval 622 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 624 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_COOKIE_ACK, 0, 0, GFP_ATOMIC); retval 635 net/sctp/sm_make_chunk.c if (retval && chunk && chunk->transport) retval 636 net/sctp/sm_make_chunk.c retval->transport = retval 640 net/sctp/sm_make_chunk.c return retval; retval 670 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 674 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_ECN_CWR, 0, retval 677 net/sctp/sm_make_chunk.c if (!retval) retval 680 net/sctp/sm_make_chunk.c retval->subh.ecn_cwr_hdr = retval 681 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(cwr), &cwr); retval 694 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 697 net/sctp/sm_make_chunk.c return retval; retval 704 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 708 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_ECN_ECNE, 0, retval 710 net/sctp/sm_make_chunk.c if (!retval) retval 712 net/sctp/sm_make_chunk.c retval->subh.ecne_hdr = retval 713 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(ecne), &ecne); retval 716 net/sctp/sm_make_chunk.c return retval; retval 726 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 740 net/sctp/sm_make_chunk.c retval = sctp_make_data(asoc, flags, sizeof(dp) + len, gfp); retval 741 net/sctp/sm_make_chunk.c if (!retval) retval 744 net/sctp/sm_make_chunk.c retval->subh.data_hdr = sctp_addto_chunk(retval, sizeof(dp), &dp); retval 745 net/sctp/sm_make_chunk.c memcpy(&retval->sinfo, sinfo, sizeof(struct sctp_sndrcvinfo)); retval 747 net/sctp/sm_make_chunk.c return retval; retval 760 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 785 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_SACK, 0, len, GFP_ATOMIC); retval 786 net/sctp/sm_make_chunk.c if (!retval) retval 819 net/sctp/sm_make_chunk.c retval->transport = asoc->peer.last_data_from; retval 821 net/sctp/sm_make_chunk.c retval->subh.sack_hdr = retval 822 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(sack), &sack); retval 826 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(__u32) * num_gabs, retval 832 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(__u32) * num_dup_tsns, retval 850 net/sctp/sm_make_chunk.c return retval; retval 858 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 868 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_SHUTDOWN, 0, retval 870 net/sctp/sm_make_chunk.c if (!retval) retval 873 net/sctp/sm_make_chunk.c retval->subh.shutdown_hdr = retval 874 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(shut), &shut); retval 877 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 879 net/sctp/sm_make_chunk.c return retval; retval 885 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 887 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_SHUTDOWN_ACK, 0, 0, retval 899 net/sctp/sm_make_chunk.c if (retval && chunk) retval 900 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 902 net/sctp/sm_make_chunk.c return retval; retval 909 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 917 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_SHUTDOWN_COMPLETE, flags, retval 930 net/sctp/sm_make_chunk.c if (retval && chunk) retval 931 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 933 net/sctp/sm_make_chunk.c return retval; retval 943 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 957 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_ABORT, flags, hint, retval 969 net/sctp/sm_make_chunk.c if (retval && chunk) retval 970 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 972 net/sctp/sm_make_chunk.c return retval; retval 981 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 984 net/sctp/sm_make_chunk.c retval = sctp_make_abort(asoc, chunk, retval 987 net/sctp/sm_make_chunk.c if (!retval) retval 992 net/sctp/sm_make_chunk.c sctp_init_cause(retval, SCTP_ERROR_NO_DATA, sizeof(payload)); retval 993 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(payload), (const void *)&payload); retval 1005 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 1008 net/sctp/sm_make_chunk.c return retval; retval 1016 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1020 net/sctp/sm_make_chunk.c retval = sctp_make_abort(asoc, NULL, retval 1022 net/sctp/sm_make_chunk.c if (!retval) retval 1036 net/sctp/sm_make_chunk.c sctp_init_cause(retval, SCTP_ERROR_USER_ABORT, paylen); retval 1037 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, paylen, payload); retval 1042 net/sctp/sm_make_chunk.c return retval; retval 1047 net/sctp/sm_make_chunk.c sctp_chunk_free(retval); retval 1048 net/sctp/sm_make_chunk.c retval = NULL; retval 1050 net/sctp/sm_make_chunk.c return retval; retval 1083 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1086 net/sctp/sm_make_chunk.c retval = sctp_make_abort(asoc, chunk, sizeof(struct sctp_errhdr) + retval 1088 net/sctp/sm_make_chunk.c if (!retval) retval 1091 net/sctp/sm_make_chunk.c sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, paylen + retval 1096 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, paylen, payload); retval 1097 net/sctp/sm_make_chunk.c sctp_addto_param(retval, sizeof(phdr), &phdr); retval 1100 net/sctp/sm_make_chunk.c return retval; retval 1111 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1113 net/sctp/sm_make_chunk.c retval = sctp_make_abort(asoc, chunk, payload_len); retval 1114 net/sctp/sm_make_chunk.c if (!retval) retval 1117 net/sctp/sm_make_chunk.c sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, retval 1119 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(error), error); retval 1120 net/sctp/sm_make_chunk.c sctp_addto_param(retval, sizeof(*param), param); retval 1123 net/sctp/sm_make_chunk.c return retval; retval 1132 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1134 net/sctp/sm_make_chunk.c retval = sctp_make_abort(asoc, chunk, payload_len); retval 1135 net/sctp/sm_make_chunk.c if (!retval) retval 1138 net/sctp/sm_make_chunk.c sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, sizeof(error)); retval 1139 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(error), error); retval 1142 net/sctp/sm_make_chunk.c return retval; retval 1150 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1152 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_HEARTBEAT, 0, retval 1155 net/sctp/sm_make_chunk.c if (!retval) retval 1167 net/sctp/sm_make_chunk.c retval->transport = (struct sctp_transport *) transport; retval 1168 net/sctp/sm_make_chunk.c retval->subh.hbs_hdr = sctp_addto_chunk(retval, sizeof(hbinfo), retval 1172 net/sctp/sm_make_chunk.c return retval; retval 1180 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1182 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_HEARTBEAT_ACK, 0, paylen, retval 1184 net/sctp/sm_make_chunk.c if (!retval) retval 1187 net/sctp/sm_make_chunk.c retval->subh.hbs_hdr = sctp_addto_chunk(retval, paylen, payload); retval 1199 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 1202 net/sctp/sm_make_chunk.c return retval; retval 1213 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1215 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_ERROR, 0, retval 1218 net/sctp/sm_make_chunk.c if (!retval) retval 1230 net/sctp/sm_make_chunk.c retval->transport = chunk->transport; retval 1233 net/sctp/sm_make_chunk.c return retval; retval 1266 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1268 net/sctp/sm_make_chunk.c retval = sctp_make_op_error_space(asoc, chunk, paylen + reserve_tail); retval 1269 net/sctp/sm_make_chunk.c if (!retval) retval 1272 net/sctp/sm_make_chunk.c sctp_init_cause(retval, cause_code, paylen + reserve_tail); retval 1273 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, paylen, payload); retval 1275 net/sctp/sm_make_chunk.c sctp_addto_param(retval, reserve_tail, NULL); retval 1278 net/sctp/sm_make_chunk.c return retval; retval 1286 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1293 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_AUTH, 0, retval 1296 net/sctp/sm_make_chunk.c if (!retval) retval 1302 net/sctp/sm_make_chunk.c retval->subh.auth_hdr = sctp_addto_chunk(retval, sizeof(auth_hdr), retval 1305 net/sctp/sm_make_chunk.c skb_put_zero(retval->skb, hmac_desc->hmac_len); retval 1308 net/sctp/sm_make_chunk.c retval->chunk_hdr->length = retval 1309 net/sctp/sm_make_chunk.c htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); retval 1310 net/sctp/sm_make_chunk.c retval->chunk_end = skb_tail_pointer(retval->skb); retval 1312 net/sctp/sm_make_chunk.c return retval; retval 1334 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1336 net/sctp/sm_make_chunk.c retval = kmem_cache_zalloc(sctp_chunk_cachep, gfp); retval 1338 net/sctp/sm_make_chunk.c if (!retval) retval 1343 net/sctp/sm_make_chunk.c INIT_LIST_HEAD(&retval->list); retval 1344 net/sctp/sm_make_chunk.c retval->skb = skb; retval 1345 net/sctp/sm_make_chunk.c retval->asoc = (struct sctp_association *)asoc; retval 1346 net/sctp/sm_make_chunk.c retval->singleton = 1; retval 1348 net/sctp/sm_make_chunk.c retval->fast_retransmit = SCTP_CAN_FRTX; retval 1351 net/sctp/sm_make_chunk.c INIT_LIST_HEAD(&retval->transmitted_list); retval 1352 net/sctp/sm_make_chunk.c INIT_LIST_HEAD(&retval->frag_list); retval 1354 net/sctp/sm_make_chunk.c refcount_set(&retval->refcnt, 1); retval 1357 net/sctp/sm_make_chunk.c return retval; retval 1388 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 1409 net/sctp/sm_make_chunk.c retval = sctp_chunkify(skb, asoc, sk, gfp); retval 1410 net/sctp/sm_make_chunk.c if (!retval) { retval 1415 net/sctp/sm_make_chunk.c retval->chunk_hdr = chunk_hdr; retval 1416 net/sctp/sm_make_chunk.c retval->chunk_end = ((__u8 *)chunk_hdr) + sizeof(*chunk_hdr); retval 1420 net/sctp/sm_make_chunk.c retval->auth = 1; retval 1422 net/sctp/sm_make_chunk.c return retval; retval 1616 net/sctp/sm_make_chunk.c struct sctp_cookie_param *retval; retval 1639 net/sctp/sm_make_chunk.c retval = kzalloc(*cookie_len, GFP_ATOMIC); retval 1640 net/sctp/sm_make_chunk.c if (!retval) retval 1643 net/sctp/sm_make_chunk.c cookie = (struct sctp_signed_cookie *) retval->body; retval 1646 net/sctp/sm_make_chunk.c retval->p.type = SCTP_PARAM_STATE_COOKIE; retval 1647 net/sctp/sm_make_chunk.c retval->p.length = htons(*cookie_len); retval 1688 net/sctp/sm_make_chunk.c return retval; retval 1691 net/sctp/sm_make_chunk.c kfree(retval); retval 1704 net/sctp/sm_make_chunk.c struct sctp_association *retval = NULL; retval 1823 net/sctp/sm_make_chunk.c retval = sctp_association_new(ep, ep->base.sk, scope, gfp); retval 1824 net/sctp/sm_make_chunk.c if (!retval) { retval 1830 net/sctp/sm_make_chunk.c retval->peer.port = ntohs(chunk->sctp_hdr->source); retval 1833 net/sctp/sm_make_chunk.c memcpy(&retval->c, bear_cookie, sizeof(*bear_cookie)); retval 1835 net/sctp/sm_make_chunk.c if (sctp_assoc_set_bind_addr_from_cookie(retval, bear_cookie, retval 1842 net/sctp/sm_make_chunk.c if (list_empty(&retval->base.bind_addr.address_list)) { retval 1843 net/sctp/sm_make_chunk.c sctp_add_bind_addr(&retval->base.bind_addr, &chunk->dest, retval 1848 net/sctp/sm_make_chunk.c retval->next_tsn = retval->c.initial_tsn; retval 1849 net/sctp/sm_make_chunk.c retval->ctsn_ack_point = retval->next_tsn - 1; retval 1850 net/sctp/sm_make_chunk.c retval->addip_serial = retval->c.initial_tsn; retval 1851 net/sctp/sm_make_chunk.c retval->strreset_outseq = retval->c.initial_tsn; retval 1852 net/sctp/sm_make_chunk.c retval->adv_peer_ack_point = retval->ctsn_ack_point; retval 1853 net/sctp/sm_make_chunk.c retval->peer.prsctp_capable = retval->c.prsctp_capable; retval 1854 net/sctp/sm_make_chunk.c retval->peer.adaptation_ind = retval->c.adaptation_ind; retval 1857 net/sctp/sm_make_chunk.c return retval; retval 1860 net/sctp/sm_make_chunk.c if (retval) retval 1861 net/sctp/sm_make_chunk.c sctp_association_free(retval); retval 2077 net/sctp/sm_make_chunk.c int retval = SCTP_IERROR_NO_ERROR; retval 2081 net/sctp/sm_make_chunk.c retval = SCTP_IERROR_ERROR; retval 2086 net/sctp/sm_make_chunk.c retval = SCTP_IERROR_ERROR; retval 2100 net/sctp/sm_make_chunk.c retval = SCTP_IERROR_NOMEM; retval 2114 net/sctp/sm_make_chunk.c return retval; retval 2133 net/sctp/sm_make_chunk.c int retval = SCTP_IERROR_NO_ERROR; retval 2167 net/sctp/sm_make_chunk.c retval = SCTP_IERROR_ABORT; retval 2188 net/sctp/sm_make_chunk.c retval = SCTP_IERROR_ABORT; retval 2204 net/sctp/sm_make_chunk.c retval = SCTP_IERROR_ABORT; retval 2230 net/sctp/sm_make_chunk.c retval = SCTP_IERROR_ABORT; retval 2238 net/sctp/sm_make_chunk.c retval = sctp_process_unk_param(asoc, param, chunk, err_chunk); retval 2241 net/sctp/sm_make_chunk.c return retval; retval 2505 net/sctp/sm_make_chunk.c int retval = 1, i; retval 2595 net/sctp/sm_make_chunk.c retval = 0; retval 2666 net/sctp/sm_make_chunk.c retval = 0; retval 2680 net/sctp/sm_make_chunk.c retval = 0; retval 2696 net/sctp/sm_make_chunk.c retval = 0; retval 2710 net/sctp/sm_make_chunk.c return retval; retval 2731 net/sctp/sm_make_chunk.c __u32 retval; retval 2733 net/sctp/sm_make_chunk.c get_random_bytes(&retval, sizeof(__u32)); retval 2734 net/sctp/sm_make_chunk.c return retval; retval 2764 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 2776 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_ASCONF, 0, length, retval 2778 net/sctp/sm_make_chunk.c if (!retval) retval 2783 net/sctp/sm_make_chunk.c retval->subh.addip_hdr = retval 2784 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(asconf), &asconf); retval 2785 net/sctp/sm_make_chunk.c retval->param_hdr.v = retval 2786 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, addrlen, &addrparam); retval 2788 net/sctp/sm_make_chunk.c return retval; retval 2823 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 2855 net/sctp/sm_make_chunk.c retval = sctp_make_asconf(asoc, laddr, totallen); retval 2856 net/sctp/sm_make_chunk.c if (!retval) retval 2869 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, paramlen, ¶m); retval 2870 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, addr_param_len, &addr_param); retval 2882 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, paramlen, ¶m); retval 2883 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, addr_param_len, &addr_param); retval 2885 net/sctp/sm_make_chunk.c return retval; retval 2908 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 2918 net/sctp/sm_make_chunk.c retval = sctp_make_asconf(asoc, addr, len); retval 2919 net/sctp/sm_make_chunk.c if (!retval) retval 2926 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(param), ¶m); retval 2927 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, addrlen, &addrparam); retval 2929 net/sctp/sm_make_chunk.c return retval; retval 2955 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 2959 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_ASCONF_ACK, 0, length, retval 2961 net/sctp/sm_make_chunk.c if (!retval) retval 2966 net/sctp/sm_make_chunk.c retval->subh.addip_hdr = retval 2967 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(asconf), &asconf); retval 2969 net/sctp/sm_make_chunk.c return retval; retval 3436 net/sctp/sm_make_chunk.c int retval = 0; retval 3478 net/sctp/sm_make_chunk.c retval = 1; retval 3514 net/sctp/sm_make_chunk.c return retval; retval 3522 net/sctp/sm_make_chunk.c struct sctp_chunk *retval = NULL; retval 3530 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_FWD_TSN, 0, hint, GFP_ATOMIC); retval 3532 net/sctp/sm_make_chunk.c if (!retval) retval 3536 net/sctp/sm_make_chunk.c retval->subh.fwdtsn_hdr = retval 3537 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(ftsn_hdr), &ftsn_hdr); retval 3542 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(skip), &skip); retval 3545 net/sctp/sm_make_chunk.c return retval; retval 3552 net/sctp/sm_make_chunk.c struct sctp_chunk *retval = NULL; retval 3558 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_I_FWD_TSN, 0, hint, retval 3560 net/sctp/sm_make_chunk.c if (!retval) retval 3564 net/sctp/sm_make_chunk.c retval->subh.ifwdtsn_hdr = retval 3565 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(ftsn_hdr), &ftsn_hdr); retval 3567 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, nstreams * sizeof(skiplist[0]), skiplist); retval 3569 net/sctp/sm_make_chunk.c return retval; retval 3591 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 3593 net/sctp/sm_make_chunk.c retval = sctp_make_control(asoc, SCTP_CID_RECONF, 0, length, retval 3595 net/sctp/sm_make_chunk.c if (!retval) retval 3598 net/sctp/sm_make_chunk.c reconf = (struct sctp_reconf_chunk *)retval->chunk_hdr; retval 3599 net/sctp/sm_make_chunk.c retval->param_hdr.v = reconf->params; retval 3601 net/sctp/sm_make_chunk.c return retval; retval 3646 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 3652 net/sctp/sm_make_chunk.c retval = sctp_make_reconf(asoc, outlen + inlen); retval 3653 net/sctp/sm_make_chunk.c if (!retval) retval 3663 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(outreq), &outreq); retval 3666 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, stream_len, stream_list); retval 3674 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(inreq), &inreq); retval 3677 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, stream_len, stream_list); retval 3680 net/sctp/sm_make_chunk.c return retval; retval 3697 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 3699 net/sctp/sm_make_chunk.c retval = sctp_make_reconf(asoc, length); retval 3700 net/sctp/sm_make_chunk.c if (!retval) retval 3707 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(tsnreq), &tsnreq); retval 3709 net/sctp/sm_make_chunk.c return retval; retval 3729 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 3731 net/sctp/sm_make_chunk.c retval = sctp_make_reconf(asoc, (!!out + !!in) * size); retval 3732 net/sctp/sm_make_chunk.c if (!retval) retval 3742 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, size, &addstrm); retval 3752 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, size, &addstrm); retval 3755 net/sctp/sm_make_chunk.c return retval; retval 3774 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 3776 net/sctp/sm_make_chunk.c retval = sctp_make_reconf(asoc, length); retval 3777 net/sctp/sm_make_chunk.c if (!retval) retval 3785 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(resp), &resp); retval 3787 net/sctp/sm_make_chunk.c return retval; retval 3812 net/sctp/sm_make_chunk.c struct sctp_chunk *retval; retval 3814 net/sctp/sm_make_chunk.c retval = sctp_make_reconf(asoc, length); retval 3815 net/sctp/sm_make_chunk.c if (!retval) retval 3826 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, sizeof(tsnresp), &tsnresp); retval 3828 net/sctp/sm_make_chunk.c return retval; retval 1462 net/sctp/sm_statefuns.c enum sctp_disposition retval; retval 1521 net/sctp/sm_statefuns.c retval = SCTP_DISPOSITION_CONSUME; retval 1523 net/sctp/sm_statefuns.c retval = SCTP_DISPOSITION_NOMEM; retval 1564 net/sctp/sm_statefuns.c retval = SCTP_DISPOSITION_CONSUME; retval 1616 net/sctp/sm_statefuns.c retval = SCTP_DISPOSITION_CONSUME; retval 1618 net/sctp/sm_statefuns.c return retval; retval 1621 net/sctp/sm_statefuns.c retval = SCTP_DISPOSITION_NOMEM; retval 1628 net/sctp/sm_statefuns.c return retval; retval 2118 net/sctp/sm_statefuns.c enum sctp_disposition retval; retval 2189 net/sctp/sm_statefuns.c retval = sctp_sf_do_dupcook_a(net, ep, asoc, chunk, commands, retval 2194 net/sctp/sm_statefuns.c retval = sctp_sf_do_dupcook_b(net, ep, asoc, chunk, commands, retval 2199 net/sctp/sm_statefuns.c retval = sctp_sf_do_dupcook_c(net, ep, asoc, chunk, commands, retval 2204 net/sctp/sm_statefuns.c retval = sctp_sf_do_dupcook_d(net, ep, asoc, chunk, commands, retval 2209 net/sctp/sm_statefuns.c retval = sctp_sf_pdiscard(net, ep, asoc, type, arg, commands); retval 2223 net/sctp/sm_statefuns.c return retval; retval 308 net/sctp/socket.c int retval = 0; retval 317 net/sctp/socket.c retval = sctp_do_bind(sk, (union sctp_addr *)addr, retval 320 net/sctp/socket.c retval = -EINVAL; retval 324 net/sctp/socket.c return retval; retval 455 net/sctp/socket.c int retval = 0; retval 467 net/sctp/socket.c retval = sctp_primitive_ASCONF(net, asoc, chunk); retval 468 net/sctp/socket.c if (retval) retval 474 net/sctp/socket.c return retval; retval 492 net/sctp/socket.c int retval = 0; retval 508 net/sctp/socket.c retval = -EINVAL; retval 512 net/sctp/socket.c retval = sctp_do_bind(sk, (union sctp_addr *)sa_addr, retval 518 net/sctp/socket.c if (retval < 0) { retval 522 net/sctp/socket.c return retval; retval 526 net/sctp/socket.c return retval; retval 555 net/sctp/socket.c int retval = 0; retval 561 net/sctp/socket.c return retval; retval 586 net/sctp/socket.c retval = -EINVAL; retval 607 net/sctp/socket.c retval = -ENOMEM; retval 619 net/sctp/socket.c retval = sctp_add_bind_addr(bp, &saveaddr, retval 640 net/sctp/socket.c retval = sctp_send_asconf(asoc, chunk); retval 644 net/sctp/socket.c return retval; retval 668 net/sctp/socket.c int retval = 0; retval 684 net/sctp/socket.c retval = -EBUSY; retval 691 net/sctp/socket.c retval = -EINVAL; retval 696 net/sctp/socket.c retval = -EADDRNOTAVAIL; retval 702 net/sctp/socket.c retval = -EINVAL; retval 716 net/sctp/socket.c retval = sctp_del_bind_addr(bp, sa_addr); retval 720 net/sctp/socket.c if (retval < 0) { retval 724 net/sctp/socket.c return retval; retval 728 net/sctp/socket.c return retval; retval 756 net/sctp/socket.c int retval = 0; retval 764 net/sctp/socket.c return retval; retval 790 net/sctp/socket.c retval = -EINVAL; retval 816 net/sctp/socket.c retval = -ENOMEM; retval 854 net/sctp/socket.c retval = -ENOMEM; retval 886 net/sctp/socket.c retval = sctp_send_asconf(asoc, chunk); retval 889 net/sctp/socket.c return retval; retval 4075 net/sctp/socket.c int retval = -EINVAL; retval 4081 net/sctp/socket.c retval = -EFAULT; retval 4096 net/sctp/socket.c retval = 0; retval 4122 net/sctp/socket.c return retval; retval 4131 net/sctp/socket.c int retval = -EINVAL; retval 4137 net/sctp/socket.c retval = -EFAULT; retval 4148 net/sctp/socket.c retval = 0; retval 4151 net/sctp/socket.c return retval; retval 4161 net/sctp/socket.c int retval = -EINVAL; retval 4167 net/sctp/socket.c retval = -EFAULT; retval 4179 net/sctp/socket.c retval = 0; retval 4199 net/sctp/socket.c return retval; retval 4208 net/sctp/socket.c int retval = -EINVAL; retval 4228 net/sctp/socket.c retval = sctp_send_reset_streams(asoc, params); retval 4232 net/sctp/socket.c return retval; retval 4241 net/sctp/socket.c int retval = -EINVAL; retval 4247 net/sctp/socket.c retval = -EFAULT; retval 4255 net/sctp/socket.c retval = sctp_send_reset_assoc(asoc); retval 4258 net/sctp/socket.c return retval; retval 4267 net/sctp/socket.c int retval = -EINVAL; retval 4273 net/sctp/socket.c retval = -EFAULT; retval 4281 net/sctp/socket.c retval = sctp_send_add_streams(asoc, ¶ms); retval 4284 net/sctp/socket.c return retval; retval 4294 net/sctp/socket.c int retval = 0; retval 4327 net/sctp/socket.c if (ret && !retval) retval 4328 net/sctp/socket.c retval = ret; retval 4332 net/sctp/socket.c return retval; retval 4341 net/sctp/socket.c int retval = -EINVAL; retval 4348 net/sctp/socket.c retval = -EFAULT; retval 4358 net/sctp/socket.c retval = sctp_sched_set_value(asoc, params.stream_id, retval 4363 net/sctp/socket.c retval = 0; retval 4368 net/sctp/socket.c if (ret && !retval) /* try to return the 1st error. */ retval 4369 net/sctp/socket.c retval = ret; retval 4373 net/sctp/socket.c return retval; retval 4383 net/sctp/socket.c int retval = -EINVAL; retval 4390 net/sctp/socket.c retval = -EFAULT; retval 4400 net/sctp/socket.c retval = -EPERM; retval 4406 net/sctp/socket.c retval = 0; retval 4409 net/sctp/socket.c return retval; retval 4461 net/sctp/socket.c int retval = 0; retval 4495 net/sctp/socket.c if (ret && !retval) retval 4496 net/sctp/socket.c retval = ret; retval 4500 net/sctp/socket.c return retval; retval 4510 net/sctp/socket.c int retval = -EINVAL; retval 4516 net/sctp/socket.c retval = -EFAULT; retval 4533 net/sctp/socket.c retval = 0; retval 4536 net/sctp/socket.c return retval; retval 4546 net/sctp/socket.c int retval = -EINVAL; retval 4552 net/sctp/socket.c retval = -EFAULT; retval 4563 net/sctp/socket.c retval = sctp_auth_init(ep, GFP_KERNEL); retval 4564 net/sctp/socket.c if (retval) retval 4573 net/sctp/socket.c retval = 0; retval 4576 net/sctp/socket.c return retval; retval 4585 net/sctp/socket.c int retval = -EINVAL; retval 4591 net/sctp/socket.c retval = -EFAULT; retval 4601 net/sctp/socket.c retval = 0; retval 4604 net/sctp/socket.c return retval; retval 4629 net/sctp/socket.c int retval = 0; retval 4641 net/sctp/socket.c retval = af->setsockopt(sk, level, optname, optval, optlen); retval 4650 net/sctp/socket.c retval = sctp_setsockopt_bindx(sk, (struct sockaddr __user *)optval, retval 4656 net/sctp/socket.c retval = sctp_setsockopt_bindx(sk, (struct sockaddr __user *)optval, retval 4662 net/sctp/socket.c retval = sctp_setsockopt_connectx_old(sk, retval 4669 net/sctp/socket.c retval = sctp_setsockopt_connectx(sk, retval 4675 net/sctp/socket.c retval = sctp_setsockopt_disable_fragments(sk, optval, optlen); retval 4679 net/sctp/socket.c retval = sctp_setsockopt_events(sk, optval, optlen); retval 4683 net/sctp/socket.c retval = sctp_setsockopt_autoclose(sk, optval, optlen); retval 4687 net/sctp/socket.c retval = sctp_setsockopt_peer_addr_params(sk, optval, optlen); retval 4691 net/sctp/socket.c retval = sctp_setsockopt_delayed_ack(sk, optval, optlen); retval 4694 net/sctp/socket.c retval = sctp_setsockopt_partial_delivery_point(sk, optval, optlen); retval 4698 net/sctp/socket.c retval = sctp_setsockopt_initmsg(sk, optval, optlen); retval 4701 net/sctp/socket.c retval = sctp_setsockopt_default_send_param(sk, optval, retval 4705 net/sctp/socket.c retval = sctp_setsockopt_default_sndinfo(sk, optval, optlen); retval 4708 net/sctp/socket.c retval = sctp_setsockopt_primary_addr(sk, optval, optlen); retval 4711 net/sctp/socket.c retval = sctp_setsockopt_peer_primary_addr(sk, optval, optlen); retval 4714 net/sctp/socket.c retval = sctp_setsockopt_nodelay(sk, optval, optlen); retval 4717 net/sctp/socket.c retval = sctp_setsockopt_rtoinfo(sk, optval, optlen); retval 4720 net/sctp/socket.c retval = sctp_setsockopt_associnfo(sk, optval, optlen); retval 4723 net/sctp/socket.c retval = sctp_setsockopt_mappedv4(sk, optval, optlen); retval 4726 net/sctp/socket.c retval = sctp_setsockopt_maxseg(sk, optval, optlen); retval 4729 net/sctp/socket.c retval = sctp_setsockopt_adaptation_layer(sk, optval, optlen); retval 4732 net/sctp/socket.c retval = sctp_setsockopt_context(sk, optval, optlen); retval 4735 net/sctp/socket.c retval = sctp_setsockopt_fragment_interleave(sk, optval, optlen); retval 4738 net/sctp/socket.c retval = sctp_setsockopt_maxburst(sk, optval, optlen); retval 4741 net/sctp/socket.c retval = sctp_setsockopt_auth_chunk(sk, optval, optlen); retval 4744 net/sctp/socket.c retval = sctp_setsockopt_hmac_ident(sk, optval, optlen); retval 4747 net/sctp/socket.c retval = sctp_setsockopt_auth_key(sk, optval, optlen); retval 4750 net/sctp/socket.c retval = sctp_setsockopt_active_key(sk, optval, optlen); retval 4753 net/sctp/socket.c retval = sctp_setsockopt_del_key(sk, optval, optlen); retval 4756 net/sctp/socket.c retval = sctp_setsockopt_deactivate_key(sk, optval, optlen); retval 4759 net/sctp/socket.c retval = sctp_setsockopt_auto_asconf(sk, optval, optlen); retval 4762 net/sctp/socket.c retval = sctp_setsockopt_paddr_thresholds(sk, optval, optlen); retval 4765 net/sctp/socket.c retval = sctp_setsockopt_recvrcvinfo(sk, optval, optlen); retval 4768 net/sctp/socket.c retval = sctp_setsockopt_recvnxtinfo(sk, optval, optlen); retval 4771 net/sctp/socket.c retval = sctp_setsockopt_pr_supported(sk, optval, optlen); retval 4774 net/sctp/socket.c retval = sctp_setsockopt_default_prinfo(sk, optval, optlen); retval 4777 net/sctp/socket.c retval = sctp_setsockopt_reconfig_supported(sk, optval, optlen); retval 4780 net/sctp/socket.c retval = sctp_setsockopt_enable_strreset(sk, optval, optlen); retval 4783 net/sctp/socket.c retval = sctp_setsockopt_reset_streams(sk, optval, optlen); retval 4786 net/sctp/socket.c retval = sctp_setsockopt_reset_assoc(sk, optval, optlen); retval 4789 net/sctp/socket.c retval = sctp_setsockopt_add_streams(sk, optval, optlen); retval 4792 net/sctp/socket.c retval = sctp_setsockopt_scheduler(sk, optval, optlen); retval 4795 net/sctp/socket.c retval = sctp_setsockopt_scheduler_value(sk, optval, optlen); retval 4798 net/sctp/socket.c retval = sctp_setsockopt_interleaving_supported(sk, optval, retval 4802 net/sctp/socket.c retval = sctp_setsockopt_reuse_port(sk, optval, optlen); retval 4805 net/sctp/socket.c retval = sctp_setsockopt_event(sk, optval, optlen); retval 4808 net/sctp/socket.c retval = sctp_setsockopt_asconf_supported(sk, optval, optlen); retval 4811 net/sctp/socket.c retval = sctp_setsockopt_auth_supported(sk, optval, optlen); retval 4814 net/sctp/socket.c retval = sctp_setsockopt_ecn_supported(sk, optval, optlen); retval 4817 net/sctp/socket.c retval = -ENOPROTOOPT; retval 4824 net/sctp/socket.c return retval; retval 5446 net/sctp/socket.c int retval = 0; retval 5449 net/sctp/socket.c retval = -EINVAL; retval 5455 net/sctp/socket.c retval = -EFAULT; retval 5462 net/sctp/socket.c retval = -EINVAL; retval 5493 net/sctp/socket.c retval = -EFAULT; retval 5502 net/sctp/socket.c retval = -EFAULT; retval 5507 net/sctp/socket.c return retval; retval 5524 net/sctp/socket.c int retval = 0; retval 5527 net/sctp/socket.c retval = -EINVAL; retval 5533 net/sctp/socket.c retval = -EFAULT; retval 5553 net/sctp/socket.c retval = -EFAULT; retval 5558 net/sctp/socket.c retval = -EFAULT; retval 5563 net/sctp/socket.c return retval; retval 5700 net/sctp/socket.c int retval; retval 5702 net/sctp/socket.c retval = sctp_do_peeloff(sk, peeloff->associd, &newsock); retval 5703 net/sctp/socket.c if (retval < 0) retval 5707 net/sctp/socket.c retval = get_unused_fd_flags(flags & SOCK_CLOEXEC); retval 5708 net/sctp/socket.c if (retval < 0) { retval 5715 net/sctp/socket.c put_unused_fd(retval); retval 5716 net/sctp/socket.c retval = PTR_ERR(*newfile); retval 5718 net/sctp/socket.c return retval; retval 5722 net/sctp/socket.c retval); retval 5724 net/sctp/socket.c peeloff->sd = retval; retval 5729 net/sctp/socket.c return retval; retval 5736 net/sctp/socket.c int retval = 0; retval 5744 net/sctp/socket.c retval = sctp_getsockopt_peeloff_common(sk, &peeloff, &newfile, 0); retval 5745 net/sctp/socket.c if (retval < 0) retval 5751 net/sctp/socket.c put_unused_fd(retval); retval 5757 net/sctp/socket.c put_unused_fd(retval); retval 5760 net/sctp/socket.c fd_install(retval, newfile); retval 5762 net/sctp/socket.c return retval; retval 5770 net/sctp/socket.c int retval = 0; retval 5778 net/sctp/socket.c retval = sctp_getsockopt_peeloff_common(sk, &peeloff.p_arg, retval 5780 net/sctp/socket.c if (retval < 0) retval 5786 net/sctp/socket.c put_unused_fd(retval); retval 5792 net/sctp/socket.c put_unused_fd(retval); retval 5795 net/sctp/socket.c fd_install(retval, newfile); retval 5797 net/sctp/socket.c return retval; retval 7346 net/sctp/socket.c int retval = -EFAULT; retval 7349 net/sctp/socket.c retval = -EINVAL; retval 7360 net/sctp/socket.c retval = -EINVAL; retval 7373 net/sctp/socket.c retval = 0; retval 7376 net/sctp/socket.c return retval; retval 7385 net/sctp/socket.c int retval = -EFAULT; retval 7388 net/sctp/socket.c retval = -EINVAL; retval 7399 net/sctp/socket.c retval = -EINVAL; retval 7419 net/sctp/socket.c retval = 0; retval 7422 net/sctp/socket.c return retval; retval 7432 net/sctp/socket.c int retval = -EINVAL; retval 7439 net/sctp/socket.c retval = -EFAULT; retval 7469 net/sctp/socket.c retval = -EFAULT; retval 7474 net/sctp/socket.c retval = -EFAULT; retval 7478 net/sctp/socket.c retval = 0; retval 7481 net/sctp/socket.c return retval; retval 7491 net/sctp/socket.c int retval = -EINVAL; retval 7499 net/sctp/socket.c retval = -EFAULT; retval 7517 net/sctp/socket.c retval = 0; retval 7538 net/sctp/socket.c retval = -EFAULT; retval 7542 net/sctp/socket.c retval = 0; retval 7545 net/sctp/socket.c return retval; retval 7554 net/sctp/socket.c int retval = -EFAULT; retval 7557 net/sctp/socket.c retval = -EINVAL; retval 7568 net/sctp/socket.c retval = -EINVAL; retval 7581 net/sctp/socket.c retval = 0; retval 7584 net/sctp/socket.c return retval; retval 7593 net/sctp/socket.c int retval = -EFAULT; retval 7596 net/sctp/socket.c retval = -EINVAL; retval 7607 net/sctp/socket.c retval = -EINVAL; retval 7620 net/sctp/socket.c retval = 0; retval 7623 net/sctp/socket.c return retval; retval 7632 net/sctp/socket.c int retval = -EFAULT; retval 7635 net/sctp/socket.c retval = -EINVAL; retval 7646 net/sctp/socket.c retval = -EINVAL; retval 7659 net/sctp/socket.c retval = 0; retval 7662 net/sctp/socket.c return retval; retval 7671 net/sctp/socket.c int retval = -EFAULT; retval 7674 net/sctp/socket.c retval = -EINVAL; retval 7684 net/sctp/socket.c retval = -EINVAL; retval 7688 net/sctp/socket.c retval = sctp_sched_get_value(asoc, params.stream_id, retval 7690 net/sctp/socket.c if (retval) retval 7694 net/sctp/socket.c retval = -EFAULT; retval 7699 net/sctp/socket.c retval = -EFAULT; retval 7704 net/sctp/socket.c return retval; retval 7713 net/sctp/socket.c int retval = -EFAULT; retval 7716 net/sctp/socket.c retval = -EINVAL; retval 7727 net/sctp/socket.c retval = -EINVAL; retval 7740 net/sctp/socket.c retval = 0; retval 7743 net/sctp/socket.c return retval; retval 7807 net/sctp/socket.c int retval = -EFAULT; retval 7810 net/sctp/socket.c retval = -EINVAL; retval 7821 net/sctp/socket.c retval = -EINVAL; retval 7834 net/sctp/socket.c retval = 0; retval 7837 net/sctp/socket.c return retval; retval 7846 net/sctp/socket.c int retval = -EFAULT; retval 7849 net/sctp/socket.c retval = -EINVAL; retval 7860 net/sctp/socket.c retval = -EINVAL; retval 7873 net/sctp/socket.c retval = 0; retval 7876 net/sctp/socket.c return retval; retval 7885 net/sctp/socket.c int retval = -EFAULT; retval 7888 net/sctp/socket.c retval = -EINVAL; retval 7899 net/sctp/socket.c retval = -EINVAL; retval 7912 net/sctp/socket.c retval = 0; retval 7915 net/sctp/socket.c return retval; retval 7921 net/sctp/socket.c int retval = 0; retval 7935 net/sctp/socket.c retval = af->getsockopt(sk, level, optname, optval, optlen); retval 7936 net/sctp/socket.c return retval; retval 7949 net/sctp/socket.c retval = sctp_getsockopt_sctp_status(sk, len, optval, optlen); retval 7952 net/sctp/socket.c retval = sctp_getsockopt_disable_fragments(sk, len, optval, retval 7956 net/sctp/socket.c retval = sctp_getsockopt_events(sk, len, optval, optlen); retval 7959 net/sctp/socket.c retval = sctp_getsockopt_autoclose(sk, len, optval, optlen); retval 7962 net/sctp/socket.c retval = sctp_getsockopt_peeloff(sk, len, optval, optlen); retval 7965 net/sctp/socket.c retval = sctp_getsockopt_peeloff_flags(sk, len, optval, optlen); retval 7968 net/sctp/socket.c retval = sctp_getsockopt_peer_addr_params(sk, len, optval, retval 7972 net/sctp/socket.c retval = sctp_getsockopt_delayed_ack(sk, len, optval, retval 7976 net/sctp/socket.c retval = sctp_getsockopt_initmsg(sk, len, optval, optlen); retval 7979 net/sctp/socket.c retval = sctp_getsockopt_peer_addrs(sk, len, optval, retval 7983 net/sctp/socket.c retval = sctp_getsockopt_local_addrs(sk, len, optval, retval 7987 net/sctp/socket.c retval = sctp_getsockopt_connectx3(sk, len, optval, optlen); retval 7990 net/sctp/socket.c retval = sctp_getsockopt_default_send_param(sk, len, retval 7994 net/sctp/socket.c retval = sctp_getsockopt_default_sndinfo(sk, len, retval 7998 net/sctp/socket.c retval = sctp_getsockopt_primary_addr(sk, len, optval, optlen); retval 8001 net/sctp/socket.c retval = sctp_getsockopt_nodelay(sk, len, optval, optlen); retval 8004 net/sctp/socket.c retval = sctp_getsockopt_rtoinfo(sk, len, optval, optlen); retval 8007 net/sctp/socket.c retval = sctp_getsockopt_associnfo(sk, len, optval, optlen); retval 8010 net/sctp/socket.c retval = sctp_getsockopt_mappedv4(sk, len, optval, optlen); retval 8013 net/sctp/socket.c retval = sctp_getsockopt_maxseg(sk, len, optval, optlen); retval 8016 net/sctp/socket.c retval = sctp_getsockopt_peer_addr_info(sk, len, optval, retval 8020 net/sctp/socket.c retval = sctp_getsockopt_adaptation_layer(sk, len, optval, retval 8024 net/sctp/socket.c retval = sctp_getsockopt_context(sk, len, optval, optlen); retval 8027 net/sctp/socket.c retval = sctp_getsockopt_fragment_interleave(sk, len, optval, retval 8031 net/sctp/socket.c retval = sctp_getsockopt_partial_delivery_point(sk, len, optval, retval 8035 net/sctp/socket.c retval = sctp_getsockopt_maxburst(sk, len, optval, optlen); retval 8041 net/sctp/socket.c retval = -EOPNOTSUPP; retval 8044 net/sctp/socket.c retval = sctp_getsockopt_hmac_ident(sk, len, optval, optlen); retval 8047 net/sctp/socket.c retval = sctp_getsockopt_active_key(sk, len, optval, optlen); retval 8050 net/sctp/socket.c retval = sctp_getsockopt_peer_auth_chunks(sk, len, optval, retval 8054 net/sctp/socket.c retval = sctp_getsockopt_local_auth_chunks(sk, len, optval, retval 8058 net/sctp/socket.c retval = sctp_getsockopt_assoc_number(sk, len, optval, optlen); retval 8061 net/sctp/socket.c retval = sctp_getsockopt_assoc_ids(sk, len, optval, optlen); retval 8064 net/sctp/socket.c retval = sctp_getsockopt_auto_asconf(sk, len, optval, optlen); retval 8067 net/sctp/socket.c retval = sctp_getsockopt_paddr_thresholds(sk, optval, len, optlen); retval 8070 net/sctp/socket.c retval = sctp_getsockopt_assoc_stats(sk, len, optval, optlen); retval 8073 net/sctp/socket.c retval = sctp_getsockopt_recvrcvinfo(sk, len, optval, optlen); retval 8076 net/sctp/socket.c retval = sctp_getsockopt_recvnxtinfo(sk, len, optval, optlen); retval 8079 net/sctp/socket.c retval = sctp_getsockopt_pr_supported(sk, len, optval, optlen); retval 8082 net/sctp/socket.c retval = sctp_getsockopt_default_prinfo(sk, len, optval, retval 8086 net/sctp/socket.c retval = sctp_getsockopt_pr_assocstatus(sk, len, optval, retval 8090 net/sctp/socket.c retval = sctp_getsockopt_pr_streamstatus(sk, len, optval, retval 8094 net/sctp/socket.c retval = sctp_getsockopt_reconfig_supported(sk, len, optval, retval 8098 net/sctp/socket.c retval = sctp_getsockopt_enable_strreset(sk, len, optval, retval 8102 net/sctp/socket.c retval = sctp_getsockopt_scheduler(sk, len, optval, retval 8106 net/sctp/socket.c retval = sctp_getsockopt_scheduler_value(sk, len, optval, retval 8110 net/sctp/socket.c retval = sctp_getsockopt_interleaving_supported(sk, len, optval, retval 8114 net/sctp/socket.c retval = sctp_getsockopt_reuse_port(sk, len, optval, optlen); retval 8117 net/sctp/socket.c retval = sctp_getsockopt_event(sk, len, optval, optlen); retval 8120 net/sctp/socket.c retval = sctp_getsockopt_asconf_supported(sk, len, optval, retval 8124 net/sctp/socket.c retval = sctp_getsockopt_auth_supported(sk, len, optval, retval 8128 net/sctp/socket.c retval = sctp_getsockopt_ecn_supported(sk, len, optval, optlen); retval 8131 net/sctp/socket.c retval = -ENOPROTOOPT; retval 8136 net/sctp/socket.c return retval; retval 226 net/sctp/stream.c int retval = 0; retval 228 net/sctp/stream.c retval = sctp_primitive_RECONF(net, asoc, chunk); retval 229 net/sctp/stream.c if (retval) retval 232 net/sctp/stream.c return retval; retval 265 net/sctp/stream.c int retval = -EINVAL; retval 271 net/sctp/stream.c retval = -ENOPROTOOPT; retval 276 net/sctp/stream.c retval = -EINPROGRESS; retval 315 net/sctp/stream.c retval = -ENOMEM; retval 324 net/sctp/stream.c retval = -EAGAIN; retval 333 net/sctp/stream.c retval = -ENOMEM; retval 350 net/sctp/stream.c retval = sctp_send_reconf(asoc, chunk); retval 351 net/sctp/stream.c if (retval) { retval 371 net/sctp/stream.c return retval; retval 378 net/sctp/stream.c int retval; retval 402 net/sctp/stream.c retval = sctp_send_reconf(asoc, chunk); retval 403 net/sctp/stream.c if (retval) { retval 410 net/sctp/stream.c return retval; retval 423 net/sctp/stream.c int retval; retval 429 net/sctp/stream.c retval = -ENOPROTOOPT; retval 434 net/sctp/stream.c retval = -EINPROGRESS; retval 444 net/sctp/stream.c retval = -EINVAL; retval 449 net/sctp/stream.c retval = sctp_stream_alloc_out(stream, outcnt, GFP_KERNEL); retval 450 net/sctp/stream.c if (retval) retval 456 net/sctp/stream.c retval = -ENOMEM; retval 463 net/sctp/stream.c retval = sctp_send_reconf(asoc, chunk); retval 464 net/sctp/stream.c if (retval) { retval 473 net/sctp/stream.c return retval; retval 29 net/sctp/stream_interleave.c struct sctp_chunk *retval; retval 38 net/sctp/stream_interleave.c retval = sctp_make_idata(asoc, flags, sizeof(dp) + len, gfp); retval 39 net/sctp/stream_interleave.c if (!retval) retval 42 net/sctp/stream_interleave.c retval->subh.idata_hdr = sctp_addto_chunk(retval, sizeof(dp), &dp); retval 43 net/sctp/stream_interleave.c memcpy(&retval->sinfo, sinfo, sizeof(struct sctp_sndrcvinfo)); retval 45 net/sctp/stream_interleave.c return retval; retval 186 net/sctp/stream_interleave.c struct sctp_ulpevent *retval; retval 244 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), retval 247 net/sctp/stream_interleave.c if (retval) { retval 250 net/sctp/stream_interleave.c retval->msg_flags |= MSG_EOR; retval 255 net/sctp/stream_interleave.c return retval; retval 264 net/sctp/stream_interleave.c struct sctp_ulpevent *retval = NULL; retval 329 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), retval 332 net/sctp/stream_interleave.c if (retval) { retval 340 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), retval 343 net/sctp/stream_interleave.c if (retval) retval 344 net/sctp/stream_interleave.c retval->msg_flags |= MSG_EOR; retval 347 net/sctp/stream_interleave.c return retval; retval 353 net/sctp/stream_interleave.c struct sctp_ulpevent *retval = NULL; retval 366 net/sctp/stream_interleave.c retval = sctp_intl_retrieve_partial(ulpq, event); retval 368 net/sctp/stream_interleave.c if (!retval) retval 369 net/sctp/stream_interleave.c retval = sctp_intl_retrieve_reassembled(ulpq, event); retval 371 net/sctp/stream_interleave.c return retval; retval 572 net/sctp/stream_interleave.c struct sctp_ulpevent *retval; retval 633 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), retval 636 net/sctp/stream_interleave.c if (retval) { retval 639 net/sctp/stream_interleave.c retval->msg_flags |= MSG_EOR; retval 644 net/sctp/stream_interleave.c return retval; retval 653 net/sctp/stream_interleave.c struct sctp_ulpevent *retval = NULL; retval 719 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), retval 722 net/sctp/stream_interleave.c if (retval) { retval 730 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), retval 733 net/sctp/stream_interleave.c if (retval) retval 734 net/sctp/stream_interleave.c retval->msg_flags |= MSG_EOR; retval 737 net/sctp/stream_interleave.c return retval; retval 743 net/sctp/stream_interleave.c struct sctp_ulpevent *retval = NULL; retval 756 net/sctp/stream_interleave.c retval = sctp_intl_retrieve_partial_uo(ulpq, event); retval 758 net/sctp/stream_interleave.c if (!retval) retval 759 net/sctp/stream_interleave.c retval = sctp_intl_retrieve_reassembled_uo(ulpq, event); retval 761 net/sctp/stream_interleave.c return retval; retval 769 net/sctp/stream_interleave.c struct sctp_ulpevent *retval; retval 817 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), retval 820 net/sctp/stream_interleave.c if (retval) { retval 825 net/sctp/stream_interleave.c return retval; retval 875 net/sctp/stream_interleave.c struct sctp_ulpevent *retval; retval 924 net/sctp/stream_interleave.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), retval 927 net/sctp/stream_interleave.c if (retval) { retval 932 net/sctp/stream_interleave.c return retval; retval 405 net/sctp/ulpqueue.c struct sctp_ulpevent *retval = NULL; retval 489 net/sctp/ulpqueue.c retval = sctp_make_reassembled_event(sock_net(asoc->base.sk), retval 493 net/sctp/ulpqueue.c if (retval) retval 498 net/sctp/ulpqueue.c return retval; retval 500 net/sctp/ulpqueue.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), retval 502 net/sctp/ulpqueue.c if (retval) retval 503 net/sctp/ulpqueue.c retval->msg_flags |= MSG_EOR; retval 514 net/sctp/ulpqueue.c struct sctp_ulpevent *retval; retval 525 net/sctp/ulpqueue.c retval = NULL; retval 566 net/sctp/ulpqueue.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), retval 568 net/sctp/ulpqueue.c if (retval && is_last) retval 569 net/sctp/ulpqueue.c retval->msg_flags |= MSG_EOR; retval 571 net/sctp/ulpqueue.c return retval; retval 581 net/sctp/ulpqueue.c struct sctp_ulpevent *retval = NULL; retval 591 net/sctp/ulpqueue.c retval = sctp_ulpq_retrieve_reassembled(ulpq); retval 601 net/sctp/ulpqueue.c retval = sctp_ulpq_retrieve_partial(ulpq); retval 604 net/sctp/ulpqueue.c return retval; retval 613 net/sctp/ulpqueue.c struct sctp_ulpevent *retval; retval 624 net/sctp/ulpqueue.c retval = NULL; retval 667 net/sctp/ulpqueue.c retval = sctp_make_reassembled_event(sock_net(ulpq->asoc->base.sk), retval 669 net/sctp/ulpqueue.c return retval; retval 1094 net/sctp/ulpqueue.c int retval = sctp_ulpq_tail_data(ulpq, chunk, gfp); retval 1099 net/sctp/ulpqueue.c if (retval <= 0) retval 1101 net/sctp/ulpqueue.c else if (retval == 1) retval 1493 net/socket.c int retval; retval 1511 net/socket.c retval = sock_create(family, type, protocol, &sock); retval 1512 net/socket.c if (retval < 0) retval 1513 net/socket.c return retval; retval 301 net/sunrpc/xprt.c int retval; retval 306 net/sunrpc/xprt.c retval = xprt->ops->reserve_xprt(xprt, task); retval 308 net/sunrpc/xprt.c return retval; retval 921 net/tipc/node.c bool retval = false; retval 929 net/tipc/node.c retval = node_is_up(n); retval 931 net/tipc/node.c return retval; retval 538 net/vmw_vsock/af_vsock.c int retval; retval 556 net/vmw_vsock/af_vsock.c retval = __vsock_bind_stream(vsk, addr); retval 561 net/vmw_vsock/af_vsock.c retval = __vsock_bind_dgram(vsk, addr); retval 565 net/vmw_vsock/af_vsock.c retval = -EINVAL; retval 569 net/vmw_vsock/af_vsock.c return retval; retval 1881 net/vmw_vsock/af_vsock.c int retval = 0; retval 1886 net/vmw_vsock/af_vsock.c retval = -EFAULT; retval 1891 net/vmw_vsock/af_vsock.c retval = -EINVAL; retval 1894 net/vmw_vsock/af_vsock.c return retval; retval 20 net/vmw_vsock/vmci_transport_notify.c bool retval; retval 68 net/vmw_vsock/vmci_transport_notify.c retval = vmci_qpair_consume_free_space(vmci_trans(vsk)->qpair) > retval 71 net/vmw_vsock/vmci_transport_notify.c if (retval) { retval 80 net/vmw_vsock/vmci_transport_notify.c return retval; retval 20 net/vmw_vsock/vmci_transport_notify_qstate.c bool retval; retval 59 net/vmw_vsock/vmci_transport_notify_qstate.c retval = vmci_qpair_consume_free_space(vmci_trans(vsk)->qpair) > retval 62 net/vmw_vsock/vmci_transport_notify_qstate.c if (retval) { retval 69 net/vmw_vsock/vmci_transport_notify_qstate.c return retval; retval 113 samples/kobject/kobject-example.c int retval; retval 129 samples/kobject/kobject-example.c retval = sysfs_create_group(example_kobj, &attr_group); retval 130 samples/kobject/kobject-example.c if (retval) retval 133 samples/kobject/kobject-example.c return retval; retval 202 samples/kobject/kset-example.c int retval; retval 221 samples/kobject/kset-example.c retval = kobject_init_and_add(&foo->kobj, &foo_ktype, NULL, "%s", name); retval 222 samples/kobject/kset-example.c if (retval) { retval 59 samples/kprobes/kretprobe_example.c unsigned long retval = regs_return_value(regs); retval 67 samples/kprobes/kretprobe_example.c func_name, retval, (long long)delta); retval 645 scripts/unifdef.c Linetype retval; retval 657 scripts/unifdef.c retval = LT_PLAIN; retval 680 scripts/unifdef.c retval = LT_IF; retval 682 scripts/unifdef.c retval = (keyword[2] == 'n') retval 685 scripts/unifdef.c retval = (retval == LT_TRUE) retval 688 scripts/unifdef.c retval = (retval == LT_TRUE) retval 693 scripts/unifdef.c retval = ifeval(&cp); retval 695 scripts/unifdef.c retval = ifeval(&cp) - LT_IF + LT_ELIF; retval 697 scripts/unifdef.c retval = LT_ELSE; retval 699 scripts/unifdef.c retval = LT_ENDIF; retval 702 scripts/unifdef.c retval = LT_PLAIN; retval 707 scripts/unifdef.c if (retval == LT_TRUE || retval == LT_FALSE || retval 708 scripts/unifdef.c retval == LT_TRUEI || retval == LT_FALSEI) retval 709 scripts/unifdef.c retval = LT_IF; retval 710 scripts/unifdef.c if (retval == LT_ELTRUE || retval == LT_ELFALSE) retval 711 scripts/unifdef.c retval = LT_ELIF; retval 713 scripts/unifdef.c if (retval != LT_PLAIN && (wascomment || incomment)) { retval 714 scripts/unifdef.c retval += LT_DODGY; retval 739 scripts/unifdef.c return (retval); retval 758 security/device_cgroup.c int retval; retval 761 security/device_cgroup.c retval = devcgroup_update_access(css_to_devcgroup(of_css(of)), retval 764 security/device_cgroup.c return retval ?: nbytes; retval 333 security/inode.c int retval; retval 335 security/inode.c retval = sysfs_create_mount_point(kernel_kobj, "security"); retval 336 security/inode.c if (retval) retval 337 security/inode.c return retval; retval 339 security/inode.c retval = register_filesystem(&fs_type); retval 340 security/inode.c if (retval) { retval 342 security/inode.c return retval; retval 2737 security/selinux/ss/services.c int retval; retval 2740 security/selinux/ss/services.c retval = __security_genfs_sid(state, fstype, path, orig_sclass, sid); retval 2742 security/selinux/ss/services.c return retval; retval 708 security/tomoyo/domain.c int retval = -ENOMEM; retval 728 security/tomoyo/domain.c retval = -ENOENT; retval 754 security/tomoyo/domain.c retval = tomoyo_execute_permission(&ee->r, candidate); retval 755 security/tomoyo/domain.c if (retval == TOMOYO_RETRY_REQUEST) retval 757 security/tomoyo/domain.c if (retval < 0) retval 851 security/tomoyo/domain.c retval = 0; retval 854 security/tomoyo/domain.c retval = -ENOMEM; retval 856 security/tomoyo/domain.c retval = -ENOMEM; retval 858 security/tomoyo/domain.c retval = 0; retval 879 security/tomoyo/domain.c if (!retval) { retval 881 security/tomoyo/domain.c retval = tomoyo_environ(ee); retval 886 security/tomoyo/domain.c return retval; retval 63 sound/aoa/soundbus/core.c int retval = 0; retval 76 sound/aoa/soundbus/core.c retval = add_uevent_var(env, "OF_NAME=%pOFn", of->dev.of_node); retval 77 sound/aoa/soundbus/core.c if (retval) retval 78 sound/aoa/soundbus/core.c return retval; retval 80 sound/aoa/soundbus/core.c retval = add_uevent_var(env, "OF_TYPE=%s", of_node_get_device_type(of->dev.of_node)); retval 81 sound/aoa/soundbus/core.c if (retval) retval 82 sound/aoa/soundbus/core.c return retval; retval 91 sound/aoa/soundbus/core.c retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); retval 92 sound/aoa/soundbus/core.c if (retval) retval 93 sound/aoa/soundbus/core.c return retval; retval 99 sound/aoa/soundbus/core.c retval = add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); retval 100 sound/aoa/soundbus/core.c if (retval) retval 101 sound/aoa/soundbus/core.c return retval; retval 102 sound/aoa/soundbus/core.c retval = add_uevent_var(env, "MODALIAS=%s", soundbus_dev->modalias); retval 104 sound/aoa/soundbus/core.c return retval; retval 162 sound/atmel/ac97c.c int retval; retval 164 sound/atmel/ac97c.c retval = snd_pcm_lib_malloc_pages(substream, retval 166 sound/atmel/ac97c.c if (retval < 0) retval 167 sound/atmel/ac97c.c return retval; retval 175 sound/atmel/ac97c.c return retval; retval 182 sound/atmel/ac97c.c int retval; retval 184 sound/atmel/ac97c.c retval = snd_pcm_lib_malloc_pages(substream, retval 186 sound/atmel/ac97c.c if (retval < 0) retval 187 sound/atmel/ac97c.c return retval; retval 195 sound/atmel/ac97c.c return retval; retval 204 sound/atmel/ac97c.c int retval; retval 265 sound/atmel/ac97c.c retval = snd_ac97_set_rate(chip->ac97, AC97_PCM_FRONT_DAC_RATE, retval 267 sound/atmel/ac97c.c if (retval) retval 277 sound/atmel/ac97c.c return retval; retval 286 sound/atmel/ac97c.c int retval; retval 347 sound/atmel/ac97c.c retval = snd_ac97_set_rate(chip->ac97, AC97_PCM_LR_ADC_RATE, retval 349 sound/atmel/ac97c.c if (retval) retval 359 sound/atmel/ac97c.c return retval; retval 484 sound/atmel/ac97c.c irqreturn_t retval = IRQ_NONE; retval 535 sound/atmel/ac97c.c retval = IRQ_HANDLED; retval 545 sound/atmel/ac97c.c retval = IRQ_HANDLED; retval 548 sound/atmel/ac97c.c if (retval == IRQ_NONE) { retval 553 sound/atmel/ac97c.c return retval; retval 588 sound/atmel/ac97c.c int retval; retval 590 sound/atmel/ac97c.c retval = snd_ac97_pcm_assign(chip->ac97_bus, retval 593 sound/atmel/ac97c.c if (retval) retval 594 sound/atmel/ac97c.c return retval; retval 596 sound/atmel/ac97c.c retval = snd_pcm_new(chip->card, chip->card->shortname, 0, 1, 1, &pcm); retval 597 sound/atmel/ac97c.c if (retval) retval 598 sound/atmel/ac97c.c return retval; retval 725 sound/atmel/ac97c.c int retval; retval 745 sound/atmel/ac97c.c retval = clk_prepare_enable(pclk); retval 746 sound/atmel/ac97c.c if (retval) retval 749 sound/atmel/ac97c.c retval = snd_card_new(&pdev->dev, SNDRV_DEFAULT_IDX1, retval 752 sound/atmel/ac97c.c if (retval) { retval 759 sound/atmel/ac97c.c retval = request_irq(irq, atmel_ac97c_interrupt, 0, "AC97C", chip); retval 760 sound/atmel/ac97c.c if (retval) { retval 779 sound/atmel/ac97c.c retval = -ENOMEM; retval 793 sound/atmel/ac97c.c retval = snd_ac97_bus(card, 0, &ops, chip, &chip->ac97_bus); retval 794 sound/atmel/ac97c.c if (retval) { retval 799 sound/atmel/ac97c.c retval = atmel_ac97c_mixer_new(chip); retval 800 sound/atmel/ac97c.c if (retval) { retval 805 sound/atmel/ac97c.c retval = atmel_ac97c_pcm_new(chip); retval 806 sound/atmel/ac97c.c if (retval) { retval 811 sound/atmel/ac97c.c retval = snd_card_register(card); retval 812 sound/atmel/ac97c.c if (retval) { retval 834 sound/atmel/ac97c.c return retval; retval 287 sound/core/compress_offload.c int retval; retval 313 sound/core/compress_offload.c retval = stream->ops->copy(stream, cbuf, avail); retval 315 sound/core/compress_offload.c retval = snd_compr_write_data(stream, buf, avail); retval 317 sound/core/compress_offload.c if (retval > 0) retval 318 sound/core/compress_offload.c stream->runtime->total_bytes_available += retval; retval 328 sound/core/compress_offload.c return retval; retval 338 sound/core/compress_offload.c int retval; retval 355 sound/core/compress_offload.c retval = -EBADFD; retval 358 sound/core/compress_offload.c retval = -EPIPE; retval 369 sound/core/compress_offload.c retval = stream->ops->copy(stream, buf, avail); retval 371 sound/core/compress_offload.c retval = -ENXIO; retval 374 sound/core/compress_offload.c if (retval > 0) retval 375 sound/core/compress_offload.c stream->runtime->total_bytes_transferred += retval; retval 379 sound/core/compress_offload.c return retval; retval 400 sound/core/compress_offload.c __poll_t retval = 0; retval 412 sound/core/compress_offload.c retval = snd_compr_get_poll(stream) | EPOLLERR; retval 428 sound/core/compress_offload.c retval = snd_compr_get_poll(stream); retval 435 sound/core/compress_offload.c retval = snd_compr_get_poll(stream); retval 438 sound/core/compress_offload.c retval = snd_compr_get_poll(stream) | EPOLLERR; retval 443 sound/core/compress_offload.c return retval; retval 449 sound/core/compress_offload.c int retval; retval 456 sound/core/compress_offload.c retval = stream->ops->get_caps(stream, &caps); retval 457 sound/core/compress_offload.c if (retval) retval 460 sound/core/compress_offload.c retval = -EFAULT; retval 462 sound/core/compress_offload.c return retval; retval 469 sound/core/compress_offload.c int retval; retval 479 sound/core/compress_offload.c retval = stream->ops->get_codec_caps(stream, caps); retval 480 sound/core/compress_offload.c if (retval) retval 483 sound/core/compress_offload.c retval = -EFAULT; retval 487 sound/core/compress_offload.c return retval; retval 549 sound/core/compress_offload.c int retval; retval 560 sound/core/compress_offload.c retval = snd_compress_check_input(params); retval 561 sound/core/compress_offload.c if (retval) retval 564 sound/core/compress_offload.c retval = snd_compr_allocate_buffer(stream, params); retval 565 sound/core/compress_offload.c if (retval) { retval 566 sound/core/compress_offload.c retval = -ENOMEM; retval 570 sound/core/compress_offload.c retval = stream->ops->set_params(stream, params); retval 571 sound/core/compress_offload.c if (retval) retval 583 sound/core/compress_offload.c return retval; retval 590 sound/core/compress_offload.c int retval; retval 598 sound/core/compress_offload.c retval = stream->ops->get_params(stream, params); retval 599 sound/core/compress_offload.c if (retval) retval 602 sound/core/compress_offload.c retval = -EFAULT; retval 606 sound/core/compress_offload.c return retval; retval 613 sound/core/compress_offload.c int retval; retval 621 sound/core/compress_offload.c retval = stream->ops->get_metadata(stream, &metadata); retval 622 sound/core/compress_offload.c if (retval != 0) retval 623 sound/core/compress_offload.c return retval; retval 635 sound/core/compress_offload.c int retval; retval 646 sound/core/compress_offload.c retval = stream->ops->set_metadata(stream, &metadata); retval 649 sound/core/compress_offload.c return retval; retval 667 sound/core/compress_offload.c int retval; retval 671 sound/core/compress_offload.c retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_PAUSE_PUSH); retval 672 sound/core/compress_offload.c if (!retval) retval 674 sound/core/compress_offload.c return retval; retval 679 sound/core/compress_offload.c int retval; retval 683 sound/core/compress_offload.c retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_PAUSE_RELEASE); retval 684 sound/core/compress_offload.c if (!retval) retval 686 sound/core/compress_offload.c return retval; retval 691 sound/core/compress_offload.c int retval; retval 704 sound/core/compress_offload.c retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_START); retval 705 sound/core/compress_offload.c if (!retval) retval 707 sound/core/compress_offload.c return retval; retval 712 sound/core/compress_offload.c int retval; retval 723 sound/core/compress_offload.c retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_STOP); retval 724 sound/core/compress_offload.c if (!retval) { retval 729 sound/core/compress_offload.c return retval; retval 808 sound/core/compress_offload.c int retval; retval 822 sound/core/compress_offload.c retval = stream->ops->trigger(stream, SND_COMPR_TRIGGER_DRAIN); retval 823 sound/core/compress_offload.c if (retval) { retval 824 sound/core/compress_offload.c pr_debug("SND_COMPR_TRIGGER_DRAIN failed %d\n", retval); retval 826 sound/core/compress_offload.c return retval; retval 834 sound/core/compress_offload.c int retval; retval 850 sound/core/compress_offload.c retval = stream->ops->trigger(stream, SND_COMPR_TRIGGER_NEXT_TRACK); retval 851 sound/core/compress_offload.c if (retval != 0) retval 852 sound/core/compress_offload.c return retval; retval 860 sound/core/compress_offload.c int retval; retval 882 sound/core/compress_offload.c retval = stream->ops->trigger(stream, SND_COMPR_TRIGGER_PARTIAL_DRAIN); retval 883 sound/core/compress_offload.c if (retval) { retval 886 sound/core/compress_offload.c return retval; retval 897 sound/core/compress_offload.c int retval = -ENOTTY; retval 907 sound/core/compress_offload.c retval = put_user(SNDRV_COMPRESS_VERSION, retval 911 sound/core/compress_offload.c retval = snd_compr_get_caps(stream, arg); retval 915 sound/core/compress_offload.c retval = snd_compr_get_codec_caps(stream, arg); retval 919 sound/core/compress_offload.c retval = snd_compr_set_params(stream, arg); retval 922 sound/core/compress_offload.c retval = snd_compr_get_params(stream, arg); retval 925 sound/core/compress_offload.c retval = snd_compr_set_metadata(stream, arg); retval 928 sound/core/compress_offload.c retval = snd_compr_get_metadata(stream, arg); retval 931 sound/core/compress_offload.c retval = snd_compr_tstamp(stream, arg); retval 934 sound/core/compress_offload.c retval = snd_compr_ioctl_avail(stream, arg); retval 937 sound/core/compress_offload.c retval = snd_compr_pause(stream); retval 940 sound/core/compress_offload.c retval = snd_compr_resume(stream); retval 943 sound/core/compress_offload.c retval = snd_compr_start(stream); retval 946 sound/core/compress_offload.c retval = snd_compr_stop(stream); retval 949 sound/core/compress_offload.c retval = snd_compr_drain(stream); retval 952 sound/core/compress_offload.c retval = snd_compr_partial_drain(stream); retval 955 sound/core/compress_offload.c retval = snd_compr_next_track(stream); retval 960 sound/core/compress_offload.c return retval; retval 1157 sound/core/compress_offload.c int retval; retval 1176 sound/core/compress_offload.c retval = snd_compress_add_device(device); retval 1178 sound/core/compress_offload.c return retval; retval 79 sound/isa/ad1816a/ad1816a_lib.c unsigned char retval = AD1816A_FMT_LINEAR_8; retval 83 sound/isa/ad1816a/ad1816a_lib.c retval = AD1816A_FMT_ULAW_8; retval 86 sound/isa/ad1816a/ad1816a_lib.c retval = AD1816A_FMT_ALAW_8; retval 89 sound/isa/ad1816a/ad1816a_lib.c retval = AD1816A_FMT_LINEAR_16_LIT; retval 92 sound/isa/ad1816a/ad1816a_lib.c retval = AD1816A_FMT_LINEAR_16_BIG; retval 94 sound/isa/ad1816a/ad1816a_lib.c return (channels > 1) ? (retval | AD1816A_FMT_STEREO) : retval; retval 814 sound/isa/opti9xx/miro.c unsigned char retval = 0xff; retval 824 sound/isa/opti9xx/miro.c retval = inb(chip->mc_base + 9); retval 830 sound/isa/opti9xx/miro.c retval = inb(chip->mc_base + reg); retval 838 sound/isa/opti9xx/miro.c return retval; retval 237 sound/isa/opti9xx/opti92x-ad1848.c unsigned char retval = 0xff; retval 249 sound/isa/opti9xx/opti92x-ad1848.c retval = inb(chip->mc_base + 9); retval 256 sound/isa/opti9xx/opti92x-ad1848.c retval = inb(chip->mc_base + reg); retval 265 sound/isa/opti9xx/opti92x-ad1848.c retval = inb(chip->mc_indir_index + 1); retval 274 sound/isa/opti9xx/opti92x-ad1848.c return retval; retval 701 sound/isa/sscape.c int retval = 0; retval 781 sound/isa/sscape.c retval = 1; retval 785 sound/isa/sscape.c return retval; retval 59 sound/pci/asihpi/hpicmn.c u16 retval = 0; retval 65 sound/pci/asihpi/hpicmn.c retval = HPI_ERROR_BAD_ADAPTER_NUMBER; retval 81 sound/pci/asihpi/hpicmn.c retval = HPI_ERROR_DUPLICATE_ADAPTER_NUMBER; retval 91 sound/pci/asihpi/hpicmn.c return retval; retval 831 sound/soc/codecs/cs42l42.c int retval; retval 836 sound/soc/codecs/cs42l42.c retval = cs42l42_pll_config(component); retval 838 sound/soc/codecs/cs42l42.c return retval; retval 98 sound/soc/intel/atom/sst-mfld-platform-compress.c int retval; retval 110 sound/soc/intel/atom/sst-mfld-platform-compress.c retval = sst_fill_stream_params(cstream, ctx, &str_params, true); retval 111 sound/soc/intel/atom/sst-mfld-platform-compress.c pr_debug("compr_set_params: fill stream params ret_val = 0x%x\n", retval); retval 112 sound/soc/intel/atom/sst-mfld-platform-compress.c if (retval < 0) retval 113 sound/soc/intel/atom/sst-mfld-platform-compress.c return retval; retval 159 sound/soc/intel/atom/sst-mfld-platform-compress.c retval = stream->compr_ops->open(sst->dev, &str_params, &cb); retval 160 sound/soc/intel/atom/sst-mfld-platform-compress.c if (retval < 0) { retval 161 sound/soc/intel/atom/sst-mfld-platform-compress.c pr_err("stream allocation failed %d\n", retval); retval 162 sound/soc/intel/atom/sst-mfld-platform-compress.c return retval; retval 165 sound/soc/intel/atom/sst-mfld-platform-compress.c stream->id = retval; retval 53 sound/soc/intel/atom/sst/sst.c irqreturn_t retval = IRQ_HANDLED; retval 73 sound/soc/intel/atom/sst/sst.c retval = IRQ_HANDLED; retval 109 sound/soc/intel/atom/sst/sst.c retval = IRQ_WAKE_THREAD; retval 111 sound/soc/intel/atom/sst/sst.c return retval; retval 65 sound/soc/intel/atom/sst/sst_drv_interface.c int retval; retval 67 sound/soc/intel/atom/sst/sst_drv_interface.c retval = ctx->ops->alloc_stream(ctx, str_param); retval 68 sound/soc/intel/atom/sst/sst_drv_interface.c if (retval > 0) retval 69 sound/soc/intel/atom/sst/sst_drv_interface.c dev_dbg(ctx->dev, "Stream allocated %d\n", retval); retval 70 sound/soc/intel/atom/sst/sst_drv_interface.c return retval; retval 120 sound/soc/intel/atom/sst/sst_drv_interface.c int retval; retval 124 sound/soc/intel/atom/sst/sst_drv_interface.c retval = ctx->ops->alloc_stream(ctx, str_param); retval 125 sound/soc/intel/atom/sst/sst_drv_interface.c if (retval <= 0) { retval 129 sound/soc/intel/atom/sst/sst_drv_interface.c str_info = &ctx->streams[retval]; retval 132 sound/soc/intel/atom/sst/sst_drv_interface.c return retval; retval 177 sound/soc/intel/atom/sst/sst_drv_interface.c int retval; retval 183 sound/soc/intel/atom/sst/sst_drv_interface.c retval = sst_get_stream(ctx, str_param); retval 184 sound/soc/intel/atom/sst/sst_drv_interface.c if (retval > 0) retval 187 sound/soc/intel/atom/sst/sst_drv_interface.c dev_err(ctx->dev, "sst_get_stream returned err %d\n", retval); retval 189 sound/soc/intel/atom/sst/sst_drv_interface.c return retval; retval 195 sound/soc/intel/atom/sst/sst_drv_interface.c int str_id, retval; retval 199 sound/soc/intel/atom/sst/sst_drv_interface.c retval = pm_runtime_get_sync(ctx->dev); retval 200 sound/soc/intel/atom/sst/sst_drv_interface.c if (retval < 0) { retval 202 sound/soc/intel/atom/sst/sst_drv_interface.c return retval; retval 223 sound/soc/intel/atom/sst/sst_drv_interface.c int retval; retval 233 sound/soc/intel/atom/sst/sst_drv_interface.c retval = sst_free_stream(ctx, str_id); retval 237 sound/soc/intel/atom/sst/sst_drv_interface.c if (retval) retval 238 sound/soc/intel/atom/sst/sst_drv_interface.c dev_err(dev, "free stream returned err %d\n", retval); retval 241 sound/soc/intel/atom/sst/sst_drv_interface.c return retval; retval 278 sound/soc/intel/atom/sst/sst_drv_interface.c int retval = 0; retval 289 sound/soc/intel/atom/sst/sst_drv_interface.c retval = sst_prepare_and_post_msg(ctx, str_info->task_id, IPC_CMD, retval 294 sound/soc/intel/atom/sst/sst_drv_interface.c return retval; retval 461 sound/soc/intel/atom/sst/sst_drv_interface.c int retval = 0; retval 470 sound/soc/intel/atom/sst/sst_drv_interface.c retval = free_stream_context(ctx, str_id); retval 476 sound/soc/intel/atom/sst/sst_drv_interface.c if (retval) retval 477 sound/soc/intel/atom/sst/sst_drv_interface.c dev_err(ctx->dev, "free stream returned err %d\n", retval); retval 122 sound/soc/intel/atom/sst/sst_ipc.c int retval = 0; retval 133 sound/soc/intel/atom/sst/sst_ipc.c retval = -EBUSY; retval 176 sound/soc/intel/atom/sst/sst_ipc.c return retval; retval 221 sound/soc/intel/atom/sst/sst_ipc.c int retval = 0; retval 228 sound/soc/intel/atom/sst/sst_ipc.c retval = init->result; retval 246 sound/soc/intel/atom/sst/sst_ipc.c sst_wake_up_block(sst_drv_ctx, retval, FW_DWNL_ID, 0 , NULL, 0); retval 289 sound/soc/intel/atom/sst/sst_loader.c int retval = 0; retval 293 sound/soc/intel/atom/sst/sst_loader.c retval = -ENOMEM; retval 299 sound/soc/intel/atom/sst/sst_loader.c retval = sst_parse_fw_memcpy(sst, fw->size, &sst->memcpy_list); retval 300 sound/soc/intel/atom/sst/sst_loader.c if (retval) { retval 308 sound/soc/intel/atom/sst/sst_loader.c return retval; retval 345 sound/soc/intel/atom/sst/sst_loader.c int retval = 0; retval 348 sound/soc/intel/atom/sst/sst_loader.c retval = request_firmware(&fw, sst->firmware_name, sst->dev); retval 349 sound/soc/intel/atom/sst/sst_loader.c if (retval) { retval 350 sound/soc/intel/atom/sst/sst_loader.c dev_err(sst->dev, "request fw failed %d\n", retval); retval 351 sound/soc/intel/atom/sst/sst_loader.c return retval; retval 358 sound/soc/intel/atom/sst/sst_loader.c retval = sst_cache_and_parse_fw(sst, fw); retval 361 sound/soc/intel/atom/sst/sst_loader.c return retval; retval 85 sound/soc/intel/atom/sst/sst_pvt.c int retval = 0; retval 93 sound/soc/intel/atom/sst/sst_pvt.c retval = -EBUSY; retval 96 sound/soc/intel/atom/sst/sst_pvt.c retval = 0; retval 100 sound/soc/intel/atom/sst/sst_pvt.c retval = -EINTR; retval 102 sound/soc/intel/atom/sst/sst_pvt.c return retval; retval 117 sound/soc/intel/atom/sst/sst_pvt.c int retval = 0; retval 135 sound/soc/intel/atom/sst/sst_pvt.c retval = -block->ret_code; retval 143 sound/soc/intel/atom/sst/sst_pvt.c retval = -EBUSY; retval 145 sound/soc/intel/atom/sst/sst_pvt.c return retval; retval 191 sound/soc/intel/atom/sst/sst_pvt.c int retval = 0; retval 193 sound/soc/intel/atom/sst/sst_pvt.c retval = sst_create_ipc_msg(arg, large); retval 194 sound/soc/intel/atom/sst/sst_pvt.c if (retval) retval 195 sound/soc/intel/atom/sst/sst_pvt.c return retval; retval 201 sound/soc/intel/atom/sst/sst_pvt.c return retval; retval 153 sound/soc/intel/atom/sst/sst_stream.c int retval = 0; retval 164 sound/soc/intel/atom/sst/sst_stream.c retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, retval 168 sound/soc/intel/atom/sst/sst_stream.c return retval; retval 244 sound/soc/intel/atom/sst/sst_stream.c int retval = 0; retval 258 sound/soc/intel/atom/sst/sst_stream.c retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, retval 262 sound/soc/intel/atom/sst/sst_stream.c if (retval == 0) { retval 265 sound/soc/intel/atom/sst/sst_stream.c } else if (retval == -SST_ERR_INVALID_STREAM_ID) { retval 266 sound/soc/intel/atom/sst/sst_stream.c retval = -EINVAL; retval 272 sound/soc/intel/atom/sst/sst_stream.c retval = -EBADRQC; retval 276 sound/soc/intel/atom/sst/sst_stream.c return retval; retval 288 sound/soc/intel/atom/sst/sst_stream.c int retval = 0; retval 307 sound/soc/intel/atom/sst/sst_stream.c retval = sst_start_stream(sst_drv_ctx, str_id); retval 320 sound/soc/intel/atom/sst/sst_stream.c retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, retval 325 sound/soc/intel/atom/sst/sst_stream.c if (!retval) { retval 331 sound/soc/intel/atom/sst/sst_stream.c } else if (retval == -SST_ERR_INVALID_STREAM_ID) { retval 332 sound/soc/intel/atom/sst/sst_stream.c retval = -EINVAL; retval 338 sound/soc/intel/atom/sst/sst_stream.c retval = -EBADRQC; retval 342 sound/soc/intel/atom/sst/sst_stream.c return retval; retval 355 sound/soc/intel/atom/sst/sst_stream.c int retval = 0; retval 367 sound/soc/intel/atom/sst/sst_stream.c retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, retval 372 sound/soc/intel/atom/sst/sst_stream.c retval = -EBADRQC; retval 376 sound/soc/intel/atom/sst/sst_stream.c return retval; retval 389 sound/soc/intel/atom/sst/sst_stream.c int retval = 0; retval 404 sound/soc/intel/atom/sst/sst_stream.c retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, retval 413 sound/soc/intel/atom/sst/sst_stream.c return retval; retval 425 sound/soc/intel/atom/sst/sst_stream.c int retval = 0; retval 448 sound/soc/intel/atom/sst/sst_stream.c retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, retval 453 sound/soc/intel/atom/sst/sst_stream.c retval); retval 460 sound/soc/intel/atom/sst/sst_stream.c retval = -EBADRQC; retval 464 sound/soc/intel/atom/sst/sst_stream.c return retval; retval 91 sound/spi/at73c213.c int retval; retval 102 sound/spi/at73c213.c retval = spi_sync(chip->spi, &msg); retval 104 sound/spi/at73c213.c if (!retval) retval 107 sound/spi/at73c213.c return retval; retval 280 sound/spi/at73c213.c int retval = 0; retval 295 sound/spi/at73c213.c retval = -EINVAL; retval 301 sound/spi/at73c213.c return retval; retval 336 sound/spi/at73c213.c int retval; retval 338 sound/spi/at73c213.c retval = snd_pcm_new(chip->card, chip->card->shortname, retval 340 sound/spi/at73c213.c if (retval < 0) retval 354 sound/spi/at73c213.c return retval; retval 365 sound/spi/at73c213.c int retval = IRQ_NONE; retval 386 sound/spi/at73c213.c retval = IRQ_HANDLED; retval 395 sound/spi/at73c213.c return retval; retval 432 sound/spi/at73c213.c int change, retval; retval 444 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, reg, val); retval 448 sound/spi/at73c213.c if (retval) retval 449 sound/spi/at73c213.c return retval; retval 511 sound/spi/at73c213.c int change, retval; retval 529 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, left_reg, val1); retval 530 sound/spi/at73c213.c if (retval) { retval 534 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, right_reg, val2); retval 535 sound/spi/at73c213.c if (retval) { retval 545 sound/spi/at73c213.c return retval; retval 580 sound/spi/at73c213.c int change, retval; retval 597 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, reg, val); retval 601 sound/spi/at73c213.c if (retval) retval 602 sound/spi/at73c213.c return retval; retval 779 sound/spi/at73c213.c int retval; retval 782 sound/spi/at73c213.c retval = snd_at73c213_set_bitrate(chip); retval 783 sound/spi/at73c213.c if (retval) retval 790 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_RST, 0x04); retval 791 sound/spi/at73c213.c if (retval) retval 794 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_RST, 0x03); retval 795 sound/spi/at73c213.c if (retval) retval 799 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_PRECH, 0xff); retval 800 sound/spi/at73c213.c if (retval) retval 802 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, PA_CTRL, (1<<PA_CTRL_APAPRECH)); retval 803 sound/spi/at73c213.c if (retval) retval 805 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_CTRL, retval 807 sound/spi/at73c213.c if (retval) retval 813 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, PA_CTRL, retval 815 sound/spi/at73c213.c if (retval) retval 821 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_PRECH, (1<<DAC_PRECH_ONMSTR)); retval 822 sound/spi/at73c213.c if (retval) retval 831 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_CTRL, dac_ctrl); retval 832 sound/spi/at73c213.c if (retval) retval 836 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_LMPG, 0x3f); retval 837 sound/spi/at73c213.c if (retval) retval 839 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_RMPG, 0x3f); retval 840 sound/spi/at73c213.c if (retval) retval 842 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_LLOG, 0x3f); retval 843 sound/spi/at73c213.c if (retval) retval 845 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_RLOG, 0x3f); retval 846 sound/spi/at73c213.c if (retval) retval 848 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_LLIG, 0x11); retval 849 sound/spi/at73c213.c if (retval) retval 851 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_RLIG, 0x11); retval 852 sound/spi/at73c213.c if (retval) retval 854 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_AUXG, 0x11); retval 855 sound/spi/at73c213.c if (retval) retval 866 sound/spi/at73c213.c return retval; retval 889 sound/spi/at73c213.c int irq, retval; retval 902 sound/spi/at73c213.c retval = request_irq(irq, snd_at73c213_interrupt, 0, "at73c213", chip); retval 903 sound/spi/at73c213.c if (retval) { retval 912 sound/spi/at73c213.c retval = snd_at73c213_ssc_init(chip); retval 913 sound/spi/at73c213.c if (retval) retval 916 sound/spi/at73c213.c retval = snd_at73c213_chip_init(chip); retval 917 sound/spi/at73c213.c if (retval) retval 920 sound/spi/at73c213.c retval = snd_at73c213_pcm_new(chip, 0); retval 921 sound/spi/at73c213.c if (retval) retval 924 sound/spi/at73c213.c retval = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops); retval 925 sound/spi/at73c213.c if (retval) retval 928 sound/spi/at73c213.c retval = snd_at73c213_mixer(chip); retval 929 sound/spi/at73c213.c if (retval) retval 942 sound/spi/at73c213.c return retval; retval 950 sound/spi/at73c213.c int retval; retval 971 sound/spi/at73c213.c retval = snd_card_new(&spi->dev, -1, id, THIS_MODULE, retval 973 sound/spi/at73c213.c if (retval < 0) retval 984 sound/spi/at73c213.c retval = PTR_ERR(chip->ssc); retval 988 sound/spi/at73c213.c retval = snd_at73c213_dev_init(card, spi); retval 989 sound/spi/at73c213.c if (retval) retval 996 sound/spi/at73c213.c retval = snd_card_register(card); retval 997 sound/spi/at73c213.c if (retval) retval 1009 sound/spi/at73c213.c return retval; retval 1016 sound/spi/at73c213.c int retval; retval 1024 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_LMPG, 0x3f); retval 1025 sound/spi/at73c213.c if (retval) retval 1027 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_RMPG, 0x3f); retval 1028 sound/spi/at73c213.c if (retval) retval 1030 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_LLOG, 0x3f); retval 1031 sound/spi/at73c213.c if (retval) retval 1033 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_RLOG, 0x3f); retval 1034 sound/spi/at73c213.c if (retval) retval 1036 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_LLIG, 0x11); retval 1037 sound/spi/at73c213.c if (retval) retval 1039 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_RLIG, 0x11); retval 1040 sound/spi/at73c213.c if (retval) retval 1042 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_AUXG, 0x11); retval 1043 sound/spi/at73c213.c if (retval) retval 1047 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, PA_CTRL, retval 1049 sound/spi/at73c213.c if (retval) retval 1052 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, PA_CTRL, retval 1054 sound/spi/at73c213.c if (retval) retval 1058 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_CTRL, 0x0c); retval 1059 sound/spi/at73c213.c if (retval) retval 1062 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_CTRL, 0x00); retval 1063 sound/spi/at73c213.c if (retval) retval 1067 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, DAC_PRECH, 0x00); retval 1068 sound/spi/at73c213.c if (retval) retval 110 sound/usb/line6/driver.c int retval; retval 113 sound/usb/line6/driver.c retval = usb_interrupt_msg(line6->usbdev, retval 118 sound/usb/line6/driver.c retval = usb_bulk_msg(line6->usbdev, retval 124 sound/usb/line6/driver.c if (retval) { retval 126 sound/usb/line6/driver.c "usb_bulk_msg failed (%d)\n", retval); retval 156 sound/usb/line6/driver.c int retval; retval 176 sound/usb/line6/driver.c retval = usb_urb_ep_type_check(urb); retval 177 sound/usb/line6/driver.c if (retval < 0) retval 180 sound/usb/line6/driver.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 181 sound/usb/line6/driver.c if (retval < 0) retval 188 sound/usb/line6/driver.c __func__, retval); retval 191 sound/usb/line6/driver.c return retval; retval 233 sound/usb/line6/driver.c int retval; retval 240 sound/usb/line6/driver.c retval = line6_send_raw_message_async(line6, buffer, retval 243 sound/usb/line6/driver.c return retval; retval 108 sound/usb/line6/midi.c int retval; retval 129 sound/usb/line6/midi.c retval = usb_urb_ep_type_check(urb); retval 130 sound/usb/line6/midi.c if (retval < 0) retval 133 sound/usb/line6/midi.c retval = usb_submit_urb(urb, GFP_ATOMIC); retval 134 sound/usb/line6/midi.c if (retval < 0) retval 143 sound/usb/line6/midi.c return retval; retval 1063 sound/x86/intel_hdmi_audio.c int retval; retval 1073 sound/x86/intel_hdmi_audio.c retval = snd_pcm_hw_constraint_integer(runtime, retval 1075 sound/x86/intel_hdmi_audio.c if (retval < 0) retval 1081 sound/x86/intel_hdmi_audio.c retval = snd_pcm_hw_constraint_step(substream->runtime, 0, retval 1083 sound/x86/intel_hdmi_audio.c if (retval < 0) retval 1086 sound/x86/intel_hdmi_audio.c retval = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24); retval 1087 sound/x86/intel_hdmi_audio.c if (retval < 0) retval 1096 sound/x86/intel_hdmi_audio.c return retval; retval 1100 sound/x86/intel_hdmi_audio.c return retval; retval 1135 sound/x86/intel_hdmi_audio.c int buf_size, retval; retval 1139 sound/x86/intel_hdmi_audio.c retval = snd_pcm_lib_malloc_pages(substream, buf_size); retval 1140 sound/x86/intel_hdmi_audio.c if (retval < 0) retval 1141 sound/x86/intel_hdmi_audio.c return retval; retval 1144 sound/x86/intel_hdmi_audio.c return retval; retval 1165 sound/x86/intel_hdmi_audio.c int retval = 0; retval 1188 sound/x86/intel_hdmi_audio.c retval = -EINVAL; retval 1191 sound/x86/intel_hdmi_audio.c return retval; retval 1199 sound/x86/intel_hdmi_audio.c int retval; retval 1221 sound/x86/intel_hdmi_audio.c retval = had_prog_n(substream->runtime->rate, &n_param, intelhaddata); retval 1222 sound/x86/intel_hdmi_audio.c if (retval) { retval 1224 sound/x86/intel_hdmi_audio.c "programming N value failed %#x\n", retval); retval 1236 sound/x86/intel_hdmi_audio.c retval = had_init_audio_ctrl(substream, intelhaddata); retval 1249 sound/x86/intel_hdmi_audio.c return retval; retval 1305 sound/x86/intel_hdmi_audio.c int retval = 0; retval 1319 sound/x86/intel_hdmi_audio.c retval = had_prog_n(substream->runtime->rate, &n_param, intelhaddata); retval 1320 sound/x86/intel_hdmi_audio.c if (retval) { retval 1322 sound/x86/intel_hdmi_audio.c "programming N value failed %#x\n", retval); retval 1337 sound/x86/intel_hdmi_audio.c return retval; retval 1071 tools/bpf/bpftool/prog.c jsonw_uint_field(json_wtr, "retval", test_attr.retval); retval 1076 tools/bpf/bpftool/prog.c test_attr.retval, retval 899 tools/firewire/nosy-dump.c int length, retval, view; retval 909 tools/firewire/nosy-dump.c retval = poptGetNextOpt(con); retval 910 tools/firewire/nosy-dump.c if (retval < -1) { retval 440 tools/include/uapi/linux/bpf.h __u32 retval; retval 3613 tools/include/uapi/linux/bpf.h __s32 retval; retval 520 tools/lib/bpf/bpf.c void *data_out, __u32 *size_out, __u32 *retval, retval 536 tools/lib/bpf/bpf.c if (retval) retval 537 tools/lib/bpf/bpf.c *retval = attr.test.retval; retval 566 tools/lib/bpf/bpf.c test_attr->retval = attr.test.retval; retval 139 tools/lib/bpf/bpf.h __u32 retval; /* out: return code of the BPF program */ retval 156 tools/lib/bpf/bpf.h __u32 *retval, __u32 *duration); retval 27 tools/perf/scripts/python/Perf-Trace-Util/Context.c int retval; retval 33 tools/perf/scripts/python/Perf-Trace-Util/Context.c retval = common_pc(scripting_context); retval 35 tools/perf/scripts/python/Perf-Trace-Util/Context.c return Py_BuildValue("i", retval); retval 43 tools/perf/scripts/python/Perf-Trace-Util/Context.c int retval; retval 49 tools/perf/scripts/python/Perf-Trace-Util/Context.c retval = common_flags(scripting_context); retval 51 tools/perf/scripts/python/Perf-Trace-Util/Context.c return Py_BuildValue("i", retval); retval 59 tools/perf/scripts/python/Perf-Trace-Util/Context.c int retval; retval 65 tools/perf/scripts/python/Perf-Trace-Util/Context.c retval = common_lock_depth(scripting_context); retval 67 tools/perf/scripts/python/Perf-Trace-Util/Context.c return Py_BuildValue("i", retval); retval 619 tools/perf/util/dwarf-aux.c int retval; retval 652 tools/perf/util/dwarf-aux.c iwp->retval = iwp->callback(inst, iwp->data); retval 654 tools/perf/util/dwarf-aux.c return (iwp->retval) ? DIE_FIND_CB_END : DIE_FIND_CB_CONTINUE; retval 676 tools/perf/util/dwarf-aux.c .retval = -ENOENT, retval 684 tools/perf/util/dwarf-aux.c return iwp.retval; retval 692 tools/perf/util/dwarf-aux.c int retval; retval 706 tools/perf/util/dwarf-aux.c lw->retval = lw->callback(fname, lineno, addr, lw->data); retval 707 tools/perf/util/dwarf-aux.c if (lw->retval != 0) retval 717 tools/perf/util/dwarf-aux.c lw->retval = lw->callback(fname, lineno, addr, lw->data); retval 718 tools/perf/util/dwarf-aux.c if (lw->retval != 0) retval 735 tools/perf/util/dwarf-aux.c .retval = 0, retval 746 tools/perf/util/dwarf-aux.c lw.retval = callback(fname, lineno, addr, data); retval 747 tools/perf/util/dwarf-aux.c if (lw.retval != 0) retval 752 tools/perf/util/dwarf-aux.c return lw.retval; retval 763 tools/perf/util/dwarf-aux.c lw->retval = __die_walk_funclines(sp_die, true, lw->callback, lw->data); retval 764 tools/perf/util/dwarf-aux.c if (lw->retval != 0) retval 876 tools/perf/util/dwarf-aux.c .retval = 0, retval 879 tools/perf/util/dwarf-aux.c ret = param.retval; retval 259 tools/perf/util/genelf.c int retval = -1; retval 328 tools/perf/util/genelf.c retval = jit_add_eh_frame_info(e, unwinding, retval 331 tools/perf/util/genelf.c if (retval) retval 493 tools/perf/util/genelf.c retval = jit_add_debug_info(e, load_addr, debug, nr_debug_entries); retval 494 tools/perf/util/genelf.c if (retval) retval 505 tools/perf/util/genelf.c retval = 0; retval 512 tools/perf/util/genelf.c return retval; retval 139 tools/perf/util/jitdump.c int ret, retval = -1; retval 236 tools/perf/util/jitdump.c return retval; retval 977 tools/perf/util/probe-finder.c int retval; retval 1002 tools/perf/util/probe-finder.c param->retval = find_probe_point_by_line(pf); retval 1010 tools/perf/util/probe-finder.c param->retval = 0; retval 1013 tools/perf/util/probe-finder.c param->retval = find_probe_point_lazy(sp_die, pf); retval 1018 tools/perf/util/probe-finder.c param->retval = call_probe_finder(sp_die, pf); retval 1022 tools/perf/util/probe-finder.c param->retval = die_walk_instances(sp_die, retval 1025 tools/perf/util/probe-finder.c if (param->retval == -ENOENT) retval 1026 tools/perf/util/probe-finder.c param->retval = 0; retval 1030 tools/perf/util/probe-finder.c if (strisglob(pp->function) && param->retval >= 0) { retval 1031 tools/perf/util/probe-finder.c param->retval = 0; /* We have to clear the result */ retval 1041 tools/perf/util/probe-finder.c .retval = 0}; retval 1043 tools/perf/util/probe-finder.c return _param.retval; retval 1777 tools/perf/util/probe-finder.c param->retval = die_walk_instances(sp_die, retval 1780 tools/perf/util/probe-finder.c param->retval = find_line_range_by_line(sp_die, lf); retval 1788 tools/perf/util/probe-finder.c struct dwarf_callback_param param = {.data = (void *)lf, .retval = 0}; retval 1790 tools/perf/util/probe-finder.c return param.retval; retval 1808 tools/perf/util/probe-finder.c .data = (void *)&lf, .retval = 0}; retval 183 tools/perf/util/scripting-engines/trace-event-python.c PyObject *retval; retval 185 tools/perf/util/scripting-engines/trace-event-python.c retval = PyObject_CallObject(handler, args); retval 186 tools/perf/util/scripting-engines/trace-event-python.c if (retval == NULL) retval 188 tools/perf/util/scripting-engines/trace-event-python.c Py_DECREF(retval); retval 201 tools/perf/util/unwind-libunwind-local.c int retval = 0; retval 209 tools/perf/util/unwind-libunwind-local.c retval = (ehdr.e_type == ET_EXEC); retval 213 tools/perf/util/unwind-libunwind-local.c pr_debug("unwind: elf_is_exec(%s): %d\n", name, retval); retval 214 tools/perf/util/unwind-libunwind-local.c return retval; retval 34 tools/power/cpupower/debug/i386/centrino-decode.c int retval = -1; retval 56 tools/power/cpupower/debug/i386/centrino-decode.c retval = 0; retval 60 tools/power/cpupower/debug/i386/centrino-decode.c return retval; retval 18 tools/power/cpupower/debug/i386/intel_gsic.c int retval; retval 28 tools/power/cpupower/debug/i386/intel_gsic.c retval = LRMI_int(0x15, &r); retval 30 tools/power/cpupower/debug/i386/intel_gsic.c if (!retval) { retval 323 tools/power/x86/turbostat/turbostat.c int retval, pkg_no, core_no, thread_no, node_no; retval 345 tools/power/x86/turbostat/turbostat.c retval = func(t, c, p); retval 346 tools/power/x86/turbostat/turbostat.c if (retval) retval 347 tools/power/x86/turbostat/turbostat.c return retval; retval 386 tools/power/x86/turbostat/turbostat.c ssize_t retval; retval 388 tools/power/x86/turbostat/turbostat.c retval = pread(get_msr_fd(cpu), msr, sizeof(*msr), offset); retval 390 tools/power/x86/turbostat/turbostat.c if (retval != sizeof *msr) retval 580 tools/power/x86/turbostat/turbostat.c unsigned long long retval = 0; retval 595 tools/power/x86/turbostat/turbostat.c retval |= (1ULL << i); retval 620 tools/power/x86/turbostat/turbostat.c return retval; retval 1396 tools/power/x86/turbostat/turbostat.c int retval = 0; retval 1403 tools/power/x86/turbostat/turbostat.c retval = delta_thread(t, t2, c2); /* c2 is core delta */ retval 1404 tools/power/x86/turbostat/turbostat.c if (retval) retval 1405 tools/power/x86/turbostat/turbostat.c return retval; retval 1409 tools/power/x86/turbostat/turbostat.c retval = delta_package(p, p2); retval 1411 tools/power/x86/turbostat/turbostat.c return retval; retval 1689 tools/power/x86/turbostat/turbostat.c int retval; retval 1694 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, "%lld", &counter); retval 1695 tools/power/x86/turbostat/turbostat.c if (retval != 1) retval 2689 tools/power/x86/turbostat/turbostat.c int retval, pkg_no, node_no, core_no, thread_no; retval 2721 tools/power/x86/turbostat/turbostat.c retval = func(t, c, p, t2, c2, p2); retval 2722 tools/power/x86/turbostat/turbostat.c if (retval) retval 2723 tools/power/x86/turbostat/turbostat.c return retval; retval 2739 tools/power/x86/turbostat/turbostat.c int retval; retval 2743 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, "cpu %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n"); retval 2744 tools/power/x86/turbostat/turbostat.c if (retval != 0) retval 2748 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, "cpu%u %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n", &cpu_num); retval 2749 tools/power/x86/turbostat/turbostat.c if (retval != 1) retval 2752 tools/power/x86/turbostat/turbostat.c retval = func(cpu_num); retval 2753 tools/power/x86/turbostat/turbostat.c if (retval) { retval 2755 tools/power/x86/turbostat/turbostat.c return(retval); retval 2815 tools/power/x86/turbostat/turbostat.c int column, retval; retval 2826 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, " CPU%d", &cpu_number); retval 2827 tools/power/x86/turbostat/turbostat.c if (retval != 1) retval 2844 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, " %s:", buf); /* flush irq# "N:" */ retval 2845 tools/power/x86/turbostat/turbostat.c if (retval != 1) retval 2853 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, " %d", &irq_count); retval 2854 tools/power/x86/turbostat/turbostat.c if (retval != 1) retval 2879 tools/power/x86/turbostat/turbostat.c int retval; retval 2883 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, "%lld", &gfx_cur_rc6_ms); retval 2884 tools/power/x86/turbostat/turbostat.c if (retval != 1) retval 2902 tools/power/x86/turbostat/turbostat.c int retval; retval 2911 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, "%d", &gfx_cur_mhz); retval 2912 tools/power/x86/turbostat/turbostat.c if (retval != 1) retval 2927 tools/power/x86/turbostat/turbostat.c int retval; retval 2931 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, "%lld", &cpuidle_cur_cpu_lpi_us); retval 2932 tools/power/x86/turbostat/turbostat.c if (retval != 1) { retval 2951 tools/power/x86/turbostat/turbostat.c int retval; retval 2955 tools/power/x86/turbostat/turbostat.c retval = fscanf(fp, "%lld", &cpuidle_cur_sys_lpi_us); retval 2956 tools/power/x86/turbostat/turbostat.c if (retval != 1) { retval 3028 tools/power/x86/turbostat/turbostat.c int retval; retval 3039 tools/power/x86/turbostat/turbostat.c retval = select(1, &readfds, NULL, NULL, &tout); retval 3041 tools/power/x86/turbostat/turbostat.c if (retval == 1) { retval 3063 tools/power/x86/turbostat/turbostat.c int retval; retval 3073 tools/power/x86/turbostat/turbostat.c retval = for_all_cpus(get_counters, EVEN_COUNTERS); retval 3075 tools/power/x86/turbostat/turbostat.c if (retval < -1) { retval 3076 tools/power/x86/turbostat/turbostat.c exit(retval); retval 3077 tools/power/x86/turbostat/turbostat.c } else if (retval == -1) { retval 3079 tools/power/x86/turbostat/turbostat.c exit(retval); retval 3096 tools/power/x86/turbostat/turbostat.c retval = for_all_cpus(get_counters, ODD_COUNTERS); retval 3097 tools/power/x86/turbostat/turbostat.c if (retval < -1) { retval 3098 tools/power/x86/turbostat/turbostat.c exit(retval); retval 3099 tools/power/x86/turbostat/turbostat.c } else if (retval == -1) { retval 3119 tools/power/x86/turbostat/turbostat.c retval = for_all_cpus(get_counters, EVEN_COUNTERS); retval 3120 tools/power/x86/turbostat/turbostat.c if (retval < -1) { retval 3121 tools/power/x86/turbostat/turbostat.c exit(retval); retval 3122 tools/power/x86/turbostat/turbostat.c } else if (retval == -1) { retval 628 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int retval; retval 637 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c retval = pread(fd, msr, sizeof(*msr), offset); retval 638 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (retval != sizeof(*msr)) retval 651 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int retval; retval 659 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c retval = pwrite(fd, &new_msr, sizeof(new_msr), offset); retval 660 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (retval != sizeof(new_msr)) retval 661 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c err(-2, "pwrite(cpu%d, offset 0x%x, 0x%llx) = %d", cpu, offset, new_msr, retval); retval 821 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int retval; retval 835 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c retval = fprintf(fp, "%d", khz); retval 836 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (retval < 0) retval 1106 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int retval; retval 1111 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c retval = fscanf(fp, "%d\n", &pkg); retval 1112 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (retval != 1) retval 1153 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int retval; retval 1157 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c retval = fscanf(fp, "cpu %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n"); retval 1158 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (retval != 0) retval 1162 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c retval = fscanf(fp, "cpu%u %*d %*d %*d %*d %*d %*d %*d %*d %*d %*d\n", &cpu_num); retval 1163 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (retval != 1) retval 1166 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c retval = func(cpu_num); retval 1167 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (retval) { retval 1169 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c return retval; retval 475 tools/testing/selftests/bpf/prog_tests/flow_dissector.c err || tattr.retval != 1, retval 478 tools/testing/selftests/bpf/prog_tests/flow_dissector.c err, errno, tattr.retval, tattr.duration, retval 7 tools/testing/selftests/bpf/prog_tests/flow_dissector_load_bytes.c __u32 duration = 0, retval, size; retval 40 tools/testing/selftests/bpf/prog_tests/flow_dissector_load_bytes.c &flow_keys, &size, &retval, &duration); retval 41 tools/testing/selftests/bpf/prog_tests/flow_dissector_load_bytes.c CHECK(size != sizeof(flow_keys) || err || retval != 1, retval 44 tools/testing/selftests/bpf/prog_tests/flow_dissector_load_bytes.c err, errno, retval, duration, size, sizeof(flow_keys)); retval 127 tools/testing/selftests/bpf/prog_tests/global_data.c __u32 duration = 0, retval; retval 136 tools/testing/selftests/bpf/prog_tests/global_data.c NULL, NULL, &retval, &duration); retval 137 tools/testing/selftests/bpf/prog_tests/global_data.c CHECK(err || retval, "pass global data run", retval 139 tools/testing/selftests/bpf/prog_tests/global_data.c err, errno, retval, duration); retval 25 tools/testing/selftests/bpf/prog_tests/l4lb_all.c __u32 duration, retval, size; retval 52 tools/testing/selftests/bpf/prog_tests/l4lb_all.c buf, &size, &retval, &duration); retval 53 tools/testing/selftests/bpf/prog_tests/l4lb_all.c CHECK(err || retval != 7/*TC_ACT_REDIRECT*/ || size != 54 || retval 56 tools/testing/selftests/bpf/prog_tests/l4lb_all.c err, errno, retval, size, *magic); retval 59 tools/testing/selftests/bpf/prog_tests/l4lb_all.c buf, &size, &retval, &duration); retval 60 tools/testing/selftests/bpf/prog_tests/l4lb_all.c CHECK(err || retval != 7/*TC_ACT_REDIRECT*/ || size != 74 || retval 63 tools/testing/selftests/bpf/prog_tests/l4lb_all.c err, errno, retval, size, *magic); retval 8 tools/testing/selftests/bpf/prog_tests/pkt_access.c __u32 duration, retval; retval 16 tools/testing/selftests/bpf/prog_tests/pkt_access.c NULL, NULL, &retval, &duration); retval 17 tools/testing/selftests/bpf/prog_tests/pkt_access.c CHECK(err || retval, "ipv4", retval 19 tools/testing/selftests/bpf/prog_tests/pkt_access.c err, errno, retval, duration); retval 22 tools/testing/selftests/bpf/prog_tests/pkt_access.c NULL, NULL, &retval, &duration); retval 23 tools/testing/selftests/bpf/prog_tests/pkt_access.c CHECK(err || retval, "ipv6", retval 25 tools/testing/selftests/bpf/prog_tests/pkt_access.c err, errno, retval, duration); retval 8 tools/testing/selftests/bpf/prog_tests/pkt_md_access.c __u32 duration, retval; retval 16 tools/testing/selftests/bpf/prog_tests/pkt_md_access.c NULL, NULL, &retval, &duration); retval 17 tools/testing/selftests/bpf/prog_tests/pkt_md_access.c CHECK(err || retval, "", retval 19 tools/testing/selftests/bpf/prog_tests/pkt_md_access.c err, errno, retval, duration); retval 26 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c CHECK_ATTR(err != -1 || errno != ENOSPC || tattr.retval, "run", retval 27 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c "err %d errno %d retval %d\n", err, errno, tattr.retval); retval 41 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c CHECK_ATTR(err || errno || tattr.retval, "run_no_output", retval 42 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c "err %d errno %d retval %d\n", err, errno, tattr.retval); retval 12 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c __u32 vals[MAP_SIZE], duration, retval, size, val; retval 61 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c buf, &size, &retval, &duration); retval 62 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c if (err || retval || size != sizeof(pkt_v4) || retval 67 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c CHECK(err || retval || size != sizeof(pkt_v4) || iph->daddr != val, retval 70 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c err, errno, retval, size, iph->daddr); retval 74 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c buf, &size, &retval, &duration); retval 75 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c CHECK(err || retval != 2 /* TC_ACT_SHOT */|| size != sizeof(pkt_v4), retval 78 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c err, errno, retval, size); retval 15 tools/testing/selftests/bpf/prog_tests/signal_pending.c __u32 duration = 0, retval; retval 35 tools/testing/selftests/bpf/prog_tests/signal_pending.c NULL, NULL, &retval, &duration); retval 70 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(err != 0 || tattr.retval, retval 73 tools/testing/selftests/bpf/prog_tests/skb_ctx.c err, errno, tattr.retval); retval 132 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 175 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 197 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 236 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 262 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 281 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 304 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 367 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 701 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 717 tools/testing/selftests/bpf/prog_tests/sockopt.c offsetof(struct bpf_sockopt, retval)), retval 15 tools/testing/selftests/bpf/prog_tests/xdp.c __u32 duration, retval, size; retval 29 tools/testing/selftests/bpf/prog_tests/xdp.c buf, &size, &retval, &duration); retval 31 tools/testing/selftests/bpf/prog_tests/xdp.c CHECK(err || retval != XDP_TX || size != 74 || retval 34 tools/testing/selftests/bpf/prog_tests/xdp.c err, errno, retval, size); retval 37 tools/testing/selftests/bpf/prog_tests/xdp.c buf, &size, &retval, &duration); retval 38 tools/testing/selftests/bpf/prog_tests/xdp.c CHECK(err || retval != XDP_TX || size != 114 || retval 41 tools/testing/selftests/bpf/prog_tests/xdp.c err, errno, retval, size); retval 9 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c __u32 duration, retval, size; retval 17 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c buf, &size, &retval, &duration); retval 19 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c CHECK(err || retval != XDP_DROP, retval 21 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c err, errno, retval, size); retval 24 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c buf, &size, &retval, &duration); retval 25 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c CHECK(err || retval != XDP_TX || size != 54, retval 27 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c err, errno, retval, size); retval 26 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c __u32 duration, retval, size; retval 53 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c buf, &size, &retval, &duration); retval 54 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c CHECK(err || retval != 1 || size != 54 || retval 57 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c err, errno, retval, size, *magic); retval 60 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c buf, &size, &retval, &duration); retval 61 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c CHECK(err || retval != 1 || size != 74 || retval 64 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c err, errno, retval, size, *magic); retval 68 tools/testing/selftests/bpf/progs/sockopt_inherit.c ctx->retval = 0; /* Reset system call return value to zero */ retval 24 tools/testing/selftests/bpf/progs/sockopt_multi.c ctx->retval = 0; /* Reset system call return value to zero */ retval 47 tools/testing/selftests/bpf/progs/sockopt_multi.c ctx->retval = 0; /* Reset system call return value to zero */ retval 66 tools/testing/selftests/bpf/progs/sockopt_sk.c if (!ctx->retval) retval 70 tools/testing/selftests/bpf/progs/sockopt_sk.c ctx->retval = 0; /* Reset system call return value to zero */ retval 65 tools/testing/selftests/bpf/test_lru_map.c __u32 retval = 0; retval 92 tools/testing/selftests/bpf/test_lru_map.c NULL, NULL, &retval, NULL); retval 93 tools/testing/selftests/bpf/test_lru_map.c if (ret < 0 || retval != 42) { retval 304 tools/testing/selftests/bpf/test_progs.c __u32 duration, retval; retval 308 tools/testing/selftests/bpf/test_progs.c NULL, NULL, &retval, &duration); retval 309 tools/testing/selftests/bpf/test_progs.c CHECK(err || retval, "", retval 311 tools/testing/selftests/bpf/test_progs.c err, errno, retval, duration); retval 105 tools/testing/selftests/bpf/test_verifier.c uint32_t retval, retval_unpriv; \ retval 209 tools/testing/selftests/bpf/test_verifier.c while (i < self->retval) { retval 224 tools/testing/selftests/bpf/test_verifier.c self->retval = (uint32_t)res; retval 252 tools/testing/selftests/bpf/test_verifier.c self->retval = 42; retval 281 tools/testing/selftests/bpf/test_verifier.c self->retval = 42; retval 286 tools/testing/selftests/bpf/test_verifier.c switch (self->retval) { retval 842 tools/testing/selftests/bpf/test_verifier.c uint32_t retval; retval 848 tools/testing/selftests/bpf/test_verifier.c tmp, &size_tmp, &retval, NULL); retval 855 tools/testing/selftests/bpf/test_verifier.c if (!err && retval != expected_val && retval 857 tools/testing/selftests/bpf/test_verifier.c printf("FAIL retval %d != %d ", retval, expected_val); retval 1012 tools/testing/selftests/bpf/test_verifier.c expected_val = test->retvals[i].retval; retval 234 tools/testing/selftests/bpf/verifier/array_access.c .retval = 28, retval 258 tools/testing/selftests/bpf/verifier/array_access.c .retval = -29, retval 314 tools/testing/selftests/bpf/verifier/array_access.c .retval = 1, retval 337 tools/testing/selftests/bpf/verifier/array_access.c .retval = 0, retval 14 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = -3, retval 30 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 1, retval 40 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 0, retval 50 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = -16069393, retval 61 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 0, retval 72 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 43724, retval 104 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 1, retval 118 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 1, retval 132 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 1, retval 146 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 1, retval 161 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 1, retval 176 tools/testing/selftests/bpf/verifier/basic_instr.c .retval = 1, retval 24 tools/testing/selftests/bpf/verifier/bounds_deduction.c .retval = 1, retval 25 tools/testing/selftests/bpf/verifier/calls.c .retval = 1, retval 50 tools/testing/selftests/bpf/verifier/calls.c .retval = 1, retval 222 tools/testing/selftests/bpf/verifier/calls.c .retval = 1, retval 257 tools/testing/selftests/bpf/verifier/calls.c .retval = 1, retval 308 tools/testing/selftests/bpf/verifier/calls.c .retval = TEST_DATA_LEN, retval 321 tools/testing/selftests/bpf/verifier/calls.c .retval = POINTER_VALUE, retval 352 tools/testing/selftests/bpf/verifier/calls.c .retval = TEST_DATA_LEN + TEST_DATA_LEN - ETH_HLEN - ETH_HLEN, retval 404 tools/testing/selftests/bpf/verifier/calls.c .retval = 0, retval 425 tools/testing/selftests/bpf/verifier/calls.c .retval = TEST_DATA_LEN + TEST_DATA_LEN, retval 444 tools/testing/selftests/bpf/verifier/calls.c .retval = 42, retval 478 tools/testing/selftests/bpf/verifier/calls.c .retval = 43, retval 1008 tools/testing/selftests/bpf/verifier/calls.c .retval = 42, retval 1611 tools/testing/selftests/bpf/verifier/calls.c .retval = POINTER_VALUE, retval 1679 tools/testing/selftests/bpf/verifier/calls.c .retval = 1, retval 1714 tools/testing/selftests/bpf/verifier/calls.c .retval = 1, retval 12 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 7, retval 23 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 7, retval 38 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 1, retval 49 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 7, retval 61 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 7, retval 75 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 7, retval 91 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 7, retval 109 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 7, retval 127 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 7, retval 143 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 2, retval 158 tools/testing/selftests/bpf/verifier/dead_code.c .retval = 2, retval 12 tools/testing/selftests/bpf/verifier/direct_packet_access.c .retval = TEST_DATA_LEN, retval 240 tools/testing/selftests/bpf/verifier/direct_packet_access.c .retval = 1, retval 265 tools/testing/selftests/bpf/verifier/direct_packet_access.c .retval = 1, retval 296 tools/testing/selftests/bpf/verifier/direct_packet_access.c .retval = 1, retval 320 tools/testing/selftests/bpf/verifier/direct_packet_access.c .retval = 1, retval 614 tools/testing/selftests/bpf/verifier/direct_packet_access.c .retval = 1, retval 11 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 1, retval 23 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 1, retval 35 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 1, retval 47 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 1, retval 59 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 1, retval 95 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 1, retval 119 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 1, retval 169 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 0xff, retval 183 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 0xffff, retval 235 tools/testing/selftests/bpf/verifier/direct_value_access.c .retval = 1, retval 11 tools/testing/selftests/bpf/verifier/div0.c .retval = 42, retval 23 tools/testing/selftests/bpf/verifier/div0.c .retval = 42, retval 35 tools/testing/selftests/bpf/verifier/div0.c .retval = 42, retval 47 tools/testing/selftests/bpf/verifier/div0.c .retval = 42, retval 59 tools/testing/selftests/bpf/verifier/div0.c .retval = 42, retval 71 tools/testing/selftests/bpf/verifier/div0.c .retval = 42, retval 85 tools/testing/selftests/bpf/verifier/div0.c .retval = 8, retval 97 tools/testing/selftests/bpf/verifier/div0.c .retval = 0, retval 109 tools/testing/selftests/bpf/verifier/div0.c .retval = 0, retval 121 tools/testing/selftests/bpf/verifier/div0.c .retval = 0, retval 135 tools/testing/selftests/bpf/verifier/div0.c .retval = 2, retval 147 tools/testing/selftests/bpf/verifier/div0.c .retval = 1, retval 159 tools/testing/selftests/bpf/verifier/div0.c .retval = 1, retval 171 tools/testing/selftests/bpf/verifier/div0.c .retval = 2, retval 183 tools/testing/selftests/bpf/verifier/div0.c .retval = -1, retval 15 tools/testing/selftests/bpf/verifier/div_overflow.c .retval = 0, retval 26 tools/testing/selftests/bpf/verifier/div_overflow.c .retval = 0, retval 41 tools/testing/selftests/bpf/verifier/div_overflow.c .retval = 0, retval 55 tools/testing/selftests/bpf/verifier/div_overflow.c .retval = 0, retval 67 tools/testing/selftests/bpf/verifier/div_overflow.c .retval = INT_MIN, retval 78 tools/testing/selftests/bpf/verifier/div_overflow.c .retval = INT_MIN, retval 94 tools/testing/selftests/bpf/verifier/div_overflow.c .retval = 1, retval 109 tools/testing/selftests/bpf/verifier/div_overflow.c .retval = 1, retval 45 tools/testing/selftests/bpf/verifier/event_output.c .retval = 1, retval 53 tools/testing/selftests/bpf/verifier/event_output.c .retval = 1, retval 61 tools/testing/selftests/bpf/verifier/event_output.c .retval = 1, retval 69 tools/testing/selftests/bpf/verifier/event_output.c .retval = 1, retval 77 tools/testing/selftests/bpf/verifier/event_output.c .retval = 1, retval 85 tools/testing/selftests/bpf/verifier/event_output.c .retval = 1, retval 93 tools/testing/selftests/bpf/verifier/event_output.c .retval = 1, retval 462 tools/testing/selftests/bpf/verifier/helper_access_var_len.c .retval = 0 /* csum_diff of 64-byte packet */, retval 21 tools/testing/selftests/bpf/verifier/jit.c .retval = 2, retval 35 tools/testing/selftests/bpf/verifier/jit.c .retval = 2, retval 48 tools/testing/selftests/bpf/verifier/jit.c .retval = 2, retval 87 tools/testing/selftests/bpf/verifier/jit.c .retval = 2, retval 106 tools/testing/selftests/bpf/verifier/jit.c .retval = 2, retval 20 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 23 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 26 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 52 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 55 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 58 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 91 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 94 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 115 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 118 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 121 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 154 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 157 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 178 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 181 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 184 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 217 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 220 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 223 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 244 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 247 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 250 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 269 tools/testing/selftests/bpf/verifier/jmp32.c .retval = 2, retval 285 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 288 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 291 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 312 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 315 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 318 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 337 tools/testing/selftests/bpf/verifier/jmp32.c .retval = 2, retval 353 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 356 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 359 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 380 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 383 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 386 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 405 tools/testing/selftests/bpf/verifier/jmp32.c .retval = 2, retval 421 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 424 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 427 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 448 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 451 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 454 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 473 tools/testing/selftests/bpf/verifier/jmp32.c .retval = 2, retval 489 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 492 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 495 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 516 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 519 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 522 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 541 tools/testing/selftests/bpf/verifier/jmp32.c .retval = 2, retval 557 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 560 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 563 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 584 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 587 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 590 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 609 tools/testing/selftests/bpf/verifier/jmp32.c .retval = 2, retval 625 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 628 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 631 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 652 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 655 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 658 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 677 tools/testing/selftests/bpf/verifier/jmp32.c .retval = 2, retval 693 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 696 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 699 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 720 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 723 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 2, retval 726 tools/testing/selftests/bpf/verifier/jmp32.c { .retval = 0, retval 745 tools/testing/selftests/bpf/verifier/jmp32.c .retval = 2, retval 34 tools/testing/selftests/bpf/verifier/jset.c { .retval = 2, retval 37 tools/testing/selftests/bpf/verifier/jset.c { .retval = 2, retval 40 tools/testing/selftests/bpf/verifier/jset.c { .retval = 2, retval 43 tools/testing/selftests/bpf/verifier/jset.c { .retval = 2, retval 46 tools/testing/selftests/bpf/verifier/jset.c { .retval = 2, retval 49 tools/testing/selftests/bpf/verifier/jset.c { .retval = 0, retval 52 tools/testing/selftests/bpf/verifier/jset.c { .retval = 0, retval 72 tools/testing/selftests/bpf/verifier/jset.c .retval = 2, retval 87 tools/testing/selftests/bpf/verifier/jset.c .retval = 1, retval 88 tools/testing/selftests/bpf/verifier/jump.c .retval = -ENOENT, retval 209 tools/testing/selftests/bpf/verifier/jump.c .retval = 2, retval 238 tools/testing/selftests/bpf/verifier/jump.c .retval = 3, retval 268 tools/testing/selftests/bpf/verifier/jump.c .retval = 3, retval 374 tools/testing/selftests/bpf/verifier/jump.c .retval = 3, retval 94 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 42 /* ultimate return value */, retval 163 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 256, retval 183 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 10, retval 203 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 0, retval 219 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 0, retval 235 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 0, retval 246 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 0xbef, retval 274 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 42, retval 285 tools/testing/selftests/bpf/verifier/ld_abs.c .retval = 10, retval 8 tools/testing/selftests/bpf/verifier/ld_dw.c .retval = 4090, retval 17 tools/testing/selftests/bpf/verifier/ld_dw.c .retval = 2047, retval 26 tools/testing/selftests/bpf/verifier/ld_dw.c .retval = 511, retval 35 tools/testing/selftests/bpf/verifier/ld_dw.c .retval = 5, retval 44 tools/testing/selftests/bpf/verifier/ld_dw.c .retval = 1000000 - 6, retval 78 tools/testing/selftests/bpf/verifier/ld_imm64.c .retval = 1, retval 71 tools/testing/selftests/bpf/verifier/ld_ind.c .retval = 1, retval 11 tools/testing/selftests/bpf/verifier/loops1.c .retval = 4, retval 35 tools/testing/selftests/bpf/verifier/loops1.c .retval = 4, retval 71 tools/testing/selftests/bpf/verifier/loops1.c .retval = 4, retval 84 tools/testing/selftests/bpf/verifier/loops1.c .retval = 4, retval 171 tools/testing/selftests/bpf/verifier/loops1.c .retval = 123, retval 188 tools/testing/selftests/bpf/verifier/loops1.c .retval = 55, retval 29 tools/testing/selftests/bpf/verifier/map_ptr_mixing.c .retval = 1, retval 80 tools/testing/selftests/bpf/verifier/map_ptr_mixing.c .retval = 42, retval 99 tools/testing/selftests/bpf/verifier/map_ptr_mixing.c .retval = 42, retval 15 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 31 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 47 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 63 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 79 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 95 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 111 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 127 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 143 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 159 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 175 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 191 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 207 tools/testing/selftests/bpf/verifier/masking.c .retval = 4, retval 223 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 239 tools/testing/selftests/bpf/verifier/masking.c .retval = 0xfffffffe, retval 255 tools/testing/selftests/bpf/verifier/masking.c .retval = 0xabcde, retval 271 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 287 tools/testing/selftests/bpf/verifier/masking.c .retval = 46, retval 304 tools/testing/selftests/bpf/verifier/masking.c .retval = 46, retval 321 tools/testing/selftests/bpf/verifier/masking.c .retval = 0, retval 166 tools/testing/selftests/bpf/verifier/precise.c .retval = -1, retval 193 tools/testing/selftests/bpf/verifier/precise.c .retval = -1, retval 317 tools/testing/selftests/bpf/verifier/ref_tracking.c .retval = POINTER_VALUE, retval 429 tools/testing/selftests/bpf/verifier/ref_tracking.c .retval = 1, retval 12 tools/testing/selftests/bpf/verifier/runtime_jit.c .retval = 42, retval 25 tools/testing/selftests/bpf/verifier/runtime_jit.c .retval = 41, retval 38 tools/testing/selftests/bpf/verifier/runtime_jit.c .retval = 1, retval 51 tools/testing/selftests/bpf/verifier/runtime_jit.c .retval = 2, retval 64 tools/testing/selftests/bpf/verifier/runtime_jit.c .retval = 2, retval 77 tools/testing/selftests/bpf/verifier/runtime_jit.c .retval = 42, retval 8 tools/testing/selftests/bpf/verifier/scale.c .retval = 1, retval 17 tools/testing/selftests/bpf/verifier/scale.c .retval = 2, retval 18 tools/testing/selftests/bpf/verifier/search_pruning.c .retval = POINTER_VALUE, retval 38 tools/testing/selftests/bpf/verifier/search_pruning.c .retval = POINTER_VALUE, retval 16 tools/testing/selftests/bpf/verifier/spill_fill.c .retval = POINTER_VALUE, retval 62 tools/testing/selftests/bpf/verifier/spill_fill.c .retval = POINTER_VALUE, retval 75 tools/testing/selftests/bpf/verifier/spill_fill.c .retval = POINTER_VALUE, retval 11 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 0xfaceb00c, retval 72 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 42, retval 83 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 42, retval 97 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 42, retval 160 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 42, retval 174 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 42, retval 251 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 42, retval 268 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 42, retval 282 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = -3, retval 297 tools/testing/selftests/bpf/verifier/stack_ptr.c .retval = 42, retval 24 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 50 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 63 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 83 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 96 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 116 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 129 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 149 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 162 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 182 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 196 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 216 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 230 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 250 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 264 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 284 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 297 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 310 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 330 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 343 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 356 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 370 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 390 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 404 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 424 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 439 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 454 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 469 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 484 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 500 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 516 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 532 tools/testing/selftests/bpf/verifier/subreg.c .retval = 0, retval 10 tools/testing/selftests/bpf/verifier/unpriv.c .retval = POINTER_VALUE, retval 422 tools/testing/selftests/bpf/verifier/unpriv.c .retval = 0, retval 26 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 54 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 79 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 126 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 0, retval 173 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 0, retval 199 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 0x100000, retval 224 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = -EINVAL * 2, retval 241 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = -EINVAL * 2, retval 263 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 285 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 307 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 355 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 378 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 397 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 416 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 479 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 497 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 0xabcdef12, retval 517 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 0xabcdef12, retval 537 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 556 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 0xabcdef12, retval 582 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 0xabcdef12, retval 626 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 645 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 0xabcdef12, retval 673 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 752 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 818 tools/testing/selftests/bpf/verifier/value_ptr_arith.c .retval = 1, retval 76 tools/testing/selftests/bpf/verifier/xadd.c .retval = 3, retval 96 tools/testing/selftests/bpf/verifier/xadd.c .retval = 3, retval 13 tools/testing/selftests/bpf/verifier/xdp.c .retval = 1, retval 545 tools/testing/selftests/mqueue/mq_perf_tests.c void *retval; retval 736 tools/testing/selftests/mqueue/mq_perf_tests.c pthread_join(cpu_threads[0], &retval); retval 737 tools/testing/selftests/mqueue/mq_perf_tests.c shutdown((long)retval, "perf_test_thread()", __LINE__); retval 23 tools/testing/selftests/rtc/setdate.c int fd, retval; retval 57 tools/testing/selftests/rtc/setdate.c retval = ioctl(fd, RTC_SET_TIME, &new); retval 58 tools/testing/selftests/rtc/setdate.c if (retval == -1) { retval 65 tools/testing/selftests/rtc/setdate.c retval = ioctl(fd, RTC_RD_TIME, ¤t); retval 66 tools/testing/selftests/rtc/setdate.c if (retval == -1) { retval 30 tools/testing/selftests/timers/rtcpie.c int i, fd, retval, irqcount = 0; retval 54 tools/testing/selftests/timers/rtcpie.c retval = ioctl(fd, RTC_IRQP_READ, &old_pie_rate); retval 55 tools/testing/selftests/timers/rtcpie.c if (retval == -1) { retval 72 tools/testing/selftests/timers/rtcpie.c retval = ioctl(fd, RTC_IRQP_SET, tmp); retval 73 tools/testing/selftests/timers/rtcpie.c if (retval == -1) { retval 88 tools/testing/selftests/timers/rtcpie.c retval = ioctl(fd, RTC_PIE_ON, 0); retval 89 tools/testing/selftests/timers/rtcpie.c if (retval == -1) { retval 97 tools/testing/selftests/timers/rtcpie.c retval = read(fd, &data, sizeof(unsigned long)); retval 98 tools/testing/selftests/timers/rtcpie.c if (retval == -1) { retval 119 tools/testing/selftests/timers/rtcpie.c retval = ioctl(fd, RTC_PIE_OFF, 0); retval 120 tools/testing/selftests/timers/rtcpie.c if (retval == -1) { retval 518 tools/usb/testusb.c void *retval; retval 520 tools/usb/testusb.c if (pthread_join (entry->thread, &retval)) retval 304 usr/gen_init_cpio.c int retval; retval 317 usr/gen_init_cpio.c retval = fstat(file, &buf); retval 318 usr/gen_init_cpio.c if (retval) { retval 329 usr/gen_init_cpio.c retval = read (file, filebuf, buf.st_size); retval 330 usr/gen_init_cpio.c if (retval < 0) {