tmp 45 arch/alpha/boot/stdio.c char c,sign,tmp[66]; tmp 78 arch/alpha/boot/stdio.c tmp[i++]='0'; tmp 80 arch/alpha/boot/stdio.c tmp[i++] = digits[do_div(num, base)]; tmp 104 arch/alpha/boot/stdio.c *str++ = tmp[i]; tmp 281 arch/alpha/include/asm/atomic.h s64 old, tmp; tmp 293 arch/alpha/include/asm/atomic.h : [old] "=&r"(old), [tmp] "=&r"(tmp) tmp 445 arch/alpha/include/asm/bitops.h unsigned long b0, b1, ofs, tmp; tmp 450 arch/alpha/include/asm/bitops.h tmp = (b0 ? b0 : b1); tmp 452 arch/alpha/include/asm/bitops.h return __ffs(tmp) + ofs; tmp 50 arch/alpha/include/asm/extable.h #define swap_ex_entry_fixup(a, b, tmp, delta) \ tmp 53 arch/alpha/include/asm/extable.h (b)->fixup.unit = (tmp).fixup.unit; \ tmp 16 arch/alpha/include/asm/fpu.h unsigned long tmp, ret; tmp 24 arch/alpha/include/asm/fpu.h : "=r"(tmp), "=r"(ret)); tmp 31 arch/alpha/include/asm/fpu.h : "=m"(tmp), "=m"(ret)); tmp 40 arch/alpha/include/asm/fpu.h unsigned long tmp; tmp 48 arch/alpha/include/asm/fpu.h : "=&r"(tmp) : "r"(val)); tmp 55 arch/alpha/include/asm/fpu.h : "=m"(tmp) : "m"(val)); tmp 32 arch/alpha/include/asm/spinlock.h long tmp; tmp 46 arch/alpha/include/asm/spinlock.h : "=&r" (tmp), "=m" (lock->lock) tmp 20 arch/alpha/include/asm/xchg.h unsigned long ret, tmp, addr64; tmp 34 arch/alpha/include/asm/xchg.h : "=&r" (ret), "=&r" (val), "=&r" (tmp), "=&r" (addr64) tmp 43 arch/alpha/include/asm/xchg.h unsigned long ret, tmp, addr64; tmp 57 arch/alpha/include/asm/xchg.h : "=&r" (ret), "=&r" (val), "=&r" (tmp), "=&r" (addr64) tmp 131 arch/alpha/include/asm/xchg.h unsigned long prev, tmp, cmp, addr64; tmp 148 arch/alpha/include/asm/xchg.h : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64) tmp 157 arch/alpha/include/asm/xchg.h unsigned long prev, tmp, cmp, addr64; tmp 174 arch/alpha/include/asm/xchg.h : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64) tmp 859 arch/alpha/kernel/core_cia.c unsigned long addr, tmp; tmp 866 arch/alpha/kernel/core_cia.c tmp = (cia->pci_err0 >> 8) & 0x1F; tmp 867 arch/alpha/kernel/core_cia.c tmp = ffs(tmp); tmp 868 arch/alpha/kernel/core_cia.c window = window_desc[tmp]; tmp 872 arch/alpha/kernel/core_cia.c tmp = *(vip)CIA_IOC_PCI_W_DAC & 0xFFUL; tmp 873 arch/alpha/kernel/core_cia.c addr |= tmp << 32; tmp 906 arch/alpha/kernel/core_cia.c unsigned long addr, tmp; tmp 916 arch/alpha/kernel/core_cia.c tmp = *(volatile int *)CIA_IOC_PCI_W_DAC & 0xFFUL; tmp 917 arch/alpha/kernel/core_cia.c addr |= tmp << 32; tmp 943 arch/alpha/kernel/core_cia.c unsigned long tmp; tmp 956 arch/alpha/kernel/core_cia.c tmp = (cia->mem_err1 >> 8) & 0xF; tmp 957 arch/alpha/kernel/core_cia.c tmp |= ((cia->mem_err1 >> 20) & 1) << 4; tmp 958 arch/alpha/kernel/core_cia.c if ((tmp & 0x1E) == 0x06) tmp 960 arch/alpha/kernel/core_cia.c else if ((tmp & 0x1C) == 0x08) tmp 962 arch/alpha/kernel/core_cia.c else if (tmp == 0x1C) tmp 964 arch/alpha/kernel/core_cia.c else if ((tmp & 0x1E) == 0x0E) tmp 966 arch/alpha/kernel/core_cia.c else if ((tmp & 0x1C) == 0x18) tmp 968 arch/alpha/kernel/core_cia.c else if ((tmp & 0x1E) == 0x12) tmp 973 arch/alpha/kernel/core_cia.c tmp = (cia->mem_err1 >> 16) & 0xF; tmp 974 arch/alpha/kernel/core_cia.c switch (tmp) { tmp 1001 arch/alpha/kernel/core_cia.c tmp = (cia->mem_err1 >> 24) & 0x1F; tmp 1002 arch/alpha/kernel/core_cia.c switch (tmp) { tmp 81 arch/alpha/kernel/core_marvel.c char tmp[80]; tmp 84 arch/alpha/kernel/core_marvel.c sprintf(tmp, "PCI %s PE %d PORT %d", str, pe, port); tmp 85 arch/alpha/kernel/core_marvel.c name = memblock_alloc(strlen(tmp) + 1, SMP_CACHE_BYTES); tmp 88 arch/alpha/kernel/core_marvel.c strlen(tmp) + 1); tmp 89 arch/alpha/kernel/core_marvel.c strcpy(name, tmp); tmp 347 arch/alpha/kernel/core_mcpcia.c unsigned int tmp; tmp 354 arch/alpha/kernel/core_mcpcia.c tmp = *(vuip)MCPCIA_CAP_ERR(mid); tmp 355 arch/alpha/kernel/core_mcpcia.c tmp |= 0x0006; /* master/target abort */ tmp 356 arch/alpha/kernel/core_mcpcia.c *(vuip)MCPCIA_CAP_ERR(mid) = tmp; tmp 358 arch/alpha/kernel/core_mcpcia.c tmp = *(vuip)MCPCIA_CAP_ERR(mid); tmp 379 arch/alpha/kernel/core_tsunami.c unsigned long tmp; tmp 387 arch/alpha/kernel/core_tsunami.c tmp = (unsigned long)(TSUNAMI_cchip - 1); tmp 605 arch/alpha/kernel/io.c u16 tmp = __raw_readw(ios++); tmp 606 arch/alpha/kernel/io.c __raw_writew(tmp, iod++); tmp 279 arch/alpha/kernel/osf_sys.c struct osf_stat tmp = { 0 }; tmp 281 arch/alpha/kernel/osf_sys.c tmp.st_dev = lstat->dev; tmp 282 arch/alpha/kernel/osf_sys.c tmp.st_mode = lstat->mode; tmp 283 arch/alpha/kernel/osf_sys.c tmp.st_nlink = lstat->nlink; tmp 284 arch/alpha/kernel/osf_sys.c tmp.st_uid = from_kuid_munged(current_user_ns(), lstat->uid); tmp 285 arch/alpha/kernel/osf_sys.c tmp.st_gid = from_kgid_munged(current_user_ns(), lstat->gid); tmp 286 arch/alpha/kernel/osf_sys.c tmp.st_rdev = lstat->rdev; tmp 287 arch/alpha/kernel/osf_sys.c tmp.st_ldev = lstat->rdev; tmp 288 arch/alpha/kernel/osf_sys.c tmp.st_size = lstat->size; tmp 289 arch/alpha/kernel/osf_sys.c tmp.st_uatime = lstat->atime.tv_nsec / 1000; tmp 290 arch/alpha/kernel/osf_sys.c tmp.st_umtime = lstat->mtime.tv_nsec / 1000; tmp 291 arch/alpha/kernel/osf_sys.c tmp.st_uctime = lstat->ctime.tv_nsec / 1000; tmp 292 arch/alpha/kernel/osf_sys.c tmp.st_ino = lstat->ino; tmp 293 arch/alpha/kernel/osf_sys.c tmp.st_atime = lstat->atime.tv_sec; tmp 294 arch/alpha/kernel/osf_sys.c tmp.st_mtime = lstat->mtime.tv_sec; tmp 295 arch/alpha/kernel/osf_sys.c tmp.st_ctime = lstat->ctime.tv_sec; tmp 296 arch/alpha/kernel/osf_sys.c tmp.st_blksize = lstat->blksize; tmp 297 arch/alpha/kernel/osf_sys.c tmp.st_blocks = lstat->blocks; tmp 299 arch/alpha/kernel/osf_sys.c return copy_to_user(osf_stat, &tmp, sizeof(tmp)) ? -EFAULT : 0; tmp 458 arch/alpha/kernel/osf_sys.c struct cdfs_args tmp; tmp 462 arch/alpha/kernel/osf_sys.c if (copy_from_user(&tmp, args, sizeof(tmp))) tmp 464 arch/alpha/kernel/osf_sys.c devname = getname(tmp.devname); tmp 479 arch/alpha/kernel/osf_sys.c struct cdfs_args tmp; tmp 483 arch/alpha/kernel/osf_sys.c if (copy_from_user(&tmp, args, sizeof(tmp))) tmp 485 arch/alpha/kernel/osf_sys.c devname = getname(tmp.devname); tmp 499 arch/alpha/kernel/osf_sys.c struct procfs_args tmp; tmp 501 arch/alpha/kernel/osf_sys.c if (copy_from_user(&tmp, args, sizeof(tmp))) tmp 532 arch/alpha/kernel/osf_sys.c char tmp[5 * 32]; tmp 535 arch/alpha/kernel/osf_sys.c memcpy(tmp + 0 * 32, utsname()->sysname, 32); tmp 536 arch/alpha/kernel/osf_sys.c memcpy(tmp + 1 * 32, utsname()->nodename, 32); tmp 537 arch/alpha/kernel/osf_sys.c memcpy(tmp + 2 * 32, utsname()->release, 32); tmp 538 arch/alpha/kernel/osf_sys.c memcpy(tmp + 3 * 32, utsname()->version, 32); tmp 539 arch/alpha/kernel/osf_sys.c memcpy(tmp + 4 * 32, utsname()->machine, 32); tmp 542 arch/alpha/kernel/osf_sys.c if (copy_to_user(name, tmp, sizeof(tmp))) tmp 564 arch/alpha/kernel/osf_sys.c char tmp[32]; tmp 573 arch/alpha/kernel/osf_sys.c memcpy(tmp, kname, len); tmp 576 arch/alpha/kernel/osf_sys.c if (copy_to_user(name, tmp, len)) tmp 740 arch/alpha/kernel/osf_sys.c char tmp[__NEW_UTS_LEN + 1]; tmp 754 arch/alpha/kernel/osf_sys.c memcpy(tmp, res, len); tmp 756 arch/alpha/kernel/osf_sys.c if (copy_to_user(buf, tmp, len)) tmp 1203 arch/alpha/kernel/osf_sys.c struct timespec64 tmp; tmp 1206 arch/alpha/kernel/osf_sys.c if (get_tv32(&tmp, sleep)) tmp 1209 arch/alpha/kernel/osf_sys.c ticks = timespec64_to_jiffies(&tmp); tmp 1214 arch/alpha/kernel/osf_sys.c jiffies_to_timespec64(ticks, &tmp); tmp 1215 arch/alpha/kernel/osf_sys.c if (put_tv32(remain, &tmp)) tmp 212 arch/alpha/kernel/pci.c struct pdev_srm_saved_conf *tmp; tmp 223 arch/alpha/kernel/pci.c tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); tmp 224 arch/alpha/kernel/pci.c if (!tmp) { tmp 228 arch/alpha/kernel/pci.c tmp->next = srm_saved_configs; tmp 229 arch/alpha/kernel/pci.c tmp->dev = dev; tmp 233 arch/alpha/kernel/pci.c srm_saved_configs = tmp; tmp 239 arch/alpha/kernel/pci.c struct pdev_srm_saved_conf *tmp; tmp 246 arch/alpha/kernel/pci.c for (tmp = srm_saved_configs; tmp; tmp = tmp->next) { tmp 247 arch/alpha/kernel/pci.c pci_restore_state(tmp->dev); tmp 280 arch/alpha/kernel/ptrace.c unsigned long tmp; tmp 288 arch/alpha/kernel/ptrace.c copied = ptrace_access_vm(child, addr, &tmp, sizeof(tmp), tmp 291 arch/alpha/kernel/ptrace.c if (copied != sizeof(tmp)) tmp 295 arch/alpha/kernel/ptrace.c ret = tmp; tmp 1220 arch/alpha/kernel/setup.c long nloads = size / stride, cnt, tmp; tmp 1235 arch/alpha/kernel/setup.c : "=&r" (cnt), "=&r" (nloads), "=&r" (addr), "=&r" (tmp) tmp 198 arch/alpha/kernel/sys_sio.c int irq = COMMON_TABLE_LOOKUP, tmp; tmp 199 arch/alpha/kernel/sys_sio.c tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); tmp 201 arch/alpha/kernel/sys_sio.c irq = irq >= 0 ? tmp : -1; tmp 224 arch/alpha/kernel/sys_sio.c int irq = COMMON_TABLE_LOOKUP, tmp; tmp 225 arch/alpha/kernel/sys_sio.c tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); tmp 226 arch/alpha/kernel/sys_sio.c return irq >= 0 ? tmp : -1; tmp 130 arch/alpha/kernel/traps.c unsigned long tmp = *sp; tmp 132 arch/alpha/kernel/traps.c if (tmp < (unsigned long) &_stext) tmp 134 arch/alpha/kernel/traps.c if (tmp >= (unsigned long) &_etext) tmp 136 arch/alpha/kernel/traps.c printk("[<%lx>] %pSR\n", tmp, (void *)tmp); tmp 118 arch/alpha/lib/csum_partial_copy.c unsigned long word, tmp; tmp 120 arch/alpha/lib/csum_partial_copy.c tmp = *dst; tmp 123 arch/alpha/lib/csum_partial_copy.c mskqh(tmp, len, tmp); tmp 125 arch/alpha/lib/csum_partial_copy.c *dst = word | tmp; tmp 169 arch/alpha/lib/csum_partial_copy.c unsigned long tmp; tmp 172 arch/alpha/lib/csum_partial_copy.c tmp = *dst; tmp 178 arch/alpha/lib/csum_partial_copy.c mskqh(tmp, len, tmp); tmp 180 arch/alpha/lib/csum_partial_copy.c *dst = word | tmp; tmp 81 arch/alpha/lib/memcpy.c unsigned long tmp; tmp 88 arch/alpha/lib/memcpy.c :"=r" (tmp) tmp 91 arch/alpha/lib/memcpy.c *(unsigned long *) d = low_word | tmp; tmp 124 arch/alpha/lib/memcpy.c unsigned long tmp; tmp 125 arch/alpha/lib/memcpy.c __asm__("ldq %0,%1":"=r" (tmp):"m" (*(unsigned long *) s)); tmp 128 arch/alpha/lib/memcpy.c *(unsigned long *) d = tmp; tmp 142 arch/alpha/lib/memcpy.c unsigned long tmp; tmp 144 arch/alpha/lib/memcpy.c __asm__("ldq %0,%1":"=r" (tmp):"m" (*(unsigned long *) s)); tmp 147 arch/alpha/lib/memcpy.c *(unsigned long *) d = tmp; tmp 25 arch/alpha/lib/udelay.c int tmp; tmp 32 arch/alpha/lib/udelay.c : "=&r" (tmp), "=r" (loops) : "1"(loops)); tmp 41 arch/arc/include/asm/checksum.h unsigned int tmp, tmp2, sum; tmp 58 arch/arc/include/asm/checksum.h : "=&r"(sum), "=r"(tmp), "=&r"(tmp2), "+&r" (ptr) tmp 252 arch/arc/include/asm/entry.h .macro SET_CURR_TASK_ON_CPU tsk, tmp tmp 269 arch/arc/include/asm/entry.h .macro SET_CURR_TASK_ON_CPU tsk, tmp tmp 181 arch/arc/include/asm/uaccess.h unsigned char tmp; tmp 205 arch/arc/include/asm/uaccess.h "=&r" (tmp), "+r" (to), "+r" (from) tmp 408 arch/arc/include/asm/uaccess.h unsigned char tmp; tmp 431 arch/arc/include/asm/uaccess.h "=&r" (tmp), "+r" (to), "+r" (from) tmp 27 arch/arc/include/uapi/asm/swab.h unsigned int tmp = x; \ tmp 30 arch/arc/include/uapi/asm/swab.h : "=r" (tmp) \ tmp 31 arch/arc/include/uapi/asm/swab.h : "r" (tmp)); \ tmp 32 arch/arc/include/uapi/asm/swab.h tmp; \ tmp 82 arch/arc/include/uapi/asm/swab.h unsigned int tmp = x; \ tmp 86 arch/arc/include/uapi/asm/swab.h : "=r" (tmp) \ tmp 87 arch/arc/include/uapi/asm/swab.h : "r" (tmp)); \ tmp 88 arch/arc/include/uapi/asm/swab.h tmp; \ tmp 26 arch/arc/kernel/ctx_sw.c unsigned int tmp; tmp 116 arch/arc/kernel/ctx_sw.c : "=r"(tmp) tmp 124 arch/arc/kernel/ctx_sw.c return (struct task_struct *)tmp; tmp 31 arch/arc/kernel/intc-arcv2.c unsigned int tmp, irq_prio, i; tmp 93 arch/arc/kernel/intc-arcv2.c tmp = read_aux_reg(ARC_REG_STATUS32); tmp 94 arch/arc/kernel/intc-arcv2.c tmp |= ARCV2_IRQ_DEF_PRIO << 1; tmp 95 arch/arc/kernel/intc-arcv2.c tmp &= ~STATUS_IE_MASK; tmp 96 arch/arc/kernel/intc-arcv2.c asm volatile("kflag %0 \n"::"r"(tmp)); tmp 401 arch/arc/kernel/kprobes.c struct hlist_node *tmp; tmp 421 arch/arc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 447 arch/arc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 102 arch/arc/kernel/perf_event.c u32 tmp; tmp 110 arch/arc/kernel/perf_event.c tmp = read_aux_reg(ARC_REG_PCT_CONTROL); tmp 111 arch/arc/kernel/perf_event.c write_aux_reg(ARC_REG_PCT_CONTROL, tmp | ARC_REG_PCT_CONTROL_SN); tmp 230 arch/arc/kernel/perf_event.c u32 tmp; tmp 231 arch/arc/kernel/perf_event.c tmp = read_aux_reg(ARC_REG_PCT_CONTROL); tmp 232 arch/arc/kernel/perf_event.c write_aux_reg(ARC_REG_PCT_CONTROL, (tmp & 0xffff0000) | 0x1); tmp 238 arch/arc/kernel/perf_event.c u32 tmp; tmp 239 arch/arc/kernel/perf_event.c tmp = read_aux_reg(ARC_REG_PCT_CONTROL); tmp 240 arch/arc/kernel/perf_event.c write_aux_reg(ARC_REG_PCT_CONTROL, (tmp & 0xffff0000) | 0x0); tmp 15 arch/arc/kernel/ptrace.c struct callee_regs *tmp = (struct callee_regs *)tsk->thread.callee_reg; tmp 16 arch/arc/kernel/ptrace.c return tmp; tmp 196 arch/arc/mm/init.c unsigned long tmp; tmp 199 arch/arc/mm/init.c for (tmp = min_high_pfn; tmp < max_high_pfn; tmp++) tmp 200 arch/arc/mm/init.c free_highmem_page(pfn_to_page(tmp)); tmp 729 arch/arc/mm/tlb.c unsigned int tmp; tmp 759 arch/arc/mm/tlb.c tmp = read_aux_reg(ARC_REG_MMU_BCR); tmp 760 arch/arc/mm/tlb.c mmu->ver = (tmp >> 24); tmp 764 arch/arc/mm/tlb.c mmu2 = (struct bcr_mmu_1_2 *)&tmp; tmp 771 arch/arc/mm/tlb.c mmu3 = (struct bcr_mmu_3 *)&tmp; tmp 780 arch/arc/mm/tlb.c mmu4 = (struct bcr_mmu_4 *)&tmp; tmp 338 arch/arm/include/asm/arch_gicv3.h u32 tmp; tmp 340 arch/arm/include/asm/arch_gicv3.h tmp = readl_relaxed(addr + 4); tmp 341 arch/arm/include/asm/arch_gicv3.h if (tmp & (GICR_VPENDBASER_Valid >> 32)) { tmp 342 arch/arm/include/asm/arch_gicv3.h tmp &= ~(GICR_VPENDBASER_Valid >> 32); tmp 343 arch/arm/include/asm/arch_gicv3.h writel_relaxed(tmp, addr + 4); tmp 216 arch/arm/include/asm/assembler.h .macro inc_preempt_count, ti, tmp tmp 222 arch/arm/include/asm/assembler.h .macro dec_preempt_count, ti, tmp tmp 228 arch/arm/include/asm/assembler.h .macro dec_preempt_count_ti, ti, tmp tmp 233 arch/arm/include/asm/assembler.h .macro inc_preempt_count, ti, tmp tmp 236 arch/arm/include/asm/assembler.h .macro dec_preempt_count, ti, tmp tmp 239 arch/arm/include/asm/assembler.h .macro dec_preempt_count_ti, ti, tmp tmp 41 arch/arm/include/asm/atomic.h unsigned long tmp; \ tmp 51 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) \ tmp 59 arch/arm/include/asm/atomic.h unsigned long tmp; \ tmp 70 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) \ tmp 80 arch/arm/include/asm/atomic.h unsigned long tmp; \ tmp 91 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (val), "=&r" (tmp), "+Qo" (v->counter) \ tmp 133 arch/arm/include/asm/atomic.h unsigned long tmp; tmp 147 arch/arm/include/asm/atomic.h : "=&r" (oldval), "=&r" (newval), "=&r" (tmp), "+Qo" (v->counter) tmp 292 arch/arm/include/asm/atomic.h s64 tmp; tmp 300 arch/arm/include/asm/atomic.h : "=&r" (tmp), "=Qo" (v->counter) tmp 310 arch/arm/include/asm/atomic.h unsigned long tmp; \ tmp 320 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) \ tmp 330 arch/arm/include/asm/atomic.h unsigned long tmp; \ tmp 341 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) \ tmp 353 arch/arm/include/asm/atomic.h unsigned long tmp; \ tmp 364 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (val), "=&r" (tmp), "+Qo" (v->counter) \ tmp 432 arch/arm/include/asm/atomic.h unsigned long tmp; tmp 441 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (tmp), "+Qo" (ptr->counter) tmp 452 arch/arm/include/asm/atomic.h unsigned long tmp; tmp 467 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (tmp), "+Qo" (v->counter) tmp 480 arch/arm/include/asm/atomic.h unsigned long tmp; tmp 496 arch/arm/include/asm/atomic.h : "=&r" (oldval), "=&r" (newval), "=&r" (tmp), "+Qo" (v->counter) tmp 36 arch/arm/include/asm/cmpxchg.h unsigned int tmp; tmp 50 arch/arm/include/asm/cmpxchg.h : "=&r" (ret), "=&r" (tmp) tmp 60 arch/arm/include/asm/cmpxchg.h : "=&r" (ret), "=&r" (tmp) tmp 71 arch/arm/include/asm/cmpxchg.h : "=&r" (ret), "=&r" (tmp) tmp 78 arch/arm/include/asm/div64.h register unsigned int tmp asm("ip") = 0; tmp 98 arch/arm/include/asm/div64.h : "=&r" (res), "+&r" (tmp) tmp 118 arch/arm/include/asm/div64.h : "+&r" (res), "+&r" (tmp) tmp 25 arch/arm/include/asm/futex.h #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ tmp 39 arch/arm/include/asm/futex.h : "=&r" (ret), "=&r" (oldval), "=&r" (tmp) \ tmp 84 arch/arm/include/asm/futex.h #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ tmp 93 arch/arm/include/asm/futex.h : "=&r" (ret), "=&r" (oldval), "=&r" (tmp) \ tmp 135 arch/arm/include/asm/futex.h int oldval = 0, ret, tmp; tmp 144 arch/arm/include/asm/futex.h __futex_atomic_op("mov %0, %4", ret, oldval, tmp, uaddr, oparg); tmp 147 arch/arm/include/asm/futex.h __futex_atomic_op("add %0, %1, %4", ret, oldval, tmp, uaddr, oparg); tmp 150 arch/arm/include/asm/futex.h __futex_atomic_op("orr %0, %1, %4", ret, oldval, tmp, uaddr, oparg); tmp 153 arch/arm/include/asm/futex.h __futex_atomic_op("and %0, %1, %4", ret, oldval, tmp, uaddr, ~oparg); tmp 156 arch/arm/include/asm/futex.h __futex_atomic_op("eor %0, %1, %4", ret, oldval, tmp, uaddr, oparg); tmp 58 arch/arm/include/asm/spinlock.h unsigned long tmp; tmp 69 arch/arm/include/asm/spinlock.h : "=&r" (lockval), "=&r" (newval), "=&r" (tmp) tmp 141 arch/arm/include/asm/spinlock.h unsigned long tmp; tmp 151 arch/arm/include/asm/spinlock.h : "=&r" (tmp) tmp 209 arch/arm/include/asm/spinlock.h unsigned long tmp, tmp2; tmp 220 arch/arm/include/asm/spinlock.h : "=&r" (tmp), "=&r" (tmp2) tmp 229 arch/arm/include/asm/spinlock.h unsigned long tmp, tmp2; tmp 240 arch/arm/include/asm/spinlock.h : "=&r" (tmp), "=&r" (tmp2) tmp 244 arch/arm/include/asm/spinlock.h if (tmp == 0) tmp 19 arch/arm/include/asm/uaccess-asm.h .macro check_uaccess, addr:req, size:req, limit:req, tmp:req, bad:req tmp 31 arch/arm/include/asm/uaccess-asm.h .macro uaccess_mask_range_ptr, addr:req, size:req, limit:req, tmp:req tmp 34 arch/arm/include/asm/uaccess-asm.h subs \tmp, \tmp, \addr @ tmp = limit - 1 - addr tmp 35 arch/arm/include/asm/uaccess-asm.h addhs \tmp, \tmp, #1 @ if (tmp >= 0) { tmp 36 arch/arm/include/asm/uaccess-asm.h subshs \tmp, \tmp, \size @ tmp = limit - (addr + size) } tmp 37 arch/arm/include/asm/uaccess-asm.h movlo \addr, #0 @ if (tmp < 0) addr = NULL tmp 42 arch/arm/include/asm/uaccess-asm.h .macro uaccess_disable, tmp, isb=1 tmp 56 arch/arm/include/asm/uaccess-asm.h .macro uaccess_enable, tmp, isb=1 tmp 109 arch/arm/include/asm/uaccess.h unsigned long tmp; tmp 118 arch/arm/include/asm/uaccess.h : "+r" (safe_ptr), "=&r" (tmp) tmp 21 arch/arm/include/asm/vfpmacros.h .macro VFPFLDMIA, base, tmp tmp 45 arch/arm/include/asm/vfpmacros.h .macro VFPFSTMIA, base, tmp tmp 80 arch/arm/kernel/module.c u32 tmp; tmp 184 arch/arm/kernel/module.c offset = tmp = __mem_to_opcode_arm(*(u32 *)loc); tmp 192 arch/arm/kernel/module.c tmp &= 0xfff0f000; tmp 193 arch/arm/kernel/module.c tmp |= ((offset & 0xf000) << 4) | tmp 196 arch/arm/kernel/module.c *(u32 *)loc = __opcode_to_mem_arm(tmp); tmp 254 arch/arm/kernel/ptrace.c unsigned long tmp; tmp 259 arch/arm/kernel/ptrace.c tmp = 0; tmp 261 arch/arm/kernel/ptrace.c tmp = tsk->mm->start_code; tmp 263 arch/arm/kernel/ptrace.c tmp = tsk->mm->start_data; tmp 265 arch/arm/kernel/ptrace.c tmp = tsk->mm->end_code; tmp 267 arch/arm/kernel/ptrace.c tmp = get_user_reg(tsk, off >> 2); tmp 271 arch/arm/kernel/ptrace.c return put_user(tmp, ret); tmp 118 arch/arm/kernel/sys_oabi-compat.c struct oldabi_stat64 tmp; tmp 120 arch/arm/kernel/sys_oabi-compat.c tmp.st_dev = huge_encode_dev(stat->dev); tmp 121 arch/arm/kernel/sys_oabi-compat.c tmp.__pad1 = 0; tmp 122 arch/arm/kernel/sys_oabi-compat.c tmp.__st_ino = stat->ino; tmp 123 arch/arm/kernel/sys_oabi-compat.c tmp.st_mode = stat->mode; tmp 124 arch/arm/kernel/sys_oabi-compat.c tmp.st_nlink = stat->nlink; tmp 125 arch/arm/kernel/sys_oabi-compat.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); tmp 126 arch/arm/kernel/sys_oabi-compat.c tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); tmp 127 arch/arm/kernel/sys_oabi-compat.c tmp.st_rdev = huge_encode_dev(stat->rdev); tmp 128 arch/arm/kernel/sys_oabi-compat.c tmp.st_size = stat->size; tmp 129 arch/arm/kernel/sys_oabi-compat.c tmp.st_blocks = stat->blocks; tmp 130 arch/arm/kernel/sys_oabi-compat.c tmp.__pad2 = 0; tmp 131 arch/arm/kernel/sys_oabi-compat.c tmp.st_blksize = stat->blksize; tmp 132 arch/arm/kernel/sys_oabi-compat.c tmp.st_atime = stat->atime.tv_sec; tmp 133 arch/arm/kernel/sys_oabi-compat.c tmp.st_atime_nsec = stat->atime.tv_nsec; tmp 134 arch/arm/kernel/sys_oabi-compat.c tmp.st_mtime = stat->mtime.tv_sec; tmp 135 arch/arm/kernel/sys_oabi-compat.c tmp.st_mtime_nsec = stat->mtime.tv_nsec; tmp 136 arch/arm/kernel/sys_oabi-compat.c tmp.st_ctime = stat->ctime.tv_sec; tmp 137 arch/arm/kernel/sys_oabi-compat.c tmp.st_ctime_nsec = stat->ctime.tv_nsec; tmp 138 arch/arm/kernel/sys_oabi-compat.c tmp.st_ino = stat->ino; tmp 139 arch/arm/kernel/sys_oabi-compat.c return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; tmp 124 arch/arm/kvm/hyp/switch.c u64 par, tmp; tmp 130 arch/arm/kvm/hyp/switch.c tmp = read_sysreg(PAR); tmp 133 arch/arm/kvm/hyp/switch.c if (unlikely(tmp & 1)) tmp 136 arch/arm/kvm/hyp/switch.c hpfar = ((tmp >> 12) & ((1UL << 28) - 1)) << 4; tmp 35 arch/arm/mach-axxia/platsmp.c u32 tmp; tmp 45 arch/arm/mach-axxia/platsmp.c tmp = readl(syscon + SC_RST_CPU_HOLD); tmp 47 arch/arm/mach-axxia/platsmp.c tmp &= ~(1 << cpu); tmp 48 arch/arm/mach-axxia/platsmp.c writel(tmp, syscon + SC_RST_CPU_HOLD); tmp 112 arch/arm/mach-bcm/platsmp-brcmstb.c u32 tmp; tmp 115 arch/arm/mach-bcm/platsmp-brcmstb.c tmp = pwr_ctrl_rd(cpu) & mask; tmp 116 arch/arm/mach-bcm/platsmp-brcmstb.c if (!set == !tmp) tmp 120 arch/arm/mach-bcm/platsmp-brcmstb.c tmp = pwr_ctrl_rd(cpu) & mask; tmp 121 arch/arm/mach-bcm/platsmp-brcmstb.c if (!set == !tmp) tmp 186 arch/arm/mach-bcm/platsmp-brcmstb.c int tmp = pwr_ctrl_rd(cpu); tmp 187 arch/arm/mach-bcm/platsmp-brcmstb.c return (tmp & ZONE_RESET_STATE_MASK) ? 0 : 1; tmp 362 arch/arm/mach-cns3xxx/core.c u32 tmp; tmp 364 arch/arm/mach-cns3xxx/core.c tmp = __raw_readl(MISC_SATA_POWER_MODE); tmp 365 arch/arm/mach-cns3xxx/core.c tmp |= 0x1 << 16; /* Disable SATA PHY 0 from SLUMBER Mode */ tmp 366 arch/arm/mach-cns3xxx/core.c tmp |= 0x1 << 17; /* Disable SATA PHY 1 from SLUMBER Mode */ tmp 367 arch/arm/mach-cns3xxx/core.c __raw_writel(tmp, MISC_SATA_POWER_MODE); tmp 52 arch/arm/mach-cns3xxx/devices.c u32 tmp; tmp 54 arch/arm/mach-cns3xxx/devices.c tmp = __raw_readl(MISC_SATA_POWER_MODE); tmp 55 arch/arm/mach-cns3xxx/devices.c tmp |= 0x1 << 16; /* Disable SATA PHY 0 from SLUMBER Mode */ tmp 56 arch/arm/mach-cns3xxx/devices.c tmp |= 0x1 << 17; /* Disable SATA PHY 1 from SLUMBER Mode */ tmp 57 arch/arm/mach-cns3xxx/devices.c __raw_writel(tmp, MISC_SATA_POWER_MODE); tmp 106 arch/arm/mach-exynos/exynos.c unsigned int tmp, core_id; tmp 109 arch/arm/mach-exynos/exynos.c tmp = pmu_raw_readl(EXYNOS_ARM_CORE_OPTION(core_id)); tmp 111 arch/arm/mach-exynos/exynos.c tmp |= S5P_USE_DELAYED_RESET_ASSERTION; tmp 113 arch/arm/mach-exynos/exynos.c tmp &= ~(S5P_USE_DELAYED_RESET_ASSERTION); tmp 114 arch/arm/mach-exynos/exynos.c pmu_raw_writel(tmp, EXYNOS_ARM_CORE_OPTION(core_id)); tmp 235 arch/arm/mach-exynos/firmware.c unsigned int tmp; tmp 237 arch/arm/mach-exynos/firmware.c tmp = readl_relaxed(REG_CPU_STATE_ADDR + cpu * 4); tmp 240 arch/arm/mach-exynos/firmware.c tmp &= ~BOOT_MODE_MASK; tmp 242 arch/arm/mach-exynos/firmware.c tmp |= mode; tmp 243 arch/arm/mach-exynos/firmware.c writel_relaxed(tmp, REG_CPU_STATE_ADDR + cpu * 4); tmp 248 arch/arm/mach-exynos/firmware.c unsigned int tmp; tmp 250 arch/arm/mach-exynos/firmware.c tmp = readl_relaxed(REG_CPU_STATE_ADDR + cpu * 4); tmp 251 arch/arm/mach-exynos/firmware.c tmp &= ~mode; tmp 252 arch/arm/mach-exynos/firmware.c writel_relaxed(tmp, REG_CPU_STATE_ADDR + cpu * 4); tmp 52 arch/arm/mach-exynos/pm.c unsigned long tmp; tmp 56 arch/arm/mach-exynos/pm.c : "=r" (tmp) : : "cc"); tmp 58 arch/arm/mach-exynos/pm.c save_arm_register[0] = tmp; tmp 62 arch/arm/mach-exynos/pm.c : "=r" (tmp) : : "cc"); tmp 64 arch/arm/mach-exynos/pm.c save_arm_register[1] = tmp; tmp 69 arch/arm/mach-exynos/pm.c unsigned long tmp; tmp 72 arch/arm/mach-exynos/pm.c tmp = save_arm_register[0]; tmp 75 arch/arm/mach-exynos/pm.c : : "r" (tmp) tmp 79 arch/arm/mach-exynos/pm.c tmp = save_arm_register[1]; tmp 82 arch/arm/mach-exynos/pm.c : : "r" (tmp) tmp 88 arch/arm/mach-exynos/pm.c unsigned long tmp; tmp 91 arch/arm/mach-exynos/pm.c tmp = pmu_raw_readl(S5P_CENTRAL_SEQ_CONFIGURATION); tmp 92 arch/arm/mach-exynos/pm.c tmp &= ~S5P_CENTRAL_LOWPWR_CFG; tmp 93 arch/arm/mach-exynos/pm.c pmu_raw_writel(tmp, S5P_CENTRAL_SEQ_CONFIGURATION); tmp 98 arch/arm/mach-exynos/pm.c unsigned long tmp; tmp 106 arch/arm/mach-exynos/pm.c tmp = pmu_raw_readl(S5P_CENTRAL_SEQ_CONFIGURATION); tmp 107 arch/arm/mach-exynos/pm.c if (!(tmp & S5P_CENTRAL_LOWPWR_CFG)) { tmp 108 arch/arm/mach-exynos/pm.c tmp |= S5P_CENTRAL_LOWPWR_CFG; tmp 109 arch/arm/mach-exynos/pm.c pmu_raw_writel(tmp, S5P_CENTRAL_SEQ_CONFIGURATION); tmp 313 arch/arm/mach-exynos/suspend.c unsigned int tmp; tmp 318 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS3_ARM_L2_OPTION); tmp 319 arch/arm/mach-exynos/suspend.c tmp &= ~EXYNOS5_OPTION_USE_RETENTION; tmp 320 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS3_ARM_L2_OPTION); tmp 330 arch/arm/mach-exynos/suspend.c unsigned int tmp; tmp 357 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS_L2_OPTION(0)); tmp 358 arch/arm/mach-exynos/suspend.c tmp &= ~EXYNOS_L2_USE_RETENTION; tmp 359 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS_L2_OPTION(0)); tmp 361 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS5420_SFR_AXI_CGDIS1); tmp 362 arch/arm/mach-exynos/suspend.c tmp |= EXYNOS5420_UFS; tmp 363 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS5420_SFR_AXI_CGDIS1); tmp 365 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS5420_ARM_COMMON_OPTION); tmp 366 arch/arm/mach-exynos/suspend.c tmp &= ~EXYNOS5420_L2RSTDISABLE_VALUE; tmp 367 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS5420_ARM_COMMON_OPTION); tmp 369 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS5420_FSYS2_OPTION); tmp 370 arch/arm/mach-exynos/suspend.c tmp |= EXYNOS5420_EMULATION; tmp 371 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS5420_FSYS2_OPTION); tmp 373 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS5420_PSGEN_OPTION); tmp 374 arch/arm/mach-exynos/suspend.c tmp |= EXYNOS5420_EMULATION; tmp 375 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS5420_PSGEN_OPTION); tmp 478 arch/arm/mach-exynos/suspend.c unsigned long tmp; tmp 481 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS5_ARM_CORE0_SYS_PWR_REG); tmp 482 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp | S5P_CORE_LOCAL_PWR_EN, tmp 504 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS5420_SFR_AXI_CGDIS1); tmp 505 arch/arm/mach-exynos/suspend.c tmp &= ~EXYNOS5420_UFS; tmp 506 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS5420_SFR_AXI_CGDIS1); tmp 508 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS5420_FSYS2_OPTION); tmp 509 arch/arm/mach-exynos/suspend.c tmp &= ~EXYNOS5420_EMULATION; tmp 510 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS5420_FSYS2_OPTION); tmp 512 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(EXYNOS5420_PSGEN_OPTION); tmp 513 arch/arm/mach-exynos/suspend.c tmp &= ~EXYNOS5420_EMULATION; tmp 514 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, EXYNOS5420_PSGEN_OPTION); tmp 662 arch/arm/mach-exynos/suspend.c u32 tmp; tmp 680 arch/arm/mach-exynos/suspend.c tmp = pmu_raw_readl(S5P_WAKEUP_MASK); tmp 681 arch/arm/mach-exynos/suspend.c tmp |= pm_data->wake_disable_mask; tmp 682 arch/arm/mach-exynos/suspend.c pmu_raw_writel(tmp, S5P_WAKEUP_MASK); tmp 100 arch/arm/mach-imx/mach-kzm_arm11_01.c u8 tmp; tmp 112 arch/arm/mach-imx/mach-kzm_arm11_01.c tmp = __raw_readb(KZM_ARM11_IO_ADDRESS(KZM_ARM11_CTL1)); tmp 113 arch/arm/mach-imx/mach-kzm_arm11_01.c tmp |= 0x2; tmp 114 arch/arm/mach-imx/mach-kzm_arm11_01.c __raw_writeb(tmp, KZM_ARM11_IO_ADDRESS(KZM_ARM11_CTL1)); tmp 67 arch/arm/mach-lpc32xx/common.c u32 tmp = __raw_readl(LPC32XX_CLKPWR_MACCLK_CTRL); tmp 68 arch/arm/mach-lpc32xx/common.c tmp &= ~LPC32XX_CLKPWR_MACCTRL_PINS_MSK; tmp 70 arch/arm/mach-lpc32xx/common.c tmp |= LPC32XX_CLKPWR_MACCTRL_USE_MII_PINS; tmp 72 arch/arm/mach-lpc32xx/common.c tmp |= LPC32XX_CLKPWR_MACCTRL_USE_RMII_PINS; tmp 73 arch/arm/mach-lpc32xx/common.c __raw_writel(tmp, LPC32XX_CLKPWR_MACCLK_CTRL); tmp 66 arch/arm/mach-lpc32xx/serial.c u32 tmp; tmp 83 arch/arm/mach-lpc32xx/serial.c tmp = readl(LPC32XX_UARTCTL_CLOOP); tmp 85 arch/arm/mach-lpc32xx/serial.c tmp |= (1 << bit); tmp 87 arch/arm/mach-lpc32xx/serial.c tmp &= ~(1 << bit); tmp 88 arch/arm/mach-lpc32xx/serial.c writel(tmp, LPC32XX_UARTCTL_CLOOP); tmp 94 arch/arm/mach-lpc32xx/serial.c u32 tmp, clkmodes = 0; tmp 120 arch/arm/mach-lpc32xx/serial.c tmp = __raw_readl( tmp 134 arch/arm/mach-lpc32xx/serial.c tmp = __raw_readl(LPC32XX_UART_DLL_FIFO(puart)); tmp 139 arch/arm/mach-lpc32xx/serial.c tmp = __raw_readl(LPC32XX_UARTCTL_CTRL); tmp 140 arch/arm/mach-lpc32xx/serial.c tmp |= LPC32XX_UART_UART6_IRDAMOD_BYPASS; tmp 141 arch/arm/mach-lpc32xx/serial.c __raw_writel(tmp, LPC32XX_UARTCTL_CTRL); tmp 144 arch/arm/mach-lpc32xx/serial.c tmp = __raw_readl(LPC32XX_UARTCTL_CTRL); tmp 145 arch/arm/mach-lpc32xx/serial.c tmp &= ~LPC32XX_UART_U5_ROUTE_TO_USB; tmp 146 arch/arm/mach-lpc32xx/serial.c __raw_writel(tmp, LPC32XX_UARTCTL_CTRL); tmp 369 arch/arm/mach-omap2/cm2xxx.c u32 tmp; tmp 374 arch/arm/mach-omap2/cm2xxx.c tmp = omap2_cm_read_mod_reg(CORE_MOD, CM_CLKSEL1) & tmp 376 arch/arm/mach-omap2/cm2xxx.c omap2_cm_write_mod_reg(core | tmp, CORE_MOD, CM_CLKSEL1); tmp 173 arch/arm/mach-omap2/control.c u32 tmp; tmp 176 arch/arm/mach-omap2/control.c tmp = omap_ctrl_readl(offset); tmp 178 arch/arm/mach-omap2/control.c tmp &= 0xffffffff ^ (0xff << (byte_offset * 8)); tmp 179 arch/arm/mach-omap2/control.c tmp |= val << (byte_offset * 8); tmp 181 arch/arm/mach-omap2/control.c omap_ctrl_writel(tmp, offset); tmp 186 arch/arm/mach-omap2/control.c u32 tmp; tmp 189 arch/arm/mach-omap2/control.c tmp = omap_ctrl_readl(offset); tmp 191 arch/arm/mach-omap2/control.c tmp &= 0xffffffff ^ (0xffff << (byte_offset * 8)); tmp 192 arch/arm/mach-omap2/control.c tmp |= val << (byte_offset * 8); tmp 194 arch/arm/mach-omap2/control.c omap_ctrl_writel(tmp, offset); tmp 452 arch/arm/mach-omap2/pm34xx.c struct power_state *pwrst, *tmp; tmp 561 arch/arm/mach-omap2/pm34xx.c list_for_each_entry_safe(pwrst, tmp, &pwrst_list, node) { tmp 375 arch/arm/mach-orion5x/ts78xx-setup.c int tmp, ret = 0; tmp 378 arch/arm/mach-orion5x/ts78xx-setup.c tmp = ts78xx_ts_rtc_load(); tmp 379 arch/arm/mach-orion5x/ts78xx-setup.c if (tmp) tmp 381 arch/arm/mach-orion5x/ts78xx-setup.c ret |= tmp; tmp 384 arch/arm/mach-orion5x/ts78xx-setup.c tmp = ts78xx_ts_nand_load(); tmp 385 arch/arm/mach-orion5x/ts78xx-setup.c if (tmp) tmp 387 arch/arm/mach-orion5x/ts78xx-setup.c ret |= tmp; tmp 390 arch/arm/mach-orion5x/ts78xx-setup.c tmp = ts78xx_ts_rng_load(); tmp 391 arch/arm/mach-orion5x/ts78xx-setup.c if (tmp) tmp 393 arch/arm/mach-orion5x/ts78xx-setup.c ret |= tmp; tmp 847 arch/arm/mach-pxa/eseries.c unsigned long tmp; tmp 849 arch/arm/mach-pxa/eseries.c tmp = w100fb_gpio_read(W100_GPIO_PORT_A); tmp 851 arch/arm/mach-pxa/eseries.c tmp |= 0x100; tmp 853 arch/arm/mach-pxa/eseries.c tmp &= ~0x100; tmp 854 arch/arm/mach-pxa/eseries.c w100fb_gpio_write(W100_GPIO_PORT_A, tmp); tmp 175 arch/arm/mach-s3c24xx/common.c unsigned long tmp = 0; tmp 189 arch/arm/mach-s3c24xx/common.c tmp += __raw_readl(S3C2410_CLKCON); /* ensure loop not optimised out */ tmp 18 arch/arm/mach-s3c24xx/include/mach/pm-core.h unsigned long tmp = __raw_readl(S3C2410_CLKCON); tmp 21 arch/arm/mach-s3c24xx/include/mach/pm-core.h tmp |= S3C2410_CLKCON_UART0; tmp 22 arch/arm/mach-s3c24xx/include/mach/pm-core.h tmp |= S3C2410_CLKCON_UART1; tmp 23 arch/arm/mach-s3c24xx/include/mach/pm-core.h tmp |= S3C2410_CLKCON_UART2; tmp 25 arch/arm/mach-s3c24xx/include/mach/pm-core.h __raw_writel(tmp, S3C2410_CLKCON); tmp 459 arch/arm/mach-s3c24xx/iotiming-s3c2410.c unsigned long tmp = S3C2410_BWSCON_GET(bwscon, bank); tmp 460 arch/arm/mach-s3c24xx/iotiming-s3c2410.c if (tmp & S3C2410_BWSCON_WS) tmp 198 arch/arm/mach-s3c24xx/mach-anubis.c unsigned int tmp; tmp 205 arch/arm/mach-s3c24xx/mach-anubis.c tmp = __raw_readb(ANUBIS_VA_CTRL1); tmp 206 arch/arm/mach-s3c24xx/mach-anubis.c tmp &= ~ANUBIS_CTRL1_NANDSEL; tmp 207 arch/arm/mach-s3c24xx/mach-anubis.c tmp |= slot; tmp 209 arch/arm/mach-s3c24xx/mach-anubis.c pr_debug("anubis_nand: ctrl1 now %02x\n", tmp); tmp 211 arch/arm/mach-s3c24xx/mach-anubis.c __raw_writeb(tmp, ANUBIS_VA_CTRL1); tmp 273 arch/arm/mach-s3c24xx/mach-bast.c unsigned int tmp; tmp 280 arch/arm/mach-s3c24xx/mach-bast.c tmp = __raw_readb(BAST_VA_CTRL2); tmp 281 arch/arm/mach-s3c24xx/mach-bast.c tmp &= BAST_CPLD_CTLR2_IDERST; tmp 282 arch/arm/mach-s3c24xx/mach-bast.c tmp |= slot; tmp 283 arch/arm/mach-s3c24xx/mach-bast.c tmp |= BAST_CPLD_CTRL2_WNAND; tmp 285 arch/arm/mach-s3c24xx/mach-bast.c pr_debug("bast_nand: ctrl2 now %02x\n", tmp); tmp 287 arch/arm/mach-s3c24xx/mach-bast.c __raw_writeb(tmp, BAST_VA_CTRL2); tmp 690 arch/arm/mach-s3c24xx/mach-h1940.c u32 tmp; tmp 706 arch/arm/mach-s3c24xx/mach-h1940.c tmp = (0x78 << S3C24XX_PLL_MDIV_SHIFT) tmp 709 arch/arm/mach-s3c24xx/mach-h1940.c writel(tmp, S3C2410_UPLLCON); tmp 214 arch/arm/mach-s3c24xx/mach-osiris.c unsigned int tmp; tmp 221 arch/arm/mach-s3c24xx/mach-osiris.c tmp = __raw_readb(OSIRIS_VA_CTRL0); tmp 222 arch/arm/mach-s3c24xx/mach-osiris.c tmp &= ~OSIRIS_CTRL0_NANDSEL; tmp 223 arch/arm/mach-s3c24xx/mach-osiris.c tmp |= slot; tmp 225 arch/arm/mach-s3c24xx/mach-osiris.c pr_debug("osiris_nand: ctrl0 now %02x\n", tmp); tmp 227 arch/arm/mach-s3c24xx/mach-osiris.c __raw_writeb(tmp, OSIRIS_VA_CTRL0); tmp 261 arch/arm/mach-s3c24xx/mach-osiris.c unsigned int tmp; tmp 264 arch/arm/mach-s3c24xx/mach-osiris.c tmp = pm_osiris_ctrl0 & ~OSIRIS_CTRL0_NANDSEL; tmp 268 arch/arm/mach-s3c24xx/mach-osiris.c tmp |= 2; tmp 270 arch/arm/mach-s3c24xx/mach-osiris.c __raw_writeb(tmp, OSIRIS_VA_CTRL0); tmp 87 arch/arm/mach-s3c24xx/pm-s3c2410.c unsigned long tmp; tmp 91 arch/arm/mach-s3c24xx/pm-s3c2410.c tmp = __raw_readl(S3C2410_GSTATUS2); tmp 92 arch/arm/mach-s3c24xx/pm-s3c2410.c tmp &= S3C2410_GSTATUS2_OFFRESET; tmp 93 arch/arm/mach-s3c24xx/pm-s3c2410.c __raw_writel(tmp, S3C2410_GSTATUS2); tmp 36 arch/arm/mach-s3c24xx/pm-s3c2412.c unsigned long tmp; tmp 40 arch/arm/mach-s3c24xx/pm-s3c2412.c tmp = __raw_readl(S3C2412_PWRCFG); tmp 41 arch/arm/mach-s3c24xx/pm-s3c2412.c tmp |= S3C2412_PWRCFG_STANDBYWFI_SLEEP; tmp 42 arch/arm/mach-s3c24xx/pm-s3c2412.c __raw_writel(tmp, S3C2412_PWRCFG); tmp 113 arch/arm/mach-s3c24xx/pm-s3c2412.c unsigned long tmp; tmp 115 arch/arm/mach-s3c24xx/pm-s3c2412.c tmp = __raw_readl(S3C2412_PWRCFG); tmp 116 arch/arm/mach-s3c24xx/pm-s3c2412.c tmp &= ~S3C2412_PWRCFG_STANDBYWFI_MASK; tmp 117 arch/arm/mach-s3c24xx/pm-s3c2412.c tmp |= S3C2412_PWRCFG_STANDBYWFI_IDLE; tmp 118 arch/arm/mach-s3c24xx/pm-s3c2412.c __raw_writel(tmp, S3C2412_PWRCFG); tmp 112 arch/arm/mach-s3c24xx/s3c2412.c unsigned long tmp; tmp 116 arch/arm/mach-s3c24xx/s3c2412.c tmp = __raw_readl(S3C2412_PWRCFG); tmp 117 arch/arm/mach-s3c24xx/s3c2412.c tmp &= ~S3C2412_PWRCFG_STANDBYWFI_MASK; tmp 118 arch/arm/mach-s3c24xx/s3c2412.c tmp |= S3C2412_PWRCFG_STANDBYWFI_IDLE; tmp 119 arch/arm/mach-s3c24xx/s3c2412.c __raw_writel(tmp, S3C2412_PWRCFG); tmp 28 arch/arm/mach-s3c24xx/simtec-audio.c unsigned int tmp; tmp 33 arch/arm/mach-s3c24xx/simtec-audio.c tmp = __raw_readb(BAST_VA_CTRL1); tmp 34 arch/arm/mach-s3c24xx/simtec-audio.c tmp &= ~BAST_CPLD_CTRL1_LRMASK; tmp 35 arch/arm/mach-s3c24xx/simtec-audio.c tmp |= BAST_CPLD_CTRL1_LRCDAC; tmp 36 arch/arm/mach-s3c24xx/simtec-audio.c __raw_writeb(tmp, BAST_VA_CTRL1); tmp 26 arch/arm/mach-s3c64xx/cpuidle.c unsigned long tmp; tmp 29 arch/arm/mach-s3c64xx/cpuidle.c tmp = __raw_readl(S3C64XX_PWR_CFG); tmp 30 arch/arm/mach-s3c64xx/cpuidle.c tmp &= ~S3C64XX_PWRCFG_CFG_WFI_MASK; tmp 31 arch/arm/mach-s3c64xx/cpuidle.c tmp |= S3C64XX_PWRCFG_CFG_WFI_IDLE; tmp 32 arch/arm/mach-s3c64xx/cpuidle.c __raw_writel(tmp, S3C64XX_PWR_CFG); tmp 23 arch/arm/mach-s3c64xx/include/mach/pm-core.h u32 tmp = __raw_readl(S3C_PCLK_GATE); tmp 31 arch/arm/mach-s3c64xx/include/mach/pm-core.h tmp |= S3C_CLKCON_PCLK_UART0; tmp 32 arch/arm/mach-s3c64xx/include/mach/pm-core.h tmp |= S3C_CLKCON_PCLK_UART1; tmp 33 arch/arm/mach-s3c64xx/include/mach/pm-core.h tmp |= S3C_CLKCON_PCLK_UART2; tmp 34 arch/arm/mach-s3c64xx/include/mach/pm-core.h tmp |= S3C_CLKCON_PCLK_UART3; tmp 36 arch/arm/mach-s3c64xx/include/mach/pm-core.h __raw_writel(tmp, S3C_PCLK_GATE); tmp 86 arch/arm/mach-s3c64xx/mach-anw6410.c u32 tmp; tmp 89 arch/arm/mach-s3c64xx/mach-anw6410.c tmp = __raw_readl(S3C64XX_SPCON); tmp 90 arch/arm/mach-s3c64xx/mach-anw6410.c tmp &= ~S3C64XX_SPCON_LCD_SEL_MASK; tmp 91 arch/arm/mach-s3c64xx/mach-anw6410.c tmp |= S3C64XX_SPCON_LCD_SEL_RGB; tmp 92 arch/arm/mach-s3c64xx/mach-anw6410.c __raw_writel(tmp, S3C64XX_SPCON); tmp 95 arch/arm/mach-s3c64xx/mach-anw6410.c tmp = __raw_readl(S3C64XX_MODEM_MIFPCON); tmp 96 arch/arm/mach-s3c64xx/mach-anw6410.c tmp &= ~MIFPCON_LCD_BYPASS; tmp 97 arch/arm/mach-s3c64xx/mach-anw6410.c __raw_writel(tmp, S3C64XX_MODEM_MIFPCON); tmp 236 arch/arm/mach-s3c64xx/mach-mini6410.c u32 tmp; tmp 244 arch/arm/mach-s3c64xx/mach-mini6410.c tmp = __raw_readl(S3C64XX_SPCON); tmp 245 arch/arm/mach-s3c64xx/mach-mini6410.c tmp &= ~S3C64XX_SPCON_LCD_SEL_MASK; tmp 246 arch/arm/mach-s3c64xx/mach-mini6410.c tmp |= S3C64XX_SPCON_LCD_SEL_RGB; tmp 247 arch/arm/mach-s3c64xx/mach-mini6410.c __raw_writel(tmp, S3C64XX_SPCON); tmp 250 arch/arm/mach-s3c64xx/mach-mini6410.c tmp = __raw_readl(S3C64XX_MODEM_MIFPCON); tmp 251 arch/arm/mach-s3c64xx/mach-mini6410.c tmp &= ~MIFPCON_LCD_BYPASS; tmp 252 arch/arm/mach-s3c64xx/mach-mini6410.c __raw_writel(tmp, S3C64XX_MODEM_MIFPCON); tmp 206 arch/arm/mach-s3c64xx/mach-real6410.c u32 tmp; tmp 214 arch/arm/mach-s3c64xx/mach-real6410.c tmp = __raw_readl(S3C64XX_SPCON); tmp 215 arch/arm/mach-s3c64xx/mach-real6410.c tmp &= ~S3C64XX_SPCON_LCD_SEL_MASK; tmp 216 arch/arm/mach-s3c64xx/mach-real6410.c tmp |= S3C64XX_SPCON_LCD_SEL_RGB; tmp 217 arch/arm/mach-s3c64xx/mach-real6410.c __raw_writel(tmp, S3C64XX_SPCON); tmp 220 arch/arm/mach-s3c64xx/mach-real6410.c tmp = __raw_readl(S3C64XX_MODEM_MIFPCON); tmp 221 arch/arm/mach-s3c64xx/mach-real6410.c tmp &= ~MIFPCON_LCD_BYPASS; tmp 222 arch/arm/mach-s3c64xx/mach-real6410.c __raw_writel(tmp, S3C64XX_MODEM_MIFPCON); tmp 273 arch/arm/mach-s3c64xx/mach-smartq.c u32 tmp; tmp 276 arch/arm/mach-s3c64xx/mach-smartq.c tmp = __raw_readl(S3C64XX_SPCON); tmp 277 arch/arm/mach-s3c64xx/mach-smartq.c tmp &= ~S3C64XX_SPCON_LCD_SEL_MASK; tmp 278 arch/arm/mach-s3c64xx/mach-smartq.c tmp |= S3C64XX_SPCON_LCD_SEL_RGB; tmp 279 arch/arm/mach-s3c64xx/mach-smartq.c __raw_writel(tmp, S3C64XX_SPCON); tmp 282 arch/arm/mach-s3c64xx/mach-smartq.c tmp = __raw_readl(S3C64XX_MODEM_MIFPCON); tmp 283 arch/arm/mach-s3c64xx/mach-smartq.c tmp &= ~MIFPCON_LCD_BYPASS; tmp 284 arch/arm/mach-s3c64xx/mach-smartq.c __raw_writel(tmp, S3C64XX_MODEM_MIFPCON); tmp 633 arch/arm/mach-s3c64xx/mach-smdk6410.c u32 tmp; tmp 642 arch/arm/mach-s3c64xx/mach-smdk6410.c tmp = __raw_readl(S3C64XX_SPCON); tmp 643 arch/arm/mach-s3c64xx/mach-smdk6410.c tmp &= ~S3C64XX_SPCON_LCD_SEL_MASK; tmp 644 arch/arm/mach-s3c64xx/mach-smdk6410.c tmp |= S3C64XX_SPCON_LCD_SEL_RGB; tmp 645 arch/arm/mach-s3c64xx/mach-smdk6410.c __raw_writel(tmp, S3C64XX_SPCON); tmp 648 arch/arm/mach-s3c64xx/mach-smdk6410.c tmp = __raw_readl(S3C64XX_MODEM_MIFPCON); tmp 649 arch/arm/mach-s3c64xx/mach-smdk6410.c tmp &= ~MIFPCON_LCD_BYPASS; tmp 650 arch/arm/mach-s3c64xx/mach-smdk6410.c __raw_writel(tmp, S3C64XX_MODEM_MIFPCON); tmp 247 arch/arm/mach-s3c64xx/pm.c unsigned long tmp; tmp 251 arch/arm/mach-s3c64xx/pm.c tmp = __raw_readl(S3C64XX_PWR_CFG); tmp 252 arch/arm/mach-s3c64xx/pm.c tmp &= ~S3C64XX_PWRCFG_CFG_WFI_MASK; tmp 253 arch/arm/mach-s3c64xx/pm.c tmp |= S3C64XX_PWRCFG_CFG_WFI_SLEEP; tmp 254 arch/arm/mach-s3c64xx/pm.c __raw_writel(tmp, S3C64XX_PWR_CFG); tmp 267 arch/arm/mach-s3c64xx/pm.c tmp = 0; tmp 274 arch/arm/mach-s3c64xx/pm.c "mcr p15, 0, %0, c7, c0, 4" :: "r" (tmp)); tmp 45 arch/arm/mach-s5pv210/pm.c unsigned long tmp; tmp 50 arch/arm/mach-s5pv210/pm.c tmp = 0; tmp 57 arch/arm/mach-s5pv210/pm.c "wfi" : : "r" (tmp)); tmp 65 arch/arm/mach-s5pv210/pm.c unsigned int tmp; tmp 76 arch/arm/mach-s5pv210/pm.c tmp = __raw_readl(S5P_SLEEP_CFG); tmp 77 arch/arm/mach-s5pv210/pm.c tmp &= ~(S5P_SLEEP_CFG_OSC_EN | S5P_SLEEP_CFG_USBOSC_EN); tmp 78 arch/arm/mach-s5pv210/pm.c __raw_writel(tmp, S5P_SLEEP_CFG); tmp 81 arch/arm/mach-s5pv210/pm.c tmp = __raw_readl(S5P_PWR_CFG); tmp 82 arch/arm/mach-s5pv210/pm.c tmp &= S5P_CFG_WFI_CLEAN; tmp 83 arch/arm/mach-s5pv210/pm.c tmp |= S5P_CFG_WFI_SLEEP; tmp 84 arch/arm/mach-s5pv210/pm.c __raw_writel(tmp, S5P_PWR_CFG); tmp 87 arch/arm/mach-s5pv210/pm.c tmp = __raw_readl(S5P_OTHERS); tmp 88 arch/arm/mach-s5pv210/pm.c tmp |= S5P_OTHER_SYSC_INTOFF; tmp 89 arch/arm/mach-s5pv210/pm.c __raw_writel(tmp, S5P_OTHERS); tmp 76 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c struct regulator_quirk *pos, *tmp; tmp 126 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c list_for_each_entry_safe(pos, tmp, &quirk_list, list) { tmp 142 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c struct regulator_quirk *quirk, *pos, *tmp; tmp 223 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c list_for_each_entry_safe(pos, tmp, &quirk_list, list) { tmp 43 arch/arm/mach-tegra/sleep.h .macro wait_until, rn, base, tmp tmp 42 arch/arm/mach-zx/zx296702-pm-domain.c u32 tmp; tmp 44 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_CLKEN); tmp 45 arch/arm/mach-zx/zx296702-pm-domain.c tmp &= ~BIT(zpd->bit); tmp 46 arch/arm/mach-zx/zx296702-pm-domain.c writel_relaxed(tmp, pcubase + PCU_DM_CLKEN); tmp 49 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_ISOEN); tmp 50 arch/arm/mach-zx/zx296702-pm-domain.c tmp &= ~BIT(zpd->bit); tmp 51 arch/arm/mach-zx/zx296702-pm-domain.c writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_ISOEN); tmp 54 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_RSTEN); tmp 55 arch/arm/mach-zx/zx296702-pm-domain.c tmp &= ~BIT(zpd->bit); tmp 56 arch/arm/mach-zx/zx296702-pm-domain.c writel_relaxed(tmp, pcubase + PCU_DM_RSTEN); tmp 59 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_PWRDN); tmp 60 arch/arm/mach-zx/zx296702-pm-domain.c tmp &= ~BIT(zpd->bit); tmp 61 arch/arm/mach-zx/zx296702-pm-domain.c writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_PWRDN); tmp 63 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_ACK_SYNC) & BIT(zpd->bit); tmp 64 arch/arm/mach-zx/zx296702-pm-domain.c } while (--loop && !tmp); tmp 78 arch/arm/mach-zx/zx296702-pm-domain.c u32 tmp; tmp 80 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_PWRDN); tmp 81 arch/arm/mach-zx/zx296702-pm-domain.c tmp &= ~BIT(zpd->bit); tmp 82 arch/arm/mach-zx/zx296702-pm-domain.c writel_relaxed(tmp, pcubase + PCU_DM_PWRDN); tmp 84 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_ACK_SYNC) & BIT(zpd->bit); tmp 85 arch/arm/mach-zx/zx296702-pm-domain.c } while (--loop && tmp); tmp 92 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_RSTEN); tmp 93 arch/arm/mach-zx/zx296702-pm-domain.c tmp &= ~BIT(zpd->bit); tmp 94 arch/arm/mach-zx/zx296702-pm-domain.c writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_RSTEN); tmp 97 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_ISOEN); tmp 98 arch/arm/mach-zx/zx296702-pm-domain.c tmp &= ~BIT(zpd->bit); tmp 99 arch/arm/mach-zx/zx296702-pm-domain.c writel_relaxed(tmp, pcubase + PCU_DM_ISOEN); tmp 102 arch/arm/mach-zx/zx296702-pm-domain.c tmp = readl_relaxed(pcubase + PCU_DM_CLKEN); tmp 103 arch/arm/mach-zx/zx296702-pm-domain.c tmp &= ~BIT(zpd->bit); tmp 104 arch/arm/mach-zx/zx296702-pm-domain.c writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_CLKEN); tmp 19 arch/arm/mm/copypage-fa.c int tmp; tmp 33 arch/arm/mm/copypage-fa.c : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) tmp 15 arch/arm/mm/copypage-feroceon.c int tmp; tmp 60 arch/arm/mm/copypage-feroceon.c : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) tmp 42 arch/arm/mm/copypage-v4mc.c int tmp; tmp 59 arch/arm/mm/copypage-v4mc.c : "+&r" (from), "+&r" (to), "=&r" (tmp) tmp 24 arch/arm/mm/copypage-v4wb.c int tmp; tmp 42 arch/arm/mm/copypage-v4wb.c : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) tmp 22 arch/arm/mm/copypage-v4wt.c int tmp; tmp 38 arch/arm/mm/copypage-v4wt.c : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) tmp 29 arch/arm/mm/copypage-xsc3.c int tmp; tmp 58 arch/arm/mm/copypage-xsc3.c : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) tmp 38 arch/arm/mm/copypage-xscale.c int tmp; tmp 79 arch/arm/mm/copypage-xscale.c : "+&r" (from), "+&r" (to), "=&r" (tmp) tmp 467 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 490 arch/arm/net/bpf_jit_32.c emit(ARM_MOV_R(tmp[0], ARM_R1), ctx); tmp 494 arch/arm/net/bpf_jit_32.c emit(ARM_MOV_R(tmp[1], ARM_R0), ctx); tmp 509 arch/arm/net/bpf_jit_32.c emit(ARM_MOV_R(ARM_R1, tmp[0]), ctx); tmp 511 arch/arm/net/bpf_jit_32.c emit(ARM_MOV_R(ARM_R0, tmp[1]), ctx); tmp 524 arch/arm/net/bpf_jit_32.c static s8 arm_bpf_get_reg32(s8 reg, s8 tmp, struct jit_ctx *ctx) tmp 527 arch/arm/net/bpf_jit_32.c emit(ARM_LDR_I(tmp, ARM_FP, EBPF_SCRATCH_TO_ARM_FP(reg)), ctx); tmp 528 arch/arm/net/bpf_jit_32.c reg = tmp; tmp 533 arch/arm/net/bpf_jit_32.c static const s8 *arm_bpf_get_reg64(const s8 *reg, const s8 *tmp, tmp 539 arch/arm/net/bpf_jit_32.c emit(ARM_LDRD_I(tmp[1], ARM_FP, tmp 542 arch/arm/net/bpf_jit_32.c emit(ARM_LDR_I(tmp[1], ARM_FP, tmp 544 arch/arm/net/bpf_jit_32.c emit(ARM_LDR_I(tmp[0], ARM_FP, tmp 547 arch/arm/net/bpf_jit_32.c reg = tmp; tmp 589 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 592 arch/arm/net/bpf_jit_32.c emit_mov_i(tmp[1], val, ctx); tmp 593 arch/arm/net/bpf_jit_32.c arm_bpf_put_reg32(dst, tmp[1], ctx); tmp 601 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 602 arch/arm/net/bpf_jit_32.c const s8 *rd = is_stacked(dst_lo) ? tmp : dst; tmp 702 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 705 arch/arm/net/bpf_jit_32.c rn = arm_bpf_get_reg32(src, tmp[1], ctx); tmp 706 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg32(dst, tmp[0], ctx); tmp 716 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 720 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 746 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 749 arch/arm/net/bpf_jit_32.c rt = arm_bpf_get_reg32(src, tmp[0], ctx); tmp 768 arch/arm/net/bpf_jit_32.c const u8 *tmp = bpf2a32[TMP_REG_1]; tmp 770 arch/arm/net/bpf_jit_32.c emit(ARM_LDRD_I(tmp[1], ARM_FP, EBPF_SCRATCH_TO_ARM_FP(src_lo)), ctx); tmp 771 arch/arm/net/bpf_jit_32.c emit(ARM_STRD_I(tmp[1], ARM_FP, EBPF_SCRATCH_TO_ARM_FP(dst_lo)), ctx); tmp 785 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 788 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg32(dst, tmp[0], ctx); tmp 809 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 813 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 825 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 832 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 849 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 856 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 874 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 881 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 898 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 903 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 924 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 929 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 954 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 959 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 983 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 988 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 1026 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 1029 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg32(dst, tmp[1], ctx); tmp 1032 arch/arm/net/bpf_jit_32.c emit_a32_mov_i(tmp[0], off, ctx); tmp 1033 arch/arm/net/bpf_jit_32.c emit(ARM_ADD_R(tmp[0], tmp[0], rd), ctx); tmp 1034 arch/arm/net/bpf_jit_32.c rd = tmp[0]; tmp 1061 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 1062 arch/arm/net/bpf_jit_32.c const s8 *rd = is_stacked(dst_lo) ? tmp : dst; tmp 1066 arch/arm/net/bpf_jit_32.c emit_a32_mov_i(tmp[0], off, ctx); tmp 1067 arch/arm/net/bpf_jit_32.c emit(ARM_ADD_R(tmp[0], tmp[0], src), ctx); tmp 1068 arch/arm/net/bpf_jit_32.c rm = tmp[0]; tmp 1071 arch/arm/net/bpf_jit_32.c emit(ARM_MOV_R(tmp[0], rm), ctx); tmp 1072 arch/arm/net/bpf_jit_32.c rm = tmp[0]; tmp 1152 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 1173 arch/arm/net/bpf_jit_32.c emit(ARM_LDR_I(tmp[1], r_array, off), ctx); tmp 1175 arch/arm/net/bpf_jit_32.c emit(ARM_CMP_R(r_index, tmp[1]), ctx); tmp 1186 arch/arm/net/bpf_jit_32.c tc = arm_bpf_get_reg64(tcc, tmp, ctx); tmp 1192 arch/arm/net/bpf_jit_32.c arm_bpf_put_reg64(tcc, tmp, ctx); tmp 1200 arch/arm/net/bpf_jit_32.c emit(ARM_ADD_I(tmp[1], r_array, off), ctx); tmp 1201 arch/arm/net/bpf_jit_32.c emit(ARM_LDR_R_SI(tmp[1], tmp[1], r_index, SRTYPE_ASL, 2), ctx); tmp 1202 arch/arm/net/bpf_jit_32.c emit(ARM_CMP_I(tmp[1], 0), ctx); tmp 1209 arch/arm/net/bpf_jit_32.c emit(ARM_LDR_I(tmp[1], tmp[1], off), ctx); tmp 1210 arch/arm/net/bpf_jit_32.c emit(ARM_ADD_I(tmp[1], tmp[1], ctx->prologue_bytes), ctx); tmp 1211 arch/arm/net/bpf_jit_32.c emit_bx_r(tmp[1], ctx); tmp 1350 arch/arm/net/bpf_jit_32.c const s8 *tmp = bpf2a32[TMP_REG_1]; tmp 1546 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 1714 arch/arm/net/bpf_jit_32.c rd = arm_bpf_get_reg64(dst, tmp, ctx); tmp 1788 arch/arm/net/bpf_jit_32.c emit_a32_mov_i(tmp[1], func, ctx); tmp 1789 arch/arm/net/bpf_jit_32.c emit_blx_r(tmp[1], ctx); tmp 1876 arch/arm/net/bpf_jit_32.c struct bpf_prog *tmp, *orig_prog = prog; tmp 1894 arch/arm/net/bpf_jit_32.c tmp = bpf_jit_blind_constants(prog); tmp 1896 arch/arm/net/bpf_jit_32.c if (IS_ERR(tmp)) tmp 1898 arch/arm/net/bpf_jit_32.c if (tmp != prog) { tmp 1900 arch/arm/net/bpf_jit_32.c prog = tmp; tmp 2020 arch/arm/net/bpf_jit_32.c tmp : orig_prog); tmp 1329 arch/arm/nwfpe/softfloat.c bits64 tmp = ( (bits64) aSig )<<32; tmp 1330 arch/arm/nwfpe/softfloat.c do_div( tmp, bSig ); tmp 1331 arch/arm/nwfpe/softfloat.c zSig = tmp; tmp 1398 arch/arm/nwfpe/softfloat.c bits64 tmp = ( (bits64) aSig )<<32; tmp 1399 arch/arm/nwfpe/softfloat.c do_div( tmp, bSig ); tmp 1400 arch/arm/nwfpe/softfloat.c q = tmp; tmp 169 arch/arm/plat-pxa/mfp.c unsigned long tmp, c = *mfp_cfgs; tmp 187 arch/arm/plat-pxa/mfp.c tmp = MFPR_AF_SEL(af) | MFPR_DRIVE(drv); tmp 190 arch/arm/plat-pxa/mfp.c p->mfpr_run = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; tmp 193 arch/arm/plat-pxa/mfp.c p->mfpr_lpm = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; tmp 194 arch/arm/plat-pxa/mfp.c p->mfpr_run = tmp | mfpr_pull[pull]; tmp 263 arch/arm/plat-samsung/adc.c struct s3c_adc_client *tmp; tmp 266 arch/arm/plat-samsung/adc.c tmp = list_entry(p, struct s3c_adc_client, pend); tmp 267 arch/arm/plat-samsung/adc.c if (tmp == client) tmp 268 arch/arm/plat-samsung/adc.c list_del(&tmp->pend); tmp 339 arch/arm/plat-samsung/adc.c unsigned tmp; tmp 386 arch/arm/plat-samsung/adc.c tmp = adc->prescale | S3C2410_ADCCON_PRSCEN; tmp 390 arch/arm/plat-samsung/adc.c tmp |= S3C2416_ADCCON_RESSEL; tmp 392 arch/arm/plat-samsung/adc.c tmp |= S3C64XX_ADCCON_RESSEL; tmp 394 arch/arm/plat-samsung/adc.c writel(tmp, adc->regs + S3C2410_ADCCON); tmp 441 arch/arm/plat-samsung/adc.c unsigned long tmp; tmp 449 arch/arm/plat-samsung/adc.c tmp = adc->prescale | S3C2410_ADCCON_PRSCEN; tmp 453 arch/arm/plat-samsung/adc.c tmp |= S3C2416_ADCCON_RESSEL; tmp 455 arch/arm/plat-samsung/adc.c tmp |= S3C64XX_ADCCON_RESSEL; tmp 457 arch/arm/plat-samsung/adc.c writel(tmp, adc->regs + S3C2410_ADCCON); tmp 418 arch/arm/probes/kprobes/core.c struct hlist_node *tmp; tmp 439 arch/arm/probes/kprobes/core.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 458 arch/arm/probes/kprobes/core.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 485 arch/arm/probes/kprobes/core.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 293 arch/arm/probes/kprobes/opt-arm.c struct optimized_kprobe *op, *tmp; tmp 295 arch/arm/probes/kprobes/opt-arm.c list_for_each_entry_safe(op, tmp, oplist, list) { tmp 341 arch/arm/probes/kprobes/opt-arm.c struct optimized_kprobe *op, *tmp; tmp 343 arch/arm/probes/kprobes/opt-arm.c list_for_each_entry_safe(op, tmp, oplist, list) { tmp 177 arch/arm64/include/asm/arch_timer.h u64 tmp, _val = (val); \ tmp 183 arch/arm64/include/asm/arch_timer.h : "=r" (tmp) : "r" (_val)); \ tmp 44 arch/arm64/include/asm/assembler.h .macro inherit_daif, pstate:req, tmp:req tmp 70 arch/arm64/include/asm/assembler.h .macro disable_step_tsk, flgs, tmp tmp 80 arch/arm64/include/asm/assembler.h .macro enable_step_tsk, flgs, tmp tmp 213 arch/arm64/include/asm/assembler.h .macro ldr_l, dst, sym, tmp= tmp 229 arch/arm64/include/asm/assembler.h .macro str_l, src, sym, tmp tmp 239 arch/arm64/include/asm/assembler.h .macro adr_this_cpu, dst, sym, tmp tmp 255 arch/arm64/include/asm/assembler.h .macro ldr_this_cpu dst, sym, tmp tmp 296 arch/arm64/include/asm/assembler.h .macro raw_dcache_line_size, reg, tmp tmp 306 arch/arm64/include/asm/assembler.h .macro dcache_line_size, reg, tmp tmp 317 arch/arm64/include/asm/assembler.h .macro raw_icache_line_size, reg, tmp tmp 327 arch/arm64/include/asm/assembler.h .macro icache_line_size, reg, tmp tmp 537 arch/arm64/include/asm/assembler.h .macro offset_ttbr1, ttbr, tmp tmp 42 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp; \ tmp 52 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \ tmp 60 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp; \ tmp 71 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \ tmp 82 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp; \ tmp 93 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (result), "=&r" (val), "=&r" (tmp), "+Q" (v->counter) \ tmp 142 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp; \ tmp 151 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \ tmp 160 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp; \ tmp 170 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \ tmp 182 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp; \ tmp 192 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (result), "=&r" (val), "=&r" (tmp), "+Q" (v->counter) \ tmp 240 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp; tmp 252 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) tmp 265 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp; \ tmp 286 arch/arm64/include/asm/atomic_ll_sc.h : [tmp] "=&r" (tmp), [oldval] "=&r" (oldval), \ tmp 326 arch/arm64/include/asm/atomic_ll_sc.h unsigned long tmp, ret; \ tmp 340 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (tmp), "=&r" (ret), "+Q" (*(unsigned long *)ptr) \ tmp 60 arch/arm64/include/asm/atomic_lse.h u32 tmp; \ tmp 66 arch/arm64/include/asm/atomic_lse.h : [i] "+r" (i), [v] "+Q" (v->counter), [tmp] "=&r" (tmp) \ tmp 124 arch/arm64/include/asm/atomic_lse.h u32 tmp; \ tmp 131 arch/arm64/include/asm/atomic_lse.h : [i] "+&r" (i), [v] "+Q" (v->counter), [tmp] "=&r" (tmp) \ tmp 213 arch/arm64/include/asm/atomic_lse.h unsigned long tmp; \ tmp 219 arch/arm64/include/asm/atomic_lse.h : [i] "+r" (i), [v] "+Q" (v->counter), [tmp] "=&r" (tmp) \ tmp 277 arch/arm64/include/asm/atomic_lse.h unsigned long tmp; \ tmp 284 arch/arm64/include/asm/atomic_lse.h : [i] "+&r" (i), [v] "+Q" (v->counter), [tmp] "=&r" (tmp) \ tmp 321 arch/arm64/include/asm/atomic_lse.h unsigned long tmp; tmp 333 arch/arm64/include/asm/atomic_lse.h : [ret] "+&r" (v), [v] "+Q" (v->counter), [tmp] "=&r" (tmp) tmp 349 arch/arm64/include/asm/atomic_lse.h unsigned long tmp; \ tmp 357 arch/arm64/include/asm/atomic_lse.h [tmp] "=&r" (tmp) \ tmp 20 arch/arm64/include/asm/checksum.h __uint128_t tmp; tmp 23 arch/arm64/include/asm/checksum.h tmp = *(const __uint128_t *)iph; tmp 26 arch/arm64/include/asm/checksum.h tmp += ((tmp >> 64) | (tmp << 64)); tmp 27 arch/arm64/include/asm/checksum.h sum = tmp >> 64; tmp 25 arch/arm64/include/asm/cmpxchg.h unsigned long tmp; \ tmp 38 arch/arm64/include/asm/cmpxchg.h : "=&r" (ret), "=&r" (tmp), "+Q" (*(u##sz *)ptr) \ tmp 236 arch/arm64/include/asm/cmpxchg.h unsigned long tmp; \ tmp 246 arch/arm64/include/asm/cmpxchg.h : [tmp] "=&r" (tmp), [v] "+Q" (*(unsigned long *)ptr) \ tmp 32 arch/arm64/include/asm/fpsimdmacros.h .macro fpsimd_restore_fpcr state, tmp tmp 15 arch/arm64/include/asm/futex.h #define __futex_atomic_op(insn, ret, oldval, uaddr, tmp, oparg) \ tmp 38 arch/arm64/include/asm/futex.h : "=&r" (ret), "=&r" (oldval), "+Q" (*uaddr), "=&r" (tmp), \ tmp 48 arch/arm64/include/asm/futex.h int oldval = 0, ret, tmp; tmp 56 arch/arm64/include/asm/futex.h ret, oldval, uaddr, tmp, oparg); tmp 60 arch/arm64/include/asm/futex.h ret, oldval, uaddr, tmp, oparg); tmp 64 arch/arm64/include/asm/futex.h ret, oldval, uaddr, tmp, oparg); tmp 68 arch/arm64/include/asm/futex.h ret, oldval, uaddr, tmp, ~oparg); tmp 72 arch/arm64/include/asm/futex.h ret, oldval, uaddr, tmp, oparg); tmp 92 arch/arm64/include/asm/futex.h u32 val, tmp; tmp 119 arch/arm64/include/asm/futex.h : "+r" (ret), "=&r" (val), "+Q" (*uaddr), "=&r" (tmp), "+r" (loops) tmp 96 arch/arm64/include/asm/io.h unsigned long tmp; \ tmp 107 arch/arm64/include/asm/io.h : "=r" (tmp) : "r" ((unsigned long)(v)) \ tmp 93 arch/arm64/include/asm/kvm_asm.h .macro hyp_adr_this_cpu reg, sym, tmp tmp 99 arch/arm64/include/asm/kvm_asm.h .macro hyp_ldr_this_cpu reg, sym, tmp tmp 105 arch/arm64/include/asm/kvm_asm.h .macro get_host_ctxt reg, tmp tmp 56 arch/arm64/include/asm/percpu.h u##sz tmp; \ tmp 67 arch/arm64/include/asm/percpu.h : [loop] "=&r" (loop), [tmp] "=&r" (tmp), \ tmp 194 arch/arm64/kernel/cpu_errata.c u64 tmp; tmp 201 arch/arm64/kernel/cpu_errata.c : "=&r" (tmp)); tmp 1510 arch/arm64/kernel/insn.c unsigned int immr, imms, n, ones, ror, esz, tmp; tmp 1536 arch/arm64/kernel/insn.c for (tmp = esz / 2; tmp >= 2; tmp /= 2) { tmp 1537 arch/arm64/kernel/insn.c u64 emask = BIT(tmp) - 1; tmp 1539 arch/arm64/kernel/insn.c if ((imm & emask) != ((imm >> tmp) & emask)) tmp 1542 arch/arm64/kernel/insn.c esz = tmp; tmp 99 arch/arm64/kernel/pci.c struct resource_entry *entry, *tmp; tmp 103 arch/arm64/kernel/pci.c resource_list_for_each_entry_safe(entry, tmp, &ci->resources) { tmp 479 arch/arm64/kernel/probes/kprobes.c struct hlist_node *tmp; tmp 501 arch/arm64/kernel/probes/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 520 arch/arm64/kernel/probes/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 547 arch/arm64/kernel/probes/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 1533 arch/arm64/kernel/ptrace.c compat_ulong_t tmp; tmp 1539 arch/arm64/kernel/ptrace.c tmp = tsk->mm->start_code; tmp 1541 arch/arm64/kernel/ptrace.c tmp = tsk->mm->start_data; tmp 1543 arch/arm64/kernel/ptrace.c tmp = tsk->mm->end_code; tmp 1551 arch/arm64/kernel/ptrace.c tmp = 0; tmp 1553 arch/arm64/kernel/ptrace.c return put_user(tmp, ret); tmp 155 arch/arm64/kvm/guest.c __uint128_t tmp; tmp 156 arch/arm64/kvm/guest.c void *valp = &tmp; tmp 169 arch/arm64/kvm/guest.c if (KVM_REG_SIZE(reg->id) > sizeof(tmp)) tmp 247 arch/arm64/kvm/hyp/switch.c u64 par, tmp; tmp 263 arch/arm64/kvm/hyp/switch.c tmp = read_sysreg(par_el1); tmp 266 arch/arm64/kvm/hyp/switch.c if (unlikely(tmp & SYS_PAR_EL1_F)) tmp 270 arch/arm64/kvm/hyp/switch.c *hpfar = PAR_TO_HPFAR(tmp); tmp 304 arch/arm64/kvm/hyp/sysreg-sr.c u64 tmp; tmp 310 arch/arm64/kvm/hyp/sysreg-sr.c : "=&r" (tmp) : "L" (SCTLR_ELx_DSSBS)); tmp 133 arch/arm64/net/bpf_jit_comp.c u64 tmp = val; tmp 136 arch/arm64/net/bpf_jit_comp.c emit(A64_MOVN(1, reg, ~tmp & 0xffff, shift), ctx); tmp 138 arch/arm64/net/bpf_jit_comp.c tmp >>= 16; tmp 140 arch/arm64/net/bpf_jit_comp.c emit(A64_MOVK(1, reg, tmp & 0xffff, shift), ctx); tmp 249 arch/arm64/net/bpf_jit_comp.c const u8 tmp = bpf2a64[TMP_REG_1]; tmp 261 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i64(tmp, off, ctx); tmp 262 arch/arm64/net/bpf_jit_comp.c emit(A64_LDR32(tmp, r2, tmp), ctx); tmp 264 arch/arm64/net/bpf_jit_comp.c emit(A64_CMP(0, r3, tmp), ctx); tmp 271 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i64(tmp, MAX_TAIL_CALL_CNT, ctx); tmp 272 arch/arm64/net/bpf_jit_comp.c emit(A64_CMP(1, tcc, tmp), ctx); tmp 281 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i64(tmp, off, ctx); tmp 282 arch/arm64/net/bpf_jit_comp.c emit(A64_ADD(1, tmp, r2, tmp), ctx); tmp 284 arch/arm64/net/bpf_jit_comp.c emit(A64_LDR64(prg, tmp, prg), ctx); tmp 289 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i64(tmp, off, ctx); tmp 290 arch/arm64/net/bpf_jit_comp.c emit(A64_LDR64(tmp, prg, tmp), ctx); tmp 291 arch/arm64/net/bpf_jit_comp.c emit(A64_ADD_I(1, tmp, tmp, sizeof(u32) * PROLOGUE_OFFSET), ctx); tmp 293 arch/arm64/net/bpf_jit_comp.c emit(A64_BR(tmp), ctx); tmp 348 arch/arm64/net/bpf_jit_comp.c const u8 tmp = bpf2a64[TMP_REG_1]; tmp 411 arch/arm64/net/bpf_jit_comp.c emit(A64_UDIV(is64, tmp, dst, src), ctx); tmp 412 arch/arm64/net/bpf_jit_comp.c emit(A64_MSUB(is64, dst, dst, tmp, src), ctx); tmp 481 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 482 arch/arm64/net/bpf_jit_comp.c emit(A64_ADD(is64, dst, dst, tmp), ctx); tmp 486 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 487 arch/arm64/net/bpf_jit_comp.c emit(A64_SUB(is64, dst, dst, tmp), ctx); tmp 491 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 492 arch/arm64/net/bpf_jit_comp.c emit(A64_AND(is64, dst, dst, tmp), ctx); tmp 496 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 497 arch/arm64/net/bpf_jit_comp.c emit(A64_ORR(is64, dst, dst, tmp), ctx); tmp 501 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 502 arch/arm64/net/bpf_jit_comp.c emit(A64_EOR(is64, dst, dst, tmp), ctx); tmp 506 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 507 arch/arm64/net/bpf_jit_comp.c emit(A64_MUL(is64, dst, dst, tmp), ctx); tmp 511 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 512 arch/arm64/net/bpf_jit_comp.c emit(A64_UDIV(is64, dst, dst, tmp), ctx); tmp 517 arch/arm64/net/bpf_jit_comp.c emit(A64_UDIV(is64, tmp, dst, tmp2), ctx); tmp 518 arch/arm64/net/bpf_jit_comp.c emit(A64_MSUB(is64, dst, dst, tmp, tmp2), ctx); tmp 626 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 627 arch/arm64/net/bpf_jit_comp.c emit(A64_CMP(is64, dst, tmp), ctx); tmp 631 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(is64, tmp, imm, ctx); tmp 632 arch/arm64/net/bpf_jit_comp.c emit(A64_TST(is64, dst, tmp), ctx); tmp 646 arch/arm64/net/bpf_jit_comp.c emit_addr_mov_i64(tmp, func_addr, ctx); tmp 647 arch/arm64/net/bpf_jit_comp.c emit(A64_BLR(tmp), ctx); tmp 684 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(1, tmp, off, ctx); tmp 687 arch/arm64/net/bpf_jit_comp.c emit(A64_LDR32(dst, src, tmp), ctx); tmp 690 arch/arm64/net/bpf_jit_comp.c emit(A64_LDRH(dst, src, tmp), ctx); tmp 693 arch/arm64/net/bpf_jit_comp.c emit(A64_LDRB(dst, src, tmp), ctx); tmp 696 arch/arm64/net/bpf_jit_comp.c emit(A64_LDR64(dst, src, tmp), ctx); tmp 708 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(1, tmp, imm, ctx); tmp 711 arch/arm64/net/bpf_jit_comp.c emit(A64_STR32(tmp, dst, tmp2), ctx); tmp 714 arch/arm64/net/bpf_jit_comp.c emit(A64_STRH(tmp, dst, tmp2), ctx); tmp 717 arch/arm64/net/bpf_jit_comp.c emit(A64_STRB(tmp, dst, tmp2), ctx); tmp 720 arch/arm64/net/bpf_jit_comp.c emit(A64_STR64(tmp, dst, tmp2), ctx); tmp 730 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(1, tmp, off, ctx); tmp 733 arch/arm64/net/bpf_jit_comp.c emit(A64_STR32(src, dst, tmp), ctx); tmp 736 arch/arm64/net/bpf_jit_comp.c emit(A64_STRH(src, dst, tmp), ctx); tmp 739 arch/arm64/net/bpf_jit_comp.c emit(A64_STRB(src, dst, tmp), ctx); tmp 742 arch/arm64/net/bpf_jit_comp.c emit(A64_STR64(src, dst, tmp), ctx); tmp 754 arch/arm64/net/bpf_jit_comp.c emit_a64_mov_i(1, tmp, off, ctx); tmp 755 arch/arm64/net/bpf_jit_comp.c emit(A64_ADD(1, tmp, tmp, dst), ctx); tmp 756 arch/arm64/net/bpf_jit_comp.c reg = tmp; tmp 830 arch/arm64/net/bpf_jit_comp.c struct bpf_prog *tmp, *orig_prog = prog; tmp 843 arch/arm64/net/bpf_jit_comp.c tmp = bpf_jit_blind_constants(prog); tmp 847 arch/arm64/net/bpf_jit_comp.c if (IS_ERR(tmp)) tmp 849 arch/arm64/net/bpf_jit_comp.c if (tmp != prog) { tmp 851 arch/arm64/net/bpf_jit_comp.c prog = tmp; tmp 963 arch/arm64/net/bpf_jit_comp.c tmp : orig_prog); tmp 13 arch/c6x/include/asm/checksum.h unsigned long long tmp; tmp 23 arch/c6x/include/asm/checksum.h : "=&a"(tmp), "+a"(len), "+a"(sum) tmp 18 arch/c6x/include/asm/cmpxchg.h unsigned int tmp; tmp 25 arch/c6x/include/asm/cmpxchg.h tmp = 0; tmp 26 arch/c6x/include/asm/cmpxchg.h tmp = *((unsigned char *) ptr); tmp 30 arch/c6x/include/asm/cmpxchg.h tmp = 0; tmp 31 arch/c6x/include/asm/cmpxchg.h tmp = *((unsigned short *) ptr); tmp 35 arch/c6x/include/asm/cmpxchg.h tmp = 0; tmp 36 arch/c6x/include/asm/cmpxchg.h tmp = *((unsigned int *) ptr); tmp 41 arch/c6x/include/asm/cmpxchg.h return tmp; tmp 17 arch/c6x/include/asm/delay.h uint32_t tmp; tmp 25 arch/c6x/include/asm/delay.h : "+a"(loops), "=A"(tmp)); tmp 36 arch/c6x/kernel/process.c unsigned long tmp; tmp 47 arch/c6x/kernel/process.c : "=b"(tmp)); tmp 93 arch/c6x/kernel/setup.c u64 tmp; tmp 109 arch/c6x/kernel/setup.c tmp = (uint64_t)core_khz << C6X_NDELAY_SCALE; tmp 110 arch/c6x/kernel/setup.c do_div(tmp, 1000000); tmp 111 arch/c6x/kernel/setup.c ticks_per_ns_scaled = tmp; tmp 51 arch/c6x/kernel/time.c u64 tmp = (u64)NSEC_PER_SEC << SCHED_CLOCK_SHIFT; tmp 53 arch/c6x/kernel/time.c do_div(tmp, c6x_core_freq); tmp 54 arch/c6x/kernel/time.c sched_clock_multiplier = tmp; tmp 215 arch/csky/abiv1/alignment.c uint16_t tmp; tmp 232 arch/csky/abiv1/alignment.c ret = get_user(tmp, (uint16_t *)instruction_pointer(regs)); tmp 248 arch/csky/abiv1/alignment.c tmp = *(uint16_t *)instruction_pointer(regs); tmp 251 arch/csky/abiv1/alignment.c opcode = (uint32_t)tmp; tmp 10 arch/csky/abiv1/inc/abi/reg_ops.h unsigned int tmp; \ tmp 11 arch/csky/abiv1/inc/abi/reg_ops.h asm volatile("cprcr %0, "reg"\n":"=b"(tmp)); \ tmp 12 arch/csky/abiv1/inc/abi/reg_ops.h tmp; \ tmp 24 arch/csky/abiv2/fpu.c unsigned long index = 0, tmp = 0; tmp 50 arch/csky/abiv2/fpu.c tmp = tinstr & 0x1F; tmp 51 arch/csky/abiv2/fpu.c if (tmp > 2) tmp 56 arch/csky/abiv2/fpu.c if (tmp == 1) tmp 58 arch/csky/abiv2/fpu.c else if (tmp == 2) tmp 72 arch/csky/abiv2/fpu.c tmp = ((tinstr >> 16) & 0x1F); tmp 73 arch/csky/abiv2/fpu.c if (tmp > 2) tmp 76 arch/csky/abiv2/fpu.c if (tmp == 1) tmp 78 arch/csky/abiv2/fpu.c else if (tmp == 2) tmp 15 arch/csky/include/asm/atomic.h unsigned long tmp, ret; tmp 28 arch/csky/include/asm/atomic.h : "=&r" (tmp), "=&r" (ret) tmp 41 arch/csky/include/asm/atomic.h unsigned long tmp; \ tmp 48 arch/csky/include/asm/atomic.h : "=&r" (tmp) \ tmp 56 arch/csky/include/asm/atomic.h unsigned long tmp, ret; \ tmp 65 arch/csky/include/asm/atomic.h : "=&r" (tmp), "=&r" (ret) \ tmp 76 arch/csky/include/asm/atomic.h unsigned long tmp, ret; \ tmp 85 arch/csky/include/asm/atomic.h : "=&r" (tmp), "=&r" (ret) \ tmp 100 arch/csky/include/asm/atomic.h unsigned long tmp, ret, flags; tmp 112 arch/csky/include/asm/atomic.h : "=&r" (tmp), "=&r" (ret) tmp 124 arch/csky/include/asm/atomic.h unsigned long tmp, flags; \ tmp 132 arch/csky/include/asm/atomic.h : "=&r" (tmp) \ tmp 142 arch/csky/include/asm/atomic.h unsigned long tmp, ret, flags; \ tmp 151 arch/csky/include/asm/atomic.h : "=&r" (tmp), "=&r" (ret) \ tmp 163 arch/csky/include/asm/atomic.h unsigned long tmp, ret, flags; \ tmp 172 arch/csky/include/asm/atomic.h : "=&r" (tmp), "=&r" (ret) \ tmp 12 arch/csky/include/asm/checksum.h u32 tmp; tmp 19 arch/csky/include/asm/checksum.h : "=r"(csum), "=r"(tmp) tmp 16 arch/csky/include/asm/cmpxchg.h unsigned long tmp; \ tmp 25 arch/csky/include/asm/cmpxchg.h : "=&r" (__ret), "=&r" (tmp) \ tmp 8 arch/csky/include/asm/reg_ops.h unsigned int tmp; \ tmp 11 arch/csky/include/asm/reg_ops.h : "=r"(tmp) \ tmp 14 arch/csky/include/asm/reg_ops.h tmp; \ tmp 19 arch/csky/include/asm/spinlock.h u32 tmp; tmp 27 arch/csky/include/asm/spinlock.h : "=&r" (tmp), "=&r" (lockval) tmp 39 arch/csky/include/asm/spinlock.h u32 tmp, contended, res; tmp 54 arch/csky/include/asm/spinlock.h : "=&r" (res), "=&r" (tmp), "=&r" (contended) tmp 102 arch/csky/include/asm/spinlock.h u32 tmp; tmp 110 arch/csky/include/asm/spinlock.h : "=&r" (tmp) tmp 125 arch/csky/include/asm/spinlock.h u32 tmp; tmp 135 arch/csky/include/asm/spinlock.h : "=&r" (tmp) tmp 139 arch/csky/include/asm/spinlock.h if (!tmp) tmp 142 arch/csky/include/asm/spinlock.h return !tmp; tmp 153 arch/csky/include/asm/spinlock.h u32 tmp; tmp 161 arch/csky/include/asm/spinlock.h : "=&r" (tmp) tmp 170 arch/csky/include/asm/spinlock.h u32 tmp; tmp 178 arch/csky/include/asm/spinlock.h : "=&r" (tmp) tmp 186 arch/csky/include/asm/spinlock.h u32 tmp; tmp 196 arch/csky/include/asm/spinlock.h : "=&r" (tmp) tmp 200 arch/csky/include/asm/spinlock.h if (!tmp) tmp 203 arch/csky/include/asm/spinlock.h return !tmp; tmp 212 arch/csky/include/asm/spinlock.h u32 tmp; tmp 220 arch/csky/include/asm/spinlock.h : "=&r" (tmp) tmp 235 arch/csky/include/asm/spinlock.h u32 tmp; tmp 245 arch/csky/include/asm/spinlock.h : "=&r" (tmp) tmp 249 arch/csky/include/asm/spinlock.h if (!tmp) tmp 252 arch/csky/include/asm/spinlock.h return !tmp; tmp 176 arch/csky/include/asm/uaccess.h int tmp; \ tmp 196 arch/csky/include/asm/uaccess.h "=r"(tmp), "=r"(errcode) \ tmp 321 arch/csky/include/asm/uaccess.h int tmp; \ tmp 381 arch/csky/include/asm/uaccess.h "=r"(tmp) \ tmp 53 arch/csky/kernel/perf_event.c unsigned int tmp; \ tmp 55 arch/csky/kernel/perf_event.c : "=r"(tmp) \ tmp 58 arch/csky/kernel/perf_event.c tmp; \ tmp 72 arch/csky/kernel/perf_event.c unsigned int tmp; \ tmp 74 arch/csky/kernel/perf_event.c : "=r"(tmp) \ tmp 77 arch/csky/kernel/perf_event.c tmp; \ tmp 92 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 96 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x3>"); tmp 99 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 116 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 120 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x5>"); tmp 123 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 140 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 144 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x7>"); tmp 147 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 164 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 168 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x9>"); tmp 171 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 188 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 192 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0xb>"); tmp 195 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 212 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 216 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0xd>"); tmp 219 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 236 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 240 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0xf>"); tmp 243 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 260 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 264 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x11>"); tmp 267 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 284 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 288 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x15>"); tmp 291 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 308 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 312 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x17>"); tmp 315 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 332 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 336 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x19>"); tmp 339 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 356 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 360 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x1b>"); tmp 363 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 380 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 384 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x1d>"); tmp 387 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 404 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 408 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x1f>"); tmp 411 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 428 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 432 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x21>"); tmp 435 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 452 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 456 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x23>"); tmp 459 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 476 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 480 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x25>"); tmp 483 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 500 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 504 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x27>"); tmp 507 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 524 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 528 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x29>"); tmp 531 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 548 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 552 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x2b>"); tmp 555 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 572 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 576 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x2d>"); tmp 579 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 596 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 600 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x2f>"); tmp 603 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 620 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 624 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x31>"); tmp 627 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 644 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 648 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x33>"); tmp 651 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 668 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 672 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x35>"); tmp 675 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 692 arch/csky/kernel/perf_event.c uint32_t lo, hi, tmp; tmp 696 arch/csky/kernel/perf_event.c tmp = cprgr("<0, 0x37>"); tmp 699 arch/csky/kernel/perf_event.c } while (hi != tmp); tmp 119 arch/csky/kernel/ptrace.c struct user_fp tmp = *regs; tmp 122 arch/csky/kernel/ptrace.c tmp.vr[i*4] = regs->vr[i*2]; tmp 123 arch/csky/kernel/ptrace.c tmp.vr[i*4 + 1] = regs->vr[i*2 + 1]; tmp 127 arch/csky/kernel/ptrace.c tmp.vr[64 + i] = regs->vr[32 + i]; tmp 129 arch/csky/kernel/ptrace.c return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tmp, 0, -1); tmp 145 arch/csky/kernel/ptrace.c struct user_fp tmp; tmp 147 arch/csky/kernel/ptrace.c ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tmp, 0, -1); tmp 149 arch/csky/kernel/ptrace.c *regs = tmp; tmp 152 arch/csky/kernel/ptrace.c regs->vr[i*2] = tmp.vr[i*4]; tmp 153 arch/csky/kernel/ptrace.c regs->vr[i*2 + 1] = tmp.vr[i*4 + 1]; tmp 157 arch/csky/kernel/ptrace.c regs->vr[32 + i] = tmp.vr[64 + i]; tmp 29 arch/csky/lib/usercopy.c int tmp; \ tmp 54 arch/csky/lib/usercopy.c "=r"(src), "=r"(tmp), "=r"(faultres) \ tmp 131 arch/csky/lib/usercopy.c unsigned long res, tmp; tmp 157 arch/csky/lib/usercopy.c : "=r"(n), "=r"(s), "=r"(res), "=r"(tmp) tmp 167 arch/csky/lib/usercopy.c int __d0, zvalue, tmp; \ tmp 217 arch/csky/lib/usercopy.c "=r"(zvalue), "=r"(tmp) \ tmp 42 arch/csky/mm/init.c unsigned long tmp; tmp 53 arch/csky/mm/init.c for (tmp = highstart_pfn; tmp < highend_pfn; tmp++) { tmp 54 arch/csky/mm/init.c struct page *page = pfn_to_page(tmp); tmp 57 arch/csky/mm/init.c if (!memblock_is_reserved(tmp << PAGE_SHIFT)) tmp 17 arch/h8300/include/asm/cmpxchg.h unsigned long tmp, flags; tmp 26 arch/h8300/include/asm/cmpxchg.h : "=&r" (tmp) : "r" (x), "m" (*__xg(ptr))); tmp 32 arch/h8300/include/asm/cmpxchg.h : "=&r" (tmp) : "r" (x), "m" (*__xg(ptr))); tmp 38 arch/h8300/include/asm/cmpxchg.h : "=&r" (tmp) : "r" (x), "m" (*__xg(ptr))); tmp 41 arch/h8300/include/asm/cmpxchg.h tmp = 0; tmp 44 arch/h8300/include/asm/cmpxchg.h return tmp; tmp 31 arch/h8300/kernel/irq.c unsigned long base, tmp; tmp 47 arch/h8300/kernel/irq.c tmp = ~(*(volatile unsigned long *)base); tmp 48 arch/h8300/kernel/irq.c (*(volatile unsigned long *)base) = tmp; tmp 49 arch/h8300/kernel/irq.c if ((*(volatile unsigned long *)base) != tmp) tmp 165 arch/hexagon/include/asm/atomic.h register int tmp; tmp 179 arch/hexagon/include/asm/atomic.h : "=&r" (__oldval), "=&r" (tmp) tmp 38 arch/hexagon/kernel/signal.c unsigned long tmp; tmp 58 arch/hexagon/kernel/signal.c tmp = pt_elr(regs); err |= __put_user(tmp, &sc->sc_regs.pc); tmp 59 arch/hexagon/kernel/signal.c tmp = pt_cause(regs); err |= __put_user(tmp, &sc->sc_regs.cause); tmp 60 arch/hexagon/kernel/signal.c tmp = pt_badva(regs); err |= __put_user(tmp, &sc->sc_regs.badva); tmp 68 arch/hexagon/kernel/signal.c unsigned long tmp; tmp 88 arch/hexagon/kernel/signal.c err |= __get_user(tmp, &sc->sc_regs.pc); pt_set_elr(regs, tmp); tmp 65 arch/ia64/include/asm/spinlock.h int tmp = READ_ONCE(lock->lock); tmp 67 arch/ia64/include/asm/spinlock.h if (!(((tmp >> TICKET_SHIFT) ^ tmp) & TICKET_MASK)) tmp 68 arch/ia64/include/asm/spinlock.h return ia64_cmpxchg(acq, &lock->lock, tmp, tmp + 1, sizeof (tmp)) == tmp; tmp 74 arch/ia64/include/asm/spinlock.h unsigned short *p = (unsigned short *)&lock->lock + 1, tmp; tmp 78 arch/ia64/include/asm/spinlock.h asm volatile ("ld2.bias %0=[%1]" : "=r"(tmp) : "r"(p)); tmp 79 arch/ia64/include/asm/spinlock.h WRITE_ONCE(*p, (tmp + 2) & ~1); tmp 84 arch/ia64/include/asm/spinlock.h long tmp = READ_ONCE(lock->lock); tmp 86 arch/ia64/include/asm/spinlock.h return !!(((tmp >> TICKET_SHIFT) ^ tmp) & TICKET_MASK); tmp 91 arch/ia64/include/asm/spinlock.h long tmp = READ_ONCE(lock->lock); tmp 93 arch/ia64/include/asm/spinlock.h return ((tmp - (tmp >> TICKET_SHIFT)) & TICKET_MASK) > 1; tmp 42 arch/ia64/include/uapi/asm/intrinsics.h #define IA64_FETCHADD(tmp,v,n,sz,sem) \ tmp 46 arch/ia64/include/uapi/asm/intrinsics.h tmp = ia64_fetchadd4_##sem((unsigned int *) v, n); \ tmp 50 arch/ia64/include/uapi/asm/intrinsics.h tmp = ia64_fetchadd8_##sem((unsigned long *) v, n); \ tmp 689 arch/ia64/kernel/acpi.c int tmp; tmp 694 arch/ia64/kernel/acpi.c tmp = gsi_to_irq(gsi); tmp 695 arch/ia64/kernel/acpi.c if (tmp == -1) tmp 697 arch/ia64/kernel/acpi.c *irq = tmp; tmp 411 arch/ia64/kernel/kprobes.c struct hlist_node *tmp; tmp 432 arch/ia64/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 449 arch/ia64/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 472 arch/ia64/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 851 arch/ia64/kernel/module.c struct unw_table_entry tmp, *e1, *e2, *core, *init; tmp 868 arch/ia64/kernel/module.c tmp = *e1; tmp 870 arch/ia64/kernel/module.c *e2 = tmp; tmp 687 arch/ia64/kernel/perfmon.c unsigned long tmp; tmp 688 arch/ia64/kernel/perfmon.c tmp = ia64_getreg(_IA64_REG_PSR); tmp 690 arch/ia64/kernel/perfmon.c return tmp; tmp 1464 arch/ia64/kernel/ptrace.c unsigned long tmp = *data; tmp 1466 arch/ia64/kernel/ptrace.c if ((tmp & IA64_PSR_RI) == IA64_PSR_RI) tmp 1467 arch/ia64/kernel/ptrace.c tmp &= ~IA64_PSR_RI; tmp 1468 arch/ia64/kernel/ptrace.c pt->cr_ipsr = ((tmp & IPSR_MASK) tmp 1506 arch/ia64/kernel/ptrace.c elf_greg_t tmp[16]; tmp 1542 arch/ia64/kernel/ptrace.c &tmp[index], 0) < 0) { tmp 1547 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, tmp, tmp 1571 arch/ia64/kernel/ptrace.c &tmp[index], 0) < 0) { tmp 1576 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, tmp, tmp 1592 arch/ia64/kernel/ptrace.c &tmp[index], 0) < 0) { tmp 1597 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, tmp, tmp 1606 arch/ia64/kernel/ptrace.c elf_greg_t tmp[16]; tmp 1627 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, tmp, tmp 1633 arch/ia64/kernel/ptrace.c &tmp[index], 1) < 0) { tmp 1656 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, tmp, tmp 1662 arch/ia64/kernel/ptrace.c &tmp[index], 1) < 0) { tmp 1677 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, tmp, tmp 1683 arch/ia64/kernel/ptrace.c &tmp[index], 1) < 0) { tmp 1696 arch/ia64/kernel/ptrace.c elf_fpreg_t tmp[30]; tmp 1721 arch/ia64/kernel/ptrace.c &tmp[index])) { tmp 1726 arch/ia64/kernel/ptrace.c &dst->u.get.kbuf, &dst->u.get.ubuf, tmp, tmp 1753 arch/ia64/kernel/ptrace.c elf_fpreg_t fpreg, tmp[30]; tmp 1775 arch/ia64/kernel/ptrace.c &dst->u.set.kbuf, &dst->u.set.ubuf, tmp, tmp 1786 arch/ia64/kernel/ptrace.c tmp[start / sizeof(elf_fpreg_t) - 2].u.bits[0] tmp 1796 arch/ia64/kernel/ptrace.c tmp[end / sizeof(elf_fpreg_t) - 2].u.bits[1] tmp 1803 arch/ia64/kernel/ptrace.c if (unw_set_fr(info, index, tmp[index - 2])) { tmp 210 arch/ia64/kernel/setup.c struct rsvd_region tmp; tmp 211 arch/ia64/kernel/setup.c tmp = rsvd_region[j]; tmp 213 arch/ia64/kernel/setup.c rsvd_region[j + 1] = tmp; tmp 1269 arch/ia64/kernel/unwind.c struct unw_script *script, *prev, *tmp; tmp 1299 arch/ia64/kernel/unwind.c tmp = unw.cache + unw.hash[index]; tmp 1302 arch/ia64/kernel/unwind.c if (tmp == script) { tmp 1304 arch/ia64/kernel/unwind.c prev->coll_chain = tmp->coll_chain; tmp 1306 arch/ia64/kernel/unwind.c unw.hash[index] = tmp->coll_chain; tmp 1309 arch/ia64/kernel/unwind.c prev = tmp; tmp 1310 arch/ia64/kernel/unwind.c if (tmp->coll_chain >= UNW_CACHE_SIZE) tmp 1313 arch/ia64/kernel/unwind.c tmp = unw.cache + tmp->coll_chain; tmp 2131 arch/ia64/kernel/unwind.c struct unw_script *tmp; tmp 2168 arch/ia64/kernel/unwind.c tmp = unw.cache + unw.hash[index]; tmp 2170 arch/ia64/kernel/unwind.c || tmp->ip < table->start || tmp->ip >= table->end) tmp 2173 arch/ia64/kernel/unwind.c write_lock(&tmp->lock); tmp 2175 arch/ia64/kernel/unwind.c if (tmp->ip >= table->start && tmp->ip < table->end) { tmp 2176 arch/ia64/kernel/unwind.c unw.hash[index] = tmp->coll_chain; tmp 2177 arch/ia64/kernel/unwind.c tmp->ip = 0; tmp 2180 arch/ia64/kernel/unwind.c write_unlock(&tmp->lock); tmp 239 arch/ia64/pci/pci.c struct resource_entry *entry, *tmp; tmp 245 arch/ia64/pci/pci.c resource_list_for_each_entry_safe(entry, tmp, &ci->resources) { tmp 274 arch/ia64/pci/pci.c struct resource_entry *entry, *tmp; tmp 277 arch/ia64/pci/pci.c resource_list_for_each_entry_safe(entry, tmp, &info->io_resources) { tmp 59 arch/m68k/atari/atasound.c unsigned char tmp; tmp 67 arch/m68k/atari/atasound.c tmp = sound_ym.rd_data_reg_sel; tmp 68 arch/m68k/atari/atasound.c tmp |= 011; tmp 69 arch/m68k/atari/atasound.c sound_ym.wd_data = tmp; tmp 106 arch/m68k/atari/atasound.c tmp &= ~1; tmp 107 arch/m68k/atari/atasound.c sound_ym.wd_data = tmp; tmp 447 arch/m68k/atari/config.c unsigned char tmp; tmp 455 arch/m68k/atari/config.c tmp = sound_ym.rd_data_reg_sel; tmp 456 arch/m68k/atari/config.c sound_ym.wd_data = on ? (tmp & ~0x02) : (tmp | 0x02); tmp 90 arch/m68k/atari/debug.c unsigned char tmp; tmp 102 arch/m68k/atari/debug.c tmp = sound_ym.rd_data_reg_sel; tmp 103 arch/m68k/atari/debug.c sound_ym.wd_data = tmp & ~0x20; /* set strobe L */ tmp 105 arch/m68k/atari/debug.c sound_ym.wd_data = tmp | 0x20; /* set strobe H */ tmp 60 arch/m68k/hp300/time.c unsigned long tmp; tmp 64 arch/m68k/hp300/time.c asm volatile ("movpw %1@(5),%0" : "=d" (tmp) : "a" (CLOCKBASE)); tmp 45 arch/m68k/include/asm/atomic.h int t, tmp; \ tmp 52 arch/m68k/include/asm/atomic.h : "+m" (*v), "=&d" (t), "=&d" (tmp) \ tmp 60 arch/m68k/include/asm/atomic.h int t, tmp; \ tmp 67 arch/m68k/include/asm/atomic.h : "+m" (*v), "=&d" (t), "=&d" (tmp) \ tmp 69 arch/m68k/include/asm/atomic.h return tmp; \ tmp 130 arch/m68k/include/asm/cacheflush_mm.h unsigned long tmp; tmp 134 arch/m68k/include/asm/cacheflush_mm.h : "=&d" (tmp) tmp 49 arch/m68k/include/asm/checksum.h unsigned long tmp; tmp 61 arch/m68k/include/asm/checksum.h : "=d" (sum), "=&a" (iph), "=&d" (ihl), "=&d" (tmp) tmp 69 arch/m68k/include/asm/checksum.h unsigned int tmp = (__force u32)sum; tmp 75 arch/m68k/include/asm/checksum.h : "=&d" (sum), "=&d" (tmp) tmp 76 arch/m68k/include/asm/checksum.h : "0" (sum), "1" (tmp)); tmp 123 arch/m68k/include/asm/checksum.h register unsigned long tmp; tmp 142 arch/m68k/include/asm/checksum.h : "=&d" (sum), "=&d" (tmp) tmp 15 arch/m68k/include/asm/cmpxchg.h unsigned long flags, tmp; tmp 21 arch/m68k/include/asm/cmpxchg.h tmp = *(u8 *)ptr; tmp 23 arch/m68k/include/asm/cmpxchg.h x = tmp; tmp 26 arch/m68k/include/asm/cmpxchg.h tmp = *(u16 *)ptr; tmp 28 arch/m68k/include/asm/cmpxchg.h x = tmp; tmp 31 arch/m68k/include/asm/cmpxchg.h tmp = *(u32 *)ptr; tmp 33 arch/m68k/include/asm/cmpxchg.h x = tmp; tmp 36 arch/m68k/include/asm/cmpxchg.h tmp = __invalid_xchg_size(x, ptr, size); tmp 62 arch/m68k/include/asm/delay.h unsigned long tmp; tmp 65 arch/m68k/include/asm/delay.h : "=d" (xloops), "=d" (tmp) tmp 228 arch/m68k/include/asm/entry.h #define GET_CURRENT(tmp) get_current tmp tmp 238 arch/m68k/include/asm/entry.h #define GET_CURRENT(tmp) tmp 253 arch/m68k/include/asm/entry.h #define GET_CURRENT(tmp) \ tmp 254 arch/m68k/include/asm/entry.h "movel %%sp,"#tmp"\n\t" \ tmp 255 arch/m68k/include/asm/entry.h "andw #-"STR(THREAD_SIZE)","#tmp"\n\t" \ tmp 256 arch/m68k/include/asm/entry.h "movel "#tmp",%%a2\n\t" \ tmp 231 arch/m68k/include/asm/mmu_context.h unsigned long tmp; tmp 240 arch/m68k/include/asm/mmu_context.h : "=d" (tmp) : "di" (FLUSH_I_AND_D)); tmp 270 arch/m68k/include/asm/mmu_context.h unsigned long tmp; tmp 277 arch/m68k/include/asm/mmu_context.h : "=d" (tmp): "di" (0x00200000)); tmp 16 arch/m68k/include/asm/page_mm.h unsigned long tmp; tmp 24 arch/m68k/include/asm/page_mm.h : "=a" (to), "=a" (from), "=d" (tmp) tmp 31 arch/m68k/include/asm/page_mm.h unsigned long tmp; tmp 46 arch/m68k/include/asm/page_mm.h : "=a" (sp), "=d" (tmp) tmp 112 arch/m68k/include/asm/raw_io.h unsigned int tmp; tmp 115 arch/m68k/include/asm/raw_io.h tmp = (nr & 15) - 1; tmp 118 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 120 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 123 arch/m68k/include/asm/raw_io.h tmp = (nr >> 4) - 1; tmp 143 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 145 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 151 arch/m68k/include/asm/raw_io.h unsigned int tmp; tmp 154 arch/m68k/include/asm/raw_io.h tmp = (nr & 15) - 1; tmp 157 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 159 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 162 arch/m68k/include/asm/raw_io.h tmp = (nr >> 4) - 1; tmp 182 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 184 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 191 arch/m68k/include/asm/raw_io.h unsigned int tmp; tmp 194 arch/m68k/include/asm/raw_io.h tmp = (nr & 15) - 1; tmp 197 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 199 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 202 arch/m68k/include/asm/raw_io.h tmp = (nr >> 4) - 1; tmp 222 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 224 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 230 arch/m68k/include/asm/raw_io.h unsigned int tmp; tmp 233 arch/m68k/include/asm/raw_io.h tmp = (nr & 15) - 1; tmp 236 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 238 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 241 arch/m68k/include/asm/raw_io.h tmp = (nr >> 4) - 1; tmp 261 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 263 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 270 arch/m68k/include/asm/raw_io.h unsigned int tmp; tmp 273 arch/m68k/include/asm/raw_io.h tmp = (nr & 15) - 1; tmp 276 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 278 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 281 arch/m68k/include/asm/raw_io.h tmp = (nr >> 4) - 1; tmp 301 arch/m68k/include/asm/raw_io.h : "=a" (buf), "=d" (tmp) tmp 303 arch/m68k/include/asm/raw_io.h "1" (tmp)); tmp 190 arch/m68k/include/asm/uaccess_mm.h #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ tmp 225 arch/m68k/include/asm/uaccess_mm.h : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \ tmp 228 arch/m68k/include/asm/uaccess_mm.h #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ tmp 229 arch/m68k/include/asm/uaccess_mm.h ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3) tmp 230 arch/m68k/include/asm/uaccess_mm.h #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ tmp 231 arch/m68k/include/asm/uaccess_mm.h ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \ tmp 237 arch/m68k/include/asm/uaccess_mm.h unsigned long res = 0, tmp; tmp 241 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); tmp 244 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 2, 0, 0); tmp 247 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 2, 1, 0); tmp 250 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 4, 0, 0); tmp 253 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 4, 1, 0); tmp 256 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 4, 2, 0); tmp 259 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 4, 2, 1); tmp 262 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 0); tmp 265 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 1); tmp 268 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 2); tmp 271 arch/m68k/include/asm/uaccess_mm.h __constant_copy_from_user_asm(res, to, from, tmp, 4, 4, 4); tmp 281 arch/m68k/include/asm/uaccess_mm.h #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ tmp 312 arch/m68k/include/asm/uaccess_mm.h : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \ tmp 318 arch/m68k/include/asm/uaccess_mm.h unsigned long res = 0, tmp; tmp 328 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); tmp 334 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 5, l, b,); tmp 337 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,); tmp 340 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b); tmp 343 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 8, l, l,); tmp 346 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 9, l, l, b); tmp 349 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w); tmp 352 arch/m68k/include/asm/uaccess_mm.h __constant_copy_to_user_asm(res, to, from, tmp, 12, l, l, l); tmp 128 arch/m68k/include/asm/uaccess_no.h char *tmp; tmp 130 arch/m68k/include/asm/uaccess_no.h for (tmp = dst; *tmp && count > 0; tmp++, count--) tmp 132 arch/m68k/include/asm/uaccess_no.h return(tmp - dst); /* DAVIDM should we count a NUL ? check getname */ tmp 129 arch/m68k/kernel/ptrace.c unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; tmp 130 arch/m68k/kernel/ptrace.c put_reg(child, PT_SR, tmp); tmp 144 arch/m68k/kernel/ptrace.c unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; tmp 145 arch/m68k/kernel/ptrace.c put_reg(child, PT_SR, tmp | T1_BIT); tmp 152 arch/m68k/kernel/ptrace.c unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; tmp 153 arch/m68k/kernel/ptrace.c put_reg(child, PT_SR, tmp | T0_BIT); tmp 165 arch/m68k/kernel/ptrace.c unsigned long tmp; tmp 177 arch/m68k/kernel/ptrace.c tmp = get_reg(child, regno); tmp 179 arch/m68k/kernel/ptrace.c tmp = child->thread.fp[regno - 21]; tmp 184 arch/m68k/kernel/ptrace.c tmp = ((tmp & 0xffff0000) << 15) | tmp 185 arch/m68k/kernel/ptrace.c ((tmp & 0x0000ffff) << 16); tmp 188 arch/m68k/kernel/ptrace.c tmp = child->mm->start_code; tmp 190 arch/m68k/kernel/ptrace.c tmp = child->mm->start_data; tmp 192 arch/m68k/kernel/ptrace.c tmp = child->mm->end_code; tmp 196 arch/m68k/kernel/ptrace.c ret = put_user(tmp, datap); tmp 227 arch/m68k/kernel/ptrace.c tmp = get_reg(child, i); tmp 228 arch/m68k/kernel/ptrace.c ret = put_user(tmp, datap); tmp 237 arch/m68k/kernel/ptrace.c ret = get_user(tmp, datap); tmp 241 arch/m68k/kernel/ptrace.c tmp &= SR_MASK; tmp 242 arch/m68k/kernel/ptrace.c tmp |= get_reg(child, PT_SR) & ~SR_MASK; tmp 244 arch/m68k/kernel/ptrace.c put_reg(child, i, tmp); tmp 107 arch/m68k/kernel/sys_m68k.c unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); tmp 109 arch/m68k/kernel/sys_m68k.c if (len <= tmp) tmp 111 arch/m68k/kernel/sys_m68k.c addr += tmp; tmp 112 arch/m68k/kernel/sys_m68k.c len -= tmp; tmp 113 arch/m68k/kernel/sys_m68k.c tmp = PAGE_SIZE; tmp 118 arch/m68k/kernel/sys_m68k.c if (len <= tmp) tmp 120 arch/m68k/kernel/sys_m68k.c addr += tmp; tmp 121 arch/m68k/kernel/sys_m68k.c len -= tmp; tmp 268 arch/m68k/kernel/sys_m68k.c unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); tmp 270 arch/m68k/kernel/sys_m68k.c if (len <= tmp) tmp 272 arch/m68k/kernel/sys_m68k.c addr += tmp; tmp 273 arch/m68k/kernel/sys_m68k.c len -= tmp; tmp 274 arch/m68k/kernel/sys_m68k.c tmp = PAGE_SIZE; tmp 279 arch/m68k/kernel/sys_m68k.c if (len <= tmp) tmp 281 arch/m68k/kernel/sys_m68k.c addr += tmp; tmp 282 arch/m68k/kernel/sys_m68k.c len -= tmp; tmp 13 arch/m68k/lib/uaccess.c unsigned long tmp, res; tmp 49 arch/m68k/lib/uaccess.c : "=d" (res), "+a" (from), "+a" (to), "=&d" (tmp) tmp 59 arch/m68k/lib/uaccess.c unsigned long tmp, res; tmp 93 arch/m68k/lib/uaccess.c : "=d" (res), "+a" (from), "+a" (to), "=&d" (tmp) tmp 579 arch/m68k/math-emu/fp_arith.c struct fp_ext tmp; tmp 592 arch/m68k/math-emu/fp_arith.c fp_copy_ext(&tmp, dest); tmp 593 arch/m68k/math-emu/fp_arith.c fp_fdiv(&tmp, src); /* NOTE: src might be modified */ tmp 594 arch/m68k/math-emu/fp_arith.c fp_roundint(&tmp, mode); tmp 595 arch/m68k/math-emu/fp_arith.c fp_fmul(&tmp, src); tmp 596 arch/m68k/math-emu/fp_arith.c fp_fsub(dest, &tmp); tmp 31 arch/m68k/math-emu/fp_log.c struct fp_ext tmp, src2; tmp 89 arch/m68k/math-emu/fp_log.c fp_copy_ext(&tmp, &src2); tmp 91 arch/m68k/math-emu/fp_log.c fp_fdiv(&tmp, dest); tmp 92 arch/m68k/math-emu/fp_log.c fp_fadd(dest, &tmp); tmp 183 arch/m68k/math-emu/multi_arith.h union fp_mant128 tmp; tmp 225 arch/m68k/math-emu/multi_arith.h fp_mul64(tmp.m32[0], tmp.m32[1], div->mant.m32[0], first - *mantp); tmp 226 arch/m68k/math-emu/multi_arith.h fp_add64(tmp.m32[0], tmp.m32[1], 0, rem); tmp 227 arch/m68k/math-emu/multi_arith.h tmp.m32[2] = 0; tmp 230 arch/m68k/math-emu/multi_arith.h fp_sub96c(tmp, 0, tmp64.m32[0], tmp64.m32[1]); tmp 232 arch/m68k/math-emu/multi_arith.h src->mant.m32[0] = tmp.m32[1]; tmp 233 arch/m68k/math-emu/multi_arith.h src->mant.m32[1] = tmp.m32[2]; tmp 235 arch/m68k/math-emu/multi_arith.h while (!fp_sub96c(tmp, 0, div->mant.m32[0], div->mant.m32[1])) { tmp 236 arch/m68k/math-emu/multi_arith.h src->mant.m32[0] = tmp.m32[1]; tmp 237 arch/m68k/math-emu/multi_arith.h src->mant.m32[1] = tmp.m32[2]; tmp 246 arch/m68k/math-emu/multi_arith.h unsigned long tmp; tmp 257 arch/m68k/math-emu/multi_arith.h : "=d" (tmp) : "0" (src->m32[2])); tmp 262 arch/m68k/math-emu/multi_arith.h dest->lowmant = tmp >> 24; tmp 263 arch/m68k/math-emu/multi_arith.h if (src->m32[3] || (tmp << 8)) tmp 273 arch/m68k/math-emu/multi_arith.h : "=d" (tmp) : "0" (src->m32[3])); tmp 274 arch/m68k/math-emu/multi_arith.h dest->lowmant = tmp >> 24; tmp 99 arch/m68k/mm/cache.c unsigned long tmp; tmp 103 arch/m68k/mm/cache.c : "=&d" (tmp) tmp 129 arch/m68k/mm/cache.c unsigned long tmp; tmp 133 arch/m68k/mm/cache.c : "=&d" (tmp) tmp 60 arch/m68k/mm/kmap.c struct vm_struct **p, *tmp, *area; tmp 66 arch/m68k/mm/kmap.c for (p = &iolist; (tmp = *p) ; p = &tmp->next) { tmp 67 arch/m68k/mm/kmap.c if (size + addr < (unsigned long)tmp->addr) tmp 73 arch/m68k/mm/kmap.c addr = tmp->size + (unsigned long)tmp->addr; tmp 84 arch/m68k/mm/kmap.c struct vm_struct **p, *tmp; tmp 89 arch/m68k/mm/kmap.c for (p = &iolist ; (tmp = *p) ; p = &tmp->next) { tmp 90 arch/m68k/mm/kmap.c if (tmp->addr == addr) { tmp 91 arch/m68k/mm/kmap.c *p = tmp->next; tmp 93 arch/m68k/mm/kmap.c __iounmap(tmp->addr, tmp->size - IO_SIZE); tmp 94 arch/m68k/mm/kmap.c kfree(tmp); tmp 64 arch/m68k/mm/memory.c unsigned char tmp; tmp 90 arch/m68k/mm/memory.c for (tmp = 1, off = 0; (mask & tmp) == 0; tmp <<= 1, off += PTABLE_SIZE) tmp 92 arch/m68k/mm/memory.c PD_MARKBITS(dp) = mask & ~tmp; tmp 207 arch/m68k/mm/memory.c int tmp; tmp 214 arch/m68k/mm/memory.c if ((tmp = -paddr & (PAGE_SIZE - 1))) { tmp 216 arch/m68k/mm/memory.c if ((len -= tmp) <= 0) tmp 218 arch/m68k/mm/memory.c paddr += tmp; tmp 220 arch/m68k/mm/memory.c tmp = PAGE_SIZE; tmp 222 arch/m68k/mm/memory.c while ((len -= tmp) >= 0) { tmp 224 arch/m68k/mm/memory.c paddr += tmp; tmp 226 arch/m68k/mm/memory.c if ((len += tmp)) tmp 256 arch/m68k/mm/memory.c int tmp = PAGE_SIZE; tmp 273 arch/m68k/mm/memory.c paddr += tmp; tmp 274 arch/m68k/mm/memory.c } while ((len -= tmp) > 0); tmp 150 arch/m68k/mvme147/config.c u8 overflow, tmp; tmp 155 arch/m68k/mvme147/config.c tmp = m147_pcc->t1_cntrl >> 4; tmp 158 arch/m68k/mvme147/config.c if (overflow != tmp) tmp 417 arch/m68k/mvme16x/config.c u8 overflow, tmp; tmp 421 arch/m68k/mvme16x/config.c tmp = in_8(PCCTOVR1) >> 4; tmp 424 arch/m68k/mvme16x/config.c if (overflow != tmp) tmp 265 arch/m68k/q40/config.c int tmp = Q40_RTC_CTRL; tmp 267 arch/m68k/q40/config.c pll->pll_value = tmp & Q40_RTC_PLL_MASK; tmp 268 arch/m68k/q40/config.c if (tmp & Q40_RTC_PLL_SIGN) tmp 284 arch/m68k/q40/config.c int tmp = (pll->pll_value & 31) | (pll->pll_value<0 ? 32 : 0) | tmp 287 arch/m68k/q40/config.c Q40_RTC_CTRL = tmp; tmp 49 arch/microblaze/include/asm/delay.h unsigned long long tmp = tmp 52 arch/microblaze/include/asm/delay.h unsigned loops = tmp >> 32; tmp 52 arch/microblaze/include/asm/irqflags.h unsigned long flags, tmp; tmp 58 arch/microblaze/include/asm/irqflags.h : "=r"(flags), "=r"(tmp) tmp 66 arch/microblaze/include/asm/irqflags.h unsigned long tmp; tmp 72 arch/microblaze/include/asm/irqflags.h : "=r"(tmp) tmp 79 arch/microblaze/include/asm/irqflags.h unsigned long tmp; tmp 85 arch/microblaze/include/asm/irqflags.h : "=r"(tmp) tmp 400 arch/microblaze/include/asm/pgtable.h unsigned long flags, old, tmp; tmp 408 arch/microblaze/include/asm/pgtable.h : "=&r" (old), "=&r" (tmp) tmp 26 arch/microblaze/kernel/cpu/pvr.c register unsigned tmp __asm__("r3"); \ tmp 27 arch/microblaze/kernel/cpu/pvr.c tmp = 0x0; /* Prevent warning about unused */ \ tmp 30 arch/microblaze/kernel/cpu/pvr.c : "=r" (tmp) : : "memory"); \ tmp 31 arch/microblaze/kernel/cpu/pvr.c val = tmp; \ tmp 135 arch/microblaze/pci/pci-common.c struct pci_controller *hose, *tmp; tmp 136 arch/microblaze/pci/pci-common.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 989 arch/microblaze/pci/pci-common.c struct pci_controller *hose, *tmp; tmp 995 arch/microblaze/pci/pci-common.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { tmp 1005 arch/microblaze/pci/pci-common.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { tmp 1017 arch/microblaze/pci/pci-common.c struct pci_controller *hose, *tmp; tmp 1019 arch/microblaze/pci/pci-common.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 154 arch/mips/alchemy/devboards/pm.c int tmp; tmp 157 arch/mips/alchemy/devboards/pm.c tmp = kstrtoul(instr, 0, &l); tmp 158 arch/mips/alchemy/devboards/pm.c if (tmp) tmp 159 arch/mips/alchemy/devboards/pm.c return tmp; tmp 172 arch/mips/alchemy/devboards/pm.c tmp = (attr->attr.name)[4] - '0'; tmp 174 arch/mips/alchemy/devboards/pm.c db1x_pm_wakemsk |= SYS_WAKEMSK_GPIO(tmp); tmp 176 arch/mips/alchemy/devboards/pm.c db1x_pm_wakemsk &= ~SYS_WAKEMSK_GPIO(tmp); tmp 180 arch/mips/alchemy/devboards/pm.c tmp = kstrtoul(instr, 0, &l); tmp 181 arch/mips/alchemy/devboards/pm.c if (tmp) tmp 182 arch/mips/alchemy/devboards/pm.c return tmp; tmp 44 arch/mips/ar7/gpio.c unsigned tmp; tmp 46 arch/mips/ar7/gpio.c tmp = readl(gpio_out) & ~(1 << gpio); tmp 48 arch/mips/ar7/gpio.c tmp |= 1 << gpio; tmp 49 arch/mips/ar7/gpio.c writel(tmp, gpio_out); tmp 58 arch/mips/ar7/gpio.c unsigned tmp; tmp 60 arch/mips/ar7/gpio.c tmp = readl(gpio >> 5 ? gpio_out1 : gpio_out0) & ~(1 << (gpio & 0x1f)); tmp 62 arch/mips/ar7/gpio.c tmp |= 1 << (gpio & 0x1f); tmp 63 arch/mips/ar7/gpio.c writel(tmp, gpio >> 5 ? gpio_out1 : gpio_out0); tmp 262 arch/mips/ar7/gpio.c u32 mux_status, pin_sel_reg, tmp; tmp 278 arch/mips/ar7/gpio.c tmp = readl(pin_sel + pin_sel_reg); tmp 279 arch/mips/ar7/gpio.c tmp |= ((gpio_cfg.func & 0x3) << gpio_cfg.shift); tmp 280 arch/mips/ar7/gpio.c writel(tmp, pin_sel + pin_sel_reg); tmp 129 arch/mips/bcm63xx/cpu.c unsigned int tmp, mips_pll_fcvo; tmp 131 arch/mips/bcm63xx/cpu.c tmp = bcm_misc_readl(MISC_STRAPBUS_6328_REG); tmp 132 arch/mips/bcm63xx/cpu.c mips_pll_fcvo = (tmp & STRAPBUS_6328_FCVO_MASK) tmp 164 arch/mips/bcm63xx/cpu.c unsigned int tmp, n1, n2, m1; tmp 167 arch/mips/bcm63xx/cpu.c tmp = bcm_perf_readl(PERF_MIPSPLLCTL_REG); tmp 168 arch/mips/bcm63xx/cpu.c n1 = (tmp & MIPSPLLCTL_N1_MASK) >> MIPSPLLCTL_N1_SHIFT; tmp 169 arch/mips/bcm63xx/cpu.c n2 = (tmp & MIPSPLLCTL_N2_MASK) >> MIPSPLLCTL_N2_SHIFT; tmp 170 arch/mips/bcm63xx/cpu.c m1 = (tmp & MIPSPLLCTL_M1CPU_MASK) >> MIPSPLLCTL_M1CPU_SHIFT; tmp 179 arch/mips/bcm63xx/cpu.c unsigned int tmp, n1, n2, m1; tmp 182 arch/mips/bcm63xx/cpu.c tmp = bcm_ddr_readl(DDR_DMIPSPLLCFG_REG); tmp 183 arch/mips/bcm63xx/cpu.c n1 = (tmp & DMIPSPLLCFG_N1_MASK) >> DMIPSPLLCFG_N1_SHIFT; tmp 184 arch/mips/bcm63xx/cpu.c n2 = (tmp & DMIPSPLLCFG_N2_MASK) >> DMIPSPLLCFG_N2_SHIFT; tmp 185 arch/mips/bcm63xx/cpu.c m1 = (tmp & DMIPSPLLCFG_M1_MASK) >> DMIPSPLLCFG_M1_SHIFT; tmp 191 arch/mips/bcm63xx/cpu.c unsigned int tmp, mips_pll_fcvo; tmp 193 arch/mips/bcm63xx/cpu.c tmp = bcm_misc_readl(MISC_STRAPBUS_6362_REG); tmp 194 arch/mips/bcm63xx/cpu.c mips_pll_fcvo = (tmp & STRAPBUS_6362_FCVO_MASK) tmp 227 arch/mips/bcm63xx/cpu.c unsigned int tmp, p1, p2, ndiv, m1; tmp 230 arch/mips/bcm63xx/cpu.c tmp = bcm_ddr_readl(DDR_DMIPSPLLCFG_6368_REG); tmp 232 arch/mips/bcm63xx/cpu.c p1 = (tmp & DMIPSPLLCFG_6368_P1_MASK) >> tmp 235 arch/mips/bcm63xx/cpu.c p2 = (tmp & DMIPSPLLCFG_6368_P2_MASK) >> tmp 238 arch/mips/bcm63xx/cpu.c ndiv = (tmp & DMIPSPLLCFG_6368_NDIV_MASK) >> tmp 241 arch/mips/bcm63xx/cpu.c tmp = bcm_ddr_readl(DDR_DMIPSPLLDIV_6368_REG); tmp 242 arch/mips/bcm63xx/cpu.c m1 = (tmp & DMIPSPLLDIV_6368_MDIV_MASK) >> tmp 296 arch/mips/bcm63xx/cpu.c unsigned int tmp; tmp 334 arch/mips/bcm63xx/cpu.c tmp = bcm_readl(chipid_reg); tmp 335 arch/mips/bcm63xx/cpu.c bcm63xx_cpu_id = (tmp & REV_CHIPID_MASK) >> REV_CHIPID_SHIFT; tmp 336 arch/mips/bcm63xx/cpu.c bcm63xx_cpu_rev = (tmp & REV_REVID_MASK) >> REV_REVID_SHIFT; tmp 92 arch/mips/bcm63xx/gpio.c u32 tmp; tmp 107 arch/mips/bcm63xx/gpio.c tmp = bcm_gpio_readl(reg); tmp 109 arch/mips/bcm63xx/gpio.c tmp &= ~mask; tmp 111 arch/mips/bcm63xx/gpio.c tmp |= mask; tmp 112 arch/mips/bcm63xx/gpio.c bcm_gpio_writel(tmp, reg); tmp 135 arch/mips/boot/elf2ecoff.c char *tmp; tmp 142 arch/mips/boot/elf2ecoff.c if (!(tmp = (char *) malloc(len))) { tmp 147 arch/mips/boot/elf2ecoff.c count = read(file, tmp, len); tmp 154 arch/mips/boot/elf2ecoff.c return tmp; tmp 102 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c uint64_t tmp; tmp 113 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c tmp = cvmx_read_csr(CVMX_ASXX_PRT_LOOP(interface)); tmp 114 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), (1 << index) | tmp); tmp 115 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c tmp = cvmx_read_csr(CVMX_ASXX_TX_PRT_EN(interface)); tmp 116 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_PRT_EN(interface), (1 << index) | tmp); tmp 117 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c tmp = cvmx_read_csr(CVMX_ASXX_RX_PRT_EN(interface)); tmp 118 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), (1 << index) | tmp); tmp 91 arch/mips/fw/lib/cmdline.c int tmp; tmp 95 arch/mips/fw/lib/cmdline.c tmp = kstrtoul(str, 0, &envl); tmp 96 arch/mips/fw/lib/cmdline.c if (tmp) tmp 16 arch/mips/include/asm/asmmacro-32.h .macro fpu_save_single thread tmp=t0 tmp 40 arch/mips/include/asm/asmmacro-32.h .macro fpu_restore_single thread tmp=t0 tmp 84 arch/mips/include/asm/asmmacro.h .macro fpu_save_16even thread tmp=t0 tmp 132 arch/mips/include/asm/asmmacro.h .macro fpu_save_double thread status tmp tmp 143 arch/mips/include/asm/asmmacro.h .macro fpu_restore_16even thread tmp=t0 tmp 191 arch/mips/include/asm/asmmacro.h .macro fpu_restore_double thread status tmp tmp 223 arch/mips/include/asm/checksum.h __wsum tmp; tmp 277 arch/mips/include/asm/checksum.h : "=&r" (sum), "=&r" (tmp) tmp 223 arch/mips/include/asm/cmpxchg.h unsigned long long tmp, ret; tmp 276 arch/mips/include/asm/cmpxchg.h "=&r"(tmp), tmp 66 arch/mips/include/asm/hazards.h unsigned long tmp; \ tmp 75 arch/mips/include/asm/hazards.h : "=r" (tmp)); \ tmp 142 arch/mips/include/asm/hazards.h unsigned long tmp; \ tmp 151 arch/mips/include/asm/hazards.h : "=r" (tmp)); \ tmp 217 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h #define custom_read_reg32(address, tmp) \ tmp 223 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "=r" (tmp), "=" GCC_OFF_SMALL_ASM() (*address) \ tmp 226 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h #define custom_write_reg32(address, tmp) \ tmp 234 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "=&r" (tmp), "=" GCC_OFF_SMALL_ASM() (*address) \ tmp 235 arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h : "0" (tmp), GCC_OFF_SMALL_ASM() (*address)) tmp 105 arch/mips/include/asm/netlogic/haldefs.h uint64_t tmp; tmp 117 arch/mips/include/asm/netlogic/haldefs.h : "=r" (tmp) tmp 315 arch/mips/include/asm/netlogic/xlr/fmn.h uint32_t status, tmp; tmp 325 arch/mips/include/asm/netlogic/xlr/fmn.h tmp = status & 0x30; tmp 326 arch/mips/include/asm/netlogic/xlr/fmn.h if (tmp != 0) tmp 327 arch/mips/include/asm/netlogic/xlr/fmn.h return tmp; tmp 241 arch/mips/include/asm/octeon/cvmx-cmd-queue.h int tmp; tmp 279 arch/mips/include/asm/octeon/cvmx-cmd-queue.h [now_serving] "=m"(qptr->now_serving), [ticket] "=r"(tmp), tmp 105 arch/mips/include/asm/octeon/cvmx-spinlock.h unsigned int tmp; tmp 117 arch/mips/include/asm/octeon/cvmx-spinlock.h [val] "+m"(lock->value), [tmp] "=&r"(tmp) tmp 120 arch/mips/include/asm/octeon/cvmx-spinlock.h return tmp != 0; /* normalize to 0 or 1 */ tmp 130 arch/mips/include/asm/octeon/cvmx-spinlock.h unsigned int tmp; tmp 140 arch/mips/include/asm/octeon/cvmx-spinlock.h [val] "+m"(lock->value), [tmp] "=&r"(tmp) tmp 163 arch/mips/include/asm/octeon/cvmx-spinlock.h unsigned int tmp; tmp 177 arch/mips/include/asm/octeon/cvmx-spinlock.h [val] "+m"(*word), [tmp] "=&r"(tmp), [sav] "=&r"(sav) tmp 195 arch/mips/include/asm/octeon/cvmx-spinlock.h unsigned int tmp; tmp 210 arch/mips/include/asm/octeon/cvmx-spinlock.h [val] "+m"(*word), [tmp] "=&r"(tmp) tmp 213 arch/mips/include/asm/octeon/cvmx-spinlock.h return tmp != 0; /* normalize to 0 or 1 */ tmp 19 arch/mips/include/asm/tlbex.h unsigned int tmp, unsigned int ptr); tmp 20 arch/mips/include/asm/tlbex.h void build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr); tmp 21 arch/mips/include/asm/tlbex.h void build_get_ptep(u32 **p, unsigned int tmp, unsigned int ptr); tmp 22 arch/mips/include/asm/tlbex.h void build_update_entries(u32 **p, unsigned int tmp, unsigned int ptep); tmp 186 arch/mips/kernel/cpu-bugs64.c long v, tmp; tmp 213 arch/mips/kernel/cpu-bugs64.c : "=r" (v), "=&r" (tmp) tmp 231 arch/mips/kernel/cpu-bugs64.c : "=r" (v), "=&r" (tmp) tmp 249 arch/mips/kernel/cpu-bugs64.c long v, w, tmp; tmp 283 arch/mips/kernel/cpu-bugs64.c : "=&r" (v), "=&r" (w), "=&r" (tmp) tmp 301 arch/mips/kernel/cpu-bugs64.c : "=&r" (v), "=&r" (w), "=&r" (tmp) tmp 42 arch/mips/kernel/cpu-probe.c unsigned long tmp, fpu_id; tmp 44 arch/mips/kernel/cpu-probe.c tmp = read_c0_status(); tmp 47 arch/mips/kernel/cpu-probe.c write_c0_status(tmp); tmp 1033 arch/mips/kernel/cpu-probe.c unsigned int tmp; \ tmp 1034 arch/mips/kernel/cpu-probe.c tmp = read_gc0_##name(); \ tmp 1035 arch/mips/kernel/cpu-probe.c write_gc0_##name(tmp | (bits)); \ tmp 1038 arch/mips/kernel/cpu-probe.c write_gc0_##name(tmp); \ tmp 270 arch/mips/kernel/ftrace.c unsigned long sp, ip, tmp; tmp 306 arch/mips/kernel/ftrace.c safe_load_stack(tmp, sp, faulted); tmp 310 arch/mips/kernel/ftrace.c if (tmp == old_parent_ra) tmp 493 arch/mips/kernel/kprobes.c struct hlist_node *tmp; tmp 513 arch/mips/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 538 arch/mips/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 323 arch/mips/kernel/process.c unsigned short tmp; tmp 336 arch/mips/kernel/process.c tmp = ip->mm_b0_format.simmediate >> 1; tmp 337 arch/mips/kernel/process.c tmp = ((tmp & 0x1ff) ^ 0x100) - 0x100; tmp 338 arch/mips/kernel/process.c if ((tmp + 2) < 4) /* 0x0,0x1,0x1fe,0x1ff are special */ tmp 339 arch/mips/kernel/process.c tmp ^= 0x100; tmp 340 arch/mips/kernel/process.c *frame_size = -(signed short)(tmp << 2); tmp 345 arch/mips/kernel/process.c tmp = ip->mm16_r5_format.imm >> 1; tmp 346 arch/mips/kernel/process.c *frame_size = -(signed short)(tmp & 0xf); tmp 1182 arch/mips/kernel/ptrace.c unsigned long tmp = 0; tmp 1189 arch/mips/kernel/ptrace.c tmp = regs->regs[addr]; tmp 1197 arch/mips/kernel/ptrace.c tmp = -1; tmp 1209 arch/mips/kernel/ptrace.c tmp = get_fpr32(&fregs[(addr & ~1) - FPR_BASE], tmp 1214 arch/mips/kernel/ptrace.c tmp = get_fpr64(&fregs[addr - FPR_BASE], 0); tmp 1218 arch/mips/kernel/ptrace.c tmp = child->thread.fpu.fcr31; tmp 1222 arch/mips/kernel/ptrace.c tmp = boot_cpu_data.fpu_id; tmp 1226 arch/mips/kernel/ptrace.c tmp = regs->cp0_epc; tmp 1229 arch/mips/kernel/ptrace.c tmp = regs->cp0_cause; tmp 1232 arch/mips/kernel/ptrace.c tmp = regs->cp0_badvaddr; tmp 1235 arch/mips/kernel/ptrace.c tmp = regs->hi; tmp 1238 arch/mips/kernel/ptrace.c tmp = regs->lo; tmp 1242 arch/mips/kernel/ptrace.c tmp = regs->acx; tmp 1249 arch/mips/kernel/ptrace.c tmp = 0; tmp 1254 arch/mips/kernel/ptrace.c tmp = dregs[addr - DSP_BASE]; tmp 1259 arch/mips/kernel/ptrace.c tmp = 0; tmp 1263 arch/mips/kernel/ptrace.c tmp = child->thread.dsp.dspcontrol; tmp 1266 arch/mips/kernel/ptrace.c tmp = 0; tmp 1270 arch/mips/kernel/ptrace.c ret = put_user(tmp, datalp); tmp 64 arch/mips/kernel/ptrace32.c u32 tmp; tmp 74 arch/mips/kernel/ptrace32.c copied = ptrace_access_vm(child, (u64)addrOthers, &tmp, tmp 75 arch/mips/kernel/ptrace32.c sizeof(tmp), FOLL_FORCE); tmp 76 arch/mips/kernel/ptrace32.c if (copied != sizeof(tmp)) tmp 78 arch/mips/kernel/ptrace32.c ret = put_user(tmp, (u32 __user *) (unsigned long) data); tmp 85 arch/mips/kernel/ptrace32.c unsigned int tmp; tmp 92 arch/mips/kernel/ptrace32.c tmp = regs->regs[addr]; tmp 100 arch/mips/kernel/ptrace32.c tmp = -1; tmp 110 arch/mips/kernel/ptrace32.c tmp = get_fpr32(&fregs[(addr & ~1) - FPR_BASE], tmp 114 arch/mips/kernel/ptrace32.c tmp = get_fpr64(&fregs[addr - FPR_BASE], 0); tmp 118 arch/mips/kernel/ptrace32.c tmp = child->thread.fpu.fcr31; tmp 122 arch/mips/kernel/ptrace32.c tmp = boot_cpu_data.fpu_id; tmp 126 arch/mips/kernel/ptrace32.c tmp = regs->cp0_epc; tmp 129 arch/mips/kernel/ptrace32.c tmp = regs->cp0_cause; tmp 132 arch/mips/kernel/ptrace32.c tmp = regs->cp0_badvaddr; tmp 135 arch/mips/kernel/ptrace32.c tmp = regs->hi; tmp 138 arch/mips/kernel/ptrace32.c tmp = regs->lo; tmp 144 arch/mips/kernel/ptrace32.c tmp = 0; tmp 149 arch/mips/kernel/ptrace32.c tmp = dregs[addr - DSP_BASE]; tmp 154 arch/mips/kernel/ptrace32.c tmp = 0; tmp 158 arch/mips/kernel/ptrace32.c tmp = child->thread.dsp.dspcontrol; tmp 161 arch/mips/kernel/ptrace32.c tmp = 0; tmp 165 arch/mips/kernel/ptrace32.c ret = put_user(tmp, (unsigned __user *) (unsigned long) data); tmp 385 arch/mips/kernel/signal.c int err, sig = 0, tmp __maybe_unused; tmp 425 arch/mips/kernel/signal.c err = __get_user(tmp, &fpregs[0]) | tmp 426 arch/mips/kernel/signal.c __get_user(tmp, &fpregs[31]) | tmp 427 arch/mips/kernel/signal.c __get_user(tmp, csr); tmp 54 arch/mips/kernel/smp-mt.c unsigned long tmp = read_vpe_c0_vpeconf0(); tmp 56 arch/mips/kernel/smp-mt.c tmp &= ~VPECONF0_VPA; tmp 59 arch/mips/kernel/smp-mt.c tmp |= VPECONF0_MVP; tmp 60 arch/mips/kernel/smp-mt.c write_vpe_c0_vpeconf0(tmp); tmp 82 arch/mips/kernel/smp-mt.c unsigned long tmp; tmp 98 arch/mips/kernel/smp-mt.c tmp = read_tc_c0_tcstatus(); tmp 101 arch/mips/kernel/smp-mt.c tmp &= ~(TCSTATUS_A | TCSTATUS_DA); tmp 102 arch/mips/kernel/smp-mt.c tmp |= TCSTATUS_IXMT; /* interrupt exempt */ tmp 103 arch/mips/kernel/smp-mt.c write_tc_c0_tcstatus(tmp); tmp 98 arch/mips/kernel/syscall.c unsigned long old, tmp; tmp 130 arch/mips/kernel/syscall.c [tmp] "=&r" (tmp) tmp 160 arch/mips/kernel/syscall.c [tmp] "=&r" (tmp) tmp 151 arch/mips/kernel/vpe-mt.c int tmp; tmp 160 arch/mips/kernel/vpe-mt.c tmp = read_tc_c0_tcstatus(); tmp 163 arch/mips/kernel/vpe-mt.c tmp &= ~(TCSTATUS_A | TCSTATUS_DA); tmp 164 arch/mips/kernel/vpe-mt.c tmp |= TCSTATUS_IXMT; /* interrupt exempt */ tmp 165 arch/mips/kernel/vpe-mt.c write_tc_c0_tcstatus(tmp); tmp 426 arch/mips/kernel/vpe-mt.c unsigned long tmp = read_vpe_c0_vpeconf0(); tmp 428 arch/mips/kernel/vpe-mt.c tmp &= ~VPECONF0_VPA; tmp 431 arch/mips/kernel/vpe-mt.c tmp |= VPECONF0_MVP; tmp 432 arch/mips/kernel/vpe-mt.c write_vpe_c0_vpeconf0(tmp); tmp 452 arch/mips/kernel/vpe-mt.c unsigned long tmp; tmp 465 arch/mips/kernel/vpe-mt.c tmp = read_tc_c0_tcbind(); tmp 466 arch/mips/kernel/vpe-mt.c if (tmp & TCBIND_CURVPE) { tmp 468 arch/mips/kernel/vpe-mt.c write_tc_c0_tcbind(tmp & ~TCBIND_CURVPE); tmp 477 arch/mips/kernel/vpe-mt.c tmp = read_tc_c0_tcstatus(); tmp 480 arch/mips/kernel/vpe-mt.c tmp &= ~(TCSTATUS_A | TCSTATUS_DA); tmp 481 arch/mips/kernel/vpe-mt.c tmp |= TCSTATUS_IXMT; /* interrupt exempt */ tmp 482 arch/mips/kernel/vpe-mt.c write_tc_c0_tcstatus(tmp); tmp 151 arch/mips/kvm/entry.c static void kvm_mips_build_save_scratch(u32 **p, unsigned int tmp, tmp 155 arch/mips/kvm/entry.c UASM_i_MFC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); tmp 156 arch/mips/kvm/entry.c UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_epc), frame); tmp 160 arch/mips/kvm/entry.c UASM_i_MFC0(p, tmp, scratch_tmp[0], scratch_tmp[1]); tmp 161 arch/mips/kvm/entry.c UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); tmp 165 arch/mips/kvm/entry.c static void kvm_mips_build_restore_scratch(u32 **p, unsigned int tmp, tmp 172 arch/mips/kvm/entry.c UASM_i_LW(p, tmp, offsetof(struct pt_regs, cp0_epc), frame); tmp 173 arch/mips/kvm/entry.c UASM_i_MTC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); tmp 176 arch/mips/kvm/entry.c UASM_i_LW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); tmp 177 arch/mips/kvm/entry.c UASM_i_MTC0(p, tmp, scratch_tmp[0], scratch_tmp[1]); tmp 30 arch/mips/lasat/at93c.c u32 tmp = *at93c->reg; tmp 31 arch/mips/lasat/at93c.c return tmp; tmp 36 arch/mips/lasat/at93c.c u32 tmp = *at93c->rdata_reg; tmp 37 arch/mips/lasat/at93c.c return tmp; tmp 32 arch/mips/lasat/ds1603.c unsigned long tmp = *ds1603->reg; tmp 33 arch/mips/lasat/ds1603.c return tmp; tmp 38 arch/mips/lasat/ds1603.c unsigned long tmp = *ds1603->data_reg; tmp 39 arch/mips/lasat/ds1603.c return tmp; tmp 32 arch/mips/lasat/picvue.c u32 tmp = *picvue->reg; tmp 33 arch/mips/lasat/picvue.c return tmp; tmp 35 arch/mips/loongson64/common/env.c unsigned int tmp __maybe_unused; \ tmp 38 arch/mips/loongson64/common/env.c tmp = kstrtou32((char *)p + strlen(option"="), 10, &res); \ tmp 431 arch/mips/mm/init.c unsigned long tmp; tmp 436 arch/mips/mm/init.c for (tmp = highstart_pfn; tmp < highend_pfn; tmp++) { tmp 437 arch/mips/mm/init.c struct page *page = pfn_to_page(tmp); tmp 439 arch/mips/mm/init.c if (!memblock_is_memory(PFN_PHYS(tmp))) tmp 32 arch/mips/mm/sc-ip22.c unsigned long tmp; tmp 69 arch/mips/mm/sc-ip22.c : "=r" (first), "=r" (last), "=&r" (tmp) tmp 124 arch/mips/mm/sc-mips.c unsigned int tmp; tmp 142 arch/mips/mm/sc-mips.c tmp = (config2 >> 4) & 0x0f; tmp 143 arch/mips/mm/sc-mips.c if (0 < tmp && tmp <= 7) tmp 144 arch/mips/mm/sc-mips.c c->scache.linesz = 2 << tmp; tmp 188 arch/mips/mm/sc-mips.c unsigned int tmp; tmp 212 arch/mips/mm/sc-mips.c tmp = (config2 >> 8) & 0x0f; tmp 213 arch/mips/mm/sc-mips.c if (tmp <= 7) tmp 214 arch/mips/mm/sc-mips.c c->scache.sets = 64 << tmp; tmp 218 arch/mips/mm/sc-mips.c tmp = (config2 >> 0) & 0x0f; tmp 219 arch/mips/mm/sc-mips.c if (tmp <= 7) tmp 220 arch/mips/mm/sc-mips.c c->scache.ways = tmp + 1; tmp 652 arch/mips/mm/tlbex.c unsigned int tmp, enum label_id lid, tmp 665 arch/mips/mm/tlbex.c uasm_i_lui(p, tmp, PM_DEFAULT_MASK >> 16); tmp 666 arch/mips/mm/tlbex.c uasm_i_ori(p, tmp, tmp, PM_DEFAULT_MASK & 0xffff); tmp 667 arch/mips/mm/tlbex.c uasm_i_mtc0(p, tmp, C0_PAGEMASK); tmp 670 arch/mips/mm/tlbex.c uasm_i_ori(p, tmp, 0, PM_DEFAULT_MASK); tmp 671 arch/mips/mm/tlbex.c uasm_i_mtc0(p, tmp, C0_PAGEMASK); tmp 684 arch/mips/mm/tlbex.c uasm_i_lui(p, tmp, PM_DEFAULT_MASK >> 16); tmp 685 arch/mips/mm/tlbex.c uasm_i_ori(p, tmp, tmp, PM_DEFAULT_MASK & 0xffff); tmp 687 arch/mips/mm/tlbex.c uasm_i_mtc0(p, tmp, C0_PAGEMASK); tmp 689 arch/mips/mm/tlbex.c uasm_i_ori(p, tmp, 0, PM_DEFAULT_MASK); tmp 691 arch/mips/mm/tlbex.c uasm_i_mtc0(p, tmp, C0_PAGEMASK); tmp 701 arch/mips/mm/tlbex.c unsigned int tmp, tmp 706 arch/mips/mm/tlbex.c uasm_i_lui(p, tmp, PM_HUGE_MASK >> 16); tmp 707 arch/mips/mm/tlbex.c uasm_i_ori(p, tmp, tmp, PM_HUGE_MASK & 0xffff); tmp 708 arch/mips/mm/tlbex.c uasm_i_mtc0(p, tmp, C0_PAGEMASK); tmp 712 arch/mips/mm/tlbex.c build_restore_pagemask(p, r, tmp, label_leave, restore_scratch); tmp 719 arch/mips/mm/tlbex.c build_is_huge_pte(u32 **p, struct uasm_reloc **r, unsigned int tmp, tmp 722 arch/mips/mm/tlbex.c UASM_i_LW(p, tmp, 0, pmd); tmp 724 arch/mips/mm/tlbex.c uasm_il_bbit1(p, r, tmp, ilog2(_PAGE_HUGE), lid); tmp 726 arch/mips/mm/tlbex.c uasm_i_andi(p, tmp, tmp, _PAGE_HUGE); tmp 727 arch/mips/mm/tlbex.c uasm_il_bnez(p, r, tmp, lid); tmp 732 arch/mips/mm/tlbex.c unsigned int tmp) tmp 749 arch/mips/mm/tlbex.c uasm_i_lui(p, tmp, HPAGE_SIZE >> (7 + 16)); tmp 757 arch/mips/mm/tlbex.c UASM_i_ADDU(p, pte, pte, tmp); tmp 802 arch/mips/mm/tlbex.c unsigned int tmp, unsigned int ptr) tmp 810 arch/mips/mm/tlbex.c uasm_i_dmfc0(p, tmp, C0_BADVADDR); tmp 824 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, ptr, tmp, PGDIR_SHIFT + PGD_ORDER + PAGE_SHIFT - 3); tmp 827 arch/mips/mm/tlbex.c uasm_il_bltz(p, r, tmp, label_vmalloc); tmp 853 arch/mips/mm/tlbex.c UASM_i_LA_mostly(p, tmp, pgdc); tmp 854 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, tmp); tmp 855 arch/mips/mm/tlbex.c uasm_i_dmfc0(p, tmp, C0_BADVADDR); tmp 866 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, tmp, tmp, PGDIR_SHIFT - 3); tmp 868 arch/mips/mm/tlbex.c uasm_i_andi(p, tmp, tmp, (PTRS_PER_PGD - 1)<<3); tmp 869 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, tmp); /* add in pgd offset */ tmp 871 arch/mips/mm/tlbex.c uasm_i_dmfc0(p, tmp, C0_BADVADDR); /* get faulting address */ tmp 873 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, tmp, tmp, PUD_SHIFT - 3); /* get pud offset in bytes */ tmp 874 arch/mips/mm/tlbex.c uasm_i_andi(p, tmp, tmp, (PTRS_PER_PUD - 1) << 3); tmp 875 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, tmp); /* add in pud offset */ tmp 878 arch/mips/mm/tlbex.c uasm_i_dmfc0(p, tmp, C0_BADVADDR); /* get faulting address */ tmp 880 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, tmp, tmp, PMD_SHIFT-3); /* get pmd offset in bytes */ tmp 881 arch/mips/mm/tlbex.c uasm_i_andi(p, tmp, tmp, (PTRS_PER_PMD - 1)<<3); tmp 882 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, tmp); /* add in pmd offset */ tmp 967 arch/mips/mm/tlbex.c void build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr) tmp 972 arch/mips/mm/tlbex.c uasm_i_mfc0(p, tmp, C0_BADVADDR); /* get faulting address */ tmp 979 arch/mips/mm/tlbex.c UASM_i_LA_mostly(p, tmp, pgdc); tmp 981 arch/mips/mm/tlbex.c uasm_i_addu(p, ptr, tmp, ptr); tmp 985 arch/mips/mm/tlbex.c uasm_i_mfc0(p, tmp, C0_BADVADDR); /* get faulting address */ tmp 988 arch/mips/mm/tlbex.c uasm_i_srl(p, tmp, tmp, PGDIR_SHIFT); /* get pgd only bits */ tmp 989 arch/mips/mm/tlbex.c uasm_i_sll(p, tmp, tmp, PGD_T_LOG2); tmp 990 arch/mips/mm/tlbex.c uasm_i_addu(p, ptr, ptr, tmp); /* add in pgd offset */ tmp 1022 arch/mips/mm/tlbex.c void build_get_ptep(u32 **p, unsigned int tmp, unsigned int ptr) tmp 1034 arch/mips/mm/tlbex.c GET_CONTEXT(p, tmp); /* get context reg */ tmp 1038 arch/mips/mm/tlbex.c GET_CONTEXT(p, tmp); /* get context reg */ tmp 1043 arch/mips/mm/tlbex.c build_adjust_context(p, tmp); tmp 1044 arch/mips/mm/tlbex.c UASM_i_ADDU(p, ptr, ptr, tmp); /* add in offset */ tmp 1048 arch/mips/mm/tlbex.c void build_update_entries(u32 **p, unsigned int tmp, unsigned int ptep) tmp 1060 arch/mips/mm/tlbex.c uasm_i_lw(p, tmp, pte_off_even, ptep); /* even pte */ tmp 1061 arch/mips/mm/tlbex.c UASM_i_ROTR(p, tmp, tmp, ilog2(_PAGE_GLOBAL)); tmp 1062 arch/mips/mm/tlbex.c UASM_i_MTC0(p, tmp, C0_ENTRYLO0); tmp 1065 arch/mips/mm/tlbex.c uasm_i_lw(p, tmp, 0, ptep); tmp 1066 arch/mips/mm/tlbex.c uasm_i_ext(p, tmp, tmp, 0, 24); tmp 1067 arch/mips/mm/tlbex.c uasm_i_mthc0(p, tmp, C0_ENTRYLO0); tmp 1070 arch/mips/mm/tlbex.c uasm_i_lw(p, tmp, pte_off_odd, ptep); /* odd pte */ tmp 1071 arch/mips/mm/tlbex.c UASM_i_ROTR(p, tmp, tmp, ilog2(_PAGE_GLOBAL)); tmp 1072 arch/mips/mm/tlbex.c UASM_i_MTC0(p, tmp, C0_ENTRYLO1); tmp 1075 arch/mips/mm/tlbex.c uasm_i_lw(p, tmp, sizeof(pte_t), ptep); tmp 1076 arch/mips/mm/tlbex.c uasm_i_ext(p, tmp, tmp, 0, 24); tmp 1077 arch/mips/mm/tlbex.c uasm_i_mthc0(p, tmp, C0_ENTRYLO1); tmp 1082 arch/mips/mm/tlbex.c UASM_i_LW(p, tmp, pte_off_even, ptep); /* get even pte */ tmp 1086 arch/mips/mm/tlbex.c build_convert_pte_to_entrylo(p, tmp); tmp 1089 arch/mips/mm/tlbex.c UASM_i_MTC0(p, tmp, C0_ENTRYLO0); /* load it */ tmp 1092 arch/mips/mm/tlbex.c uasm_i_mfc0(p, tmp, C0_INDEX); tmp 1107 arch/mips/mm/tlbex.c struct uasm_reloc **r, unsigned int tmp, tmp 1120 arch/mips/mm/tlbex.c UASM_i_MFC0(p, tmp, C0_BADVADDR); tmp 1132 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, scratch, tmp, tmp 1147 arch/mips/mm/tlbex.c UASM_i_MFC0(p, tmp, C0_BADVADDR); tmp 1158 arch/mips/mm/tlbex.c uasm_il_bltz(p, r, tmp, label_vmalloc); tmp 1176 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); tmp 1188 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); tmp 1191 arch/mips/mm/tlbex.c GET_CONTEXT(p, tmp); /* get context reg */ tmp 1204 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, scratch, tmp, PUD_SHIFT - 3); tmp 1219 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, scratch, tmp, PMD_SHIFT - 3); tmp 1221 arch/mips/mm/tlbex.c GET_CONTEXT(p, tmp); /* get context reg */ tmp 1231 arch/mips/mm/tlbex.c build_adjust_context(p, tmp); tmp 1248 arch/mips/mm/tlbex.c odd = tmp; tmp 1249 arch/mips/mm/tlbex.c UASM_i_LWX(p, even, scratch, tmp); tmp 1250 arch/mips/mm/tlbex.c UASM_i_ADDIU(p, tmp, tmp, sizeof(pte_t)); tmp 1251 arch/mips/mm/tlbex.c UASM_i_LWX(p, odd, scratch, tmp); tmp 1253 arch/mips/mm/tlbex.c UASM_i_ADDU(p, ptr, scratch, tmp); /* add in offset */ tmp 1254 arch/mips/mm/tlbex.c even = tmp; tmp 1879 arch/mips/mm/tlbex.c build_r3000_pte_reload_tlbwi(u32 **p, unsigned int pte, unsigned int tmp) tmp 1882 arch/mips/mm/tlbex.c uasm_i_mfc0(p, tmp, C0_EPC); /* cp0 delay */ tmp 1884 arch/mips/mm/tlbex.c uasm_i_jr(p, tmp); tmp 1897 arch/mips/mm/tlbex.c unsigned int tmp) tmp 1899 arch/mips/mm/tlbex.c uasm_i_mfc0(p, tmp, C0_INDEX); tmp 1901 arch/mips/mm/tlbex.c uasm_il_bltz(p, r, tmp, label_r3000_write_probe_fail); /* cp0 delay */ tmp 1902 arch/mips/mm/tlbex.c uasm_i_mfc0(p, tmp, C0_EPC); /* branch delay */ tmp 1904 arch/mips/mm/tlbex.c uasm_i_jr(p, tmp); tmp 1908 arch/mips/mm/tlbex.c uasm_i_jr(p, tmp); tmp 2092 arch/mips/mm/tlbex.c struct uasm_reloc **r, unsigned int tmp, tmp 2097 arch/mips/mm/tlbex.c build_update_entries(p, tmp, ptr); tmp 2104 arch/mips/mm/tlbex.c build_get_pgd_vmalloc64(p, l, r, tmp, ptr, not_refill); tmp 1801 arch/mips/net/ebpf_jit.c struct bpf_prog *tmp; tmp 1810 arch/mips/net/ebpf_jit.c tmp = bpf_jit_blind_constants(prog); tmp 1814 arch/mips/net/ebpf_jit.c if (IS_ERR(tmp)) tmp 1816 arch/mips/net/ebpf_jit.c if (tmp != prog) { tmp 1818 arch/mips/net/ebpf_jit.c prog = tmp; tmp 1919 arch/mips/net/ebpf_jit.c tmp : orig_prog); tmp 294 arch/mips/pci/ops-bcm63xx.c u32 data, tmp; tmp 319 arch/mips/pci/ops-bcm63xx.c tmp = (data >> 16) & 0xffff; tmp 321 arch/mips/pci/ops-bcm63xx.c tmp &= ~PCI_CB_BRIDGE_CTL_PREFETCH_MEM0; tmp 322 arch/mips/pci/ops-bcm63xx.c tmp &= ~PCI_CB_BRIDGE_CTL_PREFETCH_MEM1; tmp 323 arch/mips/pci/ops-bcm63xx.c fake_cb_bridge_regs.bridge_control = tmp; tmp 100 arch/mips/pci/pci-bcm63xx.c u32 tmp; tmp 102 arch/mips/pci/pci-bcm63xx.c tmp = reg & MPI_PCICFGCTL_CFGADDR_MASK; tmp 103 arch/mips/pci/pci-bcm63xx.c tmp |= MPI_PCICFGCTL_WRITEEN_MASK; tmp 104 arch/mips/pci/pci-bcm63xx.c bcm_mpi_writel(tmp, MPI_PCICFGCTL_REG); tmp 111 arch/mips/pci/pci-bcm63xx.c u32 tmp; tmp 113 arch/mips/pci/pci-bcm63xx.c tmp = reg & MPI_PCICFGCTL_CFGADDR_MASK; tmp 114 arch/mips/pci/pci-bcm63xx.c tmp |= MPI_PCICFGCTL_WRITEEN_MASK; tmp 115 arch/mips/pci/pci-bcm63xx.c bcm_mpi_writel(tmp, MPI_PCICFGCTL_REG); tmp 65 arch/mips/sgi-ip22/ip22-gio.c struct device *tmp; tmp 69 arch/mips/sgi-ip22/ip22-gio.c tmp = get_device(&dev->dev); tmp 70 arch/mips/sgi-ip22/ip22-gio.c if (tmp) tmp 71 arch/mips/sgi-ip22/ip22-gio.c return to_gio_device(tmp); tmp 233 arch/mips/sgi-ip22/ip22-gio.c u32 tmp = sgimc->giopar; tmp 237 arch/mips/sgi-ip22/ip22-gio.c tmp |= SGIMC_GIOPAR_MASTERGFX; tmp 240 arch/mips/sgi-ip22/ip22-gio.c tmp |= SGIMC_GIOPAR_MASTEREXP0; tmp 243 arch/mips/sgi-ip22/ip22-gio.c tmp |= SGIMC_GIOPAR_MASTEREXP1; tmp 246 arch/mips/sgi-ip22/ip22-gio.c sgimc->giopar = tmp; tmp 252 arch/mips/sgi-ip22/ip22-gio.c u32 tmp = sgimc->giopar; tmp 256 arch/mips/sgi-ip22/ip22-gio.c tmp |= SGIMC_GIOPAR_GFX64; tmp 259 arch/mips/sgi-ip22/ip22-gio.c tmp |= SGIMC_GIOPAR_EXP064; tmp 262 arch/mips/sgi-ip22/ip22-gio.c tmp |= SGIMC_GIOPAR_EXP164; tmp 265 arch/mips/sgi-ip22/ip22-gio.c sgimc->giopar = tmp; tmp 315 arch/mips/sgi-ip22/ip22-gio.c u32 tmp; tmp 320 arch/mips/sgi-ip22/ip22-gio.c if (!get_dbe(tmp, ptr)) { tmp 321 arch/mips/sgi-ip22/ip22-gio.c if (tmp == 0xdeadbeef) tmp 332 arch/mips/sgi-ip22/ip22-gio.c u32 tmp; tmp 338 arch/mips/sgi-ip22/ip22-gio.c tmp = 0x7f; tmp 340 arch/mips/sgi-ip22/ip22-gio.c if (!ip22_gio_id(addr, &tmp)) { tmp 346 arch/mips/sgi-ip22/ip22-gio.c if (ip22_gio_id(addr + NEWPORT_USTATUS_OFFS, &tmp)) tmp 347 arch/mips/sgi-ip22/ip22-gio.c tmp = 0x7e; tmp 349 arch/mips/sgi-ip22/ip22-gio.c tmp = 0; tmp 352 arch/mips/sgi-ip22/ip22-gio.c if (tmp) { tmp 353 arch/mips/sgi-ip22/ip22-gio.c id = GIO_ID(tmp); tmp 354 arch/mips/sgi-ip22/ip22-gio.c if (tmp & GIO_32BIT_ID) { tmp 355 arch/mips/sgi-ip22/ip22-gio.c if (tmp & GIO_64BIT_IFACE) tmp 59 arch/mips/sgi-ip22/ip22-mc.c unsigned int tmp = get_bank_config(i); tmp 60 arch/mips/sgi-ip22/ip22-mc.c if (!(tmp & SGIMC_MCONFIG_BVALID)) tmp 63 arch/mips/sgi-ip22/ip22-mc.c bank[cnt].size = get_bank_size(tmp); tmp 64 arch/mips/sgi-ip22/ip22-mc.c bank[cnt].addr = get_bank_addr(tmp); tmp 110 arch/mips/sgi-ip22/ip22-mc.c u32 tmp; tmp 127 arch/mips/sgi-ip22/ip22-mc.c tmp = sgimc->cpuctrl0; tmp 128 arch/mips/sgi-ip22/ip22-mc.c tmp &= ~SGIMC_CCTRL0_WDOG; tmp 129 arch/mips/sgi-ip22/ip22-mc.c sgimc->cpuctrl0 = tmp; tmp 142 arch/mips/sgi-ip22/ip22-mc.c tmp = sgimc->cpuctrl0; tmp 144 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_CCTRL0_EPERRGIO | SGIMC_CCTRL0_EPERRMEM; tmp 146 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_CCTRL0_R4KNOCHKPARR; tmp 147 arch/mips/sgi-ip22/ip22-mc.c sgimc->cpuctrl0 = tmp; tmp 152 arch/mips/sgi-ip22/ip22-mc.c tmp = sgimc->cpuctrl1; tmp 153 arch/mips/sgi-ip22/ip22-mc.c tmp &= ~0xf; tmp 154 arch/mips/sgi-ip22/ip22-mc.c tmp |= 0xd; tmp 155 arch/mips/sgi-ip22/ip22-mc.c sgimc->cpuctrl1 = tmp; tmp 181 arch/mips/sgi-ip22/ip22-mc.c tmp = sgimc->giopar & SGIMC_GIOPAR_GFX64; /* keep gfx 64bit settings */ tmp 182 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_HPC64; /* All 1st HPC's interface at 64bits */ tmp 183 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_ONEBUS; /* Only one physical GIO bus exists */ tmp 188 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_HPC264; /* 2nd HPC at 64bits */ tmp 189 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_PLINEEXP0; /* exp0 pipelines */ tmp 190 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_MASTEREXP1; /* exp1 masters */ tmp 191 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_RTIMEEXP0; /* exp0 is realtime */ tmp 193 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_HPC264; /* 2nd HPC 64bits */ tmp 194 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_PLINEEXP0; /* exp[01] pipelined */ tmp 195 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_PLINEEXP1; tmp 196 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_MASTEREISA; /* EISA masters */ tmp 200 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_EISA64; /* MC talks to EISA at 64bits */ tmp 201 arch/mips/sgi-ip22/ip22-mc.c tmp |= SGIMC_GIOPAR_MASTEREISA; /* EISA bus can act as master */ tmp 203 arch/mips/sgi-ip22/ip22-mc.c sgimc->giopar = tmp; /* poof */ tmp 114 arch/mips/sgi-ip22/ip22-nvram.c unsigned short tmp; tmp 117 arch/mips/sgi-ip22/ip22-nvram.c tmp = hpc3c0->bbram[reg++] & 0xff; tmp 118 arch/mips/sgi-ip22/ip22-nvram.c return (tmp << 8) | (hpc3c0->bbram[reg] & 0xff); tmp 156 arch/mips/sgi-ip22/ip22-platform.c unsigned short tmp = ip22_nvram_read(EADDR_NVOFS / 2 + i); tmp 158 arch/mips/sgi-ip22/ip22-platform.c eth0_pd.mac[2 * i] = tmp >> 8; tmp 159 arch/mips/sgi-ip22/ip22-platform.c eth0_pd.mac[2 * i + 1] = tmp & 0xff; tmp 181 arch/mips/sgi-ip22/ip22-platform.c unsigned short tmp = ip22_eeprom_read(&hpc3c1->eeprom, tmp 184 arch/mips/sgi-ip22/ip22-platform.c eth1_pd.mac[2 * i] = tmp >> 8; tmp 185 arch/mips/sgi-ip22/ip22-platform.c eth1_pd.mac[2 * i + 1] = tmp & 0xff; tmp 50 arch/mips/sgi-ip22/ip22-reset.c unsigned int tmp; tmp 55 arch/mips/sgi-ip22/ip22-reset.c tmp = hpc3c0->rtcregs[RTC_CMD] & 0xff; tmp 56 arch/mips/sgi-ip22/ip22-reset.c hpc3c0->rtcregs[RTC_CMD] = tmp | RTC_WAM; tmp 66 arch/mips/sgi-ip22/ip22-reset.c tmp = hpc3c0->rtcregs[RTC_HOURS_ALARM]; tmp 240 arch/mips/sibyte/bcm1480/irq.c u64 tmp; tmp 286 arch/mips/sibyte/bcm1480/irq.c tmp = ~((u64) 0) ^ ( (((u64) 1) << K_BCM1480_INT_MBOX_0_0)); tmp 288 arch/mips/sibyte/bcm1480/irq.c __raw_writeq(tmp, IOADDR(A_BCM1480_IMR_REGISTER(cpu, R_BCM1480_IMR_INTERRUPT_MASK_H))); tmp 290 arch/mips/sibyte/bcm1480/irq.c tmp = ~((u64) 0); tmp 292 arch/mips/sibyte/bcm1480/irq.c __raw_writeq(tmp, IOADDR(A_BCM1480_IMR_REGISTER(cpu, R_BCM1480_IMR_INTERRUPT_MASK_L))); tmp 172 arch/mips/sibyte/common/cfe.c char *tmp, *endptr; tmp 188 arch/mips/sibyte/common/cfe.c for (tmp = str; *tmp != '@'; tmp++) { tmp 189 arch/mips/sibyte/common/cfe.c if (!*tmp) { tmp 193 arch/mips/sibyte/common/cfe.c *tmp = 0; tmp 194 arch/mips/sibyte/common/cfe.c tmp++; tmp 195 arch/mips/sibyte/common/cfe.c if (!*tmp) { tmp 200 arch/mips/sibyte/common/cfe.c *(tmp-1) = '@'; tmp 203 arch/mips/sibyte/common/cfe.c *(tmp-1) = '@'; tmp 204 arch/mips/sibyte/common/cfe.c initrd_start = simple_strtoul(tmp, &endptr, 16); tmp 224 arch/mips/sibyte/sb1250/irq.c u64 tmp; tmp 261 arch/mips/sibyte/sb1250/irq.c tmp = ~((u64) 0) ^ (((u64) 1) << K_INT_MBOX_0); tmp 262 arch/mips/sibyte/sb1250/irq.c __raw_writeq(tmp, IOADDR(A_IMR_REGISTER(0, R_IMR_INTERRUPT_MASK))); tmp 263 arch/mips/sibyte/sb1250/irq.c __raw_writeq(tmp, IOADDR(A_IMR_REGISTER(1, R_IMR_INTERRUPT_MASK))); tmp 221 arch/mips/sibyte/swarm/rtc_m41t81.c unsigned int tmp; tmp 224 arch/mips/sibyte/swarm/rtc_m41t81.c tmp = m41t81_read(M41T81REG_SC); tmp 225 arch/mips/sibyte/swarm/rtc_m41t81.c m41t81_write(M41T81REG_SC, tmp & 0x7f); tmp 111 arch/mips/sibyte/swarm/rtc_xicor1241.c int tmp; tmp 138 arch/mips/sibyte/swarm/rtc_xicor1241.c tmp = tm.tm_year / 100; tmp 141 arch/mips/sibyte/swarm/rtc_xicor1241.c xicor_write(X1241REG_Y2K, tmp); tmp 144 arch/mips/sibyte/swarm/rtc_xicor1241.c tmp = xicor_read(X1241REG_HR); tmp 145 arch/mips/sibyte/swarm/rtc_xicor1241.c if (tmp & X1241REG_HR_MIL) { tmp 148 arch/mips/sibyte/swarm/rtc_xicor1241.c tmp = (tmp & ~0x3f) | (tm.tm_hour & 0x3f); tmp 151 arch/mips/sibyte/swarm/rtc_xicor1241.c tmp = tmp & ~0x3f; tmp 153 arch/mips/sibyte/swarm/rtc_xicor1241.c tmp |= 0x20; tmp 157 arch/mips/sibyte/swarm/rtc_xicor1241.c tmp |= tm.tm_hour; tmp 159 arch/mips/sibyte/swarm/rtc_xicor1241.c xicor_write(X1241REG_HR, tmp); tmp 22 arch/nds32/include/asm/futex.h #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ tmp 41 arch/nds32/include/asm/futex.h u32 val, tmp, flags; tmp 55 arch/nds32/include/asm/futex.h :"+&r"(ret), "=&r"(val), "=&r"(tmp), "=&r"(flags) tmp 73 arch/nds32/include/asm/futex.h __futex_atomic_op("move %0, %3", ret, oldval, tmp, uaddr, tmp 77 arch/nds32/include/asm/futex.h __futex_atomic_op("add %0, %1, %3", ret, oldval, tmp, uaddr, tmp 81 arch/nds32/include/asm/futex.h __futex_atomic_op("or %0, %1, %3", ret, oldval, tmp, uaddr, tmp 85 arch/nds32/include/asm/futex.h __futex_atomic_op("and %0, %1, %3", ret, oldval, tmp, uaddr, tmp 89 arch/nds32/include/asm/futex.h __futex_atomic_op("xor %0, %1, %3", ret, oldval, tmp, uaddr, tmp 20 arch/nds32/kernel/atl2c.c unsigned long tmp = 0; tmp 50 arch/nds32/kernel/atl2c.c tmp = L2C_R_REG(L2CC_PROT_OFF); tmp 51 arch/nds32/kernel/atl2c.c tmp &= ~L2CC_PROT_mskMRWEN; tmp 52 arch/nds32/kernel/atl2c.c L2C_W_REG(L2CC_PROT_OFF, tmp); tmp 54 arch/nds32/kernel/atl2c.c tmp = L2C_R_REG(L2CC_SETUP_OFF); tmp 55 arch/nds32/kernel/atl2c.c tmp &= ~L2CC_SETUP_mskPART; tmp 56 arch/nds32/kernel/atl2c.c L2C_W_REG(L2CC_SETUP_OFF, tmp); tmp 58 arch/nds32/kernel/atl2c.c tmp = L2C_R_REG(L2CC_CTRL_OFF); tmp 59 arch/nds32/kernel/atl2c.c tmp |= L2CC_CTRL_mskEN; tmp 60 arch/nds32/kernel/atl2c.c L2C_W_REG(L2CC_CTRL_OFF, tmp); tmp 33 arch/nds32/kernel/module.c unsigned int tmp = 0, tmp2 = 0; tmp 38 arch/nds32/kernel/module.c "1:\n":"=r"(tmp):"0"(tmp), "r"(loc), "r"(swap) tmp 41 arch/nds32/kernel/module.c tmp2 = tmp & loc_mask; tmp 43 arch/nds32/kernel/module.c tmp &= (~loc_mask); tmp 44 arch/nds32/kernel/module.c tmp = tmp 45 arch/nds32/kernel/module.c tmp2 | ((tmp + ((val & val_mask) >> val_shift)) & val_mask); tmp 47 arch/nds32/kernel/module.c tmp = tmp2 | ((val & val_mask) >> val_shift); tmp 53 arch/nds32/kernel/module.c "\tshi.bi\t%0, [%2], 0\n":"=r"(tmp):"0"(tmp), tmp 62 arch/nds32/kernel/module.c unsigned int tmp = 0, tmp2 = 0; tmp 68 arch/nds32/kernel/module.c "1:\n":"=r"(tmp):"0"(tmp), "r"(loc), "r"(swap) tmp 71 arch/nds32/kernel/module.c tmp2 = tmp & loc_mask; tmp 73 arch/nds32/kernel/module.c tmp &= (~loc_mask); tmp 74 arch/nds32/kernel/module.c tmp = tmp 75 arch/nds32/kernel/module.c tmp2 | ((tmp + ((val & val_mask) >> val_shift)) & val_mask); tmp 77 arch/nds32/kernel/module.c tmp = tmp2 | ((val & val_mask) >> val_shift); tmp 84 arch/nds32/kernel/module.c "\tsmw.bi\t%0, [%2], %0, 0\n":"=r"(tmp):"0"(tmp), tmp 153 arch/nds32/kernel/setup.c unsigned long tmp = 0, cpu_name; tmp 231 arch/nds32/kernel/setup.c tmp = __nds32__mfsr(NDS32_SR_CACHE_CTL); tmp 233 arch/nds32/kernel/setup.c tmp |= CACHE_CTL_mskDC_EN; tmp 236 arch/nds32/kernel/setup.c tmp |= CACHE_CTL_mskIC_EN; tmp 237 arch/nds32/kernel/setup.c __nds32__mtsr_isb(tmp, NDS32_SR_CACHE_CTL); tmp 515 arch/nds32/mm/proc.c u32 tmp; tmp 517 arch/nds32/mm/proc.c tmp = __nds32__mfsr(NDS32_SR_CACHE_CTL); tmp 518 arch/nds32/mm/proc.c tmp &= ~(CACHE_CTL_mskIC_EN | CACHE_CTL_mskDC_EN); tmp 519 arch/nds32/mm/proc.c __nds32__mtsr_isb(tmp, NDS32_SR_CACHE_CTL); tmp 49 arch/nios2/kernel/setup.c volatile unsigned int tmp = 0; tmp 73 arch/nios2/kernel/setup.c : "r" (start), "r" (addr), "r" (tmp) tmp 83 arch/nios2/kernel/setup.c volatile unsigned int tmp = 0; tmp 96 arch/nios2/kernel/setup.c : "r" (start), "r" (addr), "r" (end), "r" (tmp) tmp 18 arch/openrisc/include/asm/atomic.h int tmp; \ tmp 26 arch/openrisc/include/asm/atomic.h : "=&r"(tmp) \ tmp 35 arch/openrisc/include/asm/atomic.h int tmp; \ tmp 43 arch/openrisc/include/asm/atomic.h : "=&r"(tmp) \ tmp 47 arch/openrisc/include/asm/atomic.h return tmp; \ tmp 54 arch/openrisc/include/asm/atomic.h int tmp, old; \ tmp 62 arch/openrisc/include/asm/atomic.h : "=&r"(old), "=&r"(tmp) \ tmp 105 arch/openrisc/include/asm/atomic.h int old, tmp; tmp 116 arch/openrisc/include/asm/atomic.h : "=&r"(old), "=&r" (tmp) tmp 16 arch/openrisc/include/asm/bitops/atomic.h unsigned long tmp; tmp 24 arch/openrisc/include/asm/bitops/atomic.h : "=&r"(tmp) tmp 33 arch/openrisc/include/asm/bitops/atomic.h unsigned long tmp; tmp 41 arch/openrisc/include/asm/bitops/atomic.h : "=&r"(tmp) tmp 50 arch/openrisc/include/asm/bitops/atomic.h unsigned long tmp; tmp 58 arch/openrisc/include/asm/bitops/atomic.h : "=&r"(tmp) tmp 68 arch/openrisc/include/asm/bitops/atomic.h unsigned long tmp; tmp 76 arch/openrisc/include/asm/bitops/atomic.h : "=&r"(old), "=&r"(tmp) tmp 88 arch/openrisc/include/asm/bitops/atomic.h unsigned long tmp; tmp 96 arch/openrisc/include/asm/bitops/atomic.h : "=&r"(old), "=&r"(tmp) tmp 108 arch/openrisc/include/asm/bitops/atomic.h unsigned long tmp; tmp 116 arch/openrisc/include/asm/bitops/atomic.h : "=&r"(old), "=&r"(tmp) tmp 40 arch/parisc/include/asm/futex.h u32 tmp; tmp 50 arch/parisc/include/asm/futex.h tmp = oldval; tmp 54 arch/parisc/include/asm/futex.h tmp = oparg; tmp 57 arch/parisc/include/asm/futex.h tmp += oparg; tmp 60 arch/parisc/include/asm/futex.h tmp |= oparg; tmp 63 arch/parisc/include/asm/futex.h tmp &= ~oparg; tmp 66 arch/parisc/include/asm/futex.h tmp ^= oparg; tmp 72 arch/parisc/include/asm/futex.h if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) tmp 196 arch/parisc/kernel/kprobes.c struct hlist_node *tmp; tmp 217 arch/parisc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 236 arch/parisc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 263 arch/parisc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 153 arch/parisc/kernel/pdc_cons.c struct console *tmp; tmp 156 arch/parisc/kernel/pdc_cons.c for_each_console(tmp) tmp 157 arch/parisc/kernel/pdc_cons.c if (tmp == &pdc_cons) tmp 161 arch/parisc/kernel/pdc_cons.c if (!tmp) { tmp 128 arch/parisc/kernel/ptrace.c unsigned long tmp; tmp 139 arch/parisc/kernel/ptrace.c tmp = *(unsigned long *) ((char *) task_regs(child) + addr); tmp 140 arch/parisc/kernel/ptrace.c ret = put_user(tmp, datap); tmp 251 arch/parisc/kernel/ptrace.c compat_uint_t tmp; tmp 263 arch/parisc/kernel/ptrace.c tmp = *(compat_uint_t *) ((char *) task_regs(child) + addr); tmp 264 arch/parisc/kernel/ptrace.c ret = put_user(tmp, (compat_uint_t *) (unsigned long) data); tmp 290 arch/parisc/kernel/unwind.c unsigned long tmp; tmp 305 arch/parisc/kernel/unwind.c if (get_user(tmp, (unsigned long *)(info->prev_sp - RP_OFFSET))) tmp 307 arch/parisc/kernel/unwind.c info->prev_ip = tmp; tmp 136 arch/parisc/mm/init.c physmem_range_t tmp; tmp 143 arch/parisc/mm/init.c tmp = pmem_ranges[j-1]; tmp 145 arch/parisc/mm/init.c pmem_ranges[j] = tmp; tmp 262 arch/powerpc/boot/4xx.c unsigned long tmp; tmp 268 arch/powerpc/boot/4xx.c : "=&r"(tmp) : "i"(SPRN_DBCR0_44X), "i"(DBCR0_RST_SYSTEM) tmp 275 arch/powerpc/boot/4xx.c unsigned long tmp; tmp 281 arch/powerpc/boot/4xx.c : "=&r"(tmp) : "i"(SPRN_DBCR0_40X), "i"(DBCR0_RST_SYSTEM) tmp 166 arch/powerpc/boot/devtree.c u64 tmp = (u64)reg[i] + add[i] + carry; tmp 167 arch/powerpc/boot/devtree.c carry = tmp >> 32; tmp 168 arch/powerpc/boot/devtree.c reg[i] = (u32)tmp; tmp 81 arch/powerpc/boot/stdio.c char c,sign,tmp[66]; tmp 114 arch/powerpc/boot/stdio.c tmp[i++]='0'; tmp 116 arch/powerpc/boot/stdio.c tmp[i++] = digits[do_div(num, base)]; tmp 140 arch/powerpc/boot/stdio.c *str++ = tmp[i]; tmp 262 arch/powerpc/include/asm/book3s/32/pgtable.h unsigned long old, tmp; tmp 270 arch/powerpc/include/asm/book3s/32/pgtable.h : "=&r" (old), "=&r" (tmp), "=m" (*p) tmp 282 arch/powerpc/include/asm/book3s/32/pgtable.h unsigned long tmp; tmp 291 arch/powerpc/include/asm/book3s/32/pgtable.h : "=&r" (old), "=&r" (tmp), "=m" (*p) tmp 187 arch/powerpc/include/asm/book3s/64/hash.h __be64 old, tmp, val, mask; tmp 201 arch/powerpc/include/asm/book3s/64/hash.h :"=&r" (old), "=&r" (tmp), "=m" (*ptep) tmp 42 arch/powerpc/include/asm/checksum.h unsigned int tmp; tmp 45 arch/powerpc/include/asm/checksum.h __asm__("rlwinm %0,%1,16,0,31" : "=r" (tmp) : "r" (sum)); tmp 49 arch/powerpc/include/asm/checksum.h return (__force __sum16)(~((__force u32)sum + tmp) >> 16); tmp 132 arch/powerpc/include/asm/checksum.h __wsum sum, tmp; tmp 140 arch/powerpc/include/asm/checksum.h : "=r" (sum), "=r" (tmp), "+b" (ptr) tmp 20 arch/powerpc/include/asm/cmpxchg.h unsigned int prev, prev_mask, tmp, bitoff, off; \ tmp 35 arch/powerpc/include/asm/cmpxchg.h : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ tmp 46 arch/powerpc/include/asm/cmpxchg.h unsigned int prev, prev_mask, tmp, bitoff, off; \ tmp 69 arch/powerpc/include/asm/cmpxchg.h : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ tmp 49 arch/powerpc/include/asm/cputhreads.h cpumask_t tmp, res; tmp 54 arch/powerpc/include/asm/cputhreads.h cpumask_shift_left(&tmp, &threads_core_mask, i); tmp 55 arch/powerpc/include/asm/cputhreads.h if (cpumask_intersects(threads, &tmp)) { tmp 56 arch/powerpc/include/asm/cputhreads.h cpu = cpumask_next_and(-1, &tmp, cpu_online_mask); tmp 106 arch/powerpc/include/asm/eeh.h #define eeh_pe_for_each_dev(pe, edev, tmp) \ tmp 107 arch/powerpc/include/asm/eeh.h list_for_each_entry_safe(edev, tmp, &pe->edevs, entry) tmp 131 arch/powerpc/include/asm/hw_irq.h unsigned long flags, tmp; tmp 135 arch/powerpc/include/asm/hw_irq.h : "=&r" (flags), "=r" (tmp) tmp 177 arch/powerpc/include/asm/kvm_book3s_64.h unsigned long tmp, old; tmp 196 arch/powerpc/include/asm/kvm_book3s_64.h : "=&r" (tmp), "=&r" (old) tmp 257 arch/powerpc/include/asm/kvm_book3s_64.h int tmp = kvmppc_hpte_page_shifts(h, l); tmp 259 arch/powerpc/include/asm/kvm_book3s_64.h if (tmp >= 0x100) tmp 260 arch/powerpc/include/asm/kvm_book3s_64.h tmp >>= 8; tmp 261 arch/powerpc/include/asm/kvm_book3s_64.h return tmp; tmp 226 arch/powerpc/include/asm/nohash/32/pgtable.h unsigned long old, tmp; tmp 235 arch/powerpc/include/asm/nohash/32/pgtable.h : "=&r" (old), "=&r" (tmp), "=m" (*p) tmp 262 arch/powerpc/include/asm/nohash/32/pgtable.h unsigned long tmp; tmp 272 arch/powerpc/include/asm/nohash/32/pgtable.h : "=&r" (old), "=&r" (tmp), "=m" (*p) tmp 215 arch/powerpc/include/asm/nohash/64/pgtable.h unsigned long old, tmp; tmp 223 arch/powerpc/include/asm/nohash/64/pgtable.h : "=&r" (old), "=&r" (tmp), "=m" (*ptep) tmp 314 arch/powerpc/include/asm/nohash/64/pgtable.h unsigned long old, tmp; tmp 321 arch/powerpc/include/asm/nohash/64/pgtable.h :"=&r" (old), "=&r" (tmp), "=m" (*ptep) tmp 350 arch/powerpc/include/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE_SYM(reg, tmp, expr) \ tmp 351 arch/powerpc/include/asm/ppc_asm.h lis tmp, (expr)@highest; \ tmp 353 arch/powerpc/include/asm/ppc_asm.h ori tmp, tmp, (expr)@higher; \ tmp 355 arch/powerpc/include/asm/ppc_asm.h rldimi reg, tmp, 32, 0 tmp 68 arch/powerpc/include/asm/spinlock.h unsigned long tmp, token; tmp 79 arch/powerpc/include/asm/spinlock.h : "=&r" (tmp) tmp 83 arch/powerpc/include/asm/spinlock.h return tmp; tmp 211 arch/powerpc/include/asm/spinlock.h long tmp; tmp 222 arch/powerpc/include/asm/spinlock.h "2:" : "=&r" (tmp) tmp 226 arch/powerpc/include/asm/spinlock.h return tmp; tmp 235 arch/powerpc/include/asm/spinlock.h long tmp, token; tmp 246 arch/powerpc/include/asm/spinlock.h "2:" : "=&r" (tmp) tmp 250 arch/powerpc/include/asm/spinlock.h return tmp; tmp 293 arch/powerpc/include/asm/spinlock.h long tmp; tmp 303 arch/powerpc/include/asm/spinlock.h : "=&r"(tmp) tmp 169 arch/powerpc/include/asm/word-at-a-time.h unsigned long ret, offset, tmp; tmp 198 arch/powerpc/include/asm/word-at-a-time.h : [tmp] "=&b" (tmp), [offset] "=&r" (offset), [ret] "=&r" (ret) tmp 277 arch/powerpc/kernel/eeh.c struct eeh_dev *edev, *tmp; tmp 280 arch/powerpc/kernel/eeh.c eeh_pe_for_each_dev(pe, edev, tmp) tmp 1078 arch/powerpc/kernel/eeh.c struct pci_controller *hose, *tmp; tmp 1098 arch/powerpc/kernel/eeh.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 1355 arch/powerpc/kernel/eeh.c struct eeh_dev *edev, *tmp; tmp 1370 arch/powerpc/kernel/eeh.c eeh_pe_for_each_dev(pe, edev, tmp) { tmp 1628 arch/powerpc/kernel/eeh.c struct eeh_dev *edev, *tmp; tmp 1638 arch/powerpc/kernel/eeh.c eeh_pe_for_each_dev(pe, edev, tmp) { tmp 236 arch/powerpc/kernel/eeh_driver.c struct eeh_dev *edev, *tmp; tmp 239 arch/powerpc/kernel/eeh_driver.c eeh_pe_for_each_dev(pe, edev, tmp) tmp 247 arch/powerpc/kernel/eeh_driver.c struct eeh_dev *edev, *tmp; tmp 250 arch/powerpc/kernel/eeh_driver.c eeh_pe_for_each_dev(pe, edev, tmp) { tmp 324 arch/powerpc/kernel/eeh_driver.c eeh_for_each_pe(root, pe) eeh_pe_for_each_dev(pe, edev, tmp) tmp 750 arch/powerpc/kernel/eeh_driver.c struct eeh_pe *child_pe, *tmp; tmp 752 arch/powerpc/kernel/eeh_driver.c list_for_each_entry_safe(child_pe, tmp, &pe->child_list, child) tmp 857 arch/powerpc/kernel/eeh_driver.c struct eeh_dev *edev, *tmp; tmp 882 arch/powerpc/kernel/eeh_driver.c eeh_pe_for_each_dev(tmp_pe, edev, tmp) tmp 936 arch/powerpc/kernel/eeh_driver.c eeh_pe_for_each_dev(tmp_pe, edev, tmp) tmp 1056 arch/powerpc/kernel/eeh_driver.c list_for_each_entry_safe(edev, tmp, &rmv_data.removed_vf_list, tmp 1068 arch/powerpc/kernel/eeh_driver.c eeh_pe_for_each_dev(tmp_pe, edev, tmp) { tmp 1125 arch/powerpc/kernel/eeh_driver.c eeh_pe_for_each_dev(tmp_pe, edev, tmp) tmp 170 arch/powerpc/kernel/eeh_event.c struct eeh_event *event, *tmp; tmp 182 arch/powerpc/kernel/eeh_event.c list_for_each_entry_safe(event, tmp, &eeh_eventlist, list) { tmp 238 arch/powerpc/kernel/eeh_pe.c struct eeh_dev *edev, *tmp; tmp 248 arch/powerpc/kernel/eeh_pe.c eeh_pe_for_each_dev(pe, edev, tmp) tmp 269 arch/powerpc/kernel/eeh_pe.c struct eeh_pe_get_flag *tmp = (struct eeh_pe_get_flag *) flag; tmp 280 arch/powerpc/kernel/eeh_pe.c if (tmp->pe_no == pe->addr) tmp 283 arch/powerpc/kernel/eeh_pe.c if (tmp->pe_no && tmp 284 arch/powerpc/kernel/eeh_pe.c (tmp->pe_no == pe->addr)) tmp 289 arch/powerpc/kernel/eeh_pe.c if (tmp->config_addr && tmp 290 arch/powerpc/kernel/eeh_pe.c (tmp->config_addr == pe->config_addr)) tmp 313 arch/powerpc/kernel/eeh_pe.c struct eeh_pe_get_flag tmp = { pe_no, config_addr }; tmp 316 arch/powerpc/kernel/eeh_pe.c pe = eeh_pe_traverse(root, __eeh_pe_get, &tmp); tmp 652 arch/powerpc/kernel/eeh_pe.c struct eeh_dev *edev, *tmp; tmp 674 arch/powerpc/kernel/eeh_pe.c eeh_pe_for_each_dev(pe, edev, tmp) { tmp 151 arch/powerpc/kernel/ima_kexec.c u32 tmp; tmp 156 arch/powerpc/kernel/ima_kexec.c tmp = cpu_to_be32(value); tmp 157 arch/powerpc/kernel/ima_kexec.c memcpy(p, &tmp, sizeof(tmp)); tmp 159 arch/powerpc/kernel/ima_kexec.c u64 tmp; tmp 161 arch/powerpc/kernel/ima_kexec.c tmp = cpu_to_be64(value); tmp 162 arch/powerpc/kernel/ima_kexec.c memcpy(p, &tmp, sizeof(tmp)); tmp 30 arch/powerpc/kernel/io.c u8 tmp; tmp 36 arch/powerpc/kernel/io.c tmp = *port; tmp 38 arch/powerpc/kernel/io.c *tbuf++ = tmp; tmp 40 arch/powerpc/kernel/io.c asm volatile("twi 0,%0,0; isync" : : "r" (tmp)); tmp 61 arch/powerpc/kernel/io.c u16 tmp; tmp 67 arch/powerpc/kernel/io.c tmp = *port; tmp 69 arch/powerpc/kernel/io.c *tbuf++ = tmp; tmp 71 arch/powerpc/kernel/io.c asm volatile("twi 0,%0,0; isync" : : "r" (tmp)); tmp 92 arch/powerpc/kernel/io.c u32 tmp; tmp 98 arch/powerpc/kernel/io.c tmp = *port; tmp 100 arch/powerpc/kernel/io.c *tbuf++ = tmp; tmp 102 arch/powerpc/kernel/io.c asm volatile("twi 0,%0,0; isync" : : "r" (tmp)); tmp 175 arch/powerpc/kernel/irq.c u64 tmp, tmp2; tmp 176 arch/powerpc/kernel/irq.c lv1_get_version_info(&tmp, &tmp2); tmp 128 arch/powerpc/kernel/isa-bridge.c struct device_node *np, *parent = NULL, *tmp; tmp 146 arch/powerpc/kernel/isa-bridge.c tmp = parent; tmp 148 arch/powerpc/kernel/isa-bridge.c of_node_put(tmp); tmp 401 arch/powerpc/kernel/kprobes.c struct hlist_node *tmp; tmp 421 arch/powerpc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 463 arch/powerpc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 57 arch/powerpc/kernel/legacy_serial.c unsigned int tmp; tmp 60 arch/powerpc/kernel/legacy_serial.c tmp = readl(p->membase + (UART_IIR & ~3)); tmp 61 arch/powerpc/kernel/legacy_serial.c return (tmp >> 16) & 0xff; /* UART_IIR % 4 == 2 */ tmp 371 arch/powerpc/kernel/mce_power.c struct pt_regs tmp = *regs; tmp 377 arch/powerpc/kernel/mce_power.c if (!analyse_instr(&op, &tmp, instr)) { tmp 72 arch/powerpc/kernel/module_32.c uint32_t *x, *y, tmp; tmp 79 arch/powerpc/kernel/module_32.c tmp = x[i]; tmp 81 arch/powerpc/kernel/module_32.c y[i] = tmp; tmp 231 arch/powerpc/kernel/module_64.c uint64_t *x, *y, tmp; tmp 238 arch/powerpc/kernel/module_64.c tmp = x[i]; tmp 240 arch/powerpc/kernel/module_64.c y[i] = tmp; tmp 788 arch/powerpc/kernel/nvram_64.c struct nvram_partition *part, *prev, *tmp; tmp 808 arch/powerpc/kernel/nvram_64.c list_for_each_entry_safe(part, tmp, &nvram_partitions, partition) { tmp 309 arch/powerpc/kernel/optprobes.c struct optimized_kprobe *tmp; tmp 311 arch/powerpc/kernel/optprobes.c list_for_each_entry_safe(op, tmp, oplist, list) { tmp 334 arch/powerpc/kernel/optprobes.c struct optimized_kprobe *tmp; tmp 336 arch/powerpc/kernel/optprobes.c list_for_each_entry_safe(op, tmp, oplist, list) { tmp 342 arch/powerpc/kernel/pci-common.c struct pci_controller *hose, *tmp; tmp 343 arch/powerpc/kernel/pci-common.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 24 arch/powerpc/kernel/pci-hotplug.c struct pci_bus *tmp; tmp 29 arch/powerpc/kernel/pci-hotplug.c list_for_each_entry(tmp, &bus->children, node) { tmp 30 arch/powerpc/kernel/pci-hotplug.c child = find_bus_among_children(tmp, dn); tmp 81 arch/powerpc/kernel/pci-hotplug.c struct pci_dev *dev, *tmp; tmp 90 arch/powerpc/kernel/pci-hotplug.c list_for_each_entry_safe_reverse(dev, tmp, &bus->devices, bus_list) { tmp 116 arch/powerpc/kernel/pci_32.c struct pci_controller *hose, *tmp; tmp 133 arch/powerpc/kernel/pci_32.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { tmp 236 arch/powerpc/kernel/pci_32.c struct pci_controller *hose, *tmp; tmp 245 arch/powerpc/kernel/pci_32.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { tmp 282 arch/powerpc/kernel/pci_32.c struct pci_controller *hose, *tmp; tmp 284 arch/powerpc/kernel/pci_32.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 42 arch/powerpc/kernel/pci_64.c struct pci_controller *hose, *tmp; tmp 57 arch/powerpc/kernel/pci_64.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 64 arch/powerpc/kernel/pci_64.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 204 arch/powerpc/kernel/pci_dn.c struct pci_dn *pdn, *tmp; tmp 240 arch/powerpc/kernel/pci_dn.c list_for_each_entry_safe(pdn, tmp, tmp 530 arch/powerpc/kernel/pci_dn.c struct pci_controller *phb, *tmp; tmp 533 arch/powerpc/kernel/pci_dn.c list_for_each_entry_safe(phb, tmp, &hose_list, list_node) tmp 246 arch/powerpc/kernel/prom_init.c char *tmp = dest; tmp 250 arch/powerpc/kernel/prom_init.c return tmp; tmp 2993 arch/powerpc/kernel/ptrace.c unsigned long index, tmp; tmp 3009 arch/powerpc/kernel/ptrace.c ret = ptrace_get_reg(child, (int) index, &tmp); tmp 3017 arch/powerpc/kernel/ptrace.c memcpy(&tmp, &child->thread.TS_FPR(fpidx), tmp 3020 arch/powerpc/kernel/ptrace.c tmp = child->thread.fp_state.fpscr; tmp 3022 arch/powerpc/kernel/ptrace.c ret = put_user(tmp, datalp); tmp 66 arch/powerpc/kernel/ptrace32.c u32 tmp; tmp 76 arch/powerpc/kernel/ptrace32.c copied = ptrace_access_vm(child, (u64)addrOthers, &tmp, tmp 77 arch/powerpc/kernel/ptrace32.c sizeof(tmp), FOLL_FORCE); tmp 78 arch/powerpc/kernel/ptrace32.c if (copied != sizeof(tmp)) tmp 80 arch/powerpc/kernel/ptrace32.c ret = put_user(tmp, (u32 __user *)data); tmp 87 arch/powerpc/kernel/ptrace32.c unsigned long tmp; tmp 97 arch/powerpc/kernel/ptrace32.c ret = ptrace_get_reg(child, index, &tmp); tmp 107 arch/powerpc/kernel/ptrace32.c tmp = ((unsigned int *)child->thread.fp_state.fpr) tmp 110 arch/powerpc/kernel/ptrace32.c ret = put_user((unsigned int)tmp, (u32 __user *)data); tmp 125 arch/powerpc/kernel/ptrace32.c u64 tmp; tmp 149 arch/powerpc/kernel/ptrace32.c tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; tmp 155 arch/powerpc/kernel/ptrace32.c tmp = tmp2; tmp 157 arch/powerpc/kernel/ptrace32.c reg32bits = ((u32*)&tmp)[part]; tmp 173 arch/powerpc/kernel/ptrace32.c u32 tmp = data; tmp 181 arch/powerpc/kernel/ptrace32.c if (ptrace_access_vm(child, (u64)addrOthers, &tmp, tmp 182 arch/powerpc/kernel/ptrace32.c sizeof(tmp), tmp 183 arch/powerpc/kernel/ptrace32.c FOLL_FORCE | FOLL_WRITE) == sizeof(tmp)) tmp 250 arch/powerpc/kernel/ptrace32.c u64 *tmp; tmp 253 arch/powerpc/kernel/ptrace32.c tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; tmp 255 arch/powerpc/kernel/ptrace32.c ((u32 *)tmp)[index % 2] = data; tmp 325 arch/powerpc/kernel/rtasd.c char *tmp; tmp 337 arch/powerpc/kernel/rtasd.c tmp = kmalloc(count, GFP_KERNEL); tmp 338 arch/powerpc/kernel/rtasd.c if (!tmp) tmp 368 arch/powerpc/kernel/rtasd.c memcpy(tmp, &rtas_log_buf[offset], count); tmp 374 arch/powerpc/kernel/rtasd.c error = copy_to_user(buf, tmp, count) ? -EFAULT : count; tmp 376 arch/powerpc/kernel/rtasd.c kfree(tmp); tmp 1157 arch/powerpc/kernel/signal_32.c unsigned long tmp; tmp 1181 arch/powerpc/kernel/signal_32.c if (__get_user(tmp, &rt_sf->uc.uc_link)) tmp 1183 arch/powerpc/kernel/signal_32.c uc_transact = (struct ucontext __user *)(uintptr_t)tmp; tmp 638 arch/powerpc/kernel/signal_64.c unsigned char tmp; tmp 674 arch/powerpc/kernel/signal_64.c || __get_user(tmp, (u8 __user *) new_ctx) tmp 675 arch/powerpc/kernel/signal_64.c || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) tmp 1276 arch/powerpc/kernel/traps.c unsigned long tmp; tmp 1281 arch/powerpc/kernel/traps.c tmp = regs->gpr[rs]; tmp 1282 arch/powerpc/kernel/traps.c tmp = tmp - ((tmp >> 1) & 0x5555555555555555ULL); tmp 1283 arch/powerpc/kernel/traps.c tmp = (tmp & 0x3333333333333333ULL) + ((tmp >> 2) & 0x3333333333333333ULL); tmp 1284 arch/powerpc/kernel/traps.c tmp = (tmp + (tmp >> 4)) & 0x0f0f0f0f0f0f0f0fULL; tmp 1285 arch/powerpc/kernel/traps.c regs->gpr[ra] = tmp; tmp 1297 arch/powerpc/kernel/traps.c unsigned long tmp; tmp 1299 arch/powerpc/kernel/traps.c tmp = (rA == 0) ? 0 : regs->gpr[rA]; tmp 1302 arch/powerpc/kernel/traps.c regs->gpr[rT] = bit ? tmp : regs->gpr[rB]; tmp 1848 arch/powerpc/kvm/book3s_64_mmu_hv.c unsigned long tmp[2]; tmp 1914 arch/powerpc/kvm/book3s_64_mmu_hv.c kvmppc_do_h_remove(kvm, 0, i, 0, tmp); tmp 1917 arch/powerpc/kvm/book3s_64_mmu_hv.c tmp); tmp 1944 arch/powerpc/kvm/book3s_64_mmu_hv.c kvmppc_do_h_remove(kvm, 0, i, 0, tmp); tmp 74 arch/powerpc/kvm/book3s_64_vio.c struct kvmppc_spapr_tce_iommu_table *stit, *tmp; tmp 83 arch/powerpc/kvm/book3s_64_vio.c list_for_each_entry_safe(stit, tmp, &stt->iommu_tables, next) { tmp 241 arch/powerpc/kvm/book3s_64_vio.c struct kvmppc_spapr_tce_iommu_table *stit, *tmp; tmp 248 arch/powerpc/kvm/book3s_64_vio.c list_for_each_entry_safe(stit, tmp, &stt->iommu_tables, next) { tmp 177 arch/powerpc/kvm/book3s_paired_singles.c char tmp[8]; tmp 184 arch/powerpc/kvm/book3s_paired_singles.c r = kvmppc_ld(vcpu, &addr, len, tmp, true); tmp 201 arch/powerpc/kvm/book3s_paired_singles.c kvm_cvt_fd((u32*)tmp, &VCPU_FPR(vcpu, rs)); tmp 202 arch/powerpc/kvm/book3s_paired_singles.c vcpu->arch.qpr[rs] = *((u32*)tmp); tmp 205 arch/powerpc/kvm/book3s_paired_singles.c VCPU_FPR(vcpu, rs) = *((u64*)tmp); tmp 209 arch/powerpc/kvm/book3s_paired_singles.c dprintk(KERN_INFO "KVM: FPR_LD [0x%llx] at 0x%lx (%d)\n", *(u64*)tmp, tmp 221 arch/powerpc/kvm/book3s_paired_singles.c char tmp[8]; tmp 227 arch/powerpc/kvm/book3s_paired_singles.c kvm_cvt_df(&VCPU_FPR(vcpu, rs), (u32*)tmp); tmp 228 arch/powerpc/kvm/book3s_paired_singles.c val = *((u32*)tmp); tmp 232 arch/powerpc/kvm/book3s_paired_singles.c *((u32*)tmp) = VCPU_FPR(vcpu, rs); tmp 237 arch/powerpc/kvm/book3s_paired_singles.c *((u64*)tmp) = VCPU_FPR(vcpu, rs); tmp 246 arch/powerpc/kvm/book3s_paired_singles.c r = kvmppc_st(vcpu, &addr, len, tmp, true); tmp 268 arch/powerpc/kvm/book3s_paired_singles.c u32 tmp[2]; tmp 272 arch/powerpc/kvm/book3s_paired_singles.c r = kvmppc_ld(vcpu, &addr, sizeof(u32), tmp, true); tmp 273 arch/powerpc/kvm/book3s_paired_singles.c memcpy(&tmp[1], &one, sizeof(u32)); tmp 275 arch/powerpc/kvm/book3s_paired_singles.c r = kvmppc_ld(vcpu, &addr, sizeof(u32) * 2, tmp, true); tmp 284 arch/powerpc/kvm/book3s_paired_singles.c vcpu->arch.qpr[rs] = tmp[1]; tmp 295 arch/powerpc/kvm/book3s_paired_singles.c kvm_cvt_fd(&tmp[0], &VCPU_FPR(vcpu, rs)); tmp 296 arch/powerpc/kvm/book3s_paired_singles.c vcpu->arch.qpr[rs] = tmp[1]; tmp 298 arch/powerpc/kvm/book3s_paired_singles.c dprintk(KERN_INFO "KVM: PSQ_LD [0x%x, 0x%x] at 0x%lx (%d)\n", tmp[0], tmp 299 arch/powerpc/kvm/book3s_paired_singles.c tmp[1], addr, w ? 4 : 8); tmp 310 arch/powerpc/kvm/book3s_paired_singles.c u32 tmp[2]; tmp 313 arch/powerpc/kvm/book3s_paired_singles.c kvm_cvt_df(&VCPU_FPR(vcpu, rs), &tmp[0]); tmp 314 arch/powerpc/kvm/book3s_paired_singles.c tmp[1] = vcpu->arch.qpr[rs]; tmp 316 arch/powerpc/kvm/book3s_paired_singles.c r = kvmppc_st(vcpu, &addr, len, tmp, true); tmp 321 arch/powerpc/kvm/book3s_paired_singles.c emulated = kvmppc_handle_store(run, vcpu, tmp[0], 4, 1); tmp 323 arch/powerpc/kvm/book3s_paired_singles.c u64 val = ((u64)tmp[0] << 32) | tmp[1]; tmp 330 arch/powerpc/kvm/book3s_paired_singles.c tmp[0], tmp[1], addr, len); tmp 144 arch/powerpc/kvm/book3s_rtas.c struct rtas_token_definition *d, *tmp; tmp 148 arch/powerpc/kvm/book3s_rtas.c list_for_each_entry_safe(d, tmp, &kvm->arch.rtas_tokens, list) { tmp 280 arch/powerpc/kvm/book3s_rtas.c struct rtas_token_definition *d, *tmp; tmp 282 arch/powerpc/kvm/book3s_rtas.c list_for_each_entry_safe(d, tmp, &kvm->arch.rtas_tokens, list) { tmp 199 arch/powerpc/kvm/e500_mmu_host.c u64 tmp = vcpu_e500->g2h_tlb1_map[esel]; tmp 204 arch/powerpc/kvm/e500_mmu_host.c while (tmp) { tmp 205 arch/powerpc/kvm/e500_mmu_host.c hw_tlb_indx = __ilog2_u64(tmp & -tmp); tmp 212 arch/powerpc/kvm/e500_mmu_host.c tmp &= tmp - 1; tmp 233 arch/powerpc/lib/sstep.c unsigned long tmp; tmp 234 arch/powerpc/lib/sstep.c tmp = byterev_8(up[0]); tmp 236 arch/powerpc/lib/sstep.c up[1] = tmp; tmp 193 arch/powerpc/mm/book3s64/hash_pgtable.c __be64 old_be, tmp; tmp 209 arch/powerpc/mm/book3s64/hash_pgtable.c : "=&r" (old_be), "=&r" (tmp), "=m" (*pmdp) tmp 60 arch/powerpc/mm/book3s64/slb.c unsigned long tmp; tmp 72 arch/powerpc/mm/book3s64/slb.c asm volatile(__PPC_SLBFEE_DOT(%0, %1) : "=r"(tmp) : "r"(ea) : "cr0"); tmp 74 arch/powerpc/mm/book3s64/slb.c WARN_ON(present == (tmp == 0)); tmp 37 arch/powerpc/mm/nohash/book3e_hugetlbpage.c unsigned long tmp; tmp 59 arch/powerpc/mm/nohash/book3e_hugetlbpage.c : "=&r" (tmp) tmp 259 arch/powerpc/mm/numa.c const __be32 *tmp; tmp 261 arch/powerpc/mm/numa.c tmp = of_get_associativity(device); tmp 262 arch/powerpc/mm/numa.c if (tmp) tmp 263 arch/powerpc/mm/numa.c nid = associativity_to_nid(tmp); tmp 55 arch/powerpc/mm/slice.c u64 tmp = (u64)addr; tmp 57 arch/powerpc/mm/slice.c return tmp < SLICE_LOW_TOP; tmp 446 arch/powerpc/oprofile/cell/spu_task_sync.c u32 cpu; u32 tmp; tmp 449 arch/powerpc/oprofile/cell/spu_task_sync.c tmp = cbe_cpu_to_node(cpu) + 1; tmp 450 arch/powerpc/oprofile/cell/spu_task_sync.c if (tmp > nodes) tmp 242 arch/powerpc/platforms/52xx/mpc52xx_pci.c u32 tmp; tmp 253 arch/powerpc/platforms/52xx/mpc52xx_pci.c tmp = in_be32(&pci_regs->scr); tmp 254 arch/powerpc/platforms/52xx/mpc52xx_pci.c tmp |= PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY; tmp 255 arch/powerpc/platforms/52xx/mpc52xx_pci.c out_be32(&pci_regs->scr, tmp); tmp 320 arch/powerpc/platforms/52xx/mpc52xx_pci.c tmp = in_be32(&pci_regs->gscr); tmp 326 arch/powerpc/platforms/52xx/mpc52xx_pci.c out_be32(&pci_regs->gscr, tmp | MPC52xx_PCI_GSCR_PR); tmp 331 arch/powerpc/platforms/52xx/mpc52xx_pci.c out_be32(&pci_regs->gscr, tmp & ~MPC52xx_PCI_GSCR_PR); tmp 39 arch/powerpc/platforms/52xx/mpc52xx_pm.c u16 tmp; tmp 48 arch/powerpc/platforms/52xx/mpc52xx_pm.c tmp = in_be16(&gpiow->wkup_itype); tmp 49 arch/powerpc/platforms/52xx/mpc52xx_pm.c tmp &= ~(0x3 << (pin * 2)); tmp 50 arch/powerpc/platforms/52xx/mpc52xx_pm.c tmp |= (!level + 1) << (pin * 2); tmp 51 arch/powerpc/platforms/52xx/mpc52xx_pm.c out_be16(&gpiow->wkup_itype, tmp); tmp 61 arch/powerpc/platforms/83xx/misc.c __be32 tmp; tmp 63 arch/powerpc/platforms/83xx/misc.c tmp = in_be32(spcr); tmp 64 arch/powerpc/platforms/83xx/misc.c out_be32(spcr, tmp | SPCR_TBEN); tmp 86 arch/powerpc/platforms/85xx/mpc85xx_cds.c u_char tmp; tmp 92 arch/powerpc/platforms/85xx/mpc85xx_cds.c pci_read_config_byte(dev, 0x47, &tmp); tmp 93 arch/powerpc/platforms/85xx/mpc85xx_cds.c pci_write_config_byte(dev, 0x47, tmp | 1); tmp 96 arch/powerpc/platforms/85xx/mpc85xx_cds.c pci_read_config_byte(dev, 0x47, &tmp); tmp 32 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c u32 tmp; tmp 34 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c tmp = (mfspr(SPRN_HID0) & ~(HID0_DOZE|HID0_SLEEP)) | HID0_NAP; tmp 35 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c mtspr(SPRN_HID0, tmp); tmp 38 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c tmp = mfmsr(); tmp 39 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c tmp |= MSR_WE; tmp 45 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c : "r" (tmp)); tmp 50 arch/powerpc/platforms/85xx/xes_mpc85xx.c volatile uint32_t ctl, tmp; tmp 53 arch/powerpc/platforms/85xx/xes_mpc85xx.c tmp = in_be32(l2_base); tmp 68 arch/powerpc/platforms/85xx/xes_mpc85xx.c ctl |= (tmp & MPC85xx_L2CTL_L2SIZ_MASK) >> 2; tmp 153 arch/powerpc/platforms/cell/axon_msi.c struct device_node *dn, *tmp; tmp 175 arch/powerpc/platforms/cell/axon_msi.c tmp = dn; tmp 177 arch/powerpc/platforms/cell/axon_msi.c of_node_put(tmp); tmp 323 arch/powerpc/platforms/cell/axon_msi.c u32 tmp; tmp 327 arch/powerpc/platforms/cell/axon_msi.c tmp = dcr_read(msic->dcr_host, MSIC_CTRL_REG); tmp 328 arch/powerpc/platforms/cell/axon_msi.c tmp &= ~MSIC_CTRL_ENABLE & ~MSIC_CTRL_IRQ_ENABLE; tmp 329 arch/powerpc/platforms/cell/axon_msi.c msic_dcr_write(msic, MSIC_CTRL_REG, tmp); tmp 280 arch/powerpc/platforms/cell/iommu.c const unsigned long *tmp; tmp 284 arch/powerpc/platforms/cell/iommu.c tmp = of_get_property(np, "ioc-translation", NULL); tmp 285 arch/powerpc/platforms/cell/iommu.c if (tmp) { tmp 286 arch/powerpc/platforms/cell/iommu.c *base = *tmp; tmp 208 arch/powerpc/platforms/cell/ras.c struct ptcal_area *area, *tmp; tmp 213 arch/powerpc/platforms/cell/ras.c list_for_each_entry_safe(area, tmp, &ptcal_list, list) { tmp 218 arch/powerpc/platforms/cell/spider-pic.c const u32 *imap, *tmp; tmp 233 arch/powerpc/platforms/cell/spider-pic.c tmp = of_get_property(of_node, "#interrupt-cells", NULL); tmp 234 arch/powerpc/platforms/cell/spider-pic.c if (tmp == NULL) tmp 236 arch/powerpc/platforms/cell/spider-pic.c intsize = *tmp; tmp 244 arch/powerpc/platforms/cell/spider-pic.c tmp = of_get_property(iic, "#interrupt-cells", NULL); tmp 245 arch/powerpc/platforms/cell/spider-pic.c if (tmp == NULL) { tmp 249 arch/powerpc/platforms/cell/spider-pic.c intsize = *tmp; tmp 253 arch/powerpc/platforms/cell/spider-pic.c tmp = of_get_property(iic, "ibm,interrupt-server-ranges", NULL); tmp 254 arch/powerpc/platforms/cell/spider-pic.c if (tmp == NULL) { tmp 259 arch/powerpc/platforms/cell/spider-pic.c pic->node_id = (*tmp) >> 1; tmp 687 arch/powerpc/platforms/cell/spu_base.c u64 tmp; tmp 704 arch/powerpc/platforms/cell/spu_base.c tmp = spu_mfc_sr1_get(spu); tmp 705 arch/powerpc/platforms/cell/spu_base.c crash_spu_info[i].saved_mfc_sr1_RW = tmp; tmp 707 arch/powerpc/platforms/cell/spu_base.c tmp &= ~MFC_STATE1_MASTER_RUN_CONTROL_MASK; tmp 708 arch/powerpc/platforms/cell/spu_base.c spu_mfc_sr1_set(spu, tmp); tmp 71 arch/powerpc/platforms/cell/spu_manage.c const u32 *tmp; tmp 75 arch/powerpc/platforms/cell/spu_manage.c tmp = of_get_property(np, "isrc", NULL); tmp 76 arch/powerpc/platforms/cell/spu_manage.c if (!tmp) tmp 78 arch/powerpc/platforms/cell/spu_manage.c isrc = tmp[0]; tmp 80 arch/powerpc/platforms/cell/spu_manage.c tmp = of_get_property(np->parent->parent, "node-id", NULL); tmp 81 arch/powerpc/platforms/cell/spu_manage.c if (!tmp) { tmp 85 arch/powerpc/platforms/cell/spu_manage.c nid = tmp[0]; tmp 206 arch/powerpc/platforms/cell/spufs/backing_ops.c u64 tmp; tmp 209 arch/powerpc/platforms/cell/spufs/backing_ops.c tmp = ctx->csa.priv2.spu_cfg_RW; tmp 211 arch/powerpc/platforms/cell/spufs/backing_ops.c tmp |= 1; tmp 213 arch/powerpc/platforms/cell/spufs/backing_ops.c tmp &= ~1; tmp 214 arch/powerpc/platforms/cell/spufs/backing_ops.c ctx->csa.priv2.spu_cfg_RW = tmp; tmp 225 arch/powerpc/platforms/cell/spufs/backing_ops.c u64 tmp; tmp 228 arch/powerpc/platforms/cell/spufs/backing_ops.c tmp = ctx->csa.priv2.spu_cfg_RW; tmp 230 arch/powerpc/platforms/cell/spufs/backing_ops.c tmp |= 2; tmp 232 arch/powerpc/platforms/cell/spufs/backing_ops.c tmp &= ~2; tmp 233 arch/powerpc/platforms/cell/spufs/backing_ops.c ctx->csa.priv2.spu_cfg_RW = tmp; tmp 138 arch/powerpc/platforms/cell/spufs/hw_ops.c u64 tmp; tmp 141 arch/powerpc/platforms/cell/spufs/hw_ops.c tmp = in_be64(&priv2->spu_cfg_RW); tmp 143 arch/powerpc/platforms/cell/spufs/hw_ops.c tmp |= 1; tmp 145 arch/powerpc/platforms/cell/spufs/hw_ops.c tmp &= ~1; tmp 146 arch/powerpc/platforms/cell/spufs/hw_ops.c out_be64(&priv2->spu_cfg_RW, tmp); tmp 159 arch/powerpc/platforms/cell/spufs/hw_ops.c u64 tmp; tmp 162 arch/powerpc/platforms/cell/spufs/hw_ops.c tmp = in_be64(&priv2->spu_cfg_RW); tmp 164 arch/powerpc/platforms/cell/spufs/hw_ops.c tmp |= 2; tmp 166 arch/powerpc/platforms/cell/spufs/hw_ops.c tmp &= ~2; tmp 167 arch/powerpc/platforms/cell/spufs/hw_ops.c out_be64(&priv2->spu_cfg_RW, tmp); tmp 146 arch/powerpc/platforms/cell/spufs/inode.c struct dentry *dentry, *tmp; tmp 149 arch/powerpc/platforms/cell/spufs/inode.c list_for_each_entry_safe(dentry, tmp, &dir->d_subdirs, d_child) { tmp 305 arch/powerpc/platforms/cell/spufs/inode.c struct spu_context *tmp, *neighbor, *err; tmp 348 arch/powerpc/platforms/cell/spufs/inode.c list_for_each_entry(tmp, &gang->aff_list_head, aff_list) tmp 348 arch/powerpc/platforms/cell/spufs/sched.c struct spu *tmp; tmp 354 arch/powerpc/platforms/cell/spufs/sched.c list_for_each_entry(tmp, &gang->aff_list_head, aff_list) tmp 641 arch/powerpc/platforms/cell/spufs/sched.c struct spu_context *tmp = spu->ctx; tmp 643 arch/powerpc/platforms/cell/spufs/sched.c if (tmp && tmp->prio > ctx->prio && tmp 644 arch/powerpc/platforms/cell/spufs/sched.c !(tmp->flags & SPU_CREATE_NOSCHED) && tmp 645 arch/powerpc/platforms/cell/spufs/sched.c (!victim || tmp->prio > victim->prio)) { tmp 506 arch/powerpc/platforms/pasemi/dma_lib.c u32 tmp; tmp 536 arch/powerpc/platforms/pasemi/dma_lib.c pci_read_config_dword(dma_pdev, PAS_DMA_CAP_TXCH, &tmp); tmp 537 arch/powerpc/platforms/pasemi/dma_lib.c num_txch = (tmp & PAS_DMA_CAP_TXCH_TCHN_M) >> PAS_DMA_CAP_TXCH_TCHN_S; tmp 539 arch/powerpc/platforms/pasemi/dma_lib.c pci_read_config_dword(dma_pdev, PAS_DMA_CAP_RXCH, &tmp); tmp 540 arch/powerpc/platforms/pasemi/dma_lib.c num_rxch = (tmp & PAS_DMA_CAP_RXCH_RCHN_M) >> PAS_DMA_CAP_RXCH_RCHN_S; tmp 593 arch/powerpc/platforms/pasemi/dma_lib.c tmp = pasemi_read_dma_reg(PAS_DMA_COM_CFG); tmp 594 arch/powerpc/platforms/pasemi/dma_lib.c pasemi_write_dma_reg(PAS_DMA_COM_CFG, tmp | 0x18000000); tmp 192 arch/powerpc/platforms/pasemi/iommu.c unsigned long tmp; tmp 209 arch/powerpc/platforms/pasemi/iommu.c tmp = memblock_phys_alloc(IOBMAP_PAGE_SIZE, IOBMAP_PAGE_SIZE); tmp 210 arch/powerpc/platforms/pasemi/iommu.c if (!tmp) tmp 215 arch/powerpc/platforms/pasemi/iommu.c iob_l2_emptyval = IOBMAP_L2E_V | (tmp >> IOBMAP_PAGE_SHIFT); tmp 63 arch/powerpc/platforms/pasemi/pci.c u32 tmp; tmp 79 arch/powerpc/platforms/pasemi/pci.c tmp = in_le32(addr); tmp 80 arch/powerpc/platforms/pasemi/pci.c out_le32(addr, tmp); tmp 84 arch/powerpc/platforms/pasemi/pci.c *val = (tmp >> (8*byte)) & 0xff; tmp 88 arch/powerpc/platforms/pasemi/pci.c *val = tmp & 0xffff; tmp 90 arch/powerpc/platforms/pasemi/pci.c *val = (tmp >> 16) & 0xffff; tmp 93 arch/powerpc/platforms/pasemi/pci.c *val = tmp; tmp 185 arch/powerpc/platforms/powermac/bootx_init.c u32 tmp; tmp 193 arch/powerpc/platforms/powermac/bootx_init.c tmp = bi->dispDeviceDepth; tmp 194 arch/powerpc/platforms/powermac/bootx_init.c bootx_dt_add_prop("linux,bootx-depth", &tmp, 4, mem_end); tmp 195 arch/powerpc/platforms/powermac/bootx_init.c tmp = bi->dispDeviceRect[2] - bi->dispDeviceRect[0]; tmp 196 arch/powerpc/platforms/powermac/bootx_init.c bootx_dt_add_prop("linux,bootx-width", &tmp, 4, mem_end); tmp 197 arch/powerpc/platforms/powermac/bootx_init.c tmp = bi->dispDeviceRect[3] - bi->dispDeviceRect[1]; tmp 198 arch/powerpc/platforms/powermac/bootx_init.c bootx_dt_add_prop("linux,bootx-height", &tmp, 4, mem_end); tmp 199 arch/powerpc/platforms/powermac/bootx_init.c tmp = bi->dispDeviceRowBytes; tmp 200 arch/powerpc/platforms/powermac/bootx_init.c bootx_dt_add_prop("linux,bootx-linebytes", &tmp, 4, mem_end); tmp 201 arch/powerpc/platforms/powermac/bootx_init.c tmp = (u32)bi->dispDeviceBase; tmp 202 arch/powerpc/platforms/powermac/bootx_init.c if (tmp == 0) tmp 203 arch/powerpc/platforms/powermac/bootx_init.c tmp = (u32)bi->logicalDisplayBase; tmp 204 arch/powerpc/platforms/powermac/bootx_init.c tmp += bi->dispDeviceRect[1] * bi->dispDeviceRowBytes; tmp 205 arch/powerpc/platforms/powermac/bootx_init.c tmp += bi->dispDeviceRect[0] * ((bi->dispDeviceDepth + 7) / 8); tmp 206 arch/powerpc/platforms/powermac/bootx_init.c bootx_dt_add_prop("linux,bootx-addr", &tmp, 4, mem_end); tmp 48 arch/powerpc/platforms/powermac/pfunc_base.c u8 tmp; tmp 56 arch/powerpc/platforms/powermac/pfunc_base.c tmp = readb(addr); tmp 57 arch/powerpc/platforms/powermac/pfunc_base.c tmp = (tmp & ~mask) | (value & mask); tmp 59 arch/powerpc/platforms/powermac/pfunc_base.c tmp, func->node, addr); tmp 60 arch/powerpc/platforms/powermac/pfunc_base.c writeb(tmp, addr); tmp 221 arch/powerpc/platforms/powermac/pfunc_base.c u32 tmp, val; tmp 228 arch/powerpc/platforms/powermac/pfunc_base.c tmp = MACIO_IN32(offset); tmp 230 arch/powerpc/platforms/powermac/pfunc_base.c tmp = (tmp & ~mask) | (val & mask); tmp 231 arch/powerpc/platforms/powermac/pfunc_base.c MACIO_OUT32(offset, tmp); tmp 241 arch/powerpc/platforms/powermac/pfunc_base.c u32 tmp, val; tmp 248 arch/powerpc/platforms/powermac/pfunc_base.c tmp = MACIO_IN8(offset); tmp 250 arch/powerpc/platforms/powermac/pfunc_base.c tmp = (tmp & ~mask) | (val & mask); tmp 251 arch/powerpc/platforms/powermac/pfunc_base.c MACIO_OUT8(offset, tmp); tmp 960 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_function *func, *tmp; tmp 971 arch/powerpc/platforms/powermac/pfunc_core.c list_for_each_entry_safe(func, tmp, &dev->functions, link) { tmp 328 arch/powerpc/platforms/powermac/pic.c struct device_node *tmp; tmp 330 arch/powerpc/platforms/powermac/pic.c tmp = master; tmp 332 arch/powerpc/platforms/powermac/pic.c slave = tmp; tmp 262 arch/powerpc/platforms/powernv/idle.c u64 new, tmp; tmp 269 arch/powerpc/platforms/powernv/idle.c tmp = cmpxchg(state, s, new); tmp 270 arch/powerpc/platforms/powernv/idle.c if (unlikely(tmp != s)) { tmp 271 arch/powerpc/platforms/powernv/idle.c s = tmp; tmp 26 arch/powerpc/platforms/powernv/opal-xscom.c u64 tmp; tmp 47 arch/powerpc/platforms/powernv/opal-xscom.c tmp = addr; tmp 48 arch/powerpc/platforms/powernv/opal-xscom.c tmp &= 0x0f00000000000000; tmp 50 arch/powerpc/platforms/powernv/opal-xscom.c addr |= tmp << 4; tmp 57 arch/powerpc/platforms/powernv/pci-ioda-tce.c __be64 *tmp = user ? tbl->it_userspace : (__be64 *) tbl->it_base; tmp 64 arch/powerpc/platforms/powernv/pci-ioda-tce.c unsigned long oldtce, tce = be64_to_cpu(READ_ONCE(tmp[n])); tmp 78 arch/powerpc/platforms/powernv/pci-ioda-tce.c oldtce = be64_to_cpu(cmpxchg(&tmp[n], 0, tmp 87 arch/powerpc/platforms/powernv/pci-ioda-tce.c tmp = __va(tce & ~(TCE_PCI_READ | TCE_PCI_WRITE)); tmp 93 arch/powerpc/platforms/powernv/pci-ioda-tce.c return tmp + idx; tmp 197 arch/powerpc/platforms/powernv/pci-ioda-tce.c u64 *tmp = (u64 *) addr_ul; tmp 200 arch/powerpc/platforms/powernv/pci-ioda-tce.c unsigned long hpa = be64_to_cpu(tmp[i]); tmp 233 arch/powerpc/platforms/powernv/pci-ioda-tce.c __be64 *addr, *tmp; tmp 248 arch/powerpc/platforms/powernv/pci-ioda-tce.c tmp = pnv_pci_ioda2_table_do_alloc_pages(nid, shift, tmp 250 arch/powerpc/platforms/powernv/pci-ioda-tce.c if (!tmp) tmp 253 arch/powerpc/platforms/powernv/pci-ioda-tce.c addr[i] = cpu_to_be64(__pa(tmp) | tmp 3129 arch/powerpc/platforms/powernv/pci-ioda.c struct pci_controller *hose, *tmp; tmp 3133 arch/powerpc/platforms/powernv/pci-ioda.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { tmp 3545 arch/powerpc/platforms/powernv/pci-ioda.c struct pnv_ioda_pe *slave, *tmp; tmp 3564 arch/powerpc/platforms/powernv/pci-ioda.c list_for_each_entry_safe(slave, tmp, &pe->slaves, list) { tmp 708 arch/powerpc/platforms/ps3/mm.c struct dma_chunk *tmp; tmp 718 arch/powerpc/platforms/ps3/mm.c list_for_each_entry_safe(c, tmp, &r->chunk_list.head, link) { tmp 969 arch/powerpc/platforms/ps3/mm.c dma_addr_t tmp; tmp 990 arch/powerpc/platforms/ps3/mm.c result = dma_sb_map_area(r, virt_addr, len, &tmp, tmp 1004 arch/powerpc/platforms/ps3/mm.c result = dma_sb_map_area(r, virt_addr, len, &tmp, tmp 262 arch/powerpc/platforms/ps3/os-area.c struct property *tmp = of_find_property(node, prop->name, NULL); tmp 264 arch/powerpc/platforms/ps3/os-area.c if (tmp) { tmp 266 arch/powerpc/platforms/ps3/os-area.c of_remove_property(node, tmp); tmp 284 arch/powerpc/platforms/ps3/os-area.c const struct property *tmp = of_find_property(node, prop->name, NULL); tmp 286 arch/powerpc/platforms/ps3/os-area.c if (tmp) { tmp 287 arch/powerpc/platforms/ps3/os-area.c BUG_ON(prop->length != tmp->length); tmp 288 arch/powerpc/platforms/ps3/os-area.c memcpy(prop->value, tmp->value, prop->length); tmp 293 arch/powerpc/platforms/ps3/repository.c struct ps3_repository_device tmp = *repo; tmp 299 arch/powerpc/platforms/ps3/repository.c result = ps3_repository_read_bus_num_dev(tmp.bus_index, &num_dev); tmp 307 arch/powerpc/platforms/ps3/repository.c __func__, __LINE__, tmp.bus_type, tmp.bus_index, tmp.bus_id, tmp 310 arch/powerpc/platforms/ps3/repository.c if (tmp.dev_index >= num_dev) { tmp 315 arch/powerpc/platforms/ps3/repository.c result = ps3_repository_read_dev_type(tmp.bus_index, tmp.dev_index, tmp 316 arch/powerpc/platforms/ps3/repository.c &tmp.dev_type); tmp 323 arch/powerpc/platforms/ps3/repository.c result = ps3_repository_read_dev_id(tmp.bus_index, tmp.dev_index, tmp 324 arch/powerpc/platforms/ps3/repository.c &tmp.dev_id); tmp 333 arch/powerpc/platforms/ps3/repository.c __func__, __LINE__, tmp.dev_type, tmp.dev_index, tmp.dev_id); tmp 335 arch/powerpc/platforms/ps3/repository.c *repo = tmp; tmp 343 arch/powerpc/platforms/ps3/repository.c struct ps3_repository_device tmp; tmp 349 arch/powerpc/platforms/ps3/repository.c for (tmp.bus_index = 0; tmp.bus_index < 10; tmp.bus_index++) { tmp 350 arch/powerpc/platforms/ps3/repository.c result = ps3_repository_read_bus_id(tmp.bus_index, tmp 351 arch/powerpc/platforms/ps3/repository.c &tmp.bus_id); tmp 354 arch/powerpc/platforms/ps3/repository.c __LINE__, tmp.bus_index); tmp 358 arch/powerpc/platforms/ps3/repository.c if (tmp.bus_id == bus_id) tmp 362 arch/powerpc/platforms/ps3/repository.c tmp.bus_id); tmp 368 arch/powerpc/platforms/ps3/repository.c result = ps3_repository_read_bus_type(tmp.bus_index, &tmp.bus_type); tmp 371 arch/powerpc/platforms/ps3/repository.c __LINE__, tmp.bus_index); tmp 375 arch/powerpc/platforms/ps3/repository.c result = ps3_repository_read_bus_num_dev(tmp.bus_index, &num_dev); tmp 382 arch/powerpc/platforms/ps3/repository.c for (tmp.dev_index = 0; tmp.dev_index < num_dev; tmp.dev_index++) { tmp 383 arch/powerpc/platforms/ps3/repository.c result = ps3_repository_read_dev_id(tmp.bus_index, tmp 384 arch/powerpc/platforms/ps3/repository.c tmp.dev_index, tmp 385 arch/powerpc/platforms/ps3/repository.c &tmp.dev_id); tmp 388 arch/powerpc/platforms/ps3/repository.c __LINE__, tmp.bus_index, tmp.dev_index); tmp 392 arch/powerpc/platforms/ps3/repository.c if (tmp.dev_id == dev_id) tmp 396 arch/powerpc/platforms/ps3/repository.c tmp.dev_id); tmp 402 arch/powerpc/platforms/ps3/repository.c result = ps3_repository_read_dev_type(tmp.bus_index, tmp.dev_index, tmp 403 arch/powerpc/platforms/ps3/repository.c &tmp.dev_type); tmp 410 arch/powerpc/platforms/ps3/repository.c __func__, __LINE__, tmp.bus_type, tmp.dev_type, tmp.bus_index, tmp 411 arch/powerpc/platforms/ps3/repository.c tmp.dev_index, tmp.bus_id, tmp.dev_id); tmp 412 arch/powerpc/platforms/ps3/repository.c *repo = tmp; tmp 187 arch/powerpc/platforms/ps3/setup.c u64 tmp; tmp 191 arch/powerpc/platforms/ps3/setup.c lv1_get_version_info(&ps3_firmware_version.raw, &tmp); tmp 22 arch/powerpc/platforms/ps3/time.c u64 tmp; tmp 24 arch/powerpc/platforms/ps3/time.c result = ps3_repository_read_be_tb_freq(0, &tmp); tmp 27 arch/powerpc/platforms/ps3/time.c ppc_tb_freq = tmp; tmp 712 arch/powerpc/platforms/pseries/eeh_pseries.c struct pci_dn *pdn, *tmp, *parent, *physfn_pdn; tmp 731 arch/powerpc/platforms/pseries/eeh_pseries.c list_for_each_entry_safe(pdn, tmp, tmp 246 arch/powerpc/platforms/pseries/hotplug-cpu.c cpumask_var_t candidate_mask, tmp; tmp 255 arch/powerpc/platforms/pseries/hotplug-cpu.c zalloc_cpumask_var(&tmp, GFP_KERNEL); tmp 259 arch/powerpc/platforms/pseries/hotplug-cpu.c cpumask_set_cpu(i, tmp); tmp 277 arch/powerpc/platforms/pseries/hotplug-cpu.c while (!cpumask_empty(tmp)) tmp 278 arch/powerpc/platforms/pseries/hotplug-cpu.c if (cpumask_subset(tmp, candidate_mask)) tmp 282 arch/powerpc/platforms/pseries/hotplug-cpu.c cpumask_shift_left(tmp, tmp, nthreads); tmp 284 arch/powerpc/platforms/pseries/hotplug-cpu.c if (cpumask_empty(tmp)) { tmp 291 arch/powerpc/platforms/pseries/hotplug-cpu.c for_each_cpu(cpu, tmp) { tmp 300 arch/powerpc/platforms/pseries/hotplug-cpu.c free_cpumask_var(tmp); tmp 563 arch/powerpc/platforms/pseries/iommu.c struct device_node *tmp; tmp 590 arch/powerpc/platforms/pseries/iommu.c for (children = 0, tmp = dn->child; tmp; tmp = tmp->sibling) tmp 599 arch/powerpc/platforms/pseries/lparcfg.c char *tmp; tmp 614 arch/powerpc/platforms/pseries/lparcfg.c tmp = strchr(kbuf, '='); tmp 615 arch/powerpc/platforms/pseries/lparcfg.c if (!tmp) tmp 618 arch/powerpc/platforms/pseries/lparcfg.c *tmp++ = '\0'; tmp 622 arch/powerpc/platforms/pseries/lparcfg.c *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); tmp 623 arch/powerpc/platforms/pseries/lparcfg.c if (endp == tmp) tmp 629 arch/powerpc/platforms/pseries/lparcfg.c *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10); tmp 630 arch/powerpc/platforms/pseries/lparcfg.c if (endp == tmp) tmp 636 arch/powerpc/platforms/pseries/lparcfg.c *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10); tmp 637 arch/powerpc/platforms/pseries/lparcfg.c if (endp == tmp) tmp 643 arch/powerpc/platforms/pseries/lparcfg.c *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10); tmp 644 arch/powerpc/platforms/pseries/lparcfg.c if (endp == tmp) tmp 669 arch/powerpc/platforms/pseries/lparcfg.c const char *tmp; tmp 677 arch/powerpc/platforms/pseries/lparcfg.c tmp = of_get_property(rootdn, "model", NULL); tmp 678 arch/powerpc/platforms/pseries/lparcfg.c if (tmp) tmp 679 arch/powerpc/platforms/pseries/lparcfg.c model = tmp; tmp 680 arch/powerpc/platforms/pseries/lparcfg.c tmp = of_get_property(rootdn, "system-id", NULL); tmp 681 arch/powerpc/platforms/pseries/lparcfg.c if (tmp) tmp 682 arch/powerpc/platforms/pseries/lparcfg.c system_id = tmp; tmp 117 arch/powerpc/platforms/pseries/reconfig.c char *tmp; tmp 121 arch/powerpc/platforms/pseries/reconfig.c tmp = strchr(buf, ' '); tmp 122 arch/powerpc/platforms/pseries/reconfig.c if (!tmp) { tmp 127 arch/powerpc/platforms/pseries/reconfig.c *tmp = '\0'; tmp 129 arch/powerpc/platforms/pseries/reconfig.c if (++tmp >= end) { tmp 137 arch/powerpc/platforms/pseries/reconfig.c *length = simple_strtoul(tmp, &tmp, 10); tmp 143 arch/powerpc/platforms/pseries/reconfig.c if (*tmp != ' ' || ++tmp >= end) { tmp 150 arch/powerpc/platforms/pseries/reconfig.c *value = tmp; tmp 151 arch/powerpc/platforms/pseries/reconfig.c tmp += *length; tmp 152 arch/powerpc/platforms/pseries/reconfig.c if (tmp > end) { tmp 157 arch/powerpc/platforms/pseries/reconfig.c else if (tmp < end && *tmp != ' ' && *tmp != '\0') { tmp 162 arch/powerpc/platforms/pseries/reconfig.c tmp++; tmp 165 arch/powerpc/platforms/pseries/reconfig.c return tmp; tmp 300 arch/powerpc/platforms/pseries/reconfig.c char *tmp; tmp 306 arch/powerpc/platforms/pseries/reconfig.c tmp = strchr(buf,' '); tmp 307 arch/powerpc/platforms/pseries/reconfig.c if (tmp) tmp 308 arch/powerpc/platforms/pseries/reconfig.c *tmp = '\0'; tmp 363 arch/powerpc/platforms/pseries/reconfig.c char *tmp; tmp 369 arch/powerpc/platforms/pseries/reconfig.c tmp = strchr(kbuf, ' '); tmp 370 arch/powerpc/platforms/pseries/reconfig.c if (!tmp) { tmp 374 arch/powerpc/platforms/pseries/reconfig.c *tmp = '\0'; tmp 375 arch/powerpc/platforms/pseries/reconfig.c tmp++; tmp 378 arch/powerpc/platforms/pseries/reconfig.c rv = do_add_node(tmp, count - (tmp - kbuf)); tmp 380 arch/powerpc/platforms/pseries/reconfig.c rv = do_remove_node(tmp); tmp 382 arch/powerpc/platforms/pseries/reconfig.c rv = do_add_property(tmp, count - (tmp - kbuf)); tmp 384 arch/powerpc/platforms/pseries/reconfig.c rv = do_remove_property(tmp, count - (tmp - kbuf)); tmp 386 arch/powerpc/platforms/pseries/reconfig.c rv = do_update_property(tmp, count - (tmp - kbuf)); tmp 192 arch/powerpc/platforms/pseries/vio.c size_t tmp; tmp 216 arch/powerpc/platforms/pseries/vio.c tmp = min(excess_freed, spare_needed); tmp 217 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.size -= tmp; tmp 218 arch/powerpc/platforms/pseries/vio.c vio_cmo.reserve.size += tmp; tmp 219 arch/powerpc/platforms/pseries/vio.c vio_cmo.spare += tmp; tmp 220 arch/powerpc/platforms/pseries/vio.c excess_freed -= tmp; tmp 221 arch/powerpc/platforms/pseries/vio.c spare_needed -= tmp; tmp 232 arch/powerpc/platforms/pseries/vio.c tmp = min3(spare_needed, reserve_freed, (viodev->cmo.entitled - VIO_CMO_MIN_ENT)); tmp 234 arch/powerpc/platforms/pseries/vio.c vio_cmo.spare += tmp; tmp 235 arch/powerpc/platforms/pseries/vio.c viodev->cmo.entitled -= tmp; tmp 236 arch/powerpc/platforms/pseries/vio.c reserve_freed -= tmp; tmp 237 arch/powerpc/platforms/pseries/vio.c spare_needed -= tmp; tmp 247 arch/powerpc/platforms/pseries/vio.c tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); tmp 249 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.size -= tmp; tmp 250 arch/powerpc/platforms/pseries/vio.c vio_cmo.reserve.size += tmp; tmp 251 arch/powerpc/platforms/pseries/vio.c excess_freed -= tmp; tmp 280 arch/powerpc/platforms/pseries/vio.c size_t avail, delta, tmp; tmp 290 arch/powerpc/platforms/pseries/vio.c tmp = min(delta, (VIO_CMO_MIN_ENT - vio_cmo.spare)); tmp 291 arch/powerpc/platforms/pseries/vio.c vio_cmo.spare += tmp; tmp 292 arch/powerpc/platforms/pseries/vio.c vio_cmo.reserve.size += tmp; tmp 293 arch/powerpc/platforms/pseries/vio.c delta -= tmp; tmp 328 arch/powerpc/platforms/pseries/vio.c tmp = min(vio_cmo.excess.free, delta); tmp 329 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.size -= tmp; tmp 330 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.free -= tmp; tmp 331 arch/powerpc/platforms/pseries/vio.c delta -= tmp; tmp 342 arch/powerpc/platforms/pseries/vio.c tmp = 0; tmp 345 arch/powerpc/platforms/pseries/vio.c tmp = viodev->cmo.entitled - tmp 348 arch/powerpc/platforms/pseries/vio.c viodev->cmo.entitled -= min(tmp, delta); tmp 349 arch/powerpc/platforms/pseries/vio.c delta -= min(tmp, delta); tmp 765 arch/powerpc/platforms/pseries/vio.c size_t tmp; tmp 767 arch/powerpc/platforms/pseries/vio.c tmp = vio_cmo.spare + vio_cmo.excess.free; tmp 768 arch/powerpc/platforms/pseries/vio.c if (tmp < size) { tmp 772 arch/powerpc/platforms/pseries/vio.c size, (vio_cmo.spare + tmp)); tmp 778 arch/powerpc/platforms/pseries/vio.c tmp = min(size, vio_cmo.excess.free); tmp 779 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.free -= tmp; tmp 780 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.size -= tmp; tmp 781 arch/powerpc/platforms/pseries/vio.c vio_cmo.reserve.size += tmp; tmp 784 arch/powerpc/platforms/pseries/vio.c vio_cmo.spare -= size - tmp; tmp 808 arch/powerpc/platforms/pseries/vio.c size_t tmp; tmp 851 arch/powerpc/platforms/pseries/vio.c tmp = min(viodev->cmo.entitled, (VIO_CMO_MIN_ENT - tmp 853 arch/powerpc/platforms/pseries/vio.c vio_cmo.spare += tmp; tmp 854 arch/powerpc/platforms/pseries/vio.c viodev->cmo.entitled -= tmp; tmp 144 arch/powerpc/sysdev/dart_iommu.c unsigned int tmp; tmp 160 arch/powerpc/sysdev/dart_iommu.c " isync" : "=r" (tmp) : "r" (end) : "memory"); tmp 231 arch/powerpc/sysdev/dart_iommu.c unsigned long tmp; tmp 253 arch/powerpc/sysdev/dart_iommu.c tmp = memblock_phys_alloc(DART_PAGE_SIZE, DART_PAGE_SIZE); tmp 254 arch/powerpc/sysdev/dart_iommu.c if (!tmp) tmp 257 arch/powerpc/sysdev/dart_iommu.c dart_emptyval = DARTMAP_VALID | ((tmp >> DART_PAGE_SHIFT) & tmp 17 arch/powerpc/sysdev/dcr.c struct device_node *par, *tmp; tmp 24 arch/powerpc/sysdev/dcr.c tmp = par; tmp 29 arch/powerpc/sysdev/dcr.c of_node_put(tmp); tmp 1239 arch/powerpc/sysdev/fsl_pci.c struct pci_controller *hose, *tmp; tmp 1241 arch/powerpc/sysdev/fsl_pci.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 1272 arch/powerpc/sysdev/fsl_pci.c struct pci_controller *hose, *tmp; tmp 1274 arch/powerpc/sysdev/fsl_pci.c list_for_each_entry_safe(hose, tmp, &hose_list, list_node) tmp 452 arch/powerpc/sysdev/fsl_rio.c static int tmp; tmp 517 arch/powerpc/sysdev/fsl_rio.c rmu_np[tmp] = np; tmp 518 arch/powerpc/sysdev/fsl_rio.c tmp++; tmp 392 arch/powerpc/sysdev/fsl_rmu.c u32 epwisr, tmp; tmp 459 arch/powerpc/sysdev/fsl_rmu.c tmp = in_be32(rio_regs_win + RIO_LTLEDCSR); tmp 460 arch/powerpc/sysdev/fsl_rmu.c pr_debug("RIO_LTLEDCSR = 0x%x\n", tmp); tmp 465 arch/powerpc/sysdev/fsl_rmu.c tmp = in_be32(rio_regs_win + RIO_LTLEDCSR); tmp 466 arch/powerpc/sysdev/fsl_rmu.c pr_debug("RIO_LTLEDCSR = 0x%x\n", tmp); tmp 471 arch/powerpc/sysdev/fsl_rmu.c tmp = in_be32(rio_regs_win + RIO_LTLEDCSR); tmp 472 arch/powerpc/sysdev/fsl_rmu.c pr_debug("RIO_LTLEDCSR = 0x%x\n", tmp); tmp 396 arch/powerpc/sysdev/mpic.c u32 tmp; tmp 406 arch/powerpc/sysdev/mpic.c tmp = readl(fixup->base + 4); tmp 407 arch/powerpc/sysdev/mpic.c tmp &= ~(0x23U); tmp 409 arch/powerpc/sysdev/mpic.c tmp |= 0x22; tmp 410 arch/powerpc/sysdev/mpic.c writel(tmp, fixup->base + 4); tmp 416 arch/powerpc/sysdev/mpic.c mpic->save_data[source].fixup_data = tmp | 1; tmp 424 arch/powerpc/sysdev/mpic.c u32 tmp; tmp 434 arch/powerpc/sysdev/mpic.c tmp = readl(fixup->base + 4); tmp 435 arch/powerpc/sysdev/mpic.c tmp |= 1; tmp 436 arch/powerpc/sysdev/mpic.c writel(tmp, fixup->base + 4); tmp 442 arch/powerpc/sysdev/mpic.c mpic->save_data[source].fixup_data = tmp & ~1; tmp 495 arch/powerpc/sysdev/mpic.c u32 tmp; tmp 520 arch/powerpc/sysdev/mpic.c tmp = readl(base + 4); tmp 521 arch/powerpc/sysdev/mpic.c irq = (tmp >> 16) & 0xff; tmp 522 arch/powerpc/sysdev/mpic.c DBG("HT PIC index 0x%x, irq 0x%x, tmp: %08x\n", i, irq, tmp); tmp 524 arch/powerpc/sysdev/mpic.c tmp |= 0x1; tmp 525 arch/powerpc/sysdev/mpic.c writel(tmp, base + 4); tmp 45 arch/powerpc/sysdev/mpic_u3msi.c u32 tmp; tmp 53 arch/powerpc/sysdev/mpic_u3msi.c pci_read_config_dword(pdev, pos + HT_MSI_ADDR_LO, &tmp); tmp 54 arch/powerpc/sysdev/mpic_u3msi.c addr = tmp & HT_MSI_ADDR_LO_MASK; tmp 55 arch/powerpc/sysdev/mpic_u3msi.c pci_read_config_dword(pdev, pos + HT_MSI_ADDR_HI, &tmp); tmp 56 arch/powerpc/sysdev/mpic_u3msi.c addr = addr | ((u64)tmp << 32); tmp 177 arch/powerpc/sysdev/pmi.c struct pmi_handler *handler, *tmp; tmp 184 arch/powerpc/sysdev/pmi.c list_for_each_entry_safe(handler, tmp, &data->handler, node) tmp 3475 arch/powerpc/xmon/xmon.c static char tmp[64]; tmp 3484 arch/powerpc/xmon/xmon.c getstring(tmp, 64); tmp 3488 arch/powerpc/xmon/xmon.c addr = kallsyms_lookup_name(tmp); tmp 3490 arch/powerpc/xmon/xmon.c printf("%s: %lx\n", tmp, addr); tmp 3492 arch/powerpc/xmon/xmon.c printf("Symbol '%s' not found.\n", tmp); tmp 3499 arch/powerpc/xmon/xmon.c getstring(tmp, 64); tmp 3503 arch/powerpc/xmon/xmon.c ptr = (void __percpu *)kallsyms_lookup_name(tmp); tmp 3518 arch/powerpc/xmon/xmon.c printf("%s for cpu 0x%lx: %lx\n", tmp, cpu, addr); tmp 3520 arch/powerpc/xmon/xmon.c printf("Percpu symbol '%s' not found.\n", tmp); tmp 3969 arch/powerpc/xmon/xmon.c u64 tmp; tmp 3984 arch/powerpc/xmon/xmon.c tmp = spu_mfc_sr1_get(spu); tmp 3985 arch/powerpc/xmon/xmon.c spu_info[i].saved_mfc_sr1_RW = tmp; tmp 3987 arch/powerpc/xmon/xmon.c tmp &= ~MFC_STATE1_MASTER_RUN_CONTROL_MASK; tmp 3988 arch/powerpc/xmon/xmon.c spu_mfc_sr1_set(spu, tmp); tmp 17 arch/riscv/include/asm/futex.h uintptr_t tmp; \ tmp 32 arch/riscv/include/asm/futex.h [u] "+m" (*uaddr), [t] "=&r" (tmp) \ tmp 84 arch/riscv/include/asm/futex.h uintptr_t tmp; tmp 106 arch/riscv/include/asm/futex.h : [r] "+r" (ret), [v] "=&r" (val), [u] "+m" (*uaddr), [t] "=&r" (tmp) tmp 29 arch/riscv/include/asm/spinlock.h int tmp = 1, busy; tmp 35 arch/riscv/include/asm/spinlock.h : "r" (tmp) tmp 56 arch/riscv/include/asm/spinlock.h int tmp; tmp 65 arch/riscv/include/asm/spinlock.h : "+A" (lock->lock), "=&r" (tmp) tmp 71 arch/riscv/include/asm/spinlock.h int tmp; tmp 80 arch/riscv/include/asm/spinlock.h : "+A" (lock->lock), "=&r" (tmp) tmp 1559 arch/riscv/net/bpf_jit_comp.c struct bpf_prog *tmp, *orig_prog = prog; tmp 1567 arch/riscv/net/bpf_jit_comp.c tmp = bpf_jit_blind_constants(prog); tmp 1568 arch/riscv/net/bpf_jit_comp.c if (IS_ERR(tmp)) tmp 1570 arch/riscv/net/bpf_jit_comp.c if (tmp != prog) { tmp 1572 arch/riscv/net/bpf_jit_comp.c prog = tmp; tmp 1650 arch/riscv/net/bpf_jit_comp.c tmp : orig_prog); tmp 106 arch/s390/boot/ipl_report.c unsigned long tmp; tmp 123 arch/s390/boot/ipl_report.c tmp = (unsigned long) S390_lowcore.ipl_parmblock_ptr; tmp 124 arch/s390/boot/ipl_report.c pl_hdr = (struct ipl_pl_hdr *) tmp; tmp 125 arch/s390/boot/ipl_report.c tmp = (tmp + pl_hdr->len + 7) & -8UL; tmp 126 arch/s390/boot/ipl_report.c rl_hdr = (struct ipl_rl_hdr *) tmp; tmp 409 arch/s390/hypfs/inode.c char tmp[TMP_SIZE]; tmp 412 arch/s390/hypfs/inode.c snprintf(tmp, TMP_SIZE, "%llu\n", (unsigned long long int)value); tmp 413 arch/s390/hypfs/inode.c buffer = kstrdup(tmp, GFP_KERNEL); tmp 175 arch/s390/include/asm/string.h const char *tmp = s; tmp 180 arch/s390/include/asm/string.h : "+d" (r0), "+a" (tmp) : : "cc", "memory"); tmp 189 arch/s390/include/asm/string.h const char *tmp = s; tmp 195 arch/s390/include/asm/string.h : "+a" (end), "+a" (tmp) : "d" (r0) : "cc", "memory"); tmp 128 arch/s390/kernel/compat_linux.c struct stat64_emu31 tmp; tmp 130 arch/s390/kernel/compat_linux.c memset(&tmp, 0, sizeof(tmp)); tmp 132 arch/s390/kernel/compat_linux.c tmp.st_dev = huge_encode_dev(stat->dev); tmp 133 arch/s390/kernel/compat_linux.c tmp.st_ino = stat->ino; tmp 134 arch/s390/kernel/compat_linux.c tmp.__st_ino = (u32)stat->ino; tmp 135 arch/s390/kernel/compat_linux.c tmp.st_mode = stat->mode; tmp 136 arch/s390/kernel/compat_linux.c tmp.st_nlink = (unsigned int)stat->nlink; tmp 137 arch/s390/kernel/compat_linux.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); tmp 138 arch/s390/kernel/compat_linux.c tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); tmp 139 arch/s390/kernel/compat_linux.c tmp.st_rdev = huge_encode_dev(stat->rdev); tmp 140 arch/s390/kernel/compat_linux.c tmp.st_size = stat->size; tmp 141 arch/s390/kernel/compat_linux.c tmp.st_blksize = (u32)stat->blksize; tmp 142 arch/s390/kernel/compat_linux.c tmp.st_blocks = (u32)stat->blocks; tmp 143 arch/s390/kernel/compat_linux.c tmp.st_atime = (u32)stat->atime.tv_sec; tmp 144 arch/s390/kernel/compat_linux.c tmp.st_mtime = (u32)stat->mtime.tv_sec; tmp 145 arch/s390/kernel/compat_linux.c tmp.st_ctime = (u32)stat->ctime.tv_sec; tmp 147 arch/s390/kernel/compat_linux.c return copy_to_user(ubuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; tmp 60 arch/s390/kernel/diag.c int cpu, prec, tmp; tmp 68 arch/s390/kernel/diag.c for (tmp = 10; cpu >= tmp; tmp *= 10) tmp 369 arch/s390/kernel/kprobes.c struct hlist_node *tmp; tmp 394 arch/s390/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 413 arch/s390/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 440 arch/s390/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 342 arch/s390/kernel/nmi.c unsigned long long tmp; tmp 382 arch/s390/kernel/nmi.c tmp = get_tod_clock(); tmp 383 arch/s390/kernel/nmi.c if (((tmp - last_ipd) >> 12) < MAX_IPD_TIME) tmp 387 arch/s390/kernel/nmi.c last_ipd = tmp; tmp 204 arch/s390/kernel/ptrace.c addr_t offset, tmp; tmp 210 arch/s390/kernel/ptrace.c tmp = *(addr_t *)((addr_t) &task_pt_regs(child)->psw + addr); tmp 213 arch/s390/kernel/ptrace.c tmp &= PSW_MASK_USER | PSW_MASK_RI; tmp 214 arch/s390/kernel/ptrace.c tmp |= PSW_USER_BITS; tmp 228 arch/s390/kernel/ptrace.c tmp = ((unsigned long) child->thread.acrs[15]) << 32; tmp 230 arch/s390/kernel/ptrace.c tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); tmp 236 arch/s390/kernel/ptrace.c tmp = (addr_t) task_pt_regs(child)->orig_gpr2; tmp 243 arch/s390/kernel/ptrace.c tmp = 0; tmp 249 arch/s390/kernel/ptrace.c tmp = child->thread.fpu.fpc; tmp 250 arch/s390/kernel/ptrace.c tmp <<= BITS_PER_LONG - 32; tmp 259 arch/s390/kernel/ptrace.c tmp = *(addr_t *) tmp 262 arch/s390/kernel/ptrace.c tmp = *(addr_t *) tmp 270 arch/s390/kernel/ptrace.c tmp = __peek_user_per(child, addr); tmp 273 arch/s390/kernel/ptrace.c tmp = 0; tmp 275 arch/s390/kernel/ptrace.c return tmp; tmp 281 arch/s390/kernel/ptrace.c addr_t tmp, mask; tmp 294 arch/s390/kernel/ptrace.c tmp = __peek_user(child, addr); tmp 295 arch/s390/kernel/ptrace.c return put_user(tmp, (addr_t __user *) data); tmp 582 arch/s390/kernel/ptrace.c __u32 tmp; tmp 591 arch/s390/kernel/ptrace.c tmp = (__u32)(regs->psw.mask >> 32); tmp 592 arch/s390/kernel/ptrace.c tmp &= PSW32_MASK_USER | PSW32_MASK_RI; tmp 593 arch/s390/kernel/ptrace.c tmp |= PSW32_USER_BITS; tmp 596 arch/s390/kernel/ptrace.c tmp = (__u32) regs->psw.addr | tmp 600 arch/s390/kernel/ptrace.c tmp = *(__u32 *)((addr_t) ®s->psw + addr*2 + 4); tmp 607 arch/s390/kernel/ptrace.c tmp = *(__u32*)((addr_t) &child->thread.acrs + offset); tmp 613 arch/s390/kernel/ptrace.c tmp = *(__u32*)((addr_t) &task_pt_regs(child)->orig_gpr2 + 4); tmp 620 arch/s390/kernel/ptrace.c tmp = 0; tmp 626 arch/s390/kernel/ptrace.c tmp = child->thread.fpu.fpc; tmp 635 arch/s390/kernel/ptrace.c tmp = *(__u32 *) tmp 638 arch/s390/kernel/ptrace.c tmp = *(__u32 *) tmp 646 arch/s390/kernel/ptrace.c tmp = __peek_user_per_compat(child, addr); tmp 649 arch/s390/kernel/ptrace.c tmp = 0; tmp 651 arch/s390/kernel/ptrace.c return tmp; tmp 657 arch/s390/kernel/ptrace.c __u32 tmp; tmp 662 arch/s390/kernel/ptrace.c tmp = __peek_user_compat(child, addr); tmp 663 arch/s390/kernel/ptrace.c return put_user(tmp, (__u32 __user *) data); tmp 693 arch/s390/kernel/ptrace.c __u32 tmp = (__u32) data; tmp 706 arch/s390/kernel/ptrace.c if ((tmp ^ PSW32_USER_BITS) & ~mask) tmp 714 arch/s390/kernel/ptrace.c (__u64)(tmp & mask) << 32; tmp 717 arch/s390/kernel/ptrace.c regs->psw.addr = (__u64) tmp & PSW32_ADDR_INSN; tmp 720 arch/s390/kernel/ptrace.c (__u64)(tmp & PSW32_ADDR_AMODE); tmp 723 arch/s390/kernel/ptrace.c *(__u32*)((addr_t) ®s->psw + addr*2 + 4) = tmp; tmp 730 arch/s390/kernel/ptrace.c *(__u32*)((addr_t) &child->thread.acrs + offset) = tmp; tmp 736 arch/s390/kernel/ptrace.c *(__u32*)((addr_t) &task_pt_regs(child)->orig_gpr2 + 4) = tmp; tmp 749 arch/s390/kernel/ptrace.c if (test_fp_ctl(tmp)) tmp 761 arch/s390/kernel/ptrace.c child->thread.fpu.vxrs + 2*offset) = tmp; tmp 764 arch/s390/kernel/ptrace.c child->thread.fpu.fprs + offset) = tmp; tmp 561 arch/s390/kernel/setup.c unsigned long vmax, tmp; tmp 569 arch/s390/kernel/setup.c tmp = (memory_end ?: max_physmem_end) / PAGE_SIZE; tmp 570 arch/s390/kernel/setup.c tmp = tmp * (sizeof(struct page) + PAGE_SIZE); tmp 571 arch/s390/kernel/setup.c if (tmp + vmalloc_size + MODULES_LEN <= _REGION2_SIZE) tmp 584 arch/s390/kernel/setup.c tmp = VMALLOC_START / (PAGE_SIZE + sizeof(struct page)); tmp 586 arch/s390/kernel/setup.c tmp = SECTION_ALIGN_UP(tmp); tmp 587 arch/s390/kernel/setup.c tmp = VMALLOC_START - tmp * sizeof(struct page); tmp 588 arch/s390/kernel/setup.c tmp &= ~((vmax >> 11) - 1); /* align to page table level */ tmp 589 arch/s390/kernel/setup.c tmp = min(tmp, 1UL << MAX_PHYSMEM_BITS); tmp 590 arch/s390/kernel/setup.c vmemmap = (struct page *) tmp; tmp 260 arch/s390/kernel/vtime.c struct vtimer_list *tmp; tmp 262 arch/s390/kernel/vtime.c list_for_each_entry(tmp, head, entry) { tmp 263 arch/s390/kernel/vtime.c if (tmp->expires > timer->expires) { tmp 264 arch/s390/kernel/vtime.c list_add_tail(&timer->entry, &tmp->entry); tmp 276 arch/s390/kernel/vtime.c struct vtimer_list *timer, *tmp; tmp 283 arch/s390/kernel/vtime.c list_for_each_entry_safe(timer, tmp, &virt_timer_list, entry) { tmp 299 arch/s390/kernel/vtime.c list_for_each_entry_safe(timer, tmp, &cb_list, entry) { tmp 2401 arch/s390/kvm/interrupt.c struct s390_map_info *map, *tmp; tmp 2408 arch/s390/kvm/interrupt.c list_for_each_entry_safe(map, tmp, &adapter->maps, list) { tmp 2426 arch/s390/kvm/interrupt.c struct s390_map_info *map, *tmp; tmp 2431 arch/s390/kvm/interrupt.c list_for_each_entry_safe(map, tmp, tmp 142 arch/s390/kvm/vsie.c struct kvm_s390_apcb0 tmp; tmp 144 arch/s390/kvm/vsie.c if (read_guest_real(vcpu, apcb_o, &tmp, sizeof(struct kvm_s390_apcb0))) tmp 147 arch/s390/kvm/vsie.c apcb_s->apm[0] = apcb_h->apm[0] & tmp.apm[0]; tmp 148 arch/s390/kvm/vsie.c apcb_s->aqm[0] = apcb_h->aqm[0] & tmp.aqm[0] & 0xffff000000000000UL; tmp 149 arch/s390/kvm/vsie.c apcb_s->adm[0] = apcb_h->adm[0] & tmp.adm[0] & 0xffff000000000000UL; tmp 21 arch/s390/lib/find.c unsigned long tmp; tmp 24 arch/s390/lib/find.c if ((tmp = *(p++))) tmp 31 arch/s390/lib/find.c tmp = (*p) & (~0UL << (BITS_PER_LONG - size)); tmp 32 arch/s390/lib/find.c if (!tmp) /* Are any bits set? */ tmp 35 arch/s390/lib/find.c return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); tmp 44 arch/s390/lib/find.c unsigned long tmp; tmp 51 arch/s390/lib/find.c tmp = *(p++); tmp 52 arch/s390/lib/find.c tmp &= (~0UL >> offset); tmp 55 arch/s390/lib/find.c if (tmp) tmp 61 arch/s390/lib/find.c if ((tmp = *(p++))) tmp 68 arch/s390/lib/find.c tmp = *p; tmp 70 arch/s390/lib/find.c tmp &= (~0UL << (BITS_PER_LONG - size)); tmp 71 arch/s390/lib/find.c if (!tmp) /* Are any bits set? */ tmp 74 arch/s390/lib/find.c return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); tmp 114 arch/s390/mm/extmem.c struct dcss_segment *tmp, *retval = NULL; tmp 119 arch/s390/mm/extmem.c tmp = list_entry (l, struct dcss_segment, list); tmp 120 arch/s390/mm/extmem.c if (memcmp(tmp->dcss_name, dcss_name, 8) == 0) { tmp 121 arch/s390/mm/extmem.c retval = tmp; tmp 274 arch/s390/mm/extmem.c struct dcss_segment *tmp; tmp 278 arch/s390/mm/extmem.c tmp = list_entry(l, struct dcss_segment, list); tmp 279 arch/s390/mm/extmem.c if ((tmp->start_addr >> 20) > (seg->end >> 20)) tmp 281 arch/s390/mm/extmem.c if ((tmp->end >> 20) < (seg->start_addr >> 20)) tmp 283 arch/s390/mm/extmem.c if (seg == tmp) tmp 24 arch/s390/mm/maccess.c char tmp[8]; tmp 38 arch/s390/mm/maccess.c : "+&a" (aligned), "+&a" (count), "=m" (tmp) tmp 39 arch/s390/mm/maccess.c : "a" (&tmp), "a" (&tmp[offset]), "a" (src) tmp 34 arch/s390/mm/page-states.c register unsigned long tmp asm("0") = 0; tmp 43 arch/s390/mm/page-states.c : "=&d" (rc), "+&d" (tmp) tmp 830 arch/s390/mm/pgtable.c unsigned char tmp, mask = _PAGE_ACC_BITS | _PAGE_FP_BIT; tmp 835 arch/s390/mm/pgtable.c rc = get_guest_storage_key(current->mm, addr, &tmp); tmp 839 arch/s390/mm/pgtable.c *oldkey = tmp; tmp 844 arch/s390/mm/pgtable.c if (!((tmp ^ key) & mask)) tmp 310 arch/s390/mm/vmem.c struct memory_segment *tmp; tmp 316 arch/s390/mm/vmem.c list_for_each_entry(tmp, &mem_segs, list) { tmp 317 arch/s390/mm/vmem.c if (seg->start >= tmp->start + tmp->size) tmp 319 arch/s390/mm/vmem.c if (seg->start + seg->size <= tmp->start) tmp 1332 arch/s390/net/bpf_jit_comp.c struct bpf_prog *tmp, *orig_fp = fp; tmp 1343 arch/s390/net/bpf_jit_comp.c tmp = bpf_jit_blind_constants(fp); tmp 1348 arch/s390/net/bpf_jit_comp.c if (IS_ERR(tmp)) tmp 1350 arch/s390/net/bpf_jit_comp.c if (tmp != fp) { tmp 1352 arch/s390/net/bpf_jit_comp.c fp = tmp; tmp 1433 arch/s390/net/bpf_jit_comp.c tmp : orig_fp); tmp 223 arch/s390/numa/mode_emu.c struct toptree *node, *core, *tmp; tmp 225 arch/s390/numa/mode_emu.c toptree_for_each_safe(core, tmp, phys, CORE) { tmp 241 arch/s390/numa/mode_emu.c struct toptree *cur, *tmp; tmp 243 arch/s390/numa/mode_emu.c toptree_for_each_safe(cur, tmp, phys, level) { tmp 76 arch/s390/numa/toptree.c struct toptree *child, *tmp; tmp 80 arch/s390/numa/toptree.c toptree_for_each_child_safe(child, tmp, cand) tmp 143 arch/s390/numa/toptree.c struct toptree *child, *tmp; tmp 145 arch/s390/numa/toptree.c toptree_for_each_child_safe(child, tmp, cand) tmp 159 arch/s390/numa/toptree.c struct toptree *child, *tmp, *cand_copy; tmp 166 arch/s390/numa/toptree.c toptree_for_each_child_safe(child, tmp, cand) { tmp 200 arch/s390/numa/toptree.c struct toptree *stack_target, *real_insert_point, *ptr, *tmp; tmp 213 arch/s390/numa/toptree.c tmp = stack_target; tmp 216 arch/s390/numa/toptree.c toptree_insert(tmp, stack_target); tmp 259 arch/s390/numa/toptree.c struct toptree *child, *tmp; tmp 266 arch/s390/numa/toptree.c tmp = toptree_first(child, level); tmp 267 arch/s390/numa/toptree.c if (tmp) tmp 268 arch/s390/numa/toptree.c return tmp; tmp 307 arch/s390/numa/toptree.c struct toptree *cur_context, *tmp; tmp 315 arch/s390/numa/toptree.c tmp = toptree_next_sibling(cur); tmp 316 arch/s390/numa/toptree.c if (tmp != NULL) tmp 317 arch/s390/numa/toptree.c return tmp; tmp 324 arch/s390/numa/toptree.c tmp = toptree_next_sibling(cur_context); tmp 325 arch/s390/numa/toptree.c if (tmp != NULL) { tmp 327 arch/s390/numa/toptree.c tmp = toptree_first(tmp, level); tmp 328 arch/s390/numa/toptree.c if (tmp != NULL) tmp 329 arch/s390/numa/toptree.c return tmp; tmp 51 arch/s390/numa/toptree.h #define toptree_for_each_safe(ptree, tmp, cont, ttype) \ tmp 53 arch/s390/numa/toptree.h tmp = toptree_next(ptree, cont, ttype); \ tmp 55 arch/s390/numa/toptree.h ptree = tmp, \ tmp 56 arch/s390/numa/toptree.h tmp = toptree_next(ptree, cont, ttype)) tmp 60 arch/s390/pci/pci.c struct zpci_dev *tmp, *zdev = NULL; tmp 63 arch/s390/pci/pci.c list_for_each_entry(tmp, &zpci_list, entry) { tmp 64 arch/s390/pci/pci.c if (tmp->fid == fid) { tmp 65 arch/s390/pci/pci.c zdev = tmp; tmp 75 arch/s390/pci/pci.c struct zpci_dev *tmp, *zdev; tmp 80 arch/s390/pci/pci.c list_for_each_entry_safe(zdev, tmp, &zpci_list, entry) { tmp 88 arch/s390/pci/pci.c list_for_each_entry_safe(zdev, tmp, &remove, entry) tmp 57 arch/s390/pci/pci_mmio.c u8 tmp; tmp 78 arch/s390/pci/pci_mmio.c [val] "+d" (val), [tmp] "=d" (tmp), tmp 206 arch/s390/pci/pci_mmio.c u64 val, tmp; tmp 229 arch/s390/pci/pci_mmio.c [dst] "+a" (dst), [cnt] "+d" (cnt), [tmp] "=d" (tmp), tmp 134 arch/s390/tools/gen_opcode_table.c char tmp[STRING_SIZE_MAX]; tmp 138 arch/s390/tools/gen_opcode_table.c strcpy(tmp, format); tmp 139 arch/s390/tools/gen_opcode_table.c base_format = tmp; tmp 29 arch/sh/boards/mach-sdk7786/irq.c unsigned int tmp; tmp 39 arch/sh/boards/mach-sdk7786/irq.c tmp = fpga_read_reg(INTAMR); tmp 40 arch/sh/boards/mach-sdk7786/irq.c tmp &= ~(1 << ETH_IRQ_BIT); tmp 41 arch/sh/boards/mach-sdk7786/irq.c fpga_write_reg(tmp, INTAMR); tmp 50 arch/sh/boards/mach-sdk7786/nmi.c unsigned int source, mask, tmp; tmp 73 arch/sh/boards/mach-sdk7786/nmi.c tmp = fpga_read_reg(NMISR); tmp 74 arch/sh/boards/mach-sdk7786/nmi.c tmp &= ~NMISR_MASK; tmp 75 arch/sh/boards/mach-sdk7786/nmi.c tmp |= source; tmp 76 arch/sh/boards/mach-sdk7786/nmi.c fpga_write_reg(tmp, NMISR); tmp 119 arch/sh/boards/mach-sdk7786/setup.c unsigned int tmp; tmp 124 arch/sh/boards/mach-sdk7786/setup.c tmp = fpga_read_reg(SBCR); tmp 125 arch/sh/boards/mach-sdk7786/setup.c tmp &= ~SCBR_I2CCEN; tmp 126 arch/sh/boards/mach-sdk7786/setup.c tmp |= SCBR_I2CMEN; tmp 127 arch/sh/boards/mach-sdk7786/setup.c fpga_write_reg(tmp, SBCR); tmp 63 arch/sh/boards/mach-x3proto/ilsel.c unsigned int tmp, shift; tmp 74 arch/sh/boards/mach-x3proto/ilsel.c tmp = __raw_readw(addr); tmp 75 arch/sh/boards/mach-x3proto/ilsel.c tmp &= ~(0xf << shift); tmp 76 arch/sh/boards/mach-x3proto/ilsel.c tmp |= set << shift; tmp 77 arch/sh/boards/mach-x3proto/ilsel.c __raw_writew(tmp, addr); tmp 144 arch/sh/boards/mach-x3proto/ilsel.c unsigned int tmp; tmp 150 arch/sh/boards/mach-x3proto/ilsel.c tmp = __raw_readw(addr); tmp 151 arch/sh/boards/mach-x3proto/ilsel.c tmp &= ~(0xf << mk_ilsel_shift(irq)); tmp 152 arch/sh/boards/mach-x3proto/ilsel.c __raw_writew(tmp, addr); tmp 33 arch/sh/drivers/pci/pci-sh5.c u32 tmp = num; tmp 39 arch/sh/drivers/pci/pci-sh5.c if (tmp & (1 << 31)) tmp 42 arch/sh/drivers/pci/pci-sh5.c tmp <<= 1; tmp 45 arch/sh/drivers/pci/pci-sh5.c tmp = 1 << i; tmp 47 arch/sh/drivers/pci/pci-sh5.c if (tmp != num) tmp 48 arch/sh/drivers/pci/pci-sh5.c tmp <<= 1; tmp 50 arch/sh/drivers/pci/pci-sh5.c return tmp; tmp 223 arch/sh/drivers/pci/pci-sh7780.c unsigned int tmp; tmp 229 arch/sh/drivers/pci/pci-sh7780.c tmp = __raw_readl(hose->reg_base + SH4_PCICR); tmp 230 arch/sh/drivers/pci/pci-sh7780.c tmp |= SH4_PCICR_PREFIX; tmp 231 arch/sh/drivers/pci/pci-sh7780.c __raw_writel(tmp, hose->reg_base + SH4_PCICR); tmp 234 arch/sh/drivers/pci/pci-sh7780.c tmp = __raw_readw(hose->reg_base + PCI_STATUS); tmp 235 arch/sh/drivers/pci/pci-sh7780.c tmp |= PCI_STATUS_66MHZ; tmp 236 arch/sh/drivers/pci/pci-sh7780.c __raw_writew(tmp, hose->reg_base + PCI_STATUS); tmp 239 arch/sh/drivers/pci/pci-sh7780.c tmp = __raw_readl(hose->reg_base + SH4_PCICR); tmp 240 arch/sh/drivers/pci/pci-sh7780.c tmp |= SH4_PCICR_PREFIX | SH4_PCICR_CFIN; tmp 241 arch/sh/drivers/pci/pci-sh7780.c __raw_writel(tmp, hose->reg_base + SH4_PCICR); tmp 120 arch/sh/drivers/superhyway/ops-sh4-202.c u64 tmp; tmp 137 arch/sh/drivers/superhyway/ops-sh4-202.c tmp = ((u64)vcrh << 32) | vcrl; tmp 138 arch/sh/drivers/superhyway/ops-sh4-202.c memcpy(vcr, &tmp, sizeof(u64)); tmp 145 arch/sh/drivers/superhyway/ops-sh4-202.c u64 tmp = *(u64 *)&vcr; tmp 147 arch/sh/drivers/superhyway/ops-sh4-202.c __raw_writel((tmp >> 32) & 0xffffffff, base); tmp 148 arch/sh/drivers/superhyway/ops-sh4-202.c __raw_writel(tmp & 0xffffffff, base + sizeof(u32)); tmp 8 arch/sh/include/asm/atomic-grb.h int tmp; \ tmp 19 arch/sh/include/asm/atomic-grb.h : "=&r" (tmp), \ tmp 28 arch/sh/include/asm/atomic-grb.h int tmp; \ tmp 39 arch/sh/include/asm/atomic-grb.h : "=&r" (tmp), \ tmp 44 arch/sh/include/asm/atomic-grb.h return tmp; \ tmp 50 arch/sh/include/asm/atomic-grb.h int res, tmp; \ tmp 62 arch/sh/include/asm/atomic-grb.h : "=&r" (tmp), "=&r" (res), "+r" (v) \ tmp 22 arch/sh/include/asm/atomic-llsc.h unsigned long tmp; \ tmp 29 arch/sh/include/asm/atomic-llsc.h : "=&z" (tmp) \ tmp 34 arch/sh/include/asm/barrier.h #define __smp_mb() do { int tmp = 0; __asm__ __volatile__ ("cas.l %0,%0,@%1" : "+r"(tmp) : "z"(&tmp) : "memory", "t"); } while(0) tmp 9 arch/sh/include/asm/bitops-grb.h unsigned long tmp; tmp 23 arch/sh/include/asm/bitops-grb.h : "=&r" (tmp), tmp 33 arch/sh/include/asm/bitops-grb.h unsigned long tmp; tmp 46 arch/sh/include/asm/bitops-grb.h : "=&r" (tmp), tmp 56 arch/sh/include/asm/bitops-grb.h unsigned long tmp; tmp 69 arch/sh/include/asm/bitops-grb.h : "=&r" (tmp), tmp 79 arch/sh/include/asm/bitops-grb.h unsigned long tmp; tmp 97 arch/sh/include/asm/bitops-grb.h : "=&r" (tmp), tmp 110 arch/sh/include/asm/bitops-grb.h unsigned long tmp; tmp 130 arch/sh/include/asm/bitops-grb.h : "=&r" (tmp), tmp 144 arch/sh/include/asm/bitops-grb.h unsigned long tmp; tmp 162 arch/sh/include/asm/bitops-grb.h : "=&r" (tmp), tmp 9 arch/sh/include/asm/bitops-llsc.h unsigned long tmp; tmp 20 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp) tmp 30 arch/sh/include/asm/bitops-llsc.h unsigned long tmp; tmp 41 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp) tmp 51 arch/sh/include/asm/bitops-llsc.h unsigned long tmp; tmp 62 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp) tmp 72 arch/sh/include/asm/bitops-llsc.h unsigned long tmp; tmp 85 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp), "=&r" (retval) tmp 97 arch/sh/include/asm/bitops-llsc.h unsigned long tmp; tmp 111 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp), "=&r" (retval) tmp 123 arch/sh/include/asm/bitops-llsc.h unsigned long tmp; tmp 137 arch/sh/include/asm/bitops-llsc.h : "=&z" (tmp), "=&r" (retval) tmp 8 arch/sh/include/asm/cmpxchg-llsc.h unsigned long tmp; tmp 18 arch/sh/include/asm/cmpxchg-llsc.h : "=&z"(tmp), "=&r" (retval) tmp 30 arch/sh/include/asm/cmpxchg-llsc.h unsigned long tmp; tmp 43 arch/sh/include/asm/cmpxchg-llsc.h : "=&z" (tmp), "=&r" (retval) tmp 28 arch/sh/include/asm/spinlock-llsc.h unsigned long tmp; tmp 40 arch/sh/include/asm/spinlock-llsc.h : "=&z" (tmp), "=&r" (oldval) tmp 48 arch/sh/include/asm/spinlock-llsc.h unsigned long tmp; tmp 55 arch/sh/include/asm/spinlock-llsc.h : "=&z" (tmp) tmp 63 arch/sh/include/asm/spinlock-llsc.h unsigned long tmp, oldval; tmp 73 arch/sh/include/asm/spinlock-llsc.h : "=&z" (tmp), "=&r" (oldval) tmp 92 arch/sh/include/asm/spinlock-llsc.h unsigned long tmp; tmp 102 arch/sh/include/asm/spinlock-llsc.h : "=&z" (tmp) tmp 110 arch/sh/include/asm/spinlock-llsc.h unsigned long tmp; tmp 118 arch/sh/include/asm/spinlock-llsc.h : "=&z" (tmp) tmp 126 arch/sh/include/asm/spinlock-llsc.h unsigned long tmp; tmp 136 arch/sh/include/asm/spinlock-llsc.h : "=&z" (tmp) tmp 154 arch/sh/include/asm/spinlock-llsc.h unsigned long tmp, oldval; tmp 167 arch/sh/include/asm/spinlock-llsc.h : "=&z" (tmp), "=&r" (oldval) tmp 177 arch/sh/include/asm/spinlock-llsc.h unsigned long tmp, oldval; tmp 190 arch/sh/include/asm/spinlock-llsc.h : "=&z" (tmp), "=&r" (oldval) tmp 112 arch/sh/kernel/cpu/sh4/clock-sh4-202.c unsigned int tmp; tmp 118 arch/sh/kernel/cpu/sh4/clock-sh4-202.c tmp = frqcr3_lookup(clk, rate); tmp 122 arch/sh/kernel/cpu/sh4/clock-sh4-202.c frqcr3 |= tmp << 6; tmp 125 arch/sh/kernel/cpu/sh4/clock-sh4-202.c clk->rate = clk->parent->rate / frqcr3_divisors[tmp]; tmp 210 arch/sh/kernel/cpu/sh4/perf_event.c unsigned int tmp; tmp 212 arch/sh/kernel/cpu/sh4/perf_event.c tmp = __raw_readw(PMCR(idx)); tmp 213 arch/sh/kernel/cpu/sh4/perf_event.c tmp &= ~(PMCR_PMM_MASK | PMCR_PMEN); tmp 214 arch/sh/kernel/cpu/sh4/perf_event.c __raw_writew(tmp, PMCR(idx)); tmp 660 arch/sh/kernel/cpu/sh4/softfloat.c bits64 z, tmp; tmp 664 arch/sh/kernel/cpu/sh4/softfloat.c tmp = a0; tmp 665 arch/sh/kernel/cpu/sh4/softfloat.c do_div(tmp, b0); tmp 667 arch/sh/kernel/cpu/sh4/softfloat.c z = (b0 << 32 <= a0) ? LIT64(0xFFFFFFFF00000000) : tmp << 32; tmp 676 arch/sh/kernel/cpu/sh4/softfloat.c tmp = rem0; tmp 677 arch/sh/kernel/cpu/sh4/softfloat.c do_div(tmp, b0); tmp 678 arch/sh/kernel/cpu/sh4/softfloat.c z |= (b0 << 32 <= rem0) ? 0xFFFFFFFF : tmp; tmp 72 arch/sh/kernel/cpu/sh4/sq.c struct sq_mapping **p, *tmp; tmp 77 arch/sh/kernel/cpu/sh4/sq.c while ((tmp = *p) != NULL) tmp 78 arch/sh/kernel/cpu/sh4/sq.c p = &tmp->next; tmp 80 arch/sh/kernel/cpu/sh4/sq.c map->next = tmp; tmp 88 arch/sh/kernel/cpu/sh4/sq.c struct sq_mapping **p, *tmp; tmp 92 arch/sh/kernel/cpu/sh4/sq.c for (p = &sq_mapping_list; (tmp = *p); p = &tmp->next) tmp 93 arch/sh/kernel/cpu/sh4/sq.c if (tmp == map) { tmp 94 arch/sh/kernel/cpu/sh4/sq.c *p = tmp->next; tmp 234 arch/sh/kernel/cpu/sh4a/perf_event.c unsigned int tmp; tmp 236 arch/sh/kernel/cpu/sh4a/perf_event.c tmp = __raw_readl(PPC_CCBR(idx)); tmp 237 arch/sh/kernel/cpu/sh4a/perf_event.c tmp &= ~(CCBR_CIT_MASK | CCBR_DUC); tmp 238 arch/sh/kernel/cpu/sh4a/perf_event.c __raw_writel(tmp, PPC_CCBR(idx)); tmp 243 arch/sh/kernel/cpu/sh4a/perf_event.c unsigned int tmp; tmp 245 arch/sh/kernel/cpu/sh4a/perf_event.c tmp = __raw_readl(PPC_PMCAT); tmp 246 arch/sh/kernel/cpu/sh4a/perf_event.c tmp &= ~PMCAT_EMU_CLR_MASK; tmp 247 arch/sh/kernel/cpu/sh4a/perf_event.c tmp |= idx ? PMCAT_CLR1 : PMCAT_CLR0; tmp 248 arch/sh/kernel/cpu/sh4a/perf_event.c __raw_writel(tmp, PPC_PMCAT); tmp 250 arch/sh/kernel/cpu/sh4a/perf_event.c tmp = __raw_readl(PPC_CCBR(idx)); tmp 251 arch/sh/kernel/cpu/sh4a/perf_event.c tmp |= (hwc->config << 6) | CCBR_CMDS | CCBR_PPCE; tmp 252 arch/sh/kernel/cpu/sh4a/perf_event.c __raw_writel(tmp, PPC_CCBR(idx)); tmp 183 arch/sh/kernel/io_trapped.c unsigned long long tmp = 0; tmp 187 arch/sh/kernel/io_trapped.c tmp = __raw_readb(src_addr); tmp 190 arch/sh/kernel/io_trapped.c tmp = __raw_readw(src_addr); tmp 193 arch/sh/kernel/io_trapped.c tmp = __raw_readl(src_addr); tmp 196 arch/sh/kernel/io_trapped.c tmp = __raw_readq(src_addr); tmp 202 arch/sh/kernel/io_trapped.c __raw_writeb(tmp, dst_addr); tmp 205 arch/sh/kernel/io_trapped.c __raw_writew(tmp, dst_addr); tmp 208 arch/sh/kernel/io_trapped.c __raw_writel(tmp, dst_addr); tmp 211 arch/sh/kernel/io_trapped.c __raw_writeq(tmp, dst_addr); tmp 215 arch/sh/kernel/io_trapped.c return tmp; tmp 222 arch/sh/kernel/io_trapped.c unsigned long long tmp; tmp 232 arch/sh/kernel/io_trapped.c tmp = copy_word(src_addr, tmp 237 arch/sh/kernel/io_trapped.c pr_debug("trapped io read 0x%08lx -> 0x%08llx\n", src_addr, tmp); tmp 245 arch/sh/kernel/io_trapped.c unsigned long long tmp; tmp 255 arch/sh/kernel/io_trapped.c tmp = copy_word((unsigned long)src, cnt, tmp 259 arch/sh/kernel/io_trapped.c pr_debug("trapped io write 0x%08lx -> 0x%08llx\n", dst_addr, tmp); tmp 272 arch/sh/kernel/io_trapped.c int tmp; tmp 289 arch/sh/kernel/io_trapped.c tmp = handle_unaligned_access(instruction, regs, tmp 292 arch/sh/kernel/io_trapped.c return tmp == 0; tmp 307 arch/sh/kernel/kprobes.c struct hlist_node *tmp; tmp 327 arch/sh/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 355 arch/sh/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 377 arch/sh/kernel/ptrace_32.c unsigned long tmp; tmp 385 arch/sh/kernel/ptrace_32.c tmp = get_stack_long(child, addr); tmp 390 arch/sh/kernel/ptrace_32.c tmp = FPSCR_INIT; tmp 392 arch/sh/kernel/ptrace_32.c tmp = 0; tmp 399 arch/sh/kernel/ptrace_32.c tmp = ((unsigned long *)child->thread.xstate) tmp 403 arch/sh/kernel/ptrace_32.c tmp = !!tsk_used_math(child); tmp 405 arch/sh/kernel/ptrace_32.c tmp = child->mm->start_code; tmp 407 arch/sh/kernel/ptrace_32.c tmp = child->mm->start_data; tmp 409 arch/sh/kernel/ptrace_32.c tmp = child->mm->end_code; tmp 411 arch/sh/kernel/ptrace_32.c tmp = child->mm->end_code - child->mm->start_code; tmp 413 arch/sh/kernel/ptrace_32.c tmp = 0; tmp 414 arch/sh/kernel/ptrace_32.c ret = put_user(tmp, datap); tmp 68 arch/sh/kernel/ptrace_64.c unsigned long tmp; tmp 74 arch/sh/kernel/ptrace_64.c tmp = FPSCR_INIT; tmp 76 arch/sh/kernel/ptrace_64.c tmp = 0xffffffffUL; /* matches initial value in fpu.c */ tmp 78 arch/sh/kernel/ptrace_64.c return tmp; tmp 89 arch/sh/kernel/ptrace_64.c tmp = ((long *)task->thread.xstate)[addr / sizeof(unsigned long)]; tmp 90 arch/sh/kernel/ptrace_64.c return tmp; tmp 393 arch/sh/kernel/ptrace_64.c unsigned long tmp; tmp 400 arch/sh/kernel/ptrace_64.c tmp = get_stack_long(child, addr); tmp 408 arch/sh/kernel/ptrace_64.c tmp = get_fpu_long(child, index); tmp 410 arch/sh/kernel/ptrace_64.c tmp = !!tsk_used_math(child); tmp 414 arch/sh/kernel/ptrace_64.c ret = put_user(tmp, datap); tmp 21 arch/sh/kernel/return_address.c struct dwarf_frame *tmp; tmp 23 arch/sh/kernel/return_address.c tmp = dwarf_unwind_stack(ra, frame); tmp 24 arch/sh/kernel/return_address.c if (!tmp) tmp 30 arch/sh/kernel/return_address.c frame = tmp; tmp 478 arch/sh/kernel/traps_32.c int tmp; tmp 524 arch/sh/kernel/traps_32.c tmp = handle_unaligned_access(instruction, regs, tmp 529 arch/sh/kernel/traps_32.c if (tmp == 0) tmp 85 arch/sh/kernel/unwinder.c struct list_head *tmp, *entry = &unwinder_list; tmp 87 arch/sh/kernel/unwinder.c list_for_each(tmp, &unwinder_list) { tmp 90 arch/sh/kernel/unwinder.c o = list_entry(tmp, struct unwinder, list); tmp 95 arch/sh/kernel/unwinder.c entry = tmp; tmp 83 arch/sparc/crypto/crc32c_glue.c u32 tmp = *crcp; tmp 85 arch/sparc/crypto/crc32c_glue.c crc32c_compute(&tmp, (const u64 *) data, len); tmp 87 arch/sparc/crypto/crc32c_glue.c *(__le32 *) out = ~cpu_to_le32(tmp); tmp 55 arch/sparc/include/asm/backoff.h #define BACKOFF_SPIN(reg, tmp, label) \ tmp 56 arch/sparc/include/asm/backoff.h mov reg, tmp; \ tmp 62 arch/sparc/include/asm/backoff.h sllx tmp, 7, tmp; \ tmp 63 arch/sparc/include/asm/backoff.h wr tmp, 0, %asr27; \ tmp 64 arch/sparc/include/asm/backoff.h clr tmp; \ tmp 66 arch/sparc/include/asm/backoff.h brnz,pt tmp, 88b; \ tmp 67 arch/sparc/include/asm/backoff.h sub tmp, 1, tmp; \ tmp 68 arch/sparc/include/asm/backoff.h set BACKOFF_LIMIT, tmp; \ tmp 69 arch/sparc/include/asm/backoff.h cmp reg, tmp; \ tmp 82 arch/sparc/include/asm/backoff.h #define BACKOFF_SPIN(reg, tmp, label) tmp 161 arch/sparc/include/asm/checksum_32.h unsigned int tmp; tmp 167 arch/sparc/include/asm/checksum_32.h : "=&r" (sum), "=r" (tmp) tmp 86 arch/sparc/include/asm/checksum_64.h unsigned int tmp; tmp 93 arch/sparc/include/asm/checksum_64.h : "=&r" (sum), "=r" (tmp) tmp 33 arch/sparc/include/asm/io_32.h char tmp = readb(src); tmp 34 arch/sparc/include/asm/io_32.h *d++ = tmp; tmp 46 arch/sparc/include/asm/io_32.h char tmp = *s++; tmp 47 arch/sparc/include/asm/io_32.h writeb(tmp, d); tmp 104 arch/sparc/include/asm/io_32.h char tmp = sbus_readb(src); tmp 105 arch/sparc/include/asm/io_32.h *d++ = tmp; tmp 118 arch/sparc/include/asm/io_32.h char tmp = *s++; tmp 119 arch/sparc/include/asm/io_32.h sbus_writeb(tmp, d); tmp 354 arch/sparc/include/asm/io_64.h char tmp = sbus_readb(src); tmp 355 arch/sparc/include/asm/io_64.h *d++ = tmp; tmp 367 arch/sparc/include/asm/io_64.h char tmp = readb(src); tmp 368 arch/sparc/include/asm/io_64.h *d++ = tmp; tmp 380 arch/sparc/include/asm/io_64.h char tmp = *s++; tmp 381 arch/sparc/include/asm/io_64.h sbus_writeb(tmp, d); tmp 393 arch/sparc/include/asm/io_64.h char tmp = *s++; tmp 394 arch/sparc/include/asm/io_64.h writeb(tmp, d); tmp 72 arch/sparc/include/asm/irqflags_64.h unsigned long flags, tmp; tmp 88 arch/sparc/include/asm/irqflags_64.h : "=r" (flags), "=r" (tmp) tmp 282 arch/sparc/include/asm/pgtable_64.h unsigned long mask, tmp; tmp 324 arch/sparc/include/asm/pgtable_64.h : "=r" (mask), "=r" (tmp) tmp 443 arch/sparc/include/asm/pgtable_64.h unsigned long val = pte_val(pte), tmp; tmp 458 arch/sparc/include/asm/pgtable_64.h : "=r" (val), "=r" (tmp) tmp 467 arch/sparc/include/asm/pgtable_64.h unsigned long val = pte_val(pte), tmp; tmp 482 arch/sparc/include/asm/pgtable_64.h : "=r" (val), "=r" (tmp) tmp 509 arch/sparc/include/asm/pgtable_64.h unsigned long val = pte_val(pte), tmp; tmp 524 arch/sparc/include/asm/pgtable_64.h : "=r" (val), "=r" (tmp) tmp 32 arch/sparc/include/asm/termios.h unsigned short tmp; \ tmp 34 arch/sparc/include/asm/termios.h err = get_user(tmp, &(termio)->c_iflag); \ tmp 35 arch/sparc/include/asm/termios.h (termios)->c_iflag = (0xffff0000 & ((termios)->c_iflag)) | tmp; \ tmp 36 arch/sparc/include/asm/termios.h err |= get_user(tmp, &(termio)->c_oflag); \ tmp 37 arch/sparc/include/asm/termios.h (termios)->c_oflag = (0xffff0000 & ((termios)->c_oflag)) | tmp; \ tmp 38 arch/sparc/include/asm/termios.h err |= get_user(tmp, &(termio)->c_cflag); \ tmp 39 arch/sparc/include/asm/termios.h (termios)->c_cflag = (0xffff0000 & ((termios)->c_cflag)) | tmp; \ tmp 40 arch/sparc/include/asm/termios.h err |= get_user(tmp, &(termio)->c_lflag); \ tmp 41 arch/sparc/include/asm/termios.h (termios)->c_lflag = (0xffff0000 & ((termios)->c_lflag)) | tmp; \ tmp 332 arch/sparc/kernel/adi_64.c unsigned long paddr, tmp, version1, version2; tmp 344 arch/sparc/kernel/adi_64.c for (tmp = paddr; tmp < (paddr+PAGE_SIZE); tmp += adi_blksize()) { tmp 350 arch/sparc/kernel/adi_64.c : "r" (version1), "r" (tmp), tmp 352 arch/sparc/kernel/adi_64.c tmp += adi_blksize(); tmp 355 arch/sparc/kernel/adi_64.c : "r" (version2), "r" (tmp), tmp 375 arch/sparc/kernel/adi_64.c unsigned long version1, version2, paddr, tmp; tmp 383 arch/sparc/kernel/adi_64.c for (tmp = paddr; tmp < (paddr+PAGE_SIZE); tmp += adi_blksize()) { tmp 386 arch/sparc/kernel/adi_64.c : "r" (tmp), "i" (ASI_MCD_REAL)); tmp 387 arch/sparc/kernel/adi_64.c tmp += adi_blksize(); tmp 390 arch/sparc/kernel/adi_64.c : "r" (tmp), "i" (ASI_MCD_REAL)); tmp 61 arch/sparc/kernel/auxio_64.c u8 tmp = bits_off; tmp 63 arch/sparc/kernel/auxio_64.c bits_on = tmp; tmp 753 arch/sparc/kernel/ds.c struct ds_cap_state *tmp; tmp 755 arch/sparc/kernel/ds.c tmp = find_cap_by_string(dp, "var-config"); tmp 756 arch/sparc/kernel/ds.c if (tmp && tmp->state == CAP_STATE_REGISTERED) { tmp 757 arch/sparc/kernel/ds.c cp = tmp; tmp 763 arch/sparc/kernel/ds.c struct ds_cap_state *tmp; tmp 765 arch/sparc/kernel/ds.c tmp = find_cap_by_string(dp, "var-config-backup"); tmp 766 arch/sparc/kernel/ds.c if (tmp && tmp->state == CAP_STATE_REGISTERED) { tmp 767 arch/sparc/kernel/ds.c cp = tmp; tmp 997 arch/sparc/kernel/ds.c struct ds_queue_entry *qp, *tmp; tmp 1005 arch/sparc/kernel/ds.c list_for_each_entry_safe(qp, tmp, &todo, list) { tmp 34 arch/sparc/kernel/irq_32.c unsigned long tmp; tmp 41 arch/sparc/kernel/irq_32.c : "=&r" (retval), "=r" (tmp) tmp 51 arch/sparc/kernel/irq_32.c unsigned long tmp; tmp 58 arch/sparc/kernel/irq_32.c : "=&r" (tmp) tmp 66 arch/sparc/kernel/irq_32.c unsigned long tmp; tmp 74 arch/sparc/kernel/irq_32.c : "=&r" (tmp) tmp 358 arch/sparc/kernel/irq_64.c cpumask_t tmp; tmp 360 arch/sparc/kernel/irq_64.c cpumask_and(&tmp, cpu_online_mask, &mask); tmp 361 arch/sparc/kernel/irq_64.c cpuid = cpumask_empty(&tmp) ? map_to_cpu(irq) : cpumask_first(&tmp); tmp 470 arch/sparc/kernel/kprobes.c struct hlist_node *tmp; tmp 490 arch/sparc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 516 arch/sparc/kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 120 arch/sparc/kernel/leon_pci_grpci1.c u32 *pci_conf, tmp, cfg; tmp 138 arch/sparc/kernel/leon_pci_grpci1.c tmp = LEON3_BYPASS_LOAD_PA(pci_conf); tmp 144 arch/sparc/kernel/leon_pci_grpci1.c tmp = REGLOAD(priv->regs->stat_cmd); tmp 145 arch/sparc/kernel/leon_pci_grpci1.c grpci1_cfg_w32(priv, TGT, 0, PCI_COMMAND, tmp); tmp 148 arch/sparc/kernel/leon_pci_grpci1.c *val = swab32(tmp); tmp 516 arch/sparc/kernel/leon_pci_grpci1.c const int *tmp; tmp 667 arch/sparc/kernel/leon_pci_grpci1.c tmp = of_get_property(ofdev->dev.of_node, "all_pci_errors", &len); tmp 668 arch/sparc/kernel/leon_pci_grpci1.c if (tmp && (len == 4)) { tmp 239 arch/sparc/kernel/leon_pci_grpci2.c u32 tmp; tmp 262 arch/sparc/kernel/leon_pci_grpci2.c tmp = LEON3_BYPASS_LOAD_PA(pci_conf); tmp 274 arch/sparc/kernel/leon_pci_grpci2.c *val = swab32(tmp); tmp 689 arch/sparc/kernel/leon_pci_grpci2.c const int *tmp; tmp 737 arch/sparc/kernel/leon_pci_grpci2.c tmp = of_get_property(ofdev->dev.of_node, "barcfg", &len); tmp 738 arch/sparc/kernel/leon_pci_grpci2.c if (tmp && (len == 2*4*6)) tmp 739 arch/sparc/kernel/leon_pci_grpci2.c memcpy(priv->tgtbars, tmp, 2*4*6); tmp 744 arch/sparc/kernel/leon_pci_grpci2.c tmp = of_get_property(ofdev->dev.of_node, "irq_mask", &len); tmp 745 arch/sparc/kernel/leon_pci_grpci2.c if (tmp && (len == 4)) tmp 746 arch/sparc/kernel/leon_pci_grpci2.c priv->do_reset = *tmp; tmp 751 arch/sparc/kernel/leon_pci_grpci2.c tmp = of_get_property(ofdev->dev.of_node, "reset", &len); tmp 752 arch/sparc/kernel/leon_pci_grpci2.c if (tmp && (len == 4)) tmp 753 arch/sparc/kernel/leon_pci_grpci2.c priv->do_reset = *tmp; tmp 292 arch/sparc/kernel/pci_psycho.c u64 tmp; tmp 337 arch/sparc/kernel/pci_psycho.c tmp = upa_readq(base + PSYCHO_PCIA_CTRL); tmp 338 arch/sparc/kernel/pci_psycho.c tmp |= (PSYCHO_PCICTRL_SERR | tmp 341 arch/sparc/kernel/pci_psycho.c tmp &= ~(PSYCHO_PCICTRL_SBH_INT); tmp 342 arch/sparc/kernel/pci_psycho.c upa_writeq(tmp, base + PSYCHO_PCIA_CTRL); tmp 344 arch/sparc/kernel/pci_psycho.c tmp = upa_readq(base + PSYCHO_PCIB_CTRL); tmp 345 arch/sparc/kernel/pci_psycho.c tmp |= (PSYCHO_PCICTRL_SERR | tmp 348 arch/sparc/kernel/pci_psycho.c tmp &= ~(PSYCHO_PCICTRL_SBH_INT); tmp 349 arch/sparc/kernel/pci_psycho.c upa_writeq(tmp, base + PSYCHO_PCIB_CTRL); tmp 397 arch/sparc/kernel/pci_psycho.c u64 tmp; tmp 402 arch/sparc/kernel/pci_psycho.c tmp = upa_readq(pbm->controller_regs + PSYCHO_PCIA_CTRL); tmp 403 arch/sparc/kernel/pci_psycho.c tmp |= PSYCHO_PCICTRL_AEN; tmp 404 arch/sparc/kernel/pci_psycho.c upa_writeq(tmp, pbm->controller_regs + PSYCHO_PCIA_CTRL); tmp 406 arch/sparc/kernel/pci_psycho.c tmp = upa_readq(pbm->controller_regs + PSYCHO_PCIB_CTRL); tmp 407 arch/sparc/kernel/pci_psycho.c tmp |= PSYCHO_PCICTRL_AEN; tmp 408 arch/sparc/kernel/pci_psycho.c upa_writeq(tmp, pbm->controller_regs + PSYCHO_PCIB_CTRL); tmp 414 arch/sparc/kernel/pci_psycho.c tmp = upa_readq(pbm->controller_regs + PSYCHO_PCIA_DIAG); tmp 415 arch/sparc/kernel/pci_psycho.c tmp |= PSYCHO_PCIDIAG_DDWSYNC; tmp 416 arch/sparc/kernel/pci_psycho.c upa_writeq(tmp, pbm->controller_regs + PSYCHO_PCIA_DIAG); tmp 418 arch/sparc/kernel/pci_psycho.c tmp = upa_readq(pbm->controller_regs + PSYCHO_PCIB_DIAG); tmp 419 arch/sparc/kernel/pci_psycho.c tmp |= PSYCHO_PCIDIAG_DDWSYNC; tmp 420 arch/sparc/kernel/pci_psycho.c upa_writeq(tmp, pbm->controller_regs + PSYCHO_PCIB_DIAG); tmp 318 arch/sparc/kernel/pci_sabre.c u64 tmp; tmp 366 arch/sparc/kernel/pci_sabre.c tmp = upa_readq(base + SABRE_PCICTRL); tmp 367 arch/sparc/kernel/pci_sabre.c tmp |= SABRE_PCICTRL_ERREN; tmp 368 arch/sparc/kernel/pci_sabre.c upa_writeq(tmp, base + SABRE_PCICTRL); tmp 851 arch/sparc/kernel/pci_schizo.c u64 tmp, err_mask, err_no_mask; tmp 912 arch/sparc/kernel/pci_schizo.c tmp = upa_readq(pbm->pbm_regs + SCHIZO_PCI_CTRL); tmp 913 arch/sparc/kernel/pci_schizo.c tmp |= err_mask; tmp 914 arch/sparc/kernel/pci_schizo.c tmp &= ~err_no_mask; tmp 915 arch/sparc/kernel/pci_schizo.c upa_writeq(tmp, pbm->pbm_regs + SCHIZO_PCI_CTRL); tmp 946 arch/sparc/kernel/pci_schizo.c u64 tmp, err_mask, err_no_mask; tmp 1010 arch/sparc/kernel/pci_schizo.c tmp = upa_readq(pbm->pbm_regs + SCHIZO_PCI_CTRL); tmp 1011 arch/sparc/kernel/pci_schizo.c tmp |= err_mask; tmp 1012 arch/sparc/kernel/pci_schizo.c tmp &= ~err_no_mask; tmp 1013 arch/sparc/kernel/pci_schizo.c upa_writeq(tmp, pbm->pbm_regs + SCHIZO_PCI_CTRL); tmp 1260 arch/sparc/kernel/pci_schizo.c u64 tmp; tmp 1264 arch/sparc/kernel/pci_schizo.c tmp = upa_readq(pbm->pbm_regs + SCHIZO_PCI_CTRL); tmp 1267 arch/sparc/kernel/pci_schizo.c tmp |= 0xff; tmp 1271 arch/sparc/kernel/pci_schizo.c tmp |= 0x3UL << SCHIZO_PCICTRL_PTO_SHIFT; tmp 1274 arch/sparc/kernel/pci_schizo.c tmp |= SCHIZO_PCICTRL_PARK; tmp 1276 arch/sparc/kernel/pci_schizo.c tmp &= ~SCHIZO_PCICTRL_PARK; tmp 1280 arch/sparc/kernel/pci_schizo.c tmp |= SCHIZO_PCICTRL_DTO_INT; tmp 1282 arch/sparc/kernel/pci_schizo.c tmp &= ~SCHIZO_PCICTRL_DTO_INT; tmp 1285 arch/sparc/kernel/pci_schizo.c tmp |= (SCHIZO_PCICTRL_MRM_PREF | tmp 1289 arch/sparc/kernel/pci_schizo.c upa_writeq(tmp, pbm->pbm_regs + SCHIZO_PCI_CTRL); tmp 1291 arch/sparc/kernel/pci_schizo.c tmp = upa_readq(pbm->pbm_regs + SCHIZO_PCI_DIAG); tmp 1292 arch/sparc/kernel/pci_schizo.c tmp &= ~(SCHIZO_PCIDIAG_D_RTRYARB | tmp 1295 arch/sparc/kernel/pci_schizo.c upa_writeq(tmp, pbm->pbm_regs + SCHIZO_PCI_DIAG); tmp 1301 arch/sparc/kernel/pci_schizo.c tmp = (TOMATILLO_IOC_PART_WPENAB | tmp 1307 arch/sparc/kernel/pci_schizo.c upa_writeq(tmp, pbm->pbm_regs + TOMATILLO_PCI_IOC_CSR); tmp 238 arch/sparc/kernel/process_32.c struct sparc_stackf *tmp; tmp 241 arch/sparc/kernel/process_32.c if (get_user(tmp, &src->fp)) tmp 244 arch/sparc/kernel/process_32.c fp = (unsigned long) tmp; tmp 223 arch/sparc/kernel/prom_32.c int skip, tmp, fd; tmp 249 arch/sparc/kernel/prom_32.c tmp = skip; tmp 251 arch/sparc/kernel/prom_32.c if (!tmp--) tmp 726 arch/sparc/kernel/prom_irqtrans.c u32 tmp; tmp 745 arch/sparc/kernel/prom_irqtrans.c tmp = upa_readl(imap); tmp 746 arch/sparc/kernel/prom_irqtrans.c tmp &= ~0x80000000; tmp 747 arch/sparc/kernel/prom_irqtrans.c upa_writel(tmp, imap); tmp 402 arch/sparc/kernel/smp_64.c int stuck, tmp; tmp 420 arch/sparc/kernel/smp_64.c tmp = 0x40; tmp 433 arch/sparc/kernel/smp_64.c : "=r" (tmp) tmp 436 arch/sparc/kernel/smp_64.c "r" (0x10), "0" (tmp) tmp 201 arch/sparc/kernel/sys_sparc_32.c char tmp[__NEW_UTS_LEN + 1]; tmp 212 arch/sparc/kernel/sys_sparc_32.c memcpy(tmp, utsname()->domainname, nlen); tmp 216 arch/sparc/kernel/sys_sparc_32.c if (copy_to_user(name, tmp, nlen)) tmp 527 arch/sparc/kernel/sys_sparc_64.c char tmp[__NEW_UTS_LEN + 1]; tmp 538 arch/sparc/kernel/sys_sparc_64.c memcpy(tmp, utsname()->domainname, nlen); tmp 542 arch/sparc/kernel/sys_sparc_64.c if (copy_to_user(name, tmp, nlen)) tmp 1149 arch/sparc/kernel/traps_64.c unsigned long tmp = 0; tmp 1153 arch/sparc/kernel/traps_64.c if ((tmp = (afsr & cheetah_error_table[i].mask)) != 0UL) tmp 1154 arch/sparc/kernel/traps_64.c return tmp; tmp 1156 arch/sparc/kernel/traps_64.c return tmp; tmp 35 arch/sparc/kernel/unaligned_32.c unsigned long tmp = (insn >> 21) & 1; tmp 37 arch/sparc/kernel/unaligned_32.c if(!tmp) tmp 44 arch/sparc/kernel/unaligned_64.c unsigned long tmp = (insn >> 21) & 1; tmp 46 arch/sparc/kernel/unaligned_64.c if (!tmp) tmp 61 arch/sparc/kernel/unaligned_64.c unsigned int tmp; tmp 63 arch/sparc/kernel/unaligned_64.c tmp = ((insn >> 19) & 0xf); tmp 64 arch/sparc/kernel/unaligned_64.c if (tmp == 11 || tmp == 14) /* ldx/stx */ tmp 66 arch/sparc/kernel/unaligned_64.c tmp &= 3; tmp 67 arch/sparc/kernel/unaligned_64.c if (!tmp) tmp 69 arch/sparc/kernel/unaligned_64.c else if (tmp == 3) tmp 71 arch/sparc/kernel/unaligned_64.c else if (tmp == 2) tmp 475 arch/sparc/kernel/unaligned_64.c u64 tmp = __swab64p(&first); tmp 478 arch/sparc/kernel/unaligned_64.c second = tmp; tmp 541 arch/sparc/kernel/unaligned_64.c u64 tmp; tmp 547 arch/sparc/kernel/unaligned_64.c case 4: tmp = le64_to_cpup((u64 *)(data + 0)); tmp 549 arch/sparc/kernel/unaligned_64.c *(u64 *)(data + 2) = tmp; tmp 84 arch/sparc/mm/init_32.c unsigned long tmp = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); tmp 91 arch/sparc/mm/init_32.c if (curr_pfn >= tmp) { tmp 92 arch/sparc/mm/init_32.c if (last_pfn < tmp) tmp 93 arch/sparc/mm/init_32.c tmp = last_pfn; tmp 100 arch/sparc/mm/init_32.c return tmp; tmp 235 arch/sparc/mm/init_32.c unsigned long tmp; tmp 241 arch/sparc/mm/init_32.c for (tmp = start_pfn; tmp < end_pfn; tmp++) tmp 242 arch/sparc/mm/init_32.c free_highmem_page(pfn_to_page(tmp)); tmp 64 arch/sparc/mm/iommu.c unsigned long tmp; tmp 95 arch/sparc/mm/iommu.c tmp = __get_free_pages(GFP_KERNEL, IOMMU_ORDER); tmp 96 arch/sparc/mm/iommu.c if (!tmp) { tmp 101 arch/sparc/mm/iommu.c iommu->page_table = (iopte_t *)tmp; tmp 209 arch/sparc/mm/srmmu.c void *tmp; tmp 211 arch/sparc/mm/srmmu.c tmp = __srmmu_get_nocache(size, align); tmp 213 arch/sparc/mm/srmmu.c if (tmp) tmp 214 arch/sparc/mm/srmmu.c memset(tmp, 0, size); tmp 216 arch/sparc/mm/srmmu.c return tmp; tmp 521 arch/sparc/mm/srmmu.c unsigned long tmp; tmp 527 arch/sparc/mm/srmmu.c tmp = (physaddr >> 4) | SRMMU_ET_PTE; tmp 533 arch/sparc/mm/srmmu.c tmp |= (bus_type << 28); tmp 534 arch/sparc/mm/srmmu.c tmp |= SRMMU_PRIV; tmp 536 arch/sparc/mm/srmmu.c set_pte(ptep, __pte(tmp)); tmp 308 arch/sparc/net/bpf_jit_comp_64.c unsigned int tmp = bpf2sparc[TMP_REG_1]; tmp 312 arch/sparc/net/bpf_jit_comp_64.c emit_set_const_sext(imm, tmp, ctx); tmp 313 arch/sparc/net/bpf_jit_comp_64.c emit(insn | RS2(tmp), ctx); tmp 327 arch/sparc/net/bpf_jit_comp_64.c unsigned int tmp = bpf2sparc[TMP_REG_1]; tmp 331 arch/sparc/net/bpf_jit_comp_64.c emit_set_const_sext(imm, tmp, ctx); tmp 332 arch/sparc/net/bpf_jit_comp_64.c emit(insn | RS2(tmp), ctx); tmp 468 arch/sparc/net/bpf_jit_comp_64.c unsigned int tmp = bpf2sparc[TMP_REG_1]; tmp 610 arch/sparc/net/bpf_jit_comp_64.c emit_loadimm32(high_bits, tmp, ctx); tmp 612 arch/sparc/net/bpf_jit_comp_64.c emit_alu_K(SLLX, tmp, 32, ctx); tmp 613 arch/sparc/net/bpf_jit_comp_64.c emit(OR | RS1(dest) | RS2(tmp) | RD(dest), ctx); tmp 663 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 682 arch/sparc/net/bpf_jit_comp_64.c emit_loadimm_sext(imm, tmp, ctx); tmp 683 arch/sparc/net/bpf_jit_comp_64.c src = tmp; tmp 854 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 860 arch/sparc/net/bpf_jit_comp_64.c emit(LD32 | IMMED | RS1(bpf_array) | S13(off) | RD(tmp), ctx); tmp 861 arch/sparc/net/bpf_jit_comp_64.c emit_cmp(bpf_index, tmp, ctx); tmp 867 arch/sparc/net/bpf_jit_comp_64.c emit(LD32 | IMMED | RS1(SP) | S13(off) | RD(tmp), ctx); tmp 868 arch/sparc/net/bpf_jit_comp_64.c emit_cmpi(tmp, MAX_TAIL_CALL_CNT, ctx); tmp 873 arch/sparc/net/bpf_jit_comp_64.c emit_alu_K(ADD, tmp, 1, ctx); tmp 875 arch/sparc/net/bpf_jit_comp_64.c emit(ST32 | IMMED | RS1(SP) | S13(off) | RD(tmp), ctx); tmp 877 arch/sparc/net/bpf_jit_comp_64.c emit_alu3_K(SLL, bpf_index, 3, tmp, ctx); tmp 878 arch/sparc/net/bpf_jit_comp_64.c emit_alu(ADD, bpf_array, tmp, ctx); tmp 880 arch/sparc/net/bpf_jit_comp_64.c emit(LD64 | IMMED | RS1(tmp) | S13(off) | RD(tmp), ctx); tmp 882 arch/sparc/net/bpf_jit_comp_64.c emit_cmpi(tmp, 0, ctx); tmp 888 arch/sparc/net/bpf_jit_comp_64.c emit(LD64 | IMMED | RS1(tmp) | S13(off) | RD(tmp), ctx); tmp 891 arch/sparc/net/bpf_jit_comp_64.c emit(JMPL | IMMED | RS1(tmp) | S13(off) | RD(G0), ctx); tmp 954 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 959 arch/sparc/net/bpf_jit_comp_64.c emit_alu3(DIV, dst, src, tmp, ctx); tmp 960 arch/sparc/net/bpf_jit_comp_64.c emit_alu3(MULX, tmp, src, tmp, ctx); tmp 961 arch/sparc/net/bpf_jit_comp_64.c emit_alu3(SUB, dst, tmp, dst, ctx); tmp 965 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 969 arch/sparc/net/bpf_jit_comp_64.c emit_alu3(UDIVX, dst, src, tmp, ctx); tmp 970 arch/sparc/net/bpf_jit_comp_64.c emit_alu3(MULX, tmp, src, tmp, ctx); tmp 971 arch/sparc/net/bpf_jit_comp_64.c emit_alu3(SUB, dst, tmp, dst, ctx); tmp 1022 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 1028 arch/sparc/net/bpf_jit_comp_64.c emit_alu3_K(AND, dst, 0xff, tmp, ctx); tmp 1031 arch/sparc/net/bpf_jit_comp_64.c emit_alu3_K(SLL, tmp, 8, tmp, ctx); tmp 1032 arch/sparc/net/bpf_jit_comp_64.c emit_alu(OR, tmp, dst, ctx); tmp 1039 arch/sparc/net/bpf_jit_comp_64.c emit_alu3_K(SRL, dst, 24, tmp, ctx); /* tmp = dst >> 24 */ tmp 1043 arch/sparc/net/bpf_jit_comp_64.c emit_alu(OR, tmp2, tmp, ctx); /* tmp = tmp | tmp2 */ tmp 1047 arch/sparc/net/bpf_jit_comp_64.c emit_alu(OR, tmp2, tmp, ctx); /* tmp = tmp | tmp2 */ tmp 1050 arch/sparc/net/bpf_jit_comp_64.c emit_alu(OR, tmp, dst, ctx); /* dst = dst | tmp */ tmp 1056 arch/sparc/net/bpf_jit_comp_64.c emit_alu3_K(ADD, SP, STACK_BIAS + 128, tmp, ctx); tmp 1057 arch/sparc/net/bpf_jit_comp_64.c emit(ST64 | RS1(tmp) | RS2(G0) | RD(dst), ctx); tmp 1058 arch/sparc/net/bpf_jit_comp_64.c emit(LD64A | ASI(ASI_PL) | RS1(tmp) | RS2(G0) | RD(dst), ctx); tmp 1114 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_2]; tmp 1127 arch/sparc/net/bpf_jit_comp_64.c emit(div | IMMED | RS1(dst) | S13(imm) | RD(tmp), ctx); tmp 1128 arch/sparc/net/bpf_jit_comp_64.c emit(MULX | IMMED | RS1(tmp) | S13(imm) | RD(tmp), ctx); tmp 1129 arch/sparc/net/bpf_jit_comp_64.c emit(SUB | RS1(dst) | RS2(tmp) | RD(dst), ctx); tmp 1136 arch/sparc/net/bpf_jit_comp_64.c emit(div | RS1(dst) | RS2(tmp1) | RD(tmp), ctx); tmp 1137 arch/sparc/net/bpf_jit_comp_64.c emit(MULX | RS1(tmp) | RS2(tmp1) | RD(tmp), ctx); tmp 1138 arch/sparc/net/bpf_jit_comp_64.c emit(SUB | RS1(dst) | RS2(tmp) | RD(dst), ctx); tmp 1259 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 1282 arch/sparc/net/bpf_jit_comp_64.c emit_loadimm(off, tmp, ctx); tmp 1283 arch/sparc/net/bpf_jit_comp_64.c rs2 = RS2(tmp); tmp 1295 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 1325 arch/sparc/net/bpf_jit_comp_64.c emit_loadimm(off, tmp, ctx); tmp 1326 arch/sparc/net/bpf_jit_comp_64.c rs2 = RS2(tmp); tmp 1337 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 1362 arch/sparc/net/bpf_jit_comp_64.c emit_loadimm(off, tmp, ctx); tmp 1363 arch/sparc/net/bpf_jit_comp_64.c rs2 = RS2(tmp); tmp 1371 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 1381 arch/sparc/net/bpf_jit_comp_64.c emit_loadimm(off, tmp, ctx); tmp 1382 arch/sparc/net/bpf_jit_comp_64.c emit_alu3(ADD, dst, tmp, tmp, ctx); tmp 1384 arch/sparc/net/bpf_jit_comp_64.c emit(LD32 | RS1(tmp) | RS2(G0) | RD(tmp2), ctx); tmp 1386 arch/sparc/net/bpf_jit_comp_64.c emit(CAS | ASI(ASI_P) | RS1(tmp) | RS2(tmp2) | RD(tmp3), ctx); tmp 1394 arch/sparc/net/bpf_jit_comp_64.c const u8 tmp = bpf2sparc[TMP_REG_1]; tmp 1404 arch/sparc/net/bpf_jit_comp_64.c emit_loadimm(off, tmp, ctx); tmp 1405 arch/sparc/net/bpf_jit_comp_64.c emit_alu3(ADD, dst, tmp, tmp, ctx); tmp 1407 arch/sparc/net/bpf_jit_comp_64.c emit(LD64 | RS1(tmp) | RS2(G0) | RD(tmp2), ctx); tmp 1409 arch/sparc/net/bpf_jit_comp_64.c emit(CASX | ASI(ASI_P) | RS1(tmp) | RS2(tmp2) | RD(tmp3), ctx); tmp 1468 arch/sparc/net/bpf_jit_comp_64.c struct bpf_prog *tmp, *orig_prog = prog; tmp 1481 arch/sparc/net/bpf_jit_comp_64.c tmp = bpf_jit_blind_constants(prog); tmp 1485 arch/sparc/net/bpf_jit_comp_64.c if (IS_ERR(tmp)) tmp 1487 arch/sparc/net/bpf_jit_comp_64.c if (tmp != prog) { tmp 1489 arch/sparc/net/bpf_jit_comp_64.c prog = tmp; tmp 1612 arch/sparc/net/bpf_jit_comp_64.c tmp : orig_prog); tmp 185 arch/sparc/vdso/vdso2c.c char *name, *tmp; tmp 202 arch/sparc/vdso/vdso2c.c tmp = strrchr(name, '/'); tmp 203 arch/sparc/vdso/vdso2c.c if (tmp) tmp 204 arch/sparc/vdso/vdso2c.c name = tmp + 1; tmp 205 arch/sparc/vdso/vdso2c.c tmp = strchr(name, '.'); tmp 206 arch/sparc/vdso/vdso2c.c if (tmp) tmp 207 arch/sparc/vdso/vdso2c.c *tmp = '\0'; tmp 208 arch/sparc/vdso/vdso2c.c for (tmp = name; *tmp; tmp++) tmp 209 arch/sparc/vdso/vdso2c.c if (*tmp == '-') tmp 210 arch/sparc/vdso/vdso2c.c *tmp = '_'; tmp 44 arch/um/kernel/exitcode.c int tmp; tmp 50 arch/um/kernel/exitcode.c tmp = simple_strtol(buf, &end, 0); tmp 54 arch/um/kernel/exitcode.c uml_exitcode = tmp; tmp 340 arch/um/kernel/process.c char tmp[2]; tmp 342 arch/um/kernel/process.c if (copy_from_user(tmp, buf, 1)) tmp 345 arch/um/kernel/process.c if (tmp[0] >= '0' && tmp[0] <= '2') tmp 346 arch/um/kernel/process.c set_using_sysemu(tmp[0] - '0'); tmp 83 arch/um/kernel/ptrace.c unsigned long tmp = 0; tmp 89 arch/um/kernel/ptrace.c __get_user(tmp, p); tmp 90 arch/um/kernel/ptrace.c putreg(child, i, tmp); tmp 53 arch/um/os-Linux/sigio.c struct pollfds *fds, tmp; tmp 80 arch/um/os-Linux/sigio.c tmp = current_poll; tmp 82 arch/um/os-Linux/sigio.c next_poll = tmp; tmp 264 arch/um/os-Linux/umid.c char tmp[256]; tmp 272 arch/um/os-Linux/umid.c strlcpy(tmp, uml_dir, sizeof(tmp)); tmp 273 arch/um/os-Linux/umid.c strlcat(tmp, "XXXXXX", sizeof(tmp)); tmp 274 arch/um/os-Linux/umid.c fd = mkstemp(tmp); tmp 277 arch/um/os-Linux/umid.c "%s\n", tmp, strerror(errno)); tmp 284 arch/um/os-Linux/umid.c set_umid(&tmp[strlen(uml_dir)]); tmp 291 arch/um/os-Linux/umid.c if (unlink(tmp)) { tmp 297 arch/um/os-Linux/umid.c snprintf(tmp, sizeof(tmp), "%s%s", uml_dir, umid); tmp 298 arch/um/os-Linux/umid.c err = mkdir(tmp, 0777); tmp 304 arch/um/os-Linux/umid.c if (umdir_take_if_dead(tmp) < 0) tmp 307 arch/um/os-Linux/umid.c err = mkdir(tmp, 0777); tmp 107 arch/unicore32/boot/compressed/misc.c unsigned char *tmp; tmp 115 arch/unicore32/boot/compressed/misc.c tmp = (unsigned char *) (((unsigned long)input_data_end) - 4); tmp 116 arch/unicore32/boot/compressed/misc.c output_ptr = get_unaligned_le32(tmp); tmp 71 arch/unicore32/kernel/fpu-ucf64.c u32 tmp = fpexc; tmp 79 arch/unicore32/kernel/fpu-ucf64.c tmp |= FPSCR_CON; tmp 81 arch/unicore32/kernel/fpu-ucf64.c tmp &= ~(FPSCR_CON); tmp 97 arch/unicore32/kernel/fpu-ucf64.c tmp &= ~(FPSCR_TRAP | FPSCR_IOS | FPSCR_OFS | FPSCR_UFS | tmp 101 arch/unicore32/kernel/fpu-ucf64.c tmp |= exc; tmp 102 arch/unicore32/kernel/fpu-ucf64.c ctf(FPSCR, tmp); tmp 64 arch/unicore32/kernel/ptrace.c unsigned long tmp; tmp 66 arch/unicore32/kernel/ptrace.c tmp = 0; tmp 68 arch/unicore32/kernel/ptrace.c tmp = get_user_reg(tsk, off >> 2); tmp 70 arch/unicore32/kernel/ptrace.c return put_user(tmp, ret); tmp 198 arch/x86/boot/boot.h char *tmp; tmp 201 arch/x86/boot/boot.h tmp = HEAP; tmp 203 arch/x86/boot/boot.h return tmp; tmp 506 arch/x86/boot/compressed/kaslr.c struct mem_vector tmp; tmp 539 arch/x86/boot/compressed/kaslr.c tmp.start = region->start; tmp 540 arch/x86/boot/compressed/kaslr.c tmp.size = addr - region->start; tmp 541 arch/x86/boot/compressed/kaslr.c store_slot_info(&tmp, image_size); tmp 546 arch/x86/boot/compressed/kaslr.c tmp.start = addr + i * PUD_SIZE; tmp 547 arch/x86/boot/compressed/kaslr.c tmp.size = size; tmp 548 arch/x86/boot/compressed/kaslr.c store_slot_info(&tmp, image_size); tmp 47 arch/x86/boot/printf.c char tmp[66]; tmp 81 arch/x86/boot/printf.c tmp[i++] = '0'; tmp 84 arch/x86/boot/printf.c tmp[i++] = (digits[__do_div(num, base)] | locase); tmp 107 arch/x86/boot/printf.c *str++ = tmp[i]; tmp 348 arch/x86/crypto/des3_ede_glue.c u32 i, j, tmp; tmp 368 arch/x86/crypto/des3_ede_glue.c tmp = ror32(ctx->enc.expkey[i + 1], 4); tmp 369 arch/x86/crypto/des3_ede_glue.c ctx->enc.expkey[i + 1] = tmp; tmp 372 arch/x86/crypto/des3_ede_glue.c ctx->dec.expkey[j + 1] = tmp; tmp 119 arch/x86/crypto/ghash-clmulni-intel_glue.c u8 *tmp = dst + (GHASH_BLOCK_SIZE - dctx->bytes); tmp 122 arch/x86/crypto/ghash-clmulni-intel_glue.c *tmp++ ^= 0; tmp 209 arch/x86/crypto/glue_helper.c u128 tmp; tmp 212 arch/x86/crypto/glue_helper.c memcpy(&tmp, walk.src.virt.addr, nbytes); tmp 213 arch/x86/crypto/glue_helper.c gctx->funcs[gctx->num_funcs - 1].fn_u.ctr(ctx, &tmp, &tmp, tmp 215 arch/x86/crypto/glue_helper.c memcpy(walk.dst.virt.addr, &tmp, nbytes); tmp 206 arch/x86/entry/vdso/vdso2c.c char *name, *tmp; tmp 223 arch/x86/entry/vdso/vdso2c.c tmp = strrchr(name, '/'); tmp 224 arch/x86/entry/vdso/vdso2c.c if (tmp) tmp 225 arch/x86/entry/vdso/vdso2c.c name = tmp + 1; tmp 226 arch/x86/entry/vdso/vdso2c.c tmp = strchr(name, '.'); tmp 227 arch/x86/entry/vdso/vdso2c.c if (tmp) tmp 228 arch/x86/entry/vdso/vdso2c.c *tmp = '\0'; tmp 229 arch/x86/entry/vdso/vdso2c.c for (tmp = name; *tmp; tmp++) tmp 230 arch/x86/entry/vdso/vdso2c.c if (*tmp == '-') tmp 231 arch/x86/entry/vdso/vdso2c.c *tmp = '_'; tmp 125 arch/x86/entry/vsyscall/vsyscall_64.c int vsyscall_nr, syscall_nr, tmp; tmp 225 arch/x86/entry/vsyscall/vsyscall_64.c tmp = secure_computing(NULL); tmp 226 arch/x86/entry/vsyscall/vsyscall_64.c if ((!tmp && regs->orig_ax != syscall_nr) || regs->ip != address) { tmp 232 arch/x86/entry/vsyscall/vsyscall_64.c if (tmp) tmp 2078 arch/x86/events/core.c struct pmu *tmp; tmp 2098 arch/x86/events/core.c tmp = event->pmu; tmp 2106 arch/x86/events/core.c event->pmu = tmp; tmp 51 arch/x86/events/intel/uncore.c struct pci2phy_map *map, *tmp; tmp 53 arch/x86/events/intel/uncore.c list_for_each_entry_safe(map, tmp, &pci2phy_map_head, list) { tmp 1243 arch/x86/events/intel/uncore.c struct intel_uncore_box *box, *tmp; tmp 1265 arch/x86/events/intel/uncore.c list_for_each_entry_safe(box, tmp, &allocated, active_list) { tmp 1272 arch/x86/events/intel/uncore.c list_for_each_entry_safe(box, tmp, &allocated, active_list) { tmp 55 arch/x86/ia32/ia32_signal.c unsigned short tmp; \ tmp 56 arch/x86/ia32/ia32_signal.c get_user_ex(tmp, &sc->seg); \ tmp 57 arch/x86/ia32/ia32_signal.c tmp; \ tmp 77 arch/x86/ia32/ia32_signal.c u32 tmp; tmp 100 arch/x86/ia32/ia32_signal.c get_user_ex(tmp, &sc->fpstate); tmp 101 arch/x86/ia32/ia32_signal.c buf = compat_ptr(tmp); tmp 24 arch/x86/include/asm/extable.h #define swap_ex_entry_fixup(a, b, tmp, delta) \ tmp 27 arch/x86/include/asm/extable.h (b)->fixup = (tmp).fixup - (delta); \ tmp 29 arch/x86/include/asm/extable.h (b)->handler = (tmp).handler - (delta); \ tmp 77 arch/x86/include/asm/gart.h u32 tmp, ctl; tmp 81 arch/x86/include/asm/gart.h tmp = (u32) addr<<4; tmp 82 arch/x86/include/asm/gart.h tmp &= ~0xf; tmp 83 arch/x86/include/asm/gart.h pci_write_config_dword(dev, AMD64_GARTTABLEBASE, tmp); tmp 76 arch/x86/include/asm/pgtable-3level.h u32 *tmp = (u32 *)pmdp; tmp 78 arch/x86/include/asm/pgtable-3level.h ret = (pmdval_t) (*tmp); tmp 85 arch/x86/include/asm/pgtable-3level.h ret |= ((pmdval_t)*(tmp + 1)) << 32; tmp 124 arch/x86/include/asm/pgtable-3level.h u32 *tmp = (u32 *)pmd; tmp 125 arch/x86/include/asm/pgtable-3level.h *tmp = 0; tmp 127 arch/x86/include/asm/pgtable-3level.h *(tmp + 1) = 0; tmp 705 arch/x86/include/asm/processor.h unsigned int tmp; tmp 720 arch/x86/include/asm/processor.h : "=&r" (tmp), ASM_CALL_CONSTRAINT : : "cc", "memory"); tmp 48 arch/x86/include/asm/pvclock.h ulong tmp; tmp 71 arch/x86/include/asm/pvclock.h [hi]"=d"(tmp) tmp 399 arch/x86/kernel/apic/io_apic.c struct irq_pin_list *tmp, *entry; tmp 401 arch/x86/kernel/apic/io_apic.c list_for_each_entry_safe(entry, tmp, &data->irq_2_pin, list) tmp 1039 arch/x86/kernel/apic/io_apic.c struct irq_alloc_info tmp; tmp 1059 arch/x86/kernel/apic/io_apic.c ioapic_copy_alloc_attr(&tmp, info, gsi, ioapic, pin); tmp 1062 arch/x86/kernel/apic/io_apic.c ioapic, pin, &tmp); tmp 1064 arch/x86/kernel/apic/io_apic.c irq = alloc_irq_from_domain(domain, ioapic, gsi, &tmp); tmp 1065 arch/x86/kernel/apic/io_apic.c else if (!mp_check_pin_attr(irq, &tmp)) tmp 1513 arch/x86/kernel/apic/io_apic.c physid_mask_t tmp; tmp 1515 arch/x86/kernel/apic/io_apic.c &tmp); tmp 1519 arch/x86/kernel/apic/io_apic.c physids_or(phys_id_present_map, phys_id_present_map, tmp); tmp 2458 arch/x86/kernel/apic/io_apic.c physid_mask_t tmp; tmp 2504 arch/x86/kernel/apic/io_apic.c apic->apicid_to_cpu_present(apic_id, &tmp); tmp 2505 arch/x86/kernel/apic/io_apic.c physids_or(apic_id_map, apic_id_map, tmp); tmp 860 arch/x86/kernel/apic/vector.c struct hlist_node *tmp; tmp 866 arch/x86/kernel/apic/vector.c hlist_for_each_entry_safe(apicd, tmp, clhead, clist) { tmp 34 arch/x86/kernel/cpu/centaur.c u32 tmp = cpuid_edx(0xC0000001); tmp 37 arch/x86/kernel/cpu/centaur.c if ((tmp & (ACE_PRESENT | ACE_ENABLED)) == ACE_PRESENT) { tmp 45 arch/x86/kernel/cpu/centaur.c if ((tmp & (RNG_PRESENT | RNG_ENABLED)) == RNG_PRESENT) { tmp 1357 arch/x86/kernel/cpu/common.c unsigned long old_base, tmp; tmp 1361 arch/x86/kernel/cpu/common.c rdmsrl(MSR_FS_BASE, tmp); tmp 1362 arch/x86/kernel/cpu/common.c if (tmp != 0) tmp 227 arch/x86/kernel/cpu/cyrix.c unsigned char tmp; tmp 327 arch/x86/kernel/cpu/cyrix.c tmp = (!(dir0_lsn & 7) || dir0_lsn & 1) ? 2 : 0; tmp 328 arch/x86/kernel/cpu/cyrix.c Cx86_cb[tmp] = cyrix_model_mult2[dir0_lsn & 7]; tmp 329 arch/x86/kernel/cpu/cyrix.c p = Cx86_cb+tmp; tmp 668 arch/x86/kernel/cpu/mce/amd.c u32 tmp; tmp 679 arch/x86/kernel/cpu/mce/amd.c if (amd_df_indirect_read(nid, 0, 0x1B4, umc, &tmp)) tmp 683 arch/x86/kernel/cpu/mce/amd.c if (tmp & BIT(0)) { tmp 684 arch/x86/kernel/cpu/mce/amd.c u64 hi_addr_offset = (tmp & GENMASK_ULL(31, 20)) << 8; tmp 693 arch/x86/kernel/cpu/mce/amd.c if (amd_df_indirect_read(nid, 0, 0x110 + (8 * base), umc, &tmp)) tmp 697 arch/x86/kernel/cpu/mce/amd.c if (!(tmp & BIT(0))) { tmp 699 arch/x86/kernel/cpu/mce/amd.c __func__, tmp); tmp 703 arch/x86/kernel/cpu/mce/amd.c lgcy_mmio_hole_en = tmp & BIT(1); tmp 704 arch/x86/kernel/cpu/mce/amd.c intlv_num_chan = (tmp >> 4) & 0xF; tmp 705 arch/x86/kernel/cpu/mce/amd.c intlv_addr_sel = (tmp >> 8) & 0x7; tmp 706 arch/x86/kernel/cpu/mce/amd.c dram_base_addr = (tmp & GENMASK_ULL(31, 12)) << 16; tmp 716 arch/x86/kernel/cpu/mce/amd.c if (amd_df_indirect_read(nid, 0, 0x114 + (8 * base), umc, &tmp)) tmp 719 arch/x86/kernel/cpu/mce/amd.c intlv_num_sockets = (tmp >> 8) & 0x1; tmp 720 arch/x86/kernel/cpu/mce/amd.c intlv_num_dies = (tmp >> 10) & 0x3; tmp 721 arch/x86/kernel/cpu/mce/amd.c dram_limit_addr = ((tmp & GENMASK_ULL(31, 12)) << 16) | GENMASK_ULL(27, 0); tmp 772 arch/x86/kernel/cpu/mce/amd.c if (amd_df_indirect_read(nid, 0, 0x50, umc, &tmp)) tmp 775 arch/x86/kernel/cpu/mce/amd.c cs_fabric_id = (tmp >> 8) & 0xFF; tmp 789 arch/x86/kernel/cpu/mce/amd.c if (amd_df_indirect_read(nid, 1, 0x208, umc, &tmp)) tmp 795 arch/x86/kernel/cpu/mce/amd.c die_id_shift = (tmp >> 24) & 0xF; tmp 796 arch/x86/kernel/cpu/mce/amd.c die_id_mask = (tmp >> 8) & 0xFF; tmp 803 arch/x86/kernel/cpu/mce/amd.c socket_id_shift = (tmp >> 28) & 0xF; tmp 804 arch/x86/kernel/cpu/mce/amd.c socket_id_mask = (tmp >> 16) & 0xFF; tmp 828 arch/x86/kernel/cpu/mce/amd.c if (amd_df_indirect_read(nid, 0, 0x104, umc, &tmp)) tmp 831 arch/x86/kernel/cpu/mce/amd.c dram_hole_base = tmp & GENMASK(31, 24); tmp 1016 arch/x86/kernel/cpu/mce/amd.c struct threshold_block *first_block = NULL, *block = NULL, *tmp = NULL; tmp 1032 arch/x86/kernel/cpu/mce/amd.c list_for_each_entry_safe(block, tmp, &first_block->miscj, miscj) tmp 1283 arch/x86/kernel/cpu/mce/amd.c struct threshold_block *tmp = NULL; tmp 1290 arch/x86/kernel/cpu/mce/amd.c list_for_each_entry_safe(pos, tmp, head, miscj) { tmp 1294 arch/x86/kernel/cpu/mce/amd.c list_for_each_entry_safe_reverse(pos, tmp, head, miscj) tmp 1379 arch/x86/kernel/cpu/mce/amd.c struct threshold_block *tmp = NULL; tmp 1385 arch/x86/kernel/cpu/mce/amd.c list_for_each_entry_safe(pos, tmp, &head->blocks->miscj, miscj) { tmp 1396 arch/x86/kernel/cpu/mce/amd.c struct threshold_block *tmp = NULL; tmp 1400 arch/x86/kernel/cpu/mce/amd.c list_for_each_entry_safe(pos, tmp, &b->blocks->miscj, miscj) tmp 812 arch/x86/kernel/cpu/mce/core.c char *tmp; tmp 825 arch/x86/kernel/cpu/mce/core.c if (mce_severity(m, mca_cfg.tolerant, &tmp, true) >= MCE_PANIC_SEVERITY) { tmp 827 arch/x86/kernel/cpu/mce/core.c *msg = tmp; tmp 77 arch/x86/kernel/cpu/mce/genpool.c struct mce_evt_llist *node, *tmp; tmp 85 arch/x86/kernel/cpu/mce/genpool.c llist_for_each_entry_safe(node, tmp, head, llnode) { tmp 99 arch/x86/kernel/cpu/mce/intel.c u64 tmp; tmp 104 arch/x86/kernel/cpu/mce/intel.c rdmsrl(MSR_IA32_MCG_CAP, tmp); tmp 110 arch/x86/kernel/cpu/mce/intel.c if ((tmp & (MCG_SER_P | MCG_LMCE_P)) != tmp 119 arch/x86/kernel/cpu/mce/intel.c rdmsrl(MSR_IA32_FEATURE_CONTROL, tmp); tmp 120 arch/x86/kernel/cpu/mce/intel.c if ((tmp & (FEATURE_CONTROL_LOCKED | FEATURE_CONTROL_LMCE)) == tmp 627 arch/x86/kernel/cpu/microcode/amd.c struct ucode_patch *p, *tmp; tmp 629 arch/x86/kernel/cpu/microcode/amd.c list_for_each_entry_safe(p, tmp, µcode_cache, plist) { tmp 170 arch/x86/kernel/cpu/microcode/intel.c struct ucode_patch *iter, *tmp, *p = NULL; tmp 176 arch/x86/kernel/cpu/microcode/intel.c list_for_each_entry_safe(iter, tmp, µcode_cache, plist) { tmp 727 arch/x86/kernel/cpu/microcode/intel.c struct ucode_patch *iter, *tmp; tmp 729 arch/x86/kernel/cpu/microcode/intel.c list_for_each_entry_safe(iter, tmp, µcode_cache, plist) { tmp 584 arch/x86/kernel/cpu/mtrr/generic.c u64 tmp, mask; tmp 605 arch/x86/kernel/cpu/mtrr/generic.c tmp = (u64)mask_hi << (32 - PAGE_SHIFT) | mask_lo >> PAGE_SHIFT; tmp 606 arch/x86/kernel/cpu/mtrr/generic.c mask = size_or_mask | tmp; tmp 609 arch/x86/kernel/cpu/mtrr/generic.c hi = fls64(tmp); tmp 611 arch/x86/kernel/cpu/mtrr/generic.c tmp |= ~((1ULL<<(hi - 1)) - 1); tmp 613 arch/x86/kernel/cpu/mtrr/generic.c if (tmp != mask) { tmp 616 arch/x86/kernel/cpu/mtrr/generic.c mask = tmp; tmp 32 arch/x86/kernel/cpu/rdrand.c unsigned long tmp; tmp 39 arch/x86/kernel/cpu/rdrand.c if (!rdrand_long(&tmp)) { tmp 943 arch/x86/kernel/cpu/resctrl/pseudo_lock.c u64 tmp; tmp 960 arch/x86/kernel/cpu/resctrl/pseudo_lock.c if (perf_event_read_local(miss_event, &tmp, NULL, NULL)) { tmp 964 arch/x86/kernel/cpu/resctrl/pseudo_lock.c if (perf_event_read_local(hit_event, &tmp, NULL, NULL)) { tmp 2234 arch/x86/kernel/cpu/resctrl/rdtgroup.c struct rdtgroup *rdtgrp, *tmp; tmp 2239 arch/x86/kernel/cpu/resctrl/rdtgroup.c list_for_each_entry_safe(rdtgrp, tmp, &rdt_all_groups, rdtgroup_list) { tmp 32 arch/x86/kernel/cpu/zhaoxin.c u32 tmp = cpuid_edx(0xC0000001); tmp 35 arch/x86/kernel/cpu/zhaoxin.c if ((tmp & (ACE_PRESENT | ACE_ENABLED)) == ACE_PRESENT) { tmp 44 arch/x86/kernel/cpu/zhaoxin.c if ((tmp & (RNG_PRESENT | RNG_ENABLED)) == RNG_PRESENT) { tmp 65 arch/x86/kernel/cpuid.c char __user *tmp = buf; tmp 89 arch/x86/kernel/cpuid.c if (copy_to_user(tmp, &cmd.regs, 16)) { tmp 93 arch/x86/kernel/cpuid.c tmp += 16; tmp 219 arch/x86/kernel/devicetree.c struct irq_alloc_info tmp; tmp 230 arch/x86/kernel/devicetree.c ioapic_set_alloc_attr(&tmp, NUMA_NO_NODE, it->trigger, it->polarity); tmp 231 arch/x86/kernel/devicetree.c tmp.ioapic_id = mpc_ioapic_id(mp_irqdomain_ioapic_idx(domain)); tmp 232 arch/x86/kernel/devicetree.c tmp.ioapic_pin = fwspec->param[0]; tmp 234 arch/x86/kernel/devicetree.c return mp_irqdomain_alloc(domain, virq, nr_irqs, &tmp); tmp 167 arch/x86/kernel/fpu/regset.c unsigned int tmp; /* to avoid 16 bit prefixes in the code */ tmp 170 arch/x86/kernel/fpu/regset.c tmp = ~twd; tmp 171 arch/x86/kernel/fpu/regset.c tmp = (tmp | (tmp>>1)) & 0x5555; /* 0V0V0V0V0V0V0V0V */ tmp 173 arch/x86/kernel/fpu/regset.c tmp = (tmp | (tmp >> 1)) & 0x3333; /* 00VV00VV00VV00VV */ tmp 174 arch/x86/kernel/fpu/regset.c tmp = (tmp | (tmp >> 2)) & 0x0f0f; /* 0000VVVV0000VVVV */ tmp 175 arch/x86/kernel/fpu/regset.c tmp = (tmp | (tmp >> 4)) & 0x00ff; /* 00000000VVVVVVVV */ tmp 177 arch/x86/kernel/fpu/regset.c return tmp; tmp 761 arch/x86/kernel/kprobes/core.c struct hlist_node *tmp; tmp 841 arch/x86/kernel/kprobes/core.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 872 arch/x86/kernel/kprobes/core.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 424 arch/x86/kernel/kprobes/opt.c struct optimized_kprobe *op, *tmp; tmp 427 arch/x86/kernel/kprobes/opt.c list_for_each_entry_safe(op, tmp, oplist, list) { tmp 466 arch/x86/kernel/kprobes/opt.c struct optimized_kprobe *op, *tmp; tmp 468 arch/x86/kernel/kprobes/opt.c list_for_each_entry_safe(op, tmp, oplist, list) { tmp 48 arch/x86/kernel/msr.c u32 __user *tmp = (u32 __user *) buf; tmp 62 arch/x86/kernel/msr.c if (copy_to_user(tmp, &data, 8)) { tmp 66 arch/x86/kernel/msr.c tmp += 2; tmp 76 arch/x86/kernel/msr.c const u32 __user *tmp = (const u32 __user *)buf; tmp 91 arch/x86/kernel/msr.c if (copy_from_user(&data, tmp, 8)) { tmp 98 arch/x86/kernel/msr.c tmp += 2; tmp 31 arch/x86/kernel/pci-iommu_table.c struct iommu_table_entry *p, *q, tmp; tmp 40 arch/x86/kernel/pci-iommu_table.c tmp = *p; tmp 42 arch/x86/kernel/pci-iommu_table.c *q = tmp; tmp 739 arch/x86/kernel/ptrace.c unsigned long tmp; tmp 745 arch/x86/kernel/ptrace.c tmp = 0; /* Default return condition */ tmp 747 arch/x86/kernel/ptrace.c tmp = getreg(child, addr); tmp 751 arch/x86/kernel/ptrace.c tmp = ptrace_get_debugreg(child, addr / sizeof(data)); tmp 753 arch/x86/kernel/ptrace.c ret = put_user(tmp, datap); tmp 1125 arch/x86/kernel/ptrace.c u32 tmp; tmp 1132 arch/x86/kernel/ptrace.c tmp = 0; /* Default return condition */ tmp 1134 arch/x86/kernel/ptrace.c tmp = getreg(child, addr); tmp 1138 arch/x86/kernel/ptrace.c tmp = ptrace_get_debugreg(child, addr / sizeof(data)); tmp 1140 arch/x86/kernel/ptrace.c ret = put_user(tmp, (__u32 __user *)datap); tmp 55 arch/x86/kernel/signal.c unsigned short tmp; \ tmp 56 arch/x86/kernel/signal.c get_user_ex(tmp, &sc->seg); \ tmp 57 arch/x86/kernel/signal.c tmp; \ tmp 333 arch/x86/kernel/tsc.c u64 tmp; tmp 338 arch/x86/kernel/tsc.c tmp = ((u64)hpet2 * hpet_readl(HPET_PERIOD)); tmp 339 arch/x86/kernel/tsc.c do_div(tmp, 1000000); tmp 340 arch/x86/kernel/tsc.c deltatsc = div64_u64(deltatsc, tmp); tmp 350 arch/x86/kernel/tsc.c u64 tmp; tmp 358 arch/x86/kernel/tsc.c tmp = pm2 * 1000000000LL; tmp 359 arch/x86/kernel/tsc.c do_div(tmp, PMTMR_TICKS_PER_SEC); tmp 360 arch/x86/kernel/tsc.c do_div(deltatsc, tmp); tmp 1220 arch/x86/kernel/tsc.c u64 tmp, res, rem; tmp 1225 arch/x86/kernel/tsc.c tmp = rem * art_to_tsc_numerator; tmp 1227 arch/x86/kernel/tsc.c do_div(tmp, art_to_tsc_denominator); tmp 1228 arch/x86/kernel/tsc.c res += tmp + art_to_tsc_offset; tmp 1258 arch/x86/kernel/tsc.c u64 tmp, res, rem; tmp 1263 arch/x86/kernel/tsc.c tmp = rem * tsc_khz; tmp 1265 arch/x86/kernel/tsc.c do_div(tmp, USEC_PER_SEC); tmp 1266 arch/x86/kernel/tsc.c res += tmp; tmp 191 arch/x86/kernel/unwind_orc.c int *a = _a, *b = _b, tmp; tmp 195 arch/x86/kernel/unwind_orc.c tmp = *a; tmp 197 arch/x86/kernel/unwind_orc.c *b = tmp - delta; tmp 416 arch/x86/kernel/unwind_orc.c unsigned long ip_p, sp, tmp, orig_ip = state->ip, prev_sp = state->sp; tmp 573 arch/x86/kernel/unwind_orc.c if (get_reg(state, offsetof(struct pt_regs, bp), &tmp)) tmp 574 arch/x86/kernel/unwind_orc.c state->bp = tmp; tmp 3657 arch/x86/kvm/emulate.c u16 tmp; tmp 3676 arch/x86/kvm/emulate.c tmp = (u16)ctxt->src.val; tmp 3678 arch/x86/kvm/emulate.c ctxt->dst.val |= (unsigned long)swab16(tmp); tmp 347 arch/x86/kvm/mtrr.c struct kvm_mtrr_range *tmp, *cur; tmp 369 arch/x86/kvm/mtrr.c list_for_each_entry(tmp, &mtrr_state->head, node) tmp 370 arch/x86/kvm/mtrr.c if (cur->base >= tmp->base) tmp 372 arch/x86/kvm/mtrr.c list_add_tail(&cur->node, &tmp->node); tmp 389 arch/x86/kvm/pmu.c struct kvm_pmu_event_filter tmp, *filter; tmp 393 arch/x86/kvm/pmu.c if (copy_from_user(&tmp, argp, sizeof(tmp))) tmp 396 arch/x86/kvm/pmu.c if (tmp.action != KVM_PMU_EVENT_ALLOW && tmp 397 arch/x86/kvm/pmu.c tmp.action != KVM_PMU_EVENT_DENY) tmp 400 arch/x86/kvm/pmu.c if (tmp.flags != 0) tmp 403 arch/x86/kvm/pmu.c if (tmp.nevents > KVM_PMU_EVENT_FILTER_MAX_EVENTS) tmp 406 arch/x86/kvm/pmu.c size = struct_size(filter, events, tmp.nevents); tmp 416 arch/x86/kvm/pmu.c *filter = tmp; tmp 1044 arch/x86/kvm/svm.c unsigned long tmp; tmp 1053 arch/x86/kvm/svm.c tmp = msrpm[offset]; tmp 1057 arch/x86/kvm/svm.c return !!test_bit(bit_write, &tmp); tmp 1064 arch/x86/kvm/svm.c unsigned long tmp; tmp 1076 arch/x86/kvm/svm.c tmp = msrpm[offset]; tmp 1080 arch/x86/kvm/svm.c read ? clear_bit(bit_read, &tmp) : set_bit(bit_read, &tmp); tmp 1081 arch/x86/kvm/svm.c write ? clear_bit(bit_write, &tmp) : set_bit(bit_write, &tmp); tmp 1083 arch/x86/kvm/svm.c msrpm[offset] = tmp; tmp 1631 arch/x86/kvm/vmx/vmx.c struct shared_msr_entry tmp; tmp 1633 arch/x86/kvm/vmx/vmx.c tmp = vmx->guest_msrs[to]; tmp 1635 arch/x86/kvm/vmx/vmx.c vmx->guest_msrs[from] = tmp; tmp 3462 arch/x86/kvm/vmx/vmx.c u32 tmp; tmp 3485 arch/x86/kvm/vmx/vmx.c tmp = (i << 22) + (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | tmp 3488 arch/x86/kvm/vmx/vmx.c &tmp, i * sizeof(tmp), sizeof(tmp)); tmp 6223 arch/x86/kvm/vmx/vmx.c unsigned long tmp; tmp 6251 arch/x86/kvm/vmx/vmx.c [sp]"=&r"(tmp), tmp 2807 arch/x86/kvm/x86.c bool tmp = (msr == MSR_KVM_SYSTEM_TIME); tmp 2809 arch/x86/kvm/x86.c if (ka->boot_vcpu_runs_old_kvmclock != tmp) tmp 2812 arch/x86/kvm/x86.c ka->boot_vcpu_runs_old_kvmclock = tmp; tmp 930 arch/x86/lib/insn-eval.c long tmp; tmp 952 arch/x86/lib/insn-eval.c tmp = regs->ip + insn->length; tmp 954 arch/x86/lib/insn-eval.c tmp = 0; tmp 958 arch/x86/lib/insn-eval.c tmp = regs_get_register(regs, *regoff); tmp 962 arch/x86/lib/insn-eval.c int addr32 = (int)(tmp & 0xffffffff) + insn->displacement.value; tmp 966 arch/x86/lib/insn-eval.c *eff_addr = tmp + insn->displacement.value; tmp 1146 arch/x86/lib/insn-eval.c long tmp; tmp 1155 arch/x86/lib/insn-eval.c ret = get_eff_addr_reg(insn, regs, ®off, &tmp); tmp 1159 arch/x86/lib/insn-eval.c eff_addr = tmp; tmp 1209 arch/x86/lib/insn-eval.c long tmp; tmp 1216 arch/x86/lib/insn-eval.c ret = get_eff_addr_reg(insn, regs, ®off, &tmp); tmp 1220 arch/x86/lib/insn-eval.c eff_addr = tmp; tmp 1224 arch/x86/lib/insn-eval.c ret = get_eff_addr_sib(insn, regs, ®off, &tmp); tmp 1228 arch/x86/lib/insn-eval.c eff_addr = tmp; tmp 1230 arch/x86/lib/insn-eval.c ret = get_eff_addr_modrm(insn, regs, ®off, &tmp); tmp 1234 arch/x86/lib/insn-eval.c eff_addr = tmp; tmp 36 arch/x86/math-emu/fpu_trig.c FPU_REG tmp; tmp 51 arch/x86/math-emu/fpu_trig.c tag = FPU_u_div(st0_ptr, &CONST_PI2, &tmp, PR_64_BITS | RC_CHOP | 0x3f, tmp 54 arch/x86/math-emu/fpu_trig.c FPU_round_to_int(&tmp, tag); /* Fortunately, this can't overflow tmp 56 arch/x86/math-emu/fpu_trig.c q = significand(&tmp); tmp 59 arch/x86/math-emu/fpu_trig.c &significand(&tmp), tmp 62 arch/x86/math-emu/fpu_trig.c setexponent16(&tmp, exponent(&CONST_PI2)); tmp 63 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_normalize(&tmp); tmp 64 arch/x86/math-emu/fpu_trig.c FPU_copy_to_reg0(&tmp, st0_tag); tmp 82 arch/x86/math-emu/fpu_trig.c significand(&tmp) = q + 1; tmp 83 arch/x86/math-emu/fpu_trig.c setexponent16(&tmp, 63); tmp 84 arch/x86/math-emu/fpu_trig.c FPU_normalize(&tmp); tmp 86 arch/x86/math-emu/fpu_trig.c FPU_u_mul(&CONST_PI2extra, &tmp, &tmp, tmp 89 arch/x86/math-emu/fpu_trig.c exponent(&tmp)); tmp 90 arch/x86/math-emu/fpu_trig.c setsign(&tmp, getsign(&CONST_PI2extra)); tmp 91 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_add(&tmp, tmptag, 0, FULL_PRECISION); tmp 115 arch/x86/math-emu/fpu_trig.c significand(&tmp) = q; tmp 116 arch/x86/math-emu/fpu_trig.c setexponent16(&tmp, 63); tmp 117 arch/x86/math-emu/fpu_trig.c FPU_normalize(&tmp); /* This must return TAG_Valid */ tmp 119 arch/x86/math-emu/fpu_trig.c FPU_u_mul(&CONST_PI2extra, &tmp, &tmp, tmp 122 arch/x86/math-emu/fpu_trig.c exponent(&tmp)); tmp 123 arch/x86/math-emu/fpu_trig.c setsign(&tmp, getsign(&CONST_PI2extra)); tmp 124 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_sub(LOADED | (tmptag & 0x0f), (int)&tmp, tmp 785 arch/x86/math-emu/fpu_trig.c FPU_REG tmp, st0, st1; tmp 815 arch/x86/math-emu/fpu_trig.c tag = FPU_u_div(&st0, &st1, &tmp, tmp 818 arch/x86/math-emu/fpu_trig.c setsign(&tmp, sign); tmp 820 arch/x86/math-emu/fpu_trig.c if (exponent(&tmp) >= 0) { tmp 821 arch/x86/math-emu/fpu_trig.c FPU_round_to_int(&tmp, tag); /* Fortunately, this can't tmp 823 arch/x86/math-emu/fpu_trig.c q = significand(&tmp); tmp 826 arch/x86/math-emu/fpu_trig.c &significand(&tmp), tmp 830 arch/x86/math-emu/fpu_trig.c setexponent16(&tmp, exponent16(&st1)); tmp 832 arch/x86/math-emu/fpu_trig.c reg_copy(&st0, &tmp); tmp 837 arch/x86/math-emu/fpu_trig.c && (tmp.sigh & 0xc0000000)) { tmp 842 arch/x86/math-emu/fpu_trig.c exponent16(&st1) - exponent16(&tmp); tmp 846 arch/x86/math-emu/fpu_trig.c significand(&tmp); tmp 850 arch/x86/math-emu/fpu_trig.c significand(&tmp); tmp 851 arch/x86/math-emu/fpu_trig.c if ((x < significand(&tmp)) || tmp 853 arch/x86/math-emu/fpu_trig.c ((x == significand(&tmp)) tmp 856 arch/x86/math-emu/fpu_trig.c significand(&tmp) = x; tmp 882 arch/x86/math-emu/fpu_trig.c reg_copy(&st0, &tmp); tmp 886 arch/x86/math-emu/fpu_trig.c setexponent16(&tmp, N); tmp 891 arch/x86/math-emu/fpu_trig.c sign = getsign(&tmp) ^ st1_sign; tmp 893 arch/x86/math-emu/fpu_trig.c FPU_u_div(&tmp, &st1, &tmp, tmp 895 arch/x86/math-emu/fpu_trig.c setsign(&tmp, sign); tmp 897 arch/x86/math-emu/fpu_trig.c FPU_round_to_int(&tmp, tag); /* Fortunately, this can't tmp 901 arch/x86/math-emu/fpu_trig.c &significand(&tmp), tmp 903 arch/x86/math-emu/fpu_trig.c significand(&tmp), exponent(&tmp) tmp 905 arch/x86/math-emu/fpu_trig.c setexponent16(&tmp, exp_1 + expdif); tmp 912 arch/x86/math-emu/fpu_trig.c if (!(tmp.sigh | tmp.sigl)) { tmp 930 arch/x86/math-emu/fpu_trig.c tag = FPU_normalize_nuo(&tmp); tmp 931 arch/x86/math-emu/fpu_trig.c reg_copy(&tmp, st0_ptr); tmp 935 arch/x86/math-emu/fpu_trig.c if ((exponent16(&tmp) <= EXP_UNDER) && (tag != TAG_Zero) tmp 942 arch/x86/math-emu/fpu_trig.c } else if ((exponent16(&tmp) > EXP_UNDER) || (tag == TAG_Zero)) { tmp 1491 arch/x86/math-emu/fpu_trig.c FPU_REG tmp; tmp 1514 arch/x86/math-emu/fpu_trig.c reg_copy(st1_ptr, &tmp); tmp 1515 arch/x86/math-emu/fpu_trig.c FPU_round_to_int(&tmp, st1_tag); /* This can never overflow here */ tmp 1517 arch/x86/math-emu/fpu_trig.c scale = signnegative(st1_ptr) ? -tmp.sigl : tmp.sigl; tmp 385 arch/x86/math-emu/reg_ld_str.c FPU_REG tmp; tmp 390 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &tmp); tmp 391 arch/x86/math-emu/reg_ld_str.c exp = exponent(&tmp); tmp 394 arch/x86/math-emu/reg_ld_str.c addexponent(&tmp, -DOUBLE_Emin + 52); /* largest exp to be 51 */ tmp 396 arch/x86/math-emu/reg_ld_str.c if ((precision_loss = FPU_round_to_int(&tmp, st0_tag))) { tmp 403 arch/x86/math-emu/reg_ld_str.c ((tmp.sigh == 0x00100000) && (tmp.sigl == 0) tmp 417 arch/x86/math-emu/reg_ld_str.c l[0] = tmp.sigl; tmp 418 arch/x86/math-emu/reg_ld_str.c l[1] = tmp.sigh; tmp 420 arch/x86/math-emu/reg_ld_str.c if (tmp.sigl & 0x000007ff) { tmp 425 arch/x86/math-emu/reg_ld_str.c increment = ((tmp.sigl & 0x7ff) > 0x400) | /* nearest */ tmp 426 arch/x86/math-emu/reg_ld_str.c ((tmp.sigl & 0xc00) == 0xc00); /* odd -> even */ tmp 430 arch/x86/math-emu/reg_ld_str.c signpositive(&tmp) ? 0 : tmp. tmp 435 arch/x86/math-emu/reg_ld_str.c signpositive(&tmp) ? tmp. tmp 444 arch/x86/math-emu/reg_ld_str.c tmp.sigl &= 0xfffff800; tmp 447 arch/x86/math-emu/reg_ld_str.c if (tmp.sigl >= 0xfffff800) { tmp 449 arch/x86/math-emu/reg_ld_str.c if (tmp.sigh == 0xffffffff) { tmp 451 arch/x86/math-emu/reg_ld_str.c tmp.sigh = 0x80000000; tmp 456 arch/x86/math-emu/reg_ld_str.c tmp.sigh++; tmp 458 arch/x86/math-emu/reg_ld_str.c tmp.sigl = 0x00000000; tmp 461 arch/x86/math-emu/reg_ld_str.c tmp.sigl += 0x00000800; tmp 467 arch/x86/math-emu/reg_ld_str.c l[0] = (tmp.sigl >> 11) | (tmp.sigh << 21); tmp 468 arch/x86/math-emu/reg_ld_str.c l[1] = ((tmp.sigh >> 11) & 0xfffff); tmp 506 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &tmp); tmp 570 arch/x86/math-emu/reg_ld_str.c FPU_REG tmp; tmp 574 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &tmp); tmp 575 arch/x86/math-emu/reg_ld_str.c exp = exponent(&tmp); tmp 578 arch/x86/math-emu/reg_ld_str.c addexponent(&tmp, -SINGLE_Emin + 23); /* largest exp to be 22 */ tmp 582 arch/x86/math-emu/reg_ld_str.c if ((precision_loss = FPU_round_to_int(&tmp, st0_tag))) { tmp 588 arch/x86/math-emu/reg_ld_str.c if (!((tmp.sigl == 0x00800000) && tmp 603 arch/x86/math-emu/reg_ld_str.c templ = tmp.sigl; tmp 605 arch/x86/math-emu/reg_ld_str.c if (tmp.sigl | (tmp.sigh & 0x000000ff)) { tmp 606 arch/x86/math-emu/reg_ld_str.c unsigned long sigh = tmp.sigh; tmp 607 arch/x86/math-emu/reg_ld_str.c unsigned long sigl = tmp.sigl; tmp 617 arch/x86/math-emu/reg_ld_str.c increment = signpositive(&tmp) tmp 621 arch/x86/math-emu/reg_ld_str.c increment = signpositive(&tmp) tmp 630 arch/x86/math-emu/reg_ld_str.c tmp.sigl = 0; tmp 635 arch/x86/math-emu/reg_ld_str.c tmp.sigh = 0x80000000; tmp 640 arch/x86/math-emu/reg_ld_str.c tmp.sigh &= 0xffffff00; tmp 641 arch/x86/math-emu/reg_ld_str.c tmp.sigh += 0x100; tmp 644 arch/x86/math-emu/reg_ld_str.c tmp.sigh &= 0xffffff00; /* Finish the truncation */ tmp 649 arch/x86/math-emu/reg_ld_str.c templ = (tmp.sigh >> 8) & 0x007fffff; tmp 679 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &tmp); tmp 289 arch/x86/mm/mmio-mod.c struct remap_trace *tmp; tmp 298 arch/x86/mm/mmio-mod.c list_for_each_entry_safe(trace, tmp, &trace_list, list) { tmp 345 arch/x86/mm/mmio-mod.c struct remap_trace *tmp; tmp 361 arch/x86/mm/mmio-mod.c list_for_each_entry_safe(trace, tmp, &trace_list, list) { tmp 751 arch/x86/mm/pageattr.c pte_t new_pte, *tmp; tmp 758 arch/x86/mm/pageattr.c tmp = _lookup_address_cpa(cpa, address, &level); tmp 759 arch/x86/mm/pageattr.c if (tmp != kpte) tmp 948 arch/x86/mm/pageattr.c pte_t *tmp; tmp 955 arch/x86/mm/pageattr.c tmp = _lookup_address_cpa(cpa, address, &level); tmp 956 arch/x86/mm/pageattr.c if (tmp != kpte) { tmp 1375 arch/x86/mm/pageattr.c long tmp; tmp 1382 arch/x86/mm/pageattr.c tmp = populate_pmd(cpa, start, end, cpa->numpages - cur_pages, tmp 1384 arch/x86/mm/pageattr.c if (tmp < 0) tmp 1387 arch/x86/mm/pageattr.c cur_pages += tmp; tmp 1077 arch/x86/net/bpf_jit_comp.c struct bpf_prog *tmp, *orig_prog = prog; tmp 1091 arch/x86/net/bpf_jit_comp.c tmp = bpf_jit_blind_constants(prog); tmp 1096 arch/x86/net/bpf_jit_comp.c if (IS_ERR(tmp)) tmp 1098 arch/x86/net/bpf_jit_comp.c if (tmp != prog) { tmp 1100 arch/x86/net/bpf_jit_comp.c prog = tmp; tmp 1205 arch/x86/net/bpf_jit_comp.c tmp : orig_prog); tmp 2302 arch/x86/net/bpf_jit_comp32.c struct bpf_prog *tmp, *orig_prog = prog; tmp 2314 arch/x86/net/bpf_jit_comp32.c tmp = bpf_jit_blind_constants(prog); tmp 2319 arch/x86/net/bpf_jit_comp32.c if (IS_ERR(tmp)) tmp 2321 arch/x86/net/bpf_jit_comp32.c if (tmp != prog) { tmp 2323 arch/x86/net/bpf_jit_comp32.c prog = tmp; tmp 2395 arch/x86/net/bpf_jit_comp32.c tmp : orig_prog); tmp 298 arch/x86/pci/acpi.c struct resource_entry *entry, *tmp; tmp 303 arch/x86/pci/acpi.c resource_list_for_each_entry_safe(entry, tmp, &ci->resources) tmp 309 arch/x86/pci/acpi.c resource_list_for_each_entry_safe(entry, tmp, &ci->resources) { tmp 226 arch/x86/pci/direct.c unsigned int tmp; tmp 232 arch/x86/pci/direct.c tmp = inl(0xCF8); tmp 237 arch/x86/pci/direct.c outl(tmp, 0xCF8); tmp 46 arch/x86/pci/mmconfig-shared.c struct pci_mmcfg_region *cfg, *tmp; tmp 49 arch/x86/pci/mmconfig-shared.c list_for_each_entry_safe(cfg, tmp, &pci_mmcfg_list, list) tmp 725 arch/x86/pci/mmconfig-shared.c struct resource *tmp = NULL; tmp 763 arch/x86/pci/mmconfig-shared.c tmp = insert_resource_conflict(&iomem_resource, tmp 766 arch/x86/pci/mmconfig-shared.c if (tmp) { tmp 770 arch/x86/pci/mmconfig-shared.c &cfg->res, tmp->name, tmp); tmp 326 arch/x86/platform/efi/efi.c u64 tmp = 0; tmp 345 arch/x86/platform/efi/efi.c tmp |= data ? data->fw_vendor : systab64->fw_vendor; tmp 348 arch/x86/platform/efi/efi.c tmp |= systab64->con_in_handle; tmp 350 arch/x86/platform/efi/efi.c tmp |= systab64->con_in; tmp 352 arch/x86/platform/efi/efi.c tmp |= systab64->con_out_handle; tmp 354 arch/x86/platform/efi/efi.c tmp |= systab64->con_out; tmp 356 arch/x86/platform/efi/efi.c tmp |= systab64->stderr_handle; tmp 358 arch/x86/platform/efi/efi.c tmp |= systab64->stderr; tmp 362 arch/x86/platform/efi/efi.c tmp |= data ? data->runtime : systab64->runtime; tmp 364 arch/x86/platform/efi/efi.c tmp |= systab64->boottime; tmp 368 arch/x86/platform/efi/efi.c tmp |= data ? data->tables : systab64->tables; tmp 374 arch/x86/platform/efi/efi.c if (tmp >> 32) { tmp 140 arch/x86/platform/olpc/olpc-xo15-sci.c unsigned long long tmp; tmp 151 arch/x86/platform/olpc/olpc-xo15-sci.c status = acpi_evaluate_integer(device->handle, "_GPE", NULL, &tmp); tmp 155 arch/x86/platform/olpc/olpc-xo15-sci.c xo15_sci_gpe = tmp; tmp 116 arch/x86/platform/ts5500/ts5500.c u8 tmp; tmp 133 arch/x86/platform/ts5500/ts5500.c tmp = inb(TS5500_SRAM_RS485_ADC_ADDR); tmp 134 arch/x86/platform/ts5500/ts5500.c sbc->sram = tmp & TS5500_SRAM; tmp 135 arch/x86/platform/ts5500/ts5500.c sbc->rs485 = tmp & TS5500_RS485; tmp 136 arch/x86/platform/ts5500/ts5500.c sbc->adc = tmp & TS5500_ADC; tmp 138 arch/x86/platform/ts5500/ts5500.c tmp = inb(TS5500_ERESET_ITR_ADDR); tmp 139 arch/x86/platform/ts5500/ts5500.c sbc->ereset = tmp & TS5500_ERESET; tmp 140 arch/x86/platform/ts5500/ts5500.c sbc->itr = tmp & TS5500_ITR; tmp 142 arch/x86/platform/ts5500/ts5500.c tmp = inb(TS5500_LED_JP_ADDR); tmp 143 arch/x86/platform/ts5500/ts5500.c sbc->jumpers = tmp & ~TS5500_LED; tmp 129 arch/x86/tools/insn_sanity.c char buf[256] = "", *tmp; tmp 132 arch/x86/tools/insn_sanity.c tmp = fgets(buf, ARRAY_SIZE(buf), input_file); tmp 133 arch/x86/tools/insn_sanity.c if (tmp == NULL || feof(input_file)) tmp 137 arch/x86/tools/insn_sanity.c insn_buff[i] = (unsigned char)strtoul(tmp, &tmp, 16); tmp 138 arch/x86/tools/insn_sanity.c if (*tmp != ' ') tmp 165 arch/x86/tools/insn_sanity.c char *tmp = NULL; tmp 189 arch/x86/tools/insn_sanity.c seed = (unsigned int)strtoul(optarg, &tmp, 0); tmp 190 arch/x86/tools/insn_sanity.c if (*tmp == ',') { tmp 191 arch/x86/tools/insn_sanity.c optarg = tmp + 1; tmp 192 arch/x86/tools/insn_sanity.c iter_start = strtoul(optarg, &tmp, 0); tmp 194 arch/x86/tools/insn_sanity.c if (*tmp != '\0' || tmp == optarg) tmp 199 arch/x86/tools/insn_sanity.c iter_end = strtoul(optarg, &tmp, 0); tmp 200 arch/x86/tools/insn_sanity.c if (*tmp != '\0' || tmp == optarg) tmp 46 arch/x86/um/bugs_32.c unsigned char tmp[2]; tmp 55 arch/x86/um/bugs_32.c if (copy_from_user_proc(tmp, (void *) UPT_IP(regs), 2)) { tmp 61 arch/x86/um/bugs_32.c if ((tmp[0] != 0x0f) || ((tmp[1] & 0xf0) != 0x40)) tmp 235 arch/x86/um/ldt.c short *tmp; tmp 279 arch/x86/um/ldt.c tmp = kmalloc(size, GFP_KERNEL); tmp 280 arch/x86/um/ldt.c if (tmp == NULL) { tmp 285 arch/x86/um/ldt.c host_ldt_entries = tmp; tmp 178 arch/x86/um/ptrace_32.c unsigned long tmp; tmp 183 arch/x86/um/ptrace_32.c tmp = 0; /* Default return condition */ tmp 185 arch/x86/um/ptrace_32.c tmp = getreg(child, addr); tmp 191 arch/x86/um/ptrace_32.c tmp = child->thread.arch.debugregs[addr]; tmp 193 arch/x86/um/ptrace_32.c return put_user(tmp, (unsigned long __user *) data); tmp 184 arch/x86/um/ptrace_64.c unsigned long tmp; tmp 189 arch/x86/um/ptrace_64.c tmp = 0; /* Default return condition */ tmp 191 arch/x86/um/ptrace_64.c tmp = getreg(child, addr); tmp 196 arch/x86/um/ptrace_64.c tmp = child->thread.arch.debugregs[addr]; tmp 198 arch/x86/um/ptrace_64.c return put_user(tmp, (unsigned long *) data); tmp 25 arch/x86/um/signal.c unsigned int tmp; /* to avoid 16 bit prefixes in the code */ tmp 28 arch/x86/um/signal.c tmp = ~twd; tmp 29 arch/x86/um/signal.c tmp = (tmp | (tmp>>1)) & 0x5555; /* 0V0V0V0V0V0V0V0V */ tmp 31 arch/x86/um/signal.c tmp = (tmp | (tmp >> 1)) & 0x3333; /* 00VV00VV00VV00VV */ tmp 32 arch/x86/um/signal.c tmp = (tmp | (tmp >> 2)) & 0x0f0f; /* 0000VVVV0000VVVV */ tmp 33 arch/x86/um/signal.c tmp = (tmp | (tmp >> 4)) & 0x00ff; /* 00000000VVVVVVVV */ tmp 34 arch/x86/um/signal.c return tmp; tmp 18 arch/x86/um/syscalls_64.c unsigned long *ptr = arg2, tmp; tmp 52 arch/x86/um/syscalls_64.c ptr = &tmp; tmp 68 arch/x86/um/syscalls_64.c ret = put_user(tmp, arg2); tmp 71 arch/x86/um/syscalls_64.c ret = put_user(tmp, arg2); tmp 55 arch/x86/xen/suspend.c u64 tmp; tmp 60 arch/x86/xen/suspend.c rdmsrl(MSR_IA32_SPEC_CTRL, tmp); tmp 61 arch/x86/xen/suspend.c this_cpu_write(spec_ctrl, tmp); tmp 63 arch/xtensa/include/asm/atomic.h unsigned long tmp; \ tmp 72 arch/xtensa/include/asm/atomic.h : "=&a" (result), "=&a" (tmp) \ tmp 81 arch/xtensa/include/asm/atomic.h unsigned long tmp; \ tmp 91 arch/xtensa/include/asm/atomic.h : "=&a" (result), "=&a" (tmp) \ tmp 102 arch/xtensa/include/asm/atomic.h unsigned long tmp; \ tmp 111 arch/xtensa/include/asm/atomic.h : "=&a" (result), "=&a" (tmp) \ tmp 116 arch/xtensa/include/asm/atomic.h return tmp; \ tmp 123 arch/xtensa/include/asm/atomic.h unsigned long tmp; \ tmp 132 arch/xtensa/include/asm/atomic.h : "=&a" (result), "=&a" (tmp) \ tmp 141 arch/xtensa/include/asm/atomic.h unsigned long tmp; \ tmp 151 arch/xtensa/include/asm/atomic.h : "=&a" (result), "=&a" (tmp) \ tmp 162 arch/xtensa/include/asm/atomic.h unsigned long tmp; \ tmp 171 arch/xtensa/include/asm/atomic.h : "=&a" (result), "=&a" (tmp) \ tmp 222 arch/xtensa/include/asm/atomic.h unsigned int tmp, vval; \ tmp 231 arch/xtensa/include/asm/atomic.h : "=&a" (vval), "=&a" (tmp) \ tmp 103 arch/xtensa/include/asm/bitops.h unsigned long tmp; tmp 114 arch/xtensa/include/asm/bitops.h : "=&a" (tmp) tmp 121 arch/xtensa/include/asm/bitops.h unsigned long tmp; tmp 132 arch/xtensa/include/asm/bitops.h : "=&a" (tmp) tmp 139 arch/xtensa/include/asm/bitops.h unsigned long tmp; tmp 150 arch/xtensa/include/asm/bitops.h : "=&a" (tmp) tmp 158 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 169 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 179 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 190 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 200 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 211 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 222 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 233 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 240 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 251 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 258 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 269 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 277 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 288 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 292 arch/xtensa/include/asm/bitops.h return tmp & mask; tmp 298 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 309 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 313 arch/xtensa/include/asm/bitops.h return tmp & mask; tmp 319 arch/xtensa/include/asm/bitops.h unsigned long tmp, value; tmp 330 arch/xtensa/include/asm/bitops.h : "=&a" (tmp), "=&a" (value) tmp 334 arch/xtensa/include/asm/bitops.h return tmp & mask; tmp 92 arch/xtensa/include/asm/checksum.h unsigned int sum, tmp, endaddr; tmp 117 arch/xtensa/include/asm/checksum.h : "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmp), tmp 27 arch/xtensa/include/asm/cmpxchg.h unsigned long tmp, result; tmp 37 arch/xtensa/include/asm/cmpxchg.h : "=&a" (result), "=&a" (tmp) tmp 129 arch/xtensa/include/asm/cmpxchg.h unsigned long tmp, result; tmp 137 arch/xtensa/include/asm/cmpxchg.h : "=&a" (result), "=&a" (tmp) tmp 144 arch/xtensa/include/asm/cmpxchg.h unsigned long tmp, result; tmp 151 arch/xtensa/include/asm/cmpxchg.h : "=&a" (result), "=&a" (tmp) tmp 157 arch/xtensa/include/asm/cmpxchg.h unsigned long tmp; tmp 164 arch/xtensa/include/asm/cmpxchg.h : "=&a" (tmp) tmp 167 arch/xtensa/include/asm/cmpxchg.h return tmp; tmp 118 arch/xtensa/include/asm/futex.h unsigned long tmp; tmp 153 arch/xtensa/include/asm/futex.h : [ret] "+r" (ret), [newval] "+r" (newval), [tmp] "=&r" (tmp) tmp 31 arch/xtensa/include/asm/irqflags.h unsigned long tmp; tmp 38 arch/xtensa/include/asm/irqflags.h : "=a" (flags), "=a" (tmp) :: "memory"); tmp 65 arch/xtensa/include/asm/mmu_context.h unsigned long tmp; tmp 66 arch/xtensa/include/asm/mmu_context.h __asm__ __volatile__ (" rsr %0, rasid\n\t" : "=a" (tmp)); tmp 67 arch/xtensa/include/asm/mmu_context.h return tmp; tmp 418 arch/xtensa/include/asm/pgtable.h #define _PGD_OFFSET(mm,adr,tmp) l32i mm, mm, MM_PGD; \ tmp 419 arch/xtensa/include/asm/pgtable.h _PGD_INDEX(tmp, adr); \ tmp 420 arch/xtensa/include/asm/pgtable.h addx4 mm, tmp, mm tmp 422 arch/xtensa/include/asm/pgtable.h #define _PTE_OFFSET(pmd,adr,tmp) _PTE_INDEX(tmp, adr); \ tmp 425 arch/xtensa/include/asm/pgtable.h addx4 pmd, tmp, pmd tmp 66 arch/xtensa/include/asm/tlbflush.h unsigned long tmp; tmp 67 arch/xtensa/include/asm/tlbflush.h __asm__ __volatile__("pitlb %0, %1\n\t" : "=a" (tmp) : "a" (addr)); tmp 68 arch/xtensa/include/asm/tlbflush.h return tmp; tmp 73 arch/xtensa/include/asm/tlbflush.h unsigned long tmp; tmp 74 arch/xtensa/include/asm/tlbflush.h __asm__ __volatile__("pdtlb %0, %1\n\t" : "=a" (tmp) : "a" (addr)); tmp 75 arch/xtensa/include/asm/tlbflush.h return tmp; tmp 125 arch/xtensa/include/asm/tlbflush.h unsigned long tmp; tmp 126 arch/xtensa/include/asm/tlbflush.h __asm__ __volatile__("rsr %0, ptevaddr\n\t" : "=a" (tmp)); tmp 127 arch/xtensa/include/asm/tlbflush.h return tmp; tmp 178 arch/xtensa/include/asm/tlbflush.h unsigned long tmp; tmp 179 arch/xtensa/include/asm/tlbflush.h __asm__ __volatile__("rdtlb0 %0, %1\n\t" : "=a" (tmp), "+a" (way)); tmp 180 arch/xtensa/include/asm/tlbflush.h return tmp; tmp 185 arch/xtensa/include/asm/tlbflush.h unsigned long tmp; tmp 186 arch/xtensa/include/asm/tlbflush.h __asm__ __volatile__("rdtlb1 %0, %1\n\t" : "=a" (tmp), "+a" (way)); tmp 187 arch/xtensa/include/asm/tlbflush.h return tmp; tmp 192 arch/xtensa/include/asm/tlbflush.h unsigned long tmp; tmp 193 arch/xtensa/include/asm/tlbflush.h __asm__ __volatile__("ritlb0 %0, %1\n\t" : "=a" (tmp), "+a" (way)); tmp 194 arch/xtensa/include/asm/tlbflush.h return tmp; tmp 199 arch/xtensa/include/asm/tlbflush.h unsigned long tmp; tmp 200 arch/xtensa/include/asm/tlbflush.h __asm__ __volatile__("ritlb1 %0, %1\n\t" : "=a" (tmp), "+a" (way)); tmp 201 arch/xtensa/include/asm/tlbflush.h return tmp; tmp 170 arch/xtensa/include/asm/uaccess.h :[err] "+r"(err_), [tmp] "=r"(cb) \ tmp 238 arch/xtensa/include/asm/uaccess.h :[err] "+r"(err_), [tmp] "=r"(cb), [x] "+r"(__x) \ tmp 58 arch/xtensa/include/uapi/asm/swab.h __u32 tmp; tmp 63 arch/xtensa/include/uapi/asm/swab.h : "=&a" (res), "=&a" (tmp) tmp 273 arch/xtensa/kernel/ptrace.c unsigned long tmp; tmp 276 arch/xtensa/kernel/ptrace.c tmp = 0; /* Default return value. */ tmp 280 arch/xtensa/kernel/ptrace.c tmp = regs->areg[regno - REG_AR_BASE]; tmp 284 arch/xtensa/kernel/ptrace.c tmp = regs->areg[regno - REG_A_BASE]; tmp 288 arch/xtensa/kernel/ptrace.c tmp = regs->pc; tmp 296 arch/xtensa/kernel/ptrace.c tmp = (regs->ps & ~(1 << PS_EXCM_BIT)); tmp 306 arch/xtensa/kernel/ptrace.c tmp = ((ws >> wb) | (ws << (WSBITS - wb))) & tmp 311 arch/xtensa/kernel/ptrace.c tmp = regs->lbeg; tmp 315 arch/xtensa/kernel/ptrace.c tmp = regs->lend; tmp 319 arch/xtensa/kernel/ptrace.c tmp = regs->lcount; tmp 323 arch/xtensa/kernel/ptrace.c tmp = regs->sar; tmp 327 arch/xtensa/kernel/ptrace.c tmp = regs->syscall; tmp 333 arch/xtensa/kernel/ptrace.c return put_user(tmp, ret); tmp 27 arch/xtensa/kernel/s32c1i_selftest.c int tmp; tmp 34 arch/xtensa/kernel/s32c1i_selftest.c : "=a" (set), "=&a" (tmp) tmp 229 arch/xtensa/mm/cache.c unsigned long tmp; tmp 231 arch/xtensa/mm/cache.c tmp = TLBTEMP_BASE_1 + (phys & DCACHE_ALIAS_MASK); tmp 232 arch/xtensa/mm/cache.c __flush_invalidate_dcache_page_alias(tmp, phys); tmp 233 arch/xtensa/mm/cache.c tmp = TLBTEMP_BASE_1 + (addr & DCACHE_ALIAS_MASK); tmp 234 arch/xtensa/mm/cache.c __flush_invalidate_dcache_page_alias(tmp, phys); tmp 235 arch/xtensa/mm/cache.c __invalidate_icache_page_alias(tmp, phys); tmp 230 arch/xtensa/platforms/iss/simdisk.c char *tmp = memdup_user_nul(buf, count); tmp 234 arch/xtensa/platforms/iss/simdisk.c if (IS_ERR(tmp)) tmp 235 arch/xtensa/platforms/iss/simdisk.c return PTR_ERR(tmp); tmp 241 arch/xtensa/platforms/iss/simdisk.c if (count > 0 && tmp[count - 1] == '\n') tmp 242 arch/xtensa/platforms/iss/simdisk.c tmp[count - 1] = 0; tmp 244 arch/xtensa/platforms/iss/simdisk.c if (tmp[0]) tmp 245 arch/xtensa/platforms/iss/simdisk.c err = simdisk_attach(dev, tmp); tmp 250 arch/xtensa/platforms/iss/simdisk.c kfree(tmp); tmp 263 arch/xtensa/platforms/iss/simdisk.c char tmp[2] = { '0' + which, 0 }; tmp 293 arch/xtensa/platforms/iss/simdisk.c dev->procfile = proc_create_data(tmp, 0644, procdir, &fops, dev); tmp 347 arch/xtensa/platforms/iss/simdisk.c char tmp[2] = { '0' + which, 0 }; tmp 354 arch/xtensa/platforms/iss/simdisk.c remove_proc_entry(tmp, procdir); tmp 1169 block/bfq-cgroup.c struct blkg_rwstat_sample tmp; tmp 1172 block/bfq-cgroup.c offsetof(struct blkcg_gq, stat_bytes), &tmp); tmp 1175 block/bfq-cgroup.c (tmp.cnt[BLKG_RWSTAT_READ] + tmp.cnt[BLKG_RWSTAT_WRITE]) >> 9); tmp 847 block/blk-iolatency.c struct iolatency_grp *tmp = blkg_to_lat(blkg); tmp 848 block/blk-iolatency.c struct blk_iolatency *blkiolat = tmp->blkiolat; tmp 68 block/blk-merge.c sector_t tmp; tmp 96 block/blk-merge.c tmp = bio->bi_iter.bi_sector + split_sectors - alignment; tmp 97 block/blk-merge.c tmp = sector_div(tmp, granularity); tmp 99 block/blk-merge.c if (split_sectors > tmp) tmp 100 block/blk-merge.c split_sectors -= tmp; tmp 1944 block/blk-mq.c struct request *tmp; tmp 1946 block/blk-mq.c tmp = list_first_entry(&plug->mq_list, struct request, tmp 1948 block/blk-mq.c if (tmp->q != rq->q) tmp 2243 block/blk-mq.c LIST_HEAD(tmp); tmp 2252 block/blk-mq.c list_splice_init(&ctx->rq_lists[type], &tmp); tmp 2257 block/blk-mq.c if (list_empty(&tmp)) tmp 2261 block/blk-mq.c list_splice_tail_init(&tmp, &hctx->dispatch); tmp 2762 block/blk-mq.c struct blk_mq_hw_ctx *hctx = NULL, *tmp; tmp 2766 block/blk-mq.c list_for_each_entry(tmp, &q->unused_hctx_list, hctx_list) { tmp 2767 block/blk-mq.c if (tmp->numa_node == node) { tmp 2768 block/blk-mq.c hctx = tmp; tmp 822 block/blk-throttle.c u64 bytes_trim, tmp; tmp 850 block/blk-throttle.c tmp = tg_bps_limit(tg, rw) * tg->td->throtl_slice * nr_slices; tmp 851 block/blk-throttle.c do_div(tmp, HZ); tmp 852 block/blk-throttle.c bytes_trim = tmp; tmp 884 block/blk-throttle.c u64 tmp; tmp 898 block/blk-throttle.c tmp = (u64)tg_iops_limit(tg, rw) * jiffy_elapsed_rnd; tmp 899 block/blk-throttle.c do_div(tmp, HZ); tmp 901 block/blk-throttle.c if (tmp > UINT_MAX) tmp 904 block/blk-throttle.c io_allowed = tmp; tmp 924 block/blk-throttle.c u64 bytes_allowed, extra_bytes, tmp; tmp 936 block/blk-throttle.c tmp = tg_bps_limit(tg, rw) * jiffy_elapsed_rnd; tmp 937 block/blk-throttle.c do_div(tmp, HZ); tmp 938 block/blk-throttle.c bytes_allowed = tmp; tmp 2051 block/blk-throttle.c struct latency_bucket *tmp = &td->tmp_buckets[rw][i]; tmp 2059 block/blk-throttle.c tmp->total_latency += bucket[i].total_latency; tmp 2060 block/blk-throttle.c tmp->samples += bucket[i].samples; tmp 2065 block/blk-throttle.c if (tmp->samples >= 32) { tmp 2066 block/blk-throttle.c int samples = tmp->samples; tmp 2068 block/blk-throttle.c latency[rw] = tmp->total_latency; tmp 2070 block/blk-throttle.c tmp->total_latency = 0; tmp 2071 block/blk-throttle.c tmp->samples = 0; tmp 193 block/partitions/aix.c char tmp[64]; tmp 200 block/partitions/aix.c snprintf(tmp, sizeof(tmp), tmp 206 block/partitions/aix.c snprintf(tmp, sizeof(tmp), tmp 210 block/partitions/aix.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 271 block/partitions/aix.c char tmp[70]; tmp 276 block/partitions/aix.c snprintf(tmp, sizeof(tmp), " <%s>\n", tmp 278 block/partitions/aix.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 287 block/partitions/aix.c char tmp[sizeof(n[i].name) + 1]; // null char tmp 289 block/partitions/aix.c snprintf(tmp, sizeof(tmp), "%s", n[i].name); tmp 292 block/partitions/aix.c tmp, lvip[i].pps_found); tmp 76 block/partitions/amiga.c char tmp[7 + 10 + 1 + 1]; tmp 79 block/partitions/amiga.c snprintf(tmp, sizeof(tmp), " RDSK (%d)", blksize * 512); tmp 80 block/partitions/amiga.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 118 block/partitions/amiga.c char tmp[42]; tmp 123 block/partitions/amiga.c snprintf(tmp, sizeof(tmp), " (%c%c%c^%c)", tmp 127 block/partitions/amiga.c snprintf(tmp, sizeof(tmp), " (%c%c%c%c)", tmp 130 block/partitions/amiga.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 131 block/partitions/amiga.c snprintf(tmp, sizeof(tmp), "(res %d spb %d)", tmp 134 block/partitions/amiga.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 45 block/partitions/check.h char tmp[1 + BDEVNAME_SIZE + 10 + 1]; tmp 49 block/partitions/check.h snprintf(tmp, sizeof(tmp), " %s%d", p->name, n); tmp 50 block/partitions/check.h strlcat(p->pp_buf, tmp, PAGE_SIZE); tmp 30 block/partitions/cmdline.c char tmp[sizeof(info->volname) + 4]; tmp 46 block/partitions/cmdline.c snprintf(tmp, sizeof(tmp), "(%s)", info->volname); tmp 47 block/partitions/cmdline.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 141 block/partitions/ibm.c char tmp[64]; tmp 148 block/partitions/ibm.c snprintf(tmp, sizeof(tmp), "VOL1/%8s:", name); tmp 149 block/partitions/ibm.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 205 block/partitions/ibm.c char tmp[64]; tmp 208 block/partitions/ibm.c snprintf(tmp, sizeof(tmp), "LNX1/%8s:", name); tmp 209 block/partitions/ibm.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 250 block/partitions/ibm.c char tmp[64]; tmp 259 block/partitions/ibm.c snprintf(tmp, sizeof(tmp), "CMS1/%8s(MDSK):", name); tmp 260 block/partitions/ibm.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 265 block/partitions/ibm.c snprintf(tmp, sizeof(tmp), "CMS1/%8s:", name); tmp 266 block/partitions/ibm.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 659 block/partitions/ldm.c u64 tmp = 0; tmp 668 block/partitions/ldm.c tmp = (tmp << 8) | *block++; tmp 672 block/partitions/ldm.c return tmp; tmp 1299 block/partitions/ldm.c struct list_head *item, *tmp; tmp 1303 block/partitions/ldm.c list_for_each_safe (item, tmp, list) tmp 1414 block/partitions/ldm.c struct list_head *item, *tmp; tmp 1418 block/partitions/ldm.c list_for_each_safe (item, tmp, lh) tmp 233 block/partitions/msdos.c char tmp[1 + BDEVNAME_SIZE + 10 + 11 + 1]; tmp 235 block/partitions/msdos.c snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); tmp 236 block/partitions/msdos.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 239 block/partitions/msdos.c char tmp[64]; tmp 241 block/partitions/msdos.c snprintf(tmp, sizeof(tmp), " cannot handle version %d vtoc>\n", tmp 243 block/partitions/msdos.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 251 block/partitions/msdos.c char tmp[3 + 10 + 1 + 1]; tmp 255 block/partitions/msdos.c snprintf(tmp, sizeof(tmp), " [s%d]", i); tmp 256 block/partitions/msdos.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 280 block/partitions/msdos.c char tmp[64]; tmp 290 block/partitions/msdos.c snprintf(tmp, sizeof(tmp), " %s%d: <%s:", state->name, origin, flavour); tmp 291 block/partitions/msdos.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 319 block/partitions/msdos.c snprintf(tmp, sizeof(tmp), " (ignored %d more)", tmp 321 block/partitions/msdos.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 373 block/partitions/msdos.c char tmp[1 + BDEVNAME_SIZE + 10 + 12 + 1]; tmp 375 block/partitions/msdos.c snprintf(tmp, sizeof(tmp), " %s%d: <unixware:", state->name, origin); tmp 376 block/partitions/msdos.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 420 block/partitions/msdos.c char tmp[1 + BDEVNAME_SIZE + 10 + 9 + 1]; tmp 422 block/partitions/msdos.c snprintf(tmp, sizeof(tmp), " %s%d: <minix:", state->name, origin); tmp 423 block/partitions/msdos.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 58 block/partitions/sysv68.c char tmp[64]; tmp 78 block/partitions/sysv68.c snprintf(tmp, sizeof(tmp), "sysV68: %s(s%u)", state->name, slices); tmp 79 block/partitions/sysv68.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 88 block/partitions/sysv68.c snprintf(tmp, sizeof(tmp), "(s%u)", i); tmp 89 block/partitions/sysv68.c strlcat(state->pp_buf, tmp, PAGE_SIZE); tmp 42 crypto/ablkcipher.c struct ablkcipher_buffer *p, *tmp; tmp 44 crypto/ablkcipher.c list_for_each_entry_safe(p, tmp, &walk->buffers, entry) { tmp 77 crypto/aegis128-core.c union aegis_block tmp; tmp 80 crypto/aegis128-core.c tmp = state->blocks[AEGIS128_STATE_BLOCKS - 1]; tmp 84 crypto/aegis128-core.c crypto_aegis_aesenc(&state->blocks[0], &tmp, &state->blocks[0]); tmp 161 crypto/aegis128-core.c union aegis_block tmp; tmp 170 crypto/aegis128-core.c tmp = state->blocks[2]; tmp 171 crypto/aegis128-core.c crypto_aegis_block_and(&tmp, &state->blocks[3]); tmp 172 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[4]); tmp 173 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[1]); tmp 174 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, src_blk); tmp 178 crypto/aegis128-core.c *dst_blk = tmp; tmp 186 crypto/aegis128-core.c tmp = state->blocks[2]; tmp 187 crypto/aegis128-core.c crypto_aegis_block_and(&tmp, &state->blocks[3]); tmp 188 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[4]); tmp 189 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[1]); tmp 190 crypto/aegis128-core.c crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); tmp 194 crypto/aegis128-core.c memcpy(dst, tmp.bytes, AEGIS_BLOCK_SIZE); tmp 206 crypto/aegis128-core.c tmp = state->blocks[2]; tmp 207 crypto/aegis128-core.c crypto_aegis_block_and(&tmp, &state->blocks[3]); tmp 208 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[4]); tmp 209 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[1]); tmp 213 crypto/aegis128-core.c crypto_aegis_block_xor(&msg, &tmp); tmp 222 crypto/aegis128-core.c union aegis_block tmp; tmp 231 crypto/aegis128-core.c tmp = state->blocks[2]; tmp 232 crypto/aegis128-core.c crypto_aegis_block_and(&tmp, &state->blocks[3]); tmp 233 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[4]); tmp 234 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[1]); tmp 235 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, src_blk); tmp 237 crypto/aegis128-core.c crypto_aegis128_update_a(state, &tmp); tmp 239 crypto/aegis128-core.c *dst_blk = tmp; tmp 247 crypto/aegis128-core.c tmp = state->blocks[2]; tmp 248 crypto/aegis128-core.c crypto_aegis_block_and(&tmp, &state->blocks[3]); tmp 249 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[4]); tmp 250 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[1]); tmp 251 crypto/aegis128-core.c crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); tmp 253 crypto/aegis128-core.c crypto_aegis128_update_a(state, &tmp); tmp 255 crypto/aegis128-core.c memcpy(dst, tmp.bytes, AEGIS_BLOCK_SIZE); tmp 267 crypto/aegis128-core.c tmp = state->blocks[2]; tmp 268 crypto/aegis128-core.c crypto_aegis_block_and(&tmp, &state->blocks[3]); tmp 269 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[4]); tmp 270 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[1]); tmp 271 crypto/aegis128-core.c crypto_aegis_block_xor(&msg, &tmp); tmp 354 crypto/aegis128-core.c union aegis_block tmp; tmp 357 crypto/aegis128-core.c tmp.words64[0] = cpu_to_le64(assocbits); tmp 358 crypto/aegis128-core.c tmp.words64[1] = cpu_to_le64(cryptbits); tmp 360 crypto/aegis128-core.c crypto_aegis_block_xor(&tmp, &state->blocks[3]); tmp 363 crypto/aegis128-core.c crypto_aegis128_update_a(state, &tmp); tmp 655 crypto/af_alg.c struct af_alg_rsgl *rsgl, *tmp; tmp 660 crypto/af_alg.c list_for_each_entry_safe(rsgl, tmp, &areq->rsgl_list, list) { tmp 101 crypto/algif_aead.c struct af_alg_tsgl *tsgl, *tmp; tmp 182 crypto/algif_aead.c list_for_each_entry_safe(tsgl, tmp, &ctx->tsgl_list, list) { tmp 83 crypto/ansi_cprng.c unsigned char tmp[DEFAULT_BLK_SZ]; tmp 105 crypto/ansi_cprng.c memcpy(tmp, ctx->DT, DEFAULT_BLK_SZ); tmp 107 crypto/ansi_cprng.c hexdump("tmp stage 0: ", tmp, DEFAULT_BLK_SZ); tmp 116 crypto/ansi_cprng.c xor_vectors(ctx->I, ctx->V, tmp, DEFAULT_BLK_SZ); tmp 117 crypto/ansi_cprng.c hexdump("tmp stage 1: ", tmp, DEFAULT_BLK_SZ); tmp 146 crypto/ansi_cprng.c xor_vectors(ctx->rand_data, ctx->I, tmp, tmp 149 crypto/ansi_cprng.c hexdump("tmp stage 2: ", tmp, DEFAULT_BLK_SZ); tmp 155 crypto/ansi_cprng.c crypto_cipher_encrypt_one(ctx->tfm, output, tmp); tmp 245 crypto/asymmetric_keys/verify_pefile.c unsigned *canon, tmp, loop, i, hashed_bytes; tmp 255 crypto/asymmetric_keys/verify_pefile.c tmp = ctx->image_checksum_offset + sizeof(uint32_t); tmp 256 crypto/asymmetric_keys/verify_pefile.c ret = crypto_shash_update(desc, pebuf + tmp, tmp 257 crypto/asymmetric_keys/verify_pefile.c ctx->cert_dirent_offset - tmp); tmp 261 crypto/asymmetric_keys/verify_pefile.c tmp = ctx->cert_dirent_offset + sizeof(struct data_dirent); tmp 262 crypto/asymmetric_keys/verify_pefile.c ret = crypto_shash_update(desc, pebuf + tmp, ctx->header_size - tmp); tmp 303 crypto/asymmetric_keys/verify_pefile.c tmp = hashed_bytes + ctx->certs_size; tmp 306 crypto/asymmetric_keys/verify_pefile.c pelen - tmp); tmp 38 crypto/async_tx/async_xor.c dma_addr_t tmp; tmp 62 crypto/async_tx/async_xor.c tmp = src_list[0]; tmp 80 crypto/async_tx/async_xor.c src_list[0] = tmp; tmp 109 crypto/authencesn.c u32 tmp[2]; tmp 112 crypto/authencesn.c scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); tmp 113 crypto/authencesn.c scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); tmp 114 crypto/authencesn.c scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); tmp 143 crypto/authencesn.c u32 tmp[2]; tmp 149 crypto/authencesn.c scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); tmp 150 crypto/authencesn.c scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); tmp 151 crypto/authencesn.c scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); tmp 245 crypto/authencesn.c u32 tmp[2]; tmp 251 crypto/authencesn.c scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); tmp 252 crypto/authencesn.c scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); tmp 253 crypto/authencesn.c scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); tmp 294 crypto/authencesn.c u32 tmp[2]; tmp 312 crypto/authencesn.c scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); tmp 313 crypto/authencesn.c scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); tmp 314 crypto/authencesn.c scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); tmp 177 crypto/blkcipher.c u8 *tmp = walk->page; tmp 180 crypto/blkcipher.c memcpy(tmp, walk->src.virt.addr, walk->nbytes); tmp 183 crypto/blkcipher.c walk->src.virt.addr = tmp; tmp 184 crypto/blkcipher.c walk->dst.virt.addr = tmp; tmp 1004 crypto/camellia_generic.c u32 tmp[4]; tmp 1006 crypto/camellia_generic.c tmp[0] = be32_to_cpu(src[0]); tmp 1007 crypto/camellia_generic.c tmp[1] = be32_to_cpu(src[1]); tmp 1008 crypto/camellia_generic.c tmp[2] = be32_to_cpu(src[2]); tmp 1009 crypto/camellia_generic.c tmp[3] = be32_to_cpu(src[3]); tmp 1016 crypto/camellia_generic.c camellia_do_encrypt(cctx->key_table, tmp, max); tmp 1019 crypto/camellia_generic.c dst[0] = cpu_to_be32(tmp[2]); tmp 1020 crypto/camellia_generic.c dst[1] = cpu_to_be32(tmp[3]); tmp 1021 crypto/camellia_generic.c dst[2] = cpu_to_be32(tmp[0]); tmp 1022 crypto/camellia_generic.c dst[3] = cpu_to_be32(tmp[1]); tmp 1032 crypto/camellia_generic.c u32 tmp[4]; tmp 1034 crypto/camellia_generic.c tmp[0] = be32_to_cpu(src[0]); tmp 1035 crypto/camellia_generic.c tmp[1] = be32_to_cpu(src[1]); tmp 1036 crypto/camellia_generic.c tmp[2] = be32_to_cpu(src[2]); tmp 1037 crypto/camellia_generic.c tmp[3] = be32_to_cpu(src[3]); tmp 1044 crypto/camellia_generic.c camellia_do_decrypt(cctx->key_table, tmp, max); tmp 1047 crypto/camellia_generic.c dst[0] = cpu_to_be32(tmp[2]); tmp 1048 crypto/camellia_generic.c dst[1] = cpu_to_be32(tmp[3]); tmp 1049 crypto/camellia_generic.c dst[2] = cpu_to_be32(tmp[0]); tmp 1050 crypto/camellia_generic.c dst[3] = cpu_to_be32(tmp[1]); tmp 46 crypto/cfb.c u8 tmp[MAX_CIPHER_BLOCKSIZE + MAX_CIPHER_ALIGNMASK]; tmp 47 crypto/cfb.c u8 *stream = PTR_ALIGN(tmp + 0, alignmask + 1); tmp 87 crypto/cfb.c u8 tmp[MAX_CIPHER_BLOCKSIZE]; tmp 90 crypto/cfb.c crypto_cfb_encrypt_one(tfm, iv, tmp); tmp 91 crypto/cfb.c crypto_xor(src, tmp, bsize); tmp 157 crypto/cfb.c u8 tmp[MAX_CIPHER_BLOCKSIZE]; tmp 160 crypto/cfb.c crypto_cfb_encrypt_one(tfm, iv, tmp); tmp 162 crypto/cfb.c crypto_xor(src, tmp, bsize); tmp 67 crypto/cipher.c u8 *tmp = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); tmp 69 crypto/cipher.c memcpy(tmp, src, size); tmp 70 crypto/cipher.c fn(tfm, tmp, tmp); tmp 71 crypto/cipher.c memcpy(dst, tmp, size); tmp 33 crypto/ctr.c u8 tmp[MAX_CIPHER_BLOCKSIZE + MAX_CIPHER_ALIGNMASK]; tmp 34 crypto/ctr.c u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); tmp 81 crypto/ctr.c u8 tmp[MAX_CIPHER_BLOCKSIZE + MAX_CIPHER_ALIGNMASK]; tmp 82 crypto/ctr.c u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); tmp 827 crypto/drbg.c unsigned char *tmp = drbg->scratchpad + drbg_statelen(drbg); tmp 842 crypto/drbg.c ret = drbg_kcapi_hash(drbg, tmp, entropylist); tmp 849 crypto/drbg.c memcpy(outval + len, tmp, blocklen); tmp 854 crypto/drbg.c memset(tmp, 0, drbg_blocklen(drbg)); tmp 603 crypto/ecc.c u64 tmp[2 * ECC_MAX_DIGITS]; tmp 604 crypto/ecc.c u64 *v[2] = { tmp, product }; tmp 676 crypto/ecc.c const u64 *curve_prime, u64 *tmp) tmp 683 crypto/ecc.c vli_set(tmp, &product[3], ndigits); tmp 684 crypto/ecc.c carry = vli_add(result, result, tmp, ndigits); tmp 686 crypto/ecc.c tmp[0] = 0; tmp 687 crypto/ecc.c tmp[1] = product[3]; tmp 688 crypto/ecc.c tmp[2] = product[4]; tmp 689 crypto/ecc.c carry += vli_add(result, result, tmp, ndigits); tmp 691 crypto/ecc.c tmp[0] = tmp[1] = product[5]; tmp 692 crypto/ecc.c tmp[2] = 0; tmp 693 crypto/ecc.c carry += vli_add(result, result, tmp, ndigits); tmp 703 crypto/ecc.c const u64 *curve_prime, u64 *tmp) tmp 712 crypto/ecc.c tmp[0] = 0; tmp 713 crypto/ecc.c tmp[1] = product[5] & 0xffffffff00000000ull; tmp 714 crypto/ecc.c tmp[2] = product[6]; tmp 715 crypto/ecc.c tmp[3] = product[7]; tmp 716 crypto/ecc.c carry = vli_lshift(tmp, tmp, 1, ndigits); tmp 717 crypto/ecc.c carry += vli_add(result, result, tmp, ndigits); tmp 720 crypto/ecc.c tmp[1] = product[6] << 32; tmp 721 crypto/ecc.c tmp[2] = (product[6] >> 32) | (product[7] << 32); tmp 722 crypto/ecc.c tmp[3] = product[7] >> 32; tmp 723 crypto/ecc.c carry += vli_lshift(tmp, tmp, 1, ndigits); tmp 724 crypto/ecc.c carry += vli_add(result, result, tmp, ndigits); tmp 727 crypto/ecc.c tmp[0] = product[4]; tmp 728 crypto/ecc.c tmp[1] = product[5] & 0xffffffff; tmp 729 crypto/ecc.c tmp[2] = 0; tmp 730 crypto/ecc.c tmp[3] = product[7]; tmp 731 crypto/ecc.c carry += vli_add(result, result, tmp, ndigits); tmp 734 crypto/ecc.c tmp[0] = (product[4] >> 32) | (product[5] << 32); tmp 735 crypto/ecc.c tmp[1] = (product[5] >> 32) | (product[6] & 0xffffffff00000000ull); tmp 736 crypto/ecc.c tmp[2] = product[7]; tmp 737 crypto/ecc.c tmp[3] = (product[6] >> 32) | (product[4] << 32); tmp 738 crypto/ecc.c carry += vli_add(result, result, tmp, ndigits); tmp 741 crypto/ecc.c tmp[0] = (product[5] >> 32) | (product[6] << 32); tmp 742 crypto/ecc.c tmp[1] = (product[6] >> 32); tmp 743 crypto/ecc.c tmp[2] = 0; tmp 744 crypto/ecc.c tmp[3] = (product[4] & 0xffffffff) | (product[5] << 32); tmp 745 crypto/ecc.c carry -= vli_sub(result, result, tmp, ndigits); tmp 748 crypto/ecc.c tmp[0] = product[6]; tmp 749 crypto/ecc.c tmp[1] = product[7]; tmp 750 crypto/ecc.c tmp[2] = 0; tmp 751 crypto/ecc.c tmp[3] = (product[4] >> 32) | (product[5] & 0xffffffff00000000ull); tmp 752 crypto/ecc.c carry -= vli_sub(result, result, tmp, ndigits); tmp 755 crypto/ecc.c tmp[0] = (product[6] >> 32) | (product[7] << 32); tmp 756 crypto/ecc.c tmp[1] = (product[7] >> 32) | (product[4] << 32); tmp 757 crypto/ecc.c tmp[2] = (product[4] >> 32) | (product[5] << 32); tmp 758 crypto/ecc.c tmp[3] = (product[6] << 32); tmp 759 crypto/ecc.c carry -= vli_sub(result, result, tmp, ndigits); tmp 762 crypto/ecc.c tmp[0] = product[7]; tmp 763 crypto/ecc.c tmp[1] = product[4] & 0xffffffff00000000ull; tmp 764 crypto/ecc.c tmp[2] = product[5]; tmp 765 crypto/ecc.c tmp[3] = product[6] & 0xffffffff00000000ull; tmp 766 crypto/ecc.c carry -= vli_sub(result, result, tmp, ndigits); tmp 786 crypto/ecc.c u64 tmp[2 * ECC_MAX_DIGITS]; tmp 807 crypto/ecc.c vli_mmod_fast_192(result, product, curve_prime, tmp); tmp 810 crypto/ecc.c vli_mmod_fast_256(result, product, curve_prime, tmp); tmp 122 crypto/ghash-generic.c u8 *tmp = dst + (GHASH_BLOCK_SIZE - dctx->bytes); tmp 125 crypto/ghash-generic.c *tmp++ ^= 0; tmp 95 crypto/jitterentropy-kcapi.c __u64 tmp = 0; tmp 97 crypto/jitterentropy-kcapi.c tmp = random_get_entropy(); tmp 104 crypto/jitterentropy-kcapi.c if (tmp == 0) tmp 105 crypto/jitterentropy-kcapi.c tmp = ktime_get_ns(); tmp 107 crypto/jitterentropy-kcapi.c *out = tmp; tmp 204 crypto/jitterentropy.c __u64 tmp = time << (DATA_SIZE_BITS - i); tmp 206 crypto/jitterentropy.c tmp = tmp >> (DATA_SIZE_BITS - 1); tmp 218 crypto/jitterentropy.c tmp ^= ((new >> 63) & 1); tmp 219 crypto/jitterentropy.c tmp ^= ((new >> 60) & 1); tmp 220 crypto/jitterentropy.c tmp ^= ((new >> 55) & 1); tmp 221 crypto/jitterentropy.c tmp ^= ((new >> 30) & 1); tmp 222 crypto/jitterentropy.c tmp ^= ((new >> 27) & 1); tmp 223 crypto/jitterentropy.c tmp ^= ((new >> 22) & 1); tmp 225 crypto/jitterentropy.c new ^= tmp; tmp 75 crypto/lrw.c be128 tmp = { 0 }; tmp 97 crypto/lrw.c setbit128_bbe(&tmp, i); tmp 98 crypto/lrw.c ctx->mulinc[i] = tmp; tmp 59 crypto/scatterwalk.c struct scatterlist tmp[2]; tmp 64 crypto/scatterwalk.c sg = scatterwalk_ffwd(tmp, sg, start); tmp 183 crypto/skcipher.c struct skcipher_walk_buffer *p, *tmp; tmp 185 crypto/skcipher.c list_for_each_entry_safe(p, tmp, &walk->buffers, entry) { tmp 288 crypto/skcipher.c u8 *tmp = walk->page; tmp 291 crypto/skcipher.c memcpy(tmp, walk->src.virt.addr, walk->nbytes); tmp 294 crypto/skcipher.c walk->src.virt.addr = tmp; tmp 295 crypto/skcipher.c walk->dst.virt.addr = tmp; tmp 57 crypto/sm3_generic.c unsigned int tmp; tmp 64 crypto/sm3_generic.c tmp = w[i - 16] ^ w[i - 9] ^ rol32(w[i - 3], 15); tmp 65 crypto/sm3_generic.c w[i] = p1(tmp) ^ (rol32(w[i - 13], 7)) ^ w[i - 6]; tmp 470 crypto/twofish_common.c tmp = poly_to_exp[key[i] - 1]; \ tmp 471 crypto/twofish_common.c (a) ^= exp_to_poly[tmp + (w)]; \ tmp 472 crypto/twofish_common.c (b) ^= exp_to_poly[tmp + (x)]; \ tmp 473 crypto/twofish_common.c (c) ^= exp_to_poly[tmp + (y)]; \ tmp 474 crypto/twofish_common.c (d) ^= exp_to_poly[tmp + (z)]; \ tmp 583 crypto/twofish_common.c u8 tmp; tmp 141 drivers/acpi/acpi_extlog.c struct acpi_hest_generic_status *estatus, *tmp; tmp 156 drivers/acpi/acpi_extlog.c tmp = (struct acpi_hest_generic_status *)elog_buf; tmp 159 drivers/acpi/acpi_extlog.c print_extlog_rcd(NULL, tmp, cpu); tmp 165 drivers/acpi/acpi_extlog.c gdata = (struct acpi_hest_generic_data *)(tmp + 1); tmp 88 drivers/acpi/acpi_pad.c cpumask_var_t tmp; tmp 93 drivers/acpi/acpi_pad.c if (!alloc_cpumask_var(&tmp, GFP_KERNEL)) tmp 97 drivers/acpi/acpi_pad.c cpumask_clear(tmp); tmp 99 drivers/acpi/acpi_pad.c cpumask_or(tmp, tmp, topology_sibling_cpumask(cpu)); tmp 100 drivers/acpi/acpi_pad.c cpumask_andnot(tmp, cpu_online_mask, tmp); tmp 102 drivers/acpi/acpi_pad.c if (cpumask_empty(tmp)) tmp 103 drivers/acpi/acpi_pad.c cpumask_andnot(tmp, cpu_online_mask, pad_busy_cpus); tmp 104 drivers/acpi/acpi_pad.c if (cpumask_empty(tmp)) { tmp 106 drivers/acpi/acpi_pad.c free_cpumask_var(tmp); tmp 109 drivers/acpi/acpi_pad.c for_each_cpu(cpu, tmp) { tmp 125 drivers/acpi/acpi_pad.c free_cpumask_var(tmp); tmp 104 drivers/acpi/arm64/iort.c struct iort_fwnode *curr, *tmp; tmp 107 drivers/acpi/arm64/iort.c list_for_each_entry_safe(curr, tmp, &iort_fwnode_list, list) { tmp 759 drivers/acpi/battery.c struct acpi_battery_hook *hook_node, *tmp; tmp 771 drivers/acpi/battery.c list_for_each_entry_safe(hook_node, tmp, &battery_hook_list, list) { tmp 788 drivers/acpi/ec.c unsigned long tmp; tmp 792 drivers/acpi/ec.c spin_lock_irqsave(&ec->lock, tmp); tmp 803 drivers/acpi/ec.c spin_unlock_irqrestore(&ec->lock, tmp); tmp 807 drivers/acpi/ec.c spin_lock_irqsave(&ec->lock, tmp); tmp 816 drivers/acpi/ec.c spin_unlock_irqrestore(&ec->lock, tmp); tmp 1109 drivers/acpi/ec.c struct acpi_ec_query_handler *handler, *tmp; tmp 1113 drivers/acpi/ec.c list_for_each_entry_safe(handler, tmp, &ec->list, node) { tmp 1120 drivers/acpi/ec.c list_for_each_entry_safe(handler, tmp, &free_list, node) tmp 1377 drivers/acpi/ec.c unsigned long long tmp = 0; tmp 1399 drivers/acpi/ec.c status = acpi_evaluate_integer(handle, "_GPE", NULL, &tmp); tmp 1402 drivers/acpi/ec.c ec->gpe = tmp; tmp 1405 drivers/acpi/ec.c tmp = 0; tmp 1406 drivers/acpi/ec.c acpi_evaluate_integer(handle, "_GLK", NULL, &tmp); tmp 1407 drivers/acpi/ec.c ec->global_lock = tmp; tmp 72 drivers/acpi/glue.c struct acpi_bus_type *tmp, *ret = NULL; tmp 75 drivers/acpi/glue.c list_for_each_entry(tmp, &bus_type_list, list) { tmp 76 drivers/acpi/glue.c if (tmp->match(dev)) { tmp 77 drivers/acpi/glue.c ret = tmp; tmp 214 drivers/acpi/ioapic.c struct acpi_pci_ioapic *ioapic, *tmp; tmp 217 drivers/acpi/ioapic.c list_for_each_entry_safe(ioapic, tmp, &ioapic_list, list) { tmp 232 drivers/acpi/ioapic.c struct acpi_pci_ioapic *ioapic, *tmp; tmp 235 drivers/acpi/ioapic.c list_for_each_entry_safe(ioapic, tmp, &ioapic_list, list) { tmp 274 drivers/acpi/pci_root.c struct acpi_handle_node *node, *tmp; tmp 334 drivers/acpi/pci_root.c list_for_each_entry_safe(node, tmp, &device_list, node) tmp 681 drivers/acpi/pci_root.c struct resource_entry *tmp, *entry, *entry2; tmp 687 drivers/acpi/pci_root.c resource_list_for_each_entry_safe(entry, tmp, &list) { tmp 774 drivers/acpi/pci_root.c struct resource_entry *entry, *tmp; tmp 788 drivers/acpi/pci_root.c resource_list_for_each_entry_safe(entry, tmp, list) { tmp 809 drivers/acpi/pci_root.c struct resource_entry *entry, *tmp; tmp 812 drivers/acpi/pci_root.c resource_list_for_each_entry_safe(entry, tmp, &info->resources) { tmp 841 drivers/acpi/pci_root.c struct resource_entry *entry, *tmp; tmp 846 drivers/acpi/pci_root.c resource_list_for_each_entry_safe(entry, tmp, &info->resources) { tmp 147 drivers/acpi/pci_slot.c struct acpi_pci_slot *slot, *tmp; tmp 150 drivers/acpi/pci_slot.c list_for_each_entry_safe(slot, tmp, &slot_list, list) { tmp 1170 drivers/acpi/processor_idle.c struct acpi_lpi_states_array info[2], *tmp, *prev, *curr; tmp 1206 drivers/acpi/processor_idle.c tmp = prev, prev = curr, curr = tmp; tmp 28 drivers/acpi/processor_pdc.c unsigned long long tmp; tmp 44 drivers/acpi/processor_pdc.c status = acpi_evaluate_integer(handle, "_UID", NULL, &tmp); tmp 47 drivers/acpi/processor_pdc.c acpi_id = tmp; tmp 451 drivers/acpi/property.c struct acpi_device_properties *props, *tmp; tmp 457 drivers/acpi/property.c list_for_each_entry_safe(props, tmp, &adev->data.properties, list) { tmp 748 drivers/acpi/scan.c acpi_handle tmp; tmp 752 drivers/acpi/scan.c status = acpi_get_handle(handle, "_EJD", &tmp); tmp 1228 drivers/acpi/scan.c acpi_handle tmp; tmp 1230 drivers/acpi/scan.c if (ACPI_SUCCESS(acpi_get_handle(NULL, "\\_SB", &tmp)) && tmp 1231 drivers/acpi/scan.c tmp == handle) tmp 1233 drivers/acpi/scan.c if (ACPI_SUCCESS(acpi_get_handle(NULL, "\\_TZ", &tmp)) && tmp 1234 drivers/acpi/scan.c tmp == handle) tmp 1327 drivers/acpi/scan.c struct acpi_hardware_id *id, *tmp; tmp 1329 drivers/acpi/scan.c list_for_each_entry_safe(id, tmp, &pnp->ids, list) { tmp 2024 drivers/acpi/scan.c struct acpi_dep_data *dep, *tmp; tmp 2028 drivers/acpi/scan.c list_for_each_entry_safe(dep, tmp, &acpi_dep_list, node) { tmp 589 drivers/acpi/sysfs.c struct event_counter *tmp = all_counters; tmp 592 drivers/acpi/sysfs.c kfree(tmp); tmp 741 drivers/acpi/sysfs.c unsigned long tmp; tmp 778 drivers/acpi/sysfs.c else if (!kstrtoul(buf, 0, &tmp)) tmp 779 drivers/acpi/sysfs.c all_counters[index].count = tmp; tmp 793 drivers/acpi/sysfs.c else if (!kstrtoul(buf, 0, &tmp)) tmp 794 drivers/acpi/sysfs.c all_counters[index].count = tmp; tmp 186 drivers/acpi/thermal.c unsigned long long tmp; tmp 193 drivers/acpi/thermal.c status = acpi_evaluate_integer(tz->device->handle, "_TMP", NULL, &tmp); tmp 197 drivers/acpi/thermal.c tz->temperature = tmp; tmp 207 drivers/acpi/thermal.c unsigned long long tmp; tmp 212 drivers/acpi/thermal.c status = acpi_evaluate_integer(tz->device->handle, "_TZP", NULL, &tmp); tmp 216 drivers/acpi/thermal.c tz->polling_frequency = tmp; tmp 266 drivers/acpi/thermal.c unsigned long long tmp; tmp 274 drivers/acpi/thermal.c "_CRT", NULL, &tmp); tmp 275 drivers/acpi/thermal.c tz->trips.critical.temperature = tmp; tmp 286 drivers/acpi/thermal.c } else if (tmp <= 2732) { tmp 288 drivers/acpi/thermal.c tmp); tmp 315 drivers/acpi/thermal.c "_HOT", NULL, &tmp); tmp 321 drivers/acpi/thermal.c tz->trips.hot.temperature = tmp; tmp 336 drivers/acpi/thermal.c tmp = CELSIUS_TO_DECI_KELVIN(psv); tmp 340 drivers/acpi/thermal.c "_PSV", NULL, &tmp); tmp 346 drivers/acpi/thermal.c tz->trips.passive.temperature = tmp; tmp 351 drivers/acpi/thermal.c NULL, &tmp); tmp 355 drivers/acpi/thermal.c tz->trips.passive.tc1 = tmp; tmp 358 drivers/acpi/thermal.c NULL, &tmp); tmp 362 drivers/acpi/thermal.c tz->trips.passive.tc2 = tmp; tmp 365 drivers/acpi/thermal.c NULL, &tmp); tmp 369 drivers/acpi/thermal.c tz->trips.passive.tsp = tmp; tmp 407 drivers/acpi/thermal.c name, NULL, &tmp); tmp 429 drivers/acpi/thermal.c tz->trips.active[i].temperature = tmp; tmp 540 drivers/acpi/utils.c acpi_handle tmp; tmp 542 drivers/acpi/utils.c return ACPI_SUCCESS(acpi_get_handle(handle, name, &tmp)); tmp 371 drivers/amba/bus.c void __iomem *tmp; tmp 390 drivers/amba/bus.c tmp = ioremap(dev->res.start, size); tmp 391 drivers/amba/bus.c if (!tmp) { tmp 398 drivers/amba/bus.c iounmap(tmp); tmp 426 drivers/amba/bus.c pid |= (readl(tmp + size - 0x20 + 4 * i) & 255) << tmp 429 drivers/amba/bus.c cid |= (readl(tmp + size - 0x10 + 4 * i) & 255) << tmp 434 drivers/amba/bus.c void __iomem *csbase = tmp + size - 4096; tmp 453 drivers/amba/bus.c iounmap(tmp); tmp 480 drivers/amba/bus.c iounmap(tmp); tmp 510 drivers/amba/bus.c struct deferred_device *ddev, *tmp; tmp 514 drivers/amba/bus.c list_for_each_entry_safe(ddev, tmp, &deferred_devices, node) { tmp 1911 drivers/android/binder.c struct binder_txn_fd_fixup *fixup, *tmp; tmp 1913 drivers/android/binder.c list_for_each_entry_safe(fixup, tmp, &t->fd_fixups, fixup_entry) { tmp 3019 drivers/android/binder.c struct binder_transaction *tmp; tmp 3021 drivers/android/binder.c tmp = thread->transaction_stack; tmp 3022 drivers/android/binder.c if (tmp->to_thread != thread) { tmp 3023 drivers/android/binder.c spin_lock(&tmp->lock); tmp 3025 drivers/android/binder.c proc->pid, thread->pid, tmp->debug_id, tmp 3026 drivers/android/binder.c tmp->to_proc ? tmp->to_proc->pid : 0, tmp 3027 drivers/android/binder.c tmp->to_thread ? tmp 3028 drivers/android/binder.c tmp->to_thread->pid : 0); tmp 3029 drivers/android/binder.c spin_unlock(&tmp->lock); tmp 3036 drivers/android/binder.c while (tmp) { tmp 3039 drivers/android/binder.c spin_lock(&tmp->lock); tmp 3040 drivers/android/binder.c from = tmp->from; tmp 3044 drivers/android/binder.c spin_unlock(&tmp->lock); tmp 3047 drivers/android/binder.c spin_unlock(&tmp->lock); tmp 3048 drivers/android/binder.c tmp = tmp->from_parent; tmp 4127 drivers/android/binder.c struct binder_txn_fd_fixup *fixup, *tmp; tmp 4153 drivers/android/binder.c list_for_each_entry_safe(fixup, tmp, &t->fd_fixups, fixup_entry) { tmp 6111 drivers/android/binder.c struct hlist_node *tmp; tmp 6181 drivers/android/binder.c hlist_for_each_entry_safe(device, tmp, &binder_devices, hlist) { tmp 646 drivers/ata/ahci.c u32 tmp; tmp 659 drivers/ata/ahci.c tmp = readl(port_mmio + PORT_IRQ_STAT); tmp 660 drivers/ata/ahci.c VPRINTK("PORT_IRQ_STAT 0x%x\n", tmp); tmp 661 drivers/ata/ahci.c if (tmp) tmp 662 drivers/ata/ahci.c writel(tmp, port_mmio + PORT_IRQ_STAT); tmp 125 drivers/ata/ahci_ceva.c u32 tmp; tmp 129 drivers/ata/ahci_ceva.c tmp = readl(mmio + HOST_CTL); tmp 130 drivers/ata/ahci_ceva.c tmp |= HOST_AHCI_EN; tmp 131 drivers/ata/ahci_ceva.c writel(tmp, mmio + HOST_CTL); tmp 135 drivers/ata/ahci_ceva.c tmp = PCFG_TPSS_VAL | PCFG_TPRS_VAL | (PCFG_PAD_VAL + i); tmp 136 drivers/ata/ahci_ceva.c writel(tmp, mmio + AHCI_VEND_PCFG); tmp 144 drivers/ata/ahci_ceva.c tmp = PAXIC_ADBW_BW64 | PAXIC_MAWIDD(i) | PAXIC_MARIDD(i) | tmp 146 drivers/ata/ahci_ceva.c writel(tmp, mmio + AHCI_VEND_PAXIC); tmp 150 drivers/ata/ahci_ceva.c tmp = readl(mmio + AHCI_VEND_AXICC); tmp 151 drivers/ata/ahci_ceva.c tmp |= AXICC_ARCA_VAL | AXICC_ARCF_VAL | tmp 155 drivers/ata/ahci_ceva.c writel(tmp, mmio + AHCI_VEND_AXICC); tmp 159 drivers/ata/ahci_ceva.c tmp = PPCFG_TTA | PPCFG_PSS_EN | PPCFG_ESDF_EN; tmp 160 drivers/ata/ahci_ceva.c writel(tmp, mmio + AHCI_VEND_PPCFG); tmp 175 drivers/ata/ahci_ceva.c tmp = rx_watermark | PTC_RSVD; tmp 176 drivers/ata/ahci_ceva.c writel(tmp, mmio + AHCI_VEND_PTC); tmp 179 drivers/ata/ahci_ceva.c tmp = PORT_SCTL_SPD_GEN3 | PORT_SCTL_IPM; tmp 181 drivers/ata/ahci_ceva.c tmp = PORT_SCTL_SPD_GEN1 | PORT_SCTL_IPM; tmp 182 drivers/ata/ahci_ceva.c writel(tmp, mmio + PORT_SCR_CTL + PORT_BASE + PORT_OFFSET * i); tmp 122 drivers/ata/ahci_mvebu.c u32 tmp, port_fbs; tmp 124 drivers/ata/ahci_mvebu.c tmp = readl(port_mmio + PORT_CMD); tmp 127 drivers/ata/ahci_mvebu.c if ((tmp & (PORT_CMD_START | PORT_CMD_LIST_ON)) == 0) tmp 134 drivers/ata/ahci_mvebu.c tmp &= ~PORT_CMD_START; tmp 135 drivers/ata/ahci_mvebu.c writel(tmp, port_mmio + PORT_CMD); tmp 145 drivers/ata/ahci_mvebu.c tmp = ata_wait_register(ap, port_mmio + PORT_CMD, tmp 147 drivers/ata/ahci_mvebu.c if (tmp & PORT_CMD_LIST_ON) tmp 118 drivers/ata/ahci_xgene.c unsigned int tmp; tmp 120 drivers/ata/ahci_xgene.c tmp = ioread32(reg); tmp 123 drivers/ata/ahci_xgene.c while (tmp != val && time_before(jiffies, deadline)) { tmp 125 drivers/ata/ahci_xgene.c tmp = ioread32(reg); tmp 128 drivers/ata/ahci_xgene.c return tmp; tmp 1274 drivers/ata/ata_piix.c u32 tmp; tmp 1289 drivers/ata/ata_piix.c tmp = ioread32(mmio + AHCI_GLOBAL_CTL); tmp 1290 drivers/ata/ata_piix.c if (tmp & AHCI_ENABLE) { tmp 1291 drivers/ata/ata_piix.c tmp &= ~AHCI_ENABLE; tmp 1292 drivers/ata/ata_piix.c iowrite32(tmp, mmio + AHCI_GLOBAL_CTL); tmp 1294 drivers/ata/ata_piix.c tmp = ioread32(mmio + AHCI_GLOBAL_CTL); tmp 1295 drivers/ata/ata_piix.c if (tmp & AHCI_ENABLE) tmp 191 drivers/ata/libahci.c u32 tmp; tmp 194 drivers/ata/libahci.c tmp = readl(mmio + HOST_CTL); tmp 195 drivers/ata/libahci.c if (tmp & HOST_AHCI_EN) tmp 202 drivers/ata/libahci.c tmp |= HOST_AHCI_EN; tmp 203 drivers/ata/libahci.c writel(tmp, mmio + HOST_CTL); tmp 204 drivers/ata/libahci.c tmp = readl(mmio + HOST_CTL); /* flush && sanity check */ tmp 205 drivers/ata/libahci.c if (tmp & HOST_AHCI_EN) tmp 620 drivers/ata/libahci.c u32 tmp; tmp 623 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_CMD); tmp 624 drivers/ata/libahci.c tmp |= PORT_CMD_START; tmp 625 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_CMD); tmp 634 drivers/ata/libahci.c u32 tmp; tmp 649 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_CMD); tmp 652 drivers/ata/libahci.c if ((tmp & (PORT_CMD_START | PORT_CMD_LIST_ON)) == 0) tmp 660 drivers/ata/libahci.c if (tmp == 0xffffffff) { tmp 666 drivers/ata/libahci.c tmp &= ~PORT_CMD_START; tmp 667 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_CMD); tmp 670 drivers/ata/libahci.c tmp = ata_wait_register(ap, port_mmio + PORT_CMD, tmp 672 drivers/ata/libahci.c if (tmp & PORT_CMD_LIST_ON) tmp 684 drivers/ata/libahci.c u32 tmp; tmp 698 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_CMD); tmp 699 drivers/ata/libahci.c tmp |= PORT_CMD_FIS_RX; tmp 700 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_CMD); tmp 710 drivers/ata/libahci.c u32 tmp; tmp 713 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_CMD); tmp 714 drivers/ata/libahci.c tmp &= ~PORT_CMD_FIS_RX; tmp 715 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_CMD); tmp 718 drivers/ata/libahci.c tmp = ata_wait_register(ap, port_mmio + PORT_CMD, PORT_CMD_FIS_ON, tmp 720 drivers/ata/libahci.c if (tmp & PORT_CMD_FIS_ON) tmp 913 drivers/ata/libahci.c u32 tmp; tmp 922 drivers/ata/libahci.c tmp = readl(mmio + HOST_CTL); tmp 923 drivers/ata/libahci.c if ((tmp & HOST_RESET) == 0) { tmp 924 drivers/ata/libahci.c writel(tmp | HOST_RESET, mmio + HOST_CTL); tmp 934 drivers/ata/libahci.c tmp = ata_wait_register(NULL, mmio + HOST_CTL, HOST_RESET, tmp 937 drivers/ata/libahci.c if (tmp & HOST_RESET) { tmp 939 drivers/ata/libahci.c tmp); tmp 1204 drivers/ata/libahci.c u32 tmp; tmp 1212 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_SCR_ERR); tmp 1213 drivers/ata/libahci.c VPRINTK("PORT_SCR_ERR 0x%x\n", tmp); tmp 1214 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_SCR_ERR); tmp 1217 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_IRQ_STAT); tmp 1218 drivers/ata/libahci.c VPRINTK("PORT_IRQ_STAT 0x%x\n", tmp); tmp 1219 drivers/ata/libahci.c if (tmp) tmp 1220 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_IRQ_STAT); tmp 1225 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_CMD); tmp 1226 drivers/ata/libahci.c if ((tmp & PORT_CMD_ESP) && (hpriv->cap & HOST_CAP_SXS)) tmp 1236 drivers/ata/libahci.c u32 tmp; tmp 1248 drivers/ata/libahci.c tmp = readl(mmio + HOST_CTL); tmp 1249 drivers/ata/libahci.c VPRINTK("HOST_CTL 0x%x\n", tmp); tmp 1250 drivers/ata/libahci.c writel(tmp | HOST_IRQ_EN, mmio + HOST_CTL); tmp 1251 drivers/ata/libahci.c tmp = readl(mmio + HOST_CTL); tmp 1252 drivers/ata/libahci.c VPRINTK("HOST_CTL 0x%x\n", tmp); tmp 1271 drivers/ata/libahci.c u32 tmp; tmp 1273 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_SIG); tmp 1274 drivers/ata/libahci.c tf.lbah = (tmp >> 24) & 0xff; tmp 1275 drivers/ata/libahci.c tf.lbam = (tmp >> 16) & 0xff; tmp 1276 drivers/ata/libahci.c tf.lbal = (tmp >> 8) & 0xff; tmp 1277 drivers/ata/libahci.c tf.nsect = (tmp) & 0xff; tmp 1302 drivers/ata/libahci.c u32 tmp; tmp 1325 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_CMD); tmp 1326 drivers/ata/libahci.c tmp |= PORT_CMD_CLO; tmp 1327 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_CMD); tmp 1330 drivers/ata/libahci.c tmp = ata_wait_register(ap, port_mmio + PORT_CMD, tmp 1332 drivers/ata/libahci.c if (tmp & PORT_CMD_CLO) tmp 1350 drivers/ata/libahci.c u32 tmp; tmp 1358 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_FBS); tmp 1359 drivers/ata/libahci.c tmp &= ~(PORT_FBS_DEV_MASK | PORT_FBS_DEC); tmp 1360 drivers/ata/libahci.c tmp |= pmp << PORT_FBS_DEV_OFFSET; tmp 1361 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_FBS); tmp 1369 drivers/ata/libahci.c tmp = ata_wait_register(ap, port_mmio + PORT_CMD_ISSUE, tmp 1371 drivers/ata/libahci.c if (tmp & 0x1) { tmp 1577 drivers/ata/libahci.c u32 new_tmp, tmp; tmp 1582 drivers/ata/libahci.c new_tmp = tmp = readl(port_mmio + PORT_CMD); tmp 1587 drivers/ata/libahci.c if (new_tmp != tmp) { tmp 2053 drivers/ata/libahci.c u32 tmp; tmp 2057 drivers/ata/libahci.c tmp = readl(port_mmio + PORT_IRQ_STAT); tmp 2058 drivers/ata/libahci.c writel(tmp, port_mmio + PORT_IRQ_STAT); tmp 2985 drivers/ata/libata-core.c u32 sstatus, scontrol, tmp; tmp 2992 drivers/ata/libata-core.c tmp = (sstatus >> 4) & 0xf; tmp 2994 drivers/ata/libata-core.c sata_spd_string(tmp), sstatus, scontrol); tmp 3710 drivers/ata/libata-core.c int ready, tmp; tmp 3712 drivers/ata/libata-core.c ready = tmp = check_ready(link); tmp 3745 drivers/ata/libata-core.c "(ready=%d)\n", tmp); tmp 6788 drivers/ata/libata-core.c unsigned long tmp = 0; tmp 6794 drivers/ata/libata-core.c tmp = tmp8; tmp 6800 drivers/ata/libata-core.c tmp = tmp16; tmp 6806 drivers/ata/libata-core.c tmp = tmp32; tmp 6814 drivers/ata/libata-core.c tmp &= bits->mask; tmp 6816 drivers/ata/libata-core.c return (tmp == bits->val) ? 1 : 0; tmp 7179 drivers/ata/libata-core.c u32 tmp; tmp 7181 drivers/ata/libata-core.c tmp = ioread32(reg); tmp 7189 drivers/ata/libata-core.c while ((tmp & mask) == val && time_before(jiffies, deadline)) { tmp 7191 drivers/ata/libata-core.c tmp = ioread32(reg); tmp 7194 drivers/ata/libata-core.c return tmp; tmp 582 drivers/ata/libata-eh.c struct scsi_cmnd *scmd, *tmp; tmp 597 drivers/ata/libata-eh.c list_for_each_entry_safe(scmd, tmp, eh_work_q, eh_entry) { tmp 1753 drivers/ata/libata-eh.c unsigned int tmp, action = 0; tmp 1789 drivers/ata/libata-eh.c tmp = atapi_eh_request_sense(qc->dev, tmp 1792 drivers/ata/libata-eh.c if (!tmp) tmp 1795 drivers/ata/libata-eh.c qc->err_mask |= tmp; tmp 2735 drivers/ata/libata-eh.c int tmp; tmp 2737 drivers/ata/libata-eh.c tmp = prereset(slave, deadline); tmp 2738 drivers/ata/libata-eh.c if (tmp != -ENOENT) tmp 2739 drivers/ata/libata-eh.c rc = tmp; tmp 2803 drivers/ata/libata-eh.c int tmp; tmp 2809 drivers/ata/libata-eh.c tmp = ata_do_reset(slave, reset, classes, deadline, tmp 2811 drivers/ata/libata-eh.c switch (tmp) { tmp 2818 drivers/ata/libata-eh.c rc = tmp; tmp 3826 drivers/ata/libata-eh.c unsigned long tmp; tmp 3834 drivers/ata/libata-eh.c tmp = dev->unpark_deadline; tmp 3835 drivers/ata/libata-eh.c if (time_before(deadline, tmp)) tmp 3836 drivers/ata/libata-eh.c deadline = tmp; tmp 3837 drivers/ata/libata-eh.c else if (time_before_eq(tmp, jiffies)) tmp 304 drivers/ata/libata-sff.c u8 tmp; tmp 307 drivers/ata/libata-sff.c tmp = ATA_DEVICE_OBS; tmp 309 drivers/ata/libata-sff.c tmp = ATA_DEVICE_OBS | ATA_DEV1; tmp 311 drivers/ata/libata-sff.c iowrite8(tmp, ap->ioaddr.device_addr); tmp 433 drivers/ata/pata_ali.c u8 tmp; tmp 442 drivers/ata/pata_ali.c pci_read_config_byte(pdev, 0x53, &tmp); tmp 443 drivers/ata/pata_ali.c tmp |= 0x03; tmp 444 drivers/ata/pata_ali.c pci_write_config_byte(pdev, 0x53, tmp); tmp 446 drivers/ata/pata_ali.c pci_read_config_byte(pdev, 0x4a, &tmp); tmp 447 drivers/ata/pata_ali.c pci_write_config_byte(pdev, 0x4a, tmp | 0x20); tmp 448 drivers/ata/pata_ali.c pci_read_config_byte(pdev, 0x4B, &tmp); tmp 452 drivers/ata/pata_ali.c tmp &= 0x7F; tmp 455 drivers/ata/pata_ali.c tmp |= 0x01; tmp 456 drivers/ata/pata_ali.c pci_write_config_byte(pdev, 0x4B, tmp | 0x08); tmp 462 drivers/ata/pata_ali.c pci_read_config_byte(pdev, 0x53, &tmp); tmp 464 drivers/ata/pata_ali.c tmp |= 0x03; tmp 466 drivers/ata/pata_ali.c tmp |= 0x01; /* CD_ROM enable for DMA */ tmp 467 drivers/ata/pata_ali.c pci_write_config_byte(pdev, 0x53, tmp); tmp 474 drivers/ata/pata_ali.c pci_read_config_byte(ali_isa_bridge, 0x79, &tmp); tmp 476 drivers/ata/pata_ali.c pci_write_config_byte(ali_isa_bridge, 0x79, tmp | 0x04); tmp 478 drivers/ata/pata_ali.c pci_write_config_byte(ali_isa_bridge, 0x79, tmp | 0x02); tmp 553 drivers/ata/pata_ali.c u8 tmp; tmp 582 drivers/ata/pata_ali.c pci_read_config_byte(ali_isa_bridge, 0x5E, &tmp); tmp 583 drivers/ata/pata_ali.c if ((tmp & 0x1E) == 0x12) tmp 78 drivers/ata/pata_artop.c u8 tmp; tmp 79 drivers/ata/pata_artop.c pci_read_config_byte(pdev, 0x49, &tmp); tmp 80 drivers/ata/pata_artop.c if (tmp & (1 << ap->port_no)) tmp 63 drivers/ata/pata_efar.c u8 tmp; tmp 65 drivers/ata/pata_efar.c pci_read_config_byte(pdev, 0x47, &tmp); tmp 66 drivers/ata/pata_efar.c if (tmp & (2 >> ap->port_no)) tmp 460 drivers/ata/pata_ep93xx.c u8 tmp = ATA_DEVICE_OBS; tmp 463 drivers/ata/pata_ep93xx.c tmp |= ATA_DEV1; tmp 465 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, tmp, IDECTRL_ADDR_DEVICE); tmp 57 drivers/ata/pata_it8213.c u8 tmp; tmp 58 drivers/ata/pata_it8213.c pci_read_config_byte(pdev, 0x42, &tmp); tmp 59 drivers/ata/pata_it8213.c if (tmp & 2) /* The initial docs are incorrect */ tmp 229 drivers/ata/pata_ns87415.c u8 tmp; tmp 232 drivers/ata/pata_ns87415.c tmp = ioread8(port); tmp 233 drivers/ata/pata_ns87415.c if (tmp != 0) tmp 234 drivers/ata/pata_ns87415.c return tmp; tmp 237 drivers/ata/pata_ns87415.c return tmp; tmp 299 drivers/ata/pata_samsung_cf.c u8 tmp = ATA_DEVICE_OBS; tmp 302 drivers/ata/pata_samsung_cf.c tmp |= ATA_DEV1; tmp 304 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tmp, ap->ioaddr.device_addr); tmp 126 drivers/ata/pata_sis.c u16 tmp; tmp 129 drivers/ata/pata_sis.c pci_read_config_word(pdev, 0x50 + 2 * ap->port_no, &tmp); tmp 130 drivers/ata/pata_sis.c if ((tmp & 0x8000) && !sis_short_ata40(pdev)) tmp 146 drivers/ata/pata_sis.c u8 tmp; tmp 149 drivers/ata/pata_sis.c pci_read_config_byte(pdev, 0x48, &tmp); tmp 150 drivers/ata/pata_sis.c tmp >>= ap->port_no; tmp 151 drivers/ata/pata_sis.c if ((tmp & 0x10) && !sis_short_ata40(pdev)) tmp 260 drivers/ata/sata_highbank.c u32 tmp; tmp 263 drivers/ata/sata_highbank.c tmp = combo_phy_read(sata_port, CPHY_RX_INPUT_STS + lane * SPHY_LANE); tmp 264 drivers/ata/sata_highbank.c tmp &= ~CPHY_SATA_RX_OVERRIDE; tmp 265 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_RX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 271 drivers/ata/sata_highbank.c u32 tmp; tmp 276 drivers/ata/sata_highbank.c tmp = combo_phy_read(sata_port, CPHY_TX_INPUT_STS + lane * SPHY_LANE); tmp 277 drivers/ata/sata_highbank.c tmp &= ~CPHY_SATA_TX_OVERRIDE; tmp 278 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_TX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 280 drivers/ata/sata_highbank.c tmp |= CPHY_SATA_TX_OVERRIDE; tmp 281 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_TX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 283 drivers/ata/sata_highbank.c tmp |= (val << CPHY_SATA_TX_ATTEN_SHIFT) & CPHY_SATA_TX_ATTEN; tmp 284 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_TX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 290 drivers/ata/sata_highbank.c u32 tmp; tmp 291 drivers/ata/sata_highbank.c tmp = combo_phy_read(sata_port, CPHY_RX_INPUT_STS + lane * SPHY_LANE); tmp 292 drivers/ata/sata_highbank.c tmp &= ~CPHY_SATA_RX_OVERRIDE; tmp 293 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_RX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 295 drivers/ata/sata_highbank.c tmp |= CPHY_SATA_RX_OVERRIDE; tmp 296 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_RX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 298 drivers/ata/sata_highbank.c tmp &= ~CPHY_SATA_DPLL_MODE; tmp 299 drivers/ata/sata_highbank.c tmp |= val << CPHY_SATA_DPLL_SHIFT; tmp 300 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_RX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 302 drivers/ata/sata_highbank.c tmp |= CPHY_SATA_DPLL_RESET; tmp 303 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_RX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 305 drivers/ata/sata_highbank.c tmp &= ~CPHY_SATA_DPLL_RESET; tmp 306 drivers/ata/sata_highbank.c combo_phy_write(sata_port, CPHY_RX_OVERRIDE + lane * SPHY_LANE, tmp); tmp 314 drivers/ata/sata_highbank.c u32 tmp, k = 0; tmp 319 drivers/ata/sata_highbank.c tmp = combo_phy_read(sata_port, CPHY_RX_INPUT_STS + tmp 321 drivers/ata/sata_highbank.c } while ((tmp & SPHY_HALF_RATE) && (k++ < 1000)); tmp 337 drivers/ata/sata_highbank.c u32 tmp; tmp 356 drivers/ata/sata_highbank.c of_property_read_u32(phy_nodes[phy], "phydev", &tmp); tmp 357 drivers/ata/sata_highbank.c port_data[port].phy_devs = tmp; tmp 1824 drivers/ata/sata_mv.c u16 tmp = data | (addr << CRQB_CMD_ADDR_SHIFT) | CRQB_CMD_CS | tmp 1826 drivers/ata/sata_mv.c *cmdw = cpu_to_le16(tmp); tmp 3089 drivers/ata/sata_mv.c u32 tmp = readl(mmio + MV_PCI_EXP_ROM_BAR_CTL); tmp 3090 drivers/ata/sata_mv.c tmp |= (1 << 0); tmp 3091 drivers/ata/sata_mv.c writel(tmp, mmio + MV_PCI_EXP_ROM_BAR_CTL); tmp 3106 drivers/ata/sata_mv.c u32 tmp; tmp 3108 drivers/ata/sata_mv.c tmp = readl(phy_mmio + MV5_PHY_MODE); tmp 3110 drivers/ata/sata_mv.c hpriv->signal[idx].pre = tmp & 0x1800; /* bits 12:11 */ tmp 3111 drivers/ata/sata_mv.c hpriv->signal[idx].amps = tmp & 0xe0; /* bits 7:5 */ tmp 3116 drivers/ata/sata_mv.c u32 tmp; tmp 3122 drivers/ata/sata_mv.c tmp = readl(mmio + MV_PCI_EXP_ROM_BAR_CTL); tmp 3123 drivers/ata/sata_mv.c tmp |= ~(1 << 0); tmp 3124 drivers/ata/sata_mv.c writel(tmp, mmio + MV_PCI_EXP_ROM_BAR_CTL); tmp 3132 drivers/ata/sata_mv.c u32 tmp; tmp 3136 drivers/ata/sata_mv.c tmp = readl(phy_mmio + MV5_LTMODE); tmp 3137 drivers/ata/sata_mv.c tmp |= (1 << 19); tmp 3138 drivers/ata/sata_mv.c writel(tmp, phy_mmio + MV5_LTMODE); tmp 3140 drivers/ata/sata_mv.c tmp = readl(phy_mmio + MV5_PHY_CTL); tmp 3141 drivers/ata/sata_mv.c tmp &= ~0x3; tmp 3142 drivers/ata/sata_mv.c tmp |= 0x1; tmp 3143 drivers/ata/sata_mv.c writel(tmp, phy_mmio + MV5_PHY_CTL); tmp 3146 drivers/ata/sata_mv.c tmp = readl(phy_mmio + MV5_PHY_MODE); tmp 3147 drivers/ata/sata_mv.c tmp &= ~mask; tmp 3148 drivers/ata/sata_mv.c tmp |= hpriv->signal[port].pre; tmp 3149 drivers/ata/sata_mv.c tmp |= hpriv->signal[port].amps; tmp 3150 drivers/ata/sata_mv.c writel(tmp, phy_mmio + MV5_PHY_MODE); tmp 3184 drivers/ata/sata_mv.c u32 tmp; tmp 3191 drivers/ata/sata_mv.c tmp = readl(hc_mmio + 0x20); tmp 3192 drivers/ata/sata_mv.c tmp &= 0x1c1c1c1c; tmp 3193 drivers/ata/sata_mv.c tmp |= 0x03030303; tmp 3194 drivers/ata/sata_mv.c writel(tmp, hc_mmio + 0x20); tmp 3219 drivers/ata/sata_mv.c u32 tmp; tmp 3221 drivers/ata/sata_mv.c tmp = readl(mmio + MV_PCI_MODE); tmp 3222 drivers/ata/sata_mv.c tmp &= 0xff00ffff; tmp 3223 drivers/ata/sata_mv.c writel(tmp, mmio + MV_PCI_MODE); tmp 3240 drivers/ata/sata_mv.c u32 tmp; tmp 3244 drivers/ata/sata_mv.c tmp = readl(mmio + GPIO_PORT_CTL); tmp 3245 drivers/ata/sata_mv.c tmp &= 0x3; tmp 3246 drivers/ata/sata_mv.c tmp |= (1 << 5) | (1 << 6); tmp 3247 drivers/ata/sata_mv.c writel(tmp, mmio + GPIO_PORT_CTL); tmp 3318 drivers/ata/sata_mv.c u32 tmp; tmp 3320 drivers/ata/sata_mv.c tmp = readl(mmio + RESET_CFG); tmp 3321 drivers/ata/sata_mv.c if ((tmp & (1 << 0)) == 0) { tmp 3328 drivers/ata/sata_mv.c tmp = readl(port_mmio + PHY_MODE2); tmp 3330 drivers/ata/sata_mv.c hpriv->signal[idx].amps = tmp & 0x700; /* bits 10:8 */ tmp 3331 drivers/ata/sata_mv.c hpriv->signal[idx].pre = tmp & 0xe0; /* bits 7:5 */ tmp 3427 drivers/ata/sata_mv.c u32 tmp; tmp 3430 drivers/ata/sata_mv.c tmp = readl(port_mmio + PHY_MODE2); tmp 3432 drivers/ata/sata_mv.c hpriv->signal[idx].amps = tmp & 0x700; /* bits 10:8 */ tmp 3433 drivers/ata/sata_mv.c hpriv->signal[idx].pre = tmp & 0xe0; /* bits 7:5 */ tmp 593 drivers/ata/sata_nv.c u16 tmp, status; tmp 609 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 610 drivers/ata/sata_nv.c writew(tmp & ~NV_ADMA_CTL_GO, mmio + NV_ADMA_CTL); tmp 631 drivers/ata/sata_nv.c u16 tmp, status; tmp 639 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 640 drivers/ata/sata_nv.c writew(tmp | NV_ADMA_CTL_GO, mmio + NV_ADMA_CTL); tmp 1009 drivers/ata/sata_nv.c u16 tmp; tmp 1021 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 1022 drivers/ata/sata_nv.c writew(tmp & ~(NV_ADMA_CTL_AIEN | NV_ADMA_CTL_HOTPLUG_IEN), tmp 1031 drivers/ata/sata_nv.c u16 tmp; tmp 1039 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 1040 drivers/ata/sata_nv.c writew(tmp | (NV_ADMA_CTL_AIEN | NV_ADMA_CTL_HOTPLUG_IEN), tmp 1095 drivers/ata/sata_nv.c u16 tmp; tmp 1168 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 1169 drivers/ata/sata_nv.c writew((tmp & ~NV_ADMA_CTL_GO) | NV_ADMA_CTL_AIEN | tmp 1172 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 1173 drivers/ata/sata_nv.c writew(tmp | NV_ADMA_CTL_CHANNEL_RESET, mmio + NV_ADMA_CTL); tmp 1176 drivers/ata/sata_nv.c writew(tmp & ~NV_ADMA_CTL_CHANNEL_RESET, mmio + NV_ADMA_CTL); tmp 1213 drivers/ata/sata_nv.c u16 tmp; tmp 1229 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 1230 drivers/ata/sata_nv.c writew((tmp & ~NV_ADMA_CTL_GO) | NV_ADMA_CTL_AIEN | tmp 1233 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 1234 drivers/ata/sata_nv.c writew(tmp | NV_ADMA_CTL_CHANNEL_RESET, mmio + NV_ADMA_CTL); tmp 1237 drivers/ata/sata_nv.c writew(tmp & ~NV_ADMA_CTL_CHANNEL_RESET, mmio + NV_ADMA_CTL); tmp 1638 drivers/ata/sata_nv.c u16 tmp; tmp 1677 drivers/ata/sata_nv.c tmp = readw(mmio + NV_ADMA_CTL); tmp 1678 drivers/ata/sata_nv.c writew(tmp | NV_ADMA_CTL_CHANNEL_RESET, mmio + NV_ADMA_CTL); tmp 1681 drivers/ata/sata_nv.c writew(tmp & ~NV_ADMA_CTL_CHANNEL_RESET, mmio + NV_ADMA_CTL); tmp 1817 drivers/ata/sata_nv.c u32 tmp; tmp 1826 drivers/ata/sata_nv.c tmp = readl(mmio + NV_CTL_MCP55); tmp 1827 drivers/ata/sata_nv.c tmp &= ~(NV_CTL_PRI_SWNCQ | NV_CTL_SEC_SWNCQ); tmp 1828 drivers/ata/sata_nv.c writel(tmp, mmio + NV_CTL_MCP55); tmp 1836 drivers/ata/sata_nv.c u32 tmp; tmp 1845 drivers/ata/sata_nv.c tmp = readl(mmio + NV_CTL_MCP55); tmp 1846 drivers/ata/sata_nv.c writel(tmp | NV_CTL_PRI_SWNCQ | NV_CTL_SEC_SWNCQ, mmio + NV_CTL_MCP55); tmp 1854 drivers/ata/sata_nv.c u32 tmp; tmp 1865 drivers/ata/sata_nv.c tmp = readl(mmio + NV_CTL_MCP55); tmp 1866 drivers/ata/sata_nv.c VPRINTK("HOST_CTL:0x%X\n", tmp); tmp 1867 drivers/ata/sata_nv.c writel(tmp | NV_CTL_PRI_SWNCQ | NV_CTL_SEC_SWNCQ, mmio + NV_CTL_MCP55); tmp 1870 drivers/ata/sata_nv.c tmp = readl(mmio + NV_INT_ENABLE_MCP55); tmp 1871 drivers/ata/sata_nv.c VPRINTK("HOST_ENABLE:0x%X\n", tmp); tmp 1872 drivers/ata/sata_nv.c writel(tmp | 0x00fd00fd, mmio + NV_INT_ENABLE_MCP55); tmp 350 drivers/ata/sata_promise.c unsigned int tmp; tmp 352 drivers/ata/sata_promise.c tmp = readl(sata_mmio + PDC_PHYMODE4); tmp 353 drivers/ata/sata_promise.c tmp = (tmp & ~3) | 1; /* set bits 1:0 = 0:1 */ tmp 354 drivers/ata/sata_promise.c writel(tmp, sata_mmio + PDC_PHYMODE4); tmp 363 drivers/ata/sata_promise.c u32 tmp; tmp 365 drivers/ata/sata_promise.c tmp = readl(sata_mmio + PDC_FPDMA_CTLSTAT); tmp 366 drivers/ata/sata_promise.c tmp |= PDC_FPDMA_CTLSTAT_DMASETUP_INT_FLAG; tmp 367 drivers/ata/sata_promise.c tmp |= PDC_FPDMA_CTLSTAT_SETDB_INT_FLAG; tmp 371 drivers/ata/sata_promise.c writeb(tmp >> 8, sata_mmio + PDC_FPDMA_CTLSTAT + 1); tmp 378 drivers/ata/sata_promise.c u8 tmp; tmp 380 drivers/ata/sata_promise.c tmp = (u8)readl(sata_mmio + PDC_FPDMA_CTLSTAT); tmp 381 drivers/ata/sata_promise.c tmp &= 0x7F; tmp 382 drivers/ata/sata_promise.c tmp |= PDC_FPDMA_CTLSTAT_RESET; tmp 383 drivers/ata/sata_promise.c writeb(tmp, sata_mmio + PDC_FPDMA_CTLSTAT); tmp 386 drivers/ata/sata_promise.c tmp &= ~PDC_FPDMA_CTLSTAT_RESET; tmp 387 drivers/ata/sata_promise.c writeb(tmp, sata_mmio + PDC_FPDMA_CTLSTAT); tmp 397 drivers/ata/sata_promise.c u32 tmp; tmp 402 drivers/ata/sata_promise.c tmp = readl(sata_mmio + PDC_INTERNAL_DEBUG_2); tmp 403 drivers/ata/sata_promise.c if ((tmp & 0xF) != 1) tmp 421 drivers/ata/sata_promise.c u32 tmp; tmp 426 drivers/ata/sata_promise.c tmp = readl(ata_ctlstat_mmio); tmp 427 drivers/ata/sata_promise.c tmp |= PDC_RESET; tmp 428 drivers/ata/sata_promise.c writel(tmp, ata_ctlstat_mmio); tmp 431 drivers/ata/sata_promise.c tmp = readl(ata_ctlstat_mmio); tmp 432 drivers/ata/sata_promise.c if (tmp & PDC_RESET) tmp 437 drivers/ata/sata_promise.c tmp |= PDC_RESET; tmp 438 drivers/ata/sata_promise.c writel(tmp, ata_ctlstat_mmio); tmp 441 drivers/ata/sata_promise.c tmp &= ~PDC_RESET; tmp 442 drivers/ata/sata_promise.c writel(tmp, ata_ctlstat_mmio); tmp 453 drivers/ata/sata_promise.c u8 tmp; tmp 456 drivers/ata/sata_promise.c tmp = readb(ata_mmio + PDC_CTLSTAT + 3); tmp 457 drivers/ata/sata_promise.c if (tmp & 0x01) tmp 703 drivers/ata/sata_promise.c u32 tmp; tmp 705 drivers/ata/sata_promise.c tmp = readl(ata_mmio + PDC_CTLSTAT); tmp 706 drivers/ata/sata_promise.c tmp |= PDC_IRQ_DISABLE; tmp 707 drivers/ata/sata_promise.c tmp &= ~PDC_DMA_ENABLE; tmp 708 drivers/ata/sata_promise.c writel(tmp, ata_mmio + PDC_CTLSTAT); tmp 738 drivers/ata/sata_promise.c u32 tmp; tmp 744 drivers/ata/sata_promise.c tmp = readl(ata_mmio + PDC_CTLSTAT); tmp 745 drivers/ata/sata_promise.c tmp &= ~PDC_IRQ_DISABLE; tmp 746 drivers/ata/sata_promise.c writel(tmp, ata_mmio + PDC_CTLSTAT); tmp 792 drivers/ata/sata_promise.c u8 tmp; tmp 796 drivers/ata/sata_promise.c tmp = readb(pcictl_b1_mmio); tmp 797 drivers/ata/sata_promise.c tmp &= ~(0x10 << ata_no); tmp 798 drivers/ata/sata_promise.c writeb(tmp, pcictl_b1_mmio); tmp 801 drivers/ata/sata_promise.c tmp |= (0x10 << ata_no); tmp 802 drivers/ata/sata_promise.c writeb(tmp, pcictl_b1_mmio); tmp 922 drivers/ata/sata_promise.c unsigned int i, tmp; tmp 974 drivers/ata/sata_promise.c tmp = hotplug_status & (0x11 << ata_no); tmp 975 drivers/ata/sata_promise.c if (tmp) { tmp 979 drivers/ata/sata_promise.c ata_ehi_push_desc(ehi, "hotplug_status %#x", tmp); tmp 986 drivers/ata/sata_promise.c tmp = mask & (1 << (i + 1)); tmp 987 drivers/ata/sata_promise.c if (tmp) { tmp 1117 drivers/ata/sata_promise.c u32 tmp; tmp 1131 drivers/ata/sata_promise.c tmp = readl(host_mmio + PDC_FLASH_CTL); tmp 1132 drivers/ata/sata_promise.c tmp |= 0x02000; /* bit 13 (enable bmr burst) */ tmp 1134 drivers/ata/sata_promise.c tmp |= 0x10000; /* bit 16 (fifo threshold at 8 dw) */ tmp 1135 drivers/ata/sata_promise.c writel(tmp, host_mmio + PDC_FLASH_CTL); tmp 1138 drivers/ata/sata_promise.c tmp = readl(host_mmio + hotplug_offset); tmp 1139 drivers/ata/sata_promise.c writel(tmp | 0xff, host_mmio + hotplug_offset); tmp 1141 drivers/ata/sata_promise.c tmp = readl(host_mmio + hotplug_offset); tmp 1143 drivers/ata/sata_promise.c writel(tmp & ~0xff0000, host_mmio + hotplug_offset); tmp 1145 drivers/ata/sata_promise.c writel(tmp | 0xff0000, host_mmio + hotplug_offset); tmp 1152 drivers/ata/sata_promise.c tmp = readl(host_mmio + PDC_TBG_MODE); tmp 1153 drivers/ata/sata_promise.c tmp &= ~0x30000; /* clear bit 17, 16*/ tmp 1154 drivers/ata/sata_promise.c tmp |= 0x10000; /* set bit 17:16 = 0:1 */ tmp 1155 drivers/ata/sata_promise.c writel(tmp, host_mmio + PDC_TBG_MODE); tmp 1161 drivers/ata/sata_promise.c tmp = readl(host_mmio + PDC_SLEW_CTL); tmp 1162 drivers/ata/sata_promise.c tmp &= 0xFFFFF03F; /* clear bit 11 ~ 6 */ tmp 1163 drivers/ata/sata_promise.c tmp |= 0x00000900; /* set bit 11-9 = 100b , bit 8-6 = 100 */ tmp 1164 drivers/ata/sata_promise.c writel(tmp, host_mmio + PDC_SLEW_CTL); tmp 1200 drivers/ata/sata_promise.c u8 tmp = readb(host_mmio + PDC_FLASH_CTL + 1); tmp 1201 drivers/ata/sata_promise.c if (!(tmp & 0x80)) tmp 350 drivers/ata/sata_sil.c u32 tmp, dev_mode[2] = { }; tmp 367 drivers/ata/sata_sil.c tmp = readl(addr); tmp 368 drivers/ata/sata_sil.c tmp &= ~((1<<5) | (1<<4) | (1<<1) | (1<<0)); tmp 369 drivers/ata/sata_sil.c tmp |= dev_mode[0]; tmp 370 drivers/ata/sata_sil.c tmp |= (dev_mode[1] << 4); tmp 371 drivers/ata/sata_sil.c writel(tmp, addr); tmp 538 drivers/ata/sata_sil.c u32 tmp; tmp 544 drivers/ata/sata_sil.c tmp = readl(mmio_base + SIL_SYSCFG); tmp 545 drivers/ata/sata_sil.c tmp |= SIL_MASK_IDE0_INT << ap->port_no; tmp 546 drivers/ata/sata_sil.c writel(tmp, mmio_base + SIL_SYSCFG); tmp 566 drivers/ata/sata_sil.c u32 tmp; tmp 577 drivers/ata/sata_sil.c tmp = readl(mmio_base + SIL_SYSCFG); tmp 578 drivers/ata/sata_sil.c tmp &= ~(SIL_MASK_IDE0_INT << ap->port_no); tmp 579 drivers/ata/sata_sil.c writel(tmp, mmio_base + SIL_SYSCFG); tmp 654 drivers/ata/sata_sil.c u32 tmp; tmp 674 drivers/ata/sata_sil.c tmp = readl(mmio_base + sil_port[i].sfis_cfg); tmp 675 drivers/ata/sata_sil.c if ((tmp & 0x3) != 0x01) tmp 680 drivers/ata/sata_sil.c writel(tmp & ~0x3, mmio_base + sil_port[i].sfis_cfg); tmp 687 drivers/ata/sata_sil.c tmp = readl(mmio_base + sil_port[2].bmdma); tmp 688 drivers/ata/sata_sil.c if ((tmp & SIL_INTR_STEERING) == 0) tmp 689 drivers/ata/sata_sil.c writel(tmp | SIL_INTR_STEERING, tmp 573 drivers/ata/sata_sil24.c u32 tmp; tmp 582 drivers/ata/sata_sil24.c tmp = ata_wait_register(ap, port + PORT_CTRL_STAT, tmp 585 drivers/ata/sata_sil24.c if ((tmp & (PORT_CS_INIT | PORT_CS_RDY)) != PORT_CS_RDY) { tmp 699 drivers/ata/sata_sil24.c u32 tmp; tmp 731 drivers/ata/sata_sil24.c tmp = ata_wait_register(ap, port + PORT_CTRL_STAT, tmp 744 drivers/ata/sata_sil24.c if (tmp & PORT_CS_DEV_RST) { tmp 958 drivers/ata/sata_sil24.c u32 tmp; tmp 961 drivers/ata/sata_sil24.c tmp = readl(port + PORT_IRQ_STAT); tmp 962 drivers/ata/sata_sil24.c writel(tmp, port + PORT_IRQ_STAT); tmp 1220 drivers/ata/sata_sil24.c u32 tmp; tmp 1239 drivers/ata/sata_sil24.c tmp = readl(port + PORT_CTRL_STAT); tmp 1240 drivers/ata/sata_sil24.c if (tmp & PORT_CS_PORT_RST) { tmp 1242 drivers/ata/sata_sil24.c tmp = ata_wait_register(NULL, port + PORT_CTRL_STAT, tmp 1245 drivers/ata/sata_sil24.c if (tmp & PORT_CS_PORT_RST) tmp 1266 drivers/ata/sata_sil24.c u32 tmp; tmp 1288 drivers/ata/sata_sil24.c tmp = readl(iomap[SIL24_HOST_BAR] + HOST_CTRL); tmp 1289 drivers/ata/sata_sil24.c if (tmp & (HOST_CTRL_TRDY | HOST_CTRL_STOP | HOST_CTRL_DEVSEL)) tmp 400 drivers/ata/sata_sx4.c u32 tmp; tmp 418 drivers/ata/sata_sx4.c tmp = PDC_PKT_READ; tmp 420 drivers/ata/sata_sx4.c tmp = 0; tmp 421 drivers/ata/sata_sx4.c tmp |= ((portno + 1 + 4) << 16); /* seq. id */ tmp 422 drivers/ata/sata_sx4.c tmp |= (0xff << 24); /* delay seq. id */ tmp 423 drivers/ata/sata_sx4.c buf32[dw + 0] = cpu_to_le32(tmp); tmp 778 drivers/ata/sata_sx4.c unsigned int i, tmp, port_no; tmp 816 drivers/ata/sata_sx4.c tmp = mask & (1 << i); tmp 817 drivers/ata/sata_sx4.c VPRINTK("seq %u, port_no %u, ap %p, tmp %x\n", i, port_no, ap, tmp); tmp 818 drivers/ata/sata_sx4.c if (tmp && ap) { tmp 840 drivers/ata/sata_sx4.c u32 tmp; tmp 844 drivers/ata/sata_sx4.c tmp = readl(mmio + PDC_CTLSTAT); tmp 845 drivers/ata/sata_sx4.c tmp |= PDC_MASK_INT; tmp 846 drivers/ata/sata_sx4.c tmp &= ~PDC_DMA_ENABLE; tmp 847 drivers/ata/sata_sx4.c writel(tmp, mmio + PDC_CTLSTAT); tmp 854 drivers/ata/sata_sx4.c u32 tmp; tmp 862 drivers/ata/sata_sx4.c tmp = readl(mmio + PDC_CTLSTAT); tmp 863 drivers/ata/sata_sx4.c tmp &= ~PDC_MASK_INT; tmp 864 drivers/ata/sata_sx4.c writel(tmp, mmio + PDC_CTLSTAT); tmp 872 drivers/ata/sata_sx4.c u32 tmp; tmp 877 drivers/ata/sata_sx4.c tmp = readl(mmio); tmp 878 drivers/ata/sata_sx4.c if (tmp & PDC_RESET) tmp 883 drivers/ata/sata_sx4.c tmp |= PDC_RESET; tmp 884 drivers/ata/sata_sx4.c writel(tmp, mmio); tmp 887 drivers/ata/sata_sx4.c tmp &= ~PDC_RESET; tmp 888 drivers/ata/sata_sx4.c writel(tmp, mmio); tmp 1399 drivers/ata/sata_sx4.c u32 tmp; tmp 1408 drivers/ata/sata_sx4.c tmp = readl(mmio + PDC_20621_DIMM_WINDOW) & 0xffff0000; tmp 1409 drivers/ata/sata_sx4.c tmp |= PDC_PAGE_WINDOW; /* page 40h; arbitrarily selected */ tmp 1410 drivers/ata/sata_sx4.c writel(tmp, mmio + PDC_20621_DIMM_WINDOW); tmp 1415 drivers/ata/sata_sx4.c tmp = readl(mmio + PDC_HDMA_CTLSTAT); tmp 1416 drivers/ata/sata_sx4.c tmp |= PDC_RESET; tmp 1417 drivers/ata/sata_sx4.c writel(tmp, mmio + PDC_HDMA_CTLSTAT); tmp 1422 drivers/ata/sata_sx4.c tmp = readl(mmio + PDC_HDMA_CTLSTAT); tmp 1423 drivers/ata/sata_sx4.c tmp &= ~PDC_RESET; tmp 1424 drivers/ata/sata_sx4.c writel(tmp, mmio + PDC_HDMA_CTLSTAT); tmp 394 drivers/ata/sata_via.c u8 tmp; tmp 396 drivers/ata/sata_via.c pci_read_config_byte(pdev, PATA_UDMA_TIMING, &tmp); tmp 397 drivers/ata/sata_via.c if (tmp & 0x10) tmp 621 drivers/atm/eni.c unsigned long tmp; tmp 627 drivers/atm/eni.c while (eni_vcc->descr != (tmp = (readl(vci_dsc+4) & MID_VCI_DESCR) >> tmp 630 drivers/atm/eni.c eni_vcc->descr,tmp); tmp 644 drivers/atm/eni.c while (ENI_VCC(vcc)->descr != (tmp = (readl(vci_dsc+4) & MID_VCI_DESCR) tmp 647 drivers/atm/eni.c eni_vcc->descr,tmp); tmp 883 drivers/atm/eni.c u32 tmp; tmp 886 drivers/atm/eni.c tmp = readl(eni_dev->vci+vcc->vci*16+4) & MID_VCI_READ; tmp 887 drivers/atm/eni.c at_end = eni_vcc->rx_pos == tmp >> MID_VCI_READ_SHIFT; tmp 891 drivers/atm/eni.c eni_vcc->rx_pos,tmp); tmp 893 drivers/atm/eni.c eni_vcc->rx_pos,tmp); tmp 695 drivers/atm/firestream.c long tmp; tmp 717 drivers/atm/firestream.c tmp = qe->p0; tmp 718 drivers/atm/firestream.c if (tmp & 0x0f) tmp 719 drivers/atm/firestream.c printk (KERN_WARNING "td not aligned: %ld\n", tmp); tmp 720 drivers/atm/firestream.c tmp &= ~0x0f; tmp 721 drivers/atm/firestream.c td = bus_to_virt (tmp); tmp 1854 drivers/atm/fore200e.c struct sonet_stats tmp; tmp 1859 drivers/atm/fore200e.c tmp.section_bip = be32_to_cpu(fore200e->stats->oc3.section_bip8_errors); tmp 1860 drivers/atm/fore200e.c tmp.line_bip = be32_to_cpu(fore200e->stats->oc3.line_bip24_errors); tmp 1861 drivers/atm/fore200e.c tmp.path_bip = be32_to_cpu(fore200e->stats->oc3.path_bip8_errors); tmp 1862 drivers/atm/fore200e.c tmp.line_febe = be32_to_cpu(fore200e->stats->oc3.line_febe_errors); tmp 1863 drivers/atm/fore200e.c tmp.path_febe = be32_to_cpu(fore200e->stats->oc3.path_febe_errors); tmp 1864 drivers/atm/fore200e.c tmp.corr_hcs = be32_to_cpu(fore200e->stats->oc3.corr_hcs_errors); tmp 1865 drivers/atm/fore200e.c tmp.uncorr_hcs = be32_to_cpu(fore200e->stats->oc3.ucorr_hcs_errors); tmp 1866 drivers/atm/fore200e.c tmp.tx_cells = be32_to_cpu(fore200e->stats->aal0.cells_transmitted) + tmp 1869 drivers/atm/fore200e.c tmp.rx_cells = be32_to_cpu(fore200e->stats->aal0.cells_received) + tmp 1874 drivers/atm/fore200e.c return copy_to_user(arg, &tmp, sizeof(struct sonet_stats)) ? -EFAULT : 0; tmp 1916 drivers/atm/idt77252.c struct sk_buff *skb, *tmp; tmp 1918 drivers/atm/idt77252.c skb_queue_walk_safe(&rpp->queue, skb, tmp) tmp 3186 drivers/atm/idt77252.c unsigned int tmp; tmp 3188 drivers/atm/idt77252.c tmp = rate_to_log[(i << 2) + 0] << 0; tmp 3189 drivers/atm/idt77252.c tmp |= rate_to_log[(i << 2) + 1] << 8; tmp 3190 drivers/atm/idt77252.c tmp |= rate_to_log[(i << 2) + 2] << 16; tmp 3191 drivers/atm/idt77252.c tmp |= rate_to_log[(i << 2) + 3] << 24; tmp 3192 drivers/atm/idt77252.c write_sram(card, card->rt_base + 256 + i, tmp); tmp 3197 drivers/atm/idt77252.c unsigned int tmp; tmp 3199 drivers/atm/idt77252.c tmp = RDF[0][(i << 1) + 0] << 16; tmp 3200 drivers/atm/idt77252.c tmp |= RDF[0][(i << 1) + 1] << 0; tmp 3201 drivers/atm/idt77252.c write_sram(card, card->rt_base + 512 + i, tmp); tmp 3205 drivers/atm/idt77252.c unsigned int tmp; tmp 3207 drivers/atm/idt77252.c tmp = AIR[0][(i << 1) + 0] << 16; tmp 3208 drivers/atm/idt77252.c tmp |= AIR[0][(i << 1) + 1] << 0; tmp 3209 drivers/atm/idt77252.c write_sram(card, card->rt_base + 640 + i, tmp); tmp 3255 drivers/atm/idt77252.c struct net_device *tmp; tmp 3501 drivers/atm/idt77252.c tmp = dev_get_by_name(&init_net, tname); /* jhs: was "tmp = dev_get(tname);" */ tmp 3502 drivers/atm/idt77252.c if (tmp) { tmp 3503 drivers/atm/idt77252.c memcpy(card->atmdev->esi, tmp->dev_addr, 6); tmp 3504 drivers/atm/idt77252.c dev_put(tmp); tmp 318 drivers/atm/iphase.c u32 tmp = cr & 0x00ffffff; tmp 322 drivers/atm/iphase.c while (tmp != 1) { tmp 323 drivers/atm/iphase.c tmp >>= 1; tmp 602 drivers/atm/iphase.c int tmp = 0; tmp 605 drivers/atm/iphase.c tmp = (iadev->host_tcq_wr - iadev->ffL.tcq_rd) / 2; tmp 607 drivers/atm/iphase.c tmp = (iadev->ffL.tcq_ed - iadev->ffL.tcq_rd + 2 + iadev->host_tcq_wr - tmp 609 drivers/atm/iphase.c return tmp; tmp 1029 drivers/atm/iphase.c void __iomem *tmp; tmp 1042 drivers/atm/iphase.c tmp = iadev->seg_ram+tcq_st_ptr; tmp 1043 drivers/atm/iphase.c printk("TCQ slot %d desc = %d Addr = %p\n", i++, readw(tmp), tmp); tmp 872 drivers/atm/lanai.c u32 tmp; tmp 891 drivers/atm/lanai.c tmp = (lanai->conf1 & ~CONFIG1_PROMDATA) | tmp 893 drivers/atm/lanai.c if (lanai->conf1 != tmp) { tmp 894 drivers/atm/lanai.c set_config1(tmp); tmp 98 drivers/atm/suni.c struct sonet_stats tmp; tmp 101 drivers/atm/suni.c sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); tmp 102 drivers/atm/suni.c if (arg) error = copy_to_user(arg,&tmp,sizeof(tmp)); tmp 103 drivers/atm/suni.c if (zero && !error) sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); tmp 43 drivers/atm/uPD98402.c struct sonet_stats tmp; tmp 47 drivers/atm/uPD98402.c sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); tmp 48 drivers/atm/uPD98402.c if (arg) error = copy_to_user(arg,&tmp,sizeof(tmp)); tmp 52 drivers/atm/uPD98402.c tmp.corr_hcs = tmp.tx_cells = tmp.rx_cells = 0; tmp 53 drivers/atm/uPD98402.c sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); tmp 686 drivers/auxdisplay/charlcd.c const char __user *tmp = buf; tmp 689 drivers/auxdisplay/charlcd.c for (; count-- > 0; (*ppos)++, tmp++) { tmp 697 drivers/auxdisplay/charlcd.c if (get_user(c, tmp)) tmp 703 drivers/auxdisplay/charlcd.c return tmp - buf; tmp 751 drivers/auxdisplay/charlcd.c const char *tmp = s; tmp 754 drivers/auxdisplay/charlcd.c for (; count-- > 0; tmp++) { tmp 762 drivers/auxdisplay/charlcd.c charlcd_write_char(lcd, *tmp); tmp 1080 drivers/auxdisplay/panel.c char __user *tmp = buf; tmp 1092 drivers/auxdisplay/panel.c ++i, ++tmp, --keypad_buflen) { tmp 1093 drivers/auxdisplay/panel.c put_user(keypad_buffer[keypad_start], tmp); tmp 1098 drivers/auxdisplay/panel.c return tmp - buf; tmp 956 drivers/base/bus.c struct klist_node *n, *tmp; tmp 964 drivers/base/bus.c list_for_each_entry_safe(n, tmp, &device_klist->k_list, n_node) { tmp 1168 drivers/base/core.c const char *tmp; tmp 1176 drivers/base/core.c name = device_get_devnode(dev, &mode, &uid, &gid, &tmp); tmp 1185 drivers/base/core.c kfree(tmp); tmp 2454 drivers/base/core.c const char **tmp) tmp 2458 drivers/base/core.c *tmp = NULL; tmp 2462 drivers/base/core.c *tmp = dev->type->devnode(dev, mode, uid, gid); tmp 2463 drivers/base/core.c if (*tmp) tmp 2464 drivers/base/core.c return *tmp; tmp 2468 drivers/base/core.c *tmp = dev->class->devnode(dev, mode); tmp 2469 drivers/base/core.c if (*tmp) tmp 2470 drivers/base/core.c return *tmp; tmp 2481 drivers/base/core.c return *tmp = s; tmp 132 drivers/base/devcoredump.c long tmp = simple_strtol(buf, NULL, 10); tmp 139 drivers/base/devcoredump.c if (tmp != 1) tmp 182 drivers/base/devres.c struct devres_node *tmp; tmp 189 drivers/base/devres.c list_for_each_entry_safe_reverse(node, tmp, tmp 496 drivers/base/devres.c struct devres *dr, *tmp; tmp 505 drivers/base/devres.c list_for_each_entry_safe_reverse(dr, tmp, &todo, node.entry) { tmp 98 drivers/base/devtmpfs.c const char *tmp = NULL; tmp 107 drivers/base/devtmpfs.c req.name = device_get_devnode(dev, &req.mode, &req.uid, &req.gid, &tmp); tmp 130 drivers/base/devtmpfs.c kfree(tmp); tmp 137 drivers/base/devtmpfs.c const char *tmp = NULL; tmp 143 drivers/base/devtmpfs.c req.name = device_get_devnode(dev, NULL, NULL, NULL, &tmp); tmp 160 drivers/base/devtmpfs.c kfree(tmp); tmp 200 drivers/base/firmware_loader/main.c struct fw_priv *tmp; tmp 203 drivers/base/firmware_loader/main.c list_for_each_entry(tmp, &fwc->head, list) tmp 204 drivers/base/firmware_loader/main.c if (!strcmp(tmp->fw_name, fw_name)) tmp 205 drivers/base/firmware_loader/main.c return tmp; tmp 215 drivers/base/firmware_loader/main.c struct fw_priv *tmp; tmp 219 drivers/base/firmware_loader/main.c tmp = __lookup_fw_priv(fw_name); tmp 220 drivers/base/firmware_loader/main.c if (tmp) { tmp 221 drivers/base/firmware_loader/main.c kref_get(&tmp->ref); tmp 223 drivers/base/firmware_loader/main.c *fw_priv = tmp; tmp 229 drivers/base/firmware_loader/main.c tmp = __allocate_fw_priv(fw_name, fwc, dbuf, size); tmp 230 drivers/base/firmware_loader/main.c if (tmp) { tmp 231 drivers/base/firmware_loader/main.c INIT_LIST_HEAD(&tmp->list); tmp 233 drivers/base/firmware_loader/main.c list_add(&tmp->list, &fwc->head); tmp 237 drivers/base/firmware_loader/main.c *fw_priv = tmp; tmp 239 drivers/base/firmware_loader/main.c return tmp ? 0 : -ENOMEM; tmp 1084 drivers/base/firmware_loader/main.c struct fw_priv *tmp; tmp 1088 drivers/base/firmware_loader/main.c tmp = __lookup_fw_priv(fw_name); tmp 1091 drivers/base/firmware_loader/main.c return tmp; tmp 107 drivers/base/isa.c struct device *tmp = to_isa_dev(dev)->next; tmp 109 drivers/base/isa.c dev = tmp; tmp 111 drivers/base/platform-msi.c struct msi_desc *desc, *tmp; tmp 113 drivers/base/platform-msi.c list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) { tmp 371 drivers/base/platform-msi.c struct msi_desc *desc, *tmp; tmp 372 drivers/base/platform-msi.c for_each_msi_entry_safe(desc, tmp, data->dev) { tmp 1320 drivers/base/platform.c char *tmp; tmp 1344 drivers/base/platform.c &tmp, 10); tmp 1346 drivers/base/platform.c if (buf[n] != '.' || (tmp == &buf[n + 1])) { tmp 2167 drivers/base/power/domain.c struct of_genpd_provider *cp, *tmp; tmp 2172 drivers/base/power/domain.c list_for_each_entry_safe(cp, tmp, &of_genpd_providers, link) { tmp 2320 drivers/base/power/domain.c struct generic_pm_domain *gpd, *tmp, *genpd = ERR_PTR(-ENOENT); tmp 2327 drivers/base/power/domain.c list_for_each_entry_safe(gpd, tmp, &gpd_list, gpd_list_node) { tmp 233 drivers/base/power/qos.c struct dev_pm_qos_request *req, *tmp; tmp 257 drivers/base/power/qos.c plist_for_each_entry_safe(req, tmp, &c->list, data.pnode) { tmp 267 drivers/base/power/qos.c plist_for_each_entry_safe(req, tmp, &c->list, data.pnode) { tmp 273 drivers/base/power/qos.c list_for_each_entry_safe(req, tmp, &f->list, data.flr.node) { tmp 127 drivers/base/power/sysfs.c u64 tmp = pm_runtime_active_time(dev); tmp 128 drivers/base/power/sysfs.c do_div(tmp, NSEC_PER_MSEC); tmp 129 drivers/base/power/sysfs.c ret = sprintf(buf, "%llu\n", tmp); tmp 139 drivers/base/power/sysfs.c u64 tmp = pm_runtime_suspended_time(dev); tmp 140 drivers/base/power/sysfs.c do_div(tmp, NSEC_PER_MSEC); tmp 141 drivers/base/power/sysfs.c ret = sprintf(buf, "%llu\n", tmp); tmp 648 drivers/base/regmap/regmap-debugfs.c struct regmap_debugfs_node *node, *tmp; tmp 651 drivers/base/regmap/regmap-debugfs.c list_for_each_entry_safe(node, tmp, ®map_debugfs_early_list, tmp 664 drivers/base/regmap/regmap-debugfs.c struct regmap_debugfs_node *node, *tmp; tmp 669 drivers/base/regmap/regmap-debugfs.c list_for_each_entry_safe(node, tmp, ®map_debugfs_early_list, link) { tmp 2870 drivers/base/regmap/regmap.c unsigned int tmp, orig; tmp 2884 drivers/base/regmap/regmap.c tmp = orig & ~mask; tmp 2885 drivers/base/regmap/regmap.c tmp |= val & mask; tmp 2887 drivers/base/regmap/regmap.c if (force_write || (tmp != orig)) { tmp 2888 drivers/base/regmap/regmap.c ret = _regmap_write(map, reg, tmp); tmp 351 drivers/bcma/driver_chipcommon_pmu.c u32 tmp, div, ndiv, p1, p2, fc; tmp 361 drivers/bcma/driver_chipcommon_pmu.c tmp = bcma_cc_read32(cc, BCMA_CC_CHIPSTAT); tmp 362 drivers/bcma/driver_chipcommon_pmu.c if (tmp & 0x40000) tmp 366 drivers/bcma/driver_chipcommon_pmu.c tmp = bcma_chipco_pll_read(cc, pll0 + BCMA_CC_PPL_P1P2_OFF); tmp 367 drivers/bcma/driver_chipcommon_pmu.c p1 = (tmp & BCMA_CC_PPL_P1_MASK) >> BCMA_CC_PPL_P1_SHIFT; tmp 368 drivers/bcma/driver_chipcommon_pmu.c p2 = (tmp & BCMA_CC_PPL_P2_MASK) >> BCMA_CC_PPL_P2_SHIFT; tmp 370 drivers/bcma/driver_chipcommon_pmu.c tmp = bcma_chipco_pll_read(cc, pll0 + BCMA_CC_PPL_M14_OFF); tmp 371 drivers/bcma/driver_chipcommon_pmu.c div = (tmp >> ((m - 1) * BCMA_CC_PPL_MDIV_WIDTH)) & tmp 374 drivers/bcma/driver_chipcommon_pmu.c tmp = bcma_chipco_pll_read(cc, pll0 + BCMA_CC_PPL_NM5_OFF); tmp 375 drivers/bcma/driver_chipcommon_pmu.c ndiv = (tmp & BCMA_CC_PPL_NDIV_MASK) >> BCMA_CC_PPL_NDIV_SHIFT; tmp 387 drivers/bcma/driver_chipcommon_pmu.c u32 tmp, ndiv, p1div, p2div; tmp 393 drivers/bcma/driver_chipcommon_pmu.c tmp = bcma_chipco_pll_read(cc, pll0 + BCMA_CC_PMU6_4706_PROCPLL_OFF); tmp 394 drivers/bcma/driver_chipcommon_pmu.c ndiv = (tmp & BCMA_CC_PMU6_4706_PROC_NDIV_INT_MASK) tmp 396 drivers/bcma/driver_chipcommon_pmu.c p1div = (tmp & BCMA_CC_PMU6_4706_PROC_P1DIV_MASK) tmp 398 drivers/bcma/driver_chipcommon_pmu.c p2div = (tmp & BCMA_CC_PMU6_4706_PROC_P2DIV_MASK) tmp 401 drivers/bcma/driver_chipcommon_pmu.c tmp = bcma_cc_read32(cc, BCMA_CC_CHIPSTAT); tmp 402 drivers/bcma/driver_chipcommon_pmu.c if (tmp & BCMA_CC_CHIPST_4706_PKG_OPTION) tmp 491 drivers/bcma/driver_chipcommon_pmu.c u32 tmp = 0; tmp 512 drivers/bcma/driver_chipcommon_pmu.c tmp = bcma_pmu_read32(cc, BCMA_CC_PMU_PLLCTL_DATA); tmp 513 drivers/bcma/driver_chipcommon_pmu.c tmp &= (~(BCMA_CC_PMU1_PLL0_PC0_P1DIV_MASK)); tmp 514 drivers/bcma/driver_chipcommon_pmu.c tmp |= (bcm5357_bcm43236_p1div[spuravoid] << BCMA_CC_PMU1_PLL0_PC0_P1DIV_SHIFT); tmp 515 drivers/bcma/driver_chipcommon_pmu.c bcma_pmu_write32(cc, BCMA_CC_PMU_PLLCTL_DATA, tmp); tmp 520 drivers/bcma/driver_chipcommon_pmu.c tmp = bcma_pmu_read32(cc, BCMA_CC_PMU_PLLCTL_DATA); tmp 521 drivers/bcma/driver_chipcommon_pmu.c tmp &= ~(BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_MASK); tmp 522 drivers/bcma/driver_chipcommon_pmu.c tmp |= (bcm5357_bcm43236_ndiv[spuravoid]) << BCMA_CC_PMU1_PLL0_PC2_NDIV_INT_SHIFT; tmp 523 drivers/bcma/driver_chipcommon_pmu.c bcma_pmu_write32(cc, BCMA_CC_PMU_PLLCTL_DATA, tmp); tmp 525 drivers/bcma/driver_chipcommon_pmu.c tmp = BCMA_CC_PMU_CTL_PLL_UPD; tmp 546 drivers/bcma/driver_chipcommon_pmu.c tmp = BCMA_CC_PMU_CTL_PLL_UPD; tmp 579 drivers/bcma/driver_chipcommon_pmu.c tmp = BCMA_CC_PMU_CTL_PLL_UPD; tmp 613 drivers/bcma/driver_chipcommon_pmu.c tmp = BCMA_CC_PMU_CTL_PLL_UPD | BCMA_CC_PMU_CTL_NOILPONW; tmp 651 drivers/bcma/driver_chipcommon_pmu.c tmp = BCMA_CC_PMU_CTL_PLL_UPD; tmp 659 drivers/bcma/driver_chipcommon_pmu.c tmp |= bcma_pmu_read32(cc, BCMA_CC_PMU_CTL); tmp 660 drivers/bcma/driver_chipcommon_pmu.c bcma_pmu_write32(cc, BCMA_CC_PMU_CTL, tmp); tmp 194 drivers/bcma/driver_pci.c u32 tmp; tmp 196 drivers/bcma/driver_pci.c tmp = bcma_pcie_read(pc, BCMA_CORE_PCI_PLP_STATUSREG); tmp 197 drivers/bcma/driver_pci.c if (tmp & BCMA_CORE_PCI_PLP_POLARITYINV_STAT) tmp 206 drivers/bcma/driver_pci.c u16 tmp; tmp 211 drivers/bcma/driver_pci.c tmp = bcma_pcie_mdio_read(pc, BCMA_CORE_PCI_MDIODATA_DEV_PLL, tmp 213 drivers/bcma/driver_pci.c if (tmp & BCMA_CORE_PCI_PLL_CTRL_FREQDET_EN) tmp 216 drivers/bcma/driver_pci.c tmp & ~BCMA_CORE_PCI_PLL_CTRL_FREQDET_EN); tmp 32 drivers/bcma/driver_pci_host.c u32 tmp; tmp 41 drivers/bcma/driver_pci_host.c return !mips_busprobe32(tmp, pc->core->io_addr); tmp 391 drivers/bcma/driver_pci_host.c u32 tmp; tmp 453 drivers/bcma/driver_pci_host.c tmp = BCMA_CORE_PCI_SBTOPCI_MEM; tmp 454 drivers/bcma/driver_pci_host.c tmp |= BCMA_CORE_PCI_SBTOPCI_PREF; tmp 455 drivers/bcma/driver_pci_host.c tmp |= BCMA_CORE_PCI_SBTOPCI_BURST; tmp 464 drivers/bcma/driver_pci_host.c tmp | BCMA_SOC_PCI_MEM); tmp 474 drivers/bcma/driver_pci_host.c tmp | BCMA_SOC_PCI1_MEM); tmp 509 drivers/bcma/driver_pci_host.c tmp = PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY; tmp 510 drivers/bcma/driver_pci_host.c bcma_extpci_write_config(pc, 0, 0, PCI_COMMAND, &tmp, sizeof(tmp)); tmp 163 drivers/bcma/driver_pcie2.c u32 tmp; tmp 165 drivers/bcma/driver_pcie2.c tmp = pcie2_read32(pcie2, BCMA_CORE_PCIE2_SPROM(54)); tmp 166 drivers/bcma/driver_pcie2.c if ((tmp & 0xe) >> 1 == 2) tmp 363 drivers/bcma/host_pci.c u32 coremask, tmp; tmp 375 drivers/bcma/host_pci.c err = pci_read_config_dword(pdev, BCMA_PCI_IRQMASK, &tmp); tmp 381 drivers/bcma/host_pci.c tmp |= coremask; tmp 383 drivers/bcma/host_pci.c tmp &= ~coremask; tmp 385 drivers/bcma/host_pci.c err = pci_write_config_dword(pdev, BCMA_PCI_IRQMASK, tmp); tmp 361 drivers/bcma/main.c struct bcma_device *core, *tmp; tmp 363 drivers/bcma/main.c list_for_each_entry_safe(core, tmp, &bus->cores, list) { tmp 373 drivers/bcma/main.c list_for_each_entry_safe(core, tmp, &bus->cores, list) { tmp 281 drivers/bcma/scan.c u32 tmp; tmp 361 drivers/bcma/scan.c tmp = bcma_erom_get_addr_desc(bus, eromptr, SCAN_ADDR_TYPE_SLAVE, 0); tmp 362 drivers/bcma/scan.c if (tmp == 0 || IS_ERR_VALUE_U32(tmp)) { tmp 364 drivers/bcma/scan.c tmp = bcma_erom_get_addr_desc(bus, eromptr, tmp 366 drivers/bcma/scan.c if (tmp == 0 || IS_ERR_VALUE_U32(tmp)) { tmp 373 drivers/bcma/scan.c core->addr = tmp; tmp 379 drivers/bcma/scan.c tmp = bcma_erom_get_addr_desc(bus, eromptr, tmp 381 drivers/bcma/scan.c if (IS_ERR_VALUE_U32(tmp)) { tmp 387 drivers/bcma/scan.c core->addr_s[k] = tmp; tmp 396 drivers/bcma/scan.c tmp = bcma_erom_get_addr_desc(bus, eromptr, tmp 398 drivers/bcma/scan.c if (IS_ERR_VALUE_U32(tmp)) { tmp 405 drivers/bcma/scan.c core->wrap = tmp; tmp 414 drivers/bcma/scan.c tmp = bcma_erom_get_addr_desc(bus, eromptr, tmp 416 drivers/bcma/scan.c if (IS_ERR_VALUE_U32(tmp)) { tmp 423 drivers/bcma/scan.c core->wrap = tmp; tmp 445 drivers/bcma/scan.c s32 tmp; tmp 451 drivers/bcma/scan.c tmp = bcma_scan_read32(bus, 0, BCMA_CC_ID); tmp 452 drivers/bcma/scan.c chipinfo->id = (tmp & BCMA_CC_ID_ID) >> BCMA_CC_ID_ID_SHIFT; tmp 453 drivers/bcma/scan.c chipinfo->rev = (tmp & BCMA_CC_ID_REV) >> BCMA_CC_ID_REV_SHIFT; tmp 454 drivers/bcma/scan.c chipinfo->pkg = (tmp & BCMA_CC_ID_PKG) >> BCMA_CC_ID_PKG_SHIFT; tmp 146 drivers/bcma/sprom.c u16 tmp; tmp 149 drivers/bcma/sprom.c tmp = sprom[words - 1] & SSB_SPROM_REVISION_CRC; tmp 150 drivers/bcma/sprom.c expected_crc = tmp >> SSB_SPROM_REVISION_CRC_SHIFT; tmp 430 drivers/block/aoe/aoedev.c struct sk_buff *skb, *tmp; tmp 432 drivers/block/aoe/aoedev.c skb_queue_walk_safe(&d->skbpool, skb, tmp) tmp 115 drivers/block/aoe/aoenet.c struct sk_buff *skb, *tmp; tmp 118 drivers/block/aoe/aoenet.c skb_queue_walk_safe(queue, skb, tmp) { tmp 511 drivers/block/ataflop.c unsigned char tmp; tmp 519 drivers/block/ataflop.c tmp = sound_ym.rd_data_reg_sel; tmp 520 drivers/block/ataflop.c sound_ym.wd_data = (tmp | DSKDRVNONE) & ~(drive == 0 ? DSKDRV0 : DSKDRV1); tmp 642 drivers/block/ataflop.c int tmp = HeadSettleFlag; tmp 644 drivers/block/ataflop.c return( tmp ); tmp 208 drivers/block/drbd/drbd_actlog.c struct lc_element *tmp; tmp 209 drivers/block/drbd/drbd_actlog.c tmp = lc_find(device->resync, enr/AL_EXT_PER_BM_SECT); tmp 210 drivers/block/drbd/drbd_actlog.c if (unlikely(tmp != NULL)) { tmp 211 drivers/block/drbd/drbd_actlog.c struct bm_extent *bm_ext = lc_entry(tmp, struct bm_extent, lce); tmp 520 drivers/block/drbd/drbd_actlog.c struct lc_element *tmp; tmp 521 drivers/block/drbd/drbd_actlog.c tmp = lc_find(device->resync, enr/AL_EXT_PER_BM_SECT); tmp 522 drivers/block/drbd/drbd_actlog.c if (unlikely(tmp != NULL)) { tmp 523 drivers/block/drbd/drbd_actlog.c struct bm_extent *bm_ext = lc_entry(tmp, struct bm_extent, lce); tmp 488 drivers/block/drbd/drbd_bitmap.c int tmp; tmp 492 drivers/block/drbd/drbd_bitmap.c tmp = (b->bm_bits & BITS_PER_PAGE_MASK); tmp 494 drivers/block/drbd/drbd_bitmap.c mask = (1UL << (tmp & BITS_PER_LONG_MASK)) -1; tmp 500 drivers/block/drbd/drbd_bitmap.c bm = p_addr + (tmp/BITS_PER_LONG); tmp 525 drivers/block/drbd/drbd_bitmap.c int tmp; tmp 528 drivers/block/drbd/drbd_bitmap.c tmp = (b->bm_bits & BITS_PER_PAGE_MASK); tmp 530 drivers/block/drbd/drbd_bitmap.c mask = (1UL << (tmp & BITS_PER_LONG_MASK)) -1; tmp 536 drivers/block/drbd/drbd_bitmap.c bm = p_addr + (tmp/BITS_PER_LONG); tmp 136 drivers/block/drbd/drbd_debugfs.c struct drbd_md_io tmp; tmp 141 drivers/block/drbd/drbd_debugfs.c tmp = device->md_io; tmp 142 drivers/block/drbd/drbd_debugfs.c if (atomic_read(&tmp.in_use)) { tmp 145 drivers/block/drbd/drbd_debugfs.c jiffies_to_msecs(now - tmp.start_jif)); tmp 146 drivers/block/drbd/drbd_debugfs.c if (time_before(tmp.submit_jif, tmp.start_jif)) tmp 149 drivers/block/drbd/drbd_debugfs.c seq_printf(m, "%d\t", jiffies_to_msecs(now - tmp.submit_jif)); tmp 150 drivers/block/drbd/drbd_debugfs.c seq_printf(m, "%s\n", tmp.current_use); tmp 312 drivers/block/drbd/drbd_debugfs.c unsigned int tmp = 0; tmp 337 drivers/block/drbd/drbd_debugfs.c tmp |= 1; tmp 339 drivers/block/drbd/drbd_debugfs.c tmp |= 2; tmp 342 drivers/block/drbd/drbd_debugfs.c tmp |= 4; tmp 344 drivers/block/drbd/drbd_debugfs.c tmp |= 8; tmp 346 drivers/block/drbd/drbd_debugfs.c tmp |= 16; tmp 348 drivers/block/drbd/drbd_debugfs.c if ((tmp & show_state) == tmp) tmp 350 drivers/block/drbd/drbd_debugfs.c show_state |= tmp; tmp 1033 drivers/block/drbd/drbd_int.h #define for_each_resource_safe(resource, tmp, _resources) \ tmp 1034 drivers/block/drbd/drbd_int.h list_for_each_entry_safe(resource, tmp, _resources, resources) tmp 1042 drivers/block/drbd/drbd_int.h #define for_each_connection_safe(connection, tmp, resource) \ tmp 1043 drivers/block/drbd/drbd_int.h list_for_each_entry_safe(connection, tmp, &resource->connections, connections) tmp 1051 drivers/block/drbd/drbd_int.h #define for_each_peer_device_safe(peer_device, tmp, device) \ tmp 1052 drivers/block/drbd/drbd_int.h list_for_each_entry_safe(peer_device, tmp, &device->peer_devices, peer_devices) tmp 1115 drivers/block/drbd/drbd_main.c unsigned long tmp; tmp 1145 drivers/block/drbd/drbd_main.c tmp = (toggle == 0) ? _drbd_bm_find_next_zero(device, c->bit_offset) tmp 1147 drivers/block/drbd/drbd_main.c if (tmp == -1UL) tmp 1148 drivers/block/drbd/drbd_main.c tmp = c->bm_bits; tmp 1149 drivers/block/drbd/drbd_main.c rl = tmp - c->bit_offset; tmp 1181 drivers/block/drbd/drbd_main.c c->bit_offset = tmp; tmp 2286 drivers/block/drbd/drbd_main.c struct drbd_request *req, *tmp; tmp 2292 drivers/block/drbd/drbd_main.c list_for_each_entry_safe(req, tmp, &writes, tl_requests) { tmp 2365 drivers/block/drbd/drbd_main.c struct drbd_connection *connection, *tmp; tmp 2367 drivers/block/drbd/drbd_main.c for_each_connection_safe(connection, tmp, resource) { tmp 2380 drivers/block/drbd/drbd_main.c struct drbd_resource *resource, *tmp; tmp 2402 drivers/block/drbd/drbd_main.c for_each_resource_safe(resource, tmp, &drbd_resources) { tmp 3931 drivers/block/drbd/drbd_nl.c struct drbd_resource *tmp; tmp 3958 drivers/block/drbd/drbd_nl.c for_each_resource_rcu(tmp, &drbd_resources) { tmp 3961 drivers/block/drbd/drbd_nl.c pos = tmp; tmp 3965 drivers/block/drbd/drbd_nl.c if (tmp == pos) { tmp 78 drivers/block/drbd/drbd_proc.c unsigned long tmp = 1000UL - left * 1000UL/total; tmp 79 drivers/block/drbd/drbd_proc.c *per_mil_done = tmp; tmp 78 drivers/block/drbd/drbd_receiver.c struct page *tmp; tmp 89 drivers/block/drbd/drbd_receiver.c tmp = page_chain_next(page); tmp 92 drivers/block/drbd/drbd_receiver.c if (tmp == NULL) tmp 95 drivers/block/drbd/drbd_receiver.c page = tmp; tmp 102 drivers/block/drbd/drbd_receiver.c *head = tmp; tmp 111 drivers/block/drbd/drbd_receiver.c struct page *tmp; tmp 113 drivers/block/drbd/drbd_receiver.c while ((tmp = page_chain_next(page))) tmp 114 drivers/block/drbd/drbd_receiver.c ++i, page = tmp; tmp 122 drivers/block/drbd/drbd_receiver.c struct page *tmp; tmp 124 drivers/block/drbd/drbd_receiver.c page_chain_for_each_safe(page, tmp) { tmp 135 drivers/block/drbd/drbd_receiver.c struct page *tmp; tmp 136 drivers/block/drbd/drbd_receiver.c tmp = page_chain_tail(chain_first, NULL); tmp 137 drivers/block/drbd/drbd_receiver.c BUG_ON(tmp != chain_last); tmp 149 drivers/block/drbd/drbd_receiver.c struct page *tmp = NULL; tmp 168 drivers/block/drbd/drbd_receiver.c tmp = alloc_page(GFP_TRY); tmp 169 drivers/block/drbd/drbd_receiver.c if (!tmp) tmp 171 drivers/block/drbd/drbd_receiver.c set_page_private(tmp, (unsigned long)page); tmp 172 drivers/block/drbd/drbd_receiver.c page = tmp; tmp 182 drivers/block/drbd/drbd_receiver.c tmp = page_chain_tail(page, NULL); tmp 184 drivers/block/drbd/drbd_receiver.c page_chain_add(&drbd_pp_pool, page, tmp); tmp 194 drivers/block/drbd/drbd_receiver.c struct drbd_peer_request *peer_req, *tmp; tmp 201 drivers/block/drbd/drbd_receiver.c list_for_each_entry_safe(peer_req, tmp, &device->net_ee, w.list) { tmp 326 drivers/block/drbd/drbd_receiver.c struct page *tmp; tmp 327 drivers/block/drbd/drbd_receiver.c tmp = page_chain_tail(page, &i); tmp 329 drivers/block/drbd/drbd_receiver.c page_chain_add(&drbd_pp_pool, page, tmp); tmp 1515 drivers/block/drbd/drbd_receiver.c sector_t tmp, nr; tmp 1535 drivers/block/drbd/drbd_receiver.c tmp = start; tmp 1536 drivers/block/drbd/drbd_receiver.c if (sector_div(tmp, granularity) != alignment) { tmp 1540 drivers/block/drbd/drbd_receiver.c tmp = start + granularity - alignment; tmp 1541 drivers/block/drbd/drbd_receiver.c tmp = start + granularity - sector_div(tmp, granularity); tmp 1543 drivers/block/drbd/drbd_receiver.c nr = tmp - start; tmp 1548 drivers/block/drbd/drbd_receiver.c start = tmp; tmp 1842 drivers/block/drbd/drbd_receiver.c unsigned int tmp = r->i.size; tmp 1845 drivers/block/drbd/drbd_receiver.c r->i.size = tmp; tmp 2769 drivers/block/drbd/drbd_receiver.c struct lc_element *tmp; tmp 2776 drivers/block/drbd/drbd_receiver.c tmp = lc_find(device->resync, BM_SECT_TO_EXT(sector)); tmp 2777 drivers/block/drbd/drbd_receiver.c if (tmp) { tmp 2778 drivers/block/drbd/drbd_receiver.c struct bm_extent *bm_ext = lc_entry(tmp, struct bm_extent, lce); tmp 4739 drivers/block/drbd/drbd_receiver.c u64 tmp; tmp 4780 drivers/block/drbd/drbd_receiver.c bits = bitstream_get_bits(&bs, &tmp, 64 - have); tmp 4783 drivers/block/drbd/drbd_receiver.c look_ahead |= tmp << have; tmp 1313 drivers/block/drbd/drbd_req.c struct drbd_request *tmp = plug->most_recent_req; tmp 1318 drivers/block/drbd/drbd_req.c if (tmp) tmp 1319 drivers/block/drbd/drbd_req.c kref_put(&tmp->kref, drbd_req_destroy); tmp 1449 drivers/block/drbd/drbd_req.c struct drbd_request *req, *tmp; tmp 1452 drivers/block/drbd/drbd_req.c list_for_each_entry_safe(req, tmp, incoming, tl_requests) { tmp 251 drivers/block/drbd/drbd_vli.h unsigned int tmp; tmp 265 drivers/block/drbd/drbd_vli.h for (tmp = 8 - bs->cur.bit; tmp < bits; tmp += 8) tmp 266 drivers/block/drbd/drbd_vli.h *b++ |= (val >> tmp) & 0xff; tmp 290 drivers/block/drbd/drbd_worker.c struct page *tmp; tmp 299 drivers/block/drbd/drbd_worker.c while ((tmp = page_chain_next(page))) { tmp 303 drivers/block/drbd/drbd_worker.c page = tmp; tmp 2813 drivers/block/floppy.c int tmp; tmp 2864 drivers/block/floppy.c tmp = make_raw_rw_request(); tmp 2865 drivers/block/floppy.c if (tmp < 2) { tmp 2866 drivers/block/floppy.c request_done(tmp); tmp 4006 drivers/block/floppy.c char *tmp; tmp 4033 drivers/block/floppy.c tmp = (char *)fd_dma_mem_alloc(1024 * try); tmp 4034 drivers/block/floppy.c if (!tmp && !floppy_track_buffer) { tmp 4037 drivers/block/floppy.c tmp = (char *)fd_dma_mem_alloc(1024 * try); tmp 4039 drivers/block/floppy.c if (!tmp && !floppy_track_buffer) tmp 4040 drivers/block/floppy.c fallback_on_nodma_alloc(&tmp, 2048 * try); tmp 4041 drivers/block/floppy.c if (!tmp && !floppy_track_buffer) { tmp 4046 drivers/block/floppy.c if (tmp) tmp 4047 drivers/block/floppy.c fd_dma_mem_free((unsigned long)tmp, try * 1024); tmp 4050 drivers/block/floppy.c floppy_track_buffer = tmp; tmp 522 drivers/block/loop.c struct bio_vec tmp; tmp 527 drivers/block/loop.c rq_for_each_bvec(tmp, rq, rq_iter) tmp 544 drivers/block/loop.c rq_for_each_bvec(tmp, rq, rq_iter) { tmp 545 drivers/block/loop.c *bvec = tmp; tmp 244 drivers/block/mtip32xx/mtip32xx.c u32 tmp; tmp 247 drivers/block/mtip32xx/mtip32xx.c tmp = readl(port->mmio + PORT_CMD); tmp 249 drivers/block/mtip32xx/mtip32xx.c writel(tmp | PORT_CMD_FIS_RX, port->mmio + PORT_CMD); tmp 251 drivers/block/mtip32xx/mtip32xx.c writel(tmp & ~PORT_CMD_FIS_RX, port->mmio + PORT_CMD); tmp 256 drivers/block/mtip32xx/mtip32xx.c return (((tmp & PORT_CMD_FIS_RX) == PORT_CMD_FIS_RX)); tmp 270 drivers/block/mtip32xx/mtip32xx.c u32 tmp; tmp 273 drivers/block/mtip32xx/mtip32xx.c tmp = readl(port->mmio + PORT_CMD); tmp 275 drivers/block/mtip32xx/mtip32xx.c writel(tmp | PORT_CMD_START, port->mmio + PORT_CMD); tmp 277 drivers/block/mtip32xx/mtip32xx.c writel(tmp & ~PORT_CMD_START, port->mmio + PORT_CMD); tmp 280 drivers/block/mtip32xx/mtip32xx.c return (((tmp & PORT_CMD_START) == PORT_CMD_START)); tmp 2167 drivers/block/mtip32xx/mtip32xx.c struct driver_data *dd, *tmp; tmp 2174 drivers/block/mtip32xx/mtip32xx.c list_for_each_entry_safe(dd, tmp, &online_list, online_list) { tmp 2204 drivers/block/mtip32xx/mtip32xx.c list_for_each_entry_safe(dd, tmp, &removing_list, remove_list) { tmp 226 drivers/block/null_blk_main.c unsigned int tmp; tmp 229 drivers/block/null_blk_main.c result = kstrtouint(page, 0, &tmp); tmp 233 drivers/block/null_blk_main.c *val = tmp; tmp 241 drivers/block/null_blk_main.c unsigned long tmp; tmp 243 drivers/block/null_blk_main.c result = kstrtoul(page, 0, &tmp); tmp 247 drivers/block/null_blk_main.c *val = tmp; tmp 254 drivers/block/null_blk_main.c bool tmp; tmp 257 drivers/block/null_blk_main.c result = kstrtobool(page, &tmp); tmp 261 drivers/block/null_blk_main.c *val = tmp; tmp 355 drivers/block/null_blk_main.c char *orig, *buf, *tmp; tmp 368 drivers/block/null_blk_main.c tmp = strchr(&buf[1], '-'); tmp 369 drivers/block/null_blk_main.c if (!tmp) tmp 371 drivers/block/null_blk_main.c *tmp = '\0'; tmp 375 drivers/block/null_blk_main.c ret = kstrtoull(tmp + 1, 0, &end); tmp 646 drivers/block/pktcdvd.c struct pkt_rb_node *tmp; tmp 654 drivers/block/pktcdvd.c tmp = rb_entry(n, struct pkt_rb_node, rb_node); tmp 655 drivers/block/pktcdvd.c if (s <= tmp->bio->bi_iter.bi_sector) tmp 664 drivers/block/pktcdvd.c if (s > tmp->bio->bi_iter.bi_sector) { tmp 665 drivers/block/pktcdvd.c tmp = pkt_rbtree_next(tmp); tmp 666 drivers/block/pktcdvd.c if (!tmp) tmp 669 drivers/block/pktcdvd.c BUG_ON(s > tmp->bio->bi_iter.bi_sector); tmp 670 drivers/block/pktcdvd.c return tmp; tmp 681 drivers/block/pktcdvd.c struct pkt_rb_node *tmp; tmp 685 drivers/block/pktcdvd.c tmp = rb_entry(parent, struct pkt_rb_node, rb_node); tmp 686 drivers/block/pktcdvd.c if (s < tmp->bio->bi_iter.bi_sector) tmp 7205 drivers/block/rbd.c struct list_head *tmp; tmp 7229 drivers/block/rbd.c list_for_each(tmp, &rbd_dev_list) { tmp 7230 drivers/block/rbd.c rbd_dev = list_entry(tmp, struct rbd_device, node); tmp 300 drivers/block/rsxx/cregs.c struct creg_cmd *tmp; tmp 320 drivers/block/rsxx/cregs.c list_for_each_entry_safe(cmd, tmp, &card->creg_ctrl.queue, list) { tmp 643 drivers/block/rsxx/cregs.c sizeof(card->log.tmp), card->log.tmp, tmp 742 drivers/block/rsxx/cregs.c struct creg_cmd *tmp; tmp 747 drivers/block/rsxx/cregs.c list_for_each_entry_safe(cmd, tmp, &card->creg_ctrl.queue, list) { tmp 246 drivers/block/rsxx/dma.c struct rsxx_dma *tmp; tmp 249 drivers/block/rsxx/dma.c list_for_each_entry_safe(dma, tmp, q, list) { tmp 141 drivers/block/rsxx/rsxx_priv.h char tmp[MAX_CREG_DATA8]; tmp 479 drivers/block/sx8.c u32 tmp; tmp 484 drivers/block/sx8.c tmp = readl(mmio + CARM_HMUC); tmp 485 drivers/block/sx8.c if (tmp & CARM_Q_FULL) { tmp 487 drivers/block/sx8.c tmp = readl(mmio + CARM_INT_MASK); tmp 488 drivers/block/sx8.c tmp |= INT_Q_AVAILABLE; tmp 489 drivers/block/sx8.c writel(tmp, mmio + CARM_INT_MASK); tmp 714 drivers/block/sx8.c u32 tmp; tmp 763 drivers/block/sx8.c tmp = (blk_rq_pos(rq) >> 16) >> 16; tmp 764 drivers/block/sx8.c msg->lba_high = cpu_to_le16( (u16) tmp ); tmp 1225 drivers/block/sx8.c u32 tmp = readl(mmio + CARM_LMUC); tmp 1229 drivers/block/sx8.c if ((tmp & bits) == bits) tmp 1232 drivers/block/sx8.c if ((tmp & bits) == 0) tmp 1259 drivers/block/sx8.c u32 tmp; tmp 1277 drivers/block/sx8.c tmp = readl(mmio + CARM_HMUC); tmp 1278 drivers/block/sx8.c if (tmp & CARM_CME) { tmp 1286 drivers/block/sx8.c if (tmp & CARM_RME) { tmp 1295 drivers/block/sx8.c tmp &= ~(CARM_RME | CARM_CME); tmp 1296 drivers/block/sx8.c writel(tmp, mmio + CARM_HMUC); tmp 1311 drivers/block/sx8.c tmp = readl(mmio + CARM_HMUC); tmp 1312 drivers/block/sx8.c tmp |= (CARM_RME | CARM_CME | CARM_WZBC); tmp 1313 drivers/block/sx8.c writel(tmp, mmio + CARM_HMUC); tmp 2666 drivers/block/xen-blkfront.c struct grant *gnt_list_entry, *tmp; tmp 2675 drivers/block/xen-blkfront.c list_for_each_entry_safe(gnt_list_entry, tmp, &rinfo->grants, tmp 252 drivers/block/zram/zram_drv.c char *tmp; tmp 255 drivers/block/zram/zram_drv.c limit = memparse(buf, &tmp); tmp 256 drivers/block/zram/zram_drv.c if (buf == tmp) /* no chars parsed, invalid input */ tmp 451 drivers/bluetooth/bt3c_cs.c unsigned int iobase, tmp, tn; tmp 491 drivers/bluetooth/bt3c_cs.c for (tmp = 0, i = 0; i < size; i++) { tmp 495 drivers/bluetooth/bt3c_cs.c tmp += tn; tmp 498 drivers/bluetooth/bt3c_cs.c if (((tmp + fcs) & 0xff) != 0xff) { tmp 510 drivers/bluetooth/bt3c_cs.c if (kstrtouint(b, 16, &tmp)) tmp 512 drivers/bluetooth/bt3c_cs.c bt3c_put(iobase, tmp); tmp 350 drivers/bluetooth/hci_bcsp.c struct sk_buff *skb, *tmp; tmp 375 drivers/bluetooth/hci_bcsp.c skb_queue_walk_safe(&bcsp->unack, skb, tmp) { tmp 268 drivers/bluetooth/hci_h5.c struct sk_buff *skb, *tmp; tmp 293 drivers/bluetooth/hci_h5.c skb_queue_walk_safe(&h5->unack, skb, tmp) { tmp 201 drivers/bus/fsl-mc/fsl-mc-msi.c struct msi_desc *desc, *tmp; tmp 203 drivers/bus/fsl-mc/fsl-mc-msi.c list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) { tmp 139 drivers/bus/ti-sysc.c u16 tmp = readw_relaxed(ddata->module_va + offset + 4); tmp 141 drivers/bus/ti-sysc.c val |= tmp << 16; tmp 48 drivers/char/agp/amd64-agp.c long long tmp; tmp 82 drivers/char/agp/amd64-agp.c tmp = agp_bridge->driver->mask_memory(agp_bridge, tmp 86 drivers/char/agp/amd64-agp.c BUG_ON(tmp & 0xffffff0000000ffcULL); tmp 87 drivers/char/agp/amd64-agp.c pte = (tmp & 0x000000ff00000000ULL) >> 28; tmp 88 drivers/char/agp/amd64-agp.c pte |=(tmp & 0x00000000fffff000ULL); tmp 155 drivers/char/agp/amd64-agp.c u32 tmp; tmp 159 drivers/char/agp/amd64-agp.c pci_read_config_dword(hammer, AMD64_GARTAPERTUREBASE, &tmp); tmp 160 drivers/char/agp/amd64-agp.c aperturebase = (u64)tmp << 25; tmp 200 drivers/char/agp/amd64-agp.c u32 tmp; tmp 209 drivers/char/agp/amd64-agp.c pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &tmp); tmp 210 drivers/char/agp/amd64-agp.c tmp &= ~GARTEN; tmp 211 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev, AMD64_GARTAPERTURECTL, tmp); tmp 454 drivers/char/agp/amd64-agp.c u32 tmp, apbase, apbar, aplimit; tmp 477 drivers/char/agp/amd64-agp.c pci_read_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, &tmp); tmp 478 drivers/char/agp/amd64-agp.c tmp &= ~(0xf); tmp 479 drivers/char/agp/amd64-agp.c tmp |= nforce3_sizes[i].size_value; tmp 480 drivers/char/agp/amd64-agp.c pci_write_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, tmp); tmp 480 drivers/char/agp/generic.c u32 tmp; tmp 514 drivers/char/agp/generic.c tmp = *requested_mode & 7; tmp 515 drivers/char/agp/generic.c switch (tmp) { tmp 584 drivers/char/agp/generic.c u32 tmp; tmp 593 drivers/char/agp/generic.c tmp = *requested_mode & 7; tmp 594 drivers/char/agp/generic.c if (tmp == 0) { tmp 598 drivers/char/agp/generic.c if (tmp >= 3) { tmp 599 drivers/char/agp/generic.c printk(KERN_INFO PFX "%s tried to set rate=x%d. Setting to AGP3 x8 mode.\n", current->comm, tmp * 4); tmp 40 drivers/char/agp/isoch.c struct list_head *pos, *tmp, *head = &list->list, *start = head->next; tmp 52 drivers/char/agp/isoch.c tmp = pos; tmp 54 drivers/char/agp/isoch.c agp_3_5_dev_list_insert(head, tmp); tmp 93 drivers/char/agp/uninorth-agp.c u32 tmp; tmp 95 drivers/char/agp/uninorth-agp.c pci_read_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL, &tmp); tmp 96 drivers/char/agp/uninorth-agp.c if (!(tmp & UNI_N_CFG_GART_ENABLE)) tmp 98 drivers/char/agp/uninorth-agp.c tmp |= UNI_N_CFG_GART_INVAL; tmp 99 drivers/char/agp/uninorth-agp.c pci_write_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL, tmp); tmp 543 drivers/char/applicom.c unsigned char tmp; tmp 567 drivers/char/applicom.c tmp = readb(apbs[i].RamIO + DATA_TO_PC_READY); tmp 569 drivers/char/applicom.c if (tmp == 2) { tmp 584 drivers/char/applicom.c return tmp; tmp 587 drivers/char/applicom.c if (tmp > 2) { tmp 818 drivers/char/hpet.c unsigned long tmp; tmp 826 drivers/char/hpet.c tmp = __hpet_calibrate(hpetp); tmp 827 drivers/char/hpet.c if (ret <= tmp) tmp 829 drivers/char/hpet.c ret = tmp; tmp 460 drivers/char/hw_random/core.c struct hwrng *old_rng, *tmp; tmp 469 drivers/char/hw_random/core.c list_for_each_entry(tmp, &rng_list, list) { tmp 470 drivers/char/hw_random/core.c if (strcmp(tmp->name, rng->name) == 0) tmp 479 drivers/char/hw_random/core.c tmp = list_entry(rng_list_ptr, struct hwrng, list); tmp 480 drivers/char/hw_random/core.c if (tmp->quality < rng->quality) tmp 323 drivers/char/ipmi/ipmi_si_platform.c unsigned long long tmp; tmp 341 drivers/char/ipmi/ipmi_si_platform.c status = acpi_evaluate_integer(handle, "_IFT", NULL, &tmp); tmp 348 drivers/char/ipmi/ipmi_si_platform.c switch (tmp) { tmp 362 drivers/char/ipmi/ipmi_si_platform.c dev_info(&pdev->dev, "unknown IPMI type %lld\n", tmp); tmp 376 drivers/char/ipmi/ipmi_si_platform.c status = acpi_evaluate_integer(handle, "_GPE", NULL, &tmp); tmp 378 drivers/char/ipmi/ipmi_si_platform.c io.irq = tmp; tmp 2010 drivers/char/ipmi/ipmi_ssif.c struct ssif_addr_info *info, *tmp; tmp 2013 drivers/char/ipmi/ipmi_ssif.c list_for_each_entry_safe(info, tmp, &ssif_infos, link) { tmp 70 drivers/char/ipmi/kcs_bmc.c u8 tmp = read_status(kcs_bmc); tmp 72 drivers/char/ipmi/kcs_bmc.c tmp &= ~mask; tmp 73 drivers/char/ipmi/kcs_bmc.c tmp |= val & mask; tmp 75 drivers/char/ipmi/kcs_bmc.c write_status(kcs_bmc, tmp); tmp 631 drivers/char/mem.c char __user *tmp = buf; tmp 636 drivers/char/mem.c if (__put_user(inb(i), tmp) < 0) tmp 639 drivers/char/mem.c tmp++; tmp 642 drivers/char/mem.c return tmp-buf; tmp 649 drivers/char/mem.c const char __user *tmp = buf; tmp 656 drivers/char/mem.c if (__get_user(c, tmp)) { tmp 657 drivers/char/mem.c if (tmp > buf) tmp 663 drivers/char/mem.c tmp++; tmp 666 drivers/char/mem.c return tmp-buf; tmp 231 drivers/char/nvram.c char *tmp; tmp 243 drivers/char/nvram.c tmp = kmalloc(count, GFP_KERNEL); tmp 244 drivers/char/nvram.c if (!tmp) tmp 247 drivers/char/nvram.c ret = nvram_read(tmp, count, ppos); tmp 251 drivers/char/nvram.c if (copy_to_user(buf, tmp, ret)) { tmp 257 drivers/char/nvram.c kfree(tmp); tmp 264 drivers/char/nvram.c char *tmp; tmp 275 drivers/char/nvram.c tmp = memdup_user(buf, count); tmp 276 drivers/char/nvram.c if (IS_ERR(tmp)) tmp 277 drivers/char/nvram.c return PTR_ERR(tmp); tmp 279 drivers/char/nvram.c ret = nvram_write(tmp, count, ppos); tmp 280 drivers/char/nvram.c kfree(tmp); tmp 307 drivers/char/pcmcia/cm4000_cs.c unsigned short tmp; tmp 309 drivers/char/pcmcia/cm4000_cs.c tmp = *s = 0; tmp 311 drivers/char/pcmcia/cm4000_cs.c *s = tmp; tmp 312 drivers/char/pcmcia/cm4000_cs.c tmp = inb(REG_NUM_BYTES(iobase)) | tmp 314 drivers/char/pcmcia/cm4000_cs.c } while (tmp != *s); tmp 452 drivers/char/pcmcia/cm4000_cs.c unsigned long tmp, i; tmp 470 drivers/char/pcmcia/cm4000_cs.c tmp = ptsreq->protocol; tmp 471 drivers/char/pcmcia/cm4000_cs.c while ((tmp = (tmp >> 1)) > 0) tmp 1051 drivers/char/pcmcia/cm4000_cs.c unsigned char tmp; tmp 1149 drivers/char/pcmcia/cm4000_cs.c tmp = inb(REG_FLAGS1(iobase)); tmp 1482 drivers/char/pcmcia/cm4000_cs.c int tmp; tmp 1498 drivers/char/pcmcia/cm4000_cs.c tmp = -1; tmp 1499 drivers/char/pcmcia/cm4000_cs.c if (copy_to_user(&(atreq->atr_len), &tmp, tmp 1507 drivers/char/pcmcia/cm4000_cs.c tmp = dev->atr_len; tmp 1508 drivers/char/pcmcia/cm4000_cs.c if (copy_to_user(&(atreq->atr_len), &tmp, sizeof(int))) tmp 335 drivers/char/ps3flash.c unsigned long tmp; tmp 337 drivers/char/ps3flash.c tmp = dev->regions[dev->region_idx].start*dev->blk_size; tmp 338 drivers/char/ps3flash.c if (tmp % FLASH_BLOCK_SIZE) { tmp 341 drivers/char/ps3flash.c __LINE__, tmp); tmp 344 drivers/char/ps3flash.c tmp = dev->regions[dev->region_idx].size*dev->blk_size; tmp 345 drivers/char/ps3flash.c if (tmp % FLASH_BLOCK_SIZE) { tmp 348 drivers/char/ps3flash.c __LINE__, tmp); tmp 506 drivers/char/random.c __u8 tmp[CHACHA_BLOCK_SIZE], int used); tmp 694 drivers/char/random.c struct random_ready_callback *rdy, *tmp; tmp 697 drivers/char/random.c list_for_each_entry_safe(rdy, tmp, &random_ready_list, list) { tmp 973 drivers/char/random.c unsigned char tmp; tmp 988 drivers/char/random.c tmp = lfsr; tmp 990 drivers/char/random.c if (tmp & 1) tmp 992 drivers/char/random.c tmp = dest_buf[i % CHACHA_KEY_SIZE]; tmp 994 drivers/char/random.c lfsr += (tmp << 3) | (tmp >> 5); tmp 1087 drivers/char/random.c __u8 tmp[CHACHA_BLOCK_SIZE], int used) tmp 1095 drivers/char/random.c extract_crng(tmp); tmp 1099 drivers/char/random.c s = (__u32 *) &tmp[used]; tmp 1106 drivers/char/random.c static void crng_backtrack_protect(__u8 tmp[CHACHA_BLOCK_SIZE], int used) tmp 1116 drivers/char/random.c _crng_backtrack_protect(crng, tmp, used); tmp 1122 drivers/char/random.c __u8 tmp[CHACHA_BLOCK_SIZE] __aligned(4); tmp 1135 drivers/char/random.c extract_crng(tmp); tmp 1137 drivers/char/random.c if (copy_to_user(buf, tmp, i)) { tmp 1146 drivers/char/random.c crng_backtrack_protect(tmp, i); tmp 1149 drivers/char/random.c memzero_explicit(tmp, sizeof(tmp)); tmp 1410 drivers/char/random.c __u32 tmp[OUTPUT_POOL_WORDS]; tmp 1417 drivers/char/random.c bytes = min_t(int, bytes, sizeof(tmp)); tmp 1421 drivers/char/random.c bytes = extract_entropy(r->pull, tmp, bytes, tmp 1423 drivers/char/random.c mix_pool_bytes(r, tmp, bytes); tmp 1557 drivers/char/random.c __u8 tmp[EXTRACT_SIZE]; tmp 1561 drivers/char/random.c extract_buf(r, tmp); tmp 1565 drivers/char/random.c if (!memcmp(tmp, r->last_data, EXTRACT_SIZE)) tmp 1567 drivers/char/random.c memcpy(r->last_data, tmp, EXTRACT_SIZE); tmp 1571 drivers/char/random.c memcpy(buf, tmp, i); tmp 1578 drivers/char/random.c memzero_explicit(tmp, sizeof(tmp)); tmp 1595 drivers/char/random.c __u8 tmp[EXTRACT_SIZE]; tmp 1607 drivers/char/random.c extract_buf(r, tmp); tmp 1609 drivers/char/random.c memcpy(r->last_data, tmp, EXTRACT_SIZE); tmp 1629 drivers/char/random.c __u8 tmp[EXTRACT_SIZE]; tmp 1651 drivers/char/random.c extract_buf(r, tmp); tmp 1653 drivers/char/random.c if (copy_to_user(buf, tmp, i)) { tmp 1664 drivers/char/random.c memzero_explicit(tmp, sizeof(tmp)); tmp 1707 drivers/char/random.c __u8 tmp[CHACHA_BLOCK_SIZE] __aligned(4); tmp 1718 drivers/char/random.c extract_crng(tmp); tmp 1719 drivers/char/random.c memcpy(buf, tmp, nbytes); tmp 1720 drivers/char/random.c crng_backtrack_protect(tmp, nbytes); tmp 1722 drivers/char/random.c crng_backtrack_protect(tmp, CHACHA_BLOCK_SIZE); tmp 1723 drivers/char/random.c memzero_explicit(tmp, sizeof(tmp)); tmp 634 drivers/char/rtc.c int tmp = 0; tmp 652 drivers/char/rtc.c while (arg > (1<<tmp)) tmp 653 drivers/char/rtc.c tmp++; tmp 658 drivers/char/rtc.c if (arg != (1<<tmp)) tmp 670 drivers/char/rtc.c val |= (16 - tmp); tmp 739 drivers/char/rtc.c unsigned char tmp; tmp 751 drivers/char/rtc.c tmp = CMOS_READ(RTC_CONTROL); tmp 752 drivers/char/rtc.c tmp &= ~RTC_PIE; tmp 753 drivers/char/rtc.c tmp &= ~RTC_AIE; tmp 754 drivers/char/rtc.c tmp &= ~RTC_UIE; tmp 755 drivers/char/rtc.c CMOS_WRITE(tmp, RTC_CONTROL); tmp 329 drivers/char/tlclk.c unsigned long tmp; tmp 333 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 334 drivers/char/tlclk.c dev_dbg(d, ": tmp = 0x%lX\n", tmp); tmp 336 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 351 drivers/char/tlclk.c unsigned long tmp; tmp 355 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 356 drivers/char/tlclk.c dev_dbg(d, ": tmp = 0x%lX\n", tmp); tmp 358 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 373 drivers/char/tlclk.c unsigned long tmp; tmp 377 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 378 drivers/char/tlclk.c dev_dbg(d, ": tmp = 0x%lX\n", tmp); tmp 380 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 395 drivers/char/tlclk.c unsigned long tmp; tmp 398 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 399 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 401 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 416 drivers/char/tlclk.c unsigned long tmp; tmp 419 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 420 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 422 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 438 drivers/char/tlclk.c unsigned long tmp; tmp 441 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 442 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 444 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 459 drivers/char/tlclk.c unsigned long tmp; tmp 462 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 463 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 465 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 480 drivers/char/tlclk.c unsigned long tmp; tmp 483 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 484 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 486 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 501 drivers/char/tlclk.c unsigned long tmp; tmp 504 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 505 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 507 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 542 drivers/char/tlclk.c unsigned long tmp; tmp 546 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 547 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 549 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 584 drivers/char/tlclk.c unsigned long tmp; tmp 588 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 589 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 591 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 605 drivers/char/tlclk.c unsigned long tmp; tmp 609 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 610 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 612 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 626 drivers/char/tlclk.c unsigned long tmp; tmp 630 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 631 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 633 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 646 drivers/char/tlclk.c unsigned long tmp; tmp 650 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 651 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 653 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 667 drivers/char/tlclk.c unsigned long tmp; tmp 671 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 672 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 674 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 688 drivers/char/tlclk.c unsigned long tmp; tmp 691 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 692 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 707 drivers/char/tlclk.c unsigned long tmp; tmp 711 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 712 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 714 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 727 drivers/char/tlclk.c unsigned long tmp; tmp 731 drivers/char/tlclk.c sscanf(buf, "%lX", &tmp); tmp 732 drivers/char/tlclk.c dev_dbg(d, "tmp = 0x%lX\n", tmp); tmp 734 drivers/char/tlclk.c val = (unsigned char)tmp; tmp 24 drivers/char/tpm/eventlog/efi.c void *tmp; tmp 80 drivers/char/tpm/eventlog/efi.c tmp = krealloc(log->bios_event_log, tmp 83 drivers/char/tpm/eventlog/efi.c if (!tmp) { tmp 89 drivers/char/tpm/eventlog/efi.c log->bios_event_log = tmp; tmp 119 drivers/char/tpm/tpm_ppi.c union acpi_object *obj, tmp[2]; tmp 120 drivers/char/tpm/tpm_ppi.c union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(2, tmp); tmp 140 drivers/char/tpm/tpm_ppi.c if (sscanf(buf, "%llu %llu", &tmp[0].integer.value, tmp 141 drivers/char/tpm/tpm_ppi.c &tmp[1].integer.value) != 2) tmp 144 drivers/char/tpm/tpm_ppi.c tmp[0].type = ACPI_TYPE_INTEGER; tmp 145 drivers/char/tpm/tpm_ppi.c tmp[1].type = ACPI_TYPE_INTEGER; tmp 155 drivers/char/tpm/tpm_ppi.c tmp[0].type = ACPI_TYPE_INTEGER; tmp 156 drivers/char/tpm/tpm_ppi.c if (sscanf(buf, "%llu", &tmp[0].integer.value) != 1) tmp 182 drivers/char/tpm/tpm_ppi.c union acpi_object tmp = { tmp 203 drivers/char/tpm/tpm_ppi.c obj = &tmp; tmp 288 drivers/char/tpm/tpm_ppi.c union acpi_object *obj, tmp; tmp 289 drivers/char/tpm/tpm_ppi.c union acpi_object argv = ACPI_INIT_DSM_ARGV4(1, &tmp); tmp 303 drivers/char/tpm/tpm_ppi.c tmp.integer.type = ACPI_TYPE_INTEGER; tmp 305 drivers/char/tpm/tpm_ppi.c tmp.integer.value = i; tmp 393 drivers/char/virtio_console.c struct port_buffer *buf, *tmp; tmp 406 drivers/char/virtio_console.c list_for_each_entry_safe(buf, tmp, &tmp_list, list) { tmp 221 drivers/clk/at91/clk-audio-pll.c unsigned long long tmp, rem; tmp 226 drivers/clk/at91/clk-audio-pll.c tmp = rate; tmp 227 drivers/clk/at91/clk-audio-pll.c rem = do_div(tmp, parent_rate); tmp 228 drivers/clk/at91/clk-audio-pll.c if (!tmp || tmp >= AUDIO_PLL_ND_MAX) tmp 231 drivers/clk/at91/clk-audio-pll.c *nd = tmp - 1; tmp 233 drivers/clk/at91/clk-audio-pll.c tmp = rem * AUDIO_PLL_DIV_FRAC; tmp 234 drivers/clk/at91/clk-audio-pll.c tmp = DIV_ROUND_CLOSEST_ULL(tmp, parent_rate); tmp 235 drivers/clk/at91/clk-audio-pll.c if (tmp > AT91_PMC_AUDIO_PLL_FRACR_MASK) tmp 239 drivers/clk/at91/clk-audio-pll.c *fracr = (unsigned long)tmp; tmp 257 drivers/clk/at91/clk-generated.c u32 tmp; tmp 263 drivers/clk/at91/clk-generated.c regmap_read(gck->regmap, gck->layout->offset, &tmp); tmp 266 drivers/clk/at91/clk-generated.c gck->parent_id = field_get(gck->layout->gckcss_mask, tmp); tmp 267 drivers/clk/at91/clk-generated.c gck->gckdiv = FIELD_GET(AT91_PMC_PCR_GCKDIV_MASK, tmp); tmp 72 drivers/clk/at91/clk-main.c u32 tmp; tmp 74 drivers/clk/at91/clk-main.c regmap_read(regmap, AT91_CKGR_MOR, &tmp); tmp 75 drivers/clk/at91/clk-main.c tmp &= ~MOR_KEY_MASK; tmp 77 drivers/clk/at91/clk-main.c if (tmp & AT91_PMC_OSCBYPASS) tmp 80 drivers/clk/at91/clk-main.c if (!(tmp & AT91_PMC_MOSCEN)) { tmp 81 drivers/clk/at91/clk-main.c tmp |= AT91_PMC_MOSCEN | AT91_PMC_KEY; tmp 82 drivers/clk/at91/clk-main.c regmap_write(regmap, AT91_CKGR_MOR, tmp); tmp 95 drivers/clk/at91/clk-main.c u32 tmp; tmp 97 drivers/clk/at91/clk-main.c regmap_read(regmap, AT91_CKGR_MOR, &tmp); tmp 98 drivers/clk/at91/clk-main.c if (tmp & AT91_PMC_OSCBYPASS) tmp 101 drivers/clk/at91/clk-main.c if (!(tmp & AT91_PMC_MOSCEN)) tmp 104 drivers/clk/at91/clk-main.c tmp &= ~(AT91_PMC_KEY | AT91_PMC_MOSCEN); tmp 105 drivers/clk/at91/clk-main.c regmap_write(regmap, AT91_CKGR_MOR, tmp | AT91_PMC_KEY); tmp 112 drivers/clk/at91/clk-main.c u32 tmp, status; tmp 114 drivers/clk/at91/clk-main.c regmap_read(regmap, AT91_CKGR_MOR, &tmp); tmp 115 drivers/clk/at91/clk-main.c if (tmp & AT91_PMC_OSCBYPASS) tmp 120 drivers/clk/at91/clk-main.c return (status & AT91_PMC_MOSCS) && clk_main_parent_select(tmp); tmp 434 drivers/clk/at91/clk-main.c unsigned int tmp; tmp 439 drivers/clk/at91/clk-main.c regmap_read(regmap, AT91_CKGR_MOR, &tmp); tmp 440 drivers/clk/at91/clk-main.c tmp &= ~MOR_KEY_MASK; tmp 442 drivers/clk/at91/clk-main.c if (index && !(tmp & AT91_PMC_MOSCSEL)) tmp 443 drivers/clk/at91/clk-main.c regmap_write(regmap, AT91_CKGR_MOR, tmp | AT91_PMC_MOSCSEL); tmp 444 drivers/clk/at91/clk-main.c else if (!index && (tmp & AT91_PMC_MOSCSEL)) tmp 445 drivers/clk/at91/clk-main.c regmap_write(regmap, AT91_CKGR_MOR, tmp & ~AT91_PMC_MOSCSEL); tmp 44 drivers/clk/at91/clk-smd.c unsigned long tmp; tmp 54 drivers/clk/at91/clk-smd.c tmp = *parent_rate / (div + 1); tmp 55 drivers/clk/at91/clk-smd.c if (bestrate - rate > rate - tmp) tmp 56 drivers/clk/at91/clk-smd.c bestrate = tmp; tmp 492 drivers/clk/at91/dt-compat.c u32 tmp; tmp 511 drivers/clk/at91/dt-compat.c if (!of_get_property(np, "atmel,pll-clk-output-ranges", &tmp)) tmp 513 drivers/clk/at91/dt-compat.c num_output = tmp / (sizeof(u32) * num_cells); tmp 539 drivers/clk/at91/dt-compat.c offset, &tmp)) tmp 541 drivers/clk/at91/dt-compat.c output[i].min = tmp; tmp 544 drivers/clk/at91/dt-compat.c offset + 1, &tmp)) tmp 546 drivers/clk/at91/dt-compat.c output[i].max = tmp; tmp 553 drivers/clk/at91/dt-compat.c offset + 2, &tmp)) tmp 555 drivers/clk/at91/dt-compat.c out[i] = tmp; tmp 562 drivers/clk/at91/dt-compat.c offset + 3, &tmp)) tmp 564 drivers/clk/at91/dt-compat.c icpll[i] = tmp; tmp 226 drivers/clk/at91/pmc.c u32 tmp; tmp 229 drivers/clk/at91/pmc.c regmap_read(pmcreg, AT91_PMC_MCKR, &tmp); tmp 230 drivers/clk/at91/pmc.c if (pmc_cache.mckr != tmp) tmp 232 drivers/clk/at91/pmc.c regmap_read(pmcreg, AT91_CKGR_PLLAR, &tmp); tmp 233 drivers/clk/at91/pmc.c if (pmc_cache.pllar != tmp) tmp 72 drivers/clk/at91/sckc.c u32 tmp = readl(sckcr); tmp 74 drivers/clk/at91/sckc.c if (tmp & (osc->bits->cr_osc32byp | osc->bits->cr_osc32en)) tmp 77 drivers/clk/at91/sckc.c writel(tmp | osc->bits->cr_osc32en, sckcr); tmp 91 drivers/clk/at91/sckc.c u32 tmp = readl(sckcr); tmp 93 drivers/clk/at91/sckc.c if (tmp & osc->bits->cr_osc32byp) tmp 96 drivers/clk/at91/sckc.c writel(tmp & ~osc->bits->cr_osc32en, sckcr); tmp 103 drivers/clk/at91/sckc.c u32 tmp = readl(sckcr); tmp 105 drivers/clk/at91/sckc.c if (tmp & osc->bits->cr_osc32byp) tmp 108 drivers/clk/at91/sckc.c return !!(tmp & osc->bits->cr_osc32en); tmp 279 drivers/clk/at91/sckc.c u32 tmp; tmp 284 drivers/clk/at91/sckc.c tmp = readl(sckcr); tmp 286 drivers/clk/at91/sckc.c if ((!index && !(tmp & slowck->bits->cr_oscsel)) || tmp 287 drivers/clk/at91/sckc.c (index && (tmp & slowck->bits->cr_oscsel))) tmp 291 drivers/clk/at91/sckc.c tmp |= slowck->bits->cr_oscsel; tmp 293 drivers/clk/at91/sckc.c tmp &= ~slowck->bits->cr_oscsel; tmp 295 drivers/clk/at91/sckc.c writel(tmp, sckcr); tmp 303 drivers/clk/clk-axi-clkgen.c unsigned long long tmp; tmp 310 drivers/clk/clk-axi-clkgen.c tmp = (unsigned long long)*parent_rate * m; tmp 311 drivers/clk/clk-axi-clkgen.c tmp = DIV_ROUND_CLOSEST_ULL(tmp, dout * d); tmp 313 drivers/clk/clk-axi-clkgen.c return min_t(unsigned long long, tmp, LONG_MAX); tmp 322 drivers/clk/clk-axi-clkgen.c unsigned long long tmp; tmp 349 drivers/clk/clk-axi-clkgen.c tmp = (unsigned long long)parent_rate * m; tmp 350 drivers/clk/clk-axi-clkgen.c tmp = DIV_ROUND_CLOSEST_ULL(tmp, dout * d); tmp 352 drivers/clk/clk-axi-clkgen.c return min_t(unsigned long long, tmp, ULONG_MAX); tmp 45 drivers/clk/clk-clps711x.c u32 tmp, f_cpu, f_pll, f_bus, f_tim, f_pwm, f_spi, fref = 0; tmp 62 drivers/clk/clk-clps711x.c tmp = readl(base + CLPS711X_PLLR) >> 24; tmp 63 drivers/clk/clk-clps711x.c if (((tmp >= 10) && (tmp <= 50)) || !fref) tmp 64 drivers/clk/clk-clps711x.c f_pll = DIV_ROUND_UP(CLPS711X_OSC_FREQ * tmp, 2); tmp 68 drivers/clk/clk-clps711x.c tmp = readl(base + CLPS711X_SYSFLG2); tmp 69 drivers/clk/clk-clps711x.c if (tmp & SYSFLG2_CKMODE) { tmp 85 drivers/clk/clk-clps711x.c if (tmp & SYSFLG2_CKMODE) { tmp 93 drivers/clk/clk-clps711x.c tmp = readl(base + CLPS711X_SYSCON1); tmp 98 drivers/clk/clk-clps711x.c tmp &= ~(SYSCON1_TC1M | SYSCON1_TC1S); tmp 103 drivers/clk/clk-clps711x.c tmp |= SYSCON1_TC2M | SYSCON1_TC2S; tmp 104 drivers/clk/clk-clps711x.c writel(tmp, base + CLPS711X_SYSCON1); tmp 136 drivers/clk/clk-clps711x.c for (tmp = 0; tmp < CLPS711X_CLK_MAX; tmp++) tmp 137 drivers/clk/clk-clps711x.c if (IS_ERR(clps711x_clk->clk_data.hws[tmp])) tmp 139 drivers/clk/clk-clps711x.c tmp, PTR_ERR(clps711x_clk->clk_data.hws[tmp])); tmp 247 drivers/clk/clk-cs2000-cp.c s32 tmp; tmp 253 drivers/clk/clk-cs2000-cp.c tmp = cs2000_read(priv, Ratio_Add(ch, i)); tmp 254 drivers/clk/clk-cs2000-cp.c if (tmp < 0) tmp 257 drivers/clk/clk-cs2000-cp.c val |= Val_Ratio(tmp, i); tmp 170 drivers/clk/clk-si514.c u32 tmp; tmp 182 drivers/clk/clk-si514.c tmp = 2 * HS_DIV_MAX; tmp 183 drivers/clk/clk-si514.c while (tmp <= (HS_DIV_MAX * 32)) { tmp 184 drivers/clk/clk-si514.c if ((frequency * tmp) >= FVCO_MIN) tmp 187 drivers/clk/clk-si514.c tmp <<= 1; tmp 225 drivers/clk/clk-si544.c u32 tmp; tmp 236 drivers/clk/clk-si544.c tmp = 2 * HS_DIV_MAX; tmp 237 drivers/clk/clk-si544.c while (tmp <= (HS_DIV_MAX * 32)) { tmp 238 drivers/clk/clk-si544.c if (((u64)frequency * tmp) >= FVCO_MIN) tmp 241 drivers/clk/clk-si544.c tmp <<= 1; tmp 261 drivers/clk/clk-si544.c tmp = do_div(vco, FXO); tmp 265 drivers/clk/clk-si544.c vco = (u64)tmp << 32; tmp 99 drivers/clk/clk-si570.c u64 tmp; tmp 112 drivers/clk/clk-si570.c tmp = reg[1] & RFREQ_37_32_MASK; tmp 113 drivers/clk/clk-si570.c tmp = (tmp << 8) + reg[2]; tmp 114 drivers/clk/clk-si570.c tmp = (tmp << 8) + reg[3]; tmp 115 drivers/clk/clk-si570.c tmp = (tmp << 8) + reg[4]; tmp 116 drivers/clk/clk-si570.c tmp = (tmp << 8) + reg[5]; tmp 117 drivers/clk/clk-si570.c *rfreq = tmp; tmp 2013 drivers/clk/clk.c struct hlist_node *tmp; tmp 2093 drivers/clk/clk.c hlist_for_each_entry_safe(child, tmp, &core->children, child_node) { tmp 55 drivers/clk/imx/clk-pfd.c u64 tmp = parent_rate; tmp 58 drivers/clk/imx/clk-pfd.c tmp *= 18; tmp 59 drivers/clk/imx/clk-pfd.c do_div(tmp, frac); tmp 61 drivers/clk/imx/clk-pfd.c return tmp; tmp 67 drivers/clk/imx/clk-pfd.c u64 tmp = *prate; tmp 70 drivers/clk/imx/clk-pfd.c tmp = tmp * 18 + rate / 2; tmp 71 drivers/clk/imx/clk-pfd.c do_div(tmp, rate); tmp 72 drivers/clk/imx/clk-pfd.c frac = tmp; tmp 77 drivers/clk/imx/clk-pfd.c tmp = *prate; tmp 78 drivers/clk/imx/clk-pfd.c tmp *= 18; tmp 79 drivers/clk/imx/clk-pfd.c do_div(tmp, frac); tmp 81 drivers/clk/imx/clk-pfd.c return tmp; tmp 88 drivers/clk/imx/clk-pfd.c u64 tmp = parent_rate; tmp 91 drivers/clk/imx/clk-pfd.c tmp = tmp * 18 + rate / 2; tmp 92 drivers/clk/imx/clk-pfd.c do_div(tmp, rate); tmp 93 drivers/clk/imx/clk-pfd.c frac = tmp; tmp 83 drivers/clk/imx/clk-pfdv2.c u64 tmp = parent_rate; tmp 95 drivers/clk/imx/clk-pfdv2.c tmp *= 18; tmp 96 drivers/clk/imx/clk-pfdv2.c do_div(tmp, frac); tmp 98 drivers/clk/imx/clk-pfdv2.c return tmp; tmp 104 drivers/clk/imx/clk-pfdv2.c u64 tmp = *prate; tmp 107 drivers/clk/imx/clk-pfdv2.c tmp = tmp * 18 + rate / 2; tmp 108 drivers/clk/imx/clk-pfdv2.c do_div(tmp, rate); tmp 109 drivers/clk/imx/clk-pfdv2.c frac = tmp; tmp 116 drivers/clk/imx/clk-pfdv2.c tmp = *prate; tmp 117 drivers/clk/imx/clk-pfdv2.c tmp *= 18; tmp 118 drivers/clk/imx/clk-pfdv2.c do_div(tmp, frac); tmp 120 drivers/clk/imx/clk-pfdv2.c return tmp; tmp 138 drivers/clk/imx/clk-pfdv2.c u64 tmp = parent_rate; tmp 142 drivers/clk/imx/clk-pfdv2.c tmp = tmp * 18 + rate / 2; tmp 143 drivers/clk/imx/clk-pfdv2.c do_div(tmp, rate); tmp 144 drivers/clk/imx/clk-pfdv2.c frac = tmp; tmp 139 drivers/clk/imx/clk-pll14xx.c u32 tmp, div_val; tmp 149 drivers/clk/imx/clk-pll14xx.c tmp = readl_relaxed(pll->base + 4); tmp 151 drivers/clk/imx/clk-pll14xx.c if (!clk_pll14xx_mp_change(rate, tmp)) { tmp 152 drivers/clk/imx/clk-pll14xx.c tmp &= ~(SDIV_MASK) << SDIV_SHIFT; tmp 153 drivers/clk/imx/clk-pll14xx.c tmp |= rate->sdiv << SDIV_SHIFT; tmp 154 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base + 4); tmp 160 drivers/clk/imx/clk-pll14xx.c tmp = readl_relaxed(pll->base); tmp 161 drivers/clk/imx/clk-pll14xx.c tmp |= LOCK_SEL_MASK; tmp 162 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base); tmp 165 drivers/clk/imx/clk-pll14xx.c tmp &= ~RST_MASK; tmp 166 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base); tmp 169 drivers/clk/imx/clk-pll14xx.c tmp |= BYPASS_MASK; tmp 170 drivers/clk/imx/clk-pll14xx.c writel(tmp, pll->base); tmp 185 drivers/clk/imx/clk-pll14xx.c tmp |= RST_MASK; tmp 186 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base); tmp 194 drivers/clk/imx/clk-pll14xx.c tmp &= ~BYPASS_MASK; tmp 195 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base); tmp 205 drivers/clk/imx/clk-pll14xx.c u32 tmp, div_val; tmp 215 drivers/clk/imx/clk-pll14xx.c tmp = readl_relaxed(pll->base + 4); tmp 217 drivers/clk/imx/clk-pll14xx.c if (!clk_pll14xx_mp_change(rate, tmp)) { tmp 218 drivers/clk/imx/clk-pll14xx.c tmp &= ~(SDIV_MASK) << SDIV_SHIFT; tmp 219 drivers/clk/imx/clk-pll14xx.c tmp |= rate->sdiv << SDIV_SHIFT; tmp 220 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base + 4); tmp 222 drivers/clk/imx/clk-pll14xx.c tmp = rate->kdiv << KDIV_SHIFT; tmp 223 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base + 8); tmp 229 drivers/clk/imx/clk-pll14xx.c tmp = readl_relaxed(pll->base); tmp 230 drivers/clk/imx/clk-pll14xx.c tmp &= ~RST_MASK; tmp 231 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base); tmp 234 drivers/clk/imx/clk-pll14xx.c tmp |= BYPASS_MASK; tmp 235 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base); tmp 251 drivers/clk/imx/clk-pll14xx.c tmp |= RST_MASK; tmp 252 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base); tmp 260 drivers/clk/imx/clk-pll14xx.c tmp &= ~BYPASS_MASK; tmp 261 drivers/clk/imx/clk-pll14xx.c writel_relaxed(tmp, pll->base); tmp 32 drivers/clk/mmp/clk-gate.c u32 tmp; tmp 37 drivers/clk/mmp/clk-gate.c tmp = readl(gate->reg); tmp 38 drivers/clk/mmp/clk-gate.c tmp &= ~gate->mask; tmp 39 drivers/clk/mmp/clk-gate.c tmp |= gate->val_enable; tmp 40 drivers/clk/mmp/clk-gate.c writel(tmp, gate->reg); tmp 58 drivers/clk/mmp/clk-gate.c u32 tmp; tmp 63 drivers/clk/mmp/clk-gate.c tmp = readl(gate->reg); tmp 64 drivers/clk/mmp/clk-gate.c tmp &= ~gate->mask; tmp 65 drivers/clk/mmp/clk-gate.c tmp |= gate->val_disable; tmp 66 drivers/clk/mmp/clk-gate.c writel(tmp, gate->reg); tmp 76 drivers/clk/mmp/clk-gate.c u32 tmp; tmp 81 drivers/clk/mmp/clk-gate.c tmp = readl(gate->reg); tmp 86 drivers/clk/mmp/clk-gate.c return (tmp & gate->mask) == gate->val_enable; tmp 53 drivers/clk/mxs/clk-frac.c u64 tmp, tmp_rate, result; tmp 58 drivers/clk/mxs/clk-frac.c tmp = rate; tmp 59 drivers/clk/mxs/clk-frac.c tmp <<= frac->width; tmp 60 drivers/clk/mxs/clk-frac.c do_div(tmp, parent_rate); tmp 61 drivers/clk/mxs/clk-frac.c div = tmp; tmp 79 drivers/clk/mxs/clk-frac.c u64 tmp; tmp 84 drivers/clk/mxs/clk-frac.c tmp = rate; tmp 85 drivers/clk/mxs/clk-frac.c tmp <<= frac->width; tmp 86 drivers/clk/mxs/clk-frac.c do_div(tmp, parent_rate); tmp 87 drivers/clk/mxs/clk-frac.c div = tmp; tmp 51 drivers/clk/mxs/clk-ref.c u64 tmp = parent_rate; tmp 54 drivers/clk/mxs/clk-ref.c tmp *= 18; tmp 55 drivers/clk/mxs/clk-ref.c do_div(tmp, frac); tmp 57 drivers/clk/mxs/clk-ref.c return tmp; tmp 64 drivers/clk/mxs/clk-ref.c u64 tmp = parent_rate; tmp 67 drivers/clk/mxs/clk-ref.c tmp = tmp * 18 + rate / 2; tmp 68 drivers/clk/mxs/clk-ref.c do_div(tmp, rate); tmp 69 drivers/clk/mxs/clk-ref.c frac = tmp; tmp 76 drivers/clk/mxs/clk-ref.c tmp = parent_rate; tmp 77 drivers/clk/mxs/clk-ref.c tmp *= 18; tmp 78 drivers/clk/mxs/clk-ref.c do_div(tmp, frac); tmp 80 drivers/clk/mxs/clk-ref.c return tmp; tmp 88 drivers/clk/mxs/clk-ref.c u64 tmp = parent_rate; tmp 92 drivers/clk/mxs/clk-ref.c tmp = tmp * 18 + rate / 2; tmp 93 drivers/clk/mxs/clk-ref.c do_div(tmp, rate); tmp 94 drivers/clk/mxs/clk-ref.c frac = tmp; tmp 327 drivers/clk/nxp/clk-lpc18xx-cgu.c u32 tmp; tmp 334 drivers/clk/nxp/clk-lpc18xx-cgu.c tmp = 1024 / (msel + 9); tmp 335 drivers/clk/nxp/clk-lpc18xx-cgu.c return ((1024 == (tmp * (msel + 9))) == 0) ? tmp * 4 : (tmp + 1) * 4; tmp 655 drivers/clk/qcom/clk-alpha-pll.c u64 rate = parent_rate, tmp; tmp 688 drivers/clk/qcom/clk-alpha-pll.c tmp = parent_rate; tmp 691 drivers/clk/qcom/clk-alpha-pll.c tmp *= alpha_m; tmp 692 drivers/clk/qcom/clk-alpha-pll.c do_div(tmp, alpha_n); tmp 693 drivers/clk/qcom/clk-alpha-pll.c rate -= tmp; tmp 695 drivers/clk/qcom/clk-alpha-pll.c tmp *= alpha_m; tmp 696 drivers/clk/qcom/clk-alpha-pll.c do_div(tmp, alpha_n); tmp 697 drivers/clk/qcom/clk-alpha-pll.c rate += tmp; tmp 85 drivers/clk/qcom/clk-pll.c u64 tmp; tmp 97 drivers/clk/qcom/clk-pll.c tmp = parent_rate; tmp 98 drivers/clk/qcom/clk-pll.c tmp *= m; tmp 99 drivers/clk/qcom/clk-pll.c do_div(tmp, n); tmp 100 drivers/clk/qcom/clk-pll.c rate += tmp; tmp 332 drivers/clk/qcom/clk-rcg.c u64 tmp = rate; tmp 333 drivers/clk/qcom/clk-rcg.c tmp *= m; tmp 334 drivers/clk/qcom/clk-rcg.c do_div(tmp, n); tmp 335 drivers/clk/qcom/clk-rcg.c rate = tmp; tmp 420 drivers/clk/qcom/clk-rcg.c u64 tmp = rate; tmp 421 drivers/clk/qcom/clk-rcg.c tmp = tmp * f->n; tmp 422 drivers/clk/qcom/clk-rcg.c do_div(tmp, f->m); tmp 423 drivers/clk/qcom/clk-rcg.c rate = tmp; tmp 155 drivers/clk/qcom/clk-rcg2.c u64 tmp = rate; tmp 156 drivers/clk/qcom/clk-rcg2.c tmp *= m; tmp 157 drivers/clk/qcom/clk-rcg2.c do_div(tmp, n); tmp 158 drivers/clk/qcom/clk-rcg2.c rate = tmp; tmp 233 drivers/clk/qcom/clk-rcg2.c u64 tmp = rate; tmp 234 drivers/clk/qcom/clk-rcg2.c tmp = tmp * f->n; tmp 235 drivers/clk/qcom/clk-rcg2.c do_div(tmp, f->m); tmp 236 drivers/clk/qcom/clk-rcg2.c rate = tmp; tmp 753 drivers/clk/samsung/clk-exynos3250.c unsigned int tmp; tmp 759 drivers/clk/samsung/clk-exynos3250.c tmp = (PWR_CTRL1_CORE2_DOWN_RATIO(7) | PWR_CTRL1_CORE1_DOWN_RATIO(7) | tmp 763 drivers/clk/samsung/clk-exynos3250.c __raw_writel(tmp, reg_base + PWR_CTRL1); tmp 1170 drivers/clk/samsung/clk-exynos4.c unsigned int tmp; tmp 1176 drivers/clk/samsung/clk-exynos4.c tmp = (PWR_CTRL1_CORE2_DOWN_RATIO(7) | PWR_CTRL1_CORE1_DOWN_RATIO(7) | tmp 1182 drivers/clk/samsung/clk-exynos4.c tmp |= PWR_CTRL1_USE_CORE3_WFE | PWR_CTRL1_USE_CORE2_WFE | tmp 1184 drivers/clk/samsung/clk-exynos4.c writel_relaxed(tmp, reg_base + PWR_CTRL1); tmp 784 drivers/clk/samsung/clk-exynos5250.c unsigned int tmp; tmp 832 drivers/clk/samsung/clk-exynos5250.c tmp = (PWR_CTRL1_CORE2_DOWN_RATIO | PWR_CTRL1_CORE1_DOWN_RATIO | tmp 836 drivers/clk/samsung/clk-exynos5250.c __raw_writel(tmp, reg_base + PWR_CTRL1); tmp 843 drivers/clk/samsung/clk-exynos5250.c tmp = (PWR_CTRL2_DIV2_UP_EN | PWR_CTRL2_DIV1_UP_EN | tmp 846 drivers/clk/samsung/clk-exynos5250.c __raw_writel(tmp, reg_base + PWR_CTRL2); tmp 69 drivers/clk/samsung/clk-pll.c u32 tmp; tmp 71 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 72 drivers/clk/samsung/clk-pll.c tmp |= BIT(pll->enable_offs); tmp 73 drivers/clk/samsung/clk-pll.c writel_relaxed(tmp, pll->con_reg); tmp 78 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 79 drivers/clk/samsung/clk-pll.c } while (!(tmp & BIT(pll->lock_offs))); tmp 87 drivers/clk/samsung/clk-pll.c u32 tmp; tmp 89 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 90 drivers/clk/samsung/clk-pll.c tmp &= ~BIT(pll->enable_offs); tmp 91 drivers/clk/samsung/clk-pll.c writel_relaxed(tmp, pll->con_reg); tmp 209 drivers/clk/samsung/clk-pll.c u32 tmp; tmp 219 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 221 drivers/clk/samsung/clk-pll.c if (!(samsung_pll35xx_mp_change(rate, tmp))) { tmp 223 drivers/clk/samsung/clk-pll.c tmp &= ~(PLL35XX_SDIV_MASK << PLL35XX_SDIV_SHIFT); tmp 224 drivers/clk/samsung/clk-pll.c tmp |= rate->sdiv << PLL35XX_SDIV_SHIFT; tmp 225 drivers/clk/samsung/clk-pll.c writel_relaxed(tmp, pll->con_reg); tmp 235 drivers/clk/samsung/clk-pll.c tmp &= ~((PLL35XX_MDIV_MASK << PLL35XX_MDIV_SHIFT) | tmp 238 drivers/clk/samsung/clk-pll.c tmp |= (rate->mdiv << PLL35XX_MDIV_SHIFT) | tmp 241 drivers/clk/samsung/clk-pll.c writel_relaxed(tmp, pll->con_reg); tmp 244 drivers/clk/samsung/clk-pll.c if (tmp & BIT(pll->enable_offs)) { tmp 247 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 248 drivers/clk/samsung/clk-pll.c } while (!(tmp & BIT(pll->lock_offs))); tmp 321 drivers/clk/samsung/clk-pll.c u32 tmp, pll_con0, pll_con1; tmp 363 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 364 drivers/clk/samsung/clk-pll.c } while (!(tmp & BIT(pll->lock_offs))); tmp 809 drivers/clk/samsung/clk-pll.c u32 tmp; tmp 819 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 822 drivers/clk/samsung/clk-pll.c tmp &= ~((PLLS3C2410_MDIV_MASK << PLLS3C2410_MDIV_SHIFT) | tmp 825 drivers/clk/samsung/clk-pll.c tmp |= (rate->mdiv << PLLS3C2410_MDIV_SHIFT) | tmp 828 drivers/clk/samsung/clk-pll.c writel_relaxed(tmp, pll->con_reg); tmp 1005 drivers/clk/samsung/clk-pll.c u32 tmp; tmp 1015 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 1017 drivers/clk/samsung/clk-pll.c if (!(samsung_pll2550xx_mp_change(rate->mdiv, rate->pdiv, tmp))) { tmp 1019 drivers/clk/samsung/clk-pll.c tmp &= ~(PLL2550XX_S_MASK << PLL2550XX_S_SHIFT); tmp 1020 drivers/clk/samsung/clk-pll.c tmp |= rate->sdiv << PLL2550XX_S_SHIFT; tmp 1021 drivers/clk/samsung/clk-pll.c writel_relaxed(tmp, pll->con_reg); tmp 1030 drivers/clk/samsung/clk-pll.c tmp &= ~((PLL2550XX_M_MASK << PLL2550XX_M_SHIFT) | tmp 1033 drivers/clk/samsung/clk-pll.c tmp |= (rate->mdiv << PLL2550XX_M_SHIFT) | tmp 1036 drivers/clk/samsung/clk-pll.c writel_relaxed(tmp, pll->con_reg); tmp 1041 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 1042 drivers/clk/samsung/clk-pll.c } while (!(tmp & (PLL2550XX_LOCK_STAT_MASK tmp 1199 drivers/clk/samsung/clk-pll.c u32 tmp, pll_con0, pll_con2; tmp 1233 drivers/clk/samsung/clk-pll.c tmp = readl_relaxed(pll->con_reg); tmp 1234 drivers/clk/samsung/clk-pll.c } while (!(tmp & (0x1 << PLL2650XX_PLL_LOCKTIME_SHIFT))); tmp 155 drivers/clk/sprd/pll.c u64 tmp, refin, fvco = rate; tmp 201 drivers/clk/sprd/pll.c tmp = fvco - refin * nint * CLK_PLL_1M; tmp 202 drivers/clk/sprd/pll.c tmp = do_div(tmp, 10000) * ((mask >> shift) + 1); tmp 203 drivers/clk/sprd/pll.c kint = DIV_ROUND_CLOSEST_ULL(tmp, refin * 100); tmp 381 drivers/clk/tegra/clk-emc.c u32 tmp; tmp 383 drivers/clk/tegra/clk-emc.c err = of_property_read_u32(node, "clock-frequency", &tmp); tmp 389 drivers/clk/tegra/clk-emc.c timing->rate = tmp; tmp 391 drivers/clk/tegra/clk-emc.c err = of_property_read_u32(node, "nvidia,parent-clock-frequency", &tmp); tmp 397 drivers/clk/tegra/clk-emc.c timing->parent_rate = tmp; tmp 380 drivers/clk/ti/clk.c struct clk_init_item *tmp; tmp 384 drivers/clk/ti/clk.c list_for_each_entry_safe(retry, tmp, &retry_list, link) { tmp 369 drivers/clk/ti/divider.c struct clk_div_table *tmp; tmp 405 drivers/clk/ti/divider.c tmp = kcalloc(valid_div + 1, sizeof(*tmp), GFP_KERNEL); tmp 406 drivers/clk/ti/divider.c if (!tmp) { tmp 416 drivers/clk/ti/divider.c tmp[valid_div].div = div_table[i]; tmp 417 drivers/clk/ti/divider.c tmp[valid_div].val = i; tmp 423 drivers/clk/ti/divider.c *table = tmp; tmp 94 drivers/clk/x86/clk-pmc-atom.c u32 tmp; tmp 99 drivers/clk/x86/clk-pmc-atom.c tmp = readl(clk->reg); tmp 100 drivers/clk/x86/clk-pmc-atom.c tmp = (tmp & ~mask) | (val & mask); tmp 101 drivers/clk/x86/clk-pmc-atom.c writel(tmp, clk->reg); tmp 191 drivers/clk/zte/clk.c u32 sel, integ, fra_div, tmp; tmp 198 drivers/clk/zte/clk.c tmp = (u32)tmp64 % BPAR; tmp 199 drivers/clk/zte/clk.c sel = tmp / BPAR; tmp 201 drivers/clk/zte/clk.c tmp = tmp % BPAR; tmp 202 drivers/clk/zte/clk.c fra_div = tmp * 0xff / BPAR; tmp 203 drivers/clk/zte/clk.c tmp = (sel << 24) | (integ << 16) | (0xff << 8) | fra_div; tmp 208 drivers/clk/zte/clk.c tmp |= BIT(28); tmp 209 drivers/clk/zte/clk.c return tmp; tmp 214 drivers/clk/zte/clk.c u32 sel, integ, fra_div, tmp; tmp 217 drivers/clk/zte/clk.c tmp = reg; tmp 218 drivers/clk/zte/clk.c sel = (tmp >> 24) & BIT(0); tmp 219 drivers/clk/zte/clk.c integ = (tmp >> 16) & 0xff; tmp 220 drivers/clk/zte/clk.c fra_div = tmp & 0xff; tmp 222 drivers/clk/zte/clk.c tmp = fra_div * BPAR; tmp 223 drivers/clk/zte/clk.c tmp = tmp / 0xff; tmp 224 drivers/clk/zte/clk.c tmp += sel * BPAR; tmp 225 drivers/clk/zte/clk.c tmp += 2 * integ * BPAR; tmp 226 drivers/clk/zte/clk.c do_div(tmp64, tmp); tmp 218 drivers/clk/zynq/clkc.c u32 tmp; tmp 252 drivers/clk/zynq/clkc.c ret = of_property_read_u32(np, "ps-clk-frequency", &tmp); tmp 255 drivers/clk/zynq/clkc.c tmp = 33333333; tmp 257 drivers/clk/zynq/clkc.c ps_clk = clk_register_fixed_rate(NULL, "ps_clk", NULL, 0, tmp); tmp 279 drivers/clk/zynq/clkc.c tmp = readl(SLCR_621_TRUE) & 1; tmp 298 drivers/clk/zynq/clkc.c 2 + tmp); tmp 305 drivers/clk/zynq/clkc.c 4 + 2 * tmp); tmp 431 drivers/clk/zynq/clkc.c tmp = strlen("mio_clk_00x"); tmp 432 drivers/clk/zynq/clkc.c clk_name = kmalloc(tmp, GFP_KERNEL); tmp 436 drivers/clk/zynq/clkc.c snprintf(clk_name, tmp, "mio_clk_%2.2d", i); tmp 502 drivers/clk/zynq/clkc.c tmp = readl(SLCR_DBG_CLK_CTRL); tmp 503 drivers/clk/zynq/clkc.c if (tmp & DBG_CLK_CTRL_CLKACT_TRC) tmp 506 drivers/clk/zynq/clkc.c if (tmp & DBG_CLK_CTRL_CPU_1XCLKACT) tmp 354 drivers/clocksource/exynos_mct.c unsigned long tmp; tmp 358 drivers/clocksource/exynos_mct.c tmp = readl_relaxed(reg_base + offset); tmp 359 drivers/clocksource/exynos_mct.c if (tmp & mask) { tmp 360 drivers/clocksource/exynos_mct.c tmp &= ~mask; tmp 361 drivers/clocksource/exynos_mct.c exynos4_mct_write(tmp, offset); tmp 368 drivers/clocksource/exynos_mct.c unsigned long tmp; tmp 372 drivers/clocksource/exynos_mct.c tmp = (1 << 31) | cycles; /* MCT_L_UPDATE_ICNTB */ tmp 375 drivers/clocksource/exynos_mct.c exynos4_mct_write(tmp, mevt->base + MCT_L_ICNTB_OFFSET); tmp 380 drivers/clocksource/exynos_mct.c tmp = readl_relaxed(reg_base + mevt->base + MCT_L_TCON_OFFSET); tmp 381 drivers/clocksource/exynos_mct.c tmp |= MCT_L_TCON_INT_START | MCT_L_TCON_TIMER_START | tmp 383 drivers/clocksource/exynos_mct.c exynos4_mct_write(tmp, mevt->base + MCT_L_TCON_OFFSET); tmp 417 drivers/clocksource/timer-atmel-tcb.c unsigned tmp; tmp 425 drivers/clocksource/timer-atmel-tcb.c tmp = rate / divisor; tmp 426 drivers/clocksource/timer-atmel-tcb.c pr_debug("TC: %u / %-3u [%d] --> %u\n", rate, divisor, i, tmp); tmp 428 drivers/clocksource/timer-atmel-tcb.c if (tmp < 5 * 1000 * 1000) tmp 431 drivers/clocksource/timer-atmel-tcb.c divided_rate = tmp; tmp 92 drivers/clocksource/timer-imx-gpt.c unsigned int tmp; tmp 94 drivers/clocksource/timer-imx-gpt.c tmp = readl_relaxed(imxtm->base + MXC_TCTL); tmp 95 drivers/clocksource/timer-imx-gpt.c writel_relaxed(tmp & ~MX1_2_TCTL_IRQEN, imxtm->base + MXC_TCTL); tmp 107 drivers/clocksource/timer-imx-gpt.c unsigned int tmp; tmp 109 drivers/clocksource/timer-imx-gpt.c tmp = readl_relaxed(imxtm->base + MXC_TCTL); tmp 110 drivers/clocksource/timer-imx-gpt.c writel_relaxed(tmp | MX1_2_TCTL_IRQEN, imxtm->base + MXC_TCTL); tmp 480 drivers/cpufreq/mediatek-cpufreq.c struct mtk_cpu_dvfs_info *info, *tmp; tmp 514 drivers/cpufreq/mediatek-cpufreq.c list_for_each_entry_safe(info, tmp, &dvfs_info_list, list_head) { tmp 199 drivers/cpufreq/s5pv210-cpufreq.c unsigned long tmp, tmp1; tmp 212 drivers/cpufreq/s5pv210-cpufreq.c tmp = s5pv210_dram_conf[ch].freq; tmp 214 drivers/cpufreq/s5pv210-cpufreq.c tmp /= freq; tmp 218 drivers/cpufreq/s5pv210-cpufreq.c tmp1 /= tmp; tmp 34 drivers/cpuidle/sysfs.c struct cpuidle_governor *tmp; tmp 37 drivers/cpuidle/sysfs.c list_for_each_entry(tmp, &cpuidle_governors, governor_list) { tmp 41 drivers/cpuidle/sysfs.c i += scnprintf(&buf[i], CPUIDLE_NAME_LEN, "%s ", tmp->name); tmp 239 drivers/crypto/amcc/crypto4xx_core.c u32 tmp; tmp 242 drivers/crypto/amcc/crypto4xx_core.c tmp = (dev->pdr_head + 1) % PPC4XX_NUM_PD; tmp 244 drivers/crypto/amcc/crypto4xx_core.c if (tmp == dev->pdr_tail) tmp 247 drivers/crypto/amcc/crypto4xx_core.c dev->pdr_head = tmp; tmp 301 drivers/crypto/amcc/crypto4xx_core.c u32 tmp; tmp 307 drivers/crypto/amcc/crypto4xx_core.c tmp = (dev->gdr_head + n) % PPC4XX_NUM_GD; tmp 309 drivers/crypto/amcc/crypto4xx_core.c if (tmp < dev->gdr_head && tmp >= dev->gdr_tail) tmp 312 drivers/crypto/amcc/crypto4xx_core.c if (tmp < dev->gdr_head || tmp >= dev->gdr_tail) tmp 315 drivers/crypto/amcc/crypto4xx_core.c dev->gdr_head = tmp; tmp 400 drivers/crypto/amcc/crypto4xx_core.c u32 tmp; tmp 406 drivers/crypto/amcc/crypto4xx_core.c tmp = (dev->sdr_head + n) % PPC4XX_NUM_SD; tmp 408 drivers/crypto/amcc/crypto4xx_core.c if (tmp < dev->sdr_head && tmp >= dev->sdr_tail) tmp 411 drivers/crypto/amcc/crypto4xx_core.c if (tmp < dev->sdr_head || tmp >= dev->sdr_tail) tmp 414 drivers/crypto/amcc/crypto4xx_core.c dev->sdr_head = tmp; tmp 702 drivers/crypto/amcc/crypto4xx_core.c int tmp; tmp 722 drivers/crypto/amcc/crypto4xx_core.c tmp = sg_nents_for_len(src, assoclen + datalen); tmp 723 drivers/crypto/amcc/crypto4xx_core.c if (tmp < 0) { tmp 725 drivers/crypto/amcc/crypto4xx_core.c return tmp; tmp 727 drivers/crypto/amcc/crypto4xx_core.c if (tmp == 1) tmp 728 drivers/crypto/amcc/crypto4xx_core.c tmp = 0; tmp 729 drivers/crypto/amcc/crypto4xx_core.c num_gd = tmp; tmp 1050 drivers/crypto/amcc/crypto4xx_core.c struct crypto4xx_alg *alg, *tmp; tmp 1052 drivers/crypto/amcc/crypto4xx_core.c list_for_each_entry_safe(alg, tmp, &sec_dev->alg_list, entry) { tmp 200 drivers/crypto/amcc/crypto4xx_core.h const u8 *tmp = (u8 *)buf; tmp 204 drivers/crypto/amcc/crypto4xx_core.h *dst = (tmp[2] << 16) | tmp 205 drivers/crypto/amcc/crypto4xx_core.h (tmp[1] << 8) | tmp 206 drivers/crypto/amcc/crypto4xx_core.h tmp[0]; tmp 209 drivers/crypto/amcc/crypto4xx_core.h *dst = (tmp[1] << 8) | tmp 210 drivers/crypto/amcc/crypto4xx_core.h tmp[0]; tmp 213 drivers/crypto/amcc/crypto4xx_core.h *dst = tmp[0]; tmp 233 drivers/crypto/atmel-aes.c static const char *atmel_aes_reg_name(u32 offset, char *tmp, size_t sz) tmp 262 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "KEYWR[%u]", (offset - AES_KEYWR(0)) >> 2); tmp 269 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "IDATAR[%u]", (offset - AES_IDATAR(0)) >> 2); tmp 276 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "ODATAR[%u]", (offset - AES_ODATAR(0)) >> 2); tmp 283 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "IVR[%u]", (offset - AES_IVR(0)) >> 2); tmp 296 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "GHASHR[%u]", (offset - AES_GHASHR(0)) >> 2); tmp 303 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "TAGR[%u]", (offset - AES_TAGR(0)) >> 2); tmp 313 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "GCMHR[%u]", (offset - AES_GCMHR(0)) >> 2); tmp 323 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "TWR[%u]", (offset - AES_TWR(0)) >> 2); tmp 330 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "ALPHAR[%u]", (offset - AES_ALPHAR(0)) >> 2); tmp 334 drivers/crypto/atmel-aes.c snprintf(tmp, sz, "0x%02x", offset); tmp 338 drivers/crypto/atmel-aes.c return tmp; tmp 350 drivers/crypto/atmel-aes.c char tmp[16]; tmp 353 drivers/crypto/atmel-aes.c atmel_aes_reg_name(offset, tmp, sizeof(tmp))); tmp 365 drivers/crypto/atmel-aes.c char tmp[16]; tmp 368 drivers/crypto/atmel-aes.c atmel_aes_reg_name(offset, tmp, sizeof(tmp))); tmp 423 drivers/crypto/atmel-aes.c struct atmel_aes_dev *tmp; tmp 427 drivers/crypto/atmel-aes.c list_for_each_entry(tmp, &atmel_aes.dev_list, list) { tmp 428 drivers/crypto/atmel-aes.c aes_dd = tmp; tmp 1897 drivers/crypto/atmel-aes.c u8 tmp = tweak_bytes[AES_BLOCK_SIZE - 1 - i]; tmp 1900 drivers/crypto/atmel-aes.c tweak_bytes[i] = tmp; tmp 153 drivers/crypto/atmel-sha.c struct scatterlist tmp; tmp 169 drivers/crypto/atmel-sha.c static const char *atmel_sha_reg_name(u32 offset, char *tmp, size_t sz, bool wr) tmp 212 drivers/crypto/atmel-sha.c snprintf(tmp, sz, "IDATAR[%u]", (offset - SHA_REG_DIN(0)) >> 2); tmp 232 drivers/crypto/atmel-sha.c snprintf(tmp, sz, "IDATAR[%u]", tmp 235 drivers/crypto/atmel-sha.c snprintf(tmp, sz, "ODATAR[%u]", tmp 243 drivers/crypto/atmel-sha.c snprintf(tmp, sz, "0x%02x", offset); tmp 247 drivers/crypto/atmel-sha.c return tmp; tmp 258 drivers/crypto/atmel-sha.c char tmp[16]; tmp 261 drivers/crypto/atmel-sha.c atmel_sha_reg_name(offset, tmp, sizeof(tmp), false)); tmp 273 drivers/crypto/atmel-sha.c char tmp[16]; tmp 276 drivers/crypto/atmel-sha.c atmel_sha_reg_name(offset, tmp, sizeof(tmp), true)); tmp 407 drivers/crypto/atmel-sha.c struct atmel_sha_dev *tmp; tmp 411 drivers/crypto/atmel-sha.c list_for_each_entry(tmp, &atmel_sha.dev_list, list) { tmp 412 drivers/crypto/atmel-sha.c dd = tmp; tmp 1669 drivers/crypto/atmel-sha.c sg_init_one(&dd->tmp, data, datalen); tmp 1670 drivers/crypto/atmel-sha.c return atmel_sha_cpu_start(dd, &dd->tmp, datalen, false, true, resume); tmp 1983 drivers/crypto/atmel-sha.c sg_init_one(&dd->tmp, digest, ds); tmp 1984 drivers/crypto/atmel-sha.c return atmel_sha_cpu_start(dd, &dd->tmp, ds, false, true, tmp 199 drivers/crypto/atmel-tdes.c struct atmel_tdes_dev *tmp; tmp 203 drivers/crypto/atmel-tdes.c list_for_each_entry(tmp, &atmel_tdes.dev_list, list) { tmp 204 drivers/crypto/atmel-tdes.c tdes_dd = tmp; tmp 477 drivers/crypto/caam/pdb.h u8 *tmp; /* temporary data block */ tmp 318 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c struct nitrox_softreq *sr, *tmp; tmp 326 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c list_for_each_entry_safe(sr, tmp, &cmdq->backlog_head, backlog) { tmp 99 drivers/crypto/ccp/ccp-crypto-main.c struct ccp_crypto_cmd *held = NULL, *tmp; tmp 109 drivers/crypto/ccp/ccp-crypto-main.c tmp = crypto_cmd; tmp 110 drivers/crypto/ccp/ccp-crypto-main.c list_for_each_entry_continue(tmp, &req_queue.cmds, entry) { tmp 111 drivers/crypto/ccp/ccp-crypto-main.c if (crypto_cmd->tfm != tmp->tfm) tmp 113 drivers/crypto/ccp/ccp-crypto-main.c held = tmp; tmp 213 drivers/crypto/ccp/ccp-crypto-main.c struct ccp_crypto_cmd *active = NULL, *tmp; tmp 232 drivers/crypto/ccp/ccp-crypto-main.c list_for_each_entry(tmp, &req_queue.cmds, entry) { tmp 233 drivers/crypto/ccp/ccp-crypto-main.c if (crypto_cmd->tfm != tmp->tfm) tmp 235 drivers/crypto/ccp/ccp-crypto-main.c active = tmp; tmp 1507 drivers/crypto/ccree/cc_hash.c const u32 tmp = CC_EXPORT_MAGIC; tmp 1509 drivers/crypto/ccree/cc_hash.c memcpy(out, &tmp, sizeof(u32)); tmp 1532 drivers/crypto/ccree/cc_hash.c u32 tmp; tmp 1534 drivers/crypto/ccree/cc_hash.c memcpy(&tmp, in, sizeof(u32)); tmp 1535 drivers/crypto/ccree/cc_hash.c if (tmp != CC_EXPORT_MAGIC) tmp 1548 drivers/crypto/ccree/cc_hash.c memcpy(&tmp, in, sizeof(u32)); tmp 1549 drivers/crypto/ccree/cc_hash.c if (tmp > CC_MAX_HASH_BLCK_SIZE) tmp 1553 drivers/crypto/ccree/cc_hash.c state->buf_cnt[0] = tmp; tmp 1554 drivers/crypto/ccree/cc_hash.c memcpy(state->buffers[0], in, tmp); tmp 1975 drivers/crypto/ccree/cc_hash.c u32 tmp; tmp 1978 drivers/crypto/ccree/cc_hash.c tmp = buf[i]; tmp 1980 drivers/crypto/ccree/cc_hash.c buf[i + 1] = tmp; tmp 299 drivers/crypto/chelsio/chcr_core.c struct uld_ctx *u_ctx, *tmp; tmp 306 drivers/crypto/chelsio/chcr_core.c list_for_each_entry_safe(u_ctx, tmp, &drv_data.act_dev, entry) { tmp 310 drivers/crypto/chelsio/chcr_core.c list_for_each_entry_safe(u_ctx, tmp, &drv_data.inact_dev, entry) { tmp 296 drivers/crypto/chelsio/chtls/chtls_main.c struct chtls_dev *cdev, *tmp; tmp 299 drivers/crypto/chelsio/chtls/chtls_main.c list_for_each_entry_safe(cdev, tmp, &cdev_list, list) { tmp 573 drivers/crypto/hisilicon/qm.c u32 error_status, tmp; tmp 576 drivers/crypto/hisilicon/qm.c tmp = readl(qm->io_base + QM_ABNORMAL_INT_STATUS); tmp 577 drivers/crypto/hisilicon/qm.c error_status = qm->msi_mask & tmp; tmp 656 drivers/crypto/hisilicon/qm.c u64 tmp = 0; tmp 663 drivers/crypto/hisilicon/qm.c tmp = QM_SQC_VFT_BUF_SIZE | tmp 670 drivers/crypto/hisilicon/qm.c tmp = (u64)base << QM_SQC_VFT_START_SQN_SHIFT | tmp 681 drivers/crypto/hisilicon/qm.c tmp = QM_CQC_VFT_BUF_SIZE | tmp 687 drivers/crypto/hisilicon/qm.c tmp = QM_CQC_VFT_VALID; tmp 696 drivers/crypto/hisilicon/qm.c writel(lower_32_bits(tmp), qm->io_base + QM_VFT_CFG_DATA_L); tmp 697 drivers/crypto/hisilicon/qm.c writel(upper_32_bits(tmp), qm->io_base + QM_VFT_CFG_DATA_H); tmp 774 drivers/crypto/hisilicon/qm.c u32 tmp; tmp 779 drivers/crypto/hisilicon/qm.c tmp = val << QM_DFX_QN_SHIFT | tmp 781 drivers/crypto/hisilicon/qm.c writel(tmp, qm->io_base + QM_DFX_SQE_CNT_VF_SQN); tmp 783 drivers/crypto/hisilicon/qm.c tmp = val << QM_DFX_QN_SHIFT | tmp 785 drivers/crypto/hisilicon/qm.c writel(tmp, qm->io_base + QM_DFX_CQE_CNT_VF_CQN); tmp 966 drivers/crypto/hisilicon/qm.c struct dentry *qm_d = qm->debug.qm_d, *tmp; tmp 969 drivers/crypto/hisilicon/qm.c tmp = debugfs_create_file(qm_debug_file_name[index], 0600, qm_d, file, tmp 971 drivers/crypto/hisilicon/qm.c if (IS_ERR(tmp)) tmp 1054 drivers/crypto/hisilicon/qm.c u32 error_status, tmp; tmp 1057 drivers/crypto/hisilicon/qm.c tmp = readl(qm->io_base + QM_ABNORMAL_INT_STATUS); tmp 1058 drivers/crypto/hisilicon/qm.c error_status = qm->error_mask & tmp; tmp 267 drivers/crypto/hisilicon/zip/zip_crypto.c struct hisi_zip_qp_ctx *tmp; tmp 271 drivers/crypto/hisilicon/zip/zip_crypto.c tmp = &ctx->qp_ctx[i]; tmp 272 drivers/crypto/hisilicon/zip/zip_crypto.c ret = hisi_acc_create_sgl_pool(&tmp->qp->qm->pdev->dev, tmp 273 drivers/crypto/hisilicon/zip/zip_crypto.c &tmp->sgl_pool, tmp 375 drivers/crypto/hisilicon/zip/zip_main.c u32 tmp; tmp 395 drivers/crypto/hisilicon/zip/zip_main.c tmp = val | tmp 397 drivers/crypto/hisilicon/zip/zip_main.c writel(tmp, qm->io_base + QM_DFX_SQE_CNT_VF_SQN); tmp 399 drivers/crypto/hisilicon/zip/zip_main.c tmp = val | tmp 401 drivers/crypto/hisilicon/zip/zip_main.c writel(tmp, qm->io_base + QM_DFX_CQE_CNT_VF_CQN); tmp 417 drivers/crypto/hisilicon/zip/zip_main.c u32 tmp; tmp 422 drivers/crypto/hisilicon/zip/zip_main.c tmp = (readl(qm->io_base + HZIP_SOFT_CTRL_CNT_CLR_CE) & tmp 424 drivers/crypto/hisilicon/zip/zip_main.c writel(tmp, qm->io_base + HZIP_SOFT_CTRL_CNT_CLR_CE); tmp 514 drivers/crypto/hisilicon/zip/zip_main.c struct dentry *tmp_d, *tmp; tmp 536 drivers/crypto/hisilicon/zip/zip_main.c tmp = debugfs_create_regset32("regs", 0444, tmp_d, regset); tmp 537 drivers/crypto/hisilicon/zip/zip_main.c if (!tmp) tmp 546 drivers/crypto/hisilicon/zip/zip_main.c struct dentry *tmp; tmp 554 drivers/crypto/hisilicon/zip/zip_main.c tmp = debugfs_create_file(ctrl_debug_file_name[i], 0600, tmp 557 drivers/crypto/hisilicon/zip/zip_main.c if (!tmp) tmp 622 drivers/crypto/img-hash.c struct img_hash_dev *tmp; tmp 627 drivers/crypto/img-hash.c list_for_each_entry(tmp, &img_hash.dev_list, list) { tmp 628 drivers/crypto/img-hash.c hdev = tmp; tmp 168 drivers/crypto/mediatek/mtk-aes.c struct mtk_cryp *tmp; tmp 172 drivers/crypto/mediatek/mtk-aes.c list_for_each_entry(tmp, &mtk_aes.dev_list, aes_list) { tmp 173 drivers/crypto/mediatek/mtk-aes.c cryp = tmp; tmp 156 drivers/crypto/mediatek/mtk-sha.c struct mtk_cryp *tmp; tmp 160 drivers/crypto/mediatek/mtk-sha.c list_for_each_entry(tmp, &mtk_sha.dev_list, sha_list) { tmp 161 drivers/crypto/mediatek/mtk-sha.c cryp = tmp; tmp 964 drivers/crypto/n2_core.c struct n2_crypto_chunk *c, *tmp; tmp 970 drivers/crypto/n2_core.c list_for_each_entry_safe(c, tmp, &rctx->chunk_list, entry) { tmp 983 drivers/crypto/n2_core.c struct n2_crypto_chunk *c, *tmp; tmp 997 drivers/crypto/n2_core.c list_for_each_entry_safe(c, tmp, &rctx->chunk_list, entry) { tmp 1036 drivers/crypto/n2_core.c struct n2_crypto_chunk *c, *tmp; tmp 1054 drivers/crypto/n2_core.c list_for_each_entry_safe(c, tmp, &rctx->chunk_list, tmp 1067 drivers/crypto/n2_core.c list_for_each_entry_safe_reverse(c, tmp, &rctx->chunk_list, tmp 1072 drivers/crypto/n2_core.c iv_paddr = (tmp->arr[tmp->arr_len-1].src_paddr + tmp 1073 drivers/crypto/n2_core.c tmp->arr[tmp->arr_len-1].src_len - tmp 167 drivers/crypto/nx/nx-aes-ccm.c u8 tmp[16], *b1 = NULL, *b0 = NULL, *result = NULL; tmp 244 drivers/crypto/nx/nx-aes-ccm.c nx_outsg = nx_build_sg_list(nx_outsg, tmp, &len, tmp 93 drivers/crypto/omap-aes-gcm.c struct scatterlist *tmp, sg_arr[2]; tmp 115 drivers/crypto/omap-aes-gcm.c tmp = req->src; tmp 116 drivers/crypto/omap-aes-gcm.c ret = omap_crypto_align_sg(&tmp, assoclen, tmp 126 drivers/crypto/omap-aes-gcm.c tmp = scatterwalk_ffwd(sg_arr, req->src, req->assoclen); tmp 128 drivers/crypto/omap-aes-gcm.c ret = omap_crypto_align_sg(&tmp, cryptlen, tmp 21 drivers/crypto/omap-crypto.c struct scatterlist *tmp; tmp 31 drivers/crypto/omap-crypto.c tmp = new_sg; tmp 41 drivers/crypto/omap-crypto.c sg_set_page(tmp, sg_page(*sg), len, (*sg)->offset); tmp 43 drivers/crypto/omap-crypto.c sg_mark_end(tmp); tmp 44 drivers/crypto/omap-crypto.c tmp = sg_next(tmp); tmp 312 drivers/crypto/omap-des.c struct omap_des_dev *dd = NULL, *tmp; tmp 316 drivers/crypto/omap-des.c list_for_each_entry(tmp, &dev_list, list) { tmp 318 drivers/crypto/omap-des.c dd = tmp; tmp 644 drivers/crypto/omap-sham.c struct scatterlist *tmp; tmp 656 drivers/crypto/omap-sham.c tmp = ctx->sg; tmp 661 drivers/crypto/omap-sham.c sg_set_buf(tmp, ctx->dd->xmit_buf, ctx->bufcnt); tmp 662 drivers/crypto/omap-sham.c tmp = sg_next(tmp); tmp 680 drivers/crypto/omap-sham.c sg_set_page(tmp, sg_page(sg), len, sg->offset); tmp 682 drivers/crypto/omap-sham.c sg_mark_end(tmp); tmp 683 drivers/crypto/omap-sham.c tmp = sg_next(tmp); tmp 926 drivers/crypto/omap-sham.c struct omap_sham_dev *dd = NULL, *tmp; tmp 931 drivers/crypto/omap-sham.c list_for_each_entry(tmp, &sham.dev_list, list) { tmp 932 drivers/crypto/omap-sham.c dd = tmp; tmp 1305 drivers/crypto/omap-sham.c struct omap_sham_dev *dd = NULL, *tmp; tmp 1310 drivers/crypto/omap-sham.c list_for_each_entry(tmp, &sham.dev_list, list) { tmp 1311 drivers/crypto/omap-sham.c dd = tmp; tmp 216 drivers/crypto/padlock-aes.c u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); tmp 218 drivers/crypto/padlock-aes.c memcpy(tmp, in, count * AES_BLOCK_SIZE); tmp 219 drivers/crypto/padlock-aes.c rep_xcrypt_ecb(tmp, out, key, cword, count); tmp 230 drivers/crypto/padlock-aes.c u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); tmp 232 drivers/crypto/padlock-aes.c memcpy(tmp, in, count * AES_BLOCK_SIZE); tmp 233 drivers/crypto/padlock-aes.c return rep_xcrypt_cbc(tmp, out, key, iv, cword, count); tmp 1148 drivers/crypto/picoxcell_crypto.c struct spacc_req *req, *tmp; tmp 1161 drivers/crypto/picoxcell_crypto.c list_for_each_entry_safe(req, tmp, &completed, list) { tmp 194 drivers/crypto/qat/qat_common/adf_cfg.c struct list_head *list_ptr, *tmp; tmp 196 drivers/crypto/qat/qat_common/adf_cfg.c list_for_each_prev_safe(list_ptr, tmp, head) { tmp 207 drivers/crypto/qat/qat_common/adf_cfg.c struct list_head *list, *tmp; tmp 209 drivers/crypto/qat/qat_common/adf_cfg.c list_for_each_prev_safe(list, tmp, head) { tmp 115 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct list_head *ptr, *tmp; tmp 118 drivers/crypto/qat/qat_common/adf_dev_mgr.c list_for_each_safe(ptr, tmp, &vfs_table) { tmp 70 drivers/crypto/qat/qat_common/qat_crypto.c struct qat_crypto_instance *inst, *tmp; tmp 73 drivers/crypto/qat/qat_common/qat_crypto.c list_for_each_entry_safe(inst, tmp, &accel_dev->crypto_list, list) { tmp 591 drivers/crypto/qat/qat_common/qat_hal.c uint64_t tmp; tmp 593 drivers/crypto/qat/qat_common/qat_hal.c tmp = qat_hal_set_uword_ecc(uword[i]); tmp 594 drivers/crypto/qat/qat_common/qat_hal.c uwrd_lo = (unsigned int)(tmp & 0xffffffff); tmp 595 drivers/crypto/qat/qat_common/qat_hal.c uwrd_hi = (unsigned int)(tmp >> 0x20); tmp 856 drivers/crypto/qat/qat_common/qat_hal.c unsigned int uwrd_lo, uwrd_hi, tmp; tmp 863 drivers/crypto/qat/qat_common/qat_hal.c tmp = ((data[i] >> 0x10) & 0xffff); tmp 864 drivers/crypto/qat/qat_common/qat_hal.c uwrd_hi |= (hweight32(tmp) & 0x1) << 9; tmp 1074 drivers/crypto/s5p-sss.c struct scatterlist *tmp; tmp 1088 drivers/crypto/s5p-sss.c tmp = ctx->sg; tmp 1093 drivers/crypto/s5p-sss.c sg_set_buf(tmp, ctx->dd->xmit_buf, ctx->bufcnt); tmp 1094 drivers/crypto/s5p-sss.c tmp = sg_next(tmp); tmp 1109 drivers/crypto/s5p-sss.c sg_set_page(tmp, sg_page(sg), len, sg->offset + skip); tmp 1112 drivers/crypto/s5p-sss.c sg_mark_end(tmp); tmp 1114 drivers/crypto/s5p-sss.c tmp = sg_next(tmp); tmp 267 drivers/crypto/stm32/stm32-cryp.c struct stm32_cryp *tmp, *cryp = NULL; tmp 271 drivers/crypto/stm32/stm32-cryp.c list_for_each_entry(tmp, &cryp_list.dev_list, list) { tmp 272 drivers/crypto/stm32/stm32-cryp.c cryp = tmp; tmp 399 drivers/crypto/stm32/stm32-cryp.c u32 *tmp = req->info; tmp 401 drivers/crypto/stm32/stm32-cryp.c if (!tmp) tmp 404 drivers/crypto/stm32/stm32-cryp.c *tmp++ = cpu_to_be32(stm32_cryp_read(cryp, CRYP_IV0LR)); tmp 405 drivers/crypto/stm32/stm32-cryp.c *tmp++ = cpu_to_be32(stm32_cryp_read(cryp, CRYP_IV0RR)); tmp 408 drivers/crypto/stm32/stm32-cryp.c *tmp++ = cpu_to_be32(stm32_cryp_read(cryp, CRYP_IV1LR)); tmp 409 drivers/crypto/stm32/stm32-cryp.c *tmp++ = cpu_to_be32(stm32_cryp_read(cryp, CRYP_IV1RR)); tmp 1316 drivers/crypto/stm32/stm32-cryp.c u32 cfg, tmp[AES_BLOCK_32]; tmp 1352 drivers/crypto/stm32/stm32-cryp.c scatterwalk_map_and_copy(tmp, out_sg_ori, tmp 1369 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_DIN, tmp[i]); tmp 1410 drivers/crypto/stm32/stm32-cryp.c u32 cstmp1[AES_BLOCK_32], cstmp2[AES_BLOCK_32], tmp[AES_BLOCK_32]; tmp 1457 drivers/crypto/stm32/stm32-cryp.c memset(tmp, 0, sizeof(tmp)); tmp 1458 drivers/crypto/stm32/stm32-cryp.c scatterwalk_map_and_copy(tmp, out_sg_ori, tmp 1477 drivers/crypto/stm32/stm32-cryp.c for (i = 0; i < ARRAY_SIZE(tmp); i++) { tmp 1478 drivers/crypto/stm32/stm32-cryp.c tmp[i] ^= cstmp1[i]; tmp 1479 drivers/crypto/stm32/stm32-cryp.c tmp[i] ^= cstmp2[i]; tmp 1480 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_DIN, tmp[i]); tmp 635 drivers/crypto/stm32/stm32-hash.c struct stm32_hash_dev *hdev = NULL, *tmp; tmp 639 drivers/crypto/stm32/stm32-hash.c list_for_each_entry(tmp, &stm32_hash.dev_list, list) { tmp 640 drivers/crypto/stm32/stm32-hash.c hdev = tmp; tmp 120 drivers/crypto/virtio/virtio_crypto_algs.c unsigned int tmp; tmp 178 drivers/crypto/virtio/virtio_crypto_algs.c while (!virtqueue_get_buf(vcrypto->ctrl_vq, &tmp) && tmp 208 drivers/crypto/virtio/virtio_crypto_algs.c unsigned int tmp; tmp 247 drivers/crypto/virtio/virtio_crypto_algs.c while (!virtqueue_get_buf(vcrypto->ctrl_vq, &tmp) && tmp 96 drivers/devfreq/event/rockchip-dfi.c u32 tmp, max = 0; tmp 108 drivers/devfreq/event/rockchip-dfi.c tmp = info->ch_usage[i].access; tmp 109 drivers/devfreq/event/rockchip-dfi.c if (tmp > max) { tmp 111 drivers/devfreq/event/rockchip-dfi.c max = tmp; tmp 42 drivers/dma-buf/dma-fence-chain.c struct dma_fence *prev, *replacement, *tmp; tmp 65 drivers/dma-buf/dma-fence-chain.c tmp = cmpxchg((void **)&chain->prev, (void *)prev, (void *)replacement); tmp 66 drivers/dma-buf/dma-fence-chain.c if (tmp == prev) tmp 67 drivers/dma-buf/dma-fence-chain.c dma_fence_put(tmp); tmp 131 drivers/dma-buf/dma-fence.c struct dma_fence_cb *cur, *tmp; tmp 147 drivers/dma-buf/dma-fence.c list_for_each_entry_safe(cur, tmp, &cb_list, node) { tmp 1945 drivers/dma/amba-pl08x.c int ret, tmp; tmp 1992 drivers/dma/amba-pl08x.c tmp = (direction == DMA_MEM_TO_DEV) ? PL080_FLOW_MEM2PER_PER : tmp 1995 drivers/dma/amba-pl08x.c tmp = (direction == DMA_MEM_TO_DEV) ? PL080_FLOW_MEM2PER : tmp 2000 drivers/dma/amba-pl08x.c tmp << PL080_CONFIG_FLOW_CONTROL_SHIFT; tmp 2058 drivers/dma/amba-pl08x.c int ret, tmp; tmp 2068 drivers/dma/amba-pl08x.c for_each_sg(sgl, sg, sg_len, tmp) { tmp 2099 drivers/dma/amba-pl08x.c int ret, tmp; tmp 2114 drivers/dma/amba-pl08x.c for (tmp = 0; tmp < buf_len; tmp += period_len) { tmp 2116 drivers/dma/amba-pl08x.c buf_addr + tmp, period_len); tmp 1345 drivers/dma/coh901318.c char *tmp; tmp 1352 drivers/dma/coh901318.c tmp = dev_buf; tmp 1354 drivers/dma/coh901318.c tmp += sprintf(tmp, "DMA -- enabled dma channels\n"); tmp 1358 drivers/dma/coh901318.c tmp += sprintf(tmp, "channel %d\n", i); tmp 1361 drivers/dma/coh901318.c tmp += sprintf(tmp, "Pool alloc nbr %d\n", pool_count); tmp 1364 drivers/dma/coh901318.c tmp - dev_buf); tmp 756 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c u32 tmp, carr[DMAC_MAX_CHANNELS]; tmp 759 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c ret = device_property_read_u32(dev, "dma-channels", &tmp); tmp 762 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c if (tmp == 0 || tmp > DMAC_MAX_CHANNELS) tmp 765 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c chip->dw->hdata->nr_channels = tmp; tmp 767 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c ret = device_property_read_u32(dev, "snps,dma-masters", &tmp); tmp 770 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c if (tmp == 0 || tmp > DMAC_MAX_MASTERS) tmp 773 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c chip->dw->hdata->nr_masters = tmp; tmp 775 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c ret = device_property_read_u32(dev, "snps,data-width", &tmp); tmp 778 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c if (tmp > DWAXIDMAC_TRANS_WIDTH_MAX) tmp 781 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c chip->dw->hdata->m_data_width = tmp; tmp 787 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c for (tmp = 0; tmp < chip->dw->hdata->nr_channels; tmp++) { tmp 788 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c if (carr[tmp] == 0 || carr[tmp] > DMAC_MAX_BLK_SIZE) tmp 791 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c chip->dw->hdata->block_size[tmp] = carr[tmp]; tmp 799 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c for (tmp = 0; tmp < chip->dw->hdata->nr_channels; tmp++) { tmp 800 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c if (carr[tmp] >= chip->dw->hdata->nr_channels) tmp 803 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c chip->dw->hdata->priority[tmp] = carr[tmp]; tmp 807 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c ret = device_property_read_u32(dev, "snps,axi-max-burst-len", &tmp); tmp 809 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c if (tmp > DWAXIDMAC_ARWLEN_MAX + 1) tmp 811 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c if (tmp < DWAXIDMAC_ARWLEN_MIN + 1) tmp 815 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c chip->dw->hdata->axi_rw_burst_len = tmp - 1; tmp 796 drivers/dma/dw-edma/dw-edma-core.c int tmp = dw->nr_irqs; tmp 798 drivers/dma/dw-edma/dw-edma-core.c while (tmp && (*wr_alloc + *rd_alloc) < ch_cnt) { tmp 799 drivers/dma/dw-edma/dw-edma-core.c dw_edma_dec_irq_alloc(&tmp, wr_alloc, dw->wr_ch_cnt); tmp 800 drivers/dma/dw-edma/dw-edma-core.c dw_edma_dec_irq_alloc(&tmp, rd_alloc, dw->rd_ch_cnt); tmp 153 drivers/dma/dw-edma/dw-edma-v0-core.c u32 tmp; tmp 155 drivers/dma/dw-edma/dw-edma-v0-core.c tmp = FIELD_GET(EDMA_V0_CH_STATUS_MASK, tmp 158 drivers/dma/dw-edma/dw-edma-v0-core.c if (tmp == 1) tmp 160 drivers/dma/dw-edma/dw-edma-v0-core.c else if (tmp == 3) tmp 240 drivers/dma/dw-edma/dw-edma-v0-core.c u32 tmp; tmp 248 drivers/dma/dw-edma/dw-edma-v0-core.c tmp = GET_RW(dw, chan->dir, int_mask); tmp 249 drivers/dma/dw-edma/dw-edma-v0-core.c tmp &= ~FIELD_PREP(EDMA_V0_DONE_INT_MASK, BIT(chan->id)); tmp 250 drivers/dma/dw-edma/dw-edma-v0-core.c tmp &= ~FIELD_PREP(EDMA_V0_ABORT_INT_MASK, BIT(chan->id)); tmp 251 drivers/dma/dw-edma/dw-edma-v0-core.c SET_RW(dw, chan->dir, int_mask, tmp); tmp 253 drivers/dma/dw-edma/dw-edma-v0-core.c tmp = GET_RW(dw, chan->dir, linked_list_err_en); tmp 254 drivers/dma/dw-edma/dw-edma-v0-core.c tmp |= FIELD_PREP(EDMA_V0_LINKED_LIST_ERR_MASK, BIT(chan->id)); tmp 255 drivers/dma/dw-edma/dw-edma-v0-core.c SET_RW(dw, chan->dir, linked_list_err_en, tmp); tmp 273 drivers/dma/dw-edma/dw-edma-v0-core.c u32 tmp = 0; tmp 285 drivers/dma/dw-edma/dw-edma-v0-core.c tmp = GET_RW(dw, chan->dir, ch01_imwr_data); tmp 290 drivers/dma/dw-edma/dw-edma-v0-core.c tmp = GET_RW(dw, chan->dir, ch23_imwr_data); tmp 295 drivers/dma/dw-edma/dw-edma-v0-core.c tmp = GET_RW(dw, chan->dir, ch45_imwr_data); tmp 300 drivers/dma/dw-edma/dw-edma-v0-core.c tmp = GET_RW(dw, chan->dir, ch67_imwr_data); tmp 306 drivers/dma/dw-edma/dw-edma-v0-core.c tmp &= EDMA_V0_CH_EVEN_MSI_DATA_MASK; tmp 307 drivers/dma/dw-edma/dw-edma-v0-core.c tmp |= FIELD_PREP(EDMA_V0_CH_ODD_MSI_DATA_MASK, tmp 311 drivers/dma/dw-edma/dw-edma-v0-core.c tmp &= EDMA_V0_CH_ODD_MSI_DATA_MASK; tmp 312 drivers/dma/dw-edma/dw-edma-v0-core.c tmp |= FIELD_PREP(EDMA_V0_CH_EVEN_MSI_DATA_MASK, tmp 319 drivers/dma/dw-edma/dw-edma-v0-core.c SET_RW(dw, chan->dir, ch01_imwr_data, tmp); tmp 324 drivers/dma/dw-edma/dw-edma-v0-core.c SET_RW(dw, chan->dir, ch23_imwr_data, tmp); tmp 329 drivers/dma/dw-edma/dw-edma-v0-core.c SET_RW(dw, chan->dir, ch45_imwr_data, tmp); tmp 334 drivers/dma/dw-edma/dw-edma-v0-core.c SET_RW(dw, chan->dir, ch67_imwr_data, tmp); tmp 50 drivers/dma/dw/of.c u32 tmp, arr[DW_DMA_MAX_NR_MASTERS], mb[DW_DMA_MAX_NR_CHANNELS]; tmp 76 drivers/dma/dw/of.c if (!of_property_read_u32(np, "chan_allocation_order", &tmp)) tmp 77 drivers/dma/dw/of.c pdata->chan_allocation_order = (unsigned char)tmp; tmp 79 drivers/dma/dw/of.c if (!of_property_read_u32(np, "chan_priority", &tmp)) tmp 80 drivers/dma/dw/of.c pdata->chan_priority = tmp; tmp 82 drivers/dma/dw/of.c if (!of_property_read_u32(np, "block_size", &tmp)) tmp 83 drivers/dma/dw/of.c pdata->block_size = tmp; tmp 86 drivers/dma/dw/of.c for (tmp = 0; tmp < nr_masters; tmp++) tmp 87 drivers/dma/dw/of.c pdata->data_width[tmp] = arr[tmp]; tmp 89 drivers/dma/dw/of.c for (tmp = 0; tmp < nr_masters; tmp++) tmp 90 drivers/dma/dw/of.c pdata->data_width[tmp] = BIT(arr[tmp] & 0x07); tmp 94 drivers/dma/dw/of.c for (tmp = 0; tmp < nr_channels; tmp++) tmp 95 drivers/dma/dw/of.c pdata->multi_block[tmp] = mb[tmp]; tmp 97 drivers/dma/dw/of.c for (tmp = 0; tmp < nr_channels; tmp++) tmp 98 drivers/dma/dw/of.c pdata->multi_block[tmp] = 1; tmp 101 drivers/dma/dw/of.c if (!of_property_read_u32(np, "snps,dma-protection-control", &tmp)) { tmp 102 drivers/dma/dw/of.c if (tmp > CHAN_PROTCTL_MASK) tmp 104 drivers/dma/dw/of.c pdata->protctl = tmp; tmp 329 drivers/dma/imx-dma.c u32 tmp; tmp 331 drivers/dma/imx-dma.c tmp = imx_dmav1_readl(imxdma, DMA_CCR(channel)); tmp 332 drivers/dma/imx-dma.c imx_dmav1_writel(imxdma, tmp | CCR_RPT | CCR_ACRPT, tmp 446 drivers/dma/imx-dma.c u32 tmp; tmp 452 drivers/dma/imx-dma.c tmp = imx_dmav1_readl(imxdma, DMA_CCR(chno)); tmp 461 drivers/dma/imx-dma.c tmp |= CCR_CEN | CCR_RPT | CCR_ACRPT; tmp 462 drivers/dma/imx-dma.c imx_dmav1_writel(imxdma, tmp, DMA_CCR(chno)); tmp 464 drivers/dma/imx-dma.c imx_dmav1_writel(imxdma, tmp & ~CCR_CEN, tmp 466 drivers/dma/imx-dma.c tmp |= CCR_CEN; tmp 469 drivers/dma/imx-dma.c imx_dmav1_writel(imxdma, tmp, DMA_CCR(chno)); tmp 1402 drivers/dma/ipu/ipu_idmac.c struct list_head *list, *tmp; tmp 1411 drivers/dma/ipu/ipu_idmac.c list_for_each_safe(list, tmp, &ichan->queue) tmp 548 drivers/dma/mpc512x_dma.c struct mpc_dma_desc *mdesc, *tmp; tmp 575 drivers/dma/mpc512x_dma.c list_for_each_entry_safe(mdesc, tmp, &descs, node) tmp 739 drivers/dma/nbpfaxi.c struct nbpf_link_desc *ldesc, *tmp; tmp 743 drivers/dma/nbpfaxi.c list_for_each_entry_safe(ldesc, tmp, &desc->sg, node) tmp 752 drivers/dma/nbpfaxi.c struct nbpf_desc *desc, *tmp; tmp 757 drivers/dma/nbpfaxi.c list_for_each_entry_safe(desc, tmp, &chan->done, node) tmp 764 drivers/dma/nbpfaxi.c list_for_each_entry_safe(desc, tmp, &head, node) { tmp 835 drivers/dma/nbpfaxi.c struct nbpf_desc *desc, *tmp; tmp 849 drivers/dma/nbpfaxi.c list_for_each_entry_safe(desc, tmp, &head, node) { tmp 1059 drivers/dma/nbpfaxi.c struct nbpf_desc_page *dpage, *tmp; tmp 1068 drivers/dma/nbpfaxi.c list_for_each_entry_safe(dpage, tmp, &chan->desc_page, node) { tmp 1112 drivers/dma/nbpfaxi.c struct nbpf_desc *desc, *tmp; tmp 1120 drivers/dma/nbpfaxi.c list_for_each_entry_safe(desc, tmp, &chan->done, node) { tmp 607 drivers/dma/pxa_dma.c struct virt_dma_desc *vd, *tmp; tmp 620 drivers/dma/pxa_dma.c list_for_each_entry_safe(vd, tmp, &chan->vc.desc_issued, node) { tmp 691 drivers/dma/qcom/bam_dma.c struct bam_async_desc *async_desc, *tmp; tmp 716 drivers/dma/qcom/bam_dma.c list_for_each_entry_safe(async_desc, tmp, tmp 793 drivers/dma/qcom/bam_dma.c struct bam_async_desc *async_desc, *tmp; tmp 824 drivers/dma/qcom/bam_dma.c list_for_each_entry_safe(async_desc, tmp, tmp 352 drivers/dma/qcom/hidma.c struct hidma_desc *mdesc, *tmp; tmp 385 drivers/dma/qcom/hidma.c list_for_each_entry_safe(mdesc, tmp, &descs, node) { tmp 469 drivers/dma/qcom/hidma.c struct hidma_desc *tmp, *mdesc; tmp 494 drivers/dma/qcom/hidma.c list_for_each_entry_safe(mdesc, tmp, &list, node) { tmp 534 drivers/dma/qcom/hidma.c struct hidma_desc *mdesc, *tmp; tmp 547 drivers/dma/qcom/hidma.c list_for_each_entry_safe(mdesc, tmp, &descs, node) { tmp 33 drivers/dma/qcom/hidma_mgmt_sys.c u64 tmp; \ tmp 36 drivers/dma/qcom/hidma_mgmt_sys.c tmp = mdev->name; \ tmp 40 drivers/dma/qcom/hidma_mgmt_sys.c mdev->name = tmp; \ tmp 58 drivers/dma/qcom/hidma_mgmt_sys.c u64 tmp; tmp 64 drivers/dma/qcom/hidma_mgmt_sys.c tmp = mdev->priority[i]; tmp 68 drivers/dma/qcom/hidma_mgmt_sys.c mdev->priority[i] = tmp; tmp 74 drivers/dma/qcom/hidma_mgmt_sys.c u64 tmp; tmp 80 drivers/dma/qcom/hidma_mgmt_sys.c tmp = mdev->weight[i]; tmp 84 drivers/dma/qcom/hidma_mgmt_sys.c mdev->weight[i] = tmp; tmp 120 drivers/dma/qcom/hidma_mgmt_sys.c unsigned long tmp; tmp 124 drivers/dma/qcom/hidma_mgmt_sys.c rc = kstrtoul(buf, 0, &tmp); tmp 130 drivers/dma/qcom/hidma_mgmt_sys.c rc = hidma_mgmt_files[i].set(mdev, tmp); tmp 163 drivers/dma/qcom/hidma_mgmt_sys.c unsigned long tmp; tmp 169 drivers/dma/qcom/hidma_mgmt_sys.c rc = kstrtoul(buf, 0, &tmp); tmp 174 drivers/dma/qcom/hidma_mgmt_sys.c rc = set_priority(mdev, chattr->index, tmp); tmp 178 drivers/dma/qcom/hidma_mgmt_sys.c rc = set_weight(mdev, chattr->index, tmp); tmp 988 drivers/dma/s3c24xx-dma.c int tmp; tmp 1042 drivers/dma/s3c24xx-dma.c for_each_sg(sgl, sg, sg_len, tmp) { tmp 600 drivers/dma/sirf-dma.c struct sirfsoc_dma_desc *sdesc, *tmp; tmp 618 drivers/dma/sirf-dma.c list_for_each_entry_safe(sdesc, tmp, &descs, node) tmp 242 drivers/dma/sprd-dma.c u32 tmp; tmp 244 drivers/dma/sprd-dma.c tmp = (orig & ~mask) | val; tmp 245 drivers/dma/sprd-dma.c writel(tmp, sdev->glb_base + reg); tmp 252 drivers/dma/sprd-dma.c u32 tmp; tmp 254 drivers/dma/sprd-dma.c tmp = (orig & ~mask) | val; tmp 255 drivers/dma/sprd-dma.c writel(tmp, schan->chn_base + reg); tmp 598 drivers/dma/sun4i-dma.c struct sun4i_dma_promise *promise, *tmp; tmp 601 drivers/dma/sun4i-dma.c list_for_each_entry_safe(promise, tmp, &contract->demands, list) tmp 604 drivers/dma/sun4i-dma.c list_for_each_entry_safe(promise, tmp, &contract->completed_demands, list) tmp 2146 drivers/dma/ti/edma.c u32 (*tmp)[2]; tmp 2148 drivers/dma/ti/edma.c size_t nelm = sz / sizeof(*tmp); tmp 2155 drivers/dma/ti/edma.c tmp = kcalloc(nelm, sizeof(*tmp), GFP_KERNEL); tmp 2156 drivers/dma/ti/edma.c if (!tmp) tmp 2161 drivers/dma/ti/edma.c kfree(tmp); tmp 2168 drivers/dma/ti/edma.c kfree(tmp); tmp 2173 drivers/dma/ti/edma.c (u32 *)tmp, nelm * 2); tmp 2175 drivers/dma/ti/edma.c kfree(tmp); tmp 2180 drivers/dma/ti/edma.c rsv_slots[i][0] = tmp[i][0]; tmp 2181 drivers/dma/ti/edma.c rsv_slots[i][1] = tmp[i][1]; tmp 2189 drivers/dma/ti/edma.c kfree(tmp); tmp 1418 drivers/dma/xilinx/xilinx_dma.c u32 tmp; tmp 1423 drivers/dma/xilinx/xilinx_dma.c err = xilinx_dma_poll_timeout(chan, XILINX_DMA_REG_DMACR, tmp, tmp 1424 drivers/dma/xilinx/xilinx_dma.c !(tmp & XILINX_DMA_DMACR_RESET), 0, tmp 840 drivers/edac/amd64_edac.c u32 i, tmp, umc_base; tmp 851 drivers/edac/amd64_edac.c amd_smn_read(pvt->mc_node_id, umc_base + UMCCH_ECC_BAD_SYMBOL, &tmp); tmp 852 drivers/edac/amd64_edac.c edac_dbg(1, "UMC%d ECC bad symbol: 0x%x\n", i, tmp); tmp 854 drivers/edac/amd64_edac.c amd_smn_read(pvt->mc_node_id, umc_base + UMCCH_UMC_CAP, &tmp); tmp 855 drivers/edac/amd64_edac.c edac_dbg(1, "UMC%d UMC cap: 0x%x\n", i, tmp); tmp 869 drivers/edac/amd64_edac.c amd_smn_read(pvt->mc_node_id, umc_base + UMCCH_ADDR_CFG, &tmp); tmp 871 drivers/edac/amd64_edac.c i, 1 << ((tmp >> 4) & 0x3)); tmp 1169 drivers/edac/amd64_edac.c u32 tmp; tmp 1176 drivers/edac/amd64_edac.c amd64_read_pci_cfg(pvt->F1, DRAM_LOCAL_NODE_LIM, &tmp); tmp 1177 drivers/edac/amd64_edac.c intlv_en = tmp >> 21 & 0x7; tmp 1180 drivers/edac/amd64_edac.c cc6_base = (tmp & GENMASK_ULL(20, 0)) << 3; tmp 1191 drivers/edac/amd64_edac.c amd64_read_pci_cfg(pvt->F1, DRAM_LOCAL_NODE_BASE, &tmp); tmp 1197 drivers/edac/amd64_edac.c tmp_addr |= (tmp & GENMASK_ULL(23, 21)) >> 9; tmp 1991 drivers/edac/amd64_edac.c u32 dct_cont_base_reg, dct_cont_limit_reg, tmp; tmp 2080 drivers/edac/amd64_edac.c &tmp); tmp 2081 drivers/edac/amd64_edac.c chan_addr += (u64) ((tmp >> 11) & 0xfff) << 27; tmp 2726 drivers/edac/amd64_edac.c u32 tmp; tmp 2728 drivers/edac/amd64_edac.c amd64_read_pci_cfg(pvt->F3, EXT_NB_MCA_CFG, &tmp); tmp 2734 drivers/edac/amd64_edac.c if ((pvt->fam > 0x10 || pvt->model > 7) && tmp & BIT(25)) tmp 516 drivers/edac/amd64_edac.h u32 tmp; tmp 517 drivers/edac/amd64_edac.h amd64_read_pci_cfg(pvt->F1, DRAM_CONT_LIMIT, &tmp); tmp 518 drivers/edac/amd64_edac.h return (u8) tmp & 0xF; tmp 526 drivers/edac/amd64_edac.h u32 tmp; tmp 527 drivers/edac/amd64_edac.h amd64_read_pci_cfg(pvt->F1, DRAM_CONT_BASE, &tmp); tmp 528 drivers/edac/amd64_edac.h return (tmp >> 1) & BIT(0); tmp 536 drivers/edac/amd64_edac.h u32 tmp; tmp 537 drivers/edac/amd64_edac.h amd64_read_pci_cfg(pvt->F1, DRAM_CONT_BASE, &tmp); tmp 538 drivers/edac/amd64_edac.h return (tmp >> 11) & 0x1FFF; tmp 157 drivers/edac/amd64_edac_inj.c u32 section, word_bits, tmp; tmp 183 drivers/edac/amd64_edac_inj.c amd64_read_pci_cfg(pvt->F3, F10_NB_ARRAY_DATA, &tmp); tmp 184 drivers/edac/amd64_edac_inj.c if (tmp & F10_NB_ARR_ECC_WR_REQ) { tmp 1137 drivers/edac/i7300_edac.c char *tmp; tmp 1148 drivers/edac/i7300_edac.c tmp = ((struct i7300_pvt *)mci->pvt_info)->tmp_prt_buffer; tmp 1153 drivers/edac/i7300_edac.c kfree(tmp); tmp 1253 drivers/edac/i7core_edac.c struct i7core_dev *i7core_dev, *tmp; tmp 1255 drivers/edac/i7core_edac.c list_for_each_entry_safe(i7core_dev, tmp, &i7core_edac_list, list) { tmp 66 drivers/edac/pasemi_edac.c u32 tmp; tmp 69 drivers/edac/pasemi_edac.c &tmp); tmp 71 drivers/edac/pasemi_edac.c tmp &= (MCDEBUG_ERRSTA_RFL_STATUS | MCDEBUG_ERRSTA_MBE_STATUS tmp 74 drivers/edac/pasemi_edac.c if (tmp) { tmp 75 drivers/edac/pasemi_edac.c if (tmp & MCDEBUG_ERRSTA_SBE_STATUS) tmp 78 drivers/edac/pasemi_edac.c pci_write_config_dword(pdev, MCDEBUG_ERRSTA, tmp); tmp 81 drivers/edac/pasemi_edac.c return tmp; tmp 2321 drivers/edac/sb_edac.c struct sbridge_dev *sbridge_dev, *tmp; tmp 2323 drivers/edac/sb_edac.c list_for_each_entry_safe(sbridge_dev, tmp, &sbridge_edac_list, list) { tmp 624 drivers/edac/skx_common.c struct skx_dev *d, *tmp; tmp 628 drivers/edac/skx_common.c list_for_each_entry_safe(d, tmp, &dev_edac_list, list) { tmp 412 drivers/edac/thunderx_edac.c u8 *tmp; tmp 422 drivers/edac/thunderx_edac.c tmp = kmalloc(cline_size, GFP_KERNEL); tmp 423 drivers/edac/thunderx_edac.c if (!tmp) { tmp 438 drivers/edac/thunderx_edac.c memcpy(tmp, addr + offs, cline_size); tmp 443 drivers/edac/thunderx_edac.c kfree(tmp); tmp 268 drivers/firewire/nosy.c struct pcilynx *tmp, *lynx = NULL; tmp 271 drivers/firewire/nosy.c list_for_each_entry(tmp, &card_list, link) tmp 272 drivers/firewire/nosy.c if (tmp->misc.minor == minor) { tmp 273 drivers/firewire/nosy.c lynx = lynx_get(tmp); tmp 1170 drivers/firewire/ohci.c struct descriptor_buffer *desc, *tmp; tmp 1172 drivers/firewire/ohci.c list_for_each_entry_safe(desc, tmp, &ctx->buffer_list, list) tmp 153 drivers/firmware/psci/psci_checker.c cpumask_var_t tmp, *cpu_groups; tmp 155 drivers/firmware/psci/psci_checker.c if (!alloc_cpumask_var(&tmp, GFP_KERNEL)) tmp 163 drivers/firmware/psci/psci_checker.c cpumask_copy(tmp, cpu_online_mask); tmp 165 drivers/firmware/psci/psci_checker.c while (!cpumask_empty(tmp)) { tmp 167 drivers/firmware/psci/psci_checker.c topology_core_cpumask(cpumask_any(tmp)); tmp 174 drivers/firmware/psci/psci_checker.c cpumask_andnot(tmp, tmp, cpu_group); tmp 177 drivers/firmware/psci/psci_checker.c free_cpumask_var(tmp); tmp 98 drivers/fpga/dfl-afu-region.c struct dfl_afu_mmio_region *tmp, *region; tmp 100 drivers/fpga/dfl-afu-region.c list_for_each_entry_safe(region, tmp, &afu->regions, node) tmp 286 drivers/fpga/dfl-fme-pr.c struct dfl_fme_bridge *fbridge, *tmp; tmp 288 drivers/fpga/dfl-fme-pr.c list_for_each_entry_safe(fbridge, tmp, &priv->bridge_list, node) { tmp 365 drivers/fpga/dfl-fme-pr.c struct dfl_fme_region *fme_region, *tmp; tmp 367 drivers/fpga/dfl-fme-pr.c list_for_each_entry_safe(fme_region, tmp, &priv->region_list, node) { tmp 842 drivers/fpga/dfl.c struct dfl_fpga_enum_dfl *tmp, *dfl; tmp 851 drivers/fpga/dfl.c list_for_each_entry_safe(dfl, tmp, &info->dfls, node) { tmp 147 drivers/gpio/gpio-eic-sprd.c u32 tmp; tmp 150 drivers/gpio/gpio-eic-sprd.c tmp = readl_relaxed(base + reg); tmp 153 drivers/gpio/gpio-eic-sprd.c tmp |= BIT(SPRD_EIC_BIT(offset)); tmp 155 drivers/gpio/gpio-eic-sprd.c tmp &= ~BIT(SPRD_EIC_BIT(offset)); tmp 157 drivers/gpio/gpio-eic-sprd.c writel_relaxed(tmp, base + reg); tmp 128 drivers/gpio/gpio-em.c unsigned long tmp; tmp 144 drivers/gpio/gpio-em.c tmp = em_gio_read(p, GIO_IIA); tmp 145 drivers/gpio/gpio-em.c tmp &= ~BIT(offset); tmp 146 drivers/gpio/gpio-em.c em_gio_write(p, GIO_IIA, tmp); tmp 149 drivers/gpio/gpio-em.c tmp = em_gio_read(p, reg); tmp 150 drivers/gpio/gpio-em.c tmp &= ~(0xf << shift); tmp 151 drivers/gpio/gpio-em.c tmp |= value << shift; tmp 152 drivers/gpio/gpio-em.c em_gio_write(p, reg, tmp); tmp 158 drivers/gpio/gpio-em.c tmp = em_gio_read(p, GIO_IIA); tmp 159 drivers/gpio/gpio-em.c tmp |= BIT(offset); tmp 160 drivers/gpio/gpio-em.c em_gio_write(p, GIO_IIA, tmp); tmp 106 drivers/gpio/gpio-ich.c u32 data, tmp; tmp 127 drivers/gpio/gpio-ich.c tmp = ICHX_READ(ichx_priv.desc->regs[reg][reg_nr], tmp 132 drivers/gpio/gpio-ich.c return (verify && data != tmp) ? -EPERM : 0; tmp 290 drivers/gpio/gpio-pxa.c uint32_t tmp, mask = GPIO_bit(offset); tmp 304 drivers/gpio/gpio-pxa.c tmp = readl_relaxed(base + GPDR_OFFSET); tmp 306 drivers/gpio/gpio-pxa.c tmp &= ~mask; tmp 308 drivers/gpio/gpio-pxa.c tmp |= mask; tmp 309 drivers/gpio/gpio-pxa.c writel_relaxed(tmp, base + GPDR_OFFSET); tmp 78 drivers/gpio/gpio-rcar.c u32 tmp = gpio_rcar_read(p, offs); tmp 81 drivers/gpio/gpio-rcar.c tmp |= BIT(bit); tmp 83 drivers/gpio/gpio-rcar.c tmp &= ~BIT(bit); tmp 85 drivers/gpio/gpio-rcar.c gpio_rcar_write(p, offs, tmp); tmp 66 drivers/gpio/gpio-spear-spics.c u32 tmp; tmp 69 drivers/gpio/gpio-spear-spics.c tmp = readl_relaxed(spics->base + spics->perip_cfg); tmp 72 drivers/gpio/gpio-spear-spics.c tmp &= ~(spics->cs_enable_mask << spics->cs_enable_shift); tmp 73 drivers/gpio/gpio-spear-spics.c tmp |= offset << spics->cs_enable_shift; tmp 77 drivers/gpio/gpio-spear-spics.c tmp &= ~(0x1 << spics->cs_value_bit); tmp 78 drivers/gpio/gpio-spear-spics.c tmp |= value << spics->cs_value_bit; tmp 79 drivers/gpio/gpio-spear-spics.c writel_relaxed(tmp, spics->base + spics->perip_cfg); tmp 97 drivers/gpio/gpio-spear-spics.c u32 tmp; tmp 100 drivers/gpio/gpio-spear-spics.c tmp = readl_relaxed(spics->base + spics->perip_cfg); tmp 101 drivers/gpio/gpio-spear-spics.c tmp |= 0x1 << spics->sw_enable_bit; tmp 102 drivers/gpio/gpio-spear-spics.c tmp |= 0x1 << spics->cs_value_bit; tmp 103 drivers/gpio/gpio-spear-spics.c writel_relaxed(tmp, spics->base + spics->perip_cfg); tmp 112 drivers/gpio/gpio-spear-spics.c u32 tmp; tmp 115 drivers/gpio/gpio-spear-spics.c tmp = readl_relaxed(spics->base + spics->perip_cfg); tmp 116 drivers/gpio/gpio-spear-spics.c tmp &= ~(0x1 << spics->sw_enable_bit); tmp 117 drivers/gpio/gpio-spear-spics.c writel_relaxed(tmp, spics->base + spics->perip_cfg); tmp 55 drivers/gpio/gpio-sprd.c u32 tmp; tmp 58 drivers/gpio/gpio-sprd.c tmp = readl_relaxed(base + reg); tmp 61 drivers/gpio/gpio-sprd.c tmp |= BIT(SPRD_GPIO_BIT(offset)); tmp 63 drivers/gpio/gpio-sprd.c tmp &= ~BIT(SPRD_GPIO_BIT(offset)); tmp 65 drivers/gpio/gpio-sprd.c writel_relaxed(tmp, base + reg); tmp 66 drivers/gpio/gpio-uniphier.c u32 tmp; tmp 69 drivers/gpio/gpio-uniphier.c tmp = readl(priv->regs + reg); tmp 70 drivers/gpio/gpio-uniphier.c tmp &= ~mask; tmp 71 drivers/gpio/gpio-uniphier.c tmp |= mask & val; tmp 72 drivers/gpio/gpio-uniphier.c writel(tmp, priv->regs + reg); tmp 1097 drivers/gpio/gpiolib-acpi.c struct acpi_gpio_connection *conn, *tmp; tmp 1108 drivers/gpio/gpiolib-acpi.c list_for_each_entry_safe_reverse(conn, tmp, &achip->conns, node) { tmp 1351 drivers/gpio/gpiolib-acpi.c struct acpi_gpio_chip *acpi_gpio, *tmp; tmp 1354 drivers/gpio/gpiolib-acpi.c list_for_each_entry_safe(acpi_gpio, tmp, tmp 569 drivers/gpio/gpiolib-of.c u32 tmp; tmp 580 drivers/gpio/gpiolib-of.c ret = of_property_read_u32(chip_np, "#gpio-cells", &tmp); tmp 585 drivers/gpio/gpiolib-of.c gpiospec.args_count = tmp; tmp 587 drivers/gpio/gpiolib-of.c for (i = 0; i < tmp; i++) { tmp 588 drivers/gpio/gpiolib-of.c ret = of_property_read_u32_index(np, "gpios", idx * tmp + i, tmp 2650 drivers/gpio/gpiolib.c struct gpio_pin_range *pin_range, *tmp; tmp 2653 drivers/gpio/gpiolib.c list_for_each_entry_safe(pin_range, tmp, &gdev->pin_ranges, node) { tmp 812 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c struct drm_encoder *tmp; tmp 815 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c list_for_each_entry(tmp, &adev->ddev->mode_config.encoder_list, tmp 817 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c struct amdgpu_encoder *enc = to_amdgpu_encoder(tmp); tmp 808 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c unsigned int tmp; tmp 817 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c tmp = RREG32(mmATC_VMID0_PASID_MAPPING + vmid); tmp 818 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c if ((tmp & ATC_VMID0_PASID_MAPPING__VALID_MASK) && tmp 819 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c (tmp & ATC_VMID0_PASID_MAPPING__PASID_MASK) == pasid) { tmp 767 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c unsigned int tmp; tmp 776 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c tmp = RREG32(mmATC_VMID0_PASID_MAPPING + vmid); tmp 777 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if ((tmp & ATC_VMID0_PASID_MAPPING__VALID_MASK) && tmp 778 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c (tmp & ATC_VMID0_PASID_MAPPING__PASID_MASK) == pasid) { tmp 1231 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct kfd_bo_va_list *entry, *tmp; tmp 1273 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c list_for_each_entry_safe(entry, tmp, &mem->bo_va_list, bo_list) tmp 1142 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u32 tmp; tmp 1146 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c tmp = eng_clock & SET_CLOCK_FREQ_MASK; tmp 1147 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c tmp |= (COMPUTE_ENGINE_PLL_PARAM << 24); tmp 1149 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.ulTargetEngineClock = cpu_to_le32(tmp); tmp 1713 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u32 tmp = RREG32(adev->bios_scratch_reg_offset + 3); tmp 1716 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c tmp |= ATOM_S3_ASIC_GUI_ENGINE_HUNG; tmp 1718 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c tmp &= ~ATOM_S3_ASIC_GUI_ENGINE_HUNG; tmp 1720 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c WREG32(adev->bios_scratch_reg_offset + 3, tmp); tmp 1725 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u32 tmp = RREG32(adev->bios_scratch_reg_offset + 7); tmp 1727 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (tmp & ATOM_S7_ASIC_INIT_COMPLETE_MASK) tmp 51 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c uint16_t tmp, bios_header_start; tmp 69 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c tmp = bios_header_start + 4; tmp 70 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c if (size < tmp) { tmp 75 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c if (!memcmp(bios + tmp, "ATOM", 4) || tmp 76 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c !memcmp(bios + tmp, "MOTA", 4)) { tmp 540 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c u32 tmp, reg, and_mask, or_mask; tmp 552 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c tmp = or_mask; tmp 554 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c tmp = RREG32(reg); tmp 555 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c tmp &= ~and_mask; tmp 557 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c tmp |= (or_mask & and_mask); tmp 559 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c tmp |= or_mask; tmp 561 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c WREG32(reg, tmp); tmp 208 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c unsigned long tmp; tmp 248 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c tmp = amdgpu_bo_gpu_offset(abo) - adev->gmc.vram_start; tmp 249 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c info->fix.smem_start = adev->gmc.aper_base + tmp; tmp 285 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c uint64_t tmp; tmp 290 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c tmp = fault->timestamp; tmp 294 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c if (fault->timestamp >= tmp) tmp 128 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c struct dma_fence *tmp = NULL; tmp 174 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c ((tmp = amdgpu_sync_get_fence(&job->sched_sync, NULL)) || tmp 179 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c if (tmp) tmp 180 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c trace_amdgpu_ib_pipe_sync(job, tmp); tmp 182 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c dma_fence_put(tmp); tmp 290 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct dma_fence *tmp; tmp 294 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c tmp = amdgpu_sync_peek_fence(&(*id)->active, ring); tmp 295 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (tmp) { tmp 297 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c r = amdgpu_sync_fence(adev, sync, tmp, false); tmp 47 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c unsigned tmp; tmp 50 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c tmp = gcd(*nom, *den); tmp 51 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c *nom /= tmp; tmp 52 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c *den /= tmp; tmp 56 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c tmp = DIV_ROUND_UP(nom_min, *nom); tmp 57 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c *nom *= tmp; tmp 58 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c *den *= tmp; tmp 63 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c tmp = DIV_ROUND_UP(den_min, *den); tmp 64 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c *nom *= tmp; tmp 65 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c *den *= tmp; tmp 227 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div); tmp 228 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c fb_div *= tmp; tmp 229 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c ref_div *= tmp; tmp 863 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c char *tmp; tmp 873 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c tmp = buf_cpy; tmp 874 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c while (tmp[0]) { tmp 875 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c sub_str = strsep(&tmp, delimiter); tmp 1274 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c char tmp[2]; tmp 1278 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c tmp[0] = *(buf); tmp 1279 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c tmp[1] = '\0'; tmp 1280 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c ret = kstrtol(tmp, 0, &profile_mode); tmp 536 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct ras_manager *obj, *tmp; tmp 538 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c list_for_each_entry_safe(obj, tmp, &con->head, node) { tmp 912 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct ras_manager *obj, *tmp; tmp 914 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c list_for_each_entry_safe(obj, tmp, &con->head, node) { tmp 971 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct ras_manager *obj, *tmp; tmp 973 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c list_for_each_entry_safe(obj, tmp, &con->head, node) { tmp 1141 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct ras_manager *obj, *tmp; tmp 1143 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c list_for_each_entry_safe(obj, tmp, &con->head, node) { tmp 1218 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c void *tmp = kmalloc(align_space * sizeof(*data->bps), GFP_KERNEL); tmp 1220 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (!tmp) tmp 1224 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c memcpy(tmp, data->bps, tmp 1229 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c data->bps = tmp; tmp 1488 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c struct ras_manager *obj, *tmp; tmp 1505 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c list_for_each_entry_safe(obj, tmp, &con->head, node) { tmp 186 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __le64 tmp = 0; tmp 194 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c tmp = cpu_to_le64(record->ts); tmp 195 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(buff + i, &tmp, 8); tmp 198 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c tmp = cpu_to_le64((record->offset & 0xffffffffffff)); tmp 199 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(buff + i, &tmp, 6); tmp 205 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c tmp = cpu_to_le64((record->retired_page & 0xffffffffffff)); tmp 206 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(buff + i, &tmp, 6); tmp 213 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __le64 tmp = 0; tmp 221 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(&tmp, buff + i, 8); tmp 222 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->ts = le64_to_cpu(tmp); tmp 225 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(&tmp, buff + i, 6); tmp 226 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->offset = (le64_to_cpu(tmp) & 0xffffffffffff); tmp 232 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c memcpy(&tmp, buff + i, 6); tmp 233 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->retired_page = (le64_to_cpu(tmp) & 0xffffffffffff); tmp 80 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c struct amdgpu_sa_bo *sa_bo, *tmp; tmp 94 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c list_for_each_entry_safe(sa_bo, tmp, &sa_manager->olist, olist) { tmp 116 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c struct amdgpu_sa_bo *sa_bo, *tmp; tmp 122 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c list_for_each_entry_safe_from(sa_bo, tmp, &sa_manager->olist, olist) { tmp 211 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c unsigned i, soffset, best, tmp; tmp 247 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c tmp = sa_bo->soffset; tmp 248 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c if (tmp < soffset) { tmp 250 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c tmp += sa_manager->size; tmp 252 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c tmp -= soffset; tmp 253 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c if (tmp < best) { tmp 255 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c best = tmp; tmp 262 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c struct hlist_node *tmp; tmp 265 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c hash_for_each_safe(sync->fences, i, tmp, e, node) { tmp 304 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c struct hlist_node *tmp; tmp 307 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c hash_for_each_safe(sync->fences, i, tmp, e, node) { tmp 336 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c struct hlist_node *tmp; tmp 340 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c hash_for_each_safe(source->fences, i, tmp, e, node) { tmp 362 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c struct hlist_node *tmp; tmp 365 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c hash_for_each_safe(sync->fences, i, tmp, e, node) { tmp 388 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c struct hlist_node *tmp; tmp 391 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c hash_for_each_safe(sync->fences, i, tmp, e, node) { tmp 1099 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct ttm_mem_reg tmp; tmp 1114 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c tmp = bo->mem; tmp 1115 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c tmp.mm_node = NULL; tmp 1125 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = ttm_bo_mem_space(bo, &placement, &tmp, &ctx); tmp 1130 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c flags = amdgpu_ttm_tt_pte_flags(adev, bo->ttm, &tmp); tmp 1133 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->offset = (u64)tmp.start << PAGE_SHIFT; tmp 1136 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm_bo_mem_put(bo, &tmp); tmp 1141 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c bo->mem = tmp; tmp 528 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c unsigned image_size, tmp, min_dpb_size, num_dpb_buffer; tmp 592 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c tmp = max(width_in_mb, height_in_mb); tmp 593 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c min_dpb_size += ALIGN(tmp * 7 * 16, 64); tmp 717 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c uint32_t tmp, handle = 0; tmp 718 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c uint32_t *size = &tmp; tmp 761 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c tmp = amdgpu_get_ib_value(p, ib_idx, idx + 4); tmp 763 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c tmp, bs_idx); tmp 877 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c tmp = amdgpu_get_ib_value(p, ib_idx, idx + 4); tmp 879 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c tmp, bs_idx); tmp 926 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c tmp = destroyed; tmp 929 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c tmp = allocated; tmp 933 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c if (tmp & (1 << i)) tmp 952 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c uint32_t tmp, handle = 0; tmp 1015 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c tmp = destroyed; tmp 1019 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c tmp = allocated; tmp 1023 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c if (tmp & (1 << i)) tmp 383 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c uint32_t tmp = 0; tmp 395 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c tmp = RREG32(adev->vcn.inst[ring->me].external.scratch9); tmp 396 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c if (tmp == 0xDEADBEEF) tmp 713 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c uint32_t tmp = 0; tmp 727 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c tmp = RREG32(adev->vcn.inst[ring->me].external.jpeg_pitch); tmp 728 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c if (tmp == 0xDEADBEEF) tmp 781 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c uint32_t tmp = 0; tmp 801 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c tmp = RREG32(adev->vcn.inst[ring->me].external.jpeg_pitch); tmp 802 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c if (tmp == 0xDEADBEEF) tmp 649 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vm_bo_base *bo_base, *tmp; tmp 654 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_for_each_entry_safe(bo_base, tmp, &vm->evicted, vm_status) { tmp 1984 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_bo_va *bo_va, *tmp; tmp 1989 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_for_each_entry_safe(bo_va, tmp, &vm->moved, base.vm_status) { tmp 2120 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_bo_va_mapping *mapping, *tmp; tmp 2139 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = amdgpu_vm_it_iter_first(&vm->va, saddr, eaddr); tmp 2140 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (tmp) { tmp 2144 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp->start, tmp->last + 1); tmp 2297 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_bo_va_mapping *before, *after, *tmp, *next; tmp 2319 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = amdgpu_vm_it_iter_first(&vm->va, saddr, eaddr); tmp 2320 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c while (tmp) { tmp 2322 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (tmp->start < saddr) { tmp 2323 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c before->start = tmp->start; tmp 2325 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c before->offset = tmp->offset; tmp 2326 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c before->flags = tmp->flags; tmp 2327 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c before->bo_va = tmp->bo_va; tmp 2328 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_add(&before->list, &tmp->bo_va->invalids); tmp 2332 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (tmp->last > eaddr) { tmp 2334 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c after->last = tmp->last; tmp 2335 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c after->offset = tmp->offset; tmp 2336 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c after->offset += after->start - tmp->start; tmp 2337 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c after->flags = tmp->flags; tmp 2338 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c after->bo_va = tmp->bo_va; tmp 2339 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_add(&after->list, &tmp->bo_va->invalids); tmp 2342 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_del(&tmp->list); tmp 2343 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_add(&tmp->list, &removed); tmp 2345 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = amdgpu_vm_it_iter_next(tmp, saddr, eaddr); tmp 2349 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_for_each_entry_safe(tmp, next, &removed, list) { tmp 2350 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_it_remove(tmp, &vm->va); tmp 2351 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_del(&tmp->list); tmp 2353 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (tmp->start < saddr) tmp 2354 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp->start = saddr; tmp 2355 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (tmp->last > eaddr) tmp 2356 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp->last = eaddr; tmp 2358 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp->bo_va = NULL; tmp 2359 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_add(&tmp->list, &vm->freed); tmp 2360 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c trace_amdgpu_vm_bo_unmap(NULL, tmp); tmp 2570 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c uint64_t tmp; tmp 2608 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = roundup_pow_of_two(adev->vm_manager.max_pfn); tmp 2610 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp >>= amdgpu_vm_block_size - 9; tmp 2611 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c tmp = DIV_ROUND_UP(fls64(tmp) - 1, 9) - 1; tmp 2612 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c adev->vm_manager.num_level = min(max_level, (unsigned)tmp); tmp 2635 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c adev->vm_manager.block_size = amdgpu_vm_get_block_size(tmp); tmp 2943 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_bo_va_mapping *mapping, *tmp; tmp 2963 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c rbtree_postorder_for_each_entry_safe(mapping, tmp, tmp 2971 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_for_each_entry_safe(mapping, tmp, &vm->freed, list) { tmp 229 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c struct amdgpu_hive_info *tmp; tmp 237 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c tmp = &xgmi_hives[i]; tmp 238 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c if (tmp->hive_id == adev->gmc.xgmi.hive_id) { tmp 240 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c mutex_lock(&tmp->hive_lock); tmp 242 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c return tmp; tmp 251 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c tmp = &xgmi_hives[hive_count++]; tmp 253 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c if (amdgpu_xgmi_sysfs_create(adev, tmp)) { tmp 258 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c tmp->adev = adev; tmp 259 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c tmp->hive_id = adev->gmc.xgmi.hive_id; tmp 260 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c INIT_LIST_HEAD(&tmp->device_list); tmp 261 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c mutex_init(&tmp->hive_lock); tmp 262 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c mutex_init(&tmp->reset_lock); tmp 265 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c mutex_lock(&tmp->hive_lock); tmp 266 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c tmp->pstate = -1; tmp 269 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c return tmp; tmp 367 drivers/gpu/drm/amd/amdgpu/atombios_dp.c u8 tmp; tmp 377 drivers/gpu/drm/amd/amdgpu/atombios_dp.c DP_EDP_CONFIGURATION_CAP, &tmp) == 1) { tmp 378 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (tmp & 1) tmp 389 drivers/gpu/drm/amd/amdgpu/atombios_dp.c DP_EDP_CONFIGURATION_CAP, &tmp) == 1) { tmp 390 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (tmp & 1) tmp 533 drivers/gpu/drm/amd/amdgpu/atombios_dp.c u8 tmp; tmp 550 drivers/gpu/drm/amd/amdgpu/atombios_dp.c tmp = dp_info->dp_lane_count; tmp 552 drivers/gpu/drm/amd/amdgpu/atombios_dp.c tmp |= DP_LANE_COUNT_ENHANCED_FRAME_EN; tmp 553 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_LANE_COUNT_SET, tmp); tmp 556 drivers/gpu/drm/amd/amdgpu/atombios_dp.c tmp = drm_dp_link_rate_to_bw_code(dp_info->dp_clock); tmp 557 drivers/gpu/drm/amd/amdgpu/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_LINK_BW_SET, tmp); tmp 720 drivers/gpu/drm/amd/amdgpu/atombios_dp.c u8 tmp; tmp 735 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp) tmp 737 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (tmp & DP_TPS3_SUPPORTED) tmp 881 drivers/gpu/drm/amd/amdgpu/cik.c uint32_t tmp; tmp 883 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32(mmCONFIG_CNTL); tmp 885 drivers/gpu/drm/amd/amdgpu/cik.c tmp |= CONFIG_CNTL__VGA_DIS_MASK; tmp 887 drivers/gpu/drm/amd/amdgpu/cik.c tmp &= ~CONFIG_CNTL__VGA_DIS_MASK; tmp 888 drivers/gpu/drm/amd/amdgpu/cik.c WREG32(mmCONFIG_CNTL, tmp); tmp 1310 drivers/gpu/drm/amd/amdgpu/cik.c uint32_t tmp; tmp 1318 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32_SMC(cntl_reg); tmp 1319 drivers/gpu/drm/amd/amdgpu/cik.c tmp &= ~(CG_DCLK_CNTL__DCLK_DIR_CNTL_EN_MASK | tmp 1321 drivers/gpu/drm/amd/amdgpu/cik.c tmp |= dividers.post_divider; tmp 1322 drivers/gpu/drm/amd/amdgpu/cik.c WREG32_SMC(cntl_reg, tmp); tmp 1351 drivers/gpu/drm/amd/amdgpu/cik.c u32 tmp; tmp 1367 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32_SMC(ixCG_ECLK_CNTL); tmp 1368 drivers/gpu/drm/amd/amdgpu/cik.c tmp &= ~(CG_ECLK_CNTL__ECLK_DIR_CNTL_EN_MASK | tmp 1370 drivers/gpu/drm/amd/amdgpu/cik.c tmp |= dividers.post_divider; tmp 1371 drivers/gpu/drm/amd/amdgpu/cik.c WREG32_SMC(ixCG_ECLK_CNTL, tmp); tmp 1435 drivers/gpu/drm/amd/amdgpu/cik.c u32 max_lw, current_lw, tmp; tmp 1446 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32_PCIE(ixPCIE_LC_STATUS1); tmp 1447 drivers/gpu/drm/amd/amdgpu/cik.c max_lw = (tmp & PCIE_LC_STATUS1__LC_DETECTED_LINK_WIDTH_MASK) >> tmp 1449 drivers/gpu/drm/amd/amdgpu/cik.c current_lw = (tmp & PCIE_LC_STATUS1__LC_OPERATING_LINK_WIDTH_MASK) tmp 1453 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32_PCIE(ixPCIE_LC_LINK_WIDTH_CNTL); tmp 1454 drivers/gpu/drm/amd/amdgpu/cik.c if (tmp & PCIE_LC_LINK_WIDTH_CNTL__LC_RENEGOTIATION_SUPPORT_MASK) { tmp 1455 drivers/gpu/drm/amd/amdgpu/cik.c tmp &= ~(PCIE_LC_LINK_WIDTH_CNTL__LC_LINK_WIDTH_MASK | tmp 1457 drivers/gpu/drm/amd/amdgpu/cik.c tmp |= (max_lw << tmp 1459 drivers/gpu/drm/amd/amdgpu/cik.c tmp |= PCIE_LC_LINK_WIDTH_CNTL__LC_UPCONFIGURE_SUPPORT_MASK | tmp 1462 drivers/gpu/drm/amd/amdgpu/cik.c WREG32_PCIE(ixPCIE_LC_LINK_WIDTH_CNTL, tmp); tmp 1478 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32_PCIE(ixPCIE_LC_CNTL4); tmp 1479 drivers/gpu/drm/amd/amdgpu/cik.c tmp |= PCIE_LC_CNTL4__LC_SET_QUIESCE_MASK; tmp 1480 drivers/gpu/drm/amd/amdgpu/cik.c WREG32_PCIE(ixPCIE_LC_CNTL4, tmp); tmp 1482 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32_PCIE(ixPCIE_LC_CNTL4); tmp 1483 drivers/gpu/drm/amd/amdgpu/cik.c tmp |= PCIE_LC_CNTL4__LC_REDO_EQ_MASK; tmp 1484 drivers/gpu/drm/amd/amdgpu/cik.c WREG32_PCIE(ixPCIE_LC_CNTL4, tmp); tmp 1510 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32_PCIE(ixPCIE_LC_CNTL4); tmp 1511 drivers/gpu/drm/amd/amdgpu/cik.c tmp &= ~PCIE_LC_CNTL4__LC_SET_QUIESCE_MASK; tmp 1512 drivers/gpu/drm/amd/amdgpu/cik.c WREG32_PCIE(ixPCIE_LC_CNTL4, tmp); tmp 1756 drivers/gpu/drm/amd/amdgpu/cik.c int tmp; tmp 1788 drivers/gpu/drm/amd/amdgpu/cik.c tmp = RREG32_PCIE(ixPCIE_PERF_CNTL_TXCLK); tmp 1789 drivers/gpu/drm/amd/amdgpu/cik.c cnt0_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK, COUNTER0_UPPER); tmp 1790 drivers/gpu/drm/amd/amdgpu/cik.c cnt1_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK, COUNTER1_UPPER); tmp 190 drivers/gpu/drm/amd/amdgpu/cik_ih.c u32 wptr, tmp; tmp 203 drivers/gpu/drm/amd/amdgpu/cik_ih.c tmp = RREG32(mmIH_RB_CNTL); tmp 204 drivers/gpu/drm/amd/amdgpu/cik_ih.c tmp |= IH_RB_CNTL__WPTR_OVERFLOW_CLEAR_MASK; tmp 205 drivers/gpu/drm/amd/amdgpu/cik_ih.c WREG32(mmIH_RB_CNTL, tmp); tmp 355 drivers/gpu/drm/amd/amdgpu/cik_ih.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 357 drivers/gpu/drm/amd/amdgpu/cik_ih.c if (tmp & SRBM_STATUS__IH_BUSY_MASK) tmp 366 drivers/gpu/drm/amd/amdgpu/cik_ih.c u32 tmp; tmp 371 drivers/gpu/drm/amd/amdgpu/cik_ih.c tmp = RREG32(mmSRBM_STATUS) & SRBM_STATUS__IH_BUSY_MASK; tmp 372 drivers/gpu/drm/amd/amdgpu/cik_ih.c if (!tmp) tmp 384 drivers/gpu/drm/amd/amdgpu/cik_ih.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 386 drivers/gpu/drm/amd/amdgpu/cik_ih.c if (tmp & SRBM_STATUS__IH_BUSY_MASK) tmp 390 drivers/gpu/drm/amd/amdgpu/cik_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 391 drivers/gpu/drm/amd/amdgpu/cik_ih.c tmp |= srbm_soft_reset; tmp 392 drivers/gpu/drm/amd/amdgpu/cik_ih.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 393 drivers/gpu/drm/amd/amdgpu/cik_ih.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 394 drivers/gpu/drm/amd/amdgpu/cik_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 398 drivers/gpu/drm/amd/amdgpu/cik_ih.c tmp &= ~srbm_soft_reset; tmp 399 drivers/gpu/drm/amd/amdgpu/cik_ih.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 400 drivers/gpu/drm/amd/amdgpu/cik_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 619 drivers/gpu/drm/amd/amdgpu/cik_sdma.c u32 tmp; tmp 627 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = 0xCAFEDEAD; tmp 628 drivers/gpu/drm/amd/amdgpu/cik_sdma.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 642 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 643 drivers/gpu/drm/amd/amdgpu/cik_sdma.c if (tmp == 0xDEADBEEF) tmp 670 drivers/gpu/drm/amd/amdgpu/cik_sdma.c u32 tmp = 0; tmp 679 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = 0xCAFEDEAD; tmp 680 drivers/gpu/drm/amd/amdgpu/cik_sdma.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 704 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 705 drivers/gpu/drm/amd/amdgpu/cik_sdma.c if (tmp == 0xDEADBEEF) tmp 1044 drivers/gpu/drm/amd/amdgpu/cik_sdma.c u32 tmp = RREG32(mmSRBM_STATUS2); tmp 1046 drivers/gpu/drm/amd/amdgpu/cik_sdma.c if (tmp & (SRBM_STATUS2__SDMA_BUSY_MASK | tmp 1056 drivers/gpu/drm/amd/amdgpu/cik_sdma.c u32 tmp; tmp 1060 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = RREG32(mmSRBM_STATUS2) & (SRBM_STATUS2__SDMA_BUSY_MASK | tmp 1063 drivers/gpu/drm/amd/amdgpu/cik_sdma.c if (!tmp) tmp 1074 drivers/gpu/drm/amd/amdgpu/cik_sdma.c u32 tmp = RREG32(mmSRBM_STATUS2); tmp 1076 drivers/gpu/drm/amd/amdgpu/cik_sdma.c if (tmp & SRBM_STATUS2__SDMA_BUSY_MASK) { tmp 1078 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = RREG32(mmSDMA0_F32_CNTL + SDMA0_REGISTER_OFFSET); tmp 1079 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp |= SDMA0_F32_CNTL__HALT_MASK; tmp 1080 drivers/gpu/drm/amd/amdgpu/cik_sdma.c WREG32(mmSDMA0_F32_CNTL + SDMA0_REGISTER_OFFSET, tmp); tmp 1083 drivers/gpu/drm/amd/amdgpu/cik_sdma.c if (tmp & SRBM_STATUS2__SDMA1_BUSY_MASK) { tmp 1085 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = RREG32(mmSDMA0_F32_CNTL + SDMA1_REGISTER_OFFSET); tmp 1086 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp |= SDMA0_F32_CNTL__HALT_MASK; tmp 1087 drivers/gpu/drm/amd/amdgpu/cik_sdma.c WREG32(mmSDMA0_F32_CNTL + SDMA1_REGISTER_OFFSET, tmp); tmp 1092 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1093 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp |= srbm_soft_reset; tmp 1094 drivers/gpu/drm/amd/amdgpu/cik_sdma.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1095 drivers/gpu/drm/amd/amdgpu/cik_sdma.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1096 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1100 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp &= ~srbm_soft_reset; tmp 1101 drivers/gpu/drm/amd/amdgpu/cik_sdma.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1102 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 192 drivers/gpu/drm/amd/amdgpu/cz_ih.c u32 wptr, tmp; tmp 205 drivers/gpu/drm/amd/amdgpu/cz_ih.c tmp = RREG32(mmIH_RB_CNTL); tmp 206 drivers/gpu/drm/amd/amdgpu/cz_ih.c tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, WPTR_OVERFLOW_CLEAR, 1); tmp 207 drivers/gpu/drm/amd/amdgpu/cz_ih.c WREG32(mmIH_RB_CNTL, tmp); tmp 334 drivers/gpu/drm/amd/amdgpu/cz_ih.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 336 drivers/gpu/drm/amd/amdgpu/cz_ih.c if (REG_GET_FIELD(tmp, SRBM_STATUS, IH_BUSY)) tmp 345 drivers/gpu/drm/amd/amdgpu/cz_ih.c u32 tmp; tmp 350 drivers/gpu/drm/amd/amdgpu/cz_ih.c tmp = RREG32(mmSRBM_STATUS); tmp 351 drivers/gpu/drm/amd/amdgpu/cz_ih.c if (!REG_GET_FIELD(tmp, SRBM_STATUS, IH_BUSY)) tmp 362 drivers/gpu/drm/amd/amdgpu/cz_ih.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 364 drivers/gpu/drm/amd/amdgpu/cz_ih.c if (tmp & SRBM_STATUS__IH_BUSY_MASK) tmp 369 drivers/gpu/drm/amd/amdgpu/cz_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 370 drivers/gpu/drm/amd/amdgpu/cz_ih.c tmp |= srbm_soft_reset; tmp 371 drivers/gpu/drm/amd/amdgpu/cz_ih.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 372 drivers/gpu/drm/amd/amdgpu/cz_ih.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 373 drivers/gpu/drm/amd/amdgpu/cz_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 377 drivers/gpu/drm/amd/amdgpu/cz_ih.c tmp &= ~srbm_soft_reset; tmp 378 drivers/gpu/drm/amd/amdgpu/cz_ih.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 379 drivers/gpu/drm/amd/amdgpu/cz_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 240 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 243 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset); tmp 244 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, GRPH_FLIP_CONTROL, tmp 246 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 307 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 313 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd]); tmp 315 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_POLARITY, 0); tmp 317 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_POLARITY, 1); tmp 318 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 333 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 348 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 349 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_EN, 0); tmp 350 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 354 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 355 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_CONTROL, DC_HPD_EN, 1); tmp 356 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 358 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDC_HPD_TOGGLE_FILT_CNTL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 359 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_TOGGLE_FILT_CNTL, tmp 362 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_TOGGLE_FILT_CNTL, tmp 365 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDC_HPD_TOGGLE_FILT_CNTL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 385 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 393 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 394 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_CONTROL, DC_HPD_EN, 0); tmp 395 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 411 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 i, j, tmp; tmp 414 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); tmp 415 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (REG_GET_FIELD(tmp, CRTC_CONTROL, CRTC_MASTER_EN)) { tmp 424 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmCRTC_STATUS_HV_COUNT + crtc_offsets[i]); tmp 425 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (tmp != crtc_status[i]) tmp 440 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 443 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmVGA_HDP_CONTROL); tmp 445 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 0); tmp 447 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 1); tmp 448 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmVGA_HDP_CONTROL, tmp); tmp 451 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmVGA_RENDER_CONTROL); tmp 453 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, VGA_RENDER_CONTROL, VGA_VSTATUS_CNTL, 1); tmp 455 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, VGA_RENDER_CONTROL, VGA_VSTATUS_CNTL, 0); tmp 456 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmVGA_RENDER_CONTROL, tmp); tmp 478 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 489 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); tmp 490 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, CRTC_CONTROL, CRTC_MASTER_EN, 0); tmp 491 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmCRTC_CONTROL + crtc_offsets[i], tmp); tmp 506 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp = 0; tmp 531 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_FRAME_RANDOM_ENABLE, 1); tmp 532 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_HIGHPASS_RANDOM_ENABLE, 1); tmp 533 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_EN, 1); tmp 534 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_DEPTH, 0); tmp 536 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_EN, 1); tmp 537 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_DEPTH, 0); tmp 543 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_FRAME_RANDOM_ENABLE, 1); tmp 544 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_HIGHPASS_RANDOM_ENABLE, 1); tmp 545 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_RGB_RANDOM_ENABLE, 1); tmp 546 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_EN, 1); tmp 547 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_DEPTH, 1); tmp 549 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_EN, 1); tmp 550 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_DEPTH, 1); tmp 556 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_FRAME_RANDOM_ENABLE, 1); tmp 557 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_HIGHPASS_RANDOM_ENABLE, 1); tmp 558 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_RGB_RANDOM_ENABLE, 1); tmp 559 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_EN, 1); tmp 560 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_DEPTH, 2); tmp 562 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_EN, 1); tmp 563 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_DEPTH, 2); tmp 571 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmFMT_BIT_DEPTH_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 592 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp, buffer_alloc, i, mem_cfg; tmp 622 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmLB_MEMORY_CTRL + amdgpu_crtc->crtc_offset); tmp 623 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, LB_MEMORY_CTRL, LB_MEMORY_CONFIG, mem_cfg); tmp 624 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmLB_MEMORY_CTRL + amdgpu_crtc->crtc_offset, tmp); tmp 626 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmPIPE0_DMIF_BUFFER_CONTROL + pipe_offset); tmp 627 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, PIPE0_DMIF_BUFFER_CONTROL, DMIF_BUFFERS_ALLOCATED, buffer_alloc); tmp 628 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmPIPE0_DMIF_BUFFER_CONTROL + pipe_offset, tmp); tmp 631 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmPIPE0_DMIF_BUFFER_CONTROL + pipe_offset); tmp 632 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (REG_GET_FIELD(tmp, PIPE0_DMIF_BUFFER_CONTROL, DMIF_BUFFERS_ALLOCATION_COMPLETED)) tmp 664 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp = RREG32(mmMC_SHARED_CHMAP); tmp 666 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c switch (REG_GET_FIELD(tmp, MC_SHARED_CHMAP, NOOFCHAN)) { tmp 896 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp, dmif_size = 12288; tmp 915 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = div_u64((u64) dmif_size * (u64) wm->disp_clk, mc_latency + 512); tmp 916 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = min(dfixed_trunc(a), tmp); tmp 918 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); tmp 1029 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp, wm_mask, lb_vblank_lead_lines = 0; tmp 1120 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(wm_mask, DPG_WATERMARK_MASK_CONTROL, URGENCY_WATERMARK_MASK, 1); tmp 1121 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDPG_WATERMARK_MASK_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1122 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDPG_PIPE_URGENCY_CONTROL + amdgpu_crtc->crtc_offset); tmp 1123 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DPG_PIPE_URGENCY_CONTROL, URGENCY_LOW_WATERMARK, latency_watermark_a); tmp 1124 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DPG_PIPE_URGENCY_CONTROL, URGENCY_HIGH_WATERMARK, line_time); tmp 1125 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDPG_PIPE_URGENCY_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1127 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(wm_mask, DPG_WATERMARK_MASK_CONTROL, URGENCY_WATERMARK_MASK, 2); tmp 1128 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDPG_WATERMARK_MASK_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1129 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDPG_PIPE_URGENCY_CONTROL + amdgpu_crtc->crtc_offset); tmp 1130 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DPG_PIPE_URGENCY_CONTROL, URGENCY_LOW_WATERMARK, latency_watermark_b); tmp 1131 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DPG_PIPE_URGENCY_CONTROL, URGENCY_HIGH_WATERMARK, line_time); tmp 1132 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDPG_PIPE_URGENCY_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1175 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 offset, tmp; tmp 1179 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32_AUDIO_ENDPT(offset, tmp 1181 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (((tmp & tmp 1209 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 1214 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset); tmp 1215 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_SRC_CONTROL, AFMT_AUDIO_SRC_SELECT, dig->afmt->pin->id); tmp 1216 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset, tmp); tmp 1227 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 1248 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1250 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1253 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1255 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1259 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c ixAZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp); tmp 1269 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 1295 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32_AUDIO_ENDPT(dig->afmt->pin->offset, tmp 1297 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1300 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1303 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1306 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1309 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c ixAZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp); tmp 1362 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp = 0; tmp 1372 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1374 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1376 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1388 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1390 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, eld_reg_to_type[i][0], tmp); tmp 1472 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 1474 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_ACR_32_0 + dig->afmt->offset); tmp 1475 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_32_0, HDMI_ACR_CTS_32, acr.cts_32khz); tmp 1476 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_ACR_32_0 + dig->afmt->offset, tmp); tmp 1477 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_ACR_32_1 + dig->afmt->offset); tmp 1478 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_32_1, HDMI_ACR_N_32, acr.n_32khz); tmp 1479 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_ACR_32_1 + dig->afmt->offset, tmp); tmp 1481 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_ACR_44_0 + dig->afmt->offset); tmp 1482 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_44_0, HDMI_ACR_CTS_44, acr.cts_44_1khz); tmp 1483 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_ACR_44_0 + dig->afmt->offset, tmp); tmp 1484 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_ACR_44_1 + dig->afmt->offset); tmp 1485 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_44_1, HDMI_ACR_N_44, acr.n_44_1khz); tmp 1486 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_ACR_44_1 + dig->afmt->offset, tmp); tmp 1488 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_ACR_48_0 + dig->afmt->offset); tmp 1489 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_48_0, HDMI_ACR_CTS_48, acr.cts_48khz); tmp 1490 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_ACR_48_0 + dig->afmt->offset, tmp); tmp 1491 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_ACR_48_1 + dig->afmt->offset); tmp 1492 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_48_1, HDMI_ACR_N_48, acr.n_48khz); tmp 1493 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_ACR_48_1 + dig->afmt->offset, tmp); tmp 1529 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 1539 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDCCG_AUDIO_DTO_SOURCE); tmp 1540 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DCCG_AUDIO_DTO_SOURCE, DCCG_AUDIO_DTO0_SOURCE_SEL, tmp 1542 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDCCG_AUDIO_DTO_SOURCE, tmp); tmp 1561 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 1583 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset); tmp 1584 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_NULL_SEND, 1); tmp 1585 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp); /* send null packets when required */ tmp 1589 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_CONTROL + dig->afmt->offset); tmp 1596 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_ENABLE, 0); tmp 1597 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_DEPTH, 0); tmp 1602 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_ENABLE, 1); tmp 1603 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_DEPTH, 1); tmp 1608 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_ENABLE, 1); tmp 1609 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_DEPTH, 2); tmp 1614 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_CONTROL + dig->afmt->offset, tmp); tmp 1616 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset); tmp 1617 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_NULL_SEND, 1); /* send null packets when required */ tmp 1618 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_GC_SEND, 1); /* send general control packets */ tmp 1619 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_GC_CONT, 1); /* send general control packets every frame */ tmp 1620 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1622 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1624 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AUDIO_INFO_SEND, 1); tmp 1626 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AUDIO_INFO_CONT, 1); tmp 1627 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1629 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1631 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_INFOFRAME_CONTROL0, AFMT_AUDIO_INFO_UPDATE, 1); tmp 1632 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1634 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset); tmp 1636 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL1, HDMI_AUDIO_INFO_LINE, 2); tmp 1637 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp); tmp 1641 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1643 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_AUDIO_PACKET_CONTROL, HDMI_AUDIO_DELAY_EN, 1); tmp 1645 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_AUDIO_PACKET_CONTROL, HDMI_AUDIO_PACKETS_PER_LINE, 3); tmp 1646 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1648 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1650 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_60958_CS_UPDATE, 1); tmp 1651 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1653 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset); tmp 1656 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_PACKET_CONTROL, HDMI_ACR_SOURCE, 0); tmp 1659 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_PACKET_CONTROL, HDMI_ACR_SOURCE, 1); tmp 1661 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_PACKET_CONTROL, HDMI_ACR_AUTO_SEND, 1); tmp 1662 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1666 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmAFMT_60958_0 + dig->afmt->offset); tmp 1667 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_0, AFMT_60958_CS_CHANNEL_NUMBER_L, 1); tmp 1668 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmAFMT_60958_0 + dig->afmt->offset, tmp); tmp 1670 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmAFMT_60958_1 + dig->afmt->offset); tmp 1671 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_1, AFMT_60958_CS_CHANNEL_NUMBER_R, 2); tmp 1672 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmAFMT_60958_1 + dig->afmt->offset, tmp); tmp 1674 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmAFMT_60958_2 + dig->afmt->offset); tmp 1675 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_2, 3); tmp 1676 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_3, 4); tmp 1677 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_4, 5); tmp 1678 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_5, 6); tmp 1679 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_6, 7); tmp 1680 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_7, 8); tmp 1681 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmAFMT_60958_2 + dig->afmt->offset, tmp); tmp 1706 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1708 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AVI_INFO_SEND, 1); tmp 1710 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AVI_INFO_CONT, 1); tmp 1711 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1713 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset); tmp 1714 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL1, HDMI_AVI_INFO_LINE, 2); tmp 1715 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp); tmp 1717 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1719 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_AUDIO_SAMPLE_SEND, 1); tmp 1720 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1843 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp, viewport_w, viewport_h; tmp 2003 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset); tmp 2004 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, GRPH_FLIP_CONTROL, tmp 2006 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2024 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmGRPH_LUT_10BIT_BYPASS + amdgpu_crtc->crtc_offset); tmp 2026 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, GRPH_LUT_10BIT_BYPASS, GRPH_LUT_10BIT_BYPASS_EN, 1); tmp 2028 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, GRPH_LUT_10BIT_BYPASS, GRPH_LUT_10BIT_BYPASS_EN, 0); tmp 2029 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmGRPH_LUT_10BIT_BYPASS + amdgpu_crtc->crtc_offset, tmp); tmp 2082 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 2084 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmLB_DATA_FORMAT + amdgpu_crtc->crtc_offset); tmp 2086 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, LB_DATA_FORMAT, INTERLEAVE_EN, 1); tmp 2088 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, LB_DATA_FORMAT, INTERLEAVE_EN, 0); tmp 2089 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmLB_DATA_FORMAT + amdgpu_crtc->crtc_offset, tmp); tmp 2099 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 2103 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmINPUT_CSC_CONTROL + amdgpu_crtc->crtc_offset); tmp 2104 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, INPUT_CSC_CONTROL, INPUT_CSC_GRPH_MODE, 0); tmp 2105 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, INPUT_CSC_CONTROL, INPUT_CSC_OVL_MODE, 0); tmp 2106 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmINPUT_CSC_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2108 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmPRESCALE_GRPH_CONTROL + amdgpu_crtc->crtc_offset); tmp 2109 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, PRESCALE_GRPH_CONTROL, GRPH_PRESCALE_BYPASS, 1); tmp 2110 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmPRESCALE_GRPH_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2112 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmPRESCALE_OVL_CONTROL + amdgpu_crtc->crtc_offset); tmp 2113 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, PRESCALE_OVL_CONTROL, OVL_PRESCALE_BYPASS, 1); tmp 2114 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmPRESCALE_OVL_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2116 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmINPUT_GAMMA_CONTROL + amdgpu_crtc->crtc_offset); tmp 2117 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, INPUT_GAMMA_CONTROL, GRPH_INPUT_GAMMA_MODE, 0); tmp 2118 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, INPUT_GAMMA_CONTROL, OVL_INPUT_GAMMA_MODE, 0); tmp 2119 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmINPUT_GAMMA_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2145 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDEGAMMA_CONTROL + amdgpu_crtc->crtc_offset); tmp 2146 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DEGAMMA_CONTROL, GRPH_DEGAMMA_MODE, 0); tmp 2147 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DEGAMMA_CONTROL, OVL_DEGAMMA_MODE, 0); tmp 2148 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DEGAMMA_CONTROL, CURSOR_DEGAMMA_MODE, 0); tmp 2149 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDEGAMMA_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2151 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmGAMUT_REMAP_CONTROL + amdgpu_crtc->crtc_offset); tmp 2152 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, GAMUT_REMAP_CONTROL, GRPH_GAMUT_REMAP_MODE, 0); tmp 2153 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, GAMUT_REMAP_CONTROL, OVL_GAMUT_REMAP_MODE, 0); tmp 2154 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmGAMUT_REMAP_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2156 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmREGAMMA_CONTROL + amdgpu_crtc->crtc_offset); tmp 2157 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, REGAMMA_CONTROL, GRPH_REGAMMA_MODE, 0); tmp 2158 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, REGAMMA_CONTROL, OVL_REGAMMA_MODE, 0); tmp 2159 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmREGAMMA_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2161 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmOUTPUT_CSC_CONTROL + amdgpu_crtc->crtc_offset); tmp 2162 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, OUTPUT_CSC_CONTROL, OUTPUT_CSC_GRPH_MODE, 0); tmp 2163 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, OUTPUT_CSC_CONTROL, OUTPUT_CSC_OVL_MODE, 0); tmp 2164 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmOUTPUT_CSC_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2171 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmALPHA_CONTROL + amdgpu_crtc->crtc_offset); tmp 2172 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, ALPHA_CONTROL, CURSOR_ALPHA_BLND_ENA, 1); tmp 2173 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmALPHA_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2286 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 2288 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32_IDX(mmCUR_CONTROL + amdgpu_crtc->crtc_offset); tmp 2289 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, CUR_CONTROL, CURSOR_EN, 0); tmp 2290 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32_IDX(mmCUR_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2297 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 2304 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32_IDX(mmCUR_CONTROL + amdgpu_crtc->crtc_offset); tmp 2305 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, CUR_CONTROL, CURSOR_EN, 1); tmp 2306 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, CUR_CONTROL, CURSOR_MODE, 2); tmp 2307 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32_IDX(mmCUR_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2927 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 srbm_soft_reset = 0, tmp; tmp 2934 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 2935 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp |= srbm_soft_reset; tmp 2936 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 2937 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 2938 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 2942 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp &= ~srbm_soft_reset; tmp 2943 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 2944 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 3015 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 3024 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd]); tmp 3025 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_EN, 0); tmp 3026 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 3029 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd]); tmp 3030 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_EN, 1); tmp 3031 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 3167 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 3174 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd]); tmp 3175 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_ACK, 1); tmp 3176 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 3182 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 3189 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmLB_VBLANK_STATUS + crtc_offsets[crtc]); tmp 3190 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, LB_VBLANK_STATUS, VBLANK_ACK, 1); tmp 3191 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmLB_VBLANK_STATUS + crtc_offsets[crtc], tmp); tmp 3197 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 tmp; tmp 3204 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = RREG32(mmLB_VLINE_STATUS + crtc_offsets[crtc]); tmp 3205 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c tmp = REG_SET_FIELD(tmp, LB_VLINE_STATUS, VLINE_ACK, 1); tmp 3206 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c WREG32(mmLB_VLINE_STATUS + crtc_offsets[crtc], tmp); tmp 258 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 261 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset); tmp 262 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, GRPH_FLIP_CONTROL, tmp 264 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 325 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 331 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd]); tmp 333 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_POLARITY, 0); tmp 335 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_POLARITY, 1); tmp 336 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 351 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 366 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 367 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_EN, 0); tmp 368 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 372 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 373 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_CONTROL, DC_HPD_EN, 1); tmp 374 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 376 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDC_HPD_TOGGLE_FILT_CNTL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 377 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_TOGGLE_FILT_CNTL, tmp 380 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_TOGGLE_FILT_CNTL, tmp 383 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDC_HPD_TOGGLE_FILT_CNTL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 402 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 410 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 411 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_CONTROL, DC_HPD_EN, 0); tmp 412 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 427 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 i, j, tmp; tmp 430 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); tmp 431 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (REG_GET_FIELD(tmp, CRTC_CONTROL, CRTC_MASTER_EN)) { tmp 440 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmCRTC_STATUS_HV_COUNT + crtc_offsets[i]); tmp 441 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (tmp != crtc_status[i]) tmp 456 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 459 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmVGA_HDP_CONTROL); tmp 461 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 0); tmp 463 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 1); tmp 464 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmVGA_HDP_CONTROL, tmp); tmp 467 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmVGA_RENDER_CONTROL); tmp 469 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, VGA_RENDER_CONTROL, VGA_VSTATUS_CNTL, 1); tmp 471 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, VGA_RENDER_CONTROL, VGA_VSTATUS_CNTL, 0); tmp 472 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmVGA_RENDER_CONTROL, tmp); tmp 504 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 515 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); tmp 516 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, CRTC_CONTROL, CRTC_MASTER_EN, 0); tmp 517 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmCRTC_CONTROL + crtc_offsets[i], tmp); tmp 532 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp = 0; tmp 557 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_FRAME_RANDOM_ENABLE, 1); tmp 558 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_HIGHPASS_RANDOM_ENABLE, 1); tmp 559 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_EN, 1); tmp 560 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_DEPTH, 0); tmp 562 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_EN, 1); tmp 563 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_DEPTH, 0); tmp 569 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_FRAME_RANDOM_ENABLE, 1); tmp 570 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_HIGHPASS_RANDOM_ENABLE, 1); tmp 571 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_RGB_RANDOM_ENABLE, 1); tmp 572 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_EN, 1); tmp 573 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_DEPTH, 1); tmp 575 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_EN, 1); tmp 576 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_DEPTH, 1); tmp 582 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_FRAME_RANDOM_ENABLE, 1); tmp 583 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_HIGHPASS_RANDOM_ENABLE, 1); tmp 584 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_RGB_RANDOM_ENABLE, 1); tmp 585 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_EN, 1); tmp 586 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_SPATIAL_DITHER_DEPTH, 2); tmp 588 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_EN, 1); tmp 589 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, FMT_BIT_DEPTH_CONTROL, FMT_TRUNCATE_DEPTH, 2); tmp 597 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmFMT_BIT_DEPTH_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 618 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp, buffer_alloc, i, mem_cfg; tmp 648 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmLB_MEMORY_CTRL + amdgpu_crtc->crtc_offset); tmp 649 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, LB_MEMORY_CTRL, LB_MEMORY_CONFIG, mem_cfg); tmp 650 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmLB_MEMORY_CTRL + amdgpu_crtc->crtc_offset, tmp); tmp 652 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmPIPE0_DMIF_BUFFER_CONTROL + pipe_offset); tmp 653 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, PIPE0_DMIF_BUFFER_CONTROL, DMIF_BUFFERS_ALLOCATED, buffer_alloc); tmp 654 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmPIPE0_DMIF_BUFFER_CONTROL + pipe_offset, tmp); tmp 657 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmPIPE0_DMIF_BUFFER_CONTROL + pipe_offset); tmp 658 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (REG_GET_FIELD(tmp, PIPE0_DMIF_BUFFER_CONTROL, DMIF_BUFFERS_ALLOCATION_COMPLETED)) tmp 690 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp = RREG32(mmMC_SHARED_CHMAP); tmp 692 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (REG_GET_FIELD(tmp, MC_SHARED_CHMAP, NOOFCHAN)) { tmp 922 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp, dmif_size = 12288; tmp 941 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = div_u64((u64) dmif_size * (u64) wm->disp_clk, mc_latency + 512); tmp 942 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = min(dfixed_trunc(a), tmp); tmp 944 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); tmp 1055 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp, wm_mask, lb_vblank_lead_lines = 0; tmp 1146 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(wm_mask, DPG_WATERMARK_MASK_CONTROL, URGENCY_WATERMARK_MASK, 1); tmp 1147 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDPG_WATERMARK_MASK_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1148 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDPG_PIPE_URGENCY_CONTROL + amdgpu_crtc->crtc_offset); tmp 1149 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DPG_PIPE_URGENCY_CONTROL, URGENCY_LOW_WATERMARK, latency_watermark_a); tmp 1150 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DPG_PIPE_URGENCY_CONTROL, URGENCY_HIGH_WATERMARK, line_time); tmp 1151 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDPG_PIPE_URGENCY_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1153 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(wm_mask, DPG_WATERMARK_MASK_CONTROL, URGENCY_WATERMARK_MASK, 2); tmp 1154 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDPG_WATERMARK_MASK_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1155 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDPG_PIPE_URGENCY_CONTROL + amdgpu_crtc->crtc_offset); tmp 1156 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DPG_PIPE_URGENCY_CONTROL, URGENCY_LOW_WATERMARK, latency_watermark_b); tmp 1157 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DPG_PIPE_URGENCY_CONTROL, URGENCY_HIGH_WATERMARK, line_time); tmp 1158 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDPG_PIPE_URGENCY_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1201 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 offset, tmp; tmp 1205 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32_AUDIO_ENDPT(offset, tmp 1207 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (((tmp & tmp 1235 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 1240 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset); tmp 1241 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_SRC_CONTROL, AFMT_AUDIO_SRC_SELECT, dig->afmt->pin->id); tmp 1242 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmAFMT_AUDIO_SRC_CONTROL + dig->afmt->offset, tmp); tmp 1253 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 1274 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1276 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1279 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1281 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1285 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c ixAZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp); tmp 1295 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 1321 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32_AUDIO_ENDPT(dig->afmt->pin->offset, tmp 1323 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1326 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1329 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1332 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1335 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c ixAZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp); tmp 1388 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp = 0; tmp 1398 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1400 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1402 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1414 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1416 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, eld_reg_to_type[i][0], tmp); tmp 1514 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 1516 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_ACR_32_0 + dig->afmt->offset); tmp 1517 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_32_0, HDMI_ACR_CTS_32, acr.cts_32khz); tmp 1518 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_ACR_32_0 + dig->afmt->offset, tmp); tmp 1519 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_ACR_32_1 + dig->afmt->offset); tmp 1520 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_32_1, HDMI_ACR_N_32, acr.n_32khz); tmp 1521 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_ACR_32_1 + dig->afmt->offset, tmp); tmp 1523 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_ACR_44_0 + dig->afmt->offset); tmp 1524 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_44_0, HDMI_ACR_CTS_44, acr.cts_44_1khz); tmp 1525 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_ACR_44_0 + dig->afmt->offset, tmp); tmp 1526 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_ACR_44_1 + dig->afmt->offset); tmp 1527 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_44_1, HDMI_ACR_N_44, acr.n_44_1khz); tmp 1528 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_ACR_44_1 + dig->afmt->offset, tmp); tmp 1530 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_ACR_48_0 + dig->afmt->offset); tmp 1531 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_48_0, HDMI_ACR_CTS_48, acr.cts_48khz); tmp 1532 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_ACR_48_0 + dig->afmt->offset, tmp); tmp 1533 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_ACR_48_1 + dig->afmt->offset); tmp 1534 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_48_1, HDMI_ACR_N_48, acr.n_48khz); tmp 1535 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_ACR_48_1 + dig->afmt->offset, tmp); tmp 1571 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 1581 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDCCG_AUDIO_DTO_SOURCE); tmp 1582 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DCCG_AUDIO_DTO_SOURCE, DCCG_AUDIO_DTO0_SOURCE_SEL, tmp 1584 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDCCG_AUDIO_DTO_SOURCE, tmp); tmp 1603 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 1625 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset); tmp 1626 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_NULL_SEND, 1); tmp 1627 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp); /* send null packets when required */ tmp 1631 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_CONTROL + dig->afmt->offset); tmp 1638 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_ENABLE, 0); tmp 1639 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_DEPTH, 0); tmp 1644 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_ENABLE, 1); tmp 1645 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_DEPTH, 1); tmp 1650 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_ENABLE, 1); tmp 1651 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_CONTROL, HDMI_DEEP_COLOR_DEPTH, 2); tmp 1656 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_CONTROL + dig->afmt->offset, tmp); tmp 1658 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset); tmp 1659 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_NULL_SEND, 1); /* send null packets when required */ tmp 1660 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_GC_SEND, 1); /* send general control packets */ tmp 1661 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_GC_CONT, 1); /* send general control packets every frame */ tmp 1662 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1664 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1666 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AUDIO_INFO_SEND, 1); tmp 1668 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AUDIO_INFO_CONT, 1); tmp 1669 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1671 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1673 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_INFOFRAME_CONTROL0, AFMT_AUDIO_INFO_UPDATE, 1); tmp 1674 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1676 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset); tmp 1678 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL1, HDMI_AUDIO_INFO_LINE, 2); tmp 1679 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp); tmp 1683 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1685 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_AUDIO_PACKET_CONTROL, HDMI_AUDIO_DELAY_EN, 1); tmp 1687 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_AUDIO_PACKET_CONTROL, HDMI_AUDIO_PACKETS_PER_LINE, 3); tmp 1688 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1690 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1692 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_60958_CS_UPDATE, 1); tmp 1693 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1695 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset); tmp 1698 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_PACKET_CONTROL, HDMI_ACR_SOURCE, 0); tmp 1701 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_PACKET_CONTROL, HDMI_ACR_SOURCE, 1); tmp 1703 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_PACKET_CONTROL, HDMI_ACR_AUTO_SEND, 1); tmp 1704 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1708 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmAFMT_60958_0 + dig->afmt->offset); tmp 1709 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_0, AFMT_60958_CS_CHANNEL_NUMBER_L, 1); tmp 1710 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmAFMT_60958_0 + dig->afmt->offset, tmp); tmp 1712 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmAFMT_60958_1 + dig->afmt->offset); tmp 1713 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_1, AFMT_60958_CS_CHANNEL_NUMBER_R, 2); tmp 1714 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmAFMT_60958_1 + dig->afmt->offset, tmp); tmp 1716 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmAFMT_60958_2 + dig->afmt->offset); tmp 1717 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_2, 3); tmp 1718 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_3, 4); tmp 1719 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_4, 5); tmp 1720 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_5, 6); tmp 1721 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_6, 7); tmp 1722 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_7, 8); tmp 1723 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmAFMT_60958_2 + dig->afmt->offset, tmp); tmp 1748 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1750 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AVI_INFO_SEND, 1); tmp 1752 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AVI_INFO_CONT, 1); tmp 1753 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1755 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset); tmp 1756 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL1, HDMI_AVI_INFO_LINE, 2); tmp 1757 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp); tmp 1759 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1761 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_AUDIO_SAMPLE_SEND, 1); tmp 1762 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1885 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp, viewport_w, viewport_h; tmp 2045 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset); tmp 2046 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, GRPH_FLIP_CONTROL, tmp 2048 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2066 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmGRPH_LUT_10BIT_BYPASS + amdgpu_crtc->crtc_offset); tmp 2068 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, GRPH_LUT_10BIT_BYPASS, GRPH_LUT_10BIT_BYPASS_EN, 1); tmp 2070 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, GRPH_LUT_10BIT_BYPASS, GRPH_LUT_10BIT_BYPASS_EN, 0); tmp 2071 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmGRPH_LUT_10BIT_BYPASS + amdgpu_crtc->crtc_offset, tmp); tmp 2124 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 2126 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmLB_DATA_FORMAT + amdgpu_crtc->crtc_offset); tmp 2128 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, LB_DATA_FORMAT, INTERLEAVE_EN, 1); tmp 2130 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, LB_DATA_FORMAT, INTERLEAVE_EN, 0); tmp 2131 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmLB_DATA_FORMAT + amdgpu_crtc->crtc_offset, tmp); tmp 2141 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 2145 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmINPUT_CSC_CONTROL + amdgpu_crtc->crtc_offset); tmp 2146 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, INPUT_CSC_CONTROL, INPUT_CSC_GRPH_MODE, 0); tmp 2147 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmINPUT_CSC_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2149 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmPRESCALE_GRPH_CONTROL + amdgpu_crtc->crtc_offset); tmp 2150 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, PRESCALE_GRPH_CONTROL, GRPH_PRESCALE_BYPASS, 1); tmp 2151 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmPRESCALE_GRPH_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2153 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmINPUT_GAMMA_CONTROL + amdgpu_crtc->crtc_offset); tmp 2154 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, INPUT_GAMMA_CONTROL, GRPH_INPUT_GAMMA_MODE, 0); tmp 2155 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmINPUT_GAMMA_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2181 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDEGAMMA_CONTROL + amdgpu_crtc->crtc_offset); tmp 2182 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DEGAMMA_CONTROL, GRPH_DEGAMMA_MODE, 0); tmp 2183 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DEGAMMA_CONTROL, CURSOR_DEGAMMA_MODE, 0); tmp 2184 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DEGAMMA_CONTROL, CURSOR2_DEGAMMA_MODE, 0); tmp 2185 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDEGAMMA_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2187 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmGAMUT_REMAP_CONTROL + amdgpu_crtc->crtc_offset); tmp 2188 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, GAMUT_REMAP_CONTROL, GRPH_GAMUT_REMAP_MODE, 0); tmp 2189 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmGAMUT_REMAP_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2191 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmREGAMMA_CONTROL + amdgpu_crtc->crtc_offset); tmp 2192 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, REGAMMA_CONTROL, GRPH_REGAMMA_MODE, 0); tmp 2193 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmREGAMMA_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2195 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmOUTPUT_CSC_CONTROL + amdgpu_crtc->crtc_offset); tmp 2196 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, OUTPUT_CSC_CONTROL, OUTPUT_CSC_GRPH_MODE, 0); tmp 2197 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmOUTPUT_CSC_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2204 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmALPHA_CONTROL + amdgpu_crtc->crtc_offset); tmp 2205 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, ALPHA_CONTROL, CURSOR_ALPHA_BLND_ENA, 1); tmp 2206 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmALPHA_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2365 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 2367 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32_IDX(mmCUR_CONTROL + amdgpu_crtc->crtc_offset); tmp 2368 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, CUR_CONTROL, CURSOR_EN, 0); tmp 2369 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32_IDX(mmCUR_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 2376 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 2383 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32_IDX(mmCUR_CONTROL + amdgpu_crtc->crtc_offset); tmp 2384 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, CUR_CONTROL, CURSOR_EN, 1); tmp 2385 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, CUR_CONTROL, CURSOR_MODE, 2); tmp 2386 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32_IDX(mmCUR_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 3053 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 srbm_soft_reset = 0, tmp; tmp 3060 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 3061 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp |= srbm_soft_reset; tmp 3062 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 3063 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 3064 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 3068 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp &= ~srbm_soft_reset; tmp 3069 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 3070 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 3141 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 3150 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd]); tmp 3151 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_EN, 0); tmp 3152 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 3155 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd]); tmp 3156 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_EN, 1); tmp 3157 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 3293 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 3300 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd]); tmp 3301 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_ACK, 1); tmp 3302 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 3308 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 3315 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmLB_VBLANK_STATUS + crtc_offsets[crtc]); tmp 3316 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, LB_VBLANK_STATUS, VBLANK_ACK, 1); tmp 3317 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmLB_VBLANK_STATUS + crtc_offsets[crtc], tmp); tmp 3323 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 tmp; tmp 3330 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = RREG32(mmLB_VLINE_STATUS + crtc_offsets[crtc]); tmp 3331 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c tmp = REG_SET_FIELD(tmp, LB_VLINE_STATUS, VLINE_ACK, 1); tmp 3332 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c WREG32(mmLB_VLINE_STATUS + crtc_offsets[crtc], tmp); tmp 258 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 264 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[hpd]); tmp 266 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp &= ~DC_HPD1_INT_CONTROL__DC_HPD1_INT_POLARITY_MASK; tmp 268 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= DC_HPD1_INT_CONTROL__DC_HPD1_INT_POLARITY_MASK; tmp 269 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 284 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 292 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDC_HPD1_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 293 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= DC_HPD1_CONTROL__DC_HPD1_EN_MASK; tmp 294 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDC_HPD1_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 303 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 304 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp &= ~DC_HPD1_INT_CONTROL__DC_HPD1_INT_EN_MASK; tmp 305 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 327 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 335 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDC_HPD1_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 336 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp &= ~DC_HPD1_CONTROL__DC_HPD1_EN_MASK; tmp 375 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 386 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); tmp 387 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp &= ~CRTC_CONTROL__CRTC_MASTER_EN_MASK; tmp 388 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmCRTC_CONTROL + crtc_offsets[i], tmp); tmp 404 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp = 0; tmp 425 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_FRAME_RANDOM_ENABLE_MASK | tmp 429 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= FMT_BIT_DEPTH_CONTROL__FMT_TRUNCATE_EN_MASK; tmp 434 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_FRAME_RANDOM_ENABLE_MASK | tmp 440 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_TRUNCATE_EN_MASK | tmp 449 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmFMT_BIT_DEPTH_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 463 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp = RREG32(mmMC_SHARED_CHMAP); tmp 465 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c switch ((tmp & MC_SHARED_CHMAP__NOOFCHAN_MASK) >> MC_SHARED_CHMAP__NOOFCHAN__SHIFT) { tmp 695 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp, dmif_size = 12288; tmp 714 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = div_u64((u64) dmif_size * (u64) wm->disp_clk, mc_latency + 512); tmp 715 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = min(dfixed_trunc(a), tmp); tmp 717 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); tmp 832 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp, arb_control3, lb_vblank_lead_lines = 0; tmp 953 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = arb_control3; tmp 954 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp &= ~LATENCY_WATERMARK_MASK(3); tmp 955 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= LATENCY_WATERMARK_MASK(1); tmp 956 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDPG_PIPE_ARBITRATION_CONTROL3 + amdgpu_crtc->crtc_offset, tmp); tmp 961 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDPG_PIPE_ARBITRATION_CONTROL3 + amdgpu_crtc->crtc_offset); tmp 962 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp &= ~LATENCY_WATERMARK_MASK(3); tmp 963 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= LATENCY_WATERMARK_MASK(2); tmp 964 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDPG_PIPE_ARBITRATION_CONTROL3 + amdgpu_crtc->crtc_offset, tmp); tmp 989 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp, buffer_alloc, i; tmp 1006 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = 0; /* 1/2 */ tmp 1009 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = 2; /* whole */ tmp 1013 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = 0; tmp 1018 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c DC_LB_MEMORY_CONFIG(tmp)); tmp 1030 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c switch (tmp) { tmp 1082 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1085 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32_AUDIO_ENDPT(adev->mode_info.audio.pin[i].offset, tmp 1087 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (REG_GET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_CONFIGURATION_DEFAULT, tmp 1133 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1151 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1153 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1156 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(0, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1158 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp 1162 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c ixAZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp); tmp 1174 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1195 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32_AUDIO_ENDPT(dig->afmt->pin->offset, tmp 1197 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1199 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1203 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1206 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1210 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1213 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp 1217 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c ixAZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp); tmp 1266 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp = 0; tmp 1276 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1278 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1280 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1292 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AZALIA_F0_CODEC_PIN_CONTROL_AUDIO_DESCRIPTOR0, tmp 1294 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32_AUDIO_ENDPT(dig->afmt->pin->offset, eld_reg_to_type[i][0], tmp); tmp 1381 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1383 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset); tmp 1384 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_NULL_SEND, 1); tmp 1385 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_GC_SEND, 1); tmp 1386 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_VBI_PACKET_CONTROL, HDMI_GC_CONT, 1); tmp 1387 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_VBI_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1398 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1400 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset); tmp 1401 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_PACKET_CONTROL, HDMI_ACR_AUTO_SEND, 1); tmp 1402 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_PACKET_CONTROL, HDMI_ACR_SOURCE, tmp 1404 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_ACR_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1406 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_ACR_32_0 + dig->afmt->offset); tmp 1407 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_32_0, HDMI_ACR_CTS_32, acr.cts_32khz); tmp 1408 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_ACR_32_0 + dig->afmt->offset, tmp); tmp 1409 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_ACR_32_1 + dig->afmt->offset); tmp 1410 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_32_1, HDMI_ACR_N_32, acr.n_32khz); tmp 1411 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_ACR_32_1 + dig->afmt->offset, tmp); tmp 1413 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_ACR_44_0 + dig->afmt->offset); tmp 1414 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_44_0, HDMI_ACR_CTS_44, acr.cts_44_1khz); tmp 1415 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_ACR_44_0 + dig->afmt->offset, tmp); tmp 1416 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_ACR_44_1 + dig->afmt->offset); tmp 1417 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_44_1, HDMI_ACR_N_44, acr.n_44_1khz); tmp 1418 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_ACR_44_1 + dig->afmt->offset, tmp); tmp 1420 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_ACR_48_0 + dig->afmt->offset); tmp 1421 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_48_0, HDMI_ACR_CTS_48, acr.cts_48khz); tmp 1422 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_ACR_48_0 + dig->afmt->offset, tmp); tmp 1423 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_ACR_48_1 + dig->afmt->offset); tmp 1424 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_ACR_48_1, HDMI_ACR_N_48, acr.n_48khz); tmp 1425 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_ACR_48_1 + dig->afmt->offset, tmp); tmp 1441 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1464 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset); tmp 1466 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL1, tmp 1468 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp); tmp 1477 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1485 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDCCG_AUDIO_DTO_SOURCE); tmp 1486 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, DCCG_AUDIO_DTO_SOURCE, tmp 1489 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, DCCG_AUDIO_DTO_SOURCE, tmp 1492 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, DCCG_AUDIO_DTO_SOURCE, tmp 1495 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDCCG_AUDIO_DTO_SOURCE, tmp); tmp 1511 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1513 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1514 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_INFOFRAME_CONTROL0, AFMT_AUDIO_INFO_UPDATE, 1); tmp 1515 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1517 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_60958_0 + dig->afmt->offset); tmp 1518 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_0, AFMT_60958_CS_CHANNEL_NUMBER_L, 1); tmp 1519 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_60958_0 + dig->afmt->offset, tmp); tmp 1521 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_60958_1 + dig->afmt->offset); tmp 1522 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_1, AFMT_60958_CS_CHANNEL_NUMBER_R, 2); tmp 1523 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_60958_1 + dig->afmt->offset, tmp); tmp 1525 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_60958_2 + dig->afmt->offset); tmp 1526 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_2, 3); tmp 1527 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_3, 4); tmp 1528 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_4, 5); tmp 1529 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_5, 6); tmp 1530 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_6, 7); tmp 1531 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_60958_2, AFMT_60958_CS_CHANNEL_NUMBER_7, 8); tmp 1532 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_60958_2 + dig->afmt->offset, tmp); tmp 1534 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL2 + dig->afmt->offset); tmp 1535 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL2, AFMT_AUDIO_CHANNEL_ENABLE, 0xff); tmp 1536 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL2 + dig->afmt->offset, tmp); tmp 1538 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1539 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_AUDIO_PACKET_CONTROL, HDMI_AUDIO_DELAY_EN, 1); tmp 1540 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_AUDIO_PACKET_CONTROL, HDMI_AUDIO_PACKETS_PER_LINE, 3); tmp 1541 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1543 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1544 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_RESET_FIFO_WHEN_AUDIO_DIS, 1); tmp 1545 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_60958_CS_UPDATE, 1); tmp 1546 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1555 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1557 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_GC + dig->afmt->offset); tmp 1558 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_GC, HDMI_GC_AVMUTE, mute ? 1 : 0); tmp 1559 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_GC + dig->afmt->offset, tmp); tmp 1568 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1571 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1572 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AVI_INFO_SEND, 1); tmp 1573 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AVI_INFO_CONT, 1); tmp 1574 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AUDIO_INFO_SEND, 1); tmp 1575 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AUDIO_INFO_CONT, 1); tmp 1576 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1578 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset); tmp 1579 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL1, HDMI_AVI_INFO_LINE, 2); tmp 1580 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_INFOFRAME_CONTROL1 + dig->afmt->offset, tmp); tmp 1582 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1583 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_AUDIO_SAMPLE_SEND, 1); tmp 1584 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1586 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset); tmp 1587 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AVI_INFO_SEND, 0); tmp 1588 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AVI_INFO_CONT, 0); tmp 1589 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AUDIO_INFO_SEND, 0); tmp 1590 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, HDMI_INFOFRAME_CONTROL0, HDMI_AUDIO_INFO_CONT, 0); tmp 1591 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmHDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, tmp); tmp 1593 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1594 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_AUDIO_SAMPLE_SEND, 0); tmp 1595 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1605 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 tmp; tmp 1608 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset); tmp 1609 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, AFMT_AUDIO_PACKET_CONTROL, AFMT_AUDIO_SAMPLE_SEND, 1); tmp 1610 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmAFMT_AUDIO_PACKET_CONTROL + dig->afmt->offset, tmp); tmp 1612 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDP_SEC_TIMESTAMP + dig->afmt->offset); tmp 1613 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, DP_SEC_TIMESTAMP, DP_SEC_TIMESTAMP_MODE, 1); tmp 1614 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDP_SEC_TIMESTAMP + dig->afmt->offset, tmp); tmp 1616 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDP_SEC_CNTL + dig->afmt->offset); tmp 1617 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, DP_SEC_CNTL, DP_SEC_ASP_ENABLE, 1); tmp 1618 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, DP_SEC_CNTL, DP_SEC_ATP_ENABLE, 1); tmp 1619 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, DP_SEC_CNTL, DP_SEC_AIP_ENABLE, 1); tmp 1620 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = REG_SET_FIELD(tmp, DP_SEC_CNTL, DP_SEC_STREAM_ENABLE, 1); tmp 1621 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDP_SEC_CNTL + dig->afmt->offset, tmp); tmp 3045 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c uint32_t disp_int, mask, tmp; tmp 3058 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp = RREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[hpd]); tmp 3059 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c tmp |= DC_HPD1_INT_CONTROL__DC_HPD1_INT_ACK_MASK; tmp 3060 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 252 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp; tmp 258 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[hpd]); tmp 260 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp &= ~DC_HPD1_INT_CONTROL__DC_HPD1_INT_POLARITY_MASK; tmp 262 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= DC_HPD1_INT_CONTROL__DC_HPD1_INT_POLARITY_MASK; tmp 263 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 278 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp; tmp 286 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmDC_HPD1_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 287 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= DC_HPD1_CONTROL__DC_HPD1_EN_MASK; tmp 288 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmDC_HPD1_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 297 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 298 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp &= ~DC_HPD1_INT_CONTROL__DC_HPD1_INT_EN_MASK; tmp 299 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); tmp 320 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp; tmp 328 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmDC_HPD1_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); tmp 329 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp &= ~DC_HPD1_CONTROL__DC_HPD1_EN_MASK; tmp 345 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 i, j, tmp; tmp 357 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmCRTC_STATUS_HV_COUNT + crtc_offsets[i]); tmp 358 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (tmp != crtc_status[i]) tmp 373 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp; tmp 376 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmVGA_HDP_CONTROL); tmp 378 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 0); tmp 380 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 1); tmp 381 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmVGA_HDP_CONTROL, tmp); tmp 384 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmVGA_RENDER_CONTROL); tmp 386 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = REG_SET_FIELD(tmp, VGA_RENDER_CONTROL, VGA_VSTATUS_CNTL, 1); tmp 388 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = REG_SET_FIELD(tmp, VGA_RENDER_CONTROL, VGA_VSTATUS_CNTL, 0); tmp 389 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmVGA_RENDER_CONTROL, tmp); tmp 418 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp; tmp 429 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmCRTC_CONTROL + crtc_offsets[i]); tmp 430 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = REG_SET_FIELD(tmp, CRTC_CONTROL, CRTC_MASTER_EN, 0); tmp 431 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmCRTC_CONTROL + crtc_offsets[i], tmp); tmp 446 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp = 0; tmp 471 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_FRAME_RANDOM_ENABLE_MASK | tmp 476 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_TRUNCATE_EN_MASK | tmp 482 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_FRAME_RANDOM_ENABLE_MASK | tmp 488 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_TRUNCATE_EN_MASK | tmp 494 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_FRAME_RANDOM_ENABLE_MASK | tmp 500 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (FMT_BIT_DEPTH_CONTROL__FMT_TRUNCATE_EN_MASK | tmp 508 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmFMT_BIT_DEPTH_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 529 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp, buffer_alloc, i; tmp 541 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = 1; tmp 544 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = 2; tmp 547 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = 0; tmp 551 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = 0; tmp 555 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = 1; tmp 560 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c (tmp << LB_MEMORY_CTRL__LB_MEMORY_CONFIG__SHIFT) | tmp 573 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c switch (tmp) { tmp 599 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp = RREG32(mmMC_SHARED_CHMAP); tmp 601 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c switch ((tmp & MC_SHARED_CHMAP__NOOFCHAN_MASK) >> MC_SHARED_CHMAP__NOOFCHAN__SHIFT) { tmp 831 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp, dmif_size = 12288; tmp 850 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = div_u64((u64) dmif_size * (u64) wm->disp_clk, mc_latency + 512); tmp 851 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = min(dfixed_trunc(a), tmp); tmp 853 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); tmp 964 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp, wm_mask, lb_vblank_lead_lines = 0; tmp 1055 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = wm_mask; tmp 1056 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp &= ~(3 << DPG_WATERMARK_MASK_CONTROL__URGENCY_WATERMARK_MASK__SHIFT); tmp 1057 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (1 << DPG_WATERMARK_MASK_CONTROL__URGENCY_WATERMARK_MASK__SHIFT); tmp 1058 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmDPG_WATERMARK_MASK_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1063 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmDPG_WATERMARK_MASK_CONTROL + amdgpu_crtc->crtc_offset); tmp 1064 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp &= ~(3 << DPG_WATERMARK_MASK_CONTROL__URGENCY_WATERMARK_MASK__SHIFT); tmp 1065 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (2 << DPG_WATERMARK_MASK_CONTROL__URGENCY_WATERMARK_MASK__SHIFT); tmp 1066 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmDPG_WATERMARK_MASK_CONTROL + amdgpu_crtc->crtc_offset, tmp); tmp 1112 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 offset, tmp; tmp 1116 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32_AUDIO_ENDPT(offset, tmp 1118 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (((tmp & tmp 1165 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 tmp = 0, offset; tmp 1186 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = tmp 1192 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = tmp 1199 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = tmp 1205 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = tmp 1212 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32_AUDIO_ENDPT(offset, ixAZALIA_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp); tmp 1222 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 offset, tmp; tmp 1250 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32_AUDIO_ENDPT(offset, ixAZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER); tmp 1251 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp &= ~(AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__DP_CONNECTION_MASK | tmp 1254 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__HDMI_CONNECTION_MASK; tmp 1256 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (sadb[0] << AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__SPEAKER_ALLOCATION__SHIFT); tmp 1258 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= (5 << AZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER__SPEAKER_ALLOCATION__SHIFT); /* stereo */ tmp 1259 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32_AUDIO_ENDPT(offset, ixAZALIA_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp); tmp 2815 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 srbm_soft_reset = 0, tmp; tmp 2822 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 2823 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= srbm_soft_reset; tmp 2824 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 2825 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 2826 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 2830 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp &= ~srbm_soft_reset; tmp 2831 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 2832 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 3137 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c uint32_t disp_int, mask, tmp; tmp 3150 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp = RREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[hpd]); tmp 3151 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c tmp |= DC_HPD1_INT_CONTROL__DC_HPD1_INT_ACK_MASK; tmp 3152 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmDC_HPD1_INT_CONTROL + hpd_offsets[hpd], tmp); tmp 39 drivers/gpu/drm/amd/amdgpu/df_v1_7.c u32 tmp; tmp 42 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp = RREG32_SOC15(DF, 0, mmFabricConfigAccessControl); tmp 43 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp &= ~FabricConfigAccessControl__CfgRegInstAccEn_MASK; tmp 44 drivers/gpu/drm/amd/amdgpu/df_v1_7.c WREG32_SOC15(DF, 0, mmFabricConfigAccessControl, tmp); tmp 52 drivers/gpu/drm/amd/amdgpu/df_v1_7.c u32 tmp; tmp 54 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp = RREG32_SOC15(DF, 0, mmDF_CS_AON0_DramBaseAddress0); tmp 55 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp &= DF_CS_AON0_DramBaseAddress0__IntLvNumChan_MASK; tmp 56 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp >>= DF_CS_AON0_DramBaseAddress0__IntLvNumChan__SHIFT; tmp 58 drivers/gpu/drm/amd/amdgpu/df_v1_7.c return tmp; tmp 73 drivers/gpu/drm/amd/amdgpu/df_v1_7.c u32 tmp; tmp 79 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp = RREG32_SOC15(DF, 0, mmDF_PIE_AON0_DfGlobalClkGater); tmp 80 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp &= ~DF_PIE_AON0_DfGlobalClkGater__MGCGMode_MASK; tmp 81 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp |= DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY; tmp 82 drivers/gpu/drm/amd/amdgpu/df_v1_7.c WREG32_SOC15(DF, 0, mmDF_PIE_AON0_DfGlobalClkGater, tmp); tmp 84 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp = RREG32_SOC15(DF, 0, mmDF_PIE_AON0_DfGlobalClkGater); tmp 85 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp &= ~DF_PIE_AON0_DfGlobalClkGater__MGCGMode_MASK; tmp 86 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp |= DF_V1_7_MGCG_DISABLE; tmp 87 drivers/gpu/drm/amd/amdgpu/df_v1_7.c WREG32_SOC15(DF, 0, mmDF_PIE_AON0_DfGlobalClkGater, tmp); tmp 97 drivers/gpu/drm/amd/amdgpu/df_v1_7.c u32 tmp; tmp 100 drivers/gpu/drm/amd/amdgpu/df_v1_7.c tmp = RREG32_SOC15(DF, 0, mmDF_PIE_AON0_DfGlobalClkGater); tmp 101 drivers/gpu/drm/amd/amdgpu/df_v1_7.c if (tmp & DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY) tmp 226 drivers/gpu/drm/amd/amdgpu/df_v3_6.c u32 tmp; tmp 229 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp = RREG32_SOC15(DF, 0, mmFabricConfigAccessControl); tmp 230 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp &= ~FabricConfigAccessControl__CfgRegInstAccEn_MASK; tmp 231 drivers/gpu/drm/amd/amdgpu/df_v3_6.c WREG32_SOC15(DF, 0, mmFabricConfigAccessControl, tmp); tmp 239 drivers/gpu/drm/amd/amdgpu/df_v3_6.c u32 tmp; tmp 241 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp = RREG32_SOC15(DF, 0, mmDF_CS_UMC_AON0_DramBaseAddress0); tmp 242 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp &= DF_CS_UMC_AON0_DramBaseAddress0__IntLvNumChan_MASK; tmp 243 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp >>= DF_CS_UMC_AON0_DramBaseAddress0__IntLvNumChan__SHIFT; tmp 245 drivers/gpu/drm/amd/amdgpu/df_v3_6.c return tmp; tmp 262 drivers/gpu/drm/amd/amdgpu/df_v3_6.c u32 tmp; tmp 269 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp = RREG32_SOC15(DF, 0, tmp 271 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp &= ~DF_PIE_AON0_DfGlobalClkGater__MGCGMode_MASK; tmp 272 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp |= DF_V3_6_MGCG_ENABLE_15_CYCLE_DELAY; tmp 274 drivers/gpu/drm/amd/amdgpu/df_v3_6.c mmDF_PIE_AON0_DfGlobalClkGater, tmp); tmp 276 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp = RREG32_SOC15(DF, 0, tmp 278 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp &= ~DF_PIE_AON0_DfGlobalClkGater__MGCGMode_MASK; tmp 279 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp |= DF_V3_6_MGCG_DISABLE; tmp 281 drivers/gpu/drm/amd/amdgpu/df_v3_6.c mmDF_PIE_AON0_DfGlobalClkGater, tmp); tmp 292 drivers/gpu/drm/amd/amdgpu/df_v3_6.c u32 tmp; tmp 295 drivers/gpu/drm/amd/amdgpu/df_v3_6.c tmp = RREG32_SOC15(DF, 0, mmDF_PIE_AON0_DfGlobalClkGater); tmp 296 drivers/gpu/drm/amd/amdgpu/df_v3_6.c if (tmp & DF_V3_6_MGCG_ENABLE_15_CYCLE_DELAY) tmp 437 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp = 0; tmp 463 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32(scratch); tmp 464 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (tmp == 0xDEADBEEF) tmp 480 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ring->idx, scratch, tmp); tmp 494 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp = 0; tmp 531 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32(scratch); tmp 532 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (tmp == 0xDEADBEEF) { tmp 537 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c scratch, tmp); tmp 635 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c unsigned int *tmp = NULL; tmp 732 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = (unsigned int *)((uintptr_t)rlc_hdr + tmp 735 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->gfx.rlc.register_list_format[i] = le32_to_cpu(tmp[i]); tmp 739 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = (unsigned int *)((uintptr_t)rlc_hdr + tmp 742 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->gfx.rlc.register_restore[i] = le32_to_cpu(tmp[i]); tmp 1655 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp, wgp_active_bitmap = 0; tmp 1702 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmUTCL1_UTCL0_INVREQ_DISABLE); tmp 1704 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp &= 0xffffffff << (4 * max_wgp_per_sh); tmp 1705 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp |= (utcl_invreq_disable & utcl_invreq_disable_mask); tmp 1706 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmUTCL1_UTCL0_INVREQ_DISABLE, tmp); tmp 1708 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmGCRD_SA_TARGETS_DISABLE); tmp 1710 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp &= 0xffffffff << (2 * max_wgp_per_sh); tmp 1711 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp |= (gcrd_targets_disable_tcp & gcrd_targets_disable_mask); tmp 1712 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmGCRD_SA_TARGETS_DISABLE, tmp); tmp 1734 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp; tmp 1755 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(0, SH_MEM_BASES, PRIVATE_BASE, tmp 1757 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, SH_MEM_BASES, SHARED_BASE, tmp 1759 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmSH_MEM_BASES, tmp); tmp 1774 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp = RREG32_SOC15(GC, 0, mmCP_INT_CNTL_RING0); tmp 1776 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_BUSY_INT_ENABLE, tmp 1778 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_EMPTY_INT_ENABLE, tmp 1780 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CMP_BUSY_INT_ENABLE, tmp 1782 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, GFX_IDLE_INT_ENABLE, tmp 1785 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_INT_CNTL_RING0, tmp); tmp 1838 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp = RREG32_SOC15(GC, 0, mmRLC_CNTL); tmp 1840 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, RLC_CNTL, RLC_ENABLE_F32, 0); tmp 1841 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmRLC_CNTL, tmp); tmp 1887 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 1890 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_SRM_CNTL)); tmp 1891 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp |= RLC_SRM_CNTL__AUTO_INCR_ADDR_MASK; tmp 1892 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp |= RLC_SRM_CNTL__SRM_ENABLE_MASK; tmp 1893 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_SRM_CNTL), tmp); tmp 2212 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t rlc_g_offset, rlc_g_size, tmp; tmp 2227 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmRLC_HYP_RESET_VECTOR); tmp 2228 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (!(tmp & (RLC_HYP_RESET_VECTOR__COLD_BOOT_EXIT_MASK | tmp 2234 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmRLC_CNTL); tmp 2235 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (tmp & RLC_CNTL__RLC_ENABLE_F32_MASK) { tmp 2246 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 2251 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_ME_IC_OP_CNTL); tmp 2252 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_IC_OP_CNTL, INVALIDATE_CACHE, 1); tmp 2253 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_ME_IC_OP_CNTL, tmp); tmp 2257 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_ME_IC_OP_CNTL); tmp 2258 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (1 == REG_GET_FIELD(tmp, CP_ME_IC_OP_CNTL, tmp 2283 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 2288 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CE_IC_OP_CNTL); tmp 2289 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CE_IC_OP_CNTL, INVALIDATE_CACHE, 1); tmp 2290 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_CE_IC_OP_CNTL, tmp); tmp 2294 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CE_IC_OP_CNTL); tmp 2295 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (1 == REG_GET_FIELD(tmp, CP_CE_IC_OP_CNTL, tmp 2320 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 2325 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_PFP_IC_OP_CNTL); tmp 2326 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_PFP_IC_OP_CNTL, INVALIDATE_CACHE, 1); tmp 2327 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_PFP_IC_OP_CNTL, tmp); tmp 2331 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_PFP_IC_OP_CNTL); tmp 2332 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (1 == REG_GET_FIELD(tmp, CP_PFP_IC_OP_CNTL, tmp 2357 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 2362 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CPC_IC_OP_CNTL); tmp 2363 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CPC_IC_OP_CNTL, INVALIDATE_CACHE, 1); tmp 2364 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_CPC_IC_OP_CNTL, tmp); tmp 2368 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CPC_IC_OP_CNTL); tmp 2369 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (1 == REG_GET_FIELD(tmp, CP_CPC_IC_OP_CNTL, tmp 2437 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp = RREG32_SOC15(GC, 0, mmCP_ME_CNTL); tmp 2439 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, ME_HALT, enable ? 0 : 1); tmp 2440 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, PFP_HALT, enable ? 0 : 1); tmp 2441 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, CE_HALT, enable ? 0 : 1); tmp 2446 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_ME_CNTL, tmp); tmp 2466 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 2495 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_PFP_IC_OP_CNTL); tmp 2496 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_PFP_IC_OP_CNTL, INVALIDATE_CACHE, 1); tmp 2497 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_PFP_IC_OP_CNTL, tmp); tmp 2501 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_PFP_IC_OP_CNTL); tmp 2502 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (1 == REG_GET_FIELD(tmp, CP_PFP_IC_OP_CNTL, tmp 2516 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_PFP_IC_BASE_CNTL); tmp 2517 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, VMID, 0); tmp 2518 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, CACHE_POLICY, 0); tmp 2519 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, EXE_DISABLE, 0); tmp 2520 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, ADDRESS_CLAMP, 1); tmp 2521 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_PFP_IC_BASE_CNTL, tmp); tmp 2536 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 2565 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CE_IC_OP_CNTL); tmp 2566 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CE_IC_OP_CNTL, INVALIDATE_CACHE, 1); tmp 2567 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_CE_IC_OP_CNTL, tmp); tmp 2571 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CE_IC_OP_CNTL); tmp 2572 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (1 == REG_GET_FIELD(tmp, CP_CE_IC_OP_CNTL, tmp 2586 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CE_IC_BASE_CNTL); tmp 2587 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CE_IC_BASE_CNTL, VMID, 0); tmp 2588 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CE_IC_BASE_CNTL, CACHE_POLICY, 0); tmp 2589 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CE_IC_BASE_CNTL, EXE_DISABLE, 0); tmp 2590 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CE_IC_BASE_CNTL, ADDRESS_CLAMP, 1); tmp 2605 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 2634 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_ME_IC_OP_CNTL); tmp 2635 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_IC_OP_CNTL, INVALIDATE_CACHE, 1); tmp 2636 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_ME_IC_OP_CNTL, tmp); tmp 2640 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_ME_IC_OP_CNTL); tmp 2641 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (1 == REG_GET_FIELD(tmp, CP_ME_IC_OP_CNTL, tmp 2655 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_ME_IC_BASE_CNTL); tmp 2656 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_IC_BASE_CNTL, VMID, 0); tmp 2657 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_IC_BASE_CNTL, CACHE_POLICY, 0); tmp 2658 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_IC_BASE_CNTL, EXE_DISABLE, 0); tmp 2659 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME_IC_BASE_CNTL, ADDRESS_CLAMP, 1); tmp 2779 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp; tmp 2781 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_GFX_CNTL); tmp 2782 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, GRBM_GFX_CNTL, PIPEID, pipe); tmp 2784 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmGRBM_GFX_CNTL, tmp); tmp 2790 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp; tmp 2792 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_RB_DOORBELL_CONTROL); tmp 2794 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 2796 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 2799 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 2802 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_RB_DOORBELL_CONTROL, tmp); tmp 2803 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(0, CP_RB_DOORBELL_RANGE_LOWER, tmp 2805 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_RB_DOORBELL_RANGE_LOWER, tmp); tmp 2814 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp; tmp 2832 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(0, CP_RB0_CNTL, RB_BUFSZ, rb_bufsz); tmp 2833 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB0_CNTL, RB_BLKSZ, rb_bufsz - 2); tmp 2835 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB0_CNTL, BUF_SWAP, 1); tmp 2837 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_RB0_CNTL, tmp); tmp 2857 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_RB0_CNTL, tmp); tmp 2873 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(0, CP_RB1_CNTL, RB_BUFSZ, rb_bufsz); tmp 2874 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB1_CNTL, RB_BLKSZ, rb_bufsz - 2); tmp 2875 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_RB1_CNTL, tmp); tmp 2892 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_RB1_CNTL, tmp); tmp 2939 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp; tmp 2955 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CPC_IC_OP_CNTL); tmp 2956 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CPC_IC_OP_CNTL, INVALIDATE_CACHE, 1); tmp 2957 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_CPC_IC_OP_CNTL, tmp); tmp 2961 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CPC_IC_OP_CNTL); tmp 2962 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (1 == REG_GET_FIELD(tmp, CP_CPC_IC_OP_CNTL, tmp 2976 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_CPC_IC_BASE_CNTL); tmp 2977 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, CACHE_POLICY, 0); tmp 2978 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, EXE_DISABLE, 0); tmp 2979 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, ADDRESS_CLAMP, 1); tmp 2980 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCP_CPC_IC_BASE_CNTL, tmp); tmp 3006 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 3010 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmRLC_CP_SCHEDULERS); tmp 3011 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp &= 0xffffff00; tmp 3012 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp |= (ring->me << 5) | (ring->pipe << 3) | (ring->queue); tmp 3013 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmRLC_CP_SCHEDULERS, tmp); tmp 3014 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp |= 0x80; tmp 3015 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmRLC_CP_SCHEDULERS, tmp); tmp 3023 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 3035 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_GFX_MQD_CONTROL); tmp 3036 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_MQD_CONTROL, VMID, 0); tmp 3037 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_MQD_CONTROL, PRIV_STATE, 1); tmp 3038 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_MQD_CONTROL, CACHE_POLICY, 0); tmp 3039 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_gfx_mqd_control = tmp; tmp 3042 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_GFX_HQD_VMID); tmp 3043 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_HQD_VMID, VMID, 0); tmp 3048 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_GFX_HQD_QUEUE_PRIORITY); tmp 3049 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_HQD_QUEUE_PRIORITY, PRIORITY_LEVEL, 0); tmp 3050 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_gfx_hqd_queue_priority = tmp; tmp 3053 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_GFX_HQD_QUANTUM); tmp 3054 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_HQD_QUANTUM, QUANTUM_EN, 1); tmp 3055 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_gfx_hqd_quantum = tmp; tmp 3075 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_GFX_HQD_CNTL); tmp 3076 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_HQD_CNTL, RB_BUFSZ, rb_bufsz); tmp 3077 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_HQD_CNTL, RB_BLKSZ, rb_bufsz - 2); tmp 3079 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_GFX_HQD_CNTL, BUF_SWAP, 1); tmp 3081 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_gfx_hqd_cntl = tmp; tmp 3084 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_RB_DOORBELL_CONTROL); tmp 3086 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 3088 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 3091 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 3093 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_rb_doorbell_control = tmp; tmp 3265 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp; tmp 3280 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_EOP_CONTROL); tmp 3281 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_EOP_CONTROL, EOP_SIZE, tmp 3284 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_hqd_eop_control = tmp; tmp 3287 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_PQ_DOORBELL_CONTROL); tmp 3290 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3292 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3294 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3296 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3299 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3303 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_hqd_pq_doorbell_control = tmp; tmp 3317 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_MQD_CONTROL); tmp 3318 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); tmp 3319 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_mqd_control = tmp; tmp 3327 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_PQ_CONTROL); tmp 3328 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, QUEUE_SIZE, tmp 3330 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, RPTR_BLOCK_SIZE, tmp 3333 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, ENDIAN_SWAP, 1); tmp 3335 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, UNORD_DISPATCH, 0); tmp 3336 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, TUNNEL_DISPATCH, 0); tmp 3337 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, PRIV_STATE, 1); tmp 3338 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, KMD_QUEUE, 1); tmp 3339 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_hqd_pq_control = tmp; tmp 3352 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = 0; tmp 3355 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_PQ_DOORBELL_CONTROL); tmp 3356 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3359 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3361 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3363 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3367 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_hqd_pq_doorbell_control = tmp; tmp 3376 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_PERSISTENT_STATE); tmp 3377 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PERSISTENT_STATE, PRELOAD_SIZE, 0x53); tmp 3378 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_hqd_persistent_state = tmp; tmp 3381 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_IB_CONTROL); tmp 3382 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_IB_CONTROL, MIN_IB_AVAIL_SIZE, 3); tmp 3383 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c mqd->cp_hqd_ib_control = tmp; tmp 3897 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp; tmp 3902 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_STATUS) & tmp 3905 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (!REG_GET_FIELD(tmp, GRBM_STATUS, GUI_ACTIVE)) tmp 3915 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c u32 tmp; tmp 3919 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_STATUS); tmp 3920 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (tmp & (GRBM_STATUS__PA_BUSY_MASK | GRBM_STATUS__SC_BUSY_MASK | tmp 3934 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (tmp & (GRBM_STATUS__CP_BUSY_MASK | GRBM_STATUS__CP_COHERENCY_BUSY_MASK)) { tmp 3941 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_STATUS2); tmp 3942 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (REG_GET_FIELD(tmp, GRBM_STATUS2, RLC_BUSY)) tmp 3958 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET); tmp 3959 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp |= grbm_soft_reset; tmp 3960 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c dev_info(adev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 3961 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET, tmp); tmp 3962 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET); tmp 3966 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp &= ~grbm_soft_reset; tmp 3967 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET, tmp); tmp 3968 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET); tmp 5119 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t tmp, target; tmp 5131 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCPC_INT_CNTL); tmp 5132 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CPC_INT_CNTL, tmp 5134 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCPC_INT_CNTL, tmp); tmp 5136 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32(target); tmp 5137 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME2_PIPE0_INT_CNTL, tmp 5139 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32(target, tmp); tmp 5141 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32_SOC15(GC, 0, mmCPC_INT_CNTL); tmp 5142 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CPC_INT_CNTL, tmp 5144 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32_SOC15(GC, 0, mmCPC_INT_CNTL, tmp); tmp 5146 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = RREG32(target); tmp 5147 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c tmp = REG_SET_FIELD(tmp, CP_ME2_PIPE0_INT_CNTL, tmp 5149 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WREG32(target, tmp); tmp 1582 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 tmp; tmp 1687 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = (mc_arb_ramcfg & MC_ARB_RAMCFG__NOOFCOLS_MASK) >> MC_ARB_RAMCFG__NOOFCOLS__SHIFT; tmp 1688 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c adev->gfx.config.mem_row_size_in_kb = (4 * (1 << (8 + tmp))) / 1024; tmp 1794 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c uint32_t tmp = 0; tmp 1814 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = RREG32(scratch); tmp 1815 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if (tmp == 0xDEADBEEF) tmp 1909 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c uint32_t tmp = 0; tmp 1938 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = RREG32(scratch); tmp 1939 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if (tmp == 0xDEADBEEF) tmp 2093 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 tmp; tmp 2111 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 2114 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp |= BUF_SWAP_32BIT; tmp 2116 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB0_CNTL, tmp); tmp 2119 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB0_CNTL, tmp | CP_RB0_CNTL__RB_RPTR_WR_ENA_MASK); tmp 2131 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB0_CNTL, tmp); tmp 2190 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 tmp; tmp 2200 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 2202 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp |= BUF_SWAP_32BIT; tmp 2204 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB1_CNTL, tmp); tmp 2206 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB1_CNTL, tmp | CP_RB1_CNTL__RB_RPTR_WR_ENA_MASK); tmp 2215 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB1_CNTL, tmp); tmp 2220 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 2222 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp |= BUF_SWAP_32BIT; tmp 2224 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB2_CNTL, tmp); tmp 2226 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB2_CNTL, tmp | CP_RB2_CNTL__RB_RPTR_WR_ENA_MASK); tmp 2234 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_RB2_CNTL, tmp); tmp 2260 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 tmp = RREG32(mmCP_INT_CNTL_RING0); tmp 2265 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp |= (CP_INT_CNTL__CNTX_BUSY_INT_ENABLE_MASK | tmp 2268 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp &= ~(CP_INT_CNTL__CNTX_BUSY_INT_ENABLE_MASK | tmp 2270 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmCP_INT_CNTL_RING0, tmp); tmp 2274 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = RREG32(mmDB_DEPTH_INFO); tmp 2459 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 tmp; tmp 2461 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = RREG32(mmRLC_CNTL); tmp 2462 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if (tmp != rlc) tmp 2509 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 tmp; tmp 2512 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = RREG32(mmMC_SEQ_MISC0); tmp 2513 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if ((tmp & 0xF0000000) == 0xB0000000) tmp 2569 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 data, orig, tmp; tmp 2578 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = gfx_v6_0_halt_rlc(adev); tmp 2585 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_update_rlc(adev, tmp); tmp 2609 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 data, orig, tmp = 0; tmp 2629 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = gfx_v6_0_halt_rlc(adev); tmp 2635 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_update_rlc(adev, tmp); tmp 2652 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = gfx_v6_0_halt_rlc(adev); tmp 2658 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_update_rlc(adev, tmp); tmp 2786 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 tmp; tmp 2790 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = RREG32(mmRLC_MAX_PG_CU); tmp 2791 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp &= ~RLC_MAX_PG_CU__MAX_POWERED_UP_CU_MASK; tmp 2792 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp |= (adev->gfx.cu_info.number << RLC_MAX_PG_CU__MAX_POWERED_UP_CU__SHIFT); tmp 2793 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmRLC_MAX_PG_CU, tmp); tmp 2826 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 tmp; tmp 2832 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp = RREG32(mmRLC_AUTO_PG_CTRL); tmp 2833 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp &= ~RLC_AUTO_PG_CTRL__GRBM_REG_SAVE_GFX_IDLE_THRESHOLD_MASK; tmp 2834 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp |= (0x700 << RLC_AUTO_PG_CTRL__GRBM_REG_SAVE_GFX_IDLE_THRESHOLD__SHIFT); tmp 2835 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c tmp &= ~RLC_AUTO_PG_CTRL__PG_AFTER_GRBM_REG_SAVE_THRESHOLD_MASK; tmp 2836 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c WREG32(mmRLC_AUTO_PG_CTRL, tmp); tmp 1927 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 1995 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmSPI_CONFIG_CNTL); tmp 1996 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= 0x03000000; tmp 1997 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmSPI_CONFIG_CNTL, tmp); tmp 2003 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmDB_DEBUG2) & ~0xf00fffff; tmp 2004 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= 0x00000400; tmp 2005 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmDB_DEBUG2, tmp); tmp 2007 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmDB_DEBUG3) & ~0x0002021c; tmp 2008 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= 0x00020200; tmp 2009 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmDB_DEBUG3, tmp); tmp 2011 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmCB_HW_CONTROL) & ~0x00010000; tmp 2012 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= 0x00018208; tmp 2013 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmCB_HW_CONTROL, tmp); tmp 2044 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmSPI_ARB_PRIORITY); tmp 2045 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = REG_SET_FIELD(tmp, SPI_ARB_PRIORITY, PIPE_ORDER_TS0, 2); tmp 2046 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = REG_SET_FIELD(tmp, SPI_ARB_PRIORITY, PIPE_ORDER_TS1, 2); tmp 2047 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = REG_SET_FIELD(tmp, SPI_ARB_PRIORITY, PIPE_ORDER_TS2, 2); tmp 2048 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = REG_SET_FIELD(tmp, SPI_ARB_PRIORITY, PIPE_ORDER_TS3, 2); tmp 2049 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmSPI_ARB_PRIORITY, tmp); tmp 2091 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c uint32_t tmp = 0; tmp 2110 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(scratch); tmp 2111 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (tmp == 0xDEADBEEF) tmp 2358 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c uint32_t tmp = 0; tmp 2387 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(scratch); tmp 2388 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (tmp == 0xDEADBEEF) tmp 2602 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 2623 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = (order_base_2(AMDGPU_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 2625 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= 2 << CP_RB0_CNTL__BUF_SWAP__SHIFT; tmp 2627 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmCP_RB0_CNTL, tmp); tmp 2630 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmCP_RB0_CNTL, tmp | CP_RB0_CNTL__RB_RPTR_WR_ENA_MASK); tmp 2643 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmCP_RB0_CNTL, tmp); tmp 2878 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 2895 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmCP_HPD_EOP_CONTROL); tmp 2896 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp &= ~CP_HPD_EOP_CONTROL__EOP_SIZE_MASK; tmp 2897 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= order_base_2(GFX7_MEC_HPD_SIZE / 8); tmp 2898 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmCP_HPD_EOP_CONTROL, tmp); tmp 3050 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c uint32_t tmp; tmp 3058 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmCP_PQ_WPTR_POLL_CNTL); tmp 3059 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = REG_SET_FIELD(tmp, CP_PQ_WPTR_POLL_CNTL, EN, 0); tmp 3060 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmCP_PQ_WPTR_POLL_CNTL, tmp); tmp 3115 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 3119 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmCP_CPF_DEBUG); tmp 3120 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= (1 << 23); tmp 3121 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmCP_CPF_DEBUG, tmp); tmp 3170 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp = RREG32(mmCP_INT_CNTL_RING0); tmp 3173 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= (CP_INT_CNTL_RING0__CNTX_BUSY_INT_ENABLE_MASK | tmp 3176 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp &= ~(CP_INT_CNTL_RING0__CNTX_BUSY_INT_ENABLE_MASK | tmp 3178 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmCP_INT_CNTL_RING0, tmp); tmp 3354 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 3356 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmRLC_LB_CNTL); tmp 3358 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= RLC_LB_CNTL__LOAD_BALANCE_ENABLE_MASK; tmp 3360 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp &= ~RLC_LB_CNTL__LOAD_BALANCE_ENABLE_MASK; tmp 3361 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmRLC_LB_CNTL, tmp); tmp 3396 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 3398 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmRLC_CNTL); tmp 3399 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (tmp != rlc) tmp 3434 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp, i, mask; tmp 3436 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = 0x1 | (1 << 1); tmp 3437 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmRLC_GPR_REG2, tmp); tmp 3456 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 3458 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = 0x1 | (0 << 1); tmp 3459 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmRLC_GPR_REG2, tmp); tmp 3496 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp = RREG32(mmGRBM_SOFT_RESET); tmp 3498 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= GRBM_SOFT_RESET__SOFT_RESET_RLC_MASK; tmp 3499 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmGRBM_SOFT_RESET, tmp); tmp 3501 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp &= ~GRBM_SOFT_RESET__SOFT_RESET_RLC_MASK; tmp 3502 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmGRBM_SOFT_RESET, tmp); tmp 3520 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 3534 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmRLC_CGCG_CGLS_CTRL) & 0xfffffffc; tmp 3535 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmRLC_CGCG_CGLS_CTRL, tmp); tmp 3575 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 data, orig, tmp, tmp2; tmp 3582 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = gfx_v7_0_halt_rlc(adev); tmp 3594 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_update_rlc(adev, tmp); tmp 3618 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 data, orig, tmp = 0; tmp 3636 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = gfx_v7_0_halt_rlc(adev); tmp 3647 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_update_rlc(adev, tmp); tmp 3687 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = gfx_v7_0_halt_rlc(adev); tmp 3697 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_update_rlc(adev, tmp); tmp 3839 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 3843 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmRLC_MAX_PG_CU); tmp 3844 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp &= ~RLC_MAX_PG_CU__MAX_POWERED_UP_CU_MASK; tmp 3845 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= (adev->gfx.cu_info.number << RLC_MAX_PG_CU__MAX_POWERED_UP_CU__SHIFT); tmp 3846 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmRLC_MAX_PG_CU, tmp); tmp 4263 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 4346 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmMC_FUS_DRAM0_BANK_ADDR_MAPPING); tmp 4347 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c dimm00_addr_map = REG_GET_FIELD(tmp, MC_FUS_DRAM0_BANK_ADDR_MAPPING, DIMM0ADDRMAP); tmp 4348 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c dimm01_addr_map = REG_GET_FIELD(tmp, MC_FUS_DRAM0_BANK_ADDR_MAPPING, DIMM1ADDRMAP); tmp 4350 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmMC_FUS_DRAM1_BANK_ADDR_MAPPING); tmp 4351 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c dimm10_addr_map = REG_GET_FIELD(tmp, MC_FUS_DRAM1_BANK_ADDR_MAPPING, DIMM0ADDRMAP); tmp 4352 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c dimm11_addr_map = REG_GET_FIELD(tmp, MC_FUS_DRAM1_BANK_ADDR_MAPPING, DIMM1ADDRMAP); tmp 4371 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = (mc_arb_ramcfg & MC_ARB_RAMCFG__NOOFCOLS_MASK) >> MC_ARB_RAMCFG__NOOFCOLS__SHIFT; tmp 4372 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c adev->gfx.config.mem_row_size_in_kb = (4 * (1 << (8 + tmp))) / 1024; tmp 4609 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 4614 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmGRBM_STATUS) & GRBM_STATUS__GUI_ACTIVE_MASK; tmp 4616 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (!tmp) tmp 4626 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c u32 tmp; tmp 4630 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmGRBM_STATUS); tmp 4631 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (tmp & (GRBM_STATUS__PA_BUSY_MASK | GRBM_STATUS__SC_BUSY_MASK | tmp 4640 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (tmp & (GRBM_STATUS__CP_BUSY_MASK | GRBM_STATUS__CP_COHERENCY_BUSY_MASK)) { tmp 4646 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmGRBM_STATUS2); tmp 4647 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (tmp & GRBM_STATUS2__RLC_BUSY_MASK) tmp 4651 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmSRBM_STATUS); tmp 4652 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (tmp & SRBM_STATUS__GRBM_RQ_PENDING_MASK) tmp 4670 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmGRBM_SOFT_RESET); tmp 4671 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= grbm_soft_reset; tmp 4672 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c dev_info(adev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 4673 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmGRBM_SOFT_RESET, tmp); tmp 4674 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmGRBM_SOFT_RESET); tmp 4678 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp &= ~grbm_soft_reset; tmp 4679 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmGRBM_SOFT_RESET, tmp); tmp 4680 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmGRBM_SOFT_RESET); tmp 4684 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 4685 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp |= srbm_soft_reset; tmp 4686 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 4687 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 4688 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 4692 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp &= ~srbm_soft_reset; tmp 4693 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 4694 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 840 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c uint32_t tmp = 0; tmp 859 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(scratch); tmp 860 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (tmp == 0xDEADBEEF) tmp 881 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c uint32_t tmp; tmp 914 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = adev->wb.wb[index]; tmp 915 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (tmp == 0xDEADBEEF) tmp 958 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c unsigned int *tmp = NULL, i; tmp 1103 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = (unsigned int *)((uintptr_t)rlc_hdr + tmp 1106 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->gfx.rlc.register_list_format[i] = le32_to_cpu(tmp[i]); tmp 1110 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = (unsigned int *)((uintptr_t)rlc_hdr + tmp 1113 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->gfx.rlc.register_restore[i] = le32_to_cpu(tmp[i]); tmp 1553 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp; tmp 1565 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmGB_EDC_MODE); tmp 1690 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, GB_EDC_MODE, DED_MODE, 2); tmp 1691 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, GB_EDC_MODE, PROP_FED, 1); tmp 1692 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmGB_EDC_MODE, tmp); tmp 1694 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCC_GC_EDC_CONFIG); tmp 1695 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CC_GC_EDC_CONFIG, DIS_EDC, 0) | 1; tmp 1696 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCC_GC_EDC_CONFIG, tmp); tmp 1715 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp; tmp 1861 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmMC_FUS_DRAM0_BANK_ADDR_MAPPING); tmp 1862 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c dimm00_addr_map = REG_GET_FIELD(tmp, MC_FUS_DRAM0_BANK_ADDR_MAPPING, DIMM0ADDRMAP); tmp 1863 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c dimm01_addr_map = REG_GET_FIELD(tmp, MC_FUS_DRAM0_BANK_ADDR_MAPPING, DIMM1ADDRMAP); tmp 1865 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmMC_FUS_DRAM1_BANK_ADDR_MAPPING); tmp 1866 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c dimm10_addr_map = REG_GET_FIELD(tmp, MC_FUS_DRAM1_BANK_ADDR_MAPPING, DIMM0ADDRMAP); tmp 1867 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c dimm11_addr_map = REG_GET_FIELD(tmp, MC_FUS_DRAM1_BANK_ADDR_MAPPING, DIMM1ADDRMAP); tmp 1886 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_GET_FIELD(mc_arb_ramcfg, MC_ARB_RAMCFG, NOOFCOLS); tmp 1887 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->gfx.config.mem_row_size_in_kb = (4 * (1 << (8 + tmp))) / 1024; tmp 3786 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp, sh_static_mem_cfg; tmp 3814 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(0, SH_MEM_CONFIG, DEFAULT_MTYPE, MTYPE_UC); tmp 3815 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SH_MEM_CONFIG, APE1_MTYPE, MTYPE_UC); tmp 3816 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SH_MEM_CONFIG, ALIGNMENT_MODE, tmp 3818 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmSH_MEM_CONFIG, tmp); tmp 3821 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(0, SH_MEM_CONFIG, DEFAULT_MTYPE, MTYPE_NC); tmp 3822 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SH_MEM_CONFIG, APE1_MTYPE, MTYPE_UC); tmp 3823 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SH_MEM_CONFIG, ALIGNMENT_MODE, tmp 3825 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmSH_MEM_CONFIG, tmp); tmp 3826 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = adev->gmc.shared_aperture_start >> 48; tmp 3827 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmSH_MEM_BASES, tmp); tmp 3856 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmSPI_ARB_PRIORITY); tmp 3857 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SPI_ARB_PRIORITY, PIPE_ORDER_TS0, 2); tmp 3858 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SPI_ARB_PRIORITY, PIPE_ORDER_TS1, 2); tmp 3859 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SPI_ARB_PRIORITY, PIPE_ORDER_TS2, 2); tmp 3860 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SPI_ARB_PRIORITY, PIPE_ORDER_TS3, 2); tmp 3861 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmSPI_ARB_PRIORITY, tmp); tmp 3908 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp = RREG32(mmCP_INT_CNTL_RING0); tmp 3910 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_BUSY_INT_ENABLE, enable ? 1 : 0); tmp 3911 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_EMPTY_INT_ENABLE, enable ? 1 : 0); tmp 3912 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CMP_BUSY_INT_ENABLE, enable ? 1 : 0); tmp 3913 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, GFX_IDLE_INT_ENABLE, enable ? 1 : 0); tmp 3915 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCP_INT_CNTL_RING0, tmp); tmp 4148 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp = RREG32(mmCP_ME_CNTL); tmp 4151 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, ME_HALT, 0); tmp 4152 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, PFP_HALT, 0); tmp 4153 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, CE_HALT, 0); tmp 4155 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, ME_HALT, 1); tmp 4156 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, PFP_HALT, 1); tmp 4157 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, CE_HALT, 1); tmp 4161 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCP_ME_CNTL, tmp); tmp 4259 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp; tmp 4264 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_RB_DOORBELL_CONTROL); tmp 4267 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 4269 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 4271 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 4274 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, DOORBELL_EN, 0); tmp 4277 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCP_RB_DOORBELL_CONTROL, tmp); tmp 4282 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(0, CP_RB_DOORBELL_RANGE_LOWER, tmp 4285 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCP_RB_DOORBELL_RANGE_LOWER, tmp); tmp 4294 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp; tmp 4307 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(0, CP_RB0_CNTL, RB_BUFSZ, rb_bufsz); tmp 4308 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_RB0_CNTL, RB_BLKSZ, rb_bufsz - 2); tmp 4309 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_RB0_CNTL, MTYPE, 3); tmp 4310 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_RB0_CNTL, MIN_IB_AVAILSZ, 1); tmp 4312 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_RB0_CNTL, BUF_SWAP, 1); tmp 4314 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCP_RB0_CNTL, tmp); tmp 4317 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCP_RB0_CNTL, tmp | CP_RB0_CNTL__RB_RPTR_WR_ENA_MASK); tmp 4330 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmCP_RB0_CNTL, tmp); tmp 4363 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c uint32_t tmp; tmp 4367 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmRLC_CP_SCHEDULERS); tmp 4368 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp &= 0xffffff00; tmp 4369 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp |= (ring->me << 5) | (ring->pipe << 3) | (ring->queue); tmp 4370 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmRLC_CP_SCHEDULERS, tmp); tmp 4371 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp |= 0x80; tmp 4372 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmRLC_CP_SCHEDULERS, tmp); tmp 4462 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c uint32_t tmp; tmp 4480 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_HQD_EOP_CONTROL); tmp 4481 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_EOP_CONTROL, EOP_SIZE, tmp 4484 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_hqd_eop_control = tmp; tmp 4487 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(RREG32(mmCP_HQD_PQ_DOORBELL_CONTROL), tmp 4492 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_hqd_pq_doorbell_control = tmp; tmp 4499 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_MQD_CONTROL); tmp 4500 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); tmp 4501 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_mqd_control = tmp; tmp 4509 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_HQD_PQ_CONTROL); tmp 4510 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, QUEUE_SIZE, tmp 4512 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, RPTR_BLOCK_SIZE, tmp 4515 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, ENDIAN_SWAP, 1); tmp 4517 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, UNORD_DISPATCH, 0); tmp 4518 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, ROQ_PQ_IB_FLIP, 0); tmp 4519 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, PRIV_STATE, 1); tmp 4520 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, KMD_QUEUE, 1); tmp 4521 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_hqd_pq_control = tmp; tmp 4534 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = 0; tmp 4537 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_HQD_PQ_DOORBELL_CONTROL); tmp 4538 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 4541 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 4543 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 4545 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 4549 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_hqd_pq_doorbell_control = tmp; tmp 4559 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_HQD_PERSISTENT_STATE); tmp 4560 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PERSISTENT_STATE, PRELOAD_SIZE, 0x53); tmp 4561 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_hqd_persistent_state = tmp; tmp 4564 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_HQD_IB_CONTROL); tmp 4565 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_IB_CONTROL, MIN_IB_AVAIL_SIZE, 3); tmp 4566 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_IB_CONTROL, MTYPE, 3); tmp 4567 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_hqd_ib_control = tmp; tmp 4569 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_HQD_IQ_TIMER); tmp 4570 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_IQ_TIMER, MTYPE, 3); tmp 4571 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_hqd_iq_timer = tmp; tmp 4573 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmCP_HQD_CTX_SAVE_CONTROL); tmp 4574 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_CTX_SAVE_CONTROL, MTYPE, 3); tmp 4575 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c mqd->cp_hqd_ctx_save_control = tmp; tmp 4980 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp; tmp 4983 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmGRBM_STATUS); tmp 4984 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (tmp & (GRBM_STATUS__PA_BUSY_MASK | GRBM_STATUS__SC_BUSY_MASK | tmp 5000 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmGRBM_STATUS2); tmp 5001 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (REG_GET_FIELD(tmp, GRBM_STATUS2, RLC_BUSY)) tmp 5005 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (REG_GET_FIELD(tmp, GRBM_STATUS2, CPF_BUSY) || tmp 5006 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c REG_GET_FIELD(tmp, GRBM_STATUS2, CPC_BUSY) || tmp 5007 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c REG_GET_FIELD(tmp, GRBM_STATUS2, CPG_BUSY)) { tmp 5019 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmSRBM_STATUS); tmp 5020 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (REG_GET_FIELD(tmp, SRBM_STATUS, GRBM_RQ_PENDING)) tmp 5023 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (REG_GET_FIELD(tmp, SRBM_STATUS, SEM_BUSY)) tmp 5083 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c u32 tmp; tmp 5093 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmGMCON_DEBUG); tmp 5094 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, GMCON_DEBUG, GFX_STALL, 1); tmp 5095 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, GMCON_DEBUG, GFX_CLEAR, 1); tmp 5096 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmGMCON_DEBUG, tmp); tmp 5101 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmGRBM_SOFT_RESET); tmp 5102 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp |= grbm_soft_reset; tmp 5103 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c dev_info(adev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 5104 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmGRBM_SOFT_RESET, tmp); tmp 5105 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmGRBM_SOFT_RESET); tmp 5109 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp &= ~grbm_soft_reset; tmp 5110 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmGRBM_SOFT_RESET, tmp); tmp 5111 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmGRBM_SOFT_RESET); tmp 5115 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 5116 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp |= srbm_soft_reset; tmp 5117 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 5118 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 5119 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 5123 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp &= ~srbm_soft_reset; tmp 5124 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 5125 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 5129 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(mmGMCON_DEBUG); tmp 5130 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, GMCON_DEBUG, GFX_STALL, 0); tmp 5131 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, GMCON_DEBUG, GFX_CLEAR, 0); tmp 5132 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(mmGMCON_DEBUG, tmp); tmp 6279 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c int pipe_num, tmp, reg; tmp 6289 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = RREG32(reg); tmp 6290 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = REG_SET_FIELD(tmp, SPI_WCL_PIPE_PERCENT_GFX, VALUE, pipe_percent); tmp 6291 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c WREG32(reg, tmp); tmp 843 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c uint32_t tmp = 0; tmp 862 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32(scratch); tmp 863 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (tmp == 0xDEADBEEF) tmp 884 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c uint32_t tmp; tmp 917 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = adev->wb.wb[index]; tmp 918 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (tmp == 0xDEADBEEF) tmp 1153 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c unsigned int *tmp = NULL; tmp 1218 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = (unsigned int *)((uintptr_t)rlc_hdr + tmp 1221 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.rlc.register_list_format[i] = le32_to_cpu(tmp[i]); tmp 1225 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = (unsigned int *)((uintptr_t)rlc_hdr + tmp 1228 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->gfx.rlc.register_restore[i] = le32_to_cpu(tmp[i]); tmp 2501 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 tmp; tmp 2519 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(0, SH_MEM_CONFIG, ALIGNMENT_MODE, tmp 2521 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, SH_MEM_CONFIG, RETRY_DISABLE, tmp 2523 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15_RLC(GC, 0, mmSH_MEM_CONFIG, tmp); tmp 2526 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(0, SH_MEM_CONFIG, ALIGNMENT_MODE, tmp 2528 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, SH_MEM_CONFIG, RETRY_DISABLE, tmp 2530 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15_RLC(GC, 0, mmSH_MEM_CONFIG, tmp); tmp 2531 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(0, SH_MEM_BASES, PRIVATE_BASE, tmp 2533 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, SH_MEM_BASES, SHARED_BASE, tmp 2535 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15_RLC(GC, 0, mmSH_MEM_BASES, tmp); tmp 2587 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 tmp = RREG32_SOC15(GC, 0, mmCP_INT_CNTL_RING0); tmp 2589 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_BUSY_INT_ENABLE, enable ? 1 : 0); tmp 2590 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CNTX_EMPTY_INT_ENABLE, enable ? 1 : 0); tmp 2591 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, CMP_BUSY_INT_ENABLE, enable ? 1 : 0); tmp 2592 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_INT_CNTL_RING0, GFX_IDLE_INT_ENABLE, enable ? 1 : 0); tmp 2594 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15(GC, 0, mmCP_INT_CNTL_RING0, tmp); tmp 2655 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 tmp = 0; tmp 2675 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_SRM_CNTL)); tmp 2676 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp |= RLC_SRM_CNTL__AUTO_INCR_ADDR_MASK; tmp 2677 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_SRM_CNTL), tmp); tmp 3067 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 tmp = RREG32_SOC15(GC, 0, mmCP_ME_CNTL); tmp 3069 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, ME_HALT, enable ? 0 : 1); tmp 3070 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, PFP_HALT, enable ? 0 : 1); tmp 3071 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_ME_CNTL, CE_HALT, enable ? 0 : 1); tmp 3076 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15_RLC(GC, 0, mmCP_ME_CNTL, tmp); tmp 3142 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c int r, i, tmp; tmp 3189 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = (PACKET3_SET_UCONFIG_REG_INDEX_TYPE | tmp 3191 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c amdgpu_ring_write(ring, tmp); tmp 3202 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 tmp; tmp 3215 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(0, CP_RB0_CNTL, RB_BUFSZ, rb_bufsz); tmp 3216 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_RB0_CNTL, RB_BLKSZ, rb_bufsz - 2); tmp 3218 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_RB0_CNTL, BUF_SWAP, 1); tmp 3220 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15(GC, 0, mmCP_RB0_CNTL, tmp); tmp 3237 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15(GC, 0, mmCP_RB0_CNTL, tmp); tmp 3243 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmCP_RB_DOORBELL_CONTROL); tmp 3245 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 3247 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, tmp 3250 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_RB_DOORBELL_CONTROL, DOORBELL_EN, 0); tmp 3252 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15(GC, 0, mmCP_RB_DOORBELL_CONTROL, tmp); tmp 3254 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(0, CP_RB_DOORBELL_RANGE_LOWER, tmp 3256 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15(GC, 0, mmCP_RB_DOORBELL_RANGE_LOWER, tmp); tmp 3290 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 tmp; tmp 3303 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = 0; tmp 3304 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, VMID, 0); tmp 3305 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, CACHE_POLICY, 0); tmp 3306 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15(GC, 0, mmCP_CPC_IC_BASE_CNTL, tmp); tmp 3330 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c uint32_t tmp; tmp 3334 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmRLC_CP_SCHEDULERS); tmp 3335 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp &= 0xffffff00; tmp 3336 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp |= (ring->me << 5) | (ring->pipe << 3) | (ring->queue); tmp 3337 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15_RLC(GC, 0, mmRLC_CP_SCHEDULERS, tmp); tmp 3338 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp |= 0x80; tmp 3339 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15_RLC(GC, 0, mmRLC_CP_SCHEDULERS, tmp); tmp 3415 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c uint32_t tmp; tmp 3441 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_EOP_CONTROL); tmp 3442 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_EOP_CONTROL, EOP_SIZE, tmp 3445 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c mqd->cp_hqd_eop_control = tmp; tmp 3448 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_PQ_DOORBELL_CONTROL); tmp 3451 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3453 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3455 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3457 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3460 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3464 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c mqd->cp_hqd_pq_doorbell_control = tmp; tmp 3478 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmCP_MQD_CONTROL); tmp 3479 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); tmp 3480 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c mqd->cp_mqd_control = tmp; tmp 3488 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_PQ_CONTROL); tmp 3489 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, QUEUE_SIZE, tmp 3491 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, RPTR_BLOCK_SIZE, tmp 3494 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, ENDIAN_SWAP, 1); tmp 3496 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, UNORD_DISPATCH, 0); tmp 3497 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, ROQ_PQ_IB_FLIP, 0); tmp 3498 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, PRIV_STATE, 1); tmp 3499 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, KMD_QUEUE, 1); tmp 3500 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c mqd->cp_hqd_pq_control = tmp; tmp 3513 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = 0; tmp 3516 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_PQ_DOORBELL_CONTROL); tmp 3517 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3520 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3522 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3524 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL, tmp 3528 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c mqd->cp_hqd_pq_doorbell_control = tmp; tmp 3537 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_PERSISTENT_STATE); tmp 3538 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_PERSISTENT_STATE, PRELOAD_SIZE, 0x53); tmp 3539 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c mqd->cp_hqd_persistent_state = tmp; tmp 3542 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmCP_HQD_IB_CONTROL); tmp 3543 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, CP_HQD_IB_CONTROL, MIN_IB_AVAIL_SIZE, 3); tmp 3544 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c mqd->cp_hqd_ib_control = tmp; tmp 4022 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c u32 tmp; tmp 4026 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_STATUS); tmp 4027 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (tmp & (GRBM_STATUS__PA_BUSY_MASK | GRBM_STATUS__SC_BUSY_MASK | tmp 4039 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (tmp & (GRBM_STATUS__CP_BUSY_MASK | GRBM_STATUS__CP_COHERENCY_BUSY_MASK)) { tmp 4045 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_STATUS2); tmp 4046 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (REG_GET_FIELD(tmp, GRBM_STATUS2, RLC_BUSY)) tmp 4063 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET); tmp 4064 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp |= grbm_soft_reset; tmp 4065 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c dev_info(adev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 4066 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET, tmp); tmp 4067 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET); tmp 4071 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp &= ~grbm_soft_reset; tmp 4072 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET, tmp); tmp 4073 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32_SOC15(GC, 0, mmGRBM_SOFT_RESET); tmp 5158 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c int pipe_num, tmp, reg; tmp 5168 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = RREG32(reg); tmp 5169 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = REG_SET_FIELD(tmp, SPI_WCL_PIPE_PERCENT_GFX, VALUE, pipe_percent); tmp 5170 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WREG32(reg, tmp); tmp 116 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c uint32_t tmp; tmp 119 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = RREG32_SOC15(GC, 0, mmMC_VM_MX_L1_TLB_CNTL); tmp 121 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); tmp 122 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); tmp 123 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, tmp 125 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, tmp 127 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ECO_BITS, 0); tmp 128 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, tmp 130 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ATC_EN, 1); tmp 132 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15_RLC(GC, 0, mmMC_VM_MX_L1_TLB_CNTL, tmp); tmp 137 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c uint32_t tmp; tmp 140 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = RREG32_SOC15(GC, 0, mmVM_L2_CNTL); tmp 141 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_CACHE, 1); tmp 142 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_FRAGMENT_PROCESSING, 1); tmp 144 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, L2_PDE0_CACHE_TAG_GENERATION_MODE, tmp 146 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, PDE_FAULT_CLASSIFICATION, 0); tmp 147 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, CONTEXT1_IDENTITY_ACCESS_MODE, 1); tmp 148 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, IDENTITY_MODE_FRAGMENT_SIZE, 0); tmp 149 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15_RLC(GC, 0, mmVM_L2_CNTL, tmp); tmp 151 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = RREG32_SOC15(GC, 0, mmVM_L2_CNTL2); tmp 152 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL2, INVALIDATE_ALL_L1_TLBS, 1); tmp 153 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL2, INVALIDATE_L2_CACHE, 1); tmp 154 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15_RLC(GC, 0, mmVM_L2_CNTL2, tmp); tmp 156 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = mmVM_L2_CNTL3_DEFAULT; tmp 158 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, BANK_SELECT, 12); tmp 159 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, tmp 162 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, BANK_SELECT, 9); tmp 163 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, tmp 166 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15_RLC(GC, 0, mmVM_L2_CNTL3, tmp); tmp 168 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = mmVM_L2_CNTL4_DEFAULT; tmp 169 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_PDE_REQUEST_PHYSICAL, 0); tmp 170 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_PTE_REQUEST_PHYSICAL, 0); tmp 171 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15_RLC(GC, 0, mmVM_L2_CNTL4, tmp); tmp 176 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c uint32_t tmp; tmp 178 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = RREG32_SOC15(GC, 0, mmVM_CONTEXT0_CNTL); tmp 179 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, ENABLE_CONTEXT, 1); tmp 180 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, PAGE_TABLE_DEPTH, 0); tmp 181 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15(GC, 0, mmVM_CONTEXT0_CNTL, tmp); tmp 204 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c uint32_t tmp; tmp 215 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = RREG32_SOC15_OFFSET(GC, 0, mmVM_CONTEXT1_CNTL, i); tmp 216 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, ENABLE_CONTEXT, 1); tmp 217 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, PAGE_TABLE_DEPTH, tmp 219 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 221 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 224 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 226 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 228 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 230 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 232 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 234 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 238 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 241 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15_OFFSET(GC, 0, mmVM_CONTEXT1_CNTL, i, tmp); tmp 293 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c u32 tmp; tmp 301 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = RREG32_SOC15(GC, 0, mmMC_VM_MX_L1_TLB_CNTL); tmp 302 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 0); tmp 303 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, tmp 307 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15_RLC(GC, 0, mmMC_VM_MX_L1_TLB_CNTL, tmp); tmp 323 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c u32 tmp; tmp 324 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = RREG32_SOC15(GC, 0, mmVM_L2_PROTECTION_FAULT_CNTL); tmp 325 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 327 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 329 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 331 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 333 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, tmp 337 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 339 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 341 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 343 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 345 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 347 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 350 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 352 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 355 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c WREG32_SOC15(GC, 0, mmVM_L2_PROTECTION_FAULT_CNTL, tmp); tmp 112 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c uint32_t tmp; tmp 115 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = RREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL); tmp 117 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); tmp 118 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); tmp 119 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, tmp 121 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, tmp 123 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, ECO_BITS, 0); tmp 124 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, tmp 127 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL, tmp); tmp 132 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c uint32_t tmp; tmp 135 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = RREG32_SOC15(GC, 0, mmGCVM_L2_CNTL); tmp 136 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL, ENABLE_L2_CACHE, 1); tmp 137 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL, ENABLE_L2_FRAGMENT_PROCESSING, 0); tmp 138 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL, tmp 141 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL, tmp 143 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL, PDE_FAULT_CLASSIFICATION, 0); tmp 144 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL, CONTEXT1_IDENTITY_ACCESS_MODE, 1); tmp 145 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL, IDENTITY_MODE_FRAGMENT_SIZE, 0); tmp 146 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL, tmp); tmp 148 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = RREG32_SOC15(GC, 0, mmGCVM_L2_CNTL2); tmp 149 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL2, INVALIDATE_ALL_L1_TLBS, 1); tmp 150 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL2, INVALIDATE_L2_CACHE, 1); tmp 151 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL2, tmp); tmp 153 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = mmGCVM_L2_CNTL3_DEFAULT; tmp 155 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL3, BANK_SELECT, 12); tmp 156 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL3, tmp 159 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL3, BANK_SELECT, 9); tmp 160 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL3, tmp 163 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL3, tmp); tmp 165 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = mmGCVM_L2_CNTL4_DEFAULT; tmp 166 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL4, VMC_TAP_PDE_REQUEST_PHYSICAL, 0); tmp 167 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_CNTL4, VMC_TAP_PTE_REQUEST_PHYSICAL, 0); tmp 168 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15(GC, 0, mmGCVM_L2_CNTL4, tmp); tmp 173 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c uint32_t tmp; tmp 175 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = RREG32_SOC15(GC, 0, mmGCVM_CONTEXT0_CNTL); tmp 176 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT0_CNTL, ENABLE_CONTEXT, 1); tmp 177 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT0_CNTL, PAGE_TABLE_DEPTH, 0); tmp 178 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15(GC, 0, mmGCVM_CONTEXT0_CNTL, tmp); tmp 201 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c uint32_t tmp; tmp 204 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = RREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT1_CNTL, i); tmp 205 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, ENABLE_CONTEXT, 1); tmp 206 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, PAGE_TABLE_DEPTH, tmp 208 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 210 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 212 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 214 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 216 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 218 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 220 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 222 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 226 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_CONTEXT1_CNTL, tmp 229 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15_OFFSET(GC, 0, mmGCVM_CONTEXT1_CNTL, i, tmp); tmp 281 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c u32 tmp; tmp 289 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = RREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL); tmp 290 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 0); tmp 291 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, tmp 293 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL, tmp); tmp 309 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c u32 tmp; tmp 310 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = RREG32_SOC15(GC, 0, mmGCVM_L2_PROTECTION_FAULT_CNTL); tmp 311 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 313 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 315 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 317 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 319 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 322 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 324 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 326 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 328 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 330 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 332 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 335 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 337 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c tmp = REG_SET_FIELD(tmp, GCVM_L2_PROTECTION_FAULT_CNTL, tmp 340 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c WREG32_SOC15(GC, 0, mmGCVM_L2_PROTECTION_FAULT_CNTL, tmp); tmp 63 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c u32 tmp, reg, bits[AMDGPU_MAX_VMHUBS], i; tmp 87 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp = RREG32(reg); tmp 88 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp &= ~bits[AMDGPU_MMHUB_0]; tmp 89 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c WREG32(reg, tmp); tmp 96 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp = RREG32(reg); tmp 97 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp &= ~bits[AMDGPU_GFXHUB_0]; tmp 98 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c WREG32(reg, tmp); tmp 106 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp = RREG32(reg); tmp 107 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp |= bits[AMDGPU_MMHUB_0]; tmp 108 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c WREG32(reg, tmp); tmp 115 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp = RREG32(reg); tmp 116 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp |= bits[AMDGPU_GFXHUB_0]; tmp 117 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c WREG32(reg, tmp); tmp 234 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c u32 tmp; tmp 252 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp = RREG32_NO_KIQ(hub->vm_inv_eng0_sem + eng); tmp 253 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (tmp & 0x1) tmp 273 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp = RREG32_NO_KIQ(hub->vm_inv_eng0_ack + eng); tmp 274 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp &= 1 << vmid; tmp 275 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (tmp) tmp 827 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c u32 tmp; tmp 846 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp = RREG32_SOC15(HDP, 0, mmHDP_MISC_CNTL); tmp 847 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp |= HDP_MISC_CNTL__FLUSH_INVALIDATE_CACHE_MASK; tmp 848 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c WREG32_SOC15(HDP, 0, mmHDP_MISC_CNTL, tmp); tmp 850 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c tmp = RREG32_SOC15(HDP, 0, mmHDP_HOST_PATH_CNTL); tmp 851 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c WREG32_SOC15(HDP, 0, mmHDP_HOST_PATH_CNTL, tmp); tmp 97 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp; tmp 100 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmMC_SHARED_BLACKOUT_CNTL); tmp 101 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE, 0); tmp 102 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp); tmp 104 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(0, BIF_FB_EN, FB_READ_EN, 1); tmp 105 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, BIF_FB_EN, FB_WRITE_EN, 1); tmp 106 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmBIF_FB_EN, tmp); tmp 254 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp; tmp 257 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmVGA_HDP_CONTROL); tmp 258 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp |= VGA_HDP_CONTROL__VGA_MEMORY_DISABLE_MASK; tmp 259 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmVGA_HDP_CONTROL, tmp); tmp 262 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmVGA_RENDER_CONTROL); tmp 263 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp &= ~VGA_VSTATUS_CNTL; tmp 264 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmVGA_RENDER_CONTROL, tmp); tmp 285 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp; tmp 289 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmMC_ARB_RAMCFG); tmp 290 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c if (tmp & (1 << 11)) { tmp 292 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c } else if (tmp & MC_ARB_RAMCFG__CHANSIZE_MASK) { tmp 297 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmMC_SHARED_CHMAP); tmp 298 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c switch ((tmp & MC_SHARED_CHMAP__NOOFCHAN_MASK) >> MC_SHARED_CHMAP__NOOFCHAN__SHIFT) { tmp 413 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp; tmp 415 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 416 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 418 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 420 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 422 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 424 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 426 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 428 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 439 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp; tmp 446 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmVM_PRT_CNTL); tmp 447 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 450 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 453 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 456 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 459 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmVM_PRT_CNTL, tmp); tmp 849 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp = RREG32(mmMC_SEQ_MISC0); tmp 850 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp &= MC_SEQ_MISC0__MT__MASK; tmp 851 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c adev->gmc.vram_type = gmc_v6_0_convert_vram_type(tmp); tmp 904 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u64 tmp = RREG32(mmMC_VM_FB_OFFSET); tmp 906 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp <<= 22; tmp 907 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c adev->vm_manager.vram_base_offset = tmp; tmp 988 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 990 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c if (tmp & (SRBM_STATUS__MCB_BUSY_MASK | SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK | tmp 1015 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 1017 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c if (tmp & SRBM_STATUS__VMC_BUSY_MASK) tmp 1021 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c if (tmp & (SRBM_STATUS__MCB_BUSY_MASK | SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK | tmp 1035 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1036 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp |= srbm_soft_reset; tmp 1037 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1038 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1039 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1043 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp &= ~srbm_soft_reset; tmp 1044 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1045 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1061 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 tmp; tmp 1071 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmVM_CONTEXT0_CNTL); tmp 1072 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp &= ~bits; tmp 1073 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmVM_CONTEXT0_CNTL, tmp); tmp 1074 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 1075 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp &= ~bits; tmp 1076 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 1079 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmVM_CONTEXT0_CNTL); tmp 1080 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp |= bits; tmp 1081 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmVM_CONTEXT0_CNTL, tmp); tmp 1082 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 1083 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c tmp |= bits; tmp 1084 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 111 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp; tmp 114 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmMC_SHARED_BLACKOUT_CNTL); tmp 115 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE, 0); tmp 116 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp); tmp 118 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(0, BIF_FB_EN, FB_READ_EN, 1); tmp 119 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, BIF_FB_EN, FB_WRITE_EN, 1); tmp 120 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmBIF_FB_EN, tmp); tmp 262 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp; tmp 280 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVGA_HDP_CONTROL); tmp 281 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 1); tmp 282 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVGA_HDP_CONTROL, tmp); tmp 285 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVGA_RENDER_CONTROL); tmp 286 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VGA_RENDER_CONTROL, VGA_VSTATUS_CNTL, 0); tmp 287 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVGA_RENDER_CONTROL, tmp); tmp 305 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmHDP_MISC_CNTL); tmp 306 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, HDP_MISC_CNTL, FLUSH_INVALIDATE_CACHE, 0); tmp 307 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmHDP_MISC_CNTL, tmp); tmp 309 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmHDP_HOST_PATH_CNTL); tmp 310 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmHDP_HOST_PATH_CNTL, tmp); tmp 328 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp; tmp 332 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmMC_ARB_RAMCFG); tmp 333 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if (REG_GET_FIELD(tmp, MC_ARB_RAMCFG, CHANSIZE)) { tmp 338 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmMC_SHARED_CHMAP); tmp 339 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c switch (REG_GET_FIELD(tmp, MC_SHARED_CHMAP, NOOFCHAN)) { tmp 496 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp; tmp 498 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 499 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 501 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 503 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 505 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 507 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 509 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 511 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 522 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c uint32_t tmp; tmp 529 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_PRT_CNTL); tmp 530 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 532 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 534 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 536 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 538 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 540 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 542 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 544 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_PRT_CNTL, tmp); tmp 586 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp, field; tmp 599 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmMC_VM_MX_L1_TLB_CNTL); tmp 600 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); tmp 601 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_FRAGMENT_PROCESSING, 1); tmp 602 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); tmp 603 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_ADVANCED_DRIVER_MODEL, 1); tmp 604 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, SYSTEM_APERTURE_UNMAPPED_ACCESS, 0); tmp 605 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmMC_VM_MX_L1_TLB_CNTL, tmp); tmp 607 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_L2_CNTL); tmp 608 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_CACHE, 1); tmp 609 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_FRAGMENT_PROCESSING, 1); tmp 610 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_PTE_CACHE_LRU_UPDATE_BY_WRITE, 1); tmp 611 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_PDE0_CACHE_LRU_UPDATE_BY_WRITE, 1); tmp 612 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, EFFECTIVE_L2_QUEUE_SIZE, 7); tmp 613 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, CONTEXT1_IDENTITY_ACCESS_MODE, 1); tmp 614 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_DEFAULT_PAGE_OUT_TO_SYSTEM_MEMORY, 1); tmp 615 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_L2_CNTL, tmp); tmp 616 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(0, VM_L2_CNTL2, INVALIDATE_ALL_L1_TLBS, 1); tmp 617 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL2, INVALIDATE_L2_CACHE, 1); tmp 618 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_L2_CNTL2, tmp); tmp 621 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_L2_CNTL3); tmp 622 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, L2_CACHE_BIGK_ASSOCIATIVITY, 1); tmp 623 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, BANK_SELECT, field); tmp 624 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, L2_CACHE_BIGK_FRAGMENT_SIZE, field); tmp 625 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_L2_CNTL3, tmp); tmp 633 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_CONTEXT0_CNTL); tmp 634 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, ENABLE_CONTEXT, 1); tmp 635 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, PAGE_TABLE_DEPTH, 0); tmp 636 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, RANGE_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 637 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_CONTEXT0_CNTL, tmp); tmp 663 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 664 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, ENABLE_CONTEXT, 1); tmp 665 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, PAGE_TABLE_DEPTH, 1); tmp 666 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, PAGE_TABLE_BLOCK_SIZE, tmp 668 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 675 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmCHUB_CONTROL); tmp 676 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp &= ~BYPASS_VM; tmp 677 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmCHUB_CONTROL, tmp); tmp 714 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp; tmp 720 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmMC_VM_MX_L1_TLB_CNTL); tmp 721 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 0); tmp 722 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_FRAGMENT_PROCESSING, 0); tmp 723 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_ADVANCED_DRIVER_MODEL, 0); tmp 724 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmMC_VM_MX_L1_TLB_CNTL, tmp); tmp 726 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_L2_CNTL); tmp 727 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_CACHE, 0); tmp 728 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_L2_CNTL, tmp); tmp 969 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp = RREG32(mmMC_SEQ_MISC0); tmp 970 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp &= MC_SEQ_MISC0__MT__MASK; tmp 971 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c adev->gmc.vram_type = gmc_v7_0_convert_vram_type(tmp); tmp 1033 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u64 tmp = RREG32(mmMC_VM_FB_OFFSET); tmp 1035 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp <<= 22; tmp 1036 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c adev->vm_manager.vram_base_offset = tmp; tmp 1126 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 1128 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if (tmp & (SRBM_STATUS__MCB_BUSY_MASK | SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK | tmp 1138 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp; tmp 1143 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmSRBM_STATUS) & (SRBM_STATUS__MCB_BUSY_MASK | tmp 1148 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if (!tmp) tmp 1160 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 1162 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if (tmp & SRBM_STATUS__VMC_BUSY_MASK) tmp 1166 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if (tmp & (SRBM_STATUS__MCB_BUSY_MASK | SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK | tmp 1180 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1181 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp |= srbm_soft_reset; tmp 1182 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1183 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1184 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1188 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp &= ~srbm_soft_reset; tmp 1189 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1190 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1207 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp; tmp 1218 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_CONTEXT0_CNTL); tmp 1219 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp &= ~bits; tmp 1220 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_CONTEXT0_CNTL, tmp); tmp 1222 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 1223 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp &= ~bits; tmp 1224 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 1228 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_CONTEXT0_CNTL); tmp 1229 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp |= bits; tmp 1230 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_CONTEXT0_CNTL, tmp); tmp 1232 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 1233 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp |= bits; tmp 1234 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 199 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 202 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmMC_SHARED_BLACKOUT_CNTL); tmp 203 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE, 0); tmp 204 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp); tmp 206 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(0, BIF_FB_EN, FB_READ_EN, 1); tmp 207 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, BIF_FB_EN, FB_WRITE_EN, 1); tmp 208 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmBIF_FB_EN, tmp); tmp 453 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 471 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVGA_HDP_CONTROL); tmp 472 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 1); tmp 473 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVGA_HDP_CONTROL, tmp); tmp 476 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVGA_RENDER_CONTROL); tmp 477 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VGA_RENDER_CONTROL, VGA_VSTATUS_CNTL, 0); tmp 478 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVGA_RENDER_CONTROL, tmp); tmp 489 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = ((adev->gmc.vram_end >> 24) & 0xFFFF) << 16; tmp 490 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp |= ((adev->gmc.vram_start >> 24) & 0xFFFF); tmp 491 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmMC_VM_FB_LOCATION, tmp); tmp 507 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmHDP_MISC_CNTL); tmp 508 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, HDP_MISC_CNTL, FLUSH_INVALIDATE_CACHE, 0); tmp 509 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmHDP_MISC_CNTL, tmp); tmp 511 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmHDP_HOST_PATH_CNTL); tmp 512 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmHDP_HOST_PATH_CNTL, tmp); tmp 530 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 534 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmMC_ARB_RAMCFG); tmp 535 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if (REG_GET_FIELD(tmp, MC_ARB_RAMCFG, CHANSIZE)) { tmp 540 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmMC_SHARED_CHMAP); tmp 541 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c switch (REG_GET_FIELD(tmp, MC_SHARED_CHMAP, NOOFCHAN)) { tmp 721 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 723 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 724 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 726 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 728 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 730 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 732 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 734 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 736 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 738 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 749 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 756 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_PRT_CNTL); tmp 757 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 759 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 761 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 763 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 765 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 767 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 769 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_PRT_CNTL, tmp 771 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_PRT_CNTL, tmp); tmp 813 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp, field; tmp 826 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmMC_VM_MX_L1_TLB_CNTL); tmp 827 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); tmp 828 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_FRAGMENT_PROCESSING, 1); tmp 829 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); tmp 830 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_ADVANCED_DRIVER_MODEL, 1); tmp 831 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, SYSTEM_APERTURE_UNMAPPED_ACCESS, 0); tmp 832 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmMC_VM_MX_L1_TLB_CNTL, tmp); tmp 834 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_L2_CNTL); tmp 835 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_CACHE, 1); tmp 836 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_FRAGMENT_PROCESSING, 1); tmp 837 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_PTE_CACHE_LRU_UPDATE_BY_WRITE, 1); tmp 838 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_PDE0_CACHE_LRU_UPDATE_BY_WRITE, 1); tmp 839 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, EFFECTIVE_L2_QUEUE_SIZE, 7); tmp 840 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, CONTEXT1_IDENTITY_ACCESS_MODE, 1); tmp 841 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_DEFAULT_PAGE_OUT_TO_SYSTEM_MEMORY, 1); tmp 842 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_L2_CNTL, tmp); tmp 843 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_L2_CNTL2); tmp 844 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL2, INVALIDATE_ALL_L1_TLBS, 1); tmp 845 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL2, INVALIDATE_L2_CACHE, 1); tmp 846 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_L2_CNTL2, tmp); tmp 849 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_L2_CNTL3); tmp 850 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, L2_CACHE_BIGK_ASSOCIATIVITY, 1); tmp 851 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, BANK_SELECT, field); tmp 852 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, L2_CACHE_BIGK_FRAGMENT_SIZE, field); tmp 853 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_L2_CNTL3, tmp); tmp 855 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_L2_CNTL4); tmp 856 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT0_PDE_REQUEST_PHYSICAL, 0); tmp 857 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT0_PDE_REQUEST_SHARED, 0); tmp 858 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT0_PDE_REQUEST_SNOOP, 0); tmp 859 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT0_PTE_REQUEST_PHYSICAL, 0); tmp 860 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT0_PTE_REQUEST_SHARED, 0); tmp 861 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT0_PTE_REQUEST_SNOOP, 0); tmp 862 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT1_PDE_REQUEST_PHYSICAL, 0); tmp 863 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT1_PDE_REQUEST_SHARED, 0); tmp 864 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT1_PDE_REQUEST_SNOOP, 0); tmp 865 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT1_PTE_REQUEST_PHYSICAL, 0); tmp 866 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT1_PTE_REQUEST_SHARED, 0); tmp 867 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_CONTEXT1_PTE_REQUEST_SNOOP, 0); tmp 868 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_L2_CNTL4, tmp); tmp 876 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_CONTEXT0_CNTL); tmp 877 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, ENABLE_CONTEXT, 1); tmp 878 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, PAGE_TABLE_DEPTH, 0); tmp 879 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, RANGE_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 880 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_CONTEXT0_CNTL, tmp); tmp 906 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 907 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, ENABLE_CONTEXT, 1); tmp 908 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, PAGE_TABLE_DEPTH, 1); tmp 909 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, RANGE_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 910 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 911 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, PDE0_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 912 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, VALID_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 913 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, READ_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 914 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, WRITE_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 915 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, EXECUTE_PROTECTION_FAULT_ENABLE_DEFAULT, 1); tmp 916 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, PAGE_TABLE_BLOCK_SIZE, tmp 918 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 958 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 964 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmMC_VM_MX_L1_TLB_CNTL); tmp 965 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 0); tmp 966 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_FRAGMENT_PROCESSING, 0); tmp 967 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_ADVANCED_DRIVER_MODEL, 0); tmp 968 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmMC_VM_MX_L1_TLB_CNTL, tmp); tmp 970 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_L2_CNTL); tmp 971 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_CACHE, 0); tmp 972 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_L2_CNTL, tmp); tmp 1089 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 1093 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmMC_SEQ_MISC0_FIJI); tmp 1095 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmMC_SEQ_MISC0); tmp 1096 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp &= MC_SEQ_MISC0__MT__MASK; tmp 1097 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c adev->gmc.vram_type = gmc_v8_0_convert_vram_type(tmp); tmp 1159 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u64 tmp = RREG32(mmMC_VM_FB_OFFSET); tmp 1161 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp <<= 22; tmp 1162 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c adev->vm_manager.vram_base_offset = tmp; tmp 1260 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 1262 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if (tmp & (SRBM_STATUS__MCB_BUSY_MASK | SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK | tmp 1272 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 1277 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmSRBM_STATUS) & (SRBM_STATUS__MCB_BUSY_MASK | tmp 1283 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if (!tmp) tmp 1295 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 1297 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if (tmp & SRBM_STATUS__VMC_BUSY_MASK) tmp 1301 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if (tmp & (SRBM_STATUS__MCB_BUSY_MASK | SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK | tmp 1341 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 1343 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1344 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp |= srbm_soft_reset; tmp 1345 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1346 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1347 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1351 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp &= ~srbm_soft_reset; tmp 1352 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1353 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1378 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp; tmp 1390 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_CONTEXT0_CNTL); tmp 1391 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp &= ~bits; tmp 1392 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_CONTEXT0_CNTL, tmp); tmp 1394 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 1395 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp &= ~bits; tmp 1396 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 1400 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_CONTEXT0_CNTL); tmp 1401 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp |= bits; tmp 1402 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_CONTEXT0_CNTL, tmp); tmp 1404 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = RREG32(mmVM_CONTEXT1_CNTL); tmp 1405 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp |= bits; tmp 1406 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c WREG32(mmVM_CONTEXT1_CNTL, tmp); tmp 206 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c u32 bits, i, tmp, reg; tmp 214 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32(reg); tmp 215 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp &= ~bits; tmp 216 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c WREG32(reg, tmp); tmp 220 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32(reg); tmp 221 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp &= ~bits; tmp 222 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c WREG32(reg, tmp); tmp 228 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32(reg); tmp 229 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp |= bits; tmp 230 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c WREG32(reg, tmp); tmp 234 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32(reg); tmp 235 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp |= bits; tmp 236 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c WREG32(reg, tmp); tmp 290 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c u32 tmp, reg, bits, i, j; tmp 306 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32(reg); tmp 307 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp &= ~bits; tmp 308 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c WREG32(reg, tmp); tmp 317 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32(reg); tmp 318 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp |= bits; tmp 319 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c WREG32(reg, tmp); tmp 490 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c u32 j, inv_req, tmp; tmp 525 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32_NO_KIQ(hub->vm_inv_eng0_sem + eng); tmp 526 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (tmp & 0x1) tmp 545 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32_NO_KIQ(hub->vm_inv_eng0_ack + eng); tmp 546 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (tmp & (1 << vmid)) tmp 1407 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c u32 tmp; tmp 1443 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c tmp = RREG32_SOC15(HDP, 0, mmHDP_HOST_PATH_CNTL); tmp 1444 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c WREG32_SOC15(HDP, 0, mmHDP_HOST_PATH_CNTL, tmp); tmp 192 drivers/gpu/drm/amd/amdgpu/iceland_ih.c u32 wptr, tmp; tmp 205 drivers/gpu/drm/amd/amdgpu/iceland_ih.c tmp = RREG32(mmIH_RB_CNTL); tmp 206 drivers/gpu/drm/amd/amdgpu/iceland_ih.c tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, WPTR_OVERFLOW_CLEAR, 1); tmp 207 drivers/gpu/drm/amd/amdgpu/iceland_ih.c WREG32(mmIH_RB_CNTL, tmp); tmp 334 drivers/gpu/drm/amd/amdgpu/iceland_ih.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 336 drivers/gpu/drm/amd/amdgpu/iceland_ih.c if (REG_GET_FIELD(tmp, SRBM_STATUS, IH_BUSY)) tmp 345 drivers/gpu/drm/amd/amdgpu/iceland_ih.c u32 tmp; tmp 350 drivers/gpu/drm/amd/amdgpu/iceland_ih.c tmp = RREG32(mmSRBM_STATUS); tmp 351 drivers/gpu/drm/amd/amdgpu/iceland_ih.c if (!REG_GET_FIELD(tmp, SRBM_STATUS, IH_BUSY)) tmp 362 drivers/gpu/drm/amd/amdgpu/iceland_ih.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 364 drivers/gpu/drm/amd/amdgpu/iceland_ih.c if (tmp & SRBM_STATUS__IH_BUSY_MASK) tmp 369 drivers/gpu/drm/amd/amdgpu/iceland_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 370 drivers/gpu/drm/amd/amdgpu/iceland_ih.c tmp |= srbm_soft_reset; tmp 371 drivers/gpu/drm/amd/amdgpu/iceland_ih.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 372 drivers/gpu/drm/amd/amdgpu/iceland_ih.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 373 drivers/gpu/drm/amd/amdgpu/iceland_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 377 drivers/gpu/drm/amd/amdgpu/iceland_ih.c tmp &= ~srbm_soft_reset; tmp 378 drivers/gpu/drm/amd/amdgpu/iceland_ih.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 379 drivers/gpu/drm/amd/amdgpu/iceland_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 585 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 tmp; tmp 590 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &tmp, pi->sram_end); tmp 593 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->dpm_table_start = tmp; tmp 597 drivers/gpu/drm/amd/amdgpu/kv_dpm.c &tmp, pi->sram_end); tmp 600 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->soft_regs_start = tmp; tmp 727 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 tmp = RREG32_SMC(ixGENERAL_PWRMGT); tmp 729 drivers/gpu/drm/amd/amdgpu/kv_dpm.c tmp |= GENERAL_PWRMGT__GLOBAL_PWRMGT_EN_MASK; tmp 730 drivers/gpu/drm/amd/amdgpu/kv_dpm.c WREG32_SMC(ixGENERAL_PWRMGT, tmp); tmp 1435 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u16 tmp; tmp 1437 drivers/gpu/drm/amd/amdgpu/kv_dpm.c tmp = 45; tmp 1438 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->fps_high_t = cpu_to_be16(tmp); tmp 1445 drivers/gpu/drm/amd/amdgpu/kv_dpm.c tmp = 30; tmp 1446 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->fps_low_t = cpu_to_be16(tmp); tmp 2525 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 tmp; tmp 2536 drivers/gpu/drm/amd/amdgpu/kv_dpm.c tmp = RREG32_SMC(ixCG_THERMAL_INT_CTRL); tmp 2537 drivers/gpu/drm/amd/amdgpu/kv_dpm.c tmp &= ~(CG_THERMAL_INT_CTRL__DIG_THERM_INTH_MASK | tmp 2539 drivers/gpu/drm/amd/amdgpu/kv_dpm.c tmp |= ((49 + (high_temp / 1000)) << CG_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT) | tmp 2541 drivers/gpu/drm/amd/amdgpu/kv_dpm.c WREG32_SMC(ixCG_THERMAL_INT_CTRL, tmp); tmp 2873 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 sclk, tmp; tmp 2880 drivers/gpu/drm/amd/amdgpu/kv_dpm.c tmp = (RREG32_SMC(ixSMU_VOLTAGE_STATUS) & tmp 2883 drivers/gpu/drm/amd/amdgpu/kv_dpm.c vddc = kv_convert_8bit_index_to_voltage(adev, (u16)tmp); tmp 35 drivers/gpu/drm/amd/amdgpu/kv_smc.c u32 tmp = 0; tmp 44 drivers/gpu/drm/amd/amdgpu/kv_smc.c tmp = RREG32(mmSMC_RESP_0) & SMC_RESP_0__SMC_RESP_MASK; tmp 46 drivers/gpu/drm/amd/amdgpu/kv_smc.c if (tmp != 1) { tmp 47 drivers/gpu/drm/amd/amdgpu/kv_smc.c if (tmp == 0xFF) tmp 49 drivers/gpu/drm/amd/amdgpu/kv_smc.c else if (tmp == 0xFE) tmp 92 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c uint32_t tmp; tmp 134 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15(MMHUB, 0, mmVM_L2_PROTECTION_FAULT_CNTL2); tmp 135 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL2, tmp 137 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmVM_L2_PROTECTION_FAULT_CNTL2, tmp); tmp 142 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c uint32_t tmp; tmp 145 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMC_VM_MX_L1_TLB_CNTL); tmp 147 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); tmp 148 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); tmp 149 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, tmp 151 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, tmp 153 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ECO_BITS, 0); tmp 154 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, tmp 156 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ATC_EN, 1); tmp 158 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmMC_VM_MX_L1_TLB_CNTL, tmp); tmp 163 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c uint32_t tmp; tmp 169 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL); tmp 170 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_CACHE, 1); tmp 171 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_FRAGMENT_PROCESSING, 1); tmp 173 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, L2_PDE0_CACHE_TAG_GENERATION_MODE, tmp 175 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, PDE_FAULT_CLASSIFICATION, 0); tmp 176 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, CONTEXT1_IDENTITY_ACCESS_MODE, 1); tmp 177 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, IDENTITY_MODE_FRAGMENT_SIZE, 0); tmp 178 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL, tmp); tmp 180 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL2); tmp 181 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL2, INVALIDATE_ALL_L1_TLBS, 1); tmp 182 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL2, INVALIDATE_L2_CACHE, 1); tmp 183 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL2, tmp); tmp 186 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, BANK_SELECT, 12); tmp 187 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, tmp 190 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, BANK_SELECT, 9); tmp 191 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, tmp 194 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL3, tmp); tmp 196 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = mmVM_L2_CNTL4_DEFAULT; tmp 197 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_PDE_REQUEST_PHYSICAL, 0); tmp 198 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL4, VMC_TAP_PTE_REQUEST_PHYSICAL, 0); tmp 199 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL4, tmp); tmp 204 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c uint32_t tmp; tmp 206 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15(MMHUB, 0, mmVM_CONTEXT0_CNTL); tmp 207 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, ENABLE_CONTEXT, 1); tmp 208 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT0_CNTL, PAGE_TABLE_DEPTH, 0); tmp 209 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmVM_CONTEXT0_CNTL, tmp); tmp 236 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c uint32_t tmp; tmp 247 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmVM_CONTEXT1_CNTL, i); tmp 248 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, ENABLE_CONTEXT, 1); tmp 249 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, PAGE_TABLE_DEPTH, tmp 251 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 253 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 256 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 258 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 260 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 262 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 264 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 266 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 270 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_CONTEXT1_CNTL, tmp 273 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15_OFFSET(MMHUB, 0, mmVM_CONTEXT1_CNTL, i, tmp); tmp 338 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c u32 tmp; tmp 346 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMC_VM_MX_L1_TLB_CNTL); tmp 347 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 0); tmp 348 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, tmp 352 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmMC_VM_MX_L1_TLB_CNTL, tmp); tmp 356 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL); tmp 357 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL, ENABLE_L2_CACHE, 0); tmp 358 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmVM_L2_CNTL, tmp); tmp 371 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c u32 tmp; tmp 376 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = RREG32_SOC15(MMHUB, 0, mmVM_L2_PROTECTION_FAULT_CNTL); tmp 377 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 379 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 381 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 383 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 385 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, tmp 389 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 391 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 393 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 395 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 397 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 399 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 402 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 404 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL, tmp 408 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c WREG32_SOC15(MMHUB, 0, mmVM_L2_PROTECTION_FAULT_CNTL, tmp); tmp 63 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c uint32_t tmp; tmp 90 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMMVM_L2_PROTECTION_FAULT_CNTL2); tmp 91 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL2, tmp 93 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMVM_L2_PROTECTION_FAULT_CNTL2, tmp); tmp 98 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c uint32_t tmp; tmp 101 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMMMC_VM_MX_L1_TLB_CNTL); tmp 103 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); tmp 104 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); tmp 105 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, tmp 107 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, tmp 109 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, ECO_BITS, 0); tmp 110 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, tmp 113 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMMC_VM_MX_L1_TLB_CNTL, tmp); tmp 118 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c uint32_t tmp; tmp 121 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL); tmp 122 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL, ENABLE_L2_CACHE, 1); tmp 123 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL, ENABLE_L2_FRAGMENT_PROCESSING, 0); tmp 124 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL, tmp 127 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL, L2_PDE0_CACHE_TAG_GENERATION_MODE, tmp 129 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL, PDE_FAULT_CLASSIFICATION, 0); tmp 130 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL, CONTEXT1_IDENTITY_ACCESS_MODE, 1); tmp 131 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL, IDENTITY_MODE_FRAGMENT_SIZE, 0); tmp 132 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL, tmp); tmp 134 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL2); tmp 135 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL2, INVALIDATE_ALL_L1_TLBS, 1); tmp 136 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL2, INVALIDATE_L2_CACHE, 1); tmp 137 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL2, tmp); tmp 139 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = mmMMVM_L2_CNTL3_DEFAULT; tmp 141 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL3, BANK_SELECT, 12); tmp 142 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL3, tmp 145 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL3, BANK_SELECT, 9); tmp 146 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL3, tmp 149 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL3, tmp); tmp 151 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = mmMMVM_L2_CNTL4_DEFAULT; tmp 152 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL4, VMC_TAP_PDE_REQUEST_PHYSICAL, 0); tmp 153 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL4, VMC_TAP_PTE_REQUEST_PHYSICAL, 0); tmp 154 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL4, tmp); tmp 159 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c uint32_t tmp; tmp 161 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMMVM_CONTEXT0_CNTL); tmp 162 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT0_CNTL, ENABLE_CONTEXT, 1); tmp 163 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT0_CNTL, PAGE_TABLE_DEPTH, 0); tmp 164 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMVM_CONTEXT0_CNTL, tmp); tmp 190 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c uint32_t tmp; tmp 193 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmMMVM_CONTEXT1_CNTL, i); tmp 194 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, ENABLE_CONTEXT, 1); tmp 195 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, PAGE_TABLE_DEPTH, tmp 197 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 199 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 202 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 204 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 206 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 208 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 210 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 212 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 216 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, tmp 219 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15_OFFSET(MMHUB, 0, mmMMVM_CONTEXT1_CNTL, i, tmp); tmp 271 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c u32 tmp; tmp 279 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMMMC_VM_MX_L1_TLB_CNTL); tmp 280 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 0); tmp 281 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, tmp 283 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMMC_VM_MX_L1_TLB_CNTL, tmp); tmp 286 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL); tmp 287 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_CNTL, ENABLE_L2_CACHE, 0); tmp 288 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMVM_L2_CNTL, tmp); tmp 300 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c u32 tmp; tmp 301 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = RREG32_SOC15(MMHUB, 0, mmMMVM_L2_PROTECTION_FAULT_CNTL); tmp 302 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 304 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 306 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 308 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 310 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 313 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 315 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 317 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 319 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 321 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 323 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 326 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 328 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL, tmp 331 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c WREG32_SOC15(MMHUB, 0, mmMMVM_L2_PROTECTION_FAULT_CNTL, tmp); tmp 107 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c uint32_t tmp; tmp 152 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, tmp 155 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL2, tmp 158 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c hubid * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 163 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c uint32_t tmp; tmp 166 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, tmp 170 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL, tmp 172 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL, tmp 174 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL, tmp 176 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL, tmp 178 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL, tmp 180 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL, tmp 182 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL, tmp 186 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c hubid * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 191 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c uint32_t tmp; tmp 194 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmVML2PF0_VM_L2_CNTL, tmp 196 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL, tmp 198 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL, tmp 201 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL, tmp 203 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL, tmp 205 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL, tmp 207 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL, tmp 210 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c hubid * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 212 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmVML2PF0_VM_L2_CNTL2, tmp 214 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL2, tmp 216 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL2, tmp 219 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c hubid * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 221 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = mmVML2PF0_VM_L2_CNTL3_DEFAULT; tmp 223 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL3, BANK_SELECT, 12); tmp 224 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL3, tmp 227 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL3, BANK_SELECT, 9); tmp 228 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL3, tmp 232 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c hubid * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 234 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = mmVML2PF0_VM_L2_CNTL4_DEFAULT; tmp 235 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL4, tmp 237 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL4, tmp 240 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c hubid * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 246 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c uint32_t tmp; tmp 248 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmVML2VC0_VM_CONTEXT0_CNTL, tmp 250 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT0_CNTL, ENABLE_CONTEXT, 1); tmp 251 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT0_CNTL, PAGE_TABLE_DEPTH, 0); tmp 253 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c hubid * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 283 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c uint32_t tmp; tmp 287 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmVML2VC0_VM_CONTEXT1_CNTL, tmp 289 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 291 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 294 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 296 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 299 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 301 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 303 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 305 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 307 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 309 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 313 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2VC0_VM_CONTEXT1_CNTL, tmp 317 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp); tmp 390 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c u32 tmp; tmp 402 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, tmp 405 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL, tmp 407 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, tmp 412 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c j * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 415 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, mmVML2PF0_VM_L2_CNTL, tmp 417 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_CNTL, tmp 420 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c j * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 434 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c u32 tmp; tmp 438 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = RREG32_SOC15_OFFSET(MMHUB, 0, tmp 441 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 444 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 447 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 450 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 453 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, tmp 457 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 460 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 463 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 466 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 469 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 472 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, VML2PF0_VM_L2_PROTECTION_FAULT_CNTL, tmp 476 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, tmp 479 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c tmp = REG_SET_FIELD(tmp, tmp 486 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c i * MMHUB_INSTANCE_REGISTER_OFFSET, tmp); tmp 303 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c u32 tmp = RREG32_NO_KIQ(SOC15_REG_OFFSET(NBIO, 0, mmBIF_BX_PF0_MAILBOX_INT_CNTL)); tmp 305 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c tmp = REG_SET_FIELD(tmp, BIF_BX_PF0_MAILBOX_INT_CNTL, ACK_INT_EN, tmp 307 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c WREG32_NO_KIQ(SOC15_REG_OFFSET(NBIO, 0, mmBIF_BX_PF0_MAILBOX_INT_CNTL), tmp); tmp 356 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c u32 tmp = RREG32_NO_KIQ(SOC15_REG_OFFSET(NBIO, 0, mmBIF_BX_PF0_MAILBOX_INT_CNTL)); tmp 358 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c tmp = REG_SET_FIELD(tmp, BIF_BX_PF0_MAILBOX_INT_CNTL, VALID_INT_EN, tmp 360 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c WREG32_NO_KIQ(SOC15_REG_OFFSET(NBIO, 0, mmBIF_BX_PF0_MAILBOX_INT_CNTL), tmp); tmp 502 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c u32 tmp = RREG32_NO_KIQ(mmMAILBOX_INT_CNTL); tmp 504 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c tmp = REG_SET_FIELD(tmp, MAILBOX_INT_CNTL, ACK_INT_EN, tmp 506 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c WREG32_NO_KIQ(mmMAILBOX_INT_CNTL, tmp); tmp 532 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c u32 tmp = RREG32_NO_KIQ(mmMAILBOX_INT_CNTL); tmp 534 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c tmp = REG_SET_FIELD(tmp, MAILBOX_INT_CNTL, VALID_INT_EN, tmp 536 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c WREG32_NO_KIQ(mmMAILBOX_INT_CNTL, tmp); tmp 115 drivers/gpu/drm/amd/amdgpu/navi10_ih.c u32 tmp; tmp 168 drivers/gpu/drm/amd/amdgpu/navi10_ih.c tmp = RREG32_SOC15(OSSSYS, 0, mmIH_STORM_CLIENT_LIST_CNTL); tmp 169 drivers/gpu/drm/amd/amdgpu/navi10_ih.c tmp = REG_SET_FIELD(tmp, IH_STORM_CLIENT_LIST_CNTL, tmp 171 drivers/gpu/drm/amd/amdgpu/navi10_ih.c WREG32_SOC15(OSSSYS, 0, mmIH_STORM_CLIENT_LIST_CNTL, tmp); tmp 173 drivers/gpu/drm/amd/amdgpu/navi10_ih.c tmp = RREG32_SOC15(OSSSYS, 0, mmIH_INT_FLOOD_CNTL); tmp 174 drivers/gpu/drm/amd/amdgpu/navi10_ih.c tmp = REG_SET_FIELD(tmp, IH_INT_FLOOD_CNTL, FLOOD_CNTL_ENABLE, 1); tmp 175 drivers/gpu/drm/amd/amdgpu/navi10_ih.c WREG32_SOC15(OSSSYS, 0, mmIH_INT_FLOOD_CNTL, tmp); tmp 213 drivers/gpu/drm/amd/amdgpu/navi10_ih.c u32 wptr, reg, tmp; tmp 230 drivers/gpu/drm/amd/amdgpu/navi10_ih.c tmp = (wptr + 32) & ih->ptr_mask; tmp 233 drivers/gpu/drm/amd/amdgpu/navi10_ih.c wptr, ih->rptr, tmp); tmp 234 drivers/gpu/drm/amd/amdgpu/navi10_ih.c ih->rptr = tmp; tmp 237 drivers/gpu/drm/amd/amdgpu/navi10_ih.c tmp = RREG32_NO_KIQ(reg); tmp 238 drivers/gpu/drm/amd/amdgpu/navi10_ih.c tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, WPTR_OVERFLOW_CLEAR, 1); tmp 239 drivers/gpu/drm/amd/amdgpu/navi10_ih.c WREG32_NO_KIQ(reg, tmp); tmp 37 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c u32 tmp = RREG32_SOC15(NBIO, 0, mmRCC_DEV0_EPF0_STRAP0); tmp 39 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c tmp &= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0_MASK; tmp 40 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c tmp >>= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0__SHIFT; tmp 42 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c return tmp; tmp 124 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c u32 tmp = 0; tmp 127 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c tmp = REG_SET_FIELD(tmp, BIF_BX_PF_DOORBELL_SELFRING_GPA_APER_CNTL, tmp 129 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c REG_SET_FIELD(tmp, BIF_BX_PF_DOORBELL_SELFRING_GPA_APER_CNTL, tmp 131 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c REG_SET_FIELD(tmp, BIF_BX_PF_DOORBELL_SELFRING_GPA_APER_CNTL, tmp 141 drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c tmp); tmp 35 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c u32 tmp = RREG32_SOC15(NBIO, 0, mmRCC_DEV0_EPF0_STRAP0); tmp 37 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c tmp &= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0_MASK; tmp 38 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c tmp >>= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0__SHIFT; tmp 40 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c return tmp; tmp 97 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c u32 tmp = 0; tmp 100 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c tmp = REG_SET_FIELD(tmp, BIF_BX_PF0_DOORBELL_SELFRING_GPA_APER_CNTL, DOORBELL_SELFRING_GPA_APER_EN, 1) | tmp 101 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c REG_SET_FIELD(tmp, BIF_BX_PF0_DOORBELL_SELFRING_GPA_APER_CNTL, DOORBELL_SELFRING_GPA_APER_MODE, 1) | tmp 102 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c REG_SET_FIELD(tmp, BIF_BX_PF0_DOORBELL_SELFRING_GPA_APER_CNTL, DOORBELL_SELFRING_GPA_APER_SIZE, 0); tmp 110 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c WREG32_SOC15(NBIO, 0, mmBIF_BX_PF0_DOORBELL_SELFRING_GPA_APER_CNTL, tmp); tmp 46 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c u32 tmp = RREG32_SOC15(NBIO, 0, mmRCC_DEV0_EPF0_STRAP0); tmp 48 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c tmp &= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0_MASK; tmp 49 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c tmp >>= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0__SHIFT; tmp 51 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c return tmp; tmp 63 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c u32 tmp = RREG32_SOC15(NBIO, 0, mmRCC_DEV0_EPF0_STRAP0); tmp 65 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c tmp &= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0_MASK; tmp 66 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c tmp >>= RCC_DEV0_EPF0_STRAP0__STRAP_ATI_REV_ID_DEV0_F0__SHIFT; tmp 68 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c return tmp; tmp 160 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c u32 tmp = 0; tmp 163 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c tmp = REG_SET_FIELD(tmp, DOORBELL_SELFRING_GPA_APER_CNTL, DOORBELL_SELFRING_GPA_APER_EN, 1) | tmp 164 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c REG_SET_FIELD(tmp, DOORBELL_SELFRING_GPA_APER_CNTL, DOORBELL_SELFRING_GPA_APER_MODE, 1) | tmp 165 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c REG_SET_FIELD(tmp, DOORBELL_SELFRING_GPA_APER_CNTL, DOORBELL_SELFRING_GPA_APER_SIZE, 0); tmp 173 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c WREG32_SOC15(NBIO, 0, mmDOORBELL_SELFRING_GPA_APER_CNTL, tmp); tmp 890 drivers/gpu/drm/amd/amdgpu/nv.c uint32_t tmp; tmp 898 drivers/gpu/drm/amd/amdgpu/nv.c tmp = RREG32_SOC15(HDP, 0, mmHDP_CLK_CNTL); tmp 899 drivers/gpu/drm/amd/amdgpu/nv.c if (!(tmp & (HDP_CLK_CNTL__IPH_MEM_CLK_SOFT_OVERRIDE_MASK | tmp 908 drivers/gpu/drm/amd/amdgpu/nv.c tmp = RREG32_SOC15(HDP, 0, mmHDP_MEM_POWER_CTRL); tmp 909 drivers/gpu/drm/amd/amdgpu/nv.c if (tmp & HDP_MEM_POWER_CTRL__IPH_MEM_POWER_LS_EN_MASK) tmp 911 drivers/gpu/drm/amd/amdgpu/nv.c else if (tmp & HDP_MEM_POWER_CTRL__IPH_MEM_POWER_DS_EN_MASK) tmp 913 drivers/gpu/drm/amd/amdgpu/nv.c else if (tmp & HDP_MEM_POWER_CTRL__IPH_MEM_POWER_SD_EN_MASK) tmp 338 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c uint32_t tmp; tmp 341 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c tmp = REG_SET_FIELD(0, IH_CLIENT_CFG_DATA, CREDIT_RETURN_ADDR, 0x1244b); tmp 342 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, CLIENT_TYPE, 1); tmp 343 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, RING_ID, 1); tmp 346 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); tmp 354 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c tmp = REG_SET_FIELD(0, IH_CLIENT_CFG_DATA, CREDIT_RETURN_ADDR, 0x1216b); tmp 355 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, RING_ID, 1); tmp 358 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); tmp 175 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c uint32_t tmp; tmp 178 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c tmp = REG_SET_FIELD(0, IH_CLIENT_CFG_DATA, CREDIT_RETURN_ADDR, 0x1244b); tmp 179 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, CLIENT_TYPE, 1); tmp 180 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, RING_ID, 1); tmp 183 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); tmp 191 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c tmp = REG_SET_FIELD(0, IH_CLIENT_CFG_DATA, CREDIT_RETURN_ADDR, 0x1216b); tmp 192 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, RING_ID, 1); tmp 195 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); tmp 267 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c uint32_t tmp; tmp 270 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c tmp = REG_SET_FIELD(0, IH_CLIENT_CFG_DATA, CREDIT_RETURN_ADDR, 0x1244b); tmp 271 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, CLIENT_TYPE, 1); tmp 272 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, RING_ID, 1); tmp 275 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); tmp 283 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c tmp = REG_SET_FIELD(0, IH_CLIENT_CFG_DATA, CREDIT_RETURN_ADDR, 0x1216b); tmp 284 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c tmp = REG_SET_FIELD(tmp, IH_CLIENT_CFG_DATA, RING_ID, 1); tmp 287 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_70, tmp); tmp 553 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c u32 tmp; tmp 561 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = 0xCAFEDEAD; tmp 562 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 577 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 578 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c if (tmp == 0xDEADBEEF) tmp 605 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c u32 tmp = 0; tmp 614 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = 0xCAFEDEAD; tmp 615 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 643 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 644 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c if (tmp == 0xDEADBEEF) tmp 937 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c u32 tmp = RREG32(mmSRBM_STATUS2); tmp 939 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c if (tmp & (SRBM_STATUS2__SDMA_BUSY_MASK | tmp 949 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c u32 tmp; tmp 953 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = RREG32(mmSRBM_STATUS2) & (SRBM_STATUS2__SDMA_BUSY_MASK | tmp 956 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c if (!tmp) tmp 967 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c u32 tmp = RREG32(mmSRBM_STATUS2); tmp 969 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c if (tmp & SRBM_STATUS2__SDMA_BUSY_MASK) { tmp 971 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = RREG32(mmSDMA0_F32_CNTL + SDMA0_REGISTER_OFFSET); tmp 972 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = REG_SET_FIELD(tmp, SDMA0_F32_CNTL, HALT, 0); tmp 973 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c WREG32(mmSDMA0_F32_CNTL + SDMA0_REGISTER_OFFSET, tmp); tmp 976 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c if (tmp & SRBM_STATUS2__SDMA1_BUSY_MASK) { tmp 978 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = RREG32(mmSDMA0_F32_CNTL + SDMA1_REGISTER_OFFSET); tmp 979 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = REG_SET_FIELD(tmp, SDMA0_F32_CNTL, HALT, 0); tmp 980 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c WREG32(mmSDMA0_F32_CNTL + SDMA1_REGISTER_OFFSET, tmp); tmp 985 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 986 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp |= srbm_soft_reset; tmp 987 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 988 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 989 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 993 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp &= ~srbm_soft_reset; tmp 994 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 995 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 825 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c u32 tmp; tmp 833 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = 0xCAFEDEAD; tmp 834 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 849 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 850 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (tmp == 0xDEADBEEF) tmp 877 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c u32 tmp = 0; tmp 886 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = 0xCAFEDEAD; tmp 887 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 915 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 916 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (tmp == 0xDEADBEEF) tmp 1222 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c u32 tmp = RREG32(mmSRBM_STATUS2); tmp 1224 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (tmp & (SRBM_STATUS2__SDMA_BUSY_MASK | tmp 1234 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c u32 tmp; tmp 1238 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = RREG32(mmSRBM_STATUS2) & (SRBM_STATUS2__SDMA_BUSY_MASK | tmp 1241 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if (!tmp) tmp 1252 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c u32 tmp = RREG32(mmSRBM_STATUS2); tmp 1254 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c if ((tmp & SRBM_STATUS2__SDMA_BUSY_MASK) || tmp 1255 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c (tmp & SRBM_STATUS2__SDMA1_BUSY_MASK)) { tmp 1311 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c u32 tmp; tmp 1319 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1320 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp |= srbm_soft_reset; tmp 1321 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1322 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1323 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1327 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp &= ~srbm_soft_reset; tmp 1328 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1329 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1378 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c u32 tmp; tmp 1386 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c tmp = 0xCAFEDEAD; tmp 1387 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 1402 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 1403 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (tmp == 0xDEADBEEF) tmp 1431 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c u32 tmp = 0; tmp 1439 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c tmp = 0xCAFEDEAD; tmp 1440 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 1468 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 1469 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (tmp == 0xDEADBEEF) tmp 1950 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c u32 tmp = RREG32_SDMA(i, mmSDMA0_STATUS_REG); tmp 1952 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (!(tmp & SDMA0_STATUS_REG__IDLE_MASK)) tmp 891 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c u32 tmp; tmp 901 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c tmp = 0xCAFEDEAD; tmp 902 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 920 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 921 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c if (tmp == 0xDEADBEEF) tmp 936 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ring->idx, tmp); tmp 959 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c u32 tmp = 0; tmp 969 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c tmp = 0xCAFEDEAD; tmp 970 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 1002 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 1003 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c if (tmp == 0xDEADBEEF) { tmp 1007 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c DRM_ERROR("amdgpu: ib test failed (0x%08X)\n", tmp); tmp 1327 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c u32 tmp = RREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_STATUS_REG)); tmp 1329 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c if (!(tmp & SDMA0_STATUS_REG__IDLE_MASK)) tmp 1217 drivers/gpu/drm/amd/amdgpu/si.c u32 tmp; tmp 1219 drivers/gpu/drm/amd/amdgpu/si.c tmp = RREG32(CG_CLKPIN_CNTL_2); tmp 1220 drivers/gpu/drm/amd/amdgpu/si.c if (tmp & MUX_TCLK_TO_XCLK) tmp 1223 drivers/gpu/drm/amd/amdgpu/si.c tmp = RREG32(CG_CLKPIN_CNTL); tmp 1224 drivers/gpu/drm/amd/amdgpu/si.c if (tmp & XTALIN_DIVIDE) tmp 1344 drivers/gpu/drm/amd/amdgpu/si.c int tmp; tmp 1376 drivers/gpu/drm/amd/amdgpu/si.c tmp = RREG32_PCIE(ixPCIE_PERF_CNTL_TXCLK); tmp 1377 drivers/gpu/drm/amd/amdgpu/si.c cnt0_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK, COUNTER0_UPPER); tmp 1378 drivers/gpu/drm/amd/amdgpu/si.c cnt1_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK, COUNTER1_UPPER); tmp 1683 drivers/gpu/drm/amd/amdgpu/si.c u32 max_lw, current_lw, tmp; tmp 1694 drivers/gpu/drm/amd/amdgpu/si.c tmp = RREG32_PCIE(PCIE_LC_STATUS1); tmp 1695 drivers/gpu/drm/amd/amdgpu/si.c max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; tmp 1696 drivers/gpu/drm/amd/amdgpu/si.c current_lw = (tmp & LC_OPERATING_LINK_WIDTH_MASK) >> LC_OPERATING_LINK_WIDTH_SHIFT; tmp 1699 drivers/gpu/drm/amd/amdgpu/si.c tmp = RREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL); tmp 1700 drivers/gpu/drm/amd/amdgpu/si.c if (tmp & LC_RENEGOTIATION_SUPPORT) { tmp 1701 drivers/gpu/drm/amd/amdgpu/si.c tmp &= ~(LC_LINK_WIDTH_MASK | LC_UPCONFIGURE_DIS); tmp 1702 drivers/gpu/drm/amd/amdgpu/si.c tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); tmp 1703 drivers/gpu/drm/amd/amdgpu/si.c tmp |= LC_UPCONFIGURE_SUPPORT | LC_RENEGOTIATE_EN | LC_RECONFIG_NOW; tmp 1704 drivers/gpu/drm/amd/amdgpu/si.c WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, tmp); tmp 1719 drivers/gpu/drm/amd/amdgpu/si.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 1720 drivers/gpu/drm/amd/amdgpu/si.c tmp |= LC_SET_QUIESCE; tmp 1721 drivers/gpu/drm/amd/amdgpu/si.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 1723 drivers/gpu/drm/amd/amdgpu/si.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 1724 drivers/gpu/drm/amd/amdgpu/si.c tmp |= LC_REDO_EQ; tmp 1725 drivers/gpu/drm/amd/amdgpu/si.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 1749 drivers/gpu/drm/amd/amdgpu/si.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 1750 drivers/gpu/drm/amd/amdgpu/si.c tmp &= ~LC_SET_QUIESCE; tmp 1751 drivers/gpu/drm/amd/amdgpu/si.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 208 drivers/gpu/drm/amd/amdgpu/si_dma.c u32 tmp; tmp 216 drivers/gpu/drm/amd/amdgpu/si_dma.c tmp = 0xCAFEDEAD; tmp 217 drivers/gpu/drm/amd/amdgpu/si_dma.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 230 drivers/gpu/drm/amd/amdgpu/si_dma.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 231 drivers/gpu/drm/amd/amdgpu/si_dma.c if (tmp == 0xDEADBEEF) tmp 258 drivers/gpu/drm/amd/amdgpu/si_dma.c u32 tmp = 0; tmp 267 drivers/gpu/drm/amd/amdgpu/si_dma.c tmp = 0xCAFEDEAD; tmp 268 drivers/gpu/drm/amd/amdgpu/si_dma.c adev->wb.wb[index] = cpu_to_le32(tmp); tmp 290 drivers/gpu/drm/amd/amdgpu/si_dma.c tmp = le32_to_cpu(adev->wb.wb[index]); tmp 291 drivers/gpu/drm/amd/amdgpu/si_dma.c if (tmp == 0xDEADBEEF) tmp 559 drivers/gpu/drm/amd/amdgpu/si_dma.c u32 tmp = RREG32(SRBM_STATUS2); tmp 561 drivers/gpu/drm/amd/amdgpu/si_dma.c if (tmp & (DMA_BUSY_MASK | DMA1_BUSY_MASK)) tmp 689 drivers/gpu/drm/amd/amdgpu/si_dma.c u32 tmp; tmp 696 drivers/gpu/drm/amd/amdgpu/si_dma.c for (tmp = 0; tmp < 5; tmp++) tmp 1868 drivers/gpu/drm/amd/amdgpu/si_dpm.c s64 tmp; tmp 1880 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = drm_fixp_mul(t_slope, vddc) + t_intercept; tmp 1881 drivers/gpu/drm/amd/amdgpu/si_dpm.c kt = drm_fixp_exp(drm_fixp_mul(tmp, temperature)); tmp 1882 drivers/gpu/drm/amd/amdgpu/si_dpm.c kt = drm_fixp_div(kt, drm_fixp_exp(drm_fixp_mul(tmp, t_ref))); tmp 2956 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 2991 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = ((fb_div << SMC_SISLANDS_SPLL_DIV_TABLE_FBDIV_SHIFT) & SMC_SISLANDS_SPLL_DIV_TABLE_FBDIV_MASK) | tmp 2993 drivers/gpu/drm/amd/amdgpu/si_dpm.c spll_table->freq[i] = cpu_to_be32(tmp); tmp 2995 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = ((clk_v << SMC_SISLANDS_SPLL_DIV_TABLE_CLKV_SHIFT) & SMC_SISLANDS_SPLL_DIV_TABLE_CLKV_MASK) | tmp 2997 drivers/gpu/drm/amd/amdgpu/si_dpm.c spll_table->ss[i] = cpu_to_be32(tmp); tmp 3344 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 3347 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = i_c >> p_b; tmp 3349 drivers/gpu/drm/amd/amdgpu/si_dpm.c while (tmp) { tmp 3351 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp >>= 1; tmp 3667 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp, width, row, column, bank, density; tmp 3670 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(MC_SEQ_MISC0); tmp 3671 drivers/gpu/drm/amd/amdgpu/si_dpm.c is_memory_gddr5 = (MC_SEQ_MISC0_GDDR5_VALUE == ((tmp & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT)); tmp 3672 drivers/gpu/drm/amd/amdgpu/si_dpm.c is_special = (MC_SEQ_MISC0_REV_ID_VALUE == ((tmp & MC_SEQ_MISC0_REV_ID_MASK) >> MC_SEQ_MISC0_REV_ID_SHIFT)) tmp 3673 drivers/gpu/drm/amd/amdgpu/si_dpm.c & (MC_SEQ_MISC0_VEN_ID_VALUE == ((tmp & MC_SEQ_MISC0_VEN_ID_MASK) >> MC_SEQ_MISC0_VEN_ID_SHIFT)); tmp 3678 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(MC_ARB_RAMCFG); tmp 3679 drivers/gpu/drm/amd/amdgpu/si_dpm.c row = ((tmp & NOOFROWS_MASK) >> NOOFROWS_SHIFT) + 10; tmp 3680 drivers/gpu/drm/amd/amdgpu/si_dpm.c column = ((tmp & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT) + 8; tmp 3681 drivers/gpu/drm/amd/amdgpu/si_dpm.c bank = ((tmp & NOOFBANK_MASK) >> NOOFBANK_SHIFT) + 2; tmp 3941 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 3947 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 3951 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->state_table_start = tmp; tmp 3956 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 3960 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->soft_regs_start = tmp; tmp 3965 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 3969 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->mc_reg_table_start = tmp; tmp 3974 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 3978 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->fan_table_start = tmp; tmp 3983 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 3987 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->arb_table_start = tmp; tmp 3992 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 3996 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->cac_table_start = tmp; tmp 4001 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 4005 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->dte_table_start = tmp; tmp 4010 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 4014 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->spll_table_start = tmp; tmp 4019 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 4023 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->papm_cfg_table_start = tmp; tmp 4132 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 4136 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = 0x10; tmp 4138 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = 0x1; tmp 4141 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32_P(MISC_CLK_CNTL, DEEP_SLEEP_CLK_SEL(tmp), ~DEEP_SLEEP_CLK_SEL_MASK); tmp 4149 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp, pipe; tmp 4152 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_DISPLAY_GAP_CNTL) & ~(DISP1_GAP_MASK | DISP2_GAP_MASK); tmp 4154 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= DISP1_GAP(R600_PM_DISPLAY_GAP_VBLANK_OR_WM); tmp 4156 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= DISP1_GAP(R600_PM_DISPLAY_GAP_IGNORE); tmp 4159 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= DISP2_GAP(R600_PM_DISPLAY_GAP_VBLANK_OR_WM); tmp 4161 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= DISP2_GAP(R600_PM_DISPLAY_GAP_IGNORE); tmp 4163 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 4165 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(DCCG_DISP_SLOW_SELECT_REG); tmp 4166 drivers/gpu/drm/amd/amdgpu/si_dpm.c pipe = (tmp & DCCG_DISP1_SLOW_SELECT_MASK) >> DCCG_DISP1_SLOW_SELECT_SHIFT; tmp 4180 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp &= ~DCCG_DISP1_SLOW_SELECT_MASK; tmp 4181 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= DCCG_DISP1_SLOW_SELECT(pipe); tmp 4182 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(DCCG_DISP_SLOW_SELECT_REG, tmp); tmp 4266 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp = RREG32(CG_DISPLAY_GAP_CNTL); tmp 4268 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp &= ~(DISP1_GAP_MASK | DISP2_GAP_MASK); tmp 4269 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= (DISP1_GAP(R600_PM_DISPLAY_GAP_IGNORE) | tmp 4272 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp &= ~(DISP1_GAP_MCHG_MASK | DISP2_GAP_MCHG_MASK); tmp 4273 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= (DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_VBLANK) | tmp 4275 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 4693 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 4697 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 4701 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp &= 0x00FFFFFF; tmp 4702 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= MC_CG_ARB_FREQ_F1 << 24; tmp 4705 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp, si_pi->sram_end); tmp 4722 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 4726 drivers/gpu/drm/amd/amdgpu/si_dpm.c &tmp, si_pi->sram_end); tmp 4730 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = (tmp >> 24) & 0xff; tmp 4732 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (tmp == MC_CG_ARB_FREQ_F0) tmp 4735 drivers/gpu/drm/amd/amdgpu/si_dpm.c return ni_copy_and_switch_arb_sets(adev, tmp, MC_CG_ARB_FREQ_F0); tmp 4744 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp = (RREG32(MC_ARB_RAMCFG) & NOOFROWS_MASK) >> NOOFROWS_SHIFT; tmp 4746 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (tmp >= 4) tmp 4749 drivers/gpu/drm/amd/amdgpu/si_dpm.c dram_rows = 1 << (tmp + 10); tmp 5257 drivers/gpu/drm/amd/amdgpu/si_dpm.c u64 tmp; tmp 5270 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; tmp 5271 drivers/gpu/drm/amd/amdgpu/si_dpm.c do_div(tmp, reference_clock); tmp 5272 drivers/gpu/drm/amd/amdgpu/si_dpm.c fbdiv = (u32) tmp; tmp 5379 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 5387 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = freq_nom / reference_clock; tmp 5388 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = tmp * tmp; tmp 5392 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 clkv = (u32)((((131 * ss.percentage * ss.rate) / 100) * tmp) / freq_nom); tmp 6446 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 6449 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; tmp 6450 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->fan_ctrl_default_mode = tmp; tmp 6451 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; tmp 6452 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->t_min = tmp; tmp 6456 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; tmp 6457 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= TMIN(0); tmp 6458 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 6460 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; tmp 6461 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= FDO_PWM_MODE(mode); tmp 6462 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 6472 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 reference_clock, tmp; tmp 6517 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = (RREG32(CG_MULT_THERMAL_CTRL) & TEMP_SEL_MASK) >> TEMP_SEL_SHIFT; tmp 6518 drivers/gpu/drm/amd/amdgpu/si_dpm.c fan_table.temp_src = (uint8_t)tmp; tmp 6594 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 6616 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_FDO_CTRL0) & ~FDO_STATIC_DUTY_MASK; tmp 6617 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= FDO_STATIC_DUTY(duty); tmp 6618 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_FDO_CTRL0, tmp); tmp 6645 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 6650 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; tmp 6651 drivers/gpu/drm/amd/amdgpu/si_dpm.c return (tmp >> FDO_PWM_MODE_SHIFT); tmp 6679 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tach_period, tmp; tmp 6696 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_TACH_CTRL) & ~TARGET_PERIOD_MASK; tmp 6697 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= TARGET_PERIOD(tach_period); tmp 6698 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_TACH_CTRL, tmp); tmp 6709 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 6712 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; tmp 6713 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= FDO_PWM_MODE(si_pi->fan_ctrl_default_mode); tmp 6714 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 6716 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; tmp 6717 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= TMIN(si_pi->t_min); tmp 6718 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 6733 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 tmp; tmp 6736 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_TACH_CTRL) & ~EDGE_PER_REV_MASK; tmp 6737 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= EDGE_PER_REV(adev->pm.fan_pulses_per_revolution -1); tmp 6738 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_TACH_CTRL, tmp); tmp 6741 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~TACH_PWM_RESP_RATE_MASK; tmp 6742 drivers/gpu/drm/amd/amdgpu/si_dpm.c tmp |= TACH_PWM_RESP_RATE(0x28); tmp 6743 drivers/gpu/drm/amd/amdgpu/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 108 drivers/gpu/drm/amd/amdgpu/si_ih.c u32 wptr, tmp; tmp 117 drivers/gpu/drm/amd/amdgpu/si_ih.c tmp = RREG32(IH_RB_CNTL); tmp 118 drivers/gpu/drm/amd/amdgpu/si_ih.c tmp |= IH_RB_CNTL__WPTR_OVERFLOW_CLEAR_MASK; tmp 119 drivers/gpu/drm/amd/amdgpu/si_ih.c WREG32(IH_RB_CNTL, tmp); tmp 215 drivers/gpu/drm/amd/amdgpu/si_ih.c u32 tmp = RREG32(SRBM_STATUS); tmp 217 drivers/gpu/drm/amd/amdgpu/si_ih.c if (tmp & SRBM_STATUS__IH_BUSY_MASK) tmp 241 drivers/gpu/drm/amd/amdgpu/si_ih.c u32 tmp = RREG32(SRBM_STATUS); tmp 243 drivers/gpu/drm/amd/amdgpu/si_ih.c if (tmp & SRBM_STATUS__IH_BUSY_MASK) tmp 247 drivers/gpu/drm/amd/amdgpu/si_ih.c tmp = RREG32(SRBM_SOFT_RESET); tmp 248 drivers/gpu/drm/amd/amdgpu/si_ih.c tmp |= srbm_soft_reset; tmp 249 drivers/gpu/drm/amd/amdgpu/si_ih.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 250 drivers/gpu/drm/amd/amdgpu/si_ih.c WREG32(SRBM_SOFT_RESET, tmp); tmp 251 drivers/gpu/drm/amd/amdgpu/si_ih.c tmp = RREG32(SRBM_SOFT_RESET); tmp 255 drivers/gpu/drm/amd/amdgpu/si_ih.c tmp &= ~srbm_soft_reset; tmp 256 drivers/gpu/drm/amd/amdgpu/si_ih.c WREG32(SRBM_SOFT_RESET, tmp); tmp 257 drivers/gpu/drm/amd/amdgpu/si_ih.c tmp = RREG32(SRBM_SOFT_RESET); tmp 113 drivers/gpu/drm/amd/amdgpu/si_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); tmp 115 drivers/gpu/drm/amd/amdgpu/si_smc.c tmp &= ~RST_REG; tmp 117 drivers/gpu/drm/amd/amdgpu/si_smc.c WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); tmp 122 drivers/gpu/drm/amd/amdgpu/si_smc.c u32 tmp; tmp 129 drivers/gpu/drm/amd/amdgpu/si_smc.c tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL) | tmp 131 drivers/gpu/drm/amd/amdgpu/si_smc.c WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); tmp 143 drivers/gpu/drm/amd/amdgpu/si_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); tmp 146 drivers/gpu/drm/amd/amdgpu/si_smc.c tmp &= ~CK_DISABLE; tmp 148 drivers/gpu/drm/amd/amdgpu/si_smc.c tmp |= CK_DISABLE; tmp 150 drivers/gpu/drm/amd/amdgpu/si_smc.c WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); tmp 167 drivers/gpu/drm/amd/amdgpu/si_smc.c u32 tmp; tmp 176 drivers/gpu/drm/amd/amdgpu/si_smc.c tmp = RREG32(SMC_RESP_0); tmp 177 drivers/gpu/drm/amd/amdgpu/si_smc.c if (tmp != 0) tmp 187 drivers/gpu/drm/amd/amdgpu/si_smc.c u32 tmp; tmp 194 drivers/gpu/drm/amd/amdgpu/si_smc.c tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); tmp 195 drivers/gpu/drm/amd/amdgpu/si_smc.c if ((tmp & CKEN) == 0) tmp 441 drivers/gpu/drm/amd/amdgpu/soc15.c u32 tmp, reg; tmp 449 drivers/gpu/drm/amd/amdgpu/soc15.c tmp = entry->or_mask; tmp 451 drivers/gpu/drm/amd/amdgpu/soc15.c tmp = RREG32(reg); tmp 452 drivers/gpu/drm/amd/amdgpu/soc15.c tmp &= ~(entry->and_mask); tmp 453 drivers/gpu/drm/amd/amdgpu/soc15.c tmp |= (entry->or_mask & entry->and_mask); tmp 460 drivers/gpu/drm/amd/amdgpu/soc15.c WREG32_RLC(reg, tmp); tmp 462 drivers/gpu/drm/amd/amdgpu/soc15.c WREG32(reg, tmp); tmp 837 drivers/gpu/drm/amd/amdgpu/soc15.c int tmp; tmp 870 drivers/gpu/drm/amd/amdgpu/soc15.c tmp = RREG32_PCIE(smnPCIE_PERF_CNTL_TXCLK); tmp 871 drivers/gpu/drm/amd/amdgpu/soc15.c cnt0_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK, COUNTER0_UPPER); tmp 872 drivers/gpu/drm/amd/amdgpu/soc15.c cnt1_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK, COUNTER1_UPPER); tmp 884 drivers/gpu/drm/amd/amdgpu/soc15.c int tmp; tmp 919 drivers/gpu/drm/amd/amdgpu/soc15.c tmp = RREG32_PCIE(smnPCIE_PERF_CNTL_TXCLK3); tmp 920 drivers/gpu/drm/amd/amdgpu/soc15.c cnt0_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK3, COUNTER0_UPPER); tmp 921 drivers/gpu/drm/amd/amdgpu/soc15.c cnt1_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK3, COUNTER1_UPPER); tmp 86 drivers/gpu/drm/amd/amdgpu/soc15_common.h u32 tmp = RREG32(r1); \ tmp 87 drivers/gpu/drm/amd/amdgpu/soc15_common.h if (!(tmp & 0x80000000)) \ tmp 194 drivers/gpu/drm/amd/amdgpu/tonga_ih.c u32 wptr, tmp; tmp 207 drivers/gpu/drm/amd/amdgpu/tonga_ih.c tmp = RREG32(mmIH_RB_CNTL); tmp 208 drivers/gpu/drm/amd/amdgpu/tonga_ih.c tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, WPTR_OVERFLOW_CLEAR, 1); tmp 209 drivers/gpu/drm/amd/amdgpu/tonga_ih.c WREG32(mmIH_RB_CNTL, tmp); tmp 345 drivers/gpu/drm/amd/amdgpu/tonga_ih.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 347 drivers/gpu/drm/amd/amdgpu/tonga_ih.c if (REG_GET_FIELD(tmp, SRBM_STATUS, IH_BUSY)) tmp 356 drivers/gpu/drm/amd/amdgpu/tonga_ih.c u32 tmp; tmp 361 drivers/gpu/drm/amd/amdgpu/tonga_ih.c tmp = RREG32(mmSRBM_STATUS); tmp 362 drivers/gpu/drm/amd/amdgpu/tonga_ih.c if (!REG_GET_FIELD(tmp, SRBM_STATUS, IH_BUSY)) tmp 373 drivers/gpu/drm/amd/amdgpu/tonga_ih.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 375 drivers/gpu/drm/amd/amdgpu/tonga_ih.c if (tmp & SRBM_STATUS__IH_BUSY_MASK) tmp 418 drivers/gpu/drm/amd/amdgpu/tonga_ih.c u32 tmp; tmp 420 drivers/gpu/drm/amd/amdgpu/tonga_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 421 drivers/gpu/drm/amd/amdgpu/tonga_ih.c tmp |= srbm_soft_reset; tmp 422 drivers/gpu/drm/amd/amdgpu/tonga_ih.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 423 drivers/gpu/drm/amd/amdgpu/tonga_ih.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 424 drivers/gpu/drm/amd/amdgpu/tonga_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 428 drivers/gpu/drm/amd/amdgpu/tonga_ih.c tmp &= ~srbm_soft_reset; tmp 429 drivers/gpu/drm/amd/amdgpu/tonga_ih.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 430 drivers/gpu/drm/amd/amdgpu/tonga_ih.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 159 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c uint32_t tmp; tmp 175 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp = PACKET0(mmUVD_SEMA_WAIT_FAULT_TIMEOUT_CNTL, 0); tmp 176 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c amdgpu_ring_write(ring, tmp); tmp 179 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp = PACKET0(mmUVD_SEMA_WAIT_INCOMPLETE_TIMEOUT_CNTL, 0); tmp 180 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c amdgpu_ring_write(ring, tmp); tmp 183 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp = PACKET0(mmUVD_SEMA_SIGNAL_INCOMPLETE_TIMEOUT_CNTL, 0); tmp 184 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c amdgpu_ring_write(ring, tmp); tmp 259 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c u32 tmp; tmp 290 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp = RREG32(mmUVD_MPC_CNTL); tmp 291 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c WREG32(mmUVD_MPC_CNTL, tmp | 0x10); tmp 302 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp = RREG32_UVD_CTX(ixUVD_LMI_CACHE_CTRL); tmp 303 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c WREG32_UVD_CTX(ixUVD_LMI_CACHE_CTRL, tmp & (~0x10)); tmp 478 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c uint32_t tmp = 0; tmp 491 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp = RREG32(mmUVD_CONTEXT_ID); tmp 492 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c if (tmp == 0xDEADBEEF) tmp 605 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c u32 tmp, tmp2; tmp 609 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp = RREG32(mmUVD_CGC_CTRL); tmp 610 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp &= ~(UVD_CGC_CTRL__CLK_OFF_DELAY_MASK | UVD_CGC_CTRL__CLK_GATE_DLY_TIMER_MASK); tmp 611 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp |= UVD_CGC_CTRL__DYN_CLOCK_MODE_MASK | tmp 616 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp &= ~0x7ffff800; tmp 621 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c tmp |= 0x7ffff800; tmp 625 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c WREG32(mmUVD_CGC_CTRL, tmp); tmp 155 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c uint32_t tmp; tmp 172 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = PACKET0(mmUVD_SEMA_WAIT_FAULT_TIMEOUT_CNTL, 0); tmp 173 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c amdgpu_ring_write(ring, tmp); tmp 176 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = PACKET0(mmUVD_SEMA_WAIT_INCOMPLETE_TIMEOUT_CNTL, 0); tmp 177 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c amdgpu_ring_write(ring, tmp); tmp 180 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = PACKET0(mmUVD_SEMA_SIGNAL_INCOMPLETE_TIMEOUT_CNTL, 0); tmp 181 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c amdgpu_ring_write(ring, tmp); tmp 295 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c uint32_t rb_bufsz, tmp; tmp 393 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = 0; tmp 394 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); tmp 395 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BLKSZ, 1); tmp 396 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 397 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_WPTR_POLL_EN, 0); tmp 398 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_UPDATE, 1); tmp 399 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_RPTR_WR_EN, 1); tmp 401 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c WREG32(mmUVD_RBC_RB_CNTL, tmp); tmp 495 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c uint32_t tmp = 0; tmp 507 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c tmp = RREG32(mmUVD_CONTEXT_ID); tmp 508 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c if (tmp == 0xDEADBEEF) tmp 470 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c uint32_t tmp; tmp 487 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = PACKET0(mmUVD_SEMA_WAIT_FAULT_TIMEOUT_CNTL, 0); tmp 488 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c amdgpu_ring_write(ring, tmp); tmp 491 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = PACKET0(mmUVD_SEMA_WAIT_INCOMPLETE_TIMEOUT_CNTL, 0); tmp 492 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c amdgpu_ring_write(ring, tmp); tmp 495 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = PACKET0(mmUVD_SEMA_SIGNAL_INCOMPLETE_TIMEOUT_CNTL, 0); tmp 496 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c amdgpu_ring_write(ring, tmp); tmp 702 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c uint32_t rb_bufsz, tmp; tmp 812 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); tmp 813 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BLKSZ, 1); tmp 814 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 815 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_WPTR_POLL_EN, 0); tmp 816 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_UPDATE, 1); tmp 817 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_RPTR_WR_EN, 1); tmp 818 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c WREG32(mmUVD_RBC_RB_CNTL, tmp); tmp 958 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c uint32_t tmp = 0; tmp 971 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = RREG32(mmUVD_CONTEXT_ID); tmp 972 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c if (tmp == 0xDEADBEEF) tmp 1137 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 1139 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c if (REG_GET_FIELD(tmp, SRBM_STATUS, UVD_RQ_PENDING) || tmp 1140 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c REG_GET_FIELD(tmp, SRBM_STATUS, UVD_BUSY) || tmp 1174 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c u32 tmp; tmp 1176 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1177 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp |= srbm_soft_reset; tmp 1178 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1179 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1180 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1184 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp &= ~srbm_soft_reset; tmp 1185 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1186 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 524 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uint32_t tmp; tmp 550 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = PACKET0(SOC15_REG_OFFSET(UVD, j, tmp 552 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c amdgpu_ring_write(ring, tmp); tmp 555 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = PACKET0(SOC15_REG_OFFSET(UVD, j, tmp 557 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c amdgpu_ring_write(ring, tmp); tmp 560 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = PACKET0(SOC15_REG_OFFSET(UVD, j, tmp 562 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c amdgpu_ring_write(ring, tmp); tmp 767 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uint32_t offset, size, tmp; tmp 895 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, size); tmp 896 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 897 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c MMSCH_V1_0_INSERT_DIRECT_WT(SOC15_REG_OFFSET(UVD, i, mmUVD_RBC_RB_CNTL), tmp); tmp 933 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uint32_t rb_bufsz, tmp; tmp 1062 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); tmp 1063 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BLKSZ, 1); tmp 1064 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 1065 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_WPTR_POLL_EN, 0); tmp 1066 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_UPDATE, 1); tmp 1067 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_RPTR_WR_EN, 1); tmp 1068 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c WREG32_SOC15(UVD, k, mmUVD_RBC_RB_CNTL, tmp); tmp 1227 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c uint32_t tmp = 0; tmp 1241 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = RREG32_SOC15(UVD, ring->me, mmUVD_CONTEXT_ID); tmp 1242 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c if (tmp == 0xDEADBEEF) tmp 1458 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c u32 tmp = RREG32(mmSRBM_STATUS); tmp 1460 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c if (REG_GET_FIELD(tmp, SRBM_STATUS, UVD_RQ_PENDING) || tmp 1461 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c REG_GET_FIELD(tmp, SRBM_STATUS, UVD_BUSY) || tmp 1497 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c u32 tmp; tmp 1499 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1500 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp |= srbm_soft_reset; tmp 1501 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1502 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1503 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1507 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp &= ~srbm_soft_reset; tmp 1508 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 1509 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 1680 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c u32 tmp = RREG32_SMC(ixGCK_DFS_BYPASS_CNTL); tmp 1683 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp |= (GCK_DFS_BYPASS_CNTL__BYPASSDCLK_MASK | tmp 1686 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c tmp &= ~(GCK_DFS_BYPASS_CNTL__BYPASSDCLK_MASK | tmp 1689 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c WREG32_SMC(ixGCK_DFS_BYPASS_CNTL, tmp); tmp 149 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c u32 tmp; tmp 151 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_CLOCK_GATING_A); tmp 152 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0xfff; tmp 153 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= ((0 << 0) | (4 << 4)); tmp 154 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0x40000; tmp 155 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_CLOCK_GATING_A, tmp); tmp 157 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_UENC_CLOCK_GATING); tmp 158 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0xfff; tmp 159 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= ((0 << 0) | (4 << 4)); tmp 160 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_UENC_CLOCK_GATING, tmp); tmp 162 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_CLOCK_GATING_B); tmp 163 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0x10; tmp 164 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0x100000; tmp 165 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_CLOCK_GATING_B, tmp); tmp 312 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c u32 tmp; tmp 315 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_CLOCK_GATING_B); tmp 316 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0xe70000; tmp 317 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_CLOCK_GATING_B, tmp); tmp 319 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_UENC_CLOCK_GATING); tmp 320 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0xff000000; tmp 321 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_UENC_CLOCK_GATING, tmp); tmp 323 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_UENC_REG_CLOCK_GATING); tmp 324 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0x3fc; tmp 325 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_UENC_REG_CLOCK_GATING, tmp); tmp 329 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_CLOCK_GATING_B); tmp 330 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0xe7; tmp 331 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0xe70000; tmp 332 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_CLOCK_GATING_B, tmp); tmp 334 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_UENC_CLOCK_GATING); tmp 335 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0x1fe000; tmp 336 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0xff000000; tmp 337 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_UENC_CLOCK_GATING, tmp); tmp 339 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_UENC_REG_CLOCK_GATING); tmp 340 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0x3fc; tmp 341 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_UENC_REG_CLOCK_GATING, tmp); tmp 347 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c u32 orig, tmp; tmp 352 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp = RREG32(mmVCE_CLOCK_GATING_B); tmp 353 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0x00060006; tmp 357 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0xe10000; tmp 358 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_CLOCK_GATING_B, tmp); tmp 360 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp |= 0xe1; tmp 361 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0xe10000; tmp 362 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_CLOCK_GATING_B, tmp); tmp 365 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c orig = tmp = RREG32(mmVCE_UENC_CLOCK_GATING); tmp 366 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0x1fe000; tmp 367 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0xff000000; tmp 368 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c if (tmp != orig) tmp 369 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_UENC_CLOCK_GATING, tmp); tmp 371 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c orig = tmp = RREG32(mmVCE_UENC_REG_CLOCK_GATING); tmp 372 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c tmp &= ~0x3fc; tmp 373 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c if (tmp != orig) tmp 374 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c WREG32(mmVCE_UENC_REG_CLOCK_GATING, tmp); tmp 366 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c u32 tmp; tmp 373 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c tmp = (RREG32_SMC(ixVCE_HARVEST_FUSE_MACRO__ADDRESS) & tmp 377 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c tmp = (RREG32_SMC(ixCC_HARVEST_FUSES) & tmp 381 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c switch (tmp) { tmp 655 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c u32 tmp; tmp 657 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 658 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c tmp |= srbm_soft_reset; tmp 659 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 660 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 661 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 665 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c tmp &= ~srbm_soft_reset; tmp 666 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 667 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 747 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c u32 tmp; tmp 749 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 750 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c tmp |= srbm_soft_reset; tmp 751 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c dev_info(adev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 752 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 753 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 757 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c tmp &= ~srbm_soft_reset; tmp 758 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c WREG32(mmSRBM_SOFT_RESET, tmp); tmp 759 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c tmp = RREG32(mmSRBM_SOFT_RESET); tmp 795 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c u32 tmp, data; tmp 797 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c tmp = data = RREG32(SOC15_REG_OFFSET(VCE, 0, mmVCE_RB_ARB_CTRL)); tmp 803 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c if (tmp != data) tmp 876 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c u32 tmp = RREG32_SMC(ixGCK_DFS_BYPASS_CNTL); tmp 879 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c tmp |= GCK_DFS_BYPASS_CNTL__BYPASSECLK_MASK; tmp 881 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c tmp &= ~GCK_DFS_BYPASS_CNTL__BYPASSECLK_MASK; tmp 883 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c WREG32_SMC(ixGCK_DFS_BYPASS_CNTL, tmp); tmp 785 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c uint32_t rb_bufsz, tmp; tmp 794 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY; tmp 795 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); tmp 805 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_LMI_CTRL); tmp 806 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15(UVD, 0, mmUVD_LMI_CTRL, tmp | tmp 818 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_MPC_CNTL); tmp 819 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp &= ~UVD_MPC_CNTL__REPLACEMENT_MODE_MASK; tmp 820 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp |= 0x2 << UVD_MPC_CNTL__REPLACEMENT_MODE__SHIFT; tmp 821 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15(UVD, 0, mmUVD_MPC_CNTL, tmp); tmp 857 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_SOFT_RESET); tmp 858 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp &= ~UVD_SOFT_RESET__LMI_SOFT_RESET_MASK; tmp 859 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp &= ~UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK; tmp 860 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15(UVD, 0, mmUVD_SOFT_RESET, tmp); tmp 900 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_STATUS) & ~UVD_STATUS__UVD_BUSY; tmp 901 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); tmp 905 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); tmp 906 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BLKSZ, 1); tmp 907 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 908 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_UPDATE, 1); tmp 909 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_RPTR_WR_EN, 1); tmp 910 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15(UVD, 0, mmUVD_RBC_RB_CNTL, tmp); tmp 974 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c uint32_t rb_bufsz, tmp; tmp 983 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_POWER_STATUS); tmp 984 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp |= UVD_POWER_STATUS__UVD_PG_MODE_MASK; tmp 985 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp |= UVD_POWER_STATUS__UVD_PG_EN_MASK; tmp 986 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15(UVD, 0, mmUVD_POWER_STATUS, tmp); tmp 992 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = (0xFF << UVD_VCPU_CNTL__PRB_TIMEOUT_VAL__SHIFT); tmp 993 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp |= UVD_VCPU_CNTL__CLK_EN_MASK; tmp 994 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp |= UVD_VCPU_CNTL__MIF_WR_LOW_THRESHOLD_BP_MASK; tmp 995 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15_DPG_MODE(UVD, 0, mmUVD_VCPU_CNTL, tmp, 0xFFFFFFFF, 0); tmp 1067 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = adev->gfx.config.gb_addr_config; tmp 1069 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15_DPG_MODE(UVD, 0, mmUVD_JPEG_ADDR_CONFIG, tmp, 0xFFFFFFFF, 1); tmp 1070 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15_DPG_MODE(UVD, 0, mmUVD_JPEG_UV_ADDR_CONFIG, tmp, 0xFFFFFFFF, 1); tmp 1078 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); tmp 1079 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BLKSZ, 1); tmp 1080 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 1081 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_UPDATE, 1); tmp 1082 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_RPTR_WR_EN, 1); tmp 1083 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c WREG32_SOC15(UVD, 0, mmUVD_RBC_RB_CNTL, tmp); tmp 1141 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c int ret_code, tmp; tmp 1145 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = UVD_LMI_STATUS__VCPU_LMI_WRITE_CLEAN_MASK | tmp 1149 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_LMI_STATUS, tmp, tmp, ret_code); tmp 1156 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = UVD_LMI_STATUS__UMC_READ_CLEAN_RAW_MASK | tmp 1158 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_LMI_STATUS, tmp, tmp, ret_code); tmp 1183 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c uint32_t tmp; tmp 1191 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_RB_WPTR); tmp 1192 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_RB_RPTR, tmp, 0xFFFFFFFF, ret_code); tmp 1194 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_RB_WPTR2); tmp 1195 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_RB_RPTR2, tmp, 0xFFFFFFFF, ret_code); tmp 1197 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_JRBC_RB_WPTR); tmp 1198 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_JRBC_RB_RPTR, tmp, 0xFFFFFFFF, ret_code); tmp 1200 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_RBC_RB_WPTR) & 0x7FFFFFFF; tmp 1201 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_RBC_RB_RPTR, tmp, 0xFFFFFFFF, ret_code); tmp 669 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c uint32_t tmp; tmp 673 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = 1 << UVD_PGFSM_CONFIG__UVDJ_PWR_CONFIG__SHIFT; tmp 674 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32(SOC15_REG_OFFSET(UVD, 0, mmUVD_PGFSM_CONFIG), tmp); tmp 686 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32(SOC15_REG_OFFSET(UVD, 0, mmUVD_JPEG_POWER_STATUS)) & ~0x1; tmp 687 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32(SOC15_REG_OFFSET(UVD, 0, mmUVD_JPEG_POWER_STATUS), tmp); tmp 690 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(VCN, 0, mmJPEG_CGC_CTRL); tmp 691 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= 1 << JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT; tmp 692 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= 1 << JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT; tmp 693 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= 4 << JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT; tmp 694 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(VCN, 0, mmJPEG_CGC_CTRL, tmp); tmp 696 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(VCN, 0, mmJPEG_CGC_GATE); tmp 697 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp &= ~(JPEG_CGC_GATE__JPEG_DEC_MASK tmp 702 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(VCN, 0, mmJPEG_CGC_GATE, tmp); tmp 737 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c uint32_t tmp; tmp 746 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(VCN, 0, mmJPEG_CGC_CTRL); tmp 747 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= 1 << JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT; tmp 748 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= 1 << JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT; tmp 749 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= 4 << JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT; tmp 750 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(VCN, 0, mmJPEG_CGC_CTRL, tmp); tmp 753 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(VCN, 0, mmJPEG_CGC_GATE); tmp 754 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= (JPEG_CGC_GATE__JPEG_DEC_MASK tmp 759 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(VCN, 0, mmJPEG_CGC_GATE, tmp); tmp 762 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32(SOC15_REG_OFFSET(UVD, 0, mmUVD_JPEG_POWER_STATUS)); tmp 763 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp &= ~UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_MASK; tmp 764 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= 0x1; //UVD_JPEG_POWER_STATUS__JPEG_POWER_STATUS_TILES_OFF; tmp 765 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32(SOC15_REG_OFFSET(UVD, 0, mmUVD_JPEG_POWER_STATUS), tmp); tmp 767 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = 2 << UVD_PGFSM_CONFIG__UVDJ_PWR_CONFIG__SHIFT; tmp 768 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32(SOC15_REG_OFFSET(UVD, 0, mmUVD_PGFSM_CONFIG), tmp); tmp 931 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c uint32_t rb_bufsz, tmp; tmp 936 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_POWER_STATUS); tmp 937 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= UVD_POWER_STATUS__UVD_PG_MODE_MASK; tmp 938 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= UVD_POWER_STATUS__UVD_PG_EN_MASK; tmp 939 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(UVD, 0, mmUVD_POWER_STATUS, tmp); tmp 948 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = (0xFF << UVD_VCPU_CNTL__PRB_TIMEOUT_VAL__SHIFT); tmp 949 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= UVD_VCPU_CNTL__CLK_EN_MASK; tmp 950 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= UVD_VCPU_CNTL__MIF_WR_LOW_THRESHOLD_BP_MASK; tmp 952 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c UVD, 0, mmUVD_VCPU_CNTL), tmp, 0, indirect); tmp 959 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = (UVD_LMI_CTRL__WRITE_CLEAN_TIMER_EN_MASK | tmp 968 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c UVD, 0, mmUVD_LMI_CTRL), tmp, 0, indirect); tmp 1022 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); tmp 1023 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BLKSZ, 1); tmp 1024 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 1025 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_UPDATE, 1); tmp 1026 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_RPTR_WR_EN, 1); tmp 1027 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(UVD, 0, mmUVD_RBC_RB_CNTL, tmp); tmp 1057 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c uint32_t rb_bufsz, tmp; tmp 1074 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY; tmp 1075 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); tmp 1089 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_LMI_CTRL); tmp 1090 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(UVD, 0, mmUVD_LMI_CTRL, tmp | tmp 1097 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_MPC_CNTL); tmp 1098 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp &= ~UVD_MPC_CNTL__REPLACEMENT_MODE_MASK; tmp 1099 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= 0x2 << UVD_MPC_CNTL__REPLACEMENT_MODE__SHIFT; tmp 1100 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(VCN, 0, mmUVD_MPC_CNTL, tmp); tmp 1132 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(VCN, 0, mmUVD_SOFT_RESET); tmp 1133 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp &= ~UVD_SOFT_RESET__LMI_SOFT_RESET_MASK; tmp 1134 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp &= ~UVD_SOFT_RESET__LMI_UMC_SOFT_RESET_MASK; tmp 1135 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(VCN, 0, mmUVD_SOFT_RESET, tmp); tmp 1187 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); tmp 1188 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BLKSZ, 1); tmp 1189 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 1190 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_UPDATE, 1); tmp 1191 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_RPTR_WR_EN, 1); tmp 1192 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(UVD, 0, mmUVD_RBC_RB_CNTL, tmp); tmp 1230 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c uint32_t tmp; tmp 1237 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_RB_WPTR); tmp 1238 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_RB_RPTR, tmp, 0xFFFFFFFF, ret_code); tmp 1240 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_RB_WPTR2); tmp 1241 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_RB_RPTR2, tmp, 0xFFFFFFFF, ret_code); tmp 1243 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_JRBC_RB_WPTR); tmp 1244 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_JRBC_RB_RPTR, tmp, 0xFFFFFFFF, ret_code); tmp 1246 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(UVD, 0, mmUVD_RBC_RB_WPTR) & 0x7FFFFFFF; tmp 1247 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_RBC_RB_RPTR, tmp, 0xFFFFFFFF, ret_code); tmp 1261 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c uint32_t tmp; tmp 1280 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = UVD_LMI_STATUS__VCPU_LMI_WRITE_CLEAN_MASK | tmp 1284 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c SOC15_WAIT_ON_RREG(VCN, 0, mmUVD_LMI_STATUS, tmp, tmp, r); tmp 1289 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32_SOC15(VCN, 0, mmUVD_LMI_CTRL2); tmp 1290 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp |= UVD_LMI_CTRL2__STALL_ARB_UMC_MASK; tmp 1291 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c WREG32_SOC15(VCN, 0, mmUVD_LMI_CTRL2, tmp); tmp 1293 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = UVD_LMI_STATUS__UMC_READ_CLEAN_RAW_MASK| tmp 1295 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c SOC15_WAIT_ON_RREG(VCN, 0, mmUVD_LMI_STATUS, tmp, tmp, r); tmp 2098 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c uint32_t tmp = 0; tmp 2112 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c tmp = RREG32(adev->vcn.inst[ring->me].external.scratch9); tmp 2113 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c if (tmp == 0xDEADBEEF) tmp 612 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c uint32_t tmp; tmp 624 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = RREG32_SOC15(VCN, i, mmJPEG_CGC_CTRL); tmp 625 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp |= 1 << JPEG_CGC_CTRL__DYN_CLOCK_MODE__SHIFT; tmp 626 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp |= 1 << JPEG_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT; tmp 627 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp |= 4 << JPEG_CGC_CTRL__CLK_OFF_DELAY__SHIFT; tmp 628 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(VCN, i, mmJPEG_CGC_CTRL, tmp); tmp 630 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = RREG32_SOC15(VCN, i, mmJPEG_CGC_GATE); tmp 631 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp &= ~(JPEG_CGC_GATE__JPEG_DEC_MASK tmp 635 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(VCN, i, mmJPEG_CGC_GATE, tmp); tmp 637 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = RREG32_SOC15(VCN, i, mmJPEG_CGC_CTRL); tmp 638 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp &= ~(JPEG_CGC_CTRL__JPEG_DEC_MODE_MASK tmp 642 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(VCN, i, mmJPEG_CGC_CTRL, tmp); tmp 684 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c uint32_t tmp; tmp 695 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = RREG32_SOC15(VCN, i, mmJPEG_CGC_GATE); tmp 696 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp |= (JPEG_CGC_GATE__JPEG_DEC_MASK tmp 700 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(VCN, i, mmJPEG_CGC_GATE, tmp); tmp 714 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c uint32_t rb_bufsz, tmp; tmp 725 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = RREG32_SOC15(UVD, i, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY; tmp 726 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(UVD, i, mmUVD_STATUS, tmp); tmp 744 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = RREG32_SOC15(UVD, i, mmUVD_LMI_CTRL); tmp 745 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp &= ~0xff; tmp 746 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(UVD, i, mmUVD_LMI_CTRL, tmp | 0x8| tmp 753 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = RREG32_SOC15(UVD, i, mmUVD_MPC_CNTL); tmp 754 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp &= ~UVD_MPC_CNTL__REPLACEMENT_MODE_MASK; tmp 755 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp |= 0x2 << UVD_MPC_CNTL__REPLACEMENT_MODE__SHIFT; tmp 756 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(VCN, i, mmUVD_MPC_CNTL, tmp); tmp 848 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = REG_SET_FIELD(0, UVD_RBC_RB_CNTL, RB_BUFSZ, rb_bufsz); tmp 849 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_BLKSZ, 1); tmp 850 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_FETCH, 1); tmp 851 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_NO_UPDATE, 1); tmp 852 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = REG_SET_FIELD(tmp, UVD_RBC_RB_CNTL, RB_RPTR_WR_EN, 1); tmp 853 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(UVD, i, mmUVD_RBC_RB_CNTL, tmp); tmp 888 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c uint32_t tmp; tmp 903 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = UVD_LMI_STATUS__VCPU_LMI_WRITE_CLEAN_MASK | tmp 907 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c SOC15_WAIT_ON_RREG(VCN, i, mmUVD_LMI_STATUS, tmp, tmp, r); tmp 912 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = RREG32_SOC15(VCN, i, mmUVD_LMI_CTRL2); tmp 913 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp |= UVD_LMI_CTRL2__STALL_ARB_UMC_MASK; tmp 914 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c WREG32_SOC15(VCN, i, mmUVD_LMI_CTRL2, tmp); tmp 916 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c tmp = UVD_LMI_STATUS__UMC_READ_CLEAN_RAW_MASK| tmp 918 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c SOC15_WAIT_ON_RREG(VCN, i, mmUVD_LMI_STATUS, tmp, tmp, r); tmp 224 drivers/gpu/drm/amd/amdgpu/vega10_ih.c u32 tmp; tmp 331 drivers/gpu/drm/amd/amdgpu/vega10_ih.c tmp = RREG32_SOC15(OSSSYS, 0, mmIH_STORM_CLIENT_LIST_CNTL); tmp 332 drivers/gpu/drm/amd/amdgpu/vega10_ih.c tmp = REG_SET_FIELD(tmp, IH_STORM_CLIENT_LIST_CNTL, tmp 334 drivers/gpu/drm/amd/amdgpu/vega10_ih.c WREG32_SOC15(OSSSYS, 0, mmIH_STORM_CLIENT_LIST_CNTL, tmp); tmp 336 drivers/gpu/drm/amd/amdgpu/vega10_ih.c tmp = RREG32_SOC15(OSSSYS, 0, mmIH_INT_FLOOD_CNTL); tmp 337 drivers/gpu/drm/amd/amdgpu/vega10_ih.c tmp = REG_SET_FIELD(tmp, IH_INT_FLOOD_CNTL, FLOOD_CNTL_ENABLE, 1); tmp 338 drivers/gpu/drm/amd/amdgpu/vega10_ih.c WREG32_SOC15(OSSSYS, 0, mmIH_INT_FLOOD_CNTL, tmp); tmp 376 drivers/gpu/drm/amd/amdgpu/vega10_ih.c u32 wptr, reg, tmp; tmp 404 drivers/gpu/drm/amd/amdgpu/vega10_ih.c tmp = (wptr + 32) & ih->ptr_mask; tmp 407 drivers/gpu/drm/amd/amdgpu/vega10_ih.c wptr, ih->rptr, tmp); tmp 408 drivers/gpu/drm/amd/amdgpu/vega10_ih.c ih->rptr = tmp; tmp 419 drivers/gpu/drm/amd/amdgpu/vega10_ih.c tmp = RREG32_NO_KIQ(reg); tmp 420 drivers/gpu/drm/amd/amdgpu/vega10_ih.c tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, WPTR_OVERFLOW_CLEAR, 1); tmp 421 drivers/gpu/drm/amd/amdgpu/vega10_ih.c WREG32_NO_KIQ(reg, tmp); tmp 330 drivers/gpu/drm/amd/amdgpu/vi.c u32 tmp; tmp 335 drivers/gpu/drm/amd/amdgpu/vi.c tmp = RREG32_SMC(ixCG_CLKPIN_CNTL_2); tmp 336 drivers/gpu/drm/amd/amdgpu/vi.c if (REG_GET_FIELD(tmp, CG_CLKPIN_CNTL_2, MUX_TCLK_TO_XCLK)) tmp 339 drivers/gpu/drm/amd/amdgpu/vi.c tmp = RREG32_SMC(ixCG_CLKPIN_CNTL); tmp 340 drivers/gpu/drm/amd/amdgpu/vi.c if (REG_GET_FIELD(tmp, CG_CLKPIN_CNTL, XTALIN_DIVIDE)) tmp 730 drivers/gpu/drm/amd/amdgpu/vi.c uint32_t tmp; tmp 738 drivers/gpu/drm/amd/amdgpu/vi.c tmp = RREG32_SMC(cntl_reg); tmp 741 drivers/gpu/drm/amd/amdgpu/vi.c tmp &= ~CG_DCLK_CNTL__DCLK_DIVIDER_MASK; tmp 743 drivers/gpu/drm/amd/amdgpu/vi.c tmp &= ~(CG_DCLK_CNTL__DCLK_DIR_CNTL_EN_MASK | tmp 745 drivers/gpu/drm/amd/amdgpu/vi.c tmp |= dividers.post_divider; tmp 746 drivers/gpu/drm/amd/amdgpu/vi.c WREG32_SMC(cntl_reg, tmp); tmp 749 drivers/gpu/drm/amd/amdgpu/vi.c tmp = RREG32_SMC(status_reg); tmp 751 drivers/gpu/drm/amd/amdgpu/vi.c if (tmp & 0x10000) tmp 754 drivers/gpu/drm/amd/amdgpu/vi.c if (tmp & CG_DCLK_STATUS__DCLK_STATUS_MASK) tmp 800 drivers/gpu/drm/amd/amdgpu/vi.c u32 tmp; tmp 833 drivers/gpu/drm/amd/amdgpu/vi.c tmp = RREG32_SMC(reg_ctrl); tmp 834 drivers/gpu/drm/amd/amdgpu/vi.c tmp &= ~reg_mask; tmp 835 drivers/gpu/drm/amd/amdgpu/vi.c tmp |= dividers.post_divider; tmp 836 drivers/gpu/drm/amd/amdgpu/vi.c WREG32_SMC(reg_ctrl, tmp); tmp 880 drivers/gpu/drm/amd/amdgpu/vi.c u32 tmp; tmp 886 drivers/gpu/drm/amd/amdgpu/vi.c tmp = RREG32(mmBIF_DOORBELL_APER_EN); tmp 888 drivers/gpu/drm/amd/amdgpu/vi.c tmp = REG_SET_FIELD(tmp, BIF_DOORBELL_APER_EN, BIF_DOORBELL_APER_EN, 1); tmp 890 drivers/gpu/drm/amd/amdgpu/vi.c tmp = REG_SET_FIELD(tmp, BIF_DOORBELL_APER_EN, BIF_DOORBELL_APER_EN, 0); tmp 892 drivers/gpu/drm/amd/amdgpu/vi.c WREG32(mmBIF_DOORBELL_APER_EN, tmp); tmp 956 drivers/gpu/drm/amd/amdgpu/vi.c int tmp; tmp 988 drivers/gpu/drm/amd/amdgpu/vi.c tmp = RREG32_PCIE(ixPCIE_PERF_CNTL_TXCLK); tmp 989 drivers/gpu/drm/amd/amdgpu/vi.c cnt0_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK, COUNTER0_UPPER); tmp 990 drivers/gpu/drm/amd/amdgpu/vi.c cnt1_of = REG_GET_FIELD(tmp, PCIE_PERF_CNTL_TXCLK, COUNTER1_UPPER); tmp 41 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c char tmp[16]; tmp 45 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c memset(tmp, 0, 16); tmp 50 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c if (copy_from_user(tmp, user_buf, size)) { tmp 54 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c if (kstrtoint(tmp, 10, &gpu_id)) { tmp 1376 drivers/gpu/drm/amd/amdkfd/kfd_topology.c struct kfd_topology_device *dev, *tmp; tmp 1382 drivers/gpu/drm/amd/amdkfd/kfd_topology.c list_for_each_entry_safe(dev, tmp, &topology_device_list, list) tmp 148 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c struct list_head *entry, *tmp; tmp 168 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c list_for_each_safe(entry, tmp, hnd_list) { tmp 135 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c unsigned long long tmp; tmp 143 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c tmp = arg1_int * arg2_fra; tmp 145 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); tmp 147 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c res.value += tmp; tmp 149 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c tmp = arg2_int * arg1_fra; tmp 151 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); tmp 153 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c res.value += tmp; tmp 155 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c tmp = arg1_fra * arg2_fra; tmp 157 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c tmp = (tmp >> FIXED31_32_BITS_PER_FRACTIONAL_PART) + tmp 158 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c (tmp >= (unsigned long long)dc_fixpt_half.value); tmp 160 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); tmp 162 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c res.value += tmp; tmp 180 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c unsigned long long tmp; tmp 188 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c tmp = arg_int * arg_fra; tmp 190 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); tmp 192 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c res.value += tmp; tmp 194 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); tmp 196 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c res.value += tmp; tmp 198 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c tmp = arg_fra * arg_fra; tmp 200 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c tmp = (tmp >> FIXED31_32_BITS_PER_FRACTIONAL_PART) + tmp 201 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c (tmp >= (unsigned long long)dc_fixpt_half.value); tmp 203 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); tmp 205 drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c res.value += tmp; tmp 158 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c uint64_t tmp; tmp 166 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c tmp = arg1_int * arg2_fra; tmp 168 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c ASSERT(tmp <= (uint64_t)(MAX_I64 - res.value)); tmp 170 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c res.value += tmp; tmp 172 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c tmp = arg2_int * arg1_fra; tmp 174 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c ASSERT(tmp <= (uint64_t)(MAX_I64 - res.value)); tmp 176 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c res.value += tmp; tmp 178 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c tmp = arg1_fra * arg2_fra; tmp 180 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c tmp = (tmp >> BW_FIXED_BITS_PER_FRACTIONAL_PART) + tmp 181 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c (tmp >= (uint64_t)(bw_frc_to_fixed(1, 2).value)); tmp 183 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c ASSERT(tmp <= (uint64_t)(MAX_I64 - res.value)); tmp 185 drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c res.value += tmp; tmp 1450 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c uint8_t tmp[DP_SINK_STATUS_ESI - DP_SINK_COUNT_ESI + 1]; tmp 1455 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c tmp, tmp 1456 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c sizeof(tmp)); tmp 1461 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c irq_data->bytes.sink_cnt.raw = tmp[DP_SINK_COUNT_ESI - DP_SINK_COUNT_ESI]; tmp 1462 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c irq_data->bytes.device_service_irq.raw = tmp[DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0 - DP_SINK_COUNT_ESI]; tmp 1463 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c irq_data->bytes.lane01_status.raw = tmp[DP_LANE0_1_STATUS_ESI - DP_SINK_COUNT_ESI]; tmp 1464 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c irq_data->bytes.lane23_status.raw = tmp[DP_LANE2_3_STATUS_ESI - DP_SINK_COUNT_ESI]; tmp 1465 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c irq_data->bytes.lane_status_updated.raw = tmp[DP_LANE_ALIGN_STATUS_UPDATED_ESI - DP_SINK_COUNT_ESI]; tmp 1466 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c irq_data->bytes.sink_status.raw = tmp[DP_SINK_STATUS_ESI - DP_SINK_COUNT_ESI]; tmp 612 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c uint32_t tmp = 0; tmp 656 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c tmp = timing->h_total - tmp 661 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c tmp, tmp 665 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c tmp = tmp + timing->h_addressable + tmp 670 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c tmp, tmp 679 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c tmp = timing->v_total - (v_sync_start + timing->v_border_top); tmp 683 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c tmp, tmp 687 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c tmp = tmp + timing->v_addressable + timing->v_border_top + tmp 692 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c tmp, tmp 257 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c uint32_t tmp = 0; tmp 280 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c tmp = timing->h_total - tmp 285 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c tmp, tmp 289 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c tmp = tmp + timing->h_addressable + tmp 294 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c tmp, tmp 303 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c tmp = timing->v_total - (v_sync_start + timing->v_border_top); tmp 307 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c tmp, tmp 311 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c tmp = tmp + timing->v_addressable + timing->v_border_top + tmp 316 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c tmp, tmp 512 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h int i, scaledDecimal = 0, tmp = A.partial.decimal; tmp 515 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h dec[i] = tmp / (1 << SHIFT_AMOUNT); tmp 516 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h tmp = tmp - ((1 << SHIFT_AMOUNT)*dec[i]); tmp 517 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h tmp *= 10; tmp 683 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c unsigned long tmp; tmp 693 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c tmp = le32_to_cpu(pnon_clock_info->ulCapsAndSettings) & tmp 696 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ps->validation.singleDisplayOnly = (0 != tmp); tmp 698 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c tmp = le32_to_cpu(pnon_clock_info->ulCapsAndSettings) & tmp 701 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ps->validation.disallowOnDC = (0 != tmp); tmp 728 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c tmp = le32_to_cpu(pnon_clock_info->ulCapsAndSettings) & tmp 731 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ps->display.enableVariBright = (0 != tmp); tmp 733 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c tmp = le32_to_cpu(pnon_clock_info->ulCapsAndSettings) & tmp 736 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ps->memory.dllOff = (0 != tmp); tmp 747 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c tmp = le32_to_cpu(pnon_clock_info->ulCapsAndSettings) & tmp 750 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ps->software.disableLoadBalancing = tmp; tmp 752 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c tmp = le32_to_cpu(pnon_clock_info->ulCapsAndSettings) & tmp 755 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ps->software.enableSleepForTimestamps = (0 != tmp); tmp 256 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t tmp; tmp 325 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smum_get_mac_definition(hwmgr, SMU_MAX_LEVELS_VDDC); tmp 327 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (data->vddc_voltage_table.count <= tmp), tmp 329 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c phm_trim_voltage_table_to_fit_state_table(tmp, tmp 332 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smum_get_mac_definition(hwmgr, SMU_MAX_LEVELS_VDDGFX); tmp 334 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (data->vddgfx_voltage_table.count <= tmp), tmp 336 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c phm_trim_voltage_table_to_fit_state_table(tmp, tmp 339 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smum_get_mac_definition(hwmgr, SMU_MAX_LEVELS_VDDCI); tmp 341 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (data->vddci_voltage_table.count <= tmp), tmp 343 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c phm_trim_voltage_table_to_fit_state_table(tmp, tmp 346 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smum_get_mac_definition(hwmgr, SMU_MAX_LEVELS_MVDD); tmp 348 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (data->mvdd_voltage_table.count <= tmp), tmp 350 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c phm_trim_voltage_table_to_fit_state_table(tmp, tmp 513 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t tmp; tmp 515 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = (cgs_read_ind_register(hwmgr->device, tmp 519 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp == MC_CG_ARB_FREQ_F0) tmp 523 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp, MC_CG_ARB_FREQ_F0); tmp 535 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t tmp; tmp 553 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smum_get_mac_definition(hwmgr, SMU_MAX_LEVELS_LINK); tmp 555 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp, tmp 563 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c max_entry = (tmp < pcie_table->count) ? tmp : pcie_table->count; tmp 2400 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c int tmp; tmp 2402 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_vddc(hwmgr, hwmgr->dyn_state.vddc_dependency_on_sclk); tmp 2403 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2406 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_vddc(hwmgr, hwmgr->dyn_state.vddc_dependency_on_mclk); tmp 2407 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2410 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_vddc(hwmgr, hwmgr->dyn_state.vddc_dep_on_dal_pwrl); tmp 2411 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2414 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_vddci(hwmgr, hwmgr->dyn_state.vddci_dependency_on_mclk); tmp 2415 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2418 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_vce_vddc(hwmgr, hwmgr->dyn_state.vce_clock_voltage_dependency_table); tmp 2419 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2422 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_uvd_vddc(hwmgr, hwmgr->dyn_state.uvd_clock_voltage_dependency_table); tmp 2423 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2426 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_samu_vddc(hwmgr, hwmgr->dyn_state.samu_clock_voltage_dependency_table); tmp 2427 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2430 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_acp_vddc(hwmgr, hwmgr->dyn_state.acp_clock_voltage_dependency_table); tmp 2431 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2434 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_vddc_shed_limit(hwmgr, hwmgr->dyn_state.vddc_phase_shed_limits_table); tmp 2435 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2438 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_limits_vddc(hwmgr, &hwmgr->dyn_state.max_clock_voltage_on_ac); tmp 2439 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2442 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_limits_vddc(hwmgr, &hwmgr->dyn_state.max_clock_voltage_on_dc); tmp 2443 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2446 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_patch_cac_vddc(hwmgr, hwmgr->dyn_state.cac_leakage_table); tmp 2447 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp) tmp 2602 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t level, tmp; tmp 2607 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = data->dpm_level_enable_mask.pcie_dpm_enable_mask; tmp 2608 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c while (tmp >>= 1) tmp 2620 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = data->dpm_level_enable_mask.sclk_dpm_enable_mask; tmp 2621 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c while (tmp >>= 1) tmp 2634 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = data->dpm_level_enable_mask.mclk_dpm_enable_mask; tmp 2635 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c while (tmp >>= 1) tmp 3483 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c u32 tmp = 0; tmp 3500 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = cgs_read_register(hwmgr->device, mmSMC_MSG_ARG_0); tmp 3501 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c *query = tmp; tmp 3503 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp != 0) tmp 3514 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = cgs_read_ind_register(hwmgr->device, tmp 3517 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp != 0) tmp 3520 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c *query = tmp; tmp 4239 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t tmp; tmp 4253 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = cgs_read_register(hwmgr->device, mmMC_SEQ_IO_DEBUG_DATA); tmp 4255 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp & (1 << 23)) { tmp 4422 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t tmp = mask & data->dpm_level_enable_mask.pcie_dpm_enable_mask; tmp 4425 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (fls(tmp) != ffs(tmp)) tmp 4430 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c fls(tmp) - 1); tmp 4985 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t tmp, level; tmp 4990 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = data->dpm_level_enable_mask.sclk_dpm_enable_mask; tmp 4991 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c while (tmp >>= 1) tmp 5004 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct profile_mode_setting tmp; tmp 5019 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp = smu7_profiling[PP_SMC_POWER_PROFILE_CUSTOM]; tmp 5021 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp.bupdate_sclk == 0 && tmp.bupdate_mclk == 0) tmp 5024 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.bupdate_sclk = input[0]; tmp 5025 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.sclk_up_hyst = input[1]; tmp 5026 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.sclk_down_hyst = input[2]; tmp 5027 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.sclk_activity = input[3]; tmp 5028 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.bupdate_mclk = input[4]; tmp 5029 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.mclk_up_hyst = input[5]; tmp 5030 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.mclk_down_hyst = input[6]; tmp 5031 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.mclk_activity = input[7]; tmp 5032 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_profiling[PP_SMC_POWER_PROFILE_CUSTOM] = tmp; tmp 5034 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (!smum_update_dpm_settings(hwmgr, &tmp)) { tmp 5035 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c memcpy(&data->current_profile_setting, &tmp, sizeof(struct profile_mode_setting)); tmp 5047 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c memcpy(&tmp, &smu7_profiling[mode], sizeof(struct profile_mode_setting)); tmp 5048 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (!smum_update_dpm_settings(hwmgr, &tmp)) { tmp 5049 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp.bupdate_sclk) { tmp 5050 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->current_profile_setting.bupdate_sclk = tmp.bupdate_sclk; tmp 5051 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->current_profile_setting.sclk_up_hyst = tmp.sclk_up_hyst; tmp 5052 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->current_profile_setting.sclk_down_hyst = tmp.sclk_down_hyst; tmp 5053 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->current_profile_setting.sclk_activity = tmp.sclk_activity; tmp 5055 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (tmp.bupdate_mclk) { tmp 5056 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->current_profile_setting.bupdate_mclk = tmp.bupdate_mclk; tmp 5057 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->current_profile_setting.mclk_up_hyst = tmp.mclk_up_hyst; tmp 5058 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->current_profile_setting.mclk_down_hyst = tmp.mclk_down_hyst; tmp 5059 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c data->current_profile_setting.mclk_activity = tmp.mclk_activity; tmp 1690 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c uint32_t sclk, vclk, dclk, ecclk, tmp, activity_percent; tmp 1708 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c tmp = (cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixSMUSVI_NB_CURRENTVID) & tmp 1710 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c vddnb = smu8_convert_8Bit_index_to_voltage(hwmgr, tmp) / 4; tmp 1714 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c tmp = (cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixSMUSVI_GFX_CURRENTVID) & tmp 1716 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c vddgfx = smu8_convert_8Bit_index_to_voltage(hwmgr, (u16)tmp) / 4; tmp 958 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c uint32_t tmp; tmp 965 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c tmp = table.mask_low; tmp 967 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (tmp & 1) { tmp 972 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c tmp >>= 1; tmp 561 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint16_t tmp; tmp 566 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = hwmgr->thermal_controller.advanceFanControlParameters.usFanOutputSensitivity; tmp 568 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = hwmgr->thermal_controller.advanceFanControlParameters.usDefaultFanOutputSensitivity; tmp 570 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c smu_data->power_tune_table.FuzzyFan_PwmSetDelta = CONVERT_FROM_HOST_TO_SMC_US(tmp); tmp 1071 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t tmp; tmp 1081 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = (freq_nom / reference_clock); tmp 1082 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = tmp * tmp; tmp 1088 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); tmp 2370 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t tmp = 0; tmp 2380 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c &tmp, SMC_RAM_END); tmp 2383 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c ci_data->dpm_table_start = tmp; tmp 2390 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c &tmp, SMC_RAM_END); tmp 2393 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c data->soft_regs_start = tmp; tmp 2394 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c ci_data->soft_regs_start = tmp; tmp 2402 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c &tmp, SMC_RAM_END); tmp 2405 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c ci_data->mc_reg_table_start = tmp; tmp 2410 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c &tmp, SMC_RAM_END); tmp 2413 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c ci_data->fan_table_start = tmp; tmp 2420 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c &tmp, SMC_RAM_END); tmp 2423 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c ci_data->arb_table_start = tmp; tmp 2430 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c &tmp, SMC_RAM_END); tmp 2433 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c hwmgr->microcode_version_info.SMC = tmp; tmp 2774 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c uint32_t offset, up_hyst_offset, down_hyst_offset, clk_activity_offset, tmp; tmp 2792 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2793 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = phm_set_field_to_u32(clk_activity_offset, tmp, levels[i].ActivityLevel, sizeof(uint16_t)); tmp 2794 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2806 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2807 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = phm_set_field_to_u32(up_hyst_offset, tmp, levels[i].UpH, sizeof(uint8_t)); tmp 2808 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = phm_set_field_to_u32(down_hyst_offset, tmp, levels[i].DownH, sizeof(uint8_t)); tmp 2809 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2827 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2828 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = phm_set_field_to_u32(clk_activity_offset, tmp, mclk_levels[i].ActivityLevel, sizeof(uint16_t)); tmp 2829 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2841 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2842 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = phm_set_field_to_u32(up_hyst_offset, tmp, mclk_levels[i].UpH, sizeof(uint8_t)); tmp 2843 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c tmp = phm_set_field_to_u32(down_hyst_offset, tmp, mclk_levels[i].DownH, sizeof(uint8_t)); tmp 2844 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 422 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t tmp; tmp 423 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = raw_setting * 4096 / 100; tmp 424 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c return (uint16_t)tmp; tmp 1870 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t tmp; tmp 1882 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smu7_data.arb_table_start, &tmp, SMC_RAM_END); tmp 1887 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp &= 0x00FFFFFF; tmp 1888 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp |= ((uint32_t)MC_CG_ARB_FREQ_F1) << 24; tmp 1891 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smu7_data.arb_table_start, tmp, SMC_RAM_END); tmp 1905 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c u32 tmp = param_led_dpm.mask_low; tmp 1908 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c if (tmp & 1) { tmp 1913 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp >>= 1; tmp 2451 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t tmp; tmp 2458 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c &tmp, SMC_RAM_END); tmp 2461 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smu7_data.dpm_table_start = tmp; tmp 2468 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c &tmp, SMC_RAM_END); tmp 2471 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c data->soft_regs_start = tmp; tmp 2472 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smu7_data.soft_regs_start = tmp; tmp 2480 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c &tmp, SMC_RAM_END); tmp 2483 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smu7_data.mc_reg_table_start = tmp; tmp 2488 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c &tmp, SMC_RAM_END); tmp 2491 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smu7_data.fan_table_start = tmp; tmp 2498 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c &tmp, SMC_RAM_END); tmp 2501 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c smu_data->smu7_data.arb_table_start = tmp; tmp 2508 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c &tmp, SMC_RAM_END); tmp 2511 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c hwmgr->microcode_version_info.SMC = tmp; tmp 2566 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t offset, up_hyst_offset, down_hyst_offset, clk_activity_offset, tmp; tmp 2584 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2585 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = phm_set_field_to_u32(clk_activity_offset, tmp, levels[i].ActivityLevel, sizeof(uint16_t)); tmp 2586 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2598 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2599 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = phm_set_field_to_u32(up_hyst_offset, tmp, levels[i].UpHyst, sizeof(uint8_t)); tmp 2600 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = phm_set_field_to_u32(down_hyst_offset, tmp, levels[i].DownHyst, sizeof(uint8_t)); tmp 2601 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2619 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2620 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = phm_set_field_to_u32(clk_activity_offset, tmp, mclk_levels[i].ActivityLevel, sizeof(uint16_t)); tmp 2621 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2633 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2634 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = phm_set_field_to_u32(up_hyst_offset, tmp, mclk_levels[i].UpHyst, sizeof(uint8_t)); tmp 2635 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c tmp = phm_set_field_to_u32(down_hyst_offset, tmp, mclk_levels[i].DownHyst, sizeof(uint8_t)); tmp 2636 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 1114 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c uint32_t tmp; tmp 1124 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c tmp = (freq_nom / reference_clock); tmp 1125 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c tmp = tmp * tmp; tmp 1138 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); tmp 2282 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c uint32_t tmp; tmp 2289 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c &tmp, SMC_RAM_END); tmp 2292 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c smu7_data->dpm_table_start = tmp; tmp 2300 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c &tmp, SMC_RAM_END); tmp 2303 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c data->soft_regs_start = tmp; tmp 2304 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c smu7_data->soft_regs_start = tmp; tmp 2313 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c &tmp, SMC_RAM_END); tmp 2316 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c smu7_data->mc_reg_table_start = tmp; tmp 2322 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c &tmp, SMC_RAM_END); tmp 2325 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c smu7_data->fan_table_start = tmp; tmp 2333 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c &tmp, SMC_RAM_END); tmp 2336 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c smu7_data->arb_table_start = tmp; tmp 2345 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c &tmp, SMC_RAM_END); tmp 2348 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c hwmgr->microcode_version_info.SMC = tmp; tmp 2356 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c &tmp, SMC_RAM_END); tmp 2359 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c smu7_data->ulv_setting_starts = tmp; tmp 419 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t tmp; tmp 420 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = raw_setting * 4096 / 100; tmp 421 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c return (uint16_t)tmp; tmp 1651 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t tmp, i; tmp 1750 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &tmp, SMC_RAM_END); tmp 1753 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp, tmp 1760 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &tmp, SMC_RAM_END); tmp 1762 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp, tmp 1779 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t tmp; tmp 1791 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smu7_data.arb_table_start, &tmp, SMC_RAM_END); tmp 1796 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp &= 0x00FFFFFF; tmp 1797 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp |= ((uint32_t)MC_CG_ARB_FREQ_F1) << 24; tmp 1800 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smu7_data.arb_table_start, tmp, SMC_RAM_END); tmp 2388 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t tmp; tmp 2395 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &tmp, SMC_RAM_END); tmp 2398 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smu7_data.dpm_table_start = tmp; tmp 2405 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &tmp, SMC_RAM_END); tmp 2408 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c data->soft_regs_start = tmp; tmp 2409 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smu7_data.soft_regs_start = tmp; tmp 2417 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &tmp, SMC_RAM_END); tmp 2420 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smu7_data.mc_reg_table_start = tmp; tmp 2425 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &tmp, SMC_RAM_END); tmp 2428 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smu7_data.fan_table_start = tmp; tmp 2435 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &tmp, SMC_RAM_END); tmp 2438 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->smu7_data.arb_table_start = tmp; tmp 2445 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c &tmp, SMC_RAM_END); tmp 2448 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c hwmgr->microcode_version_info.SMC = tmp; tmp 2479 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t offset, up_hyst_offset, down_hyst_offset, clk_activity_offset, tmp; tmp 2497 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2498 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = phm_set_field_to_u32(clk_activity_offset, tmp, levels[i].ActivityLevel, sizeof(uint16_t)); tmp 2499 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2511 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2512 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = phm_set_field_to_u32(up_hyst_offset, tmp, levels[i].UpHyst, sizeof(uint8_t)); tmp 2513 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = phm_set_field_to_u32(down_hyst_offset, tmp, levels[i].DownHyst, sizeof(uint8_t)); tmp 2514 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2532 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2533 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = phm_set_field_to_u32(clk_activity_offset, tmp, mclk_levels[i].ActivityLevel, sizeof(uint16_t)); tmp 2534 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 2546 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 2547 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = phm_set_field_to_u32(up_hyst_offset, tmp, mclk_levels[i].UpHyst, sizeof(uint8_t)); tmp 2548 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c tmp = phm_set_field_to_u32(down_hyst_offset, tmp, mclk_levels[i].DownHyst, sizeof(uint8_t)); tmp 2549 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 177 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c uint32_t tmp; tmp 193 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c tmp = cgs_read_register(hwmgr->device, tmp 195 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c tmp = PHM_SET_FIELD(tmp, CP_MEC_CNTL, MEC_ME1_HALT, 1); tmp 196 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c tmp = PHM_SET_FIELD(tmp, CP_MEC_CNTL, MEC_ME2_HALT, 1); tmp 197 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c cgs_write_register(hwmgr->device, mmCP_MEC_CNTL, tmp); tmp 199 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c tmp = cgs_read_register(hwmgr->device, tmp 202 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, VMID, 0); tmp 203 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, ATC, 0); tmp 204 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, CACHE_POLICY, 0); tmp 205 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, MTYPE, 1); tmp 206 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c cgs_write_register(hwmgr->device, mmCP_CPC_IC_BASE_CNTL, tmp); tmp 866 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t tmp; tmp 876 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = (freq_nom / reference_clock); tmp 877 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = tmp * tmp; tmp 890 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); tmp 1800 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t tmp; tmp 1813 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c smu_data->smu7_data.arb_table_start, &tmp, SMC_RAM_END); tmp 1818 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp &= 0x00FFFFFF; tmp 1819 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp |= ((uint32_t)MC_CG_ARB_FREQ_F1) << 24; tmp 1822 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c smu_data->smu7_data.arb_table_start, tmp, SMC_RAM_END); tmp 2760 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t tmp; tmp 2767 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c &tmp, SMC_RAM_END); tmp 2770 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c smu_data->smu7_data.dpm_table_start = tmp; tmp 2777 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c &tmp, SMC_RAM_END); tmp 2780 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c data->soft_regs_start = tmp; tmp 2781 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c smu_data->smu7_data.soft_regs_start = tmp; tmp 2790 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c &tmp, SMC_RAM_END); tmp 2793 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c smu_data->smu7_data.mc_reg_table_start = tmp; tmp 2798 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c &tmp, SMC_RAM_END); tmp 2801 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c smu_data->smu7_data.fan_table_start = tmp; tmp 2808 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c &tmp, SMC_RAM_END); tmp 2811 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c smu_data->smu7_data.arb_table_start = tmp; tmp 2818 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c &tmp, SMC_RAM_END); tmp 2821 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c hwmgr->microcode_version_info.SMC = tmp; tmp 3162 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t offset, up_hyst_offset, down_hyst_offset, clk_activity_offset, tmp; tmp 3180 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 3181 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = phm_set_field_to_u32(clk_activity_offset, tmp, levels[i].ActivityLevel, sizeof(uint16_t)); tmp 3182 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 3194 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 3195 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = phm_set_field_to_u32(up_hyst_offset, tmp, levels[i].UpHyst, sizeof(uint8_t)); tmp 3196 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = phm_set_field_to_u32(down_hyst_offset, tmp, levels[i].DownHyst, sizeof(uint8_t)); tmp 3197 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 3215 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 3216 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = phm_set_field_to_u32(clk_activity_offset, tmp, mclk_levels[i].ActivityLevel, sizeof(uint16_t)); tmp 3217 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 3229 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = PP_HOST_TO_SMC_UL(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset)); tmp 3230 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = phm_set_field_to_u32(up_hyst_offset, tmp, mclk_levels[i].UpHyst, sizeof(uint8_t)); tmp 3231 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c tmp = phm_set_field_to_u32(down_hyst_offset, tmp, mclk_levels[i].DownHyst, sizeof(uint8_t)); tmp 3232 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, offset, PP_HOST_TO_SMC_UL(tmp)); tmp 229 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t tmp; tmp 236 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &tmp, SMC_RAM_END); tmp 239 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c smu_data->smu7_data.dpm_table_start = tmp; tmp 246 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &tmp, SMC_RAM_END); tmp 249 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c data->soft_regs_start = tmp; tmp 250 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c smu_data->smu7_data.soft_regs_start = tmp; tmp 258 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &tmp, SMC_RAM_END); tmp 261 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c smu_data->smu7_data.mc_reg_table_start = tmp; tmp 266 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &tmp, SMC_RAM_END); tmp 269 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c smu_data->smu7_data.fan_table_start = tmp; tmp 276 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &tmp, SMC_RAM_END); tmp 279 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c smu_data->smu7_data.arb_table_start = tmp; tmp 286 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &tmp, SMC_RAM_END); tmp 289 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c hwmgr->microcode_version_info.SMC = tmp; tmp 1437 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t tmp; tmp 1438 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c tmp = raw_setting * 4096 / 100; tmp 1439 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c return (uint16_t)tmp; tmp 1578 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t tmp, i; tmp 1646 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &tmp, SMC_RAM_END); tmp 1648 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c tmp, tmp 1656 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c &tmp, SMC_RAM_END); tmp 1658 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c tmp, tmp 34 drivers/gpu/drm/arm/display/include/malidp_io.h u32 tmp = malidp_read32(base, offset); tmp 36 drivers/gpu/drm/arm/display/include/malidp_io.h tmp &= (~m); tmp 37 drivers/gpu/drm/arm/display/include/malidp_io.h malidp_write32(base, offset, v | tmp); tmp 137 drivers/gpu/drm/ast/ast_dp501.c u8 tmp; tmp 143 drivers/gpu/drm/ast/ast_dp501.c tmp = ast_get_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xd3, 0xff); tmp 144 drivers/gpu/drm/ast/ast_dp501.c *data = tmp; tmp 44 drivers/gpu/drm/ast/ast_main.c u8 tmp; tmp 46 drivers/gpu/drm/ast/ast_main.c tmp = (ast_io_read8(ast, base + 1) & mask) | val; tmp 47 drivers/gpu/drm/ast/ast_main.c ast_set_index_reg(ast, base, index, tmp); tmp 604 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c unsigned int tmp; tmp 697 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c tmp = state->src_w; tmp 699 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->src_h = tmp; tmp 513 drivers/gpu/drm/bridge/cdns-dsi.c unsigned int tmp; tmp 526 drivers/gpu/drm/bridge/cdns-dsi.c tmp = mode->htotal - tmp 529 drivers/gpu/drm/bridge/cdns-dsi.c tmp = mode->crtc_htotal - tmp 533 drivers/gpu/drm/bridge/cdns-dsi.c dsi_cfg->hbp = dpi_to_dsi_timing(tmp, bpp, DSI_HBP_FRAME_OVERHEAD); tmp 537 drivers/gpu/drm/bridge/cdns-dsi.c tmp = mode->hsync_end - mode->hsync_start; tmp 539 drivers/gpu/drm/bridge/cdns-dsi.c tmp = mode->crtc_hsync_end - mode->crtc_hsync_start; tmp 541 drivers/gpu/drm/bridge/cdns-dsi.c dsi_cfg->hsa = dpi_to_dsi_timing(tmp, bpp, tmp 787 drivers/gpu/drm/bridge/cdns-dsi.c u32 tmp, reg_wakeup, div; tmp 813 drivers/gpu/drm/bridge/cdns-dsi.c tmp = dsi_cfg.htotal - tmp 816 drivers/gpu/drm/bridge/cdns-dsi.c writel(BLK_LINE_PULSE_PKT_LEN(tmp), dsi->regs + VID_BLKSIZE2); tmp 818 drivers/gpu/drm/bridge/cdns-dsi.c writel(MAX_LINE_LIMIT(tmp - DSI_NULL_FRAME_OVERHEAD), tmp 821 drivers/gpu/drm/bridge/cdns-dsi.c tmp = dsi_cfg.htotal - tmp 823 drivers/gpu/drm/bridge/cdns-dsi.c writel(BLK_LINE_EVENT_PKT_LEN(tmp), dsi->regs + VID_BLKSIZE1); tmp 825 drivers/gpu/drm/bridge/cdns-dsi.c writel(MAX_LINE_LIMIT(tmp - DSI_NULL_FRAME_OVERHEAD), tmp 828 drivers/gpu/drm/bridge/cdns-dsi.c tmp = DIV_ROUND_UP(dsi_cfg.htotal, nlanes) - tmp 832 drivers/gpu/drm/bridge/cdns-dsi.c tmp -= DIV_ROUND_UP(DSI_EOT_PKT_SIZE, nlanes); tmp 837 drivers/gpu/drm/bridge/cdns-dsi.c writel(REG_WAKEUP_TIME(reg_wakeup) | REG_LINE_DURATION(tmp), tmp 845 drivers/gpu/drm/bridge/cdns-dsi.c tmp = NSEC_PER_SEC / drm_mode_vrefresh(mode); tmp 846 drivers/gpu/drm/bridge/cdns-dsi.c tmp /= tx_byte_period; tmp 849 drivers/gpu/drm/bridge/cdns-dsi.c if (tmp <= HSTX_TIMEOUT_MAX) tmp 852 drivers/gpu/drm/bridge/cdns-dsi.c tmp >>= 1; tmp 855 drivers/gpu/drm/bridge/cdns-dsi.c if (tmp > HSTX_TIMEOUT_MAX) tmp 856 drivers/gpu/drm/bridge/cdns-dsi.c tmp = HSTX_TIMEOUT_MAX; tmp 858 drivers/gpu/drm/bridge/cdns-dsi.c writel(CLK_DIV(div) | HSTX_TIMEOUT(tmp), tmp 861 drivers/gpu/drm/bridge/cdns-dsi.c writel(LPRX_TIMEOUT(tmp), dsi->regs + MCTL_DPHY_TIMEOUT2); tmp 866 drivers/gpu/drm/bridge/cdns-dsi.c tmp = VID_PIXEL_MODE_RGB888 | tmp 871 drivers/gpu/drm/bridge/cdns-dsi.c tmp = VID_PIXEL_MODE_RGB666 | tmp 876 drivers/gpu/drm/bridge/cdns-dsi.c tmp = VID_PIXEL_MODE_RGB666_PACKED | tmp 881 drivers/gpu/drm/bridge/cdns-dsi.c tmp = VID_PIXEL_MODE_RGB565 | tmp 891 drivers/gpu/drm/bridge/cdns-dsi.c tmp |= SYNC_PULSE_ACTIVE | SYNC_PULSE_HORIZONTAL; tmp 893 drivers/gpu/drm/bridge/cdns-dsi.c tmp |= REG_BLKLINE_MODE(REG_BLK_MODE_BLANKING_PKT) | tmp 898 drivers/gpu/drm/bridge/cdns-dsi.c writel(tmp, dsi->regs + VID_MAIN_CTL); tmp 901 drivers/gpu/drm/bridge/cdns-dsi.c tmp = readl(dsi->regs + MCTL_MAIN_DATA_CTL); tmp 902 drivers/gpu/drm/bridge/cdns-dsi.c tmp &= ~(IF_VID_SELECT_MASK | HOST_EOT_GEN | IF_VID_MODE); tmp 905 drivers/gpu/drm/bridge/cdns-dsi.c tmp |= HOST_EOT_GEN; tmp 908 drivers/gpu/drm/bridge/cdns-dsi.c tmp |= IF_VID_MODE | IF_VID_SELECT(input->id) | VID_EN; tmp 910 drivers/gpu/drm/bridge/cdns-dsi.c writel(tmp, dsi->regs + MCTL_MAIN_DATA_CTL); tmp 912 drivers/gpu/drm/bridge/cdns-dsi.c tmp = readl(dsi->regs + MCTL_MAIN_EN) | IF_EN(input->id); tmp 913 drivers/gpu/drm/bridge/cdns-dsi.c writel(tmp, dsi->regs + MCTL_MAIN_EN); tmp 599 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c u64 tmp; tmp 614 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c tmp = (u64)ftdms * n; tmp 615 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c do_div(tmp, 128 * sample_rate); tmp 616 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c cts = tmp; tmp 488 drivers/gpu/drm/bridge/tc358767.c u64 tmp; tmp 490 drivers/gpu/drm/bridge/tc358767.c tmp = pixelclock * ext_div[i_pre] * tmp 492 drivers/gpu/drm/bridge/tc358767.c do_div(tmp, refclk); tmp 493 drivers/gpu/drm/bridge/tc358767.c mul = tmp; tmp 884 drivers/gpu/drm/bridge/tc358767.c u8 tmp[DP_LINK_STATUS_SIZE]; tmp 959 drivers/gpu/drm/bridge/tc358767.c tmp[0] = tc->assr; tmp 960 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_writeb(aux, DP_EDP_CONFIGURATION_SET, tmp[0]); tmp 964 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_readb(aux, DP_EDP_CONFIGURATION_SET, tmp); tmp 968 drivers/gpu/drm/bridge/tc358767.c if (tmp[0] != tc->assr) { tmp 982 drivers/gpu/drm/bridge/tc358767.c tmp[0] = tc->link.spread ? DP_SPREAD_AMP_0_5 : 0x00; tmp 984 drivers/gpu/drm/bridge/tc358767.c tmp[1] = DP_SET_ANSI_8B10B; tmp 985 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_write(aux, DP_DOWNSPREAD_CTRL, tmp, 2); tmp 990 drivers/gpu/drm/bridge/tc358767.c tmp[0] = tmp[1] = DP_TRAIN_VOLTAGE_SWING_LEVEL_0 | tmp 992 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_write(aux, DP_TRAINING_LANE0_SET, tmp, 2); tmp 1083 drivers/gpu/drm/bridge/tc358767.c tmp[0] = tc->link.scrambler_dis ? DP_LINK_SCRAMBLING_DISABLE : 0x00; tmp 1084 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_writeb(aux, DP_TRAINING_PATTERN_SET, tmp[0]); tmp 1089 drivers/gpu/drm/bridge/tc358767.c ret = drm_dp_dpcd_read_link_status(aux, tmp); tmp 1095 drivers/gpu/drm/bridge/tc358767.c value = tmp[0] & DP_CHANNEL_EQ_BITS; tmp 1103 drivers/gpu/drm/bridge/tc358767.c value = (tmp[0] >> 4) & DP_CHANNEL_EQ_BITS; tmp 1110 drivers/gpu/drm/bridge/tc358767.c if (!(tmp[2] & DP_INTERLANE_ALIGN_DONE)) { tmp 1117 drivers/gpu/drm/bridge/tc358767.c dev_err(dev, "0x0202 LANE0_1_STATUS: 0x%02x\n", tmp[0]); tmp 1118 drivers/gpu/drm/bridge/tc358767.c dev_err(dev, "0x0203 LANE2_3_STATUS 0x%02x\n", tmp[1]); tmp 1119 drivers/gpu/drm/bridge/tc358767.c dev_err(dev, "0x0204 LANE_ALIGN_STATUS_UPDATED: 0x%02x\n", tmp[2]); tmp 1120 drivers/gpu/drm/bridge/tc358767.c dev_err(dev, "0x0205 SINK_STATUS: 0x%02x\n", tmp[3]); tmp 1121 drivers/gpu/drm/bridge/tc358767.c dev_err(dev, "0x0206 ADJUST_REQUEST_LANE0_1: 0x%02x\n", tmp[4]); tmp 1122 drivers/gpu/drm/bridge/tc358767.c dev_err(dev, "0x0207 ADJUST_REQUEST_LANE2_3: 0x%02x\n", tmp[5]); tmp 156 drivers/gpu/drm/cirrus/cirrus.c u8 tmp; tmp 162 drivers/gpu/drm/cirrus/cirrus.c tmp = rreg_crt(cirrus, 0x1b); tmp 163 drivers/gpu/drm/cirrus/cirrus.c tmp &= 0xf2; tmp 164 drivers/gpu/drm/cirrus/cirrus.c tmp |= (addr >> 16) & 0x01; tmp 165 drivers/gpu/drm/cirrus/cirrus.c tmp |= (addr >> 15) & 0x0c; tmp 166 drivers/gpu/drm/cirrus/cirrus.c wreg_crt(cirrus, 0x1b, tmp); tmp 168 drivers/gpu/drm/cirrus/cirrus.c tmp = rreg_crt(cirrus, 0x1d); tmp 169 drivers/gpu/drm/cirrus/cirrus.c tmp &= 0x7f; tmp 170 drivers/gpu/drm/cirrus/cirrus.c tmp |= (addr >> 12) & 0x80; tmp 171 drivers/gpu/drm/cirrus/cirrus.c wreg_crt(cirrus, 0x1d, tmp); tmp 180 drivers/gpu/drm/cirrus/cirrus.c int tmp; tmp 207 drivers/gpu/drm/cirrus/cirrus.c tmp = 0x40; tmp 209 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x20; tmp 210 drivers/gpu/drm/cirrus/cirrus.c wreg_crt(cirrus, VGA_CRTC_MAX_SCAN, tmp); tmp 215 drivers/gpu/drm/cirrus/cirrus.c tmp = 0x10; tmp 217 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x01; tmp 219 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x02; tmp 221 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x08; tmp 223 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x20; tmp 225 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x40; tmp 226 drivers/gpu/drm/cirrus/cirrus.c wreg_crt(cirrus, VGA_CRTC_OVERFLOW, tmp); tmp 228 drivers/gpu/drm/cirrus/cirrus.c tmp = 0; tmp 233 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x10; tmp 235 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x20; tmp 237 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x40; tmp 239 drivers/gpu/drm/cirrus/cirrus.c tmp |= 0x80; tmp 241 drivers/gpu/drm/cirrus/cirrus.c wreg_crt(cirrus, CL_CRT1A, tmp); tmp 275 drivers/gpu/drm/cirrus/cirrus.c tmp = cirrus->pitch / 8; tmp 276 drivers/gpu/drm/cirrus/cirrus.c wreg_crt(cirrus, VGA_CRTC_OFFSET, tmp); tmp 279 drivers/gpu/drm/cirrus/cirrus.c tmp = 0x22; tmp 280 drivers/gpu/drm/cirrus/cirrus.c tmp |= (cirrus->pitch >> 7) & 0x10; tmp 281 drivers/gpu/drm/cirrus/cirrus.c tmp |= (cirrus->pitch >> 6) & 0x40; tmp 282 drivers/gpu/drm/cirrus/cirrus.c wreg_crt(cirrus, 0x1b, tmp); tmp 165 drivers/gpu/drm/drm_client.c struct drm_client_dev *client, *tmp; tmp 171 drivers/gpu/drm/drm_client.c list_for_each_entry_safe(client, tmp, &dev->clientlist, list) { tmp 712 drivers/gpu/drm/drm_client_modeset.c struct drm_connector **tmp; tmp 714 drivers/gpu/drm/drm_client_modeset.c tmp = krealloc(connectors, (connector_count + 1) * sizeof(*connectors), GFP_KERNEL); tmp 715 drivers/gpu/drm/drm_client_modeset.c if (!tmp) { tmp 720 drivers/gpu/drm/drm_client_modeset.c connectors = tmp; tmp 137 drivers/gpu/drm/drm_context.c struct drm_ctx_list *pos, *tmp; tmp 145 drivers/gpu/drm/drm_context.c list_for_each_entry_safe(pos, tmp, &dev->ctxlist, head) { tmp 110 drivers/gpu/drm/drm_crtc.c struct drm_crtc *tmp; tmp 112 drivers/gpu/drm/drm_crtc.c drm_for_each_crtc(tmp, dev) { tmp 423 drivers/gpu/drm/drm_crtc.c struct drm_crtc *tmp; tmp 433 drivers/gpu/drm/drm_crtc.c drm_for_each_crtc(tmp, crtc->dev) { tmp 434 drivers/gpu/drm/drm_crtc.c struct drm_plane *plane = tmp->primary; tmp 449 drivers/gpu/drm/drm_crtc.c drm_for_each_crtc(tmp, crtc->dev) { tmp 450 drivers/gpu/drm/drm_crtc.c struct drm_plane *plane = tmp->primary; tmp 179 drivers/gpu/drm/drm_debugfs.c struct drm_info_node *tmp; tmp 189 drivers/gpu/drm/drm_debugfs.c tmp = kmalloc(sizeof(struct drm_info_node), GFP_KERNEL); tmp 190 drivers/gpu/drm/drm_debugfs.c if (tmp == NULL) tmp 193 drivers/gpu/drm/drm_debugfs.c tmp->minor = minor; tmp 194 drivers/gpu/drm/drm_debugfs.c tmp->dent = debugfs_create_file(files[i].name, tmp 195 drivers/gpu/drm/drm_debugfs.c S_IFREG | S_IRUGO, root, tmp, tmp 197 drivers/gpu/drm/drm_debugfs.c tmp->info_ent = &files[i]; tmp 200 drivers/gpu/drm/drm_debugfs.c list_add(&tmp->list, &minor->debugfs_list); tmp 266 drivers/gpu/drm/drm_debugfs.c struct drm_info_node *tmp; tmp 272 drivers/gpu/drm/drm_debugfs.c tmp = list_entry(pos, struct drm_info_node, list); tmp 273 drivers/gpu/drm/drm_debugfs.c if (tmp->info_ent == &files[i]) { tmp 274 drivers/gpu/drm/drm_debugfs.c debugfs_remove(tmp->dent); tmp 276 drivers/gpu/drm/drm_debugfs.c kfree(tmp); tmp 287 drivers/gpu/drm/drm_debugfs.c struct drm_info_node *node, *tmp; tmp 290 drivers/gpu/drm/drm_debugfs.c list_for_each_entry_safe(node, tmp, &minor->debugfs_list, list) { tmp 365 drivers/gpu/drm/drm_dp_dual_mode_helper.c uint8_t tmp; tmp 377 drivers/gpu/drm/drm_dp_dual_mode_helper.c &tmp, sizeof(tmp)); tmp 385 drivers/gpu/drm/drm_dp_dual_mode_helper.c if (tmp == tmds_oen) tmp 1116 drivers/gpu/drm/drm_dp_mst_topology.c struct drm_dp_mst_port *port, *tmp; tmp 1120 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry_safe(port, tmp, &mstb->ports, next) { tmp 3818 drivers/gpu/drm/drm_dp_mst_topology.c struct drm_dp_vcpi_allocation *pos, *tmp; tmp 3820 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry_safe(pos, tmp, &mst_state->vcpis, next) { tmp 3211 drivers/gpu/drm/drm_edid.c struct drm_display_mode *mode, *tmp; tmp 3270 drivers/gpu/drm/drm_edid.c list_for_each_entry_safe(mode, tmp, &list, head) { tmp 121 drivers/gpu/drm/drm_flip_work.c struct drm_flip_task *task, *tmp; tmp 132 drivers/gpu/drm/drm_flip_work.c list_for_each_entry_safe(task, tmp, &tasks, node) { tmp 161 drivers/gpu/drm/drm_memory.c struct resource *tmp; tmp 183 drivers/gpu/drm/drm_memory.c for (tmp = iomem_resource.child; tmp; tmp = tmp->sibling) { tmp 184 drivers/gpu/drm/drm_memory.c max_iomem = max(max_iomem, tmp->end); tmp 159 drivers/gpu/drm/drm_modes.c u64 tmp; tmp 320 drivers/gpu/drm/drm_modes.c tmp = drm_mode->htotal; /* perform intermediate calcs in u64 */ tmp 321 drivers/gpu/drm/drm_modes.c tmp *= HV_FACTOR * 1000; tmp 322 drivers/gpu/drm/drm_modes.c do_div(tmp, hperiod); tmp 323 drivers/gpu/drm/drm_modes.c tmp -= drm_mode->clock % CVT_CLOCK_STEP; tmp 324 drivers/gpu/drm/drm_modes.c drm_mode->clock = tmp; tmp 51 drivers/gpu/drm/drm_modeset_helper.c struct drm_connector *connector, *tmp; tmp 57 drivers/gpu/drm/drm_modeset_helper.c list_for_each_entry_safe(connector, tmp, tmp 38 drivers/gpu/drm/drm_of.c struct drm_crtc *tmp; tmp 40 drivers/gpu/drm/drm_of.c drm_for_each_crtc(tmp, dev) { tmp 41 drivers/gpu/drm/drm_of.c if (tmp->port == port) tmp 336 drivers/gpu/drm/drm_pci.c struct drm_device *dev, *tmp; tmp 342 drivers/gpu/drm/drm_pci.c list_for_each_entry_safe(dev, tmp, &driver->legacy_dev_list, tmp 65 drivers/gpu/drm/drm_plane.c struct drm_plane *tmp; tmp 67 drivers/gpu/drm/drm_plane.c drm_for_each_plane(tmp, dev) { tmp 57 drivers/gpu/drm/drm_rect.c u64 tmp; tmp 62 drivers/gpu/drm/drm_rect.c tmp = mul_u32_u32(src, dst - clip); tmp 69 drivers/gpu/drm/drm_rect.c return DIV_ROUND_UP_ULL(tmp, dst); tmp 71 drivers/gpu/drm/drm_rect.c return DIV_ROUND_DOWN_ULL(tmp, dst); tmp 252 drivers/gpu/drm/drm_rect.c struct drm_rect tmp; tmp 255 drivers/gpu/drm/drm_rect.c tmp = *r; tmp 258 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.x2; tmp 259 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.x1; tmp 263 drivers/gpu/drm/drm_rect.c r->y1 = height - tmp.y2; tmp 264 drivers/gpu/drm/drm_rect.c r->y2 = height - tmp.y1; tmp 272 drivers/gpu/drm/drm_rect.c tmp = *r; tmp 273 drivers/gpu/drm/drm_rect.c r->x1 = tmp.y1; tmp 274 drivers/gpu/drm/drm_rect.c r->x2 = tmp.y2; tmp 275 drivers/gpu/drm/drm_rect.c r->y1 = width - tmp.x2; tmp 276 drivers/gpu/drm/drm_rect.c r->y2 = width - tmp.x1; tmp 279 drivers/gpu/drm/drm_rect.c tmp = *r; tmp 280 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.x2; tmp 281 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.x1; tmp 282 drivers/gpu/drm/drm_rect.c r->y1 = height - tmp.y2; tmp 283 drivers/gpu/drm/drm_rect.c r->y2 = height - tmp.y1; tmp 286 drivers/gpu/drm/drm_rect.c tmp = *r; tmp 287 drivers/gpu/drm/drm_rect.c r->x1 = height - tmp.y2; tmp 288 drivers/gpu/drm/drm_rect.c r->x2 = height - tmp.y1; tmp 289 drivers/gpu/drm/drm_rect.c r->y1 = tmp.x1; tmp 290 drivers/gpu/drm/drm_rect.c r->y2 = tmp.x2; tmp 326 drivers/gpu/drm/drm_rect.c struct drm_rect tmp; tmp 332 drivers/gpu/drm/drm_rect.c tmp = *r; tmp 333 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.y2; tmp 334 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.y1; tmp 335 drivers/gpu/drm/drm_rect.c r->y1 = tmp.x1; tmp 336 drivers/gpu/drm/drm_rect.c r->y2 = tmp.x2; tmp 339 drivers/gpu/drm/drm_rect.c tmp = *r; tmp 340 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.x2; tmp 341 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.x1; tmp 342 drivers/gpu/drm/drm_rect.c r->y1 = height - tmp.y2; tmp 343 drivers/gpu/drm/drm_rect.c r->y2 = height - tmp.y1; tmp 346 drivers/gpu/drm/drm_rect.c tmp = *r; tmp 347 drivers/gpu/drm/drm_rect.c r->x1 = tmp.y1; tmp 348 drivers/gpu/drm/drm_rect.c r->x2 = tmp.y2; tmp 349 drivers/gpu/drm/drm_rect.c r->y1 = height - tmp.x2; tmp 350 drivers/gpu/drm/drm_rect.c r->y2 = height - tmp.x1; tmp 357 drivers/gpu/drm/drm_rect.c tmp = *r; tmp 360 drivers/gpu/drm/drm_rect.c r->x1 = width - tmp.x2; tmp 361 drivers/gpu/drm/drm_rect.c r->x2 = width - tmp.x1; tmp 365 drivers/gpu/drm/drm_rect.c r->y1 = height - tmp.y2; tmp 366 drivers/gpu/drm/drm_rect.c r->y2 = height - tmp.y1; tmp 164 drivers/gpu/drm/drm_scatter.c unsigned long *tmp; tmp 166 drivers/gpu/drm/drm_scatter.c tmp = page_address(entry->pagelist[i]); tmp 169 drivers/gpu/drm/drm_scatter.c j++, tmp++) { tmp 170 drivers/gpu/drm/drm_scatter.c *tmp = 0xcafebabe; tmp 172 drivers/gpu/drm/drm_scatter.c tmp = (unsigned long *)((u8 *) entry->virtual + tmp 176 drivers/gpu/drm/drm_scatter.c j++, tmp++) { tmp 177 drivers/gpu/drm/drm_scatter.c if (*tmp != 0xcafebabe && error == 0) { tmp 184 drivers/gpu/drm/drm_scatter.c tmp = page_address(entry->pagelist[i]); tmp 187 drivers/gpu/drm/drm_scatter.c j++, tmp++) { tmp 188 drivers/gpu/drm/drm_scatter.c *tmp = 0; tmp 228 drivers/gpu/drm/drm_syncobj.c struct syncobj_wait_entry *cur, *tmp; tmp 242 drivers/gpu/drm/drm_syncobj.c list_for_each_entry_safe(cur, tmp, &syncobj->cb_list, node) tmp 263 drivers/gpu/drm/drm_syncobj.c struct syncobj_wait_entry *cur, *tmp; tmp 275 drivers/gpu/drm/drm_syncobj.c list_for_each_entry_safe(cur, tmp, &syncobj->cb_list, node) tmp 72 drivers/gpu/drm/drm_vm.c pgprot_t tmp = vm_get_page_prot(vma->vm_flags); tmp 75 drivers/gpu/drm/drm_vm.c tmp = pgprot_decrypted(tmp); tmp 80 drivers/gpu/drm/drm_vm.c tmp = pgprot_noncached(tmp); tmp 82 drivers/gpu/drm/drm_vm.c tmp = pgprot_writecombine(tmp); tmp 86 drivers/gpu/drm/drm_vm.c tmp = pgprot_writecombine(tmp); tmp 88 drivers/gpu/drm/drm_vm.c tmp = pgprot_noncached(tmp); tmp 90 drivers/gpu/drm/drm_vm.c tmp = pgprot_noncached(tmp); tmp 92 drivers/gpu/drm/drm_vm.c return tmp; tmp 97 drivers/gpu/drm/drm_vm.c pgprot_t tmp = vm_get_page_prot(vma->vm_flags); tmp 100 drivers/gpu/drm/drm_vm.c tmp = pgprot_noncached_wc(tmp); tmp 102 drivers/gpu/drm/drm_vm.c return tmp; tmp 522 drivers/gpu/drm/etnaviv/etnaviv_gem.c struct etnaviv_vram_mapping *mapping, *tmp; tmp 531 drivers/gpu/drm/etnaviv/etnaviv_gem.c list_for_each_entry_safe(mapping, tmp, &etnaviv_obj->vram_list, tmp 556 drivers/gpu/drm/exynos/exynos_drm_dsi.c u64 tmp; tmp 559 drivers/gpu/drm/exynos/exynos_drm_dsi.c tmp = (u64)fout * (_p << _s); tmp 560 drivers/gpu/drm/exynos/exynos_drm_dsi.c do_div(tmp, fin); tmp 561 drivers/gpu/drm/exynos/exynos_drm_dsi.c _m = tmp; tmp 565 drivers/gpu/drm/exynos/exynos_drm_dsi.c tmp = (u64)_m * fin; tmp 566 drivers/gpu/drm/exynos/exynos_drm_dsi.c do_div(tmp, _p); tmp 567 drivers/gpu/drm/exynos/exynos_drm_dsi.c if (tmp < 500 * MHZ || tmp 568 drivers/gpu/drm/exynos/exynos_drm_dsi.c tmp > driver_data->max_freq * MHZ) tmp 571 drivers/gpu/drm/exynos/exynos_drm_dsi.c tmp = (u64)_m * fin; tmp 572 drivers/gpu/drm/exynos/exynos_drm_dsi.c do_div(tmp, _p << _s); tmp 574 drivers/gpu/drm/exynos/exynos_drm_dsi.c delta = abs(fout - tmp); tmp 580 drivers/gpu/drm/exynos/exynos_drm_dsi.c best_freq = tmp; tmp 172 drivers/gpu/drm/exynos/exynos_drm_ipp.c struct drm_exynos_ipp_format tmp = { tmp 178 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (copy_to_user(ptr, &tmp, sizeof(tmp))) tmp 180 drivers/gpu/drm/exynos/exynos_drm_ipp.c ptr += sizeof(tmp); tmp 768 drivers/gpu/drm/gma500/mmu.c uint32_t tmp; tmp 778 drivers/gpu/drm/gma500/mmu.c tmp = v[psb_mmu_pd_index(virtual)]; tmp 782 drivers/gpu/drm/gma500/mmu.c if (tmp != pd->invalid_pde || !(tmp & PSB_PTE_VALID) || tmp 791 drivers/gpu/drm/gma500/mmu.c tmp = pt->v[psb_mmu_pt_index(virtual)]; tmp 792 drivers/gpu/drm/gma500/mmu.c if (!(tmp & PSB_PTE_VALID)) { tmp 796 drivers/gpu/drm/gma500/mmu.c *pfn = tmp >> PAGE_SHIFT; tmp 69 drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c u32 val, tmp; tmp 74 drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c tmp = LPC_READ_REG(chan, RGLVL); tmp 83 drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c u32 val, tmp; tmp 88 drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c tmp = LPC_READ_REG(chan, RGLVL); tmp 458 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c u64 tmp; tmp 490 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c tmp = (u64)htot * (u64)lane_byte_clk_kHz; tmp 491 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c hline_time = DIV_ROUND_UP(tmp, pixel_clk_kHz); tmp 91 drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h u32 tmp, orig; tmp 94 drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h tmp = orig & ~(mask << bit_start); tmp 95 drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h tmp |= (val & mask) << bit_start; tmp 96 drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h writel(tmp, addr); tmp 218 drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h u32 tmp, orig; tmp 221 drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h tmp = orig & ~(mask << bit_start); tmp 222 drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h tmp |= (val & mask) << bit_start; tmp 223 drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h writel(tmp, addr); tmp 107 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c u32 tmp, bit_ofst, reg_num; tmp 112 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c tmp = readl(base + ADE_RELOAD_DIS(reg_num)); tmp 113 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c return !!(BIT(bit_ofst) & tmp); tmp 465 drivers/gpu/drm/i810/i810_dma.c unsigned int tmp; tmp 477 drivers/gpu/drm/i810/i810_dma.c tmp = code[i]; tmp 479 drivers/gpu/drm/i810/i810_dma.c if ((tmp & (7 << 29)) == (3 << 29) && tmp 480 drivers/gpu/drm/i810/i810_dma.c (tmp & (0x1f << 24)) < (0x1d << 24)) { tmp 481 drivers/gpu/drm/i810/i810_dma.c OUT_RING(tmp); tmp 497 drivers/gpu/drm/i810/i810_dma.c unsigned int tmp; tmp 508 drivers/gpu/drm/i810/i810_dma.c tmp = code[i]; tmp 510 drivers/gpu/drm/i810/i810_dma.c if ((tmp & (7 << 29)) == (3 << 29) && tmp 511 drivers/gpu/drm/i810/i810_dma.c (tmp & (0x1f << 24)) < (0x1d << 24)) { tmp 512 drivers/gpu/drm/i810/i810_dma.c OUT_RING(tmp); tmp 530 drivers/gpu/drm/i810/i810_dma.c unsigned int tmp; tmp 535 drivers/gpu/drm/i810/i810_dma.c tmp = code[I810_DESTREG_DI1]; tmp 536 drivers/gpu/drm/i810/i810_dma.c if (tmp == dev_priv->front_di1 || tmp == dev_priv->back_di1) { tmp 538 drivers/gpu/drm/i810/i810_dma.c OUT_RING(tmp); tmp 541 drivers/gpu/drm/i810/i810_dma.c tmp, dev_priv->front_di1, dev_priv->back_di1); tmp 606 drivers/gpu/drm/i810/i810_dma.c unsigned int tmp = flags; tmp 609 drivers/gpu/drm/i810/i810_dma.c if (tmp & I810_FRONT) tmp 611 drivers/gpu/drm/i810/i810_dma.c if (tmp & I810_BACK) tmp 127 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp = 0; tmp 136 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= *data++ << 8 * j; tmp 138 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DSI_CMD_TXPYLD(dsi_trans), tmp); tmp 150 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 160 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DSI_CMD_TXHDR(dsi_trans)); tmp 163 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PAYLOAD_PRESENT; tmp 165 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~PAYLOAD_PRESENT; tmp 167 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~VBLANK_FENCE; tmp 170 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= LP_DATA_TRANSFER; tmp 172 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~(PARAM_WC_MASK | VC_MASK | DT_MASK); tmp 173 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= ((pkt.header[0] & VC_MASK) << VC_SHIFT); tmp 174 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= ((pkt.header[0] & DT_MASK) << DT_SHIFT); tmp 175 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= (pkt.header[1] << PARAM_WC_LOWER_SHIFT); tmp 176 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= (pkt.header[2] << PARAM_WC_UPPER_SHIFT); tmp 177 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DSI_CMD_TXHDR(dsi_trans), tmp); tmp 206 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 214 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW5_LN0(phy)); tmp 215 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~(SCALING_MODE_SEL_MASK | RTERM_SELECT_MASK); tmp 216 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= SCALING_MODE_SEL(0x2); tmp 217 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TAP2_DISABLE | TAP3_DISABLE; tmp 218 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= RTERM_SELECT(0x6); tmp 219 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW5_GRP(phy), tmp); tmp 221 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW5_AUX(phy)); tmp 222 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~(SCALING_MODE_SEL_MASK | RTERM_SELECT_MASK); tmp 223 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= SCALING_MODE_SEL(0x2); tmp 224 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TAP2_DISABLE | TAP3_DISABLE; tmp 225 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= RTERM_SELECT(0x6); tmp 226 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW5_AUX(phy), tmp); tmp 228 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW2_LN0(phy)); tmp 229 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~(SWING_SEL_LOWER_MASK | SWING_SEL_UPPER_MASK | tmp 231 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= SWING_SEL_UPPER(0x2); tmp 232 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= SWING_SEL_LOWER(0x2); tmp 233 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= RCOMP_SCALAR(0x98); tmp 234 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW2_GRP(phy), tmp); tmp 236 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW2_AUX(phy)); tmp 237 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~(SWING_SEL_LOWER_MASK | SWING_SEL_UPPER_MASK | tmp 239 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= SWING_SEL_UPPER(0x2); tmp 240 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= SWING_SEL_LOWER(0x2); tmp 241 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= RCOMP_SCALAR(0x98); tmp 242 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW2_AUX(phy), tmp); tmp 244 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW4_AUX(phy)); tmp 245 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~(POST_CURSOR_1_MASK | POST_CURSOR_2_MASK | tmp 247 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= POST_CURSOR_1(0x0); tmp 248 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= POST_CURSOR_2(0x0); tmp 249 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= CURSOR_COEFF(0x3f); tmp 250 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW4_AUX(phy), tmp); tmp 254 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW4_LN(lane, phy)); tmp 255 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~(POST_CURSOR_1_MASK | POST_CURSOR_2_MASK | tmp 257 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= POST_CURSOR_1(0x0); tmp 258 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= POST_CURSOR_2(0x0); tmp 259 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= CURSOR_COEFF(0x3f); tmp 260 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW4_LN(lane, phy), tmp); tmp 351 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 354 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_DSI_IO_MODECTL(port)); tmp 355 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= COMBO_PHY_MODE_DSI; tmp 356 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_DSI_IO_MODECTL(port), tmp); tmp 378 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 383 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW4_AUX(phy)); tmp 384 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~LOADGEN_SELECT; tmp 385 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW4_AUX(phy), tmp); tmp 387 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW4_LN(lane, phy)); tmp 388 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~LOADGEN_SELECT; tmp 390 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= LOADGEN_SELECT; tmp 391 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW4_LN(lane, phy), tmp); tmp 397 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW2_AUX(phy)); tmp 398 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~FRC_LATENCY_OPTIM_MASK; tmp 399 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= FRC_LATENCY_OPTIM_VAL(0x5); tmp 400 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW2_AUX(phy), tmp); tmp 401 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW2_LN0(phy)); tmp 402 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~FRC_LATENCY_OPTIM_MASK; tmp 403 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= FRC_LATENCY_OPTIM_VAL(0x5); tmp 404 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW2_GRP(phy), tmp); tmp 408 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_PCS_DW1_AUX(phy)); tmp 409 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~LATENCY_OPTIM_MASK; tmp 410 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= LATENCY_OPTIM_VAL(0); tmp 411 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_PCS_DW1_AUX(phy), tmp); tmp 413 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_PCS_DW1_LN0(phy)); tmp 414 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~LATENCY_OPTIM_MASK; tmp 415 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= LATENCY_OPTIM_VAL(0x1); tmp 416 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_PCS_DW1_GRP(phy), tmp); tmp 426 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 431 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_PCS_DW1_LN0(phy)); tmp 432 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~COMMON_KEEPER_EN; tmp 433 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_PCS_DW1_GRP(phy), tmp); tmp 434 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_PCS_DW1_AUX(phy)); tmp 435 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~COMMON_KEEPER_EN; tmp 436 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_PCS_DW1_AUX(phy), tmp); tmp 445 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_CL_DW5(phy)); tmp 446 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= SUS_CLOCK_CONFIG; tmp 447 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_CL_DW5(phy), tmp); tmp 452 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW5_LN0(phy)); tmp 453 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~TX_TRAINING_EN; tmp 454 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW5_GRP(phy), tmp); tmp 455 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW5_AUX(phy)); tmp 456 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~TX_TRAINING_EN; tmp 457 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW5_AUX(phy), tmp); tmp 465 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW5_LN0(phy)); tmp 466 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TX_TRAINING_EN; tmp 467 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW5_GRP(phy), tmp); tmp 468 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_PORT_TX_DW5_AUX(phy)); tmp 469 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TX_TRAINING_EN; tmp 470 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_PORT_TX_DW5_AUX(phy), tmp); tmp 478 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 482 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DDI_BUF_CTL(port)); tmp 483 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= DDI_BUF_CTL_ENABLE; tmp 484 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DDI_BUF_CTL(port), tmp); tmp 497 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 503 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_DSI_T_INIT_MASTER(port)); tmp 504 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~MASTER_INIT_TIMER_MASK; tmp 505 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= intel_dsi->init_count; tmp 506 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_DSI_T_INIT_MASTER(port), tmp); tmp 536 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DPHY_TA_TIMING_PARAM(port)); tmp 537 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~TA_SURE_MASK; tmp 538 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TA_SURE_OVERRIDE | TA_SURE(0); tmp 539 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DPHY_TA_TIMING_PARAM(port), tmp); tmp 542 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DSI_TA_TIMING_PARAM(port)); tmp 543 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~TA_SURE_MASK; tmp 544 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TA_SURE_OVERRIDE | TA_SURE(0); tmp 545 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DSI_TA_TIMING_PARAM(port), tmp); tmp 552 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_DPHY_CHKN(phy)); tmp 553 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= ICL_DPHY_CHKN_AFE_OVER_PPI_STRAP; tmp 554 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_DPHY_CHKN(phy), tmp); tmp 563 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 567 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_DPCLKA_CFGCR0); tmp 569 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= ICL_DPCLKA_CFGCR0_DDI_CLK_OFF(phy); tmp 571 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_DPCLKA_CFGCR0, tmp); tmp 579 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 583 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_DPCLKA_CFGCR0); tmp 585 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~ICL_DPCLKA_CFGCR0_DDI_CLK_OFF(phy); tmp 587 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_DPCLKA_CFGCR0, tmp); tmp 630 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 636 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DSI_TRANS_FUNC_CONF(dsi_trans)); tmp 639 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~EOTP_DISABLED; tmp 641 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= EOTP_DISABLED; tmp 645 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~LINK_CALIBRATION_MASK; tmp 646 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= CALIBRATION_ENABLED_INITIAL_ONLY; tmp 650 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~CONTINUOUS_CLK_MASK; tmp 652 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= CLK_ENTER_LP_AFTER_DATA; tmp 654 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= CLK_HS_CONTINUOUS; tmp 657 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~PIX_BUF_THRESHOLD_MASK; tmp 658 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PIX_BUF_THRESHOLD_1_4; tmp 661 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~PIX_VIRT_CHAN_MASK; tmp 662 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PIX_VIRT_CHAN(0); tmp 666 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= BGR_TRANSMISSION; tmp 669 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~PIX_FMT_MASK; tmp 675 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PIX_FMT_RGB565; tmp 678 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PIX_FMT_RGB666_PACKED; tmp 681 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PIX_FMT_RGB666_LOOSE; tmp 684 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PIX_FMT_RGB888; tmp 690 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= BLANKING_PACKET_ENABLE; tmp 695 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~OP_MODE_MASK; tmp 701 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= VIDEO_MODE_SYNC_EVENT; tmp 704 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= VIDEO_MODE_SYNC_PULSE; tmp 709 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DSI_TRANS_FUNC_CONF(dsi_trans), tmp); tmp 716 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL2(dsi_trans)); tmp 717 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PORT_SYNC_MODE_ENABLE; tmp 718 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(TRANS_DDI_FUNC_CTL2(dsi_trans), tmp); tmp 729 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(dsi_trans)); tmp 730 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~DDI_PORT_WIDTH_MASK; tmp 731 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= DDI_PORT_WIDTH(intel_dsi->lane_count); tmp 734 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~TRANS_DDI_EDP_INPUT_MASK; tmp 740 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TRANS_DDI_EDP_INPUT_A_ON; tmp 743 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TRANS_DDI_EDP_INPUT_B_ONOFF; tmp 746 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TRANS_DDI_EDP_INPUT_C_ONOFF; tmp 751 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TRANS_DDI_FUNC_ENABLE; tmp 752 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(TRANS_DDI_FUNC_CTL(dsi_trans), tmp); tmp 892 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 896 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(PIPECONF(dsi_trans)); tmp 897 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= PIPECONF_ENABLE; tmp 898 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(PIPECONF(dsi_trans), tmp); tmp 913 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp, hs_tx_timeout, lp_rx_timeout, ta_timeout, divisor, mul; tmp 933 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DSI_HSTX_TO(dsi_trans)); tmp 934 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~HSTX_TIMEOUT_VALUE_MASK; tmp 935 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= HSTX_TIMEOUT_VALUE(hs_tx_timeout); tmp 936 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DSI_HSTX_TO(dsi_trans), tmp); tmp 941 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DSI_LPRX_HOST_TO(dsi_trans)); tmp 942 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~LPRX_TIMEOUT_VALUE_MASK; tmp 943 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= LPRX_TIMEOUT_VALUE(lp_rx_timeout); tmp 944 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DSI_LPRX_HOST_TO(dsi_trans), tmp); tmp 949 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DSI_TA_TO(dsi_trans)); tmp 950 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~TA_TIMEOUT_VALUE_MASK; tmp 951 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= TA_TIMEOUT_VALUE(ta_timeout); tmp 952 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DSI_TA_TO(dsi_trans), tmp); tmp 995 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 1006 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DSI_CMD_RXCTL(dsi_trans)); tmp 1007 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= NUMBER_RX_PLOAD_DW_MASK; tmp 1009 drivers/gpu/drm/i915/display/icl_dsi.c tmp = tmp * 4; tmp 1011 drivers/gpu/drm/i915/display/icl_dsi.c ret = mipi_dsi_set_maximum_return_packet_size(dsi, tmp); tmp 1013 drivers/gpu/drm/i915/display/icl_dsi.c DRM_ERROR("error setting max return pkt size%d\n", tmp); tmp 1070 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 1076 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(PIPECONF(dsi_trans)); tmp 1077 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~PIPECONF_ENABLE; tmp 1078 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(PIPECONF(dsi_trans), tmp); tmp 1105 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 1110 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DSI_LP_MSG(dsi_trans)); tmp 1111 drivers/gpu/drm/i915/display/icl_dsi.c tmp |= LINK_ENTER_ULPS; tmp 1112 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~LINK_ULPS_TYPE_LP11; tmp 1113 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DSI_LP_MSG(dsi_trans), tmp); tmp 1124 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(dsi_trans)); tmp 1125 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~TRANS_DDI_FUNC_ENABLE; tmp 1126 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(TRANS_DDI_FUNC_CTL(dsi_trans), tmp); tmp 1133 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL2(dsi_trans)); tmp 1134 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~PORT_SYNC_MODE_ENABLE; tmp 1135 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(TRANS_DDI_FUNC_CTL2(dsi_trans), tmp); tmp 1144 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 1149 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(DDI_BUF_CTL(port)); tmp 1150 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~DDI_BUF_CTL_ENABLE; tmp 1151 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(DDI_BUF_CTL(port), tmp); tmp 1167 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 1182 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(ICL_DSI_IO_MODECTL(port)); tmp 1183 drivers/gpu/drm/i915/display/icl_dsi.c tmp &= ~COMBO_PHY_MODE_DSI; tmp 1184 drivers/gpu/drm/i915/display/icl_dsi.c I915_WRITE(ICL_DSI_IO_MODECTL(port), tmp); tmp 1308 drivers/gpu/drm/i915/display/icl_dsi.c u32 tmp; tmp 1317 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(dsi_trans)); tmp 1318 drivers/gpu/drm/i915/display/icl_dsi.c switch (tmp & TRANS_DDI_EDP_INPUT_MASK) { tmp 1333 drivers/gpu/drm/i915/display/icl_dsi.c tmp = I915_READ(PIPECONF(dsi_trans)); tmp 1334 drivers/gpu/drm/i915/display/icl_dsi.c ret = tmp & PIPECONF_ENABLE; tmp 290 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp; tmp 293 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(reg_eldv); tmp 294 drivers/gpu/drm/i915/display/intel_audio.c tmp &= bits_eldv; tmp 296 drivers/gpu/drm/i915/display/intel_audio.c if (!tmp) tmp 299 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(reg_elda); tmp 300 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~bits_elda; tmp 301 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(reg_elda, tmp); tmp 315 drivers/gpu/drm/i915/display/intel_audio.c u32 eldv, tmp; tmp 319 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(G4X_AUD_VID_DID); tmp 320 drivers/gpu/drm/i915/display/intel_audio.c if (tmp == INTEL_AUDIO_DEVBLC || tmp == INTEL_AUDIO_DEVCL) tmp 326 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(G4X_AUD_CNTL_ST); tmp 327 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~eldv; tmp 328 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(G4X_AUD_CNTL_ST, tmp); tmp 339 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp; tmp 344 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(G4X_AUD_VID_DID); tmp 345 drivers/gpu/drm/i915/display/intel_audio.c if (tmp == INTEL_AUDIO_DEVBLC || tmp == INTEL_AUDIO_DEVCL) tmp 356 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(G4X_AUD_CNTL_ST); tmp 357 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~(eldv | G4X_ELD_ADDR_MASK); tmp 358 drivers/gpu/drm/i915/display/intel_audio.c len = (tmp >> 9) & 0x1f; /* ELD buffer size */ tmp 359 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(G4X_AUD_CNTL_ST, tmp); tmp 366 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(G4X_AUD_CNTL_ST); tmp 367 drivers/gpu/drm/i915/display/intel_audio.c tmp |= eldv; tmp 368 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(G4X_AUD_CNTL_ST, tmp); tmp 381 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp; tmp 390 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_CFG(cpu_transcoder)); tmp 391 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_VALUE_INDEX; tmp 392 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_PIXEL_CLOCK_HDMI_MASK; tmp 393 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_PROG_ENABLE; tmp 394 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N_VALUE_INDEX; tmp 397 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_MASK; tmp 398 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N(nm->n); tmp 399 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N_PROG_ENABLE; tmp 402 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_CFG(cpu_transcoder), tmp); tmp 404 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_M_CTS_ENABLE(cpu_transcoder)); tmp 405 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_M_MASK; tmp 406 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_M_CTS_M_VALUE_INDEX; tmp 407 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_M_CTS_M_PROG_ENABLE; tmp 410 drivers/gpu/drm/i915/display/intel_audio.c tmp |= nm->m; tmp 411 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_M_CTS_M_VALUE_INDEX; tmp 412 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_M_CTS_M_PROG_ENABLE; tmp 415 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_M_CTS_ENABLE(cpu_transcoder), tmp); tmp 427 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp; tmp 431 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_CFG(cpu_transcoder)); tmp 432 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_VALUE_INDEX; tmp 433 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_PIXEL_CLOCK_HDMI_MASK; tmp 434 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_PROG_ENABLE; tmp 435 drivers/gpu/drm/i915/display/intel_audio.c tmp |= audio_config_hdmi_pixel_clock(crtc_state); tmp 441 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_MASK; tmp 442 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N(n); tmp 443 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N_PROG_ENABLE; tmp 448 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_CFG(cpu_transcoder), tmp); tmp 454 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_M_CTS_ENABLE(cpu_transcoder)); tmp 455 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_M_CTS_M_PROG_ENABLE; tmp 456 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_M_CTS_M_VALUE_INDEX; tmp 457 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_M_CTS_ENABLE(cpu_transcoder), tmp); tmp 476 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp; tmp 484 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_CFG(cpu_transcoder)); tmp 485 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_VALUE_INDEX; tmp 486 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N_PROG_ENABLE; tmp 487 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_UPPER_N_MASK; tmp 488 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_LOWER_N_MASK; tmp 490 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N_VALUE_INDEX; tmp 491 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_CFG(cpu_transcoder), tmp); tmp 494 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_PIN_ELD_CP_VLD); tmp 495 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUDIO_ELD_VALID(cpu_transcoder); tmp 496 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUDIO_OUTPUT_ENABLE(cpu_transcoder); tmp 497 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_PIN_ELD_CP_VLD, tmp); tmp 510 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp; tmp 519 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_PIN_ELD_CP_VLD); tmp 520 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUDIO_OUTPUT_ENABLE(cpu_transcoder); tmp 521 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUDIO_ELD_VALID(cpu_transcoder); tmp 522 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_PIN_ELD_CP_VLD, tmp); tmp 532 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_DIP_ELD_CTRL(cpu_transcoder)); tmp 533 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~IBX_ELD_ADDRESS_MASK; tmp 534 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_DIP_ELD_CTRL(cpu_transcoder), tmp); tmp 542 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_PIN_ELD_CP_VLD); tmp 543 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUDIO_ELD_VALID(cpu_transcoder); tmp 544 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_PIN_ELD_CP_VLD, tmp); tmp 560 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp, eldv; tmp 581 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(aud_config); tmp 582 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_VALUE_INDEX; tmp 583 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N_PROG_ENABLE; tmp 584 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_UPPER_N_MASK; tmp 585 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_LOWER_N_MASK; tmp 587 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N_VALUE_INDEX; tmp 588 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(aud_config, tmp); tmp 593 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(aud_cntrl_st2); tmp 594 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~eldv; tmp 595 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(aud_cntrl_st2, tmp); tmp 608 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp, eldv; tmp 646 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(aud_cntrl_st2); tmp 647 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~eldv; tmp 648 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(aud_cntrl_st2, tmp); tmp 651 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(aud_cntl_st); tmp 652 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~IBX_ELD_ADDRESS_MASK; tmp 653 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(aud_cntl_st, tmp); tmp 661 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(aud_cntrl_st2); tmp 662 drivers/gpu/drm/i915/display/intel_audio.c tmp |= eldv; tmp 663 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(aud_cntrl_st2, tmp); tmp 666 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(aud_config); tmp 667 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_VALUE_INDEX; tmp 668 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_N_PROG_ENABLE; tmp 669 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~AUD_CONFIG_PIXEL_CLOCK_HDMI_MASK; tmp 671 drivers/gpu/drm/i915/display/intel_audio.c tmp |= AUD_CONFIG_N_VALUE_INDEX; tmp 673 drivers/gpu/drm/i915/display/intel_audio.c tmp |= audio_config_hdmi_pixel_clock(crtc_state); tmp 674 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(aud_config, tmp); tmp 879 drivers/gpu/drm/i915/display/intel_audio.c u32 tmp; tmp 890 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_CHICKENBIT); tmp 891 drivers/gpu/drm/i915/display/intel_audio.c tmp &= ~SKL_AUD_CODEC_WAKE_SIGNAL; tmp 892 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_CHICKENBIT, tmp); tmp 896 drivers/gpu/drm/i915/display/intel_audio.c tmp = I915_READ(HSW_AUD_CHICKENBIT); tmp 897 drivers/gpu/drm/i915/display/intel_audio.c tmp |= SKL_AUD_CODEC_WAKE_SIGNAL; tmp 898 drivers/gpu/drm/i915/display/intel_audio.c I915_WRITE(HSW_AUD_CHICKENBIT, tmp); tmp 223 drivers/gpu/drm/i915/display/intel_cdclk.c u8 tmp = 0; tmp 239 drivers/gpu/drm/i915/display/intel_cdclk.c tmp = I915_READ(IS_PINEVIEW(dev_priv) || IS_MOBILE(dev_priv) ? tmp 242 drivers/gpu/drm/i915/display/intel_cdclk.c vco = vco_table[tmp & 0x7]; tmp 244 drivers/gpu/drm/i915/display/intel_cdclk.c DRM_ERROR("Bad HPLL VCO (HPLLVCO=0x%02x)\n", tmp); tmp 261 drivers/gpu/drm/i915/display/intel_cdclk.c u16 tmp = 0; tmp 265 drivers/gpu/drm/i915/display/intel_cdclk.c pci_read_config_word(pdev, GCFGC, &tmp); tmp 267 drivers/gpu/drm/i915/display/intel_cdclk.c cdclk_sel = (tmp >> 4) & 0x7; tmp 295 drivers/gpu/drm/i915/display/intel_cdclk.c cdclk_state->vco, tmp); tmp 341 drivers/gpu/drm/i915/display/intel_cdclk.c u16 tmp = 0; tmp 345 drivers/gpu/drm/i915/display/intel_cdclk.c pci_read_config_word(pdev, GCFGC, &tmp); tmp 347 drivers/gpu/drm/i915/display/intel_cdclk.c cdclk_sel = ((tmp >> 8) & 0x1f) - 1; tmp 372 drivers/gpu/drm/i915/display/intel_cdclk.c cdclk_state->vco, tmp); tmp 381 drivers/gpu/drm/i915/display/intel_cdclk.c u16 tmp = 0; tmp 385 drivers/gpu/drm/i915/display/intel_cdclk.c pci_read_config_word(pdev, GCFGC, &tmp); tmp 387 drivers/gpu/drm/i915/display/intel_cdclk.c cdclk_sel = (tmp >> 12) & 0x1; tmp 400 drivers/gpu/drm/i915/display/intel_cdclk.c cdclk_state->vco, tmp); tmp 113 drivers/gpu/drm/i915/display/intel_crt.c u32 tmp, flags = 0; tmp 115 drivers/gpu/drm/i915/display/intel_crt.c tmp = I915_READ(crt->adpa_reg); tmp 117 drivers/gpu/drm/i915/display/intel_crt.c if (tmp & ADPA_HSYNC_ACTIVE_HIGH) tmp 122 drivers/gpu/drm/i915/display/intel_crt.c if (tmp & ADPA_VSYNC_ACTIVE_HIGH) tmp 794 drivers/gpu/drm/i915/display/intel_crt.c struct intel_load_detect_pipe tmp; tmp 847 drivers/gpu/drm/i915/display/intel_crt.c ret = intel_get_load_detect_pipe(connector, NULL, &tmp, ctx); tmp 858 drivers/gpu/drm/i915/display/intel_crt.c intel_release_load_detect_pipe(connector, &tmp, ctx); tmp 1412 drivers/gpu/drm/i915/display/intel_ddi.c u64 tmp; tmp 1453 drivers/gpu/drm/i915/display/intel_ddi.c tmp = (u64)m1 * m2_int * ref_clock + tmp 1455 drivers/gpu/drm/i915/display/intel_ddi.c tmp = div_u64(tmp, 5 * div1 * div2); tmp 1457 drivers/gpu/drm/i915/display/intel_ddi.c return tmp; tmp 1884 drivers/gpu/drm/i915/display/intel_ddi.c u32 tmp; tmp 1896 drivers/gpu/drm/i915/display/intel_ddi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(pipe)); tmp 1898 drivers/gpu/drm/i915/display/intel_ddi.c tmp |= TRANS_DDI_HDCP_SIGNALLING; tmp 1900 drivers/gpu/drm/i915/display/intel_ddi.c tmp &= ~TRANS_DDI_HDCP_SIGNALLING; tmp 1901 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(TRANS_DDI_FUNC_CTL(pipe), tmp); tmp 1917 drivers/gpu/drm/i915/display/intel_ddi.c u32 tmp; tmp 1935 drivers/gpu/drm/i915/display/intel_ddi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(cpu_transcoder)); tmp 1937 drivers/gpu/drm/i915/display/intel_ddi.c switch (tmp & TRANS_DDI_MODE_SELECT_MASK) { tmp 1977 drivers/gpu/drm/i915/display/intel_ddi.c u32 tmp; tmp 1988 drivers/gpu/drm/i915/display/intel_ddi.c tmp = I915_READ(DDI_BUF_CTL(port)); tmp 1989 drivers/gpu/drm/i915/display/intel_ddi.c if (!(tmp & DDI_BUF_CTL_ENABLE)) tmp 1993 drivers/gpu/drm/i915/display/intel_ddi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(TRANSCODER_EDP)); tmp 1995 drivers/gpu/drm/i915/display/intel_ddi.c switch (tmp & TRANS_DDI_EDP_INPUT_MASK) { tmp 1997 drivers/gpu/drm/i915/display/intel_ddi.c MISSING_CASE(tmp & TRANS_DDI_EDP_INPUT_MASK); tmp 2033 drivers/gpu/drm/i915/display/intel_ddi.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(cpu_transcoder)); tmp 2037 drivers/gpu/drm/i915/display/intel_ddi.c if ((tmp & port_mask) != ddi_select) tmp 2040 drivers/gpu/drm/i915/display/intel_ddi.c if ((tmp & TRANS_DDI_MODE_SELECT_MASK) == tmp 2065 drivers/gpu/drm/i915/display/intel_ddi.c tmp = I915_READ(BXT_PHY_CTL(port)); tmp 2066 drivers/gpu/drm/i915/display/intel_ddi.c if ((tmp & (BXT_PHY_CMNLANE_POWERDOWN_ACK | tmp 2070 drivers/gpu/drm/i915/display/intel_ddi.c "(PHY_CTL %08x)\n", port_name(port), tmp); tmp 2186 drivers/gpu/drm/i915/display/intel_ddi.c u32 tmp; tmp 2188 drivers/gpu/drm/i915/display/intel_ddi.c tmp = I915_READ(DISPIO_CR_TX_BMU_CR0); tmp 2189 drivers/gpu/drm/i915/display/intel_ddi.c tmp &= ~(BALANCE_LEG_MASK(port) | BALANCE_LEG_DISABLE(port)); tmp 2191 drivers/gpu/drm/i915/display/intel_ddi.c tmp |= iboost << BALANCE_LEG_SHIFT(port); tmp 2193 drivers/gpu/drm/i915/display/intel_ddi.c tmp |= BALANCE_LEG_DISABLE(port); tmp 2194 drivers/gpu/drm/i915/display/intel_ddi.c I915_WRITE(DISPIO_CR_TX_BMU_CR0, tmp); tmp 1414 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 1419 drivers/gpu/drm/i915/display/intel_display.c tmp = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW14(port)); tmp 1420 drivers/gpu/drm/i915/display/intel_display.c tmp |= DPIO_DCLKP_EN; tmp 1421 drivers/gpu/drm/i915/display/intel_display.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW14(port), tmp); tmp 4377 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 4379 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPE_CHICKEN(pipe)); tmp 4386 drivers/gpu/drm/i915/display/intel_display.c tmp |= PER_PIXEL_ALPHA_BYPASS_EN; tmp 4393 drivers/gpu/drm/i915/display/intel_display.c tmp |= PIXEL_ROUNDING_TRUNC_FB_PASSTHRU; tmp 4394 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(PIPE_CHICKEN(pipe), tmp); tmp 8202 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 8204 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(HTOTAL(cpu_transcoder)); tmp 8205 drivers/gpu/drm/i915/display/intel_display.c pipe_config->base.adjusted_mode.crtc_hdisplay = (tmp & 0xffff) + 1; tmp 8206 drivers/gpu/drm/i915/display/intel_display.c pipe_config->base.adjusted_mode.crtc_htotal = ((tmp >> 16) & 0xffff) + 1; tmp 8209 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(HBLANK(cpu_transcoder)); tmp 8211 drivers/gpu/drm/i915/display/intel_display.c (tmp & 0xffff) + 1; tmp 8213 drivers/gpu/drm/i915/display/intel_display.c ((tmp >> 16) & 0xffff) + 1; tmp 8215 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(HSYNC(cpu_transcoder)); tmp 8216 drivers/gpu/drm/i915/display/intel_display.c pipe_config->base.adjusted_mode.crtc_hsync_start = (tmp & 0xffff) + 1; tmp 8217 drivers/gpu/drm/i915/display/intel_display.c pipe_config->base.adjusted_mode.crtc_hsync_end = ((tmp >> 16) & 0xffff) + 1; tmp 8219 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(VTOTAL(cpu_transcoder)); tmp 8220 drivers/gpu/drm/i915/display/intel_display.c pipe_config->base.adjusted_mode.crtc_vdisplay = (tmp & 0xffff) + 1; tmp 8221 drivers/gpu/drm/i915/display/intel_display.c pipe_config->base.adjusted_mode.crtc_vtotal = ((tmp >> 16) & 0xffff) + 1; tmp 8224 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(VBLANK(cpu_transcoder)); tmp 8226 drivers/gpu/drm/i915/display/intel_display.c (tmp & 0xffff) + 1; tmp 8228 drivers/gpu/drm/i915/display/intel_display.c ((tmp >> 16) & 0xffff) + 1; tmp 8230 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(VSYNC(cpu_transcoder)); tmp 8231 drivers/gpu/drm/i915/display/intel_display.c pipe_config->base.adjusted_mode.crtc_vsync_start = (tmp & 0xffff) + 1; tmp 8232 drivers/gpu/drm/i915/display/intel_display.c pipe_config->base.adjusted_mode.crtc_vsync_end = ((tmp >> 16) & 0xffff) + 1; tmp 8246 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 8248 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPESRC(crtc->pipe)); tmp 8249 drivers/gpu/drm/i915/display/intel_display.c pipe_config->pipe_src_h = (tmp & 0xffff) + 1; tmp 8250 drivers/gpu/drm/i915/display/intel_display.c pipe_config->pipe_src_w = ((tmp >> 16) & 0xffff) + 1; tmp 8539 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 8544 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PFIT_CONTROL); tmp 8545 drivers/gpu/drm/i915/display/intel_display.c if (!(tmp & PFIT_ENABLE)) tmp 8553 drivers/gpu/drm/i915/display/intel_display.c if ((tmp & PFIT_PIPE_MASK) != (crtc->pipe << PFIT_PIPE_SHIFT)) tmp 8557 drivers/gpu/drm/i915/display/intel_display.c pipe_config->gmch_pfit.control = tmp; tmp 8714 drivers/gpu/drm/i915/display/intel_display.c u32 tmp = I915_READ(PIPEMISC(crtc->pipe)); tmp 8716 drivers/gpu/drm/i915/display/intel_display.c if (tmp & PIPEMISC_OUTPUT_COLORSPACE_YUV) { tmp 8717 drivers/gpu/drm/i915/display/intel_display.c bool ycbcr420_enabled = tmp & PIPEMISC_YUV420_ENABLE; tmp 8718 drivers/gpu/drm/i915/display/intel_display.c bool blend = tmp & PIPEMISC_YUV420_MODE_FULL_BLEND; tmp 8754 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 8756 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(DSPCNTR(i9xx_plane)); tmp 8758 drivers/gpu/drm/i915/display/intel_display.c if (tmp & DISPPLANE_GAMMA_ENABLE) tmp 8762 drivers/gpu/drm/i915/display/intel_display.c tmp & DISPPLANE_PIPE_CSC_ENABLE) tmp 8772 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 8786 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPECONF(crtc->pipe)); tmp 8787 drivers/gpu/drm/i915/display/intel_display.c if (!(tmp & PIPECONF_ENABLE)) tmp 8792 drivers/gpu/drm/i915/display/intel_display.c switch (tmp & PIPECONF_BPC_MASK) { tmp 8808 drivers/gpu/drm/i915/display/intel_display.c (tmp & PIPECONF_COLOR_RANGE_SELECT)) tmp 8811 drivers/gpu/drm/i915/display/intel_display.c pipe_config->gamma_mode = (tmp & PIPECONF_GAMMA_MODE_MASK_I9XX) >> tmp 8821 drivers/gpu/drm/i915/display/intel_display.c pipe_config->double_wide = tmp & PIPECONF_DOUBLE_WIDE; tmp 8831 drivers/gpu/drm/i915/display/intel_display.c tmp = dev_priv->chv_dpll_md[crtc->pipe]; tmp 8833 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(DPLL_MD(crtc->pipe)); tmp 8835 drivers/gpu/drm/i915/display/intel_display.c ((tmp & DPLL_MD_UDI_MULTIPLIER_MASK) tmp 8837 drivers/gpu/drm/i915/display/intel_display.c pipe_config->dpll_hw_state.dpll_md = tmp; tmp 8840 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(DPLL(crtc->pipe)); tmp 8842 drivers/gpu/drm/i915/display/intel_display.c ((tmp & SDVO_MULTIPLIER_MASK) tmp 9053 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 9055 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(SOUTH_CHICKEN2); tmp 9056 drivers/gpu/drm/i915/display/intel_display.c tmp |= FDI_MPHY_IOSFSB_RESET_CTL; tmp 9057 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SOUTH_CHICKEN2, tmp); tmp 9063 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(SOUTH_CHICKEN2); tmp 9064 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~FDI_MPHY_IOSFSB_RESET_CTL; tmp 9065 drivers/gpu/drm/i915/display/intel_display.c I915_WRITE(SOUTH_CHICKEN2, tmp); tmp 9075 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 9077 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x8008, SBI_MPHY); tmp 9078 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~(0xFF << 24); tmp 9079 drivers/gpu/drm/i915/display/intel_display.c tmp |= (0x12 << 24); tmp 9080 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x8008, tmp, SBI_MPHY); tmp 9082 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x2008, SBI_MPHY); tmp 9083 drivers/gpu/drm/i915/display/intel_display.c tmp |= (1 << 11); tmp 9084 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x2008, tmp, SBI_MPHY); tmp 9086 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x2108, SBI_MPHY); tmp 9087 drivers/gpu/drm/i915/display/intel_display.c tmp |= (1 << 11); tmp 9088 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x2108, tmp, SBI_MPHY); tmp 9090 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x206C, SBI_MPHY); tmp 9091 drivers/gpu/drm/i915/display/intel_display.c tmp |= (1 << 24) | (1 << 21) | (1 << 18); tmp 9092 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x206C, tmp, SBI_MPHY); tmp 9094 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x216C, SBI_MPHY); tmp 9095 drivers/gpu/drm/i915/display/intel_display.c tmp |= (1 << 24) | (1 << 21) | (1 << 18); tmp 9096 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x216C, tmp, SBI_MPHY); tmp 9098 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x2080, SBI_MPHY); tmp 9099 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~(7 << 13); tmp 9100 drivers/gpu/drm/i915/display/intel_display.c tmp |= (5 << 13); tmp 9101 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x2080, tmp, SBI_MPHY); tmp 9103 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x2180, SBI_MPHY); tmp 9104 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~(7 << 13); tmp 9105 drivers/gpu/drm/i915/display/intel_display.c tmp |= (5 << 13); tmp 9106 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x2180, tmp, SBI_MPHY); tmp 9108 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x208C, SBI_MPHY); tmp 9109 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~0xFF; tmp 9110 drivers/gpu/drm/i915/display/intel_display.c tmp |= 0x1C; tmp 9111 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x208C, tmp, SBI_MPHY); tmp 9113 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x218C, SBI_MPHY); tmp 9114 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~0xFF; tmp 9115 drivers/gpu/drm/i915/display/intel_display.c tmp |= 0x1C; tmp 9116 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x218C, tmp, SBI_MPHY); tmp 9118 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x2098, SBI_MPHY); tmp 9119 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~(0xFF << 16); tmp 9120 drivers/gpu/drm/i915/display/intel_display.c tmp |= (0x1C << 16); tmp 9121 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x2098, tmp, SBI_MPHY); tmp 9123 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x2198, SBI_MPHY); tmp 9124 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~(0xFF << 16); tmp 9125 drivers/gpu/drm/i915/display/intel_display.c tmp |= (0x1C << 16); tmp 9126 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x2198, tmp, SBI_MPHY); tmp 9128 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x20C4, SBI_MPHY); tmp 9129 drivers/gpu/drm/i915/display/intel_display.c tmp |= (1 << 27); tmp 9130 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x20C4, tmp, SBI_MPHY); tmp 9132 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x21C4, SBI_MPHY); tmp 9133 drivers/gpu/drm/i915/display/intel_display.c tmp |= (1 << 27); tmp 9134 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x21C4, tmp, SBI_MPHY); tmp 9136 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x20EC, SBI_MPHY); tmp 9137 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~(0xF << 28); tmp 9138 drivers/gpu/drm/i915/display/intel_display.c tmp |= (4 << 28); tmp 9139 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x20EC, tmp, SBI_MPHY); tmp 9141 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, 0x21EC, SBI_MPHY); tmp 9142 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~(0xF << 28); tmp 9143 drivers/gpu/drm/i915/display/intel_display.c tmp |= (4 << 28); tmp 9144 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, 0x21EC, tmp, SBI_MPHY); tmp 9156 drivers/gpu/drm/i915/display/intel_display.c u32 reg, tmp; tmp 9166 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, SBI_SSCCTL, SBI_ICLK); tmp 9167 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~SBI_SSCCTL_DISABLE; tmp 9168 drivers/gpu/drm/i915/display/intel_display.c tmp |= SBI_SSCCTL_PATHALT; tmp 9169 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCCTL, tmp, SBI_ICLK); tmp 9174 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, SBI_SSCCTL, SBI_ICLK); tmp 9175 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~SBI_SSCCTL_PATHALT; tmp 9176 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCCTL, tmp, SBI_ICLK); tmp 9185 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, reg, SBI_ICLK); tmp 9186 drivers/gpu/drm/i915/display/intel_display.c tmp |= SBI_GEN0_CFG_BUFFENABLE_DISABLE; tmp 9187 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, reg, tmp, SBI_ICLK); tmp 9195 drivers/gpu/drm/i915/display/intel_display.c u32 reg, tmp; tmp 9200 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, reg, SBI_ICLK); tmp 9201 drivers/gpu/drm/i915/display/intel_display.c tmp &= ~SBI_GEN0_CFG_BUFFENABLE_DISABLE; tmp 9202 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, reg, tmp, SBI_ICLK); tmp 9204 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, SBI_SSCCTL, SBI_ICLK); tmp 9205 drivers/gpu/drm/i915/display/intel_display.c if (!(tmp & SBI_SSCCTL_DISABLE)) { tmp 9206 drivers/gpu/drm/i915/display/intel_display.c if (!(tmp & SBI_SSCCTL_PATHALT)) { tmp 9207 drivers/gpu/drm/i915/display/intel_display.c tmp |= SBI_SSCCTL_PATHALT; tmp 9208 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCCTL, tmp, SBI_ICLK); tmp 9211 drivers/gpu/drm/i915/display/intel_display.c tmp |= SBI_SSCCTL_DISABLE; tmp 9212 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCCTL, tmp, SBI_ICLK); tmp 9252 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 9264 drivers/gpu/drm/i915/display/intel_display.c tmp = 0xAAAAAAAB; tmp 9266 drivers/gpu/drm/i915/display/intel_display.c tmp = 0x00000000; tmp 9267 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCDITHPHASE, tmp, SBI_ICLK); tmp 9269 drivers/gpu/drm/i915/display/intel_display.c tmp = intel_sbi_read(dev_priv, SBI_SSCDIVINTPHASE, SBI_ICLK); tmp 9270 drivers/gpu/drm/i915/display/intel_display.c tmp &= 0xffff0000; tmp 9271 drivers/gpu/drm/i915/display/intel_display.c tmp |= sscdivintphase[idx]; tmp 9272 drivers/gpu/drm/i915/display/intel_display.c intel_sbi_write(dev_priv, SBI_SSCDIVINTPHASE, tmp, SBI_ICLK); tmp 9496 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 9498 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPEMISC(crtc->pipe)); tmp 9500 drivers/gpu/drm/i915/display/intel_display.c switch (tmp & PIPEMISC_DITHER_BPC_MASK) { tmp 9510 drivers/gpu/drm/i915/display/intel_display.c MISSING_CASE(tmp); tmp 9923 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 9925 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PF_CTL(crtc->pipe)); tmp 9927 drivers/gpu/drm/i915/display/intel_display.c if (tmp & PF_ENABLE) { tmp 9936 drivers/gpu/drm/i915/display/intel_display.c WARN_ON((tmp & PF_PIPE_SEL_MASK_IVB) != tmp 9949 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 9962 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPECONF(crtc->pipe)); tmp 9963 drivers/gpu/drm/i915/display/intel_display.c if (!(tmp & PIPECONF_ENABLE)) tmp 9966 drivers/gpu/drm/i915/display/intel_display.c switch (tmp & PIPECONF_BPC_MASK) { tmp 9983 drivers/gpu/drm/i915/display/intel_display.c if (tmp & PIPECONF_COLOR_RANGE_SELECT) tmp 9986 drivers/gpu/drm/i915/display/intel_display.c pipe_config->gamma_mode = (tmp & PIPECONF_GAMMA_MODE_MASK_ILK) >> tmp 10000 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(FDI_RX_CTL(crtc->pipe)); tmp 10001 drivers/gpu/drm/i915/display/intel_display.c pipe_config->fdi_lanes = ((FDI_DP_PORT_WIDTH_MASK & tmp) >> tmp 10013 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PCH_DPLL_SEL); tmp 10014 drivers/gpu/drm/i915/display/intel_display.c if (tmp & TRANS_DPLLB_SEL(crtc->pipe)) tmp 10027 drivers/gpu/drm/i915/display/intel_display.c tmp = pipe_config->dpll_hw_state.dpll; tmp 10029 drivers/gpu/drm/i915/display/intel_display.c ((tmp & PLL_REF_SDVO_HDMI_MULTIPLIER_MASK) tmp 10212 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 10237 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(panel_transcoder)); tmp 10238 drivers/gpu/drm/i915/display/intel_display.c if (!(tmp & TRANS_DDI_FUNC_ENABLE)) tmp 10250 drivers/gpu/drm/i915/display/intel_display.c switch (tmp & TRANS_DDI_EDP_INPUT_MASK) { tmp 10291 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(PIPECONF(pipe_config->cpu_transcoder)); tmp 10293 drivers/gpu/drm/i915/display/intel_display.c return tmp & PIPECONF_ENABLE; tmp 10307 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 10336 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(BXT_MIPI_PORT_CTRL(port)); tmp 10337 drivers/gpu/drm/i915/display/intel_display.c if (!(tmp & DPI_ENABLE)) tmp 10340 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(MIPI_CTRL(port)); tmp 10341 drivers/gpu/drm/i915/display/intel_display.c if ((tmp & BXT_PIPE_SELECT_MASK) != BXT_PIPE_SELECT(crtc->pipe)) tmp 10357 drivers/gpu/drm/i915/display/intel_display.c u32 tmp; tmp 10359 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(TRANS_DDI_FUNC_CTL(pipe_config->cpu_transcoder)); tmp 10362 drivers/gpu/drm/i915/display/intel_display.c port = TGL_TRANS_DDI_FUNC_CTL_VAL_TO_PORT(tmp); tmp 10364 drivers/gpu/drm/i915/display/intel_display.c port = TRANS_DDI_FUNC_CTL_VAL_TO_PORT(tmp); tmp 10392 drivers/gpu/drm/i915/display/intel_display.c tmp = I915_READ(FDI_RX_CTL(PIPE_A)); tmp 10393 drivers/gpu/drm/i915/display/intel_display.c pipe_config->fdi_lanes = ((FDI_DP_PORT_WIDTH_MASK & tmp) >> tmp 10448 drivers/gpu/drm/i915/display/intel_display.c u32 tmp = I915_READ(SKL_BOTTOM_COLOR(crtc->pipe)); tmp 10450 drivers/gpu/drm/i915/display/intel_display.c if (tmp & SKL_BOTTOM_COLOR_GAMMA_ENABLE) tmp 10453 drivers/gpu/drm/i915/display/intel_display.c if (tmp & SKL_BOTTOM_COLOR_CSC_ENABLE) tmp 959 drivers/gpu/drm/i915/display/intel_display_power.c u32 tmp = I915_READ(DBUF_CTL); tmp 961 drivers/gpu/drm/i915/display/intel_display_power.c WARN((tmp & (DBUF_POWER_STATE | DBUF_POWER_REQUEST)) != tmp 963 drivers/gpu/drm/i915/display/intel_display_power.c "Unexpected DBuf power power state (0x%08x)\n", tmp); tmp 1398 drivers/gpu/drm/i915/display/intel_display_power.c u32 tmp; tmp 1423 drivers/gpu/drm/i915/display/intel_display_power.c tmp = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW28); tmp 1424 drivers/gpu/drm/i915/display/intel_display_power.c tmp |= DPIO_DYNPWRDOWNEN_CH0 | DPIO_CL1POWERDOWNEN | tmp 1426 drivers/gpu/drm/i915/display/intel_display_power.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW28, tmp); tmp 1429 drivers/gpu/drm/i915/display/intel_display_power.c tmp = vlv_dpio_read(dev_priv, pipe, _CHV_CMN_DW6_CH1); tmp 1430 drivers/gpu/drm/i915/display/intel_display_power.c tmp |= DPIO_DYNPWRDOWNEN_CH1; tmp 1431 drivers/gpu/drm/i915/display/intel_display_power.c vlv_dpio_write(dev_priv, pipe, _CHV_CMN_DW6_CH1, tmp); tmp 1438 drivers/gpu/drm/i915/display/intel_display_power.c tmp = vlv_dpio_read(dev_priv, pipe, CHV_CMN_DW30); tmp 1439 drivers/gpu/drm/i915/display/intel_display_power.c tmp |= DPIO_CL2_LDOFUSE_PWRENB; tmp 1440 drivers/gpu/drm/i915/display/intel_display_power.c vlv_dpio_write(dev_priv, pipe, CHV_CMN_DW30, tmp); tmp 3147 drivers/gpu/drm/i915/display/intel_dp.c u32 tmp, flags = 0; tmp 3156 drivers/gpu/drm/i915/display/intel_dp.c tmp = I915_READ(intel_dp->output_reg); tmp 3158 drivers/gpu/drm/i915/display/intel_dp.c pipe_config->has_audio = tmp & DP_AUDIO_OUTPUT_ENABLE && port != PORT_A; tmp 3173 drivers/gpu/drm/i915/display/intel_dp.c if (tmp & DP_SYNC_HS_HIGH) tmp 3178 drivers/gpu/drm/i915/display/intel_dp.c if (tmp & DP_SYNC_VS_HIGH) tmp 3186 drivers/gpu/drm/i915/display/intel_dp.c if (IS_G4X(dev_priv) && tmp & DP_COLOR_RANGE_16_235) tmp 3190 drivers/gpu/drm/i915/display/intel_dp.c ((tmp & DP_PORT_WIDTH_MASK) >> DP_PORT_WIDTH_SHIFT) + 1; tmp 2708 drivers/gpu/drm/i915/display/intel_dpll_mgr.c u64 tmp; tmp 2733 drivers/gpu/drm/i915/display/intel_dpll_mgr.c tmp = (u64)m2div_rem * (1 << 22); tmp 2734 drivers/gpu/drm/i915/display/intel_dpll_mgr.c do_div(tmp, refclk_khz * m1div); tmp 2735 drivers/gpu/drm/i915/display/intel_dpll_mgr.c m2div_frac = tmp; tmp 2792 drivers/gpu/drm/i915/display/intel_dpll_mgr.c tmp = mul_u32_u32(dco_khz, 47 * 32); tmp 2793 drivers/gpu/drm/i915/display/intel_dpll_mgr.c do_div(tmp, refclk_khz * m1div * 10000); tmp 2794 drivers/gpu/drm/i915/display/intel_dpll_mgr.c ssc_stepsize = tmp; tmp 2796 drivers/gpu/drm/i915/display/intel_dpll_mgr.c tmp = mul_u32_u32(dco_khz, 1000); tmp 2797 drivers/gpu/drm/i915/display/intel_dpll_mgr.c ssc_steplen = DIV_ROUND_UP_ULL(tmp, 32 * 2 * 32); tmp 221 drivers/gpu/drm/i915/display/intel_dsi_vbt.c u32 tmp; tmp 256 drivers/gpu/drm/i915/display/intel_dsi_vbt.c tmp = 0x4 | value; tmp 257 drivers/gpu/drm/i915/display/intel_dsi_vbt.c vlv_iosf_sb_write(dev_priv, port, padval, tmp); tmp 138 drivers/gpu/drm/i915/display/intel_dvo.c u32 tmp; tmp 140 drivers/gpu/drm/i915/display/intel_dvo.c tmp = I915_READ(intel_dvo->dev.dvo_reg); tmp 142 drivers/gpu/drm/i915/display/intel_dvo.c if (!(tmp & DVO_ENABLE)) tmp 153 drivers/gpu/drm/i915/display/intel_dvo.c u32 tmp; tmp 155 drivers/gpu/drm/i915/display/intel_dvo.c tmp = I915_READ(intel_dvo->dev.dvo_reg); tmp 157 drivers/gpu/drm/i915/display/intel_dvo.c *pipe = (tmp & DVO_PIPE_SEL_MASK) >> DVO_PIPE_SEL_SHIFT; tmp 159 drivers/gpu/drm/i915/display/intel_dvo.c return tmp & DVO_ENABLE; tmp 167 drivers/gpu/drm/i915/display/intel_dvo.c u32 tmp, flags = 0; tmp 171 drivers/gpu/drm/i915/display/intel_dvo.c tmp = I915_READ(intel_dvo->dev.dvo_reg); tmp 172 drivers/gpu/drm/i915/display/intel_dvo.c if (tmp & DVO_HSYNC_ACTIVE_HIGH) tmp 176 drivers/gpu/drm/i915/display/intel_dvo.c if (tmp & DVO_VSYNC_ACTIVE_HIGH) tmp 1783 drivers/gpu/drm/i915/display/intel_hdmi.c u32 tmp, flags = 0; tmp 1788 drivers/gpu/drm/i915/display/intel_hdmi.c tmp = I915_READ(intel_hdmi->hdmi_reg); tmp 1790 drivers/gpu/drm/i915/display/intel_hdmi.c if (tmp & SDVO_HSYNC_ACTIVE_HIGH) tmp 1795 drivers/gpu/drm/i915/display/intel_hdmi.c if (tmp & SDVO_VSYNC_ACTIVE_HIGH) tmp 1800 drivers/gpu/drm/i915/display/intel_hdmi.c if (tmp & HDMI_MODE_SELECT_HDMI) tmp 1809 drivers/gpu/drm/i915/display/intel_hdmi.c if (tmp & HDMI_AUDIO_ENABLE) tmp 1813 drivers/gpu/drm/i915/display/intel_hdmi.c tmp & HDMI_COLOR_RANGE_16_235) tmp 1818 drivers/gpu/drm/i915/display/intel_hdmi.c if ((tmp & SDVO_COLOR_FORMAT_MASK) == HDMI_COLOR_FORMAT_12bpc) tmp 124 drivers/gpu/drm/i915/display/intel_lvds.c u32 tmp, flags = 0; tmp 128 drivers/gpu/drm/i915/display/intel_lvds.c tmp = I915_READ(lvds_encoder->reg); tmp 129 drivers/gpu/drm/i915/display/intel_lvds.c if (tmp & LVDS_HSYNC_POLARITY) tmp 133 drivers/gpu/drm/i915/display/intel_lvds.c if (tmp & LVDS_VSYNC_POLARITY) tmp 142 drivers/gpu/drm/i915/display/intel_lvds.c tmp & LVDS_BORDER_ENABLE; tmp 146 drivers/gpu/drm/i915/display/intel_lvds.c tmp = I915_READ(PFIT_CONTROL); tmp 148 drivers/gpu/drm/i915/display/intel_lvds.c pipe_config->gmch_pfit.control |= tmp & PANEL_8TO6_DITHER_ENABLE; tmp 787 drivers/gpu/drm/i915/display/intel_opregion.c u32 tmp; tmp 794 drivers/gpu/drm/i915/display/intel_opregion.c if (swsci(dev_priv, SWSCI_GBDA_SUPPORTED_CALLS, 0, &tmp) == 0) { tmp 796 drivers/gpu/drm/i915/display/intel_opregion.c tmp <<= 1; tmp 797 drivers/gpu/drm/i915/display/intel_opregion.c opregion->swsci_gbda_sub_functions |= tmp; tmp 805 drivers/gpu/drm/i915/display/intel_opregion.c if (swsci(dev_priv, SWSCI_GBDA_REQUESTED_CALLBACKS, 0, &tmp) == 0) { tmp 807 drivers/gpu/drm/i915/display/intel_opregion.c opregion->swsci_sbcb_sub_functions |= tmp; tmp 816 drivers/gpu/drm/i915/display/intel_opregion.c if (swsci(dev_priv, SWSCI_SBCB_SUPPORTED_CALLBACKS, 0, &tmp) == 0) { tmp 818 drivers/gpu/drm/i915/display/intel_opregion.c u32 low = tmp & 0x7ff; tmp 819 drivers/gpu/drm/i915/display/intel_opregion.c u32 high = tmp & ~0xfff; /* bit 11 is reserved */ tmp 820 drivers/gpu/drm/i915/display/intel_opregion.c tmp = (high << 4) | (low << 1) | 1; tmp 825 drivers/gpu/drm/i915/display/intel_opregion.c if ((req & tmp) != req) tmp 826 drivers/gpu/drm/i915/display/intel_opregion.c DRM_DEBUG_DRIVER("SWSCI BIOS requested (%08x) SBCB callbacks that are not supported (%08x)\n", req, tmp); tmp 830 drivers/gpu/drm/i915/display/intel_opregion.c opregion->swsci_sbcb_sub_functions |= tmp; tmp 306 drivers/gpu/drm/i915/display/intel_overlay.c u32 tmp, *cs; tmp 314 drivers/gpu/drm/i915/display/intel_overlay.c tmp = I915_READ(DOVSTA); tmp 315 drivers/gpu/drm/i915/display/intel_overlay.c if (tmp & (1 << 17)) tmp 316 drivers/gpu/drm/i915/display/intel_overlay.c DRM_DEBUG("overlay underrun, DOVSTA: %x\n", tmp); tmp 927 drivers/gpu/drm/i915/display/intel_overlay.c u32 tmp; tmp 930 drivers/gpu/drm/i915/display/intel_overlay.c tmp = ((rec->src_scan_height << 16) / rec->dst_height) >> 16; tmp 931 drivers/gpu/drm/i915/display/intel_overlay.c if (tmp > 7) tmp 934 drivers/gpu/drm/i915/display/intel_overlay.c tmp = ((rec->src_scan_width << 16) / rec->dst_width) >> 16; tmp 935 drivers/gpu/drm/i915/display/intel_overlay.c if (tmp > 7) tmp 949 drivers/gpu/drm/i915/display/intel_overlay.c u32 tmp; tmp 1014 drivers/gpu/drm/i915/display/intel_overlay.c tmp = (rec->flags & I915_OVERLAY_TYPE_MASK) == I915_OVERLAY_YUV_PLANAR ? tmp 1016 drivers/gpu/drm/i915/display/intel_overlay.c if (rec->stride_Y > tmp || rec->stride_UV > 2*1024) tmp 1027 drivers/gpu/drm/i915/display/intel_overlay.c tmp = rec->stride_Y*rec->src_height; tmp 1028 drivers/gpu/drm/i915/display/intel_overlay.c if (rec->offset_Y + tmp > new_bo->base.size) tmp 1038 drivers/gpu/drm/i915/display/intel_overlay.c tmp = rec->stride_Y * rec->src_height; tmp 1039 drivers/gpu/drm/i915/display/intel_overlay.c if (rec->offset_Y + tmp > new_bo->base.size) tmp 1042 drivers/gpu/drm/i915/display/intel_overlay.c tmp = rec->stride_UV * (rec->src_height / uv_vscale); tmp 1043 drivers/gpu/drm/i915/display/intel_overlay.c if (rec->offset_U + tmp > new_bo->base.size || tmp 1044 drivers/gpu/drm/i915/display/intel_overlay.c rec->offset_V + tmp > new_bo->base.size) tmp 616 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp; tmp 618 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BLC_PWM_CPU_CTL) & ~BACKLIGHT_DUTY_CYCLE_MASK; tmp 619 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CPU_CTL, tmp | level); tmp 627 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp, mask; tmp 646 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BLC_PWM_CTL) & ~mask; tmp 647 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CTL, tmp | level); tmp 655 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp; tmp 657 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(VLV_BLC_PWM_CTL(pipe)) & ~BACKLIGHT_DUTY_CYCLE_MASK; tmp 658 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL(pipe), tmp | level); tmp 733 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp; tmp 745 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BLC_PWM_CPU_CTL2); tmp 746 drivers/gpu/drm/i915/display/intel_panel.c if (tmp & BLM_PWM_ENABLE) { tmp 748 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CPU_CTL2, tmp & ~BLM_PWM_ENABLE); tmp 751 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BLC_PWM_PCH_CTL1); tmp 752 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_PCH_CTL1, tmp & ~BLM_PCH_PWM_ENABLE); tmp 759 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp; tmp 763 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BLC_PWM_CPU_CTL2); tmp 764 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CPU_CTL2, tmp & ~BLM_PWM_ENABLE); tmp 766 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BLC_PWM_PCH_CTL1); tmp 767 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_PCH_CTL1, tmp & ~BLM_PCH_PWM_ENABLE); tmp 778 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp; tmp 782 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BLC_PWM_CTL2); tmp 783 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CTL2, tmp & ~BLM_PWM_ENABLE); tmp 791 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp; tmp 795 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(VLV_BLC_PWM_CTL2(pipe)); tmp 796 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL2(pipe), tmp & ~BLM_PWM_ENABLE); tmp 804 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp, val; tmp 808 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); tmp 810 drivers/gpu/drm/i915/display/intel_panel.c tmp & ~BXT_BLC_PWM_ENABLE); tmp 824 drivers/gpu/drm/i915/display/intel_panel.c u32 tmp; tmp 828 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); tmp 830 drivers/gpu/drm/i915/display/intel_panel.c tmp & ~BXT_BLC_PWM_ENABLE); tmp 175 drivers/gpu/drm/i915/display/intel_pipe_crc.c u32 tmp = I915_READ(PORT_DFT2_G4X); tmp 177 drivers/gpu/drm/i915/display/intel_pipe_crc.c tmp |= DC_BALANCE_RESET_VLV; tmp 180 drivers/gpu/drm/i915/display/intel_pipe_crc.c tmp |= PIPE_A_SCRAMBLE_RESET; tmp 183 drivers/gpu/drm/i915/display/intel_pipe_crc.c tmp |= PIPE_B_SCRAMBLE_RESET; tmp 186 drivers/gpu/drm/i915/display/intel_pipe_crc.c tmp |= PIPE_C_SCRAMBLE_RESET; tmp 191 drivers/gpu/drm/i915/display/intel_pipe_crc.c I915_WRITE(PORT_DFT2_G4X, tmp); tmp 240 drivers/gpu/drm/i915/display/intel_pipe_crc.c u32 tmp = I915_READ(PORT_DFT2_G4X); tmp 244 drivers/gpu/drm/i915/display/intel_pipe_crc.c tmp &= ~PIPE_A_SCRAMBLE_RESET; tmp 247 drivers/gpu/drm/i915/display/intel_pipe_crc.c tmp &= ~PIPE_B_SCRAMBLE_RESET; tmp 250 drivers/gpu/drm/i915/display/intel_pipe_crc.c tmp &= ~PIPE_C_SCRAMBLE_RESET; tmp 255 drivers/gpu/drm/i915/display/intel_pipe_crc.c if (!(tmp & PIPE_SCRAMBLE_RESET_MASK)) tmp 256 drivers/gpu/drm/i915/display/intel_pipe_crc.c tmp &= ~DC_BALANCE_RESET_VLV; tmp 257 drivers/gpu/drm/i915/display/intel_pipe_crc.c I915_WRITE(PORT_DFT2_G4X, tmp); tmp 1003 drivers/gpu/drm/i915/display/intel_sdvo.c u8 hbuf_size, tmp[8]; tmp 1021 drivers/gpu/drm/i915/display/intel_sdvo.c memset(tmp, 0, 8); tmp 1023 drivers/gpu/drm/i915/display/intel_sdvo.c memcpy(tmp, data + i, min_t(unsigned, 8, length - i)); tmp 1027 drivers/gpu/drm/i915/display/intel_sdvo.c tmp, 8)) tmp 2932 drivers/gpu/drm/i915/display/intel_sdvo.c struct drm_connector *connector, *tmp; tmp 2934 drivers/gpu/drm/i915/display/intel_sdvo.c list_for_each_entry_safe(connector, tmp, tmp 910 drivers/gpu/drm/i915/display/intel_tv.c u32 tmp = I915_READ(TV_CTL); tmp 912 drivers/gpu/drm/i915/display/intel_tv.c *pipe = (tmp & TV_ENC_PIPE_SEL_MASK) >> TV_ENC_PIPE_SEL_SHIFT; tmp 914 drivers/gpu/drm/i915/display/intel_tv.c return tmp & TV_ENC_ENABLE; tmp 1091 drivers/gpu/drm/i915/display/intel_tv.c u32 tv_ctl, hctl1, hctl3, vctl1, vctl2, tmp; tmp 1138 drivers/gpu/drm/i915/display/intel_tv.c tmp = I915_READ(TV_WIN_POS); tmp 1139 drivers/gpu/drm/i915/display/intel_tv.c xpos = tmp >> 16; tmp 1140 drivers/gpu/drm/i915/display/intel_tv.c ypos = tmp & 0xffff; tmp 1142 drivers/gpu/drm/i915/display/intel_tv.c tmp = I915_READ(TV_WIN_SIZE); tmp 1143 drivers/gpu/drm/i915/display/intel_tv.c xsize = tmp >> 16; tmp 1144 drivers/gpu/drm/i915/display/intel_tv.c ysize = tmp & 0xffff; tmp 1702 drivers/gpu/drm/i915/display/intel_tv.c struct intel_load_detect_pipe tmp; tmp 1705 drivers/gpu/drm/i915/display/intel_tv.c ret = intel_get_load_detect_pipe(connector, NULL, &tmp, ctx); tmp 1711 drivers/gpu/drm/i915/display/intel_tv.c intel_release_load_detect_pipe(connector, &tmp, ctx); tmp 324 drivers/gpu/drm/i915/display/vlv_dsi.c u32 tmp; tmp 332 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = I915_READ(MIPI_CTRL(port)); tmp 333 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(port), tmp | GLK_MIPIIO_ENABLE); tmp 337 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = I915_READ(MIPI_CTRL(PORT_A)); tmp 338 drivers/gpu/drm/i915/display/vlv_dsi.c tmp &= ~GLK_MIPIIO_RESET_RELEASED; tmp 339 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(PORT_A), tmp); tmp 343 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = I915_READ(MIPI_CTRL(port)); tmp 345 drivers/gpu/drm/i915/display/vlv_dsi.c tmp &= ~GLK_LP_WAKE; tmp 347 drivers/gpu/drm/i915/display/vlv_dsi.c tmp |= GLK_LP_WAKE; tmp 348 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(port), tmp); tmp 551 drivers/gpu/drm/i915/display/vlv_dsi.c u32 tmp; tmp 554 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = I915_READ(MIPI_CTRL(PORT_A)); tmp 555 drivers/gpu/drm/i915/display/vlv_dsi.c tmp &= ~GLK_MIPIIO_RESET_RELEASED; tmp 556 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(PORT_A), tmp); tmp 567 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = I915_READ(MIPI_CTRL(port)); tmp 568 drivers/gpu/drm/i915/display/vlv_dsi.c tmp &= ~GLK_MIPIIO_ENABLE; tmp 569 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(port), tmp); tmp 996 drivers/gpu/drm/i915/display/vlv_dsi.c u32 tmp = I915_READ(MIPI_DSI_FUNC_PRG(port)); tmp 997 drivers/gpu/drm/i915/display/vlv_dsi.c enabled = tmp & CMD_MODE_DATA_WIDTH_MASK; tmp 1007 drivers/gpu/drm/i915/display/vlv_dsi.c u32 tmp = I915_READ(MIPI_CTRL(port)); tmp 1008 drivers/gpu/drm/i915/display/vlv_dsi.c tmp &= BXT_PIPE_SELECT_MASK; tmp 1009 drivers/gpu/drm/i915/display/vlv_dsi.c tmp >>= BXT_PIPE_SELECT_SHIFT; tmp 1011 drivers/gpu/drm/i915/display/vlv_dsi.c if (WARN_ON(tmp > PIPE_C)) tmp 1014 drivers/gpu/drm/i915/display/vlv_dsi.c *pipe = tmp; tmp 1323 drivers/gpu/drm/i915/display/vlv_dsi.c u32 val, tmp; tmp 1342 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = I915_READ(MIPI_CTRL(PORT_A)); tmp 1343 drivers/gpu/drm/i915/display/vlv_dsi.c tmp &= ~ESCAPE_CLOCK_DIVIDER_MASK; tmp 1344 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(PORT_A), tmp | tmp 1348 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = I915_READ(MIPI_CTRL(port)); tmp 1349 drivers/gpu/drm/i915/display/vlv_dsi.c tmp &= ~READ_REQUEST_PRIORITY_MASK; tmp 1350 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(port), tmp | tmp 1355 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = I915_READ(MIPI_CTRL(port)); tmp 1356 drivers/gpu/drm/i915/display/vlv_dsi.c tmp &= ~BXT_PIPE_SELECT_MASK; tmp 1358 drivers/gpu/drm/i915/display/vlv_dsi.c tmp |= BXT_PIPE_SELECT(pipe); tmp 1359 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_CTRL(port), tmp); tmp 1384 drivers/gpu/drm/i915/display/vlv_dsi.c tmp = 0; tmp 1386 drivers/gpu/drm/i915/display/vlv_dsi.c tmp |= EOT_DISABLE; tmp 1388 drivers/gpu/drm/i915/display/vlv_dsi.c tmp |= CLOCKSTOP; tmp 1391 drivers/gpu/drm/i915/display/vlv_dsi.c tmp |= BXT_DPHY_DEFEATURE_EN; tmp 1393 drivers/gpu/drm/i915/display/vlv_dsi.c tmp |= BXT_DEFEATURE_DPI_FIFO_CTR; tmp 1454 drivers/gpu/drm/i915/display/vlv_dsi.c I915_WRITE(MIPI_EOT_DISABLE(port), tmp); tmp 183 drivers/gpu/drm/i915/display/vlv_dsi_pll.c u32 tmp; tmp 189 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp = vlv_cck_read(dev_priv, CCK_REG_DSI_PLL_CONTROL); tmp 190 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~DSI_PLL_VCO_EN; tmp 191 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp |= DSI_PLL_LDO_GATE; tmp 192 drivers/gpu/drm/i915/display/vlv_dsi_pll.c vlv_cck_write(dev_priv, CCK_REG_DSI_PLL_CONTROL, tmp); tmp 405 drivers/gpu/drm/i915/display/vlv_dsi_pll.c u32 tmp; tmp 415 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp = I915_READ(BXT_MIPI_CLOCK_CTL); tmp 416 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~(BXT_MIPI_TX_ESCLK_FIXDIV_MASK(port)); tmp 417 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~(BXT_MIPI_RX_ESCLK_UPPER_FIXDIV_MASK(port)); tmp 418 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~(BXT_MIPI_8X_BY3_DIVIDER_MASK(port)); tmp 419 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~(BXT_MIPI_RX_ESCLK_LOWER_FIXDIV_MASK(port)); tmp 446 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp |= BXT_MIPI_8X_BY3_DIVIDER(port, mipi_8by3_divider); tmp 447 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp |= BXT_MIPI_TX_ESCLK_DIVIDER(port, tx_div); tmp 448 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp |= BXT_MIPI_RX_ESCLK_LOWER_DIVIDER(port, rx_div_lower); tmp 449 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp |= BXT_MIPI_RX_ESCLK_UPPER_DIVIDER(port, rx_div_upper); tmp 451 drivers/gpu/drm/i915/display/vlv_dsi_pll.c I915_WRITE(BXT_MIPI_CLOCK_CTL, tmp); tmp 541 drivers/gpu/drm/i915/display/vlv_dsi_pll.c u32 tmp; tmp 547 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp = I915_READ(BXT_MIPI_CLOCK_CTL); tmp 548 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~(BXT_MIPI_TX_ESCLK_FIXDIV_MASK(port)); tmp 549 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~(BXT_MIPI_RX_ESCLK_UPPER_FIXDIV_MASK(port)); tmp 550 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~(BXT_MIPI_8X_BY3_DIVIDER_MASK(port)); tmp 551 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~(BXT_MIPI_RX_ESCLK_LOWER_FIXDIV_MASK(port)); tmp 552 drivers/gpu/drm/i915/display/vlv_dsi_pll.c I915_WRITE(BXT_MIPI_CLOCK_CTL, tmp); tmp 554 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp = I915_READ(MIPIO_TXESC_CLK_DIV1); tmp 555 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~GLK_TX_ESC_CLK_DIV1_MASK; tmp 556 drivers/gpu/drm/i915/display/vlv_dsi_pll.c I915_WRITE(MIPIO_TXESC_CLK_DIV1, tmp); tmp 558 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp = I915_READ(MIPIO_TXESC_CLK_DIV2); tmp 559 drivers/gpu/drm/i915/display/vlv_dsi_pll.c tmp &= ~GLK_TX_ESC_CLK_DIV2_MASK; tmp 560 drivers/gpu/drm/i915/display/vlv_dsi_pll.c I915_WRITE(MIPIO_TXESC_CLK_DIV2, tmp); tmp 1471 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c intel_engine_mask_t tmp; tmp 1476 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c for_each_engine_masked(engine, i915, engines, tmp) tmp 120 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c struct dma_fence_cb *cur, *tmp; tmp 125 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c list_for_each_entry_safe(cur, tmp, list, node) { tmp 44 drivers/gpu/drm/i915/gt/intel_hangcheck.c u32 tmp = current_instdone | *old_instdone; tmp 47 drivers/gpu/drm/i915/gt/intel_hangcheck.c unchanged = tmp == *old_instdone; tmp 48 drivers/gpu/drm/i915/gt/intel_hangcheck.c *old_instdone |= tmp; tmp 106 drivers/gpu/drm/i915/gt/intel_hangcheck.c u32 tmp; tmp 120 drivers/gpu/drm/i915/gt/intel_hangcheck.c tmp = ENGINE_READ(engine, RING_CTL); tmp 121 drivers/gpu/drm/i915/gt/intel_hangcheck.c if (tmp & RING_WAIT) { tmp 124 drivers/gpu/drm/i915/gt/intel_hangcheck.c ENGINE_WRITE(engine, RING_CTL, tmp); tmp 228 drivers/gpu/drm/i915/gt/intel_hangcheck.c intel_engine_mask_t tmp; tmp 239 drivers/gpu/drm/i915/gt/intel_hangcheck.c for_each_engine_masked(engine, gt->i915, hung, tmp) tmp 298 drivers/gpu/drm/i915/gt/intel_reset.c intel_engine_mask_t tmp; tmp 301 drivers/gpu/drm/i915/gt/intel_reset.c for_each_engine_masked(engine, gt->i915, engine_mask, tmp) { tmp 420 drivers/gpu/drm/i915/gt/intel_reset.c intel_engine_mask_t tmp; tmp 428 drivers/gpu/drm/i915/gt/intel_reset.c for_each_engine_masked(engine, gt->i915, engine_mask, tmp) { tmp 438 drivers/gpu/drm/i915/gt/intel_reset.c for_each_engine_masked(engine, gt->i915, engine_mask, tmp) tmp 494 drivers/gpu/drm/i915/gt/intel_reset.c intel_engine_mask_t tmp; tmp 497 drivers/gpu/drm/i915/gt/intel_reset.c for_each_engine_masked(engine, gt->i915, engine_mask, tmp) { tmp 523 drivers/gpu/drm/i915/gt/intel_reset.c for_each_engine_masked(engine, gt->i915, engine_mask, tmp) tmp 1131 drivers/gpu/drm/i915/gt/intel_reset.c intel_engine_mask_t tmp; tmp 1166 drivers/gpu/drm/i915/gt/intel_reset.c for_each_engine_masked(engine, gt->i915, engine_mask, tmp) { tmp 1194 drivers/gpu/drm/i915/gt/intel_reset.c for_each_engine(engine, gt->i915, tmp) { tmp 1204 drivers/gpu/drm/i915/gt/intel_reset.c for_each_engine(engine, gt->i915, tmp) tmp 786 drivers/gpu/drm/i915/gt/selftest_hangcheck.c enum intel_engine_id id, tmp; tmp 826 drivers/gpu/drm/i915/gt/selftest_hangcheck.c for_each_engine(other, gt->i915, tmp) { tmp 829 drivers/gpu/drm/i915/gt/selftest_hangcheck.c threads[tmp].resets = tmp 838 drivers/gpu/drm/i915/gt/selftest_hangcheck.c threads[tmp].engine = other; tmp 839 drivers/gpu/drm/i915/gt/selftest_hangcheck.c threads[tmp].flags = flags; tmp 841 drivers/gpu/drm/i915/gt/selftest_hangcheck.c tsk = kthread_run(active_engine, &threads[tmp], tmp 848 drivers/gpu/drm/i915/gt/selftest_hangcheck.c threads[tmp].task = tsk; tmp 943 drivers/gpu/drm/i915/gt/selftest_hangcheck.c for_each_engine(other, gt->i915, tmp) { tmp 946 drivers/gpu/drm/i915/gt/selftest_hangcheck.c if (!threads[tmp].task) tmp 949 drivers/gpu/drm/i915/gt/selftest_hangcheck.c ret = kthread_stop(threads[tmp].task); tmp 956 drivers/gpu/drm/i915/gt/selftest_hangcheck.c put_task_struct(threads[tmp].task); tmp 959 drivers/gpu/drm/i915/gt/selftest_hangcheck.c threads[tmp].resets != tmp 964 drivers/gpu/drm/i915/gt/selftest_hangcheck.c threads[tmp].resets); tmp 374 drivers/gpu/drm/i915/gt/selftest_timeline.c ({ int tmp = last_order; last_order = order; order += tmp; })) { tmp 290 drivers/gpu/drm/i915/gt/selftest_workarounds.c struct i915_gem_context *ctx, *tmp; tmp 333 drivers/gpu/drm/i915/gt/selftest_workarounds.c tmp = kernel_context(i915); tmp 334 drivers/gpu/drm/i915/gt/selftest_workarounds.c if (IS_ERR(tmp)) { tmp 335 drivers/gpu/drm/i915/gt/selftest_workarounds.c err = PTR_ERR(tmp); tmp 339 drivers/gpu/drm/i915/gt/selftest_workarounds.c ctx = tmp; tmp 3084 drivers/gpu/drm/i915/gvt/cmd_parser.c struct hlist_node *tmp; tmp 3088 drivers/gpu/drm/i915/gvt/cmd_parser.c hash_for_each_safe(gvt->cmd_table, i, tmp, e, hlist) tmp 535 drivers/gpu/drm/i915/gvt/execlist.c intel_engine_mask_t tmp; tmp 537 drivers/gpu/drm/i915/gvt/execlist.c for_each_engine_masked(engine, dev_priv, engine_mask, tmp) { tmp 549 drivers/gpu/drm/i915/gvt/execlist.c intel_engine_mask_t tmp; tmp 551 drivers/gpu/drm/i915/gvt/execlist.c for_each_engine_masked(engine, dev_priv, engine_mask, tmp) tmp 3315 drivers/gpu/drm/i915/gvt/handlers.c struct hlist_node *tmp; tmp 3319 drivers/gpu/drm/i915/gvt/handlers.c hash_for_each_safe(gvt->mmio.mmio_info_table, i, tmp, e, node) tmp 349 drivers/gpu/drm/i915/gvt/kvmgt.c struct hlist_node *tmp; tmp 352 drivers/gpu/drm/i915/gvt/kvmgt.c hash_for_each_safe(info->ptable, i, tmp, p, hnode) { tmp 891 drivers/gpu/drm/i915/gvt/scheduler.c intel_engine_mask_t tmp; tmp 894 drivers/gpu/drm/i915/gvt/scheduler.c for_each_engine_masked(engine, dev_priv, engine_mask, tmp) { tmp 589 drivers/gpu/drm/i915/i915_active.c intel_engine_mask_t tmp, mask = engine->mask; tmp 601 drivers/gpu/drm/i915/i915_active.c for_each_engine_masked(engine, i915, mask, tmp) { tmp 918 drivers/gpu/drm/i915/i915_cmd_parser.c struct hlist_node *tmp; tmp 922 drivers/gpu/drm/i915/i915_cmd_parser.c hash_for_each_safe(engine->cmd_hash, i, tmp, desc_node, node) { tmp 1143 drivers/gpu/drm/i915/i915_debugfs.c unsigned int tmp; tmp 1148 drivers/gpu/drm/i915/i915_debugfs.c for_each_fw_domain(fw_domain, uncore, tmp) tmp 1820 drivers/gpu/drm/i915/i915_debugfs.c u32 tmp = I915_READ(GUC_STATUS); tmp 1823 drivers/gpu/drm/i915/i915_debugfs.c seq_printf(m, "\nGuC status 0x%08x:\n", tmp); tmp 1825 drivers/gpu/drm/i915/i915_debugfs.c (tmp & GS_BOOTROM_MASK) >> GS_BOOTROM_SHIFT); tmp 1827 drivers/gpu/drm/i915/i915_debugfs.c (tmp & GS_UKERNEL_MASK) >> GS_UKERNEL_SHIFT); tmp 1829 drivers/gpu/drm/i915/i915_debugfs.c (tmp & GS_MIA_MASK) >> GS_MIA_SHIFT); tmp 3432 drivers/gpu/drm/i915/i915_debugfs.c char tmp[32]; tmp 3443 drivers/gpu/drm/i915/i915_debugfs.c if (len >= sizeof(tmp)) tmp 3446 drivers/gpu/drm/i915/i915_debugfs.c if (copy_from_user(tmp, ubuf, len)) tmp 3449 drivers/gpu/drm/i915/i915_debugfs.c tmp[len] = '\0'; tmp 3451 drivers/gpu/drm/i915/i915_debugfs.c ret = sscanf(tmp, "%hu %hu %hu %hu %hu %hu %hu %hu", tmp 4036 drivers/gpu/drm/i915/i915_debugfs.c char tmp[16]; tmp 4038 drivers/gpu/drm/i915/i915_debugfs.c if (len >= sizeof(tmp)) tmp 4041 drivers/gpu/drm/i915/i915_debugfs.c if (copy_from_user(tmp, ubuf, len)) tmp 4044 drivers/gpu/drm/i915/i915_debugfs.c tmp[len] = '\0'; tmp 4047 drivers/gpu/drm/i915/i915_debugfs.c newline = strchr(tmp, '\n'); tmp 4051 drivers/gpu/drm/i915/i915_debugfs.c if (strcmp(tmp, "reset") == 0) tmp 4053 drivers/gpu/drm/i915/i915_debugfs.c else if (kstrtouint(tmp, 10, &new_threshold) != 0) tmp 4114 drivers/gpu/drm/i915/i915_debugfs.c char tmp[16]; tmp 4118 drivers/gpu/drm/i915/i915_debugfs.c if (len >= sizeof(tmp)) tmp 4121 drivers/gpu/drm/i915/i915_debugfs.c if (copy_from_user(tmp, ubuf, len)) tmp 4124 drivers/gpu/drm/i915/i915_debugfs.c tmp[len] = '\0'; tmp 4127 drivers/gpu/drm/i915/i915_debugfs.c newline = strchr(tmp, '\n'); tmp 4132 drivers/gpu/drm/i915/i915_debugfs.c if (strcmp(tmp, "reset") == 0) tmp 4134 drivers/gpu/drm/i915/i915_debugfs.c else if (kstrtobool(tmp, &new_state) != 0) tmp 77 drivers/gpu/drm/i915/i915_fixed.h u64 tmp; tmp 79 drivers/gpu/drm/i915/i915_fixed.h tmp = mul_u32_u32(val, mul.val); tmp 80 drivers/gpu/drm/i915/i915_fixed.h tmp = DIV_ROUND_UP_ULL(tmp, 1 << 16); tmp 81 drivers/gpu/drm/i915/i915_fixed.h WARN_ON(tmp > U32_MAX); tmp 83 drivers/gpu/drm/i915/i915_fixed.h return (u32)tmp; tmp 89 drivers/gpu/drm/i915/i915_fixed.h u64 tmp; tmp 91 drivers/gpu/drm/i915/i915_fixed.h tmp = mul_u32_u32(val.val, mul.val); tmp 92 drivers/gpu/drm/i915/i915_fixed.h tmp = tmp >> 16; tmp 94 drivers/gpu/drm/i915/i915_fixed.h return clamp_u64_to_fixed16(tmp); tmp 99 drivers/gpu/drm/i915/i915_fixed.h u64 tmp; tmp 101 drivers/gpu/drm/i915/i915_fixed.h tmp = (u64)val << 16; tmp 102 drivers/gpu/drm/i915/i915_fixed.h tmp = DIV_ROUND_UP_ULL(tmp, d); tmp 104 drivers/gpu/drm/i915/i915_fixed.h return clamp_u64_to_fixed16(tmp); tmp 109 drivers/gpu/drm/i915/i915_fixed.h u64 tmp; tmp 111 drivers/gpu/drm/i915/i915_fixed.h tmp = (u64)val << 16; tmp 112 drivers/gpu/drm/i915/i915_fixed.h tmp = DIV_ROUND_UP_ULL(tmp, d.val); tmp 113 drivers/gpu/drm/i915/i915_fixed.h WARN_ON(tmp > U32_MAX); tmp 115 drivers/gpu/drm/i915/i915_fixed.h return (u32)tmp; tmp 120 drivers/gpu/drm/i915/i915_fixed.h u64 tmp; tmp 122 drivers/gpu/drm/i915/i915_fixed.h tmp = mul_u32_u32(val, mul.val); tmp 124 drivers/gpu/drm/i915/i915_fixed.h return clamp_u64_to_fixed16(tmp); tmp 130 drivers/gpu/drm/i915/i915_fixed.h u64 tmp; tmp 132 drivers/gpu/drm/i915/i915_fixed.h tmp = (u64)add1.val + add2.val; tmp 134 drivers/gpu/drm/i915/i915_fixed.h return clamp_u64_to_fixed16(tmp); tmp 141 drivers/gpu/drm/i915/i915_fixed.h u64 tmp; tmp 143 drivers/gpu/drm/i915/i915_fixed.h tmp = (u64)add1.val + tmp_add2.val; tmp 145 drivers/gpu/drm/i915/i915_fixed.h return clamp_u64_to_fixed16(tmp); tmp 237 drivers/gpu/drm/i915/i915_gpu_error.c void *tmp; tmp 255 drivers/gpu/drm/i915/i915_gpu_error.c c->tmp = NULL; tmp 257 drivers/gpu/drm/i915/i915_gpu_error.c c->tmp = pool_alloc(&c->pool, ALLOW_FAIL); tmp 295 drivers/gpu/drm/i915/i915_gpu_error.c if (c->tmp && i915_memcpy_from_wc(c->tmp, src, PAGE_SIZE)) tmp 296 drivers/gpu/drm/i915/i915_gpu_error.c zstream->next_in = c->tmp; tmp 356 drivers/gpu/drm/i915/i915_gpu_error.c if (c->tmp) tmp 357 drivers/gpu/drm/i915/i915_gpu_error.c pool_free(&c->pool, c->tmp); tmp 1891 drivers/gpu/drm/i915/i915_irq.c u32 tmp = I915_READ(PORT_HOTPLUG_STAT) & hotplug_status_mask; tmp 1893 drivers/gpu/drm/i915/i915_irq.c if (tmp == 0) tmp 1896 drivers/gpu/drm/i915/i915_irq.c hotplug_status |= tmp; tmp 2936 drivers/gpu/drm/i915/i915_perf.c u64 tmp = NSEC_PER_SEC; tmp 2937 drivers/gpu/drm/i915/i915_perf.c do_div(tmp, oa_period); tmp 2938 drivers/gpu/drm/i915/i915_perf.c oa_freq_hz = tmp; tmp 3318 drivers/gpu/drm/i915/i915_perf.c struct i915_oa_config *oa_config, *tmp; tmp 3415 drivers/gpu/drm/i915/i915_perf.c idr_for_each_entry(&dev_priv->perf.metrics_idr, tmp, id) { tmp 3416 drivers/gpu/drm/i915/i915_perf.c if (!strcmp(tmp->uuid, oa_config->uuid)) { tmp 320 drivers/gpu/drm/i915/i915_request.c struct i915_request *tmp; tmp 331 drivers/gpu/drm/i915/i915_request.c tmp = list_first_entry(&tl->requests, typeof(*tmp), link); tmp 332 drivers/gpu/drm/i915/i915_request.c } while (i915_request_retire(tmp) && tmp != rq); tmp 471 drivers/gpu/drm/i915/i915_scheduler.c struct i915_dependency *dep, *tmp; tmp 481 drivers/gpu/drm/i915/i915_scheduler.c list_for_each_entry_safe(dep, tmp, &node->signalers_list, signal_link) { tmp 491 drivers/gpu/drm/i915/i915_scheduler.c list_for_each_entry_safe(dep, tmp, &node->waiters_list, wait_link) { tmp 164 drivers/gpu/drm/i915/intel_pm.c u32 tmp; tmp 166 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(CLKCFG); tmp 168 drivers/gpu/drm/i915/intel_pm.c switch (tmp & CLKCFG_FSB_MASK) { tmp 183 drivers/gpu/drm/i915/intel_pm.c switch (tmp & CLKCFG_MEM_MASK) { tmp 196 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(CSHRDDR3CTL); tmp 197 drivers/gpu/drm/i915/intel_pm.c dev_priv->is_ddr3 = (tmp & CSHRDDR3CTL_DDR3) ? 1 : 0; tmp 5851 drivers/gpu/drm/i915/intel_pm.c u32 tmp = hw->wm_pipe[pipe]; tmp 5860 drivers/gpu/drm/i915/intel_pm.c active->wm[0].pri_val = (tmp & WM0_PIPE_PLANE_MASK) >> WM0_PIPE_PLANE_SHIFT; tmp 5861 drivers/gpu/drm/i915/intel_pm.c active->wm[0].spr_val = (tmp & WM0_PIPE_SPRITE_MASK) >> WM0_PIPE_SPRITE_SHIFT; tmp 5862 drivers/gpu/drm/i915/intel_pm.c active->wm[0].cur_val = tmp & WM0_PIPE_CURSOR_MASK; tmp 5887 drivers/gpu/drm/i915/intel_pm.c u32 tmp; tmp 5889 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW1); tmp 5890 drivers/gpu/drm/i915/intel_pm.c wm->sr.plane = _FW_WM(tmp, SR); tmp 5891 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORB); tmp 5892 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_PRIMARY] = _FW_WM(tmp, PLANEB); tmp 5893 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_PRIMARY] = _FW_WM(tmp, PLANEA); tmp 5895 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW2); tmp 5896 drivers/gpu/drm/i915/intel_pm.c wm->fbc_en = tmp & DSPFW_FBC_SR_EN; tmp 5897 drivers/gpu/drm/i915/intel_pm.c wm->sr.fbc = _FW_WM(tmp, FBC_SR); tmp 5898 drivers/gpu/drm/i915/intel_pm.c wm->hpll.fbc = _FW_WM(tmp, FBC_HPLL_SR); tmp 5899 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] = _FW_WM(tmp, SPRITEB); tmp 5900 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORA); tmp 5901 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE0] = _FW_WM(tmp, SPRITEA); tmp 5903 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW3); tmp 5904 drivers/gpu/drm/i915/intel_pm.c wm->hpll_en = tmp & DSPFW_HPLL_SR_EN; tmp 5905 drivers/gpu/drm/i915/intel_pm.c wm->sr.cursor = _FW_WM(tmp, CURSOR_SR); tmp 5906 drivers/gpu/drm/i915/intel_pm.c wm->hpll.cursor = _FW_WM(tmp, HPLL_CURSOR); tmp 5907 drivers/gpu/drm/i915/intel_pm.c wm->hpll.plane = _FW_WM(tmp, HPLL_SR); tmp 5914 drivers/gpu/drm/i915/intel_pm.c u32 tmp; tmp 5917 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(VLV_DDL(pipe)); tmp 5920 drivers/gpu/drm/i915/intel_pm.c (tmp >> DDL_PLANE_SHIFT) & (DDL_PRECISION_HIGH | DRAIN_LATENCY_MASK); tmp 5922 drivers/gpu/drm/i915/intel_pm.c (tmp >> DDL_CURSOR_SHIFT) & (DDL_PRECISION_HIGH | DRAIN_LATENCY_MASK); tmp 5924 drivers/gpu/drm/i915/intel_pm.c (tmp >> DDL_SPRITE_SHIFT(0)) & (DDL_PRECISION_HIGH | DRAIN_LATENCY_MASK); tmp 5926 drivers/gpu/drm/i915/intel_pm.c (tmp >> DDL_SPRITE_SHIFT(1)) & (DDL_PRECISION_HIGH | DRAIN_LATENCY_MASK); tmp 5929 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW1); tmp 5930 drivers/gpu/drm/i915/intel_pm.c wm->sr.plane = _FW_WM(tmp, SR); tmp 5931 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORB); tmp 5932 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_PRIMARY] = _FW_WM_VLV(tmp, PLANEB); tmp 5933 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_PRIMARY] = _FW_WM_VLV(tmp, PLANEA); tmp 5935 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW2); tmp 5936 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE1] = _FW_WM_VLV(tmp, SPRITEB); tmp 5937 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORA); tmp 5938 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE0] = _FW_WM_VLV(tmp, SPRITEA); tmp 5940 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW3); tmp 5941 drivers/gpu/drm/i915/intel_pm.c wm->sr.cursor = _FW_WM(tmp, CURSOR_SR); tmp 5944 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW7_CHV); tmp 5945 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE1] = _FW_WM_VLV(tmp, SPRITED); tmp 5946 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] = _FW_WM_VLV(tmp, SPRITEC); tmp 5948 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW8_CHV); tmp 5949 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_SPRITE1] = _FW_WM_VLV(tmp, SPRITEF); tmp 5950 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_SPRITE0] = _FW_WM_VLV(tmp, SPRITEE); tmp 5952 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW9_CHV); tmp 5953 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_PRIMARY] = _FW_WM_VLV(tmp, PLANEC); tmp 5954 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_CURSOR] = _FW_WM(tmp, CURSORC); tmp 5956 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPHOWM); tmp 5957 drivers/gpu/drm/i915/intel_pm.c wm->sr.plane |= _FW_WM(tmp, SR_HI) << 9; tmp 5958 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITEF_HI) << 8; tmp 5959 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEE_HI) << 8; tmp 5960 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_C].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEC_HI) << 8; tmp 5961 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITED_HI) << 8; tmp 5962 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEC_HI) << 8; tmp 5963 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEB_HI) << 8; tmp 5964 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITEB_HI) << 8; tmp 5965 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEA_HI) << 8; tmp 5966 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEA_HI) << 8; tmp 5968 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPFW7); tmp 5969 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE1] = _FW_WM_VLV(tmp, SPRITED); tmp 5970 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] = _FW_WM_VLV(tmp, SPRITEC); tmp 5972 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(DSPHOWM); tmp 5973 drivers/gpu/drm/i915/intel_pm.c wm->sr.plane |= _FW_WM(tmp, SR_HI) << 9; tmp 5974 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITED_HI) << 8; tmp 5975 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEC_HI) << 8; tmp 5976 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_B].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEB_HI) << 8; tmp 5977 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE1] |= _FW_WM(tmp, SPRITEB_HI) << 8; tmp 5978 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_SPRITE0] |= _FW_WM(tmp, SPRITEA_HI) << 8; tmp 5979 drivers/gpu/drm/i915/intel_pm.c wm->pipe[PIPE_A].plane[PLANE_PRIMARY] |= _FW_WM(tmp, PLANEA_HI) << 8; tmp 9015 drivers/gpu/drm/i915/intel_pm.c u32 tmp; tmp 9017 drivers/gpu/drm/i915/intel_pm.c tmp = I915_READ(MCH_SSKPD); tmp 9018 drivers/gpu/drm/i915/intel_pm.c if ((tmp & MCH_SSKPD_WM0_MASK) != MCH_SSKPD_WM0_VAL) tmp 9020 drivers/gpu/drm/i915/intel_pm.c tmp); tmp 9933 drivers/gpu/drm/i915/intel_pm.c u32 lower, upper, tmp; tmp 9956 drivers/gpu/drm/i915/intel_pm.c tmp = upper; tmp 9965 drivers/gpu/drm/i915/intel_pm.c } while (upper != tmp && --loop); tmp 246 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 250 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(d, fw_domains, uncore, tmp) { tmp 255 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(d, fw_domains, uncore, tmp) tmp 266 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 270 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(d, fw_domains, uncore, tmp) { tmp 275 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(d, fw_domains, uncore, tmp) tmp 285 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 289 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(d, fw_domains, uncore, tmp) tmp 300 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 307 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(d, fw_domains, uncore, tmp) tmp 412 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 416 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain(domain, uncore, tmp) { tmp 426 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain(domain, uncore, tmp) { tmp 588 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 592 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { tmp 698 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 702 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { tmp 768 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 789 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { tmp 1185 drivers/gpu/drm/i915/intel_uncore.c unsigned int tmp; tmp 1189 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) tmp 1428 drivers/gpu/drm/i915/intel_uncore.c int tmp; tmp 1430 drivers/gpu/drm/i915/intel_uncore.c for_each_fw_domain(d, uncore, tmp) tmp 645 drivers/gpu/drm/i915/selftests/i915_buddy.c LIST_HEAD(tmp); tmp 649 drivers/gpu/drm/i915/selftests/i915_buddy.c err = i915_buddy_alloc_range(&mm, &tmp, offset, size); tmp 662 drivers/gpu/drm/i915/selftests/i915_buddy.c block = list_first_entry_or_null(&tmp, tmp 678 drivers/gpu/drm/i915/selftests/i915_buddy.c err = igt_check_blocks(&mm, &tmp, size, true); tmp 680 drivers/gpu/drm/i915/selftests/i915_buddy.c list_splice_tail(&tmp, &blocks); tmp 1147 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c struct drm_mm_node tmp; tmp 1163 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c memset(&tmp, 0, sizeof(tmp)); tmp 1164 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c err = drm_mm_insert_node_in_range(&ggtt->vm.mm, &tmp, tmp 1175 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c u64 offset = tmp.start + n * PAGE_SIZE; tmp 1189 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c u64 offset = tmp.start + order[n] * PAGE_SIZE; tmp 1200 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c u64 offset = tmp.start + order[n] * PAGE_SIZE; tmp 1218 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c ggtt->vm.clear_range(&ggtt->vm, tmp.start, tmp.size); tmp 1220 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c drm_mm_remove_node(&tmp); tmp 1462 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c struct drm_mm_node tmp = {}; tmp 1500 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c err = i915_gem_gtt_insert(&ggtt->vm, &tmp, tmp 147 drivers/gpu/drm/i915/selftests/intel_uncore.c unsigned int tmp; tmp 181 drivers/gpu/drm/i915/selftests/intel_uncore.c for_each_fw_domain(domain, uncore, tmp) { tmp 203 drivers/gpu/drm/i915/selftests/intel_uncore.c for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { tmp 218 drivers/gpu/drm/i915/selftests/intel_uncore.c for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { tmp 828 drivers/gpu/drm/mcde/mcde_display.c struct drm_format_name_buf tmp; tmp 835 drivers/gpu/drm/mcde/mcde_display.c drm_get_format_name(format, &tmp)); tmp 63 drivers/gpu/drm/mediatek/mtk_cec.c u32 tmp; tmp 65 drivers/gpu/drm/mediatek/mtk_cec.c tmp = readl(reg); tmp 66 drivers/gpu/drm/mediatek/mtk_cec.c tmp &= ~bits; tmp 67 drivers/gpu/drm/mediatek/mtk_cec.c writel(tmp, reg); tmp 74 drivers/gpu/drm/mediatek/mtk_cec.c u32 tmp; tmp 76 drivers/gpu/drm/mediatek/mtk_cec.c tmp = readl(reg); tmp 77 drivers/gpu/drm/mediatek/mtk_cec.c tmp |= bits; tmp 78 drivers/gpu/drm/mediatek/mtk_cec.c writel(tmp, reg); tmp 84 drivers/gpu/drm/mediatek/mtk_cec.c u32 tmp = readl(cec->regs + offset) & ~mask; tmp 86 drivers/gpu/drm/mediatek/mtk_cec.c tmp |= val & mask; tmp 91 drivers/gpu/drm/mediatek/mtk_disp_rdma.c unsigned int tmp = readl(comp->regs + reg); tmp 93 drivers/gpu/drm/mediatek/mtk_disp_rdma.c tmp = (tmp & ~mask) | (val & mask); tmp 94 drivers/gpu/drm/mediatek/mtk_disp_rdma.c writel(tmp, comp->regs + reg); tmp 118 drivers/gpu/drm/mediatek/mtk_dpi.c u32 tmp = readl(dpi->regs + offset) & ~mask; tmp 120 drivers/gpu/drm/mediatek/mtk_dpi.c tmp |= (val & mask); tmp 121 drivers/gpu/drm/mediatek/mtk_dpi.c writel(tmp, dpi->regs + offset); tmp 536 drivers/gpu/drm/mediatek/mtk_drm_ddp.c u32 tmp; tmp 541 drivers/gpu/drm/mediatek/mtk_drm_ddp.c tmp, tmp & INT_MUTEX, 1, 10000)) tmp 491 drivers/gpu/drm/mediatek/mtk_dsi.c u32 status, tmp; tmp 499 drivers/gpu/drm/mediatek/mtk_dsi.c tmp = readl(dsi->regs + DSI_INTSTA); tmp 500 drivers/gpu/drm/mediatek/mtk_dsi.c } while (tmp & DSI_BUSY); tmp 196 drivers/gpu/drm/mediatek/mtk_hdmi.c u32 tmp; tmp 198 drivers/gpu/drm/mediatek/mtk_hdmi.c tmp = readl(reg); tmp 199 drivers/gpu/drm/mediatek/mtk_hdmi.c tmp &= ~bits; tmp 200 drivers/gpu/drm/mediatek/mtk_hdmi.c writel(tmp, reg); tmp 206 drivers/gpu/drm/mediatek/mtk_hdmi.c u32 tmp; tmp 208 drivers/gpu/drm/mediatek/mtk_hdmi.c tmp = readl(reg); tmp 209 drivers/gpu/drm/mediatek/mtk_hdmi.c tmp |= bits; tmp 210 drivers/gpu/drm/mediatek/mtk_hdmi.c writel(tmp, reg); tmp 216 drivers/gpu/drm/mediatek/mtk_hdmi.c u32 tmp; tmp 218 drivers/gpu/drm/mediatek/mtk_hdmi.c tmp = readl(reg); tmp 219 drivers/gpu/drm/mediatek/mtk_hdmi.c tmp = (tmp & ~mask) | (val & mask); tmp 220 drivers/gpu/drm/mediatek/mtk_hdmi.c writel(tmp, reg); tmp 84 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c unsigned int tmp; tmp 86 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c tmp = readl(ddc->regs + offset); tmp 87 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c tmp &= ~mask; tmp 88 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c tmp |= (val << shift) & mask; tmp 89 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c writel(tmp, ddc->regs + offset); tmp 22 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c u32 tmp; tmp 24 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c tmp = readl(reg); tmp 25 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c tmp &= ~bits; tmp 26 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c writel(tmp, reg); tmp 33 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c u32 tmp; tmp 35 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c tmp = readl(reg); tmp 36 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c tmp |= bits; tmp 37 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c writel(tmp, reg); tmp 44 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c u32 tmp; tmp 46 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c tmp = readl(reg); tmp 47 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c tmp = (tmp & ~mask) | (val & mask); tmp 48 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c writel(tmp, reg); tmp 45 drivers/gpu/drm/mgag200/mgag200_i2c.c int tmp; tmp 48 drivers/gpu/drm/mgag200/mgag200_i2c.c tmp = (RREG8(DAC_DATA) & mask) | val; tmp 49 drivers/gpu/drm/mgag200/mgag200_i2c.c WREG_DAC(MGA1064_GEN_IO_CTL, tmp); tmp 230 drivers/gpu/drm/mgag200/mgag200_mode.c u8 tmp; tmp 306 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_CRTC_DATA); tmp 307 drivers/gpu/drm/mgag200/mgag200_mode.c if (tmp < 0xff) tmp 308 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(MGAREG_CRTC_DATA, tmp+1); tmp 313 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 314 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_CLK_DIS; tmp 315 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 318 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 319 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_REMHEADCTL_CLKDIS; tmp 320 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 323 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_MEM_MISC_READ); tmp 324 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= 0x3 << 2; tmp 325 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(MGAREG_MEM_MISC_WRITE, tmp); tmp 328 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 329 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_CLK_POW_DOWN | 0x80; tmp 330 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 336 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 337 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~0x04; tmp 338 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 351 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 352 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= 0x04; tmp 353 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_DAC(MGA1064_VREF_CTL, tmp); tmp 359 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 360 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_SEL_MSK; tmp 361 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_SEL_PLL; tmp 362 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 365 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 366 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_REMHEADCTL_CLKSL_MSK; tmp 367 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_REMHEADCTL_CLKSL_PLL; tmp 368 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 372 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_SEQ_DATA); tmp 373 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~0x8; tmp 374 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(MGAREG_SEQ_DATA, tmp); tmp 377 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 378 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_CLK_DIS; tmp 379 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 394 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 395 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_REMHEADCTL_CLKDIS; tmp 396 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_DAC(MGA1064_REMHEADCTL, tmp); tmp 407 drivers/gpu/drm/mgag200/mgag200_mode.c u8 tmp; tmp 441 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 442 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_CLK_DIS; tmp 443 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 445 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_MEM_MISC_READ); tmp 446 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= 0x3 << 2; tmp 447 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(MGAREG_MEM_MISC_WRITE, tmp); tmp 450 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 451 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp & ~0x40); tmp 454 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 455 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_CLK_POW_DOWN; tmp 456 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 465 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 466 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_CLK_POW_DOWN; tmp 467 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 472 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 473 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_SEL_MSK; tmp 474 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_SEL_PLL; tmp 475 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 478 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 479 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp | 0x40); tmp 481 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_MEM_MISC_READ); tmp 482 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= (0x3 << 2); tmp 483 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(MGAREG_MEM_MISC_WRITE, tmp); tmp 486 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 487 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_CLK_DIS; tmp 488 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 501 drivers/gpu/drm/mgag200/mgag200_mode.c u8 tmp; tmp 574 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 575 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_CLK_DIS; tmp 576 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 578 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_MEM_MISC_READ); tmp 579 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= 0x3 << 2; tmp 580 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(MGAREG_MEM_MISC_WRITE, tmp); tmp 583 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 584 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_CLK_POW_DOWN; tmp 585 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 596 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 597 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_SEL_MSK; tmp 598 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_SEL_PLL; tmp 599 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 602 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 603 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_CLK_DIS; tmp 604 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_CLK_POW_DOWN; tmp 605 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 630 drivers/gpu/drm/mgag200/mgag200_mode.c int tmp; tmp 673 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 674 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_CLK_DIS; tmp 675 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 678 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 679 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_REMHEADCTL_CLKDIS; tmp 680 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 682 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_MEM_MISC_READ); tmp 683 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= (0x3<<2) | 0xc0; tmp 684 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(MGAREG_MEM_MISC_WRITE, tmp); tmp 687 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 688 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~MGA1064_PIX_CLK_CTL_CLK_DIS; tmp 689 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= MGA1064_PIX_CLK_CTL_CLK_POW_DOWN; tmp 690 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 731 drivers/gpu/drm/mgag200/mgag200_mode.c u8 tmp; tmp 738 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 739 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= 0x10; tmp 740 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_DAC(MGA1064_GEN_IO_CTL, tmp); tmp 744 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 745 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= 0x10; tmp 746 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_DAC(MGA1064_GEN_IO_DATA, tmp); tmp 752 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 753 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= 0x80; tmp 754 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_DAC(MGA1064_SPAREREG, tmp); tmp 760 drivers/gpu/drm/mgag200/mgag200_mode.c while (!(tmp & 0x1) && iter_max) { tmp 762 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 773 drivers/gpu/drm/mgag200/mgag200_mode.c while ((tmp & 0x2) && iter_max) { tmp 775 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 784 drivers/gpu/drm/mgag200/mgag200_mode.c u8 tmp; tmp 789 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_CRTCEXT_DATA); tmp 790 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(MGAREG_CRTCEXT_DATA, tmp | 0x88); tmp 794 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 795 drivers/gpu/drm/mgag200/mgag200_mode.c tmp |= 0x8; tmp 796 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 802 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~0x08; tmp 804 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 808 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 809 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~0x80; tmp 810 drivers/gpu/drm/mgag200/mgag200_mode.c WREG8(DAC_DATA, tmp); tmp 814 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(DAC_DATA); tmp 815 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~0x10; tmp 816 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_DAC(MGA1064_GEN_IO_DATA, tmp); tmp 1320 drivers/gpu/drm/mgag200/mgag200_mode.c u8 tmp; tmp 1325 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_CRTC_DATA); tmp 1326 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_CRT(0x11, tmp | 0x80); tmp 1335 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_SEQ_DATA); tmp 1339 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_SEQ(1, tmp | 0x20); tmp 1357 drivers/gpu/drm/mgag200/mgag200_mode.c u8 tmp; tmp 1369 drivers/gpu/drm/mgag200/mgag200_mode.c tmp = RREG8(MGAREG_SEQ_DATA); tmp 1371 drivers/gpu/drm/mgag200/mgag200_mode.c tmp &= ~0x20; tmp 1372 drivers/gpu/drm/mgag200/mgag200_mode.c WREG_SEQ(0x1, tmp); tmp 907 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c struct a6xx_state_memobj *obj, *tmp; tmp 913 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c list_for_each_entry_safe(obj, tmp, &a6xx_state->objs, node) tmp 139 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c struct dpu_plane *pdpu, *tmp; tmp 153 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c list_for_each_entry(tmp, &pdpu->mplane_list, mplane_list) { tmp 154 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c if (!tmp->base.state->visible) tmp 157 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pdpu->base.base.id, tmp->base.base.id, tmp 159 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c drm_rect_width(&tmp->pipe_cfg.src_rect)); tmp 161 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c drm_rect_width(&tmp->pipe_cfg.src_rect)); tmp 378 drivers/gpu/drm/msm/msm_gem.c struct msm_gem_vma *vma, *tmp; tmp 382 drivers/gpu/drm/msm/msm_gem.c list_for_each_entry_safe(vma, tmp, &msm_obj->vmas, list) { tmp 690 drivers/gpu/drm/msm/msm_gpu.c struct msm_gem_submit *submit, *tmp; tmp 699 drivers/gpu/drm/msm/msm_gpu.c list_for_each_entry_safe(submit, tmp, &ring->submits, node) { tmp 43 drivers/gpu/drm/msm/msm_submitqueue.c struct msm_gpu_submitqueue *entry, *tmp; tmp 52 drivers/gpu/drm/msm/msm_submitqueue.c list_for_each_entry_safe(entry, tmp, &ctx->submitqueues, node) tmp 731 drivers/gpu/drm/nouveau/dispnv04/crtc.c uint8_t tmp = NVReadVgaCrtc(dev, nv_crtc->index, NV_CIO_CRE_RCR); tmp 732 drivers/gpu/drm/nouveau/dispnv04/crtc.c tmp |= MASK(NV_CIO_CRE_RCR_ENDIAN_BIG); tmp 733 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteVgaCrtc(dev, nv_crtc->index, NV_CIO_CRE_RCR, tmp); tmp 2322 drivers/gpu/drm/nouveau/dispnv50/disp.c struct drm_connector *connector, *tmp; tmp 2414 drivers/gpu/drm/nouveau/dispnv50/disp.c list_for_each_entry_safe(connector, tmp, &dev->mode_config.connector_list, head) { tmp 326 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_for_each_entry_safe(pos, tmp, head, member) \ tmp 328 drivers/gpu/drm/nouveau/include/nvif/list.h tmp = __container_of(pos->member.next, pos, member); \ tmp 330 drivers/gpu/drm/nouveau/include/nvif/list.h pos = tmp, tmp = __container_of(pos->member.next, tmp, member)) tmp 147 drivers/gpu/drm/nouveau/nouveau_debugfs.c char buf[32] = {}, *tmp, *cur = buf; tmp 159 drivers/gpu/drm/nouveau/nouveau_debugfs.c if ((tmp = strchr(buf, '\n'))) tmp 160 drivers/gpu/drm/nouveau/nouveau_debugfs.c *tmp = '\0'; tmp 391 drivers/gpu/drm/nouveau/nouveau_dmem.c struct nouveau_dmem_chunk *chunk, *tmp; tmp 401 drivers/gpu/drm/nouveau/nouveau_dmem.c list_for_each_entry_safe (chunk, tmp, &drm->dmem->chunk_empty, list) { tmp 40 drivers/gpu/drm/nouveau/nouveau_vmm.c struct nvif_vma tmp = { .addr = vma->addr }; tmp 41 drivers/gpu/drm/nouveau/nouveau_vmm.c int ret = nouveau_mem_map(mem, &vma->vmm->vmm, &tmp); tmp 67 drivers/gpu/drm/nouveau/nouveau_vmm.c struct nvif_vma tmp = { .addr = vma->addr, .size = 1 }; tmp 68 drivers/gpu/drm/nouveau/nouveau_vmm.c nvif_vmm_put(&vma->vmm->vmm, &tmp); tmp 82 drivers/gpu/drm/nouveau/nouveau_vmm.c struct nvif_vma tmp; tmp 102 drivers/gpu/drm/nouveau/nouveau_vmm.c mem->mem.size, &tmp); tmp 106 drivers/gpu/drm/nouveau/nouveau_vmm.c vma->addr = tmp.addr; tmp 110 drivers/gpu/drm/nouveau/nouveau_vmm.c mem->mem.size, &tmp); tmp 111 drivers/gpu/drm/nouveau/nouveau_vmm.c vma->addr = tmp.addr; tmp 190 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c u32 tmp; tmp 201 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c tmp = nvkm_rd32(device, 0x616104 + hoff); tmp 202 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c nvkm_wr32(device, 0x6101b4 + hoff, tmp); tmp 203 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c tmp = nvkm_rd32(device, 0x616108 + hoff); tmp 204 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c nvkm_wr32(device, 0x6101b8 + hoff, tmp); tmp 205 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c tmp = nvkm_rd32(device, 0x61610c + hoff); tmp 206 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c nvkm_wr32(device, 0x6101bc + hoff, tmp); tmp 211 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c tmp = nvkm_rd32(device, 0x61a000 + (i * 0x800)); tmp 212 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c nvkm_wr32(device, 0x6101c0 + (i * 0x800), tmp); tmp 217 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c tmp = nvkm_rd32(device, 0x61c000 + (i * 0x800)); tmp 218 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c nvkm_wr32(device, 0x6301c4 + (i * 0x800), tmp); tmp 316 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c u32 tmp; tmp 329 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c tmp = nvkm_rd32(device, 0x610068); tmp 330 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x640008, tmp); tmp 334 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c tmp = nvkm_rd32(device, 0x61c000 + (i * 0x800)); tmp 336 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x640144 + (i * 0x08), tmp); tmp 344 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c tmp = nvkm_rd32(device, 0x616300 + (id * 0x800)); tmp 345 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x640048 + (id * 0x020), tmp); tmp 349 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c tmp = nvkm_rd32(device, 0x616100 + (id * 0x800) + j); tmp 350 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x640030 + (id * 0x20) + j, tmp); tmp 358 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c tmp = nvkm_rd32(device, 0x630050 + (i * 0x800) + j); tmp 359 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x6401e4 + (i * 0x20) + j, tmp); tmp 365 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c tmp = nvkm_rd32(device, 0x62e000 + (i * 0x04)); tmp 366 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x640010 + (i * 0x04), tmp); tmp 373 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c case NVKM_MEM_TARGET_VRAM: tmp = 0x00000001; break; tmp 374 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c case NVKM_MEM_TARGET_NCOH: tmp = 0x00000002; break; tmp 375 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c case NVKM_MEM_TARGET_HOST: tmp = 0x00000003; break; tmp 379 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c nvkm_wr32(device, 0x610010, 0x00000008 | tmp); tmp 697 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u32 tmp; tmp 704 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c tmp = nvkm_rd32(device, 0x614004); tmp 705 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nvkm_wr32(device, 0x610184, tmp); tmp 709 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c tmp = nvkm_rd32(device, 0x616100 + (head->id * 0x800)); tmp 710 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nvkm_wr32(device, 0x610190 + (head->id * 0x10), tmp); tmp 711 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c tmp = nvkm_rd32(device, 0x616104 + (head->id * 0x800)); tmp 712 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nvkm_wr32(device, 0x610194 + (head->id * 0x10), tmp); tmp 713 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c tmp = nvkm_rd32(device, 0x616108 + (head->id * 0x800)); tmp 714 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nvkm_wr32(device, 0x610198 + (head->id * 0x10), tmp); tmp 715 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c tmp = nvkm_rd32(device, 0x61610c + (head->id * 0x800)); tmp 716 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nvkm_wr32(device, 0x61019c + (head->id * 0x10), tmp); tmp 721 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c tmp = nvkm_rd32(device, 0x61a000 + (i * 0x800)); tmp 722 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nvkm_wr32(device, 0x6101d0 + (i * 0x04), tmp); tmp 727 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c tmp = nvkm_rd32(device, 0x61c000 + (i * 0x800)); tmp 728 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nvkm_wr32(device, 0x6101e0 + (i * 0x04), tmp); tmp 733 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c tmp = nvkm_rd32(device, 0x61e000 + (i * 0x800)); tmp 734 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nvkm_wr32(device, 0x6101f0 + (i * 0x04), tmp); tmp 60 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c u32 tmp = nvkm_rd32(device, 0x610490 + (ctrl * 0x10)); tmp 61 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocgf119.c if ((tmp & 0x00030000) == 0x00010000) tmp 69 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c u32 tmp = nvkm_rd32(device, 0x610200 + (ctrl * 0x10)); tmp 70 drivers/gpu/drm/nouveau/nvkm/engine/disp/piocnv50.c if ((tmp & 0x00030000) == 0x00010000) tmp 37 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c u32 tmp; tmp 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c tmp = 0x00000021; /*XXX*/ tmp 51 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c nvkm_wr32(device, 0x640008, tmp); tmp 55 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c tmp = nvkm_rd32(device, 0x61c000 + (i * 0x800)); tmp 57 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c nvkm_wr32(device, 0x640144 + (i * 0x08), tmp); tmp 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c tmp = nvkm_rd32(device, 0x616300 + (id * 0x800)); tmp 66 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c nvkm_wr32(device, 0x640048 + (id * 0x020), tmp); tmp 70 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c tmp = nvkm_rd32(device, 0x616140 + (id * 0x800) + j); tmp 71 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c nvkm_wr32(device, 0x640680 + (id * 0x20) + j, tmp); tmp 79 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c tmp = nvkm_rd32(device, 0x630100 + (i * 0x800) + j); tmp 80 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c nvkm_mask(device, 0x640780 + (i * 0x20) + j, 0xffffffff, tmp); tmp 87 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c tmp = nvkm_rd32(device, 0x62e000 + (i * 0x04)); tmp 88 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c nvkm_wr32(device, 0x640010 + (i * 0x04), tmp); tmp 95 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c case NVKM_MEM_TARGET_VRAM: tmp = 0x00000001; break; tmp 96 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c case NVKM_MEM_TARGET_NCOH: tmp = 0x00000002; break; tmp 97 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c case NVKM_MEM_TARGET_HOST: tmp = 0x00000003; break; tmp 101 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c nvkm_wr32(device, 0x610010, 0x00000008 | tmp); tmp 71 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c u32 tmp = nvkm_rd32(device, NV04_PFIFO_CACHE1_PULL0); tmp 72 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c if (!(tmp & NV04_PFIFO_CACHE1_PULL0_HASH_BUSY)) tmp 70 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c u32 tmp, i; tmp 71 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c for (tmp = 0, i = 0; i < gr->gpc_nr; i++) tmp 72 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c tmp |= ((1 << gr->tpc_nr[i]) - 1) << (i * gr->func->tpc_nr); tmp 73 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c nvkm_wr32(gr->base.engine.subdev.device, 0x4041c4, tmp); tmp 30 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c int i, tmp; tmp 51 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c for (tmp = 0, i = 0; i < gr->gpc_nr; i++) tmp 52 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c tmp |= ((1 << gr->tpc_nr[i]) - 1) << (i * 4); tmp 53 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c nvkm_wr32(device, 0x4041c4, tmp); tmp 125 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c u32 tmp; tmp 134 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c for (tmp = nvkm_rd32(device, 0x400380); tmp && idle; tmp >>= 3) { tmp 135 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c if ((tmp & 7) == 1) tmp 139 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c for (tmp = nvkm_rd32(device, 0x400384); tmp && idle; tmp >>= 3) { tmp 140 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c if ((tmp & 7) == 1) tmp 144 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c for (tmp = nvkm_rd32(device, 0x400388); tmp && idle; tmp >>= 3) { tmp 145 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c if ((tmp & 7) == 1) tmp 154 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c tmp = nvkm_rd32(device, 0x400700); tmp 155 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c nvkm_snprintbf(status, sizeof(status), nv50_gr_status, tmp); tmp 156 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c nvkm_error(subdev, "PGRAPH_STATUS %08x [%s]\n", tmp, status); tmp 448 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c u32 tmp; tmp 450 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c tmp = nvkm_rd32(device, 0x700000 + inst); tmp 451 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c tmp &= ~mask; tmp 452 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c tmp |= value; tmp 453 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c nvkm_wr32(device, 0x700000 + inst, tmp); tmp 455 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c nvkm_wr32(device, NV04_PGRAPH_CTX_SWITCH1, tmp); tmp 456 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c nvkm_wr32(device, NV04_PGRAPH_CTX_CACHE1 + (subc << 2), tmp); tmp 463 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c u32 tmp, ctx1; tmp 469 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c tmp = nvkm_rd32(device, 0x70000c + inst); tmp 470 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c tmp &= ~mask; tmp 471 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c tmp |= value; tmp 472 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c nvkm_wr32(device, 0x70000c + inst, tmp); tmp 475 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (!(tmp & 0x02000000)) tmp 478 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if ((class == 0x1f || class == 0x48) && !(tmp & 0x04000000)) tmp 488 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (!(tmp & 0x18000000)) tmp 493 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (!(tmp & 0x20000000)) tmp 499 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c if (!(tmp & 0x40000000)) tmp 233 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c u32 tmp, vramsz; tmp 294 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c tmp = nvkm_rd32(device, NV10_PGRAPH_SURFACE) & 0x0007ff00; tmp 295 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nvkm_wr32(device, NV10_PGRAPH_SURFACE, tmp); tmp 296 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c tmp = nvkm_rd32(device, NV10_PGRAPH_SURFACE) | 0x00020100; tmp 297 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nvkm_wr32(device, NV10_PGRAPH_SURFACE, tmp); tmp 65 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c int tmp = 0; tmp 68 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (tmp++ == di) tmp 108 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c int tmp = 1; /* Sources ID start from 1 */ tmp 120 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (tmp++ == si) tmp 104 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c u32 tmp; tmp 151 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c tmp = nvkm_rd32(device, 0x0); tmp 152 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c nvkm_wr32(device, base + 0xde0, tmp); /* SCRATCH_H2X */ tmp 206 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u32 tmp = nvkm_rd32(device, reg); tmp 207 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c nvkm_wr32(device, reg, (tmp & ~mask) | val); tmp 208 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c return tmp; tmp 400 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c u32 tmp = nvkm_rd32(device, 0x137100) & (1 << idx); tmp 401 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c if (tmp == info->ssel) tmp 429 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c u32 tmp = nvkm_rd32(device, 0x137100) & (1 << idx); tmp 430 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c if (tmp == info->ssel) tmp 332 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c u32 tmp = nvkm_rd32(device, 0x00251c) & 0x0000003f; tmp 333 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c if (tmp == 0x0000003f) tmp 357 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c u32 tmp = nvkm_rd32(device, 0x004080) & pllmask; tmp 358 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c if (tmp == pllmask) tmp 49 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c u32 tmp = freq * *P * M; tmp 50 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c N = tmp / info->refclk; tmp 51 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c fN = tmp % info->refclk; tmp 59 drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.c fN = tmp - (N * info->refclk); tmp 213 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 tmp; tmp 215 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c tmp = ram_rd32(fuc, 0x1373ec) & ~0x00030000; tmp 216 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c ram_wr32(fuc, 0x1373ec, tmp | (v1 << 16)); tmp 1511 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c struct nvkm_ram_data *cfg, *tmp; tmp 1513 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c list_for_each_entry_safe(cfg, tmp, &ram->cfg, head) { tmp 1531 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 tmp; tmp 1551 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c for (i = 0, tmp = 0; i < ram->parts; i++) { tmp 1554 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (tmp && tmp != cfg1) { tmp 1558 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c tmp = cfg1; tmp 100 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c u32 tmp = nvkm_rd32(device, 0x600808 + (i * 0x2000)); tmp 101 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c if (!(tmp & 0x00010000)) tmp 106 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c u32 tmp = nvkm_rd32(device, 0x600808 + (i * 0x2000)); tmp 107 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c if ( (tmp & 0x00010000)) tmp 166 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c u32 tmp = nvkm_rd32(device, 0x600808 + (i * 0x2000)); tmp 167 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c if ( (tmp & 0x00010000)) tmp 51 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c u8 seg = 0x00, off = 0x00, tmp; tmp 53 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c tmp = nvkm_rdi2cr(adap, pad->addr, 0x07) & ~0x10; tmp 54 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, pad->addr, 0x07, tmp | 0x10); tmp 55 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, pad->addr, 0x07, tmp); tmp 144 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c u8 tmp; tmp 148 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c tmp = nvkm_rdi2cr(adap, pad->addr, 0x07) & ~0x04; tmp 149 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, pad->addr, 0x07, tmp | 0x04); tmp 150 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c nvkm_wri2cr(adap, pad->addr, 0x07, tmp); tmp 167 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c while ((tmp = nvkm_rdi2cr(adap, aux->addr, 0xe9)) & 0x01) { tmp 173 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c if ((tmp = nvkm_rdi2cr(adap, pad->addr, 0xf7)) & 0x01) { tmp 198 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c u8 tmp, i; tmp 209 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c while ((tmp = nvkm_rdi2cr(adap, aux->addr, 0xa8)) & 0x01) { tmp 217 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c if (tmp & 0x70) { tmp 30 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c u32 tmp = nvkm_rd32(device, 0x10020c); tmp 34 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c nvkm_wr32(device, 0x001700, tmp); tmp 37 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c nvkm_wr32(device, 0x00170c, tmp); tmp 939 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *tmp; tmp 940 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (!(tmp = nvkm_vma_tail(vma, vma->size - size))) { tmp 944 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c tmp->part = true; tmp 945 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_node_insert(vmm, tmp); tmp 1214 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *vma, *tmp; tmp 1275 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c tmp = nvkm_vmm_pfn_split_merge(vmm, vma, addr, size, tmp 1278 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (WARN_ON(!tmp)) { tmp 1283 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if ((tmp->mapped = map)) tmp 1284 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c tmp->refd = page - vmm->func->page; tmp 1286 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c tmp->refd = NVKM_VMA_PAGE_NONE; tmp 1287 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma = tmp; tmp 1641 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *vma = NULL, *tmp; tmp 1733 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (!(tmp = nvkm_vma_tail(vma, vma->size + vma->addr - addr))) { tmp 1738 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma = tmp; tmp 1742 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c if (!(tmp = nvkm_vma_tail(vma, vma->size - size))) { tmp 1746 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_free_insert(vmm, tmp); tmp 31 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c u32 tmp[4]; tmp 33 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[0] = nvkm_ro32(pt->memory, pteo + 0x0); tmp 34 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[1] = nvkm_ro32(pt->memory, pteo + 0x4); tmp 35 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[2] = nvkm_ro32(pt->memory, pteo + 0x8); tmp 36 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[3] = nvkm_ro32(pt->memory, pteo + 0xc); tmp 42 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[0] &= ~0x07ffffff; tmp 43 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[0] |= addr; tmp 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[0] &= ~0xf8000000; tmp 47 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[0] |= addr << 27; tmp 48 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[1] &= ~0x003fffff; tmp 49 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[1] |= addr >> 5; tmp 52 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[1] &= ~0xffc00000; tmp 53 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[1] |= addr << 22; tmp 54 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[2] &= ~0x0001ffff; tmp 55 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[2] |= addr >> 10; tmp 58 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[2] &= ~0xfffe0000; tmp 59 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[2] |= addr << 17; tmp 60 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[3] &= ~0x00000fff; tmp 61 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[3] |= addr >> 15; tmp 66 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, pteo + 0x0, tmp[0]); tmp 67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, pteo + 0x4, tmp[1]); tmp 68 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, pteo + 0x8, tmp[2]); tmp 69 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, pteo + 0xc, tmp[3] | 0x40000000); tmp 76 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c dma_addr_t tmp[4], i; tmp 81 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[i] = addr; tmp 82 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c nv44_vmm_pgt_fill(vmm, pt, tmp, ptei, pten); tmp 89 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[i] = addr >> 12; tmp 90 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, ptei++ * 4, tmp[0] >> 0 | tmp[1] << 27); tmp 91 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, ptei++ * 4, tmp[1] >> 5 | tmp[2] << 22); tmp 92 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, ptei++ * 4, tmp[2] >> 10 | tmp[3] << 17); tmp 93 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, ptei++ * 4, tmp[3] >> 15 | 0x40000000); tmp 99 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[i] = addr; tmp 100 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c nv44_vmm_pgt_fill(vmm, pt, tmp, ptei, ptes); tmp 126 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c u32 tmp[4], i; tmp 128 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c tmp[i] = *map->dma++ >> 12; tmp 129 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, ptei++ * 4, tmp[0] >> 0 | tmp[1] << 27); tmp 130 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, ptei++ * 4, tmp[1] >> 5 | tmp[2] << 22); tmp 131 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, ptei++ * 4, tmp[2] >> 10 | tmp[3] << 17); tmp 132 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c VMM_WO032(pt, vmm, ptei++ * 4, tmp[3] >> 15 | 0x40000000); tmp 41 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c u32 tmp = nvkm_rd32(device, 0x10a4b0); tmp 42 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c if (tmp != (addr ^ 8)) tmp 2201 drivers/gpu/drm/omapdrm/dss/dispc.c u64 tmp; tmp 2209 drivers/gpu/drm/omapdrm/dss/dispc.c tmp = (u64)pclk * height * out_width; tmp 2210 drivers/gpu/drm/omapdrm/dss/dispc.c do_div(tmp, 2 * out_height * ppl); tmp 2211 drivers/gpu/drm/omapdrm/dss/dispc.c core_clk = tmp; tmp 2217 drivers/gpu/drm/omapdrm/dss/dispc.c tmp = (u64)pclk * (height - 2 * out_height) * out_width; tmp 2218 drivers/gpu/drm/omapdrm/dss/dispc.c do_div(tmp, 2 * out_height * (ppl - out_width)); tmp 2219 drivers/gpu/drm/omapdrm/dss/dispc.c core_clk = max_t(u32, core_clk, tmp); tmp 2224 drivers/gpu/drm/omapdrm/dss/dispc.c tmp = (u64)pclk * width; tmp 2225 drivers/gpu/drm/omapdrm/dss/dispc.c do_div(tmp, out_width); tmp 2226 drivers/gpu/drm/omapdrm/dss/dispc.c core_clk = max_t(u32, core_clk, tmp); tmp 645 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c u32 x_bits, y_bits, tmp, x_mask, y_mask, alignment; tmp 669 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c tmp = ((x << y_bits) + y); tmp 671 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c tmp = ((y << x_bits) + x); tmp 673 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c return TIL_ADDR((tmp << alignment), orient, fmt); tmp 62 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c struct drm_gem_shmem_object *shmem, *tmp; tmp 68 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c list_for_each_entry_safe(shmem, tmp, &pfdev->shrinker_list, madv_list) { tmp 88 drivers/gpu/drm/qxl/qxl_image.c struct qxl_drm_chunk *chunk, *tmp; tmp 90 drivers/gpu/drm/qxl/qxl_image.c list_for_each_entry_safe(chunk, tmp, &dimage->chunk_list, head) { tmp 87 drivers/gpu/drm/r128/r128_cce.c u32 tmp; tmp 90 drivers/gpu/drm/r128/r128_cce.c tmp = R128_READ(R128_PC_NGUI_CTLSTAT) | R128_PC_FLUSH_ALL; tmp 91 drivers/gpu/drm/r128/r128_cce.c R128_WRITE(R128_PC_NGUI_CTLSTAT, tmp); tmp 200 drivers/gpu/drm/r128/r128_cce.c u32 tmp; tmp 202 drivers/gpu/drm/r128/r128_cce.c tmp = R128_READ(R128_PM4_BUFFER_DL_WPTR) | R128_PM4_BUFFER_DL_DONE; tmp 203 drivers/gpu/drm/r128/r128_cce.c R128_WRITE(R128_PM4_BUFFER_DL_WPTR, tmp); tmp 314 drivers/gpu/drm/r128/r128_cce.c u32 tmp; tmp 345 drivers/gpu/drm/r128/r128_cce.c tmp = R128_READ(R128_BUS_CNTL) & ~R128_BUS_MASTER_DIS; tmp 346 drivers/gpu/drm/r128/r128_cce.c R128_WRITE(R128_BUS_CNTL, tmp); tmp 371 drivers/gpu/drm/r128/r128_state.c unsigned int tmp = flags; tmp 374 drivers/gpu/drm/r128/r128_state.c if (tmp & R128_FRONT) tmp 376 drivers/gpu/drm/r128/r128_state.c if (tmp & R128_BACK) tmp 1158 drivers/gpu/drm/radeon/atombios_crtc.c u32 tmp, viewport_w, viewport_h; tmp 1323 drivers/gpu/drm/radeon/atombios_crtc.c tmp = rdev->config.cayman.tile_config; tmp 1325 drivers/gpu/drm/radeon/atombios_crtc.c tmp = rdev->config.evergreen.tile_config; tmp 1327 drivers/gpu/drm/radeon/atombios_crtc.c switch ((tmp & 0xf0) >> 4) { tmp 418 drivers/gpu/drm/radeon/atombios_dp.c u8 tmp; tmp 431 drivers/gpu/drm/radeon/atombios_dp.c DP_EDP_CONFIGURATION_CAP, &tmp) == 1) { tmp 432 drivers/gpu/drm/radeon/atombios_dp.c if (tmp & 1) tmp 443 drivers/gpu/drm/radeon/atombios_dp.c DP_EDP_CONFIGURATION_CAP, &tmp) == 1) { tmp 444 drivers/gpu/drm/radeon/atombios_dp.c if (tmp & 1) tmp 606 drivers/gpu/drm/radeon/atombios_dp.c u8 tmp; tmp 623 drivers/gpu/drm/radeon/atombios_dp.c tmp = dp_info->dp_lane_count; tmp 625 drivers/gpu/drm/radeon/atombios_dp.c tmp |= DP_LANE_COUNT_ENHANCED_FRAME_EN; tmp 626 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_LANE_COUNT_SET, tmp); tmp 629 drivers/gpu/drm/radeon/atombios_dp.c tmp = drm_dp_link_rate_to_bw_code(dp_info->dp_clock); tmp 630 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(dp_info->aux, DP_LINK_BW_SET, tmp); tmp 797 drivers/gpu/drm/radeon/atombios_dp.c u8 tmp, frev, crev; tmp 834 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp) tmp 836 drivers/gpu/drm/radeon/atombios_dp.c if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED)) tmp 1338 drivers/gpu/drm/radeon/btc_dpm.c u32 tmp, bif; tmp 1340 drivers/gpu/drm/radeon/btc_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 1342 drivers/gpu/drm/radeon/btc_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) && tmp 1343 drivers/gpu/drm/radeon/btc_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) { tmp 1349 drivers/gpu/drm/radeon/btc_dpm.c tmp &= ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 1350 drivers/gpu/drm/radeon/btc_dpm.c tmp |= LC_HW_VOLTAGE_IF_CONTROL(1); tmp 1351 drivers/gpu/drm/radeon/btc_dpm.c tmp |= LC_GEN2_EN_STRAP; tmp 1353 drivers/gpu/drm/radeon/btc_dpm.c tmp |= LC_CLR_FAILED_SPD_CHANGE_CNT; tmp 1354 drivers/gpu/drm/radeon/btc_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 1356 drivers/gpu/drm/radeon/btc_dpm.c tmp &= ~LC_CLR_FAILED_SPD_CHANGE_CNT; tmp 1357 drivers/gpu/drm/radeon/btc_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 1361 drivers/gpu/drm/radeon/btc_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) || tmp 1362 drivers/gpu/drm/radeon/btc_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) { tmp 1368 drivers/gpu/drm/radeon/btc_dpm.c tmp &= ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 1369 drivers/gpu/drm/radeon/btc_dpm.c tmp &= ~LC_GEN2_EN_STRAP; tmp 1371 drivers/gpu/drm/radeon/btc_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 1445 drivers/gpu/drm/radeon/btc_dpm.c u32 tmp; tmp 1448 drivers/gpu/drm/radeon/btc_dpm.c tmp = RREG32(sequence[i]); tmp 1449 drivers/gpu/drm/radeon/btc_dpm.c tmp &= ~sequence[i+2]; tmp 1450 drivers/gpu/drm/radeon/btc_dpm.c tmp |= sequence[i+1] & sequence[i+2]; tmp 1451 drivers/gpu/drm/radeon/btc_dpm.c WREG32(sequence[i], tmp); tmp 1922 drivers/gpu/drm/radeon/btc_dpm.c u32 tmp; tmp 1927 drivers/gpu/drm/radeon/btc_dpm.c tmp = RREG32(MC_PMG_CMD_EMRS); tmp 1932 drivers/gpu/drm/radeon/btc_dpm.c ((tmp & 0xffff0000)) | tmp 1940 drivers/gpu/drm/radeon/btc_dpm.c tmp = RREG32(MC_PMG_CMD_MRS); tmp 1945 drivers/gpu/drm/radeon/btc_dpm.c (tmp & 0xffff0000) | tmp 1956 drivers/gpu/drm/radeon/btc_dpm.c tmp = RREG32(MC_PMG_CMD_MRS1); tmp 1961 drivers/gpu/drm/radeon/btc_dpm.c (tmp & 0xffff0000) | tmp 2070 drivers/gpu/drm/radeon/btc_dpm.c u32 tmp; tmp 2074 drivers/gpu/drm/radeon/btc_dpm.c tmp = RREG32(MC_PMG_AUTO_CFG); tmp 2075 drivers/gpu/drm/radeon/btc_dpm.c if ((0x200 & tmp) == 0) { tmp 2076 drivers/gpu/drm/radeon/btc_dpm.c tmp = (tmp & 0xfffffc0b) | 0x204; tmp 2077 drivers/gpu/drm/radeon/btc_dpm.c WREG32(MC_PMG_AUTO_CFG, tmp); tmp 875 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 886 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_THERMAL_INT); tmp 887 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~(CI_DIG_THERM_INTH_MASK | CI_DIG_THERM_INTL_MASK); tmp 888 drivers/gpu/drm/radeon/ci_dpm.c tmp |= CI_DIG_THERM_INTH(high_temp / 1000) | tmp 890 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_THERMAL_INT, tmp); tmp 894 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_THERMAL_CTRL); tmp 895 drivers/gpu/drm/radeon/ci_dpm.c tmp &= DIG_THERM_DPM_MASK; tmp 896 drivers/gpu/drm/radeon/ci_dpm.c tmp |= DIG_THERM_DPM(high_temp / 1000); tmp 897 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_THERMAL_CTRL, tmp); tmp 938 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 941 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; tmp 942 drivers/gpu/drm/radeon/ci_dpm.c pi->fan_ctrl_default_mode = tmp; tmp 943 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; tmp 944 drivers/gpu/drm/radeon/ci_dpm.c pi->t_min = tmp; tmp 948 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; tmp 949 drivers/gpu/drm/radeon/ci_dpm.c tmp |= TMIN(0); tmp 950 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_FDO_CTRL2, tmp); tmp 952 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; tmp 953 drivers/gpu/drm/radeon/ci_dpm.c tmp |= FDO_PWM_MODE(mode); tmp 954 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_FDO_CTRL2, tmp); tmp 964 drivers/gpu/drm/radeon/ci_dpm.c u32 reference_clock, tmp; tmp 1017 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(CG_MULT_THERMAL_CTRL) & TEMP_SEL_MASK) >> TEMP_SEL_SHIFT; tmp 1018 drivers/gpu/drm/radeon/ci_dpm.c fan_table.TempSrc = (uint8_t)tmp; tmp 1103 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1126 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_FDO_CTRL0) & ~FDO_STATIC_DUTY_MASK; tmp 1127 drivers/gpu/drm/radeon/ci_dpm.c tmp |= FDO_STATIC_DUTY(duty); tmp 1128 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_FDO_CTRL0, tmp); tmp 1152 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1157 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; tmp 1158 drivers/gpu/drm/radeon/ci_dpm.c return (tmp >> FDO_PWM_MODE_SHIFT); tmp 1186 drivers/gpu/drm/radeon/ci_dpm.c u32 tach_period, tmp; tmp 1203 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_TACH_CTRL) & ~TARGET_PERIOD_MASK; tmp 1204 drivers/gpu/drm/radeon/ci_dpm.c tmp |= TARGET_PERIOD(tach_period); tmp 1205 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_TACH_CTRL, tmp); tmp 1216 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1219 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; tmp 1220 drivers/gpu/drm/radeon/ci_dpm.c tmp |= FDO_PWM_MODE(pi->fan_ctrl_default_mode); tmp 1221 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_FDO_CTRL2, tmp); tmp 1223 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TMIN_MASK; tmp 1224 drivers/gpu/drm/radeon/ci_dpm.c tmp |= TMIN(pi->t_min); tmp 1225 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_FDO_CTRL2, tmp); tmp 1240 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1243 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_TACH_CTRL) & ~EDGE_PER_REV_MASK; tmp 1244 drivers/gpu/drm/radeon/ci_dpm.c tmp |= EDGE_PER_REV(rdev->pm.fan_pulses_per_revolution -1); tmp 1245 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_TACH_CTRL, tmp); tmp 1248 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_FDO_CTRL2) & ~TACH_PWM_RESP_RATE_MASK; tmp 1249 drivers/gpu/drm/radeon/ci_dpm.c tmp |= TACH_PWM_RESP_RATE(0x28); tmp 1250 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_FDO_CTRL2, tmp); tmp 1308 drivers/gpu/drm/radeon/ci_dpm.c u16 tmp; tmp 1310 drivers/gpu/drm/radeon/ci_dpm.c tmp = 45; tmp 1311 drivers/gpu/drm/radeon/ci_dpm.c table->FpsHighT = cpu_to_be16(tmp); tmp 1313 drivers/gpu/drm/radeon/ci_dpm.c tmp = 30; tmp 1314 drivers/gpu/drm/radeon/ci_dpm.c table->FpsLowT = cpu_to_be16(tmp); tmp 1385 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1410 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_THERMAL_CTRL); tmp 1411 drivers/gpu/drm/radeon/ci_dpm.c tmp &= DPM_EVENT_SRC_MASK; tmp 1412 drivers/gpu/drm/radeon/ci_dpm.c tmp |= DPM_EVENT_SRC(dpm_event_src); tmp 1413 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_THERMAL_CTRL, tmp); tmp 1416 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 1418 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~THERMAL_PROTECTION_DIS; tmp 1420 drivers/gpu/drm/radeon/ci_dpm.c tmp |= THERMAL_PROTECTION_DIS; tmp 1421 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 1423 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 1424 drivers/gpu/drm/radeon/ci_dpm.c tmp |= THERMAL_PROTECTION_DIS; tmp 1425 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 1531 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1533 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 1534 drivers/gpu/drm/radeon/ci_dpm.c tmp |= GLOBAL_PWRMGT_EN; tmp 1535 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 1537 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(SCLK_PWRMGT_CNTL); tmp 1538 drivers/gpu/drm/radeon/ci_dpm.c tmp |= DYNAMIC_PM_EN; tmp 1539 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(SCLK_PWRMGT_CNTL, tmp); tmp 1592 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1594 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 1595 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~GLOBAL_PWRMGT_EN; tmp 1596 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 1598 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(SCLK_PWRMGT_CNTL); tmp 1599 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~DYNAMIC_PM_EN; tmp 1600 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(SCLK_PWRMGT_CNTL, tmp); tmp 1621 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp = RREG32_SMC(SCLK_PWRMGT_CNTL); tmp 1624 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~SCLK_PWRMGT_OFF; tmp 1626 drivers/gpu/drm/radeon/ci_dpm.c tmp |= SCLK_PWRMGT_OFF; tmp 1627 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(SCLK_PWRMGT_CNTL, tmp); tmp 1659 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1668 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32(SMC_RESP_0); tmp 1669 drivers/gpu/drm/radeon/ci_dpm.c if (tmp != 0) tmp 1673 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32(SMC_RESP_0); tmp 1675 drivers/gpu/drm/radeon/ci_dpm.c return (PPSMC_Result)tmp; tmp 1819 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 1825 drivers/gpu/drm/radeon/ci_dpm.c &tmp, pi->sram_end); tmp 1829 drivers/gpu/drm/radeon/ci_dpm.c pi->dpm_table_start = tmp; tmp 1834 drivers/gpu/drm/radeon/ci_dpm.c &tmp, pi->sram_end); tmp 1838 drivers/gpu/drm/radeon/ci_dpm.c pi->soft_regs_start = tmp; tmp 1843 drivers/gpu/drm/radeon/ci_dpm.c &tmp, pi->sram_end); tmp 1847 drivers/gpu/drm/radeon/ci_dpm.c pi->mc_reg_table_start = tmp; tmp 1852 drivers/gpu/drm/radeon/ci_dpm.c &tmp, pi->sram_end); tmp 1856 drivers/gpu/drm/radeon/ci_dpm.c pi->fan_table_start = tmp; tmp 1861 drivers/gpu/drm/radeon/ci_dpm.c &tmp, pi->sram_end); tmp 1865 drivers/gpu/drm/radeon/ci_dpm.c pi->arb_table_start = tmp; tmp 1907 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 1910 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~THERMAL_PROTECTION_DIS; tmp 1912 drivers/gpu/drm/radeon/ci_dpm.c tmp |= THERMAL_PROTECTION_DIS; tmp 1913 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 1918 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 1920 drivers/gpu/drm/radeon/ci_dpm.c tmp |= STATIC_PM_EN; tmp 1922 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 1987 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp = RREG32_SMC(CG_DISPLAY_GAP_CNTL); tmp 1994 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~DISP_GAP_MASK; tmp 1996 drivers/gpu/drm/radeon/ci_dpm.c tmp |= DISP_GAP(R600_PM_DISPLAY_GAP_VBLANK_OR_WM); tmp 1998 drivers/gpu/drm/radeon/ci_dpm.c tmp |= DISP_GAP(R600_PM_DISPLAY_GAP_IGNORE); tmp 1999 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_DISPLAY_GAP_CNTL, tmp); tmp 2008 drivers/gpu/drm/radeon/ci_dpm.c tmp = pre_vbi_time_in_us * (ref_clock / 100); tmp 2010 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_DISPLAY_GAP_CNTL2, tmp); tmp 2022 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 2026 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 2027 drivers/gpu/drm/radeon/ci_dpm.c tmp |= DYN_SPREAD_SPECTRUM_EN; tmp 2028 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 2031 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(CG_SPLL_SPREAD_SPECTRUM); tmp 2032 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~SSEN; tmp 2033 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_SPLL_SPREAD_SPECTRUM, tmp); tmp 2035 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 2036 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~DYN_SPREAD_SPECTRUM_EN; tmp 2037 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 2048 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp = RREG32_SMC(CG_DISPLAY_GAP_CNTL); tmp 2050 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~(DISP_GAP_MASK | DISP_GAP_MCHG_MASK); tmp 2051 drivers/gpu/drm/radeon/ci_dpm.c tmp |= (DISP_GAP(R600_PM_DISPLAY_GAP_IGNORE) | tmp 2054 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CG_DISPLAY_GAP_CNTL, tmp); tmp 2059 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 2061 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(SCLK_PWRMGT_CNTL); tmp 2062 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~(RESET_SCLK_CNT | RESET_BUSY_CNT); tmp 2063 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(SCLK_PWRMGT_CNTL, tmp); tmp 2077 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 2079 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(SCLK_PWRMGT_CNTL); tmp 2080 drivers/gpu/drm/radeon/ci_dpm.c tmp |= (RESET_SCLK_CNT | RESET_BUSY_CNT); tmp 2081 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(SCLK_PWRMGT_CNTL, tmp); tmp 2416 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 2420 drivers/gpu/drm/radeon/ci_dpm.c &tmp, pi->sram_end); tmp 2424 drivers/gpu/drm/radeon/ci_dpm.c tmp &= 0x00FFFFFF; tmp 2425 drivers/gpu/drm/radeon/ci_dpm.c tmp |= MC_CG_ARB_FREQ_F1 << 24; tmp 2428 drivers/gpu/drm/radeon/ci_dpm.c tmp, pi->sram_end); tmp 2456 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 2464 drivers/gpu/drm/radeon/ci_dpm.c tmp = sclk / (1 << i); tmp 2465 drivers/gpu/drm/radeon/ci_dpm.c if (tmp >= min || i == 0) tmp 2485 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 2487 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(SMC_SCRATCH9) & 0x0000ff00) >> 8; tmp 2489 drivers/gpu/drm/radeon/ci_dpm.c if (tmp == MC_CG_ARB_FREQ_F0) tmp 2492 drivers/gpu/drm/radeon/ci_dpm.c return ni_copy_and_switch_arb_sets(rdev, tmp, MC_CG_ARB_FREQ_F0); tmp 2501 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp, tmp2; tmp 2503 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32(MC_SEQ_MISC0); tmp 2504 drivers/gpu/drm/radeon/ci_dpm.c patch = ((tmp & 0x0000f00) == 0x300) ? true : false; tmp 2830 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 2838 drivers/gpu/drm/radeon/ci_dpm.c tmp = (freq_nom / reference_clock); tmp 2839 drivers/gpu/drm/radeon/ci_dpm.c tmp = tmp * tmp; tmp 2843 drivers/gpu/drm/radeon/ci_dpm.c u32 clkv = (u32)((((131 * ss.percentage * ss.rate) / 100) * tmp) / freq_nom); tmp 4080 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 4090 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(DPM_TABLE_475); tmp 4091 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~UvdBootLevel_MASK; tmp 4092 drivers/gpu/drm/radeon/ci_dpm.c tmp |= UvdBootLevel(pi->smc_state_table.UvdBootLevel); tmp 4093 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(DPM_TABLE_475, tmp); tmp 4120 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 4128 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(DPM_TABLE_475); tmp 4129 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~VceBootLevel_MASK; tmp 4130 drivers/gpu/drm/radeon/ci_dpm.c tmp |= VceBootLevel(pi->smc_state_table.VceBootLevel); tmp 4131 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(DPM_TABLE_475, tmp); tmp 4153 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 4158 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32_SMC(DPM_TABLE_475); tmp 4159 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~AcpBootLevel_MASK; tmp 4160 drivers/gpu/drm/radeon/ci_dpm.c tmp |= AcpBootLevel(pi->smc_state_table.AcpBootLevel); tmp 4161 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(DPM_TABLE_475, tmp); tmp 4210 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp, levels, i; tmp 4217 drivers/gpu/drm/radeon/ci_dpm.c tmp = pi->dpm_level_enable_mask.pcie_dpm_enable_mask; tmp 4218 drivers/gpu/drm/radeon/ci_dpm.c while (tmp >>= 1) tmp 4225 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(TARGET_AND_CURRENT_PROFILE_INDEX_1) & tmp 4227 drivers/gpu/drm/radeon/ci_dpm.c if (tmp == levels) tmp 4236 drivers/gpu/drm/radeon/ci_dpm.c tmp = pi->dpm_level_enable_mask.sclk_dpm_enable_mask; tmp 4237 drivers/gpu/drm/radeon/ci_dpm.c while (tmp >>= 1) tmp 4244 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(TARGET_AND_CURRENT_PROFILE_INDEX) & tmp 4246 drivers/gpu/drm/radeon/ci_dpm.c if (tmp == levels) tmp 4255 drivers/gpu/drm/radeon/ci_dpm.c tmp = pi->dpm_level_enable_mask.mclk_dpm_enable_mask; tmp 4256 drivers/gpu/drm/radeon/ci_dpm.c while (tmp >>= 1) tmp 4263 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(TARGET_AND_CURRENT_PROFILE_INDEX) & tmp 4265 drivers/gpu/drm/radeon/ci_dpm.c if (tmp == levels) tmp 4280 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(TARGET_AND_CURRENT_PROFILE_INDEX) & tmp 4282 drivers/gpu/drm/radeon/ci_dpm.c if (tmp == levels) tmp 4295 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(TARGET_AND_CURRENT_PROFILE_INDEX) & tmp 4297 drivers/gpu/drm/radeon/ci_dpm.c if (tmp == levels) tmp 4310 drivers/gpu/drm/radeon/ci_dpm.c tmp = (RREG32_SMC(TARGET_AND_CURRENT_PROFILE_INDEX_1) & tmp 4312 drivers/gpu/drm/radeon/ci_dpm.c if (tmp == levels) tmp 4538 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 4541 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32(MC_SEQ_MISC0); tmp 4542 drivers/gpu/drm/radeon/ci_dpm.c patch = ((tmp & 0x0000f00) == 0x300) ? true : false; tmp 4615 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32(MC_SEQ_IO_DEBUG_DATA); tmp 4616 drivers/gpu/drm/radeon/ci_dpm.c tmp = (tmp & 0xFFF8FFFF) | (1 << 16); tmp 4618 drivers/gpu/drm/radeon/ci_dpm.c WREG32(MC_SEQ_IO_DEBUG_DATA, tmp); tmp 4791 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 4793 drivers/gpu/drm/radeon/ci_dpm.c tmp |= VOLT_PWRMGT_EN; tmp 4794 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 5096 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp; tmp 5098 drivers/gpu/drm/radeon/ci_dpm.c tmp = RREG32(MC_SEQ_MISC0); tmp 5100 drivers/gpu/drm/radeon/ci_dpm.c if (((tmp & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT) == tmp 5849 drivers/gpu/drm/radeon/ci_dpm.c u32 tmp = RREG32_SMC(CNB_PWRMGT_CNTL); tmp 5853 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~GNB_SLOW_MODE_MASK; tmp 5854 drivers/gpu/drm/radeon/ci_dpm.c tmp |= GNB_SLOW_MODE(1); tmp 5857 drivers/gpu/drm/radeon/ci_dpm.c tmp &= ~GNB_SLOW_MODE_MASK; tmp 5858 drivers/gpu/drm/radeon/ci_dpm.c tmp |= GNB_SLOW_MODE(2); tmp 5861 drivers/gpu/drm/radeon/ci_dpm.c tmp |= GNB_SLOW; tmp 5864 drivers/gpu/drm/radeon/ci_dpm.c tmp |= FORCE_NB_PS1; tmp 5867 drivers/gpu/drm/radeon/ci_dpm.c tmp |= DPM_ENABLED; tmp 5873 drivers/gpu/drm/radeon/ci_dpm.c WREG32_SMC(CNB_PWRMGT_CNTL, tmp); tmp 116 drivers/gpu/drm/radeon/ci_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); tmp 118 drivers/gpu/drm/radeon/ci_smc.c tmp &= ~RST_REG; tmp 119 drivers/gpu/drm/radeon/ci_smc.c WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); tmp 124 drivers/gpu/drm/radeon/ci_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); tmp 126 drivers/gpu/drm/radeon/ci_smc.c tmp |= RST_REG; tmp 127 drivers/gpu/drm/radeon/ci_smc.c WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); tmp 139 drivers/gpu/drm/radeon/ci_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); tmp 141 drivers/gpu/drm/radeon/ci_smc.c tmp |= CK_DISABLE; tmp 143 drivers/gpu/drm/radeon/ci_smc.c WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); tmp 148 drivers/gpu/drm/radeon/ci_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); tmp 150 drivers/gpu/drm/radeon/ci_smc.c tmp &= ~CK_DISABLE; tmp 152 drivers/gpu/drm/radeon/ci_smc.c WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); tmp 169 drivers/gpu/drm/radeon/ci_smc.c u32 tmp; tmp 176 drivers/gpu/drm/radeon/ci_smc.c tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); tmp 177 drivers/gpu/drm/radeon/ci_smc.c if ((tmp & CKEN) == 0) tmp 1877 drivers/gpu/drm/radeon/cik.c u32 running, tmp; tmp 1933 drivers/gpu/drm/radeon/cik.c tmp = RREG32(MC_SEQ_MISC0); tmp 1934 drivers/gpu/drm/radeon/cik.c if ((rdev->pdev->device == 0x6649) && ((tmp & 0xff00) == 0x5600)) { tmp 3187 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 3283 drivers/gpu/drm/radeon/cik.c tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; tmp 3284 drivers/gpu/drm/radeon/cik.c rdev->config.cik.mem_row_size_in_kb = (4 * (1 << (8 + tmp))) / 1024; tmp 3368 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SPI_CONFIG_CNTL); tmp 3369 drivers/gpu/drm/radeon/cik.c tmp |= 0x03000000; tmp 3370 drivers/gpu/drm/radeon/cik.c WREG32(SPI_CONFIG_CNTL, tmp); tmp 3376 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DB_DEBUG2) & ~0xf00fffff; tmp 3377 drivers/gpu/drm/radeon/cik.c tmp |= 0x00000400; tmp 3378 drivers/gpu/drm/radeon/cik.c WREG32(DB_DEBUG2, tmp); tmp 3380 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DB_DEBUG3) & ~0x0002021c; tmp 3381 drivers/gpu/drm/radeon/cik.c tmp |= 0x00020200; tmp 3382 drivers/gpu/drm/radeon/cik.c WREG32(DB_DEBUG3, tmp); tmp 3384 drivers/gpu/drm/radeon/cik.c tmp = RREG32(CB_HW_CONTROL) & ~0x00010000; tmp 3385 drivers/gpu/drm/radeon/cik.c tmp |= 0x00018208; tmp 3386 drivers/gpu/drm/radeon/cik.c WREG32(CB_HW_CONTROL, tmp); tmp 3410 drivers/gpu/drm/radeon/cik.c tmp = RREG32(HDP_MISC_CNTL); tmp 3411 drivers/gpu/drm/radeon/cik.c tmp |= HDP_FLUSH_INVALIDATE_CACHE; tmp 3412 drivers/gpu/drm/radeon/cik.c WREG32(HDP_MISC_CNTL, tmp); tmp 3462 drivers/gpu/drm/radeon/cik.c uint32_t tmp = 0; tmp 3484 drivers/gpu/drm/radeon/cik.c tmp = RREG32(scratch); tmp 3485 drivers/gpu/drm/radeon/cik.c if (tmp == 0xDEADBEEF) tmp 3493 drivers/gpu/drm/radeon/cik.c ring->idx, scratch, tmp); tmp 3787 drivers/gpu/drm/radeon/cik.c uint32_t tmp = 0; tmp 3829 drivers/gpu/drm/radeon/cik.c tmp = RREG32(scratch); tmp 3830 drivers/gpu/drm/radeon/cik.c if (tmp == 0xDEADBEEF) tmp 3838 drivers/gpu/drm/radeon/cik.c scratch, tmp); tmp 4063 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 4084 drivers/gpu/drm/radeon/cik.c tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 4086 drivers/gpu/drm/radeon/cik.c tmp |= BUF_SWAP_32BIT; tmp 4088 drivers/gpu/drm/radeon/cik.c WREG32(CP_RB0_CNTL, tmp); tmp 4091 drivers/gpu/drm/radeon/cik.c WREG32(CP_RB0_CNTL, tmp | RB_RPTR_WR_ENA); tmp 4103 drivers/gpu/drm/radeon/cik.c tmp |= RB_NO_UPDATE; tmp 4106 drivers/gpu/drm/radeon/cik.c WREG32(CP_RB0_CNTL, tmp); tmp 4201 drivers/gpu/drm/radeon/cik.c u32 j, tmp; tmp 4205 drivers/gpu/drm/radeon/cik.c tmp = RREG32(CP_PQ_WPTR_POLL_CNTL); tmp 4206 drivers/gpu/drm/radeon/cik.c tmp &= ~WPTR_POLL_EN; tmp 4207 drivers/gpu/drm/radeon/cik.c WREG32(CP_PQ_WPTR_POLL_CNTL, tmp); tmp 4525 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 4539 drivers/gpu/drm/radeon/cik.c tmp = RREG32(CP_CPF_DEBUG); tmp 4540 drivers/gpu/drm/radeon/cik.c tmp |= (1 << 23); tmp 4541 drivers/gpu/drm/radeon/cik.c WREG32(CP_CPF_DEBUG, tmp); tmp 4561 drivers/gpu/drm/radeon/cik.c tmp = RREG32(CP_HPD_EOP_CONTROL); tmp 4562 drivers/gpu/drm/radeon/cik.c tmp &= ~EOP_SIZE_MASK; tmp 4563 drivers/gpu/drm/radeon/cik.c tmp |= order_base_2(MEC_HPD_SIZE / 8); tmp 4564 drivers/gpu/drm/radeon/cik.c WREG32(CP_HPD_EOP_CONTROL, tmp); tmp 4624 drivers/gpu/drm/radeon/cik.c tmp = RREG32(CP_PQ_WPTR_POLL_CNTL); tmp 4625 drivers/gpu/drm/radeon/cik.c tmp &= ~WPTR_POLL_EN; tmp 4626 drivers/gpu/drm/radeon/cik.c WREG32(CP_PQ_WPTR_POLL_CNTL, tmp); tmp 4859 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 4862 drivers/gpu/drm/radeon/cik.c tmp = RREG32(GRBM_STATUS); tmp 4863 drivers/gpu/drm/radeon/cik.c if (tmp & (PA_BUSY | SC_BUSY | tmp 4871 drivers/gpu/drm/radeon/cik.c if (tmp & (CP_BUSY | CP_COHERENCY_BUSY)) tmp 4875 drivers/gpu/drm/radeon/cik.c tmp = RREG32(GRBM_STATUS2); tmp 4876 drivers/gpu/drm/radeon/cik.c if (tmp & RLC_BUSY) tmp 4880 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SDMA0_STATUS_REG + SDMA0_REGISTER_OFFSET); tmp 4881 drivers/gpu/drm/radeon/cik.c if (!(tmp & SDMA_IDLE)) tmp 4885 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SDMA0_STATUS_REG + SDMA1_REGISTER_OFFSET); tmp 4886 drivers/gpu/drm/radeon/cik.c if (!(tmp & SDMA_IDLE)) tmp 4890 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SRBM_STATUS2); tmp 4891 drivers/gpu/drm/radeon/cik.c if (tmp & SDMA_BUSY) tmp 4894 drivers/gpu/drm/radeon/cik.c if (tmp & SDMA1_BUSY) tmp 4898 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SRBM_STATUS); tmp 4900 drivers/gpu/drm/radeon/cik.c if (tmp & IH_BUSY) tmp 4903 drivers/gpu/drm/radeon/cik.c if (tmp & SEM_BUSY) tmp 4906 drivers/gpu/drm/radeon/cik.c if (tmp & GRBM_RQ_PENDING) tmp 4909 drivers/gpu/drm/radeon/cik.c if (tmp & VMC_BUSY) tmp 4912 drivers/gpu/drm/radeon/cik.c if (tmp & (MCB_BUSY | MCB_NON_DISPLAY_BUSY | tmp 4940 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 4968 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SDMA0_ME_CNTL + SDMA0_REGISTER_OFFSET); tmp 4969 drivers/gpu/drm/radeon/cik.c tmp |= SDMA_HALT; tmp 4970 drivers/gpu/drm/radeon/cik.c WREG32(SDMA0_ME_CNTL + SDMA0_REGISTER_OFFSET, tmp); tmp 4974 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SDMA0_ME_CNTL + SDMA1_REGISTER_OFFSET); tmp 4975 drivers/gpu/drm/radeon/cik.c tmp |= SDMA_HALT; tmp 4976 drivers/gpu/drm/radeon/cik.c WREG32(SDMA0_ME_CNTL + SDMA1_REGISTER_OFFSET, tmp); tmp 5023 drivers/gpu/drm/radeon/cik.c tmp = RREG32(GRBM_SOFT_RESET); tmp 5024 drivers/gpu/drm/radeon/cik.c tmp |= grbm_soft_reset; tmp 5025 drivers/gpu/drm/radeon/cik.c dev_info(rdev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 5026 drivers/gpu/drm/radeon/cik.c WREG32(GRBM_SOFT_RESET, tmp); tmp 5027 drivers/gpu/drm/radeon/cik.c tmp = RREG32(GRBM_SOFT_RESET); tmp 5031 drivers/gpu/drm/radeon/cik.c tmp &= ~grbm_soft_reset; tmp 5032 drivers/gpu/drm/radeon/cik.c WREG32(GRBM_SOFT_RESET, tmp); tmp 5033 drivers/gpu/drm/radeon/cik.c tmp = RREG32(GRBM_SOFT_RESET); tmp 5037 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SRBM_SOFT_RESET); tmp 5038 drivers/gpu/drm/radeon/cik.c tmp |= srbm_soft_reset; tmp 5039 drivers/gpu/drm/radeon/cik.c dev_info(rdev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 5040 drivers/gpu/drm/radeon/cik.c WREG32(SRBM_SOFT_RESET, tmp); tmp 5041 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SRBM_SOFT_RESET); tmp 5045 drivers/gpu/drm/radeon/cik.c tmp &= ~srbm_soft_reset; tmp 5046 drivers/gpu/drm/radeon/cik.c WREG32(SRBM_SOFT_RESET, tmp); tmp 5047 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SRBM_SOFT_RESET); tmp 5154 drivers/gpu/drm/radeon/cik.c u32 tmp, i; tmp 5171 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SDMA0_ME_CNTL + SDMA0_REGISTER_OFFSET); tmp 5172 drivers/gpu/drm/radeon/cik.c tmp |= SDMA_HALT; tmp 5173 drivers/gpu/drm/radeon/cik.c WREG32(SDMA0_ME_CNTL + SDMA0_REGISTER_OFFSET, tmp); tmp 5175 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SDMA0_ME_CNTL + SDMA1_REGISTER_OFFSET); tmp 5176 drivers/gpu/drm/radeon/cik.c tmp |= SDMA_HALT; tmp 5177 drivers/gpu/drm/radeon/cik.c WREG32(SDMA0_ME_CNTL + SDMA1_REGISTER_OFFSET, tmp); tmp 5288 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 5314 drivers/gpu/drm/radeon/cik.c tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; tmp 5315 drivers/gpu/drm/radeon/cik.c tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); tmp 5316 drivers/gpu/drm/radeon/cik.c WREG32(MC_VM_FB_LOCATION, tmp); tmp 5344 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 5349 drivers/gpu/drm/radeon/cik.c tmp = RREG32(MC_ARB_RAMCFG); tmp 5350 drivers/gpu/drm/radeon/cik.c if (tmp & CHANSIZE_MASK) { tmp 5355 drivers/gpu/drm/radeon/cik.c tmp = RREG32(MC_SHARED_CHMAP); tmp 5356 drivers/gpu/drm/radeon/cik.c switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { tmp 5510 drivers/gpu/drm/radeon/cik.c u32 tmp = RREG32(CHUB_CONTROL); tmp 5511 drivers/gpu/drm/radeon/cik.c tmp &= ~BYPASS_VM; tmp 5512 drivers/gpu/drm/radeon/cik.c WREG32(CHUB_CONTROL, tmp); tmp 5635 drivers/gpu/drm/radeon/cik.c u64 tmp = RREG32(MC_VM_FB_OFFSET); tmp 5636 drivers/gpu/drm/radeon/cik.c tmp <<= 22; tmp 5637 drivers/gpu/drm/radeon/cik.c rdev->vm_manager.vram_base_offset = tmp; tmp 5775 drivers/gpu/drm/radeon/cik.c u32 tmp = RREG32(CP_INT_CNTL_RING0); tmp 5778 drivers/gpu/drm/radeon/cik.c tmp |= (CNTX_BUSY_INT_ENABLE | CNTX_EMPTY_INT_ENABLE); tmp 5780 drivers/gpu/drm/radeon/cik.c tmp &= ~(CNTX_BUSY_INT_ENABLE | CNTX_EMPTY_INT_ENABLE); tmp 5781 drivers/gpu/drm/radeon/cik.c WREG32(CP_INT_CNTL_RING0, tmp); tmp 5786 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 5788 drivers/gpu/drm/radeon/cik.c tmp = RREG32(RLC_LB_CNTL); tmp 5790 drivers/gpu/drm/radeon/cik.c tmp |= LOAD_BALANCE_ENABLE; tmp 5792 drivers/gpu/drm/radeon/cik.c tmp &= ~LOAD_BALANCE_ENABLE; tmp 5793 drivers/gpu/drm/radeon/cik.c WREG32(RLC_LB_CNTL, tmp); tmp 5823 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 5825 drivers/gpu/drm/radeon/cik.c tmp = RREG32(RLC_CNTL); tmp 5826 drivers/gpu/drm/radeon/cik.c if (tmp != rlc) tmp 5856 drivers/gpu/drm/radeon/cik.c u32 tmp, i, mask; tmp 5858 drivers/gpu/drm/radeon/cik.c tmp = REQ | MESSAGE(MSG_ENTER_RLC_SAFE_MODE); tmp 5859 drivers/gpu/drm/radeon/cik.c WREG32(RLC_GPR_REG2, tmp); tmp 5877 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 5879 drivers/gpu/drm/radeon/cik.c tmp = REQ | MESSAGE(MSG_EXIT_RLC_SAFE_MODE); tmp 5880 drivers/gpu/drm/radeon/cik.c WREG32(RLC_GPR_REG2, tmp); tmp 5926 drivers/gpu/drm/radeon/cik.c u32 i, size, tmp; tmp 5934 drivers/gpu/drm/radeon/cik.c tmp = RREG32(RLC_CGCG_CGLS_CTRL) & 0xfffffffc; tmp 5935 drivers/gpu/drm/radeon/cik.c WREG32(RLC_CGCG_CGLS_CTRL, tmp); tmp 6007 drivers/gpu/drm/radeon/cik.c u32 data, orig, tmp, tmp2; tmp 6014 drivers/gpu/drm/radeon/cik.c tmp = cik_halt_rlc(rdev); tmp 6022 drivers/gpu/drm/radeon/cik.c cik_update_rlc(rdev, tmp); tmp 6043 drivers/gpu/drm/radeon/cik.c u32 data, orig, tmp = 0; tmp 6061 drivers/gpu/drm/radeon/cik.c tmp = cik_halt_rlc(rdev); tmp 6069 drivers/gpu/drm/radeon/cik.c cik_update_rlc(rdev, tmp); tmp 6109 drivers/gpu/drm/radeon/cik.c tmp = cik_halt_rlc(rdev); tmp 6117 drivers/gpu/drm/radeon/cik.c cik_update_rlc(rdev, tmp); tmp 6541 drivers/gpu/drm/radeon/cik.c u32 mask = 0, tmp, tmp1; tmp 6545 drivers/gpu/drm/radeon/cik.c tmp = RREG32(CC_GC_SHADER_ARRAY_CONFIG); tmp 6549 drivers/gpu/drm/radeon/cik.c tmp &= 0xffff0000; tmp 6551 drivers/gpu/drm/radeon/cik.c tmp |= tmp1; tmp 6552 drivers/gpu/drm/radeon/cik.c tmp >>= 16; tmp 6559 drivers/gpu/drm/radeon/cik.c return (~tmp) & mask; tmp 6566 drivers/gpu/drm/radeon/cik.c u32 tmp = 0; tmp 6583 drivers/gpu/drm/radeon/cik.c tmp |= (cu_bitmap << (i * 16 + j * 8)); tmp 6587 drivers/gpu/drm/radeon/cik.c WREG32(RLC_PG_AO_CU_MASK, tmp); tmp 6589 drivers/gpu/drm/radeon/cik.c tmp = RREG32(RLC_MAX_PG_CU); tmp 6590 drivers/gpu/drm/radeon/cik.c tmp &= ~MAX_PU_CU_MASK; tmp 6591 drivers/gpu/drm/radeon/cik.c tmp |= MAX_PU_CU(active_cu_number); tmp 6592 drivers/gpu/drm/radeon/cik.c WREG32(RLC_MAX_PG_CU, tmp); tmp 6871 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 6874 drivers/gpu/drm/radeon/cik.c tmp = RREG32(CP_INT_CNTL_RING0) & tmp 6876 drivers/gpu/drm/radeon/cik.c WREG32(CP_INT_CNTL_RING0, tmp); tmp 6878 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SDMA0_CNTL + SDMA0_REGISTER_OFFSET) & ~TRAP_ENABLE; tmp 6879 drivers/gpu/drm/radeon/cik.c WREG32(SDMA0_CNTL + SDMA0_REGISTER_OFFSET, tmp); tmp 6880 drivers/gpu/drm/radeon/cik.c tmp = RREG32(SDMA0_CNTL + SDMA1_REGISTER_OFFSET) & ~TRAP_ENABLE; tmp 6881 drivers/gpu/drm/radeon/cik.c WREG32(SDMA0_CNTL + SDMA1_REGISTER_OFFSET, tmp); tmp 6924 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD1_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 6925 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD1_INT_CONTROL, tmp); tmp 6926 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD2_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 6927 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD2_INT_CONTROL, tmp); tmp 6928 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD3_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 6929 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD3_INT_CONTROL, tmp); tmp 6930 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD4_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 6931 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD4_INT_CONTROL, tmp); tmp 6932 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD5_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 6933 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD5_INT_CONTROL, tmp); tmp 6934 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD6_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 6935 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD6_INT_CONTROL, tmp); tmp 7302 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 7379 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD1_INT_CONTROL); tmp 7380 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_INT_ACK; tmp 7381 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD1_INT_CONTROL, tmp); tmp 7384 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD2_INT_CONTROL); tmp 7385 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_INT_ACK; tmp 7386 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD2_INT_CONTROL, tmp); tmp 7389 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD3_INT_CONTROL); tmp 7390 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_INT_ACK; tmp 7391 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD3_INT_CONTROL, tmp); tmp 7394 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD4_INT_CONTROL); tmp 7395 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_INT_ACK; tmp 7396 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD4_INT_CONTROL, tmp); tmp 7399 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD5_INT_CONTROL); tmp 7400 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_INT_ACK; tmp 7401 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD5_INT_CONTROL, tmp); tmp 7404 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD6_INT_CONTROL); tmp 7405 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_INT_ACK; tmp 7406 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD6_INT_CONTROL, tmp); tmp 7409 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD1_INT_CONTROL); tmp 7410 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_RX_INT_ACK; tmp 7411 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD1_INT_CONTROL, tmp); tmp 7414 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD2_INT_CONTROL); tmp 7415 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_RX_INT_ACK; tmp 7416 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD2_INT_CONTROL, tmp); tmp 7419 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD3_INT_CONTROL); tmp 7420 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_RX_INT_ACK; tmp 7421 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD3_INT_CONTROL, tmp); tmp 7424 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD4_INT_CONTROL); tmp 7425 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_RX_INT_ACK; tmp 7426 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD4_INT_CONTROL, tmp); tmp 7429 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD5_INT_CONTROL); tmp 7430 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_RX_INT_ACK; tmp 7431 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD5_INT_CONTROL, tmp); tmp 7434 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DC_HPD6_INT_CONTROL); tmp 7435 drivers/gpu/drm/radeon/cik.c tmp |= DC_HPDx_RX_INT_ACK; tmp 7436 drivers/gpu/drm/radeon/cik.c WREG32(DC_HPD6_INT_CONTROL, tmp); tmp 7498 drivers/gpu/drm/radeon/cik.c u32 wptr, tmp; tmp 7514 drivers/gpu/drm/radeon/cik.c tmp = RREG32(IH_RB_CNTL); tmp 7515 drivers/gpu/drm/radeon/cik.c tmp |= IH_WPTR_OVERFLOW_CLEAR; tmp 7516 drivers/gpu/drm/radeon/cik.c WREG32(IH_RB_CNTL, tmp); tmp 8752 drivers/gpu/drm/radeon/cik.c u32 tmp = 0; tmp 8777 drivers/gpu/drm/radeon/cik.c tmp |= (FMT_FRAME_RANDOM_ENABLE | FMT_HIGHPASS_RANDOM_ENABLE | tmp 8780 drivers/gpu/drm/radeon/cik.c tmp |= (FMT_TRUNCATE_EN | FMT_TRUNCATE_DEPTH(0)); tmp 8785 drivers/gpu/drm/radeon/cik.c tmp |= (FMT_FRAME_RANDOM_ENABLE | FMT_HIGHPASS_RANDOM_ENABLE | tmp 8789 drivers/gpu/drm/radeon/cik.c tmp |= (FMT_TRUNCATE_EN | FMT_TRUNCATE_DEPTH(1)); tmp 8794 drivers/gpu/drm/radeon/cik.c tmp |= (FMT_FRAME_RANDOM_ENABLE | FMT_HIGHPASS_RANDOM_ENABLE | tmp 8798 drivers/gpu/drm/radeon/cik.c tmp |= (FMT_TRUNCATE_EN | FMT_TRUNCATE_DEPTH(2)); tmp 8805 drivers/gpu/drm/radeon/cik.c WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 8825 drivers/gpu/drm/radeon/cik.c u32 tmp, buffer_alloc, i; tmp 8837 drivers/gpu/drm/radeon/cik.c tmp = 1; tmp 8840 drivers/gpu/drm/radeon/cik.c tmp = 2; tmp 8843 drivers/gpu/drm/radeon/cik.c tmp = 0; tmp 8847 drivers/gpu/drm/radeon/cik.c tmp = 0; tmp 8851 drivers/gpu/drm/radeon/cik.c tmp = 1; tmp 8856 drivers/gpu/drm/radeon/cik.c LB_MEMORY_CONFIG(tmp) | LB_MEMORY_SIZE(0x6B0)); tmp 8868 drivers/gpu/drm/radeon/cik.c switch (tmp) { tmp 8894 drivers/gpu/drm/radeon/cik.c u32 tmp = RREG32(MC_SHARED_CHMAP); tmp 8896 drivers/gpu/drm/radeon/cik.c switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { tmp 9126 drivers/gpu/drm/radeon/cik.c u32 tmp, dmif_size = 12288; tmp 9145 drivers/gpu/drm/radeon/cik.c tmp = div_u64((u64) dmif_size * (u64) wm->disp_clk, mc_latency + 512); tmp 9146 drivers/gpu/drm/radeon/cik.c tmp = min(dfixed_trunc(a), tmp); tmp 9148 drivers/gpu/drm/radeon/cik.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); tmp 9259 drivers/gpu/drm/radeon/cik.c u32 tmp, wm_mask; tmp 9354 drivers/gpu/drm/radeon/cik.c tmp = wm_mask; tmp 9355 drivers/gpu/drm/radeon/cik.c tmp &= ~LATENCY_WATERMARK_MASK(3); tmp 9356 drivers/gpu/drm/radeon/cik.c tmp |= LATENCY_WATERMARK_MASK(1); tmp 9357 drivers/gpu/drm/radeon/cik.c WREG32(DPG_WATERMARK_MASK_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 9362 drivers/gpu/drm/radeon/cik.c tmp = RREG32(DPG_WATERMARK_MASK_CONTROL + radeon_crtc->crtc_offset); tmp 9363 drivers/gpu/drm/radeon/cik.c tmp &= ~LATENCY_WATERMARK_MASK(3); tmp 9364 drivers/gpu/drm/radeon/cik.c tmp |= LATENCY_WATERMARK_MASK(2); tmp 9365 drivers/gpu/drm/radeon/cik.c WREG32(DPG_WATERMARK_MASK_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 9433 drivers/gpu/drm/radeon/cik.c uint32_t tmp; tmp 9440 drivers/gpu/drm/radeon/cik.c tmp = RREG32_SMC(cntl_reg); tmp 9441 drivers/gpu/drm/radeon/cik.c tmp &= ~(DCLK_DIR_CNTL_EN|DCLK_DIVIDER_MASK); tmp 9442 drivers/gpu/drm/radeon/cik.c tmp |= dividers.post_divider; tmp 9443 drivers/gpu/drm/radeon/cik.c WREG32_SMC(cntl_reg, tmp); tmp 9472 drivers/gpu/drm/radeon/cik.c u32 tmp; tmp 9487 drivers/gpu/drm/radeon/cik.c tmp = RREG32_SMC(CG_ECLK_CNTL); tmp 9488 drivers/gpu/drm/radeon/cik.c tmp &= ~(ECLK_DIR_CNTL_EN|ECLK_DIVIDER_MASK); tmp 9489 drivers/gpu/drm/radeon/cik.c tmp |= dividers.post_divider; tmp 9490 drivers/gpu/drm/radeon/cik.c WREG32_SMC(CG_ECLK_CNTL, tmp); tmp 9562 drivers/gpu/drm/radeon/cik.c u32 max_lw, current_lw, tmp; tmp 9573 drivers/gpu/drm/radeon/cik.c tmp = RREG32_PCIE_PORT(PCIE_LC_STATUS1); tmp 9574 drivers/gpu/drm/radeon/cik.c max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; tmp 9575 drivers/gpu/drm/radeon/cik.c current_lw = (tmp & LC_OPERATING_LINK_WIDTH_MASK) >> LC_OPERATING_LINK_WIDTH_SHIFT; tmp 9578 drivers/gpu/drm/radeon/cik.c tmp = RREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL); tmp 9579 drivers/gpu/drm/radeon/cik.c if (tmp & LC_RENEGOTIATION_SUPPORT) { tmp 9580 drivers/gpu/drm/radeon/cik.c tmp &= ~(LC_LINK_WIDTH_MASK | LC_UPCONFIGURE_DIS); tmp 9581 drivers/gpu/drm/radeon/cik.c tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); tmp 9582 drivers/gpu/drm/radeon/cik.c tmp |= LC_UPCONFIGURE_SUPPORT | LC_RENEGOTIATE_EN | LC_RECONFIG_NOW; tmp 9583 drivers/gpu/drm/radeon/cik.c WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, tmp); tmp 9599 drivers/gpu/drm/radeon/cik.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 9600 drivers/gpu/drm/radeon/cik.c tmp |= LC_SET_QUIESCE; tmp 9601 drivers/gpu/drm/radeon/cik.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 9603 drivers/gpu/drm/radeon/cik.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 9604 drivers/gpu/drm/radeon/cik.c tmp |= LC_REDO_EQ; tmp 9605 drivers/gpu/drm/radeon/cik.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 9631 drivers/gpu/drm/radeon/cik.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 9632 drivers/gpu/drm/radeon/cik.c tmp &= ~LC_SET_QUIESCE; tmp 9633 drivers/gpu/drm/radeon/cik.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 651 drivers/gpu/drm/radeon/cik_sdma.c u32 tmp; tmp 661 drivers/gpu/drm/radeon/cik_sdma.c tmp = 0xCAFEDEAD; tmp 662 drivers/gpu/drm/radeon/cik_sdma.c rdev->wb.wb[index/4] = cpu_to_le32(tmp); tmp 677 drivers/gpu/drm/radeon/cik_sdma.c tmp = le32_to_cpu(rdev->wb.wb[index/4]); tmp 678 drivers/gpu/drm/radeon/cik_sdma.c if (tmp == 0xDEADBEEF) tmp 687 drivers/gpu/drm/radeon/cik_sdma.c ring->idx, tmp); tmp 708 drivers/gpu/drm/radeon/cik_sdma.c u32 tmp = 0; tmp 718 drivers/gpu/drm/radeon/cik_sdma.c tmp = 0xCAFEDEAD; tmp 719 drivers/gpu/drm/radeon/cik_sdma.c rdev->wb.wb[index/4] = cpu_to_le32(tmp); tmp 751 drivers/gpu/drm/radeon/cik_sdma.c tmp = le32_to_cpu(rdev->wb.wb[index/4]); tmp 752 drivers/gpu/drm/radeon/cik_sdma.c if (tmp == 0xDEADBEEF) tmp 759 drivers/gpu/drm/radeon/cik_sdma.c DRM_ERROR("radeon: ib test failed (0x%08X)\n", tmp); tmp 54 drivers/gpu/drm/radeon/cypress_dpm.c u32 tmp, bif; tmp 56 drivers/gpu/drm/radeon/cypress_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 58 drivers/gpu/drm/radeon/cypress_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) && tmp 59 drivers/gpu/drm/radeon/cypress_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) { tmp 65 drivers/gpu/drm/radeon/cypress_dpm.c tmp &= ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 66 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= LC_HW_VOLTAGE_IF_CONTROL(1); tmp 67 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= LC_GEN2_EN_STRAP; tmp 69 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= LC_CLR_FAILED_SPD_CHANGE_CNT; tmp 70 drivers/gpu/drm/radeon/cypress_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 72 drivers/gpu/drm/radeon/cypress_dpm.c tmp &= ~LC_CLR_FAILED_SPD_CHANGE_CNT; tmp 73 drivers/gpu/drm/radeon/cypress_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 78 drivers/gpu/drm/radeon/cypress_dpm.c tmp &= ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 79 drivers/gpu/drm/radeon/cypress_dpm.c tmp &= ~LC_GEN2_EN_STRAP; tmp 81 drivers/gpu/drm/radeon/cypress_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) || tmp 82 drivers/gpu/drm/radeon/cypress_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) tmp 83 drivers/gpu/drm/radeon/cypress_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 307 drivers/gpu/drm/radeon/cypress_dpm.c u32 tmp; tmp 310 drivers/gpu/drm/radeon/cypress_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 311 drivers/gpu/drm/radeon/cypress_dpm.c if ((perf_req == PCIE_PERF_REQ_PECI_GEN1) && (tmp & LC_CURRENT_DATA_RATE)) tmp 332 drivers/gpu/drm/radeon/cypress_dpm.c u32 tmp; tmp 338 drivers/gpu/drm/radeon/cypress_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 340 drivers/gpu/drm/radeon/cypress_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) && tmp 341 drivers/gpu/drm/radeon/cypress_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) tmp 1577 drivers/gpu/drm/radeon/cypress_dpm.c u32 tmp = RREG32(GENERAL_PWRMGT); tmp 1579 drivers/gpu/drm/radeon/cypress_dpm.c if (!(tmp & BACKBIAS_PAD_EN)) { tmp 1586 drivers/gpu/drm/radeon/cypress_dpm.c if (tmp & BACKBIAS_VALUE) tmp 1696 drivers/gpu/drm/radeon/cypress_dpm.c u32 tmp; tmp 1702 drivers/gpu/drm/radeon/cypress_dpm.c &tmp, pi->sram_end); tmp 1706 drivers/gpu/drm/radeon/cypress_dpm.c pi->state_table_start = (u16)tmp; tmp 1711 drivers/gpu/drm/radeon/cypress_dpm.c &tmp, pi->sram_end); tmp 1715 drivers/gpu/drm/radeon/cypress_dpm.c pi->soft_regs_start = (u16)tmp; tmp 1720 drivers/gpu/drm/radeon/cypress_dpm.c &tmp, pi->sram_end); tmp 1724 drivers/gpu/drm/radeon/cypress_dpm.c eg_pi->mc_reg_table_start = (u16)tmp; tmp 1731 drivers/gpu/drm/radeon/cypress_dpm.c u32 tmp = RREG32(CG_DISPLAY_GAP_CNTL); tmp 1733 drivers/gpu/drm/radeon/cypress_dpm.c tmp &= ~(DISP1_GAP_MASK | DISP2_GAP_MASK); tmp 1734 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= (DISP1_GAP(R600_PM_DISPLAY_GAP_IGNORE) | tmp 1737 drivers/gpu/drm/radeon/cypress_dpm.c tmp &= ~(DISP1_GAP_MCHG_MASK | DISP2_GAP_MCHG_MASK); tmp 1738 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= (DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_VBLANK) | tmp 1740 drivers/gpu/drm/radeon/cypress_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 1745 drivers/gpu/drm/radeon/cypress_dpm.c u32 tmp, pipe; tmp 1748 drivers/gpu/drm/radeon/cypress_dpm.c tmp = RREG32(CG_DISPLAY_GAP_CNTL) & ~(DISP1_GAP_MASK | DISP2_GAP_MASK); tmp 1750 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= DISP1_GAP(R600_PM_DISPLAY_GAP_VBLANK_OR_WM); tmp 1752 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= DISP1_GAP(R600_PM_DISPLAY_GAP_IGNORE); tmp 1755 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= DISP2_GAP(R600_PM_DISPLAY_GAP_VBLANK_OR_WM); tmp 1757 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= DISP2_GAP(R600_PM_DISPLAY_GAP_IGNORE); tmp 1759 drivers/gpu/drm/radeon/cypress_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 1761 drivers/gpu/drm/radeon/cypress_dpm.c tmp = RREG32(DCCG_DISP_SLOW_SELECT_REG); tmp 1762 drivers/gpu/drm/radeon/cypress_dpm.c pipe = (tmp & DCCG_DISP1_SLOW_SELECT_MASK) >> DCCG_DISP1_SLOW_SELECT_SHIFT; tmp 1776 drivers/gpu/drm/radeon/cypress_dpm.c tmp &= ~DCCG_DISP1_SLOW_SELECT_MASK; tmp 1777 drivers/gpu/drm/radeon/cypress_dpm.c tmp |= DCCG_DISP1_SLOW_SELECT(pipe); tmp 1778 drivers/gpu/drm/radeon/cypress_dpm.c WREG32(DCCG_DISP_SLOW_SELECT_REG, tmp); tmp 34 drivers/gpu/drm/radeon/dce3_1_afmt.c u32 tmp; tmp 37 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp = RREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER); tmp 38 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp &= ~(DP_CONNECTION | SPEAKER_ALLOCATION_MASK); tmp 40 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp |= HDMI_CONNECTION; tmp 42 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp |= SPEAKER_ALLOCATION(sadb[0]); tmp 44 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp |= SPEAKER_ALLOCATION(5); /* stereo */ tmp 45 drivers/gpu/drm/radeon/dce3_1_afmt.c WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER, tmp); tmp 52 drivers/gpu/drm/radeon/dce3_1_afmt.c u32 tmp; tmp 55 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp = RREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER); tmp 56 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp &= ~(HDMI_CONNECTION | SPEAKER_ALLOCATION_MASK); tmp 58 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp |= DP_CONNECTION; tmp 60 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp |= SPEAKER_ALLOCATION(sadb[0]); tmp 62 drivers/gpu/drm/radeon/dce3_1_afmt.c tmp |= SPEAKER_ALLOCATION(5); /* stereo */ tmp 63 drivers/gpu/drm/radeon/dce3_1_afmt.c WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER, tmp); tmp 64 drivers/gpu/drm/radeon/dce6_afmt.c u32 offset, tmp; tmp 68 drivers/gpu/drm/radeon/dce6_afmt.c tmp = RREG32_ENDPOINT(offset, tmp 70 drivers/gpu/drm/radeon/dce6_afmt.c if (((tmp & PORT_CONNECTIVITY_MASK) >> PORT_CONNECTIVITY_SHIFT) == 1) tmp 130 drivers/gpu/drm/radeon/dce6_afmt.c u32 tmp = 0; tmp 137 drivers/gpu/drm/radeon/dce6_afmt.c tmp = VIDEO_LIPSYNC(connector->video_latency[1]) | tmp 140 drivers/gpu/drm/radeon/dce6_afmt.c tmp = VIDEO_LIPSYNC(0) | AUDIO_LIPSYNC(0); tmp 143 drivers/gpu/drm/radeon/dce6_afmt.c tmp = VIDEO_LIPSYNC(connector->video_latency[0]) | tmp 146 drivers/gpu/drm/radeon/dce6_afmt.c tmp = VIDEO_LIPSYNC(0) | AUDIO_LIPSYNC(0); tmp 149 drivers/gpu/drm/radeon/dce6_afmt.c AZ_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp); tmp 158 drivers/gpu/drm/radeon/dce6_afmt.c u32 tmp; tmp 164 drivers/gpu/drm/radeon/dce6_afmt.c tmp = RREG32_ENDPOINT(dig->pin->offset, tmp 166 drivers/gpu/drm/radeon/dce6_afmt.c tmp &= ~(DP_CONNECTION | SPEAKER_ALLOCATION_MASK); tmp 168 drivers/gpu/drm/radeon/dce6_afmt.c tmp |= HDMI_CONNECTION; tmp 170 drivers/gpu/drm/radeon/dce6_afmt.c tmp |= SPEAKER_ALLOCATION(sadb[0]); tmp 172 drivers/gpu/drm/radeon/dce6_afmt.c tmp |= SPEAKER_ALLOCATION(5); /* stereo */ tmp 174 drivers/gpu/drm/radeon/dce6_afmt.c AZ_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp); tmp 183 drivers/gpu/drm/radeon/dce6_afmt.c u32 tmp; tmp 189 drivers/gpu/drm/radeon/dce6_afmt.c tmp = RREG32_ENDPOINT(dig->pin->offset, tmp 191 drivers/gpu/drm/radeon/dce6_afmt.c tmp &= ~(HDMI_CONNECTION | SPEAKER_ALLOCATION_MASK); tmp 193 drivers/gpu/drm/radeon/dce6_afmt.c tmp |= DP_CONNECTION; tmp 195 drivers/gpu/drm/radeon/dce6_afmt.c tmp |= SPEAKER_ALLOCATION(sadb[0]); tmp 197 drivers/gpu/drm/radeon/dce6_afmt.c tmp |= SPEAKER_ALLOCATION(5); /* stereo */ tmp 199 drivers/gpu/drm/radeon/dce6_afmt.c AZ_F0_CODEC_PIN_CONTROL_CHANNEL_SPEAKER, tmp); tmp 1303 drivers/gpu/drm/radeon/evergreen.c u32 tmp = 0; tmp 1328 drivers/gpu/drm/radeon/evergreen.c tmp |= (FMT_FRAME_RANDOM_ENABLE | FMT_HIGHPASS_RANDOM_ENABLE | tmp 1331 drivers/gpu/drm/radeon/evergreen.c tmp |= FMT_TRUNCATE_EN; tmp 1336 drivers/gpu/drm/radeon/evergreen.c tmp |= (FMT_FRAME_RANDOM_ENABLE | FMT_HIGHPASS_RANDOM_ENABLE | tmp 1340 drivers/gpu/drm/radeon/evergreen.c tmp |= (FMT_TRUNCATE_EN | FMT_TRUNCATE_DEPTH); tmp 1348 drivers/gpu/drm/radeon/evergreen.c WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 1676 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 1682 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_CRTC_CONTROL + radeon_crtc->crtc_offset); tmp 1683 drivers/gpu/drm/radeon/evergreen.c tmp |= EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE; tmp 1684 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_CRTC_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 1701 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 1707 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_CRTC_CONTROL + radeon_crtc->crtc_offset); tmp 1708 drivers/gpu/drm/radeon/evergreen.c tmp &= ~EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE; tmp 1709 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_CRTC_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 1766 drivers/gpu/drm/radeon/evergreen.c u32 tmp = DC_HPDx_CONNECTION_TIMER(0x9c4) | tmp 1786 drivers/gpu/drm/radeon/evergreen.c WREG32(DC_HPDx_CONTROL(hpd), tmp); tmp 1828 drivers/gpu/drm/radeon/evergreen.c u32 tmp, buffer_alloc, i; tmp 1853 drivers/gpu/drm/radeon/evergreen.c tmp = 0; /* 1/2 */ tmp 1856 drivers/gpu/drm/radeon/evergreen.c tmp = 2; /* whole */ tmp 1860 drivers/gpu/drm/radeon/evergreen.c tmp = 0; tmp 1866 drivers/gpu/drm/radeon/evergreen.c tmp += 4; tmp 1867 drivers/gpu/drm/radeon/evergreen.c WREG32(DC_LB_MEMORY_SPLIT + radeon_crtc->crtc_offset, tmp); tmp 1881 drivers/gpu/drm/radeon/evergreen.c switch (tmp) { tmp 1916 drivers/gpu/drm/radeon/evergreen.c u32 tmp = RREG32(MC_SHARED_CHMAP); tmp 1918 drivers/gpu/drm/radeon/evergreen.c switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { tmp 2166 drivers/gpu/drm/radeon/evergreen.c u32 tmp, arb_control3; tmp 2285 drivers/gpu/drm/radeon/evergreen.c tmp = arb_control3; tmp 2286 drivers/gpu/drm/radeon/evergreen.c tmp &= ~LATENCY_WATERMARK_MASK(3); tmp 2287 drivers/gpu/drm/radeon/evergreen.c tmp |= LATENCY_WATERMARK_MASK(1); tmp 2288 drivers/gpu/drm/radeon/evergreen.c WREG32(PIPE0_ARBITRATION_CONTROL3 + pipe_offset, tmp); tmp 2293 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(PIPE0_ARBITRATION_CONTROL3 + pipe_offset); tmp 2294 drivers/gpu/drm/radeon/evergreen.c tmp &= ~LATENCY_WATERMARK_MASK(3); tmp 2295 drivers/gpu/drm/radeon/evergreen.c tmp |= LATENCY_WATERMARK_MASK(2); tmp 2296 drivers/gpu/drm/radeon/evergreen.c WREG32(PIPE0_ARBITRATION_CONTROL3 + pipe_offset, tmp); tmp 2359 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 2363 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(SRBM_STATUS) & 0x1F00; tmp 2364 drivers/gpu/drm/radeon/evergreen.c if (!tmp) tmp 2377 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 2384 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(VM_CONTEXT0_REQUEST_RESPONSE); tmp 2385 drivers/gpu/drm/radeon/evergreen.c tmp = (tmp & RESPONSE_TYPE_MASK) >> RESPONSE_TYPE_SHIFT; tmp 2386 drivers/gpu/drm/radeon/evergreen.c if (tmp == 2) { tmp 2390 drivers/gpu/drm/radeon/evergreen.c if (tmp) { tmp 2399 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 2416 drivers/gpu/drm/radeon/evergreen.c tmp = ENABLE_L1_TLB | ENABLE_L1_FRAGMENT_PROCESSING | tmp 2421 drivers/gpu/drm/radeon/evergreen.c WREG32(FUS_MC_VM_MD_L1_TLB0_CNTL, tmp); tmp 2422 drivers/gpu/drm/radeon/evergreen.c WREG32(FUS_MC_VM_MD_L1_TLB1_CNTL, tmp); tmp 2423 drivers/gpu/drm/radeon/evergreen.c WREG32(FUS_MC_VM_MD_L1_TLB2_CNTL, tmp); tmp 2425 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB0_CNTL, tmp); tmp 2426 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB1_CNTL, tmp); tmp 2427 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB2_CNTL, tmp); tmp 2432 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB3_CNTL, tmp); tmp 2434 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB0_CNTL, tmp); tmp 2435 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB1_CNTL, tmp); tmp 2436 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB2_CNTL, tmp); tmp 2437 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB3_CNTL, tmp); tmp 2457 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 2469 drivers/gpu/drm/radeon/evergreen.c tmp = EFFECTIVE_L1_TLB_SIZE(5) | EFFECTIVE_L1_QUEUE_SIZE(5); tmp 2470 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB0_CNTL, tmp); tmp 2471 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB1_CNTL, tmp); tmp 2472 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB2_CNTL, tmp); tmp 2473 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB0_CNTL, tmp); tmp 2474 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB1_CNTL, tmp); tmp 2475 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB2_CNTL, tmp); tmp 2476 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB3_CNTL, tmp); tmp 2490 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 2499 drivers/gpu/drm/radeon/evergreen.c tmp = ENABLE_L1_TLB | ENABLE_L1_FRAGMENT_PROCESSING | tmp 2503 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB0_CNTL, tmp); tmp 2504 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB1_CNTL, tmp); tmp 2505 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MD_L1_TLB2_CNTL, tmp); tmp 2506 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB0_CNTL, tmp); tmp 2507 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB1_CNTL, tmp); tmp 2508 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB2_CNTL, tmp); tmp 2509 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_MB_L1_TLB3_CNTL, tmp); tmp 2666 drivers/gpu/drm/radeon/evergreen.c u32 crtc_enabled, tmp, frame_count, blackout; tmp 2683 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i]); tmp 2684 drivers/gpu/drm/radeon/evergreen.c if (!(tmp & EVERGREEN_CRTC_BLANK_DATA_EN)) { tmp 2687 drivers/gpu/drm/radeon/evergreen.c tmp |= EVERGREEN_CRTC_BLANK_DATA_EN; tmp 2688 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i], tmp); tmp 2692 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i]); tmp 2693 drivers/gpu/drm/radeon/evergreen.c if (!(tmp & EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE)) { tmp 2696 drivers/gpu/drm/radeon/evergreen.c tmp |= EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE; tmp 2697 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i], tmp); tmp 2721 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i]); tmp 2722 drivers/gpu/drm/radeon/evergreen.c tmp &= ~EVERGREEN_CRTC_MASTER_EN; tmp 2723 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i], tmp); tmp 2748 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_GRPH_UPDATE + crtc_offsets[i]); tmp 2749 drivers/gpu/drm/radeon/evergreen.c if (!(tmp & EVERGREEN_GRPH_UPDATE_LOCK)) { tmp 2750 drivers/gpu/drm/radeon/evergreen.c tmp |= EVERGREEN_GRPH_UPDATE_LOCK; tmp 2751 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_GRPH_UPDATE + crtc_offsets[i], tmp); tmp 2753 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_MASTER_UPDATE_LOCK + crtc_offsets[i]); tmp 2754 drivers/gpu/drm/radeon/evergreen.c if (!(tmp & 1)) { tmp 2755 drivers/gpu/drm/radeon/evergreen.c tmp |= 1; tmp 2756 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_MASTER_UPDATE_LOCK + crtc_offsets[i], tmp); tmp 2764 drivers/gpu/drm/radeon/evergreen.c u32 tmp, frame_count; tmp 2787 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_MASTER_UPDATE_MODE + crtc_offsets[i]); tmp 2788 drivers/gpu/drm/radeon/evergreen.c if ((tmp & 0x7) != 0) { tmp 2789 drivers/gpu/drm/radeon/evergreen.c tmp &= ~0x7; tmp 2790 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_MASTER_UPDATE_MODE + crtc_offsets[i], tmp); tmp 2792 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_GRPH_UPDATE + crtc_offsets[i]); tmp 2793 drivers/gpu/drm/radeon/evergreen.c if (tmp & EVERGREEN_GRPH_UPDATE_LOCK) { tmp 2794 drivers/gpu/drm/radeon/evergreen.c tmp &= ~EVERGREEN_GRPH_UPDATE_LOCK; tmp 2795 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_GRPH_UPDATE + crtc_offsets[i], tmp); tmp 2797 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_MASTER_UPDATE_LOCK + crtc_offsets[i]); tmp 2798 drivers/gpu/drm/radeon/evergreen.c if (tmp & 1) { tmp 2799 drivers/gpu/drm/radeon/evergreen.c tmp &= ~1; tmp 2800 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_MASTER_UPDATE_LOCK + crtc_offsets[i], tmp); tmp 2803 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_GRPH_UPDATE + crtc_offsets[i]); tmp 2804 drivers/gpu/drm/radeon/evergreen.c if ((tmp & EVERGREEN_GRPH_SURFACE_UPDATE_PENDING) == 0) tmp 2812 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(MC_SHARED_BLACKOUT_CNTL); tmp 2813 drivers/gpu/drm/radeon/evergreen.c tmp &= ~BLACKOUT_MODE_MASK; tmp 2814 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_SHARED_BLACKOUT_CNTL, tmp); tmp 2821 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i]); tmp 2822 drivers/gpu/drm/radeon/evergreen.c tmp &= ~EVERGREEN_CRTC_BLANK_DATA_EN; tmp 2824 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i], tmp); tmp 2827 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i]); tmp 2828 drivers/gpu/drm/radeon/evergreen.c tmp &= ~EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE; tmp 2830 drivers/gpu/drm/radeon/evergreen.c WREG32(EVERGREEN_CRTC_CONTROL + crtc_offsets[i], tmp); tmp 2853 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 2898 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(MC_FUS_VM_FB_OFFSET) & 0x000FFFFF; tmp 2899 drivers/gpu/drm/radeon/evergreen.c tmp |= ((rdev->mc.vram_end >> 20) & 0xF) << 24; tmp 2900 drivers/gpu/drm/radeon/evergreen.c tmp |= ((rdev->mc.vram_start >> 20) & 0xF) << 20; tmp 2901 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_FUS_VM_FB_OFFSET, tmp); tmp 2903 drivers/gpu/drm/radeon/evergreen.c tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; tmp 2904 drivers/gpu/drm/radeon/evergreen.c tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); tmp 2905 drivers/gpu/drm/radeon/evergreen.c WREG32(MC_VM_FB_LOCATION, tmp); tmp 3066 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 3084 drivers/gpu/drm/radeon/evergreen.c tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 3086 drivers/gpu/drm/radeon/evergreen.c tmp |= BUF_SWAP_32BIT; tmp 3088 drivers/gpu/drm/radeon/evergreen.c WREG32(CP_RB_CNTL, tmp); tmp 3096 drivers/gpu/drm/radeon/evergreen.c WREG32(CP_RB_CNTL, tmp | RB_RPTR_WR_ENA); tmp 3110 drivers/gpu/drm/radeon/evergreen.c tmp |= RB_NO_UPDATE; tmp 3115 drivers/gpu/drm/radeon/evergreen.c WREG32(CP_RB_CNTL, tmp); tmp 3150 drivers/gpu/drm/radeon/evergreen.c u32 hdp_host_path_cntl, tmp; tmp 3458 drivers/gpu/drm/radeon/evergreen.c tmp = (((efuse_straps_4 & 0xf) << 4) | tmp 3461 drivers/gpu/drm/radeon/evergreen.c tmp = 0; tmp 3468 drivers/gpu/drm/radeon/evergreen.c tmp <<= 4; tmp 3469 drivers/gpu/drm/radeon/evergreen.c tmp |= rb_disable_bitmap; tmp 3473 drivers/gpu/drm/radeon/evergreen.c disabled_rb_mask = tmp; tmp 3474 drivers/gpu/drm/radeon/evergreen.c tmp = 0; tmp 3476 drivers/gpu/drm/radeon/evergreen.c tmp |= (1 << i); tmp 3478 drivers/gpu/drm/radeon/evergreen.c if ((disabled_rb_mask & tmp) == tmp) { tmp 3490 drivers/gpu/drm/radeon/evergreen.c tmp <<= 16; tmp 3491 drivers/gpu/drm/radeon/evergreen.c tmp |= simd_disable_bitmap; tmp 3493 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.active_simds = hweight32(~tmp); tmp 3510 drivers/gpu/drm/radeon/evergreen.c tmp = 0x11111111; tmp 3513 drivers/gpu/drm/radeon/evergreen.c tmp = 0x00000000; tmp 3516 drivers/gpu/drm/radeon/evergreen.c tmp = gb_addr_config & NUM_PIPES_MASK; tmp 3517 drivers/gpu/drm/radeon/evergreen.c tmp = r6xx_remap_render_backend(rdev, tmp, rdev->config.evergreen.max_backends, tmp 3520 drivers/gpu/drm/radeon/evergreen.c rdev->config.evergreen.backend_map = tmp; tmp 3521 drivers/gpu/drm/radeon/evergreen.c WREG32(GB_BACKEND_MAP, tmp); tmp 3697 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(HDP_MISC_CNTL); tmp 3698 drivers/gpu/drm/radeon/evergreen.c tmp |= HDP_FLUSH_INVALIDATE_CACHE; tmp 3699 drivers/gpu/drm/radeon/evergreen.c WREG32(HDP_MISC_CNTL, tmp); tmp 3712 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 3720 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(FUS_MC_ARB_RAMCFG); tmp 3722 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(MC_ARB_RAMCFG); tmp 3723 drivers/gpu/drm/radeon/evergreen.c if (tmp & CHANSIZE_OVERRIDE) { tmp 3725 drivers/gpu/drm/radeon/evergreen.c } else if (tmp & CHANSIZE_MASK) { tmp 3730 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(MC_SHARED_CHMAP); tmp 3731 drivers/gpu/drm/radeon/evergreen.c switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { tmp 3801 drivers/gpu/drm/radeon/evergreen.c u32 i, j, tmp; tmp 3813 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(EVERGREEN_CRTC_STATUS_HV_COUNT + crtc_offsets[i]); tmp 3814 drivers/gpu/drm/radeon/evergreen.c if (tmp != crtc_status[i]) tmp 3829 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 3832 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(GRBM_STATUS); tmp 3833 drivers/gpu/drm/radeon/evergreen.c if (tmp & (PA_BUSY | SC_BUSY | tmp 3840 drivers/gpu/drm/radeon/evergreen.c if (tmp & (CF_RQ_PENDING | PF_RQ_PENDING | tmp 3844 drivers/gpu/drm/radeon/evergreen.c if (tmp & GRBM_EE_BUSY) tmp 3848 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(DMA_STATUS_REG); tmp 3849 drivers/gpu/drm/radeon/evergreen.c if (!(tmp & DMA_IDLE)) tmp 3853 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(SRBM_STATUS2); tmp 3854 drivers/gpu/drm/radeon/evergreen.c if (tmp & DMA_BUSY) tmp 3858 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(SRBM_STATUS); tmp 3859 drivers/gpu/drm/radeon/evergreen.c if (tmp & (RLC_RQ_PENDING | RLC_BUSY)) tmp 3862 drivers/gpu/drm/radeon/evergreen.c if (tmp & IH_BUSY) tmp 3865 drivers/gpu/drm/radeon/evergreen.c if (tmp & SEM_BUSY) tmp 3868 drivers/gpu/drm/radeon/evergreen.c if (tmp & GRBM_RQ_PENDING) tmp 3871 drivers/gpu/drm/radeon/evergreen.c if (tmp & VMC_BUSY) tmp 3874 drivers/gpu/drm/radeon/evergreen.c if (tmp & (MCB_BUSY | MCB_NON_DISPLAY_BUSY | tmp 3882 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(VM_L2_STATUS); tmp 3883 drivers/gpu/drm/radeon/evergreen.c if (tmp & L2_BUSY) tmp 3899 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 3913 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(DMA_RB_CNTL); tmp 3914 drivers/gpu/drm/radeon/evergreen.c tmp &= ~DMA_RB_ENABLE; tmp 3915 drivers/gpu/drm/radeon/evergreen.c WREG32(DMA_RB_CNTL, tmp); tmp 3973 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(GRBM_SOFT_RESET); tmp 3974 drivers/gpu/drm/radeon/evergreen.c tmp |= grbm_soft_reset; tmp 3975 drivers/gpu/drm/radeon/evergreen.c dev_info(rdev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 3976 drivers/gpu/drm/radeon/evergreen.c WREG32(GRBM_SOFT_RESET, tmp); tmp 3977 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(GRBM_SOFT_RESET); tmp 3981 drivers/gpu/drm/radeon/evergreen.c tmp &= ~grbm_soft_reset; tmp 3982 drivers/gpu/drm/radeon/evergreen.c WREG32(GRBM_SOFT_RESET, tmp); tmp 3983 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(GRBM_SOFT_RESET); tmp 3987 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(SRBM_SOFT_RESET); tmp 3988 drivers/gpu/drm/radeon/evergreen.c tmp |= srbm_soft_reset; tmp 3989 drivers/gpu/drm/radeon/evergreen.c dev_info(rdev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 3990 drivers/gpu/drm/radeon/evergreen.c WREG32(SRBM_SOFT_RESET, tmp); tmp 3991 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(SRBM_SOFT_RESET); tmp 3995 drivers/gpu/drm/radeon/evergreen.c tmp &= ~srbm_soft_reset; tmp 3996 drivers/gpu/drm/radeon/evergreen.c WREG32(SRBM_SOFT_RESET, tmp); tmp 3997 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(SRBM_SOFT_RESET); tmp 4012 drivers/gpu/drm/radeon/evergreen.c u32 tmp, i; tmp 4022 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(DMA_RB_CNTL); tmp 4023 drivers/gpu/drm/radeon/evergreen.c tmp &= ~DMA_RB_ENABLE; tmp 4024 drivers/gpu/drm/radeon/evergreen.c WREG32(DMA_RB_CNTL, tmp); tmp 4398 drivers/gpu/drm/radeon/evergreen.c u32 tmp = (RREG32(CC_GC_SHADER_PIPE_CONFIG) & 0xffff0000) >> 16; tmp 4399 drivers/gpu/drm/radeon/evergreen.c tmp |= 0xffffffff << rdev->config.cayman.max_simds_per_se; tmp 4400 drivers/gpu/drm/radeon/evergreen.c tmp = hweight32(~tmp); tmp 4401 drivers/gpu/drm/radeon/evergreen.c if (tmp == rdev->config.cayman.max_simds_per_se) { tmp 4461 drivers/gpu/drm/radeon/evergreen.c u32 tmp; tmp 4468 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(CAYMAN_DMA1_CNTL) & ~TRAP_ENABLE; tmp 4469 drivers/gpu/drm/radeon/evergreen.c WREG32(CAYMAN_DMA1_CNTL, tmp); tmp 4472 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(DMA_CNTL) & ~TRAP_ENABLE; tmp 4473 drivers/gpu/drm/radeon/evergreen.c WREG32(DMA_CNTL, tmp); tmp 4678 drivers/gpu/drm/radeon/evergreen.c u32 wptr, tmp; tmp 4694 drivers/gpu/drm/radeon/evergreen.c tmp = RREG32(IH_RB_CNTL); tmp 4695 drivers/gpu/drm/radeon/evergreen.c tmp |= IH_WPTR_OVERFLOW_CLEAR; tmp 4696 drivers/gpu/drm/radeon/evergreen.c WREG32(IH_RB_CNTL, tmp); tmp 452 drivers/gpu/drm/radeon/evergreen_cs.c unsigned long tmp, nby, bsize, size, min = 0; tmp 459 drivers/gpu/drm/radeon/evergreen_cs.c tmp = track->cb_color_bo_offset[id] << 8; tmp 462 drivers/gpu/drm/radeon/evergreen_cs.c if ((tmp + size * mslice) <= bsize) { tmp 471 drivers/gpu/drm/radeon/evergreen_cs.c tmp += surf.layer_size * mslice; tmp 472 drivers/gpu/drm/radeon/evergreen_cs.c if (tmp <= bsize) { tmp 935 drivers/gpu/drm/radeon/evergreen_cs.c unsigned tmp, i; tmp 973 drivers/gpu/drm/radeon/evergreen_cs.c tmp = track->cb_target_mask; tmp 978 drivers/gpu/drm/radeon/evergreen_cs.c (tmp >> (i * 4)) & 0xF) { tmp 1098 drivers/gpu/drm/radeon/evergreen_cs.c u32 tmp, *ib; tmp 1279 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - VGT_STRMOUT_BUFFER_BASE_0) / 16; tmp 1280 drivers/gpu/drm/radeon/evergreen_cs.c track->vgt_strmout_bo_offset[tmp] = radeon_get_ib_value(p, idx) << 8; tmp 1282 drivers/gpu/drm/radeon/evergreen_cs.c track->vgt_strmout_bo[tmp] = reloc->robj; tmp 1289 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - VGT_STRMOUT_BUFFER_SIZE_0) / 16; tmp 1291 drivers/gpu/drm/radeon/evergreen_cs.c track->vgt_strmout_size[tmp] = radeon_get_ib_value(p, idx) * 4; tmp 1317 drivers/gpu/drm/radeon/evergreen_cs.c tmp = radeon_get_ib_value(p, idx) & MSAA_NUM_SAMPLES_MASK; tmp 1318 drivers/gpu/drm/radeon/evergreen_cs.c track->nsamples = 1 << tmp; tmp 1326 drivers/gpu/drm/radeon/evergreen_cs.c tmp = radeon_get_ib_value(p, idx) & CAYMAN_MSAA_NUM_SAMPLES_MASK; tmp 1327 drivers/gpu/drm/radeon/evergreen_cs.c track->nsamples = 1 << tmp; tmp 1337 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_VIEW) / 0x3c; tmp 1338 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_view[tmp] = radeon_get_ib_value(p, idx); tmp 1345 drivers/gpu/drm/radeon/evergreen_cs.c tmp = ((reg - CB_COLOR8_VIEW) / 0x1c) + 8; tmp 1346 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_view[tmp] = radeon_get_ib_value(p, idx); tmp 1357 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_INFO) / 0x3c; tmp 1358 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_info[tmp] = radeon_get_ib_value(p, idx); tmp 1367 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_info[tmp] |= CB_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); tmp 1375 drivers/gpu/drm/radeon/evergreen_cs.c tmp = ((reg - CB_COLOR8_INFO) / 0x1c) + 8; tmp 1376 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_info[tmp] = radeon_get_ib_value(p, idx); tmp 1385 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_info[tmp] |= CB_ARRAY_MODE(evergreen_cs_get_aray_mode(reloc->tiling_flags)); tmp 1397 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_PITCH) / 0x3c; tmp 1398 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_pitch[tmp] = radeon_get_ib_value(p, idx); tmp 1405 drivers/gpu/drm/radeon/evergreen_cs.c tmp = ((reg - CB_COLOR8_PITCH) / 0x1c) + 8; tmp 1406 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_pitch[tmp] = radeon_get_ib_value(p, idx); tmp 1417 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_SLICE) / 0x3c; tmp 1418 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_slice[tmp] = radeon_get_ib_value(p, idx); tmp 1419 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_slice_idx[tmp] = idx; tmp 1426 drivers/gpu/drm/radeon/evergreen_cs.c tmp = ((reg - CB_COLOR8_SLICE) / 0x1c) + 8; tmp 1427 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_slice[tmp] = radeon_get_ib_value(p, idx); tmp 1428 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_slice_idx[tmp] = idx; tmp 1459 drivers/gpu/drm/radeon/evergreen_cs.c tmp = ((reg - CB_COLOR0_ATTRIB) / 0x3c); tmp 1460 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_attrib[tmp] = ib[idx]; tmp 1487 drivers/gpu/drm/radeon/evergreen_cs.c tmp = ((reg - CB_COLOR8_ATTRIB) / 0x1c) + 8; tmp 1488 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_attrib[tmp] = ib[idx]; tmp 1499 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_FMASK) / 0x3c; tmp 1506 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_fmask_bo[tmp] = reloc->robj; tmp 1516 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_CMASK) / 0x3c; tmp 1523 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_cmask_bo[tmp] = reloc->robj; tmp 1533 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_FMASK_SLICE) / 0x3c; tmp 1534 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_fmask_slice[tmp] = radeon_get_ib_value(p, idx); tmp 1544 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_CMASK_SLICE) / 0x3c; tmp 1545 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_cmask_slice[tmp] = radeon_get_ib_value(p, idx); tmp 1561 drivers/gpu/drm/radeon/evergreen_cs.c tmp = (reg - CB_COLOR0_BASE) / 0x3c; tmp 1562 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_bo_offset[tmp] = radeon_get_ib_value(p, idx); tmp 1564 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_bo[tmp] = reloc->robj; tmp 1577 drivers/gpu/drm/radeon/evergreen_cs.c tmp = ((reg - CB_COLOR8_BASE) / 0x1c) + 8; tmp 1578 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_bo_offset[tmp] = radeon_get_ib_value(p, idx); tmp 1580 drivers/gpu/drm/radeon/evergreen_cs.c track->cb_color_bo[tmp] = reloc->robj; tmp 1793 drivers/gpu/drm/radeon/evergreen_cs.c int tmp; tmp 1801 drivers/gpu/drm/radeon/evergreen_cs.c tmp = radeon_get_ib_value(p, idx + 1); tmp 1802 drivers/gpu/drm/radeon/evergreen_cs.c pred_op = (tmp >> 16) & 0x7; tmp 1821 drivers/gpu/drm/radeon/evergreen_cs.c ((u64)(tmp & 0xff) << 32); tmp 1824 drivers/gpu/drm/radeon/evergreen_cs.c ib[idx + 1] = (tmp & 0xffffff00) | (upper_32_bits(offset) & 0xff); tmp 2115 drivers/gpu/drm/radeon/evergreen_cs.c u64 offset, tmp; tmp 2155 drivers/gpu/drm/radeon/evergreen_cs.c tmp = radeon_get_ib_value(p, idx) + tmp 2158 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + tmp; tmp 2160 drivers/gpu/drm/radeon/evergreen_cs.c if ((tmp + size) > radeon_bo_size(reloc->robj)) { tmp 2162 drivers/gpu/drm/radeon/evergreen_cs.c tmp + size, radeon_bo_size(reloc->robj)); tmp 2193 drivers/gpu/drm/radeon/evergreen_cs.c tmp = radeon_get_ib_value(p, idx+2) + tmp 2196 drivers/gpu/drm/radeon/evergreen_cs.c offset = reloc->gpu_offset + tmp; tmp 2198 drivers/gpu/drm/radeon/evergreen_cs.c if ((tmp + size) > radeon_bo_size(reloc->robj)) { tmp 2200 drivers/gpu/drm/radeon/evergreen_cs.c tmp + size, radeon_bo_size(reloc->robj)); tmp 2676 drivers/gpu/drm/radeon/evergreen_cs.c u32 tmp; tmp 2686 drivers/gpu/drm/radeon/evergreen_cs.c tmp = p->rdev->config.cayman.tile_config; tmp 2689 drivers/gpu/drm/radeon/evergreen_cs.c tmp = p->rdev->config.evergreen.tile_config; tmp 2694 drivers/gpu/drm/radeon/evergreen_cs.c switch (tmp & 0xf) { tmp 2710 drivers/gpu/drm/radeon/evergreen_cs.c switch ((tmp & 0xf0) >> 4) { tmp 2723 drivers/gpu/drm/radeon/evergreen_cs.c switch ((tmp & 0xf00) >> 8) { tmp 2733 drivers/gpu/drm/radeon/evergreen_cs.c switch ((tmp & 0xf000) >> 12) { tmp 41 drivers/gpu/drm/radeon/evergreen_hdmi.c u32 tmp = RREG32(AZ_HOT_PLUG_CONTROL); tmp 47 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= AUDIO_ENABLED; tmp 49 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= PIN0_AUDIO_ENABLED; tmp 51 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= PIN1_AUDIO_ENABLED; tmp 53 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= PIN2_AUDIO_ENABLED; tmp 55 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= PIN3_AUDIO_ENABLED; tmp 57 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp &= ~(AUDIO_ENABLED | tmp 64 drivers/gpu/drm/radeon/evergreen_hdmi.c WREG32(AZ_HOT_PLUG_CONTROL, tmp); tmp 101 drivers/gpu/drm/radeon/evergreen_hdmi.c u32 tmp = 0; tmp 105 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp = VIDEO_LIPSYNC(connector->video_latency[1]) | tmp 108 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp = VIDEO_LIPSYNC(255) | AUDIO_LIPSYNC(255); tmp 111 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp = VIDEO_LIPSYNC(connector->video_latency[0]) | tmp 114 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp = VIDEO_LIPSYNC(255) | AUDIO_LIPSYNC(255); tmp 116 drivers/gpu/drm/radeon/evergreen_hdmi.c WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC, tmp); tmp 123 drivers/gpu/drm/radeon/evergreen_hdmi.c u32 tmp; tmp 126 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp = RREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER); tmp 127 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp &= ~(DP_CONNECTION | SPEAKER_ALLOCATION_MASK); tmp 129 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= HDMI_CONNECTION; tmp 131 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= SPEAKER_ALLOCATION(sadb[0]); tmp 133 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= SPEAKER_ALLOCATION(5); /* stereo */ tmp 134 drivers/gpu/drm/radeon/evergreen_hdmi.c WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER, tmp); tmp 141 drivers/gpu/drm/radeon/evergreen_hdmi.c u32 tmp; tmp 144 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp = RREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER); tmp 145 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp &= ~(HDMI_CONNECTION | SPEAKER_ALLOCATION_MASK); tmp 147 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= DP_CONNECTION; tmp 149 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= SPEAKER_ALLOCATION(sadb[0]); tmp 151 drivers/gpu/drm/radeon/evergreen_hdmi.c tmp |= SPEAKER_ALLOCATION(5); /* stereo */ tmp 152 drivers/gpu/drm/radeon/evergreen_hdmi.c WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER, tmp); tmp 459 drivers/gpu/drm/radeon/kv_dpm.c u32 tmp; tmp 464 drivers/gpu/drm/radeon/kv_dpm.c &tmp, pi->sram_end); tmp 467 drivers/gpu/drm/radeon/kv_dpm.c pi->dpm_table_start = tmp; tmp 471 drivers/gpu/drm/radeon/kv_dpm.c &tmp, pi->sram_end); tmp 474 drivers/gpu/drm/radeon/kv_dpm.c pi->soft_regs_start = tmp; tmp 647 drivers/gpu/drm/radeon/kv_dpm.c u32 tmp = RREG32_SMC(GENERAL_PWRMGT); tmp 649 drivers/gpu/drm/radeon/kv_dpm.c tmp |= GLOBAL_PWRMGT_EN; tmp 650 drivers/gpu/drm/radeon/kv_dpm.c WREG32_SMC(GENERAL_PWRMGT, tmp); tmp 1367 drivers/gpu/drm/radeon/kv_dpm.c u16 tmp; tmp 1369 drivers/gpu/drm/radeon/kv_dpm.c tmp = 45; tmp 1370 drivers/gpu/drm/radeon/kv_dpm.c pi->fps_high_t = cpu_to_be16(tmp); tmp 1377 drivers/gpu/drm/radeon/kv_dpm.c tmp = 30; tmp 1378 drivers/gpu/drm/radeon/kv_dpm.c pi->fps_low_t = cpu_to_be16(tmp); tmp 2458 drivers/gpu/drm/radeon/kv_dpm.c u32 tmp; tmp 2469 drivers/gpu/drm/radeon/kv_dpm.c tmp = RREG32_SMC(CG_THERMAL_INT_CTRL); tmp 2470 drivers/gpu/drm/radeon/kv_dpm.c tmp &= ~(DIG_THERM_INTH_MASK | DIG_THERM_INTL_MASK); tmp 2471 drivers/gpu/drm/radeon/kv_dpm.c tmp |= (DIG_THERM_INTH(49 + (high_temp / 1000)) | tmp 2473 drivers/gpu/drm/radeon/kv_dpm.c WREG32_SMC(CG_THERMAL_INT_CTRL, tmp); tmp 2809 drivers/gpu/drm/radeon/kv_dpm.c u32 sclk, tmp; tmp 2816 drivers/gpu/drm/radeon/kv_dpm.c tmp = (RREG32_SMC(SMU_VOLTAGE_STATUS) & SMU_VOLTAGE_CURRENT_LEVEL_MASK) >> tmp 2818 drivers/gpu/drm/radeon/kv_dpm.c vddc = kv_convert_8bit_index_to_voltage(rdev, (u16)tmp); tmp 32 drivers/gpu/drm/radeon/kv_smc.c u32 tmp = 0; tmp 41 drivers/gpu/drm/radeon/kv_smc.c tmp = RREG32(SMC_RESP_0) & SMC_RESP_MASK; tmp 43 drivers/gpu/drm/radeon/kv_smc.c if (tmp != 1) { tmp 44 drivers/gpu/drm/radeon/kv_smc.c if (tmp == 0xFF) tmp 46 drivers/gpu/drm/radeon/kv_smc.c else if (tmp == 0xFE) tmp 900 drivers/gpu/drm/radeon/ni.c u32 tmp; tmp 1022 drivers/gpu/drm/radeon/ni.c tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; tmp 1023 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.mem_row_size_in_kb = (4 * (1 << (8 + tmp))) / 1024; tmp 1031 drivers/gpu/drm/radeon/ni.c tmp = (gb_addr_config & NUM_PIPES_MASK) >> NUM_PIPES_SHIFT; tmp 1032 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.num_tile_pipes = (1 << tmp); tmp 1033 drivers/gpu/drm/radeon/ni.c tmp = (gb_addr_config & PIPE_INTERLEAVE_SIZE_MASK) >> PIPE_INTERLEAVE_SIZE_SHIFT; tmp 1034 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.mem_max_burst_length_bytes = (tmp + 1) * 256; tmp 1035 drivers/gpu/drm/radeon/ni.c tmp = (gb_addr_config & NUM_SHADER_ENGINES_MASK) >> NUM_SHADER_ENGINES_SHIFT; tmp 1036 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.num_shader_engines = tmp + 1; tmp 1037 drivers/gpu/drm/radeon/ni.c tmp = (gb_addr_config & NUM_GPUS_MASK) >> NUM_GPUS_SHIFT; tmp 1038 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.num_gpus = tmp + 1; tmp 1039 drivers/gpu/drm/radeon/ni.c tmp = (gb_addr_config & MULTI_GPU_TILE_SIZE_MASK) >> MULTI_GPU_TILE_SIZE_SHIFT; tmp 1040 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.multi_gpu_tile_size = 1 << tmp; tmp 1041 drivers/gpu/drm/radeon/ni.c tmp = (gb_addr_config & ROW_SIZE_MASK) >> ROW_SIZE_SHIFT; tmp 1042 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.mem_row_size_in_kb = 1 << tmp; tmp 1091 drivers/gpu/drm/radeon/ni.c tmp = 0; tmp 1098 drivers/gpu/drm/radeon/ni.c tmp <<= 4; tmp 1099 drivers/gpu/drm/radeon/ni.c tmp |= rb_disable_bitmap; tmp 1102 drivers/gpu/drm/radeon/ni.c disabled_rb_mask = tmp; tmp 1103 drivers/gpu/drm/radeon/ni.c tmp = 0; tmp 1105 drivers/gpu/drm/radeon/ni.c tmp |= (1 << i); tmp 1107 drivers/gpu/drm/radeon/ni.c if ((disabled_rb_mask & tmp) == tmp) { tmp 1119 drivers/gpu/drm/radeon/ni.c tmp <<= 16; tmp 1120 drivers/gpu/drm/radeon/ni.c tmp |= simd_disable_bitmap; tmp 1122 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.active_simds = hweight32(~tmp); tmp 1142 drivers/gpu/drm/radeon/ni.c tmp = 0x00000000; tmp 1145 drivers/gpu/drm/radeon/ni.c tmp = 0x11111111; tmp 1148 drivers/gpu/drm/radeon/ni.c tmp = gb_addr_config & NUM_PIPES_MASK; tmp 1149 drivers/gpu/drm/radeon/ni.c tmp = r6xx_remap_render_backend(rdev, tmp, tmp 1154 drivers/gpu/drm/radeon/ni.c rdev->config.cayman.backend_map = tmp; tmp 1155 drivers/gpu/drm/radeon/ni.c WREG32(GB_BACKEND_MAP, tmp); tmp 1240 drivers/gpu/drm/radeon/ni.c tmp = RREG32(HDP_MISC_CNTL); tmp 1241 drivers/gpu/drm/radeon/ni.c tmp |= HDP_FLUSH_INVALIDATE_CACHE; tmp 1242 drivers/gpu/drm/radeon/ni.c WREG32(HDP_MISC_CNTL, tmp); tmp 1253 drivers/gpu/drm/radeon/ni.c tmp = RREG32_CG(CG_CGTT_LOCAL_0); tmp 1254 drivers/gpu/drm/radeon/ni.c tmp &= ~0x00380000; tmp 1255 drivers/gpu/drm/radeon/ni.c WREG32_CG(CG_CGTT_LOCAL_0, tmp); tmp 1256 drivers/gpu/drm/radeon/ni.c tmp = RREG32_CG(CG_CGTT_LOCAL_1); tmp 1257 drivers/gpu/drm/radeon/ni.c tmp &= ~0x0e000000; tmp 1258 drivers/gpu/drm/radeon/ni.c WREG32_CG(CG_CGTT_LOCAL_1, tmp); tmp 1749 drivers/gpu/drm/radeon/ni.c u32 tmp; tmp 1752 drivers/gpu/drm/radeon/ni.c tmp = RREG32(GRBM_STATUS); tmp 1753 drivers/gpu/drm/radeon/ni.c if (tmp & (PA_BUSY | SC_BUSY | tmp 1761 drivers/gpu/drm/radeon/ni.c if (tmp & (CF_RQ_PENDING | PF_RQ_PENDING | tmp 1765 drivers/gpu/drm/radeon/ni.c if (tmp & GRBM_EE_BUSY) tmp 1769 drivers/gpu/drm/radeon/ni.c tmp = RREG32(DMA_STATUS_REG + DMA0_REGISTER_OFFSET); tmp 1770 drivers/gpu/drm/radeon/ni.c if (!(tmp & DMA_IDLE)) tmp 1774 drivers/gpu/drm/radeon/ni.c tmp = RREG32(DMA_STATUS_REG + DMA1_REGISTER_OFFSET); tmp 1775 drivers/gpu/drm/radeon/ni.c if (!(tmp & DMA_IDLE)) tmp 1779 drivers/gpu/drm/radeon/ni.c tmp = RREG32(SRBM_STATUS2); tmp 1780 drivers/gpu/drm/radeon/ni.c if (tmp & DMA_BUSY) tmp 1783 drivers/gpu/drm/radeon/ni.c if (tmp & DMA1_BUSY) tmp 1787 drivers/gpu/drm/radeon/ni.c tmp = RREG32(SRBM_STATUS); tmp 1788 drivers/gpu/drm/radeon/ni.c if (tmp & (RLC_RQ_PENDING | RLC_BUSY)) tmp 1791 drivers/gpu/drm/radeon/ni.c if (tmp & IH_BUSY) tmp 1794 drivers/gpu/drm/radeon/ni.c if (tmp & SEM_BUSY) tmp 1797 drivers/gpu/drm/radeon/ni.c if (tmp & GRBM_RQ_PENDING) tmp 1800 drivers/gpu/drm/radeon/ni.c if (tmp & VMC_BUSY) tmp 1803 drivers/gpu/drm/radeon/ni.c if (tmp & (MCB_BUSY | MCB_NON_DISPLAY_BUSY | tmp 1811 drivers/gpu/drm/radeon/ni.c tmp = RREG32(VM_L2_STATUS); tmp 1812 drivers/gpu/drm/radeon/ni.c if (tmp & L2_BUSY) tmp 1828 drivers/gpu/drm/radeon/ni.c u32 tmp; tmp 1850 drivers/gpu/drm/radeon/ni.c tmp = RREG32(DMA_RB_CNTL + DMA0_REGISTER_OFFSET); tmp 1851 drivers/gpu/drm/radeon/ni.c tmp &= ~DMA_RB_ENABLE; tmp 1852 drivers/gpu/drm/radeon/ni.c WREG32(DMA_RB_CNTL + DMA0_REGISTER_OFFSET, tmp); tmp 1857 drivers/gpu/drm/radeon/ni.c tmp = RREG32(DMA_RB_CNTL + DMA1_REGISTER_OFFSET); tmp 1858 drivers/gpu/drm/radeon/ni.c tmp &= ~DMA_RB_ENABLE; tmp 1859 drivers/gpu/drm/radeon/ni.c WREG32(DMA_RB_CNTL + DMA1_REGISTER_OFFSET, tmp); tmp 1920 drivers/gpu/drm/radeon/ni.c tmp = RREG32(GRBM_SOFT_RESET); tmp 1921 drivers/gpu/drm/radeon/ni.c tmp |= grbm_soft_reset; tmp 1922 drivers/gpu/drm/radeon/ni.c dev_info(rdev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1923 drivers/gpu/drm/radeon/ni.c WREG32(GRBM_SOFT_RESET, tmp); tmp 1924 drivers/gpu/drm/radeon/ni.c tmp = RREG32(GRBM_SOFT_RESET); tmp 1928 drivers/gpu/drm/radeon/ni.c tmp &= ~grbm_soft_reset; tmp 1929 drivers/gpu/drm/radeon/ni.c WREG32(GRBM_SOFT_RESET, tmp); tmp 1930 drivers/gpu/drm/radeon/ni.c tmp = RREG32(GRBM_SOFT_RESET); tmp 1934 drivers/gpu/drm/radeon/ni.c tmp = RREG32(SRBM_SOFT_RESET); tmp 1935 drivers/gpu/drm/radeon/ni.c tmp |= srbm_soft_reset; tmp 1936 drivers/gpu/drm/radeon/ni.c dev_info(rdev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1937 drivers/gpu/drm/radeon/ni.c WREG32(SRBM_SOFT_RESET, tmp); tmp 1938 drivers/gpu/drm/radeon/ni.c tmp = RREG32(SRBM_SOFT_RESET); tmp 1942 drivers/gpu/drm/radeon/ni.c tmp &= ~srbm_soft_reset; tmp 1943 drivers/gpu/drm/radeon/ni.c WREG32(SRBM_SOFT_RESET, tmp); tmp 1944 drivers/gpu/drm/radeon/ni.c tmp = RREG32(SRBM_SOFT_RESET); tmp 2512 drivers/gpu/drm/radeon/ni.c u64 tmp = RREG32(FUS_MC_VM_FB_OFFSET); tmp 2513 drivers/gpu/drm/radeon/ni.c tmp <<= 22; tmp 2514 drivers/gpu/drm/radeon/ni.c rdev->vm_manager.vram_base_offset = tmp; tmp 1084 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp; tmp 1088 drivers/gpu/drm/radeon/ni_dpm.c tmp = RREG32(LB_SYNC_RESET_SEL) & LB_SYNC_RESET_SEL_MASK; tmp 1089 drivers/gpu/drm/radeon/ni_dpm.c if (tmp != 1) tmp 1104 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp; tmp 1110 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1115 drivers/gpu/drm/radeon/ni_dpm.c pi->state_table_start = (u16)tmp; tmp 1120 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1125 drivers/gpu/drm/radeon/ni_dpm.c pi->soft_regs_start = (u16)tmp; tmp 1130 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1135 drivers/gpu/drm/radeon/ni_dpm.c eg_pi->mc_reg_table_start = (u16)tmp; tmp 1140 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1145 drivers/gpu/drm/radeon/ni_dpm.c ni_pi->fan_table_start = (u16)tmp; tmp 1150 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1155 drivers/gpu/drm/radeon/ni_dpm.c ni_pi->arb_table_start = (u16)tmp; tmp 1160 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1165 drivers/gpu/drm/radeon/ni_dpm.c ni_pi->cac_table_start = (u16)tmp; tmp 1170 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1175 drivers/gpu/drm/radeon/ni_dpm.c ni_pi->spll_table_start = (u16)tmp; tmp 1369 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp = RREG32(CG_CAC_CTRL) & TID_CNT_MASK; tmp 1374 drivers/gpu/drm/radeon/ni_dpm.c return tmp * xclk_period; tmp 1397 drivers/gpu/drm/radeon/ni_dpm.c u64 tmp, n, d; tmp 1424 drivers/gpu/drm/radeon/ni_dpm.c tmp = div64_u64(n, d); tmp 1426 drivers/gpu/drm/radeon/ni_dpm.c if (tmp >> 32) tmp 1428 drivers/gpu/drm/radeon/ni_dpm.c power_boost_limit = (u32)tmp; tmp 1575 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp; tmp 1579 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1583 drivers/gpu/drm/radeon/ni_dpm.c tmp &= 0x00FFFFFF; tmp 1584 drivers/gpu/drm/radeon/ni_dpm.c tmp |= ((u32)MC_CG_ARB_FREQ_F1) << 24; tmp 1587 drivers/gpu/drm/radeon/ni_dpm.c tmp, pi->sram_end); tmp 1599 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp; tmp 1603 drivers/gpu/drm/radeon/ni_dpm.c &tmp, pi->sram_end); tmp 1607 drivers/gpu/drm/radeon/ni_dpm.c tmp = (tmp >> 24) & 0xff; tmp 1609 drivers/gpu/drm/radeon/ni_dpm.c if (tmp == MC_CG_ARB_FREQ_F0) tmp 1612 drivers/gpu/drm/radeon/ni_dpm.c return ni_copy_and_switch_arb_sets(rdev, tmp, MC_CG_ARB_FREQ_F0); tmp 2011 drivers/gpu/drm/radeon/ni_dpm.c u64 tmp; tmp 2025 drivers/gpu/drm/radeon/ni_dpm.c tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16834; tmp 2026 drivers/gpu/drm/radeon/ni_dpm.c do_div(tmp, reference_clock); tmp 2027 drivers/gpu/drm/radeon/ni_dpm.c fbdiv = (u32) tmp; tmp 2102 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp; tmp 2140 drivers/gpu/drm/radeon/ni_dpm.c tmp = ((fb_div << SMC_NISLANDS_SPLL_DIV_TABLE_FBDIV_SHIFT) & SMC_NISLANDS_SPLL_DIV_TABLE_FBDIV_MASK) | tmp 2142 drivers/gpu/drm/radeon/ni_dpm.c spll_table->freq[i] = cpu_to_be32(tmp); tmp 2144 drivers/gpu/drm/radeon/ni_dpm.c tmp = ((clk_v << SMC_NISLANDS_SPLL_DIV_TABLE_CLKV_SHIFT) & SMC_NISLANDS_SPLL_DIV_TABLE_CLKV_MASK) | tmp 2146 drivers/gpu/drm/radeon/ni_dpm.c spll_table->ss[i] = cpu_to_be32(tmp); tmp 2319 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp = RREG32(DC_STUTTER_CNTL); tmp 2332 drivers/gpu/drm/radeon/ni_dpm.c (tmp & DC_STUTTER_ENABLE_A) && tmp 2333 drivers/gpu/drm/radeon/ni_dpm.c (tmp & DC_STUTTER_ENABLE_B)) tmp 3442 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp; tmp 3444 drivers/gpu/drm/radeon/ni_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 3446 drivers/gpu/drm/radeon/ni_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) && tmp 3447 drivers/gpu/drm/radeon/ni_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) tmp 3462 drivers/gpu/drm/radeon/ni_dpm.c u32 tmp, bif; tmp 3464 drivers/gpu/drm/radeon/ni_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 3466 drivers/gpu/drm/radeon/ni_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) && tmp 3467 drivers/gpu/drm/radeon/ni_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) { tmp 3474 drivers/gpu/drm/radeon/ni_dpm.c tmp &= ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 3475 drivers/gpu/drm/radeon/ni_dpm.c tmp |= LC_HW_VOLTAGE_IF_CONTROL(1); tmp 3476 drivers/gpu/drm/radeon/ni_dpm.c tmp |= LC_GEN2_EN_STRAP; tmp 3478 drivers/gpu/drm/radeon/ni_dpm.c tmp |= LC_CLR_FAILED_SPD_CHANGE_CNT; tmp 3479 drivers/gpu/drm/radeon/ni_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 3481 drivers/gpu/drm/radeon/ni_dpm.c tmp &= ~LC_CLR_FAILED_SPD_CHANGE_CNT; tmp 3482 drivers/gpu/drm/radeon/ni_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 3489 drivers/gpu/drm/radeon/ni_dpm.c tmp &= ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 3490 drivers/gpu/drm/radeon/ni_dpm.c tmp &= ~LC_GEN2_EN_STRAP; tmp 3492 drivers/gpu/drm/radeon/ni_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 165 drivers/gpu/drm/radeon/r100.c u32 tmp = ((u32)crtc_base) | RADEON_CRTC_OFFSET__OFFSET_LOCK; tmp 170 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); tmp 181 drivers/gpu/drm/radeon/r100.c tmp &= ~RADEON_CRTC_OFFSET__OFFSET_LOCK; tmp 182 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); tmp 356 drivers/gpu/drm/radeon/r100.c u32 tmp, sclk_cntl, sclk_cntl2, sclk_more_cntl; tmp 360 drivers/gpu/drm/radeon/r100.c tmp = RREG32(voltage->gpio.reg); tmp 362 drivers/gpu/drm/radeon/r100.c tmp |= voltage->gpio.mask; tmp 364 drivers/gpu/drm/radeon/r100.c tmp &= ~(voltage->gpio.mask); tmp 365 drivers/gpu/drm/radeon/r100.c WREG32(voltage->gpio.reg, tmp); tmp 369 drivers/gpu/drm/radeon/r100.c tmp = RREG32(voltage->gpio.reg); tmp 371 drivers/gpu/drm/radeon/r100.c tmp &= ~voltage->gpio.mask; tmp 373 drivers/gpu/drm/radeon/r100.c tmp |= voltage->gpio.mask; tmp 374 drivers/gpu/drm/radeon/r100.c WREG32(voltage->gpio.reg, tmp); tmp 454 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 461 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CRTC2_GEN_CNTL); tmp 462 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_CRTC2_DISP_REQ_EN_B; tmp 463 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CRTC2_GEN_CNTL, tmp); tmp 465 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CRTC_GEN_CNTL); tmp 466 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_CRTC_DISP_REQ_EN_B; tmp 467 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CRTC_GEN_CNTL, tmp); tmp 485 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 492 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CRTC2_GEN_CNTL); tmp 493 drivers/gpu/drm/radeon/r100.c tmp &= ~RADEON_CRTC2_DISP_REQ_EN_B; tmp 494 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CRTC2_GEN_CNTL, tmp); tmp 496 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CRTC_GEN_CNTL); tmp 497 drivers/gpu/drm/radeon/r100.c tmp &= ~RADEON_CRTC_DISP_REQ_EN_B; tmp 498 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CRTC_GEN_CNTL, tmp); tmp 560 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 565 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_FP_GEN_CNTL); tmp 567 drivers/gpu/drm/radeon/r100.c tmp &= ~RADEON_FP_DETECT_INT_POL; tmp 569 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_FP_DETECT_INT_POL; tmp 570 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_FP_GEN_CNTL, tmp); tmp 573 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_FP2_GEN_CNTL); tmp 575 drivers/gpu/drm/radeon/r100.c tmp &= ~RADEON_FP2_DETECT_INT_POL; tmp 577 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_FP2_DETECT_INT_POL; tmp 578 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_FP2_GEN_CNTL, tmp); tmp 662 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 665 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_AIC_CNTL) | RADEON_DIS_OUT_OF_PCI_GART_ACCESS; tmp 666 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_AIC_CNTL, tmp); tmp 672 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_AIC_CNTL) | RADEON_PCIGART_TRANSLATE_EN; tmp 673 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_AIC_CNTL, tmp); tmp 684 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 687 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_AIC_CNTL) | RADEON_DIS_OUT_OF_PCI_GART_ACCESS; tmp 688 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_AIC_CNTL, tmp & ~RADEON_PCIGART_TRANSLATE_EN); tmp 714 drivers/gpu/drm/radeon/r100.c uint32_t tmp = 0; tmp 722 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_SW_INT_ENABLE; tmp 726 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_CRTC_VBLANK_MASK; tmp 730 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_CRTC2_VBLANK_MASK; tmp 733 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_FP_DETECT_MASK; tmp 736 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_FP2_DETECT_MASK; tmp 738 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_GEN_INT_CNTL, tmp); tmp 748 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 753 drivers/gpu/drm/radeon/r100.c tmp = RREG32(R_000044_GEN_INT_STATUS); tmp 754 drivers/gpu/drm/radeon/r100.c WREG32(R_000044_GEN_INT_STATUS, tmp); tmp 970 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 973 drivers/gpu/drm/radeon/r100.c tmp = RREG32(R_000E40_RBBM_STATUS); tmp 974 drivers/gpu/drm/radeon/r100.c if (!G_000E40_CP_CMDSTRM_BUSY(tmp)) { tmp 1120 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 1169 drivers/gpu/drm/radeon/r100.c tmp = (REG_SET(RADEON_RB_BUFSZ, rb_bufsz) | tmp 1173 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_BUF_SWAP_32BIT; tmp 1175 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CP_RB_CNTL, tmp | RADEON_RB_NO_UPDATE); tmp 1181 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CP_RB_CNTL, tmp | RADEON_RB_RPTR_WR_ENA | RADEON_RB_NO_UPDATE); tmp 1194 drivers/gpu/drm/radeon/r100.c tmp |= RADEON_RB_NO_UPDATE; tmp 1198 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CP_RB_CNTL, tmp); tmp 1266 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 1279 drivers/gpu/drm/radeon/r100.c tmp = value & 0x003fffff; tmp 1280 drivers/gpu/drm/radeon/r100.c tmp += (((u32)reloc->gpu_offset) >> 10); tmp 1294 drivers/gpu/drm/radeon/r100.c tmp |= tile_flags; tmp 1295 drivers/gpu/drm/radeon/r100.c p->ib.ptr[idx] = (value & 0x3fc00000) | tmp; tmp 1297 drivers/gpu/drm/radeon/r100.c p->ib.ptr[idx] = (value & 0xffc00000) | tmp; tmp 1558 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 1630 drivers/gpu/drm/radeon/r100.c tmp = idx_value & ~(0x7 << 2); tmp 1631 drivers/gpu/drm/radeon/r100.c tmp |= tile_flags; tmp 1632 drivers/gpu/drm/radeon/r100.c ib[idx] = tmp + ((u32)reloc->gpu_offset); tmp 1711 drivers/gpu/drm/radeon/r100.c tmp = idx_value & ~(0x7 << 16); tmp 1712 drivers/gpu/drm/radeon/r100.c tmp |= tile_flags; tmp 1713 drivers/gpu/drm/radeon/r100.c ib[idx] = tmp; tmp 1813 drivers/gpu/drm/radeon/r100.c tmp = (idx_value >> 23) & 0x7; tmp 1814 drivers/gpu/drm/radeon/r100.c if (tmp == 2 || tmp == 6) tmp 1816 drivers/gpu/drm/radeon/r100.c tmp = (idx_value >> 27) & 0x7; tmp 1817 drivers/gpu/drm/radeon/r100.c if (tmp == 2 || tmp == 6) tmp 1877 drivers/gpu/drm/radeon/r100.c tmp = idx_value; tmp 1880 drivers/gpu/drm/radeon/r100.c track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf); tmp 1881 drivers/gpu/drm/radeon/r100.c track->textures[i].cube_info[face].height = 1 << ((tmp >> ((face * 8) + 4)) & 0xf); tmp 2472 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 2475 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_RBBM_STATUS) & RADEON_RBBM_FIFOCNT_MASK; tmp 2476 drivers/gpu/drm/radeon/r100.c if (tmp >= n) { tmp 2487 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 2493 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_RBBM_STATUS); tmp 2494 drivers/gpu/drm/radeon/r100.c if (!(tmp & RADEON_RBBM_ACTIVE)) { tmp 2505 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 2509 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_MC_STATUS); tmp 2510 drivers/gpu/drm/radeon/r100.c if (tmp & RADEON_MC_IDLE) { tmp 2533 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 2535 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_BUS_CNTL) & ~RADEON_BUS_MASTER_DIS; tmp 2536 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_BUS_CNTL, tmp); tmp 2541 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 2544 drivers/gpu/drm/radeon/r100.c tmp = RREG32(R_000030_BUS_CNTL); tmp 2545 drivers/gpu/drm/radeon/r100.c WREG32(R_000030_BUS_CNTL, (tmp & 0xFFFFFFFF) | 0x00000044); tmp 2547 drivers/gpu/drm/radeon/r100.c WREG32(R_000030_BUS_CNTL, (tmp & 0xFFFFFFFF) | 0x00000042); tmp 2549 drivers/gpu/drm/radeon/r100.c WREG32(R_000030_BUS_CNTL, (tmp & 0xFFFFFFFF) | 0x00000040); tmp 2550 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_BUS_CNTL); tmp 2559 drivers/gpu/drm/radeon/r100.c u32 status, tmp; tmp 2571 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CP_RB_CNTL); tmp 2572 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CP_RB_CNTL, tmp | RADEON_RB_RPTR_WR_ENA); tmp 2575 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CP_RB_CNTL, tmp); tmp 2616 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 2690 drivers/gpu/drm/radeon/r100.c tmp = RREG32_PLL(RADEON_PLL_PWRMGT_CNTL); tmp 2691 drivers/gpu/drm/radeon/r100.c tmp &= ~RADEON_PM_MODE_SEL; tmp 2692 drivers/gpu/drm/radeon/r100.c WREG32_PLL(RADEON_PLL_PWRMGT_CNTL, tmp); tmp 2701 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 2711 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_MEM_CNTL); tmp 2712 drivers/gpu/drm/radeon/r100.c if (tmp & RV100_HALF_MODE) { tmp 2722 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_MEM_CNTL); tmp 2723 drivers/gpu/drm/radeon/r100.c if (tmp & RADEON_MEM_NUM_CHANNELS_MASK) { tmp 2870 drivers/gpu/drm/radeon/r100.c uint32_t save, tmp; tmp 2873 drivers/gpu/drm/radeon/r100.c tmp = save & ~(0x3f | RADEON_PLL_WR_EN); tmp 2874 drivers/gpu/drm/radeon/r100.c WREG32(RADEON_CLOCK_CNTL_INDEX, tmp); tmp 2875 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CLOCK_CNTL_DATA); tmp 2977 drivers/gpu/drm/radeon/r100.c uint32_t csq_stat, csq2_stat, tmp; tmp 3004 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CP_CSQ_DATA); tmp 3005 drivers/gpu/drm/radeon/r100.c seq_printf(m, "rfifo[%04d]=0x%08X\n", i, tmp); tmp 3010 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CP_CSQ_DATA); tmp 3011 drivers/gpu/drm/radeon/r100.c seq_printf(m, "ib1fifo[%04d]=0x%08X\n", i, tmp); tmp 3016 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CP_CSQ_DATA); tmp 3017 drivers/gpu/drm/radeon/r100.c seq_printf(m, "ib2fifo[%04d]=0x%08X\n", i, tmp); tmp 3027 drivers/gpu/drm/radeon/r100.c uint32_t tmp; tmp 3029 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CONFIG_MEMSIZE); tmp 3030 drivers/gpu/drm/radeon/r100.c seq_printf(m, "CONFIG_MEMSIZE 0x%08x\n", tmp); tmp 3031 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_MC_FB_LOCATION); tmp 3032 drivers/gpu/drm/radeon/r100.c seq_printf(m, "MC_FB_LOCATION 0x%08x\n", tmp); tmp 3033 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_BUS_CNTL); tmp 3034 drivers/gpu/drm/radeon/r100.c seq_printf(m, "BUS_CNTL 0x%08x\n", tmp); tmp 3035 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_MC_AGP_LOCATION); tmp 3036 drivers/gpu/drm/radeon/r100.c seq_printf(m, "MC_AGP_LOCATION 0x%08x\n", tmp); tmp 3037 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_AGP_BASE); tmp 3038 drivers/gpu/drm/radeon/r100.c seq_printf(m, "AGP_BASE 0x%08x\n", tmp); tmp 3039 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_HOST_PATH_CNTL); tmp 3040 drivers/gpu/drm/radeon/r100.c seq_printf(m, "HOST_PATH_CNTL 0x%08x\n", tmp); tmp 3041 drivers/gpu/drm/radeon/r100.c tmp = RREG32(0x01D0); tmp 3042 drivers/gpu/drm/radeon/r100.c seq_printf(m, "AIC_CTRL 0x%08x\n", tmp); tmp 3043 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_AIC_LO_ADDR); tmp 3044 drivers/gpu/drm/radeon/r100.c seq_printf(m, "AIC_LO_ADDR 0x%08x\n", tmp); tmp 3045 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_AIC_HI_ADDR); tmp 3046 drivers/gpu/drm/radeon/r100.c seq_printf(m, "AIC_HI_ADDR 0x%08x\n", tmp); tmp 3047 drivers/gpu/drm/radeon/r100.c tmp = RREG32(0x01E4); tmp 3048 drivers/gpu/drm/radeon/r100.c seq_printf(m, "AIC_TLB_ADDR 0x%08x\n", tmp); tmp 3654 drivers/gpu/drm/radeon/r100.c uint32_t tmp = 0; tmp 3674 drivers/gpu/drm/radeon/r100.c tmp = RREG32(scratch); tmp 3675 drivers/gpu/drm/radeon/r100.c if (tmp == 0xDEADBEEF) { tmp 3684 drivers/gpu/drm/radeon/r100.c scratch, tmp); tmp 3710 drivers/gpu/drm/radeon/r100.c uint32_t tmp = 0; tmp 3751 drivers/gpu/drm/radeon/r100.c tmp = RREG32(scratch); tmp 3752 drivers/gpu/drm/radeon/r100.c if (tmp == 0xDEADBEEF) { tmp 3761 drivers/gpu/drm/radeon/r100.c scratch, tmp); tmp 3831 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 3833 drivers/gpu/drm/radeon/r100.c tmp = RREG8(R_0003C2_GENMO_WT); tmp 3834 drivers/gpu/drm/radeon/r100.c WREG8(R_0003C2_GENMO_WT, C_0003C2_VGA_RAM_EN & tmp); tmp 3878 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 3883 drivers/gpu/drm/radeon/r100.c tmp = RREG32_PLL(R_00000D_SCLK_CNTL); tmp 3884 drivers/gpu/drm/radeon/r100.c tmp |= S_00000D_FORCE_CP(1) | S_00000D_FORCE_VIP(1); tmp 3886 drivers/gpu/drm/radeon/r100.c tmp |= S_00000D_FORCE_DISP1(1) | S_00000D_FORCE_DISP2(1); tmp 3887 drivers/gpu/drm/radeon/r100.c WREG32_PLL(R_00000D_SCLK_CNTL, tmp); tmp 4013 drivers/gpu/drm/radeon/r100.c u32 tmp; tmp 4015 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CP_CSQ_CNTL); tmp 4016 drivers/gpu/drm/radeon/r100.c if (tmp) { tmp 4019 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_CP_RB_CNTL); tmp 4020 drivers/gpu/drm/radeon/r100.c if (tmp) { tmp 4023 drivers/gpu/drm/radeon/r100.c tmp = RREG32(RADEON_SCRATCH_UMSK); tmp 4024 drivers/gpu/drm/radeon/r100.c if (tmp) { tmp 152 drivers/gpu/drm/radeon/r200.c uint32_t tmp; tmp 226 drivers/gpu/drm/radeon/r200.c tmp = idx_value & ~(0x7 << 2); tmp 227 drivers/gpu/drm/radeon/r200.c tmp |= tile_flags; tmp 228 drivers/gpu/drm/radeon/r200.c ib[idx] = tmp + ((u32)reloc->gpu_offset); tmp 298 drivers/gpu/drm/radeon/r200.c tmp = idx_value & ~(0x7 << 16); tmp 299 drivers/gpu/drm/radeon/r200.c tmp |= tile_flags; tmp 300 drivers/gpu/drm/radeon/r200.c ib[idx] = tmp; tmp 421 drivers/gpu/drm/radeon/r200.c tmp = (idx_value >> 23) & 0x7; tmp 422 drivers/gpu/drm/radeon/r200.c if (tmp == 2 || tmp == 6) tmp 424 drivers/gpu/drm/radeon/r200.c tmp = (idx_value >> 27) & 0x7; tmp 425 drivers/gpu/drm/radeon/r200.c if (tmp == 2 || tmp == 6) tmp 445 drivers/gpu/drm/radeon/r200.c tmp = (idx_value >> 16) & 0x3; tmp 447 drivers/gpu/drm/radeon/r200.c switch (tmp) { tmp 531 drivers/gpu/drm/radeon/r200.c tmp = idx_value; tmp 534 drivers/gpu/drm/radeon/r200.c track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf); tmp 535 drivers/gpu/drm/radeon/r200.c track->textures[i].cube_info[face].height = 1 << ((tmp >> ((face * 8) + 4)) & 0xf); tmp 90 drivers/gpu/drm/radeon/r300.c uint32_t tmp; tmp 95 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_CNTL); tmp 96 drivers/gpu/drm/radeon/r300.c WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp | RADEON_PCIE_TX_GART_INVALIDATE_TLB); tmp 98 drivers/gpu/drm/radeon/r300.c WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); tmp 156 drivers/gpu/drm/radeon/r300.c uint32_t tmp; tmp 167 drivers/gpu/drm/radeon/r300.c tmp = RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD; tmp 168 drivers/gpu/drm/radeon/r300.c WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); tmp 170 drivers/gpu/drm/radeon/r300.c tmp = rdev->mc.gtt_end & ~RADEON_GPU_PAGE_MASK; tmp 171 drivers/gpu/drm/radeon/r300.c WREG32_PCIE(RADEON_PCIE_TX_GART_END_LO, tmp); tmp 181 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_CNTL); tmp 182 drivers/gpu/drm/radeon/r300.c tmp |= RADEON_PCIE_TX_GART_EN; tmp 183 drivers/gpu/drm/radeon/r300.c tmp |= RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD; tmp 184 drivers/gpu/drm/radeon/r300.c WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); tmp 195 drivers/gpu/drm/radeon/r300.c u32 tmp; tmp 201 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_CNTL); tmp 202 drivers/gpu/drm/radeon/r300.c tmp |= RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD; tmp 203 drivers/gpu/drm/radeon/r300.c WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp & ~RADEON_PCIE_TX_GART_EN); tmp 351 drivers/gpu/drm/radeon/r300.c uint32_t tmp; tmp 355 drivers/gpu/drm/radeon/r300.c tmp = RREG32(RADEON_MC_STATUS); tmp 356 drivers/gpu/drm/radeon/r300.c if (tmp & R300_MC_IDLE) { tmp 366 drivers/gpu/drm/radeon/r300.c uint32_t gb_tile_config, tmp; tmp 399 drivers/gpu/drm/radeon/r300.c tmp = RREG32(R300_DST_PIPE_CONFIG); tmp 400 drivers/gpu/drm/radeon/r300.c WREG32(R300_DST_PIPE_CONFIG, tmp | R300_PIPE_AUTO_CONFIG); tmp 419 drivers/gpu/drm/radeon/r300.c u32 status, tmp; tmp 431 drivers/gpu/drm/radeon/r300.c tmp = RREG32(RADEON_CP_RB_CNTL); tmp 432 drivers/gpu/drm/radeon/r300.c WREG32(RADEON_CP_RB_CNTL, tmp | RADEON_RB_RPTR_WR_ENA); tmp 435 drivers/gpu/drm/radeon/r300.c WREG32(RADEON_CP_RB_CNTL, tmp); tmp 479 drivers/gpu/drm/radeon/r300.c u32 tmp; tmp 483 drivers/gpu/drm/radeon/r300.c tmp = RREG32(RADEON_MEM_CNTL); tmp 484 drivers/gpu/drm/radeon/r300.c tmp &= R300_MEM_NUM_CHANNELS_MASK; tmp 485 drivers/gpu/drm/radeon/r300.c switch (tmp) { tmp 598 drivers/gpu/drm/radeon/r300.c uint32_t tmp; tmp 600 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_CNTL); tmp 601 drivers/gpu/drm/radeon/r300.c seq_printf(m, "PCIE_TX_GART_CNTL 0x%08x\n", tmp); tmp 602 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_BASE); tmp 603 drivers/gpu/drm/radeon/r300.c seq_printf(m, "PCIE_TX_GART_BASE 0x%08x\n", tmp); tmp 604 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_START_LO); tmp 605 drivers/gpu/drm/radeon/r300.c seq_printf(m, "PCIE_TX_GART_START_LO 0x%08x\n", tmp); tmp 606 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_START_HI); tmp 607 drivers/gpu/drm/radeon/r300.c seq_printf(m, "PCIE_TX_GART_START_HI 0x%08x\n", tmp); tmp 608 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_END_LO); tmp 609 drivers/gpu/drm/radeon/r300.c seq_printf(m, "PCIE_TX_GART_END_LO 0x%08x\n", tmp); tmp 610 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_END_HI); tmp 611 drivers/gpu/drm/radeon/r300.c seq_printf(m, "PCIE_TX_GART_END_HI 0x%08x\n", tmp); tmp 612 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_ERROR); tmp 613 drivers/gpu/drm/radeon/r300.c seq_printf(m, "PCIE_TX_GART_ERROR 0x%08x\n", tmp); tmp 638 drivers/gpu/drm/radeon/r300.c uint32_t tmp, tile_flags = 0; tmp 730 drivers/gpu/drm/radeon/r300.c tmp = idx_value + ((u32)reloc->gpu_offset); tmp 731 drivers/gpu/drm/radeon/r300.c tmp |= tile_flags; tmp 732 drivers/gpu/drm/radeon/r300.c ib[idx] = tmp; tmp 799 drivers/gpu/drm/radeon/r300.c tmp = idx_value & ~(0x7 << 16); tmp 800 drivers/gpu/drm/radeon/r300.c tmp |= tile_flags; tmp 801 drivers/gpu/drm/radeon/r300.c ib[idx] = tmp; tmp 884 drivers/gpu/drm/radeon/r300.c tmp = idx_value & ~(0x7 << 16); tmp 885 drivers/gpu/drm/radeon/r300.c tmp |= tile_flags; tmp 886 drivers/gpu/drm/radeon/r300.c ib[idx] = tmp; tmp 919 drivers/gpu/drm/radeon/r300.c tmp = (idx_value >> 25) & 0x3; tmp 920 drivers/gpu/drm/radeon/r300.c track->textures[i].tex_coord_type = tmp; tmp 1005 drivers/gpu/drm/radeon/r300.c tmp = idx_value & 0x7; tmp 1006 drivers/gpu/drm/radeon/r300.c if (tmp == 2 || tmp == 4 || tmp == 6) { tmp 1009 drivers/gpu/drm/radeon/r300.c tmp = (idx_value >> 3) & 0x7; tmp 1010 drivers/gpu/drm/radeon/r300.c if (tmp == 2 || tmp == 4 || tmp == 6) { tmp 1033 drivers/gpu/drm/radeon/r300.c tmp = idx_value & 0x3FFF; tmp 1034 drivers/gpu/drm/radeon/r300.c track->textures[i].pitch = tmp + 1; tmp 1036 drivers/gpu/drm/radeon/r300.c tmp = ((idx_value >> 15) & 1) << 11; tmp 1037 drivers/gpu/drm/radeon/r300.c track->textures[i].width_11 = tmp; tmp 1038 drivers/gpu/drm/radeon/r300.c tmp = ((idx_value >> 16) & 1) << 11; tmp 1039 drivers/gpu/drm/radeon/r300.c track->textures[i].height_11 = tmp; tmp 1071 drivers/gpu/drm/radeon/r300.c tmp = idx_value & 0x7FF; tmp 1072 drivers/gpu/drm/radeon/r300.c track->textures[i].width = tmp + 1; tmp 1073 drivers/gpu/drm/radeon/r300.c tmp = (idx_value >> 11) & 0x7FF; tmp 1074 drivers/gpu/drm/radeon/r300.c track->textures[i].height = tmp + 1; tmp 1075 drivers/gpu/drm/radeon/r300.c tmp = (idx_value >> 26) & 0xF; tmp 1076 drivers/gpu/drm/radeon/r300.c track->textures[i].num_levels = tmp; tmp 1077 drivers/gpu/drm/radeon/r300.c tmp = idx_value & (1 << 31); tmp 1078 drivers/gpu/drm/radeon/r300.c track->textures[i].use_pitch = !!tmp; tmp 1079 drivers/gpu/drm/radeon/r300.c tmp = (idx_value >> 22) & 0xF; tmp 1080 drivers/gpu/drm/radeon/r300.c track->textures[i].txdepth = tmp; tmp 1366 drivers/gpu/drm/radeon/r300.c u32 tmp; tmp 1371 drivers/gpu/drm/radeon/r300.c tmp = RREG32_PLL(R_00000D_SCLK_CNTL); tmp 1372 drivers/gpu/drm/radeon/r300.c tmp |= S_00000D_FORCE_CP(1) | S_00000D_FORCE_VIP(1); tmp 1374 drivers/gpu/drm/radeon/r300.c tmp |= S_00000D_FORCE_VAP(1); tmp 1375 drivers/gpu/drm/radeon/r300.c WREG32_PLL(R_00000D_SCLK_CNTL, tmp); tmp 92 drivers/gpu/drm/radeon/r420.c unsigned tmp; tmp 113 drivers/gpu/drm/radeon/r420.c tmp = 0; tmp 120 drivers/gpu/drm/radeon/r420.c tmp = (0 << 1); tmp 123 drivers/gpu/drm/radeon/r420.c tmp = (3 << 1); tmp 126 drivers/gpu/drm/radeon/r420.c tmp = (6 << 1); tmp 129 drivers/gpu/drm/radeon/r420.c tmp = (7 << 1); tmp 134 drivers/gpu/drm/radeon/r420.c tmp |= R300_TILE_SIZE_16 | R300_ENABLE_TILING; tmp 135 drivers/gpu/drm/radeon/r420.c WREG32(R300_GB_TILE_CONFIG, tmp); tmp 140 drivers/gpu/drm/radeon/r420.c tmp = RREG32(R300_DST_PIPE_CONFIG); tmp 141 drivers/gpu/drm/radeon/r420.c WREG32(R300_DST_PIPE_CONFIG, tmp | R300_PIPE_AUTO_CONFIG); tmp 153 drivers/gpu/drm/radeon/r420.c tmp = RREG32(RV530_GB_PIPE_SELECT2); tmp 154 drivers/gpu/drm/radeon/r420.c if ((tmp & 3) == 3) tmp 488 drivers/gpu/drm/radeon/r420.c uint32_t tmp; tmp 490 drivers/gpu/drm/radeon/r420.c tmp = RREG32(R400_GB_PIPE_SELECT); tmp 491 drivers/gpu/drm/radeon/r420.c seq_printf(m, "GB_PIPE_SELECT 0x%08x\n", tmp); tmp 492 drivers/gpu/drm/radeon/r420.c tmp = RREG32(R300_GB_TILE_CONFIG); tmp 493 drivers/gpu/drm/radeon/r420.c seq_printf(m, "GB_TILE_CONFIG 0x%08x\n", tmp); tmp 494 drivers/gpu/drm/radeon/r420.c tmp = RREG32(R300_DST_PIPE_CONFIG); tmp 495 drivers/gpu/drm/radeon/r420.c seq_printf(m, "DST_PIPE_CONFIG 0x%08x\n", tmp); tmp 39 drivers/gpu/drm/radeon/r520.c uint32_t tmp; tmp 43 drivers/gpu/drm/radeon/r520.c tmp = RREG32_MC(R520_MC_STATUS); tmp 44 drivers/gpu/drm/radeon/r520.c if (tmp & R520_MC_STATUS_IDLE) { tmp 54 drivers/gpu/drm/radeon/r520.c unsigned pipe_select_current, gb_pipe_select, tmp; tmp 83 drivers/gpu/drm/radeon/r520.c tmp = RREG32(R300_DST_PIPE_CONFIG); tmp 84 drivers/gpu/drm/radeon/r520.c pipe_select_current = (tmp >> 2) & 3; tmp 85 drivers/gpu/drm/radeon/r520.c tmp = (1 << pipe_select_current) | tmp 87 drivers/gpu/drm/radeon/r520.c WREG32_PLL(0x000D, tmp); tmp 95 drivers/gpu/drm/radeon/r520.c uint32_t tmp; tmp 99 drivers/gpu/drm/radeon/r520.c tmp = RREG32_MC(R520_MC_CNTL0); tmp 100 drivers/gpu/drm/radeon/r520.c switch ((tmp & R520_MEM_NUM_CHANNELS_MASK) >> R520_MEM_NUM_CHANNELS_SHIFT) { tmp 117 drivers/gpu/drm/radeon/r520.c if (tmp & R520_MC_CHANNEL_SIZE) tmp 304 drivers/gpu/drm/radeon/r600.c u32 tmp = 0; tmp 329 drivers/gpu/drm/radeon/r600.c tmp |= FMT_SPATIAL_DITHER_EN; tmp 331 drivers/gpu/drm/radeon/r600.c tmp |= FMT_TRUNCATE_EN; tmp 336 drivers/gpu/drm/radeon/r600.c tmp |= (FMT_SPATIAL_DITHER_EN | FMT_SPATIAL_DITHER_DEPTH); tmp 338 drivers/gpu/drm/radeon/r600.c tmp |= (FMT_TRUNCATE_EN | FMT_TRUNCATE_DEPTH); tmp 346 drivers/gpu/drm/radeon/r600.c WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 862 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 868 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD1_INT_CONTROL); tmp 870 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HPDx_INT_POLARITY; tmp 872 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_POLARITY; tmp 873 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD1_INT_CONTROL, tmp); tmp 876 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD2_INT_CONTROL); tmp 878 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HPDx_INT_POLARITY; tmp 880 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_POLARITY; tmp 881 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD2_INT_CONTROL, tmp); tmp 884 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD3_INT_CONTROL); tmp 886 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HPDx_INT_POLARITY; tmp 888 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_POLARITY; tmp 889 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD3_INT_CONTROL, tmp); tmp 892 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD4_INT_CONTROL); tmp 894 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HPDx_INT_POLARITY; tmp 896 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_POLARITY; tmp 897 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD4_INT_CONTROL, tmp); tmp 900 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD5_INT_CONTROL); tmp 902 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HPDx_INT_POLARITY; tmp 904 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_POLARITY; tmp 905 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD5_INT_CONTROL, tmp); tmp 909 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD6_INT_CONTROL); tmp 911 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HPDx_INT_POLARITY; tmp 913 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_POLARITY; tmp 914 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD6_INT_CONTROL, tmp); tmp 922 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT1_INT_CONTROL); tmp 924 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 926 drivers/gpu/drm/radeon/r600.c tmp |= DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 927 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT1_INT_CONTROL, tmp); tmp 930 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT2_INT_CONTROL); tmp 932 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 934 drivers/gpu/drm/radeon/r600.c tmp |= DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 935 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT2_INT_CONTROL, tmp); tmp 938 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT3_INT_CONTROL); tmp 940 drivers/gpu/drm/radeon/r600.c tmp &= ~DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 942 drivers/gpu/drm/radeon/r600.c tmp |= DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 943 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT3_INT_CONTROL, tmp); tmp 969 drivers/gpu/drm/radeon/r600.c u32 tmp = DC_HPDx_CONNECTION_TIMER(0x9c4) | DC_HPDx_RX_INT_TIMER(0xfa); tmp 971 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_EN; tmp 975 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD1_CONTROL, tmp); tmp 978 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD2_CONTROL, tmp); tmp 981 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD3_CONTROL, tmp); tmp 984 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD4_CONTROL, tmp); tmp 988 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD5_CONTROL, tmp); tmp 991 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD6_CONTROL, tmp); tmp 1077 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1083 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1091 drivers/gpu/drm/radeon/r600.c tmp = readl((void __iomem *)ptr); tmp 1100 drivers/gpu/drm/radeon/r600.c tmp = RREG32(VM_CONTEXT0_REQUEST_RESPONSE); tmp 1101 drivers/gpu/drm/radeon/r600.c tmp = (tmp & RESPONSE_TYPE_MASK) >> RESPONSE_TYPE_SHIFT; tmp 1102 drivers/gpu/drm/radeon/r600.c if (tmp == 2) { tmp 1106 drivers/gpu/drm/radeon/r600.c if (tmp) { tmp 1131 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1149 drivers/gpu/drm/radeon/r600.c tmp = ENABLE_L1_TLB | ENABLE_L1_FRAGMENT_PROCESSING | tmp 1153 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_SYS_CNTL, tmp); tmp 1154 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_SYS_CNTL, tmp); tmp 1155 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_HDP_CNTL, tmp | ENABLE_L1_STRICT_ORDERING); tmp 1156 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_HDP_CNTL, tmp); tmp 1157 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_RD_A_CNTL, tmp); tmp 1158 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_WR_A_CNTL, tmp); tmp 1159 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_RD_B_CNTL, tmp); tmp 1160 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_WR_B_CNTL, tmp); tmp 1161 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_GFX_CNTL, tmp); tmp 1162 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_GFX_CNTL, tmp); tmp 1163 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_PDMA_CNTL, tmp); tmp 1164 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_PDMA_CNTL, tmp); tmp 1165 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_UVD_CNTL, tmp); tmp 1166 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_UVD_CNTL, tmp); tmp 1167 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_SEM_CNTL, tmp | ENABLE_SEMAPHORE_MODE); tmp 1168 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_SEM_CNTL, tmp | ENABLE_SEMAPHORE_MODE); tmp 1189 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1201 drivers/gpu/drm/radeon/r600.c tmp = EFFECTIVE_L1_TLB_SIZE(5) | EFFECTIVE_L1_QUEUE_SIZE(5) | tmp 1203 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_RD_A_CNTL, tmp); tmp 1204 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_WR_A_CNTL, tmp); tmp 1205 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_RD_B_CNTL, tmp); tmp 1206 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_WR_B_CNTL, tmp); tmp 1207 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_GFX_CNTL, tmp); tmp 1208 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_GFX_CNTL, tmp); tmp 1209 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_PDMA_CNTL, tmp); tmp 1210 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_PDMA_CNTL, tmp); tmp 1211 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_SEM_CNTL, tmp); tmp 1212 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_SEM_CNTL, tmp); tmp 1213 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_SYS_CNTL, tmp); tmp 1214 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_SYS_CNTL, tmp); tmp 1215 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_HDP_CNTL, tmp); tmp 1216 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_HDP_CNTL, tmp); tmp 1217 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_UVD_CNTL, tmp); tmp 1218 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_UVD_CNTL, tmp); tmp 1231 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1241 drivers/gpu/drm/radeon/r600.c tmp = ENABLE_L1_TLB | ENABLE_L1_FRAGMENT_PROCESSING | tmp 1245 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_SYS_CNTL, tmp); tmp 1246 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_SYS_CNTL, tmp); tmp 1247 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_HDP_CNTL, tmp | ENABLE_L1_STRICT_ORDERING); tmp 1248 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_HDP_CNTL, tmp); tmp 1249 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_RD_A_CNTL, tmp); tmp 1250 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_WR_A_CNTL, tmp); tmp 1251 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_RD_B_CNTL, tmp); tmp 1252 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCD_WR_B_CNTL, tmp); tmp 1253 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_GFX_CNTL, tmp); tmp 1254 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_GFX_CNTL, tmp); tmp 1255 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_PDMA_CNTL, tmp); tmp 1256 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_PDMA_CNTL, tmp); tmp 1257 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_RD_SEM_CNTL, tmp | ENABLE_SEMAPHORE_MODE); tmp 1258 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_L1_TLB_MCB_WR_SEM_CNTL, tmp | ENABLE_SEMAPHORE_MODE); tmp 1266 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1270 drivers/gpu/drm/radeon/r600.c tmp = RREG32(R_000E50_SRBM_STATUS) & 0x3F00; tmp 1271 drivers/gpu/drm/radeon/r600.c if (!tmp) tmp 1306 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1345 drivers/gpu/drm/radeon/r600.c tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; tmp 1346 drivers/gpu/drm/radeon/r600.c tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); tmp 1347 drivers/gpu/drm/radeon/r600.c WREG32(MC_VM_FB_LOCATION, tmp); tmp 1436 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1443 drivers/gpu/drm/radeon/r600.c tmp = RREG32(RAMCFG); tmp 1444 drivers/gpu/drm/radeon/r600.c if (tmp & CHANSIZE_OVERRIDE) { tmp 1446 drivers/gpu/drm/radeon/r600.c } else if (tmp & CHANSIZE_MASK) { tmp 1451 drivers/gpu/drm/radeon/r600.c tmp = RREG32(CHMAP); tmp 1452 drivers/gpu/drm/radeon/r600.c switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { tmp 1557 drivers/gpu/drm/radeon/r600.c u32 tmp = RREG32(R600_BIOS_3_SCRATCH); tmp 1560 drivers/gpu/drm/radeon/r600.c tmp |= ATOM_S3_ASIC_GUI_ENGINE_HUNG; tmp 1562 drivers/gpu/drm/radeon/r600.c tmp &= ~ATOM_S3_ASIC_GUI_ENGINE_HUNG; tmp 1564 drivers/gpu/drm/radeon/r600.c WREG32(R600_BIOS_3_SCRATCH, tmp); tmp 1591 drivers/gpu/drm/radeon/r600.c u32 i, j, tmp; tmp 1603 drivers/gpu/drm/radeon/r600.c tmp = RREG32(AVIVO_D1CRTC_STATUS_HV_COUNT + crtc_offsets[i]); tmp 1604 drivers/gpu/drm/radeon/r600.c if (tmp != crtc_status[i]) tmp 1619 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1622 drivers/gpu/drm/radeon/r600.c tmp = RREG32(R_008010_GRBM_STATUS); tmp 1624 drivers/gpu/drm/radeon/r600.c if (G_008010_PA_BUSY(tmp) | G_008010_SC_BUSY(tmp) | tmp 1625 drivers/gpu/drm/radeon/r600.c G_008010_SH_BUSY(tmp) | G_008010_SX_BUSY(tmp) | tmp 1626 drivers/gpu/drm/radeon/r600.c G_008010_TA_BUSY(tmp) | G_008010_VGT_BUSY(tmp) | tmp 1627 drivers/gpu/drm/radeon/r600.c G_008010_DB03_BUSY(tmp) | G_008010_CB03_BUSY(tmp) | tmp 1628 drivers/gpu/drm/radeon/r600.c G_008010_SPI03_BUSY(tmp) | G_008010_VGT_BUSY_NO_DMA(tmp)) tmp 1631 drivers/gpu/drm/radeon/r600.c if (G_008010_PA_BUSY(tmp) | G_008010_SC_BUSY(tmp) | tmp 1632 drivers/gpu/drm/radeon/r600.c G_008010_SH_BUSY(tmp) | G_008010_SX_BUSY(tmp) | tmp 1633 drivers/gpu/drm/radeon/r600.c G_008010_TA03_BUSY(tmp) | G_008010_VGT_BUSY(tmp) | tmp 1634 drivers/gpu/drm/radeon/r600.c G_008010_DB03_BUSY(tmp) | G_008010_CB03_BUSY(tmp) | tmp 1635 drivers/gpu/drm/radeon/r600.c G_008010_SPI03_BUSY(tmp) | G_008010_VGT_BUSY_NO_DMA(tmp)) tmp 1639 drivers/gpu/drm/radeon/r600.c if (G_008010_CF_RQ_PENDING(tmp) | G_008010_PF_RQ_PENDING(tmp) | tmp 1640 drivers/gpu/drm/radeon/r600.c G_008010_CP_BUSY(tmp) | G_008010_CP_COHERENCY_BUSY(tmp)) tmp 1643 drivers/gpu/drm/radeon/r600.c if (G_008010_GRBM_EE_BUSY(tmp)) tmp 1647 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DMA_STATUS_REG); tmp 1648 drivers/gpu/drm/radeon/r600.c if (!(tmp & DMA_IDLE)) tmp 1652 drivers/gpu/drm/radeon/r600.c tmp = RREG32(R_000E50_SRBM_STATUS); tmp 1653 drivers/gpu/drm/radeon/r600.c if (G_000E50_RLC_RQ_PENDING(tmp) | G_000E50_RLC_BUSY(tmp)) tmp 1656 drivers/gpu/drm/radeon/r600.c if (G_000E50_IH_BUSY(tmp)) tmp 1659 drivers/gpu/drm/radeon/r600.c if (G_000E50_SEM_BUSY(tmp)) tmp 1662 drivers/gpu/drm/radeon/r600.c if (G_000E50_GRBM_RQ_PENDING(tmp)) tmp 1665 drivers/gpu/drm/radeon/r600.c if (G_000E50_VMC_BUSY(tmp)) tmp 1668 drivers/gpu/drm/radeon/r600.c if (G_000E50_MCB_BUSY(tmp) | G_000E50_MCDZ_BUSY(tmp) | tmp 1669 drivers/gpu/drm/radeon/r600.c G_000E50_MCDY_BUSY(tmp) | G_000E50_MCDX_BUSY(tmp) | tmp 1670 drivers/gpu/drm/radeon/r600.c G_000E50_MCDW_BUSY(tmp)) tmp 1689 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 1709 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DMA_RB_CNTL); tmp 1710 drivers/gpu/drm/radeon/r600.c tmp &= ~DMA_RB_ENABLE; tmp 1711 drivers/gpu/drm/radeon/r600.c WREG32(DMA_RB_CNTL, tmp); tmp 1785 drivers/gpu/drm/radeon/r600.c tmp = RREG32(R_008020_GRBM_SOFT_RESET); tmp 1786 drivers/gpu/drm/radeon/r600.c tmp |= grbm_soft_reset; tmp 1787 drivers/gpu/drm/radeon/r600.c dev_info(rdev->dev, "R_008020_GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1788 drivers/gpu/drm/radeon/r600.c WREG32(R_008020_GRBM_SOFT_RESET, tmp); tmp 1789 drivers/gpu/drm/radeon/r600.c tmp = RREG32(R_008020_GRBM_SOFT_RESET); tmp 1793 drivers/gpu/drm/radeon/r600.c tmp &= ~grbm_soft_reset; tmp 1794 drivers/gpu/drm/radeon/r600.c WREG32(R_008020_GRBM_SOFT_RESET, tmp); tmp 1795 drivers/gpu/drm/radeon/r600.c tmp = RREG32(R_008020_GRBM_SOFT_RESET); tmp 1799 drivers/gpu/drm/radeon/r600.c tmp = RREG32(SRBM_SOFT_RESET); tmp 1800 drivers/gpu/drm/radeon/r600.c tmp |= srbm_soft_reset; tmp 1801 drivers/gpu/drm/radeon/r600.c dev_info(rdev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 1802 drivers/gpu/drm/radeon/r600.c WREG32(SRBM_SOFT_RESET, tmp); tmp 1803 drivers/gpu/drm/radeon/r600.c tmp = RREG32(SRBM_SOFT_RESET); tmp 1807 drivers/gpu/drm/radeon/r600.c tmp &= ~srbm_soft_reset; tmp 1808 drivers/gpu/drm/radeon/r600.c WREG32(SRBM_SOFT_RESET, tmp); tmp 1809 drivers/gpu/drm/radeon/r600.c tmp = RREG32(SRBM_SOFT_RESET); tmp 1824 drivers/gpu/drm/radeon/r600.c u32 tmp, i; tmp 1840 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DMA_RB_CNTL); tmp 1841 drivers/gpu/drm/radeon/r600.c tmp &= ~DMA_RB_ENABLE; tmp 1842 drivers/gpu/drm/radeon/r600.c WREG32(DMA_RB_CNTL, tmp); tmp 1858 drivers/gpu/drm/radeon/r600.c tmp = RREG32(BUS_CNTL); tmp 1859 drivers/gpu/drm/radeon/r600.c tmp |= VGA_COHE_SPEC_TIMER_DIS; tmp 1860 drivers/gpu/drm/radeon/r600.c WREG32(BUS_CNTL, tmp); tmp 1862 drivers/gpu/drm/radeon/r600.c tmp = RREG32(BIF_SCRATCH0); tmp 1869 drivers/gpu/drm/radeon/r600.c tmp = SOFT_RESET_BIF; tmp 1870 drivers/gpu/drm/radeon/r600.c WREG32(SRBM_SOFT_RESET, tmp); tmp 1942 drivers/gpu/drm/radeon/r600.c u32 pipe_rb_ratio, pipe_rb_remain, tmp; tmp 1947 drivers/gpu/drm/radeon/r600.c tmp = disabled_rb_mask | ((0xff << max_rb_num) & 0xff); tmp 1949 drivers/gpu/drm/radeon/r600.c if ((tmp & 0xff) != 0xff) tmp 1950 drivers/gpu/drm/radeon/r600.c disabled_rb_mask = tmp; tmp 1995 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 2110 drivers/gpu/drm/radeon/r600.c tmp = (ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT; tmp 2111 drivers/gpu/drm/radeon/r600.c if (tmp > 3) { tmp 2115 drivers/gpu/drm/radeon/r600.c tiling_config |= ROW_TILING(tmp); tmp 2116 drivers/gpu/drm/radeon/r600.c tiling_config |= SAMPLE_SPLIT(tmp); tmp 2121 drivers/gpu/drm/radeon/r600.c tmp = rdev->config.r600.max_simds - tmp 2123 drivers/gpu/drm/radeon/r600.c rdev->config.r600.active_simds = tmp; tmp 2126 drivers/gpu/drm/radeon/r600.c tmp = 0; tmp 2128 drivers/gpu/drm/radeon/r600.c tmp |= (1 << i); tmp 2130 drivers/gpu/drm/radeon/r600.c if ((disabled_rb_mask & tmp) == tmp) { tmp 2134 drivers/gpu/drm/radeon/r600.c tmp = (tiling_config & PIPE_TILING__MASK) >> PIPE_TILING__SHIFT; tmp 2135 drivers/gpu/drm/radeon/r600.c tmp = r6xx_remap_render_backend(rdev, tmp, rdev->config.r600.max_backends, tmp 2137 drivers/gpu/drm/radeon/r600.c tiling_config |= tmp << 16; tmp 2138 drivers/gpu/drm/radeon/r600.c rdev->config.r600.backend_map = tmp; tmp 2146 drivers/gpu/drm/radeon/r600.c tmp = R6XX_MAX_PIPES - r600_count_pipe_bits((cc_gc_shader_pipe_config & INACTIVE_QD_PIPES_MASK) >> 8); tmp 2147 drivers/gpu/drm/radeon/r600.c WREG32(VGT_OUT_DEALLOC_CNTL, (tmp * 4) & DEALLOC_DIST_MASK); tmp 2148 drivers/gpu/drm/radeon/r600.c WREG32(VGT_VERTEX_REUSE_BLOCK_CNTL, ((tmp * 4) - 2) & VTX_REUSE_DEPTH_MASK); tmp 2160 drivers/gpu/drm/radeon/r600.c tmp = RREG32(SX_DEBUG_1); tmp 2161 drivers/gpu/drm/radeon/r600.c tmp |= SMX_EVENT_RELEASE; tmp 2163 drivers/gpu/drm/radeon/r600.c tmp |= ENABLE_NEW_SMX_ADDRESS; tmp 2164 drivers/gpu/drm/radeon/r600.c WREG32(SX_DEBUG_1, tmp); tmp 2185 drivers/gpu/drm/radeon/r600.c tmp = RREG32(SQ_MS_FIFO_SIZES); tmp 2190 drivers/gpu/drm/radeon/r600.c tmp = (CACHE_FIFO_SIZE(0xa) | tmp 2196 drivers/gpu/drm/radeon/r600.c tmp &= ~DONE_FIFO_HIWATER(0xff); tmp 2197 drivers/gpu/drm/radeon/r600.c tmp |= DONE_FIFO_HIWATER(0x4); tmp 2199 drivers/gpu/drm/radeon/r600.c WREG32(SQ_MS_FIFO_SIZES, tmp); tmp 2314 drivers/gpu/drm/radeon/r600.c tmp = rdev->config.r600.max_pipes * 16; tmp 2320 drivers/gpu/drm/radeon/r600.c tmp += 32; tmp 2323 drivers/gpu/drm/radeon/r600.c tmp += 128; tmp 2328 drivers/gpu/drm/radeon/r600.c if (tmp > 256) { tmp 2329 drivers/gpu/drm/radeon/r600.c tmp = 256; tmp 2332 drivers/gpu/drm/radeon/r600.c WREG32(VGT_GS_PER_ES, tmp); tmp 2363 drivers/gpu/drm/radeon/r600.c tmp = TC_L2_SIZE(8); tmp 2367 drivers/gpu/drm/radeon/r600.c tmp = TC_L2_SIZE(4); tmp 2370 drivers/gpu/drm/radeon/r600.c tmp = TC_L2_SIZE(0) | L2_DISABLE_LATE_HIT; tmp 2373 drivers/gpu/drm/radeon/r600.c tmp = TC_L2_SIZE(0); tmp 2376 drivers/gpu/drm/radeon/r600.c WREG32(TC_CNTL, tmp); tmp 2378 drivers/gpu/drm/radeon/r600.c tmp = RREG32(HDP_HOST_PATH_CNTL); tmp 2379 drivers/gpu/drm/radeon/r600.c WREG32(HDP_HOST_PATH_CNTL, tmp); tmp 2381 drivers/gpu/drm/radeon/r600.c tmp = RREG32(ARB_POP); tmp 2382 drivers/gpu/drm/radeon/r600.c tmp |= ENABLE_TC128; tmp 2383 drivers/gpu/drm/radeon/r600.c WREG32(ARB_POP, tmp); tmp 2718 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 2730 drivers/gpu/drm/radeon/r600.c tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 2732 drivers/gpu/drm/radeon/r600.c tmp |= BUF_SWAP_32BIT; tmp 2734 drivers/gpu/drm/radeon/r600.c WREG32(CP_RB_CNTL, tmp); tmp 2741 drivers/gpu/drm/radeon/r600.c WREG32(CP_RB_CNTL, tmp | RB_RPTR_WR_ENA); tmp 2755 drivers/gpu/drm/radeon/r600.c tmp |= RB_NO_UPDATE; tmp 2760 drivers/gpu/drm/radeon/r600.c WREG32(CP_RB_CNTL, tmp); tmp 2825 drivers/gpu/drm/radeon/r600.c uint32_t tmp = 0; tmp 2846 drivers/gpu/drm/radeon/r600.c tmp = RREG32(scratch); tmp 2847 drivers/gpu/drm/radeon/r600.c if (tmp == 0xDEADBEEF) tmp 2855 drivers/gpu/drm/radeon/r600.c ring->idx, scratch, tmp); tmp 2972 drivers/gpu/drm/radeon/r600.c u32 size_in_bytes, cur_size_in_bytes, tmp; tmp 2998 drivers/gpu/drm/radeon/r600.c tmp = upper_32_bits(src_offset) & 0xff; tmp 3000 drivers/gpu/drm/radeon/r600.c tmp |= PACKET3_CP_DMA_CP_SYNC; tmp 3003 drivers/gpu/drm/radeon/r600.c radeon_ring_write(ring, tmp); tmp 3403 drivers/gpu/drm/radeon/r600.c uint32_t tmp = 0; tmp 3439 drivers/gpu/drm/radeon/r600.c tmp = RREG32(scratch); tmp 3440 drivers/gpu/drm/radeon/r600.c if (tmp == 0xDEADBEEF) tmp 3448 drivers/gpu/drm/radeon/r600.c scratch, tmp); tmp 3623 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 3626 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DMA_CNTL) & ~TRAP_ENABLE; tmp 3627 drivers/gpu/drm/radeon/r600.c WREG32(DMA_CNTL, tmp); tmp 3635 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD1_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 3636 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD1_INT_CONTROL, tmp); tmp 3637 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD2_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 3638 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD2_INT_CONTROL, tmp); tmp 3639 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD3_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 3640 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD3_INT_CONTROL, tmp); tmp 3641 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD4_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 3642 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD4_INT_CONTROL, tmp); tmp 3644 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD5_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 3645 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD5_INT_CONTROL, tmp); tmp 3646 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD6_INT_CONTROL) & DC_HPDx_INT_POLARITY; tmp 3647 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD6_INT_CONTROL, tmp); tmp 3648 drivers/gpu/drm/radeon/r600.c tmp = RREG32(AFMT_AUDIO_PACKET_CONTROL + DCE3_HDMI_OFFSET0) & ~HDMI0_AZ_FORMAT_WTRIG_MASK; tmp 3649 drivers/gpu/drm/radeon/r600.c WREG32(AFMT_AUDIO_PACKET_CONTROL + DCE3_HDMI_OFFSET0, tmp); tmp 3650 drivers/gpu/drm/radeon/r600.c tmp = RREG32(AFMT_AUDIO_PACKET_CONTROL + DCE3_HDMI_OFFSET1) & ~HDMI0_AZ_FORMAT_WTRIG_MASK; tmp 3651 drivers/gpu/drm/radeon/r600.c WREG32(AFMT_AUDIO_PACKET_CONTROL + DCE3_HDMI_OFFSET1, tmp); tmp 3653 drivers/gpu/drm/radeon/r600.c tmp = RREG32(HDMI0_AUDIO_PACKET_CONTROL) & ~HDMI0_AZ_FORMAT_WTRIG_MASK; tmp 3654 drivers/gpu/drm/radeon/r600.c WREG32(HDMI0_AUDIO_PACKET_CONTROL, tmp); tmp 3655 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DCE3_HDMI1_AUDIO_PACKET_CONTROL) & ~HDMI0_AZ_FORMAT_WTRIG_MASK; tmp 3656 drivers/gpu/drm/radeon/r600.c WREG32(DCE3_HDMI1_AUDIO_PACKET_CONTROL, tmp); tmp 3661 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT1_INT_CONTROL) & DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 3662 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT1_INT_CONTROL, tmp); tmp 3663 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT2_INT_CONTROL) & DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 3664 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT2_INT_CONTROL, tmp); tmp 3665 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT3_INT_CONTROL) & DC_HOT_PLUG_DETECTx_INT_POLARITY; tmp 3666 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT3_INT_CONTROL, tmp); tmp 3667 drivers/gpu/drm/radeon/r600.c tmp = RREG32(HDMI0_AUDIO_PACKET_CONTROL) & ~HDMI0_AZ_FORMAT_WTRIG_MASK; tmp 3668 drivers/gpu/drm/radeon/r600.c WREG32(HDMI0_AUDIO_PACKET_CONTROL, tmp); tmp 3669 drivers/gpu/drm/radeon/r600.c tmp = RREG32(HDMI1_AUDIO_PACKET_CONTROL) & ~HDMI0_AZ_FORMAT_WTRIG_MASK; tmp 3670 drivers/gpu/drm/radeon/r600.c WREG32(HDMI1_AUDIO_PACKET_CONTROL, tmp); tmp 3917 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 3954 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD1_INT_CONTROL); tmp 3955 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3956 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD1_INT_CONTROL, tmp); tmp 3958 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT1_INT_CONTROL); tmp 3959 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3960 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT1_INT_CONTROL, tmp); tmp 3965 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD2_INT_CONTROL); tmp 3966 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3967 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD2_INT_CONTROL, tmp); tmp 3969 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT2_INT_CONTROL); tmp 3970 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3971 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT2_INT_CONTROL, tmp); tmp 3976 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD3_INT_CONTROL); tmp 3977 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3978 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD3_INT_CONTROL, tmp); tmp 3980 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HOT_PLUG_DETECT3_INT_CONTROL); tmp 3981 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3982 drivers/gpu/drm/radeon/r600.c WREG32(DC_HOT_PLUG_DETECT3_INT_CONTROL, tmp); tmp 3986 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD4_INT_CONTROL); tmp 3987 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3988 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD4_INT_CONTROL, tmp); tmp 3992 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD5_INT_CONTROL); tmp 3993 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3994 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD5_INT_CONTROL, tmp); tmp 3997 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DC_HPD6_INT_CONTROL); tmp 3998 drivers/gpu/drm/radeon/r600.c tmp |= DC_HPDx_INT_ACK; tmp 3999 drivers/gpu/drm/radeon/r600.c WREG32(DC_HPD6_INT_CONTROL, tmp); tmp 4002 drivers/gpu/drm/radeon/r600.c tmp = RREG32(AFMT_AUDIO_PACKET_CONTROL + DCE3_HDMI_OFFSET0); tmp 4003 drivers/gpu/drm/radeon/r600.c tmp |= AFMT_AZ_FORMAT_WTRIG_ACK; tmp 4004 drivers/gpu/drm/radeon/r600.c WREG32(AFMT_AUDIO_PACKET_CONTROL + DCE3_HDMI_OFFSET0, tmp); tmp 4007 drivers/gpu/drm/radeon/r600.c tmp = RREG32(AFMT_AUDIO_PACKET_CONTROL + DCE3_HDMI_OFFSET1); tmp 4008 drivers/gpu/drm/radeon/r600.c tmp |= AFMT_AZ_FORMAT_WTRIG_ACK; tmp 4009 drivers/gpu/drm/radeon/r600.c WREG32(AFMT_AUDIO_PACKET_CONTROL + DCE3_HDMI_OFFSET1, tmp); tmp 4013 drivers/gpu/drm/radeon/r600.c tmp = RREG32(HDMI0_AUDIO_PACKET_CONTROL); tmp 4014 drivers/gpu/drm/radeon/r600.c tmp |= HDMI0_AZ_FORMAT_WTRIG_ACK; tmp 4015 drivers/gpu/drm/radeon/r600.c WREG32(HDMI0_AUDIO_PACKET_CONTROL, tmp); tmp 4019 drivers/gpu/drm/radeon/r600.c tmp = RREG32(DCE3_HDMI1_AUDIO_PACKET_CONTROL); tmp 4020 drivers/gpu/drm/radeon/r600.c tmp |= HDMI0_AZ_FORMAT_WTRIG_ACK; tmp 4021 drivers/gpu/drm/radeon/r600.c WREG32(DCE3_HDMI1_AUDIO_PACKET_CONTROL, tmp); tmp 4023 drivers/gpu/drm/radeon/r600.c tmp = RREG32(HDMI1_AUDIO_PACKET_CONTROL); tmp 4024 drivers/gpu/drm/radeon/r600.c tmp |= HDMI0_AZ_FORMAT_WTRIG_ACK; tmp 4025 drivers/gpu/drm/radeon/r600.c WREG32(HDMI1_AUDIO_PACKET_CONTROL, tmp); tmp 4042 drivers/gpu/drm/radeon/r600.c u32 wptr, tmp; tmp 4058 drivers/gpu/drm/radeon/r600.c tmp = RREG32(IH_RB_CNTL); tmp 4059 drivers/gpu/drm/radeon/r600.c tmp |= IH_WPTR_OVERFLOW_CLEAR; tmp 4060 drivers/gpu/drm/radeon/r600.c WREG32(IH_RB_CNTL, tmp); tmp 4393 drivers/gpu/drm/radeon/r600.c u32 tmp; tmp 4396 drivers/gpu/drm/radeon/r600.c tmp = readl((void __iomem *)ptr); tmp 4493 drivers/gpu/drm/radeon/r600.c u32 link_width_cntl, lanes, speed_cntl, training_cntl, tmp; tmp 4569 drivers/gpu/drm/radeon/r600.c tmp = RREG32(0x541c); tmp 4570 drivers/gpu/drm/radeon/r600.c WREG32(0x541c, tmp | 0x8); tmp 353 drivers/gpu/drm/radeon/r600_cs.c u32 slice_tile_max, size, tmp; tmp 430 drivers/gpu/drm/radeon/r600_cs.c tmp = r600_fmt_get_nblocksy(format, height) * r600_fmt_get_nblocksx(format, pitch) * tmp 436 drivers/gpu/drm/radeon/r600_cs.c tmp += track->cb_color_view[i] & 0xFF; tmp 440 drivers/gpu/drm/radeon/r600_cs.c tmp += G_028080_SLICE_MAX(track->cb_color_view[i]) * tmp; tmp 443 drivers/gpu/drm/radeon/r600_cs.c if ((tmp + track->cb_color_bo_offset[i]) > radeon_bo_size(track->cb_color_bo[i])) { tmp 454 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_bo_offset[i], tmp, tmp 463 drivers/gpu/drm/radeon/r600_cs.c tmp = (height * pitch) >> 6; tmp 464 drivers/gpu/drm/radeon/r600_cs.c if (tmp < slice_tile_max) tmp 465 drivers/gpu/drm/radeon/r600_cs.c slice_tile_max = tmp; tmp 466 drivers/gpu/drm/radeon/r600_cs.c tmp = S_028060_PITCH_TILE_MAX((pitch / 8) - 1) | tmp 468 drivers/gpu/drm/radeon/r600_cs.c ib[track->cb_color_size_idx[i]] = tmp; tmp 520 drivers/gpu/drm/radeon/r600_cs.c u32 nviews, bpe, ntiles, size, slice_tile_max, tmp; tmp 557 drivers/gpu/drm/radeon/r600_cs.c tmp = radeon_bo_size(track->db_bo) - track->db_offset; tmp 558 drivers/gpu/drm/radeon/r600_cs.c tmp = (tmp / bpe) >> 6; tmp 559 drivers/gpu/drm/radeon/r600_cs.c if (!tmp) { tmp 565 drivers/gpu/drm/radeon/r600_cs.c ib[track->db_depth_size_idx] = S_028000_SLICE_TILE_MAX(tmp - 1) | (track->db_depth_size & 0x3FF); tmp 622 drivers/gpu/drm/radeon/r600_cs.c tmp = ntiles * bpe * 64 * nviews * track->nsamples; tmp 623 drivers/gpu/drm/radeon/r600_cs.c if ((tmp + track->db_offset) > radeon_bo_size(track->db_bo)) { tmp 626 drivers/gpu/drm/radeon/r600_cs.c track->db_depth_size, ntiles, nviews, bpe, tmp + track->db_offset, tmp 709 drivers/gpu/drm/radeon/r600_cs.c u32 tmp; tmp 745 drivers/gpu/drm/radeon/r600_cs.c tmp = track->cb_target_mask; tmp 749 drivers/gpu/drm/radeon/r600_cs.c tmp |= 0xff; tmp 756 drivers/gpu/drm/radeon/r600_cs.c (tmp >> (i * 4)) & 0xF) { tmp 973 drivers/gpu/drm/radeon/r600_cs.c u32 m, i, tmp, *ib; tmp 1083 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - VGT_STRMOUT_BUFFER_BASE_0) / 16; tmp 1084 drivers/gpu/drm/radeon/r600_cs.c track->vgt_strmout_bo_offset[tmp] = radeon_get_ib_value(p, idx) << 8; tmp 1086 drivers/gpu/drm/radeon/r600_cs.c track->vgt_strmout_bo[tmp] = reloc->robj; tmp 1087 drivers/gpu/drm/radeon/r600_cs.c track->vgt_strmout_bo_mc[tmp] = reloc->gpu_offset; tmp 1094 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - VGT_STRMOUT_BUFFER_SIZE_0) / 16; tmp 1096 drivers/gpu/drm/radeon/r600_cs.c track->vgt_strmout_size[tmp] = radeon_get_ib_value(p, idx) * 4; tmp 1116 drivers/gpu/drm/radeon/r600_cs.c tmp = G_028C04_MSAA_NUM_SAMPLES(radeon_get_ib_value(p, idx)); tmp 1117 drivers/gpu/drm/radeon/r600_cs.c track->log_nsamples = tmp; tmp 1118 drivers/gpu/drm/radeon/r600_cs.c track->nsamples = 1 << tmp; tmp 1122 drivers/gpu/drm/radeon/r600_cs.c tmp = G_028808_SPECIAL_OP(radeon_get_ib_value(p, idx)); tmp 1123 drivers/gpu/drm/radeon/r600_cs.c track->is_resolve = tmp == V_028808_SPECIAL_RESOLVE_BOX; tmp 1141 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - R_0280A0_CB_COLOR0_INFO) / 4; tmp 1142 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_info[tmp] = radeon_get_ib_value(p, idx); tmp 1145 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_info[tmp] |= S_0280A0_ARRAY_MODE(V_0280A0_ARRAY_2D_TILED_THIN1); tmp 1148 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_info[tmp] |= S_0280A0_ARRAY_MODE(V_0280A0_ARRAY_1D_TILED_THIN1); tmp 1151 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - R_0280A0_CB_COLOR0_INFO) / 4; tmp 1152 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_info[tmp] = radeon_get_ib_value(p, idx); tmp 1164 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - R_028080_CB_COLOR0_VIEW) / 4; tmp 1165 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_view[tmp] = radeon_get_ib_value(p, idx); tmp 1176 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - R_028060_CB_COLOR0_SIZE) / 4; tmp 1177 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_size[tmp] = radeon_get_ib_value(p, idx); tmp 1178 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_size_idx[tmp] = idx; tmp 1198 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - R_0280E0_CB_COLOR0_FRAG) / 4; tmp 1200 drivers/gpu/drm/radeon/r600_cs.c if (!track->cb_color_base_last[tmp]) { tmp 1204 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_frag_bo[tmp] = track->cb_color_bo[tmp]; tmp 1205 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_frag_offset[tmp] = track->cb_color_bo_offset[tmp]; tmp 1206 drivers/gpu/drm/radeon/r600_cs.c ib[idx] = track->cb_color_base_last[tmp]; tmp 1213 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_frag_bo[tmp] = reloc->robj; tmp 1214 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_frag_offset[tmp] = (u64)ib[idx] << 8; tmp 1217 drivers/gpu/drm/radeon/r600_cs.c if (G_0280A0_TILE_MODE(track->cb_color_info[tmp])) { tmp 1229 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - R_0280C0_CB_COLOR0_TILE) / 4; tmp 1231 drivers/gpu/drm/radeon/r600_cs.c if (!track->cb_color_base_last[tmp]) { tmp 1235 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_tile_bo[tmp] = track->cb_color_bo[tmp]; tmp 1236 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_tile_offset[tmp] = track->cb_color_bo_offset[tmp]; tmp 1237 drivers/gpu/drm/radeon/r600_cs.c ib[idx] = track->cb_color_base_last[tmp]; tmp 1244 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_tile_bo[tmp] = reloc->robj; tmp 1245 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_tile_offset[tmp] = (u64)ib[idx] << 8; tmp 1248 drivers/gpu/drm/radeon/r600_cs.c if (G_0280A0_TILE_MODE(track->cb_color_info[tmp])) { tmp 1260 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - R_028100_CB_COLOR0_MASK) / 4; tmp 1261 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_mask[tmp] = radeon_get_ib_value(p, idx); tmp 1262 drivers/gpu/drm/radeon/r600_cs.c if (G_0280A0_TILE_MODE(track->cb_color_info[tmp])) { tmp 1280 drivers/gpu/drm/radeon/r600_cs.c tmp = (reg - CB_COLOR0_BASE) / 4; tmp 1281 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_bo_offset[tmp] = radeon_get_ib_value(p, idx) << 8; tmp 1283 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_base_last[tmp] = ib[idx]; tmp 1284 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_bo[tmp] = reloc->robj; tmp 1285 drivers/gpu/drm/radeon/r600_cs.c track->cb_color_bo_mc[tmp] = reloc->gpu_offset; tmp 1647 drivers/gpu/drm/radeon/r600_cs.c int tmp; tmp 1655 drivers/gpu/drm/radeon/r600_cs.c tmp = radeon_get_ib_value(p, idx + 1); tmp 1656 drivers/gpu/drm/radeon/r600_cs.c pred_op = (tmp >> 16) & 0x7; tmp 1675 drivers/gpu/drm/radeon/r600_cs.c ((u64)(tmp & 0xff) << 32); tmp 1678 drivers/gpu/drm/radeon/r600_cs.c ib[idx + 1] = (tmp & 0xffffff00) | (upper_32_bits(offset) & 0xff); tmp 1780 drivers/gpu/drm/radeon/r600_cs.c u64 offset, tmp; tmp 1803 drivers/gpu/drm/radeon/r600_cs.c tmp = radeon_get_ib_value(p, idx) + tmp 1806 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + tmp; tmp 1808 drivers/gpu/drm/radeon/r600_cs.c if ((tmp + size) > radeon_bo_size(reloc->robj)) { tmp 1810 drivers/gpu/drm/radeon/r600_cs.c tmp + size, radeon_bo_size(reloc->robj)); tmp 1833 drivers/gpu/drm/radeon/r600_cs.c tmp = radeon_get_ib_value(p, idx+2) + tmp 1836 drivers/gpu/drm/radeon/r600_cs.c offset = reloc->gpu_offset + tmp; tmp 1838 drivers/gpu/drm/radeon/r600_cs.c if ((tmp + size) > radeon_bo_size(reloc->robj)) { tmp 1840 drivers/gpu/drm/radeon/r600_cs.c tmp + size, radeon_bo_size(reloc->robj)); tmp 236 drivers/gpu/drm/radeon/r600_dma.c u32 tmp; tmp 246 drivers/gpu/drm/radeon/r600_dma.c tmp = 0xCAFEDEAD; tmp 247 drivers/gpu/drm/radeon/r600_dma.c rdev->wb.wb[index/4] = cpu_to_le32(tmp); tmp 261 drivers/gpu/drm/radeon/r600_dma.c tmp = le32_to_cpu(rdev->wb.wb[index/4]); tmp 262 drivers/gpu/drm/radeon/r600_dma.c if (tmp == 0xDEADBEEF) tmp 271 drivers/gpu/drm/radeon/r600_dma.c ring->idx, tmp); tmp 343 drivers/gpu/drm/radeon/r600_dma.c u32 tmp = 0; tmp 382 drivers/gpu/drm/radeon/r600_dma.c tmp = le32_to_cpu(rdev->wb.wb[index/4]); tmp 383 drivers/gpu/drm/radeon/r600_dma.c if (tmp == 0xDEADBEEF) tmp 390 drivers/gpu/drm/radeon/r600_dma.c DRM_ERROR("radeon: ib test failed (0x%08X)\n", tmp); tmp 207 drivers/gpu/drm/radeon/r600_dpm.c u32 tmp; tmp 210 drivers/gpu/drm/radeon/r600_dpm.c tmp = i_c >> p_b; tmp 212 drivers/gpu/drm/radeon/r600_dpm.c while (tmp) { tmp 214 drivers/gpu/drm/radeon/r600_dpm.c tmp >>= 1; tmp 532 drivers/gpu/drm/radeon/r600_dpm.c u32 tmp, mask; tmp 538 drivers/gpu/drm/radeon/r600_dpm.c tmp = RREG32(VID_UPPER_GPIO_CNTL); tmp 539 drivers/gpu/drm/radeon/r600_dpm.c tmp = (tmp & ~mask) | ((pins >> (32 - (3 * ix))) & mask); tmp 540 drivers/gpu/drm/radeon/r600_dpm.c WREG32(VID_UPPER_GPIO_CNTL, tmp); tmp 606 drivers/gpu/drm/radeon/r600_dpm.c u32 tmp = 0; tmp 609 drivers/gpu/drm/radeon/r600_dpm.c tmp = CTXSW_FREQ_DISPLAY_WATERMARK; tmp 610 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(CTXSW_PROFILE_INDEX + (ix * 4), tmp, ~CTXSW_FREQ_DISPLAY_WATERMARK); tmp 617 drivers/gpu/drm/radeon/r600_dpm.c u32 tmp = 0; tmp 620 drivers/gpu/drm/radeon/r600_dpm.c tmp = CTXSW_FREQ_GEN2PCIE_VOLT; tmp 621 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(CTXSW_PROFILE_INDEX + (ix * 4), tmp, ~CTXSW_FREQ_GEN2PCIE_VOLT); tmp 626 drivers/gpu/drm/radeon/r600_dpm.c u32 tmp; tmp 628 drivers/gpu/drm/radeon/r600_dpm.c tmp = RREG32(TARGET_AND_CURRENT_PROFILE_INDEX) & CURRENT_PROFILE_INDEX_MASK; tmp 629 drivers/gpu/drm/radeon/r600_dpm.c tmp >>= CURRENT_PROFILE_INDEX_SHIFT; tmp 630 drivers/gpu/drm/radeon/r600_dpm.c return tmp; tmp 635 drivers/gpu/drm/radeon/r600_dpm.c u32 tmp; tmp 637 drivers/gpu/drm/radeon/r600_dpm.c tmp = RREG32(TARGET_AND_CURRENT_PROFILE_INDEX) & TARGET_PROFILE_INDEX_MASK; tmp 638 drivers/gpu/drm/radeon/r600_dpm.c tmp >>= TARGET_PROFILE_INDEX_SHIFT; tmp 639 drivers/gpu/drm/radeon/r600_dpm.c return tmp; tmp 145 drivers/gpu/drm/radeon/r600_hdmi.c u32 tmp = RREG32(AZ_HOT_PLUG_CONTROL); tmp 151 drivers/gpu/drm/radeon/r600_hdmi.c tmp |= AUDIO_ENABLED; tmp 153 drivers/gpu/drm/radeon/r600_hdmi.c tmp |= PIN0_AUDIO_ENABLED; tmp 155 drivers/gpu/drm/radeon/r600_hdmi.c tmp |= PIN1_AUDIO_ENABLED; tmp 157 drivers/gpu/drm/radeon/r600_hdmi.c tmp |= PIN2_AUDIO_ENABLED; tmp 159 drivers/gpu/drm/radeon/r600_hdmi.c tmp |= PIN3_AUDIO_ENABLED; tmp 161 drivers/gpu/drm/radeon/r600_hdmi.c tmp &= ~(AUDIO_ENABLED | tmp 168 drivers/gpu/drm/radeon/r600_hdmi.c WREG32(AZ_HOT_PLUG_CONTROL, tmp); tmp 738 drivers/gpu/drm/radeon/radeon_acpi.c struct drm_encoder *tmp; tmp 742 drivers/gpu/drm/radeon/radeon_acpi.c list_for_each_entry(tmp, &rdev->ddev->mode_config.encoder_list, tmp 744 drivers/gpu/drm/radeon/radeon_acpi.c struct radeon_encoder *enc = to_radeon_encoder(tmp); tmp 3063 drivers/gpu/drm/radeon/radeon_atombios.c u32 tmp; tmp 3067 drivers/gpu/drm/radeon/radeon_atombios.c tmp = eng_clock & SET_CLOCK_FREQ_MASK; tmp 3068 drivers/gpu/drm/radeon/radeon_atombios.c tmp |= (COMPUTE_ENGINE_PLL_PARAM << 24); tmp 3070 drivers/gpu/drm/radeon/radeon_atombios.c args.ulTargetEngineClock = cpu_to_le32(tmp); tmp 3093 drivers/gpu/drm/radeon/radeon_atombios.c u32 tmp = mem_clock | (COMPUTE_MEMORY_PLL_PARAM << 24); tmp 3095 drivers/gpu/drm/radeon/radeon_atombios.c args.ulTargetMemoryClock = cpu_to_le32(tmp); /* 10 khz */ tmp 664 drivers/gpu/drm/radeon/radeon_bios.c uint16_t tmp; tmp 687 drivers/gpu/drm/radeon/radeon_bios.c tmp = RBIOS16(0x18); tmp 688 drivers/gpu/drm/radeon/radeon_bios.c if (RBIOS8(tmp + 0x14) != 0x0) { tmp 697 drivers/gpu/drm/radeon/radeon_bios.c tmp = rdev->bios_header_start + 4; tmp 698 drivers/gpu/drm/radeon/radeon_bios.c if (!memcmp(rdev->bios + tmp, "ATOM", 4) || tmp 699 drivers/gpu/drm/radeon/radeon_bios.c !memcmp(rdev->bios + tmp, "MOTA", 4)) { tmp 199 drivers/gpu/drm/radeon/radeon_clocks.c u32 tmp = RREG32_PLL(RADEON_PPLL_REF_DIV); tmp 202 drivers/gpu/drm/radeon/radeon_clocks.c (tmp & R300_PPLL_REF_DIV_ACC_MASK) >> R300_PPLL_REF_DIV_ACC_SHIFT; tmp 204 drivers/gpu/drm/radeon/radeon_clocks.c p1pll->reference_div = tmp & RADEON_PPLL_REF_DIV_MASK; tmp 392 drivers/gpu/drm/radeon/radeon_clocks.c uint32_t tmp; tmp 399 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_CLK_PIN_CNTL); tmp 400 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_DONT_USE_XTALIN; tmp 401 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_CLK_PIN_CNTL, tmp); tmp 403 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 404 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SCLK_SRC_SEL_MASK; tmp 405 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 409 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SPLL_CNTL); tmp 410 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SPLL_SLEEP; tmp 411 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SPLL_CNTL, tmp); tmp 415 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SPLL_CNTL); tmp 416 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SPLL_RESET; tmp 417 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SPLL_CNTL, tmp); tmp 421 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_M_SPLL_REF_FB_DIV); tmp 422 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_SPLL_FB_DIV_MASK << RADEON_SPLL_FB_DIV_SHIFT); tmp 423 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (fb_div & RADEON_SPLL_FB_DIV_MASK) << RADEON_SPLL_FB_DIV_SHIFT; tmp 424 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_M_SPLL_REF_FB_DIV, tmp); tmp 427 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SPLL_CNTL); tmp 428 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SPLL_PVG_MASK; tmp 430 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (0x7 << RADEON_SPLL_PVG_SHIFT); tmp 432 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (0x4 << RADEON_SPLL_PVG_SHIFT); tmp 433 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SPLL_CNTL, tmp); tmp 435 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SPLL_CNTL); tmp 436 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SPLL_SLEEP; tmp 437 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SPLL_CNTL, tmp); tmp 441 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SPLL_CNTL); tmp 442 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SPLL_RESET; tmp 443 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SPLL_CNTL, tmp); tmp 447 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 448 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SCLK_SRC_SEL_MASK; tmp 452 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= 1; tmp 455 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= 2; tmp 458 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= 3; tmp 461 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= 4; tmp 464 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 468 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_CLK_PIN_CNTL); tmp 469 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_DONT_USE_XTALIN; tmp 470 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_CLK_PIN_CNTL, tmp); tmp 477 drivers/gpu/drm/radeon/radeon_clocks.c uint32_t tmp; tmp 481 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 485 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= tmp 489 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= tmp 495 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 499 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 500 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= tmp 514 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_DYN_STOP_LAT_MASK; tmp 515 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= tmp 518 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 520 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_MORE_CNTL); tmp 521 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SCLK_MORE_FORCEON; tmp 522 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_MORE_MAX_DYN_STOP_LAT; tmp 523 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_MORE_CNTL, tmp); tmp 525 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_VCLK_ECP_CNTL); tmp 526 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_PIXCLK_ALWAYS_ONb | tmp 528 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_VCLK_ECP_CNTL, tmp); tmp 530 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_PIXCLKS_CNTL); tmp 531 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_PIX2CLK_ALWAYS_ONb | tmp 544 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_PIXCLKS_CNTL, tmp); tmp 546 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(R300_SCLK_CNTL2); tmp 547 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(R300_SCLK_FORCE_TCL | tmp 550 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (R300_SCLK_TCL_MAX_DYN_STOP_LAT | tmp 553 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(R300_SCLK_CNTL2, tmp); tmp 555 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 556 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= tmp 570 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_DYN_STOP_LAT_MASK; tmp 571 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 573 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_MORE_CNTL); tmp 574 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SCLK_MORE_FORCEON; tmp 575 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_MORE_MAX_DYN_STOP_LAT; tmp 576 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_MORE_CNTL, tmp); tmp 578 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_VCLK_ECP_CNTL); tmp 579 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_PIXCLK_ALWAYS_ONb | tmp 581 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_VCLK_ECP_CNTL, tmp); tmp 583 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_PIXCLKS_CNTL); tmp 584 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_PIX2CLK_ALWAYS_ONb | tmp 597 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_PIXCLKS_CNTL, tmp); tmp 599 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_MCLK_MISC); tmp 600 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_MC_MCLK_DYN_ENABLE | tmp 602 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_MCLK_MISC, tmp); tmp 604 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_MCLK_CNTL); tmp 605 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_FORCEON_MCLKA | tmp 608 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_FORCEON_YCLKA | tmp 616 drivers/gpu/drm/radeon/radeon_clocks.c if ((tmp & R300_DISABLE_MC_MCLKA) && tmp 617 drivers/gpu/drm/radeon/radeon_clocks.c (tmp & R300_DISABLE_MC_MCLKB)) { tmp 619 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_MCLK_CNTL); tmp 623 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= tmp 626 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= tmp 629 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(R300_DISABLE_MC_MCLKA | tmp 634 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_MCLK_CNTL, tmp); tmp 636 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 637 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(R300_SCLK_FORCE_VAP); tmp 638 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_FORCE_CP; tmp 639 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 642 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(R300_SCLK_CNTL2); tmp 643 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(R300_SCLK_FORCE_TCL | tmp 646 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(R300_SCLK_CNTL2, tmp); tmp 649 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_CLK_PWRMGT_CNTL); tmp 651 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_ACTIVE_HILO_LAT_MASK | tmp 655 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_ENGIN_DYNCLK_MODE | tmp 657 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_CLK_PWRMGT_CNTL, tmp); tmp 660 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_CLK_PIN_CNTL); tmp 661 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_DYN_START_CNTL; tmp 662 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_CLK_PIN_CNTL, tmp); tmp 668 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 670 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SCLK_FORCEON_MASK; tmp 682 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_FORCE_CP; tmp 683 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_FORCE_VIP; tmp 686 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 691 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_MORE_CNTL); tmp 692 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~RADEON_SCLK_MORE_FORCEON; tmp 700 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_MORE_FORCEON; tmp 702 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_MORE_CNTL, tmp); tmp 712 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_PLL_PWRMGT_CNTL); tmp 713 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_TCL_BYPASS_DISABLE; tmp 714 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_PLL_PWRMGT_CNTL, tmp); tmp 719 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_PIXCLKS_CNTL); tmp 720 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_PIX2CLK_ALWAYS_ONb | tmp 728 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_PIXCLKS_CNTL, tmp); tmp 731 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_VCLK_ECP_CNTL); tmp 732 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_PIXCLK_ALWAYS_ONb | tmp 735 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_VCLK_ECP_CNTL, tmp); tmp 741 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 742 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_SCLK_FORCE_CP | RADEON_SCLK_FORCE_HDP | tmp 749 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 752 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 753 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_SCLK_FORCE_DISP2 | RADEON_SCLK_FORCE_CP | tmp 761 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 763 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_MORE_CNTL); tmp 764 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_MORE_FORCEON; tmp 765 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_MORE_CNTL, tmp); tmp 767 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_VCLK_ECP_CNTL); tmp 768 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_PIXCLK_ALWAYS_ONb | tmp 771 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_VCLK_ECP_CNTL, tmp); tmp 773 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_PIXCLKS_CNTL); tmp 774 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_PIX2CLK_ALWAYS_ONb | tmp 788 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_PIXCLKS_CNTL, tmp); tmp 791 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(R300_SCLK_CNTL2); tmp 792 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (R300_SCLK_FORCE_TCL | tmp 794 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(R300_SCLK_CNTL2, tmp); tmp 796 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 797 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_SCLK_FORCE_DISP2 | RADEON_SCLK_FORCE_CP | tmp 805 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 807 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_MORE_CNTL); tmp 808 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_MORE_FORCEON; tmp 809 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_MORE_CNTL, tmp); tmp 811 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_MCLK_CNTL); tmp 812 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_FORCEON_MCLKA | tmp 816 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_MCLK_CNTL, tmp); tmp 818 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_VCLK_ECP_CNTL); tmp 819 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_PIXCLK_ALWAYS_ONb | tmp 822 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_VCLK_ECP_CNTL, tmp); tmp 824 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_PIXCLKS_CNTL); tmp 825 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_PIX2CLK_ALWAYS_ONb | tmp 839 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_PIXCLKS_CNTL, tmp); tmp 841 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_CNTL); tmp 842 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_SCLK_FORCE_CP | RADEON_SCLK_FORCE_E2); tmp 843 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_FORCE_SE; tmp 846 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_SCLK_FORCE_RB | tmp 859 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (RADEON_SCLK_FORCE_HDP | tmp 866 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_CNTL, tmp); tmp 872 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(R300_SCLK_CNTL2); tmp 873 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= (R300_SCLK_FORCE_TCL | tmp 876 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(R300_SCLK_CNTL2, tmp); tmp 881 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_MCLK_CNTL); tmp 882 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_FORCEON_MCLKA | tmp 884 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_MCLK_CNTL, tmp); tmp 891 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_SCLK_MORE_CNTL); tmp 892 drivers/gpu/drm/radeon/radeon_clocks.c tmp |= RADEON_SCLK_MORE_FORCEON; tmp 893 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_SCLK_MORE_CNTL, tmp); tmp 897 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_PIXCLKS_CNTL); tmp 898 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_PIX2CLK_ALWAYS_ONb | tmp 906 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_PIXCLKS_CNTL, tmp); tmp 909 drivers/gpu/drm/radeon/radeon_clocks.c tmp = RREG32_PLL(RADEON_VCLK_ECP_CNTL); tmp 910 drivers/gpu/drm/radeon/radeon_clocks.c tmp &= ~(RADEON_PIXCLK_ALWAYS_ONb | tmp 912 drivers/gpu/drm/radeon/radeon_clocks.c WREG32_PLL(RADEON_VCLK_ECP_CNTL, tmp); tmp 1180 drivers/gpu/drm/radeon/radeon_combios.c int tmp, i; tmp 1254 drivers/gpu/drm/radeon/radeon_combios.c tmp = RBIOS16(lcd_info + 64 + i * 2); tmp 1255 drivers/gpu/drm/radeon/radeon_combios.c if (tmp == 0) tmp 1258 drivers/gpu/drm/radeon/radeon_combios.c if ((RBIOS16(tmp) == lvds->native_mode.hdisplay) && tmp 1259 drivers/gpu/drm/radeon/radeon_combios.c (RBIOS16(tmp + 2) == lvds->native_mode.vdisplay)) { tmp 1260 drivers/gpu/drm/radeon/radeon_combios.c u32 hss = (RBIOS16(tmp + 21) - RBIOS16(tmp + 19) - 1) * 8; tmp 1266 drivers/gpu/drm/radeon/radeon_combios.c (RBIOS16(tmp + 17) - RBIOS16(tmp + 19)) * 8; tmp 1270 drivers/gpu/drm/radeon/radeon_combios.c (RBIOS8(tmp + 23) * 8); tmp 1273 drivers/gpu/drm/radeon/radeon_combios.c (RBIOS16(tmp + 24) - RBIOS16(tmp + 26)); tmp 1275 drivers/gpu/drm/radeon/radeon_combios.c ((RBIOS16(tmp + 28) & 0x7ff) - RBIOS16(tmp + 26)); tmp 1277 drivers/gpu/drm/radeon/radeon_combios.c ((RBIOS16(tmp + 28) & 0xf800) >> 11); tmp 1279 drivers/gpu/drm/radeon/radeon_combios.c lvds->native_mode.clock = RBIOS16(tmp + 9) * 10; tmp 2310 drivers/gpu/drm/radeon/radeon_combios.c uint16_t tmp, connector_object_id; tmp 2325 drivers/gpu/drm/radeon/radeon_combios.c tmp = RBIOS16(entry); tmp 2327 drivers/gpu/drm/radeon/radeon_combios.c connector = (tmp >> 12) & 0xf; tmp 2329 drivers/gpu/drm/radeon/radeon_combios.c ddc_type = (tmp >> 8) & 0xf; tmp 2339 drivers/gpu/drm/radeon/radeon_combios.c if ((tmp >> 4) & 0x1) tmp 2355 drivers/gpu/drm/radeon/radeon_combios.c if ((tmp >> 4) & 0x1) tmp 2371 drivers/gpu/drm/radeon/radeon_combios.c if (tmp & 0x1) { tmp 2399 drivers/gpu/drm/radeon/radeon_combios.c if (tmp & 0x1) { tmp 2422 drivers/gpu/drm/radeon/radeon_combios.c tmp &= ~(1 << 4); tmp 2424 drivers/gpu/drm/radeon/radeon_combios.c if ((tmp >> 4) & 0x1) { tmp 2453 drivers/gpu/drm/radeon/radeon_combios.c if ((tmp >> 4) & 0x1) { tmp 2641 drivers/gpu/drm/radeon/radeon_combios.c u8 rev, blocks, tmp; tmp 2761 drivers/gpu/drm/radeon/radeon_combios.c tmp = RBIOS8(offset + 0x5 + 0xd); tmp 2762 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); tmp 2769 drivers/gpu/drm/radeon/radeon_combios.c tmp = RBIOS8(voltage_table_offset + 0x2); tmp 2770 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); tmp 3024 drivers/gpu/drm/radeon/radeon_combios.c uint32_t tmp; tmp 3043 drivers/gpu/drm/radeon/radeon_combios.c tmp = RREG32(addr); tmp 3044 drivers/gpu/drm/radeon/radeon_combios.c tmp &= and_mask; tmp 3045 drivers/gpu/drm/radeon/radeon_combios.c tmp |= or_mask; tmp 3046 drivers/gpu/drm/radeon/radeon_combios.c WREG32(addr, tmp); tmp 3053 drivers/gpu/drm/radeon/radeon_combios.c tmp = RREG32(addr); tmp 3054 drivers/gpu/drm/radeon/radeon_combios.c tmp &= and_mask; tmp 3055 drivers/gpu/drm/radeon/radeon_combios.c tmp |= or_mask; tmp 3056 drivers/gpu/drm/radeon/radeon_combios.c WREG32(addr, tmp); tmp 3102 drivers/gpu/drm/radeon/radeon_combios.c uint32_t val, shift, tmp; tmp 3120 drivers/gpu/drm/radeon/radeon_combios.c tmp = RREG32_PLL(addr); tmp 3121 drivers/gpu/drm/radeon/radeon_combios.c tmp &= and_mask; tmp 3122 drivers/gpu/drm/radeon/radeon_combios.c tmp |= or_mask; tmp 3123 drivers/gpu/drm/radeon/radeon_combios.c WREG32_PLL(addr, tmp); tmp 3127 drivers/gpu/drm/radeon/radeon_combios.c tmp = 1000; tmp 3136 drivers/gpu/drm/radeon/radeon_combios.c while (tmp--) { tmp 3145 drivers/gpu/drm/radeon/radeon_combios.c while (tmp--) { tmp 3153 drivers/gpu/drm/radeon/radeon_combios.c tmp = tmp 3155 drivers/gpu/drm/radeon/radeon_combios.c if (tmp & RADEON_CG_NO1_DEBUG_0) { tmp 3168 drivers/gpu/drm/radeon/radeon_combios.c tmp & tmp 3188 drivers/gpu/drm/radeon/radeon_combios.c uint32_t tmp; tmp 3204 drivers/gpu/drm/radeon/radeon_combios.c tmp = 20000; tmp 3205 drivers/gpu/drm/radeon/radeon_combios.c while (tmp--) { tmp 3215 drivers/gpu/drm/radeon/radeon_combios.c tmp = RREG32(RADEON_MEM_SDRAM_MODE_REG); tmp 3216 drivers/gpu/drm/radeon/radeon_combios.c tmp &= RADEON_SDRAM_MODE_MASK; tmp 3217 drivers/gpu/drm/radeon/radeon_combios.c tmp |= or_mask; tmp 3218 drivers/gpu/drm/radeon/radeon_combios.c WREG32(RADEON_MEM_SDRAM_MODE_REG, tmp); tmp 3221 drivers/gpu/drm/radeon/radeon_combios.c tmp = RREG32(RADEON_MEM_SDRAM_MODE_REG); tmp 3222 drivers/gpu/drm/radeon/radeon_combios.c tmp &= RADEON_B3MEM_RESET_MASK; tmp 3223 drivers/gpu/drm/radeon/radeon_combios.c tmp |= or_mask; tmp 3224 drivers/gpu/drm/radeon/radeon_combios.c WREG32(RADEON_MEM_SDRAM_MODE_REG, tmp); tmp 205 drivers/gpu/drm/radeon/radeon_device.c u32 tmp, reg, and_mask, or_mask; tmp 217 drivers/gpu/drm/radeon/radeon_device.c tmp = or_mask; tmp 219 drivers/gpu/drm/radeon/radeon_device.c tmp = RREG32(reg); tmp 220 drivers/gpu/drm/radeon/radeon_device.c tmp &= ~and_mask; tmp 221 drivers/gpu/drm/radeon/radeon_device.c tmp |= or_mask; tmp 223 drivers/gpu/drm/radeon/radeon_device.c WREG32(reg, tmp); tmp 888 drivers/gpu/drm/radeon/radeon_display.c unsigned tmp; tmp 891 drivers/gpu/drm/radeon/radeon_display.c tmp = gcd(*nom, *den); tmp 892 drivers/gpu/drm/radeon/radeon_display.c *nom /= tmp; tmp 893 drivers/gpu/drm/radeon/radeon_display.c *den /= tmp; tmp 897 drivers/gpu/drm/radeon/radeon_display.c tmp = DIV_ROUND_UP(nom_min, *nom); tmp 898 drivers/gpu/drm/radeon/radeon_display.c *nom *= tmp; tmp 899 drivers/gpu/drm/radeon/radeon_display.c *den *= tmp; tmp 904 drivers/gpu/drm/radeon/radeon_display.c tmp = DIV_ROUND_UP(den_min, *den); tmp 905 drivers/gpu/drm/radeon/radeon_display.c *nom *= tmp; tmp 906 drivers/gpu/drm/radeon/radeon_display.c *den *= tmp; tmp 1071 drivers/gpu/drm/radeon/radeon_display.c unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div); tmp 1072 drivers/gpu/drm/radeon/radeon_display.c fb_div *= tmp; tmp 1073 drivers/gpu/drm/radeon/radeon_display.c ref_div *= tmp; tmp 1203 drivers/gpu/drm/radeon/radeon_display.c uint64_t tmp; tmp 1207 drivers/gpu/drm/radeon/radeon_display.c tmp = (uint64_t)pll->reference_freq * feedback_div; tmp 1208 drivers/gpu/drm/radeon/radeon_display.c vco = radeon_div(tmp, ref_div); tmp 1220 drivers/gpu/drm/radeon/radeon_display.c tmp = (uint64_t)pll->reference_freq * 10000 * feedback_div; tmp 1221 drivers/gpu/drm/radeon/radeon_display.c tmp += (uint64_t)pll->reference_freq * 1000 * frac_feedback_div; tmp 1222 drivers/gpu/drm/radeon/radeon_display.c current_freq = radeon_div(tmp, ref_div * post_div); tmp 62 drivers/gpu/drm/radeon/radeon_dp_auxch.c uint32_t tmp, ack = 0; tmp 99 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp = RREG32(chan->rec.mask_clk_reg); tmp 100 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp |= (1 << 16); tmp 101 drivers/gpu/drm/radeon/radeon_dp_auxch.c WREG32(chan->rec.mask_clk_reg, tmp); tmp 104 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp = RREG32(AUX_CONTROL + aux_offset[instance]); tmp 106 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp &= AUX_HPD_SEL(0x7); tmp 107 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp |= AUX_HPD_SEL(chan->rec.hpd); tmp 108 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp |= AUX_EN | AUX_LS_READ_EN; tmp 110 drivers/gpu/drm/radeon/radeon_dp_auxch.c WREG32(AUX_CONTROL + aux_offset[instance], tmp); tmp 153 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp = RREG32(AUX_SW_STATUS + aux_offset[instance]); tmp 154 drivers/gpu/drm/radeon/radeon_dp_auxch.c if (tmp & AUX_SW_DONE) { tmp 161 drivers/gpu/drm/radeon/radeon_dp_auxch.c DRM_ERROR("auxch hw never signalled completion, error %08x\n", tmp); tmp 166 drivers/gpu/drm/radeon/radeon_dp_auxch.c if (tmp & AUX_SW_RX_TIMEOUT) { tmp 170 drivers/gpu/drm/radeon/radeon_dp_auxch.c if (tmp & AUX_RX_ERROR_FLAGS) { tmp 172 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp); tmp 177 drivers/gpu/drm/radeon/radeon_dp_auxch.c bytes = AUX_SW_REPLY_GET_BYTE_COUNT(tmp); tmp 182 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp = RREG32(AUX_SW_DATA + aux_offset[instance]); tmp 183 drivers/gpu/drm/radeon/radeon_dp_auxch.c ack = (tmp >> 8) & 0xff; tmp 186 drivers/gpu/drm/radeon/radeon_dp_auxch.c tmp = RREG32(AUX_SW_DATA + aux_offset[instance]); tmp 188 drivers/gpu/drm/radeon/radeon_dp_auxch.c buf[i] = (tmp >> 8) & 0xff; tmp 223 drivers/gpu/drm/radeon/radeon_fb.c unsigned long tmp; tmp 268 drivers/gpu/drm/radeon/radeon_fb.c tmp = radeon_bo_gpu_offset(rbo) - rdev->mc.vram_start; tmp 269 drivers/gpu/drm/radeon/radeon_fb.c info->fix.smem_start = rdev->mc.aper_base + tmp; tmp 721 drivers/gpu/drm/radeon/radeon_fence.c struct radeon_fence *tmp = *fence; tmp 724 drivers/gpu/drm/radeon/radeon_fence.c if (tmp) { tmp 725 drivers/gpu/drm/radeon/radeon_fence.c dma_fence_put(&tmp->base); tmp 339 drivers/gpu/drm/radeon/radeon_i2c.c u32 tmp, reg; tmp 354 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(RADEON_BIOS_6_SCRATCH); tmp 355 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(RADEON_BIOS_6_SCRATCH, tmp | ATOM_S6_HW_I2C_BUSY_STATE); tmp 482 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(i2c_cntl_0); tmp 483 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & RADEON_I2C_GO) tmp 485 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(i2c_cntl_0); tmp 486 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & RADEON_I2C_DONE) tmp 489 drivers/gpu/drm/radeon/radeon_i2c.c DRM_DEBUG("i2c write error 0x%08x\n", tmp); tmp 490 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(i2c_cntl_0, tmp | RADEON_I2C_ABORT); tmp 514 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(i2c_cntl_0); tmp 515 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & RADEON_I2C_GO) tmp 517 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(i2c_cntl_0); tmp 518 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & RADEON_I2C_DONE) tmp 521 drivers/gpu/drm/radeon/radeon_i2c.c DRM_DEBUG("i2c read error 0x%08x\n", tmp); tmp 522 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(i2c_cntl_0, tmp | RADEON_I2C_ABORT); tmp 542 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(i2c_cntl_0); tmp 543 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & RADEON_I2C_GO) tmp 545 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(i2c_cntl_0); tmp 546 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & RADEON_I2C_DONE) tmp 549 drivers/gpu/drm/radeon/radeon_i2c.c DRM_DEBUG("i2c write error 0x%08x\n", tmp); tmp 550 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(i2c_cntl_0, tmp | RADEON_I2C_ABORT); tmp 568 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(RADEON_BIOS_6_SCRATCH); tmp 569 drivers/gpu/drm/radeon/radeon_i2c.c tmp &= ~ATOM_S6_HW_I2C_BUSY_STATE; tmp 570 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(RADEON_BIOS_6_SCRATCH, tmp); tmp 591 drivers/gpu/drm/radeon/radeon_i2c.c u32 tmp, reg; tmp 601 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->mask_clk_reg); tmp 602 drivers/gpu/drm/radeon/radeon_i2c.c tmp &= ~rec->mask_clk_mask; tmp 603 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->mask_clk_reg, tmp); tmp 604 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->mask_clk_reg); tmp 606 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->mask_data_reg); tmp 607 drivers/gpu/drm/radeon/radeon_i2c.c tmp &= ~rec->mask_data_mask; tmp 608 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->mask_data_reg, tmp); tmp 609 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->mask_data_reg); tmp 612 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->a_clk_reg); tmp 613 drivers/gpu/drm/radeon/radeon_i2c.c tmp &= ~rec->a_clk_mask; tmp 614 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->a_clk_reg, tmp); tmp 615 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->a_clk_reg); tmp 617 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->a_data_reg); tmp 618 drivers/gpu/drm/radeon/radeon_i2c.c tmp &= ~rec->a_data_mask; tmp 619 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->a_data_reg, tmp); tmp 620 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->a_data_reg); tmp 623 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->en_clk_reg); tmp 624 drivers/gpu/drm/radeon/radeon_i2c.c tmp &= ~rec->en_clk_mask; tmp 625 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->en_clk_reg, tmp); tmp 626 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->en_clk_reg); tmp 628 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->en_data_reg); tmp 629 drivers/gpu/drm/radeon/radeon_i2c.c tmp &= ~rec->en_data_mask; tmp 630 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(rec->en_data_reg, tmp); tmp 631 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(rec->en_data_reg); tmp 634 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(RADEON_BIOS_6_SCRATCH); tmp 635 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(RADEON_BIOS_6_SCRATCH, tmp | ATOM_S6_HW_I2C_BUSY_STATE); tmp 690 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(AVIVO_DC_I2C_STATUS1); tmp 691 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & AVIVO_DC_I2C_GO) tmp 693 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(AVIVO_DC_I2C_STATUS1); tmp 694 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & AVIVO_DC_I2C_DONE) tmp 697 drivers/gpu/drm/radeon/radeon_i2c.c DRM_DEBUG("i2c write error 0x%08x\n", tmp); tmp 732 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(AVIVO_DC_I2C_STATUS1); tmp 733 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & AVIVO_DC_I2C_GO) tmp 735 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(AVIVO_DC_I2C_STATUS1); tmp 736 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & AVIVO_DC_I2C_DONE) tmp 739 drivers/gpu/drm/radeon/radeon_i2c.c DRM_DEBUG("i2c read error 0x%08x\n", tmp); tmp 775 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(AVIVO_DC_I2C_STATUS1); tmp 776 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & AVIVO_DC_I2C_GO) tmp 778 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(AVIVO_DC_I2C_STATUS1); tmp 779 drivers/gpu/drm/radeon/radeon_i2c.c if (tmp & AVIVO_DC_I2C_DONE) tmp 782 drivers/gpu/drm/radeon/radeon_i2c.c DRM_DEBUG("i2c write error 0x%08x\n", tmp); tmp 805 drivers/gpu/drm/radeon/radeon_i2c.c tmp = RREG32(RADEON_BIOS_6_SCRATCH); tmp 806 drivers/gpu/drm/radeon/radeon_i2c.c tmp &= ~ATOM_S6_HW_I2C_BUSY_STATE; tmp 807 drivers/gpu/drm/radeon/radeon_i2c.c WREG32(RADEON_BIOS_6_SCRATCH, tmp); tmp 572 drivers/gpu/drm/radeon/radeon_irq_kms.c u32 tmp = RREG32(reg); tmp 575 drivers/gpu/drm/radeon/radeon_irq_kms.c if (!!(tmp & mask) == enable) tmp 580 drivers/gpu/drm/radeon/radeon_irq_kms.c WREG32(reg, tmp |= mask); tmp 583 drivers/gpu/drm/radeon/radeon_irq_kms.c WREG32(reg, tmp & ~mask); tmp 647 drivers/gpu/drm/radeon/radeon_legacy_encoders.c uint32_t dac_ext_cntl, dac_cntl, dac_macro_cntl, tmp; tmp 666 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = vclk_ecp_cntl & tmp 668 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32_PLL(RADEON_VCLK_ECP_CNTL, tmp); tmp 670 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = crtc_ext_cntl | RADEON_CRTC_CRT_ON; tmp 671 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_CRTC_EXT_CNTL, tmp); tmp 673 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RADEON_DAC_FORCE_BLANK_OFF_EN | tmp 677 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_DAC_FORCE_DATA_SEL_RGB; tmp 679 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_DAC_FORCE_DATA_SEL_G; tmp 682 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= (0x1b6 << RADEON_DAC_FORCE_DATA_SHIFT); tmp 684 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= (0x1ac << RADEON_DAC_FORCE_DATA_SHIFT); tmp 686 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= (0x180 << RADEON_DAC_FORCE_DATA_SHIFT); tmp 688 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DAC_EXT_CNTL, tmp); tmp 690 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = dac_cntl & ~(RADEON_DAC_RANGE_CNTL_MASK | RADEON_DAC_PDWN); tmp 691 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_DAC_RANGE_CNTL_PS2 | RADEON_DAC_CMP_EN; tmp 692 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DAC_CNTL, tmp); tmp 694 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = dac_macro_cntl; tmp 695 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp &= ~(RADEON_DAC_PDWN_R | tmp 699 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DAC_MACRO_CNTL, tmp); tmp 789 drivers/gpu/drm/radeon/radeon_legacy_encoders.c uint32_t tmp, tmds_pll_cntl, tmds_transmitter_cntl, fp_gen_cntl; tmp 794 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = tmds_pll_cntl = RREG32(RADEON_TMDS_PLL_CNTL); tmp 795 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp &= 0xfffff; tmp 798 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp ^= (1 << 22); tmp 809 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = tmds->tmds_pll[i].value ; tmp 816 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (tmp & 0xfff00000) tmp 817 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmds_pll_cntl = tmp; tmp 820 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmds_pll_cntl |= tmp; tmp 823 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmds_pll_cntl = tmp; tmp 1312 drivers/gpu/drm/radeon/radeon_legacy_encoders.c uint32_t disp_output_cntl, gpiopad_a, tmp; tmp 1330 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = disp_output_cntl & ~RADEON_DISP_TVDAC_SOURCE_MASK; tmp 1331 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_DISP_TVDAC_SOURCE_CRTC2; tmp 1332 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DISP_OUTPUT_CNTL, tmp); tmp 1359 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RREG32(RADEON_TV_DAC_CNTL); tmp 1360 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if ((tmp & RADEON_TV_DAC_GDACDET) != 0) { tmp 1363 drivers/gpu/drm/radeon/radeon_legacy_encoders.c } else if ((tmp & RADEON_TV_DAC_BDACDET) != 0) { tmp 1383 drivers/gpu/drm/radeon/radeon_legacy_encoders.c uint32_t config_cntl, tv_pre_dac_mux_cntl, tv_master_cntl, tmp; tmp 1395 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = dac_cntl2 & ~RADEON_DAC2_DAC2_CLK_SEL; tmp 1396 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DAC_CNTL2, tmp); tmp 1398 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = tv_master_cntl | RADEON_TV_ON; tmp 1399 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp &= ~(RADEON_TV_ASYNC_RST | tmp 1404 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_TV_FIFO_ASYNC_RST | RADEON_CRT_ASYNC_RST; tmp 1405 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_TV_MASTER_CNTL, tmp); tmp 1407 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RADEON_TV_DAC_NBLANK | RADEON_TV_DAC_NHOLD | tmp 1412 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= (4 << RADEON_TV_DAC_DACADJ_SHIFT); tmp 1414 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= (8 << RADEON_TV_DAC_DACADJ_SHIFT); tmp 1415 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_TV_DAC_CNTL, tmp); tmp 1417 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RADEON_C_GRN_EN | RADEON_CMP_BLU_EN | tmp 1422 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_TV_PRE_DAC_MUX_CNTL, tmp); tmp 1425 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RREG32(RADEON_TV_DAC_CNTL); tmp 1426 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (tmp & RADEON_TV_DAC_GDACDET) { tmp 1429 drivers/gpu/drm/radeon/radeon_legacy_encoders.c } else if ((tmp & RADEON_TV_DAC_BDACDET) != 0) { tmp 1449 drivers/gpu/drm/radeon/radeon_legacy_encoders.c uint32_t tmp, crtc2_h_total_disp, crtc2_v_total_disp; tmp 1470 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RREG32(RADEON_GPIO_MONID); tmp 1471 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp &= ~RADEON_GPIO_A_0; tmp 1472 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_GPIO_MONID, tmp); tmp 1499 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RREG32(RADEON_GPIO_MONID); tmp 1500 drivers/gpu/drm/radeon/radeon_legacy_encoders.c if (tmp & RADEON_GPIO_Y_0) tmp 1537 drivers/gpu/drm/radeon/radeon_legacy_encoders.c uint32_t gpiopad_a = 0, pixclks_cntl, tmp; tmp 1600 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = pixclks_cntl & ~(RADEON_PIX2CLK_ALWAYS_ONb tmp 1602 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32_PLL(RADEON_PIXCLKS_CNTL, tmp); tmp 1605 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = crtc_ext_cntl | RADEON_CRTC_CRT_ON; tmp 1606 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_CRTC_EXT_CNTL, tmp); tmp 1608 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = crtc2_gen_cntl & ~RADEON_CRTC2_PIX_WIDTH_MASK; tmp 1609 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_CRTC2_CRT2_ON | tmp 1611 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_CRTC2_GEN_CNTL, tmp); tmp 1615 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = disp_output_cntl & ~RADEON_DISP_TVDAC_SOURCE_MASK; tmp 1616 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_DISP_TVDAC_SOURCE_CRTC2; tmp 1617 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DISP_OUTPUT_CNTL, tmp); tmp 1619 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = disp_hw_debug & ~RADEON_CRT2_DISP1_SEL; tmp 1620 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DISP_HW_DEBUG, tmp); tmp 1624 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RADEON_TV_DAC_NBLANK | tmp 1629 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_TV_DAC_CNTL, tmp); tmp 1631 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = RADEON_DAC2_FORCE_BLANK_OFF_EN | tmp 1635 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_DAC_FORCE_DATA_SEL_RGB; tmp 1637 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= RADEON_DAC_FORCE_DATA_SEL_G; tmp 1640 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= (0x1b6 << RADEON_DAC_FORCE_DATA_SHIFT); tmp 1642 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp |= (0x180 << RADEON_DAC_FORCE_DATA_SHIFT); tmp 1644 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DAC_EXT_CNTL, tmp); tmp 1646 drivers/gpu/drm/radeon/radeon_legacy_encoders.c tmp = dac_cntl2 | RADEON_DAC2_DAC2_CLK_SEL | RADEON_DAC2_CMP_EN; tmp 1647 drivers/gpu/drm/radeon/radeon_legacy_encoders.c WREG32(RADEON_DAC_CNTL2, tmp); tmp 306 drivers/gpu/drm/radeon/radeon_legacy_tv.c uint32_t tmp; tmp 315 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = RREG32(RADEON_TV_HOST_RD_WT_CNTL); tmp 316 drivers/gpu/drm/radeon/radeon_legacy_tv.c if ((tmp & RADEON_HOST_FIFO_WT_ACK) == 0) tmp 328 drivers/gpu/drm/radeon/radeon_legacy_tv.c uint32_t tmp; tmp 335 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = RREG32(RADEON_TV_HOST_RD_WT_CNTL); tmp 336 drivers/gpu/drm/radeon/radeon_legacy_tv.c if ((tmp & RADEON_HOST_FIFO_RD_ACK) == 0) tmp 393 drivers/gpu/drm/radeon/radeon_legacy_tv.c uint32_t tmp; tmp 401 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = ((uint32_t)tv_dac->tv.h_code_timing[i] << 14) | ((uint32_t)tv_dac->tv.h_code_timing[i+1]); tmp 402 drivers/gpu/drm/radeon/radeon_legacy_tv.c radeon_legacy_tv_write_fifo(radeon_encoder, h_table, tmp); tmp 407 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = ((uint32_t)tv_dac->tv.v_code_timing[i+1] << 14) | ((uint32_t)tv_dac->tv.v_code_timing[i]); tmp 408 drivers/gpu/drm/radeon/radeon_legacy_tv.c radeon_legacy_tv_write_fifo(radeon_encoder, v_table, tmp); tmp 536 drivers/gpu/drm/radeon/radeon_legacy_tv.c uint32_t vert_space, flicker_removal, tmp; tmp 613 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = RREG32(RADEON_TV_VSCALER_CNTL1); tmp 614 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp &= 0xe3ff0000; tmp 615 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp |= (vert_space * (1 << FRAC_BITS) / 10000); tmp 616 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_vscaler_cntl1 = tmp; tmp 627 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = const_ptr->ver_total * 2 * 1000; tmp 632 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp /= NTSC_TV_LINES_PER_FRAME; tmp 634 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp /= PAL_TV_LINES_PER_FRAME; tmp 636 drivers/gpu/drm/radeon/radeon_legacy_tv.c flicker_removal = (tmp + 500) / 1000; tmp 662 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = (tv_vscaler_cntl1 >> RADEON_UV_INC_SHIFT) & RADEON_UV_INC_MASK; tmp 663 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = ((16384 * 256 * 10) / tmp + 5) / 10; tmp 664 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = (tmp << RADEON_UV_OUTPUT_POST_SCALE_SHIFT) | 0x000b0000; tmp 665 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.timing_cntl = tmp; tmp 754 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = RREG32(RADEON_TV_DAC_CNTL); tmp 755 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp &= ~RADEON_TV_DAC_NBLANK; tmp 756 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp |= RADEON_TV_DAC_BGSLEEP | tmp 760 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_DAC_CNTL, tmp); tmp 836 drivers/gpu/drm/radeon/radeon_legacy_tv.c uint32_t tmp; tmp 845 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = *h_sync_strt_wid; tmp 846 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp &= ~(RADEON_CRTC_H_SYNC_STRT_PIX | RADEON_CRTC_H_SYNC_STRT_CHAR); tmp 847 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp |= (((const_ptr->hor_syncstart / 8) - 1) << RADEON_CRTC_H_SYNC_STRT_CHAR_SHIFT) | tmp 849 drivers/gpu/drm/radeon/radeon_legacy_tv.c *h_sync_strt_wid = tmp; tmp 854 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = *v_sync_strt_wid; tmp 855 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp &= ~RADEON_CRTC_V_SYNC_STRT; tmp 856 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp |= ((const_ptr->ver_syncstart - 1) << RADEON_CRTC_V_SYNC_STRT_SHIFT); tmp 857 drivers/gpu/drm/radeon/radeon_legacy_tv.c *v_sync_strt_wid = tmp; tmp 80 drivers/gpu/drm/radeon/radeon_sa.c struct radeon_sa_bo *sa_bo, *tmp; tmp 89 drivers/gpu/drm/radeon/radeon_sa.c list_for_each_entry_safe(sa_bo, tmp, &sa_manager->olist, olist) { tmp 156 drivers/gpu/drm/radeon/radeon_sa.c struct radeon_sa_bo *sa_bo, *tmp; tmp 162 drivers/gpu/drm/radeon/radeon_sa.c list_for_each_entry_safe_from(sa_bo, tmp, &sa_manager->olist, olist) { tmp 252 drivers/gpu/drm/radeon/radeon_sa.c unsigned i, soffset, best, tmp; tmp 287 drivers/gpu/drm/radeon/radeon_sa.c tmp = sa_bo->soffset; tmp 288 drivers/gpu/drm/radeon/radeon_sa.c if (tmp < soffset) { tmp 290 drivers/gpu/drm/radeon/radeon_sa.c tmp += sa_manager->size; tmp 292 drivers/gpu/drm/radeon/radeon_sa.c tmp -= soffset; tmp 293 drivers/gpu/drm/radeon/radeon_sa.c if (tmp < best) { tmp 295 drivers/gpu/drm/radeon/radeon_sa.c best = tmp; tmp 365 drivers/gpu/drm/radeon/radeon_uvd.c unsigned image_size, tmp, min_dpb_size; tmp 399 drivers/gpu/drm/radeon/radeon_uvd.c tmp = max(width_in_mb, height_in_mb); tmp 400 drivers/gpu/drm/radeon/radeon_uvd.c min_dpb_size += ALIGN(tmp * 7 * 16, 64); tmp 561 drivers/gpu/drm/radeon/radeon_vce.c uint32_t tmp, handle = 0; tmp 562 drivers/gpu/drm/radeon/radeon_vce.c uint32_t *size = &tmp; tmp 639 drivers/gpu/drm/radeon/radeon_vce.c tmp = radeon_get_ib_value(p, p->idx + 4); tmp 641 drivers/gpu/drm/radeon/radeon_vce.c tmp); tmp 484 drivers/gpu/drm/radeon/radeon_vm.c struct radeon_bo_va *tmp; tmp 485 drivers/gpu/drm/radeon/radeon_vm.c tmp = container_of(it, struct radeon_bo_va, it); tmp 489 drivers/gpu/drm/radeon/radeon_vm.c soffset, tmp->bo, tmp->it.start, tmp->it.last); tmp 498 drivers/gpu/drm/radeon/radeon_vm.c struct radeon_bo_va *tmp; tmp 499 drivers/gpu/drm/radeon/radeon_vm.c tmp = kzalloc(sizeof(struct radeon_bo_va), GFP_KERNEL); tmp 500 drivers/gpu/drm/radeon/radeon_vm.c if (!tmp) { tmp 505 drivers/gpu/drm/radeon/radeon_vm.c tmp->it.start = bo_va->it.start; tmp 506 drivers/gpu/drm/radeon/radeon_vm.c tmp->it.last = bo_va->it.last; tmp 507 drivers/gpu/drm/radeon/radeon_vm.c tmp->vm = vm; tmp 508 drivers/gpu/drm/radeon/radeon_vm.c tmp->bo = radeon_bo_ref(bo_va->bo); tmp 515 drivers/gpu/drm/radeon/radeon_vm.c list_add(&tmp->vm_status, &vm->freed); tmp 1233 drivers/gpu/drm/radeon/radeon_vm.c struct radeon_bo_va *bo_va, *tmp; tmp 1239 drivers/gpu/drm/radeon/radeon_vm.c rbtree_postorder_for_each_entry_safe(bo_va, tmp, tmp 1250 drivers/gpu/drm/radeon/radeon_vm.c list_for_each_entry_safe(bo_va, tmp, &vm->freed, vm_status) { tmp 67 drivers/gpu/drm/radeon/rs400.c uint32_t tmp; tmp 72 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_GART_CACHE_CNTRL); tmp 73 drivers/gpu/drm/radeon/rs400.c if ((tmp & RS480_GART_CACHE_INVALIDATE) == 0) tmp 115 drivers/gpu/drm/radeon/rs400.c uint32_t tmp; tmp 117 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS690_AIC_CTRL_SCRATCH); tmp 118 drivers/gpu/drm/radeon/rs400.c tmp |= RS690_DIS_OUT_OF_PCI_GART_ACCESS; tmp 119 drivers/gpu/drm/radeon/rs400.c WREG32_MC(RS690_AIC_CTRL_SCRATCH, tmp); tmp 154 drivers/gpu/drm/radeon/rs400.c tmp = REG_SET(RS690_MC_AGP_TOP, rdev->mc.gtt_end >> 16); tmp 155 drivers/gpu/drm/radeon/rs400.c tmp |= REG_SET(RS690_MC_AGP_START, rdev->mc.gtt_start >> 16); tmp 157 drivers/gpu/drm/radeon/rs400.c WREG32_MC(RS690_MCCFG_AGP_LOCATION, tmp); tmp 158 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RADEON_BUS_CNTL) & ~RS600_BUS_MASTER_DIS; tmp 159 drivers/gpu/drm/radeon/rs400.c WREG32(RADEON_BUS_CNTL, tmp); tmp 161 drivers/gpu/drm/radeon/rs400.c WREG32(RADEON_MC_AGP_LOCATION, tmp); tmp 162 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RADEON_BUS_CNTL) & ~RADEON_BUS_MASTER_DIS; tmp 163 drivers/gpu/drm/radeon/rs400.c WREG32(RADEON_BUS_CNTL, tmp); tmp 166 drivers/gpu/drm/radeon/rs400.c tmp = (u32)rdev->gart.table_addr & 0xfffff000; tmp 167 drivers/gpu/drm/radeon/rs400.c tmp |= (upper_32_bits(rdev->gart.table_addr) & 0xff) << 4; tmp 169 drivers/gpu/drm/radeon/rs400.c WREG32_MC(RS480_GART_BASE, tmp); tmp 181 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_MC_MISC_CNTL); tmp 182 drivers/gpu/drm/radeon/rs400.c tmp |= RS480_GART_INDEX_REG_EN | RS690_BLOCK_GFX_D3_EN; tmp 183 drivers/gpu/drm/radeon/rs400.c WREG32_MC(RS480_MC_MISC_CNTL, tmp); tmp 185 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_MC_MISC_CNTL); tmp 186 drivers/gpu/drm/radeon/rs400.c tmp |= RS480_GART_INDEX_REG_EN; tmp 187 drivers/gpu/drm/radeon/rs400.c WREG32_MC(RS480_MC_MISC_CNTL, tmp); tmp 201 drivers/gpu/drm/radeon/rs400.c uint32_t tmp; tmp 203 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS690_AIC_CTRL_SCRATCH); tmp 204 drivers/gpu/drm/radeon/rs400.c tmp |= RS690_DIS_OUT_OF_PCI_GART_ACCESS; tmp 205 drivers/gpu/drm/radeon/rs400.c WREG32_MC(RS690_AIC_CTRL_SCRATCH, tmp); tmp 245 drivers/gpu/drm/radeon/rs400.c uint32_t tmp; tmp 249 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RADEON_MC_STATUS); tmp 250 drivers/gpu/drm/radeon/rs400.c if (tmp & RADEON_MC_IDLE) { tmp 315 drivers/gpu/drm/radeon/rs400.c uint32_t tmp; tmp 317 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RADEON_HOST_PATH_CNTL); tmp 318 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "HOST_PATH_CNTL 0x%08x\n", tmp); tmp 319 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RADEON_BUS_CNTL); tmp 320 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "BUS_CNTL 0x%08x\n", tmp); tmp 321 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS690_AIC_CTRL_SCRATCH); tmp 322 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "AIC_CTRL_SCRATCH 0x%08x\n", tmp); tmp 324 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS690_MCCFG_AGP_BASE); tmp 325 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MCCFG_AGP_BASE 0x%08x\n", tmp); tmp 326 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS690_MCCFG_AGP_BASE_2); tmp 327 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MCCFG_AGP_BASE_2 0x%08x\n", tmp); tmp 328 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS690_MCCFG_AGP_LOCATION); tmp 329 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MCCFG_AGP_LOCATION 0x%08x\n", tmp); tmp 330 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS690_MCCFG_FB_LOCATION); tmp 331 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MCCFG_FB_LOCATION 0x%08x\n", tmp); tmp 332 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RS690_HDP_FB_LOCATION); tmp 333 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "HDP_FB_LOCATION 0x%08x\n", tmp); tmp 335 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RADEON_AGP_BASE); tmp 336 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "AGP_BASE 0x%08x\n", tmp); tmp 337 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RS480_AGP_BASE_2); tmp 338 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "AGP_BASE_2 0x%08x\n", tmp); tmp 339 drivers/gpu/drm/radeon/rs400.c tmp = RREG32(RADEON_MC_AGP_LOCATION); tmp 340 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MC_AGP_LOCATION 0x%08x\n", tmp); tmp 342 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_GART_BASE); tmp 343 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_BASE 0x%08x\n", tmp); tmp 344 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_GART_FEATURE_ID); tmp 345 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_FEATURE_ID 0x%08x\n", tmp); tmp 346 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_AGP_MODE_CNTL); tmp 347 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "AGP_MODE_CONTROL 0x%08x\n", tmp); tmp 348 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_MC_MISC_CNTL); tmp 349 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MC_MISC_CNTL 0x%08x\n", tmp); tmp 350 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x5F); tmp 351 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MC_MISC_UMA_CNTL 0x%08x\n", tmp); tmp 352 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_AGP_ADDRESS_SPACE_SIZE); tmp 353 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "AGP_ADDRESS_SPACE_SIZE 0x%08x\n", tmp); tmp 354 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(RS480_GART_CACHE_CNTRL); tmp 355 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_CACHE_CNTRL 0x%08x\n", tmp); tmp 356 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x3B); tmp 357 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MC_GART_ERROR_ADDRESS 0x%08x\n", tmp); tmp 358 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x3C); tmp 359 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "MC_GART_ERROR_ADDRESS_HI 0x%08x\n", tmp); tmp 360 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x30); tmp 361 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_ERROR_0 0x%08x\n", tmp); tmp 362 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x31); tmp 363 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_ERROR_1 0x%08x\n", tmp); tmp 364 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x32); tmp 365 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_ERROR_2 0x%08x\n", tmp); tmp 366 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x33); tmp 367 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_ERROR_3 0x%08x\n", tmp); tmp 368 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x34); tmp 369 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_ERROR_4 0x%08x\n", tmp); tmp 370 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x35); tmp 371 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_ERROR_5 0x%08x\n", tmp); tmp 372 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x36); tmp 373 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_ERROR_6 0x%08x\n", tmp); tmp 374 drivers/gpu/drm/radeon/rs400.c tmp = RREG32_MC(0x37); tmp 375 drivers/gpu/drm/radeon/rs400.c seq_printf(m, "GART_ERROR_7 0x%08x\n", tmp); tmp 121 drivers/gpu/drm/radeon/rs600.c u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); tmp 125 drivers/gpu/drm/radeon/rs600.c tmp |= AVIVO_D1GRPH_UPDATE_LOCK; tmp 126 drivers/gpu/drm/radeon/rs600.c WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); tmp 145 drivers/gpu/drm/radeon/rs600.c tmp &= ~AVIVO_D1GRPH_UPDATE_LOCK; tmp 146 drivers/gpu/drm/radeon/rs600.c WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); tmp 165 drivers/gpu/drm/radeon/rs600.c u32 tmp = 0; tmp 185 drivers/gpu/drm/radeon/rs600.c tmp |= AVIVO_TMDS_BIT_DEPTH_CONTROL_SPATIAL_DITHER_EN; tmp 187 drivers/gpu/drm/radeon/rs600.c tmp |= AVIVO_TMDS_BIT_DEPTH_CONTROL_TRUNCATE_EN; tmp 192 drivers/gpu/drm/radeon/rs600.c tmp |= (AVIVO_TMDS_BIT_DEPTH_CONTROL_SPATIAL_DITHER_EN | tmp 195 drivers/gpu/drm/radeon/rs600.c tmp |= (AVIVO_TMDS_BIT_DEPTH_CONTROL_TRUNCATE_EN | tmp 206 drivers/gpu/drm/radeon/rs600.c WREG32(AVIVO_TMDSA_BIT_DEPTH_CONTROL, tmp); tmp 209 drivers/gpu/drm/radeon/rs600.c WREG32(AVIVO_LVTMA_BIT_DEPTH_CONTROL, tmp); tmp 212 drivers/gpu/drm/radeon/rs600.c WREG32(AVIVO_DVOA_BIT_DEPTH_CONTROL, tmp); tmp 215 drivers/gpu/drm/radeon/rs600.c WREG32(AVIVO_DDIA_BIT_DEPTH_CONTROL, tmp); tmp 227 drivers/gpu/drm/radeon/rs600.c u32 tmp, dyn_pwrmgt_sclk_length, dyn_sclk_vol_cntl; tmp 232 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(voltage->gpio.reg); tmp 234 drivers/gpu/drm/radeon/rs600.c tmp |= voltage->gpio.mask; tmp 236 drivers/gpu/drm/radeon/rs600.c tmp &= ~(voltage->gpio.mask); tmp 237 drivers/gpu/drm/radeon/rs600.c WREG32(voltage->gpio.reg, tmp); tmp 241 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(voltage->gpio.reg); tmp 243 drivers/gpu/drm/radeon/rs600.c tmp &= ~voltage->gpio.mask; tmp 245 drivers/gpu/drm/radeon/rs600.c tmp |= voltage->gpio.mask; tmp 246 drivers/gpu/drm/radeon/rs600.c WREG32(voltage->gpio.reg, tmp); tmp 321 drivers/gpu/drm/radeon/rs600.c u32 tmp; tmp 327 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(AVIVO_D1CRTC_CONTROL + radeon_crtc->crtc_offset); tmp 328 drivers/gpu/drm/radeon/rs600.c tmp |= AVIVO_CRTC_DISP_READ_REQUEST_DISABLE; tmp 329 drivers/gpu/drm/radeon/rs600.c WREG32(AVIVO_D1CRTC_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 339 drivers/gpu/drm/radeon/rs600.c u32 tmp; tmp 345 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(AVIVO_D1CRTC_CONTROL + radeon_crtc->crtc_offset); tmp 346 drivers/gpu/drm/radeon/rs600.c tmp &= ~AVIVO_CRTC_DISP_READ_REQUEST_DISABLE; tmp 347 drivers/gpu/drm/radeon/rs600.c WREG32(AVIVO_D1CRTC_CONTROL + radeon_crtc->crtc_offset, tmp); tmp 355 drivers/gpu/drm/radeon/rs600.c u32 tmp; tmp 360 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(R_007D04_DC_HOT_PLUG_DETECT1_INT_STATUS); tmp 361 drivers/gpu/drm/radeon/rs600.c if (G_007D04_DC_HOT_PLUG_DETECT1_SENSE(tmp)) tmp 365 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(R_007D14_DC_HOT_PLUG_DETECT2_INT_STATUS); tmp 366 drivers/gpu/drm/radeon/rs600.c if (G_007D14_DC_HOT_PLUG_DETECT2_SENSE(tmp)) tmp 378 drivers/gpu/drm/radeon/rs600.c u32 tmp; tmp 383 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(R_007D08_DC_HOT_PLUG_DETECT1_INT_CONTROL); tmp 385 drivers/gpu/drm/radeon/rs600.c tmp &= ~S_007D08_DC_HOT_PLUG_DETECT1_INT_POLARITY(1); tmp 387 drivers/gpu/drm/radeon/rs600.c tmp |= S_007D08_DC_HOT_PLUG_DETECT1_INT_POLARITY(1); tmp 388 drivers/gpu/drm/radeon/rs600.c WREG32(R_007D08_DC_HOT_PLUG_DETECT1_INT_CONTROL, tmp); tmp 391 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(R_007D18_DC_HOT_PLUG_DETECT2_INT_CONTROL); tmp 393 drivers/gpu/drm/radeon/rs600.c tmp &= ~S_007D18_DC_HOT_PLUG_DETECT2_INT_POLARITY(1); tmp 395 drivers/gpu/drm/radeon/rs600.c tmp |= S_007D18_DC_HOT_PLUG_DETECT2_INT_POLARITY(1); tmp 396 drivers/gpu/drm/radeon/rs600.c WREG32(R_007D18_DC_HOT_PLUG_DETECT2_INT_CONTROL, tmp); tmp 459 drivers/gpu/drm/radeon/rs600.c u32 status, tmp; tmp 472 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(RADEON_CP_RB_CNTL); tmp 473 drivers/gpu/drm/radeon/rs600.c WREG32(RADEON_CP_RB_CNTL, tmp | RADEON_RB_RPTR_WR_ENA); tmp 476 drivers/gpu/drm/radeon/rs600.c WREG32(RADEON_CP_RB_CNTL, tmp); tmp 523 drivers/gpu/drm/radeon/rs600.c uint32_t tmp; tmp 525 drivers/gpu/drm/radeon/rs600.c tmp = RREG32_MC(R_000100_MC_PT0_CNTL); tmp 526 drivers/gpu/drm/radeon/rs600.c tmp &= C_000100_INVALIDATE_ALL_L1_TLBS & C_000100_INVALIDATE_L2_CACHE; tmp 527 drivers/gpu/drm/radeon/rs600.c WREG32_MC(R_000100_MC_PT0_CNTL, tmp); tmp 529 drivers/gpu/drm/radeon/rs600.c tmp = RREG32_MC(R_000100_MC_PT0_CNTL); tmp 530 drivers/gpu/drm/radeon/rs600.c tmp |= S_000100_INVALIDATE_ALL_L1_TLBS(1) | S_000100_INVALIDATE_L2_CACHE(1); tmp 531 drivers/gpu/drm/radeon/rs600.c WREG32_MC(R_000100_MC_PT0_CNTL, tmp); tmp 533 drivers/gpu/drm/radeon/rs600.c tmp = RREG32_MC(R_000100_MC_PT0_CNTL); tmp 534 drivers/gpu/drm/radeon/rs600.c tmp &= C_000100_INVALIDATE_ALL_L1_TLBS & C_000100_INVALIDATE_L2_CACHE; tmp 535 drivers/gpu/drm/radeon/rs600.c WREG32_MC(R_000100_MC_PT0_CNTL, tmp); tmp 536 drivers/gpu/drm/radeon/rs600.c tmp = RREG32_MC(R_000100_MC_PT0_CNTL); tmp 558 drivers/gpu/drm/radeon/rs600.c u32 tmp; tmp 569 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(RADEON_BUS_CNTL) & ~RS600_BUS_MASTER_DIS; tmp 570 drivers/gpu/drm/radeon/rs600.c WREG32(RADEON_BUS_CNTL, tmp); tmp 608 drivers/gpu/drm/radeon/rs600.c tmp = RREG32_MC(R_000100_MC_PT0_CNTL); tmp 609 drivers/gpu/drm/radeon/rs600.c WREG32_MC(R_000100_MC_PT0_CNTL, (tmp | S_000100_ENABLE_PT(1))); tmp 610 drivers/gpu/drm/radeon/rs600.c tmp = RREG32_MC(R_000009_MC_CNTL1); tmp 611 drivers/gpu/drm/radeon/rs600.c WREG32_MC(R_000009_MC_CNTL1, (tmp | S_000009_ENABLE_PAGE_TABLES(1))); tmp 622 drivers/gpu/drm/radeon/rs600.c u32 tmp; tmp 626 drivers/gpu/drm/radeon/rs600.c tmp = RREG32_MC(R_000009_MC_CNTL1); tmp 627 drivers/gpu/drm/radeon/rs600.c WREG32_MC(R_000009_MC_CNTL1, tmp & C_000009_ENABLE_PAGE_TABLES); tmp 662 drivers/gpu/drm/radeon/rs600.c uint32_t tmp = 0; tmp 681 drivers/gpu/drm/radeon/rs600.c tmp |= S_000040_SW_INT_EN(1); tmp 700 drivers/gpu/drm/radeon/rs600.c WREG32(R_000040_GEN_INT_CNTL, tmp); tmp 717 drivers/gpu/drm/radeon/rs600.c u32 tmp; tmp 730 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(R_007D08_DC_HOT_PLUG_DETECT1_INT_CONTROL); tmp 731 drivers/gpu/drm/radeon/rs600.c tmp |= S_007D08_DC_HOT_PLUG_DETECT1_INT_ACK(1); tmp 732 drivers/gpu/drm/radeon/rs600.c WREG32(R_007D08_DC_HOT_PLUG_DETECT1_INT_CONTROL, tmp); tmp 735 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(R_007D18_DC_HOT_PLUG_DETECT2_INT_CONTROL); tmp 736 drivers/gpu/drm/radeon/rs600.c tmp |= S_007D18_DC_HOT_PLUG_DETECT2_INT_ACK(1); tmp 737 drivers/gpu/drm/radeon/rs600.c WREG32(R_007D18_DC_HOT_PLUG_DETECT2_INT_CONTROL, tmp); tmp 747 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(R_007408_HDMI0_AUDIO_PACKET_CONTROL); tmp 748 drivers/gpu/drm/radeon/rs600.c tmp |= S_007408_HDMI0_AZ_FORMAT_WTRIG_ACK(1); tmp 749 drivers/gpu/drm/radeon/rs600.c WREG32(R_007408_HDMI0_AUDIO_PACKET_CONTROL, tmp); tmp 40 drivers/gpu/drm/radeon/rs690.c uint32_t tmp; tmp 44 drivers/gpu/drm/radeon/rs690.c tmp = RREG32_MC(R_000090_MC_SYSTEM_STATUS); tmp 45 drivers/gpu/drm/radeon/rs690.c if (G_000090_MC_SYSTEM_IDLE(tmp)) tmp 72 drivers/gpu/drm/radeon/rs690.c fixed20_12 tmp; tmp 81 drivers/gpu/drm/radeon/rs690.c tmp.full = dfixed_const(100); tmp 83 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); tmp 88 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); tmp 95 drivers/gpu/drm/radeon/rs690.c tmp.full = dfixed_const(100); tmp 97 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); tmp 104 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); tmp 106 drivers/gpu/drm/radeon/rs690.c rdev->pm.igp_ht_link_clk.full = dfixed_div(rdev->pm.igp_ht_link_clk, tmp); tmp 128 drivers/gpu/drm/radeon/rs690.c tmp.full = dfixed_const(4); tmp 129 drivers/gpu/drm/radeon/rs690.c rdev->pm.k8_bandwidth.full = dfixed_mul(rdev->pm.igp_system_mclk, tmp); tmp 133 drivers/gpu/drm/radeon/rs690.c tmp.full = dfixed_const(5); tmp 136 drivers/gpu/drm/radeon/rs690.c rdev->pm.ht_bandwidth.full = dfixed_div(rdev->pm.ht_bandwidth, tmp); tmp 137 drivers/gpu/drm/radeon/rs690.c if (tmp.full < rdev->pm.max_bandwidth.full) { tmp 139 drivers/gpu/drm/radeon/rs690.c rdev->pm.max_bandwidth.full = tmp.full; tmp 144 drivers/gpu/drm/radeon/rs690.c tmp.full = dfixed_const(14); tmp 145 drivers/gpu/drm/radeon/rs690.c rdev->pm.sideport_bandwidth.full = dfixed_mul(rdev->pm.igp_sideport_mclk, tmp); tmp 146 drivers/gpu/drm/radeon/rs690.c tmp.full = dfixed_const(10); tmp 147 drivers/gpu/drm/radeon/rs690.c rdev->pm.sideport_bandwidth.full = dfixed_div(rdev->pm.sideport_bandwidth, tmp); tmp 209 drivers/gpu/drm/radeon/rs690.c u32 tmp; tmp 228 drivers/gpu/drm/radeon/rs690.c tmp = RREG32(R_006520_DC_LB_MEMORY_SPLIT) & C_006520_DC_LB_MEMORY_SPLIT; tmp 229 drivers/gpu/drm/radeon/rs690.c tmp &= ~C_006520_DC_LB_MEMORY_SPLIT_MODE; tmp 234 drivers/gpu/drm/radeon/rs690.c tmp |= V_006520_DC_LB_MEMORY_SPLIT_D1_3Q_D2_1Q; tmp 236 drivers/gpu/drm/radeon/rs690.c tmp |= V_006520_DC_LB_MEMORY_SPLIT_D1HALF_D2HALF; tmp 239 drivers/gpu/drm/radeon/rs690.c tmp |= V_006520_DC_LB_MEMORY_SPLIT_D1_1Q_D2_3Q; tmp 241 drivers/gpu/drm/radeon/rs690.c tmp |= V_006520_DC_LB_MEMORY_SPLIT_D1HALF_D2HALF; tmp 243 drivers/gpu/drm/radeon/rs690.c tmp |= V_006520_DC_LB_MEMORY_SPLIT_D1HALF_D2HALF; tmp 245 drivers/gpu/drm/radeon/rs690.c tmp |= V_006520_DC_LB_MEMORY_SPLIT_D1_ONLY; tmp 247 drivers/gpu/drm/radeon/rs690.c tmp |= V_006520_DC_LB_MEMORY_SPLIT_D1_1Q_D2_3Q; tmp 249 drivers/gpu/drm/radeon/rs690.c WREG32(R_006520_DC_LB_MEMORY_SPLIT, tmp); tmp 590 drivers/gpu/drm/radeon/rs690.c u32 tmp; tmp 610 drivers/gpu/drm/radeon/rs690.c tmp = RREG32_MC(R_000104_MC_INIT_MISC_LAT_TIMER); tmp 611 drivers/gpu/drm/radeon/rs690.c tmp &= C_000104_MC_DISP0R_INIT_LAT; tmp 612 drivers/gpu/drm/radeon/rs690.c tmp &= C_000104_MC_DISP1R_INIT_LAT; tmp 614 drivers/gpu/drm/radeon/rs690.c tmp |= S_000104_MC_DISP0R_INIT_LAT(1); tmp 616 drivers/gpu/drm/radeon/rs690.c tmp |= S_000104_MC_DISP1R_INIT_LAT(1); tmp 617 drivers/gpu/drm/radeon/rs690.c WREG32_MC(R_000104_MC_INIT_MISC_LAT_TIMER, tmp); tmp 632 drivers/gpu/drm/radeon/rs690.c tmp = (wm0_high.lb_request_fifo_depth - 1); tmp 633 drivers/gpu/drm/radeon/rs690.c tmp |= (wm1_high.lb_request_fifo_depth - 1) << 16; tmp 634 drivers/gpu/drm/radeon/rs690.c WREG32(R_006D58_LB_MAX_REQ_OUTSTANDING, tmp); tmp 138 drivers/gpu/drm/radeon/rv515.c uint32_t tmp; tmp 142 drivers/gpu/drm/radeon/rv515.c tmp = RREG32_MC(MC_STATUS); tmp 143 drivers/gpu/drm/radeon/rv515.c if (tmp & MC_STATUS_IDLE) { tmp 159 drivers/gpu/drm/radeon/rv515.c unsigned pipe_select_current, gb_pipe_select, tmp; tmp 167 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(R300_DST_PIPE_CONFIG); tmp 168 drivers/gpu/drm/radeon/rv515.c pipe_select_current = (tmp >> 2) & 3; tmp 169 drivers/gpu/drm/radeon/rv515.c tmp = (1 << pipe_select_current) | tmp 171 drivers/gpu/drm/radeon/rv515.c WREG32_PLL(0x000D, tmp); tmp 182 drivers/gpu/drm/radeon/rv515.c uint32_t tmp; tmp 186 drivers/gpu/drm/radeon/rv515.c tmp = RREG32_MC(RV515_MC_CNTL) & MEM_NUM_CHANNELS_MASK; tmp 187 drivers/gpu/drm/radeon/rv515.c switch (tmp) { tmp 243 drivers/gpu/drm/radeon/rv515.c uint32_t tmp; tmp 245 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(GB_PIPE_SELECT); tmp 246 drivers/gpu/drm/radeon/rv515.c seq_printf(m, "GB_PIPE_SELECT 0x%08x\n", tmp); tmp 247 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(SU_REG_DEST); tmp 248 drivers/gpu/drm/radeon/rv515.c seq_printf(m, "SU_REG_DEST 0x%08x\n", tmp); tmp 249 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(GB_TILE_CONFIG); tmp 250 drivers/gpu/drm/radeon/rv515.c seq_printf(m, "GB_TILE_CONFIG 0x%08x\n", tmp); tmp 251 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(DST_PIPE_CONFIG); tmp 252 drivers/gpu/drm/radeon/rv515.c seq_printf(m, "DST_PIPE_CONFIG 0x%08x\n", tmp); tmp 261 drivers/gpu/drm/radeon/rv515.c uint32_t tmp; tmp 263 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(0x2140); tmp 264 drivers/gpu/drm/radeon/rv515.c seq_printf(m, "VAP_CNTL_STATUS 0x%08x\n", tmp); tmp 266 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(0x425C); tmp 267 drivers/gpu/drm/radeon/rv515.c seq_printf(m, "GA_IDLE 0x%08x\n", tmp); tmp 300 drivers/gpu/drm/radeon/rv515.c u32 crtc_enabled, tmp, frame_count, blackout; tmp 313 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]); tmp 314 drivers/gpu/drm/radeon/rv515.c if (!(tmp & AVIVO_CRTC_DISP_READ_REQUEST_DISABLE)) { tmp 317 drivers/gpu/drm/radeon/rv515.c tmp |= AVIVO_CRTC_DISP_READ_REQUEST_DISABLE; tmp 318 drivers/gpu/drm/radeon/rv515.c WREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i], tmp); tmp 331 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]); tmp 332 drivers/gpu/drm/radeon/rv515.c tmp &= ~AVIVO_CRTC_EN; tmp 333 drivers/gpu/drm/radeon/rv515.c WREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i], tmp); tmp 366 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i]); tmp 367 drivers/gpu/drm/radeon/rv515.c if (!(tmp & AVIVO_D1GRPH_UPDATE_LOCK)) { tmp 368 drivers/gpu/drm/radeon/rv515.c tmp |= AVIVO_D1GRPH_UPDATE_LOCK; tmp 369 drivers/gpu/drm/radeon/rv515.c WREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i], tmp); tmp 371 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1MODE_MASTER_UPDATE_LOCK + crtc_offsets[i]); tmp 372 drivers/gpu/drm/radeon/rv515.c if (!(tmp & 1)) { tmp 373 drivers/gpu/drm/radeon/rv515.c tmp |= 1; tmp 374 drivers/gpu/drm/radeon/rv515.c WREG32(AVIVO_D1MODE_MASTER_UPDATE_LOCK + crtc_offsets[i], tmp); tmp 382 drivers/gpu/drm/radeon/rv515.c u32 tmp, frame_count; tmp 410 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1MODE_MASTER_UPDATE_MODE + crtc_offsets[i]); tmp 411 drivers/gpu/drm/radeon/rv515.c if ((tmp & 0x7) != 3) { tmp 412 drivers/gpu/drm/radeon/rv515.c tmp &= ~0x7; tmp 413 drivers/gpu/drm/radeon/rv515.c tmp |= 0x3; tmp 414 drivers/gpu/drm/radeon/rv515.c WREG32(AVIVO_D1MODE_MASTER_UPDATE_MODE + crtc_offsets[i], tmp); tmp 416 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i]); tmp 417 drivers/gpu/drm/radeon/rv515.c if (tmp & AVIVO_D1GRPH_UPDATE_LOCK) { tmp 418 drivers/gpu/drm/radeon/rv515.c tmp &= ~AVIVO_D1GRPH_UPDATE_LOCK; tmp 419 drivers/gpu/drm/radeon/rv515.c WREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i], tmp); tmp 421 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1MODE_MASTER_UPDATE_LOCK + crtc_offsets[i]); tmp 422 drivers/gpu/drm/radeon/rv515.c if (tmp & 1) { tmp 423 drivers/gpu/drm/radeon/rv515.c tmp &= ~1; tmp 424 drivers/gpu/drm/radeon/rv515.c WREG32(AVIVO_D1MODE_MASTER_UPDATE_LOCK + crtc_offsets[i], tmp); tmp 427 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1GRPH_UPDATE + crtc_offsets[i]); tmp 428 drivers/gpu/drm/radeon/rv515.c if ((tmp & AVIVO_D1GRPH_SURFACE_UPDATE_PENDING) == 0) tmp 438 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(R700_MC_CITF_CNTL); tmp 440 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(R600_CITF_CNTL); tmp 441 drivers/gpu/drm/radeon/rv515.c tmp &= ~R600_BLACKOUT_MASK; tmp 443 drivers/gpu/drm/radeon/rv515.c WREG32(R700_MC_CITF_CNTL, tmp); tmp 445 drivers/gpu/drm/radeon/rv515.c WREG32(R600_CITF_CNTL, tmp); tmp 452 drivers/gpu/drm/radeon/rv515.c tmp = RREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i]); tmp 453 drivers/gpu/drm/radeon/rv515.c tmp &= ~AVIVO_CRTC_DISP_READ_REQUEST_DISABLE; tmp 454 drivers/gpu/drm/radeon/rv515.c WREG32(AVIVO_D1CRTC_CONTROL + crtc_offsets[i], tmp); tmp 1241 drivers/gpu/drm/radeon/rv515.c u32 tmp; tmp 1257 drivers/gpu/drm/radeon/rv515.c tmp = wm0_high.lb_request_fifo_depth; tmp 1258 drivers/gpu/drm/radeon/rv515.c tmp |= wm1_high.lb_request_fifo_depth << 16; tmp 1259 drivers/gpu/drm/radeon/rv515.c WREG32(LB_MAX_REQ_OUTSTANDING, tmp); tmp 1278 drivers/gpu/drm/radeon/rv515.c uint32_t tmp; tmp 1298 drivers/gpu/drm/radeon/rv515.c tmp = RREG32_MC(MC_MISC_LAT_TIMER); tmp 1299 drivers/gpu/drm/radeon/rv515.c tmp &= ~MC_DISP1R_INIT_LAT_MASK; tmp 1300 drivers/gpu/drm/radeon/rv515.c tmp &= ~MC_DISP0R_INIT_LAT_MASK; tmp 1302 drivers/gpu/drm/radeon/rv515.c tmp |= (1 << MC_DISP1R_INIT_LAT_SHIFT); tmp 1304 drivers/gpu/drm/radeon/rv515.c tmp |= (1 << MC_DISP0R_INIT_LAT_SHIFT); tmp 1305 drivers/gpu/drm/radeon/rv515.c WREG32_MC(MC_MISC_LAT_TIMER, tmp); tmp 52 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp; tmp 55 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 56 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp &= LC_GEN2_EN; tmp 57 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 59 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 60 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= LC_INITIATE_LINK_SPEED_CHANGE; tmp 61 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 69 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 70 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp &= ~LC_INITIATE_LINK_SPEED_CHANGE; tmp 71 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 76 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp; tmp 78 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 80 drivers/gpu/drm/radeon/rv6xx_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) && tmp 81 drivers/gpu/drm/radeon/rv6xx_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) { tmp 82 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= LC_GEN2_EN; tmp 83 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 90 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp; tmp 92 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL) & ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 94 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= LC_HW_VOLTAGE_IF_CONTROL(1); tmp 96 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= LC_HW_VOLTAGE_IF_CONTROL(0); tmp 97 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 102 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp; tmp 104 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL) & ~LC_L0S_INACTIVITY_MASK; tmp 105 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= LC_L0S_INACTIVITY(3); tmp 106 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); tmp 111 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp; tmp 113 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL); tmp 114 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp &= ~LC_L1_INACTIVITY_MASK; tmp 115 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= LC_L1_INACTIVITY(4); tmp 116 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp &= ~LC_PMI_TO_L1_DIS; tmp 117 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp &= ~LC_ASPM_TO_L1_DIS; tmp 118 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); tmp 123 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp; tmp 125 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL) & ~LC_L1_INACTIVITY_MASK; tmp 126 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= LC_L1_INACTIVITY(8); tmp 127 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); tmp 130 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = RREG32_PCIE(PCIE_P_CNTL); tmp 131 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= P_PLL_PWRDN_IN_L1L23; tmp 132 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp &= ~P_PLL_BUF_PDNB; tmp 133 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp &= ~P_PLL_PDNB; tmp 134 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= P_ALLOW_PRX_FRONTEND_SHUTOFF; tmp 135 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_PCIE(PCIE_P_CNTL, tmp); tmp 412 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp = 1 << (2 * unit); tmp 414 drivers/gpu/drm/radeon/rv6xx_dpm.c return tmp; tmp 785 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp; tmp 787 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp = (RREG32(RAMCFG) & NOOFROWS_MASK) >> NOOFROWS_SHIFT; tmp 788 drivers/gpu/drm/radeon/rv6xx_dpm.c dram_rows = 1 << (tmp + 10); tmp 983 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp = (DISP1_GAP(R600_PM_DISPLAY_GAP_VBLANK_OR_WM) | tmp 989 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 1182 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 tmp = RREG32(CG_DISPLAY_GAP_CNTL); tmp 1184 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp &= ~(DISP1_GAP_MCHG_MASK | DISP2_GAP_MCHG_MASK); tmp 1186 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_VBLANK); tmp 1187 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= DISP2_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE); tmp 1189 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE); tmp 1190 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= DISP2_GAP_MCHG(R600_PM_DISPLAY_GAP_VBLANK); tmp 1192 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE); tmp 1193 drivers/gpu/drm/radeon/rv6xx_dpm.c tmp |= DISP2_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE); tmp 1195 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 50 drivers/gpu/drm/radeon/rv730_dpm.c u64 tmp; tmp 69 drivers/gpu/drm/radeon/rv730_dpm.c tmp = (u64) engine_clock * reference_divider * post_divider * 16384; tmp 70 drivers/gpu/drm/radeon/rv730_dpm.c do_div(tmp, reference_clock); tmp 71 drivers/gpu/drm/radeon/rv730_dpm.c fbdiv = (u32) tmp; tmp 130 drivers/gpu/drm/radeon/rv740_dpm.c u64 tmp; tmp 143 drivers/gpu/drm/radeon/rv740_dpm.c tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; tmp 144 drivers/gpu/drm/radeon/rv740_dpm.c do_div(tmp, reference_clock); tmp 145 drivers/gpu/drm/radeon/rv740_dpm.c fbdiv = (u32) tmp; tmp 797 drivers/gpu/drm/radeon/rv770.c u32 tmp = RREG32(CG_CLKPIN_CNTL); tmp 799 drivers/gpu/drm/radeon/rv770.c if (tmp & MUX_TCLK_TO_XCLK) tmp 802 drivers/gpu/drm/radeon/rv770.c if (tmp & XTALIN_DIVIDE) tmp 811 drivers/gpu/drm/radeon/rv770.c u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); tmp 815 drivers/gpu/drm/radeon/rv770.c tmp |= AVIVO_D1GRPH_UPDATE_LOCK; tmp 816 drivers/gpu/drm/radeon/rv770.c WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); tmp 842 drivers/gpu/drm/radeon/rv770.c tmp &= ~AVIVO_D1GRPH_UPDATE_LOCK; tmp 843 drivers/gpu/drm/radeon/rv770.c WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); tmp 899 drivers/gpu/drm/radeon/rv770.c u32 tmp; tmp 916 drivers/gpu/drm/radeon/rv770.c tmp = ENABLE_L1_TLB | ENABLE_L1_FRAGMENT_PROCESSING | tmp 920 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB0_CNTL, tmp); tmp 921 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB1_CNTL, tmp); tmp 922 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB2_CNTL, tmp); tmp 924 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB3_CNTL, tmp); tmp 925 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB0_CNTL, tmp); tmp 926 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB1_CNTL, tmp); tmp 927 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB2_CNTL, tmp); tmp 928 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB3_CNTL, tmp); tmp 949 drivers/gpu/drm/radeon/rv770.c u32 tmp; tmp 962 drivers/gpu/drm/radeon/rv770.c tmp = EFFECTIVE_L1_TLB_SIZE(5) | EFFECTIVE_L1_QUEUE_SIZE(5); tmp 963 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB0_CNTL, tmp); tmp 964 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB1_CNTL, tmp); tmp 965 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB2_CNTL, tmp); tmp 966 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB0_CNTL, tmp); tmp 967 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB1_CNTL, tmp); tmp 968 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB2_CNTL, tmp); tmp 969 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB3_CNTL, tmp); tmp 983 drivers/gpu/drm/radeon/rv770.c u32 tmp; tmp 993 drivers/gpu/drm/radeon/rv770.c tmp = ENABLE_L1_TLB | ENABLE_L1_FRAGMENT_PROCESSING | tmp 997 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB0_CNTL, tmp); tmp 998 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB1_CNTL, tmp); tmp 999 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MD_L1_TLB2_CNTL, tmp); tmp 1000 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB0_CNTL, tmp); tmp 1001 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB1_CNTL, tmp); tmp 1002 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB2_CNTL, tmp); tmp 1003 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_MB_L1_TLB3_CNTL, tmp); tmp 1011 drivers/gpu/drm/radeon/rv770.c u32 tmp; tmp 1025 drivers/gpu/drm/radeon/rv770.c tmp = RREG32(HDP_DEBUG1); tmp 1055 drivers/gpu/drm/radeon/rv770.c tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; tmp 1056 drivers/gpu/drm/radeon/rv770.c tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); tmp 1057 drivers/gpu/drm/radeon/rv770.c WREG32(MC_VM_FB_LOCATION, tmp); tmp 1140 drivers/gpu/drm/radeon/rv770.c u32 tmp, i; tmp 1145 drivers/gpu/drm/radeon/rv770.c tmp = RREG32(CG_SPLL_FUNC_CNTL_2); tmp 1146 drivers/gpu/drm/radeon/rv770.c tmp &= SCLK_MUX_SEL_MASK; tmp 1147 drivers/gpu/drm/radeon/rv770.c tmp |= SCLK_MUX_SEL(1) | SCLK_MUX_UPDATE; tmp 1148 drivers/gpu/drm/radeon/rv770.c WREG32(CG_SPLL_FUNC_CNTL_2, tmp); tmp 1156 drivers/gpu/drm/radeon/rv770.c tmp &= ~SCLK_MUX_UPDATE; tmp 1157 drivers/gpu/drm/radeon/rv770.c WREG32(CG_SPLL_FUNC_CNTL_2, tmp); tmp 1159 drivers/gpu/drm/radeon/rv770.c tmp = RREG32(MPLL_CNTL_MODE); tmp 1161 drivers/gpu/drm/radeon/rv770.c tmp &= ~RV730_MPLL_MCLK_SEL; tmp 1163 drivers/gpu/drm/radeon/rv770.c tmp &= ~MPLL_MCLK_SEL; tmp 1164 drivers/gpu/drm/radeon/rv770.c WREG32(MPLL_CNTL_MODE, tmp); tmp 1188 drivers/gpu/drm/radeon/rv770.c u32 db_debug4, tmp; tmp 1307 drivers/gpu/drm/radeon/rv770.c for (i = 0, tmp = 1, active_number = 0; i < R7XX_MAX_PIPES; i++) { tmp 1308 drivers/gpu/drm/radeon/rv770.c if (!(inactive_pipes & tmp)) { tmp 1311 drivers/gpu/drm/radeon/rv770.c tmp <<= 1; tmp 1320 drivers/gpu/drm/radeon/rv770.c tmp = rdev->config.rv770.max_simds - tmp 1322 drivers/gpu/drm/radeon/rv770.c rdev->config.rv770.active_simds = tmp; tmp 1342 drivers/gpu/drm/radeon/rv770.c tmp = 0; tmp 1344 drivers/gpu/drm/radeon/rv770.c tmp |= (1 << i); tmp 1346 drivers/gpu/drm/radeon/rv770.c if ((disabled_rb_mask & tmp) == tmp) { tmp 1350 drivers/gpu/drm/radeon/rv770.c tmp = (gb_tiling_config & PIPE_TILING__MASK) >> PIPE_TILING__SHIFT; tmp 1351 drivers/gpu/drm/radeon/rv770.c tmp = r6xx_remap_render_backend(rdev, tmp, rdev->config.rv770.max_backends, tmp 1353 drivers/gpu/drm/radeon/rv770.c gb_tiling_config |= tmp << 16; tmp 1354 drivers/gpu/drm/radeon/rv770.c rdev->config.rv770.backend_map = tmp; tmp 1647 drivers/gpu/drm/radeon/rv770.c u32 tmp; tmp 1652 drivers/gpu/drm/radeon/rv770.c tmp = RREG32(MC_ARB_RAMCFG); tmp 1653 drivers/gpu/drm/radeon/rv770.c if (tmp & CHANSIZE_OVERRIDE) { tmp 1655 drivers/gpu/drm/radeon/rv770.c } else if (tmp & CHANSIZE_MASK) { tmp 1660 drivers/gpu/drm/radeon/rv770.c tmp = RREG32(MC_SHARED_CHMAP); tmp 1661 drivers/gpu/drm/radeon/rv770.c switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { tmp 2027 drivers/gpu/drm/radeon/rv770.c u32 link_width_cntl, lanes, speed_cntl, tmp; tmp 2070 drivers/gpu/drm/radeon/rv770.c tmp = RREG32(0x541c); tmp 2071 drivers/gpu/drm/radeon/rv770.c WREG32(0x541c, tmp | 0x8); tmp 72 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp; tmp 74 drivers/gpu/drm/radeon/rv770_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 76 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 77 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= LC_HW_VOLTAGE_IF_CONTROL(1); tmp 78 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= LC_GEN2_EN_STRAP; tmp 81 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~LC_HW_VOLTAGE_IF_CONTROL_MASK; tmp 82 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~LC_GEN2_EN_STRAP; tmp 85 drivers/gpu/drm/radeon/rv770_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) || tmp 86 drivers/gpu/drm/radeon/rv770_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) tmp 87 drivers/gpu/drm/radeon/rv770_dpm.c WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); tmp 93 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp; tmp 95 drivers/gpu/drm/radeon/rv770_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL) & ~LC_L0S_INACTIVITY_MASK; tmp 96 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= LC_L0S_INACTIVITY(3); tmp 97 drivers/gpu/drm/radeon/rv770_dpm.c WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); tmp 102 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp; tmp 104 drivers/gpu/drm/radeon/rv770_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL); tmp 105 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~LC_L1_INACTIVITY_MASK; tmp 106 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= LC_L1_INACTIVITY(4); tmp 107 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~LC_PMI_TO_L1_DIS; tmp 108 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~LC_ASPM_TO_L1_DIS; tmp 109 drivers/gpu/drm/radeon/rv770_dpm.c WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); tmp 114 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp; tmp 116 drivers/gpu/drm/radeon/rv770_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL) & ~LC_L1_INACTIVITY_MASK; tmp 117 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= LC_L1_INACTIVITY(8); tmp 118 drivers/gpu/drm/radeon/rv770_dpm.c WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); tmp 121 drivers/gpu/drm/radeon/rv770_dpm.c tmp = RREG32_PCIE(PCIE_P_CNTL); tmp 122 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= P_PLL_PWRDN_IN_L1L23; tmp 123 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~P_PLL_BUF_PDNB; tmp 124 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~P_PLL_PDNB; tmp 125 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= P_ALLOW_PRX_FRONTEND_SHUTOFF; tmp 126 drivers/gpu/drm/radeon/rv770_dpm.c WREG32_PCIE(PCIE_P_CNTL, tmp); tmp 499 drivers/gpu/drm/radeon/rv770_dpm.c u64 tmp; tmp 517 drivers/gpu/drm/radeon/rv770_dpm.c tmp = (u64) engine_clock * reference_divider * post_divider * 16384; tmp 518 drivers/gpu/drm/radeon/rv770_dpm.c do_div(tmp, reference_clock); tmp 519 drivers/gpu/drm/radeon/rv770_dpm.c fbdiv = (u32) tmp; tmp 727 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp; tmp 729 drivers/gpu/drm/radeon/rv770_dpm.c tmp = (RREG32(MC_ARB_RAMCFG) & NOOFROWS_MASK) >> NOOFROWS_SHIFT; tmp 730 drivers/gpu/drm/radeon/rv770_dpm.c dram_rows = 1 << (tmp + 10); tmp 731 drivers/gpu/drm/radeon/rv770_dpm.c tmp = RREG32(MC_SEQ_MISC0) & 3; tmp 732 drivers/gpu/drm/radeon/rv770_dpm.c dram_refresh_rate = 1 << (tmp + 3); tmp 879 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp = RREG32(CG_DISPLAY_GAP_CNTL); tmp 881 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~(DISP1_GAP_MCHG_MASK | DISP2_GAP_MCHG_MASK); tmp 882 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= (DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE) | tmp 884 drivers/gpu/drm/radeon/rv770_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 1343 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp = RREG32(CG_DISPLAY_GAP_CNTL); tmp 1345 drivers/gpu/drm/radeon/rv770_dpm.c tmp &= ~(DISP1_GAP_MCHG_MASK | DISP2_GAP_MCHG_MASK); tmp 1347 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_VBLANK); tmp 1348 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= DISP2_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE); tmp 1350 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE); tmp 1351 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= DISP2_GAP_MCHG(R600_PM_DISPLAY_GAP_VBLANK); tmp 1353 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE); tmp 1354 drivers/gpu/drm/radeon/rv770_dpm.c tmp |= DISP2_GAP_MCHG(R600_PM_DISPLAY_GAP_IGNORE); tmp 1356 drivers/gpu/drm/radeon/rv770_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 1592 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp; tmp 1594 drivers/gpu/drm/radeon/rv770_dpm.c tmp = RREG32(MC_SEQ_MISC0); tmp 1596 drivers/gpu/drm/radeon/rv770_dpm.c if (((tmp & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT) == tmp 1607 drivers/gpu/drm/radeon/rv770_dpm.c u32 tmp; tmp 1609 drivers/gpu/drm/radeon/rv770_dpm.c tmp = RREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL); tmp 1611 drivers/gpu/drm/radeon/rv770_dpm.c if ((tmp & LC_OTHER_SIDE_EVER_SENT_GEN2) && tmp 1612 drivers/gpu/drm/radeon/rv770_dpm.c (tmp & LC_OTHER_SIDE_SUPPORTS_GEN2)) tmp 1618 drivers/gpu/drm/radeon/rv770_dpm.c if (tmp & LC_CURRENT_DATA_RATE) tmp 366 drivers/gpu/drm/radeon/rv770_smc.c u32 tmp, i; tmp 372 drivers/gpu/drm/radeon/rv770_smc.c tmp = FIRST_SMC_INT_VECT_REG - smc_first_vector; tmp 374 drivers/gpu/drm/radeon/rv770_smc.c if (tmp > byte_count) tmp 377 drivers/gpu/drm/radeon/rv770_smc.c byte_count -= tmp; tmp 378 drivers/gpu/drm/radeon/rv770_smc.c src += tmp; tmp 384 drivers/gpu/drm/radeon/rv770_smc.c tmp = (src[i] << 24) | (src[i + 1] << 16) | (src[i + 2] << 8) | src[i + 3]; tmp 386 drivers/gpu/drm/radeon/rv770_smc.c WREG32(SMC_ISR_FFD8_FFDB + i, tmp); tmp 414 drivers/gpu/drm/radeon/rv770_smc.c u32 tmp; tmp 416 drivers/gpu/drm/radeon/rv770_smc.c tmp = RREG32(SMC_IO); tmp 418 drivers/gpu/drm/radeon/rv770_smc.c if ((tmp & SMC_RST_N) && (tmp & SMC_CLK_EN)) tmp 426 drivers/gpu/drm/radeon/rv770_smc.c u32 tmp; tmp 436 drivers/gpu/drm/radeon/rv770_smc.c tmp = RREG32(SMC_MSG) & HOST_SMC_RESP_MASK; tmp 437 drivers/gpu/drm/radeon/rv770_smc.c tmp >>= HOST_SMC_RESP_SHIFT; tmp 438 drivers/gpu/drm/radeon/rv770_smc.c if (tmp != 0) tmp 443 drivers/gpu/drm/radeon/rv770_smc.c tmp = RREG32(SMC_MSG) & HOST_SMC_RESP_MASK; tmp 444 drivers/gpu/drm/radeon/rv770_smc.c tmp >>= HOST_SMC_RESP_SHIFT; tmp 446 drivers/gpu/drm/radeon/rv770_smc.c result = (PPSMC_Result)tmp; tmp 1346 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 1348 drivers/gpu/drm/radeon/si.c tmp = RREG32(CG_CLKPIN_CNTL_2); tmp 1349 drivers/gpu/drm/radeon/si.c if (tmp & MUX_TCLK_TO_XCLK) tmp 1352 drivers/gpu/drm/radeon/si.c tmp = RREG32(CG_CLKPIN_CNTL); tmp 1353 drivers/gpu/drm/radeon/si.c if (tmp & XTALIN_DIVIDE) tmp 1976 drivers/gpu/drm/radeon/si.c u32 tmp, buffer_alloc, i; tmp 1993 drivers/gpu/drm/radeon/si.c tmp = 0; /* 1/2 */ tmp 1996 drivers/gpu/drm/radeon/si.c tmp = 2; /* whole */ tmp 2000 drivers/gpu/drm/radeon/si.c tmp = 0; tmp 2005 drivers/gpu/drm/radeon/si.c DC_LB_MEMORY_CONFIG(tmp)); tmp 2017 drivers/gpu/drm/radeon/si.c switch (tmp) { tmp 2032 drivers/gpu/drm/radeon/si.c u32 tmp = RREG32(MC_SHARED_CHMAP); tmp 2034 drivers/gpu/drm/radeon/si.c switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { tmp 2216 drivers/gpu/drm/radeon/si.c u32 tmp, dmif_size = 12288; tmp 2235 drivers/gpu/drm/radeon/si.c tmp = div_u64((u64) dmif_size * (u64) wm->disp_clk, mc_latency + 512); tmp 2236 drivers/gpu/drm/radeon/si.c tmp = min(dfixed_trunc(a), tmp); tmp 2238 drivers/gpu/drm/radeon/si.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); tmp 2311 drivers/gpu/drm/radeon/si.c u32 tmp, arb_control3; tmp 2436 drivers/gpu/drm/radeon/si.c tmp = arb_control3; tmp 2437 drivers/gpu/drm/radeon/si.c tmp &= ~LATENCY_WATERMARK_MASK(3); tmp 2438 drivers/gpu/drm/radeon/si.c tmp |= LATENCY_WATERMARK_MASK(1); tmp 2439 drivers/gpu/drm/radeon/si.c WREG32(DPG_PIPE_ARBITRATION_CONTROL3 + radeon_crtc->crtc_offset, tmp); tmp 2444 drivers/gpu/drm/radeon/si.c tmp = RREG32(DPG_PIPE_ARBITRATION_CONTROL3 + radeon_crtc->crtc_offset); tmp 2445 drivers/gpu/drm/radeon/si.c tmp &= ~LATENCY_WATERMARK_MASK(3); tmp 2446 drivers/gpu/drm/radeon/si.c tmp |= LATENCY_WATERMARK_MASK(2); tmp 2447 drivers/gpu/drm/radeon/si.c WREG32(DPG_PIPE_ARBITRATION_CONTROL3 + radeon_crtc->crtc_offset, tmp); tmp 3099 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 3213 drivers/gpu/drm/radeon/si.c tmp = (mc_arb_ramcfg & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT; tmp 3214 drivers/gpu/drm/radeon/si.c rdev->config.si.mem_row_size_in_kb = (4 * (1 << (8 + tmp))) / 1024; tmp 3347 drivers/gpu/drm/radeon/si.c tmp = RREG32(HDP_MISC_CNTL); tmp 3348 drivers/gpu/drm/radeon/si.c tmp |= HDP_FLUSH_INVALIDATE_CACHE; tmp 3349 drivers/gpu/drm/radeon/si.c WREG32(HDP_MISC_CNTL, tmp); tmp 3651 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 3670 drivers/gpu/drm/radeon/si.c tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 3672 drivers/gpu/drm/radeon/si.c tmp |= BUF_SWAP_32BIT; tmp 3674 drivers/gpu/drm/radeon/si.c WREG32(CP_RB0_CNTL, tmp); tmp 3677 drivers/gpu/drm/radeon/si.c WREG32(CP_RB0_CNTL, tmp | RB_RPTR_WR_ENA); tmp 3688 drivers/gpu/drm/radeon/si.c tmp |= RB_NO_UPDATE; tmp 3693 drivers/gpu/drm/radeon/si.c WREG32(CP_RB0_CNTL, tmp); tmp 3701 drivers/gpu/drm/radeon/si.c tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 3703 drivers/gpu/drm/radeon/si.c tmp |= BUF_SWAP_32BIT; tmp 3705 drivers/gpu/drm/radeon/si.c WREG32(CP_RB1_CNTL, tmp); tmp 3708 drivers/gpu/drm/radeon/si.c WREG32(CP_RB1_CNTL, tmp | RB_RPTR_WR_ENA); tmp 3717 drivers/gpu/drm/radeon/si.c WREG32(CP_RB1_CNTL, tmp); tmp 3725 drivers/gpu/drm/radeon/si.c tmp = (order_base_2(RADEON_GPU_PAGE_SIZE/8) << 8) | rb_bufsz; tmp 3727 drivers/gpu/drm/radeon/si.c tmp |= BUF_SWAP_32BIT; tmp 3729 drivers/gpu/drm/radeon/si.c WREG32(CP_RB2_CNTL, tmp); tmp 3732 drivers/gpu/drm/radeon/si.c WREG32(CP_RB2_CNTL, tmp | RB_RPTR_WR_ENA); tmp 3741 drivers/gpu/drm/radeon/si.c WREG32(CP_RB2_CNTL, tmp); tmp 3777 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 3780 drivers/gpu/drm/radeon/si.c tmp = RREG32(GRBM_STATUS); tmp 3781 drivers/gpu/drm/radeon/si.c if (tmp & (PA_BUSY | SC_BUSY | tmp 3789 drivers/gpu/drm/radeon/si.c if (tmp & (CF_RQ_PENDING | PF_RQ_PENDING | tmp 3793 drivers/gpu/drm/radeon/si.c if (tmp & GRBM_EE_BUSY) tmp 3797 drivers/gpu/drm/radeon/si.c tmp = RREG32(GRBM_STATUS2); tmp 3798 drivers/gpu/drm/radeon/si.c if (tmp & (RLC_RQ_PENDING | RLC_BUSY)) tmp 3802 drivers/gpu/drm/radeon/si.c tmp = RREG32(DMA_STATUS_REG + DMA0_REGISTER_OFFSET); tmp 3803 drivers/gpu/drm/radeon/si.c if (!(tmp & DMA_IDLE)) tmp 3807 drivers/gpu/drm/radeon/si.c tmp = RREG32(DMA_STATUS_REG + DMA1_REGISTER_OFFSET); tmp 3808 drivers/gpu/drm/radeon/si.c if (!(tmp & DMA_IDLE)) tmp 3812 drivers/gpu/drm/radeon/si.c tmp = RREG32(SRBM_STATUS2); tmp 3813 drivers/gpu/drm/radeon/si.c if (tmp & DMA_BUSY) tmp 3816 drivers/gpu/drm/radeon/si.c if (tmp & DMA1_BUSY) tmp 3820 drivers/gpu/drm/radeon/si.c tmp = RREG32(SRBM_STATUS); tmp 3822 drivers/gpu/drm/radeon/si.c if (tmp & IH_BUSY) tmp 3825 drivers/gpu/drm/radeon/si.c if (tmp & SEM_BUSY) tmp 3828 drivers/gpu/drm/radeon/si.c if (tmp & GRBM_RQ_PENDING) tmp 3831 drivers/gpu/drm/radeon/si.c if (tmp & VMC_BUSY) tmp 3834 drivers/gpu/drm/radeon/si.c if (tmp & (MCB_BUSY | MCB_NON_DISPLAY_BUSY | tmp 3842 drivers/gpu/drm/radeon/si.c tmp = RREG32(VM_L2_STATUS); tmp 3843 drivers/gpu/drm/radeon/si.c if (tmp & L2_BUSY) tmp 3859 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 3884 drivers/gpu/drm/radeon/si.c tmp = RREG32(DMA_RB_CNTL + DMA0_REGISTER_OFFSET); tmp 3885 drivers/gpu/drm/radeon/si.c tmp &= ~DMA_RB_ENABLE; tmp 3886 drivers/gpu/drm/radeon/si.c WREG32(DMA_RB_CNTL + DMA0_REGISTER_OFFSET, tmp); tmp 3890 drivers/gpu/drm/radeon/si.c tmp = RREG32(DMA_RB_CNTL + DMA1_REGISTER_OFFSET); tmp 3891 drivers/gpu/drm/radeon/si.c tmp &= ~DMA_RB_ENABLE; tmp 3892 drivers/gpu/drm/radeon/si.c WREG32(DMA_RB_CNTL + DMA1_REGISTER_OFFSET, tmp); tmp 3951 drivers/gpu/drm/radeon/si.c tmp = RREG32(GRBM_SOFT_RESET); tmp 3952 drivers/gpu/drm/radeon/si.c tmp |= grbm_soft_reset; tmp 3953 drivers/gpu/drm/radeon/si.c dev_info(rdev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); tmp 3954 drivers/gpu/drm/radeon/si.c WREG32(GRBM_SOFT_RESET, tmp); tmp 3955 drivers/gpu/drm/radeon/si.c tmp = RREG32(GRBM_SOFT_RESET); tmp 3959 drivers/gpu/drm/radeon/si.c tmp &= ~grbm_soft_reset; tmp 3960 drivers/gpu/drm/radeon/si.c WREG32(GRBM_SOFT_RESET, tmp); tmp 3961 drivers/gpu/drm/radeon/si.c tmp = RREG32(GRBM_SOFT_RESET); tmp 3965 drivers/gpu/drm/radeon/si.c tmp = RREG32(SRBM_SOFT_RESET); tmp 3966 drivers/gpu/drm/radeon/si.c tmp |= srbm_soft_reset; tmp 3967 drivers/gpu/drm/radeon/si.c dev_info(rdev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); tmp 3968 drivers/gpu/drm/radeon/si.c WREG32(SRBM_SOFT_RESET, tmp); tmp 3969 drivers/gpu/drm/radeon/si.c tmp = RREG32(SRBM_SOFT_RESET); tmp 3973 drivers/gpu/drm/radeon/si.c tmp &= ~srbm_soft_reset; tmp 3974 drivers/gpu/drm/radeon/si.c WREG32(SRBM_SOFT_RESET, tmp); tmp 3975 drivers/gpu/drm/radeon/si.c tmp = RREG32(SRBM_SOFT_RESET); tmp 3989 drivers/gpu/drm/radeon/si.c u32 tmp, i; tmp 3991 drivers/gpu/drm/radeon/si.c tmp = RREG32(CG_SPLL_FUNC_CNTL); tmp 3992 drivers/gpu/drm/radeon/si.c tmp |= SPLL_BYPASS_EN; tmp 3993 drivers/gpu/drm/radeon/si.c WREG32(CG_SPLL_FUNC_CNTL, tmp); tmp 3995 drivers/gpu/drm/radeon/si.c tmp = RREG32(CG_SPLL_FUNC_CNTL_2); tmp 3996 drivers/gpu/drm/radeon/si.c tmp |= SPLL_CTLREQ_CHG; tmp 3997 drivers/gpu/drm/radeon/si.c WREG32(CG_SPLL_FUNC_CNTL_2, tmp); tmp 4005 drivers/gpu/drm/radeon/si.c tmp = RREG32(CG_SPLL_FUNC_CNTL_2); tmp 4006 drivers/gpu/drm/radeon/si.c tmp &= ~(SPLL_CTLREQ_CHG | SCLK_MUX_UPDATE); tmp 4007 drivers/gpu/drm/radeon/si.c WREG32(CG_SPLL_FUNC_CNTL_2, tmp); tmp 4009 drivers/gpu/drm/radeon/si.c tmp = RREG32(MPLL_CNTL_MODE); tmp 4010 drivers/gpu/drm/radeon/si.c tmp &= ~MPLL_MCLK_SEL; tmp 4011 drivers/gpu/drm/radeon/si.c WREG32(MPLL_CNTL_MODE, tmp); tmp 4016 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 4018 drivers/gpu/drm/radeon/si.c tmp = RREG32(SPLL_CNTL_MODE); tmp 4019 drivers/gpu/drm/radeon/si.c tmp |= SPLL_SW_DIR_CONTROL; tmp 4020 drivers/gpu/drm/radeon/si.c WREG32(SPLL_CNTL_MODE, tmp); tmp 4022 drivers/gpu/drm/radeon/si.c tmp = RREG32(CG_SPLL_FUNC_CNTL); tmp 4023 drivers/gpu/drm/radeon/si.c tmp |= SPLL_RESET; tmp 4024 drivers/gpu/drm/radeon/si.c WREG32(CG_SPLL_FUNC_CNTL, tmp); tmp 4026 drivers/gpu/drm/radeon/si.c tmp = RREG32(CG_SPLL_FUNC_CNTL); tmp 4027 drivers/gpu/drm/radeon/si.c tmp |= SPLL_SLEEP; tmp 4028 drivers/gpu/drm/radeon/si.c WREG32(CG_SPLL_FUNC_CNTL, tmp); tmp 4030 drivers/gpu/drm/radeon/si.c tmp = RREG32(SPLL_CNTL_MODE); tmp 4031 drivers/gpu/drm/radeon/si.c tmp &= ~SPLL_SW_DIR_CONTROL; tmp 4032 drivers/gpu/drm/radeon/si.c WREG32(SPLL_CNTL_MODE, tmp); tmp 4038 drivers/gpu/drm/radeon/si.c u32 tmp, i; tmp 4051 drivers/gpu/drm/radeon/si.c tmp = RREG32(DMA_RB_CNTL + DMA0_REGISTER_OFFSET); tmp 4052 drivers/gpu/drm/radeon/si.c tmp &= ~DMA_RB_ENABLE; tmp 4053 drivers/gpu/drm/radeon/si.c WREG32(DMA_RB_CNTL + DMA0_REGISTER_OFFSET, tmp); tmp 4055 drivers/gpu/drm/radeon/si.c tmp = RREG32(DMA_RB_CNTL + DMA1_REGISTER_OFFSET); tmp 4056 drivers/gpu/drm/radeon/si.c tmp &= ~DMA_RB_ENABLE; tmp 4057 drivers/gpu/drm/radeon/si.c WREG32(DMA_RB_CNTL + DMA1_REGISTER_OFFSET, tmp); tmp 4144 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 4171 drivers/gpu/drm/radeon/si.c tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; tmp 4172 drivers/gpu/drm/radeon/si.c tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); tmp 4173 drivers/gpu/drm/radeon/si.c WREG32(MC_VM_FB_LOCATION, tmp); tmp 4208 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 4213 drivers/gpu/drm/radeon/si.c tmp = RREG32(MC_ARB_RAMCFG); tmp 4214 drivers/gpu/drm/radeon/si.c if (tmp & CHANSIZE_OVERRIDE) { tmp 4216 drivers/gpu/drm/radeon/si.c } else if (tmp & CHANSIZE_MASK) { tmp 4221 drivers/gpu/drm/radeon/si.c tmp = RREG32(MC_SHARED_CHMAP); tmp 4222 drivers/gpu/drm/radeon/si.c switch ((tmp & NOOFCHAN_MASK) >> NOOFCHAN_SHIFT) { tmp 4257 drivers/gpu/drm/radeon/si.c tmp = RREG32(CONFIG_MEMSIZE); tmp 4259 drivers/gpu/drm/radeon/si.c if (tmp & 0xffff0000) { tmp 4260 drivers/gpu/drm/radeon/si.c DRM_INFO("Probable bad vram size: 0x%08x\n", tmp); tmp 4261 drivers/gpu/drm/radeon/si.c if (tmp & 0xffff) tmp 4262 drivers/gpu/drm/radeon/si.c tmp &= 0xffff; tmp 4264 drivers/gpu/drm/radeon/si.c rdev->mc.mc_vram_size = tmp * 1024ULL * 1024ULL; tmp 5148 drivers/gpu/drm/radeon/si.c u32 tmp = RREG32(CP_INT_CNTL_RING0); tmp 5153 drivers/gpu/drm/radeon/si.c tmp |= (CNTX_BUSY_INT_ENABLE | CNTX_EMPTY_INT_ENABLE); tmp 5155 drivers/gpu/drm/radeon/si.c tmp &= ~(CNTX_BUSY_INT_ENABLE | CNTX_EMPTY_INT_ENABLE); tmp 5156 drivers/gpu/drm/radeon/si.c WREG32(CP_INT_CNTL_RING0, tmp); tmp 5160 drivers/gpu/drm/radeon/si.c tmp = RREG32(DB_DEPTH_INFO); tmp 5174 drivers/gpu/drm/radeon/si.c u32 tmp, tmp2; tmp 5176 drivers/gpu/drm/radeon/si.c tmp = RREG32(UVD_CGC_CTRL); tmp 5177 drivers/gpu/drm/radeon/si.c tmp &= ~(CLK_OD_MASK | CG_DT_MASK); tmp 5178 drivers/gpu/drm/radeon/si.c tmp |= DCM | CG_DT(1) | CLK_OD(4); tmp 5181 drivers/gpu/drm/radeon/si.c tmp &= ~0x7ffff800; tmp 5184 drivers/gpu/drm/radeon/si.c tmp |= 0x7ffff800; tmp 5188 drivers/gpu/drm/radeon/si.c WREG32(UVD_CGC_CTRL, tmp); tmp 5199 drivers/gpu/drm/radeon/si.c u32 tmp = RREG32(UVD_CGC_CTRL); tmp 5200 drivers/gpu/drm/radeon/si.c tmp &= ~DCM; tmp 5201 drivers/gpu/drm/radeon/si.c WREG32(UVD_CGC_CTRL, tmp); tmp 5223 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 5225 drivers/gpu/drm/radeon/si.c tmp = RREG32(RLC_CNTL); tmp 5226 drivers/gpu/drm/radeon/si.c if (tmp != rlc) tmp 5245 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 5250 drivers/gpu/drm/radeon/si.c for (tmp = 0; tmp < 5; tmp++) tmp 5257 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 5260 drivers/gpu/drm/radeon/si.c tmp = RLC_PUD(0x10) | RLC_PDD(0x10) | RLC_TTPD(0x10) | RLC_MSD(0x10); tmp 5261 drivers/gpu/drm/radeon/si.c WREG32(RLC_TTOP_D, tmp); tmp 5263 drivers/gpu/drm/radeon/si.c tmp = RREG32(RLC_PG_CNTL); tmp 5264 drivers/gpu/drm/radeon/si.c tmp |= GFX_PG_ENABLE; tmp 5265 drivers/gpu/drm/radeon/si.c WREG32(RLC_PG_CNTL, tmp); tmp 5267 drivers/gpu/drm/radeon/si.c tmp = RREG32(RLC_AUTO_PG_CTRL); tmp 5268 drivers/gpu/drm/radeon/si.c tmp |= AUTO_PG_EN; tmp 5269 drivers/gpu/drm/radeon/si.c WREG32(RLC_AUTO_PG_CTRL, tmp); tmp 5271 drivers/gpu/drm/radeon/si.c tmp = RREG32(RLC_AUTO_PG_CTRL); tmp 5272 drivers/gpu/drm/radeon/si.c tmp &= ~AUTO_PG_EN; tmp 5273 drivers/gpu/drm/radeon/si.c WREG32(RLC_AUTO_PG_CTRL, tmp); tmp 5275 drivers/gpu/drm/radeon/si.c tmp = RREG32(DB_RENDER_CONTROL); tmp 5281 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 5285 drivers/gpu/drm/radeon/si.c tmp = RREG32(RLC_PG_CNTL); tmp 5286 drivers/gpu/drm/radeon/si.c tmp |= GFX_PG_SRC; tmp 5287 drivers/gpu/drm/radeon/si.c WREG32(RLC_PG_CNTL, tmp); tmp 5291 drivers/gpu/drm/radeon/si.c tmp = RREG32(RLC_AUTO_PG_CTRL); tmp 5293 drivers/gpu/drm/radeon/si.c tmp &= ~GRBM_REG_SGIT_MASK; tmp 5294 drivers/gpu/drm/radeon/si.c tmp |= GRBM_REG_SGIT(0x700); tmp 5295 drivers/gpu/drm/radeon/si.c tmp &= ~PG_AFTER_GRBM_REG_ST_MASK; tmp 5296 drivers/gpu/drm/radeon/si.c WREG32(RLC_AUTO_PG_CTRL, tmp); tmp 5301 drivers/gpu/drm/radeon/si.c u32 mask = 0, tmp, tmp1; tmp 5305 drivers/gpu/drm/radeon/si.c tmp = RREG32(CC_GC_SHADER_ARRAY_CONFIG); tmp 5309 drivers/gpu/drm/radeon/si.c tmp &= 0xffff0000; tmp 5311 drivers/gpu/drm/radeon/si.c tmp |= tmp1; tmp 5312 drivers/gpu/drm/radeon/si.c tmp >>= 16; tmp 5319 drivers/gpu/drm/radeon/si.c return (~tmp) & mask; tmp 5326 drivers/gpu/drm/radeon/si.c u32 tmp = 0; tmp 5343 drivers/gpu/drm/radeon/si.c tmp |= (cu_bitmap << (i * 16 + j * 8)); tmp 5347 drivers/gpu/drm/radeon/si.c WREG32(RLC_PG_AO_CU_MASK, tmp); tmp 5349 drivers/gpu/drm/radeon/si.c tmp = RREG32(RLC_MAX_PG_CU); tmp 5350 drivers/gpu/drm/radeon/si.c tmp &= ~MAX_PU_CU_MASK; tmp 5351 drivers/gpu/drm/radeon/si.c tmp |= MAX_PU_CU(active_cu_number); tmp 5352 drivers/gpu/drm/radeon/si.c WREG32(RLC_MAX_PG_CU, tmp); tmp 5358 drivers/gpu/drm/radeon/si.c u32 data, orig, tmp; tmp 5367 drivers/gpu/drm/radeon/si.c tmp = si_halt_rlc(rdev); tmp 5375 drivers/gpu/drm/radeon/si.c si_update_rlc(rdev, tmp); tmp 5398 drivers/gpu/drm/radeon/si.c u32 data, orig, tmp = 0; tmp 5418 drivers/gpu/drm/radeon/si.c tmp = si_halt_rlc(rdev); tmp 5424 drivers/gpu/drm/radeon/si.c si_update_rlc(rdev, tmp); tmp 5441 drivers/gpu/drm/radeon/si.c tmp = si_halt_rlc(rdev); tmp 5447 drivers/gpu/drm/radeon/si.c si_update_rlc(rdev, tmp); tmp 5454 drivers/gpu/drm/radeon/si.c u32 orig, data, tmp; tmp 5457 drivers/gpu/drm/radeon/si.c tmp = RREG32_UVD_CTX(UVD_CGC_MEM_CTRL); tmp 5458 drivers/gpu/drm/radeon/si.c tmp |= 0x3fff; tmp 5459 drivers/gpu/drm/radeon/si.c WREG32_UVD_CTX(UVD_CGC_MEM_CTRL, tmp); tmp 5469 drivers/gpu/drm/radeon/si.c tmp = RREG32_UVD_CTX(UVD_CGC_MEM_CTRL); tmp 5470 drivers/gpu/drm/radeon/si.c tmp &= ~0x3fff; tmp 5471 drivers/gpu/drm/radeon/si.c WREG32_UVD_CTX(UVD_CGC_MEM_CTRL, tmp); tmp 5809 drivers/gpu/drm/radeon/si.c u32 tmp = RREG32(GRBM_SOFT_RESET); tmp 5811 drivers/gpu/drm/radeon/si.c tmp |= SOFT_RESET_RLC; tmp 5812 drivers/gpu/drm/radeon/si.c WREG32(GRBM_SOFT_RESET, tmp); tmp 5814 drivers/gpu/drm/radeon/si.c tmp &= ~SOFT_RESET_RLC; tmp 5815 drivers/gpu/drm/radeon/si.c WREG32(GRBM_SOFT_RESET, tmp); tmp 5839 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 5842 drivers/gpu/drm/radeon/si.c tmp = RREG32(MC_SEQ_MISC0); tmp 5843 drivers/gpu/drm/radeon/si.c if ((tmp & 0xF0000000) == 0xB0000000) tmp 5850 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 5852 drivers/gpu/drm/radeon/si.c tmp = RREG32(RLC_LB_CNTL); tmp 5854 drivers/gpu/drm/radeon/si.c tmp |= LOAD_BALANCE_ENABLE; tmp 5856 drivers/gpu/drm/radeon/si.c tmp &= ~LOAD_BALANCE_ENABLE; tmp 5857 drivers/gpu/drm/radeon/si.c WREG32(RLC_LB_CNTL, tmp); tmp 5951 drivers/gpu/drm/radeon/si.c u32 tmp; tmp 5953 drivers/gpu/drm/radeon/si.c tmp = RREG32(CP_INT_CNTL_RING0) & tmp 5955 drivers/gpu/drm/radeon/si.c WREG32(CP_INT_CNTL_RING0, tmp); tmp 5958 drivers/gpu/drm/radeon/si.c tmp = RREG32(DMA_CNTL + DMA0_REGISTER_OFFSET) & ~TRAP_ENABLE; tmp 5959 drivers/gpu/drm/radeon/si.c WREG32(DMA_CNTL + DMA0_REGISTER_OFFSET, tmp); tmp 5960 drivers/gpu/drm/radeon/si.c tmp = RREG32(DMA_CNTL + DMA1_REGISTER_OFFSET) & ~TRAP_ENABLE; tmp 5961 drivers/gpu/drm/radeon/si.c WREG32(DMA_CNTL + DMA1_REGISTER_OFFSET, tmp); tmp 6212 drivers/gpu/drm/radeon/si.c u32 wptr, tmp; tmp 6228 drivers/gpu/drm/radeon/si.c tmp = RREG32(IH_RB_CNTL); tmp 6229 drivers/gpu/drm/radeon/si.c tmp |= IH_WPTR_OVERFLOW_CLEAR; tmp 6230 drivers/gpu/drm/radeon/si.c WREG32(IH_RB_CNTL, tmp); tmp 7145 drivers/gpu/drm/radeon/si.c u32 max_lw, current_lw, tmp; tmp 7156 drivers/gpu/drm/radeon/si.c tmp = RREG32_PCIE(PCIE_LC_STATUS1); tmp 7157 drivers/gpu/drm/radeon/si.c max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; tmp 7158 drivers/gpu/drm/radeon/si.c current_lw = (tmp & LC_OPERATING_LINK_WIDTH_MASK) >> LC_OPERATING_LINK_WIDTH_SHIFT; tmp 7161 drivers/gpu/drm/radeon/si.c tmp = RREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL); tmp 7162 drivers/gpu/drm/radeon/si.c if (tmp & LC_RENEGOTIATION_SUPPORT) { tmp 7163 drivers/gpu/drm/radeon/si.c tmp &= ~(LC_LINK_WIDTH_MASK | LC_UPCONFIGURE_DIS); tmp 7164 drivers/gpu/drm/radeon/si.c tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); tmp 7165 drivers/gpu/drm/radeon/si.c tmp |= LC_UPCONFIGURE_SUPPORT | LC_RENEGOTIATE_EN | LC_RECONFIG_NOW; tmp 7166 drivers/gpu/drm/radeon/si.c WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, tmp); tmp 7182 drivers/gpu/drm/radeon/si.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 7183 drivers/gpu/drm/radeon/si.c tmp |= LC_SET_QUIESCE; tmp 7184 drivers/gpu/drm/radeon/si.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 7186 drivers/gpu/drm/radeon/si.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 7187 drivers/gpu/drm/radeon/si.c tmp |= LC_REDO_EQ; tmp 7188 drivers/gpu/drm/radeon/si.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 7214 drivers/gpu/drm/radeon/si.c tmp = RREG32_PCIE_PORT(PCIE_LC_CNTL4); tmp 7215 drivers/gpu/drm/radeon/si.c tmp &= ~LC_SET_QUIESCE; tmp 7216 drivers/gpu/drm/radeon/si.c WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); tmp 1777 drivers/gpu/drm/radeon/si_dpm.c s64 tmp; tmp 1789 drivers/gpu/drm/radeon/si_dpm.c tmp = drm_fixp_mul(t_slope, vddc) + t_intercept; tmp 1790 drivers/gpu/drm/radeon/si_dpm.c kt = drm_fixp_exp(drm_fixp_mul(tmp, temperature)); tmp 1791 drivers/gpu/drm/radeon/si_dpm.c kt = drm_fixp_div(kt, drm_fixp_exp(drm_fixp_mul(tmp, t_ref))); tmp 2857 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 2893 drivers/gpu/drm/radeon/si_dpm.c tmp = ((fb_div << SMC_SISLANDS_SPLL_DIV_TABLE_FBDIV_SHIFT) & SMC_SISLANDS_SPLL_DIV_TABLE_FBDIV_MASK) | tmp 2895 drivers/gpu/drm/radeon/si_dpm.c spll_table->freq[i] = cpu_to_be32(tmp); tmp 2897 drivers/gpu/drm/radeon/si_dpm.c tmp = ((clk_v << SMC_SISLANDS_SPLL_DIV_TABLE_CLKV_SHIFT) & SMC_SISLANDS_SPLL_DIV_TABLE_CLKV_MASK) | tmp 2899 drivers/gpu/drm/radeon/si_dpm.c spll_table->ss[i] = cpu_to_be32(tmp); tmp 3208 drivers/gpu/drm/radeon/si_dpm.c u32 tmp, width, row, column, bank, density; tmp 3211 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(MC_SEQ_MISC0); tmp 3212 drivers/gpu/drm/radeon/si_dpm.c is_memory_gddr5 = (MC_SEQ_MISC0_GDDR5_VALUE == ((tmp & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT)); tmp 3213 drivers/gpu/drm/radeon/si_dpm.c is_special = (MC_SEQ_MISC0_REV_ID_VALUE == ((tmp & MC_SEQ_MISC0_REV_ID_MASK) >> MC_SEQ_MISC0_REV_ID_SHIFT)) tmp 3214 drivers/gpu/drm/radeon/si_dpm.c & (MC_SEQ_MISC0_VEN_ID_VALUE == ((tmp & MC_SEQ_MISC0_VEN_ID_MASK) >> MC_SEQ_MISC0_VEN_ID_SHIFT)); tmp 3219 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(MC_ARB_RAMCFG); tmp 3220 drivers/gpu/drm/radeon/si_dpm.c row = ((tmp & NOOFROWS_MASK) >> NOOFROWS_SHIFT) + 10; tmp 3221 drivers/gpu/drm/radeon/si_dpm.c column = ((tmp & NOOFCOLS_MASK) >> NOOFCOLS_SHIFT) + 8; tmp 3222 drivers/gpu/drm/radeon/si_dpm.c bank = ((tmp & NOOFBANK_MASK) >> NOOFBANK_SHIFT) + 2; tmp 3481 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 3487 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3491 drivers/gpu/drm/radeon/si_dpm.c si_pi->state_table_start = tmp; tmp 3496 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3500 drivers/gpu/drm/radeon/si_dpm.c si_pi->soft_regs_start = tmp; tmp 3505 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3509 drivers/gpu/drm/radeon/si_dpm.c si_pi->mc_reg_table_start = tmp; tmp 3514 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3518 drivers/gpu/drm/radeon/si_dpm.c si_pi->fan_table_start = tmp; tmp 3523 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3527 drivers/gpu/drm/radeon/si_dpm.c si_pi->arb_table_start = tmp; tmp 3532 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3536 drivers/gpu/drm/radeon/si_dpm.c si_pi->cac_table_start = tmp; tmp 3541 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3545 drivers/gpu/drm/radeon/si_dpm.c si_pi->dte_table_start = tmp; tmp 3550 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3554 drivers/gpu/drm/radeon/si_dpm.c si_pi->spll_table_start = tmp; tmp 3559 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 3563 drivers/gpu/drm/radeon/si_dpm.c si_pi->papm_cfg_table_start = tmp; tmp 3673 drivers/gpu/drm/radeon/si_dpm.c u32 tmp = 1; /* XXX: 0x10 on tahiti A0 */ tmp 3676 drivers/gpu/drm/radeon/si_dpm.c WREG32_P(MISC_CLK_CNTL, DEEP_SLEEP_CLK_SEL(tmp), ~DEEP_SLEEP_CLK_SEL_MASK); tmp 3684 drivers/gpu/drm/radeon/si_dpm.c u32 tmp, pipe; tmp 3687 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_DISPLAY_GAP_CNTL) & ~(DISP1_GAP_MASK | DISP2_GAP_MASK); tmp 3689 drivers/gpu/drm/radeon/si_dpm.c tmp |= DISP1_GAP(R600_PM_DISPLAY_GAP_VBLANK_OR_WM); tmp 3691 drivers/gpu/drm/radeon/si_dpm.c tmp |= DISP1_GAP(R600_PM_DISPLAY_GAP_IGNORE); tmp 3694 drivers/gpu/drm/radeon/si_dpm.c tmp |= DISP2_GAP(R600_PM_DISPLAY_GAP_VBLANK_OR_WM); tmp 3696 drivers/gpu/drm/radeon/si_dpm.c tmp |= DISP2_GAP(R600_PM_DISPLAY_GAP_IGNORE); tmp 3698 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 3700 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(DCCG_DISP_SLOW_SELECT_REG); tmp 3701 drivers/gpu/drm/radeon/si_dpm.c pipe = (tmp & DCCG_DISP1_SLOW_SELECT_MASK) >> DCCG_DISP1_SLOW_SELECT_SHIFT; tmp 3715 drivers/gpu/drm/radeon/si_dpm.c tmp &= ~DCCG_DISP1_SLOW_SELECT_MASK; tmp 3716 drivers/gpu/drm/radeon/si_dpm.c tmp |= DCCG_DISP1_SLOW_SELECT(pipe); tmp 3717 drivers/gpu/drm/radeon/si_dpm.c WREG32(DCCG_DISP_SLOW_SELECT_REG, tmp); tmp 3801 drivers/gpu/drm/radeon/si_dpm.c u32 tmp = RREG32(CG_DISPLAY_GAP_CNTL); tmp 3803 drivers/gpu/drm/radeon/si_dpm.c tmp &= ~(DISP1_GAP_MASK | DISP2_GAP_MASK); tmp 3804 drivers/gpu/drm/radeon/si_dpm.c tmp |= (DISP1_GAP(R600_PM_DISPLAY_GAP_IGNORE) | tmp 3807 drivers/gpu/drm/radeon/si_dpm.c tmp &= ~(DISP1_GAP_MCHG_MASK | DISP2_GAP_MCHG_MASK); tmp 3808 drivers/gpu/drm/radeon/si_dpm.c tmp |= (DISP1_GAP_MCHG(R600_PM_DISPLAY_GAP_VBLANK) | tmp 3810 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_DISPLAY_GAP_CNTL, tmp); tmp 4231 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 4234 drivers/gpu/drm/radeon/si_dpm.c ret = si_read_smc_sram_dword(rdev, si_pi->arb_table_start, &tmp, si_pi->sram_end); tmp 4238 drivers/gpu/drm/radeon/si_dpm.c tmp &= 0x00FFFFFF; tmp 4239 drivers/gpu/drm/radeon/si_dpm.c tmp |= MC_CG_ARB_FREQ_F1 << 24; tmp 4241 drivers/gpu/drm/radeon/si_dpm.c return si_write_smc_sram_dword(rdev, si_pi->arb_table_start, tmp, si_pi->sram_end); tmp 4258 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 4262 drivers/gpu/drm/radeon/si_dpm.c &tmp, si_pi->sram_end); tmp 4266 drivers/gpu/drm/radeon/si_dpm.c tmp = (tmp >> 24) & 0xff; tmp 4268 drivers/gpu/drm/radeon/si_dpm.c if (tmp == MC_CG_ARB_FREQ_F0) tmp 4271 drivers/gpu/drm/radeon/si_dpm.c return ni_copy_and_switch_arb_sets(rdev, tmp, MC_CG_ARB_FREQ_F0); tmp 4280 drivers/gpu/drm/radeon/si_dpm.c u32 tmp = (RREG32(MC_ARB_RAMCFG) & NOOFROWS_MASK) >> NOOFROWS_SHIFT; tmp 4282 drivers/gpu/drm/radeon/si_dpm.c if (tmp >= 4) tmp 4285 drivers/gpu/drm/radeon/si_dpm.c dram_rows = 1 << (tmp + 10); tmp 4795 drivers/gpu/drm/radeon/si_dpm.c u64 tmp; tmp 4808 drivers/gpu/drm/radeon/si_dpm.c tmp = (u64) engine_clock * reference_divider * dividers.post_div * 16384; tmp 4809 drivers/gpu/drm/radeon/si_dpm.c do_div(tmp, reference_clock); tmp 4810 drivers/gpu/drm/radeon/si_dpm.c fbdiv = (u32) tmp; tmp 4917 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 4925 drivers/gpu/drm/radeon/si_dpm.c tmp = freq_nom / reference_clock; tmp 4926 drivers/gpu/drm/radeon/si_dpm.c tmp = tmp * tmp; tmp 4930 drivers/gpu/drm/radeon/si_dpm.c u32 clkv = (u32)((((131 * ss.percentage * ss.rate) / 100) * tmp) / freq_nom); tmp 6011 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 6014 drivers/gpu/drm/radeon/si_dpm.c tmp = (RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK) >> FDO_PWM_MODE_SHIFT; tmp 6015 drivers/gpu/drm/radeon/si_dpm.c si_pi->fan_ctrl_default_mode = tmp; tmp 6016 drivers/gpu/drm/radeon/si_dpm.c tmp = (RREG32(CG_FDO_CTRL2) & TMIN_MASK) >> TMIN_SHIFT; tmp 6017 drivers/gpu/drm/radeon/si_dpm.c si_pi->t_min = tmp; tmp 6021 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; tmp 6022 drivers/gpu/drm/radeon/si_dpm.c tmp |= TMIN(0); tmp 6023 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 6025 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; tmp 6026 drivers/gpu/drm/radeon/si_dpm.c tmp |= FDO_PWM_MODE(mode); tmp 6027 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 6037 drivers/gpu/drm/radeon/si_dpm.c u32 reference_clock, tmp; tmp 6090 drivers/gpu/drm/radeon/si_dpm.c tmp = (RREG32(CG_MULT_THERMAL_CTRL) & TEMP_SEL_MASK) >> TEMP_SEL_SHIFT; tmp 6091 drivers/gpu/drm/radeon/si_dpm.c fan_table.temp_src = (uint8_t)tmp; tmp 6165 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 6187 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_FDO_CTRL0) & ~FDO_STATIC_DUTY_MASK; tmp 6188 drivers/gpu/drm/radeon/si_dpm.c tmp |= FDO_STATIC_DUTY(duty); tmp 6189 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_FDO_CTRL0, tmp); tmp 6213 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 6218 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & FDO_PWM_MODE_MASK; tmp 6219 drivers/gpu/drm/radeon/si_dpm.c return (tmp >> FDO_PWM_MODE_SHIFT); tmp 6247 drivers/gpu/drm/radeon/si_dpm.c u32 tach_period, tmp; tmp 6264 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_TACH_CTRL) & ~TARGET_PERIOD_MASK; tmp 6265 drivers/gpu/drm/radeon/si_dpm.c tmp |= TARGET_PERIOD(tach_period); tmp 6266 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_TACH_CTRL, tmp); tmp 6277 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 6280 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~FDO_PWM_MODE_MASK; tmp 6281 drivers/gpu/drm/radeon/si_dpm.c tmp |= FDO_PWM_MODE(si_pi->fan_ctrl_default_mode); tmp 6282 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 6284 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~TMIN_MASK; tmp 6285 drivers/gpu/drm/radeon/si_dpm.c tmp |= TMIN(si_pi->t_min); tmp 6286 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 6301 drivers/gpu/drm/radeon/si_dpm.c u32 tmp; tmp 6304 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_TACH_CTRL) & ~EDGE_PER_REV_MASK; tmp 6305 drivers/gpu/drm/radeon/si_dpm.c tmp |= EDGE_PER_REV(rdev->pm.fan_pulses_per_revolution -1); tmp 6306 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_TACH_CTRL, tmp); tmp 6309 drivers/gpu/drm/radeon/si_dpm.c tmp = RREG32(CG_FDO_CTRL2) & ~TACH_PWM_RESP_RATE_MASK; tmp 6310 drivers/gpu/drm/radeon/si_dpm.c tmp |= TACH_PWM_RESP_RATE(0x28); tmp 6311 drivers/gpu/drm/radeon/si_dpm.c WREG32(CG_FDO_CTRL2, tmp); tmp 115 drivers/gpu/drm/radeon/si_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); tmp 117 drivers/gpu/drm/radeon/si_smc.c tmp &= ~RST_REG; tmp 119 drivers/gpu/drm/radeon/si_smc.c WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); tmp 124 drivers/gpu/drm/radeon/si_smc.c u32 tmp; tmp 131 drivers/gpu/drm/radeon/si_smc.c tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); tmp 132 drivers/gpu/drm/radeon/si_smc.c tmp |= RST_REG; tmp 133 drivers/gpu/drm/radeon/si_smc.c WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); tmp 145 drivers/gpu/drm/radeon/si_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); tmp 147 drivers/gpu/drm/radeon/si_smc.c tmp |= CK_DISABLE; tmp 149 drivers/gpu/drm/radeon/si_smc.c WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); tmp 154 drivers/gpu/drm/radeon/si_smc.c u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); tmp 156 drivers/gpu/drm/radeon/si_smc.c tmp &= ~CK_DISABLE; tmp 158 drivers/gpu/drm/radeon/si_smc.c WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); tmp 174 drivers/gpu/drm/radeon/si_smc.c u32 tmp; tmp 183 drivers/gpu/drm/radeon/si_smc.c tmp = RREG32(SMC_RESP_0); tmp 184 drivers/gpu/drm/radeon/si_smc.c if (tmp != 0) tmp 188 drivers/gpu/drm/radeon/si_smc.c tmp = RREG32(SMC_RESP_0); tmp 190 drivers/gpu/drm/radeon/si_smc.c return (PPSMC_Result)tmp; tmp 195 drivers/gpu/drm/radeon/si_smc.c u32 tmp; tmp 202 drivers/gpu/drm/radeon/si_smc.c tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); tmp 203 drivers/gpu/drm/radeon/si_smc.c if ((tmp & CKEN) == 0) tmp 940 drivers/gpu/drm/radeon/trinity_dpm.c u32 tmp = RREG32(CG_MISC_REG); tmp 941 drivers/gpu/drm/radeon/trinity_dpm.c tmp &= 0xfffffffd; tmp 942 drivers/gpu/drm/radeon/trinity_dpm.c WREG32(CG_MISC_REG, tmp); tmp 160 drivers/gpu/drm/radeon/uvd_v1_0.c uint32_t tmp; tmp 186 drivers/gpu/drm/radeon/uvd_v1_0.c tmp = PACKET0(UVD_SEMA_WAIT_FAULT_TIMEOUT_CNTL, 0); tmp 187 drivers/gpu/drm/radeon/uvd_v1_0.c radeon_ring_write(ring, tmp); tmp 190 drivers/gpu/drm/radeon/uvd_v1_0.c tmp = PACKET0(UVD_SEMA_WAIT_INCOMPLETE_TIMEOUT_CNTL, 0); tmp 191 drivers/gpu/drm/radeon/uvd_v1_0.c radeon_ring_write(ring, tmp); tmp 194 drivers/gpu/drm/radeon/uvd_v1_0.c tmp = PACKET0(UVD_SEMA_SIGNAL_INCOMPLETE_TIMEOUT_CNTL, 0); tmp 195 drivers/gpu/drm/radeon/uvd_v1_0.c radeon_ring_write(ring, tmp); tmp 423 drivers/gpu/drm/radeon/uvd_v1_0.c uint32_t tmp = 0; tmp 438 drivers/gpu/drm/radeon/uvd_v1_0.c tmp = RREG32(UVD_CONTEXT_ID); tmp 439 drivers/gpu/drm/radeon/uvd_v1_0.c if (tmp == 0xDEADBEEF) tmp 449 drivers/gpu/drm/radeon/uvd_v1_0.c ring->idx, tmp); tmp 104 drivers/gpu/drm/radeon/vce_v1_0.c u32 tmp; tmp 107 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_CLOCK_GATING_A); tmp 108 drivers/gpu/drm/radeon/vce_v1_0.c tmp |= CGC_DYN_CLOCK_MODE; tmp 109 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_CLOCK_GATING_A, tmp); tmp 111 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_UENC_CLOCK_GATING); tmp 112 drivers/gpu/drm/radeon/vce_v1_0.c tmp &= ~0x1ff000; tmp 113 drivers/gpu/drm/radeon/vce_v1_0.c tmp |= 0xff800000; tmp 114 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_UENC_CLOCK_GATING, tmp); tmp 116 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); tmp 117 drivers/gpu/drm/radeon/vce_v1_0.c tmp &= ~0x3ff; tmp 118 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_UENC_REG_CLOCK_GATING, tmp); tmp 120 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_CLOCK_GATING_A); tmp 121 drivers/gpu/drm/radeon/vce_v1_0.c tmp &= ~CGC_DYN_CLOCK_MODE; tmp 122 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_CLOCK_GATING_A, tmp); tmp 124 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_UENC_CLOCK_GATING); tmp 125 drivers/gpu/drm/radeon/vce_v1_0.c tmp |= 0x1ff000; tmp 126 drivers/gpu/drm/radeon/vce_v1_0.c tmp &= ~0xff800000; tmp 127 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_UENC_CLOCK_GATING, tmp); tmp 129 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); tmp 130 drivers/gpu/drm/radeon/vce_v1_0.c tmp |= 0x3ff; tmp 131 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_UENC_REG_CLOCK_GATING, tmp); tmp 137 drivers/gpu/drm/radeon/vce_v1_0.c u32 tmp; tmp 139 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_CLOCK_GATING_A); tmp 140 drivers/gpu/drm/radeon/vce_v1_0.c tmp |= CGC_DYN_CLOCK_MODE; tmp 141 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_CLOCK_GATING_A, tmp); tmp 143 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_CLOCK_GATING_B); tmp 144 drivers/gpu/drm/radeon/vce_v1_0.c tmp |= 0x1e; tmp 145 drivers/gpu/drm/radeon/vce_v1_0.c tmp &= ~0xe100e1; tmp 146 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_CLOCK_GATING_B, tmp); tmp 148 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_UENC_CLOCK_GATING); tmp 149 drivers/gpu/drm/radeon/vce_v1_0.c tmp &= ~0xff9ff000; tmp 150 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_UENC_CLOCK_GATING, tmp); tmp 152 drivers/gpu/drm/radeon/vce_v1_0.c tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); tmp 153 drivers/gpu/drm/radeon/vce_v1_0.c tmp &= ~0x3ff; tmp 154 drivers/gpu/drm/radeon/vce_v1_0.c WREG32(VCE_UENC_REG_CLOCK_GATING, tmp); tmp 40 drivers/gpu/drm/radeon/vce_v2_0.c u32 tmp; tmp 43 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_CLOCK_GATING_B); tmp 44 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= 0xe70000; tmp 45 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_CLOCK_GATING_B, tmp); tmp 47 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_UENC_CLOCK_GATING); tmp 48 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= 0xff000000; tmp 49 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_UENC_CLOCK_GATING, tmp); tmp 51 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); tmp 52 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0x3fc; tmp 53 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_UENC_REG_CLOCK_GATING, tmp); tmp 57 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_CLOCK_GATING_B); tmp 58 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= 0xe7; tmp 59 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0xe70000; tmp 60 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_CLOCK_GATING_B, tmp); tmp 62 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_UENC_CLOCK_GATING); tmp 63 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= 0x1fe000; tmp 64 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0xff000000; tmp 65 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_UENC_CLOCK_GATING, tmp); tmp 67 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); tmp 68 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= 0x3fc; tmp 69 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_UENC_REG_CLOCK_GATING, tmp); tmp 75 drivers/gpu/drm/radeon/vce_v2_0.c u32 orig, tmp; tmp 77 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_CLOCK_GATING_B); tmp 78 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0x00060006; tmp 80 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= 0xe10000; tmp 82 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= 0xe1; tmp 83 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0xe10000; tmp 85 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_CLOCK_GATING_B, tmp); tmp 87 drivers/gpu/drm/radeon/vce_v2_0.c orig = tmp = RREG32(VCE_UENC_CLOCK_GATING); tmp 88 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0x1fe000; tmp 89 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0xff000000; tmp 90 drivers/gpu/drm/radeon/vce_v2_0.c if (tmp != orig) tmp 91 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_UENC_CLOCK_GATING, tmp); tmp 93 drivers/gpu/drm/radeon/vce_v2_0.c orig = tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); tmp 94 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0x3fc; tmp 95 drivers/gpu/drm/radeon/vce_v2_0.c if (tmp != orig) tmp 96 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_UENC_REG_CLOCK_GATING, tmp); tmp 132 drivers/gpu/drm/radeon/vce_v2_0.c u32 tmp; tmp 134 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_CLOCK_GATING_A); tmp 135 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~(CGC_CLK_GATE_DLY_TIMER_MASK | CGC_CLK_GATER_OFF_DLY_TIMER_MASK); tmp 136 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= (CGC_CLK_GATE_DLY_TIMER(0) | CGC_CLK_GATER_OFF_DLY_TIMER(4)); tmp 137 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= CGC_UENC_WAIT_AWAKE; tmp 138 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_CLOCK_GATING_A, tmp); tmp 140 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_UENC_CLOCK_GATING); tmp 141 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~(CLOCK_ON_DELAY_MASK | CLOCK_OFF_DELAY_MASK); tmp 142 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= (CLOCK_ON_DELAY(0) | CLOCK_OFF_DELAY(4)); tmp 143 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_UENC_CLOCK_GATING, tmp); tmp 145 drivers/gpu/drm/radeon/vce_v2_0.c tmp = RREG32(VCE_CLOCK_GATING_B); tmp 146 drivers/gpu/drm/radeon/vce_v2_0.c tmp |= 0x10; tmp 147 drivers/gpu/drm/radeon/vce_v2_0.c tmp &= ~0x100000; tmp 148 drivers/gpu/drm/radeon/vce_v2_0.c WREG32(VCE_CLOCK_GATING_B, tmp); tmp 477 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c unsigned long mpclk, tmp; tmp 499 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c tmp = mpclk * (bpp / lanes) * 10 / 8; tmp 500 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c if (tmp < max_mbps) tmp 501 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c target_mbps = tmp; tmp 519 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c u64 tmp; tmp 522 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c tmp = (u64)fout * _prediv; tmp 523 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c do_div(tmp, fin); tmp 524 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c _fbdiv = tmp; tmp 535 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c tmp = (u64)_fbdiv * fin; tmp 536 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c do_div(tmp, _prediv); tmp 537 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c if (tmp < fvco_min || tmp > fvco_max) tmp 540 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c delta = abs(fout - tmp); tmp 545 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c best_freq = tmp; tmp 1507 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_plane *primary = NULL, *cursor = NULL, *plane, *tmp; tmp 1606 drivers/gpu/drm/rockchip/rockchip_drm_vop.c list_for_each_entry_safe(plane, tmp, &drm_dev->mode_config.plane_list, tmp 1616 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_plane *plane, *tmp; tmp 1630 drivers/gpu/drm/rockchip/rockchip_drm_vop.c list_for_each_entry_safe(plane, tmp, &drm_dev->mode_config.plane_list, tmp 128 drivers/gpu/drm/savage/savage_state.c uint32_t tmp; \ tmp 129 drivers/gpu/drm/savage/savage_state.c tmp = regs[reg - start]; \ tmp 130 drivers/gpu/drm/savage/savage_state.c dev_priv->state.where = (tmp & (mask)) | \ tmp 320 drivers/gpu/drm/scheduler/sched_main.c struct drm_sched_entity *tmp; tmp 335 drivers/gpu/drm/scheduler/sched_main.c list_for_each_entry_safe(entity, tmp, &rq->entities, list) { tmp 367 drivers/gpu/drm/scheduler/sched_main.c struct drm_sched_job *s_job, *tmp; tmp 378 drivers/gpu/drm/scheduler/sched_main.c list_for_each_entry_safe_reverse(s_job, tmp, &sched->ring_mirror_list, node) { tmp 432 drivers/gpu/drm/scheduler/sched_main.c struct drm_sched_job *s_job, *tmp; tmp 441 drivers/gpu/drm/scheduler/sched_main.c list_for_each_entry_safe(s_job, tmp, &sched->ring_mirror_list, node) { tmp 479 drivers/gpu/drm/scheduler/sched_main.c struct drm_sched_job *s_job, *tmp; tmp 484 drivers/gpu/drm/scheduler/sched_main.c list_for_each_entry_safe(s_job, tmp, &sched->ring_mirror_list, node) { tmp 207 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_node tmp; tmp 235 drivers/gpu/drm/selftests/test-drm_mm.c memset(&tmp, 0, sizeof(tmp)); tmp 236 drivers/gpu/drm/selftests/test-drm_mm.c tmp.start = 0; tmp 237 drivers/gpu/drm/selftests/test-drm_mm.c tmp.size = size; tmp 238 drivers/gpu/drm/selftests/test-drm_mm.c ret = drm_mm_reserve_node(&mm, &tmp); tmp 251 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_remove_node(&tmp); tmp 354 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_node tmp = {}; tmp 359 drivers/gpu/drm/selftests/test-drm_mm.c set_node(&tmp, tmp 375 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_node tmp, *nodes, *node, *next; tmp 433 drivers/gpu/drm/selftests/test-drm_mm.c set_node(&tmp, order[n] * size, 1))) tmp 452 drivers/gpu/drm/selftests/test-drm_mm.c if (!expect_reserve_fail(&mm, set_node(&tmp, 0, size*count))) tmp 457 drivers/gpu/drm/selftests/test-drm_mm.c set_node(&tmp, tmp 550 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_node tmp = {}; tmp 553 drivers/gpu/drm/selftests/test-drm_mm.c err = drm_mm_insert_node(mm, &tmp, size); tmp 559 drivers/gpu/drm/selftests/test-drm_mm.c tmp.start, tmp.size); tmp 560 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_remove_node(&tmp); tmp 596 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_node tmp; tmp 598 drivers/gpu/drm/selftests/test-drm_mm.c node = replace ? &tmp : &nodes[n]; tmp 607 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_replace_node(&tmp, &nodes[n]); tmp 608 drivers/gpu/drm/selftests/test-drm_mm.c if (drm_mm_node_allocated(&tmp)) { tmp 620 drivers/gpu/drm/selftests/test-drm_mm.c if (tmp.start != nodes[n].start) { tmp 622 drivers/gpu/drm/selftests/test-drm_mm.c tmp.start, size, tmp 793 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_node tmp = {}; tmp 796 drivers/gpu/drm/selftests/test-drm_mm.c err = drm_mm_insert_node_in_range(mm, &tmp, tmp 805 drivers/gpu/drm/selftests/test-drm_mm.c tmp.start, tmp.size, range_start, range_end); tmp 806 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_remove_node(&tmp); tmp 1342 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_node tmp; tmp 1354 drivers/gpu/drm/selftests/test-drm_mm.c memset(&tmp, 0, sizeof(tmp)); tmp 1355 drivers/gpu/drm/selftests/test-drm_mm.c err = drm_mm_insert_node_generic(mm, &tmp, size, alignment, 0, tmp 1365 drivers/gpu/drm/selftests/test-drm_mm.c if (tmp.start < range_start || tmp.start + tmp.size > range_end) { tmp 1367 drivers/gpu/drm/selftests/test-drm_mm.c tmp.start, tmp.size, range_start, range_end); tmp 1371 drivers/gpu/drm/selftests/test-drm_mm.c if (!assert_node(&tmp, mm, size, alignment, 0) || tmp 1372 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_hole_follows(&tmp)) { tmp 1374 drivers/gpu/drm/selftests/test-drm_mm.c tmp.size, size, tmp 1375 drivers/gpu/drm/selftests/test-drm_mm.c alignment, misalignment(&tmp, alignment), tmp 1376 drivers/gpu/drm/selftests/test-drm_mm.c tmp.start, drm_mm_hole_follows(&tmp)); tmp 1380 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_remove_node(&tmp); tmp 2096 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_node tmp; tmp 2108 drivers/gpu/drm/selftests/test-drm_mm.c memset(&tmp, 0, sizeof(tmp)); tmp 2109 drivers/gpu/drm/selftests/test-drm_mm.c err = drm_mm_insert_node_generic(mm, &tmp, size, alignment, color, tmp 2119 drivers/gpu/drm/selftests/test-drm_mm.c if (tmp.start < range_start || tmp.start + tmp.size > range_end) { tmp 2121 drivers/gpu/drm/selftests/test-drm_mm.c tmp.start, tmp.size, range_start, range_end); tmp 2125 drivers/gpu/drm/selftests/test-drm_mm.c if (colors_abutt(&tmp)) tmp 2128 drivers/gpu/drm/selftests/test-drm_mm.c if (!assert_node(&tmp, mm, size, alignment, color)) { tmp 2130 drivers/gpu/drm/selftests/test-drm_mm.c tmp.size, size, tmp 2131 drivers/gpu/drm/selftests/test-drm_mm.c alignment, misalignment(&tmp, alignment), tmp.start); tmp 2135 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_remove_node(&tmp); tmp 599 drivers/gpu/drm/sti/sti_hdmi.c int tmp; tmp 602 drivers/gpu/drm/sti/sti_hdmi.c tmp = val & HDMI_CFG_HDMI_NOT_DVI; tmp 603 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("mode:", tmp ? "HDMI" : "DVI"); tmp 605 drivers/gpu/drm/sti/sti_hdmi.c tmp = val & HDMI_CFG_HDCP_EN; tmp 606 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("HDCP:", tmp ? "enable" : "disable"); tmp 608 drivers/gpu/drm/sti/sti_hdmi.c tmp = val & HDMI_CFG_ESS_NOT_OESS; tmp 609 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("HDCP mode:", tmp ? "ESS enable" : "OESS enable"); tmp 611 drivers/gpu/drm/sti/sti_hdmi.c tmp = val & HDMI_CFG_H_SYNC_POL_NEG; tmp 612 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("Hsync polarity:", tmp ? "inverted" : "normal"); tmp 614 drivers/gpu/drm/sti/sti_hdmi.c tmp = val & HDMI_CFG_V_SYNC_POL_NEG; tmp 615 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("Vsync polarity:", tmp ? "inverted" : "normal"); tmp 617 drivers/gpu/drm/sti/sti_hdmi.c tmp = val & HDMI_CFG_422_EN; tmp 618 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("YUV422 format:", tmp ? "enable" : "disable"); tmp 623 drivers/gpu/drm/sti/sti_hdmi.c int tmp; tmp 626 drivers/gpu/drm/sti/sti_hdmi.c tmp = (val & HDMI_STA_DLL_LCK); tmp 627 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("pll:", tmp ? "locked" : "not locked"); tmp 629 drivers/gpu/drm/sti/sti_hdmi.c tmp = (val & HDMI_STA_HOT_PLUG); tmp 630 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("hdmi cable:", tmp ? "connected" : "not connected"); tmp 635 drivers/gpu/drm/sti/sti_hdmi.c int tmp; tmp 642 drivers/gpu/drm/sti/sti_hdmi.c tmp = (val & HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_MASK, 1)); tmp 643 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("Data island 1:", en_di[tmp]); tmp 645 drivers/gpu/drm/sti/sti_hdmi.c tmp = (val & HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_MASK, 2)) >> 4; tmp 646 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("Data island 2:", en_di[tmp]); tmp 648 drivers/gpu/drm/sti/sti_hdmi.c tmp = (val & HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_MASK, 3)) >> 8; tmp 649 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("Data island 3:", en_di[tmp]); tmp 651 drivers/gpu/drm/sti/sti_hdmi.c tmp = (val & HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_MASK, 4)) >> 12; tmp 652 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("Data island 4:", en_di[tmp]); tmp 654 drivers/gpu/drm/sti/sti_hdmi.c tmp = (val & HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_MASK, 5)) >> 16; tmp 655 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("Data island 5:", en_di[tmp]); tmp 657 drivers/gpu/drm/sti/sti_hdmi.c tmp = (val & HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_MASK, 6)) >> 20; tmp 658 drivers/gpu/drm/sti/sti_hdmi.c DBGFS_PRINT_STR("Data island 6:", en_di[tmp]); tmp 301 drivers/gpu/drm/sti/sti_tvout.c int val, tmp; tmp 308 drivers/gpu/drm/sti/sti_tvout.c tmp = TVO_SYNC_MAIN_VTG_SET_REF | VTG_SYNC_ID_DVO; tmp 309 drivers/gpu/drm/sti/sti_tvout.c val = tmp << TVO_SYNC_DVO_PAD_VSYNC_SHIFT; tmp 310 drivers/gpu/drm/sti/sti_tvout.c val |= tmp << TVO_SYNC_DVO_PAD_HSYNC_SHIFT; tmp 311 drivers/gpu/drm/sti/sti_tvout.c val |= tmp; tmp 317 drivers/gpu/drm/sti/sti_tvout.c tmp = TVO_SYNC_AUX_VTG_SET_REF | VTG_SYNC_ID_DVO; tmp 318 drivers/gpu/drm/sti/sti_tvout.c val = tmp << TVO_SYNC_DVO_PAD_VSYNC_SHIFT; tmp 319 drivers/gpu/drm/sti/sti_tvout.c val |= tmp << TVO_SYNC_DVO_PAD_HSYNC_SHIFT; tmp 320 drivers/gpu/drm/sti/sti_tvout.c val |= tmp; tmp 454 drivers/gpu/drm/sti/sti_tvout.c int r, g, b, tmp, mask; tmp 479 drivers/gpu/drm/sti/sti_tvout.c tmp = (val & mask) >> TVO_VIP_CLIP_SHIFT; tmp 480 drivers/gpu/drm/sti/sti_tvout.c seq_printf(s, "%-24s %s\n", "Clipping:", clipping[tmp]); tmp 483 drivers/gpu/drm/sti/sti_tvout.c tmp = (val & mask) >> TVO_VIP_RND_SHIFT; tmp 485 drivers/gpu/drm/sti/sti_tvout.c "Round:", round[tmp]); tmp 487 drivers/gpu/drm/sti/sti_tvout.c tmp = (val & TVO_VIP_SEL_INPUT_MASK); tmp 488 drivers/gpu/drm/sti/sti_tvout.c seq_printf(s, "%-24s %s", "Input selection:", input_sel[tmp]); tmp 529 drivers/gpu/drm/ttm/ttm_bo_util.c pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp) tmp 533 drivers/gpu/drm/ttm/ttm_bo_util.c return tmp; tmp 537 drivers/gpu/drm/ttm/ttm_bo_util.c tmp = pgprot_writecombine(tmp); tmp 539 drivers/gpu/drm/ttm/ttm_bo_util.c tmp = pgprot_noncached(tmp); tmp 544 drivers/gpu/drm/ttm/ttm_bo_util.c tmp = pgprot_writecombine(tmp); tmp 546 drivers/gpu/drm/ttm/ttm_bo_util.c tmp = pgprot_noncached(tmp); tmp 549 drivers/gpu/drm/ttm/ttm_bo_util.c tmp = pgprot_noncached(tmp); tmp 551 drivers/gpu/drm/ttm/ttm_bo_util.c return tmp; tmp 922 drivers/gpu/drm/ttm/ttm_page_alloc.c struct page *tmp = p; tmp 925 drivers/gpu/drm/ttm/ttm_page_alloc.c if (count > first && pages[count - 1] == tmp - 1) tmp 926 drivers/gpu/drm/ttm/ttm_page_alloc.c swap(tmp, pages[count - 1]); tmp 927 drivers/gpu/drm/ttm/ttm_page_alloc.c pages[count++] = tmp; tmp 373 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c struct dma_page *d_page, *tmp; tmp 376 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c list_for_each_entry_safe(d_page, tmp, d_pages, page_list) tmp 388 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c list_for_each_entry_safe(d_page, tmp, d_pages, page_list) { tmp 409 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c struct dma_page *dma_p, *tmp; tmp 435 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c list_for_each_entry_safe_reverse(dma_p, tmp, &pool->free_list, tmp 639 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c struct dma_pool *pool, *tmp; tmp 655 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c list_for_each_entry_safe(pool, tmp, &dev->dma_pools, pools) tmp 671 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c struct dma_page *d_page, *tmp; tmp 679 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c list_for_each_entry_safe(d_page, tmp, d_pages, page_list) { tmp 741 drivers/gpu/drm/vc4/vc4_hdmi.c u64 tmp; tmp 744 drivers/gpu/drm/vc4/vc4_hdmi.c tmp = (u64)(mode->clock * 1000) * n; tmp 745 drivers/gpu/drm/vc4/vc4_hdmi.c do_div(tmp, 128 * samplerate); tmp 746 drivers/gpu/drm/vc4/vc4_hdmi.c cts = tmp; tmp 144 drivers/gpu/drm/via/via_drv.h u32 tmp; tmp 146 drivers/gpu/drm/via/via_drv.h tmp = readb((void __iomem *)(dev_priv->mmio->handle + reg)); tmp 147 drivers/gpu/drm/via/via_drv.h tmp = (tmp & ~mask) | (val & mask); tmp 148 drivers/gpu/drm/via/via_drv.h writeb(tmp, (void __iomem *)(dev_priv->mmio->handle + reg)); tmp 305 drivers/gpu/drm/via/via_verifier.c unsigned long lo = ~0, hi = 0, tmp; tmp 321 drivers/gpu/drm/via/via_verifier.c tmp = *addr++; tmp 322 drivers/gpu/drm/via/via_verifier.c if (tmp < lo) tmp 323 drivers/gpu/drm/via/via_verifier.c lo = tmp; tmp 325 drivers/gpu/drm/via/via_verifier.c tmp += (*height++ * *pitch++); tmp 327 drivers/gpu/drm/via/via_verifier.c tmp += (*height++ << *pitch++); tmp 328 drivers/gpu/drm/via/via_verifier.c if (tmp > hi) tmp 329 drivers/gpu/drm/via/via_verifier.c hi = tmp; tmp 350 drivers/gpu/drm/via/via_verifier.c register uint32_t tmp, *tmp_addr; tmp 427 drivers/gpu/drm/via/via_verifier.c tmp = (cmd >> 24); tmp 428 drivers/gpu/drm/via/via_verifier.c tmp_addr = &cur_seq->t_addr[cur_seq->texture][tmp]; tmp 433 drivers/gpu/drm/via/via_verifier.c tmp = ((cmd >> 24) - 0x20); tmp 434 drivers/gpu/drm/via/via_verifier.c tmp += tmp << 1; tmp 435 drivers/gpu/drm/via/via_verifier.c tmp_addr = &cur_seq->t_addr[cur_seq->texture][tmp]; tmp 444 drivers/gpu/drm/via/via_verifier.c cur_seq->tex_level_lo[tmp = cur_seq->texture] = cmd & 0x3F; tmp 445 drivers/gpu/drm/via/via_verifier.c cur_seq->tex_level_hi[tmp] = (cmd & 0xFC0) >> 6; tmp 449 drivers/gpu/drm/via/via_verifier.c tmp = ((cmd >> 24) - HC_SubA_HTXnL0Pit); tmp 450 drivers/gpu/drm/via/via_verifier.c if (tmp == 0 && tmp 452 drivers/gpu/drm/via/via_verifier.c cur_seq->pitch[cur_seq->texture][tmp] = tmp 456 drivers/gpu/drm/via/via_verifier.c cur_seq->pitch[cur_seq->texture][tmp] = tmp 498 drivers/gpu/drm/via/via_verifier.c if (2 == (tmp = cmd & 0x00000003)) { tmp 503 drivers/gpu/drm/via/via_verifier.c cur_seq->agp_texture = (tmp == 3); tmp 111 drivers/gpu/drm/virtio/virtgpu_fence.c struct virtio_gpu_fence *fence, *tmp; tmp 116 drivers/gpu/drm/virtio/virtgpu_fence.c list_for_each_entry_safe(fence, tmp, &drv->fences, node) { tmp 225 drivers/gpu/drm/virtio/virtgpu_kms.c struct virtio_gpu_drv_cap_cache *cache_ent, *tmp; tmp 227 drivers/gpu/drm/virtio/virtgpu_kms.c list_for_each_entry_safe(cache_ent, tmp, &vgdev->cap_cache, head) { tmp 182 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *entry, *tmp; tmp 195 drivers/gpu/drm/virtio/virtgpu_vq.c list_for_each_entry_safe(entry, tmp, &reclaim_list, list) { tmp 238 drivers/gpu/drm/virtio/virtgpu_vq.c struct virtio_gpu_vbuffer *entry, *tmp; tmp 248 drivers/gpu/drm/virtio/virtgpu_vq.c list_for_each_entry_safe(entry, tmp, &reclaim_list, list) { tmp 1110 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h uint64_t tmp = (uint64_t) a*b; tmp 1111 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h return (tmp > (uint64_t) ((u32) -1)) ? (u32) -1 : tmp; tmp 145 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h int tmp; tmp 166 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h tmp = *width >> 1; tmp 169 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h pitches[1] = pitches[2] = tmp; tmp 172 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h tmp *= (*height >> 1); tmp 173 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h *size += tmp; tmp 179 drivers/gpu/drm/vmwgfx/device_include/svga_overlay.h *size += tmp; tmp 725 drivers/gpu/drm/vmwgfx/vmwgfx_context.c struct vmw_resource *tmp; tmp 778 drivers/gpu/drm/vmwgfx/vmwgfx_context.c tmp = vmw_resource_reference(&ctx->res); tmp 783 drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_resource_unreference(&tmp); tmp 608 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c struct vmw_fence_obj *tmp; tmp 643 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c tmp = vmw_fence_obj_reference(&ufence->fence); tmp 653 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c vmw_fence_obj_unreference(&tmp); tmp 662 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c tmp = &ufence->fence; tmp 663 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c vmw_fence_obj_unreference(&tmp); tmp 724 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c struct vmw_resource *res, *tmp; tmp 769 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c tmp = vmw_resource_reference(res); tmp 775 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_resource_unreference(&tmp); tmp 150 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c struct vmw_resource *tmp; tmp 202 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c tmp = vmw_resource_reference(res); tmp 208 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c vmw_resource_unreference(&tmp); tmp 88 drivers/gpu/drm/vmwgfx/vmwgfx_so.h u32 tmp = (id - SVGA_3D_CMD_DX_DEFINE_SHADERRESOURCE_VIEW) / 2; tmp 90 drivers/gpu/drm/vmwgfx/vmwgfx_so.h if (tmp > (u32)vmw_view_max) tmp 93 drivers/gpu/drm/vmwgfx/vmwgfx_so.h return (enum vmw_view_type) tmp; tmp 707 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct vmw_resource *tmp; tmp 870 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c tmp = vmw_resource_reference(&srf->res); tmp 876 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_resource_unreference(&tmp); tmp 1556 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c struct vmw_resource *tmp; tmp 1653 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c tmp = vmw_resource_reference(res); tmp 1661 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_resource_unreference(&tmp); tmp 27 drivers/gpu/drm/zte/zx_drm_drv.h u32 tmp; tmp 29 drivers/gpu/drm/zte/zx_drm_drv.h tmp = zx_readl(reg); tmp 30 drivers/gpu/drm/zte/zx_drm_drv.h tmp = (tmp & ~mask) | (val & mask); tmp 31 drivers/gpu/drm/zte/zx_drm_drv.h zx_writel(reg, tmp); tmp 67 drivers/gpu/drm/zte/zx_hdmi.c u8 tmp; tmp 69 drivers/gpu/drm/zte/zx_hdmi.c tmp = hdmi_readb(hdmi, offset); tmp 70 drivers/gpu/drm/zte/zx_hdmi.c tmp = (tmp & ~mask) | (val & mask); tmp 71 drivers/gpu/drm/zte/zx_hdmi.c hdmi_writeb(hdmi, offset, tmp); tmp 419 drivers/gpu/host1x/bus.c struct host1x_client *client, *tmp; tmp 460 drivers/gpu/host1x/bus.c list_for_each_entry_safe(client, tmp, &clients, list) { tmp 516 drivers/gpu/host1x/bus.c struct host1x_device *device, *tmp; tmp 520 drivers/gpu/host1x/bus.c list_for_each_entry_safe(device, tmp, &host1x->devices, list) tmp 142 drivers/gpu/ipu-v3/ipu-cpmem.c u32 tmp; tmp 144 drivers/gpu/ipu-v3/ipu-cpmem.c tmp = readl(&base->word[word].data[i + 1]); tmp 145 drivers/gpu/ipu-v3/ipu-cpmem.c tmp &= mask >> (ofs ? (32 - ofs) : 0); tmp 146 drivers/gpu/ipu-v3/ipu-cpmem.c val |= tmp << (ofs ? (32 - ofs) : 0); tmp 977 drivers/gpu/ipu-v3/ipu-image-convert.c u32 uv_row_off, uv_col_off, uv_off, u_off, v_off, tmp; tmp 1009 drivers/gpu/ipu-v3/ipu-image-convert.c tmp = u_off; tmp 1011 drivers/gpu/ipu-v3/ipu-image-convert.c v_off = tmp; tmp 1503 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_run *run, *tmp; tmp 1508 drivers/gpu/ipu-v3/ipu-image-convert.c list_for_each_entry_safe(run, tmp, &chan->pending_q, list) { tmp 2279 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_run *run, *active_run, *tmp; tmp 2286 drivers/gpu/ipu-v3/ipu-image-convert.c list_for_each_entry_safe(run, tmp, &chan->pending_q, list) { tmp 1071 drivers/greybus/interface.c struct gb_bundle *bundle, *tmp; tmp 1144 drivers/greybus/interface.c list_for_each_entry_safe_reverse(bundle, tmp, &intf->bundles, links) { tmp 1163 drivers/greybus/interface.c list_for_each_entry_safe(bundle, tmp, &intf->bundles, links) tmp 62 drivers/greybus/manifest.c struct manifest_desc *desc, *tmp; tmp 65 drivers/greybus/manifest.c list_for_each_entry_safe(desc, tmp, head, links) { tmp 232 drivers/greybus/manifest.c struct manifest_desc *desc, *next, *tmp; tmp 263 drivers/greybus/manifest.c list_for_each_entry(tmp, &list, links) { tmp 264 drivers/greybus/manifest.c desc_cport = tmp->data; tmp 1365 drivers/greybus/svc.c struct gb_module *module, *tmp; tmp 1367 drivers/greybus/svc.c list_for_each_entry_safe(module, tmp, &hd->modules, hd_node) { tmp 499 drivers/hid/hid-alps.c u8 tmp, dev_ctrl, sen_line_num_x, sen_line_num_y; tmp 566 drivers/hid/hid-alps.c &tmp, 0, true); tmp 571 drivers/hid/hid-alps.c if ((tmp & 0x0F) == (tmp & 0xF0) >> 4) { tmp 572 drivers/hid/hid-alps.c pri_data->btn_cnt = (tmp & 0x0F); tmp 581 drivers/hid/hid-alps.c &tmp, 0, true); tmp 586 drivers/hid/hid-alps.c if (tmp & U1_DEVTYPE_SP_SUPPORT) { tmp 611 drivers/hid/hid-alps.c u8 tmp, sen_line_num_x, sen_line_num_y; tmp 613 drivers/hid/hid-alps.c ret = t4_read_write_register(hdev, T4_PRM_ID_CONFIG_3, &tmp, 0, true); tmp 618 drivers/hid/hid-alps.c sen_line_num_x = 16 + ((tmp & 0x0F) | (tmp & 0x08 ? 0xF0 : 0)); tmp 619 drivers/hid/hid-alps.c sen_line_num_y = 12 + (((tmp & 0xF0) >> 4) | (tmp & 0x80 ? 0xF0 : 0)); tmp 628 drivers/hid/hid-alps.c ret = t4_read_write_register(hdev, PRM_SYS_CONFIG_1, &tmp, 0, true); tmp 633 drivers/hid/hid-alps.c tmp |= 0x02; tmp 634 drivers/hid/hid-alps.c ret = t4_read_write_register(hdev, PRM_SYS_CONFIG_1, NULL, tmp, false); tmp 571 drivers/hid/hid-multitouch.c struct mt_application *tmp, *mt_application = NULL; tmp 573 drivers/hid/hid-multitouch.c list_for_each_entry(tmp, &td->applications, list) { tmp 574 drivers/hid/hid-multitouch.c if (application == tmp->application) { tmp 576 drivers/hid/hid-multitouch.c tmp->report_id == report->id) { tmp 577 drivers/hid/hid-multitouch.c mt_application = tmp; tmp 628 drivers/hid/hid-multitouch.c struct mt_report_data *tmp, *rdata = NULL; tmp 630 drivers/hid/hid-multitouch.c list_for_each_entry(tmp, &td->reports, list) { tmp 631 drivers/hid/hid-multitouch.c if (report == tmp->report) { tmp 632 drivers/hid/hid-multitouch.c rdata = tmp; tmp 1300 drivers/hid/hid-wiimote-modules.c __s32 val[4], tmp, div; tmp 1347 drivers/hid/hid-wiimote-modules.c tmp = 0; tmp 1349 drivers/hid/hid-wiimote-modules.c tmp = val[i] - s->calib_bboard[i][0]; tmp 1350 drivers/hid/hid-wiimote-modules.c tmp *= 1700; tmp 1352 drivers/hid/hid-wiimote-modules.c tmp /= div ? div : 1; tmp 1354 drivers/hid/hid-wiimote-modules.c tmp = val[i] - s->calib_bboard[i][1]; tmp 1355 drivers/hid/hid-wiimote-modules.c tmp *= 1700; tmp 1357 drivers/hid/hid-wiimote-modules.c tmp /= div ? div : 1; tmp 1358 drivers/hid/hid-wiimote-modules.c tmp += 1700; tmp 1360 drivers/hid/hid-wiimote-modules.c val[i] = tmp; tmp 254 drivers/hsi/clients/cmt_speech.c struct hsi_msg *msg, *tmp; tmp 256 drivers/hsi/clients/cmt_speech.c list_for_each_entry_safe(msg, tmp, &ssi->cmdqueue, link) { tmp 153 drivers/hsi/clients/hsi_char.c struct hsi_msg *msg, *tmp; tmp 155 drivers/hsi/clients/hsi_char.c list_for_each_entry_safe(msg, tmp, list, link) { tmp 344 drivers/hsi/clients/hsi_char.c struct hsi_config tmp; tmp 355 drivers/hsi/clients/hsi_char.c tmp = cl->rx_cfg; tmp 361 drivers/hsi/clients/hsi_char.c cl->rx_cfg = tmp; tmp 379 drivers/hsi/clients/hsi_char.c struct hsi_config tmp; tmp 390 drivers/hsi/clients/hsi_char.c tmp = cl->tx_cfg; tmp 397 drivers/hsi/clients/hsi_char.c cl->tx_cfg = tmp; tmp 244 drivers/hsi/clients/ssi_protocol.c struct hsi_msg *msg, *tmp; tmp 246 drivers/hsi/clients/ssi_protocol.c list_for_each_entry_safe(msg, tmp, &ssi->cmdqueue, link) { tmp 390 drivers/hsi/clients/ssi_protocol.c struct list_head *head, *tmp; tmp 412 drivers/hsi/clients/ssi_protocol.c list_for_each_safe(head, tmp, &ssi->txqueue) { tmp 177 drivers/hsi/controllers/omap_ssi_port.c struct list_head *head, *tmp; tmp 182 drivers/hsi/controllers/omap_ssi_port.c list_for_each_safe(head, tmp, &omap_port->errqueue) { tmp 219 drivers/hsi/controllers/omap_ssi_port.c u32 tmp; tmp 276 drivers/hsi/controllers/omap_ssi_port.c tmp = readl(omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); tmp 277 drivers/hsi/controllers/omap_ssi_port.c tmp |= SSI_GDD_LCH(lch); tmp 278 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(tmp, omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); tmp 345 drivers/hsi/controllers/omap_ssi_port.c u32 tmp; tmp 362 drivers/hsi/controllers/omap_ssi_port.c tmp = readl(omap_ssi->sys + tmp 364 drivers/hsi/controllers/omap_ssi_port.c writel(tmp | SSI_BREAKDETECTED, tmp 436 drivers/hsi/controllers/omap_ssi_port.c struct list_head *node, *tmp; tmp 439 drivers/hsi/controllers/omap_ssi_port.c list_for_each_safe(node, tmp, queue) { tmp 677 drivers/hsi/controllers/omap_ssi_port.c u32 tmp; tmp 712 drivers/hsi/controllers/omap_ssi_port.c tmp = readl(omap_port->sst_base + SSI_SST_BUFSTATE_REG); tmp 713 drivers/hsi/controllers/omap_ssi_port.c tmp &= ~txbufstate; tmp 714 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(tmp, omap_port->sst_base + SSI_SST_BUFSTATE_REG); tmp 716 drivers/hsi/controllers/omap_ssi_port.c tmp = readl(omap_port->ssr_base + SSI_SSR_BUFSTATE_REG); tmp 717 drivers/hsi/controllers/omap_ssi_port.c tmp &= ~rxbufstate; tmp 718 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(tmp, omap_port->ssr_base + SSI_SSR_BUFSTATE_REG); tmp 720 drivers/hsi/controllers/omap_ssi_port.c tmp = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); tmp 721 drivers/hsi/controllers/omap_ssi_port.c tmp &= ~status; tmp 722 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(tmp, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); tmp 735 drivers/hsi/controllers/omap_ssi_port.c u32 tmp; tmp 753 drivers/hsi/controllers/omap_ssi_port.c tmp = readl_relaxed(omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); tmp 754 drivers/hsi/controllers/omap_ssi_port.c tmp &= ~val; tmp 755 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(tmp, omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); tmp 814 drivers/hsi/controllers/omap_ssi_port.c u32 tmp; tmp 833 drivers/hsi/controllers/omap_ssi_port.c tmp = readl(omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); tmp 834 drivers/hsi/controllers/omap_ssi_port.c tmp &= ~val; tmp 835 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(tmp, omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); tmp 839 drivers/hsi/controllers/omap_ssi_port.c tmp = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); tmp 840 drivers/hsi/controllers/omap_ssi_port.c tmp &= 0xfeff00ff; /* Disable error & all dataavailable interrupts */ tmp 841 drivers/hsi/controllers/omap_ssi_port.c writel_relaxed(tmp, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); tmp 869 drivers/hsi/controllers/omap_ssi_port.c struct hsi_msg *tmp; tmp 883 drivers/hsi/controllers/omap_ssi_port.c list_for_each_entry_safe(msg, tmp, &omap_port->brkqueue, link) { tmp 363 drivers/hv/channel.c struct vmbus_channel_msginfo *tmp = NULL; tmp 367 drivers/hv/channel.c list_for_each_entry_safe(pos, tmp, tmp 445 drivers/hv/channel.c struct vmbus_channel_msginfo *submsginfo, *tmp; tmp 527 drivers/hv/channel.c list_for_each_entry_safe(submsginfo, tmp, &msginfo->submsglist, tmp 691 drivers/hv/channel.c struct vmbus_channel *cur_channel, *tmp; tmp 697 drivers/hv/channel.c list_for_each_entry_safe(cur_channel, tmp, &channel->sc_list, sc_list) { tmp 425 drivers/hv/channel_mgmt.c struct vmbus_channel *channel, *tmp; tmp 427 drivers/hv/channel_mgmt.c list_for_each_entry_safe(channel, tmp, &vmbus_connection.chn_list, tmp 1427 drivers/hv/channel_mgmt.c struct list_head *cur, *tmp; tmp 1433 drivers/hv/channel_mgmt.c list_for_each_safe(cur, tmp, &primary_channel->sc_list) { tmp 316 drivers/hv/connection.c struct list_head *cur, *tmp; tmp 329 drivers/hv/connection.c list_for_each_safe(cur, tmp, &channel->sc_list) { tmp 1718 drivers/hv/hv_balloon.c struct hv_hotadd_state *has, *tmp; tmp 1735 drivers/hv/hv_balloon.c list_for_each_entry_safe(has, tmp, &dm->ha_region_list, list) { tmp 214 drivers/hwmon/adm1031.c int tmp; tmp 215 drivers/hwmon/adm1031.c tmp = FAN_FROM_REG(clamp_val(reg, 0, 65535), div); tmp 216 drivers/hwmon/adm1031.c return tmp > 255 ? 255 : tmp; tmp 617 drivers/hwmon/adm1031.c u8 tmp; tmp 626 drivers/hwmon/adm1031.c tmp = val == 8 ? 0xc0 : tmp 631 drivers/hwmon/adm1031.c if (tmp == 0xff) tmp 643 drivers/hwmon/adm1031.c data->fan_div[nr] = tmp | (0x3f & data->fan_div[nr]); tmp 87 drivers/hwmon/ads7871.c u8 tmp[2] = {reg, val}; tmp 88 drivers/hwmon/ads7871.c return spi_write(spi, tmp, sizeof(tmp)); tmp 120 drivers/hwmon/adt7411.c int val, tmp; tmp 128 drivers/hwmon/adt7411.c tmp = (val >> lsb_shift) & 3; tmp 132 drivers/hwmon/adt7411.c val = (val << 2) | tmp; tmp 467 drivers/hwmon/amc6821.c u8 tmp; tmp 470 drivers/hwmon/amc6821.c for (tmp = 4; tmp > 0; tmp--) { tmp 471 drivers/hwmon/amc6821.c if (dt * (0x20 >> tmp) >= dpwm) tmp 474 drivers/hwmon/amc6821.c tmp |= (ptemp[1] & 0x7C) << 1; tmp 476 drivers/hwmon/amc6821.c reg, tmp)) { tmp 530 drivers/hwmon/applesmc.c u8 tmp[1]; tmp 553 drivers/hwmon/applesmc.c ret = applesmc_read_key(FANS_COUNT, tmp, 1); tmp 556 drivers/hwmon/applesmc.c s->fan_count = tmp[0]; tmp 330 drivers/hwmon/asus_atk0110.c union acpi_object *tmp; tmp 346 drivers/hwmon/asus_atk0110.c tmp = atk_get_pack_member(data, obj, HWMON_PACK_FLAGS); tmp 347 drivers/hwmon/asus_atk0110.c if (tmp->type != ACPI_TYPE_INTEGER) { tmp 348 drivers/hwmon/asus_atk0110.c dev_warn(dev, "Invalid type (flag): %d\n", tmp->type); tmp 352 drivers/hwmon/asus_atk0110.c tmp = atk_get_pack_member(data, obj, HWMON_PACK_NAME); tmp 353 drivers/hwmon/asus_atk0110.c if (tmp->type != ACPI_TYPE_STRING) { tmp 354 drivers/hwmon/asus_atk0110.c dev_warn(dev, "Invalid type (name): %d\n", tmp->type); tmp 360 drivers/hwmon/asus_atk0110.c tmp = &obj->package.elements[HWMON_PACK_UNK1]; tmp 361 drivers/hwmon/asus_atk0110.c if (tmp->type != ACPI_TYPE_INTEGER) { tmp 362 drivers/hwmon/asus_atk0110.c dev_warn(dev, "Invalid type (unk1): %d\n", tmp->type); tmp 366 drivers/hwmon/asus_atk0110.c tmp = &obj->package.elements[HWMON_PACK_UNK2]; tmp 367 drivers/hwmon/asus_atk0110.c if (tmp->type != ACPI_TYPE_INTEGER) { tmp 368 drivers/hwmon/asus_atk0110.c dev_warn(dev, "Invalid type (unk2): %d\n", tmp->type); tmp 373 drivers/hwmon/asus_atk0110.c tmp = atk_get_pack_member(data, obj, HWMON_PACK_LIMIT1); tmp 374 drivers/hwmon/asus_atk0110.c if (tmp->type != ACPI_TYPE_INTEGER) { tmp 375 drivers/hwmon/asus_atk0110.c dev_warn(dev, "Invalid type (limit1): %d\n", tmp->type); tmp 379 drivers/hwmon/asus_atk0110.c tmp = atk_get_pack_member(data, obj, HWMON_PACK_LIMIT2); tmp 380 drivers/hwmon/asus_atk0110.c if (tmp->type != ACPI_TYPE_INTEGER) { tmp 381 drivers/hwmon/asus_atk0110.c dev_warn(dev, "Invalid type (limit2): %d\n", tmp->type); tmp 385 drivers/hwmon/asus_atk0110.c tmp = atk_get_pack_member(data, obj, HWMON_PACK_ENABLE); tmp 386 drivers/hwmon/asus_atk0110.c if (tmp->type != ACPI_TYPE_INTEGER) { tmp 387 drivers/hwmon/asus_atk0110.c dev_warn(dev, "Invalid type (enable): %d\n", tmp->type); tmp 527 drivers/hwmon/asus_atk0110.c union acpi_object tmp; tmp 537 drivers/hwmon/asus_atk0110.c tmp.type = ACPI_TYPE_BUFFER; tmp 538 drivers/hwmon/asus_atk0110.c tmp.buffer.pointer = (u8 *)&buf; tmp 539 drivers/hwmon/asus_atk0110.c tmp.buffer.length = sizeof(buf); tmp 542 drivers/hwmon/asus_atk0110.c params.pointer = (void *)&tmp; tmp 569 drivers/hwmon/asus_atk0110.c union acpi_object tmp; tmp 574 drivers/hwmon/asus_atk0110.c tmp.type = ACPI_TYPE_BUFFER; tmp 575 drivers/hwmon/asus_atk0110.c tmp.buffer.pointer = (u8 *)buf; tmp 576 drivers/hwmon/asus_atk0110.c tmp.buffer.length = sizeof(*buf); tmp 579 drivers/hwmon/asus_atk0110.c params.pointer = &tmp; tmp 394 drivers/hwmon/fam15h_power.c u64 tmp; tmp 399 drivers/hwmon/fam15h_power.c tmp = val & 0xffff; tmp 405 drivers/hwmon/fam15h_power.c tmp *= data->tdp_to_watts; tmp 408 drivers/hwmon/fam15h_power.c if ((tmp >> 16) >= 256) tmp 411 drivers/hwmon/fam15h_power.c (unsigned int) (tmp >> 16)); tmp 414 drivers/hwmon/fam15h_power.c data->processor_pwr_watts = (tmp * 15625) >> 10; tmp 432 drivers/hwmon/fam15h_power.c if (rdmsrl_safe(MSR_F15H_CU_MAX_PWR_ACCUMULATOR, &tmp)) { tmp 437 drivers/hwmon/fam15h_power.c data->max_cu_acc_power = tmp; tmp 87 drivers/hwmon/hih6130.c unsigned char tmp[4]; tmp 93 drivers/hwmon/hih6130.c .buf = tmp, tmp 119 drivers/hwmon/hih6130.c tmp[0] = 0; tmp 120 drivers/hwmon/hih6130.c ret = i2c_master_send(client, tmp, hih6130->write_length); tmp 131 drivers/hwmon/hih6130.c if ((tmp[0] & 0xC0) != 0) { tmp 137 drivers/hwmon/hih6130.c t = (tmp[0] << 8) + tmp[1]; tmp 140 drivers/hwmon/hih6130.c t = (tmp[2] << 8) + tmp[3]; tmp 327 drivers/hwmon/ina3221.c u32 tmp; tmp 334 drivers/hwmon/ina3221.c tmp = (ina->reg_config & ~INA3221_CONFIG_AVG_MASK) | tmp 336 drivers/hwmon/ina3221.c ret = regmap_write(ina->regmap, INA3221_CONFIG, tmp); tmp 341 drivers/hwmon/ina3221.c ina->reg_config = tmp; tmp 344 drivers/hwmon/ina3221.c tmp = ina3221_interval_ms_to_conv_time(ina->reg_config, val); tmp 345 drivers/hwmon/ina3221.c idx = find_closest(tmp, ina3221_conv_time, tmp 349 drivers/hwmon/ina3221.c tmp = INA3221_CONFIG_VBUS_CT_MASK | INA3221_CONFIG_VSH_CT_MASK; tmp 350 drivers/hwmon/ina3221.c tmp = (ina->reg_config & ~tmp) | tmp 353 drivers/hwmon/ina3221.c ret = regmap_write(ina->regmap, INA3221_CONFIG, tmp); tmp 358 drivers/hwmon/ina3221.c ina->reg_config = tmp; tmp 395 drivers/hwmon/ina3221.c u32 tmp; tmp 414 drivers/hwmon/ina3221.c tmp = (ina->reg_config & ~mask) | (config & mask); tmp 415 drivers/hwmon/ina3221.c ret = regmap_write(ina->regmap, INA3221_CONFIG, tmp); tmp 420 drivers/hwmon/ina3221.c ina->reg_config = tmp; tmp 1316 drivers/hwmon/it87.c int tmp; tmp 1318 drivers/hwmon/it87.c tmp = it87_read_value(data, IT87_REG_FAN_CTL); tmp 1319 drivers/hwmon/it87.c it87_write_value(data, IT87_REG_FAN_CTL, tmp | BIT(nr)); tmp 2911 drivers/hwmon/it87.c int tmp, i; tmp 2952 drivers/hwmon/it87.c tmp = it87_read_value(data, IT87_REG_FAN_16BIT); tmp 2954 drivers/hwmon/it87.c if (tmp & BIT(4)) tmp 2956 drivers/hwmon/it87.c if (tmp & BIT(5)) tmp 2958 drivers/hwmon/it87.c if (has_six_fans(data) && (tmp & BIT(2))) tmp 2968 drivers/hwmon/it87.c tmp = it87_read_value(data, IT87_REG_FAN_DIV); tmp 2969 drivers/hwmon/it87.c if ((tmp & 0xc0) == 0xc0) tmp 2971 drivers/hwmon/it87.c if (!(tmp & BIT(3))) tmp 2987 drivers/hwmon/it87.c int tmp = it87_read_value(data, IT87_REG_FAN_CTL); tmp 2989 drivers/hwmon/it87.c if ((tmp & 0x87) == 0) { tmp 3013 drivers/hwmon/it87.c tmp | 0x87); tmp 93 drivers/hwmon/k8temp.c u8 tmp; tmp 101 drivers/hwmon/k8temp.c pci_read_config_byte(pdev, REG_TEMP, &tmp); tmp 102 drivers/hwmon/k8temp.c tmp &= ~(SEL_PLACE | SEL_CORE); tmp 104 drivers/hwmon/k8temp.c tmp |= SEL_CORE; tmp 106 drivers/hwmon/k8temp.c tmp |= SEL_PLACE; tmp 107 drivers/hwmon/k8temp.c pci_write_config_byte(pdev, REG_TEMP, tmp); tmp 1098 drivers/hwmon/lm85.c u8 tmp; tmp 1108 drivers/hwmon/lm85.c tmp = lm85_read_value(client, LM85_REG_AFAN_SPIKE1); tmp 1109 drivers/hwmon/lm85.c tmp &= ~(0x20 << nr); tmp 1111 drivers/hwmon/lm85.c tmp |= 0x20 << nr; tmp 1112 drivers/hwmon/lm85.c lm85_write_value(client, LM85_REG_AFAN_SPIKE1, tmp); tmp 2208 drivers/hwmon/lm93.c u8 tmp; tmp 2210 drivers/hwmon/lm93.c tmp = (data->prochot_interval & 0xf0) >> 4; tmp 2212 drivers/hwmon/lm93.c tmp = data->prochot_interval & 0x0f; tmp 2213 drivers/hwmon/lm93.c return sprintf(buf, "%d\n", LM93_INTERVAL_FROM_REG(tmp)); tmp 2223 drivers/hwmon/lm93.c u8 tmp; tmp 2232 drivers/hwmon/lm93.c tmp = lm93_read_byte(client, LM93_REG_PROCHOT_INTERVAL); tmp 2234 drivers/hwmon/lm93.c tmp = (tmp & 0x0f) | (LM93_INTERVAL_TO_REG(val) << 4); tmp 2236 drivers/hwmon/lm93.c tmp = (tmp & 0xf0) | LM93_INTERVAL_TO_REG(val); tmp 2237 drivers/hwmon/lm93.c data->prochot_interval = tmp; tmp 2238 drivers/hwmon/lm93.c lm93_write_byte(client, LM93_REG_PROCHOT_INTERVAL, tmp); tmp 160 drivers/hwmon/max6642.c u16 val, tmp; tmp 168 drivers/hwmon/max6642.c tmp = (val >> 6) & 3; tmp 171 drivers/hwmon/max6642.c val = (val << 2) | tmp; tmp 175 drivers/hwmon/max6642.c tmp = (val >> 6) & 3; tmp 178 drivers/hwmon/max6642.c val = (val << 2) | tmp; tmp 1113 drivers/hwmon/nct6683.c u8 tmp; tmp 1116 drivers/hwmon/nct6683.c tmp = nct6683_read(data, NCT6683_HWM_CFG); tmp 1117 drivers/hwmon/nct6683.c if (!(tmp & 0x80)) tmp 1118 drivers/hwmon/nct6683.c nct6683_write(data, NCT6683_HWM_CFG, tmp | 0x80); tmp 3505 drivers/hwmon/nct6775.c u8 tmp, diode; tmp 3509 drivers/hwmon/nct6775.c tmp = nct6775_read_value(data, data->REG_CONFIG); tmp 3510 drivers/hwmon/nct6775.c if (!(tmp & 0x01)) tmp 3511 drivers/hwmon/nct6775.c nct6775_write_value(data, data->REG_CONFIG, tmp | 0x01); tmp 3520 drivers/hwmon/nct6775.c tmp = nct6775_read_value(data, data->reg_temp_config[i]); tmp 3521 drivers/hwmon/nct6775.c if (tmp & 0x01) tmp 3523 drivers/hwmon/nct6775.c tmp & 0xfe); tmp 3527 drivers/hwmon/nct6775.c tmp = nct6775_read_value(data, data->REG_VBAT); tmp 3528 drivers/hwmon/nct6775.c if (!(tmp & 0x01)) tmp 3529 drivers/hwmon/nct6775.c nct6775_write_value(data, data->REG_VBAT, tmp | 0x01); tmp 3536 drivers/hwmon/nct6775.c if ((tmp & (data->DIODE_MASK << i))) /* diode */ tmp 4541 drivers/hwmon/nct6775.c u8 tmp; tmp 4544 drivers/hwmon/nct6775.c tmp = superio_inb(sio_data->sioreg, tmp 4549 drivers/hwmon/nct6775.c tmp |= 0xe0; tmp 4552 drivers/hwmon/nct6775.c tmp |= 0x1e; tmp 4556 drivers/hwmon/nct6775.c tmp |= 0x3e; tmp 4565 drivers/hwmon/nct6775.c tmp |= 0x7e; tmp 4569 drivers/hwmon/nct6775.c tmp); tmp 580 drivers/hwmon/nct7904.c u8 tmp; tmp 588 drivers/hwmon/nct7904.c tmp = (val >> 5) & 0xff; tmp 590 drivers/hwmon/nct7904.c FANIN1_HV_HL_REG + channel * 2, tmp); tmp 593 drivers/hwmon/nct7904.c tmp = val & 0x1f; tmp 595 drivers/hwmon/nct7904.c FANIN1_LV_HL_REG + channel * 2, tmp); tmp 606 drivers/hwmon/nct7904.c int ret, index, tmp; tmp 619 drivers/hwmon/nct7904.c tmp = nct7904_read_reg(data, BANK_1, tmp 621 drivers/hwmon/nct7904.c if (tmp < 0) tmp 622 drivers/hwmon/nct7904.c return tmp; tmp 623 drivers/hwmon/nct7904.c tmp &= ~0x7; tmp 624 drivers/hwmon/nct7904.c tmp |= val & 0x7; tmp 626 drivers/hwmon/nct7904.c VSEN1_LV_LL_REG + index * 4, tmp); tmp 629 drivers/hwmon/nct7904.c tmp = nct7904_read_reg(data, BANK_1, tmp 631 drivers/hwmon/nct7904.c if (tmp < 0) tmp 632 drivers/hwmon/nct7904.c return tmp; tmp 633 drivers/hwmon/nct7904.c tmp = (val >> 3) & 0xff; tmp 635 drivers/hwmon/nct7904.c VSEN1_HV_LL_REG + index * 4, tmp); tmp 638 drivers/hwmon/nct7904.c tmp = nct7904_read_reg(data, BANK_1, tmp 640 drivers/hwmon/nct7904.c if (tmp < 0) tmp 641 drivers/hwmon/nct7904.c return tmp; tmp 642 drivers/hwmon/nct7904.c tmp &= ~0x7; tmp 643 drivers/hwmon/nct7904.c tmp |= val & 0x7; tmp 645 drivers/hwmon/nct7904.c VSEN1_LV_HL_REG + index * 4, tmp); tmp 648 drivers/hwmon/nct7904.c tmp = nct7904_read_reg(data, BANK_1, tmp 650 drivers/hwmon/nct7904.c if (tmp < 0) tmp 651 drivers/hwmon/nct7904.c return tmp; tmp 652 drivers/hwmon/nct7904.c tmp = (val >> 3) & 0xff; tmp 654 drivers/hwmon/nct7904.c VSEN1_HV_HL_REG + index * 4, tmp); tmp 368 drivers/hwmon/pmbus/pmbus_core.c unsigned int tmp; tmp 375 drivers/hwmon/pmbus/pmbus_core.c tmp = (rv & ~mask) | (value & mask); tmp 377 drivers/hwmon/pmbus/pmbus_core.c if (tmp != rv) tmp 378 drivers/hwmon/pmbus/pmbus_core.c rv = pmbus_write_byte_data(client, page, reg, tmp); tmp 58 drivers/hwmon/pwm-fan.c u64 tmp; tmp 62 drivers/hwmon/pwm-fan.c tmp = (u64)pulses * ktime_ms_delta(ktime_get(), ctx->sample_start) * 60; tmp 63 drivers/hwmon/pwm-fan.c do_div(tmp, ctx->pulses_per_revolution * 1000); tmp 64 drivers/hwmon/pwm-fan.c ctx->rpm = tmp; tmp 312 drivers/hwmon/smsc47m1.c long tmp; tmp 344 drivers/hwmon/smsc47m1.c tmp = smsc47m1_read_value(data, SMSC47M1_REG_FANDIV) tmp 346 drivers/hwmon/smsc47m1.c tmp |= data->fan_div[nr] << (4 + 2 * nr); tmp 347 drivers/hwmon/smsc47m1.c smsc47m1_write_value(data, SMSC47M1_REG_FANDIV, tmp); tmp 350 drivers/hwmon/smsc47m1.c tmp = smsc47m1_read_value(data, SMSC47M2_REG_FANDIV3) & 0xCF; tmp 351 drivers/hwmon/smsc47m1.c tmp |= data->fan_div[2] << 4; tmp 352 drivers/hwmon/smsc47m1.c smsc47m1_write_value(data, SMSC47M2_REG_FANDIV3, tmp); tmp 359 drivers/hwmon/smsc47m1.c tmp = 192 - (old_div * (192 - data->fan_preload[nr]) tmp 361 drivers/hwmon/smsc47m1.c data->fan_preload[nr] = clamp_val(tmp, 0, 191); tmp 654 drivers/hwmon/stts751.c int tmp; tmp 659 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_MAN_ID); tmp 660 drivers/hwmon/stts751.c if (tmp != ST_MAN_ID) tmp 664 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_TEMP_L); tmp 665 drivers/hwmon/stts751.c if (tmp & 0xf) tmp 668 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_HLIM_L); tmp 669 drivers/hwmon/stts751.c if (tmp & 0xf) tmp 672 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_LLIM_L); tmp 673 drivers/hwmon/stts751.c if (tmp & 0xf) tmp 677 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_SMBUS_TO); tmp 678 drivers/hwmon/stts751.c if (tmp & 0x7f) tmp 681 drivers/hwmon/stts751.c tmp = i2c_smbus_read_byte_data(new_client, STTS751_REG_PROD_ID); tmp 683 drivers/hwmon/stts751.c switch (tmp) { tmp 702 drivers/hwmon/stts751.c int tmp; tmp 733 drivers/hwmon/stts751.c ret = stts751_read_reg8(priv, &tmp, STTS751_REG_HYST); tmp 736 drivers/hwmon/stts751.c priv->hyst = priv->therm - tmp; tmp 132 drivers/hwmon/thmc50.c unsigned long tmp; tmp 135 drivers/hwmon/thmc50.c err = kstrtoul(buf, 10, &tmp); tmp 140 drivers/hwmon/thmc50.c data->analog_out = clamp_val(tmp, 0, 255); tmp 635 drivers/hwmon/vt1211.c int tmp, reg; tmp 687 drivers/hwmon/vt1211.c tmp = 0; tmp 689 drivers/hwmon/vt1211.c tmp++; tmp 692 drivers/hwmon/vt1211.c data->pwm_clk = (reg & 0xf8) | tmp; tmp 1874 drivers/hwmon/w83627ehf.c u8 tmp, diode; tmp 1877 drivers/hwmon/w83627ehf.c tmp = w83627ehf_read_value(data, W83627EHF_REG_CONFIG); tmp 1878 drivers/hwmon/w83627ehf.c if (!(tmp & 0x01)) tmp 1880 drivers/hwmon/w83627ehf.c tmp | 0x01); tmp 1888 drivers/hwmon/w83627ehf.c tmp = w83627ehf_read_value(data, tmp 1890 drivers/hwmon/w83627ehf.c if (tmp & 0x01) tmp 1893 drivers/hwmon/w83627ehf.c tmp & 0xfe); tmp 1897 drivers/hwmon/w83627ehf.c tmp = w83627ehf_read_value(data, W83627EHF_REG_VBAT); tmp 1898 drivers/hwmon/w83627ehf.c if (!(tmp & 0x01)) tmp 1899 drivers/hwmon/w83627ehf.c w83627ehf_write_value(data, W83627EHF_REG_VBAT, tmp | 0x01); tmp 1923 drivers/hwmon/w83627ehf.c else if ((tmp & (0x02 << i))) tmp 2411 drivers/hwmon/w83627ehf.c u8 tmp; tmp 2414 drivers/hwmon/w83627ehf.c tmp = superio_inb(sio_data->sioreg, NCT6775_REG_FAN_DEBOUNCE); tmp 2417 drivers/hwmon/w83627ehf.c 0x3e | tmp); tmp 2420 drivers/hwmon/w83627ehf.c 0x1e | tmp); tmp 716 drivers/hwmon/w83627hf.c u16 tmp = data->temp[nr]; tmp 717 drivers/hwmon/w83627hf.c return sprintf(buf, "%ld\n", (nr) ? (long) LM75_TEMP_FROM_REG(tmp) tmp 718 drivers/hwmon/w83627hf.c : (long) TEMP_FROM_REG(tmp)); tmp 727 drivers/hwmon/w83627hf.c u16 tmp = data->temp_max[nr]; tmp 728 drivers/hwmon/w83627hf.c return sprintf(buf, "%ld\n", (nr) ? (long) LM75_TEMP_FROM_REG(tmp) tmp 729 drivers/hwmon/w83627hf.c : (long) TEMP_FROM_REG(tmp)); tmp 739 drivers/hwmon/w83627hf.c u16 tmp = data->temp_max_hyst[nr]; tmp 740 drivers/hwmon/w83627hf.c return sprintf(buf, "%ld\n", (nr) ? (long) LM75_TEMP_FROM_REG(tmp) tmp 741 drivers/hwmon/w83627hf.c : (long) TEMP_FROM_REG(tmp)); tmp 750 drivers/hwmon/w83627hf.c u16 tmp; tmp 758 drivers/hwmon/w83627hf.c tmp = (nr) ? LM75_TEMP_TO_REG(val) : TEMP_TO_REG(val); tmp 760 drivers/hwmon/w83627hf.c data->temp_max[nr] = tmp; tmp 761 drivers/hwmon/w83627hf.c w83627hf_write_value(data, w83627hf_reg_temp_over[nr], tmp); tmp 772 drivers/hwmon/w83627hf.c u16 tmp; tmp 780 drivers/hwmon/w83627hf.c tmp = (nr) ? LM75_TEMP_TO_REG(val) : TEMP_TO_REG(val); tmp 782 drivers/hwmon/w83627hf.c data->temp_max_hyst[nr] = tmp; tmp 783 drivers/hwmon/w83627hf.c w83627hf_write_value(data, w83627hf_reg_temp_hyst[nr], tmp); tmp 1185 drivers/hwmon/w83627hf.c u32 tmp; tmp 1196 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, W83781D_REG_SCFG1); tmp 1198 drivers/hwmon/w83627hf.c tmp | BIT_SCFG1[nr]); tmp 1199 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, W83781D_REG_SCFG2); tmp 1201 drivers/hwmon/w83627hf.c tmp | BIT_SCFG2[nr]); tmp 1205 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, W83781D_REG_SCFG1); tmp 1207 drivers/hwmon/w83627hf.c tmp | BIT_SCFG1[nr]); tmp 1208 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, W83781D_REG_SCFG2); tmp 1210 drivers/hwmon/w83627hf.c tmp & ~BIT_SCFG2[nr]); tmp 1218 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, W83781D_REG_SCFG1); tmp 1220 drivers/hwmon/w83627hf.c tmp & ~BIT_SCFG1[nr]); tmp 1726 drivers/hwmon/w83627hf.c u8 tmp; tmp 1753 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, W83781D_REG_SCFG1); tmp 1755 drivers/hwmon/w83627hf.c if (!(tmp & BIT_SCFG1[i - 1])) { tmp 1771 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, W83627HF_REG_TEMP2_CONFIG); tmp 1772 drivers/hwmon/w83627hf.c if (tmp & 0x01) { tmp 1776 drivers/hwmon/w83627hf.c tmp & 0xfe); tmp 1781 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, tmp 1783 drivers/hwmon/w83627hf.c if (tmp & 0x01) { tmp 1787 drivers/hwmon/w83627hf.c W83627HF_REG_TEMP3_CONFIG, tmp & 0xfe); tmp 1799 drivers/hwmon/w83627hf.c tmp = w83627hf_read_value(data, W83781D_REG_VBAT); tmp 1800 drivers/hwmon/w83627hf.c if (!(tmp & 0x01)) tmp 1801 drivers/hwmon/w83627hf.c w83627hf_write_value(data, W83781D_REG_VBAT, tmp | 0x01); tmp 1855 drivers/hwmon/w83627hf.c u8 tmp = w83627hf_read_value(data, tmp 1859 drivers/hwmon/w83627hf.c tmp &= 0xf0; tmp 1860 drivers/hwmon/w83627hf.c data->pwm[i] = tmp; tmp 1866 drivers/hwmon/w83627hf.c u8 tmp = w83627hf_read_value(data, tmp 1868 drivers/hwmon/w83627hf.c data->pwm_freq[0] = tmp & 0x07; tmp 1869 drivers/hwmon/w83627hf.c data->pwm_freq[1] = (tmp >> 4) & 0x07; tmp 1881 drivers/hwmon/w83627hf.c u8 tmp = w83627hf_read_value(data, tmp 1884 drivers/hwmon/w83627hf.c ((tmp >> W83627THF_PWM_ENABLE_SHIFT[i]) tmp 785 drivers/hwmon/w83781d.c u32 tmp; tmp 796 drivers/hwmon/w83781d.c tmp = w83781d_read_value(data, W83781D_REG_SCFG1); tmp 798 drivers/hwmon/w83781d.c tmp | BIT_SCFG1[nr]); tmp 799 drivers/hwmon/w83781d.c tmp = w83781d_read_value(data, W83781D_REG_SCFG2); tmp 801 drivers/hwmon/w83781d.c tmp | BIT_SCFG2[nr]); tmp 805 drivers/hwmon/w83781d.c tmp = w83781d_read_value(data, W83781D_REG_SCFG1); tmp 807 drivers/hwmon/w83781d.c tmp | BIT_SCFG1[nr]); tmp 808 drivers/hwmon/w83781d.c tmp = w83781d_read_value(data, W83781D_REG_SCFG2); tmp 810 drivers/hwmon/w83781d.c tmp & ~BIT_SCFG2[nr]); tmp 819 drivers/hwmon/w83781d.c tmp = w83781d_read_value(data, W83781D_REG_SCFG1); tmp 821 drivers/hwmon/w83781d.c tmp & ~BIT_SCFG1[nr]); tmp 1339 drivers/hwmon/w83781d.c u8 tmp; tmp 1390 drivers/hwmon/w83781d.c tmp = w83781d_read_value(data, W83781D_REG_SCFG1); tmp 1392 drivers/hwmon/w83781d.c if (!(tmp & BIT_SCFG1[i - 1])) { tmp 1409 drivers/hwmon/w83781d.c tmp = w83781d_read_value(data, W83781D_REG_TEMP2_CONFIG); tmp 1410 drivers/hwmon/w83781d.c if (tmp & 0x01) { tmp 1414 drivers/hwmon/w83781d.c tmp & 0xfe); tmp 1419 drivers/hwmon/w83781d.c tmp = w83781d_read_value(data, tmp 1421 drivers/hwmon/w83781d.c if (tmp & 0x01) { tmp 1425 drivers/hwmon/w83781d.c W83781D_REG_TEMP3_CONFIG, tmp & 0xfe); tmp 1430 drivers/hwmon/w83791d.c u8 tmp; tmp 1460 drivers/hwmon/w83791d.c tmp = w83791d_read(client, W83791D_REG_BEEP_CTRL[1]); tmp 1461 drivers/hwmon/w83791d.c w83791d_write(client, W83791D_REG_BEEP_CTRL[1], tmp & 0xef); tmp 1465 drivers/hwmon/w83791d.c tmp = w83791d_read(client, W83791D_REG_TEMP2_CONFIG); tmp 1466 drivers/hwmon/w83791d.c if (tmp & 1) { tmp 1468 drivers/hwmon/w83791d.c tmp & 0xfe); tmp 1471 drivers/hwmon/w83791d.c tmp = w83791d_read(client, W83791D_REG_TEMP3_CONFIG); tmp 1472 drivers/hwmon/w83791d.c if (tmp & 1) { tmp 1474 drivers/hwmon/w83791d.c tmp & 0xfe); tmp 1478 drivers/hwmon/w83791d.c tmp = w83791d_read(client, W83791D_REG_CONFIG) & 0xf7; tmp 1479 drivers/hwmon/w83791d.c w83791d_write(client, W83791D_REG_CONFIG, tmp | 0x01); tmp 590 drivers/hwmon/w83793.c long tmp; tmp 593 drivers/hwmon/w83793.c err = kstrtol(buf, 10, &tmp); tmp 598 drivers/hwmon/w83793.c data->temp[index][nr] = TEMP_TO_REG(tmp, -128, 127); tmp 631 drivers/hwmon/w83793.c u8 tmp; tmp 634 drivers/hwmon/w83793.c tmp = (data->temp_mode[index] >> shift) & mask; tmp 637 drivers/hwmon/w83793.c if (tmp == 1) tmp 638 drivers/hwmon/w83793.c tmp = index == 0 ? 3 : 4; tmp 640 drivers/hwmon/w83793.c tmp = TO_TEMP_MODE[tmp]; tmp 642 drivers/hwmon/w83793.c return sprintf(buf, "%d\n", tmp); tmp 1503 drivers/hwmon/w83793.c int i, tmp; tmp 1527 drivers/hwmon/w83793.c tmp = w83793_read_value(client, W83793_REG_CONFIG); tmp 1528 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_CONFIG, tmp & ~0x04); tmp 1567 drivers/hwmon/w83793.c u8 tmp; tmp 1588 drivers/hwmon/w83793.c tmp = w83793_read_value(client, W83793_REG_I2C_SUBADDR); tmp 1589 drivers/hwmon/w83793.c if (!(tmp & 0x08)) tmp 1591 drivers/hwmon/w83793.c 0x48 + (tmp & 0x7)); tmp 1592 drivers/hwmon/w83793.c if (!(tmp & 0x80)) { tmp 1594 drivers/hwmon/w83793.c && ((tmp & 0x7) == ((tmp >> 4) & 0x7))) { tmp 1601 drivers/hwmon/w83793.c 0x48 + ((tmp >> 4) & 0x7)); tmp 1611 drivers/hwmon/w83793.c u8 tmp, bank, chip_id; tmp 1620 drivers/hwmon/w83793.c tmp = bank & 0x80 ? 0x5c : 0xa3; tmp 1622 drivers/hwmon/w83793.c if (tmp != i2c_smbus_read_byte_data(client, W83793_REG_VENDORID)) { tmp 1656 drivers/hwmon/w83793.c int i, tmp, val, err; tmp 1694 drivers/hwmon/w83793.c tmp = w83793_read_value(client, W83793_REG_MFC); tmp 1698 drivers/hwmon/w83793.c if (tmp & 0x80) { tmp 1710 drivers/hwmon/w83793.c if (!(tmp & 0x40) && (val & 0x04)) { /* fan 8 */ tmp 1717 drivers/hwmon/w83793.c if (!(tmp & 0x29)) tmp 1719 drivers/hwmon/w83793.c if (0x08 == (tmp & 0x0c)) { tmp 1725 drivers/hwmon/w83793.c if (0x20 == (tmp & 0x30)) { tmp 1732 drivers/hwmon/w83793.c if ((tmp & 0x01) && (val & 0x04)) { /* fan 8, second location */ tmp 1737 drivers/hwmon/w83793.c tmp = w83793_read_value(client, W83793_REG_FANIN_SEL); tmp 1738 drivers/hwmon/w83793.c if ((tmp & 0x01) && (val & 0x08)) { /* fan 9, second location */ tmp 1741 drivers/hwmon/w83793.c if ((tmp & 0x02) && (val & 0x10)) { /* fan 10, second location */ tmp 1744 drivers/hwmon/w83793.c if ((tmp & 0x04) && (val & 0x20)) { /* fan 11, second location */ tmp 1747 drivers/hwmon/w83793.c if ((tmp & 0x08) && (val & 0x40)) { /* fan 12, second location */ tmp 1752 drivers/hwmon/w83793.c tmp = w83793_read_value(client, W83793_REG_TEMP_MODE[0]); tmp 1753 drivers/hwmon/w83793.c if (tmp & 0x01) tmp 1755 drivers/hwmon/w83793.c if (tmp & 0x04) tmp 1757 drivers/hwmon/w83793.c if (tmp & 0x10) tmp 1759 drivers/hwmon/w83793.c if (tmp & 0x40) tmp 1762 drivers/hwmon/w83793.c tmp = w83793_read_value(client, W83793_REG_TEMP_MODE[1]); tmp 1763 drivers/hwmon/w83793.c if (tmp & 0x01) tmp 1765 drivers/hwmon/w83793.c if (tmp & 0x02) tmp 1857 drivers/hwmon/w83793.c tmp = w83793_read_value(client, W83793_REG_CONFIG); tmp 1858 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_CONFIG, tmp | 0x04); tmp 525 drivers/hwmon/w83795.c int i, tmp; tmp 543 drivers/hwmon/w83795.c for (tmp = PWM_FREQ; tmp <= PWM_STOP_TIME; tmp++) tmp 544 drivers/hwmon/w83795.c data->pwm[i][tmp] = tmp 545 drivers/hwmon/w83795.c w83795_read(client, W83795_REG_PWM(i, tmp)); tmp 560 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_HT(i)); tmp 561 drivers/hwmon/w83795.c data->pwm_temp[i][TEMP_PWM_HCT] = tmp >> 4; tmp 562 drivers/hwmon/w83795.c data->pwm_temp[i][TEMP_PWM_HOT] = tmp & 0x0f; tmp 567 drivers/hwmon/w83795.c for (tmp = 0; tmp < 7; tmp++) { tmp 568 drivers/hwmon/w83795.c data->sf4_reg[i][SF4_TEMP][tmp] = tmp 570 drivers/hwmon/w83795.c W83795_REG_SF4_TEMP(i, tmp)); tmp 571 drivers/hwmon/w83795.c data->sf4_reg[i][SF4_PWM][tmp] = tmp 572 drivers/hwmon/w83795.c w83795_read(client, W83795_REG_SF4_PWM(i, tmp)); tmp 592 drivers/hwmon/w83795.c u16 tmp; tmp 609 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_IN[i][IN_READ]) << 2; tmp 610 drivers/hwmon/w83795.c tmp |= w83795_read(client, W83795_REG_VRLSB) >> 6; tmp 611 drivers/hwmon/w83795.c data->in[i][IN_READ] = tmp; tmp 670 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_ALARM_CTRL); tmp 672 drivers/hwmon/w83795.c if (tmp & ALARM_CTRL_RTSACS) tmp 674 drivers/hwmon/w83795.c tmp & ~ALARM_CTRL_RTSACS); tmp 677 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_ALARM_CTRL, tmp | ALARM_CTRL_RTSACS); tmp 682 drivers/hwmon/w83795.c if (!(tmp & ALARM_CTRL_RTSACS)) tmp 684 drivers/hwmon/w83795.c tmp & ~ALARM_CTRL_RTSACS); tmp 893 drivers/hwmon/w83795.c u8 tmp; tmp 897 drivers/hwmon/w83795.c tmp = 2; tmp 901 drivers/hwmon/w83795.c for (tmp = 0; tmp < 6; tmp++) { tmp 902 drivers/hwmon/w83795.c if (data->pwm_tfmr[tmp] & (1 << index)) { tmp 903 drivers/hwmon/w83795.c tmp = 3; tmp 908 drivers/hwmon/w83795.c tmp = 1; tmp 911 drivers/hwmon/w83795.c return sprintf(buf, "%u\n", tmp); tmp 1004 drivers/hwmon/w83795.c u8 tmp = data->temp_src[index / 2]; tmp 1007 drivers/hwmon/w83795.c tmp >>= 4; /* Pick high nibble */ tmp 1009 drivers/hwmon/w83795.c tmp &= 0x0f; /* Pick low nibble */ tmp 1012 drivers/hwmon/w83795.c if (tmp >= 4 || tss_map[tmp][index] == TSS_MAP_RESERVED) tmp 1015 drivers/hwmon/w83795.c return sprintf(buf, "%u\n", (unsigned int)tss_map[tmp][index] + 1); tmp 1027 drivers/hwmon/w83795.c int tmp; tmp 1036 drivers/hwmon/w83795.c for (tmp = 0; tmp < 4; tmp++) { tmp 1037 drivers/hwmon/w83795.c if (tss_map[tmp][index] == channel - 1) tmp 1040 drivers/hwmon/w83795.c if (tmp == 4) /* No match */ tmp 1045 drivers/hwmon/w83795.c tmp <<= 4; tmp 1050 drivers/hwmon/w83795.c data->temp_src[val] |= tmp; tmp 1068 drivers/hwmon/w83795.c u8 tmp = 0xff; tmp 1072 drivers/hwmon/w83795.c tmp = (data->pwm_fcms[1] >> index) & 1; tmp 1073 drivers/hwmon/w83795.c if (tmp) tmp 1074 drivers/hwmon/w83795.c tmp = 4; tmp 1076 drivers/hwmon/w83795.c tmp = 3; tmp 1079 drivers/hwmon/w83795.c tmp = data->pwm_tfmr[index]; tmp 1083 drivers/hwmon/w83795.c return sprintf(buf, "%u\n", tmp); tmp 1096 drivers/hwmon/w83795.c unsigned long tmp; tmp 1098 drivers/hwmon/w83795.c if (kstrtoul(buf, 10, &tmp) < 0) tmp 1103 drivers/hwmon/w83795.c if (tmp != 3 && tmp != 4) tmp 1105 drivers/hwmon/w83795.c tmp -= 3; tmp 1108 drivers/hwmon/w83795.c data->pwm_fcms[1] |= tmp << index; tmp 1114 drivers/hwmon/w83795.c tmp = clamp_val(tmp, 0, 0xff); tmp 1115 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_TFMR(index), tmp); tmp 1116 drivers/hwmon/w83795.c data->pwm_tfmr[index] = tmp; tmp 1133 drivers/hwmon/w83795.c u16 tmp = 0; tmp 1137 drivers/hwmon/w83795.c tmp = fan_from_reg(data->target_speed[index]); tmp 1140 drivers/hwmon/w83795.c tmp = data->tol_speed; tmp 1144 drivers/hwmon/w83795.c return sprintf(buf, "%u\n", tmp); tmp 1190 drivers/hwmon/w83795.c long tmp = temp_from_reg(data->pwm_temp[index][nr]); tmp 1192 drivers/hwmon/w83795.c return sprintf(buf, "%ld\n", tmp); tmp 1206 drivers/hwmon/w83795.c u8 tmp; tmp 1224 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_HT(index)); tmp 1225 drivers/hwmon/w83795.c tmp &= 0x0f; tmp 1226 drivers/hwmon/w83795.c tmp |= (val << 4) & 0xf0; tmp 1227 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_HT(index), tmp); tmp 1231 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_HT(index)); tmp 1232 drivers/hwmon/w83795.c tmp &= 0xf0; tmp 1233 drivers/hwmon/w83795.c tmp |= val & 0x0f; tmp 1234 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_HT(index), tmp); tmp 1341 drivers/hwmon/w83795.c long tmp; tmp 1343 drivers/hwmon/w83795.c if (kstrtol(buf, 10, &tmp) < 0) tmp 1347 drivers/hwmon/w83795.c data->temp[index][nr] = temp_to_reg(tmp, -128, 127); tmp 1358 drivers/hwmon/w83795.c int tmp; tmp 1361 drivers/hwmon/w83795.c tmp = 5; tmp 1363 drivers/hwmon/w83795.c tmp = 6; tmp 1365 drivers/hwmon/w83795.c return sprintf(buf, "%d\n", tmp); tmp 1402 drivers/hwmon/w83795.c long tmp; tmp 1404 drivers/hwmon/w83795.c if (kstrtol(buf, 10, &tmp) < 0) tmp 1408 drivers/hwmon/w83795.c data->dts_ext[nr] = temp_to_reg(tmp, -128, 127); tmp 1422 drivers/hwmon/w83795.c int tmp; tmp 1425 drivers/hwmon/w83795.c tmp = 3; /* Thermal diode */ tmp 1427 drivers/hwmon/w83795.c tmp = 4; /* Thermistor */ tmp 1429 drivers/hwmon/w83795.c return sprintf(buf, "%d\n", tmp); tmp 1444 drivers/hwmon/w83795.c u8 tmp; tmp 1463 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_TEMP_CTRL2); tmp 1464 drivers/hwmon/w83795.c tmp &= ~(0x03 << reg_shift); tmp 1465 drivers/hwmon/w83795.c tmp |= val << reg_shift; tmp 1466 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_TEMP_CTRL2, tmp); tmp 1519 drivers/hwmon/w83795.c u8 tmp; tmp 1533 drivers/hwmon/w83795.c tmp = w83795_read(client, IN_LSB_REG(lsb_idx, nr)); tmp 1534 drivers/hwmon/w83795.c tmp &= ~(0x03 << IN_LSB_SHIFT_IDX[index][IN_LSB_SHIFT]); tmp 1535 drivers/hwmon/w83795.c tmp |= (val & 0x03) << IN_LSB_SHIFT_IDX[index][IN_LSB_SHIFT]; tmp 1536 drivers/hwmon/w83795.c w83795_write(client, IN_LSB_REG(lsb_idx, nr), tmp); tmp 1537 drivers/hwmon/w83795.c data->in_lsb[lsb_idx][nr] = tmp; tmp 1539 drivers/hwmon/w83795.c tmp = (val >> 2) & 0xff; tmp 1540 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_IN[index][nr], tmp); tmp 1541 drivers/hwmon/w83795.c data->in[index][nr] = tmp; tmp 2141 drivers/hwmon/w83795.c u8 tmp; tmp 2165 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_TEMP_CTRL1); tmp 2166 drivers/hwmon/w83795.c if (tmp & 0x20) tmp 2168 drivers/hwmon/w83795.c w83795_apply_temp_config(data, (tmp >> 2) & 0x3, 5, 16); tmp 2169 drivers/hwmon/w83795.c w83795_apply_temp_config(data, tmp & 0x3, 4, 15); tmp 2170 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_TEMP_CTRL2); tmp 2171 drivers/hwmon/w83795.c w83795_apply_temp_config(data, tmp >> 6, 3, 20); tmp 2172 drivers/hwmon/w83795.c w83795_apply_temp_config(data, (tmp >> 4) & 0x3, 2, 19); tmp 2173 drivers/hwmon/w83795.c w83795_apply_temp_config(data, (tmp >> 2) & 0x3, 1, 18); tmp 2174 drivers/hwmon/w83795.c w83795_apply_temp_config(data, tmp & 0x3, 0, 17); tmp 2188 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_PECI_TBASE(i)); tmp 2191 drivers/hwmon/w83795.c i + 1, (unsigned int)tmp & 0x7f); tmp 2212 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_OVT_CFG); tmp 2213 drivers/hwmon/w83795.c if ((tmp & OVT_CFG_SEL) == 0) tmp 697 drivers/hwmon/w83l786ng.c u8 tmp; tmp 703 drivers/hwmon/w83l786ng.c tmp = w83l786ng_read_value(client, W83L786NG_REG_CONFIG); tmp 704 drivers/hwmon/w83l786ng.c if (!(tmp & 0x01)) tmp 705 drivers/hwmon/w83l786ng.c w83l786ng_write_value(client, W83L786NG_REG_CONFIG, tmp | 0x01); tmp 423 drivers/hwspinlock/hwspinlock_core.c struct hwspinlock *tmp; tmp 436 drivers/hwspinlock/hwspinlock_core.c tmp = radix_tree_tag_set(&hwspinlock_tree, id, HWSPINLOCK_UNUSED); tmp 439 drivers/hwspinlock/hwspinlock_core.c WARN_ON(tmp != hwlock); tmp 536 drivers/hwspinlock/hwspinlock_core.c struct hwspinlock *hwlock, *tmp; tmp 542 drivers/hwspinlock/hwspinlock_core.c tmp = hwspin_lock_unregister_single(bank->base_id + i); tmp 543 drivers/hwspinlock/hwspinlock_core.c if (!tmp) tmp 547 drivers/hwspinlock/hwspinlock_core.c WARN_ON(tmp != hwlock); tmp 649 drivers/hwspinlock/hwspinlock_core.c struct hwspinlock *tmp; tmp 668 drivers/hwspinlock/hwspinlock_core.c tmp = radix_tree_tag_clear(&hwspinlock_tree, hwlock_to_id(hwlock), tmp 672 drivers/hwspinlock/hwspinlock_core.c WARN_ON(tmp != hwlock); tmp 801 drivers/hwspinlock/hwspinlock_core.c struct hwspinlock *tmp; tmp 828 drivers/hwspinlock/hwspinlock_core.c tmp = radix_tree_tag_set(&hwspinlock_tree, hwlock_to_id(hwlock), tmp 832 drivers/hwspinlock/hwspinlock_core.c WARN_ON(tmp != hwlock); tmp 756 drivers/hwtracing/coresight/coresight-tmc-etr.c struct coresight_device *tmp, *etr = drvdata->csdev; tmp 762 drivers/hwtracing/coresight/coresight-tmc-etr.c tmp = etr->pdata->conns[i].child_dev; tmp 763 drivers/hwtracing/coresight/coresight-tmc-etr.c if (tmp && coresight_is_catu_device(tmp)) tmp 764 drivers/hwtracing/coresight/coresight-tmc-etr.c return tmp; tmp 121 drivers/i2c/busses/i2c-altera.c u32 tmp = readl(idev->base + ALTR_I2C_CTRL); tmp 123 drivers/i2c/busses/i2c-altera.c writel(tmp & ~ALTR_I2C_CTRL_EN, idev->base + ALTR_I2C_CTRL); tmp 128 drivers/i2c/busses/i2c-altera.c u32 tmp = readl(idev->base + ALTR_I2C_CTRL); tmp 130 drivers/i2c/busses/i2c-altera.c writel(tmp | ALTR_I2C_CTRL_EN, idev->base + ALTR_I2C_CTRL); tmp 148 drivers/i2c/busses/i2c-altera.c u32 tmp = (ALTR_I2C_THRESHOLD << ALTR_I2C_CTRL_RXT_SHFT) | tmp 153 drivers/i2c/busses/i2c-altera.c tmp &= ~ALTR_I2C_CTRL_BSPEED; tmp 158 drivers/i2c/busses/i2c-altera.c tmp |= ALTR_I2C_CTRL_BSPEED; tmp 163 drivers/i2c/busses/i2c-altera.c writel(tmp, idev->base + ALTR_I2C_CTRL); tmp 797 drivers/i2c/busses/i2c-aspeed.c u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; tmp 839 drivers/i2c/busses/i2c-aspeed.c tmp = (divisor + (1 << base_clk_divisor) - 1) tmp 841 drivers/i2c/busses/i2c-aspeed.c clk_low = tmp / 2; tmp 842 drivers/i2c/busses/i2c-aspeed.c clk_high = tmp - clk_low; tmp 644 drivers/i2c/busses/i2c-axxia.c u32 tmp; tmp 647 drivers/i2c/busses/i2c-axxia.c tmp = readl(idev->base + I2C_BUS_MONITOR) & BM_SDAC; tmp 649 drivers/i2c/busses/i2c-axxia.c tmp |= BM_SCLC; tmp 650 drivers/i2c/busses/i2c-axxia.c writel(tmp, idev->base + I2C_BUS_MONITOR); tmp 434 drivers/i2c/busses/i2c-bcm-iproc.c u32 tmp; tmp 440 drivers/i2c/busses/i2c-bcm-iproc.c tmp = iproc_i2c_rd_reg(iproc_i2c, IE_OFFSET); tmp 441 drivers/i2c/busses/i2c-bcm-iproc.c tmp &= ~BIT(IE_M_TX_UNDERRUN_SHIFT); tmp 443 drivers/i2c/busses/i2c-bcm-iproc.c tmp); tmp 686 drivers/i2c/busses/i2c-bcm-iproc.c u32 val, tmp, val_intr_en; tmp 756 drivers/i2c/busses/i2c-bcm-iproc.c tmp = iproc_i2c_rd_reg(iproc_i2c, M_FIFO_CTRL_OFFSET); tmp 757 drivers/i2c/busses/i2c-bcm-iproc.c tmp &= ~(M_FIFO_RX_THLD_MASK << M_FIFO_RX_THLD_SHIFT); tmp 758 drivers/i2c/busses/i2c-bcm-iproc.c tmp |= iproc_i2c->thld_bytes << M_FIFO_RX_THLD_SHIFT; tmp 759 drivers/i2c/busses/i2c-bcm-iproc.c iproc_i2c_wr_reg(iproc_i2c, M_FIFO_CTRL_OFFSET, tmp); tmp 1034 drivers/i2c/busses/i2c-bcm-iproc.c u32 tmp; tmp 1043 drivers/i2c/busses/i2c-bcm-iproc.c tmp = iproc_i2c_rd_reg(iproc_i2c, IE_OFFSET); tmp 1044 drivers/i2c/busses/i2c-bcm-iproc.c tmp &= ~(IE_S_ALL_INTERRUPT_MASK << tmp 1046 drivers/i2c/busses/i2c-bcm-iproc.c iproc_i2c_wr_reg(iproc_i2c, IE_OFFSET, tmp); tmp 1049 drivers/i2c/busses/i2c-bcm-iproc.c tmp = iproc_i2c_rd_reg(iproc_i2c, S_CFG_SMBUS_ADDR_OFFSET); tmp 1050 drivers/i2c/busses/i2c-bcm-iproc.c tmp &= ~BIT(S_CFG_EN_NIC_SMB_ADDR3_SHIFT); tmp 1051 drivers/i2c/busses/i2c-bcm-iproc.c iproc_i2c_wr_reg(iproc_i2c, S_CFG_SMBUS_ADDR_OFFSET, tmp); tmp 746 drivers/i2c/busses/i2c-fsi.c struct fsi_i2c_port *port, *tmp; tmp 748 drivers/i2c/busses/i2c-fsi.c list_for_each_entry_safe(port, tmp, &i2c->ports, list) { tmp 150 drivers/i2c/busses/i2c-highlander.c u16 tmp = ioread16(dev->base + SMCR); tmp 152 drivers/i2c/busses/i2c-highlander.c if ((tmp & (SMCR_IRIC | SMCR_ACKE)) == SMCR_ACKE) { tmp 281 drivers/i2c/busses/i2c-highlander.c u16 tmp; tmp 308 drivers/i2c/busses/i2c-highlander.c tmp = ioread16(dev->base + SMMR); tmp 309 drivers/i2c/busses/i2c-highlander.c tmp &= ~(SMMR_MODE0 | SMMR_MODE1); tmp 316 drivers/i2c/busses/i2c-highlander.c tmp |= SMMR_MODE0; tmp 319 drivers/i2c/busses/i2c-highlander.c tmp |= SMMR_MODE1; tmp 322 drivers/i2c/busses/i2c-highlander.c tmp |= (SMMR_MODE0 | SMMR_MODE1); tmp 329 drivers/i2c/busses/i2c-highlander.c iowrite16(tmp, dev->base + SMMR); tmp 235 drivers/i2c/busses/i2c-jz4780.c unsigned short tmp = 0; tmp 263 drivers/i2c/busses/i2c-jz4780.c tmp = JZ4780_I2C_CTRL_SPDS | JZ4780_I2C_CTRL_REST tmp 265 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 272 drivers/i2c/busses/i2c-jz4780.c tmp = JZ4780_I2C_CTRL_SPDF | JZ4780_I2C_CTRL_REST tmp 274 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 338 drivers/i2c/busses/i2c-jz4780.c unsigned short tmp; tmp 343 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_CTRL); tmp 344 drivers/i2c/busses/i2c-jz4780.c tmp &= ~JZ4780_I2C_CTRL_STPHLD; tmp 345 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 355 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_CTRL); tmp 356 drivers/i2c/busses/i2c-jz4780.c tmp &= ~JZ4780_I2C_ENB_I2C; tmp 357 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 359 drivers/i2c/busses/i2c-jz4780.c tmp |= JZ4780_I2C_ENB_I2C; tmp 360 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 399 drivers/i2c/busses/i2c-jz4780.c unsigned short tmp; tmp 470 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_CTRL); tmp 471 drivers/i2c/busses/i2c-jz4780.c tmp &= ~JZ4780_I2C_CTRL_STPHLD; tmp 472 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 493 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, tmp 495 drivers/i2c/busses/i2c-jz4780.c tmp &= ~JZ4780_I2C_CTRL_STPHLD; tmp 497 drivers/i2c/busses/i2c-jz4780.c tmp); tmp 524 drivers/i2c/busses/i2c-jz4780.c unsigned short tmp; tmp 549 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_CTRL); tmp 550 drivers/i2c/busses/i2c-jz4780.c tmp |= JZ4780_I2C_CTRL_STPHLD; tmp 551 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 567 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_TXABRT); tmp 568 drivers/i2c/busses/i2c-jz4780.c if (tmp) { tmp 569 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_txabrt(i2c, tmp); tmp 583 drivers/i2c/busses/i2c-jz4780.c unsigned short tmp; tmp 602 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_CTRL); tmp 603 drivers/i2c/busses/i2c-jz4780.c tmp |= JZ4780_I2C_CTRL_STPHLD; tmp 604 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 631 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_TXABRT); tmp 632 drivers/i2c/busses/i2c-jz4780.c if (tmp) { tmp 633 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_txabrt(i2c, tmp); tmp 697 drivers/i2c/busses/i2c-jz4780.c unsigned short tmp; tmp 748 drivers/i2c/busses/i2c-jz4780.c tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_CTRL); tmp 749 drivers/i2c/busses/i2c-jz4780.c tmp &= ~JZ4780_I2C_CTRL_STPHLD; tmp 750 drivers/i2c/busses/i2c-jz4780.c jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); tmp 142 drivers/i2c/busses/i2c-octeon-core.h u64 tmp; tmp 146 drivers/i2c/busses/i2c-octeon-core.h tmp = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); tmp 149 drivers/i2c/busses/i2c-octeon-core.h } while ((tmp & SW_TWSI_V) != 0); tmp 170 drivers/i2c/busses/i2c-octeon-core.h u64 tmp; tmp 174 drivers/i2c/busses/i2c-octeon-core.h tmp = __raw_readq(i2c->twsi_base + SW_TWSI(i2c)); tmp 181 drivers/i2c/busses/i2c-octeon-core.h } while ((tmp & SW_TWSI_V) != 0); tmp 183 drivers/i2c/busses/i2c-octeon-core.h return tmp & 0xFF; tmp 454 drivers/i2c/busses/i2c-pmcmsp.c u64 tmp = be64_to_cpup((__be64 *)cmd->write_data); tmp 455 drivers/i2c/busses/i2c-pmcmsp.c tmp >>= (MSP_MAX_BYTES_PER_RW - cmd->write_len) * 8; tmp 456 drivers/i2c/busses/i2c-pmcmsp.c dev_dbg(&pmcmsptwi_adapter.dev, "Writing 0x%016llx\n", tmp); tmp 457 drivers/i2c/busses/i2c-pmcmsp.c pmcmsptwi_writel(tmp & 0x00000000ffffffffLL, tmp 460 drivers/i2c/busses/i2c-pmcmsp.c pmcmsptwi_writel(tmp >> 32, tmp 472 drivers/i2c/busses/i2c-pmcmsp.c u64 tmp = (u64)pmcmsptwi_readl(data->iobase + tmp 475 drivers/i2c/busses/i2c-pmcmsp.c tmp |= (u64)pmcmsptwi_readl(data->iobase + tmp 477 drivers/i2c/busses/i2c-pmcmsp.c tmp &= rmsk; tmp 478 drivers/i2c/busses/i2c-pmcmsp.c dev_dbg(&pmcmsptwi_adapter.dev, "Read 0x%016llx\n", tmp); tmp 481 drivers/i2c/busses/i2c-pmcmsp.c cmd->read_data[i] = tmp >> i; tmp 642 drivers/i2c/busses/i2c-pnx.c unsigned long tmp; tmp 708 drivers/i2c/busses/i2c-pnx.c tmp = (freq / speed) / 2 - 2; tmp 709 drivers/i2c/busses/i2c-pnx.c if (tmp > 0x3FF) tmp 710 drivers/i2c/busses/i2c-pnx.c tmp = 0x3FF; tmp 711 drivers/i2c/busses/i2c-pnx.c iowrite32(tmp, I2C_REG_CKH(alg_data)); tmp 712 drivers/i2c/busses/i2c-pnx.c iowrite32(tmp, I2C_REG_CKL(alg_data)); tmp 280 drivers/i2c/busses/i2c-powermac.c char tmp[16]; tmp 293 drivers/i2c/busses/i2c-powermac.c if (of_modalias_node(node, tmp, sizeof(tmp)) >= 0) { tmp 294 drivers/i2c/busses/i2c-powermac.c snprintf(type, type_size, "MAC,%s", tmp); tmp 190 drivers/i2c/busses/i2c-s3c2410.c unsigned long tmp; tmp 192 drivers/i2c/busses/i2c-s3c2410.c tmp = readl(i2c->regs + S3C2410_IICCON); tmp 193 drivers/i2c/busses/i2c-s3c2410.c writel(tmp & ~S3C2410_IICCON_ACKEN, i2c->regs + S3C2410_IICCON); tmp 198 drivers/i2c/busses/i2c-s3c2410.c unsigned long tmp; tmp 200 drivers/i2c/busses/i2c-s3c2410.c tmp = readl(i2c->regs + S3C2410_IICCON); tmp 201 drivers/i2c/busses/i2c-s3c2410.c writel(tmp | S3C2410_IICCON_ACKEN, i2c->regs + S3C2410_IICCON); tmp 207 drivers/i2c/busses/i2c-s3c2410.c unsigned long tmp; tmp 209 drivers/i2c/busses/i2c-s3c2410.c tmp = readl(i2c->regs + S3C2410_IICCON); tmp 210 drivers/i2c/busses/i2c-s3c2410.c writel(tmp & ~S3C2410_IICCON_IRQEN, i2c->regs + S3C2410_IICCON); tmp 215 drivers/i2c/busses/i2c-s3c2410.c unsigned long tmp; tmp 217 drivers/i2c/busses/i2c-s3c2410.c tmp = readl(i2c->regs + S3C2410_IICCON); tmp 218 drivers/i2c/busses/i2c-s3c2410.c writel(tmp | S3C2410_IICCON_IRQEN, i2c->regs + S3C2410_IICCON); tmp 389 drivers/i2c/busses/i2c-s3c2410.c unsigned long tmp; tmp 548 drivers/i2c/busses/i2c-s3c2410.c tmp = readl(i2c->regs + S3C2410_IICCON); tmp 549 drivers/i2c/busses/i2c-s3c2410.c tmp &= ~S3C2410_IICCON_IRQPEND; tmp 550 drivers/i2c/busses/i2c-s3c2410.c writel(tmp, i2c->regs + S3C2410_IICCON); tmp 562 drivers/i2c/busses/i2c-s3c2410.c unsigned long tmp; tmp 574 drivers/i2c/busses/i2c-s3c2410.c tmp = readl(i2c->regs + S3C2410_IICCON); tmp 575 drivers/i2c/busses/i2c-s3c2410.c tmp &= ~S3C2410_IICCON_IRQPEND; tmp 576 drivers/i2c/busses/i2c-s3c2410.c writel(tmp, i2c->regs + S3C2410_IICCON); tmp 601 drivers/i2c/busses/i2c-s3c2410.c unsigned long tmp; tmp 604 drivers/i2c/busses/i2c-s3c2410.c tmp = readl(i2c->regs + S3C2410_IICSTAT); tmp 605 drivers/i2c/busses/i2c-s3c2410.c tmp &= ~S3C2410_IICSTAT_TXRXEN; tmp 606 drivers/i2c/busses/i2c-s3c2410.c writel(tmp, i2c->regs + S3C2410_IICSTAT); tmp 609 drivers/i2c/busses/i2c-s3c2410.c tmp = readl(i2c->regs + S3C2410_IICCON); tmp 610 drivers/i2c/busses/i2c-s3c2410.c tmp &= ~(S3C2410_IICCON_IRQEN | S3C2410_IICCON_IRQPEND | tmp 612 drivers/i2c/busses/i2c-s3c2410.c writel(tmp, i2c->regs + S3C2410_IICCON); tmp 99 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_CTL); tmp 102 drivers/i2c/busses/i2c-sprd.c writel(tmp & ~STP_EN, i2c_dev->base + I2C_CTL); tmp 104 drivers/i2c/busses/i2c-sprd.c writel(tmp | STP_EN, i2c_dev->base + I2C_CTL); tmp 109 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_CTL); tmp 111 drivers/i2c/busses/i2c-sprd.c writel(tmp & ~I2C_START, i2c_dev->base + I2C_CTL); tmp 116 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_STATUS); tmp 118 drivers/i2c/busses/i2c-sprd.c writel(tmp & ~I2C_RX_ACK, i2c_dev->base + I2C_STATUS); tmp 123 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_STATUS); tmp 125 drivers/i2c/busses/i2c-sprd.c writel(tmp & ~I2C_INT, i2c_dev->base + I2C_STATUS); tmp 156 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_CTL); tmp 158 drivers/i2c/busses/i2c-sprd.c tmp &= ~FIFO_AF_LVL_MASK; tmp 159 drivers/i2c/busses/i2c-sprd.c tmp |= full_thld << FIFO_AF_LVL; tmp 160 drivers/i2c/busses/i2c-sprd.c writel(tmp, i2c_dev->base + I2C_CTL); tmp 165 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_CTL); tmp 167 drivers/i2c/busses/i2c-sprd.c tmp &= ~FIFO_AE_LVL_MASK; tmp 168 drivers/i2c/busses/i2c-sprd.c tmp |= empty_thld << FIFO_AE_LVL; tmp 169 drivers/i2c/busses/i2c-sprd.c writel(tmp, i2c_dev->base + I2C_CTL); tmp 174 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_CTL); tmp 177 drivers/i2c/busses/i2c-sprd.c tmp |= FULL_INTEN; tmp 179 drivers/i2c/busses/i2c-sprd.c tmp &= ~FULL_INTEN; tmp 181 drivers/i2c/busses/i2c-sprd.c writel(tmp, i2c_dev->base + I2C_CTL); tmp 186 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_CTL); tmp 189 drivers/i2c/busses/i2c-sprd.c tmp |= EMPTY_INTEN; tmp 191 drivers/i2c/busses/i2c-sprd.c tmp &= ~EMPTY_INTEN; tmp 193 drivers/i2c/busses/i2c-sprd.c writel(tmp, i2c_dev->base + I2C_CTL); tmp 198 drivers/i2c/busses/i2c-sprd.c u32 tmp = readl(i2c_dev->base + I2C_CTL); tmp 200 drivers/i2c/busses/i2c-sprd.c writel(tmp | I2C_START, i2c_dev->base + I2C_CTL); tmp 348 drivers/i2c/busses/i2c-sprd.c u32 tmp = I2C_DVD_OPT; tmp 350 drivers/i2c/busses/i2c-sprd.c writel(tmp, i2c_dev->base + I2C_CTL); tmp 359 drivers/i2c/busses/i2c-sprd.c tmp = readl(i2c_dev->base + I2C_CTL); tmp 360 drivers/i2c/busses/i2c-sprd.c writel(tmp | I2C_EN | I2C_INT_EN, i2c_dev->base + I2C_CTL); tmp 484 drivers/i2c/busses/i2c-uniphier-f.c u32 tmp; tmp 486 drivers/i2c/busses/i2c-uniphier-f.c tmp = readl(priv->membase + UNIPHIER_FI2C_CR); tmp 487 drivers/i2c/busses/i2c-uniphier-f.c tmp |= UNIPHIER_FI2C_CR_MST; tmp 488 drivers/i2c/busses/i2c-uniphier-f.c writel(tmp, priv->membase + UNIPHIER_FI2C_CR); tmp 136 drivers/i2c/i2c-dev.c char *tmp; tmp 144 drivers/i2c/i2c-dev.c tmp = kmalloc(count, GFP_KERNEL); tmp 145 drivers/i2c/i2c-dev.c if (tmp == NULL) tmp 151 drivers/i2c/i2c-dev.c ret = i2c_master_recv(client, tmp, count); tmp 153 drivers/i2c/i2c-dev.c ret = copy_to_user(buf, tmp, count) ? -EFAULT : ret; tmp 154 drivers/i2c/i2c-dev.c kfree(tmp); tmp 162 drivers/i2c/i2c-dev.c char *tmp; tmp 168 drivers/i2c/i2c-dev.c tmp = memdup_user(buf, count); tmp 169 drivers/i2c/i2c-dev.c if (IS_ERR(tmp)) tmp 170 drivers/i2c/i2c-dev.c return PTR_ERR(tmp); tmp 175 drivers/i2c/i2c-dev.c ret = i2c_master_send(client, tmp, count); tmp 176 drivers/i2c/i2c-dev.c kfree(tmp); tmp 338 drivers/i3c/master/dw-i3c-master.c u32 tmp = 0; tmp 340 drivers/i3c/master/dw-i3c-master.c memcpy(&tmp, bytes + (nbytes & ~3), nbytes & 3); tmp 341 drivers/i3c/master/dw-i3c-master.c writesl(master->regs + RX_TX_DATA_PORT, &tmp, 1); tmp 350 drivers/i3c/master/dw-i3c-master.c u32 tmp; tmp 352 drivers/i3c/master/dw-i3c-master.c readsl(master->regs + RX_TX_DATA_PORT, &tmp, 1); tmp 353 drivers/i3c/master/dw-i3c-master.c memcpy(bytes + (nbytes & ~3), &tmp, nbytes & 3); tmp 424 drivers/i3c/master/i3c-master-cdns.c u32 tmp = 0; tmp 426 drivers/i3c/master/i3c-master-cdns.c memcpy(&tmp, bytes + (nbytes & ~3), nbytes & 3); tmp 427 drivers/i3c/master/i3c-master-cdns.c writesl(master->regs + TX_FIFO, &tmp, 1); tmp 436 drivers/i3c/master/i3c-master-cdns.c u32 tmp; tmp 438 drivers/i3c/master/i3c-master-cdns.c readsl(master->regs + RX_FIFO, &tmp, 1); tmp 439 drivers/i3c/master/i3c-master-cdns.c memcpy(bytes + (nbytes & ~3), &tmp, nbytes & 3); tmp 1305 drivers/i3c/master/i3c-master-cdns.c u32 tmp = __raw_readl(master->regs + IBI_DATA_FIFO); tmp 1307 drivers/i3c/master/i3c-master-cdns.c memcpy(buf + (nbytes & ~3), &tmp, nbytes & 3); tmp 657 drivers/ide/cmd640.c u32 tmp; tmp 661 drivers/ide/cmd640.c tmp = inl(0xCF8); tmp 664 drivers/ide/cmd640.c outl(tmp, 0xCF8); tmp 668 drivers/ide/cmd640.c outl(tmp, 0xCF8); tmp 228 drivers/ide/ide-eh.c u8 tmp; tmp 240 drivers/ide/ide-eh.c tmp = hwif->tp_ops->read_status(hwif); tmp 242 drivers/ide/ide-eh.c if (!OK_STAT(tmp, 0, ATA_BUSY)) { tmp 249 drivers/ide/ide-eh.c hwif->name, tmp); tmp 253 drivers/ide/ide-eh.c tmp = ide_read_error(drive); tmp 255 drivers/ide/ide-eh.c if (tmp == 1) { tmp 259 drivers/ide/ide-eh.c ide_reset_report_error(hwif, tmp); tmp 41 drivers/ide/ns87415.c u8 tmp; tmp 47 drivers/ide/ns87415.c tmp = inb(port); tmp 48 drivers/ide/ns87415.c if (tmp == 0) tmp 50 drivers/ide/ns87415.c } while (tmp == 0 && retries-- > 0); tmp 52 drivers/ide/ns87415.c return tmp; tmp 104 drivers/ide/ns87415.c u8 port = hwif->channel, tmp; tmp 109 drivers/ide/ns87415.c tmp = superio_ide_inb(dma_stat); tmp 110 drivers/ide/ns87415.c outb(tmp | 0x66, dma_stat); tmp 160 drivers/ide/pdc202xx_new.c u8 tmp = get_indexed_reg(hwif, 0x10 + adj); tmp 162 drivers/ide/pdc202xx_new.c set_indexed_reg(hwif, 0x10 + adj, tmp & 0x7f); tmp 460 drivers/ide/setup-pci.c u8 tmp; tmp 469 drivers/ide/setup-pci.c if (e->reg && (pci_read_config_byte(dev, e->reg, &tmp) || tmp 470 drivers/ide/setup-pci.c (tmp & e->mask) != e->val)) { tmp 132 drivers/ide/siimage.c u8 tmp = 0; tmp 135 drivers/ide/siimage.c tmp = readb((void __iomem *)addr); tmp 137 drivers/ide/siimage.c pci_read_config_byte(dev, addr, &tmp); tmp 139 drivers/ide/siimage.c return tmp; tmp 145 drivers/ide/siimage.c u16 tmp = 0; tmp 148 drivers/ide/siimage.c tmp = readw((void __iomem *)addr); tmp 150 drivers/ide/siimage.c pci_read_config_word(dev, addr, &tmp); tmp 152 drivers/ide/siimage.c return tmp; tmp 458 drivers/ide/siimage.c u8 rev = dev->revision, tmp; tmp 486 drivers/ide/siimage.c tmp = sil_ioread8(dev, scsc_addr); tmp 488 drivers/ide/siimage.c switch (tmp & 0x30) { tmp 491 drivers/ide/siimage.c sil_iowrite8(dev, tmp | 0x10, scsc_addr); tmp 495 drivers/ide/siimage.c sil_iowrite8(dev, tmp & ~0x20, scsc_addr); tmp 504 drivers/ide/siimage.c tmp = sil_ioread8(dev, scsc_addr); tmp 529 drivers/ide/siimage.c tmp >>= 4; tmp 531 drivers/ide/siimage.c pci_name(dev), clk_str[tmp & 3]); tmp 88 drivers/ide/umc8672.c int i, tmp; tmp 94 drivers/ide/umc8672.c tmp = 0; tmp 96 drivers/ide/umc8672.c tmp = (tmp << 2) | speedtab[1][speeds[i]]; tmp 97 drivers/ide/umc8672.c out_umc(0xdc, tmp); tmp 281 drivers/iio/accel/mma9551.c u8 tmp; tmp 288 drivers/iio/accel/mma9551.c MMA9551_TILT_CFG_REG, &tmp); tmp 292 drivers/iio/accel/mma9551.c *val = tmp & MMA9551_TILT_ANG_THRESH_MASK; tmp 496 drivers/iio/accel/mma9551_core.c u8 tmp, orig; tmp 502 drivers/iio/accel/mma9551_core.c tmp = orig & ~mask; tmp 503 drivers/iio/accel/mma9551_core.c tmp |= val & mask; tmp 505 drivers/iio/accel/mma9551_core.c if (tmp == orig) tmp 508 drivers/iio/accel/mma9551_core.c return mma9551_write_config_byte(client, app_id, reg, tmp); tmp 437 drivers/iio/accel/mma9553.c u16 *tmp) tmp 457 drivers/iio/accel/mma9553.c reg, tmp); tmp 468 drivers/iio/accel/mma9553.c u16 tmp; tmp 477 drivers/iio/accel/mma9553.c &tmp); tmp 480 drivers/iio/accel/mma9553.c *val = tmp; tmp 485 drivers/iio/accel/mma9553.c &tmp); tmp 488 drivers/iio/accel/mma9553.c *val = tmp; tmp 493 drivers/iio/accel/mma9553.c &tmp); tmp 498 drivers/iio/accel/mma9553.c mma9553_get_bits(tmp, MMA9553_MASK_STATUS_ACTIVITY); tmp 520 drivers/iio/accel/mma9553.c &tmp); tmp 523 drivers/iio/accel/mma9553.c *val = tmp; tmp 528 drivers/iio/accel/mma9553.c &tmp); tmp 531 drivers/iio/accel/mma9553.c *val = tmp; tmp 562 drivers/iio/accel/mma9553.c tmp = mma9553_get_bits(data->conf.height_weight, tmp 564 drivers/iio/accel/mma9553.c *val = tmp / 100; /* cm to m */ tmp 565 drivers/iio/accel/mma9553.c *val2 = (tmp % 100) * 10000; tmp 610 drivers/iio/accel/mma9553.c int ret, tmp; tmp 627 drivers/iio/accel/mma9553.c tmp = val * 100 + val2 / 10000; tmp 628 drivers/iio/accel/mma9553.c if (tmp < 0 || tmp > 255) tmp 634 drivers/iio/accel/mma9553.c tmp, MMA9553_MASK_CONF_HEIGHT); tmp 448 drivers/iio/adc/ad7124.c unsigned int ain[2], channel = 0, tmp; tmp 486 drivers/iio/adc/ad7124.c ret = of_property_read_u32(child, "adi,reference-select", &tmp); tmp 490 drivers/iio/adc/ad7124.c st->channel_config[channel].refsel = tmp; tmp 514 drivers/iio/adc/ad7124.c int i, ret, tmp; tmp 547 drivers/iio/adc/ad7124.c tmp = (st->channel_config[i].buf_positive << 1) + tmp 552 drivers/iio/adc/ad7124.c AD7124_CONFIG_IN_BUFF(tmp); tmp 472 drivers/iio/adc/ad7793.c unsigned int tmp; tmp 484 drivers/iio/adc/ad7793.c tmp = st->conf; tmp 488 drivers/iio/adc/ad7793.c if (tmp == st->conf) tmp 109 drivers/iio/adc/hi8435.c u32 tmp; tmp 114 drivers/iio/adc/hi8435.c ret = hi8435_readl(priv, HI8435_SO31_0_REG, &tmp); tmp 117 drivers/iio/adc/hi8435.c *val = !!(tmp & BIT(chan->channel)); tmp 141 drivers/iio/adc/hi8435.c u32 tmp; tmp 144 drivers/iio/adc/hi8435.c ret = hi8435_readl(priv, HI8435_SO31_0_REG, &tmp); tmp 147 drivers/iio/adc/hi8435.c if (tmp & BIT(chan->channel)) tmp 274 drivers/iio/adc/imx7d_adc.c u32 tmp; tmp 277 drivers/iio/adc/imx7d_adc.c tmp = (core_time_unit + 1) * 6; tmp 279 drivers/iio/adc/imx7d_adc.c return analogue_core_clk / tmp; tmp 474 drivers/iio/adc/ina2xx-adc.c unsigned int config, tmp; tmp 486 drivers/iio/adc/ina2xx-adc.c tmp = config; tmp 490 drivers/iio/adc/ina2xx-adc.c ret = ina226_set_average(chip, val, &tmp); tmp 497 drivers/iio/adc/ina2xx-adc.c &tmp); tmp 500 drivers/iio/adc/ina2xx-adc.c &tmp); tmp 504 drivers/iio/adc/ina2xx-adc.c &tmp); tmp 507 drivers/iio/adc/ina2xx-adc.c &tmp); tmp 514 drivers/iio/adc/ina2xx-adc.c val2 / 1000, &tmp); tmp 516 drivers/iio/adc/ina2xx-adc.c ret = ina219_set_vbus_range_denom(chip, val, &tmp); tmp 523 drivers/iio/adc/ina2xx-adc.c if (!ret && (tmp != config)) tmp 524 drivers/iio/adc/ina2xx-adc.c ret = regmap_write(chip->regmap, INA2XX_CONFIG, tmp); tmp 87 drivers/iio/adc/mcp3911.c u32 tmp; tmp 90 drivers/iio/adc/mcp3911.c ret = mcp3911_read(adc, reg, &tmp, len); tmp 95 drivers/iio/adc/mcp3911.c val |= tmp & ~mask; tmp 55 drivers/iio/adc/men_z188_adc.c u16 tmp; tmp 59 drivers/iio/adc/men_z188_adc.c tmp = readw(adc->base + chan->channel * 4); tmp 61 drivers/iio/adc/men_z188_adc.c if (ADC_OVR(tmp)) { tmp 67 drivers/iio/adc/men_z188_adc.c *val = ADC_DATA(tmp); tmp 314 drivers/iio/adc/meson_saradc.c int tmp; tmp 317 drivers/iio/adc/meson_saradc.c tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; tmp 319 drivers/iio/adc/meson_saradc.c return clamp(tmp, 0, (1 << priv->param->resolution) - 1); tmp 536 drivers/iio/adc/meson_saradc.c unsigned int count, tmp; tmp 542 drivers/iio/adc/meson_saradc.c regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, &tmp); tmp 418 drivers/iio/adc/nau7802.c u32 tmp = 0; tmp 464 drivers/iio/adc/nau7802.c of_property_read_u32(np, "nuvoton,vldo", &tmp); tmp 465 drivers/iio/adc/nau7802.c st->vref_mv = tmp; tmp 469 drivers/iio/adc/nau7802.c if (tmp >= 2400) tmp 479 drivers/iio/adc/nau7802.c if (tmp >= 2400) { tmp 480 drivers/iio/adc/nau7802.c data = NAU7802_CTRL1_VLDO((4500 - tmp) / 300); tmp 192 drivers/iio/adc/sc27xx_adc.c u32 tmp, value, status; tmp 211 drivers/iio/adc/sc27xx_adc.c tmp = (scale << SC27XX_ADC_SCALE_SHIFT) & SC27XX_ADC_SCALE_MASK; tmp 212 drivers/iio/adc/sc27xx_adc.c tmp |= channel & SC27XX_ADC_CHN_ID_MASK; tmp 215 drivers/iio/adc/sc27xx_adc.c tmp); tmp 220 drivers/iio/adc/sc27xx_adc.c tmp = SC27XX_ADC_12BIT_MODE; tmp 221 drivers/iio/adc/sc27xx_adc.c tmp |= (0 << SC27XX_ADC_RUN_NUM_SHIFT) & SC27XX_ADC_RUN_NUM_MASK; tmp 224 drivers/iio/adc/sc27xx_adc.c tmp); tmp 274 drivers/iio/adc/sc27xx_adc.c int tmp; tmp 276 drivers/iio/adc/sc27xx_adc.c tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); tmp 277 drivers/iio/adc/sc27xx_adc.c tmp /= (graph->adc0 - graph->adc1); tmp 278 drivers/iio/adc/sc27xx_adc.c tmp += graph->volt1; tmp 280 drivers/iio/adc/sc27xx_adc.c return tmp < 0 ? 0 : tmp; tmp 332 drivers/iio/adc/sc27xx_adc.c int ret, tmp; tmp 337 drivers/iio/adc/sc27xx_adc.c ret = sc27xx_adc_read(data, chan->channel, scale, &tmp); tmp 343 drivers/iio/adc/sc27xx_adc.c *val = tmp; tmp 349 drivers/iio/adc/sc27xx_adc.c &tmp); tmp 355 drivers/iio/adc/sc27xx_adc.c *val = tmp; tmp 191 drivers/iio/adc/ti-ads124s08.c u32 tmp; tmp 211 drivers/iio/adc/ti-ads124s08.c tmp = priv->data[2] << 16 | priv->data[3] << 8 | priv->data[4]; tmp 213 drivers/iio/adc/ti-ads124s08.c return tmp; tmp 190 drivers/iio/adc/ti-ads8688.c u32 tmp; tmp 192 drivers/iio/adc/ti-ads8688.c tmp = ADS8688_PROG_REG(addr) | ADS8688_PROG_WR_BIT | val; tmp 193 drivers/iio/adc/ti-ads8688.c tmp <<= ADS8688_PROG_DONT_CARE_BITS; tmp 194 drivers/iio/adc/ti-ads8688.c st->data[0].d32 = cpu_to_be32(tmp); tmp 202 drivers/iio/adc/ti-ads8688.c u32 tmp; tmp 204 drivers/iio/adc/ti-ads8688.c tmp = ADS8688_CMD_REG(ADS8688_CMD_REG_RST); tmp 205 drivers/iio/adc/ti-ads8688.c tmp <<= ADS8688_CMD_DONT_CARE_BITS; tmp 206 drivers/iio/adc/ti-ads8688.c st->data[0].d32 = cpu_to_be32(tmp); tmp 215 drivers/iio/adc/ti-ads8688.c u32 tmp; tmp 228 drivers/iio/adc/ti-ads8688.c tmp = ADS8688_CMD_REG(ADS8688_CMD_REG_MAN_CH(chan)); tmp 229 drivers/iio/adc/ti-ads8688.c tmp <<= ADS8688_CMD_DONT_CARE_BITS; tmp 230 drivers/iio/adc/ti-ads8688.c st->data[0].d32 = cpu_to_be32(tmp); tmp 232 drivers/iio/adc/ti-ads8688.c tmp = ADS8688_CMD_REG(ADS8688_CMD_REG_NOOP); tmp 233 drivers/iio/adc/ti-ads8688.c tmp <<= ADS8688_CMD_DONT_CARE_BITS; tmp 234 drivers/iio/adc/ti-ads8688.c st->data[1].d32 = cpu_to_be32(tmp); tmp 283 drivers/iio/adc/ti-ads8688.c unsigned int tmp; tmp 286 drivers/iio/adc/ti-ads8688.c tmp = ADS8688_PROG_REG_RANGE_CH(chan->channel); tmp 287 drivers/iio/adc/ti-ads8688.c ret = ads8688_prog_write(indio_dev, tmp, range); tmp 148 drivers/iio/adc/xilinx-xadc-core.c uint32_t status, tmp; tmp 153 drivers/iio/adc/xilinx-xadc-core.c xadc_read_reg(xadc, XADC_ZYNQ_REG_DFIFO, &tmp); tmp 172 drivers/iio/adc/xilinx-xadc-core.c uint32_t tmp; tmp 183 drivers/iio/adc/xilinx-xadc-core.c xadc_read_reg(xadc, XADC_ZYNQ_REG_CFG, &tmp); tmp 184 drivers/iio/adc/xilinx-xadc-core.c tmp &= ~XADC_ZYNQ_CFG_DFIFOTH_MASK; tmp 185 drivers/iio/adc/xilinx-xadc-core.c tmp |= 0 << XADC_ZYNQ_CFG_DFIFOTH_OFFSET; tmp 186 drivers/iio/adc/xilinx-xadc-core.c xadc_write_reg(xadc, XADC_ZYNQ_REG_CFG, tmp); tmp 197 drivers/iio/adc/xilinx-xadc-core.c xadc_read_reg(xadc, XADC_ZYNQ_REG_DFIFO, &tmp); tmp 206 drivers/iio/adc/xilinx-xadc-core.c uint32_t resp, tmp; tmp 219 drivers/iio/adc/xilinx-xadc-core.c xadc_read_reg(xadc, XADC_ZYNQ_REG_CFG, &tmp); tmp 220 drivers/iio/adc/xilinx-xadc-core.c tmp &= ~XADC_ZYNQ_CFG_DFIFOTH_MASK; tmp 221 drivers/iio/adc/xilinx-xadc-core.c tmp |= 1 << XADC_ZYNQ_CFG_DFIFOTH_OFFSET; tmp 222 drivers/iio/adc/xilinx-xadc-core.c xadc_write_reg(xadc, XADC_ZYNQ_REG_CFG, tmp); tmp 557 drivers/iio/adc/xilinx-xadc-core.c uint16_t tmp; tmp 560 drivers/iio/adc/xilinx-xadc-core.c ret = _xadc_read_adc_reg(xadc, reg, &tmp); tmp 564 drivers/iio/adc/xilinx-xadc-core.c return _xadc_write_adc_reg(xadc, reg, (tmp & ~mask) | val); tmp 41 drivers/iio/afe/iio-rescale.c unsigned long long tmp; tmp 62 drivers/iio/afe/iio-rescale.c tmp = *val * 1000000000LL; tmp 63 drivers/iio/afe/iio-rescale.c do_div(tmp, rescale->denominator); tmp 64 drivers/iio/afe/iio-rescale.c tmp *= rescale->numerator; tmp 65 drivers/iio/afe/iio-rescale.c do_div(tmp, 1000000000LL); tmp 66 drivers/iio/afe/iio-rescale.c *val = tmp; tmp 112 drivers/iio/chemical/bme680_core.c unsigned int tmp, tmp_msb, tmp_lsb; tmp 131 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_T3_REG, &tmp); tmp 136 drivers/iio/chemical/bme680_core.c calib->par_t3 = tmp; tmp 153 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_P3_REG, &tmp); tmp 158 drivers/iio/chemical/bme680_core.c calib->par_p3 = tmp; tmp 174 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_P6_REG, &tmp); tmp 179 drivers/iio/chemical/bme680_core.c calib->par_p6 = tmp; tmp 181 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_P7_REG, &tmp); tmp 186 drivers/iio/chemical/bme680_core.c calib->par_p7 = tmp; tmp 202 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_P10_REG, &tmp); tmp 207 drivers/iio/chemical/bme680_core.c calib->par_p10 = tmp; tmp 236 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_H3_REG, &tmp); tmp 241 drivers/iio/chemical/bme680_core.c calib->par_h3 = tmp; tmp 243 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_H4_REG, &tmp); tmp 248 drivers/iio/chemical/bme680_core.c calib->par_h4 = tmp; tmp 250 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_H5_REG, &tmp); tmp 255 drivers/iio/chemical/bme680_core.c calib->par_h5 = tmp; tmp 257 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_H6_REG, &tmp); tmp 262 drivers/iio/chemical/bme680_core.c calib->par_h6 = tmp; tmp 264 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_H7_REG, &tmp); tmp 269 drivers/iio/chemical/bme680_core.c calib->par_h7 = tmp; tmp 272 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_GH1_REG, &tmp); tmp 277 drivers/iio/chemical/bme680_core.c calib->par_gh1 = tmp; tmp 287 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_GH3_REG, &tmp); tmp 292 drivers/iio/chemical/bme680_core.c calib->par_gh3 = tmp; tmp 295 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_REG_RES_HEAT_RANGE, &tmp); tmp 300 drivers/iio/chemical/bme680_core.c calib->res_heat_range = FIELD_GET(BME680_RHRANGE_MASK, tmp); tmp 302 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_REG_RES_HEAT_VAL, &tmp); tmp 307 drivers/iio/chemical/bme680_core.c calib->res_heat_val = tmp; tmp 309 drivers/iio/chemical/bme680_core.c ret = regmap_read(data->regmap, BME680_REG_RANGE_SW_ERR, &tmp); tmp 314 drivers/iio/chemical/bme680_core.c calib->range_sw_err = FIELD_GET(BME680_RSERROR_MASK, tmp); tmp 608 drivers/iio/chemical/bme680_core.c __be32 tmp = 0; tmp 618 drivers/iio/chemical/bme680_core.c (u8 *) &tmp, 3); tmp 624 drivers/iio/chemical/bme680_core.c adc_temp = be32_to_cpu(tmp) >> 12; tmp 650 drivers/iio/chemical/bme680_core.c __be32 tmp = 0; tmp 659 drivers/iio/chemical/bme680_core.c (u8 *) &tmp, 3); tmp 665 drivers/iio/chemical/bme680_core.c adc_press = be32_to_cpu(tmp) >> 12; tmp 682 drivers/iio/chemical/bme680_core.c __be16 tmp = 0; tmp 692 drivers/iio/chemical/bme680_core.c (u8 *) &tmp, 2); tmp 698 drivers/iio/chemical/bme680_core.c adc_humidity = be16_to_cpu(tmp); tmp 716 drivers/iio/chemical/bme680_core.c __be16 tmp = 0; tmp 757 drivers/iio/chemical/bme680_core.c (u8 *) &tmp, 2); tmp 764 drivers/iio/chemical/bme680_core.c adc_gas_res = be16_to_cpu(tmp) >> BME680_ADC_GAS_RES_SHIFT; tmp 192 drivers/iio/chemical/sps30.c u8 tmp[16]; tmp 203 drivers/iio/chemical/sps30.c ret = sps30_do_cmd(state, SPS30_READ_DATA_READY_FLAG, tmp, 2); tmp 208 drivers/iio/chemical/sps30.c if (tmp[1] == 1) tmp 217 drivers/iio/chemical/sps30.c ret = sps30_do_cmd(state, SPS30_READ_DATA, tmp, sizeof(int) * size); tmp 222 drivers/iio/chemical/sps30.c data[i] = sps30_float_to_int_clamped(&tmp[4 * i]); tmp 357 drivers/iio/chemical/sps30.c u8 tmp[4]; tmp 361 drivers/iio/chemical/sps30.c ret = sps30_do_cmd(state, SPS30_READ_AUTO_CLEANING_PERIOD, tmp, 4); tmp 366 drivers/iio/chemical/sps30.c return sprintf(buf, "%d\n", get_unaligned_be32(tmp)); tmp 376 drivers/iio/chemical/sps30.c u8 tmp[4]; tmp 385 drivers/iio/chemical/sps30.c put_unaligned_be32(val, tmp); tmp 388 drivers/iio/chemical/sps30.c ret = sps30_do_cmd(state, SPS30_AUTO_CLEANING_PERIOD, tmp, 0); tmp 246 drivers/iio/chemical/vz89x.c u8 *tmp = (u8 *) &data->buffer[chan->address]; tmp 250 drivers/iio/chemical/vz89x.c *val = le32_to_cpup((__le32 *) tmp) & GENMASK(23, 0); tmp 253 drivers/iio/chemical/vz89x.c *val = be32_to_cpup((__be32 *) tmp) >> 8; tmp 284 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c __le16 tmp; tmp 285 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c int ret = ec->cmd_readmem(ec, offset, 2, &tmp); tmp 288 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c *dest = le16_to_cpu(tmp); tmp 613 drivers/iio/common/ms_sensors/ms_sensors_i2c.c s64 tmp = (s64)temp - 2000; tmp 616 drivers/iio/common/ms_sensors/ms_sensors_i2c.c off2 = (61 * tmp * tmp) >> 4; tmp 617 drivers/iio/common/ms_sensors/ms_sensors_i2c.c sens2 = (29 * tmp * tmp) >> 4; tmp 620 drivers/iio/common/ms_sensors/ms_sensors_i2c.c s64 tmp = (s64)temp + 1500; tmp 622 drivers/iio/common/ms_sensors/ms_sensors_i2c.c off2 += 17 * tmp * tmp; tmp 623 drivers/iio/common/ms_sensors/ms_sensors_i2c.c sens2 += 9 * tmp * tmp; tmp 416 drivers/iio/dac/ad5592r-base.c s64 tmp = *val * (3767897513LL / 25LL); tmp 417 drivers/iio/dac/ad5592r-base.c *val = div_s64_rem(tmp, 1000000000LL, val2); tmp 521 drivers/iio/dac/ad5592r-base.c u32 reg, tmp; tmp 529 drivers/iio/dac/ad5592r-base.c ret = fwnode_property_read_u32(child, "adi,mode", &tmp); tmp 531 drivers/iio/dac/ad5592r-base.c st->channel_modes[reg] = tmp; tmp 533 drivers/iio/dac/ad5592r-base.c fwnode_property_read_u32(child, "adi,off-state", &tmp); tmp 535 drivers/iio/dac/ad5592r-base.c st->channel_offstate[reg] = tmp; tmp 587 drivers/iio/dac/ad5592r-base.c s64 tmp = (s64)vref_mV * 1000000000LL >> 12; tmp 590 drivers/iio/dac/ad5592r-base.c div_s64_rem(tmp, 1000000000LL, &st->scale_avail[0][1]); tmp 592 drivers/iio/dac/ad5592r-base.c div_s64_rem(tmp * 2, 1000000000LL, &st->scale_avail[1][1]); tmp 609 drivers/iio/dac/ad5755.c unsigned int tmp; tmp 620 drivers/iio/dac/ad5755.c if (!of_property_read_u32(np, "adi,dc-dc-phase", &tmp)) tmp 621 drivers/iio/dac/ad5755.c pdata->dc_dc_phase = tmp; tmp 626 drivers/iio/dac/ad5755.c if (!of_property_read_u32(np, "adi,dc-dc-freq-hz", &tmp)) { tmp 628 drivers/iio/dac/ad5755.c if (tmp == ad5755_dcdc_freq_table[i][0]) { tmp 641 drivers/iio/dac/ad5755.c if (!of_property_read_u32(np, "adi,dc-dc-max-microvolt", &tmp)) { tmp 643 drivers/iio/dac/ad5755.c if (tmp == ad5755_dcdc_maxv_table[i][0]) { tmp 662 drivers/iio/dac/ad5755.c if (!of_property_read_u32(pp, "adi,mode", &tmp)) tmp 663 drivers/iio/dac/ad5755.c pdata->dac[devnr].mode = tmp; tmp 698 drivers/iio/dac/ad5758.c unsigned int tmp, tmparray[2], size; tmp 704 drivers/iio/dac/ad5758.c "adi,dc-dc-ilim-microamp", &tmp); tmp 709 drivers/iio/dac/ad5758.c index = bsearch(&tmp, ad5758_dc_dc_ilim, tmp 758 drivers/iio/dac/ad5758.c ret = device_property_read_u32(&st->spi->dev, "adi,slew-time-us", &tmp); tmp 763 drivers/iio/dac/ad5758.c st->slew_time = tmp; tmp 58 drivers/iio/dac/dpot-dac.c unsigned long long tmp; tmp 68 drivers/iio/dac/dpot-dac.c tmp = *val * 1000000000LL; tmp 69 drivers/iio/dac/dpot-dac.c do_div(tmp, dac->max_ohms); tmp 70 drivers/iio/dac/dpot-dac.c tmp *= regulator_get_voltage(dac->vref) / 1000; tmp 71 drivers/iio/dac/dpot-dac.c do_div(tmp, 1000000000LL); tmp 72 drivers/iio/dac/dpot-dac.c *val = tmp; tmp 134 drivers/iio/dac/dpot-dac.c unsigned long long tmp; tmp 150 drivers/iio/dac/dpot-dac.c tmp = (unsigned long long)max * val; tmp 151 drivers/iio/dac/dpot-dac.c do_div(tmp, val2); tmp 152 drivers/iio/dac/dpot-dac.c return tmp; tmp 154 drivers/iio/dac/dpot-dac.c tmp = val * 1000000000LL * max >> val2; tmp 155 drivers/iio/dac/dpot-dac.c do_div(tmp, 1000000000LL); tmp 156 drivers/iio/dac/dpot-dac.c return tmp; tmp 302 drivers/iio/dac/max5821.c u32 tmp; tmp 314 drivers/iio/dac/max5821.c for (tmp = 0; tmp < MAX5821_MAX_DAC_CHANNELS; tmp++) { tmp 315 drivers/iio/dac/max5821.c data->powerdown[tmp] = true; tmp 316 drivers/iio/dac/max5821.c data->powerdown_mode[tmp] = MAX5821_100KOHM_TO_GND; tmp 448 drivers/iio/frequency/ad9523.c int ret, tmp; tmp 459 drivers/iio/frequency/ad9523.c tmp = 4; tmp 466 drivers/iio/frequency/ad9523.c } while ((ret & AD9523_EEPROM_DATA_XFER_IN_PROGRESS) && tmp--); tmp 486 drivers/iio/frequency/ad9523.c int ret, tmp; tmp 492 drivers/iio/frequency/ad9523.c tmp = ret; tmp 493 drivers/iio/frequency/ad9523.c tmp |= AD9523_STATUS_SIGNALS_SYNC_MAN_CTRL; tmp 495 drivers/iio/frequency/ad9523.c ret = ad9523_write(indio_dev, AD9523_STATUS_SIGNALS, tmp); tmp 500 drivers/iio/frequency/ad9523.c tmp &= ~AD9523_STATUS_SIGNALS_SYNC_MAN_CTRL; tmp 502 drivers/iio/frequency/ad9523.c ret = ad9523_write(indio_dev, AD9523_STATUS_SIGNALS, tmp); tmp 674 drivers/iio/frequency/ad9523.c int ret, tmp, code; tmp 698 drivers/iio/frequency/ad9523.c tmp = st->vco_out_freq[st->vco_out_map[chan->channel]] / val; tmp 699 drivers/iio/frequency/ad9523.c tmp = clamp(tmp, 1, 1024); tmp 701 drivers/iio/frequency/ad9523.c reg |= AD9523_CLK_DIST_DIV(tmp); tmp 705 drivers/iio/frequency/ad9523.c tmp = (code * AD9523_CLK_DIST_DIV_REV(ret)) / 3141592; tmp 706 drivers/iio/frequency/ad9523.c tmp = clamp(tmp, 0, 63); tmp 708 drivers/iio/frequency/ad9523.c reg |= AD9523_CLK_DIST_DIV_PHASE(tmp); tmp 132 drivers/iio/frequency/adf4350.c u64 tmp; tmp 177 drivers/iio/frequency/adf4350.c tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1); tmp 178 drivers/iio/frequency/adf4350.c do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ tmp 179 drivers/iio/frequency/adf4350.c st->r0_fract = do_div(tmp, st->r1_mod); tmp 180 drivers/iio/frequency/adf4350.c st->r0_int = tmp; tmp 251 drivers/iio/frequency/adf4350.c unsigned long tmp; tmp 270 drivers/iio/frequency/adf4350.c tmp = clk_round_rate(st->clk, readin); tmp 271 drivers/iio/frequency/adf4350.c if (tmp != readin) { tmp 275 drivers/iio/frequency/adf4350.c ret = clk_set_rate(st->clk, tmp); tmp 383 drivers/iio/frequency/adf4350.c unsigned int tmp; tmp 392 drivers/iio/frequency/adf4350.c tmp = 10000; tmp 393 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,channel-spacing", &tmp); tmp 394 drivers/iio/frequency/adf4350.c pdata->channel_spacing = tmp; tmp 396 drivers/iio/frequency/adf4350.c tmp = 0; tmp 397 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,power-up-frequency", &tmp); tmp 398 drivers/iio/frequency/adf4350.c pdata->power_up_frequency = tmp; tmp 400 drivers/iio/frequency/adf4350.c tmp = 0; tmp 401 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,reference-div-factor", &tmp); tmp 402 drivers/iio/frequency/adf4350.c pdata->ref_div_factor = tmp; tmp 426 drivers/iio/frequency/adf4350.c tmp = 2500; tmp 427 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,charge-pump-current", &tmp); tmp 428 drivers/iio/frequency/adf4350.c pdata->r2_user_settings |= ADF4350_REG2_CHARGE_PUMP_CURR_uA(tmp); tmp 430 drivers/iio/frequency/adf4350.c tmp = 0; tmp 431 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,muxout-select", &tmp); tmp 432 drivers/iio/frequency/adf4350.c pdata->r2_user_settings |= ADF4350_REG2_MUXOUT(tmp); tmp 454 drivers/iio/frequency/adf4350.c tmp = 0; tmp 455 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,12bit-clk-divider", &tmp); tmp 456 drivers/iio/frequency/adf4350.c pdata->r3_user_settings |= ADF4350_REG3_12BIT_CLKDIV(tmp); tmp 458 drivers/iio/frequency/adf4350.c tmp = 0; tmp 459 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,clk-divider-mode", &tmp); tmp 460 drivers/iio/frequency/adf4350.c pdata->r3_user_settings |= ADF4350_REG3_12BIT_CLKDIV_MODE(tmp); tmp 474 drivers/iio/frequency/adf4350.c tmp = 0; tmp 475 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,output-power", &tmp); tmp 476 drivers/iio/frequency/adf4350.c pdata->r4_user_settings |= ADF4350_REG4_OUTPUT_PWR(tmp); tmp 478 drivers/iio/frequency/adf4350.c tmp = 0; tmp 479 drivers/iio/frequency/adf4350.c of_property_read_u32(np, "adi,aux-output-power", &tmp); tmp 480 drivers/iio/frequency/adf4350.c pdata->r4_user_settings |= ADF4350_REG4_AUX_OUTPUT_PWR(tmp); tmp 184 drivers/iio/frequency/adf4371.c unsigned long long val, tmp; tmp 188 drivers/iio/frequency/adf4371.c tmp = (u64)st->fract2 * st->fpfd; tmp 189 drivers/iio/frequency/adf4371.c do_div(tmp, st->mod2); tmp 190 drivers/iio/frequency/adf4371.c val += tmp + ADF4371_MODULUS1 / 2; tmp 214 drivers/iio/frequency/adf4371.c unsigned long long tmp; tmp 217 drivers/iio/frequency/adf4371.c tmp = do_div(vco, pfd); tmp 218 drivers/iio/frequency/adf4371.c tmp = tmp * ADF4371_MODULUS1; tmp 219 drivers/iio/frequency/adf4371.c *fract2 = do_div(tmp, pfd); tmp 222 drivers/iio/frequency/adf4371.c *fract1 = tmp; tmp 478 drivers/iio/frequency/adf4371.c unsigned int vco_band_div, tmp; tmp 521 drivers/iio/frequency/adf4371.c tmp = DIV_ROUND_CLOSEST(st->fpfd, 1000000U); tmp 528 drivers/iio/frequency/adf4371.c } while (synth_timeout * 1024 + timeout <= 20 * tmp); tmp 532 drivers/iio/frequency/adf4371.c } while (vco_alc_timeout * 1024 - timeout <= 50 * tmp); tmp 128 drivers/iio/humidity/hdc100x.c int tmp = (~mask & data->config) | val; tmp 132 drivers/iio/humidity/hdc100x.c HDC100X_REG_CONFIG, tmp); tmp 134 drivers/iio/humidity/hdc100x.c data->config = tmp; tmp 351 drivers/iio/humidity/hts221_core.c s64 tmp; tmp 367 drivers/iio/humidity/hts221_core.c tmp = div_s64(data * 1000000000LL, div); tmp 368 drivers/iio/humidity/hts221_core.c tmp = div_s64_rem(tmp, 1000000000LL, &rem); tmp 370 drivers/iio/humidity/hts221_core.c *val = tmp; tmp 380 drivers/iio/humidity/hts221_core.c s64 tmp; tmp 396 drivers/iio/humidity/hts221_core.c tmp = div_s64(data * 1000000000LL, div); tmp 397 drivers/iio/humidity/hts221_core.c tmp = div_s64_rem(tmp, 1000000000LL, &rem); tmp 399 drivers/iio/humidity/hts221_core.c *val = tmp; tmp 555 drivers/iio/industrialio-core.c unsigned long long tmp; tmp 579 drivers/iio/industrialio-core.c tmp = div_s64((s64)vals[0] * 1000000000LL, vals[1]); tmp 581 drivers/iio/industrialio-core.c tmp0 = (int)div_s64_rem(tmp, 1000000000, &tmp1); tmp 584 drivers/iio/industrialio-core.c tmp = shift_right((s64)vals[0] * 1000000000LL, vals[1]); tmp 585 drivers/iio/industrialio-core.c tmp0 = (int)div_s64_rem(tmp, 1000000000LL, &tmp1); tmp 67 drivers/iio/light/apds9300.c unsigned long lux, tmp; tmp 73 drivers/iio/light/apds9300.c tmp = DIV_ROUND_UP(ch1 * 100, ch0); tmp 74 drivers/iio/light/apds9300.c if (tmp <= 52) { tmp 76 drivers/iio/light/apds9300.c * apds9300_lux_ratio[tmp] * 5930ull, 1000); tmp 77 drivers/iio/light/apds9300.c } else if (tmp <= 65) { tmp 79 drivers/iio/light/apds9300.c } else if (tmp <= 80) { tmp 81 drivers/iio/light/apds9300.c } else if (tmp <= 130) { tmp 135 drivers/iio/light/bh1750.c int ret, tmp; tmp 154 drivers/iio/light/bh1750.c tmp = chip_info->mtreg_to_scale / data->mtreg; tmp 155 drivers/iio/light/bh1750.c *val = tmp / 1000000; tmp 156 drivers/iio/light/bh1750.c *val2 = tmp % 1000000; tmp 877 drivers/iio/light/rpr0521.c int tmp; tmp 894 drivers/iio/light/rpr0521.c ret = regmap_read(data->regmap, RPR0521_REG_INTERRUPT, &tmp); tmp 360 drivers/iio/light/si1145.c u32 tmp = x; tmp 368 drivers/iio/light/si1145.c tmp >>= 1; tmp 370 drivers/iio/light/si1145.c if (tmp == 1) tmp 553 drivers/iio/light/tsl2772.c int ret, tmp, i; tmp 555 drivers/iio/light/tsl2772.c ret = of_property_read_u32(of_node, "led-max-microamp", &tmp); tmp 560 drivers/iio/light/tsl2772.c if (tmp == tsl2772_led_currents[i][0]) { tmp 567 drivers/iio/light/tsl2772.c tmp); tmp 257 drivers/iio/light/zopt2201.c u64 tmp; tmp 289 drivers/iio/light/zopt2201.c tmp = div_s64(*val * 1000000ULL, *val2); tmp 290 drivers/iio/light/zopt2201.c *val = div_s64_rem(tmp, 1000000, val2); tmp 459 drivers/iio/magnetometer/bmc150_magn.c int ret, tmp; tmp 509 drivers/iio/magnetometer/bmc150_magn.c &tmp); tmp 512 drivers/iio/magnetometer/bmc150_magn.c *val = BMC150_MAGN_REGVAL_TO_REPXY(tmp); tmp 516 drivers/iio/magnetometer/bmc150_magn.c &tmp); tmp 519 drivers/iio/magnetometer/bmc150_magn.c *val = BMC150_MAGN_REGVAL_TO_REPZ(tmp); tmp 760 drivers/iio/magnetometer/bmc150_magn.c int tmp; tmp 766 drivers/iio/magnetometer/bmc150_magn.c return regmap_read(data->regmap, BMC150_MAGN_REG_X_L, &tmp); tmp 290 drivers/iio/magnetometer/rm3100-core.c unsigned int tmp; tmp 294 drivers/iio/magnetometer/rm3100-core.c ret = regmap_read(data->regmap, RM3100_REG_TMRC, &tmp); tmp 298 drivers/iio/magnetometer/rm3100-core.c *val = rm3100_samp_rates[tmp - RM3100_TMRC_OFFSET][0]; tmp 299 drivers/iio/magnetometer/rm3100-core.c *val2 = rm3100_samp_rates[tmp - RM3100_TMRC_OFFSET][1]; tmp 539 drivers/iio/magnetometer/rm3100-core.c unsigned int tmp; tmp 597 drivers/iio/magnetometer/rm3100-core.c ret = regmap_read(regmap, RM3100_REG_TMRC, &tmp); tmp 601 drivers/iio/magnetometer/rm3100-core.c data->conversion_time = rm3100_samp_rates[tmp - RM3100_TMRC_OFFSET][2] tmp 605 drivers/iio/magnetometer/rm3100-core.c if ((tmp - RM3100_TMRC_OFFSET) == 0) tmp 177 drivers/iio/potentiostat/lmp91000.c int tmp, i; tmp 180 drivers/iio/potentiostat/lmp91000.c *val, &tmp, 1); tmp 185 drivers/iio/potentiostat/lmp91000.c if (lmp91000_temp_lut[i] < tmp) tmp 150 drivers/iio/pressure/bmp280-core.c unsigned int tmp; tmp 203 drivers/iio/pressure/bmp280-core.c ret = regmap_read(data->regmap, BMP280_REG_COMP_H1, &tmp); tmp 208 drivers/iio/pressure/bmp280-core.c calib->H1 = tmp; tmp 210 drivers/iio/pressure/bmp280-core.c ret = regmap_bulk_read(data->regmap, BMP280_REG_COMP_H2, &tmp, 2); tmp 215 drivers/iio/pressure/bmp280-core.c calib->H2 = sign_extend32(le16_to_cpu(tmp), 15); tmp 217 drivers/iio/pressure/bmp280-core.c ret = regmap_read(data->regmap, BMP280_REG_COMP_H3, &tmp); tmp 222 drivers/iio/pressure/bmp280-core.c calib->H3 = tmp; tmp 224 drivers/iio/pressure/bmp280-core.c ret = regmap_bulk_read(data->regmap, BMP280_REG_COMP_H4, &tmp, 2); tmp 229 drivers/iio/pressure/bmp280-core.c calib->H4 = sign_extend32(((be16_to_cpu(tmp) >> 4) & 0xff0) | tmp 230 drivers/iio/pressure/bmp280-core.c (be16_to_cpu(tmp) & 0xf), 11); tmp 232 drivers/iio/pressure/bmp280-core.c ret = regmap_bulk_read(data->regmap, BMP280_REG_COMP_H5, &tmp, 2); tmp 237 drivers/iio/pressure/bmp280-core.c calib->H5 = sign_extend32(((le16_to_cpu(tmp) >> 4) & 0xfff), 11); tmp 239 drivers/iio/pressure/bmp280-core.c ret = regmap_read(data->regmap, BMP280_REG_COMP_H6, &tmp); tmp 244 drivers/iio/pressure/bmp280-core.c calib->H6 = sign_extend32(tmp, 7); tmp 330 drivers/iio/pressure/bmp280-core.c __be32 tmp = 0; tmp 334 drivers/iio/pressure/bmp280-core.c (u8 *) &tmp, 3); tmp 340 drivers/iio/pressure/bmp280-core.c adc_temp = be32_to_cpu(tmp) >> 12; tmp 364 drivers/iio/pressure/bmp280-core.c __be32 tmp = 0; tmp 374 drivers/iio/pressure/bmp280-core.c (u8 *) &tmp, 3); tmp 380 drivers/iio/pressure/bmp280-core.c adc_press = be32_to_cpu(tmp) >> 12; tmp 397 drivers/iio/pressure/bmp280-core.c __be16 tmp = 0; tmp 407 drivers/iio/pressure/bmp280-core.c (u8 *) &tmp, 2); tmp 413 drivers/iio/pressure/bmp280-core.c adc_humidity = be16_to_cpu(tmp); tmp 749 drivers/iio/pressure/bmp280-core.c __be16 tmp = 0; tmp 755 drivers/iio/pressure/bmp280-core.c ret = regmap_bulk_read(data->regmap, BMP180_REG_OUT_MSB, (u8 *)&tmp, 2); tmp 759 drivers/iio/pressure/bmp280-core.c *val = be16_to_cpu(tmp); tmp 845 drivers/iio/pressure/bmp280-core.c __be32 tmp = 0; tmp 852 drivers/iio/pressure/bmp280-core.c ret = regmap_bulk_read(data->regmap, BMP180_REG_OUT_MSB, (u8 *)&tmp, 3); tmp 856 drivers/iio/pressure/bmp280-core.c *val = (be32_to_cpu(tmp) >> 8) >> (8 - oss); tmp 77 drivers/iio/pressure/mpl3115.c __be32 tmp = 0; tmp 95 drivers/iio/pressure/mpl3115.c MPL3115_OUT_PRESS, 3, (u8 *) &tmp); tmp 99 drivers/iio/pressure/mpl3115.c *val = be32_to_cpu(tmp) >> 12; tmp 110 drivers/iio/pressure/mpl3115.c MPL3115_OUT_TEMP, 2, (u8 *) &tmp); tmp 114 drivers/iio/pressure/mpl3115.c *val = sign_extend32(be32_to_cpu(tmp) >> 20, 11); tmp 141 drivers/iio/pressure/ms5611_core.c s64 tmp = (t + 1500) * (t + 1500); tmp 143 drivers/iio/pressure/ms5611_core.c off2 += 7 * tmp; tmp 144 drivers/iio/pressure/ms5611_core.c sens2 += (11 * tmp) >> 1; tmp 170 drivers/iio/pressure/ms5611_core.c s64 off2, sens2, t2, tmp; tmp 173 drivers/iio/pressure/ms5611_core.c tmp = (t - 2000) * (t - 2000); tmp 174 drivers/iio/pressure/ms5611_core.c off2 = (61 * tmp) >> 4; tmp 175 drivers/iio/pressure/ms5611_core.c sens2 = tmp << 1; tmp 178 drivers/iio/pressure/ms5611_core.c tmp = (t + 1500) * (t + 1500); tmp 179 drivers/iio/pressure/ms5611_core.c off2 += 15 * tmp; tmp 180 drivers/iio/pressure/ms5611_core.c sens2 += 8 * tmp; tmp 328 drivers/iio/temperature/mlx90632.c s64 VR_Ta, kGb, tmp; tmp 334 drivers/iio/temperature/mlx90632.c tmp = div64_s64( tmp 337 drivers/iio/temperature/mlx90632.c return div64_s64(tmp << 19ULL, 1000LL); tmp 344 drivers/iio/temperature/mlx90632.c s64 VR_IR, kKa, tmp; tmp 350 drivers/iio/temperature/mlx90632.c tmp = div64_s64( tmp 354 drivers/iio/temperature/mlx90632.c return div64_s64((tmp << 19ULL), 1000LL); tmp 152 drivers/iio/temperature/tmp007.c u16 tmp; tmp 158 drivers/iio/temperature/tmp007.c tmp = data->config & ~TMP007_CONFIG_CR_MASK; tmp 159 drivers/iio/temperature/tmp007.c tmp |= (i << TMP007_CONFIG_CR_SHIFT); tmp 163 drivers/iio/temperature/tmp007.c data->config = tmp); tmp 4511 drivers/infiniband/core/cm.c struct cm_timewait_info *timewait_info, *tmp; tmp 4521 drivers/infiniband/core/cm.c list_for_each_entry_safe(timewait_info, tmp, &cm.timewait_list, list) { tmp 321 drivers/infiniband/core/fmr_pool.c struct ib_pool_fmr *tmp; tmp 329 drivers/infiniband/core/fmr_pool.c list_for_each_entry_safe(fmr, tmp, &pool->free_list, list) { tmp 160 drivers/infiniband/core/iwcm.c struct list_head *e, *tmp; tmp 162 drivers/infiniband/core/iwcm.c list_for_each_safe(e, tmp, &cm_id_priv->work_free_list) { tmp 533 drivers/infiniband/core/ucma.c struct ucma_multicast *mc, *tmp; tmp 536 drivers/infiniband/core/ucma.c list_for_each_entry_safe(mc, tmp, &ctx->mc_list, list) { tmp 546 drivers/infiniband/core/ucma.c struct ucma_event *uevent, *tmp; tmp 548 drivers/infiniband/core/ucma.c list_for_each_entry_safe(uevent, tmp, &mc->ctx->file->event_list, list) { tmp 571 drivers/infiniband/core/ucma.c struct ucma_event *uevent, *tmp; tmp 579 drivers/infiniband/core/ucma.c list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) { tmp 586 drivers/infiniband/core/ucma.c list_for_each_entry_safe(uevent, tmp, &list, list) { tmp 1603 drivers/infiniband/core/ucma.c struct ucma_event *uevent, *tmp; tmp 1605 drivers/infiniband/core/ucma.c list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) tmp 1786 drivers/infiniband/core/ucma.c struct ucma_context *ctx, *tmp; tmp 1789 drivers/infiniband/core/ucma.c list_for_each_entry_safe(ctx, tmp, &file->ctx_list, list) { tmp 1019 drivers/infiniband/core/user_mad.c struct ib_umad_packet *packet, *tmp; tmp 1029 drivers/infiniband/core/user_mad.c list_for_each_entry_safe(packet, tmp, &file->recv_list, list) { tmp 1142 drivers/infiniband/core/uverbs_cmd.c struct ib_uverbs_wc tmp; tmp 1144 drivers/infiniband/core/uverbs_cmd.c tmp.wr_id = wc->wr_id; tmp 1145 drivers/infiniband/core/uverbs_cmd.c tmp.status = wc->status; tmp 1146 drivers/infiniband/core/uverbs_cmd.c tmp.opcode = wc->opcode; tmp 1147 drivers/infiniband/core/uverbs_cmd.c tmp.vendor_err = wc->vendor_err; tmp 1148 drivers/infiniband/core/uverbs_cmd.c tmp.byte_len = wc->byte_len; tmp 1149 drivers/infiniband/core/uverbs_cmd.c tmp.ex.imm_data = wc->ex.imm_data; tmp 1150 drivers/infiniband/core/uverbs_cmd.c tmp.qp_num = wc->qp->qp_num; tmp 1151 drivers/infiniband/core/uverbs_cmd.c tmp.src_qp = wc->src_qp; tmp 1152 drivers/infiniband/core/uverbs_cmd.c tmp.wc_flags = wc->wc_flags; tmp 1153 drivers/infiniband/core/uverbs_cmd.c tmp.pkey_index = wc->pkey_index; tmp 1155 drivers/infiniband/core/uverbs_cmd.c tmp.slid = OPA_TO_IB_UCAST_LID(wc->slid); tmp 1157 drivers/infiniband/core/uverbs_cmd.c tmp.slid = ib_lid_cpu16(wc->slid); tmp 1158 drivers/infiniband/core/uverbs_cmd.c tmp.sl = wc->sl; tmp 1159 drivers/infiniband/core/uverbs_cmd.c tmp.dlid_path_bits = wc->dlid_path_bits; tmp 1160 drivers/infiniband/core/uverbs_cmd.c tmp.port_num = wc->port_num; tmp 1161 drivers/infiniband/core/uverbs_cmd.c tmp.reserved = 0; tmp 1163 drivers/infiniband/core/uverbs_cmd.c if (copy_to_user(dest, &tmp, sizeof tmp)) tmp 546 drivers/infiniband/core/uverbs_ioctl.c struct bundle_alloc_head *tmp = memblock; tmp 549 drivers/infiniband/core/uverbs_ioctl.c kvfree(tmp); tmp 140 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_event *evt, *tmp; tmp 144 drivers/infiniband/core/uverbs_main.c list_for_each_entry_safe(evt, tmp, &uobj->comp_list, obj_list) { tmp 154 drivers/infiniband/core/uverbs_main.c list_for_each_entry_safe(evt, tmp, &uobj->async_list, obj_list) { tmp 164 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_event *evt, *tmp; tmp 167 drivers/infiniband/core/uverbs_main.c list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) { tmp 177 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_mcast_entry *mcast, *tmp; tmp 179 drivers/infiniband/core/uverbs_main.c list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) { tmp 353 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_event *entry, *tmp; tmp 360 drivers/infiniband/core/uverbs_main.c list_for_each_entry_safe(entry, tmp, &file->ev_queue.event_list, list) { tmp 383 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_event *entry, *tmp; tmp 386 drivers/infiniband/core/uverbs_main.c list_for_each_entry_safe(entry, tmp, &file->ev_queue.event_list, list) { tmp 599 drivers/infiniband/hw/bnxt_re/qplib_sp.c unsigned long tmp; tmp 611 drivers/infiniband/hw/bnxt_re/qplib_sp.c tmp = (unsigned long)mrw; tmp 612 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.mrw_handle = cpu_to_le64(tmp); tmp 1034 drivers/infiniband/hw/cxgb3/cxio_hal.c struct cxio_rdev *rdev, *tmp; tmp 1037 drivers/infiniband/hw/cxgb3/cxio_hal.c list_for_each_entry_safe(rdev, tmp, &rdev_list, entry) tmp 174 drivers/infiniband/hw/cxgb3/iwch.c struct iwch_dev *dev, *tmp; tmp 177 drivers/infiniband/hw/cxgb3/iwch.c list_for_each_entry_safe(dev, tmp, &dev_list, entry) { tmp 69 drivers/infiniband/hw/cxgb3/iwch_provider.c struct iwch_mm_entry *mm, *tmp; tmp 72 drivers/infiniband/hw/cxgb3/iwch_provider.c list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) tmp 4276 drivers/infiniband/hw/cxgb4/cm.c struct list_head *tmp; tmp 4278 drivers/infiniband/hw/cxgb4/cm.c tmp = timeout_list.next; tmp 4279 drivers/infiniband/hw/cxgb4/cm.c list_del(tmp); tmp 4280 drivers/infiniband/hw/cxgb4/cm.c tmp->next = NULL; tmp 4281 drivers/infiniband/hw/cxgb4/cm.c tmp->prev = NULL; tmp 4283 drivers/infiniband/hw/cxgb4/cm.c ep = list_entry(tmp, struct c4iw_ep, entry); tmp 1555 drivers/infiniband/hw/cxgb4/device.c struct uld_ctx *ctx, *tmp; tmp 1558 drivers/infiniband/hw/cxgb4/device.c list_for_each_entry_safe(ctx, tmp, &uld_ctx_list, entry) { tmp 65 drivers/infiniband/hw/cxgb4/provider.c struct c4iw_mm_entry *mm, *tmp; tmp 70 drivers/infiniband/hw/cxgb4/provider.c list_for_each_entry_safe(mm, tmp, &ucontext->mmaps, entry) tmp 10785 drivers/infiniband/hw/hfi1/chip.c u8 tmp = ppd->link_enabled; tmp 10789 drivers/infiniband/hw/hfi1/chip.c ppd->link_enabled = tmp; tmp 548 drivers/infiniband/hw/hfi1/debugfs.c char *tmp; tmp 558 drivers/infiniband/hw/hfi1/debugfs.c tmp = kmalloc(size, GFP_KERNEL); tmp 559 drivers/infiniband/hw/hfi1/debugfs.c if (!tmp) tmp 563 drivers/infiniband/hw/hfi1/debugfs.c used += scnprintf(tmp + used, size - used, tmp 568 drivers/infiniband/hw/hfi1/debugfs.c used += scnprintf(tmp + used, size - used, tmp 575 drivers/infiniband/hw/hfi1/debugfs.c check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, tmp 577 drivers/infiniband/hw/hfi1/debugfs.c check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, tmp 579 drivers/infiniband/hw/hfi1/debugfs.c check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, tmp 581 drivers/infiniband/hw/hfi1/debugfs.c check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i, tmp 584 drivers/infiniband/hw/hfi1/debugfs.c used += scnprintf(tmp + used, size - used, "Write bits to clear\n"); tmp 586 drivers/infiniband/hw/hfi1/debugfs.c ret = simple_read_from_buffer(buf, count, ppos, tmp, used); tmp 587 drivers/infiniband/hw/hfi1/debugfs.c kfree(tmp); tmp 642 drivers/infiniband/hw/hfi1/debugfs.c void *tmp; tmp 649 drivers/infiniband/hw/hfi1/debugfs.c tmp = kzalloc(DC8051_DATA_MEM_SIZE, GFP_KERNEL); tmp 650 drivers/infiniband/hw/hfi1/debugfs.c if (!tmp) tmp 665 drivers/infiniband/hw/hfi1/debugfs.c (u64 *)(tmp + start)); tmp 670 drivers/infiniband/hw/hfi1/debugfs.c rval = simple_read_from_buffer(buf, count, ppos, tmp, tmp 673 drivers/infiniband/hw/hfi1/debugfs.c kfree(tmp); tmp 751 drivers/infiniband/hw/hfi1/debugfs.c char *tmp; tmp 755 drivers/infiniband/hw/hfi1/debugfs.c tmp = kmalloc(PAGE_SIZE, GFP_KERNEL); tmp 756 drivers/infiniband/hw/hfi1/debugfs.c if (!tmp) tmp 759 drivers/infiniband/hw/hfi1/debugfs.c ret = qsfp_dump(ppd, tmp, PAGE_SIZE); tmp 761 drivers/infiniband/hw/hfi1/debugfs.c ret = simple_read_from_buffer(buf, count, ppos, tmp, ret); tmp 762 drivers/infiniband/hw/hfi1/debugfs.c kfree(tmp); tmp 812 drivers/infiniband/hw/hfi1/mad.c u64 tmp = 0; tmp 990 drivers/infiniband/hw/hfi1/mad.c read_lcb_cache(DC_LCB_STS_ROUND_TRIP_LTP_CNT, &tmp); tmp 996 drivers/infiniband/hw/hfi1/mad.c if (tmp > 0xff) tmp 997 drivers/infiniband/hw/hfi1/mad.c tmp = 0xff; tmp 998 drivers/infiniband/hw/hfi1/mad.c pi->replay_depth.wire = tmp; tmp 2636 drivers/infiniband/hw/hfi1/mad.c u64 tmp = sum_vl_xmit_wait + tmp 2639 drivers/infiniband/hw/hfi1/mad.c if (tmp < sum_vl_xmit_wait) { tmp 2644 drivers/infiniband/hw/hfi1/mad.c sum_vl_xmit_wait = tmp; tmp 2742 drivers/infiniband/hw/hfi1/mad.c u64 tmp, tmp2; tmp 2813 drivers/infiniband/hw/hfi1/mad.c tmp = read_dev_cntr(dd, C_DC_SEQ_CRC_CNT, CNTR_INVALID_VL); tmp 2814 drivers/infiniband/hw/hfi1/mad.c tmp2 = tmp + read_dev_cntr(dd, C_DC_REINIT_FROM_PEER_CNT, tmp 2816 drivers/infiniband/hw/hfi1/mad.c if (tmp2 > (u32)UINT_MAX || tmp2 < tmp) { tmp 2833 drivers/infiniband/hw/hfi1/mad.c tmp = read_dev_cntr(dd, C_DC_UNC_ERR, CNTR_INVALID_VL); tmp 2834 drivers/infiniband/hw/hfi1/mad.c rsp->uncorrectable_errors = tmp < 0x100 ? (tmp & 0xff) : 0xff; tmp 2846 drivers/infiniband/hw/hfi1/mad.c tmp = read_dev_cntr(dd, C_DC_RX_FLIT_VL, idx_from_vl(vl)); tmp 2847 drivers/infiniband/hw/hfi1/mad.c rsp->vls[vfi].port_vl_rcv_data = cpu_to_be64(tmp); tmp 2898 drivers/infiniband/hw/hfi1/mad.c u64 error_counter_summary = 0, tmp; tmp 2913 drivers/infiniband/hw/hfi1/mad.c tmp = read_dev_cntr(dd, C_DC_SEQ_CRC_CNT, CNTR_INVALID_VL); tmp 2914 drivers/infiniband/hw/hfi1/mad.c tmp += read_dev_cntr(dd, C_DC_REINIT_FROM_PEER_CNT, CNTR_INVALID_VL); tmp 2915 drivers/infiniband/hw/hfi1/mad.c error_counter_summary += (tmp >> res_ler); tmp 2924 drivers/infiniband/hw/hfi1/mad.c tmp = read_dev_cntr(dd, C_DC_UNC_ERR, CNTR_INVALID_VL); tmp 2926 drivers/infiniband/hw/hfi1/mad.c error_counter_summary += tmp < 0x100 ? (tmp & 0xff) : 0xff; tmp 2939 drivers/infiniband/hw/hfi1/mad.c u64 tmp = sum_vl_xmit_wait + tmp 2942 drivers/infiniband/hw/hfi1/mad.c if (tmp < sum_vl_xmit_wait) { tmp 2947 drivers/infiniband/hw/hfi1/mad.c sum_vl_xmit_wait = tmp; tmp 3157 drivers/infiniband/hw/hfi1/mad.c u64 tmp, tmp2; tmp 3162 drivers/infiniband/hw/hfi1/mad.c tmp = read_dev_cntr(dd, C_DC_SEQ_CRC_CNT, CNTR_INVALID_VL); tmp 3163 drivers/infiniband/hw/hfi1/mad.c tmp2 = tmp + read_dev_cntr(dd, C_DC_REINIT_FROM_PEER_CNT, tmp 3165 drivers/infiniband/hw/hfi1/mad.c if (tmp2 > (u32)UINT_MAX || tmp2 < tmp) { tmp 3212 drivers/infiniband/hw/hfi1/mad.c u64 port_mask, tmp; tmp 3263 drivers/infiniband/hw/hfi1/mad.c tmp = read_dev_cntr(dd, C_DC_UNC_ERR, CNTR_INVALID_VL); tmp 3265 drivers/infiniband/hw/hfi1/mad.c rsp->uncorrectable_errors = tmp < 0x100 ? (tmp & 0xff) : 0xff; tmp 3435 drivers/infiniband/hw/hfi1/mad.c u8 tmp = (u8)reg; tmp 3437 drivers/infiniband/hw/hfi1/mad.c tmp &= RCV_ERR_INFO_RCV_EXCESS_BUFFER_OVERRUN_SC_SMASK; tmp 3438 drivers/infiniband/hw/hfi1/mad.c tmp <<= 2; tmp 3439 drivers/infiniband/hw/hfi1/mad.c rsp->excessive_buffer_overrun_ei.status_and_sc = tmp; tmp 549 drivers/infiniband/hw/hfi1/user_sdma.c u32 *tmp; tmp 562 drivers/infiniband/hw/hfi1/user_sdma.c tmp = memdup_user(iovec[idx].iov_base, tmp 564 drivers/infiniband/hw/hfi1/user_sdma.c if (IS_ERR(tmp)) { tmp 565 drivers/infiniband/hw/hfi1/user_sdma.c ret = PTR_ERR(tmp); tmp 570 drivers/infiniband/hw/hfi1/user_sdma.c req->tids = tmp; tmp 344 drivers/infiniband/hw/hns/hns_roce_hem.c struct hns_roce_hem_chunk *chunk, *tmp; tmp 350 drivers/infiniband/hw/hns/hns_roce_hem.c list_for_each_entry_safe(chunk, tmp, &hem->chunk_list, list) { tmp 405 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 411 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(reg_val); tmp 412 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, tmp 416 drivers/infiniband/hw/hns/hns_roce_hw_v1.c reg_val = le32_to_cpu(tmp); tmp 448 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 452 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 453 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_GLB_CFG_ROCEE_DB_SQ_MODE_S, sdb_mode); tmp 454 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_GLB_CFG_ROCEE_DB_OTH_MODE_S, odb_mode); tmp 455 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 462 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 467 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 468 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_GLB_CFG_SQ_EXT_DB_MODE_S, sdb_mode); tmp 469 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_GLB_CFG_OTH_EXT_DB_MODE_S, odb_mode); tmp 470 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 477 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 482 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 483 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_DB_SQ_WL_ROCEE_DB_SQ_WL_M, tmp 485 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_DB_SQ_WL_ROCEE_DB_SQ_WL_EMPTY_M, tmp 487 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 494 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 499 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 500 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_DB_OTHERS_WL_ROCEE_DB_OTH_WL_M, tmp 502 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_DB_OTHERS_WL_ROCEE_DB_OTH_WL_EMPTY_M, tmp 504 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 515 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 531 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 532 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_EXT_DB_SQ_H_EXT_DB_SQ_SHIFT_M, tmp 540 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_EXT_DB_SQ_H_EXT_DB_SQ_BA_H_M, tmp 542 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 557 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 573 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 574 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_EXT_DB_OTH_H_EXT_DB_OTH_SHIFT_M, tmp 577 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_EXT_DB_SQ_H_EXT_DB_OTH_BA_H_M, tmp 580 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1199 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 1227 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1228 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_M, tmp 1235 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M, tmp 1238 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1244 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1245 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_RAQ_WL_ROCEE_RAQ_WL_M, tmp 1248 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1254 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1255 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, tmp 1259 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_EXT_RAQ_MODE, 1); tmp 1260 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, tmp 1264 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, tmp 1266 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1272 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1273 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_GLB_CFG_TRP_RAQ_DROP_EN_S, 1); tmp 1274 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1301 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 1307 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1308 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_GLB_CFG_ROCEE_PORT_ST_M, tmp 1311 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1316 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1317 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_GLB_CFG_ROCEE_PORT_ST_M, tmp 1319 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1585 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 1590 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1591 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_DMAE_USER_CFG1_ROCEE_CACHE_TB_CFG_M, tmp 1593 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_DMAE_USER_CFG1_ROCEE_STREAM_ID_TB_CFG_M, tmp 1596 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1600 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1601 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_DMAE_USER_CFG2_ROCEE_CACHE_PKT_CFG_M, tmp 1603 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_DMAE_USER_CFG2_ROCEE_STREAM_ID_PKT_CFG_M, tmp 1679 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 1691 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1692 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_MB6_ROCEE_MB_CMD_M, ROCEE_MB6_ROCEE_MB_CMD_S, tmp 1694 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_MB6_ROCEE_MB_CMD_MDF_M, tmp 1696 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_MB6_ROCEE_MB_EVENT_S, event); tmp 1697 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_MB6_ROCEE_MB_HW_RUN_S, 1); tmp 1698 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_MB6_ROCEE_MB_TOKEN_M, tmp 1701 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1777 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 1802 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1805 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_SMAC_H_ROCEE_SMAC_H_M, tmp 1807 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 1817 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 1822 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 1823 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_SMAC_H_ROCEE_PORT_MTU_M, tmp 1825 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 2579 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 2683 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(reg_val); tmp 2684 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_QP1C_CFG0_0_ROCEE_QP1C_QP_ST_M, tmp 2686 drivers/infiniband/hw/hns/hns_roce_hw_v1.c reg_val = le32_to_cpu(tmp); tmp 4051 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 4060 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(aeshift_val); tmp 4063 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (roce_get_bit(tmp, tmp 4069 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(caepaemask_val); tmp 4070 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_CAEP_AE_MASK_CAEP_AEQ_ALM_OVF_MASK_S, tmp 4072 drivers/infiniband/hw/hns/hns_roce_hw_v1.c caepaemask_val = le32_to_cpu(tmp); tmp 4077 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(caepaest_val); tmp 4078 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_CAEP_AE_ST_CAEP_AEQ_ALM_OVF_S, 1); tmp 4079 drivers/infiniband/hw/hns/hns_roce_hw_v1.c caepaest_val = le32_to_cpu(tmp); tmp 4084 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(caepaemask_val); tmp 4085 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_CAEP_AE_MASK_CAEP_AEQ_ALM_OVF_MASK_S, tmp 4087 drivers/infiniband/hw/hns/hns_roce_hw_v1.c caepaemask_val = le32_to_cpu(tmp); tmp 4095 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(ceshift_val); tmp 4097 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (roce_get_bit(tmp, tmp 4106 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(cemask_val); tmp 4107 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, tmp 4110 drivers/infiniband/hw/hns/hns_roce_hw_v1.c cemask_val = le32_to_cpu(tmp); tmp 4118 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(cealmovf_val); tmp 4119 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, tmp 4122 drivers/infiniband/hw/hns/hns_roce_hw_v1.c cealmovf_val = le32_to_cpu(tmp); tmp 4130 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(cemask_val); tmp 4131 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, tmp 4134 drivers/infiniband/hw/hns/hns_roce_hw_v1.c cemask_val = le32_to_cpu(tmp); tmp 4158 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 4163 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(aemask_val); tmp 4164 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_CAEP_AE_MASK_CAEP_AEQ_ALM_OVF_MASK_S, tmp 4166 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_bit(tmp, ROCEE_CAEP_AE_MASK_CAEP_AE_IRQ_MASK_S, masken); tmp 4167 drivers/infiniband/hw/hns/hns_roce_hw_v1.c aemask_val = le32_to_cpu(tmp); tmp 4199 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp; tmp 4203 drivers/infiniband/hw/hns/hns_roce_hw_v1.c tmp = cpu_to_le32(val); tmp 4206 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, tmp 4211 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, tmp 4216 drivers/infiniband/hw/hns/hns_roce_hw_v1.c val = le32_to_cpu(tmp); tmp 4231 drivers/infiniband/hw/hns/hns_roce_hw_v1.c __le32 tmp = 0; tmp 4262 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_CAEP_AEQC_AEQE_SHIFT_CAEP_AEQC_STATE_M, tmp 4265 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_set_field(tmp, ROCEE_CAEP_AEQC_AEQE_SHIFT_CAEP_AEQC_AEQE_SHIFT_M, tmp 4268 drivers/infiniband/hw/hns/hns_roce_hw_v1.c eqshift_val = le32_to_cpu(tmp); tmp 642 drivers/infiniband/hw/i40iw/i40iw_cm.c u32 tmp; tmp 667 drivers/infiniband/hw/i40iw/i40iw_cm.c tmp = ntohs(all_options->as_mss.mss); tmp 668 drivers/infiniband/hw/i40iw/i40iw_cm.c if (tmp > 0 && tmp < cm_node->tcp_cntxt.mss) tmp 669 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.mss = tmp; tmp 1686 drivers/infiniband/hw/i40iw/i40iw_cm.c struct inet6_ifaddr *ifp, *tmp; tmp 1701 drivers/infiniband/hw/i40iw/i40iw_cm.c list_for_each_entry_safe(ifp, tmp, &idev->addr_list, if_list) { tmp 1178 drivers/infiniband/hw/i40iw/i40iw_main.c struct inet6_ifaddr *ifp, *tmp; tmp 1191 drivers/infiniband/hw/i40iw/i40iw_main.c list_for_each_entry_safe(ifp, tmp, &idev->addr_list, if_list) { tmp 760 drivers/infiniband/hw/mlx4/main.c enum ib_mtu tmp; tmp 800 drivers/infiniband/hw/mlx4/main.c tmp = iboe_get_mtu(ndev->mtu); tmp 801 drivers/infiniband/hw/mlx4/main.c props->active_mtu = tmp ? min(props->max_mtu, tmp) : IB_MTU_256; tmp 1921 drivers/infiniband/hw/mlx4/main.c struct mlx4_ib_gid_entry *tmp; tmp 1924 drivers/infiniband/hw/mlx4/main.c list_for_each_entry_safe(ge, tmp, &qp->gid_list, list) { tmp 1062 drivers/infiniband/hw/mlx4/mcg.c struct mcast_req *req, *tmp tmp 1064 drivers/infiniband/hw/mlx4/mcg.c list_for_each_entry_safe(req, tmp, &group->pending_list, group_list) { tmp 1165 drivers/infiniband/hw/mlx4/mcg.c struct mcast_req *req, *tmp, *group_first = NULL; tmp 1172 drivers/infiniband/hw/mlx4/mcg.c list_for_each_entry_safe(req, tmp, &group->func[vf].pending, func_list) { tmp 1349 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_gid_entry *ge, *tmp; tmp 1351 drivers/infiniband/hw/mlx4/qp.c list_for_each_entry_safe(ge, tmp, &qp->gid_list, list) { tmp 1939 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_gid_entry *ge, *tmp; tmp 1941 drivers/infiniband/hw/mlx4/qp.c list_for_each_entry_safe(ge, tmp, &qp->gid_list, list) { tmp 107 drivers/infiniband/hw/mlx5/ah.c u32 tmp; tmp 112 drivers/infiniband/hw/mlx5/ah.c tmp = be32_to_cpu(ah->av.grh_gid_fl); tmp 113 drivers/infiniband/hw/mlx5/ah.c if (tmp & (1 << 30)) { tmp 115 drivers/infiniband/hw/mlx5/ah.c tmp & 0xfffff, tmp 116 drivers/infiniband/hw/mlx5/ah.c (tmp >> 20) & 0xff, tmp 1337 drivers/infiniband/hw/mlx5/devx.c struct devx_event_subscription *sub_entry, *tmp; tmp 1366 drivers/infiniband/hw/mlx5/devx.c list_for_each_entry_safe(sub_entry, tmp, &obj->event_sub, obj_list) tmp 2427 drivers/infiniband/hw/mlx5/devx.c struct devx_event_subscription *sub, *tmp; tmp 2436 drivers/infiniband/hw/mlx5/devx.c list_for_each_entry_safe(sub, tmp, &event->unaffiliated_list, tmp 2504 drivers/infiniband/hw/mlx5/devx.c struct devx_async_data *entry, *tmp; tmp 2507 drivers/infiniband/hw/mlx5/devx.c list_for_each_entry_safe(entry, tmp, tmp 2647 drivers/infiniband/hw/mlx5/devx.c struct devx_async_event_data *entry, *tmp; tmp 2668 drivers/infiniband/hw/mlx5/devx.c list_for_each_entry_safe(entry, tmp, tmp 670 drivers/infiniband/hw/mlx5/main.c u8 tmp; tmp 678 drivers/infiniband/hw/mlx5/main.c tmp = MLX5_ATOMIC_OPS_CMP_SWAP | MLX5_ATOMIC_OPS_FETCH_ADD; tmp 679 drivers/infiniband/hw/mlx5/main.c if (((atomic_operations & tmp) == tmp) && tmp 716 drivers/infiniband/hw/mlx5/main.c u64 tmp; tmp 725 drivers/infiniband/hw/mlx5/main.c err = mlx5_query_hca_vport_system_image_guid(mdev, &tmp); tmp 729 drivers/infiniband/hw/mlx5/main.c err = mlx5_query_nic_vport_system_image_guid(mdev, &tmp); tmp 737 drivers/infiniband/hw/mlx5/main.c *sys_image_guid = cpu_to_be64(tmp); tmp 785 drivers/infiniband/hw/mlx5/main.c u64 tmp; tmp 793 drivers/infiniband/hw/mlx5/main.c err = mlx5_query_hca_vport_node_guid(dev->mdev, &tmp); tmp 797 drivers/infiniband/hw/mlx5/main.c err = mlx5_query_nic_vport_node_guid(dev->mdev, &tmp); tmp 805 drivers/infiniband/hw/mlx5/main.c *node_guid = cpu_to_be64(tmp); tmp 1558 drivers/infiniband/hw/mlx5/main.c u32 tmp; tmp 1583 drivers/infiniband/hw/mlx5/main.c tmp = (attr.port_cap_flags | props->set_port_cap_mask) & tmp 1586 drivers/infiniband/hw/mlx5/main.c err = mlx5_set_port_caps(dev->mdev, port, tmp); tmp 3195 drivers/infiniband/hw/mlx5/main.c struct mlx5_ib_flow_handler *iter, *tmp; tmp 3200 drivers/infiniband/hw/mlx5/main.c list_for_each_entry_safe(iter, tmp, &handler->list, list) { tmp 51 drivers/infiniband/hw/mlx5/mem.c unsigned long tmp; tmp 60 drivers/infiniband/hw/mlx5/mem.c tmp = (unsigned long)addr; tmp 61 drivers/infiniband/hw/mlx5/mem.c m = find_first_bit(&tmp, BITS_PER_LONG); tmp 72 drivers/infiniband/hw/mlx5/mem.c tmp = (unsigned long)(pfn | p); tmp 73 drivers/infiniband/hw/mlx5/mem.c if (!IS_ALIGNED(tmp, 1 << m)) tmp 74 drivers/infiniband/hw/mlx5/mem.c m = find_first_bit(&tmp, BITS_PER_LONG); tmp 613 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_core_srq *tmp; tmp 616 drivers/infiniband/hw/mlx5/srq_cmd.c tmp = xa_erase_irq(&table->array, srq->srqn); tmp 617 drivers/infiniband/hw/mlx5/srq_cmd.c if (!tmp || tmp != srq) tmp 782 drivers/infiniband/hw/mthca/mthca_cmd.c u32 tmp; tmp 837 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(tmp, outbox, QUERY_FW_CMD_DB_EN_OFFSET); tmp 838 drivers/infiniband/hw/mthca/mthca_cmd.c if (tmp & 0x1) { tmp 90 drivers/infiniband/hw/mthca/mthca_memfree.c struct mthca_icm_chunk *chunk, *tmp; tmp 95 drivers/infiniband/hw/mthca/mthca_memfree.c list_for_each_entry_safe(chunk, tmp, &icm->chunk_list, list) { tmp 2084 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ocrdma_qp *tmp; tmp 2086 drivers/infiniband/hw/ocrdma/ocrdma_hw.c list_for_each_entry(tmp, &cq->sq_head, sq_entry) { tmp 2087 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (qp == tmp) { tmp 2097 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ocrdma_qp *tmp; tmp 2099 drivers/infiniband/hw/ocrdma/ocrdma_hw.c list_for_each_entry(tmp, &cq->rq_head, rq_entry) { tmp 2100 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (qp == tmp) { tmp 220 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c struct ocrdma_mm *mm, *tmp; tmp 223 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c list_for_each_entry_safe(mm, tmp, &uctx->mm_head, entry) { tmp 528 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c struct ocrdma_mm *mm, *tmp; tmp 539 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c list_for_each_entry_safe(mm, tmp, &uctx->mm_head, entry) { tmp 372 drivers/infiniband/hw/qedr/verbs.c struct qedr_mm *mm, *tmp; tmp 378 drivers/infiniband/hw/qedr/verbs.c list_for_each_entry_safe(mm, tmp, &uctx->mm_head, entry) { tmp 2544 drivers/infiniband/hw/qedr/verbs.c struct qedr_pbl *pbl, *tmp; tmp 2553 drivers/infiniband/hw/qedr/verbs.c list_for_each_entry_safe(pbl, tmp, &info->free_pbl_list, list_entry) { tmp 2562 drivers/infiniband/hw/qedr/verbs.c struct qedr_pbl *tmp; tmp 2585 drivers/infiniband/hw/qedr/verbs.c tmp = qedr_alloc_pbl_tbl(dev, &info->pbl_info, GFP_KERNEL); tmp 2586 drivers/infiniband/hw/qedr/verbs.c if (IS_ERR(tmp)) { tmp 2591 drivers/infiniband/hw/qedr/verbs.c list_add_tail(&tmp->list_entry, &info->free_pbl_list); tmp 2593 drivers/infiniband/hw/qedr/verbs.c DP_DEBUG(dev, QEDR_MSG_MR, "extra pbl_table_pa = %pa\n", &tmp->pa); tmp 228 drivers/infiniband/hw/qib/qib_fs.c char *tmp; tmp 231 drivers/infiniband/hw/qib/qib_fs.c tmp = kmalloc(PAGE_SIZE, GFP_KERNEL); tmp 232 drivers/infiniband/hw/qib/qib_fs.c if (!tmp) tmp 235 drivers/infiniband/hw/qib/qib_fs.c ret = qib_qsfp_dump(dd->pport, tmp, PAGE_SIZE); tmp 237 drivers/infiniband/hw/qib/qib_fs.c ret = simple_read_from_buffer(buf, count, ppos, tmp, ret); tmp 238 drivers/infiniband/hw/qib/qib_fs.c kfree(tmp); tmp 249 drivers/infiniband/hw/qib/qib_fs.c char *tmp; tmp 255 drivers/infiniband/hw/qib/qib_fs.c tmp = kmalloc(PAGE_SIZE, GFP_KERNEL); tmp 256 drivers/infiniband/hw/qib/qib_fs.c if (!tmp) tmp 259 drivers/infiniband/hw/qib/qib_fs.c ret = qib_qsfp_dump(dd->pport + 1, tmp, PAGE_SIZE); tmp 261 drivers/infiniband/hw/qib/qib_fs.c ret = simple_read_from_buffer(buf, count, ppos, tmp, ret); tmp 262 drivers/infiniband/hw/qib/qib_fs.c kfree(tmp); tmp 277 drivers/infiniband/hw/qib/qib_fs.c char *tmp; tmp 294 drivers/infiniband/hw/qib/qib_fs.c tmp = kmalloc(count, GFP_KERNEL); tmp 295 drivers/infiniband/hw/qib/qib_fs.c if (!tmp) { tmp 301 drivers/infiniband/hw/qib/qib_fs.c if (qib_eeprom_read(dd, pos, tmp, count)) { tmp 307 drivers/infiniband/hw/qib/qib_fs.c if (copy_to_user(buf, tmp, count)) { tmp 316 drivers/infiniband/hw/qib/qib_fs.c kfree(tmp); tmp 328 drivers/infiniband/hw/qib/qib_fs.c char *tmp; tmp 335 drivers/infiniband/hw/qib/qib_fs.c tmp = memdup_user(buf, count); tmp 336 drivers/infiniband/hw/qib/qib_fs.c if (IS_ERR(tmp)) tmp 337 drivers/infiniband/hw/qib/qib_fs.c return PTR_ERR(tmp); tmp 340 drivers/infiniband/hw/qib/qib_fs.c if (qib_eeprom_write(dd, pos, tmp, count)) { tmp 350 drivers/infiniband/hw/qib/qib_fs.c kfree(tmp); tmp 362 drivers/infiniband/hw/qib/qib_fs.c struct dentry *dir, *tmp; tmp 376 drivers/infiniband/hw/qib/qib_fs.c ret = create_file("counters", S_IFREG|S_IRUGO, dir, &tmp, tmp 383 drivers/infiniband/hw/qib/qib_fs.c ret = create_file("counter_names", S_IFREG|S_IRUGO, dir, &tmp, tmp 390 drivers/infiniband/hw/qib/qib_fs.c ret = create_file("portcounter_names", S_IFREG|S_IRUGO, dir, &tmp, tmp 402 drivers/infiniband/hw/qib/qib_fs.c ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, tmp 412 drivers/infiniband/hw/qib/qib_fs.c ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, tmp 421 drivers/infiniband/hw/qib/qib_fs.c ret = create_file("flash", S_IFREG|S_IWUSR|S_IRUGO, dir, &tmp, tmp 432 drivers/infiniband/hw/qib/qib_fs.c struct dentry *tmp; tmp 435 drivers/infiniband/hw/qib/qib_fs.c tmp = lookup_one_len(name, parent, strlen(name)); tmp 437 drivers/infiniband/hw/qib/qib_fs.c if (IS_ERR(tmp)) { tmp 438 drivers/infiniband/hw/qib/qib_fs.c ret = PTR_ERR(tmp); tmp 442 drivers/infiniband/hw/qib/qib_fs.c spin_lock(&tmp->d_lock); tmp 443 drivers/infiniband/hw/qib/qib_fs.c if (simple_positive(tmp)) { tmp 444 drivers/infiniband/hw/qib/qib_fs.c __d_drop(tmp); tmp 445 drivers/infiniband/hw/qib/qib_fs.c spin_unlock(&tmp->d_lock); tmp 446 drivers/infiniband/hw/qib/qib_fs.c simple_unlink(d_inode(parent), tmp); tmp 448 drivers/infiniband/hw/qib/qib_fs.c spin_unlock(&tmp->d_lock); tmp 450 drivers/infiniband/hw/qib/qib_fs.c dput(tmp); tmp 2413 drivers/infiniband/hw/qib/qib_iba7220.c u32 tmp = 0; tmp 2623 drivers/infiniband/hw/qib/qib_iba7220.c tmp = (ppd->cpspec->ibcddrctrl >> lsb) & maskr; tmp 2630 drivers/infiniband/hw/qib/qib_iba7220.c if (ppd->link_width_enabled-1 != tmp) { tmp 553 drivers/infiniband/hw/qib/qib_init.c __le64 tmp; tmp 555 drivers/infiniband/hw/qib/qib_init.c tmp = dd->pioavailregs_dma[i]; tmp 561 drivers/infiniband/hw/qib/qib_init.c dd->pioavailshadow[i] = le64_to_cpu(tmp); tmp 1295 drivers/infiniband/hw/qib/qib_init.c struct qib_ctxtdata **tmp; tmp 1359 drivers/infiniband/hw/qib/qib_init.c tmp = dd->rcd; tmp 1362 drivers/infiniband/hw/qib/qib_init.c for (ctxt = 0; tmp && ctxt < dd->ctxtcnt; ctxt++) { tmp 1363 drivers/infiniband/hw/qib/qib_init.c struct qib_ctxtdata *rcd = tmp[ctxt]; tmp 1365 drivers/infiniband/hw/qib/qib_init.c tmp[ctxt] = NULL; /* debugging paranoia */ tmp 1368 drivers/infiniband/hw/qib/qib_init.c kfree(tmp); tmp 480 drivers/infiniband/hw/usnic/usnic_ib_main.c struct usnic_ib_dev *us_ibdev, *tmp; tmp 486 drivers/infiniband/hw/usnic/usnic_ib_main.c list_for_each_entry_safe(us_ibdev, tmp, tmp 385 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c struct usnic_ib_qp_grp_flow *qp_flow, *tmp; tmp 386 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c list_for_each_entry_safe(qp_flow, tmp, &qp_grp->flows_lst, link) tmp 68 drivers/infiniband/hw/usnic/usnic_uiom.c struct usnic_uiom_chunk *chunk, *tmp; tmp 74 drivers/infiniband/hw/usnic/usnic_uiom.c list_for_each_entry_safe(chunk, tmp, chunk_list, list) { tmp 198 drivers/infiniband/hw/usnic/usnic_uiom.c struct usnic_uiom_interval_node *interval, *tmp; tmp 201 drivers/infiniband/hw/usnic/usnic_uiom.c list_for_each_entry_safe(interval, tmp, intervals, link) { tmp 220 drivers/infiniband/hw/usnic/usnic_uiom.c struct usnic_uiom_interval_node *interval, *tmp; tmp 233 drivers/infiniband/hw/usnic/usnic_uiom.c list_for_each_entry_safe(interval, tmp, &rm_intervals, link) { tmp 124 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c struct usnic_uiom_interval_node *interval, *tmp; tmp 136 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c MAKE_NODE_AND_APPEND(tmp, pivot, interval->start - 1, tmp 157 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c MAKE_NODE_AND_APPEND(tmp, pivot, last, 1, flags, err, err_out, tmp 163 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c list_for_each_entry_safe(interval, tmp, diff_set, link) { tmp 173 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c struct usnic_uiom_interval_node *interval, *tmp; tmp 174 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c list_for_each_entry_safe(interval, tmp, intervals, link) tmp 181 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c struct usnic_uiom_interval_node *interval, *tmp; tmp 203 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c MAKE_NODE_AND_APPEND(tmp, istart, lpivot - 1, iref_cnt, tmp 206 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c MAKE_NODE_AND_APPEND(tmp, lpivot, istart - 1, 1, flags, tmp 214 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c MAKE_NODE_AND_APPEND(tmp, lpivot, last, iref_cnt + 1, tmp 217 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c MAKE_NODE_AND_APPEND(tmp, last + 1, ilast, iref_cnt, tmp 220 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c MAKE_NODE_AND_APPEND(tmp, lpivot, ilast, iref_cnt + 1, tmp 229 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c MAKE_NODE_AND_APPEND(tmp, lpivot, last, 1, flags, err, err_out, tmp 232 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c list_for_each_entry_safe(interval, tmp, &intersection_set, link) { tmp 243 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c list_for_each_entry_safe(interval, tmp, &to_add, link) tmp 128 drivers/infiniband/sw/rdmavt/mcast.c struct rvt_mcast_qp *p, *tmp; tmp 130 drivers/infiniband/sw/rdmavt/mcast.c list_for_each_entry_safe(p, tmp, &mcast->qp_list, list) tmp 349 drivers/infiniband/sw/rdmavt/mcast.c struct rvt_mcast_qp *p, *tmp, *delp = NULL; tmp 385 drivers/infiniband/sw/rdmavt/mcast.c list_for_each_entry_safe(p, tmp, &mcast->qp_list, list) { tmp 126 drivers/infiniband/sw/rxe/rxe_mcast.c struct rxe_mc_elem *elem, *tmp; tmp 135 drivers/infiniband/sw/rxe/rxe_mcast.c list_for_each_entry_safe(elem, tmp, &grp->qp_list, qp_list) { tmp 488 drivers/infiniband/sw/rxe/rxe_req.c u8 *tmp = &wqe->dma.inline_data[wqe->dma.sge_offset]; tmp 490 drivers/infiniband/sw/rxe/rxe_req.c crc = rxe_crc32(rxe, crc, tmp, paylen); tmp 491 drivers/infiniband/sw/rxe/rxe_req.c memcpy(payload_addr(pkt), tmp, paylen); tmp 189 drivers/infiniband/sw/siw/siw_cm.c struct list_head *w, *tmp; tmp 192 drivers/infiniband/sw/siw/siw_cm.c list_for_each_safe(w, tmp, &cep->work_freelist) { tmp 1922 drivers/infiniband/sw/siw/siw_cm.c struct list_head *p, *tmp; tmp 1928 drivers/infiniband/sw/siw/siw_cm.c list_for_each_safe(p, tmp, (struct list_head *)id->provider_data) { tmp 442 drivers/infiniband/sw/siw/siw_main.c struct list_head *pos, *tmp; tmp 447 drivers/infiniband/sw/siw/siw_main.c list_for_each_safe(pos, tmp, &sdev->qp_list) { tmp 1224 drivers/infiniband/sw/siw/siw_qp_tx.c struct llist_node *tmp = active; tmp 1227 drivers/infiniband/sw/siw/siw_qp_tx.c tmp->next = fifo_list; tmp 1228 drivers/infiniband/sw/siw/siw_qp_tx.c fifo_list = tmp; tmp 2548 drivers/infiniband/ulp/ipoib/ipoib_main.c struct ipoib_dev_priv *priv, *tmp, *cpriv, *tcpriv; tmp 2554 drivers/infiniband/ulp/ipoib/ipoib_main.c list_for_each_entry_safe(priv, tmp, dev_list, list) { tmp 339 drivers/infiniband/ulp/iser/iser_verbs.c struct iser_fr_desc *desc, *tmp; tmp 347 drivers/infiniband/ulp/iser/iser_verbs.c list_for_each_entry_safe(desc, tmp, &fr_pool->all_list, all_list) { tmp 2601 drivers/infiniband/ulp/isert/ib_isert.c struct iscsi_cmd *cmd, *tmp; tmp 2605 drivers/infiniband/ulp/isert/ib_isert.c list_for_each_entry_safe(cmd, tmp, &conn->conn_cmd_list, i_conn_node) { tmp 2613 drivers/infiniband/ulp/isert/ib_isert.c list_for_each_entry_safe(cmd, tmp, &drop_cmd_list, i_conn_node) { tmp 106 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c struct hlist_node *tmp; tmp 112 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c vnic_hash_for_each_safe(mactbl, bkt, tmp, node, hlist) { tmp 280 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define vnic_hash_for_each_safe(name, bkt, tmp, obj, member) \ tmp 283 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h hlist_for_each_entry_safe(obj, tmp, &name[bkt], member) tmp 253 drivers/infiniband/ulp/srpt/ib_srpt.c u8 tmp; tmp 257 drivers/infiniband/ulp/srpt/ib_srpt.c tmp = c_list[id] & 0xf; tmp 258 drivers/infiniband/ulp/srpt/ib_srpt.c c_list[id] = (value << 4) | tmp; tmp 260 drivers/infiniband/ulp/srpt/ib_srpt.c tmp = c_list[id] & 0xf0; tmp 261 drivers/infiniband/ulp/srpt/ib_srpt.c c_list[id] = (value & 0xf) | tmp; tmp 1711 drivers/infiniband/ulp/srpt/ib_srpt.c struct srpt_recv_ioctx *recv_ioctx, *tmp; tmp 1720 drivers/infiniband/ulp/srpt/ib_srpt.c list_for_each_entry_safe(recv_ioctx, tmp, &ch->cmd_wait_list, tmp 3712 drivers/infiniband/ulp/srpt/ib_srpt.c unsigned long tmp; tmp 3715 drivers/infiniband/ulp/srpt/ib_srpt.c ret = kstrtoul(page, 0, &tmp); tmp 3721 drivers/infiniband/ulp/srpt/ib_srpt.c if ((tmp != 0) && (tmp != 1)) { tmp 3722 drivers/infiniband/ulp/srpt/ib_srpt.c pr_err("Illegal value for srpt_tpg_store_enable: %lu\n", tmp); tmp 3727 drivers/infiniband/ulp/srpt/ib_srpt.c srpt_set_enabled(sport, tmp); tmp 194 drivers/input/joystick/db9.c unsigned char tmp; tmp 243 drivers/input/joystick/db9.c tmp = db9_saturn_read_analog(port, type, powered); tmp 244 drivers/input/joystick/db9.c if (tmp == 0xff) { tmp 262 drivers/input/joystick/db9.c int tmp, i, j; tmp 264 drivers/input/joystick/db9.c tmp = (id == 0x41) ? 60 : 10; tmp 265 drivers/input/joystick/db9.c for (j = 0; j < tmp && n < max_pads; j += 10, n++) { tmp 329 drivers/input/joystick/db9.c int tmp, i; tmp 348 drivers/input/joystick/db9.c for (tmp = 0, i = 0; i < n; i++) { tmp 350 drivers/input/joystick/db9.c tmp = db9_saturn_report(id, data, devs, tmp, max_pads); tmp 1107 drivers/input/keyboard/applespi.c unsigned char tmp; tmp 1114 drivers/input/keyboard/applespi.c tmp = keyboard_protocol->fn_pressed; tmp 1116 drivers/input/keyboard/applespi.c if (tmp) tmp 91 drivers/input/keyboard/sh_keysc.c unsigned char keyin_set, tmp; tmp 111 drivers/input/keyboard/sh_keysc.c tmp = sh_keysc_read(priv, KYINDR); tmp 115 drivers/input/keyboard/sh_keysc.c if (tmp & (1 << k)) tmp 120 drivers/input/keyboard/sh_keysc.c keyin_set |= tmp ^ ((1 << keyin_nr) - 1); tmp 62 drivers/input/mouse/psmouse-smbus.c struct psmouse_smbus_dev *smbdev, *tmp; tmp 66 drivers/input/mouse/psmouse-smbus.c list_for_each_entry_safe(smbdev, tmp, &psmouse_smbus_list, node) { tmp 212 drivers/input/mouse/psmouse-smbus.c struct psmouse_smbus_dev *smbdev, *tmp; tmp 216 drivers/input/mouse/psmouse-smbus.c list_for_each_entry_safe(smbdev, tmp, &psmouse_smbus_list, node) { tmp 126 drivers/input/mousedev.c int size, tmp; tmp 140 drivers/input/mousedev.c tmp = ((value - fx(2)) * 256 * FRACTION_DENOM) / size; tmp 141 drivers/input/mousedev.c tmp += mousedev->frac_dx; tmp 142 drivers/input/mousedev.c mousedev->packet.dx = tmp / FRACTION_DENOM; tmp 144 drivers/input/mousedev.c tmp - mousedev->packet.dx * FRACTION_DENOM; tmp 157 drivers/input/mousedev.c tmp = -((value - fy(2)) * 256 * FRACTION_DENOM) / size; tmp 158 drivers/input/mousedev.c tmp += mousedev->frac_dy; tmp 159 drivers/input/mousedev.c mousedev->packet.dy = tmp / FRACTION_DENOM; tmp 160 drivers/input/mousedev.c mousedev->frac_dy = tmp - tmp 37 drivers/input/rmi4/rmi_driver.c struct rmi_function *fn, *tmp; tmp 43 drivers/input/rmi4/rmi_driver.c list_for_each_entry_safe_reverse(fn, tmp, tmp 60 drivers/input/rmi4/rmi_spi.c void *tmp; tmp 68 drivers/input/rmi4/rmi_spi.c tmp = rmi_spi->rx_buf; tmp 78 drivers/input/rmi4/rmi_spi.c if (tmp) tmp 79 drivers/input/rmi4/rmi_spi.c devm_kfree(&spi->dev, tmp); tmp 95 drivers/input/rmi4/rmi_spi.c tmp = rmi_spi->rx_xfers; tmp 106 drivers/input/rmi4/rmi_spi.c if (tmp) tmp 107 drivers/input/rmi4/rmi_spi.c devm_kfree(&spi->dev, tmp); tmp 106 drivers/input/serio/apbps2.c unsigned long tmp; tmp 114 drivers/input/serio/apbps2.c tmp = ioread32be(&priv->regs->data); tmp 762 drivers/input/serio/hil_mlc.c struct list_head *tmp; tmp 765 drivers/input/serio/hil_mlc.c list_for_each(tmp, &hil_mlcs) { tmp 766 drivers/input/serio/hil_mlc.c struct hil_mlc *mlc = list_entry(tmp, hil_mlc, list); tmp 962 drivers/input/serio/hil_mlc.c struct list_head *tmp; tmp 969 drivers/input/serio/hil_mlc.c list_for_each(tmp, &hil_mlcs) tmp 970 drivers/input/serio/hil_mlc.c if (list_entry(tmp, hil_mlc, list) == mlc) tmp 979 drivers/input/serio/hil_mlc.c list_del(tmp); tmp 314 drivers/input/serio/hp_sdc.c uint8_t tmp; tmp 325 drivers/input/serio/hp_sdc.c tmp = curr->seq[curr->actidx]; tmp 327 drivers/input/serio/hp_sdc.c if (tmp & HP_SDC_ACT_SEMAPHORE) tmp 331 drivers/input/serio/hp_sdc.c if (tmp & HP_SDC_ACT_CALLBACK) { tmp 104 drivers/input/serio/olpc_apsp.c unsigned int w, tmp; tmp 111 drivers/input/serio/olpc_apsp.c tmp = readl(priv->base + PJ_RST_INTERRUPT); tmp 112 drivers/input/serio/olpc_apsp.c if (!(tmp & SP_COMMAND_COMPLETE_RESET)) { tmp 128 drivers/input/serio/olpc_apsp.c writel(tmp | SP_COMMAND_COMPLETE_RESET, priv->base + PJ_RST_INTERRUPT); tmp 138 drivers/input/serio/olpc_apsp.c unsigned int tmp; tmp 149 drivers/input/serio/olpc_apsp.c tmp = readl(priv->base + PJ_INTERRUPT_MASK); tmp 150 drivers/input/serio/olpc_apsp.c writel(tmp & ~INT_0, priv->base + PJ_INTERRUPT_MASK); tmp 159 drivers/input/serio/olpc_apsp.c unsigned int tmp; tmp 163 drivers/input/serio/olpc_apsp.c tmp = readl(priv->base + PJ_INTERRUPT_MASK); tmp 164 drivers/input/serio/olpc_apsp.c writel(tmp | INT_0, priv->base + PJ_INTERRUPT_MASK); tmp 494 drivers/input/touchscreen/ad7879.c u32 tmp; tmp 496 drivers/input/touchscreen/ad7879.c err = device_property_read_u32(dev, "adi,resistance-plate-x", &tmp); tmp 501 drivers/input/touchscreen/ad7879.c ts->x_plate_ohms = (u16)tmp; tmp 80 drivers/input/touchscreen/lpc32xx_ts.c u32 tmp, rv[4], xs[4], ys[4]; tmp 85 drivers/input/touchscreen/lpc32xx_ts.c tmp = tsc_readl(tsc, LPC32XX_TSC_STAT); tmp 87 drivers/input/touchscreen/lpc32xx_ts.c if (tmp & LPC32XX_TSC_STAT_FIFO_OVRRN) { tmp 102 drivers/input/touchscreen/lpc32xx_ts.c tmp = tsc_readl(tsc, LPC32XX_TSC_FIFO); tmp 104 drivers/input/touchscreen/lpc32xx_ts.c LPC32XX_TSC_FIFO_NORMALIZE_X_VAL(tmp); tmp 106 drivers/input/touchscreen/lpc32xx_ts.c LPC32XX_TSC_FIFO_NORMALIZE_Y_VAL(tmp); tmp 107 drivers/input/touchscreen/lpc32xx_ts.c rv[idx] = tmp; tmp 138 drivers/input/touchscreen/lpc32xx_ts.c u32 tmp; tmp 145 drivers/input/touchscreen/lpc32xx_ts.c tmp = tsc_readl(tsc, LPC32XX_TSC_CON) & ~LPC32XX_TSC_ADCCON_POWER_UP; tmp 148 drivers/input/touchscreen/lpc32xx_ts.c tmp = LPC32XX_TSC_ADCCON_IRQ_TO_FIFO_4 | tmp 151 drivers/input/touchscreen/lpc32xx_ts.c tsc_writel(tsc, LPC32XX_TSC_CON, tmp); tmp 180 drivers/input/touchscreen/lpc32xx_ts.c tsc_writel(tsc, LPC32XX_TSC_CON, tmp | LPC32XX_TSC_ADCCON_AUTO_EN); tmp 266 drivers/input/touchscreen/usbtouchscreen.c int tmp = (pkt[0] << 8) | pkt[1]; tmp 270 drivers/input/touchscreen/usbtouchscreen.c tmp = tmp - 0xA000; tmp 271 drivers/input/touchscreen/usbtouchscreen.c dev->touch = (tmp > 0); tmp 272 drivers/input/touchscreen/usbtouchscreen.c dev->press = (tmp > 0 ? tmp : 0); tmp 1413 drivers/input/touchscreen/usbtouchscreen.c int pkt_len, pos, buf_len, tmp; tmp 1442 drivers/input/touchscreen/usbtouchscreen.c tmp = pkt_len - usbtouch->buf_len; tmp 1443 drivers/input/touchscreen/usbtouchscreen.c if (usbtouch->buf_len + tmp >= usbtouch->type->rept_size) tmp 1445 drivers/input/touchscreen/usbtouchscreen.c memcpy(usbtouch->buffer + usbtouch->buf_len, pkt, tmp); tmp 1448 drivers/input/touchscreen/usbtouchscreen.c buffer = pkt + tmp; tmp 1449 drivers/input/touchscreen/usbtouchscreen.c buf_len = len - tmp; tmp 286 drivers/input/touchscreen/wacom_w8001.c unsigned char tmp; tmp 299 drivers/input/touchscreen/wacom_w8001.c tmp = w8001->data[0] & W8001_TOUCH_BYTE; tmp 300 drivers/input/touchscreen/wacom_w8001.c if (tmp != W8001_TOUCH_BYTE) tmp 315 drivers/input/touchscreen/wacom_w8001.c tmp = w8001->data[0] & W8001_TAB_MASK; tmp 316 drivers/input/touchscreen/wacom_w8001.c if (unlikely(tmp == W8001_TAB_BYTE)) tmp 319 drivers/input/touchscreen/wacom_w8001.c tmp = w8001->data[0] & W8001_TOUCH_BYTE; tmp 320 drivers/input/touchscreen/wacom_w8001.c if (tmp == W8001_TOUCH_BYTE) tmp 330 drivers/input/touchscreen/wacom_w8001.c tmp = w8001->data[0] & W8001_TOUCH_MASK; tmp 331 drivers/input/touchscreen/wacom_w8001.c if (tmp == W8001_TOUCH_BYTE) tmp 154 drivers/interconnect/core.c struct icc_node *tmp = node->links[i]; tmp 156 drivers/interconnect/core.c if (!tmp) { tmp 161 drivers/interconnect/core.c if (tmp->is_traversed) tmp 164 drivers/interconnect/core.c tmp->is_traversed = true; tmp 165 drivers/interconnect/core.c tmp->reverse = node; tmp 166 drivers/interconnect/core.c list_add_tail(&tmp->search_list, &edge_list); tmp 417 drivers/interconnect/qcom/qcs404.c struct icc_node *node, *tmp; tmp 497 drivers/interconnect/qcom/qcs404.c list_for_each_entry_safe(node, tmp, &provider->nodes, node_list) { tmp 511 drivers/interconnect/qcom/qcs404.c struct icc_node *n, *tmp; tmp 513 drivers/interconnect/qcom/qcs404.c list_for_each_entry_safe(n, tmp, &provider->nodes, node_list) { tmp 871 drivers/interconnect/qcom/sdm845.c struct icc_node *n, *tmp; tmp 873 drivers/interconnect/qcom/sdm845.c list_for_each_entry_safe(n, tmp, &provider->nodes, node_list) { tmp 1981 drivers/iommu/amd_iommu.c u64 tmp; tmp 1987 drivers/iommu/amd_iommu.c tmp = DTE_GCR3_VAL_B(~0ULL) << DTE_GCR3_SHIFT_B; tmp 1988 drivers/iommu/amd_iommu.c flags &= ~tmp; tmp 1990 drivers/iommu/amd_iommu.c tmp = DTE_GCR3_VAL_C(~0ULL) << DTE_GCR3_SHIFT_C; tmp 1991 drivers/iommu/amd_iommu.c flags &= ~tmp; tmp 1994 drivers/iommu/amd_iommu.c tmp = DTE_GCR3_VAL_A(gcr3) << DTE_GCR3_SHIFT_A; tmp 1995 drivers/iommu/amd_iommu.c pte_root |= tmp; tmp 1997 drivers/iommu/amd_iommu.c tmp = DTE_GCR3_VAL_B(gcr3) << DTE_GCR3_SHIFT_B; tmp 1998 drivers/iommu/amd_iommu.c flags |= tmp; tmp 2000 drivers/iommu/amd_iommu.c tmp = DTE_GCR3_VAL_C(gcr3) << DTE_GCR3_SHIFT_C; tmp 2001 drivers/iommu/amd_iommu.c flags |= tmp; tmp 871 drivers/iommu/amd_iommu_init.c u64 tmp; tmp 935 drivers/iommu/amd_iommu_init.c tmp = DTE_GCR3_VAL_B(~0ULL) << DTE_GCR3_SHIFT_B; tmp 936 drivers/iommu/amd_iommu_init.c tmp |= DTE_GCR3_VAL_C(~0ULL) << DTE_GCR3_SHIFT_C; tmp 937 drivers/iommu/amd_iommu_init.c old_dev_tbl_cpy[devid].data[1] &= ~tmp; tmp 938 drivers/iommu/amd_iommu_init.c tmp = DTE_GCR3_VAL_A(~0ULL) << DTE_GCR3_SHIFT_A; tmp 939 drivers/iommu/amd_iommu_init.c tmp |= DTE_FLAG_GV; tmp 940 drivers/iommu/amd_iommu_init.c old_dev_tbl_cpy[devid].data[0] &= ~tmp; tmp 739 drivers/iommu/amd_iommu_v2.c int ret, tmp; tmp 761 drivers/iommu/amd_iommu_v2.c tmp = pasids; tmp 762 drivers/iommu/amd_iommu_v2.c for (dev_state->pasid_levels = 0; (tmp - 1) & ~0x1ff; tmp >>= 9) tmp 1230 drivers/iommu/arm-smmu.c u32 tmp; tmp 1247 drivers/iommu/arm-smmu.c if (readl_poll_timeout_atomic(reg, tmp, !(tmp & ATSR_ACTIVE), 5, 50)) { tmp 133 drivers/iommu/dma-iommu.c struct iommu_dma_msi_page *msi, *tmp; tmp 141 drivers/iommu/dma-iommu.c list_for_each_entry_safe(msi, tmp, &cookie->msi_page_list, list) { tmp 889 drivers/iommu/dma-iommu.c struct scatterlist *tmp; tmp 900 drivers/iommu/dma-iommu.c for_each_sg(sg_next(sg), tmp, nents - 1, i) { tmp 901 drivers/iommu/dma-iommu.c if (sg_dma_len(tmp) == 0) tmp 903 drivers/iommu/dma-iommu.c sg = tmp; tmp 127 drivers/iommu/dmar.c struct pci_dev *tmp; tmp 141 drivers/iommu/dmar.c for (tmp = dev; tmp; tmp = tmp->bus->self) tmp 163 drivers/iommu/dmar.c for (tmp = dev; tmp; tmp = tmp->bus->self) { tmp 165 drivers/iommu/dmar.c info->path[level].bus = tmp->bus->number; tmp 166 drivers/iommu/dmar.c info->path[level].device = PCI_SLOT(tmp->devfn); tmp 167 drivers/iommu/dmar.c info->path[level].function = PCI_FUNC(tmp->devfn); tmp 168 drivers/iommu/dmar.c if (pci_is_root_bus(tmp->bus)) tmp 169 drivers/iommu/dmar.c info->bus = tmp->bus->number; tmp 224 drivers/iommu/dmar.c struct device *tmp, *dev = &info->dev->dev; tmp 261 drivers/iommu/dmar.c for_each_dev_scope(devices, devices_cnt, i, tmp) tmp 262 drivers/iommu/dmar.c if (tmp == NULL) { tmp 279 drivers/iommu/dmar.c struct device *tmp; tmp 284 drivers/iommu/dmar.c for_each_active_dev_scope(devices, count, index, tmp) tmp 285 drivers/iommu/dmar.c if (tmp == &info->dev->dev) { tmp 288 drivers/iommu/dmar.c put_device(tmp); tmp 657 drivers/iommu/dmar.c struct device *tmp; tmp 660 drivers/iommu/dmar.c for_each_active_dev_scope(devices, cnt, index, tmp) tmp 661 drivers/iommu/dmar.c if (dev_is_pci(tmp) && dev == to_pci_dev(tmp)) tmp 706 drivers/iommu/dmar.c struct device *tmp; tmp 727 drivers/iommu/dmar.c for_each_dev_scope(dmaru->devices, dmaru->devices_cnt, i, tmp) tmp 728 drivers/iommu/dmar.c if (tmp == NULL) { tmp 2103 drivers/iommu/dmar.c acpi_handle tmp = NULL; tmp 2110 drivers/iommu/dmar.c tmp = handle; tmp 2115 drivers/iommu/dmar.c NULL, NULL, &tmp); tmp 2121 drivers/iommu/dmar.c if (tmp == NULL) tmp 2126 drivers/iommu/dmar.c ret = dmar_hotplug_insert(tmp); tmp 2128 drivers/iommu/dmar.c ret = dmar_hotplug_remove(tmp); tmp 333 drivers/iommu/fsl_pamu_domain.c struct device_domain_info *info, *tmp; tmp 338 drivers/iommu/fsl_pamu_domain.c list_for_each_entry_safe(info, tmp, &dma_domain->devices, link) { tmp 936 drivers/iommu/fsl_pamu_domain.c struct pci_dev *tmp; tmp 945 drivers/iommu/fsl_pamu_domain.c list_for_each_entry(tmp, &bus->devices, bus_list) { tmp 946 drivers/iommu/fsl_pamu_domain.c if (tmp == pdev) tmp 948 drivers/iommu/fsl_pamu_domain.c group = iommu_group_get(&tmp->dev); tmp 766 drivers/iommu/intel-iommu.c struct device *tmp; tmp 799 drivers/iommu/intel-iommu.c drhd->devices_cnt, i, tmp) { tmp 800 drivers/iommu/intel-iommu.c if (tmp == dev) { tmp 813 drivers/iommu/intel-iommu.c if (is_downstream_to_pci_bridge(dev, tmp)) tmp 1663 drivers/iommu/intel-iommu.c struct device_domain_info *info, *tmp; tmp 1670 drivers/iommu/intel-iommu.c list_for_each_entry_safe(info, tmp, &device_domain_list, global) { tmp 2246 drivers/iommu/intel-iommu.c uint64_t tmp; tmp 2290 drivers/iommu/intel-iommu.c tmp = cmpxchg64_local(&pte->val, 0ULL, pteval); tmp 2291 drivers/iommu/intel-iommu.c if (tmp) { tmp 2294 drivers/iommu/intel-iommu.c iov_pfn, tmp, (unsigned long long)pteval); tmp 2414 drivers/iommu/intel-iommu.c struct device_domain_info *info, *tmp; tmp 2418 drivers/iommu/intel-iommu.c list_for_each_entry_safe(info, tmp, &domain->devices, link) tmp 2636 drivers/iommu/intel-iommu.c struct dmar_domain *tmp; tmp 2653 drivers/iommu/intel-iommu.c tmp = dmar_insert_one_dev_info(iommu, PCI_BUS_NUM(dma_alias), tmp 2656 drivers/iommu/intel-iommu.c if (!tmp || tmp != domain) tmp 2657 drivers/iommu/intel-iommu.c return tmp; tmp 2661 drivers/iommu/intel-iommu.c tmp = dmar_insert_one_dev_info(iommu, bus, devfn, dev, domain); tmp 2662 drivers/iommu/intel-iommu.c if (!tmp || tmp != domain) tmp 2663 drivers/iommu/intel-iommu.c return tmp; tmp 2818 drivers/iommu/intel-iommu.c struct device *tmp; tmp 2828 drivers/iommu/intel-iommu.c rmrr->devices_cnt, i, tmp) tmp 2829 drivers/iommu/intel-iommu.c if (tmp == dev || tmp 2830 drivers/iommu/intel-iommu.c is_downstream_to_pci_bridge(dev, tmp)) { tmp 3403 drivers/iommu/intel-iommu.c struct dmar_domain *domain, *tmp; tmp 3434 drivers/iommu/intel-iommu.c tmp = set_domain_for_dev(dev, domain); tmp 3435 drivers/iommu/intel-iommu.c if (!tmp || domain != tmp) { tmp 3437 drivers/iommu/intel-iommu.c domain = tmp; tmp 4336 drivers/iommu/intel-iommu.c struct acpi_dmar_atsr *tmp; tmp 4340 drivers/iommu/intel-iommu.c tmp = (struct acpi_dmar_atsr *)atsru->hdr; tmp 4341 drivers/iommu/intel-iommu.c if (atsr->segment != tmp->segment) tmp 4343 drivers/iommu/intel-iommu.c if (atsr->header.length != tmp->header.length) tmp 4345 drivers/iommu/intel-iommu.c if (memcmp(atsr, tmp, atsr->header.length) == 0) tmp 4559 drivers/iommu/intel-iommu.c struct device *tmp; tmp 4584 drivers/iommu/intel-iommu.c for_each_dev_scope(atsru->devices, atsru->devices_cnt, i, tmp) tmp 4585 drivers/iommu/intel-iommu.c if (tmp == &bridge->dev) tmp 295 drivers/iommu/iommu.c struct iommu_resv_region *iter, *tmp, *nr, *top; tmp 312 drivers/iommu/iommu.c list_for_each_entry_safe(iter, tmp, regions, list) { tmp 1169 drivers/iommu/iommu.c struct pci_dev *tmp = NULL; tmp 1175 drivers/iommu/iommu.c for_each_pci_dev(tmp) { tmp 1176 drivers/iommu/iommu.c if (tmp == pdev || tmp->bus != pdev->bus || tmp 1177 drivers/iommu/iommu.c PCI_SLOT(tmp->devfn) != PCI_SLOT(pdev->devfn) || tmp 1178 drivers/iommu/iommu.c pci_acs_enabled(tmp, REQ_ACS_FLAGS)) tmp 1181 drivers/iommu/iommu.c group = get_pci_alias_group(tmp, devfns); tmp 1183 drivers/iommu/iommu.c pci_dev_put(tmp); tmp 1203 drivers/iommu/iommu.c struct pci_dev *tmp = NULL; tmp 1213 drivers/iommu/iommu.c for_each_pci_dev(tmp) { tmp 1214 drivers/iommu/iommu.c if (tmp == pdev || tmp->bus != pdev->bus) tmp 1218 drivers/iommu/iommu.c if (pci_devs_are_dma_aliases(pdev, tmp)) { tmp 1219 drivers/iommu/iommu.c group = get_pci_alias_group(tmp, devfns); tmp 1221 drivers/iommu/iommu.c pci_dev_put(tmp); tmp 1225 drivers/iommu/iommu.c group = get_pci_function_alias_group(tmp, devfns); tmp 1227 drivers/iommu/iommu.c pci_dev_put(tmp); tmp 595 drivers/iommu/iova.c struct iova *iova, *tmp; tmp 599 drivers/iommu/iova.c rbtree_postorder_for_each_entry_safe(iova, tmp, &iovad->rbroot, node) tmp 416 drivers/iommu/ipmmu-vmsa.c u32 tmp; tmp 429 drivers/iommu/ipmmu-vmsa.c tmp = IMTTBCR_SL0_TWOBIT_LVL_1; tmp 431 drivers/iommu/ipmmu-vmsa.c tmp = IMTTBCR_SL0_LVL_1; tmp 434 drivers/iommu/ipmmu-vmsa.c tmp |= IMTTBCR_SH0_INNER_SHAREABLE | IMTTBCR_ORGN0_WB_WA | tmp 437 drivers/iommu/ipmmu-vmsa.c ipmmu_ctx_write_root(domain, IMTTBCR, IMTTBCR_EAE | tmp); tmp 199 drivers/iommu/mtk_iommu.c u32 tmp; tmp 207 drivers/iommu/mtk_iommu.c tmp, tmp != 0, 10, 100000); tmp 139 drivers/iommu/mtk_iommu_v1.c u32 tmp; tmp 150 drivers/iommu/mtk_iommu_v1.c tmp, tmp != 0, 10, 100000); tmp 114 drivers/iommu/omap-iommu-debug.c struct cr_regs tmp; tmp 120 drivers/iommu/omap-iommu-debug.c for_each_iotlb_cr(obj, num, i, tmp) { tmp 121 drivers/iommu/omap-iommu-debug.c if (!iotlb_cr_valid(&tmp)) tmp 123 drivers/iommu/omap-iommu-debug.c *p++ = tmp; tmp 360 drivers/iommu/omap-iommu.c struct cr_regs tmp; tmp 362 drivers/iommu/omap-iommu.c for_each_iotlb_cr(obj, obj->nr_tlb_entries, i, tmp) tmp 363 drivers/iommu/omap-iommu.c if (!iotlb_cr_valid(&tmp)) tmp 916 drivers/iommu/omap-iommu.c struct cr_regs *tmp; tmp 925 drivers/iommu/omap-iommu.c tmp = obj->cr_ctx; tmp 927 drivers/iommu/omap-iommu.c * tmp++ = cr; tmp 933 drivers/iommu/omap-iommu.c struct cr_regs *tmp; tmp 941 drivers/iommu/omap-iommu.c tmp = obj->cr_ctx; tmp 942 drivers/iommu/omap-iommu.c for (i = 0; i < obj->num_cr_ctx; i++, tmp++) { tmp 945 drivers/iommu/omap-iommu.c iotlb_load_cr(obj, tmp); tmp 1180 drivers/iommu/omap-iommu.c struct orphan_dev *orphan_dev, *tmp; tmp 1263 drivers/iommu/omap-iommu.c list_for_each_entry_safe(orphan_dev, tmp, &orphan_dev_list, node) { tmp 1662 drivers/iommu/omap-iommu.c struct omap_iommu_arch_data *arch_data, *tmp; tmp 1694 drivers/iommu/omap-iommu.c for (i = 0, tmp = arch_data; i < num_iommus; i++, tmp++) { tmp 1731 drivers/iommu/omap-iommu.c tmp->iommu_dev = oiommu; tmp 1732 drivers/iommu/omap-iommu.c tmp->dev = &pdev->dev; tmp 143 drivers/iommu/s390-iommu.c struct s390_domain_device *domain_device, *tmp; tmp 151 drivers/iommu/s390-iommu.c list_for_each_entry_safe(domain_device, tmp, &s390_domain->devices, tmp 102 drivers/irqchip/irq-clps711x.c u32 tmp; tmp 104 drivers/irqchip/irq-clps711x.c tmp = readl_relaxed(intmr); tmp 105 drivers/irqchip/irq-clps711x.c tmp &= ~(1 << (hwirq % 16)); tmp 106 drivers/irqchip/irq-clps711x.c writel_relaxed(tmp, intmr); tmp 113 drivers/irqchip/irq-clps711x.c u32 tmp; tmp 115 drivers/irqchip/irq-clps711x.c tmp = readl_relaxed(intmr); tmp 116 drivers/irqchip/irq-clps711x.c tmp |= 1 << (hwirq % 16); tmp 117 drivers/irqchip/irq-clps711x.c writel_relaxed(tmp, intmr); tmp 61 drivers/irqchip/irq-csky-mpintc.c unsigned int tmp; tmp 66 drivers/irqchip/irq-csky-mpintc.c tmp = readl_relaxed(TRIG_BASE(irq)) & TRIG_VAL_MSK(irq); tmp 68 drivers/irqchip/irq-csky-mpintc.c writel_relaxed(tmp | TRIG_VAL(trigger, irq), TRIG_BASE(irq)); tmp 180 drivers/irqchip/irq-gic-v2m.c struct v2m_data *v2m = NULL, *tmp; tmp 184 drivers/irqchip/irq-gic-v2m.c list_for_each_entry(tmp, &v2m_nodes, entry) { tmp 185 drivers/irqchip/irq-gic-v2m.c offset = bitmap_find_free_region(tmp->bm, tmp->nr_spis, tmp 188 drivers/irqchip/irq-gic-v2m.c v2m = tmp; tmp 267 drivers/irqchip/irq-gic-v2m.c struct v2m_data *v2m, *tmp; tmp 269 drivers/irqchip/irq-gic-v2m.c list_for_each_entry_safe(v2m, tmp, &v2m_nodes, entry) { tmp 1495 drivers/irqchip/irq-gic-v3-its.c struct lpi_range *range, *tmp; tmp 1500 drivers/irqchip/irq-gic-v3-its.c list_for_each_entry_safe(range, tmp, &lpi_range_list, entry) { tmp 1761 drivers/irqchip/irq-gic-v3-its.c u64 baser_phys, tmp; tmp 1821 drivers/irqchip/irq-gic-v3-its.c tmp = baser->val; tmp 1823 drivers/irqchip/irq-gic-v3-its.c if ((val ^ tmp) & GITS_BASER_SHAREABILITY_MASK) { tmp 1831 drivers/irqchip/irq-gic-v3-its.c shr = tmp & GITS_BASER_SHAREABILITY_MASK; tmp 1839 drivers/irqchip/irq-gic-v3-its.c if ((val ^ tmp) & GITS_BASER_PAGE_SIZE_MASK) { tmp 1858 drivers/irqchip/irq-gic-v3-its.c if (val != tmp) { tmp 1861 drivers/irqchip/irq-gic-v3-its.c val, tmp); tmp 1869 drivers/irqchip/irq-gic-v3-its.c tmp = indirect ? GITS_LVL1_ENTRY_SIZE : esz; tmp 1872 drivers/irqchip/irq-gic-v3-its.c &its->phys_base, (int)(PAGE_ORDER_TO_SIZE(order) / (int)tmp), tmp 1885 drivers/irqchip/irq-gic-v3-its.c u64 tmp = its_read_baser(its, baser); tmp 1886 drivers/irqchip/irq-gic-v3-its.c u64 type = GITS_BASER_TYPE(tmp); tmp 1887 drivers/irqchip/irq-gic-v3-its.c u64 esz = GITS_BASER_ENTRY_SIZE(tmp); tmp 2117 drivers/irqchip/irq-gic-v3-its.c u64 val, tmp; tmp 2155 drivers/irqchip/irq-gic-v3-its.c tmp = gicr_read_propbaser(rbase + GICR_PROPBASER); tmp 2157 drivers/irqchip/irq-gic-v3-its.c if ((tmp ^ val) & GICR_PROPBASER_SHAREABILITY_MASK) { tmp 2158 drivers/irqchip/irq-gic-v3-its.c if (!(tmp & GICR_PROPBASER_SHAREABILITY_MASK)) { tmp 2179 drivers/irqchip/irq-gic-v3-its.c tmp = gicr_read_pendbaser(rbase + GICR_PENDBASER); tmp 2181 drivers/irqchip/irq-gic-v3-its.c if (!(tmp & GICR_PENDBASER_SHAREABILITY_MASK)) { tmp 2284 drivers/irqchip/irq-gic-v3-its.c struct its_device *its_dev = NULL, *tmp; tmp 2289 drivers/irqchip/irq-gic-v3-its.c list_for_each_entry(tmp, &its->its_device_list, entry) { tmp 2290 drivers/irqchip/irq-gic-v3-its.c if (tmp->device_id == dev_id) { tmp 2291 drivers/irqchip/irq-gic-v3-its.c its_dev = tmp; tmp 3575 drivers/irqchip/irq-gic-v3-its.c u64 baser, tmp, typer; tmp 3662 drivers/irqchip/irq-gic-v3-its.c tmp = gits_read_cbaser(its->base + GITS_CBASER); tmp 3664 drivers/irqchip/irq-gic-v3-its.c if ((tmp ^ baser) & GITS_CBASER_SHAREABILITY_MASK) { tmp 3665 drivers/irqchip/irq-gic-v3-its.c if (!(tmp & GITS_CBASER_SHAREABILITY_MASK)) { tmp 95 drivers/irqchip/irq-meson-gpio.c u32 tmp; tmp 97 drivers/irqchip/irq-meson-gpio.c tmp = readl_relaxed(ctl->base + reg); tmp 98 drivers/irqchip/irq-meson-gpio.c tmp &= ~mask; tmp 99 drivers/irqchip/irq-meson-gpio.c tmp |= val; tmp 100 drivers/irqchip/irq-meson-gpio.c writel_relaxed(tmp, ctl->base + reg); tmp 153 drivers/irqchip/irq-omap-intc.c unsigned long tmp; tmp 155 drivers/irqchip/irq-omap-intc.c tmp = intc_readl(INTC_REVISION) & 0xff; tmp 158 drivers/irqchip/irq-omap-intc.c omap_irq_base, tmp >> 4, tmp & 0xf, omap_nr_irqs); tmp 160 drivers/irqchip/irq-omap-intc.c tmp = intc_readl(INTC_SYSCONFIG); tmp 161 drivers/irqchip/irq-omap-intc.c tmp |= 1 << 1; /* soft reset */ tmp 162 drivers/irqchip/irq-omap-intc.c intc_writel(INTC_SYSCONFIG, tmp); tmp 133 drivers/irqchip/irq-renesas-intc-irqpin.c unsigned long tmp; tmp 137 drivers/irqchip/irq-renesas-intc-irqpin.c tmp = intc_irqpin_read(p, reg); tmp 138 drivers/irqchip/irq-renesas-intc-irqpin.c tmp &= ~(((1 << width) - 1) << shift); tmp 139 drivers/irqchip/irq-renesas-intc-irqpin.c tmp |= value << shift; tmp 140 drivers/irqchip/irq-renesas-intc-irqpin.c intc_irqpin_write(p, reg, tmp); tmp 79 drivers/irqchip/irq-renesas-irqc.c u32 tmp; tmp 86 drivers/irqchip/irq-renesas-irqc.c tmp = ioread32(p->iomem + IRQC_CONFIG(hw_irq)); tmp 87 drivers/irqchip/irq-renesas-irqc.c tmp &= ~0x3f; tmp 88 drivers/irqchip/irq-renesas-irqc.c tmp |= value; tmp 89 drivers/irqchip/irq-renesas-irqc.c iowrite32(tmp, p->iomem + IRQC_CONFIG(hw_irq)); tmp 58 drivers/irqchip/irq-renesas-rza1.c u16 tmp; tmp 60 drivers/irqchip/irq-renesas-rza1.c tmp = readw_relaxed(priv->base + IRQRR); tmp 61 drivers/irqchip/irq-renesas-rza1.c if (tmp & bit) tmp 72 drivers/irqchip/irq-renesas-rza1.c u16 sense, tmp; tmp 95 drivers/irqchip/irq-renesas-rza1.c tmp = readw_relaxed(priv->base + ICR1); tmp 96 drivers/irqchip/irq-renesas-rza1.c tmp &= ~ICR1_IRQS_MASK(hw_irq); tmp 97 drivers/irqchip/irq-renesas-rza1.c tmp |= ICR1_IRQS(hw_irq, sense); tmp 98 drivers/irqchip/irq-renesas-rza1.c writew_relaxed(tmp, priv->base + ICR1); tmp 35 drivers/irqchip/irq-uniphier-aidet.c u32 tmp; tmp 38 drivers/irqchip/irq-uniphier-aidet.c tmp = readl_relaxed(priv->reg_base + reg); tmp 39 drivers/irqchip/irq-uniphier-aidet.c tmp &= ~mask; tmp 40 drivers/irqchip/irq-uniphier-aidet.c tmp |= mask & val; tmp 41 drivers/irqchip/irq-uniphier-aidet.c writel_relaxed(tmp, priv->reg_base + reg); tmp 162 drivers/isdn/capi/capi.c struct ackqueue_entry *p, *tmp; tmp 165 drivers/isdn/capi/capi.c list_for_each_entry_safe(p, tmp, &mp->ackqueue, list) { tmp 180 drivers/isdn/capi/capi.c struct ackqueue_entry *p, *tmp; tmp 182 drivers/isdn/capi/capi.c list_for_each_entry_safe(p, tmp, &mp->ackqueue, list) { tmp 360 drivers/isdn/capi/capi.c struct capincci *np, *tmp; tmp 362 drivers/isdn/capi/capi.c list_for_each_entry_safe(np, tmp, &cdev->nccis, list) tmp 55 drivers/isdn/mISDN/dsp_hwec.c int tmp; tmp 71 drivers/isdn/mISDN/dsp_hwec.c if (sscanf(val, "%d", &tmp) == 1) tmp 72 drivers/isdn/mISDN/dsp_hwec.c deftaps = tmp; tmp 619 drivers/isdn/mISDN/layer2.c u_char tmp[MAX_L2HEADER_LEN]; tmp 622 drivers/isdn/mISDN/layer2.c i = sethdraddr(l2, tmp, cr); tmp 623 drivers/isdn/mISDN/layer2.c tmp[i++] = cmd; tmp 634 drivers/isdn/mISDN/layer2.c skb_put_data(skb, tmp, i); tmp 1103 drivers/isdn/mISDN/layer2.c u_char tmp[MAX_L2HEADER_LEN]; tmp 1106 drivers/isdn/mISDN/layer2.c i = sethdraddr(l2, tmp, cr); tmp 1108 drivers/isdn/mISDN/layer2.c tmp[i++] = typ; tmp 1109 drivers/isdn/mISDN/layer2.c tmp[i++] = (l2->vr << 1) | (pf ? 1 : 0); tmp 1111 drivers/isdn/mISDN/layer2.c tmp[i++] = (l2->vr << 5) | typ | (pf ? 0x10 : 0); tmp 1118 drivers/isdn/mISDN/layer2.c skb_put_data(skb, tmp, i); tmp 78 drivers/leds/leds-lp3944.c int tmp; tmp 80 drivers/leds/leds-lp3944.c tmp = i2c_smbus_read_byte_data(client, reg); tmp 81 drivers/leds/leds-lp3944.c if (tmp < 0) tmp 82 drivers/leds/leds-lp3944.c return tmp; tmp 84 drivers/leds/leds-lp3944.c *value = tmp; tmp 341 drivers/leds/leds-lp55xx-common.c u8 tmp; tmp 343 drivers/leds/leds-lp55xx-common.c ret = lp55xx_read(chip, reg, &tmp); tmp 347 drivers/leds/leds-lp55xx-common.c tmp &= ~mask; tmp 348 drivers/leds/leds-lp55xx-common.c tmp |= val & mask; tmp 350 drivers/leds/leds-lp55xx-common.c return lp55xx_write(chip, reg, tmp); tmp 70 drivers/leds/leds-lt3593.c const char *tmp; tmp 93 drivers/leds/leds-lt3593.c if (!fwnode_property_read_string(child, "default-state", &tmp)) { tmp 94 drivers/leds/leds-lt3593.c if (!strcmp(tmp, "on")) tmp 145 drivers/leds/leds-mc13783.c u32 tmp; tmp 147 drivers/leds/leds-mc13783.c if (of_property_read_u32(child, "reg", &tmp)) tmp 149 drivers/leds/leds-mc13783.c pdata->led[i].id = leds->devtype->led_min + tmp; tmp 452 drivers/leds/leds-netxbig.c u32 tmp; tmp 459 drivers/leds/leds-netxbig.c 3 * i + 1, &tmp); tmp 460 drivers/leds/leds-netxbig.c timers[i].delay_on = tmp; tmp 462 drivers/leds/leds-netxbig.c 3 * i + 2, &tmp); tmp 463 drivers/leds/leds-netxbig.c timers[i].delay_off = tmp; tmp 29 drivers/leds/trigger/ledtrig-gpio.c int tmp; tmp 31 drivers/leds/trigger/ledtrig-gpio.c tmp = gpio_get_value_cansleep(gpio_data->gpio); tmp 33 drivers/leds/trigger/ledtrig-gpio.c tmp = !tmp; tmp 35 drivers/leds/trigger/ledtrig-gpio.c if (tmp) { tmp 1217 drivers/lightnvm/core.c struct nvm_target *t, *tmp; tmp 1220 drivers/lightnvm/core.c list_for_each_entry_safe(t, tmp, &dev->targets, list) { tmp 49 drivers/macintosh/macio_asic.c struct device *tmp; tmp 53 drivers/macintosh/macio_asic.c tmp = get_device(&dev->ofdev.dev); tmp 54 drivers/macintosh/macio_asic.c if (tmp) tmp 55 drivers/macintosh/macio_asic.c return to_macio_device(tmp); tmp 97 drivers/macintosh/therm_adt746x.c u8 tmp[2]; tmp 100 drivers/macintosh/therm_adt746x.c tmp[0] = reg; tmp 101 drivers/macintosh/therm_adt746x.c tmp[1] = data; tmp 102 drivers/macintosh/therm_adt746x.c rc = i2c_master_send(th->clt, (const char *)tmp, 2); tmp 130 drivers/macintosh/therm_adt746x.c u8 tmp[2]; tmp 134 drivers/macintosh/therm_adt746x.c tmp[1] = read_reg(th, addr); tmp 135 drivers/macintosh/therm_adt746x.c tmp[0] = read_reg(th, addr + 1); tmp 137 drivers/macintosh/therm_adt746x.c res = tmp[1] + (tmp[0] << 8); tmp 122 drivers/macintosh/therm_windtunnel.c u8 tmp[3]; tmp 127 drivers/macintosh/therm_windtunnel.c tmp[0] = reg; tmp 128 drivers/macintosh/therm_windtunnel.c tmp[1] = (len == 1) ? data : (data >> 8); tmp 129 drivers/macintosh/therm_windtunnel.c tmp[2] = data; tmp 132 drivers/macintosh/therm_windtunnel.c if( i2c_master_send(cl, tmp, len) != len ) tmp 936 drivers/macintosh/via-pmu.c char tmp[33]; tmp 944 drivers/macintosh/via-pmu.c if (copy_from_user(tmp, buffer, count)) tmp 946 drivers/macintosh/via-pmu.c tmp[count] = 0; tmp 948 drivers/macintosh/via-pmu.c label = tmp; tmp 288 drivers/macintosh/windfarm_fcu_controls.c u16 tmp[4]; tmp 292 drivers/macintosh/windfarm_fcu_controls.c memcpy(&tmp, mpu->processor_part_num, 8); tmp 293 drivers/macintosh/windfarm_fcu_controls.c if (tmp[0] != 0xffff && tmp[1] != 0xffff) { tmp 294 drivers/macintosh/windfarm_fcu_controls.c pump_min = max(pump_min, tmp[0]); tmp 295 drivers/macintosh/windfarm_fcu_controls.c pump_max = min(pump_max, tmp[1]); tmp 297 drivers/macintosh/windfarm_fcu_controls.c if (tmp[2] != 0xffff && tmp[3] != 0xffff) { tmp 298 drivers/macintosh/windfarm_fcu_controls.c pump_min = max(pump_min, tmp[2]); tmp 299 drivers/macintosh/windfarm_fcu_controls.c pump_max = min(pump_max, tmp[3]); tmp 237 drivers/mailbox/mtk-cmdq-mailbox.c struct cmdq_task *task, *tmp, *curr_task = NULL; tmp 262 drivers/mailbox/mtk-cmdq-mailbox.c list_for_each_entry_safe(task, tmp, &thread->task_busy_list, tmp 710 drivers/mailbox/omap-mailbox.c u32 tmp[3]; tmp 745 drivers/mailbox/omap-mailbox.c ret = of_property_read_u32_array(child, "ti,mbox-tx", tmp, tmp 746 drivers/mailbox/omap-mailbox.c ARRAY_SIZE(tmp)); tmp 749 drivers/mailbox/omap-mailbox.c finfo->tx_id = tmp[0]; tmp 750 drivers/mailbox/omap-mailbox.c finfo->tx_irq = tmp[1]; tmp 751 drivers/mailbox/omap-mailbox.c finfo->tx_usr = tmp[2]; tmp 753 drivers/mailbox/omap-mailbox.c ret = of_property_read_u32_array(child, "ti,mbox-rx", tmp, tmp 754 drivers/mailbox/omap-mailbox.c ARRAY_SIZE(tmp)); tmp 757 drivers/mailbox/omap-mailbox.c finfo->rx_id = tmp[0]; tmp 758 drivers/mailbox/omap-mailbox.c finfo->rx_irq = tmp[1]; tmp 759 drivers/mailbox/omap-mailbox.c finfo->rx_usr = tmp[2]; tmp 1207 drivers/md/bcache/bset.c BKEY_PADDED(k) tmp; tmp 1218 drivers/md/bcache/bset.c k = b->ops->sort_fixup(iter, &tmp.k); tmp 193 drivers/md/bcache/bset.h struct bkey *tmp); tmp 267 drivers/md/bcache/extents.c struct bkey *tmp) tmp 297 drivers/md/bcache/extents.c bkey_copy(tmp, top->k); tmp 299 drivers/md/bcache/extents.c bch_cut_back(&START_KEY(i->k), tmp); tmp 303 drivers/md/bcache/extents.c return tmp; tmp 915 drivers/md/dm-bufio.c struct dm_buffer *b, *tmp; tmp 917 drivers/md/dm-bufio.c list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { tmp 1236 drivers/md/dm-bufio.c struct dm_buffer *b, *tmp; tmp 1247 drivers/md/dm-bufio.c list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { tmp 1556 drivers/md/dm-bufio.c struct dm_buffer *b, *tmp; tmp 1563 drivers/md/dm-bufio.c list_for_each_entry_safe_reverse(b, tmp, &c->lru[l], lru_list) { tmp 1792 drivers/md/dm-bufio.c struct dm_buffer *b, *tmp; tmp 1807 drivers/md/dm-bufio.c list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_CLEAN], lru_list) { tmp 1643 drivers/md/dm-cache-policy-smq.c unsigned long tmp; tmp 1645 drivers/md/dm-cache-policy-smq.c if (kstrtoul(value, 10, &tmp)) tmp 177 drivers/md/dm-cache-target.c struct work_struct *ws, *tmp; tmp 198 drivers/md/dm-cache-target.c list_for_each_entry_safe(ws, tmp, &work_items, entry) { tmp 2344 drivers/md/dm-cache-target.c unsigned long tmp; tmp 2347 drivers/md/dm-cache-target.c if (kstrtoul(value, 10, &tmp)) tmp 2350 drivers/md/dm-cache-target.c cache->migration_threshold = tmp; tmp 766 drivers/md/dm-clone-target.c struct dm_clone_region_hydration *tmp, *hd = context; tmp 783 drivers/md/dm-clone-target.c list_for_each_entry_safe(hd, tmp, &batched_hydrations, list) { tmp 2271 drivers/md/dm-crypt.c char *tmp, *cipher_api, buf[CRYPTO_MAX_ALG_NAME]; tmp 2280 drivers/md/dm-crypt.c tmp = &cipher_in[strlen("capi:")]; tmp 2283 drivers/md/dm-crypt.c *ivopts = strrchr(tmp, ':'); tmp 2289 drivers/md/dm-crypt.c *ivmode = strrchr(tmp, '-'); tmp 2295 drivers/md/dm-crypt.c cipher_api = tmp; tmp 2344 drivers/md/dm-crypt.c char *tmp, *cipher, *chainmode, *keycount; tmp 2358 drivers/md/dm-crypt.c tmp = cipher_in; tmp 2359 drivers/md/dm-crypt.c keycount = strsep(&tmp, "-"); tmp 2371 drivers/md/dm-crypt.c chainmode = strsep(&tmp, "-"); tmp 2372 drivers/md/dm-crypt.c *ivmode = strsep(&tmp, ":"); tmp 2373 drivers/md/dm-crypt.c *ivopts = tmp; tmp 282 drivers/md/dm-dust.c unsigned long long tmp; tmp 316 drivers/md/dm-dust.c if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1 || tmp != (sector_t)tmp) { tmp 335 drivers/md/dm-dust.c dd->start = tmp; tmp 379 drivers/md/dm-dust.c unsigned long long tmp, block; tmp 414 drivers/md/dm-dust.c if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1) tmp 417 drivers/md/dm-dust.c block = tmp; tmp 1276 drivers/md/dm-era-target.c struct rpc *rpc, *tmp; tmp 1283 drivers/md/dm-era-target.c list_for_each_entry_safe(rpc, tmp, &calls, list) { tmp 1291 drivers/md/dm-era-target.c list_for_each_entry_safe(rpc, tmp, &calls, list) tmp 1295 drivers/md/dm-era-target.c list_for_each_entry_safe(rpc, tmp, &calls, list) tmp 61 drivers/md/dm-init.c struct dm_device *dev, *tmp; tmp 64 drivers/md/dm-init.c list_for_each_entry_safe(dev, tmp, devices, list) { tmp 1458 drivers/md/dm-ioctl.c struct list_head *tmp; tmp 1468 drivers/md/dm-ioctl.c list_for_each (tmp, dm_table_get_devices(table)) tmp 32 drivers/md/dm-linear.c unsigned long long tmp; tmp 48 drivers/md/dm-linear.c if (sscanf(argv[1], "%llu%c", &tmp, &dummy) != 1 || tmp != (sector_t)tmp) { tmp 52 drivers/md/dm-linear.c lc->start = tmp; tmp 159 drivers/md/dm-mpath.c struct pgpath *pgpath, *tmp; tmp 161 drivers/md/dm-mpath.c list_for_each_entry_safe(pgpath, tmp, pgpaths, list) { tmp 233 drivers/md/dm-mpath.c struct priority_group *pg, *tmp; tmp 235 drivers/md/dm-mpath.c list_for_each_entry_safe(pg, tmp, &m->priority_groups, list) { tmp 39 drivers/md/dm-stats.c struct dm_stat_percpu tmp; tmp 181 drivers/md/dm-stats.c dm_kvfree(s->stat_shared[0].tmp.histogram, s->histogram_alloc_size); tmp 326 drivers/md/dm-stats.c s->stat_shared[ni].tmp.histogram = hi; tmp 431 drivers/md/dm-stats.c is_vmalloc_addr(s->stat_shared[0].tmp.histogram)) { tmp 680 drivers/md/dm-stats.c shared->tmp.sectors[READ] = 0; tmp 681 drivers/md/dm-stats.c shared->tmp.sectors[WRITE] = 0; tmp 682 drivers/md/dm-stats.c shared->tmp.ios[READ] = 0; tmp 683 drivers/md/dm-stats.c shared->tmp.ios[WRITE] = 0; tmp 684 drivers/md/dm-stats.c shared->tmp.merges[READ] = 0; tmp 685 drivers/md/dm-stats.c shared->tmp.merges[WRITE] = 0; tmp 686 drivers/md/dm-stats.c shared->tmp.ticks[READ] = 0; tmp 687 drivers/md/dm-stats.c shared->tmp.ticks[WRITE] = 0; tmp 688 drivers/md/dm-stats.c shared->tmp.io_ticks[READ] = 0; tmp 689 drivers/md/dm-stats.c shared->tmp.io_ticks[WRITE] = 0; tmp 690 drivers/md/dm-stats.c shared->tmp.io_ticks_total = 0; tmp 691 drivers/md/dm-stats.c shared->tmp.time_in_queue = 0; tmp 694 drivers/md/dm-stats.c memset(shared->tmp.histogram, 0, (s->n_histogram_entries + 1) * sizeof(unsigned long long)); tmp 698 drivers/md/dm-stats.c shared->tmp.sectors[READ] += READ_ONCE(p->sectors[READ]); tmp 699 drivers/md/dm-stats.c shared->tmp.sectors[WRITE] += READ_ONCE(p->sectors[WRITE]); tmp 700 drivers/md/dm-stats.c shared->tmp.ios[READ] += READ_ONCE(p->ios[READ]); tmp 701 drivers/md/dm-stats.c shared->tmp.ios[WRITE] += READ_ONCE(p->ios[WRITE]); tmp 702 drivers/md/dm-stats.c shared->tmp.merges[READ] += READ_ONCE(p->merges[READ]); tmp 703 drivers/md/dm-stats.c shared->tmp.merges[WRITE] += READ_ONCE(p->merges[WRITE]); tmp 704 drivers/md/dm-stats.c shared->tmp.ticks[READ] += READ_ONCE(p->ticks[READ]); tmp 705 drivers/md/dm-stats.c shared->tmp.ticks[WRITE] += READ_ONCE(p->ticks[WRITE]); tmp 706 drivers/md/dm-stats.c shared->tmp.io_ticks[READ] += READ_ONCE(p->io_ticks[READ]); tmp 707 drivers/md/dm-stats.c shared->tmp.io_ticks[WRITE] += READ_ONCE(p->io_ticks[WRITE]); tmp 708 drivers/md/dm-stats.c shared->tmp.io_ticks_total += READ_ONCE(p->io_ticks_total); tmp 709 drivers/md/dm-stats.c shared->tmp.time_in_queue += READ_ONCE(p->time_in_queue); tmp 713 drivers/md/dm-stats.c shared->tmp.histogram[i] += READ_ONCE(p->histogram[i]); tmp 731 drivers/md/dm-stats.c p->sectors[READ] -= shared->tmp.sectors[READ]; tmp 732 drivers/md/dm-stats.c p->sectors[WRITE] -= shared->tmp.sectors[WRITE]; tmp 733 drivers/md/dm-stats.c p->ios[READ] -= shared->tmp.ios[READ]; tmp 734 drivers/md/dm-stats.c p->ios[WRITE] -= shared->tmp.ios[WRITE]; tmp 735 drivers/md/dm-stats.c p->merges[READ] -= shared->tmp.merges[READ]; tmp 736 drivers/md/dm-stats.c p->merges[WRITE] -= shared->tmp.merges[WRITE]; tmp 737 drivers/md/dm-stats.c p->ticks[READ] -= shared->tmp.ticks[READ]; tmp 738 drivers/md/dm-stats.c p->ticks[WRITE] -= shared->tmp.ticks[WRITE]; tmp 739 drivers/md/dm-stats.c p->io_ticks[READ] -= shared->tmp.io_ticks[READ]; tmp 740 drivers/md/dm-stats.c p->io_ticks[WRITE] -= shared->tmp.io_ticks[WRITE]; tmp 741 drivers/md/dm-stats.c p->io_ticks_total -= shared->tmp.io_ticks_total; tmp 742 drivers/md/dm-stats.c p->time_in_queue -= shared->tmp.time_in_queue; tmp 749 drivers/md/dm-stats.c p->histogram[i] -= shared->tmp.histogram[i]; tmp 845 drivers/md/dm-stats.c shared->tmp.ios[READ], tmp 846 drivers/md/dm-stats.c shared->tmp.merges[READ], tmp 847 drivers/md/dm-stats.c shared->tmp.sectors[READ], tmp 848 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.ticks[READ]), tmp 849 drivers/md/dm-stats.c shared->tmp.ios[WRITE], tmp 850 drivers/md/dm-stats.c shared->tmp.merges[WRITE], tmp 851 drivers/md/dm-stats.c shared->tmp.sectors[WRITE], tmp 852 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.ticks[WRITE]), tmp 854 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.io_ticks_total), tmp 855 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.time_in_queue), tmp 856 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.io_ticks[READ]), tmp 857 drivers/md/dm-stats.c dm_jiffies_to_msec64(s, shared->tmp.io_ticks[WRITE])); tmp 861 drivers/md/dm-stats.c DMEMIT("%s%llu", !i ? " " : ":", shared->tmp.histogram[i]); tmp 219 drivers/md/dm-table.c struct list_head *tmp, *next; tmp 221 drivers/md/dm-table.c list_for_each_safe(tmp, next, devices) { tmp 223 drivers/md/dm-table.c list_entry(tmp, struct dm_dev_internal, list); tmp 791 drivers/md/dm-thin-metadata.c struct dm_thin_device *td, *tmp; tmp 795 drivers/md/dm-thin-metadata.c list_for_each_entry_safe(td, tmp, &pmd->thin_devices, list) { tmp 937 drivers/md/dm-thin-metadata.c struct dm_thin_device *td, *tmp; tmp 940 drivers/md/dm-thin-metadata.c list_for_each_entry_safe(td, tmp, &pmd->thin_devices, list) { tmp 1801 drivers/md/dm-thin-metadata.c struct dm_thin_device *td, *tmp; tmp 1804 drivers/md/dm-thin-metadata.c list_for_each_entry_safe(td, tmp, &pmd->thin_devices, list) { tmp 553 drivers/md/dm-thin.c struct pool *pool = NULL, *tmp; tmp 557 drivers/md/dm-thin.c list_for_each_entry(tmp, &dm_thin_pool_table.pools, list) { tmp 558 drivers/md/dm-thin.c if (tmp->pool_md == md) { tmp 559 drivers/md/dm-thin.c pool = tmp; tmp 569 drivers/md/dm-thin.c struct pool *pool = NULL, *tmp; tmp 573 drivers/md/dm-thin.c list_for_each_entry(tmp, &dm_thin_pool_table.pools, list) { tmp 574 drivers/md/dm-thin.c if (tmp->md_dev == md_dev) { tmp 575 drivers/md/dm-thin.c pool = tmp; tmp 630 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, *tmp; tmp 638 drivers/md/dm-thin.c list_for_each_entry_safe(cell, tmp, &cells, user_list) tmp 1233 drivers/md/dm-thin.c struct dm_thin_new_mapping *m, *tmp; tmp 1240 drivers/md/dm-thin.c list_for_each_entry_safe(m, tmp, &maps, list) tmp 2251 drivers/md/dm-thin.c struct dm_bio_prison_cell *cell, *tmp; tmp 2253 drivers/md/dm-thin.c list_for_each_entry_safe(cell, tmp, cells, user_list) { tmp 4348 drivers/md/dm-thin.c struct dm_thin_new_mapping *m, *tmp; tmp 4356 drivers/md/dm-thin.c list_for_each_entry_safe(m, tmp, &work, list) { tmp 4368 drivers/md/dm-thin.c list_for_each_entry_safe(m, tmp, &work, list) tmp 847 drivers/md/dm.c struct list_head *tmp, *next; tmp 849 drivers/md/dm.c list_for_each_safe(tmp, next, devices) { tmp 850 drivers/md/dm.c struct table_device *td = list_entry(tmp, struct table_device, list); tmp 214 drivers/md/md-multipath.c struct multipath_info *tmp; tmp 226 drivers/md/md-multipath.c tmp = conf->multipaths + i; tmp 227 drivers/md/md-multipath.c if (tmp->rdev) tmp 229 drivers/md/md-multipath.c i,!test_bit(Faulty, &tmp->rdev->flags), tmp 230 drivers/md/md-multipath.c bdevname(tmp->rdev->bdev,b)); tmp 3286 drivers/md/md.c struct list_head *tmp; tmp 3289 drivers/md/md.c for_each_mddev(mddev, tmp) { tmp 3635 drivers/md/md.c struct md_rdev *rdev, *freshest, *tmp; tmp 3639 drivers/md/md.c rdev_for_each_safe(rdev, tmp, mddev) tmp 3663 drivers/md/md.c rdev_for_each_safe(rdev, tmp, mddev) { tmp 6271 drivers/md/md.c struct md_rdev *rdev0, *rdev, *tmp; tmp 6285 drivers/md/md.c rdev_for_each_list(rdev, tmp, &pending_raid_disks) tmp 6327 drivers/md/md.c rdev_for_each_list(rdev, tmp, &candidates) { tmp 6338 drivers/md/md.c rdev_for_each_list(rdev, tmp, &candidates) { tmp 7941 drivers/md/md.c struct list_head *tmp; tmp 7952 drivers/md/md.c list_for_each(tmp,&all_mddevs) tmp 7954 drivers/md/md.c mddev = list_entry(tmp, struct mddev, all_mddevs); tmp 7967 drivers/md/md.c struct list_head *tmp; tmp 7976 drivers/md/md.c tmp = all_mddevs.next; tmp 7978 drivers/md/md.c tmp = mddev->all_mddevs.next; tmp 7979 drivers/md/md.c if (tmp != &all_mddevs) tmp 7980 drivers/md/md.c next_mddev = mddev_get(list_entry(tmp,struct mddev,all_mddevs)); tmp 8411 drivers/md/md.c struct list_head *tmp; tmp 8481 drivers/md/md.c for_each_mddev(mddev2, tmp) { tmp 9277 drivers/md/md.c struct list_head *tmp; tmp 9281 drivers/md/md.c for_each_mddev(mddev, tmp) { tmp 9601 drivers/md/md.c struct list_head *tmp; tmp 9624 drivers/md/md.c for_each_mddev(mddev, tmp) { tmp 650 drivers/md/md.h #define rdev_for_each_list(rdev, tmp, head) \ tmp 651 drivers/md/md.h list_for_each_entry_safe(rdev, tmp, head, same_set) tmp 659 drivers/md/md.h #define rdev_for_each_safe(rdev, tmp, mddev) \ tmp 660 drivers/md/md.h list_for_each_entry_safe(rdev, tmp, &((mddev)->disks), same_set) tmp 150 drivers/md/persistent-data/dm-block-manager.c struct waiter *w, *tmp; tmp 153 drivers/md/persistent-data/dm-block-manager.c list_for_each_entry_safe(w, tmp, &lock->waiters, list) { tmp 142 drivers/md/persistent-data/dm-transaction-manager.c struct hlist_node *tmp; tmp 149 drivers/md/persistent-data/dm-transaction-manager.c hlist_for_each_entry_safe(si, tmp, bucket, hlist) tmp 2535 drivers/md/raid1.c LIST_HEAD(tmp); tmp 2538 drivers/md/raid1.c list_splice_init(&conf->bio_end_io_list, &tmp); tmp 2540 drivers/md/raid1.c while (!list_empty(&tmp)) { tmp 2541 drivers/md/raid1.c r1_bio = list_first_entry(&tmp, struct r1bio, tmp 1710 drivers/md/raid10.c struct raid10_info *tmp; tmp 1719 drivers/md/raid10.c tmp = conf->mirrors + i; tmp 1720 drivers/md/raid10.c if (tmp->replacement tmp 1721 drivers/md/raid10.c && tmp->replacement->recovery_offset == MaxSector tmp 1722 drivers/md/raid10.c && !test_bit(Faulty, &tmp->replacement->flags) tmp 1723 drivers/md/raid10.c && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { tmp 1725 drivers/md/raid10.c if (!tmp->rdev tmp 1726 drivers/md/raid10.c || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) tmp 1728 drivers/md/raid10.c if (tmp->rdev) { tmp 1733 drivers/md/raid10.c set_bit(Faulty, &tmp->rdev->flags); tmp 1735 drivers/md/raid10.c tmp->rdev->sysfs_state); tmp 1737 drivers/md/raid10.c sysfs_notify_dirent_safe(tmp->replacement->sysfs_state); tmp 1738 drivers/md/raid10.c } else if (tmp->rdev tmp 1739 drivers/md/raid10.c && tmp->rdev->recovery_offset == MaxSector tmp 1740 drivers/md/raid10.c && !test_bit(Faulty, &tmp->rdev->flags) tmp 1741 drivers/md/raid10.c && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { tmp 1743 drivers/md/raid10.c sysfs_notify_dirent_safe(tmp->rdev->sysfs_state); tmp 2724 drivers/md/raid10.c LIST_HEAD(tmp); tmp 2728 drivers/md/raid10.c list_move(conf->bio_end_io_list.prev, &tmp); tmp 2733 drivers/md/raid10.c while (!list_empty(&tmp)) { tmp 2734 drivers/md/raid10.c r10_bio = list_first_entry(&tmp, struct r10bio, tmp 1084 drivers/md/raid5-ppl.c struct page *page, *page2, *tmp; tmp 1159 drivers/md/raid5-ppl.c tmp = page; tmp 1161 drivers/md/raid5-ppl.c page2 = tmp; tmp 871 drivers/md/raid5.c static void dispatch_bio_list(struct bio_list *tmp) tmp 875 drivers/md/raid5.c while ((bio = bio_list_pop(tmp))) tmp 939 drivers/md/raid5.c struct bio_list tmp = BIO_EMPTY_LIST; tmp 945 drivers/md/raid5.c dispatch_defer_bios(conf, conf->pending_data_cnt, &tmp); tmp 949 drivers/md/raid5.c dispatch_bio_list(&tmp); tmp 955 drivers/md/raid5.c struct bio_list tmp = BIO_EMPTY_LIST; tmp 967 drivers/md/raid5.c dispatch_defer_bios(conf, PENDING_IO_ONE_FLUSH, &tmp); tmp 971 drivers/md/raid5.c dispatch_bio_list(&tmp); tmp 4575 drivers/md/raid5.c struct stripe_head *tmp; tmp 4593 drivers/md/raid5.c list_for_each_entry(tmp, &sh->batch_list, batch_list) tmp 4594 drivers/md/raid5.c clear_bit(STRIPE_BATCH_READY, &tmp->state); tmp 5327 drivers/md/raid5.c struct stripe_head *sh, *tmp; tmp 5382 drivers/md/raid5.c list_for_each_entry(tmp, &conf->hold_list, lru) { tmp 5385 drivers/md/raid5.c !cpu_online(tmp->cpu) || tmp 5386 drivers/md/raid5.c cpu_to_group(tmp->cpu) == group) { tmp 5387 drivers/md/raid5.c sh = tmp; tmp 7531 drivers/md/raid5.c struct disk_info *tmp; tmp 7544 drivers/md/raid5.c tmp = conf->disks + i; tmp 7545 drivers/md/raid5.c if (tmp->rdev) tmp 7547 drivers/md/raid5.c i, !test_bit(Faulty, &tmp->rdev->flags), tmp 7548 drivers/md/raid5.c bdevname(tmp->rdev->bdev, b)); tmp 7556 drivers/md/raid5.c struct disk_info *tmp; tmp 7561 drivers/md/raid5.c tmp = conf->disks + i; tmp 7562 drivers/md/raid5.c if (tmp->replacement tmp 7563 drivers/md/raid5.c && tmp->replacement->recovery_offset == MaxSector tmp 7564 drivers/md/raid5.c && !test_bit(Faulty, &tmp->replacement->flags) tmp 7565 drivers/md/raid5.c && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { tmp 7567 drivers/md/raid5.c if (!tmp->rdev tmp 7568 drivers/md/raid5.c || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) tmp 7570 drivers/md/raid5.c if (tmp->rdev) { tmp 7575 drivers/md/raid5.c set_bit(Faulty, &tmp->rdev->flags); tmp 7577 drivers/md/raid5.c tmp->rdev->sysfs_state); tmp 7579 drivers/md/raid5.c sysfs_notify_dirent_safe(tmp->replacement->sysfs_state); tmp 7580 drivers/md/raid5.c } else if (tmp->rdev tmp 7581 drivers/md/raid5.c && tmp->rdev->recovery_offset == MaxSector tmp 7582 drivers/md/raid5.c && !test_bit(Faulty, &tmp->rdev->flags) tmp 7583 drivers/md/raid5.c && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { tmp 7585 drivers/md/raid5.c sysfs_notify_dirent_safe(tmp->rdev->sysfs_state); tmp 64 drivers/media/common/b2c2/flexcop-eeprom.c u8 tmp[8]; tmp 67 drivers/media/common/b2c2/flexcop-eeprom.c tmp[0] = mac[0]; tmp 68 drivers/media/common/b2c2/flexcop-eeprom.c tmp[1] = mac[1]; tmp 69 drivers/media/common/b2c2/flexcop-eeprom.c tmp[2] = mac[2]; tmp 70 drivers/media/common/b2c2/flexcop-eeprom.c tmp[3] = mac[5]; tmp 71 drivers/media/common/b2c2/flexcop-eeprom.c tmp[4] = mac[6]; tmp 72 drivers/media/common/b2c2/flexcop-eeprom.c tmp[5] = mac[7]; tmp 74 drivers/media/common/b2c2/flexcop-eeprom.c tmp[0] = mac[0]; tmp 75 drivers/media/common/b2c2/flexcop-eeprom.c tmp[1] = mac[1]; tmp 76 drivers/media/common/b2c2/flexcop-eeprom.c tmp[2] = mac[2]; tmp 77 drivers/media/common/b2c2/flexcop-eeprom.c tmp[3] = mac[3]; tmp 78 drivers/media/common/b2c2/flexcop-eeprom.c tmp[4] = mac[4]; tmp 79 drivers/media/common/b2c2/flexcop-eeprom.c tmp[5] = mac[5]; tmp 82 drivers/media/common/b2c2/flexcop-eeprom.c tmp[6] = 0; tmp 83 drivers/media/common/b2c2/flexcop-eeprom.c tmp[7] = calc_lrc(tmp, 7); tmp 85 drivers/media/common/b2c2/flexcop-eeprom.c if (eeprom_write(adapter, 0x3f8, tmp, 8) == 8) tmp 224 drivers/media/common/b2c2/flexcop-sram.c u32 tmp; tmp 225 drivers/media/common/b2c2/flexcop-sram.c tmp = read_reg_dw(adapter, 0x71c); tmp 229 drivers/media/common/b2c2/flexcop-sram.c write_reg_dw(adapter, 0x71c, tmp); tmp 230 drivers/media/common/b2c2/flexcop-sram.c adapter->dw_sram_type = tmp & 0x30000; tmp 323 drivers/media/common/b2c2/flexcop-sram.c write_reg_dw(adapter, 0x208, tmp); tmp 331 drivers/media/common/b2c2/flexcop-sram.c write_reg_dw(adapter, 0x208, tmp); tmp 339 drivers/media/common/b2c2/flexcop-sram.c write_reg_dw(adapter, 0x208, tmp); tmp 347 drivers/media/common/b2c2/flexcop-sram.c write_reg_dw(adapter, 0x208, tmp); tmp 354 drivers/media/common/b2c2/flexcop-sram.c write_reg_dw(adapter, 0x208, tmp); tmp 234 drivers/media/common/siano/smsdvb-main.c u64 tmp; tmp 263 drivers/media/common/siano/smsdvb-main.c tmp = p->ets_packets * 65535ULL; tmp 265 drivers/media/common/siano/smsdvb-main.c do_div(tmp, p->ts_packets + p->ets_packets); tmp 266 drivers/media/common/siano/smsdvb-main.c client->legacy_per = tmp; tmp 597 drivers/media/dvb-core/dmxdev.c struct dmxdev_feed *feed, *tmp; tmp 600 drivers/media/dvb-core/dmxdev.c list_for_each_entry_safe(feed, tmp, &dmxdevfilter->feed.ts, next) { tmp 902 drivers/media/dvb-core/dmxdev.c struct dmxdev_feed *feed, *tmp; tmp 908 drivers/media/dvb-core/dmxdev.c list_for_each_entry_safe(feed, tmp, &filter->feed.ts, next) { tmp 385 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp; tmp 461 drivers/media/dvb-core/dvb_frontend.c tmp = *c; tmp 464 drivers/media/dvb-core/dvb_frontend.c *c = tmp; tmp 482 drivers/media/dvb-core/dvb_frontend.c struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp; tmp 494 drivers/media/dvb-core/dvb_frontend.c tmp = *c; tmp 497 drivers/media/dvb-core/dvb_frontend.c *c = tmp; tmp 361 drivers/media/dvb-frontends/af9033.c u8 tmp, buf[3], bandwidth_reg_val; tmp 467 drivers/media/dvb-frontends/af9033.c tmp = 0x00; /* VHF */ tmp 469 drivers/media/dvb-frontends/af9033.c tmp = 0x01; /* UHF */ tmp 471 drivers/media/dvb-frontends/af9033.c ret = regmap_write(dev->regmap, 0x80004b, tmp); tmp 616 drivers/media/dvb-frontends/af9033.c int ret, tmp = 0; tmp 662 drivers/media/dvb-frontends/af9033.c tmp = -utmp * 1000; tmp 667 drivers/media/dvb-frontends/af9033.c tmp = (utmp - 100) * 1000; tmp 672 drivers/media/dvb-frontends/af9033.c c->strength.stat[0].svalue = tmp; tmp 873 drivers/media/dvb-frontends/af9033.c int ret, tmp, power_real; tmp 905 drivers/media/dvb-frontends/af9033.c tmp = 0; tmp 907 drivers/media/dvb-frontends/af9033.c tmp = (2 * (power_real + 15)) / 3; tmp 909 drivers/media/dvb-frontends/af9033.c tmp = 4 * power_real + 10; tmp 911 drivers/media/dvb-frontends/af9033.c tmp = (2 * (power_real - 20)) / 3 + 90; tmp 913 drivers/media/dvb-frontends/af9033.c tmp = 100; tmp 916 drivers/media/dvb-frontends/af9033.c *strength = tmp * 0xffff / 100; tmp 149 drivers/media/dvb-frontends/ascot2e.c u8 tmp = val; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 151 drivers/media/dvb-frontends/ascot2e.c return ascot2e_write_regs(priv, reg, &tmp, 1); tmp 765 drivers/media/dvb-frontends/au8522_dig.c u32 tmp; tmp 776 drivers/media/dvb-frontends/au8522_dig.c tmp = (snr * ((1 << 24) / 10)); tmp 780 drivers/media/dvb-frontends/au8522_dig.c if (tmp >= 8960 * 0x10000) tmp 783 drivers/media/dvb-frontends/au8522_dig.c *signal_strength = tmp / 8960; tmp 231 drivers/media/dvb-frontends/cx24110.c u32 tmp, fclk, BDRI; tmp 247 drivers/media/dvb-frontends/cx24110.c tmp=cx24110_readreg(state,0x07)&0xfc; tmp 249 drivers/media/dvb-frontends/cx24110.c cx24110_writereg(state,0x07,tmp); tmp 253 drivers/media/dvb-frontends/cx24110.c cx24110_writereg(state,0x07,tmp|0x1); tmp 257 drivers/media/dvb-frontends/cx24110.c cx24110_writereg(state,0x07,tmp|0x2); tmp 261 drivers/media/dvb-frontends/cx24110.c cx24110_writereg(state,0x07,tmp|0x3); tmp 274 drivers/media/dvb-frontends/cx24110.c tmp=srate<<6; tmp 276 drivers/media/dvb-frontends/cx24110.c ratio=(tmp/BDRI); tmp 278 drivers/media/dvb-frontends/cx24110.c tmp=(tmp%BDRI)<<8; tmp 279 drivers/media/dvb-frontends/cx24110.c ratio=(ratio<<8)+(tmp/BDRI); tmp 281 drivers/media/dvb-frontends/cx24110.c tmp=(tmp%BDRI)<<8; tmp 282 drivers/media/dvb-frontends/cx24110.c ratio=(ratio<<8)+(tmp/BDRI); tmp 284 drivers/media/dvb-frontends/cx24110.c tmp=(tmp%BDRI)<<1; tmp 285 drivers/media/dvb-frontends/cx24110.c ratio=(ratio<<1)+(tmp/BDRI); tmp 837 drivers/media/dvb-frontends/cx24120.c u64 tmp; tmp 843 drivers/media/dvb-frontends/cx24120.c tmp = (u64)c->symbol_rate * rate; tmp 844 drivers/media/dvb-frontends/cx24120.c do_div(tmp, 256); tmp 845 drivers/media/dvb-frontends/cx24120.c state->bitrate = tmp; tmp 848 drivers/media/dvb-frontends/cx24120.c tmp = 1000000ULL * CX24120_BER_WSIZE; tmp 849 drivers/media/dvb-frontends/cx24120.c do_div(tmp, state->bitrate); tmp 850 drivers/media/dvb-frontends/cx24120.c state->berw_usecs = tmp; tmp 443 drivers/media/dvb-frontends/cx24123.c u64 tmp; tmp 476 drivers/media/dvb-frontends/cx24123.c tmp = ((u64)srate) << 23; tmp 477 drivers/media/dvb-frontends/cx24123.c do_div(tmp, sample_rate); tmp 478 drivers/media/dvb-frontends/cx24123.c ratio = (u32) tmp; tmp 488 drivers/media/dvb-frontends/cx24123.c tmp = cx24123_readreg(state, 0x0c) & ~0xe0; tmp 489 drivers/media/dvb-frontends/cx24123.c cx24123_writereg(state, 0x0c, tmp | sample_gain << 5); tmp 252 drivers/media/dvb-frontends/cxd2841er.c u8 tmp = val; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 254 drivers/media/dvb-frontends/cxd2841er.c return cxd2841er_write_regs(priv, addr, reg, &tmp, 1); tmp 313 drivers/media/dvb-frontends/cxd2841er.c u64 tmp; tmp 315 drivers/media/dvb-frontends/cxd2841er.c tmp = (u64) ifhz * 16777216; tmp 316 drivers/media/dvb-frontends/cxd2841er.c do_div(tmp, ((xtal == SONY_XTAL_24000) ? 48000000 : 41000000)); tmp 318 drivers/media/dvb-frontends/cxd2841er.c return (u32) tmp; tmp 2035 drivers/media/dvb-frontends/cxd2841er.c u32 tmp = 0; tmp 2045 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_read_snr_c(priv, &tmp); tmp 2048 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_read_snr_t(priv, &tmp); tmp 2051 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_read_snr_t2(priv, &tmp); tmp 2054 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_read_snr_i(priv, &tmp); tmp 2058 drivers/media/dvb-frontends/cxd2841er.c ret = cxd2841er_dvbs_read_snr(priv, p->delivery_system, &tmp); tmp 2068 drivers/media/dvb-frontends/cxd2841er.c __func__, (int32_t)tmp); tmp 2072 drivers/media/dvb-frontends/cxd2841er.c p->cnr.stat[0].svalue = tmp; tmp 140 drivers/media/dvb-frontends/dib0070.c u16 tmp = dib0070_read_reg(state, 0x02) & 0x3fff; tmp 143 drivers/media/dvb-frontends/dib0070.c tmp |= (0 << 14); tmp 145 drivers/media/dvb-frontends/dib0070.c tmp |= (1 << 14); tmp 147 drivers/media/dvb-frontends/dib0070.c tmp |= (2 << 14); tmp 149 drivers/media/dvb-frontends/dib0070.c tmp |= (3 << 14); tmp 151 drivers/media/dvb-frontends/dib0070.c dib0070_write_reg(state, 0x02, tmp); tmp 158 drivers/media/dvb-frontends/dib0070.c tmp = dib0070_read_reg(state, 0x01) & 0x01ff; tmp 159 drivers/media/dvb-frontends/dib0070.c dib0070_write_reg(state, 0x01, tmp | (60 << 9)); tmp 462 drivers/media/dvb-frontends/dib0070.c const struct dib0070_wbd_gain_cfg *tmp = state->cfg->wbd_gain; tmp 463 drivers/media/dvb-frontends/dib0070.c if (tmp != NULL) { tmp 464 drivers/media/dvb-frontends/dib0070.c while (freq/1000 > tmp->freq) /* find the right one */ tmp 465 drivers/media/dvb-frontends/dib0070.c tmp++; tmp 468 drivers/media/dvb-frontends/dib0070.c | (tmp->wbd_gain_val << 9) | (0 << 8) | (1 << 7) tmp 470 drivers/media/dvb-frontends/dib0070.c state->wbd_gain_current = tmp->wbd_gain_val; tmp 619 drivers/media/dvb-frontends/dib0070.c const struct dib0070_wbd_gain_cfg *tmp = state->cfg->wbd_gain; tmp 622 drivers/media/dvb-frontends/dib0070.c if (tmp != NULL) { tmp 623 drivers/media/dvb-frontends/dib0070.c while (freq/1000 > tmp->freq) /* find the right one */ tmp 624 drivers/media/dvb-frontends/dib0070.c tmp++; tmp 625 drivers/media/dvb-frontends/dib0070.c state->wbd_gain_current = tmp->wbd_gain_val; tmp 1820 drivers/media/dvb-frontends/dib0090.c u16 tmp; tmp 1823 drivers/media/dvb-frontends/dib0090.c tmp = (3 << 14); tmp 1825 drivers/media/dvb-frontends/dib0090.c tmp = (2 << 14); tmp 1827 drivers/media/dvb-frontends/dib0090.c tmp = (1 << 14); tmp 1829 drivers/media/dvb-frontends/dib0090.c tmp = (0 << 14); tmp 1832 drivers/media/dvb-frontends/dib0090.c state->bb_1_def |= tmp; tmp 2236 drivers/media/dvb-frontends/dib0090.c u16 lo5, lo6, Den, tmp; tmp 2271 drivers/media/dvb-frontends/dib0090.c tmp = dib0090_read_reg(state, 0x39); tmp 2272 drivers/media/dvb-frontends/dib0090.c if ((tmp >> 10) & 0x1) tmp 2273 drivers/media/dvb-frontends/dib0090.c dib0090_write_reg(state, 0x39, tmp & ~(1 << 10)); tmp 2314 drivers/media/dvb-frontends/dib0090.c tmp = (state->identity.version >> 5) & 0x7; tmp 2336 drivers/media/dvb-frontends/dib0090.c if (tmp == 0x4 || tmp == 0x7) { tmp 843 drivers/media/dvb-frontends/dib3000mc.c u16 tmp = dib3000mc_read_word(state, 206) & ~(1 << 4); tmp 844 drivers/media/dvb-frontends/dib3000mc.c tmp |= (onoff << 4); tmp 845 drivers/media/dvb-frontends/dib3000mc.c return dib3000mc_write_word(state, 206, tmp); tmp 722 drivers/media/dvb-frontends/dib7000p.c u16 tmp = 0; tmp 723 drivers/media/dvb-frontends/dib7000p.c tmp = dib7000p_read_word(state, 903); tmp 724 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 903, (tmp | 0x1)); tmp 725 drivers/media/dvb-frontends/dib7000p.c tmp = dib7000p_read_word(state, 900); tmp 726 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 900, (tmp & 0x7fff) | (1 << 6)); tmp 1281 drivers/media/dvb-frontends/dib7000p.c u16 tmp = 0; tmp 1294 drivers/media/dvb-frontends/dib7000p.c tmp = (0 << 14) | (4 << 10) | (0 << 9) | (3 << 5) | (1 << 4) | (0x3); tmp 1297 drivers/media/dvb-frontends/dib7000p.c tmp |= (1 << 9); tmp 1302 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 29, tmp); tmp 1311 drivers/media/dvb-frontends/dib7000p.c tmp = (6 << 8) | 0x80; tmp 1314 drivers/media/dvb-frontends/dib7000p.c tmp |= (2 << 12); tmp 1317 drivers/media/dvb-frontends/dib7000p.c tmp |= (3 << 12); tmp 1321 drivers/media/dvb-frontends/dib7000p.c tmp |= (4 << 12); tmp 1324 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 26, tmp); /* timf_a(6xxx) */ tmp 1327 drivers/media/dvb-frontends/dib7000p.c tmp = (0 << 4); tmp 1330 drivers/media/dvb-frontends/dib7000p.c tmp |= 0x6; tmp 1333 drivers/media/dvb-frontends/dib7000p.c tmp |= 0x7; tmp 1337 drivers/media/dvb-frontends/dib7000p.c tmp |= 0x8; tmp 1340 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 32, tmp); tmp 1343 drivers/media/dvb-frontends/dib7000p.c tmp = (0 << 4); tmp 1346 drivers/media/dvb-frontends/dib7000p.c tmp |= 0x6; tmp 1349 drivers/media/dvb-frontends/dib7000p.c tmp |= 0x7; tmp 1353 drivers/media/dvb-frontends/dib7000p.c tmp |= 0x8; tmp 1356 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 33, tmp); tmp 1358 drivers/media/dvb-frontends/dib7000p.c tmp = dib7000p_read_word(state, 509); tmp 1359 drivers/media/dvb-frontends/dib7000p.c if (!((tmp >> 6) & 0x1)) { tmp 1361 drivers/media/dvb-frontends/dib7000p.c tmp = dib7000p_read_word(state, 771); tmp 1362 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 771, tmp | (1 << 1)); tmp 1363 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 771, tmp); tmp 1365 drivers/media/dvb-frontends/dib7000p.c tmp = dib7000p_read_word(state, 509); tmp 1368 drivers/media/dvb-frontends/dib7000p.c if ((tmp >> 6) & 0x1) { tmp 1371 drivers/media/dvb-frontends/dib7000p.c tmp = dib7000p_read_word(state, 26); tmp 1372 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 26, (tmp & ~(0xf << 12)) | ((((tmp >> 12) & 0xf) + 5) << 12)); tmp 1800 drivers/media/dvb-frontends/dib7000p.c u32 tmp, denom; tmp 1890 drivers/media/dvb-frontends/dib7000p.c tmp = 1008 * 96 * interleaving; tmp 1891 drivers/media/dvb-frontends/dib7000p.c time_us += tmp + tmp / guard; tmp 469 drivers/media/dvb-frontends/dib8000.c u16 tmp, sync_wait = dib8000_read_word(state, 273) & 0xfff0; tmp 497 drivers/media/dvb-frontends/dib8000.c tmp = dib8000_read_word(state, 903); tmp 498 drivers/media/dvb-frontends/dib8000.c dib8000_write_word(state, 903, tmp & ~(1 << 3)); tmp 500 drivers/media/dvb-frontends/dib8000.c dib8000_write_word(state, 903, tmp | (1 << 3)); tmp 2346 drivers/media/dvb-frontends/dib8000.c u16 tmcc_pow = 0, ana_gain = 0, tmp = 0, i = 0, nbseg_diff = 0 ; tmp 2361 drivers/media/dvb-frontends/dib8000.c tmp = dib8000_read_word(state, 1); tmp 2362 drivers/media/dvb-frontends/dib8000.c dib8000_write_word(state, 1, (tmp&0xfffc) | (c->guard_interval & 0x3)); tmp 2665 drivers/media/dvb-frontends/dib8000.c u16 tmp; tmp 2667 drivers/media/dvb-frontends/dib8000.c tmp = dib8000_read_word(state, 771); tmp 2669 drivers/media/dvb-frontends/dib8000.c dib8000_write_word(state, 771, tmp & 0xfffd); tmp 2671 drivers/media/dvb-frontends/dib8000.c dib8000_write_word(state, 771, tmp | (1<<1)); tmp 3989 drivers/media/dvb-frontends/dib8000.c u32 tmp, denom; tmp 4091 drivers/media/dvb-frontends/dib8000.c tmp = 1008 * 96 * interleaving; tmp 4092 drivers/media/dvb-frontends/dib8000.c time_us += tmp + tmp / guard; tmp 530 drivers/media/dvb-frontends/dib9000.c u16 tmp; tmp 542 drivers/media/dvb-frontends/dib9000.c tmp = MAX_MAILBOX_TRY; tmp 545 drivers/media/dvb-frontends/dib9000.c if ((size + len + 1) > MBX_MAX_WORDS && --tmp) { tmp 554 drivers/media/dvb-frontends/dib9000.c if (tmp == 0) { tmp 565 drivers/media/dvb-frontends/dib9000.c tmp = data[i]; tmp 566 drivers/media/dvb-frontends/dib9000.c *d++ = tmp >> 8; tmp 567 drivers/media/dvb-frontends/dib9000.c *d++ = tmp & 0xff; tmp 593 drivers/media/dvb-frontends/dib9000.c u16 tmp, i; tmp 621 drivers/media/dvb-frontends/dib9000.c tmp = *data; tmp 622 drivers/media/dvb-frontends/dib9000.c *data = (tmp >> 8) | (tmp << 8); tmp 538 drivers/media/dvb-frontends/ds3000.c u32 dvbs2_signal_reading, dvbs2_noise_reading, tmp; tmp 582 drivers/media/dvb-frontends/ds3000.c tmp = dvbs2_signal_reading * dvbs2_signal_reading >> 1; tmp 583 drivers/media/dvb-frontends/ds3000.c if (tmp == 0) { tmp 594 drivers/media/dvb-frontends/ds3000.c if (tmp > dvbs2_noise_reading) { tmp 595 drivers/media/dvb-frontends/ds3000.c snr_reading = tmp / dvbs2_noise_reading; tmp 603 drivers/media/dvb-frontends/ds3000.c snr_reading = dvbs2_noise_reading / tmp; tmp 868 drivers/media/dvb-frontends/ds3000.c s32 tmp; tmp 870 drivers/media/dvb-frontends/ds3000.c tmp = carrier_offset_khz; tmp 871 drivers/media/dvb-frontends/ds3000.c tmp *= 65536; tmp 872 drivers/media/dvb-frontends/ds3000.c tmp = (2 * tmp + DS3000_SAMPLE_RATE) / (2 * DS3000_SAMPLE_RATE); tmp 874 drivers/media/dvb-frontends/ds3000.c if (tmp < 0) tmp 875 drivers/media/dvb-frontends/ds3000.c tmp += 65536; tmp 877 drivers/media/dvb-frontends/ds3000.c ds3000_writereg(state, 0x5f, tmp >> 8); tmp 878 drivers/media/dvb-frontends/ds3000.c ds3000_writereg(state, 0x5e, tmp & 0xff); tmp 80 drivers/media/dvb-frontends/ec100.c u8 tmp, tmp2; tmp 109 drivers/media/dvb-frontends/ec100.c tmp = 0xb7; tmp 113 drivers/media/dvb-frontends/ec100.c tmp = 0x00; tmp 118 drivers/media/dvb-frontends/ec100.c tmp = 0x49; tmp 122 drivers/media/dvb-frontends/ec100.c ret = ec100_write_reg(state, 0x1b, tmp); tmp 167 drivers/media/dvb-frontends/ec100.c u8 tmp; tmp 170 drivers/media/dvb-frontends/ec100.c ret = ec100_read_reg(state, 0x42, &tmp); tmp 174 drivers/media/dvb-frontends/ec100.c if (tmp & 0x80) { tmp 179 drivers/media/dvb-frontends/ec100.c ret = ec100_read_reg(state, 0x01, &tmp); tmp 183 drivers/media/dvb-frontends/ec100.c if (tmp & 0x10) { tmp 186 drivers/media/dvb-frontends/ec100.c if (!(tmp & 0x01)) { tmp 203 drivers/media/dvb-frontends/ec100.c u8 tmp, tmp2; tmp 208 drivers/media/dvb-frontends/ec100.c ret = ec100_read_reg(state, 0x65, &tmp); tmp 215 drivers/media/dvb-frontends/ec100.c ber2 = (tmp2 << 8) | tmp; tmp 235 drivers/media/dvb-frontends/ec100.c u8 tmp; tmp 237 drivers/media/dvb-frontends/ec100.c ret = ec100_read_reg(state, 0x24, &tmp); tmp 243 drivers/media/dvb-frontends/ec100.c *strength = ((tmp << 8) | tmp); tmp 276 drivers/media/dvb-frontends/ec100.c u8 tmp; tmp 288 drivers/media/dvb-frontends/ec100.c ret = ec100_read_reg(state, 0x33, &tmp); tmp 289 drivers/media/dvb-frontends/ec100.c if (ret || tmp != 0x0b) tmp 325 drivers/media/dvb-frontends/helene.c u8 tmp = val; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 327 drivers/media/dvb-frontends/helene.c return helene_write_regs(priv, reg, &tmp, 1); tmp 83 drivers/media/dvb-frontends/horus3a.c u8 tmp = val; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 85 drivers/media/dvb-frontends/horus3a.c return horus3a_write_regs(priv, reg, &tmp, 1); tmp 88 drivers/media/dvb-frontends/itd1000.c u8 tmp = v; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 89 drivers/media/dvb-frontends/itd1000.c int ret = itd1000_write_regs(state, r, &tmp, 1); tmp 90 drivers/media/dvb-frontends/itd1000.c state->shadow[r] = tmp; tmp 217 drivers/media/dvb-frontends/itd1000.c u64 tmp; tmp 222 drivers/media/dvb-frontends/itd1000.c tmp = plln % 1000000; tmp 225 drivers/media/dvb-frontends/itd1000.c tmp *= 1048576; tmp 226 drivers/media/dvb-frontends/itd1000.c do_div(tmp, 1000000); tmp 227 drivers/media/dvb-frontends/itd1000.c pllf = (u32) tmp; tmp 238 drivers/media/dvb-frontends/l64781.c int tmp; tmp 241 drivers/media/dvb-frontends/l64781.c tmp = l64781_readreg(state, 0x04); tmp 242 drivers/media/dvb-frontends/l64781.c switch(tmp & 3) { tmp 256 drivers/media/dvb-frontends/l64781.c switch((tmp >> 2) & 3) { tmp 267 drivers/media/dvb-frontends/l64781.c tmp = l64781_readreg(state, 0x05); tmp 268 drivers/media/dvb-frontends/l64781.c switch(tmp & 7) { tmp 287 drivers/media/dvb-frontends/l64781.c switch((tmp >> 3) & 7) { tmp 307 drivers/media/dvb-frontends/l64781.c tmp = l64781_readreg(state, 0x06); tmp 308 drivers/media/dvb-frontends/l64781.c switch(tmp & 3) { tmp 321 drivers/media/dvb-frontends/l64781.c switch((tmp >> 2) & 7) { tmp 339 drivers/media/dvb-frontends/l64781.c tmp = l64781_readreg (state, 0x1d); tmp 340 drivers/media/dvb-frontends/l64781.c p->inversion = (tmp & 0x80) ? INVERSION_ON : INVERSION_OFF; tmp 342 drivers/media/dvb-frontends/l64781.c tmp = (int) (l64781_readreg (state, 0x08) | tmp 345 drivers/media/dvb-frontends/l64781.c p->frequency += tmp; tmp 1720 drivers/media/dvb-frontends/lgdt3306a.c u32 tmp; tmp 1726 drivers/media/dvb-frontends/lgdt3306a.c tmp = read_reg(state, 0x00fc); /* NBERVALUE[24-31] */ tmp 1727 drivers/media/dvb-frontends/lgdt3306a.c tmp = (tmp << 8) | read_reg(state, 0x00fd); /* NBERVALUE[16-23] */ tmp 1728 drivers/media/dvb-frontends/lgdt3306a.c tmp = (tmp << 8) | read_reg(state, 0x00fe); /* NBERVALUE[8-15] */ tmp 1729 drivers/media/dvb-frontends/lgdt3306a.c tmp = (tmp << 8) | read_reg(state, 0x00ff); /* NBERVALUE[0-7] */ tmp 1730 drivers/media/dvb-frontends/lgdt3306a.c *ber = tmp; tmp 1731 drivers/media/dvb-frontends/lgdt3306a.c dbg_info("ber=%u\n", tmp); tmp 17 drivers/media/dvb-frontends/m88ds3103.c u8 tmp; tmp 21 drivers/media/dvb-frontends/m88ds3103.c ret = regmap_bulk_read(dev->regmap, reg, &tmp, 1); tmp 26 drivers/media/dvb-frontends/m88ds3103.c tmp &= ~mask; tmp 27 drivers/media/dvb-frontends/m88ds3103.c val |= tmp; tmp 73 drivers/media/dvb-frontends/m88ds3103.c unsigned tmp; tmp 76 drivers/media/dvb-frontends/m88ds3103.c ret = regmap_read(dev->regmap, 0x3f, &tmp); tmp 78 drivers/media/dvb-frontends/m88ds3103.c *_agc_pwm = tmp; tmp 123 drivers/media/dvb-frontends/m88rs2000.c s32 tmp; tmp 131 drivers/media/dvb-frontends/m88rs2000.c tmp = (offset * 4096 + (s32)mclk / 2) / (s32)mclk; tmp 132 drivers/media/dvb-frontends/m88rs2000.c if (tmp < 0) tmp 133 drivers/media/dvb-frontends/m88rs2000.c tmp += 4096; tmp 136 drivers/media/dvb-frontends/m88rs2000.c ret = m88rs2000_writereg(state, 0x9c, (u8)(tmp >> 4)); tmp 140 drivers/media/dvb-frontends/m88rs2000.c reg |= (u8)(tmp & 0xf) << 4; tmp 519 drivers/media/dvb-frontends/m88rs2000.c u8 tmp; tmp 523 drivers/media/dvb-frontends/m88rs2000.c tmp = m88rs2000_readreg(state, 0xd8); tmp 524 drivers/media/dvb-frontends/m88rs2000.c m88rs2000_writereg(state, 0xd8, tmp & ~0x20); tmp 526 drivers/media/dvb-frontends/m88rs2000.c m88rs2000_writereg(state, 0xd8, tmp | 0x20); tmp 527 drivers/media/dvb-frontends/m88rs2000.c m88rs2000_writereg(state, 0xd8, tmp | 0x20); tmp 136 drivers/media/dvb-frontends/mb86a16.c int tmp ; tmp 141 drivers/media/dvb-frontends/mb86a16.c tmp = (8192 * state->master_clk - 2 * m * rate * 8192 + state->master_clk / 2) / state->master_clk; tmp 143 drivers/media/dvb-frontends/mb86a16.c STOFS0 = tmp & 0x0ff; tmp 144 drivers/media/dvb-frontends/mb86a16.c STOFS1 = (tmp & 0xf00) >> 8; tmp 265 drivers/media/dvb-frontends/mn88443x.c u64 tmp; tmp 318 drivers/media/dvb-frontends/mn88443x.c tmp = (s64)2 * intlog10(x) - intlog10(abs(d)) - d_3 tmp 320 drivers/media/dvb-frontends/mn88443x.c cnr = div_u64(tmp * 10000, 1 << 24); tmp 467 drivers/media/dvb-frontends/mn88443x.c u64 tmp; tmp 506 drivers/media/dvb-frontends/mn88443x.c tmp = (u64)80807124 - intlog10((tmpu << 8) | tmpl) tmp 508 drivers/media/dvb-frontends/mn88443x.c cnr = div_u64(tmp * 10000, 1 << 24); tmp 132 drivers/media/dvb-frontends/mt312.c u8 tmp = val; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 135 drivers/media/dvb-frontends/mt312.c return mt312_write(state, reg, &tmp, 1); tmp 385 drivers/media/dvb-frontends/mxl5xx.c u32 x, g, tmp = gold; tmp 387 drivers/media/dvb-frontends/mxl5xx.c if (tmp >= 0x3ffff) tmp 388 drivers/media/dvb-frontends/mxl5xx.c tmp = 0; tmp 389 drivers/media/dvb-frontends/mxl5xx.c for (g = 0, x = 1; g < tmp; g++) tmp 643 drivers/media/dvb-frontends/rtl2832.c u32 uninitialized_var(tmp); tmp 653 drivers/media/dvb-frontends/rtl2832.c ret = rtl2832_rd_demod_reg(dev, DVBT_FSM_STAGE, &tmp); tmp 657 drivers/media/dvb-frontends/rtl2832.c if (tmp == 11) { tmp 660 drivers/media/dvb-frontends/rtl2832.c } else if (tmp == 10) { tmp 714 drivers/media/dvb-frontends/rtl2832.c tmp = (constant[constellation][hierarchy] - tmp 717 drivers/media/dvb-frontends/rtl2832.c tmp = 0; tmp 722 drivers/media/dvb-frontends/rtl2832.c c->cnr.stat[0].svalue = tmp; tmp 1030 drivers/media/dvb-frontends/rtl2832.c u8 tmp; tmp 1073 drivers/media/dvb-frontends/rtl2832.c ret = regmap_bulk_read(dev->regmap, 0x000, &tmp, 1); tmp 878 drivers/media/dvb-frontends/s5h1409.c u32 tmp; tmp 889 drivers/media/dvb-frontends/s5h1409.c tmp = (snr * ((1 << 24) / 10)); tmp 893 drivers/media/dvb-frontends/s5h1409.c if (tmp >= 8960 * 0x10000) tmp 896 drivers/media/dvb-frontends/s5h1409.c *signal_strength = tmp / 8960; tmp 793 drivers/media/dvb-frontends/s5h1411.c u32 tmp; tmp 804 drivers/media/dvb-frontends/s5h1411.c tmp = (snr * ((1 << 24) / 10)); tmp 808 drivers/media/dvb-frontends/s5h1411.c if (tmp >= 8960 * 0x10000) tmp 811 drivers/media/dvb-frontends/s5h1411.c *signal_strength = tmp / 8960; tmp 354 drivers/media/dvb-frontends/s5h1420.c u32 tmp = s5h1420_getsymbolrate(state); tmp 356 drivers/media/dvb-frontends/s5h1420.c case 0: tmp = (tmp * 2 * 1) / 2; break; tmp 357 drivers/media/dvb-frontends/s5h1420.c case 1: tmp = (tmp * 2 * 2) / 3; break; tmp 358 drivers/media/dvb-frontends/s5h1420.c case 2: tmp = (tmp * 2 * 3) / 4; break; tmp 359 drivers/media/dvb-frontends/s5h1420.c case 3: tmp = (tmp * 2 * 5) / 6; break; tmp 360 drivers/media/dvb-frontends/s5h1420.c case 4: tmp = (tmp * 2 * 6) / 7; break; tmp 361 drivers/media/dvb-frontends/s5h1420.c case 5: tmp = (tmp * 2 * 7) / 8; break; tmp 364 drivers/media/dvb-frontends/s5h1420.c if (tmp == 0) { tmp 366 drivers/media/dvb-frontends/s5h1420.c tmp = 1; tmp 368 drivers/media/dvb-frontends/s5h1420.c tmp = state->fclk / tmp; tmp 372 drivers/media/dvb-frontends/s5h1420.c if (tmp < 2) tmp 374 drivers/media/dvb-frontends/s5h1420.c else if (tmp < 5) tmp 376 drivers/media/dvb-frontends/s5h1420.c else if (tmp < 9) tmp 378 drivers/media/dvb-frontends/s5h1420.c else if (tmp < 13) tmp 380 drivers/media/dvb-frontends/s5h1420.c else if (tmp < 17) tmp 382 drivers/media/dvb-frontends/s5h1420.c else if (tmp < 25) tmp 384 drivers/media/dvb-frontends/s5h1420.c else if (tmp < 33) tmp 388 drivers/media/dvb-frontends/s5h1420.c dprintk("for MPEG_CLK_INTL %d %x\n", tmp, val); tmp 651 drivers/media/dvb-frontends/s5h1420.c u32 tmp; tmp 652 drivers/media/dvb-frontends/s5h1420.c fe->ops.tuner_ops.get_frequency(fe, &tmp); tmp 654 drivers/media/dvb-frontends/s5h1420.c s5h1420_setfreqoffset(state, p->frequency - tmp); tmp 158 drivers/media/dvb-frontends/si2165.c u8 tmp; tmp 159 drivers/media/dvb-frontends/si2165.c int ret = si2165_readreg8(state, reg, &tmp); tmp 165 drivers/media/dvb-frontends/si2165.c tmp &= ~mask; tmp 166 drivers/media/dvb-frontends/si2165.c val |= tmp; tmp 373 drivers/media/dvb-frontends/sp8870.c u32 tmp; tmp 381 drivers/media/dvb-frontends/sp8870.c tmp = ret & 0x3F; tmp 387 drivers/media/dvb-frontends/sp8870.c tmp = ret << 6; tmp 388 drivers/media/dvb-frontends/sp8870.c if (tmp >= 0x3FFF0) tmp 389 drivers/media/dvb-frontends/sp8870.c tmp = ~0; tmp 391 drivers/media/dvb-frontends/sp8870.c *ber = tmp; tmp 400 drivers/media/dvb-frontends/sp8870.c u16 tmp; tmp 408 drivers/media/dvb-frontends/sp8870.c tmp = ret << 8; tmp 414 drivers/media/dvb-frontends/sp8870.c tmp |= ret; tmp 416 drivers/media/dvb-frontends/sp8870.c if (tmp) tmp 417 drivers/media/dvb-frontends/sp8870.c *signal = 0xFFFF - tmp; tmp 31 drivers/media/dvb-frontends/stb0899_algo.c u64 tmp; tmp 36 drivers/media/dvb-frontends/stb0899_algo.c tmp = (((u32)sfr[0]) << 16) | (((u32)sfr[1]) << 8) | sfr[2]; tmp 37 drivers/media/dvb-frontends/stb0899_algo.c tmp &= ~0xf; tmp 38 drivers/media/dvb-frontends/stb0899_algo.c tmp *= master_clk; tmp 39 drivers/media/dvb-frontends/stb0899_algo.c tmp >>= 24; tmp 41 drivers/media/dvb-frontends/stb0899_algo.c return tmp; tmp 68 drivers/media/dvb-frontends/stb0899_algo.c u32 tmp; tmp 89 drivers/media/dvb-frontends/stb0899_algo.c tmp = stb0899_do_div((((u64)srate) << 21) + master_clk, 2 * master_clk); tmp 90 drivers/media/dvb-frontends/stb0899_algo.c tmp <<= 4; tmp 92 drivers/media/dvb-frontends/stb0899_algo.c sfr[0] = tmp >> 16; tmp 93 drivers/media/dvb-frontends/stb0899_algo.c sfr[1] = tmp >> 8; tmp 94 drivers/media/dvb-frontends/stb0899_algo.c sfr[2] = tmp; tmp 530 drivers/media/dvb-frontends/stb0899_drv.c u8 tmp = data; tmp 531 drivers/media/dvb-frontends/stb0899_drv.c return stb0899_write_regs(state, reg, &tmp, 1); tmp 217 drivers/media/dvb-frontends/stb6100.c u8 tmp = data; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 223 drivers/media/dvb-frontends/stb6100.c tmp = (tmp & stb6100_template[reg].mask) | stb6100_template[reg].set; tmp 224 drivers/media/dvb-frontends/stb6100.c return stb6100_write_reg_range(state, &tmp, reg, 1); tmp 262 drivers/media/dvb-frontends/stb6100.c u32 tmp; tmp 271 drivers/media/dvb-frontends/stb6100.c tmp = 31; tmp 273 drivers/media/dvb-frontends/stb6100.c tmp = 0; tmp 275 drivers/media/dvb-frontends/stb6100.c tmp = (bandwidth + 500000) / 1000000 - 5; tmp 283 drivers/media/dvb-frontends/stb6100.c rc = stb6100_write_reg(state, STB6100_F, 0xc0 | tmp); tmp 125 drivers/media/dvb-frontends/stv0297.c u64 tmp; tmp 127 drivers/media/dvb-frontends/stv0297.c tmp = (u64)(stv0297_readreg(state, 0x55) tmp 132 drivers/media/dvb-frontends/stv0297.c tmp *= STV0297_CLOCK_KHZ; tmp 133 drivers/media/dvb-frontends/stv0297.c tmp >>= 32; tmp 135 drivers/media/dvb-frontends/stv0297.c return (u32) tmp; tmp 140 drivers/media/dvb-frontends/stv0297.c long tmp; tmp 142 drivers/media/dvb-frontends/stv0297.c tmp = 131072L * srate; /* 131072 = 2^17 */ tmp 143 drivers/media/dvb-frontends/stv0297.c tmp = tmp / (STV0297_CLOCK_KHZ / 4); /* 1/4 = 2^-2 */ tmp 144 drivers/media/dvb-frontends/stv0297.c tmp = tmp * 8192L; /* 8192 = 2^13 */ tmp 146 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x55, (unsigned char) (tmp & 0xFF)); tmp 147 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x56, (unsigned char) (tmp >> 8)); tmp 148 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x57, (unsigned char) (tmp >> 16)); tmp 149 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x58, (unsigned char) (tmp >> 24)); tmp 154 drivers/media/dvb-frontends/stv0297.c long tmp; tmp 156 drivers/media/dvb-frontends/stv0297.c tmp = (long) fshift *262144L; /* 262144 = 2*18 */ tmp 157 drivers/media/dvb-frontends/stv0297.c tmp /= symrate; tmp 158 drivers/media/dvb-frontends/stv0297.c tmp *= 1024; /* 1024 = 2*10 */ tmp 161 drivers/media/dvb-frontends/stv0297.c if (tmp >= 0) { tmp 162 drivers/media/dvb-frontends/stv0297.c tmp += 500000; tmp 164 drivers/media/dvb-frontends/stv0297.c tmp -= 500000; tmp 166 drivers/media/dvb-frontends/stv0297.c tmp /= 1000000; tmp 168 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x60, tmp & 0xFF); tmp 169 drivers/media/dvb-frontends/stv0297.c stv0297_writereg_mask(state, 0x69, 0xF0, (tmp >> 4) & 0xf0); tmp 174 drivers/media/dvb-frontends/stv0297.c long tmp; tmp 177 drivers/media/dvb-frontends/stv0297.c tmp = offset * 26844L; /* (2**28)/10000 */ tmp 178 drivers/media/dvb-frontends/stv0297.c if (tmp < 0) tmp 179 drivers/media/dvb-frontends/stv0297.c tmp += 0x10000000; tmp 180 drivers/media/dvb-frontends/stv0297.c tmp &= 0x0FFFFFFF; tmp 182 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x66, (unsigned char) (tmp & 0xFF)); tmp 183 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x67, (unsigned char) (tmp >> 8)); tmp 184 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x68, (unsigned char) (tmp >> 16)); tmp 185 drivers/media/dvb-frontends/stv0297.c stv0297_writereg_mask(state, 0x69, 0x0F, (tmp >> 24) & 0x0f); tmp 209 drivers/media/dvb-frontends/stv0297.c s32 tmp; tmp 214 drivers/media/dvb-frontends/stv0297.c tmp = (STV0297_CLOCK_KHZ * 1000) / (1 << 16); tmp 215 drivers/media/dvb-frontends/stv0297.c tmp = (freq * 1000) / tmp; tmp 216 drivers/media/dvb-frontends/stv0297.c if (tmp > 0xffff) tmp 217 drivers/media/dvb-frontends/stv0297.c tmp = 0xffff; tmp 220 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x21, tmp >> 8); tmp 221 drivers/media/dvb-frontends/stv0297.c stv0297_writereg(state, 0x20, tmp); tmp 353 drivers/media/dvb-frontends/stv0297.c u16 tmp; tmp 356 drivers/media/dvb-frontends/stv0297.c tmp = (STRENGTH[1] & 0x03) << 8 | STRENGTH[0]; tmp 358 drivers/media/dvb-frontends/stv0297.c if (tmp < 0x200) tmp 359 drivers/media/dvb-frontends/stv0297.c tmp = 0; tmp 361 drivers/media/dvb-frontends/stv0297.c tmp = tmp - 0x200; tmp 363 drivers/media/dvb-frontends/stv0297.c if (tmp > 0x1ff) tmp 364 drivers/media/dvb-frontends/stv0297.c tmp = 0; tmp 366 drivers/media/dvb-frontends/stv0297.c tmp = 0x1ff - tmp; tmp 368 drivers/media/dvb-frontends/stv0297.c *strength = (tmp << 7) | (tmp >> 2); tmp 159 drivers/media/dvb-frontends/stv0367.c u8 tmp = data; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 161 drivers/media/dvb-frontends/stv0367.c return stv0367_writeregs(state, reg, &tmp, 1); tmp 335 drivers/media/dvb-frontends/stv0367.c u8 tmp = stv0367_readreg(state, R367TER_I2CRPT); tmp 340 drivers/media/dvb-frontends/stv0367.c stv0367_setbits(&tmp, F367TER_STOP_ENABLE, 0); tmp 341 drivers/media/dvb-frontends/stv0367.c stv0367_setbits(&tmp, F367TER_I2CT_ON, 1); tmp 343 drivers/media/dvb-frontends/stv0367.c stv0367_setbits(&tmp, F367TER_STOP_ENABLE, 1); tmp 344 drivers/media/dvb-frontends/stv0367.c stv0367_setbits(&tmp, F367TER_I2CT_ON, 0); tmp 347 drivers/media/dvb-frontends/stv0367.c stv0367_writereg(state, R367TER_I2CRPT, tmp); tmp 708 drivers/media/dvb-frontends/stv0367.c u8 tmp, tmp2; tmp 749 drivers/media/dvb-frontends/stv0367.c tmp = stv0367_readreg(state, R367TER_SYR_STAT); tmp 753 drivers/media/dvb-frontends/stv0367.c mode, tmp, tmp2); tmp 755 drivers/media/dvb-frontends/stv0367.c tmp = stv0367_readreg(state, R367TER_PRVIT); tmp 757 drivers/media/dvb-frontends/stv0367.c dprintk("PRVIT=0x%x I2CRPT=0x%x\n", tmp, tmp2); tmp 759 drivers/media/dvb-frontends/stv0367.c tmp = stv0367_readreg(state, R367TER_GAIN_SRC1); tmp 760 drivers/media/dvb-frontends/stv0367.c dprintk("GAIN_SRC1=0x%x\n", tmp); tmp 2334 drivers/media/dvb-frontends/stv0367.c s32 tmp; tmp 2473 drivers/media/dvb-frontends/stv0367.c tmp = stv0367_readreg(state, R367CAB_IT_STATUS1); tmp 2475 drivers/media/dvb-frontends/stv0367.c dprintk("R367CAB_IT_STATUS1=0x%x\n", tmp); tmp 2482 drivers/media/dvb-frontends/stv0367.c tmp = stv0367_readreg(state, R367CAB_IT_STATUS1); tmp 2483 drivers/media/dvb-frontends/stv0367.c dprintk("R367CAB_IT_STATUS1=0x%x\n", tmp); tmp 2484 drivers/media/dvb-frontends/stv0367.c tmp = stv0367_readreg(state, R367CAB_IT_STATUS2); tmp 2485 drivers/media/dvb-frontends/stv0367.c dprintk("R367CAB_IT_STATUS2=0x%x\n", tmp); tmp 2487 drivers/media/dvb-frontends/stv0367.c tmp = stv0367cab_get_derot_freq(state, cab_state->adc_clk); tmp 2488 drivers/media/dvb-frontends/stv0367.c dprintk("stv0367cab_get_derot_freq=0x%x\n", tmp); tmp 746 drivers/media/dvb-frontends/stv090x.c u8 tmp = data; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 748 drivers/media/dvb-frontends/stv090x.c return stv090x_write_regs(state, reg, &tmp, 1); tmp 188 drivers/media/dvb-frontends/stv0910.c u8 tmp; tmp 191 drivers/media/dvb-frontends/stv0910.c status = read_reg(state, reg, &tmp); tmp 193 drivers/media/dvb-frontends/stv0910.c status = write_reg(state, reg, (tmp & ~mask) | (val & mask)); tmp 512 drivers/media/dvb-frontends/stv0910.c u8 tmp; tmp 518 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDMODCOD + state->regoff, &tmp); tmp 519 drivers/media/dvb-frontends/stv0910.c state->mod_cod = (enum fe_stv0910_mod_cod)((tmp & 0x7c) >> 2); tmp 520 drivers/media/dvb-frontends/stv0910.c state->pilots = (tmp & 0x01) != 0; tmp 521 drivers/media/dvb-frontends/stv0910.c state->fectype = (enum dvbs2_fectype)((tmp & 0x02) >> 1); tmp 524 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_VITCURPUN + state->regoff, &tmp); tmp 526 drivers/media/dvb-frontends/stv0910.c switch (tmp & 0x1F) { tmp 552 drivers/media/dvb-frontends/stv0910.c u8 tmp; tmp 554 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, &tmp); tmp 555 drivers/media/dvb-frontends/stv0910.c tmp &= ~0xC0; tmp 559 drivers/media/dvb-frontends/stv0910.c tmp |= 0x40; tmp 562 drivers/media/dvb-frontends/stv0910.c tmp |= 0x80; tmp 565 drivers/media/dvb-frontends/stv0910.c tmp |= 0xC0; tmp 568 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, tmp); tmp 867 drivers/media/dvb-frontends/stv0910.c u8 tmp; tmp 871 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_PDELCTRL1 + state->regoff, &tmp); tmp 872 drivers/media/dvb-frontends/stv0910.c tmp &= ~0x01; /* release reset DVBS2 packet delin */ tmp 873 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_PDELCTRL1 + state->regoff, tmp); tmp 998 drivers/media/dvb-frontends/stv0910.c u8 tmp[2]; tmp 1001 drivers/media/dvb-frontends/stv0910.c tmp, 2); tmp 1002 drivers/media/dvb-frontends/stv0910.c u16 reg_value = (tmp[0] << 8) | tmp[1]; tmp 1453 drivers/media/dvb-frontends/stv0910.c u8 tmp; tmp 1470 drivers/media/dvb-frontends/stv0910.c &tmp); tmp 1472 drivers/media/dvb-frontends/stv0910.c tmp |= 0x40; tmp 1475 drivers/media/dvb-frontends/stv0910.c tmp); tmp 1477 drivers/media/dvb-frontends/stv0910.c tmp &= ~0x40; tmp 1480 drivers/media/dvb-frontends/stv0910.c tmp); tmp 1516 drivers/media/dvb-frontends/stv0910.c u8 tmp; tmp 1520 drivers/media/dvb-frontends/stv0910.c &tmp); tmp 1521 drivers/media/dvb-frontends/stv0910.c mod_cod = (enum fe_stv0910_mod_cod)((tmp & 0x7c) >> 2); tmp 1554 drivers/media/dvb-frontends/stv0910.c u8 tmp; tmp 1579 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDMODCOD + state->regoff, &tmp); tmp 1580 drivers/media/dvb-frontends/stv0910.c mc = ((tmp & 0x7c) >> 2); tmp 1581 drivers/media/dvb-frontends/stv0910.c p->pilot = (tmp & 0x01) ? PILOT_ON : PILOT_OFF; tmp 1585 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_VITCURPUN + state->regoff, &tmp); tmp 1586 drivers/media/dvb-frontends/stv0910.c switch (tmp & 0x1F) { tmp 88 drivers/media/dvb-frontends/stv6110x.c u8 tmp = data; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 90 drivers/media/dvb-frontends/stv6110x.c return stv6110x_write_regs(stv6110x, reg, &tmp, 1); tmp 454 drivers/media/dvb-frontends/stv6111.c u8 icp, tmp; tmp 507 drivers/media/dvb-frontends/stv6111.c read_reg(state, 0x03, &tmp); tmp 508 drivers/media/dvb-frontends/stv6111.c if (tmp & 0x10) { tmp 512 drivers/media/dvb-frontends/stv6111.c read_reg(state, 0x08, &tmp); tmp 416 drivers/media/dvb-frontends/tc90522.c u32 p, tmp; tmp 430 drivers/media/dvb-frontends/tc90522.c tmp = p >> 8; tmp 431 drivers/media/dvb-frontends/tc90522.c cn += div64_s64(3184LL * tmp * tmp, 10) >> 32; tmp 432 drivers/media/dvb-frontends/tc90522.c tmp = p >> 13; tmp 433 drivers/media/dvb-frontends/tc90522.c cn -= div64_s64(128LL * tmp * tmp * tmp, 10) >> 33; tmp 434 drivers/media/dvb-frontends/tc90522.c tmp = p >> 18; tmp 435 drivers/media/dvb-frontends/tc90522.c cn += div64_s64(192LL * tmp * tmp * tmp * tmp, 1000) >> 24; tmp 142 drivers/media/dvb-frontends/tda10021.c u32 tmp, ratio; tmp 163 drivers/media/dvb-frontends/tda10021.c tmp = ((symbolrate << 4) % FIN) << 8; tmp 164 drivers/media/dvb-frontends/tda10021.c ratio = (ratio << 8) + tmp / FIN; tmp 165 drivers/media/dvb-frontends/tda10021.c tmp = (tmp % FIN) << 8; tmp 166 drivers/media/dvb-frontends/tda10021.c ratio = (ratio << 8) + DIV_ROUND_CLOSEST(tmp, FIN); tmp 695 drivers/media/dvb-frontends/tda1004x.c int tmp; tmp 738 drivers/media/dvb-frontends/tda1004x.c tmp = tda1004x_encode_fec(fe_params->code_rate_HP); tmp 739 drivers/media/dvb-frontends/tda1004x.c if (tmp < 0) tmp 740 drivers/media/dvb-frontends/tda1004x.c return tmp; tmp 741 drivers/media/dvb-frontends/tda1004x.c tda1004x_write_mask(state, TDA1004X_IN_CONF2, 7, tmp); tmp 744 drivers/media/dvb-frontends/tda1004x.c tmp = tda1004x_encode_fec(fe_params->code_rate_LP); tmp 745 drivers/media/dvb-frontends/tda1004x.c if (tmp < 0) tmp 746 drivers/media/dvb-frontends/tda1004x.c return tmp; tmp 747 drivers/media/dvb-frontends/tda1004x.c tda1004x_write_mask(state, TDA1004X_IN_CONF2, 0x38, tmp << 3); tmp 1078 drivers/media/dvb-frontends/tda1004x.c int tmp; tmp 1095 drivers/media/dvb-frontends/tda1004x.c tmp = tda1004x_read_byte(state, reg); tmp 1096 drivers/media/dvb-frontends/tda1004x.c if (tmp < 0) tmp 1099 drivers/media/dvb-frontends/tda1004x.c *signal = (tmp << 8) | tmp; tmp 1107 drivers/media/dvb-frontends/tda1004x.c int tmp; tmp 1112 drivers/media/dvb-frontends/tda1004x.c tmp = tda1004x_read_byte(state, TDA1004X_SNR); tmp 1113 drivers/media/dvb-frontends/tda1004x.c if (tmp < 0) tmp 1115 drivers/media/dvb-frontends/tda1004x.c tmp = 255 - tmp; tmp 1117 drivers/media/dvb-frontends/tda1004x.c *snr = ((tmp << 8) | tmp); tmp 1125 drivers/media/dvb-frontends/tda1004x.c int tmp; tmp 1133 drivers/media/dvb-frontends/tda1004x.c tmp = tda1004x_read_byte(state, TDA1004X_UNCOR); tmp 1134 drivers/media/dvb-frontends/tda1004x.c if (tmp < 0) tmp 1136 drivers/media/dvb-frontends/tda1004x.c tmp &= 0x7f; tmp 1146 drivers/media/dvb-frontends/tda1004x.c if ((tmp2 < tmp) || (tmp2 == 0)) tmp 1150 drivers/media/dvb-frontends/tda1004x.c if (tmp != 0x7f) tmp 1151 drivers/media/dvb-frontends/tda1004x.c *ucblocks = tmp; tmp 1162 drivers/media/dvb-frontends/tda1004x.c int tmp; tmp 1167 drivers/media/dvb-frontends/tda1004x.c tmp = tda1004x_read_byte(state, TDA1004X_CBER_LSB); tmp 1168 drivers/media/dvb-frontends/tda1004x.c if (tmp < 0) tmp 1170 drivers/media/dvb-frontends/tda1004x.c *ber = tmp << 1; tmp 1171 drivers/media/dvb-frontends/tda1004x.c tmp = tda1004x_read_byte(state, TDA1004X_CBER_MSB); tmp 1172 drivers/media/dvb-frontends/tda1004x.c if (tmp < 0) tmp 1174 drivers/media/dvb-frontends/tda1004x.c *ber |= (tmp << 9); tmp 22 drivers/media/dvb-frontends/tda10071.c u8 tmp; tmp 26 drivers/media/dvb-frontends/tda10071.c ret = regmap_bulk_read(dev->regmap, reg, &tmp, 1); tmp 31 drivers/media/dvb-frontends/tda10071.c tmp &= ~mask; tmp 32 drivers/media/dvb-frontends/tda10071.c val |= tmp; tmp 697 drivers/media/dvb-frontends/tda10071.c u8 buf[5], tmp; tmp 708 drivers/media/dvb-frontends/tda10071.c tmp = buf[0] & 0x3f; tmp 710 drivers/media/dvb-frontends/tda10071.c if (tmp == TDA10071_MODCOD[i].val) { tmp 759 drivers/media/dvb-frontends/tda10071.c u8 tmp, buf[4]; tmp 954 drivers/media/dvb-frontends/tda10071.c tmp = dev->tuner_i2c_addr; tmp 956 drivers/media/dvb-frontends/tda10071.c tmp = 0x14; tmp 963 drivers/media/dvb-frontends/tda10071.c cmd.args[5] = tmp; tmp 292 drivers/media/dvb-frontends/tda10086.c u32 tmp; tmp 343 drivers/media/dvb-frontends/tda10086.c tmp = (1<<dfn)*(symbol_rate/1000); tmp 344 drivers/media/dvb-frontends/tda10086.c bdri = ((32 * (SACLK/1000)) + (tmp-1)) / tmp; tmp 454 drivers/media/dvb-frontends/tda10086.c int tmp; tmp 504 drivers/media/dvb-frontends/tda10086.c tmp = tda10086_read_byte(state, 0x1d); tmp 505 drivers/media/dvb-frontends/tda10086.c if (tmp & 0x80) tmp 506 drivers/media/dvb-frontends/tda10086.c tmp |= 0xffffff00; tmp 507 drivers/media/dvb-frontends/tda10086.c tmp = (tmp * 480 * (1<<1)) / 128; tmp 508 drivers/media/dvb-frontends/tda10086.c tmp = ((state->symbol_rate/1000) * tmp) / (1000000/1000); tmp 509 drivers/media/dvb-frontends/tda10086.c fe_params->symbol_rate = state->symbol_rate + tmp; tmp 125 drivers/media/dvb-frontends/tda8083.c u32 tmp; tmp 139 drivers/media/dvb-frontends/tda8083.c tmp = 31250 << 16; tmp 140 drivers/media/dvb-frontends/tda8083.c ratio = tmp / srate; tmp 142 drivers/media/dvb-frontends/tda8083.c tmp = (tmp % srate) << 8; tmp 143 drivers/media/dvb-frontends/tda8083.c ratio = (ratio << 8) + tmp / srate; tmp 145 drivers/media/dvb-frontends/tda8083.c tmp = (tmp % srate) << 8; tmp 146 drivers/media/dvb-frontends/tda8083.c ratio = (ratio << 8) + tmp / srate; tmp 110 drivers/media/dvb-frontends/ves1820.c u32 tmp; tmp 154 drivers/media/dvb-frontends/ves1820.c tmp = ((symbolrate << 4) % fin) << 8; tmp 155 drivers/media/dvb-frontends/ves1820.c ratio = (ratio << 8) + tmp / fin; tmp 156 drivers/media/dvb-frontends/ves1820.c tmp = (tmp % fin) << 8; tmp 157 drivers/media/dvb-frontends/ves1820.c ratio = (ratio << 8) + DIV_ROUND_CLOSEST(tmp, fin); tmp 168 drivers/media/dvb-frontends/ves1x93.c u32 tmp; tmp 183 drivers/media/dvb-frontends/ves1x93.c tmp = srate << 6; tmp 184 drivers/media/dvb-frontends/ves1x93.c ratio = tmp / FIN; tmp 186 drivers/media/dvb-frontends/ves1x93.c tmp = (tmp % FIN) << 8; tmp 187 drivers/media/dvb-frontends/ves1x93.c ratio = (ratio << 8) + tmp / FIN; tmp 189 drivers/media/dvb-frontends/ves1x93.c tmp = (tmp % FIN) << 8; tmp 190 drivers/media/dvb-frontends/ves1x93.c ratio = (ratio << 8) + tmp / FIN; tmp 127 drivers/media/dvb-frontends/zl10039.c const u8 tmp = val; /* see gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 */ tmp 129 drivers/media/dvb-frontends/zl10039.c return zl10039_write(state, reg, &tmp, 1); tmp 207 drivers/media/i2c/mt9v011.c unsigned tmp; tmp 220 drivers/media/i2c/mt9v011.c tmp = frames_per_ms; tmp 223 drivers/media/i2c/mt9v011.c tmp / 1000, tmp % 1000, t_time); tmp 1883 drivers/media/i2c/ov5670.c __be32 tmp; tmp 1891 drivers/media/i2c/ov5670.c tmp = cpu_to_be32(val); tmp 1892 drivers/media/i2c/ov5670.c val_p = (u8 *)&tmp; tmp 254 drivers/media/i2c/saa6588.c unsigned char tmp; tmp 303 drivers/media/i2c/saa6588.c tmp = blocknum; tmp 304 drivers/media/i2c/saa6588.c tmp |= blocknum << 3; /* Received offset == Offset Name (OK ?) */ tmp 306 drivers/media/i2c/saa6588.c tmp |= V4L2_RDS_BLOCK_ERROR; /* uncorrectable error */ tmp 308 drivers/media/i2c/saa6588.c tmp |= V4L2_RDS_BLOCK_CORRECTED; /* corrected error */ tmp 309 drivers/media/i2c/saa6588.c tmpbuf[2] = tmp; /* Is this enough ? Should we also check other bits ? */ tmp 1072 drivers/media/i2c/smiapp/smiapp-core.c u32 tmp; tmp 1148 drivers/media/i2c/smiapp/smiapp-core.c tmp = div_u64(1000000ULL * ((1 << 16) - 1) * ((1 << 8) - 1) - tmp 1151 drivers/media/i2c/smiapp/smiapp-core.c clamp_t(u32, strobe_setup->strobe_width_high_us, 1, tmp); tmp 1153 drivers/media/i2c/smiapp/smiapp-core.c tmp = div_u64(((u64)strobe_setup->strobe_width_high_us * (u64)ext_freq + tmp 1155 drivers/media/i2c/smiapp/smiapp-core.c strobe_adjustment = (tmp + (1 << 16) - 1 - 1) / ((1 << 16) - 1); tmp 1156 drivers/media/i2c/smiapp/smiapp-core.c strobe_width_high_rs = (tmp + strobe_adjustment - 1) / tmp 433 drivers/media/i2c/tw9910.c __u32 diff = 0xffffffff, tmp; tmp 447 drivers/media/i2c/tw9910.c tmp = abs(width - scale[i].width) + tmp 449 drivers/media/i2c/tw9910.c if (tmp < diff) { tmp 450 drivers/media/i2c/tw9910.c diff = tmp; tmp 287 drivers/media/i2c/video-i2c.c int tmp; tmp 289 drivers/media/i2c/video-i2c.c tmp = pm_runtime_get_sync(regmap_get_device(data->regmap)); tmp 290 drivers/media/i2c/video-i2c.c if (tmp < 0) { tmp 292 drivers/media/i2c/video-i2c.c return tmp; tmp 295 drivers/media/i2c/video-i2c.c tmp = regmap_bulk_read(data->regmap, AMG88XX_REG_TTHL, &buf, 2); tmp 298 drivers/media/i2c/video-i2c.c if (tmp) tmp 299 drivers/media/i2c/video-i2c.c return tmp; tmp 301 drivers/media/i2c/video-i2c.c tmp = le16_to_cpu(buf); tmp 308 drivers/media/i2c/video-i2c.c if (tmp & BIT(11)) tmp 309 drivers/media/i2c/video-i2c.c tmp = -(tmp & 0x7ff); tmp 311 drivers/media/i2c/video-i2c.c *val = (tmp * 625) / 10; tmp 494 drivers/media/i2c/video-i2c.c struct video_i2c_buffer *buf, *tmp; tmp 498 drivers/media/i2c/video-i2c.c list_for_each_entry_safe(buf, tmp, &data->vid_cap_active, list) { tmp 650 drivers/media/mc/mc-device.c struct media_link *link, *tmp; tmp 658 drivers/media/mc/mc-device.c list_for_each_entry_safe(link, tmp, &intf->links, list) { tmp 604 drivers/media/mc/mc-entity.c struct media_link *rlink, *tmp; tmp 612 drivers/media/mc/mc-entity.c list_for_each_entry_safe(rlink, tmp, &remote->links, list) { tmp 777 drivers/media/mc/mc-entity.c struct media_link *link, *tmp; tmp 779 drivers/media/mc/mc-entity.c list_for_each_entry_safe(link, tmp, &entity->links, list) tmp 1008 drivers/media/mc/mc-entity.c struct media_link *link, *tmp; tmp 1010 drivers/media/mc/mc-entity.c list_for_each_entry_safe(link, tmp, &intf->links, list) tmp 4142 drivers/media/pci/bt8xx/bttv-cards.c int tmp; tmp 4193 drivers/media/pci/bt8xx/bttv-cards.c tmp=bttv_I2CWrite(btv,0x1E,0,vals[i],1); tmp 4194 drivers/media/pci/bt8xx/bttv-cards.c if (tmp != -1) { tmp 4196 drivers/media/pci/bt8xx/bttv-cards.c vals[i],tmp,bttv_I2CRead(btv,0x1F,NULL)); tmp 28 drivers/media/pci/cobalt/cobalt-cpld.c u32 tmp; tmp 67 drivers/media/pci/cobalt/cobalt-cpld.c tmp = (rd * 33 * 1000) / (483 * 10); tmp 68 drivers/media/pci/cobalt/cobalt-cpld.c cobalt_info("\t\tVDD 3V3: %u,%03uV\n", tmp / 1000, tmp % 1000); tmp 70 drivers/media/pci/cobalt/cobalt-cpld.c tmp = (rd * 74 * 2197) / (27 * 1000); tmp 71 drivers/media/pci/cobalt/cobalt-cpld.c cobalt_info("\t\tADC ch3 5V: %u,%03uV\n", tmp / 1000, tmp % 1000); tmp 73 drivers/media/pci/cobalt/cobalt-cpld.c tmp = (rd * 74 * 2197) / (47 * 1000); tmp 74 drivers/media/pci/cobalt/cobalt-cpld.c cobalt_info("\t\tADC ch4 3V: %u,%03uV\n", tmp / 1000, tmp % 1000); tmp 76 drivers/media/pci/cobalt/cobalt-cpld.c tmp = (rd * 57 * 2197) / (47 * 1000); tmp 77 drivers/media/pci/cobalt/cobalt-cpld.c cobalt_info("\t\tADC ch5 2V5: %u,%03uV\n", tmp / 1000, tmp % 1000); tmp 79 drivers/media/pci/cobalt/cobalt-cpld.c tmp = (rd * 2197) / 1000; tmp 80 drivers/media/pci/cobalt/cobalt-cpld.c cobalt_info("\t\tADC ch6 1V8: %u,%03uV\n", tmp / 1000, tmp % 1000); tmp 82 drivers/media/pci/cobalt/cobalt-cpld.c tmp = (rd * 2197) / 1000; tmp 83 drivers/media/pci/cobalt/cobalt-cpld.c cobalt_info("\t\tADC ch7 1V5: %u,%03uV\n", tmp / 1000, tmp % 1000); tmp 85 drivers/media/pci/cobalt/cobalt-cpld.c tmp = (rd * 2197) / 1000; tmp 86 drivers/media/pci/cobalt/cobalt-cpld.c cobalt_info("\t\tADC ch8 0V9: %u,%03uV\n", tmp / 1000, tmp % 1000); tmp 448 drivers/media/pci/cx18/cx18-av-core.c u64 tmp; tmp 461 drivers/media/pci/cx18/cx18-av-core.c tmp = 28636360 * (u64) sc; tmp 462 drivers/media/pci/cx18/cx18-av-core.c do_div(tmp, src_decimation); tmp 463 drivers/media/pci/cx18/cx18-av-core.c fsc = tmp >> 13; tmp 756 drivers/media/pci/cx18/cx18-ioctl.c s32 tmp; tmp 763 drivers/media/pci/cx18/cx18-ioctl.c tmp = s->buffers - tmp 765 drivers/media/pci/cx18/cx18-ioctl.c if (tmp <= 0) tmp 766 drivers/media/pci/cx18/cx18-ioctl.c tmp = 1; tmp 767 drivers/media/pci/cx18/cx18-ioctl.c tmp = tmp * s->buf_size / sizeof(struct cx18_enc_idx_entry); tmp 771 drivers/media/pci/cx18/cx18-ioctl.c idx->entries_cap = tmp; tmp 130 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *tmp; tmp 141 drivers/media/pci/cx18/cx18-queue.c list_for_each_entry_safe(mdl, tmp, &s->q_busy.list, list) { tmp 187 drivers/media/pci/cx18/cx18-queue.c list_for_each_entry_safe(mdl, tmp, &sweep_up, list) { tmp 681 drivers/media/pci/cx23885/cx23885-dvb.c int tmp = 0; tmp 711 drivers/media/pci/cx23885/cx23885-dvb.c tmp = cx_read(MC417_RWD); tmp 712 drivers/media/pci/cx23885/cx23885-dvb.c if ((tmp & SP2_ACK) == 0) tmp 718 drivers/media/pci/cx23885/cx23885-dvb.c *mem = tmp & 0xff; tmp 220 drivers/media/pci/cx25821/cx25821-alsa.c u32 tmp = 0; tmp 242 drivers/media/pci/cx25821/cx25821-alsa.c tmp = cx_read(AUD_A_CFG); tmp 243 drivers/media/pci/cx25821/cx25821-alsa.c cx_write(AUD_A_CFG, tmp | FLD_AUD_DST_PK_MODE | FLD_AUD_DST_ENABLE | tmp 264 drivers/media/pci/cx25821/cx25821-alsa.c tmp = cx_read(AUD_INT_DMA_CTL); tmp 265 drivers/media/pci/cx25821/cx25821-alsa.c cx_set(AUD_INT_DMA_CTL, tmp | tmp 349 drivers/media/pci/cx25821/cx25821-core.c u32 tmp; tmp 359 drivers/media/pci/cx25821/cx25821-core.c tmp = cx_read(RDR_TLCTL0); tmp 360 drivers/media/pci/cx25821/cx25821-core.c tmp &= ~FLD_CFG_RCB_CK_EN; /* Clear the RCB_CK_EN bit */ tmp 361 drivers/media/pci/cx25821/cx25821-core.c cx_write(RDR_TLCTL0, tmp); tmp 370 drivers/media/pci/cx25821/cx25821-core.c tmp = cx_read(PLL_A_INT_FRAC); tmp 371 drivers/media/pci/cx25821/cx25821-core.c cx_write(PLL_A_INT_FRAC, tmp & 0x7FFFFFFF); tmp 380 drivers/media/pci/cx25821/cx25821-core.c tmp = cx_read(PLL_B_INT_FRAC); tmp 381 drivers/media/pci/cx25821/cx25821-core.c cx_write(PLL_B_INT_FRAC, tmp & 0x7FFFFFFF); tmp 390 drivers/media/pci/cx25821/cx25821-core.c tmp = cx_read(PLL_C_INT_FRAC); tmp 391 drivers/media/pci/cx25821/cx25821-core.c cx_write(PLL_C_INT_FRAC, tmp & 0x7FFFFFFF); tmp 400 drivers/media/pci/cx25821/cx25821-core.c tmp = cx_read(PLL_D_INT_FRAC); tmp 401 drivers/media/pci/cx25821/cx25821-core.c cx_write(PLL_D_INT_FRAC, tmp & 0x7FFFFFFF); tmp 405 drivers/media/pci/cx25821/cx25821-core.c tmp = cx_read(VID_CH_CLK_SEL); tmp 406 drivers/media/pci/cx25821/cx25821-core.c cx_write(VID_CH_CLK_SEL, (tmp & 0x00FFFFFF) | 0x24000000); tmp 411 drivers/media/pci/cx25821/cx25821-core.c tmp = cx_read(VID_CH_MODE_SEL); tmp 413 drivers/media/pci/cx25821/cx25821-core.c cx_write(VID_CH_MODE_SEL, tmp & 0xFFFFFE00); tmp 416 drivers/media/pci/cx25821/cx25821-core.c tmp = cx_read(CLK_RST); tmp 418 drivers/media/pci/cx25821/cx25821-core.c tmp |= FLD_USE_ALT_PLL_REF; tmp 419 drivers/media/pci/cx25821/cx25821-core.c cx_write(CLK_RST, tmp & ~(FLD_VID_I_CLK_NOE | FLD_VID_J_CLK_NOE)); tmp 640 drivers/media/pci/cx25821/cx25821-core.c u32 risc, value, tmp; tmp 723 drivers/media/pci/cx25821/cx25821-core.c value = cx25821_i2c_read(&dev->i2c_bus[0], AFE_AB_DIAG_CTRL, &tmp); tmp 25 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 tmp = 0; tmp 63 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], out_ctrl, &tmp); tmp 69 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], out_ctrl_ns, &tmp); tmp 81 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 tmp = 0; tmp 86 drivers/media/pci/cx25821/cx25821-medusa-video.c MODE_CTRL + (0x200 * i), &tmp); tmp 95 drivers/media/pci/cx25821/cx25821-medusa-video.c HORIZ_TIM_CTRL + (0x200 * i), &tmp); tmp 102 drivers/media/pci/cx25821/cx25821-medusa-video.c VERT_TIM_CTRL + (0x200 * i), &tmp); tmp 114 drivers/media/pci/cx25821/cx25821-medusa-video.c OUT_CTRL_NS + (0x200 * i), &tmp); tmp 122 drivers/media/pci/cx25821/cx25821-medusa-video.c OUT_CTRL1 + (0x200 * i), &tmp); tmp 133 drivers/media/pci/cx25821/cx25821-medusa-video.c MISC_TIM_CTRL + (0x200 * i), &tmp); tmp 142 drivers/media/pci/cx25821/cx25821-medusa-video.c DFE_CTRL1 + (0x200 * i), &tmp); tmp 154 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_1 + (0x100 * i), &tmp); tmp 162 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_2 + (0x100 * i), &tmp); tmp 169 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_3 + (0x100 * i), &tmp); tmp 177 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_4 + (0x100 * i), &tmp); tmp 184 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_5 + (0x100 * i), &tmp); tmp 205 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], BYP_AB_CTRL, &tmp); tmp 215 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 value = 0, tmp = 0; tmp 227 drivers/media/pci/cx25821/cx25821-medusa-video.c COMB_FLAT_THRESH_CTRL + (0x200 * dec), &tmp); tmp 248 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 tmp = 0; tmp 253 drivers/media/pci/cx25821/cx25821-medusa-video.c MODE_CTRL + (0x200 * i), &tmp); tmp 262 drivers/media/pci/cx25821/cx25821-medusa-video.c HORIZ_TIM_CTRL + (0x200 * i), &tmp); tmp 270 drivers/media/pci/cx25821/cx25821-medusa-video.c VERT_TIM_CTRL + (0x200 * i), &tmp); tmp 282 drivers/media/pci/cx25821/cx25821-medusa-video.c OUT_CTRL_NS + (0x200 * i), &tmp); tmp 290 drivers/media/pci/cx25821/cx25821-medusa-video.c OUT_CTRL1 + (0x200 * i), &tmp); tmp 301 drivers/media/pci/cx25821/cx25821-medusa-video.c MISC_TIM_CTRL + (0x200 * i), &tmp); tmp 310 drivers/media/pci/cx25821/cx25821-medusa-video.c DFE_CTRL1 + (0x200 * i), &tmp); tmp 324 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_1 + (0x100 * i), &tmp); tmp 332 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_2 + (0x100 * i), &tmp); tmp 340 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_3 + (0x100 * i), &tmp); tmp 348 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_4 + (0x100 * i), &tmp); tmp 355 drivers/media/pci/cx25821/cx25821-medusa-video.c DENC_A_REG_5 + (0x100 * i), &tmp); tmp 376 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], BYP_AB_CTRL, &tmp); tmp 386 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 value = 0, tmp = 0; tmp 394 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], DENC_A_REG_4, &tmp); tmp 399 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], DENC_B_REG_4, &tmp); tmp 470 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 tmp = 0; tmp 496 drivers/media/pci/cx25821/cx25821-medusa-video.c fld_cnt = cx25821_i2c_read(&dev->i2c_bus[0], disp_cnt_reg, &tmp); tmp 555 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 val = 0, tmp = 0; tmp 565 drivers/media/pci/cx25821/cx25821-medusa-video.c VDEC_A_BRITE_CTRL + (0x200 * decoder), &tmp); tmp 576 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 val = 0, tmp = 0; tmp 585 drivers/media/pci/cx25821/cx25821-medusa-video.c VDEC_A_CNTRST_CTRL + (0x200 * decoder), &tmp); tmp 597 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 val = 0, tmp = 0; tmp 608 drivers/media/pci/cx25821/cx25821-medusa-video.c VDEC_A_HUE_CTRL + (0x200 * decoder), &tmp); tmp 621 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 val = 0, tmp = 0; tmp 632 drivers/media/pci/cx25821/cx25821-medusa-video.c VDEC_A_USAT_CTRL + (0x200 * decoder), &tmp); tmp 638 drivers/media/pci/cx25821/cx25821-medusa-video.c VDEC_A_VSAT_CTRL + (0x200 * decoder), &tmp); tmp 650 drivers/media/pci/cx25821/cx25821-medusa-video.c u32 value = 0, tmp = 0; tmp 655 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], MON_A_CTRL, &tmp); tmp 663 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], MON_A_CTRL, &tmp); tmp 680 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], DENC_AB_CTRL, &tmp); tmp 689 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], BYP_AB_CTRL, &tmp); tmp 697 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], AFE_AB_DIAG_CTRL, &tmp); tmp 706 drivers/media/pci/cx25821/cx25821-medusa-video.c value = cx25821_i2c_read(&dev->i2c_bus[0], PIN_OE_CTRL, &tmp); tmp 63 drivers/media/pci/cx25821/cx25821-video.c int tmp = 0; tmp 79 drivers/media/pci/cx25821/cx25821-video.c tmp = cx_read(VID_CH_MODE_SEL); tmp 80 drivers/media/pci/cx25821/cx25821-video.c cx_write(VID_CH_MODE_SEL, tmp & 0xFFFFFE00); tmp 412 drivers/media/pci/cx25821/cx25821-video.c u32 tmp = 0; tmp 414 drivers/media/pci/cx25821/cx25821-video.c tmp = cx_read(sram_ch->dma_ctl); tmp 416 drivers/media/pci/cx25821/cx25821-video.c (tmp & 0x11) ? "streaming" : "stopped"); tmp 104 drivers/media/pci/cx88/cx88-dsp.c u64 tmp; tmp 114 drivers/media/pci/cx88/cx88-dsp.c tmp = (s64)s_prev2 * s_prev2 + (s64)s_prev * s_prev - tmp 122 drivers/media/pci/cx88/cx88-dsp.c do_div(tmp, divisor); tmp 124 drivers/media/pci/cx88/cx88-dsp.c return (u32)tmp; tmp 759 drivers/media/pci/cx88/cx88-mpeg.c struct cx8802_driver *drv, *tmp; tmp 764 drivers/media/pci/cx88/cx88-mpeg.c list_for_each_entry_safe(drv, tmp, &dev->drvlist, drvlist) { tmp 2810 drivers/media/pci/ddbridge/ddbridge-core.c u8 tmp[2]; tmp 2815 drivers/media/pci/ddbridge/ddbridge-core.c if (i2c_read_regs(adap, 0x48, 0, tmp, 2) < 0) tmp 2817 drivers/media/pci/ddbridge/ddbridge-core.c temp = (tmp[0] << 3) | (tmp[1] >> 5); tmp 2820 drivers/media/pci/ddbridge/ddbridge-core.c if (i2c_read_regs(adap, 0x49, 0, tmp, 2) < 0) tmp 2822 drivers/media/pci/ddbridge/ddbridge-core.c temp2 = (tmp[0] << 3) | (tmp[1] >> 5); tmp 2835 drivers/media/pci/ddbridge/ddbridge-core.c u8 tmp[2]; tmp 2841 drivers/media/pci/ddbridge/ddbridge-core.c if (i2c_read_regs(adap, 0x49, 0, tmp, 2) < 0) tmp 2842 drivers/media/pci/ddbridge/ddbridge-core.c if (i2c_read_regs(adap, 0x4d, 0, tmp, 2) < 0) tmp 2844 drivers/media/pci/ddbridge/ddbridge-core.c temp = tmp[0] * 1000; tmp 202 drivers/media/pci/ddbridge/ddbridge-sx8.c u32 tmp = modmask; tmp 205 drivers/media/pci/ddbridge/ddbridge-sx8.c while (tmp & 1) { tmp 206 drivers/media/pci/ddbridge/ddbridge-sx8.c tmp >>= 1; tmp 38 drivers/media/pci/dt3155/dt3155.c u32 tmp = index; tmp 40 drivers/media/pci/dt3155/dt3155.c iowrite32((tmp << 17) | IIC_READ, addr + IIC_CSR2); tmp 44 drivers/media/pci/dt3155/dt3155.c tmp = ioread32(addr + IIC_CSR1); tmp 45 drivers/media/pci/dt3155/dt3155.c if (tmp & DIRECT_ABORT) { tmp 50 drivers/media/pci/dt3155/dt3155.c *data = tmp >> 24; tmp 68 drivers/media/pci/dt3155/dt3155.c u32 tmp = index; tmp 70 drivers/media/pci/dt3155/dt3155.c iowrite32((tmp << 17) | IIC_WRITE | data, addr + IIC_CSR2); tmp 94 drivers/media/pci/dt3155/dt3155.c u32 tmp = index; tmp 96 drivers/media/pci/dt3155/dt3155.c iowrite32((tmp << 17) | IIC_WRITE | data, addr + IIC_CSR2); tmp 240 drivers/media/pci/dt3155/dt3155.c u32 tmp; tmp 242 drivers/media/pci/dt3155/dt3155.c tmp = ioread32(ipd->regs + INT_CSR) & (FLD_START | FLD_END_ODD); tmp 243 drivers/media/pci/dt3155/dt3155.c if (!tmp) tmp 245 drivers/media/pci/dt3155/dt3155.c if ((tmp & FLD_START) && !(tmp & FLD_END_ODD)) { tmp 250 drivers/media/pci/dt3155/dt3155.c tmp = ioread32(ipd->regs + CSR1) & (FLD_CRPT_EVEN | FLD_CRPT_ODD); tmp 251 drivers/media/pci/dt3155/dt3155.c if (tmp) { tmp 416 drivers/media/pci/dt3155/dt3155.c u8 tmp = 0; tmp 440 drivers/media/pci/dt3155/dt3155.c read_i2c_reg(pd->regs, DT_ID, &tmp); tmp 441 drivers/media/pci/dt3155/dt3155.c if (tmp != DT3155_ID) tmp 935 drivers/media/pci/ivtv/ivtv-streams.c u32 tmp = 0; tmp 946 drivers/media/pci/ivtv/ivtv-streams.c if (tmp == data[3]) tmp 948 drivers/media/pci/ivtv/ivtv-streams.c tmp = data[3]; tmp 67 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c u16 reg, tmp; tmp 95 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c tmp = readw(&i2c->regs->rx_fifo.stat_ctrl); tmp 96 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c writew(tmp & ~FIFO_IRQEN, &i2c->regs->rx_fifo.stat_ctrl); tmp 103 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c tmp = readw(&i2c->regs->tx_fifo.stat_ctrl); tmp 104 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c writew(tmp & ~FIFO_IRQEN, &i2c->regs->tx_fifo.stat_ctrl); tmp 834 drivers/media/pci/ngene/ngene-core.c dma_addr_t tmp; tmp 851 drivers/media/pci/ngene/ngene-core.c Head = pci_alloc_consistent(pci_dev, MemSize, &tmp); tmp 852 drivers/media/pci/ngene/ngene-core.c PARingBufferHead = tmp; tmp 886 drivers/media/pci/ngene/ngene-core.c dma_addr_t tmp; tmp 902 drivers/media/pci/ngene/ngene-core.c SCListMem = pci_alloc_consistent(pci_dev, SCListMemSize, &tmp); tmp 904 drivers/media/pci/ngene/ngene-core.c PASCListMem = tmp; tmp 922 drivers/media/pci/ngene/ngene-core.c &tmp); tmp 923 drivers/media/pci/ngene/ngene-core.c PABuffer = tmp; tmp 954 drivers/media/pci/ngene/ngene-core.c Buffer = pci_alloc_consistent(pci_dev, Buffer2Length, &tmp); tmp 955 drivers/media/pci/ngene/ngene-core.c PABuffer = tmp; tmp 51 drivers/media/pci/pt3/pt3.h u8 tmp; tmp 50 drivers/media/pci/pt3/pt3_i2c.c cbuf->tmp = cmd; tmp 52 drivers/media/pci/pt3/pt3_i2c.c cbuf->tmp |= cmd << 4; tmp 55 drivers/media/pci/pt3/pt3_i2c.c cbuf->data[buf_idx] = cbuf->tmp; tmp 359 drivers/media/pci/saa7134/saa7134-core.c struct saa7134_buf *tmp; tmp 364 drivers/media/pci/saa7134/saa7134-core.c tmp = list_entry(pos, struct saa7134_buf, entry); tmp 365 drivers/media/pci/saa7134/saa7134-core.c vb2_buffer_done(&tmp->vb2.vb2_buf, tmp 368 drivers/media/pci/saa7134/saa7134-core.c tmp = NULL; tmp 135 drivers/media/pci/saa7134/saa7134-ts.c struct saa7134_buf *buf, *tmp; tmp 137 drivers/media/pci/saa7134/saa7134-ts.c list_for_each_entry_safe(buf, tmp, &dmaq->queue, entry) { tmp 826 drivers/media/pci/saa7134/saa7134-video.c unsigned long bpl_uv,lines_uv,base2,base3,tmp; /* planar */ tmp 872 drivers/media/pci/saa7134/saa7134-video.c tmp = base2, base2 = base3, base3 = tmp; tmp 987 drivers/media/pci/saa7134/saa7134-video.c struct saa7134_buf *buf, *tmp; tmp 989 drivers/media/pci/saa7134/saa7134-video.c list_for_each_entry_safe(buf, tmp, &dmaq->queue, entry) { tmp 74 drivers/media/pci/saa7164/saa7164-cmd.c u8 tmp[512]; tmp 101 drivers/media/pci/saa7164/saa7164-cmd.c ret = saa7164_bus_get(dev, &tRsp, &tmp, 0); tmp 126 drivers/media/pci/saa7164/saa7164-cmd.c u8 tmp[512]; tmp 146 drivers/media/pci/saa7164/saa7164-cmd.c ret = saa7164_bus_get(dev, &tRsp, &tmp, 0); tmp 179 drivers/media/pci/saa7164/saa7164-cmd.c void *tmp; tmp 202 drivers/media/pci/saa7164/saa7164-cmd.c tmp = buf + idx * bus->m_wMaxReqSize; tmp 204 drivers/media/pci/saa7164/saa7164-cmd.c ret = saa7164_bus_set(dev, msg, tmp); tmp 192 drivers/media/pci/saa7164/saa7164-fw.c u32 tmp, filesize, version, err_flags, first_timeout, fwlength; tmp 486 drivers/media/pci/saa7164/saa7164-fw.c tmp = (boothdr->firmwaresize + boothdr->bslsize) * 16 + tmp 490 drivers/media/pci/saa7164/saa7164-fw.c fwhdr = (struct fw_header *)(fw->data+tmp); tmp 336 drivers/media/pci/ttpci/budget-ci.c int tmp; tmp 343 drivers/media/pci/ttpci/budget-ci.c tmp = ttpci_budget_debiread(&budget_ci->budget, DEBICICTL, DEBIADDR_CICONTROL, 1, 1, 0); tmp 345 drivers/media/pci/ttpci/budget-ci.c tmp | CICONTROL_ENABLETS, 1, 0); tmp 41 drivers/media/pci/ttpci/ttpci-eeprom.c u16 tmp = 0xffff; tmp 44 drivers/media/pci/ttpci/ttpci-eeprom.c tmp = (tmp << 8) | ((tmp >> 8) ^ buf[i]); tmp 45 drivers/media/pci/ttpci/ttpci-eeprom.c tmp ^= (tmp >> 4) & 0x0f; tmp 46 drivers/media/pci/ttpci/ttpci-eeprom.c tmp ^= (tmp << 12) ^ ((tmp & 0xff) << 5); tmp 48 drivers/media/pci/ttpci/ttpci-eeprom.c tmp ^= 0xffff; tmp 49 drivers/media/pci/ttpci/ttpci-eeprom.c return (((tmp >> 8) ^ buf[8]) | ((tmp & 0xff) ^ buf[9])); tmp 1972 drivers/media/platform/am437x/am437x-vpfe.c struct vpfe_cap_buffer *buf, *tmp; tmp 2015 drivers/media/platform/am437x/am437x-vpfe.c list_for_each_entry_safe(buf, tmp, &vpfe->dma_queue, list) { tmp 1839 drivers/media/platform/coda/coda-common.c struct v4l2_m2m_buffer *m2m_buf, *tmp; tmp 1917 drivers/media/platform/coda/coda-common.c list_for_each_entry_safe(m2m_buf, tmp, &list, list) { tmp 1926 drivers/media/platform/coda/coda-common.c list_for_each_entry_safe(m2m_buf, tmp, &list, list) { tmp 149 drivers/media/platform/coda/coda-h264.c int tmp = 0; tmp 158 drivers/media/platform/coda/coda-h264.c tmp |= ret << (num - i - 1); tmp 162 drivers/media/platform/coda/coda-h264.c *val = tmp; tmp 183 drivers/media/platform/coda/coda-h264.c unsigned int tmp = 0; tmp 192 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_bits(rbsp, leading_zero_bits, &tmp); tmp 198 drivers/media/platform/coda/coda-h264.c *val = (1 << leading_zero_bits) - 1 + tmp; tmp 207 drivers/media/platform/coda/coda-h264.c int tmp = value + 1; tmp 208 drivers/media/platform/coda/coda-h264.c int leading_zero_bits = fls(tmp) - 1; tmp 216 drivers/media/platform/coda/coda-h264.c return rbsp_write_bits(rbsp, leading_zero_bits + 1, tmp); tmp 221 drivers/media/platform/coda/coda-h264.c unsigned int tmp; tmp 224 drivers/media/platform/coda/coda-h264.c ret = rbsp_read_uev(rbsp, &tmp); tmp 229 drivers/media/platform/coda/coda-h264.c if (tmp & 1) tmp 230 drivers/media/platform/coda/coda-h264.c *val = (tmp + 1) / 2; tmp 232 drivers/media/platform/coda/coda-h264.c *val = -(tmp / 2); tmp 291 drivers/media/platform/davinci/vpbe_display.c struct vpbe_disp_buffer *buf, *tmp; tmp 295 drivers/media/platform/davinci/vpbe_display.c list_for_each_entry_safe(buf, tmp, &layer->dma_queue, list) { tmp 171 drivers/media/platform/davinci/vpif_capture.c struct vpif_cap_buffer *buf, *tmp; tmp 240 drivers/media/platform/davinci/vpif_capture.c list_for_each_entry_safe(buf, tmp, &common->dma_queue, list) { tmp 171 drivers/media/platform/davinci/vpif_display.c struct vpif_disp_buffer *buf, *tmp; tmp 235 drivers/media/platform/davinci/vpif_display.c list_for_each_entry_safe(buf, tmp, &common->dma_queue, list) { tmp 215 drivers/media/platform/exynos4-is/fimc-core.c u32 tmp = 1 << sh; tmp 216 drivers/media/platform/exynos4-is/fimc-core.c if (src >= tar * tmp) { tmp 217 drivers/media/platform/exynos4-is/fimc-core.c *shift = sh, *ratio = tmp; tmp 169 drivers/media/platform/exynos4-is/fimc-is.c u32 tmp = 0; tmp 189 drivers/media/platform/exynos4-is/fimc-is.c ret = of_property_read_u32(port, "reg", &tmp); tmp 198 drivers/media/platform/exynos4-is/fimc-is.c sensor->i2c_bus = tmp - FIMC_INPUT_MIPI_CSI2_0; tmp 670 drivers/media/platform/exynos4-is/fimc-reg.c u32 cfg, tmp; tmp 690 drivers/media/platform/exynos4-is/fimc-reg.c tmp = FIMC_REG_CSIIMGFMT_YCBCR422_8BIT; tmp 694 drivers/media/platform/exynos4-is/fimc-reg.c tmp = FIMC_REG_CSIIMGFMT_USER(1); tmp 703 drivers/media/platform/exynos4-is/fimc-reg.c tmp |= (csis_data_alignment == 32) << 8; tmp 705 drivers/media/platform/exynos4-is/fimc-reg.c writel(tmp, fimc->regs + FIMC_REG_CSIIMGFMT); tmp 98 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c u32 tmp; tmp 100 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c tmp = (0x04 + (comp & 0x3)); tmp 101 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c param->membership |= tmp << (i * 3); tmp 330 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c struct vdec_fb_node *node, *tmp; tmp 332 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c list_for_each_entry_safe(node, tmp, &inst->fb_use_list, list) tmp 655 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c struct vdec_fb_node *node, *tmp; tmp 657 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c list_for_each_entry_safe(node, tmp, &inst->fb_use_list, list) tmp 276 drivers/media/platform/mx2_emmaprp.c u32 tmp; tmp 312 drivers/media/platform/mx2_emmaprp.c tmp = readl(pcdev->base_emma + PRP_INTR_CNTL); tmp 313 drivers/media/platform/mx2_emmaprp.c writel(tmp | PRP_INTR_RDERR | tmp 321 drivers/media/platform/mx2_emmaprp.c tmp = readl(pcdev->base_emma + PRP_CNTL); tmp 322 drivers/media/platform/mx2_emmaprp.c writel(tmp | PRP_CNTL_CH2_OUT_YUV420 | tmp 997 drivers/media/platform/omap/omap_vout.c struct omap_vout_buffer *buf, *tmp; tmp 1074 drivers/media/platform/omap/omap_vout.c list_for_each_entry_safe(buf, tmp, &vout->dma_queue, queue) { tmp 1085 drivers/media/platform/omap/omap_vout.c struct omap_vout_buffer *buf, *tmp; tmp 1109 drivers/media/platform/omap/omap_vout.c list_for_each_entry_safe(buf, tmp, &vout->dma_queue, queue) { tmp 1550 drivers/media/platform/pxa_camera.c struct pxa_buffer *buf, *tmp; tmp 1556 drivers/media/platform/pxa_camera.c list_for_each_entry_safe(buf, tmp, &pcdev->capture, queue) tmp 1134 drivers/media/platform/qcom/camss/camss-vfe.c u32 tmp; tmp 1138 drivers/media/platform/qcom/camss/camss-vfe.c tmp = pixel_clock[j]; tmp 1145 drivers/media/platform/qcom/camss/camss-vfe.c tmp = pixel_clock[j] * bpp / 64; tmp 1148 drivers/media/platform/qcom/camss/camss-vfe.c if (min_rate < tmp) tmp 1149 drivers/media/platform/qcom/camss/camss-vfe.c min_rate = tmp; tmp 1216 drivers/media/platform/qcom/camss/camss-vfe.c u32 tmp; tmp 1220 drivers/media/platform/qcom/camss/camss-vfe.c tmp = pixel_clock[j]; tmp 1227 drivers/media/platform/qcom/camss/camss-vfe.c tmp = pixel_clock[j] * bpp / 64; tmp 1230 drivers/media/platform/qcom/camss/camss-vfe.c if (min_rate < tmp) tmp 1231 drivers/media/platform/qcom/camss/camss-vfe.c min_rate = tmp; tmp 306 drivers/media/platform/rcar_drif.c struct rcar_drif_frame_buf *fbuf, *tmp; tmp 310 drivers/media/platform/rcar_drif.c list_for_each_entry_safe(fbuf, tmp, &sdr->queued_bufs, list) { tmp 132 drivers/media/platform/s3c-camif/camif-core.c unsigned int tmp = 1 << sh; tmp 133 drivers/media/platform/s3c-camif/camif-core.c if (src >= tar * tmp) { tmp 134 drivers/media/platform/s3c-camif/camif-core.c *shift = sh, *ratio = tmp; tmp 356 drivers/media/platform/s3c-camif/camif-core.h struct camif_buffer *tmp, *buf; tmp 361 drivers/media/platform/s3c-camif/camif-core.h list_for_each_entry_safe(buf, tmp, &vp->active_buf_q, list) { tmp 597 drivers/media/platform/sti/bdisp/bdisp-hw.c u32 tmp; tmp 607 drivers/media/platform/sti/bdisp/bdisp-hw.c tmp = (from << 10) / to; tmp 608 drivers/media/platform/sti/bdisp/bdisp-hw.c if ((tmp > 0xFFFF) || (!tmp)) tmp 612 drivers/media/platform/sti/bdisp/bdisp-hw.c *inc = (u16)tmp; tmp 140 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c u32 tmp; tmp 184 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp = readl(fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id)); tmp 185 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp &= ~C8SECTPFE_PID_ENABLE; tmp 186 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c writel(tmp, fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id)); tmp 230 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp = channel->back_buffer_busaddr + FEI_BUFFER_SIZE - 1; tmp 231 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c writel(tmp, channel->irec + DMA_PRDS_BUSTOP_TP(0)); tmp 263 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c u32 tmp; tmp 280 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp = readl(fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id)); tmp 281 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp |= C8SECTPFE_PID_ENABLE; tmp 282 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c writel(tmp, fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id)); tmp 327 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp = channel->back_buffer_busaddr + FEI_BUFFER_SIZE - 1; tmp 328 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c writel(tmp, channel->irec + DMA_PRDS_BUSTOP_TP(0)); tmp 406 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c unsigned long tmp = readl(fei->io + DMA_IDLE_REQ); tmp 412 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c for_each_set_bit(bit, &tmp, fei->hw_stats.num_ib) { tmp 452 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c u32 tmp; tmp 551 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp = readl(fei->io + SYS_INPUT_CLKEN); tmp 552 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp |= BIT(tsin->tsin_id); tmp 553 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c writel(tmp, fei->io + SYS_INPUT_CLKEN); tmp 556 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp |= C8SECTPFE_SERIAL_NOT_PARALLEL; tmp 559 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp |= C8SECTPFE_INVERT_TSCLK; tmp 562 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp |= C8SECTPFE_ASYNC_NOT_SYNC; tmp 564 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp |= C8SECTPFE_ALIGN_BYTE_SOP | C8SECTPFE_BYTE_ENDIANNESS_MSB; tmp 566 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c writel(tmp, fei->io + C8SECTPFE_IB_IP_FMT_CFG(tsin->tsin_id)); tmp 601 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp = (C8SECTPFE_PID_ENABLE | C8SECTPFE_PID_NUMBITS(13) tmp 604 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c writel(tmp, fei->io + C8SECTPFE_IB_PID_SET(tsin->tsin_id)); tmp 634 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tmp = tsin->back_buffer_busaddr + FEI_BUFFER_SIZE - 1; tmp 635 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c writel(tmp, tsin->irec + DMA_PRDS_BUSTOP_TP(0)); tmp 1275 drivers/media/platform/ti-vpe/cal.c struct cal_buffer *buf, *tmp; tmp 1326 drivers/media/platform/ti-vpe/cal.c list_for_each_entry_safe(buf, tmp, &dma_q->active, list) { tmp 1337 drivers/media/platform/ti-vpe/cal.c struct cal_buffer *buf, *tmp; tmp 1348 drivers/media/platform/ti-vpe/cal.c list_for_each_entry_safe(buf, tmp, &dma_q->active, list) { tmp 296 drivers/media/platform/via-camera.c int tmp = viacam_read_reg(cam, reg); tmp 298 drivers/media/platform/via-camera.c tmp = (tmp & ~mask) | (value & mask); tmp 299 drivers/media/platform/via-camera.c viacam_write_reg(cam, reg, tmp); tmp 624 drivers/media/platform/via-camera.c struct via_buffer *buf, *tmp; tmp 653 drivers/media/platform/via-camera.c list_for_each_entry_safe(buf, tmp, &cam->buffer_queue, queue) { tmp 663 drivers/media/platform/via-camera.c struct via_buffer *buf, *tmp; tmp 668 drivers/media/platform/via-camera.c list_for_each_entry_safe(buf, tmp, &cam->buffer_queue, queue) { tmp 85 drivers/media/platform/vicodec/codec-fwht.c int tmp; tmp 88 drivers/media/platform/vicodec/codec-fwht.c while ((tmp = block[zigzag[i]]) == 0 && cnt < 14) { tmp 97 drivers/media/platform/vicodec/codec-fwht.c *output++ = htons((cnt | tmp << 4)); tmp 253 drivers/media/platform/vicodec/codec-fwht.c const u8 *tmp = block; tmp 259 drivers/media/platform/vicodec/codec-fwht.c for (i = 0; i < 8; i++, tmp += stride, out += 8) { tmp 262 drivers/media/platform/vicodec/codec-fwht.c workspace1[0] = tmp[0] + tmp[1] - add; tmp 263 drivers/media/platform/vicodec/codec-fwht.c workspace1[1] = tmp[0] - tmp[1]; tmp 265 drivers/media/platform/vicodec/codec-fwht.c workspace1[2] = tmp[2] + tmp[3] - add; tmp 266 drivers/media/platform/vicodec/codec-fwht.c workspace1[3] = tmp[2] - tmp[3]; tmp 268 drivers/media/platform/vicodec/codec-fwht.c workspace1[4] = tmp[4] + tmp[5] - add; tmp 269 drivers/media/platform/vicodec/codec-fwht.c workspace1[5] = tmp[4] - tmp[5]; tmp 271 drivers/media/platform/vicodec/codec-fwht.c workspace1[6] = tmp[6] + tmp[7] - add; tmp 272 drivers/media/platform/vicodec/codec-fwht.c workspace1[7] = tmp[6] - tmp[7]; tmp 275 drivers/media/platform/vicodec/codec-fwht.c workspace1[0] = tmp[0] + tmp[2] - add; tmp 276 drivers/media/platform/vicodec/codec-fwht.c workspace1[1] = tmp[0] - tmp[2]; tmp 278 drivers/media/platform/vicodec/codec-fwht.c workspace1[2] = tmp[4] + tmp[6] - add; tmp 279 drivers/media/platform/vicodec/codec-fwht.c workspace1[3] = tmp[4] - tmp[6]; tmp 281 drivers/media/platform/vicodec/codec-fwht.c workspace1[4] = tmp[8] + tmp[10] - add; tmp 282 drivers/media/platform/vicodec/codec-fwht.c workspace1[5] = tmp[8] - tmp[10]; tmp 284 drivers/media/platform/vicodec/codec-fwht.c workspace1[6] = tmp[12] + tmp[14] - add; tmp 285 drivers/media/platform/vicodec/codec-fwht.c workspace1[7] = tmp[12] - tmp[14]; tmp 288 drivers/media/platform/vicodec/codec-fwht.c workspace1[0] = tmp[0] + tmp[3] - add; tmp 289 drivers/media/platform/vicodec/codec-fwht.c workspace1[1] = tmp[0] - tmp[3]; tmp 291 drivers/media/platform/vicodec/codec-fwht.c workspace1[2] = tmp[6] + tmp[9] - add; tmp 292 drivers/media/platform/vicodec/codec-fwht.c workspace1[3] = tmp[6] - tmp[9]; tmp 294 drivers/media/platform/vicodec/codec-fwht.c workspace1[4] = tmp[12] + tmp[15] - add; tmp 295 drivers/media/platform/vicodec/codec-fwht.c workspace1[5] = tmp[12] - tmp[15]; tmp 297 drivers/media/platform/vicodec/codec-fwht.c workspace1[6] = tmp[18] + tmp[21] - add; tmp 298 drivers/media/platform/vicodec/codec-fwht.c workspace1[7] = tmp[18] - tmp[21]; tmp 301 drivers/media/platform/vicodec/codec-fwht.c workspace1[0] = tmp[0] + tmp[4] - add; tmp 302 drivers/media/platform/vicodec/codec-fwht.c workspace1[1] = tmp[0] - tmp[4]; tmp 304 drivers/media/platform/vicodec/codec-fwht.c workspace1[2] = tmp[8] + tmp[12] - add; tmp 305 drivers/media/platform/vicodec/codec-fwht.c workspace1[3] = tmp[8] - tmp[12]; tmp 307 drivers/media/platform/vicodec/codec-fwht.c workspace1[4] = tmp[16] + tmp[20] - add; tmp 308 drivers/media/platform/vicodec/codec-fwht.c workspace1[5] = tmp[16] - tmp[20]; tmp 310 drivers/media/platform/vicodec/codec-fwht.c workspace1[6] = tmp[24] + tmp[28] - add; tmp 311 drivers/media/platform/vicodec/codec-fwht.c workspace1[7] = tmp[24] - tmp[28]; tmp 386 drivers/media/platform/vicodec/codec-fwht.c const s16 *tmp = block; tmp 390 drivers/media/platform/vicodec/codec-fwht.c for (i = 0; i < 8; i++, tmp += stride, out += 8) { tmp 392 drivers/media/platform/vicodec/codec-fwht.c workspace1[0] = tmp[0] + tmp[1]; tmp 393 drivers/media/platform/vicodec/codec-fwht.c workspace1[1] = tmp[0] - tmp[1]; tmp 395 drivers/media/platform/vicodec/codec-fwht.c workspace1[2] = tmp[2] + tmp[3]; tmp 396 drivers/media/platform/vicodec/codec-fwht.c workspace1[3] = tmp[2] - tmp[3]; tmp 398 drivers/media/platform/vicodec/codec-fwht.c workspace1[4] = tmp[4] + tmp[5]; tmp 399 drivers/media/platform/vicodec/codec-fwht.c workspace1[5] = tmp[4] - tmp[5]; tmp 401 drivers/media/platform/vicodec/codec-fwht.c workspace1[6] = tmp[6] + tmp[7]; tmp 402 drivers/media/platform/vicodec/codec-fwht.c workspace1[7] = tmp[6] - tmp[7]; tmp 474 drivers/media/platform/vicodec/codec-fwht.c const s16 *tmp = block; tmp 478 drivers/media/platform/vicodec/codec-fwht.c for (i = 0; i < 8; i++, tmp += 8, out += 8) { tmp 480 drivers/media/platform/vicodec/codec-fwht.c workspace1[0] = tmp[0] + tmp[1]; tmp 481 drivers/media/platform/vicodec/codec-fwht.c workspace1[1] = tmp[0] - tmp[1]; tmp 483 drivers/media/platform/vicodec/codec-fwht.c workspace1[2] = tmp[2] + tmp[3]; tmp 484 drivers/media/platform/vicodec/codec-fwht.c workspace1[3] = tmp[2] - tmp[3]; tmp 486 drivers/media/platform/vicodec/codec-fwht.c workspace1[4] = tmp[4] + tmp[5]; tmp 487 drivers/media/platform/vicodec/codec-fwht.c workspace1[5] = tmp[4] - tmp[5]; tmp 489 drivers/media/platform/vicodec/codec-fwht.c workspace1[6] = tmp[6] + tmp[7]; tmp 490 drivers/media/platform/vicodec/codec-fwht.c workspace1[7] = tmp[6] - tmp[7]; tmp 592 drivers/media/platform/vicodec/codec-fwht.c const s16 *tmp = input; tmp 595 drivers/media/platform/vicodec/codec-fwht.c for (i = 0; i < 8 * 8; i++, tmp++) tmp 596 drivers/media/platform/vicodec/codec-fwht.c mean += *tmp; tmp 598 drivers/media/platform/vicodec/codec-fwht.c tmp = input; tmp 599 drivers/media/platform/vicodec/codec-fwht.c for (i = 0; i < 8 * 8; i++, tmp++) tmp 600 drivers/media/platform/vicodec/codec-fwht.c ret += (*tmp - mean) < 0 ? -(*tmp - mean) : (*tmp - mean); tmp 618 drivers/media/platform/vicodec/codec-fwht.c s16 tmp[64]; tmp 620 drivers/media/platform/vicodec/codec-fwht.c s16 *work = tmp; tmp 625 drivers/media/platform/vicodec/codec-fwht.c fill_encoder_block(cur, tmp, stride, input_step); tmp 627 drivers/media/platform/vicodec/codec-fwht.c vari = var_intra(tmp); tmp 638 drivers/media/platform/vicodec/codec-fwht.c vard = var_inter(old, tmp); tmp 279 drivers/media/platform/vivid/vivid-sdr-cap.c struct vivid_buffer *buf, *tmp; tmp 281 drivers/media/platform/vivid/vivid-sdr-cap.c list_for_each_entry_safe(buf, tmp, &dev->sdr_cap_active, list) { tmp 199 drivers/media/platform/vivid/vivid-vbi-cap.c struct vivid_buffer *buf, *tmp; tmp 201 drivers/media/platform/vivid/vivid-vbi-cap.c list_for_each_entry_safe(buf, tmp, &dev->vbi_cap_active, list) { tmp 95 drivers/media/platform/vivid/vivid-vbi-out.c struct vivid_buffer *buf, *tmp; tmp 97 drivers/media/platform/vivid/vivid-vbi-out.c list_for_each_entry_safe(buf, tmp, &dev->vbi_out_active, list) { tmp 237 drivers/media/platform/vivid/vivid-vid-cap.c struct vivid_buffer *buf, *tmp; tmp 239 drivers/media/platform/vivid/vivid-vid-cap.c list_for_each_entry_safe(buf, tmp, &dev->vid_cap_active, list) { tmp 173 drivers/media/platform/vivid/vivid-vid-out.c struct vivid_buffer *buf, *tmp; tmp 175 drivers/media/platform/vivid/vivid-vid-out.c list_for_each_entry_safe(buf, tmp, &dev->vid_out_active, list) { tmp 578 drivers/media/platform/vsp1/vsp1_dl.c struct vsp1_dl_body *dlb, *tmp; tmp 580 drivers/media/platform/vsp1/vsp1_dl.c list_for_each_entry_safe(dlb, tmp, &dl->bodies, list) { tmp 180 drivers/media/rc/ene_ir.c u16 tmp; tmp 190 drivers/media/rc/ene_ir.c tmp = ene_read_reg(dev, ENE_FW_SAMPLE_BUFFER); tmp 191 drivers/media/rc/ene_ir.c tmp |= ene_read_reg(dev, ENE_FW_SAMPLE_BUFFER+1) << 8; tmp 192 drivers/media/rc/ene_ir.c dev->extra_buf1_address = tmp; tmp 196 drivers/media/rc/ene_ir.c tmp = ene_read_reg(dev, ENE_FW_SAMPLE_BUFFER + 3); tmp 197 drivers/media/rc/ene_ir.c tmp |= ene_read_reg(dev, ENE_FW_SAMPLE_BUFFER + 4) << 8; tmp 198 drivers/media/rc/ene_ir.c dev->extra_buf2_address = tmp; tmp 50 drivers/media/rc/fintek-cir.c u8 tmp = fintek_cr_read(fintek, reg) | val; tmp 51 drivers/media/rc/fintek-cir.c fintek_cr_write(fintek, tmp, reg); tmp 57 drivers/media/rc/fintek-cir.c u8 tmp = fintek_cr_read(fintek, reg) & ~val; tmp 58 drivers/media/rc/fintek-cir.c fintek_cr_write(fintek, tmp, reg); tmp 564 drivers/media/rc/lirc_dev.c u32 tmp = val * 1000; tmp 566 drivers/media/rc/lirc_dev.c if (tmp < dev->min_timeout || tmp > dev->max_timeout) tmp 569 drivers/media/rc/lirc_dev.c ret = dev->s_timeout(dev, tmp); tmp 571 drivers/media/rc/lirc_dev.c dev->timeout = tmp; tmp 173 drivers/media/rc/mtk-cir.c u32 tmp; tmp 175 drivers/media/rc/mtk-cir.c tmp = __raw_readl(ir->base + reg); tmp 176 drivers/media/rc/mtk-cir.c tmp = (tmp & ~mask) | val; tmp 177 drivers/media/rc/mtk-cir.c __raw_writel(tmp, ir->base + reg); tmp 73 drivers/media/rc/nuvoton-cir.c u8 tmp = nvt_cr_read(nvt, reg) | val; tmp 74 drivers/media/rc/nuvoton-cir.c nvt_cr_write(nvt, tmp, reg); tmp 80 drivers/media/rc/nuvoton-cir.c u8 tmp = nvt_cr_read(nvt, reg) & ~val; tmp 81 drivers/media/rc/nuvoton-cir.c nvt_cr_write(nvt, tmp, reg); tmp 1073 drivers/media/rc/rc-main.c char *tmp = buf; tmp 1090 drivers/media/rc/rc-main.c tmp += sprintf(tmp, "[%s] ", proto_names[i].name); tmp 1092 drivers/media/rc/rc-main.c tmp += sprintf(tmp, "%s ", proto_names[i].name); tmp 1100 drivers/media/rc/rc-main.c tmp += sprintf(tmp, "[lirc] "); tmp 1103 drivers/media/rc/rc-main.c if (tmp != buf) tmp 1104 drivers/media/rc/rc-main.c tmp--; tmp 1105 drivers/media/rc/rc-main.c *tmp = '\n'; tmp 1107 drivers/media/rc/rc-main.c return tmp + 1 - buf; tmp 1125 drivers/media/rc/rc-main.c const char *tmp; tmp 1131 drivers/media/rc/rc-main.c while ((tmp = strsep((char **)&buf, " \n")) != NULL) { tmp 1132 drivers/media/rc/rc-main.c if (!*tmp) tmp 1135 drivers/media/rc/rc-main.c if (*tmp == '+') { tmp 1138 drivers/media/rc/rc-main.c tmp++; tmp 1139 drivers/media/rc/rc-main.c } else if (*tmp == '-') { tmp 1142 drivers/media/rc/rc-main.c tmp++; tmp 1149 drivers/media/rc/rc-main.c if (!strcasecmp(tmp, proto_names[i].name)) { tmp 1156 drivers/media/rc/rc-main.c if (!strcasecmp(tmp, "lirc")) tmp 1160 drivers/media/rc/rc-main.c tmp); tmp 1457 drivers/media/rc/rc-main.c char *tmp = buf; tmp 1473 drivers/media/rc/rc-main.c tmp += sprintf(tmp, "[%s] ", protocols[i].name); tmp 1475 drivers/media/rc/rc-main.c tmp += sprintf(tmp, "%s ", protocols[i].name); tmp 1479 drivers/media/rc/rc-main.c if (tmp != buf) tmp 1480 drivers/media/rc/rc-main.c tmp--; tmp 1481 drivers/media/rc/rc-main.c *tmp = '\n'; tmp 1483 drivers/media/rc/rc-main.c return tmp + 1 - buf; tmp 472 drivers/media/rc/redrat3.c __be32 *tmp; tmp 476 drivers/media/rc/redrat3.c len = sizeof(*tmp); tmp 477 drivers/media/rc/redrat3.c tmp = kzalloc(len, GFP_KERNEL); tmp 478 drivers/media/rc/redrat3.c if (!tmp) tmp 484 drivers/media/rc/redrat3.c RR3_IR_IO_SIG_TIMEOUT, 0, tmp, len, HZ * 5); tmp 488 drivers/media/rc/redrat3.c timeout = redrat3_len_to_us(be32_to_cpup(tmp)); tmp 493 drivers/media/rc/redrat3.c kfree(tmp); tmp 150 drivers/media/rc/sunxi-cir.c unsigned long tmp = 0; tmp 291 drivers/media/rc/sunxi-cir.c tmp = readl(ir->base + SUNXI_IR_CTL_REG); tmp 292 drivers/media/rc/sunxi-cir.c writel(tmp | REG_CTL_GEN | REG_CTL_RXEN, ir->base + SUNXI_IR_CTL_REG); tmp 125 drivers/media/tuners/fc0012.c unsigned char reg[7], am, pm, multi, tmp; tmp 277 drivers/media/tuners/fc0012.c ret = fc0012_readreg(priv, 0x0e, &tmp); tmp 283 drivers/media/tuners/fc0012.c tmp &= 0x3f; tmp 286 drivers/media/tuners/fc0012.c if (tmp > 0x3c) { tmp 295 drivers/media/tuners/fc0012.c if (tmp < 0x02) { tmp 343 drivers/media/tuners/fc0012.c unsigned char tmp; tmp 364 drivers/media/tuners/fc0012.c ret = fc0012_readreg(priv, 0x12, &tmp); tmp 367 drivers/media/tuners/fc0012.c int_temp = tmp; tmp 369 drivers/media/tuners/fc0012.c ret = fc0012_readreg(priv, 0x13, &tmp); tmp 372 drivers/media/tuners/fc0012.c lna_gain = tmp & 0x1f; tmp 182 drivers/media/tuners/fc0013.c u8 tmp; tmp 184 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x1d, &tmp); tmp 187 drivers/media/tuners/fc0013.c tmp &= 0xe3; tmp 189 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c); tmp 191 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x1d, tmp | 0x18); tmp 193 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x1d, tmp | 0x14); tmp 195 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x1d, tmp | 0x10); tmp 197 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x1d, tmp | 0x0c); tmp 199 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x1d, tmp | 0x08); tmp 201 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x1d, tmp | 0x04); tmp 203 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c); tmp 216 drivers/media/tuners/fc0013.c unsigned char reg[7], am, pm, multi, tmp; tmp 251 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x07, &tmp); tmp 254 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x07, tmp | 0x10); tmp 259 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x14, &tmp); tmp 262 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x14, tmp & 0x1f); tmp 267 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x07, &tmp); tmp 270 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x07, tmp & 0xef); tmp 275 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x14, &tmp); tmp 278 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x14, (tmp & 0x1f) | 0x40); tmp 283 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x07, &tmp); tmp 286 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x07, tmp & 0xef); tmp 291 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x14, &tmp); tmp 294 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x14, (tmp & 0x1f) | 0x20); tmp 415 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x11, &tmp); tmp 419 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x11, tmp | 0x04); tmp 421 drivers/media/tuners/fc0013.c ret = fc0013_writereg(priv, 0x11, tmp & 0xfb); tmp 436 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x0e, &tmp); tmp 442 drivers/media/tuners/fc0013.c tmp &= 0x3f; tmp 445 drivers/media/tuners/fc0013.c if (tmp > 0x3c) { tmp 454 drivers/media/tuners/fc0013.c if (tmp < 0x02) { tmp 502 drivers/media/tuners/fc0013.c unsigned char tmp; tmp 523 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x13, &tmp); tmp 526 drivers/media/tuners/fc0013.c int_temp = tmp; tmp 528 drivers/media/tuners/fc0013.c ret = fc0013_readreg(priv, 0x14, &tmp); tmp 531 drivers/media/tuners/fc0013.c lna_gain = tmp & 0x1f; tmp 174 drivers/media/tuners/mxl301rf.c u32 tmp, div; tmp 196 drivers/media/tuners/mxl301rf.c tmp = freq % 1000000; tmp 201 drivers/media/tuners/mxl301rf.c if (tmp > div) { tmp 202 drivers/media/tuners/mxl301rf.c tmp -= div; tmp 206 drivers/media/tuners/mxl301rf.c if (tmp > 7812) tmp 391 drivers/media/tuners/r820t.c u8 tmp = val; /* work around GCC PR81715 with asan-stack=1 */ tmp 393 drivers/media/tuners/r820t.c return r820t_write(priv, reg, &tmp, 1); tmp 409 drivers/media/tuners/r820t.c u8 tmp = val; tmp 415 drivers/media/tuners/r820t.c tmp = (rc & ~bit_mask) | (tmp & bit_mask); tmp 417 drivers/media/tuners/r820t.c return r820t_write(priv, reg, &tmp, 1); tmp 1530 drivers/media/tuners/r820t.c struct r820t_sect_type tmp; tmp 1537 drivers/media/tuners/r820t.c tmp.gain_x = 0; tmp 1538 drivers/media/tuners/r820t.c tmp.phase_y = 0; tmp 1539 drivers/media/tuners/r820t.c tmp.value = 255; tmp 1578 drivers/media/tuners/r820t.c if (cross[i].value < tmp.value) tmp 1579 drivers/media/tuners/r820t.c tmp = cross[i]; tmp 1582 drivers/media/tuners/r820t.c if ((tmp.phase_y & 0x1f) == 1) { /* y-direction */ tmp 1612 drivers/media/tuners/r820t.c struct r820t_sect_type tmp; tmp 1622 drivers/media/tuners/r820t.c tmp.phase_y = iq[0].phase_y; tmp 1623 drivers/media/tuners/r820t.c tmp.gain_x = iq[0].gain_x; tmp 1625 drivers/media/tuners/r820t.c while (((tmp.gain_x & 0x1f) < IMR_TRIAL) && tmp 1626 drivers/media/tuners/r820t.c ((tmp.phase_y & 0x1f) < IMR_TRIAL)) { tmp 1628 drivers/media/tuners/r820t.c tmp.gain_x++; tmp 1630 drivers/media/tuners/r820t.c tmp.phase_y++; tmp 1632 drivers/media/tuners/r820t.c rc = r820t_write_reg(priv, 0x08, tmp.gain_x); tmp 1636 drivers/media/tuners/r820t.c rc = r820t_write_reg(priv, 0x09, tmp.phase_y); tmp 1643 drivers/media/tuners/r820t.c tmp.value = rc; tmp 1645 drivers/media/tuners/r820t.c if (tmp.value <= iq[0].value) { tmp 1646 drivers/media/tuners/r820t.c iq[0].gain_x = tmp.gain_x; tmp 1647 drivers/media/tuners/r820t.c iq[0].phase_y = tmp.phase_y; tmp 1648 drivers/media/tuners/r820t.c iq[0].value = tmp.value; tmp 1663 drivers/media/tuners/r820t.c u8 tmp, var_reg; tmp 1703 drivers/media/tuners/r820t.c tmp = 2 - (var_val & 0x1f); tmp 1708 drivers/media/tuners/r820t.c var_val |= tmp; tmp 1710 drivers/media/tuners/r820t.c var_val |= 0x20 | tmp; tmp 414 drivers/media/tuners/xc4000.c u32 tmp; tmp 420 drivers/media/tuners/xc4000.c tmp = (u32)regData & 0xFFFFU; tmp 421 drivers/media/tuners/xc4000.c tmp = (tmp < 0x8000U ? tmp : 0x10000U - tmp); tmp 422 drivers/media/tuners/xc4000.c (*freq_error_hz) = tmp * 15625; tmp 485 drivers/media/tuners/xc5000.c u32 tmp; tmp 491 drivers/media/tuners/xc5000.c tmp = (u32)reg_data; tmp 492 drivers/media/tuners/xc5000.c (*freq_error_hz) = (tmp * 15625) / 1000; tmp 560 drivers/media/usb/airspy/airspy.c struct airspy_frame_buf *buf, *tmp; tmp 562 drivers/media/usb/airspy/airspy.c list_for_each_entry_safe(buf, tmp, &s->queued_bufs, list) { tmp 1314 drivers/media/usb/au0828/au0828-video.c unsigned int tmp; tmp 1328 drivers/media/usb/au0828/au0828-video.c tmp = input->index; tmp 1330 drivers/media/usb/au0828/au0828-video.c if (tmp >= AU0828_MAX_INPUT) tmp 1332 drivers/media/usb/au0828/au0828-video.c if (AUVI_INPUT(tmp).type == 0) tmp 1335 drivers/media/usb/au0828/au0828-video.c input->index = tmp; tmp 1336 drivers/media/usb/au0828/au0828-video.c strscpy(input->name, inames[AUVI_INPUT(tmp).type], sizeof(input->name)); tmp 1337 drivers/media/usb/au0828/au0828-video.c if ((AUVI_INPUT(tmp).type == AU0828_VMUX_TELEVISION) || tmp 1338 drivers/media/usb/au0828/au0828-video.c (AUVI_INPUT(tmp).type == AU0828_VMUX_CABLE)) { tmp 1935 drivers/media/usb/au0828/au0828-video.c u16 tmp = le16_to_cpu(endpoint->wMaxPacketSize); tmp 1936 drivers/media/usb/au0828/au0828-video.c dev->max_pkt_size = (tmp & 0x07ff) * tmp 1937 drivers/media/usb/au0828/au0828-video.c (((tmp & 0x1800) >> 11) + 1); tmp 712 drivers/media/usb/cx231xx/cx231xx-audio.c u16 tmp; tmp 719 drivers/media/usb/cx231xx/cx231xx-audio.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe].desc. tmp 722 drivers/media/usb/cx231xx/cx231xx-audio.c (tmp & 0x07ff) * (((tmp & 0x1800) >> 11) + 1); tmp 2227 drivers/media/usb/cx231xx/cx231xx-avcore.c u32 tmp = 0; tmp 2243 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp = le32_to_cpu(*((__le32 *) value)); tmp 2248 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp &= (~PWR_MODE_MASK); tmp 2250 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_AV_EN; tmp 2251 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2252 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2253 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2254 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2259 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_ISO_EN; tmp 2260 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2261 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2262 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2263 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2269 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= POLARIS_AVMODE_ENXTERNAL_AV; tmp 2270 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2271 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2272 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2273 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2283 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_DEMOD_EN; tmp 2284 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2285 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2286 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2287 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2292 drivers/media/usb/cx231xx/cx231xx-avcore.c if (!(tmp & PWR_TUNER_EN)) { tmp 2293 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= (PWR_TUNER_EN); tmp 2294 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2295 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2296 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2297 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2303 drivers/media/usb/cx231xx/cx231xx-avcore.c if (!(tmp & PWR_AV_EN)) { tmp 2304 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_AV_EN; tmp 2305 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2306 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2307 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2308 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2313 drivers/media/usb/cx231xx/cx231xx-avcore.c if (!(tmp & PWR_ISO_EN)) { tmp 2314 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_ISO_EN; tmp 2315 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2316 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2317 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2318 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2324 drivers/media/usb/cx231xx/cx231xx-avcore.c if (!(tmp & POLARIS_AVMODE_ANALOGT_TV)) { tmp 2325 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= POLARIS_AVMODE_ANALOGT_TV; tmp 2326 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2327 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2328 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2329 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2347 drivers/media/usb/cx231xx/cx231xx-avcore.c if (!(tmp & PWR_TUNER_EN)) { tmp 2348 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= (PWR_TUNER_EN); tmp 2349 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2350 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2351 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2352 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2357 drivers/media/usb/cx231xx/cx231xx-avcore.c if (!(tmp & PWR_AV_EN)) { tmp 2358 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_AV_EN; tmp 2359 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2360 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2361 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2362 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2367 drivers/media/usb/cx231xx/cx231xx-avcore.c if (!(tmp & PWR_ISO_EN)) { tmp 2368 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_ISO_EN; tmp 2369 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2370 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2371 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2372 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2378 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp &= (~PWR_AV_MODE); tmp 2379 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= POLARIS_AVMODE_DIGITAL; tmp 2380 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2381 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2382 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2383 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2388 drivers/media/usb/cx231xx/cx231xx-avcore.c if (!(tmp & PWR_DEMOD_EN)) { tmp 2389 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_DEMOD_EN; tmp 2390 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2391 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2392 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2393 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2418 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= PWR_RESETOUT_EN; tmp 2419 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2420 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2421 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2422 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2443 drivers/media/usb/cx231xx/cx231xx-avcore.c u32 tmp = 0; tmp 2451 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp = le32_to_cpu(*((__le32 *) value)); tmp 2452 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp &= (~PWR_MODE_MASK); tmp 2454 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2455 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2456 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2457 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2470 drivers/media/usb/cx231xx/cx231xx-avcore.c u32 tmp = 0; tmp 2479 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp = le32_to_cpu(*((__le32 *) value)); tmp 2480 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp |= ep_mask; tmp 2481 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2482 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2483 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2484 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2495 drivers/media/usb/cx231xx/cx231xx-avcore.c u32 tmp = 0; tmp 2504 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp = le32_to_cpu(*((__le32 *) value)); tmp 2505 drivers/media/usb/cx231xx/cx231xx-avcore.c tmp &= (~ep_mask); tmp 2506 drivers/media/usb/cx231xx/cx231xx-avcore.c value[0] = (u8) tmp; tmp 2507 drivers/media/usb/cx231xx/cx231xx-avcore.c value[1] = (u8) (tmp >> 8); tmp 2508 drivers/media/usb/cx231xx/cx231xx-avcore.c value[2] = (u8) (tmp >> 16); tmp 2509 drivers/media/usb/cx231xx/cx231xx-avcore.c value[3] = (u8) (tmp >> 24); tmp 2670 drivers/media/usb/cx231xx/cx231xx-avcore.c __le32 tmp; tmp 2673 drivers/media/usb/cx231xx/cx231xx-avcore.c status = cx231xx_send_gpio_cmd(dev, gpio_bit, (u8 *)&tmp, 4, 0, 1); tmp 2674 drivers/media/usb/cx231xx/cx231xx-avcore.c *gpio_val = le32_to_cpu(tmp); tmp 1585 drivers/media/usb/cx231xx/cx231xx-cards.c u16 tmp; tmp 1590 drivers/media/usb/cx231xx/cx231xx-cards.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe].desc.wMaxPacketSize); tmp 1591 drivers/media/usb/cx231xx/cx231xx-cards.c dev->video_mode.alt_max_pkt_size[i] = (tmp & 0x07ff) * (((tmp & 0x1800) >> 11) + 1); tmp 1626 drivers/media/usb/cx231xx/cx231xx-cards.c u16 tmp; tmp 1631 drivers/media/usb/cx231xx/cx231xx-cards.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe]. tmp 1634 drivers/media/usb/cx231xx/cx231xx-cards.c (tmp & 0x07ff) * (((tmp & 0x1800) >> 11) + 1); tmp 1668 drivers/media/usb/cx231xx/cx231xx-cards.c u16 tmp; tmp 1673 drivers/media/usb/cx231xx/cx231xx-cards.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe]. tmp 1676 drivers/media/usb/cx231xx/cx231xx-cards.c (tmp & 0x07ff) * (((tmp & 0x1800) >> 11) + 1); tmp 1864 drivers/media/usb/cx231xx/cx231xx-cards.c u16 tmp; tmp 1871 drivers/media/usb/cx231xx/cx231xx-cards.c tmp = le16_to_cpu(uif->altsetting[i]. tmp 1875 drivers/media/usb/cx231xx/cx231xx-cards.c (tmp & 0x07ff) * (((tmp & 0x1800) >> 11) + 1); tmp 1535 drivers/media/usb/cx231xx/cx231xx-core.c u32 tmp = 0; tmp 1543 drivers/media/usb/cx231xx/cx231xx-core.c tmp = le32_to_cpu(*((__le32 *) value)); tmp 1544 drivers/media/usb/cx231xx/cx231xx-core.c tmp |= mode; tmp 1546 drivers/media/usb/cx231xx/cx231xx-core.c value[0] = (u8) tmp; tmp 1547 drivers/media/usb/cx231xx/cx231xx-core.c value[1] = (u8) (tmp >> 8); tmp 1548 drivers/media/usb/cx231xx/cx231xx-core.c value[2] = (u8) (tmp >> 16); tmp 1549 drivers/media/usb/cx231xx/cx231xx-core.c value[3] = (u8) (tmp >> 24); tmp 1717 drivers/media/usb/cx231xx/cx231xx-core.c u32 tmp; tmp 1727 drivers/media/usb/cx231xx/cx231xx-core.c &tmp, 1); tmp 1731 drivers/media/usb/cx231xx/cx231xx-core.c &tmp, 4); tmp 1744 drivers/media/usb/cx231xx/cx231xx-core.c tmp &= ~mask; tmp 1745 drivers/media/usb/cx231xx/cx231xx-core.c tmp |= value; tmp 1746 drivers/media/usb/cx231xx/cx231xx-core.c tmp &= 0xff; tmp 1749 drivers/media/usb/cx231xx/cx231xx-core.c tmp, 1); tmp 1751 drivers/media/usb/cx231xx/cx231xx-core.c tmp &= ~mask; tmp 1752 drivers/media/usb/cx231xx/cx231xx-core.c tmp |= value; tmp 1755 drivers/media/usb/cx231xx/cx231xx-core.c tmp, 4); tmp 164 drivers/media/usb/dvb-usb-v2/af9035.c u8 tmp; tmp 168 drivers/media/usb/dvb-usb-v2/af9035.c ret = af9035_rd_regs(d, reg, &tmp, 1); tmp 173 drivers/media/usb/dvb-usb-v2/af9035.c tmp &= ~mask; tmp 174 drivers/media/usb/dvb-usb-v2/af9035.c val |= tmp; tmp 484 drivers/media/usb/dvb-usb-v2/af9035.c u8 tmp; tmp 514 drivers/media/usb/dvb-usb-v2/af9035.c ret = af9035_rd_reg(d, utmp, &tmp); tmp 518 drivers/media/usb/dvb-usb-v2/af9035.c if (tmp == 0x00) { tmp 546 drivers/media/usb/dvb-usb-v2/af9035.c tmp = state->eeprom[EEPROM_TS_MODE]; tmp 548 drivers/media/usb/dvb-usb-v2/af9035.c switch (tmp) { tmp 565 drivers/media/usb/dvb-usb-v2/af9035.c dev_dbg(&intf->dev, "ts mode=%d dual mode=%d\n", tmp, state->dual_mode); tmp 568 drivers/media/usb/dvb-usb-v2/af9035.c dev_info(&intf->dev, "ts mode=%d not supported, defaulting to single tuner mode!", tmp); tmp 727 drivers/media/usb/dvb-usb-v2/af9035.c u8 tmp; tmp 760 drivers/media/usb/dvb-usb-v2/af9035.c tmp = state->eeprom[EEPROM_2ND_DEMOD_ADDR]; tmp 763 drivers/media/usb/dvb-usb-v2/af9035.c if (!tmp) tmp 764 drivers/media/usb/dvb-usb-v2/af9035.c tmp = 0x1d << 1; /* 8-bit format used by chip */ tmp 768 drivers/media/usb/dvb-usb-v2/af9035.c ret = af9035_wr_reg(d, 0x004bfb, tmp); tmp 772 drivers/media/usb/dvb-usb-v2/af9035.c ret = af9035_wr_reg(d, 0x00417f, tmp); tmp 824 drivers/media/usb/dvb-usb-v2/af9035.c u8 tmp; tmp 874 drivers/media/usb/dvb-usb-v2/af9035.c tmp = state->eeprom[EEPROM_2ND_DEMOD_ADDR]; tmp 875 drivers/media/usb/dvb-usb-v2/af9035.c if (tmp) tmp 876 drivers/media/usb/dvb-usb-v2/af9035.c state->af9033_i2c_addr[1] = tmp >> 1; tmp 886 drivers/media/usb/dvb-usb-v2/af9035.c tmp = state->eeprom[EEPROM_1_TUNER_ID + eeprom_offset]; tmp 887 drivers/media/usb/dvb-usb-v2/af9035.c dev_dbg(&intf->dev, "[%d]tuner=%02x\n", i, tmp); tmp 893 drivers/media/usb/dvb-usb-v2/af9035.c switch (tmp) { tmp 897 drivers/media/usb/dvb-usb-v2/af9035.c state->af9033_config[i].tuner = tmp; tmp 902 drivers/media/usb/dvb-usb-v2/af9035.c switch (tmp) { tmp 906 drivers/media/usb/dvb-usb-v2/af9035.c state->af9033_config[i].tuner = tmp; tmp 912 drivers/media/usb/dvb-usb-v2/af9035.c state->af9033_config[i].tuner = tmp; tmp 915 drivers/media/usb/dvb-usb-v2/af9035.c if (state->af9033_config[i].tuner != tmp) { tmp 917 drivers/media/usb/dvb-usb-v2/af9035.c i, tmp, state->af9033_config[i].tuner); tmp 938 drivers/media/usb/dvb-usb-v2/af9035.c tmp); tmp 959 drivers/media/usb/dvb-usb-v2/af9035.c tmp = state->eeprom[EEPROM_1_IF_L + eeprom_offset]; tmp 960 drivers/media/usb/dvb-usb-v2/af9035.c tmp16 = tmp << 0; tmp 961 drivers/media/usb/dvb-usb-v2/af9035.c tmp = state->eeprom[EEPROM_1_IF_H + eeprom_offset]; tmp 962 drivers/media/usb/dvb-usb-v2/af9035.c tmp16 |= tmp << 8; tmp 970 drivers/media/usb/dvb-usb-v2/af9035.c ret = af9035_rd_reg(d, 0x00d800, &tmp); tmp 974 drivers/media/usb/dvb-usb-v2/af9035.c tmp = (tmp >> 0) & 0x0f; tmp 978 drivers/media/usb/dvb-usb-v2/af9035.c state->af9033_config[i].clock = clock_lut_it9135[tmp]; tmp 980 drivers/media/usb/dvb-usb-v2/af9035.c state->af9033_config[i].clock = clock_lut_af9035[tmp]; tmp 125 drivers/media/usb/dvb-usb-v2/anysee.c u8 tmp; tmp 129 drivers/media/usb/dvb-usb-v2/anysee.c ret = anysee_read_reg(d, reg, &tmp); tmp 134 drivers/media/usb/dvb-usb-v2/anysee.c tmp &= ~mask; tmp 135 drivers/media/usb/dvb-usb-v2/anysee.c val |= tmp; tmp 146 drivers/media/usb/dvb-usb-v2/anysee.c u8 tmp; tmp 148 drivers/media/usb/dvb-usb-v2/anysee.c ret = anysee_read_reg(d, reg, &tmp); tmp 152 drivers/media/usb/dvb-usb-v2/anysee.c tmp &= mask; tmp 159 drivers/media/usb/dvb-usb-v2/anysee.c *val = tmp >> i; tmp 711 drivers/media/usb/dvb-usb-v2/anysee.c u8 tmp; tmp 722 drivers/media/usb/dvb-usb-v2/anysee.c .buf = &tmp, tmp 795 drivers/media/usb/dvb-usb-v2/anysee.c tmp = 0; tmp 797 drivers/media/usb/dvb-usb-v2/anysee.c if (ret == 2 && tmp == 0xc7) { tmp 803 drivers/media/usb/dvb-usb-v2/anysee.c tmp = 0; tmp 821 drivers/media/usb/dvb-usb-v2/anysee.c if (tmp == 0xc7) { tmp 853 drivers/media/usb/dvb-usb-v2/anysee.c if (tmp == 0xc7) { tmp 1270 drivers/media/usb/dvb-usb-v2/anysee.c u8 tmp = 0; tmp 1272 drivers/media/usb/dvb-usb-v2/anysee.c ret = anysee_rd_reg_mask(d, REG_IOC, &tmp, 0x40); tmp 1276 drivers/media/usb/dvb-usb-v2/anysee.c if (tmp == 0) { tmp 25 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c u8 tmp; tmp 30 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_read_reg(state, 0x19, &tmp); tmp 33 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp &= ~(1 << (pin - 1)); tmp 34 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp |= (val << (pin - 1)); tmp 35 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_write_reg(state, 0x19, tmp); tmp 41 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_read_reg(state, 0x30, &tmp); tmp 44 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp &= ~(1 << (pin - 3)); tmp 45 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp |= (val << (pin - 3)); tmp 46 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_write_reg(state, 0x30, tmp); tmp 58 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c u8 tmp; tmp 69 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_read_reg(state, 0x23, &tmp); tmp 72 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c *val = (tmp >> (pin + 4)) & 0x01; tmp 78 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_read_reg(state, 0x2f, &tmp); tmp 81 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c *val = (tmp >> pin) & 0x01; tmp 86 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_read_reg(state, 0x22, &tmp); tmp 89 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c *val = (tmp >> (pin - 3)) & 0x01; tmp 108 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c u8 tmp; tmp 117 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_read_reg(state, MXL_GPIO_MUX_REG_0, &tmp); tmp 120 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp &= ~(1 << (gpio_cfg->pin + 4)); tmp 121 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp |= (gpio_cfg->dir << (gpio_cfg->pin + 4)); tmp 122 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_write_reg(state, MXL_GPIO_MUX_REG_0, tmp); tmp 130 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_read_reg(state, MXL_GPIO_MUX_REG_1, &tmp); tmp 133 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp &= ~(1 << gpio_cfg->pin); tmp 134 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp |= (gpio_cfg->dir << gpio_cfg->pin); tmp 135 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_write_reg(state, MXL_GPIO_MUX_REG_1, tmp); tmp 142 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_read_reg(state, MXL_GPIO_MUX_REG_2, &tmp); tmp 145 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp &= ~(1 << (gpio_cfg->pin - 3)); tmp 146 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c tmp |= (gpio_cfg->dir << (gpio_cfg->pin - 3)); tmp 147 drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c ret = mxl111sf_write_reg(state, MXL_GPIO_MUX_REG_2, tmp); tmp 114 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c u8 mode, tmp; tmp 157 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c &tmp); tmp 161 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c tmp |= V6_MPEG_SER_MSB_FIRST; tmp 163 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c tmp &= ~V6_MPEG_SER_MSB_FIRST; tmp 167 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c tmp); tmp 235 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c u8 tmp; tmp 239 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c ret = mxl111sf_read_reg(state, V6_I2S_STREAM_START_BIT_REG, &tmp); tmp 243 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c tmp &= 0xe0; tmp 244 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c tmp |= msb_start_pos; tmp 245 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c ret = mxl111sf_write_reg(state, V6_I2S_STREAM_START_BIT_REG, tmp); tmp 249 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c ret = mxl111sf_read_reg(state, V6_I2S_STREAM_END_BIT_REG, &tmp); tmp 253 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c tmp &= 0xe0; tmp 254 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c tmp |= data_width; tmp 255 drivers/media/usb/dvb-usb-v2/mxl111sf-phy.c ret = mxl111sf_write_reg(state, V6_I2S_STREAM_END_BIT_REG, tmp); tmp 113 drivers/media/usb/dvb-usb-v2/rtl28xxu.c u8 tmp; tmp 117 drivers/media/usb/dvb-usb-v2/rtl28xxu.c ret = rtl28xxu_rd_reg(d, reg, &tmp); tmp 122 drivers/media/usb/dvb-usb-v2/rtl28xxu.c tmp &= ~mask; tmp 123 drivers/media/usb/dvb-usb-v2/rtl28xxu.c val |= tmp; tmp 53 drivers/media/usb/dvb-usb/opera1.c u8 tmp; tmp 70 drivers/media/usb/dvb-usb/opera1.c tmp = buf[0]; tmp 77 drivers/media/usb/dvb-usb/opera1.c buf[0] = tmp; tmp 135 drivers/media/usb/dvb-usb/opera1.c int i = 0, tmp = 0; tmp 143 drivers/media/usb/dvb-usb/opera1.c if ((tmp = opera1_usb_i2c_msgxfer(d, tmp 151 drivers/media/usb/dvb-usb/opera1.c info("sending i2c message %d %d", tmp, msg[i].len); tmp 666 drivers/media/usb/em28xx/em28xx-audio.c struct snd_kcontrol_new tmp; tmp 668 drivers/media/usb/em28xx/em28xx-audio.c memset(&tmp, 0, sizeof(tmp)); tmp 669 drivers/media/usb/em28xx/em28xx-audio.c tmp.iface = SNDRV_CTL_ELEM_IFACE_MIXER, tmp 670 drivers/media/usb/em28xx/em28xx-audio.c tmp.private_value = id, tmp 671 drivers/media/usb/em28xx/em28xx-audio.c tmp.name = ctl_name, tmp 675 drivers/media/usb/em28xx/em28xx-audio.c tmp.get = em28xx_vol_get_mute; tmp 676 drivers/media/usb/em28xx/em28xx-audio.c tmp.put = em28xx_vol_put_mute; tmp 677 drivers/media/usb/em28xx/em28xx-audio.c tmp.info = snd_ctl_boolean_mono_info; tmp 678 drivers/media/usb/em28xx/em28xx-audio.c kctl = snd_ctl_new1(&tmp, dev); tmp 685 drivers/media/usb/em28xx/em28xx-audio.c memset(&tmp, 0, sizeof(tmp)); tmp 686 drivers/media/usb/em28xx/em28xx-audio.c tmp.iface = SNDRV_CTL_ELEM_IFACE_MIXER, tmp 687 drivers/media/usb/em28xx/em28xx-audio.c tmp.private_value = id, tmp 688 drivers/media/usb/em28xx/em28xx-audio.c tmp.name = ctl_name, tmp 692 drivers/media/usb/em28xx/em28xx-audio.c tmp.get = em28xx_vol_get; tmp 693 drivers/media/usb/em28xx/em28xx-audio.c tmp.put = em28xx_vol_put; tmp 694 drivers/media/usb/em28xx/em28xx-audio.c tmp.info = em28xx_vol_info; tmp 695 drivers/media/usb/em28xx/em28xx-audio.c tmp.tlv.p = em28xx_db_scale, tmp 696 drivers/media/usb/em28xx/em28xx-audio.c kctl = snd_ctl_new1(&tmp, dev); tmp 447 drivers/media/usb/gspca/m5602/m5602_mt9m111.c int err, tmp; tmp 461 drivers/media/usb/gspca/m5602/m5602_mt9m111.c tmp = (1 << 10) | (val << 9) | tmp 465 drivers/media/usb/gspca/m5602/m5602_mt9m111.c tmp = (1 << 9) | (1 << 8) | (val / 4); tmp 468 drivers/media/usb/gspca/m5602/m5602_mt9m111.c tmp = (1 << 8) | (val / 2); tmp 470 drivers/media/usb/gspca/m5602/m5602_mt9m111.c tmp = val; tmp 472 drivers/media/usb/gspca/m5602/m5602_mt9m111.c data[1] = (tmp & 0xff); tmp 473 drivers/media/usb/gspca/m5602/m5602_mt9m111.c data[0] = (tmp & 0xff00) >> 8; tmp 474 drivers/media/usb/gspca/m5602/m5602_mt9m111.c gspca_dbg(gspca_dev, D_CONF, "tmp=%d, data[1]=%d, data[0]=%d\n", tmp, tmp 57 drivers/media/usb/hdpvr/hdpvr-video.c struct list_head *tmp; tmp 60 drivers/media/usb/hdpvr/hdpvr-video.c list_for_each(tmp, list) { tmp 99 drivers/media/usb/hdpvr/hdpvr-video.c struct list_head *tmp; tmp 111 drivers/media/usb/hdpvr/hdpvr-video.c tmp = p->next; tmp 114 drivers/media/usb/hdpvr/hdpvr-video.c p = tmp; tmp 167 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c struct v4l2_input tmp; tmp 173 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c memset(&tmp, 0, sizeof(tmp)); tmp 174 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c tmp.index = vi->index; tmp 182 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c tmp.type = V4L2_INPUT_TYPE_TUNER; tmp 186 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c tmp.type = V4L2_INPUT_TYPE_CAMERA; tmp 194 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c tmp.name, sizeof(tmp.name) - 1, &cnt); tmp 195 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c tmp.name[cnt] = 0; tmp 206 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c *vi = tmp; tmp 288 drivers/media/usb/stkwebcam/stk-sensor.c u8 tmp; tmp 289 drivers/media/usb/stkwebcam/stk-sensor.c return stk_sensor_inb(dev, REG_COM2, &tmp) tmp 290 drivers/media/usb/stkwebcam/stk-sensor.c || stk_sensor_outb(dev, REG_COM2, tmp|COM2_SSLEEP); tmp 295 drivers/media/usb/stkwebcam/stk-sensor.c u8 tmp; tmp 296 drivers/media/usb/stkwebcam/stk-sensor.c return stk_sensor_inb(dev, REG_COM2, &tmp) tmp 297 drivers/media/usb/stkwebcam/stk-sensor.c || stk_sensor_outb(dev, REG_COM2, tmp&~COM2_SSLEEP); tmp 1150 drivers/media/usb/tm6000/tm6000-cards.c u16 tmp = le16_to_cpu(curr_e->desc.wMaxPacketSize); tmp 1151 drivers/media/usb/tm6000/tm6000-cards.c unsigned int size = tmp & 0x7ff; tmp 1154 drivers/media/usb/tm6000/tm6000-cards.c size = size * hb_mult(tmp); tmp 302 drivers/media/usb/ttusb-dec/ttusb_dec.c u16 tmp; tmp 307 drivers/media/usb/ttusb-dec/ttusb_dec.c tmp = (u8)crc; tmp 308 drivers/media/usb/ttusb-dec/ttusb_dec.c crc ^= (tmp ^ (tmp << 1)) << 4; tmp 389 drivers/media/usb/ttusb-dec/ttusb_dec.c __be32 tmp; tmp 399 drivers/media/usb/ttusb-dec/ttusb_dec.c memcpy(&tmp, c, 4); tmp 400 drivers/media/usb/ttusb-dec/ttusb_dec.c *mode = ntohl(tmp); tmp 403 drivers/media/usb/ttusb-dec/ttusb_dec.c memcpy(&tmp, &c[4], 4); tmp 404 drivers/media/usb/ttusb-dec/ttusb_dec.c *model = ntohl(tmp); tmp 407 drivers/media/usb/ttusb-dec/ttusb_dec.c memcpy(&tmp, &c[8], 4); tmp 408 drivers/media/usb/ttusb-dec/ttusb_dec.c *version = ntohl(tmp); tmp 1321 drivers/media/usb/ttusb-dec/ttusb_dec.c __be32 tmp; tmp 1347 drivers/media/usb/ttusb-dec/ttusb_dec.c memcpy(&tmp, &firmware[56], 4); tmp 1348 drivers/media/usb/ttusb-dec/ttusb_dec.c crc32_check = ntohl(tmp); tmp 145 drivers/media/usb/usbvision/usbvision-core.c char tmp[80]; tmp 150 drivers/media/usb/usbvision/usbvision-core.c printk("%s\n", tmp); tmp 153 drivers/media/usb/usbvision/usbvision-core.c k += sprintf(&tmp[k], "%02x ", data[i]); tmp 156 drivers/media/usb/usbvision/usbvision-core.c printk(KERN_CONT "%s\n", tmp); tmp 1497 drivers/media/usb/usbvision/usbvision-video.c u16 tmp; tmp 1504 drivers/media/usb/usbvision/usbvision-video.c tmp = le16_to_cpu(uif->altsetting[i].endpoint[1].desc. tmp 1507 drivers/media/usb/usbvision/usbvision-video.c (tmp & 0x07ff) * (((tmp & 0x1800) >> 11) + 1); tmp 72 drivers/media/usb/uvc/uvc_video.c u8 tmp; tmp 86 drivers/media/usb/uvc/uvc_video.c tmp = *(u8 *)data; tmp 93 drivers/media/usb/uvc/uvc_video.c *(u8 *)data = tmp; tmp 320 drivers/media/v4l2-core/v4l2-async.c struct v4l2_subdev *sd, *tmp; tmp 322 drivers/media/v4l2-core/v4l2-async.c list_for_each_entry_safe(sd, tmp, ¬ifier->done, async_list) { tmp 535 drivers/media/v4l2-core/v4l2-async.c struct v4l2_async_subdev *asd, *tmp; tmp 540 drivers/media/v4l2-core/v4l2-async.c list_for_each_entry_safe(asd, tmp, ¬ifier->asd_list, asd_list) { tmp 75 drivers/media/v4l2-core/v4l2-clk.c struct v4l2_clk *tmp; tmp 88 drivers/media/v4l2-core/v4l2-clk.c list_for_each_entry(tmp, &clk_list, list) tmp 89 drivers/media/v4l2-core/v4l2-clk.c if (tmp == clk) tmp 98 drivers/media/v4l2-core/v4l2-clk.c struct v4l2_clk *tmp; tmp 103 drivers/media/v4l2-core/v4l2-clk.c list_for_each_entry(tmp, &clk_list, list) tmp 104 drivers/media/v4l2-core/v4l2-clk.c if (tmp == clk) { tmp 783 drivers/media/v4l2-core/v4l2-compat-ioctl32.c compat_caddr_t tmp; tmp 786 drivers/media/v4l2-core/v4l2-compat-ioctl32.c get_user(tmp, &p32->base) || tmp 787 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user_force(compat_ptr(tmp), &p64->base) || tmp 1071 drivers/media/v4l2-core/v4l2-compat-ioctl32.c compat_uptr_t tmp; tmp 1077 drivers/media/v4l2-core/v4l2-compat-ioctl32.c get_user(tmp, &p32->edid) || tmp 1078 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user_force(compat_ptr(tmp), &p64->edid) || tmp 203 drivers/media/v4l2-core/v4l2-mem2mem.c struct v4l2_m2m_buffer *b, *tmp; tmp 208 drivers/media/v4l2-core/v4l2-mem2mem.c list_for_each_entry_safe(b, tmp, &q_ctx->rdy_queue, list) { tmp 179 drivers/memory/atmel-ebi.c u32 tmp; tmp 182 drivers/memory/atmel-ebi.c ret = of_property_read_u32(np, "atmel,smc-bus-width", &tmp); tmp 184 drivers/memory/atmel-ebi.c switch (tmp) { tmp 243 drivers/memory/atmel-ebi.c ret = of_property_read_u32(np, "atmel,smc-page-mode", &tmp); tmp 245 drivers/memory/atmel-ebi.c switch (tmp) { tmp 348 drivers/memory/tegra/mc.c u32 tmp; tmp 350 drivers/memory/tegra/mc.c err = of_property_read_u32(node, "clock-frequency", &tmp); tmp 357 drivers/memory/tegra/mc.c timing->rate = tmp; tmp 250 drivers/memory/ti-emif-pm.c unsigned long tmp = tmp 259 drivers/memory/ti-emif-pm.c if (tmp != ti_emif_sram) tmp 332 drivers/memstick/host/r592.c u8 tmp[4] = {0}; tmp 340 drivers/memstick/host/r592.c copy_len = kfifo_out(&dev->pio_fifo, tmp, 4); tmp 342 drivers/memstick/host/r592.c r592_write_reg_raw_be(dev, R592_FIFO_PIO, *(u32 *)tmp); tmp 380 drivers/memstick/host/r592.c u8 tmp[4]; tmp 401 drivers/memstick/host/r592.c *(u32 *)tmp = r592_read_reg_raw_be(dev, R592_FIFO_PIO); tmp 402 drivers/memstick/host/r592.c kfifo_in(&dev->pio_fifo, tmp, 4); tmp 1095 drivers/message/fusion/mptbase.c u32 tmp; tmp 1099 drivers/message/fusion/mptbase.c tmp = (u32)(upper_32_bits(dma_addr)); tmp 1107 drivers/message/fusion/mptbase.c tmp |= (1<<31); tmp 1115 drivers/message/fusion/mptbase.c pSge->Address.High = cpu_to_le32(tmp); tmp 1153 drivers/message/fusion/mptbase.c u32 tmp = dma_addr & 0xFFFFFFFF; tmp 1161 drivers/message/fusion/mptbase.c pChain->Address.Low = cpu_to_le32(tmp); tmp 1162 drivers/message/fusion/mptbase.c tmp = (u32)(upper_32_bits(dma_addr)); tmp 1163 drivers/message/fusion/mptbase.c pChain->Address.High = cpu_to_le32(tmp); tmp 6145 drivers/message/fusion/mptbase.c u32 tmp; tmp 6178 drivers/message/fusion/mptbase.c tmp = le32_to_cpu(pIoc1->Flags) & MPI_IOCPAGE1_REPLY_COALESCING; tmp 6179 drivers/message/fusion/mptbase.c if (tmp == MPI_IOCPAGE1_REPLY_COALESCING) { tmp 6180 drivers/message/fusion/mptbase.c tmp = le32_to_cpu(pIoc1->CoalescingTimeout); tmp 6183 drivers/message/fusion/mptbase.c ioc->name, tmp)); tmp 6185 drivers/message/fusion/mptbase.c if (tmp > MPT_COALESCING_TIMEOUT) { tmp 2568 drivers/message/fusion/mptctl.c int tmp, np, rc = 0; tmp 2617 drivers/message/fusion/mptctl.c tmp = (np & MPI_SCSIDEVPAGE0_NP_NEG_SYNC_PERIOD_MASK) >> 8; tmp 2618 drivers/message/fusion/mptctl.c if (tmp < 0x09) tmp 2620 drivers/message/fusion/mptctl.c else if (tmp <= 0x09) tmp 2622 drivers/message/fusion/mptctl.c else if (tmp <= 0x0A) tmp 2624 drivers/message/fusion/mptctl.c else if (tmp <= 0x0C) tmp 2626 drivers/message/fusion/mptctl.c else if (tmp <= 0x25) tmp 2929 drivers/message/fusion/mptsas.c u8 *tmp; tmp 2948 drivers/message/fusion/mptsas.c tmp = (u8 *)&manufacture_reply->component_id; tmp 2949 drivers/message/fusion/mptsas.c edev->component_id = tmp[0] << 8 | tmp[1]; tmp 54 drivers/mfd/abx500-core.c struct abx500_device_entry *dev_entry, *tmp; tmp 56 drivers/mfd/abx500-core.c list_for_each_entry_safe(dev_entry, tmp, &abx500_list, list) tmp 496 drivers/mfd/da903x.c unsigned int tmp; tmp 521 drivers/mfd/da903x.c chip->ops->read_events(chip, &tmp); tmp 113 drivers/mfd/ezx-pcap.c u32 tmp = PCAP_REGISTER_READ_OP_BIT | tmp 117 drivers/mfd/ezx-pcap.c ret = ezx_pcap_putget(pcap, &tmp); tmp 121 drivers/mfd/ezx-pcap.c tmp &= (PCAP_REGISTER_VALUE_MASK & ~mask); tmp 122 drivers/mfd/ezx-pcap.c tmp |= (val & mask) | PCAP_REGISTER_WRITE_OP_BIT | tmp 125 drivers/mfd/ezx-pcap.c ret = ezx_pcap_putget(pcap, &tmp); tmp 219 drivers/mfd/ezx-pcap.c u32 tmp; tmp 222 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); tmp 223 drivers/mfd/ezx-pcap.c tmp &= ~(PCAP_ADC_TS_M_MASK | PCAP_ADC_TS_REF_LOWPWR); tmp 224 drivers/mfd/ezx-pcap.c tmp |= bits & (PCAP_ADC_TS_M_MASK | PCAP_ADC_TS_REF_LOWPWR); tmp 225 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); tmp 232 drivers/mfd/ezx-pcap.c u32 tmp; tmp 234 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); tmp 235 drivers/mfd/ezx-pcap.c tmp &= ~(PCAP_ADC_ADEN|PCAP_ADC_BATT_I_ADC|PCAP_ADC_BATT_I_POLARITY); tmp 236 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); tmp 242 drivers/mfd/ezx-pcap.c u32 tmp; tmp 254 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); tmp 255 drivers/mfd/ezx-pcap.c tmp &= (PCAP_ADC_TS_M_MASK | PCAP_ADC_TS_REF_LOWPWR); tmp 256 drivers/mfd/ezx-pcap.c tmp |= pcap->adc_queue[head]->flags | PCAP_ADC_ADEN; tmp 259 drivers/mfd/ezx-pcap.c tmp |= PCAP_ADC_AD_SEL1; tmp 261 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); tmp 271 drivers/mfd/ezx-pcap.c u32 tmp; tmp 282 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); tmp 283 drivers/mfd/ezx-pcap.c tmp &= ~(PCAP_ADC_ADA1_MASK | PCAP_ADC_ADA2_MASK); tmp 284 drivers/mfd/ezx-pcap.c tmp |= (req->ch[0] << PCAP_ADC_ADA1_SHIFT); tmp 285 drivers/mfd/ezx-pcap.c tmp |= (req->ch[1] << PCAP_ADC_ADA2_SHIFT); tmp 286 drivers/mfd/ezx-pcap.c ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); tmp 287 drivers/mfd/ezx-pcap.c ezx_pcap_read(pcap, PCAP_REG_ADR, &tmp); tmp 288 drivers/mfd/ezx-pcap.c res[0] = (tmp & PCAP_ADR_ADD1_MASK) >> PCAP_ADR_ADD1_SHIFT; tmp 289 drivers/mfd/ezx-pcap.c res[1] = (tmp & PCAP_ADR_ADD2_MASK) >> PCAP_ADR_ADD2_SHIFT; tmp 294 drivers/mfd/intel-lpss.c struct clk *tmp = *clk; tmp 297 drivers/mfd/intel-lpss.c tmp = clk_register_gate(NULL, name, __clk_get_name(tmp), 0, tmp 299 drivers/mfd/intel-lpss.c if (IS_ERR(tmp)) tmp 300 drivers/mfd/intel-lpss.c return PTR_ERR(tmp); tmp 303 drivers/mfd/intel-lpss.c tmp = clk_register_fractional_divider(NULL, name, __clk_get_name(tmp), tmp 306 drivers/mfd/intel-lpss.c if (IS_ERR(tmp)) tmp 307 drivers/mfd/intel-lpss.c return PTR_ERR(tmp); tmp 308 drivers/mfd/intel-lpss.c *clk = tmp; tmp 311 drivers/mfd/intel-lpss.c tmp = clk_register_gate(NULL, name, __clk_get_name(tmp), tmp 313 drivers/mfd/intel-lpss.c if (IS_ERR(tmp)) tmp 314 drivers/mfd/intel-lpss.c return PTR_ERR(tmp); tmp 315 drivers/mfd/intel-lpss.c *clk = tmp; tmp 85 drivers/mfd/lm3533-core.c int tmp; tmp 88 drivers/mfd/lm3533-core.c ret = regmap_read(lm3533->regmap, reg, &tmp); tmp 95 drivers/mfd/lm3533-core.c *val = tmp; tmp 1239 drivers/mfd/sm501.c unsigned long tmp; tmp 1241 drivers/mfd/sm501.c tmp = smc501_readl(sm->regs + reg); tmp 1242 drivers/mfd/sm501.c tmp &= ~r->mask; tmp 1243 drivers/mfd/sm501.c tmp |= r->set; tmp 1244 drivers/mfd/sm501.c smc501_writel(tmp, sm->regs + reg); tmp 1659 drivers/mfd/sm501.c struct sm501_device *smdev, *tmp; tmp 1661 drivers/mfd/sm501.c list_for_each_entry_safe(smdev, tmp, &sm->devices, list) tmp 309 drivers/mfd/tps65010.c u8 tmp = 0, mask, poll; tmp 318 drivers/mfd/tps65010.c tmp = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS); tmp 319 drivers/mfd/tps65010.c mask = tmp ^ tps->regstatus; tmp 320 drivers/mfd/tps65010.c tps->regstatus = tmp; tmp 325 drivers/mfd/tps65010.c tps->regstatus = tmp; tmp 329 drivers/mfd/tps65010.c if (tmp & TPS_REG_ONOFF) { tmp 345 drivers/mfd/tps65010.c tmp = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS); tmp 346 drivers/mfd/tps65010.c mask = tmp ^ tps->chgstatus; tmp 347 drivers/mfd/tps65010.c tps->chgstatus = tmp; tmp 354 drivers/mfd/tps65010.c show_chgstatus("chg/irq", tmp); tmp 355 drivers/mfd/tps65010.c if (tmp & (TPS_CHG_USB|TPS_CHG_AC)) tmp 408 drivers/mfd/tps65010.c u8 chgconfig, tmp; tmp 422 drivers/mfd/tps65010.c tmp = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG); tmp 423 drivers/mfd/tps65010.c tps->chgconf = tmp; tmp 424 drivers/mfd/tps65010.c show_chgconfig(tps->por, "update vbus", tmp); tmp 342 drivers/mfd/tps6586x.c u8 tmp[4]; tmp 354 drivers/mfd/tps6586x.c tps6586x_reads(tps6586x->dev, TPS6586X_INT_ACK1, sizeof(tmp), tmp); tmp 677 drivers/mfd/twl-core.c struct twl_regulator_driver_data *tmp; tmp 678 drivers/mfd/twl-core.c tmp = pdata->driver_data; tmp 679 drivers/mfd/twl-core.c tmp->features |= features; tmp 328 drivers/misc/ad525x_dpot.c unsigned int tmp = 0, ctrl = 0; tmp 348 drivers/misc/ad525x_dpot.c tmp = dpot_read_d8(dpot); tmp 349 drivers/misc/ad525x_dpot.c if (tmp >> 6) /* Ready to Program? */ tmp 359 drivers/misc/ad525x_dpot.c tmp = dpot_read_r8d16(dpot, ctrl); tmp 360 drivers/misc/ad525x_dpot.c if (tmp >> 14) /* Ready to Program? */ tmp 367 drivers/misc/ad525x_dpot.c tmp = dpot_read_r8d16(dpot, tmp); tmp 368 drivers/misc/ad525x_dpot.c if (tmp >> 14) /* Ready to Program? */ tmp 273 drivers/misc/bh1770glc.c u8 tmp = 0; tmp 279 drivers/misc/bh1770glc.c tmp = bh1770_psadjusted_to_raw(chip, chip->prox_threshold); tmp 280 drivers/misc/bh1770glc.c chip->prox_threshold_hw = tmp; tmp 283 drivers/misc/bh1770glc.c tmp); tmp 362 drivers/misc/bh1770glc.c u32 tmp; tmp 364 drivers/misc/bh1770glc.c tmp = (BH1770_LUX_CORR_SCALE * chip->lux_ga) / BH1770_LUX_GA_SCALE; tmp 366 drivers/misc/bh1770glc.c tmp = (tmp * chip->lux_cf) / BH1770_LUX_CF_SCALE; tmp 368 drivers/misc/bh1770glc.c tmp = (tmp * chip->lux_calib) / BH1770_CALIB_SCALER; tmp 369 drivers/misc/bh1770glc.c return tmp; tmp 232 drivers/misc/cardreader/rtsx_pcr.c u8 tmp; tmp 246 drivers/misc/cardreader/rtsx_pcr.c err = rtsx_pci_read_register(pcr, PHYRWCTL, &tmp); tmp 250 drivers/misc/cardreader/rtsx_pcr.c if (!(tmp & 0x80)) { tmp 275 drivers/misc/cardreader/rtsx_pcr.c u8 *ptr, tmp; tmp 287 drivers/misc/cardreader/rtsx_pcr.c err = rtsx_pci_read_register(pcr, PHYRWCTL, &tmp); tmp 291 drivers/misc/cardreader/rtsx_pcr.c if (!(tmp & 0x80)) { tmp 300 drivers/misc/cxl/context.c int tmp; tmp 303 drivers/misc/cxl/context.c idr_for_each_entry(&afu->contexts_idr, ctx, tmp) { tmp 282 drivers/misc/cxl/irq.c struct cxl_irq_name *irq_name, *tmp; tmp 284 drivers/misc/cxl/irq.c list_for_each_entry_safe(irq_name, tmp, &ctx->irq_names, list) { tmp 651 drivers/misc/cxl/sysfs.c struct afu_config_record *cr, *tmp; tmp 665 drivers/misc/cxl/sysfs.c list_for_each_entry_safe(cr, tmp, &afu->crs, list) { tmp 266 drivers/misc/echo/echo.c int tmp; tmp 296 drivers/misc/echo/echo.c tmp = rx << 15; tmp 306 drivers/misc/echo/echo.c tmp -= (tmp >> 4); tmp 308 drivers/misc/echo/echo.c ec->rx_1 += -(ec->rx_1 >> DC_LOG2BETA) + tmp - ec->rx_2; tmp 321 drivers/misc/echo/echo.c ec->rx_2 = tmp; tmp 556 drivers/misc/echo/echo.c int tmp; tmp 560 drivers/misc/echo/echo.c tmp = tx << 15; tmp 570 drivers/misc/echo/echo.c tmp -= (tmp >> 4); tmp 572 drivers/misc/echo/echo.c ec->tx_1 += -(ec->tx_1 >> DC_LOG2BETA) + tmp - ec->tx_2; tmp 579 drivers/misc/echo/echo.c ec->tx_2 = tmp; tmp 218 drivers/misc/eeprom/eeprom_93cx6.c u16 tmp; tmp 221 drivers/misc/eeprom/eeprom_93cx6.c tmp = 0; tmp 222 drivers/misc/eeprom/eeprom_93cx6.c eeprom_93cx6_read(eeprom, word + i, &tmp); tmp 223 drivers/misc/eeprom/eeprom_93cx6.c data[i] = cpu_to_le16(tmp); tmp 241 drivers/misc/eeprom/eeprom_93cx6.c u16 tmp; tmp 258 drivers/misc/eeprom/eeprom_93cx6.c eeprom_93cx6_read_bits(eeprom, &tmp, 8); tmp 259 drivers/misc/eeprom/eeprom_93cx6.c *data = tmp & 0xff; tmp 376 drivers/misc/eeprom/eeprom_93xx46.c u32 tmp; tmp 383 drivers/misc/eeprom/eeprom_93xx46.c ret = of_property_read_u32(np, "data-size", &tmp); tmp 389 drivers/misc/eeprom/eeprom_93xx46.c if (tmp == 8) { tmp 391 drivers/misc/eeprom/eeprom_93xx46.c } else if (tmp == 16) { tmp 394 drivers/misc/eeprom/eeprom_93xx46.c dev_err(&spi->dev, "invalid data-size (%d)\n", tmp); tmp 445 drivers/misc/habanalabs/command_buffer.c struct hl_cb *cb, *tmp; tmp 447 drivers/misc/habanalabs/command_buffer.c list_for_each_entry_safe(cb, tmp, &hdev->cb_pool, pool_list) { tmp 164 drivers/misc/habanalabs/command_submission.c struct hl_cs_job *job, *tmp; tmp 176 drivers/misc/habanalabs/command_submission.c list_for_each_entry_safe(job, tmp, &cs->job_list, cs_node) tmp 354 drivers/misc/habanalabs/command_submission.c struct hl_cs_job *job, *tmp; tmp 356 drivers/misc/habanalabs/command_submission.c list_for_each_entry_safe(job, tmp, &cs->job_list, cs_node) tmp 362 drivers/misc/habanalabs/command_submission.c struct hl_cs *cs, *tmp; tmp 368 drivers/misc/habanalabs/command_submission.c list_for_each_entry_safe(cs, tmp, &hdev->hw_queues_mirror_list, tmp 697 drivers/misc/habanalabs/command_submission.c u32 tmp; tmp 700 drivers/misc/habanalabs/command_submission.c &ctx->thread_ctx_switch_wait_token, tmp, (tmp == 1), tmp 705 drivers/misc/habanalabs/command_submission.c "context switch phase timeout (%d)\n", tmp); tmp 70 drivers/misc/habanalabs/firmware_if.c u32 tmp; tmp 99 drivers/misc/habanalabs/firmware_if.c rc = hl_poll_timeout_memory(hdev, &pkt->fence, tmp, tmp 100 drivers/misc/habanalabs/firmware_if.c (tmp == ARMCP_PACKET_FENCE_VAL), 1000, tmp 106 drivers/misc/habanalabs/firmware_if.c dev_err(hdev->dev, "Device CPU packet timeout (0x%x)\n", tmp); tmp 111 drivers/misc/habanalabs/firmware_if.c tmp = le32_to_cpu(pkt->ctl); tmp 113 drivers/misc/habanalabs/firmware_if.c rc = (tmp & ARMCP_PKT_CTL_RC_MASK) >> ARMCP_PKT_CTL_RC_SHIFT; tmp 117 drivers/misc/habanalabs/firmware_if.c (tmp & ARMCP_PKT_CTL_OPCODE_MASK) tmp 2887 drivers/misc/habanalabs/goya/goya.c u32 tmp, timeout; tmp 2916 drivers/misc/habanalabs/goya/goya.c tmp = (PACKET_MSG_PROT << GOYA_PKT_CTL_OPCODE_SHIFT) | tmp 2919 drivers/misc/habanalabs/goya/goya.c fence_pkt->ctl = cpu_to_le32(tmp); tmp 2930 drivers/misc/habanalabs/goya/goya.c rc = hl_poll_timeout_memory(hdev, fence_ptr, tmp, tmp 2931 drivers/misc/habanalabs/goya/goya.c (tmp == GOYA_QMAN0_FENCE_VAL), 1000, tmp 2937 drivers/misc/habanalabs/goya/goya.c dev_err(hdev->dev, "QMAN0 Job timeout (0x%x)\n", tmp); tmp 2969 drivers/misc/habanalabs/goya/goya.c u32 fence_val, tmp; tmp 2996 drivers/misc/habanalabs/goya/goya.c tmp = (PACKET_MSG_PROT << GOYA_PKT_CTL_OPCODE_SHIFT) | tmp 2999 drivers/misc/habanalabs/goya/goya.c fence_pkt->ctl = cpu_to_le32(tmp); tmp 3012 drivers/misc/habanalabs/goya/goya.c rc = hl_poll_timeout_memory(hdev, fence_ptr, tmp, (tmp == fence_val), tmp 3020 drivers/misc/habanalabs/goya/goya.c hw_queue_id, (unsigned long long) fence_dma_addr, tmp); tmp 3992 drivers/misc/habanalabs/goya/goya.c u32 tmp; tmp 3997 drivers/misc/habanalabs/goya/goya.c tmp = (PACKET_MSG_PROT << GOYA_PKT_CTL_OPCODE_SHIFT) | tmp 4000 drivers/misc/habanalabs/goya/goya.c cq_pkt->ctl = cpu_to_le32(tmp); tmp 4006 drivers/misc/habanalabs/goya/goya.c tmp = (PACKET_MSG_PROT << GOYA_PKT_CTL_OPCODE_SHIFT) | tmp 4008 drivers/misc/habanalabs/goya/goya.c cq_pkt->ctl = cpu_to_le32(tmp); tmp 319 drivers/misc/habanalabs/hw_queue.c struct hl_cs_job *job, *tmp; tmp 375 drivers/misc/habanalabs/hw_queue.c list_for_each_entry_safe(job, tmp, &cs->job_list, cs_node) tmp 357 drivers/misc/habanalabs/memory.c struct hl_vm_va_block *va_block, *tmp; tmp 359 drivers/misc/habanalabs/memory.c list_for_each_entry_safe(va_block, tmp, va_list, node) { tmp 1372 drivers/misc/habanalabs/memory.c struct hl_userptr *userptr, *tmp; tmp 1374 drivers/misc/habanalabs/memory.c list_for_each_entry_safe(userptr, tmp, userptr_list, job_node) { tmp 495 drivers/misc/habanalabs/mmu.c struct hlist_node *tmp; tmp 506 drivers/misc/habanalabs/mmu.c hash_for_each_safe(ctx->mmu_shadow_hash, i, tmp, pgt_info, node) { tmp 77 drivers/misc/isl29003.c u8 tmp; tmp 84 drivers/misc/isl29003.c tmp = data->reg_cache[reg]; tmp 85 drivers/misc/isl29003.c tmp &= ~mask; tmp 86 drivers/misc/isl29003.c tmp |= val << shift; tmp 88 drivers/misc/isl29003.c ret = i2c_smbus_write_byte_data(client, reg, tmp); tmp 90 drivers/misc/isl29003.c data->reg_cache[reg] = tmp; tmp 38 drivers/misc/lis3lv02d/lis3lv02d_spi.c u8 tmp[2] = { reg, val }; tmp 40 drivers/misc/lis3lv02d/lis3lv02d_spi.c return spi_write(spi, tmp, sizeof(tmp)); tmp 174 drivers/misc/lkdtm/perms.c unsigned long user_addr, tmp = 0; tmp 185 drivers/misc/lkdtm/perms.c if (copy_to_user((void __user *)user_addr, &tmp, sizeof(tmp))) { tmp 194 drivers/misc/lkdtm/perms.c tmp = *ptr; tmp 195 drivers/misc/lkdtm/perms.c tmp += 0xc0dec0de; tmp 198 drivers/misc/lkdtm/perms.c *ptr = tmp; tmp 205 drivers/misc/lkdtm/perms.c unsigned long tmp; tmp 209 drivers/misc/lkdtm/perms.c tmp = *ptr; tmp 210 drivers/misc/lkdtm/perms.c tmp += 0xc0dec0de; tmp 213 drivers/misc/lkdtm/perms.c *ptr = tmp; tmp 139 drivers/misc/mic/host/mic_boot.c dma_addr_t tmp; tmp 143 drivers/misc/mic/host/mic_boot.c tmp = mic_map_single(mdev, va, size); tmp 144 drivers/misc/mic/host/mic_boot.c if (dma_mapping_error(dev, tmp)) { tmp 148 drivers/misc/mic/host/mic_boot.c *dma_handle = tmp; tmp 152 drivers/misc/mic/host/mic_intr.c struct list_head *pos, *tmp; tmp 160 drivers/misc/mic/host/mic_intr.c list_for_each_safe(pos, tmp, &mdev->irq_info.cb_list[i]) { tmp 263 drivers/misc/mic/host/mic_intr.c struct list_head *pos, *tmp; tmp 273 drivers/misc/mic/host/mic_intr.c list_for_each_safe(pos, tmp, &mdev->irq_info.cb_list[i]) { tmp 332 drivers/misc/mic/scif/scif_api.c int tmp; tmp 359 drivers/misc/mic/scif/scif_api.c tmp = scif_rsrv_port(pn); tmp 360 drivers/misc/mic/scif/scif_api.c if (tmp != pn) { tmp 1099 drivers/misc/mic/scif/scif_api.c char *tmp; tmp 1112 drivers/misc/mic/scif/scif_api.c tmp = kmalloc(chunk_len, GFP_KERNEL); tmp 1113 drivers/misc/mic/scif/scif_api.c if (!tmp) { tmp 1126 drivers/misc/mic/scif/scif_api.c if (copy_from_user(tmp, msg, loop_len)) { tmp 1130 drivers/misc/mic/scif/scif_api.c err = _scif_send(epd, tmp, loop_len, flags); tmp 1140 drivers/misc/mic/scif/scif_api.c kfree(tmp); tmp 1160 drivers/misc/mic/scif/scif_api.c char *tmp; tmp 1173 drivers/misc/mic/scif/scif_api.c tmp = kmalloc(chunk_len, GFP_KERNEL); tmp 1174 drivers/misc/mic/scif/scif_api.c if (!tmp) { tmp 1187 drivers/misc/mic/scif/scif_api.c err = _scif_recv(epd, tmp, loop_len, flags); tmp 1190 drivers/misc/mic/scif/scif_api.c if (copy_to_user(msg, tmp, err)) { tmp 1201 drivers/misc/mic/scif/scif_api.c kfree(tmp); tmp 111 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; tmp 119 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &mmn->tc_reg_list) { tmp 144 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; tmp 147 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &ep->rma_info.mmn_list) { tmp 155 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; tmp 159 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &ep->rma_info.mmn_list) { tmp 224 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; tmp 227 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &rma->mmn_list) { tmp 569 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; tmp 577 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &scif_info.rma) { tmp 613 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; tmp 621 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &scif_info.rma_tc) { tmp 366 drivers/misc/mic/scif/scif_fence.c struct list_head *item, *tmp; tmp 373 drivers/misc/mic/scif/scif_fence.c list_for_each_safe(item, tmp, &scif_info.fence) { tmp 124 drivers/misc/mic/scif/scif_mmap.c struct list_head *pos, *tmp; tmp 127 drivers/misc/mic/scif/scif_mmap.c list_for_each_safe(pos, tmp, &ep->rma_info.remote_reg_list) { tmp 458 drivers/misc/mic/scif/scif_nodeqp.c struct list_head *pos, *tmp; tmp 476 drivers/misc/mic/scif/scif_nodeqp.c list_for_each_safe(pos, tmp, &dev_i->p2p) { tmp 1304 drivers/misc/mic/scif/scif_nodeqp.c struct list_head *pos, *tmp; tmp 1309 drivers/misc/mic/scif/scif_nodeqp.c list_for_each_safe(pos, tmp, &scifdev->p2p) { tmp 1326 drivers/misc/mic/scif/scif_nodeqp.c list_for_each_safe(pos, tmp, &peer_dev->p2p) { tmp 771 drivers/misc/mic/scif/scif_rma.c dma_addr_t *dma_phys_lookup, *tmp, *num_pages_lookup, *tmp1; tmp 853 drivers/misc/mic/scif/scif_rma.c tmp = scif_ioremap(dma_phys_lookup[j], tmp 862 drivers/misc/mic/scif/scif_rma.c memcpy_toio((void __force __iomem *)tmp, tmp 881 drivers/misc/mic/scif/scif_rma.c (void __force __iomem *)&tmp[m]); tmp 895 drivers/misc/mic/scif/scif_rma.c memcpy_toio((void __force __iomem *)tmp, tmp 908 drivers/misc/mic/scif/scif_rma.c scif_iounmap(tmp, loop_nr_contig_chunks * tmp 227 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item, *tmp; tmp 233 drivers/misc/mic/scif/scif_rma_list.c list_for_each_safe(item, tmp, head) { tmp 249 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item, *tmp; tmp 258 drivers/misc/mic/scif/scif_rma_list.c tmp = NULL; tmp 259 drivers/misc/mic/scif/scif_rma_list.c list_for_each_safe(item, tmp, head) { tmp 97 drivers/misc/mic/vop/vop_debugfs.c struct list_head *pos, *tmp; tmp 102 drivers/misc/mic/vop/vop_debugfs.c list_for_each_safe(pos, tmp, &vi->vdev_list) { tmp 117 drivers/misc/mic/vop/vop_vringh.c struct list_head *pos, *tmp; tmp 120 drivers/misc/mic/vop/vop_vringh.c list_for_each_safe(pos, tmp, &vi->vdev_list) { tmp 892 drivers/misc/mic/vop/vop_vringh.c struct list_head *pos, *tmp; tmp 899 drivers/misc/mic/vop/vop_vringh.c list_for_each_safe(pos, tmp, &vi->vdev_list) { tmp 1139 drivers/misc/mic/vop/vop_vringh.c struct list_head *pos, *tmp; tmp 1144 drivers/misc/mic/vop/vop_vringh.c list_for_each_safe(pos, tmp, &vi->vdev_list) { tmp 261 drivers/misc/ocxl/context.c int tmp; tmp 264 drivers/misc/ocxl/context.c idr_for_each_entry(&afu->contexts_idr, ctx, tmp) { tmp 542 drivers/misc/ocxl/core.c struct ocxl_afu *afu, *tmp; tmp 544 drivers/misc/ocxl/core.c list_for_each_entry_safe(afu, tmp, &fn->afu_list, list) { tmp 112 drivers/misc/ocxl/mmio.c u32 tmp; tmp 124 drivers/misc/ocxl/mmio.c tmp = readl_be((char *)afu->global_mmio_ptr + offset); tmp 125 drivers/misc/ocxl/mmio.c tmp |= mask; tmp 126 drivers/misc/ocxl/mmio.c writel_be(tmp, (char *)afu->global_mmio_ptr + offset); tmp 130 drivers/misc/ocxl/mmio.c tmp = readl((char *)afu->global_mmio_ptr + offset); tmp 131 drivers/misc/ocxl/mmio.c tmp |= mask; tmp 132 drivers/misc/ocxl/mmio.c writel(tmp, (char *)afu->global_mmio_ptr + offset); tmp 143 drivers/misc/ocxl/mmio.c u64 tmp; tmp 155 drivers/misc/ocxl/mmio.c tmp = readq_be((char *)afu->global_mmio_ptr + offset); tmp 156 drivers/misc/ocxl/mmio.c tmp |= mask; tmp 157 drivers/misc/ocxl/mmio.c writeq_be(tmp, (char *)afu->global_mmio_ptr + offset); tmp 161 drivers/misc/ocxl/mmio.c tmp = readq((char *)afu->global_mmio_ptr + offset); tmp 162 drivers/misc/ocxl/mmio.c tmp |= mask; tmp 163 drivers/misc/ocxl/mmio.c writeq(tmp, (char *)afu->global_mmio_ptr + offset); tmp 174 drivers/misc/ocxl/mmio.c u32 tmp; tmp 186 drivers/misc/ocxl/mmio.c tmp = readl_be((char *)afu->global_mmio_ptr + offset); tmp 187 drivers/misc/ocxl/mmio.c tmp &= ~mask; tmp 188 drivers/misc/ocxl/mmio.c writel_be(tmp, (char *)afu->global_mmio_ptr + offset); tmp 192 drivers/misc/ocxl/mmio.c tmp = readl((char *)afu->global_mmio_ptr + offset); tmp 193 drivers/misc/ocxl/mmio.c tmp &= ~mask; tmp 194 drivers/misc/ocxl/mmio.c writel(tmp, (char *)afu->global_mmio_ptr + offset); tmp 206 drivers/misc/ocxl/mmio.c u64 tmp; tmp 218 drivers/misc/ocxl/mmio.c tmp = readq_be((char *)afu->global_mmio_ptr + offset); tmp 219 drivers/misc/ocxl/mmio.c tmp &= ~mask; tmp 220 drivers/misc/ocxl/mmio.c writeq_be(tmp, (char *)afu->global_mmio_ptr + offset); tmp 224 drivers/misc/ocxl/mmio.c tmp = readq((char *)afu->global_mmio_ptr + offset); tmp 225 drivers/misc/ocxl/mmio.c tmp &= ~mask; tmp 226 drivers/misc/ocxl/mmio.c writeq(tmp, (char *)afu->global_mmio_ptr + offset); tmp 230 drivers/misc/ocxl/mmio.c writeq(tmp, (char *)afu->global_mmio_ptr + offset); tmp 65 drivers/misc/ocxl/pasid.c struct id_range *cur, *tmp; tmp 67 drivers/misc/ocxl/pasid.c list_for_each_entry_safe(cur, tmp, head, list) { tmp 20 drivers/misc/ocxl/pci.c struct ocxl_afu *afu, *tmp; tmp 32 drivers/misc/ocxl/pci.c list_for_each_entry_safe(afu, tmp, afu_list, list) { tmp 488 drivers/misc/pch_phub.c unsigned int tmp; tmp 514 drivers/misc/pch_phub.c (unsigned char *)&tmp); tmp 515 drivers/misc/pch_phub.c rom_signature |= (tmp & 0xff) << 8; tmp 606 drivers/misc/pti.c const char __user *tmp; tmp 610 drivers/misc/pti.c tmp = data; tmp 626 drivers/misc/pti.c if (copy_from_user(kbuf, tmp, size)) { tmp 633 drivers/misc/pti.c tmp += size; tmp 222 drivers/misc/vexpress-syscfg.c struct vexpress_syscfg_func *func, *tmp; tmp 226 drivers/misc/vexpress-syscfg.c list_for_each_entry_safe(func, tmp, &syscfg->funcs, list) { tmp 928 drivers/misc/vmw_balloon.c struct page *page, *tmp; tmp 930 drivers/misc/vmw_balloon.c list_for_each_entry_safe(page, tmp, page_list, lru) { tmp 1049 drivers/misc/vmw_balloon.c struct page *page, *tmp; tmp 1062 drivers/misc/vmw_balloon.c list_for_each_entry_safe(page, tmp, &b->huge_pages, lru) { tmp 1088 drivers/misc/vmw_balloon.c struct page *page, *tmp; tmp 1093 drivers/misc/vmw_balloon.c list_for_each_entry_safe(page, tmp, &ctl->refused_pages, lru) { tmp 429 drivers/misc/vmw_vmci/vmci_context.c struct vmci_handle_list *notifier, *tmp; tmp 471 drivers/misc/vmw_vmci/vmci_context.c list_for_each_entry_safe(notifier, tmp, tmp 668 drivers/misc/vmw_vmci/vmci_context.c struct vmci_handle_list *notifier, *tmp; tmp 679 drivers/misc/vmw_vmci/vmci_context.c list_for_each_entry_safe(notifier, tmp, tmp 1365 drivers/misc/vmw_vmci/vmci_queue_pair.c u8 *tmp; tmp 1375 drivers/misc/vmw_vmci/vmci_queue_pair.c tmp = (u8 *)entry->local_mem + PAGE_SIZE * tmp 1377 drivers/misc/vmw_vmci/vmci_queue_pair.c entry->consume_q->q_header = (struct vmci_queue_header *)tmp; tmp 2557 drivers/misc/vmw_vmci/vmci_queue_pair.c const size_t tmp = (size_t) (produce_q_size - tail); tmp 2559 drivers/misc/vmw_vmci/vmci_queue_pair.c result = qp_memcpy_to_queue_iter(produce_q, tail, from, tmp); tmp 2562 drivers/misc/vmw_vmci/vmci_queue_pair.c written - tmp); tmp 2618 drivers/misc/vmw_vmci/vmci_queue_pair.c const size_t tmp = (size_t) (consume_q_size - head); tmp 2620 drivers/misc/vmw_vmci/vmci_queue_pair.c result = qp_memcpy_from_queue_iter(to, consume_q, head, tmp); tmp 2623 drivers/misc/vmw_vmci/vmci_queue_pair.c read - tmp); tmp 1153 drivers/misc/xilinx_sdfec.c u32 tmp; tmp 1167 drivers/misc/xilinx_sdfec.c tmp = ecc_err & XSDFEC_ALL_ECC_ISR_MBE_MASK; tmp 1169 drivers/misc/xilinx_sdfec.c uecc_count = hweight32(tmp); tmp 1176 drivers/misc/xilinx_sdfec.c dev_dbg(xsdfec->dev, "tmp=%x, uecc=%x, aecc=%x, cecc=%x, isr=%x", tmp, tmp 29 drivers/mmc/core/regulator.c int tmp; tmp 40 drivers/mmc/core/regulator.c tmp = vdd_bit - ilog2(MMC_VDD_165_195); tmp 41 drivers/mmc/core/regulator.c if (tmp == 0) { tmp 45 drivers/mmc/core/regulator.c *min_uV = 1900 * 1000 + tmp * 100 * 1000; tmp 473 drivers/mmc/host/alcor.c u32 tmp; tmp 491 drivers/mmc/host/alcor.c tmp = intmask & (AU6601_INT_READ_BUF_RDY | AU6601_INT_WRITE_BUF_RDY tmp 493 drivers/mmc/host/alcor.c switch (tmp) { tmp 573 drivers/mmc/host/alcor.c u32 intmask, tmp; tmp 586 drivers/mmc/host/alcor.c tmp = intmask & (AU6601_INT_CMD_MASK | AU6601_INT_DATA_MASK); tmp 587 drivers/mmc/host/alcor.c if (tmp) { tmp 588 drivers/mmc/host/alcor.c if (tmp & AU6601_INT_ERROR_MASK) tmp 589 drivers/mmc/host/alcor.c alcor_err_irq(host, tmp); tmp 591 drivers/mmc/host/alcor.c alcor_cmd_irq_thread(host, tmp); tmp 592 drivers/mmc/host/alcor.c alcor_data_irq_thread(host, tmp); tmp 622 drivers/mmc/host/alcor.c u32 status, tmp; tmp 632 drivers/mmc/host/alcor.c tmp = status & (AU6601_INT_READ_BUF_RDY | AU6601_INT_WRITE_BUF_RDY tmp 635 drivers/mmc/host/alcor.c if (tmp == status) { tmp 636 drivers/mmc/host/alcor.c cmd_done = alcor_cmd_irq_done(host, tmp); tmp 637 drivers/mmc/host/alcor.c data_done = alcor_data_irq_done(host, tmp); tmp 1038 drivers/mmc/host/atmel-mci.c u32 iflags, tmp; tmp 1056 drivers/mmc/host/atmel-mci.c tmp = atmci_readl(host, ATMCI_MR); tmp 1057 drivers/mmc/host/atmel-mci.c tmp &= 0x0000ffff; tmp 1058 drivers/mmc/host/atmel-mci.c tmp |= ATMCI_BLKLEN(data->blksz); tmp 1059 drivers/mmc/host/atmel-mci.c atmci_writel(host, ATMCI_MR, tmp); tmp 750 drivers/mmc/host/davinci_mmc.c u32 tmp = readl(host->base + DAVINCI_MMCST0); tmp 752 drivers/mmc/host/davinci_mmc.c if (tmp & MMCST0_RSPDNE) { tmp 612 drivers/mmc/host/jz4740_mmc.c uint16_t tmp; tmp 616 drivers/mmc/host/jz4740_mmc.c tmp = readw(fifo_addr); tmp 618 drivers/mmc/host/jz4740_mmc.c cmd->resp[i] = tmp << 24; tmp 619 drivers/mmc/host/jz4740_mmc.c tmp = readw(fifo_addr); tmp 620 drivers/mmc/host/jz4740_mmc.c cmd->resp[i] |= tmp << 8; tmp 621 drivers/mmc/host/jz4740_mmc.c tmp = readw(fifo_addr); tmp 622 drivers/mmc/host/jz4740_mmc.c cmd->resp[i] |= tmp >> 8; tmp 794 drivers/mmc/host/jz4740_mmc.c uint32_t irq_reg, status, tmp; tmp 799 drivers/mmc/host/jz4740_mmc.c tmp = irq_reg; tmp 802 drivers/mmc/host/jz4740_mmc.c tmp &= ~(JZ_MMC_IRQ_TXFIFO_WR_REQ | JZ_MMC_IRQ_RXFIFO_RD_REQ | tmp 805 drivers/mmc/host/jz4740_mmc.c if (tmp != irq_reg) tmp 806 drivers/mmc/host/jz4740_mmc.c jz4740_mmc_write_irq_reg(host, tmp & ~irq_reg); tmp 976 drivers/mmc/host/mmc_spi.c int tmp; tmp 1002 drivers/mmc/host/mmc_spi.c tmp = spi_sync_locked(spi, &host->m); tmp 1009 drivers/mmc/host/mmc_spi.c if (tmp < 0) { tmp 1011 drivers/mmc/host/mmc_spi.c data->error = tmp; tmp 1019 drivers/mmc/host/mmc_spi.c for (tmp = 2; tmp < statlen; tmp++) { tmp 1020 drivers/mmc/host/mmc_spi.c if (scratch->status[tmp] != 0) tmp 1023 drivers/mmc/host/mmc_spi.c tmp = mmc_spi_wait_unbusy(host, timeout); tmp 1024 drivers/mmc/host/mmc_spi.c if (tmp < 0 && !data->error) tmp 1025 drivers/mmc/host/mmc_spi.c data->error = tmp; tmp 562 drivers/mmc/host/mxcmmc.c u32 tmp; tmp 568 drivers/mmc/host/mxcmmc.c tmp = cpu_to_le32(mxcmci_readl(host, MMC_REG_BUFFER_ACCESS)); tmp 569 drivers/mmc/host/mxcmmc.c memcpy(b, &tmp, bytes); tmp 590 drivers/mmc/host/mxcmmc.c u32 tmp; tmp 596 drivers/mmc/host/mxcmmc.c memcpy(&tmp, b, bytes); tmp 597 drivers/mmc/host/mxcmmc.c mxcmci_writel(host, cpu_to_le32(tmp), MMC_REG_BUFFER_ACCESS); tmp 583 drivers/mmc/host/pxamci.c u32 tmp; tmp 590 drivers/mmc/host/pxamci.c if (of_property_read_u32(np, "pxa-mmc,detect-delay-ms", &tmp) == 0) tmp 591 drivers/mmc/host/pxamci.c host->detect_delay_ms = tmp; tmp 97 drivers/mmc/host/sdhci-cadence.c u32 tmp; tmp 100 drivers/mmc/host/sdhci-cadence.c tmp = FIELD_PREP(SDHCI_CDNS_HRS04_WDATA, data) | tmp 102 drivers/mmc/host/sdhci-cadence.c writel(tmp, reg); tmp 104 drivers/mmc/host/sdhci-cadence.c tmp |= SDHCI_CDNS_HRS04_WR; tmp 105 drivers/mmc/host/sdhci-cadence.c writel(tmp, reg); tmp 107 drivers/mmc/host/sdhci-cadence.c ret = readl_poll_timeout(reg, tmp, tmp & SDHCI_CDNS_HRS04_ACK, 0, 10); tmp 111 drivers/mmc/host/sdhci-cadence.c tmp &= ~SDHCI_CDNS_HRS04_WR; tmp 112 drivers/mmc/host/sdhci-cadence.c writel(tmp, reg); tmp 180 drivers/mmc/host/sdhci-cadence.c u32 tmp; tmp 183 drivers/mmc/host/sdhci-cadence.c tmp = readl(priv->hrs_addr + SDHCI_CDNS_HRS06); tmp 184 drivers/mmc/host/sdhci-cadence.c tmp &= ~SDHCI_CDNS_HRS06_MODE; tmp 185 drivers/mmc/host/sdhci-cadence.c tmp |= FIELD_PREP(SDHCI_CDNS_HRS06_MODE, mode); tmp 186 drivers/mmc/host/sdhci-cadence.c writel(tmp, priv->hrs_addr + SDHCI_CDNS_HRS06); tmp 191 drivers/mmc/host/sdhci-cadence.c u32 tmp; tmp 193 drivers/mmc/host/sdhci-cadence.c tmp = readl(priv->hrs_addr + SDHCI_CDNS_HRS06); tmp 194 drivers/mmc/host/sdhci-cadence.c return FIELD_GET(SDHCI_CDNS_HRS06_MODE, tmp); tmp 252 drivers/mmc/host/sdhci-cadence.c u32 tmp; tmp 258 drivers/mmc/host/sdhci-cadence.c tmp = readl(reg); tmp 259 drivers/mmc/host/sdhci-cadence.c tmp &= ~SDHCI_CDNS_HRS06_TUNE; tmp 260 drivers/mmc/host/sdhci-cadence.c tmp |= FIELD_PREP(SDHCI_CDNS_HRS06_TUNE, val); tmp 268 drivers/mmc/host/sdhci-cadence.c tmp |= SDHCI_CDNS_HRS06_TUNE_UP; tmp 269 drivers/mmc/host/sdhci-cadence.c writel(tmp, reg); tmp 271 drivers/mmc/host/sdhci-cadence.c ret = readl_poll_timeout(reg, tmp, tmp 272 drivers/mmc/host/sdhci-cadence.c !(tmp & SDHCI_CDNS_HRS06_TUNE_UP), tmp 1167 drivers/mmc/host/sdhci-esdhc-imx.c int tmp; tmp 1211 drivers/mmc/host/sdhci-esdhc-imx.c tmp = readl(host->ioaddr + ESDHC_VEND_SPEC2); tmp 1212 drivers/mmc/host/sdhci-esdhc-imx.c tmp |= ESDHC_VEND_SPEC2_EN_BUSY_IRQ; tmp 1213 drivers/mmc/host/sdhci-esdhc-imx.c writel(tmp, host->ioaddr + ESDHC_VEND_SPEC2); tmp 1219 drivers/mmc/host/sdhci-esdhc-imx.c tmp = readl(host->ioaddr + ESDHC_TUNING_CTRL); tmp 1220 drivers/mmc/host/sdhci-esdhc-imx.c tmp |= ESDHC_STD_TUNING_EN | tmp 1223 drivers/mmc/host/sdhci-esdhc-imx.c tmp &= ~ESDHC_TUNING_START_TAP_MASK; tmp 1224 drivers/mmc/host/sdhci-esdhc-imx.c tmp |= imx_data->boarddata.tuning_start_tap; tmp 1228 drivers/mmc/host/sdhci-esdhc-imx.c tmp &= ~ESDHC_TUNING_STEP_MASK; tmp 1229 drivers/mmc/host/sdhci-esdhc-imx.c tmp |= imx_data->boarddata.tuning_step tmp 1232 drivers/mmc/host/sdhci-esdhc-imx.c writel(tmp, host->ioaddr + ESDHC_TUNING_CTRL); tmp 1239 drivers/mmc/host/sdhci-esdhc-imx.c tmp = readl(host->ioaddr + ESDHC_TUNING_CTRL); tmp 1240 drivers/mmc/host/sdhci-esdhc-imx.c tmp &= ~ESDHC_STD_TUNING_EN; tmp 1241 drivers/mmc/host/sdhci-esdhc-imx.c writel(tmp, host->ioaddr + ESDHC_TUNING_CTRL); tmp 285 drivers/mmc/host/sdhci-of-esdhc.c u8 tmp; tmp 309 drivers/mmc/host/sdhci-of-esdhc.c tmp = (value & (~SDHCI_CTRL_DMA_MASK)) | tmp 311 drivers/mmc/host/sdhci-of-esdhc.c ret = (ret & (~0xff)) | tmp; tmp 52 drivers/mmc/host/sdhci-pxav2.c u16 tmp = 0; tmp 59 drivers/mmc/host/sdhci-pxav2.c tmp = readw(host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); tmp 61 drivers/mmc/host/sdhci-pxav2.c tmp &= ~(SDCLK_DELAY_MASK << SDCLK_DELAY_SHIFT); tmp 62 drivers/mmc/host/sdhci-pxav2.c tmp |= (pdata->clk_delay_cycles & SDCLK_DELAY_MASK) tmp 64 drivers/mmc/host/sdhci-pxav2.c tmp &= ~(SDCLK_SEL_MASK << SDCLK_SEL_SHIFT); tmp 65 drivers/mmc/host/sdhci-pxav2.c tmp |= (1 & SDCLK_SEL_MASK) << SDCLK_SEL_SHIFT; tmp 67 drivers/mmc/host/sdhci-pxav2.c writew(tmp, host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); tmp 71 drivers/mmc/host/sdhci-pxav2.c tmp = readw(host->ioaddr + SD_FIFO_PARAM); tmp 72 drivers/mmc/host/sdhci-pxav2.c tmp &= ~CLK_GATE_SETTING_BITS; tmp 73 drivers/mmc/host/sdhci-pxav2.c writew(tmp, host->ioaddr + SD_FIFO_PARAM); tmp 75 drivers/mmc/host/sdhci-pxav2.c tmp = readw(host->ioaddr + SD_FIFO_PARAM); tmp 76 drivers/mmc/host/sdhci-pxav2.c tmp &= ~CLK_GATE_SETTING_BITS; tmp 77 drivers/mmc/host/sdhci-pxav2.c tmp |= CLK_GATE_SETTING_BITS; tmp 78 drivers/mmc/host/sdhci-pxav2.c writew(tmp, host->ioaddr + SD_FIFO_PARAM); tmp 86 drivers/mmc/host/sdhci-pxav2.c u16 tmp; tmp 89 drivers/mmc/host/sdhci-pxav2.c tmp = readw(host->ioaddr + SD_CE_ATA_2); tmp 92 drivers/mmc/host/sdhci-pxav2.c tmp |= MMC_CARD | MMC_WIDTH; tmp 94 drivers/mmc/host/sdhci-pxav2.c tmp &= ~(MMC_CARD | MMC_WIDTH); tmp 100 drivers/mmc/host/sdhci-pxav2.c writew(tmp, host->ioaddr + SD_CE_ATA_2); tmp 179 drivers/mmc/host/sdhci-pxav3.c u16 tmp; tmp 181 drivers/mmc/host/sdhci-pxav3.c tmp = readw(host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); tmp 182 drivers/mmc/host/sdhci-pxav3.c tmp |= (pdata->clk_delay_cycles & SDCLK_DELAY_MASK) tmp 184 drivers/mmc/host/sdhci-pxav3.c tmp |= SDCLK_SEL; tmp 185 drivers/mmc/host/sdhci-pxav3.c writew(tmp, host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); tmp 195 drivers/mmc/host/sdhci-pxav3.c u16 tmp; tmp 209 drivers/mmc/host/sdhci-pxav3.c tmp = readw(host->ioaddr + SD_CE_ATA_2); tmp 210 drivers/mmc/host/sdhci-pxav3.c tmp |= SDCE_MISC_INT_EN; tmp 211 drivers/mmc/host/sdhci-pxav3.c writew(tmp, host->ioaddr + SD_CE_ATA_2); tmp 214 drivers/mmc/host/sdhci-pxav3.c tmp = readw(host->ioaddr + SD_CFG_FIFO_PARAM); tmp 215 drivers/mmc/host/sdhci-pxav3.c tmp |= SDCFG_GEN_PAD_CLK_ON; tmp 216 drivers/mmc/host/sdhci-pxav3.c writew(tmp, host->ioaddr + SD_CFG_FIFO_PARAM); tmp 233 drivers/mmc/host/sdhci-pxav3.c tmp = readw(host->ioaddr + SD_CE_ATA_2); tmp 234 drivers/mmc/host/sdhci-pxav3.c tmp |= SDCE_MISC_INT; tmp 235 drivers/mmc/host/sdhci-pxav3.c writew(tmp, host->ioaddr + SD_CE_ATA_2); tmp 238 drivers/mmc/host/sdhci-sprd.c u32 tmp; tmp 240 drivers/mmc/host/sdhci-sprd.c tmp = sdhci_readl(host, SDHCI_SPRD_REG_32_DLL_CFG); tmp 241 drivers/mmc/host/sdhci-sprd.c tmp &= ~(SDHCI_SPRD_DLL_EN | SDHCI_SPRD_DLL_ALL_CPST_EN); tmp 242 drivers/mmc/host/sdhci-sprd.c sdhci_writel(host, tmp, SDHCI_SPRD_REG_32_DLL_CFG); tmp 246 drivers/mmc/host/sdhci-sprd.c tmp = sdhci_readl(host, SDHCI_SPRD_REG_32_DLL_CFG); tmp 247 drivers/mmc/host/sdhci-sprd.c tmp |= SDHCI_SPRD_DLL_ALL_CPST_EN | SDHCI_SPRD_DLL_SEARCH_MODE | tmp 249 drivers/mmc/host/sdhci-sprd.c sdhci_writel(host, tmp, SDHCI_SPRD_REG_32_DLL_CFG); tmp 253 drivers/mmc/host/sdhci-sprd.c tmp = sdhci_readl(host, SDHCI_SPRD_REG_32_DLL_CFG); tmp 254 drivers/mmc/host/sdhci-sprd.c tmp |= SDHCI_SPRD_DLL_EN; tmp 255 drivers/mmc/host/sdhci-sprd.c sdhci_writel(host, tmp, SDHCI_SPRD_REG_32_DLL_CFG); tmp 534 drivers/mmc/host/sh_mmcif.c u32 tmp; tmp 536 drivers/mmc/host/sh_mmcif.c tmp = 0x010f0000 & sh_mmcif_readl(host->addr, MMCIF_CE_CLK_CTRL); tmp 541 drivers/mmc/host/sh_mmcif.c tmp |= SCCSTO_29; tmp 544 drivers/mmc/host/sh_mmcif.c sh_mmcif_bitset(host, MMCIF_CE_CLK_CTRL, tmp | tmp 803 drivers/mmc/host/sh_mmcif.c u32 tmp = 0; tmp 808 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_RTYP_NO; tmp 812 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_RTYP_6B; tmp 815 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_RBSY | CMD_SET_RTYP_6B; tmp 818 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_RTYP_17B; tmp 827 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_WDAT; tmp 830 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_DATW_1; tmp 833 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_DATW_4; tmp 836 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_DATW_8; tmp 851 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_DARS; tmp 857 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_DWEN; tmp 860 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_CMLTE | CMD_SET_CMD12EN; tmp 867 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_RIDXC_BITS; tmp 870 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_CRC7C_BITS; tmp 874 drivers/mmc/host/sh_mmcif.c tmp |= CMD_SET_CRC7C_INTERNAL; tmp 876 drivers/mmc/host/sh_mmcif.c return (opc << 24) | tmp; tmp 326 drivers/mmc/host/uniphier-sd.c u32 tmp; tmp 330 drivers/mmc/host/uniphier-sd.c tmp = readl(host->ctl + UNIPHIER_SD_DMA_RST); tmp 331 drivers/mmc/host/uniphier-sd.c tmp &= ~(UNIPHIER_SD_DMA_RST_CH1 | UNIPHIER_SD_DMA_RST_CH0); tmp 332 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + UNIPHIER_SD_DMA_RST); tmp 334 drivers/mmc/host/uniphier-sd.c tmp |= UNIPHIER_SD_DMA_RST_CH1 | UNIPHIER_SD_DMA_RST_CH0; tmp 335 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + UNIPHIER_SD_DMA_RST); tmp 430 drivers/mmc/host/uniphier-sd.c u32 tmp; tmp 432 drivers/mmc/host/uniphier-sd.c tmp = readl(host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); tmp 435 drivers/mmc/host/uniphier-sd.c tmp &= ~CLK_CTL_SCLKEN; tmp 436 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); tmp 441 drivers/mmc/host/uniphier-sd.c tmp &= ~UNIPHIER_SD_CLK_CTL_DIV1024; tmp 442 drivers/mmc/host/uniphier-sd.c tmp &= ~UNIPHIER_SD_CLK_CTL_DIV1; tmp 443 drivers/mmc/host/uniphier-sd.c tmp &= ~CLK_CTL_DIV_MASK; tmp 456 drivers/mmc/host/uniphier-sd.c tmp |= UNIPHIER_SD_CLK_CTL_DIV1; tmp 458 drivers/mmc/host/uniphier-sd.c tmp |= UNIPHIER_SD_CLK_CTL_DIV1024; tmp 460 drivers/mmc/host/uniphier-sd.c tmp |= roundup_pow_of_two(divisor) >> 2; tmp 462 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); tmp 464 drivers/mmc/host/uniphier-sd.c tmp |= CLK_CTL_SCLKEN; tmp 465 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); tmp 504 drivers/mmc/host/uniphier-sd.c u32 val, tmp; tmp 519 drivers/mmc/host/uniphier-sd.c tmp = readl(host->ctl + UNIPHIER_SD_VOLT); tmp 520 drivers/mmc/host/uniphier-sd.c tmp &= ~UNIPHIER_SD_VOLT_MASK; tmp 521 drivers/mmc/host/uniphier-sd.c tmp |= FIELD_PREP(UNIPHIER_SD_VOLT_MASK, val); tmp 522 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + UNIPHIER_SD_VOLT); tmp 1205 drivers/mmc/host/usdhi6rol0.c u32 *rsp = cmd->resp, tmp = 0; tmp 1234 drivers/mmc/host/usdhi6rol0.c rsp[3 - i] = tmp >> 24; tmp 1235 drivers/mmc/host/usdhi6rol0.c tmp = usdhi6_read(host, USDHI6_SD_RSP10 + i * 8); tmp 1236 drivers/mmc/host/usdhi6rol0.c rsp[3 - i] |= tmp << 8; tmp 502 drivers/mtd/devices/lart.c __u8 tmp[4]; tmp 520 drivers/mtd/devices/lart.c while (gap--) tmp[i++] = 0xFF; tmp 521 drivers/mtd/devices/lart.c while (len && i < BUSWIDTH) tmp[i++] = buf[n++], len--; tmp 522 drivers/mtd/devices/lart.c while (i < BUSWIDTH) tmp[i++] = 0xFF; tmp 524 drivers/mtd/devices/lart.c if (!write_dword (aligned,*((__u32 *) tmp))) return (-EIO); tmp 547 drivers/mtd/devices/lart.c while (len--) tmp[i++] = buf[n++]; tmp 548 drivers/mtd/devices/lart.c while (i < BUSWIDTH) tmp[i++] = 0xFF; tmp 550 drivers/mtd/devices/lart.c if (!write_dword (to,*((__u32 *) tmp))) return (-EIO); tmp 353 drivers/mtd/devices/pmc551.c u16 cmd, tmp, i; tmp 391 drivers/mtd/devices/pmc551.c tmp = cmd & ~(PCI_COMMAND_IO | PCI_COMMAND_MEMORY); tmp 392 drivers/mtd/devices/pmc551.c pci_write_config_word(dev, PCI_COMMAND, tmp); tmp 918 drivers/mtd/devices/st_spi_fsm.c uint32_t tmp; tmp 919 drivers/mtd/devices/st_spi_fsm.c uint8_t *t = (uint8_t *)&tmp; tmp 932 drivers/mtd/devices/st_spi_fsm.c stfsm_read_fifo(fsm, &tmp, 4); tmp 1287 drivers/mtd/devices/st_spi_fsm.c uint32_t tmp; tmp 1314 drivers/mtd/devices/st_spi_fsm.c stfsm_read_fifo(fsm, &tmp, 4); tmp 1316 drivers/mtd/devices/st_spi_fsm.c *dby = (uint8_t)(tmp >> 24); tmp 1523 drivers/mtd/devices/st_spi_fsm.c uint32_t tmp[4]; tmp 1555 drivers/mtd/devices/st_spi_fsm.c stfsm_read_fifo(fsm, tmp, read_mask + 1); tmp 1556 drivers/mtd/devices/st_spi_fsm.c memcpy(p + size_lb, &tmp, size_mop); tmp 1584 drivers/mtd/devices/st_spi_fsm.c uint32_t tmp[4]; tmp 1587 drivers/mtd/devices/st_spi_fsm.c uint8_t *t = (uint8_t *)&tmp; tmp 1645 drivers/mtd/devices/st_spi_fsm.c stfsm_write_fifo(fsm, tmp, write_mask + 1); tmp 1835 drivers/mtd/devices/st_spi_fsm.c uint32_t tmp[2]; tmp 1839 drivers/mtd/devices/st_spi_fsm.c stfsm_read_fifo(fsm, tmp, 8); tmp 1841 drivers/mtd/devices/st_spi_fsm.c memcpy(jedec, tmp, 5); tmp 329 drivers/mtd/mtdpart.c u64 tmp; tmp 435 drivers/mtd/mtdpart.c tmp = cur_offset; tmp 437 drivers/mtd/mtdpart.c remainder = do_div(tmp, wr_alignment); tmp 516 drivers/mtd/mtdpart.c tmp = part_absolute_offset(parent) + slave->offset; tmp 517 drivers/mtd/mtdpart.c remainder = do_div(tmp, wr_alignment); tmp 527 drivers/mtd/mtdpart.c tmp = part_absolute_offset(parent) + slave->mtd.size; tmp 528 drivers/mtd/mtdpart.c remainder = do_div(tmp, wr_alignment); tmp 731 drivers/mtd/nand/onenand/samsung.c int tmp; tmp 737 drivers/mtd/nand/onenand/samsung.c tmp = s3c_read_cmd(CMD_MAP_01(onenand, mem_addr)); tmp 1700 drivers/mtd/nand/raw/atmel/nand-controller.c struct atmel_nand *nand, *tmp; tmp 1703 drivers/mtd/nand/raw/atmel/nand-controller.c list_for_each_entry_safe(nand, tmp, &nc->chips, node) { tmp 478 drivers/mtd/nand/raw/atmel/pmecc.c s16 tmp; tmp 480 drivers/mtd/nand/raw/atmel/pmecc.c tmp = index_of[si[j]]; tmp 481 drivers/mtd/nand/raw/atmel/pmecc.c tmp = (tmp * 2) % cw_len; tmp 482 drivers/mtd/nand/raw/atmel/pmecc.c si[i] = alpha_to[tmp]; tmp 501 drivers/mtd/nand/raw/atmel/pmecc.c u32 dmu_0_count, tmp; tmp 551 drivers/mtd/nand/raw/atmel/pmecc.c tmp = ((strength - (lmu[i] >> 1) - 1) / 2); tmp 553 drivers/mtd/nand/raw/atmel/pmecc.c tmp += 2; tmp 555 drivers/mtd/nand/raw/atmel/pmecc.c tmp += 1; tmp 557 drivers/mtd/nand/raw/atmel/pmecc.c if (dmu_0_count == tmp) { tmp 606 drivers/mtd/nand/raw/atmel/pmecc.c tmp = a + (cw_len - b) + c; tmp 607 drivers/mtd/nand/raw/atmel/pmecc.c a = alpha_to[tmp % cw_len]; tmp 624 drivers/mtd/nand/raw/atmel/pmecc.c tmp = 2 * (i - 1); tmp 626 drivers/mtd/nand/raw/atmel/pmecc.c dmu[i + 1] = si[tmp + 3]; tmp 627 drivers/mtd/nand/raw/atmel/pmecc.c } else if (smu[(i + 1) * num + k] && si[tmp + 3 - k]) { tmp 633 drivers/mtd/nand/raw/atmel/pmecc.c tmp = a + c; tmp 634 drivers/mtd/nand/raw/atmel/pmecc.c tmp %= cw_len; tmp 635 drivers/mtd/nand/raw/atmel/pmecc.c dmu[i + 1] = alpha_to[tmp] ^ dmu[i + 1]; tmp 312 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c u32 tmp = 0; tmp 327 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c bcm47xxnflash_ops_bcm4706_read(mtd, (u8 *)&tmp, 4); tmp 328 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c return tmp & 0xFF; tmp 628 drivers/mtd/nand/raw/brcmnand/brcmnand.c u32 tmp = brcmnand_read_reg(ctrl, reg); tmp 630 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp &= ~mask; tmp 631 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= val << shift; tmp 632 drivers/mtd/nand/raw/brcmnand/brcmnand.c brcmnand_write_reg(ctrl, reg, tmp); tmp 854 drivers/mtd/nand/raw/brcmnand/brcmnand.c u32 tmp; tmp 859 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp = nand_readreg(ctrl, acc_control_offs); tmp 860 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp &= ~(1 << shift); tmp 861 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= (!!val) << shift; tmp 862 drivers/mtd/nand/raw/brcmnand/brcmnand.c nand_writereg(ctrl, acc_control_offs, tmp); tmp 1416 drivers/mtd/nand/raw/brcmnand/brcmnand.c u32 tmp; tmp 1418 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp = data & LLOP_DATA_MASK; tmp 1421 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= LLOP_WE | LLOP_CLE; tmp 1425 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= LLOP_WE | LLOP_ALE; tmp 1429 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= LLOP_WE; tmp 1433 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= LLOP_RE; tmp 1438 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= LLOP_RETURN_IDLE; tmp 1440 drivers/mtd/nand/raw/brcmnand/brcmnand.c dev_dbg(ctrl->dev, "ll_op cmd %#x\n", tmp); tmp 1442 drivers/mtd/nand/raw/brcmnand/brcmnand.c brcmnand_write_reg(ctrl, BRCMNAND_LL_OP, tmp); tmp 2083 drivers/mtd/nand/raw/brcmnand/brcmnand.c u32 tmp; tmp 2139 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp = (cfg->blk_adr_bytes << CFG_BLK_ADR_BYTES_SHIFT) | tmp 2145 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= (page_size << CFG_PAGE_SIZE_SHIFT) | tmp 2147 drivers/mtd/nand/raw/brcmnand/brcmnand.c nand_writereg(ctrl, cfg_offs, tmp); tmp 2149 drivers/mtd/nand/raw/brcmnand/brcmnand.c nand_writereg(ctrl, cfg_offs, tmp); tmp 2150 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp = (page_size << CFG_EXT_PAGE_SIZE_SHIFT) | tmp 2152 drivers/mtd/nand/raw/brcmnand/brcmnand.c nand_writereg(ctrl, cfg_ext_offs, tmp); tmp 2155 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp = nand_readreg(ctrl, acc_control_offs); tmp 2156 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp &= ~brcmnand_ecc_level_mask(ctrl); tmp 2157 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= cfg->ecc_level << NAND_ACC_CONTROL_ECC_SHIFT; tmp 2158 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp &= ~brcmnand_spare_area_mask(ctrl); tmp 2159 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= cfg->spare_area_size; tmp 2160 drivers/mtd/nand/raw/brcmnand/brcmnand.c nand_writereg(ctrl, acc_control_offs, tmp); tmp 2209 drivers/mtd/nand/raw/brcmnand/brcmnand.c u32 offs, tmp, oob_sector; tmp 2317 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp = nand_readreg(ctrl, offs); tmp 2318 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp &= ~ACC_CONTROL_PARTIAL_PAGE; tmp 2319 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp &= ~ACC_CONTROL_RD_ERASED; tmp 2323 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp |= ACC_CONTROL_RD_ERASED; tmp 2324 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp &= ~ACC_CONTROL_FAST_PGM_RDIN; tmp 2326 drivers/mtd/nand/raw/brcmnand/brcmnand.c tmp &= ~ACC_CONTROL_PREFETCH; tmp 2328 drivers/mtd/nand/raw/brcmnand/brcmnand.c nand_writereg(ctrl, offs, tmp); tmp 391 drivers/mtd/nand/raw/cafe_nand.c uint32_t tmp = cafe_readl(cafe, NAND_ECC_SYN01 + (i*2)); tmp 393 drivers/mtd/nand/raw/cafe_nand.c syn[i] = cafe->rs->codec->index_of[tmp & 0xfff]; tmp 394 drivers/mtd/nand/raw/cafe_nand.c syn[i+1] = cafe->rs->codec->index_of[(tmp >> 16) & 0xfff]; tmp 775 drivers/mtd/nand/raw/denali.c u32 tmp; tmp 804 drivers/mtd/nand/raw/denali.c tmp = ioread32(denali->reg + ACC_CLKS); tmp 805 drivers/mtd/nand/raw/denali.c tmp &= ~ACC_CLKS__VALUE; tmp 806 drivers/mtd/nand/raw/denali.c tmp |= FIELD_PREP(ACC_CLKS__VALUE, acc_clks); tmp 807 drivers/mtd/nand/raw/denali.c sel->acc_clks = tmp; tmp 813 drivers/mtd/nand/raw/denali.c tmp = ioread32(denali->reg + RE_2_WE); tmp 814 drivers/mtd/nand/raw/denali.c tmp &= ~RE_2_WE__VALUE; tmp 815 drivers/mtd/nand/raw/denali.c tmp |= FIELD_PREP(RE_2_WE__VALUE, re_2_we); tmp 816 drivers/mtd/nand/raw/denali.c sel->re_2_we = tmp; tmp 822 drivers/mtd/nand/raw/denali.c tmp = ioread32(denali->reg + RE_2_RE); tmp 823 drivers/mtd/nand/raw/denali.c tmp &= ~RE_2_RE__VALUE; tmp 824 drivers/mtd/nand/raw/denali.c tmp |= FIELD_PREP(RE_2_RE__VALUE, re_2_re); tmp 825 drivers/mtd/nand/raw/denali.c sel->re_2_re = tmp; tmp 836 drivers/mtd/nand/raw/denali.c tmp = ioread32(denali->reg + TWHR2_AND_WE_2_RE); tmp 837 drivers/mtd/nand/raw/denali.c tmp &= ~TWHR2_AND_WE_2_RE__WE_2_RE; tmp 838 drivers/mtd/nand/raw/denali.c tmp |= FIELD_PREP(TWHR2_AND_WE_2_RE__WE_2_RE, we_2_re); tmp 839 drivers/mtd/nand/raw/denali.c sel->hwhr2_and_we_2_re = tmp; tmp 851 drivers/mtd/nand/raw/denali.c tmp = ioread32(denali->reg + TCWAW_AND_ADDR_2_DATA); tmp 852 drivers/mtd/nand/raw/denali.c tmp &= ~TCWAW_AND_ADDR_2_DATA__ADDR_2_DATA; tmp 853 drivers/mtd/nand/raw/denali.c tmp |= FIELD_PREP(TCWAW_AND_ADDR_2_DATA__ADDR_2_DATA, addr_2_data); tmp 854 drivers/mtd/nand/raw/denali.c sel->tcwaw_and_addr_2_data = tmp; tmp 861 drivers/mtd/nand/raw/denali.c tmp = ioread32(denali->reg + RDWR_EN_HI_CNT); tmp 862 drivers/mtd/nand/raw/denali.c tmp &= ~RDWR_EN_HI_CNT__VALUE; tmp 863 drivers/mtd/nand/raw/denali.c tmp |= FIELD_PREP(RDWR_EN_HI_CNT__VALUE, rdwr_en_hi); tmp 864 drivers/mtd/nand/raw/denali.c sel->rdwr_en_hi_cnt = tmp; tmp 874 drivers/mtd/nand/raw/denali.c tmp = ioread32(denali->reg + RDWR_EN_LO_CNT); tmp 875 drivers/mtd/nand/raw/denali.c tmp &= ~RDWR_EN_LO_CNT__VALUE; tmp 876 drivers/mtd/nand/raw/denali.c tmp |= FIELD_PREP(RDWR_EN_LO_CNT__VALUE, rdwr_en_lo); tmp 877 drivers/mtd/nand/raw/denali.c sel->rdwr_en_lo_cnt = tmp; tmp 885 drivers/mtd/nand/raw/denali.c tmp = ioread32(denali->reg + CS_SETUP_CNT); tmp 886 drivers/mtd/nand/raw/denali.c tmp &= ~CS_SETUP_CNT__VALUE; tmp 887 drivers/mtd/nand/raw/denali.c tmp |= FIELD_PREP(CS_SETUP_CNT__VALUE, cs_setup); tmp 888 drivers/mtd/nand/raw/denali.c sel->cs_setup_cnt = tmp; tmp 141 drivers/mtd/nand/raw/diskonchip.c uint16_t ds[4], s[5], tmp, errval[8], syn[4]; tmp 163 drivers/mtd/nand/raw/diskonchip.c tmp = cd->index_of[ds[j]]; tmp 165 drivers/mtd/nand/raw/diskonchip.c s[i] ^= cd->alpha_to[rs_modnn(cd, tmp + (FCR + i) * j)]; tmp 1416 drivers/mtd/nand/raw/diskonchip.c unsigned char tmp, tmpb, tmpc; tmp 1462 drivers/mtd/nand/raw/diskonchip.c for (tmp = 0; (tmp < 4); tmp++) tmp 1466 drivers/mtd/nand/raw/diskonchip.c tmp = DOC_MODE_RESET | DOC_MODE_MDWREN | DOC_MODE_RST_LAT | DOC_MODE_BDECT; tmp 1467 drivers/mtd/nand/raw/diskonchip.c WriteDOC(tmp, virtadr, Mplus_DOCControl); tmp 1468 drivers/mtd/nand/raw/diskonchip.c WriteDOC(~tmp, virtadr, Mplus_CtrlConfirm); tmp 1472 drivers/mtd/nand/raw/diskonchip.c tmp = DOC_MODE_NORMAL | DOC_MODE_MDWREN | DOC_MODE_RST_LAT | DOC_MODE_BDECT; tmp 1473 drivers/mtd/nand/raw/diskonchip.c WriteDOC(tmp, virtadr, Mplus_DOCControl); tmp 1474 drivers/mtd/nand/raw/diskonchip.c WriteDOC(~tmp, virtadr, Mplus_CtrlConfirm); tmp 1497 drivers/mtd/nand/raw/diskonchip.c tmp = ReadDOC_(virtadr, reg) & DOC_TOGGLE_BIT; tmp 1500 drivers/mtd/nand/raw/diskonchip.c if ((tmp == tmpb) || (tmp != tmpc)) { tmp 56 drivers/mtd/nand/raw/gpio.c unsigned long tmp; tmp 64 drivers/mtd/nand/raw/gpio.c tmp = readl(gpiomtd->io_sync); tmp 65 drivers/mtd/nand/raw/gpio.c asm volatile("mov %1, %0\n" : "=r" (tmp) : "r" (tmp)); tmp 234 drivers/mtd/nand/raw/lpc32xx_mlc.c uint32_t clkrate, tmp; tmp 250 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp = MLCICR_LARGEBLOCK | MLCICR_LONGADDR; tmp 251 drivers/mtd/nand/raw/lpc32xx_mlc.c writel(tmp, MLC_ICR(host->io_base)); tmp 258 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp = 0; tmp 259 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_TCEA_DELAY(clkrate / host->ncfg->tcea_delay + 1); tmp 260 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_BUSY_DELAY(clkrate / host->ncfg->busy_delay + 1); tmp 261 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_NAND_TA(clkrate / host->ncfg->nand_ta + 1); tmp 262 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_RD_HIGH(clkrate / host->ncfg->rd_high + 1); tmp 263 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_RD_LOW(clkrate / host->ncfg->rd_low); tmp 264 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_WR_HIGH(clkrate / host->ncfg->wr_high + 1); tmp 265 drivers/mtd/nand/raw/lpc32xx_mlc.c tmp |= MLCTIMEREG_WR_LOW(clkrate / host->ncfg->wr_low); tmp 266 drivers/mtd/nand/raw/lpc32xx_mlc.c writel(tmp, MLC_TIME_REG(host->io_base)); tmp 240 drivers/mtd/nand/raw/lpc32xx_slc.c uint32_t clkrate, tmp; tmp 258 drivers/mtd/nand/raw/lpc32xx_slc.c tmp = SLCTAC_WDR(host->ncfg->wdr_clks) | tmp 266 drivers/mtd/nand/raw/lpc32xx_slc.c writel(tmp, SLC_TAC(host->io_base)); tmp 275 drivers/mtd/nand/raw/lpc32xx_slc.c uint32_t tmp; tmp 279 drivers/mtd/nand/raw/lpc32xx_slc.c tmp = readl(SLC_CFG(host->io_base)); tmp 281 drivers/mtd/nand/raw/lpc32xx_slc.c tmp |= SLCCFG_CE_LOW; tmp 283 drivers/mtd/nand/raw/lpc32xx_slc.c tmp &= ~SLCCFG_CE_LOW; tmp 284 drivers/mtd/nand/raw/lpc32xx_slc.c writel(tmp, SLC_CFG(host->io_base)); tmp 948 drivers/mtd/nand/raw/lpc32xx_slc.c uint32_t tmp; tmp 955 drivers/mtd/nand/raw/lpc32xx_slc.c tmp = readl(SLC_CTRL(host->io_base)); tmp 956 drivers/mtd/nand/raw/lpc32xx_slc.c tmp &= ~SLCCFG_CE_LOW; tmp 957 drivers/mtd/nand/raw/lpc32xx_slc.c writel(tmp, SLC_CTRL(host->io_base)); tmp 987 drivers/mtd/nand/raw/lpc32xx_slc.c uint32_t tmp; tmp 991 drivers/mtd/nand/raw/lpc32xx_slc.c tmp = readl(SLC_CTRL(host->io_base)); tmp 992 drivers/mtd/nand/raw/lpc32xx_slc.c tmp &= ~SLCCFG_CE_LOW; tmp 993 drivers/mtd/nand/raw/lpc32xx_slc.c writel(tmp, SLC_CTRL(host->io_base)); tmp 1234 drivers/mtd/nand/raw/meson_nand.c u32 tmp, nsels; tmp 1250 drivers/mtd/nand/raw/meson_nand.c ret = of_property_read_u32_index(np, "reg", i, &tmp); tmp 1257 drivers/mtd/nand/raw/meson_nand.c if (test_and_set_bit(tmp, &nfc->assigned_cs)) { tmp 1258 drivers/mtd/nand/raw/meson_nand.c dev_err(dev, "CS %d already assigned\n", tmp); tmp 500 drivers/mtd/nand/raw/mpc5121_nfc.c u8 tmp; tmp 502 drivers/mtd/nand/raw/mpc5121_nfc.c mpc5121_nfc_read_buf(chip, &tmp, sizeof(tmp)); tmp 504 drivers/mtd/nand/raw/mpc5121_nfc.c return tmp; tmp 1338 drivers/mtd/nand/raw/mtk_nand.c u32 tmp; tmp 1358 drivers/mtd/nand/raw/mtk_nand.c ret = of_property_read_u32_index(np, "reg", i, &tmp); tmp 1364 drivers/mtd/nand/raw/mtk_nand.c if (tmp >= MTK_NAND_MAX_NSELS) { tmp 1365 drivers/mtd/nand/raw/mtk_nand.c dev_err(dev, "invalid CS: %u\n", tmp); tmp 1369 drivers/mtd/nand/raw/mtk_nand.c if (test_and_set_bit(tmp, &nfc->assigned_cs)) { tmp 1370 drivers/mtd/nand/raw/mtk_nand.c dev_err(dev, "CS %u already assigned\n", tmp); tmp 1374 drivers/mtd/nand/raw/mtk_nand.c chip->sels[i] = tmp; tmp 346 drivers/mtd/nand/raw/mxc_nand.c uint32_t tmp; tmp 348 drivers/mtd/nand/raw/mxc_nand.c tmp = readl(NFC_V3_IPC); tmp 349 drivers/mtd/nand/raw/mxc_nand.c if (!(tmp & NFC_V3_IPC_INT)) tmp 352 drivers/mtd/nand/raw/mxc_nand.c tmp &= ~NFC_V3_IPC_INT; tmp 353 drivers/mtd/nand/raw/mxc_nand.c writel(tmp, NFC_V3_IPC); tmp 360 drivers/mtd/nand/raw/mxc_nand.c uint32_t tmp; tmp 362 drivers/mtd/nand/raw/mxc_nand.c tmp = readw(NFC_V1_V2_CONFIG2); tmp 363 drivers/mtd/nand/raw/mxc_nand.c if (!(tmp & NFC_V1_V2_CONFIG2_INT)) tmp 367 drivers/mtd/nand/raw/mxc_nand.c writew(tmp & ~NFC_V1_V2_CONFIG2_INT, NFC_V1_V2_CONFIG2); tmp 374 drivers/mtd/nand/raw/mxc_nand.c uint16_t tmp; tmp 376 drivers/mtd/nand/raw/mxc_nand.c tmp = readw(NFC_V1_V2_CONFIG1); tmp 379 drivers/mtd/nand/raw/mxc_nand.c tmp &= ~NFC_V1_V2_CONFIG1_INT_MSK; tmp 381 drivers/mtd/nand/raw/mxc_nand.c tmp |= NFC_V1_V2_CONFIG1_INT_MSK; tmp 383 drivers/mtd/nand/raw/mxc_nand.c writew(tmp, NFC_V1_V2_CONFIG1); tmp 388 drivers/mtd/nand/raw/mxc_nand.c uint32_t tmp; tmp 390 drivers/mtd/nand/raw/mxc_nand.c tmp = readl(NFC_V3_CONFIG2); tmp 393 drivers/mtd/nand/raw/mxc_nand.c tmp &= ~NFC_V3_CONFIG2_INT_MSK; tmp 395 drivers/mtd/nand/raw/mxc_nand.c tmp |= NFC_V3_CONFIG2_INT_MSK; tmp 397 drivers/mtd/nand/raw/mxc_nand.c writel(tmp, NFC_V3_CONFIG2); tmp 559 drivers/mtd/nand/raw/mxc_nand.c uint32_t tmp; tmp 561 drivers/mtd/nand/raw/mxc_nand.c tmp = readl(NFC_V3_CONFIG1); tmp 562 drivers/mtd/nand/raw/mxc_nand.c tmp &= ~(7 << 4); tmp 563 drivers/mtd/nand/raw/mxc_nand.c writel(tmp, NFC_V3_CONFIG1); tmp 213 drivers/mtd/nand/raw/nand_bbt.c uint8_t tmp = (dat >> j) & msk; tmp 214 drivers/mtd/nand/raw/nand_bbt.c if (tmp == msk) tmp 216 drivers/mtd/nand/raw/nand_bbt.c if (reserved_block_code && (tmp == reserved_block_code)) { tmp 233 drivers/mtd/nand/raw/nand_bbt.c if (tmp == 0) tmp 262 drivers/mtd/nand/raw/nand_hynix.c u8 tmp[NAND_HYNIX_1XNM_RR_REPEAT]; tmp 270 drivers/mtd/nand/raw/nand_hynix.c tmp[i] = buf[val_offs + set_offs]; tmp 273 drivers/mtd/nand/raw/nand_hynix.c ret = hynix_get_majority(tmp, NAND_HYNIX_1XNM_RR_REPEAT, val); tmp 610 drivers/mtd/nand/raw/nand_hynix.c u8 tmp; tmp 630 drivers/mtd/nand/raw/nand_hynix.c tmp = (chip->id.data[3] >> 4) & 0x3; tmp 639 drivers/mtd/nand/raw/nand_hynix.c memorg->pages_per_eraseblock = (SZ_1M << tmp) / tmp 641 drivers/mtd/nand/raw/nand_hynix.c mtd->erasesize = SZ_1M << tmp; tmp 642 drivers/mtd/nand/raw/nand_hynix.c } else if (tmp == 3) { tmp 647 drivers/mtd/nand/raw/nand_hynix.c memorg->pages_per_eraseblock = (SZ_128K << tmp) / tmp 649 drivers/mtd/nand/raw/nand_hynix.c mtd->erasesize = SZ_128K << tmp; tmp 726 drivers/mtd/nand/raw/omap2.c u32 tmp = ecc_buf[0] | (ecc_buf[1] << 16) | tmp 729 drivers/mtd/nand/raw/omap2.c ecc_buf[0] = ~(P64o(tmp) | P64e(tmp) | P32o(tmp) | P32e(tmp) | tmp 730 drivers/mtd/nand/raw/omap2.c P16o(tmp) | P16e(tmp) | P8o(tmp) | P8e(tmp)); tmp 731 drivers/mtd/nand/raw/omap2.c ecc_buf[1] = ~(P1024o(tmp) | P1024e(tmp) | P512o(tmp) | P512e(tmp) | tmp 732 drivers/mtd/nand/raw/omap2.c P256o(tmp) | P256e(tmp) | P128o(tmp) | P128e(tmp)); tmp 733 drivers/mtd/nand/raw/omap2.c ecc_buf[2] = ~(P4o(tmp) | P4e(tmp) | P2o(tmp) | P2e(tmp) | P1o(tmp) | tmp 734 drivers/mtd/nand/raw/omap2.c P1e(tmp) | P2048o(tmp) | P2048e(tmp)); tmp 443 drivers/mtd/nand/raw/sunxi_nand.c u32 tmp; tmp 455 drivers/mtd/nand/raw/sunxi_nand.c tmp = NFC_DATA_TRANS | NFC_DATA_SWAP_METHOD; tmp 456 drivers/mtd/nand/raw/sunxi_nand.c writel(tmp, nfc->regs + NFC_REG_CMD); tmp 481 drivers/mtd/nand/raw/sunxi_nand.c u32 tmp; tmp 494 drivers/mtd/nand/raw/sunxi_nand.c tmp = NFC_DATA_TRANS | NFC_DATA_SWAP_METHOD | tmp 496 drivers/mtd/nand/raw/sunxi_nand.c writel(tmp, nfc->regs + NFC_REG_CMD); tmp 765 drivers/mtd/nand/raw/sunxi_nand.c u32 tmp; tmp 791 drivers/mtd/nand/raw/sunxi_nand.c tmp = readl(nfc->regs + NFC_REG_ECC_ERR_CNT(step)); tmp 793 drivers/mtd/nand/raw/sunxi_nand.c return NFC_ECC_ERR_CNT(step, tmp); tmp 1935 drivers/mtd/nand/raw/sunxi_nand.c u32 tmp; tmp 1956 drivers/mtd/nand/raw/sunxi_nand.c ret = of_property_read_u32_index(np, "reg", i, &tmp); tmp 1963 drivers/mtd/nand/raw/sunxi_nand.c if (tmp > NFC_MAX_CS) { tmp 1966 drivers/mtd/nand/raw/sunxi_nand.c tmp); tmp 1970 drivers/mtd/nand/raw/sunxi_nand.c if (test_and_set_bit(tmp, &nfc->assigned_cs)) { tmp 1971 drivers/mtd/nand/raw/sunxi_nand.c dev_err(dev, "CS %d already assigned\n", tmp); tmp 1975 drivers/mtd/nand/raw/sunxi_nand.c sunxi_nand->sels[i].cs = tmp; tmp 1977 drivers/mtd/nand/raw/sunxi_nand.c if (!of_property_read_u32_index(np, "allwinner,rb", i, &tmp) && tmp 1978 drivers/mtd/nand/raw/sunxi_nand.c tmp < 2) tmp 1979 drivers/mtd/nand/raw/sunxi_nand.c sunxi_nand->sels[i].rb = tmp; tmp 283 drivers/mtd/nand/raw/vf610_nfc.c u32 tmp = vf610_nfc_read(nfc, NFC_IRQ_STATUS); tmp 285 drivers/mtd/nand/raw/vf610_nfc.c tmp |= CMD_DONE_CLEAR_BIT | IDLE_CLEAR_BIT; tmp 286 drivers/mtd/nand/raw/vf610_nfc.c vf610_nfc_write(nfc, NFC_IRQ_STATUS, tmp); tmp 487 drivers/mtd/nand/raw/vf610_nfc.c u32 tmp; tmp 493 drivers/mtd/nand/raw/vf610_nfc.c tmp = vf610_nfc_read(nfc, NFC_ROW_ADDR); tmp 494 drivers/mtd/nand/raw/vf610_nfc.c tmp &= ~(ROW_ADDR_CHIP_SEL_RB_MASK | ROW_ADDR_CHIP_SEL_MASK); tmp 495 drivers/mtd/nand/raw/vf610_nfc.c tmp |= 1 << ROW_ADDR_CHIP_SEL_RB_SHIFT; tmp 496 drivers/mtd/nand/raw/vf610_nfc.c tmp |= BIT(cs) << ROW_ADDR_CHIP_SEL_SHIFT; tmp 498 drivers/mtd/nand/raw/vf610_nfc.c vf610_nfc_write(nfc, NFC_ROW_ADDR, tmp); tmp 176 drivers/mtd/sm_ftl.c uint8_t tmp[2]; tmp 180 drivers/mtd/sm_ftl.c tmp[0] = 0x10 | ((lba >> 7) & 0x07); tmp 181 drivers/mtd/sm_ftl.c tmp[1] = (lba << 1) & 0xFF; tmp 183 drivers/mtd/sm_ftl.c if (hweight16(*(uint16_t *)tmp) & 0x01) tmp 184 drivers/mtd/sm_ftl.c tmp[1] |= 1; tmp 186 drivers/mtd/sm_ftl.c oob->lba_copy1[0] = oob->lba_copy2[0] = tmp[0]; tmp 187 drivers/mtd/sm_ftl.c oob->lba_copy1[1] = oob->lba_copy2[1] = tmp[1]; tmp 2511 drivers/mtd/spi-nor/spi-nor.c int tmp; tmp 2522 drivers/mtd/spi-nor/spi-nor.c tmp = spi_mem_exec_op(nor->spimem, &op); tmp 2524 drivers/mtd/spi-nor/spi-nor.c tmp = nor->read_reg(nor, SPINOR_OP_RDID, id, tmp 2527 drivers/mtd/spi-nor/spi-nor.c if (tmp < 0) { tmp 2528 drivers/mtd/spi-nor/spi-nor.c dev_err(nor->dev, "error %d reading JEDEC ID\n", tmp); tmp 2529 drivers/mtd/spi-nor/spi-nor.c return ERR_PTR(tmp); tmp 2532 drivers/mtd/spi-nor/spi-nor.c for (tmp = 0; tmp < ARRAY_SIZE(spi_nor_ids) - 1; tmp++) { tmp 2533 drivers/mtd/spi-nor/spi-nor.c info = &spi_nor_ids[tmp]; tmp 2536 drivers/mtd/spi-nor/spi-nor.c return &spi_nor_ids[tmp]; tmp 340 drivers/mtd/tests/oobtest.c uint64_t tmp; tmp 367 drivers/mtd/tests/oobtest.c tmp = mtd->size; tmp 368 drivers/mtd/tests/oobtest.c do_div(tmp, mtd->erasesize); tmp 369 drivers/mtd/tests/oobtest.c ebcnt = tmp; tmp 322 drivers/mtd/tests/pagetest.c uint64_t tmp; tmp 348 drivers/mtd/tests/pagetest.c tmp = mtd->size; tmp 349 drivers/mtd/tests/pagetest.c do_div(tmp, mtd->erasesize); tmp 350 drivers/mtd/tests/pagetest.c ebcnt = tmp; tmp 115 drivers/mtd/tests/readtest.c uint64_t tmp; tmp 142 drivers/mtd/tests/readtest.c tmp = mtd->size; tmp 143 drivers/mtd/tests/readtest.c do_div(tmp, mtd->erasesize); tmp 144 drivers/mtd/tests/readtest.c ebcnt = tmp; tmp 178 drivers/mtd/tests/speedtest.c uint64_t tmp; tmp 208 drivers/mtd/tests/speedtest.c tmp = mtd->size; tmp 209 drivers/mtd/tests/speedtest.c do_div(tmp, mtd->erasesize); tmp 210 drivers/mtd/tests/speedtest.c ebcnt = tmp; tmp 140 drivers/mtd/tests/stresstest.c uint64_t tmp; tmp 167 drivers/mtd/tests/stresstest.c tmp = mtd->size; tmp 168 drivers/mtd/tests/stresstest.c do_div(tmp, mtd->erasesize); tmp 169 drivers/mtd/tests/stresstest.c ebcnt = tmp; tmp 272 drivers/mtd/tests/subpagetest.c uint64_t tmp; tmp 298 drivers/mtd/tests/subpagetest.c tmp = mtd->size; tmp 299 drivers/mtd/tests/subpagetest.c do_div(tmp, mtd->erasesize); tmp 300 drivers/mtd/tests/subpagetest.c ebcnt = tmp; tmp 508 drivers/mtd/ubi/wl.c struct ubi_wl_entry *e, *tmp; tmp 518 drivers/mtd/ubi/wl.c list_for_each_entry_safe(e, tmp, &ubi->pq[ubi->pq_head], u.list) { tmp 1398 drivers/mtd/ubi/wl.c struct ubi_work *wrk, *tmp; tmp 1403 drivers/mtd/ubi/wl.c list_for_each_entry_safe(wrk, tmp, &ubi->works, list) { tmp 1740 drivers/mtd/ubi/wl.c struct ubi_ainf_peb *aeb, *tmp; tmp 1762 drivers/mtd/ubi/wl.c list_for_each_entry_safe(aeb, tmp, &ai->erase, u.list) { tmp 1903 drivers/mtd/ubi/wl.c struct ubi_wl_entry *e, *tmp; tmp 1906 drivers/mtd/ubi/wl.c list_for_each_entry_safe(e, tmp, &ubi->pq[i], u.list) { tmp 232 drivers/net/appletalk/ipddp.c struct ipddp_route *tmp; tmp 235 drivers/net/appletalk/ipddp.c while((tmp = *r) != NULL) tmp 237 drivers/net/appletalk/ipddp.c if(tmp->ip == rt->ip && tmp 238 drivers/net/appletalk/ipddp.c tmp->at.s_net == rt->at.s_net && tmp 239 drivers/net/appletalk/ipddp.c tmp->at.s_node == rt->at.s_node) tmp 241 drivers/net/appletalk/ipddp.c *r = tmp->next; tmp 243 drivers/net/appletalk/ipddp.c kfree(tmp); tmp 246 drivers/net/appletalk/ipddp.c r = &tmp->next; tmp 252 drivers/net/caif/caif_serial.c struct sk_buff *tmp = skb_dequeue(&ser->head); tmp 253 drivers/net/caif/caif_serial.c WARN_ON(tmp != skb); tmp 302 drivers/net/caif/caif_serial.c struct ser_device *ser, *tmp; tmp 310 drivers/net/caif/caif_serial.c list_for_each_entry_safe(ser, tmp, &list, node) { tmp 1358 drivers/net/can/grcan.c u32 i, rtr, eff, dlc, tmp, err; tmp 1404 drivers/net/can/grcan.c tmp = (id << GRCAN_MSG_EID_BIT) & GRCAN_MSG_EID; tmp 1406 drivers/net/can/grcan.c tmp = (id << GRCAN_MSG_BID_BIT) & GRCAN_MSG_BID; tmp 1407 drivers/net/can/grcan.c slot[0] = (eff ? GRCAN_MSG_IDE : 0) | (rtr ? GRCAN_MSG_RTR : 0) | tmp; tmp 437 drivers/net/can/mscan/mscan.c struct list_head *tmp, *pos; tmp 439 drivers/net/can/mscan/mscan.c list_for_each_safe(pos, tmp, &priv->tx_head) { tmp 101 drivers/net/can/sja1000/f81601.c u8 tmp; tmp 120 drivers/net/can/sja1000/f81601.c tmp = F81601_IO_MODE | F81601_MEM_MODE | F81601_CFG_MODE | tmp 124 drivers/net/can/sja1000/f81601.c tmp |= F81601_CAN2_INTERNAL_CLK | F81601_CAN1_INTERNAL_CLK; tmp 134 drivers/net/can/sja1000/f81601.c pci_write_config_byte(pdev, F81601_DECODE_REG, tmp); tmp 146 drivers/net/can/sja1000/f81601.c pci_read_config_byte(pdev, F81601_TRAP_REG, &tmp); tmp 147 drivers/net/can/sja1000/f81601.c if (!(tmp & F81601_CAN2_HAS_EN)) tmp 147 drivers/net/can/slcan.c int i, tmp; tmp 193 drivers/net/can/slcan.c tmp = hex_to_bin(*cmd++); tmp 194 drivers/net/can/slcan.c if (tmp < 0) tmp 196 drivers/net/can/slcan.c cf.data[i] = (tmp << 4); tmp 197 drivers/net/can/slcan.c tmp = hex_to_bin(*cmd++); tmp 198 drivers/net/can/slcan.c if (tmp < 0) tmp 200 drivers/net/can/slcan.c cf.data[i] |= tmp; tmp 678 drivers/net/can/slcan.c unsigned int tmp; tmp 686 drivers/net/can/slcan.c tmp = strlen(sl->dev->name) + 1; tmp 687 drivers/net/can/slcan.c if (copy_to_user((void __user *)arg, sl->dev->name, tmp)) tmp 390 drivers/net/can/softing/softing_fw.c ktime_t tmp; tmp 400 drivers/net/can/softing/softing_fw.c tmp = ktime_add(target, card->ts_overflow); tmp 401 drivers/net/can/softing/softing_fw.c while (unlikely(ktime_to_ns(tmp) > ktime_to_ns(now))) { tmp 403 drivers/net/can/softing/softing_fw.c target = tmp; tmp 404 drivers/net/can/softing/softing_fw.c tmp = ktime_add(target, card->ts_overflow); tmp 398 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c struct kvaser_cmd *tmp; tmp 417 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c tmp = buf + pos; tmp 423 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (tmp->len == 0) { tmp 430 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (pos + tmp->len > actual_len) { tmp 436 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (tmp->id == id) { tmp 437 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c memcpy(cmd, tmp, tmp->len); tmp 441 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c pos += tmp->len; tmp 2411 drivers/net/dsa/b53/b53_common.c u16 tmp; tmp 2429 drivers/net/dsa/b53/b53_common.c b53_read16(dev, B53_VLAN_PAGE, B53_VLAN_TABLE_ACCESS_25, &tmp); tmp 2431 drivers/net/dsa/b53/b53_common.c if (tmp == 0xf) tmp 175 drivers/net/dsa/bcm_sf2.h u32 tmp = bcm_sf2_mangle_addr(priv, off); tmp 176 drivers/net/dsa/bcm_sf2.h return readl_relaxed(priv->core + tmp); tmp 181 drivers/net/dsa/bcm_sf2.h u32 tmp = bcm_sf2_mangle_addr(priv, off); tmp 182 drivers/net/dsa/bcm_sf2.h writel_relaxed(val, priv->core + tmp); tmp 474 drivers/net/dsa/bcm_sf2_cfp.c u32 reg, tmp, val, offset; tmp 492 drivers/net/dsa/bcm_sf2_cfp.c tmp = be32_to_cpu(ip6_addr[2]); tmp 494 drivers/net/dsa/bcm_sf2_cfp.c ((tmp >> 8) & 0xff); tmp 506 drivers/net/dsa/bcm_sf2_cfp.c val = (u32)(tmp & 0xff) << 24 | (u32)(tmp >> 16) << 8 | tmp 518 drivers/net/dsa/bcm_sf2_cfp.c tmp = be32_to_cpu(ip6_addr[0]); tmp 520 drivers/net/dsa/bcm_sf2_cfp.c ((tmp >> 8) & 0xff); tmp 533 drivers/net/dsa/bcm_sf2_cfp.c reg = (u32)(tmp & 0xff) << 24 | (u32)(tmp >> 16) << 8 | tmp 391 drivers/net/dsa/vitesse-vsc73xx-core.c u32 tmp, orig; tmp 398 drivers/net/dsa/vitesse-vsc73xx-core.c tmp = orig & ~mask; tmp 399 drivers/net/dsa/vitesse-vsc73xx-core.c tmp |= val & mask; tmp 400 drivers/net/dsa/vitesse-vsc73xx-core.c return vsc73xx_write(vsc, block, subblock, reg, tmp); tmp 1063 drivers/net/dsa/vitesse-vsc73xx-core.c u32 tmp = val ? BIT(offset) : 0; tmp 1066 drivers/net/dsa/vitesse-vsc73xx-core.c VSC73XX_GPIO, BIT(offset), tmp); tmp 1073 drivers/net/dsa/vitesse-vsc73xx-core.c u32 tmp = val ? BIT(offset) : 0; tmp 1077 drivers/net/dsa/vitesse-vsc73xx-core.c BIT(offset + 4) | tmp); tmp 145 drivers/net/eql.c struct list_head *this, *tmp, *head; tmp 149 drivers/net/eql.c list_for_each_safe(this, tmp, head) { tmp 232 drivers/net/eql.c struct list_head *head, *tmp, *this; tmp 237 drivers/net/eql.c list_for_each_safe(this, tmp, head) { tmp 299 drivers/net/eql.c struct list_head *this, *tmp, *head; tmp 306 drivers/net/eql.c list_for_each_safe(this, tmp, head) { tmp 1034 drivers/net/ethernet/3com/3c509.c u16 tmp; tmp 1037 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_MEDIA); tmp 1039 drivers/net/ethernet/3com/3c509.c return tmp & (1<<11); tmp 1045 drivers/net/ethernet/3com/3c509.c u16 tmp; tmp 1051 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); tmp 1052 drivers/net/ethernet/3com/3c509.c switch (tmp >> 14) { tmp 1067 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_CONF_CTRL); tmp 1068 drivers/net/ethernet/3com/3c509.c if (tmp & (1<<13)) tmp 1070 drivers/net/ethernet/3com/3c509.c if (tmp & (1<<12)) tmp 1072 drivers/net/ethernet/3com/3c509.c if (tmp & (1<<9)) { tmp 1076 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_NETDIAG); tmp 1077 drivers/net/ethernet/3com/3c509.c if (tmp & FD_ENABLE) tmp 1091 drivers/net/ethernet/3com/3c509.c u16 tmp; tmp 1102 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); tmp 1105 drivers/net/ethernet/3com/3c509.c tmp &= ~(3<<14); tmp 1109 drivers/net/ethernet/3com/3c509.c tmp |= (1<<14); tmp 1113 drivers/net/ethernet/3com/3c509.c tmp |= (3<<14); tmp 1120 drivers/net/ethernet/3com/3c509.c outw(tmp, ioaddr + WN0_ADDR_CONF); tmp 1123 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); tmp 1124 drivers/net/ethernet/3com/3c509.c if (tmp & (3 << 14)) { tmp 1132 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_NETDIAG); tmp 1134 drivers/net/ethernet/3com/3c509.c tmp |= FD_ENABLE; tmp 1136 drivers/net/ethernet/3com/3c509.c tmp &= ~FD_ENABLE; tmp 1137 drivers/net/ethernet/3com/3c509.c outw(tmp, ioaddr + WN4_NETDIAG); tmp 840 drivers/net/ethernet/8390/pcnet_cs.c u_char tmp; tmp 843 drivers/net/ethernet/8390/pcnet_cs.c tmp = inb_p(nic_base + PCNET_MISC) & ~3; tmp 845 drivers/net/ethernet/8390/pcnet_cs.c tmp |= 1; tmp 847 drivers/net/ethernet/8390/pcnet_cs.c tmp |= 2; tmp 849 drivers/net/ethernet/8390/pcnet_cs.c tmp |= 8; tmp 850 drivers/net/ethernet/8390/pcnet_cs.c outb_p(tmp, nic_base + PCNET_MISC); tmp 879 drivers/net/ethernet/8390/pcnet_cs.c u_int tmp, phyid; tmp 882 drivers/net/ethernet/8390/pcnet_cs.c tmp = mdio_read(mii_addr, i, 1); tmp 883 drivers/net/ethernet/8390/pcnet_cs.c if ((tmp == 0) || (tmp == 0xffff)) tmp 885 drivers/net/ethernet/8390/pcnet_cs.c tmp = mdio_read(mii_addr, i, MII_PHYID_REG1); tmp 886 drivers/net/ethernet/8390/pcnet_cs.c phyid = tmp << 16; tmp 230 drivers/net/ethernet/8390/wd.c int tmp = inb(ioaddr+1); /* fiddle with 16bit bit */ tmp 231 drivers/net/ethernet/8390/wd.c outb( tmp ^ 0x01, ioaddr+1 ); /* attempt to clear 16bit bit */ tmp 233 drivers/net/ethernet/8390/wd.c && (tmp & 0x01) == 0x01 ) { /* In a 16 slot. */ tmp 237 drivers/net/ethernet/8390/wd.c outb(tmp, ioaddr+1); tmp 244 drivers/net/ethernet/8390/wd.c outb(tmp, ioaddr+1); /* Restore original reg1 value. */ tmp 1350 drivers/net/ethernet/aeroflex/greth.c int tmp; tmp 1407 drivers/net/ethernet/aeroflex/greth.c tmp = GRETH_REGLOAD(regs->control); tmp 1408 drivers/net/ethernet/aeroflex/greth.c greth->gbit_mac = (tmp >> 27) & 1; tmp 1411 drivers/net/ethernet/aeroflex/greth.c greth->multicast = (tmp >> 25) & 1; tmp 1413 drivers/net/ethernet/aeroflex/greth.c greth->edcl = (tmp >> 31) & 1; tmp 1421 drivers/net/ethernet/aeroflex/greth.c greth->mdio_int_en = (tmp >> 26) & 1; tmp 1275 drivers/net/ethernet/agere/et131x.c u16 tmp; tmp 1284 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, reg, &tmp); tmp 2808 drivers/net/ethernet/agere/et131x.c u16 tmp; tmp 2816 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_BMCR, &tmp); tmp 2817 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2818 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_BMSR, &tmp); tmp 2819 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2820 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_PHYSID1, &tmp); tmp 2821 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2822 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_PHYSID2, &tmp); tmp 2823 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2824 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_ADVERTISE, &tmp); tmp 2825 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2826 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_LPA, &tmp); tmp 2827 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2828 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_EXPANSION, &tmp); tmp 2829 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2831 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, 0x07, &tmp); tmp 2832 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2834 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, 0x08, &tmp); tmp 2835 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2836 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_CTRL1000, &tmp); tmp 2837 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2838 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_STAT1000, &tmp); tmp 2839 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2840 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, 0x0b, &tmp); tmp 2841 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2842 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, 0x0c, &tmp); tmp 2843 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2844 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_MMD_CTRL, &tmp); tmp 2845 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2846 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_MMD_DATA, &tmp); tmp 2847 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2848 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, MII_ESTATUS, &tmp); tmp 2849 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2851 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_INDEX_REG, &tmp); tmp 2852 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2853 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_DATA_REG, &tmp); tmp 2854 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2855 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_MPHY_CONTROL_REG, &tmp); tmp 2856 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2857 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_LOOPBACK_CONTROL, &tmp); tmp 2858 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2859 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_LOOPBACK_CONTROL + 1, &tmp); tmp 2860 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2862 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_REGISTER_MGMT_CONTROL, &tmp); tmp 2863 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2864 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_CONFIG, &tmp); tmp 2865 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2866 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_PHY_CONTROL, &tmp); tmp 2867 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2868 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_INTERRUPT_MASK, &tmp); tmp 2869 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2870 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_INTERRUPT_STATUS, &tmp); tmp 2871 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2872 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_PHY_STATUS, &tmp); tmp 2873 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2874 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_LED_1, &tmp); tmp 2875 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 2876 drivers/net/ethernet/agere/et131x.c et131x_mii_read(adapter, PHY_LED_2, &tmp); tmp 2877 drivers/net/ethernet/agere/et131x.c regs_buff[num++] = tmp; tmp 129 drivers/net/ethernet/alacritech/slicoss.c struct slic_upr *tmp; tmp 132 drivers/net/ethernet/alacritech/slicoss.c list_for_each_entry_safe(upr, tmp, &upr_list->list, list) { tmp 869 drivers/net/ethernet/alteon/acenic.c u32 tig_ver, mac1, mac2, tmp, pci_state; tmp 1039 drivers/net/ethernet/alteon/acenic.c tmp = READ_CMD_MEM | WRITE_CMD_MEM; tmp 1041 drivers/net/ethernet/alteon/acenic.c tmp |= (MEM_READ_MULTIPLE | (pci_state & PCI_66MHZ)); tmp 1060 drivers/net/ethernet/alteon/acenic.c tmp |= DMA_WRITE_MAX_16; tmp 1063 drivers/net/ethernet/alteon/acenic.c tmp |= DMA_WRITE_MAX_32; tmp 1066 drivers/net/ethernet/alteon/acenic.c tmp |= DMA_WRITE_MAX_64; tmp 1069 drivers/net/ethernet/alteon/acenic.c tmp |= DMA_WRITE_MAX_128; tmp 1094 drivers/net/ethernet/alteon/acenic.c tmp &= ~DMA_READ_WRITE_MASK; tmp 1095 drivers/net/ethernet/alteon/acenic.c tmp |= DMA_READ_MAX_64; tmp 1096 drivers/net/ethernet/alteon/acenic.c tmp |= DMA_WRITE_MAX_64; tmp 1099 drivers/net/ethernet/alteon/acenic.c tmp &= ~DMA_READ_WRITE_MASK; tmp 1100 drivers/net/ethernet/alteon/acenic.c tmp |= DMA_READ_MAX_128; tmp 1106 drivers/net/ethernet/alteon/acenic.c tmp |= DMA_WRITE_MAX_128; tmp 1108 drivers/net/ethernet/alteon/acenic.c writel(tmp, ®s->PciState); tmp 1301 drivers/net/ethernet/alteon/acenic.c tmp = RCB_FLG_TCP_UDP_SUM | RCB_FLG_NO_PSEUDO_HDR | RCB_FLG_VLAN_ASSIST; tmp 1307 drivers/net/ethernet/alteon/acenic.c tmp |= RCB_FLG_TX_HOST_RING; tmp 1309 drivers/net/ethernet/alteon/acenic.c tmp |= RCB_FLG_COAL_INT_ONLY; tmp 1311 drivers/net/ethernet/alteon/acenic.c info->tx_ctrl.flags = tmp; tmp 1368 drivers/net/ethernet/alteon/acenic.c tmp = LNK_ENABLE | LNK_FULL_DUPLEX | LNK_1000MB | LNK_100MB | tmp 1371 drivers/net/ethernet/alteon/acenic.c tmp |= LNK_TX_FLOW_CTL_Y; tmp 1379 drivers/net/ethernet/alteon/acenic.c tmp = LNK_ENABLE; tmp 1384 drivers/net/ethernet/alteon/acenic.c tmp &= ~LNK_FULL_DUPLEX; tmp 1387 drivers/net/ethernet/alteon/acenic.c tmp &= ~LNK_NEGOTIATE; tmp 1389 drivers/net/ethernet/alteon/acenic.c tmp |= LNK_10MB; tmp 1391 drivers/net/ethernet/alteon/acenic.c tmp |= LNK_100MB; tmp 1393 drivers/net/ethernet/alteon/acenic.c tmp |= LNK_1000MB; tmp 1397 drivers/net/ethernet/alteon/acenic.c tmp |= LNK_NEGOTIATE | LNK_1000MB | tmp 1401 drivers/net/ethernet/alteon/acenic.c tmp |= LNK_NEG_FCTL; tmp 1406 drivers/net/ethernet/alteon/acenic.c tmp |= LNK_RX_FLOW_CTL_Y; tmp 1410 drivers/net/ethernet/alteon/acenic.c tmp |= LNK_TX_FLOW_CTL_Y; tmp 1414 drivers/net/ethernet/alteon/acenic.c ap->link = tmp; tmp 1415 drivers/net/ethernet/alteon/acenic.c writel(tmp, ®s->TuneLink); tmp 1417 drivers/net/ethernet/alteon/acenic.c writel(tmp, ®s->TuneFastLink); tmp 102 drivers/net/ethernet/amd/am79c961a.c register unsigned int tmp asm("r2"), tmp2 asm("r3"); tmp 105 drivers/net/ethernet/amd/am79c961a.c : "+r" (buf), "=&r" (tmp), "=&r" (tmp2)); tmp 114 drivers/net/ethernet/amd/am79c961a.c : "+r" (offset), "=&r" (tmp), "=&r" (tmp2)); tmp 130 drivers/net/ethernet/amd/am79c961a.c unsigned int tmp; tmp 136 drivers/net/ethernet/amd/am79c961a.c : "=&r" (offset), "=&r" (buf), "=r" (tmp): "0" (offset), "1" (buf)); tmp 140 drivers/net/ethernet/amd/am79c961a.c register unsigned int tmp asm("r2"), tmp2 asm("r3"), tmp3; tmp 149 drivers/net/ethernet/amd/am79c961a.c : "=&r" (offset), "=&r" (buf), "=r" (tmp), "=r" (tmp2), "=r" (tmp3) tmp 154 drivers/net/ethernet/amd/am79c961a.c unsigned int tmp; tmp 160 drivers/net/ethernet/amd/am79c961a.c : "=&r" (offset), "=&r" (buf), "=r" (tmp) : "0" (offset), "1" (buf)); tmp 183 drivers/net/ethernet/amd/amd8111e.c u32 bmcr,advert,tmp; tmp 187 drivers/net/ethernet/amd/amd8111e.c tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); tmp 192 drivers/net/ethernet/amd/amd8111e.c tmp |= ( ADVERTISE_10HALF|ADVERTISE_10FULL| tmp 196 drivers/net/ethernet/amd/amd8111e.c tmp |= ADVERTISE_10HALF; tmp 199 drivers/net/ethernet/amd/amd8111e.c tmp |= ADVERTISE_10FULL; tmp 202 drivers/net/ethernet/amd/amd8111e.c tmp |= ADVERTISE_100HALF; tmp 205 drivers/net/ethernet/amd/amd8111e.c tmp |= ADVERTISE_100FULL; tmp 209 drivers/net/ethernet/amd/amd8111e.c if(advert != tmp) tmp 210 drivers/net/ethernet/amd/amd8111e.c amd8111e_mdio_write(dev, lp->ext_phy_addr, MII_ADVERTISE, tmp); tmp 1197 drivers/net/ethernet/amd/sunlance.c u16 tmp = sbus_readw(&mcast_table[crc>>4]); tmp 1198 drivers/net/ethernet/amd/sunlance.c tmp |= 1 << (crc & 0xf); tmp 1199 drivers/net/ethernet/amd/sunlance.c sbus_writew(tmp, &mcast_table[crc>>4]); tmp 221 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c u32 mask, tmp; tmp 225 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c tmp = xgene_enet_rd_stat(pdata, gstrings_extd_stats[i].addr); tmp 228 drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c pdata->extd_stats[i] += (tmp & mask); tmp 152 drivers/net/ethernet/broadcom/bcm63xx_enet.c u32 tmp, val; tmp 154 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp = regnum << ENET_MIIDATA_REG_SHIFT; tmp 155 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp |= 0x2 << ENET_MIIDATA_TA_SHIFT; tmp 156 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp |= mii_id << ENET_MIIDATA_PHYID_SHIFT; tmp 157 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp |= ENET_MIIDATA_OP_READ_MASK; tmp 159 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (do_mdio_op(priv, tmp)) tmp 173 drivers/net/ethernet/broadcom/bcm63xx_enet.c u32 tmp; tmp 175 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp = (value & 0xffff) << ENET_MIIDATA_DATA_SHIFT; tmp 176 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp |= 0x2 << ENET_MIIDATA_TA_SHIFT; tmp 177 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp |= regnum << ENET_MIIDATA_REG_SHIFT; tmp 178 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp |= mii_id << ENET_MIIDATA_PHYID_SHIFT; tmp 179 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp |= ENET_MIIDATA_OP_WRITE_MASK; tmp 181 drivers/net/ethernet/broadcom/bcm63xx_enet.c (void)do_mdio_op(priv, tmp); tmp 703 drivers/net/ethernet/broadcom/bcm63xx_enet.c u32 tmp; tmp 709 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp = (dmi_addr[2] << 24) | (dmi_addr[3] << 16) | tmp 711 drivers/net/ethernet/broadcom/bcm63xx_enet.c enet_writel(priv, tmp, ENET_PML_REG(i + 1)); tmp 713 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp = (dmi_addr[0] << 8 | dmi_addr[1]); tmp 714 drivers/net/ethernet/broadcom/bcm63xx_enet.c tmp |= ENET_PMH_DATAVALID_MASK; tmp 715 drivers/net/ethernet/broadcom/bcm63xx_enet.c enet_writel(priv, tmp, ENET_PMH_REG(i++ + 1)); tmp 40 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c u32 tmp; tmp 64 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp = bcma_read32(core, phy_ctl_addr); tmp 65 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp &= ~BGMAC_PC_EPA_MASK; tmp 66 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp |= phyaddr; tmp 67 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c bcma_write32(core, phy_ctl_addr, tmp); tmp 69 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp = BGMAC_PA_START; tmp 70 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp |= phyaddr << BGMAC_PA_ADDR_SHIFT; tmp 71 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp |= reg << BGMAC_PA_REG_SHIFT; tmp 72 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c bcma_write32(core, phy_access_addr, tmp); tmp 91 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c u32 tmp; tmp 103 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp = bcma_read32(core, phy_ctl_addr); tmp 104 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp &= ~BGMAC_PC_EPA_MASK; tmp 105 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp |= phyaddr; tmp 106 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c bcma_write32(core, phy_ctl_addr, tmp); tmp 112 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp = BGMAC_PA_START; tmp 113 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp |= BGMAC_PA_WRITE; tmp 114 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp |= phyaddr << BGMAC_PA_ADDR_SHIFT; tmp 115 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp |= reg << BGMAC_PA_REG_SHIFT; tmp 116 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c tmp |= value; tmp 117 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c bcma_write32(core, phy_access_addr, tmp); tmp 773 drivers/net/ethernet/broadcom/bgmac.c u32 tmp; tmp 775 drivers/net/ethernet/broadcom/bgmac.c tmp = (addr[0] << 24) | (addr[1] << 16) | (addr[2] << 8) | addr[3]; tmp 776 drivers/net/ethernet/broadcom/bgmac.c bgmac_write(bgmac, BGMAC_MACADDR_HIGH, tmp); tmp 777 drivers/net/ethernet/broadcom/bgmac.c tmp = (addr[4] << 8) | addr[5]; tmp 778 drivers/net/ethernet/broadcom/bgmac.c bgmac_write(bgmac, BGMAC_MACADDR_LOW, tmp); tmp 4196 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c u32 tmp; tmp 4209 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tmp = SHMEM2_RD(bp, c2s_pcp_map_lower[mfw_vn]); tmp 4210 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tmp = (__force u32)be32_to_cpu((__force __be32)tmp); tmp 4211 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c c2s_map[0] = tmp & 0xff; tmp 4212 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c c2s_map[1] = (tmp >> 8) & 0xff; tmp 4213 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c c2s_map[2] = (tmp >> 16) & 0xff; tmp 4214 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c c2s_map[3] = (tmp >> 24) & 0xff; tmp 4216 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tmp = SHMEM2_RD(bp, c2s_pcp_map_upper[mfw_vn]); tmp 4217 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tmp = (__force u32)be32_to_cpu((__force __be32)tmp); tmp 4218 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c c2s_map[4] = tmp & 0xff; tmp 4219 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c c2s_map[5] = (tmp >> 8) & 0xff; tmp 4220 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c c2s_map[6] = (tmp >> 16) & 0xff; tmp 4221 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c c2s_map[7] = (tmp >> 24) & 0xff; tmp 4223 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tmp = SHMEM2_RD(bp, c2s_pcp_map_default[mfw_vn]); tmp 4224 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c tmp = (__force u32)be32_to_cpu((__force __be32)tmp); tmp 4225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c *c2s_default = (tmp >> (8 * mfw_vn)) & 0xff; tmp 2592 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 tmp, mode; tmp 2601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = ((phy->addr << 21) | (reg << 16) | val | tmp 2604 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM, tmp); tmp 2609 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM); tmp 2610 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (!(tmp & EMAC_MDIO_COMM_START_BUSY)) { tmp 2615 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (tmp & EMAC_MDIO_COMM_START_BUSY) { tmp 2743 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 tmp; tmp 2758 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = ((phy->addr << 21) | (devad << 16) | reg | tmp 2761 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM, tmp); tmp 2766 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM); tmp 2767 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (!(tmp & EMAC_MDIO_COMM_START_BUSY)) { tmp 2772 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (tmp & EMAC_MDIO_COMM_START_BUSY) { tmp 2778 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = ((phy->addr << 21) | (devad << 16) | val | tmp 2781 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM, tmp); tmp 2786 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = REG_RD(bp, phy->mdio_ctrl + tmp 2788 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (!(tmp & EMAC_MDIO_COMM_START_BUSY)) { tmp 2793 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (tmp & EMAC_MDIO_COMM_START_BUSY) { tmp 6299 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 tmp; tmp 6320 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = EMAC_RD(bp, EMAC_REG_EMAC_LED); tmp 6323 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp &= ~(EMAC_LED_1000MB_OVERRIDE | tmp 6327 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp |= EMAC_LED_OVERRIDE; tmp 6329 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c EMAC_WR(bp, EMAC_REG_EMAC_LED, tmp); tmp 6351 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = EMAC_RD(bp, EMAC_REG_EMAC_LED); tmp 6353 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c (tmp | EMAC_LED_OVERRIDE)); tmp 6382 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = EMAC_RD(bp, EMAC_REG_EMAC_LED); tmp 6383 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c EMAC_WR(bp, EMAC_REG_EMAC_LED, tmp | tmp 6409 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c tmp = EMAC_RD(bp, EMAC_REG_EMAC_LED); tmp 6411 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c (tmp & (~EMAC_LED_OVERRIDE))); tmp 11949 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int tmp; tmp 11957 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c tmp = BP_ABS_FUNC(bp); tmp 11958 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c cfg = MF_CFG_RD(bp, func_ext_config[tmp].func_cfg); tmp 11962 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c tmp = BP_PORT(bp); tmp 11964 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dev_info.port_hw_config[tmp].generic_features); tmp 13480 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 i, j, tmp; tmp 13483 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c tmp = be32_to_cpu(source[j]); tmp 13484 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c target[i].op = (tmp >> 24) & 0xff; tmp 13485 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c target[i].offset = tmp & 0xffffff; tmp 13497 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 i, j, tmp; tmp 13502 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c tmp = be32_to_cpu(source[j]); tmp 13503 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c target[i].m1 = (tmp >> 16) & 0xffff; tmp 13504 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c target[i].m2 = tmp & 0xffff; tmp 13506 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c tmp = be32_to_cpu(source[j]); tmp 13507 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c target[i].m3 = (tmp >> 16) & 0xffff; tmp 13508 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c target[i].size = tmp & 0xffff; tmp 14517 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct bnx2x_prev_path_list *tmp = tmp 14520 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c kfree(tmp); tmp 1118 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c unsigned long tmp; tmp 1135 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c tmp = estats->mac_discard; tmp 1139 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c tmp += le32_to_cpu(old_tclient->checksum_discard); tmp 1141 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c nstats->rx_dropped = tmp + bp->net_stats_old.rx_dropped; tmp 3458 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 tmp = agg_ring_size; tmp 3463 drivers/net/ethernet/broadcom/bnxt/bnxt.c tmp, agg_ring_size); tmp 3894 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct hlist_node *tmp; tmp 3898 drivers/net/ethernet/broadcom/bnxt/bnxt.c hlist_for_each_entry_safe(fltr, tmp, head, hash) { tmp 11136 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct hlist_node *tmp; tmp 11141 drivers/net/ethernet/broadcom/bnxt/bnxt.c hlist_for_each_entry_safe(fltr, tmp, head, hash) { tmp 3197 drivers/net/ethernet/broadcom/tg3.c u32 tmp; tmp 3203 drivers/net/ethernet/broadcom/tg3.c tmp = tr32(GRC_EEPROM_ADDR) & ~(EEPROM_ADDR_ADDR_MASK | tmp 3207 drivers/net/ethernet/broadcom/tg3.c tmp | tmp 3214 drivers/net/ethernet/broadcom/tg3.c tmp = tr32(GRC_EEPROM_ADDR); tmp 3216 drivers/net/ethernet/broadcom/tg3.c if (tmp & EEPROM_ADDR_COMPLETE) tmp 3220 drivers/net/ethernet/broadcom/tg3.c if (!(tmp & EEPROM_ADDR_COMPLETE)) tmp 3223 drivers/net/ethernet/broadcom/tg3.c tmp = tr32(GRC_EEPROM_DATA); tmp 3229 drivers/net/ethernet/broadcom/tg3.c *val = swab32(tmp); tmp 3390 drivers/net/ethernet/broadcom/tg3.c u8 *tmp; tmp 3392 drivers/net/ethernet/broadcom/tg3.c tmp = kmalloc(pagesize, GFP_KERNEL); tmp 3393 drivers/net/ethernet/broadcom/tg3.c if (tmp == NULL) tmp 3404 drivers/net/ethernet/broadcom/tg3.c (__be32 *) (tmp + j)); tmp 3418 drivers/net/ethernet/broadcom/tg3.c memcpy(tmp + page_off, buf, size); tmp 3451 drivers/net/ethernet/broadcom/tg3.c data = *((__be32 *) (tmp + j)); tmp 3476 drivers/net/ethernet/broadcom/tg3.c kfree(tmp); tmp 4496 drivers/net/ethernet/broadcom/tg3.c u32 tmp; tmp 4499 drivers/net/ethernet/broadcom/tg3.c if (tg3_readphy(tp, MII_BMSR, &tmp) || tmp 4500 drivers/net/ethernet/broadcom/tg3.c tg3_readphy(tp, MII_BMSR, &tmp)) tmp 4502 drivers/net/ethernet/broadcom/tg3.c if (!(tmp & BMSR_LSTATUS)) { tmp 5419 drivers/net/ethernet/broadcom/tg3.c u32 tmp; tmp 5423 drivers/net/ethernet/broadcom/tg3.c tmp = tp->mac_mode & ~MAC_MODE_PORT_MODE_MASK; tmp 5424 drivers/net/ethernet/broadcom/tg3.c tw32_f(MAC_MODE, tmp | MAC_MODE_PORT_MODE_GMII); tmp 9718 drivers/net/ethernet/broadcom/tg3.c u32 tmp; tmp 9727 drivers/net/ethernet/broadcom/tg3.c tmp = reg & 0x01; tmp 9731 drivers/net/ethernet/broadcom/tg3.c if (tmp) tmp 10684 drivers/net/ethernet/broadcom/tg3.c u32 tmp; tmp 10686 drivers/net/ethernet/broadcom/tg3.c tmp = tr32(SERDES_RX_CTRL); tmp 10687 drivers/net/ethernet/broadcom/tg3.c tw32(SERDES_RX_CTRL, tmp | SERDES_RX_SIG_DETECT); tmp 10703 drivers/net/ethernet/broadcom/tg3.c u32 tmp; tmp 10706 drivers/net/ethernet/broadcom/tg3.c if (!tg3_readphy(tp, MII_TG3_TEST1, &tmp)) { tmp 10708 drivers/net/ethernet/broadcom/tg3.c tmp | MII_TG3_TEST1_CRC_EN); tmp 10709 drivers/net/ethernet/broadcom/tg3.c tg3_readphy(tp, MII_TG3_RXR_COUNTERS, &tmp); tmp 749 drivers/net/ethernet/cavium/liquidio/octeon_droq.c struct list_head *tmp, *tmp2; tmp 762 drivers/net/ethernet/cavium/liquidio/octeon_droq.c list_for_each_safe(tmp, tmp2, &droq->dispatch_list) { tmp 763 drivers/net/ethernet/cavium/liquidio/octeon_droq.c struct __dispatch *rdisp = (struct __dispatch *)tmp; tmp 765 drivers/net/ethernet/cavium/liquidio/octeon_droq.c list_del(tmp); tmp 789 drivers/net/ethernet/cavium/liquidio/octeon_droq.c struct list_head *tmp, *tmp2; tmp 812 drivers/net/ethernet/cavium/liquidio/octeon_droq.c list_for_each_safe(tmp, tmp2, &droq->dispatch_list) { tmp 813 drivers/net/ethernet/cavium/liquidio/octeon_droq.c struct __dispatch *rdisp = (struct __dispatch *)tmp; tmp 815 drivers/net/ethernet/cavium/liquidio/octeon_droq.c list_del(tmp); tmp 776 drivers/net/ethernet/cavium/liquidio/request_manager.c struct list_head *tmp, *tmp2; tmp 789 drivers/net/ethernet/cavium/liquidio/request_manager.c list_for_each_safe(tmp, tmp2, &done_sc_list->head) { tmp 790 drivers/net/ethernet/cavium/liquidio/request_manager.c sc = list_entry(tmp, struct octeon_soft_command, node); tmp 815 drivers/net/ethernet/cavium/liquidio/request_manager.c struct list_head *tmp, *tmp2; tmp 823 drivers/net/ethernet/cavium/liquidio/request_manager.c list_for_each_safe(tmp, tmp2, &zombie_sc_list->head) { tmp 824 drivers/net/ethernet/cavium/liquidio/request_manager.c list_del(tmp); tmp 826 drivers/net/ethernet/cavium/liquidio/request_manager.c sc = list_entry(tmp, struct octeon_soft_command, node); tmp 837 drivers/net/ethernet/cavium/liquidio/request_manager.c struct list_head *tmp, *tmp2; tmp 844 drivers/net/ethernet/cavium/liquidio/request_manager.c list_for_each_safe(tmp, tmp2, &oct->sc_buf_pool.head) { tmp 845 drivers/net/ethernet/cavium/liquidio/request_manager.c list_del(tmp); tmp 847 drivers/net/ethernet/cavium/liquidio/request_manager.c sc = (struct octeon_soft_command *)tmp; tmp 868 drivers/net/ethernet/cavium/liquidio/request_manager.c struct list_head *tmp; tmp 883 drivers/net/ethernet/cavium/liquidio/request_manager.c list_for_each(tmp, &oct->sc_buf_pool.head) tmp 886 drivers/net/ethernet/cavium/liquidio/request_manager.c list_del(tmp); tmp 892 drivers/net/ethernet/cavium/liquidio/request_manager.c sc = (struct octeon_soft_command *)tmp; tmp 1261 drivers/net/ethernet/cavium/thunder/nicvf_main.c int tmp; tmp 1279 drivers/net/ethernet/cavium/thunder/nicvf_main.c tmp = qid / MAX_SND_QUEUES_PER_QS; tmp 1280 drivers/net/ethernet/cavium/thunder/nicvf_main.c snic = (struct nicvf *)nic->snicvf[tmp - 1]; tmp 1284 drivers/net/ethernet/cavium/thunder/nicvf_main.c tmp - 1); tmp 662 drivers/net/ethernet/cavium/thunder/nicvf_queues.c u64 tmp, fifo_state; tmp 686 drivers/net/ethernet/cavium/thunder/nicvf_queues.c tmp = nicvf_queue_reg_read(nic, tmp 689 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if ((tmp & 0xFFFFFFFF) == ((tmp >> 32) & 0xFFFFFFFF)) tmp 91 drivers/net/ethernet/chelsio/cxgb3/l2t.c struct sk_buff *tmp; tmp 110 drivers/net/ethernet/chelsio/cxgb3/l2t.c skb_queue_walk_safe(&e->arpq, skb, tmp) { tmp 382 drivers/net/ethernet/chelsio/cxgb3/l2t.c struct sk_buff *skb, *tmp; tmp 384 drivers/net/ethernet/chelsio/cxgb3/l2t.c skb_queue_walk_safe(arpq, skb, tmp) { tmp 1903 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sk_buff *skb, *tmp, *skbs[RX_BUNDLE_SIZE]; tmp 1918 drivers/net/ethernet/chelsio/cxgb3/sge.c skb_queue_walk_safe(&queue, skb, tmp) { tmp 406 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c struct hash_mac_addr *entry, *tmp; tmp 411 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c list_for_each_entry_safe(entry, tmp, &adap->mac_hlist, list) { tmp 6133 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c struct hash_mac_addr *entry, *tmp; tmp 6185 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c list_for_each_entry_safe(entry, tmp, &adapter->mac_hlist, tmp 10 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c struct mps_entries_ref *mps_entry, *tmp; tmp 14 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) { tmp 33 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c struct mps_entries_ref *mps_entry, *tmp; tmp 37 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) { tmp 230 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c struct mps_entries_ref *mps_entry, *tmp; tmp 236 drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) { tmp 2731 drivers/net/ethernet/chelsio/cxgb4/sge.c u64 tmp = (sgetstamp * 1000 * 1000 + adap->params.vpd.cclk / 2); tmp 2733 drivers/net/ethernet/chelsio/cxgb4/sge.c ns = div_u64(tmp, adap->params.vpd.cclk); tmp 975 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c struct hash_mac_addr *entry, *tmp; tmp 980 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c list_for_each_entry_safe(entry, tmp, &adapter->mac_hlist, list) { tmp 3332 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c struct hash_mac_addr *entry, *tmp; tmp 3384 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c list_for_each_entry_safe(entry, tmp, &adapter->mac_hlist, tmp 1314 drivers/net/ethernet/cirrus/cs89x0.c int tmp; tmp 1339 drivers/net/ethernet/cirrus/cs89x0.c tmp = ioread16(ioaddr + DATA_PORT); tmp 1340 drivers/net/ethernet/cirrus/cs89x0.c if (tmp != CHIP_EISA_ID_SIG) { tmp 1343 drivers/net/ethernet/cirrus/cs89x0.c dev->name, ioaddr, DATA_PORT, tmp); tmp 93 drivers/net/ethernet/cisco/enic/enic_clsf.c struct hlist_node *tmp; tmp 97 drivers/net/ethernet/cisco/enic/enic_clsf.c hlist_for_each_entry_safe(n, tmp, hhead, node) { tmp 113 drivers/net/ethernet/cisco/enic/enic_clsf.c struct hlist_node *tmp; tmp 117 drivers/net/ethernet/cisco/enic/enic_clsf.c hlist_for_each_entry_safe(n, tmp, hhead, node) tmp 135 drivers/net/ethernet/cisco/enic/enic_clsf.c struct hlist_node *tmp; tmp 139 drivers/net/ethernet/cisco/enic/enic_clsf.c hlist_for_each_entry_safe(n, tmp, hhead, node) { tmp 423 drivers/net/ethernet/cisco/enic/enic_ethtool.c struct hlist_node *tmp; tmp 427 drivers/net/ethernet/cisco/enic/enic_ethtool.c hlist_for_each_entry_safe(n, tmp, hhead, node) { tmp 512 drivers/net/ethernet/cortina/gemini.c union gmac_config0 tmp; tmp 516 drivers/net/ethernet/cortina/gemini.c tmp.bits32 = readl(port->gmac_base + GMAC_CONFIG0); tmp 517 drivers/net/ethernet/cortina/gemini.c config0.bits.reserved = tmp.bits.reserved; tmp 236 drivers/net/ethernet/davicom/dm9000.c int tmp; tmp 239 drivers/net/ethernet/davicom/dm9000.c tmp = readb(reg); tmp 245 drivers/net/ethernet/davicom/dm9000.c int tmp; tmp 250 drivers/net/ethernet/davicom/dm9000.c tmp = readw(reg); tmp 256 drivers/net/ethernet/davicom/dm9000.c int tmp; tmp 261 drivers/net/ethernet/davicom/dm9000.c tmp = readl(reg); tmp 668 drivers/net/ethernet/davicom/dm9000.c u8 tmp[2]; tmp 670 drivers/net/ethernet/davicom/dm9000.c dm9000_read_eeprom(dm, offset / 2, tmp); tmp 671 drivers/net/ethernet/davicom/dm9000.c tmp[which] = *data; tmp 672 drivers/net/ethernet/davicom/dm9000.c dm9000_write_eeprom(dm, offset / 2, tmp); tmp 822 drivers/net/ethernet/dec/tulip/de2104x.c u32 tmp = dr32(RxMissed); /* self-clearing */ tmp 824 drivers/net/ethernet/dec/tulip/de2104x.c de_rx_missed(de, tmp); tmp 1182 drivers/net/ethernet/dec/tulip/de2104x.c u32 status, tmp; tmp 1199 drivers/net/ethernet/dec/tulip/de2104x.c for (tmp = 0; tmp < 5; tmp++) { tmp 824 drivers/net/ethernet/dec/tulip/de4x5.c int tmp; /* Temporary global per card */ tmp 2774 drivers/net/ethernet/dec/tulip/de4x5.c lp->tmp = MII_SR_ASSC; /* Fake out the MII speed set */ tmp 2826 drivers/net/ethernet/dec/tulip/de4x5.c lp->tmp = MII_SR_ASSC; tmp 2849 drivers/net/ethernet/dec/tulip/de4x5.c lp->tmp = (lp->phy[lp->active].id ? MII_SR_LKS : tmp 2858 drivers/net/ethernet/dec/tulip/de4x5.c } else if ((!is_spd_100(dev) && (is_10_up(dev) & lp->tmp))) { tmp 3010 drivers/net/ethernet/dec/tulip/de4x5.c lp->tmp = MII_SR_ASSC; tmp 3564 drivers/net/ethernet/dec/tulip/de4x5.c lp->tmp = lp->tx_new; /* Remember the ring position */ tmp 3573 drivers/net/ethernet/dec/tulip/de4x5.c ((s32)le32_to_cpu(lp->tx_ring[lp->tmp].status) < 0) && tmp 3578 drivers/net/ethernet/dec/tulip/de4x5.c !(le32_to_cpu(lp->tx_ring[lp->tmp].status) & (T_OWN | TD_ES)) && tmp 3603 drivers/net/ethernet/dec/tulip/de4x5.c u_long i=0, tmp; tmp 3608 drivers/net/ethernet/dec/tulip/de4x5.c tmp = virt_to_bus(p->data); tmp 3609 drivers/net/ethernet/dec/tulip/de4x5.c i = ((tmp + DE4X5_ALIGN) & ~DE4X5_ALIGN) - tmp; tmp 3611 drivers/net/ethernet/dec/tulip/de4x5.c lp->rx_ring[index].buf = cpu_to_le32(tmp + i); tmp 3914 drivers/net/ethernet/dec/tulip/de4x5.c int tmp = *((char *)&lp->srom + 19) * 3; tmp 3915 drivers/net/ethernet/dec/tulip/de4x5.c strncpy(name, (char *)&lp->srom + 26 + tmp, 8); tmp 3963 drivers/net/ethernet/dec/tulip/de4x5.c u_short tmp; tmp 3966 drivers/net/ethernet/dec/tulip/de4x5.c tmp = srom_rd(aprom_addr, (SROM_HWADD>>1) + i); tmp 3967 drivers/net/ethernet/dec/tulip/de4x5.c j += tmp; /* for check for 0:0:0:0:0:0 or ff:ff:ff:ff:ff:ff */ tmp 3968 drivers/net/ethernet/dec/tulip/de4x5.c *p = cpu_to_le16(tmp); tmp 3977 drivers/net/ethernet/dec/tulip/de4x5.c tmp = srom_rd(aprom_addr, i); tmp 3978 drivers/net/ethernet/dec/tulip/de4x5.c *p++ = cpu_to_le16(tmp); tmp 4031 drivers/net/ethernet/dec/tulip/de4x5.c int broken, i, k, tmp, status = 0; tmp 4043 drivers/net/ethernet/dec/tulip/de4x5.c while ((tmp = inl(DE4X5_APROM)) < 0); tmp 4044 drivers/net/ethernet/dec/tulip/de4x5.c k += (u_char) tmp; tmp 4045 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i++] = (u_char) tmp; tmp 4046 drivers/net/ethernet/dec/tulip/de4x5.c while ((tmp = inl(DE4X5_APROM)) < 0); tmp 4047 drivers/net/ethernet/dec/tulip/de4x5.c k += (u_short) (tmp << 8); tmp 4048 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i++] = (u_char) tmp; tmp 4057 drivers/net/ethernet/dec/tulip/de4x5.c k += (u_char) (tmp = inb(EISA_APROM)); tmp 4058 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i++] = (u_char) tmp; tmp 4059 drivers/net/ethernet/dec/tulip/de4x5.c k += (u_short) ((tmp = inb(EISA_APROM)) << 8); tmp 4060 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i++] = (u_char) tmp; tmp 4069 drivers/net/ethernet/dec/tulip/de4x5.c while ((tmp = inl(DE4X5_APROM)) < 0); tmp 4070 drivers/net/ethernet/dec/tulip/de4x5.c chksum = (u_char) tmp; tmp 4071 drivers/net/ethernet/dec/tulip/de4x5.c while ((tmp = inl(DE4X5_APROM)) < 0); tmp 4072 drivers/net/ethernet/dec/tulip/de4x5.c chksum |= (u_short) (tmp << 8); tmp 4155 drivers/net/ethernet/dec/tulip/de4x5.c int i, tmp; tmp 4157 drivers/net/ethernet/dec/tulip/de4x5.c for (tmp=0,i=0; i<ETH_ALEN; i++) tmp += (u_char)dev->dev_addr[i]; tmp 4158 drivers/net/ethernet/dec/tulip/de4x5.c if ((tmp == 0) || (tmp == 0x5fa)) { tmp 4247 drivers/net/ethernet/dec/tulip/de4x5.c s32 tmp; tmp 4251 drivers/net/ethernet/dec/tulip/de4x5.c tmp = getfrom_srom(addr); tmp 4254 drivers/net/ethernet/dec/tulip/de4x5.c word = (word << 1) | ((tmp >> 3) & 0x01); tmp 4286 drivers/net/ethernet/dec/tulip/de4x5.c s32 tmp; tmp 4288 drivers/net/ethernet/dec/tulip/de4x5.c tmp = inl(addr); tmp 4291 drivers/net/ethernet/dec/tulip/de4x5.c return tmp; tmp 4837 drivers/net/ethernet/dec/tulip/de4x5.c s32 tmp = 0; tmp 4840 drivers/net/ethernet/dec/tulip/de4x5.c tmp <<= 1; tmp 4841 drivers/net/ethernet/dec/tulip/de4x5.c tmp |= getfrom_mii(MII_MRD | MII_RD, ioaddr); tmp 4844 drivers/net/ethernet/dec/tulip/de4x5.c return tmp; tmp 4884 drivers/net/ethernet/dec/tulip/de4x5.c int i, tmp = 0; tmp 4887 drivers/net/ethernet/dec/tulip/de4x5.c tmp <<= 1; tmp 4888 drivers/net/ethernet/dec/tulip/de4x5.c tmp |= (data & 1); tmp 4892 drivers/net/ethernet/dec/tulip/de4x5.c return tmp; tmp 5373 drivers/net/ethernet/dec/tulip/de4x5.c } tmp; tmp 5380 drivers/net/ethernet/dec/tulip/de4x5.c tmp.addr[i] = dev->dev_addr[i]; tmp 5382 drivers/net/ethernet/dec/tulip/de4x5.c if (copy_to_user(ioc->data, tmp.addr, ioc->len)) return -EFAULT; tmp 5387 drivers/net/ethernet/dec/tulip/de4x5.c if (copy_from_user(tmp.addr, ioc->data, ETH_ALEN)) return -EFAULT; tmp 5392 drivers/net/ethernet/dec/tulip/de4x5.c dev->dev_addr[i] = tmp.addr[i]; tmp 5434 drivers/net/ethernet/dec/tulip/de4x5.c tmp.addr[0] = inl(DE4X5_OMR); tmp 5435 drivers/net/ethernet/dec/tulip/de4x5.c if (copy_to_user(ioc->data, tmp.addr, 1)) return -EFAULT; tmp 5440 drivers/net/ethernet/dec/tulip/de4x5.c if (copy_from_user(tmp.addr, ioc->data, 1)) return -EFAULT; tmp 5441 drivers/net/ethernet/dec/tulip/de4x5.c outl(tmp.addr[0], DE4X5_OMR); tmp 5446 drivers/net/ethernet/dec/tulip/de4x5.c tmp.lval[0] = inl(DE4X5_STS); j+=4; tmp 5447 drivers/net/ethernet/dec/tulip/de4x5.c tmp.lval[1] = inl(DE4X5_BMR); j+=4; tmp 5448 drivers/net/ethernet/dec/tulip/de4x5.c tmp.lval[2] = inl(DE4X5_IMR); j+=4; tmp 5449 drivers/net/ethernet/dec/tulip/de4x5.c tmp.lval[3] = inl(DE4X5_OMR); j+=4; tmp 5450 drivers/net/ethernet/dec/tulip/de4x5.c tmp.lval[4] = inl(DE4X5_SISR); j+=4; tmp 5451 drivers/net/ethernet/dec/tulip/de4x5.c tmp.lval[5] = inl(DE4X5_SICR); j+=4; tmp 5452 drivers/net/ethernet/dec/tulip/de4x5.c tmp.lval[6] = inl(DE4X5_STRR); j+=4; tmp 5453 drivers/net/ethernet/dec/tulip/de4x5.c tmp.lval[7] = inl(DE4X5_SIGR); j+=4; tmp 5455 drivers/net/ethernet/dec/tulip/de4x5.c if (copy_to_user(ioc->data, tmp.lval, ioc->len)) tmp 924 drivers/net/ethernet/dec/tulip/de4x5.h if ((lp->tmp != MII_SR_ASSC) || (lp->autosense != AUTO)) {\ tmp 953 drivers/net/ethernet/dec/tulip/de4x5.h if ((lp->tmp != MII_SR_ASSC) || (lp->autosense != AUTO)) {\ tmp 2101 drivers/net/ethernet/dec/tulip/dmfe.c u32 tmp; tmp 2118 drivers/net/ethernet/dec/tulip/dmfe.c pci_read_config_dword(pci_dev, 0x40, &tmp); tmp 2119 drivers/net/ethernet/dec/tulip/dmfe.c tmp &= ~(DMFE_WOL_LINKCHANGE|DMFE_WOL_MAGICPACKET); tmp 2122 drivers/net/ethernet/dec/tulip/dmfe.c tmp |= DMFE_WOL_LINKCHANGE; tmp 2124 drivers/net/ethernet/dec/tulip/dmfe.c tmp |= DMFE_WOL_MAGICPACKET; tmp 2126 drivers/net/ethernet/dec/tulip/dmfe.c pci_write_config_dword(pci_dev, 0x40, tmp); tmp 2141 drivers/net/ethernet/dec/tulip/dmfe.c u32 tmp; tmp 2150 drivers/net/ethernet/dec/tulip/dmfe.c pci_read_config_dword(pci_dev, 0x40, &tmp); tmp 2152 drivers/net/ethernet/dec/tulip/dmfe.c tmp &= ~(DMFE_WOL_LINKCHANGE | DMFE_WOL_MAGICPACKET); tmp 2153 drivers/net/ethernet/dec/tulip/dmfe.c pci_write_config_dword(pci_dev, 0x40, tmp); tmp 279 drivers/net/ethernet/dec/tulip/tulip_core.c u32 tmp, newtmp; tmp 280 drivers/net/ethernet/dec/tulip/tulip_core.c pci_read_config_dword (tp->pdev, CFDD, &tmp); tmp 281 drivers/net/ethernet/dec/tulip/tulip_core.c newtmp = tmp & ~(CFDD_Sleep | CFDD_Snooze); tmp 286 drivers/net/ethernet/dec/tulip/tulip_core.c if (tmp != newtmp) tmp 1600 drivers/net/ethernet/dec/tulip/tulip_core.c char tmp = dev->dev_addr[i]; tmp 1602 drivers/net/ethernet/dec/tulip/tulip_core.c dev->dev_addr[i+1] = tmp; tmp 1804 drivers/net/ethernet/dec/tulip/tulip_core.c unsigned int tmp; tmp 1806 drivers/net/ethernet/dec/tulip/tulip_core.c tmp = ioread32(ioaddr + CSR18); tmp 1807 drivers/net/ethernet/dec/tulip/tulip_core.c tmp &= ~(comet_csr18_pmes_sticky | comet_csr18_apm_mode | comet_csr18_d3a); tmp 1808 drivers/net/ethernet/dec/tulip/tulip_core.c tmp |= comet_csr18_pm_mode; tmp 1809 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tmp, ioaddr + CSR18); tmp 1812 drivers/net/ethernet/dec/tulip/tulip_core.c tmp = ioread32(ioaddr + CSR13); tmp 1813 drivers/net/ethernet/dec/tulip/tulip_core.c tmp &= ~(comet_csr13_linkoffe | comet_csr13_linkone | comet_csr13_wfre | comet_csr13_lsce | comet_csr13_mpre); tmp 1815 drivers/net/ethernet/dec/tulip/tulip_core.c tmp |= comet_csr13_mpre; tmp 1817 drivers/net/ethernet/dec/tulip/tulip_core.c tmp |= comet_csr13_linkoffe | comet_csr13_linkone | comet_csr13_lsce; tmp 1819 drivers/net/ethernet/dec/tulip/tulip_core.c tmp |= comet_csr13_wfr | comet_csr13_mpr | comet_csr13_lsc; tmp 1820 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tmp, ioaddr + CSR13); tmp 1869 drivers/net/ethernet/dec/tulip/tulip_core.c unsigned int tmp; tmp 1897 drivers/net/ethernet/dec/tulip/tulip_core.c tmp = ioread32(ioaddr + CSR20); tmp 1898 drivers/net/ethernet/dec/tulip/tulip_core.c tmp |= comet_csr20_pmes; tmp 1899 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tmp, ioaddr + CSR20); tmp 61 drivers/net/ethernet/dnet.c u16 tmp; tmp 63 drivers/net/ethernet/dnet.c tmp = be16_to_cpup((__be16 *)bp->dev->dev_addr); tmp 64 drivers/net/ethernet/dnet.c dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_0_REG, tmp); tmp 65 drivers/net/ethernet/dnet.c tmp = be16_to_cpup((__be16 *)(bp->dev->dev_addr + 2)); tmp 66 drivers/net/ethernet/dnet.c dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_1_REG, tmp); tmp 67 drivers/net/ethernet/dnet.c tmp = be16_to_cpup((__be16 *)(bp->dev->dev_addr + 4)); tmp 68 drivers/net/ethernet/dnet.c dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_2_REG, tmp); tmp 73 drivers/net/ethernet/dnet.c u16 tmp; tmp 88 drivers/net/ethernet/dnet.c tmp = dnet_readw_mac(bp, DNET_INTERNAL_MAC_ADDR_0_REG); tmp 89 drivers/net/ethernet/dnet.c *((__be16 *)addr) = cpu_to_be16(tmp); tmp 90 drivers/net/ethernet/dnet.c tmp = dnet_readw_mac(bp, DNET_INTERNAL_MAC_ADDR_1_REG); tmp 91 drivers/net/ethernet/dnet.c *((__be16 *)(addr + 2)) = cpu_to_be16(tmp); tmp 92 drivers/net/ethernet/dnet.c tmp = dnet_readw_mac(bp, DNET_INTERNAL_MAC_ADDR_2_REG); tmp 93 drivers/net/ethernet/dnet.c *((__be16 *)(addr + 4)) = cpu_to_be16(tmp); tmp 135 drivers/net/ethernet/dnet.c u16 tmp; tmp 144 drivers/net/ethernet/dnet.c tmp = (1 << 13); tmp 154 drivers/net/ethernet/dnet.c tmp |= (mii_id << 8); tmp 155 drivers/net/ethernet/dnet.c tmp |= regnum; tmp 161 drivers/net/ethernet/dnet.c dnet_writew_mac(bp, DNET_INTERNAL_GMII_MNG_CTL_REG, tmp); tmp 1147 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct dpaa_fq *dpaa_fq, *tmp; tmp 1151 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c list_for_each_entry_safe(dpaa_fq, tmp, list, list) { tmp 2780 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct dpaa_fq *dpaa_fq, *tmp; tmp 2900 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c list_for_each_entry_safe(dpaa_fq, tmp, &priv->dpaa_fq_list, list) { tmp 58 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c struct dpaa_fq *tmp; tmp 66 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c list_for_each_entry_safe(fq, tmp, &priv->dpaa_fq_list, list) { tmp 119 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c void *tmp, *tmp_align; tmp 129 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c tmp = dma_alloc_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, tmp 131 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c if (!tmp) { tmp 137 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c tmp_align = PTR_ALIGN(tmp, RFSE_ALIGN); tmp 148 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c tmp, dma); tmp 159 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c u8 *tmp, *tmp_align; tmp 166 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c tmp = dma_alloc_coherent(&si->pdev->dev, count + RSSE_ALIGN, tmp 168 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c if (!tmp) { tmp 173 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c tmp_align = PTR_ALIGN(tmp, RSSE_ALIGN); tmp 195 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dma_free_coherent(&si->pdev->dev, count + RSSE_ALIGN, tmp, dma); tmp 308 drivers/net/ethernet/freescale/enetc/enetc_hw.h u32 low, high, tmp; tmp 313 drivers/net/ethernet/freescale/enetc/enetc_hw.h tmp = ioread32(reg + 4); tmp 314 drivers/net/ethernet/freescale/enetc/enetc_hw.h } while (high != tmp); tmp 3065 drivers/net/ethernet/freescale/fec_main.c unsigned int crc, tmp; tmp 3070 drivers/net/ethernet/freescale/fec_main.c tmp = readl(fep->hwp + FEC_R_CNTRL); tmp 3071 drivers/net/ethernet/freescale/fec_main.c tmp |= 0x8; tmp 3072 drivers/net/ethernet/freescale/fec_main.c writel(tmp, fep->hwp + FEC_R_CNTRL); tmp 3076 drivers/net/ethernet/freescale/fec_main.c tmp = readl(fep->hwp + FEC_R_CNTRL); tmp 3077 drivers/net/ethernet/freescale/fec_main.c tmp &= ~0x8; tmp 3078 drivers/net/ethernet/freescale/fec_main.c writel(tmp, fep->hwp + FEC_R_CNTRL); tmp 648 drivers/net/ethernet/freescale/fec_mpc52xx.c u32 tmp; tmp 651 drivers/net/ethernet/freescale/fec_mpc52xx.c tmp = FEC_FIFO_STATUS_ERR | FEC_FIFO_STATUS_UF | FEC_FIFO_STATUS_OF; tmp 652 drivers/net/ethernet/freescale/fec_mpc52xx.c out_be32(&fec->rfifo_status, in_be32(&fec->rfifo_status) & tmp); tmp 653 drivers/net/ethernet/freescale/fec_mpc52xx.c out_be32(&fec->tfifo_status, in_be32(&fec->tfifo_status) & tmp); tmp 93 drivers/net/ethernet/freescale/fec_mpc52xx.h u32 tmp; /* FEC + 0x130 */ tmp 292 drivers/net/ethernet/freescale/fec_ptp.c u32 i, tmp; tmp 337 drivers/net/ethernet/freescale/fec_ptp.c tmp = readl(fep->hwp + FEC_ATIME_INC) & FEC_T_INC_MASK; tmp 338 drivers/net/ethernet/freescale/fec_ptp.c tmp |= corr_ns << FEC_T_INC_CORR_OFFSET; tmp 339 drivers/net/ethernet/freescale/fec_ptp.c writel(tmp, fep->hwp + FEC_ATIME_INC); tmp 622 drivers/net/ethernet/freescale/fman/fman.c u32 tmp = 0; tmp 624 drivers/net/ethernet/freescale/fman/fman.c tmp = port_id << FPM_PORT_FM_CTL_PORTID_SHIFT; tmp 626 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_PRT_FM_CTL2 | FPM_PRT_FM_CTL1; tmp 630 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_PRT_FM_CTL1 << FPM_PRC_ORA_FM_CTL_SEL_SHIFT; tmp 632 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_PRT_FM_CTL2 << FPM_PRC_ORA_FM_CTL_SEL_SHIFT; tmp 634 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fpm_rg->fmfp_prc); tmp 640 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 643 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->dma_regs->fmdmplr[port_id / 2]); tmp 645 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~DMA_LIODN_BASE_MASK; tmp 646 drivers/net/ethernet/freescale/fman/fman.c tmp |= liodn_base; tmp 648 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~(DMA_LIODN_BASE_MASK << DMA_LIODN_SHIFT); tmp 649 drivers/net/ethernet/freescale/fman/fman.c tmp |= liodn_base << DMA_LIODN_SHIFT; tmp 651 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->dma_regs->fmdmplr[port_id / 2]); tmp 657 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 659 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fpm_rg->fm_rcr); tmp 660 drivers/net/ethernet/freescale/fman/fman.c if (tmp & FPM_RAM_RAMS_ECC_EN_SRC_SEL) tmp 661 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp | FPM_RAM_IRAM_ECC_EN, &fpm_rg->fm_rcr); tmp 663 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp | FPM_RAM_RAMS_ECC_EN | tmp 669 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 671 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fpm_rg->fm_rcr); tmp 672 drivers/net/ethernet/freescale/fman/fman.c if (tmp & FPM_RAM_RAMS_ECC_EN_SRC_SEL) tmp 673 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp & ~FPM_RAM_IRAM_ECC_EN, &fpm_rg->fm_rcr); tmp 675 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp & ~(FPM_RAM_RAMS_ECC_EN | FPM_RAM_IRAM_ECC_EN), tmp 976 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 980 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->dma_regs->fmdmmr); tmp 982 drivers/net/ethernet/freescale/fman/fman.c tmp |= DMA_MODE_BER; tmp 984 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~DMA_MODE_BER; tmp 986 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->dma_regs->fmdmmr); tmp 991 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->dma_regs->fmdmmr); tmp 993 drivers/net/ethernet/freescale/fman/fman.c tmp |= DMA_MODE_ECC; tmp 995 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~DMA_MODE_ECC; tmp 996 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->dma_regs->fmdmmr); tmp 999 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->fpm_regs->fmfp_ee); tmp 1001 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_EV_MASK_STALL_EN; tmp 1003 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~FPM_EV_MASK_STALL_EN; tmp 1004 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->fpm_regs->fmfp_ee); tmp 1007 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->fpm_regs->fmfp_ee); tmp 1009 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_EV_MASK_SINGLE_ECC_EN; tmp 1011 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~FPM_EV_MASK_SINGLE_ECC_EN; tmp 1012 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->fpm_regs->fmfp_ee); tmp 1015 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->fpm_regs->fmfp_ee); tmp 1017 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_EV_MASK_DOUBLE_ECC_EN; tmp 1019 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~FPM_EV_MASK_DOUBLE_ECC_EN; tmp 1020 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->fpm_regs->fmfp_ee); tmp 1023 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->qmi_regs->fmqm_ien); tmp 1025 drivers/net/ethernet/freescale/fman/fman.c tmp |= QMI_INTR_EN_SINGLE_ECC; tmp 1027 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~QMI_INTR_EN_SINGLE_ECC; tmp 1028 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->qmi_regs->fmqm_ien); tmp 1031 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->qmi_regs->fmqm_eien); tmp 1033 drivers/net/ethernet/freescale/fman/fman.c tmp |= QMI_ERR_INTR_EN_DOUBLE_ECC; tmp 1035 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~QMI_ERR_INTR_EN_DOUBLE_ECC; tmp 1036 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->qmi_regs->fmqm_eien); tmp 1039 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->qmi_regs->fmqm_eien); tmp 1041 drivers/net/ethernet/freescale/fman/fman.c tmp |= QMI_ERR_INTR_EN_DEQ_FROM_DEF; tmp 1043 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~QMI_ERR_INTR_EN_DEQ_FROM_DEF; tmp 1044 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->qmi_regs->fmqm_eien); tmp 1047 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->bmi_regs->fmbm_ier); tmp 1049 drivers/net/ethernet/freescale/fman/fman.c tmp |= BMI_ERR_INTR_EN_LIST_RAM_ECC; tmp 1051 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~BMI_ERR_INTR_EN_LIST_RAM_ECC; tmp 1052 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->bmi_regs->fmbm_ier); tmp 1055 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->bmi_regs->fmbm_ier); tmp 1057 drivers/net/ethernet/freescale/fman/fman.c tmp |= BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC; tmp 1059 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC; tmp 1060 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->bmi_regs->fmbm_ier); tmp 1063 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->bmi_regs->fmbm_ier); tmp 1065 drivers/net/ethernet/freescale/fman/fman.c tmp |= BMI_ERR_INTR_EN_STATISTICS_RAM_ECC; tmp 1067 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~BMI_ERR_INTR_EN_STATISTICS_RAM_ECC; tmp 1068 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->bmi_regs->fmbm_ier); tmp 1071 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->bmi_regs->fmbm_ier); tmp 1073 drivers/net/ethernet/freescale/fman/fman.c tmp |= BMI_ERR_INTR_EN_DISPATCH_RAM_ECC; tmp 1075 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~BMI_ERR_INTR_EN_DISPATCH_RAM_ECC; tmp 1076 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->bmi_regs->fmbm_ier); tmp 1079 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->fpm_regs->fm_rie); tmp 1084 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_IRAM_ECC_ERR_EX_EN; tmp 1090 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~FPM_IRAM_ECC_ERR_EX_EN; tmp 1092 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->fpm_regs->fm_rie); tmp 1095 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->fpm_regs->fm_rie); tmp 1100 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_MURAM_ECC_ERR_EX_EN; tmp 1106 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~FPM_MURAM_ECC_ERR_EX_EN; tmp 1108 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fman->fpm_regs->fm_rie); tmp 1118 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 1120 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fpm_rg->fmfp_ee); tmp 1122 drivers/net/ethernet/freescale/fman/fman.c tmp &= ~(FPM_EV_MASK_DOUBLE_ECC | tmp 1124 drivers/net/ethernet/freescale/fman/fman.c tmp |= FPM_EV_MASK_RELEASE_FM; tmp 1126 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fpm_rg->fmfp_ee); tmp 1399 drivers/net/ethernet/freescale/fman/fman.c u32 tmp, intgr, ts_freq; tmp 1422 drivers/net/ethernet/freescale/fman/fman.c tmp = (intgr << FPM_TS_INT_SHIFT) | (u16)frac; tmp 1423 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &fpm_rg->fmfp_tsc2); tmp 1556 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 1579 drivers/net/ethernet/freescale/fman/fman.c tmp = (fifo / FMAN_BMI_FIFO_UNITS - 1) | tmp 1582 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &bmi_rg->fmbm_pfs[port_id - 1]); tmp 1596 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 1614 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]) & tmp 1616 drivers/net/ethernet/freescale/fman/fman.c tmp |= ((u32)((tasks - 1) << BMI_NUM_OF_TASKS_SHIFT) | tmp 1618 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &bmi_rg->fmbm_pp[port_id - 1]); tmp 1631 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 1637 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]); tmp 1638 drivers/net/ethernet/freescale/fman/fman.c current_extra_val = (u8)((tmp & BMI_NUM_OF_EXTRA_DMAS_MASK) >> tmp 1641 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]); tmp 1642 drivers/net/ethernet/freescale/fman/fman.c current_val = (u8)(((tmp & BMI_NUM_OF_DMAS_MASK) >> tmp 1692 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]) & tmp 1694 drivers/net/ethernet/freescale/fman/fman.c tmp |= (u32)(((open_dmas - 1) << BMI_NUM_OF_DMAS_SHIFT) | tmp 1696 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &bmi_rg->fmbm_pp[port_id - 1]); tmp 1702 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&bmi_rg->fmbm_cfg2) & ~BMI_CFG2_DMAS_MASK; tmp 1703 drivers/net/ethernet/freescale/fman/fman.c tmp |= (u32)(total_num_dmas - 1) << BMI_CFG2_DMAS_SHIFT; tmp 1704 drivers/net/ethernet/freescale/fman/fman.c iowrite32be(tmp, &bmi_rg->fmbm_cfg2); tmp 2353 drivers/net/ethernet/freescale/fman/fman.c u32 tmp; tmp 2355 drivers/net/ethernet/freescale/fman/fman.c tmp = ioread32be(&fman->fpm_regs->fm_ip_rev_1); tmp 2356 drivers/net/ethernet/freescale/fman/fman.c rev_info->major = (u8)((tmp & FPM_REV1_MAJOR_MASK) >> tmp 2358 drivers/net/ethernet/freescale/fman/fman.c rev_info->minor = tmp & FPM_REV1_MINOR_MASK; tmp 375 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 382 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->tsec_id2); tmp 390 drivers/net/ethernet/freescale/fman/fman_dtsec.c if (tmp & DTSEC_ID2_INT_REDUCED_OFF) tmp 395 drivers/net/ethernet/freescale/fman/fman_dtsec.c if (tmp & DTSEC_ID2_INT_REDUCED_OFF) tmp 405 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = 0; tmp 407 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= DTSEC_ECNTRL_GMIIM; tmp 409 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= (DTSEC_ECNTRL_SGMIIM | DTSEC_ECNTRL_TBIM); tmp 411 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= (DTSEC_ECNTRL_SGMIIM | DTSEC_ECNTRL_TBIM | tmp 414 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= DTSEC_ECNTRL_RPM; tmp 416 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= DTSEC_ECNTRL_R100M; tmp 418 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->ecntrl); tmp 420 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = 0; tmp 423 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= cfg->tx_pause_time; tmp 425 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= cfg->tx_pause_time_extd << PTV_PTE_SHIFT; tmp 426 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->ptv); tmp 428 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = 0; tmp 429 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= (cfg->rx_prepend << RCTRL_PAL_SHIFT) & RCTRL_PAL_MASK; tmp 431 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= RCTRL_RSF; tmp 433 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->rctrl); tmp 444 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = 0; tmp 445 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= TMR_PEVENT_TSRE; tmp 446 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->tmr_pevent); tmp 449 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = 0; tmp 450 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= TMR_PEMASK_TSREEN; tmp 451 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->tmr_pemask); tmp 455 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = 0; tmp 456 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG1_RX_FLOW; tmp 457 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG1_TX_FLOW; tmp 458 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->maccfg1); tmp 460 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = 0; tmp 463 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG2_NIBBLE_MODE; tmp 465 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG2_BYTE_MODE; tmp 467 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= (cfg->preamble_len << MACCFG2_PREAMBLE_LENGTH_SHIFT) & tmp 470 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG2_PAD_CRC_EN; tmp 472 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG2_FULL_DUPLEX; tmp 473 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->maccfg2); tmp 475 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = (((cfg->non_back_to_back_ipg1 << tmp 484 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->ipgifg); tmp 486 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = 0; tmp 487 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= HAFDUP_EXCESS_DEFER; tmp 488 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= ((cfg->halfdup_retransmit << HAFDUP_RETRANSMISSION_MAX_SHIFT) tmp 490 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= (cfg->halfdup_coll_window & HAFDUP_COLLISION_WINDOW); tmp 492 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->hafdup); tmp 504 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = (u32)((macaddr[5] << 24) | tmp 506 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->macstnaddr1); tmp 508 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = (u32)((macaddr[1] << 24) | (macaddr[0] << 16)); tmp 509 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->macstnaddr2); tmp 524 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 526 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = (u32)((adr[5] << 24) | tmp 528 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->macstnaddr1); tmp 530 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = (u32)((adr[1] << 24) | (adr[0] << 16)); tmp 531 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->macstnaddr2); tmp 883 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 887 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->rctrl) | RCTRL_GRS; tmp 888 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->rctrl); tmp 905 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->tctrl) | TCTRL_GTS; tmp 906 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->tctrl); tmp 917 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 923 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->maccfg1); tmp 925 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG1_RX_EN; tmp 927 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG1_TX_EN; tmp 929 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->maccfg1); tmp 940 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 948 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->maccfg1); tmp 950 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp &= ~MACCFG1_RX_EN; tmp 952 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp &= ~MACCFG1_TX_EN; tmp 954 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->maccfg1); tmp 1006 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 1018 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->maccfg1); tmp 1020 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG1_RX_FLOW; tmp 1022 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp &= ~MACCFG1_RX_FLOW; tmp 1023 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->maccfg1); tmp 1124 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 1130 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->rctrl); tmp 1132 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= RCTRL_MPROM; tmp 1134 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp &= ~RCTRL_MPROM; tmp 1136 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->rctrl); tmp 1240 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 1246 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->rctrl); tmp 1248 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= RCTRL_UPROM; tmp 1250 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp &= ~RCTRL_UPROM; tmp 1252 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->rctrl); tmp 1255 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->rctrl); tmp 1257 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= RCTRL_MPROM; tmp 1259 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp &= ~RCTRL_MPROM; tmp 1261 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->rctrl); tmp 1270 drivers/net/ethernet/freescale/fman/fman_dtsec.c u32 tmp; tmp 1282 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->maccfg2); tmp 1285 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG2_FULL_DUPLEX; tmp 1287 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp &= ~(MACCFG2_NIBBLE_MODE | MACCFG2_BYTE_MODE); tmp 1289 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG2_NIBBLE_MODE; tmp 1291 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= MACCFG2_BYTE_MODE; tmp 1292 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->maccfg2); tmp 1294 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp = ioread32be(®s->ecntrl); tmp 1296 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp |= DTSEC_ECNTRL_R100M; tmp 1298 drivers/net/ethernet/freescale/fman/fman_dtsec.c tmp &= ~DTSEC_ECNTRL_R100M; tmp 1299 drivers/net/ethernet/freescale/fman/fman_dtsec.c iowrite32be(tmp, ®s->ecntrl); tmp 340 drivers/net/ethernet/freescale/fman/fman_keygen.c u32 tmp; tmp 342 drivers/net/ethernet/freescale/fman/fman_keygen.c tmp = ioread32be(®s->fmkg_pe.fmkg_pe_sp); tmp 345 drivers/net/ethernet/freescale/fman/fman_keygen.c tmp |= sp; tmp 347 drivers/net/ethernet/freescale/fman/fman_keygen.c tmp &= ~sp; tmp 349 drivers/net/ethernet/freescale/fman/fman_keygen.c iowrite32be(tmp, ®s->fmkg_pe.fmkg_pe_sp); tmp 375 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 378 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->command_config); tmp 380 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_SW_RESET; tmp 382 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->command_config); tmp 399 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 401 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->imask); tmp 403 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= val; tmp 405 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~val; tmp 407 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->imask); tmp 414 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 417 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = 0; tmp 419 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_PROMIS_EN; tmp 421 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_PAUSE_IGNORE; tmp 424 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_NO_LEN_CHK; tmp 426 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_TX_PAD_EN; tmp 428 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_CRC_FWD; tmp 430 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->command_config); tmp 440 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = 0; tmp 443 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= IF_MODE_10G; tmp 446 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= IF_MODE_GMII; tmp 451 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= IF_MODE_RGMII | IF_MODE_RGMII_AUTO; tmp 453 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->if_mode); tmp 456 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = 0; tmp 459 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= (TX_FIFO_SECTIONS_TX_AVAIL_SLOW_10G | tmp 462 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= (TX_FIFO_SECTIONS_TX_AVAIL_10G | tmp 466 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= (TX_FIFO_SECTIONS_TX_AVAIL_1G | tmp 469 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->tx_fifo_sections); tmp 718 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 723 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->command_config); tmp 725 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_RX_EN; tmp 727 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_TX_EN; tmp 729 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->command_config); tmp 737 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 742 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->command_config); tmp 744 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~CMD_CFG_RX_EN; tmp 746 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~CMD_CFG_TX_EN; tmp 748 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->command_config); tmp 756 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 761 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->command_config); tmp 763 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_PROMIS_EN; tmp 765 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~CMD_CFG_PROMIS_EN; tmp 767 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->command_config); tmp 775 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 780 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->if_mode); tmp 783 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~IF_MODE_HD; tmp 787 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~IF_MODE_RGMII_AUTO; tmp 788 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~IF_MODE_RGMII_SP_MASK; tmp 790 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= IF_MODE_RGMII_FD; tmp 794 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= IF_MODE_RGMII_1000; tmp 797 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= IF_MODE_RGMII_100; tmp 800 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= IF_MODE_RGMII_10; tmp 807 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->if_mode); tmp 847 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 852 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->tx_fifo_sections); tmp 854 drivers/net/ethernet/freescale/fman/fman_memac.c GET_TX_EMPTY_DEFAULT_VALUE(tmp); tmp 855 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->tx_fifo_sections); tmp 857 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->command_config); tmp 858 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~CMD_CFG_PFC_MODE; tmp 861 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->command_config); tmp 863 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->pause_quanta[priority / 2]); tmp 865 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= CLXY_PAUSE_QUANTA_CLX_PQNT; tmp 867 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= CLXY_PAUSE_QUANTA_CLY_PQNT; tmp 868 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= ((u32)pause_time << (16 * (priority % 2))); tmp 869 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->pause_quanta[priority / 2]); tmp 871 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->pause_thresh[priority / 2]); tmp 873 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= CLXY_PAUSE_THRESH_CLX_QTH; tmp 875 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= CLXY_PAUSE_THRESH_CLY_QTH; tmp 876 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= ((u32)thresh_time << (16 * (priority % 2))); tmp 877 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->pause_thresh[priority / 2]); tmp 885 drivers/net/ethernet/freescale/fman/fman_memac.c u32 tmp; tmp 890 drivers/net/ethernet/freescale/fman/fman_memac.c tmp = ioread32be(®s->command_config); tmp 892 drivers/net/ethernet/freescale/fman/fman_memac.c tmp &= ~CMD_CFG_PAUSE_IGNORE; tmp 894 drivers/net/ethernet/freescale/fman/fman_memac.c tmp |= CMD_CFG_PAUSE_IGNORE; tmp 896 drivers/net/ethernet/freescale/fman/fman_memac.c iowrite32be(tmp, ®s->command_config); tmp 488 drivers/net/ethernet/freescale/fman/fman_port.c u32 tmp; tmp 491 drivers/net/ethernet/freescale/fman/fman_port.c tmp = (u32)cfg->dma_swap_data << BMI_DMA_ATTR_SWP_SHIFT; tmp 493 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= BMI_DMA_ATTR_WRITE_OPTIMIZE; tmp 494 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_rda); tmp 497 drivers/net/ethernet/freescale/fman/fman_port.c tmp = (cfg->rx_pri_elevation / PORT_BMI_FIFO_UNITS - 1) << tmp 499 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= cfg->rx_fifo_thr / PORT_BMI_FIFO_UNITS - 1; tmp 500 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_rfp); tmp 507 drivers/net/ethernet/freescale/fman/fman_port.c tmp = (cfg->cheksum_last_bytes_ignore & BMI_FRAME_END_CS_IGNORE_MASK) << tmp 509 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= (cfg->rx_cut_end_bytes & BMI_RX_FRAME_END_CUT_MASK) << tmp 512 drivers/net/ethernet/freescale/fman/fman_port.c tmp &= 0xffe0ffff; tmp 513 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_rfed); tmp 516 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ((cfg->int_context.ext_buf_offset / PORT_IC_OFFSET_UNITS) & tmp 518 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= ((cfg->int_context.int_context_offset / PORT_IC_OFFSET_UNITS) & tmp 520 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= (cfg->int_context.size / PORT_IC_OFFSET_UNITS) & tmp 522 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_ricp); tmp 525 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ((cfg->int_buf_start_margin / PORT_IC_OFFSET_UNITS) & tmp 527 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_rim); tmp 530 drivers/net/ethernet/freescale/fman/fman_port.c tmp = (cfg->buf_margins.start_margins & BMI_EXT_BUF_MARG_START_MASK) << tmp 532 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= cfg->buf_margins.end_margins & BMI_EXT_BUF_MARG_END_MASK; tmp 533 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_rebm); tmp 536 drivers/net/ethernet/freescale/fman/fman_port.c tmp = BMI_CMD_RX_MR_DEF; tmp 537 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= BMI_CMD_ATTR_ORDER; tmp 538 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= (u32)cfg->color << BMI_CMD_ATTR_COLOR_SHIFT; tmp 540 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= BMI_CMD_ATTR_SYNC; tmp 542 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_rfca); tmp 545 drivers/net/ethernet/freescale/fman/fman_port.c tmp = (u32)cfg->rx_fd_bits << BMI_NEXT_ENG_FD_BITS_SHIFT; tmp 547 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= NIA_ENG_HWP; tmp 548 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_rfne); tmp 571 drivers/net/ethernet/freescale/fman/fman_port.c u32 tmp; tmp 574 drivers/net/ethernet/freescale/fman/fman_port.c tmp = 0; tmp 575 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_tcfg); tmp 578 drivers/net/ethernet/freescale/fman/fman_port.c tmp = (u32)cfg->dma_swap_data << BMI_DMA_ATTR_SWP_SHIFT; tmp 579 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_tda); tmp 582 drivers/net/ethernet/freescale/fman/fman_port.c tmp = (cfg->tx_fifo_min_level / PORT_BMI_FIFO_UNITS) << tmp 584 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= ((cfg->tx_fifo_deq_pipeline_depth - 1) & tmp 586 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= (cfg->tx_fifo_low_comf_level / PORT_BMI_FIFO_UNITS) - 1; tmp 587 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_tfp); tmp 590 drivers/net/ethernet/freescale/fman/fman_port.c tmp = (cfg->cheksum_last_bytes_ignore & BMI_FRAME_END_CS_IGNORE_MASK) << tmp 592 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_tfed); tmp 595 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ((cfg->int_context.ext_buf_offset / PORT_IC_OFFSET_UNITS) & tmp 597 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= ((cfg->int_context.int_context_offset / PORT_IC_OFFSET_UNITS) & tmp 599 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= (cfg->int_context.size / PORT_IC_OFFSET_UNITS) & tmp 601 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_ticp); tmp 604 drivers/net/ethernet/freescale/fman/fman_port.c tmp = BMI_CMD_TX_MR_DEF; tmp 605 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= BMI_CMD_ATTR_ORDER; tmp 606 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= (u32)cfg->color << BMI_CMD_ATTR_COLOR_SHIFT; tmp 607 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmbm_tfca); tmp 637 drivers/net/ethernet/freescale/fman/fman_port.c u32 tmp; tmp 656 drivers/net/ethernet/freescale/fman/fman_port.c tmp = 0; tmp 658 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= QMI_DEQ_CFG_PRI; tmp 662 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= QMI_DEQ_CFG_TYPE1; tmp 665 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= QMI_DEQ_CFG_TYPE2; tmp 668 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= QMI_DEQ_CFG_TYPE3; tmp 678 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= QMI_DEQ_CFG_PREFETCH_PARTIAL; tmp 681 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= QMI_DEQ_CFG_PREFETCH_FULL; tmp 687 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= (cfg->deq_sp & QMI_DEQ_CFG_SP_MASK) << QMI_DEQ_CFG_SP_SHIFT; tmp 688 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= cfg->deq_byte_cnt; tmp 689 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, ®s->fmqm_pndc); tmp 775 drivers/net/ethernet/freescale/fman/fman_port.c u32 tmp; tmp 801 drivers/net/ethernet/freescale/fman/fman_port.c tmp = BMI_EXT_BUF_POOL_VALID; tmp 802 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= ((u32)bp->bpool[i].bpid << tmp 807 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= BMI_EXT_BUF_POOL_EN_COUNTER; tmp 810 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= BMI_EXT_BUF_POOL_BACKUP; tmp 812 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= (u32)bp->bpool[i].size; tmp 815 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, &bp_reg[i]); tmp 823 drivers/net/ethernet/freescale/fman/fman_port.c tmp = 0; tmp 827 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= 0x80000000 >> i; tmp 831 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= 0x80 >> i; tmp 835 drivers/net/ethernet/freescale/fman/fman_port.c tmp |= ((u32)bp->grp_bp_depleted_num - 1) << tmp 838 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, bp_depl_reg); tmp 1591 drivers/net/ethernet/freescale/fman/fman_port.c u32 tmp; tmp 1615 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ioread32be(&port->qmi_regs->fmqm_pnc) & ~QMI_PORT_CFG_EN; tmp 1616 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, &port->qmi_regs->fmqm_pnc); tmp 1622 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ioread32be(&port->qmi_regs->fmqm_pns); tmp 1623 drivers/net/ethernet/freescale/fman/fman_port.c } while ((tmp & QMI_PORT_STATUS_DEQ_FD_BSY) && --count); tmp 1632 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ioread32be(bmi_cfg_reg) & ~BMI_PORT_CFG_EN; tmp 1633 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, bmi_cfg_reg); tmp 1639 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ioread32be(bmi_status_reg); tmp 1640 drivers/net/ethernet/freescale/fman/fman_port.c } while ((tmp & BMI_PORT_STATUS_BSY) && --count); tmp 1668 drivers/net/ethernet/freescale/fman/fman_port.c u32 tmp; tmp 1689 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ioread32be(&port->qmi_regs->fmqm_pnc) | QMI_PORT_CFG_EN; tmp 1690 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, &port->qmi_regs->fmqm_pnc); tmp 1694 drivers/net/ethernet/freescale/fman/fman_port.c tmp = ioread32be(bmi_cfg_reg) | BMI_PORT_CFG_EN; tmp 1695 drivers/net/ethernet/freescale/fman/fman_port.c iowrite32be(tmp, bmi_cfg_reg); tmp 93 drivers/net/ethernet/freescale/fman/fman_sp.c u32 tmp; tmp 159 drivers/net/ethernet/freescale/fman/fman_sp.c tmp = (u32)(buf_margins->start_margins % tmp 161 drivers/net/ethernet/freescale/fman/fman_sp.c if (tmp) tmp 163 drivers/net/ethernet/freescale/fman/fman_sp.c (buffer_prefix_content->data_align - tmp); tmp 246 drivers/net/ethernet/freescale/fman/fman_tgec.c u32 tmp; tmp 249 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp = CMF_CFG_CRC_FWD; tmp 251 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp |= CMD_CFG_PROMIS_EN; tmp 253 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp |= CMD_CFG_PAUSE_IGNORE; tmp 255 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp |= CMD_CFG_NO_LEN_CHK; tmp 256 drivers/net/ethernet/freescale/fman/fman_tgec.c iowrite32be(tmp, ®s->command_config); tmp 429 drivers/net/ethernet/freescale/fman/fman_tgec.c u32 tmp; tmp 434 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp = ioread32be(®s->command_config); tmp 436 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp |= CMD_CFG_RX_EN; tmp 438 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp |= CMD_CFG_TX_EN; tmp 439 drivers/net/ethernet/freescale/fman/fman_tgec.c iowrite32be(tmp, ®s->command_config); tmp 447 drivers/net/ethernet/freescale/fman/fman_tgec.c u32 tmp; tmp 452 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp = ioread32be(®s->command_config); tmp 454 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp &= ~CMD_CFG_RX_EN; tmp 456 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp &= ~CMD_CFG_TX_EN; tmp 457 drivers/net/ethernet/freescale/fman/fman_tgec.c iowrite32be(tmp, ®s->command_config); tmp 465 drivers/net/ethernet/freescale/fman/fman_tgec.c u32 tmp; tmp 470 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp = ioread32be(®s->command_config); tmp 472 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp |= CMD_CFG_PROMIS_EN; tmp 474 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp &= ~CMD_CFG_PROMIS_EN; tmp 475 drivers/net/ethernet/freescale/fman/fman_tgec.c iowrite32be(tmp, ®s->command_config); tmp 506 drivers/net/ethernet/freescale/fman/fman_tgec.c u32 tmp; tmp 511 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp = ioread32be(®s->command_config); tmp 513 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp |= CMD_CFG_PAUSE_IGNORE; tmp 515 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp &= ~CMD_CFG_PAUSE_IGNORE; tmp 516 drivers/net/ethernet/freescale/fman/fman_tgec.c iowrite32be(tmp, ®s->command_config); tmp 595 drivers/net/ethernet/freescale/fman/fman_tgec.c u32 tmp; tmp 600 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp = ioread32be(®s->command_config); tmp 603 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp |= CMD_CFG_EN_TIMESTAMP; tmp 605 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp &= ~CMD_CFG_EN_TIMESTAMP; tmp 607 drivers/net/ethernet/freescale/fman/fman_tgec.c iowrite32be(tmp, ®s->command_config); tmp 737 drivers/net/ethernet/freescale/fman/fman_tgec.c u32 tmp; tmp 740 drivers/net/ethernet/freescale/fman/fman_tgec.c tmp = (ioread32be(®s->tx_ipg_len) & tmp 743 drivers/net/ethernet/freescale/fman/fman_tgec.c iowrite32be(tmp, ®s->tx_ipg_len); tmp 285 drivers/net/ethernet/freescale/fman/mac.c struct mac_address *old_addr, *tmp; tmp 293 drivers/net/ethernet/freescale/fman/mac.c list_for_each_entry_safe(old_addr, tmp, &priv->mc_addr_list, list) { tmp 310 drivers/net/ethernet/freescale/fman/mac.c tmp = kmalloc(sizeof(*tmp), GFP_ATOMIC); tmp 311 drivers/net/ethernet/freescale/fman/mac.c if (!tmp) tmp 314 drivers/net/ethernet/freescale/fman/mac.c ether_addr_copy(tmp->addr, ha->addr); tmp 315 drivers/net/ethernet/freescale/fman/mac.c list_add(&tmp->list, &priv->mc_addr_list); tmp 634 drivers/net/ethernet/fujitsu/fmvj18x_cs.c u_char __iomem *tmp; tmp 639 drivers/net/ethernet/fujitsu/fmvj18x_cs.c tmp = lp->base; tmp 641 drivers/net/ethernet/fujitsu/fmvj18x_cs.c iounmap(tmp); tmp 302 drivers/net/ethernet/hisilicon/hip04_eth.c u32 val, tmp, timeout = 0; tmp 306 drivers/net/ethernet/hisilicon/hip04_eth.c regmap_read(priv->map, priv->port * 4 + PPE_CFG_RX_ADDR, &tmp); tmp 4039 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct netdev_hw_addr *ha, *tmp; tmp 4045 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 4053 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 4067 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct netdev_hw_addr *ha, *tmp; tmp 4074 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c list_for_each_entry_safe(ha, tmp, &list->list, list) tmp 4079 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c list_for_each_entry_safe(ha, tmp, &list->list, list) tmp 7333 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_mac_addr_cfg *mac_cfg, *tmp; tmp 7343 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(mac_cfg, tmp, list, node) { tmp 7361 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_mac_addr_cfg *mac_cfg, *tmp; tmp 7367 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(mac_cfg, tmp, list, node) { tmp 7384 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_mac_addr_cfg *mac, *tmp; tmp 7391 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(mac, tmp, &vport->uc_mac_list, node) { tmp 7396 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(mac, tmp, &vport->mc_mac_list, node) { tmp 8021 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_vlan_cfg *vlan, *tmp; tmp 8025 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { tmp 8046 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_vlan_cfg *vlan, *tmp; tmp 8049 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { tmp 8067 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_vlan_cfg *vlan, *tmp; tmp 8070 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { tmp 8088 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_vlan_cfg *vlan, *tmp; tmp 8095 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { tmp 8106 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_vlan_cfg *vlan, *tmp; tmp 8126 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(vlan, tmp, &vport->vlan_list, node) { tmp 671 drivers/net/ethernet/i825xx/ether1.c int tmp, tst, nopaddr, txaddr, tbdaddr, dataddr; tmp 718 drivers/net/ethernet/i825xx/ether1.c tmp = priv(dev)->tx_link; tmp 722 drivers/net/ethernet/i825xx/ether1.c ether1_writew(dev, txaddr, tmp, nop_t, nop_link, NORMALIRQS); tmp 729 drivers/net/ethernet/i825xx/ether1.c tmp = priv(dev)->tx_head; tmp 731 drivers/net/ethernet/i825xx/ether1.c priv(dev)->tx_head = tmp; tmp 226 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c int i, k, tmp; tmp 237 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c for (k = 0, tmp = 0; k < EHEA_MAX_PORT_RES; k++) tmp 238 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c tmp += port->port_res[k].p_stats.poll_receive_errors; tmp 239 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c data[i++] = tmp; tmp 241 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c for (k = 0, tmp = 0; k < EHEA_MAX_PORT_RES; k++) tmp 242 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c tmp += port->port_res[k].p_stats.err_tcp_cksum; tmp 243 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c data[i++] = tmp; tmp 245 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c for (k = 0, tmp = 0; k < EHEA_MAX_PORT_RES; k++) tmp 246 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c tmp += port->port_res[k].p_stats.err_ip_cksum; tmp 247 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c data[i++] = tmp; tmp 249 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c for (k = 0, tmp = 0; k < EHEA_MAX_PORT_RES; k++) tmp 250 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c tmp += port->port_res[k].p_stats.err_frame_crc; tmp 251 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c data[i++] = tmp; tmp 253 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c for (k = 0, tmp = 0; k < EHEA_MAX_PORT_RES; k++) tmp 254 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c tmp += port->port_res[k].p_stats.queue_stopped; tmp 255 drivers/net/ethernet/ibm/ehea/ehea_ethtool.c data[i++] = tmp; tmp 1333 drivers/net/ethernet/ibm/ibmvnic.c int tmp; tmp 1341 drivers/net/ethernet/ibm/ibmvnic.c tmp = tmp_len > 29 ? 29 : tmp_len; tmp 1344 drivers/net/ethernet/ibm/ibmvnic.c hdr_desc.hdr_ext.len = tmp; tmp 1347 drivers/net/ethernet/ibm/ibmvnic.c tmp = tmp_len > 24 ? 24 : tmp_len; tmp 1350 drivers/net/ethernet/ibm/ibmvnic.c hdr_desc.hdr.len = tmp; tmp 1356 drivers/net/ethernet/ibm/ibmvnic.c memcpy(data, cur, tmp); tmp 1357 drivers/net/ethernet/ibm/ibmvnic.c tmp_len -= tmp; tmp 2137 drivers/net/ethernet/ibm/ibmvnic.c struct ibmvnic_rwi *rwi, *tmp; tmp 2159 drivers/net/ethernet/ibm/ibmvnic.c tmp = list_entry(entry, struct ibmvnic_rwi, list); tmp 2160 drivers/net/ethernet/ibm/ibmvnic.c if (tmp->reset_reason == reason) { tmp 3970 drivers/net/ethernet/ibm/ibmvnic.c netdev_features_t tmp = 0; tmp 3975 drivers/net/ethernet/ibm/ibmvnic.c tmp = (old_hw_features ^ adapter->netdev->hw_features) & tmp 3978 drivers/net/ethernet/ibm/ibmvnic.c tmp & adapter->netdev->wanted_features; tmp 930 drivers/net/ethernet/intel/e1000/e1000_main.c u16 tmp = 0; tmp 1186 drivers/net/ethernet/intel/e1000/e1000_main.c e1000_read_phy_reg(hw, PHY_ID2, &tmp); tmp 1188 drivers/net/ethernet/intel/e1000/e1000_main.c if (tmp != 0 && tmp != 0xFF) tmp 184 drivers/net/ethernet/intel/e1000e/manage.c u8 *tmp; tmp 194 drivers/net/ethernet/intel/e1000e/manage.c tmp = (u8 *)&data; tmp 201 drivers/net/ethernet/intel/e1000e/manage.c *(tmp + j) = *bufptr++; tmp 202 drivers/net/ethernet/intel/e1000e/manage.c *sum += *(tmp + j); tmp 220 drivers/net/ethernet/intel/e1000e/manage.c *(tmp + j) = *bufptr++; tmp 221 drivers/net/ethernet/intel/e1000e/manage.c *sum += *(tmp + j); tmp 229 drivers/net/ethernet/intel/e1000e/manage.c *(tmp + j) = *bufptr++; tmp 231 drivers/net/ethernet/intel/e1000e/manage.c *(tmp + j) = 0; tmp 233 drivers/net/ethernet/intel/e1000e/manage.c *sum += *(tmp + j); tmp 840 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c struct fm10k_macvlan_request *r, *tmp; tmp 846 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c list_for_each_entry_safe(r, tmp, &interface->macvlan_requests, list) { tmp 453 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_device *ldev, *tmp; tmp 460 drivers/net/ethernet/intel/i40e/i40e_client.c list_for_each_entry_safe(ldev, tmp, &i40e_devices, list) { tmp 1881 drivers/net/ethernet/intel/i40e/i40e_common.c __le32 tmp; tmp 1883 drivers/net/ethernet/intel/i40e/i40e_common.c memcpy(&tmp, resp->link_type, sizeof(tmp)); tmp 1884 drivers/net/ethernet/intel/i40e/i40e_common.c hw->phy.phy_types = le32_to_cpu(tmp); tmp 3576 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_flex_pit *entry, *tmp; tmp 3580 drivers/net/ethernet/intel/i40e/i40e_ethtool.c list_for_each_entry_safe(entry, tmp, &pf->l3_flex_pit_list, list) { tmp 3603 drivers/net/ethernet/intel/i40e/i40e_ethtool.c list_for_each_entry_safe(entry, tmp, &pf->l4_flex_pit_list, list) { tmp 8309 drivers/net/ethernet/intel/i40e/i40e_main.c struct i40e_flex_pit *pit_entry, *tmp; tmp 8318 drivers/net/ethernet/intel/i40e/i40e_main.c list_for_each_entry_safe(pit_entry, tmp, &pf->l3_flex_pit_list, list) { tmp 8324 drivers/net/ethernet/intel/i40e/i40e_main.c list_for_each_entry_safe(pit_entry, tmp, &pf->l4_flex_pit_list, list) { tmp 1507 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c int i, tmp, vf_id; tmp 1541 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c tmp = pf->num_alloc_vfs; tmp 1543 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c for (i = 0; i < tmp; i++) { tmp 1561 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c for (vf_id = 0; vf_id < tmp; vf_id++) { tmp 334 drivers/net/ethernet/intel/iavf/iavf_client.c struct iavf_device *ldev, *tmp; tmp 338 drivers/net/ethernet/intel/iavf/iavf_client.c list_for_each_entry_safe(ldev, tmp, &iavf_devices, list) { tmp 1072 drivers/net/ethernet/intel/ice/ice_flex_pipe.c struct ice_vsig_vsi *tmp; tmp 1111 drivers/net/ethernet/intel/ice/ice_flex_pipe.c tmp = hw->blk[blk].xlt2.vsig_tbl[idx].first_vsi; tmp 1114 drivers/net/ethernet/intel/ice/ice_flex_pipe.c hw->blk[blk].xlt2.vsis[vsi].next_vsi = tmp; tmp 1509 drivers/net/ethernet/intel/ice/ice_lib.c struct ice_fltr_list_entry *tmp; tmp 1512 drivers/net/ethernet/intel/ice/ice_lib.c tmp = devm_kzalloc(&pf->pdev->dev, sizeof(*tmp), GFP_ATOMIC); tmp 1513 drivers/net/ethernet/intel/ice/ice_lib.c if (!tmp) tmp 1516 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.flag = ICE_FLTR_TX; tmp 1517 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.src_id = ICE_SRC_ID_VSI; tmp 1518 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.lkup_type = ICE_SW_LKUP_MAC; tmp 1519 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.fltr_act = ICE_FWD_TO_VSI; tmp 1520 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.vsi_handle = vsi->idx; tmp 1521 drivers/net/ethernet/intel/ice/ice_lib.c ether_addr_copy(tmp->fltr_info.l_data.mac.mac_addr, macaddr); tmp 1523 drivers/net/ethernet/intel/ice/ice_lib.c INIT_LIST_HEAD(&tmp->list_entry); tmp 1524 drivers/net/ethernet/intel/ice/ice_lib.c list_add(&tmp->list_entry, add_list); tmp 1585 drivers/net/ethernet/intel/ice/ice_lib.c struct ice_fltr_list_entry *e, *tmp; tmp 1587 drivers/net/ethernet/intel/ice/ice_lib.c list_for_each_entry_safe(e, tmp, h, list_entry) { tmp 1600 drivers/net/ethernet/intel/ice/ice_lib.c struct ice_fltr_list_entry *tmp; tmp 1606 drivers/net/ethernet/intel/ice/ice_lib.c tmp = devm_kzalloc(&pf->pdev->dev, sizeof(*tmp), GFP_KERNEL); tmp 1607 drivers/net/ethernet/intel/ice/ice_lib.c if (!tmp) tmp 1610 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.lkup_type = ICE_SW_LKUP_VLAN; tmp 1611 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.fltr_act = ICE_FWD_TO_VSI; tmp 1612 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.flag = ICE_FLTR_TX; tmp 1613 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.src_id = ICE_SRC_ID_VSI; tmp 1614 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.vsi_handle = vsi->idx; tmp 1615 drivers/net/ethernet/intel/ice/ice_lib.c tmp->fltr_info.l_data.vlan.vlan_id = vid; tmp 1617 drivers/net/ethernet/intel/ice/ice_lib.c INIT_LIST_HEAD(&tmp->list_entry); tmp 1618 drivers/net/ethernet/intel/ice/ice_lib.c list_add(&tmp->list_entry, &tmp_add_list); tmp 76 drivers/net/ethernet/intel/ice/ice_sched.c struct ice_sched_node *tmp; tmp 78 drivers/net/ethernet/intel/ice/ice_sched.c tmp = ice_sched_find_node_by_teid(start_node->children[i], tmp 80 drivers/net/ethernet/intel/ice/ice_sched.c if (tmp) tmp 81 drivers/net/ethernet/intel/ice/ice_sched.c return tmp; tmp 2014 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_list_entry *em_list_itr, *tmp; tmp 2019 drivers/net/ethernet/intel/ice/ice_switch.c list_for_each_entry_safe(em_list_itr, tmp, em_list, list_entry) { tmp 2045 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_mgmt_list_entry *tmp; tmp 2047 drivers/net/ethernet/intel/ice/ice_switch.c list_for_each_entry_safe(entry, tmp, rule_head, list_entry) { tmp 2188 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_list_entry *list_itr, *tmp; tmp 2195 drivers/net/ethernet/intel/ice/ice_switch.c list_for_each_entry_safe(list_itr, tmp, m_list, list_entry) { tmp 2239 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_list_entry *v_list_itr, *tmp; tmp 2244 drivers/net/ethernet/intel/ice/ice_switch.c list_for_each_entry_safe(v_list_itr, tmp, v_list, list_entry) { tmp 2290 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_list_entry *tmp; tmp 2295 drivers/net/ethernet/intel/ice/ice_switch.c tmp = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*tmp), GFP_KERNEL); tmp 2296 drivers/net/ethernet/intel/ice/ice_switch.c if (!tmp) tmp 2299 drivers/net/ethernet/intel/ice/ice_switch.c tmp->fltr_info = *fi; tmp 2306 drivers/net/ethernet/intel/ice/ice_switch.c tmp->fltr_info.fltr_act = ICE_FWD_TO_VSI; tmp 2307 drivers/net/ethernet/intel/ice/ice_switch.c tmp->fltr_info.vsi_handle = vsi_handle; tmp 2308 drivers/net/ethernet/intel/ice/ice_switch.c tmp->fltr_info.fwd_id.hw_vsi_id = ice_get_hw_vsi_num(hw, vsi_handle); tmp 2310 drivers/net/ethernet/intel/ice/ice_switch.c list_add(&tmp->list_entry, vsi_list_head); tmp 2398 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_list_entry *v_list_itr, *tmp; tmp 2400 drivers/net/ethernet/intel/ice/ice_switch.c list_for_each_entry_safe(v_list_itr, tmp, v_list, list_entry) { tmp 2421 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_list_entry *fm_entry, *tmp; tmp 2469 drivers/net/ethernet/intel/ice/ice_switch.c list_for_each_entry_safe(fm_entry, tmp, &remove_list_head, list_entry) { tmp 2603 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_list_entry *list_itr, *tmp; tmp 2633 drivers/net/ethernet/intel/ice/ice_switch.c list_for_each_entry_safe(list_itr, tmp, &vsi_list_head, list_entry) { tmp 2654 drivers/net/ethernet/intel/ice/ice_switch.c struct ice_fltr_list_entry *tmp; tmp 2689 drivers/net/ethernet/intel/ice/ice_switch.c list_for_each_entry_safe(fm_entry, tmp, &remove_list_head, list_entry) { tmp 293 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c int tmp, i; tmp 315 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c tmp = pf->num_alloc_vfs; tmp 318 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c for (i = 0; i < tmp; i++) { tmp 344 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c for (vf_id = 0; vf_id < tmp; vf_id++) { tmp 877 drivers/net/ethernet/intel/igb/igb_main.c u32 tmp; tmp 886 drivers/net/ethernet/intel/igb/igb_main.c tmp = rd32(E1000_CTRL_EXT); tmp 888 drivers/net/ethernet/intel/igb/igb_main.c tmp |= E1000_CTRL_EXT_PBA_CLR; tmp 891 drivers/net/ethernet/intel/igb/igb_main.c tmp |= E1000_CTRL_EXT_EIAME; tmp 892 drivers/net/ethernet/intel/igb/igb_main.c tmp |= E1000_CTRL_EXT_IRCA; tmp 894 drivers/net/ethernet/intel/igb/igb_main.c wr32(E1000_CTRL_EXT, tmp); tmp 917 drivers/net/ethernet/intel/igb/igb_main.c tmp = (vector++ | E1000_IVAR_VALID) << 8; tmp 919 drivers/net/ethernet/intel/igb/igb_main.c wr32(E1000_IVAR_MISC, tmp); tmp 973 drivers/net/ethernet/intel/igbvf/netdev.c u32 tmp; tmp 990 drivers/net/ethernet/intel/igbvf/netdev.c tmp = (vector++ | E1000_IVAR_VALID); tmp 992 drivers/net/ethernet/intel/igbvf/netdev.c ew32(IVAR_MISC, tmp); tmp 2638 drivers/net/ethernet/intel/igc/igc_main.c u32 tmp; tmp 2654 drivers/net/ethernet/intel/igc/igc_main.c tmp = (vector++ | IGC_IVAR_VALID) << 8; tmp 2656 drivers/net/ethernet/intel/igc/igc_main.c wr32(IGC_IVAR_MISC, tmp); tmp 1872 drivers/net/ethernet/jme.c u32 bmcr, tmp; tmp 1876 drivers/net/ethernet/jme.c tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | tmp 1878 drivers/net/ethernet/jme.c tmp |= BMCR_SPEED100; tmp 1880 drivers/net/ethernet/jme.c if (bmcr != tmp) tmp 1881 drivers/net/ethernet/jme.c jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_BMCR, tmp); tmp 979 drivers/net/ethernet/korina.c u32 tmp; tmp 988 drivers/net/ethernet/korina.c tmp = readl(&lp->tx_dma_regs->dmasm); tmp 989 drivers/net/ethernet/korina.c tmp = tmp | DMA_STAT_FINI | DMA_STAT_ERR; tmp 990 drivers/net/ethernet/korina.c writel(tmp, &lp->tx_dma_regs->dmasm); tmp 993 drivers/net/ethernet/korina.c tmp = readl(&lp->rx_dma_regs->dmasm); tmp 994 drivers/net/ethernet/korina.c tmp = tmp | DMA_STAT_DONE | DMA_STAT_HALT | DMA_STAT_ERR; tmp 995 drivers/net/ethernet/korina.c writel(tmp, &lp->rx_dma_regs->dmasm); tmp 2695 drivers/net/ethernet/marvell/mv643xx_eth.c u32 tmp; \ tmp 2696 drivers/net/ethernet/marvell/mv643xx_eth.c if (!of_property_read_u32(_np, "marvell," _name, &tmp)) \ tmp 2697 drivers/net/ethernet/marvell/mv643xx_eth.c _v = tmp; \ tmp 2179 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c u64 tmp = (u64)clk_hz * usec; tmp 2181 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c do_div(tmp, USEC_PER_SEC); tmp 2183 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c return tmp > U32_MAX ? U32_MAX : tmp; tmp 2188 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c u64 tmp = (u64)cycles * USEC_PER_SEC; tmp 2190 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c do_div(tmp, clk_hz); tmp 2192 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c return tmp > U32_MAX ? U32_MAX : tmp; tmp 1995 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_rx_flowkey_alg tmp; tmp 2025 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field = &tmp; max_bit_pos = fls(flow_cfg); tmp 2033 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c memset(&tmp, 0, sizeof(tmp)); tmp 321 drivers/net/ethernet/mellanox/mlx4/alloc.c struct mlx4_zone_entry *zone, *tmp; tmp 325 drivers/net/ethernet/mellanox/mlx4/alloc.c list_for_each_entry_safe(zone, tmp, &zone_alloc->entries, list) { tmp 517 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c u16 tmp[IEEE_8021QAZ_MAX_TCS]; tmp 524 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c tmp[i] = div_u64(maxrate->tc_maxrate[i] + tmp 529 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c err = mlx4_en_config_port_scheduler(priv, NULL, tmp); tmp 533 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c memcpy(priv->maxrate, tmp, sizeof(priv->maxrate)); tmp 1124 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct mlx4_en_priv *tmp; tmp 1153 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 1154 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (!tmp) tmp 1161 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); tmp 1170 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_safe_replace_resources(priv, tmp); tmp 1180 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c kfree(tmp); tmp 1814 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c struct mlx4_en_priv *tmp; tmp 1824 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 1825 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c if (!tmp) tmp 1845 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); tmp 1854 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_safe_replace_resources(priv, tmp); tmp 1874 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c kfree(tmp); tmp 93 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_priv *tmp; tmp 98 drivers/net/ethernet/mellanox/mlx4/en_netdev.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 99 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (!tmp) tmp 116 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); tmp 125 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_safe_replace_resources(priv, tmp); tmp 137 drivers/net/ethernet/mellanox/mlx4/en_netdev.c kfree(tmp); tmp 421 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_filter *filter, *tmp; tmp 425 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(filter, tmp, &priv->filters, next) { tmp 431 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(filter, tmp, &del_list, next) { tmp 439 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_filter *filter = NULL, *tmp, *last_filter = NULL; tmp 444 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(filter, tmp, &priv->filters, next) { tmp 466 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(filter, tmp, &del_list, next) tmp 706 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct hlist_node *tmp; tmp 710 drivers/net/ethernet/mellanox/mlx4/en_netdev.c hlist_for_each_entry_safe(entry, tmp, bucket, hlist) { tmp 807 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_mc_list *tmp, *mc_to_del; tmp 809 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(mc_to_del, tmp, &priv->mc_list, list) { tmp 819 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_mc_list *tmp; tmp 823 drivers/net/ethernet/mellanox/mlx4/en_netdev.c tmp = kzalloc(sizeof(struct mlx4_en_mc_list), GFP_ATOMIC); tmp 824 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (!tmp) { tmp 828 drivers/net/ethernet/mellanox/mlx4/en_netdev.c memcpy(tmp->addr, ha->addr, ETH_ALEN); tmp 829 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_add_tail(&tmp->list, &priv->mc_list); tmp 1001 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_mc_list *mclist, *tmp; tmp 1085 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(mclist, tmp, &priv->curr_list, list) { tmp 1136 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct hlist_node *tmp; tmp 1152 drivers/net/ethernet/mellanox/mlx4/en_netdev.c hlist_for_each_entry_safe(entry, tmp, bucket, hlist) { tmp 1342 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct hlist_node *tmp; tmp 1347 drivers/net/ethernet/mellanox/mlx4/en_netdev.c hlist_for_each_entry_safe(entry, tmp, bucket, hlist) { tmp 1877 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_mc_list *mclist, *tmp; tmp 1947 drivers/net/ethernet/mellanox/mlx4/en_netdev.c list_for_each_entry_safe(mclist, tmp, &priv->curr_list, list) { tmp 2272 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_priv *tmp, tmp 2279 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_copy_priv(tmp, priv, prof); tmp 2281 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (mlx4_en_alloc_resources(tmp)) { tmp 2286 drivers/net/ethernet/mellanox/mlx4/en_netdev.c kfree(tmp->tx_ring[t]); tmp 2287 drivers/net/ethernet/mellanox/mlx4/en_netdev.c kfree(tmp->tx_cq[t]); tmp 2298 drivers/net/ethernet/mellanox/mlx4/en_netdev.c xdp_prog = bpf_prog_add(xdp_prog, tmp->rx_ring_num); tmp 2300 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_free_resources(tmp); tmp 2303 drivers/net/ethernet/mellanox/mlx4/en_netdev.c for (i = 0; i < tmp->rx_ring_num; i++) tmp 2304 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rcu_assign_pointer(tmp->rx_ring[i]->xdp_prog, tmp 2312 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_priv *tmp) tmp 2315 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_update_priv(priv, tmp); tmp 2781 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_priv *tmp; tmp 2815 drivers/net/ethernet/mellanox/mlx4/en_netdev.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 2816 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (!tmp) tmp 2838 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, false); tmp 2850 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_safe_replace_resources(priv, tmp); tmp 2875 drivers/net/ethernet/mellanox/mlx4/en_netdev.c kfree(tmp); tmp 3578 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_priv *tmp; tmp 3595 drivers/net/ethernet/mellanox/mlx4/en_netdev.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 3596 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (!tmp) tmp 3604 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = mlx4_en_try_alloc_resources(priv, tmp, &new_prof, true); tmp 3613 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_safe_replace_resources(priv, tmp); tmp 3655 drivers/net/ethernet/mellanox/mlx4/en_netdev.c kfree(tmp); tmp 270 drivers/net/ethernet/mellanox/mlx4/en_rx.c int tmp; tmp 289 drivers/net/ethernet/mellanox/mlx4/en_rx.c tmp = size * roundup_pow_of_two(MLX4_EN_MAX_RX_FRAGS * tmp 291 drivers/net/ethernet/mellanox/mlx4/en_rx.c ring->rx_info = kvzalloc_node(tmp, GFP_KERNEL, node); tmp 298 drivers/net/ethernet/mellanox/mlx4/en_rx.c ring->rx_info, tmp); tmp 56 drivers/net/ethernet/mellanox/mlx4/en_tx.c int tmp; tmp 70 drivers/net/ethernet/mellanox/mlx4/en_tx.c tmp = size * sizeof(struct mlx4_en_tx_info); tmp 71 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node); tmp 78 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->tx_info, tmp); tmp 81 drivers/net/ethernet/mellanox/mlx4/icm.c struct mlx4_icm_chunk *chunk, *tmp; tmp 86 drivers/net/ethernet/mellanox/mlx4/icm.c list_for_each_entry_safe(chunk, tmp, &icm->chunk_list, list) { tmp 684 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h struct mlx4_en_priv *tmp, tmp 688 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h struct mlx4_en_priv *tmp); tmp 1004 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_common *tmp; tmp 1010 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry(tmp, tmp 1013 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counter = container_of(tmp, struct res_counter, com); tmp 1236 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_common *tmp; tmp 1249 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry(tmp, tmp 1252 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counter = container_of(tmp, struct res_counter, com); tmp 1254 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_arr[i] = (int)tmp->res_id; tmp 2012 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mac_res *res, *tmp; tmp 2014 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, mac_list, list) { tmp 2029 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mac_res *res, *tmp; tmp 2031 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, mac_list, list) { tmp 2062 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mac_res *res, *tmp; tmp 2064 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, mac_list, list) { tmp 2082 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mac_res *res, *tmp; tmp 2085 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, mac_list, list) { tmp 2136 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct vlan_res *res, *tmp; tmp 2138 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, vlan_list, list) { tmp 2170 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct vlan_res *res, *tmp; tmp 2172 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, vlan_list, list) { tmp 2191 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct vlan_res *res, *tmp; tmp 2194 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, vlan_list, list) { tmp 4202 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mac_res *res, *tmp; tmp 4208 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, rlist, list) { tmp 4228 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mac_res *res, *tmp; tmp 4258 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(res, tmp, rlist, list) { tmp 4584 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_gid *tmp; tmp 4587 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(rgid, tmp, &rqp->mcg_list, list) { tmp 4611 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_common *tmp; tmp 4616 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(r, tmp, rlist, list) { tmp 4666 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_qp *tmp; tmp 4678 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(qp, tmp, qp_list, com.list) { tmp 4739 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_srq *tmp; tmp 4751 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(srq, tmp, srq_list, com.list) { tmp 4804 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_cq *tmp; tmp 4816 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(cq, tmp, cq_list, com.list) { tmp 4866 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mpt *tmp; tmp 4878 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(mpt, tmp, mpt_list, com.list) { tmp 4934 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_mtt *tmp; tmp 4945 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(mtt, tmp, mtt_list, com.list) { tmp 5069 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_fs_rule *tmp; tmp 5080 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(fs_rule, tmp, fs_rule_list, com.list) { tmp 5121 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_eq *tmp; tmp 5132 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(eq, tmp, eq_list, com.list) { tmp 5178 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_counter *tmp; tmp 5197 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(counter, tmp, counter_list, com.list) { tmp 5224 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_xrcdn *tmp; tmp 5234 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(xrcd, tmp, xrcdn_list, com.list) { tmp 5284 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct res_qp *tmp; tmp 5339 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c list_for_each_entry_safe(qp, tmp, qp_list, com.list) { tmp 1215 drivers/net/ethernet/mellanox/mlx5/core/cmd.c struct mlx5_cmd_mailbox *tmp, *head = NULL; tmp 1230 drivers/net/ethernet/mellanox/mlx5/core/cmd.c tmp = alloc_cmd_box(dev, flags); tmp 1231 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (IS_ERR(tmp)) { tmp 1233 drivers/net/ethernet/mellanox/mlx5/core/cmd.c err = PTR_ERR(tmp); tmp 1237 drivers/net/ethernet/mellanox/mlx5/core/cmd.c block = tmp->buf; tmp 1238 drivers/net/ethernet/mellanox/mlx5/core/cmd.c tmp->next = head; tmp 1239 drivers/net/ethernet/mellanox/mlx5/core/cmd.c block->next = cpu_to_be64(tmp->next ? tmp->next->dma : 0); tmp 1242 drivers/net/ethernet/mellanox/mlx5/core/cmd.c head = tmp; tmp 1249 drivers/net/ethernet/mellanox/mlx5/core/cmd.c tmp = head->next; tmp 1251 drivers/net/ethernet/mellanox/mlx5/core/cmd.c head = tmp; tmp 561 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c char tmp[512]; tmp 563 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c snprintf(tmp, sizeof(tmp), str_frmt->string, tmp 573 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c str_frmt->event_id, tmp); tmp 576 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c str_frmt->lost, str_frmt->event_id, tmp); tmp 67 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c #define mlx5e_for_each_arfs_rule(hn, tmp, arfs_tables, i, j) \ tmp 69 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c mlx5e_for_each_hash_arfs_rule(hn, tmp, arfs_tables[i].rules_hash, j) tmp 71 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c #define mlx5e_for_each_hash_arfs_rule(hn, tmp, hash, j) \ tmp 73 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c hlist_for_each_entry_safe(hn, tmp, &hash[j], hlist) tmp 423 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c #define mlx5e_for_each_hash_node(hn, tmp, hash, i) \ tmp 425 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c hlist_for_each_entry_safe(hn, tmp, &hash[i], hlist) tmp 485 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c struct hlist_node *tmp; tmp 496 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mlx5e_for_each_hash_node(hn, tmp, addr_list, hi) { tmp 512 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c struct hlist_node *tmp; tmp 524 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mlx5e_for_each_hash_node(hn, tmp, addr_list, hi) tmp 566 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c struct hlist_node *tmp; tmp 569 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mlx5e_for_each_hash_node(hn, tmp, priv->fs.l2.netdev_uc, i) tmp 572 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mlx5e_for_each_hash_node(hn, tmp, priv->fs.l2.netdev_mc, i) tmp 579 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c struct hlist_node *tmp; tmp 582 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mlx5e_for_each_hash_node(hn, tmp, priv->fs.l2.netdev_uc, i) tmp 584 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mlx5e_for_each_hash_node(hn, tmp, priv->fs.l2.netdev_mc, i) tmp 411 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct mlx5e_rep_sq *rep_sq, *tmp; tmp 418 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c list_for_each_entry_safe(rep_sq, tmp, &rpriv->vport_sqs_list, list) { tmp 1428 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct mlx5e_tc_flow *flow, *tmp; tmp 1430 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c list_for_each_entry_safe(flow, tmp, flow_list, tmp_list) tmp 1504 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct encap_flow_item *efi, *tmp; tmp 1510 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c list_for_each_entry_safe(efi, tmp, &e->flows, list) { tmp 4054 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct mlx5e_hairpin_entry *hpe, *tmp; tmp 4070 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c list_for_each_entry_safe(hpe, tmp, &init_wait_list, dead_peer_wait_list) { tmp 4177 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct mlx5e_tc_flow *flow, *tmp; tmp 4179 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c list_for_each_entry_safe(flow, tmp, &esw->offloads.peer_flows, peer) tmp 4188 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct mlx5e_tc_flow *flow, *tmp; tmp 4191 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c list_for_each_entry_safe(flow, tmp, &rpriv->unready_flows, unready) { tmp 398 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct mlx5_core_cq *tmp; tmp 401 drivers/net/ethernet/mellanox/mlx5/core/eq.c tmp = radix_tree_delete(&table->tree, cq->cqn); tmp 404 drivers/net/ethernet/mellanox/mlx5/core/eq.c if (!tmp) { tmp 410 drivers/net/ethernet/mellanox/mlx5/core/eq.c if (tmp != cq) tmp 694 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct hlist_node *tmp; tmp 703 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c for_each_l2hash_node(node, tmp, hash, hi) { tmp 727 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct hlist_node *tmp; tmp 742 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c for_each_l2hash_node(node, tmp, hash, hi) { tmp 812 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct hlist_node *tmp; tmp 817 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c for_each_l2hash_node(node, tmp, esw->mc_table, hi) { tmp 1318 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_ipsec_rule *r, *tmp; tmp 1320 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c rbtree_postorder_for_each_entry_safe(r, tmp, root, node) { tmp 1579 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c struct rhlist_head *tmp, *list; tmp 1588 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c rhl_for_each_entry_rcu(g, tmp, list, hash) { tmp 280 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h #define fs_list_for_each_entry_safe(pos, tmp, root) \ tmp 281 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h list_for_each_entry_safe(pos, tmp, root, node.list) tmp 298 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h #define fs_for_each_ft_safe(pos, tmp, prio) \ tmp 299 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h fs_list_for_each_entry_safe(pos, tmp, &(prio)->node.children) tmp 113 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c unsigned long tmp; tmp 118 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c counter, tmp, next_id) { tmp 238 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c struct mlx5_fc *counter = NULL, *last = NULL, *tmp; tmp 248 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c llist_for_each_entry_safe(counter, tmp, dellist, dellist) { tmp 403 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c struct mlx5_fc *tmp; tmp 410 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c llist_for_each_entry_safe(counter, tmp, tmplist, addlist) tmp 413 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c list_for_each_entry_safe(counter, tmp, &fc_stats->counters, list) tmp 586 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c struct mlx5_fc_bulk *tmp; tmp 588 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c list_for_each_entry_safe(bulk, tmp, &fc_pool->fully_used, pool_list) tmp 590 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c list_for_each_entry_safe(bulk, tmp, &fc_pool->partially_used, pool_list) tmp 592 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c list_for_each_entry_safe(bulk, tmp, &fc_pool->unused, pool_list) tmp 48 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h #define for_each_l2hash_node(hn, tmp, hash, i) \ tmp 50 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h hlist_for_each_entry_safe(hn, tmp, &(hash)[i], hlist) tmp 218 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c struct hlist_node *tmp; tmp 225 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c hash_for_each_safe(vxlan->htable, bkt, tmp, vxlanp, hlist) { tmp 117 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c struct rb_node *tmp = root->rb_node; tmp 121 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c while (tmp) { tmp 122 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c tfp = rb_entry(tmp, struct fw_page, rb_node); tmp 124 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c tmp = tmp->rb_left; tmp 126 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c tmp = tmp->rb_right; tmp 533 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c struct mlx5dr_rule_action_member *tmp; tmp 535 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c list_for_each_entry_safe(action_mem, tmp, &rule->rule_actions_list, list) { tmp 539 drivers/net/ethernet/mellanox/mlx5/core/vport.c union ib_gid *tmp; tmp 585 drivers/net/ethernet/mellanox/mlx5/core/vport.c tmp = out + MLX5_ST_SZ_BYTES(query_hca_vport_gid_out); tmp 586 drivers/net/ethernet/mellanox/mlx5/core/vport.c gid->global.subnet_prefix = tmp->global.subnet_prefix; tmp 587 drivers/net/ethernet/mellanox/mlx5/core/vport.c gid->global.interface_id = tmp->global.interface_id; tmp 1155 drivers/net/ethernet/mellanox/mlx5/core/vport.c u64 tmp = 0; tmp 1161 drivers/net/ethernet/mellanox/mlx5/core/vport.c mlx5_query_nic_vport_system_image_guid(mdev, &tmp); tmp 1163 drivers/net/ethernet/mellanox/mlx5/core/vport.c mlx5_query_hca_vport_system_image_guid(mdev, &tmp); tmp 1165 drivers/net/ethernet/mellanox/mlx5/core/vport.c mdev->sys_image_guid = tmp; tmp 1167 drivers/net/ethernet/mellanox/mlx5/core/vport.c return tmp; tmp 1639 drivers/net/ethernet/mellanox/mlxsw/core.c struct mlxsw_reg_trans *tmp; tmp 1643 drivers/net/ethernet/mellanox/mlxsw/core.c list_for_each_entry_safe(trans, tmp, bulk_list, bulk_list) { tmp 1660 drivers/net/ethernet/mellanox/mlxsw/core.c char *in_mbox, *out_mbox, *tmp; tmp 1678 drivers/net/ethernet/mellanox/mlxsw/core.c tmp = in_mbox + MLXSW_EMAD_OP_TLV_LEN * sizeof(u32); tmp 1679 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_emad_pack_reg_tlv(tmp, reg, payload); tmp 306 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c struct mlxsw_afa_resource *resource, *tmp; tmp 308 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c list_for_each_entry_safe(resource, tmp, &block->resource_list, list) { tmp 100 drivers/net/ethernet/mellanox/mlxsw/i2c.c u32 tmp; tmp 103 drivers/net/ethernet/mellanox/mlxsw/i2c.c tmp = be32_to_cpup((__be32 *) buf); tmp 104 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c->cmd.mb_off_in = tmp & tmp 106 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c->cmd.mb_size_in = (tmp & GENMASK(31, tmp 110 drivers/net/ethernet/mellanox/mlxsw/i2c.c tmp = be32_to_cpup((__be32 *) (buf + MLXSW_I2C_ADDR_WIDTH)); tmp 111 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c->cmd.mb_off_out = tmp & tmp 113 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c->cmd.mb_size_out = (tmp & GENMASK(31, tmp 121 drivers/net/ethernet/mellanox/mlxsw/i2c.c u16 tmp = be16_to_cpup((__be16 *) (in_mbox + MLXSW_I2C_TLV_HDR_SIZE)); tmp 123 drivers/net/ethernet/mellanox/mlxsw/i2c.c return (tmp & 0x7ff) * 4 + MLXSW_I2C_TLV_HDR_SIZE; tmp 49 drivers/net/ethernet/mellanox/mlxsw/item.h u8 tmp; tmp 51 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = b[offset]; tmp 52 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= item->shift; tmp 53 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); tmp 55 drivers/net/ethernet/mellanox/mlxsw/item.h tmp <<= item->shift; tmp 56 drivers/net/ethernet/mellanox/mlxsw/item.h return tmp; tmp 66 drivers/net/ethernet/mellanox/mlxsw/item.h u8 tmp; tmp 71 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = b[offset]; tmp 72 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= ~mask; tmp 73 drivers/net/ethernet/mellanox/mlxsw/item.h tmp |= val; tmp 74 drivers/net/ethernet/mellanox/mlxsw/item.h b[offset] = tmp; tmp 83 drivers/net/ethernet/mellanox/mlxsw/item.h u16 tmp; tmp 85 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = be16_to_cpu(b[offset]); tmp 86 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= item->shift; tmp 87 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); tmp 89 drivers/net/ethernet/mellanox/mlxsw/item.h tmp <<= item->shift; tmp 90 drivers/net/ethernet/mellanox/mlxsw/item.h return tmp; tmp 100 drivers/net/ethernet/mellanox/mlxsw/item.h u16 tmp; tmp 105 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = be16_to_cpu(b[offset]); tmp 106 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= ~mask; tmp 107 drivers/net/ethernet/mellanox/mlxsw/item.h tmp |= val; tmp 108 drivers/net/ethernet/mellanox/mlxsw/item.h b[offset] = cpu_to_be16(tmp); tmp 117 drivers/net/ethernet/mellanox/mlxsw/item.h u32 tmp; tmp 119 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = be32_to_cpu(b[offset]); tmp 120 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= item->shift; tmp 121 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); tmp 123 drivers/net/ethernet/mellanox/mlxsw/item.h tmp <<= item->shift; tmp 124 drivers/net/ethernet/mellanox/mlxsw/item.h return tmp; tmp 134 drivers/net/ethernet/mellanox/mlxsw/item.h u32 tmp; tmp 139 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = be32_to_cpu(b[offset]); tmp 140 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= ~mask; tmp 141 drivers/net/ethernet/mellanox/mlxsw/item.h tmp |= val; tmp 142 drivers/net/ethernet/mellanox/mlxsw/item.h b[offset] = cpu_to_be32(tmp); tmp 151 drivers/net/ethernet/mellanox/mlxsw/item.h u64 tmp; tmp 153 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = be64_to_cpu(b[offset]); tmp 154 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= item->shift; tmp 155 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK_ULL(item->size.bits - 1, 0); tmp 157 drivers/net/ethernet/mellanox/mlxsw/item.h tmp <<= item->shift; tmp 158 drivers/net/ethernet/mellanox/mlxsw/item.h return tmp; tmp 167 drivers/net/ethernet/mellanox/mlxsw/item.h u64 tmp; tmp 172 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = be64_to_cpu(b[offset]); tmp 173 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= ~mask; tmp 174 drivers/net/ethernet/mellanox/mlxsw/item.h tmp |= val; tmp 175 drivers/net/ethernet/mellanox/mlxsw/item.h b[offset] = cpu_to_be64(tmp); tmp 233 drivers/net/ethernet/mellanox/mlxsw/item.h u8 shift, tmp; tmp 236 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = buf[offset]; tmp 237 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= shift; tmp 238 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->element_size - 1, 0); tmp 239 drivers/net/ethernet/mellanox/mlxsw/item.h return tmp; tmp 246 drivers/net/ethernet/mellanox/mlxsw/item.h u8 shift, tmp; tmp 252 drivers/net/ethernet/mellanox/mlxsw/item.h tmp = buf[offset]; tmp 253 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= ~mask; tmp 254 drivers/net/ethernet/mellanox/mlxsw/item.h tmp |= val; tmp 255 drivers/net/ethernet/mellanox/mlxsw/item.h buf[offset] = tmp; tmp 1709 drivers/net/ethernet/mellanox/mlxsw/pci.c __be32 tmp; tmp 1712 drivers/net/ethernet/mellanox/mlxsw/pci.c tmp = cpu_to_be32(mlxsw_pci_read32(mlxsw_pci, tmp 1714 drivers/net/ethernet/mellanox/mlxsw/pci.c memcpy(out_mbox, &tmp, sizeof(tmp)); tmp 1715 drivers/net/ethernet/mellanox/mlxsw/pci.c tmp = cpu_to_be32(mlxsw_pci_read32(mlxsw_pci, tmp 1717 drivers/net/ethernet/mellanox/mlxsw/pci.c memcpy(out_mbox + sizeof(tmp), &tmp, sizeof(tmp)); tmp 1233 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port_vlan *mlxsw_sp_port_vlan, *tmp; tmp 1235 drivers/net/ethernet/mellanox/mlxsw/spectrum.c list_for_each_entry_safe(mlxsw_sp_port_vlan, tmp, tmp 1105 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u16 tmp; tmp 1110 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c tmp = (unsigned char) enc_key[__MASK_IDX(start / 8)]; tmp 1112 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c tmp |= (unsigned char) enc_key[__MASK_IDX(start / 8 + 1)] << 8; tmp 1113 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c tmp >>= start % 8; tmp 1114 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c tmp &= mask; tmp 1115 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return tmp; tmp 1124 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u16 tmp; tmp 1126 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c tmp = mask; tmp 1127 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c tmp <<= start % 8; tmp 1128 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c tmp = ~tmp; tmp 1131 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c *byte &= tmp & 0xff; tmp 1134 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c *byte &= (tmp >> 8) & 0xff; tmp 299 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c struct mlxsw_sp_mr_route_vif_entry *rve, *tmp; tmp 335 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c list_for_each_entry_safe(rve, tmp, &mr_route->evif_list, route_node) tmp 344 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c struct mlxsw_sp_mr_route_vif_entry *rve, *tmp; tmp 348 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c list_for_each_entry_safe(rve, tmp, &mr_route->evif_list, route_node) tmp 955 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c struct mlxsw_sp_mr_route *mr_route, *tmp; tmp 958 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c list_for_each_entry_safe(mr_route, tmp, &mr_table->route_list, node) tmp 116 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c struct mlxsw_sp_mr_erif_sublist *erif_sublist, *tmp; tmp 118 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c list_for_each_entry_safe(erif_sublist, tmp, &erif_list->erif_sublists, tmp 695 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c struct mlxsw_sp_nve_mc_record *mc_record, *tmp; tmp 709 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c list_for_each_entry_safe(mc_record, tmp, &mc_list->records_list, list) tmp 395 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c struct rhlist_head *tmp, *list; tmp 400 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c rhl_for_each_entry_rcu(unmatched, tmp, list, ht_node) { tmp 966 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c struct mlxsw_sp_port *tmp; tmp 976 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c tmp = mlxsw_sp->ports[i]; tmp 977 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c if (tmp) { tmp 978 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c orig_ing_types |= tmp->ptp.ing_types; tmp 979 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c orig_egr_types |= tmp->ptp.egr_types; tmp 981 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c if (tmp && tmp != mlxsw_sp_port) { tmp 982 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c ing_types |= tmp->ptp.ing_types; tmp 983 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c egr_types |= tmp->ptp.egr_types; tmp 1693 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_ipip_entry *ipip_entry, *tmp; tmp 1695 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(ipip_entry, tmp, &mlxsw_sp->router->ipip_list, tmp 1711 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_ipip_entry *ipip_entry, *tmp; tmp 1713 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(ipip_entry, tmp, &mlxsw_sp->router->ipip_list, tmp 2658 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_neigh_entry *neigh_entry, *tmp; tmp 2660 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(neigh_entry, tmp, &rif->neigh_list, tmp 3861 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_nexthop *nh, *tmp; tmp 3863 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(nh, tmp, &rif->nexthop_list, rif_list_node) { tmp 5346 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_rt6 *mlxsw_sp_rt6, *tmp; tmp 5348 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(mlxsw_sp_rt6, tmp, &fib6_entry->rt6_list, tmp 5814 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib4_entry *fib4_entry, *tmp; tmp 5816 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(fib4_entry, tmp, &fib_node->entry_list, tmp 5818 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c bool do_break = &tmp->common.list == &fib_node->entry_list; tmp 5835 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib6_entry *fib6_entry, *tmp; tmp 5837 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(fib6_entry, tmp, &fib_node->entry_list, tmp 5839 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c bool do_break = &tmp->common.list == &fib_node->entry_list; tmp 5867 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct mlxsw_sp_fib_node *fib_node, *tmp; tmp 5869 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c list_for_each_entry_safe(fib_node, tmp, &fib->node_list, list) { tmp 5870 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c bool do_break = &tmp->list == &fib->node_list; tmp 1884 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_mid *mid, *tmp; tmp 1888 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry_safe(mid, tmp, &bridge_device->mids_list, list) { tmp 1195 drivers/net/ethernet/micrel/ks8851.c u16 tmp; tmp 1212 drivers/net/ethernet/micrel/ks8851.c eeprom_93cx6_read(&ks->eeprom, offset/2, &tmp); tmp 1215 drivers/net/ethernet/micrel/ks8851.c tmp &= 0xff; tmp 1216 drivers/net/ethernet/micrel/ks8851.c tmp |= *data << 8; tmp 1218 drivers/net/ethernet/micrel/ks8851.c tmp &= 0xff00; tmp 1219 drivers/net/ethernet/micrel/ks8851.c tmp |= *data; tmp 1222 drivers/net/ethernet/micrel/ks8851.c eeprom_93cx6_write(&ks->eeprom, offset/2, tmp); tmp 2211 drivers/net/ethernet/mscc/ocelot.c struct list_head *pos, *tmp; tmp 2226 drivers/net/ethernet/mscc/ocelot.c list_for_each_safe(pos, tmp, &port->skbs) { tmp 597 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot_ace_rule *tmp; tmp 608 drivers/net/ethernet/mscc/ocelot_ace.c tmp = list_entry(pos, struct ocelot_ace_rule, list); tmp 609 drivers/net/ethernet/mscc/ocelot_ace.c if (rule->prio < tmp->prio) tmp 618 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot_ace_rule *tmp; tmp 621 drivers/net/ethernet/mscc/ocelot_ace.c list_for_each_entry(tmp, &block->rules, list) { tmp 623 drivers/net/ethernet/mscc/ocelot_ace.c if (rule->id == tmp->id) tmp 632 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot_ace_rule *tmp; tmp 635 drivers/net/ethernet/mscc/ocelot_ace.c list_for_each_entry(tmp, &block->rules, list) { tmp 637 drivers/net/ethernet/mscc/ocelot_ace.c return tmp; tmp 669 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot_ace_rule *tmp; tmp 673 drivers/net/ethernet/mscc/ocelot_ace.c tmp = list_entry(pos, struct ocelot_ace_rule, list); tmp 674 drivers/net/ethernet/mscc/ocelot_ace.c if (tmp->id == rule->id) { tmp 676 drivers/net/ethernet/mscc/ocelot_ace.c kfree(tmp); tmp 711 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot_ace_rule *tmp; tmp 718 drivers/net/ethernet/mscc/ocelot_ace.c tmp = ocelot_ace_rule_get_rule_index(acl_block, index); tmp 719 drivers/net/ethernet/mscc/ocelot_ace.c tmp->stats.pkts = 0; tmp 720 drivers/net/ethernet/mscc/ocelot_ace.c is2_entry_set(rule->port->ocelot, index, tmp); tmp 201 drivers/net/ethernet/mscc/ocelot_board.c struct list_head *pos, *tmp; tmp 223 drivers/net/ethernet/mscc/ocelot_board.c list_for_each_safe(pos, tmp, &port->skbs) { tmp 122 drivers/net/ethernet/mscc/ocelot_flower.c u8 *tmp; tmp 125 drivers/net/ethernet/mscc/ocelot_flower.c tmp = &ocelot_rule->frame.ipv4.sip.value.addr[0]; tmp 126 drivers/net/ethernet/mscc/ocelot_flower.c memcpy(tmp, &match.key->src, 4); tmp 128 drivers/net/ethernet/mscc/ocelot_flower.c tmp = &ocelot_rule->frame.ipv4.sip.mask.addr[0]; tmp 129 drivers/net/ethernet/mscc/ocelot_flower.c memcpy(tmp, &match.mask->src, 4); tmp 131 drivers/net/ethernet/mscc/ocelot_flower.c tmp = &ocelot_rule->frame.ipv4.dip.value.addr[0]; tmp 132 drivers/net/ethernet/mscc/ocelot_flower.c memcpy(tmp, &match.key->dst, 4); tmp 134 drivers/net/ethernet/mscc/ocelot_flower.c tmp = &ocelot_rule->frame.ipv4.dip.mask.addr[0]; tmp 135 drivers/net/ethernet/mscc/ocelot_flower.c memcpy(tmp, &match.mask->dst, 4); tmp 750 drivers/net/ethernet/natsemi/natsemi.c u32 tmp; tmp 758 drivers/net/ethernet/natsemi/natsemi.c tmp = mdio_read(dev, MII_BMCR); tmp 759 drivers/net/ethernet/natsemi/natsemi.c np->speed = (tmp & BMCR_SPEED100)? SPEED_100 : SPEED_10; tmp 760 drivers/net/ethernet/natsemi/natsemi.c np->duplex = (tmp & BMCR_FULLDPLX)? DUPLEX_FULL : DUPLEX_HALF; tmp 761 drivers/net/ethernet/natsemi/natsemi.c np->autoneg = (tmp & BMCR_ANENABLE)? AUTONEG_ENABLE: AUTONEG_DISABLE; tmp 813 drivers/net/ethernet/natsemi/natsemi.c u32 tmp; tmp 829 drivers/net/ethernet/natsemi/natsemi.c pci_read_config_dword(pdev, PCIPM, &tmp); tmp 830 drivers/net/ethernet/natsemi/natsemi.c if (tmp & PCI_PM_CTRL_STATE_MASK) { tmp 832 drivers/net/ethernet/natsemi/natsemi.c u32 newtmp = tmp & ~PCI_PM_CTRL_STATE_MASK; tmp 1152 drivers/net/ethernet/natsemi/natsemi.c u16 tmp; tmp 1155 drivers/net/ethernet/natsemi/natsemi.c tmp = mdio_read(dev, MII_BMCR); tmp 1158 drivers/net/ethernet/natsemi/natsemi.c if ((tmp & BMCR_ANENABLE) == 0 || tmp 1162 drivers/net/ethernet/natsemi/natsemi.c tmp |= (BMCR_ANENABLE | BMCR_ANRESTART); tmp 1167 drivers/net/ethernet/natsemi/natsemi.c tmp &= ~(BMCR_ANENABLE | BMCR_SPEED100 | BMCR_FULLDPLX); tmp 1169 drivers/net/ethernet/natsemi/natsemi.c tmp |= BMCR_SPEED100; tmp 1171 drivers/net/ethernet/natsemi/natsemi.c tmp |= BMCR_FULLDPLX; tmp 1180 drivers/net/ethernet/natsemi/natsemi.c mdio_write(dev, MII_BMCR, tmp); tmp 1192 drivers/net/ethernet/natsemi/natsemi.c tmp = mdio_read(dev, MII_MCTRL); tmp 1193 drivers/net/ethernet/natsemi/natsemi.c tmp &= ~(MII_FX_SEL | MII_EN_SCRM); tmp 1195 drivers/net/ethernet/natsemi/natsemi.c tmp |= MII_FX_SEL; tmp 1197 drivers/net/ethernet/natsemi/natsemi.c tmp |= MII_EN_SCRM; tmp 1198 drivers/net/ethernet/natsemi/natsemi.c mdio_write(dev, MII_MCTRL, tmp); tmp 1347 drivers/net/ethernet/natsemi/natsemi.c int tmp; tmp 1362 drivers/net/ethernet/natsemi/natsemi.c tmp = miiport_read(dev, i, MII_BMSR); tmp 1363 drivers/net/ethernet/natsemi/natsemi.c if (tmp != 0xffff && tmp != 0x0000) { tmp 1683 drivers/net/ethernet/natsemi/natsemi.c int tmp = mii_nway_result( tmp 1685 drivers/net/ethernet/natsemi/natsemi.c if (tmp == LPA_100FULL || tmp == LPA_10FULL) tmp 2651 drivers/net/ethernet/natsemi/natsemi.c int tmp; tmp 2654 drivers/net/ethernet/natsemi/natsemi.c tmp = mdio_read(dev, MII_BMCR); tmp 2655 drivers/net/ethernet/natsemi/natsemi.c if (tmp & BMCR_ANENABLE) { tmp 2656 drivers/net/ethernet/natsemi/natsemi.c tmp |= (BMCR_ANRESTART); tmp 2657 drivers/net/ethernet/natsemi/natsemi.c mdio_write(dev, MII_BMCR, tmp); tmp 2838 drivers/net/ethernet/natsemi/natsemi.c u32 tmp; tmp 2894 drivers/net/ethernet/natsemi/natsemi.c tmp = mii_nway_result( tmp 2896 drivers/net/ethernet/natsemi/natsemi.c if (tmp == LPA_100FULL || tmp == LPA_100HALF) tmp 2900 drivers/net/ethernet/natsemi/natsemi.c if (tmp == LPA_100FULL || tmp == LPA_10FULL) tmp 572 drivers/net/ethernet/neterion/s2io.c unsigned long tmp; tmp 815 drivers/net/ethernet/neterion/s2io.c tmp = (unsigned long)ba->ba_0_org; tmp 816 drivers/net/ethernet/neterion/s2io.c tmp += ALIGN_SIZE; tmp 817 drivers/net/ethernet/neterion/s2io.c tmp &= ~((unsigned long)ALIGN_SIZE); tmp 818 drivers/net/ethernet/neterion/s2io.c ba->ba_0 = (void *)tmp; tmp 825 drivers/net/ethernet/neterion/s2io.c tmp = (unsigned long)ba->ba_1_org; tmp 826 drivers/net/ethernet/neterion/s2io.c tmp += ALIGN_SIZE; tmp 827 drivers/net/ethernet/neterion/s2io.c tmp &= ~((unsigned long)ALIGN_SIZE); tmp 828 drivers/net/ethernet/neterion/s2io.c ba->ba_1 = (void *)tmp; tmp 2449 drivers/net/ethernet/neterion/s2io.c u64 tmp; tmp 2552 drivers/net/ethernet/neterion/s2io.c tmp = (u64)(unsigned long)skb->data; tmp 2553 drivers/net/ethernet/neterion/s2io.c tmp += ALIGN_SIZE; tmp 2554 drivers/net/ethernet/neterion/s2io.c tmp &= ~ALIGN_SIZE; tmp 2555 drivers/net/ethernet/neterion/s2io.c skb->data = (void *) (unsigned long)tmp; tmp 6447 drivers/net/ethernet/neterion/s2io.c u64 tmp = swstats->sum_avg_pkts_aggregated; tmp 6453 drivers/net/ethernet/neterion/s2io.c while (tmp >= swstats->num_aggregations) { tmp 6454 drivers/net/ethernet/neterion/s2io.c tmp -= swstats->num_aggregations; tmp 1940 drivers/net/ethernet/neterion/vxge/vxge-config.h u8 *tmp = (u8 *)vaddr; tmp 1941 drivers/net/ethernet/neterion/vxge/vxge-config.h tmp -= misaligned; tmp 1942 drivers/net/ethernet/neterion/vxge/vxge-config.h kfree((void *)tmp); tmp 1602 drivers/net/ethernet/netronome/nfp/bpf/jit.c swreg tmp = imm_a(nfp_prog), tmp_len = imm_b(nfp_prog); tmp 1634 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_alu(nfp_prog, tmp, tmp 1639 drivers/net/ethernet/netronome/nfp/bpf/jit.c tmp, ALU_OP_SUB, reg_imm(adjust_head->off_min)); tmp 1642 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg_imm(adjust_head->off_max), ALU_OP_SUB, tmp); tmp 1657 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_ld_field(nfp_prog, pptr_reg(nfp_prog), 0x3, tmp, SHF_SC_NONE, 0); tmp 176 drivers/net/ethernet/netronome/nfp/bpf/offload.c struct nfp_insn_meta *meta, *tmp; tmp 180 drivers/net/ethernet/netronome/nfp/bpf/offload.c list_for_each_entry_safe(meta, tmp, &nfp_prog->insns, l) { tmp 173 drivers/net/ethernet/netronome/nfp/ccm_mbox.c __be32 tmp = 0; tmp 175 drivers/net/ethernet/netronome/nfp/ccm_mbox.c memcpy(&tmp, &data[i], skb->len & 3); tmp 176 drivers/net/ethernet/netronome/nfp/ccm_mbox.c nn_writel(nn, off, be32_to_cpu(tmp)); tmp 465 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c u64 tmp[NN_RVEC_GATHER_STATS]; tmp 474 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[0] = nn->r_vecs[i].hw_csum_rx_ok; tmp 475 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[1] = nn->r_vecs[i].hw_csum_rx_inner_ok; tmp 476 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[2] = nn->r_vecs[i].hw_csum_rx_complete; tmp 477 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[3] = nn->r_vecs[i].hw_csum_rx_error; tmp 478 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[4] = nn->r_vecs[i].rx_replace_buf_alloc_fail; tmp 479 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[5] = nn->r_vecs[i].hw_tls_rx; tmp 486 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[6] = nn->r_vecs[i].hw_csum_tx; tmp 487 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[7] = nn->r_vecs[i].hw_csum_tx_inner; tmp 488 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[8] = nn->r_vecs[i].tx_gather; tmp 489 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[9] = nn->r_vecs[i].tx_lso; tmp 490 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[10] = nn->r_vecs[i].hw_tls_tx; tmp 491 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[11] = nn->r_vecs[i].tls_tx_fallback; tmp 492 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c tmp[12] = nn->r_vecs[i].tls_tx_no_fallback; tmp 498 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c gathered_stats[j] += tmp[j]; tmp 109 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c struct nfp_cpp_resource *tmp; tmp 113 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c tmp = container_of(pos, struct nfp_cpp_resource, list); tmp 115 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (tmp->cpp_id > res->cpp_id) tmp 118 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (tmp->cpp_id == res->cpp_id && tmp->start > res->start) tmp 682 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u8 tmp[4]; tmp 685 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c n = nfp_cpp_area_read(area, offset, &tmp, sizeof(tmp)); tmp 686 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (n != sizeof(tmp)) tmp 689 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c *value = get_unaligned_le32(tmp); tmp 704 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u8 tmp[4]; tmp 707 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c put_unaligned_le32(value, tmp); tmp 708 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c n = nfp_cpp_area_write(area, offset, &tmp, sizeof(tmp)); tmp 710 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return n == sizeof(tmp) ? 0 : n < 0 ? n : -EIO; tmp 724 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u8 tmp[8]; tmp 727 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c n = nfp_cpp_area_read(area, offset, &tmp, sizeof(tmp)); tmp 728 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (n != sizeof(tmp)) tmp 731 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c *value = get_unaligned_le64(tmp); tmp 746 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u8 tmp[8]; tmp 749 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c put_unaligned_le64(value, tmp); tmp 750 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c n = nfp_cpp_area_write(area, offset, &tmp, sizeof(tmp)); tmp 752 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return n == sizeof(tmp) ? 0 : n < 0 ? n : -EIO; tmp 769 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u8 tmp[4]; tmp 773 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c put_unaligned_le32(value, tmp); tmp 775 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (offset % sizeof(tmp) || length % sizeof(tmp)) tmp 778 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c for (i = 0; i < length; i += sizeof(tmp)) { tmp 779 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c k = nfp_cpp_area_write(area, offset + i, &tmp, sizeof(tmp)); tmp 1130 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c u32 tmp; tmp 1132 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = nfp_xpb_readl(cpp, xpb_tgt, &tmp); tmp 1136 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c tmp &= ~mask; tmp 1137 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c tmp |= mask & value; tmp 1138 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return nfp_xpb_writel(cpp, xpb_tgt, tmp); tmp 43 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c u8 tmp[4]; tmp 46 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c n = nfp_cpp_read(cpp, cpp_id, address, tmp, sizeof(tmp)); tmp 47 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c if (n != sizeof(tmp)) tmp 50 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c *value = get_unaligned_le32(tmp); tmp 66 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c u8 tmp[4]; tmp 69 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c put_unaligned_le32(value, tmp); tmp 70 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c n = nfp_cpp_write(cpp, cpp_id, address, tmp, sizeof(tmp)); tmp 72 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c return n == sizeof(tmp) ? 0 : n < 0 ? n : -EIO; tmp 87 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c u8 tmp[8]; tmp 90 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c n = nfp_cpp_read(cpp, cpp_id, address, tmp, sizeof(tmp)); tmp 91 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c if (n != sizeof(tmp)) tmp 94 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c *value = get_unaligned_le64(tmp); tmp 110 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c u8 tmp[8]; tmp 113 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c put_unaligned_le64(value, tmp); tmp 114 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c n = nfp_cpp_write(cpp, cpp_id, address, tmp, sizeof(tmp)); tmp 116 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c return n == sizeof(tmp) ? 0 : n < 0 ? n : -EIO; tmp 157 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c char *tmp = buff; tmp 183 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c for (i = 0; i < len; i += incr, addr += incr, tmp += incr) { tmp 195 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c err = nfp_cpp_explicit_get(expl, tmp, incr); tmp 210 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c const char *tmp = buff; tmp 236 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c for (i = 0; i < len; i += incr, addr += incr, tmp += incr) { tmp 244 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.c err = nfp_cpp_explicit_put(expl, tmp, incr); tmp 130 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u32 tmp; tmp 136 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(cpp, mur, address + 4, &tmp); tmp 140 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c if (tmp != key) tmp 268 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u32 key, value, tmp; tmp 304 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(cpp, mus, mutex->address, &tmp); tmp 309 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c if (nfp_mutex_is_unlocked(tmp)) { tmp 327 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c return nfp_mutex_is_locked(tmp) ? -EBUSY : -EINVAL; tmp 348 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c u32 tmp; tmp 355 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c err = nfp_cpp_readl(cpp, mur, address, &tmp); tmp 359 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mutex.c if (nfp_mutex_is_unlocked(tmp) || nfp_mutex_owner(tmp) != interface) tmp 273 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c u8 tmp[8]; tmp 275 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c put_unaligned_le64(sym->addr, tmp); tmp 276 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c memcpy(buf, &tmp[off], len); tmp 1098 drivers/net/ethernet/ni/nixge.c u32 status, tmp; tmp 1107 drivers/net/ethernet/ni/nixge.c tmp = NIXGE_MDIO_CLAUSE45 | NIXGE_MDIO_OP(NIXGE_MDIO_OP_ADDRESS) tmp 1110 drivers/net/ethernet/ni/nixge.c nixge_ctrl_write_reg(priv, NIXGE_REG_MDIO_OP, tmp); tmp 1120 drivers/net/ethernet/ni/nixge.c tmp = NIXGE_MDIO_CLAUSE45 | NIXGE_MDIO_OP(NIXGE_MDIO_C45_READ) | tmp 1125 drivers/net/ethernet/ni/nixge.c tmp = NIXGE_MDIO_CLAUSE22 | NIXGE_MDIO_OP(NIXGE_MDIO_C22_READ) | tmp 1129 drivers/net/ethernet/ni/nixge.c nixge_ctrl_write_reg(priv, NIXGE_REG_MDIO_OP, tmp); tmp 1147 drivers/net/ethernet/ni/nixge.c u32 status, tmp; tmp 1156 drivers/net/ethernet/ni/nixge.c tmp = NIXGE_MDIO_CLAUSE45 | NIXGE_MDIO_OP(NIXGE_MDIO_OP_ADDRESS) tmp 1159 drivers/net/ethernet/ni/nixge.c nixge_ctrl_write_reg(priv, NIXGE_REG_MDIO_OP, tmp); tmp 1169 drivers/net/ethernet/ni/nixge.c tmp = NIXGE_MDIO_CLAUSE45 | NIXGE_MDIO_OP(NIXGE_MDIO_C45_WRITE) tmp 1173 drivers/net/ethernet/ni/nixge.c nixge_ctrl_write_reg(priv, NIXGE_REG_MDIO_OP, tmp); tmp 1181 drivers/net/ethernet/ni/nixge.c tmp = NIXGE_MDIO_CLAUSE22 | tmp 1186 drivers/net/ethernet/ni/nixge.c nixge_ctrl_write_reg(priv, NIXGE_REG_MDIO_OP, tmp); tmp 422 drivers/net/ethernet/nxp/lpc_eth.c u32 tmp; tmp 425 drivers/net/ethernet/nxp/lpc_eth.c tmp = mac[0] | ((u32)mac[1] << 8); tmp 426 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_SA2(pldat->net_base)); tmp 427 drivers/net/ethernet/nxp/lpc_eth.c tmp = mac[2] | ((u32)mac[3] << 8); tmp 428 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_SA1(pldat->net_base)); tmp 429 drivers/net/ethernet/nxp/lpc_eth.c tmp = mac[4] | ((u32)mac[5] << 8); tmp 430 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_SA0(pldat->net_base)); tmp 437 drivers/net/ethernet/nxp/lpc_eth.c u32 tmp; tmp 440 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_SA2(pldat->net_base)); tmp 441 drivers/net/ethernet/nxp/lpc_eth.c mac[0] = tmp & 0xFF; tmp 442 drivers/net/ethernet/nxp/lpc_eth.c mac[1] = tmp >> 8; tmp 443 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_SA1(pldat->net_base)); tmp 444 drivers/net/ethernet/nxp/lpc_eth.c mac[2] = tmp & 0xFF; tmp 445 drivers/net/ethernet/nxp/lpc_eth.c mac[3] = tmp >> 8; tmp 446 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_SA0(pldat->net_base)); tmp 447 drivers/net/ethernet/nxp/lpc_eth.c mac[4] = tmp & 0xFF; tmp 448 drivers/net/ethernet/nxp/lpc_eth.c mac[5] = tmp >> 8; tmp 453 drivers/net/ethernet/nxp/lpc_eth.c u32 tmp; tmp 456 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_MAC2(pldat->net_base)); tmp 457 drivers/net/ethernet/nxp/lpc_eth.c tmp |= LPC_MAC2_FULL_DUPLEX; tmp 458 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_MAC2(pldat->net_base)); tmp 459 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_COMMAND(pldat->net_base)); tmp 460 drivers/net/ethernet/nxp/lpc_eth.c tmp |= LPC_COMMAND_FULLDUPLEX; tmp 461 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_COMMAND(pldat->net_base)); tmp 464 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_MAC2(pldat->net_base)); tmp 465 drivers/net/ethernet/nxp/lpc_eth.c tmp &= ~LPC_MAC2_FULL_DUPLEX; tmp 466 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_MAC2(pldat->net_base)); tmp 467 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_COMMAND(pldat->net_base)); tmp 468 drivers/net/ethernet/nxp/lpc_eth.c tmp &= ~LPC_COMMAND_FULLDUPLEX; tmp 469 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_COMMAND(pldat->net_base)); tmp 598 drivers/net/ethernet/nxp/lpc_eth.c u32 tmp; tmp 601 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_COMMAND(pldat->net_base)); tmp 602 drivers/net/ethernet/nxp/lpc_eth.c tmp &= ~LPC_COMMAND_RXENABLE | LPC_COMMAND_TXENABLE; tmp 603 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_COMMAND(pldat->net_base)); tmp 604 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_MAC1(pldat->net_base)); tmp 605 drivers/net/ethernet/nxp/lpc_eth.c tmp &= ~LPC_MAC1_RECV_ENABLE; tmp 606 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_MAC1(pldat->net_base)); tmp 649 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_COMMAND(pldat->net_base)); tmp 650 drivers/net/ethernet/nxp/lpc_eth.c tmp |= LPC_COMMAND_RXENABLE | LPC_COMMAND_TXENABLE; tmp 651 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_COMMAND(pldat->net_base)); tmp 652 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_MAC1(pldat->net_base)); tmp 653 drivers/net/ethernet/nxp/lpc_eth.c tmp |= LPC_MAC1_RECV_ENABLE; tmp 654 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_MAC1(pldat->net_base)); tmp 981 drivers/net/ethernet/nxp/lpc_eth.c u32 tmp; tmp 985 drivers/net/ethernet/nxp/lpc_eth.c tmp = readl(LPC_ENET_INTSTATUS(pldat->net_base)); tmp 987 drivers/net/ethernet/nxp/lpc_eth.c writel(tmp, LPC_ENET_INTCLEAR(pldat->net_base)); tmp 189 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c u16 i, tmp; tmp 196 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c pch_gbe_phy_read_reg_miic(&adapter->hw, i, &tmp); tmp 197 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c *regs_buff++ = tmp; tmp 302 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c u32 tmp; tmp 305 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c tmp = 1000; tmp 306 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c while ((ioread32(reg) & bit) && --tmp) tmp 308 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (!tmp) tmp 315 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c int tmp = AutoNeg; tmp 317 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&tmp, &opt, adapter); tmp 318 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->phy.autoneg_advertised = tmp; tmp 503 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c int tmp = FlowControl; tmp 505 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&tmp, &opt, adapter); tmp 506 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->mac.fc = tmp; tmp 127 drivers/net/ethernet/pasemi/pasemi_mac.c u32 tmp; tmp 131 drivers/net/ethernet/pasemi/pasemi_mac.c tmp = read_dma_reg(PAS_DMA_CAP_IFI); tmp 132 drivers/net/ethernet/pasemi/pasemi_mac.c nintf = (tmp & PAS_DMA_CAP_IFI_NIN_M) >> PAS_DMA_CAP_IFI_NIN_S; tmp 133 drivers/net/ethernet/pasemi/pasemi_mac.c off = (tmp & PAS_DMA_CAP_IFI_IOFF_M) >> PAS_DMA_CAP_IFI_IOFF_S; tmp 143 drivers/net/ethernet/pasemi/pasemi_mac.c tmp = read_dma_reg(off+4*i); tmp 145 drivers/net/ethernet/pasemi/pasemi_mac.c if (((tmp >> (8*j)) & 0xff) == devfn) tmp 1791 drivers/net/ethernet/pensando/ionic/ionic_lif.c struct list_head *cur, *tmp; tmp 1794 drivers/net/ethernet/pensando/ionic/ionic_lif.c list_for_each_safe(cur, tmp, &ionic->lifs) { tmp 1820 drivers/net/ethernet/pensando/ionic/ionic_lif.c struct list_head *cur, *tmp; tmp 1823 drivers/net/ethernet/pensando/ionic/ionic_lif.c list_for_each_safe(cur, tmp, &ionic->lifs) { tmp 2060 drivers/net/ethernet/pensando/ionic/ionic_lif.c struct list_head *cur, *tmp; tmp 2064 drivers/net/ethernet/pensando/ionic/ionic_lif.c list_for_each_safe(cur, tmp, &ionic->lifs) { tmp 51 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c struct hlist_node *tmp; tmp 56 drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c hlist_for_each_entry_safe(f, tmp, head, by_id) tmp 4183 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 reg_function_hide, tmp, eng_mask, low_pfs_mask; tmp 4213 drivers/net/ethernet/qlogic/qed/qed_dev.c tmp = (reg_function_hide ^ 0xffffffff) & eng_mask; tmp 4214 drivers/net/ethernet/qlogic/qed/qed_dev.c while (tmp) { tmp 4215 drivers/net/ethernet/qlogic/qed/qed_dev.c if (tmp & 0x1) tmp 4217 drivers/net/ethernet/qlogic/qed/qed_dev.c tmp >>= 0x1; tmp 4222 drivers/net/ethernet/qlogic/qed/qed_dev.c tmp = reg_function_hide & eng_mask & low_pfs_mask; tmp 4223 drivers/net/ethernet/qlogic/qed/qed_dev.c while (tmp) { tmp 4224 drivers/net/ethernet/qlogic/qed/qed_dev.c if (tmp & 0x1) tmp 4226 drivers/net/ethernet/qlogic/qed/qed_dev.c tmp >>= 0x1; tmp 4369 drivers/net/ethernet/qlogic/qed/qed_dev.c u32 tmp; tmp 4395 drivers/net/ethernet/qlogic/qed/qed_dev.c tmp = qed_rd(p_hwfn, p_ptt, MISCS_REG_CMT_ENABLED_FOR_PAIR); tmp 4397 drivers/net/ethernet/qlogic/qed/qed_dev.c if (tmp & (1 << p_hwfn->rel_pf_id)) { tmp 124 drivers/net/ethernet/qlogic/qed/qed_fcoe.c u16 tmp; tmp 155 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(fcoe_pf_params->sq_num_pbl_pages); tmp 156 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->sq_num_pages_in_pbl = tmp; tmp 175 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(fcoe_pf_params->num_tasks); tmp 176 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->func_params.num_tasks = tmp; tmp 183 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(fcoe_pf_params->cq_num_entries); tmp 184 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.cq_num_entries = tmp; tmp 186 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(fcoe_pf_params->cmdq_num_entries); tmp 187 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.cmdq_num_entries = tmp; tmp 189 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = fcoe_pf_params->num_cqs; tmp 190 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.num_queues = (u8)tmp; tmp 192 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = (u16)p_hwfn->hw_info.resc_start[QED_CMDQS_CQS]; tmp 193 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.queue_relative_offset = (u8)tmp; tmp 199 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(igu_sb_id); tmp 200 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.cq_cmdq_sb_num_arr[i] = tmp; tmp 212 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = fcoe_pf_params->bdq_xoff_threshold[BDQ_ID_RQ]; tmp 213 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.bdq_xoff_threshold[BDQ_ID_RQ] = cpu_to_le16(tmp); tmp 214 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = fcoe_pf_params->bdq_xon_threshold[BDQ_ID_RQ]; tmp 215 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.bdq_xon_threshold[BDQ_ID_RQ] = cpu_to_le16(tmp); tmp 221 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = fcoe_pf_params->bdq_xoff_threshold[BDQ_ID_IMM_DATA]; tmp 222 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.bdq_xoff_threshold[BDQ_ID_IMM_DATA] = cpu_to_le16(tmp); tmp 223 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = fcoe_pf_params->bdq_xon_threshold[BDQ_ID_IMM_DATA]; tmp 224 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.bdq_xon_threshold[BDQ_ID_IMM_DATA] = cpu_to_le16(tmp); tmp 225 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = fcoe_pf_params->rq_buffer_size; tmp 226 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->q_params.rq_buffer_size = cpu_to_le16(tmp); tmp 260 drivers/net/ethernet/qlogic/qed/qed_fcoe.c u16 physical_q0, tmp; tmp 303 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(p_conn->tx_max_fc_pay_len); tmp 304 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->tx_max_fc_pay_len = tmp; tmp 305 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(p_conn->e_d_tov_timer_val); tmp 306 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->e_d_tov_timer_val = tmp; tmp 307 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(p_conn->rec_tov_timer_val); tmp 308 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->rec_rr_tov_timer_val = tmp; tmp 309 drivers/net/ethernet/qlogic/qed/qed_fcoe.c tmp = cpu_to_le16(p_conn->rx_max_fc_pay_len); tmp 310 drivers/net/ethernet/qlogic/qed/qed_fcoe.c p_data->rx_max_fc_pay_len = tmp; tmp 117 drivers/net/ethernet/qlogic/qed/qed_int.c u32 tmp = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, MCP_REG_CPU_STATE); tmp 121 drivers/net/ethernet/qlogic/qed/qed_int.c tmp); tmp 143 drivers/net/ethernet/qlogic/qed/qed_int.c u32 tmp = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, tmp 146 drivers/net/ethernet/qlogic/qed/qed_int.c if (tmp & QED_PSWHST_ATTENTION_INCORRECT_ACCESS) { tmp 207 drivers/net/ethernet/qlogic/qed/qed_int.c u32 tmp, tmp2; tmp 212 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, tmp 214 drivers/net/ethernet/qlogic/qed/qed_int.c if (!(tmp & QED_GRC_ATTENTION_VALID_BIT)) tmp 218 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, tmp 225 drivers/net/ethernet/qlogic/qed/qed_int.c tmp2, tmp, tmp 226 drivers/net/ethernet/qlogic/qed/qed_int.c (tmp & QED_GRC_ATTENTION_RDWR_BIT) ? "Write to" : "Read from", tmp 227 drivers/net/ethernet/qlogic/qed/qed_int.c GET_FIELD(tmp, QED_GRC_ATTENTION_ADDRESS) << 2, tmp 228 drivers/net/ethernet/qlogic/qed/qed_int.c attn_master_to_str(GET_FIELD(tmp, QED_GRC_ATTENTION_MASTER)), tmp 262 drivers/net/ethernet/qlogic/qed/qed_int.c u32 tmp; tmp 264 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS2); tmp 265 drivers/net/ethernet/qlogic/qed/qed_int.c if (tmp & PGLUE_ATTENTION_VALID) { tmp 284 drivers/net/ethernet/qlogic/qed/qed_int.c tmp, tmp 285 drivers/net/ethernet/qlogic/qed/qed_int.c GET_FIELD(tmp, tmp 287 drivers/net/ethernet/qlogic/qed/qed_int.c GET_FIELD(tmp, tmp 289 drivers/net/ethernet/qlogic/qed/qed_int.c GET_FIELD(tmp, tmp 293 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_RD_DETAILS2); tmp 294 drivers/net/ethernet/qlogic/qed/qed_int.c if (tmp & PGLUE_ATTENTION_RD_VALID) { tmp 313 drivers/net/ethernet/qlogic/qed/qed_int.c tmp, tmp 314 drivers/net/ethernet/qlogic/qed/qed_int.c GET_FIELD(tmp, tmp 316 drivers/net/ethernet/qlogic/qed/qed_int.c GET_FIELD(tmp, tmp 318 drivers/net/ethernet/qlogic/qed/qed_int.c GET_FIELD(tmp, tmp 322 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL); tmp 323 drivers/net/ethernet/qlogic/qed/qed_int.c if (tmp & PGLUE_ATTENTION_ICPL_VALID) tmp 324 drivers/net/ethernet/qlogic/qed/qed_int.c DP_NOTICE(p_hwfn, "ICPL error - %08x\n", tmp); tmp 326 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_ZLR_ERR_DETAILS); tmp 327 drivers/net/ethernet/qlogic/qed/qed_int.c if (tmp & PGLUE_ATTENTION_ZLR_VALID) { tmp 336 drivers/net/ethernet/qlogic/qed/qed_int.c tmp, addr_hi, addr_lo); tmp 339 drivers/net/ethernet/qlogic/qed/qed_int.c tmp = qed_rd(p_hwfn, p_ptt, PGLUE_B_REG_VF_ILT_ERR_DETAILS2); tmp 340 drivers/net/ethernet/qlogic/qed/qed_int.c if (tmp & PGLUE_ATTENTION_ILT_VALID) { tmp 352 drivers/net/ethernet/qlogic/qed/qed_int.c details, tmp, addr_hi, addr_lo); tmp 99 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 tmp, i; tmp 105 drivers/net/ethernet/qlogic/qed/qed_mcp.c tmp = qed_rd(p_hwfn, p_ptt, tmp 111 drivers/net/ethernet/qlogic/qed/qed_mcp.c be32_to_cpu((__force __be32)tmp); tmp 930 drivers/net/ethernet/qlogic/qed/qed_spq.c struct qed_spq_entry *tmp; tmp 941 drivers/net/ethernet/qlogic/qed/qed_spq.c list_for_each_entry_safe(p_ent, tmp, &p_spq->completion_pending, list) { tmp 3626 drivers/net/ethernet/qlogic/qed/qed_sriov.c u32 tmp; tmp 3628 drivers/net/ethernet/qlogic/qed/qed_sriov.c tmp = qed_rd(p_hwfn, p_ptt, tmp 3631 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (distance[i] > tmp - cons[i]) tmp 704 drivers/net/ethernet/qlogic/qede/qede_filter.c struct qede_vlan *vlan, *tmp; tmp 719 drivers/net/ethernet/qlogic/qede/qede_filter.c list_for_each_entry(tmp, &edev->vlan_list, list) { tmp 720 drivers/net/ethernet/qlogic/qede/qede_filter.c if (tmp->vid == vlan->vid) { tmp 1557 drivers/net/ethernet/qlogic/qede/qede_fp.c u8 tmp = ETH_TX_1ST_BD_FLAGS_TUNN_L4_CSUM_SHIFT; tmp 1559 drivers/net/ethernet/qlogic/qede/qede_fp.c first_bd->data.bd_flags.bitfields |= 1 << tmp; tmp 2153 drivers/net/ethernet/qlogic/qla3xxx.c u32 *tmp = (u32 *)net_rsp; tmp 2159 drivers/net/ethernet/qlogic/qla3xxx.c (unsigned long int)tmp[0], tmp 2160 drivers/net/ethernet/qlogic/qla3xxx.c (unsigned long int)tmp[1], tmp 2161 drivers/net/ethernet/qlogic/qla3xxx.c (unsigned long int)tmp[2], tmp 2162 drivers/net/ethernet/qlogic/qla3xxx.c (unsigned long int)tmp[3]); tmp 2405 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u32 *tmp = buffer; tmp 2409 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h *tmp = swab32(*tmp); tmp 2410 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h tmp++; tmp 3958 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u32 mbx_cmd, fw_hal_version, hdr_size, total_size, tmp; tmp 3971 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c tmp = QLCNIC_CMD_BC_EVENT_SETUP | total_size << 16; tmp 3972 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mbx_cmd = tmp | fw_hal_version << 29; tmp 519 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c struct list_head *head, *tmp; tmp 521 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c list_for_each_safe(head, tmp, &adapter->mac_list) { tmp 1598 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c struct qlcnic_async_cmd *entry, *tmp; tmp 1611 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c list_for_each_entry_safe(entry, tmp, &del_list, list) { tmp 1385 drivers/net/ethernet/realtek/8139too.c u8 tmp; tmp 1437 drivers/net/ethernet/realtek/8139too.c tmp = RTL_R8 (ChipCmd); tmp 1438 drivers/net/ethernet/realtek/8139too.c if ((!(tmp & CmdRxEnb)) || (!(tmp & CmdTxEnb))) tmp 2555 drivers/net/ethernet/realtek/8139too.c u32 tmp; tmp 2587 drivers/net/ethernet/realtek/8139too.c tmp = rtl8139_rx_config | rx_mode; tmp 2588 drivers/net/ethernet/realtek/8139too.c if (tp->rx_config != tmp) { tmp 2589 drivers/net/ethernet/realtek/8139too.c RTL_W32_F (RxConfig, tmp); tmp 2590 drivers/net/ethernet/realtek/8139too.c tp->rx_config = tmp; tmp 1470 drivers/net/ethernet/realtek/r8169_main.c unsigned int i, tmp = ARRAY_SIZE(cfg); tmp 1476 drivers/net/ethernet/realtek/r8169_main.c tmp--; tmp 1484 drivers/net/ethernet/realtek/r8169_main.c tmp--; tmp 1491 drivers/net/ethernet/realtek/r8169_main.c for (i = 0; i < tmp; i++) { tmp 4312 drivers/net/ethernet/realtek/r8169_main.c u32 tmp; tmp 4334 drivers/net/ethernet/realtek/r8169_main.c tmp = mc_filter[0]; tmp 4336 drivers/net/ethernet/realtek/r8169_main.c mc_filter[1] = swab32(tmp); tmp 4346 drivers/net/ethernet/realtek/r8169_main.c tmp = RTL_R32(tp, RxConfig); tmp 4347 drivers/net/ethernet/realtek/r8169_main.c RTL_W32(tp, RxConfig, (tmp & ~RX_CONFIG_ACCEPT_MASK) | rx_mode); tmp 2691 drivers/net/ethernet/renesas/sh_eth.c u32 tmp; tmp 2693 drivers/net/ethernet/renesas/sh_eth.c tmp = sh_eth_tsu_read(mdp, reg); tmp 2694 drivers/net/ethernet/renesas/sh_eth.c sh_eth_tsu_write(mdp, tmp | sh_eth_tsu_get_post_bit(mdp, entry), reg); tmp 2702 drivers/net/ethernet/renesas/sh_eth.c u32 post_mask, ref_mask, tmp; tmp 2707 drivers/net/ethernet/renesas/sh_eth.c tmp = sh_eth_tsu_read(mdp, reg); tmp 2708 drivers/net/ethernet/renesas/sh_eth.c sh_eth_tsu_write(mdp, tmp & ~post_mask, reg); tmp 2711 drivers/net/ethernet/renesas/sh_eth.c return tmp & ref_mask; tmp 1951 drivers/net/ethernet/rocker/rocker_ofdpa.c struct hlist_node *tmp; tmp 1963 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, found, entry) { tmp 1987 drivers/net/ethernet/rocker/rocker_ofdpa.c struct hlist_node *tmp; tmp 1997 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, entry, entry) { tmp 2385 drivers/net/ethernet/rocker/rocker_ofdpa.c struct hlist_node *tmp; tmp 2392 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_for_each_safe(ofdpa->flow_tbl, bkt, tmp, flow_entry, entry) tmp 2397 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_for_each_safe(ofdpa->group_tbl, bkt, tmp, group_entry, entry) tmp 2402 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, fdb_entry, entry) tmp 2408 drivers/net/ethernet/rocker/rocker_ofdpa.c tmp, internal_vlan_entry, entry) tmp 2413 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_for_each_safe(ofdpa->neigh_tbl, bkt, tmp, neigh_entry, entry) tmp 2779 drivers/net/ethernet/rocker/rocker_ofdpa.c struct hlist_node *tmp; tmp 2787 drivers/net/ethernet/rocker/rocker_ofdpa.c hash_for_each_safe(ofdpa->flow_tbl, bkt, tmp, flow_entry, entry) { tmp 141 drivers/net/ethernet/rocker/rocker_tlv.h u8 tmp = value; /* work around GCC PR81715 */ tmp 143 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(u8), &tmp); tmp 149 drivers/net/ethernet/rocker/rocker_tlv.h u16 tmp = value; tmp 151 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(u16), &tmp); tmp 157 drivers/net/ethernet/rocker/rocker_tlv.h __be16 tmp = value; tmp 159 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(__be16), &tmp); tmp 165 drivers/net/ethernet/rocker/rocker_tlv.h u32 tmp = value; tmp 167 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(u32), &tmp); tmp 173 drivers/net/ethernet/rocker/rocker_tlv.h __be32 tmp = value; tmp 175 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(__be32), &tmp); tmp 181 drivers/net/ethernet/rocker/rocker_tlv.h u64 tmp = value; tmp 183 drivers/net/ethernet/rocker/rocker_tlv.h return rocker_tlv_put(desc_info, attrtype, sizeof(u64), &tmp); tmp 1831 drivers/net/ethernet/sfc/falcon/farch.c u16 tmp; tmp 1834 drivers/net/ethernet/sfc/falcon/farch.c tmp = 0x1fff ^ key >> 16; tmp 1835 drivers/net/ethernet/sfc/falcon/farch.c tmp = tmp ^ tmp >> 3 ^ tmp >> 6; tmp 1836 drivers/net/ethernet/sfc/falcon/farch.c tmp = tmp ^ tmp >> 9; tmp 1838 drivers/net/ethernet/sfc/falcon/farch.c tmp = tmp ^ tmp << 13 ^ key; tmp 1839 drivers/net/ethernet/sfc/falcon/farch.c tmp = tmp ^ tmp >> 3 ^ tmp >> 6; tmp 1840 drivers/net/ethernet/sfc/falcon/farch.c return tmp ^ tmp >> 9; tmp 1891 drivers/net/ethernet/sfc/farch.c u16 tmp; tmp 1894 drivers/net/ethernet/sfc/farch.c tmp = 0x1fff ^ key >> 16; tmp 1895 drivers/net/ethernet/sfc/farch.c tmp = tmp ^ tmp >> 3 ^ tmp >> 6; tmp 1896 drivers/net/ethernet/sfc/farch.c tmp = tmp ^ tmp >> 9; tmp 1898 drivers/net/ethernet/sfc/farch.c tmp = tmp ^ tmp << 13 ^ key; tmp 1899 drivers/net/ethernet/sfc/farch.c tmp = tmp ^ tmp >> 3 ^ tmp >> 6; tmp 1900 drivers/net/ethernet/sfc/farch.c return tmp ^ tmp >> 9; tmp 382 drivers/net/ethernet/smsc/smc91c92_cs.c u_char tmp; tmp 393 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = readb(smc->base + link->config_base + CISREG_COR); tmp 395 drivers/net/ethernet/smsc/smc91c92_cs.c writeb(tmp, smc->base + link->config_base + CISREG_COR); tmp 1455 drivers/net/ethernet/smsc/smc91c92_cs.c u_char tmp; tmp 1456 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = readb(smc->base+MEGAHERTZ_ISR); tmp 1457 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = readb(smc->base+MEGAHERTZ_ISR); tmp 1460 drivers/net/ethernet/smsc/smc91c92_cs.c writeb(tmp, smc->base + MEGAHERTZ_ISR); tmp 1461 drivers/net/ethernet/smsc/smc91c92_cs.c writeb(tmp, smc->base + MEGAHERTZ_ISR); tmp 1849 drivers/net/ethernet/smsc/smc91c92_cs.c u16 tmp; tmp 1857 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + CONFIG); tmp 1858 drivers/net/ethernet/smsc/smc91c92_cs.c ecmd->base.port = (tmp & CFG_AUI_SELECT) ? PORT_AUI : PORT_TP; tmp 1863 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + TCR); tmp 1864 drivers/net/ethernet/smsc/smc91c92_cs.c ecmd->base.duplex = (tmp & TCR_FDUPLX) ? DUPLEX_FULL : DUPLEX_HALF; tmp 1873 drivers/net/ethernet/smsc/smc91c92_cs.c u16 tmp; tmp 1890 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + TCR); tmp 1892 drivers/net/ethernet/smsc/smc91c92_cs.c tmp |= TCR_FDUPLX; tmp 1894 drivers/net/ethernet/smsc/smc91c92_cs.c tmp &= ~TCR_FDUPLX; tmp 1895 drivers/net/ethernet/smsc/smc91c92_cs.c outw(tmp, ioaddr + TCR); tmp 344 drivers/net/ethernet/stmicro/stmmac/mmc_core.c u64 tmp = 0; tmp 346 drivers/net/ethernet/stmicro/stmmac/mmc_core.c tmp += readl(addr + reg); tmp 347 drivers/net/ethernet/stmicro/stmmac/mmc_core.c tmp += ((u64 )readl(addr + reg + 0x4)) << 32; tmp 348 drivers/net/ethernet/stmicro/stmmac/mmc_core.c if (tmp > GENMASK(31, 0)) tmp 351 drivers/net/ethernet/stmicro/stmmac/mmc_core.c *dest = *dest + tmp; tmp 49 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c u32 tmp; tmp 55 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, tmp 56 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c !(tmp & MII_XGMAC_BUSY), 100, 10000)) tmp 60 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c tmp = readl(priv->ioaddr + XGMAC_MDIO_C22P); tmp 61 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c tmp &= ~MII_XGMAC_C22P_MASK; tmp 62 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c tmp |= BIT(phyaddr); tmp 63 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(tmp, priv->ioaddr + XGMAC_MDIO_C22P); tmp 75 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c u32 tmp, addr, value = MII_XGMAC_BUSY; tmp 91 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, tmp 92 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c !(tmp & MII_XGMAC_BUSY), 100, 10000)) tmp 100 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, tmp 101 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c !(tmp & MII_XGMAC_BUSY), 100, 10000)) tmp 115 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c u32 addr, tmp, value = MII_XGMAC_BUSY; tmp 132 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, tmp 133 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c !(tmp & MII_XGMAC_BUSY), 100, 10000)) tmp 141 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c return readl_poll_timeout(priv->ioaddr + mii_data, tmp, tmp 142 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c !(tmp & MII_XGMAC_BUSY), 100, 10000); tmp 514 drivers/net/ethernet/sun/cassini.c struct list_head list, *elem, *tmp; tmp 521 drivers/net/ethernet/sun/cassini.c list_for_each_safe(elem, tmp, &list) { tmp 539 drivers/net/ethernet/sun/cassini.c list_for_each_safe(elem, tmp, &list) { tmp 547 drivers/net/ethernet/sun/cassini.c struct list_head list, *elem, *tmp; tmp 560 drivers/net/ethernet/sun/cassini.c list_for_each_safe(elem, tmp, &list) { tmp 4408 drivers/net/ethernet/sun/cassini.c unsigned long tmp; tmp 4430 drivers/net/ethernet/sun/cassini.c tmp = (readl(cp->regs + REG_MAC_COLL_EXCESS) & 0xffff) + tmp 4432 drivers/net/ethernet/sun/cassini.c stats[N_TX_RINGS].tx_aborted_errors += tmp; tmp 4434 drivers/net/ethernet/sun/cassini.c tmp + (readl(cp->regs + REG_MAC_COLL_NORMAL) & 0xffff); tmp 3587 drivers/net/ethernet/sun/niu.c u16 pkt_cnt, tmp; tmp 3598 drivers/net/ethernet/sun/niu.c tmp = pkt_cnt = (cs & TX_CS_PKT_CNT) >> TX_CS_PKT_CNT_SHIFT; tmp 3602 drivers/net/ethernet/sun/niu.c rp->last_pkt_cnt = tmp; tmp 7079 drivers/net/ethernet/sun/niu.c u32 tmp; tmp 7082 drivers/net/ethernet/sun/niu.c tmp = (tp->key[3] & TCAM_V4KEY3_SADDR) >> TCAM_V4KEY3_SADDR_SHIFT; tmp 7083 drivers/net/ethernet/sun/niu.c fsp->h_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); tmp 7085 drivers/net/ethernet/sun/niu.c tmp = (tp->key[3] & TCAM_V4KEY3_DADDR) >> TCAM_V4KEY3_DADDR_SHIFT; tmp 7086 drivers/net/ethernet/sun/niu.c fsp->h_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); tmp 7088 drivers/net/ethernet/sun/niu.c tmp = (tp->key_mask[3] & TCAM_V4KEY3_SADDR) >> TCAM_V4KEY3_SADDR_SHIFT; tmp 7089 drivers/net/ethernet/sun/niu.c fsp->m_u.tcp_ip4_spec.ip4src = cpu_to_be32(tmp); tmp 7091 drivers/net/ethernet/sun/niu.c tmp = (tp->key_mask[3] & TCAM_V4KEY3_DADDR) >> TCAM_V4KEY3_DADDR_SHIFT; tmp 7092 drivers/net/ethernet/sun/niu.c fsp->m_u.tcp_ip4_spec.ip4dst = cpu_to_be32(tmp); tmp 7121 drivers/net/ethernet/sun/niu.c tmp = (tp->key[2] & TCAM_V4KEY2_PORT_SPI) >> tmp 7123 drivers/net/ethernet/sun/niu.c fsp->h_u.ah_ip4_spec.spi = cpu_to_be32(tmp); tmp 7125 drivers/net/ethernet/sun/niu.c tmp = (tp->key_mask[2] & TCAM_V4KEY2_PORT_SPI) >> tmp 7127 drivers/net/ethernet/sun/niu.c fsp->m_u.ah_ip4_spec.spi = cpu_to_be32(tmp); tmp 7130 drivers/net/ethernet/sun/niu.c tmp = (tp->key[2] & TCAM_V4KEY2_PORT_SPI) >> tmp 7132 drivers/net/ethernet/sun/niu.c fsp->h_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); tmp 7134 drivers/net/ethernet/sun/niu.c tmp = (tp->key_mask[2] & TCAM_V4KEY2_PORT_SPI) >> tmp 7136 drivers/net/ethernet/sun/niu.c fsp->m_u.usr_ip4_spec.l4_4_bytes = cpu_to_be32(tmp); tmp 8474 drivers/net/ethernet/sun/niu.c u64 tmp = nr64(ESPC_NCR(5 + (i / 4))); tmp 8476 drivers/net/ethernet/sun/niu.c np->vpd.model[i + 3] = (tmp >> 0) & 0xff; tmp 8477 drivers/net/ethernet/sun/niu.c np->vpd.model[i + 2] = (tmp >> 8) & 0xff; tmp 8478 drivers/net/ethernet/sun/niu.c np->vpd.model[i + 1] = (tmp >> 16) & 0xff; tmp 8479 drivers/net/ethernet/sun/niu.c np->vpd.model[i + 0] = (tmp >> 24) & 0xff; tmp 8490 drivers/net/ethernet/sun/niu.c u64 tmp = nr64(ESPC_NCR(14 + (i / 4))); tmp 8492 drivers/net/ethernet/sun/niu.c np->vpd.board_model[i + 3] = (tmp >> 0) & 0xff; tmp 8493 drivers/net/ethernet/sun/niu.c np->vpd.board_model[i + 2] = (tmp >> 8) & 0xff; tmp 8494 drivers/net/ethernet/sun/niu.c np->vpd.board_model[i + 1] = (tmp >> 16) & 0xff; tmp 8495 drivers/net/ethernet/sun/niu.c np->vpd.board_model[i + 0] = (tmp >> 24) & 0xff; tmp 9503 drivers/net/ethernet/sun/niu.c struct niu_parent *p, *tmp; tmp 9508 drivers/net/ethernet/sun/niu.c list_for_each_entry(tmp, &niu_parent_list, list) { tmp 9509 drivers/net/ethernet/sun/niu.c if (!memcmp(id, &tmp->id, sizeof(*id))) { tmp 9510 drivers/net/ethernet/sun/niu.c p = tmp; tmp 423 drivers/net/ethernet/sun/sunbmac.c int tmp; tmp 425 drivers/net/ethernet/sun/sunbmac.c tmp = read_tcvr_bit2(bp, tregs); tmp 426 drivers/net/ethernet/sun/sunbmac.c retval |= ((tmp & 1) << shift); tmp 440 drivers/net/ethernet/sun/sunbmac.c int tmp; tmp 442 drivers/net/ethernet/sun/sunbmac.c tmp = read_tcvr_bit(bp, tregs); tmp 443 drivers/net/ethernet/sun/sunbmac.c retval |= ((tmp & 1) << shift); tmp 998 drivers/net/ethernet/sun/sunbmac.c u32 tmp, crc; tmp 1003 drivers/net/ethernet/sun/sunbmac.c tmp = sbus_readl(bregs + BMAC_RXCFG); tmp 1004 drivers/net/ethernet/sun/sunbmac.c tmp &= ~(BIGMAC_RXCFG_ENABLE); tmp 1005 drivers/net/ethernet/sun/sunbmac.c sbus_writel(tmp, bregs + BMAC_RXCFG); tmp 1015 drivers/net/ethernet/sun/sunbmac.c tmp = sbus_readl(bregs + BMAC_RXCFG); tmp 1016 drivers/net/ethernet/sun/sunbmac.c tmp |= BIGMAC_RXCFG_PMISC; tmp 1017 drivers/net/ethernet/sun/sunbmac.c sbus_writel(tmp, bregs + BMAC_RXCFG); tmp 1033 drivers/net/ethernet/sun/sunbmac.c tmp = sbus_readl(bregs + BMAC_RXCFG); tmp 1034 drivers/net/ethernet/sun/sunbmac.c tmp |= BIGMAC_RXCFG_ENABLE; tmp 1035 drivers/net/ethernet/sun/sunbmac.c sbus_writel(tmp, bregs + BMAC_RXCFG); tmp 367 drivers/net/ethernet/sun/sunhme.c u32 tmp; tmp 387 drivers/net/ethernet/sun/sunhme.c tmp = hp->paddr & 0xff; tmp 389 drivers/net/ethernet/sun/sunhme.c BB_PUT_BIT(hp, tregs, ((tmp >> i) & 1)); tmp 392 drivers/net/ethernet/sun/sunhme.c tmp = (reg & 0xff); tmp 394 drivers/net/ethernet/sun/sunhme.c BB_PUT_BIT(hp, tregs, ((tmp >> i) & 1)); tmp 414 drivers/net/ethernet/sun/sunhme.c u32 tmp; tmp 433 drivers/net/ethernet/sun/sunhme.c tmp = (hp->paddr & 0xff); tmp 435 drivers/net/ethernet/sun/sunhme.c BB_PUT_BIT(hp, tregs, ((tmp >> i) & 1)); tmp 438 drivers/net/ethernet/sun/sunhme.c tmp = (reg & 0xff); tmp 440 drivers/net/ethernet/sun/sunhme.c BB_PUT_BIT(hp, tregs, ((tmp >> i) & 1)); tmp 69 drivers/net/ethernet/sun/sunqe.c u32 tmp = sbus_readl(gregs + GLOB_CTRL); tmp 70 drivers/net/ethernet/sun/sunqe.c if (tmp & GLOB_CTRL_RESET) { tmp 95 drivers/net/ethernet/sun/sunqe.c u8 tmp = sbus_readb(mregs + MREGS_BCONFIG); tmp 96 drivers/net/ethernet/sun/sunqe.c if (tmp & MREGS_BCONFIG_RESET) { tmp 110 drivers/net/ethernet/sun/sunqe.c u32 tmp = sbus_readl(cregs + CREG_CTRL); tmp 111 drivers/net/ethernet/sun/sunqe.c if (tmp & CREG_CTRL_RESET) { tmp 149 drivers/net/ethernet/sun/sunqe.c u32 tmp; tmp 168 drivers/net/ethernet/sun/sunqe.c tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); tmp 169 drivers/net/ethernet/sun/sunqe.c sbus_writel(tmp, cregs + CREG_RXRBUFPTR); tmp 170 drivers/net/ethernet/sun/sunqe.c sbus_writel(tmp, cregs + CREG_RXWBUFPTR); tmp 172 drivers/net/ethernet/sun/sunqe.c tmp = sbus_readl(cregs + CREG_RXRBUFPTR) + tmp 174 drivers/net/ethernet/sun/sunqe.c sbus_writel(tmp, cregs + CREG_TXRBUFPTR); tmp 175 drivers/net/ethernet/sun/sunqe.c sbus_writel(tmp, cregs + CREG_TXWBUFPTR); tmp 232 drivers/net/ethernet/sun/sunqe.c u8 tmp; tmp 236 drivers/net/ethernet/sun/sunqe.c tmp = sbus_readb(mregs + MREGS_PHYCONFIG); tmp 237 drivers/net/ethernet/sun/sunqe.c if ((tmp & MREGS_PHYCONFIG_LSTAT) != 0) tmp 661 drivers/net/ethernet/sun/sunqe.c u8 tmp = *hbytes++; tmp 662 drivers/net/ethernet/sun/sunqe.c sbus_writeb(tmp, qep->mregs + MREGS_FILTER); tmp 311 drivers/net/ethernet/ti/cpmac.c u8 tmp; tmp 331 drivers/net/ethernet/ti/cpmac.c tmp = ha->addr[0]; tmp 332 drivers/net/ethernet/ti/cpmac.c bit ^= (tmp >> 2) ^ (tmp << 4); tmp 333 drivers/net/ethernet/ti/cpmac.c tmp = ha->addr[1]; tmp 334 drivers/net/ethernet/ti/cpmac.c bit ^= (tmp >> 4) ^ (tmp << 2); tmp 335 drivers/net/ethernet/ti/cpmac.c tmp = ha->addr[2]; tmp 336 drivers/net/ethernet/ti/cpmac.c bit ^= (tmp >> 6) ^ tmp; tmp 337 drivers/net/ethernet/ti/cpmac.c tmp = ha->addr[3]; tmp 338 drivers/net/ethernet/ti/cpmac.c bit ^= (tmp >> 2) ^ (tmp << 4); tmp 339 drivers/net/ethernet/ti/cpmac.c tmp = ha->addr[4]; tmp 340 drivers/net/ethernet/ti/cpmac.c bit ^= (tmp >> 4) ^ (tmp << 2); tmp 341 drivers/net/ethernet/ti/cpmac.c tmp = ha->addr[5]; tmp 342 drivers/net/ethernet/ti/cpmac.c bit ^= (tmp >> 6) ^ tmp; tmp 706 drivers/net/ethernet/ti/cpsw_ale.c u32 tmp, mask; tmp 725 drivers/net/ethernet/ti/cpsw_ale.c tmp = readl_relaxed(ale->params.ale_regs + offset); tmp 726 drivers/net/ethernet/ti/cpsw_ale.c tmp = (tmp & ~(mask << shift)) | (value << shift); tmp 727 drivers/net/ethernet/ti/cpsw_ale.c writel_relaxed(tmp, ale->params.ale_regs + offset); tmp 736 drivers/net/ethernet/ti/cpsw_ale.c u32 tmp; tmp 751 drivers/net/ethernet/ti/cpsw_ale.c tmp = readl_relaxed(ale->params.ale_regs + offset) >> shift; tmp 752 drivers/net/ethernet/ti/cpsw_ale.c return tmp & BITMASK(info->bits); tmp 81 drivers/net/ethernet/ti/cpts.c struct sk_buff *skb, *tmp; tmp 84 drivers/net/ethernet/ti/cpts.c skb_queue_walk_safe(&cpts->txq, skb, tmp) { tmp 99 drivers/net/ethernet/ti/cpts.c struct sk_buff *skb, *tmp; tmp 108 drivers/net/ethernet/ti/cpts.c skb_queue_walk_safe(&cpts->txq, skb, tmp) { tmp 239 drivers/net/ethernet/ti/netcp_core.c struct netcp_module *tmp; tmp 291 drivers/net/ethernet/ti/netcp_core.c for_each_netcp_module(tmp) { tmp 292 drivers/net/ethernet/ti/netcp_core.c if (tmp->primary) tmp 352 drivers/net/ethernet/ti/netcp_core.c struct netcp_module *tmp; tmp 367 drivers/net/ethernet/ti/netcp_core.c for_each_netcp_module(tmp) { tmp 368 drivers/net/ethernet/ti/netcp_core.c if (!strcasecmp(tmp->name, module->name)) { tmp 585 drivers/net/ethernet/ti/netcp_core.c u32 tmp; tmp 595 drivers/net/ethernet/ti/netcp_core.c get_pkt_info(&dma_buf, &tmp, &dma_desc, ndesc); tmp 651 drivers/net/ethernet/ti/netcp_core.c u32 tmp; tmp 739 drivers/net/ethernet/ti/netcp_core.c get_desc_info(&tmp, &p_info.eflags, desc); tmp 1180 drivers/net/ethernet/ti/netcp_core.c u32 tmp = 0; tmp 1225 drivers/net/ethernet/ti/netcp_core.c tmp |= (p_info.psdata_len & KNAV_DMA_DESC_PSLEN_MASK) << tmp 1229 drivers/net/ethernet/ti/netcp_core.c tmp |= KNAV_DMA_DESC_HAS_EPIB | tmp 1234 drivers/net/ethernet/ti/netcp_core.c tmp |= ((tx_pipe->switch_to_port & KNAV_DMA_DESC_PSFLAG_MASK) << tmp 1238 drivers/net/ethernet/ti/netcp_core.c set_words(&tmp, 1, &desc->packet_info); tmp 1245 drivers/net/ethernet/ti/netcp_core.c tmp = tx_pipe->switch_to_port; tmp 1246 drivers/net/ethernet/ti/netcp_core.c set_words(&tmp, 1, &desc->tag_info); tmp 1453 drivers/net/ethernet/ti/netcp_core.c struct netcp_addr *naddr, *tmp; tmp 1458 drivers/net/ethernet/ti/netcp_core.c list_for_each_entry_safe(naddr, tmp, &netcp->addr_list, node) { tmp 1477 drivers/net/ethernet/ti/netcp_core.c struct netcp_addr *naddr, *tmp; tmp 1482 drivers/net/ethernet/ti/netcp_core.c list_for_each_entry_safe(naddr, tmp, &netcp->addr_list, node) { tmp 2122 drivers/net/ethernet/ti/netcp_core.c struct netcp_intf_modpriv *intf_modpriv, *tmp; tmp 2130 drivers/net/ethernet/ti/netcp_core.c list_for_each_entry_safe(intf_modpriv, tmp, &netcp->module_head, tmp 2239 drivers/net/ethernet/ti/netcp_core.c struct netcp_inst_modpriv *inst_modpriv, *tmp; tmp 2242 drivers/net/ethernet/ti/netcp_core.c list_for_each_entry_safe(inst_modpriv, tmp, &netcp_device->modpriv_head, tmp 237 drivers/net/ethernet/ti/netcp_xgbepcsr.c u32 tmp; tmp 240 drivers/net/ethernet/ti/netcp_xgbepcsr.c tmp = (readl(serdes_regs + 0x0ec) >> 24) & 0x0ff; tmp 241 drivers/net/ethernet/ti/netcp_xgbepcsr.c tmp |= ((readl(serdes_regs + 0x0fc) >> 16) & 0x00f00); tmp 243 drivers/net/ethernet/ti/netcp_xgbepcsr.c tmp = (readl(serdes_regs + 0x0f8) >> 16) & 0x0fff; tmp 246 drivers/net/ethernet/ti/netcp_xgbepcsr.c return tmp; tmp 285 drivers/net/ethernet/ti/netcp_xgbepcsr.c u32 tmp, dlpf, tbus; tmp 288 drivers/net/ethernet/ti/netcp_xgbepcsr.c tmp = netcp_xgbe_serdes_read_select_tbus( tmp 291 drivers/net/ethernet/ti/netcp_xgbepcsr.c dlpf = tmp >> 2; tmp 302 drivers/net/ethernet/ti/netcp_xgbepcsr.c tmp >> 2, tmp & 3, (tbus >> 2) & 3); tmp 877 drivers/net/ethernet/ti/tlan.c char tmp = dev->dev_addr[i]; tmp 879 drivers/net/ethernet/ti/tlan.c dev->dev_addr[i + 1] = tmp; tmp 1287 drivers/net/ethernet/ti/tlan.c u8 tmp; tmp 1290 drivers/net/ethernet/ti/tlan.c tmp = tlan_dio_read8(dev->base_addr, TLAN_NET_CMD); tmp 1292 drivers/net/ethernet/ti/tlan.c TLAN_NET_CMD, tmp | TLAN_NET_CMD_CAF); tmp 1294 drivers/net/ethernet/ti/tlan.c tmp = tlan_dio_read8(dev->base_addr, TLAN_NET_CMD); tmp 1296 drivers/net/ethernet/ti/tlan.c TLAN_NET_CMD, tmp & ~TLAN_NET_CMD_CAF); tmp 2851 drivers/net/ethernet/ti/tlan.c u16 sio, tmp; tmp 2890 drivers/net/ethernet/ti/tlan.c tmp = 0xffff; tmp 2893 drivers/net/ethernet/ti/tlan.c for (tmp = 0, i = 0x8000; i; i >>= 1) { tmp 2896 drivers/net/ethernet/ti/tlan.c tmp |= i; tmp 2908 drivers/net/ethernet/ti/tlan.c *val = tmp; tmp 275 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c u64 ch_info_raw, tmp; tmp 282 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c &tmp); tmp 570 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c char *tmp; tmp 600 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c tmp = ev + iwe_stream_lcp_len(info); tmp 613 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c tmp = iwe_stream_add_value(info, ev, tmp, stop, &iwe, tmp 618 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c tmp = iwe_stream_add_value(info, ev, tmp, stop, &iwe, tmp 622 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (iwe_stream_lcp_len(info) < (tmp - ev)) tmp 623 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = tmp; tmp 1499 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c struct gelic_wl_scan_info *target, *tmp; tmp 1542 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c list_for_each_entry_safe(target, tmp, &wl->network_list, list) { tmp 2122 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c u64 event, tmp; tmp 2131 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c &event, &tmp); tmp 2458 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c struct gelic_wl_scan_info *tmp; tmp 2461 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c list_for_each_entry_safe(target, tmp, &wl->network_list, list) { tmp 1535 drivers/net/ethernet/via/via-velocity.h u32 tmp; tmp 1543 drivers/net/ethernet/via/via-velocity.h tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; tmp 1544 drivers/net/ethernet/via/via-velocity.h vptr->mib_counter[i] += tmp; tmp 647 drivers/net/ethernet/xircom/xirc2ps_cs.c resource_size_t tmp = p_dev->resource[1]->start; tmp 649 drivers/net/ethernet/xircom/xirc2ps_cs.c tmp += (*pass ? (p_dev->config_index & 0x20 ? -24 : 8) tmp 664 drivers/net/ethernet/xircom/xirc2ps_cs.c p_dev->resource[0]->start = tmp; tmp 858 drivers/net/ethernet/xircom/xirc2ps_cs.c u_char tmp; tmp 861 drivers/net/ethernet/xircom/xirc2ps_cs.c tmp = readb(local->dingo_ccr + i*2); tmp 862 drivers/net/ethernet/xircom/xirc2ps_cs.c pr_cont(" %02x", tmp); tmp 867 drivers/net/ethernet/xircom/xirc2ps_cs.c tmp = readb(local->dingo_ccr + 0x20 + i*2); tmp 868 drivers/net/ethernet/xircom/xirc2ps_cs.c pr_cont(" %02x", tmp); tmp 873 drivers/net/ethernet/xircom/xirc2ps_cs.c tmp = readb(local->dingo_ccr + 0x40 + i*2); tmp 874 drivers/net/ethernet/xircom/xirc2ps_cs.c pr_cont(" %02x", tmp); tmp 693 drivers/net/hamradio/6pack.c unsigned int tmp, err; tmp 710 drivers/net/hamradio/6pack.c if (get_user(tmp, (int __user *) arg)) { tmp 715 drivers/net/hamradio/6pack.c sp->mode = tmp; tmp 423 drivers/net/hamradio/baycom_epp.c unsigned char tmp[128]; tmp 458 drivers/net/hamradio/baycom_epp.c memset(tmp, 0x7e, sizeof(tmp)); tmp 460 drivers/net/hamradio/baycom_epp.c j = (i > sizeof(tmp)) ? sizeof(tmp) : i; tmp 461 drivers/net/hamradio/baycom_epp.c if (j != pp->ops->epp_write_data(pp, tmp, j, 0)) tmp 494 drivers/net/hamradio/baycom_epp.c memset(tmp, 0x7e, sizeof(tmp)); tmp 496 drivers/net/hamradio/baycom_epp.c j = (i > sizeof(tmp)) ? sizeof(tmp) : i; tmp 497 drivers/net/hamradio/baycom_epp.c if (j != pp->ops->epp_write_data(pp, tmp, j, 0)) tmp 511 drivers/net/hamradio/baycom_epp.c memset(tmp, 0, sizeof(tmp)); tmp 513 drivers/net/hamradio/baycom_epp.c j = (i > sizeof(tmp)) ? sizeof(tmp) : i; tmp 514 drivers/net/hamradio/baycom_epp.c if (j != pp->ops->epp_write_data(pp, tmp, j, 0)) tmp 556 drivers/net/hamradio/baycom_epp.c unsigned char tmp[128]; tmp 566 drivers/net/hamradio/baycom_epp.c cnt2 = (cnt > sizeof(tmp)) ? sizeof(tmp) : cnt; tmp 568 drivers/net/hamradio/baycom_epp.c if (cnt2 != pp->ops->epp_read_data(pp, tmp, cnt2, 0)) { tmp 572 drivers/net/hamradio/baycom_epp.c cp = tmp; tmp 643 drivers/net/hamradio/baycom_epp.c unsigned char tmp[2]; tmp 661 drivers/net/hamradio/baycom_epp.c tmp[0] = EPP_TX_FIFO_ENABLE|EPP_RX_FIFO_ENABLE|EPP_MODEM_ENABLE|1; tmp 662 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_write_addr(pp, tmp, 1, 0) != 1) tmp 664 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_addr(pp, tmp, 2, 0) != 2) tmp 666 drivers/net/hamradio/baycom_epp.c cnt = tmp[0] | (tmp[1] << 8); tmp 669 drivers/net/hamradio/baycom_epp.c tmp[0] = EPP_TX_FIFO_ENABLE|EPP_RX_FIFO_ENABLE|EPP_MODEM_ENABLE|2; tmp 670 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_write_addr(pp, tmp, 1, 0) != 1) tmp 672 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_addr(pp, tmp, 2, 0) != 2) tmp 674 drivers/net/hamradio/baycom_epp.c cnt2 = tmp[0] | (tmp[1] << 8); tmp 677 drivers/net/hamradio/baycom_epp.c tmp[0] = EPP_TX_FIFO_ENABLE|EPP_RX_FIFO_ENABLE|EPP_MODEM_ENABLE; tmp 678 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_write_addr(pp, tmp, 1, 0) != 1) tmp 826 drivers/net/hamradio/baycom_epp.c unsigned char tmp[128]; tmp 884 drivers/net/hamradio/baycom_epp.c tmp[0] = 0; tmp 885 drivers/net/hamradio/baycom_epp.c tmp[1] = EPP_TX_FIFO_ENABLE|EPP_RX_FIFO_ENABLE|EPP_MODEM_ENABLE; tmp 886 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_write_addr(pp, tmp, 2, 0) != 2) tmp 898 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_data(pp, tmp, 128, 0) != 128) tmp 900 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_data(pp, tmp, 128, 0) != 128) tmp 909 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_read_data(pp, tmp, 1, 0) != 1) tmp 923 drivers/net/hamradio/baycom_epp.c tmp[0] = EPP_TX_FIFO_ENABLE|EPP_RX_FIFO_ENABLE|EPP_MODEM_ENABLE/*|j*/; tmp 924 drivers/net/hamradio/baycom_epp.c if (pp->ops->epp_write_addr(pp, tmp, 1, 0) != 1) tmp 954 drivers/net/hamradio/baycom_epp.c unsigned char tmp[1]; tmp 959 drivers/net/hamradio/baycom_epp.c tmp[0] = 0; tmp 960 drivers/net/hamradio/baycom_epp.c pp->ops->epp_write_addr(pp, tmp, 1, 0); tmp 811 drivers/net/hamradio/mkiss.c unsigned int tmp, err; tmp 829 drivers/net/hamradio/mkiss.c if (get_user(tmp, (int __user *) arg)) { tmp 834 drivers/net/hamradio/mkiss.c ax->mode = tmp; tmp 725 drivers/net/hippi/rrunner.c u32 tmp; tmp 733 drivers/net/hippi/rrunner.c tmp = readl(®s->FwRev); tmp 736 drivers/net/hippi/rrunner.c (tmp >> 16), ((tmp >> 8) & 0xff), (tmp & 0xff)); tmp 1325 drivers/net/hippi/rrunner.c u32 tmp; tmp 1337 drivers/net/hippi/rrunner.c tmp = readl(®s->HostCtrl); tmp 1338 drivers/net/hippi/rrunner.c if (tmp & NIC_HALTED){ tmp 1342 drivers/net/hippi/rrunner.c tmp |= HALT_NIC | RR_CLEAR_INT; tmp 1343 drivers/net/hippi/rrunner.c writel(tmp, ®s->HostCtrl); tmp 1465 drivers/net/hippi/rrunner.c u32 localctrl, sptr, len, tmp; tmp 1547 drivers/net/hippi/rrunner.c tmp = rr_read_eeprom_word(rrpriv, segptr); tmp 1550 drivers/net/hippi/rrunner.c writel(tmp, ®s->WinData); tmp 602 drivers/net/ieee802154/adf7242.c u8 pwr, bias_ctrl, dbias, tmp; tmp 622 drivers/net/ieee802154/adf7242.c adf7242_read_reg(lp, REG_PA_CFG, &tmp); tmp 623 drivers/net/ieee802154/adf7242.c tmp &= ~PA_BRIDGE_DBIAS(~0); tmp 624 drivers/net/ieee802154/adf7242.c tmp |= PA_BRIDGE_DBIAS(dbias); tmp 625 drivers/net/ieee802154/adf7242.c adf7242_write_reg(lp, REG_PA_CFG, tmp); tmp 627 drivers/net/ieee802154/adf7242.c adf7242_read_reg(lp, REG_PA_BIAS, &tmp); tmp 628 drivers/net/ieee802154/adf7242.c tmp &= ~PA_BIAS_CTRL(~0); tmp 629 drivers/net/ieee802154/adf7242.c tmp |= PA_BIAS_CTRL(bias_ctrl); tmp 630 drivers/net/ieee802154/adf7242.c adf7242_write_reg(lp, REG_PA_BIAS, tmp); tmp 632 drivers/net/ieee802154/adf7242.c adf7242_read_reg(lp, REG_EXTPA_MSC, &tmp); tmp 633 drivers/net/ieee802154/adf7242.c tmp &= ~PA_PWR(~0); tmp 634 drivers/net/ieee802154/adf7242.c tmp |= PA_PWR(pwr); tmp 636 drivers/net/ieee802154/adf7242.c return adf7242_write_reg(lp, REG_EXTPA_MSC, tmp); tmp 154 drivers/net/ieee802154/atusb.c u8 orig, tmp; tmp 164 drivers/net/ieee802154/atusb.c tmp = orig & ~mask; tmp 165 drivers/net/ieee802154/atusb.c tmp |= (value << shift) & mask; tmp 167 drivers/net/ieee802154/atusb.c if (tmp != orig) tmp 168 drivers/net/ieee802154/atusb.c ret = atusb_write_reg(atusb, reg, tmp); tmp 204 drivers/net/ieee802154/fakelb.c struct fakelb_phy *phy, *tmp; tmp 218 drivers/net/ieee802154/fakelb.c list_for_each_entry_safe(phy, tmp, &fakelb_phys, list) tmp 226 drivers/net/ieee802154/fakelb.c struct fakelb_phy *phy, *tmp; tmp 229 drivers/net/ieee802154/fakelb.c list_for_each_entry_safe(phy, tmp, &fakelb_phys, list) tmp 184 drivers/net/ieee802154/mac802154_hwsim.c struct hwsim_phy *phy, *tmp; tmp 193 drivers/net/ieee802154/mac802154_hwsim.c list_for_each_entry_safe(phy, tmp, &hwsim_phys, list) { tmp 677 drivers/net/ieee802154/mac802154_hwsim.c struct hwsim_phy *tmp; tmp 682 drivers/net/ieee802154/mac802154_hwsim.c list_for_each_entry(tmp, &hwsim_phys, list) { tmp 683 drivers/net/ieee802154/mac802154_hwsim.c list_for_each_entry_rcu(e, &tmp->edges, list) { tmp 844 drivers/net/ieee802154/mac802154_hwsim.c struct hwsim_phy *phy, *tmp; tmp 858 drivers/net/ieee802154/mac802154_hwsim.c list_for_each_entry_safe(phy, tmp, &hwsim_phys, list) tmp 866 drivers/net/ieee802154/mac802154_hwsim.c struct hwsim_phy *phy, *tmp; tmp 869 drivers/net/ieee802154/mac802154_hwsim.c list_for_each_entry_safe(phy, tmp, &hwsim_phys, list) tmp 528 drivers/net/ipvlan/ipvlan_main.c struct ipvl_dev *tmp = netdev_priv(phy_dev); tmp 530 drivers/net/ipvlan/ipvlan_main.c phy_dev = tmp->phy_dev; tmp 623 drivers/net/macsec.c void *tmp; tmp 633 drivers/net/macsec.c tmp = kmalloc(size, GFP_ATOMIC); tmp 634 drivers/net/macsec.c if (!tmp) tmp 637 drivers/net/macsec.c *iv = (unsigned char *)(tmp + iv_offset); tmp 638 drivers/net/macsec.c *sg = (struct scatterlist *)(tmp + sg_offset); tmp 639 drivers/net/macsec.c req = tmp; tmp 2207 drivers/net/macsec.c struct macsec_rx_sc_stats tmp; tmp 2213 drivers/net/macsec.c memcpy(&tmp, &stats->stats, sizeof(tmp)); tmp 2216 drivers/net/macsec.c sum.InOctetsValidated += tmp.InOctetsValidated; tmp 2217 drivers/net/macsec.c sum.InOctetsDecrypted += tmp.InOctetsDecrypted; tmp 2218 drivers/net/macsec.c sum.InPktsUnchecked += tmp.InPktsUnchecked; tmp 2219 drivers/net/macsec.c sum.InPktsDelayed += tmp.InPktsDelayed; tmp 2220 drivers/net/macsec.c sum.InPktsOK += tmp.InPktsOK; tmp 2221 drivers/net/macsec.c sum.InPktsInvalid += tmp.InPktsInvalid; tmp 2222 drivers/net/macsec.c sum.InPktsLate += tmp.InPktsLate; tmp 2223 drivers/net/macsec.c sum.InPktsNotValid += tmp.InPktsNotValid; tmp 2224 drivers/net/macsec.c sum.InPktsNotUsingSA += tmp.InPktsNotUsingSA; tmp 2225 drivers/net/macsec.c sum.InPktsUnusedSA += tmp.InPktsUnusedSA; tmp 2271 drivers/net/macsec.c struct macsec_tx_sc_stats tmp; tmp 2277 drivers/net/macsec.c memcpy(&tmp, &stats->stats, sizeof(tmp)); tmp 2280 drivers/net/macsec.c sum.OutPktsProtected += tmp.OutPktsProtected; tmp 2281 drivers/net/macsec.c sum.OutPktsEncrypted += tmp.OutPktsEncrypted; tmp 2282 drivers/net/macsec.c sum.OutOctetsProtected += tmp.OutOctetsProtected; tmp 2283 drivers/net/macsec.c sum.OutOctetsEncrypted += tmp.OutOctetsEncrypted; tmp 2311 drivers/net/macsec.c struct macsec_dev_stats tmp; tmp 2317 drivers/net/macsec.c memcpy(&tmp, &stats->stats, sizeof(tmp)); tmp 2320 drivers/net/macsec.c sum.OutPktsUntagged += tmp.OutPktsUntagged; tmp 2321 drivers/net/macsec.c sum.InPktsUntagged += tmp.InPktsUntagged; tmp 2322 drivers/net/macsec.c sum.OutPktsTooLong += tmp.OutPktsTooLong; tmp 2323 drivers/net/macsec.c sum.InPktsNoTag += tmp.InPktsNoTag; tmp 2324 drivers/net/macsec.c sum.InPktsBadTag += tmp.InPktsBadTag; tmp 2325 drivers/net/macsec.c sum.InPktsUnknownSCI += tmp.InPktsUnknownSCI; tmp 2326 drivers/net/macsec.c sum.InPktsNoSCI += tmp.InPktsNoSCI; tmp 2327 drivers/net/macsec.c sum.InPktsOverrun += tmp.InPktsOverrun; tmp 2940 drivers/net/macsec.c struct pcpu_sw_netstats tmp; tmp 2946 drivers/net/macsec.c tmp.rx_packets = stats->rx_packets; tmp 2947 drivers/net/macsec.c tmp.rx_bytes = stats->rx_bytes; tmp 2948 drivers/net/macsec.c tmp.tx_packets = stats->tx_packets; tmp 2949 drivers/net/macsec.c tmp.tx_bytes = stats->tx_bytes; tmp 2952 drivers/net/macsec.c s->rx_packets += tmp.rx_packets; tmp 2953 drivers/net/macsec.c s->rx_bytes += tmp.rx_bytes; tmp 2954 drivers/net/macsec.c s->tx_packets += tmp.tx_packets; tmp 2955 drivers/net/macsec.c s->tx_bytes += tmp.tx_bytes; tmp 262 drivers/net/mii.c u32 bmcr, advert, tmp; tmp 275 drivers/net/mii.c tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); tmp 280 drivers/net/mii.c tmp |= ethtool_adv_to_mii_adv_t(ecmd->advertising); tmp 285 drivers/net/mii.c if (advert != tmp) { tmp 286 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_ADVERTISE, tmp); tmp 287 drivers/net/mii.c mii->advertising = tmp; tmp 299 drivers/net/mii.c u32 bmcr, tmp; tmp 303 drivers/net/mii.c tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | tmp 306 drivers/net/mii.c tmp |= BMCR_SPEED1000; tmp 308 drivers/net/mii.c tmp |= BMCR_SPEED100; tmp 310 drivers/net/mii.c tmp |= BMCR_FULLDPLX; tmp 314 drivers/net/mii.c if (bmcr != tmp) tmp 315 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_BMCR, tmp); tmp 354 drivers/net/mii.c u32 bmcr, advert, tmp; tmp 371 drivers/net/mii.c tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); tmp 378 drivers/net/mii.c tmp |= ethtool_adv_to_mii_adv_t(advertising); tmp 382 drivers/net/mii.c if (advert != tmp) { tmp 383 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_ADVERTISE, tmp); tmp 384 drivers/net/mii.c mii->advertising = tmp; tmp 396 drivers/net/mii.c u32 bmcr, tmp; tmp 400 drivers/net/mii.c tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | tmp 403 drivers/net/mii.c tmp |= BMCR_SPEED1000; tmp 405 drivers/net/mii.c tmp |= BMCR_SPEED100; tmp 407 drivers/net/mii.c tmp |= BMCR_FULLDPLX; tmp 412 drivers/net/mii.c if (bmcr != tmp) tmp 413 drivers/net/mii.c mii->mdio_write(dev, mii->phy_id, MII_BMCR, tmp); tmp 840 drivers/net/netconsole.c const char *tmp; tmp 857 drivers/net/netconsole.c tmp = msg; tmp 860 drivers/net/netconsole.c netpoll_send_udp(&nt->np, tmp, frag); tmp 861 drivers/net/netconsole.c tmp += frag; tmp 884 drivers/net/netconsole.c struct netconsole_target *nt, *tmp; tmp 935 drivers/net/netconsole.c list_for_each_entry_safe(nt, tmp, &target_list, list) { tmp 945 drivers/net/netconsole.c struct netconsole_target *nt, *tmp; tmp 960 drivers/net/netconsole.c list_for_each_entry_safe(nt, tmp, &target_list, list) { tmp 199 drivers/net/netdevsim/bus.c struct nsim_bus_dev *nsim_bus_dev, *tmp; tmp 218 drivers/net/netdevsim/bus.c list_for_each_entry_safe(nsim_bus_dev, tmp, &nsim_bus_dev_list, list) { tmp 331 drivers/net/netdevsim/bus.c struct nsim_bus_dev *nsim_bus_dev, *tmp; tmp 334 drivers/net/netdevsim/bus.c list_for_each_entry_safe(nsim_bus_dev, tmp, &nsim_bus_dev_list, list) { tmp 809 drivers/net/netdevsim/dev.c struct nsim_dev_port *nsim_dev_port, *tmp; tmp 812 drivers/net/netdevsim/dev.c list_for_each_entry_safe(nsim_dev_port, tmp, tmp 67 drivers/net/phy/bcm-phy-lib.c int tmp; tmp 74 drivers/net/phy/bcm-phy-lib.c tmp = phy_read(phydev, MII_BCM54XX_AUX_CTL); tmp 75 drivers/net/phy/bcm-phy-lib.c tmp |= MII_BCM54XX_AUXCTL_ACTL_SMDSP_ENA; tmp 76 drivers/net/phy/bcm-phy-lib.c rc = phy_write(phydev, MII_BCM54XX_AUX_CTL, tmp); tmp 80 drivers/net/phy/bcm-phy-lib.c tmp = (chl * MII_BCM_CHANNEL_WIDTH) | reg; tmp 81 drivers/net/phy/bcm-phy-lib.c rc = bcm_phy_write_exp(phydev, tmp, val); tmp 91 drivers/net/phy/bcm-phy-lib.c int tmp; tmp 98 drivers/net/phy/bcm-phy-lib.c tmp = phy_read(phydev, MII_BCM54XX_AUX_CTL); tmp 99 drivers/net/phy/bcm-phy-lib.c tmp |= MII_BCM54XX_AUXCTL_ACTL_SMDSP_ENA; tmp 100 drivers/net/phy/bcm-phy-lib.c rc = phy_write(phydev, MII_BCM54XX_AUX_CTL, tmp); tmp 104 drivers/net/phy/bcm-phy-lib.c tmp = (chl * MII_BCM_CHANNEL_WIDTH) | reg; tmp 105 drivers/net/phy/bcm-phy-lib.c rc = bcm_phy_read_exp(phydev, tmp); tmp 625 drivers/net/phy/dp83640.c struct dp83640_private *tmp; tmp 642 drivers/net/phy/dp83640.c tmp = list_entry(this, struct dp83640_private, list); tmp 643 drivers/net/phy/dp83640.c enable_broadcast(tmp->phydev, clock->page, 1); tmp 644 drivers/net/phy/dp83640.c tmp->cfg0 = ext_read(tmp->phydev, PAGE5, PSF_CFG0); tmp 645 drivers/net/phy/dp83640.c ext_write(0, tmp->phydev, PAGE5, PSF_CFG0, 0); tmp 646 drivers/net/phy/dp83640.c ext_write(0, tmp->phydev, PAGE4, PTP_CTL, PTP_ENABLE); tmp 661 drivers/net/phy/dp83640.c tmp = list_entry(this, struct dp83640_private, list); tmp 662 drivers/net/phy/dp83640.c ext_write(0, tmp->phydev, PAGE5, PTP_EVNT, evnt); tmp 703 drivers/net/phy/dp83640.c tmp = list_entry(this, struct dp83640_private, list); tmp 704 drivers/net/phy/dp83640.c val = ext_read(tmp->phydev, PAGE4, PTP_STS); tmp 705 drivers/net/phy/dp83640.c phydev_info(tmp->phydev, "slave PTP_STS 0x%04hx\n", val); tmp 706 drivers/net/phy/dp83640.c val = ext_read(tmp->phydev, PAGE4, PTP_ESTS); tmp 707 drivers/net/phy/dp83640.c phydev_info(tmp->phydev, "slave PTP_ESTS 0x%04hx\n", val); tmp 708 drivers/net/phy/dp83640.c event_ts.ns_lo = ext_read(tmp->phydev, PAGE4, PTP_EDATA); tmp 709 drivers/net/phy/dp83640.c event_ts.ns_hi = ext_read(tmp->phydev, PAGE4, PTP_EDATA); tmp 710 drivers/net/phy/dp83640.c event_ts.sec_lo = ext_read(tmp->phydev, PAGE4, PTP_EDATA); tmp 711 drivers/net/phy/dp83640.c event_ts.sec_hi = ext_read(tmp->phydev, PAGE4, PTP_EDATA); tmp 713 drivers/net/phy/dp83640.c phydev_info(tmp->phydev, "slave offset %lld nanoseconds\n", tmp 717 drivers/net/phy/dp83640.c tdr_write(0, tmp->phydev, &ts, PTP_STEP_CLK); tmp 724 drivers/net/phy/dp83640.c tmp = list_entry(this, struct dp83640_private, list); tmp 725 drivers/net/phy/dp83640.c ext_write(0, tmp->phydev, PAGE5, PSF_CFG0, tmp->cfg0); tmp 1094 drivers/net/phy/dp83640.c struct dp83640_clock *clock = NULL, *tmp; tmp 1100 drivers/net/phy/dp83640.c tmp = list_entry(this, struct dp83640_clock, list); tmp 1101 drivers/net/phy/dp83640.c if (tmp->bus == bus) { tmp 1102 drivers/net/phy/dp83640.c clock = tmp; tmp 1194 drivers/net/phy/dp83640.c struct dp83640_private *tmp, *dp83640 = phydev->priv; tmp 1212 drivers/net/phy/dp83640.c tmp = list_entry(this, struct dp83640_private, list); tmp 1213 drivers/net/phy/dp83640.c if (tmp == dp83640) { tmp 1214 drivers/net/phy/dp83640.c list_del_init(&tmp->list); tmp 181 drivers/net/phy/fixed_phy.c struct fixed_phy *fp, *tmp; tmp 183 drivers/net/phy/fixed_phy.c list_for_each_entry_safe(fp, tmp, &fmb->phys, node) { tmp 380 drivers/net/phy/fixed_phy.c struct fixed_phy *fp, *tmp; tmp 386 drivers/net/phy/fixed_phy.c list_for_each_entry_safe(fp, tmp, &fmb->phys, node) { tmp 29 drivers/net/phy/mdio-boardinfo.c struct mdio_board_entry *tmp; tmp 34 drivers/net/phy/mdio-boardinfo.c list_for_each_entry_safe(be, tmp, &mdio_board_list, list) { tmp 129 drivers/net/phy/phylink.c __ETHTOOL_DECLARE_LINK_MODE_MASK(tmp) = { 0, }; tmp 131 drivers/net/phy/phylink.c phylink_set_port_modes(tmp); tmp 132 drivers/net/phy/phylink.c phylink_set(tmp, Autoneg); tmp 133 drivers/net/phy/phylink.c phylink_set(tmp, Pause); tmp 134 drivers/net/phy/phylink.c phylink_set(tmp, Asym_Pause); tmp 136 drivers/net/phy/phylink.c bitmap_andnot(tmp, linkmode, tmp, __ETHTOOL_LINK_MODE_MASK_NBITS); tmp 138 drivers/net/phy/phylink.c return linkmode_empty(tmp); tmp 2440 drivers/net/ppp/ppp_generic.c struct sk_buff *p, *tmp; tmp 2449 drivers/net/ppp/ppp_generic.c skb_queue_walk_safe(list, p, tmp) { tmp 2540 drivers/net/ppp/ppp_generic.c skb_queue_walk_safe(list, p, tmp) { tmp 2565 drivers/net/ppp/ppp_generic.c skb_queue_walk_from_safe(list, p, tmp) { tmp 1082 drivers/net/slip/slip.c unsigned int tmp; tmp 1091 drivers/net/slip/slip.c tmp = strlen(sl->dev->name) + 1; tmp 1092 drivers/net/slip/slip.c if (copy_to_user((void __user *)arg, sl->dev->name, tmp)) tmp 1102 drivers/net/slip/slip.c if (get_user(tmp, p)) tmp 1105 drivers/net/slip/slip.c if (tmp & (SL_MODE_CSLIP|SL_MODE_ADAPTIVE)) tmp 1108 drivers/net/slip/slip.c if ((tmp & (SL_MODE_ADAPTIVE | SL_MODE_CSLIP)) == tmp 1111 drivers/net/slip/slip.c tmp &= ~SL_MODE_ADAPTIVE; tmp 1114 drivers/net/slip/slip.c if (tmp & SL_MODE_SLIP6) tmp 1117 drivers/net/slip/slip.c sl->mode = tmp; tmp 1127 drivers/net/slip/slip.c if (get_user(tmp, p)) tmp 1129 drivers/net/slip/slip.c if (tmp > 255) /* max for unchar */ tmp 1137 drivers/net/slip/slip.c sl->keepalive = (u8)tmp; tmp 1153 drivers/net/slip/slip.c if (get_user(tmp, p)) tmp 1155 drivers/net/slip/slip.c if (tmp > 255) /* max for unchar */ tmp 1162 drivers/net/slip/slip.c sl->outfill = (u8)tmp; tmp 300 drivers/net/tap.c struct tap_queue *q, *tmp; tmp 303 drivers/net/tap.c list_for_each_entry_safe(q, tmp, &tap->queue_list, next) { tmp 1366 drivers/net/tap.c struct major_info *tap_major, *tmp; tmp 1370 drivers/net/tap.c list_for_each_entry_safe(tap_major, tmp, &major_list, next) { tmp 137 drivers/net/team/team.c struct team_option_inst *opt_inst, *tmp; tmp 139 drivers/net/team/team.c list_for_each_entry_safe(opt_inst, tmp, &team->option_inst_list, list) { tmp 210 drivers/net/team/team.c struct team_option_inst *opt_inst, *tmp; tmp 212 drivers/net/team/team.c list_for_each_entry_safe(opt_inst, tmp, &team->option_inst_list, list) { tmp 1667 drivers/net/team/team.c struct team_port *tmp; tmp 1670 drivers/net/team/team.c list_for_each_entry_safe(port, tmp, &team->port_list, list) tmp 466 drivers/net/team/team_mode_loadbalance.c struct lb_stats tmp; tmp 470 drivers/net/team/team_mode_loadbalance.c tmp.tx_bytes = cpu_stats->tx_bytes; tmp 472 drivers/net/team/team_mode_loadbalance.c acc_stats->tx_bytes += tmp.tx_bytes; tmp 749 drivers/net/tun.c struct tun_file *tfile, *tmp; tmp 777 drivers/net/tun.c list_for_each_entry_safe(tfile, tmp, &tun->disabled, next) { tmp 140 drivers/net/usb/aqc111.c u16 tmp = *data; tmp 142 drivers/net/usb/aqc111.c cpu_to_le16s(&tmp); tmp 144 drivers/net/usb/aqc111.c return aqc111_write_cmd_nopm(dev, cmd, value, index, sizeof(tmp), &tmp); tmp 150 drivers/net/usb/aqc111.c u16 tmp = *data; tmp 152 drivers/net/usb/aqc111.c cpu_to_le16s(&tmp); tmp 154 drivers/net/usb/aqc111.c return aqc111_write_cmd(dev, cmd, value, index, sizeof(tmp), &tmp); tmp 160 drivers/net/usb/aqc111.c u32 tmp = *data; tmp 162 drivers/net/usb/aqc111.c cpu_to_le32s(&tmp); tmp 164 drivers/net/usb/aqc111.c return aqc111_write_cmd_nopm(dev, cmd, value, index, sizeof(tmp), &tmp); tmp 170 drivers/net/usb/aqc111.c u32 tmp = *data; tmp 172 drivers/net/usb/aqc111.c cpu_to_le32s(&tmp); tmp 174 drivers/net/usb/aqc111.c return aqc111_write_cmd(dev, cmd, value, index, sizeof(tmp), &tmp); tmp 188 drivers/net/usb/aqc111.c u16 tmp = *data; tmp 190 drivers/net/usb/aqc111.c cpu_to_le16s(&tmp); tmp 193 drivers/net/usb/aqc111.c sizeof(tmp), &tmp); tmp 875 drivers/net/usb/ax88179_178a.c u8 tmp; tmp 880 drivers/net/usb/ax88179_178a.c ax88179_read_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, &tmp); tmp 881 drivers/net/usb/ax88179_178a.c tmp ^= AX_TXCOE_TCP | AX_TXCOE_UDP; tmp 882 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, &tmp); tmp 886 drivers/net/usb/ax88179_178a.c ax88179_read_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, &tmp); tmp 887 drivers/net/usb/ax88179_178a.c tmp ^= AX_TXCOE_TCPV6 | AX_TXCOE_UDPV6; tmp 888 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, &tmp); tmp 892 drivers/net/usb/ax88179_178a.c ax88179_read_cmd(dev, AX_ACCESS_MAC, AX_RXCOE_CTL, 1, 1, &tmp); tmp 893 drivers/net/usb/ax88179_178a.c tmp ^= AX_RXCOE_IP | AX_RXCOE_TCP | AX_RXCOE_UDP | tmp 895 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RXCOE_CTL, 1, 1, &tmp); tmp 1075 drivers/net/usb/ax88179_178a.c u16 tmp, ledact, ledlink, ledvalue = 0, delay = HZ / 10; tmp 1130 drivers/net/usb/ax88179_178a.c tmp = GMII_PHY_PGSEL_EXT; tmp 1132 drivers/net/usb/ax88179_178a.c GMII_PHY_PAGE_SELECT, 2, &tmp); tmp 1134 drivers/net/usb/ax88179_178a.c tmp = 0x2c; tmp 1136 drivers/net/usb/ax88179_178a.c GMII_PHYPAGE, 2, &tmp); tmp 1183 drivers/net/usb/ax88179_178a.c tmp = ledact; tmp 1185 drivers/net/usb/ax88179_178a.c GMII_LED_ACT, 2, &tmp); tmp 1187 drivers/net/usb/ax88179_178a.c tmp = ledlink; tmp 1189 drivers/net/usb/ax88179_178a.c GMII_LED_LINK, 2, &tmp); tmp 1191 drivers/net/usb/ax88179_178a.c tmp = GMII_PHY_PGSEL_PAGE0; tmp 1193 drivers/net/usb/ax88179_178a.c GMII_PHY_PAGE_SELECT, 2, &tmp); tmp 1221 drivers/net/usb/ax88179_178a.c u8 *tmp; tmp 1228 drivers/net/usb/ax88179_178a.c tmp = (u8 *)buf; tmp 1239 drivers/net/usb/ax88179_178a.c *tmp = AX_CLK_SELECT_ACS | AX_CLK_SELECT_BCS; tmp 1240 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, tmp); tmp 1248 drivers/net/usb/ax88179_178a.c memcpy(tmp, &AX88179_BULKIN_SIZE[0], 5); tmp 1249 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_BULKIN_QCTRL, 5, 5, tmp); tmp 1253 drivers/net/usb/ax88179_178a.c *tmp = 0x34; tmp 1254 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PAUSE_WATERLVL_LOW, 1, 1, tmp); tmp 1256 drivers/net/usb/ax88179_178a.c *tmp = 0x52; tmp 1258 drivers/net/usb/ax88179_178a.c 1, 1, tmp); tmp 1281 drivers/net/usb/ax88179_178a.c *tmp = AX_RXCOE_IP | AX_RXCOE_TCP | AX_RXCOE_UDP | tmp 1283 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RXCOE_CTL, 1, 1, tmp); tmp 1285 drivers/net/usb/ax88179_178a.c *tmp = AX_TXCOE_IP | AX_TXCOE_TCP | AX_TXCOE_UDP | tmp 1287 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, tmp); tmp 1294 drivers/net/usb/ax88179_178a.c *tmp = AX_MONITOR_MODE_PMETYPE | AX_MONITOR_MODE_PMEPOL | tmp 1296 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MONITOR_MOD, 1, 1, tmp); tmp 1449 drivers/net/usb/ax88179_178a.c u8 tmp[5], link_sts; tmp 1485 drivers/net/usb/ax88179_178a.c memcpy(tmp, &AX88179_BULKIN_SIZE[0], 5); tmp 1487 drivers/net/usb/ax88179_178a.c memcpy(tmp, &AX88179_BULKIN_SIZE[1], 5); tmp 1489 drivers/net/usb/ax88179_178a.c memcpy(tmp, &AX88179_BULKIN_SIZE[3], 5); tmp 1494 drivers/net/usb/ax88179_178a.c memcpy(tmp, &AX88179_BULKIN_SIZE[2], 5); tmp 1496 drivers/net/usb/ax88179_178a.c memcpy(tmp, &AX88179_BULKIN_SIZE[3], 5); tmp 1498 drivers/net/usb/ax88179_178a.c memcpy(tmp, &AX88179_BULKIN_SIZE[3], 5); tmp 1502 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_BULKIN_QCTRL, 5, 5, tmp); tmp 1504 drivers/net/usb/ax88179_178a.c dev->rx_urb_size = (1024 * (tmp[3] + 2)); tmp 1522 drivers/net/usb/ax88179_178a.c u8 *tmp; tmp 1527 drivers/net/usb/ax88179_178a.c tmp = (u8 *)buf; tmp 1537 drivers/net/usb/ax88179_178a.c *tmp = AX_CLK_SELECT_ACS | AX_CLK_SELECT_BCS; tmp 1538 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, tmp); tmp 1548 drivers/net/usb/ax88179_178a.c memcpy(tmp, &AX88179_BULKIN_SIZE[0], 5); tmp 1549 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_BULKIN_QCTRL, 5, 5, tmp); tmp 1553 drivers/net/usb/ax88179_178a.c *tmp = 0x34; tmp 1554 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PAUSE_WATERLVL_LOW, 1, 1, tmp); tmp 1556 drivers/net/usb/ax88179_178a.c *tmp = 0x52; tmp 1558 drivers/net/usb/ax88179_178a.c 1, 1, tmp); tmp 1567 drivers/net/usb/ax88179_178a.c *tmp = AX_RXCOE_IP | AX_RXCOE_TCP | AX_RXCOE_UDP | tmp 1569 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RXCOE_CTL, 1, 1, tmp); tmp 1571 drivers/net/usb/ax88179_178a.c *tmp = AX_TXCOE_IP | AX_TXCOE_TCP | AX_TXCOE_UDP | tmp 1573 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, tmp); tmp 1580 drivers/net/usb/ax88179_178a.c *tmp = AX_MONITOR_MODE_PMETYPE | AX_MONITOR_MODE_PMEPOL | tmp 1582 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MONITOR_MOD, 1, 1, tmp); tmp 120 drivers/net/usb/dm9601.c u8 tmp = 0; tmp 123 drivers/net/usb/dm9601.c ret = dm_read_reg(dev, DM_SHARED_CTRL, &tmp); tmp 128 drivers/net/usb/dm9601.c if ((tmp & 1) == 0) tmp 163 drivers/net/usb/dm9601.c u8 tmp = 0; tmp 166 drivers/net/usb/dm9601.c ret = dm_read_reg(dev, DM_SHARED_CTRL, &tmp); tmp 171 drivers/net/usb/dm9601.c if ((tmp & 1) == 0) tmp 2874 drivers/net/usb/lan78xx.c int tmp; tmp 2879 drivers/net/usb/lan78xx.c for (tmp = 0; tmp < intf->num_altsetting; tmp++) { tmp 2885 drivers/net/usb/lan78xx.c alt = intf->altsetting + tmp; tmp 285 drivers/net/usb/pegasus.c __u8 tmp = 0; tmp 294 drivers/net/usb/pegasus.c ret = get_registers(pegasus, EpromCtrl, 1, &tmp); tmp 295 drivers/net/usb/pegasus.c if (tmp & EPROM_DONE) tmp 315 drivers/net/usb/pegasus.c __u8 tmp; tmp 317 drivers/net/usb/pegasus.c get_registers(pegasus, EthCtrl2, 1, &tmp); tmp 318 drivers/net/usb/pegasus.c set_register(pegasus, EthCtrl2, tmp | EPROM_WR_ENABLE); tmp 323 drivers/net/usb/pegasus.c __u8 tmp; tmp 325 drivers/net/usb/pegasus.c get_registers(pegasus, EthCtrl2, 1, &tmp); tmp 327 drivers/net/usb/pegasus.c set_register(pegasus, EthCtrl2, tmp & ~EPROM_WR_ENABLE); tmp 333 drivers/net/usb/pegasus.c __u8 tmp, d[4] = { 0x3f, 0, 0, EPROM_WRITE }; tmp 344 drivers/net/usb/pegasus.c ret = get_registers(pegasus, EpromCtrl, 1, &tmp); tmp 347 drivers/net/usb/pegasus.c if (tmp & EPROM_DONE) tmp 745 drivers/net/usb/pegasus.c __le16 tmp = cpu_to_le16(0); tmp 747 drivers/net/usb/pegasus.c set_registers(pegasus, EthCtrl0, sizeof(tmp), &tmp); tmp 775 drivers/net/usb/pegasus.c u16 tmp; tmp 777 drivers/net/usb/pegasus.c if (read_mii_word(pegasus, pegasus->phy, MII_BMSR, &tmp)) tmp 780 drivers/net/usb/pegasus.c if (tmp & BMSR_LSTATUS) tmp 1049 drivers/net/usb/pegasus.c __u16 tmp; tmp 1052 drivers/net/usb/pegasus.c read_mii_word(pegasus, i, MII_BMSR, &tmp); tmp 1053 drivers/net/usb/pegasus.c if (tmp == 0 || tmp == 0xffff || (tmp & BMSR_MEDIA) == 0) tmp 845 drivers/net/usb/r8152.c void *tmp; tmp 847 drivers/net/usb/r8152.c tmp = kmalloc(size, GFP_KERNEL); tmp 848 drivers/net/usb/r8152.c if (!tmp) tmp 853 drivers/net/usb/r8152.c value, index, tmp, size, 500); tmp 857 drivers/net/usb/r8152.c memcpy(data, tmp, size); tmp 859 drivers/net/usb/r8152.c kfree(tmp); tmp 868 drivers/net/usb/r8152.c void *tmp; tmp 870 drivers/net/usb/r8152.c tmp = kmemdup(data, size, GFP_KERNEL); tmp 871 drivers/net/usb/r8152.c if (!tmp) tmp 876 drivers/net/usb/r8152.c value, index, tmp, size, 500); tmp 878 drivers/net/usb/r8152.c kfree(tmp); tmp 1033 drivers/net/usb/r8152.c __le32 tmp = __cpu_to_le32(data); tmp 1035 drivers/net/usb/r8152.c generic_ocp_write(tp, index, BYTE_EN_DWORD, sizeof(tmp), &tmp, type); tmp 1041 drivers/net/usb/r8152.c __le32 tmp; tmp 1048 drivers/net/usb/r8152.c generic_ocp_read(tp, index, sizeof(tmp), &tmp, type | byen); tmp 1050 drivers/net/usb/r8152.c data = __le32_to_cpu(tmp); tmp 1060 drivers/net/usb/r8152.c __le32 tmp; tmp 1073 drivers/net/usb/r8152.c tmp = __cpu_to_le32(data); tmp 1075 drivers/net/usb/r8152.c generic_ocp_write(tp, index, byen, sizeof(tmp), &tmp, type); tmp 1081 drivers/net/usb/r8152.c __le32 tmp; tmp 1086 drivers/net/usb/r8152.c generic_ocp_read(tp, index, sizeof(tmp), &tmp, type); tmp 1088 drivers/net/usb/r8152.c data = __le32_to_cpu(tmp); tmp 1098 drivers/net/usb/r8152.c __le32 tmp; tmp 1111 drivers/net/usb/r8152.c tmp = __cpu_to_le32(data); tmp 1113 drivers/net/usb/r8152.c generic_ocp_write(tp, index, byen, sizeof(tmp), &tmp, type); tmp 2346 drivers/net/usb/r8152.c __le32 tmp[2]; tmp 2379 drivers/net/usb/r8152.c tmp[0] = __cpu_to_le32(swab32(mc_filter[1])); tmp 2380 drivers/net/usb/r8152.c tmp[1] = __cpu_to_le32(swab32(mc_filter[0])); tmp 2382 drivers/net/usb/r8152.c pla_ocp_write(tp, PLA_MAR, BYTE_EN_DWORD, sizeof(tmp), tmp); tmp 5591 drivers/net/usb/r8152.c __le32 *tmp; tmp 5595 drivers/net/usb/r8152.c tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); tmp 5596 drivers/net/usb/r8152.c if (!tmp) tmp 5601 drivers/net/usb/r8152.c PLA_TCR0, MCU_TYPE_PLA, tmp, sizeof(*tmp), 500); tmp 5603 drivers/net/usb/r8152.c ocp_data = (__le32_to_cpu(*tmp) >> 16) & VERSION_MASK; tmp 5605 drivers/net/usb/r8152.c kfree(tmp); tmp 304 drivers/net/usb/rndis_host.c u32 tmp; tmp 356 drivers/net/usb/rndis_host.c tmp = le32_to_cpu(u.init_c->max_transfer_size); tmp 357 drivers/net/usb/rndis_host.c if (tmp < dev->hard_mtu) { tmp 358 drivers/net/usb/rndis_host.c if (tmp <= net->hard_header_len) { tmp 361 drivers/net/usb/rndis_host.c dev->hard_mtu, tmp); tmp 368 drivers/net/usb/rndis_host.c dev->hard_mtu, tmp, tmp - net->hard_header_len); tmp 369 drivers/net/usb/rndis_host.c dev->hard_mtu = tmp; tmp 376 drivers/net/usb/rndis_host.c dev->hard_mtu, tmp, dev->rx_urb_size, tmp 233 drivers/net/usb/rtl8150.c u8 data[3], tmp; tmp 237 drivers/net/usb/rtl8150.c tmp = indx | PHY_READ | PHY_GO; tmp 241 drivers/net/usb/rtl8150.c set_registers(dev, PHYCNT, 1, &tmp); tmp 257 drivers/net/usb/rtl8150.c u8 data[3], tmp; tmp 262 drivers/net/usb/rtl8150.c tmp = indx | PHY_WRITE | PHY_GO; tmp 266 drivers/net/usb/rtl8150.c set_registers(dev, PHYCNT, 1, &tmp); tmp 722 drivers/net/usb/rtl8150.c short tmp; tmp 724 drivers/net/usb/rtl8150.c get_registers(dev, CSCR, 2, &tmp); tmp 725 drivers/net/usb/rtl8150.c if (tmp & CSCR_LINK_STATUS) tmp 76 drivers/net/usb/sr9700.c u8 tmp = 0; tmp 80 drivers/net/usb/sr9700.c ret = sr_read_reg(dev, SR_EPCR, &tmp); tmp 85 drivers/net/usb/sr9700.c if (!(tmp & EPCR_ERRE)) tmp 83 drivers/net/usb/usbnet.c int tmp; tmp 88 drivers/net/usb/usbnet.c for (tmp = 0; tmp < intf->num_altsetting; tmp++) { tmp 92 drivers/net/usb/usbnet.c alt = intf->altsetting + tmp; tmp 137 drivers/net/usb/usbnet.c tmp = usb_set_interface (dev->udev, alt->desc.bInterfaceNumber, tmp 139 drivers/net/usb/usbnet.c if (tmp < 0) tmp 140 drivers/net/usb/usbnet.c return tmp; tmp 154 drivers/net/usb/usbnet.c int tmp = -1, ret; tmp 159 drivers/net/usb/usbnet.c tmp = hex2bin(dev->net->dev_addr, buf, 6); tmp 160 drivers/net/usb/usbnet.c if (tmp < 0) { tmp 162 drivers/net/usb/usbnet.c "bad MAC string %d fetch, %d\n", iMACAddress, tmp); tmp 1636 drivers/net/virtio_net.c unsigned out_num = 0, tmp; tmp 1664 drivers/net/virtio_net.c while (!virtqueue_get_buf(vi->cvq, &tmp) && tmp 290 drivers/net/vmxnet3/vmxnet3_drv.c # define vmxnet3_getRxComp(dstrcd, rcd, tmp) do { \ tmp 291 drivers/net/vmxnet3/vmxnet3_drv.c (dstrcd) = (tmp); \ tmp 292 drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_RxCompToCPU((rcd), (tmp)); \ tmp 294 drivers/net/vmxnet3/vmxnet3_drv.c # define vmxnet3_getRxDesc(dstrxd, rxd, tmp) do { \ tmp 295 drivers/net/vmxnet3/vmxnet3_drv.c (dstrxd) = (tmp); \ tmp 296 drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_RxDescToCPU((rxd), (tmp)); \ tmp 305 drivers/net/vmxnet3/vmxnet3_drv.c # define vmxnet3_getRxComp(dstrcd, rcd, tmp) (dstrcd) = (rcd) tmp 306 drivers/net/vmxnet3/vmxnet3_drv.c # define vmxnet3_getRxDesc(dstrxd, rxd, tmp) (dstrxd) = (rxd) tmp 2686 drivers/net/vmxnet3/vmxnet3_drv.c u32 tmp; tmp 2688 drivers/net/vmxnet3/vmxnet3_drv.c tmp = *(u32 *)mac; tmp 2689 drivers/net/vmxnet3/vmxnet3_drv.c VMXNET3_WRITE_BAR1_REG(adapter, VMXNET3_REG_MACL, tmp); tmp 2691 drivers/net/vmxnet3/vmxnet3_drv.c tmp = (mac[5] << 8) | mac[4]; tmp 2692 drivers/net/vmxnet3/vmxnet3_drv.c VMXNET3_WRITE_BAR1_REG(adapter, VMXNET3_REG_MACH, tmp); tmp 3057 drivers/net/vmxnet3/vmxnet3_drv.c u32 tmp; tmp 3059 drivers/net/vmxnet3/vmxnet3_drv.c tmp = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_MACL); tmp 3060 drivers/net/vmxnet3/vmxnet3_drv.c *(u32 *)mac = tmp; tmp 3062 drivers/net/vmxnet3/vmxnet3_drv.c tmp = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_MACH); tmp 3063 drivers/net/vmxnet3/vmxnet3_drv.c mac[4] = tmp & 0xff; tmp 3064 drivers/net/vmxnet3/vmxnet3_drv.c mac[5] = (tmp >> 8) & 0xff; tmp 3344 drivers/net/vxlan.c struct vxlan_dev *tmp; tmp 3476 drivers/net/vxlan.c list_for_each_entry(tmp, &vn->vxlan_list, next) { tmp 3477 drivers/net/vxlan.c if (tmp == old) tmp 3480 drivers/net/vxlan.c if (tmp->cfg.vni != conf->vni) tmp 3482 drivers/net/vxlan.c if (tmp->cfg.dst_port != conf->dst_port) tmp 3484 drivers/net/vxlan.c if ((tmp->cfg.flags & (VXLAN_F_RCV_FLAGS | VXLAN_F_IPV6)) != tmp 3489 drivers/net/vxlan.c tmp->cfg.remote_ifindex != conf->remote_ifindex) tmp 426 drivers/net/wan/lapbether.c struct list_head *entry, *tmp; tmp 432 drivers/net/wan/lapbether.c list_for_each_safe(entry, tmp, &lapbeth_devices) { tmp 1217 drivers/net/wireless/admtek/adm8211.c u32 reg, tmp; tmp 1225 drivers/net/wireless/admtek/adm8211.c tmp = ADM8211_CSR_READ(PAR); tmp 1234 drivers/net/wireless/admtek/adm8211.c ADM8211_CSR_WRITE(PAR, tmp); tmp 98 drivers/net/wireless/ath/ath10k/bmi.c __le32 tmp; tmp 115 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &tmp, &resplen); tmp 124 drivers/net/wireless/ath/ath10k/bmi.c if (__le32_to_cpu(tmp) == TARGET_VERSION_SENTINAL) { tmp 127 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, NULL, 0, &tmp, tmp 135 drivers/net/wireless/ath/ath10k/bmi.c ver_len = __le32_to_cpu(tmp); tmp 237 drivers/net/wireless/ath/ath10k/bmi.h __le32 tmp; \ tmp 240 drivers/net/wireless/ath/ath10k/bmi.h ret = ath10k_bmi_read_memory(ar, addr, (u8 *)&tmp, 4); \ tmp 242 drivers/net/wireless/ath/ath10k/bmi.h *val = __le32_to_cpu(tmp); \ tmp 204 drivers/net/wireless/ath/ath10k/debug.c struct ath10k_fw_stats_pdev *i, *tmp; tmp 206 drivers/net/wireless/ath/ath10k/debug.c list_for_each_entry_safe(i, tmp, head, list) { tmp 214 drivers/net/wireless/ath/ath10k/debug.c struct ath10k_fw_stats_vdev *i, *tmp; tmp 216 drivers/net/wireless/ath/ath10k/debug.c list_for_each_entry_safe(i, tmp, head, list) { tmp 224 drivers/net/wireless/ath/ath10k/debug.c struct ath10k_fw_stats_peer *i, *tmp; tmp 226 drivers/net/wireless/ath/ath10k/debug.c list_for_each_entry_safe(i, tmp, head, list) { tmp 234 drivers/net/wireless/ath/ath10k/debug.c struct ath10k_fw_extd_stats_peer *i, *tmp; tmp 236 drivers/net/wireless/ath/ath10k/debug.c list_for_each_entry_safe(i, tmp, head, list) { tmp 861 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_peer *peer, *tmp; tmp 868 drivers/net/wireless/ath/ath10k/mac.c list_for_each_entry_safe(peer, tmp, &ar->peers, list) { tmp 900 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_peer *peer, *tmp; tmp 906 drivers/net/wireless/ath/ath10k/mac.c list_for_each_entry_safe(peer, tmp, &ar->peers, list) { tmp 7205 drivers/net/wireless/ath/ath10k/mac.c int i, tmp; tmp 7214 drivers/net/wireless/ath/ath10k/mac.c tmp = hweight16(mask->control[band].vht_mcs[i]); tmp 7215 drivers/net/wireless/ath/ath10k/mac.c num_rates += tmp; tmp 7216 drivers/net/wireless/ath/ath10k/mac.c *vht_num_rates += tmp; tmp 1565 drivers/net/wireless/ath/ath5k/phy.c s16 tmp; tmp 1572 drivers/net/wireless/ath/ath5k/phy.c tmp = sort[j]; tmp 1574 drivers/net/wireless/ath/ath5k/phy.c sort[j - 1] = tmp; tmp 2459 drivers/net/wireless/ath/ath5k/phy.c s8 tmp; tmp 2473 drivers/net/wireless/ath/ath5k/phy.c tmp = (s8) ath5k_get_interpolated_value(pwr_i, tmp 2476 drivers/net/wireless/ath/ath5k/phy.c } while (tmp > 1); tmp 2487 drivers/net/wireless/ath/ath5k/phy.c tmp = (s8) ath5k_get_interpolated_value(pwr_i, tmp 2490 drivers/net/wireless/ath/ath5k/phy.c } while (tmp > 1); tmp 3130 drivers/net/wireless/ath/ath5k/phy.c s16 tmp = pdadc_tmp[0] + pdadc_0 * pwr_step; tmp 3131 drivers/net/wireless/ath/ath5k/phy.c pdadc_out[pdadc_i++] = (tmp < 0) ? 0 : (u8) tmp; tmp 3159 drivers/net/wireless/ath/ath5k/phy.c s16 tmp = pdadc_tmp[table_size - 1] + tmp 3161 drivers/net/wireless/ath/ath5k/phy.c pdadc_out[pdadc_i++] = (tmp > 127) ? 127 : (u8) tmp; tmp 239 drivers/net/wireless/ath/ath6kl/bmi.h __le32 tmp; \ tmp 244 drivers/net/wireless/ath/ath6kl/bmi.h ret = ath6kl_bmi_read(ar, addr, (u8 *) &tmp, 4); \ tmp 246 drivers/net/wireless/ath/ath6kl/bmi.h *val = le32_to_cpu(tmp); \ tmp 3639 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_mc_filter *mc_filter, *tmp; tmp 3648 drivers/net/wireless/ath/ath6kl/cfg80211.c list_for_each_entry_safe(mc_filter, tmp, &vif->mc_filter, list) { tmp 89 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_mgmt_buff *entry, *tmp; tmp 97 drivers/net/wireless/ath/ath6kl/main.c list_for_each_entry_safe(entry, tmp, &sta->mgmt_psq, list) { tmp 1158 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_mc_filter *mc_filter, *tmp; tmp 1204 drivers/net/wireless/ath/ath6kl/main.c list_for_each_entry_safe(mc_filter, tmp, &vif->mc_filter, list) { tmp 420 drivers/net/wireless/ath/ath9k/ar5008_phy.c int tmp, new; tmp 442 drivers/net/wireless/ath/ath9k/ar5008_phy.c tmp = REG_READ(ah, AR_PHY_TIMING_CTRL4(0)); tmp 443 drivers/net/wireless/ath/ath9k/ar5008_phy.c new = tmp | (AR_PHY_TIMING_CTRL4_ENABLE_SPUR_RSSI | tmp 178 drivers/net/wireless/ath/ath9k/ar9002_phy.c int tmp, newVal; tmp 225 drivers/net/wireless/ath/ath9k/ar9002_phy.c tmp = REG_READ(ah, AR_PHY_TIMING_CTRL4(0)); tmp 229 drivers/net/wireless/ath/ath9k/ar9002_phy.c newVal = tmp | (AR_PHY_TIMING_CTRL4_ENABLE_SPUR_RSSI | tmp 434 drivers/net/wireless/ath/ath9k/ar9003_paprd.c int y5, y3, tmp; tmp 646 drivers/net/wireless/ath/ath9k/ar9003_paprd.c tmp = i * 32; tmp 647 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = ((beta * tmp) >> 6) >> order1_5x; tmp 648 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (y5 * tmp) >> order1_5x; tmp 649 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (y5 * tmp) >> order1_5x; tmp 650 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (y5 * tmp) >> order1_5x; tmp 651 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (y5 * tmp) >> order1_5x; tmp 653 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y3 = (alpha * tmp) >> order2_3x; tmp 654 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y3 = (y3 * tmp) >> order2_3x; tmp 655 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y3 = (y3 * tmp) >> order2_3x; tmp 657 drivers/net/wireless/ath/ath9k/ar9003_paprd.c PA_in[i] = y5 + y3 + (256 * tmp) / G_fxp; tmp 660 drivers/net/wireless/ath/ath9k/ar9003_paprd.c tmp = PA_in[i] - PA_in[i - 1]; tmp 661 drivers/net/wireless/ath/ath9k/ar9003_paprd.c if (tmp < 0) tmp 705 drivers/net/wireless/ath/ath9k/ar9003_paprd.c tmp = i * 32; tmp 707 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (((beta * tmp - 64) >> 6) - tmp 710 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = ((((beta * tmp - 64) >> 6) + tmp 713 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (y5 * tmp) / (1 << order1_5x); tmp 714 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (y5 * tmp) / (1 << order1_5x); tmp 715 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (y5 * tmp) / (1 << order1_5x); tmp 716 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y5 = (y5 * tmp) / (1 << order1_5x); tmp 720 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y3 = (alpha * tmp - tmp 723 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y3 = (alpha * tmp + tmp 725 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y3 = (y3 * tmp) / (1 << order2_3x); tmp 726 drivers/net/wireless/ath/ath9k/ar9003_paprd.c y3 = (y3 * tmp) / (1 << order2_3x); tmp 498 drivers/net/wireless/ath/ath9k/hif_usb.c struct sk_buff *skb, *tmp; tmp 503 drivers/net/wireless/ath/ath9k/hif_usb.c skb_queue_walk_safe(&hif_dev->tx.tx_skb_queue, skb, tmp) { tmp 536 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c struct ath9k_htc_tx_event *event, *tmp; tmp 562 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c list_for_each_entry_safe(event, tmp, &priv->wmi->pending_tx_events, list) { tmp 618 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c struct sk_buff *skb, *tmp; tmp 627 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c skb_queue_walk_safe(epid_queue, skb, tmp) { tmp 732 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c struct sk_buff *skb, *tmp; tmp 738 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c skb_queue_walk_safe(epid_queue, skb, tmp) { tmp 748 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c skb_queue_walk_safe(&queue, skb, tmp) { tmp 759 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c struct ath9k_htc_tx_event *event, *tmp; tmp 763 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c list_for_each_entry_safe(event, tmp, &priv->wmi->pending_tx_events, list) { tmp 2704 drivers/net/wireless/ath/ath9k/hw.c u32 gpio_shift, tmp; tmp 2720 drivers/net/wireless/ath/ath9k/hw.c tmp = REG_READ(ah, addr); tmp 2721 drivers/net/wireless/ath/ath9k/hw.c tmp = ((tmp & 0x1F0) << 1) | (tmp & ~0x1F0); tmp 2722 drivers/net/wireless/ath/ath9k/hw.c tmp &= ~(0x1f << gpio_shift); tmp 2723 drivers/net/wireless/ath/ath9k/hw.c tmp |= (type << gpio_shift); tmp 2724 drivers/net/wireless/ath/ath9k/hw.c REG_WRITE(ah, addr, tmp); tmp 121 drivers/net/wireless/ath/carl9170/cmd.c struct carl9170_cmd *tmp; tmp 123 drivers/net/wireless/ath/carl9170/cmd.c tmp = kzalloc(sizeof(struct carl9170_cmd_head) + len, GFP_ATOMIC); tmp 124 drivers/net/wireless/ath/carl9170/cmd.c if (tmp) { tmp 125 drivers/net/wireless/ath/carl9170/cmd.c tmp->hdr.cmd = cmd; tmp 126 drivers/net/wireless/ath/carl9170/cmd.c tmp->hdr.len = len; tmp 129 drivers/net/wireless/ath/carl9170/cmd.c return tmp; tmp 548 drivers/net/wireless/ath/carl9170/debug.c unsigned int reg, tmp; tmp 581 drivers/net/wireless/ath/carl9170/debug.c err = carl9170_read_reg(ar, reg + (i << 2), &tmp); tmp 586 drivers/net/wireless/ath/carl9170/debug.c ar->debug.ring[ar->debug.ring_tail].value = tmp; tmp 69 drivers/net/wireless/ath/carl9170/led.c int i, tmp = 300, blink_delay = 1000; tmp 83 drivers/net/wireless/ath/carl9170/led.c tmp = 70 + 200 / (ar->leds[i].toggled); tmp 85 drivers/net/wireless/ath/carl9170/led.c if (tmp < blink_delay) tmp 86 drivers/net/wireless/ath/carl9170/led.c blink_delay = tmp; tmp 398 drivers/net/wireless/ath/carl9170/mac.c u32 tmp = min_t(u32, 0x33333, max_retry * 0x11111); tmp 400 drivers/net/wireless/ath/carl9170/mac.c return carl9170_write_reg(ar, AR9170_MAC_REG_RETRY_MAX, tmp); tmp 1125 drivers/net/wireless/ath/carl9170/phy.c u8 f, tmp; tmp 1192 drivers/net/wireless/ath/carl9170/phy.c tmp = carl9170_interpolate_val(i, &pwrs[0][0], tmp 1195 drivers/net/wireless/ath/carl9170/phy.c tmp = carl9170_interpolate_val(i - 12, tmp 1200 drivers/net/wireless/ath/carl9170/phy.c phy_data |= tmp << ((i & 3) << 3); tmp 1576 drivers/net/wireless/ath/carl9170/phy.c u32 tmp, offs = 0, new_ht = 0; tmp 1629 drivers/net/wireless/ath/carl9170/phy.c tmp = AR9170_PHY_TURBO_FC_SINGLE_HT_LTF1 | tmp 1636 drivers/net/wireless/ath/carl9170/phy.c tmp |= AR9170_PHY_TURBO_FC_DYN2040_EN | tmp 1641 drivers/net/wireless/ath/carl9170/phy.c tmp |= AR9170_PHY_TURBO_FC_DYN2040_EN | tmp 1652 drivers/net/wireless/ath/carl9170/phy.c tmp |= AR9170_PHY_TURBO_FC_WALSH; tmp 1654 drivers/net/wireless/ath/carl9170/phy.c err = carl9170_write_reg(ar, AR9170_PHY_REG_TURBO, tmp); tmp 173 drivers/net/wireless/ath/carl9170/tx.c unsigned long tmp; tmp 175 drivers/net/wireless/ath/carl9170/tx.c tmp = jiffies - ar->queue_stop_timeout[i]; tmp 176 drivers/net/wireless/ath/carl9170/tx.c if (tmp > ar->max_queue_stop_timeout[i]) tmp 177 drivers/net/wireless/ath/carl9170/tx.c ar->max_queue_stop_timeout[i] = tmp; tmp 769 drivers/net/wireless/ath/carl9170/tx.c __le32 tmp; tmp 771 drivers/net/wireless/ath/carl9170/tx.c tmp = cpu_to_le32(0); tmp 774 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(AR9170_TX_PHY_BW_40MHZ << tmp 778 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(AR9170_TX_PHY_BW_40MHZ_DUP << tmp 782 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(AR9170_TX_PHY_SHORT_GI); tmp 788 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32((txrate->idx & 0x7) << tmp 791 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(AR9170_TX_PHY_MOD_HT); tmp 802 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(AR9170_TX_PHY_MOD_CCK); tmp 804 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(AR9170_TX_PHY_MOD_OFDM); tmp 806 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(AR9170_TX_PHY_MOD_OFDM); tmp 819 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(SET_CONSTVAL(AR9170_TX_PHY_MCS, phyrate)); tmp 820 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(SET_CONSTVAL(AR9170_TX_PHY_TX_PWR, power)); tmp 821 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(SET_CONSTVAL(AR9170_TX_PHY_TXCHAIN, chains)); tmp 822 drivers/net/wireless/ath/carl9170/tx.c return tmp; tmp 1093 drivers/net/wireless/ath/carl9170/tx.c int tmp; tmp 1097 drivers/net/wireless/ath/carl9170/tx.c tmp = (super->s.ampdu_settings & CARL9170_TX_SUPER_AMPDU_DENSITY) << tmp 1111 drivers/net/wireless/ath/carl9170/tx.c if (tmp != ar->current_density) { tmp 1112 drivers/net/wireless/ath/carl9170/tx.c ar->current_density = tmp; tmp 1117 drivers/net/wireless/ath/carl9170/tx.c tmp = (super->s.ampdu_settings & CARL9170_TX_SUPER_AMPDU_FACTOR) << tmp 1120 drivers/net/wireless/ath/carl9170/tx.c if (tmp != ar->current_factor) { tmp 1121 drivers/net/wireless/ath/carl9170/tx.c ar->current_factor = tmp; tmp 103 drivers/net/wireless/ath/wcn36xx/debug.c char buf[255], *tmp; tmp 115 drivers/net/wireless/ath/wcn36xx/debug.c tmp = buf; tmp 119 drivers/net/wireless/ath/wcn36xx/debug.c begin = strsep(&tmp, " "); tmp 385 drivers/net/wireless/ath/wcn36xx/main.c struct wcn36xx_vif *tmp; tmp 395 drivers/net/wireless/ath/wcn36xx/main.c list_for_each_entry(tmp, &wcn->vif_list, list) { tmp 396 drivers/net/wireless/ath/wcn36xx/main.c vif = wcn36xx_priv_to_vif(tmp); tmp 402 drivers/net/wireless/ath/wcn36xx/main.c list_for_each_entry(tmp, &wcn->vif_list, list) { tmp 403 drivers/net/wireless/ath/wcn36xx/main.c vif = wcn36xx_priv_to_vif(tmp); tmp 424 drivers/net/wireless/ath/wcn36xx/main.c struct wcn36xx_vif *tmp; tmp 434 drivers/net/wireless/ath/wcn36xx/main.c list_for_each_entry(tmp, &wcn->vif_list, list) { tmp 435 drivers/net/wireless/ath/wcn36xx/main.c vif = wcn36xx_priv_to_vif(tmp); tmp 440 drivers/net/wireless/ath/wcn36xx/main.c else if (NL80211_IFTYPE_STATION == vif->type && tmp->sta_assoc) tmp 2306 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *tmp; tmp 2310 drivers/net/wireless/ath/wcn36xx/smd.c list_for_each_entry(tmp, &wcn->vif_list, list) { tmp 2312 drivers/net/wireless/ath/wcn36xx/smd.c tmp->bss_index); tmp 2313 drivers/net/wireless/ath/wcn36xx/smd.c vif = wcn36xx_priv_to_vif(tmp); tmp 2324 drivers/net/wireless/ath/wcn36xx/smd.c list_for_each_entry(tmp, &wcn->vif_list, list) { tmp 2325 drivers/net/wireless/ath/wcn36xx/smd.c if (tmp->bss_index == rsp->bss_index) { tmp 2328 drivers/net/wireless/ath/wcn36xx/smd.c vif = wcn36xx_priv_to_vif(tmp); tmp 2343 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *tmp; tmp 2354 drivers/net/wireless/ath/wcn36xx/smd.c list_for_each_entry(tmp, &wcn->vif_list, list) { tmp 2356 drivers/net/wireless/ath/wcn36xx/smd.c sta = ieee80211_find_sta(wcn36xx_priv_to_vif(tmp), rsp->addr2); tmp 2628 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_hal_ind_msg *msg, *tmp; tmp 2633 drivers/net/wireless/ath/wcn36xx/smd.c list_for_each_entry_safe(msg, tmp, &wcn->hal_ind_queue, list) tmp 2948 drivers/net/wireless/ath/wil6210/cfg80211.c int rc, tmp; tmp 2999 drivers/net/wireless/ath/wil6210/cfg80211.c tmp) { tmp 163 drivers/net/wireless/ath/wil6210/main.c u32 tmp = __raw_readl(s); tmp 165 drivers/net/wireless/ath/wil6210/main.c memcpy(d, &tmp, count); tmp 180 drivers/net/wireless/ath/wil6210/main.c u32 tmp = 0; tmp 182 drivers/net/wireless/ath/wil6210/main.c memcpy(&tmp, s, count); tmp 183 drivers/net/wireless/ath/wil6210/main.c __raw_writel(tmp, d); tmp 912 drivers/net/wireless/ath/wil6210/main.c u32 tmp, ver; tmp 921 drivers/net/wireless/ath/wil6210/main.c tmp = wil_r(wil, RGF_USER_BL + tmp 924 drivers/net/wireless/ath/wil6210/main.c if (!tmp) { tmp 929 drivers/net/wireless/ath/wil6210/main.c tmp = wil_r(wil, RGF_USER_BL + tmp 932 drivers/net/wireless/ath/wil6210/main.c ver = BL_SHUTDOWN_HS_PROT_VER(tmp); tmp 802 drivers/net/wireless/broadcom/b43/dma.c u32 tmp; tmp 808 drivers/net/wireless/broadcom/b43/dma.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOST); tmp 809 drivers/net/wireless/broadcom/b43/dma.c if (tmp & BCMA_IOST_DMA64) tmp 815 drivers/net/wireless/broadcom/b43/dma.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSHIGH); tmp 816 drivers/net/wireless/broadcom/b43/dma.c if (tmp & SSB_TMSHIGH_DMA64) tmp 824 drivers/net/wireless/broadcom/b43/dma.c tmp = b43_read32(dev, mmio_base + B43_DMA32_TXCTL); tmp 825 drivers/net/wireless/broadcom/b43/dma.c if (tmp & B43_DMA32_TXADDREXT_MASK) tmp 1627 drivers/net/wireless/broadcom/b43/dma.c s32 tmp = len; tmp 1637 drivers/net/wireless/broadcom/b43/dma.c tmp -= ring->rx_buffersize; tmp 1638 drivers/net/wireless/broadcom/b43/dma.c if (tmp <= 0) tmp 194 drivers/net/wireless/broadcom/b43/lo.c int tmp; tmp 201 drivers/net/wireless/broadcom/b43/lo.c tmp = lb_gain; tmp 203 drivers/net/wireless/broadcom/b43/lo.c tmp = (10 - lb_gain); tmp 204 drivers/net/wireless/broadcom/b43/lo.c if (tmp < 0) tmp 205 drivers/net/wireless/broadcom/b43/lo.c tmp += 6; tmp 207 drivers/net/wireless/broadcom/b43/lo.c tmp += 3; tmp 209 drivers/net/wireless/broadcom/b43/lo.c tmp /= 4; tmp 210 drivers/net/wireless/broadcom/b43/lo.c if (tmp >= cmp_val) tmp 213 drivers/net/wireless/broadcom/b43/lo.c radio_pctl_reg = tmp; tmp 265 drivers/net/wireless/broadcom/b43/lo.c u64 tmp; tmp 269 drivers/net/wireless/broadcom/b43/lo.c tmp = b43_shm_read16(dev, B43_SHM_SHARED, 0x310 + i); tmp 270 drivers/net/wireless/broadcom/b43/lo.c power_vector |= (tmp << (i * 8)); tmp 285 drivers/net/wireless/broadcom/b43/lo.c u16 tmp; tmp 331 drivers/net/wireless/broadcom/b43/lo.c tmp = b43_radio_read16(dev, 0x7A); tmp 333 drivers/net/wireless/broadcom/b43/lo.c tmp &= ~0x0008; tmp 335 drivers/net/wireless/broadcom/b43/lo.c tmp |= 0x0008; tmp 336 drivers/net/wireless/broadcom/b43/lo.c b43_radio_write16(dev, 0x7A, tmp); tmp 379 drivers/net/wireless/broadcom/b43/lo.c u16 tmp; tmp 449 drivers/net/wireless/broadcom/b43/lo.c tmp = tmp 451 drivers/net/wireless/broadcom/b43/lo.c b43_phy_write(dev, tmp, 0x007F); tmp 453 drivers/net/wireless/broadcom/b43/lo.c tmp = sav->phy_syncctl; tmp 454 drivers/net/wireless/broadcom/b43/lo.c b43_phy_write(dev, B43_PHY_SYNCCTL, tmp & 0xFF7F); tmp 455 drivers/net/wireless/broadcom/b43/lo.c tmp = sav->radio_7A; tmp 456 drivers/net/wireless/broadcom/b43/lo.c b43_radio_write16(dev, 0x007A, tmp & 0xFFF0); tmp 492 drivers/net/wireless/broadcom/b43/lo.c u16 tmp; tmp 496 drivers/net/wireless/broadcom/b43/lo.c tmp = (gphy->pga_gain << 8); tmp 497 drivers/net/wireless/broadcom/b43/lo.c b43_phy_write(dev, B43_PHY_RFOVERVAL, tmp | 0xA0); tmp 499 drivers/net/wireless/broadcom/b43/lo.c b43_phy_write(dev, B43_PHY_RFOVERVAL, tmp | 0xA2); tmp 501 drivers/net/wireless/broadcom/b43/lo.c b43_phy_write(dev, B43_PHY_RFOVERVAL, tmp | 0xA3); tmp 503 drivers/net/wireless/broadcom/b43/lo.c tmp = (gphy->pga_gain | 0xEFA0); tmp 504 drivers/net/wireless/broadcom/b43/lo.c b43_phy_write(dev, B43_PHY_PGACTL, tmp); tmp 524 drivers/net/wireless/broadcom/b43/lo.c tmp = sav->radio_52; tmp 525 drivers/net/wireless/broadcom/b43/lo.c b43_radio_maskset(dev, 0x52, 0xFF0F, tmp); tmp 544 drivers/net/wireless/broadcom/b43/lo.c tmp = (sav->phy_lo_mask & 0xBFFF); tmp 545 drivers/net/wireless/broadcom/b43/lo.c b43_phy_write(dev, B43_PHY_LO_MASK, tmp); tmp 927 drivers/net/wireless/broadcom/b43/lo.c struct b43_lo_calib *cal, *tmp; tmp 951 drivers/net/wireless/broadcom/b43/lo.c list_for_each_entry_safe(cal, tmp, &lo->calib_list, list) { tmp 986 drivers/net/wireless/broadcom/b43/lo.c struct b43_lo_calib *cal, *tmp; tmp 990 drivers/net/wireless/broadcom/b43/lo.c list_for_each_entry_safe(cal, tmp, &lo->calib_list, list) { tmp 684 drivers/net/wireless/broadcom/b43/main.c u32 tmp; tmp 696 drivers/net/wireless/broadcom/b43/main.c tmp = (u32) (mac_bssid[i + 0]); tmp 697 drivers/net/wireless/broadcom/b43/main.c tmp |= (u32) (mac_bssid[i + 1]) << 8; tmp 698 drivers/net/wireless/broadcom/b43/main.c tmp |= (u32) (mac_bssid[i + 2]) << 16; tmp 699 drivers/net/wireless/broadcom/b43/main.c tmp |= (u32) (mac_bssid[i + 3]) << 24; tmp 700 drivers/net/wireless/broadcom/b43/main.c b43_ram_write(dev, 0x20 + i, tmp); tmp 1113 drivers/net/wireless/broadcom/b43/main.c u16 tmp = b43_shm_read16(dev, B43_SHM_SHARED, offset + i); tmp 1114 drivers/net/wireless/broadcom/b43/main.c printk("%02X%02X", (tmp & 0xFF), ((tmp >> 8) & 0xFF)); tmp 1126 drivers/net/wireless/broadcom/b43/main.c u16 tmp = b43_shm_read16(dev, B43_SHM_SHARED, offset + i); tmp 1127 drivers/net/wireless/broadcom/b43/main.c printk("%02X%02X", (tmp & 0xFF), ((tmp >> 8) & 0xFF)); tmp 1260 drivers/net/wireless/broadcom/b43/main.c u16 tmp; tmp 1262 drivers/net/wireless/broadcom/b43/main.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 1263 drivers/net/wireless/broadcom/b43/main.c tmp &= ~B43_BCMA_IOCTL_DAC; tmp 1264 drivers/net/wireless/broadcom/b43/main.c tmp |= 0x100; tmp 1265 drivers/net/wireless/broadcom/b43/main.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 1267 drivers/net/wireless/broadcom/b43/main.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 1268 drivers/net/wireless/broadcom/b43/main.c tmp &= ~B43_BCMA_IOCTL_PHY_CLKEN; tmp 1269 drivers/net/wireless/broadcom/b43/main.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 1271 drivers/net/wireless/broadcom/b43/main.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 1272 drivers/net/wireless/broadcom/b43/main.c tmp |= B43_BCMA_IOCTL_PHY_CLKEN; tmp 1273 drivers/net/wireless/broadcom/b43/main.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 1335 drivers/net/wireless/broadcom/b43/main.c u16 tmp; tmp 1347 drivers/net/wireless/broadcom/b43/main.c tmp = (v0 & 0x0000FFFF); tmp 1348 drivers/net/wireless/broadcom/b43/main.c stat.frame_count = ((tmp & 0xF000) >> 12); tmp 1349 drivers/net/wireless/broadcom/b43/main.c stat.rts_count = ((tmp & 0x0F00) >> 8); tmp 1350 drivers/net/wireless/broadcom/b43/main.c stat.supp_reason = ((tmp & 0x001C) >> 2); tmp 1351 drivers/net/wireless/broadcom/b43/main.c stat.pm_indicated = !!(tmp & 0x0080); tmp 1352 drivers/net/wireless/broadcom/b43/main.c stat.intermediate = !!(tmp & 0x0040); tmp 1353 drivers/net/wireless/broadcom/b43/main.c stat.for_ampdu = !!(tmp & 0x0020); tmp 1354 drivers/net/wireless/broadcom/b43/main.c stat.acked = !!(tmp & 0x0002); tmp 1420 drivers/net/wireless/broadcom/b43/main.c u16 tmp; tmp 1468 drivers/net/wireless/broadcom/b43/main.c tmp = b43_shm_read16(dev, B43_SHM_SHARED, 0x40C); tmp 1469 drivers/net/wireless/broadcom/b43/main.c tmp = (tmp / 128) & 0x1F; tmp 1470 drivers/net/wireless/broadcom/b43/main.c if (tmp >= 8) tmp 1474 drivers/net/wireless/broadcom/b43/main.c if (tmp == 8) tmp 1511 drivers/net/wireless/broadcom/b43/main.c u32 tmp; tmp 1516 drivers/net/wireless/broadcom/b43/main.c tmp = b43_read32(dev, B43_MMIO_PS_STATUS); tmp 1517 drivers/net/wireless/broadcom/b43/main.c if (!(tmp & 0x00000008)) tmp 1529 drivers/net/wireless/broadcom/b43/main.c u32 i, tmp; tmp 1539 drivers/net/wireless/broadcom/b43/main.c tmp = (u32) (data[0]) << 16; tmp 1540 drivers/net/wireless/broadcom/b43/main.c tmp |= (u32) (data[1]) << 24; tmp 1541 drivers/net/wireless/broadcom/b43/main.c b43_ram_write(dev, ram_offset, tmp); tmp 1544 drivers/net/wireless/broadcom/b43/main.c tmp = (u32) (data[i + 0]); tmp 1546 drivers/net/wireless/broadcom/b43/main.c tmp |= (u32) (data[i + 1]) << 8; tmp 1548 drivers/net/wireless/broadcom/b43/main.c tmp |= (u32) (data[i + 2]) << 16; tmp 1550 drivers/net/wireless/broadcom/b43/main.c tmp |= (u32) (data[i + 3]) << 24; tmp 1551 drivers/net/wireless/broadcom/b43/main.c b43_ram_write(dev, ram_offset + i - 2, tmp); tmp 1915 drivers/net/wireless/broadcom/b43/main.c u16 tmp = b43_shm_read16(dev, B43_SHM_SHARED, i); tmp 1916 drivers/net/wireless/broadcom/b43/main.c buf[i / 2] = cpu_to_le16(tmp); tmp 1928 drivers/net/wireless/broadcom/b43/main.c u16 tmp = b43_shm_read16(dev, B43_SHM_SCRATCH, i); tmp 1931 drivers/net/wireless/broadcom/b43/main.c printk("r%02u: 0x%04X ", i, tmp); tmp 2611 drivers/net/wireless/broadcom/b43/main.c u32 tmp, macctl; tmp 2657 drivers/net/wireless/broadcom/b43/main.c tmp = b43_read32(dev, B43_MMIO_GEN_IRQ_REASON); tmp 2658 drivers/net/wireless/broadcom/b43/main.c if (tmp == B43_IRQ_MAC_SUSPENDED) tmp 2978 drivers/net/wireless/broadcom/b43/main.c u32 tmp; tmp 2989 drivers/net/wireless/broadcom/b43/main.c tmp = b43_read32(dev, B43_MMIO_GEN_IRQ_REASON); tmp 2990 drivers/net/wireless/broadcom/b43/main.c if (tmp & B43_IRQ_MAC_SUSPENDED) tmp 2996 drivers/net/wireless/broadcom/b43/main.c tmp = b43_read32(dev, B43_MMIO_GEN_IRQ_REASON); tmp 2997 drivers/net/wireless/broadcom/b43/main.c if (tmp & B43_IRQ_MAC_SUSPENDED) tmp 3010 drivers/net/wireless/broadcom/b43/main.c u32 tmp; tmp 3015 drivers/net/wireless/broadcom/b43/main.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 3017 drivers/net/wireless/broadcom/b43/main.c tmp |= B43_BCMA_IOCTL_MACPHYCLKEN; tmp 3019 drivers/net/wireless/broadcom/b43/main.c tmp &= ~B43_BCMA_IOCTL_MACPHYCLKEN; tmp 3020 drivers/net/wireless/broadcom/b43/main.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 3025 drivers/net/wireless/broadcom/b43/main.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); tmp 3027 drivers/net/wireless/broadcom/b43/main.c tmp |= B43_TMSLOW_MACPHYCLKEN; tmp 3029 drivers/net/wireless/broadcom/b43/main.c tmp &= ~B43_TMSLOW_MACPHYCLKEN; tmp 3030 drivers/net/wireless/broadcom/b43/main.c ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp); tmp 3211 drivers/net/wireless/broadcom/b43/main.c u16 tmp; tmp 3216 drivers/net/wireless/broadcom/b43/main.c tmp = b43_shm_read16(dev, B43_SHM_SHARED, B43_SHM_SH_ACKCTSPHYCTL); tmp 3217 drivers/net/wireless/broadcom/b43/main.c tmp = (tmp & ~B43_TXH_PHY_ANT) | ant; tmp 3218 drivers/net/wireless/broadcom/b43/main.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_ACKCTSPHYCTL, tmp); tmp 3220 drivers/net/wireless/broadcom/b43/main.c tmp = b43_shm_read16(dev, B43_SHM_SHARED, B43_SHM_SH_PRPHYCTL); tmp 3221 drivers/net/wireless/broadcom/b43/main.c tmp = (tmp & ~B43_TXH_PHY_ANT) | ant; tmp 3222 drivers/net/wireless/broadcom/b43/main.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_PRPHYCTL, tmp); tmp 3649 drivers/net/wireless/broadcom/b43/main.c int bslots, tmp; tmp 3669 drivers/net/wireless/broadcom/b43/main.c tmp = b43_shm_read16(dev, B43_SHM_SHARED, tmp 3672 drivers/net/wireless/broadcom/b43/main.c tmp |= 0x100; tmp 3675 drivers/net/wireless/broadcom/b43/main.c tmp); tmp 3885 drivers/net/wireless/broadcom/b43/main.c u32 tmp; tmp 3923 drivers/net/wireless/broadcom/b43/main.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 3925 drivers/net/wireless/broadcom/b43/main.c tmp |= B43_BCMA_IOCTL_GMODE; tmp 3927 drivers/net/wireless/broadcom/b43/main.c tmp &= ~B43_BCMA_IOCTL_GMODE; tmp 3928 drivers/net/wireless/broadcom/b43/main.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 3933 drivers/net/wireless/broadcom/b43/main.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); tmp 3935 drivers/net/wireless/broadcom/b43/main.c tmp |= B43_TMSLOW_GMODE; tmp 3937 drivers/net/wireless/broadcom/b43/main.c tmp &= ~B43_TMSLOW_GMODE; tmp 3938 drivers/net/wireless/broadcom/b43/main.c ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp); tmp 4470 drivers/net/wireless/broadcom/b43/main.c u32 tmp; tmp 4481 drivers/net/wireless/broadcom/b43/main.c tmp = b43_read16(dev, B43_MMIO_PHY_VER); tmp 4482 drivers/net/wireless/broadcom/b43/main.c analog_type = (tmp & B43_PHYVER_ANALOG) >> B43_PHYVER_ANALOG_SHIFT; tmp 4483 drivers/net/wireless/broadcom/b43/main.c phy_type = (tmp & B43_PHYVER_TYPE) >> B43_PHYVER_TYPE_SHIFT; tmp 4484 drivers/net/wireless/broadcom/b43/main.c phy_rev = (tmp & B43_PHYVER_VERSION); tmp 4555 drivers/net/wireless/broadcom/b43/main.c for (tmp = 0; tmp < 3; tmp++) { tmp 4556 drivers/net/wireless/broadcom/b43/main.c b43_write16f(dev, B43_MMIO_RADIO24_CONTROL, tmp); tmp 4557 drivers/net/wireless/broadcom/b43/main.c radio24[tmp] = b43_read16(dev, B43_MMIO_RADIO24_DATA); tmp 4567 drivers/net/wireless/broadcom/b43/main.c tmp = 0x3205017F; tmp 4569 drivers/net/wireless/broadcom/b43/main.c tmp = 0x4205017F; tmp 4571 drivers/net/wireless/broadcom/b43/main.c tmp = 0x5205017F; tmp 4575 drivers/net/wireless/broadcom/b43/main.c tmp = b43_read16(dev, B43_MMIO_RADIO_DATA_LOW); tmp 4578 drivers/net/wireless/broadcom/b43/main.c tmp |= b43_read16(dev, B43_MMIO_RADIO_DATA_HIGH) << 16; tmp 4580 drivers/net/wireless/broadcom/b43/main.c radio_manuf = (tmp & 0x00000FFF); tmp 4581 drivers/net/wireless/broadcom/b43/main.c radio_id = (tmp & 0x0FFFF000) >> 12; tmp 4582 drivers/net/wireless/broadcom/b43/main.c radio_rev = (tmp & 0xF0000000) >> 28; tmp 4716 drivers/net/wireless/broadcom/b43/main.c u32 tmp; tmp 4729 drivers/net/wireless/broadcom/b43/main.c tmp = ssb_read32(dev->dev->sdev, SSB_IMCFGLO); tmp 4730 drivers/net/wireless/broadcom/b43/main.c tmp &= ~SSB_IMCFGLO_REQTO; tmp 4731 drivers/net/wireless/broadcom/b43/main.c tmp &= ~SSB_IMCFGLO_SERTO; tmp 4732 drivers/net/wireless/broadcom/b43/main.c tmp |= 0x3; tmp 4733 drivers/net/wireless/broadcom/b43/main.c ssb_write32(dev->dev->sdev, SSB_IMCFGLO, tmp); tmp 5368 drivers/net/wireless/broadcom/b43/main.c u32 tmp; tmp 5390 drivers/net/wireless/broadcom/b43/main.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOST); tmp 5391 drivers/net/wireless/broadcom/b43/main.c have_2ghz_phy = !!(tmp & B43_BCMA_IOST_2G_PHY); tmp 5392 drivers/net/wireless/broadcom/b43/main.c have_5ghz_phy = !!(tmp & B43_BCMA_IOST_5G_PHY); tmp 5398 drivers/net/wireless/broadcom/b43/main.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSHIGH); tmp 5399 drivers/net/wireless/broadcom/b43/main.c have_2ghz_phy = !!(tmp & B43_TMSHIGH_HAVE_2GHZ_PHY); tmp 5400 drivers/net/wireless/broadcom/b43/main.c have_5ghz_phy = !!(tmp & B43_TMSHIGH_HAVE_5GHZ_PHY); tmp 334 drivers/net/wireless/broadcom/b43/phy_common.c u32 tmp; tmp 339 drivers/net/wireless/broadcom/b43/phy_common.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 340 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~B43_BCMA_IOCTL_GMODE; tmp 341 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= B43_BCMA_IOCTL_PHY_RESET; tmp 342 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= BCMA_IOCTL_FGC; tmp 343 drivers/net/wireless/broadcom/b43/phy_common.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 346 drivers/net/wireless/broadcom/b43/phy_common.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 347 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~BCMA_IOCTL_FGC; tmp 348 drivers/net/wireless/broadcom/b43/phy_common.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 354 drivers/net/wireless/broadcom/b43/phy_common.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); tmp 355 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~B43_TMSLOW_GMODE; tmp 356 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= B43_TMSLOW_PHYRESET; tmp 357 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= SSB_TMSLOW_FGC; tmp 358 drivers/net/wireless/broadcom/b43/phy_common.c ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp); tmp 361 drivers/net/wireless/broadcom/b43/phy_common.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); tmp 362 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~SSB_TMSLOW_FGC; tmp 363 drivers/net/wireless/broadcom/b43/phy_common.c ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp); tmp 373 drivers/net/wireless/broadcom/b43/phy_common.c u32 tmp; tmp 379 drivers/net/wireless/broadcom/b43/phy_common.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 380 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~B43_BCMA_IOCTL_PHY_RESET; tmp 381 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~B43_BCMA_IOCTL_PHY_CLKEN; tmp 382 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= BCMA_IOCTL_FGC; tmp 383 drivers/net/wireless/broadcom/b43/phy_common.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 387 drivers/net/wireless/broadcom/b43/phy_common.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 388 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~BCMA_IOCTL_FGC; tmp 389 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= B43_BCMA_IOCTL_PHY_CLKEN; tmp 390 drivers/net/wireless/broadcom/b43/phy_common.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 397 drivers/net/wireless/broadcom/b43/phy_common.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); tmp 398 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~B43_TMSLOW_PHYRESET; tmp 399 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~B43_TMSLOW_PHYCLKEN; tmp 400 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= SSB_TMSLOW_FGC; tmp 401 drivers/net/wireless/broadcom/b43/phy_common.c ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp); tmp 405 drivers/net/wireless/broadcom/b43/phy_common.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); tmp 406 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~SSB_TMSLOW_FGC; tmp 407 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= B43_TMSLOW_PHYCLKEN; tmp 408 drivers/net/wireless/broadcom/b43/phy_common.c ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp); tmp 515 drivers/net/wireless/broadcom/b43/phy_common.c u32 tmp; tmp 517 drivers/net/wireless/broadcom/b43/phy_common.c tmp = b43_shm_read32(dev, B43_SHM_SHARED, shm_offset); tmp 518 drivers/net/wireless/broadcom/b43/phy_common.c a = tmp & 0xFF; tmp 519 drivers/net/wireless/broadcom/b43/phy_common.c b = (tmp >> 8) & 0xFF; tmp 520 drivers/net/wireless/broadcom/b43/phy_common.c c = (tmp >> 16) & 0xFF; tmp 521 drivers/net/wireless/broadcom/b43/phy_common.c d = (tmp >> 24) & 0xFF; tmp 528 drivers/net/wireless/broadcom/b43/phy_common.c tmp = B43_TSSI_MAX | (B43_TSSI_MAX << 8) | tmp 530 drivers/net/wireless/broadcom/b43/phy_common.c b43_shm_write32(dev, B43_SHM_SHARED, shm_offset, tmp); tmp 565 drivers/net/wireless/broadcom/b43/phy_common.c u32 tmp; tmp 574 drivers/net/wireless/broadcom/b43/phy_common.c tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); tmp 576 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= BCMA_IOCTL_FGC; tmp 578 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~BCMA_IOCTL_FGC; tmp 579 drivers/net/wireless/broadcom/b43/phy_common.c bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); tmp 584 drivers/net/wireless/broadcom/b43/phy_common.c tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); tmp 586 drivers/net/wireless/broadcom/b43/phy_common.c tmp |= SSB_TMSLOW_FGC; tmp 588 drivers/net/wireless/broadcom/b43/phy_common.c tmp &= ~SSB_TMSLOW_FGC; tmp 589 drivers/net/wireless/broadcom/b43/phy_common.c ssb_write32(dev->dev->sdev, SSB_TMSLOW, tmp); tmp 57 drivers/net/wireless/broadcom/b43/phy_g.c #define bitrev4(tmp) (bitrev8(tmp) >> 4) tmp 276 drivers/net/wireless/broadcom/b43/phy_g.c u16 tmp; tmp 283 drivers/net/wireless/broadcom/b43/phy_g.c tmp = lo->bbatt_list.list[bb].att; tmp 284 drivers/net/wireless/broadcom/b43/phy_g.c tmp <<= 8; tmp 286 drivers/net/wireless/broadcom/b43/phy_g.c tmp |= 0x50; tmp 288 drivers/net/wireless/broadcom/b43/phy_g.c tmp |= 0x40; tmp 289 drivers/net/wireless/broadcom/b43/phy_g.c tmp |= lo->rfatt_list.list[rf].att; tmp 290 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_write(dev, 0x3C0 + nr_written, tmp); tmp 302 drivers/net/wireless/broadcom/b43/phy_g.c u16 tmp; tmp 320 drivers/net/wireless/broadcom/b43/phy_g.c tmp = ((u16) third << 14) | ((u16) third << 6); tmp 321 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_maskset(dev, 0x04A0, 0xBFBF, tmp); tmp 322 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_maskset(dev, 0x04A1, 0xBFBF, tmp); tmp 323 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_maskset(dev, 0x04A2, 0xBFBF, tmp); tmp 331 drivers/net/wireless/broadcom/b43/phy_g.c u16 i, tmp; tmp 344 drivers/net/wireless/broadcom/b43/phy_g.c tmp = (i & 0xFFFC); tmp 345 drivers/net/wireless/broadcom/b43/phy_g.c tmp |= (i & 0x0001) << 1; tmp 346 drivers/net/wireless/broadcom/b43/phy_g.c tmp |= (i & 0x0002) >> 1; tmp 348 drivers/net/wireless/broadcom/b43/phy_g.c b43_ofdmtab_write16(dev, table, i, tmp); tmp 382 drivers/net/wireless/broadcom/b43/phy_g.c s16 tmp; tmp 385 drivers/net/wireless/broadcom/b43/phy_g.c tmp = b43_nrssi_hw_read(dev, i); tmp 386 drivers/net/wireless/broadcom/b43/phy_g.c tmp -= val; tmp 387 drivers/net/wireless/broadcom/b43/phy_g.c tmp = clamp_val(tmp, -32, 31); tmp 388 drivers/net/wireless/broadcom/b43/phy_g.c b43_nrssi_hw_write(dev, i, tmp); tmp 397 drivers/net/wireless/broadcom/b43/phy_g.c s32 tmp; tmp 401 drivers/net/wireless/broadcom/b43/phy_g.c tmp = (i - delta) * gphy->nrssislope; tmp 402 drivers/net/wireless/broadcom/b43/phy_g.c tmp /= 0x10000; tmp 403 drivers/net/wireless/broadcom/b43/phy_g.c tmp += 0x3A; tmp 404 drivers/net/wireless/broadcom/b43/phy_g.c tmp = clamp_val(tmp, 0, 0x3F); tmp 405 drivers/net/wireless/broadcom/b43/phy_g.c gphy->nrssi_lt[i] = tmp; tmp 561 drivers/net/wireless/broadcom/b43/phy_g.c u16 tmp; tmp 643 drivers/net/wireless/broadcom/b43/phy_g.c tmp = b43_radio_read16(dev, 0x0052) & 0xFF0F; tmp 644 drivers/net/wireless/broadcom/b43/phy_g.c b43_radio_write16(dev, 0x0052, tmp | 0x0060); tmp 645 drivers/net/wireless/broadcom/b43/phy_g.c tmp = b43_radio_read16(dev, 0x0043) & 0xFFF0; tmp 646 drivers/net/wireless/broadcom/b43/phy_g.c b43_radio_write16(dev, 0x0043, tmp | 0x0009); tmp 830 drivers/net/wireless/broadcom/b43/phy_g.c u16 tmp, flipped; tmp 842 drivers/net/wireless/broadcom/b43/phy_g.c tmp = (b43_radio_read16(dev, 0x0078) & 0x001E); tmp 843 drivers/net/wireless/broadcom/b43/phy_g.c B43_WARN_ON(tmp > 15); tmp 844 drivers/net/wireless/broadcom/b43/phy_g.c flipped = bitrev4(tmp); tmp 2001 drivers/net/wireless/broadcom/b43/phy_g.c u16 tmp; tmp 2024 drivers/net/wireless/broadcom/b43/phy_g.c tmp = b43_phy_read(dev, B43_PHY_VERSION_OFDM); tmp 2025 drivers/net/wireless/broadcom/b43/phy_g.c tmp &= B43_PHYVER_VERSION; tmp 2026 drivers/net/wireless/broadcom/b43/phy_g.c if (tmp == 3 || tmp == 5) { tmp 2030 drivers/net/wireless/broadcom/b43/phy_g.c if (tmp == 5) { tmp 2655 drivers/net/wireless/broadcom/b43/phy_g.c u16 tmp; tmp 2668 drivers/net/wireless/broadcom/b43/phy_g.c tmp = b43_phy_read(dev, B43_PHY_ANTDWELL); tmp 2670 drivers/net/wireless/broadcom/b43/phy_g.c tmp &= ~B43_PHY_ANTDWELL_AUTODIV1; tmp 2672 drivers/net/wireless/broadcom/b43/phy_g.c tmp |= B43_PHY_ANTDWELL_AUTODIV1; tmp 2673 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_write(dev, B43_PHY_ANTDWELL, tmp); tmp 2676 drivers/net/wireless/broadcom/b43/phy_g.c tmp = b43_phy_read(dev, B43_PHY_ANTWRSETT); tmp 2678 drivers/net/wireless/broadcom/b43/phy_g.c tmp |= B43_PHY_ANTWRSETT_ARXDIV; tmp 2680 drivers/net/wireless/broadcom/b43/phy_g.c tmp &= ~B43_PHY_ANTWRSETT_ARXDIV; tmp 2681 drivers/net/wireless/broadcom/b43/phy_g.c b43_phy_write(dev, B43_PHY_ANTWRSETT, tmp); tmp 2756 drivers/net/wireless/broadcom/b43/phy_g.c s32 tmp; tmp 2758 drivers/net/wireless/broadcom/b43/phy_g.c tmp = (gphy->tgt_idle_tssi - gphy->cur_idle_tssi + tssi); tmp 2759 drivers/net/wireless/broadcom/b43/phy_g.c tmp = clamp_val(tmp, 0x00, 0x3F); tmp 2760 drivers/net/wireless/broadcom/b43/phy_g.c dbm = gphy->tssi2dbm[tmp]; tmp 222 drivers/net/wireless/broadcom/b43/phy_ht.c u16 tmp; tmp 227 drivers/net/wireless/broadcom/b43/phy_ht.c tmp = b43_phy_read(dev, B43_PHY_HT_CLASS_CTL); tmp 228 drivers/net/wireless/broadcom/b43/phy_ht.c tmp &= allowed; tmp 229 drivers/net/wireless/broadcom/b43/phy_ht.c tmp &= ~mask; tmp 230 drivers/net/wireless/broadcom/b43/phy_ht.c tmp |= (val & mask); tmp 231 drivers/net/wireless/broadcom/b43/phy_ht.c b43_phy_maskset(dev, B43_PHY_HT_CLASS_CTL, ~allowed, tmp); tmp 233 drivers/net/wireless/broadcom/b43/phy_ht.c return tmp; tmp 313 drivers/net/wireless/broadcom/b43/phy_ht.c u16 tmp; tmp 315 drivers/net/wireless/broadcom/b43/phy_ht.c tmp = b43_read16(dev, B43_MMIO_PSM_PHY_HDR); tmp 317 drivers/net/wireless/broadcom/b43/phy_ht.c tmp | B43_PSM_HDR_MAC_PHY_FORCE_CLK); tmp 328 drivers/net/wireless/broadcom/b43/phy_ht.c b43_write16(dev, B43_MMIO_PSM_PHY_HDR, tmp); tmp 338 drivers/net/wireless/broadcom/b43/phy_ht.c u16 tmp; tmp 341 drivers/net/wireless/broadcom/b43/phy_ht.c tmp = b43_phy_read(dev, B43_PHY_HT_SAMP_STAT); tmp 342 drivers/net/wireless/broadcom/b43/phy_ht.c if (tmp & 0x1) tmp 344 drivers/net/wireless/broadcom/b43/phy_ht.c else if (tmp & 0x2) tmp 479 drivers/net/wireless/broadcom/b43/phy_ht.c u16 tmp[3]; tmp 491 drivers/net/wireless/broadcom/b43/phy_ht.c tmp[0] = b43_phy_read(dev, B43_PHY_HT_RSSI_C1); tmp 492 drivers/net/wireless/broadcom/b43/phy_ht.c tmp[1] = b43_phy_read(dev, B43_PHY_HT_RSSI_C2); tmp 493 drivers/net/wireless/broadcom/b43/phy_ht.c tmp[2] = b43_phy_read(dev, B43_PHY_HT_RSSI_C3); tmp 495 drivers/net/wireless/broadcom/b43/phy_ht.c buf[0] += ((s8)((tmp[0] & 0x3F) << 2)) >> 2; tmp 496 drivers/net/wireless/broadcom/b43/phy_ht.c buf[1] += ((s8)(((tmp[0] >> 8) & 0x3F) << 2)) >> 2; tmp 497 drivers/net/wireless/broadcom/b43/phy_ht.c buf[2] += ((s8)((tmp[1] & 0x3F) << 2)) >> 2; tmp 498 drivers/net/wireless/broadcom/b43/phy_ht.c buf[3] += ((s8)(((tmp[1] >> 8) & 0x3F) << 2)) >> 2; tmp 499 drivers/net/wireless/broadcom/b43/phy_ht.c buf[4] += ((s8)((tmp[2] & 0x3F) << 2)) >> 2; tmp 500 drivers/net/wireless/broadcom/b43/phy_ht.c buf[5] += ((s8)(((tmp[2] >> 8) & 0x3F) << 2)) >> 2; tmp 517 drivers/net/wireless/broadcom/b43/phy_ht.c u32 tmp = b43_httab_read(dev, B43_HTTAB32(26, 0xE8)); tmp 525 drivers/net/wireless/broadcom/b43/phy_ht.c b43_httab_write(dev, B43_HTTAB16(7, 0x110 + i), tmp >> 16); tmp 527 drivers/net/wireless/broadcom/b43/phy_ht.c tmp & 0xFF); tmp 529 drivers/net/wireless/broadcom/b43/phy_ht.c tmp & 0xFF); tmp 872 drivers/net/wireless/broadcom/b43/phy_ht.c u16 tmp; tmp 970 drivers/net/wireless/broadcom/b43/phy_ht.c tmp = b43_httab_read(dev, B43_HTTAB16(7, 0x144)); tmp 971 drivers/net/wireless/broadcom/b43/phy_ht.c b43_httab_write(dev, B43_HTTAB16(7, 0x14a), tmp); tmp 972 drivers/net/wireless/broadcom/b43/phy_ht.c tmp = b43_httab_read(dev, B43_HTTAB16(7, 0x154)); tmp 973 drivers/net/wireless/broadcom/b43/phy_ht.c b43_httab_write(dev, B43_HTTAB16(7, 0x15a), tmp); tmp 974 drivers/net/wireless/broadcom/b43/phy_ht.c tmp = b43_httab_read(dev, B43_HTTAB16(7, 0x164)); tmp 975 drivers/net/wireless/broadcom/b43/phy_ht.c b43_httab_write(dev, B43_HTTAB16(7, 0x16a), tmp); tmp 979 drivers/net/wireless/broadcom/b43/phy_ht.c tmp = b43_phy_read(dev, B43_PHY_HT_BBCFG); tmp 980 drivers/net/wireless/broadcom/b43/phy_ht.c b43_phy_write(dev, B43_PHY_HT_BBCFG, tmp | B43_PHY_HT_BBCFG_RSTCCA); tmp 981 drivers/net/wireless/broadcom/b43/phy_ht.c b43_phy_write(dev, B43_PHY_HT_BBCFG, tmp & ~B43_PHY_HT_BBCFG_RSTCCA); tmp 202 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp, tmp2; tmp 244 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = lpphy->rssi_vf | lpphy->rssi_vc << 4 | 0xA000; tmp 245 drivers/net/wireless/broadcom/b43/phy_lp.c b43_phy_write(dev, B43_LPPHY_AFE_RSSI_CTL_0, tmp); tmp 331 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_phy_read(dev, B43_LPPHY_CLIPCTRTHRESH); tmp 332 drivers/net/wireless/broadcom/b43/phy_lp.c tmp2 = (tmp & 0x03E0) >> 5; tmp 335 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_phy_read(dev, B43_LPPHY_GAINDIRECTMISMATCH); tmp 336 drivers/net/wireless/broadcom/b43/phy_lp.c tmp2 = (tmp & 0x1F00) >> 8; tmp 339 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_phy_read(dev, B43_LPPHY_VERYLOWGAINDB); tmp 340 drivers/net/wireless/broadcom/b43/phy_lp.c tmp2 = tmp & 0x00FF; tmp 341 drivers/net/wireless/broadcom/b43/phy_lp.c tmp2 |= tmp << 8; tmp 505 drivers/net/wireless/broadcom/b43/phy_lp.c u32 crystalfreq, tmp, ref; tmp 557 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = (((800000000 * lpphy->pdiv + crystalfreq) / tmp 559 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2062_S_RFPLL_CTL7, tmp); tmp 561 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = (((100 * crystalfreq + 16000000 * lpphy->pdiv) / tmp 563 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2062_S_RFPLL_CTL18, tmp); tmp 565 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = (((2 * crystalfreq + 1000000 * lpphy->pdiv) / tmp 567 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2062_S_RFPLL_CTL19, tmp); tmp 655 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp; tmp 659 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_radio_read(dev, e->rf_addr); tmp 660 drivers/net/wireless/broadcom/b43/phy_lp.c tmp >>= e->rf_shift; tmp 661 drivers/net/wireless/broadcom/b43/phy_lp.c tmp <<= e->phy_shift; tmp 663 drivers/net/wireless/broadcom/b43/phy_lp.c ~(e->mask << e->phy_shift), tmp); tmp 848 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp; tmp 852 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_phy_read(dev, tmp 854 drivers/net/wireless/broadcom/b43/phy_lp.c gains.gm = tmp & 0x0007; tmp 855 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pga = (tmp & 0x0078) >> 3; tmp 856 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pad = (tmp & 0x780) >> 7; tmp 858 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_phy_read(dev, B43_LPPHY_TX_GAIN_CTL_OVERRIDE_VAL); tmp 860 drivers/net/wireless/broadcom/b43/phy_lp.c gains.gm = tmp & 0xFF; tmp 861 drivers/net/wireless/broadcom/b43/phy_lp.c gains.pga = (tmp >> 8) & 0xFF; tmp 933 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp; tmp 943 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = (gain >> 2) & 0x3; tmp 945 drivers/net/wireless/broadcom/b43/phy_lp.c 0xE7FF, tmp<<11); tmp 946 drivers/net/wireless/broadcom/b43/phy_lp.c b43_phy_maskset(dev, B43_PHY_OFDM(0xE6), 0xFFE7, tmp << 3); tmp 1030 drivers/net/wireless/broadcom/b43/phy_lp.c u32 tmp; tmp 1049 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = (iq_est.i_pwr + iq_est.q_pwr) / 1000; tmp 1050 drivers/net/wireless/broadcom/b43/phy_lp.c if ((tmp > 4000) && (tmp < 10000)) { tmp 1188 drivers/net/wireless/broadcom/b43/phy_lp.c u32 normal_pwr, ideal_pwr, mean_sq_pwr, tmp = 0, mean_sq_pwr_min = 0; tmp 1232 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = mean_sq_pwr; tmp 1234 drivers/net/wireless/broadcom/b43/phy_lp.c normal_pwr = lpphy_qdiv_roundup(mean_sq_pwr, tmp, 12); tmp 1276 drivers/net/wireless/broadcom/b43/phy_lp.c u8 tmp = b43_radio_read(dev, B2063_RX_BB_SP8) & 0xFF; tmp 1296 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2063_RX_BB_SP8, tmp); tmp 1298 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_radio_read(dev, B2063_TX_BB_SP3) & 0xFF; tmp 1323 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2063_TX_BB_SP3, tmp); tmp 1362 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp[2]; tmp 1364 drivers/net/wireless/broadcom/b43/phy_lp.c tmp[0] = a; tmp 1365 drivers/net/wireless/broadcom/b43/phy_lp.c tmp[1] = b; tmp 1366 drivers/net/wireless/broadcom/b43/phy_lp.c b43_lptab_write_bulk(dev, B43_LPTAB16(0, 80), 2, tmp); tmp 1447 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp = (channel == 14); //SPEC FIXME check japanwidefilter! tmp 1450 drivers/net/wireless/broadcom/b43/phy_lp.c b43_phy_maskset(dev, B43_LPPHY_LP_PHY_CTL, 0xFCFF, tmp << 9); tmp 1479 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp; tmp 1523 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_phy_read(dev, B43_LPPHY_TX_PWR_CTL_STAT); tmp 1524 drivers/net/wireless/broadcom/b43/phy_lp.c if (tmp & 0x8000) { tmp 1526 drivers/net/wireless/broadcom/b43/phy_lp.c 0xFFC0, (tmp & 0xFF) - 32); tmp 1845 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp; tmp 1892 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_phy_read(dev, B43_LPPHY_AFE_CTL_OVR) & 0x40; tmp 1897 drivers/net/wireless/broadcom/b43/phy_lp.c if (tmp) tmp 1921 drivers/net/wireless/broadcom/b43/phy_lp.c if (tmp) tmp 2462 drivers/net/wireless/broadcom/b43/phy_lp.c u16 tmp; tmp 2465 drivers/net/wireless/broadcom/b43/phy_lp.c tmp = b43_radio_read(dev, B2063_PLL_JTAG_CALNRST) & 0xF8; tmp 2466 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2063_PLL_JTAG_CALNRST, tmp); tmp 2468 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2063_PLL_JTAG_CALNRST, tmp | 0x4); tmp 2470 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2063_PLL_JTAG_CALNRST, tmp | 0x6); tmp 2472 drivers/net/wireless/broadcom/b43/phy_lp.c b43_radio_write(dev, B2063_PLL_JTAG_CALNRST, tmp | 0x7); tmp 202 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 226 drivers/net/wireless/broadcom/b43/phy_n.c tmp = value & 0xFF; tmp 227 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rf_ctl_override_rev7(dev, 0x0800, tmp, core, off, 0); tmp 228 drivers/net/wireless/broadcom/b43/phy_n.c tmp = value >> 8; tmp 229 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rf_ctl_override_rev7(dev, 0x6000, tmp, core, off, 0); tmp 232 drivers/net/wireless/broadcom/b43/phy_n.c tmp = value & 0x7FFF; tmp 233 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rf_ctl_override_rev7(dev, 0x1000, tmp, core, off, 0); tmp 234 drivers/net/wireless/broadcom/b43/phy_n.c tmp = value >> 14; tmp 235 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rf_ctl_override_rev7(dev, 0x4000, tmp, core, off, 0); tmp 320 drivers/net/wireless/broadcom/b43/phy_n.c u16 reg, tmp, tmp2, val; tmp 347 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0030; tmp 352 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_maskset(dev, reg, ~tmp, val); tmp 357 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0001; tmp 361 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0004; tmp 365 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_maskset(dev, reg, ~tmp, val); tmp 370 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0002; tmp 374 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0008; tmp 378 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_maskset(dev, reg, ~tmp, val); tmp 391 drivers/net/wireless/broadcom/b43/phy_n.c u16 reg, tmp, val; tmp 457 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0020; tmp 460 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0010; tmp 463 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_maskset(dev, reg, ~tmp, val); tmp 467 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0001; tmp 470 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0004; tmp 473 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_maskset(dev, reg, ~tmp, val); tmp 477 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0002; tmp 480 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0008; tmp 483 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_maskset(dev, reg, ~tmp, val); tmp 511 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 516 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_phy_read(dev, B43_NPHY_CLASSCTL); tmp 517 drivers/net/wireless/broadcom/b43/phy_n.c tmp &= (B43_NPHY_CLASSCTL_CCKEN | B43_NPHY_CLASSCTL_OFDMEN | tmp 519 drivers/net/wireless/broadcom/b43/phy_n.c tmp &= ~mask; tmp 520 drivers/net/wireless/broadcom/b43/phy_n.c tmp |= (val & mask); tmp 521 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_maskset(dev, B43_NPHY_CLASSCTL, 0xFFF8, tmp); tmp 526 drivers/net/wireless/broadcom/b43/phy_n.c return tmp; tmp 581 drivers/net/wireless/broadcom/b43/phy_n.c s16 tmp; tmp 595 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 40370 - 315 * dev->phy.channel; tmp 596 drivers/net/wireless/broadcom/b43/phy_n.c gain[0] = ((tmp >> 13) + ((tmp >> 12) & 1)); tmp 597 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 23242 - 224 * dev->phy.channel; tmp 598 drivers/net/wireless/broadcom/b43/phy_n.c gain[1] = ((tmp >> 13) + ((tmp >> 12) & 1)); tmp 829 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 887 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_radio_read(dev, R2057_RCAL_STATUS) & 0x3E; tmp 901 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_maskset(dev, R2057_TEMPSENSE_CONFIG, ~0x3C, tmp); tmp 903 drivers/net/wireless/broadcom/b43/phy_n.c tmp << 2); tmp 918 drivers/net/wireless/broadcom/b43/phy_n.c return tmp & 0x3e; tmp 929 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 991 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_radio_read(dev, R2057_RCCAL_DONE_OSCCAP); tmp 1001 drivers/net/wireless/broadcom/b43/phy_n.c return tmp; tmp 1303 drivers/net/wireless/broadcom/b43/phy_n.c u16 mast2, tmp; tmp 1323 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_radio_read(dev, B2056_SYN_RCAL_CODE_OUT); tmp 1328 drivers/net/wireless/broadcom/b43/phy_n.c return tmp & 0x1f; tmp 1581 drivers/net/wireless/broadcom/b43/phy_n.c u32 tmp; tmp 1606 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_ntab_read(dev, B43_NTAB16(15, 87)); tmp 1607 drivers/net/wireless/broadcom/b43/phy_n.c nphy->bb_mult_save = (tmp & 0xFFFF) | 0x80000000; tmp 1611 drivers/net/wireless/broadcom/b43/phy_n.c tmp = !b43_is_40mhz(dev) ? 0x6464 : 0x4747; tmp 1612 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write(dev, B43_NTAB16(15, 87), tmp); tmp 1631 drivers/net/wireless/broadcom/b43/phy_n.c tmp = dac_test ? 5 : 1; tmp 1632 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_SAMP_CMD, tmp); tmp 1659 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 1664 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ((scale & 0x3F) << 8) | (offset & 0x3F); tmp 1669 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0I_RSSI_Z, tmp); tmp 1671 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0Q_RSSI_Z, tmp); tmp 1673 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1I_RSSI_Z, tmp); tmp 1675 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1Q_RSSI_Z, tmp); tmp 1679 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0I_RSSI_X, tmp); tmp 1681 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0Q_RSSI_X, tmp); tmp 1683 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1I_RSSI_X, tmp); tmp 1685 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1Q_RSSI_X, tmp); tmp 1689 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0I_RSSI_Y, tmp); tmp 1691 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0Q_RSSI_Y, tmp); tmp 1693 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1I_RSSI_Y, tmp); tmp 1695 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1Q_RSSI_Y, tmp); tmp 1699 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0I_TBD, tmp); tmp 1701 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0Q_TBD, tmp); tmp 1703 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1I_TBD, tmp); tmp 1705 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1Q_TBD, tmp); tmp 1709 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0I_PWRDET, tmp); tmp 1711 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0Q_PWRDET, tmp); tmp 1713 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1I_PWRDET, tmp); tmp 1715 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1Q_PWRDET, tmp); tmp 1719 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0I_TSSI, tmp); tmp 1721 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1I_TSSI, tmp); tmp 1725 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_0Q_TSSI, tmp); tmp 1727 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RSSIMC_1Q_TSSI, tmp); tmp 2354 drivers/net/wireless/broadcom/b43/phy_n.c u8 tmp[4]; tmp 2356 drivers/net/wireless/broadcom/b43/phy_n.c tmp[j] = vcm; tmp 2358 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_set_rssi_2055_vcm(dev, type, tmp); tmp 2580 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 2667 drivers/net/wireless/broadcom/b43/phy_n.c tmp = j * (i < 2 ? 3 : 1); tmp 2669 drivers/net/wireless/broadcom/b43/phy_n.c B43_NPHY_TABLE_DATALO, tmp); tmp 3517 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 3522 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_phy_read(dev, B43_NPHY_SAMP_STAT); tmp 3523 drivers/net/wireless/broadcom/b43/phy_n.c if (tmp & 0x1) tmp 3525 drivers/net/wireless/broadcom/b43/phy_n.c else if (tmp & 0x2) tmp 3531 drivers/net/wireless/broadcom/b43/phy_n.c tmp = nphy->bb_mult_save & 0xFFFF; tmp 3532 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write(dev, B43_NTAB16(15, 87), tmp); tmp 3604 drivers/net/wireless/broadcom/b43/phy_n.c u16 bmask, val, tmp; tmp 3632 drivers/net/wireless/broadcom/b43/phy_n.c tmp = B43_NPHY_TXPCTL_CMD_COEFF | B43_NPHY_TXPCTL_CMD_HWPCTLEN; tmp 3634 drivers/net/wireless/broadcom/b43/phy_n.c tmp |= B43_NPHY_TXPCTL_CMD_PCTLEN; tmp 3635 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_mask(dev, B43_NPHY_TXPCTL_CMD, ~tmp); tmp 3743 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp, radio_gain, dac_gain; tmp 3823 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_ntab_read(dev, B43_NTAB16(0xF, 0x57)); tmp 3825 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (tmp & 0x00FF) | (bbmult << 8); tmp 3827 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (tmp & 0xFF00) | bbmult; tmp 3828 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write(dev, B43_NTAB16(0xF, 0x57), tmp); tmp 3936 drivers/net/wireless/broadcom/b43/phy_n.c u32 tmp; tmp 3955 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_nphy_poll_rssi(dev, N_RSSI_TSSI_2G, rssi, 1); tmp 3971 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[0].idle_tssi_5g = (tmp >> 24) & 0xFF; tmp 3972 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[1].idle_tssi_5g = (tmp >> 8) & 0xFF; tmp 3974 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[0].idle_tssi_5g = (tmp >> 16) & 0xFF; tmp 3975 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[1].idle_tssi_5g = tmp & 0xFF; tmp 3977 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[0].idle_tssi_2g = (tmp >> 24) & 0xFF; tmp 3978 drivers/net/wireless/broadcom/b43/phy_n.c nphy->pwr_ctl_info[1].idle_tssi_2g = (tmp >> 8) & 0xFF; tmp 4057 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 4148 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (b43_current_band(dev->wl) == NL80211_BAND_5GHZ) ? 0xC : 0xE; tmp 4150 drivers/net/wireless/broadcom/b43/phy_n.c B2056_TX0 | B2056_TX_TX_SSI_MUX, tmp); tmp 4152 drivers/net/wireless/broadcom/b43/phy_n.c B2056_TX1 | B2056_TX_TX_SSI_MUX, tmp); tmp 4280 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 4289 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x1480; tmp 4292 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x600; tmp 4294 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x480; tmp 4297 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x180; tmp 4299 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x120; tmp 4301 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RFCTL_INTC1, tmp); tmp 4302 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RFCTL_INTC2, tmp); tmp 4317 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 4323 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_is_40mhz(dev) ? 5 : 4; tmp 4325 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_is_40mhz(dev) ? 3 : 1; tmp 4327 drivers/net/wireless/broadcom/b43/phy_n.c (tmp << 9) | (tmp << 6) | (tmp << 3) | tmp); tmp 4330 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_is_40mhz(dev) ? 4 : 1; tmp 4332 drivers/net/wireless/broadcom/b43/phy_n.c (tmp << 9) | (tmp << 6) | (tmp << 3) | tmp); tmp 4341 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 4353 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_phy_read(dev, B43_NPHY_IQEST_CMD); tmp 4354 drivers/net/wireless/broadcom/b43/phy_n.c if (!(tmp & B43_NPHY_IQEST_CMD_START)) { tmp 4488 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp, a, b; tmp 4527 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ii >> arsh; tmp 4530 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ii << -arsh; tmp 4532 drivers/net/wireless/broadcom/b43/phy_n.c if (tmp == 0) { tmp 4536 drivers/net/wireless/broadcom/b43/phy_n.c a /= tmp; tmp 4541 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ii >> brsh; tmp 4544 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ii << -brsh; tmp 4546 drivers/net/wireless/broadcom/b43/phy_n.c if (tmp == 0) { tmp 4550 drivers/net/wireless/broadcom/b43/phy_n.c b = int_sqrt(b / tmp - a * a) - (1 << 10); tmp 4653 drivers/net/wireless/broadcom/b43/phy_n.c u32 tmp; tmp 4664 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ((buffer[i * 2] & 0x3FF) << 10) | tmp 4670 drivers/net/wireless/broadcom/b43/phy_n.c ((tmp >> 16) & 0xFFFF)); tmp 4672 drivers/net/wireless/broadcom/b43/phy_n.c (tmp & 0xFFFF)); tmp 4677 drivers/net/wireless/broadcom/b43/phy_n.c tmp = buffer[5 + i]; tmp 4678 drivers/net/wireless/broadcom/b43/phy_n.c real_part = (tmp >> 8) & 0xFF; tmp 4679 drivers/net/wireless/broadcom/b43/phy_n.c imag_part = (tmp & 0xFF); tmp 4686 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ((cur_real & 0xFF) << 8) | (cur_imag & 0xFF); tmp 4693 drivers/net/wireless/broadcom/b43/phy_n.c tmp = ((cur_real & 0xFF) << 8) | tmp 4697 drivers/net/wireless/broadcom/b43/phy_n.c ((tmp >> 16) & 0xFFFF)); tmp 4699 drivers/net/wireless/broadcom/b43/phy_n.c (tmp & 0xFFFF)); tmp 4778 drivers/net/wireless/broadcom/b43/phy_n.c u16 r, tmp; tmp 4803 drivers/net/wireless/broadcom/b43/phy_n.c tmp = true ? 0x31 : 0x21; /* TODO */ tmp 4804 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, r + R2057_TX0_TSSIA, tmp); tmp 4817 drivers/net/wireless/broadcom/b43/phy_n.c tmp = true ? 0x31 : 0x21; /* TODO */ tmp 4818 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, r + R2057_TX0_TSSIG, tmp); tmp 4831 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 4840 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (i == 0) ? 0x2000 : 0x3000; tmp 4856 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_RVARCTL, 0x0A); tmp 4857 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_LPOCTL, 0x40); tmp 4858 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_TS, 0x55); tmp 4859 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_RCCALRTS, 0); tmp 4860 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_RCALRTS, 0); tmp 4862 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_PADDRV, 4); tmp 4863 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_XOCTL1, 1); tmp 4865 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_PADDRV, 0); tmp 4866 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_XOCTL1, 0x2F); tmp 4868 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_XOCTL2, 0); tmp 4870 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_RVARCTL, 0x06); tmp 4871 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_LPOCTL, 0x40); tmp 4872 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_TS, 0x55); tmp 4873 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_RCCALRTS, 0); tmp 4874 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_CAL_RCALRTS, 0); tmp 4875 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_XOCTL1, 0); tmp 4877 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_PADDRV, 6); tmp 4878 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_XOCTL2, tmp 4881 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_PADDRV, 0); tmp 4882 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_XOCTL2, 0); tmp 4885 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_XOREGUL, 0); tmp 4886 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_XOMISC, 0); tmp 4887 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_write(dev, tmp | B2055_PLL_LFC1, 0); tmp 4931 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp = nphy->txcal_bbmult; tmp 4933 drivers/net/wireless/broadcom/b43/phy_n.c tmp >>= 8; tmp 4934 drivers/net/wireless/broadcom/b43/phy_n.c tmp &= 0xff; tmp 4937 drivers/net/wireless/broadcom/b43/phy_n.c scale = (ladder_lo[i].percent * tmp) / 100; tmp 4941 drivers/net/wireless/broadcom/b43/phy_n.c scale = (ladder_iq[i].percent * tmp) / 100; tmp 5115 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 5123 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_phy_read(dev, B43_NPHY_AFECTL_OVER1); tmp 5124 drivers/net/wireless/broadcom/b43/phy_n.c regs[2] = tmp; tmp 5125 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_AFECTL_OVER1, tmp | 0x0600); tmp 5127 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_phy_read(dev, B43_NPHY_AFECTL_OVER); tmp 5128 drivers/net/wireless/broadcom/b43/phy_n.c regs[3] = tmp; tmp 5129 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_AFECTL_OVER, tmp | 0x0600); tmp 5135 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_ntab_read(dev, B43_NTAB16(8, 3)); tmp 5136 drivers/net/wireless/broadcom/b43/phy_n.c regs[5] = tmp; tmp 5139 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_ntab_read(dev, B43_NTAB16(8, 19)); tmp 5140 drivers/net/wireless/broadcom/b43/phy_n.c regs[6] = tmp; tmp 5159 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_nphy_read_lpf_ctl(dev, 0); tmp 5161 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rf_ctl_override_rev19(dev, 0x80, tmp, 0, false, tmp 5164 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rf_ctl_override_rev7(dev, 0x80, tmp, 0, false, tmp 5188 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_phy_read(dev, B43_NPHY_AFECTL_OVER); tmp 5189 drivers/net/wireless/broadcom/b43/phy_n.c regs[2] = tmp; tmp 5190 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_AFECTL_OVER, tmp | 0x3000); tmp 5191 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_ntab_read(dev, B43_NTAB16(8, 2)); tmp 5192 drivers/net/wireless/broadcom/b43/phy_n.c regs[3] = tmp; tmp 5193 drivers/net/wireless/broadcom/b43/phy_n.c tmp |= 0x2000; tmp 5194 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write(dev, B43_NTAB16(8, 2), tmp); tmp 5195 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_ntab_read(dev, B43_NTAB16(8, 18)); tmp 5196 drivers/net/wireless/broadcom/b43/phy_n.c regs[4] = tmp; tmp 5197 drivers/net/wireless/broadcom/b43/phy_n.c tmp |= 0x2000; tmp 5198 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write(dev, B43_NTAB16(8, 18), tmp); tmp 5202 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0180; tmp 5204 drivers/net/wireless/broadcom/b43/phy_n.c tmp = 0x0120; tmp 5205 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RFCTL_INTC1, tmp); tmp 5206 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RFCTL_INTC2, tmp); tmp 5381 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp, core, type, count, max, numb, last = 0, cmd; tmp 5515 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (params[core].ncorr[type] << 8) | 0x66; tmp 5516 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_IQLOCAL_CMDNNUM, tmp); tmp 5529 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_phy_read(dev, B43_NPHY_IQLOCAL_CMD); tmp 5530 drivers/net/wireless/broadcom/b43/phy_n.c if (tmp & 0xC000) tmp 5645 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp[6]; tmp 5686 drivers/net/wireless/broadcom/b43/phy_n.c tmp[1] = b43_phy_read(dev, B43_NPHY_RFSEQCA); tmp 5687 drivers/net/wireless/broadcom/b43/phy_n.c tmp[2] = b43_phy_read(dev, afectl_core); tmp 5688 drivers/net/wireless/broadcom/b43/phy_n.c tmp[3] = b43_phy_read(dev, B43_NPHY_AFECTL_OVER); tmp 5689 drivers/net/wireless/broadcom/b43/phy_n.c tmp[4] = b43_phy_read(dev, rfctl[0]); tmp 5690 drivers/net/wireless/broadcom/b43/phy_n.c tmp[5] = b43_phy_read(dev, rfctl[1]); tmp 5758 drivers/net/wireless/broadcom/b43/phy_n.c tmp[0] = ((cur_hpf2 << 8) | (cur_hpf1 << 4) | tmp 5760 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rf_ctl_override(dev, 0x400, tmp[0], 3, tmp 5799 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, rfctl[1], tmp[5]); tmp 5800 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, rfctl[0], tmp[4]); tmp 5801 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_AFECTL_OVER, tmp[3]); tmp 5802 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, afectl_core, tmp[2]); tmp 5803 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_RFSEQCA, tmp[1]); tmp 6031 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp; tmp 6097 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (dev->phy.rev == 2) ? 0x3B : 0x40; tmp 6100 drivers/net/wireless/broadcom/b43/phy_n.c tmp << B43_NPHY_BPHY_CTL3_SCALE_SHIFT); tmp 6141 drivers/net/wireless/broadcom/b43/phy_n.c tmp = b43_phy_read(dev, B43_NPHY_BBCFG); tmp 6142 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_BBCFG, tmp | B43_NPHY_BBCFG_RSTCCA); tmp 6143 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_BBCFG, tmp & ~B43_NPHY_BBCFG_RSTCCA); tmp 6387 drivers/net/wireless/broadcom/b43/phy_n.c u8 tmp; tmp 6436 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (channel->band == NL80211_BAND_5GHZ) ? 2 : 0; tmp 6437 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_maskset(dev, R2057_TIA_CONFIG_CORE0, ~2, tmp); tmp 6438 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_maskset(dev, R2057_TIA_CONFIG_CORE1, ~2, tmp); tmp 6444 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (channel->band == NL80211_BAND_5GHZ) ? 4 : 0; tmp 6445 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_maskset(dev, 0x08, 0xFFFB, tmp); tmp 6449 drivers/net/wireless/broadcom/b43/phy_n.c tmp = (channel->band == NL80211_BAND_5GHZ) ? 0x0020 : 0x0050; tmp 6450 drivers/net/wireless/broadcom/b43/phy_n.c b43_radio_maskset(dev, B2055_MASTER1, 0xFF8F, tmp); tmp 25 drivers/net/wireless/broadcom/b43/sysfs.c char tmp[10 + 1] = { 0 }; tmp 31 drivers/net/wireless/broadcom/b43/sysfs.c memcpy(tmp, buf, count); tmp 32 drivers/net/wireless/broadcom/b43/sysfs.c ret = simple_strtol(tmp, NULL, 10); tmp 2345 drivers/net/wireless/broadcom/b43/tables_lpphy.c u32 tmp; tmp 2349 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp = data.pad << 11; tmp 2350 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= data.pga << 7; tmp 2351 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= data.gm << 4; tmp 2352 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= data.dac; tmp 2353 drivers/net/wireless/broadcom/b43/tables_lpphy.c b43_lptab_write(dev, B43_LPTAB32(10, 0xC0 + offset), tmp); tmp 2354 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp = data.bb_mult << 20; tmp 2355 drivers/net/wireless/broadcom/b43/tables_lpphy.c b43_lptab_write(dev, B43_LPTAB32(10, 0x140 + offset), tmp); tmp 2361 drivers/net/wireless/broadcom/b43/tables_lpphy.c u32 tmp; tmp 2365 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp = data.pad << 16; tmp 2366 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= data.pga << 8; tmp 2367 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= data.gm; tmp 2370 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= 0x10 << 24; tmp 2372 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= 0x70 << 24; tmp 2375 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= 0x14 << 24; tmp 2377 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= 0x7F << 24; tmp 2379 drivers/net/wireless/broadcom/b43/tables_lpphy.c b43_lptab_write(dev, B43_LPTAB32(7, 0xC0 + offset), tmp); tmp 2380 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp = data.bb_mult << 20; tmp 2381 drivers/net/wireless/broadcom/b43/tables_lpphy.c tmp |= data.dac << 28; tmp 2382 drivers/net/wireless/broadcom/b43/tables_lpphy.c b43_lptab_write(dev, B43_LPTAB32(7, 0x140 + offset), tmp); tmp 668 drivers/net/wireless/broadcom/b43/tables_phy_lcn.c u32 tmp; tmp 670 drivers/net/wireless/broadcom/b43/tables_phy_lcn.c tmp = b43_lcntab_read(dev, B43_LCNTAB32(0x7, 0x240 + i)); tmp 671 drivers/net/wireless/broadcom/b43/tables_phy_lcn.c b43_lcntab_write(dev, B43_LCNTAB32(0x7, 0x240 + i), tmp); tmp 576 drivers/net/wireless/broadcom/b43/xmit.c s32 tmp; tmp 581 drivers/net/wireless/broadcom/b43/xmit.c tmp = in_rssi; tmp 582 drivers/net/wireless/broadcom/b43/xmit.c if (tmp > 127) tmp 583 drivers/net/wireless/broadcom/b43/xmit.c tmp -= 256; tmp 584 drivers/net/wireless/broadcom/b43/xmit.c tmp *= 73; tmp 585 drivers/net/wireless/broadcom/b43/xmit.c tmp /= 64; tmp 587 drivers/net/wireless/broadcom/b43/xmit.c tmp += 25; tmp 589 drivers/net/wireless/broadcom/b43/xmit.c tmp -= 3; tmp 596 drivers/net/wireless/broadcom/b43/xmit.c tmp = gphy->nrssi_lt[in_rssi]; tmp 597 drivers/net/wireless/broadcom/b43/xmit.c tmp = 31 - tmp; tmp 598 drivers/net/wireless/broadcom/b43/xmit.c tmp *= -131; tmp 599 drivers/net/wireless/broadcom/b43/xmit.c tmp /= 128; tmp 600 drivers/net/wireless/broadcom/b43/xmit.c tmp -= 57; tmp 602 drivers/net/wireless/broadcom/b43/xmit.c tmp = in_rssi; tmp 603 drivers/net/wireless/broadcom/b43/xmit.c tmp = 31 - tmp; tmp 604 drivers/net/wireless/broadcom/b43/xmit.c tmp *= -149; tmp 605 drivers/net/wireless/broadcom/b43/xmit.c tmp /= 128; tmp 606 drivers/net/wireless/broadcom/b43/xmit.c tmp -= 68; tmp 609 drivers/net/wireless/broadcom/b43/xmit.c tmp += 25; tmp 614 drivers/net/wireless/broadcom/b43/xmit.c tmp = in_rssi - 256; tmp 616 drivers/net/wireless/broadcom/b43/xmit.c tmp = in_rssi; tmp 619 drivers/net/wireless/broadcom/b43/xmit.c tmp = in_rssi; tmp 620 drivers/net/wireless/broadcom/b43/xmit.c tmp -= 11; tmp 621 drivers/net/wireless/broadcom/b43/xmit.c tmp *= 103; tmp 622 drivers/net/wireless/broadcom/b43/xmit.c tmp /= 64; tmp 624 drivers/net/wireless/broadcom/b43/xmit.c tmp -= 109; tmp 626 drivers/net/wireless/broadcom/b43/xmit.c tmp -= 83; tmp 629 drivers/net/wireless/broadcom/b43/xmit.c return (s8) tmp; tmp 110 drivers/net/wireless/broadcom/b43legacy/debugfs.c u16 tmp; tmp 114 drivers/net/wireless/broadcom/b43legacy/debugfs.c if (bufsize < sizeof(tmp)) tmp 116 drivers/net/wireless/broadcom/b43legacy/debugfs.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, 2 * i); tmp 117 drivers/net/wireless/broadcom/b43legacy/debugfs.c le16buf[i] = cpu_to_le16(tmp); tmp 118 drivers/net/wireless/broadcom/b43legacy/debugfs.c count += sizeof(tmp); tmp 119 drivers/net/wireless/broadcom/b43legacy/debugfs.c bufsize -= sizeof(tmp); tmp 608 drivers/net/wireless/broadcom/b43legacy/dma.c u32 tmp; tmp 615 drivers/net/wireless/broadcom/b43legacy/dma.c tmp = b43legacy_read32(dev, mmio_base + tmp 617 drivers/net/wireless/broadcom/b43legacy/dma.c if (tmp & B43legacy_DMA32_TXADDREXT_MASK) tmp 1301 drivers/net/wireless/broadcom/b43legacy/dma.c s32 tmp = len; tmp 1310 drivers/net/wireless/broadcom/b43legacy/dma.c tmp -= ring->rx_buffersize; tmp 1311 drivers/net/wireless/broadcom/b43legacy/dma.c if (tmp <= 0) tmp 414 drivers/net/wireless/broadcom/b43legacy/main.c u64 tmp; tmp 436 drivers/net/wireless/broadcom/b43legacy/main.c tmp = v2; tmp 437 drivers/net/wireless/broadcom/b43legacy/main.c tmp <<= 32; tmp 438 drivers/net/wireless/broadcom/b43legacy/main.c *tsf |= tmp; tmp 439 drivers/net/wireless/broadcom/b43legacy/main.c tmp = v1; tmp 440 drivers/net/wireless/broadcom/b43legacy/main.c tmp <<= 16; tmp 441 drivers/net/wireless/broadcom/b43legacy/main.c *tsf |= tmp; tmp 531 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp; tmp 545 drivers/net/wireless/broadcom/b43legacy/main.c tmp = (u32)(mac_bssid[i + 0]); tmp 546 drivers/net/wireless/broadcom/b43legacy/main.c tmp |= (u32)(mac_bssid[i + 1]) << 8; tmp 547 drivers/net/wireless/broadcom/b43legacy/main.c tmp |= (u32)(mac_bssid[i + 2]) << 16; tmp 548 drivers/net/wireless/broadcom/b43legacy/main.c tmp |= (u32)(mac_bssid[i + 3]) << 24; tmp 549 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_ram_write(dev, 0x20 + i, tmp); tmp 550 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_ram_write(dev, 0x78 + i, tmp); tmp 551 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_ram_write(dev, 0x478 + i, tmp); tmp 708 drivers/net/wireless/broadcom/b43legacy/main.c u16 tmp; tmp 720 drivers/net/wireless/broadcom/b43legacy/main.c tmp = (v0 & 0x0000FFFF); tmp 721 drivers/net/wireless/broadcom/b43legacy/main.c stat.frame_count = ((tmp & 0xF000) >> 12); tmp 722 drivers/net/wireless/broadcom/b43legacy/main.c stat.rts_count = ((tmp & 0x0F00) >> 8); tmp 723 drivers/net/wireless/broadcom/b43legacy/main.c stat.supp_reason = ((tmp & 0x001C) >> 2); tmp 724 drivers/net/wireless/broadcom/b43legacy/main.c stat.pm_indicated = !!(tmp & 0x0080); tmp 725 drivers/net/wireless/broadcom/b43legacy/main.c stat.intermediate = !!(tmp & 0x0040); tmp 726 drivers/net/wireless/broadcom/b43legacy/main.c stat.for_ampdu = !!(tmp & 0x0020); tmp 727 drivers/net/wireless/broadcom/b43legacy/main.c stat.acked = !!(tmp & 0x0002); tmp 795 drivers/net/wireless/broadcom/b43legacy/main.c u16 tmp; tmp 834 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, tmp 836 drivers/net/wireless/broadcom/b43legacy/main.c tmp = (tmp / 128) & 0x1F; tmp 837 drivers/net/wireless/broadcom/b43legacy/main.c if (tmp >= 8) tmp 841 drivers/net/wireless/broadcom/b43legacy/main.c if (tmp == 8) tmp 879 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp; tmp 884 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_read32(dev, B43legacy_MMIO_PS_STATUS); tmp 885 drivers/net/wireless/broadcom/b43legacy/main.c if (!(tmp & 0x00000008)) tmp 898 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp; tmp 908 drivers/net/wireless/broadcom/b43legacy/main.c tmp = (u32)(data[0]) << 16; tmp 909 drivers/net/wireless/broadcom/b43legacy/main.c tmp |= (u32)(data[1]) << 24; tmp 910 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_ram_write(dev, ram_offset, tmp); tmp 913 drivers/net/wireless/broadcom/b43legacy/main.c tmp = (u32)(data[i + 0]); tmp 915 drivers/net/wireless/broadcom/b43legacy/main.c tmp |= (u32)(data[i + 1]) << 8; tmp 917 drivers/net/wireless/broadcom/b43legacy/main.c tmp |= (u32)(data[i + 2]) << 16; tmp 919 drivers/net/wireless/broadcom/b43legacy/main.c tmp |= (u32)(data[i + 3]) << 24; tmp 920 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_ram_write(dev, ram_offset + i - 2, tmp); tmp 1024 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp; tmp 1035 drivers/net/wireless/broadcom/b43legacy/main.c tmp = le32_to_cpu(plcp.data); tmp 1037 drivers/net/wireless/broadcom/b43legacy/main.c tmp & 0xFFFF); tmp 1039 drivers/net/wireless/broadcom/b43legacy/main.c tmp >> 16); tmp 1663 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp, macctl; tmp 1717 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_read32(dev, B43legacy_MMIO_GEN_IRQ_REASON); tmp 1718 drivers/net/wireless/broadcom/b43legacy/main.c if (tmp == B43legacy_IRQ_MAC_SUSPENDED) tmp 1967 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp; tmp 1988 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_read32(dev, tmp 1990 drivers/net/wireless/broadcom/b43legacy/main.c if (tmp & B43legacy_IRQ_MAC_SUSPENDED) tmp 2096 drivers/net/wireless/broadcom/b43legacy/main.c u16 tmp; tmp 2116 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, tmp 2118 drivers/net/wireless/broadcom/b43legacy/main.c tmp = (tmp & ~B43legacy_TX4_PHY_ANT) | ant; tmp 2120 drivers/net/wireless/broadcom/b43legacy/main.c B43legacy_SHM_SH_BEACPHYCTL, tmp); tmp 2122 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, tmp 2124 drivers/net/wireless/broadcom/b43legacy/main.c tmp = (tmp & ~B43legacy_TX4_PHY_ANT) | ant; tmp 2126 drivers/net/wireless/broadcom/b43legacy/main.c B43legacy_SHM_SH_ACKCTSPHYCTL, tmp); tmp 2128 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, tmp 2130 drivers/net/wireless/broadcom/b43legacy/main.c tmp = (tmp & ~B43legacy_TX4_PHY_ANT) | ant; tmp 2132 drivers/net/wireless/broadcom/b43legacy/main.c B43legacy_SHM_SH_PRPHYCTL, tmp); tmp 2150 drivers/net/wireless/broadcom/b43legacy/main.c int tmp; tmp 2180 drivers/net/wireless/broadcom/b43legacy/main.c tmp = phy->interfmode; tmp 2182 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_radio_set_interference_mitigation(dev, tmp); tmp 2985 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp; tmp 2995 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_read16(dev, B43legacy_MMIO_PHY_VER); tmp 2996 drivers/net/wireless/broadcom/b43legacy/main.c analog_type = (tmp & B43legacy_PHYVER_ANALOG) tmp 2998 drivers/net/wireless/broadcom/b43legacy/main.c phy_type = (tmp & B43legacy_PHYVER_TYPE) >> B43legacy_PHYVER_TYPE_SHIFT; tmp 2999 drivers/net/wireless/broadcom/b43legacy/main.c phy_rev = (tmp & B43legacy_PHYVER_VERSION); tmp 3026 drivers/net/wireless/broadcom/b43legacy/main.c tmp = 0x3205017F; tmp 3028 drivers/net/wireless/broadcom/b43legacy/main.c tmp = 0x4205017F; tmp 3030 drivers/net/wireless/broadcom/b43legacy/main.c tmp = 0x5205017F; tmp 3034 drivers/net/wireless/broadcom/b43legacy/main.c tmp = b43legacy_read16(dev, B43legacy_MMIO_RADIO_DATA_HIGH); tmp 3035 drivers/net/wireless/broadcom/b43legacy/main.c tmp <<= 16; tmp 3038 drivers/net/wireless/broadcom/b43legacy/main.c tmp |= b43legacy_read16(dev, B43legacy_MMIO_RADIO_DATA_LOW); tmp 3040 drivers/net/wireless/broadcom/b43legacy/main.c radio_manuf = (tmp & 0x00000FFF); tmp 3041 drivers/net/wireless/broadcom/b43legacy/main.c radio_ver = (tmp & 0x0FFFF000) >> 12; tmp 3042 drivers/net/wireless/broadcom/b43legacy/main.c radio_rev = (tmp & 0xF0000000) >> 28; tmp 3256 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp; tmp 3264 drivers/net/wireless/broadcom/b43legacy/main.c tmp = phy->gmode ? B43legacy_TMSLOW_GMODE : 0; tmp 3265 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_wireless_core_reset(dev, tmp); tmp 3629 drivers/net/wireless/broadcom/b43legacy/main.c u32 tmp; tmp 3658 drivers/net/wireless/broadcom/b43legacy/main.c tmp = dev->phy.gmode ? B43legacy_TMSLOW_GMODE : 0; tmp 3659 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_wireless_core_reset(dev, tmp); tmp 3684 drivers/net/wireless/broadcom/b43legacy/main.c tmp = dev->phy.gmode ? B43legacy_TMSLOW_GMODE : 0; tmp 3685 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_wireless_core_reset(dev, tmp); tmp 986 drivers/net/wireless/broadcom/b43legacy/phy.c u16 tmp; tmp 1008 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = b43legacy_phy_read(dev, 0x0400) & 0xFF; tmp 1009 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp == 3) { tmp 1013 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp == 4 || tmp == 5) { tmp 1333 drivers/net/wireless/broadcom/b43legacy/phy.c u32 tmp; tmp 1341 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = b43legacy_phy_lo_g_singledeviation(dev, 0); tmp 1342 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp < smallest) { tmp 1343 drivers/net/wireless/broadcom/b43legacy/phy.c smallest = tmp; tmp 1379 drivers/net/wireless/broadcom/b43legacy/phy.c u32 tmp; tmp 1415 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = b43legacy_phy_lo_g_singledeviation(dev, tmp 1417 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp < lowest_deviation) { tmp 1418 drivers/net/wireless/broadcom/b43legacy/phy.c lowest_deviation = tmp; tmp 1477 drivers/net/wireless/broadcom/b43legacy/phy.c u16 tmp; tmp 1561 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = i * 2 + j; tmp 1564 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp > 14) { tmp 1566 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp > 17) tmp 1568 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp > 19) tmp 1587 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = (regstack[10] & 0xFFF0); tmp 1589 drivers/net/wireless/broadcom/b43legacy/phy.c tmp |= 0x0008; tmp 1590 drivers/net/wireless/broadcom/b43legacy/phy.c b43legacy_radio_write16(dev, 0x007A, tmp); tmp 1608 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = (i - 9) * 2 + j - 5; tmp 1611 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp > 14) { tmp 1613 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp > 17) tmp 1615 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp > 19) tmp 1638 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = (regstack[10] & 0xFFF0); tmp 1640 drivers/net/wireless/broadcom/b43legacy/phy.c tmp |= 0x0008; tmp 1641 drivers/net/wireless/broadcom/b43legacy/phy.c b43legacy_radio_write16(dev, 0x7A, tmp); tmp 1731 drivers/net/wireless/broadcom/b43legacy/phy.c s32 tmp; tmp 1733 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = phy->idle_tssi; tmp 1734 drivers/net/wireless/broadcom/b43legacy/phy.c tmp += tssi; tmp 1735 drivers/net/wireless/broadcom/b43legacy/phy.c tmp -= phy->savedpctlreg; tmp 1740 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = clamp_val(tmp, 0x00, 0x3F); tmp 1741 drivers/net/wireless/broadcom/b43legacy/phy.c dbm = phy->tssi2dbm[tmp]; tmp 1754 drivers/net/wireless/broadcom/b43legacy/phy.c u16 tmp; tmp 1782 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, 0x0058); tmp 1783 drivers/net/wireless/broadcom/b43legacy/phy.c v0 = (s8)(tmp & 0x00FF); tmp 1784 drivers/net/wireless/broadcom/b43legacy/phy.c v1 = (s8)((tmp & 0xFF00) >> 8); tmp 1785 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, 0x005A); tmp 1786 drivers/net/wireless/broadcom/b43legacy/phy.c v2 = (s8)(tmp & 0x00FF); tmp 1787 drivers/net/wireless/broadcom/b43legacy/phy.c v3 = (s8)((tmp & 0xFF00) >> 8); tmp 1788 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = 0; tmp 1791 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, tmp 1793 drivers/net/wireless/broadcom/b43legacy/phy.c v0 = (s8)(tmp & 0x00FF); tmp 1794 drivers/net/wireless/broadcom/b43legacy/phy.c v1 = (s8)((tmp & 0xFF00) >> 8); tmp 1795 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, tmp 1797 drivers/net/wireless/broadcom/b43legacy/phy.c v2 = (s8)(tmp & 0x00FF); tmp 1798 drivers/net/wireless/broadcom/b43legacy/phy.c v3 = (s8)((tmp & 0xFF00) >> 8); tmp 1805 drivers/net/wireless/broadcom/b43legacy/phy.c tmp = 1; tmp 1811 drivers/net/wireless/broadcom/b43legacy/phy.c if (tmp && (b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, 0x005E) tmp 558 drivers/net/wireless/broadcom/b43legacy/pio.c u16 tmp; tmp 565 drivers/net/wireless/broadcom/b43legacy/pio.c tmp = b43legacy_pio_read(queue, B43legacy_PIO_RXCTL); tmp 566 drivers/net/wireless/broadcom/b43legacy/pio.c if (!(tmp & B43legacy_PIO_RXCTL_DATAAVAILABLE)) tmp 572 drivers/net/wireless/broadcom/b43legacy/pio.c tmp = b43legacy_pio_read(queue, B43legacy_PIO_RXCTL); tmp 573 drivers/net/wireless/broadcom/b43legacy/pio.c if (tmp & B43legacy_PIO_RXCTL_READY) tmp 597 drivers/net/wireless/broadcom/b43legacy/pio.c tmp = b43legacy_pio_read(queue, B43legacy_PIO_RXDATA); tmp 598 drivers/net/wireless/broadcom/b43legacy/pio.c preamble[i + 1] = cpu_to_le16(tmp); tmp 625 drivers/net/wireless/broadcom/b43legacy/pio.c tmp = b43legacy_pio_read(queue, B43legacy_PIO_RXDATA); tmp 626 drivers/net/wireless/broadcom/b43legacy/pio.c *((__le16 *)(skb->data + i)) = cpu_to_le16(tmp); tmp 629 drivers/net/wireless/broadcom/b43legacy/pio.c tmp = b43legacy_pio_read(queue, B43legacy_PIO_RXDATA); tmp 630 drivers/net/wireless/broadcom/b43legacy/pio.c skb->data[len - 1] = (tmp & 0x00FF); tmp 140 drivers/net/wireless/broadcom/b43legacy/radio.c u16 tmp; tmp 155 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = ((u16)third << 14) | ((u16)third << 6); tmp 158 drivers/net/wireless/broadcom/b43legacy/radio.c | tmp); tmp 161 drivers/net/wireless/broadcom/b43legacy/radio.c | tmp); tmp 164 drivers/net/wireless/broadcom/b43legacy/radio.c | tmp); tmp 173 drivers/net/wireless/broadcom/b43legacy/radio.c u16 tmp; tmp 185 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = (i & 0xFFFC); tmp 186 drivers/net/wireless/broadcom/b43legacy/radio.c tmp |= (i & 0x0001) << 1; tmp 187 drivers/net/wireless/broadcom/b43legacy/radio.c tmp |= (i & 0x0002) >> 1; tmp 189 drivers/net/wireless/broadcom/b43legacy/radio.c b43legacy_ilt_write(dev, offset + i, tmp); tmp 338 drivers/net/wireless/broadcom/b43legacy/radio.c s16 tmp; tmp 341 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = b43legacy_nrssi_hw_read(dev, i); tmp 342 drivers/net/wireless/broadcom/b43legacy/radio.c tmp -= val; tmp 343 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = clamp_val(tmp, -32, 31); tmp 344 drivers/net/wireless/broadcom/b43legacy/radio.c b43legacy_nrssi_hw_write(dev, i, tmp); tmp 354 drivers/net/wireless/broadcom/b43legacy/radio.c s32 tmp; tmp 358 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = (i - delta) * phy->nrssislope; tmp 359 drivers/net/wireless/broadcom/b43legacy/radio.c tmp /= 0x10000; tmp 360 drivers/net/wireless/broadcom/b43legacy/radio.c tmp += 0x3A; tmp 361 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = clamp_val(tmp, 0, 0x3F); tmp 362 drivers/net/wireless/broadcom/b43legacy/radio.c phy->nrssi_lt[i] = tmp; tmp 540 drivers/net/wireless/broadcom/b43legacy/radio.c u16 tmp; tmp 561 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = b43legacy_radio_read16(dev, 0x007A); tmp 562 drivers/net/wireless/broadcom/b43legacy/radio.c tmp &= (phy->rev >= 5) ? 0x007F : 0x000F; tmp 563 drivers/net/wireless/broadcom/b43legacy/radio.c b43legacy_radio_write16(dev, 0x007A, tmp); tmp 734 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = b43legacy_radio_read16(dev, 0x0052) & 0xFF0F; tmp 735 drivers/net/wireless/broadcom/b43legacy/radio.c b43legacy_radio_write16(dev, 0x0052, tmp | 0x0060); tmp 736 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = b43legacy_radio_read16(dev, 0x0043) & 0xFFF0; tmp 737 drivers/net/wireless/broadcom/b43legacy/radio.c b43legacy_radio_write16(dev, 0x0043, tmp | 0x0009); tmp 976 drivers/net/wireless/broadcom/b43legacy/radio.c u16 tmp; tmp 994 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = (b43legacy_radio_read16(dev, 0x0078) & 0x001E); tmp 995 drivers/net/wireless/broadcom/b43legacy/radio.c flipped = flip_4bit(tmp); tmp 1440 drivers/net/wireless/broadcom/b43legacy/radio.c u16 tmp = adj_loopback_gain - 6 * loop; tmp 1441 drivers/net/wireless/broadcom/b43legacy/radio.c if (tmp < 6) tmp 1786 drivers/net/wireless/broadcom/b43legacy/radio.c u16 tmp; tmp 1789 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, 0x0022) & 0xFCFF; tmp 1790 drivers/net/wireless/broadcom/b43legacy/radio.c b43legacy_shm_write16(dev, B43legacy_SHM_SHARED, 0x0022, tmp | val); tmp 1791 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, 0x03A8) & 0xFCFF; tmp 1792 drivers/net/wireless/broadcom/b43legacy/radio.c b43legacy_shm_write16(dev, B43legacy_SHM_SHARED, 0x03A8, tmp | val); tmp 1793 drivers/net/wireless/broadcom/b43legacy/radio.c tmp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, 0x0054) & 0xFCFF; tmp 1794 drivers/net/wireless/broadcom/b43legacy/radio.c b43legacy_shm_write16(dev, B43legacy_SHM_SHARED, 0x0054, tmp | val); tmp 27 drivers/net/wireless/broadcom/b43legacy/sysfs.c char tmp[10 + 1] = { 0 }; tmp 33 drivers/net/wireless/broadcom/b43legacy/sysfs.c memcpy(tmp, buf, count); tmp 34 drivers/net/wireless/broadcom/b43legacy/sysfs.c ret = simple_strtol(tmp, NULL, 10); tmp 362 drivers/net/wireless/broadcom/b43legacy/xmit.c s32 tmp; tmp 367 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = in_rssi; tmp 368 drivers/net/wireless/broadcom/b43legacy/xmit.c if (tmp > 127) tmp 369 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp -= 256; tmp 370 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp *= 73; tmp 371 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp /= 64; tmp 373 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp += 25; tmp 375 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp -= 3; tmp 381 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = phy->nrssi_lt[in_rssi]; tmp 382 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = 31 - tmp; tmp 383 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp *= -131; tmp 384 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp /= 128; tmp 385 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp -= 57; tmp 387 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = in_rssi; tmp 388 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = 31 - tmp; tmp 389 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp *= -149; tmp 390 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp /= 128; tmp 391 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp -= 68; tmp 395 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp += 25; tmp 400 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = in_rssi - 256; tmp 402 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = in_rssi; tmp 405 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = in_rssi; tmp 406 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp -= 11; tmp 407 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp *= 103; tmp 408 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp /= 64; tmp 410 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp -= 109; tmp 412 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp -= 83; tmp 415 drivers/net/wireless/broadcom/b43legacy/xmit.c return (s8)tmp; tmp 601 drivers/net/wireless/broadcom/b43legacy/xmit.c u8 tmp; tmp 606 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = hw->count; tmp 607 drivers/net/wireless/broadcom/b43legacy/xmit.c status.frame_count = (tmp >> 4); tmp 608 drivers/net/wireless/broadcom/b43legacy/xmit.c status.rts_count = (tmp & 0x0F); tmp 609 drivers/net/wireless/broadcom/b43legacy/xmit.c tmp = hw->flags << 1; tmp 610 drivers/net/wireless/broadcom/b43legacy/xmit.c status.supp_reason = ((tmp & 0x1C) >> 2); tmp 611 drivers/net/wireless/broadcom/b43legacy/xmit.c status.pm_indicated = !!(tmp & 0x80); tmp 612 drivers/net/wireless/broadcom/b43legacy/xmit.c status.intermediate = !!(tmp & 0x40); tmp 613 drivers/net/wireless/broadcom/b43legacy/xmit.c status.for_ampdu = !!(tmp & 0x20); tmp 614 drivers/net/wireless/broadcom/b43legacy/xmit.c status.acked = !!(tmp & 0x02); tmp 1106 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c struct brcmf_core_priv *tmp; tmp 1109 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c list_for_each_entry_safe(core, tmp, &chip->cores, list) { tmp 213 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c char *tmp; tmp 223 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c for (tmp = caps; *tmp; tmp++) { tmp 224 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c if (*tmp == ' ') tmp 225 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c *tmp = '\n'; tmp 231 drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c if (tmp > caps && *(tmp - 1) != '\n') tmp 52 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h struct brcmf_if *tmp = NULL; tmp 60 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h ifp = &tmp; tmp 2233 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct sk_buff *pkt_next, *tmp, *pkt_prev; tmp 2235 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c skb_queue_walk_safe(pktq, pkt_next, tmp) { tmp 2265 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c struct sk_buff *pkt_next, *tmp; tmp 2286 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c skb_queue_walk_safe(pktq, pkt_next, tmp) { tmp 321 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c u32 phy_rate, dma_rate, tmp; tmp 342 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c tmp = ((fifo->ampdu_pld_size * phy_rate) / tmp 344 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c tmp = min_t(u32, tmp, 255); tmp 345 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c fifo->mcs2ampdu_table[i] = (u8) tmp; tmp 1561 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c struct brcms_timer *tmp; tmp 1576 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c tmp = wl->timers; tmp 1577 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c while (tmp) { tmp 1578 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c if (tmp->next == t) { tmp 1579 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c tmp->next = t->next; tmp 1586 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c tmp = tmp->next; tmp 2821 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u32 tmp; tmp 2825 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c tmp = 0; tmp 2837 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c tmp = bcma_read32(core, D11REGOFFS(clk_ctl_st)); tmp 2838 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if ((tmp & CCS_ERSRC_AVAIL_HT) != CCS_ERSRC_AVAIL_HT) tmp 2843 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c tmp | CCS_ERSRC_REQ_D11PLL | tmp 2851 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c tmp = bcma_read32(core, D11REGOFFS(clk_ctl_st)); tmp 2852 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if ((tmp & tmp 6065 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u32 tmp = 0; tmp 6076 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c tmp = (length & 0xfff) << 5; tmp 6077 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c plcp[2] |= (tmp >> 16) & 0xff; tmp 6078 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c plcp[1] |= (tmp >> 8) & 0xff; tmp 6079 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c plcp[0] |= tmp & 0xff; tmp 2506 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c u32 tmp; tmp 2510 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c tmp = cmplx_pwr[i]; tmp 2511 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c msb = fls(tmp); tmp 2513 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c secondmsb = (u8) ((tmp >> (--msb - 1)) & 1); tmp 24234 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c u16 tmp; tmp 24235 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tmp = read_phy_reg(pi, ((core == PHY_CORE_0) ? 0x1ed : 0x1ee)); tmp 24237 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tmp = (tmp & (0x7f << 8)) >> 8; tmp 24238 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c return (u8) tmp; tmp 28158 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c u16 tmp; tmp 28165 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tmp = (pwr_idx[0] << 8) | pwr_idx[1]; tmp 28167 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c tmp = ((pi->nphy_txpwrindex[PHY_CORE_0].index_internal & 0xff) tmp 28172 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c return tmp; tmp 1000 drivers/net/wireless/cisco/airo.c __le16 tmp[4]; tmp 2350 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 tmp; tmp 2361 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, i, &tmp); tmp 2363 drivers/net/wireless/intel/ipw2x00/ipw2100.c *(u32 *) SNAPSHOT_ADDR(i) = tmp; tmp 2365 drivers/net/wireless/intel/ipw2x00/ipw2100.c d = (u8 *) & tmp; tmp 3214 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 inta, tmp; tmp 3243 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(dev, IPW_ERROR_ADDR(priv->fatal_error), &tmp); tmp 3245 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, tmp); tmp 3299 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(dev, IPW_REG_INTA, &tmp); tmp 3300 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (tmp & (IPW2100_INTA_FATAL_ERROR | tmp 5234 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 tmp = tx_power; tmp 5237 drivers/net/wireless/intel/ipw2x00/ipw2100.c tmp = (tx_power - IPW_TX_POWER_MIN_DBM) * 16 / tmp 5240 drivers/net/wireless/intel/ipw2x00/ipw2100.c cmd.host_command_parameters[0] = tmp; tmp 8429 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 tmp; tmp 8434 drivers/net/wireless/intel/ipw2x00/ipw2100.c tmp = max; tmp 8440 drivers/net/wireless/intel/ipw2x00/ipw2100.c return tmp; tmp 1572 drivers/net/wireless/intel/ipw2x00/ipw2200.c u32 len = sizeof(u32), tmp = 0; tmp 1575 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ipw_get_ordinal(p, IPW_ORD_STAT_UCODE_VERSION, &tmp, &len)) tmp 1578 drivers/net/wireless/intel/ipw2x00/ipw2200.c return sprintf(buf, "0x%08x\n", tmp); tmp 1586 drivers/net/wireless/intel/ipw2x00/ipw2200.c u32 len = sizeof(u32), tmp = 0; tmp 1589 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ipw_get_ordinal(p, IPW_ORD_STAT_RTC, &tmp, &len)) tmp 1592 drivers/net/wireless/intel/ipw2x00/ipw2200.c return sprintf(buf, "0x%08x\n", tmp); tmp 1121 drivers/net/wireless/intel/iwlegacy/common.c __le32 tmp = cmd->sleep_interval[IL_POWER_VEC_SIZE - 1]; tmp 1123 drivers/net/wireless/intel/iwlegacy/common.c max_sleep = le32_to_cpu(tmp); tmp 115 drivers/net/wireless/intel/iwlwifi/dvm/calib.c struct iwl_calib_result *res, *tmp; tmp 124 drivers/net/wireless/intel/iwlwifi/dvm/calib.c list_for_each_entry(tmp, &priv->calib_results, list) { tmp 125 drivers/net/wireless/intel/iwlwifi/dvm/calib.c if (tmp->hdr.op_code == res->hdr.op_code) { tmp 126 drivers/net/wireless/intel/iwlwifi/dvm/calib.c list_replace(&tmp->list, &res->list); tmp 127 drivers/net/wireless/intel/iwlwifi/dvm/calib.c kfree(tmp); tmp 140 drivers/net/wireless/intel/iwlwifi/dvm/calib.c struct iwl_calib_result *res, *tmp; tmp 142 drivers/net/wireless/intel/iwlwifi/dvm/calib.c list_for_each_entry_safe(res, tmp, &priv->calib_results, list) { tmp 1270 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_rxon_context *tmp, *ctx = NULL; tmp 1286 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c for_each_context(priv, tmp) { tmp 1288 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c tmp->interface_modes | tmp->exclusive_interface_modes; tmp 1290 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (tmp->vif) { tmp 1292 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (tmp->vif == vif) { tmp 1294 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ctx = tmp; tmp 1299 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (tmp->exclusive_interface_modes & tmp 1300 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c BIT(tmp->vif->type)) { tmp 1311 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ctx = tmp; tmp 1406 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_rxon_context *ctx, *tmp; tmp 1446 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c for_each_context(priv, tmp) { tmp 1447 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (ctx == tmp) tmp 1450 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (!tmp->is_active) tmp 840 drivers/net/wireless/intel/iwlwifi/dvm/main.c struct iwl_rxon_context *tmp; tmp 842 drivers/net/wireless/intel/iwlwifi/dvm/main.c for_each_context(priv, tmp) tmp 843 drivers/net/wireless/intel/iwlwifi/dvm/main.c iwl_connection_init_rx_config(priv, tmp); tmp 1264 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c struct iwl_rxon_context *tmp; tmp 1340 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c for_each_context(priv, tmp) { tmp 1341 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (!tmp->vif) tmp 1343 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (tmp->ht_need_multiple_chains) { tmp 850 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c const void *tmp; tmp 862 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c tmp = iwl_eeprom_query_addr(eeprom, eeprom_size, EEPROM_MAC_ADDRESS); tmp 863 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (!tmp) tmp 865 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c memcpy(data->hw_addr, tmp, ETH_ALEN); tmp 872 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c tmp = iwl_eeprom_query_addr(eeprom, eeprom_size, EEPROM_XTAL); tmp 873 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (!tmp) tmp 875 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c memcpy(data->xtal_calib, tmp, sizeof(data->xtal_calib)); tmp 877 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c tmp = iwl_eeprom_query_addr(eeprom, eeprom_size, tmp 879 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (!tmp) tmp 881 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c data->raw_temperature = *(__le16 *)tmp; tmp 883 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c tmp = iwl_eeprom_query_addr(eeprom, eeprom_size, tmp 885 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c if (!tmp) tmp 887 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c data->kelvin_temperature = *(__le16 *)tmp; tmp 888 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c data->kelvin_voltage = *((__le16 *)tmp + 1); tmp 152 drivers/net/wireless/intel/iwlwifi/mvm/d3.c const u8 *tmp = ptk_pn->q[i].pn[tid]; tmp 154 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (memcmp(ret, tmp, IEEE80211_CCMP_PN_LEN) <= 0) tmp 155 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = tmp; tmp 916 drivers/net/wireless/intel/iwlwifi/mvm/ops.c struct iwl_async_handler_entry *entry, *tmp; tmp 919 drivers/net/wireless/intel/iwlwifi/mvm/ops.c list_for_each_entry_safe(entry, tmp, &mvm->async_handlers_list, list) { tmp 931 drivers/net/wireless/intel/iwlwifi/mvm/ops.c struct iwl_async_handler_entry *entry, *tmp; tmp 944 drivers/net/wireless/intel/iwlwifi/mvm/ops.c list_for_each_entry_safe(entry, tmp, &local_list, list) { tmp 291 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c unsigned long tmp; tmp 299 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c tmp = sta->supp_rates[sband->band]; tmp 300 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c for_each_set_bit(i, &tmp, BITS_PER_LONG) tmp 373 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data, *tmp; tmp 376 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c list_for_each_entry_safe(te_data, tmp, &mvm->aux_roc_te_list, list) { tmp 424 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_time_event_data *te_data, *tmp; tmp 435 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c list_for_each_entry_safe(te_data, tmp, &mvm->time_event_list, list) { tmp 822 drivers/net/wireless/intel/iwlwifi/mvm/tx.c struct sk_buff *tmp, *next; tmp 843 drivers/net/wireless/intel/iwlwifi/mvm/tx.c tmp = next; tmp 844 drivers/net/wireless/intel/iwlwifi/mvm/tx.c next = tmp->next; tmp 846 drivers/net/wireless/intel/iwlwifi/mvm/tx.c memcpy(tmp->cb, cb, sizeof(tmp->cb)); tmp 853 drivers/net/wireless/intel/iwlwifi/mvm/tx.c tcp_payload_len = skb_tail_pointer(tmp) - tmp 854 drivers/net/wireless/intel/iwlwifi/mvm/tx.c skb_transport_header(tmp) - tmp 855 drivers/net/wireless/intel/iwlwifi/mvm/tx.c tcp_hdrlen(tmp) + tmp->data_len; tmp 858 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ip_hdr(tmp)->id = htons(ip_base_id + i * num_subframes); tmp 861 drivers/net/wireless/intel/iwlwifi/mvm/tx.c skb_shinfo(tmp)->gso_size = mss; tmp 867 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ip_send_check(ip_hdr(tmp)); tmp 869 drivers/net/wireless/intel/iwlwifi/mvm/tx.c qc = ieee80211_get_qos_ctl((void *)tmp->data); tmp 872 drivers/net/wireless/intel/iwlwifi/mvm/tx.c skb_shinfo(tmp)->gso_size = 0; tmp 875 drivers/net/wireless/intel/iwlwifi/mvm/tx.c tmp->prev = NULL; tmp 876 drivers/net/wireless/intel/iwlwifi/mvm/tx.c tmp->next = NULL; tmp 878 drivers/net/wireless/intel/iwlwifi/mvm/tx.c __skb_queue_tail(mpdus_skb, tmp); tmp 227 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c struct sk_buff *tmp = skb; tmp 229 drivers/net/wireless/intersil/hostap/hostap_80211_tx.c kfree_skb(tmp); tmp 1469 drivers/net/wireless/intersil/hostap/hostap_ap.c u8 *tmp = (u8 *) pos; tmp 1470 drivers/net/wireless/intersil/hostap/hostap_ap.c *tmp++ = WLAN_EID_CHALLENGE; tmp 1471 drivers/net/wireless/intersil/hostap/hostap_ap.c *tmp++ = WLAN_AUTH_CHALLENGE_LEN; tmp 1067 drivers/net/wireless/intersil/hostap/hostap_hw.c __le16 tmp; tmp 1104 drivers/net/wireless/intersil/hostap/hostap_hw.c if (hfa384x_get_rid(dev, HFA384X_RID_CHANNELLIST, &tmp, 2, 1) < 0) { tmp 1109 drivers/net/wireless/intersil/hostap/hostap_hw.c local->channel_mask = le16_to_cpu(tmp); tmp 1263 drivers/net/wireless/intersil/hostap/hostap_hw.c hfa384x_get_rid(dev, HFA384X_RID_CNFDBMADJUST, &tmp, 2, 1) == 2) { tmp 1264 drivers/net/wireless/intersil/hostap/hostap_hw.c local->rssi_to_dBm = le16_to_cpu(tmp); tmp 1477 drivers/net/wireless/intersil/hostap/hostap_ioctl.c signed char tmp; tmp 1482 drivers/net/wireless/intersil/hostap/hostap_ioctl.c tmp = val; tmp 1483 drivers/net/wireless/intersil/hostap/hostap_ioctl.c tmp >>= 2; tmp 1485 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return -12 - tmp; tmp 1490 drivers/net/wireless/intersil/hostap/hostap_ioctl.c signed char tmp; tmp 1497 drivers/net/wireless/intersil/hostap/hostap_ioctl.c tmp = val; tmp 1498 drivers/net/wireless/intersil/hostap/hostap_ioctl.c tmp = -12 - tmp; tmp 1499 drivers/net/wireless/intersil/hostap/hostap_ioctl.c tmp <<= 2; tmp 1501 drivers/net/wireless/intersil/hostap/hostap_ioctl.c return (unsigned char) tmp; tmp 1513 drivers/net/wireless/intersil/hostap/hostap_ioctl.c char *tmp; tmp 1562 drivers/net/wireless/intersil/hostap/hostap_ioctl.c tmp = "dBm"; tmp 1564 drivers/net/wireless/intersil/hostap/hostap_ioctl.c tmp = "mW"; tmp 1566 drivers/net/wireless/intersil/hostap/hostap_ioctl.c tmp = "UNKNOWN"; tmp 1567 drivers/net/wireless/intersil/hostap/hostap_ioctl.c printk(KERN_DEBUG "Setting TX power to %d %s\n", rrq->value, tmp); tmp 286 drivers/net/wireless/intersil/hostap/hostap_main.c __le16 tmp = cpu_to_le16(val); tmp 288 drivers/net/wireless/intersil/hostap/hostap_main.c return iface->local->func->set_rid(dev, rid, &tmp, 2); tmp 78 drivers/net/wireless/intersil/orinoco/hw.c char tmp[SYMBOL_MAX_VER_LEN + 1] __attribute__((aligned(2))); tmp 178 drivers/net/wireless/intersil/orinoco/hw.c memset(tmp, 0, sizeof(tmp)); tmp 182 drivers/net/wireless/intersil/orinoco/hw.c SYMBOL_MAX_VER_LEN, NULL, &tmp); tmp 187 drivers/net/wireless/intersil/orinoco/hw.c tmp[0] = '\0'; tmp 193 drivers/net/wireless/intersil/orinoco/hw.c firmver = ((tmp[1] - '0') << 16) tmp 194 drivers/net/wireless/intersil/orinoco/hw.c | ((tmp[3] - '0') << 12) tmp 195 drivers/net/wireless/intersil/orinoco/hw.c | ((tmp[4] - '0') << 8) tmp 196 drivers/net/wireless/intersil/orinoco/hw.c | ((tmp[6] - '0') << 4) tmp 197 drivers/net/wireless/intersil/orinoco/hw.c | (tmp[7] - '0'); tmp 199 drivers/net/wireless/intersil/orinoco/hw.c tmp[SYMBOL_MAX_VER_LEN] = '\0'; tmp 203 drivers/net/wireless/intersil/orinoco/hw.c snprintf(fw_name, fw_name_len, "Symbol %s", tmp); tmp 476 drivers/net/wireless/intersil/orinoco/wext.c int tmp; tmp 479 drivers/net/wireless/intersil/orinoco/wext.c tmp = orinoco_hw_get_freq(priv); tmp 480 drivers/net/wireless/intersil/orinoco/wext.c if (tmp < 0) tmp 481 drivers/net/wireless/intersil/orinoco/wext.c return tmp; tmp 483 drivers/net/wireless/intersil/orinoco/wext.c frq->m = tmp * 100000; tmp 150 drivers/net/wireless/intersil/p54/eeprom.c struct ieee80211_supported_band *tmp, *old; tmp 157 drivers/net/wireless/intersil/p54/eeprom.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 158 drivers/net/wireless/intersil/p54/eeprom.c if (!tmp) tmp 161 drivers/net/wireless/intersil/p54/eeprom.c tmp->channels = kcalloc(list->band_channel_num[band], tmp 164 drivers/net/wireless/intersil/p54/eeprom.c if (!tmp->channels) tmp 167 drivers/net/wireless/intersil/p54/eeprom.c ret = p54_fill_band_bitrates(dev, tmp, band); tmp 174 drivers/net/wireless/intersil/p54/eeprom.c struct ieee80211_channel *dest = &tmp->channels[j]; tmp 195 drivers/net/wireless/intersil/p54/eeprom.c priv->survey[*chan_num].channel = &tmp->channels[j]; tmp 213 drivers/net/wireless/intersil/p54/eeprom.c tmp->n_channels = j; tmp 215 drivers/net/wireless/intersil/p54/eeprom.c priv->band_table[band] = tmp; tmp 224 drivers/net/wireless/intersil/p54/eeprom.c if (tmp) { tmp 225 drivers/net/wireless/intersil/p54/eeprom.c kfree(tmp->channels); tmp 226 drivers/net/wireless/intersil/p54/eeprom.c kfree(tmp); tmp 368 drivers/net/wireless/intersil/p54/eeprom.c struct p54_channel_entry *tmp; tmp 376 drivers/net/wireless/intersil/p54/eeprom.c tmp = p54_update_channel_param(list, freq, tmp 378 drivers/net/wireless/intersil/p54/eeprom.c if (tmp) { tmp 379 drivers/net/wireless/intersil/p54/eeprom.c tmp->max_power = p54_get_maxpower(priv, data); tmp 735 drivers/net/wireless/intersil/p54/eeprom.c void *tmp; tmp 807 drivers/net/wireless/intersil/p54/eeprom.c tmp = entry->data; tmp 808 drivers/net/wireless/intersil/p54/eeprom.c while ((u8 *)tmp < entry->data + data_len) { tmp 809 drivers/net/wireless/intersil/p54/eeprom.c struct exp_if *exp_if = tmp; tmp 812 drivers/net/wireless/intersil/p54/eeprom.c tmp += sizeof(*exp_if); tmp 31 drivers/net/wireless/intersil/p54/led.c int err, i, tmp, blink_delay = 400; tmp 42 drivers/net/wireless/intersil/p54/led.c tmp = 70 + 200 / (priv->leds[i].toggled); tmp 43 drivers/net/wireless/intersil/p54/led.c if (tmp < blink_delay) tmp 44 drivers/net/wireless/intersil/p54/led.c blink_delay = tmp; tmp 502 drivers/net/wireless/intersil/p54/p54usb.c u8 *buf, *tmp; tmp 512 drivers/net/wireless/intersil/p54/p54usb.c tmp = buf = kmalloc(P54U_FW_BLOCK, GFP_KERNEL); tmp 519 drivers/net/wireless/intersil/p54/p54usb.c tmp += strlen(p54u_firmware_upload_3887); tmp 531 drivers/net/wireless/intersil/p54/p54usb.c tmp += sizeof(*hdr); tmp 536 drivers/net/wireless/intersil/p54/p54usb.c *tmp++ = carry; tmp 543 drivers/net/wireless/intersil/p54/p54usb.c *tmp++ = '}'; tmp 547 drivers/net/wireless/intersil/p54/p54usb.c *tmp++ = '}'; tmp 551 drivers/net/wireless/intersil/p54/p54usb.c *tmp++ = *data; tmp 565 drivers/net/wireless/intersil/p54/p54usb.c tmp = buf; tmp 497 drivers/net/wireless/intersil/p54/txrx.c struct sk_buff *tmp; tmp 511 drivers/net/wireless/intersil/p54/txrx.c tmp = p54_find_and_unlink_skb(priv, hdr->req_id); tmp 512 drivers/net/wireless/intersil/p54/txrx.c dev_kfree_skb_any(tmp); tmp 520 drivers/net/wireless/intersil/p54/txrx.c struct sk_buff *tmp; tmp 605 drivers/net/wireless/intersil/p54/txrx.c tmp = p54_find_and_unlink_skb(priv, hdr->req_id); tmp 606 drivers/net/wireless/intersil/p54/txrx.c dev_kfree_skb_any(tmp); tmp 861 drivers/net/wireless/intersil/p54/txrx.c int tmp = info->control.rates[i].count - calculated_tries[i]; tmp 863 drivers/net/wireless/intersil/p54/txrx.c if (tmp <= 0) tmp 867 drivers/net/wireless/intersil/p54/txrx.c tmp = min_t(int, tmp, nremaining); tmp 868 drivers/net/wireless/intersil/p54/txrx.c calculated_tries[i] += tmp; tmp 869 drivers/net/wireless/intersil/p54/txrx.c nremaining -= tmp; tmp 3242 drivers/net/wireless/mac80211_hwsim.c struct sk_buff *skb, *tmp; tmp 3270 drivers/net/wireless/mac80211_hwsim.c skb_queue_walk_safe(&data2->pending, skb, tmp) { tmp 3783 drivers/net/wireless/mac80211_hwsim.c struct mac80211_hwsim_data *entry, *tmp; tmp 3787 drivers/net/wireless/mac80211_hwsim.c list_for_each_entry_safe(entry, tmp, &hwsim_radios, list) { tmp 3797 drivers/net/wireless/mac80211_hwsim.c list_for_each_entry_safe(entry, tmp, &list, list) { tmp 3858 drivers/net/wireless/mac80211_hwsim.c struct mac80211_hwsim_data *data, *tmp; tmp 3862 drivers/net/wireless/mac80211_hwsim.c list_for_each_entry_safe(data, tmp, &hwsim_radios, list) { tmp 3877 drivers/net/wireless/mac80211_hwsim.c list_for_each_entry_safe(data, tmp, &list, list) { tmp 1075 drivers/net/wireless/marvell/libertas/cfg.c u8 *tmp; tmp 1121 drivers/net/wireless/marvell/libertas/cfg.c tmp = pos + 4; /* skip Marvell IE header */ tmp 1123 drivers/net/wireless/marvell/libertas/cfg.c lbs_deb_hex(LBS_DEB_ASSOC, "Common Rates", tmp, pos - tmp); tmp 504 drivers/net/wireless/marvell/libertas/if_usb.c __le32 *tmp = (__le32 *)(skb->data + IPFIELD_ALIGN_OFFSET); tmp 506 drivers/net/wireless/marvell/libertas/if_usb.c if (tmp[0] == cpu_to_le32(CMD_TYPE_INDICATION) && tmp 507 drivers/net/wireless/marvell/libertas/if_usb.c tmp[1] == cpu_to_le32(MACREG_INT_CODE_FIRMWARE_READY)) { tmp 512 drivers/net/wireless/marvell/libertas/if_usb.c le32_to_cpu(tmp[0]), le32_to_cpu(tmp[1])); tmp 477 drivers/net/wireless/marvell/libertas_tf/if_usb.c __le32 *tmp = (__le32 *)(skb->data); tmp 479 drivers/net/wireless/marvell/libertas_tf/if_usb.c if (tmp[0] == cpu_to_le32(CMD_TYPE_INDICATION) && tmp 480 drivers/net/wireless/marvell/libertas_tf/if_usb.c tmp[1] == cpu_to_le32(MACREG_INT_CODE_FIRMWARE_READY)) { tmp 486 drivers/net/wireless/marvell/libertas_tf/if_usb.c le32_to_cpu(tmp[0]), le32_to_cpu(tmp[1])); tmp 673 drivers/net/wireless/marvell/libertas_tf/if_usb.c u16 tmp; tmp 677 drivers/net/wireless/marvell/libertas_tf/if_usb.c tmp = event_cause >> 16; tmp 678 drivers/net/wireless/marvell/libertas_tf/if_usb.c retrycnt = tmp & 0x00ff; tmp 679 drivers/net/wireless/marvell/libertas_tf/if_usb.c failure = (tmp & 0xff00) >> 8; tmp 116 drivers/net/wireless/marvell/mwifiex/11ac.c u16 mcs_user, mcs_resp, nss, tmp; tmp 141 drivers/net/wireless/marvell/mwifiex/11ac.c tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); tmp 142 drivers/net/wireless/marvell/mwifiex/11ac.c vht_cap->supp_mcs.rx_highest = cpu_to_le16(tmp); tmp 163 drivers/net/wireless/marvell/mwifiex/11ac.c tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); tmp 164 drivers/net/wireless/marvell/mwifiex/11ac.c vht_cap->supp_mcs.tx_highest = cpu_to_le16(tmp); tmp 782 drivers/net/wireless/marvell/mwifiex/11n.c struct mwifiex_tx_ba_stream_tbl *tbl, *tmp; tmp 788 drivers/net/wireless/marvell/mwifiex/11n.c list_for_each_entry_safe(tbl, tmp, &priv->tx_ba_stream_tbl_ptr, list) tmp 263 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c struct mwifiex_rx_reorder_tbl *tbl, *tmp; tmp 269 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c list_for_each_entry_safe(tbl, tmp, &priv->rx_reorder_tbl_ptr, list) { tmp 929 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c u8 *tmp; tmp 981 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c tmp = (u8 *)tlv_rxba + tlv_len + sizeof(*tlv_rxba); tmp 982 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c tlv_rxba = (struct mwifiex_ie_types_rxba_sync *)tmp; tmp 3149 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct sk_buff *skb, *tmp; tmp 3160 drivers/net/wireless/marvell/mwifiex/cfg80211.c skb_queue_walk_safe(&priv->bypass_txq, skb, tmp) { tmp 87 drivers/net/wireless/marvell/mwifiex/ie.c u8 *tmp; tmp 111 drivers/net/wireless/marvell/mwifiex/ie.c tmp = (u8 *)&priv->mgmt_ie[index].ie_buffer; tmp 112 drivers/net/wireless/marvell/mwifiex/ie.c memcpy(tmp, &ie->ie_buffer, le16_to_cpu(ie->ie_length)); tmp 150 drivers/net/wireless/marvell/mwifiex/join.c u8 *ptr = rate1, *tmp; tmp 153 drivers/net/wireless/marvell/mwifiex/join.c tmp = kmemdup(rate1, rate1_size, GFP_KERNEL); tmp 154 drivers/net/wireless/marvell/mwifiex/join.c if (!tmp) { tmp 162 drivers/net/wireless/marvell/mwifiex/join.c for (j = 0; j < rate1_size && tmp[j]; j++) { tmp 165 drivers/net/wireless/marvell/mwifiex/join.c if ((rate2[i] & 0x7F) == (tmp[j] & 0x7F)) { tmp 166 drivers/net/wireless/marvell/mwifiex/join.c *rate1++ = tmp[j]; tmp 194 drivers/net/wireless/marvell/mwifiex/join.c kfree(tmp); tmp 1079 drivers/net/wireless/marvell/mwifiex/pcie.c u32 tmp; tmp 1089 drivers/net/wireless/marvell/mwifiex/pcie.c tmp = FW_AWAKE_COOKIE; tmp 1090 drivers/net/wireless/marvell/mwifiex/pcie.c put_unaligned(tmp, card->sleep_cookie_vbase); tmp 743 drivers/net/wireless/marvell/mwifiex/sdio.h u8 tmp; tmp 747 drivers/net/wireless/marvell/mwifiex/sdio.h tmp = card->mp_end_port >> 1; tmp 749 drivers/net/wireless/marvell/mwifiex/sdio.h tmp = card->mp_agg_pkt_limit; tmp 752 drivers/net/wireless/marvell/mwifiex/sdio.h card->curr_rd_port) >= tmp) tmp 769 drivers/net/wireless/marvell/mwifiex/sdio.h u16 tmp; tmp 773 drivers/net/wireless/marvell/mwifiex/sdio.h tmp = card->mp_end_port >> 1; tmp 775 drivers/net/wireless/marvell/mwifiex/sdio.h tmp = card->mp_agg_pkt_limit; tmp 778 drivers/net/wireless/marvell/mwifiex/sdio.h card->curr_wr_port) >= tmp) tmp 34 drivers/net/wireless/marvell/mwifiex/tdls.c struct sk_buff *skb, *tmp; tmp 42 drivers/net/wireless/marvell/mwifiex/tdls.c skb_queue_walk_safe(&priv->tdls_txq, skb, tmp) { tmp 89 drivers/net/wireless/marvell/mwifiex/tdls.c struct sk_buff *skb, *tmp; tmp 100 drivers/net/wireless/marvell/mwifiex/tdls.c tmp) { tmp 38 drivers/net/wireless/marvell/mwifiex/uap_txrx.c struct sk_buff *skb, *tmp; tmp 47 drivers/net/wireless/marvell/mwifiex/uap_txrx.c skb_queue_walk_safe(&ra_list->skb_head, skb, tmp) { tmp 62 drivers/net/wireless/marvell/mwifiex/usb.c __le32 tmp; tmp 78 drivers/net/wireless/marvell/mwifiex/usb.c skb_copy_from_linear_data(skb, &tmp, INTF_HEADER_LEN); tmp 79 drivers/net/wireless/marvell/mwifiex/usb.c recv_type = le32_to_cpu(tmp); tmp 112 drivers/net/wireless/marvell/mwifiex/usb.c skb_copy_from_linear_data(skb, &tmp, sizeof(u32)); tmp 113 drivers/net/wireless/marvell/mwifiex/usb.c adapter->event_cause = le32_to_cpu(tmp); tmp 680 drivers/net/wireless/marvell/mwifiex/util.c struct mwifiex_sta_node *node, *tmp; tmp 684 drivers/net/wireless/marvell/mwifiex/util.c list_for_each_entry_safe(node, tmp, &priv->sta_list, list) { tmp 229 drivers/net/wireless/marvell/mwifiex/wmm.c u16 cw_min, avg_back_off, tmp[4]; tmp 254 drivers/net/wireless/marvell/mwifiex/wmm.c tmp[ac_idx] = avg_back_off; tmp 266 drivers/net/wireless/marvell/mwifiex/wmm.c if (tmp[j - 1] > tmp[j]) { tmp 267 drivers/net/wireless/marvell/mwifiex/wmm.c swap(tmp[j - 1], tmp[j]); tmp 270 drivers/net/wireless/marvell/mwifiex/wmm.c } else if (tmp[j - 1] == tmp[j]) { tmp 504 drivers/net/wireless/marvell/mwifiex/wmm.c struct sk_buff *skb, *tmp; tmp 506 drivers/net/wireless/marvell/mwifiex/wmm.c skb_queue_walk_safe(&ra_list->skb_head, skb, tmp) { tmp 585 drivers/net/wireless/marvell/mwifiex/wmm.c struct sk_buff *skb, *tmp; tmp 604 drivers/net/wireless/marvell/mwifiex/wmm.c skb_queue_walk_safe(&priv->tdls_txq, skb, tmp) { tmp 609 drivers/net/wireless/marvell/mwifiex/wmm.c skb_queue_walk_safe(&priv->bypass_txq, skb, tmp) { tmp 1206 drivers/net/wireless/marvell/mwifiex/wmm.c struct sk_buff *skb, *tmp; tmp 1215 drivers/net/wireless/marvell/mwifiex/wmm.c skb_queue_walk_safe(&ptr->skb_head, skb, tmp) { tmp 5572 drivers/net/wireless/marvell/mwl8k.c u8 tmp; tmp 5581 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_bbp_reg_access(priv->hw, 0, BBU_AVG_NOISE_VAL, &tmp); tmp 5590 drivers/net/wireless/marvell/mwl8k.c u8 tmp; tmp 5601 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_bbp_reg_access(priv->hw, 0, BBU_AVG_NOISE_VAL, &tmp); tmp 416 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct sk_buff *skb, *tmp; tmp 423 drivers/net/wireless/mediatek/mt76/mt7603/main.c skb_queue_walk_safe(&msta->psq, skb, tmp) { tmp 198 drivers/net/wireless/mediatek/mt76/tx.c struct sk_buff *skb, *tmp; tmp 200 drivers/net/wireless/mediatek/mt76/tx.c skb_queue_walk_safe(&dev->status_list, skb, tmp) { tmp 52 drivers/net/wireless/quantenna/qtnfmac/qlink_util.h __le16 tmp = cpu_to_le16(value); tmp 56 drivers/net/wireless/quantenna/qtnfmac/qlink_util.h memcpy(hdr->val, &tmp, sizeof(tmp)); tmp 63 drivers/net/wireless/quantenna/qtnfmac/qlink_util.h __le32 tmp = cpu_to_le32(value); tmp 67 drivers/net/wireless/quantenna/qtnfmac/qlink_util.h memcpy(hdr->val, &tmp, sizeof(tmp)); tmp 96 drivers/net/wireless/quantenna/qtnfmac/util.c struct qtnf_sta_node *node, *tmp; tmp 100 drivers/net/wireless/quantenna/qtnfmac/util.c list_for_each_entry_safe(node, tmp, &list->head, list) { tmp 1095 drivers/net/wireless/ray_cs.c UCHAR tmp[IW_ESSID_MAX_SIZE + 1]; tmp 1099 drivers/net/wireless/ray_cs.c memcpy(tmp, local->sparm.b5.a_current_ess_id, IW_ESSID_MAX_SIZE); tmp 1100 drivers/net/wireless/ray_cs.c tmp[IW_ESSID_MAX_SIZE] = '\0'; tmp 1103 drivers/net/wireless/ray_cs.c wrqu->essid.length = strlen(tmp); tmp 1830 drivers/net/wireless/ray_cs.c UCHAR tmp; tmp 1873 drivers/net/wireless/ray_cs.c tmp = tmp 1878 drivers/net/wireless/ray_cs.c tmp); tmp 2104 drivers/net/wireless/ray_cs.c int tmp; tmp 2139 drivers/net/wireless/ray_cs.c tmp = (readb(&prcs->var.rx_packet.totalpacketlength[0]) << 8) tmp 2141 drivers/net/wireless/ray_cs.c total_len = tmp; tmp 2144 drivers/net/wireless/ray_cs.c tmp -= tmp 2149 drivers/net/wireless/ray_cs.c == 0xFF || tmp < 0) tmp 2155 drivers/net/wireless/ray_cs.c if (tmp < 0) { tmp 2206 drivers/net/wireless/ray_cs.c tmp = 17; tmp 2229 drivers/net/wireless/ray_cs.c } while (tmp-- && tmp 2378 drivers/net/wireless/ray_cs.c int tmp = 17; tmp 2381 drivers/net/wireless/ray_cs.c while (tmp--) { tmp 259 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c const u8 *tmp; tmp 273 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c tmp = &rtl8225_tx_power_cck_ch14[(cck_power % 6) * 8]; tmp 275 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c tmp = &rtl8225_tx_power_cck[(cck_power % 6) * 8]; tmp 278 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++); tmp 294 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c tmp = &rtl8225_tx_power_ofdm[ofdm_power % 6]; tmp 296 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c rtl8225_write_phy_ofdm(dev, 5, *tmp); tmp 297 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c rtl8225_write_phy_ofdm(dev, 7, *tmp); tmp 476 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c const u8 *tmp; tmp 483 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c tmp = rtl8225z2_tx_power_cck_ch14; tmp 485 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c tmp = rtl8225z2_tx_power_cck_B; tmp 487 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c tmp = rtl8225z2_tx_power_cck_A; tmp 489 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c tmp = rtl8225z2_tx_power_cck; tmp 492 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++); tmp 122 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c u8 tmp; tmp 126 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c tmp = rtl818x_ioread8(priv, SW_3W_CMD1); tmp 127 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c if (!(tmp & 0x3)) tmp 133 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c "CmdReg: 0x%x RE/WE bits aren't clear\n", tmp); tmp 135 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c tmp = rtl818x_ioread8(priv, &priv->map->rf_sw_config) | 0x02; tmp 136 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c rtl818x_iowrite8(priv, &priv->map->rf_sw_config, tmp); tmp 138 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c tmp = rtl818x_ioread8(priv, REG_ADDR1(0x84)) & 0xF7; tmp 139 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c rtl818x_iowrite8(priv, REG_ADDR1(0x84), tmp); tmp 156 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c tmp = 2; tmp 158 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c tmp = 1; tmp 159 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c rtl818x_iowrite8(priv, SW_3W_CMD1, tmp); tmp 161 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c tmp = rtl818x_ioread8(priv, SW_3W_CMD1); tmp 162 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c if (!(tmp & 0x3)) tmp 304 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c u8 tmp; tmp 372 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c tmp = (priv->xtal_in << 4) | (priv->xtal_out << 1) | tmp 374 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c rtl8187se_rf_writereg(dev, 0x0F, tmp); tmp 897 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c u16 tmp; tmp 902 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c tmp = rtl818x_ioread16(priv, (__le16 *)0xFFFA); tmp 906 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c if (unlikely(tmp < retry)) tmp 907 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c tmp = retry; tmp 908 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c avg_retry = (tmp - retry) / length; tmp 919 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c retry = tmp; tmp 375 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c const u8 *tmp; tmp 392 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp = &rtl8225_tx_power_cck_ch14[(cck_power % 6) * 8]; tmp 394 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp = &rtl8225_tx_power_cck[(cck_power % 6) * 8]; tmp 397 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++); tmp 419 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp = &rtl8225_tx_power_ofdm[ofdm_power % 6]; tmp 421 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c rtl8225_write_phy_ofdm(dev, 5, *tmp); tmp 422 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c rtl8225_write_phy_ofdm(dev, 7, *tmp); tmp 626 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c const u8 *tmp; tmp 645 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp = rtl8225z2_tx_power_cck_ch14; tmp 647 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp = rtl8225z2_tx_power_cck; tmp 650 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++); tmp 682 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c const u8 *tmp; tmp 700 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp = rtl8225z2_tx_power_cck_ch14; tmp 702 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp = rtl8225z2_tx_power_cck; tmp 708 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp += 8; tmp 710 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp += 16; tmp 715 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp += 8; tmp 717 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp += 16; tmp 719 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c tmp += 24; tmp 723 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c rtl8225_write_phy_cck(dev, 0x44 + i, *tmp++); tmp 4643 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct rtl8xxxu_tx_urb *tx_urb, *tmp; tmp 4647 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c list_for_each_entry_safe(tx_urb, tmp, &priv->tx_urb_free_list, list) { tmp 5071 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct rtl8xxxu_rx_urb *rx_urb, *tmp; tmp 5076 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c list_for_each_entry_safe(rx_urb, tmp, tmp 5114 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct rtl8xxxu_rx_urb *rx_urb, *tmp; tmp 5130 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c list_for_each_entry_safe(rx_urb, tmp, &local, list) { tmp 1951 drivers/net/wireless/realtek/rtlwifi/base.c struct sk_buff *skb, *tmp; tmp 1954 drivers/net/wireless/realtek/rtlwifi/base.c skb_queue_walk_safe(queue, skb, tmp) { tmp 352 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp; tmp 377 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 380 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c btc8723b2ant_wifi_rssi_state(btcoexist, 0, 2, tmp, 0); tmp 1215 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 1218 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c wifi_rssi_state = btc8723b2ant_wifi_rssi_state(btcoexist, 0, 2, tmp, 0); tmp 1219 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 1221 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 1633 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 1638 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp, 0); tmp 1639 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 1641 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 2812 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 2816 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 2858 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 2863 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 2931 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 2936 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp, 0); tmp 2937 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 2939 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 2978 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 2983 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp, 0); tmp 2984 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 2986 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 3030 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 3035 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp, 0); tmp 3036 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 3038 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 3068 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 3073 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp, 0); tmp 3074 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 3076 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 3123 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 3128 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp, 0); tmp 3129 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 3131 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 3187 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 3192 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp, 0); tmp 3193 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 3195 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); tmp 3247 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 tmp = BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES - tmp 3252 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp, 0); tmp 3253 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c tmp = BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES - tmp 3255 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 3, tmp, 37); tmp 526 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c bool tmp = false; tmp 544 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c tmp = true; tmp 546 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c tmp = true; tmp 547 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c *bool_tmp = tmp; tmp 1364 drivers/net/wireless/realtek/rtlwifi/core.c u8 tmp = 0; tmp 1366 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_DUAL_TSF_RST, (u8 *)(&tmp)); tmp 291 drivers/net/wireless/realtek/rtlwifi/debug.c char tmp[32 + 1]; tmp 299 drivers/net/wireless/realtek/rtlwifi/debug.c tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); tmp 301 drivers/net/wireless/realtek/rtlwifi/debug.c if (!buffer || copy_from_user(tmp, buffer, tmp_len)) tmp 304 drivers/net/wireless/realtek/rtlwifi/debug.c tmp[tmp_len] = '\0'; tmp 307 drivers/net/wireless/realtek/rtlwifi/debug.c num = sscanf(tmp, "%x %x %x", &addr, &val, &len); tmp 341 drivers/net/wireless/realtek/rtlwifi/debug.c char tmp[32 + 1]; tmp 350 drivers/net/wireless/realtek/rtlwifi/debug.c tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); tmp 352 drivers/net/wireless/realtek/rtlwifi/debug.c if (!buffer || copy_from_user(tmp, buffer, tmp_len)) tmp 355 drivers/net/wireless/realtek/rtlwifi/debug.c tmp[tmp_len] = '\0'; tmp 357 drivers/net/wireless/realtek/rtlwifi/debug.c h2c_len = sscanf(tmp, "%X %X %X %X %X %X %X %X", tmp 387 drivers/net/wireless/realtek/rtlwifi/debug.c char tmp[32 + 1]; tmp 396 drivers/net/wireless/realtek/rtlwifi/debug.c tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); tmp 398 drivers/net/wireless/realtek/rtlwifi/debug.c if (!buffer || copy_from_user(tmp, buffer, tmp_len)) tmp 401 drivers/net/wireless/realtek/rtlwifi/debug.c tmp[tmp_len] = '\0'; tmp 403 drivers/net/wireless/realtek/rtlwifi/debug.c num = sscanf(tmp, "%X %X %X %X", tmp 384 drivers/net/wireless/realtek/rtlwifi/pci.c u8 tmp; tmp 394 drivers/net/wireless/realtek/rtlwifi/pci.c pci_read_config_byte(pdev, 0x98, &tmp); tmp 395 drivers/net/wireless/realtek/rtlwifi/pci.c tmp |= BIT(4); tmp 396 drivers/net/wireless/realtek/rtlwifi/pci.c pci_write_config_byte(pdev, 0x98, tmp); tmp 398 drivers/net/wireless/realtek/rtlwifi/pci.c tmp = 0x17; tmp 399 drivers/net/wireless/realtek/rtlwifi/pci.c pci_write_config_byte(pdev, 0x70f, tmp); tmp 1884 drivers/net/wireless/realtek/rtlwifi/pci.c u8 tmp; tmp 2026 drivers/net/wireless/realtek/rtlwifi/pci.c for (tmp = 0; tmp < PCI_BRIDGE_VENDOR_MAX; tmp++) { tmp 2027 drivers/net/wireless/realtek/rtlwifi/pci.c if (bridge_pdev->vendor == pcibridge_vendors[tmp]) { tmp 2028 drivers/net/wireless/realtek/rtlwifi/pci.c pcipriv->ndis_adapter.pcibridge_vendor = tmp; tmp 2031 drivers/net/wireless/realtek/rtlwifi/pci.c tmp); tmp 843 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c u8 tmp = AC0_BE; tmp 847 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c &tmp); tmp 16 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c u8 tmp; tmp 19 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 20 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); tmp 22 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 23 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); tmp 25 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); tmp 26 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); tmp 28 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 29 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); tmp 239 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c u32 tmp; tmp 249 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c tmp = rtl_read_dword(rtlpriv, 0x4c); tmp 250 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtl_write_dword(rtlpriv, 0x4c, tmp | BIT(23)); tmp 164 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c u8 tmp; tmp 167 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c tmp = rtl_read_byte(rtlpriv, power_index_reg[index]); tmp 168 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtlpriv->dm.powerindex_backup[index] = tmp; tmp 685 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c u8 tmp = AC0_BE; tmp 688 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c &tmp); tmp 28 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c u8 tmp; tmp 31 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 33 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c tmp | 0x04); tmp 35 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 36 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); tmp 38 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); tmp 39 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); tmp 41 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 42 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); tmp 1359 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c u8 tmp; tmp 1363 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c tmp = BIT(4); tmp 1366 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c tmp = BIT(4) | BIT(5); tmp 1370 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c _rtl92cu_set_bcn_ctrl_reg(hw, 0, tmp); tmp 1372 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c u8 tmp; tmp 1376 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c tmp = BIT(4); tmp 1379 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c tmp = BIT(4) | BIT(5); tmp 1384 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c _rtl92cu_set_bcn_ctrl_reg(hw, tmp, 0); tmp 643 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c u8 tmp = AC0_BE; tmp 645 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c &tmp); tmp 22 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c u8 tmp; tmp 25 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 26 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); tmp 27 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 28 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); tmp 29 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); tmp 30 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); tmp 32 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 33 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); tmp 623 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c u8 tmp = AC0_BE; tmp 626 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c (u8 *)(&tmp)); tmp 17 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c u8 tmp; tmp 22 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); tmp 23 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); tmp 25 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 26 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); tmp 38 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c u8 tmp; tmp 40 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); tmp 41 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp & (~BIT(6))); tmp 43 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); tmp 44 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp &= ~(BIT(0)); tmp 45 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp); tmp 51 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c u8 tmp; tmp 53 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2); tmp 54 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp | BIT(6)); tmp 56 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_TBTT_PROHIBIT + 2); tmp 57 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp |= BIT(0); tmp 58 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp); tmp 1108 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c u8 tmp; tmp 1130 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_CR + 1); tmp 1131 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_CR + 1, tmp | BIT(1)); tmp 1141 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c u8 tmp; tmp 1144 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_BACKDOOR_DBI_DATA + 3); tmp 1145 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c if (!(tmp & BIT(2))) { tmp 1147 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp | BIT(2)); tmp 1154 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_BACKDOOR_DBI_DATA + 3); tmp 1155 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c if ((tmp & BIT(0)) || (tmp & BIT(1))) { tmp 1166 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c u8 tmp; tmp 1181 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL); tmp 1182 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp &= ~(BIT(1) | BIT(0)); tmp 1183 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_RSV_CTRL, tmp); tmp 1184 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_PMC_DBG_CTRL2); tmp 1185 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp |= BIT(2); tmp 1186 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_PMC_DBG_CTRL2, tmp); tmp 1192 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1193 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c if (tmp & BIT(2)) { tmp 1197 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, (tmp | BIT(2))); tmp 1215 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 1216 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp &= ~(BIT(0)); tmp 1217 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); tmp 1222 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 1223 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp |= BIT(0); tmp 1224 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); tmp 1241 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_MAC_PHY_CTRL_NORMAL + 2); tmp 1242 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp |= BIT(1); tmp 1243 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_MAC_PHY_CTRL_NORMAL + 2, tmp); tmp 1256 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1258 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c (tmp & (~BIT(2)))); tmp 1267 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp = rtl_read_byte(rtlpriv, REG_PMC_DBG_CTRL2); tmp 1268 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c tmp &= ~(BIT(2)); tmp 1269 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c rtl_write_byte(rtlpriv, REG_PMC_DBG_CTRL2, tmp); tmp 228 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u32 tmp; tmp 243 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c tmp = rtl_read_dword(rtlpriv, 0x4c); tmp 244 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c rtl_write_dword(rtlpriv, 0x4c, tmp | BIT(23)); tmp 529 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u8 tmp = 0; tmp 535 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c tmp = (u8)(*data >> (i * 8)) & 0xF; tmp 536 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c tmp += ((u8)((*data >> (i * 8 + 4)) & 0xF)) * 10; tmp 539 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c tmp = (tmp > base) ? tmp - base : base - tmp; tmp 541 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c tmp = (u8)(*data >> (i * 8)) & 0xFF; tmp 544 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c temp_data |= tmp; tmp 122 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c u8 tmp = AC0_BE; tmp 124 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c &tmp); tmp 1261 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c u8 tmp; tmp 1269 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c tmp = rtl_read_byte(rtlpriv, SYS_CLKR + 1); tmp 1270 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c result = ((tmp & BIT(7)) == (data & BIT(7))); tmp 1274 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c tmp = 0; tmp 1278 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c tmp = rtl_read_byte(rtlpriv, SYS_CLKR + 1); tmp 1280 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c if ((tmp & BIT(6))) tmp 1283 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c pr_err("wait for BIT(6) return value %x\n", tmp); tmp 615 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c u8 tmp = AC0_BE; tmp 618 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c (u8 *)(&tmp)); tmp 1033 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c u8 tmp = AC0_BE; tmp 1035 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c (u8 *)(&tmp)); tmp 986 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 ret = 0, tmp = 0, count = 0; tmp 990 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_FLAG); tmp 992 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c while (tmp && count < 20) { tmp 994 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_FLAG); tmp 997 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (0 == tmp) { tmp 1007 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 tmp = 0, count = 0; tmp 1021 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_FLAG); tmp 1023 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c while (tmp && count < 20) { tmp 1025 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_FLAG); tmp 1033 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 tmp = 0, count = 0; tmp 1036 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_MDIO_CTL) & BIT(6); tmp 1038 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c while (tmp && count < 20) { tmp 1040 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_MDIO_CTL) & BIT(6); tmp 1044 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (0 == tmp) tmp 1052 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 tmp = 0, count = 0; tmp 1056 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_MDIO_CTL) & BIT(5); tmp 1058 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c while (tmp && count < 20) { tmp 1060 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_MDIO_CTL) & BIT(5); tmp 1197 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 tmp; tmp 1200 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_CTRL + 3); tmp 1201 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (!(tmp & BIT(2))) { tmp 1202 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_write_byte(rtlpriv, REG_DBI_CTRL + 3, (tmp | BIT(2))); tmp 1209 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_CTRL + 3); tmp 1210 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if ((tmp & BIT(0)) || (tmp & BIT(1))) { tmp 1221 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 tmp; tmp 1237 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL); tmp 1238 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp &= ~(BIT(1) | BIT(0)); tmp 1239 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_write_byte(rtlpriv, REG_RSV_CTRL, tmp); tmp 1240 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_PMC_DBG_CTRL2); tmp 1241 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp |= BIT(2); tmp 1242 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_write_byte(rtlpriv, REG_PMC_DBG_CTRL2, tmp); tmp 1248 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1249 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp & BIT(2)) { tmp 1253 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, (tmp | BIT(2))); tmp 1271 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 1272 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp &= ~(BIT(0)); tmp 1273 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); tmp 1278 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 1279 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp |= BIT(0); tmp 1280 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); tmp 1297 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_MAC_PHY_CTRL_NORMAL + 2); tmp 1298 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp |= BIT(1); tmp 1299 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_write_byte(rtlpriv, REG_MAC_PHY_CTRL_NORMAL + 2, tmp); tmp 1312 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1314 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c (tmp & (~BIT(2)))); tmp 1323 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp = rtl_read_byte(rtlpriv, REG_PMC_DBG_CTRL2); tmp 1324 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp &= ~(BIT(2)); tmp 1325 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c rtl_write_byte(rtlpriv, REG_PMC_DBG_CTRL2, tmp); tmp 103 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u32 tmp; tmp 114 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = rtl_read_dword(rtlpriv, 0x4c); tmp 115 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c rtl_write_dword(rtlpriv, 0x4c, tmp | BIT(23)); tmp 1449 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u32 reg_eac, reg_e94, reg_e9c, tmp; tmp 1504 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = (reg_e9c & 0x03FF0000) >> 16; tmp 1505 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if ((tmp & 0x200) > 0) tmp 1506 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = 0x400 - tmp; tmp 1511 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c (tmp < 0xf)) tmp 1522 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u32 reg_eac, reg_e94, reg_e9c, reg_ea4, u32tmp, tmp; tmp 1583 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = (reg_e9c & 0x03FF0000) >> 16; tmp 1584 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if ((tmp & 0x200) > 0) tmp 1585 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = 0x400 - tmp; tmp 1590 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c (tmp < 0xf)) tmp 1650 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = (reg_eac & 0x03FF0000) >> 16; tmp 1651 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if ((tmp & 0x200) > 0) tmp 1652 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = 0x400 - tmp; tmp 1661 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c (tmp < 0xf)) tmp 1669 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u32 reg_eac, reg_e94, reg_e9c, tmp; tmp 1724 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = (reg_e9c & 0x03FF0000) >> 16; tmp 1725 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if ((tmp & 0x200) > 0) tmp 1726 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = 0x400 - tmp; tmp 1731 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c (tmp < 0xf)) tmp 1742 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u32 reg_e94, reg_e9c, reg_ea4, reg_eac, u32tmp, tmp; tmp 1802 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = (reg_e9c & 0x03FF0000) >> 16; tmp 1803 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if ((tmp & 0x200) > 0) tmp 1804 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = 0x400 - tmp; tmp 1809 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c (tmp < 0xf)) tmp 1864 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = (reg_eac & 0x03FF0000) >> 16; tmp 1865 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if ((tmp & 0x200) > 0) tmp 1866 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c tmp = 0x400 - tmp; tmp 1876 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c (tmp < 0xf)) tmp 14 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c u8 tmp; tmp 17 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 19 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c tmp | 0x04); tmp 21 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 22 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); tmp 24 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); tmp 25 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); tmp 27 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 28 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); tmp 542 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c u8 tmp; tmp 548 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c tmp = (u8)rtl_get_bbreg(hw, ODM_REG_BB_RX_PATH_11AC, tmp 550 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c if (tmp & BIT(0)) tmp 552 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c if (tmp & BIT(1)) tmp 1421 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c u32 tmp; tmp 1428 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c tmp = final_swing_idx[RF90_PATH_A]; tmp 1435 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c txscaling_tbl[tmp]); tmp 1437 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c u32 tmp; tmp 1444 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c tmp = final_swing_idx[RF90_PATH_B]; tmp 1451 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c txscaling_tbl[tmp]); tmp 2730 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c u8 tmp = AC0_BE; tmp 2732 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c (u8 *)(&tmp)); tmp 17 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c u8 tmp; tmp 22 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL + 2); tmp 23 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); tmp 25 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 27 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 28 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); tmp 29 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c tmp = rtl_read_byte(rtlpriv, REG_MCUFWDL); tmp 1057 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp = 0, count = 0; tmp 1060 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_MDIO_CTL) & BIT(6); tmp 1062 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c while (tmp && count < 20) { tmp 1064 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_MDIO_CTL) & BIT(6); tmp 1067 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (0 == tmp) tmp 1075 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp = 0, count = 0; tmp 1079 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_MDIO_CTL) & BIT(5); tmp 1081 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c while (tmp && count < 20) { tmp 1083 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_MDIO_CTL) & BIT(5); tmp 1091 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp = 0, count = 0, ret = 0; tmp 1095 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_FLAG); tmp 1097 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c while (tmp && count < 20) { tmp 1099 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_FLAG); tmp 1102 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (0 == tmp) { tmp 1111 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp = 0, count = 0; tmp 1122 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_FLAG); tmp 1124 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c while (tmp && count < 20) { tmp 1126 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_FLAG); tmp 1135 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp; tmp 1145 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = _rtl8821ae_dbi_read(rtlpriv, 0x70f); tmp 1146 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c _rtl8821ae_dbi_write(rtlpriv, 0x70f, tmp | BIT(7) | tmp 1149 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = _rtl8821ae_dbi_read(rtlpriv, 0x719); tmp 1150 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c _rtl8821ae_dbi_write(rtlpriv, 0x719, tmp | BIT(3) | BIT(4)); tmp 1153 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = _rtl8821ae_dbi_read(rtlpriv, 0x718); tmp 1154 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c _rtl8821ae_dbi_write(rtlpriv, 0x718, tmp|BIT(4)); tmp 1162 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp; tmp 1184 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_CR + 1); tmp 1185 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_CR + 1, tmp | BIT(1)); tmp 1219 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp; tmp 1222 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_CTRL + 3); tmp 1223 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (!(tmp & BIT(2))) { tmp 1224 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_DBI_CTRL + 3, (tmp | BIT(2))); tmp 1230 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_DBI_CTRL + 3); tmp 1231 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if ((tmp & BIT(0)) || (tmp & BIT(1))) { tmp 1246 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp; tmp 1253 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RSV_CTRL); tmp 1254 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp &= ~(BIT(1)); tmp 1255 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_RSV_CTRL, tmp); tmp 1258 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_PMC_DBG_CTRL2); tmp 1259 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp |= BIT(2); tmp 1260 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_PMC_DBG_CTRL2, tmp); tmp 1266 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1267 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (tmp & BIT(2)) { tmp 1271 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, (tmp | BIT(2))); tmp 1285 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 1286 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp &= ~(BIT(0)); tmp 1287 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); tmp 1290 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN + 1); tmp 1291 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp |= BIT(0); tmp 1292 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp); tmp 1308 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_MAC_PHY_CTRL_NORMAL + 2); tmp 1309 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp |= BIT(1); tmp 1310 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_MAC_PHY_CTRL_NORMAL + 2, tmp); tmp 1322 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1324 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp & (~BIT(2))); tmp 1333 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_PMC_DBG_CTRL2); tmp 1334 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp &= ~(BIT(2)); tmp 1335 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_PMC_DBG_CTRL2, tmp); tmp 1479 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp; tmp 1535 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1536 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, (tmp | BIT(2))); tmp 1538 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1541 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c } while (!(tmp & BIT(1)) && count < 100); tmp 1545 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c count, tmp); tmp 1549 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); tmp 1550 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp &= ~(BIT(0)); tmp 1551 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, tmp); tmp 1561 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_CR + 1); tmp 1562 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp &= ~(BIT(1)); tmp 1563 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_CR + 1, tmp); tmp 1567 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_DUAL_TSF_RST); tmp 1568 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_DUAL_TSF_RST, (tmp | BIT(5))); tmp 1572 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_CR + 1); tmp 1573 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_CR + 1, (tmp | BIT(1))); tmp 1583 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_FUNC_EN); tmp 1584 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, (tmp | BIT(0))); tmp 1620 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 1621 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_RXDMA_CONTROL, (tmp&~BIT(2))); tmp 1655 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp = 0; tmp 1660 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = _rtl8821ae_dbi_read(rtlpriv, 0x160); tmp 1661 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (!(tmp & (BIT(2) | BIT(3)))) { tmp 1663 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c "0x160(%#x)return!!\n", tmp); tmp 1667 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = _rtl8821ae_mdio_read(rtlpriv, 0x1b); tmp 1668 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c _rtl8821ae_mdio_write(rtlpriv, 0x1b, (tmp | BIT(4))); tmp 1670 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = _rtl8821ae_dbi_read(rtlpriv, 0x718); tmp 1671 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c _rtl8821ae_dbi_write(rtlpriv, 0x718, tmp | BIT(5)); tmp 1678 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp = 0; tmp 1684 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = _rtl8821ae_dbi_read(rtlpriv, 0x99); tmp 1685 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (!(tmp & BIT(2))) { tmp 1687 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c "<---0x99(%#x) return!!\n", tmp); tmp 1697 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, 0x7a4); tmp 1698 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, 0x7a4, (tmp | BIT(4))); tmp 1700 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, 0x7a4); tmp 1701 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, 0x7a4, (tmp & (~BIT(0)))); tmp 1702 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, 0x7a4, (tmp | BIT(0))); tmp 1712 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp = 0; tmp 1732 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_FTISR + 3); tmp 1734 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c "Read REG_FTISR 0x13f = %#X\n", tmp); tmp 1741 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_HSISR + 3); tmp 1742 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (tmp & BIT(1)) { tmp 1744 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_HSISR + 3, tmp | BIT(1)); tmp 1759 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_CR + 1); tmp 1760 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_CR + 1, (tmp & (~BIT(0)))); tmp 2228 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u32 tmp = rtl_read_dword(rtlpriv, REG_HISR); tmp 2230 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_dword(rtlpriv, REG_HISR, tmp); tmp 2232 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_dword(rtlpriv, REG_HISRE); tmp 2233 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_dword(rtlpriv, REG_HISRE, tmp); tmp 2235 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_dword(rtlpriv, REG_HSISR); tmp 2236 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_dword(rtlpriv, REG_HSISR, tmp); tmp 2347 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp; tmp 2407 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 2409 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c while (!(tmp & BIT(1)) && (count++ < 100)) { tmp 2411 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXDMA_CONTROL); tmp 2423 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_SYS_CLKR); tmp 2424 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_SYS_CLKR, tmp | BIT(3)); tmp 2446 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_PCIE_CTRL_REG); tmp 2449 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c } while ((tmp != 0) && (count < 100)); tmp 2456 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_HSISR + 3); tmp 2457 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rtl_write_byte(rtlpriv, REG_HSISR + 3, tmp | BIT(1)); tmp 3999 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 tmp, count = 0; tmp 4066 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp = rtl_read_byte(rtlpriv, REG_RXPKTBUF_CTRL); tmp 4069 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c } while (tmp && count < 100); tmp 4073 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp); tmp 343 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 tmp; tmp 362 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c tmp = rtl_read_byte(rtlpriv, RA_RFE_INV + 3); tmp 363 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c rtl_write_byte(rtlpriv, RA_RFE_INV + 3, tmp & ~0x1); tmp 391 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 tmp; tmp 426 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c tmp = rtl_read_byte(rtlpriv, RA_RFE_INV + 3); tmp 427 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c rtl_write_byte(rtlpriv, RA_RFE_INV + 3, tmp | 0x1); tmp 3346 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u16 reg_rf_mode_bw, tmp = 0; tmp 3354 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c tmp = reg_rf_mode_bw | BIT(7); tmp 3355 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c rtl_write_word(rtlpriv, REG_TRXPTCL_CTL, tmp & 0xFEFF); tmp 3358 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c tmp = reg_rf_mode_bw | BIT(8); tmp 3359 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c rtl_write_word(rtlpriv, REG_TRXPTCL_CTL, tmp & 0xFF7F); tmp 740 drivers/net/wireless/realtek/rtw88/coex.c u32 tmp; tmp 742 drivers/net/wireless/realtek/rtw88/coex.c tmp = rtw_coex_read_indirect_reg(rtwdev, addr); tmp 743 drivers/net/wireless/realtek/rtw88/coex.c tmp = (tmp & (~mask)) | ((val << shift) & mask); tmp 745 drivers/net/wireless/realtek/rtw88/coex.c if (!ltecoex_reg_write(rtwdev, addr, tmp)) tmp 143 drivers/net/wireless/realtek/rtw88/debug.c static int rtw_debugfs_copy_from_user(char tmp[], int size, tmp 154 drivers/net/wireless/realtek/rtw88/debug.c if (!buffer || copy_from_user(tmp, buffer, tmp_len)) tmp 157 drivers/net/wireless/realtek/rtw88/debug.c tmp[tmp_len] = '\0'; tmp 169 drivers/net/wireless/realtek/rtw88/debug.c char tmp[32 + 1]; tmp 173 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 2); tmp 175 drivers/net/wireless/realtek/rtw88/debug.c num = sscanf(tmp, "%x %x", &addr, &len); tmp 259 drivers/net/wireless/realtek/rtw88/debug.c char tmp[32 + 1]; tmp 263 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 2); tmp 265 drivers/net/wireless/realtek/rtw88/debug.c num = sscanf(tmp, "%d %d", &offset, &page_num); tmp 285 drivers/net/wireless/realtek/rtw88/debug.c char tmp[32 + 1]; tmp 289 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 1); tmp 291 drivers/net/wireless/realtek/rtw88/debug.c num = kstrtoint(tmp, 0, &input); tmp 309 drivers/net/wireless/realtek/rtw88/debug.c char tmp[32 + 1]; tmp 313 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 3); tmp 316 drivers/net/wireless/realtek/rtw88/debug.c num = sscanf(tmp, "%x %x %x", &addr, &val, &len); tmp 352 drivers/net/wireless/realtek/rtw88/debug.c char tmp[32 + 1]; tmp 356 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 4); tmp 358 drivers/net/wireless/realtek/rtw88/debug.c num = sscanf(tmp, "%x %x %x %x", &path, &addr, &mask, &val); tmp 380 drivers/net/wireless/realtek/rtw88/debug.c char tmp[32 + 1]; tmp 384 drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_copy_from_user(tmp, sizeof(tmp), buffer, count, 3); tmp 386 drivers/net/wireless/realtek/rtw88/debug.c num = sscanf(tmp, "%x %x %x", &path, &addr, &mask); tmp 531 drivers/net/wireless/realtek/rtw88/fw.c struct rtw_rsvd_page *rsvd_pkt, *tmp; tmp 535 drivers/net/wireless/realtek/rtw88/fw.c list_for_each_entry_safe(rsvd_pkt, tmp, &rtwdev->rsvd_page_list, list) { tmp 258 drivers/net/wireless/realtek/rtw88/mac.c u32 value, tmp; tmp 269 drivers/net/wireless/realtek/rtw88/mac.c tmp = rtw_read32(rtwdev, REG_MCUFW_CTRL); tmp 270 drivers/net/wireless/realtek/rtw88/mac.c if (tmp & BIT_BOOT_FSPI_EN) { tmp 271 drivers/net/wireless/realtek/rtw88/mac.c rtw_write32(rtwdev, REG_MCUFW_CTRL, tmp & (~BIT_BOOT_FSPI_EN)); tmp 357 drivers/net/wireless/realtek/rtw88/mac.c u8 tmp; tmp 365 drivers/net/wireless/realtek/rtw88/mac.c tmp = RTW_DMA_MAPPING_HIGH << 6; tmp 366 drivers/net/wireless/realtek/rtw88/mac.c rtw_write8(rtwdev, REG_TXDMA_PQ_MAP + 1, tmp); tmp 377 drivers/net/wireless/realtek/rtw88/mac.c tmp = BIT_HCI_TXDMA_EN | BIT_TXDMA_EN; tmp 378 drivers/net/wireless/realtek/rtw88/mac.c rtw_write8(rtwdev, REG_CR, tmp); tmp 394 drivers/net/wireless/realtek/rtw88/mac.c tmp = rtw_read8(rtwdev, REG_BCN_CTRL); tmp 397 drivers/net/wireless/realtek/rtw88/mac.c bckp[bckp_idx].val = tmp; tmp 399 drivers/net/wireless/realtek/rtw88/mac.c tmp = (u8)((tmp & (~BIT_EN_BCN_FUNCTION)) | BIT_DIS_TSF_UDT); tmp 400 drivers/net/wireless/realtek/rtw88/mac.c rtw_write8(rtwdev, REG_BCN_CTRL, tmp); tmp 197 drivers/net/wireless/realtek/rtw88/main.c struct sk_buff *skb, *tmp; tmp 199 drivers/net/wireless/realtek/rtw88/main.c skb_queue_walk_safe(&rtwdev->c2h_queue, skb, tmp) { tmp 1201 drivers/net/wireless/realtek/rtw88/main.c struct rtw_rsvd_page *rsvd_pkt, *tmp; tmp 1211 drivers/net/wireless/realtek/rtw88/main.c list_for_each_entry_safe(rsvd_pkt, tmp, &rtwdev->rsvd_page_list, list) { tmp 98 drivers/net/wireless/realtek/rtw88/pci.c struct sk_buff *skb, *tmp; tmp 102 drivers/net/wireless/realtek/rtw88/pci.c skb_queue_walk_safe(&tx_ring->queue, skb, tmp) { tmp 392 drivers/net/wireless/realtek/rtw88/pci.c u8 tmp; tmp 395 drivers/net/wireless/realtek/rtw88/pci.c tmp = rtw_read8(rtwdev, RTK_PCI_CTRL + 3); tmp 396 drivers/net/wireless/realtek/rtw88/pci.c rtw_write8(rtwdev, RTK_PCI_CTRL + 3, tmp | 0xf7); tmp 818 drivers/net/wireless/realtek/rtw88/pci.c u32 cur_wp, cur_rp, tmp; tmp 829 drivers/net/wireless/realtek/rtw88/pci.c tmp = rtw_read32(rtwdev, RTK_PCI_RXBD_IDX_MPDUQ); tmp 830 drivers/net/wireless/realtek/rtw88/pci.c cur_wp = tmp >> 16; tmp 151 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 tmp; tmp 153 drivers/net/wireless/realtek/rtw88/rtw8822c.c tmp = *v1; tmp 155 drivers/net/wireless/realtek/rtw88/rtw8822c.c *v2 = tmp; tmp 2388 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 tmp, val_integerd_b, tindex; tmp 2399 drivers/net/wireless/realtek/rtw88/rtw8822c.c tmp = (val * 100) / (1 << val_integerd_b); tmp 2400 drivers/net/wireless/realtek/rtw88/rtw8822c.c tindex = tmp / 5; tmp 200 drivers/net/wireless/realtek/rtw88/tx.c struct sk_buff *cur, *tmp; tmp 211 drivers/net/wireless/realtek/rtw88/tx.c skb_queue_walk_safe(&tx_report->queue, cur, tmp) { tmp 925 drivers/net/wireless/rndis_wlan.c u32 *tmp = (u32 *)((u8 *)infobuf + i); tmp 927 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[0]), tmp 928 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[1]), tmp 929 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[2])); tmp 968 drivers/net/wireless/rndis_wlan.c __le32 tmp; tmp 971 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(1); tmp 972 drivers/net/wireless/rndis_wlan.c return rndis_set_oid(usbdev, RNDIS_OID_802_11_BSSID_LIST_SCAN, &tmp, tmp 973 drivers/net/wireless/rndis_wlan.c sizeof(tmp)); tmp 1098 drivers/net/wireless/rndis_wlan.c __le32 tmp; tmp 1125 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(auth_mode); tmp 1128 drivers/net/wireless/rndis_wlan.c &tmp, sizeof(tmp)); tmp 1143 drivers/net/wireless/rndis_wlan.c __le32 tmp; tmp 1150 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(NDIS_80211_PRIV_8021X_WEP); tmp 1152 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(NDIS_80211_PRIV_ACCEPT_ALL); tmp 1155 drivers/net/wireless/rndis_wlan.c RNDIS_OID_802_11_PRIVACY_FILTER, &tmp, tmp 1156 drivers/net/wireless/rndis_wlan.c sizeof(tmp)); tmp 1161 drivers/net/wireless/rndis_wlan.c __le32 tmp; tmp 1180 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(encr_mode); tmp 1182 drivers/net/wireless/rndis_wlan.c RNDIS_OID_802_11_ENCRYPTION_STATUS, &tmp, tmp 1183 drivers/net/wireless/rndis_wlan.c sizeof(tmp)); tmp 1196 drivers/net/wireless/rndis_wlan.c __le32 tmp; tmp 1202 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(mode); tmp 1205 drivers/net/wireless/rndis_wlan.c &tmp, sizeof(tmp)); tmp 1223 drivers/net/wireless/rndis_wlan.c __le32 tmp; tmp 1230 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(rts_threshold); tmp 1233 drivers/net/wireless/rndis_wlan.c &tmp, sizeof(tmp)); tmp 1238 drivers/net/wireless/rndis_wlan.c __le32 tmp; tmp 1245 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(frag_threshold); tmp 1248 drivers/net/wireless/rndis_wlan.c &tmp, sizeof(tmp)); tmp 1673 drivers/net/wireless/rndis_wlan.c u32 *tmp = (u32 *)pmkids->bssid_info[i].pmkid; tmp 1678 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[0]), cpu_to_be32(tmp[1]), tmp 1679 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[2]), cpu_to_be32(tmp[3])); tmp 2517 drivers/net/wireless/rndis_wlan.c u32 *tmp = (u32 *)pmksa->pmkid; tmp 2521 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[0]), cpu_to_be32(tmp[1]), tmp 2522 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[2]), cpu_to_be32(tmp[3])); tmp 2545 drivers/net/wireless/rndis_wlan.c u32 *tmp = (u32 *)pmksa->pmkid; tmp 2549 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[0]), cpu_to_be32(tmp[1]), tmp 2550 drivers/net/wireless/rndis_wlan.c cpu_to_be32(tmp[2]), cpu_to_be32(tmp[3])); tmp 3195 drivers/net/wireless/rndis_wlan.c __le32 rssi, tmp; tmp 3249 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(1); tmp 3252 drivers/net/wireless/rndis_wlan.c &tmp, sizeof(tmp)); tmp 3401 drivers/net/wireless/rndis_wlan.c __le32 tmp; tmp 3448 drivers/net/wireless/rndis_wlan.c tmp = cpu_to_le32(RNDIS_PACKET_TYPE_DIRECTED | RNDIS_PACKET_TYPE_BROADCAST); tmp 3451 drivers/net/wireless/rndis_wlan.c &tmp, sizeof(tmp)); tmp 3453 drivers/net/wireless/rndis_wlan.c len = sizeof(tmp); tmp 3456 drivers/net/wireless/rndis_wlan.c &tmp, &len); tmp 3457 drivers/net/wireless/rndis_wlan.c priv->multicast_size = le32_to_cpu(tmp); tmp 69 drivers/net/wireless/st/cw1200/hwio.c __le32 tmp; tmp 70 drivers/net/wireless/st/cw1200/hwio.c int i = __cw1200_reg_read(priv, addr, &tmp, sizeof(tmp), 0); tmp 71 drivers/net/wireless/st/cw1200/hwio.c *val = le32_to_cpu(tmp); tmp 78 drivers/net/wireless/st/cw1200/hwio.c __le32 tmp = cpu_to_le32(val); tmp 79 drivers/net/wireless/st/cw1200/hwio.c return __cw1200_reg_write(priv, addr, &tmp, sizeof(tmp), 0); tmp 85 drivers/net/wireless/st/cw1200/hwio.c __le16 tmp; tmp 86 drivers/net/wireless/st/cw1200/hwio.c int i = __cw1200_reg_read(priv, addr, &tmp, sizeof(tmp), 0); tmp 87 drivers/net/wireless/st/cw1200/hwio.c *val = le16_to_cpu(tmp); tmp 94 drivers/net/wireless/st/cw1200/hwio.c __le16 tmp = cpu_to_le16(val); tmp 95 drivers/net/wireless/st/cw1200/hwio.c return __cw1200_reg_write(priv, addr, &tmp, sizeof(tmp), 0); tmp 169 drivers/net/wireless/st/cw1200/hwio.h __le32 tmp; tmp 171 drivers/net/wireless/st/cw1200/hwio.h i = cw1200_reg_read(priv, addr, &tmp, sizeof(tmp)); tmp 172 drivers/net/wireless/st/cw1200/hwio.h *val = le32_to_cpu(tmp) & 0xfffff; tmp 179 drivers/net/wireless/st/cw1200/hwio.h __le32 tmp = cpu_to_le32((u32)val); tmp 180 drivers/net/wireless/st/cw1200/hwio.h return cw1200_reg_write(priv, addr, &tmp, sizeof(tmp)); tmp 186 drivers/net/wireless/st/cw1200/hwio.h __le32 tmp; tmp 187 drivers/net/wireless/st/cw1200/hwio.h int i = cw1200_reg_read(priv, addr, &tmp, sizeof(tmp)); tmp 188 drivers/net/wireless/st/cw1200/hwio.h *val = le32_to_cpu(tmp); tmp 195 drivers/net/wireless/st/cw1200/hwio.h __le32 tmp = cpu_to_le32(val); tmp 196 drivers/net/wireless/st/cw1200/hwio.h return cw1200_reg_write(priv, addr, &tmp, sizeof(val)); tmp 223 drivers/net/wireless/st/cw1200/hwio.h __le32 tmp; tmp 224 drivers/net/wireless/st/cw1200/hwio.h int i = cw1200_apb_read(priv, addr, &tmp, sizeof(tmp)); tmp 225 drivers/net/wireless/st/cw1200/hwio.h *val = le32_to_cpu(tmp); tmp 232 drivers/net/wireless/st/cw1200/hwio.h __le32 tmp = cpu_to_le32(val); tmp 233 drivers/net/wireless/st/cw1200/hwio.h return cw1200_apb_write(priv, addr, &tmp, sizeof(val)); tmp 238 drivers/net/wireless/st/cw1200/hwio.h __le32 tmp; tmp 239 drivers/net/wireless/st/cw1200/hwio.h int i = cw1200_ahb_read(priv, addr, &tmp, sizeof(tmp)); tmp 240 drivers/net/wireless/st/cw1200/hwio.h *val = le32_to_cpu(tmp); tmp 69 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item, *tmp; tmp 71 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry_safe(item, tmp, gc_list, head) { tmp 94 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item = NULL, *tmp; tmp 97 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry_safe(item, tmp, &queue->queue, head) { tmp 205 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item, *tmp; tmp 210 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry_safe(item, tmp, &queue->pending, head) { tmp 414 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item, *tmp; tmp 418 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry_safe_reverse(item, tmp, &queue->pending, head) { tmp 44 drivers/net/wireless/st/cw1200/sta.c struct cw1200_wsm_event *event, *tmp; tmp 45 drivers/net/wireless/st/cw1200/sta.c list_for_each_entry_safe(event, tmp, list, link) { tmp 82 drivers/net/wireless/st/cw1200/txrx.c struct ieee80211_tx_rate tmp = rates[i - 1]; tmp 84 drivers/net/wireless/st/cw1200/txrx.c rates[i] = tmp; tmp 1805 drivers/net/wireless/st/cw1200/wsm.c u8 *tmp; tmp 1809 drivers/net/wireless/st/cw1200/wsm.c tmp = krealloc(buf->begin, size, GFP_KERNEL | GFP_DMA); tmp 1810 drivers/net/wireless/st/cw1200/wsm.c if (!tmp) { tmp 1815 drivers/net/wireless/st/cw1200/wsm.c buf->begin = tmp; tmp 60 drivers/net/wireless/ti/wl1251/boot.c u32 scr_pad6, init_data, tmp, elp_cmd, ref_freq; tmp 103 drivers/net/wireless/ti/wl1251/boot.c tmp = ((scr_pad6 & 0x0000FF00) << 4) | 0x00004000; tmp 104 drivers/net/wireless/ti/wl1251/boot.c wl1251_reg_write32(wl, ELP_CFG_MODE, tmp); tmp 122 drivers/net/wireless/ti/wl1251/boot.c tmp = init_data - 0x21; tmp 124 drivers/net/wireless/ti/wl1251/boot.c tmp = 0; tmp 125 drivers/net/wireless/ti/wl1251/boot.c wl1251_reg_write32(wl, CLK_REQ_TIME, tmp); tmp 143 drivers/net/wireless/ti/wl1251/boot.c tmp = LUT[ref_freq][LUT_PARAM_INTEGER_DIVIDER] | 0x00017000; tmp 144 drivers/net/wireless/ti/wl1251/boot.c wl1251_reg_write32(wl, 0x00305840, tmp); tmp 149 drivers/net/wireless/ti/wl1251/boot.c tmp = LUT[ref_freq][LUT_PARAM_FRACTIONAL_DIVIDER]; tmp 150 drivers/net/wireless/ti/wl1251/boot.c wl1251_reg_write32(wl, 0x00305844, tmp); tmp 160 drivers/net/wireless/ti/wl1251/boot.c tmp = (LUT[ref_freq][LUT_PARAM_ATTN_BB] << 16) | tmp 162 drivers/net/wireless/ti/wl1251/boot.c wl1251_reg_write32(wl, 0x00305854, tmp); tmp 168 drivers/net/wireless/ti/wl1251/boot.c tmp = LUT[ref_freq][LUT_PARAM_STOP_TIME_BB] | 0x000A0000; tmp 169 drivers/net/wireless/ti/wl1251/boot.c wl1251_reg_write32(wl, 0x00305858, tmp); tmp 176 drivers/net/wireless/ti/wl1251/boot.c tmp = LUT[ref_freq][LUT_PARAM_BB_PLL_LOOP_FILTER] | 0x00000030; tmp 177 drivers/net/wireless/ti/wl1251/boot.c wl1251_reg_write32(wl, 0x003058f8, tmp); tmp 470 drivers/net/wireless/ti/wl1251/boot.c u32 tmp, boot_data; tmp 496 drivers/net/wireless/ti/wl1251/boot.c tmp = wl1251_reg_read32(wl, SCR_PAD2); tmp 499 drivers/net/wireless/ti/wl1251/boot.c wl->boot_attr.radio_type = (tmp & 0x0000FF00) >> 8; tmp 500 drivers/net/wireless/ti/wl1251/boot.c wl->boot_attr.major = (tmp & 0x00FF0000) >> 16; tmp 501 drivers/net/wireless/ti/wl1251/boot.c tmp = wl1251_reg_read32(wl, SCR_PAD3); tmp 504 drivers/net/wireless/ti/wl1251/boot.c wl->boot_attr.minor = (tmp & 0x00FF0000) >> 16; tmp 505 drivers/net/wireless/ti/wl1251/boot.c minor_minor_e2_ver = (tmp & 0xFF000000) >> 24; tmp 1148 drivers/net/wireless/ti/wl12xx/main.c u32 tmp; tmp 1160 drivers/net/wireless/ti/wl12xx/main.c ret = wlcore_read_reg(wl, REG_CHIP_ID_B, &tmp); tmp 1164 drivers/net/wireless/ti/wl12xx/main.c wl1271_debug(DEBUG_BOOT, "chip id 0x%x", tmp); tmp 1167 drivers/net/wireless/ti/wl12xx/main.c ret = wlcore_read32(wl, WL12XX_SCR_PAD2, &tmp); tmp 15 drivers/net/wireless/ti/wl18xx/io.c u32 tmp; tmp 22 drivers/net/wireless/ti/wl18xx/io.c ret = wlcore_read32(wl, addr, &tmp); tmp 26 drivers/net/wireless/ti/wl18xx/io.c tmp = (tmp & 0xffff0000) | val; tmp 27 drivers/net/wireless/ti/wl18xx/io.c ret = wlcore_write32(wl, addr, tmp); tmp 29 drivers/net/wireless/ti/wl18xx/io.c ret = wlcore_read32(wl, addr - 2, &tmp); tmp 33 drivers/net/wireless/ti/wl18xx/io.c tmp = (tmp & 0xffff) | (val << 16); tmp 34 drivers/net/wireless/ti/wl18xx/io.c ret = wlcore_write32(wl, addr - 2, tmp); tmp 866 drivers/net/wireless/ti/wl18xx/main.c u32 tmp; tmp 882 drivers/net/wireless/ti/wl18xx/main.c ret = wlcore_read_reg(wl, REG_CHIP_ID_B, &tmp); tmp 886 drivers/net/wireless/ti/wl18xx/main.c wl1271_debug(DEBUG_BOOT, "chip id 0x%x", tmp); tmp 888 drivers/net/wireless/ti/wl18xx/main.c ret = wlcore_read32(wl, WL18XX_SCR_PAD2, &tmp); tmp 350 drivers/net/wireless/wl3501_cs.c u8 tmp = 0; tmp 352 drivers/net/wireless/wl3501_cs.c wl3501_get_from_wla(this, this->esbq_req_head + 3, &tmp, sizeof(tmp)); tmp 353 drivers/net/wireless/wl3501_cs.c return tmp & 0x80; tmp 358 drivers/net/wireless/wl3501_cs.c u16 tmp = 0; tmp 361 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, this->esbq_req_head + 2, &tmp, sizeof(tmp)); tmp 806 drivers/net/wireless/wl3501_cs.c u8 tmp; tmp 811 drivers/net/wireless/wl3501_cs.c wl3501_get_from_wla(this, this->esbq_req_tail + 3, &tmp, sizeof(tmp)); tmp 812 drivers/net/wireless/wl3501_cs.c if (!(tmp & 0x80)) tmp 825 drivers/net/wireless/wl3501_cs.c u8 tmp; tmp 827 drivers/net/wireless/wl3501_cs.c wl3501_get_from_wla(this, this->esbq_confirm + 3, &tmp, sizeof(tmp)); tmp 828 drivers/net/wireless/wl3501_cs.c return tmp & 0x80; tmp 842 drivers/net/wireless/wl3501_cs.c u8 tmp = 0; tmp 844 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, this->esbq_confirm + 3, &tmp, sizeof(tmp)); tmp 1141 drivers/net/wireless/wl3501_cs.c u8 tmp = 0; tmp 1150 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, 0x480, &tmp, sizeof(tmp)); tmp 1161 drivers/net/wireless/wl3501_cs.c wl3501_get_from_wla(this, 0x480, &tmp, sizeof(tmp)); tmp 1163 drivers/net/wireless/wl3501_cs.c if (tmp == 'W') { tmp 1165 drivers/net/wireless/wl3501_cs.c tmp = 'A'; tmp 1166 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, 0x480, &tmp, sizeof(tmp)); tmp 508 drivers/net/wireless/zydas/zd1211rw/zd_chip.c u32 tmp; tmp 511 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_ioread32_locked(chip, &tmp, CR_REG1); tmp 517 drivers/net/wireless/zydas/zd1211rw/zd_chip.c tmp &= ~UNLOCK_PHY_REGS; tmp 519 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_iowrite32_locked(chip, tmp, CR_REG1); tmp 528 drivers/net/wireless/zydas/zd1211rw/zd_chip.c u32 tmp; tmp 531 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_ioread32_locked(chip, &tmp, CR_REG1); tmp 538 drivers/net/wireless/zydas/zd1211rw/zd_chip.c tmp |= UNLOCK_PHY_REGS; tmp 540 drivers/net/wireless/zydas/zd1211rw/zd_chip.c r = zd_iowrite32_locked(chip, tmp, CR_REG1); tmp 706 drivers/net/wireless/zydas/zd1211rw/zd_mac.c u32 tmp, j = 0; tmp 732 drivers/net/wireless/zydas/zd1211rw/zd_mac.c r = zd_ioread32_locked(&mac->chip, &tmp, CR_BCN_FIFO_SEMAPHORE); tmp 735 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (in_intr && tmp & 0x2) { tmp 742 drivers/net/wireless/zydas/zd1211rw/zd_mac.c while (tmp & 0x2) { tmp 743 drivers/net/wireless/zydas/zd1211rw/zd_mac.c r = zd_ioread32_locked(&mac->chip, &tmp, CR_BCN_FIFO_SEMAPHORE); tmp 134 drivers/nfc/fdp/i2c.c u8 tmp[FDP_NCI_I2C_MAX_PAYLOAD], lrc, k; tmp 145 drivers/nfc/fdp/i2c.c r = i2c_master_recv(client, tmp, len); tmp 154 drivers/nfc/fdp/i2c.c lrc ^= tmp[i]; tmp 169 drivers/nfc/fdp/i2c.c if (tmp[0] == 0 && tmp[1] == 0) { tmp 170 drivers/nfc/fdp/i2c.c phy->next_read_size = (tmp[2] << 8) + tmp[3] + 3; tmp 180 drivers/nfc/fdp/i2c.c skb_put_data(*skb, tmp, len); tmp 191 drivers/nfc/fdp/i2c.c if (i2c_master_recv(client, tmp, sizeof(tmp)) < 0) tmp 143 drivers/nfc/microread/i2c.c u8 tmp[MICROREAD_I2C_LLC_MAX_SIZE - 1]; tmp 190 drivers/nfc/microread/i2c.c if (i2c_master_recv(client, tmp, sizeof(tmp)) < 0) tmp 1911 drivers/nfc/pn533/pn533.c struct sk_buff *skb, *tmp, *t; tmp 1924 drivers/nfc/pn533/pn533.c skb_queue_walk_safe(&dev->resp_q, tmp, t) tmp 1925 drivers/nfc/pn533/pn533.c skb_len += tmp->len; tmp 1936 drivers/nfc/pn533/pn533.c skb_queue_walk_safe(&dev->resp_q, tmp, t) { tmp 1937 drivers/nfc/pn533/pn533.c memcpy(skb->data + tmp_len, tmp->data, tmp->len); tmp 1938 drivers/nfc/pn533/pn533.c tmp_len += tmp->len; tmp 362 drivers/nfc/pn544/i2c.c u8 tmp[PN544_HCI_I2C_LLC_MAX_SIZE - 1]; tmp 409 drivers/nfc/pn544/i2c.c if (i2c_master_recv(client, tmp, sizeof(tmp)) < 0) tmp 99 drivers/nfc/st21nfca/i2c.c u8 tmp[ST21NFCA_HCI_LLC_MAX_SIZE]; tmp 115 drivers/nfc/st21nfca/i2c.c r = i2c_master_recv(phy->i2c_dev, tmp, tmp 124 drivers/nfc/st21nfca/i2c.c tmp[i] == ST21NFCA_SOF_EOF; i++) tmp 159 drivers/nfc/st21nfca/i2c.c u8 tmp; tmp 166 drivers/nfc/st21nfca/i2c.c tmp = crc & 0x00ff; tmp 167 drivers/nfc/st21nfca/i2c.c skb_put_u8(skb, tmp); tmp 169 drivers/nfc/st21nfca/i2c.c tmp = (crc >> 8) & 0x00ff; tmp 170 drivers/nfc/st21nfca/i2c.c skb_put_u8(skb, tmp); tmp 189 drivers/nfc/st21nfca/i2c.c u8 tmp[ST21NFCA_HCI_LLC_MAX_SIZE * 2]; tmp 214 drivers/nfc/st21nfca/i2c.c tmp[0] = skb->data[0]; tmp 218 drivers/nfc/st21nfca/i2c.c tmp[j] = ST21NFCA_ESCAPE_BYTE_STUFFING; tmp 220 drivers/nfc/st21nfca/i2c.c tmp[j] = skb->data[i] ^ ST21NFCA_BYTE_STUFFING_MASK; tmp 222 drivers/nfc/st21nfca/i2c.c tmp[j] = skb->data[i]; tmp 225 drivers/nfc/st21nfca/i2c.c tmp[j] = skb->data[i]; tmp 234 drivers/nfc/st21nfca/i2c.c r = i2c_master_send(client, tmp, j); tmp 81 drivers/nubus/bus.c struct nubus_rsrc *fres, *tmp; tmp 83 drivers/nubus/bus.c list_for_each_entry_safe(fres, tmp, &nubus_func_rsrcs, list) tmp 2596 drivers/nvme/host/core.c struct nvme_ctrl *tmp; tmp 2600 drivers/nvme/host/core.c list_for_each_entry(tmp, &subsys->ctrls, subsys_entry) { tmp 2601 drivers/nvme/host/core.c if (tmp->state == NVME_CTRL_DELETING || tmp 2602 drivers/nvme/host/core.c tmp->state == NVME_CTRL_DEAD) tmp 2605 drivers/nvme/host/core.c if (tmp->cntlid == ctrl->cntlid) { tmp 2608 drivers/nvme/host/core.c ctrl->cntlid, dev_name(tmp->device)); tmp 1903 drivers/nvme/host/pci.c u64 size, tmp; tmp 1905 drivers/nvme/host/pci.c tmp = (preferred + chunk_size - 1); tmp 1906 drivers/nvme/host/pci.c do_div(tmp, chunk_size); tmp 1907 drivers/nvme/host/pci.c max_entries = tmp; tmp 1619 drivers/nvme/target/rdma.c struct nvmet_rdma_queue *queue, *tmp; tmp 1640 drivers/nvme/target/rdma.c list_for_each_entry_safe(queue, tmp, &nvmet_rdma_queue_list, tmp 140 drivers/nvmem/meson-mx-efuse.c u32 tmp; tmp 154 drivers/nvmem/meson-mx-efuse.c err = meson_mx_efuse_read_addr(efuse, addr, &tmp); tmp 158 drivers/nvmem/meson-mx-efuse.c memcpy(buf + i, &tmp, tmp 571 drivers/of/base.c unsigned int tmp, score = 0; tmp 577 drivers/of/base.c tmp = of_device_is_compatible(device, *compat); tmp 578 drivers/of/base.c if (tmp > score) tmp 579 drivers/of/base.c score = tmp; tmp 909 drivers/of/base.c struct device_node *tmp = node; tmp 913 drivers/of/base.c of_node_put(tmp); tmp 37 drivers/of/device.c struct device *tmp; tmp 41 drivers/of/device.c tmp = get_device(&dev->dev); tmp 42 drivers/of/device.c if (tmp) tmp 43 drivers/of/device.c return to_platform_device(tmp); tmp 763 drivers/of/fdt.c unsigned int tmp, score = 0; tmp 769 drivers/of/fdt.c tmp = of_fdt_is_compatible(initial_boot_params, node, *compat); tmp 770 drivers/of/fdt.c if (tmp && (score == 0 || (tmp < score))) tmp 771 drivers/of/fdt.c score = tmp; tmp 98 drivers/of/irq.c const __be32 *tmp, *imap, *imask, dummy_imask[] = { [0 ... MAX_PHANDLE_ARGS] = cpu_to_be32(~0) }; tmp 134 drivers/of/irq.c tmp = of_get_property(old, "#address-cells", NULL); tmp 138 drivers/of/irq.c } while (old && tmp == NULL); tmp 141 drivers/of/irq.c addrsize = (tmp == NULL) ? 2 : be32_to_cpu(*tmp); tmp 70 drivers/of/pdt.c static struct property *tmp = NULL; tmp 74 drivers/of/pdt.c if (tmp) { tmp 75 drivers/of/pdt.c p = tmp; tmp 77 drivers/of/pdt.c tmp = NULL; tmp 92 drivers/of/pdt.c tmp = p; tmp 330 drivers/of/unittest.c struct hlist_node *tmp; tmp 358 drivers/of/unittest.c hash_for_each_safe(phandle_ht, i, tmp, nh, node) { tmp 1077 drivers/opp/core.c struct dev_pm_opp *opp, *tmp; tmp 1079 drivers/opp/core.c list_for_each_entry_safe(opp, tmp, &opp_table->opp_list, node) { tmp 1061 drivers/opp/of.c u64 tmp; tmp 1087 drivers/opp/of.c tmp = (u64)cap * mV * mV * (Hz / 1000000); tmp 1088 drivers/opp/of.c do_div(tmp, 1000000000); tmp 1090 drivers/opp/of.c *mW = (unsigned long)tmp; tmp 136 drivers/opp/ti-opp-supply.c u32 tmp; tmp 141 drivers/opp/ti-opp-supply.c tmp = readl(base + efuse_offset); tmp 142 drivers/opp/ti-opp-supply.c tmp &= of_data->efuse_voltage_mask; tmp 143 drivers/opp/ti-opp-supply.c tmp >>= __ffs(of_data->efuse_voltage_mask); tmp 145 drivers/opp/ti-opp-supply.c table->optimized_uv = of_data->efuse_voltage_uv ? tmp : tmp 146 drivers/opp/ti-opp-supply.c tmp * 1000; tmp 402 drivers/parisc/ccio-dma.c unsigned long tmp = cr_end - cr_start; tmp 404 drivers/parisc/ccio-dma.c cr_start = (cr_end < cr_start) ? -(tmp) : (tmp); tmp 322 drivers/parisc/dino.c u32 tmp; tmp 347 drivers/parisc/dino.c tmp = __raw_readl(dino_dev->hba.base_addr+DINO_ILR); tmp 348 drivers/parisc/dino.c if (tmp & DINO_MASK_IRQ(local_irq)) { tmp 350 drivers/parisc/dino.c __func__, tmp); tmp 502 drivers/parisc/dino.c struct pci_dev *dev, *tmp; tmp 507 drivers/parisc/dino.c list_for_each_entry_safe(dev, tmp, &bus->devices, bus_list) { tmp 28 drivers/parisc/eisa_eeprom.c unsigned char *tmp; tmp 36 drivers/parisc/eisa_eeprom.c tmp = kmalloc(count, GFP_KERNEL); tmp 37 drivers/parisc/eisa_eeprom.c if (tmp) { tmp 39 drivers/parisc/eisa_eeprom.c tmp[i] = readb(eisa_eeprom_addr+(*ppos)++); tmp 41 drivers/parisc/eisa_eeprom.c if (copy_to_user (buf, tmp, count)) tmp 45 drivers/parisc/eisa_eeprom.c kfree (tmp); tmp 575 drivers/parisc/lba_pci.c struct resource *tmp = root->child; tmp 577 drivers/parisc/lba_pci.c if (end <= start || start < root->start || !tmp) tmp 581 drivers/parisc/lba_pci.c while (tmp && tmp->end < start) tmp 582 drivers/parisc/lba_pci.c tmp = tmp->sibling; tmp 585 drivers/parisc/lba_pci.c if (!tmp) return 0; tmp 590 drivers/parisc/lba_pci.c if (tmp->start >= end) return 0; tmp 592 drivers/parisc/lba_pci.c if (tmp->start <= start) { tmp 594 drivers/parisc/lba_pci.c new->start = tmp->end + 1; tmp 596 drivers/parisc/lba_pci.c if (tmp->end >= end) { tmp 602 drivers/parisc/lba_pci.c if (tmp->end < end ) { tmp 604 drivers/parisc/lba_pci.c new->end = tmp->start - 1; tmp 624 drivers/parisc/lba_pci.c struct resource *tmp; tmp 645 drivers/parisc/lba_pci.c for (tmp = iomem_resource.child; tmp; tmp = tmp->sibling) { tmp 646 drivers/parisc/lba_pci.c pr_debug("LBA: testing %pR\n", tmp); tmp 647 drivers/parisc/lba_pci.c if (tmp->start == start) tmp 649 drivers/parisc/lba_pci.c if (tmp->end < start) tmp 651 drivers/parisc/lba_pci.c if (tmp->start > end) tmp 653 drivers/parisc/lba_pci.c if (end >= tmp->start) tmp 654 drivers/parisc/lba_pci.c end = tmp->start - 1; tmp 465 drivers/parisc/sba_iommu.c unsigned long tmp = cr_end - cr_start; tmp 467 drivers/parisc/sba_iommu.c cr_start = (cr_end < cr_start) ? -(tmp) : (tmp); tmp 236 drivers/parport/parport_gsc.c struct parport tmp; tmp 237 drivers/parport/parport_gsc.c struct parport *p = &tmp; tmp 281 drivers/parport/parport_gsc.c p->modes = tmp.modes; tmp 2438 drivers/parport/parport_pc.c u8 tmp, tmp2, siofunc; tmp 2482 drivers/parport/parport_pc.c pci_read_config_byte(pdev, via->via_pci_superio_config_reg, &tmp); tmp 2483 drivers/parport/parport_pc.c tmp |= via->via_pci_superio_config_data; tmp 2484 drivers/parport/parport_pc.c pci_write_config_byte(pdev, via->via_pci_superio_config_reg, tmp); tmp 2488 drivers/parport/parport_pc.c tmp = inb(VIA_CONFIG_DATA); tmp 2493 drivers/parport/parport_pc.c siofunc = tmp & VIA_FUNCTION_PARPORT_DISABLE; tmp 2496 drivers/parport/parport_pc.c tmp &= ~VIA_FUNCTION_PARPORT_DISABLE; tmp 2497 drivers/parport/parport_pc.c tmp |= siofunc; tmp 2499 drivers/parport/parport_pc.c outb(tmp, VIA_CONFIG_DATA); tmp 2523 drivers/parport/parport_pc.c pci_read_config_byte(pdev, via->via_pci_superio_config_reg, &tmp); tmp 2524 drivers/parport/parport_pc.c tmp &= ~via->via_pci_superio_config_data; tmp 2525 drivers/parport/parport_pc.c pci_write_config_byte(pdev, via->via_pci_superio_config_reg, tmp); tmp 2533 drivers/parport/parport_pc.c pci_read_config_byte(pdev, via->via_pci_parport_irq_reg, &tmp); tmp 2534 drivers/parport/parport_pc.c irq = ((tmp & VIA_IRQCONTROL_PARALLEL) >> 4); tmp 2538 drivers/parport/parport_pc.c pci_read_config_byte(pdev, via->via_pci_parport_dma_reg, &tmp); tmp 2539 drivers/parport/parport_pc.c dma = ((tmp & VIA_DMACONTROL_PARALLEL) >> 2); tmp 54 drivers/parport/parport_sunbpp.c u32 tmp; tmp 56 drivers/parport/parport_sunbpp.c tmp = sbus_readl(®s->p_csr); tmp 57 drivers/parport/parport_sunbpp.c tmp &= ~DMA_INT_ENAB; tmp 58 drivers/parport/parport_sunbpp.c sbus_writel(tmp, ®s->p_csr); tmp 64 drivers/parport/parport_sunbpp.c u32 tmp; tmp 66 drivers/parport/parport_sunbpp.c tmp = sbus_readl(®s->p_csr); tmp 67 drivers/parport/parport_sunbpp.c tmp |= DMA_INT_ENAB; tmp 68 drivers/parport/parport_sunbpp.c sbus_writel(tmp, ®s->p_csr); tmp 240 drivers/parport/probe.c char tmp[4]; tmp 241 drivers/parport/probe.c retval = parport_read (port, tmp, tmp 242 drivers/parport/probe.c min(sizeof tmp, idlen-len2)); tmp 461 drivers/parport/share.c struct parport *tmp; tmp 467 drivers/parport/share.c tmp = kzalloc(sizeof(struct parport), GFP_KERNEL); tmp 468 drivers/parport/share.c if (!tmp) tmp 472 drivers/parport/share.c tmp->base = base; tmp 473 drivers/parport/share.c tmp->irq = irq; tmp 474 drivers/parport/share.c tmp->dma = dma; tmp 475 drivers/parport/share.c tmp->muxport = tmp->daisy = tmp->muxsel = -1; tmp 476 drivers/parport/share.c tmp->modes = 0; tmp 477 drivers/parport/share.c INIT_LIST_HEAD(&tmp->list); tmp 478 drivers/parport/share.c tmp->devices = tmp->cad = NULL; tmp 479 drivers/parport/share.c tmp->flags = 0; tmp 480 drivers/parport/share.c tmp->ops = ops; tmp 481 drivers/parport/share.c tmp->physport = tmp; tmp 482 drivers/parport/share.c memset(tmp->probe_info, 0, 5 * sizeof(struct parport_device_info)); tmp 483 drivers/parport/share.c rwlock_init(&tmp->cad_lock); tmp 484 drivers/parport/share.c spin_lock_init(&tmp->waitlist_lock); tmp 485 drivers/parport/share.c spin_lock_init(&tmp->pardevice_lock); tmp 486 drivers/parport/share.c tmp->ieee1284.mode = IEEE1284_MODE_COMPAT; tmp 487 drivers/parport/share.c tmp->ieee1284.phase = IEEE1284_PH_FWD_IDLE; tmp 488 drivers/parport/share.c sema_init(&tmp->ieee1284.irq, 0); tmp 489 drivers/parport/share.c tmp->spintime = parport_default_spintime; tmp 490 drivers/parport/share.c atomic_set(&tmp->ref_count, 1); tmp 491 drivers/parport/share.c INIT_LIST_HEAD(&tmp->full_list); tmp 495 drivers/parport/share.c kfree(tmp); tmp 506 drivers/parport/share.c tmp->portnum = tmp->number = num; tmp 507 drivers/parport/share.c list_add_tail(&tmp->full_list, l); tmp 513 drivers/parport/share.c sprintf(name, "parport%d", tmp->portnum = tmp->number); tmp 514 drivers/parport/share.c tmp->name = name; tmp 515 drivers/parport/share.c tmp->bus_dev.bus = &parport_bus_type; tmp 516 drivers/parport/share.c tmp->bus_dev.release = free_port; tmp 517 drivers/parport/share.c dev_set_name(&tmp->bus_dev, name); tmp 518 drivers/parport/share.c tmp->bus_dev.type = &parport_device_type; tmp 522 drivers/parport/share.c tmp->probe_info[device].class = PARPORT_CLASS_LEGACY; tmp 524 drivers/parport/share.c tmp->waithead = tmp->waittail = NULL; tmp 526 drivers/parport/share.c ret = device_register(&tmp->bus_dev); tmp 528 drivers/parport/share.c put_device(&tmp->bus_dev); tmp 532 drivers/parport/share.c return tmp; tmp 720 drivers/parport/share.c struct pardevice *tmp; tmp 761 drivers/parport/share.c tmp = kmalloc(sizeof(struct pardevice), GFP_KERNEL); tmp 762 drivers/parport/share.c if (!tmp) tmp 765 drivers/parport/share.c tmp->state = kmalloc(sizeof(struct parport_state), GFP_KERNEL); tmp 766 drivers/parport/share.c if (!tmp->state) tmp 769 drivers/parport/share.c tmp->name = name; tmp 770 drivers/parport/share.c tmp->port = port; tmp 771 drivers/parport/share.c tmp->daisy = -1; tmp 772 drivers/parport/share.c tmp->preempt = pf; tmp 773 drivers/parport/share.c tmp->wakeup = kf; tmp 774 drivers/parport/share.c tmp->private = handle; tmp 775 drivers/parport/share.c tmp->flags = flags; tmp 776 drivers/parport/share.c tmp->irq_func = irq_func; tmp 777 drivers/parport/share.c tmp->waiting = 0; tmp 778 drivers/parport/share.c tmp->timeout = 5 * HZ; tmp 779 drivers/parport/share.c tmp->devmodel = false; tmp 782 drivers/parport/share.c tmp->prev = NULL; tmp 800 drivers/parport/share.c tmp->next = port->physport->devices; tmp 807 drivers/parport/share.c port->physport->devices->prev = tmp; tmp 808 drivers/parport/share.c port->physport->devices = tmp; tmp 811 drivers/parport/share.c init_waitqueue_head(&tmp->wait_q); tmp 812 drivers/parport/share.c tmp->timeslice = parport_default_timeslice; tmp 813 drivers/parport/share.c tmp->waitnext = tmp->waitprev = NULL; tmp 819 drivers/parport/share.c port->ops->init_state(tmp, tmp->state); tmp 821 drivers/parport/share.c port->proc_device = tmp; tmp 822 drivers/parport/share.c parport_device_proc_register(tmp); tmp 824 drivers/parport/share.c return tmp; tmp 827 drivers/parport/share.c kfree(tmp->state); tmp 829 drivers/parport/share.c kfree(tmp); tmp 143 drivers/pci/access.c u32 mask, tmp; tmp 168 drivers/pci/access.c tmp = readl(addr) & mask; tmp 169 drivers/pci/access.c tmp |= val << ((where & 0x3) * 8); tmp 170 drivers/pci/access.c writel(tmp, addr); tmp 82 drivers/pci/bus.c struct pci_bus_resource *bus_res, *tmp; tmp 87 drivers/pci/bus.c list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { tmp 283 drivers/pci/controller/dwc/pci-imx6.c u16 tmp; tmp 288 drivers/pci/controller/dwc/pci-imx6.c pcie_phy_read(imx6_pcie, PHY_RX_OVRD_IN_LO, &tmp); tmp 289 drivers/pci/controller/dwc/pci-imx6.c tmp |= (PHY_RX_OVRD_IN_LO_RX_DATA_EN | tmp 291 drivers/pci/controller/dwc/pci-imx6.c pcie_phy_write(imx6_pcie, PHY_RX_OVRD_IN_LO, tmp); tmp 295 drivers/pci/controller/dwc/pci-imx6.c pcie_phy_read(imx6_pcie, PHY_RX_OVRD_IN_LO, &tmp); tmp 296 drivers/pci/controller/dwc/pci-imx6.c tmp &= ~(PHY_RX_OVRD_IN_LO_RX_DATA_EN | tmp 298 drivers/pci/controller/dwc/pci-imx6.c pcie_phy_write(imx6_pcie, PHY_RX_OVRD_IN_LO, tmp); tmp 726 drivers/pci/controller/dwc/pci-imx6.c u32 tmp; tmp 730 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL); tmp 732 drivers/pci/controller/dwc/pci-imx6.c if (!(tmp & PORT_LOGIC_SPEED_CHANGE)) tmp 764 drivers/pci/controller/dwc/pci-imx6.c u32 tmp; tmp 772 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_RC_LCR); tmp 773 drivers/pci/controller/dwc/pci-imx6.c tmp &= ~PCIE_RC_LCR_MAX_LINK_SPEEDS_MASK; tmp 774 drivers/pci/controller/dwc/pci-imx6.c tmp |= PCIE_RC_LCR_MAX_LINK_SPEEDS_GEN1; tmp 775 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_RC_LCR, tmp); tmp 786 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_RC_LCR); tmp 787 drivers/pci/controller/dwc/pci-imx6.c tmp &= ~PCIE_RC_LCR_MAX_LINK_SPEEDS_MASK; tmp 788 drivers/pci/controller/dwc/pci-imx6.c tmp |= PCIE_RC_LCR_MAX_LINK_SPEEDS_GEN2; tmp 789 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_RC_LCR, tmp); tmp 795 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL); tmp 796 drivers/pci/controller/dwc/pci-imx6.c tmp |= PORT_LOGIC_SPEED_CHANGE; tmp 797 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL, tmp); tmp 827 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_RC_LCSR); tmp 828 drivers/pci/controller/dwc/pci-imx6.c dev_info(dev, "Link up, Gen%i\n", (tmp >> 16) & 0xf); tmp 323 drivers/pci/controller/dwc/pcie-designware-host.c struct resource_entry *win, *tmp; tmp 356 drivers/pci/controller/dwc/pcie-designware-host.c resource_list_for_each_entry_safe(win, tmp, &bridge->windows) { tmp 348 drivers/pci/controller/dwc/pcie-tegra194.c u32 val, tmp; tmp 395 drivers/pci/controller/dwc/pcie-tegra194.c tmp = dw_pcie_readl_dbi(pci, PCIE_PL_CHK_REG_CONTROL_STATUS); tmp 398 drivers/pci/controller/dwc/pcie-tegra194.c tmp |= PCIE_PL_CHK_REG_CHK_REG_COMPLETE; tmp 402 drivers/pci/controller/dwc/pcie-tegra194.c tmp |= PCIE_PL_CHK_REG_CHK_REG_COMPARISON_ERROR; tmp 406 drivers/pci/controller/dwc/pcie-tegra194.c tmp |= PCIE_PL_CHK_REG_CHK_REG_LOGIC_ERROR; tmp 408 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PCIE_PL_CHK_REG_CONTROL_STATUS, tmp); tmp 409 drivers/pci/controller/dwc/pcie-tegra194.c tmp = dw_pcie_readl_dbi(pci, PCIE_PL_CHK_REG_ERR_ADDR); tmp 410 drivers/pci/controller/dwc/pcie-tegra194.c dev_err(pci->dev, "CDM Error Address Offset = 0x%08X\n", tmp); tmp 823 drivers/pci/controller/dwc/pcie-tegra194.c u32 val, tmp, offset, speed; tmp 839 drivers/pci/controller/dwc/pcie-tegra194.c tmp = appl_readl(pcie, APPL_LINK_STATUS); tmp 840 drivers/pci/controller/dwc/pcie-tegra194.c tmp &= APPL_LINK_STATUS_RDLH_LINK_UP; tmp 841 drivers/pci/controller/dwc/pcie-tegra194.c if (!(val == 0x11 && !tmp)) { tmp 949 drivers/pci/controller/pci-aardvark.c struct resource_entry *win, *tmp; tmp 963 drivers/pci/controller/pci-aardvark.c resource_list_for_each_entry_safe(win, tmp, &pcie->resources) { tmp 1192 drivers/pci/controller/pci-hyperv.c cpumask_var_t tmp; tmp 1238 drivers/pci/controller/pci-hyperv.c if (!alloc_cpumask_var(&tmp, GFP_ATOMIC)) { tmp 1243 drivers/pci/controller/pci-hyperv.c cpumask_and(tmp, dest, cpu_online_mask); tmp 1244 drivers/pci/controller/pci-hyperv.c nr_bank = cpumask_to_vpset(¶ms->int_target.vp_set, tmp); tmp 1245 drivers/pci/controller/pci-hyperv.c free_cpumask_var(tmp); tmp 2457 drivers/pci/controller/pci-tegra.c struct tegra_pcie_port *port, *tmp; tmp 2459 drivers/pci/controller/pci-tegra.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { tmp 2469 drivers/pci/controller/pci-tegra.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { tmp 2485 drivers/pci/controller/pci-tegra.c struct tegra_pcie_port *port, *tmp; tmp 2489 drivers/pci/controller/pci-tegra.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) tmp 2854 drivers/pci/controller/pci-tegra.c struct tegra_pcie_port *port, *tmp; tmp 2870 drivers/pci/controller/pci-tegra.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) tmp 70 drivers/pci/controller/pci-versatile.c struct resource_entry *win, *tmp; tmp 80 drivers/pci/controller/pci-versatile.c resource_list_for_each_entry_safe(win, tmp, res) { tmp 688 drivers/pci/controller/pcie-iproc.c u32 mask, tmp; tmp 700 drivers/pci/controller/pcie-iproc.c tmp = readl(addr) & mask; tmp 701 drivers/pci/controller/pcie-iproc.c tmp |= val << ((where & 0x3) * 8); tmp 702 drivers/pci/controller/pcie-iproc.c writel(tmp, addr); tmp 1190 drivers/pci/controller/pcie-iproc.c struct resource_entry *entry, *tmp; tmp 1197 drivers/pci/controller/pcie-iproc.c resource_list_for_each_entry(tmp, resources) { tmp 1198 drivers/pci/controller/pcie-iproc.c if (tmp->res->start < range->cpu_addr) tmp 1199 drivers/pci/controller/pcie-iproc.c head = &tmp->node; tmp 247 drivers/pci/controller/pcie-mediatek.c struct mtk_pcie_port *port, *tmp; tmp 249 drivers/pci/controller/pcie-mediatek.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { tmp 284 drivers/pci/controller/pcie-mediatek.c u32 tmp; tmp 294 drivers/pci/controller/pcie-mediatek.c tmp = readl(port->base + PCIE_APP_TLP_REQ); tmp 295 drivers/pci/controller/pcie-mediatek.c tmp |= APP_CFG_REQ; tmp 296 drivers/pci/controller/pcie-mediatek.c writel(tmp, port->base + PCIE_APP_TLP_REQ); tmp 538 drivers/pci/controller/pcie-mediatek.c struct mtk_pcie_port *port, *tmp; tmp 540 drivers/pci/controller/pcie-mediatek.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { tmp 1023 drivers/pci/controller/pcie-mediatek.c struct mtk_pcie_port *port, *tmp; tmp 1081 drivers/pci/controller/pcie-mediatek.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) tmp 1185 drivers/pci/controller/pcie-mediatek.c struct mtk_pcie_port *port, *tmp; tmp 1192 drivers/pci/controller/pcie-mediatek.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) tmp 134 drivers/pci/controller/pcie-rockchip-host.c u32 mask, tmp, offset; tmp 152 drivers/pci/controller/pcie-rockchip-host.c tmp = readl(addr) & mask; tmp 153 drivers/pci/controller/pcie-rockchip-host.c tmp |= val << ((where & 0x3) * 8); tmp 154 drivers/pci/controller/pcie-rockchip-host.c writel(tmp, addr); tmp 150 drivers/pci/endpoint/pci-epf-core.c struct config_group *group, *tmp; tmp 156 drivers/pci/endpoint/pci-epf-core.c list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) tmp 146 drivers/pci/hotplug/acpiphp_glue.c struct acpiphp_func *func, *tmp; tmp 153 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry_safe(func, tmp, &slot->funcs, sibling) tmp 364 drivers/pci/hotplug/acpiphp_glue.c struct pci_bus *tmp; tmp 377 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry(tmp, &bus->children, node) { tmp 378 drivers/pci/hotplug/acpiphp_glue.c n = pci_bus_max_busnr(tmp); tmp 668 drivers/pci/hotplug/acpiphp_glue.c struct pci_dev *child, *tmp; tmp 672 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry_safe_reverse(child, tmp, &bus->devices, bus_list) tmp 699 drivers/pci/hotplug/acpiphp_glue.c struct pci_dev *dev, *tmp; tmp 705 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry_safe_reverse(dev, tmp, tmp 727 drivers/pci/hotplug/acpiphp_glue.c struct pci_dev *dev, *tmp; tmp 731 drivers/pci/hotplug/acpiphp_glue.c list_for_each_entry_safe_reverse(dev, tmp, &bus->devices, bus_list) { tmp 245 drivers/pci/hotplug/cpci_hotplug_core.c struct slot *tmp; tmp 253 drivers/pci/hotplug/cpci_hotplug_core.c list_for_each_entry_safe(slot, tmp, &slot_list, slot_list) { tmp 550 drivers/pci/hotplug/cpci_hotplug_core.c struct slot *tmp; tmp 559 drivers/pci/hotplug/cpci_hotplug_core.c list_for_each_entry_safe(slot, tmp, &slot_list, slot_list) { tmp 64 drivers/pci/hotplug/cpcihp_generic.c unsigned long tmp; tmp 74 drivers/pci/hotplug/cpcihp_generic.c tmp = simple_strtoul(str, &p, 16); tmp 75 drivers/pci/hotplug/cpcihp_generic.c if (p == str || tmp > 0xff) { tmp 79 drivers/pci/hotplug/cpcihp_generic.c bridge_busnr = (u8) tmp; tmp 86 drivers/pci/hotplug/cpcihp_generic.c tmp = simple_strtoul(str, &p, 16); tmp 87 drivers/pci/hotplug/cpcihp_generic.c if (p == str || tmp > 0x1f) { tmp 91 drivers/pci/hotplug/cpcihp_generic.c bridge_slot = (u8) tmp; tmp 90 drivers/pci/hotplug/pnv_php.c struct pnv_php_slot *target, *tmp; tmp 97 drivers/pci/hotplug/pnv_php.c list_for_each_entry(tmp, &php_slot->children, link) { tmp 98 drivers/pci/hotplug/pnv_php.c target = pnv_php_match(dn, tmp); tmp 108 drivers/pci/hotplug/pnv_php.c struct pnv_php_slot *php_slot, *tmp; tmp 112 drivers/pci/hotplug/pnv_php.c list_for_each_entry(tmp, &pnv_php_slot_list, link) { tmp 113 drivers/pci/hotplug/pnv_php.c php_slot = pnv_php_match(dn, tmp); tmp 126 drivers/pci/hotplug/rpadlpar_core.c struct pci_dev *tmp = NULL; tmp 129 drivers/pci/hotplug/rpadlpar_core.c list_for_each_entry(tmp, &parent->devices, bus_list) { tmp 130 drivers/pci/hotplug/rpadlpar_core.c child_dn = pci_device_to_OF_node(tmp); tmp 132 drivers/pci/hotplug/rpadlpar_core.c return tmp; tmp 367 drivers/pci/msi.c struct msi_desc *entry, *tmp; tmp 379 drivers/pci/msi.c list_for_each_entry_safe(entry, tmp, msi_list, list) { tmp 489 drivers/pci/of.c struct resource_entry *win, *tmp; tmp 501 drivers/pci/of.c resource_list_for_each_entry_safe(win, tmp, resources) { tmp 173 drivers/pci/pci-label.c union acpi_object *obj, *tmp; tmp 185 drivers/pci/pci-label.c tmp = obj->package.elements; tmp 187 drivers/pci/pci-label.c tmp[0].type == ACPI_TYPE_INTEGER && tmp 188 drivers/pci/pci-label.c (tmp[1].type == ACPI_TYPE_STRING || tmp 189 drivers/pci/pci-label.c tmp[1].type == ACPI_TYPE_BUFFER)) { tmp 196 drivers/pci/pci-label.c scnprintf(buf, PAGE_SIZE, "%llu\n", tmp->integer.value); tmp 198 drivers/pci/pci-label.c if (tmp[1].type == ACPI_TYPE_STRING) tmp 200 drivers/pci/pci-label.c tmp[1].string.pointer); tmp 201 drivers/pci/pci-label.c else if (tmp[1].type == ACPI_TYPE_BUFFER) tmp 202 drivers/pci/pci-label.c dsm_label_utf16s_to_utf8s(tmp + 1, buf); tmp 154 drivers/pci/pci.c struct pci_bus *tmp; tmp 158 drivers/pci/pci.c list_for_each_entry(tmp, &bus->children, node) { tmp 159 drivers/pci/pci.c n = pci_bus_max_busnr(tmp); tmp 1195 drivers/pci/pci.c struct pci_cap_saved_state *tmp; tmp 1197 drivers/pci/pci.c hlist_for_each_entry(tmp, &pci_dev->saved_cap_space, next) { tmp 1198 drivers/pci/pci.c if (tmp->cap.cap_extended == extended && tmp->cap.cap_nr == cap) tmp 1199 drivers/pci/pci.c return tmp; tmp 1502 drivers/pci/pci.c struct pci_cap_saved_state *tmp; tmp 1511 drivers/pci/pci.c hlist_for_each_entry(tmp, &dev->saved_cap_space, next) tmp 1512 drivers/pci/pci.c size += sizeof(struct pci_cap_saved_data) + tmp->cap.size; tmp 1522 drivers/pci/pci.c hlist_for_each_entry(tmp, &dev->saved_cap_space, next) { tmp 1523 drivers/pci/pci.c size_t len = sizeof(struct pci_cap_saved_data) + tmp->cap.size; tmp 1524 drivers/pci/pci.c memcpy(cap, &tmp->cap, len); tmp 1553 drivers/pci/pci.c struct pci_cap_saved_state *tmp; tmp 1555 drivers/pci/pci.c tmp = _pci_find_saved_cap(dev, cap->cap_nr, cap->cap_extended); tmp 1556 drivers/pci/pci.c if (!tmp || tmp->cap.size != cap->size) tmp 1559 drivers/pci/pci.c memcpy(tmp->cap.data, cap->data, tmp->cap.size); tmp 3122 drivers/pci/pci.c struct pci_cap_saved_state *tmp; tmp 3125 drivers/pci/pci.c hlist_for_each_entry_safe(tmp, n, &dev->saved_cap_space, next) tmp 3126 drivers/pci/pci.c kfree(tmp); tmp 349 drivers/pci/probe.c u32 pmem, tmp; tmp 390 drivers/pci/probe.c pci_read_config_dword(bridge, PCI_PREF_BASE_UPPER32, &tmp); tmp 392 drivers/pci/probe.c if (tmp) tmp 1531 drivers/pci/probe.c u32 header, tmp; tmp 1537 drivers/pci/probe.c if (pci_read_config_dword(dev, pos, &tmp) != PCIBIOS_SUCCESSFUL tmp 1538 drivers/pci/probe.c || header != tmp) tmp 158 drivers/pci/quirks.c u8 tmp; tmp 172 drivers/pci/quirks.c pci_read_config_byte(dev, PCI_CACHE_LINE_SIZE, &tmp); tmp 174 drivers/pci/quirks.c cls = tmp; tmp 175 drivers/pci/quirks.c if (!tmp || cls == tmp) tmp 179 drivers/pci/quirks.c cls << 2, tmp << 2, tmp 980 drivers/pci/quirks.c u8 tmp; tmp 983 drivers/pci/quirks.c tmp = 0; /* nothing routed to external APIC */ tmp 985 drivers/pci/quirks.c tmp = 0x1f; /* all known bits (4-0) routed to external APIC */ tmp 988 drivers/pci/quirks.c tmp == 0 ? "Disa" : "Ena"); tmp 991 drivers/pci/quirks.c pci_write_config_byte(dev, 0x58, tmp); tmp 1288 drivers/pci/quirks.c u8 tmp; tmp 1290 drivers/pci/quirks.c pci_read_config_byte(pdev, PCI_CLASS_DEVICE, &tmp); tmp 1291 drivers/pci/quirks.c if (tmp == 0x01) { tmp 1292 drivers/pci/quirks.c pci_read_config_byte(pdev, 0x40, &tmp); tmp 1293 drivers/pci/quirks.c pci_write_config_byte(pdev, 0x40, tmp|1); tmp 1296 drivers/pci/quirks.c pci_write_config_byte(pdev, 0x40, tmp); tmp 68 drivers/pci/remove.c struct pci_dev *child, *tmp; tmp 77 drivers/pci/remove.c list_for_each_entry_safe_reverse(child, tmp, tmp 88 drivers/pci/remove.c struct pci_dev *child, *tmp; tmp 91 drivers/pci/remove.c list_for_each_entry_safe(child, tmp, tmp 131 drivers/pci/remove.c struct pci_dev *child, *tmp; tmp 138 drivers/pci/remove.c list_for_each_entry_safe_reverse(child, tmp, tmp 149 drivers/pci/remove.c struct pci_dev *child, *tmp; tmp 156 drivers/pci/remove.c list_for_each_entry_safe(child, tmp, tmp 55 drivers/pci/search.c struct pci_dev *tmp; tmp 61 drivers/pci/search.c tmp = bus->self; tmp 64 drivers/pci/search.c if (tmp->dev_flags & PCI_DEV_FLAGS_BRIDGE_XLATE_ROOT) tmp 76 drivers/pci/search.c if (pci_is_pcie(tmp)) { tmp 77 drivers/pci/search.c switch (pci_pcie_type(tmp)) { tmp 83 drivers/pci/search.c ret = fn(tmp, tmp 84 drivers/pci/search.c PCI_DEVID(tmp->subordinate->number, tmp 90 drivers/pci/search.c ret = fn(tmp, pci_dev_id(tmp), data); tmp 96 drivers/pci/search.c if (tmp->dev_flags & PCI_DEV_FLAG_PCIE_BRIDGE_ALIAS) tmp 97 drivers/pci/search.c ret = fn(tmp, tmp 98 drivers/pci/search.c PCI_DEVID(tmp->subordinate->number, tmp 101 drivers/pci/search.c ret = fn(tmp, pci_dev_id(tmp), data); tmp 113 drivers/pci/search.c struct pci_bus *tmp; tmp 118 drivers/pci/search.c list_for_each_entry(tmp, &bus->children, node) { tmp 119 drivers/pci/search.c child = pci_do_find_bus(tmp, busnr); tmp 43 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res, *tmp; tmp 45 drivers/pci/setup-bus.c list_for_each_entry_safe(dev_res, tmp, head, list) { tmp 62 drivers/pci/setup-bus.c struct pci_dev_resource *tmp; tmp 64 drivers/pci/setup-bus.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 65 drivers/pci/setup-bus.c if (!tmp) tmp 68 drivers/pci/setup-bus.c tmp->res = res; tmp 69 drivers/pci/setup-bus.c tmp->dev = dev; tmp 70 drivers/pci/setup-bus.c tmp->start = res->start; tmp 71 drivers/pci/setup-bus.c tmp->end = res->end; tmp 72 drivers/pci/setup-bus.c tmp->flags = res->flags; tmp 73 drivers/pci/setup-bus.c tmp->add_size = add_size; tmp 74 drivers/pci/setup-bus.c tmp->min_align = min_align; tmp 76 drivers/pci/setup-bus.c list_add(&tmp->list, head); tmp 83 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res, *tmp; tmp 85 drivers/pci/setup-bus.c list_for_each_entry_safe(dev_res, tmp, head, list) { tmp 133 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res, *tmp; tmp 152 drivers/pci/setup-bus.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 153 drivers/pci/setup-bus.c if (!tmp) tmp 155 drivers/pci/setup-bus.c tmp->res = r; tmp 156 drivers/pci/setup-bus.c tmp->dev = dev; tmp 172 drivers/pci/setup-bus.c list_add_tail(&tmp->list, n); tmp 217 drivers/pci/setup-bus.c struct pci_dev_resource *add_res, *tmp; tmp 222 drivers/pci/setup-bus.c list_for_each_entry_safe(add_res, tmp, realloc_head, list) { tmp 315 drivers/pci/vc.c u32 tmp, ctrl = *(u32 *)buf; tmp 320 drivers/pci/vc.c pci_read_config_dword(dev, ctrl_pos, &tmp); tmp 321 drivers/pci/vc.c tmp &= PCI_VC_RES_CTRL_ENABLE; tmp 322 drivers/pci/vc.c tmp |= ctrl & ~PCI_VC_RES_CTRL_ENABLE; tmp 323 drivers/pci/vc.c pci_write_config_dword(dev, ctrl_pos, tmp); tmp 328 drivers/pci/vc.c if ((ctrl ^ tmp) & PCI_VC_RES_CTRL_ENABLE) tmp 105 drivers/pcmcia/cardbus.c struct pci_dev *bridge, *dev, *tmp; tmp 118 drivers/pcmcia/cardbus.c list_for_each_entry_safe(dev, tmp, &bus->devices, bus_list) tmp 523 drivers/pcmcia/cistpl.c u_char link[2], tmp; tmp 596 drivers/pcmcia/cistpl.c 1, &tmp); tmp 599 drivers/pcmcia/cistpl.c MFC_FN(tuple->Flags) = tmp; tmp 122 drivers/pcmcia/cs.c struct pcmcia_socket *tmp; tmp 125 drivers/pcmcia/cs.c list_for_each_entry(tmp, &pcmcia_socket_list, socket_list) { tmp 126 drivers/pcmcia/cs.c if (tmp->sock == i) tmp 324 drivers/pcmcia/ds.c struct pcmcia_device *tmp; tmp 338 drivers/pcmcia/ds.c list_for_each_entry_safe(p_dev, tmp, &s->devices_list, socket_device_list) { tmp 458 drivers/pcmcia/ds.c char *tmp; tmp 462 drivers/pcmcia/ds.c tmp = vers1->str + vers1->ofs[i]; tmp 464 drivers/pcmcia/ds.c length = strlen(tmp) + 1; tmp 468 drivers/pcmcia/ds.c new = kstrdup(tmp, GFP_KERNEL); tmp 472 drivers/pcmcia/ds.c tmp = p_dev->prod_id[i]; tmp 474 drivers/pcmcia/ds.c kfree(tmp); tmp 200 drivers/pcmcia/i82092.c unsigned short tmp; tmp 206 drivers/pcmcia/i82092.c tmp = inb(port+1); tmp 209 drivers/pcmcia/i82092.c tmp = tmp | (inb(port+1)<<8); tmp 211 drivers/pcmcia/i82092.c return tmp; tmp 698 drivers/pcmcia/i82365.c u_int tmp = (mask & 0xff20); tmp 699 drivers/pcmcia/i82365.c tmp = tmp & (tmp-1); tmp 700 drivers/pcmcia/i82365.c if ((tmp & (tmp-1)) == 0) tmp 544 drivers/pcmcia/pcmcia_resource.c u16 tmp = 0; tmp 546 drivers/pcmcia/pcmcia_resource.c pcmcia_write_cis_mem(s, 1, (base + CISREG_SCR)>>1, 1, &tmp); tmp 549 drivers/pcmcia/pcmcia_resource.c u16 tmp = 0; tmp 551 drivers/pcmcia/pcmcia_resource.c pcmcia_write_cis_mem(s, 1, (base + CISREG_PRR)>>1, 1, &tmp); tmp 657 drivers/pcmcia/pcmcia_resource.c struct resource tmp = c->io[0]; tmp 661 drivers/pcmcia/pcmcia_resource.c c->io[0].end = resource_size(&tmp); tmp 662 drivers/pcmcia/pcmcia_resource.c c->io[0].start = tmp.start; tmp 663 drivers/pcmcia/pcmcia_resource.c c->io[0].flags = tmp.flags; tmp 82 drivers/pcmcia/pd6729.c unsigned short tmp; tmp 89 drivers/pcmcia/pd6729.c tmp = inb(port + 1); tmp 92 drivers/pcmcia/pd6729.c tmp = tmp | (inb(port + 1) << 8); tmp 95 drivers/pcmcia/pd6729.c return tmp; tmp 289 drivers/phy/broadcom/phy-bcm-ns-usb3.c u32 tmp = 0; tmp 299 drivers/phy/broadcom/phy-bcm-ns-usb3.c tmp |= 0x58020000; /* Magic value for MDIO PHY write */ tmp 300 drivers/phy/broadcom/phy-bcm-ns-usb3.c tmp |= reg << 18; tmp 301 drivers/phy/broadcom/phy-bcm-ns-usb3.c tmp |= value; tmp 302 drivers/phy/broadcom/phy-bcm-ns-usb3.c writel(tmp, usb3->ccb_mii + BCMA_CCB_MII_MNG_CMD_DATA); tmp 205 drivers/phy/broadcom/phy-brcm-sata.c u32 tmp; tmp 208 drivers/phy/broadcom/phy-brcm-sata.c tmp = readl(pcb_base + SATA_PCB_REG_OFFSET(ofs)); tmp 209 drivers/phy/broadcom/phy-brcm-sata.c tmp = (tmp & msk) | value; tmp 210 drivers/phy/broadcom/phy-brcm-sata.c writel(tmp, pcb_base + SATA_PCB_REG_OFFSET(ofs)); tmp 228 drivers/phy/broadcom/phy-brcm-sata.c u32 tmp; tmp 231 drivers/phy/broadcom/phy-brcm-sata.c tmp = TXPMD_CONTROL1_TX_SSC_EN_FRC_VAL | TXPMD_CONTROL1_TX_SSC_EN_FRC; tmp 232 drivers/phy/broadcom/phy-brcm-sata.c brcm_sata_phy_wr(base, TXPMD_REG_BANK, TXPMD_CONTROL1, ~tmp, tmp); tmp 242 drivers/phy/broadcom/phy-brcm-sata.c tmp = STB_FMAX_VAL_SSC; tmp 244 drivers/phy/broadcom/phy-brcm-sata.c tmp = STB_FMAX_VAL_DEFAULT; tmp 248 drivers/phy/broadcom/phy-brcm-sata.c ~TXPMD_TX_FREQ_CTRL_CONTROL3_FMAX_MASK, tmp); tmp 257 drivers/phy/broadcom/phy-brcm-sata.c u32 tmp = 0, reg = 0; tmp 265 drivers/phy/broadcom/phy-brcm-sata.c tmp = AEQ_CONTROL1_ENABLE | AEQ_CONTROL1_FREEZE; tmp 270 drivers/phy/broadcom/phy-brcm-sata.c tmp = AEQ_FRC_EQ_FORCE | AEQ_FRC_EQ_FORCE_VAL; tmp 273 drivers/phy/broadcom/phy-brcm-sata.c tmp |= port->rxaeq_val << AEQ_FRC_EQ_VAL_SHIFT; tmp 277 drivers/phy/broadcom/phy-brcm-sata.c brcm_sata_phy_wr(base, AEQRX_REG_BANK_0, reg, ~tmp, tmp); tmp 278 drivers/phy/broadcom/phy-brcm-sata.c brcm_sata_phy_wr(base, AEQRX_REG_BANK_1, reg, ~tmp, tmp); tmp 491 drivers/phy/broadcom/phy-brcm-sata.c u32 tmp; tmp 522 drivers/phy/broadcom/phy-brcm-sata.c tmp = brcm_sata_phy_rd(base, BLOCK0_REG_BANK, tmp 524 drivers/phy/broadcom/phy-brcm-sata.c if (tmp & BLOCK0_XGXSSTATUS_PLL_LOCK) tmp 573 drivers/phy/broadcom/phy-brcm-sata.c u32 tmp = BIT(8); tmp 576 drivers/phy/broadcom/phy-brcm-sata.c ~tmp, tmp); tmp 161 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c unsigned long long tmp; tmp 210 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c tmp = 1000000000000LL; tmp 211 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c do_div(tmp, dphy_opts->lp_clk_rate); /* ps */ tmp 212 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c if (tmp > ULONG_MAX) tmp 215 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c lp_t = tmp; tmp 230 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c tmp = 2 * (dphy_opts->hs_prepare - lp_t); tmp 231 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c do_div(tmp, lp_t); tmp 232 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c n = tmp; tmp 184 drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c unsigned int tmp; tmp 188 drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c tmp, ((tmp & 0x0070) == 0x0070), 10, tmp 192 drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c tmp); tmp 326 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 333 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR5); tmp 334 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA5_RG_U2_HSTX_SRCAL_EN; tmp 335 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR5); tmp 339 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(fmreg + U3P_U2FREQ_FMMONR1); tmp 340 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2F_RG_FRCK_EN; tmp 341 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, fmreg + U3P_U2FREQ_FMMONR1); tmp 344 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(fmreg + U3P_U2FREQ_FMCR0); tmp 345 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P2F_RG_CYCLECNT | P2F_RG_MONCLK_SEL); tmp 346 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2F_RG_CYCLECNT_VAL(U3P_FM_DET_CYCLE_CNT); tmp 348 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2F_RG_MONCLK_SEL_VAL(instance->index >> 1); tmp 350 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, fmreg + U3P_U2FREQ_FMCR0); tmp 353 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(fmreg + U3P_U2FREQ_FMCR0); tmp 354 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2F_RG_FREQDET_EN; tmp 355 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, fmreg + U3P_U2FREQ_FMCR0); tmp 358 drivers/phy/mediatek/phy-mtk-tphy.c readl_poll_timeout(fmreg + U3P_U2FREQ_FMMONR1, tmp, tmp 359 drivers/phy/mediatek/phy-mtk-tphy.c (tmp & P2F_USB_FM_VALID), 10, 200); tmp 364 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(fmreg + U3P_U2FREQ_FMCR0); tmp 365 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2F_RG_FREQDET_EN; tmp 366 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, fmreg + U3P_U2FREQ_FMCR0); tmp 369 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(fmreg + U3P_U2FREQ_FMMONR1); tmp 370 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2F_RG_FRCK_EN; tmp 371 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, fmreg + U3P_U2FREQ_FMMONR1); tmp 375 drivers/phy/mediatek/phy-mtk-tphy.c tmp = tphy->src_ref_clk * tphy->src_coef; tmp 376 drivers/phy/mediatek/phy-mtk-tphy.c tmp = (tmp * U3P_FM_DET_CYCLE_CNT) / fm_out; tmp 377 drivers/phy/mediatek/phy-mtk-tphy.c calibration_val = DIV_ROUND_CLOSEST(tmp, U3P_SR_COEF_DIVISOR); tmp 387 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR5); tmp 388 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA5_RG_U2_HSTX_SRCTRL; tmp 389 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA5_RG_U2_HSTX_SRCTRL_VAL(calibration_val); tmp 390 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR5); tmp 393 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR5); tmp 394 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA5_RG_U2_HSTX_SRCAL_EN; tmp 395 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR5); tmp 402 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 405 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->spllc + U3P_SPLLC_XTALCTL3); tmp 406 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= XC3_RG_U3_XTAL_RX_PWD | XC3_RG_U3_FRC_XTAL_RX_PWD; tmp 407 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->spllc + U3P_SPLLC_XTALCTL3); tmp 410 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_DA_REG0); tmp 411 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_XTAL_EXT_EN_U3; tmp 412 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_XTAL_EXT_EN_U3_VAL(2); tmp 413 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_DA_REG0); tmp 415 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_REG9); tmp 416 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_RX_DAC_MUX; tmp 417 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_RX_DAC_MUX_VAL(4); tmp 418 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_REG9); tmp 420 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_REG6); tmp 421 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_TX_EIDLE_CM; tmp 422 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_TX_EIDLE_CM_VAL(0xe); tmp 423 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_REG6); tmp 425 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phyd + U3P_U3_PHYD_CDR1); tmp 426 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P3D_RG_CDR_BIR_LTD0 | P3D_RG_CDR_BIR_LTD1); tmp 427 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3D_RG_CDR_BIR_LTD0_VAL(0xc) | P3D_RG_CDR_BIR_LTD1_VAL(0x3); tmp 428 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phyd + U3P_U3_PHYD_CDR1); tmp 430 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phyd + U3P_U3_PHYD_LFPS1); tmp 431 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3D_RG_FWAKE_TH; tmp 432 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3D_RG_FWAKE_TH_VAL(0x34); tmp 433 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phyd + U3P_U3_PHYD_LFPS1); tmp 435 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phyd + U3P_U3_PHYD_RXDET1); tmp 436 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3D_RG_RXDET_STB2_SET; tmp 437 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3D_RG_RXDET_STB2_SET_VAL(0x10); tmp 438 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phyd + U3P_U3_PHYD_RXDET1); tmp 440 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phyd + U3P_U3_PHYD_RXDET2); tmp 441 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3D_RG_RXDET_STB2_SET_P3; tmp 442 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3D_RG_RXDET_STB2_SET_P3_VAL(0x10); tmp 443 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phyd + U3P_U3_PHYD_RXDET2); tmp 454 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 457 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM0); tmp 458 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P2C_FORCE_UART_EN | P2C_FORCE_SUSPENDM); tmp 459 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_RG_XCVRSEL_VAL(1) | P2C_RG_DATAIN_VAL(0); tmp 460 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM0); tmp 462 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM1); tmp 463 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2C_RG_UART_EN; tmp 464 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM1); tmp 466 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR0); tmp 467 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA0_RG_USB20_INTR_EN; tmp 468 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR0); tmp 471 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR5); tmp 472 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA5_RG_U2_HS_100U_U3_EN; tmp 473 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR5); tmp 476 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYACR4); tmp 477 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2C_U2_GPIO_CTR_MSK; tmp 478 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYACR4); tmp 483 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR2); tmp 484 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA2_RG_SIF_U2PLL_FORCE_EN; tmp 485 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR2); tmp 487 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3D_U2PHYDCR0); tmp 488 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2C_RG_SIF_U2PLL_FORCE_ON; tmp 489 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3D_U2PHYDCR0); tmp 491 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3D_U2PHYDCR0); tmp 492 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_RG_SIF_U2PLL_FORCE_ON; tmp 493 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3D_U2PHYDCR0); tmp 495 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM0); tmp 496 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_RG_SUSPENDM | P2C_FORCE_SUSPENDM; tmp 497 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM0); tmp 501 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR6); tmp 502 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA6_RG_U2_BC11_SW_EN; /* DP/DM BC1.1 path Disable */ tmp 503 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA6_RG_U2_SQTH; tmp 504 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA6_RG_U2_SQTH_VAL(2); tmp 505 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR6); tmp 516 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 518 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM0); tmp 519 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P2C_RG_XCVRSEL | P2C_RG_DATAIN | P2C_DTM0_PART_MASK); tmp 520 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM0); tmp 523 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR6); tmp 524 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA6_RG_U2_OTG_VBUSCMP_EN; tmp 525 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR6); tmp 527 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM1); tmp 528 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_RG_VBUSVALID | P2C_RG_AVALID; tmp 529 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2C_RG_SESSEND; tmp 530 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM1); tmp 533 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3D_U2PHYDCR0); tmp 534 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_RG_SIF_U2PLL_FORCE_ON; tmp 535 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3D_U2PHYDCR0); tmp 537 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM0); tmp 538 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_RG_SUSPENDM | P2C_FORCE_SUSPENDM; tmp 539 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM0); tmp 550 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 552 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM0); tmp 553 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P2C_RG_XCVRSEL | P2C_RG_DATAIN); tmp 554 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM0); tmp 557 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR6); tmp 558 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA6_RG_U2_OTG_VBUSCMP_EN; tmp 559 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR6); tmp 561 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM1); tmp 562 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P2C_RG_VBUSVALID | P2C_RG_AVALID); tmp 563 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_RG_SESSEND; tmp 564 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM1); tmp 567 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM0); tmp 568 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P2C_RG_SUSPENDM | P2C_FORCE_SUSPENDM); tmp 569 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM0); tmp 571 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3D_U2PHYDCR0); tmp 572 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2C_RG_SIF_U2PLL_FORCE_ON; tmp 573 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3D_U2PHYDCR0); tmp 585 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 588 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3D_U2PHYDCR0); tmp 589 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2C_RG_SIF_U2PLL_FORCE_ON; tmp 590 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3D_U2PHYDCR0); tmp 592 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYDTM0); tmp 593 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2C_FORCE_SUSPENDM; tmp 594 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYDTM0); tmp 603 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 605 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u2_banks->com + U3P_U2PHYDTM1); tmp 608 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_FORCE_IDDIG | P2C_RG_IDDIG; tmp 611 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_FORCE_IDDIG; tmp 612 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P2C_RG_IDDIG; tmp 615 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P2C_FORCE_IDDIG | P2C_RG_IDDIG); tmp 620 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u2_banks->com + U3P_U2PHYDTM1); tmp 627 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 632 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_DA_REG0); tmp 633 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P3A_RG_XTAL_EXT_PE1H | P3A_RG_XTAL_EXT_PE2H); tmp 634 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_XTAL_EXT_PE1H_VAL(0x2) | P3A_RG_XTAL_EXT_PE2H_VAL(0x2); tmp 635 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_DA_REG0); tmp 638 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_REG1); tmp 639 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_CLKDRV_AMP; tmp 640 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_CLKDRV_AMP_VAL(0x4); tmp 641 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_REG1); tmp 643 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_REG0); tmp 644 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_CLKDRV_OFF; tmp 645 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_CLKDRV_OFF_VAL(0x1); tmp 646 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_REG0); tmp 649 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_DA_REG20); tmp 650 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_PLL_DELTA1_PE2H; tmp 651 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_PLL_DELTA1_PE2H_VAL(0x3c); tmp 652 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_DA_REG20); tmp 654 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_DA_REG25); tmp 655 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_PLL_DELTA_PE2H; tmp 656 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_PLL_DELTA_PE2H_VAL(0x36); tmp 657 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_DA_REG25); tmp 660 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_DA_REG5); tmp 661 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P3A_RG_PLL_BR_PE2H | P3A_RG_PLL_IC_PE2H); tmp 662 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_PLL_BR_PE2H_VAL(0x1) | P3A_RG_PLL_IC_PE2H_VAL(0x1); tmp 663 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_DA_REG5); tmp 665 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_DA_REG4); tmp 666 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P3A_RG_PLL_DIVEN_PE2H | P3A_RG_PLL_BC_PE2H); tmp 667 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_PLL_BC_PE2H_VAL(0x3); tmp 668 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_DA_REG4); tmp 670 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_DA_REG6); tmp 671 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_PLL_IR_PE2H; tmp 672 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_PLL_IR_PE2H_VAL(0x2); tmp 673 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_DA_REG6); tmp 675 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phya + U3P_U3_PHYA_DA_REG7); tmp 676 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3A_RG_PLL_BP_PE2H; tmp 677 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3A_RG_PLL_BP_PE2H_VAL(0xa); tmp 678 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phya + U3P_U3_PHYA_DA_REG7); tmp 681 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phyd + U3P_U3_PHYD_RXDET1); tmp 682 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3D_RG_RXDET_STB2_SET; tmp 683 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3D_RG_RXDET_STB2_SET_VAL(0x10); tmp 684 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phyd + U3P_U3_PHYD_RXDET1); tmp 686 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(u3_banks->phyd + U3P_U3_PHYD_RXDET2); tmp 687 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~P3D_RG_RXDET_STB2_SET_P3; tmp 688 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3D_RG_RXDET_STB2_SET_P3_VAL(0x10); tmp 689 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, u3_banks->phyd + U3P_U3_PHYD_RXDET2); tmp 700 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 702 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(bank->chip + U3P_U3_CHIP_GPIO_CTLD); tmp 703 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P3C_FORCE_IP_SW_RST | P3C_REG_IP_SW_RST); tmp 704 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, bank->chip + U3P_U3_CHIP_GPIO_CTLD); tmp 706 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(bank->chip + U3P_U3_CHIP_GPIO_CTLE); tmp 707 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(P3C_RG_SWRST_U3_PHYD_FORCE_EN | P3C_RG_SWRST_U3_PHYD); tmp 708 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, bank->chip + U3P_U3_CHIP_GPIO_CTLE); tmp 716 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 718 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(bank->chip + U3P_U3_CHIP_GPIO_CTLD); tmp 719 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3C_FORCE_IP_SW_RST | P3C_REG_IP_SW_RST; tmp 720 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, bank->chip + U3P_U3_CHIP_GPIO_CTLD); tmp 722 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(bank->chip + U3P_U3_CHIP_GPIO_CTLE); tmp 723 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P3C_RG_SWRST_U3_PHYD_FORCE_EN | P3C_RG_SWRST_U3_PHYD; tmp 724 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, bank->chip + U3P_U3_CHIP_GPIO_CTLE); tmp 732 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 735 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + ANA_RG_CTRL_SIGNAL6); tmp 736 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(RG_CDR_BIRLTR_GEN1_MSK | RG_CDR_BC_GEN1_MSK); tmp 737 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_CDR_BIRLTR_GEN1_VAL(0x6) | RG_CDR_BC_GEN1_VAL(0x1a); tmp 738 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + ANA_RG_CTRL_SIGNAL6); tmp 740 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + ANA_EQ_EYE_CTRL_SIGNAL4); tmp 741 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~RG_CDR_BIRLTD0_GEN1_MSK; tmp 742 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_CDR_BIRLTD0_GEN1_VAL(0x18); tmp 743 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + ANA_EQ_EYE_CTRL_SIGNAL4); tmp 745 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + ANA_EQ_EYE_CTRL_SIGNAL5); tmp 746 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~RG_CDR_BIRLTD0_GEN3_MSK; tmp 747 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_CDR_BIRLTD0_GEN3_VAL(0x06); tmp 748 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + ANA_EQ_EYE_CTRL_SIGNAL5); tmp 750 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + ANA_RG_CTRL_SIGNAL4); tmp 751 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(RG_CDR_BICLTR_GEN1_MSK | RG_CDR_BR_GEN2_MSK); tmp 752 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_CDR_BICLTR_GEN1_VAL(0x0c) | RG_CDR_BR_GEN2_VAL(0x07); tmp 753 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + ANA_RG_CTRL_SIGNAL4); tmp 755 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + PHYD_CTRL_SIGNAL_MODE4); tmp 756 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(RG_CDR_BICLTD0_GEN1_MSK | RG_CDR_BICLTD1_GEN1_MSK); tmp 757 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_CDR_BICLTD0_GEN1_VAL(0x08) | RG_CDR_BICLTD1_GEN1_VAL(0x02); tmp 758 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + PHYD_CTRL_SIGNAL_MODE4); tmp 760 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + PHYD_DESIGN_OPTION2); tmp 761 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~RG_LOCK_CNT_SEL_MSK; tmp 762 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_LOCK_CNT_SEL_VAL(0x02); tmp 763 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + PHYD_DESIGN_OPTION2); tmp 765 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + PHYD_DESIGN_OPTION9); tmp 766 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~(RG_T2_MIN_MSK | RG_TG_MIN_MSK | tmp 768 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_T2_MIN_VAL(0x12) | RG_TG_MIN_VAL(0x04) | tmp 770 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + PHYD_DESIGN_OPTION9); tmp 772 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + ANA_RG_CTRL_SIGNAL1); tmp 773 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~RG_IDRV_0DB_GEN1_MSK; tmp 774 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_IDRV_0DB_GEN1_VAL(0x20); tmp 775 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + ANA_RG_CTRL_SIGNAL1); tmp 777 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(phyd + ANA_EQ_EYE_CTRL_SIGNAL1); tmp 778 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~RG_EQ_DLEQ_LFI_GEN1_MSK; tmp 779 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= RG_EQ_DLEQ_LFI_GEN1_VAL(0x03); tmp 780 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, phyd + ANA_EQ_EYE_CTRL_SIGNAL1); tmp 863 drivers/phy/mediatek/phy-mtk-tphy.c u32 tmp; tmp 866 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_U2PHYBC12C); tmp 867 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2C_RG_CHGDT_EN; /* BC1.2 path Enable */ tmp 868 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_U2PHYBC12C); tmp 872 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR5); tmp 873 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA5_RG_U2_HSTX_SRCTRL; tmp 874 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA5_RG_U2_HSTX_SRCTRL_VAL(instance->eye_src); tmp 875 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR5); tmp 879 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR1); tmp 880 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA1_RG_VRT_SEL; tmp 881 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA1_RG_VRT_SEL_VAL(instance->eye_vrt); tmp 882 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR1); tmp 886 drivers/phy/mediatek/phy-mtk-tphy.c tmp = readl(com + U3P_USBPHYACR1); tmp 887 drivers/phy/mediatek/phy-mtk-tphy.c tmp &= ~PA1_RG_TERM_SEL; tmp 888 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= PA1_RG_TERM_SEL_VAL(instance->eye_term); tmp 889 drivers/phy/mediatek/phy-mtk-tphy.c writel(tmp, com + U3P_USBPHYACR1); tmp 122 drivers/phy/mediatek/phy-mtk-xsphy.c u32 tmp; tmp 129 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR5); tmp 130 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2A5_RG_HSTX_SRCAL_EN; tmp 131 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR5); tmp 135 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_U2FREQ_FMMONR1); tmp 136 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2F_RG_FRCK_EN; tmp 137 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_U2FREQ_FMMONR1); tmp 140 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_U2FREQ_FMCR0); tmp 141 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~(P2F_RG_CYCLECNT); tmp 142 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2F_RG_CYCLECNT_VAL(XSP_FM_DET_CYCLE_CNT); tmp 143 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_U2FREQ_FMCR0); tmp 146 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_U2FREQ_FMCR0); tmp 147 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2F_RG_FREQDET_EN; tmp 148 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_U2FREQ_FMCR0); tmp 151 drivers/phy/mediatek/phy-mtk-xsphy.c readl_poll_timeout(pbase + XSP_U2FREQ_FMMONR1, tmp, tmp 152 drivers/phy/mediatek/phy-mtk-xsphy.c (tmp & P2F_USB_FM_VALID), 10, 200); tmp 157 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_U2FREQ_FMCR0); tmp 158 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2F_RG_FREQDET_EN; tmp 159 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_U2FREQ_FMCR0); tmp 162 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_U2FREQ_FMMONR1); tmp 163 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2F_RG_FRCK_EN; tmp 164 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_U2FREQ_FMMONR1); tmp 168 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = xsphy->src_ref_clk * xsphy->src_coef; tmp 169 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = (tmp * XSP_FM_DET_CYCLE_CNT) / fm_out; tmp 170 drivers/phy/mediatek/phy-mtk-xsphy.c calib_val = DIV_ROUND_CLOSEST(tmp, XSP_SR_COEF_DIVISOR); tmp 180 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR5); tmp 181 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2A5_RG_HSTX_SRCTRL; tmp 182 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2A5_RG_HSTX_SRCTRL_VAL(calib_val); tmp 183 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR5); tmp 186 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR5); tmp 187 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2A5_RG_HSTX_SRCAL_EN; tmp 188 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR5); tmp 195 drivers/phy/mediatek/phy-mtk-xsphy.c u32 tmp; tmp 198 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR6); tmp 199 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2A6_RG_BC11_SW_EN; tmp 200 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR6); tmp 202 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR0); tmp 203 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2A0_RG_INTR_EN; tmp 204 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR0); tmp 212 drivers/phy/mediatek/phy-mtk-xsphy.c u32 tmp; tmp 214 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR6); tmp 215 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2A6_RG_OTG_VBUSCMP_EN; tmp 216 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR6); tmp 218 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_U2PHYDTM1); tmp 219 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2D_RG_VBUSVALID | P2D_RG_AVALID; tmp 220 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2D_RG_SESSEND; tmp 221 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_U2PHYDTM1); tmp 231 drivers/phy/mediatek/phy-mtk-xsphy.c u32 tmp; tmp 233 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR6); tmp 234 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2A6_RG_OTG_VBUSCMP_EN; tmp 235 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR6); tmp 237 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_U2PHYDTM1); tmp 238 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~(P2D_RG_VBUSVALID | P2D_RG_AVALID); tmp 239 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2D_RG_SESSEND; tmp 240 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_U2PHYDTM1); tmp 249 drivers/phy/mediatek/phy-mtk-xsphy.c u32 tmp; tmp 251 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(inst->port_base + XSP_U2PHYDTM1); tmp 254 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2D_FORCE_IDDIG | P2D_RG_IDDIG; tmp 257 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2D_FORCE_IDDIG; tmp 258 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2D_RG_IDDIG; tmp 261 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~(P2D_FORCE_IDDIG | P2D_RG_IDDIG); tmp 266 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, inst->port_base + XSP_U2PHYDTM1); tmp 309 drivers/phy/mediatek/phy-mtk-xsphy.c u32 tmp; tmp 312 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR1); tmp 313 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2A1_RG_INTR_CAL; tmp 314 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2A1_RG_INTR_CAL_VAL(inst->efuse_intr); tmp 315 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR1); tmp 319 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR5); tmp 320 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2A5_RG_HSTX_SRCTRL; tmp 321 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2A5_RG_HSTX_SRCTRL_VAL(inst->eye_src); tmp 322 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR5); tmp 326 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR1); tmp 327 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2A1_RG_VRT_SEL; tmp 328 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2A1_RG_VRT_SEL_VAL(inst->eye_vrt); tmp 329 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR1); tmp 333 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + XSP_USBPHYACR1); tmp 334 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~P2A1_RG_TERM_SEL; tmp 335 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= P2A1_RG_TERM_SEL_VAL(inst->eye_term); tmp 336 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + XSP_USBPHYACR1); tmp 344 drivers/phy/mediatek/phy-mtk-xsphy.c u32 tmp; tmp 347 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(xsphy->glb_base + SSPXTP_PHYA_GLB_00); tmp 348 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~RG_XTP_GLB_BIAS_INTR_CTRL; tmp 349 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= RG_XTP_GLB_BIAS_INTR_CTRL_VAL(inst->efuse_intr); tmp 350 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, xsphy->glb_base + SSPXTP_PHYA_GLB_00); tmp 354 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + SSPXTP_PHYA_LN_04); tmp 355 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~RG_XTP_LN0_TX_IMPSEL; tmp 356 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= RG_XTP_LN0_TX_IMPSEL_VAL(inst->efuse_tx_imp); tmp 357 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + SSPXTP_PHYA_LN_04); tmp 361 drivers/phy/mediatek/phy-mtk-xsphy.c tmp = readl(pbase + SSPXTP_PHYA_LN_14); tmp 362 drivers/phy/mediatek/phy-mtk-xsphy.c tmp &= ~RG_XTP_LN0_RX_IMPSEL; tmp 363 drivers/phy/mediatek/phy-mtk-xsphy.c tmp |= RG_XTP_LN0_RX_IMPSEL_VAL(inst->efuse_rx_imp); tmp 364 drivers/phy/mediatek/phy-mtk-xsphy.c writel(tmp, pbase + SSPXTP_PHYA_LN_14); tmp 72 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c u32 tmp; tmp 74 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c tmp = readl_relaxed(phy->mmio + UFS_PHY_PHY_START); tmp 75 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c tmp &= ~MASK_SERDES_START; tmp 76 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c tmp |= (1 << OFFSET_SERDES_START); tmp 77 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c writel_relaxed(tmp, phy->mmio + UFS_PHY_PHY_START); tmp 131 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c u32 tmp; tmp 133 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c tmp = readl_relaxed(phy->mmio + UFS_PHY_PHY_START); tmp 134 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c tmp &= ~MASK_SERDES_START; tmp 135 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c tmp |= (1 << OFFSET_SERDES_START); tmp 136 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c writel_relaxed(tmp, phy->mmio + UFS_PHY_PHY_START); tmp 233 drivers/phy/rockchip/phy-rockchip-inno-usb2.c unsigned int val, mask, tmp; tmp 235 drivers/phy/rockchip/phy-rockchip-inno-usb2.c tmp = en ? reg->enable : reg->disable; tmp 237 drivers/phy/rockchip/phy-rockchip-inno-usb2.c val = (tmp << reg->bitstart) | (mask << BIT_WRITEABLE_SHIFT); tmp 246 drivers/phy/rockchip/phy-rockchip-inno-usb2.c unsigned int tmp, orig; tmp 253 drivers/phy/rockchip/phy-rockchip-inno-usb2.c tmp = (orig & mask) >> reg->bitstart; tmp 254 drivers/phy/rockchip/phy-rockchip-inno-usb2.c return tmp == reg->enable; tmp 293 drivers/phy/tegra/xusb.c struct tegra_xusb_pad *pad, *tmp; tmp 295 drivers/phy/tegra/xusb.c list_for_each_entry_safe_reverse(pad, tmp, &padctl->pads, list) { tmp 795 drivers/phy/tegra/xusb.c struct tegra_xusb_port *port, *tmp; tmp 797 drivers/phy/tegra/xusb.c list_for_each_entry_safe_reverse(port, tmp, &padctl->ports, list) { tmp 68 drivers/pinctrl/actions/pinctrl-owl.c u32 tmp, mask; tmp 70 drivers/pinctrl/actions/pinctrl-owl.c tmp = readl_relaxed(pctrl->base + reg); tmp 73 drivers/pinctrl/actions/pinctrl-owl.c return (tmp >> bit) & mask; tmp 226 drivers/pinctrl/bcm/pinctrl-ns.c u32 tmp; tmp 235 drivers/pinctrl/bcm/pinctrl-ns.c regmap_read(ns_pinctrl->regmap, ns_pinctrl->offset, &tmp); tmp 236 drivers/pinctrl/bcm/pinctrl-ns.c tmp &= ~unset; tmp 237 drivers/pinctrl/bcm/pinctrl-ns.c regmap_write(ns_pinctrl->regmap, ns_pinctrl->offset, tmp); tmp 192 drivers/pinctrl/freescale/pinctrl-mxs.c u32 tmp; tmp 194 drivers/pinctrl/freescale/pinctrl-mxs.c tmp = readl(reg); tmp 195 drivers/pinctrl/freescale/pinctrl-mxs.c tmp &= ~(mask << shift); tmp 196 drivers/pinctrl/freescale/pinctrl-mxs.c tmp |= value << shift; tmp 197 drivers/pinctrl/freescale/pinctrl-mxs.c writel(tmp, reg); tmp 554 drivers/pinctrl/pinctrl-at91.c unsigned tmp = readl_relaxed(reg); tmp 556 drivers/pinctrl/pinctrl-at91.c tmp = tmp >> two_bit_pin_value_shift_amount(pin); tmp 558 drivers/pinctrl/pinctrl-at91.c return tmp & DRIVE_STRENGTH_MASK; tmp 564 drivers/pinctrl/pinctrl-at91.c unsigned tmp = read_drive_strength(pio + tmp 569 drivers/pinctrl/pinctrl-at91.c if (!tmp) tmp 570 drivers/pinctrl/pinctrl-at91.c tmp = DRIVE_STRENGTH_BIT_MSK(LOW); tmp 572 drivers/pinctrl/pinctrl-at91.c return tmp; tmp 578 drivers/pinctrl/pinctrl-at91.c unsigned tmp = read_drive_strength(pio + tmp 583 drivers/pinctrl/pinctrl-at91.c tmp = DRIVE_STRENGTH_BIT_MSK(HI) - tmp; tmp 585 drivers/pinctrl/pinctrl-at91.c return tmp; tmp 591 drivers/pinctrl/pinctrl-at91.c unsigned tmp = readl_relaxed(pio + SAM9X60_PIO_DRIVER1); tmp 593 drivers/pinctrl/pinctrl-at91.c if (tmp & BIT(pin)) tmp 601 drivers/pinctrl/pinctrl-at91.c unsigned tmp = readl_relaxed(pio + SAM9X60_PIO_SLEWR); tmp 603 drivers/pinctrl/pinctrl-at91.c if ((tmp & BIT(pin))) tmp 611 drivers/pinctrl/pinctrl-at91.c unsigned tmp = readl_relaxed(reg); tmp 614 drivers/pinctrl/pinctrl-at91.c tmp &= ~(DRIVE_STRENGTH_MASK << shift); tmp 615 drivers/pinctrl/pinctrl-at91.c tmp |= strength << shift; tmp 617 drivers/pinctrl/pinctrl-at91.c writel_relaxed(tmp, reg); tmp 649 drivers/pinctrl/pinctrl-at91.c unsigned int tmp; tmp 656 drivers/pinctrl/pinctrl-at91.c tmp = readl_relaxed(pio + SAM9X60_PIO_DRIVER1); tmp 660 drivers/pinctrl/pinctrl-at91.c tmp &= ~BIT(pin); tmp 662 drivers/pinctrl/pinctrl-at91.c tmp |= BIT(pin); tmp 664 drivers/pinctrl/pinctrl-at91.c writel_relaxed(tmp, pio + SAM9X60_PIO_DRIVER1); tmp 670 drivers/pinctrl/pinctrl-at91.c unsigned int tmp; tmp 675 drivers/pinctrl/pinctrl-at91.c tmp = readl_relaxed(pio + SAM9X60_PIO_SLEWR); tmp 678 drivers/pinctrl/pinctrl-at91.c tmp &= ~BIT(pin); tmp 680 drivers/pinctrl/pinctrl-at91.c tmp |= BIT(pin); tmp 682 drivers/pinctrl/pinctrl-at91.c writel_relaxed(tmp, pio + SAM9X60_PIO_SLEWR); tmp 1274 drivers/pinctrl/pinctrl-at91.c uint32_t *tmp; tmp 1298 drivers/pinctrl/pinctrl-at91.c tmp = info->mux_mask; tmp 1300 drivers/pinctrl/pinctrl-at91.c for (j = 0; j < info->nmux; j++, tmp++) { tmp 1301 drivers/pinctrl/pinctrl-at91.c dev_dbg(&pdev->dev, "%d:%d\t0x%x\n", i, j, tmp[0]); tmp 2195 drivers/pinctrl/pinctrl-gemini.c unsigned long tmp; tmp 2228 drivers/pinctrl/pinctrl-gemini.c tmp = grp->mask; tmp 2229 drivers/pinctrl/pinctrl-gemini.c for_each_set_bit(i, &tmp, PADS_MAXBIT) { tmp 2250 drivers/pinctrl/pinctrl-gemini.c tmp = grp->value; tmp 2251 drivers/pinctrl/pinctrl-gemini.c for_each_set_bit(i, &tmp, PADS_MAXBIT) { tmp 2529 drivers/pinctrl/pinctrl-gemini.c unsigned long tmp; tmp 2586 drivers/pinctrl/pinctrl-gemini.c tmp = val; tmp 2587 drivers/pinctrl/pinctrl-gemini.c for_each_set_bit(i, &tmp, PADS_MAXBIT) { tmp 152 drivers/pinctrl/pinctrl-lantiq.c struct pinctrl_map *tmp; tmp 162 drivers/pinctrl/pinctrl-lantiq.c tmp = *map; tmp 165 drivers/pinctrl/pinctrl-lantiq.c ltq_pinctrl_dt_subnode_to_map(pctldev, np, &tmp); tmp 166 drivers/pinctrl/pinctrl-lantiq.c *num_maps = ((int)(tmp - *map)); tmp 383 drivers/pinctrl/pinctrl-single.c struct list_head *pos, *tmp; tmp 391 drivers/pinctrl/pinctrl-single.c list_for_each_safe(pos, tmp, &pcs->gpiofuncs) { tmp 604 drivers/pinctrl/qcom/pinctrl-msm.c u16 *tmp; tmp 628 drivers/pinctrl/qcom/pinctrl-msm.c tmp = kmalloc_array(len, sizeof(*tmp), GFP_KERNEL); tmp 629 drivers/pinctrl/qcom/pinctrl-msm.c if (!tmp) tmp 632 drivers/pinctrl/qcom/pinctrl-msm.c ret = device_property_read_u16_array(pctrl->dev, "gpios", tmp, len); tmp 640 drivers/pinctrl/qcom/pinctrl-msm.c set_bit(tmp[i], valid_mask); tmp 643 drivers/pinctrl/qcom/pinctrl-msm.c kfree(tmp); tmp 46 drivers/pinctrl/samsung/pinctrl-exynos-arm.c u32 tmp; tmp 48 drivers/pinctrl/samsung/pinctrl-exynos-arm.c tmp = __raw_readl(clk_base + S5P_OTHERS); tmp 49 drivers/pinctrl/samsung/pinctrl-exynos-arm.c tmp |= (S5P_OTHERS_RET_IO | S5P_OTHERS_RET_CF | S5P_OTHERS_RET_MMC | tmp 51 drivers/pinctrl/samsung/pinctrl-exynos-arm.c __raw_writel(tmp, clk_base + S5P_OTHERS); tmp 132 drivers/pinctrl/spear/pinctrl-plgpio.c unsigned dir_offset = offset, wdata_offset = offset, tmp; tmp 136 drivers/pinctrl/spear/pinctrl-plgpio.c tmp = plgpio->p2o(offset); tmp 137 drivers/pinctrl/spear/pinctrl-plgpio.c if (tmp == -1) tmp 141 drivers/pinctrl/spear/pinctrl-plgpio.c dir_offset = tmp; tmp 143 drivers/pinctrl/spear/pinctrl-plgpio.c wdata_offset = tmp; tmp 658 drivers/pinctrl/spear/pinctrl-plgpio.c u32 mask, tmp; tmp 668 drivers/pinctrl/spear/pinctrl-plgpio.c plgpio_prepare_reg(enb, off, mask, tmp); tmp 671 drivers/pinctrl/spear/pinctrl-plgpio.c plgpio_prepare_reg(eit, off, mask, tmp); tmp 673 drivers/pinctrl/spear/pinctrl-plgpio.c plgpio_prepare_reg(wdata, off, mask, tmp); tmp 674 drivers/pinctrl/spear/pinctrl-plgpio.c plgpio_prepare_reg(dir, off, mask, tmp); tmp 675 drivers/pinctrl/spear/pinctrl-plgpio.c plgpio_prepare_reg(ie, off, mask, tmp); tmp 55 drivers/platform/chrome/wilco_ec/debugfs.c char tmp[MAX_WORD_SIZE + 1]; tmp 75 drivers/platform/chrome/wilco_ec/debugfs.c memcpy(tmp, in + word_start, word_len); tmp 76 drivers/platform/chrome/wilco_ec/debugfs.c tmp[word_len] = '\0'; tmp 83 drivers/platform/chrome/wilco_ec/debugfs.c if (kstrtou8(tmp, 16, &byte)) tmp 952 drivers/platform/x86/acer-wmi.c u32 tmp = 0; tmp 965 drivers/platform/x86/acer-wmi.c tmp = *((u32 *) obj->buffer.pointer); tmp 967 drivers/platform/x86/acer-wmi.c tmp = (u32) obj->integer.value; tmp 972 drivers/platform/x86/acer-wmi.c *out = tmp; tmp 982 drivers/platform/x86/acer-wmi.c u8 tmp; tmp 1000 drivers/platform/x86/acer-wmi.c ec_read(0x9f, &tmp); tmp 1001 drivers/platform/x86/acer-wmi.c *value = tmp & 0x1; tmp 513 drivers/platform/x86/acerhdf.c int err = 0, tmp; tmp 515 drivers/platform/x86/acerhdf.c err = acerhdf_get_fanstate(&tmp); tmp 519 drivers/platform/x86/acerhdf.c *state = (tmp == ACERHDF_FAN_AUTO) ? 1 : 0; tmp 270 drivers/platform/x86/asus-wmi.c u32 tmp = 0; tmp 280 drivers/platform/x86/asus-wmi.c tmp = (u32) obj->integer.value; tmp 283 drivers/platform/x86/asus-wmi.c *retval = tmp; tmp 287 drivers/platform/x86/asus-wmi.c if (tmp == ASUS_WMI_UNSUPPORTED_METHOD) tmp 464 drivers/platform/x86/hp-wmi.c u32 tmp = simple_strtoul(buf, NULL, 10); tmp 465 drivers/platform/x86/hp-wmi.c int ret = hp_wmi_perform_query(HPWMI_ALS_QUERY, HPWMI_WRITE, &tmp, tmp 466 drivers/platform/x86/hp-wmi.c sizeof(tmp), sizeof(tmp)); tmp 478 drivers/platform/x86/hp-wmi.c u32 tmp; tmp 487 drivers/platform/x86/hp-wmi.c tmp = (u32) tmp2; tmp 488 drivers/platform/x86/hp-wmi.c ret = hp_wmi_perform_query(HPWMI_POSTCODEERROR_QUERY, HPWMI_WRITE, &tmp, tmp 489 drivers/platform/x86/hp-wmi.c sizeof(tmp), sizeof(tmp)); tmp 264 drivers/platform/x86/ibm_rtl.c struct ibm_rtl_table __iomem * tmp; tmp 265 drivers/platform/x86/ibm_rtl.c tmp = (struct ibm_rtl_table __iomem *) (ebda_map+i); tmp 266 drivers/platform/x86/ibm_rtl.c if ((readq(&tmp->signature) & RTL_MASK) == RTL_SIGNATURE) { tmp 269 drivers/platform/x86/ibm_rtl.c RTL_DEBUG("found RTL_SIGNATURE at %p\n", tmp); tmp 270 drivers/platform/x86/ibm_rtl.c rtl_table = tmp; tmp 54 drivers/platform/x86/intel_atomisp2_pm.c u32 tmp; tmp 57 drivers/platform/x86/intel_atomisp2_pm.c iosf_mbi_read(BT_MBI_UNIT_PMC, MBI_REG_READ, ISPSSPM0, &tmp); tmp 58 drivers/platform/x86/intel_atomisp2_pm.c tmp = (tmp & ISPSSPM0_ISPSSS_MASK) >> ISPSSPM0_ISPSSS_OFFSET; tmp 59 drivers/platform/x86/intel_atomisp2_pm.c if (tmp == val) tmp 99 drivers/platform/x86/intel_speed_select_if/isst_if_common.c struct hlist_node *tmp; tmp 102 drivers/platform/x86/intel_speed_select_if/isst_if_common.c hash_for_each_safe(isst_hash, i, tmp, sst_cmd, hnode) { tmp 48 drivers/platform/x86/tc1100-wmi.c u32 tmp; tmp 65 drivers/platform/x86/tc1100-wmi.c tmp = obj->integer.value; tmp 67 drivers/platform/x86/tc1100-wmi.c tmp = 0; tmp 75 drivers/platform/x86/tc1100-wmi.c *out = (tmp == 3) ? 1 : 0; tmp 78 drivers/platform/x86/tc1100-wmi.c *out = (tmp == 1) ? 0 : 1; tmp 141 drivers/platform/x86/tc1100-wmi.c u32 tmp = simple_strtoul(buf, NULL, 10); \ tmp 142 drivers/platform/x86/tc1100-wmi.c acpi_status status = set_state(&tmp, instance); \ tmp 6290 drivers/platform/x86/thinkpad_acpi.c s8 tmp; tmp 6306 drivers/platform/x86/thinkpad_acpi.c if (!acpi_ec_read(t + idx, &tmp)) tmp 6308 drivers/platform/x86/thinkpad_acpi.c *value = tmp * 1000; tmp 2047 drivers/platform/x86/toshiba_acpi.c int tmp; tmp 2054 drivers/platform/x86/toshiba_acpi.c tmp = state & SCI_USB_CHARGE_BAT_MASK; tmp 2055 drivers/platform/x86/toshiba_acpi.c status = (tmp == 0x4) ? 1 : 0; tmp 2070 drivers/platform/x86/toshiba_acpi.c int tmp; tmp 2085 drivers/platform/x86/toshiba_acpi.c tmp = toshiba->usbsc_bat_level << HCI_MISC_SHIFT; tmp 2086 drivers/platform/x86/toshiba_acpi.c status = tmp | SCI_USB_CHARGE_BAT_LVL_OFF; tmp 2088 drivers/platform/x86/toshiba_acpi.c tmp = value << HCI_MISC_SHIFT; tmp 2089 drivers/platform/x86/toshiba_acpi.c status = tmp | SCI_USB_CHARGE_BAT_LVL_ON; tmp 124 drivers/pnp/core.c struct pnp_resource *pnp_res, *tmp; tmp 126 drivers/pnp/core.c list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { tmp 352 drivers/pnp/isapnp/core.c unsigned char tag, tmp[2]; tmp 359 drivers/pnp/isapnp/core.c isapnp_peek(tmp, 2); tmp 360 drivers/pnp/isapnp/core.c *size = (tmp[1] << 8) | tmp[0]; tmp 384 drivers/pnp/isapnp/core.c unsigned char tmp[6]; tmp 389 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 390 drivers/pnp/isapnp/core.c eisa_id = tmp[0] | tmp[1] << 8 | tmp[2] << 16 | tmp[3] << 24; tmp 413 drivers/pnp/isapnp/core.c unsigned char tmp[3]; tmp 418 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 419 drivers/pnp/isapnp/core.c bits = (tmp[1] << 8) | tmp[0]; tmp 425 drivers/pnp/isapnp/core.c flags = tmp[2]; tmp 437 drivers/pnp/isapnp/core.c unsigned char tmp[2]; tmp 439 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 440 drivers/pnp/isapnp/core.c pnp_register_dma_resource(dev, option_flags, tmp[0], tmp[1]); tmp 450 drivers/pnp/isapnp/core.c unsigned char tmp[7]; tmp 454 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 455 drivers/pnp/isapnp/core.c min = (tmp[2] << 8) | tmp[1]; tmp 456 drivers/pnp/isapnp/core.c max = (tmp[4] << 8) | tmp[3]; tmp 457 drivers/pnp/isapnp/core.c align = tmp[5]; tmp 458 drivers/pnp/isapnp/core.c len = tmp[6]; tmp 459 drivers/pnp/isapnp/core.c flags = tmp[0] ? IORESOURCE_IO_16BIT_ADDR : 0; tmp 471 drivers/pnp/isapnp/core.c unsigned char tmp[3]; tmp 474 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 475 drivers/pnp/isapnp/core.c base = (tmp[1] << 8) | tmp[0]; tmp 476 drivers/pnp/isapnp/core.c len = tmp[2]; tmp 488 drivers/pnp/isapnp/core.c unsigned char tmp[9]; tmp 492 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 493 drivers/pnp/isapnp/core.c min = ((tmp[2] << 8) | tmp[1]) << 8; tmp 494 drivers/pnp/isapnp/core.c max = ((tmp[4] << 8) | tmp[3]) << 8; tmp 495 drivers/pnp/isapnp/core.c align = (tmp[6] << 8) | tmp[5]; tmp 496 drivers/pnp/isapnp/core.c len = ((tmp[8] << 8) | tmp[7]) << 8; tmp 497 drivers/pnp/isapnp/core.c flags = tmp[0]; tmp 509 drivers/pnp/isapnp/core.c unsigned char tmp[17]; tmp 513 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 514 drivers/pnp/isapnp/core.c min = (tmp[4] << 24) | (tmp[3] << 16) | (tmp[2] << 8) | tmp[1]; tmp 515 drivers/pnp/isapnp/core.c max = (tmp[8] << 24) | (tmp[7] << 16) | (tmp[6] << 8) | tmp[5]; tmp 516 drivers/pnp/isapnp/core.c align = (tmp[12] << 24) | (tmp[11] << 16) | (tmp[10] << 8) | tmp[9]; tmp 517 drivers/pnp/isapnp/core.c len = (tmp[16] << 24) | (tmp[15] << 16) | (tmp[14] << 8) | tmp[13]; tmp 518 drivers/pnp/isapnp/core.c flags = tmp[0]; tmp 530 drivers/pnp/isapnp/core.c unsigned char tmp[9]; tmp 534 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 535 drivers/pnp/isapnp/core.c base = (tmp[4] << 24) | (tmp[3] << 16) | (tmp[2] << 8) | tmp[1]; tmp 536 drivers/pnp/isapnp/core.c len = (tmp[8] << 24) | (tmp[7] << 16) | (tmp[6] << 8) | tmp[5]; tmp 537 drivers/pnp/isapnp/core.c flags = tmp[0]; tmp 567 drivers/pnp/isapnp/core.c unsigned char type, tmp[17]; tmp 601 drivers/pnp/isapnp/core.c isapnp_peek(tmp, 4); tmp 602 drivers/pnp/isapnp/core.c eisa_id = tmp[0] | tmp[1] << 8 | tmp 603 drivers/pnp/isapnp/core.c tmp[2] << 16 | tmp[3] << 24; tmp 627 drivers/pnp/isapnp/core.c isapnp_peek(tmp, size); tmp 628 drivers/pnp/isapnp/core.c priority = tmp[0]; tmp 701 drivers/pnp/isapnp/core.c unsigned char type, tmp[17]; tmp 711 drivers/pnp/isapnp/core.c isapnp_peek(tmp, 2); tmp 712 drivers/pnp/isapnp/core.c card->pnpver = tmp[0]; tmp 713 drivers/pnp/isapnp/core.c card->productver = tmp[1]; tmp 911 drivers/pnp/isapnp/core.c int tmp; tmp 916 drivers/pnp/isapnp/core.c for (tmp = 0; tmp < ISAPNP_MAX_PORT; tmp++) { tmp 917 drivers/pnp/isapnp/core.c res = pnp_get_resource(dev, IORESOURCE_IO, tmp); tmp 920 drivers/pnp/isapnp/core.c tmp, (unsigned long long) res->start); tmp 921 drivers/pnp/isapnp/core.c isapnp_write_word(ISAPNP_CFG_PORT + (tmp << 1), tmp 925 drivers/pnp/isapnp/core.c for (tmp = 0; tmp < ISAPNP_MAX_IRQ; tmp++) { tmp 926 drivers/pnp/isapnp/core.c res = pnp_get_resource(dev, IORESOURCE_IRQ, tmp); tmp 931 drivers/pnp/isapnp/core.c pnp_dbg(&dev->dev, " set irq %d to %d\n", tmp, irq); tmp 932 drivers/pnp/isapnp/core.c isapnp_write_byte(ISAPNP_CFG_IRQ + (tmp << 1), irq); tmp 935 drivers/pnp/isapnp/core.c for (tmp = 0; tmp < ISAPNP_MAX_DMA; tmp++) { tmp 936 drivers/pnp/isapnp/core.c res = pnp_get_resource(dev, IORESOURCE_DMA, tmp); tmp 939 drivers/pnp/isapnp/core.c tmp, (unsigned long long) res->start); tmp 940 drivers/pnp/isapnp/core.c isapnp_write_byte(ISAPNP_CFG_DMA + tmp, res->start); tmp 943 drivers/pnp/isapnp/core.c for (tmp = 0; tmp < ISAPNP_MAX_MEM; tmp++) { tmp 944 drivers/pnp/isapnp/core.c res = pnp_get_resource(dev, IORESOURCE_MEM, tmp); tmp 947 drivers/pnp/isapnp/core.c tmp, (unsigned long long) res->start); tmp 948 drivers/pnp/isapnp/core.c isapnp_write_word(ISAPNP_CFG_MEM + (tmp << 3), tmp 243 drivers/pnp/manager.c struct pnp_resource *pnp_res, *tmp; tmp 245 drivers/pnp/manager.c list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { tmp 145 drivers/pnp/resource.c struct pnp_option *option, *tmp; tmp 147 drivers/pnp/resource.c list_for_each_entry_safe(option, tmp, &dev->options, list) { tmp 125 drivers/power/reset/at91-poweroff.c u32 mode = 0, tmp; tmp 133 drivers/power/reset/at91-poweroff.c if (!of_property_read_u32(np, "atmel,wakeup-counter", &tmp)) { tmp 134 drivers/power/reset/at91-poweroff.c if (tmp > AT91_SHDW_CPTWK0_MAX) { tmp 137 drivers/power/reset/at91-poweroff.c tmp, AT91_SHDW_CPTWK0_MAX, AT91_SHDW_CPTWK0_MAX); tmp 138 drivers/power/reset/at91-poweroff.c tmp = AT91_SHDW_CPTWK0_MAX; tmp 140 drivers/power/reset/at91-poweroff.c mode |= AT91_SHDW_CPTWK0_(tmp); tmp 219 drivers/power/reset/at91-sama5d2_shdwc.c u32 mode = 0, tmp, input; tmp 226 drivers/power/reset/at91-sama5d2_shdwc.c if (!of_property_read_u32(np, "debounce-delay-us", &tmp)) tmp 227 drivers/power/reset/at91-sama5d2_shdwc.c mode |= AT91_SHDW_WKUPDBC(at91_shdwc_debouncer_value(pdev, tmp)); tmp 49 drivers/power/reset/brcmstb-reboot.c u32 tmp; tmp 57 drivers/power/reset/brcmstb-reboot.c rc = regmap_read(regmap, rst_src_en, &tmp); tmp 69 drivers/power/reset/brcmstb-reboot.c rc = regmap_read(regmap, sw_mstr_rst, &tmp); tmp 468 drivers/power/supply/act8945a_charger.c unsigned int tmp; tmp 476 drivers/power/supply/act8945a_charger.c ret = regmap_read(regmap, ACT8945A_APCH_CFG, &tmp); tmp 480 drivers/power/supply/act8945a_charger.c if (tmp & APCH_CFG_SUSCHG) { tmp 95 drivers/power/supply/bq24735-charger.c unsigned int tmp; tmp 102 drivers/power/supply/bq24735-charger.c tmp = ret & ~mask; tmp 103 drivers/power/supply/bq24735-charger.c tmp |= value & mask; tmp 105 drivers/power/supply/bq24735-charger.c return bq24735_write_word(client, reg, tmp); tmp 220 drivers/power/supply/cpcap-battery.c u64 tmp; tmp 243 drivers/power/supply/cpcap-battery.c tmp = acc; tmp 245 drivers/power/supply/cpcap-battery.c tmp = acc * -1; tmp 247 drivers/power/supply/cpcap-battery.c tmp = tmp * cc_lsb; tmp 248 drivers/power/supply/cpcap-battery.c do_div(tmp, divider); tmp 249 drivers/power/supply/cpcap-battery.c avg_current = tmp; tmp 440 drivers/power/supply/cpcap-battery.c s64 tmp; tmp 496 drivers/power/supply/cpcap-battery.c tmp = (latest->voltage / 10000) * latest->current_ua; tmp 497 drivers/power/supply/cpcap-battery.c val->intval = div64_s64(tmp, 100); tmp 502 drivers/power/supply/cpcap-battery.c tmp = cpcap_battery_cc_get_avg_current(ddata); tmp 503 drivers/power/supply/cpcap-battery.c tmp *= (latest->voltage / 10000); tmp 504 drivers/power/supply/cpcap-battery.c val->intval = div64_s64(tmp, 100); tmp 508 drivers/power/supply/cpcap-battery.c tmp = cpcap_battery_cc_to_ua(ddata, sample, accumulator, tmp 510 drivers/power/supply/cpcap-battery.c tmp *= ((latest->voltage + previous->voltage) / 20000); tmp 511 drivers/power/supply/cpcap-battery.c val->intval = div64_s64(tmp, 100); tmp 318 drivers/power/supply/da9052-battery.c int tmp; tmp 320 drivers/power/supply/da9052-battery.c tmp = ((level_upper - level_lower) * 1000) / (vbat_upper - vbat_lower); tmp 321 drivers/power/supply/da9052-battery.c tmp = level_lower + (((bat_voltage - vbat_lower) * tmp) / 1000); tmp 323 drivers/power/supply/da9052-battery.c return tmp; tmp 459 drivers/power/supply/ds2760_battery.c unsigned char tmp[2] = { tmp 464 drivers/power/supply/ds2760_battery.c if (tmp[0] == di->raw[DS2760_ACTIVE_FULL] && tmp 465 drivers/power/supply/ds2760_battery.c tmp[1] == di->raw[DS2760_ACTIVE_FULL + 1]) tmp 468 drivers/power/supply/ds2760_battery.c w1_ds2760_write(di->dev, tmp, DS2760_ACTIVE_FULL, sizeof(tmp)); tmp 474 drivers/power/supply/ds2760_battery.c di->raw[DS2760_ACTIVE_FULL] = tmp[0]; tmp 475 drivers/power/supply/ds2760_battery.c di->raw[DS2760_ACTIVE_FULL + 1] = tmp[1]; tmp 710 drivers/power/supply/ds2760_battery.c u32 tmp; tmp 718 drivers/power/supply/ds2760_battery.c "maxim,cache-time-ms", &tmp)) tmp 719 drivers/power/supply/ds2760_battery.c cache_time = tmp; tmp 723 drivers/power/supply/ds2760_battery.c &tmp)) tmp 724 drivers/power/supply/ds2760_battery.c rated_capacity = tmp / 10; /* property is in mAh */ tmp 546 drivers/power/supply/max17042_battery.c u32 tmp; tmp 549 drivers/power/supply/max17042_battery.c regmap_read(map, addr + i, &tmp); tmp 550 drivers/power/supply/max17042_battery.c data[i] = (u16)tmp; tmp 713 drivers/power/supply/power_supply_core.c int i, cap, tmp; tmp 720 drivers/power/supply/power_supply_core.c tmp = (table[i - 1].capacity - table[i].capacity) * tmp 722 drivers/power/supply/power_supply_core.c tmp /= table[i - 1].ocv - table[i].ocv; tmp 723 drivers/power/supply/power_supply_core.c cap = tmp + table[i].capacity; tmp 423 drivers/power/supply/test_power.c int tmp; tmp 425 drivers/power/supply/test_power.c if (1 != sscanf(key, "%d", &tmp)) tmp 428 drivers/power/supply/test_power.c battery_capacity = tmp; tmp 438 drivers/power/supply/test_power.c int tmp; tmp 440 drivers/power/supply/test_power.c if (1 != sscanf(key, "%d", &tmp)) tmp 443 drivers/power/supply/test_power.c battery_voltage = tmp; tmp 841 drivers/ps3/ps3-lpm.c u64 tmp; tmp 855 drivers/ps3/ps3-lpm.c 0xFFFFFFFFFFFFFFFFULL, &tmp); tmp 885 drivers/ps3/ps3-lpm.c u64 tmp; tmp 889 drivers/ps3/ps3-lpm.c result = lv1_stop_lpm(lpm_priv->lpm_id, &tmp); tmp 898 drivers/ps3/ps3-lpm.c lpm_priv->tb_count = tmp; tmp 934 drivers/ps3/ps3-lpm.c u64 tmp; tmp 937 drivers/ps3/ps3-lpm.c request, &tmp); tmp 948 drivers/ps3/ps3-lpm.c memcpy(buf, lpm_priv->tb_cache, tmp); tmp 949 drivers/ps3/ps3-lpm.c buf += tmp; tmp 950 drivers/ps3/ps3-lpm.c *bytes_copied += tmp; tmp 951 drivers/ps3/ps3-lpm.c offset += tmp; tmp 989 drivers/ps3/ps3-lpm.c u64 tmp; tmp 992 drivers/ps3/ps3-lpm.c request, &tmp); tmp 1002 drivers/ps3/ps3-lpm.c result = copy_to_user(buf, lpm_priv->tb_cache, tmp); tmp 1006 drivers/ps3/ps3-lpm.c __func__, __LINE__, tmp, buf); tmp 1012 drivers/ps3/ps3-lpm.c buf += tmp; tmp 1013 drivers/ps3/ps3-lpm.c *bytes_copied += tmp; tmp 1014 drivers/ps3/ps3-lpm.c offset += tmp; tmp 273 drivers/ps3/ps3-vuart.c u64 tmp; tmp 276 drivers/ps3/ps3-vuart.c PARAM_INTERRUPT_STATUS, &tmp); tmp 282 drivers/ps3/ps3-vuart.c *status = tmp & priv->interrupt_mask; tmp 285 drivers/ps3/ps3-vuart.c __func__, __LINE__, priv->interrupt_mask, tmp, *status); tmp 420 drivers/ps3/ps3-vuart.c void *tmp; tmp 437 drivers/ps3/ps3-vuart.c tmp = kmalloc(bytes, GFP_KERNEL); tmp 439 drivers/ps3/ps3-vuart.c if (!tmp) tmp 442 drivers/ps3/ps3-vuart.c ps3_vuart_raw_read(dev, tmp, bytes, &bytes_waiting); tmp 444 drivers/ps3/ps3-vuart.c kfree(tmp); tmp 615 drivers/ps3/ps3-vuart.c u64 tmp; tmp 617 drivers/ps3/ps3-vuart.c result = ps3_vuart_queue_rx_bytes(dev, &tmp); tmp 618 drivers/ps3/ps3-vuart.c if (result || !tmp) { tmp 314 drivers/ptp/ptp_pch.c s32 tmp; tmp 316 drivers/ptp/ptp_pch.c tmp = hex_to_bin(addr[i * 3]); tmp 317 drivers/ptp/ptp_pch.c if (tmp < 0) { tmp 322 drivers/ptp/ptp_pch.c val = tmp * 16; tmp 323 drivers/ptp/ptp_pch.c tmp = hex_to_bin(addr[(i * 3) + 1]); tmp 324 drivers/ptp/ptp_pch.c if (tmp < 0) { tmp 329 drivers/ptp/ptp_pch.c val += tmp; tmp 85 drivers/pwm/pwm-bcm-iproc.c u64 tmp, multi, rate; tmp 109 drivers/pwm/pwm-bcm-iproc.c tmp = (value & IPROC_PWM_PERIOD_MAX) * multi; tmp 110 drivers/pwm/pwm-bcm-iproc.c state->period = div64_u64(tmp, rate); tmp 113 drivers/pwm/pwm-bcm-iproc.c tmp = (value & IPROC_PWM_PERIOD_MAX) * multi; tmp 114 drivers/pwm/pwm-bcm-iproc.c state->duty_cycle = div64_u64(tmp, rate); tmp 117 drivers/pwm/pwm-brcmstb.c u64 rate, tmp; tmp 126 drivers/pwm/pwm-brcmstb.c tmp = period_ns * rate; tmp 127 drivers/pwm/pwm-brcmstb.c do_div(tmp, NSEC_PER_SEC); tmp 128 drivers/pwm/pwm-brcmstb.c pc = tmp; tmp 130 drivers/pwm/pwm-brcmstb.c tmp = (duty_ns + 1) * rate; tmp 131 drivers/pwm/pwm-brcmstb.c do_div(tmp, NSEC_PER_SEC); tmp 132 drivers/pwm/pwm-brcmstb.c dc = tmp; tmp 31 drivers/pwm/pwm-clps711x.c u32 tmp; tmp 35 drivers/pwm/pwm-clps711x.c tmp = readl(priv->pmpcon); tmp 36 drivers/pwm/pwm-clps711x.c tmp &= ~(0xf << shift); tmp 37 drivers/pwm/pwm-clps711x.c tmp |= v << shift; tmp 38 drivers/pwm/pwm-clps711x.c writel(tmp, priv->pmpcon); tmp 96 drivers/pwm/pwm-imx-tpm.c u64 tmp; tmp 99 drivers/pwm/pwm-imx-tpm.c tmp = (u64)state->period * rate; tmp 100 drivers/pwm/pwm-imx-tpm.c clock_unit = DIV_ROUND_CLOSEST_ULL(tmp, NSEC_PER_SEC); tmp 114 drivers/pwm/pwm-imx-tpm.c tmp = (u64)period_count << prescale; tmp 115 drivers/pwm/pwm-imx-tpm.c tmp *= NSEC_PER_SEC; tmp 116 drivers/pwm/pwm-imx-tpm.c real_state->period = DIV_ROUND_CLOSEST_ULL(tmp, rate); tmp 128 drivers/pwm/pwm-imx-tpm.c tmp = (u64)p->mod * real_state->duty_cycle; tmp 129 drivers/pwm/pwm-imx-tpm.c p->val = DIV_ROUND_CLOSEST_ULL(tmp, real_state->period); tmp 143 drivers/pwm/pwm-imx-tpm.c u64 tmp; tmp 152 drivers/pwm/pwm-imx-tpm.c tmp = readl(tpm->base + PWM_IMX_TPM_CnV(pwm->hwpwm)); tmp 153 drivers/pwm/pwm-imx-tpm.c tmp = (tmp << prescale) * NSEC_PER_SEC; tmp 154 drivers/pwm/pwm-imx-tpm.c state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, rate); tmp 123 drivers/pwm/pwm-imx27.c u64 tmp; tmp 155 drivers/pwm/pwm-imx27.c tmp = NSEC_PER_SEC * (u64)(period + 2); tmp 156 drivers/pwm/pwm-imx27.c state->period = DIV_ROUND_CLOSEST_ULL(tmp, pwm_clk); tmp 161 drivers/pwm/pwm-imx27.c tmp = NSEC_PER_SEC * (u64)(val); tmp 162 drivers/pwm/pwm-imx27.c state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, pwm_clk); tmp 94 drivers/pwm/pwm-jz4740.c unsigned long long tmp; tmp 99 drivers/pwm/pwm-jz4740.c tmp = (unsigned long long)clk_get_rate(jz4740->clk) * state->period; tmp 100 drivers/pwm/pwm-jz4740.c do_div(tmp, 1000000000); tmp 101 drivers/pwm/pwm-jz4740.c period = tmp; tmp 111 drivers/pwm/pwm-jz4740.c tmp = (unsigned long long)period * state->duty_cycle; tmp 112 drivers/pwm/pwm-jz4740.c do_div(tmp, state->period); tmp 113 drivers/pwm/pwm-jz4740.c duty = period - tmp; tmp 336 drivers/pwm/pwm-meson.c u32 value, tmp; tmp 346 drivers/pwm/pwm-meson.c tmp = channel_data->pwm_en_mask | channel_data->clk_en_mask; tmp 347 drivers/pwm/pwm-meson.c state->enabled = (value & tmp) == tmp; tmp 349 drivers/pwm/pwm-meson.c tmp = value >> channel_data->clk_div_shift; tmp 350 drivers/pwm/pwm-meson.c channel->pre_div = FIELD_GET(MISC_CLK_DIV_MASK, tmp); tmp 73 drivers/pwm/pwm-rcar.c u64 div, tmp; tmp 79 drivers/pwm/pwm-rcar.c tmp = (u64)period_ns * clk_rate + div - 1; tmp 80 drivers/pwm/pwm-rcar.c tmp = div64_u64(tmp, div); tmp 81 drivers/pwm/pwm-rcar.c div = ilog2(tmp - 1) + 1; tmp 106 drivers/pwm/pwm-rcar.c unsigned long long one_cycle, tmp; /* 0.01 nanoseconds */ tmp 113 drivers/pwm/pwm-rcar.c tmp = period_ns * 100ULL; tmp 114 drivers/pwm/pwm-rcar.c do_div(tmp, one_cycle); tmp 115 drivers/pwm/pwm-rcar.c cyc = (tmp << RCAR_PWMCNT_CYC0_SHIFT) & RCAR_PWMCNT_CYC0_MASK; tmp 117 drivers/pwm/pwm-rcar.c tmp = duty_ns * 100ULL; tmp 118 drivers/pwm/pwm-rcar.c do_div(tmp, one_cycle); tmp 119 drivers/pwm/pwm-rcar.c ph = tmp & RCAR_PWMCNT_PH0_MASK; tmp 67 drivers/pwm/pwm-rockchip.c u64 tmp; tmp 77 drivers/pwm/pwm-rockchip.c tmp = readl_relaxed(pc->base + pc->data->regs.period); tmp 78 drivers/pwm/pwm-rockchip.c tmp *= pc->data->prescaler * NSEC_PER_SEC; tmp 79 drivers/pwm/pwm-rockchip.c state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); tmp 81 drivers/pwm/pwm-rockchip.c tmp = readl_relaxed(pc->base + pc->data->regs.duty); tmp 82 drivers/pwm/pwm-rockchip.c tmp *= pc->data->prescaler * NSEC_PER_SEC; tmp 83 drivers/pwm/pwm-rockchip.c state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); tmp 75 drivers/pwm/pwm-sprd.c u64 tmp; tmp 105 drivers/pwm/pwm-sprd.c tmp = (prescale + 1) * NSEC_PER_SEC * SPRD_PWM_MOD_MAX; tmp 106 drivers/pwm/pwm-sprd.c state->period = DIV_ROUND_CLOSEST_ULL(tmp, chn->clk_rate); tmp 110 drivers/pwm/pwm-sprd.c tmp = (prescale + 1) * NSEC_PER_SEC * duty; tmp 111 drivers/pwm/pwm-sprd.c state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, chn->clk_rate); tmp 123 drivers/pwm/pwm-sprd.c u64 tmp; tmp 137 drivers/pwm/pwm-sprd.c tmp = (u64)chn->clk_rate * period_ns; tmp 138 drivers/pwm/pwm-sprd.c do_div(tmp, NSEC_PER_SEC); tmp 139 drivers/pwm/pwm-sprd.c prescale = DIV_ROUND_CLOSEST_ULL(tmp, SPRD_PWM_MOD_MAX) - 1; tmp 167 drivers/pwm/pwm-stm32-lp.c u64 tmp; tmp 180 drivers/pwm/pwm-stm32-lp.c tmp = prd + 1; tmp 181 drivers/pwm/pwm-stm32-lp.c tmp = (tmp << presc) * NSEC_PER_SEC; tmp 182 drivers/pwm/pwm-stm32-lp.c state->period = DIV_ROUND_CLOSEST_ULL(tmp, rate); tmp 185 drivers/pwm/pwm-stm32-lp.c tmp = prd - val; tmp 186 drivers/pwm/pwm-stm32-lp.c tmp = (tmp << presc) * NSEC_PER_SEC; tmp 187 drivers/pwm/pwm-stm32-lp.c state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, rate); tmp 110 drivers/pwm/pwm-sun4i.c u64 clk_rate, tmp; tmp 140 drivers/pwm/pwm-sun4i.c tmp = (u64)prescaler * NSEC_PER_SEC * PWM_REG_DTY(val); tmp 141 drivers/pwm/pwm-sun4i.c state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); tmp 143 drivers/pwm/pwm-sun4i.c tmp = (u64)prescaler * NSEC_PER_SEC * PWM_REG_PRD(val); tmp 144 drivers/pwm/pwm-sun4i.c state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); tmp 71 drivers/pwm/pwm-zx.c u64 tmp; tmp 88 drivers/pwm/pwm-zx.c tmp = zx_pwm_readl(zpc, pwm->hwpwm, ZX_PWM_PERIOD); tmp 89 drivers/pwm/pwm-zx.c tmp *= div * NSEC_PER_SEC; tmp 90 drivers/pwm/pwm-zx.c state->period = DIV_ROUND_CLOSEST_ULL(tmp, rate); tmp 92 drivers/pwm/pwm-zx.c tmp = zx_pwm_readl(zpc, pwm->hwpwm, ZX_PWM_DUTY); tmp 93 drivers/pwm/pwm-zx.c tmp *= div * NSEC_PER_SEC; tmp 94 drivers/pwm/pwm-zx.c state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, rate); tmp 529 drivers/rapidio/rio-scan.c int tmp; tmp 563 drivers/rapidio/rio-scan.c while ((tmp = rio_get_host_deviceid_lock(port, hopcount)) tmp 996 drivers/rapidio/rio.c u32 tmp; tmp 999 drivers/rapidio/rio.c RIO_DEV_ID_CAR, &tmp)) { tmp 216 drivers/rapidio/switches/idt_gen2.c int i, tmp; tmp 256 drivers/rapidio/switches/idt_gen2.c tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); tmp 257 drivers/rapidio/switches/idt_gen2.c for (i = 0; i < tmp; i++) { tmp 278 drivers/rapidio/switches/idt_gen2.c tmp = (rdev->did == RIO_DID_IDTCPS1848) ? 48 : 16; tmp 279 drivers/rapidio/switches/idt_gen2.c for (i = 0; i < tmp; i++) { tmp 163 drivers/rapidio/switches/idt_gen3.c int i, tmp; tmp 176 drivers/rapidio/switches/idt_gen3.c tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); tmp 177 drivers/rapidio/switches/idt_gen3.c for (i = 0; i < tmp; i++) { tmp 200 drivers/rapidio/switches/idt_gen3.c tmp = RIO_GET_PORT_NUM(rdev->swpinfo); tmp 201 drivers/rapidio/switches/idt_gen3.c rio_write_config_32(rdev, RIO_PW_ROUTE, 1 << tmp); tmp 421 drivers/regulator/fan53555.c u32 tmp; tmp 430 drivers/regulator/fan53555.c &tmp); tmp 432 drivers/regulator/fan53555.c pdata->sleep_vsel_id = tmp; tmp 358 drivers/regulator/lp3971.c u16 tmp; tmp 363 drivers/regulator/lp3971.c ret = lp3971_i2c_read(lp3971->i2c, reg, 1, &tmp); tmp 365 drivers/regulator/lp3971.c tmp = (tmp & ~mask) | val; tmp 366 drivers/regulator/lp3971.c ret = lp3971_i2c_write(lp3971->i2c, reg, 1, &tmp); tmp 204 drivers/regulator/lp3972.c u16 tmp; tmp 209 drivers/regulator/lp3972.c ret = lp3972_i2c_read(lp3972->i2c, reg, 1, &tmp); tmp 211 drivers/regulator/lp3972.c tmp = (tmp & ~mask) | val; tmp 212 drivers/regulator/lp3972.c ret = lp3972_i2c_write(lp3972->i2c, reg, 1, &tmp); tmp 181 drivers/regulator/ltc3589.c uint64_t tmp; tmp 186 drivers/regulator/ltc3589.c tmp = (uint64_t)uV * r1; tmp 187 drivers/regulator/ltc3589.c do_div(tmp, r2); tmp 188 drivers/regulator/ltc3589.c return uV + (unsigned int)tmp; tmp 137 drivers/regulator/ltc3676.c uint64_t tmp; tmp 140 drivers/regulator/ltc3676.c tmp = (uint64_t)uV * r1; tmp 141 drivers/regulator/ltc3676.c do_div(tmp, r2); tmp 142 drivers/regulator/ltc3676.c return uV + (unsigned int)tmp; tmp 511 drivers/regulator/of_regulator.c struct device_node *tmp = of_parse_phandle(src, tmp 514 drivers/regulator/of_regulator.c if (!tmp) tmp 518 drivers/regulator/of_regulator.c if (tmp == to_find) tmp 521 drivers/regulator/of_regulator.c of_node_put(tmp); tmp 164 drivers/regulator/pcap-regulator.c u32 tmp; tmp 169 drivers/regulator/pcap-regulator.c ezx_pcap_read(pcap, vreg->reg, &tmp); tmp 170 drivers/regulator/pcap-regulator.c tmp = ((tmp >> vreg->index) & (rdev->desc->n_voltages - 1)); tmp 171 drivers/regulator/pcap-regulator.c return tmp; tmp 200 drivers/regulator/pcap-regulator.c u32 tmp; tmp 205 drivers/regulator/pcap-regulator.c ezx_pcap_read(pcap, vreg->reg, &tmp); tmp 206 drivers/regulator/pcap-regulator.c return (tmp >> vreg->en) & 1; tmp 245 drivers/regulator/rk808-regulator.c unsigned int old_sel, tmp, val, mask = rdev->desc->vsel_mask; tmp 251 drivers/regulator/rk808-regulator.c tmp = val & ~mask; tmp 264 drivers/regulator/rk808-regulator.c val |= tmp; tmp 277 drivers/regulator/rk808-regulator.c val = tmp | sel; tmp 1283 drivers/regulator/rk808-regulator.c int tmp, ret = 0, i; tmp 1304 drivers/regulator/rk808-regulator.c tmp = i ? RK808_DVS2_POL : RK808_DVS1_POL; tmp 1305 drivers/regulator/rk808-regulator.c ret = regmap_update_bits(map, RK808_IO_POL_REG, tmp, tmp 1307 drivers/regulator/rk808-regulator.c 0 : tmp); tmp 283 drivers/regulator/tps6524x-regulator.c int tmp; tmp 285 drivers/regulator/tps6524x-regulator.c tmp = read_reg(hw, field->reg); tmp 286 drivers/regulator/tps6524x-regulator.c if (tmp < 0) tmp 287 drivers/regulator/tps6524x-regulator.c return tmp; tmp 289 drivers/regulator/tps6524x-regulator.c return (tmp >> field->shift) & field->mask; tmp 1174 drivers/remoteproc/remoteproc_core.c struct rproc_mem_entry *entry, *tmp; tmp 1180 drivers/remoteproc/remoteproc_core.c list_for_each_entry_safe(entry, tmp, &rproc->carveouts, node) { tmp 1237 drivers/remoteproc/remoteproc_core.c struct rproc_dump_segment *entry, *tmp; tmp 1239 drivers/remoteproc/remoteproc_core.c list_for_each_entry_safe(entry, tmp, &rproc->dump_segments, node) { tmp 1254 drivers/remoteproc/remoteproc_core.c struct rproc_mem_entry *entry, *tmp; tmp 1268 drivers/remoteproc/remoteproc_core.c list_for_each_entry_safe(entry, tmp, &rproc->mappings, node) { tmp 1283 drivers/remoteproc/remoteproc_core.c list_for_each_entry_safe(entry, tmp, &rproc->carveouts, node) { tmp 245 drivers/rpmsg/qcom_glink_native.c struct glink_core_rx_intent *tmp; tmp 254 drivers/rpmsg/qcom_glink_native.c list_for_each_entry_safe(intent, tmp, &channel->done_intents, node) { tmp 261 drivers/rpmsg/qcom_glink_native.c idr_for_each_entry(&channel->liids, tmp, iid) { tmp 262 drivers/rpmsg/qcom_glink_native.c kfree(tmp->data); tmp 263 drivers/rpmsg/qcom_glink_native.c kfree(tmp); tmp 267 drivers/rpmsg/qcom_glink_native.c idr_for_each_entry(&channel->riids, tmp, iid) tmp 268 drivers/rpmsg/qcom_glink_native.c kfree(tmp); tmp 478 drivers/rpmsg/qcom_glink_native.c struct glink_core_rx_intent *intent, *tmp; tmp 491 drivers/rpmsg/qcom_glink_native.c list_for_each_entry_safe(intent, tmp, &channel->done_intents, node) { tmp 1264 drivers/rpmsg/qcom_glink_native.c struct glink_core_rx_intent *tmp; tmp 1277 drivers/rpmsg/qcom_glink_native.c idr_for_each_entry(&channel->riids, tmp, iid) { tmp 1278 drivers/rpmsg/qcom_glink_native.c if (tmp->size >= len && !tmp->in_use) { tmp 1280 drivers/rpmsg/qcom_glink_native.c intent = tmp; tmp 1281 drivers/rpmsg/qcom_glink_native.c else if (intent->size > tmp->size) tmp 1282 drivers/rpmsg/qcom_glink_native.c intent = tmp; tmp 1568 drivers/rpmsg/qcom_glink_native.c struct glink_defer_cmd *tmp; tmp 1573 drivers/rpmsg/qcom_glink_native.c list_for_each_entry_safe(dcmd, tmp, &glink->rx_queue, node) tmp 1410 drivers/rpmsg/qcom_smd.c struct qcom_smd_channel *channel, *tmp; tmp 1413 drivers/rpmsg/qcom_smd.c list_for_each_entry_safe(channel, tmp, &edge->channels, list) { tmp 397 drivers/rpmsg/virtio_rpmsg_bus.c struct device *tmp, *dev = &vrp->vdev->dev; tmp 401 drivers/rpmsg/virtio_rpmsg_bus.c tmp = rpmsg_find_device(dev, chinfo); tmp 402 drivers/rpmsg/virtio_rpmsg_bus.c if (tmp) { tmp 404 drivers/rpmsg/virtio_rpmsg_bus.c put_device(tmp); tmp 518 drivers/rtc/rtc-abx80x.c int status, tmp; tmp 526 drivers/rtc/rtc-abx80x.c tmp = !!(status & ABX8XX_STATUS_BLF); tmp 528 drivers/rtc/rtc-abx80x.c if (copy_to_user((void __user *)arg, &tmp, sizeof(int))) tmp 540 drivers/rtc/rtc-abx80x.c tmp = i2c_smbus_write_byte_data(client, ABX8XX_REG_STATUS, 0); tmp 541 drivers/rtc/rtc-abx80x.c if (tmp < 0) tmp 542 drivers/rtc/rtc-abx80x.c return tmp; tmp 565 drivers/rtc/rtc-abx80x.c u32 tmp; tmp 578 drivers/rtc/rtc-abx80x.c ret = of_property_read_u32(np, "abracon,tc-resistor", &tmp); tmp 583 drivers/rtc/rtc-abx80x.c if (trickle_resistors[i] == tmp) tmp 178 drivers/rtc/rtc-ac100.c unsigned long tmp, prate; tmp 202 drivers/rtc/rtc-ac100.c tmp = ac100_clkout_round_rate(hw, req->rate, prate); tmp 204 drivers/rtc/rtc-ac100.c if (tmp > req->rate) tmp 206 drivers/rtc/rtc-ac100.c if (req->rate - tmp < req->rate - best) { tmp 207 drivers/rtc/rtc-ac100.c best = tmp; tmp 78 drivers/rtc/rtc-brcmstb-waketimer.c u32 tmp; tmp 82 drivers/rtc/rtc-brcmstb-waketimer.c tmp = readl_relaxed(timer->base + BRCMSTB_WKTMR_PRESCALER_VAL); tmp 83 drivers/rtc/rtc-brcmstb-waketimer.c } while (tmp >= timer->rate); tmp 85 drivers/rtc/rtc-brcmstb-waketimer.c t->pre = timer->rate - tmp; tmp 980 drivers/rtc/rtc-cmos.c unsigned char tmp; tmp 984 drivers/rtc/rtc-cmos.c cmos->suspend_ctrl = tmp = CMOS_READ(RTC_CONTROL); tmp 985 drivers/rtc/rtc-cmos.c if (tmp & (RTC_PIE|RTC_AIE|RTC_UIE)) { tmp 992 drivers/rtc/rtc-cmos.c tmp &= ~mask; tmp 993 drivers/rtc/rtc-cmos.c CMOS_WRITE(tmp, RTC_CONTROL); tmp 996 drivers/rtc/rtc-cmos.c cmos_checkintr(cmos, tmp); tmp 1000 drivers/rtc/rtc-cmos.c if ((tmp & RTC_AIE) && !cmos_use_acpi_alarm()) { tmp 1011 drivers/rtc/rtc-cmos.c (tmp & RTC_AIE) ? ", alarm may wake" : "", tmp 1012 drivers/rtc/rtc-cmos.c tmp); tmp 1071 drivers/rtc/rtc-cmos.c unsigned char tmp; tmp 1085 drivers/rtc/rtc-cmos.c tmp = cmos->suspend_ctrl; tmp 1088 drivers/rtc/rtc-cmos.c if (tmp & RTC_IRQMASK) { tmp 1095 drivers/rtc/rtc-cmos.c CMOS_WRITE(tmp, RTC_CONTROL); tmp 1097 drivers/rtc/rtc-cmos.c hpet_set_rtc_irq_bit(tmp & RTC_IRQMASK); tmp 1100 drivers/rtc/rtc-cmos.c mask &= (tmp & RTC_IRQMASK) | RTC_IRQF; tmp 1108 drivers/rtc/rtc-cmos.c tmp &= ~RTC_AIE; tmp 1112 drivers/rtc/rtc-cmos.c if (tmp & RTC_AIE) tmp 1113 drivers/rtc/rtc-cmos.c cmos_check_acpi_rtc_status(dev, &tmp); tmp 1117 drivers/rtc/rtc-cmos.c dev_dbg(dev, "resume, ctrl %02x\n", tmp); tmp 190 drivers/rtc/rtc-ds1307.c int tmp, ret; tmp 225 drivers/rtc/rtc-ds1307.c tmp = regs[DS1307_REG_SECS]; tmp 231 drivers/rtc/rtc-ds1307.c if (tmp & DS1307_BIT_CH) tmp 236 drivers/rtc/rtc-ds1307.c if (tmp & DS1307_BIT_CH) tmp 239 drivers/rtc/rtc-ds1307.c ret = regmap_read(ds1307->regmap, DS1307_REG_CONTROL, &tmp); tmp 242 drivers/rtc/rtc-ds1307.c if (tmp & DS1338_BIT_OSF) tmp 246 drivers/rtc/rtc-ds1307.c if (tmp & DS1340_BIT_nEOSC) tmp 249 drivers/rtc/rtc-ds1307.c ret = regmap_read(ds1307->regmap, DS1340_REG_FLAG, &tmp); tmp 252 drivers/rtc/rtc-ds1307.c if (tmp & DS1340_BIT_OSF) tmp 256 drivers/rtc/rtc-ds1307.c if (!(tmp & MCP794XX_BIT_ST)) tmp 266 drivers/rtc/rtc-ds1307.c tmp = regs[DS1307_REG_HOUR] & 0x3f; tmp 267 drivers/rtc/rtc-ds1307.c t->tm_hour = bcd2bin(tmp); tmp 270 drivers/rtc/rtc-ds1307.c tmp = regs[DS1307_REG_MONTH] & 0x1f; tmp 271 drivers/rtc/rtc-ds1307.c t->tm_mon = bcd2bin(tmp) - 1; tmp 292 drivers/rtc/rtc-ds1307.c int tmp; tmp 320 drivers/rtc/rtc-ds1307.c tmp = t->tm_year - 100; tmp 321 drivers/rtc/rtc-ds1307.c regs[DS1307_REG_YEAR] = bin2bcd(tmp); tmp 1580 drivers/rtc/rtc-ds1307.c int tmp; tmp 1772 drivers/rtc/rtc-ds1307.c tmp = regs[DS1307_REG_HOUR]; tmp 1786 drivers/rtc/rtc-ds1307.c if (!(tmp & DS1307_BIT_12HR)) tmp 1793 drivers/rtc/rtc-ds1307.c tmp = bcd2bin(tmp & 0x1f); tmp 1794 drivers/rtc/rtc-ds1307.c if (tmp == 12) tmp 1795 drivers/rtc/rtc-ds1307.c tmp = 0; tmp 1797 drivers/rtc/rtc-ds1307.c tmp += 12; tmp 1799 drivers/rtc/rtc-ds1307.c bin2bcd(tmp)); tmp 183 drivers/rtc/rtc-ds1390.c unsigned char tmp; tmp 197 drivers/rtc/rtc-ds1390.c res = ds1390_get_reg(&spi->dev, DS1390_REG_SECONDS, &tmp); tmp 640 drivers/rtc/rtc-ds3232.c unsigned int tmp; tmp 660 drivers/rtc/rtc-ds3232.c res = regmap_read(regmap, DS3232_REG_SECONDS, &tmp); tmp 678 drivers/rtc/rtc-ds3232.c res = regmap_read(regmap, DS3232_REG_CR, &tmp); tmp 681 drivers/rtc/rtc-ds3232.c res = regmap_write(regmap, DS3232_REG_CR, tmp & 0x1c); tmp 685 drivers/rtc/rtc-ds3232.c res = regmap_read(regmap, DS3232_REG_SR, &tmp); tmp 688 drivers/rtc/rtc-ds3232.c res = regmap_write(regmap, DS3232_REG_SR, tmp & 0x88); tmp 693 drivers/rtc/rtc-ds3232.c res = regmap_read(regmap, DS3232_REG_CR, &tmp); tmp 696 drivers/rtc/rtc-ds3232.c dev_info(&spi->dev, "Control Reg: 0x%02x\n", tmp); tmp 698 drivers/rtc/rtc-ds3232.c res = regmap_read(regmap, DS3232_REG_SR, &tmp); tmp 701 drivers/rtc/rtc-ds3232.c dev_info(&spi->dev, "Ctrl/Stat Reg: 0x%02x\n", tmp); tmp 95 drivers/rtc/rtc-fm3130.c int tmp; tmp 107 drivers/rtc/rtc-fm3130.c tmp = i2c_transfer(fm3130->client->adapter, fm3130->msg, 2); tmp 108 drivers/rtc/rtc-fm3130.c if (tmp != 2) { tmp 109 drivers/rtc/rtc-fm3130.c dev_err(dev, "%s error %d\n", "read", tmp); tmp 119 drivers/rtc/rtc-fm3130.c tmp = fm3130->regs[FM3130_RTC_HOURS] & 0x3f; tmp 120 drivers/rtc/rtc-fm3130.c t->tm_hour = bcd2bin(tmp); tmp 123 drivers/rtc/rtc-fm3130.c tmp = fm3130->regs[FM3130_RTC_MONTHS] & 0x1f; tmp 124 drivers/rtc/rtc-fm3130.c t->tm_mon = bcd2bin(tmp) - 1; tmp 142 drivers/rtc/rtc-fm3130.c int tmp, i; tmp 160 drivers/rtc/rtc-fm3130.c tmp = t->tm_year - 100; tmp 161 drivers/rtc/rtc-fm3130.c buf[FM3130_RTC_YEARS] = bin2bcd(tmp); tmp 185 drivers/rtc/rtc-fm3130.c int tmp; tmp 199 drivers/rtc/rtc-fm3130.c tmp = i2c_transfer(fm3130->client->adapter, &fm3130->msg[2], 2); tmp 200 drivers/rtc/rtc-fm3130.c if (tmp != 2) { tmp 201 drivers/rtc/rtc-fm3130.c dev_err(dev, "%s error %d\n", "read", tmp); tmp 348 drivers/rtc/rtc-fm3130.c int tmp; tmp 390 drivers/rtc/rtc-fm3130.c tmp = i2c_transfer(adapter, fm3130->msg, 4); tmp 391 drivers/rtc/rtc-fm3130.c if (tmp != 4) { tmp 392 drivers/rtc/rtc-fm3130.c dev_dbg(&client->dev, "read error %d\n", tmp); tmp 445 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_SECONDS] & 0x7f); tmp 446 drivers/rtc/rtc-fm3130.c if (tmp > 59) tmp 449 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_MINUTES] & 0x7f); tmp 450 drivers/rtc/rtc-fm3130.c if (tmp > 59) tmp 453 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_HOURS] & 0x3f); tmp 454 drivers/rtc/rtc-fm3130.c if (tmp > 23) tmp 457 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_DATE] & 0x3f); tmp 458 drivers/rtc/rtc-fm3130.c if (tmp == 0 || tmp > 31) tmp 461 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_MONTHS] & 0x1f); tmp 462 drivers/rtc/rtc-fm3130.c if (tmp == 0 || tmp > 12) tmp 470 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_SECONDS] & 0x7f); tmp 471 drivers/rtc/rtc-fm3130.c if (tmp > 59) tmp 474 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_MINUTES] & 0x7f); tmp 475 drivers/rtc/rtc-fm3130.c if (tmp > 59) tmp 478 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_HOURS] & 0x3f); tmp 479 drivers/rtc/rtc-fm3130.c if (tmp > 23) tmp 482 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_DAY] & 0x7); tmp 483 drivers/rtc/rtc-fm3130.c if (tmp == 0 || tmp > 7) tmp 486 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_DATE] & 0x3f); tmp 487 drivers/rtc/rtc-fm3130.c if (tmp == 0 || tmp > 31) tmp 490 drivers/rtc/rtc-fm3130.c tmp = bcd2bin(fm3130->regs[FM3130_RTC_MONTHS] & 0x1f); tmp 491 drivers/rtc/rtc-fm3130.c if (tmp == 0 || tmp > 12) tmp 70 drivers/rtc/rtc-lpc32xx.c u32 tmp; tmp 75 drivers/rtc/rtc-lpc32xx.c tmp = rtc_readl(rtc, LPC32XX_RTC_CTRL); tmp 76 drivers/rtc/rtc-lpc32xx.c rtc_writel(rtc, LPC32XX_RTC_CTRL, tmp | LPC32XX_RTC_CTRL_CNTR_DIS); tmp 79 drivers/rtc/rtc-lpc32xx.c rtc_writel(rtc, LPC32XX_RTC_CTRL, tmp &= ~LPC32XX_RTC_CTRL_CNTR_DIS); tmp 104 drivers/rtc/rtc-lpc32xx.c u32 tmp; tmp 111 drivers/rtc/rtc-lpc32xx.c tmp = rtc_readl(rtc, LPC32XX_RTC_CTRL); tmp 112 drivers/rtc/rtc-lpc32xx.c rtc_writel(rtc, LPC32XX_RTC_CTRL, tmp & ~LPC32XX_RTC_CTRL_MATCH0); tmp 120 drivers/rtc/rtc-lpc32xx.c rtc_writel(rtc, LPC32XX_RTC_CTRL, tmp | tmp 133 drivers/rtc/rtc-lpc32xx.c u32 tmp; tmp 136 drivers/rtc/rtc-lpc32xx.c tmp = rtc_readl(rtc, LPC32XX_RTC_CTRL); tmp 140 drivers/rtc/rtc-lpc32xx.c tmp |= LPC32XX_RTC_CTRL_MATCH0; tmp 143 drivers/rtc/rtc-lpc32xx.c tmp &= ~LPC32XX_RTC_CTRL_MATCH0; tmp 146 drivers/rtc/rtc-lpc32xx.c rtc_writel(rtc, LPC32XX_RTC_CTRL, tmp); tmp 191 drivers/rtc/rtc-lpc32xx.c u32 tmp; tmp 209 drivers/rtc/rtc-lpc32xx.c tmp = rtc_readl(rtc, LPC32XX_RTC_CTRL); tmp 211 drivers/rtc/rtc-lpc32xx.c tmp &= ~(LPC32XX_RTC_CTRL_SW_RESET | tmp 218 drivers/rtc/rtc-lpc32xx.c rtc_writel(rtc, LPC32XX_RTC_CTRL, tmp); tmp 232 drivers/rtc/rtc-lpc32xx.c tmp & ~LPC32XX_RTC_CTRL_MATCH0); tmp 48 drivers/rtc/rtc-m41t93.c int tmp; tmp 63 drivers/rtc/rtc-m41t93.c tmp = spi_w8r8(spi, M41T93_REG_FLAGS); tmp 64 drivers/rtc/rtc-m41t93.c if (tmp < 0) tmp 65 drivers/rtc/rtc-m41t93.c return tmp; tmp 67 drivers/rtc/rtc-m41t93.c if (tmp & M41T93_FLAG_OF) { tmp 69 drivers/rtc/rtc-m41t93.c m41t93_set_reg(spi, M41T93_REG_FLAGS, tmp & ~M41T93_FLAG_OF); tmp 71 drivers/rtc/rtc-m41t93.c tmp = spi_w8r8(spi, M41T93_REG_FLAGS); tmp 72 drivers/rtc/rtc-m41t93.c if (tmp < 0) { tmp 73 drivers/rtc/rtc-m41t93.c return tmp; tmp 74 drivers/rtc/rtc-m41t93.c } else if (tmp & M41T93_FLAG_OF) { tmp 107 drivers/rtc/rtc-m41t93.c int tmp; tmp 116 drivers/rtc/rtc-m41t93.c tmp = spi_w8r8(spi, M41T93_REG_ALM_HOUR_HT); tmp 117 drivers/rtc/rtc-m41t93.c if (tmp < 0) tmp 118 drivers/rtc/rtc-m41t93.c return tmp; tmp 120 drivers/rtc/rtc-m41t93.c if (tmp & M41T93_FLAG_HT) { tmp 123 drivers/rtc/rtc-m41t93.c tmp & ~M41T93_FLAG_HT); tmp 126 drivers/rtc/rtc-m41t93.c tmp = spi_w8r8(spi, M41T93_REG_FLAGS); tmp 127 drivers/rtc/rtc-m41t93.c if (tmp < 0) tmp 128 drivers/rtc/rtc-m41t93.c return tmp; tmp 130 drivers/rtc/rtc-m41t93.c if (tmp & M41T93_FLAG_OF) { tmp 135 drivers/rtc/rtc-m41t93.c if (tmp & M41T93_FLAG_BL) tmp 139 drivers/rtc/rtc-m41t93.c tmp = spi_write_then_read(spi, &start_addr, 1, buf, sizeof(buf)); tmp 140 drivers/rtc/rtc-m41t93.c if (tmp < 0) tmp 141 drivers/rtc/rtc-m41t93.c return tmp; tmp 122 drivers/rtc/rtc-max6902.c unsigned char tmp; tmp 129 drivers/rtc/rtc-max6902.c res = max6902_get_reg(&spi->dev, MAX6902_REG_SECONDS, &tmp); tmp 99 drivers/rtc/rtc-mcp795.c u8 tmp; tmp 101 drivers/rtc/rtc-mcp795.c ret = mcp795_rtcc_read(dev, addr, &tmp, 1); tmp 105 drivers/rtc/rtc-mcp795.c if ((tmp & mask) != state) { tmp 106 drivers/rtc/rtc-mcp795.c tmp = (tmp & ~mask) | state; tmp 107 drivers/rtc/rtc-mcp795.c ret = mcp795_rtcc_write(dev, addr, &tmp, 1); tmp 265 drivers/rtc/rtc-mcp795.c u8 tmp[6]; tmp 286 drivers/rtc/rtc-mcp795.c ret = mcp795_rtcc_read(dev, MCP795_REG_ALM0_SECONDS, tmp, sizeof(tmp)); tmp 294 drivers/rtc/rtc-mcp795.c tmp[0] = (tmp[0] & 0x80) | bin2bcd(alm->time.tm_sec); tmp 295 drivers/rtc/rtc-mcp795.c tmp[1] = (tmp[1] & 0x80) | bin2bcd(alm->time.tm_min); tmp 296 drivers/rtc/rtc-mcp795.c tmp[2] = (tmp[2] & 0xE0) | bin2bcd(alm->time.tm_hour); tmp 297 drivers/rtc/rtc-mcp795.c tmp[3] = (tmp[3] & 0x80) | bin2bcd(alm->time.tm_wday + 1); tmp 299 drivers/rtc/rtc-mcp795.c tmp[3] |= (MCP795_ALM0C2_BIT | MCP795_ALM0C1_BIT | MCP795_ALM0C0_BIT); tmp 300 drivers/rtc/rtc-mcp795.c tmp[4] = (tmp[4] & 0xC0) | bin2bcd(alm->time.tm_mday); tmp 301 drivers/rtc/rtc-mcp795.c tmp[5] = (tmp[5] & 0xE0) | bin2bcd(alm->time.tm_mon + 1); tmp 303 drivers/rtc/rtc-mcp795.c ret = mcp795_rtcc_write(dev, MCP795_REG_ALM0_SECONDS, tmp, sizeof(tmp)); tmp 118 drivers/rtc/rtc-meson.c u32 tmp, val = 0; tmp 125 drivers/rtc/rtc-meson.c regmap_read(rtc->peripheral, RTC_ADDR1, &tmp); tmp 126 drivers/rtc/rtc-meson.c val |= tmp & RTC_ADDR1_SDO; tmp 213 drivers/rtc/rtc-meson.c u32 tmp; tmp 219 drivers/rtc/rtc-meson.c tmp = FIELD_PREP(RTC_ADDR0_DATA, (data & 0xff)) | RTC_ADDR0_START_SER; tmp 221 drivers/rtc/rtc-meson.c RTC_ADDR0_DATA | RTC_ADDR0_START_SER, tmp); tmp 224 drivers/rtc/rtc-meson.c return regmap_read_poll_timeout(rtc->peripheral, RTC_REG4, tmp, tmp 225 drivers/rtc/rtc-meson.c !(tmp & RTC_ADDR0_WAIT_SER), 10, tmp 153 drivers/rtc/rtc-mpc5121.c int tmp; tmp 165 drivers/rtc/rtc-mpc5121.c tmp = in_8(®s->wday_mday); tmp 166 drivers/rtc/rtc-mpc5121.c tm->tm_mday = tmp & 0x1f; tmp 169 drivers/rtc/rtc-mpc5121.c tm->tm_wday = (tmp >> 5) % 7; tmp 398 drivers/rtc/rtc-mrst.c unsigned char tmp; tmp 402 drivers/rtc/rtc-mrst.c mrst->suspend_ctrl = tmp = vrtc_cmos_read(RTC_CONTROL); tmp 403 drivers/rtc/rtc-mrst.c if (tmp & (RTC_PIE | RTC_AIE)) { tmp 410 drivers/rtc/rtc-mrst.c tmp &= ~mask; tmp 411 drivers/rtc/rtc-mrst.c vrtc_cmos_write(tmp, RTC_CONTROL); tmp 413 drivers/rtc/rtc-mrst.c mrst_checkintr(mrst, tmp); tmp 417 drivers/rtc/rtc-mrst.c if (tmp & RTC_AIE) { tmp 423 drivers/rtc/rtc-mrst.c (tmp & RTC_AIE) ? ", alarm may wake" : "", tmp 424 drivers/rtc/rtc-mrst.c tmp); tmp 440 drivers/rtc/rtc-mrst.c unsigned char tmp = mrst->suspend_ctrl; tmp 443 drivers/rtc/rtc-mrst.c if (tmp & RTC_IRQMASK) { tmp 453 drivers/rtc/rtc-mrst.c vrtc_cmos_write(tmp, RTC_CONTROL); tmp 456 drivers/rtc/rtc-mrst.c mask &= (tmp & RTC_IRQMASK) | RTC_IRQF; tmp 461 drivers/rtc/rtc-mrst.c tmp &= ~RTC_AIE; tmp 466 drivers/rtc/rtc-mrst.c dev_dbg(&mrst_rtc.rtc->dev, "resume, ctrl %02x\n", tmp); tmp 402 drivers/rtc/rtc-pcf85063.c unsigned int tmp; tmp 430 drivers/rtc/rtc-pcf85063.c err = regmap_read(pcf85063->regmap, PCF85063_REG_CTRL1, &tmp); tmp 152 drivers/rtc/rtc-pcf85363.c unsigned char tmp[11]; tmp 153 drivers/rtc/rtc-pcf85363.c unsigned char *buf = &tmp[2]; tmp 156 drivers/rtc/rtc-pcf85363.c tmp[0] = STOP_EN_STOP; tmp 157 drivers/rtc/rtc-pcf85363.c tmp[1] = RESET_CPR; tmp 169 drivers/rtc/rtc-pcf85363.c tmp, 2); tmp 174 drivers/rtc/rtc-pcf85363.c buf, sizeof(tmp) - 2); tmp 55 drivers/rtc/rtc-puv3.c unsigned int tmp; tmp 59 drivers/rtc/rtc-puv3.c tmp = readl(RTC_RTSR) & ~RTC_RTSR_ALE; tmp 62 drivers/rtc/rtc-puv3.c tmp |= RTC_RTSR_ALE; tmp 64 drivers/rtc/rtc-puv3.c writel(tmp, RTC_RTSR); tmp 69 drivers/rtc/rtc-puv3.c unsigned int tmp; tmp 74 drivers/rtc/rtc-puv3.c tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE; tmp 77 drivers/rtc/rtc-puv3.c tmp |= RTC_RTSR_HZE; tmp 79 drivers/rtc/rtc-puv3.c writel(tmp, RTC_RTSR); tmp 123 drivers/rtc/rtc-r9701.c unsigned char tmp; tmp 126 drivers/rtc/rtc-r9701.c tmp = R100CNT; tmp 127 drivers/rtc/rtc-r9701.c res = read_regs(&spi->dev, &tmp, 1); tmp 128 drivers/rtc/rtc-r9701.c if (res || tmp != 0x20) { tmp 325 drivers/rtc/rtc-rs5c372.c u8 tmp = rs5c372->regs[RS5C372_REG_TRIM]; tmp 328 drivers/rtc/rtc-rs5c372.c *osc = (tmp & RS5C372_TRIM_XSL) ? 32000 : 32768; tmp 331 drivers/rtc/rtc-rs5c372.c dev_dbg(&client->dev, "%s: raw trim=%x\n", __func__, tmp); tmp 332 drivers/rtc/rtc-rs5c372.c tmp &= RS5C372_TRIM_MASK; tmp 333 drivers/rtc/rtc-rs5c372.c if (tmp & 0x3e) { tmp 334 drivers/rtc/rtc-rs5c372.c int t = tmp & 0x3f; tmp 336 drivers/rtc/rtc-rs5c372.c if (tmp & 0x40) tmp 341 drivers/rtc/rtc-rs5c372.c tmp = t * 2; tmp 343 drivers/rtc/rtc-rs5c372.c tmp = 0; tmp 344 drivers/rtc/rtc-rs5c372.c *trim = tmp; tmp 283 drivers/rtc/rtc-rv3029c2.c u8 tmp; tmp 290 drivers/rtc/rtc-rv3029c2.c ret = rv3029_read_regs(dev, reg, &tmp, 1); tmp 293 drivers/rtc/rtc-rv3029c2.c if (tmp != buf[i]) { tmp 257 drivers/rtc/rtc-rx4581.c unsigned char tmp; tmp 260 drivers/rtc/rtc-rx4581.c res = rx4581_get_reg(&spi->dev, RX4581_REG_SC, &tmp); tmp 394 drivers/rtc/rtc-rx8010.c int ret, tmp; tmp 403 drivers/rtc/rtc-rx8010.c tmp = !!(flagreg & RX8010_FLAG_VLF); tmp 404 drivers/rtc/rtc-rx8010.c if (copy_to_user((void __user *)arg, &tmp, sizeof(int))) tmp 120 drivers/rtc/rtc-s3c.c unsigned int tmp; tmp 129 drivers/rtc/rtc-s3c.c tmp = readb(info->base + S3C2410_RTCALM) & ~S3C2410_RTCALM_ALMEN; tmp 132 drivers/rtc/rtc-s3c.c tmp |= S3C2410_RTCALM_ALMEN; tmp 134 drivers/rtc/rtc-s3c.c writeb(tmp, info->base + S3C2410_RTCALM); tmp 379 drivers/rtc/rtc-s3c.c unsigned int con, tmp; tmp 386 drivers/rtc/rtc-s3c.c tmp = readw(info->base + S3C2410_RTCCON); tmp 387 drivers/rtc/rtc-s3c.c writew(tmp | S3C2410_RTCCON_RTCEN, info->base + S3C2410_RTCCON); tmp 393 drivers/rtc/rtc-s3c.c tmp = readw(info->base + S3C2410_RTCCON); tmp 394 drivers/rtc/rtc-s3c.c writew(tmp & ~S3C2410_RTCCON_CNTSEL, tmp 401 drivers/rtc/rtc-s3c.c tmp = readw(info->base + S3C2410_RTCCON); tmp 402 drivers/rtc/rtc-s3c.c writew(tmp & ~S3C2410_RTCCON_CLKRST, tmp 643 drivers/rtc/rtc-s3c.c unsigned int tmp = 0; tmp 646 drivers/rtc/rtc-s3c.c tmp = readb(info->base + S3C2410_TICNT); tmp 647 drivers/rtc/rtc-s3c.c tmp &= S3C2410_TICNT_ENABLE; tmp 650 drivers/rtc/rtc-s3c.c tmp |= val; tmp 652 drivers/rtc/rtc-s3c.c writel(tmp, info->base + S3C2410_TICNT); tmp 657 drivers/rtc/rtc-s3c.c unsigned int tmp = 0; tmp 660 drivers/rtc/rtc-s3c.c tmp = readb(info->base + S3C2410_TICNT); tmp 661 drivers/rtc/rtc-s3c.c tmp &= S3C2410_TICNT_ENABLE; tmp 665 drivers/rtc/rtc-s3c.c tmp |= S3C2443_TICNT_PART(val); tmp 670 drivers/rtc/rtc-s3c.c writel(tmp, info->base + S3C2410_TICNT); tmp 675 drivers/rtc/rtc-s3c.c unsigned int tmp = 0; tmp 678 drivers/rtc/rtc-s3c.c tmp = readb(info->base + S3C2410_TICNT); tmp 679 drivers/rtc/rtc-s3c.c tmp &= S3C2410_TICNT_ENABLE; tmp 683 drivers/rtc/rtc-s3c.c tmp |= S3C2443_TICNT_PART(val); tmp 686 drivers/rtc/rtc-s3c.c writel(tmp, info->base + S3C2410_TICNT); tmp 112 drivers/rtc/rtc-sh.c unsigned int tmp, pending; tmp 114 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR1); tmp 115 drivers/rtc/rtc-sh.c pending = tmp & RCR1_CF; tmp 116 drivers/rtc/rtc-sh.c tmp &= ~RCR1_CF; tmp 117 drivers/rtc/rtc-sh.c writeb(tmp, rtc->regbase + RCR1); tmp 128 drivers/rtc/rtc-sh.c unsigned int tmp, pending; tmp 130 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR1); tmp 131 drivers/rtc/rtc-sh.c pending = tmp & RCR1_AF; tmp 132 drivers/rtc/rtc-sh.c tmp &= ~(RCR1_AF | RCR1_AIE); tmp 133 drivers/rtc/rtc-sh.c writeb(tmp, rtc->regbase + RCR1); tmp 143 drivers/rtc/rtc-sh.c unsigned int tmp, pending; tmp 145 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR2); tmp 146 drivers/rtc/rtc-sh.c pending = tmp & RCR2_PEF; tmp 147 drivers/rtc/rtc-sh.c tmp &= ~RCR2_PEF; tmp 148 drivers/rtc/rtc-sh.c writeb(tmp, rtc->regbase + RCR2); tmp 218 drivers/rtc/rtc-sh.c unsigned int tmp; tmp 222 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR1); tmp 225 drivers/rtc/rtc-sh.c tmp |= RCR1_AIE; tmp 227 drivers/rtc/rtc-sh.c tmp &= ~RCR1_AIE; tmp 229 drivers/rtc/rtc-sh.c writeb(tmp, rtc->regbase + RCR1); tmp 237 drivers/rtc/rtc-sh.c unsigned int tmp; tmp 239 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR1); tmp 240 drivers/rtc/rtc-sh.c seq_printf(seq, "carry_IRQ\t: %s\n", (tmp & RCR1_CIE) ? "yes" : "no"); tmp 242 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR2); tmp 244 drivers/rtc/rtc-sh.c (tmp & RCR2_PESMASK) ? "yes" : "no"); tmp 252 drivers/rtc/rtc-sh.c unsigned int tmp; tmp 256 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR1); tmp 259 drivers/rtc/rtc-sh.c tmp &= ~RCR1_CIE; tmp 261 drivers/rtc/rtc-sh.c tmp |= RCR1_CIE; tmp 263 drivers/rtc/rtc-sh.c writeb(tmp, rtc->regbase + RCR1); tmp 283 drivers/rtc/rtc-sh.c unsigned int tmp; tmp 287 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR1); tmp 288 drivers/rtc/rtc-sh.c tmp &= ~RCR1_CF; /* Clear CF-bit */ tmp 289 drivers/rtc/rtc-sh.c tmp |= RCR1_CIE; tmp 290 drivers/rtc/rtc-sh.c writeb(tmp, rtc->regbase + RCR1); tmp 339 drivers/rtc/rtc-sh.c unsigned int tmp; tmp 345 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR2); tmp 346 drivers/rtc/rtc-sh.c tmp |= RCR2_RESET; tmp 347 drivers/rtc/rtc-sh.c tmp &= ~RCR2_START; tmp 348 drivers/rtc/rtc-sh.c writeb(tmp, rtc->regbase + RCR2); tmp 367 drivers/rtc/rtc-sh.c tmp = readb(rtc->regbase + RCR2); tmp 368 drivers/rtc/rtc-sh.c tmp &= ~RCR2_RESET; tmp 369 drivers/rtc/rtc-sh.c tmp |= RCR2_RTCEN | RCR2_START; tmp 370 drivers/rtc/rtc-sh.c writeb(tmp, rtc->regbase + RCR2); tmp 393 drivers/rtc/rtc-sirfsoc.c u32 tmp; tmp 425 drivers/rtc/rtc-sirfsoc.c tmp = sirfsoc_rtc_readl(rtcdrv, RTC_CN); tmp 426 drivers/rtc/rtc-sirfsoc.c if (tmp <= rtcdrv->saved_counter) tmp 281 drivers/rtc/rtc-tps65910.c s64 tmp; tmp 289 drivers/rtc/rtc-tps65910.c tmp = calibration * (s64)PPB_MULT; tmp 290 drivers/rtc/rtc-tps65910.c if (tmp < 0) tmp 291 drivers/rtc/rtc-tps65910.c tmp -= TICKS_PER_HOUR / 2LL; tmp 293 drivers/rtc/rtc-tps65910.c tmp += TICKS_PER_HOUR / 2LL; tmp 294 drivers/rtc/rtc-tps65910.c tmp = div_s64(tmp, TICKS_PER_HOUR); tmp 297 drivers/rtc/rtc-tps65910.c *offset = (long)-tmp; tmp 305 drivers/rtc/rtc-tps65910.c s64 tmp; tmp 313 drivers/rtc/rtc-tps65910.c tmp = offset * (s64)TICKS_PER_HOUR; tmp 314 drivers/rtc/rtc-tps65910.c if (tmp < 0) tmp 315 drivers/rtc/rtc-tps65910.c tmp -= PPB_MULT / 2LL; tmp 317 drivers/rtc/rtc-tps65910.c tmp += PPB_MULT / 2LL; tmp 318 drivers/rtc/rtc-tps65910.c tmp = div_s64(tmp, PPB_MULT); tmp 321 drivers/rtc/rtc-tps65910.c calibration = (int)-tmp; tmp 168 drivers/rtc/rtc-v3020.c unsigned char tmp; tmp 170 drivers/rtc/rtc-v3020.c tmp = address; tmp 172 drivers/rtc/rtc-v3020.c chip->ops->write_bit(chip, (tmp & 1)); tmp 173 drivers/rtc/rtc-v3020.c tmp >>= 1; tmp 211 drivers/rtc/rtc-v3020.c int tmp; tmp 217 drivers/rtc/rtc-v3020.c tmp = v3020_get_reg(chip, V3020_SECONDS); tmp 218 drivers/rtc/rtc-v3020.c dt->tm_sec = bcd2bin(tmp); tmp 219 drivers/rtc/rtc-v3020.c tmp = v3020_get_reg(chip, V3020_MINUTES); tmp 220 drivers/rtc/rtc-v3020.c dt->tm_min = bcd2bin(tmp); tmp 221 drivers/rtc/rtc-v3020.c tmp = v3020_get_reg(chip, V3020_HOURS); tmp 222 drivers/rtc/rtc-v3020.c dt->tm_hour = bcd2bin(tmp); tmp 223 drivers/rtc/rtc-v3020.c tmp = v3020_get_reg(chip, V3020_MONTH_DAY); tmp 224 drivers/rtc/rtc-v3020.c dt->tm_mday = bcd2bin(tmp); tmp 225 drivers/rtc/rtc-v3020.c tmp = v3020_get_reg(chip, V3020_MONTH); tmp 226 drivers/rtc/rtc-v3020.c dt->tm_mon = bcd2bin(tmp) - 1; tmp 227 drivers/rtc/rtc-v3020.c tmp = v3020_get_reg(chip, V3020_WEEK_DAY); tmp 228 drivers/rtc/rtc-v3020.c dt->tm_wday = bcd2bin(tmp); tmp 229 drivers/rtc/rtc-v3020.c tmp = v3020_get_reg(chip, V3020_YEAR); tmp 230 drivers/rtc/rtc-v3020.c dt->tm_year = bcd2bin(tmp)+100; tmp 181 drivers/rtc/rtc-vt8500.c unsigned long tmp = readl(vt8500_rtc->regbase + VT8500_RTC_AS); tmp 184 drivers/rtc/rtc-vt8500.c tmp |= ALARM_ENABLE_MASK; tmp 186 drivers/rtc/rtc-vt8500.c tmp &= ~ALARM_ENABLE_MASK; tmp 188 drivers/rtc/rtc-vt8500.c writel(tmp, vt8500_rtc->regbase + VT8500_RTC_AS); tmp 112 drivers/s390/block/dasd_devmap.c char *tmp; tmp 115 drivers/s390/block/dasd_devmap.c tmp = strsep(&opt, ","); tmp 116 drivers/s390/block/dasd_devmap.c if (!tmp) tmp 119 drivers/s390/block/dasd_devmap.c dasd[i++] = tmp; tmp 320 drivers/s390/block/dasd_devmap.c char *tmp; tmp 322 drivers/s390/block/dasd_devmap.c tmp = kstrdup(range, GFP_KERNEL); tmp 323 drivers/s390/block/dasd_devmap.c if (!tmp) tmp 326 drivers/s390/block/dasd_devmap.c if (dasd_evaluate_range_param(tmp, &from_str, &to_str, &features_str)) { tmp 368 drivers/s390/block/dasd_devmap.c kfree(tmp); tmp 412 drivers/s390/block/dasd_devmap.c struct dasd_devmap *devmap, *new, *tmp; tmp 421 drivers/s390/block/dasd_devmap.c list_for_each_entry(tmp, &dasd_hashlists[hash], list) tmp 422 drivers/s390/block/dasd_devmap.c if (strncmp(tmp->bus_id, bus_id, DASD_BUS_ID_SIZE) == 0) { tmp 423 drivers/s390/block/dasd_devmap.c devmap = tmp; tmp 447 drivers/s390/block/dasd_devmap.c struct dasd_devmap *devmap, *tmp; tmp 453 drivers/s390/block/dasd_devmap.c list_for_each_entry(tmp, &dasd_hashlists[hash], list) { tmp 454 drivers/s390/block/dasd_devmap.c if (strncmp(tmp->bus_id, bus_id, DASD_BUS_ID_SIZE) == 0) { tmp 455 drivers/s390/block/dasd_devmap.c devmap = tmp; tmp 499 drivers/s390/block/dasd_devmap.c struct dasd_devmap *devmap, *tmp; tmp 506 drivers/s390/block/dasd_devmap.c list_for_each_entry(tmp, &dasd_hashlists[i], list) tmp 507 drivers/s390/block/dasd_devmap.c if (tmp->devindex == devindex) { tmp 509 drivers/s390/block/dasd_devmap.c devmap = tmp; tmp 3600 drivers/s390/block/dasd_eckd.c int tmp; tmp 3607 drivers/s390/block/dasd_eckd.c tmp = from + trks_per_ext - (from % trks_per_ext) - 1; tmp 3608 drivers/s390/block/dasd_eckd.c if (tmp > to) tmp 3609 drivers/s390/block/dasd_eckd.c tmp = to; tmp 3610 drivers/s390/block/dasd_eckd.c cur_pos = tmp - from + 1; tmp 3615 drivers/s390/block/dasd_eckd.c tmp = to - ((to - trks_per_ext + 1) % trks_per_ext); tmp 3616 drivers/s390/block/dasd_eckd.c count += (tmp - (from + cur_pos) + 1) / trks_per_ext; tmp 3617 drivers/s390/block/dasd_eckd.c cur_pos = tmp; tmp 662 drivers/s390/block/dasd_int.h struct dasd_mchunk *chunk, *tmp; tmp 670 drivers/s390/block/dasd_int.h tmp = (struct dasd_mchunk *) (endaddr - size) - 1; tmp 671 drivers/s390/block/dasd_int.h tmp->size = size; tmp 673 drivers/s390/block/dasd_int.h chunk = tmp; tmp 684 drivers/s390/block/dasd_int.h struct dasd_mchunk *chunk, *tmp; tmp 698 drivers/s390/block/dasd_int.h tmp = list_entry(left->next, struct dasd_mchunk, list); tmp 699 drivers/s390/block/dasd_int.h if ((char *) (chunk + 1) + chunk->size == (char *) tmp) { tmp 700 drivers/s390/block/dasd_int.h list_del(&tmp->list); tmp 701 drivers/s390/block/dasd_int.h chunk->size += tmp->size + sizeof(struct dasd_mchunk); tmp 706 drivers/s390/block/dasd_int.h tmp = list_entry(left, struct dasd_mchunk, list); tmp 707 drivers/s390/block/dasd_int.h if ((char *) (tmp + 1) + tmp->size == (char *) chunk) { tmp 708 drivers/s390/block/dasd_int.h tmp->size += chunk->size + sizeof(struct dasd_mchunk); tmp 362 drivers/s390/char/keyboard.c struct kbentry tmp; tmp 366 drivers/s390/char/keyboard.c if (copy_from_user(&tmp, user_kbe, sizeof(struct kbentry))) tmp 368 drivers/s390/char/keyboard.c kb_index = (unsigned long) tmp.kb_index; tmp 373 drivers/s390/char/keyboard.c kb_table = (unsigned long) tmp.kb_table; tmp 393 drivers/s390/char/keyboard.c if (!kb_index && tmp.kb_value == K_NOSUCHMAP) { tmp 403 drivers/s390/char/keyboard.c if (KTYP(tmp.kb_value) >= KBD_NR_TYPES) tmp 405 drivers/s390/char/keyboard.c if (KVAL(tmp.kb_value) > kbd_max_vals[KTYP(tmp.kb_value)]) tmp 420 drivers/s390/char/keyboard.c if (tmp.kb_value == ov) tmp 425 drivers/s390/char/keyboard.c if (((ov == K_SAK) || (tmp.kb_value == K_SAK)) && tmp 428 drivers/s390/char/keyboard.c key_map[kb_index] = U(tmp.kb_value); tmp 696 drivers/s390/char/raw3270.c struct raw3270 *tmp; tmp 731 drivers/s390/char/raw3270.c tmp = list_entry(l, struct raw3270, list); tmp 732 drivers/s390/char/raw3270.c if (tmp->minor > minor) { tmp 962 drivers/s390/char/raw3270.c struct raw3270_view *view, *tmp; tmp 971 drivers/s390/char/raw3270.c list_for_each_entry(tmp, &rp->view_list, list) { tmp 972 drivers/s390/char/raw3270.c if (tmp->fn == fn) { tmp 973 drivers/s390/char/raw3270.c raw3270_get_view(tmp); tmp 974 drivers/s390/char/raw3270.c view = tmp; tmp 220 drivers/s390/char/raw3270.h struct string *cs, *tmp; tmp 229 drivers/s390/char/raw3270.h tmp = (struct string *) (endaddr - size) - 1; tmp 230 drivers/s390/char/raw3270.h tmp->size = size; tmp 232 drivers/s390/char/raw3270.h cs = tmp; tmp 246 drivers/s390/char/raw3270.h struct string *tmp; tmp 258 drivers/s390/char/raw3270.h tmp = list_entry(left->next, struct string, list); tmp 259 drivers/s390/char/raw3270.h if ((char *) (cs + 1) + cs->size == (char *) tmp) { tmp 260 drivers/s390/char/raw3270.h list_del(&tmp->list); tmp 261 drivers/s390/char/raw3270.h cs->size += tmp->size + sizeof(struct string); tmp 266 drivers/s390/char/raw3270.h tmp = list_entry(left, struct string, list); tmp 267 drivers/s390/char/raw3270.h if ((char *) (tmp + 1) + tmp->size == (char *) cs) { tmp 268 drivers/s390/char/raw3270.h tmp->size += cs->size + sizeof(struct string); tmp 269 drivers/s390/char/raw3270.h return tmp->size; tmp 334 drivers/s390/char/tape_core.c struct tape_device *tmp; tmp 339 drivers/s390/char/tape_core.c list_for_each_entry(tmp, &tape_device_list, node) { tmp 340 drivers/s390/char/tape_core.c if (minor < tmp->first_minor) tmp 349 drivers/s390/char/tape_core.c list_add_tail(&device->node, &tmp->node); tmp 596 drivers/s390/char/tape_core.c struct tape_device *device, *tmp; tmp 600 drivers/s390/char/tape_core.c list_for_each_entry(tmp, &tape_device_list, node) { tmp 601 drivers/s390/char/tape_core.c if (tmp->first_minor / TAPE_MINORS_PER_DEV == devindex) { tmp 602 drivers/s390/char/tape_core.c device = tape_get_device(tmp); tmp 50 drivers/s390/cio/qdio_debug.c struct qdio_dbf_entry *entry, *tmp; tmp 53 drivers/s390/cio/qdio_debug.c list_for_each_entry_safe(entry, tmp, &qdio_dbf_list, dbf_list) { tmp 698 drivers/s390/crypto/ap_queue.c struct ap_message *tmp; tmp 702 drivers/s390/crypto/ap_queue.c list_for_each_entry(tmp, &aq->pendingq, list) tmp 703 drivers/s390/crypto/ap_queue.c if (tmp->psmid == ap_msg->psmid) { tmp 1084 drivers/s390/net/lcs.c struct lcs_ipm_list *ipm, *tmp; tmp 1092 drivers/s390/net/lcs.c list_for_each_entry_safe(ipm, tmp, &card->ipm_list, list){ tmp 1126 drivers/s390/net/lcs.c list_for_each_entry_safe(ipm, tmp, &failed_list, list) tmp 1176 drivers/s390/net/lcs.c struct lcs_ipm_list *tmp, *ipm = NULL; tmp 1183 drivers/s390/net/lcs.c tmp = list_entry(l, struct lcs_ipm_list, list); tmp 1184 drivers/s390/net/lcs.c if ( (tmp->ipm.ip_addr == im4->multiaddr) && tmp 1185 drivers/s390/net/lcs.c (memcmp(buf, &tmp->ipm.mac_addr, tmp 1187 drivers/s390/net/lcs.c ipm = tmp; tmp 2002 drivers/s390/net/lcs.c char *tmp; tmp 2009 drivers/s390/net/lcs.c i = simple_strtoul(buf, &tmp, 16); tmp 272 drivers/s390/net/netiucv.c static char tmp[17]; tmp 273 drivers/s390/net/netiucv.c char *p = tmp; tmp 274 drivers/s390/net/netiucv.c memcpy(tmp, name, len); tmp 275 drivers/s390/net/netiucv.c tmp[len] = '\0'; tmp 276 drivers/s390/net/netiucv.c while (*p && ((p - tmp) < len) && (!isspace(*p))) tmp 279 drivers/s390/net/netiucv.c return tmp; tmp 205 drivers/s390/net/qeth_core_main.c struct qeth_buffer_pool_entry *pool_entry, *tmp; tmp 208 drivers/s390/net/qeth_core_main.c list_for_each_entry_safe(pool_entry, tmp, tmp 735 drivers/s390/net/qeth_core_main.c struct qeth_cmd_buffer *tmp; tmp 770 drivers/s390/net/qeth_core_main.c list_for_each_entry(tmp, &card->cmd_waiter_list, list) { tmp 771 drivers/s390/net/qeth_core_main.c if (!IS_IPA(tmp->data) || tmp 772 drivers/s390/net/qeth_core_main.c __ipa_cmd(tmp)->hdr.seqno == cmd->hdr.seqno) { tmp 773 drivers/s390/net/qeth_core_main.c request = tmp; tmp 1190 drivers/s390/net/qeth_core_main.c struct qeth_buffer_pool_entry *pool_entry, *tmp; tmp 1192 drivers/s390/net/qeth_core_main.c list_for_each_entry_safe(pool_entry, tmp, tmp 3897 drivers/s390/net/qeth_core_main.c int tmp; tmp 3978 drivers/s390/net/qeth_core_main.c tmp = qeth_switch_to_nonpacking_if_needed(queue); tmp 3983 drivers/s390/net/qeth_core_main.c if (!tmp && !atomic_read(&queue->set_pci_flags_count)) tmp 3984 drivers/s390/net/qeth_core_main.c tmp = qeth_prep_flush_pack_buffer(queue); tmp 3985 drivers/s390/net/qeth_core_main.c if (tmp) { tmp 3986 drivers/s390/net/qeth_core_main.c qeth_flush_buffers(queue, start_index, tmp); tmp 3987 drivers/s390/net/qeth_core_main.c flush_count += tmp; tmp 4510 drivers/s390/net/qeth_core_main.c void __user *tmp; tmp 4547 drivers/s390/net/qeth_core_main.c tmp = compat_ptr(oat_data.ptr); tmp 4549 drivers/s390/net/qeth_core_main.c tmp = (void __user *)(unsigned long)oat_data.ptr; tmp 4551 drivers/s390/net/qeth_core_main.c if (copy_to_user(tmp, priv.buffer, tmp 5566 drivers/s390/net/qeth_core_main.c struct qeth_dbf_entry *entry, *tmp; tmp 5569 drivers/s390/net/qeth_core_main.c list_for_each_entry_safe(entry, tmp, &qeth_dbf_list, dbf_list) { tmp 119 drivers/s390/net/qeth_core_sys.c char *tmp; tmp 132 drivers/s390/net/qeth_core_sys.c portno = simple_strtoul(buf, &tmp, 16); tmp 275 drivers/s390/net/qeth_core_sys.c char *tmp; tmp 289 drivers/s390/net/qeth_core_sys.c cnt = simple_strtoul(buf, &tmp, 10); tmp 307 drivers/s390/net/qeth_core_sys.c char *tmp; tmp 316 drivers/s390/net/qeth_core_sys.c i = simple_strtoul(buf, &tmp, 16); tmp 384 drivers/s390/net/qeth_core_sys.c char *tmp; tmp 397 drivers/s390/net/qeth_core_sys.c i = simple_strtoul(buf, &tmp, 16); tmp 622 drivers/s390/net/qeth_core_sys.c char *tmp; tmp 633 drivers/s390/net/qeth_core_sys.c i = simple_strtoul(buf, &tmp, 10); tmp 156 drivers/s390/net/qeth_l2_main.c struct hlist_node *tmp; tmp 159 drivers/s390/net/qeth_l2_main.c hash_for_each_safe(card->mac_htable, i, tmp, mac, hnode) { tmp 514 drivers/s390/net/qeth_l2_main.c struct hlist_node *tmp; tmp 527 drivers/s390/net/qeth_l2_main.c hash_for_each_safe(card->mac_htable, i, tmp, mac, hnode) { tmp 285 drivers/s390/net/qeth_l3_main.c struct hlist_node *tmp; tmp 288 drivers/s390/net/qeth_l3_main.c hash_for_each_safe(card->ip_mc_htable, i, tmp, addr, hnode) { tmp 297 drivers/s390/net/qeth_l3_main.c struct hlist_node *tmp; tmp 304 drivers/s390/net/qeth_l3_main.c hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { tmp 319 drivers/s390/net/qeth_l3_main.c struct hlist_node *tmp; tmp 327 drivers/s390/net/qeth_l3_main.c hash_for_each_safe(card->ip_htable, i, tmp, addr, hnode) { tmp 575 drivers/s390/net/qeth_l3_main.c struct qeth_ipato_entry *ipatoe, *tmp; tmp 579 drivers/s390/net/qeth_l3_main.c list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) { tmp 623 drivers/s390/net/qeth_l3_main.c struct qeth_ipato_entry *ipatoe, *tmp; tmp 630 drivers/s390/net/qeth_l3_main.c list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) { tmp 1122 drivers/s390/net/qeth_l3_main.c struct qeth_ipaddr *tmp, *ipm; tmp 1126 drivers/s390/net/qeth_l3_main.c tmp = qeth_l3_get_addr_buffer(QETH_PROT_IPV4); tmp 1127 drivers/s390/net/qeth_l3_main.c if (!tmp) tmp 1132 drivers/s390/net/qeth_l3_main.c ip_eth_mc_map(im4->multiaddr, tmp->mac); tmp 1133 drivers/s390/net/qeth_l3_main.c tmp->u.a4.addr = be32_to_cpu(im4->multiaddr); tmp 1134 drivers/s390/net/qeth_l3_main.c tmp->is_multicast = 1; tmp 1136 drivers/s390/net/qeth_l3_main.c ipm = qeth_l3_find_addr_by_ip(card, tmp); tmp 1144 drivers/s390/net/qeth_l3_main.c ether_addr_copy(ipm->mac, tmp->mac); tmp 1153 drivers/s390/net/qeth_l3_main.c kfree(tmp); tmp 1203 drivers/s390/net/qeth_l3_main.c struct qeth_ipaddr *tmp; tmp 1207 drivers/s390/net/qeth_l3_main.c tmp = qeth_l3_get_addr_buffer(QETH_PROT_IPV6); tmp 1208 drivers/s390/net/qeth_l3_main.c if (!tmp) tmp 1212 drivers/s390/net/qeth_l3_main.c ipv6_eth_mc_map(&im6->mca_addr, tmp->mac); tmp 1213 drivers/s390/net/qeth_l3_main.c memcpy(&tmp->u.a6.addr, &im6->mca_addr.s6_addr, tmp 1215 drivers/s390/net/qeth_l3_main.c tmp->is_multicast = 1; tmp 1217 drivers/s390/net/qeth_l3_main.c ipm = qeth_l3_find_addr_by_ip(card, tmp); tmp 1228 drivers/s390/net/qeth_l3_main.c ether_addr_copy(ipm->mac, tmp->mac); tmp 1237 drivers/s390/net/qeth_l3_main.c kfree(tmp); tmp 1466 drivers/s390/net/qeth_l3_main.c struct hlist_node *tmp; tmp 1475 drivers/s390/net/qeth_l3_main.c hash_for_each_safe(card->ip_mc_htable, i, tmp, addr, hnode) { tmp 163 drivers/s390/net/qeth_l3_sys.c char *tmp; tmp 175 drivers/s390/net/qeth_l3_sys.c i = simple_strtoul(buf, &tmp, 16); tmp 274 drivers/s390/net/qeth_l3_sys.c char *tmp; tmp 298 drivers/s390/net/qeth_l3_sys.c tmp = strsep((char **)&buf, "\n"); tmp 299 drivers/s390/net/qeth_l3_sys.c if (strlen(tmp) > 8) { tmp 308 drivers/s390/net/qeth_l3_sys.c if (strlen(tmp) == 0) { tmp 322 drivers/s390/net/qeth_l3_sys.c "%-8s", tmp); tmp 489 drivers/s390/net/qeth_l3_sys.c char *tmp; tmp 503 drivers/s390/net/qeth_l3_sys.c *mask_bits = simple_strtoul(start, &tmp, 10); tmp 505 drivers/s390/net/qeth_l3_sys.c (tmp == start) || tmp 112 drivers/s390/net/smsgiucv.c struct smsg_callback *cb, *tmp; tmp 116 drivers/s390/net/smsgiucv.c list_for_each_entry(tmp, &smsg_list, list) tmp 117 drivers/s390/net/smsgiucv.c if (tmp->callback == callback && tmp 118 drivers/s390/net/smsgiucv.c strcmp(tmp->prefix, prefix) == 0) { tmp 119 drivers/s390/net/smsgiucv.c cb = tmp; tmp 101 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_event *event = NULL, *tmp = NULL; tmp 112 drivers/s390/scsi/zfcp_fc.c list_for_each_entry_safe(event, tmp, &tmp_lh, list) { tmp 718 drivers/s390/scsi/zfcp_fc.c struct zfcp_port *port, *tmp; tmp 768 drivers/s390/scsi/zfcp_fc.c list_for_each_entry_safe(port, tmp, &adapter->port_list, list) tmp 772 drivers/s390/scsi/zfcp_fc.c list_for_each_entry_safe(port, tmp, &remove_lh, list) { tmp 437 drivers/s390/scsi/zfcp_fsf.c struct zfcp_fsf_req *req, *tmp; tmp 443 drivers/s390/scsi/zfcp_fsf.c list_for_each_entry_safe(req, tmp, &remove_queue, list) { tmp 433 drivers/sbus/char/envctrl.c unsigned char tmp, ret = 0; tmp 436 drivers/sbus/char/envctrl.c tmp = data & pchild->fan_mask; tmp 438 drivers/sbus/char/envctrl.c if (tmp == pchild->fan_mask) { tmp 441 drivers/sbus/char/envctrl.c } else if (tmp == 0) { tmp 453 drivers/sbus/char/envctrl.c if (!(chnls_mask[i] & tmp)) tmp 497 drivers/sbus/char/envctrl.c unsigned char tmp, ret = 0; tmp 500 drivers/sbus/char/envctrl.c tmp = data & pchild->voltage_mask; tmp 503 drivers/sbus/char/envctrl.c if (tmp == pchild->voltage_mask) { tmp 506 drivers/sbus/char/envctrl.c } else if (tmp == 0) { tmp 516 drivers/sbus/char/envctrl.c if (!(chnls_mask[i] & tmp)) tmp 467 drivers/sbus/char/openprom.c char *str, *tmp; tmp 481 drivers/sbus/char/openprom.c tmp = copyin_string(op.op_buf, op.op_buflen); tmp 482 drivers/sbus/char/openprom.c if (IS_ERR(tmp)) { tmp 484 drivers/sbus/char/openprom.c return PTR_ERR(tmp); tmp 487 drivers/sbus/char/openprom.c err = of_set_property(dp, str, tmp, op.op_buflen); tmp 490 drivers/sbus/char/openprom.c kfree(tmp); tmp 954 drivers/scsi/NCR5380.c unsigned char tmp[3], phase; tmp 1181 drivers/scsi/NCR5380.c tmp[0] = IDENTIFY(can_disconnect, cmd->device->lun); tmp 1184 drivers/scsi/NCR5380.c data = tmp; tmp 1246 drivers/scsi/NCR5380.c unsigned char p = *phase, tmp; tmp 1338 drivers/scsi/NCR5380.c tmp = NCR5380_read(STATUS_REG); tmp 1343 drivers/scsi/NCR5380.c if ((tmp & SR_REQ) || ((tmp & SR_IO) && c == 0)) tmp 1344 drivers/scsi/NCR5380.c *phase = tmp & PHASE_MASK; tmp 1392 drivers/scsi/NCR5380.c unsigned char *msgptr, phase, tmp; tmp 1413 drivers/scsi/NCR5380.c tmp = NCR5380_read(STATUS_REG) & PHASE_MASK; tmp 1415 drivers/scsi/NCR5380.c NCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(tmp)); tmp 1417 drivers/scsi/NCR5380.c if (tmp != PHASE_MSGOUT) { tmp 1426 drivers/scsi/NCR5380.c tmp = ABORT; tmp 1427 drivers/scsi/NCR5380.c msgptr = &tmp; tmp 1471 drivers/scsi/NCR5380.c unsigned char tmp; tmp 1474 drivers/scsi/NCR5380.c if ((tmp = (NCR5380_read(STATUS_REG) & PHASE_MASK)) != p) { tmp 1475 drivers/scsi/NCR5380.c *phase = tmp; tmp 1663 drivers/scsi/NCR5380.c unsigned char phase, tmp, extended_msg[10], old_phase = 0xff; tmp 1673 drivers/scsi/NCR5380.c tmp = NCR5380_read(STATUS_REG); tmp 1675 drivers/scsi/NCR5380.c if (tmp & SR_REQ) { tmp 1676 drivers/scsi/NCR5380.c phase = (tmp & PHASE_MASK); tmp 1706 drivers/scsi/NCR5380.c NCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(tmp)); tmp 1789 drivers/scsi/NCR5380.c data = &tmp; tmp 1791 drivers/scsi/NCR5380.c cmd->SCp.Message = tmp; tmp 1793 drivers/scsi/NCR5380.c switch (tmp) { tmp 1915 drivers/scsi/NCR5380.c tmp = 0; tmp 1919 drivers/scsi/NCR5380.c tmp = 0; tmp 1923 drivers/scsi/NCR5380.c tmp = 0; tmp 1937 drivers/scsi/NCR5380.c if (tmp == EXTENDED_MESSAGE) tmp 1941 drivers/scsi/NCR5380.c else if (tmp) tmp 1944 drivers/scsi/NCR5380.c tmp); tmp 1978 drivers/scsi/NCR5380.c data = &tmp; tmp 1980 drivers/scsi/NCR5380.c cmd->SCp.Status = tmp; tmp 2011 drivers/scsi/NCR5380.c struct scsi_cmnd *tmp; tmp 2100 drivers/scsi/NCR5380.c tmp = NULL; tmp 2107 drivers/scsi/NCR5380.c tmp = cmd; tmp 2112 drivers/scsi/NCR5380.c if (tmp) { tmp 2114 drivers/scsi/NCR5380.c "reselect: removed %p from disconnected queue\n", tmp); tmp 2130 drivers/scsi/NCR5380.c if (sun3_dma_setup_done != tmp) { tmp 2133 drivers/scsi/NCR5380.c advance_sg_buffer(tmp); tmp 2135 drivers/scsi/NCR5380.c count = sun3scsi_dma_xfer_len(hostdata, tmp); tmp 2138 drivers/scsi/NCR5380.c if (rq_data_dir(tmp->request)) tmp 2140 drivers/scsi/NCR5380.c tmp->SCp.ptr, count); tmp 2143 drivers/scsi/NCR5380.c tmp->SCp.ptr, count); tmp 2144 drivers/scsi/NCR5380.c sun3_dma_setup_done = tmp; tmp 2154 drivers/scsi/NCR5380.c hostdata->connected = tmp; tmp 2156 drivers/scsi/NCR5380.c scmd_id(tmp), tmp->device->lun); tmp 2032 drivers/scsi/aacraid/aachba.c u32 tmp, bus, target; tmp 2132 drivers/scsi/aacraid/aachba.c tmp = le32_to_cpu(dev->adapter_info.kernelrev); tmp 2136 drivers/scsi/aacraid/aachba.c tmp>>24, tmp 2137 drivers/scsi/aacraid/aachba.c (tmp>>16)&0xff, tmp 2138 drivers/scsi/aacraid/aachba.c tmp&0xff, tmp 2142 drivers/scsi/aacraid/aachba.c tmp = le32_to_cpu(dev->adapter_info.monitorrev); tmp 2145 drivers/scsi/aacraid/aachba.c tmp>>24,(tmp>>16)&0xff,tmp&0xff, tmp 2147 drivers/scsi/aacraid/aachba.c tmp = le32_to_cpu(dev->adapter_info.biosrev); tmp 2150 drivers/scsi/aacraid/aachba.c tmp>>24,(tmp>>16)&0xff,tmp&0xff, tmp 1286 drivers/scsi/aacraid/linit.c int len, tmp; tmp 1288 drivers/scsi/aacraid/linit.c tmp = le32_to_cpu(dev->adapter_info.kernelrev); tmp 1290 drivers/scsi/aacraid/linit.c tmp >> 24, (tmp >> 16) & 0xff, tmp & 0xff, tmp 1300 drivers/scsi/aacraid/linit.c int len, tmp; tmp 1302 drivers/scsi/aacraid/linit.c tmp = le32_to_cpu(dev->adapter_info.monitorrev); tmp 1304 drivers/scsi/aacraid/linit.c tmp >> 24, (tmp >> 16) & 0xff, tmp & 0xff, tmp 1314 drivers/scsi/aacraid/linit.c int len, tmp; tmp 1316 drivers/scsi/aacraid/linit.c tmp = le32_to_cpu(dev->adapter_info.biosrev); tmp 1318 drivers/scsi/aacraid/linit.c tmp >> 24, (tmp >> 16) & 0xff, tmp & 0xff, tmp 1386 drivers/scsi/aacraid/linit.c int len, tmp; tmp 1388 drivers/scsi/aacraid/linit.c tmp = aac_adapter_check_health(dev); tmp 1389 drivers/scsi/aacraid/linit.c if ((tmp == 0) && dev->in_reset) tmp 1390 drivers/scsi/aacraid/linit.c tmp = -EBUSY; tmp 1391 drivers/scsi/aacraid/linit.c len = snprintf(buf, PAGE_SIZE, "0x%x\n", tmp); tmp 3338 drivers/scsi/aha152x.c struct aha152x_hostdata *hd, *tmp; tmp 3340 drivers/scsi/aha152x.c list_for_each_entry_safe(hd, tmp, &aha152x_host_list, host_list) { tmp 2340 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t outbound_doorbell, in_doorbell, tmp; tmp 2356 drivers/scsi/arcmsr/arcmsr_hba.c tmp = in_doorbell; tmp 2358 drivers/scsi/arcmsr/arcmsr_hba.c outbound_doorbell = tmp ^ in_doorbell; tmp 4181 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t i, tmp; tmp 4189 drivers/scsi/arcmsr/arcmsr_hba.c tmp = acb->in_doorbell; tmp 4191 drivers/scsi/arcmsr/arcmsr_hba.c if((tmp ^ acb->in_doorbell) & ARCMSR_HBEMU_IOP2DRV_DATA_WRITE_OK) { tmp 3830 drivers/scsi/bfa/bfa_fcpim.c u16 tmp; tmp 3841 drivers/scsi/bfa/bfa_fcpim.c tmp = bfa_dconf_read_data_valid(bfa) ? bfa_fcpim_read_throttle(bfa) : 0; tmp 3842 drivers/scsi/bfa/bfa_fcpim.c if (!tmp || (tmp > drv_cfg_param)) tmp 3843 drivers/scsi/bfa/bfa_fcpim.c tmp = drv_cfg_param; tmp 3845 drivers/scsi/bfa/bfa_fcpim.c return tmp; tmp 1180 drivers/scsi/bfa/bfa_fcs.c u8 *tmp; tmp 1185 drivers/scsi/bfa/bfa_fcs.c tmp = (u8 *)&fab_nwwn; tmp 1186 drivers/scsi/bfa/bfa_fcs.c oui = (tmp[3] << 8) | tmp[4]; tmp 649 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_work *work, *tmp; tmp 661 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(work, tmp, &work_list, list) { tmp 866 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface, *tmp; tmp 899 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(interface, tmp, &if_list, list) { tmp 1177 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_lport *blport, *tmp; tmp 1180 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(blport, tmp, &hba->vports, list) { tmp 2528 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_interface *interface, *tmp; tmp 2550 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(interface, tmp, &if_list, list) tmp 2645 drivers/scsi/bnx2fc/bnx2fc_fcoe.c struct bnx2fc_work *work, *tmp; tmp 2656 drivers/scsi/bnx2fc/bnx2fc_fcoe.c list_for_each_entry_safe(work, tmp, &p->work_list, list) { tmp 380 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_cmd *tmp, *io_req; tmp 382 drivers/scsi/bnx2fc/bnx2fc_io.c list_for_each_entry_safe(io_req, tmp, tmp 1455 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_cmd *cmd, *tmp; tmp 1466 drivers/scsi/bnx2fc/bnx2fc_io.c list_for_each_entry_safe(cmd, tmp, &tgt->active_cmd_queue, link) { tmp 1492 drivers/scsi/bnx2fc/bnx2fc_io.c struct bnx2fc_cmd *cmd, *tmp; tmp 1501 drivers/scsi/bnx2fc/bnx2fc_io.c list_for_each_entry_safe(cmd, tmp, &tgt->active_cmd_queue, link) { tmp 169 drivers/scsi/bnx2fc/bnx2fc_tgt.c struct bnx2fc_cmd *tmp; tmp 178 drivers/scsi/bnx2fc/bnx2fc_tgt.c list_for_each_entry_safe(io_req, tmp, &tgt->active_cmd_queue, link) { tmp 208 drivers/scsi/bnx2fc/bnx2fc_tgt.c list_for_each_entry_safe(io_req, tmp, &tgt->active_tm_queue, link) { tmp 217 drivers/scsi/bnx2fc/bnx2fc_tgt.c list_for_each_entry_safe(io_req, tmp, &tgt->els_queue, link) { tmp 242 drivers/scsi/bnx2fc/bnx2fc_tgt.c list_for_each_entry_safe(io_req, tmp, &tgt->io_retire_queue, link) { tmp 1854 drivers/scsi/bnx2i/bnx2i_hwi.c struct bnx2i_work *work, *tmp; tmp 1865 drivers/scsi/bnx2i/bnx2i_hwi.c list_for_each_entry_safe(work, tmp, &work_list, list) { tmp 191 drivers/scsi/bnx2i/bnx2i_init.c struct list_head *pos, *tmp; tmp 202 drivers/scsi/bnx2i/bnx2i_init.c list_for_each_safe(pos, tmp, &hba->ep_active_list) { tmp 435 drivers/scsi/bnx2i/bnx2i_init.c struct bnx2i_work *work, *tmp; tmp 444 drivers/scsi/bnx2i/bnx2i_init.c list_for_each_entry_safe(work, tmp, &p->work_list, list) { tmp 677 drivers/scsi/bnx2i/bnx2i_iscsi.c struct list_head *tmp; tmp 681 drivers/scsi/bnx2i/bnx2i_iscsi.c list_for_each_safe(list, tmp, &hba->ep_ofld_list) { tmp 705 drivers/scsi/bnx2i/bnx2i_iscsi.c struct list_head *tmp; tmp 709 drivers/scsi/bnx2i/bnx2i_iscsi.c list_for_each_safe(list, tmp, &hba->ep_destroy_list) { tmp 1481 drivers/scsi/bnx2i/bnx2i_iscsi.c struct bnx2i_work *work, *tmp; tmp 1494 drivers/scsi/bnx2i/bnx2i_iscsi.c list_for_each_entry_safe(work, tmp, tmp 4089 drivers/scsi/csiostor/csio_hw.c struct list_head *tmp; tmp 4092 drivers/scsi/csiostor/csio_hw.c list_for_each(tmp, &mgmtm->active_q) { tmp 4093 drivers/scsi/csiostor/csio_hw.c if (io_req == (struct csio_ioreq *)tmp) tmp 4111 drivers/scsi/csiostor/csio_hw.c struct list_head *tmp; tmp 4118 drivers/scsi/csiostor/csio_hw.c list_for_each(tmp, &mgmtm->active_q) { tmp 4119 drivers/scsi/csiostor/csio_hw.c io_req = (struct csio_ioreq *) tmp; tmp 4124 drivers/scsi/csiostor/csio_hw.c tmp = csio_list_prev(tmp); tmp 4148 drivers/scsi/csiostor/csio_hw.c struct list_head *tmp; tmp 4160 drivers/scsi/csiostor/csio_hw.c list_for_each(tmp, &mgmtm->active_q) { tmp 4161 drivers/scsi/csiostor/csio_hw.c io_req = (struct csio_ioreq *) tmp; tmp 4162 drivers/scsi/csiostor/csio_hw.c tmp = csio_list_prev(tmp); tmp 216 drivers/scsi/csiostor/csio_isr.c struct list_head *tmp; tmp 228 drivers/scsi/csiostor/csio_isr.c list_for_each(tmp, &cbfn_q) { tmp 229 drivers/scsi/csiostor/csio_isr.c ioreq = (struct csio_ioreq *)tmp; tmp 118 drivers/scsi/csiostor/csio_lnode.c struct list_head *tmp; tmp 121 drivers/scsi/csiostor/csio_lnode.c list_for_each(tmp, &hw->sln_head) { tmp 122 drivers/scsi/csiostor/csio_lnode.c ln = (struct csio_lnode *) tmp; tmp 938 drivers/scsi/csiostor/csio_lnode.c struct list_head *tmp, *next; tmp 941 drivers/scsi/csiostor/csio_lnode.c list_for_each_safe(tmp, next, &rnhead->sm.sm_list) { tmp 942 drivers/scsi/csiostor/csio_lnode.c rn = (struct csio_rnode *) tmp; tmp 960 drivers/scsi/csiostor/csio_lnode.c struct list_head *tmp, *next_rn; tmp 963 drivers/scsi/csiostor/csio_lnode.c list_for_each_safe(tmp, next_rn, &rnhead->sm.sm_list) { tmp 964 drivers/scsi/csiostor/csio_lnode.c rn = (struct csio_rnode *) tmp; tmp 985 drivers/scsi/csiostor/csio_lnode.c struct list_head *tmp; tmp 996 drivers/scsi/csiostor/csio_lnode.c list_for_each(tmp, &sln->cln_head) { tmp 997 drivers/scsi/csiostor/csio_lnode.c cln = (struct csio_lnode *) tmp; tmp 1926 drivers/scsi/csiostor/csio_lnode.c struct list_head *tmp; tmp 1932 drivers/scsi/csiostor/csio_lnode.c list_for_each(tmp, &hw->sln_head) { tmp 1933 drivers/scsi/csiostor/csio_lnode.c ln = (struct csio_lnode *) tmp; tmp 1968 drivers/scsi/csiostor/csio_lnode.c struct list_head *tmp; tmp 1974 drivers/scsi/csiostor/csio_lnode.c list_for_each(tmp, &hw->sln_head) { tmp 1975 drivers/scsi/csiostor/csio_lnode.c ln = (struct csio_lnode *) tmp; tmp 1616 drivers/scsi/csiostor/csio_mb.c struct list_head *tmp; tmp 1642 drivers/scsi/csiostor/csio_mb.c list_for_each(tmp, cbfn_q) { tmp 1643 drivers/scsi/csiostor/csio_mb.c mbp = (struct csio_mb *)tmp; tmp 124 drivers/scsi/csiostor/csio_rnode.c struct list_head *tmp; tmp 127 drivers/scsi/csiostor/csio_rnode.c list_for_each(tmp, &rnhead->sm.sm_list) { tmp 128 drivers/scsi/csiostor/csio_rnode.c rn = (struct csio_rnode *) tmp; tmp 148 drivers/scsi/csiostor/csio_rnode.c struct list_head *tmp; tmp 151 drivers/scsi/csiostor/csio_rnode.c list_for_each(tmp, &rnhead->sm.sm_list) { tmp 152 drivers/scsi/csiostor/csio_rnode.c rn = (struct csio_rnode *) tmp; tmp 172 drivers/scsi/csiostor/csio_rnode.c struct list_head *tmp; tmp 175 drivers/scsi/csiostor/csio_rnode.c list_for_each(tmp, &rnhead->sm.sm_list) { tmp 176 drivers/scsi/csiostor/csio_rnode.c rn = (struct csio_rnode *) tmp; tmp 189 drivers/scsi/csiostor/csio_rnode.c struct list_head *tmp, *tmp1; tmp 200 drivers/scsi/csiostor/csio_rnode.c list_for_each(tmp, &rnhead->sm.sm_list) { tmp 202 drivers/scsi/csiostor/csio_rnode.c rn = (struct csio_rnode *) tmp; tmp 122 drivers/scsi/csiostor/csio_scsi.c struct list_head *tmp, *next; tmp 133 drivers/scsi/csiostor/csio_scsi.c list_for_each_safe(tmp, next, &scm->active_q) { tmp 134 drivers/scsi/csiostor/csio_scsi.c if (csio_scsi_match_io((struct csio_ioreq *)tmp, sld)) { tmp 135 drivers/scsi/csiostor/csio_scsi.c list_del_init(tmp); tmp 136 drivers/scsi/csiostor/csio_scsi.c list_add_tail(tmp, dest); tmp 297 drivers/scsi/csiostor/csio_scsi.c struct list_head *tmp; tmp 328 drivers/scsi/csiostor/csio_scsi.c list_for_each(tmp, &req->gen_list) { tmp 329 drivers/scsi/csiostor/csio_scsi.c dma_buf = (struct csio_dma_buf *)tmp; tmp 1163 drivers/scsi/csiostor/csio_scsi.c struct list_head *tmp, *next; tmp 1167 drivers/scsi/csiostor/csio_scsi.c list_for_each_safe(tmp, next, q) { tmp 1168 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)tmp; tmp 1236 drivers/scsi/csiostor/csio_scsi.c struct list_head *tmp, *next; tmp 1246 drivers/scsi/csiostor/csio_scsi.c list_for_each_safe(tmp, next, q) { tmp 1247 drivers/scsi/csiostor/csio_scsi.c scmnd = csio_scsi_cmnd((struct csio_ioreq *)tmp); tmp 1248 drivers/scsi/csiostor/csio_scsi.c csio_abrt_cls((struct csio_ioreq *)tmp, scmnd); tmp 2319 drivers/scsi/csiostor/csio_scsi.c struct list_head *tmp; tmp 2367 drivers/scsi/csiostor/csio_scsi.c list_for_each(tmp, &scm->ddp_freelist) { tmp 2368 drivers/scsi/csiostor/csio_scsi.c ddp_desc = (struct csio_dma_buf *) tmp; tmp 2369 drivers/scsi/csiostor/csio_scsi.c tmp = csio_list_prev(tmp); tmp 2390 drivers/scsi/csiostor/csio_scsi.c struct list_head *tmp; tmp 2394 drivers/scsi/csiostor/csio_scsi.c list_for_each(tmp, &scm->ddp_freelist) { tmp 2395 drivers/scsi/csiostor/csio_scsi.c ddp_desc = (struct csio_dma_buf *) tmp; tmp 2396 drivers/scsi/csiostor/csio_scsi.c tmp = csio_list_prev(tmp); tmp 2475 drivers/scsi/csiostor/csio_scsi.c struct csio_sm *tmp; tmp 2477 drivers/scsi/csiostor/csio_scsi.c tmp = list_first_entry(&scm->ioreq_freelist, tmp 2479 drivers/scsi/csiostor/csio_scsi.c list_del_init(&tmp->sm_list); tmp 2480 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)tmp; tmp 2506 drivers/scsi/csiostor/csio_scsi.c struct csio_sm *tmp; tmp 2508 drivers/scsi/csiostor/csio_scsi.c tmp = list_first_entry(&scm->ioreq_freelist, tmp 2510 drivers/scsi/csiostor/csio_scsi.c list_del_init(&tmp->sm_list); tmp 2511 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)tmp; tmp 187 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_device *cdev, *tmp; tmp 190 drivers/scsi/cxgbi/libcxgbi.c list_for_each_entry_safe(cdev, tmp, &cdev_list, list_head) { tmp 203 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_device *cdev, *tmp; tmp 206 drivers/scsi/cxgbi/libcxgbi.c list_for_each_entry_safe(cdev, tmp, &cdev_list, list_head) { tmp 224 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_device *cdev, *tmp; tmp 235 drivers/scsi/cxgbi/libcxgbi.c list_for_each_entry_safe(cdev, tmp, &cdev_list, list_head) { tmp 290 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_device *cdev, *tmp; tmp 300 drivers/scsi/cxgbi/libcxgbi.c list_for_each_entry_safe(cdev, tmp, &cdev_list, list_head) { tmp 199 drivers/scsi/cxlflash/main.c struct afu_cmd *cmd, *tmp; tmp 203 drivers/scsi/cxlflash/main.c list_for_each_entry_safe(cmd, tmp, &hwq->pending_cmds, list) { tmp 1434 drivers/scsi/cxlflash/main.c struct afu_cmd *cmd, *tmp; tmp 1438 drivers/scsi/cxlflash/main.c list_for_each_entry_safe(cmd, tmp, doneq, queue) tmp 3422 drivers/scsi/dc395x.c struct ScsiReqBlk *tmp; tmp 3425 drivers/scsi/dc395x.c list_for_each_entry_safe(srb, tmp, &dcb->srb_going_list, list) { tmp 3457 drivers/scsi/dc395x.c list_for_each_entry_safe(srb, tmp, &dcb->srb_waiting_list, list) { tmp 3723 drivers/scsi/dc395x.c struct DeviceCtlBlk *tmp; tmp 3734 drivers/scsi/dc395x.c list_for_each_entry_safe(i, tmp, &acb->dcb_list, list) tmp 3778 drivers/scsi/dc395x.c struct DeviceCtlBlk *tmp; tmp 3782 drivers/scsi/dc395x.c list_for_each_entry_safe(dcb, tmp, &acb->dcb_list, list) tmp 799 drivers/scsi/device_handler/scsi_dh_alua.c struct alua_queue_data *qdata, *tmp; tmp 866 drivers/scsi/device_handler/scsi_dh_alua.c list_for_each_entry_safe(qdata, tmp, &qdata_list, entry) { tmp 329 drivers/scsi/device_handler/scsi_dh_rdac.c struct rdac_controller *ctlr, *tmp; tmp 331 drivers/scsi/device_handler/scsi_dh_rdac.c list_for_each_entry(tmp, &ctlr_list, node) { tmp 332 drivers/scsi/device_handler/scsi_dh_rdac.c if ((memcmp(tmp->array_id, array_id, UNIQUE_ID_LEN) == 0) && tmp 333 drivers/scsi/device_handler/scsi_dh_rdac.c (tmp->index == index) && tmp 334 drivers/scsi/device_handler/scsi_dh_rdac.c (tmp->host == sdev->host)) { tmp 335 drivers/scsi/device_handler/scsi_dh_rdac.c kref_get(&tmp->kref); tmp 336 drivers/scsi/device_handler/scsi_dh_rdac.c return tmp; tmp 391 drivers/scsi/device_handler/scsi_dh_rdac.c struct rdac_dh_data *tmp; tmp 425 drivers/scsi/device_handler/scsi_dh_rdac.c list_for_each_entry_rcu(tmp, &h->ctlr->dh_list, node) { tmp 427 drivers/scsi/device_handler/scsi_dh_rdac.c BUG_ON(!tmp->sdev); tmp 428 drivers/scsi/device_handler/scsi_dh_rdac.c tmp->sdev->access_state = access_state; tmp 534 drivers/scsi/device_handler/scsi_dh_rdac.c struct rdac_queue_data *tmp, *qdata; tmp 574 drivers/scsi/device_handler/scsi_dh_rdac.c list_for_each_entry_safe(qdata, tmp, &list, entry) { tmp 2062 drivers/scsi/esp_scsi.c struct esp_cmd_entry *ent, *tmp; tmp 2065 drivers/scsi/esp_scsi.c list_for_each_entry_safe(ent, tmp, &esp->queued_cmds, list) { tmp 2074 drivers/scsi/esp_scsi.c list_for_each_entry_safe(ent, tmp, &esp->active_cmds, list) { tmp 2500 drivers/scsi/esp_scsi.c struct esp_cmd_entry *ent, *tmp; tmp 2529 drivers/scsi/esp_scsi.c list_for_each_entry(tmp, &esp->queued_cmds, list) { tmp 2530 drivers/scsi/esp_scsi.c if (tmp->cmd == cmd) { tmp 2531 drivers/scsi/esp_scsi.c ent = tmp; tmp 1740 drivers/scsi/fcoe/fcoe.c struct sk_buff_head tmp; tmp 1743 drivers/scsi/fcoe/fcoe.c skb_queue_head_init(&tmp); tmp 1746 drivers/scsi/fcoe/fcoe.c skb_queue_splice_init(&p->fcoe_rx_list, &tmp); tmp 1749 drivers/scsi/fcoe/fcoe.c if (!skb_queue_len(&tmp)) tmp 1752 drivers/scsi/fcoe/fcoe.c while ((skb = __skb_dequeue(&tmp))) tmp 2522 drivers/scsi/fcoe/fcoe.c struct fcoe_interface *fcoe, *tmp; tmp 2533 drivers/scsi/fcoe/fcoe.c list_for_each_entry_safe(fcoe, tmp, &fcoe_hostlist, list) { tmp 562 drivers/scsi/fcoe/fcoe_transport.c struct fcoe_netdev_mapping *nm = NULL, *tmp; tmp 574 drivers/scsi/fcoe/fcoe_transport.c list_for_each_entry_safe(nm, tmp, &fcoe_netdevs, list) { tmp 657 drivers/scsi/fcoe/fcoe_transport.c struct fcoe_netdev_mapping *nm = NULL, *tmp; tmp 660 drivers/scsi/fcoe/fcoe_transport.c list_for_each_entry_safe(nm, tmp, &fcoe_netdevs, list) { tmp 8418 drivers/scsi/hpsa.c struct list_head *this, *tmp; tmp 8421 drivers/scsi/hpsa.c list_for_each_safe(this, tmp, &h->offline_device_list) { tmp 3986 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c unsigned long tmp; tmp 3990 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rc = kstrtoul(page, 0, &tmp); tmp 3996 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if ((tmp != 0) && (tmp != 1)) { tmp 4001 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (tmp) { tmp 4017 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c dev_dbg(&vscsi->dev, "tpg_enable_store, tmp %ld, state %d\n", tmp, tmp 218 drivers/scsi/imm.c static int imm_negotiate(imm_struct * tmp) tmp 232 drivers/scsi/imm.c unsigned short base = tmp->base; tmp 235 drivers/scsi/imm.c switch (tmp->mode) { tmp 261 drivers/scsi/imm.c imm_fail(tmp, DID_ERROR); tmp 767 drivers/scsi/initio.c struct scsi_ctrl_blk *tmp, *prev; tmp 773 drivers/scsi/initio.c prev = tmp = host->first_pending; tmp 774 drivers/scsi/initio.c while (tmp != NULL) { tmp 775 drivers/scsi/initio.c if (scb == tmp) { /* Unlink this SCB */ tmp 776 drivers/scsi/initio.c if (tmp == host->first_pending) { tmp 777 drivers/scsi/initio.c if ((host->first_pending = tmp->next) == NULL) tmp 780 drivers/scsi/initio.c prev->next = tmp->next; tmp 781 drivers/scsi/initio.c if (tmp == host->last_pending) tmp 784 drivers/scsi/initio.c tmp->next = NULL; tmp 787 drivers/scsi/initio.c prev = tmp; tmp 788 drivers/scsi/initio.c tmp = tmp->next; tmp 816 drivers/scsi/initio.c struct scsi_ctrl_blk *tmp; tmp 819 drivers/scsi/initio.c if ((tmp = host->first_busy) != NULL) { tmp 820 drivers/scsi/initio.c if ((host->first_busy = tmp->next) == NULL) tmp 822 drivers/scsi/initio.c tmp->next = NULL; tmp 823 drivers/scsi/initio.c if (tmp->tagmsg) tmp 824 drivers/scsi/initio.c host->act_tags[tmp->target]--; tmp 826 drivers/scsi/initio.c host->targets[tmp->target].flags &= ~TCF_BUSY; tmp 829 drivers/scsi/initio.c printk("Pop busy SCB %p; ", tmp); tmp 831 drivers/scsi/initio.c return tmp; tmp 837 drivers/scsi/initio.c struct scsi_ctrl_blk *tmp, *prev; tmp 843 drivers/scsi/initio.c prev = tmp = host->first_busy; tmp 844 drivers/scsi/initio.c while (tmp != NULL) { tmp 845 drivers/scsi/initio.c if (scb == tmp) { /* Unlink this SCB */ tmp 846 drivers/scsi/initio.c if (tmp == host->first_busy) { tmp 847 drivers/scsi/initio.c if ((host->first_busy = tmp->next) == NULL) tmp 850 drivers/scsi/initio.c prev->next = tmp->next; tmp 851 drivers/scsi/initio.c if (tmp == host->last_busy) tmp 854 drivers/scsi/initio.c tmp->next = NULL; tmp 855 drivers/scsi/initio.c if (tmp->tagmsg) tmp 856 drivers/scsi/initio.c host->act_tags[tmp->target]--; tmp 858 drivers/scsi/initio.c host->targets[tmp->target].flags &= ~TCF_BUSY; tmp 861 drivers/scsi/initio.c prev = tmp; tmp 862 drivers/scsi/initio.c tmp = tmp->next; tmp 869 drivers/scsi/initio.c struct scsi_ctrl_blk *tmp, *prev; tmp 873 drivers/scsi/initio.c prev = tmp = host->first_busy; tmp 874 drivers/scsi/initio.c while (tmp != NULL) { tmp 875 drivers/scsi/initio.c scbp_tarlun = (tmp->lun << 8) | (tmp->target); tmp 879 drivers/scsi/initio.c prev = tmp; tmp 880 drivers/scsi/initio.c tmp = tmp->next; tmp 883 drivers/scsi/initio.c printk("find busy SCB %p; ", tmp); tmp 885 drivers/scsi/initio.c return tmp; tmp 907 drivers/scsi/initio.c struct scsi_ctrl_blk *tmp; tmp 909 drivers/scsi/initio.c if ((tmp = host->first_done) != NULL) { tmp 910 drivers/scsi/initio.c if ((host->first_done = tmp->next) == NULL) tmp 912 drivers/scsi/initio.c tmp->next = NULL; tmp 915 drivers/scsi/initio.c printk("find done SCB %p; ",tmp); tmp 917 drivers/scsi/initio.c return tmp; tmp 923 drivers/scsi/initio.c struct scsi_ctrl_blk *tmp, *prev; tmp 939 drivers/scsi/initio.c prev = tmp = host->first_pending; /* Check Pend queue */ tmp 940 drivers/scsi/initio.c while (tmp != NULL) { tmp 942 drivers/scsi/initio.c if (tmp->srb == srbp) { tmp 943 drivers/scsi/initio.c if (tmp == host->active) { tmp 946 drivers/scsi/initio.c } else if (tmp == host->first_pending) { tmp 947 drivers/scsi/initio.c if ((host->first_pending = tmp->next) == NULL) tmp 950 drivers/scsi/initio.c prev->next = tmp->next; tmp 951 drivers/scsi/initio.c if (tmp == host->last_pending) tmp 954 drivers/scsi/initio.c tmp->hastat = HOST_ABORTED; tmp 955 drivers/scsi/initio.c tmp->flags |= SCF_DONE; tmp 956 drivers/scsi/initio.c if (tmp->flags & SCF_POST) tmp 957 drivers/scsi/initio.c (*tmp->post) ((u8 *) host, (u8 *) tmp); tmp 961 drivers/scsi/initio.c prev = tmp; tmp 962 drivers/scsi/initio.c tmp = tmp->next; tmp 965 drivers/scsi/initio.c prev = tmp = host->first_busy; /* Check Busy queue */ tmp 966 drivers/scsi/initio.c while (tmp != NULL) { tmp 967 drivers/scsi/initio.c if (tmp->srb == srbp) { tmp 968 drivers/scsi/initio.c if (tmp == host->active) { tmp 971 drivers/scsi/initio.c } else if (tmp->tagmsg == 0) { tmp 975 drivers/scsi/initio.c host->act_tags[tmp->target]--; tmp 976 drivers/scsi/initio.c if (tmp == host->first_busy) { tmp 977 drivers/scsi/initio.c if ((host->first_busy = tmp->next) == NULL) tmp 980 drivers/scsi/initio.c prev->next = tmp->next; tmp 981 drivers/scsi/initio.c if (tmp == host->last_busy) tmp 984 drivers/scsi/initio.c tmp->next = NULL; tmp 987 drivers/scsi/initio.c tmp->hastat = HOST_ABORTED; tmp 988 drivers/scsi/initio.c tmp->flags |= SCF_DONE; tmp 989 drivers/scsi/initio.c if (tmp->flags & SCF_POST) tmp 990 drivers/scsi/initio.c (*tmp->post) ((u8 *) host, (u8 *) tmp); tmp 995 drivers/scsi/initio.c prev = tmp; tmp 996 drivers/scsi/initio.c tmp = tmp->next; tmp 2358 drivers/scsi/initio.c struct scsi_ctrl_blk *tmp, *prev; tmp 2373 drivers/scsi/initio.c prev = tmp = host->first_busy; /* Check Busy queue */ tmp 2374 drivers/scsi/initio.c while (tmp != NULL) { tmp 2375 drivers/scsi/initio.c if (tmp->target == tar) { tmp 2377 drivers/scsi/initio.c if (tmp == host->first_busy) { tmp 2378 drivers/scsi/initio.c if ((host->first_busy = tmp->next) == NULL) tmp 2381 drivers/scsi/initio.c prev->next = tmp->next; tmp 2382 drivers/scsi/initio.c if (tmp == host->last_busy) tmp 2385 drivers/scsi/initio.c tmp->hastat = HOST_ABORTED; tmp 2386 drivers/scsi/initio.c initio_append_done_scb(host, tmp); tmp 2390 drivers/scsi/initio.c prev = tmp; tmp 2392 drivers/scsi/initio.c tmp = tmp->next; tmp 2815 drivers/scsi/initio.c struct scsi_ctrl_blk *scb, *tmp, *prev = NULL /* silence gcc */; tmp 2875 drivers/scsi/initio.c for (i = 0, tmp = scb; i < num_scb; i++, tmp++) { tmp 2876 drivers/scsi/initio.c tmp->tagid = i; tmp 2878 drivers/scsi/initio.c prev->next = tmp; tmp 2879 drivers/scsi/initio.c prev = tmp; tmp 2882 drivers/scsi/initio.c host->scb_end = tmp; tmp 6560 drivers/scsi/ips.c int i, j, tmp, position = 0; tmp 6620 drivers/scsi/ips.c tmp = 0; tmp 6626 drivers/scsi/ips.c tmp = 1; tmp 6630 drivers/scsi/ips.c if (!tmp) tmp 49 drivers/scsi/isci/probe_roms.c u8 *tmp, sum; tmp 80 drivers/scsi/isci/probe_roms.c tmp = (u8 *)&oem_hdr; tmp 81 drivers/scsi/isci/probe_roms.c for (j = 0, sum = 0; j < sizeof(oem_hdr); j++, tmp++) tmp 82 drivers/scsi/isci/probe_roms.c sum += *tmp; tmp 84 drivers/scsi/isci/probe_roms.c tmp = (u8 *)rom; tmp 85 drivers/scsi/isci/probe_roms.c for (j = 0; j < sizeof(*rom); j++, tmp++) tmp 86 drivers/scsi/isci/probe_roms.c sum += *tmp; tmp 172 drivers/scsi/isci/probe_roms.c u8 *tmp, sum; tmp 212 drivers/scsi/isci/probe_roms.c tmp = (u8 *)efi_data; tmp 213 drivers/scsi/isci/probe_roms.c for (j = 0, sum = 0; j < (sizeof(*oem_hdr) + sizeof(*rom)); j++, tmp++) tmp 214 drivers/scsi/isci/probe_roms.c sum += *tmp; tmp 2424 drivers/scsi/libfc/fc_exch.c struct fc_exch_mgr_anchor *ema, *tmp; tmp 2432 drivers/scsi/libfc/fc_exch.c list_for_each_entry_safe(ema, tmp, &dst->ema_list, ema_list) tmp 178 drivers/scsi/lpfc/lpfc_attr.c char tmp[LPFC_MAX_NVME_INFO_TMP_LEN] = {0}; tmp 197 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 200 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 203 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 210 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 218 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 223 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 228 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 232 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 236 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 241 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 244 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 249 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 252 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 259 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 264 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 268 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 272 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 280 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 283 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 288 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 291 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 296 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 299 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 303 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 306 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 312 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 315 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 320 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 328 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 335 drivers/scsi/lpfc/lpfc_attr.c strlcat(buf, tmp, PAGE_SIZE); tmp 351 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 357 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 366 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 373 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 407 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), "WWPN x%llx ", tmp 409 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 412 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), "WWNN x%llx ", tmp 414 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 417 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), "DID x%06x ", tmp 419 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 438 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), "UNKNOWN ROLE x%x", tmp 440 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 444 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), "%s\n", statep); tmp 445 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 456 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 461 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 464 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 469 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 483 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 487 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 490 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 499 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 502 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), tmp 506 drivers/scsi/lpfc/lpfc_attr.c strlcat(buf, tmp, PAGE_SIZE); tmp 544 drivers/scsi/lpfc/lpfc_attr.c char tmp[LPFC_MAX_SCSI_INFO_TMP_LEN] = {0}; tmp 563 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), "HDWQ (%d): Rd %016llx Wr %016llx " tmp 565 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 568 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), "Cmpl %016llx OutIO %016llx\n", tmp 570 drivers/scsi/lpfc/lpfc_attr.c if (strlcat(buf, tmp, PAGE_SIZE) >= PAGE_SIZE) tmp 573 drivers/scsi/lpfc/lpfc_attr.c scnprintf(tmp, sizeof(tmp), "Total FCP Cmpl %016llx Issue %016llx " tmp 575 drivers/scsi/lpfc/lpfc_attr.c strlcat(buf, tmp, PAGE_SIZE); tmp 1480 drivers/scsi/lpfc/lpfc_ct.c char tmp[MAXHOSTNAMELEN] = {0}; tmp 1484 drivers/scsi/lpfc/lpfc_ct.c scnprintf(tmp, sizeof(tmp), "Emulex %s", vport->phba->ModelName); tmp 1485 drivers/scsi/lpfc/lpfc_ct.c if (strlcat(symbol, tmp, size) >= size) tmp 1489 drivers/scsi/lpfc/lpfc_ct.c scnprintf(tmp, sizeof(tmp), " FV%s", fwrev); tmp 1490 drivers/scsi/lpfc/lpfc_ct.c if (strlcat(symbol, tmp, size) >= size) tmp 1493 drivers/scsi/lpfc/lpfc_ct.c scnprintf(tmp, sizeof(tmp), " DV%s", lpfc_release_version); tmp 1494 drivers/scsi/lpfc/lpfc_ct.c if (strlcat(symbol, tmp, size) >= size) tmp 1497 drivers/scsi/lpfc/lpfc_ct.c scnprintf(tmp, sizeof(tmp), " HN:%s", vport->phba->os_host_name); tmp 1498 drivers/scsi/lpfc/lpfc_ct.c if (strlcat(symbol, tmp, size) >= size) tmp 1502 drivers/scsi/lpfc/lpfc_ct.c scnprintf(tmp, sizeof(tmp), " OS:%s", init_utsname()->sysname); tmp 1503 drivers/scsi/lpfc/lpfc_ct.c strlcat(symbol, tmp, size); tmp 467 drivers/scsi/lpfc/lpfc_debugfs.c char tmp[LPFC_DEBUG_OUT_LINE_SZ] = {0}; tmp 489 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), tmp 491 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 506 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), tmp 508 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 516 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), tmp 518 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 522 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), "\n"); tmp 523 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 536 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), tmp 541 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 545 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), tmp 552 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 555 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), tmp 560 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 564 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), "\n"); tmp 565 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 1263 drivers/scsi/lpfc/lpfc_debugfs.c char tmp[LPFC_MAX_SCSI_INFO_TMP_LEN] = {0}; tmp 1282 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), "HDWQ (%d): Rd %016llx Wr %016llx " tmp 1284 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 1287 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), "Cmpl %016llx OutIO %016llx\n", tmp 1289 drivers/scsi/lpfc/lpfc_debugfs.c if (strlcat(buf, tmp, size) >= size) tmp 1292 drivers/scsi/lpfc/lpfc_debugfs.c scnprintf(tmp, sizeof(tmp), "Total FCP Cmpl %016llx Issue %016llx " tmp 1294 drivers/scsi/lpfc/lpfc_debugfs.c strlcat(buf, tmp, size); tmp 2172 drivers/scsi/lpfc/lpfc_debugfs.c uint64_t tmp = 0; tmp 2191 drivers/scsi/lpfc/lpfc_debugfs.c memcpy(&tmp, &phba->lpfc_injerr_wwpn, sizeof(struct lpfc_name)); tmp 2192 drivers/scsi/lpfc/lpfc_debugfs.c tmp = cpu_to_be64(tmp); tmp 2193 drivers/scsi/lpfc/lpfc_debugfs.c cnt = scnprintf(cbuf, 32, "0x%016llx\n", tmp); tmp 2214 drivers/scsi/lpfc/lpfc_debugfs.c uint64_t tmp = 0; tmp 2224 drivers/scsi/lpfc/lpfc_debugfs.c tmp = (uint64_t)(-1); tmp 2227 drivers/scsi/lpfc/lpfc_debugfs.c if ((tmp == 0) && (kstrtoull(dstbuf, 0, &tmp))) tmp 2231 drivers/scsi/lpfc/lpfc_debugfs.c phba->lpfc_injerr_wgrd_cnt = (uint32_t)tmp; tmp 2233 drivers/scsi/lpfc/lpfc_debugfs.c phba->lpfc_injerr_wapp_cnt = (uint32_t)tmp; tmp 2235 drivers/scsi/lpfc/lpfc_debugfs.c phba->lpfc_injerr_wref_cnt = (uint32_t)tmp; tmp 2237 drivers/scsi/lpfc/lpfc_debugfs.c phba->lpfc_injerr_rgrd_cnt = (uint32_t)tmp; tmp 2239 drivers/scsi/lpfc/lpfc_debugfs.c phba->lpfc_injerr_rapp_cnt = (uint32_t)tmp; tmp 2241 drivers/scsi/lpfc/lpfc_debugfs.c phba->lpfc_injerr_rref_cnt = (uint32_t)tmp; tmp 2243 drivers/scsi/lpfc/lpfc_debugfs.c phba->lpfc_injerr_lba = (sector_t)tmp; tmp 2245 drivers/scsi/lpfc/lpfc_debugfs.c phba->lpfc_injerr_nportid = (uint32_t)(tmp & Mask_DID); tmp 2247 drivers/scsi/lpfc/lpfc_debugfs.c tmp = cpu_to_be64(tmp); tmp 2248 drivers/scsi/lpfc/lpfc_debugfs.c memcpy(&phba->lpfc_injerr_wwpn, &tmp, sizeof(struct lpfc_name)); tmp 10990 drivers/scsi/lpfc/lpfc_init.c cpumask_t tmp; tmp 11002 drivers/scsi/lpfc/lpfc_init.c if (!cpumask_and(&tmp, maskp, cpumask_of(cpu))) tmp 11010 drivers/scsi/lpfc/lpfc_init.c cpumask_and(&tmp, maskp, cpu_online_mask); tmp 11011 drivers/scsi/lpfc/lpfc_init.c if (cpumask_weight(&tmp) > 1) tmp 641 drivers/scsi/lpfc/lpfc_scsi.c struct fcp_cmd_rsp_buf *tmp = NULL; tmp 673 drivers/scsi/lpfc/lpfc_scsi.c tmp = lpfc_get_cmd_rsp_buf_per_hdwq(phba, lpfc_cmd); tmp 674 drivers/scsi/lpfc/lpfc_scsi.c if (!tmp) { tmp 679 drivers/scsi/lpfc/lpfc_scsi.c lpfc_cmd->fcp_cmnd = tmp->fcp_cmnd; tmp 680 drivers/scsi/lpfc/lpfc_scsi.c lpfc_cmd->fcp_rsp = tmp->fcp_rsp; tmp 688 drivers/scsi/lpfc/lpfc_scsi.c pdma_phys_fcp_cmd = tmp->fcp_cmd_rsp_dma_handle; tmp 4386 drivers/scsi/lpfc/lpfc_scsi.c char tmp[384] = {0}; tmp 4391 drivers/scsi/lpfc/lpfc_scsi.c scnprintf(tmp, sizeof(tmp), phba->ModelDesc); tmp 4392 drivers/scsi/lpfc/lpfc_scsi.c if (strlcat(lpfcinfobuf, tmp, sizeof(lpfcinfobuf)) >= tmp 4397 drivers/scsi/lpfc/lpfc_scsi.c scnprintf(tmp, sizeof(tmp), tmp 4401 drivers/scsi/lpfc/lpfc_scsi.c if (strlcat(lpfcinfobuf, tmp, sizeof(lpfcinfobuf)) >= tmp 4407 drivers/scsi/lpfc/lpfc_scsi.c scnprintf(tmp, sizeof(tmp), " port %s", phba->Port); tmp 4408 drivers/scsi/lpfc/lpfc_scsi.c if (strlcat(lpfcinfobuf, tmp, sizeof(lpfcinfobuf)) >= tmp 4416 drivers/scsi/lpfc/lpfc_scsi.c scnprintf(tmp, sizeof(tmp), tmp 4418 drivers/scsi/lpfc/lpfc_scsi.c if (strlcat(lpfcinfobuf, tmp, sizeof(lpfcinfobuf)) >= tmp 4425 drivers/scsi/lpfc/lpfc_scsi.c scnprintf(tmp, sizeof(tmp), " PCI resettable"); tmp 4426 drivers/scsi/lpfc/lpfc_scsi.c strlcat(lpfcinfobuf, tmp, sizeof(lpfcinfobuf)); tmp 145 drivers/scsi/lpfc/lpfc_sli.c uint8_t *tmp; tmp 170 drivers/scsi/lpfc/lpfc_sli.c tmp = (uint8_t *)temp_wqe; tmp 173 drivers/scsi/lpfc/lpfc_sli.c __raw_writeq(*((uint64_t *)(tmp + i)), tmp 177 drivers/scsi/lpfc/lpfc_sli.c __raw_writel(*((uint32_t *)(tmp + i)), tmp 20574 drivers/scsi/lpfc/lpfc_sli.c struct sli4_hybrid_sgl *tmp = NULL; tmp 20584 drivers/scsi/lpfc/lpfc_sli.c list_for_each_entry_safe(list_entry, tmp, tmp 20593 drivers/scsi/lpfc/lpfc_sli.c tmp = kmalloc_node(sizeof(*tmp), GFP_ATOMIC, tmp 20595 drivers/scsi/lpfc/lpfc_sli.c if (!tmp) { tmp 20603 drivers/scsi/lpfc/lpfc_sli.c tmp->dma_sgl = dma_pool_alloc(phba->lpfc_sg_dma_buf_pool, tmp 20604 drivers/scsi/lpfc/lpfc_sli.c GFP_ATOMIC, &tmp->dma_phys_sgl); tmp 20605 drivers/scsi/lpfc/lpfc_sli.c if (!tmp->dma_sgl) { tmp 20610 drivers/scsi/lpfc/lpfc_sli.c kfree(tmp); tmp 20615 drivers/scsi/lpfc/lpfc_sli.c list_add_tail(&tmp->list_node, &lpfc_buf->dma_sgl_xtra_list); tmp 20643 drivers/scsi/lpfc/lpfc_sli.c struct sli4_hybrid_sgl *tmp = NULL; tmp 20651 drivers/scsi/lpfc/lpfc_sli.c list_for_each_entry_safe(list_entry, tmp, tmp 20681 drivers/scsi/lpfc/lpfc_sli.c struct sli4_hybrid_sgl *tmp = NULL; tmp 20687 drivers/scsi/lpfc/lpfc_sli.c list_for_each_entry_safe(list_entry, tmp, tmp 20716 drivers/scsi/lpfc/lpfc_sli.c struct fcp_cmd_rsp_buf *tmp = NULL; tmp 20726 drivers/scsi/lpfc/lpfc_sli.c list_for_each_entry_safe(list_entry, tmp, tmp 20736 drivers/scsi/lpfc/lpfc_sli.c tmp = kmalloc_node(sizeof(*tmp), GFP_ATOMIC, tmp 20738 drivers/scsi/lpfc/lpfc_sli.c if (!tmp) { tmp 20746 drivers/scsi/lpfc/lpfc_sli.c tmp->fcp_cmnd = dma_pool_alloc(phba->lpfc_cmd_rsp_buf_pool, tmp 20748 drivers/scsi/lpfc/lpfc_sli.c &tmp->fcp_cmd_rsp_dma_handle); tmp 20750 drivers/scsi/lpfc/lpfc_sli.c if (!tmp->fcp_cmnd) { tmp 20755 drivers/scsi/lpfc/lpfc_sli.c kfree(tmp); tmp 20759 drivers/scsi/lpfc/lpfc_sli.c tmp->fcp_rsp = (struct fcp_rsp *)((uint8_t *)tmp->fcp_cmnd + tmp 20763 drivers/scsi/lpfc/lpfc_sli.c list_add_tail(&tmp->list_node, &lpfc_buf->dma_cmd_rsp_list); tmp 20792 drivers/scsi/lpfc/lpfc_sli.c struct fcp_cmd_rsp_buf *tmp = NULL; tmp 20800 drivers/scsi/lpfc/lpfc_sli.c list_for_each_entry_safe(list_entry, tmp, tmp 20830 drivers/scsi/lpfc/lpfc_sli.c struct fcp_cmd_rsp_buf *tmp = NULL; tmp 20836 drivers/scsi/lpfc/lpfc_sli.c list_for_each_entry_safe(list_entry, tmp, tmp 2178 drivers/scsi/megaraid/megaraid_mbox.c scb_t *tmp; tmp 2207 drivers/scsi/megaraid/megaraid_mbox.c list_for_each_entry_safe(scb, tmp, &clist, list) { tmp 2389 drivers/scsi/megaraid/megaraid_mbox.c scb_t *tmp; tmp 2416 drivers/scsi/megaraid/megaraid_mbox.c list_for_each_entry_safe(scb, tmp, &adapter->completed_list, list) { tmp 2444 drivers/scsi/megaraid/megaraid_mbox.c list_for_each_entry_safe(scb, tmp, &adapter->pend_list, list) { tmp 2526 drivers/scsi/megaraid/megaraid_mbox.c scb_t *tmp; tmp 2551 drivers/scsi/megaraid/megaraid_mbox.c list_for_each_entry_safe(scb, tmp, &adapter->pend_list, list) { tmp 1039 drivers/scsi/megaraid/megaraid_mm.c mraid_mmadp_t *tmp; tmp 1042 drivers/scsi/megaraid/megaraid_mm.c list_for_each_entry_safe(adapter, tmp, &adapters_list_g, list) { tmp 1121 drivers/scsi/megaraid/megaraid_mm.c mraid_mmadp_t *tmp; tmp 1123 drivers/scsi/megaraid/megaraid_mm.c list_for_each_entry_safe(adapter, tmp, &adapters_list_g, list) { tmp 3079 drivers/scsi/megaraid/megaraid_sas_base.c unsigned long tmp; tmp 3085 drivers/scsi/megaraid/megaraid_sas_base.c tmp = heads * sectors; tmp 3088 drivers/scsi/megaraid/megaraid_sas_base.c sector_div(cylinders, tmp); tmp 3097 drivers/scsi/megaraid/megaraid_sas_base.c tmp = heads*sectors; tmp 3099 drivers/scsi/megaraid/megaraid_sas_base.c sector_div(cylinders, tmp); tmp 953 drivers/scsi/mpt3sas/mpt3sas_ctl.c Mpi2SGESimple64_t tmp, *src = NULL, *dst = NULL; tmp 962 drivers/scsi/mpt3sas/mpt3sas_ctl.c memcpy(&tmp, src, ioc->sge_size); tmp 964 drivers/scsi/mpt3sas/mpt3sas_ctl.c memcpy(dst, &tmp, ioc->sge_size); tmp 385 drivers/scsi/mpt3sas/mpt3sas_transport.c u8 *tmp; tmp 409 drivers/scsi/mpt3sas/mpt3sas_transport.c tmp = (u8 *)&manufacture_reply->component_id; tmp 410 drivers/scsi/mpt3sas/mpt3sas_transport.c edev->component_id = tmp[0] << 8 | tmp[1]; tmp 31 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 33 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PCS); tmp 35 drivers/scsi/mvsas/mv_64xx.c tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT); tmp 37 drivers/scsi/mvsas/mv_64xx.c tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT2); tmp 38 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PCS, tmp); tmp 70 drivers/scsi/mvsas/mv_64xx.c u32 reg, tmp; tmp 81 drivers/scsi/mvsas/mv_64xx.c tmp = reg; tmp 83 drivers/scsi/mvsas/mv_64xx.c tmp |= (1U << phy_id) << PCTL_LINK_OFFS; tmp 85 drivers/scsi/mvsas/mv_64xx.c tmp |= (1U << (phy_id - MVS_SOC_PORTS)) << PCTL_LINK_OFFS; tmp 89 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, PCR_PHY_CTL, tmp); tmp 93 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, PCR_PHY_CTL2, tmp); tmp 98 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PHY_CTL, tmp); tmp 106 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 107 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_port_irq_stat(mvi, phy_id); tmp 108 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PHYEV_RDY_CH; tmp 109 drivers/scsi/mvsas/mv_64xx.c mvs_write_port_irq_stat(mvi, phy_id, tmp); tmp 110 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); tmp 112 drivers/scsi/mvsas/mv_64xx.c tmp |= PHY_RST_HARD; tmp 114 drivers/scsi/mvsas/mv_64xx.c tmp |= PHY_RST; tmp 115 drivers/scsi/mvsas/mv_64xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); tmp 118 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); tmp 119 drivers/scsi/mvsas/mv_64xx.c } while (tmp & PHY_RST_HARD); tmp 127 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 129 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_INT_STAT_SRS_0); tmp 130 drivers/scsi/mvsas/mv_64xx.c if (tmp) { tmp 131 drivers/scsi/mvsas/mv_64xx.c printk(KERN_DEBUG "check SRS 0 %08X.\n", tmp); tmp 132 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_INT_STAT_SRS_0, tmp); tmp 135 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_INT_STAT_SRS_0); tmp 136 drivers/scsi/mvsas/mv_64xx.c if (tmp & (1 << (reg_set % 32))) { tmp 147 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 152 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_GBL_CTL); tmp 155 drivers/scsi/mvsas/mv_64xx.c if (!(tmp & HBA_RST)) { tmp 157 drivers/scsi/mvsas/mv_64xx.c pci_read_config_dword(mvi->pdev, PCR_PHY_CTL, &tmp); tmp 158 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_PWR_OFF; tmp 159 drivers/scsi/mvsas/mv_64xx.c tmp |= PCTL_PHY_DSBL; tmp 160 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, PCR_PHY_CTL, tmp); tmp 162 drivers/scsi/mvsas/mv_64xx.c pci_read_config_dword(mvi->pdev, PCR_PHY_CTL2, &tmp); tmp 163 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_PWR_OFF; tmp 164 drivers/scsi/mvsas/mv_64xx.c tmp |= PCTL_PHY_DSBL; tmp 165 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, PCR_PHY_CTL2, tmp); tmp 171 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_GBL_CTL); tmp 174 drivers/scsi/mvsas/mv_64xx.c if (!(tmp & HBA_RST)) { tmp 197 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 206 drivers/scsi/mvsas/mv_64xx.c pci_read_config_dword(mvi->pdev, offs, &tmp); tmp 207 drivers/scsi/mvsas/mv_64xx.c tmp |= 1U << (PCTL_PHY_DSBL_OFFS + phy_id); tmp 208 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, offs, tmp); tmp 210 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PHY_CTL); tmp 211 drivers/scsi/mvsas/mv_64xx.c tmp |= 1U << (PCTL_PHY_DSBL_OFFS + phy_id); tmp 212 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PHY_CTL, tmp); tmp 219 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 228 drivers/scsi/mvsas/mv_64xx.c pci_read_config_dword(mvi->pdev, offs, &tmp); tmp 229 drivers/scsi/mvsas/mv_64xx.c tmp &= ~(1U << (PCTL_PHY_DSBL_OFFS + phy_id)); tmp 230 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, offs, tmp); tmp 232 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PHY_CTL); tmp 233 drivers/scsi/mvsas/mv_64xx.c tmp &= ~(1U << (PCTL_PHY_DSBL_OFFS + phy_id)); tmp 234 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PHY_CTL, tmp); tmp 242 drivers/scsi/mvsas/mv_64xx.c u32 tmp, cctl; tmp 248 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_64xx_chip_reset(mvi); tmp 249 drivers/scsi/mvsas/mv_64xx.c if (tmp) tmp 250 drivers/scsi/mvsas/mv_64xx.c return tmp; tmp 252 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PHY_CTL); tmp 253 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_PWR_OFF; tmp 254 drivers/scsi/mvsas/mv_64xx.c tmp |= PCTL_PHY_DSBL; tmp 255 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PHY_CTL, tmp); tmp 268 drivers/scsi/mvsas/mv_64xx.c pci_read_config_dword(mvi->pdev, PCR_DEV_CTRL, &tmp); tmp 269 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PRD_REQ_MASK; tmp 270 drivers/scsi/mvsas/mv_64xx.c tmp |= PRD_REQ_SIZE; tmp 271 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, PCR_DEV_CTRL, tmp); tmp 273 drivers/scsi/mvsas/mv_64xx.c pci_read_config_dword(mvi->pdev, PCR_PHY_CTL, &tmp); tmp 274 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_PWR_OFF; tmp 275 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_PHY_DSBL; tmp 276 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, PCR_PHY_CTL, tmp); tmp 278 drivers/scsi/mvsas/mv_64xx.c pci_read_config_dword(mvi->pdev, PCR_PHY_CTL2, &tmp); tmp 279 drivers/scsi/mvsas/mv_64xx.c tmp &= PCTL_PWR_OFF; tmp 280 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_PHY_DSBL; tmp 281 drivers/scsi/mvsas/mv_64xx.c pci_write_config_dword(mvi->pdev, PCR_PHY_CTL2, tmp); tmp 283 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PHY_CTL); tmp 284 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_PWR_OFF; tmp 285 drivers/scsi/mvsas/mv_64xx.c tmp |= PCTL_COM_ON; tmp 286 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_PHY_DSBL; tmp 287 drivers/scsi/mvsas/mv_64xx.c tmp |= PCTL_LINK_RST; tmp 288 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PHY_CTL, tmp); tmp 290 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCTL_LINK_RST; tmp 291 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PHY_CTL, tmp); tmp 300 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_cr32(mvi, CMD_PHY_MODE_21); tmp 301 drivers/scsi/mvsas/mv_64xx.c tmp &= 0x0000ffff; tmp 302 drivers/scsi/mvsas/mv_64xx.c tmp |= 0x00fa0000; tmp 303 drivers/scsi/mvsas/mv_64xx.c mvs_cw32(mvi, CMD_PHY_MODE_21, tmp); tmp 347 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_port_irq_stat(mvi, i); tmp 348 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PHYEV_SIG_FIS; tmp 349 drivers/scsi/mvsas/mv_64xx.c mvs_write_port_irq_stat(mvi, i, tmp); tmp 352 drivers/scsi/mvsas/mv_64xx.c tmp = PHYEV_RDY_CH | PHYEV_BROAD_CH | PHYEV_UNASSOC_FIS | tmp 355 drivers/scsi/mvsas/mv_64xx.c mvs_write_port_irq_mask(mvi, i, tmp); tmp 370 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PCS); tmp 371 drivers/scsi/mvsas/mv_64xx.c tmp |= PCS_CMD_RST; tmp 372 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PCS_SELF_CLEAR; tmp 373 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PCS, tmp); tmp 378 drivers/scsi/mvsas/mv_64xx.c tmp = 0; tmp 384 drivers/scsi/mvsas/mv_64xx.c tmp = 0x10000 | interrupt_coalescing; tmp 385 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_INT_COAL_TMOUT, tmp); tmp 396 drivers/scsi/mvsas/mv_64xx.c tmp = (CINT_PORT_MASK | CINT_DONE | CINT_MEM | CINT_SRS | CINT_CI_STOP | tmp 399 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_INT_MASK, tmp); tmp 423 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 425 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_GBL_CTL); tmp 426 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_GBL_CTL, tmp | INT_EN); tmp 432 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 434 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_GBL_CTL); tmp 435 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_GBL_CTL, tmp & ~INT_EN); tmp 469 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 473 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_cr32(mvi, 0x00 + (slot_idx >> 3)); tmp 474 drivers/scsi/mvsas/mv_64xx.c } while (tmp & 1 << (slot_idx % 32)); tmp 476 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_cr32(mvi, 0x40 + (slot_idx >> 3)); tmp 477 drivers/scsi/mvsas/mv_64xx.c } while (tmp & 1 << (slot_idx % 32)); tmp 484 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 487 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_INT_STAT_SRS_0) | (1U << tfs); tmp 488 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_INT_STAT_SRS_0, tmp); tmp 491 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PCS) | 0xFF00; tmp 492 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PCS, tmp); tmp 498 drivers/scsi/mvsas/mv_64xx.c u32 tmp, offs; tmp 505 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PCS); tmp 506 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PCS, tmp & ~offs); tmp 508 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_CTL); tmp 509 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_CTL, tmp & ~offs); tmp 512 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_INT_STAT_SRS_0) & (1U << *tfs); tmp 513 drivers/scsi/mvsas/mv_64xx.c if (tmp) tmp 514 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_INT_STAT_SRS_0, tmp); tmp 523 drivers/scsi/mvsas/mv_64xx.c u32 tmp, offs; tmp 529 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PCS); tmp 533 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_CTL); tmp 535 drivers/scsi/mvsas/mv_64xx.c if (!(tmp & offs)) { tmp 539 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PCS, tmp | offs); tmp 541 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_CTL, tmp | offs); tmp 542 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_INT_STAT_SRS_0) & (1U << i); tmp 543 drivers/scsi/mvsas/mv_64xx.c if (tmp) tmp 544 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_INT_STAT_SRS_0, tmp); tmp 608 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 611 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_port_vsr_data(mvi, i); tmp 615 drivers/scsi/mvsas/mv_64xx.c tmp &= ~PHY_MODE6_LATECLK; tmp 617 drivers/scsi/mvsas/mv_64xx.c tmp |= PHY_MODE6_LATECLK; tmp 618 drivers/scsi/mvsas/mv_64xx.c mvs_write_port_vsr_data(mvi, i, tmp); tmp 625 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 627 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); tmp 632 drivers/scsi/mvsas/mv_64xx.c tmp &= ~(0xf << 8); tmp 633 drivers/scsi/mvsas/mv_64xx.c tmp |= lrmin; tmp 636 drivers/scsi/mvsas/mv_64xx.c tmp &= ~(0xf << 12); tmp 637 drivers/scsi/mvsas/mv_64xx.c tmp |= lrmax; tmp 639 drivers/scsi/mvsas/mv_64xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); tmp 645 drivers/scsi/mvsas/mv_64xx.c u32 tmp; tmp 647 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_PCS); tmp 648 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PCS, tmp & 0xFFFF); tmp 649 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_PCS, tmp); tmp 650 drivers/scsi/mvsas/mv_64xx.c tmp = mr32(MVS_CTL); tmp 651 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_CTL, tmp & 0xFFFF); tmp 652 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_CTL, tmp); tmp 742 drivers/scsi/mvsas/mv_64xx.c u32 tmp = 0; tmp 756 drivers/scsi/mvsas/mv_64xx.c tmp = 0x10000 | time; tmp 757 drivers/scsi/mvsas/mv_64xx.c mw32(MVS_INT_COAL_TMOUT, tmp); tmp 38 drivers/scsi/mvsas/mv_94xx.c u32 tmp, setting_0 = 0, setting_1 = 0; tmp 81 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); tmp 82 drivers/scsi/mvsas/mv_94xx.c tmp &= ~(0xFBE << 16); tmp 83 drivers/scsi/mvsas/mv_94xx.c tmp |= (((phy_tuning.trans_emp_en << 11) | tmp 86 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); tmp 90 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); tmp 91 drivers/scsi/mvsas/mv_94xx.c tmp &= ~(0xC000); tmp 92 drivers/scsi/mvsas/mv_94xx.c tmp |= (phy_tuning.trans_amp_adj << 14); tmp 93 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); tmp 100 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 115 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); tmp 116 drivers/scsi/mvsas/mv_94xx.c tmp &= ~0xFF; tmp 119 drivers/scsi/mvsas/mv_94xx.c tmp |= ((0x1 << 7) | tmp 123 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); tmp 130 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); tmp 131 drivers/scsi/mvsas/mv_94xx.c tmp &= ~0x40001; tmp 134 drivers/scsi/mvsas/mv_94xx.c tmp |= (0 << 18); tmp 135 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); tmp 143 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); tmp 144 drivers/scsi/mvsas/mv_94xx.c tmp &= ~0xFFF; tmp 147 drivers/scsi/mvsas/mv_94xx.c tmp |= ((0x3F << 6) | (0x0 << 0)); tmp 148 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); tmp 155 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); tmp 156 drivers/scsi/mvsas/mv_94xx.c tmp &= ~0x8; tmp 159 drivers/scsi/mvsas/mv_94xx.c tmp |= (0 << 3); tmp 160 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp); tmp 247 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 249 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_PCS); tmp 250 drivers/scsi/mvsas/mv_94xx.c tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT2); tmp 251 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_PCS, tmp); tmp 256 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 260 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_cfg_data(mvi, phy_id); tmp 261 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_cfg_data(mvi, phy_id, tmp|0x20000000); tmp 262 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_cfg_data(mvi, phy_id, tmp|0x100000); tmp 265 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_irq_stat(mvi, phy_id); tmp 266 drivers/scsi/mvsas/mv_94xx.c tmp &= ~PHYEV_RDY_CH; tmp 267 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_irq_stat(mvi, phy_id, tmp); tmp 269 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); tmp 270 drivers/scsi/mvsas/mv_94xx.c tmp |= PHY_RST_HARD; tmp 271 drivers/scsi/mvsas/mv_94xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); tmp 273 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); tmp 276 drivers/scsi/mvsas/mv_94xx.c } while ((tmp & PHY_RST_HARD) && delay); tmp 280 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); tmp 281 drivers/scsi/mvsas/mv_94xx.c tmp |= PHY_RST; tmp 282 drivers/scsi/mvsas/mv_94xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); tmp 288 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 290 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); tmp 291 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp | 0x00800000); tmp 296 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 312 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_vsr_data(mvi, phy_id); tmp 313 drivers/scsi/mvsas/mv_94xx.c tmp |= bit(0); tmp 314 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_vsr_data(mvi, phy_id, tmp & 0xfd7fffff); tmp 320 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 322 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_HST_CHIP_CONFIG); tmp 323 drivers/scsi/mvsas/mv_94xx.c tmp |= 0x100; tmp 324 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_HST_CHIP_CONFIG, tmp); tmp 366 drivers/scsi/mvsas/mv_94xx.c u32 tmp, cctl; tmp 372 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_PHY_CTL); tmp 373 drivers/scsi/mvsas/mv_94xx.c tmp &= ~PCTL_PWR_OFF; tmp 374 drivers/scsi/mvsas/mv_94xx.c tmp |= PCTL_PHY_DSBL; tmp 375 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_PHY_CTL, tmp); tmp 387 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_PHY_CTL); tmp 388 drivers/scsi/mvsas/mv_94xx.c tmp &= ~PCTL_PWR_OFF; tmp 389 drivers/scsi/mvsas/mv_94xx.c tmp |= PCTL_COM_ON; tmp 390 drivers/scsi/mvsas/mv_94xx.c tmp &= ~PCTL_PHY_DSBL; tmp 391 drivers/scsi/mvsas/mv_94xx.c tmp |= PCTL_LINK_RST; tmp 392 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_PHY_CTL, tmp); tmp 394 drivers/scsi/mvsas/mv_94xx.c tmp &= ~PCTL_LINK_RST; tmp 395 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_PHY_CTL, tmp); tmp 430 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_cr32(mvi, CMD_SAS_CTL1); tmp 434 drivers/scsi/mvsas/mv_94xx.c tmp &= ~0xffff; tmp 435 drivers/scsi/mvsas/mv_94xx.c tmp |= 0x007f; tmp 436 drivers/scsi/mvsas/mv_94xx.c mvs_cw32(mvi, CMD_SAS_CTL1, tmp); tmp 441 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_PA_VSR_PORT); tmp 442 drivers/scsi/mvsas/mv_94xx.c tmp &= 0xFFFF00FF; tmp 443 drivers/scsi/mvsas/mv_94xx.c tmp |= 0x00003300; tmp 444 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_PA_VSR_PORT, tmp); tmp 488 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_port_irq_stat(mvi, i); tmp 489 drivers/scsi/mvsas/mv_94xx.c tmp &= ~PHYEV_SIG_FIS; tmp 490 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_irq_stat(mvi, i, tmp); tmp 493 drivers/scsi/mvsas/mv_94xx.c tmp = PHYEV_RDY_CH | PHYEV_BROAD_CH | tmp 495 drivers/scsi/mvsas/mv_94xx.c mvs_write_port_irq_mask(mvi, i, tmp); tmp 509 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_PCS); tmp 510 drivers/scsi/mvsas/mv_94xx.c tmp |= PCS_CMD_RST; tmp 511 drivers/scsi/mvsas/mv_94xx.c tmp &= ~PCS_SELF_CLEAR; tmp 512 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_PCS, tmp); tmp 517 drivers/scsi/mvsas/mv_94xx.c tmp = 0; tmp 524 drivers/scsi/mvsas/mv_94xx.c tmp = 0x10000 | interrupt_coalescing; tmp 525 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_INT_COAL_TMOUT, tmp); tmp 536 drivers/scsi/mvsas/mv_94xx.c tmp = (CINT_PORT_MASK | CINT_DONE | CINT_MEM | CINT_SRS | CINT_CI_STOP | tmp 538 drivers/scsi/mvsas/mv_94xx.c tmp |= CINT_PHY_MASK; tmp 539 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_INT_MASK, tmp); tmp 541 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_cr32(mvi, CMD_LINK_TIMER); tmp 542 drivers/scsi/mvsas/mv_94xx.c tmp |= 0xFFFF0000; tmp 543 drivers/scsi/mvsas/mv_94xx.c mvs_cw32(mvi, CMD_LINK_TIMER, tmp); tmp 546 drivers/scsi/mvsas/mv_94xx.c tmp = 0x003F003F; tmp 547 drivers/scsi/mvsas/mv_94xx.c mvs_cw32(mvi, CMD_PL_TIMER, tmp); tmp 550 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_cr32(mvi, CMD_PORT_LAYER_TIMER1); tmp 551 drivers/scsi/mvsas/mv_94xx.c tmp |= 0xFFFF007F; tmp 552 drivers/scsi/mvsas/mv_94xx.c mvs_cw32(mvi, CMD_PORT_LAYER_TIMER1, tmp); tmp 556 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_cr32(mvi, CMD_SL_MODE0); tmp 557 drivers/scsi/mvsas/mv_94xx.c tmp |= 0x00000300; tmp 559 drivers/scsi/mvsas/mv_94xx.c tmp &= 0xFFFFFFFE; tmp 560 drivers/scsi/mvsas/mv_94xx.c mvs_cw32(mvi, CMD_SL_MODE0, tmp); tmp 595 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 597 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_GBL_CTL); tmp 598 drivers/scsi/mvsas/mv_94xx.c tmp |= (MVS_IRQ_SAS_A | MVS_IRQ_SAS_B); tmp 599 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_GBL_INT_STAT, tmp); tmp 600 drivers/scsi/mvsas/mv_94xx.c writel(tmp, regs + 0x0C); tmp 601 drivers/scsi/mvsas/mv_94xx.c writel(tmp, regs + 0x10); tmp 602 drivers/scsi/mvsas/mv_94xx.c writel(tmp, regs + 0x14); tmp 603 drivers/scsi/mvsas/mv_94xx.c writel(tmp, regs + 0x18); tmp 604 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_GBL_CTL, tmp); tmp 610 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 612 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_GBL_CTL); tmp 614 drivers/scsi/mvsas/mv_94xx.c tmp &= ~(MVS_IRQ_SAS_A | MVS_IRQ_SAS_B); tmp 615 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_GBL_INT_STAT, tmp); tmp 616 drivers/scsi/mvsas/mv_94xx.c writel(tmp, regs + 0x0C); tmp 617 drivers/scsi/mvsas/mv_94xx.c writel(tmp, regs + 0x10); tmp 618 drivers/scsi/mvsas/mv_94xx.c writel(tmp, regs + 0x14); tmp 619 drivers/scsi/mvsas/mv_94xx.c writel(tmp, regs + 0x18); tmp 620 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_GBL_CTL, tmp); tmp 653 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 654 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_cr32(mvi, MVS_COMMAND_ACTIVE+(slot_idx >> 3)); tmp 655 drivers/scsi/mvsas/mv_94xx.c if (tmp & 1 << (slot_idx % 32)) { tmp 656 drivers/scsi/mvsas/mv_94xx.c mv_printk("command active %08X, slot [%x].\n", tmp, slot_idx); tmp 660 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_cr32(mvi, tmp 662 drivers/scsi/mvsas/mv_94xx.c } while (tmp & 1 << (slot_idx % 32)); tmp 670 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 673 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_INT_STAT_SRS_0); tmp 674 drivers/scsi/mvsas/mv_94xx.c if (tmp) { tmp 675 drivers/scsi/mvsas/mv_94xx.c mv_dprintk("check SRS 0 %08X.\n", tmp); tmp 676 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_INT_STAT_SRS_0, tmp); tmp 678 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_INT_STAT_SRS_1); tmp 679 drivers/scsi/mvsas/mv_94xx.c if (tmp) { tmp 680 drivers/scsi/mvsas/mv_94xx.c mv_dprintk("check SRS 1 %08X.\n", tmp); tmp 681 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_INT_STAT_SRS_1, tmp); tmp 685 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_INT_STAT_SRS_1); tmp 687 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_INT_STAT_SRS_0); tmp 689 drivers/scsi/mvsas/mv_94xx.c if (tmp & (1 << (reg_set % 32))) { tmp 703 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 706 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_INT_STAT); tmp 707 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_INT_STAT, tmp | CINT_CI_STOP); tmp 708 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_PCS) | 0xFF00; tmp 709 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_PCS, tmp); tmp 898 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 900 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_read_phy_ctl(mvi, phy_id); tmp 904 drivers/scsi/mvsas/mv_94xx.c tmp &= ~(0x3 << 12); tmp 905 drivers/scsi/mvsas/mv_94xx.c tmp |= lrmax; tmp 907 drivers/scsi/mvsas/mv_94xx.c mvs_write_phy_ctl(mvi, phy_id, tmp); tmp 913 drivers/scsi/mvsas/mv_94xx.c u32 tmp; tmp 915 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_STP_REG_SET_0); tmp 917 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_STP_REG_SET_0, tmp); tmp 918 drivers/scsi/mvsas/mv_94xx.c tmp = mr32(MVS_STP_REG_SET_1); tmp 920 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_STP_REG_SET_1, tmp); tmp 1021 drivers/scsi/mvsas/mv_94xx.c u32 tmp = 0; tmp 1035 drivers/scsi/mvsas/mv_94xx.c tmp = 0x10000 | time; tmp 1036 drivers/scsi/mvsas/mv_94xx.c mw32(MVS_INT_COAL_TMOUT, tmp); tmp 327 drivers/scsi/mvsas/mv_94xx.h #define w_reg_set_enable(i, tmp) \ tmp 328 drivers/scsi/mvsas/mv_94xx.h (((i) > 31) ? mw32(MVS_STP_REG_SET_1, tmp) : \ tmp 329 drivers/scsi/mvsas/mv_94xx.h mw32(MVS_STP_REG_SET_0, tmp)) tmp 149 drivers/scsi/mvsas/mv_chips.h u32 tmp; tmp 151 drivers/scsi/mvsas/mv_chips.h tmp = mvs_cr32(mvi, CMD_PHY_TIMER); tmp 152 drivers/scsi/mvsas/mv_chips.h tmp &= ~(1 << 9); tmp 153 drivers/scsi/mvsas/mv_chips.h tmp |= (1 << 10); tmp 154 drivers/scsi/mvsas/mv_chips.h mvs_cw32(mvi, CMD_PHY_TIMER, tmp); tmp 160 drivers/scsi/mvsas/mv_chips.h tmp = mvs_cr32(mvi, CMD_SAS_CTL0); tmp 161 drivers/scsi/mvsas/mv_chips.h tmp &= ~0xffff; tmp 162 drivers/scsi/mvsas/mv_chips.h tmp |= 0x3fff; tmp 163 drivers/scsi/mvsas/mv_chips.h mvs_cw32(mvi, CMD_SAS_CTL0, tmp); tmp 173 drivers/scsi/mvsas/mv_chips.h u32 tmp; tmp 175 drivers/scsi/mvsas/mv_chips.h tmp = mr32(MVS_INT_STAT_SRS_0); tmp 176 drivers/scsi/mvsas/mv_chips.h if (tmp) tmp 177 drivers/scsi/mvsas/mv_chips.h mw32(MVS_INT_STAT_SRS_0, tmp); tmp 184 drivers/scsi/mvsas/mv_chips.h u32 tmp, stat; tmp 191 drivers/scsi/mvsas/mv_chips.h tmp = (stat >> i) & (CINT_PORT | CINT_PORT_STOPPED); tmp 192 drivers/scsi/mvsas/mv_chips.h if (tmp) tmp 193 drivers/scsi/mvsas/mv_chips.h mvs_int_port(mvi, i, tmp); tmp 167 drivers/scsi/mvsas/mv_sas.c u32 tmp, i = 0, hi; tmp 185 drivers/scsi/mvsas/mv_sas.c tmp = MVS_CHIP_DISP->read_phy_ctl(mvi, phy_id); tmp 186 drivers/scsi/mvsas/mv_sas.c if (tmp & PHY_RST_HARD) tmp 938 drivers/scsi/mvsas/mv_sas.c u32 tmp; tmp 942 drivers/scsi/mvsas/mv_sas.c tmp = MVS_CHIP_DISP->read_phy_ctl(mvi, i); tmp 943 drivers/scsi/mvsas/mv_sas.c if ((tmp & PHY_READY_MASK) && !(phy->irq_status & PHYEV_POOF)) { tmp 946 drivers/scsi/mvsas/mv_sas.c return tmp; tmp 1033 drivers/scsi/mvsas/mv_sas.c u32 tmp; tmp 1036 drivers/scsi/mvsas/mv_sas.c tmp = MVS_CHIP_DISP->read_port_irq_mask(mvi, i); tmp 1038 drivers/scsi/mvsas/mv_sas.c tmp | PHYEV_SIG_FIS); tmp 1891 drivers/scsi/mvsas/mv_sas.c u32 tmp; tmp 1893 drivers/scsi/mvsas/mv_sas.c tmp = MVS_CHIP_DISP->read_phy_ctl(mvi, phy_no); tmp 1895 drivers/scsi/mvsas/mv_sas.c if (!(tmp & PHY_READY_MASK)) { tmp 1956 drivers/scsi/mvsas/mv_sas.c u32 tmp; tmp 2001 drivers/scsi/mvsas/mv_sas.c tmp = MVS_CHIP_DISP->read_port_irq_mask(mvi, phy_no); tmp 2003 drivers/scsi/mvsas/mv_sas.c tmp | PHYEV_SIG_FIS); tmp 2017 drivers/scsi/mvsas/mv_sas.c tmp = MVS_CHIP_DISP->read_port_irq_mask( tmp 2019 drivers/scsi/mvsas/mv_sas.c tmp &= ~PHYEV_SIG_FIS; tmp 2021 drivers/scsi/mvsas/mv_sas.c phy_no, tmp); tmp 158 drivers/scsi/mvumi.c struct mvumi_res *res, *tmp; tmp 160 drivers/scsi/mvumi.c list_for_each_entry_safe(res, tmp, &mhba->res_list, entry) { tmp 608 drivers/scsi/mvumi.c u32 tmp; tmp 613 drivers/scsi/mvumi.c tmp = ioread32(regs->arm_to_pciea_msg1); tmp 614 drivers/scsi/mvumi.c while (tmp != HANDSHAKE_READYSTATE) { tmp 618 drivers/scsi/mvumi.c "FW reset failed [0x%x].\n", tmp); tmp 624 drivers/scsi/mvumi.c tmp = ioread32(regs->arm_to_pciea_msg1); tmp 1093 drivers/scsi/mvumi.c unsigned int hs_state, tmp, hs_fun; tmp 1100 drivers/scsi/mvumi.c tmp = ioread32(regs->arm_to_pciea_msg0); tmp 1101 drivers/scsi/mvumi.c hs_state = HS_GET_STATE(tmp); tmp 1103 drivers/scsi/mvumi.c if (HS_GET_STATUS(tmp) != HS_STATUS_OK) { tmp 1174 drivers/scsi/mvumi.c tmp = ioread32(regs->enpointa_mask_reg); tmp 1175 drivers/scsi/mvumi.c tmp |= regs->int_comaout | regs->int_comaerr; tmp 1176 drivers/scsi/mvumi.c iowrite32(tmp, regs->enpointa_mask_reg); tmp 1240 drivers/scsi/mvumi.c unsigned int tmp; tmp 1244 drivers/scsi/mvumi.c tmp = ioread32(mhba->regs->arm_to_pciea_msg1); tmp 1245 drivers/scsi/mvumi.c while ((tmp != HANDSHAKE_READYSTATE) && (tmp != HANDSHAKE_DONESTATE)) { tmp 1246 drivers/scsi/mvumi.c if (tmp != HANDSHAKE_READYSTATE) tmp 1251 drivers/scsi/mvumi.c "invalid signature [0x%x].\n", tmp); tmp 1256 drivers/scsi/mvumi.c tmp = ioread32(mhba->regs->arm_to_pciea_msg1); tmp 1277 drivers/scsi/mvumi.c unsigned int tmp; tmp 1281 drivers/scsi/mvumi.c tmp = ioread32(regs->arm_to_pciea_drbl_reg); tmp 1282 drivers/scsi/mvumi.c iowrite32(tmp, regs->arm_to_pciea_drbl_reg); tmp 1285 drivers/scsi/mvumi.c tmp = ioread32(regs->enpointa_mask_reg) | regs->int_dl_cpu2pciea; tmp 1286 drivers/scsi/mvumi.c iowrite32(tmp, regs->enpointa_mask_reg); tmp 1928 drivers/scsi/mvumi.c unsigned int status, isr_status = 0, tmp = 0; tmp 1935 drivers/scsi/mvumi.c tmp = ioread32(regs->outb_isr_cause); tmp 1937 drivers/scsi/mvumi.c if (tmp & regs->clic_out_err) { tmp 1938 drivers/scsi/mvumi.c iowrite32(tmp & regs->clic_out_err, tmp 1942 drivers/scsi/mvumi.c if (tmp & (regs->clic_in_err | regs->clic_out_err)) tmp 1943 drivers/scsi/mvumi.c iowrite32(tmp & (regs->clic_in_err | tmp 1951 drivers/scsi/mvumi.c tmp = ioread32(regs->outb_isr_cause); tmp 1952 drivers/scsi/mvumi.c if (tmp & regs->clic_irq) tmp 1953 drivers/scsi/mvumi.c iowrite32(tmp & regs->clic_irq, regs->outb_isr_cause); tmp 2152 drivers/scsi/mvumi.c unsigned long tmp; tmp 2156 drivers/scsi/mvumi.c tmp = heads * sectors; tmp 2158 drivers/scsi/mvumi.c sector_div(cylinders, tmp); tmp 2163 drivers/scsi/mvumi.c tmp = heads * sectors; tmp 2165 drivers/scsi/mvumi.c sector_div(cylinders, tmp); tmp 2659 drivers/scsi/nsp32.c nsp32_lunt tmp = { tmp 2669 drivers/scsi/nsp32.c data->lunt[i][j] = tmp; tmp 3186 drivers/scsi/nsp32.c int tmp; tmp 3188 drivers/scsi/nsp32.c tmp = nsp32_index_read1(base, SERIAL_ROM_CTL); tmp 3191 drivers/scsi/nsp32.c tmp &= ~bit; tmp 3193 drivers/scsi/nsp32.c tmp |= bit; tmp 3196 drivers/scsi/nsp32.c nsp32_index_write1(base, SERIAL_ROM_CTL, tmp); tmp 3204 drivers/scsi/nsp32.c int tmp, ret; tmp 3212 drivers/scsi/nsp32.c tmp = nsp32_index_read1(base, SERIAL_ROM_CTL) & bit; tmp 3214 drivers/scsi/nsp32.c if (tmp == 0) { tmp 657 drivers/scsi/pcmcia/nsp_cs.c unsigned char id_reg, tmp; tmp 663 drivers/scsi/pcmcia/nsp_cs.c tmp = id_reg & (~BIT(host_id)); tmp 665 drivers/scsi/pcmcia/nsp_cs.c while(tmp != 0) { tmp 666 drivers/scsi/pcmcia/nsp_cs.c if (tmp & BIT(0)) { tmp 669 drivers/scsi/pcmcia/nsp_cs.c tmp >>= 1; tmp 962 drivers/scsi/pcmcia/nsp_cs.c int i, tmp; tmp 1278 drivers/scsi/pcmcia/nsp_cs.c tmp = -1; tmp 1280 drivers/scsi/pcmcia/nsp_cs.c tmp = data->MsgBuffer[i]; tmp 1285 drivers/scsi/pcmcia/nsp_cs.c tmpSC->SCp.Message = tmp; tmp 225 drivers/scsi/pcmcia/nsp_io.h unsigned long *tmp = (unsigned long *)buf; tmp 231 drivers/scsi/pcmcia/nsp_io.h *tmp = readl(ptr); tmp 233 drivers/scsi/pcmcia/nsp_io.h tmp++; tmp 251 drivers/scsi/pcmcia/nsp_io.h unsigned long *tmp = (unsigned long *)buf; tmp 257 drivers/scsi/pcmcia/nsp_io.h writel(*tmp, ptr); tmp 259 drivers/scsi/pcmcia/nsp_io.h tmp++; tmp 2506 drivers/scsi/qedf/qedf_io.c uint16_t tmp; tmp 2604 drivers/scsi/qedf/qedf_io.c tmp = readw(qedf->bdq_primary_prod); tmp 2606 drivers/scsi/qedf/qedf_io.c tmp = readw(qedf->bdq_secondary_prod); tmp 3166 drivers/scsi/qedf/qedf_main.c u16 tmp; tmp 3347 drivers/scsi/qedf/qedf_main.c tmp = readw(qedf->bdq_primary_prod); tmp 3349 drivers/scsi/qedf/qedf_main.c tmp = readw(qedf->bdq_secondary_prod); tmp 355 drivers/scsi/qedi/qedi_fw.c u16 tmp; tmp 384 drivers/scsi/qedi/qedi_fw.c tmp = readw(qedi->bdq_primary_prod); tmp 387 drivers/scsi/qedi/qedi_fw.c tmp = readw(qedi->bdq_secondary_prod); tmp 814 drivers/scsi/qedi/qedi_iscsi.c int ret, tmp; tmp 928 drivers/scsi/qedi/qedi_iscsi.c tmp = qedi_ops->release_conn(qedi->cdev, qedi_ep->handle); tmp 929 drivers/scsi/qedi/qedi_iscsi.c if (tmp) tmp 931 drivers/scsi/qedi/qedi_iscsi.c tmp); tmp 1860 drivers/scsi/qedi/qedi_main.c struct qedi_work *work, *tmp; tmp 1872 drivers/scsi/qedi/qedi_main.c list_for_each_entry_safe(work, tmp, &work_list, list) { tmp 1910 drivers/scsi/qedi/qedi_main.c struct qedi_work *work, *tmp; tmp 1917 drivers/scsi/qedi/qedi_main.c list_for_each_entry_safe(work, tmp, &p->work_list, list) { tmp 2403 drivers/scsi/qedi/qedi_main.c u16 tmp; tmp 2504 drivers/scsi/qedi/qedi_main.c tmp = readw(qedi->bdq_primary_prod); tmp 2506 drivers/scsi/qedi/qedi_main.c tmp = readw(qedi->bdq_secondary_prod); tmp 5212 drivers/scsi/qla2xxx/qla_os.c struct qla_work_evt *e, *tmp; tmp 5221 drivers/scsi/qla2xxx/qla_os.c list_for_each_entry_safe(e, tmp, &work, list) { tmp 918 drivers/scsi/qla2xxx/qla_target.c qlt_port_logo_t *tmp; tmp 923 drivers/scsi/qla2xxx/qla_target.c list_for_each_entry(tmp, &vha->logo_list, list) { tmp 924 drivers/scsi/qla2xxx/qla_target.c if (tmp->id.b24 == logo->id.b24) { tmp 925 drivers/scsi/qla2xxx/qla_target.c tmp->cmd_count += logo->cmd_count; tmp 1879 drivers/scsi/qla2xxx/qla_target.c u16 tmp; tmp 1909 drivers/scsi/qla2xxx/qla_target.c tmp = (CTIO7_FLAGS_STATUS_MODE_1 | CTIO7_FLAGS_TERMINATE); tmp 1915 drivers/scsi/qla2xxx/qla_target.c tmp |= (mcmd->abort_io_attr << 9); tmp 1917 drivers/scsi/qla2xxx/qla_target.c tmp |= (0x4 << 9); tmp 1922 drivers/scsi/qla2xxx/qla_target.c tmp |= (0x4 << 9); tmp 1924 drivers/scsi/qla2xxx/qla_target.c ctio->u.status1.flags = cpu_to_le16(tmp); tmp 6844 drivers/scsi/qla2xxx/qla_target.c u32 tmp; tmp 6899 drivers/scsi/qla2xxx/qla_target.c tmp = ~(BIT_4|BIT_5|BIT_6); tmp 6900 drivers/scsi/qla2xxx/qla_target.c nv->firmware_options_2 &= cpu_to_le32(tmp); tmp 6901 drivers/scsi/qla2xxx/qla_target.c tmp = P2P << 4; tmp 6902 drivers/scsi/qla2xxx/qla_target.c nv->firmware_options_2 |= cpu_to_le32(tmp); tmp 6950 drivers/scsi/qla2xxx/qla_target.c u32 tmp; tmp 7003 drivers/scsi/qla2xxx/qla_target.c tmp = ~(BIT_4|BIT_5|BIT_6); tmp 7004 drivers/scsi/qla2xxx/qla_target.c nv->firmware_options_2 &= cpu_to_le32(tmp); tmp 7005 drivers/scsi/qla2xxx/qla_target.c tmp = P2P << 4; tmp 7006 drivers/scsi/qla2xxx/qla_target.c nv->firmware_options_2 |= cpu_to_le32(tmp); tmp 722 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_template *tmp = buf; tmp 724 drivers/scsi/qla2xxx/qla_tmpl.c tmp->count--; tmp 827 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_template *tmp, void *buf, ulong *len) tmp 829 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_entry *ent = (void *)tmp + tmp 830 drivers/scsi/qla2xxx/qla_tmpl.c le32_to_cpu(tmp->entry_offset); tmp 833 drivers/scsi/qla2xxx/qla_tmpl.c tmp->count = le32_to_cpu(tmp->entry_count); tmp 835 drivers/scsi/qla2xxx/qla_tmpl.c "%s: entry count %u\n", __func__, tmp->count); tmp 836 drivers/scsi/qla2xxx/qla_tmpl.c while (ent && tmp->count--) { tmp 843 drivers/scsi/qla2xxx/qla_tmpl.c if (tmp->count) tmp 845 drivers/scsi/qla2xxx/qla_tmpl.c "%s: entry count residual=+%u\n", __func__, tmp->count); tmp 853 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_time_stamp(struct qla27xx_fwdt_template *tmp) tmp 855 drivers/scsi/qla2xxx/qla_tmpl.c tmp->capture_timestamp = jiffies; tmp 859 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_driver_info(struct qla27xx_fwdt_template *tmp) tmp 867 drivers/scsi/qla2xxx/qla_tmpl.c tmp->driver_info[0] = v[3] << 24 | v[2] << 16 | v[1] << 8 | v[0]; tmp 868 drivers/scsi/qla2xxx/qla_tmpl.c tmp->driver_info[1] = v[5] << 8 | v[4]; tmp 869 drivers/scsi/qla2xxx/qla_tmpl.c tmp->driver_info[2] = 0x12345678; tmp 874 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_template *tmp) tmp 876 drivers/scsi/qla2xxx/qla_tmpl.c tmp->firmware_version[0] = vha->hw->fw_major_version; tmp 877 drivers/scsi/qla2xxx/qla_tmpl.c tmp->firmware_version[1] = vha->hw->fw_minor_version; tmp 878 drivers/scsi/qla2xxx/qla_tmpl.c tmp->firmware_version[2] = vha->hw->fw_subminor_version; tmp 879 drivers/scsi/qla2xxx/qla_tmpl.c tmp->firmware_version[3] = tmp 881 drivers/scsi/qla2xxx/qla_tmpl.c tmp->firmware_version[4] = tmp 887 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_template *tmp) tmp 889 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_time_stamp(tmp); tmp 890 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_driver_info(tmp); tmp 891 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_firmware_info(vha, tmp); tmp 911 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_verify_template_checksum(struct qla27xx_fwdt_template *tmp) tmp 913 drivers/scsi/qla2xxx/qla_tmpl.c return qla27xx_template_checksum(tmp, tmp->template_size) == 0; tmp 917 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_verify_template_header(struct qla27xx_fwdt_template *tmp) tmp 919 drivers/scsi/qla2xxx/qla_tmpl.c return le32_to_cpu(tmp->template_type) == TEMPLATE_TYPE_FWDUMP; tmp 924 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_template *tmp, void *buf) tmp 928 drivers/scsi/qla2xxx/qla_tmpl.c if (qla27xx_fwdt_template_valid(tmp)) { tmp 929 drivers/scsi/qla2xxx/qla_tmpl.c len = tmp->template_size; tmp 930 drivers/scsi/qla2xxx/qla_tmpl.c tmp = memcpy(buf, tmp, len); tmp 931 drivers/scsi/qla2xxx/qla_tmpl.c ql27xx_edit_template(vha, tmp); tmp 932 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_walk_template(vha, tmp, buf, &len); tmp 941 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_template *tmp = p; tmp 944 drivers/scsi/qla2xxx/qla_tmpl.c if (qla27xx_fwdt_template_valid(tmp)) { tmp 945 drivers/scsi/qla2xxx/qla_tmpl.c len = tmp->template_size; tmp 946 drivers/scsi/qla2xxx/qla_tmpl.c qla27xx_walk_template(vha, tmp, NULL, &len); tmp 955 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_template *tmp = p; tmp 957 drivers/scsi/qla2xxx/qla_tmpl.c return tmp->template_size; tmp 963 drivers/scsi/qla2xxx/qla_tmpl.c struct qla27xx_fwdt_template *tmp = p; tmp 965 drivers/scsi/qla2xxx/qla_tmpl.c if (!qla27xx_verify_template_header(tmp)) { tmp 968 drivers/scsi/qla2xxx/qla_tmpl.c le32_to_cpu(tmp->template_type)); tmp 972 drivers/scsi/qla2xxx/qla_tmpl.c if (!qla27xx_verify_template_checksum(tmp)) { tmp 1726 drivers/scsi/qla2xxx/tcm_qla2xxx.c char *p, tmp[128]; tmp 1729 drivers/scsi/qla2xxx/tcm_qla2xxx.c snprintf(tmp, 128, "%s", name); tmp 1731 drivers/scsi/qla2xxx/tcm_qla2xxx.c p = strchr(tmp, '@'); tmp 1738 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (tcm_qla2xxx_parse_wwn(tmp, &phys_wwpn, 1) < 0) tmp 5235 drivers/scsi/qla4xxx/ql4_os.c struct qla4_work_evt *e, *tmp; tmp 5243 drivers/scsi/qla4xxx/ql4_os.c list_for_each_entry_safe(e, tmp, &work, list) { tmp 180 drivers/scsi/qlogicpti.c u16 tmp; tmp 186 drivers/scsi/qlogicpti.c tmp = sbus_readw(qpti->qregs + SBUS_SEMAPHORE); tmp 187 drivers/scsi/qlogicpti.c tmp |= SBUS_SEMAPHORE_LCK; tmp 188 drivers/scsi/qlogicpti.c sbus_writew(tmp, qpti->qregs + SBUS_SEMAPHORE); tmp 216 drivers/scsi/qlogicpti.c tmp = sbus_readw(qpti->qregs + HCCTRL); tmp 217 drivers/scsi/qlogicpti.c tmp |= HCCTRL_CRIRQ; tmp 218 drivers/scsi/qlogicpti.c sbus_writew(tmp, qpti->qregs + HCCTRL); tmp 224 drivers/scsi/qlogicpti.c tmp = sbus_readw(qpti->qregs + HCCTRL); tmp 225 drivers/scsi/qlogicpti.c tmp |= HCCTRL_SHIRQ; tmp 226 drivers/scsi/qlogicpti.c sbus_writew(tmp, qpti->qregs + HCCTRL); tmp 275 drivers/scsi/qlogicpti.c tmp = sbus_readw(qpti->qregs + HCCTRL); tmp 276 drivers/scsi/qlogicpti.c tmp |= HCCTRL_CRIRQ; tmp 277 drivers/scsi/qlogicpti.c sbus_writew(tmp, qpti->qregs + HCCTRL); tmp 280 drivers/scsi/qlogicpti.c tmp = sbus_readw(qpti->qregs + SBUS_SEMAPHORE); tmp 281 drivers/scsi/qlogicpti.c tmp &= ~(SBUS_SEMAPHORE_LCK); tmp 282 drivers/scsi/qlogicpti.c sbus_writew(tmp, qpti->qregs + SBUS_SEMAPHORE); tmp 5474 drivers/scsi/scsi_debug.c struct sdebug_dev_info *sdbg_devinfo, *tmp; tmp 5512 drivers/scsi/scsi_debug.c list_for_each_entry_safe(sdbg_devinfo, tmp, &sdbg_host->dev_info_list, tmp 5877 drivers/scsi/scsi_debug.c struct sdebug_dev_info *sdbg_devinfo, *tmp; tmp 5888 drivers/scsi/scsi_debug.c list_for_each_entry_safe(sdbg_devinfo, tmp, &sdbg_host->dev_info_list, tmp 89 drivers/scsi/scsi_dh.c struct scsi_device_handler *tmp, *found = NULL; tmp 92 drivers/scsi/scsi_dh.c list_for_each_entry(tmp, &scsi_dh_list, list) { tmp 93 drivers/scsi/scsi_dh.c if (!strncmp(tmp->name, name, strlen(tmp->name))) { tmp 94 drivers/scsi/scsi_dh.c found = tmp; tmp 375 drivers/scsi/scsi_lib.c struct scsi_device *sdev, *tmp; tmp 394 drivers/scsi/scsi_lib.c list_for_each_entry_safe(sdev, tmp, &starget->devices, tmp 2425 drivers/scsi/scsi_lib.c struct list_head *this, *tmp; tmp 2435 drivers/scsi/scsi_lib.c list_for_each_safe(this, tmp, &event_list) { tmp 438 drivers/scsi/scsi_sysfs.c struct list_head *this, *tmp; tmp 456 drivers/scsi/scsi_sysfs.c list_for_each_safe(this, tmp, &sdev->event_list) { tmp 1067 drivers/scsi/scsi_transport_sas.c struct sas_phy *tmp; tmp 1069 drivers/scsi/scsi_transport_sas.c list_for_each_entry(tmp, &port->phy_list, port_siblings) tmp 1070 drivers/scsi/scsi_transport_sas.c if (tmp == phy) tmp 1074 drivers/scsi/scsi_transport_sas.c if (unlikely(tmp != phy)) { tmp 1126 drivers/scsi/scsi_transport_spi.c char tmp[8]; tmp 1151 drivers/scsi/scsi_transport_spi.c sprint_frac(tmp, picosec, 1000); tmp 1164 drivers/scsi/scsi_transport_spi.c tmp, tp->offset); tmp 521 drivers/scsi/st.c struct bio *tmp; tmp 528 drivers/scsi/st.c tmp = SRpnt->bio; tmp 534 drivers/scsi/st.c blk_rq_unmap_user(tmp); tmp 1573 drivers/scsi/sym53c8xx_2/sym_glue.c u8 tmp; tmp 1584 drivers/scsi/sym53c8xx_2/sym_glue.c pci_read_config_byte(memc, 0x44, &tmp); tmp 1585 drivers/scsi/sym53c8xx_2/sym_glue.c if ((tmp & 0x2) == 0) { tmp 1586 drivers/scsi/sym53c8xx_2/sym_glue.c tmp |= 0x2; tmp 1587 drivers/scsi/sym53c8xx_2/sym_glue.c pci_write_config_byte(memc, 0x44, tmp); tmp 1591 drivers/scsi/sym53c8xx_2/sym_glue.c pci_read_config_byte(memc, 0x45, &tmp); tmp 1592 drivers/scsi/sym53c8xx_2/sym_glue.c if ((tmp & 0x4) == 0) { tmp 1593 drivers/scsi/sym53c8xx_2/sym_glue.c tmp |= 0x4; tmp 1594 drivers/scsi/sym53c8xx_2/sym_glue.c pci_write_config_byte(memc, 0x45, tmp); tmp 1601 drivers/scsi/sym53c8xx_2/sym_glue.c pci_read_config_byte(pdev, 0x84, &tmp); tmp 1602 drivers/scsi/sym53c8xx_2/sym_glue.c sym_dev->host_id = tmp; tmp 2611 drivers/scsi/sym53c8xx_2/sym_hipd.c u32 tmp; tmp 2618 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(pm->sg.addr); tmp 2619 drivers/scsi/sym53c8xx_2/sym_hipd.c cp->phys.wresid.addr = cpu_to_scr(tmp); tmp 2620 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.addr = cpu_to_scr(tmp + 1); tmp 2621 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(pm->sg.size); tmp 2622 drivers/scsi/sym53c8xx_2/sym_hipd.c cp->phys.wresid.size = cpu_to_scr((tmp&0xff000000) | 1); tmp 2623 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.size = cpu_to_scr(tmp - 1); tmp 2629 drivers/scsi/sym53c8xx_2/sym_hipd.c if ((tmp&0xffffff) == 1) tmp 3631 drivers/scsi/sym53c8xx_2/sym_hipd.c int tmp; tmp 3666 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(cp->goalp); tmp 3668 drivers/scsi/sym53c8xx_2/sym_hipd.c if (dp_scr != tmp) tmp 3669 drivers/scsi/sym53c8xx_2/sym_hipd.c dp_sg -= (tmp - 8 - (int)dp_scr) / (2*4); tmp 3688 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(cp->phys.data[dp_sg].size); tmp 3689 drivers/scsi/sym53c8xx_2/sym_hipd.c n = dp_ofs + (tmp & 0xffffff); tmp 3699 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(cp->phys.data[dp_sg].size); tmp 3700 drivers/scsi/sym53c8xx_2/sym_hipd.c dp_ofs -= (tmp & 0xffffff); tmp 3750 drivers/scsi/sym53c8xx_2/sym_hipd.c u32 tmp; tmp 3814 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(cp->phys.data[dp_sg-1].addr); tmp 3815 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp += scr_to_cpu(cp->phys.data[dp_sg-1].size) + dp_ofs; tmp 3816 drivers/scsi/sym53c8xx_2/sym_hipd.c pm->sg.addr = cpu_to_scr(tmp); tmp 3895 drivers/scsi/sym53c8xx_2/sym_hipd.c u_int tmp = scr_to_cpu(cp->phys.data[dp_sg].size); tmp 3896 drivers/scsi/sym53c8xx_2/sym_hipd.c resid += (tmp & 0xffffff); tmp 4378 drivers/scsi/sym53c8xx_2/sym_hipd.c int tmp; tmp 4558 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = (np->msgin[3]<<24) + (np->msgin[4]<<16) + tmp 4560 drivers/scsi/sym53c8xx_2/sym_hipd.c sym_modify_dp(np, tp, cp, tmp); tmp 22 drivers/scsi/ufs/ufs-mediatek.c u32 tmp; tmp 26 drivers/scsi/ufs/ufs-mediatek.c UIC_ARG_MIB(VS_SAVEPOWERCONTROL), &tmp); tmp 27 drivers/scsi/ufs/ufs-mediatek.c tmp = tmp | tmp 32 drivers/scsi/ufs/ufs-mediatek.c UIC_ARG_MIB(VS_SAVEPOWERCONTROL), tmp); tmp 35 drivers/scsi/ufs/ufs-mediatek.c UIC_ARG_MIB(VS_DEBUGCLOCKENABLE), &tmp); tmp 36 drivers/scsi/ufs/ufs-mediatek.c tmp = tmp & ~(1 << TX_SYMBOL_CLK_REQ_FORCE); tmp 38 drivers/scsi/ufs/ufs-mediatek.c UIC_ARG_MIB(VS_DEBUGCLOCKENABLE), tmp); tmp 41 drivers/scsi/ufs/ufs-mediatek.c UIC_ARG_MIB(VS_SAVEPOWERCONTROL), &tmp); tmp 42 drivers/scsi/ufs/ufs-mediatek.c tmp = tmp & ~((1 << RX_SYMBOL_CLK_GATE_EN) | tmp 46 drivers/scsi/ufs/ufs-mediatek.c UIC_ARG_MIB(VS_SAVEPOWERCONTROL), tmp); tmp 49 drivers/scsi/ufs/ufs-mediatek.c UIC_ARG_MIB(VS_DEBUGCLOCKENABLE), &tmp); tmp 50 drivers/scsi/ufs/ufs-mediatek.c tmp = tmp | (1 << TX_SYMBOL_CLK_REQ_FORCE); tmp 52 drivers/scsi/ufs/ufs-mediatek.c UIC_ARG_MIB(VS_DEBUGCLOCKENABLE), tmp); tmp 225 drivers/scsi/ufs/ufs-mediatek.c u32 tmp; tmp 228 drivers/scsi/ufs/ufs-mediatek.c ret = ufshcd_dme_get(hba, UIC_ARG_MIB(VS_SAVEPOWERCONTROL), &tmp); tmp 232 drivers/scsi/ufs/ufs-mediatek.c tmp &= ~(1 << 6); tmp 234 drivers/scsi/ufs/ufs-mediatek.c ret = ufshcd_dme_set(hba, UIC_ARG_MIB(VS_SAVEPOWERCONTROL), tmp); tmp 2647 drivers/scsi/ufs/ufshcd.c unsigned long tmp; tmp 2653 drivers/scsi/ufs/ufshcd.c tmp = ~hba->lrb_in_use; tmp 2654 drivers/scsi/ufs/ufshcd.c tag = find_last_bit(&tmp, hba->nutrs); tmp 794 drivers/scsi/ufs/ufshcd.h u32 tmp; tmp 796 drivers/scsi/ufs/ufshcd.h tmp = ufshcd_readl(hba, reg); tmp 797 drivers/scsi/ufs/ufshcd.h tmp &= ~mask; tmp 798 drivers/scsi/ufs/ufshcd.h tmp |= (val & mask); tmp 799 drivers/scsi/ufs/ufshcd.h ufshcd_writel(hba, tmp, reg); tmp 370 drivers/scsi/wd33c93.c struct scsi_cmnd *tmp; tmp 444 drivers/scsi/wd33c93.c for (tmp = (struct scsi_cmnd *) hostdata->input_Q; tmp 445 drivers/scsi/wd33c93.c tmp->host_scribble; tmp 446 drivers/scsi/wd33c93.c tmp = (struct scsi_cmnd *) tmp->host_scribble) ; tmp 447 drivers/scsi/wd33c93.c tmp->host_scribble = (uchar *) cmd; tmp 1608 drivers/scsi/wd33c93.c struct scsi_cmnd *tmp, *prev; tmp 1621 drivers/scsi/wd33c93.c tmp = (struct scsi_cmnd *) hostdata->input_Q; tmp 1623 drivers/scsi/wd33c93.c while (tmp) { tmp 1624 drivers/scsi/wd33c93.c if (tmp == cmd) { tmp 1639 drivers/scsi/wd33c93.c prev = tmp; tmp 1640 drivers/scsi/wd33c93.c tmp = (struct scsi_cmnd *) tmp->host_scribble; tmp 1721 drivers/scsi/wd33c93.c tmp = (struct scsi_cmnd *) hostdata->disconnected_Q; tmp 1722 drivers/scsi/wd33c93.c while (tmp) { tmp 1723 drivers/scsi/wd33c93.c if (tmp == cmd) { tmp 1731 drivers/scsi/wd33c93.c tmp = (struct scsi_cmnd *) tmp->host_scribble; tmp 490 drivers/scsi/wd719x.c struct wd719x_scb *scb, *tmp; tmp 499 drivers/scsi/wd719x.c list_for_each_entry_safe(scb, tmp, &wd->active_scbs, list) { tmp 524 drivers/scsi/wd719x.c struct wd719x_scb *scb, *tmp; tmp 537 drivers/scsi/wd719x.c list_for_each_entry_safe(scb, tmp, &wd->active_scbs, list) tmp 183 drivers/soc/bcm/brcmstb/pm/pm-arm.c u32 tmp; tmp 187 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp = readl_relaxed(base + AON_CTRL_HOST_MISC_CMDS); tmp 188 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp &= ~1UL; tmp 189 drivers/soc/bcm/brcmstb/pm/pm-arm.c writel_relaxed(tmp, base + AON_CTRL_HOST_MISC_CMDS); tmp 213 drivers/soc/bcm/brcmstb/pm/pm-arm.c u32 tmp; tmp 215 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp = readl_relaxed(ctrl.memcs[i].ddr_shimphy_base + tmp 217 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp = value | (tmp & mask); tmp 218 drivers/soc/bcm/brcmstb/pm/pm-arm.c writel_relaxed(tmp, ctrl.memcs[i].ddr_shimphy_base + tmp 229 drivers/soc/bcm/brcmstb/pm/pm-arm.c u32 tmp; tmp 231 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp = readl_relaxed(ctrl.memcs[i].ddr_ctrl + tmp 234 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp |= 1; tmp 236 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp &= ~1; /* Cold boot */ tmp 237 drivers/soc/bcm/brcmstb/pm/pm-arm.c writel_relaxed(tmp, ctrl.memcs[i].ddr_ctrl + tmp 284 drivers/soc/bcm/brcmstb/pm/pm-arm.c u32 tmp; tmp 287 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp = readl_relaxed(ctrl.memcs[i].ddr_phy_base + tmp 289 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp &= ~(DDR_PHY_RST_N | DDR_PHY_RST_N); tmp 290 drivers/soc/bcm/brcmstb/pm/pm-arm.c writel_relaxed(tmp, ctrl.memcs[i].ddr_phy_base + tmp 295 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp = readl_relaxed(ctrl.memcs[i].ddr_phy_base + tmp 297 drivers/soc/bcm/brcmstb/pm/pm-arm.c tmp &= ~(DDR_PHY_RST_N | DDR_PHY_RST_N); tmp 298 drivers/soc/bcm/brcmstb/pm/pm-arm.c writel_relaxed(tmp, ctrl.memcs[i].ddr_phy_base + tmp 135 drivers/soc/bcm/brcmstb/pm/pm-mips.c u32 tmp; tmp 138 drivers/soc/bcm/brcmstb/pm/pm-mips.c tmp = __raw_readl(base + AON_CTRL_HOST_MISC_CMDS); tmp 139 drivers/soc/bcm/brcmstb/pm/pm-mips.c tmp &= ~1UL; tmp 140 drivers/soc/bcm/brcmstb/pm/pm-mips.c __raw_writel(tmp, base + AON_CTRL_HOST_MISC_CMDS); tmp 185 drivers/soc/bcm/brcmstb/pm/pm-mips.c u32 tmp; tmp 194 drivers/soc/bcm/brcmstb/pm/pm-mips.c tmp = __raw_readl(ctrl.aon_ctrl_base + AON_CTRL_RESET_CTRL); tmp 195 drivers/soc/bcm/brcmstb/pm/pm-mips.c tmp &= ~CLEAR_RESET_MASK; tmp 196 drivers/soc/bcm/brcmstb/pm/pm-mips.c __raw_writel(tmp, ctrl.aon_ctrl_base + AON_CTRL_RESET_CTRL); tmp 202 drivers/soc/bcm/brcmstb/pm/pm-mips.c tmp = __raw_readl(ctrl.memcs[i].ddr_phy_base + tmp 205 drivers/soc/bcm/brcmstb/pm/pm-mips.c tmp &= ~0x0f; tmp 206 drivers/soc/bcm/brcmstb/pm/pm-mips.c __raw_writel(tmp, ctrl.memcs[i].ddr_phy_base + tmp 208 drivers/soc/bcm/brcmstb/pm/pm-mips.c tmp |= (0x05 | BIT(5)); tmp 209 drivers/soc/bcm/brcmstb/pm/pm-mips.c __raw_writel(tmp, ctrl.memcs[i].ddr_phy_base + tmp 128 drivers/soc/fsl/qbman/bman_test_api.c int tmp, num = 8; tmp 132 drivers/soc/fsl/qbman/bman_test_api.c tmp = bman_acquire(pool, bufs_out + i - num, num); tmp 133 drivers/soc/fsl/qbman/bman_test_api.c WARN_ON(tmp != num); tmp 344 drivers/soc/fsl/qbman/qman_test_stash.c struct list_head *loop, *tmp; tmp 350 drivers/soc/fsl/qbman/qman_test_stash.c list_for_each_safe(loop, tmp, &hp_cpu->handlers) { tmp 175 drivers/soc/fsl/qe/qe_common.c struct muram_block *tmp; tmp 179 drivers/soc/fsl/qe/qe_common.c list_for_each_entry(tmp, &muram_block_list, head) { tmp 180 drivers/soc/fsl/qe/qe_common.c if (tmp->start == offset) { tmp 181 drivers/soc/fsl/qe/qe_common.c size = tmp->size; tmp 182 drivers/soc/fsl/qe/qe_common.c list_del(&tmp->head); tmp 183 drivers/soc/fsl/qe/qe_common.c kfree(tmp); tmp 190 drivers/soc/mediatek/mtk-scpsys.c int ret, tmp; tmp 216 drivers/soc/mediatek/mtk-scpsys.c ret = readx_poll_timeout(scpsys_domain_is_on, scpd, tmp, tmp > 0, tmp 243 drivers/soc/mediatek/mtk-scpsys.c ret = readl_poll_timeout(ctl_addr, tmp, (tmp & pdn_ack) == 0, tmp 280 drivers/soc/mediatek/mtk-scpsys.c int ret, tmp; tmp 296 drivers/soc/mediatek/mtk-scpsys.c ret = readl_poll_timeout(ctl_addr, tmp, (tmp & pdn_ack) == pdn_ack, tmp 317 drivers/soc/mediatek/mtk-scpsys.c ret = readx_poll_timeout(scpsys_domain_is_on, scpd, tmp, tmp == 0, tmp 77 drivers/soc/qcom/qmi_interface.c struct qmi_service *tmp; tmp 79 drivers/soc/qcom/qmi_interface.c list_for_each_entry_safe(svc, tmp, &qmi->lookup_results, list_node) { tmp 683 drivers/soc/qcom/qmi_interface.c struct qmi_service *svc, *tmp; tmp 702 drivers/soc/qcom/qmi_interface.c list_for_each_entry_safe(svc, tmp, &qmi->lookups, list_node) { tmp 708 drivers/soc/qcom/qmi_interface.c list_for_each_entry_safe(svc, tmp, &qmi->services, list_node) { tmp 319 drivers/soc/qcom/rpmh.c struct batch_cache_req *req, *tmp; tmp 323 drivers/soc/qcom/rpmh.c list_for_each_entry_safe(req, tmp, &ctrlr->batch_cache, list) tmp 117 drivers/soc/samsung/exynos3250-pmu.c unsigned int tmp; tmp 121 drivers/soc/samsung/exynos3250-pmu.c tmp = pmu_raw_readl(exynos3250_list_feed[i]); tmp 122 drivers/soc/samsung/exynos3250-pmu.c tmp &= ~(EXYNOS3_OPTION_USE_SC_COUNTER); tmp 123 drivers/soc/samsung/exynos3250-pmu.c tmp |= EXYNOS3_OPTION_USE_SC_FEEDBACK; tmp 124 drivers/soc/samsung/exynos3250-pmu.c pmu_raw_writel(tmp, exynos3250_list_feed[i]); tmp 157 drivers/soc/samsung/exynos5250-pmu.c unsigned int tmp; tmp 163 drivers/soc/samsung/exynos5250-pmu.c tmp = pmu_raw_readl(exynos5_list_both_cnt_feed[i]); tmp 164 drivers/soc/samsung/exynos5250-pmu.c tmp |= (EXYNOS5_USE_SC_FEEDBACK | tmp 166 drivers/soc/samsung/exynos5250-pmu.c pmu_raw_writel(tmp, exynos5_list_both_cnt_feed[i]); tmp 172 drivers/soc/samsung/exynos5250-pmu.c tmp = pmu_raw_readl(EXYNOS5_ARM_COMMON_OPTION); tmp 173 drivers/soc/samsung/exynos5250-pmu.c tmp |= EXYNOS5_SKIP_DEACTIVATE_ACEACP_IN_PWDN; tmp 174 drivers/soc/samsung/exynos5250-pmu.c pmu_raw_writel(tmp, EXYNOS5_ARM_COMMON_OPTION); tmp 180 drivers/soc/samsung/exynos5250-pmu.c tmp = pmu_raw_readl(exynos5_list_disable_wfi_wfe[i]); tmp 181 drivers/soc/samsung/exynos5250-pmu.c tmp &= ~(EXYNOS5_OPTION_USE_STANDBYWFE | tmp 183 drivers/soc/samsung/exynos5250-pmu.c pmu_raw_writel(tmp, exynos5_list_disable_wfi_wfe[i]); tmp 36 drivers/soc/tegra/fuse/speedo-tegra114.c u32 tmp; tmp 66 drivers/soc/tegra/fuse/speedo-tegra114.c tmp = tegra_fuse_read_early(0x270) << 1; tmp 67 drivers/soc/tegra/fuse/speedo-tegra114.c tmp |= tegra_fuse_read_early(0x26c); tmp 68 drivers/soc/tegra/fuse/speedo-tegra114.c if (!tmp) tmp 159 drivers/soc/ti/knav_qmss_queue.c struct knav_queue *tmp; tmp 162 drivers/soc/ti/knav_qmss_queue.c for_each_handle_rcu(tmp, inst) { tmp 163 drivers/soc/ti/knav_qmss_queue.c if (tmp->flags & KNAV_QUEUE_SHARED) { tmp 1358 drivers/soc/ti/knav_qmss_queue.c struct knav_pool *pool, *tmp; tmp 1365 drivers/soc/ti/knav_qmss_queue.c list_for_each_entry_safe(pool, tmp, ®ion->pools, region_inst) tmp 65 drivers/soc/ti/ti_sci_inta_msi.c struct msi_desc *desc, *tmp; tmp 67 drivers/soc/ti/ti_sci_inta_msi.c list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) { tmp 107 drivers/soc/xilinx/zynqmp_pm_domains.c struct pm_domain_data *pdd, *tmp; tmp 124 drivers/soc/xilinx/zynqmp_pm_domains.c list_for_each_entry_safe(pdd, tmp, &domain->dev_list, list_node) { tmp 157 drivers/soundwire/bus.h int tmp; tmp 159 drivers/soundwire/bus.h tmp = sdw_read(slave, addr); tmp 160 drivers/soundwire/bus.h if (tmp < 0) tmp 161 drivers/soundwire/bus.h return tmp; tmp 163 drivers/soundwire/bus.h tmp = (tmp & ~mask) | val; tmp 164 drivers/soundwire/bus.h return sdw_write(slave, addr, tmp); tmp 207 drivers/soundwire/cadence_master.c u32 tmp; tmp 209 drivers/soundwire/cadence_master.c tmp = cdns_readl(cdns, offset); tmp 210 drivers/soundwire/cadence_master.c tmp = (tmp & ~mask) | val; tmp 211 drivers/soundwire/cadence_master.c cdns_writel(cdns, offset, tmp); tmp 722 drivers/spi/spi-nxp-fspi.c u32 tmp; tmp 734 drivers/spi/spi-nxp-fspi.c tmp = fspi_readl(f, base + FSPI_RFDR + j); tmp 736 drivers/spi/spi-nxp-fspi.c memcpy(buf + j, &tmp, size); tmp 453 drivers/spi/spi-pl022.c u32 tmp; tmp 455 drivers/spi/spi-pl022.c tmp = readw(SSP_CSR(pl022->virtbase)); tmp 457 drivers/spi/spi-pl022.c tmp &= ~BIT(pl022->cur_cs); tmp 459 drivers/spi/spi-pl022.c tmp |= BIT(pl022->cur_cs); tmp 460 drivers/spi/spi-pl022.c writew(tmp, SSP_CSR(pl022->virtbase)); tmp 1745 drivers/spi/spi-pl022.c best_scr = 0, tmp, found = 0; tmp 1771 drivers/spi/spi-pl022.c tmp = spi_rate(rate, cpsdvsr, scr); tmp 1773 drivers/spi/spi-pl022.c if (tmp > freq) { tmp 1783 drivers/spi/spi-pl022.c if (tmp > best_freq) { tmp 1784 drivers/spi/spi-pl022.c best_freq = tmp; tmp 1788 drivers/spi/spi-pl022.c if (tmp == freq) tmp 1853 drivers/spi/spi-pl022.c u32 tmp; tmp 2019 drivers/spi/spi-pl022.c tmp = SSP_RX_LSB; tmp 2022 drivers/spi/spi-pl022.c tmp = SSP_RX_MSB; tmp 2025 drivers/spi/spi-pl022.c SSP_WRITE_BITS(chip->cr1, tmp, SSP_CR1_MASK_RENDN_ST, 4); tmp 2040 drivers/spi/spi-pl022.c tmp = SSP_CLK_POL_IDLE_HIGH; tmp 2042 drivers/spi/spi-pl022.c tmp = SSP_CLK_POL_IDLE_LOW; tmp 2043 drivers/spi/spi-pl022.c SSP_WRITE_BITS(chip->cr0, tmp, SSP_CR0_MASK_SPO, 6); tmp 2046 drivers/spi/spi-pl022.c tmp = SSP_CLK_SECOND_EDGE; tmp 2048 drivers/spi/spi-pl022.c tmp = SSP_CLK_FIRST_EDGE; tmp 2049 drivers/spi/spi-pl022.c SSP_WRITE_BITS(chip->cr0, tmp, SSP_CR0_MASK_SPH, 7); tmp 2055 drivers/spi/spi-pl022.c tmp = LOOPBACK_ENABLED; tmp 2057 drivers/spi/spi-pl022.c tmp = LOOPBACK_DISABLED; tmp 2058 drivers/spi/spi-pl022.c SSP_WRITE_BITS(chip->cr1, tmp, SSP_CR1_MASK_LBM, 0); tmp 2094 drivers/spi/spi-pl022.c u32 tmp = 0; tmp 2107 drivers/spi/spi-pl022.c of_property_read_u32(np, "num-cs", &tmp); tmp 2108 drivers/spi/spi-pl022.c pd->num_chipselect = tmp; tmp 1656 drivers/spi/spi-pxa2xx.c u32 tmp; tmp 1778 drivers/spi/spi-pxa2xx.c tmp = QUARK_X1000_SSCR1_RxTresh(RX_THRESH_QUARK_X1000_DFLT) | tmp 1780 drivers/spi/spi-pxa2xx.c pxa2xx_spi_write(drv_data, SSCR1, tmp); tmp 1783 drivers/spi/spi-pxa2xx.c tmp = QUARK_X1000_SSCR0_Motorola | QUARK_X1000_SSCR0_DataSize(8); tmp 1784 drivers/spi/spi-pxa2xx.c pxa2xx_spi_write(drv_data, SSCR0, tmp); tmp 1787 drivers/spi/spi-pxa2xx.c tmp = CE4100_SSCR1_RxTresh(RX_THRESH_CE4100_DFLT) | tmp 1789 drivers/spi/spi-pxa2xx.c pxa2xx_spi_write(drv_data, SSCR1, tmp); tmp 1790 drivers/spi/spi-pxa2xx.c tmp = SSCR0_SCR(2) | SSCR0_Motorola | SSCR0_DataSize(8); tmp 1791 drivers/spi/spi-pxa2xx.c pxa2xx_spi_write(drv_data, SSCR0, tmp); tmp 1796 drivers/spi/spi-pxa2xx.c tmp = SSCR1_SCFR | tmp 1803 drivers/spi/spi-pxa2xx.c tmp = SSCR1_RxTresh(RX_THRESH_DFLT) | tmp 1806 drivers/spi/spi-pxa2xx.c pxa2xx_spi_write(drv_data, SSCR1, tmp); tmp 1807 drivers/spi/spi-pxa2xx.c tmp = SSCR0_Motorola | SSCR0_DataSize(8); tmp 1809 drivers/spi/spi-pxa2xx.c tmp |= SSCR0_SCR(2); tmp 1810 drivers/spi/spi-pxa2xx.c pxa2xx_spi_write(drv_data, SSCR0, tmp); tmp 1824 drivers/spi/spi-pxa2xx.c tmp = __lpss_ssp_read_priv(drv_data, tmp 1826 drivers/spi/spi-pxa2xx.c tmp &= LPSS_CAPS_CS_EN_MASK; tmp 1827 drivers/spi/spi-pxa2xx.c tmp >>= LPSS_CAPS_CS_EN_SHIFT; tmp 1828 drivers/spi/spi-pxa2xx.c platform_info->num_chipselect = ffz(tmp); tmp 102 drivers/spi/spi-sh-hspi.c u32 rate, best_rate, min, tmp; tmp 123 drivers/spi/spi-sh-hspi.c tmp = abs(t->speed_hz - rate); tmp 124 drivers/spi/spi-sh-hspi.c if (tmp < min) { tmp 125 drivers/spi/spi-sh-hspi.c min = tmp; tmp 350 drivers/spi/spi-sh-msiof.c u32 tmp; tmp 360 drivers/spi/spi-sh-msiof.c tmp = MDR1_SYNCMD_SPI | 1 << MDR1_FLD_SHIFT | MDR1_XXSTP; tmp 361 drivers/spi/spi-sh-msiof.c tmp |= !cs_high << MDR1_SYNCAC_SHIFT; tmp 362 drivers/spi/spi-sh-msiof.c tmp |= lsb_first << MDR1_BITLSB_SHIFT; tmp 363 drivers/spi/spi-sh-msiof.c tmp |= sh_msiof_spi_get_dtdl_and_syncdl(p); tmp 365 drivers/spi/spi-sh-msiof.c sh_msiof_write(p, TMDR1, tmp | TMDR1_PCON); tmp 368 drivers/spi/spi-sh-msiof.c tmp | MDR1_TRMD | TMDR1_PCON | tmp 373 drivers/spi/spi-sh-msiof.c tmp &= ~0x0000ffff; tmp 375 drivers/spi/spi-sh-msiof.c sh_msiof_write(p, RMDR1, tmp); tmp 377 drivers/spi/spi-sh-msiof.c tmp = 0; tmp 378 drivers/spi/spi-sh-msiof.c tmp |= CTR_TSCKIZ_SCK | cpol << CTR_TSCKIZ_POL_SHIFT; tmp 379 drivers/spi/spi-sh-msiof.c tmp |= CTR_RSCKIZ_SCK | cpol << CTR_RSCKIZ_POL_SHIFT; tmp 383 drivers/spi/spi-sh-msiof.c tmp |= edge << CTR_TEDG_SHIFT; tmp 384 drivers/spi/spi-sh-msiof.c tmp |= edge << CTR_REDG_SHIFT; tmp 385 drivers/spi/spi-sh-msiof.c tmp |= tx_hi_z ? CTR_TXDIZ_HIZ : CTR_TXDIZ_LOW; tmp 386 drivers/spi/spi-sh-msiof.c sh_msiof_write(p, CTR, tmp); tmp 554 drivers/spi/spi-sh-msiof.c u32 clr, set, tmp; tmp 571 drivers/spi/spi-sh-msiof.c tmp = sh_msiof_read(p, TMDR1) & ~clr; tmp 572 drivers/spi/spi-sh-msiof.c sh_msiof_write(p, TMDR1, tmp | set | MDR1_TRMD | TMDR1_PCON); tmp 573 drivers/spi/spi-sh-msiof.c tmp = sh_msiof_read(p, RMDR1) & ~clr; tmp 574 drivers/spi/spi-sh-msiof.c sh_msiof_write(p, RMDR1, tmp | set); tmp 106 drivers/spi/spi-sh.c unsigned long tmp; tmp 108 drivers/spi/spi-sh.c tmp = spi_sh_read(ss, offset); tmp 109 drivers/spi/spi-sh.c tmp |= val; tmp 110 drivers/spi/spi-sh.c spi_sh_write(ss, tmp, offset); tmp 116 drivers/spi/spi-sh.c unsigned long tmp; tmp 118 drivers/spi/spi-sh.c tmp = spi_sh_read(ss, offset); tmp 119 drivers/spi/spi-sh.c tmp &= ~val; tmp 120 drivers/spi/spi-sh.c spi_sh_write(ss, tmp, offset); tmp 410 drivers/spi/spi-sprd-adi.c u32 tmp; tmp 417 drivers/spi/spi-sprd-adi.c tmp = readl_relaxed(sadi->base + REG_ADI_GSSI_CFG0); tmp 418 drivers/spi/spi-sprd-adi.c tmp &= ~BIT_CLK_ALL_ON; tmp 419 drivers/spi/spi-sprd-adi.c writel_relaxed(tmp, sadi->base + REG_ADI_GSSI_CFG0); tmp 238 drivers/spi/spi-topcliff-pch.c u32 tmp = pch_spi_readreg(master, idx); tmp 239 drivers/spi/spi-topcliff-pch.c tmp = (tmp & ~clr) | set; tmp 240 drivers/spi/spi-topcliff-pch.c pch_spi_writereg(master, idx, tmp); tmp 545 drivers/spi/spi-topcliff-pch.c struct spi_message *pmsg, *tmp; tmp 585 drivers/spi/spi-topcliff-pch.c list_for_each_entry_safe(pmsg, tmp, data->queue.next, queue) { tmp 633 drivers/spi/spi-topcliff-pch.c struct spi_message *pmsg, *tmp; tmp 670 drivers/spi/spi-topcliff-pch.c list_for_each_entry_safe(pmsg, tmp, data->queue.next, queue) { tmp 1121 drivers/spi/spi-topcliff-pch.c struct spi_message *pmsg, *tmp; tmp 1133 drivers/spi/spi-topcliff-pch.c list_for_each_entry_safe(pmsg, tmp, data->queue.next, queue) { tmp 396 drivers/spi/spi-xilinx.c u32 tmp; tmp 457 drivers/spi/spi-xilinx.c tmp = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET); tmp 458 drivers/spi/spi-xilinx.c tmp &= XSPI_CR_LOOP; tmp 459 drivers/spi/spi-xilinx.c if (tmp != XSPI_CR_LOOP) { tmp 1008 drivers/spi/spi.c void *tmp; tmp 1025 drivers/spi/spi.c tmp = krealloc(ctlr->dummy_tx, max_tx, tmp 1027 drivers/spi/spi.c if (!tmp) tmp 1029 drivers/spi/spi.c ctlr->dummy_tx = tmp; tmp 1030 drivers/spi/spi.c memset(tmp, 0, max_tx); tmp 1034 drivers/spi/spi.c tmp = krealloc(ctlr->dummy_rx, max_rx, tmp 1036 drivers/spi/spi.c if (!tmp) tmp 1038 drivers/spi/spi.c ctlr->dummy_rx = tmp; tmp 2746 drivers/spi/spi.c struct spi_res *res, *tmp; tmp 2748 drivers/spi/spi.c list_for_each_entry_safe_reverse(res, tmp, &message->resources, entry) { tmp 316 drivers/spi/spidev.c u32 tmp; tmp 324 drivers/spi/spidev.c tmp = _IOC_SIZE(cmd); tmp 325 drivers/spi/spidev.c if ((tmp % sizeof(struct spi_ioc_transfer)) != 0) tmp 327 drivers/spi/spidev.c *n_ioc = tmp / sizeof(struct spi_ioc_transfer); tmp 332 drivers/spi/spidev.c return memdup_user(u_ioc, tmp); tmp 341 drivers/spi/spidev.c u32 tmp; tmp 393 drivers/spi/spidev.c retval = get_user(tmp, (u8 __user *)arg); tmp 395 drivers/spi/spidev.c retval = get_user(tmp, (u32 __user *)arg); tmp 400 drivers/spi/spidev.c if (tmp & ~SPI_MODE_MASK) { tmp 407 drivers/spi/spidev.c tmp |= SPI_CS_HIGH; tmp 409 drivers/spi/spidev.c tmp |= spi->mode & ~SPI_MODE_MASK; tmp 410 drivers/spi/spidev.c spi->mode = (u16)tmp; tmp 415 drivers/spi/spidev.c dev_dbg(&spi->dev, "spi mode %x\n", tmp); tmp 419 drivers/spi/spidev.c retval = get_user(tmp, (__u8 __user *)arg); tmp 423 drivers/spi/spidev.c if (tmp) tmp 432 drivers/spi/spidev.c tmp ? 'l' : 'm'); tmp 436 drivers/spi/spidev.c retval = get_user(tmp, (__u8 __user *)arg); tmp 440 drivers/spi/spidev.c spi->bits_per_word = tmp; tmp 445 drivers/spi/spidev.c dev_dbg(&spi->dev, "%d bits per word\n", tmp); tmp 449 drivers/spi/spidev.c retval = get_user(tmp, (__u32 __user *)arg); tmp 453 drivers/spi/spidev.c spi->max_speed_hz = tmp; tmp 456 drivers/spi/spidev.c spidev->speed_hz = tmp; tmp 458 drivers/spi/spidev.c dev_dbg(&spi->dev, "%d Hz (max)\n", tmp); tmp 47 drivers/ssb/driver_chipcommon.c u32 tmp; tmp 74 drivers/ssb/driver_chipcommon.c tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); tmp 75 drivers/ssb/driver_chipcommon.c tmp |= SSB_CHIPCO_SLOWCLKCTL_FSLOW; tmp 76 drivers/ssb/driver_chipcommon.c chipco_write32(cc, SSB_CHIPCO_SLOWCLKCTL, tmp); tmp 81 drivers/ssb/driver_chipcommon.c tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); tmp 82 drivers/ssb/driver_chipcommon.c tmp &= ~SSB_CHIPCO_SLOWCLKCTL_FSLOW; tmp 83 drivers/ssb/driver_chipcommon.c tmp |= SSB_CHIPCO_SLOWCLKCTL_IPLL; tmp 84 drivers/ssb/driver_chipcommon.c chipco_write32(cc, SSB_CHIPCO_SLOWCLKCTL, tmp); tmp 94 drivers/ssb/driver_chipcommon.c tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); tmp 95 drivers/ssb/driver_chipcommon.c tmp &= ~SSB_CHIPCO_SLOWCLKCTL_FSLOW; tmp 96 drivers/ssb/driver_chipcommon.c tmp &= ~SSB_CHIPCO_SLOWCLKCTL_IPLL; tmp 97 drivers/ssb/driver_chipcommon.c tmp &= ~SSB_CHIPCO_SLOWCLKCTL_ENXTAL; tmp 98 drivers/ssb/driver_chipcommon.c if ((tmp & SSB_CHIPCO_SLOWCLKCTL_SRC) != tmp 100 drivers/ssb/driver_chipcommon.c tmp |= SSB_CHIPCO_SLOWCLKCTL_ENXTAL; tmp 101 drivers/ssb/driver_chipcommon.c chipco_write32(cc, SSB_CHIPCO_SLOWCLKCTL, tmp); tmp 105 drivers/ssb/driver_chipcommon.c if (tmp & SSB_CHIPCO_SLOWCLKCTL_ENXTAL) tmp 122 drivers/ssb/driver_chipcommon.c u32 uninitialized_var(tmp); tmp 129 drivers/ssb/driver_chipcommon.c pci_read_config_dword(bus->host_pci, SSB_GPIO_OUT, &tmp); tmp 130 drivers/ssb/driver_chipcommon.c if (tmp & 0x10) tmp 136 drivers/ssb/driver_chipcommon.c tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); tmp 137 drivers/ssb/driver_chipcommon.c tmp &= 0x7; tmp 138 drivers/ssb/driver_chipcommon.c if (tmp == 0) tmp 140 drivers/ssb/driver_chipcommon.c if (tmp == 1) tmp 142 drivers/ssb/driver_chipcommon.c if (tmp == 2) tmp 155 drivers/ssb/driver_chipcommon.c u32 tmp; tmp 175 drivers/ssb/driver_chipcommon.c tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); tmp 176 drivers/ssb/driver_chipcommon.c divisor = (tmp >> 16) + 1; tmp 181 drivers/ssb/driver_chipcommon.c tmp = chipco_read32(cc, SSB_CHIPCO_SYSCLKCTL); tmp 182 drivers/ssb/driver_chipcommon.c divisor = (tmp >> 16) + 1; tmp 263 drivers/ssb/driver_chipcommon.c unsigned int tmp; tmp 279 drivers/ssb/driver_chipcommon.c tmp = (((pll_on_delay + 2) * 1000000) + (minfreq - 1)) / minfreq; tmp 280 drivers/ssb/driver_chipcommon.c WARN_ON(tmp & ~0xFFFF); tmp 282 drivers/ssb/driver_chipcommon.c cc->fast_pwrup_delay = tmp; tmp 439 drivers/ssb/driver_chipcommon.c u32 tmp; tmp 443 drivers/ssb/driver_chipcommon.c tmp = DIV_ROUND_UP(10, ns) << SSB_PROG_WCNT_3_SHIFT; /* Waitcount-3 = 10ns */ tmp 444 drivers/ssb/driver_chipcommon.c tmp |= DIV_ROUND_UP(40, ns) << SSB_PROG_WCNT_1_SHIFT; /* Waitcount-1 = 40ns */ tmp 445 drivers/ssb/driver_chipcommon.c tmp |= DIV_ROUND_UP(240, ns); /* Waitcount-0 = 240ns */ tmp 446 drivers/ssb/driver_chipcommon.c chipco_write32(cc, SSB_CHIPCO_PROG_WAITCNT, tmp); /* 0x01020a0c for a 100Mhz clock */ tmp 449 drivers/ssb/driver_chipcommon.c tmp = DIV_ROUND_UP(10, ns) << SSB_FLASH_WCNT_3_SHIFT; /* Waitcount-3 = 10nS */ tmp 450 drivers/ssb/driver_chipcommon.c tmp |= DIV_ROUND_UP(10, ns) << SSB_FLASH_WCNT_1_SHIFT; /* Waitcount-1 = 10nS */ tmp 451 drivers/ssb/driver_chipcommon.c tmp |= DIV_ROUND_UP(120, ns); /* Waitcount-0 = 120nS */ tmp 454 drivers/ssb/driver_chipcommon.c chipco_write32(cc, SSB_CHIPCO_FLASH_WAITCNT, tmp); tmp 458 drivers/ssb/driver_chipcommon.c chipco_write32(cc, SSB_CHIPCO_PCMCIA_MEMWAIT, tmp); tmp 462 drivers/ssb/driver_chipcommon.c tmp = DIV_ROUND_UP(10, ns) << SSB_PROG_WCNT_3_SHIFT; /* Waitcount-3 = 10ns */ tmp 463 drivers/ssb/driver_chipcommon.c tmp |= DIV_ROUND_UP(20, ns) << SSB_PROG_WCNT_2_SHIFT; /* Waitcount-2 = 20ns */ tmp 464 drivers/ssb/driver_chipcommon.c tmp |= DIV_ROUND_UP(100, ns) << SSB_PROG_WCNT_1_SHIFT; /* Waitcount-1 = 100ns */ tmp 465 drivers/ssb/driver_chipcommon.c tmp |= DIV_ROUND_UP(120, ns); /* Waitcount-0 = 120ns */ tmp 466 drivers/ssb/driver_chipcommon.c chipco_write32(cc, SSB_CHIPCO_PROG_WAITCNT, tmp); /* 0x01020a0c for a 100Mhz clock */ tmp 95 drivers/ssb/driver_chipcommon_pmu.c u32 pmuctl, tmp, pllctl; tmp 134 drivers/ssb/driver_chipcommon_pmu.c tmp = chipco_read32(cc, SSB_CHIPCO_CLKCTLST); tmp 135 drivers/ssb/driver_chipcommon_pmu.c if (!(tmp & SSB_CHIPCO_CLKCTLST_HAVEHT)) tmp 139 drivers/ssb/driver_chipcommon_pmu.c tmp = chipco_read32(cc, SSB_CHIPCO_CLKCTLST); tmp 140 drivers/ssb/driver_chipcommon_pmu.c if (tmp & SSB_CHIPCO_CLKCTLST_HAVEHT) tmp 227 drivers/ssb/driver_chipcommon_pmu.c u32 tmp, pllctl, pmuctl; tmp 271 drivers/ssb/driver_chipcommon_pmu.c tmp = chipco_read32(cc, SSB_CHIPCO_CLKCTLST); tmp 272 drivers/ssb/driver_chipcommon_pmu.c if (!(tmp & SSB_CHIPCO_CLKCTLST_HAVEHT)) tmp 276 drivers/ssb/driver_chipcommon_pmu.c tmp = chipco_read32(cc, SSB_CHIPCO_CLKCTLST); tmp 277 drivers/ssb/driver_chipcommon_pmu.c if (tmp & SSB_CHIPCO_CLKCTLST_HAVEHT) tmp 88 drivers/ssb/driver_extif.c u32 tmp; tmp 94 drivers/ssb/driver_extif.c tmp = DIV_ROUND_UP(10, ns) << SSB_PROG_WCNT_3_SHIFT; tmp 95 drivers/ssb/driver_extif.c tmp |= DIV_ROUND_UP(40, ns) << SSB_PROG_WCNT_1_SHIFT; tmp 96 drivers/ssb/driver_extif.c tmp |= DIV_ROUND_UP(120, ns); tmp 97 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_PROG_WAITCNT, tmp); tmp 100 drivers/ssb/driver_extif.c tmp = DIV_ROUND_UP(10, ns) << SSB_PROG_WCNT_3_SHIFT; tmp 101 drivers/ssb/driver_extif.c tmp |= DIV_ROUND_UP(20, ns) << SSB_PROG_WCNT_2_SHIFT; tmp 102 drivers/ssb/driver_extif.c tmp |= DIV_ROUND_UP(100, ns) << SSB_PROG_WCNT_1_SHIFT; tmp 103 drivers/ssb/driver_extif.c tmp |= DIV_ROUND_UP(120, ns); tmp 104 drivers/ssb/driver_extif.c extif_write32(extif, SSB_EXTIF_PROG_WAITCNT, tmp); tmp 107 drivers/ssb/driver_mipscore.c u32 tmp; tmp 115 drivers/ssb/driver_mipscore.c tmp = ((ipsflag & ipsflag_irq_mask[irq]) >> ipsflag_irq_shift[irq]); tmp 116 drivers/ssb/driver_mipscore.c if (tmp == irqflag) tmp 75 drivers/ssb/driver_pcicore.c u32 tmp; tmp 86 drivers/ssb/driver_pcicore.c tmp = SSB_PCICORE_SBTOPCI_CFG0; tmp 87 drivers/ssb/driver_pcicore.c tmp |= ((1 << (dev + 16)) & SSB_PCICORE_SBTOPCI1_MASK); tmp 88 drivers/ssb/driver_pcicore.c pcicore_write32(pc, SSB_PCICORE_SBTOPCI1, tmp); tmp 397 drivers/ssb/driver_pcicore.c u32 tmp; tmp 418 drivers/ssb/driver_pcicore.c return !mips_busprobe32(tmp, (bus->mmio + (pc->dev->core_index * SSB_CORE_SIZE))); tmp 428 drivers/ssb/driver_pcicore.c u16 tmp = pcicore_read16(pc, SSB_PCICORE_SPROM(0)); tmp 429 drivers/ssb/driver_pcicore.c if (((tmp & 0xF000) >> 12) != pc->dev->core_index) { tmp 430 drivers/ssb/driver_pcicore.c tmp &= ~0xF000; tmp 431 drivers/ssb/driver_pcicore.c tmp |= (pc->dev->core_index << 12); tmp 432 drivers/ssb/driver_pcicore.c pcicore_write16(pc, SSB_PCICORE_SPROM(0), tmp); tmp 445 drivers/ssb/driver_pcicore.c u16 tmp; tmp 449 drivers/ssb/driver_pcicore.c tmp = ssb_pcie_mdio_read(pc, serdes_pll_device, 1 /* Control */); tmp 450 drivers/ssb/driver_pcicore.c if (tmp & 0x4000) tmp 451 drivers/ssb/driver_pcicore.c ssb_pcie_mdio_write(pc, serdes_pll_device, 1, tmp & ~0x4000); tmp 458 drivers/ssb/driver_pcicore.c u32 tmp; tmp 460 drivers/ssb/driver_pcicore.c tmp = pcicore_read32(pc, SSB_PCICORE_SBTOPCI2); tmp 461 drivers/ssb/driver_pcicore.c tmp |= SSB_PCICORE_SBTOPCI_PREF; tmp 462 drivers/ssb/driver_pcicore.c tmp |= SSB_PCICORE_SBTOPCI_BURST; tmp 463 drivers/ssb/driver_pcicore.c pcicore_write32(pc, SSB_PCICORE_SBTOPCI2, tmp); tmp 466 drivers/ssb/driver_pcicore.c tmp = ssb_read32(pdev, SSB_IMCFGLO); tmp 467 drivers/ssb/driver_pcicore.c tmp &= ~SSB_IMCFGLO_SERTO; tmp 468 drivers/ssb/driver_pcicore.c tmp |= 2; tmp 469 drivers/ssb/driver_pcicore.c tmp &= ~SSB_IMCFGLO_REQTO; tmp 470 drivers/ssb/driver_pcicore.c tmp |= 3 << SSB_IMCFGLO_REQTO_SHIFT; tmp 471 drivers/ssb/driver_pcicore.c ssb_write32(pdev, SSB_IMCFGLO, tmp); tmp 474 drivers/ssb/driver_pcicore.c tmp = pcicore_read32(pc, SSB_PCICORE_SBTOPCI2); tmp 475 drivers/ssb/driver_pcicore.c tmp |= SSB_PCICORE_SBTOPCI_MRM; tmp 476 drivers/ssb/driver_pcicore.c pcicore_write32(pc, SSB_PCICORE_SBTOPCI2, tmp); tmp 482 drivers/ssb/driver_pcicore.c u32 tmp; tmp 487 drivers/ssb/driver_pcicore.c tmp = ssb_pcie_read(pc, 0x4); tmp 488 drivers/ssb/driver_pcicore.c tmp |= 0x8; tmp 489 drivers/ssb/driver_pcicore.c ssb_pcie_write(pc, 0x4, tmp); tmp 493 drivers/ssb/driver_pcicore.c tmp = ssb_pcie_read(pc, 0x100); tmp 494 drivers/ssb/driver_pcicore.c tmp |= 0x40; tmp 495 drivers/ssb/driver_pcicore.c ssb_pcie_write(pc, 0x100, tmp); tmp 517 drivers/ssb/driver_pcicore.c tmp = pcicore_read16(pc, SSB_PCICORE_SPROM(5)); tmp 518 drivers/ssb/driver_pcicore.c if (!(tmp & 0x8000)) tmp 520 drivers/ssb/driver_pcicore.c tmp | 0x8000); tmp 683 drivers/ssb/driver_pcicore.c u32 tmp; tmp 706 drivers/ssb/driver_pcicore.c err = pci_read_config_dword(bus->host_pci, SSB_PCI_IRQMASK, &tmp); tmp 709 drivers/ssb/driver_pcicore.c tmp |= coremask << 8; tmp 710 drivers/ssb/driver_pcicore.c err = pci_write_config_dword(bus->host_pci, SSB_PCI_IRQMASK, tmp); tmp 717 drivers/ssb/driver_pcicore.c tmp = ssb_read32(dev, SSB_TPSFLAG); tmp 718 drivers/ssb/driver_pcicore.c tmp &= SSB_TPSFLAG_BPFLAG; tmp 719 drivers/ssb/driver_pcicore.c intvec |= (1 << tmp); tmp 260 drivers/ssb/pci.c u16 tmp; tmp 263 drivers/ssb/pci.c tmp = sprom[size - 1] & SSB_SPROM_REVISION_CRC; tmp 264 drivers/ssb/pci.c expected_crc = tmp >> SSB_SPROM_REVISION_CRC_SHIFT; tmp 276 drivers/ssb/scan.c u32 idhi, cc, rev, tmp; tmp 297 drivers/ssb/scan.c tmp = scan_read32(bus, 0, SSB_CHIPCO_CHIPID); tmp 299 drivers/ssb/scan.c bus->chip_id = (tmp & SSB_CHIPCO_IDMASK); tmp 300 drivers/ssb/scan.c bus->chip_rev = (tmp & SSB_CHIPCO_REVMASK) >> tmp 302 drivers/ssb/scan.c bus->chip_package = (tmp & SSB_CHIPCO_PACKMASK) >> tmp 305 drivers/ssb/scan.c bus->nr_devices = (tmp & SSB_CHIPCO_NRCORESMASK) >> tmp 308 drivers/ssb/scan.c tmp = scan_read32(bus, 0, SSB_CHIPCO_CAP); tmp 309 drivers/ssb/scan.c bus->chipco.capabilities = tmp; tmp 39 drivers/ssb/sprom.c char c, tmp[5] = { 0 }; tmp 55 drivers/ssb/sprom.c memcpy(tmp, dump, 4); tmp 57 drivers/ssb/sprom.c err = kstrtoul(tmp, 16, &parsed); tmp 31 drivers/staging/android/ion/ion_heap.c struct page **tmp = pages; tmp 47 drivers/staging/android/ion/ion_heap.c *(tmp++) = page++; tmp 158 drivers/staging/axis-fifo/axis-fifo.c unsigned long tmp; tmp 161 drivers/staging/axis-fifo/axis-fifo.c rc = kstrtoul(buf, 0, &tmp); tmp 165 drivers/staging/axis-fifo/axis-fifo.c iowrite32(tmp, fifo->base_addr + addr_offset); tmp 176 drivers/staging/axis-fifo/axis-fifo.c char tmp[32]; tmp 179 drivers/staging/axis-fifo/axis-fifo.c len = snprintf(tmp, sizeof(tmp), "0x%x\n", read_val); tmp 180 drivers/staging/axis-fifo/axis-fifo.c memcpy(buf, tmp, len); tmp 978 drivers/staging/comedi/comedi_fops.c struct comedi_subdinfo *tmp, *us; tmp 982 drivers/staging/comedi/comedi_fops.c tmp = kcalloc(dev->n_subdevices, sizeof(*tmp), GFP_KERNEL); tmp 983 drivers/staging/comedi/comedi_fops.c if (!tmp) tmp 989 drivers/staging/comedi/comedi_fops.c us = tmp + i; tmp 1028 drivers/staging/comedi/comedi_fops.c ret = copy_to_user(arg, tmp, dev->n_subdevices * sizeof(*tmp)); tmp 1030 drivers/staging/comedi/comedi_fops.c kfree(tmp); tmp 193 drivers/staging/comedi/drivers/addi_apci_3501.c unsigned char tmp; tmp 216 drivers/staging/comedi/drivers/addi_apci_3501.c tmp = inb(iobase + AMCC_OP_REG_MCSR_NVDATA); tmp 220 drivers/staging/comedi/drivers/addi_apci_3501.c val |= tmp; tmp 222 drivers/staging/comedi/drivers/addi_apci_3501.c val |= (tmp << 8); tmp 861 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int tmp; tmp 864 drivers/staging/comedi/drivers/adl_pci9118.c tmp = dmalen0; tmp 868 drivers/staging/comedi/drivers/adl_pci9118.c dmalen0 = tmp; /* uff. very long scan? */ tmp 869 drivers/staging/comedi/drivers/adl_pci9118.c tmp = dmalen1; tmp 873 drivers/staging/comedi/drivers/adl_pci9118.c dmalen1 = tmp; /* uff. very long scan? */ tmp 887 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int tmp; tmp 893 drivers/staging/comedi/drivers/amplc_pci230.c tmp = TRIG_TIMER | TRIG_INT; tmp 909 drivers/staging/comedi/drivers/amplc_pci230.c tmp |= TRIG_EXT; tmp 911 drivers/staging/comedi/drivers/amplc_pci230.c err |= comedi_check_trigger_src(&cmd->scan_begin_src, tmp); tmp 989 drivers/staging/comedi/drivers/amplc_pci230.c tmp = cmd->scan_begin_arg; tmp 991 drivers/staging/comedi/drivers/amplc_pci230.c if (tmp != cmd->scan_begin_arg) tmp 1512 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int tmp; tmp 1518 drivers/staging/comedi/drivers/amplc_pci230.c tmp = TRIG_FOLLOW | TRIG_TIMER | TRIG_INT; tmp 1526 drivers/staging/comedi/drivers/amplc_pci230.c tmp |= TRIG_EXT; tmp 1528 drivers/staging/comedi/drivers/amplc_pci230.c err |= comedi_check_trigger_src(&cmd->scan_begin_src, tmp); tmp 1679 drivers/staging/comedi/drivers/amplc_pci230.c tmp = cmd->convert_arg; tmp 1681 drivers/staging/comedi/drivers/amplc_pci230.c if (tmp != cmd->convert_arg) tmp 1687 drivers/staging/comedi/drivers/amplc_pci230.c tmp = cmd->scan_begin_arg; tmp 1695 drivers/staging/comedi/drivers/amplc_pci230.c if (tmp != cmd->scan_begin_arg) tmp 922 drivers/staging/comedi/drivers/me4000.c unsigned int tmp; tmp 935 drivers/staging/comedi/drivers/me4000.c tmp = inl(dev->iobase + ME4000_AI_STATUS_REG); tmp 937 drivers/staging/comedi/drivers/me4000.c if (!(tmp & ME4000_AI_STATUS_FF_DATA) && tmp 938 drivers/staging/comedi/drivers/me4000.c !(tmp & ME4000_AI_STATUS_HF_DATA) && tmp 939 drivers/staging/comedi/drivers/me4000.c (tmp & ME4000_AI_STATUS_EF_DATA)) { tmp 943 drivers/staging/comedi/drivers/me4000.c } else if ((tmp & ME4000_AI_STATUS_FF_DATA) && tmp 944 drivers/staging/comedi/drivers/me4000.c !(tmp & ME4000_AI_STATUS_HF_DATA) && tmp 945 drivers/staging/comedi/drivers/me4000.c (tmp & ME4000_AI_STATUS_EF_DATA)) { tmp 960 drivers/staging/comedi/drivers/me4000.c tmp |= ME4000_AI_CTRL_HF_IRQ_RESET; tmp 961 drivers/staging/comedi/drivers/me4000.c outl(tmp, dev->iobase + ME4000_AI_CTRL_REG); tmp 962 drivers/staging/comedi/drivers/me4000.c tmp &= ~ME4000_AI_CTRL_HF_IRQ_RESET; tmp 963 drivers/staging/comedi/drivers/me4000.c outl(tmp, dev->iobase + ME4000_AI_CTRL_REG); tmp 980 drivers/staging/comedi/drivers/me4000.c tmp = inl(dev->iobase + ME4000_AI_CTRL_REG); tmp 981 drivers/staging/comedi/drivers/me4000.c tmp |= ME4000_AI_CTRL_SC_IRQ_RESET; tmp 982 drivers/staging/comedi/drivers/me4000.c outl(tmp, dev->iobase + ME4000_AI_CTRL_REG); tmp 983 drivers/staging/comedi/drivers/me4000.c tmp &= ~ME4000_AI_CTRL_SC_IRQ_RESET; tmp 984 drivers/staging/comedi/drivers/me4000.c outl(tmp, dev->iobase + ME4000_AI_CTRL_REG); tmp 998 drivers/staging/comedi/drivers/me4000.c unsigned int tmp; tmp 1001 drivers/staging/comedi/drivers/me4000.c tmp = inl(dev->iobase + ME4000_AO_CTRL_REG(chan)); tmp 1002 drivers/staging/comedi/drivers/me4000.c tmp |= ME4000_AO_CTRL_IMMEDIATE_STOP; tmp 1003 drivers/staging/comedi/drivers/me4000.c outl(tmp, dev->iobase + ME4000_AO_CTRL_REG(chan)); tmp 1048 drivers/staging/comedi/drivers/me4000.c unsigned int tmp; tmp 1064 drivers/staging/comedi/drivers/me4000.c tmp = inl(dev->iobase + ME4000_DIO_CTRL_REG); tmp 1065 drivers/staging/comedi/drivers/me4000.c tmp &= ~(ME4000_DIO_CTRL_MODE_0 | ME4000_DIO_CTRL_MODE_1 | tmp 1070 drivers/staging/comedi/drivers/me4000.c tmp |= ME4000_DIO_CTRL_MODE_0; tmp 1072 drivers/staging/comedi/drivers/me4000.c tmp |= ME4000_DIO_CTRL_MODE_2; tmp 1074 drivers/staging/comedi/drivers/me4000.c tmp |= ME4000_DIO_CTRL_MODE_4; tmp 1076 drivers/staging/comedi/drivers/me4000.c tmp |= ME4000_DIO_CTRL_MODE_6; tmp 1086 drivers/staging/comedi/drivers/me4000.c tmp |= ME4000_DIO_CTRL_MODE_0; tmp 1087 drivers/staging/comedi/drivers/me4000.c tmp &= ~(ME4000_DIO_CTRL_MODE_2 | ME4000_DIO_CTRL_MODE_3); tmp 1090 drivers/staging/comedi/drivers/me4000.c outl(tmp, dev->iobase + ME4000_DIO_CTRL_REG); tmp 302 drivers/staging/comedi/drivers/ni_atmio16d.c unsigned int sample_count, tmp, chan, gain; tmp 328 drivers/staging/comedi/drivers/ni_atmio16d.c tmp = chan | (gain << 6); tmp 330 drivers/staging/comedi/drivers/ni_atmio16d.c tmp |= 0x0010; /* set LASTONE bit */ tmp 331 drivers/staging/comedi/drivers/ni_atmio16d.c outw(tmp, dev->iobase + MUX_GAIN_REG); tmp 374 drivers/staging/comedi/drivers/ni_atmio16d.c tmp = sample_count & 0xFFFF; tmp 375 drivers/staging/comedi/drivers/ni_atmio16d.c if (tmp) tmp 376 drivers/staging/comedi/drivers/ni_atmio16d.c outw(tmp - 1, dev->iobase + AM9513A_DATA_REG); tmp 386 drivers/staging/comedi/drivers/ni_atmio16d.c tmp = sample_count & 0xFFFF; tmp 387 drivers/staging/comedi/drivers/ni_atmio16d.c if ((tmp == 0) || (tmp == 1)) { tmp 502 drivers/staging/comedi/drivers/ni_labpc_common.c int tmp, tmp2; tmp 593 drivers/staging/comedi/drivers/ni_labpc_common.c tmp = cmd->convert_arg; tmp 597 drivers/staging/comedi/drivers/ni_labpc_common.c if (tmp != cmd->convert_arg || tmp2 != cmd->scan_begin_arg) tmp 2111 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int tmp = cmd->scan_begin_arg; tmp 2117 drivers/staging/comedi/drivers/ni_mio_common.c if (tmp != cmd->scan_begin_arg) tmp 2122 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int tmp = cmd->convert_arg; tmp 2128 drivers/staging/comedi/drivers/ni_mio_common.c if (tmp != cmd->convert_arg) tmp 3303 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int tmp; tmp 3363 drivers/staging/comedi/drivers/ni_mio_common.c tmp = cmd->scan_begin_arg; tmp 3368 drivers/staging/comedi/drivers/ni_mio_common.c if (tmp != cmd->scan_begin_arg) tmp 1494 drivers/staging/comedi/drivers/s626.c u32 tmp; tmp 1540 drivers/staging/comedi/drivers/s626.c tmp = readl(dev->mmio + S626_P_FB_BUFFER1); tmp 1541 drivers/staging/comedi/drivers/s626.c data[n - 1] = s626_ai_reg_to_uint(tmp); tmp 1580 drivers/staging/comedi/drivers/s626.c tmp = readl(dev->mmio + S626_P_FB_BUFFER1); tmp 1581 drivers/staging/comedi/drivers/s626.c data[n - 1] = s626_ai_reg_to_uint(tmp); tmp 1371 drivers/staging/comedi/drivers/usbdux.c u8 *tmp; tmp 1389 drivers/staging/comedi/drivers/usbdux.c tmp = kmalloc(1, GFP_KERNEL); tmp 1390 drivers/staging/comedi/drivers/usbdux.c if (!tmp) { tmp 1396 drivers/staging/comedi/drivers/usbdux.c *tmp = 1; /* 7f92 to one */ tmp 1401 drivers/staging/comedi/drivers/usbdux.c tmp, 1, tmp 1421 drivers/staging/comedi/drivers/usbdux.c *tmp = 0; /* 7f92 to zero */ tmp 1426 drivers/staging/comedi/drivers/usbdux.c tmp, 1, tmp 1432 drivers/staging/comedi/drivers/usbdux.c kfree(tmp); tmp 847 drivers/staging/comedi/drivers/usbduxfast.c unsigned char *tmp; tmp 864 drivers/staging/comedi/drivers/usbduxfast.c tmp = kmalloc(1, GFP_KERNEL); tmp 865 drivers/staging/comedi/drivers/usbduxfast.c if (!tmp) { tmp 871 drivers/staging/comedi/drivers/usbduxfast.c *tmp = 1; /* 7f92 to one */ tmp 876 drivers/staging/comedi/drivers/usbduxfast.c tmp, 1, tmp 896 drivers/staging/comedi/drivers/usbduxfast.c *tmp = 0; /* 7f92 to zero */ tmp 901 drivers/staging/comedi/drivers/usbduxfast.c tmp, 1, tmp 907 drivers/staging/comedi/drivers/usbduxfast.c kfree(tmp); tmp 475 drivers/staging/comedi/drivers/usbduxsigma.c unsigned int tmp; tmp 532 drivers/staging/comedi/drivers/usbduxsigma.c tmp = rounddown(cmd->scan_begin_arg, high_speed ? 125000 : 1000000); tmp 533 drivers/staging/comedi/drivers/usbduxsigma.c err |= comedi_check_trigger_arg_is(&cmd->scan_begin_arg, tmp); tmp 829 drivers/staging/comedi/drivers/usbduxsigma.c unsigned int tmp; tmp 883 drivers/staging/comedi/drivers/usbduxsigma.c tmp = rounddown(cmd->scan_begin_arg, 1000000); tmp 884 drivers/staging/comedi/drivers/usbduxsigma.c err |= comedi_check_trigger_arg_is(&cmd->scan_begin_arg, tmp); tmp 1265 drivers/staging/comedi/drivers/usbduxsigma.c u8 *tmp; tmp 1282 drivers/staging/comedi/drivers/usbduxsigma.c tmp = kmalloc(1, GFP_KERNEL); tmp 1283 drivers/staging/comedi/drivers/usbduxsigma.c if (!tmp) { tmp 1289 drivers/staging/comedi/drivers/usbduxsigma.c *tmp = 1; /* 7f92 to one */ tmp 1294 drivers/staging/comedi/drivers/usbduxsigma.c tmp, 1, tmp 1314 drivers/staging/comedi/drivers/usbduxsigma.c *tmp = 0; /* 7f92 to zero */ tmp 1319 drivers/staging/comedi/drivers/usbduxsigma.c tmp, 1, tmp 1325 drivers/staging/comedi/drivers/usbduxsigma.c kfree(tmp); tmp 2268 drivers/staging/exfat/exfat_super.c struct inode *tmp = exfat_iget(sb, i_pos); tmp 2270 drivers/staging/exfat/exfat_super.c if (tmp) { tmp 2271 drivers/staging/exfat/exfat_super.c inum = tmp->i_ino; tmp 2272 drivers/staging/exfat/exfat_super.c iput(tmp); tmp 135 drivers/staging/fbtft/fb_ssd1331.c unsigned long tmp[GAMMA_NUM * GAMMA_LEN]; tmp 146 drivers/staging/fbtft/fb_ssd1331.c tmp[i] = acc; tmp 156 drivers/staging/fbtft/fb_ssd1331.c tmp[0], tmp[1], tmp[2], tmp[3], tmp[4], tmp[5], tmp[6], tmp 157 drivers/staging/fbtft/fb_ssd1331.c tmp[7], tmp[8], tmp[9], tmp[10], tmp[11], tmp[12], tmp[13], tmp 158 drivers/staging/fbtft/fb_ssd1331.c tmp[14], tmp[15], tmp[16], tmp[17], tmp[18], tmp[19], tmp[20], tmp 159 drivers/staging/fbtft/fb_ssd1331.c tmp[21], tmp[22], tmp[23], tmp[24], tmp[25], tmp[26], tmp[27], tmp 160 drivers/staging/fbtft/fb_ssd1331.c tmp[28], tmp[29], tmp[30], tmp[31], tmp[32], tmp[33], tmp[34], tmp 161 drivers/staging/fbtft/fb_ssd1331.c tmp[35], tmp[36], tmp[37], tmp[38], tmp[39], tmp[40], tmp[41], tmp 162 drivers/staging/fbtft/fb_ssd1331.c tmp[42], tmp[43], tmp[44], tmp[45], tmp[46], tmp[47], tmp[48], tmp 163 drivers/staging/fbtft/fb_ssd1331.c tmp[49], tmp[50], tmp[51], tmp[52], tmp[53], tmp[54], tmp[55], tmp 164 drivers/staging/fbtft/fb_ssd1331.c tmp[56], tmp[57], tmp[58], tmp[59], tmp[60], tmp[61], tmp 165 drivers/staging/fbtft/fb_ssd1331.c tmp[62]); tmp 123 drivers/staging/fbtft/fb_ssd1351.c unsigned long tmp[GAMMA_NUM * GAMMA_LEN]; tmp 134 drivers/staging/fbtft/fb_ssd1351.c tmp[i] = acc; tmp 144 drivers/staging/fbtft/fb_ssd1351.c tmp[0], tmp[1], tmp[2], tmp[3], tmp 145 drivers/staging/fbtft/fb_ssd1351.c tmp[4], tmp[5], tmp[6], tmp[7], tmp 146 drivers/staging/fbtft/fb_ssd1351.c tmp[8], tmp[9], tmp[10], tmp[11], tmp 147 drivers/staging/fbtft/fb_ssd1351.c tmp[12], tmp[13], tmp[14], tmp[15], tmp 148 drivers/staging/fbtft/fb_ssd1351.c tmp[16], tmp[17], tmp[18], tmp[19], tmp 149 drivers/staging/fbtft/fb_ssd1351.c tmp[20], tmp[21], tmp[22], tmp[23], tmp 150 drivers/staging/fbtft/fb_ssd1351.c tmp[24], tmp[25], tmp[26], tmp[27], tmp 151 drivers/staging/fbtft/fb_ssd1351.c tmp[28], tmp[29], tmp[30], tmp[31], tmp 152 drivers/staging/fbtft/fb_ssd1351.c tmp[32], tmp[33], tmp[34], tmp[35], tmp 153 drivers/staging/fbtft/fb_ssd1351.c tmp[36], tmp[37], tmp[38], tmp[39], tmp 154 drivers/staging/fbtft/fb_ssd1351.c tmp[40], tmp[41], tmp[42], tmp[43], tmp 155 drivers/staging/fbtft/fb_ssd1351.c tmp[44], tmp[45], tmp[46], tmp[47], tmp 156 drivers/staging/fbtft/fb_ssd1351.c tmp[48], tmp[49], tmp[50], tmp[51], tmp 157 drivers/staging/fbtft/fb_ssd1351.c tmp[52], tmp[53], tmp[54], tmp[55], tmp 158 drivers/staging/fbtft/fb_ssd1351.c tmp[56], tmp[57], tmp[58], tmp[59], tmp 159 drivers/staging/fbtft/fb_ssd1351.c tmp[60], tmp[61], tmp[62]); tmp 47 drivers/staging/fbtft/fbtft-io.c u64 val, dc, tmp; tmp 64 drivers/staging/fbtft/fbtft-io.c tmp = 0; tmp 69 drivers/staging/fbtft/fbtft-io.c tmp |= dc << bits; tmp 71 drivers/staging/fbtft/fbtft-io.c tmp |= val << bits--; tmp 74 drivers/staging/fbtft/fbtft-io.c tmp |= ((*src & 0x0100) ? 1 : 0); tmp 75 drivers/staging/fbtft/fbtft-io.c *(__be64 *)dst = cpu_to_be64(tmp); tmp 24 drivers/staging/fbtft/fbtft-sysfs.c char *tmp; tmp 36 drivers/staging/fbtft/fbtft-sysfs.c tmp = kmemdup(str, size + 1, GFP_KERNEL); tmp 37 drivers/staging/fbtft/fbtft-sysfs.c if (!tmp) tmp 41 drivers/staging/fbtft/fbtft-sysfs.c str_p = tmp; tmp 50 drivers/staging/fbtft/fbtft-sysfs.c str_p = strim(tmp); tmp 88 drivers/staging/fbtft/fbtft-sysfs.c kfree(tmp); tmp 343 drivers/staging/fsl-dpaa2/ethsw/ethsw.c u64 tmp; tmp 386 drivers/staging/fsl-dpaa2/ethsw/ethsw.c &tmp); tmp 389 drivers/staging/fsl-dpaa2/ethsw/ethsw.c stats->rx_dropped += tmp; tmp 244 drivers/staging/fwserial/dma_fifo.c struct dma_pending *pending, *next, *tmp; tmp 258 drivers/staging/fwserial/dma_fifo.c tmp = complete->data; tmp 259 drivers/staging/fwserial/dma_fifo.c *tmp = *complete; tmp 260 drivers/staging/fwserial/dma_fifo.c list_replace(&complete->link, &tmp->link); tmp 261 drivers/staging/fwserial/dma_fifo.c dp_mark_completed(tmp); tmp 2532 drivers/staging/fwserial/fwserial.c struct fwtty_port *tmp = peer->port; tmp 2537 drivers/staging/fwserial/fwserial.c fwtty_write_port_status(tmp); tmp 2657 drivers/staging/fwserial/fwserial.c struct fwtty_port *tmp = peer->port; tmp 2662 drivers/staging/fwserial/fwserial.c fwtty_write_port_status(tmp); tmp 1676 drivers/staging/gasket/gasket_core.c u64 tmp; tmp 1679 drivers/staging/gasket/gasket_core.c tmp = gasket_dev_read_64(gasket_dev, bar, offset); tmp 1680 drivers/staging/gasket/gasket_core.c if ((tmp & mask) == val) tmp 607 drivers/staging/gasket/gasket_core.h u64 mask, tmp; tmp 609 drivers/staging/gasket/gasket_core.h tmp = gasket_dev_read_64(dev, bar, location); tmp 611 drivers/staging/gasket/gasket_core.h tmp = (tmp & ~mask) | (value << mask_shift); tmp 612 drivers/staging/gasket/gasket_core.h gasket_dev_write_64(dev, tmp, bar, location); tmp 619 drivers/staging/gasket/gasket_core.h u32 mask, tmp; tmp 621 drivers/staging/gasket/gasket_core.h tmp = gasket_dev_read_32(dev, bar, location); tmp 623 drivers/staging/gasket/gasket_core.h tmp = (tmp & ~mask) | (value << mask_shift); tmp 624 drivers/staging/gasket/gasket_core.h gasket_dev_write_32(dev, tmp, bar, location); tmp 440 drivers/staging/greybus/fw-download.c struct fw_request *fw_req, *tmp; tmp 458 drivers/staging/greybus/fw-download.c list_for_each_entry_safe(fw_req, tmp, &fw_download->fw_requests, node) { tmp 607 drivers/staging/iio/adc/ad7192.c unsigned int tmp; tmp 620 drivers/staging/iio/adc/ad7192.c tmp = st->conf; tmp 623 drivers/staging/iio/adc/ad7192.c if (tmp == st->conf) tmp 222 drivers/staging/iio/adc/ad7280a.c unsigned int tmp; tmp 245 drivers/staging/iio/adc/ad7280a.c ret = __ad7280_read32(st, &tmp); tmp 249 drivers/staging/iio/adc/ad7280a.c if (ad7280_check_crc(st, tmp)) tmp 252 drivers/staging/iio/adc/ad7280a.c if (((tmp >> 27) != devaddr) || (((tmp >> 21) & 0x3F) != addr)) tmp 255 drivers/staging/iio/adc/ad7280a.c return (tmp >> 13) & 0xFF; tmp 262 drivers/staging/iio/adc/ad7280a.c unsigned int tmp; tmp 285 drivers/staging/iio/adc/ad7280a.c ret = __ad7280_read32(st, &tmp); tmp 289 drivers/staging/iio/adc/ad7280a.c if (ad7280_check_crc(st, tmp)) tmp 292 drivers/staging/iio/adc/ad7280a.c if (((tmp >> 27) != devaddr) || (((tmp >> 23) & 0xF) != addr)) tmp 295 drivers/staging/iio/adc/ad7280a.c return (tmp >> 11) & 0xFFF; tmp 302 drivers/staging/iio/adc/ad7280a.c unsigned int tmp, sum = 0; tmp 320 drivers/staging/iio/adc/ad7280a.c ret = __ad7280_read32(st, &tmp); tmp 324 drivers/staging/iio/adc/ad7280a.c if (ad7280_check_crc(st, tmp)) tmp 328 drivers/staging/iio/adc/ad7280a.c array[i] = tmp; tmp 330 drivers/staging/iio/adc/ad7280a.c if (((tmp >> 23) & 0xF) <= AD7280A_CELL_VOLTAGE_6) tmp 331 drivers/staging/iio/adc/ad7280a.c sum += ((tmp >> 11) & 0xFFF); tmp 787 drivers/staging/iio/adc/ad7280a.c u64 tmp = IIO_EVENT_CODE(IIO_VOLTAGE, 1, 0, tmp 791 drivers/staging/iio/adc/ad7280a.c iio_push_event(indio_dev, tmp, tmp 795 drivers/staging/iio/adc/ad7280a.c u64 tmp = IIO_EVENT_CODE(IIO_VOLTAGE, 1, 0, tmp 799 drivers/staging/iio/adc/ad7280a.c iio_push_event(indio_dev, tmp, tmp 805 drivers/staging/iio/adc/ad7280a.c u64 tmp = IIO_UNMOD_EVENT_CODE(IIO_TEMP, 0, tmp 808 drivers/staging/iio/adc/ad7280a.c iio_push_event(indio_dev, tmp, tmp 812 drivers/staging/iio/adc/ad7280a.c u64 tmp = IIO_UNMOD_EVENT_CODE(IIO_TEMP, 0, tmp 815 drivers/staging/iio/adc/ad7280a.c iio_push_event(indio_dev, tmp, tmp 141 drivers/staging/isdn/avm/b1dma.c u32 tmp = val; tmp 142 drivers/staging/isdn/avm/b1dma.c return b1dma_tolink(card, &tmp, 4); tmp 152 drivers/staging/isdn/avm/b1dma.c u32 tmp; tmp 153 drivers/staging/isdn/avm/b1dma.c if (b1dma_fromlink(card, &tmp, 4) == 0) tmp 154 drivers/staging/isdn/avm/b1dma.c return (u8)tmp; tmp 1087 drivers/staging/isdn/gigaset/capi.c struct gigaset_capi_appl *ap, *tmp; tmp 1092 drivers/staging/isdn/gigaset/capi.c list_for_each_entry_safe(ap, tmp, &iif->appls, ctrlist) tmp 133 drivers/staging/isdn/hysdn/hysdn_init.c hysdn_card *tmp = card_root; tmp 134 drivers/staging/isdn/hysdn/hysdn_init.c while (tmp) { tmp 135 drivers/staging/isdn/hysdn/hysdn_init.c if (tmp->next == card) tmp 136 drivers/staging/isdn/hysdn/hysdn_init.c tmp->next = card->next; tmp 137 drivers/staging/isdn/hysdn/hysdn_init.c card_last = tmp; tmp 138 drivers/staging/isdn/hysdn/hysdn_init.c tmp = tmp->next; tmp 233 drivers/staging/isdn/hysdn/hysdn_procconf.c char *cp, *tmp; tmp 258 drivers/staging/isdn/hysdn/hysdn_procconf.c if (!(tmp = kmalloc(INFO_OUT_LEN * 2 + 2, GFP_KERNEL))) { tmp 262 drivers/staging/isdn/hysdn/hysdn_procconf.c filep->private_data = tmp; /* start of string */ tmp 265 drivers/staging/isdn/hysdn/hysdn_procconf.c sprintf(tmp, "id bus slot type irq iobase dp-mem b-chans fax-chans state device"); tmp 266 drivers/staging/isdn/hysdn/hysdn_procconf.c cp = tmp; /* start of string */ tmp 269 drivers/staging/isdn/hysdn/hysdn_procconf.c while (((cp - tmp) % (INFO_OUT_LEN + 1)) != INFO_OUT_LEN) tmp 288 drivers/staging/isdn/hysdn/hysdn_procconf.c while (((cp - tmp) % (INFO_OUT_LEN + 1)) != INFO_OUT_LEN) tmp 724 drivers/staging/ks7010/ks_hostif.c unsigned int tmp = 0; tmp 735 drivers/staging/ks7010/ks_hostif.c tmp = FORCE_DISCONNECT & priv->connect_status; tmp 736 drivers/staging/ks7010/ks_hostif.c priv->connect_status = tmp + CONNECT_STATUS; tmp 740 drivers/staging/ks7010/ks_hostif.c tmp = FORCE_DISCONNECT & priv->connect_status; tmp 741 drivers/staging/ks7010/ks_hostif.c priv->connect_status = tmp + DISCONNECT_STATUS; tmp 747 drivers/staging/ks7010/ks_hostif.c tmp = FORCE_DISCONNECT & priv->connect_status; tmp 748 drivers/staging/ks7010/ks_hostif.c priv->connect_status = tmp + DISCONNECT_STATUS; tmp 814 drivers/staging/ks7010/ks_hostif.c unsigned int tmp = 0; tmp 825 drivers/staging/ks7010/ks_hostif.c tmp = FORCE_DISCONNECT & priv->connect_status; tmp 826 drivers/staging/ks7010/ks_hostif.c priv->connect_status = tmp | DISCONNECT_STATUS; tmp 1242 drivers/staging/media/allegro-dvt/allegro-core.c struct allegro_buffer *buffer, *tmp; tmp 1261 drivers/staging/media/allegro-dvt/allegro-core.c list_for_each_entry_safe(buffer, tmp, list, head) { tmp 1273 drivers/staging/media/allegro-dvt/allegro-core.c struct allegro_buffer *buffer, *tmp; tmp 1275 drivers/staging/media/allegro-dvt/allegro-core.c list_for_each_entry_safe(buffer, tmp, list, head) { tmp 179 drivers/staging/media/allegro-dvt/nal-h264.c unsigned int tmp = 0; tmp 182 drivers/staging/media/allegro-dvt/nal-h264.c rbsp_read_bits(rbsp, 8, &tmp); tmp 183 drivers/staging/media/allegro-dvt/nal-h264.c if (tmp != EMULATION_PREVENTION_THREE_BYTE) tmp 252 drivers/staging/media/allegro-dvt/nal-h264.c unsigned int tmp = 0; tmp 261 drivers/staging/media/allegro-dvt/nal-h264.c tmp |= bit << (i - 1); tmp 265 drivers/staging/media/allegro-dvt/nal-h264.c *value = tmp; tmp 289 drivers/staging/media/allegro-dvt/nal-h264.c unsigned int tmp = 0; tmp 298 drivers/staging/media/allegro-dvt/nal-h264.c ret = rbsp_read_bits(rbsp, leading_zero_bits, &tmp); tmp 304 drivers/staging/media/allegro-dvt/nal-h264.c *value = (1 << leading_zero_bits) - 1 + tmp; tmp 329 drivers/staging/media/allegro-dvt/nal-h264.c unsigned int tmp; tmp 331 drivers/staging/media/allegro-dvt/nal-h264.c ret = rbsp_read_uev(rbsp, &tmp); tmp 336 drivers/staging/media/allegro-dvt/nal-h264.c if (tmp & 1) tmp 337 drivers/staging/media/allegro-dvt/nal-h264.c *value = (tmp + 1) / 2; tmp 339 drivers/staging/media/allegro-dvt/nal-h264.c *value = -(tmp / 2); tmp 347 drivers/staging/media/allegro-dvt/nal-h264.c unsigned int tmp; tmp 353 drivers/staging/media/allegro-dvt/nal-h264.c tmp = (2 * (*value)) | 1; tmp 355 drivers/staging/media/allegro-dvt/nal-h264.c tmp = -2 * (*value); tmp 357 drivers/staging/media/allegro-dvt/nal-h264.c return rbsp_write_uev(rbsp, &tmp); tmp 379 drivers/staging/media/allegro-dvt/nal-h264.c int tmp = rbsp_read_bit(rbsp); tmp 381 drivers/staging/media/allegro-dvt/nal-h264.c if (tmp < 0) tmp 382 drivers/staging/media/allegro-dvt/nal-h264.c return tmp; tmp 383 drivers/staging/media/allegro-dvt/nal-h264.c *value = tmp; tmp 562 drivers/staging/media/imx/imx-media-capture.c struct imx_media_buffer *buf, *tmp; tmp 585 drivers/staging/media/imx/imx-media-capture.c list_for_each_entry_safe(buf, tmp, &priv->ready_q, list) { tmp 597 drivers/staging/media/imx/imx-media-capture.c struct imx_media_buffer *tmp; tmp 612 drivers/staging/media/imx/imx-media-capture.c list_for_each_entry_safe(frame, tmp, &priv->ready_q, list) { tmp 882 drivers/staging/media/imx/imx-media-csi.c u64 tmp, err; tmp 884 drivers/staging/media/imx/imx-media-csi.c tmp = div_u64((u64)USEC_PER_SEC * in->numerator * tmp 887 drivers/staging/media/imx/imx-media-csi.c err = abs((s64)tmp - want_us); tmp 58 drivers/staging/media/meson/vdec/vdec.c struct amvdec_buffer *tmp, *n; tmp 62 drivers/staging/media/meson/vdec/vdec.c list_for_each_entry_safe(tmp, n, &sess->bufs_recycle, list) { tmp 66 drivers/staging/media/meson/vdec/vdec.c codec_ops->recycle(core, tmp->vb->index); tmp 67 drivers/staging/media/meson/vdec/vdec.c list_del(&tmp->list); tmp 68 drivers/staging/media/meson/vdec/vdec.c kfree(tmp); tmp 364 drivers/staging/media/meson/vdec/vdec.c struct amvdec_timestamp *tmp, *n; tmp 366 drivers/staging/media/meson/vdec/vdec.c list_for_each_entry_safe(tmp, n, &sess->timestamps, list) { tmp 367 drivers/staging/media/meson/vdec/vdec.c list_del(&tmp->list); tmp 368 drivers/staging/media/meson/vdec/vdec.c kfree(tmp); tmp 374 drivers/staging/media/meson/vdec/vdec.c struct amvdec_buffer *tmp, *n; tmp 376 drivers/staging/media/meson/vdec/vdec.c list_for_each_entry_safe(tmp, n, &sess->bufs_recycle, list) { tmp 377 drivers/staging/media/meson/vdec/vdec.c list_del(&tmp->list); tmp 378 drivers/staging/media/meson/vdec/vdec.c kfree(tmp); tmp 205 drivers/staging/media/meson/vdec/vdec_helpers.c struct amvdec_timestamp *new_ts, *tmp; tmp 217 drivers/staging/media/meson/vdec/vdec_helpers.c list_for_each_entry(tmp, &sess->timestamps, list) { tmp 218 drivers/staging/media/meson/vdec/vdec_helpers.c if (ts <= tmp->ts) { tmp 219 drivers/staging/media/meson/vdec/vdec_helpers.c list_add_tail(&new_ts->list, &tmp->list); tmp 233 drivers/staging/media/meson/vdec/vdec_helpers.c struct amvdec_timestamp *tmp; tmp 237 drivers/staging/media/meson/vdec/vdec_helpers.c list_for_each_entry(tmp, &sess->timestamps, list) { tmp 238 drivers/staging/media/meson/vdec/vdec_helpers.c if (tmp->ts == ts) { tmp 239 drivers/staging/media/meson/vdec/vdec_helpers.c list_del(&tmp->list); tmp 240 drivers/staging/media/meson/vdec/vdec_helpers.c kfree(tmp); tmp 298 drivers/staging/media/meson/vdec/vdec_helpers.c struct amvdec_timestamp *tmp; tmp 313 drivers/staging/media/meson/vdec/vdec_helpers.c tmp = list_first_entry(timestamps, struct amvdec_timestamp, list); tmp 314 drivers/staging/media/meson/vdec/vdec_helpers.c timestamp = tmp->ts; tmp 315 drivers/staging/media/meson/vdec/vdec_helpers.c list_del(&tmp->list); tmp 316 drivers/staging/media/meson/vdec/vdec_helpers.c kfree(tmp); tmp 330 drivers/staging/media/meson/vdec/vdec_helpers.c struct amvdec_timestamp *tmp, *n; tmp 337 drivers/staging/media/meson/vdec/vdec_helpers.c list_for_each_entry_safe(tmp, n, &sess->timestamps, list) { tmp 338 drivers/staging/media/meson/vdec/vdec_helpers.c s64 delta = (s64)offset - tmp->offset; tmp 345 drivers/staging/media/meson/vdec/vdec_helpers.c match = tmp; tmp 357 drivers/staging/media/meson/vdec/vdec_helpers.c list_del(&tmp->list); tmp 358 drivers/staging/media/meson/vdec/vdec_helpers.c kfree(tmp); tmp 1921 drivers/staging/media/soc_camera/soc_camera.c struct soc_camera_device *icd, *tmp; tmp 1944 drivers/staging/media/soc_camera/soc_camera.c list_for_each_entry_safe(icd, tmp, &devices, list) tmp 189 drivers/staging/media/tegra-vde/dmabuf-cache.c struct tegra_vde_cache_entry *entry, *tmp; tmp 193 drivers/staging/media/tegra-vde/dmabuf-cache.c list_for_each_entry_safe(entry, tmp, &vde->map_list, list) { tmp 208 drivers/staging/media/tegra-vde/dmabuf-cache.c struct tegra_vde_cache_entry *entry, *tmp; tmp 213 drivers/staging/media/tegra-vde/dmabuf-cache.c list_for_each_entry_safe(entry, tmp, &vde->map_list, list) { tmp 81 drivers/staging/media/tegra-vde/vde.c u32 tmp; tmp 83 drivers/staging/media/tegra-vde/vde.c return readl_relaxed_poll_timeout(vde->mbe + 0x8C, tmp, tmp 84 drivers/staging/media/tegra-vde/vde.c (tmp >= 0x10), 1, 100); tmp 68 drivers/staging/most/cdev/cdev.c struct comp_channel *c, *tmp; tmp 73 drivers/staging/most/cdev/cdev.c list_for_each_entry_safe(c, tmp, &channel_list, list) { tmp 545 drivers/staging/most/cdev/cdev.c struct comp_channel *c, *tmp; tmp 552 drivers/staging/most/cdev/cdev.c list_for_each_entry_safe(c, tmp, &channel_list, list) { tmp 115 drivers/staging/most/configfs.c bool tmp; tmp 118 drivers/staging/most/configfs.c ret = kstrtobool(page, &tmp); tmp 121 drivers/staging/most/configfs.c if (!tmp) tmp 127 drivers/staging/most/configfs.c mdev_link->create_link = tmp; tmp 135 drivers/staging/most/configfs.c bool tmp; tmp 138 drivers/staging/most/configfs.c ret = kstrtobool(page, &tmp); tmp 141 drivers/staging/most/configfs.c if (!tmp) tmp 143 drivers/staging/most/configfs.c mdev_link->destroy_link = tmp; tmp 501 drivers/staging/most/configfs.c bool tmp; tmp 503 drivers/staging/most/configfs.c ret = kstrtobool(page, &tmp); tmp 506 drivers/staging/most/configfs.c if (tmp) { tmp 511 drivers/staging/most/configfs.c snd_grp->create_card = tmp; tmp 130 drivers/staging/most/core.c struct mbo *mbo, *tmp; tmp 136 drivers/staging/most/core.c list_for_each_entry_safe(mbo, tmp, &c->fifo, list) { tmp 145 drivers/staging/most/core.c list_for_each_entry_safe(mbo, tmp, &c->halt_fifo, list) { tmp 163 drivers/staging/most/core.c struct mbo *mbo, *tmp; tmp 167 drivers/staging/most/core.c list_for_each_entry_safe(mbo, tmp, &c->trash_fifo, list) { tmp 574 drivers/staging/most/core.c struct most_channel *c, *tmp; tmp 580 drivers/staging/most/core.c list_for_each_entry_safe(c, tmp, &iface->p->channel_list, list) { tmp 1319 drivers/staging/most/core.c struct most_channel *c, *tmp; tmp 1323 drivers/staging/most/core.c list_for_each_entry_safe(c, tmp, &iface->p->channel_list, list) { tmp 173 drivers/staging/most/sound/sound.c struct channel *channel, *tmp; tmp 175 drivers/staging/most/sound/sound.c list_for_each_entry_safe(channel, tmp, &adpt->dev_list, list) { tmp 549 drivers/staging/most/sound/sound.c struct channel *channel, *tmp; tmp 551 drivers/staging/most/sound/sound.c list_for_each_entry_safe(channel, tmp, &adpt->dev_list, list) { tmp 121 drivers/staging/most/video/video.c struct mbo *mbo, *tmp; tmp 134 drivers/staging/most/video/video.c list_for_each_entry_safe(mbo, tmp, &mdev->pending_mbos, list) { tmp 554 drivers/staging/most/video/video.c struct most_video_dev *mdev, *tmp; tmp 563 drivers/staging/most/video/video.c list_for_each_entry_safe(mdev, tmp, &video_devices, list) { tmp 456 drivers/staging/mt7621-pci/pci-mt7621.c struct mt7621_pcie_port *port, *tmp; tmp 464 drivers/staging/mt7621-pci/pci-mt7621.c list_for_each_entry_safe(port, tmp, &pcie->ports, list) { tmp 47 drivers/staging/netlogic/xlr_net.c u32 tmp; tmp 49 drivers/staging/netlogic/xlr_net.c tmp = xlr_nae_rdreg(base_addr, off); tmp 50 drivers/staging/netlogic/xlr_net.c xlr_nae_wreg(base_addr, off, (tmp & ~mask) | (val & mask)); tmp 78 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c u8 tmp; tmp 81 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c tmp = inb(VX855_GPI_STATUS_CHG); tmp 83 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c return !!(tmp & BIT_GPIO12); tmp 132 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c unsigned char tmp; tmp 137 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c tmp = inb(0x3c5); tmp 140 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c tmp |= 0x20; tmp 142 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c tmp &= ~0x20; tmp 145 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c tmp |= 0x10; tmp 147 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c tmp &= ~0x10; tmp 149 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c tmp |= 0x01; tmp 152 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c outb(tmp, 0x3c5); tmp 77 drivers/staging/pi433/rf69.c u8 tmp; tmp 79 drivers/staging/pi433/rf69.c tmp = rf69_read_reg(spi, reg); tmp 80 drivers/staging/pi433/rf69.c tmp = tmp | mask; tmp 81 drivers/staging/pi433/rf69.c return rf69_write_reg(spi, reg, tmp); tmp 86 drivers/staging/pi433/rf69.c u8 tmp; tmp 88 drivers/staging/pi433/rf69.c tmp = rf69_read_reg(spi, reg); tmp 89 drivers/staging/pi433/rf69.c tmp = tmp & ~mask; tmp 90 drivers/staging/pi433/rf69.c return rf69_write_reg(spi, reg, tmp); tmp 96 drivers/staging/pi433/rf69.c u8 tmp; tmp 98 drivers/staging/pi433/rf69.c tmp = rf69_read_reg(spi, reg); tmp 99 drivers/staging/pi433/rf69.c tmp = (tmp & ~mask) | value; tmp 100 drivers/staging/pi433/rf69.c return rf69_write_reg(spi, reg, tmp); tmp 1331 drivers/staging/qlge/qlge_dbg.c u32 *tmp, count; tmp 1335 drivers/staging/qlge/qlge_dbg.c tmp = (u32 *)qdev->mpi_coredump; tmp 1342 drivers/staging/qlge/qlge_dbg.c tmp[i + 0], tmp 1343 drivers/staging/qlge/qlge_dbg.c tmp[i + 1], tmp 1344 drivers/staging/qlge/qlge_dbg.c tmp[i + 2], tmp 1345 drivers/staging/qlge/qlge_dbg.c tmp[i + 3], tmp 1346 drivers/staging/qlge/qlge_dbg.c tmp[i + 4], tmp 1347 drivers/staging/qlge/qlge_dbg.c tmp[i + 5], tmp 1348 drivers/staging/qlge/qlge_dbg.c tmp[i + 6], tmp 1349 drivers/staging/qlge/qlge_dbg.c tmp[i + 7]); tmp 3137 drivers/staging/qlge/qlge_main.c u64 tmp; tmp 3186 drivers/staging/qlge/qlge_main.c tmp = (u64)rx_ring->lbq_base_dma; tmp 3190 drivers/staging/qlge/qlge_main.c *base_indirect_ptr = cpu_to_le64(tmp); tmp 3191 drivers/staging/qlge/qlge_main.c tmp += DB_PAGE_SIZE; tmp 3210 drivers/staging/qlge/qlge_main.c tmp = (u64)rx_ring->sbq_base_dma; tmp 3214 drivers/staging/qlge/qlge_main.c *base_indirect_ptr = cpu_to_le64(tmp); tmp 3215 drivers/staging/qlge/qlge_main.c tmp += DB_PAGE_SIZE; tmp 6 drivers/staging/qlge/qlge_mpi.c u32 tmp; tmp 9 drivers/staging/qlge/qlge_mpi.c tmp = ql_read32(qdev, CSR); tmp 10 drivers/staging/qlge/qlge_mpi.c if (!(tmp & CSR_RP)) tmp 19 drivers/staging/qlge/qlge_mpi.c u32 tmp; tmp 25 drivers/staging/qlge/qlge_mpi.c tmp = ql_read32(qdev, CSR); tmp 26 drivers/staging/qlge/qlge_mpi.c if (tmp & CSR_RP) tmp 36 drivers/staging/qlge/qlge_mpi.c u32 tmp; tmp 42 drivers/staging/qlge/qlge_mpi.c tmp = ql_read32(qdev, CSR); tmp 43 drivers/staging/qlge/qlge_mpi.c if (tmp & CSR_RR) { tmp 37 drivers/staging/rtl8188eu/core/rtw_debug.c char tmp[32]; tmp 45 drivers/staging/rtl8188eu/core/rtw_debug.c if (buffer && !copy_from_user(tmp, buffer, sizeof(tmp))) { tmp 46 drivers/staging/rtl8188eu/core/rtw_debug.c int num = sscanf(tmp, "%x %x %x", &addr, &val, &len); tmp 109 drivers/staging/rtl8188eu/core/rtw_debug.c char tmp[16]; tmp 117 drivers/staging/rtl8188eu/core/rtw_debug.c if (buffer && !copy_from_user(tmp, buffer, sizeof(tmp))) { tmp 118 drivers/staging/rtl8188eu/core/rtw_debug.c int num = sscanf(tmp, "%x %x", &addr, &len); tmp 85 drivers/staging/rtl8188eu/core/rtw_efuse.c void **tmp = NULL; tmp 91 drivers/staging/rtl8188eu/core/rtw_efuse.c tmp = kcalloc(EFUSE_MAX_SECTION_88E, tmp 94 drivers/staging/rtl8188eu/core/rtw_efuse.c if (!tmp) { tmp 99 drivers/staging/rtl8188eu/core/rtw_efuse.c tmp[i] = ((char *)(tmp + EFUSE_MAX_SECTION_88E)) + i * EFUSE_MAX_WORD_UNIT * sizeof(u16); tmp 100 drivers/staging/rtl8188eu/core/rtw_efuse.c eFuseWord = (u16 **)tmp; tmp 147 drivers/staging/rtl8188eu/core/rtw_ieee80211.c int tmp, i; tmp 161 drivers/staging/rtl8188eu/core/rtw_ieee80211.c tmp = *(p + 1); tmp 162 drivers/staging/rtl8188eu/core/rtw_ieee80211.c p += (tmp + 2); tmp 163 drivers/staging/rtl8188eu/core/rtw_ieee80211.c i += (tmp + 2); tmp 433 drivers/staging/rtl8188eu/core/rtw_xmit.c u8 tmp[24]; tmp 435 drivers/staging/rtl8188eu/core/rtw_xmit.c skb_copy_bits(pkt, ETH_HLEN, tmp, 24); tmp 440 drivers/staging/rtl8188eu/core/rtw_xmit.c if (((tmp[21] == 68) && (tmp[23] == 67)) || tmp 441 drivers/staging/rtl8188eu/core/rtw_xmit.c ((tmp[21] == 67) && (tmp[23] == 68))) { tmp 26 drivers/staging/rtl8188eu/hal/fw.c u8 tmp; tmp 29 drivers/staging/rtl8188eu/hal/fw.c tmp = usb_read8(adapt, REG_MCUFWDL); tmp 30 drivers/staging/rtl8188eu/hal/fw.c usb_write8(adapt, REG_MCUFWDL, tmp | 0x01); tmp 32 drivers/staging/rtl8188eu/hal/fw.c tmp = usb_read8(adapt, REG_MCUFWDL + 2); tmp 33 drivers/staging/rtl8188eu/hal/fw.c usb_write8(adapt, REG_MCUFWDL + 2, tmp & 0xf7); tmp 35 drivers/staging/rtl8188eu/hal/fw.c tmp = usb_read8(adapt, REG_MCUFWDL); tmp 36 drivers/staging/rtl8188eu/hal/fw.c usb_write8(adapt, REG_MCUFWDL, tmp & 0xfe); tmp 1237 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c static u8 tmp; tmp 1239 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c if (!tmp) { tmp 1241 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c tmp = 1; tmp 2224 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c u32 tmp; tmp 2226 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c tmp = rtl92e_readl(dev, ISR); tmp 2227 drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c rtl92e_writel(dev, ISR, tmp); tmp 1737 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c u8 tmp = AC0_BE; tmp 1740 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c (u8 *)(&tmp)); tmp 18 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c u8 tmp; tmp 25 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c pci_read_config_byte(pdev, 0x98, &tmp); tmp 26 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c tmp |= BIT4; tmp 27 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c pci_write_config_byte(pdev, 0x98, tmp); tmp 29 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c tmp = 0x17; tmp 30 drivers/staging/rtl8192e/rtl8192e/rtl_pci.c pci_write_config_byte(pdev, 0x70f, tmp); tmp 79 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c u32 tmp; tmp 101 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c tmp = time - jiffies; tmp 102 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c schedule_delayed_work(&priv->rtllib->hw_wakeup_wq, tmp); tmp 358 drivers/staging/rtl8192e/rtl819x_TSProc.c struct tx_ts_record *tmp = tmp 362 drivers/staging/rtl8192e/rtl819x_TSProc.c ResetTxTsEntry(tmp); tmp 364 drivers/staging/rtl8192e/rtl819x_TSProc.c struct rx_ts_record *tmp = tmp 368 drivers/staging/rtl8192e/rtl819x_TSProc.c ResetRxTsEntry(tmp); tmp 75 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c struct ieee80211_crypt_data *tmp; tmp 81 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c tmp = *crypt; tmp 90 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c list_add(&tmp->list, &ieee->crypt_deinit_list); tmp 1796 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c u8 tmp = 0; tmp 1802 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c tmp = *act; tmp 1804 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c switch (tmp) { tmp 375 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c struct tx_ts_record *tmp = container_of(*ppTS, struct tx_ts_record, ts_common_info); tmp 376 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c ResetTxTsEntry(tmp); tmp 378 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c struct rx_ts_record *tmp = container_of(*ppTS, struct rx_ts_record, ts_common_info); tmp 379 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c ResetRxTsEntry(tmp); tmp 1132 drivers/staging/rtl8192u/r8192U_core.c u32 tmp = 0; tmp 1137 drivers/staging/rtl8192u/r8192U_core.c tmp = priv->basic_rate; tmp 1139 drivers/staging/rtl8192u/r8192U_core.c tmp |= BRSR_AckShortPmb; tmp 1140 drivers/staging/rtl8192u/r8192U_core.c write_nic_dword(dev, RRSR, tmp); tmp 2269 drivers/staging/rtl8192u/r8192U_core.c u16 tmp = *data; tmp 2270 drivers/staging/rtl8192u/r8192U_core.c *data = (tmp >> 8) | (tmp << 8); tmp 2686 drivers/staging/rtl8192u/r8192U_core.c u8 tmp; tmp 2735 drivers/staging/rtl8192u/r8192U_core.c read_nic_byte_E(dev, 0x5f, &tmp); tmp 2736 drivers/staging/rtl8192u/r8192U_core.c write_nic_byte_E(dev, 0x5f, tmp | 0x20); tmp 1925 drivers/staging/rtl8192u/r8192U_dm.c u8 tmp; tmp 1958 drivers/staging/rtl8192u/r8192U_dm.c read_nic_byte(dev, rOFDM0_XAAGCCore1, &tmp); tmp 1959 drivers/staging/rtl8192u/r8192U_dm.c if (dm_digtable.pre_ig_value != tmp) tmp 226 drivers/staging/rtl8192u/r8192U_wx.c struct iw_range_with_scan_capa *tmp = (struct iw_range_with_scan_capa *)range; tmp 316 drivers/staging/rtl8192u/r8192U_wx.c tmp->scan_capa = 0x01; tmp 364 drivers/staging/rtl8192u/r819xU_phy.c u32 tmp; tmp 380 drivers/staging/rtl8192u/r819xU_phy.c read_nic_dword(dev, QPNR, &tmp); tmp 381 drivers/staging/rtl8192u/r819xU_phy.c while (tmp & 0x80000000) { tmp 387 drivers/staging/rtl8192u/r819xU_phy.c read_nic_dword(dev, QPNR, &tmp); tmp 395 drivers/staging/rtl8192u/r819xU_phy.c read_nic_dword(dev, QPNR, &tmp); tmp 396 drivers/staging/rtl8192u/r819xU_phy.c while (tmp & 0x80000000) { tmp 402 drivers/staging/rtl8192u/r819xU_phy.c read_nic_dword(dev, QPNR, &tmp); tmp 427 drivers/staging/rtl8192u/r819xU_phy.c u32 tmp; tmp 446 drivers/staging/rtl8192u/r819xU_phy.c read_nic_dword(dev, QPNR, &tmp); tmp 447 drivers/staging/rtl8192u/r819xU_phy.c while (tmp & 0x80000000) { tmp 453 drivers/staging/rtl8192u/r819xU_phy.c read_nic_dword(dev, QPNR, &tmp); tmp 858 drivers/staging/rtl8192u/r819xU_phy.c u8 tmp; tmp 885 drivers/staging/rtl8192u/r819xU_phy.c read_nic_byte(dev, rOFDM0_RxDetector2, &tmp); tmp 886 drivers/staging/rtl8192u/r819xU_phy.c priv->framesyncC34 = tmp; tmp 104 drivers/staging/rtl8712/ieee80211.c sint tmp, i; tmp 117 drivers/staging/rtl8712/ieee80211.c tmp = *(p + 1); tmp 118 drivers/staging/rtl8712/ieee80211.c p += (tmp + 2); tmp 119 drivers/staging/rtl8712/ieee80211.c i += (tmp + 2); tmp 244 drivers/staging/rtl8712/rtl871x_xmit.c u8 tmp[24]; tmp 246 drivers/staging/rtl8712/rtl871x_xmit.c _r8712_pktfile_read(&pktfile, &tmp[0], 24); tmp 250 drivers/staging/rtl8712/rtl871x_xmit.c if (((tmp[21] == 68) && (tmp[23] == 67)) || tmp 251 drivers/staging/rtl8712/rtl871x_xmit.c ((tmp[21] == 67) && (tmp[23] == 68))) { tmp 147 drivers/staging/rtl8723bs/core/rtw_ieee80211.c sint tmp, i; tmp 161 drivers/staging/rtl8723bs/core/rtw_ieee80211.c tmp = *(p + 1); tmp 162 drivers/staging/rtl8723bs/core/rtw_ieee80211.c p += (tmp + 2); tmp 163 drivers/staging/rtl8723bs/core/rtw_ieee80211.c i += (tmp + 2); tmp 940 drivers/staging/rtl8723bs/core/rtw_wlan_util.c u32 j, tmp, change_inx = false; tmp 955 drivers/staging/rtl8723bs/core/rtw_wlan_util.c tmp = edca[i]; tmp 957 drivers/staging/rtl8723bs/core/rtw_wlan_util.c edca[j] = tmp; tmp 959 drivers/staging/rtl8723bs/core/rtw_wlan_util.c tmp = inx[i]; tmp 961 drivers/staging/rtl8723bs/core/rtw_wlan_util.c inx[j] = tmp; tmp 723 drivers/staging/rtl8723bs/core/rtw_xmit.c u8 tmp[24]; tmp 725 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_pktfile_read(&pktfile, &tmp[0], 24); tmp 730 drivers/staging/rtl8723bs/core/rtw_xmit.c if (((tmp[21] == 68) && (tmp[23] == 67)) || tmp 731 drivers/staging/rtl8723bs/core/rtw_xmit.c ((tmp[21] == 67) && (tmp[23] == 68))) { tmp 743 drivers/staging/rtl8723bs/core/rtw_xmit.c struct iphdr *piphdr = (struct iphdr *)tmp; tmp 434 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c u32 regEAC, regE94, regE9C, tmp, Path_SEL_BB /*, regEA4*/; tmp 522 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = (regE9C & 0x03FF0000)>>16; tmp 523 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if ((tmp & 0x200) > 0) tmp 524 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = 0x400 - tmp; tmp 532 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c (tmp < 0xf) tmp 546 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c u32 regEAC, regE94, regE9C, regEA4, u4tmp, tmp, Path_SEL_BB; tmp 634 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = (regE9C & 0x03FF0000)>>16; tmp 635 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if ((tmp & 0x200) > 0) tmp 636 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = 0x400 - tmp; tmp 644 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c (tmp < 0xf) tmp 739 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = (regEAC & 0x03FF0000)>>16; tmp 740 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if ((tmp & 0x200) > 0) tmp 741 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = 0x400 - tmp; tmp 749 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c (tmp < 0xf) tmp 760 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c u32 regEAC, regE94, regE9C, tmp, Path_SEL_BB/*, regEC4, regECC, Path_SEL_BB*/; tmp 847 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = (regE9C & 0x03FF0000)>>16; tmp 848 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if ((tmp & 0x200) > 0) tmp 849 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = 0x400 - tmp; tmp 857 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c (tmp < 0xf) tmp 867 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c u32 regE94, regE9C, regEA4, regEAC, u4tmp, tmp, Path_SEL_BB; tmp 956 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = (regE9C & 0x03FF0000)>>16; tmp 958 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if ((tmp & 0x200) > 0) tmp 959 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = 0x400 - tmp; tmp 968 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c (tmp < 0xf) tmp 1063 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = (regEAC & 0x03FF0000)>>16; tmp 1064 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if ((tmp & 0x200) > 0) tmp 1065 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmp = 0x400 - tmp; tmp 1073 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c (tmp < 0xf) tmp 18 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 tmp, count = 0; tmp 22 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_SYS_FUNC_EN+1); tmp 23 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_SYS_FUNC_EN+1, tmp|0x04); tmp 25 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_MCUFWDL); tmp 26 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); tmp 29 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_MCUFWDL); tmp 30 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c if (tmp & 0x01) tmp 32 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); tmp 40 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_MCUFWDL+2); tmp 41 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL+2, tmp&0xf7); tmp 44 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c tmp = rtw_read8(padapter, REG_MCUFWDL); tmp 45 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write8(padapter, REG_MCUFWDL, tmp&0xfe); tmp 162 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c u8 *tmp = NULL; tmp 170 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c tmp = rtw_zmalloc(length); tmp 171 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c if (!tmp) tmp 174 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c memcpy(tmp, pbuf, length); tmp 176 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c res = rtw_c2h_packet_wk_cmd(padapter, tmp, length); tmp 179 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c kfree(tmp); tmp 1420 drivers/staging/rtl8723bs/hal/sdio_halinit.c u32 tmp; tmp 1485 drivers/staging/rtl8723bs/hal/sdio_halinit.c res = sdio_local_read(padapter, SDIO_REG_RX0_REQ_LEN, 4, (u8 *)&tmp); tmp 1486 drivers/staging/rtl8723bs/hal/sdio_halinit.c len = le16_to_cpu(tmp); tmp 1501 drivers/staging/rtl8723bs/hal/sdio_halinit.c tmp = 0; tmp 1502 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR_ON, 4, (u8 *)&tmp); tmp 1503 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); tmp 1504 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HISR, 4, (u8 *)&tmp); tmp 1505 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HISR, 4, (u8 *)&tmp); tmp 1509 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); tmp 1510 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("DisableInterruptButCpwm28723BSdio(): Read SDIO_REG_HIMR: 0x%08x\n", tmp); tmp 1515 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); tmp 1516 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("DisableInterruptButCpwm28723BSdio(): Read again SDIO_REG_HIMR: 0x%08x\n", tmp); tmp 1695 drivers/staging/rtl8723bs/hal/sdio_halinit.c res = sdio_local_read(padapter, SDIO_REG_RX0_REQ_LEN, 4, (u8 *)&tmp); tmp 1696 drivers/staging/rtl8723bs/hal/sdio_halinit.c len = le16_to_cpu(tmp); tmp 1713 drivers/staging/rtl8723bs/hal/sdio_halinit.c tmp = 0; tmp 1714 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR_ON, 4, (u8 *)&tmp); tmp 1715 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); tmp 1716 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HISR, 4, (u8 *)&tmp); tmp 1717 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_write(padapter, SDIO_REG_HISR, 4, (u8 *)&tmp); tmp 1721 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); tmp 1722 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("DisableInterruptButCpwm28723BSdio(): Read SDIO_REG_HIMR: 0x%08x\n", tmp); tmp 1727 drivers/staging/rtl8723bs/hal/sdio_halinit.c sdio_local_read(padapter, SDIO_REG_HIMR, 4, (u8 *)&tmp); tmp 1728 drivers/staging/rtl8723bs/hal/sdio_halinit.c DBG_871X("DisableInterruptButCpwm28723BSdio(): Read again SDIO_REG_HIMR: 0x%08x\n", tmp); tmp 812 drivers/staging/rtl8723bs/hal/sdio_ops.c u32 tmp; tmp 830 drivers/staging/rtl8723bs/hal/sdio_ops.c tmp = rtw_read32(adapter, REG_HSIMR); tmp 831 drivers/staging/rtl8723bs/hal/sdio_ops.c rtw_write32(adapter, REG_HSIMR, tmp | haldata->SysIntrMask); tmp 4543 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u32 tmp; tmp 4554 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sscanf(pch, "%x", &tmp); tmp 4555 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param[count++] = (u8)tmp; tmp 2753 drivers/staging/rts5208/ms.c u8 cnt, tmp; tmp 2765 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &tmp); tmp 2771 drivers/staging/rts5208/ms.c if (!(tmp & MS_INT_BREQ)) { tmp 2772 drivers/staging/rts5208/ms.c if ((tmp & (MS_INT_CED | MS_INT_BREQ | MS_INT_CMDNK | tmp 2819 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &tmp); tmp 2824 drivers/staging/rts5208/ms.c if (tmp & (MS_INT_CED | MS_INT_CMDNK | tmp 2842 drivers/staging/rts5208/ms.c if (tmp & (MS_INT_CMDNK | MS_INT_ERR)) { tmp 2847 drivers/staging/rts5208/ms.c if (tmp & MS_INT_CED) { tmp 2850 drivers/staging/rts5208/ms.c } else if (tmp & MS_INT_BREQ) { tmp 2883 drivers/staging/rts5208/ms.c u8 buf[8], tmp; tmp 2929 drivers/staging/rts5208/ms.c retval = rtsx_read_register(chip, MS_TRANS_CFG, &tmp); tmp 2933 drivers/staging/rts5208/ms.c if (tmp & (MS_INT_CMDNK | MS_INT_ERR)) tmp 2936 drivers/staging/rts5208/ms.c if ((tmp & (MS_INT_BREQ | MS_INT_CED)) == MS_INT_BREQ) { tmp 2943 drivers/staging/rts5208/ms.c if (tmp & MS_INT_CED) { tmp 144 drivers/staging/rts5208/rtsx_chip.c u8 tmp; tmp 150 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, 0xFE5A, &tmp); tmp 153 drivers/staging/rts5208/rtsx_chip.c if (tmp & 0x08) tmp 156 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, 0xFE70, &tmp); tmp 159 drivers/staging/rts5208/rtsx_chip.c if (tmp & 0x80) tmp 176 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, TLPTISTAT, &tmp); tmp 181 drivers/staging/rts5208/rtsx_chip.c if (tmp & cd_toggle_mask) { tmp 196 drivers/staging/rts5208/rtsx_chip.c tmp); tmp 607 drivers/staging/rts5208/rtsx_chip.c u8 tmp = (u8)(sd_speed_prior >> (i * 8)); tmp 609 drivers/staging/rts5208/rtsx_chip.c if ((tmp < 0x01) || (tmp > 0x04)) { tmp 624 drivers/staging/rts5208/rtsx_chip.c u8 tmp = (u8)(sd_current_prior >> (i * 8)); tmp 626 drivers/staging/rts5208/rtsx_chip.c if (tmp > 0x03) { tmp 913 drivers/staging/rts5208/rtsx_chip.c u32 tmp = 0; tmp 924 drivers/staging/rts5208/rtsx_chip.c rtsx_read_cfg_dw(chip, 1, 0xC0, &tmp); tmp 925 drivers/staging/rts5208/rtsx_chip.c reg1 = (u8)tmp; tmp 1352 drivers/staging/rts5208/rtsx_chip.c u8 mode = 0, tmp; tmp 1384 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CFGRWCTL, &tmp); tmp 1387 drivers/staging/rts5208/rtsx_chip.c if ((tmp & 0x80) == 0) tmp 1399 drivers/staging/rts5208/rtsx_chip.c u8 tmp; tmp 1414 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CFGRWCTL, &tmp); tmp 1417 drivers/staging/rts5208/rtsx_chip.c if ((tmp & 0x80) == 0) tmp 1422 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, CFGDATA0 + i, &tmp); tmp 1425 drivers/staging/rts5208/rtsx_chip.c data |= (u32)tmp << (i * 8); tmp 1545 drivers/staging/rts5208/rtsx_chip.c u8 tmp; tmp 1561 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PHYRWCTL, &tmp); tmp 1564 drivers/staging/rts5208/rtsx_chip.c if (!(tmp & 0x80)) { tmp 1582 drivers/staging/rts5208/rtsx_chip.c u8 tmp; tmp 1592 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PHYRWCTL, &tmp); tmp 1595 drivers/staging/rts5208/rtsx_chip.c if (!(tmp & 0x80)) { tmp 1604 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PHYDATA0, &tmp); tmp 1607 drivers/staging/rts5208/rtsx_chip.c data = tmp; tmp 1608 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_read_register(chip, PHYDATA1, &tmp); tmp 1611 drivers/staging/rts5208/rtsx_chip.c data |= (u16)tmp << 8; tmp 1654 drivers/staging/rts5208/rtsx_chip.c u8 data = 0, tmp = 0xFF; tmp 1660 drivers/staging/rts5208/rtsx_chip.c tmp &= (~(u8)(1 << i)); tmp 1661 drivers/staging/rts5208/rtsx_chip.c dev_dbg(rtsx_dev(chip), "Write 0x%x to 0x%x\n", tmp, addr); tmp 1663 drivers/staging/rts5208/rtsx_chip.c retval = rtsx_write_register(chip, EFUSE_DATA, 0xFF, tmp); tmp 1782 drivers/staging/rts5208/rtsx_chip.c u32 tmp; tmp 1784 drivers/staging/rts5208/rtsx_chip.c tmp = rtsx_readl(chip, RTSX_BIER); tmp 1785 drivers/staging/rts5208/rtsx_chip.c tmp |= CARD_INT; tmp 1786 drivers/staging/rts5208/rtsx_chip.c rtsx_writel(chip, RTSX_BIER, tmp); tmp 603 drivers/staging/rts5208/rtsx_scsi.c unsigned char *tmp, *buf; tmp 631 drivers/staging/rts5208/rtsx_scsi.c tmp = (unsigned char *)sense; tmp 632 drivers/staging/rts5208/rtsx_scsi.c memcpy(buf, tmp, scsi_bufflen(srb)); tmp 1463 drivers/staging/rts5208/rtsx_scsi.c u8 tmp; tmp 1467 drivers/staging/rts5208/rtsx_scsi.c tmp = (u8)(xd_card->xd_clock); tmp 1471 drivers/staging/rts5208/rtsx_scsi.c tmp = (u8)(sd_card->sd_clock); tmp 1475 drivers/staging/rts5208/rtsx_scsi.c tmp = (u8)(ms_card->ms_clock); tmp 1484 drivers/staging/rts5208/rtsx_scsi.c rtsx_stor_set_xfer_buf(&tmp, 1, srb); tmp 1486 drivers/staging/rts5208/rtsx_scsi.c u8 tmp = chip->blink_led; tmp 1488 drivers/staging/rts5208/rtsx_scsi.c rtsx_stor_set_xfer_buf(&tmp, 1, srb); tmp 82 drivers/staging/sm750fb/ddk750_mode.c unsigned int tmp, reg; tmp 88 drivers/staging/sm750fb/ddk750_mode.c tmp = ((pModeParam->horizontal_total - 1) << tmp 91 drivers/staging/sm750fb/ddk750_mode.c tmp |= (pModeParam->horizontal_display_end - 1) & tmp 94 drivers/staging/sm750fb/ddk750_mode.c poke32(CRT_HORIZONTAL_TOTAL, tmp); tmp 96 drivers/staging/sm750fb/ddk750_mode.c tmp = (pModeParam->horizontal_sync_width << tmp 99 drivers/staging/sm750fb/ddk750_mode.c tmp |= (pModeParam->horizontal_sync_start - 1) & tmp 102 drivers/staging/sm750fb/ddk750_mode.c poke32(CRT_HORIZONTAL_SYNC, tmp); tmp 104 drivers/staging/sm750fb/ddk750_mode.c tmp = ((pModeParam->vertical_total - 1) << tmp 107 drivers/staging/sm750fb/ddk750_mode.c tmp |= (pModeParam->vertical_display_end - 1) & tmp 110 drivers/staging/sm750fb/ddk750_mode.c poke32(CRT_VERTICAL_TOTAL, tmp); tmp 112 drivers/staging/sm750fb/ddk750_mode.c tmp = ((pModeParam->vertical_sync_height << tmp 115 drivers/staging/sm750fb/ddk750_mode.c tmp |= (pModeParam->vertical_sync_start - 1) & tmp 118 drivers/staging/sm750fb/ddk750_mode.c poke32(CRT_VERTICAL_SYNC, tmp); tmp 120 drivers/staging/sm750fb/ddk750_mode.c tmp = DISPLAY_CTRL_TIMING | DISPLAY_CTRL_PLANE; tmp 122 drivers/staging/sm750fb/ddk750_mode.c tmp |= DISPLAY_CTRL_VSYNC_PHASE; tmp 124 drivers/staging/sm750fb/ddk750_mode.c tmp |= DISPLAY_CTRL_HSYNC_PHASE; tmp 127 drivers/staging/sm750fb/ddk750_mode.c displayControlAdjust_SM750LE(pModeParam, tmp); tmp 134 drivers/staging/sm750fb/ddk750_mode.c poke32(CRT_DISPLAY_CTRL, tmp | reg); tmp 170 drivers/staging/sm750fb/ddk750_mode.c tmp = DISPLAY_CTRL_TIMING | DISPLAY_CTRL_PLANE; tmp 172 drivers/staging/sm750fb/ddk750_mode.c tmp |= DISPLAY_CTRL_VSYNC_PHASE; tmp 174 drivers/staging/sm750fb/ddk750_mode.c tmp |= DISPLAY_CTRL_HSYNC_PHASE; tmp 176 drivers/staging/sm750fb/ddk750_mode.c tmp |= DISPLAY_CTRL_CLOCK_PHASE; tmp 194 drivers/staging/sm750fb/ddk750_mode.c poke32(PANEL_DISPLAY_CTRL, tmp | reg); tmp 197 drivers/staging/sm750fb/ddk750_mode.c (tmp | reg)) { tmp 201 drivers/staging/sm750fb/ddk750_mode.c poke32(PANEL_DISPLAY_CTRL, tmp | reg); tmp 95 drivers/staging/sm750fb/ddk750_swi2c.c int i, tmp; tmp 98 drivers/staging/sm750fb/ddk750_swi2c.c tmp = i; tmp 99 drivers/staging/sm750fb/ddk750_swi2c.c tmp += i; tmp 1170 drivers/staging/sm750fb/sm750.c char *opt, *tmp; tmp 1184 drivers/staging/sm750fb/sm750.c tmp = g_settings; tmp 1204 drivers/staging/sm750fb/sm750.c strcat(tmp, opt); tmp 1205 drivers/staging/sm750fb/sm750.c tmp += strlen(opt); tmp 1207 drivers/staging/sm750fb/sm750.c *tmp++ = ':'; tmp 1209 drivers/staging/sm750fb/sm750.c *tmp++ = 0; tmp 416 drivers/staging/speakup/kobjects.c u_char tmp[256]; tmp 429 drivers/staging/speakup/kobjects.c strncpy(tmp, ptr, bytes); tmp 430 drivers/staging/speakup/kobjects.c tmp[bytes] = '\0'; tmp 431 drivers/staging/speakup/kobjects.c string_unescape_any_inplace(tmp); tmp 432 drivers/staging/speakup/kobjects.c synth_printf("%s", tmp); tmp 754 drivers/staging/speakup/main.c u_long tmp = spk_pos - (spk_x * 2); tmp 761 drivers/staging/speakup/main.c buf[i] = get_char(vc, (u_short *)tmp, &tmp2); tmp 762 drivers/staging/speakup/main.c tmp += 2; tmp 820 drivers/staging/speakup/main.c u_char tmp; tmp 826 drivers/staging/speakup/main.c buf[i++] = get_char(vc, (u_short *)from, &tmp); tmp 886 drivers/staging/speakup/main.c u_char tmp; tmp 902 drivers/staging/speakup/main.c sentbuf[bn][i] = get_char(vc, (u_short *)start, &tmp); tmp 1050 drivers/staging/speakup/main.c u_char tmp; tmp 1051 drivers/staging/speakup/main.c u16 ch = get_char(vc, (u_short *)spk_pos, &tmp); tmp 358 drivers/staging/speakup/synth.c struct spk_synth *tmp, *synth = NULL; tmp 372 drivers/staging/speakup/synth.c list_for_each_entry(tmp, &synths, node) { tmp 373 drivers/staging/speakup/synth.c if (strcmp(tmp->name, synth_name) == 0) tmp 374 drivers/staging/speakup/synth.c synth = tmp; tmp 451 drivers/staging/speakup/synth.c struct spk_synth *tmp; tmp 455 drivers/staging/speakup/synth.c list_for_each_entry(tmp, &synths, node) { tmp 456 drivers/staging/speakup/synth.c if (tmp == in_synth) { tmp 1769 drivers/staging/vt6655/baseband.c u32 tmp; tmp 1794 drivers/staging/vt6655/baseband.c tmp = (count * 55) / 10; tmp 1796 drivers/staging/vt6655/baseband.c if (tmp != bit_count) tmp 1807 drivers/staging/vt6655/baseband.c tmp = count * 11; tmp 1809 drivers/staging/vt6655/baseband.c if (tmp != bit_count) { tmp 1812 drivers/staging/vt6655/baseband.c if ((bit_count - tmp) <= 3) tmp 135 drivers/staging/vt6656/baseband.c unsigned int tmp; tmp 150 drivers/staging/vt6656/baseband.c tmp = (frame_time * rate) / 80; tmp 152 drivers/staging/vt6656/baseband.c if (frame_length != tmp) tmp 158 drivers/staging/vt6656/baseband.c tmp = ((frame_time * rate) - 22) / 8; tmp 160 drivers/staging/vt6656/baseband.c if (frame_length != tmp) tmp 192 drivers/staging/vt6656/baseband.c u32 tmp; tmp 217 drivers/staging/vt6656/baseband.c tmp = (count * 55) / 10; tmp 219 drivers/staging/vt6656/baseband.c if (tmp != bit_count) tmp 230 drivers/staging/vt6656/baseband.c tmp = count * 11; tmp 232 drivers/staging/vt6656/baseband.c if (tmp != bit_count) { tmp 235 drivers/staging/vt6656/baseband.c if ((bit_count - tmp) <= 3) tmp 117 drivers/staging/vt6656/main_usb.c u8 tmp; tmp 349 drivers/staging/vt6656/main_usb.c 1, &tmp); tmp 353 drivers/staging/vt6656/main_usb.c if ((tmp & GPIO3_DATA) == 0) { tmp 789 drivers/staging/wilc1000/wilc_sdio.c u32 tmp; tmp 801 drivers/staging/wilc1000/wilc_sdio.c tmp = cmd.data; tmp 806 drivers/staging/wilc1000/wilc_sdio.c tmp |= (cmd.data << 8); tmp 808 drivers/staging/wilc1000/wilc_sdio.c *size = tmp; tmp 816 drivers/staging/wilc1000/wilc_sdio.c u32 tmp; tmp 819 drivers/staging/wilc1000/wilc_sdio.c wilc_sdio_read_size(wilc, &tmp); tmp 834 drivers/staging/wilc1000/wilc_sdio.c tmp |= INT_0; tmp 836 drivers/staging/wilc1000/wilc_sdio.c tmp |= INT_1; tmp 838 drivers/staging/wilc1000/wilc_sdio.c tmp |= INT_2; tmp 840 drivers/staging/wilc1000/wilc_sdio.c tmp |= INT_3; tmp 842 drivers/staging/wilc1000/wilc_sdio.c tmp |= INT_4; tmp 844 drivers/staging/wilc1000/wilc_sdio.c tmp |= INT_5; tmp 846 drivers/staging/wilc1000/wilc_sdio.c if ((tmp >> (IRG_FLAGS_OFFSET + i)) & 0x1) { tmp 849 drivers/staging/wilc1000/wilc_sdio.c tmp, cmd.data); tmp 863 drivers/staging/wilc1000/wilc_sdio.c tmp |= ((irq_flags >> 0) << IRG_FLAGS_OFFSET); tmp 866 drivers/staging/wilc1000/wilc_sdio.c *int_status = tmp; tmp 403 drivers/staging/wilc1000/wilc_spi.c int tmp = NUM_RSP_BYTES + NUM_DATA_HDR_BYTES + NUM_DATA_BYTES tmp 406 drivers/staging/wilc1000/wilc_spi.c len2 = len + tmp + NUM_CRC_BYTES; tmp 408 drivers/staging/wilc1000/wilc_spi.c len2 = len + tmp; tmp 907 drivers/staging/wilc1000/wilc_spi.c u32 tmp; tmp 917 drivers/staging/wilc1000/wilc_spi.c tmp = (byte_cnt >> 2) & IRQ_DMA_WD_CNT_MASK; tmp 918 drivers/staging/wilc1000/wilc_spi.c *size = tmp; tmp 929 drivers/staging/wilc1000/wilc_spi.c u32 tmp; tmp 946 drivers/staging/wilc1000/wilc_spi.c tmp = (byte_cnt >> 2) & IRQ_DMA_WD_CNT_MASK; tmp 951 drivers/staging/wilc1000/wilc_spi.c tmp |= ((irq_flags >> 27) << IRG_FLAGS_OFFSET); tmp 955 drivers/staging/wilc1000/wilc_spi.c tmp |= (((irq_flags >> 0) & 0x7) << k); tmp 960 drivers/staging/wilc1000/wilc_spi.c unexpected_irq = (tmp >> IRG_FLAGS_OFFSET) & unknown_mask; tmp 964 drivers/staging/wilc1000/wilc_spi.c j, tmp, unknown_mask); tmp 970 drivers/staging/wilc1000/wilc_spi.c *int_status = tmp; tmp 603 drivers/target/iscsi/cxgbit/cxgbit_cm.c struct cxgbit_sock *csk, *tmp; tmp 612 drivers/target/iscsi/cxgbit/cxgbit_cm.c list_for_each_entry_safe(csk, tmp, &cnp->np_accept_list, accept_node) { tmp 718 drivers/target/iscsi/cxgbit/cxgbit_main.c struct cxgbit_device *cdev, *tmp; tmp 724 drivers/target/iscsi/cxgbit/cxgbit_main.c list_for_each_entry_safe(cdev, tmp, &cdev_list_head, list) { tmp 51 drivers/target/iscsi/iscsi_target_auth.c char *tmp, *orig, *token; tmp 53 drivers/target/iscsi/iscsi_target_auth.c tmp = kstrdup(a_str, GFP_KERNEL); tmp 54 drivers/target/iscsi/iscsi_target_auth.c if (!tmp) { tmp 58 drivers/target/iscsi/iscsi_target_auth.c orig = tmp; tmp 60 drivers/target/iscsi/iscsi_target_auth.c token = strsep(&tmp, "="); tmp 69 drivers/target/iscsi/iscsi_target_auth.c token = strsep(&tmp, ","); tmp 1035 drivers/target/iscsi/iscsi_target_parameters.c unsigned long long tmp; tmp 1038 drivers/target/iscsi/iscsi_target_parameters.c rc = kstrtoull(param->value, 0, &tmp); tmp 1042 drivers/target/iscsi/iscsi_target_parameters.c conn->conn_ops->MaxRecvDataSegmentLength = tmp; tmp 488 drivers/target/target_core_alua.c u64 tmp = lba; tmp 489 drivers/target/target_core_alua.c start_lba = do_div(tmp, segment_size * segment_mult); tmp 2013 drivers/target/target_core_alua.c unsigned long tmp; tmp 2016 drivers/target/target_core_alua.c ret = kstrtoul(page, 0, &tmp); tmp 2021 drivers/target/target_core_alua.c if ((tmp != 0) && (tmp != 1) && (tmp != 2) && (tmp != 3)) { tmp 2023 drivers/target/target_core_alua.c " %lu\n", tmp); tmp 2026 drivers/target/target_core_alua.c if (tmp == 3) tmp 2029 drivers/target/target_core_alua.c else if (tmp == 2) tmp 2031 drivers/target/target_core_alua.c else if (tmp == 1) tmp 2051 drivers/target/target_core_alua.c unsigned long tmp; tmp 2054 drivers/target/target_core_alua.c ret = kstrtoul(page, 0, &tmp); tmp 2059 drivers/target/target_core_alua.c if (tmp > ALUA_MAX_NONOP_DELAY_MSECS) { tmp 2061 drivers/target/target_core_alua.c " ALUA_MAX_NONOP_DELAY_MSECS: %d\n", tmp, tmp 2065 drivers/target/target_core_alua.c tg_pt_gp->tg_pt_gp_nonop_delay_msecs = (int)tmp; tmp 2082 drivers/target/target_core_alua.c unsigned long tmp; tmp 2085 drivers/target/target_core_alua.c ret = kstrtoul(page, 0, &tmp); tmp 2090 drivers/target/target_core_alua.c if (tmp > ALUA_MAX_TRANS_DELAY_MSECS) { tmp 2092 drivers/target/target_core_alua.c " ALUA_MAX_TRANS_DELAY_MSECS: %d\n", tmp, tmp 2096 drivers/target/target_core_alua.c tg_pt_gp->tg_pt_gp_trans_delay_msecs = (int)tmp; tmp 2113 drivers/target/target_core_alua.c unsigned long tmp; tmp 2116 drivers/target/target_core_alua.c ret = kstrtoul(page, 0, &tmp); tmp 2121 drivers/target/target_core_alua.c if (tmp > ALUA_MAX_IMPLICIT_TRANS_SECS) { tmp 2123 drivers/target/target_core_alua.c " ALUA_MAX_IMPLICIT_TRANS_SECS: %d\n", tmp, tmp 2127 drivers/target/target_core_alua.c tg_pt_gp->tg_pt_gp_implicit_trans_secs = (int)tmp; tmp 2144 drivers/target/target_core_alua.c unsigned long tmp; tmp 2147 drivers/target/target_core_alua.c ret = kstrtoul(page, 0, &tmp); tmp 2152 drivers/target/target_core_alua.c if ((tmp != 0) && (tmp != 1)) { tmp 2153 drivers/target/target_core_alua.c pr_err("Illegal value for preferred ALUA: %lu\n", tmp); tmp 2156 drivers/target/target_core_alua.c tg_pt_gp->tg_pt_gp_pref = (int)tmp; tmp 2177 drivers/target/target_core_alua.c unsigned long tmp; tmp 2184 drivers/target/target_core_alua.c ret = kstrtoul(page, 0, &tmp); tmp 2189 drivers/target/target_core_alua.c if ((tmp != 0) && (tmp != 1)) { tmp 2191 drivers/target/target_core_alua.c tmp); tmp 2195 drivers/target/target_core_alua.c ret = core_alua_set_tg_pt_secondary_state(lun, 0, (int)tmp); tmp 2214 drivers/target/target_core_alua.c unsigned long tmp; tmp 2217 drivers/target/target_core_alua.c ret = kstrtoul(page, 0, &tmp); tmp 2222 drivers/target/target_core_alua.c if ((tmp != ALUA_STATUS_NONE) && tmp 2223 drivers/target/target_core_alua.c (tmp != ALUA_STATUS_ALTERED_BY_EXPLICIT_STPG) && tmp 2224 drivers/target/target_core_alua.c (tmp != ALUA_STATUS_ALTERED_BY_IMPLICIT_ALUA)) { tmp 2226 drivers/target/target_core_alua.c tmp); tmp 2229 drivers/target/target_core_alua.c lun->lun_tg_pt_secondary_stat = (int)tmp; tmp 2246 drivers/target/target_core_alua.c unsigned long tmp; tmp 2249 drivers/target/target_core_alua.c ret = kstrtoul(page, 0, &tmp); tmp 2254 drivers/target/target_core_alua.c if ((tmp != 0) && (tmp != 1)) { tmp 2256 drivers/target/target_core_alua.c " %lu\n", tmp); tmp 2259 drivers/target/target_core_alua.c lun->lun_tg_pt_secondary_write_md = (int)tmp; tmp 2686 drivers/target/target_core_configfs.c unsigned long tmp; tmp 2700 drivers/target/target_core_configfs.c ret = kstrtoul(page, 0, &tmp); tmp 2706 drivers/target/target_core_configfs.c new_state = (int)tmp; tmp 2738 drivers/target/target_core_configfs.c unsigned long tmp; tmp 2748 drivers/target/target_core_configfs.c ret = kstrtoul(page, 0, &tmp); tmp 2754 drivers/target/target_core_configfs.c new_status = (int)tmp; tmp 2793 drivers/target/target_core_configfs.c unsigned long tmp; \ tmp 2803 drivers/target/target_core_configfs.c ret = kstrtoul(p, 0, &tmp); \ tmp 2808 drivers/target/target_core_configfs.c if (tmp > 1) { \ tmp 2809 drivers/target/target_core_configfs.c pr_err("Invalid value '%ld', must be '0' or '1'\n", tmp); \ tmp 2812 drivers/target/target_core_configfs.c if (tmp) \ tmp 2839 drivers/target/target_core_configfs.c unsigned long tmp; tmp 2842 drivers/target/target_core_configfs.c ret = kstrtoul(page, 0, &tmp); tmp 2848 drivers/target/target_core_configfs.c if ((tmp != 0) && (tmp != 1)) { tmp 2850 drivers/target/target_core_configfs.c " %lu\n", tmp); tmp 2853 drivers/target/target_core_configfs.c tg_pt_gp->tg_pt_gp_write_metadata = (int)tmp; tmp 298 drivers/target/target_core_device.c struct se_dev_entry *tmp; tmp 301 drivers/target/target_core_device.c hlist_for_each_entry_rcu(tmp, &nacl->lun_entry_hlist, link) { tmp 302 drivers/target/target_core_device.c if (skip_new && tmp == new) tmp 304 drivers/target/target_core_device.c core_scsi3_ua_allocate(tmp, 0x3F, tmp 479 drivers/target/target_core_device.c struct se_lun *tmp; tmp 505 drivers/target/target_core_device.c list_for_each_entry(tmp, &dev->dev_sep_list, lun_dev_link) { tmp 510 drivers/target/target_core_device.c if (lun->lun_rtpi == tmp->lun_rtpi) tmp 1872 drivers/target/target_core_pr.c unsigned char tmp[512], isid_buf[32]; tmp 1885 drivers/target/target_core_pr.c tmp[0] = '\0'; tmp 1900 drivers/target/target_core_pr.c snprintf(tmp, 512, "PR_REG_START: %d" tmp 1913 drivers/target/target_core_pr.c snprintf(tmp, 512, "PR_REG_START: %d\n" tmp 1923 drivers/target/target_core_pr.c if ((len + strlen(tmp) >= pr_aptpl_buf_len)) { tmp 1929 drivers/target/target_core_pr.c len += sprintf(buf+len, "%s", tmp); tmp 1934 drivers/target/target_core_pr.c snprintf(tmp, 512, "target_fabric=%s\ntarget_node=%s\n" tmp 1942 drivers/target/target_core_pr.c if ((len + strlen(tmp) >= pr_aptpl_buf_len)) { tmp 1948 drivers/target/target_core_pr.c len += sprintf(buf+len, "%s", tmp); tmp 388 drivers/target/target_core_rd.c u64 tmp; tmp 391 drivers/target/target_core_rd.c tmp = cmd->t_task_lba * se_dev->prot_length; tmp 392 drivers/target/target_core_rd.c prot_offset = do_div(tmp, PAGE_SIZE); tmp 393 drivers/target/target_core_rd.c prot_page = tmp; tmp 429 drivers/target/target_core_rd.c u64 tmp; tmp 437 drivers/target/target_core_rd.c tmp = cmd->t_task_lba * se_dev->dev_attrib.block_size; tmp 438 drivers/target/target_core_rd.c rd_offset = do_div(tmp, PAGE_SIZE); tmp 439 drivers/target/target_core_rd.c rd_page = tmp; tmp 215 drivers/thermal/intel/int340x_thermal/int3403_thermal.c unsigned long long tmp; tmp 232 drivers/thermal/intel/int340x_thermal/int3403_thermal.c NULL, &tmp); tmp 17 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c unsigned long long tmp; tmp 23 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c status = acpi_evaluate_integer(d->adev->handle, "_TMP", NULL, &tmp); tmp 30 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c conv_temp = acpi_lpat_raw_to_temp(d->lpat_table, (int)tmp); tmp 37 drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c *temp = DECI_KELVIN_TO_MILLICELSIUS(tmp); tmp 351 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c unsigned long long tmp; tmp 371 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c status = acpi_evaluate_integer(adev->handle, "_TMP", NULL, &tmp); tmp 530 drivers/thermal/mtk_thermal.c s32 tmp; tmp 534 drivers/thermal/mtk_thermal.c tmp = 203450520 << 3; tmp 535 drivers/thermal/mtk_thermal.c tmp /= mt->conf->cali_val + mt->o_slope; tmp 536 drivers/thermal/mtk_thermal.c tmp /= 10000 + mt->adc_ge; tmp 537 drivers/thermal/mtk_thermal.c tmp *= raw - mt->vts[sensno] - 3350; tmp 538 drivers/thermal/mtk_thermal.c tmp >>= 3; tmp 540 drivers/thermal/mtk_thermal.c return mt->degc_cali * 500 - tmp; tmp 262 drivers/thermal/rcar_thermal.c int tmp; tmp 271 drivers/thermal/rcar_thermal.c tmp = MCELSIUS((priv->ctemp * 5) - 65); tmp 273 drivers/thermal/rcar_thermal.c tmp = MCELSIUS(((priv->ctemp * 55) - 720) / 10); tmp 275 drivers/thermal/rcar_thermal.c tmp = MCELSIUS((priv->ctemp * 5) - 60); tmp 278 drivers/thermal/rcar_thermal.c if ((tmp < MCELSIUS(-45)) || (tmp > MCELSIUS(125))) { tmp 285 drivers/thermal/rcar_thermal.c *temp = tmp; tmp 73 drivers/thermal/ti-soc-thermal/ti-thermal-common.c int ret, tmp, slope, constant; tmp 82 drivers/thermal/ti-soc-thermal/ti-thermal-common.c ret = ti_bandgap_read_temperature(bgp, data->sensor_id, &tmp); tmp 95 drivers/thermal/ti-soc-thermal/ti-thermal-common.c tmp -= pcb_temp; /* got a valid PCB temp */ tmp 104 drivers/thermal/ti-soc-thermal/ti-thermal-common.c *temp = ti_thermal_hotspot_temperature(tmp, slope, constant); tmp 1663 drivers/thunderbolt/icm.c u32 tmp; tmp 1665 drivers/thunderbolt/icm.c res = tb_cfg_read_raw(tb->ctl, &tmp, 0, 0, TB_CFG_SWITCH, tmp 295 drivers/thunderbolt/property.c struct tb_property *property, *tmp; tmp 300 drivers/thunderbolt/property.c list_for_each_entry_safe(property, tmp, &dir->properties, list) { tmp 1527 drivers/thunderbolt/xdomain.c const struct tb_protocol_handler *handler, *tmp; tmp 1551 drivers/thunderbolt/xdomain.c list_for_each_entry_safe(handler, tmp, &protocol_handlers, list) { tmp 2562 drivers/tty/cyclades.c u8 tmp = cyy_readb(info, CyCOR3) & CyREC_FIFO; tmp 2563 drivers/tty/cyclades.c return put_user(tmp, value); tmp 2587 drivers/tty/cyclades.c u8 tmp = cyy_readb(info, CyRTPR); tmp 2588 drivers/tty/cyclades.c return put_user(tmp, value); tmp 3405 drivers/tty/cyclades.c unsigned int a, tmp, len = fw->size; tmp 3432 drivers/tty/cyclades.c tmp = 0; tmp 3440 drivers/tty/cyclades.c tmp++; tmp 3442 drivers/tty/cyclades.c if (!tmp) { tmp 3481 drivers/tty/cyclades.c void __iomem *tmp; tmp 3543 drivers/tty/cyclades.c for (tmp = base_addr; tmp < base_addr + RAM_SIZE; tmp++) tmp 3544 drivers/tty/cyclades.c cy_writeb(tmp, 255); tmp 3548 drivers/tty/cyclades.c for (tmp = base_addr; tmp < base_addr + RAM_SIZE; tmp++) tmp 3549 drivers/tty/cyclades.c cy_writeb(tmp, 255); tmp 789 drivers/tty/hvc/hvc_iucv.c struct hvc_iucv_private *priv, *tmp; tmp 805 drivers/tty/hvc/hvc_iucv.c tmp = hvc_iucv_table[i]; tmp 806 drivers/tty/hvc/hvc_iucv.c if (!tmp) tmp 810 drivers/tty/hvc/hvc_iucv.c spin_lock(&tmp->lock); tmp 811 drivers/tty/hvc/hvc_iucv.c if (tmp->iucv_state == IUCV_DISCONN) tmp 812 drivers/tty/hvc/hvc_iucv.c priv = tmp; tmp 813 drivers/tty/hvc/hvc_iucv.c spin_unlock(&tmp->lock); tmp 815 drivers/tty/hvc/hvc_iucv.c } else if (!memcmp(tmp->srv_name, ipuser, 8)) tmp 816 drivers/tty/hvc/hvc_iucv.c priv = tmp; tmp 377 drivers/tty/ipwireless/hardware.c unsigned char tmp = *data, ret = 0; tmp 382 drivers/tty/ipwireless/hardware.c ret |= (tmp & 0xc0) >> 6; tmp 383 drivers/tty/ipwireless/hardware.c ret |= (tmp & 0x38) >> 1; tmp 384 drivers/tty/ipwireless/hardware.c ret |= (tmp & 0x07) << 5; tmp 392 drivers/tty/ipwireless/hardware.c unsigned char tmp = *data, ret = 0; tmp 397 drivers/tty/ipwireless/hardware.c ret |= (tmp & 0xe0) >> 5; tmp 398 drivers/tty/ipwireless/hardware.c ret |= (tmp & 0x1c) << 1; tmp 399 drivers/tty/ipwireless/hardware.c ret |= (tmp & 0x03) << 6; tmp 311 drivers/tty/moxa.c struct moxaq_str tmp; tmp 318 drivers/tty/moxa.c memset(&tmp, 0, sizeof(tmp)); tmp 321 drivers/tty/moxa.c tmp.inq = MoxaPortRxQueue(p); tmp 322 drivers/tty/moxa.c tmp.outq = MoxaPortTxQueue(p); tmp 325 drivers/tty/moxa.c if (copy_to_user(argm, &tmp, sizeof(tmp))) tmp 340 drivers/tty/moxa.c struct mxser_mstatus tmp; tmp 348 drivers/tty/moxa.c memset(&tmp, 0, sizeof(tmp)); tmp 359 drivers/tty/moxa.c tmp.cts = 1; tmp 361 drivers/tty/moxa.c tmp.dsr = 1; tmp 363 drivers/tty/moxa.c tmp.dcd = 1; tmp 367 drivers/tty/moxa.c tmp.cflag = p->cflag; tmp 369 drivers/tty/moxa.c tmp.cflag = ttyp->termios.c_cflag; tmp 372 drivers/tty/moxa.c if (copy_to_user(argm, &tmp, sizeof(tmp))) tmp 461 drivers/tty/moxa.c u16 tmp; tmp 474 drivers/tty/moxa.c tmp = readw(baseAddr + C218_key); tmp 475 drivers/tty/moxa.c if (tmp != C218_KeyCode) tmp 479 drivers/tty/moxa.c tmp = readw(baseAddr + C218_key); tmp 480 drivers/tty/moxa.c if (tmp != CP204J_KeyCode) tmp 484 drivers/tty/moxa.c tmp = readw(baseAddr + C320_key); tmp 485 drivers/tty/moxa.c if (tmp != C320_KeyCode) tmp 487 drivers/tty/moxa.c tmp = readw(baseAddr + C320_status); tmp 488 drivers/tty/moxa.c if (tmp != STS_init) { tmp 1168 drivers/tty/rocket.c struct rocket_config tmp; tmp 1170 drivers/tty/rocket.c memset(&tmp, 0, sizeof (tmp)); tmp 1172 drivers/tty/rocket.c tmp.line = info->line; tmp 1173 drivers/tty/rocket.c tmp.flags = info->flags; tmp 1174 drivers/tty/rocket.c tmp.close_delay = info->port.close_delay; tmp 1175 drivers/tty/rocket.c tmp.closing_wait = info->port.closing_wait; tmp 1176 drivers/tty/rocket.c tmp.port = rcktpt_io_addr[(info->line >> 5) & 3]; tmp 1179 drivers/tty/rocket.c if (copy_to_user(retinfo, &tmp, sizeof (*retinfo))) tmp 1228 drivers/tty/rocket.c struct rocket_ports tmp; tmp 1231 drivers/tty/rocket.c memset(&tmp, 0, sizeof (tmp)); tmp 1232 drivers/tty/rocket.c tmp.tty_major = rocket_driver->major; tmp 1235 drivers/tty/rocket.c tmp.rocketModel[board].model = rocketModel[board].model; tmp 1236 drivers/tty/rocket.c strcpy(tmp.rocketModel[board].modelString, rocketModel[board].modelString); tmp 1237 drivers/tty/rocket.c tmp.rocketModel[board].numPorts = rocketModel[board].numPorts; tmp 1238 drivers/tty/rocket.c tmp.rocketModel[board].loadrm2 = rocketModel[board].loadrm2; tmp 1239 drivers/tty/rocket.c tmp.rocketModel[board].startingPortNumber = rocketModel[board].startingPortNumber; tmp 1241 drivers/tty/rocket.c if (copy_to_user(retports, &tmp, sizeof (*retports))) tmp 390 drivers/tty/serial/21285.c unsigned int tmp; tmp 392 drivers/tty/serial/21285.c tmp = *CSR_H_UBRLCR; tmp 393 drivers/tty/serial/21285.c switch (tmp & 0x60) { tmp 409 drivers/tty/serial/21285.c if (tmp & H_UBRLCR_PARENB) { tmp 411 drivers/tty/serial/21285.c if (tmp & H_UBRLCR_PAREVN) tmp 415 drivers/tty/serial/21285.c tmp = *CSR_L_UBRLCR | (*CSR_M_UBRLCR << 8); tmp 417 drivers/tty/serial/21285.c *baud = port->uartclk / (16 * (tmp + 1)); tmp 116 drivers/tty/serial/8250/8250_fintek.c u8 tmp; tmp 118 drivers/tty/serial/8250/8250_fintek.c tmp = (sio_read_reg(pdata, reg) & ~mask) | (mask & data); tmp 119 drivers/tty/serial/8250/8250_fintek.c sio_write_reg(pdata, reg, tmp); tmp 349 drivers/tty/serial/8250/8250_mtk.c unsigned int tmp; tmp 351 drivers/tty/serial/8250/8250_mtk.c tmp = (port->uartclk / (baud * quot)) - 1; tmp 352 drivers/tty/serial/8250/8250_mtk.c serial_port_out(port, MTK_UART_SAMPLE_COUNT, tmp); tmp 354 drivers/tty/serial/8250/8250_mtk.c (tmp >> 1) - 1); tmp 1295 drivers/tty/serial/8250/8250_pci.c u32 tmp; tmp 1298 drivers/tty/serial/8250/8250_pci.c tmp = inl(base + 0x3c); tmp 1299 drivers/tty/serial/8250/8250_pci.c outl(tmp | 0x01000000, base + 0x3c); tmp 1300 drivers/tty/serial/8250/8250_pci.c outl(tmp &= ~0x01000000, base + 0x3c); tmp 4023 drivers/tty/serial/8250/8250_pci.c struct pciserial_board tmp; tmp 4055 drivers/tty/serial/8250/8250_pci.c memcpy(&tmp, board, sizeof(struct pciserial_board)); tmp 4056 drivers/tty/serial/8250/8250_pci.c board = &tmp; tmp 4062 drivers/tty/serial/8250/8250_pci.c rc = serial_pci_guess_board(dev, &tmp); tmp 4071 drivers/tty/serial/8250/8250_pci.c memcpy(&tmp, &pci_boards[pbn_default], tmp 4073 drivers/tty/serial/8250/8250_pci.c rc = serial_pci_guess_board(dev, &tmp); tmp 4074 drivers/tty/serial/8250/8250_pci.c if (rc == 0 && serial_pci_matches(board, &tmp)) tmp 391 drivers/tty/serial/8250/8250_pnp.c const char **tmp; tmp 393 drivers/tty/serial/8250/8250_pnp.c for (tmp = modem_names; *tmp; tmp++) tmp 394 drivers/tty/serial/8250/8250_pnp.c if (strstr(name, *tmp)) tmp 132 drivers/tty/serial/8250/8250_uniphier.c u32 tmp; tmp 135 drivers/tty/serial/8250/8250_uniphier.c tmp = readl(p->membase + offset); tmp 136 drivers/tty/serial/8250/8250_uniphier.c tmp &= ~(0xff << valshift); tmp 137 drivers/tty/serial/8250/8250_uniphier.c tmp |= value << valshift; tmp 138 drivers/tty/serial/8250/8250_uniphier.c writel(tmp, p->membase + offset); tmp 130 drivers/tty/serial/dz.c u16 tmp, mask = 1 << dport->port.line; tmp 132 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); /* read the TX flag */ tmp 133 drivers/tty/serial/dz.c tmp &= ~mask; /* clear the TX flag */ tmp 134 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tmp); tmp 140 drivers/tty/serial/dz.c u16 tmp, mask = 1 << dport->port.line; tmp 142 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); /* read the TX flag */ tmp 143 drivers/tty/serial/dz.c tmp |= mask; /* set the TX flag */ tmp 144 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tmp); tmp 260 drivers/tty/serial/dz.c unsigned char tmp; tmp 285 drivers/tty/serial/dz.c tmp = xmit->buf[xmit->tail]; tmp 287 drivers/tty/serial/dz.c dz_out(dport, DZ_TDR, tmp); tmp 383 drivers/tty/serial/dz.c u16 tmp; tmp 386 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); tmp 388 drivers/tty/serial/dz.c tmp &= ~DZ_MODEM_DTR; tmp 390 drivers/tty/serial/dz.c tmp |= DZ_MODEM_DTR; tmp 391 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tmp); tmp 409 drivers/tty/serial/dz.c u16 tmp; tmp 426 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_CSR); tmp 427 drivers/tty/serial/dz.c tmp |= DZ_RIE | DZ_TIE; tmp 428 drivers/tty/serial/dz.c dz_out(dport, DZ_CSR, tmp); tmp 449 drivers/tty/serial/dz.c u16 tmp; tmp 458 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_CSR); tmp 459 drivers/tty/serial/dz.c tmp &= ~(DZ_RIE | DZ_TIE); tmp 460 drivers/tty/serial/dz.c dz_out(dport, DZ_CSR, tmp); tmp 481 drivers/tty/serial/dz.c unsigned short tmp, mask = 1 << dport->port.line; tmp 483 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); tmp 484 drivers/tty/serial/dz.c tmp &= mask; tmp 486 drivers/tty/serial/dz.c return tmp ? 0 : TIOCSER_TEMT; tmp 497 drivers/tty/serial/dz.c unsigned short tmp, mask = 1 << dport->port.line; tmp 500 drivers/tty/serial/dz.c tmp = dz_in(dport, DZ_TCR); tmp 502 drivers/tty/serial/dz.c tmp |= mask; tmp 504 drivers/tty/serial/dz.c tmp &= ~mask; tmp 505 drivers/tty/serial/dz.c dz_out(dport, DZ_TCR, tmp); tmp 1785 drivers/tty/serial/fsl_lpuart.c u32 sbr, osr, baud_diff, tmp_osr, tmp_sbr, tmp_diff, tmp; tmp 1814 drivers/tty/serial/fsl_lpuart.c tmp = clk / (tmp_osr * (tmp_sbr + 1)); tmp 1815 drivers/tty/serial/fsl_lpuart.c if (tmp_diff > (baudrate - tmp)) { tmp 1816 drivers/tty/serial/fsl_lpuart.c tmp_diff = baudrate - tmp; tmp 1835 drivers/tty/serial/fsl_lpuart.c tmp = lpuart32_read(&sport->port, UARTBAUD); tmp 1838 drivers/tty/serial/fsl_lpuart.c tmp |= UARTBAUD_BOTHEDGE; tmp 1840 drivers/tty/serial/fsl_lpuart.c tmp &= ~(UARTBAUD_OSR_MASK << UARTBAUD_OSR_SHIFT); tmp 1841 drivers/tty/serial/fsl_lpuart.c tmp |= ((osr-1) & UARTBAUD_OSR_MASK) << UARTBAUD_OSR_SHIFT; tmp 1843 drivers/tty/serial/fsl_lpuart.c tmp &= ~UARTBAUD_SBR_MASK; tmp 1844 drivers/tty/serial/fsl_lpuart.c tmp |= sbr & UARTBAUD_SBR_MASK; tmp 1847 drivers/tty/serial/fsl_lpuart.c tmp &= ~UARTBAUD_RDMAE; tmp 1849 drivers/tty/serial/fsl_lpuart.c tmp &= ~UARTBAUD_TDMAE; tmp 1851 drivers/tty/serial/fsl_lpuart.c lpuart32_write(&sport->port, tmp, UARTBAUD); tmp 1402 drivers/tty/serial/icom.c struct list_head *tmp; tmp 1410 drivers/tty/serial/icom.c list_for_each(tmp, &icom_adapter_head) { tmp 1412 drivers/tty/serial/icom.c list_entry(tmp, struct icom_adapter, tmp 1421 drivers/tty/serial/icom.c list_add_tail(&icom_adapter->icom_adapter_entry, tmp); tmp 1590 drivers/tty/serial/icom.c struct list_head *tmp; tmp 1592 drivers/tty/serial/icom.c list_for_each(tmp, &icom_adapter_head) { tmp 1593 drivers/tty/serial/icom.c icom_adapter = list_entry(tmp, struct icom_adapter, tmp 830 drivers/tty/serial/imx.c unsigned int tmp = TIOCM_DSR; tmp 835 drivers/tty/serial/imx.c tmp |= TIOCM_CTS; tmp 839 drivers/tty/serial/imx.c tmp |= TIOCM_CAR; tmp 843 drivers/tty/serial/imx.c tmp |= TIOCM_RI; tmp 845 drivers/tty/serial/imx.c return tmp; tmp 327 drivers/tty/serial/jsm/jsm_cls.c u8 tmp = readb(&ch->ch_cls_uart->ier); tmp 329 drivers/tty/serial/jsm/jsm_cls.c tmp &= ~(UART_IER_RDI); tmp 330 drivers/tty/serial/jsm/jsm_cls.c writeb(tmp, &ch->ch_cls_uart->ier); tmp 335 drivers/tty/serial/jsm/jsm_cls.c u8 tmp = readb(&ch->ch_cls_uart->ier); tmp 337 drivers/tty/serial/jsm/jsm_cls.c tmp |= (UART_IER_RDI); tmp 338 drivers/tty/serial/jsm/jsm_cls.c writeb(tmp, &ch->ch_cls_uart->ier); tmp 609 drivers/tty/serial/jsm/jsm_cls.c u8 tmp = 0; tmp 620 drivers/tty/serial/jsm/jsm_cls.c tmp = readb(&ch->ch_cls_uart->isr_fcr); tmp 621 drivers/tty/serial/jsm/jsm_cls.c if (tmp & UART_FCR_CLEAR_XMIT) { tmp 623 drivers/tty/serial/jsm/jsm_neo.c u8 tmp = 0; tmp 634 drivers/tty/serial/jsm/jsm_neo.c tmp = readb(&ch->ch_neo_uart->isr_fcr); tmp 635 drivers/tty/serial/jsm/jsm_neo.c if (tmp & UART_FCR_CLEAR_XMIT) { tmp 655 drivers/tty/serial/jsm/jsm_neo.c u8 tmp = 0; tmp 666 drivers/tty/serial/jsm/jsm_neo.c tmp = readb(&ch->ch_neo_uart->isr_fcr); tmp 667 drivers/tty/serial/jsm/jsm_neo.c if (tmp & 2) { tmp 1102 drivers/tty/serial/jsm/jsm_neo.c u32 tmp; tmp 1135 drivers/tty/serial/jsm/jsm_neo.c tmp = uart_poll; tmp 1139 drivers/tty/serial/jsm/jsm_neo.c if ((tmp & jsm_offset_table[current_port]) != 0) { tmp 1141 drivers/tty/serial/jsm/jsm_neo.c type = tmp >> (8 + (port * 3)); tmp 1244 drivers/tty/serial/jsm/jsm_neo.c u8 tmp = readb(&ch->ch_neo_uart->ier); tmp 1245 drivers/tty/serial/jsm/jsm_neo.c tmp &= ~(UART_IER_RDI); tmp 1246 drivers/tty/serial/jsm/jsm_neo.c writeb(tmp, &ch->ch_neo_uart->ier); tmp 1260 drivers/tty/serial/jsm/jsm_neo.c u8 tmp = readb(&ch->ch_neo_uart->ier); tmp 1261 drivers/tty/serial/jsm/jsm_neo.c tmp |= (UART_IER_RDI); tmp 1262 drivers/tty/serial/jsm/jsm_neo.c writeb(tmp, &ch->ch_neo_uart->ier); tmp 127 drivers/tty/serial/lantiq.c u32 tmp = __raw_readl(reg); tmp 129 drivers/tty/serial/lantiq.c __raw_writel((tmp & ~clear) | set, reg); tmp 245 drivers/tty/serial/lpc32xx_hs.c u32 tmp; tmp 250 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); tmp 256 drivers/tty/serial/lpc32xx_hs.c unsigned int tmp, flag; tmp 259 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); tmp 260 drivers/tty/serial/lpc32xx_hs.c while (!(tmp & LPC32XX_HSU_RX_EMPTY)) { tmp 264 drivers/tty/serial/lpc32xx_hs.c if (tmp & LPC32XX_HSU_ERROR_DATA) { tmp 273 drivers/tty/serial/lpc32xx_hs.c tty_insert_flip_char(tport, (tmp & 0xFF), flag); tmp 275 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); tmp 286 drivers/tty/serial/lpc32xx_hs.c unsigned int tmp; tmp 314 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); tmp 315 drivers/tty/serial/lpc32xx_hs.c tmp &= ~LPC32XX_HSU_TX_INT_EN; tmp 316 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); tmp 394 drivers/tty/serial/lpc32xx_hs.c u32 tmp; tmp 396 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); tmp 397 drivers/tty/serial/lpc32xx_hs.c tmp &= ~LPC32XX_HSU_TX_INT_EN; tmp 398 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); tmp 404 drivers/tty/serial/lpc32xx_hs.c u32 tmp; tmp 407 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); tmp 408 drivers/tty/serial/lpc32xx_hs.c tmp |= LPC32XX_HSU_TX_INT_EN; tmp 409 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); tmp 415 drivers/tty/serial/lpc32xx_hs.c u32 tmp; tmp 417 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); tmp 418 drivers/tty/serial/lpc32xx_hs.c tmp &= ~(LPC32XX_HSU_RX_INT_EN | LPC32XX_HSU_ERR_INT_EN); tmp 419 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); tmp 430 drivers/tty/serial/lpc32xx_hs.c u32 tmp; tmp 433 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); tmp 435 drivers/tty/serial/lpc32xx_hs.c tmp |= LPC32XX_HSU_BREAK; tmp 437 drivers/tty/serial/lpc32xx_hs.c tmp &= ~LPC32XX_HSU_BREAK; tmp 438 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); tmp 447 drivers/tty/serial/lpc32xx_hs.c u32 tmp; tmp 463 drivers/tty/serial/lpc32xx_hs.c tmp = LPC32XX_HSU_TX_TL8B | LPC32XX_HSU_RX_TL32B | tmp 465 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); tmp 474 drivers/tty/serial/lpc32xx_hs.c writel((tmp | LPC32XX_HSU_RX_INT_EN | LPC32XX_HSU_ERR_INT_EN), tmp 483 drivers/tty/serial/lpc32xx_hs.c u32 tmp; tmp 488 drivers/tty/serial/lpc32xx_hs.c tmp = LPC32XX_HSU_TX_TL8B | LPC32XX_HSU_RX_TL32B | tmp 490 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); tmp 506 drivers/tty/serial/lpc32xx_hs.c u32 tmp; tmp 522 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); tmp 524 drivers/tty/serial/lpc32xx_hs.c tmp &= ~(LPC32XX_HSU_RX_INT_EN | LPC32XX_HSU_ERR_INT_EN); tmp 526 drivers/tty/serial/lpc32xx_hs.c tmp |= LPC32XX_HSU_RX_INT_EN | LPC32XX_HSU_ERR_INT_EN; tmp 527 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); tmp 472 drivers/tty/serial/meson_uart.c u32 val, tmp; tmp 485 drivers/tty/serial/meson_uart.c tmp = val & ~(AML_UART_TX_INT_EN | AML_UART_RX_INT_EN); tmp 486 drivers/tty/serial/meson_uart.c writel(tmp, port->membase + AML_UART_CONTROL); tmp 237 drivers/tty/serial/rp2.c u32 tmp = readl(up->base + reg); tmp 238 drivers/tty/serial/rp2.c tmp &= ~clr_bits; tmp 239 drivers/tty/serial/rp2.c tmp |= set_bits; tmp 240 drivers/tty/serial/rp2.c writel(tmp, up->base + reg); tmp 2610 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2613 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2614 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.baud_base * 16); tmp 2620 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2623 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2624 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.type); tmp 2629 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2632 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2633 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.line); tmp 2639 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2643 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2644 drivers/tty/serial/serial_core.c ioaddr = tmp.port; tmp 2646 drivers/tty/serial/serial_core.c ioaddr |= (unsigned long)tmp.port_high << HIGH_BITS_OFFSET; tmp 2653 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2656 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2657 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.irq); tmp 2663 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2666 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2667 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "0x%X\n", tmp.flags); tmp 2673 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2676 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2677 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.xmit_fifo_size); tmp 2684 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2687 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2688 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.close_delay); tmp 2695 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2698 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2699 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.closing_wait); tmp 2705 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2708 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2709 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.custom_divisor); tmp 2715 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2718 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2719 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.io_type); tmp 2725 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2728 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2729 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "0x%lX\n", (unsigned long)tmp.iomem_base); tmp 2735 drivers/tty/serial/serial_core.c struct serial_struct tmp; tmp 2738 drivers/tty/serial/serial_core.c uart_get_info(port, &tmp); tmp 2739 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "%d\n", tmp.iomem_reg_shift); tmp 422 drivers/tty/serial/sunsab.c u8 tmp; tmp 430 drivers/tty/serial/sunsab.c tmp = readb(&up->regs->rw.ccr2); tmp 431 drivers/tty/serial/sunsab.c tmp &= ~0xc0; tmp 432 drivers/tty/serial/sunsab.c tmp |= (up->cached_ebrg >> 2) & 0xc0; tmp 433 drivers/tty/serial/sunsab.c writeb(tmp, &up->regs->rw.ccr2); tmp 529 drivers/tty/serial/sunsab.c unsigned char tmp; tmp 572 drivers/tty/serial/sunsab.c tmp = readb(&up->regs->rw.ccr0); tmp 573 drivers/tty/serial/sunsab.c tmp |= SAB82532_CCR0_PU; /* power-up */ tmp 574 drivers/tty/serial/sunsab.c writeb(tmp, &up->regs->rw.ccr0); tmp 631 drivers/tty/serial/sunsab.c tmp = readb(&up->regs->rw.ccr0); tmp 632 drivers/tty/serial/sunsab.c tmp &= ~SAB82532_CCR0_PU; tmp 633 drivers/tty/serial/sunsab.c writeb(tmp, &up->regs->rw.ccr0); tmp 4332 drivers/tty/synclink.c struct mgsl_struct *tmp; tmp 4350 drivers/tty/synclink.c tmp = info; tmp 4352 drivers/tty/synclink.c tty_port_destroy(&tmp->port); tmp 4353 drivers/tty/synclink.c kfree(tmp); tmp 3709 drivers/tty/synclink_gt.c struct slgt_info *tmp; tmp 3739 drivers/tty/synclink_gt.c tmp = info; tmp 3741 drivers/tty/synclink_gt.c tty_port_destroy(&tmp->port); tmp 3742 drivers/tty/synclink_gt.c kfree(tmp); tmp 2508 drivers/tty/synclinkmp.c unsigned short tmp; tmp 2519 drivers/tty/synclinkmp.c tmp = read_reg16(info, ISR0); /* get ISR0 and ISR1 in one read */ tmp 2520 drivers/tty/synclinkmp.c status0 = (unsigned char)tmp; tmp 2521 drivers/tty/synclinkmp.c dmastatus0 = (unsigned char)(tmp>>8); tmp 2531 drivers/tty/synclinkmp.c tmp = read_reg16(info->port_array[2], ISR0); tmp 2532 drivers/tty/synclinkmp.c status1 = (unsigned char)tmp; tmp 2533 drivers/tty/synclinkmp.c dmastatus1 = (unsigned char)(tmp>>8); tmp 3896 drivers/tty/synclinkmp.c SLMP_INFO *tmp; tmp 3928 drivers/tty/synclinkmp.c tmp = info; tmp 3930 drivers/tty/synclinkmp.c tty_port_destroy(&tmp->port); tmp 3931 drivers/tty/synclinkmp.c kfree(tmp); tmp 517 drivers/tty/tty_ioctl.c struct sgttyb tmp; tmp 520 drivers/tty/tty_ioctl.c tmp.sg_ispeed = tty->termios.c_ispeed; tmp 521 drivers/tty/tty_ioctl.c tmp.sg_ospeed = tty->termios.c_ospeed; tmp 522 drivers/tty/tty_ioctl.c tmp.sg_erase = tty->termios.c_cc[VERASE]; tmp 523 drivers/tty/tty_ioctl.c tmp.sg_kill = tty->termios.c_cc[VKILL]; tmp 524 drivers/tty/tty_ioctl.c tmp.sg_flags = get_sgflags(tty); tmp 527 drivers/tty/tty_ioctl.c return copy_to_user(sgttyb, &tmp, sizeof(tmp)) ? -EFAULT : 0; tmp 570 drivers/tty/tty_ioctl.c struct sgttyb tmp; tmp 577 drivers/tty/tty_ioctl.c if (copy_from_user(&tmp, sgttyb, sizeof(tmp))) tmp 582 drivers/tty/tty_ioctl.c termios.c_cc[VERASE] = tmp.sg_erase; tmp 583 drivers/tty/tty_ioctl.c termios.c_cc[VKILL] = tmp.sg_kill; tmp 584 drivers/tty/tty_ioctl.c set_sgflags(&termios, tmp.sg_flags); tmp 599 drivers/tty/tty_ioctl.c struct tchars tmp; tmp 602 drivers/tty/tty_ioctl.c tmp.t_intrc = tty->termios.c_cc[VINTR]; tmp 603 drivers/tty/tty_ioctl.c tmp.t_quitc = tty->termios.c_cc[VQUIT]; tmp 604 drivers/tty/tty_ioctl.c tmp.t_startc = tty->termios.c_cc[VSTART]; tmp 605 drivers/tty/tty_ioctl.c tmp.t_stopc = tty->termios.c_cc[VSTOP]; tmp 606 drivers/tty/tty_ioctl.c tmp.t_eofc = tty->termios.c_cc[VEOF]; tmp 607 drivers/tty/tty_ioctl.c tmp.t_brkc = tty->termios.c_cc[VEOL2]; /* what is brkc anyway? */ tmp 609 drivers/tty/tty_ioctl.c return copy_to_user(tchars, &tmp, sizeof(tmp)) ? -EFAULT : 0; tmp 614 drivers/tty/tty_ioctl.c struct tchars tmp; tmp 616 drivers/tty/tty_ioctl.c if (copy_from_user(&tmp, tchars, sizeof(tmp))) tmp 619 drivers/tty/tty_ioctl.c tty->termios.c_cc[VINTR] = tmp.t_intrc; tmp 620 drivers/tty/tty_ioctl.c tty->termios.c_cc[VQUIT] = tmp.t_quitc; tmp 621 drivers/tty/tty_ioctl.c tty->termios.c_cc[VSTART] = tmp.t_startc; tmp 622 drivers/tty/tty_ioctl.c tty->termios.c_cc[VSTOP] = tmp.t_stopc; tmp 623 drivers/tty/tty_ioctl.c tty->termios.c_cc[VEOF] = tmp.t_eofc; tmp 624 drivers/tty/tty_ioctl.c tty->termios.c_cc[VEOL2] = tmp.t_brkc; /* what is brkc anyway? */ tmp 633 drivers/tty/tty_ioctl.c struct ltchars tmp; tmp 636 drivers/tty/tty_ioctl.c tmp.t_suspc = tty->termios.c_cc[VSUSP]; tmp 638 drivers/tty/tty_ioctl.c tmp.t_dsuspc = tty->termios.c_cc[VSUSP]; tmp 639 drivers/tty/tty_ioctl.c tmp.t_rprntc = tty->termios.c_cc[VREPRINT]; tmp 641 drivers/tty/tty_ioctl.c tmp.t_flushc = tty->termios.c_cc[VEOL2]; tmp 642 drivers/tty/tty_ioctl.c tmp.t_werasc = tty->termios.c_cc[VWERASE]; tmp 643 drivers/tty/tty_ioctl.c tmp.t_lnextc = tty->termios.c_cc[VLNEXT]; tmp 645 drivers/tty/tty_ioctl.c return copy_to_user(ltchars, &tmp, sizeof(tmp)) ? -EFAULT : 0; tmp 650 drivers/tty/tty_ioctl.c struct ltchars tmp; tmp 652 drivers/tty/tty_ioctl.c if (copy_from_user(&tmp, ltchars, sizeof(tmp))) tmp 656 drivers/tty/tty_ioctl.c tty->termios.c_cc[VSUSP] = tmp.t_suspc; tmp 658 drivers/tty/tty_ioctl.c tty->termios.c_cc[VEOL2] = tmp.t_dsuspc; tmp 659 drivers/tty/tty_ioctl.c tty->termios.c_cc[VREPRINT] = tmp.t_rprntc; tmp 661 drivers/tty/tty_ioctl.c tty->termios.c_cc[VEOL2] = tmp.t_flushc; tmp 662 drivers/tty/tty_ioctl.c tty->termios.c_cc[VWERASE] = tmp.t_werasc; tmp 663 drivers/tty/tty_ioctl.c tty->termios.c_cc[VLNEXT] = tmp.t_lnextc; tmp 1864 drivers/tty/vt/keyboard.c struct kbkeycode tmp; tmp 1867 drivers/tty/vt/keyboard.c if (copy_from_user(&tmp, user_kbkc, sizeof(struct kbkeycode))) tmp 1871 drivers/tty/vt/keyboard.c kc = getkeycode(tmp.scancode); tmp 1878 drivers/tty/vt/keyboard.c kc = setkeycode(tmp.scancode, tmp.keycode); tmp 1884 drivers/tty/vt/keyboard.c #define i (tmp.kb_index) tmp 1885 drivers/tty/vt/keyboard.c #define s (tmp.kb_table) tmp 1886 drivers/tty/vt/keyboard.c #define v (tmp.kb_value) tmp 1892 drivers/tty/vt/keyboard.c struct kbentry tmp; tmp 1896 drivers/tty/vt/keyboard.c if (copy_from_user(&tmp, user_kbe, sizeof(struct kbentry))) tmp 454 drivers/tty/vt/vt.c char32_t *tmp = uniscr->lines[t + i]; tmp 465 drivers/tty/vt/vt.c uniscr->lines[t + j] = tmp; tmp 289 drivers/tty/vt/vt_ioctl.c struct unimapdesc tmp; tmp 291 drivers/tty/vt/vt_ioctl.c if (copy_from_user(&tmp, user_ud, sizeof tmp)) tmp 297 drivers/tty/vt/vt_ioctl.c return con_set_unimap(vc, tmp.entry_ct, tmp.entries); tmp 301 drivers/tty/vt/vt_ioctl.c return con_get_unimap(vc, tmp.entry_ct, &(user_ud->entry_ct), tmp.entries); tmp 603 drivers/tty/vt/vt_ioctl.c struct vt_mode tmp; tmp 607 drivers/tty/vt/vt_ioctl.c if (copy_from_user(&tmp, up, sizeof(struct vt_mode))) { tmp 611 drivers/tty/vt/vt_ioctl.c if (tmp.mode != VT_AUTO && tmp.mode != VT_PROCESS) { tmp 616 drivers/tty/vt/vt_ioctl.c vc->vt_mode = tmp; tmp 629 drivers/tty/vt/vt_ioctl.c struct vt_mode tmp; tmp 633 drivers/tty/vt/vt_ioctl.c memcpy(&tmp, &vc->vt_mode, sizeof(struct vt_mode)); tmp 636 drivers/tty/vt/vt_ioctl.c rc = copy_to_user(up, &tmp, sizeof(struct vt_mode)); tmp 1169 drivers/tty/vt/vt_ioctl.c struct compat_unimapdesc tmp; tmp 1172 drivers/tty/vt/vt_ioctl.c if (copy_from_user(&tmp, user_ud, sizeof tmp)) tmp 1174 drivers/tty/vt/vt_ioctl.c tmp_entries = compat_ptr(tmp.entries); tmp 1179 drivers/tty/vt/vt_ioctl.c return con_set_unimap(vc, tmp.entry_ct, tmp_entries); tmp 1183 drivers/tty/vt/vt_ioctl.c return con_get_unimap(vc, tmp.entry_ct, &(user_ud->entry_ct), tmp_entries); tmp 454 drivers/usb/atm/cxacru.c int tmp; tmp 458 drivers/usb/atm/cxacru.c ret = sscanf(buf + pos, "%x=%x%n", &index, &value, &tmp); tmp 463 drivers/usb/atm/cxacru.c if (tmp < 0 || tmp > len - pos) tmp 465 drivers/usb/atm/cxacru.c pos += tmp; tmp 490 drivers/usb/atm/cxacru.c for (tmp = 0; tmp < num; tmp++) tmp 491 drivers/usb/atm/cxacru.c snprintf(log + tmp*12, 13, " %02x=%08x", tmp 492 drivers/usb/atm/cxacru.c le32_to_cpu(data[tmp * 2 + 1]), tmp 493 drivers/usb/atm/cxacru.c le32_to_cpu(data[tmp * 2 + 2])); tmp 416 drivers/usb/c67x00/c67x00-ll-hpi.c u16 tmp; tmp 417 drivers/usb/c67x00/c67x00-ll-hpi.c tmp = hpi_read_word(dev, addr - 1); tmp 418 drivers/usb/c67x00/c67x00-ll-hpi.c tmp = (tmp & 0x00ff) | (*buf++ << 8); tmp 419 drivers/usb/c67x00/c67x00-ll-hpi.c hpi_write_word(dev, addr - 1, tmp); tmp 430 drivers/usb/c67x00/c67x00-ll-hpi.c u16 tmp; tmp 431 drivers/usb/c67x00/c67x00-ll-hpi.c tmp = hpi_read_word(dev, addr); tmp 432 drivers/usb/c67x00/c67x00-ll-hpi.c tmp = (tmp & 0xff00) | *buf; tmp 433 drivers/usb/c67x00/c67x00-ll-hpi.c hpi_write_word(dev, addr, tmp); tmp 448 drivers/usb/c67x00/c67x00-ll-hpi.c u16 tmp; tmp 449 drivers/usb/c67x00/c67x00-ll-hpi.c tmp = hpi_read_word(dev, addr - 1); tmp 450 drivers/usb/c67x00/c67x00-ll-hpi.c *buf++ = (tmp >> 8) & 0x00ff; tmp 461 drivers/usb/c67x00/c67x00-ll-hpi.c u16 tmp; tmp 462 drivers/usb/c67x00/c67x00-ll-hpi.c tmp = hpi_read_word(dev, addr); tmp 463 drivers/usb/c67x00/c67x00-ll-hpi.c *buf = tmp & 0x00ff; tmp 891 drivers/usb/c67x00/c67x00-sched.c struct c67x00_td *td, *tmp; tmp 893 drivers/usb/c67x00/c67x00-sched.c tmp = last_td; tmp 898 drivers/usb/c67x00/c67x00-sched.c td = tmp; tmp 900 drivers/usb/c67x00/c67x00-sched.c tmp = td; tmp 979 drivers/usb/c67x00/c67x00-sched.c struct c67x00_td *td, *tmp; tmp 984 drivers/usb/c67x00/c67x00-sched.c list_for_each_entry_safe(td, tmp, &c67x00->td_list, td_list) { tmp 1033 drivers/usb/c67x00/c67x00-sched.c tmp = list_entry(td->td_list.next, typeof(*td), td_list); tmp 697 drivers/usb/cdns3/gadget.c struct cdns3_aligned_buf *buf, *tmp; tmp 702 drivers/usb/cdns3/gadget.c list_for_each_entry_safe(buf, tmp, &priv_dev->aligned_buf_list, list) { tmp 305 drivers/usb/chipidea/host.c u32 tmp; tmp 328 drivers/usb/chipidea/host.c tmp = ehci_readl(ehci, &ehci->regs->command); tmp 329 drivers/usb/chipidea/host.c tmp |= CMD_RUN; tmp 330 drivers/usb/chipidea/host.c ehci_writel(ehci, tmp, &ehci->regs->command); tmp 340 drivers/usb/chipidea/host.c tmp = ehci_readl(ehci, reg); tmp 341 drivers/usb/chipidea/host.c tmp &= ~(PORT_WKDISC_E | PORT_WKCONN_E); tmp 342 drivers/usb/chipidea/host.c ehci_writel(ehci, tmp, reg); tmp 1087 drivers/usb/core/hcd.c unsigned long tmp; tmp 1092 drivers/usb/core/hcd.c tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L; tmp 1093 drivers/usb/core/hcd.c return 64060L + (2 * BW_HUB_LS_SETUP) + BW_HOST_DELAY + tmp; tmp 1095 drivers/usb/core/hcd.c tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L; tmp 1096 drivers/usb/core/hcd.c return 64107L + (2 * BW_HUB_LS_SETUP) + BW_HOST_DELAY + tmp; tmp 1100 drivers/usb/core/hcd.c tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; tmp 1101 drivers/usb/core/hcd.c return ((is_input) ? 7268L : 6265L) + BW_HOST_DELAY + tmp; tmp 1103 drivers/usb/core/hcd.c tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; tmp 1104 drivers/usb/core/hcd.c return 9107L + BW_HOST_DELAY + tmp; tmp 1109 drivers/usb/core/hcd.c tmp = HS_NSECS_ISO (bytecount); tmp 1111 drivers/usb/core/hcd.c tmp = HS_NSECS (bytecount); tmp 1112 drivers/usb/core/hcd.c return tmp; tmp 1205 drivers/usb/core/hcd.c struct list_head *tmp; tmp 1208 drivers/usb/core/hcd.c list_for_each(tmp, &urb->ep->urb_list) { tmp 1209 drivers/usb/core/hcd.c if (tmp == &urb->urb_list) tmp 1212 drivers/usb/core/hcd.c if (tmp != &urb->urb_list) tmp 263 drivers/usb/core/ledtrig-usbport.c struct usbport_trig_port *port, *tmp; tmp 265 drivers/usb/core/ledtrig-usbport.c list_for_each_entry_safe(port, tmp, &usbport_data->ports, list) { tmp 334 drivers/usb/core/ledtrig-usbport.c struct usbport_trig_port *port, *tmp; tmp 336 drivers/usb/core/ledtrig-usbport.c list_for_each_entry_safe(port, tmp, &usbport_data->ports, list) { tmp 449 drivers/usb/dwc2/hcd_queue.c char tmp[64]; tmp 450 drivers/usb/dwc2/hcd_queue.c char *buf = tmp; tmp 451 drivers/usb/dwc2/hcd_queue.c size_t buf_size = sizeof(tmp); tmp 487 drivers/usb/dwc2/hcd_queue.c print_fn(tmp, print_data); tmp 369 drivers/usb/dwc3/dwc3-pci.c union acpi_object tmp; tmp 370 drivers/usb/dwc3/dwc3-pci.c union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(1, &tmp); tmp 375 drivers/usb/dwc3/dwc3-pci.c tmp.type = ACPI_TYPE_INTEGER; tmp 376 drivers/usb/dwc3/dwc3-pci.c tmp.integer.value = param; tmp 873 drivers/usb/dwc3/gadget.c u8 tmp = index; tmp 875 drivers/usb/dwc3/gadget.c if (!tmp) tmp 876 drivers/usb/dwc3/gadget.c tmp = DWC3_TRB_NUM - 1; tmp 878 drivers/usb/dwc3/gadget.c return &dep->trb_pool[tmp - 1]; tmp 883 drivers/usb/dwc3/gadget.c struct dwc3_trb *tmp; tmp 894 drivers/usb/dwc3/gadget.c tmp = dwc3_ep_prev_trb(dep, dep->trb_enqueue); tmp 895 drivers/usb/dwc3/gadget.c if (tmp->ctrl & DWC3_TRB_CTRL_HWO) tmp 1532 drivers/usb/dwc3/gadget.c struct dwc3_request *tmp; tmp 1534 drivers/usb/dwc3/gadget.c list_for_each_entry_safe(req, tmp, &dep->cancelled_list, list) { tmp 2546 drivers/usb/dwc3/gadget.c struct dwc3_request *tmp; tmp 2548 drivers/usb/dwc3/gadget.c list_for_each_entry_safe(req, tmp, &dep->started_list, list) { tmp 775 drivers/usb/gadget/composite.c int tmp; tmp 810 drivers/usb/gadget/composite.c for (tmp = 0; tmp < MAX_CONFIG_INTERFACES; tmp++) { tmp 811 drivers/usb/gadget/composite.c struct usb_function *f = c->interface[tmp]; tmp 838 drivers/usb/gadget/composite.c result = f->set_alt(f, tmp, 0); tmp 841 drivers/usb/gadget/composite.c tmp, f->name, f, result); tmp 850 drivers/usb/gadget/composite.c __func__, tmp, f->name); tmp 1039 drivers/usb/gadget/composite.c __le16 *tmp; tmp 1044 drivers/usb/gadget/composite.c for (tmp = buf; *tmp && tmp < &buf[126]; tmp++) { tmp 1045 drivers/usb/gadget/composite.c if (*tmp == language) tmp 1048 drivers/usb/gadget/composite.c *tmp++ = language; tmp 2172 drivers/usb/gadget/composite.c struct usb_gadget_string_container *uc, *tmp; tmp 2175 drivers/usb/gadget/composite.c list_for_each_entry_safe(uc, tmp, &cdev->gstrings, list) { tmp 124 drivers/usb/gadget/config.c struct usb_descriptor_header **tmp; tmp 131 drivers/usb/gadget/config.c for (bytes = 0, n_desc = 0, tmp = src; *tmp; tmp++, n_desc++) tmp 132 drivers/usb/gadget/config.c bytes += (*tmp)->bLength; tmp 133 drivers/usb/gadget/config.c bytes += (n_desc + 1) * sizeof(*tmp); tmp 143 drivers/usb/gadget/config.c tmp = mem; tmp 145 drivers/usb/gadget/config.c mem += (n_desc + 1) * sizeof(*tmp); tmp 148 drivers/usb/gadget/config.c *tmp = mem; tmp 149 drivers/usb/gadget/config.c tmp++; tmp 153 drivers/usb/gadget/config.c *tmp = NULL; tmp 1215 drivers/usb/gadget/configfs.c struct usb_function *f, *tmp; tmp 1220 drivers/usb/gadget/configfs.c list_for_each_entry_safe(f, tmp, &c->functions, list) { tmp 1331 drivers/usb/gadget/configfs.c struct usb_function *tmp; tmp 1355 drivers/usb/gadget/configfs.c list_for_each_entry_safe(f, tmp, &cfg->func_list, list) { tmp 506 drivers/usb/gadget/function/f_ncm.c unsigned tmp; tmp 510 drivers/usb/gadget/function/f_ncm.c tmp = get_unaligned_le16(*p); tmp 513 drivers/usb/gadget/function/f_ncm.c tmp = get_unaligned_le32(*p); tmp 520 drivers/usb/gadget/function/f_ncm.c return tmp; tmp 1179 drivers/usb/gadget/function/f_ncm.c __le16 *tmp = (void *) skb->data; tmp 1192 drivers/usb/gadget/function/f_ncm.c if (get_unaligned_le32(tmp) != opts->nth_sign) { tmp 1200 drivers/usb/gadget/function/f_ncm.c tmp += 2; tmp 1202 drivers/usb/gadget/function/f_ncm.c if (get_unaligned_le16(tmp++) != opts->nth_size) { tmp 1206 drivers/usb/gadget/function/f_ncm.c tmp++; /* skip wSequence */ tmp 1209 drivers/usb/gadget/function/f_ncm.c if (get_ncm(&tmp, opts->block_length) > max_size) { tmp 1214 drivers/usb/gadget/function/f_ncm.c ndp_index = get_ncm(&tmp, opts->ndp_index); tmp 1227 drivers/usb/gadget/function/f_ncm.c tmp = (void *)(skb->data + ndp_index); tmp 1228 drivers/usb/gadget/function/f_ncm.c if (get_unaligned_le32(tmp) != ncm->ndp_sign) { tmp 1232 drivers/usb/gadget/function/f_ncm.c tmp += 2; tmp 1234 drivers/usb/gadget/function/f_ncm.c ndp_len = get_unaligned_le16(tmp++); tmp 1249 drivers/usb/gadget/function/f_ncm.c tmp += opts->reserved1; tmp 1251 drivers/usb/gadget/function/f_ncm.c ndp_index = get_ncm(&tmp, opts->next_ndp_index); tmp 1252 drivers/usb/gadget/function/f_ncm.c tmp += opts->reserved2; tmp 1255 drivers/usb/gadget/function/f_ncm.c index2 = get_ncm(&tmp, opts->dgram_item_len); tmp 1256 drivers/usb/gadget/function/f_ncm.c dg_len2 = get_ncm(&tmp, opts->dgram_item_len); tmp 1283 drivers/usb/gadget/function/f_ncm.c index2 = get_ncm(&tmp, opts->dgram_item_len); tmp 1284 drivers/usb/gadget/function/f_ncm.c dg_len2 = get_ncm(&tmp, opts->dgram_item_len); tmp 883 drivers/usb/gadget/function/f_uac1_legacy.c char *tmp; \ tmp 889 drivers/usb/gadget/function/f_uac1_legacy.c tmp = kstrndup(page, len, GFP_KERNEL); \ tmp 890 drivers/usb/gadget/function/f_uac1_legacy.c if (tmp) { \ tmp 897 drivers/usb/gadget/function/f_uac1_legacy.c opts->name = tmp; \ tmp 790 drivers/usb/gadget/function/rndis.c __le32 *tmp; tmp 795 drivers/usb/gadget/function/rndis.c tmp = (__le32 *)buf; tmp 796 drivers/usb/gadget/function/rndis.c MsgType = get_unaligned_le32(tmp++); tmp 797 drivers/usb/gadget/function/rndis.c MsgLength = get_unaligned_le32(tmp++); tmp 1063 drivers/usb/gadget/function/rndis.c __le32 *tmp = (void *)skb->data; tmp 1067 drivers/usb/gadget/function/rndis.c != get_unaligned(tmp++)) { tmp 1071 drivers/usb/gadget/function/rndis.c tmp++; tmp 1074 drivers/usb/gadget/function/rndis.c if (!skb_pull(skb, get_unaligned_le32(tmp++) + 8)) { tmp 1078 drivers/usb/gadget/function/rndis.c skb_trim(skb, get_unaligned_le32(tmp++)); tmp 947 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_format_ptr *format_ptr, *tmp; tmp 961 drivers/usb/gadget/function/uvc_configfs.c list_for_each_entry_safe(format_ptr, tmp, &src_hdr->formats, entry) tmp 1282 drivers/usb/gadget/function/uvc_configfs.c u32 *frm_intrv, *tmp; tmp 1300 drivers/usb/gadget/function/uvc_configfs.c tmp = frm_intrv = kcalloc(n, sizeof(u32), GFP_KERNEL); tmp 1306 drivers/usb/gadget/function/uvc_configfs.c ret = __uvcg_iter_frm_intrv(page, len, __uvcg_fill_frm_intrv, &tmp); tmp 134 drivers/usb/gadget/legacy/hid.c struct list_head *tmp; tmp 139 drivers/usb/gadget/legacy/hid.c list_for_each(tmp, &hidg_func_list) tmp 186 drivers/usb/gadget/udc/at91_udc.c u32 tmp; tmp 205 drivers/usb/gadget/udc/at91_udc.c tmp = at91_udp_read(udc, AT91_UDP_FRM_NUM); tmp 206 drivers/usb/gadget/udc/at91_udc.c seq_printf(s, "frame %05x:%s%s frame=%d\n", tmp, tmp 207 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_FRM_OK) ? " ok" : "", tmp 208 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_FRM_ERR) ? " err" : "", tmp 209 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_NUM)); tmp 211 drivers/usb/gadget/udc/at91_udc.c tmp = at91_udp_read(udc, AT91_UDP_GLB_STAT); tmp 212 drivers/usb/gadget/udc/at91_udc.c seq_printf(s, "glbstate %02x:%s" FOURBITS "\n", tmp, tmp 213 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_RMWUPE) ? " rmwupe" : "", tmp 214 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_RSMINPR) ? " rsminpr" : "", tmp 215 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_ESR) ? " esr" : "", tmp 216 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_CONFG) ? " confg" : "", tmp 217 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_FADDEN) ? " fadden" : ""); tmp 219 drivers/usb/gadget/udc/at91_udc.c tmp = at91_udp_read(udc, AT91_UDP_FADDR); tmp 220 drivers/usb/gadget/udc/at91_udc.c seq_printf(s, "faddr %03x:%s fadd=%d\n", tmp, tmp 221 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_FEN) ? " fen" : "", tmp 222 drivers/usb/gadget/udc/at91_udc.c (tmp & AT91_UDP_FADD)); tmp 477 drivers/usb/gadget/udc/at91_udc.c u32 tmp; tmp 495 drivers/usb/gadget/udc/at91_udc.c tmp = usb_endpoint_type(desc); tmp 496 drivers/usb/gadget/udc/at91_udc.c switch (tmp) { tmp 528 drivers/usb/gadget/udc/at91_udc.c ep->is_iso = (tmp == USB_ENDPOINT_XFER_ISOC); tmp 531 drivers/usb/gadget/udc/at91_udc.c tmp |= 0x04; tmp 532 drivers/usb/gadget/udc/at91_udc.c tmp <<= 8; tmp 533 drivers/usb/gadget/udc/at91_udc.c tmp |= AT91_UDP_EPEDS; tmp 534 drivers/usb/gadget/udc/at91_udc.c __raw_writel(tmp, ep->creg); tmp 653 drivers/usb/gadget/udc/at91_udc.c u32 tmp; tmp 665 drivers/usb/gadget/udc/at91_udc.c tmp = at91_udp_read(udc, AT91_UDP_GLB_STAT); tmp 666 drivers/usb/gadget/udc/at91_udc.c tmp ^= AT91_UDP_CONFG; tmp 668 drivers/usb/gadget/udc/at91_udc.c at91_udp_write(udc, AT91_UDP_GLB_STAT, tmp); tmp 674 drivers/usb/gadget/udc/at91_udc.c tmp = __raw_readl(ep->creg); tmp 675 drivers/usb/gadget/udc/at91_udc.c tmp &= ~SET_FX; tmp 676 drivers/usb/gadget/udc/at91_udc.c tmp |= CLR_FX | AT91_UDP_TXPKTRDY; tmp 677 drivers/usb/gadget/udc/at91_udc.c __raw_writel(tmp, ep->creg); tmp 1050 drivers/usb/gadget/udc/at91_udc.c u32 tmp; tmp 1109 drivers/usb/gadget/udc/at91_udc.c tmp = at91_udp_read(udc, AT91_UDP_GLB_STAT) & AT91_UDP_CONFG; tmp 1111 drivers/usb/gadget/udc/at91_udc.c udc->wait_for_config_ack = (tmp == 0); tmp 1113 drivers/usb/gadget/udc/at91_udc.c udc->wait_for_config_ack = (tmp != 0); tmp 1125 drivers/usb/gadget/udc/at91_udc.c tmp = (udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED); tmp 1127 drivers/usb/gadget/udc/at91_udc.c tmp |= (1 << USB_DEVICE_REMOTE_WAKEUP); tmp 1129 drivers/usb/gadget/udc/at91_udc.c __raw_writeb(tmp, dreg); tmp 1137 drivers/usb/gadget/udc/at91_udc.c tmp = at91_udp_read(udc, AT91_UDP_GLB_STAT); tmp 1138 drivers/usb/gadget/udc/at91_udc.c tmp |= AT91_UDP_ESR; tmp 1139 drivers/usb/gadget/udc/at91_udc.c at91_udp_write(udc, AT91_UDP_GLB_STAT, tmp); tmp 1145 drivers/usb/gadget/udc/at91_udc.c tmp = at91_udp_read(udc, AT91_UDP_GLB_STAT); tmp 1146 drivers/usb/gadget/udc/at91_udc.c tmp &= ~AT91_UDP_ESR; tmp 1147 drivers/usb/gadget/udc/at91_udc.c at91_udp_write(udc, AT91_UDP_GLB_STAT, tmp); tmp 1173 drivers/usb/gadget/udc/at91_udc.c tmp = w_index & USB_ENDPOINT_NUMBER_MASK; tmp 1174 drivers/usb/gadget/udc/at91_udc.c ep = &udc->ep[tmp]; tmp 1175 drivers/usb/gadget/udc/at91_udc.c if (tmp >= NUM_ENDPOINTS || (tmp && !ep->ep.desc)) tmp 1178 drivers/usb/gadget/udc/at91_udc.c if (tmp) { tmp 1187 drivers/usb/gadget/udc/at91_udc.c tmp = (1 << USB_ENDPOINT_HALT); tmp 1189 drivers/usb/gadget/udc/at91_udc.c tmp = 0; tmp 1190 drivers/usb/gadget/udc/at91_udc.c __raw_writeb(tmp, dreg); tmp 1196 drivers/usb/gadget/udc/at91_udc.c tmp = w_index & USB_ENDPOINT_NUMBER_MASK; tmp 1197 drivers/usb/gadget/udc/at91_udc.c ep = &udc->ep[tmp]; tmp 1198 drivers/usb/gadget/udc/at91_udc.c if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) tmp 1208 drivers/usb/gadget/udc/at91_udc.c tmp = __raw_readl(ep->creg); tmp 1209 drivers/usb/gadget/udc/at91_udc.c tmp &= ~SET_FX; tmp 1210 drivers/usb/gadget/udc/at91_udc.c tmp |= CLR_FX | AT91_UDP_FORCESTALL; tmp 1211 drivers/usb/gadget/udc/at91_udc.c __raw_writel(tmp, ep->creg); tmp 1215 drivers/usb/gadget/udc/at91_udc.c tmp = w_index & USB_ENDPOINT_NUMBER_MASK; tmp 1216 drivers/usb/gadget/udc/at91_udc.c ep = &udc->ep[tmp]; tmp 1217 drivers/usb/gadget/udc/at91_udc.c if (w_value != USB_ENDPOINT_HALT || tmp >= NUM_ENDPOINTS) tmp 1219 drivers/usb/gadget/udc/at91_udc.c if (tmp == 0) tmp 1231 drivers/usb/gadget/udc/at91_udc.c tmp = __raw_readl(ep->creg); tmp 1232 drivers/usb/gadget/udc/at91_udc.c tmp |= CLR_FX; tmp 1233 drivers/usb/gadget/udc/at91_udc.c tmp &= ~(SET_FX | AT91_UDP_FORCESTALL); tmp 1234 drivers/usb/gadget/udc/at91_udc.c __raw_writel(tmp, ep->creg); tmp 1326 drivers/usb/gadget/udc/at91_udc.c u32 tmp; tmp 1330 drivers/usb/gadget/udc/at91_udc.c tmp = at91_udp_read(udc, AT91_UDP_GLB_STAT); tmp 1331 drivers/usb/gadget/udc/at91_udc.c tmp &= ~AT91_UDP_FADDEN; tmp 1333 drivers/usb/gadget/udc/at91_udc.c tmp |= AT91_UDP_FADDEN; tmp 1334 drivers/usb/gadget/udc/at91_udc.c at91_udp_write(udc, AT91_UDP_GLB_STAT, tmp); tmp 1519 drivers/usb/gadget/udc/dummy_hcd.c int tmp; tmp 1522 drivers/usb/gadget/udc/dummy_hcd.c tmp = usb_endpoint_maxp_mult(ep->desc); tmp 1523 drivers/usb/gadget/udc/dummy_hcd.c tmp *= 8 /* applies to entire frame */; tmp 1524 drivers/usb/gadget/udc/dummy_hcd.c limit += limit * tmp; tmp 1763 drivers/usb/gadget/udc/dummy_hcd.c struct urbp *urbp, *tmp; tmp 1810 drivers/usb/gadget/udc/dummy_hcd.c list_for_each_entry_safe(urbp, tmp, &dum_hcd->urbp_list, urbp_list) { tmp 561 drivers/usb/gadget/udc/fotg210-udc.c u8 *tmp = buffer; tmp 569 drivers/usb/gadget/udc/fotg210-udc.c *tmp = data & 0xFF; tmp 570 drivers/usb/gadget/udc/fotg210-udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 571 drivers/usb/gadget/udc/fotg210-udc.c *(tmp + 2) = (data >> 16) & 0xFF; tmp 572 drivers/usb/gadget/udc/fotg210-udc.c *(tmp + 3) = (data >> 24) & 0xFF; tmp 573 drivers/usb/gadget/udc/fotg210-udc.c tmp = tmp + 4; tmp 579 drivers/usb/gadget/udc/fotg210-udc.c *tmp = data & 0xFF; tmp 583 drivers/usb/gadget/udc/fotg210-udc.c *tmp = data & 0xFF; tmp 584 drivers/usb/gadget/udc/fotg210-udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 588 drivers/usb/gadget/udc/fotg210-udc.c *tmp = data & 0xFF; tmp 589 drivers/usb/gadget/udc/fotg210-udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 590 drivers/usb/gadget/udc/fotg210-udc.c *(tmp + 2) = (data >> 16) & 0xFF; tmp 410 drivers/usb/gadget/udc/fsl_qe_udc.c unsigned int tmp; tmp 452 drivers/usb/gadget/udc/fsl_qe_udc.c tmp = ep->rxbuf_d; tmp 453 drivers/usb/gadget/udc/fsl_qe_udc.c tmp = (u32)(((tmp >> 2) << 2) + 4); tmp 456 drivers/usb/gadget/udc/fsl_qe_udc.c out_be32(&bd->buf, tmp); tmp 458 drivers/usb/gadget/udc/fsl_qe_udc.c tmp = tmp + size; tmp 461 drivers/usb/gadget/udc/fsl_qe_udc.c out_be32(&bd->buf, tmp); tmp 472 drivers/usb/gadget/udc/fsl_qe_udc.c u16 tmp; tmp 512 drivers/usb/gadget/udc/fsl_qe_udc.c tmp = (u16)(ep->ep.maxpacket + USB_CRC_SIZE); tmp 514 drivers/usb/gadget/udc/fsl_qe_udc.c tmp = (u16)(((tmp >> 2) << 2) + 4); tmp 515 drivers/usb/gadget/udc/fsl_qe_udc.c out_be16(&epparam->mrblr, tmp); tmp 1867 drivers/usb/gadget/udc/fsl_qe_udc.c u16 tmp; tmp 1869 drivers/usb/gadget/udc/fsl_qe_udc.c tmp = in_be16(&udc->usb_param->frame_n); tmp 1870 drivers/usb/gadget/udc/fsl_qe_udc.c if (tmp & 0x8000) tmp 1871 drivers/usb/gadget/udc/fsl_qe_udc.c return tmp & 0x07ff; tmp 229 drivers/usb/gadget/udc/fsl_udc_core.c unsigned int tmp, portctrl, ep_num; tmp 279 drivers/usb/gadget/udc/fsl_udc_core.c tmp = fsl_readl(&dr_regs->usbcmd); tmp 280 drivers/usb/gadget/udc/fsl_udc_core.c tmp &= ~USB_CMD_RUN_STOP; tmp 281 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(tmp, &dr_regs->usbcmd); tmp 283 drivers/usb/gadget/udc/fsl_udc_core.c tmp = fsl_readl(&dr_regs->usbcmd); tmp 284 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= USB_CMD_CTRL_RESET; tmp 285 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(tmp, &dr_regs->usbcmd); tmp 298 drivers/usb/gadget/udc/fsl_udc_core.c tmp = fsl_readl(&dr_regs->usbmode); tmp 299 drivers/usb/gadget/udc/fsl_udc_core.c tmp &= ~USB_MODE_CTRL_MODE_MASK; /* clear mode bits */ tmp 300 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= USB_MODE_CTRL_MODE_DEVICE; tmp 302 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= USB_MODE_SETUP_LOCK_OFF; tmp 304 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= USB_MODE_ES; tmp 305 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(tmp, &dr_regs->usbmode); tmp 310 drivers/usb/gadget/udc/fsl_udc_core.c tmp = udc->ep_qh_dma; tmp 311 drivers/usb/gadget/udc/fsl_udc_core.c tmp &= USB_EP_LIST_ADDRESS_MASK; tmp 312 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(tmp, &dr_regs->endpointlistaddr); tmp 315 drivers/usb/gadget/udc/fsl_udc_core.c udc->ep_qh, (int)tmp, tmp 320 drivers/usb/gadget/udc/fsl_udc_core.c tmp = fsl_readl(&dr_regs->endptctrl[ep_num]); tmp 321 drivers/usb/gadget/udc/fsl_udc_core.c tmp &= ~(EPCTRL_TX_TYPE | EPCTRL_RX_TYPE); tmp 322 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= (EPCTRL_EP_TYPE_BULK << EPCTRL_TX_EP_TYPE_SHIFT) tmp 324 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(tmp, &dr_regs->endptctrl[ep_num]); tmp 341 drivers/usb/gadget/udc/fsl_udc_core.c tmp = SNOOP_SIZE_2GB; /* starts from 0x0, size 2G */ tmp 342 drivers/usb/gadget/udc/fsl_udc_core.c __raw_writel(tmp, &usb_sys_regs->snoop1); tmp 343 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= 0x80000000; /* starts from 0x8000000, size 2G */ tmp 344 drivers/usb/gadget/udc/fsl_udc_core.c __raw_writel(tmp, &usb_sys_regs->snoop2); tmp 379 drivers/usb/gadget/udc/fsl_udc_core.c unsigned int tmp; tmp 404 drivers/usb/gadget/udc/fsl_udc_core.c tmp = fsl_readl(&dr_regs->usbcmd); tmp 405 drivers/usb/gadget/udc/fsl_udc_core.c tmp &= ~USB_CMD_RUN_STOP; tmp 406 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(tmp, &dr_regs->usbcmd); tmp 488 drivers/usb/gadget/udc/fsl_udc_core.c unsigned int tmp = 0; tmp 494 drivers/usb/gadget/udc/fsl_udc_core.c tmp = (max_pkt_len << EP_QUEUE_HEAD_MAX_PKT_LEN_POS) tmp 498 drivers/usb/gadget/udc/fsl_udc_core.c tmp = (max_pkt_len << EP_QUEUE_HEAD_MAX_PKT_LEN_POS) tmp 503 drivers/usb/gadget/udc/fsl_udc_core.c tmp = max_pkt_len << EP_QUEUE_HEAD_MAX_PKT_LEN_POS; tmp 510 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= EP_QUEUE_HEAD_ZLT_SEL; tmp 512 drivers/usb/gadget/udc/fsl_udc_core.c p_QH->max_pkt_length = cpu_to_hc32(tmp); tmp 1258 drivers/usb/gadget/udc/fsl_udc_core.c u32 tmp; tmp 1261 drivers/usb/gadget/udc/fsl_udc_core.c tmp = fsl_readl(&dr_regs->endptctrl[0]); tmp 1262 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= EPCTRL_TX_EP_STALL | EPCTRL_RX_EP_STALL; tmp 1263 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(tmp, &dr_regs->endptctrl[0]); tmp 1333 drivers/usb/gadget/udc/fsl_udc_core.c u16 tmp = 0; /* Status, cpu endian */ tmp 1342 drivers/usb/gadget/udc/fsl_udc_core.c tmp = udc->gadget.is_selfpowered; tmp 1343 drivers/usb/gadget/udc/fsl_udc_core.c tmp |= udc->remote_wakeup << USB_DEVICE_REMOTE_WAKEUP; tmp 1347 drivers/usb/gadget/udc/fsl_udc_core.c tmp = 0; tmp 1357 drivers/usb/gadget/udc/fsl_udc_core.c tmp = dr_ep_get_stall(ep_index(target_ep), ep_is_in(target_ep)) tmp 1365 drivers/usb/gadget/udc/fsl_udc_core.c *((u16 *) req->req.buf) = cpu_to_le16(tmp); tmp 1472 drivers/usb/gadget/udc/fsl_udc_core.c u32 tmp; tmp 1475 drivers/usb/gadget/udc/fsl_udc_core.c tmp = fsl_readl(&dr_regs->portsc1) | (ptc << 16); tmp 1476 drivers/usb/gadget/udc/fsl_udc_core.c fsl_writel(tmp, &dr_regs->portsc1); tmp 1598 drivers/usb/gadget/udc/fsl_udc_core.c int td_complete, actual, remaining_length, j, tmp; tmp 1619 drivers/usb/gadget/udc/fsl_udc_core.c tmp = hc32_to_cpu(curr_qh->size_ioc_int_sts); tmp 1620 drivers/usb/gadget/udc/fsl_udc_core.c tmp &= ~errors; tmp 1621 drivers/usb/gadget/udc/fsl_udc_core.c curr_qh->size_ioc_int_sts = cpu_to_hc32(tmp); tmp 334 drivers/usb/gadget/udc/fusb300_udc.c u8 *tmp; tmp 339 drivers/usb/gadget/udc/fusb300_udc.c tmp = req->req.buf + req->req.actual; tmp 344 drivers/usb/gadget/udc/fusb300_udc.c data = *tmp | *(tmp + 1) << 8 | *(tmp + 2) << 16 | tmp 345 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 3) << 24; tmp 347 drivers/usb/gadget/udc/fusb300_udc.c tmp += 4; tmp 353 drivers/usb/gadget/udc/fusb300_udc.c data = *tmp | *(tmp + 1) << 8 | *(tmp + 2) << 16 | tmp 354 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 3) << 24; tmp 357 drivers/usb/gadget/udc/fusb300_udc.c tmp = tmp + 4; tmp 361 drivers/usb/gadget/udc/fusb300_udc.c data = *tmp; tmp 366 drivers/usb/gadget/udc/fusb300_udc.c data = *tmp | *(tmp + 1) << 8; tmp 371 drivers/usb/gadget/udc/fusb300_udc.c data = *tmp | *(tmp + 1) << 8 | *(tmp + 2) << 16; tmp 561 drivers/usb/gadget/udc/fusb300_udc.c u8 *tmp; tmp 564 drivers/usb/gadget/udc/fusb300_udc.c tmp = buffer; tmp 569 drivers/usb/gadget/udc/fusb300_udc.c *tmp = data & 0xFF; tmp 570 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 571 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 2) = (data >> 16) & 0xFF; tmp 572 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 3) = (data >> 24) & 0xFF; tmp 573 drivers/usb/gadget/udc/fusb300_udc.c tmp = tmp + 4; tmp 580 drivers/usb/gadget/udc/fusb300_udc.c *tmp = data & 0xFF; tmp 585 drivers/usb/gadget/udc/fusb300_udc.c *tmp = data & 0xFF; tmp 586 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 591 drivers/usb/gadget/udc/fusb300_udc.c *tmp = data & 0xFF; tmp 592 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 593 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 2) = (data >> 16) & 0xFF; tmp 605 drivers/usb/gadget/udc/fusb300_udc.c u8 *tmp; tmp 609 drivers/usb/gadget/udc/fusb300_udc.c tmp = req->req.buf + req->req.actual; tmp 618 drivers/usb/gadget/udc/fusb300_udc.c *tmp = data & 0xFF; tmp 619 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 620 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 2) = (data >> 16) & 0xFF; tmp 621 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 3) = (data >> 24) & 0xFF; tmp 622 drivers/usb/gadget/udc/fusb300_udc.c tmp = tmp + 4; tmp 629 drivers/usb/gadget/udc/fusb300_udc.c *tmp = data & 0xFF; tmp 634 drivers/usb/gadget/udc/fusb300_udc.c *tmp = data & 0xFF; tmp 635 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 640 drivers/usb/gadget/udc/fusb300_udc.c *tmp = data & 0xFF; tmp 641 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 1) = (data >> 8) & 0xFF; tmp 642 drivers/usb/gadget/udc/fusb300_udc.c *(tmp + 2) = (data >> 16) & 0xFF; tmp 160 drivers/usb/gadget/udc/goku_udc.c u32 tmp; tmp 163 drivers/usb/gadget/udc/goku_udc.c tmp = ((ep->dma || !ep->is_in) tmp 167 drivers/usb/gadget/udc/goku_udc.c tmp |= readl(®s->EPxSingle); tmp 168 drivers/usb/gadget/udc/goku_udc.c writel(tmp, ®s->EPxSingle); tmp 170 drivers/usb/gadget/udc/goku_udc.c tmp = (ep->dma ? 0x10/*dma*/ : 0x11/*pio*/) << ep->num; tmp 171 drivers/usb/gadget/udc/goku_udc.c tmp |= readl(®s->EPxBCS); tmp 172 drivers/usb/gadget/udc/goku_udc.c writel(tmp, ®s->EPxBCS); tmp 208 drivers/usb/gadget/udc/goku_udc.c u32 tmp; tmp 210 drivers/usb/gadget/udc/goku_udc.c tmp = readl(&r->EPxSingle); tmp 211 drivers/usb/gadget/udc/goku_udc.c tmp &= ~(0x11 << ep->num); tmp 212 drivers/usb/gadget/udc/goku_udc.c writel(tmp, &r->EPxSingle); tmp 214 drivers/usb/gadget/udc/goku_udc.c tmp = readl(&r->EPxBCS); tmp 215 drivers/usb/gadget/udc/goku_udc.c tmp &= ~(0x11 << ep->num); tmp 216 drivers/usb/gadget/udc/goku_udc.c writel(tmp, &r->EPxBCS); tmp 349 drivers/usb/gadget/udc/goku_udc.c u32 tmp; tmp 354 drivers/usb/gadget/udc/goku_udc.c tmp = readl(&dev->regs->DataSet); tmp 363 drivers/usb/gadget/udc/goku_udc.c if (unlikely((tmp & DATASET_A(ep->num)) != 0)) tmp 1138 drivers/usb/gadget/udc/goku_udc.c u32 tmp; tmp 1143 drivers/usb/gadget/udc/goku_udc.c tmp = readl(®s->power_detect); tmp 1144 drivers/usb/gadget/udc/goku_udc.c is_usb_connected = tmp & PW_DETECT; tmp 1155 drivers/usb/gadget/udc/goku_udc.c ? ((tmp & PW_PULLUP) ? "full speed" : "powered") tmp 1162 drivers/usb/gadget/udc/goku_udc.c if (!is_usb_connected || !dev->driver || (tmp & PW_PULLUP) == 0) tmp 1174 drivers/usb/gadget/udc/goku_udc.c tmp = readl(®s->dma_master); tmp 1176 drivers/usb/gadget/udc/goku_udc.c tmp, tmp 1177 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_EOPB_DIS) ? " eopb-" : "", tmp 1178 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_EOPB_ENA) ? " eopb+" : "", tmp 1179 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_TIMEOUT_DIS) ? " tmo-" : "", tmp 1180 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_TIMEOUT_ENA) ? " tmo+" : "", tmp 1182 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_RD_EOPB) ? " eopb" : "", tmp 1183 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_RD_RESET) ? " in_reset" : "", tmp 1184 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_WR_RESET) ? " out_reset" : "", tmp 1185 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_RD_ENA) ? " IN" : "", tmp 1187 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_WR_ENA) ? " OUT" : "", tmp 1188 drivers/usb/gadget/udc/goku_udc.c (tmp & MST_CONNECTION) ? "ep1in/ep2out" : "ep1out/ep2in"); tmp 1200 drivers/usb/gadget/udc/goku_udc.c tmp = readl(ep->reg_status); tmp 1207 drivers/usb/gadget/udc/goku_udc.c tmp, udc_ep_status(tmp), tmp 1208 drivers/usb/gadget/udc/goku_udc.c (tmp & EPxSTATUS_TOGGLE) ? "data1" : "data0", tmp 1209 drivers/usb/gadget/udc/goku_udc.c (tmp & EPxSTATUS_SUSPEND) ? " suspend" : "", tmp 1210 drivers/usb/gadget/udc/goku_udc.c (tmp & EPxSTATUS_FIFO_DISABLE) ? " disable" : "", tmp 1211 drivers/usb/gadget/udc/goku_udc.c (tmp & EPxSTATUS_STAGE_ERROR) ? " ep0stat" : ""); tmp 1224 drivers/usb/gadget/udc/goku_udc.c tmp = readl(®s->in_dma_current); tmp 1226 drivers/usb/gadget/udc/goku_udc.c tmp = readl(®s->out_dma_current); tmp 1227 drivers/usb/gadget/udc/goku_udc.c tmp -= req->req.dma; tmp 1228 drivers/usb/gadget/udc/goku_udc.c tmp++; tmp 1230 drivers/usb/gadget/udc/goku_udc.c tmp = req->req.actual; tmp 1233 drivers/usb/gadget/udc/goku_udc.c &req->req, tmp, req->req.length, tmp 1419 drivers/usb/gadget/udc/goku_udc.c int tmp; tmp 1451 drivers/usb/gadget/udc/goku_udc.c tmp = le16_to_cpu(ctrl.wIndex) & 0x0f; tmp 1453 drivers/usb/gadget/udc/goku_udc.c if (tmp > 3 || tmp 1454 drivers/usb/gadget/udc/goku_udc.c (!dev->ep[tmp].ep.desc && tmp != 0)) tmp 1458 drivers/usb/gadget/udc/goku_udc.c if (!dev->ep[tmp].is_in) tmp 1461 drivers/usb/gadget/udc/goku_udc.c if (dev->ep[tmp].is_in) tmp 1467 drivers/usb/gadget/udc/goku_udc.c if (tmp) tmp 1468 drivers/usb/gadget/udc/goku_udc.c goku_clear_halt(&dev->ep[tmp]); tmp 1509 drivers/usb/gadget/udc/goku_udc.c tmp = dev->driver->setup(&dev->gadget, &ctrl); tmp 1511 drivers/usb/gadget/udc/goku_udc.c if (unlikely(tmp < 0)) { tmp 1515 drivers/usb/gadget/udc/goku_udc.c ctrl.bRequestType, ctrl.bRequest, tmp); tmp 1668 drivers/usb/gadget/udc/goku_udc.c u32 tmp = INT_EPxDATASET(i); tmp 1670 drivers/usb/gadget/udc/goku_udc.c if (!(stat & tmp)) tmp 1676 drivers/usb/gadget/udc/goku_udc.c stat &= ~tmp; tmp 711 drivers/usb/gadget/udc/lpc32xx_udc.c u32 tmp = readl(USBD_DEVINTST(udc->udp_baseaddr)); tmp 712 drivers/usb/gadget/udc/lpc32xx_udc.c (void) tmp; tmp 1151 drivers/usb/gadget/udc/lpc32xx_udc.c u32 *p32, tmp, cbytes; tmp 1166 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = readl(USBD_RXDATA(udc->udp_baseaddr)); tmp 1168 drivers/usb/gadget/udc/lpc32xx_udc.c data[cbytes + n] = ((tmp >> (n * 8)) & 0xFF); tmp 1177 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = readl(USBD_RXDATA(udc->udp_baseaddr)); tmp 1184 drivers/usb/gadget/udc/lpc32xx_udc.c data[n + i] = (u8) ((tmp >> (i * 8)) & 0xFF); tmp 1194 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = readl(USBD_RXDATA(udc->udp_baseaddr)); tmp 1195 drivers/usb/gadget/udc/lpc32xx_udc.c *p16++ = (u16)(tmp & 0xFFFF); tmp 1196 drivers/usb/gadget/udc/lpc32xx_udc.c *p16++ = (u16)((tmp >> 16) & 0xFFFF); tmp 1202 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = readl(USBD_RXDATA(udc->udp_baseaddr)); tmp 1204 drivers/usb/gadget/udc/lpc32xx_udc.c data[cbytes + n] = ((tmp >> (n * 8)) & 0xFF); tmp 1219 drivers/usb/gadget/udc/lpc32xx_udc.c u32 tmp, hwrep = ((hwep & 0x1E) << 1) | CTRL_RD_EN; tmp 1232 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = tmpv & PKT_LNGTH_MASK; tmp 1233 drivers/usb/gadget/udc/lpc32xx_udc.c if (bytes < tmp) tmp 1234 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = bytes; tmp 1236 drivers/usb/gadget/udc/lpc32xx_udc.c if ((tmp > 0) && (data != NULL)) tmp 1237 drivers/usb/gadget/udc/lpc32xx_udc.c udc_pop_fifo(udc, (u8 *) data, tmp); tmp 1244 drivers/usb/gadget/udc/lpc32xx_udc.c return tmp; tmp 1252 drivers/usb/gadget/udc/lpc32xx_udc.c u32 *p32, tmp, cbytes; tmp 1267 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = 0; tmp 1269 drivers/usb/gadget/udc/lpc32xx_udc.c tmp |= data[cbytes + n] << (n * 8); tmp 1271 drivers/usb/gadget/udc/lpc32xx_udc.c writel(tmp, USBD_TXDATA(udc->udp_baseaddr)); tmp 1283 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = 0; tmp 1285 drivers/usb/gadget/udc/lpc32xx_udc.c tmp |= data[n + i] << (i * 8); tmp 1287 drivers/usb/gadget/udc/lpc32xx_udc.c writel(tmp, USBD_TXDATA(udc->udp_baseaddr)); tmp 1297 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = *p16++ & 0xFFFF; tmp 1298 drivers/usb/gadget/udc/lpc32xx_udc.c tmp |= (*p16++ & 0xFFFF) << 16; tmp 1299 drivers/usb/gadget/udc/lpc32xx_udc.c writel(tmp, USBD_TXDATA(udc->udp_baseaddr)); tmp 1305 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = 0; tmp 1307 drivers/usb/gadget/udc/lpc32xx_udc.c tmp |= data[cbytes + n] << (n * 8); tmp 1309 drivers/usb/gadget/udc/lpc32xx_udc.c writel(tmp, USBD_TXDATA(udc->udp_baseaddr)); tmp 1619 drivers/usb/gadget/udc/lpc32xx_udc.c u32 tmp; tmp 1646 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; tmp 1647 drivers/usb/gadget/udc/lpc32xx_udc.c switch (tmp) { tmp 2116 drivers/usb/gadget/udc/lpc32xx_udc.c u32 tmp; tmp 2119 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = udc_protocol_cmd_r(udc, DAT_GET_DEV_STAT); tmp 2121 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & DEV_RST) tmp 2123 drivers/usb/gadget/udc/lpc32xx_udc.c else if (tmp & DEV_CON_CH) tmp 2124 drivers/usb/gadget/udc/lpc32xx_udc.c uda_power_event(udc, (tmp & DEV_CON)); tmp 2125 drivers/usb/gadget/udc/lpc32xx_udc.c else if (tmp & DEV_SUS_CH) { tmp 2126 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & DEV_SUS) { tmp 2149 drivers/usb/gadget/udc/lpc32xx_udc.c u32 ep0buff = 0, tmp; tmp 2162 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = wIndex & USB_ENDPOINT_NUMBER_MASK; tmp 2163 drivers/usb/gadget/udc/lpc32xx_udc.c ep = &udc->ep[tmp]; tmp 2164 drivers/usb/gadget/udc/lpc32xx_udc.c if ((tmp == 0) || (tmp >= NUM_ENDPOINTS)) tmp 2175 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = udc_protocol_cmd_r(udc, DAT_SEL_EP(ep->hwep_num)); tmp 2177 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & EP_SEL_ST) tmp 2198 drivers/usb/gadget/udc/lpc32xx_udc.c u16 wIndex, wValue, reqtype, req, tmp; tmp 2243 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = wIndex & USB_ENDPOINT_NUMBER_MASK; tmp 2245 drivers/usb/gadget/udc/lpc32xx_udc.c (tmp >= NUM_ENDPOINTS)) tmp 2249 drivers/usb/gadget/udc/lpc32xx_udc.c ep = &udc->ep[tmp]; tmp 2250 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = ep->hwep_num; tmp 2251 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp == 0) tmp 2255 drivers/usb/gadget/udc/lpc32xx_udc.c udc_stall_hwep(udc, tmp); tmp 2257 drivers/usb/gadget/udc/lpc32xx_udc.c udc_clrstall_hwep(udc, tmp); tmp 2737 drivers/usb/gadget/udc/lpc32xx_udc.c u32 tmp, devstat; tmp 2764 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = udc_protocol_cmd_r(udc, DAT_RD_ERR_STAT); tmp 2765 drivers/usb/gadget/udc/lpc32xx_udc.c dev_dbg(udc->dev, "Device error (0x%x)!\n", tmp); tmp 2776 drivers/usb/gadget/udc/lpc32xx_udc.c u32 tmp; tmp 2785 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = readl(USBD_EPINTST(udc->udp_baseaddr)); tmp 2788 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & (EP_MASK_SEL(0, EP_OUT) | EP_MASK_SEL(0, EP_IN))) { tmp 2790 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & (EP_MASK_SEL(0, EP_IN))) tmp 2794 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & (EP_MASK_SEL(0, EP_OUT))) tmp 2799 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & ~(EP_MASK_SEL(0, EP_OUT) | EP_MASK_SEL(0, EP_IN))) { tmp 2804 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & (1 << udc->ep[i].hwep_num)) tmp 2819 drivers/usb/gadget/udc/lpc32xx_udc.c u32 tmp; tmp 2824 drivers/usb/gadget/udc/lpc32xx_udc.c tmp = readl(USBD_EOTINTST(udc->udp_baseaddr)) | tmp 2829 drivers/usb/gadget/udc/lpc32xx_udc.c if (tmp & (1 << udc->ep[i].hwep_num)) tmp 52 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 54 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_INTENB0); tmp 58 drivers/usb/gadget/udc/m66592-udc.c m66592_write(m66592, tmp, M66592_INTENB0); tmp 64 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 66 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_INTENB0); tmp 70 drivers/usb/gadget/udc/m66592-udc.c m66592_write(m66592, tmp, M66592_INTENB0); tmp 180 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 184 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_DCPCFG); tmp 185 drivers/usb/gadget/udc/m66592-udc.c if ((tmp & M66592_CNTMD) != 0) tmp 188 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_DCPMAXP); tmp 189 drivers/usb/gadget/udc/m66592-udc.c size = tmp & M66592_MAXP; tmp 193 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_PIPECFG); tmp 194 drivers/usb/gadget/udc/m66592-udc.c if ((tmp & M66592_CNTMD) != 0) { tmp 195 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_PIPEBUF); tmp 196 drivers/usb/gadget/udc/m66592-udc.c size = ((tmp >> 10) + 1) * 64; tmp 198 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_PIPEMAXP); tmp 199 drivers/usb/gadget/udc/m66592-udc.c size = tmp & M66592_MXPS; tmp 516 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 522 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, ep->fifoctr); tmp 523 drivers/usb/gadget/udc/m66592-udc.c if (unlikely((tmp & M66592_FRDY) == 0)) tmp 695 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 698 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_SYSCFG); tmp 699 drivers/usb/gadget/udc/m66592-udc.c if (!(tmp & M66592_XCKE)) tmp 742 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 754 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, ep->fifoctr); tmp 761 drivers/usb/gadget/udc/m66592-udc.c } while ((tmp & M66592_FRDY) == 0); tmp 794 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 802 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, ep->fifoctr); tmp 803 drivers/usb/gadget/udc/m66592-udc.c if (unlikely((tmp & M66592_FRDY) == 0)) { tmp 841 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 850 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, ep->fifoctr); tmp 851 drivers/usb/gadget/udc/m66592-udc.c if (unlikely((tmp & M66592_FRDY) == 0)) { tmp 860 drivers/usb/gadget/udc/m66592-udc.c rcv_len = tmp & M66592_DTLN; tmp 928 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 945 drivers/usb/gadget/udc/m66592-udc.c tmp = control_reg_get(m66592, pipenum); tmp 946 drivers/usb/gadget/udc/m66592-udc.c if ((tmp & M66592_INBUFM) == 0) { tmp 1039 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 1049 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_INTSTS0) & tmp 1052 drivers/usb/gadget/udc/m66592-udc.c } while (tmp != M66592_CS_IDST && timeout-- > 0); tmp 1054 drivers/usb/gadget/udc/m66592-udc.c if (tmp == M66592_CS_IDST) tmp 1266 drivers/usb/gadget/udc/m66592-udc.c u16 tmp; tmp 1269 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_SYSCFG); tmp 1270 drivers/usb/gadget/udc/m66592-udc.c if (!(tmp & M66592_RCKE)) { tmp 1276 drivers/usb/gadget/udc/m66592-udc.c tmp = m66592_read(m66592, M66592_INTSTS0) & M66592_VBSTS; tmp 1277 drivers/usb/gadget/udc/m66592-udc.c if (tmp == m66592->old_vbus) { tmp 1280 drivers/usb/gadget/udc/m66592-udc.c if (tmp == M66592_VBSTS) tmp 1290 drivers/usb/gadget/udc/m66592-udc.c m66592->old_vbus = tmp; tmp 550 drivers/usb/gadget/udc/m66592-udc.h u16 tmp; tmp 551 drivers/usb/gadget/udc/m66592-udc.h tmp = m66592_read(m66592, offset); tmp 552 drivers/usb/gadget/udc/m66592-udc.h tmp = tmp & (~pat); tmp 553 drivers/usb/gadget/udc/m66592-udc.h tmp = tmp | val; tmp 554 drivers/usb/gadget/udc/m66592-udc.h m66592_write(m66592, tmp, offset); tmp 98 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp; tmp 102 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->epcr[0].epxoutcr0); tmp 103 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= MV_U3D_EPXCR_EP_HALT; tmp 104 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[0].epxoutcr0); tmp 106 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->epcr[0].epxincr0); tmp 107 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= MV_U3D_EPXCR_EP_HALT; tmp 108 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[0].epxincr0); tmp 122 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp, status, length; tmp 140 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->rxst[ep_num].statuslo); tmp 142 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->txst[ep_num].statuslo); tmp 144 drivers/usb/gadget/udc/mv_u3d_core.c status = tmp >> MV_U3D_XFERSTATUS_COMPLETE_SHIFT; tmp 145 drivers/usb/gadget/udc/mv_u3d_core.c length = tmp & MV_U3D_XFERSTATUS_TRB_LENGTH_MASK; tmp 221 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp, direction; tmp 258 drivers/usb/gadget/udc/mv_u3d_core.c tmp = 0x1; tmp 260 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ep->ep_num * 2 tmp 263 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->op_regs->doorbell); tmp 693 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp; tmp 705 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->epcr[0].epxoutcr0); tmp 706 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= MV_U3D_EPXCR_EP_FLUSH; tmp 707 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[0].epxoutcr0); tmp 709 drivers/usb/gadget/udc/mv_u3d_core.c tmp &= ~MV_U3D_EPXCR_EP_FLUSH; tmp 710 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[0].epxoutcr0); tmp 712 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->epcr[0].epxincr0); tmp 713 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= MV_U3D_EPXCR_EP_FLUSH; tmp 714 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[0].epxincr0); tmp 716 drivers/usb/gadget/udc/mv_u3d_core.c tmp &= ~MV_U3D_EPXCR_EP_FLUSH; tmp 717 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[0].epxincr0); tmp 723 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->epcr[ep->ep_num].epxoutcr0); tmp 724 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= MV_U3D_EPXCR_EP_FLUSH; tmp 725 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[ep->ep_num].epxoutcr0); tmp 745 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->epcr[ep->ep_num].epxincr0); tmp 746 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= MV_U3D_EPXCR_EP_FLUSH; tmp 747 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[ep->ep_num].epxincr0); tmp 921 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp; tmp 926 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->epcr[ep->ep_num].epxoutcr0); tmp 928 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= MV_U3D_EPXCR_EP_HALT; tmp 930 drivers/usb/gadget/udc/mv_u3d_core.c tmp &= ~MV_U3D_EPXCR_EP_HALT; tmp 931 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[ep->ep_num].epxoutcr0); tmp 933 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->epcr[ep->ep_num].epxincr0); tmp 935 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= MV_U3D_EPXCR_EP_HALT; tmp 937 drivers/usb/gadget/udc/mv_u3d_core.c tmp &= ~MV_U3D_EPXCR_EP_HALT; tmp 938 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->epcr[ep->ep_num].epxincr0); tmp 1012 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp; tmp 1026 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->op_regs->usbcmd); tmp 1027 drivers/usb/gadget/udc/mv_u3d_core.c tmp &= ~MV_U3D_CMD_RUN_STOP; tmp 1028 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->op_regs->usbcmd); tmp 1062 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp; tmp 1065 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->op_regs->usbcmd); tmp 1066 drivers/usb/gadget/udc/mv_u3d_core.c tmp &= ~MV_U3D_CMD_RUN_STOP; tmp 1067 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->op_regs->usbcmd); tmp 1469 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp; tmp 1493 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->devaddrtiebrkr); tmp 1494 drivers/usb/gadget/udc/mv_u3d_core.c tmp &= ~0x7F; tmp 1495 drivers/usb/gadget/udc/mv_u3d_core.c tmp |= (u32)u3d->dev_addr; tmp 1496 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->devaddrtiebrkr); tmp 1594 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp, i; tmp 1596 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->setuplock); tmp 1597 drivers/usb/gadget/udc/mv_u3d_core.c if (tmp) { tmp 1599 drivers/usb/gadget/udc/mv_u3d_core.c if (tmp & (1 << i)) { tmp 1608 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->setuplock); tmp 1613 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp, bit_pos; tmp 1619 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->vuc_regs->endcomplete); tmp 1621 drivers/usb/gadget/udc/mv_u3d_core.c dev_dbg(u3d->dev, "tr_complete: ep: 0x%x\n", tmp); tmp 1622 drivers/usb/gadget/udc/mv_u3d_core.c if (!tmp) tmp 1624 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->vuc_regs->endcomplete); tmp 1632 drivers/usb/gadget/udc/mv_u3d_core.c if (!(bit_pos & tmp)) tmp 2042 drivers/usb/gadget/udc/mv_u3d_core.c u32 tmp; tmp 2044 drivers/usb/gadget/udc/mv_u3d_core.c tmp = ioread32(&u3d->op_regs->usbcmd); tmp 2045 drivers/usb/gadget/udc/mv_u3d_core.c tmp &= ~MV_U3D_CMD_RUN_STOP; tmp 2046 drivers/usb/gadget/udc/mv_u3d_core.c iowrite32(tmp, &u3d->op_regs->usbcmd); tmp 970 drivers/usb/gadget/udc/mv_udc_core.c u32 tmp; tmp 973 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->usbintr); tmp 974 drivers/usb/gadget/udc/mv_udc_core.c tmp &= ~(USBINTR_INT_EN | USBINTR_ERR_INT_EN | tmp 976 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->usbintr); tmp 981 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->usbcmd); tmp 982 drivers/usb/gadget/udc/mv_udc_core.c tmp &= ~USBCMD_RUN_STOP; tmp 983 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->usbcmd); tmp 1005 drivers/usb/gadget/udc/mv_udc_core.c u32 tmp, portsc; tmp 1008 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->usbcmd); tmp 1009 drivers/usb/gadget/udc/mv_udc_core.c tmp &= ~USBCMD_RUN_STOP; tmp 1010 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->usbcmd); tmp 1028 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->usbmode); tmp 1029 drivers/usb/gadget/udc/mv_udc_core.c tmp |= USBMODE_CTRL_MODE_DEVICE; tmp 1032 drivers/usb/gadget/udc/mv_udc_core.c tmp |= USBMODE_SETUP_LOCK_OFF; tmp 1034 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->usbmode); tmp 1053 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->epctrlx[0]); tmp 1054 drivers/usb/gadget/udc/mv_udc_core.c tmp &= ~(EPCTRL_TX_EP_STALL | EPCTRL_RX_EP_STALL); tmp 1055 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->epctrlx[0]); tmp 1785 drivers/usb/gadget/udc/mv_udc_core.c u32 tmp, bit_pos; tmp 1797 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->epsetupstat); tmp 1799 drivers/usb/gadget/udc/mv_udc_core.c if (tmp) { tmp 1801 drivers/usb/gadget/udc/mv_udc_core.c if (tmp & (1 << i)) { tmp 1815 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->epcomplete); tmp 1817 drivers/usb/gadget/udc/mv_udc_core.c if (!tmp) tmp 1820 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->epcomplete); tmp 1828 drivers/usb/gadget/udc/mv_udc_core.c if (!(bit_pos & tmp)) tmp 1858 drivers/usb/gadget/udc/mv_udc_core.c u32 tmp; tmp 1866 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->deviceaddr); tmp 1867 drivers/usb/gadget/udc/mv_udc_core.c tmp &= ~(USB_DEVICE_ADDRESS_MASK); tmp 1868 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->deviceaddr); tmp 1871 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->epsetupstat); tmp 1872 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->epsetupstat); tmp 1875 drivers/usb/gadget/udc/mv_udc_core.c tmp = readl(&udc->op_regs->epcomplete); tmp 1876 drivers/usb/gadget/udc/mv_udc_core.c writel(tmp, &udc->op_regs->epcomplete); tmp 109 drivers/usb/gadget/udc/net2272.c u8 tmp; tmp 115 drivers/usb/gadget/udc/net2272.c tmp = net2272_ep_read(ep, EP_STAT0); tmp 116 drivers/usb/gadget/udc/net2272.c if ((tmp & (1 << NAK_OUT_PACKETS)) == 0) { tmp 118 drivers/usb/gadget/udc/net2272.c ep->ep.name, where, tmp); tmp 126 drivers/usb/gadget/udc/net2272.c u8 tmp = net2272_ep_read(ep, EP_STAT0); tmp 128 drivers/usb/gadget/udc/net2272.c if ((tmp & (1 << NAK_OUT_PACKETS)) != 0) tmp 181 drivers/usb/gadget/udc/net2272.c u8 tmp; tmp 208 drivers/usb/gadget/udc/net2272.c tmp = usb_endpoint_type(desc); tmp 218 drivers/usb/gadget/udc/net2272.c tmp <<= ENDPOINT_TYPE; tmp 219 drivers/usb/gadget/udc/net2272.c tmp |= ((desc->bEndpointAddress & 0x0f) << ENDPOINT_NUMBER); tmp 220 drivers/usb/gadget/udc/net2272.c tmp |= usb_endpoint_dir_in(desc) << ENDPOINT_DIRECTION; tmp 221 drivers/usb/gadget/udc/net2272.c tmp |= (1 << ENDPOINT_ENABLE); tmp 228 drivers/usb/gadget/udc/net2272.c net2272_ep_write(ep, EP_CFG, tmp); tmp 231 drivers/usb/gadget/udc/net2272.c tmp = (1 << ep->num) | net2272_read(dev, IRQENB0); tmp 232 drivers/usb/gadget/udc/net2272.c net2272_write(dev, IRQENB0, tmp); tmp 234 drivers/usb/gadget/udc/net2272.c tmp = (1 << DATA_PACKET_RECEIVED_INTERRUPT_ENABLE) tmp 237 drivers/usb/gadget/udc/net2272.c net2272_ep_write(ep, EP_IRQENB, tmp); tmp 239 drivers/usb/gadget/udc/net2272.c tmp = desc->bEndpointAddress; tmp 241 drivers/usb/gadget/udc/net2272.c _ep->name, tmp & 0x0f, PIPEDIR(tmp), tmp 251 drivers/usb/gadget/udc/net2272.c u8 tmp; tmp 265 drivers/usb/gadget/udc/net2272.c tmp = (1 << NAK_OUT_PACKETS_MODE) | (1 << ALT_NAK_OUT_PACKETS); tmp 266 drivers/usb/gadget/udc/net2272.c net2272_ep_write(ep, EP_RSPSET, tmp); tmp 268 drivers/usb/gadget/udc/net2272.c tmp = (1 << INTERRUPT_MODE) | (1 << HIDE_STATUS_PHASE); tmp 270 drivers/usb/gadget/udc/net2272.c tmp |= (1 << ENDPOINT_TOGGLE) | (1 << ENDPOINT_HALT); tmp 272 drivers/usb/gadget/udc/net2272.c net2272_ep_write(ep, EP_RSPCLR, tmp); tmp 392 drivers/usb/gadget/udc/net2272.c u8 tmp; tmp 413 drivers/usb/gadget/udc/net2272.c tmp = net2272_read(ep->dev, LOCCTL); tmp 414 drivers/usb/gadget/udc/net2272.c net2272_write(ep->dev, LOCCTL, tmp & ~(1 << DATA_WIDTH)); tmp 416 drivers/usb/gadget/udc/net2272.c net2272_write(ep->dev, LOCCTL, tmp); tmp 541 drivers/usb/gadget/udc/net2272.c int tmp; tmp 560 drivers/usb/gadget/udc/net2272.c tmp = req->req.length - req->req.actual; tmp 562 drivers/usb/gadget/udc/net2272.c if (count > tmp) { tmp 563 drivers/usb/gadget/udc/net2272.c if ((tmp % ep->ep.maxpacket) != 0) { tmp 566 drivers/usb/gadget/udc/net2272.c ep->ep.name, count, tmp); tmp 569 drivers/usb/gadget/udc/net2272.c count = (tmp > 0) ? tmp : 0; tmp 705 drivers/usb/gadget/udc/net2272.c u8 tmp; tmp 741 drivers/usb/gadget/udc/net2272.c tmp = net2272_ep_read(ep, EP_STAT0); tmp 748 drivers/usb/gadget/udc/net2272.c if (!(tmp & (1 << BUFFER_EMPTY))) tmp 760 drivers/usb/gadget/udc/net2272.c if (tmp & (1 << SHORT_PACKET_TRANSFERRED_INTERRUPT)) { tmp 1098 drivers/usb/gadget/udc/net2272.c u8 tmp; tmp 1106 drivers/usb/gadget/udc/net2272.c tmp = net2272_read(dev, USBCTL0); tmp 1107 drivers/usb/gadget/udc/net2272.c if (tmp & (1 << IO_WAKEUP_ENABLE)) tmp 1130 drivers/usb/gadget/udc/net2272.c u8 tmp; tmp 1138 drivers/usb/gadget/udc/net2272.c tmp = net2272_read(dev, USBCTL0); tmp 1141 drivers/usb/gadget/udc/net2272.c tmp |= (1 << USB_DETECT_ENABLE); tmp 1143 drivers/usb/gadget/udc/net2272.c tmp &= ~(1 << USB_DETECT_ENABLE); tmp 1144 drivers/usb/gadget/udc/net2272.c net2272_write(dev, USBCTL0, tmp); tmp 1292 drivers/usb/gadget/udc/net2272.c u8 tmp; tmp 1294 drivers/usb/gadget/udc/net2272.c tmp = net2272_read(dev, LOCCTL) & 0x3f; tmp 1295 drivers/usb/gadget/udc/net2272.c tmp |= (mode << 6); tmp 1296 drivers/usb/gadget/udc/net2272.c net2272_write(dev, LOCCTL, tmp); tmp 1716 drivers/usb/gadget/udc/net2272.c int tmp = 0; tmp 1914 drivers/usb/gadget/udc/net2272.c tmp = dev->driver->setup(&dev->gadget, &u.r); tmp 1919 drivers/usb/gadget/udc/net2272.c if (tmp < 0) { tmp 1922 drivers/usb/gadget/udc/net2272.c u.r.bRequestType, u.r.bRequest, tmp); tmp 1964 drivers/usb/gadget/udc/net2272.c u8 tmp, mask; tmp 1967 drivers/usb/gadget/udc/net2272.c tmp = (1 << VBUS_INTERRUPT) | (1 << ROOT_PORT_RESET_INTERRUPT); tmp 1970 drivers/usb/gadget/udc/net2272.c if (stat & tmp) { tmp 1978 drivers/usb/gadget/udc/net2272.c net2272_write(dev, IRQSTAT1, tmp); tmp 2008 drivers/usb/gadget/udc/net2272.c stat &= ~tmp; tmp 2014 drivers/usb/gadget/udc/net2272.c tmp = (1 << SUSPEND_REQUEST_CHANGE_INTERRUPT); tmp 2015 drivers/usb/gadget/udc/net2272.c if (stat & tmp) { tmp 2016 drivers/usb/gadget/udc/net2272.c net2272_write(dev, IRQSTAT1, tmp); tmp 2028 drivers/usb/gadget/udc/net2272.c stat &= ~tmp; tmp 2301 drivers/usb/gadget/udc/net2272.c unsigned long resource, len, tmp; tmp 2340 drivers/usb/gadget/udc/net2272.c tmp = readl(dev->rdk1.plx9054_base_addr + LBRD1); tmp 2341 drivers/usb/gadget/udc/net2272.c writel((tmp & ~(3 << MEMORY_SPACE_LOCAL_BUS_WIDTH)) | W16_BIT, tmp 169 drivers/usb/gadget/udc/net2280.c u32 tmp = readl(&ep->dev->regs->pciirqenb0); tmp 172 drivers/usb/gadget/udc/net2280.c tmp |= BIT(ep->num); tmp 174 drivers/usb/gadget/udc/net2280.c tmp |= BIT(ep_bit[ep->num]); tmp 175 drivers/usb/gadget/udc/net2280.c writel(tmp, &ep->dev->regs->pciirqenb0); tmp 186 drivers/usb/gadget/udc/net2280.c u32 tmp = 0; tmp 245 drivers/usb/gadget/udc/net2280.c tmp = readl(&ep->cfg->ep_cfg); tmp 247 drivers/usb/gadget/udc/net2280.c if ((tmp & 0xf) != usb_endpoint_num(desc)) { tmp 253 drivers/usb/gadget/udc/net2280.c tmp &= ~USB3380_EP_CFG_MASK_IN; tmp 255 drivers/usb/gadget/udc/net2280.c tmp &= ~USB3380_EP_CFG_MASK_OUT; tmp 278 drivers/usb/gadget/udc/net2280.c tmp |= type << ENDPOINT_TYPE; tmp 279 drivers/usb/gadget/udc/net2280.c tmp |= desc->bEndpointAddress; tmp 281 drivers/usb/gadget/udc/net2280.c tmp |= (4 << ENDPOINT_BYTE_COUNT); tmp 282 drivers/usb/gadget/udc/net2280.c tmp |= BIT(ENDPOINT_ENABLE); tmp 283 drivers/usb/gadget/udc/net2280.c ep->is_in = (tmp & USB_DIR_IN) != 0; tmp 287 drivers/usb/gadget/udc/net2280.c tmp |= type << IN_ENDPOINT_TYPE; tmp 288 drivers/usb/gadget/udc/net2280.c tmp |= BIT(IN_ENDPOINT_ENABLE); tmp 290 drivers/usb/gadget/udc/net2280.c tmp |= type << OUT_ENDPOINT_TYPE; tmp 291 drivers/usb/gadget/udc/net2280.c tmp |= BIT(OUT_ENDPOINT_ENABLE); tmp 292 drivers/usb/gadget/udc/net2280.c tmp |= (ep->is_in << ENDPOINT_DIRECTION); tmp 295 drivers/usb/gadget/udc/net2280.c tmp |= (4 << ENDPOINT_BYTE_COUNT); tmp 297 drivers/usb/gadget/udc/net2280.c tmp |= usb_endpoint_num(desc); tmp 298 drivers/usb/gadget/udc/net2280.c tmp |= (ep->ep.maxburst << MAX_BURST_SIZE); tmp 317 drivers/usb/gadget/udc/net2280.c writel(tmp, &ep->cfg->ep_cfg); tmp 323 drivers/usb/gadget/udc/net2280.c tmp = BIT(DATA_PACKET_RECEIVED_INTERRUPT_ENABLE) | tmp 326 drivers/usb/gadget/udc/net2280.c tmp |= readl(&ep->regs->ep_irqenb); tmp 327 drivers/usb/gadget/udc/net2280.c writel(tmp, &ep->regs->ep_irqenb); tmp 329 drivers/usb/gadget/udc/net2280.c tmp = BIT((8 + ep->num)); /* completion */ tmp 330 drivers/usb/gadget/udc/net2280.c tmp |= readl(&dev->regs->pciirqenb1); tmp 331 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->regs->pciirqenb1); tmp 338 drivers/usb/gadget/udc/net2280.c tmp = BIT(SHORT_PACKET_TRANSFERRED_INTERRUPT_ENABLE); tmp 339 drivers/usb/gadget/udc/net2280.c writel(tmp, &ep->regs->ep_irqenb); tmp 345 drivers/usb/gadget/udc/net2280.c tmp = desc->bEndpointAddress; tmp 347 drivers/usb/gadget/udc/net2280.c _ep->name, tmp & 0x0f, DIR_STRING(tmp), tmp 382 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 398 drivers/usb/gadget/udc/net2280.c tmp = readl(®s->pciirqenb0); tmp 399 drivers/usb/gadget/udc/net2280.c tmp &= ~BIT(ep->num); tmp 400 drivers/usb/gadget/udc/net2280.c writel(tmp, ®s->pciirqenb0); tmp 402 drivers/usb/gadget/udc/net2280.c tmp = readl(®s->pciirqenb1); tmp 403 drivers/usb/gadget/udc/net2280.c tmp &= ~BIT((8 + ep->num)); /* completion */ tmp 404 drivers/usb/gadget/udc/net2280.c writel(tmp, ®s->pciirqenb1); tmp 412 drivers/usb/gadget/udc/net2280.c tmp = BIT(SET_NAK_OUT_PACKETS_MODE) | tmp 418 drivers/usb/gadget/udc/net2280.c tmp = BIT(CLEAR_NAK_OUT_PACKETS_MODE) | tmp 425 drivers/usb/gadget/udc/net2280.c tmp |= BIT(CLEAR_ENDPOINT_TOGGLE) | tmp 428 drivers/usb/gadget/udc/net2280.c writel(tmp, &ep->regs->ep_rsp); tmp 432 drivers/usb/gadget/udc/net2280.c tmp = BIT(FIFO_OVERFLOW) | tmp 435 drivers/usb/gadget/udc/net2280.c tmp = 0; tmp 437 drivers/usb/gadget/udc/net2280.c writel(tmp | BIT(TIMEOUT) | tmp 458 drivers/usb/gadget/udc/net2280.c u32 tmp, dmastat; tmp 483 drivers/usb/gadget/udc/net2280.c tmp = readl(®s->pciirqenb0); tmp 484 drivers/usb/gadget/udc/net2280.c tmp &= ~BIT(ep_bit[ep->num]); tmp 485 drivers/usb/gadget/udc/net2280.c writel(tmp, ®s->pciirqenb0); tmp 488 drivers/usb/gadget/udc/net2280.c tmp = readl(®s->pciirqenb1); tmp 489 drivers/usb/gadget/udc/net2280.c tmp &= ~BIT((8 + ep->num)); /* completion */ tmp 490 drivers/usb/gadget/udc/net2280.c writel(tmp, ®s->pciirqenb1); tmp 503 drivers/usb/gadget/udc/net2280.c tmp = readl(&ep->cfg->ep_cfg); tmp 505 drivers/usb/gadget/udc/net2280.c tmp &= ~USB3380_EP_CFG_MASK_IN; tmp 507 drivers/usb/gadget/udc/net2280.c tmp &= ~USB3380_EP_CFG_MASK_OUT; tmp 508 drivers/usb/gadget/udc/net2280.c writel(tmp, &ep->cfg->ep_cfg); tmp 613 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 641 drivers/usb/gadget/udc/net2280.c tmp = get_unaligned((u32 *)buf); tmp 642 drivers/usb/gadget/udc/net2280.c cpu_to_le32s(&tmp); tmp 643 drivers/usb/gadget/udc/net2280.c writel(tmp, ®s->ep_data); tmp 653 drivers/usb/gadget/udc/net2280.c tmp = count ? get_unaligned((u32 *)buf) : count; tmp 654 drivers/usb/gadget/udc/net2280.c cpu_to_le32s(&tmp); tmp 656 drivers/usb/gadget/udc/net2280.c writel(tmp, ®s->ep_data); tmp 672 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 676 drivers/usb/gadget/udc/net2280.c tmp = readl(statp); tmp 677 drivers/usb/gadget/udc/net2280.c if (tmp & BIT(NAK_OUT_PACKETS)) { tmp 679 drivers/usb/gadget/udc/net2280.c ep->ep.name, __func__, tmp); tmp 689 drivers/usb/gadget/udc/net2280.c tmp = readl(statp); tmp 690 drivers/usb/gadget/udc/net2280.c if (tmp & BIT(DATA_OUT_PING_TOKEN_INTERRUPT) && tmp 713 drivers/usb/gadget/udc/net2280.c unsigned count, tmp, is_short; tmp 722 drivers/usb/gadget/udc/net2280.c tmp = readl(&ep->regs->ep_stat); tmp 723 drivers/usb/gadget/udc/net2280.c if ((tmp & BIT(NAK_OUT_PACKETS))) tmp 725 drivers/usb/gadget/udc/net2280.c else if ((tmp & BIT(FIFO_FULL))) { tmp 739 drivers/usb/gadget/udc/net2280.c tmp = readl(&ep->regs->ep_stat); tmp 742 drivers/usb/gadget/udc/net2280.c if (count == 0 && (tmp & BIT(NAK_OUT_PACKETS)) == 0) tmp 746 drivers/usb/gadget/udc/net2280.c tmp = req->req.length - req->req.actual; tmp 747 drivers/usb/gadget/udc/net2280.c if (count > tmp) { tmp 749 drivers/usb/gadget/udc/net2280.c if ((tmp % ep->ep.maxpacket) != 0) { tmp 752 drivers/usb/gadget/udc/net2280.c ep->ep.name, count, tmp); tmp 759 drivers/usb/gadget/udc/net2280.c count = tmp; tmp 771 drivers/usb/gadget/udc/net2280.c tmp = readl(®s->ep_data); tmp 772 drivers/usb/gadget/udc/net2280.c cpu_to_le32s(&tmp); tmp 773 drivers/usb/gadget/udc/net2280.c put_unaligned(tmp, (u32 *)buf); tmp 778 drivers/usb/gadget/udc/net2280.c tmp = readl(®s->ep_data); tmp 781 drivers/usb/gadget/udc/net2280.c *buf++ = (u8) tmp; tmp 782 drivers/usb/gadget/udc/net2280.c tmp >>= 8; tmp 851 drivers/usb/gadget/udc/net2280.c unsigned int tmp = BIT(VALID_BIT) | (ep->is_in << DMA_DIRECTION); tmp 854 drivers/usb/gadget/udc/net2280.c tmp |= BIT(END_OF_CHAIN); tmp 856 drivers/usb/gadget/udc/net2280.c writel(tmp, &dma->dmacount); tmp 872 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 887 drivers/usb/gadget/udc/net2280.c tmp = readl(&ep->regs->ep_avail); tmp 888 drivers/usb/gadget/udc/net2280.c if (tmp) { tmp 893 drivers/usb/gadget/udc/net2280.c tmp = min(tmp, req->req.length); tmp 896 drivers/usb/gadget/udc/net2280.c req->td->dmacount = cpu_to_le32(req->req.length - tmp); tmp 897 drivers/usb/gadget/udc/net2280.c writel(BIT(DMA_DONE_INTERRUPT_ENABLE) | tmp, tmp 909 drivers/usb/gadget/udc/net2280.c tmp = dmactl_default; tmp 918 drivers/usb/gadget/udc/net2280.c tmp |= BIT(DMA_FIFO_VALIDATE); tmp 930 drivers/usb/gadget/udc/net2280.c start_queue(ep, tmp, req->td_dma); tmp 937 drivers/usb/gadget/udc/net2280.c dma_addr_t tmp; tmp 944 drivers/usb/gadget/udc/net2280.c tmp = ep->td_dma; tmp 946 drivers/usb/gadget/udc/net2280.c req->td_dma = tmp; tmp 1485 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 1493 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->usb->usbctl); tmp 1494 drivers/usb/gadget/udc/net2280.c if (tmp & BIT(DEVICE_REMOTE_WAKEUP_ENABLE)) tmp 1505 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 1513 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->usb->usbctl); tmp 1515 drivers/usb/gadget/udc/net2280.c tmp |= BIT(SELF_POWERED_STATUS); tmp 1518 drivers/usb/gadget/udc/net2280.c tmp &= ~BIT(SELF_POWERED_STATUS); tmp 1521 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->usb->usbctl); tmp 1530 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 1538 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->usb->usbctl); tmp 1542 drivers/usb/gadget/udc/net2280.c writel(tmp | BIT(USB_DETECT_ENABLE), &dev->usb->usbctl); tmp 1544 drivers/usb/gadget/udc/net2280.c writel(tmp & ~BIT(USB_DETECT_ENABLE), &dev->usb->usbctl); tmp 1982 drivers/usb/gadget/udc/net2280.c u32 tmp = 0, tmp_reg; tmp 1998 drivers/usb/gadget/udc/net2280.c tmp = ((0 << ENDPOINT_NUMBER) | BIT(ENDPOINT_DIRECTION) | tmp 2005 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->ep[i].cfg->ep_cfg); tmp 2008 drivers/usb/gadget/udc/net2280.c tmp = ((0 << ENDPOINT_NUMBER) | BIT(ENDPOINT_ENABLE)); tmp 2009 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->dep[1].dep_cfg); tmp 2010 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->dep[3].dep_cfg); tmp 2011 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->dep[4].dep_cfg); tmp 2012 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->dep[5].dep_cfg); tmp 2023 drivers/usb/gadget/udc/net2280.c tmp = tmp 2026 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->plregs->pl_ep_ctrl); tmp 2034 drivers/usb/gadget/udc/net2280.c tmp = (readl(&dev->plregs->pl_ep_cfg_4) | tmp 2036 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->plregs->pl_ep_cfg_4); tmp 2038 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->plregs->pl_ep_ctrl) & tmp 2040 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->plregs->pl_ep_ctrl); tmp 2063 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 2076 drivers/usb/gadget/udc/net2280.c for (tmp = 0; tmp < 4; tmp++) { tmp 2077 drivers/usb/gadget/udc/net2280.c struct net2280_ep *ep = &dev->ep[tmp + 1]; tmp 2086 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->regs->devinit) | tmp 2091 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->regs->devinit); tmp 2099 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 2114 drivers/usb/gadget/udc/net2280.c for (tmp = 0; tmp < 4; tmp++) { tmp 2115 drivers/usb/gadget/udc/net2280.c struct net2280_ep *ep = &dev->ep[tmp + 1]; tmp 2121 drivers/usb/gadget/udc/net2280.c dma = &dev->dma[tmp]; tmp 2131 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->regs->devinit) | tmp 2137 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->regs->devinit); tmp 2143 drivers/usb/gadget/udc/net2280.c for (tmp = 1; tmp < dev->n_ep; tmp++) tmp 2144 drivers/usb/gadget/udc/net2280.c list_add_tail(&dev->ep[tmp].ep.ep_list, &dev->gadget.ep_list); tmp 2157 drivers/usb/gadget/udc/net2280.c u32 tmp; tmp 2160 drivers/usb/gadget/udc/net2280.c for (tmp = 0; tmp < 7; tmp++) { tmp 2161 drivers/usb/gadget/udc/net2280.c struct net2280_ep *ep = &dev->ep[tmp]; tmp 2163 drivers/usb/gadget/udc/net2280.c ep->ep.name = ep_info_dft[tmp].name; tmp 2164 drivers/usb/gadget/udc/net2280.c ep->ep.caps = ep_info_dft[tmp].caps; tmp 2166 drivers/usb/gadget/udc/net2280.c ep->num = tmp; tmp 2168 drivers/usb/gadget/udc/net2280.c if (tmp > 0 && tmp <= 4) { tmp 2170 drivers/usb/gadget/udc/net2280.c ep->dma = &dev->dma[tmp - 1]; tmp 2173 drivers/usb/gadget/udc/net2280.c ep->regs = &dev->epregs[tmp]; tmp 2174 drivers/usb/gadget/udc/net2280.c ep->cfg = &dev->epregs[tmp]; tmp 2188 drivers/usb/gadget/udc/net2280.c for (tmp = 0; tmp < 5; tmp++) tmp 2189 drivers/usb/gadget/udc/net2280.c writel(EP_DONTUSE, &dev->dep[tmp].dep_cfg); tmp 2195 drivers/usb/gadget/udc/net2280.c u32 tmp, val; tmp 2241 drivers/usb/gadget/udc/net2280.c tmp = readl(&dev->usb_ext->usbctl2) & tmp 2243 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->usb_ext->usbctl2); tmp 2864 drivers/usb/gadget/udc/net2280.c int tmp = 0; tmp 3048 drivers/usb/gadget/udc/net2280.c tmp = dev->driver->setup(&dev->gadget, &r); tmp 3052 drivers/usb/gadget/udc/net2280.c if (tmp < 0) { tmp 3054 drivers/usb/gadget/udc/net2280.c r.bRequestType, r.bRequest, tmp); tmp 3106 drivers/usb/gadget/udc/net2280.c int tmp; tmp 3144 drivers/usb/gadget/udc/net2280.c tmp = BIT(FIFO_OVERFLOW) | tmp 3147 drivers/usb/gadget/udc/net2280.c tmp = 0; tmp 3149 drivers/usb/gadget/udc/net2280.c writel(tmp | BIT(TIMEOUT) | tmp 3172 drivers/usb/gadget/udc/net2280.c tmp = 0; tmp 3290 drivers/usb/gadget/udc/net2280.c tmp = dev->driver->setup(&dev->gadget, &u.r); tmp 3295 drivers/usb/gadget/udc/net2280.c if (tmp < 0) { tmp 3298 drivers/usb/gadget/udc/net2280.c u.r.bRequestType, u.r.bRequest, tmp); tmp 3358 drivers/usb/gadget/udc/net2280.c u32 tmp, num, mask, scratch; tmp 3361 drivers/usb/gadget/udc/net2280.c tmp = BIT(VBUS_INTERRUPT) | BIT(ROOT_PORT_RESET_INTERRUPT); tmp 3369 drivers/usb/gadget/udc/net2280.c if (stat & tmp) { tmp 3377 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->regs->irqstat1); tmp 3407 drivers/usb/gadget/udc/net2280.c stat &= ~tmp; tmp 3419 drivers/usb/gadget/udc/net2280.c tmp = BIT(SUSPEND_REQUEST_CHANGE_INTERRUPT); tmp 3420 drivers/usb/gadget/udc/net2280.c if (stat & tmp) { tmp 3421 drivers/usb/gadget/udc/net2280.c writel(tmp, &dev->regs->irqstat1); tmp 3434 drivers/usb/gadget/udc/net2280.c stat &= ~tmp; tmp 3464 drivers/usb/gadget/udc/net2280.c tmp = BIT(num); tmp 3465 drivers/usb/gadget/udc/net2280.c if ((tmp & scratch) == 0) tmp 3467 drivers/usb/gadget/udc/net2280.c scratch ^= tmp; tmp 3476 drivers/usb/gadget/udc/net2280.c tmp = readl(&dma->dmastat); tmp 3477 drivers/usb/gadget/udc/net2280.c writel(tmp, &dma->dmastat); tmp 3483 drivers/usb/gadget/udc/net2280.c (tmp & BIT(DMA_TRANSACTION_DONE_INTERRUPT))) tmp 3487 drivers/usb/gadget/udc/net2280.c if (!(tmp & BIT(DMA_TRANSACTION_DONE_INTERRUPT))) { tmp 3489 drivers/usb/gadget/udc/net2280.c ep->ep.name, tmp); tmp 3508 drivers/usb/gadget/udc/net2280.c tmp = readl(&dma->dmactl); tmp 336 drivers/usb/gadget/udc/net2280.h u32 tmp = readl(&ep->cfg->ep_cfg) & tmp 338 drivers/usb/gadget/udc/net2280.h writel(tmp | (count << EP_FIFO_BYTE_COUNT), &ep->cfg->ep_cfg); tmp 352 drivers/usb/gadget/udc/net2280.h u32 tmp; tmp 354 drivers/usb/gadget/udc/net2280.h tmp = readl(&ep->regs->ep_stat); tmp 355 drivers/usb/gadget/udc/net2280.h if ((tmp & BIT(NAK_OUT_PACKETS)) != 0) tmp 2227 drivers/usb/gadget/udc/omap_udc.c u32 tmp; tmp 2231 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readl(OTG_REV); tmp 2235 drivers/usb/gadget/udc/omap_udc.c tmp >> 4, tmp & 0xf, ctrl_name, trans); tmp 2236 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(OTG_SYSCON_1); tmp 2238 drivers/usb/gadget/udc/omap_udc.c FOURBITS "\n", tmp, tmp 2239 drivers/usb/gadget/udc/omap_udc.c trx_mode(USB2_TRX_MODE(tmp), trans & CONF_USB2_UNI_R), tmp 2240 drivers/usb/gadget/udc/omap_udc.c trx_mode(USB1_TRX_MODE(tmp), trans & CONF_USB1_UNI_R), tmp 2241 drivers/usb/gadget/udc/omap_udc.c (USB0_TRX_MODE(tmp) == 0 && !cpu_is_omap1710()) tmp 2243 drivers/usb/gadget/udc/omap_udc.c : trx_mode(USB0_TRX_MODE(tmp), 1), tmp 2244 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_IDLE_EN) ? " !otg" : "", tmp 2245 drivers/usb/gadget/udc/omap_udc.c (tmp & HST_IDLE_EN) ? " !host" : "", tmp 2246 drivers/usb/gadget/udc/omap_udc.c (tmp & DEV_IDLE_EN) ? " !dev" : "", tmp 2247 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_RESET_DONE) ? " reset_done" : " reset_active"); tmp 2248 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readl(OTG_SYSCON_2); tmp 2250 drivers/usb/gadget/udc/omap_udc.c " b_ase_brst=%d hmc=%d\n", tmp, tmp 2251 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_EN) ? " otg_en" : "", tmp 2252 drivers/usb/gadget/udc/omap_udc.c (tmp & USBX_SYNCHRO) ? " synchro" : "", tmp 2254 drivers/usb/gadget/udc/omap_udc.c (tmp & SRP_DATA) ? " srp_data" : "", tmp 2255 drivers/usb/gadget/udc/omap_udc.c (tmp & SRP_VBUS) ? " srp_vbus" : "", tmp 2256 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_PADEN) ? " otg_paden" : "", tmp 2257 drivers/usb/gadget/udc/omap_udc.c (tmp & HMC_PADEN) ? " hmc_paden" : "", tmp 2258 drivers/usb/gadget/udc/omap_udc.c (tmp & UHOST_EN) ? " uhost_en" : "", tmp 2259 drivers/usb/gadget/udc/omap_udc.c (tmp & HMC_TLLSPEED) ? " tllspeed" : "", tmp 2260 drivers/usb/gadget/udc/omap_udc.c (tmp & HMC_TLLATTACH) ? " tllattach" : "", tmp 2261 drivers/usb/gadget/udc/omap_udc.c B_ASE_BRST(tmp), tmp 2262 drivers/usb/gadget/udc/omap_udc.c OTG_HMC(tmp)); tmp 2263 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readl(OTG_CTRL); tmp 2264 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "otg_ctrl %06x" EIGHTBITS EIGHTBITS "%s\n", tmp, tmp 2265 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_ASESSVLD) ? " asess" : "", tmp 2266 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_BSESSEND) ? " bsess_end" : "", tmp 2267 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_BSESSVLD) ? " bsess" : "", tmp 2268 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_VBUSVLD) ? " vbus" : "", tmp 2269 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_ID) ? " id" : "", tmp 2270 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_DRIVER_SEL) ? " DEVICE" : " HOST", tmp 2271 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_A_SETB_HNPEN) ? " a_setb_hnpen" : "", tmp 2272 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_A_BUSREQ) ? " a_bus" : "", tmp 2273 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_B_HNPEN) ? " b_hnpen" : "", tmp 2274 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_B_BUSREQ) ? " b_bus" : "", tmp 2275 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_BUSDROP) ? " busdrop" : "", tmp 2276 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_PULLDOWN) ? " down" : "", tmp 2277 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_PULLUP) ? " up" : "", tmp 2278 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_DRV_VBUS) ? " drv" : "", tmp 2279 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_PD_VBUS) ? " pd_vb" : "", tmp 2280 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_PU_VBUS) ? " pu_vb" : "", tmp 2281 drivers/usb/gadget/udc/omap_udc.c (tmp & OTG_PU_ID) ? " pu_id" : "" tmp 2283 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(OTG_IRQ_EN); tmp 2284 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "otg_irq_en %04x" "\n", tmp); tmp 2285 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(OTG_IRQ_SRC); tmp 2286 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "otg_irq_src %04x" "\n", tmp); tmp 2287 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(OTG_OUTCTRL); tmp 2288 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "otg_outctrl %04x" "\n", tmp); tmp 2289 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(OTG_TEST); tmp 2290 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "otg_test %04x" "\n", tmp); tmp 2296 drivers/usb/gadget/udc/omap_udc.c u32 tmp; tmp 2310 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_REV) & 0xff; tmp 2314 drivers/usb/gadget/udc/omap_udc.c tmp >> 4, tmp & 0xf, tmp 2331 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_SYSCON1); tmp 2332 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "\nsyscon1 %04x" EIGHTBITS "\n", tmp, tmp 2333 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_CFG_LOCK) ? " cfg_lock" : "", tmp 2334 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_DATA_ENDIAN) ? " data_endian" : "", tmp 2335 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_DMA_ENDIAN) ? " dma_endian" : "", tmp 2336 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_NAK_EN) ? " nak" : "", tmp 2337 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_AUTODECODE_DIS) ? " autodecode_dis" : "", tmp 2338 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_SELF_PWR) ? " self_pwr" : "", tmp 2339 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_SOFF_DIS) ? " soff_dis" : "", tmp 2340 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_PULLUP_EN) ? " PULLUP" : ""); tmp 2344 drivers/usb/gadget/udc/omap_udc.c if (!(tmp & UDC_PULLUP_EN)) { tmp 2350 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_DEVSTAT); tmp 2351 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "devstat %04x" EIGHTBITS "%s%s\n", tmp, tmp 2352 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_B_HNP_ENABLE) ? " b_hnp" : "", tmp 2353 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_A_HNP_SUPPORT) ? " a_hnp" : "", tmp 2354 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_A_ALT_HNP_SUPPORT) ? " a_alt_hnp" : "", tmp 2355 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_R_WK_OK) ? " r_wk_ok" : "", tmp 2356 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_USB_RESET) ? " usb_reset" : "", tmp 2357 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_SUS) ? " SUS" : "", tmp 2358 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_CFG) ? " CFG" : "", tmp 2359 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_ADD) ? " ADD" : "", tmp 2360 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_DEF) ? " DEF" : "", tmp 2361 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_ATT) ? " ATT" : ""); tmp 2363 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_IRQ_EN); tmp 2364 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "irq_en %04x" FOURBITS "%s\n", tmp, tmp 2365 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_SOF_IE) ? " sof" : "", tmp 2366 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_EPN_RX_IE) ? " epn_rx" : "", tmp 2367 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_EPN_TX_IE) ? " epn_tx" : "", tmp 2368 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_DS_CHG_IE) ? " ds_chg" : "", tmp 2369 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_EP0_IE) ? " ep0" : ""); tmp 2370 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_IRQ_SRC); tmp 2371 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "irq_src %04x" EIGHTBITS "%s%s\n", tmp, tmp 2372 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_TXN_DONE) ? " txn_done" : "", tmp 2373 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_RXN_CNT) ? " rxn_cnt" : "", tmp 2374 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_RXN_EOT) ? " rxn_eot" : "", tmp 2375 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_IRQ_SOF) ? " sof" : "", tmp 2376 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_EPN_RX) ? " epn_rx" : "", tmp 2377 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_EPN_TX) ? " epn_tx" : "", tmp 2378 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_DS_CHG) ? " ds_chg" : "", tmp 2379 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_SETUP) ? " setup" : "", tmp 2380 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_EP0_RX) ? " ep0out" : "", tmp 2381 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_EP0_TX) ? " ep0in" : ""); tmp 2385 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_DMA_IRQ_EN); tmp 2386 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "dma_irq_en %04x%s" EIGHTBITS "\n", tmp, tmp 2387 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_TX_DONE_IE(3)) ? " tx2_done" : "", tmp 2388 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_RX_CNT_IE(3)) ? " rx2_cnt" : "", tmp 2389 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_RX_EOT_IE(3)) ? " rx2_eot" : "", tmp 2391 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_TX_DONE_IE(2)) ? " tx1_done" : "", tmp 2392 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_RX_CNT_IE(2)) ? " rx1_cnt" : "", tmp 2393 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_RX_EOT_IE(2)) ? " rx1_eot" : "", tmp 2395 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_TX_DONE_IE(1)) ? " tx0_done" : "", tmp 2396 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_RX_CNT_IE(1)) ? " rx0_cnt" : "", tmp 2397 drivers/usb/gadget/udc/omap_udc.c (tmp & UDC_RX_EOT_IE(1)) ? " rx0_eot" : ""); tmp 2399 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_RXDMA_CFG); tmp 2400 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "rxdma_cfg %04x\n", tmp); tmp 2401 drivers/usb/gadget/udc/omap_udc.c if (tmp) { tmp 2403 drivers/usb/gadget/udc/omap_udc.c if ((tmp & (0x0f << (i * 4))) == 0) tmp 2409 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_TXDMA_CFG); tmp 2410 drivers/usb/gadget/udc/omap_udc.c seq_printf(s, "txdma_cfg %04x\n", tmp); tmp 2411 drivers/usb/gadget/udc/omap_udc.c if (tmp) { tmp 2413 drivers/usb/gadget/udc/omap_udc.c if (!(tmp & (0x0f << (i * 4)))) tmp 2421 drivers/usb/gadget/udc/omap_udc.c tmp = omap_readw(UDC_DEVSTAT); tmp 2422 drivers/usb/gadget/udc/omap_udc.c if (tmp & UDC_ATT) { tmp 2424 drivers/usb/gadget/udc/omap_udc.c if (tmp & UDC_ADD) { tmp 2618 drivers/usb/gadget/udc/omap_udc.c unsigned tmp, buf; tmp 2653 drivers/usb/gadget/udc/omap_udc.c for (tmp = 1; tmp < 15; tmp++) { tmp 2654 drivers/usb/gadget/udc/omap_udc.c omap_writew(0, UDC_EP_RX(tmp)); tmp 2655 drivers/usb/gadget/udc/omap_udc.c omap_writew(0, UDC_EP_TX(tmp)); tmp 2802 drivers/usb/gadget/udc/omap_udc.c u32 tmp = omap_readl(FUNC_MUX_CTRL_0); tmp 2803 drivers/usb/gadget/udc/omap_udc.c tmp &= ~VBUS_CTRL_1510; tmp 2804 drivers/usb/gadget/udc/omap_udc.c omap_writel(tmp, FUNC_MUX_CTRL_0); tmp 2805 drivers/usb/gadget/udc/omap_udc.c tmp |= VBUS_MODE_1510; tmp 2806 drivers/usb/gadget/udc/omap_udc.c tmp &= ~VBUS_CTRL_1510; tmp 2807 drivers/usb/gadget/udc/omap_udc.c omap_writel(tmp, FUNC_MUX_CTRL_0); tmp 1241 drivers/usb/gadget/udc/pxa25x_udc.c u32 tmp; tmp 1259 drivers/usb/gadget/udc/pxa25x_udc.c tmp = udc_get_reg(dev, UDCCR); tmp 1261 drivers/usb/gadget/udc/pxa25x_udc.c "udccr %02X =%s%s%s%s%s%s%s%s\n", tmp, tmp 1262 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCR_REM) ? " rem" : "", tmp 1263 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCR_RSTIR) ? " rstir" : "", tmp 1264 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCR_SRM) ? " srm" : "", tmp 1265 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCR_SUSIR) ? " susir" : "", tmp 1266 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCR_RESIR) ? " resir" : "", tmp 1267 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCR_RSM) ? " rsm" : "", tmp 1268 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCR_UDA) ? " uda" : "", tmp 1269 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCR_UDE) ? " ude" : ""); tmp 1271 drivers/usb/gadget/udc/pxa25x_udc.c tmp = udc_ep0_get_UDCCS(dev); tmp 1273 drivers/usb/gadget/udc/pxa25x_udc.c "udccs0 %02X =%s%s%s%s%s%s%s%s\n", tmp, tmp 1274 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCS0_SA) ? " sa" : "", tmp 1275 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCS0_RNE) ? " rne" : "", tmp 1276 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCS0_FST) ? " fst" : "", tmp 1277 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCS0_SST) ? " sst" : "", tmp 1278 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCS0_DRWF) ? " dwrf" : "", tmp 1279 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCS0_FTF) ? " ftf" : "", tmp 1280 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCS0_IPR) ? " ipr" : "", tmp 1281 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCS0_OPR) ? " opr" : ""); tmp 1284 drivers/usb/gadget/udc/pxa25x_udc.c tmp = udc_get_reg(dev, UDCCFR); tmp 1286 drivers/usb/gadget/udc/pxa25x_udc.c "udccfr %02X =%s%s\n", tmp, tmp 1287 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCFR_AREN) ? " aren" : "", tmp 1288 drivers/usb/gadget/udc/pxa25x_udc.c (tmp & UDCCFR_ACM) ? " acm" : ""); tmp 1310 drivers/usb/gadget/udc/pxa25x_udc.c tmp = udc_ep_get_UDCCS(&dev->ep[i]); tmp 1314 drivers/usb/gadget/udc/pxa25x_udc.c "pio", tmp, ep->pio_irqs); tmp 1857 drivers/usb/gadget/udc/pxa25x_udc.c u32 udccs, tmp; tmp 1871 drivers/usb/gadget/udc/pxa25x_udc.c tmp = UDCCS_BI_TUR; tmp 1873 drivers/usb/gadget/udc/pxa25x_udc.c tmp |= UDCCS_BI_SST; tmp 1874 drivers/usb/gadget/udc/pxa25x_udc.c tmp &= udccs; tmp 1875 drivers/usb/gadget/udc/pxa25x_udc.c if (likely (tmp)) tmp 1876 drivers/usb/gadget/udc/pxa25x_udc.c udc_ep_set_UDCCS(ep, tmp); tmp 1882 drivers/usb/gadget/udc/pxa25x_udc.c tmp = UDCCS_BO_SST | UDCCS_BO_DME; tmp 1884 drivers/usb/gadget/udc/pxa25x_udc.c tmp = UDCCS_IO_ROF | UDCCS_IO_DME; tmp 1885 drivers/usb/gadget/udc/pxa25x_udc.c tmp &= udccs; tmp 1886 drivers/usb/gadget/udc/pxa25x_udc.c if (likely(tmp)) tmp 1887 drivers/usb/gadget/udc/pxa25x_udc.c udc_ep_set_UDCCS(ep, tmp); tmp 1984 drivers/usb/gadget/udc/pxa25x_udc.c u32 tmp = 1 << i; tmp 1986 drivers/usb/gadget/udc/pxa25x_udc.c if (i && (usir0 & tmp)) { tmp 1989 drivers/usb/gadget/udc/pxa25x_udc.c udc_get_reg(dev, USIR0) | tmp); tmp 1993 drivers/usb/gadget/udc/pxa25x_udc.c if (usir1 & tmp) { tmp 1996 drivers/usb/gadget/udc/pxa25x_udc.c udc_get_reg(dev, USIR1) | tmp); tmp 201 drivers/usb/gadget/udc/pxa25x_udc.h u32 tmp; tmp 209 drivers/usb/gadget/udc/pxa25x_udc.h tmp = UDCCFR; tmp 210 drivers/usb/gadget/udc/pxa25x_udc.h DMSG("udccfr %02X =%s%s\n", tmp, tmp 211 drivers/usb/gadget/udc/pxa25x_udc.h (tmp & UDCCFR_AREN) ? " aren" : "", tmp 212 drivers/usb/gadget/udc/pxa25x_udc.h (tmp & UDCCFR_ACM) ? " acm" : ""); tmp 93 drivers/usb/gadget/udc/pxa27x_udc.c u32 tmp; tmp 105 drivers/usb/gadget/udc/pxa27x_udc.c tmp = udc_readl(udc, UDCCR); tmp 108 drivers/usb/gadget/udc/pxa27x_udc.c tmp, tmp 109 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_OEN) ? " oen":"", tmp 110 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_AALTHNP) ? " aalthnp":"", tmp 111 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_AHNP) ? " rem" : "", tmp 112 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_BHNP) ? " rstir" : "", tmp 113 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_DWRE) ? " dwre" : "", tmp 114 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_SMAC) ? " smac" : "", tmp 115 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_EMCE) ? " emce" : "", tmp 116 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_UDR) ? " udr" : "", tmp 117 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_UDA) ? " uda" : "", tmp 118 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_UDE) ? " ude" : "", tmp 119 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_ACN) >> UDCCR_ACN_S, tmp 120 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_AIN) >> UDCCR_AIN_S, tmp 121 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCR_AAISN) >> UDCCR_AAISN_S); tmp 174 drivers/usb/gadget/udc/pxa27x_udc.c u32 tmp; tmp 180 drivers/usb/gadget/udc/pxa27x_udc.c tmp = udc_ep_readl(ep, UDCCSR); tmp 182 drivers/usb/gadget/udc/pxa27x_udc.c tmp, tmp 183 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCSR0_SA) ? " sa" : "", tmp 184 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCSR0_RNE) ? " rne" : "", tmp 185 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCSR0_FST) ? " fst" : "", tmp 186 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCSR0_SST) ? " sst" : "", tmp 187 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCSR0_DME) ? " dme" : "", tmp 188 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCSR0_IPR) ? " ipr" : "", tmp 189 drivers/usb/gadget/udc/pxa27x_udc.c (tmp & UDCCSR0_OPC) ? " opc" : ""); tmp 192 drivers/usb/gadget/udc/pxa27x_udc.c tmp = i? udc_ep_readl(ep, UDCCR) : udc_readl(udc, UDCCR); tmp 198 drivers/usb/gadget/udc/pxa27x_udc.c tmp, udc_ep_readl(ep, UDCCSR), tmp 53 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 55 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, INTENB0); tmp 59 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_write(r8a66597, tmp, INTENB0); tmp 65 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 67 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, INTENB0); tmp 71 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_write(r8a66597, tmp, INTENB0); tmp 235 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 239 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, DCPCFG); tmp 240 drivers/usb/gadget/udc/r8a66597-udc.c if ((tmp & R8A66597_CNTMD) != 0) tmp 243 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, DCPMAXP); tmp 244 drivers/usb/gadget/udc/r8a66597-udc.c size = tmp & MAXP; tmp 248 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, PIPECFG); tmp 249 drivers/usb/gadget/udc/r8a66597-udc.c if ((tmp & R8A66597_CNTMD) != 0) { tmp 250 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, PIPEBUF); tmp 251 drivers/usb/gadget/udc/r8a66597-udc.c size = ((tmp >> 10) + 1) * 64; tmp 253 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, PIPEMAXP); tmp 254 drivers/usb/gadget/udc/r8a66597-udc.c size = tmp & MXPS; tmp 272 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp, mask, loop; tmp 285 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, fifosel); tmp 293 drivers/usb/gadget/udc/r8a66597-udc.c } while ((tmp & mask) != loop); tmp 589 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 591 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, fifosel) & CURPIPE; tmp 592 drivers/usb/gadget/udc/r8a66597-udc.c if (tmp == pipenum) tmp 600 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp, toggle; tmp 604 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, PIPECFG) & R8A66597_BFRE; tmp 605 drivers/usb/gadget/udc/r8a66597-udc.c if ((enable && tmp) || (!enable && !tmp)) tmp 702 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 717 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, ep->fifoctr); tmp 718 drivers/usb/gadget/udc/r8a66597-udc.c if (unlikely((tmp & FRDY) == 0)) tmp 883 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 886 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, SYSCFG0); tmp 887 drivers/usb/gadget/udc/r8a66597-udc.c if (!(tmp & XCKE)) tmp 938 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 950 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, ep->fifoctr); tmp 958 drivers/usb/gadget/udc/r8a66597-udc.c } while ((tmp & FRDY) == 0); tmp 992 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 1000 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, ep->fifoctr); tmp 1001 drivers/usb/gadget/udc/r8a66597-udc.c if (unlikely((tmp & FRDY) == 0)) { tmp 1041 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 1050 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, ep->fifoctr); tmp 1051 drivers/usb/gadget/udc/r8a66597-udc.c if (unlikely((tmp & FRDY) == 0)) { tmp 1060 drivers/usb/gadget/udc/r8a66597-udc.c rcv_len = tmp & DTLN; tmp 1127 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 1144 drivers/usb/gadget/udc/r8a66597-udc.c tmp = control_reg_get(r8a66597, pipenum); tmp 1145 drivers/usb/gadget/udc/r8a66597-udc.c if ((tmp & INBUFM) == 0) { tmp 1241 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 1251 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, INTSTS0) & CTSQ; tmp 1253 drivers/usb/gadget/udc/r8a66597-udc.c } while (tmp != CS_IDST || timeout-- > 0); tmp 1255 drivers/usb/gadget/udc/r8a66597-udc.c if (tmp == CS_IDST) tmp 1521 drivers/usb/gadget/udc/r8a66597-udc.c u16 tmp; tmp 1524 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, SYSCFG0); tmp 1526 drivers/usb/gadget/udc/r8a66597-udc.c tmp = r8a66597_read(r8a66597, INTSTS0) & VBSTS; tmp 1527 drivers/usb/gadget/udc/r8a66597-udc.c if (tmp == r8a66597->old_vbus) { tmp 1530 drivers/usb/gadget/udc/r8a66597-udc.c if (tmp == VBSTS) tmp 1540 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597->old_vbus = tmp; tmp 182 drivers/usb/gadget/udc/r8a66597-udc.h u16 tmp; tmp 183 drivers/usb/gadget/udc/r8a66597-udc.h tmp = r8a66597_read(r8a66597, offset); tmp 184 drivers/usb/gadget/udc/r8a66597-udc.h tmp = tmp & (~pat); tmp 185 drivers/usb/gadget/udc/r8a66597-udc.h tmp = tmp | val; tmp 186 drivers/usb/gadget/udc/r8a66597-udc.h r8a66597_write(r8a66597, tmp, offset); tmp 1084 drivers/usb/gadget/udc/renesas_usb3.c u32 tmp = 0; tmp 1102 drivers/usb/gadget/udc/renesas_usb3.c tmp |= buf[i] << (8 * i); tmp 1103 drivers/usb/gadget/udc/renesas_usb3.c usb3_write(usb3, tmp, fifo_reg); tmp 1130 drivers/usb/gadget/udc/renesas_usb3.c u32 tmp = 0; tmp 1146 drivers/usb/gadget/udc/renesas_usb3.c tmp = usb3_read(usb3, fifo_reg); tmp 1148 drivers/usb/gadget/udc/renesas_usb3.c buf[i] = (tmp >> (8 * i)) & 0xff; tmp 268 drivers/usb/gadget/udc/s3c2410_udc.c int tmp; tmp 270 drivers/usb/gadget/udc/s3c2410_udc.c tmp = udc_read(S3C2410_UDC_OUT_FIFO_CNT2_REG) << 8; tmp 271 drivers/usb/gadget/udc/s3c2410_udc.c tmp |= udc_read(S3C2410_UDC_OUT_FIFO_CNT1_REG); tmp 272 drivers/usb/gadget/udc/s3c2410_udc.c return tmp; tmp 588 drivers/usb/gadget/udc/s3c2410_udc.c int len, ret, tmp; tmp 637 drivers/usb/gadget/udc/s3c2410_udc.c tmp = crq->wValue & 0x7F; tmp 638 drivers/usb/gadget/udc/s3c2410_udc.c dev->address = tmp; tmp 639 drivers/usb/gadget/udc/s3c2410_udc.c udc_write((tmp | S3C2410_UDC_FUNCADDR_UPDATE), tmp 960 drivers/usb/gadget/udc/s3c2410_udc.c u32 tmp = 1 << i; tmp 961 drivers/usb/gadget/udc/s3c2410_udc.c if (usbd_status & tmp) { tmp 965 drivers/usb/gadget/udc/s3c2410_udc.c udc_write(tmp, S3C2410_UDC_EP_INT_REG); tmp 1018 drivers/usb/gadget/udc/s3c2410_udc.c u32 max, tmp; tmp 1079 drivers/usb/gadget/udc/s3c2410_udc.c tmp = desc->bEndpointAddress; tmp 1081 drivers/usb/gadget/udc/s3c2410_udc.c _ep->name, ep->num, tmp, tmp 1392 drivers/usb/gadget/udc/s3c2410_udc.c int tmp; tmp 1396 drivers/usb/gadget/udc/s3c2410_udc.c tmp = udc_read(S3C2410_UDC_FRAME_NUM2_REG) << 8; tmp 1397 drivers/usb/gadget/udc/s3c2410_udc.c tmp |= udc_read(S3C2410_UDC_FRAME_NUM1_REG); tmp 1398 drivers/usb/gadget/udc/s3c2410_udc.c return tmp; tmp 225 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 228 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_BIT(UDC_DEVINT_SVC) | tmp 236 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->irqmsk); tmp 248 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 253 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ep_irqmsk); tmp 255 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(UDC_EPINT_IN_EP0) tmp 257 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ep_irqmsk); tmp 265 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 270 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->irqmsk); tmp 273 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(UDC_DEVINT_SI) tmp 278 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->irqmsk); tmp 288 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 301 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[i].regs->bufin_framenum); tmp 302 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_GETBITS(tmp, UDC_EPIN_BUFF_SIZE); tmp 303 drivers/usb/gadget/udc/snps_udc_core.c ep->txfifo += tmp; tmp 329 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 354 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[ep->num].regs->ctl); tmp 355 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_EPCTL_ET); tmp 356 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[ep->num].regs->ctl); tmp 360 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[ep->num].regs->bufout_maxpkt); tmp 361 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, maxpacket, UDC_EP_MAX_PKT_SIZE); tmp 363 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[ep->num].regs->bufout_maxpkt); tmp 372 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[ep->num].regs->bufin_framenum); tmp 374 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS( tmp 375 drivers/usb/gadget/udc/snps_udc_core.c tmp, tmp 379 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[ep->num].regs->bufin_framenum); tmp 385 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 386 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_F); tmp 387 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 395 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->csr->ne[ep->num - UDC_CSR_EP_OUT_IX_OFS]); tmp 396 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, maxpacket, tmp 398 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->csr->ne[ep->num - UDC_CSR_EP_OUT_IX_OFS]); tmp 411 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->csr->ne[udc_csr_epix]); tmp 413 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, maxpacket, UDC_CSR_NE_MAX_PKT); tmp 415 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, desc->bEndpointAddress, UDC_CSR_NE_NUM); tmp 417 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, ep->in, UDC_CSR_NE_DIR); tmp 419 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_CSR_NE_TYPE); tmp 421 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, ep->dev->cur_config, UDC_CSR_NE_CFG); tmp 423 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, ep->dev->cur_intf, UDC_CSR_NE_INTF); tmp 425 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, ep->dev->cur_alt, UDC_CSR_NE_ALT); tmp 427 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->csr->ne[udc_csr_epix]); tmp 430 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ep_irqmsk); tmp 431 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(ep->num); tmp 432 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ep_irqmsk); tmp 439 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 440 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 441 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 445 drivers/usb/gadget/udc/snps_udc_core.c tmp = desc->bEndpointAddress; tmp 455 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 464 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 465 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_SNAK); tmp 466 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 470 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(®s->ep_irqmsk); tmp 471 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(ep->num); tmp 472 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, ®s->ep_irqmsk); tmp 476 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 477 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(UDC_EPCTL_P); tmp 478 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 480 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->sts); tmp 481 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPSTS_IN); tmp 482 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->sts); tmp 485 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 486 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_F); tmp 487 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 701 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 711 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(dev->rxfifo); tmp 713 drivers/usb/gadget/udc/snps_udc_core.c *(buf + (i<<2) + j) = (u8)(tmp & UDC_BYTE_MASK); tmp 714 drivers/usb/gadget/udc/snps_udc_core.c tmp = tmp >> UDC_BITS_PER_BYTE; tmp 880 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 952 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 953 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 954 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 1038 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1047 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); tmp 1048 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCTL_RDE); tmp 1049 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 1062 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1110 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); tmp 1111 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCTL_CSR_DONE); tmp 1112 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 1118 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 1119 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 1120 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 1149 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); tmp 1150 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(UDC_DEVCTL_RDE); tmp 1151 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 1170 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 1171 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 1172 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 1179 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ep_irqmsk); tmp 1180 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(ep->num); tmp 1181 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ep_irqmsk); tmp 1185 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ep_irqmsk); tmp 1186 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(ep->num); tmp 1187 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ep_irqmsk); tmp 1279 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1282 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&udc->regs->ctl); tmp 1283 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp & AMD_UNMASK_BIT(UDC_DEVCTL_RDE), tmp 1298 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &udc->regs->ctl); tmp 1314 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1339 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 1340 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_S); tmp 1341 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 1358 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 1360 drivers/usb/gadget/udc/snps_udc_core.c tmp = tmp & AMD_CLEAR_BIT(UDC_EPCTL_S); tmp 1362 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 1363 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 1399 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1405 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); tmp 1406 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCTL_RES); tmp 1407 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 1408 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_CLEAR_BIT(UDC_DEVCTL_RES); tmp 1409 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 1463 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1478 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); tmp 1479 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(UDC_DEVCTL_RDE); tmp 1480 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(UDC_DEVCTL_TDE); tmp 1481 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 1484 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->cfg); tmp 1485 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCFG_CSR_PRG); tmp 1487 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCFG_SP); tmp 1489 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCFG_RWKP); tmp 1490 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->cfg); tmp 1502 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1516 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->cfg); tmp 1518 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_DEVCFG_SPD_FS, UDC_DEVCFG_SPD); tmp 1520 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_DEVCFG_SPD_HS, UDC_DEVCFG_SPD); tmp 1521 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->cfg); tmp 1530 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1536 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->sts); tmp 1537 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_GETBITS(tmp, UDC_DEVSTS_ENUM_SPEED); tmp 1538 drivers/usb/gadget/udc/snps_udc_core.c if (tmp == UDC_DEVSTS_ENUM_SPEED_HIGH) tmp 1540 drivers/usb/gadget/udc/snps_udc_core.c else if (tmp == UDC_DEVSTS_ENUM_SPEED_FULL) tmp 1544 drivers/usb/gadget/udc/snps_udc_core.c for (tmp = 0; tmp < UDC_EP_NUM; tmp++) { tmp 1545 drivers/usb/gadget/udc/snps_udc_core.c ep = &dev->ep[tmp]; tmp 1547 drivers/usb/gadget/udc/snps_udc_core.c ep->ep.name = ep_info[tmp].name; tmp 1548 drivers/usb/gadget/udc/snps_udc_core.c ep->ep.caps = ep_info[tmp].caps; tmp 1549 drivers/usb/gadget/udc/snps_udc_core.c ep->num = tmp; tmp 1554 drivers/usb/gadget/udc/snps_udc_core.c if (tmp < UDC_EPIN_NUM) { tmp 1562 drivers/usb/gadget/udc/snps_udc_core.c ep->regs = &dev->ep_regs[tmp]; tmp 1580 drivers/usb/gadget/udc/snps_udc_core.c if (tmp != UDC_EP0IN_IX && tmp != UDC_EP0OUT_IX tmp 1581 drivers/usb/gadget/udc/snps_udc_core.c && tmp > UDC_EPIN_NUM) { tmp 1583 drivers/usb/gadget/udc/snps_udc_core.c reg = readl(&dev->ep[tmp].regs->ctl); tmp 1585 drivers/usb/gadget/udc/snps_udc_core.c writel(reg, &dev->ep[tmp].regs->ctl); tmp 1586 drivers/usb/gadget/udc/snps_udc_core.c dev->ep[tmp].naking = 1; tmp 1665 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1676 drivers/usb/gadget/udc/snps_udc_core.c for (tmp = 0; tmp < UDC_EP_NUM; tmp++) tmp 1677 drivers/usb/gadget/udc/snps_udc_core.c empty_req_queue(&dev->ep[tmp]); tmp 1696 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->cfg); tmp 1697 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_DEVCFG_SPD_FS, UDC_DEVCFG_SPD); tmp 1698 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->cfg); tmp 1733 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1744 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&udc->regs->ctl); tmp 1745 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCTL_RDE); tmp 1746 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &udc->regs->ctl); tmp 1783 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1786 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 1788 drivers/usb/gadget/udc/snps_udc_core.c if (!(tmp & AMD_BIT(UDC_EPCTL_S))) { tmp 1802 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 1803 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 1847 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1852 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 1853 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_F); tmp 1854 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 1861 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->bufin_framenum); tmp 1863 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_FS_EPIN0_BUFF_SIZE, tmp 1866 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_EPIN0_BUFF_SIZE, tmp 1868 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->bufin_framenum); tmp 1871 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->bufout_maxpkt); tmp 1873 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_FS_EP0IN_MAX_PKT_SIZE, tmp 1876 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_EP0IN_MAX_PKT_SIZE, tmp 1878 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->bufout_maxpkt); tmp 1881 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->bufout_maxpkt); tmp 1883 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_FS_EP0OUT_MAX_PKT_SIZE, tmp 1886 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_EP0OUT_MAX_PKT_SIZE, tmp 1888 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->bufout_maxpkt); tmp 1891 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->csr->ne[0]); tmp 1893 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_FS_EP0OUT_MAX_PKT_SIZE, tmp 1896 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, UDC_EP0OUT_MAX_PKT_SIZE, tmp 1898 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->csr->ne[0]); tmp 1917 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); tmp 1918 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCTL_MODE) tmp 1922 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCTL_BF); tmp 1924 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCTL_DU); tmp 1925 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 1929 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 1930 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 1931 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 1936 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl); tmp 1937 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 1938 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->ctl); tmp 1960 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 1975 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); tmp 1976 drivers/usb/gadget/udc/snps_udc_core.c tmp = tmp & AMD_CLEAR_BIT(UDC_DEVCTL_SD); tmp 1977 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 1990 drivers/usb/gadget/udc/snps_udc_core.c int tmp; tmp 1995 drivers/usb/gadget/udc/snps_udc_core.c for (tmp = 0; tmp < UDC_EP_NUM; tmp++) tmp 1996 drivers/usb/gadget/udc/snps_udc_core.c empty_req_queue(&dev->ep[tmp]); tmp 2006 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 2016 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); tmp 2017 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVCTL_SD); tmp 2018 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); tmp 2026 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 2031 drivers/usb/gadget/udc/snps_udc_core.c for (tmp = 0; tmp < UDC_EPIN_NUM_USED; tmp++) { tmp 2032 drivers/usb/gadget/udc/snps_udc_core.c if (cnak_pending & (1 << tmp)) { tmp 2033 drivers/usb/gadget/udc/snps_udc_core.c DBG(dev, "CNAK pending for ep%d\n", tmp); tmp 2035 drivers/usb/gadget/udc/snps_udc_core.c reg = readl(&dev->ep[tmp].regs->ctl); tmp 2037 drivers/usb/gadget/udc/snps_udc_core.c writel(reg, &dev->ep[tmp].regs->ctl); tmp 2038 drivers/usb/gadget/udc/snps_udc_core.c dev->ep[tmp].naking = 0; tmp 2039 drivers/usb/gadget/udc/snps_udc_core.c UDC_QUEUE_CNAK(&dev->ep[tmp], dev->ep[tmp].num); tmp 2086 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 2096 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->sts); tmp 2099 drivers/usb/gadget/udc/snps_udc_core.c if (tmp & AMD_BIT(UDC_EPSTS_BNA)) { tmp 2103 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp | AMD_BIT(UDC_EPSTS_BNA), &ep->regs->sts); tmp 2113 drivers/usb/gadget/udc/snps_udc_core.c if (tmp & AMD_BIT(UDC_EPSTS_HE)) { tmp 2117 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp | AMD_BIT(UDC_EPSTS_HE), &ep->regs->sts); tmp 2204 drivers/usb/gadget/udc/snps_udc_core.c tmp = req->req.length - req->req.actual; tmp 2205 drivers/usb/gadget/udc/snps_udc_core.c if (count > tmp) { tmp 2206 drivers/usb/gadget/udc/snps_udc_core.c if ((tmp % ep->ep.maxpacket) != 0) { tmp 2208 drivers/usb/gadget/udc/snps_udc_core.c ep->ep.name, count, tmp); tmp 2211 drivers/usb/gadget/udc/snps_udc_core.c count = tmp; tmp 2300 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 2363 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ep_irqmsk); tmp 2364 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(ep->num); tmp 2365 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ep_irqmsk); tmp 2426 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 2427 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_P); tmp 2428 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 2434 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl( tmp 2436 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(ep->num); tmp 2437 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, tmp 2455 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 2467 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->sts); tmp 2469 drivers/usb/gadget/udc/snps_udc_core.c if (tmp & AMD_BIT(UDC_EPSTS_BNA)) { tmp 2479 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_GETBITS(tmp, UDC_EPSTS_OUT); tmp 2480 drivers/usb/gadget/udc/snps_udc_core.c VDBG(dev, "data_typ = %x\n", tmp); tmp 2483 drivers/usb/gadget/udc/snps_udc_core.c if (tmp == UDC_EPSTS_OUT_SETUP) { tmp 2490 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 2491 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_SNAK); tmp 2492 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 2572 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 2577 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 2578 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 2584 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_S); tmp 2585 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); tmp 2592 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl); tmp 2593 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_CNAK); tmp 2594 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->ctl); tmp 2606 drivers/usb/gadget/udc/snps_udc_core.c } else if (tmp == UDC_EPSTS_OUT_DATA) { tmp 2669 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 2679 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->sts); tmp 2681 drivers/usb/gadget/udc/snps_udc_core.c if (tmp & AMD_BIT(UDC_EPSTS_TDC)) { tmp 2690 drivers/usb/gadget/udc/snps_udc_core.c } else if (tmp & AMD_BIT(UDC_EPSTS_IN)) { tmp 2701 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 2702 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_S); tmp 2703 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 2721 drivers/usb/gadget/udc/snps_udc_core.c tmp = tmp 2723 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_EPCTL_P); tmp 2724 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, tmp 2771 drivers/usb/gadget/udc/snps_udc_core.c u32 tmp; tmp 2782 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->sts); tmp 2783 drivers/usb/gadget/udc/snps_udc_core.c cfg = AMD_GETBITS(tmp, UDC_DEVSTS_CFG); tmp 2808 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->csr->ne[udc_csr_epix]); tmp 2810 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, ep->dev->cur_config, tmp 2813 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->csr->ne[udc_csr_epix]); tmp 2817 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 2818 drivers/usb/gadget/udc/snps_udc_core.c tmp = tmp & AMD_CLEAR_BIT(UDC_EPCTL_S); tmp 2819 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 2823 drivers/usb/gadget/udc/snps_udc_core.c tmp = dev->driver->setup(&dev->gadget, &setup_data.request); tmp 2832 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->sts); tmp 2833 drivers/usb/gadget/udc/snps_udc_core.c dev->cur_alt = AMD_GETBITS(tmp, UDC_DEVSTS_ALT); tmp 2834 drivers/usb/gadget/udc/snps_udc_core.c dev->cur_intf = AMD_GETBITS(tmp, UDC_DEVSTS_INTF); tmp 2863 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->csr->ne[udc_csr_epix]); tmp 2865 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, ep->dev->cur_intf, tmp 2869 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, ep->dev->cur_alt, tmp 2872 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->csr->ne[udc_csr_epix]); tmp 2876 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); tmp 2877 drivers/usb/gadget/udc/snps_udc_core.c tmp = tmp & AMD_CLEAR_BIT(UDC_EPCTL_S); tmp 2878 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); tmp 2883 drivers/usb/gadget/udc/snps_udc_core.c tmp = dev->driver->setup(&dev->gadget, &setup_data.request); tmp 2914 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->sts); tmp 2915 drivers/usb/gadget/udc/snps_udc_core.c if (!(tmp & AMD_BIT(UDC_DEVSTS_RXFIFO_EMPTY)) tmp 2927 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->cfg); tmp 2928 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp | AMD_BIT(UDC_DEVCFG_DMARST), &dev->regs->cfg); tmp 2929 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->cfg); tmp 2938 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->irqmsk); tmp 2939 drivers/usb/gadget/udc/snps_udc_core.c tmp &= AMD_UNMASK_BIT(UDC_DEVINT_US); tmp 2940 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->irqmsk); tmp 2979 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->sts); tmp 2980 drivers/usb/gadget/udc/snps_udc_core.c if (!(tmp & AMD_BIT(UDC_DEVSTS_SESSVLD))) { tmp 2982 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->irqmsk); tmp 2983 drivers/usb/gadget/udc/snps_udc_core.c tmp |= AMD_BIT(UDC_DEVINT_US); tmp 2984 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->irqmsk); tmp 3156 drivers/usb/gadget/udc/snps_udc_core.c char tmp[128]; tmp 3172 drivers/usb/gadget/udc/snps_udc_core.c snprintf(tmp, sizeof(tmp), "%d", dev->irq); tmp 3178 drivers/usb/gadget/udc/snps_udc_core.c tmp, dev->phys_addr, dev->chiprev, tmp 3181 drivers/usb/gadget/udc/snps_udc_core.c strcpy(tmp, UDC_DRIVER_VERSION_STRING); tmp 3188 drivers/usb/gadget/udc/snps_udc_core.c "driver version: %s(for Geode5536 B1)\n", tmp); tmp 35 drivers/usb/gadget/udc/snps_udc_plat.c int tmp; tmp 62 drivers/usb/gadget/udc/snps_udc_plat.c for (tmp = 0; tmp < UDC_EP_NUM; tmp++) tmp 63 drivers/usb/gadget/udc/snps_udc_plat.c empty_req_queue(&udc->ep[tmp]); tmp 804 drivers/usb/gadget/udc/udc-xilinx.c u32 tmp; tmp 814 drivers/usb/gadget/udc/udc-xilinx.c tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; tmp 817 drivers/usb/gadget/udc/udc-xilinx.c switch (tmp) { tmp 71 drivers/usb/host/bcma-hcd.c u32 tmp; tmp 73 drivers/usb/host/bcma-hcd.c tmp = bcma_cpu_clock(&dev->bus->drv_mips); tmp 74 drivers/usb/host/bcma-hcd.c if (tmp >= 480000000) tmp 75 drivers/usb/host/bcma-hcd.c tmp = 0x1846b; /* set CDR to 0x11(fast) */ tmp 76 drivers/usb/host/bcma-hcd.c else if (tmp == 453000000) tmp 77 drivers/usb/host/bcma-hcd.c tmp = 0x1046b; /* set CDR to 0x10(slow) */ tmp 79 drivers/usb/host/bcma-hcd.c tmp = 0; tmp 84 drivers/usb/host/bcma-hcd.c if (tmp) { tmp 88 drivers/usb/host/bcma-hcd.c bcma_write32(dev, 0x524, tmp); tmp 102 drivers/usb/host/bcma-hcd.c u32 tmp; tmp 119 drivers/usb/host/bcma-hcd.c tmp = bcma_read32(dev, 0x1e0); tmp 120 drivers/usb/host/bcma-hcd.c tmp |= 0x100; tmp 121 drivers/usb/host/bcma-hcd.c bcma_write32(dev, 0x1e0, tmp); tmp 134 drivers/usb/host/bcma-hcd.c tmp = bcma_read32(dev, 0x524); tmp 138 drivers/usb/host/bcma-hcd.c tmp = bcma_read32(dev, 0x524); tmp 142 drivers/usb/host/bcma-hcd.c tmp = bcma_read32(dev, 0x524); tmp 146 drivers/usb/host/bcma-hcd.c tmp = bcma_read32(dev, 0x524); tmp 149 drivers/usb/host/bcma-hcd.c tmp = bcma_read32(dev, 0x528); tmp 151 drivers/usb/host/bcma-hcd.c "USB20H mdio_rddata 0x%08x\n", tmp); tmp 154 drivers/usb/host/bcma-hcd.c tmp = bcma_read32(dev, 0x314); tmp 32 drivers/usb/host/ehci-dbg.c char buf[46], tmp[7], byte; tmp 38 drivers/usb/host/ehci-dbg.c sprintf(tmp, "%d ", tmp 40 drivers/usb/host/ehci-dbg.c strcat(buf, tmp); tmp 54 drivers/usb/host/ehci-fsl.c u32 tmp; tmp 120 drivers/usb/host/ehci-fsl.c tmp = ioread32be(hcd->regs + FSL_SOC_USB_CTRL); tmp 121 drivers/usb/host/ehci-fsl.c tmp &= ~CONTROL_REGISTER_W1C_MASK; tmp 122 drivers/usb/host/ehci-fsl.c tmp |= 0x4; tmp 123 drivers/usb/host/ehci-fsl.c iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL); tmp 136 drivers/usb/host/ehci-fsl.c tmp = ioread32be(hcd->regs + FSL_SOC_USB_CTRL); tmp 137 drivers/usb/host/ehci-fsl.c tmp &= ~CONTROL_REGISTER_W1C_MASK; tmp 138 drivers/usb/host/ehci-fsl.c tmp |= CTRL_UTMI_PHY_EN; tmp 139 drivers/usb/host/ehci-fsl.c iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL); tmp 201 drivers/usb/host/ehci-fsl.c u32 portsc, tmp; tmp 220 drivers/usb/host/ehci-fsl.c tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); tmp 221 drivers/usb/host/ehci-fsl.c tmp &= ~(CONTROL_REGISTER_W1C_MASK | UTMI_PHY_EN); tmp 222 drivers/usb/host/ehci-fsl.c iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); tmp 225 drivers/usb/host/ehci-fsl.c tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); tmp 226 drivers/usb/host/ehci-fsl.c tmp &= ~CONTROL_REGISTER_W1C_MASK; tmp 227 drivers/usb/host/ehci-fsl.c tmp |= ULPI_PHY_CLK_SEL | USB_CTRL_USB_EN; tmp 228 drivers/usb/host/ehci-fsl.c iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); tmp 261 drivers/usb/host/ehci-fsl.c tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); tmp 262 drivers/usb/host/ehci-fsl.c tmp &= ~CONTROL_REGISTER_W1C_MASK; tmp 263 drivers/usb/host/ehci-fsl.c tmp |= UTMI_PHY_EN; tmp 264 drivers/usb/host/ehci-fsl.c iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); tmp 271 drivers/usb/host/ehci-fsl.c tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); tmp 272 drivers/usb/host/ehci-fsl.c tmp &= ~CONTROL_REGISTER_W1C_MASK; tmp 273 drivers/usb/host/ehci-fsl.c tmp |= CTRL_UTMI_PHY_EN; tmp 274 drivers/usb/host/ehci-fsl.c iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); tmp 292 drivers/usb/host/ehci-fsl.c tmp = ioread32be(non_ehci + FSL_SOC_USB_CTRL); tmp 293 drivers/usb/host/ehci-fsl.c tmp &= ~CONTROL_REGISTER_W1C_MASK; tmp 294 drivers/usb/host/ehci-fsl.c tmp |= USB_CTRL_USB_EN; tmp 295 drivers/usb/host/ehci-fsl.c iowrite32be(tmp, non_ehci + FSL_SOC_USB_CTRL); tmp 436 drivers/usb/host/ehci-fsl.c u32 tmp; tmp 441 drivers/usb/host/ehci-fsl.c tmp = ehci_readl(ehci, hcd->regs + 0x140); /* usbcmd */ tmp 445 drivers/usb/host/ehci-fsl.c pdata->already_suspended, mode, tmp); tmp 468 drivers/usb/host/ehci-fsl.c tmp = ehci_readl(ehci, &ehci->regs->command); tmp 469 drivers/usb/host/ehci-fsl.c tmp &= ~CMD_RUN; tmp 470 drivers/usb/host/ehci-fsl.c ehci_writel(ehci, tmp, &ehci->regs->command); tmp 493 drivers/usb/host/ehci-fsl.c tmp = ehci_readl(ehci, &ehci->regs->port_status[0]); tmp 494 drivers/usb/host/ehci-fsl.c tmp &= ~PORT_POWER; tmp 495 drivers/usb/host/ehci-fsl.c ehci_writel(ehci, tmp, &ehci->regs->port_status[0]); tmp 505 drivers/usb/host/ehci-fsl.c u32 tmp; tmp 530 drivers/usb/host/ehci-fsl.c tmp = USBMODE_CM_HOST | (pdata->es ? USBMODE_ES : 0); tmp 531 drivers/usb/host/ehci-fsl.c ehci_writel(ehci, tmp, hcd->regs + FSL_SOC_USB_USBMODE); tmp 555 drivers/usb/host/ehci-fsl.c tmp = ehci_readl(ehci, &ehci->regs->command); tmp 556 drivers/usb/host/ehci-fsl.c tmp |= CMD_RUN; tmp 557 drivers/usb/host/ehci-fsl.c ehci_writel(ehci, tmp, &ehci->regs->command); tmp 169 drivers/usb/host/ehci-hcd.c u32 tmp; tmp 171 drivers/usb/host/ehci-hcd.c tmp = ehci_readl(ehci, &ehci->regs->usbmode); tmp 172 drivers/usb/host/ehci-hcd.c return (tmp & 3) == USBMODE_CM_HC; tmp 212 drivers/usb/host/ehci-hcd.c u32 tmp; tmp 214 drivers/usb/host/ehci-hcd.c tmp = ehci_readl(ehci, &ehci->regs->usbmode); tmp 215 drivers/usb/host/ehci-hcd.c tmp |= USBMODE_CM_HC; tmp 221 drivers/usb/host/ehci-hcd.c tmp |= USBMODE_BE; tmp 222 drivers/usb/host/ehci-hcd.c ehci_writel(ehci, tmp, &ehci->regs->usbmode); tmp 175 drivers/usb/host/ehci-pci.c u8 tmp; tmp 181 drivers/usb/host/ehci-pci.c pci_read_config_byte(pdev, 0x4b, &tmp); tmp 182 drivers/usb/host/ehci-pci.c if (tmp & 0x20) tmp 184 drivers/usb/host/ehci-pci.c pci_write_config_byte(pdev, 0x4b, tmp | 0x20); tmp 208 drivers/usb/host/ehci-pci.c u8 tmp; tmp 210 drivers/usb/host/ehci-pci.c pci_read_config_byte(pdev, 0x53, &tmp); tmp 211 drivers/usb/host/ehci-pci.c pci_write_config_byte(pdev, 0x53, tmp | (1<<3)); tmp 205 drivers/usb/host/ehci-ps3.c unsigned int tmp; tmp 213 drivers/usb/host/ehci-ps3.c tmp = hcd->irq; tmp 225 drivers/usb/host/ehci-ps3.c ps3_io_irq_destroy(tmp); tmp 292 drivers/usb/host/ehci-q.c struct list_head *entry, *tmp; tmp 322 drivers/usb/host/ehci-q.c list_for_each_safe (entry, tmp, &qh->qtd_list) { tmp 806 drivers/usb/host/ehci-q.c unsigned tmp; tmp 828 drivers/usb/host/ehci-q.c tmp = min_t(unsigned, EHCI_BANDWIDTH_SIZE, tmp 832 drivers/usb/host/ehci-q.c qh->ps.bw_uperiod = min_t(unsigned, tmp, urb->interval); tmp 859 drivers/usb/host/ehci-q.c tmp = min_t(unsigned, EHCI_BANDWIDTH_FRAMES, tmp 861 drivers/usb/host/ehci-q.c tmp = rounddown_pow_of_two(tmp); tmp 864 drivers/usb/host/ehci-q.c qh->ps.bw_period = min_t(unsigned, tmp, urb->interval); tmp 1042 drivers/usb/host/ehci-sched.c unsigned tmp; tmp 1072 drivers/usb/host/ehci-sched.c tmp = min_t(unsigned, EHCI_BANDWIDTH_SIZE, tmp 1076 drivers/usb/host/ehci-sched.c stream->ps.bw_uperiod = min_t(unsigned, tmp, urb->interval); tmp 1101 drivers/usb/host/ehci-sched.c u32 tmp; tmp 1109 drivers/usb/host/ehci-sched.c tmp = (1 << (hs_transfers + 2)) - 1; tmp 1110 drivers/usb/host/ehci-sched.c stream->ps.cs_mask |= tmp << (8 + 2); tmp 1115 drivers/usb/host/ehci-sched.c tmp = min_t(unsigned, EHCI_BANDWIDTH_FRAMES, tmp 1119 drivers/usb/host/ehci-sched.c stream->ps.bw_period = min_t(unsigned, tmp, urb->interval); tmp 1401 drivers/usb/host/ehci-sched.c unsigned mask, tmp; tmp 1441 drivers/usb/host/ehci-sched.c for (tmp = stream->ps.cs_mask & 0xff; tmp; tmp >>= 1, uf++) { tmp 1451 drivers/usb/host/ehci-sched.c tmp = 1 << (2+8); tmp 1452 drivers/usb/host/ehci-sched.c for (i = (uframe & 7) + 2; i < 8; (++i, tmp <<= 1)) { tmp 1453 drivers/usb/host/ehci-sched.c if ((stream->ps.cs_mask & tmp) == 0) tmp 409 drivers/usb/host/fotg210-hcd.c td, mark, ({ char *tmp; tmp 412 drivers/usb/host/fotg210-hcd.c tmp = "out"; tmp 415 drivers/usb/host/fotg210-hcd.c tmp = "in"; tmp 418 drivers/usb/host/fotg210-hcd.c tmp = "setup"; tmp 421 drivers/usb/host/fotg210-hcd.c tmp = "?"; tmp 423 drivers/usb/host/fotg210-hcd.c } tmp; }), tmp 2248 drivers/usb/host/fotg210-hcd.c struct fotg210_qtd *qtd, *tmp; tmp 2282 drivers/usb/host/fotg210-hcd.c list_for_each_entry_safe(qtd, tmp, &qh->qtd_list, qtd_list) { tmp 5376 drivers/usb/host/fotg210-hcd.c struct fotg210_qh *qh, *tmp; tmp 5406 drivers/usb/host/fotg210-hcd.c for (tmp = fotg210->async->qh_next.qh; tmp 5407 drivers/usb/host/fotg210-hcd.c tmp && tmp != qh; tmp 5408 drivers/usb/host/fotg210-hcd.c tmp = tmp->qh_next.qh) tmp 5413 drivers/usb/host/fotg210-hcd.c if (tmp) tmp 356 drivers/usb/host/imx21-hcd.c struct imx21_dmem_area *tmp; tmp 366 drivers/usb/host/imx21-hcd.c list_for_each_entry(tmp, &imx21->dmem_list, list) { tmp 369 drivers/usb/host/imx21-hcd.c if ((size + offset) <= tmp->offset) tmp 371 drivers/usb/host/imx21-hcd.c offset = tmp->size + tmp->offset; tmp 383 drivers/usb/host/imx21-hcd.c list_add_tail(&area->list, &tmp->list); tmp 413 drivers/usb/host/imx21-hcd.c struct etd_priv *tmp; tmp 439 drivers/usb/host/imx21-hcd.c list_for_each_entry_safe(etd, tmp, &imx21->queue_for_dmem, queue) { tmp 450 drivers/usb/host/imx21-hcd.c struct imx21_dmem_area *area, *tmp; tmp 452 drivers/usb/host/imx21-hcd.c list_for_each_entry_safe(area, tmp, &imx21->dmem_list, list) { tmp 871 drivers/usb/host/imx21-hcd.c struct td *td, *tmp; tmp 886 drivers/usb/host/imx21-hcd.c list_for_each_entry_safe(td, tmp, &ep_priv->td_list, list) { tmp 972 drivers/usb/host/isp116x-hcd.c u32 tmp; tmp 983 drivers/usb/host/isp116x-hcd.c tmp = isp116x_read_reg32(isp116x, port ? tmp 985 drivers/usb/host/isp116x-hcd.c if (!(tmp & RH_PS_PRS)) tmp 990 drivers/usb/host/isp116x-hcd.c if (!(tmp & RH_PS_CCS)) { tmp 1011 drivers/usb/host/isp116x-hcd.c u32 tmp = 0; tmp 1055 drivers/usb/host/isp116x-hcd.c tmp = isp116x_read_reg32(isp116x, (--wIndex) ? HCRHPORT2 : HCRHPORT1); tmp 1057 drivers/usb/host/isp116x-hcd.c *(__le32 *) buf = cpu_to_le32(tmp); tmp 1058 drivers/usb/host/isp116x-hcd.c DBG("GetPortStatus: port[%d] %08x\n", wIndex + 1, tmp); tmp 1069 drivers/usb/host/isp116x-hcd.c tmp = RH_PS_CCS; tmp 1073 drivers/usb/host/isp116x-hcd.c tmp = RH_PS_PESC; tmp 1077 drivers/usb/host/isp116x-hcd.c tmp = RH_PS_POCI; tmp 1081 drivers/usb/host/isp116x-hcd.c tmp = RH_PS_PSSC; tmp 1085 drivers/usb/host/isp116x-hcd.c tmp = RH_PS_LSDA; tmp 1089 drivers/usb/host/isp116x-hcd.c tmp = RH_PS_CSC; tmp 1093 drivers/usb/host/isp116x-hcd.c tmp = RH_PS_OCIC; tmp 1097 drivers/usb/host/isp116x-hcd.c tmp = RH_PS_PRSC; tmp 1104 drivers/usb/host/isp116x-hcd.c ? HCRHPORT2 : HCRHPORT1, tmp); tmp 656 drivers/usb/host/isp1362-hcd.c struct isp1362_ep *tmp; tmp 658 drivers/usb/host/isp1362-hcd.c list_for_each_entry_safe(ep, tmp, &isp1362_hcd->remove_list, remove_list) { tmp 863 drivers/usb/host/isp1362-hcd.c struct isp1362_ep *tmp; tmp 877 drivers/usb/host/isp1362-hcd.c list_for_each_entry_safe(ep, tmp, &isp1362_hcd->isoc, schedule) { tmp 941 drivers/usb/host/isp1362-hcd.c struct isp1362_ep *tmp; tmp 951 drivers/usb/host/isp1362-hcd.c list_for_each_entry_safe(ep, tmp, &epq->active, active) { tmp 986 drivers/usb/host/isp1362-hcd.c struct isp1362_ep *tmp; tmp 996 drivers/usb/host/isp1362-hcd.c list_for_each_entry_safe(ep, tmp, &epq->active, active) { tmp 1571 drivers/usb/host/isp1362-hcd.c u32 tmp = 0; tmp 1615 drivers/usb/host/isp1362-hcd.c tmp = isp1362_hcd->rhport[--wIndex]; tmp 1616 drivers/usb/host/isp1362-hcd.c put_unaligned(cpu_to_le32(tmp), (__le32 *) buf); tmp 1627 drivers/usb/host/isp1362-hcd.c tmp = RH_PS_CCS; tmp 1631 drivers/usb/host/isp1362-hcd.c tmp = RH_PS_PESC; tmp 1635 drivers/usb/host/isp1362-hcd.c tmp = RH_PS_POCI; tmp 1639 drivers/usb/host/isp1362-hcd.c tmp = RH_PS_PSSC; tmp 1643 drivers/usb/host/isp1362-hcd.c tmp = RH_PS_LSDA; tmp 1648 drivers/usb/host/isp1362-hcd.c tmp = RH_PS_CSC; tmp 1652 drivers/usb/host/isp1362-hcd.c tmp = RH_PS_OCIC; tmp 1656 drivers/usb/host/isp1362-hcd.c tmp = RH_PS_PRSC; tmp 1663 drivers/usb/host/isp1362-hcd.c isp1362_write_reg32(isp1362_hcd, HCRHPORT1 + wIndex, tmp); tmp 1698 drivers/usb/host/isp1362-hcd.c tmp = isp1362_read_reg32(isp1362_hcd, HCRHPORT1 + wIndex); tmp 1699 drivers/usb/host/isp1362-hcd.c if (!(tmp & RH_PS_PRS)) tmp 1703 drivers/usb/host/isp1362-hcd.c if (!(tmp & RH_PS_CCS)) tmp 2182 drivers/usb/host/isp1362-hcd.c int tmp = 20; tmp 2186 drivers/usb/host/isp1362-hcd.c while (--tmp) { tmp 2191 drivers/usb/host/isp1362-hcd.c if (!tmp) tmp 2358 drivers/usb/host/isp1362-hcd.c u32 tmp; tmp 2369 drivers/usb/host/isp1362-hcd.c tmp = isp1362_read_reg32(isp1362_hcd, HCRHDESCA); tmp 2370 drivers/usb/host/isp1362-hcd.c tmp &= ~(RH_A_NPS | RH_A_PSM); tmp 2371 drivers/usb/host/isp1362-hcd.c isp1362_write_reg32(isp1362_hcd, HCRHDESCA, tmp); tmp 258 drivers/usb/host/ohci-dbg.c u32 tmp = hc32_to_cpup (ohci, &td->hwINFO); tmp 262 drivers/usb/host/ohci-dbg.c (tmp & TD_DONE) ? " (DONE)" : "", tmp 265 drivers/usb/host/ohci-dbg.c if ((tmp & TD_ISO) == 0) { tmp 269 drivers/usb/host/ohci-dbg.c switch (tmp & TD_T) { tmp 275 drivers/usb/host/ohci-dbg.c switch (tmp & TD_DP) { tmp 281 drivers/usb/host/ohci-dbg.c ohci_dbg (ohci, " info %08x CC=%x %s DI=%d %s %s\n", tmp, tmp 282 drivers/usb/host/ohci-dbg.c TD_CC_GET(tmp), /* EC, */ toggle, tmp 283 drivers/usb/host/ohci-dbg.c (tmp & TD_DI) >> 21, pid, tmp 284 drivers/usb/host/ohci-dbg.c (tmp & TD_R) ? "R" : ""); tmp 291 drivers/usb/host/ohci-dbg.c ohci_dbg (ohci, " info %08x CC=%x FC=%d DI=%d SF=%04x\n", tmp, tmp 292 drivers/usb/host/ohci-dbg.c TD_CC_GET(tmp), tmp 293 drivers/usb/host/ohci-dbg.c (tmp >> 24) & 0x07, tmp 294 drivers/usb/host/ohci-dbg.c (tmp & TD_DI) >> 21, tmp 295 drivers/usb/host/ohci-dbg.c tmp & 0x0000ffff); tmp 315 drivers/usb/host/ohci-dbg.c u32 tmp = hc32_to_cpu (ohci, ed->hwINFO); tmp 322 drivers/usb/host/ohci-dbg.c switch (tmp & (ED_IN|ED_OUT)) { tmp 328 drivers/usb/host/ohci-dbg.c " info %08x MAX=%d%s%s%s%s EP=%d%s DEV=%d\n", tmp, tmp 329 drivers/usb/host/ohci-dbg.c 0x03ff & (tmp >> 16), tmp 330 drivers/usb/host/ohci-dbg.c (tmp & ED_DEQUEUE) ? " DQ" : "", tmp 331 drivers/usb/host/ohci-dbg.c (tmp & ED_ISO) ? " ISO" : "", tmp 332 drivers/usb/host/ohci-dbg.c (tmp & ED_SKIP) ? " SKIP" : "", tmp 333 drivers/usb/host/ohci-dbg.c (tmp & ED_LOWSPEED) ? " LOW" : "", tmp 334 drivers/usb/host/ohci-dbg.c 0x000f & (tmp >> 7), tmp 336 drivers/usb/host/ohci-dbg.c 0x007f & tmp); tmp 337 drivers/usb/host/ohci-dbg.c tmp = hc32_to_cpup (ohci, &ed->hwHeadP); tmp 339 drivers/usb/host/ohci-dbg.c tmp, tmp 340 drivers/usb/host/ohci-dbg.c (tmp & ED_C) ? data1 : data0, tmp 341 drivers/usb/host/ohci-dbg.c (tmp & ED_H) ? " HALT" : "", tmp 345 drivers/usb/host/ohci-dbg.c struct list_head *tmp; tmp 350 drivers/usb/host/ohci-dbg.c list_for_each (tmp, &ed->td_list) { tmp 352 drivers/usb/host/ohci-dbg.c td = list_entry (tmp, struct td, td_list); tmp 785 drivers/usb/host/ohci-hcd.c unsigned tmp = hc32_to_cpu(ohci, ed->hwINFO); tmp 788 drivers/usb/host/ohci-hcd.c 0x007f & tmp, tmp 789 drivers/usb/host/ohci-hcd.c (0x000f & (tmp >> 7)) + tmp 790 drivers/usb/host/ohci-hcd.c ((tmp & ED_IN) >> 5)); tmp 843 drivers/usb/host/ohci-hcd.c unsigned tmp; tmp 846 drivers/usb/host/ohci-hcd.c tmp = roothub_portstatus(ohci, i); tmp 848 drivers/usb/host/ohci-hcd.c if ((tmp & RH_PS_PES) && !(tmp & RH_PS_PSS)) tmp 123 drivers/usb/host/ohci-nxp.c unsigned long tmp; tmp 128 drivers/usb/host/ohci-nxp.c tmp = __raw_readl(usb_otg_stat_control) | HOST_EN; tmp 130 drivers/usb/host/ohci-nxp.c __raw_writel(tmp, usb_otg_stat_control); tmp 139 drivers/usb/host/ohci-nxp.c unsigned long tmp; tmp 145 drivers/usb/host/ohci-nxp.c tmp = __raw_readl(usb_otg_stat_control) & ~HOST_EN; tmp 146 drivers/usb/host/ohci-nxp.c __raw_writel(tmp, usb_otg_stat_control); tmp 189 drivers/usb/host/ohci-ps3.c unsigned int tmp; tmp 197 drivers/usb/host/ohci-ps3.c tmp = hcd->irq; tmp 210 drivers/usb/host/ohci-ps3.c ps3_io_irq_destroy(tmp); tmp 355 drivers/usb/host/ohci-pxa27x.c u32 tmp; tmp 387 drivers/usb/host/ohci-pxa27x.c if (!of_property_read_u32(np, "marvell,power-on-delay", &tmp)) tmp 388 drivers/usb/host/ohci-pxa27x.c pdata->power_on_delay = tmp; tmp 389 drivers/usb/host/ohci-pxa27x.c if (!of_property_read_u32(np, "marvell,port-mode", &tmp)) tmp 390 drivers/usb/host/ohci-pxa27x.c pdata->port_mode = tmp; tmp 391 drivers/usb/host/ohci-pxa27x.c if (!of_property_read_u32(np, "marvell,power-budget", &tmp)) tmp 392 drivers/usb/host/ohci-pxa27x.c pdata->power_budget = tmp; tmp 838 drivers/usb/host/ohci-q.c struct list_head *tmp = td->td_list.next; tmp 852 drivers/usb/host/ohci-q.c while (tmp != &ed->td_list) { tmp 855 drivers/usb/host/ohci-q.c next = list_entry (tmp, struct td, td_list); tmp 856 drivers/usb/host/ohci-q.c tmp = next->td_list.next; tmp 982 drivers/usb/host/ohci-q.c struct list_head *entry, *tmp; tmp 1037 drivers/usb/host/ohci-q.c list_for_each_safe (entry, tmp, &ed->td_list) { tmp 663 drivers/usb/host/ohci.h u32 tmp; tmp 665 drivers/usb/host/ohci.h tmp = be32_to_cpup((__force __be32 *)&ohci->hcca->frame_no); tmp 667 drivers/usb/host/ohci.h tmp >>= 16; tmp 669 drivers/usb/host/ohci.h tmp = le32_to_cpup((__force __le32 *)&ohci->hcca->frame_no); tmp 671 drivers/usb/host/ohci.h return (u16)tmp; tmp 787 drivers/usb/host/oxu210hp-hcd.c u32 tmp; tmp 790 drivers/usb/host/oxu210hp-hcd.c tmp = readl(reg_ptr); tmp 791 drivers/usb/host/oxu210hp-hcd.c tmp |= 0x3; tmp 792 drivers/usb/host/oxu210hp-hcd.c writel(tmp, reg_ptr); tmp 1410 drivers/usb/host/oxu210hp-hcd.c struct ehci_qtd *qtd, *tmp; tmp 1435 drivers/usb/host/oxu210hp-hcd.c list_for_each_entry_safe(qtd, tmp, &qh->qtd_list, qtd_list) { tmp 3418 drivers/usb/host/oxu210hp-hcd.c struct ehci_qh *qh, *tmp; tmp 3441 drivers/usb/host/oxu210hp-hcd.c for (tmp = oxu->async->qh_next.qh; tmp 3442 drivers/usb/host/oxu210hp-hcd.c tmp && tmp != qh; tmp 3443 drivers/usb/host/oxu210hp-hcd.c tmp = tmp->qh_next.qh) tmp 3446 drivers/usb/host/oxu210hp-hcd.c if (!tmp) tmp 4068 drivers/usb/host/oxu210hp-hcd.c u32 tmp; tmp 4077 drivers/usb/host/oxu210hp-hcd.c tmp = oxu_readl(base, OXU_PIOBURSTREADCTRL); tmp 4078 drivers/usb/host/oxu210hp-hcd.c oxu_writel(base, OXU_PIOBURSTREADCTRL, tmp | 0x0040); tmp 4083 drivers/usb/host/oxu210hp-hcd.c tmp = oxu_readl(base, OXU_CLKCTRL_SET); tmp 4084 drivers/usb/host/oxu210hp-hcd.c oxu_writel(base, OXU_CLKCTRL_SET, tmp | OXU_SYSCLKEN | OXU_USBOTGCLKEN); tmp 48 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 50 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, INTENB0); tmp 53 drivers/usb/host/r8a66597-hcd.c r8a66597_write(r8a66597, tmp, INTENB0); tmp 60 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 62 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, INTENB0); tmp 65 drivers/usb/host/r8a66597-hcd.c r8a66597_write(r8a66597, tmp, INTENB0); tmp 80 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 87 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, SYSCFG0); tmp 92 drivers/usb/host/r8a66597-hcd.c } while ((tmp & SCKE) != SCKE); tmp 97 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, SYSCFG0); tmp 102 drivers/usb/host/r8a66597-hcd.c } while ((tmp & USBE) != USBE); tmp 111 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, SYSCFG0); tmp 116 drivers/usb/host/r8a66597-hcd.c } while ((tmp & SCKE) != SCKE); tmp 151 drivers/usb/host/r8a66597-hcd.c u16 val, tmp; tmp 159 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, SOFCFG) & EDGESTS; tmp 161 drivers/usb/host/r8a66597-hcd.c } while (tmp == EDGESTS); tmp 437 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 441 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, reg); tmp 448 drivers/usb/host/r8a66597-hcd.c } while ((tmp & mask) != loop); tmp 454 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 456 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr) & PID; tmp 457 drivers/usb/host/r8a66597-hcd.c if ((pipe->info.pipenum != 0) & ((tmp & PID_STALL) != 0)) /* stall? */ tmp 465 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 467 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr) & PID; tmp 468 drivers/usb/host/r8a66597-hcd.c if ((tmp & PID_STALL11) != PID_STALL11) /* force stall? */ tmp 478 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 485 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr); tmp 486 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr); tmp 487 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, pipe->pipectr); tmp 1130 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 1151 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, td->pipe->fifoctr); tmp 1152 drivers/usb/host/r8a66597-hcd.c if (unlikely((tmp & FRDY) == 0)) tmp 1309 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 1322 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, td->pipe->fifoctr); tmp 1323 drivers/usb/host/r8a66597-hcd.c if (unlikely((tmp & FRDY) == 0)) { tmp 1332 drivers/usb/host/r8a66597-hcd.c rcv_len = tmp & DTLN; tmp 1386 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 1397 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, td->pipe->fifoctr); tmp 1398 drivers/usb/host/r8a66597-hcd.c if (unlikely((tmp & FRDY) == 0)) { tmp 1533 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 1558 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, td->pipe->pipectr); tmp 1559 drivers/usb/host/r8a66597-hcd.c if ((tmp & INBUFM) == 0) { tmp 1687 drivers/usb/host/r8a66597-hcd.c u16 tmp; tmp 1693 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, dvstctr_reg); tmp 1694 drivers/usb/host/r8a66597-hcd.c if ((tmp & USBRST) == USBRST) { tmp 1708 drivers/usb/host/r8a66597-hcd.c tmp = r8a66597_read(r8a66597, get_syssts_reg(port)) & LNST; tmp 1709 drivers/usb/host/r8a66597-hcd.c if (tmp == rh->old_syssts) { tmp 1712 drivers/usb/host/r8a66597-hcd.c r8a66597_check_syssts(r8a66597, port, tmp); tmp 1717 drivers/usb/host/r8a66597-hcd.c rh->old_syssts = tmp; tmp 177 drivers/usb/host/r8a66597.h unsigned long tmp = ioread32(fifoaddr); tmp 178 drivers/usb/host/r8a66597.h memcpy((unsigned char *)buf + count * 4, &tmp, tmp 196 drivers/usb/host/r8a66597.h u16 tmp; tmp 197 drivers/usb/host/r8a66597.h tmp = r8a66597_read(r8a66597, offset); tmp 198 drivers/usb/host/r8a66597.h tmp = tmp & (~pat); tmp 199 drivers/usb/host/r8a66597.h tmp = tmp | val; tmp 200 drivers/usb/host/r8a66597.h r8a66597_write(r8a66597, tmp, offset); tmp 1617 drivers/usb/host/sl811-hcd.c u8 tmp, ioaddr = 0; tmp 1687 drivers/usb/host/sl811-hcd.c tmp = sl811_read(sl811, SL11H_HWREVREG); tmp 1688 drivers/usb/host/sl811-hcd.c switch (tmp >> 4) { tmp 1697 drivers/usb/host/sl811-hcd.c dev_dbg(&dev->dev, "chiprev %02x\n", tmp); tmp 152 drivers/usb/host/ssb-hcd.c int err, tmp; tmp 179 drivers/usb/host/ssb-hcd.c tmp = ssb_read32(dev, SSB_ADMATCH0); tmp 181 drivers/usb/host/ssb-hcd.c start = ssb_admatch_base(tmp); tmp 182 drivers/usb/host/ssb-hcd.c len = (coreid == SSB_DEV_USB20_HOST) ? 0x800 : ssb_admatch_size(tmp); tmp 188 drivers/usb/host/ssb-hcd.c start = ssb_admatch_base(tmp) + 0x800; /* ehci core offset */ tmp 380 drivers/usb/host/uhci-debug.c struct list_head *tmp, *head; tmp 432 drivers/usb/host/uhci-debug.c tmp = head; tmp 434 drivers/usb/host/uhci-debug.c td = list_entry(tmp, struct uhci_td, fl_list); tmp 435 drivers/usb/host/uhci-debug.c tmp = tmp->next; tmp 452 drivers/usb/host/uhci-debug.c } while (tmp != head); tmp 507 drivers/usb/host/uhci-debug.c tmp = head->next; tmp 509 drivers/usb/host/uhci-debug.c while (tmp != head) { tmp 510 drivers/usb/host/uhci-debug.c qh = list_entry(tmp, struct uhci_qh, node); tmp 511 drivers/usb/host/uhci-debug.c tmp = tmp->next; tmp 743 drivers/usb/host/uhci-q.c struct uhci_td *td, *tmp; tmp 749 drivers/usb/host/uhci-q.c list_for_each_entry_safe(td, tmp, &urbp->td_list, list) { tmp 1126 drivers/usb/host/uhci-q.c struct list_head *tmp; tmp 1137 drivers/usb/host/uhci-q.c tmp = td->list.prev; tmp 1152 drivers/usb/host/uhci-q.c tmp = urbp->td_list.prev; tmp 1157 drivers/usb/host/uhci-q.c while (tmp != &urbp->td_list) { tmp 1158 drivers/usb/host/uhci-q.c td = list_entry(tmp, struct uhci_td, list); tmp 1159 drivers/usb/host/uhci-q.c tmp = tmp->prev; tmp 1174 drivers/usb/host/uhci-q.c struct uhci_td *td, *tmp; tmp 1178 drivers/usb/host/uhci-q.c list_for_each_entry_safe(td, tmp, &urbp->td_list, list) { tmp 1371 drivers/usb/host/uhci-q.c struct uhci_td *td, *tmp; tmp 1375 drivers/usb/host/uhci-q.c list_for_each_entry_safe(td, tmp, &urbp->td_list, list) { tmp 177 drivers/usb/host/xhci-dbgcap.c struct dbc_request *req, *tmp; tmp 179 drivers/usb/host/xhci-dbgcap.c list_for_each_entry_safe(req, tmp, &dep->list_pending, list_pending) tmp 592 drivers/usb/host/xhci-debugfs.c struct xhci_regset *rgs, *tmp; tmp 598 drivers/usb/host/xhci-debugfs.c list_for_each_entry_safe(rgs, tmp, &xhci->regset_list, list) tmp 856 drivers/usb/host/xhci-ring.c struct xhci_td *tmp; tmp 858 drivers/usb/host/xhci-ring.c list_for_each_entry_safe(cur_td, tmp, &ring->td_list, td_list) { tmp 876 drivers/usb/host/xhci-ring.c struct xhci_td *tmp; tmp 906 drivers/usb/host/xhci-ring.c list_for_each_entry_safe(cur_td, tmp, &ep->cancelled_td_list, tmp 2343 drivers/usb/host/xhci-ring.c struct list_head *tmp; tmp 2394 drivers/usb/host/xhci-ring.c list_for_each(tmp, &ep_ring->td_list) tmp 396 drivers/usb/misc/adutux.c char *tmp; tmp 400 drivers/usb/misc/adutux.c tmp = dev->read_buffer_secondary; tmp 402 drivers/usb/misc/adutux.c dev->read_buffer_primary = tmp; tmp 214 drivers/usb/misc/cytherm.c int tmp; tmp 220 drivers/usb/misc/cytherm.c tmp = simple_strtoul(buf, NULL, 10); tmp 222 drivers/usb/misc/cytherm.c if (tmp > 0xFF) tmp 223 drivers/usb/misc/cytherm.c tmp = 0xFF; tmp 224 drivers/usb/misc/cytherm.c else if (tmp < 0) tmp 225 drivers/usb/misc/cytherm.c tmp = 0; tmp 228 drivers/usb/misc/cytherm.c tmp, buffer, 8); tmp 269 drivers/usb/misc/cytherm.c int tmp; tmp 275 drivers/usb/misc/cytherm.c tmp = simple_strtoul(buf, NULL, 10); tmp 277 drivers/usb/misc/cytherm.c if (tmp > 0xFF) tmp 278 drivers/usb/misc/cytherm.c tmp = 0xFF; tmp 279 drivers/usb/misc/cytherm.c else if (tmp < 0) tmp 280 drivers/usb/misc/cytherm.c tmp = 0; tmp 283 drivers/usb/misc/cytherm.c tmp, buffer, 8); tmp 531 drivers/usb/misc/sisusbvga/sisusb.c __le32 tmp; tmp 554 drivers/usb/misc/sisusbvga/sisusb.c (char *)&tmp, NULL, &bytes_transferred, 0); tmp 556 drivers/usb/misc/sisusbvga/sisusb.c packet->data = le32_to_cpu(tmp); tmp 567 drivers/usb/misc/sisusbvga/sisusb.c __le32 tmp; tmp 590 drivers/usb/misc/sisusbvga/sisusb.c (char *)&tmp, NULL, &bytes_transferred, 0); tmp 592 drivers/usb/misc/sisusbvga/sisusb.c packet->data = le32_to_cpu(tmp); tmp 1237 drivers/usb/misc/sisusbvga/sisusb.c u8 tmp; tmp 1240 drivers/usb/misc/sisusbvga/sisusb.c ret |= sisusb_read_memio_byte(sisusb, SISUSB_TYPE_IO, port + 1, &tmp); tmp 1241 drivers/usb/misc/sisusbvga/sisusb.c tmp &= myand; tmp 1242 drivers/usb/misc/sisusbvga/sisusb.c tmp |= myor; tmp 1243 drivers/usb/misc/sisusbvga/sisusb.c ret |= sisusb_write_memio_byte(sisusb, SISUSB_TYPE_IO, port + 1, tmp); tmp 1251 drivers/usb/misc/sisusbvga/sisusb.c u8 tmp; tmp 1254 drivers/usb/misc/sisusbvga/sisusb.c ret |= sisusb_read_memio_byte(sisusb, SISUSB_TYPE_IO, port + 1, &tmp); tmp 1255 drivers/usb/misc/sisusbvga/sisusb.c tmp &= ~(mask); tmp 1256 drivers/usb/misc/sisusbvga/sisusb.c tmp |= (data & mask); tmp 1257 drivers/usb/misc/sisusbvga/sisusb.c ret |= sisusb_write_memio_byte(sisusb, SISUSB_TYPE_IO, port + 1, tmp); tmp 1585 drivers/usb/misc/sisusbvga/sisusb.c u8 tmp; tmp 1597 drivers/usb/misc/sisusbvga/sisusb.c tmp = 0; tmp 1599 drivers/usb/misc/sisusbvga/sisusb.c tmp += 0x10; tmp 1601 drivers/usb/misc/sisusbvga/sisusb.c tmp |= ((rankno - 1) << 2); tmp 1602 drivers/usb/misc/sisusbvga/sisusb.c tmp |= ((bw / 64) & 0x02); tmp 1603 drivers/usb/misc/sisusbvga/sisusb.c tmp |= (chab & 0x01); tmp 1605 drivers/usb/misc/sisusbvga/sisusb.c ret = SETIREG(SISSR, 0x14, tmp); tmp 1617 drivers/usb/misc/sisusbvga/sisusb.c u32 j, tmp; tmp 1627 drivers/usb/misc/sisusbvga/sisusb.c ret |= READL(sisusb->vrambase + j, &tmp); tmp 1628 drivers/usb/misc/sisusbvga/sisusb.c if (tmp != j) tmp 145 drivers/usb/misc/usbtest.c int tmp; tmp 152 drivers/usb/misc/usbtest.c for (tmp = 0; tmp < intf->num_altsetting; tmp++) { tmp 158 drivers/usb/misc/usbtest.c alt = intf->altsetting + tmp; tmp 199 drivers/usb/misc/usbtest.c tmp = usb_set_interface(udev, tmp 202 drivers/usb/misc/usbtest.c if (tmp < 0) tmp 203 drivers/usb/misc/usbtest.c return tmp; tmp 409 drivers/usb/mtu3/mtu3.h u32 tmp = readl(addr); tmp 411 drivers/usb/mtu3/mtu3.h writel((tmp | (bits)), addr); tmp 417 drivers/usb/mtu3/mtu3.h u32 tmp = readl(addr); tmp 419 drivers/usb/mtu3/mtu3.h writel((tmp & ~(bits)), addr); tmp 459 drivers/usb/musb/cppi_dma.c u32 tmp; tmp 463 drivers/usb/musb/cppi_dma.c tmp = musb_readl(tibase, DAVINCI_AUTOREQ_REG); tmp 464 drivers/usb/musb/cppi_dma.c val = tmp & ~((0x3) << (rx->index * 2)); tmp 480 drivers/usb/musb/cppi_dma.c if (val != tmp) { tmp 486 drivers/usb/musb/cppi_dma.c tmp = musb_readl(tibase, DAVINCI_AUTOREQ_REG); tmp 487 drivers/usb/musb/cppi_dma.c if (tmp == val) tmp 1528 drivers/usb/musb/cppi_dma.c struct cppi_descriptor *tmp = queue->next; tmp 1531 drivers/usb/musb/cppi_dma.c queue = tmp; tmp 79 drivers/usb/musb/davinci.c u32 tmp, old, val; tmp 82 drivers/usb/musb/davinci.c tmp = (musb->epmask & DAVINCI_USB_TX_ENDPTS_MASK) tmp 84 drivers/usb/musb/davinci.c musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_SET_REG, tmp); tmp 85 drivers/usb/musb/davinci.c old = tmp; tmp 86 drivers/usb/musb/davinci.c tmp = (musb->epmask & (0xfffe & DAVINCI_USB_RX_ENDPTS_MASK)) tmp 88 drivers/usb/musb/davinci.c musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_SET_REG, tmp); tmp 89 drivers/usb/musb/davinci.c tmp |= old; tmp 92 drivers/usb/musb/davinci.c tmp |= ((val & 0x01ff) << DAVINCI_USB_USBINT_SHIFT); tmp 93 drivers/usb/musb/davinci.c musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_SET_REG, tmp); tmp 251 drivers/usb/musb/davinci.c u32 tmp; tmp 272 drivers/usb/musb/davinci.c tmp = musb_readl(tibase, DAVINCI_USB_INT_SRC_MASKED_REG); tmp 273 drivers/usb/musb/davinci.c musb_writel(tibase, DAVINCI_USB_INT_SRC_CLR_REG, tmp); tmp 274 drivers/usb/musb/davinci.c dev_dbg(musb->controller, "IRQ %08x\n", tmp); tmp 276 drivers/usb/musb/davinci.c musb->int_rx = (tmp & DAVINCI_USB_RXINT_MASK) tmp 278 drivers/usb/musb/davinci.c musb->int_tx = (tmp & DAVINCI_USB_TXINT_MASK) tmp 280 drivers/usb/musb/davinci.c musb->int_usb = (tmp & DAVINCI_USB_USBINT_MASK) tmp 290 drivers/usb/musb/davinci.c if (tmp & (DAVINCI_INTR_DRVVBUS << DAVINCI_USB_USBINT_SHIFT)) { tmp 916 drivers/usb/musb/musb_gadget.c unsigned tmp; tmp 942 drivers/usb/musb/musb_gadget.c tmp = usb_endpoint_maxp_mult(desc) - 1; tmp 943 drivers/usb/musb/musb_gadget.c if (tmp) { tmp 955 drivers/usb/musb/musb_gadget.c musb_ep->hb_mult = tmp; tmp 961 drivers/usb/musb/musb_gadget.c tmp = musb_ep->packet_sz * (musb_ep->hb_mult + 1); tmp 974 drivers/usb/musb/musb_gadget.c if (tmp > hw_ep->max_packet_sz_tx) { tmp 1013 drivers/usb/musb/musb_gadget.c if (tmp > hw_ep->max_packet_sz_rx) { tmp 82 drivers/usb/musb/musb_gadget_ep0.c u16 tmp; tmp 111 drivers/usb/musb/musb_gadget_ep0.c tmp = musb_readw(regs, MUSB_TXCSR) tmp 114 drivers/usb/musb/musb_gadget_ep0.c tmp = musb_readw(regs, MUSB_RXCSR) tmp 118 drivers/usb/musb/musb_gadget_ep0.c result[0] = tmp ? 1 : 0; tmp 98 drivers/usb/musb/tusb6010.c u32 tmp; tmp 103 drivers/usb/musb/tusb6010.c tmp = TUSB_PHY_OTG_CTRL_WRPROTECT tmp 105 drivers/usb/musb/tusb6010.c musb_writel(tbase, TUSB_PHY_OTG_CTRL, tmp); tmp 106 drivers/usb/musb/tusb6010.c tmp = phy_otg_ena & ~WBUS_QUIRK_MASK; tmp 107 drivers/usb/musb/tusb6010.c tmp |= TUSB_PHY_OTG_CTRL_WRPROTECT | TUSB_PHY_OTG_CTRL_TESTM2; tmp 108 drivers/usb/musb/tusb6010.c musb_writel(tbase, TUSB_PHY_OTG_CTRL_ENABLE, tmp); tmp 114 drivers/usb/musb/tusb6010.c tmp = TUSB_PHY_OTG_CTRL_WRPROTECT | phy_otg_ctrl; tmp 115 drivers/usb/musb/tusb6010.c musb_writel(tbase, TUSB_PHY_OTG_CTRL, tmp); tmp 116 drivers/usb/musb/tusb6010.c tmp = TUSB_PHY_OTG_CTRL_WRPROTECT | phy_otg_ena; tmp 117 drivers/usb/musb/tusb6010.c musb_writel(tbase, TUSB_PHY_OTG_CTRL_ENABLE, tmp); tmp 147 drivers/usb/musb/tusb6010.c u16 tmp; tmp 150 drivers/usb/musb/tusb6010.c tmp = __raw_readw(addr + (offset & ~1)); tmp 152 drivers/usb/musb/tusb6010.c val = (tmp >> 8); tmp 154 drivers/usb/musb/tusb6010.c val = tmp & 0xff; tmp 161 drivers/usb/musb/tusb6010.c u16 tmp; tmp 163 drivers/usb/musb/tusb6010.c tmp = __raw_readw(addr + (offset & ~1)); tmp 165 drivers/usb/musb/tusb6010.c tmp = (data << 8) | (tmp & 0xff); tmp 167 drivers/usb/musb/tusb6010.c tmp = (tmp & 0xff00) | data; tmp 169 drivers/usb/musb/tusb6010.c __raw_writew(tmp, addr + (offset & ~1)); tmp 439 drivers/usb/musb/tusb6010.c u32 tmp = prcm_mngmt; tmp 440 drivers/usb/musb/tusb6010.c tmp |= TUSB_PRCM_MNGMT_OTG_VBUS_DET_EN; tmp 441 drivers/usb/musb/tusb6010.c musb_writel(tbase, TUSB_PRCM_MNGMT, tmp); tmp 119 drivers/usb/phy/phy-fsl-usb.c u32 tmp; tmp 121 drivers/usb/phy/phy-fsl-usb.c tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; tmp 125 drivers/usb/phy/phy-fsl-usb.c tmp = (tmp & ~OTGSC_CTRL_VBUS_DISCHARGE) | tmp 129 drivers/usb/phy/phy-fsl-usb.c tmp &= ~OTGSC_CTRL_VBUS_CHARGE; tmp 131 drivers/usb/phy/phy-fsl-usb.c fsl_writel(tmp, &usb_dr_regs->otgsc); tmp 137 drivers/usb/phy/phy-fsl-usb.c u32 tmp; tmp 139 drivers/usb/phy/phy-fsl-usb.c tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; tmp 143 drivers/usb/phy/phy-fsl-usb.c tmp = (tmp & ~OTGSC_CTRL_VBUS_CHARGE) | tmp 147 drivers/usb/phy/phy-fsl-usb.c tmp &= ~OTGSC_CTRL_VBUS_DISCHARGE; tmp 149 drivers/usb/phy/phy-fsl-usb.c fsl_writel(tmp, &usb_dr_regs->otgsc); tmp 155 drivers/usb/phy/phy-fsl-usb.c u32 tmp; tmp 158 drivers/usb/phy/phy-fsl-usb.c tmp = fsl_readl(&usb_dr_regs->portsc) & ~PORTSC_W1C_BITS; tmp 159 drivers/usb/phy/phy-fsl-usb.c fsl_writel(tmp | PORTSC_PORT_POWER, &usb_dr_regs->portsc); tmp 161 drivers/usb/phy/phy-fsl-usb.c tmp = fsl_readl(&usb_dr_regs->portsc) & tmp 163 drivers/usb/phy/phy-fsl-usb.c fsl_writel(tmp, &usb_dr_regs->portsc); tmp 173 drivers/usb/phy/phy-fsl-usb.c u32 tmp; tmp 175 drivers/usb/phy/phy-fsl-usb.c tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; tmp 178 drivers/usb/phy/phy-fsl-usb.c tmp |= OTGSC_CTRL_DATA_PULSING; tmp 180 drivers/usb/phy/phy-fsl-usb.c tmp &= ~OTGSC_CTRL_DATA_PULSING; tmp 182 drivers/usb/phy/phy-fsl-usb.c fsl_writel(tmp, &usb_dr_regs->otgsc); tmp 192 drivers/usb/phy/phy-fsl-usb.c u32 tmp; tmp 194 drivers/usb/phy/phy-fsl-usb.c tmp = fsl_readl(&fsl_otg_dev->dr_mem_map->portsc) & ~PORTSC_W1C_BITS; tmp 196 drivers/usb/phy/phy-fsl-usb.c tmp |= PORTSC_PORT_FORCE_RESUME; tmp 198 drivers/usb/phy/phy-fsl-usb.c tmp |= PORTSC_PORT_SUSPEND; tmp 200 drivers/usb/phy/phy-fsl-usb.c fsl_writel(tmp, &fsl_otg_dev->dr_mem_map->portsc); tmp 207 drivers/usb/phy/phy-fsl-usb.c u32 tmp; tmp 211 drivers/usb/phy/phy-fsl-usb.c tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; tmp 212 drivers/usb/phy/phy-fsl-usb.c tmp |= OTGSC_HA_DATA_PULSE; tmp 213 drivers/usb/phy/phy-fsl-usb.c fsl_writel(tmp, &usb_dr_regs->otgsc); tmp 139 drivers/usb/phy/phy-mv-usb.c u32 tmp; tmp 142 drivers/usb/phy/phy-mv-usb.c tmp = readl(&mvotg->op_regs->usbcmd); tmp 143 drivers/usb/phy/phy-mv-usb.c tmp &= ~USBCMD_RUN_STOP; tmp 144 drivers/usb/phy/phy-mv-usb.c writel(tmp, &mvotg->op_regs->usbcmd); tmp 161 drivers/usb/phy/phy-mv-usb.c tmp = readl(&mvotg->op_regs->usbsts); tmp 162 drivers/usb/phy/phy-mv-usb.c writel(tmp, &mvotg->op_regs->usbsts); tmp 378 drivers/usb/phy/phy-tegra-usb.c u32 tmp; tmp 380 drivers/usb/phy/phy-tegra-usb.c return readl_poll_timeout(reg, tmp, (tmp & mask) == result, tmp 596 drivers/usb/renesas_usbhs/common.c u32 tmp; tmp 659 drivers/usb/renesas_usbhs/common.c if (!of_property_read_u32(dev_of_node(dev), "renesas,buswait", &tmp)) tmp 660 drivers/usb/renesas_usbhs/common.c priv->dparam.buswait_bwait = tmp; tmp 90 drivers/usb/serial/f81232.c u8 *tmp; tmp 93 drivers/usb/serial/f81232.c tmp = kmalloc(sizeof(*val), GFP_KERNEL); tmp 94 drivers/usb/serial/f81232.c if (!tmp) tmp 103 drivers/usb/serial/f81232.c tmp, tmp 115 drivers/usb/serial/f81232.c *val = *tmp; tmp 118 drivers/usb/serial/f81232.c kfree(tmp); tmp 125 drivers/usb/serial/f81232.c u8 *tmp; tmp 128 drivers/usb/serial/f81232.c tmp = kmalloc(sizeof(val), GFP_KERNEL); tmp 129 drivers/usb/serial/f81232.c if (!tmp) tmp 132 drivers/usb/serial/f81232.c *tmp = val; tmp 140 drivers/usb/serial/f81232.c tmp, tmp 154 drivers/usb/serial/f81232.c kfree(tmp); tmp 162 drivers/usb/serial/f81232.c u8 tmp; tmp 164 drivers/usb/serial/f81232.c status = f81232_get_register(port, reg, &tmp); tmp 168 drivers/usb/serial/f81232.c tmp = (tmp & ~mask) | (val & mask); tmp 170 drivers/usb/serial/f81232.c return f81232_set_register(port, reg, tmp); tmp 721 drivers/usb/serial/f81232.c u8 tmp; tmp 726 drivers/usb/serial/f81232.c status = f81232_get_register(port, LINE_STATUS_REGISTER, &tmp); tmp 220 drivers/usb/serial/f81534.c u8 *tmp; tmp 222 drivers/usb/serial/f81534.c tmp = kmalloc(sizeof(u8), GFP_KERNEL); tmp 223 drivers/usb/serial/f81534.c if (!tmp) tmp 226 drivers/usb/serial/f81534.c *tmp = data; tmp 236 drivers/usb/serial/f81534.c reg, 0, tmp, sizeof(u8), tmp 251 drivers/usb/serial/f81534.c kfree(tmp); tmp 261 drivers/usb/serial/f81534.c u8 *tmp; tmp 263 drivers/usb/serial/f81534.c tmp = kmalloc(sizeof(u8), GFP_KERNEL); tmp 264 drivers/usb/serial/f81534.c if (!tmp) tmp 275 drivers/usb/serial/f81534.c reg, 0, tmp, sizeof(u8), tmp 291 drivers/usb/serial/f81534.c *data = *tmp; tmp 294 drivers/usb/serial/f81534.c kfree(tmp); tmp 302 drivers/usb/serial/f81534.c u8 tmp; tmp 304 drivers/usb/serial/f81534.c status = f81534_get_register(serial, reg, &tmp); tmp 308 drivers/usb/serial/f81534.c tmp &= ~mask; tmp 309 drivers/usb/serial/f81534.c tmp |= (mask & data); tmp 311 drivers/usb/serial/f81534.c return f81534_set_register(serial, reg, tmp); tmp 353 drivers/usb/serial/f81534.c u8 tmp; tmp 358 drivers/usb/serial/f81534.c &tmp); tmp 362 drivers/usb/serial/f81534.c if (tmp & F81534_BUS_BUSY) tmp 365 drivers/usb/serial/f81534.c if (tmp & F81534_BUS_IDLE) tmp 378 drivers/usb/serial/f81534.c tmp & ~F81534_BUS_IDLE); tmp 685 drivers/usb/serial/f81534.c u8 tmp; tmp 696 drivers/usb/serial/f81534.c tmp = UART_MCR_OUT2 | port_priv->shadow_mcr; tmp 699 drivers/usb/serial/f81534.c tmp &= ~UART_MCR_DTR; tmp 702 drivers/usb/serial/f81534.c tmp &= ~UART_MCR_RTS; tmp 705 drivers/usb/serial/f81534.c tmp |= UART_MCR_DTR; tmp 708 drivers/usb/serial/f81534.c tmp |= UART_MCR_RTS; tmp 710 drivers/usb/serial/f81534.c status = f81534_set_port_register(port, F81534_MODEM_CONTROL_REG, tmp); tmp 717 drivers/usb/serial/f81534.c port_priv->shadow_mcr = tmp; tmp 733 drivers/usb/serial/f81534.c u8 tmp; tmp 737 drivers/usb/serial/f81534.c &tmp); tmp 745 drivers/usb/serial/f81534.c if (tmp == F81534_CUSTOM_VALID_TOKEN) tmp 1318 drivers/usb/serial/f81534.c u8 tmp; tmp 1323 drivers/usb/serial/f81534.c status = f81534_get_port_register(port, F81534_LINE_STATUS_REG, &tmp); tmp 440 drivers/usb/serial/iuu_phoenix.c unsigned int tmp = 0; tmp 451 drivers/usb/serial/iuu_phoenix.c tmp = (12000000 / lDiv) * (lP / lQ); tmp 452 drivers/usb/serial/iuu_phoenix.c if (abs((int)(tmp - frq)) < tmp 464 drivers/usb/serial/iuu_phoenix.c result = tmp; tmp 290 drivers/usb/serial/mos7720.c struct urbtracker *urbtrack, *tmp; tmp 324 drivers/usb/serial/mos7720.c list_for_each_entry_safe(urbtrack, tmp, &mos_parport->active_urbs, tmp 467 drivers/usb/serial/usb-serial.c char tmp[40]; tmp 487 drivers/usb/serial/usb-serial.c usb_make_path(serial->dev, tmp, sizeof(tmp)); tmp 488 drivers/usb/serial/usb-serial.c seq_printf(m, " path:%s", tmp); tmp 2380 drivers/usb/storage/ene_ub6250.c u8 tmp = 0; tmp 2393 drivers/usb/storage/ene_ub6250.c info->SD_Status = *(struct SD_STATUS *)&tmp; tmp 2394 drivers/usb/storage/ene_ub6250.c info->MS_Status = *(struct MS_STATUS *)&tmp; tmp 2395 drivers/usb/storage/ene_ub6250.c info->SM_Status = *(struct SM_STATUS *)&tmp; tmp 2402 drivers/usb/storage/ene_ub6250.c u8 tmp = 0; tmp 2415 drivers/usb/storage/ene_ub6250.c info->SD_Status = *(struct SD_STATUS *)&tmp; tmp 2416 drivers/usb/storage/ene_ub6250.c info->MS_Status = *(struct MS_STATUS *)&tmp; tmp 2417 drivers/usb/storage/ene_ub6250.c info->SM_Status = *(struct SM_STATUS *)&tmp; tmp 183 drivers/usb/typec/tcpm/wcove.c union acpi_object tmp; tmp 184 drivers/usb/typec/tcpm/wcove.c union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(1, &tmp); tmp 186 drivers/usb/typec/tcpm/wcove.c tmp.type = ACPI_TYPE_INTEGER; tmp 187 drivers/usb/typec/tcpm/wcove.c tmp.integer.value = param; tmp 160 drivers/usb/usbip/stub_dev.c struct stub_unlink *unlink, *tmp; tmp 163 drivers/usb/usbip/stub_dev.c list_for_each_entry_safe(unlink, tmp, &sdev->unlink_tx, list) { tmp 167 drivers/usb/usbip/stub_dev.c list_for_each_entry_safe(unlink, tmp, &sdev->unlink_free, tmp 282 drivers/usb/usbip/stub_main.c struct stub_priv *priv, *tmp; tmp 284 drivers/usb/usbip/stub_main.c list_for_each_entry_safe(priv, tmp, listhead, list) { tmp 135 drivers/usb/usbip/stub_tx.c struct stub_priv *priv, *tmp; tmp 139 drivers/usb/usbip/stub_tx.c list_for_each_entry_safe(priv, tmp, &sdev->priv_tx, list) { tmp 153 drivers/usb/usbip/stub_tx.c struct stub_priv *priv, *tmp; tmp 335 drivers/usb/usbip/stub_tx.c list_for_each_entry_safe(priv, tmp, &sdev->priv_free, list) { tmp 346 drivers/usb/usbip/stub_tx.c struct stub_unlink *unlink, *tmp; tmp 350 drivers/usb/usbip/stub_tx.c list_for_each_entry_safe(unlink, tmp, &sdev->unlink_tx, list) { tmp 364 drivers/usb/usbip/stub_tx.c struct stub_unlink *unlink, *tmp; tmp 407 drivers/usb/usbip/stub_tx.c list_for_each_entry_safe(unlink, tmp, &sdev->unlink_free, list) { tmp 944 drivers/usb/usbip/vhci_hcd.c struct vhci_unlink *unlink, *tmp; tmp 950 drivers/usb/usbip/vhci_hcd.c list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { tmp 15 drivers/usb/usbip/vhci_rx.c struct vhci_priv *priv, *tmp; tmp 19 drivers/usb/usbip/vhci_rx.c list_for_each_entry_safe(priv, tmp, &vdev->priv_rx, list) { tmp 115 drivers/usb/usbip/vhci_rx.c struct vhci_unlink *unlink, *tmp; tmp 120 drivers/usb/usbip/vhci_rx.c list_for_each_entry_safe(unlink, tmp, &vdev->unlink_rx, list) { tmp 36 drivers/usb/usbip/vhci_tx.c struct vhci_priv *priv, *tmp; tmp 41 drivers/usb/usbip/vhci_tx.c list_for_each_entry_safe(priv, tmp, &vdev->priv_tx, list) { tmp 171 drivers/usb/usbip/vhci_tx.c struct vhci_unlink *unlink, *tmp; tmp 176 drivers/usb/usbip/vhci_tx.c list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { tmp 93 drivers/usb/usbip/vudc_dev.c struct urbp *urb_p, *tmp; tmp 100 drivers/usb/usbip/vudc_dev.c list_for_each_entry_safe(urb_p, tmp, &udc->urb_queue, urb_entry) { tmp 306 drivers/usb/usbip/vudc_transfer.c struct urbp *urb_p, *tmp; tmp 338 drivers/usb/usbip/vudc_transfer.c list_for_each_entry_safe(urb_p, tmp, &udc->urb_queue, urb_entry) { tmp 276 drivers/vfio/mdev/mdev_core.c struct mdev_device *mdev, *tmp; tmp 287 drivers/vfio/mdev/mdev_core.c list_for_each_entry(tmp, &mdev_list, next) { tmp 288 drivers/vfio/mdev/mdev_core.c if (guid_equal(&tmp->uuid, uuid)) { tmp 355 drivers/vfio/mdev/mdev_core.c struct mdev_device *mdev, *tmp; tmp 361 drivers/vfio/mdev/mdev_core.c list_for_each_entry(tmp, &mdev_list, next) { tmp 362 drivers/vfio/mdev/mdev_core.c if (tmp == mdev) tmp 366 drivers/vfio/mdev/mdev_core.c if (tmp != mdev) { tmp 168 drivers/vfio/mdev/mdev_sysfs.c struct mdev_type *ltype, *tmp; tmp 170 drivers/vfio/mdev/mdev_sysfs.c list_for_each_entry_safe(ltype, tmp, &parent->type_list, tmp 185 drivers/vfio/mdev/mdev_sysfs.c struct mdev_type *type, *tmp; tmp 187 drivers/vfio/mdev/mdev_sysfs.c list_for_each_entry_safe(type, tmp, &parent->type_list, next) { tmp 77 drivers/vfio/pci/vfio_pci.c struct pci_dev *tmp = NULL, *pdev = vdev->pdev; tmp 88 drivers/vfio/pci/vfio_pci.c while ((tmp = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, tmp)) != NULL) { tmp 89 drivers/vfio/pci/vfio_pci.c if (tmp == pdev || tmp 90 drivers/vfio/pci/vfio_pci.c pci_domain_nr(tmp->bus) != pci_domain_nr(pdev->bus) || tmp 91 drivers/vfio/pci/vfio_pci.c pci_is_root_bus(tmp->bus)) tmp 94 drivers/vfio/pci/vfio_pci.c if (tmp->bus->number >= pdev->bus->number && tmp 95 drivers/vfio/pci/vfio_pci.c tmp->bus->number <= max_busnr) { tmp 96 drivers/vfio/pci/vfio_pci.c pci_dev_put(tmp); tmp 371 drivers/vfio/pci/vfio_pci.c struct vfio_pci_dummy_resource *dummy_res, *tmp; tmp 410 drivers/vfio/pci/vfio_pci.c list_for_each_entry_safe(dummy_res, tmp, tmp 1576 drivers/vfio/pci/vfio_pci.c struct vfio_pci_device *tmp; tmp 1599 drivers/vfio/pci/vfio_pci.c tmp = vfio_device_data(devs.devices[i]); tmp 1600 drivers/vfio/pci/vfio_pci.c if (tmp->needs_reset) { tmp 1608 drivers/vfio/pci/vfio_pci.c tmp = vfio_device_data(devs.devices[i]); tmp 1618 drivers/vfio/pci/vfio_pci.c tmp->needs_reset = false; tmp 1620 drivers/vfio/pci/vfio_pci.c if (tmp != vdev && !disable_idle_d3) tmp 1621 drivers/vfio/pci/vfio_pci.c vfio_pci_set_power_state(tmp, PCI_D3hot); tmp 131 drivers/vfio/pci/vfio_pci_config.c u8 tmp; tmp 132 drivers/vfio/pci/vfio_pci_config.c ret = pci_user_read_config_byte(pdev, offset, &tmp); tmp 133 drivers/vfio/pci/vfio_pci_config.c tmp_val = tmp; tmp 138 drivers/vfio/pci/vfio_pci_config.c u16 tmp; tmp 139 drivers/vfio/pci/vfio_pci_config.c ret = pci_user_read_config_word(pdev, offset, &tmp); tmp 140 drivers/vfio/pci/vfio_pci_config.c tmp_val = tmp; tmp 1191 drivers/vfio/pci/vfio_pci_config.c u32 tmp; tmp 1195 drivers/vfio/pci/vfio_pci_config.c ret = pci_read_config_dword(pdev, pos + PCI_VC_PORT_CAP1, &tmp); tmp 1199 drivers/vfio/pci/vfio_pci_config.c evcc = tmp & PCI_VC_CAP1_EVCC; /* extended vc count */ tmp 1200 drivers/vfio/pci/vfio_pci_config.c ret = pci_read_config_dword(pdev, pos + PCI_VC_PORT_CAP2, &tmp); tmp 1204 drivers/vfio/pci/vfio_pci_config.c if (tmp & PCI_VC_CAP2_128_PHASE) tmp 1206 drivers/vfio/pci/vfio_pci_config.c else if (tmp & PCI_VC_CAP2_64_PHASE) tmp 1208 drivers/vfio/pci/vfio_pci_config.c else if (tmp & PCI_VC_CAP2_32_PHASE) tmp 224 drivers/vfio/vfio.c struct vfio_iommu_driver *driver, *tmp; tmp 235 drivers/vfio/vfio.c list_for_each_entry(tmp, &vfio.iommu_drivers_list, vfio_next) { tmp 236 drivers/vfio/vfio.c if (tmp->ops == ops) { tmp 325 drivers/vfio/vfio.c struct vfio_group *group, *tmp; tmp 365 drivers/vfio/vfio.c list_for_each_entry(tmp, &vfio.group_list, vfio_next) { tmp 366 drivers/vfio/vfio.c if (tmp->iommu_group == iommu_group) { tmp 367 drivers/vfio/vfio.c vfio_group_get(tmp); tmp 369 drivers/vfio/vfio.c return tmp; tmp 403 drivers/vfio/vfio.c struct vfio_unbound_dev *unbound, *tmp; tmp 409 drivers/vfio/vfio.c list_for_each_entry_safe(unbound, tmp, tmp 1800 drivers/vfio/vfio.c struct vfio_info_cap_header *header, *tmp; tmp 1819 drivers/vfio/vfio.c for (tmp = buf; tmp->next; tmp = buf + tmp->next) tmp 1822 drivers/vfio/vfio.c tmp->next = caps->size; tmp 1831 drivers/vfio/vfio.c struct vfio_info_cap_header *tmp; tmp 1834 drivers/vfio/vfio.c for (tmp = buf; tmp->next; tmp = buf + tmp->next - offset) tmp 1835 drivers/vfio/vfio.c tmp->next += offset; tmp 627 drivers/vhost/vhost.c struct vhost_umem_node *node, *tmp; tmp 632 drivers/vhost/vhost.c list_for_each_entry_safe(node, tmp, &umem->umem_list, link) tmp 1021 drivers/vhost/vhost.c struct vhost_umem_node *tmp, *node; tmp 1031 drivers/vhost/vhost.c tmp = list_first_entry(&umem->umem_list, typeof(*tmp), link); tmp 1032 drivers/vhost/vhost.c vhost_umem_free(umem, tmp); tmp 97 drivers/video/backlight/arcxcnn_bl.c u8 tmp; tmp 105 drivers/video/backlight/arcxcnn_bl.c tmp = (u8)ret; tmp 106 drivers/video/backlight/arcxcnn_bl.c tmp &= ~mask; tmp 107 drivers/video/backlight/arcxcnn_bl.c tmp |= data & mask; tmp 109 drivers/video/backlight/arcxcnn_bl.c return i2c_smbus_write_byte_data(lp->client, reg, tmp); tmp 85 drivers/video/backlight/lp855x_bl.c u8 tmp; tmp 93 drivers/video/backlight/lp855x_bl.c tmp = (u8)ret; tmp 94 drivers/video/backlight/lp855x_bl.c tmp &= ~mask; tmp 95 drivers/video/backlight/lp855x_bl.c tmp |= data & mask; tmp 97 drivers/video/backlight/lp855x_bl.c return lp855x_write_byte(lp, reg, tmp); tmp 95 drivers/video/backlight/sky81452-backlight.c char tmp[3]; tmp 107 drivers/video/backlight/sky81452-backlight.c sprintf(tmp, "%d ", i + 1); tmp 108 drivers/video/backlight/sky81452-backlight.c strcat(buf, tmp); tmp 244 drivers/video/console/newport_con.c unsigned int tmp; tmp 257 drivers/video/console/newport_con.c tmp = npregs->set.dcbdata0.bybytes.b3; tmp 258 drivers/video/console/newport_con.c cmap_rev = tmp & 7; tmp 259 drivers/video/console/newport_con.c board_rev = (tmp >> 4) & 7; tmp 260 drivers/video/console/newport_con.c bitplanes = ((board_rev > 1) && (tmp & 0x80)) ? 8 : 24; tmp 264 drivers/video/console/newport_con.c tmp = npregs->set.dcbdata0.bybytes.b3; tmp 265 drivers/video/console/newport_con.c if ((tmp & 7) < cmap_rev) tmp 266 drivers/video/console/newport_con.c cmap_rev = (tmp & 7); tmp 1902 drivers/video/fbdev/amifb.c u_short *tmp = lspr; tmp 1904 drivers/video/fbdev/amifb.c sspr = tmp; tmp 2010 drivers/video/fbdev/amifb.c u_short *tmp = lspr; tmp 2012 drivers/video/fbdev/amifb.c sspr = tmp; tmp 3635 drivers/video/fbdev/amifb.c u_long tmp = DIVUL(200000000000ULL, amiga_eclock); tmp 3637 drivers/video/fbdev/amifb.c pixclock[TAG_SHRES] = (tmp + 4) / 8; /* SHRES: 35 ns / 28 MHz */ tmp 3638 drivers/video/fbdev/amifb.c pixclock[TAG_HIRES] = (tmp + 2) / 4; /* HIRES: 70 ns / 14 MHz */ tmp 3639 drivers/video/fbdev/amifb.c pixclock[TAG_LORES] = (tmp + 1) / 2; /* LORES: 140 ns / 7 MHz */ tmp 2206 drivers/video/fbdev/atafb.c unsigned char tmp = INB(0x3da); \ tmp 2207 drivers/video/fbdev/atafb.c tmp = INB(0x3da); \ tmp 93 drivers/video/fbdev/atafb_utils.h long tmp; tmp 110 drivers/video/fbdev/atafb_utils.h : "=a" (s), "=d" (count), "=d" (tmp) tmp 158 drivers/video/fbdev/atafb_utils.h long tmp; tmp 176 drivers/video/fbdev/atafb_utils.h : "=a" (d), "=a" (s), "=d" (count), "=d" (tmp) tmp 190 drivers/video/fbdev/atafb_utils.h long tmp; tmp 209 drivers/video/fbdev/atafb_utils.h : "=a" (d), "=a" (s), "=d" (count), "=d" (tmp) tmp 282 drivers/video/fbdev/atafb_utils.h u32 tmp = m[0]; tmp 283 drivers/video/fbdev/atafb_utils.h dst[0] = tmp; tmp 284 drivers/video/fbdev/atafb_utils.h dst[2] = (tmp >>= 8); tmp 286 drivers/video/fbdev/atafb_utils.h dst[4] = (tmp >>= 8); tmp 287 drivers/video/fbdev/atafb_utils.h dst[6] = tmp >> 8; tmp 290 drivers/video/fbdev/atafb_utils.h tmp = m[1]; tmp 291 drivers/video/fbdev/atafb_utils.h dst[8] = tmp; tmp 292 drivers/video/fbdev/atafb_utils.h dst[10] = (tmp >>= 8); tmp 293 drivers/video/fbdev/atafb_utils.h dst[12] = (tmp >>= 8); tmp 294 drivers/video/fbdev/atafb_utils.h dst[14] = tmp >> 8; tmp 303 drivers/video/fbdev/atafb_utils.h u32 fgm[2], bgm[2], tmp; tmp 311 drivers/video/fbdev/atafb_utils.h tmp = (mask & fgm[0]) ^ bgm[0]; tmp 312 drivers/video/fbdev/atafb_utils.h dst[0] = tmp; tmp 313 drivers/video/fbdev/atafb_utils.h dst[2] = (tmp >>= 8); tmp 315 drivers/video/fbdev/atafb_utils.h dst[4] = (tmp >>= 8); tmp 316 drivers/video/fbdev/atafb_utils.h dst[6] = tmp >> 8; tmp 319 drivers/video/fbdev/atafb_utils.h tmp = (mask & fgm[1]) ^ bgm[1]; tmp 320 drivers/video/fbdev/atafb_utils.h dst[8] = tmp; tmp 321 drivers/video/fbdev/atafb_utils.h dst[10] = (tmp >>= 8); tmp 322 drivers/video/fbdev/atafb_utils.h dst[12] = (tmp >>= 8); tmp 323 drivers/video/fbdev/atafb_utils.h dst[14] = tmp >> 8; tmp 686 drivers/video/fbdev/aty/aty128fb.c u32 tmp; tmp 688 drivers/video/fbdev/aty/aty128fb.c tmp = aty_ld_le32(PC_NGUI_CTLSTAT); tmp 689 drivers/video/fbdev/aty/aty128fb.c tmp &= ~(0x00ff); tmp 690 drivers/video/fbdev/aty/aty128fb.c tmp |= 0x00ff; tmp 691 drivers/video/fbdev/aty/aty128fb.c aty_st_le32(PC_NGUI_CTLSTAT, tmp); tmp 1291 drivers/video/fbdev/aty/atyfb_base.c u32 tmp, pixclock; tmp 1391 drivers/video/fbdev/aty/atyfb_base.c tmp = aty_ld_le32(MEM_CNTL, par) & 0xf0ffffff; tmp 1394 drivers/video/fbdev/aty/atyfb_base.c tmp |= 0x02000000; tmp 1397 drivers/video/fbdev/aty/atyfb_base.c tmp |= 0x03000000; tmp 1400 drivers/video/fbdev/aty/atyfb_base.c tmp |= 0x06000000; tmp 1403 drivers/video/fbdev/aty/atyfb_base.c aty_st_le32(MEM_CNTL, tmp, par); tmp 1405 drivers/video/fbdev/aty/atyfb_base.c tmp = aty_ld_le32(MEM_CNTL, par) & 0xf00fffff; tmp 1407 drivers/video/fbdev/aty/atyfb_base.c tmp |= par->mem_refresh_rate << 20; tmp 1411 drivers/video/fbdev/aty/atyfb_base.c tmp |= 0x00000000; tmp 1414 drivers/video/fbdev/aty/atyfb_base.c tmp |= 0x04000000; tmp 1417 drivers/video/fbdev/aty/atyfb_base.c tmp |= 0x08000000; tmp 1435 drivers/video/fbdev/aty/atyfb_base.c aty_st_le32(MEM_CNTL, tmp, par); tmp 3397 drivers/video/fbdev/aty/atyfb_base.c u16 tmp; tmp 3428 drivers/video/fbdev/aty/atyfb_base.c pci_read_config_word(pdev, PCI_COMMAND, &tmp); tmp 3429 drivers/video/fbdev/aty/atyfb_base.c if (!(tmp & PCI_COMMAND_MEMORY)) { tmp 3430 drivers/video/fbdev/aty/atyfb_base.c tmp |= PCI_COMMAND_MEMORY; tmp 3431 drivers/video/fbdev/aty/atyfb_base.c pci_write_config_word(pdev, PCI_COMMAND, tmp); tmp 123 drivers/video/fbdev/aty/mach64_ct.c u32 multiplier, divider, ras_multiplier, ras_divider, tmp; tmp 160 drivers/video/fbdev/aty/mach64_ct.c tmp = ((multiplier * pll->fifo_size) << vshift) / divider; tmp 162 drivers/video/fbdev/aty/mach64_ct.c for (dsp_precision = -5; tmp; dsp_precision++) tmp 163 drivers/video/fbdev/aty/mach64_ct.c tmp >>= 1; tmp 181 drivers/video/fbdev/aty/mach64_ct.c tmp = ((ras_multiplier << xshift) + ras_divider) / ras_divider; tmp 182 drivers/video/fbdev/aty/mach64_ct.c if (dsp_on < tmp) tmp 183 drivers/video/fbdev/aty/mach64_ct.c dsp_on = tmp; tmp 184 drivers/video/fbdev/aty/mach64_ct.c dsp_on = dsp_on + (tmp * 2) + (pll->xclkpagefaultdelay << xshift); tmp 188 drivers/video/fbdev/aty/mach64_ct.c tmp = ((1 << (Maximum_DSP_PRECISION - dsp_precision)) - 1) >> 1; tmp 189 drivers/video/fbdev/aty/mach64_ct.c dsp_on = ((dsp_on + tmp) / (tmp + 1)) * (tmp + 1); tmp 191 drivers/video/fbdev/aty/mach64_ct.c if (dsp_on >= ((dsp_off / (tmp + 1)) * (tmp + 1))) { tmp 193 drivers/video/fbdev/aty/mach64_ct.c dsp_on = (dsp_on / (tmp + 1)) * (tmp + 1); tmp 285 drivers/video/fbdev/aty/mach64_ct.c u8 tmp, tmp2; tmp 318 drivers/video/fbdev/aty/mach64_ct.c tmp = aty_ld_pll_ct(VCLK_POST_DIV, par); tmp 319 drivers/video/fbdev/aty/mach64_ct.c tmp &= ~(0x03U << tmp2); tmp 320 drivers/video/fbdev/aty/mach64_ct.c tmp |= ((pll->ct.vclk_post_div & 0x03U) << tmp2); tmp 321 drivers/video/fbdev/aty/mach64_ct.c aty_st_pll_ct(VCLK_POST_DIV, tmp, par); tmp 324 drivers/video/fbdev/aty/mach64_ct.c tmp = aty_ld_pll_ct(PLL_EXT_CNTL, par); tmp 325 drivers/video/fbdev/aty/mach64_ct.c tmp &= ~(0x10U << par->clk_wr_offset); tmp 326 drivers/video/fbdev/aty/mach64_ct.c tmp &= 0xF0U; tmp 327 drivers/video/fbdev/aty/mach64_ct.c tmp |= pll->ct.pll_ext_cntl; tmp 328 drivers/video/fbdev/aty/mach64_ct.c aty_st_pll_ct(PLL_EXT_CNTL, tmp, par); tmp 331 drivers/video/fbdev/aty/mach64_ct.c tmp = VCLK0_FB_DIV + par->clk_wr_offset; tmp 332 drivers/video/fbdev/aty/mach64_ct.c aty_st_pll_ct(tmp, (pll->ct.vclk_fb_div & 0xFFU), par); tmp 380 drivers/video/fbdev/aty/mach64_ct.c u8 tmp, clock; tmp 383 drivers/video/fbdev/aty/mach64_ct.c tmp = clock << 1; tmp 384 drivers/video/fbdev/aty/mach64_ct.c pll->ct.vclk_post_div = (aty_ld_pll_ct(VCLK_POST_DIV, par) >> tmp) & 0x03U; tmp 55 drivers/video/fbdev/aty/mach64_gx.c u8 tmp; tmp 59 drivers/video/fbdev/aty/mach64_gx.c tmp = aty_ld_8(CLOCK_CNTL, par); tmp 60 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(CLOCK_CNTL + par->clk_wr_offset, tmp | CLOCK_STROBE, par); tmp 408 drivers/video/fbdev/aty/mach64_gx.c u8 tmp; tmp 411 drivers/video/fbdev/aty/mach64_gx.c tmp = aty_ld_8(CLOCK_CNTL, par); tmp 413 drivers/video/fbdev/aty/mach64_gx.c (tmp & ~0x04) | (data << 2), par); tmp 415 drivers/video/fbdev/aty/mach64_gx.c tmp = aty_ld_8(CLOCK_CNTL, par); tmp 416 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(CLOCK_CNTL + par->clk_wr_offset, (tmp & ~0x08) | (0 << 3), tmp 421 drivers/video/fbdev/aty/mach64_gx.c tmp = aty_ld_8(CLOCK_CNTL, par); tmp 422 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(CLOCK_CNTL + par->clk_wr_offset, (tmp & ~0x08) | (1 << 3), tmp 699 drivers/video/fbdev/aty/mach64_gx.c char tmp; tmp 709 drivers/video/fbdev/aty/mach64_gx.c tmp = aty_ld_8(DAC_CNTL, par); tmp 710 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(DAC_CNTL, tmp | DAC_EXT_SEL_RS2 | DAC_EXT_SEL_RS3, par); tmp 716 drivers/video/fbdev/aty/mach64_gx.c tmp = aty_ld_8(DAC_CNTL, par); tmp 717 drivers/video/fbdev/aty/mach64_gx.c aty_st_8(DAC_CNTL, (tmp & ~DAC_EXT_SEL_RS2) | DAC_EXT_SEL_RS3, tmp 216 drivers/video/fbdev/aty/radeon_accel.c u32 tmp; tmp 224 drivers/video/fbdev/aty/radeon_accel.c tmp = INREG(RB2D_DSTCACHE_MODE); tmp 225 drivers/video/fbdev/aty/radeon_accel.c OUTREG(RB2D_DSTCACHE_MODE, tmp | (1 << 17)); /* FIXME */ tmp 306 drivers/video/fbdev/aty/radeon_base.c u32 save, tmp; tmp 308 drivers/video/fbdev/aty/radeon_base.c tmp = save & ~(0x3f | PLL_WR_EN); tmp 309 drivers/video/fbdev/aty/radeon_base.c OUTREG(CLOCK_CNTL_INDEX, tmp); tmp 310 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(CLOCK_CNTL_DATA); tmp 318 drivers/video/fbdev/aty/radeon_base.c unsigned int tmp; tmp 321 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(addr); tmp 322 drivers/video/fbdev/aty/radeon_base.c tmp &= (mask); tmp 323 drivers/video/fbdev/aty/radeon_base.c tmp |= (val); tmp 324 drivers/video/fbdev/aty/radeon_base.c OUTREG(addr, tmp); tmp 350 drivers/video/fbdev/aty/radeon_base.c unsigned int tmp; tmp 352 drivers/video/fbdev/aty/radeon_base.c tmp = __INPLL(rinfo, index); tmp 353 drivers/video/fbdev/aty/radeon_base.c tmp &= (mask); tmp 354 drivers/video/fbdev/aty/radeon_base.c tmp |= (val); tmp 355 drivers/video/fbdev/aty/radeon_base.c __OUTPLL(rinfo, index, tmp); tmp 582 drivers/video/fbdev/aty/radeon_base.c unsigned sclk, mclk, tmp, ref_div; tmp 595 drivers/video/fbdev/aty/radeon_base.c tmp = INREG16(DEVICE_ID); tmp 691 drivers/video/fbdev/aty/radeon_base.c tmp = INPLL(M_SPLL_REF_FB_DIV); tmp 694 drivers/video/fbdev/aty/radeon_base.c Ns = (tmp & 0xff0000) >> 16; tmp 695 drivers/video/fbdev/aty/radeon_base.c Nm = (tmp & 0xff00) >> 8; tmp 696 drivers/video/fbdev/aty/radeon_base.c M = (tmp & 0xff); tmp 979 drivers/video/fbdev/aty/radeon_base.c unsigned int tmp; tmp 1000 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(LVDS_GEN_CNTL); tmp 1002 drivers/video/fbdev/aty/radeon_base.c tmp |= (LVDS_ON | LVDS_BLON); tmp 1004 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(LVDS_GEN_CNTL); tmp 1006 drivers/video/fbdev/aty/radeon_base.c tmp &= ~(LVDS_ON | LVDS_BLON); tmp 1009 drivers/video/fbdev/aty/radeon_base.c OUTREG(LVDS_GEN_CNTL, tmp); tmp 1012 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(CRTC_EXT_CNTL); tmp 1013 drivers/video/fbdev/aty/radeon_base.c tmp |= CRTC_CRT_ON; tmp 1017 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(CRTC_EXT_CNTL); tmp 1018 drivers/video/fbdev/aty/radeon_base.c tmp &= ~CRTC_CRT_ON; tmp 1023 drivers/video/fbdev/aty/radeon_base.c OUTREG(CRTC_EXT_CNTL, tmp); tmp 1030 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(LVDS_GEN_CNTL); tmp 1031 drivers/video/fbdev/aty/radeon_base.c if ((LVDS_ON | LVDS_BLON) & tmp) tmp 1034 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(CRTC_EXT_CNTL); tmp 1035 drivers/video/fbdev/aty/radeon_base.c if (CRTC_CRT_ON & tmp) tmp 2110 drivers/video/fbdev/aty/radeon_base.c u32 tmp; tmp 2120 drivers/video/fbdev/aty/radeon_base.c tmp = ((((tom >> 16) - (tom & 0xffff) + 1) << 6) * 1024); tmp 2140 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(CNFG_MEMSIZE); tmp 2144 drivers/video/fbdev/aty/radeon_base.c rinfo->video_ram = tmp & CNFG_MEMSIZE_MASK; tmp 2171 drivers/video/fbdev/aty/radeon_base.c tmp = INREG(MEM_CNTL); tmp 2173 drivers/video/fbdev/aty/radeon_base.c tmp &= R300_MEM_NUM_CHANNELS_MASK; tmp 2174 drivers/video/fbdev/aty/radeon_base.c switch (tmp) { tmp 2183 drivers/video/fbdev/aty/radeon_base.c if (tmp & RV100_MEM_HALF_MODE) tmp 2188 drivers/video/fbdev/aty/radeon_base.c if (tmp & MEM_NUM_CHANNELS_MASK) tmp 73 drivers/video/fbdev/aty/radeon_monitor.c u8 *tmp; tmp 112 drivers/video/fbdev/aty/radeon_monitor.c tmp = kmemdup(pedid, EDID_LENGTH, GFP_KERNEL); tmp 113 drivers/video/fbdev/aty/radeon_monitor.c if (!tmp) tmp 115 drivers/video/fbdev/aty/radeon_monitor.c *out_EDID = tmp; tmp 169 drivers/video/fbdev/aty/radeon_monitor.c unsigned long tmp, tmp0; tmp 176 drivers/video/fbdev/aty/radeon_monitor.c if (!(tmp = BIOS_IN16(rinfo->fp_bios_start + 0x40))) { tmp 183 drivers/video/fbdev/aty/radeon_monitor.c stmp[i] = BIOS_IN8(tmp+i+1); tmp 186 drivers/video/fbdev/aty/radeon_monitor.c rinfo->panel_info.xres = BIOS_IN16(tmp + 25); tmp 187 drivers/video/fbdev/aty/radeon_monitor.c rinfo->panel_info.yres = BIOS_IN16(tmp + 27); tmp 191 drivers/video/fbdev/aty/radeon_monitor.c rinfo->panel_info.pwr_delay = BIOS_IN16(tmp + 44); tmp 199 drivers/video/fbdev/aty/radeon_monitor.c rinfo->panel_info.ref_divider = BIOS_IN16(tmp + 46); tmp 200 drivers/video/fbdev/aty/radeon_monitor.c rinfo->panel_info.post_divider = BIOS_IN8(tmp + 48); tmp 201 drivers/video/fbdev/aty/radeon_monitor.c rinfo->panel_info.fbk_divider = BIOS_IN16(tmp + 49); tmp 212 drivers/video/fbdev/aty/radeon_monitor.c tmp0 = BIOS_IN16(tmp+64+i*2); tmp 257 drivers/video/fbdev/aty/radeon_monitor.c int offset, chips, connectors, tmp, i, conn, type; tmp 280 drivers/video/fbdev/aty/radeon_monitor.c tmp = BIOS_IN8(offset++); tmp 281 drivers/video/fbdev/aty/radeon_monitor.c connectors = tmp & 0x0f; tmp 282 drivers/video/fbdev/aty/radeon_monitor.c pr_debug(" - chip %d has %d connectors\n", tmp >> 4, connectors); tmp 284 drivers/video/fbdev/aty/radeon_monitor.c tmp = BIOS_IN16(offset); tmp 285 drivers/video/fbdev/aty/radeon_monitor.c if (tmp == 0) tmp 288 drivers/video/fbdev/aty/radeon_monitor.c type = (tmp >> 12) & 0x0f; tmp 290 drivers/video/fbdev/aty/radeon_monitor.c conn, type, __conn_type_table[type], tmp); tmp 443 drivers/video/fbdev/aty/radeon_monitor.c int tmp, i; tmp 531 drivers/video/fbdev/aty/radeon_monitor.c (tmp = BIOS_IN16(rinfo->fp_bios_start + 0x50))) { tmp 535 drivers/video/fbdev/aty/radeon_monitor.c if (!BIOS_IN8(tmp + i*2) && i > 1) tmp 537 drivers/video/fbdev/aty/radeon_monitor.c tmp0 = BIOS_IN16(tmp + i*2); tmp 852 drivers/video/fbdev/aty/radeon_monitor.c u32 tmp = INREG(FP_HORZ_STRETCH) & HORZ_PANEL_SIZE; tmp 853 drivers/video/fbdev/aty/radeon_monitor.c rinfo->panel_info.xres = ((tmp >> HORZ_PANEL_SHIFT) + 1) * 8; tmp 854 drivers/video/fbdev/aty/radeon_monitor.c tmp = INREG(FP_VERT_STRETCH) & VERT_PANEL_SIZE; tmp 855 drivers/video/fbdev/aty/radeon_monitor.c rinfo->panel_info.yres = (tmp >> VERT_PANEL_SHIFT) + 1; tmp 132 drivers/video/fbdev/aty/radeon_pm.c u32 tmp; tmp 137 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 138 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~SCLK_CNTL__DYN_STOP_LAT_MASK; tmp 139 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__CP_MAX_DYN_STOP_LAT | SCLK_CNTL__FORCEON_MASK; tmp 140 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 142 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_CNTL); tmp 143 drivers/video/fbdev/aty/radeon_pm.c tmp |= (MCLK_CNTL__FORCE_MCLKA | tmp 149 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 154 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 155 drivers/video/fbdev/aty/radeon_pm.c tmp |= (SCLK_CNTL__FORCE_CP | SCLK_CNTL__FORCE_HDP | tmp 162 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 168 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL2); tmp 169 drivers/video/fbdev/aty/radeon_pm.c tmp |= (SCLK_CNTL2__R300_FORCE_TCL | tmp 172 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL2, tmp); tmp 174 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 175 drivers/video/fbdev/aty/radeon_pm.c tmp |= (SCLK_CNTL__FORCE_DISP2 | SCLK_CNTL__FORCE_CP | tmp 183 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 185 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_MORE_CNTL); tmp 186 drivers/video/fbdev/aty/radeon_pm.c tmp |= (SCLK_MORE_CNTL__FORCE_DISPREGS | SCLK_MORE_CNTL__FORCE_MC_GUI | tmp 188 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_MORE_CNTL, tmp); tmp 190 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_CNTL); tmp 191 drivers/video/fbdev/aty/radeon_pm.c tmp |= (MCLK_CNTL__FORCE_MCLKA | tmp 196 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 198 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllVCLK_ECP_CNTL); tmp 199 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(VCLK_ECP_CNTL__PIXCLK_ALWAYS_ONb | tmp 202 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllVCLK_ECP_CNTL, tmp); tmp 204 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPIXCLKS_CNTL); tmp 205 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(PIXCLKS_CNTL__PIX2CLK_ALWAYS_ONb | tmp 218 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPIXCLKS_CNTL, tmp); tmp 226 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 227 drivers/video/fbdev/aty/radeon_pm.c tmp |= (SCLK_CNTL__FORCE_CP | SCLK_CNTL__FORCE_E2); tmp 233 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__FORCE_HDP| tmp 251 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__FORCE_HDP | tmp 258 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 262 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL2); tmp 263 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL2__R300_FORCE_TCL | tmp 266 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL2, tmp); tmp 270 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllCLK_PIN_CNTL); tmp 271 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~CLK_PIN_CNTL__SCLK_DYN_START_CNTL; tmp 272 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllCLK_PIN_CNTL, tmp); tmp 279 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_CNTL); tmp 280 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(MCLK_CNTL__FORCE_MCLKA | tmp 282 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 287 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_CNTL); tmp 288 drivers/video/fbdev/aty/radeon_pm.c tmp |= (MCLK_CNTL__FORCE_MCLKA | tmp 292 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 295 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_MISC); tmp 296 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(MCLK_MISC__MC_MCLK_MAX_DYN_STOP_LAT| tmp 300 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_MISC, tmp); tmp 305 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_MORE_CNTL); tmp 306 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_MORE_CNTL__FORCE_DISPREGS| tmp 309 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_MORE_CNTL, tmp); tmp 313 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPIXCLKS_CNTL); tmp 314 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(PIXCLKS_CNTL__PIXCLK_GV_ALWAYS_ONb | tmp 321 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPIXCLKS_CNTL, tmp); tmp 324 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL( pllVCLK_ECP_CNTL); tmp 325 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(VCLK_ECP_CNTL__PIXCLK_ALWAYS_ONb | tmp 327 drivers/video/fbdev/aty/radeon_pm.c OUTPLL( pllVCLK_ECP_CNTL, tmp); tmp 333 drivers/video/fbdev/aty/radeon_pm.c u32 tmp; tmp 337 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 340 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(SCLK_CNTL__FORCE_CP | SCLK_CNTL__FORCE_RB); tmp 341 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(SCLK_CNTL__FORCE_HDP | SCLK_CNTL__FORCE_DISP1 | tmp 346 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 352 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL2); tmp 353 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(SCLK_CNTL2__R300_FORCE_TCL | tmp 356 drivers/video/fbdev/aty/radeon_pm.c tmp |= (SCLK_CNTL2__R300_TCL_MAX_DYN_STOP_LAT | tmp 359 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL2, tmp); tmp 361 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 362 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(SCLK_CNTL__FORCE_DISP2 | SCLK_CNTL__FORCE_CP | tmp 370 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__DYN_STOP_LAT_MASK; tmp 371 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 373 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_MORE_CNTL); tmp 374 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~SCLK_MORE_CNTL__FORCEON; tmp 375 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_MORE_CNTL__DISPREGS_MAX_DYN_STOP_LAT | tmp 378 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_MORE_CNTL, tmp); tmp 380 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllVCLK_ECP_CNTL); tmp 381 drivers/video/fbdev/aty/radeon_pm.c tmp |= (VCLK_ECP_CNTL__PIXCLK_ALWAYS_ONb | tmp 383 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllVCLK_ECP_CNTL, tmp); tmp 385 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPIXCLKS_CNTL); tmp 386 drivers/video/fbdev/aty/radeon_pm.c tmp |= (PIXCLKS_CNTL__PIX2CLK_ALWAYS_ONb | tmp 399 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPIXCLKS_CNTL, tmp); tmp 401 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_MISC); tmp 402 drivers/video/fbdev/aty/radeon_pm.c tmp |= (MCLK_MISC__MC_MCLK_DYN_ENABLE | tmp 404 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_MISC, tmp); tmp 406 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_CNTL); tmp 407 drivers/video/fbdev/aty/radeon_pm.c tmp |= (MCLK_CNTL__FORCE_MCLKA | MCLK_CNTL__FORCE_MCLKB); tmp 408 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(MCLK_CNTL__FORCE_YCLKA | tmp 417 drivers/video/fbdev/aty/radeon_pm.c if ((tmp & MCLK_CNTL__R300_DISABLE_MC_MCLKA) && tmp 418 drivers/video/fbdev/aty/radeon_pm.c (tmp & MCLK_CNTL__R300_DISABLE_MC_MCLKB)) { tmp 420 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_CNTL); tmp 423 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~MCLK_CNTL__R300_DISABLE_MC_MCLKB; tmp 425 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~MCLK_CNTL__R300_DISABLE_MC_MCLKA; tmp 427 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(MCLK_CNTL__R300_DISABLE_MC_MCLKA | tmp 431 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 437 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 438 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(SCLK_CNTL__R300_FORCE_VAP); tmp 439 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__FORCE_CP; tmp 440 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 443 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL2); tmp 444 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(SCLK_CNTL2__R300_FORCE_TCL | tmp 447 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL2, tmp); tmp 452 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL( pllCLK_PWRMGT_CNTL); tmp 453 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(CLK_PWRMGT_CNTL__ACTIVE_HILO_LAT_MASK| tmp 456 drivers/video/fbdev/aty/radeon_pm.c tmp |= CLK_PWRMGT_CNTL__ENGINE_DYNCLK_MODE_MASK | tmp 458 drivers/video/fbdev/aty/radeon_pm.c OUTPLL( pllCLK_PWRMGT_CNTL, tmp); tmp 461 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllCLK_PIN_CNTL); tmp 462 drivers/video/fbdev/aty/radeon_pm.c tmp |= CLK_PIN_CNTL__SCLK_DYN_START_CNTL; tmp 463 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllCLK_PIN_CNTL, tmp); tmp 469 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 470 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~SCLK_CNTL__FORCEON_MASK; tmp 477 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__FORCE_CP; tmp 478 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__FORCE_VIP; tmp 480 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 486 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_MORE_CNTL); tmp 487 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~SCLK_MORE_CNTL__FORCEON; tmp 493 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_MORE_CNTL__FORCEON; tmp 495 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_MORE_CNTL, tmp); tmp 504 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPLL_PWRMGT_CNTL); tmp 505 drivers/video/fbdev/aty/radeon_pm.c tmp |= PLL_PWRMGT_CNTL__TCL_BYPASS_DISABLE; tmp 506 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPLL_PWRMGT_CNTL, tmp); tmp 510 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPIXCLKS_CNTL); tmp 511 drivers/video/fbdev/aty/radeon_pm.c tmp |= PIXCLKS_CNTL__PIX2CLK_ALWAYS_ONb | tmp 518 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPIXCLKS_CNTL, tmp); tmp 521 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllVCLK_ECP_CNTL); tmp 522 drivers/video/fbdev/aty/radeon_pm.c tmp |= VCLK_ECP_CNTL__PIXCLK_ALWAYS_ONb | tmp 524 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllVCLK_ECP_CNTL, tmp); tmp 529 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_CNTL); tmp 530 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~(MCLK_CNTL__FORCE_MCLKA | tmp 534 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 537 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_MISC); tmp 538 drivers/video/fbdev/aty/radeon_pm.c tmp |= MCLK_MISC__MC_MCLK_MAX_DYN_STOP_LAT| tmp 542 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_MISC, tmp); tmp 834 drivers/video/fbdev/aty/radeon_pm.c u32 tmp; tmp 952 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL( pllMCLK_MISC) | MCLK_MISC__EN_MCLK_TRISTATE_IN_SUSPEND; tmp 953 drivers/video/fbdev/aty/radeon_pm.c OUTPLL( pllMCLK_MISC, tmp); tmp 989 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL( pllPLL_PWRMGT_CNTL) & ~PLL_PWRMGT_CNTL__PM_MODE_SEL; tmp 990 drivers/video/fbdev/aty/radeon_pm.c OUTPLL( pllPLL_PWRMGT_CNTL, tmp); tmp 1438 drivers/video/fbdev/aty/radeon_pm.c u32 tmp, tmp2; tmp 1444 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(PAD_CTLR_STRENGTH); tmp 1448 drivers/video/fbdev/aty/radeon_pm.c if (tmp != tmp2) { tmp 1449 drivers/video/fbdev/aty/radeon_pm.c tmp = tmp2; tmp 1463 drivers/video/fbdev/aty/radeon_pm.c u32 tmp; tmp 1465 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPPLL_CNTL); tmp 1466 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPPLL_CNTL, tmp | 0x3); tmp 1467 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllP2PLL_CNTL); tmp 1468 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllP2PLL_CNTL, tmp | 0x3); tmp 1469 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSPLL_CNTL); tmp 1470 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSPLL_CNTL, tmp | 0x3); tmp 1471 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMPLL_CNTL); tmp 1472 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMPLL_CNTL, tmp | 0x3); tmp 1477 drivers/video/fbdev/aty/radeon_pm.c u32 tmp; tmp 1480 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 1481 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp & ~SCLK_CNTL__SCLK_SRC_SEL_MASK); tmp 1484 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSPLL_CNTL); tmp 1487 drivers/video/fbdev/aty/radeon_pm.c OUTREG8(CLOCK_CNTL_DATA + 1, (tmp >> 8) & 0xff); tmp 1491 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllM_SPLL_REF_FB_DIV); tmp 1492 drivers/video/fbdev/aty/radeon_pm.c tmp = (tmp & 0xff00fffful) | (rinfo->save_regs[77] & 0x00ff0000ul); tmp 1493 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllM_SPLL_REF_FB_DIV, tmp); tmp 1496 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSPLL_CNTL); tmp 1497 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSPLL_CNTL, tmp & ~1); tmp 1503 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSPLL_CNTL); tmp 1504 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSPLL_CNTL, tmp & ~0x2); tmp 1510 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 1511 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~SCLK_CNTL__SCLK_SRC_SEL_MASK; tmp 1512 drivers/video/fbdev/aty/radeon_pm.c tmp |= rinfo->save_regs[3] & SCLK_CNTL__SCLK_SRC_SEL_MASK; tmp 1513 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 1519 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMPLL_CNTL); tmp 1522 drivers/video/fbdev/aty/radeon_pm.c OUTREG8(CLOCK_CNTL_DATA + 1, (tmp >> 8) & 0xff); tmp 1526 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllM_SPLL_REF_FB_DIV); tmp 1527 drivers/video/fbdev/aty/radeon_pm.c tmp = (tmp & 0xffff00fful) | (rinfo->save_regs[77] & 0x0000ff00ul); tmp 1529 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllM_SPLL_REF_FB_DIV, tmp); tmp 1531 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMPLL_CNTL); tmp 1532 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMPLL_CNTL, tmp & ~0x2); tmp 1538 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMPLL_CNTL); tmp 1539 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMPLL_CNTL, tmp & ~0x1); tmp 1545 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllMCLK_CNTL); tmp 1546 drivers/video/fbdev/aty/radeon_pm.c tmp |= rinfo->save_regs[2] & 0xffff; tmp 1547 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 1584 drivers/video/fbdev/aty/radeon_pm.c u32 r2ec, tmp; tmp 1600 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSSPLL_CNTL); tmp 1601 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSSPLL_CNTL, tmp & ~0x2); tmp 1603 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSSPLL_CNTL); tmp 1604 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSSPLL_CNTL, tmp & ~0x1); tmp 1614 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(LVDS_GEN_CNTL); tmp 1615 drivers/video/fbdev/aty/radeon_pm.c OUTREG(LVDS_GEN_CNTL, tmp | LVDS_EN); tmp 1618 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(LVDS_PLL_CNTL); tmp 1619 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~0x30000; tmp 1620 drivers/video/fbdev/aty/radeon_pm.c tmp |= 0x10000; tmp 1621 drivers/video/fbdev/aty/radeon_pm.c OUTREG(LVDS_PLL_CNTL, tmp); tmp 1632 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSS_TST_CNTL); tmp 1633 drivers/video/fbdev/aty/radeon_pm.c tmp |= 0x00400000; tmp 1634 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSS_TST_CNTL, tmp); tmp 1639 drivers/video/fbdev/aty/radeon_pm.c u32 tmp; tmp 1646 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllVCLK_ECP_CNTL); tmp 1647 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllVCLK_ECP_CNTL, tmp | 0x80); tmp 1650 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPPLL_REF_DIV); tmp 1651 drivers/video/fbdev/aty/radeon_pm.c tmp = (tmp & ~PPLL_REF_DIV_MASK) | rinfo->pll.ref_div; tmp 1652 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPPLL_REF_DIV, tmp); tmp 1658 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPPLL_CNTL); tmp 1661 drivers/video/fbdev/aty/radeon_pm.c OUTREG8(CLOCK_CNTL_DATA + 1, (tmp >> 8) & 0xff); tmp 1669 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPPLL_CNTL); tmp 1670 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPPLL_CNTL, tmp & ~0x2); tmp 1673 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPPLL_CNTL); tmp 1674 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPPLL_CNTL, tmp & ~0x1); tmp 1677 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllVCLK_ECP_CNTL); tmp 1678 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllVCLK_ECP_CNTL, tmp | 3); tmp 1681 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllVCLK_ECP_CNTL); tmp 1682 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllVCLK_ECP_CNTL, tmp | 3); tmp 1726 drivers/video/fbdev/aty/radeon_pm.c u32 tmp, i; tmp 1763 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(TV_DAC_CNTL) & ~TV_DAC_CNTL_BGADJ_MASK; tmp 1764 drivers/video/fbdev/aty/radeon_pm.c tmp |= 8 << TV_DAC_CNTL_BGADJ__SHIFT; tmp 1765 drivers/video/fbdev/aty/radeon_pm.c OUTREG(TV_DAC_CNTL, tmp); tmp 1767 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(TV_DAC_CNTL) & ~TV_DAC_CNTL_DACADJ_MASK; tmp 1768 drivers/video/fbdev/aty/radeon_pm.c tmp |= 7 << TV_DAC_CNTL_DACADJ__SHIFT; tmp 1769 drivers/video/fbdev/aty/radeon_pm.c OUTREG(TV_DAC_CNTL, tmp); tmp 1777 drivers/video/fbdev/aty/radeon_pm.c tmp = rinfo->save_regs[1] tmp 1780 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllCLK_PWRMGT_CNTL, tmp); tmp 1807 drivers/video/fbdev/aty/radeon_pm.c tmp = rinfo->save_regs[2] & 0xff000000; tmp 1808 drivers/video/fbdev/aty/radeon_pm.c tmp |= MCLK_CNTL__FORCE_MCLKA | tmp 1813 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 1816 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL); tmp 1817 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__FORCE_DISP2| tmp 1833 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_CNTL__CP_MAX_DYN_STOP_LAT | tmp 1845 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 1883 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_CNTL2); /* What for ? */ tmp 1884 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL2, tmp); tmp 1886 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_MORE_CNTL); tmp 1887 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_MORE_CNTL__FORCE_DISPREGS | /* a guess */ tmp 1890 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_MORE_CNTL, tmp); tmp 1980 drivers/video/fbdev/aty/radeon_pm.c u32 tmp, i; tmp 2014 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(TV_DAC_CNTL) & ~TV_DAC_CNTL_BGADJ_MASK; tmp 2015 drivers/video/fbdev/aty/radeon_pm.c tmp |= 6 << TV_DAC_CNTL_BGADJ__SHIFT; tmp 2016 drivers/video/fbdev/aty/radeon_pm.c OUTREG(TV_DAC_CNTL, tmp); tmp 2018 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(TV_DAC_CNTL) & ~TV_DAC_CNTL_DACADJ_MASK; tmp 2019 drivers/video/fbdev/aty/radeon_pm.c tmp |= 6 << TV_DAC_CNTL_DACADJ__SHIFT; tmp 2020 drivers/video/fbdev/aty/radeon_pm.c OUTREG(TV_DAC_CNTL, tmp); tmp 2032 drivers/video/fbdev/aty/radeon_pm.c tmp = rinfo->save_regs[1] tmp 2035 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllCLK_PWRMGT_CNTL, tmp); tmp 2047 drivers/video/fbdev/aty/radeon_pm.c tmp = rinfo->save_regs[2] & 0xff000000; tmp 2048 drivers/video/fbdev/aty/radeon_pm.c tmp |= MCLK_CNTL__FORCE_MCLKA | tmp 2054 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllMCLK_CNTL, tmp); tmp 2057 drivers/video/fbdev/aty/radeon_pm.c tmp = 0 | tmp 2072 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_CNTL, tmp); tmp 2105 drivers/video/fbdev/aty/radeon_pm.c tmp = rinfo->save_regs[0]; tmp 2106 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~PLL_PWRMGT_CNTL_SU_SCLK_USE_BCLK; tmp 2107 drivers/video/fbdev/aty/radeon_pm.c tmp |= PLL_PWRMGT_CNTL_SU_MCLK_USE_BCLK; tmp 2108 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(PLL_PWRMGT_CNTL, tmp); tmp 2158 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_MORE_CNTL) & 0x0000ffff; tmp 2159 drivers/video/fbdev/aty/radeon_pm.c tmp |= rinfo->save_regs[34] & 0xffff0000; tmp 2160 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_MORE_CNTL__FORCE_DISPREGS; tmp 2161 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_MORE_CNTL, tmp); tmp 2163 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSCLK_MORE_CNTL) & 0x0000ffff; tmp 2164 drivers/video/fbdev/aty/radeon_pm.c tmp |= rinfo->save_regs[34] & 0xffff0000; tmp 2165 drivers/video/fbdev/aty/radeon_pm.c tmp |= SCLK_MORE_CNTL__FORCE_DISPREGS; tmp 2166 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSCLK_MORE_CNTL, tmp); tmp 2181 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllSSPLL_CNTL); tmp 2182 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~2; tmp 2183 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSSPLL_CNTL, tmp); tmp 2185 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~1; tmp 2186 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSSPLL_CNTL, tmp); tmp 2188 drivers/video/fbdev/aty/radeon_pm.c tmp |= 3; tmp 2189 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllSSPLL_CNTL, tmp); tmp 2219 drivers/video/fbdev/aty/radeon_pm.c u32 tmp, tmp2; tmp 2256 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllVCLK_ECP_CNTL); tmp 2257 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllVCLK_ECP_CNTL, tmp); tmp 2258 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(pllPIXCLKS_CNTL); tmp 2259 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(pllPIXCLKS_CNTL, tmp); tmp 2273 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(M_SPLL_REF_FB_DIV); tmp 2274 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(M_SPLL_REF_FB_DIV, tmp); tmp 2275 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(M_SPLL_REF_FB_DIV); tmp 2276 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(M_SPLL_REF_FB_DIV, tmp | 0xc); tmp 2279 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(MPLL_CNTL); tmp 2282 drivers/video/fbdev/aty/radeon_pm.c OUTREG8(CLOCK_CNTL_DATA + 1, (tmp >> 8) & 0xff); tmp 2285 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(M_SPLL_REF_FB_DIV); tmp 2286 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(M_SPLL_REF_FB_DIV, tmp | 0x5900); tmp 2288 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(MPLL_CNTL); tmp 2289 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(MPLL_CNTL, tmp & ~0x2); tmp 2291 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(MPLL_CNTL); tmp 2292 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(MPLL_CNTL, tmp & ~0x1); tmp 2302 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(SPLL_CNTL); tmp 2305 drivers/video/fbdev/aty/radeon_pm.c OUTREG8(CLOCK_CNTL_DATA + 1, (tmp >> 8) & 0xff); tmp 2308 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(M_SPLL_REF_FB_DIV); tmp 2309 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(M_SPLL_REF_FB_DIV, tmp | 0x780000); tmp 2311 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(SPLL_CNTL); tmp 2312 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(SPLL_CNTL, tmp & ~0x1); tmp 2314 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(SPLL_CNTL); tmp 2315 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(SPLL_CNTL, tmp & ~0x2); tmp 2318 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(SCLK_CNTL); tmp 2319 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(SCLK_CNTL, tmp | 2); tmp 2381 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(FP_GEN_CNTL); tmp 2382 drivers/video/fbdev/aty/radeon_pm.c tmp |= FP_CRTC_DONT_SHADOW_HEND | FP_CRTC_DONT_SHADOW_VPAR | 0x200; tmp 2383 drivers/video/fbdev/aty/radeon_pm.c OUTREG(FP_GEN_CNTL, tmp); tmp 2385 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(DISP_OUTPUT_CNTL); tmp 2386 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~0x400; tmp 2387 drivers/video/fbdev/aty/radeon_pm.c OUTREG(DISP_OUTPUT_CNTL, tmp); tmp 2393 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(MCLK_MISC); tmp 2394 drivers/video/fbdev/aty/radeon_pm.c tmp |= MCLK_MISC__MC_MCLK_DYN_ENABLE | MCLK_MISC__IO_MCLK_DYN_ENABLE; tmp 2395 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(MCLK_MISC, tmp); tmp 2397 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(SCLK_CNTL); tmp 2398 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(SCLK_CNTL, tmp); tmp 2405 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(VCLK_ECP_CNTL); tmp 2406 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(VCLK_ECP_CNTL, tmp); tmp 2408 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(PPLL_CNTL); tmp 2409 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(PPLL_CNTL, tmp); tmp 2413 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(FP_GEN_CNTL); tmp 2415 drivers/video/fbdev/aty/radeon_pm.c tmp |= 2; tmp 2416 drivers/video/fbdev/aty/radeon_pm.c OUTREG(FP_GEN_CNTL, tmp); tmp 2418 drivers/video/fbdev/aty/radeon_pm.c OUTREG(FP_GEN_CNTL, tmp); tmp 2424 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(CRTC_MORE_CNTL); tmp 2425 drivers/video/fbdev/aty/radeon_pm.c OUTREG(CRTC_MORE_CNTL, tmp); tmp 2452 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(PPLL_REF_DIV); tmp 2453 drivers/video/fbdev/aty/radeon_pm.c tmp = (tmp & ~PPLL_REF_DIV_MASK) | rinfo->pll.ref_div; tmp 2454 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(PPLL_REF_DIV, tmp); tmp 2462 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(CLOCK_CNTL_INDEX); tmp 2464 drivers/video/fbdev/aty/radeon_pm.c OUTREG(CLOCK_CNTL_INDEX, tmp & 0xff); tmp 2470 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(PPLL_CNTL); tmp 2471 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(PPLL_CNTL, tmp & ~0x2); tmp 2473 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(PPLL_CNTL); tmp 2474 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(PPLL_CNTL, tmp & ~0x1); tmp 2477 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(VCLK_ECP_CNTL); tmp 2478 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(VCLK_ECP_CNTL, tmp | 3); tmp 2481 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL(VCLK_ECP_CNTL); tmp 2482 drivers/video/fbdev/aty/radeon_pm.c OUTPLL(VCLK_ECP_CNTL, tmp); tmp 2497 drivers/video/fbdev/aty/radeon_pm.c tmp = INREG(TMDS_TRANSMITTER_CNTL); tmp 2499 drivers/video/fbdev/aty/radeon_pm.c tmp |= TMDS_PLL_EN; tmp 2500 drivers/video/fbdev/aty/radeon_pm.c OUTREG(TMDS_TRANSMITTER_CNTL, tmp); tmp 2502 drivers/video/fbdev/aty/radeon_pm.c tmp &= ~TMDS_PLLRST; tmp 2503 drivers/video/fbdev/aty/radeon_pm.c OUTREG(TMDS_TRANSMITTER_CNTL, tmp); tmp 2542 drivers/video/fbdev/aty/radeon_pm.c u32 tmp; tmp 2582 drivers/video/fbdev/aty/radeon_pm.c tmp = INPLL( pllMDLL_CKO) | MDLL_CKO__MCKOA_RESET tmp 2584 drivers/video/fbdev/aty/radeon_pm.c OUTPLL( pllMDLL_CKO, tmp ); tmp 190 drivers/video/fbdev/broadsheetfb.c u16 tmp; tmp 197 drivers/video/fbdev/broadsheetfb.c tmp = (data[i] & 0x0F) << 4; tmp 198 drivers/video/fbdev/broadsheetfb.c tmp |= (data[i] & 0x0F00) << 4; tmp 199 drivers/video/fbdev/broadsheetfb.c par->board->set_hdb(par, tmp); tmp 210 drivers/video/fbdev/broadsheetfb.c u16 tmp; tmp 213 drivers/video/fbdev/broadsheetfb.c tmp = (data[i] & 0x0F) << 4; tmp 214 drivers/video/fbdev/broadsheetfb.c tmp |= (data[i] & 0x0F00) << 4; tmp 215 drivers/video/fbdev/broadsheetfb.c par->board->mmio_write(par, BS_MMIO_DATA, tmp); tmp 319 drivers/video/fbdev/broadsheetfb.c u16 tmp; tmp 335 drivers/video/fbdev/broadsheetfb.c tmp = broadsheet_read_reg(par, 0x0006); tmp 336 drivers/video/fbdev/broadsheetfb.c tmp &= ~0x1; tmp 337 drivers/video/fbdev/broadsheetfb.c broadsheet_write_reg(par, 0x0006, tmp); tmp 367 drivers/video/fbdev/broadsheetfb.c u16 tmp; tmp 370 drivers/video/fbdev/broadsheetfb.c tmp = broadsheet_read_reg(par, reg); tmp 371 drivers/video/fbdev/broadsheetfb.c if (((tmp >> bitnum) & 1) == val) tmp 389 drivers/video/fbdev/broadsheetfb.c u16 tmp; tmp 397 drivers/video/fbdev/broadsheetfb.c tmp = broadsheet_read_reg(par, 0x200); tmp 399 drivers/video/fbdev/broadsheetfb.c *data = tmp & 0xFF; tmp 407 drivers/video/fbdev/broadsheetfb.c u8 tmp; tmp 417 drivers/video/fbdev/broadsheetfb.c err = broadsheet_spiflash_read_byte(par, &tmp); tmp 423 drivers/video/fbdev/broadsheetfb.c if (!(tmp & 0x1)) tmp 441 drivers/video/fbdev/broadsheetfb.c u8 tmp; tmp 451 drivers/video/fbdev/broadsheetfb.c tmp = ((addr >> (i * 8)) & 0xFF); tmp 452 drivers/video/fbdev/broadsheetfb.c err = broadsheet_spiflash_write_byte(par, tmp); tmp 663 drivers/video/fbdev/cirrusfb.c unsigned char tmp; tmp 768 drivers/video/fbdev/cirrusfb.c tmp = hsyncend % 32; tmp 770 drivers/video/fbdev/cirrusfb.c tmp += 128; tmp 771 drivers/video/fbdev/cirrusfb.c dev_dbg(info->device, "CRT5: %d\n", tmp); tmp 772 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, VGA_CRTC_H_SYNC_END, tmp); tmp 777 drivers/video/fbdev/cirrusfb.c tmp = 16; /* LineCompare bit #9 */ tmp 779 drivers/video/fbdev/cirrusfb.c tmp |= 1; tmp 781 drivers/video/fbdev/cirrusfb.c tmp |= 2; tmp 783 drivers/video/fbdev/cirrusfb.c tmp |= 4; tmp 785 drivers/video/fbdev/cirrusfb.c tmp |= 8; tmp 787 drivers/video/fbdev/cirrusfb.c tmp |= 32; tmp 789 drivers/video/fbdev/cirrusfb.c tmp |= 64; tmp 791 drivers/video/fbdev/cirrusfb.c tmp |= 128; tmp 792 drivers/video/fbdev/cirrusfb.c dev_dbg(info->device, "CRT7: %d\n", tmp); tmp 793 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, VGA_CRTC_OVERFLOW, tmp); tmp 795 drivers/video/fbdev/cirrusfb.c tmp = 0x40; /* LineCompare bit #8 */ tmp 797 drivers/video/fbdev/cirrusfb.c tmp |= 0x20; tmp 799 drivers/video/fbdev/cirrusfb.c tmp |= 0x80; tmp 800 drivers/video/fbdev/cirrusfb.c dev_dbg(info->device, "CRT9: %d\n", tmp); tmp 801 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, VGA_CRTC_MAX_SCAN, tmp); tmp 821 drivers/video/fbdev/cirrusfb.c tmp = 0; tmp 823 drivers/video/fbdev/cirrusfb.c tmp |= 1; tmp 825 drivers/video/fbdev/cirrusfb.c tmp |= 16; tmp 827 drivers/video/fbdev/cirrusfb.c tmp |= 32; tmp 829 drivers/video/fbdev/cirrusfb.c tmp |= 64; tmp 831 drivers/video/fbdev/cirrusfb.c tmp |= 128; tmp 833 drivers/video/fbdev/cirrusfb.c dev_dbg(info->device, "CRT1a: %d\n", tmp); tmp 834 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, CL_CRT1A, tmp); tmp 885 drivers/video/fbdev/cirrusfb.c tmp = den << 1; tmp 887 drivers/video/fbdev/cirrusfb.c tmp |= 1; tmp 892 drivers/video/fbdev/cirrusfb.c tmp |= 0x80; tmp 896 drivers/video/fbdev/cirrusfb.c vga_wseq(regbase, CL_SEQRE, tmp); tmp 900 drivers/video/fbdev/cirrusfb.c vga_wseq(regbase, CL_SEQR1E, tmp); tmp 921 drivers/video/fbdev/cirrusfb.c tmp = 0x03 | 0xc; tmp 923 drivers/video/fbdev/cirrusfb.c tmp |= 0x40; tmp 925 drivers/video/fbdev/cirrusfb.c tmp |= 0x80; tmp 926 drivers/video/fbdev/cirrusfb.c WGen(cinfo, VGA_MIS_W, tmp); tmp 1206 drivers/video/fbdev/cirrusfb.c tmp = 0x22; tmp 1208 drivers/video/fbdev/cirrusfb.c tmp |= 0x10; /* offset overflow bit */ tmp 1211 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, CL_CRT1B, tmp); tmp 1218 drivers/video/fbdev/cirrusfb.c tmp = 0; tmp 1220 drivers/video/fbdev/cirrusfb.c tmp |= 128; tmp 1222 drivers/video/fbdev/cirrusfb.c tmp |= 64; tmp 1224 drivers/video/fbdev/cirrusfb.c tmp |= 48; tmp 1226 drivers/video/fbdev/cirrusfb.c tmp |= 8; tmp 1228 drivers/video/fbdev/cirrusfb.c tmp |= 4; tmp 1230 drivers/video/fbdev/cirrusfb.c tmp |= 3; tmp 1232 drivers/video/fbdev/cirrusfb.c vga_wcrt(regbase, CL_CRT1E, tmp); tmp 1233 drivers/video/fbdev/cirrusfb.c dev_dbg(info->device, "CRT1e: %d\n", tmp); tmp 1251 drivers/video/fbdev/cirrusfb.c tmp = 0x01; tmp 1258 drivers/video/fbdev/cirrusfb.c vga_wseq(regbase, VGA_SEQ_CLOCK_MODE, tmp); tmp 1259 drivers/video/fbdev/cirrusfb.c dev_dbg(info->device, "CL_SEQR1: %d\n", tmp); tmp 1318 drivers/video/fbdev/cirrusfb.c unsigned char tmp, xpix; tmp 1346 drivers/video/fbdev/cirrusfb.c tmp = vga_rcrt(cinfo->regbase, CL_CRT1B) & 0xf2; tmp 1349 drivers/video/fbdev/cirrusfb.c tmp |= 0x01; tmp 1351 drivers/video/fbdev/cirrusfb.c tmp |= 0x04; tmp 1353 drivers/video/fbdev/cirrusfb.c tmp |= 0x08; tmp 1355 drivers/video/fbdev/cirrusfb.c vga_wcrt(cinfo->regbase, CL_CRT1B, tmp); tmp 1359 drivers/video/fbdev/cirrusfb.c tmp = vga_rcrt(cinfo->regbase, CL_CRT1D); tmp 1361 drivers/video/fbdev/cirrusfb.c tmp = (tmp & ~0x18) | ((base >> 16) & 0x18); tmp 1363 drivers/video/fbdev/cirrusfb.c tmp = (tmp & ~0x80) | ((base >> 12) & 0x80); tmp 1364 drivers/video/fbdev/cirrusfb.c vga_wcrt(cinfo->regbase, CL_CRT1D, tmp); tmp 2686 drivers/video/fbdev/core/fbcon.c struct vc_data *tmp = vc_cons[i].d; tmp 2692 drivers/video/fbdev/core/fbcon.c tmp->vc_font.width == w && tmp 307 drivers/video/fbdev/core/fbcon_ccw.c char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, tmp 315 drivers/video/fbdev/core/fbcon_ccw.c tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC); tmp 317 drivers/video/fbdev/core/fbcon_ccw.c if (!tmp) { tmp 352 drivers/video/fbdev/core/fbcon_ccw.c tmp[i++] = 0; tmp 355 drivers/video/fbdev/core/fbcon_ccw.c tmp[i++] = 0xff; tmp 357 drivers/video/fbdev/core/fbcon_ccw.c rotate_ccw(tmp, mask, vc->vc_font.width, vc->vc_font.height); tmp 358 drivers/video/fbdev/core/fbcon_ccw.c kfree(tmp); tmp 290 drivers/video/fbdev/core/fbcon_cw.c char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, tmp 298 drivers/video/fbdev/core/fbcon_cw.c tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC); tmp 300 drivers/video/fbdev/core/fbcon_cw.c if (!tmp) { tmp 335 drivers/video/fbdev/core/fbcon_cw.c tmp[i++] = 0; tmp 338 drivers/video/fbdev/core/fbcon_cw.c tmp[i++] = 0xff; tmp 340 drivers/video/fbdev/core/fbcon_cw.c rotate_cw(tmp, mask, vc->vc_font.width, vc->vc_font.height); tmp 341 drivers/video/fbdev/core/fbcon_cw.c kfree(tmp); tmp 25 drivers/video/fbdev/core/fbcon_rotate.h u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; tmp 33 drivers/video/fbdev/core/fbcon_rotate.h u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; tmp 122 drivers/video/fbdev/core/fbmem.c u8 mask = (u8) (0xfff << shift_high), tmp; tmp 127 drivers/video/fbdev/core/fbmem.c tmp = dst[j]; tmp 128 drivers/video/fbdev/core/fbmem.c tmp &= mask; tmp 129 drivers/video/fbdev/core/fbmem.c tmp |= *src >> shift_low; tmp 130 drivers/video/fbdev/core/fbmem.c dst[j] = tmp; tmp 131 drivers/video/fbdev/core/fbmem.c tmp = *src << shift_high; tmp 132 drivers/video/fbdev/core/fbmem.c dst[j+1] = tmp; tmp 135 drivers/video/fbdev/core/fbmem.c tmp = dst[idx]; tmp 136 drivers/video/fbdev/core/fbmem.c tmp &= mask; tmp 137 drivers/video/fbdev/core/fbmem.c tmp |= *src >> shift_low; tmp 138 drivers/video/fbdev/core/fbmem.c dst[idx] = tmp; tmp 140 drivers/video/fbdev/core/fbmem.c tmp = *src << shift_high; tmp 141 drivers/video/fbdev/core/fbmem.c dst[idx+1] = tmp; tmp 388 drivers/video/fbdev/core/fbmem.c u32 tmp; tmp 398 drivers/video/fbdev/core/fbmem.c tmp = image->width; tmp 400 drivers/video/fbdev/core/fbmem.c image->height = tmp; tmp 401 drivers/video/fbdev/core/fbmem.c tmp = image->dy; tmp 403 drivers/video/fbdev/core/fbmem.c image->dx = info->var.xres - image->width - tmp; tmp 407 drivers/video/fbdev/core/fbmem.c tmp = image->width; tmp 409 drivers/video/fbdev/core/fbmem.c image->height = tmp; tmp 410 drivers/video/fbdev/core/fbmem.c tmp = image->dx; tmp 412 drivers/video/fbdev/core/fbmem.c image->dy = info->var.yres - image->height - tmp; tmp 328 drivers/video/fbdev/core/fbmon.c int tmp; tmp 332 drivers/video/fbdev/core/fbmon.c tmp = ((block[5] & (3 << 6)) >> 6) | (block[0x7] << 2); tmp 333 drivers/video/fbdev/core/fbmon.c tmp *= 1000; tmp 334 drivers/video/fbdev/core/fbmon.c tmp += 512; tmp 335 drivers/video/fbdev/core/fbmon.c specs->chroma.redx = tmp/1024; tmp 338 drivers/video/fbdev/core/fbmon.c tmp = ((block[5] & (3 << 4)) >> 4) | (block[0x8] << 2); tmp 339 drivers/video/fbdev/core/fbmon.c tmp *= 1000; tmp 340 drivers/video/fbdev/core/fbmon.c tmp += 512; tmp 341 drivers/video/fbdev/core/fbmon.c specs->chroma.redy = tmp/1024; tmp 344 drivers/video/fbdev/core/fbmon.c tmp = ((block[5] & (3 << 2)) >> 2) | (block[0x9] << 2); tmp 345 drivers/video/fbdev/core/fbmon.c tmp *= 1000; tmp 346 drivers/video/fbdev/core/fbmon.c tmp += 512; tmp 347 drivers/video/fbdev/core/fbmon.c specs->chroma.greenx = tmp/1024; tmp 350 drivers/video/fbdev/core/fbmon.c tmp = (block[5] & 3) | (block[0xa] << 2); tmp 351 drivers/video/fbdev/core/fbmon.c tmp *= 1000; tmp 352 drivers/video/fbdev/core/fbmon.c tmp += 512; tmp 353 drivers/video/fbdev/core/fbmon.c specs->chroma.greeny = tmp/1024; tmp 356 drivers/video/fbdev/core/fbmon.c tmp = ((block[6] & (3 << 6)) >> 6) | (block[0xb] << 2); tmp 357 drivers/video/fbdev/core/fbmon.c tmp *= 1000; tmp 358 drivers/video/fbdev/core/fbmon.c tmp += 512; tmp 359 drivers/video/fbdev/core/fbmon.c specs->chroma.bluex = tmp/1024; tmp 362 drivers/video/fbdev/core/fbmon.c tmp = ((block[6] & (3 << 4)) >> 4) | (block[0xc] << 2); tmp 363 drivers/video/fbdev/core/fbmon.c tmp *= 1000; tmp 364 drivers/video/fbdev/core/fbmon.c tmp += 512; tmp 365 drivers/video/fbdev/core/fbmon.c specs->chroma.bluey = tmp/1024; tmp 368 drivers/video/fbdev/core/fbmon.c tmp = ((block[6] & (3 << 2)) >> 2) | (block[0xd] << 2); tmp 369 drivers/video/fbdev/core/fbmon.c tmp *= 1000; tmp 370 drivers/video/fbdev/core/fbmon.c tmp += 512; tmp 371 drivers/video/fbdev/core/fbmon.c specs->chroma.whitex = tmp/1024; tmp 374 drivers/video/fbdev/core/fbmon.c tmp = (block[6] & 3) | (block[0xe] << 2); tmp 375 drivers/video/fbdev/core/fbmon.c tmp *= 1000; tmp 376 drivers/video/fbdev/core/fbmon.c tmp += 512; tmp 377 drivers/video/fbdev/core/fbmon.c specs->chroma.whitey = tmp/1024; tmp 380 drivers/video/fbdev/gxt4500.c u32 ctrlreg, tmp; tmp 399 drivers/video/fbdev/gxt4500.c tmp = readreg(par, PLL_C) & ~0x7f; tmp 401 drivers/video/fbdev/gxt4500.c tmp |= 0x29; tmp 403 drivers/video/fbdev/gxt4500.c tmp |= 0x35; tmp 405 drivers/video/fbdev/gxt4500.c tmp |= 0x76; tmp 407 drivers/video/fbdev/gxt4500.c tmp |= 0x7e; tmp 408 drivers/video/fbdev/gxt4500.c writereg(par, PLL_C, tmp); tmp 411 drivers/video/fbdev/gxt4500.c tmp = ((8 - par->pll_pd2) << 3) | (8 - par->pll_pd1); tmp 414 drivers/video/fbdev/gxt4500.c writereg(par, PLL_POSTDIV, tmp | 0x9); tmp 417 drivers/video/fbdev/gxt4500.c writereg(par, PLL_POSTDIV, tmp); tmp 1004 drivers/video/fbdev/i740fb.c int ret, tmp; tmp 1054 drivers/video/fbdev/i740fb.c tmp = i740inreg(par, XRX, DRAM_ROW_CNTL_LO); tmp 1055 drivers/video/fbdev/i740fb.c par->has_sgram = !((tmp & DRAM_RAS_TIMING) || tmp 1056 drivers/video/fbdev/i740fb.c (tmp & DRAM_RAS_PRECHARGE)); tmp 286 drivers/video/fbdev/i810/i810_accel.c u32 tmp; tmp 289 drivers/video/fbdev/i810/i810_accel.c tmp = i810_readl(IRING + 12, mmio); tmp 291 drivers/video/fbdev/i810/i810_accel.c tmp &= ~1; tmp 293 drivers/video/fbdev/i810/i810_accel.c tmp |= 1; tmp 295 drivers/video/fbdev/i810/i810_accel.c i810_writel(IRING + 12, mmio, tmp); tmp 326 drivers/video/fbdev/i810/i810_main.c u32 tmp; tmp 331 drivers/video/fbdev/i810/i810_main.c tmp = i810_readl(PIXCONF, mmio); tmp 332 drivers/video/fbdev/i810/i810_main.c tmp |= 1 | 1 << 20; tmp 333 drivers/video/fbdev/i810/i810_main.c i810_writel(PIXCONF, mmio, tmp); tmp 369 drivers/video/fbdev/i810/i810_main.c u32 tmp, pitch; tmp 381 drivers/video/fbdev/i810/i810_main.c tmp = pitch & 0xFF; tmp 383 drivers/video/fbdev/i810/i810_main.c i810_writeb(CR_DATA_CGA, mmio, (u8) tmp); tmp 385 drivers/video/fbdev/i810/i810_main.c tmp = pitch >> 8; tmp 389 drivers/video/fbdev/i810/i810_main.c i810_writeb(CR_DATA_CGA, mmio, (u8) tmp | val); tmp 544 drivers/video/fbdev/i810/i810_main.c u8 tmp; tmp 548 drivers/video/fbdev/i810/i810_main.c tmp = i810_readb(GR_DATA, mmio); tmp 549 drivers/video/fbdev/i810/i810_main.c tmp &= ADDR_MAP_MASK; tmp 550 drivers/video/fbdev/i810/i810_main.c tmp |= par->hw_state.gr10; tmp 552 drivers/video/fbdev/i810/i810_main.c i810_writeb(GR_DATA, mmio, tmp); tmp 1221 drivers/video/fbdev/i810/i810_main.c u8 tmp; tmp 1223 drivers/video/fbdev/i810/i810_main.c i810_read_dac(regno * 8, red, &tmp, blue, mmio); tmp 1224 drivers/video/fbdev/i810/i810_main.c i810_read_dac(regno * 4, &tmp, green, &tmp, mmio); tmp 1497 drivers/video/fbdev/i810/i810_main.c u32 tmp; tmp 1499 drivers/video/fbdev/i810/i810_main.c tmp = (cursor->image.dx - info->var.xoffset) & 0xffff; tmp 1500 drivers/video/fbdev/i810/i810_main.c tmp |= (cursor->image.dy - info->var.yoffset) << 16; tmp 1501 drivers/video/fbdev/i810/i810_main.c i810_writel(CURPOS, mmio, tmp); tmp 1352 drivers/video/fbdev/imsttfb.c __u32 i, tmp, *ip, *end; tmp 1354 drivers/video/fbdev/imsttfb.c tmp = read_reg_le32(par->dc_regs, PRC); tmp 1356 drivers/video/fbdev/imsttfb.c info->fix.smem_len = (tmp & 0x0004) ? 0x400000 : 0x200000; tmp 1366 drivers/video/fbdev/imsttfb.c tmp = read_reg_le32(par->dc_regs, STGCTL); tmp 1367 drivers/video/fbdev/imsttfb.c write_reg_le32(par->dc_regs, STGCTL, tmp & ~0x1); tmp 1461 drivers/video/fbdev/imsttfb.c tmp = (read_reg_le32(par->dc_regs, SSTATUS) & 0x0f00) >> 8; tmp 1463 drivers/video/fbdev/imsttfb.c info->fix.id, info->fix.smem_len >> 20, tmp); tmp 357 drivers/video/fbdev/imxfb.c unsigned long long tmp; tmp 387 drivers/video/fbdev/imxfb.c tmp = var->pixclock * (unsigned long long)lcd_clk; tmp 389 drivers/video/fbdev/imxfb.c do_div(tmp, 1000000); tmp 391 drivers/video/fbdev/imxfb.c if (do_div(tmp, 1000000) > 500000) tmp 392 drivers/video/fbdev/imxfb.c tmp++; tmp 394 drivers/video/fbdev/imxfb.c pcr = (unsigned int)tmp; tmp 69 drivers/video/fbdev/intelfb/intelfbhw.c u32 tmp; tmp 92 drivers/video/fbdev/intelfb/intelfbhw.c tmp = 0; tmp 95 drivers/video/fbdev/intelfb/intelfbhw.c pci_read_config_dword(pdev, INTEL_85X_CAPID, &tmp); tmp 96 drivers/video/fbdev/intelfb/intelfbhw.c switch ((tmp >> INTEL_85X_VARIANT_SHIFT) & tmp 177 drivers/video/fbdev/intelfb/intelfbhw.c u16 tmp; tmp 192 drivers/video/fbdev/intelfb/intelfbhw.c tmp = 0; tmp 193 drivers/video/fbdev/intelfb/intelfbhw.c pci_read_config_word(bridge_dev, INTEL_GMCH_CTRL, &tmp); tmp 213 drivers/video/fbdev/intelfb/intelfbhw.c if ((tmp & INTEL_GMCH_MEM_MASK) == INTEL_GMCH_MEM_64M) tmp 226 drivers/video/fbdev/intelfb/intelfbhw.c switch (tmp & INTEL_830_GMCH_GMS_MASK) { tmp 244 drivers/video/fbdev/intelfb/intelfbhw.c tmp & INTEL_830_GMCH_GMS_MASK); tmp 249 drivers/video/fbdev/intelfb/intelfbhw.c switch (tmp & INTEL_855_GMCH_GMS_MASK) { tmp 276 drivers/video/fbdev/intelfb/intelfbhw.c tmp & INTEL_855_GMCH_GMS_MASK); tmp 317 drivers/video/fbdev/intelfb/intelfbhw.c int tmp; tmp 328 drivers/video/fbdev/intelfb/intelfbhw.c tmp = var->yres_virtual * var->xres_virtual * bytes_per_pixel; tmp 329 drivers/video/fbdev/intelfb/intelfbhw.c if (tmp > dinfo->fb.size) { tmp 332 drivers/video/fbdev/intelfb/intelfbhw.c BtoKB(tmp), BtoKB(dinfo->fb.size)); tmp 368 drivers/video/fbdev/intelfb/intelfbhw.c tmp = 1000000000 / var->pixclock; tmp 369 drivers/video/fbdev/intelfb/intelfbhw.c if (tmp < MIN_CLOCK) { tmp 371 drivers/video/fbdev/intelfb/intelfbhw.c (tmp + 500) / 1000, MIN_CLOCK / 1000); tmp 374 drivers/video/fbdev/intelfb/intelfbhw.c if (tmp > MAX_CLOCK) { tmp 376 drivers/video/fbdev/intelfb/intelfbhw.c (tmp + 500) / 1000, MAX_CLOCK / 1000); tmp 420 drivers/video/fbdev/intelfb/intelfbhw.c u32 tmp; tmp 427 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(DSPACNTR); tmp 429 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~DISPPLANE_PLANE_ENABLE; tmp 431 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= DISPPLANE_PLANE_ENABLE; tmp 432 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(DSPACNTR, tmp); tmp 434 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(DSPABASE); tmp 435 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(DSPABASE, tmp); tmp 451 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(ADPA) & ~ADPA_DPMS_CONTROL_MASK; tmp 455 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= ADPA_DPMS_D0; tmp 458 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= ADPA_DPMS_D1; tmp 461 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= ADPA_DPMS_D2; tmp 464 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= ADPA_DPMS_D3; tmp 467 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(ADPA, tmp); tmp 1280 drivers/video/fbdev/intelfb/intelfbhw.c u32 tmp; tmp 1296 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(VGACNTRL); tmp 1297 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= VGA_DISABLE; tmp 1298 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(VGACNTRL, tmp); tmp 1353 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(pipe_conf_reg); tmp 1354 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~PIPECONF_ENABLE; tmp 1355 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(pipe_conf_reg, tmp); tmp 1365 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(pipe_conf_reg); tmp 1366 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~PIPECONF_ENABLE; tmp 1367 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(pipe_conf_reg, tmp); tmp 1374 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(DSPACNTR); tmp 1375 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~DISPPLANE_PLANE_ENABLE; tmp 1376 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(DSPACNTR, tmp); tmp 1377 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(DSPBCNTR); tmp 1378 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~DISPPLANE_PLANE_ENABLE; tmp 1379 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(DSPBCNTR, tmp); tmp 1389 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(ADPA); tmp 1390 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~ADPA_DPMS_CONTROL_MASK; tmp 1391 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= ADPA_DPMS_D3; tmp 1392 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(ADPA, tmp); tmp 1398 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(dpll_reg); tmp 1399 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~DPLL_VCO_ENABLE; tmp 1400 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(dpll_reg, tmp); tmp 1444 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(ADPA); tmp 1445 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~ADPA_DPMS_CONTROL_MASK; tmp 1446 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= ADPA_DPMS_D0; tmp 1447 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(ADPA, tmp); tmp 1456 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(DSPACNTR); tmp 1457 drivers/video/fbdev/intelfb/intelfbhw.c if ((tmp & DISPPLANE_PLANE_ENABLE) != DISPPLANE_PLANE_ENABLE) { tmp 1458 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= DISPPLANE_PLANE_ENABLE; tmp 1459 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(DSPACNTR, tmp); tmp 1472 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(DSPACNTR); tmp 1473 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= DISPPLANE_PLANE_ENABLE; tmp 1474 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(DSPACNTR, tmp); tmp 1587 drivers/video/fbdev/intelfb/intelfbhw.c u32 tmp; tmp 1597 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(PRI_RING_LENGTH); tmp 1598 drivers/video/fbdev/intelfb/intelfbhw.c if (tmp & RING_ENABLE) { tmp 1751 drivers/video/fbdev/intelfb/intelfbhw.c int nbytes, ndwords, pad, tmp; tmp 1782 drivers/video/fbdev/intelfb/intelfbhw.c tmp = (XY_MONO_SRC_IMM_BLT_CMD & DW_LENGTH_MASK) + ndwords; tmp 1783 drivers/video/fbdev/intelfb/intelfbhw.c br00 = (XY_MONO_SRC_IMM_BLT_CMD & ~DW_LENGTH_MASK) | tmp; tmp 1838 drivers/video/fbdev/intelfb/intelfbhw.c u32 tmp; tmp 1847 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(CURSOR_A_CONTROL); tmp 1848 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~(CURSOR_MODE_MASK | CURSOR_MOBILE_GAMMA_ENABLE | tmp 1851 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= CURSOR_MODE_DISABLE; tmp 1852 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_CONTROL, tmp); tmp 1855 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(CURSOR_CONTROL); tmp 1856 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~(CURSOR_FORMAT_MASK | CURSOR_GAMMA_ENABLE | tmp 1858 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= CURSOR_FORMAT_3C; tmp 1859 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_CONTROL, tmp); tmp 1861 drivers/video/fbdev/intelfb/intelfbhw.c tmp = (64 << CURSOR_SIZE_H_SHIFT) | tmp 1863 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_SIZE, tmp); tmp 1869 drivers/video/fbdev/intelfb/intelfbhw.c u32 tmp; tmp 1879 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(CURSOR_A_CONTROL); tmp 1880 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~CURSOR_MODE_MASK; tmp 1881 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= CURSOR_MODE_DISABLE; tmp 1882 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_CONTROL, tmp); tmp 1886 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(CURSOR_CONTROL); tmp 1887 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~CURSOR_ENABLE; tmp 1888 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_CONTROL, tmp); tmp 1894 drivers/video/fbdev/intelfb/intelfbhw.c u32 tmp; tmp 1908 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(CURSOR_A_CONTROL); tmp 1909 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= ~CURSOR_MODE_MASK; tmp 1910 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= CURSOR_MODE_64_4C_AX; tmp 1911 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_CONTROL, tmp); tmp 1915 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG(CURSOR_CONTROL); tmp 1916 drivers/video/fbdev/intelfb/intelfbhw.c tmp |= CURSOR_ENABLE; tmp 1917 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_CONTROL, tmp); tmp 1923 drivers/video/fbdev/intelfb/intelfbhw.c u32 tmp; tmp 1935 drivers/video/fbdev/intelfb/intelfbhw.c tmp = ((x & CURSOR_POS_MASK) << CURSOR_X_SHIFT) | tmp 1937 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG(CURSOR_A_POSITION, tmp); tmp 2007 drivers/video/fbdev/intelfb/intelfbhw.c u16 tmp; tmp 2012 drivers/video/fbdev/intelfb/intelfbhw.c tmp = INREG16(IIR); tmp 2014 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= PIPE_A_EVENT_INTERRUPT; tmp 2016 drivers/video/fbdev/intelfb/intelfbhw.c tmp &= VSYNC_PIPE_A_INTERRUPT; /* non-interlaced */ tmp 2018 drivers/video/fbdev/intelfb/intelfbhw.c if (tmp == 0) { tmp 2026 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG16(IIR, tmp); tmp 2042 drivers/video/fbdev/intelfb/intelfbhw.c u16 tmp; tmp 2057 drivers/video/fbdev/intelfb/intelfbhw.c tmp = PIPE_A_EVENT_INTERRUPT; tmp 2059 drivers/video/fbdev/intelfb/intelfbhw.c tmp = VSYNC_PIPE_A_INTERRUPT; /* non-interlaced */ tmp 2060 drivers/video/fbdev/intelfb/intelfbhw.c if (tmp != INREG16(IER)) { tmp 2061 drivers/video/fbdev/intelfb/intelfbhw.c DBG_MSG("changing IER to 0x%X\n", tmp); tmp 2062 drivers/video/fbdev/intelfb/intelfbhw.c OUTREG16(IER, tmp); tmp 248 drivers/video/fbdev/kyro/STG4000InitDevice.c u32 tmp; tmp 254 drivers/video/fbdev/kyro/STG4000InitDevice.c tmp = STG_READ_REG(Thread0Enable); tmp 256 drivers/video/fbdev/kyro/STG4000InitDevice.c STG_WRITE_REG(Thread0Enable, tmp); tmp 259 drivers/video/fbdev/kyro/STG4000InitDevice.c tmp = STG_READ_REG(Thread1Enable); tmp 261 drivers/video/fbdev/kyro/STG4000InitDevice.c STG_WRITE_REG(Thread1Enable, tmp); tmp 292 drivers/video/fbdev/kyro/STG4000InitDevice.c tmp = ((CORE_PLL_MODE_REG_0_7 << 8) | (core_pll & 0x00FF)); tmp 293 drivers/video/fbdev/kyro/STG4000InitDevice.c pci_write_config_word(pDev, CorePllControl, tmp); tmp 299 drivers/video/fbdev/kyro/STG4000InitDevice.c tmp |= SET_BIT(14); tmp 300 drivers/video/fbdev/kyro/STG4000InitDevice.c pci_write_config_word(pDev, CorePllControl, tmp); tmp 304 drivers/video/fbdev/kyro/STG4000InitDevice.c tmp = tmp 306 drivers/video/fbdev/kyro/STG4000InitDevice.c pci_write_config_word(pDev, CorePllControl, tmp); tmp 309 drivers/video/fbdev/kyro/STG4000InitDevice.c tmp |= SET_BIT(14); tmp 310 drivers/video/fbdev/kyro/STG4000InitDevice.c pci_write_config_word(pDev, CorePllControl, tmp); tmp 317 drivers/video/fbdev/kyro/STG4000InitDevice.c tmp = ((STG_READ_REG(Thread0Enable)) | SET_BIT(0)); tmp 318 drivers/video/fbdev/kyro/STG4000InitDevice.c STG_WRITE_REG(Thread0Enable, tmp); tmp 321 drivers/video/fbdev/kyro/STG4000InitDevice.c tmp = ((STG_READ_REG(Thread1Enable)) | SET_BIT(0)); tmp 322 drivers/video/fbdev/kyro/STG4000InitDevice.c STG_WRITE_REG(Thread1Enable, tmp); tmp 81 drivers/video/fbdev/kyro/STG4000OverlayDevice.c u32 tmp; tmp 84 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlayAddr); tmp 87 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlayAddr, tmp); tmp 90 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlayUAddr); tmp 92 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlayUAddr, tmp); tmp 95 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlayVAddr); tmp 97 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlayVAddr, tmp); tmp 100 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlaySize); tmp 103 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlaySize, tmp); tmp 106 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG4000_NO_DECIMATION; tmp 107 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlayVtDec, tmp); tmp 110 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACPixelFormat); tmp 113 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACPixelFormat, tmp); tmp 116 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACVerticalScal); tmp 119 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= STG4000_NO_SCALING; /* Set to no scaling */ tmp 120 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACVerticalScal, tmp); tmp 123 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACHorizontalScal); tmp 126 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= STG4000_NO_SCALING; /* Set to no scaling */ tmp 127 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACHorizontalScal, tmp); tmp 133 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACBlendCtrl); tmp 135 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = (GRAPHICS_MODE << 28); tmp 136 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACBlendCtrl, tmp); tmp 147 drivers/video/fbdev/kyro/STG4000OverlayDevice.c u32 tmp; tmp 176 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlayAddr); tmp 181 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= SET_BIT(31); /* Overlay format to Planer */ tmp 185 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= (ulOverlayOffset >> 4); tmp 186 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlayAddr, tmp); tmp 206 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlayUAddr); tmp 208 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= (ulOffset >> 4); tmp 209 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlayUAddr, tmp); tmp 216 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlayVAddr); tmp 218 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= (ulOffset >> 4); tmp 219 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlayVAddr, tmp); tmp 228 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACPixelFormat); tmp 231 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACPixelFormat, tmp); tmp 246 drivers/video/fbdev/kyro/STG4000OverlayDevice.c u32 tmp; tmp 248 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACBlendCtrl); tmp 250 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= (mode << 28); tmp 255 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= (ulColorKey & 0x00FFFFFF); tmp 260 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= ((ulAlpha & 0xF) << 24); tmp 265 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= (ulColorKey & 0x00FFFFFF); tmp 270 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= (ulColorKey & 0x00FFFFFF); tmp 272 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= ((ulAlpha & 0xF) << 24); tmp 283 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACBlendCtrl, tmp); tmp 290 drivers/video/fbdev/kyro/STG4000OverlayDevice.c u32 tmp; tmp 292 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACPixelFormat); tmp 293 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= SET_BIT(7); tmp 294 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACPixelFormat, tmp); tmp 297 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACStreamCtrl); tmp 298 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= SET_BIT(1); /* video stream */ tmp 299 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACStreamCtrl, tmp); tmp 342 drivers/video/fbdev/kyro/STG4000OverlayDevice.c u32 tmp, ulStride; tmp 412 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlayVtDec); /* Decimation */ tmp 414 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = ulPattern; tmp 415 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlayVtDec, tmp); tmp 548 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACVerticalScal); tmp 557 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= ((ulStride << 16) | (ulDacYScale)); /* DAC_LS_CTRL = stride */ tmp 558 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACVerticalScal, tmp); tmp 563 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACOverlaySize); tmp 568 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= tmp 572 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= tmp 577 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACOverlaySize, tmp); tmp 580 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = ((ulLeft << 16)) | (srcDest.ulDstY1); tmp 581 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACVidWinStart, tmp); tmp 584 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = ((ulRight) << 16) | (srcDest.ulDstY2); tmp 585 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACVidWinEnd, tmp); tmp 590 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACPixelFormat); tmp 591 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = ((ulExcessPixels << 16) | tmp) & 0x7fffffff; tmp 592 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACPixelFormat, tmp); tmp 594 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp = STG_READ_REG(DACHorizontalScal); tmp 597 drivers/video/fbdev/kyro/STG4000OverlayDevice.c tmp |= ((ulhDecim << 16) | (ulDacXScale)); tmp 598 drivers/video/fbdev/kyro/STG4000OverlayDevice.c STG_WRITE_REG(DACHorizontalScal, tmp); tmp 29 drivers/video/fbdev/kyro/STG4000Ramdac.c u32 tmp = 0; tmp 35 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(SoftwareReset); tmp 37 drivers/video/fbdev/kyro/STG4000Ramdac.c if (tmp & 0x1) { tmp 39 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(SoftwareReset, tmp); tmp 43 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACPixelFormat); tmp 53 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp |= _16BPP; tmp 60 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp |= _32BPP; tmp 67 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACPixelFormat, tmp); tmp 76 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACPrimSize); tmp 79 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp |= tmp 83 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACPrimSize, tmp); tmp 90 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACPLLMode); tmp 93 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp |= ((P) | ((F - 2) << 2) | ((R - 2) << 11)); tmp 94 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACPLLMode, tmp); tmp 97 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACPrimAddress); tmp 100 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACPrimAddress, tmp); tmp 103 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACCursorCtrl); tmp 104 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp &= ~SET_BIT(31); tmp 105 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACCursorCtrl, tmp); tmp 107 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACCursorAddr); tmp 109 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACCursorAddr, tmp); tmp 112 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACVidWinStart); tmp 115 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACVidWinStart, tmp); tmp 117 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACVidWinEnd); tmp 120 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACVidWinEnd, tmp); tmp 123 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACBorderColor); tmp 125 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACBorderColor, tmp); tmp 131 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DACCrcTrigger); tmp 133 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACCrcTrigger, tmp); tmp 136 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = STG_READ_REG(DigVidPortCtrl); tmp 141 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DigVidPortCtrl, tmp); tmp 149 drivers/video/fbdev/kyro/STG4000Ramdac.c u32 tmp; tmp 152 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = (STG_READ_REG(DACStreamCtrl)) & ~SET_BIT(0); tmp 153 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACStreamCtrl, tmp); tmp 158 drivers/video/fbdev/kyro/STG4000Ramdac.c u32 tmp; tmp 161 drivers/video/fbdev/kyro/STG4000Ramdac.c tmp = (STG_READ_REG(DACStreamCtrl)) | SET_BIT(0); tmp 162 drivers/video/fbdev/kyro/STG4000Ramdac.c STG_WRITE_REG(DACStreamCtrl, tmp); tmp 32 drivers/video/fbdev/kyro/STG4000Reg.h #define CLEAR_BIT(n) (tmp &= ~(1<<n)) tmp 38 drivers/video/fbdev/kyro/STG4000Reg.h tmp &= ~(1<<i); \ tmp 19 drivers/video/fbdev/kyro/STG4000VTG.c u32 tmp; tmp 23 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(SoftwareReset); tmp 25 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(SoftwareReset, tmp); tmp 33 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(SoftwareReset); tmp 34 drivers/video/fbdev/kyro/STG4000VTG.c tmp |= SET_BIT(8); tmp 35 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(SoftwareReset, tmp); tmp 40 drivers/video/fbdev/kyro/STG4000VTG.c u32 tmp = 0; tmp 43 drivers/video/fbdev/kyro/STG4000VTG.c tmp = (STG_READ_REG(DACSyncCtrl)) | SET_BIT(0) | SET_BIT(2); tmp 45 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACSyncCtrl, tmp); tmp 50 drivers/video/fbdev/kyro/STG4000VTG.c u32 tmp = 0; tmp 53 drivers/video/fbdev/kyro/STG4000VTG.c tmp = ((STG_READ_REG(DACSyncCtrl)) | SET_BIT(31)); tmp 56 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACSyncCtrl, tmp); tmp 62 drivers/video/fbdev/kyro/STG4000VTG.c u32 tmp = 0; tmp 119 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(DACHorTim1); tmp 122 drivers/video/fbdev/kyro/STG4000VTG.c tmp |= (HTotal) | (HBackPorcStrt << 16); tmp 123 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACHorTim1, tmp); tmp 125 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(DACHorTim2); tmp 128 drivers/video/fbdev/kyro/STG4000VTG.c tmp |= (HDisplayStrt << 16) | HLeftBorderStrt; tmp 129 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACHorTim2, tmp); tmp 131 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(DACHorTim3); tmp 134 drivers/video/fbdev/kyro/STG4000VTG.c tmp |= (HFrontPorchStrt << 16) | HRightBorderStrt; tmp 135 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACHorTim3, tmp); tmp 138 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(DACVerTim1); tmp 141 drivers/video/fbdev/kyro/STG4000VTG.c tmp |= (VBackPorchStrt << 16) | (VTotal); tmp 142 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACVerTim1, tmp); tmp 144 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(DACVerTim2); tmp 147 drivers/video/fbdev/kyro/STG4000VTG.c tmp |= (VDisplayStrt << 16) | VTopBorderStrt; tmp 148 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACVerTim2, tmp); tmp 150 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(DACVerTim3); tmp 153 drivers/video/fbdev/kyro/STG4000VTG.c tmp |= (VFrontPorchStrt << 16) | VBottomBorderStrt; tmp 154 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACVerTim3, tmp); tmp 157 drivers/video/fbdev/kyro/STG4000VTG.c tmp = STG_READ_REG(DACSyncCtrl) | SET_BIT(3) | SET_BIT(1); tmp 160 drivers/video/fbdev/kyro/STG4000VTG.c tmp &= ~0x8; tmp 162 drivers/video/fbdev/kyro/STG4000VTG.c tmp &= ~0x2; tmp 164 drivers/video/fbdev/kyro/STG4000VTG.c tmp &= ~0xA; tmp 166 drivers/video/fbdev/kyro/STG4000VTG.c tmp &= ~0x0; tmp 169 drivers/video/fbdev/kyro/STG4000VTG.c STG_WRITE_REG(DACSyncCtrl, tmp); tmp 346 drivers/video/fbdev/matrox/g450_pll.c u_int8_t tmp, xpwrctrl; tmp 355 drivers/video/fbdev/matrox/g450_pll.c tmp = matroxfb_DAC_in(minfo, M1064_XPIXCLKCTRL); tmp 356 drivers/video/fbdev/matrox/g450_pll.c tmp |= M1064_XPIXCLKCTRL_DIS; tmp 357 drivers/video/fbdev/matrox/g450_pll.c if (!(tmp & M1064_XPIXCLKCTRL_PLL_UP)) { tmp 358 drivers/video/fbdev/matrox/g450_pll.c tmp |= M1064_XPIXCLKCTRL_PLL_UP; tmp 360 drivers/video/fbdev/matrox/g450_pll.c matroxfb_DAC_out(minfo, M1064_XPIXCLKCTRL, tmp); tmp 364 drivers/video/fbdev/matrox/g450_pll.c tmp = 0; tmp 365 drivers/video/fbdev/matrox/g450_pll.c else tmp = tmp 411 drivers/video/fbdev/matrox/g450_pll.c u_int8_t tmp; tmp 416 drivers/video/fbdev/matrox/g450_pll.c tmp = matroxfb_DAC_in(minfo, M1064_XPWRCTRL); tmp 417 drivers/video/fbdev/matrox/g450_pll.c if (!(tmp & 2)) { tmp 418 drivers/video/fbdev/matrox/g450_pll.c matroxfb_DAC_out(minfo, M1064_XPWRCTRL, tmp | 2); tmp 985 drivers/video/fbdev/matrox/matroxfb_base.c u_int32_t tmp; tmp 989 drivers/video/fbdev/matrox/matroxfb_base.c if (copy_from_user(&tmp, argp, sizeof(tmp))) tmp 992 drivers/video/fbdev/matrox/matroxfb_base.c if (tmp & (1 << i)) { tmp 1007 drivers/video/fbdev/matrox/matroxfb_base.c if (tmp & MATROXFB_OUTPUT_CONN_DFP) { tmp 1008 drivers/video/fbdev/matrox/matroxfb_base.c if (tmp & MATROXFB_OUTPUT_CONN_SECONDARY) tmp 1019 drivers/video/fbdev/matrox/matroxfb_base.c if (tmp & (1 << i)) { tmp 1288 drivers/video/fbdev/matrox/matroxfb_base.c unsigned char* tmp; tmp 1302 drivers/video/fbdev/matrox/matroxfb_base.c tmp = bytes; tmp 1304 drivers/video/fbdev/matrox/matroxfb_base.c *tmp++ = mga_readb(vm, offs); tmp 1315 drivers/video/fbdev/matrox/matroxfb_base.c tmp = bytes; tmp 1317 drivers/video/fbdev/matrox/matroxfb_base.c mga_writeb(vm, offs2, *tmp++); tmp 1845 drivers/video/fbdev/matrox/matroxfb_base.c unsigned int tmp; tmp 1848 drivers/video/fbdev/matrox/matroxfb_base.c tmp = fv * (vesafb_defined.upper_margin + vesafb_defined.yres tmp 1850 drivers/video/fbdev/matrox/matroxfb_base.c if ((tmp < fh) || (fh == 0)) fh = tmp; tmp 1853 drivers/video/fbdev/matrox/matroxfb_base.c tmp = fh * (vesafb_defined.left_margin + vesafb_defined.xres tmp 1855 drivers/video/fbdev/matrox/matroxfb_base.c if ((tmp < maxclk) || (maxclk == 0)) maxclk = tmp; tmp 1857 drivers/video/fbdev/matrox/matroxfb_base.c tmp = (maxclk + 499) / 500; tmp 1858 drivers/video/fbdev/matrox/matroxfb_base.c if (tmp) { tmp 1859 drivers/video/fbdev/matrox/matroxfb_base.c tmp = (2000000000 + tmp) / tmp; tmp 1860 drivers/video/fbdev/matrox/matroxfb_base.c if (tmp > pixclock) pixclock = tmp; tmp 68 drivers/video/fbdev/matrox/matroxfb_crtc2.c u_int32_t tmp; tmp 74 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp = 0x00200000; tmp 77 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp = 0x00400000; tmp 81 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp = 0x00800000; tmp 84 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x00000001; /* enable CRTC2 */ tmp 88 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x00000006; /* source from secondary pixel PLL */ tmp 91 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0xC0001000; /* Enable H/V vidrst */ tmp 94 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x00000002; /* source from VDOCLK */ tmp 95 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0xC0000000; /* enable vvidrst & hvidrst */ tmp 99 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x00000004; /* source from pixclock */ tmp 103 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x00100000; /* connect CRTC2 to DAC */ tmp 106 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x02000000; /* interlaced, second field is bigger, as G450 apparently ignores it */ tmp 116 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x10000000; /* 0x10000000 is VIDRST polarity */ tmp 124 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (tmp & 0x02000000) { tmp 137 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (tmp & 0x02000000) { tmp 140 drivers/video/fbdev/matrox/matroxfb_crtc2.c mga_outl(0x3C10, tmp & ~0x02000000); tmp 150 drivers/video/fbdev/matrox/matroxfb_crtc2.c mga_outl(0x3C10, tmp); tmp 151 drivers/video/fbdev/matrox/matroxfb_crtc2.c minfo->hw.crtc2.ctl = tmp; tmp 153 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp = mt->VDisplay << 16; /* line compare */ tmp 155 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x00000100; tmp 157 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 0x00000200; tmp 158 drivers/video/fbdev/matrox/matroxfb_crtc2.c mga_outl(0x3C44, tmp); tmp 464 drivers/video/fbdev/matrox/matroxfb_crtc2.c u_int32_t tmp; tmp 468 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (get_user(tmp, (u_int32_t __user *)arg)) tmp 471 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (tmp & (1 << out)) { tmp 486 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (tmp & MATROXFB_OUTPUT_CONN_DFP) tmp 488 drivers/video/fbdev/matrox/matroxfb_crtc2.c if ((minfo->outputs[2].src == MATROXFB_SRC_CRTC1) && tmp) tmp 493 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (tmp & (1 << out)) { tmp 524 drivers/video/fbdev/matrox/matroxfb_crtc2.c u_int32_t tmp = 0; tmp 532 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp |= 1 << out; tmp 538 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp &= ~MATROXFB_OUTPUT_CONN_DFP; tmp 540 drivers/video/fbdev/matrox/matroxfb_crtc2.c tmp = 0; tmp 543 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (put_user(tmp, (u_int32_t __user *)arg)) tmp 110 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c unsigned long tmp; tmp 156 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c tmp = (var->xres * var->bits_per_pixel) / 8; tmp 157 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c if ((tmp & 15) != 0) tmp 609 drivers/video/fbdev/mbx/mbxfb.c __u32 tmp; tmp 650 drivers/video/fbdev/mbx/mbxfb.c tmp = readl(virt_base_2700 + reg.addr); tmp 651 drivers/video/fbdev/mbx/mbxfb.c tmp &= ~reg.mask; tmp 652 drivers/video/fbdev/mbx/mbxfb.c tmp |= reg.val & reg.mask; tmp 653 drivers/video/fbdev/mbx/mbxfb.c writel(tmp, virt_base_2700 + reg.addr); tmp 692 drivers/video/fbdev/mbx/mbxfb.c unsigned long tmp; tmp 717 drivers/video/fbdev/mbx/mbxfb.c tmp = readl(fbi->screen_base); tmp 150 drivers/video/fbdev/metronomefb.c u8 tmp = 0; tmp 154 drivers/video/fbdev/metronomefb.c tmp += mem[i]; tmp 156 drivers/video/fbdev/metronomefb.c return tmp; tmp 161 drivers/video/fbdev/metronomefb.c u16 tmp = 0; tmp 164 drivers/video/fbdev/metronomefb.c tmp += *start++; tmp 166 drivers/video/fbdev/metronomefb.c return tmp; tmp 33 drivers/video/fbdev/mmp/hw/mmp_ctrl.c u32 isr, imask, tmp; tmp 40 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl->reg_base + SPU_IRQ_ISR); tmp 41 drivers/video/fbdev/mmp/hw/mmp_ctrl.c if (tmp & isr) tmp 121 drivers/video/fbdev/mmp/hw/mmp_ctrl.c u32 tmp; tmp 123 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); tmp 124 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp &= ~dma_mask(overlay_is_vid(overlay)); tmp 125 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); tmp 126 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); tmp 163 drivers/video/fbdev/mmp/hw/mmp_ctrl.c u32 tmp; tmp 167 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); tmp 168 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp &= ~mask; tmp 169 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= (on ? enable : 0); tmp 170 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); tmp 176 drivers/video/fbdev/mmp/hw/mmp_ctrl.c u32 tmp; tmp 178 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); tmp 180 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp &= ~SCLK_DISABLE; tmp 182 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= SCLK_DISABLE; tmp 183 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl_regs(path) + LCD_SCLK(path)); tmp 248 drivers/video/fbdev/mmp/hw/mmp_ctrl.c u32 total_x, total_y, vsync_ctrl, tmp, sclk_src, sclk_div, tmp 258 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + intf_ctrl(path->id)) & 0x1; tmp 259 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= mode->vsync_invert ? 0 : 0x8; tmp 260 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= mode->hsync_invert ? 0 : 0x4; tmp 261 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= link_config & CFG_DUMBMODE_MASK; tmp 262 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= CFG_DUMB_ENA(1); tmp 263 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl_regs(path) + intf_ctrl(path->id)); tmp 266 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + intf_rbswap_ctrl(path->id)) & tmp 268 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= dsi_rbswap & CFG_INTFRBSWAP_MASK; tmp 269 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl_regs(path) + intf_rbswap_ctrl(path->id)); tmp 299 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); tmp 300 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp &= ~CLK_INT_DIV_MASK; tmp 301 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= sclk_div; tmp 302 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl_regs(path) + LCD_SCLK(path)); tmp 316 drivers/video/fbdev/mmp/hw/mmp_ctrl.c u32 tmp, irq_mask; tmp 322 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl->reg_base + LCD_TOP_CTRL); tmp 323 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= 0xfff0; tmp 324 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl->reg_base + LCD_TOP_CTRL); tmp 330 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl->reg_base + SPU_IRQ_ENA); tmp 331 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp &= ~irq_mask; tmp 332 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= irq_mask; tmp 333 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl->reg_base + SPU_IRQ_ENA); tmp 339 drivers/video/fbdev/mmp/hw/mmp_ctrl.c u32 dma_ctrl1, mask, tmp, path_config; tmp 346 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + SPU_IOPAD_CONTROL); tmp 347 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp &= ~mask; tmp 348 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= path_config; tmp 349 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl_regs(path) + SPU_IOPAD_CONTROL); tmp 353 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); tmp 354 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp &= ~SCLK_SRC_SEL_MASK; tmp 355 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= path_config; tmp 356 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl_regs(path) + LCD_SCLK(path)); tmp 379 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); tmp 380 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp |= mask; tmp 382 drivers/video/fbdev/mmp/hw/mmp_ctrl.c tmp &= ~CFG_ARBFAST_ENA(1); tmp 383 drivers/video/fbdev/mmp/hw/mmp_ctrl.c writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); tmp 33 drivers/video/fbdev/mmp/hw/mmp_spi.c u32 tmp; tmp 55 drivers/video/fbdev/mmp/hw/mmp_spi.c tmp = readl_relaxed(reg_base + LCD_SPU_SPI_CTRL); tmp 56 drivers/video/fbdev/mmp/hw/mmp_spi.c tmp &= ~CFG_SPI_START_MASK; tmp 57 drivers/video/fbdev/mmp/hw/mmp_spi.c tmp |= CFG_SPI_START(1); tmp 58 drivers/video/fbdev/mmp/hw/mmp_spi.c writel(tmp, reg_base + LCD_SPU_SPI_CTRL); tmp 71 drivers/video/fbdev/mmp/hw/mmp_spi.c tmp = readl_relaxed(reg_base + LCD_SPU_SPI_CTRL); tmp 72 drivers/video/fbdev/mmp/hw/mmp_spi.c tmp &= ~CFG_SPI_START_MASK; tmp 73 drivers/video/fbdev/mmp/hw/mmp_spi.c tmp |= CFG_SPI_START(0); tmp 74 drivers/video/fbdev/mmp/hw/mmp_spi.c writel_relaxed(tmp, reg_base + LCD_SPU_SPI_CTRL); tmp 85 drivers/video/fbdev/mmp/hw/mmp_spi.c u32 tmp; tmp 87 drivers/video/fbdev/mmp/hw/mmp_spi.c tmp = CFG_SCLKCNT(16) | tmp 91 drivers/video/fbdev/mmp/hw/mmp_spi.c writel(tmp, reg_base + LCD_SPU_SPI_CTRL); tmp 98 drivers/video/fbdev/mmp/hw/mmp_spi.c tmp = readl_relaxed(reg_base + SPU_IOPAD_CONTROL); tmp 99 drivers/video/fbdev/mmp/hw/mmp_spi.c if ((tmp & CFG_IOPADMODE_MASK) != IOPAD_DUMB18SPI) tmp 101 drivers/video/fbdev/mmp/hw/mmp_spi.c (tmp & ~CFG_IOPADMODE_MASK), tmp 81 drivers/video/fbdev/n411.c unsigned char tmp; tmp 85 drivers/video/fbdev/n411.c tmp = n411_get_ctl(par); tmp 86 drivers/video/fbdev/n411.c if ((tmp & HCB_ACK_BIT) && (!clear)) tmp 88 drivers/video/fbdev/n411.c else if (!(tmp & HCB_ACK_BIT) && (clear)) tmp 97 drivers/video/fbdev/n411.c unsigned char tmp; tmp 111 drivers/video/fbdev/n411.c tmp = n411_get_ctl(par); tmp 112 drivers/video/fbdev/n411.c if (tmp & HCB_ACK_BIT) { tmp 421 drivers/video/fbdev/neofb.c unsigned char tmp; tmp 423 drivers/video/fbdev/neofb.c tmp = vga_rseq(NULL, 0x01); tmp 429 drivers/video/fbdev/neofb.c vga_wseq(NULL, 0x01, tmp | 0x20); /* disable the display */ tmp 436 drivers/video/fbdev/neofb.c vga_wseq(NULL, 0x01, tmp & ~0x20); /* reenable display */ tmp 357 drivers/video/fbdev/nvidia/nv_accel.c u32 dsize, width, *data = (u32 *) image->data, tmp; tmp 386 drivers/video/fbdev/nvidia/nv_accel.c tmp = data[k++]; tmp 387 drivers/video/fbdev/nvidia/nv_accel.c reverse_order(&tmp); tmp 388 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, tmp); tmp 398 drivers/video/fbdev/nvidia/nv_accel.c tmp = data[k++]; tmp 399 drivers/video/fbdev/nvidia/nv_accel.c reverse_order(&tmp); tmp 400 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, tmp); tmp 92 drivers/video/fbdev/nvidia/nv_setup.c volatile u8 tmp; tmp 94 drivers/video/fbdev/nvidia/nv_setup.c tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); tmp 104 drivers/video/fbdev/nvidia/nv_setup.c volatile u8 tmp; tmp 106 drivers/video/fbdev/nvidia/nv_setup.c tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a); tmp 119 drivers/video/fbdev/nvidia/nvidia.c u32 b, tmp; tmp 128 drivers/video/fbdev/nvidia/nvidia.c tmp = 0; tmp 130 drivers/video/fbdev/nvidia/nvidia.c tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; tmp 132 drivers/video/fbdev/nvidia/nvidia.c tmp |= (b & (1 << 31)) ? fg : bg; tmp 135 drivers/video/fbdev/nvidia/nvidia.c tmp = (b & 1) ? fg : bg; tmp 137 drivers/video/fbdev/nvidia/nvidia.c tmp |= (b & 1) ? fg << 16 : bg << 16; tmp 140 drivers/video/fbdev/nvidia/nvidia.c NV_WR32(&par->CURSOR[k++], 0, tmp); tmp 196 drivers/video/fbdev/nvidia/nvidia.c unsigned char tmp; tmp 202 drivers/video/fbdev/nvidia/nvidia.c tmp = NVReadSeq(par, 0x01); tmp 205 drivers/video/fbdev/nvidia/nvidia.c NVWriteSeq(par, 0x01, tmp | 0x20); /* disable the display */ tmp 211 drivers/video/fbdev/nvidia/nvidia.c tmp = NVReadSeq(par, 0x01); tmp 213 drivers/video/fbdev/nvidia/nvidia.c NVWriteSeq(par, 0x01, tmp & ~0x20); /* reenable display */ tmp 651 drivers/video/fbdev/nvidia/nvidia.c unsigned char tmp; tmp 654 drivers/video/fbdev/nvidia/nvidia.c tmp = VGA_RD08(par->PCIO, 0x3d5); tmp 655 drivers/video/fbdev/nvidia/nvidia.c tmp |= (1 << 7); tmp 656 drivers/video/fbdev/nvidia/nvidia.c VGA_WR08(par->PCIO, 0x3d5, tmp); tmp 930 drivers/video/fbdev/nvidia/nvidia.c unsigned char tmp, vesa; tmp 932 drivers/video/fbdev/nvidia/nvidia.c tmp = NVReadSeq(par, 0x01) & ~0x20; /* screen on/off */ tmp 938 drivers/video/fbdev/nvidia/nvidia.c tmp |= 0x20; tmp 955 drivers/video/fbdev/nvidia/nvidia.c NVWriteSeq(par, 0x01, tmp); tmp 147 drivers/video/fbdev/omap/hwa742.c u8 tmp[8]; tmp 152 drivers/video/fbdev/omap/hwa742.c tmp[0] = x_start; tmp 153 drivers/video/fbdev/omap/hwa742.c tmp[1] = x_start >> 8; tmp 154 drivers/video/fbdev/omap/hwa742.c tmp[2] = y_start; tmp 155 drivers/video/fbdev/omap/hwa742.c tmp[3] = y_start >> 8; tmp 156 drivers/video/fbdev/omap/hwa742.c tmp[4] = x_end; tmp 157 drivers/video/fbdev/omap/hwa742.c tmp[5] = x_end >> 8; tmp 158 drivers/video/fbdev/omap/hwa742.c tmp[6] = y_end; tmp 159 drivers/video/fbdev/omap/hwa742.c tmp[7] = y_end >> 8; tmp 166 drivers/video/fbdev/omap/hwa742.c hwa742.extif->write_data(tmp, 8); tmp 2197 drivers/video/fbdev/omap2/omapfb/dss/dispc.c u64 tmp; tmp 2205 drivers/video/fbdev/omap2/omapfb/dss/dispc.c tmp = (u64)pclk * height * out_width; tmp 2206 drivers/video/fbdev/omap2/omapfb/dss/dispc.c do_div(tmp, 2 * out_height * ppl); tmp 2207 drivers/video/fbdev/omap2/omapfb/dss/dispc.c core_clk = tmp; tmp 2213 drivers/video/fbdev/omap2/omapfb/dss/dispc.c tmp = (u64)pclk * (height - 2 * out_height) * out_width; tmp 2214 drivers/video/fbdev/omap2/omapfb/dss/dispc.c do_div(tmp, 2 * out_height * (ppl - out_width)); tmp 2215 drivers/video/fbdev/omap2/omapfb/dss/dispc.c core_clk = max_t(u32, core_clk, tmp); tmp 2220 drivers/video/fbdev/omap2/omapfb/dss/dispc.c tmp = (u64)pclk * width; tmp 2221 drivers/video/fbdev/omap2/omapfb/dss/dispc.c do_div(tmp, out_width); tmp 2222 drivers/video/fbdev/omap2/omapfb/dss/dispc.c core_clk = max_t(u32, core_clk, tmp); tmp 516 drivers/video/fbdev/pm2fb.c u32 tmp; tmp 535 drivers/video/fbdev/pm2fb.c tmp = PM2F_RD_PALETTE_WIDTH_8; tmp 537 drivers/video/fbdev/pm2fb.c tmp |= 4; /* invert hsync */ tmp 539 drivers/video/fbdev/pm2fb.c tmp |= 8; /* invert vsync */ tmp 540 drivers/video/fbdev/pm2fb.c pm2_RDAC_WR(p, PM2I_RD_MISC_CONTROL, tmp); tmp 543 drivers/video/fbdev/pm2fb.c tmp = 0; tmp 545 drivers/video/fbdev/pm2fb.c tmp |= 1; /* invert hsync */ tmp 547 drivers/video/fbdev/pm2fb.c tmp |= 4; /* invert vsync */ tmp 548 drivers/video/fbdev/pm2fb.c pm2v_RDAC_WR(p, PM2VI_RD_SYNC_CONTROL, tmp); tmp 285 drivers/video/fbdev/pvr2fb.c unsigned int tmp; tmp 297 drivers/video/fbdev/pvr2fb.c tmp = (red & 0xf800) | tmp 301 drivers/video/fbdev/pvr2fb.c pvr2fb_set_pal_entry(par, regno, tmp); tmp 305 drivers/video/fbdev/pvr2fb.c tmp = (red << 16) | (green << 8) | blue; tmp 309 drivers/video/fbdev/pvr2fb.c tmp = (transp << 24) | (red << 16) | (green << 8) | blue; tmp 311 drivers/video/fbdev/pvr2fb.c pvr2fb_set_pal_entry(par, regno, tmp); tmp 319 drivers/video/fbdev/pvr2fb.c ((u32*)(info->pseudo_palette))[regno] = tmp; tmp 491 drivers/video/fbdev/riva/fbdev.c u32 b, tmp; tmp 503 drivers/video/fbdev/riva/fbdev.c tmp = 0; tmp 505 drivers/video/fbdev/riva/fbdev.c tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; tmp 507 drivers/video/fbdev/riva/fbdev.c tmp |= (b & (1 << 31)) ? fg : bg; tmp 510 drivers/video/fbdev/riva/fbdev.c tmp = (b & 1) ? fg : bg; tmp 512 drivers/video/fbdev/riva/fbdev.c tmp |= (b & 1) ? fg << 16 : bg << 16; tmp 515 drivers/video/fbdev/riva/fbdev.c writel(tmp, &par->riva.CURSOR[k++]); tmp 765 drivers/video/fbdev/riva/fbdev.c int tmp = (hTotal >> 1) & ~1; tmp 766 drivers/video/fbdev/riva/fbdev.c newmode.ext.interlace = Set8Bits(tmp); tmp 767 drivers/video/fbdev/riva/fbdev.c newmode.ext.horiz |= SetBitField(tmp, 8:8,4:4); tmp 1247 drivers/video/fbdev/riva/fbdev.c unsigned char tmp, vesa; tmp 1249 drivers/video/fbdev/riva/fbdev.c tmp = SEQin(par, 0x01) & ~0x20; /* screen on/off */ tmp 1255 drivers/video/fbdev/riva/fbdev.c tmp |= 0x20; tmp 1272 drivers/video/fbdev/riva/fbdev.c SEQout(par, 0x01, tmp); tmp 1495 drivers/video/fbdev/riva/fbdev.c u32 fgx = 0, bgx = 0, width, tmp; tmp 1546 drivers/video/fbdev/riva/fbdev.c tmp = *((u32 *)cdat); tmp 1548 drivers/video/fbdev/riva/fbdev.c reverse_order(&tmp); tmp 1549 drivers/video/fbdev/riva/fbdev.c NV_WR32(d, i*4, tmp); tmp 1556 drivers/video/fbdev/riva/fbdev.c tmp = *((u32 *) cdat); tmp 1558 drivers/video/fbdev/riva/fbdev.c reverse_order(&tmp); tmp 1559 drivers/video/fbdev/riva/fbdev.c NV_WR32(d, i*4, tmp); tmp 245 drivers/video/fbdev/riva/riva_hw.c int tmp; tmp 382 drivers/video/fbdev/riva/riva_hw.c tmp = ns * ainfo->gdrain_rate/1000000; tmp 383 drivers/video/fbdev/riva/riva_hw.c if (abs(ainfo->gburst_size) + ((abs(ainfo->wcglwm) + 16 ) & ~0x7) - tmp > max_gfsize) tmp 389 drivers/video/fbdev/riva/riva_hw.c tmp = ns * ainfo->vdrain_rate/1000000; tmp 390 drivers/video/fbdev/riva/riva_hw.c if (abs(ainfo->vburst_size) + (abs(ainfo->wcvlwm + 32) & ~0xf) - tmp> VFIFO_SIZE) tmp 1848 drivers/video/fbdev/riva/riva_hw.c unsigned char tmp; tmp 1861 drivers/video/fbdev/riva/riva_hw.c VGA_WR08(chip->PCIO, 0x3D4, 0x19); tmp = VGA_RD08(chip->PCIO, 0x3D5); tmp 1862 drivers/video/fbdev/riva/riva_hw.c VGA_WR08(chip->PCIO, 0x3D5, (offset & 0x01F) | (tmp & ~0x1F)); tmp 1863 drivers/video/fbdev/riva/riva_hw.c VGA_WR08(chip->PCIO, 0x3D4, 0x2D); tmp = VGA_RD08(chip->PCIO, 0x3D5); tmp 1864 drivers/video/fbdev/riva/riva_hw.c VGA_WR08(chip->PCIO, 0x3D5, (offset & 0x60) | (tmp & ~0x60)); tmp 347 drivers/video/fbdev/s3c-fb.c unsigned long long tmp; tmp 355 drivers/video/fbdev/s3c-fb.c tmp = (unsigned long long)clk; tmp 356 drivers/video/fbdev/s3c-fb.c tmp *= pixclk; tmp 358 drivers/video/fbdev/s3c-fb.c do_div(tmp, 1000000000UL); tmp 359 drivers/video/fbdev/s3c-fb.c result = (unsigned int)tmp / 1000; tmp 677 drivers/video/fbdev/s3c2410fb.c unsigned long tmp; tmp 679 drivers/video/fbdev/s3c2410fb.c tmp = readl(reg) & ~mask; tmp 680 drivers/video/fbdev/s3c2410fb.c writel(tmp | set, reg); tmp 91 drivers/video/fbdev/savage/savagefb_driver.c unsigned char tmp; tmp 97 drivers/video/fbdev/savage/savagefb_driver.c tmp = VGArSEQ(0x01, par); tmp 100 drivers/video/fbdev/savage/savagefb_driver.c VGAwSEQ(0x01, tmp | 0x20, par);/* disable the display */ tmp 108 drivers/video/fbdev/savage/savagefb_driver.c tmp = VGArSEQ(0x01, par); tmp 110 drivers/video/fbdev/savage/savagefb_driver.c VGAwSEQ(0x01, tmp & ~0x20, par);/* reenable display */ tmp 976 drivers/video/fbdev/savage/savagefb_driver.c unsigned char tmp = 0; tmp 1055 drivers/video/fbdev/savage/savagefb_driver.c tmp = vga_in8(0x3d5, par); tmp 1057 drivers/video/fbdev/savage/savagefb_driver.c reg->CR3A = (tmp & 0x7f) | 0x15; tmp 1059 drivers/video/fbdev/savage/savagefb_driver.c reg->CR3A = tmp | 0x95; tmp 1259 drivers/video/fbdev/savage/savagefb_driver.c unsigned char tmp, cr3a, cr66, cr67; tmp 1430 drivers/video/fbdev/savage/savagefb_driver.c tmp = vga_in8(0x3c5, par) & ~0x21; tmp 1432 drivers/video/fbdev/savage/savagefb_driver.c vga_out8(0x3c5, tmp | 0x03, par); tmp 1433 drivers/video/fbdev/savage/savagefb_driver.c vga_out8(0x3c5, tmp | 0x23, par); tmp 1434 drivers/video/fbdev/savage/savagefb_driver.c vga_out8(0x3c5, tmp | 0x03, par); tmp 1810 drivers/video/fbdev/savage/savagefb_driver.c unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; tmp 1822 drivers/video/fbdev/savage/savagefb_driver.c tmp = vga_in8(0x3d5, par); tmp 1823 drivers/video/fbdev/savage/savagefb_driver.c vga_out8(0x3d5, tmp & 0x7f, par); tmp 1831 drivers/video/fbdev/savage/savagefb_driver.c tmp = vga_in8(0x3d5, par); tmp 1832 drivers/video/fbdev/savage/savagefb_driver.c vga_out8(0x3d5, tmp & ~0x01, par); tmp 702 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned long tmp = lcdc_read(priv, _LDCNT2R); tmp 707 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write(priv, _LDCNT2R, tmp | LDCNT2R_DO); tmp 709 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write(priv, _LDCNT2R, tmp & ~LDCNT2R_DO); tmp 715 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = lcdc_read_chan(&priv->ch[k], LDPMR) tmp 717 drivers/video/fbdev/sh_mobile_lcdcfb.c if (start && tmp == LDPMR_LPS) tmp 719 drivers/video/fbdev/sh_mobile_lcdcfb.c if (!start && tmp == 0) tmp 733 drivers/video/fbdev/sh_mobile_lcdcfb.c u32 tmp; tmp 735 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = ch->ldmt1r_value; tmp 736 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (var->sync & FB_SYNC_VERT_HIGH_ACT) ? 0 : LDMT1R_VPOL; tmp 737 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (var->sync & FB_SYNC_HOR_HIGH_ACT) ? 0 : LDMT1R_HPOL; tmp 738 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (ch->cfg->flags & LCDC_FLAGS_DWPOL) ? LDMT1R_DWPOL : 0; tmp 739 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (ch->cfg->flags & LCDC_FLAGS_DIPOL) ? LDMT1R_DIPOL : 0; tmp 740 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (ch->cfg->flags & LCDC_FLAGS_DAPOL) ? LDMT1R_DAPOL : 0; tmp 741 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (ch->cfg->flags & LCDC_FLAGS_HSCNT) ? LDMT1R_HSCNT : 0; tmp 742 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (ch->cfg->flags & LCDC_FLAGS_DWCNT) ? LDMT1R_DWCNT : 0; tmp 743 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_chan(ch, LDMT1R, tmp); tmp 752 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = h_total / 8; /* HTCN */ tmp 753 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (min(mode->xres, ch->xres) / 8) << 16; /* HDCN */ tmp 754 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_chan(ch, LDHCNR, tmp); tmp 757 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = hsync_pos / 8; /* HSYNP */ tmp 758 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= (mode->hsync_len / 8) << 16; /* HSYNW */ tmp 759 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_chan(ch, LDHSYNR, tmp); tmp 762 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = mode->yres + mode->vsync_len + mode->upper_margin tmp 764 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= min(mode->yres, ch->yres) << 16; /* VDLN */ tmp 765 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_chan(ch, LDVLNR, tmp); tmp 767 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = mode->yres + mode->lower_margin; /* VSYNP */ tmp 768 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= mode->vsync_len << 16; /* VSYNW */ tmp 769 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_chan(ch, LDVSYNR, tmp); tmp 774 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = ((mode->xres & 7) << 24) | ((display_h_total & 7) << 16) tmp 776 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_chan(ch, LDHAJR, tmp); tmp 777 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_chan_mirror(ch, LDHAJR, tmp); tmp 880 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned long tmp; tmp 893 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = priv->lddckr; tmp 914 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= m << (lcdc_chan_is_sublcd(ch) ? 8 : 0); tmp 917 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write(priv, _LDDCKR, tmp); tmp 929 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = ch->format->lddfr; tmp 934 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= LDDFR_CF1; tmp 937 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp |= LDDFR_CF0; tmp 942 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_chan(ch, LDDFR, tmp); tmp 967 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = LDDDSR_LS | LDDDSR_WS; tmp 973 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = LDDDSR_LS | LDDDSR_WS | LDDDSR_BS; tmp 977 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = LDDDSR_LS; tmp 980 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write(priv, _LDDDSR, tmp); tmp 991 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned long tmp; tmp 1048 drivers/video/fbdev/sh_mobile_lcdcfb.c tmp = ch->cfg->sys_bus_cfg.deferred_io_msec; tmp 1049 drivers/video/fbdev/sh_mobile_lcdcfb.c if (ch->ldmt1r_value & LDMT1R_IFM && tmp) { tmp 1051 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->defio.delay = msecs_to_jiffies(tmp); tmp 2989 drivers/video/fbdev/sis/sis_main.c int tmp; tmp 2990 drivers/video/fbdev/sis/sis_main.c tmp = SiS_GetReg(SISCR, 0x30); tmp 2991 drivers/video/fbdev/sis/sis_main.c if(tmp & 0x20) { tmp 3016 drivers/video/fbdev/sis/sis_main.c int tmp; tmp 3017 drivers/video/fbdev/sis/sis_main.c tmp = SiS_GetReg(SISPART1, 0x13); tmp 3018 drivers/video/fbdev/sis/sis_main.c if(tmp & 0x04) { tmp 3026 drivers/video/fbdev/sis/sis_main.c int tmp; tmp 3027 drivers/video/fbdev/sis/sis_main.c tmp = SiS_GetReg(SISCR, 0x30); tmp 3028 drivers/video/fbdev/sis/sis_main.c if((tmp & 0x20) || (ivideo->detectedlcda != 0xff)) { tmp 3075 drivers/video/fbdev/sis/sis_main.c if((tmp & 0x20) || (ivideo->detectedlcda != 0xff)) { tmp 298 drivers/video/fbdev/sm501fb.c unsigned long tmp; tmp 320 drivers/video/fbdev/sm501fb.c tmp = (var->xres * var->bits_per_pixel) / 8; tmp 321 drivers/video/fbdev/sm501fb.c if ((tmp & 15) != 0) tmp 408 drivers/video/fbdev/smscufx.c u32 tmp; tmp 483 drivers/video/fbdev/smscufx.c status = ufx_reg_read(dev, 0x0000, &tmp); tmp 486 drivers/video/fbdev/smscufx.c if (all_bits_set(tmp, 0xC0000000)) tmp 490 drivers/video/fbdev/smscufx.c pr_err("DDR2 initialisation timed out, reg 0x0000=0x%08x", tmp); tmp 1327 drivers/video/fbdev/smscufx.c u32 tmp; tmp 1342 drivers/video/fbdev/smscufx.c status = ufx_reg_read(dev, 0x1000, &tmp); tmp 1346 drivers/video/fbdev/smscufx.c tmp &= ~(0x06); tmp 1347 drivers/video/fbdev/smscufx.c tmp |= 0x02; tmp 1350 drivers/video/fbdev/smscufx.c tmp &= ~(0x10); tmp 1353 drivers/video/fbdev/smscufx.c tmp |= 0x21; tmp 1355 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, 0x1000, tmp); tmp 1392 drivers/video/fbdev/smscufx.c u32 tmp; tmp 1396 drivers/video/fbdev/smscufx.c status = ufx_reg_read(dev, 0x1100, &tmp); tmp 1400 drivers/video/fbdev/smscufx.c if ((tmp & 0x80000000) == 0) { tmp 1401 drivers/video/fbdev/smscufx.c if (tmp & 0x20000000) { tmp 1402 drivers/video/fbdev/smscufx.c pr_warn("I2C read failed, 0x1100=0x%08x", tmp); tmp 697 drivers/video/fbdev/sstfb.c u32 fbiinit0, tmp; tmp 704 drivers/video/fbdev/sstfb.c pci_read_config_dword(sst_dev, PCI_INIT_ENABLE, &tmp); tmp 706 drivers/video/fbdev/sstfb.c tmp | PCI_EN_INIT_WR ); tmp 715 drivers/video/fbdev/sstfb.c pci_write_config_dword(sst_dev, PCI_INIT_ENABLE, tmp); tmp 138 drivers/video/fbdev/tcx.c u32 tmp = sbus_readl(p); tmp 140 drivers/video/fbdev/tcx.c tmp &= 0xffffff; tmp 141 drivers/video/fbdev/tcx.c sbus_writel(tmp, p); tmp 209 drivers/video/fbdev/tdfxfb.c unsigned char tmp; tmp 211 drivers/video/fbdev/tdfxfb.c tmp = vga_inb(par, IS1_R); tmp 308 drivers/video/fbdev/tridentfb.c int tmp = bpp == 24 ? 2 : (bpp >> 4); tmp 309 drivers/video/fbdev/tridentfb.c int v2 = v1 | (tmp << 29); tmp 479 drivers/video/fbdev/tridentfb.c int tmp = bpp == 24 ? 2: (bpp >> 4); tmp 482 drivers/video/fbdev/tridentfb.c writemmr(par, 0x2120, 0x40000000 | tmp); tmp 764 drivers/video/fbdev/tridentfb.c int x, y, tmp; tmp 769 drivers/video/fbdev/tridentfb.c tmp = (read3CE(par, VertStretch) >> 4) & 3; tmp 771 drivers/video/fbdev/tridentfb.c switch (tmp) { tmp 826 drivers/video/fbdev/tridentfb.c u8 tmp; tmp 829 drivers/video/fbdev/tridentfb.c tmp = read3X4(par, CRTCModuleTest) & 0xDF; tmp 830 drivers/video/fbdev/tridentfb.c write3X4(par, CRTCModuleTest, tmp | ((base & 0x10000) >> 11)); tmp 831 drivers/video/fbdev/tridentfb.c tmp = read3X4(par, CRTHiOrd) & 0xF8; tmp 832 drivers/video/fbdev/tridentfb.c write3X4(par, CRTHiOrd, tmp | ((base & 0xE0000) >> 17)); tmp 883 drivers/video/fbdev/tridentfb.c int tmp = read3CE(par, CyberEnhance) & 0x8F; tmp 885 drivers/video/fbdev/tridentfb.c tmp |= 0x50; tmp 887 drivers/video/fbdev/tridentfb.c tmp |= 0x30; tmp 889 drivers/video/fbdev/tridentfb.c tmp |= 0x20; tmp 891 drivers/video/fbdev/tridentfb.c tmp |= 0x10; tmp 892 drivers/video/fbdev/tridentfb.c write3CE(par, CyberEnhance, tmp); tmp 911 drivers/video/fbdev/tridentfb.c unsigned char tmp, tmp2; tmp 923 drivers/video/fbdev/tridentfb.c tmp = read3X4(par, SPR) & 0x0F; tmp 924 drivers/video/fbdev/tridentfb.c switch (tmp) { tmp 1140 drivers/video/fbdev/tridentfb.c unsigned char tmp; tmp 1171 drivers/video/fbdev/tridentfb.c tmp = 0xEB; tmp 1173 drivers/video/fbdev/tridentfb.c tmp &= ~0x40; tmp 1175 drivers/video/fbdev/tridentfb.c tmp &= ~0x80; tmp 1183 drivers/video/fbdev/tridentfb.c t_outb(par, tmp | 0xC0, VGA_MIS_W); tmp 1193 drivers/video/fbdev/tridentfb.c t_outb(par, tmp, VGA_MIS_W); tmp 1215 drivers/video/fbdev/tridentfb.c tmp = 0x10; tmp 1216 drivers/video/fbdev/tridentfb.c if (vtotal & 0x100) tmp |= 0x01; tmp 1217 drivers/video/fbdev/tridentfb.c if (vdispend & 0x100) tmp |= 0x02; tmp 1218 drivers/video/fbdev/tridentfb.c if (vsyncstart & 0x100) tmp |= 0x04; tmp 1219 drivers/video/fbdev/tridentfb.c if (vblankstart & 0x100) tmp |= 0x08; tmp 1221 drivers/video/fbdev/tridentfb.c if (vtotal & 0x200) tmp |= 0x20; tmp 1222 drivers/video/fbdev/tridentfb.c if (vdispend & 0x200) tmp |= 0x40; tmp 1223 drivers/video/fbdev/tridentfb.c if (vsyncstart & 0x200) tmp |= 0x80; tmp 1224 drivers/video/fbdev/tridentfb.c write3X4(par, VGA_CRTC_OVERFLOW, tmp); tmp 1226 drivers/video/fbdev/tridentfb.c tmp = read3X4(par, CRTHiOrd) & 0x07; tmp 1227 drivers/video/fbdev/tridentfb.c tmp |= 0x08; /* line compare bit 10 */ tmp 1228 drivers/video/fbdev/tridentfb.c if (vtotal & 0x400) tmp |= 0x80; tmp 1229 drivers/video/fbdev/tridentfb.c if (vblankstart & 0x400) tmp |= 0x40; tmp 1230 drivers/video/fbdev/tridentfb.c if (vsyncstart & 0x400) tmp |= 0x20; tmp 1231 drivers/video/fbdev/tridentfb.c if (vdispend & 0x400) tmp |= 0x10; tmp 1232 drivers/video/fbdev/tridentfb.c write3X4(par, CRTHiOrd, tmp); tmp 1234 drivers/video/fbdev/tridentfb.c tmp = (htotal >> 8) & 0x01; tmp 1235 drivers/video/fbdev/tridentfb.c tmp |= (hdispend >> 7) & 0x02; tmp 1236 drivers/video/fbdev/tridentfb.c tmp |= (hsyncstart >> 5) & 0x08; tmp 1237 drivers/video/fbdev/tridentfb.c tmp |= (hblankstart >> 4) & 0x10; tmp 1238 drivers/video/fbdev/tridentfb.c write3X4(par, HorizOverflow, tmp); tmp 1240 drivers/video/fbdev/tridentfb.c tmp = 0x40; tmp 1241 drivers/video/fbdev/tridentfb.c if (vblankstart & 0x200) tmp |= 0x20; tmp 1243 drivers/video/fbdev/tridentfb.c write3X4(par, VGA_CRTC_MAX_SCAN, tmp); tmp 1251 drivers/video/fbdev/tridentfb.c tmp = (info->var.vmode & FB_VMODE_INTERLACED) ? 0x84 : 0x80; tmp 1253 drivers/video/fbdev/tridentfb.c write3X4(par, CRTCModuleTest, tmp); tmp 1254 drivers/video/fbdev/tridentfb.c tmp = read3CE(par, MiscIntContReg) & ~0x4; tmp 1256 drivers/video/fbdev/tridentfb.c tmp |= 0x4; tmp 1257 drivers/video/fbdev/tridentfb.c write3CE(par, MiscIntContReg, tmp); tmp 1264 drivers/video/fbdev/tridentfb.c tmp = 0x00; tmp 1267 drivers/video/fbdev/tridentfb.c tmp = 0x05; tmp 1270 drivers/video/fbdev/tridentfb.c tmp = 0x29; tmp 1273 drivers/video/fbdev/tridentfb.c tmp = 0x09; tmp 1277 drivers/video/fbdev/tridentfb.c write3X4(par, PixelBusReg, tmp); tmp 1279 drivers/video/fbdev/tridentfb.c tmp = read3X4(par, DRAMControl); tmp 1281 drivers/video/fbdev/tridentfb.c tmp |= 0x10; tmp 1283 drivers/video/fbdev/tridentfb.c tmp |= 0x20; tmp 1284 drivers/video/fbdev/tridentfb.c write3X4(par, DRAMControl, tmp); /* both IO, linear enable */ tmp 1304 drivers/video/fbdev/tridentfb.c tmp = read3CE(par, MiscExtFunc) & 0xF0; tmp 1306 drivers/video/fbdev/tridentfb.c tmp |= 8; tmp 1310 drivers/video/fbdev/tridentfb.c write3CE(par, MiscExtFunc, tmp | 0x12); tmp 1321 drivers/video/fbdev/tridentfb.c for (tmp = 0; tmp < 0x10; tmp++) tmp 1322 drivers/video/fbdev/tridentfb.c writeAttr(par, tmp, tmp); tmp 1328 drivers/video/fbdev/tridentfb.c tmp = 0; tmp 1331 drivers/video/fbdev/tridentfb.c tmp = 0x30; tmp 1335 drivers/video/fbdev/tridentfb.c tmp = 0xD0; tmp 1344 drivers/video/fbdev/tridentfb.c t_outb(par, tmp, VGA_PEL_MSK); tmp 267 drivers/video/fbdev/vga16fb.c int tmp; tmp 269 drivers/video/fbdev/vga16fb.c tmp = pixclock - ptr->pixclock; tmp 270 drivers/video/fbdev/vga16fb.c if (tmp < 0) tmp = -tmp; tmp 271 drivers/video/fbdev/vga16fb.c if (tmp < err) { tmp 272 drivers/video/fbdev/vga16fb.c err = tmp; tmp 44 drivers/video/fbdev/via/accel.c u32 ge_cmd = 0, tmp, i; tmp 90 drivers/video/fbdev/via/accel.c tmp = src_x | (src_y << 16); tmp 91 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x08); tmp 99 drivers/video/fbdev/via/accel.c tmp = dst_x | (dst_y << 16); tmp 100 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x0C); tmp 107 drivers/video/fbdev/via/accel.c tmp = (width - 1) | ((height - 1) << 16); tmp 108 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x10); tmp 117 drivers/video/fbdev/via/accel.c tmp = src_mem ? 0 : src_addr; tmp 120 drivers/video/fbdev/via/accel.c "address %X\n", tmp); tmp 123 drivers/video/fbdev/via/accel.c tmp >>= 3; tmp 124 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x30); tmp 132 drivers/video/fbdev/via/accel.c tmp = dst_addr >> 3; tmp 133 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x34); tmp 136 drivers/video/fbdev/via/accel.c tmp = 0; tmp 138 drivers/video/fbdev/via/accel.c tmp = src_pitch; tmp 139 drivers/video/fbdev/via/accel.c if (tmp & 0xFFFFC007 || dst_pitch & 0xFFFFC007) { tmp 141 drivers/video/fbdev/via/accel.c tmp, dst_pitch); tmp 144 drivers/video/fbdev/via/accel.c tmp = VIA_PITCH_ENABLE | (tmp >> 3) | (dst_pitch << (16 - 3)); tmp 145 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x38); tmp 163 drivers/video/fbdev/via/accel.c tmp = (width * height * (op == VIA_BITBLT_MONO ? 1 : (dst_bpp >> 3)) + tmp 166 drivers/video/fbdev/via/accel.c for (i = 0; i < tmp; i++) tmp 177 drivers/video/fbdev/via/accel.c u32 ge_cmd = 0, tmp, i; tmp 217 drivers/video/fbdev/via/accel.c tmp = 0; tmp 219 drivers/video/fbdev/via/accel.c tmp = src_pitch; tmp 220 drivers/video/fbdev/via/accel.c if (tmp & 0xFFFFC007 || dst_pitch & 0xFFFFC007) { tmp 222 drivers/video/fbdev/via/accel.c tmp, dst_pitch); tmp 225 drivers/video/fbdev/via/accel.c tmp = (tmp >> 3) | (dst_pitch << (16 - 3)); tmp 226 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x08); tmp 233 drivers/video/fbdev/via/accel.c tmp = (width - 1) | ((height - 1) << 16); tmp 234 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x0C); tmp 241 drivers/video/fbdev/via/accel.c tmp = dst_x | (dst_y << 16); tmp 242 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x10); tmp 249 drivers/video/fbdev/via/accel.c tmp = dst_addr >> 3; tmp 250 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x14); tmp 259 drivers/video/fbdev/via/accel.c tmp = src_x | (src_y << 16); tmp 260 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x18); tmp 262 drivers/video/fbdev/via/accel.c tmp = src_mem ? 0 : src_addr; tmp 265 drivers/video/fbdev/via/accel.c "address %X\n", tmp); tmp 268 drivers/video/fbdev/via/accel.c tmp >>= 3; tmp 269 drivers/video/fbdev/via/accel.c writel(tmp, engine + 0x1C); tmp 295 drivers/video/fbdev/via/accel.c tmp = (width * height * (op == VIA_BITBLT_MONO ? 1 : (dst_bpp >> 3)) + tmp 298 drivers/video/fbdev/via/accel.c for (i = 0; i < tmp; i++) tmp 1530 drivers/video/fbdev/via/hw.c u8 tmp; tmp 1537 drivers/video/fbdev/via/hw.c tmp = viafb_read_reg(VIACR, CR4F); tmp 1546 drivers/video/fbdev/via/hw.c viafb_write_reg(CR4F, VIACR, tmp); tmp 1550 drivers/video/fbdev/via/hw.c tmp = viafb_read_reg(VIASR, SR43); tmp 1551 drivers/video/fbdev/via/hw.c DEBUG_MSG(KERN_INFO "SR43:%X\n", tmp); tmp 1552 drivers/video/fbdev/via/hw.c if (tmp & 0x02) { tmp 1555 drivers/video/fbdev/via/hw.c } else if (tmp & 0x40) { tmp 1663 drivers/video/fbdev/via/hw.c u8 tmp; tmp 1678 drivers/video/fbdev/via/hw.c tmp = viafb_read_reg(VIACR, CR6A); tmp 1689 drivers/video/fbdev/via/hw.c viafb_write_reg(CR6A, VIACR, tmp); tmp 22 drivers/video/fbdev/via/via_aux_ch7301.c u8 tmp; tmp 24 drivers/video/fbdev/via/via_aux_ch7301.c if (!via_aux_read(&drv, 0x4B, &tmp, 1) || tmp != 0x17) tmp 24 drivers/video/fbdev/via/via_aux_sii164.c u8 tmp[ARRAY_SIZE(id)]; tmp 26 drivers/video/fbdev/via/via_aux_sii164.c if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len)) tmp 22 drivers/video/fbdev/via/via_aux_vt1621.c u8 tmp; tmp 24 drivers/video/fbdev/via/via_aux_vt1621.c if (!via_aux_read(&drv, 0x1B, &tmp, 1) || tmp != 0x02) tmp 22 drivers/video/fbdev/via/via_aux_vt1622.c u8 tmp; tmp 24 drivers/video/fbdev/via/via_aux_vt1622.c if (!via_aux_read(&drv, 0x1B, &tmp, 1) || tmp != 0x03) tmp 22 drivers/video/fbdev/via/via_aux_vt1625.c u8 tmp; tmp 24 drivers/video/fbdev/via/via_aux_vt1625.c if (!via_aux_read(&drv, 0x1B, &tmp, 1) || tmp != 0x50) tmp 24 drivers/video/fbdev/via/via_aux_vt1631.c u8 tmp[ARRAY_SIZE(id)]; tmp 26 drivers/video/fbdev/via/via_aux_vt1631.c if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len)) tmp 24 drivers/video/fbdev/via/via_aux_vt1632.c u8 tmp[ARRAY_SIZE(id)]; tmp 26 drivers/video/fbdev/via/via_aux_vt1632.c if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len)) tmp 24 drivers/video/fbdev/via/via_aux_vt1636.c u8 tmp[ARRAY_SIZE(id)]; tmp 26 drivers/video/fbdev/via/via_aux_vt1636.c if (!via_aux_read(&drv, 0x00, tmp, len) || memcmp(id, tmp, len)) tmp 1582 drivers/video/fbdev/w100fb.c u32 tmp; tmp 1585 drivers/video/fbdev/w100fb.c tmp = readl(remapped_regs + mmACTIVE_V_DISP); tmp 1588 drivers/video/fbdev/w100fb.c writel((tmp >> 16) & 0x3ff, remapped_regs + mmDISP_INT_CNTL); tmp 1591 drivers/video/fbdev/w100fb.c tmp = readl(remapped_regs + mmGEN_INT_CNTL); tmp 1593 drivers/video/fbdev/w100fb.c tmp &= ~0x00000002; tmp 1594 drivers/video/fbdev/w100fb.c writel(tmp, remapped_regs + mmGEN_INT_CNTL); tmp 1600 drivers/video/fbdev/w100fb.c writel((tmp | 0x00000002), remapped_regs + mmGEN_INT_CNTL); tmp 1613 drivers/video/fbdev/w100fb.c writel(tmp, remapped_regs + mmGEN_INT_CNTL); tmp 166 drivers/video/fbdev/wm8505fb.c unsigned long tmp; tmp 168 drivers/video/fbdev/wm8505fb.c if (kstrtoul(buf, 10, &tmp) || (tmp > 0xff)) tmp 170 drivers/video/fbdev/wm8505fb.c fbi->contrast = tmp; tmp 917 drivers/visorbus/visorchipset.c struct list_head *tmp; tmp 922 drivers/visorbus/visorchipset.c list_for_each_safe(pos, tmp, ¶hotplug_request_list) { tmp 1479 drivers/visorbus/visorchipset.c struct list_head *tmp; tmp 1482 drivers/visorbus/visorchipset.c list_for_each_safe(pos, tmp, ¶hotplug_request_list) { tmp 196 drivers/vme/bridges/vme_ca91cx42.c int result, tmp; tmp 227 drivers/vme/bridges/vme_ca91cx42.c tmp = CA91CX42_LINT_MBOX3 | CA91CX42_LINT_MBOX2 | CA91CX42_LINT_MBOX1 | tmp 231 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + LINT_EN); tmp 256 drivers/vme/bridges/vme_ca91cx42.c u32 tmp; tmp 258 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + LINT_STAT); tmp 260 drivers/vme/bridges/vme_ca91cx42.c if (tmp & (1 << level)) tmp 274 drivers/vme/bridges/vme_ca91cx42.c u32 tmp; tmp 280 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + LINT_EN); tmp 283 drivers/vme/bridges/vme_ca91cx42.c tmp &= ~CA91CX42_LINT_VIRQ[level]; tmp 285 drivers/vme/bridges/vme_ca91cx42.c tmp |= CA91CX42_LINT_VIRQ[level]; tmp 287 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + LINT_EN); tmp 299 drivers/vme/bridges/vme_ca91cx42.c u32 tmp; tmp 310 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + VINT_EN); tmp 316 drivers/vme/bridges/vme_ca91cx42.c tmp = tmp | (1 << (level + 24)); tmp 317 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + VINT_EN); tmp 324 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + VINT_EN); tmp 325 drivers/vme/bridges/vme_ca91cx42.c tmp = tmp & ~(1 << (level + 24)); tmp 326 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + VINT_EN); tmp 1164 drivers/vme/bridges/vme_ca91cx42.c u32 tmp; tmp 1169 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + DGCS); tmp 1171 drivers/vme/bridges/vme_ca91cx42.c if (tmp & CA91CX42_DGCS_ACT) tmp 1407 drivers/vme/bridges/vme_ca91cx42.c u32 lm_ctl, tmp; tmp 1436 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + LINT_EN); tmp 1437 drivers/vme/bridges/vme_ca91cx42.c tmp |= CA91CX42_LINT_LM[monitor]; tmp 1438 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + LINT_EN); tmp 1456 drivers/vme/bridges/vme_ca91cx42.c u32 tmp; tmp 1464 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + LINT_EN); tmp 1465 drivers/vme/bridges/vme_ca91cx42.c tmp &= ~CA91CX42_LINT_LM[monitor]; tmp 1466 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + LINT_EN); tmp 1476 drivers/vme/bridges/vme_ca91cx42.c if ((tmp & (CA91CX42_LINT_LM0 | CA91CX42_LINT_LM1 | CA91CX42_LINT_LM2 | tmp 1478 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + LM_CTL); tmp 1479 drivers/vme/bridges/vme_ca91cx42.c tmp &= ~CA91CX42_LM_CTL_EN; tmp 1480 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + LM_CTL); tmp 1539 drivers/vme/bridges/vme_ca91cx42.c int tmp, slot; tmp 1569 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + VCSR_CTL); tmp 1570 drivers/vme/bridges/vme_ca91cx42.c tmp |= CA91CX42_VCSR_CTL_EN; tmp 1571 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + VCSR_CTL); tmp 1579 drivers/vme/bridges/vme_ca91cx42.c u32 tmp; tmp 1585 drivers/vme/bridges/vme_ca91cx42.c tmp = ioread32(bridge->base + VCSR_CTL); tmp 1586 drivers/vme/bridges/vme_ca91cx42.c tmp &= ~CA91CX42_VCSR_CTL_EN; tmp 1587 drivers/vme/bridges/vme_ca91cx42.c iowrite32(tmp, bridge->base + VCSR_CTL); tmp 814 drivers/vme/bridges/vme_fake.c u32 tmp, base; tmp 832 drivers/vme/bridges/vme_fake.c tmp = fake_vmeread32(bridge, base + offset, aspace, cycle); tmp 835 drivers/vme/bridges/vme_fake.c if ((tmp && mask) == (compare && mask)) { tmp 836 drivers/vme/bridges/vme_fake.c tmp = tmp | (mask | swap); tmp 837 drivers/vme/bridges/vme_fake.c tmp = tmp & (~mask | swap); tmp 840 drivers/vme/bridges/vme_fake.c fake_vmewrite32(bridge, &tmp, base + offset, aspace, cycle); tmp 846 drivers/vme/bridges/vme_fake.c return tmp; tmp 968 drivers/vme/bridges/vme_fake.c u32 tmp; tmp 981 drivers/vme/bridges/vme_fake.c tmp = 0; tmp 984 drivers/vme/bridges/vme_fake.c tmp = 1; tmp 987 drivers/vme/bridges/vme_fake.c if (tmp == 0) tmp 307 drivers/vme/bridges/vme_tsi148.c unsigned int tmp; tmp 326 drivers/vme/bridges/vme_tsi148.c tmp = TSI148_LCSR_INTEO_DMA1EO | TSI148_LCSR_INTEO_DMA0EO | tmp 359 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); tmp 360 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); tmp 386 drivers/vme/bridges/vme_tsi148.c u32 tmp; tmp 388 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_VICR); tmp 390 drivers/vme/bridges/vme_tsi148.c if (tmp & TSI148_LCSR_VICR_IRQS) tmp 403 drivers/vme/bridges/vme_tsi148.c u32 tmp; tmp 410 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_INTEN); tmp 411 drivers/vme/bridges/vme_tsi148.c tmp &= ~TSI148_LCSR_INTEN_IRQEN[level - 1]; tmp 412 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); tmp 414 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_INTEO); tmp 415 drivers/vme/bridges/vme_tsi148.c tmp &= ~TSI148_LCSR_INTEO_IRQEO[level - 1]; tmp 416 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); tmp 423 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_INTEO); tmp 424 drivers/vme/bridges/vme_tsi148.c tmp |= TSI148_LCSR_INTEO_IRQEO[level - 1]; tmp 425 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); tmp 427 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_INTEN); tmp 428 drivers/vme/bridges/vme_tsi148.c tmp |= TSI148_LCSR_INTEN_IRQEN[level - 1]; tmp 429 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); tmp 440 drivers/vme/bridges/vme_tsi148.c u32 tmp; tmp 448 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_VICR); tmp 451 drivers/vme/bridges/vme_tsi148.c tmp = (tmp & ~TSI148_LCSR_VICR_STID_M) | tmp 453 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_VICR); tmp 456 drivers/vme/bridges/vme_tsi148.c tmp = tmp | TSI148_LCSR_VICR_IRQL[level]; tmp 457 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_VICR); tmp 1369 drivers/vme/bridges/vme_tsi148.c u32 tmp, result; tmp 1400 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_VMCTRL); tmp 1401 drivers/vme/bridges/vme_tsi148.c tmp |= TSI148_LCSR_VMCTRL_RMWEN; tmp 1402 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_VMCTRL); tmp 1408 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_VMCTRL); tmp 1409 drivers/vme/bridges/vme_tsi148.c tmp &= ~TSI148_LCSR_VMCTRL_RMWEN; tmp 1410 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_VMCTRL); tmp 1787 drivers/vme/bridges/vme_tsi148.c u32 tmp; tmp 1792 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_DMA[channel] + tmp 1795 drivers/vme/bridges/vme_tsi148.c if (tmp & TSI148_LCSR_DSTA_BSY) tmp 2047 drivers/vme/bridges/vme_tsi148.c u32 lm_ctl, tmp; tmp 2078 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_INTEN); tmp 2079 drivers/vme/bridges/vme_tsi148.c tmp |= TSI148_LCSR_INTEN_LMEN[monitor]; tmp 2080 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEN); tmp 2082 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_INTEO); tmp 2083 drivers/vme/bridges/vme_tsi148.c tmp |= TSI148_LCSR_INTEO_LMEO[monitor]; tmp 2084 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); tmp 2102 drivers/vme/bridges/vme_tsi148.c u32 lm_en, tmp; tmp 2114 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_INTEO); tmp 2115 drivers/vme/bridges/vme_tsi148.c tmp &= ~TSI148_LCSR_INTEO_LMEO[monitor]; tmp 2116 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_INTEO); tmp 2128 drivers/vme/bridges/vme_tsi148.c tmp = ioread32be(bridge->base + TSI148_LCSR_LMAT); tmp 2129 drivers/vme/bridges/vme_tsi148.c tmp &= ~TSI148_LCSR_LMAT_EN; tmp 2130 drivers/vme/bridges/vme_tsi148.c iowrite32be(tmp, bridge->base + TSI148_LCSR_LMAT); tmp 1836 drivers/vme/vme.c struct vme_dev *tmp; tmp 1840 drivers/vme/vme.c list_for_each_entry_safe(vdev, tmp, &bridge->devices, bridge_list) { tmp 1858 drivers/vme/vme.c struct vme_dev *tmp; tmp 1890 drivers/vme/vme.c list_for_each_entry_safe(vdev, tmp, &drv->devices, drv_list) { tmp 224 drivers/w1/slaves/w1_ds2431.c char tmp[W1_F2D_SCRATCH_SIZE]; tmp 228 drivers/w1/slaves/w1_ds2431.c W1_F2D_SCRATCH_SIZE, tmp)) { tmp 240 drivers/w1/slaves/w1_ds2431.c memcpy(&tmp[addr & W1_F2D_SCRATCH_MASK], buf, copy); tmp 242 drivers/w1/slaves/w1_ds2431.c W1_F2D_SCRATCH_SIZE, tmp) < 0) { tmp 223 drivers/w1/slaves/w1_ds2805.c char tmp[W1_F0D_SCRATCH_SIZE]; tmp 227 drivers/w1/slaves/w1_ds2805.c W1_F0D_SCRATCH_SIZE, tmp)) { tmp 239 drivers/w1/slaves/w1_ds2805.c memcpy(&tmp[addr & W1_F0D_SCRATCH_MASK], buf, copy); tmp 241 drivers/w1/slaves/w1_ds2805.c W1_F0D_SCRATCH_SIZE, tmp) < 0) { tmp 224 drivers/w1/w1.c long tmp; tmp 228 drivers/w1/w1.c ret = kstrtol(buf, 0, &tmp); tmp 233 drivers/w1/w1.c md->search_count = tmp; tmp 236 drivers/w1/w1.c if (tmp) tmp 260 drivers/w1/w1.c long tmp; tmp 264 drivers/w1/w1.c ret = kstrtol(buf, 0, &tmp); tmp 269 drivers/w1/w1.c md->enable_pullup = tmp; tmp 318 drivers/w1/w1.c int tmp; tmp 321 drivers/w1/w1.c if (kstrtoint(buf, 0, &tmp) || tmp < 1) tmp 325 drivers/w1/w1.c md->max_slave_count = tmp; tmp 919 drivers/w1/w1.c struct w1_reg_num *tmp; tmp 924 drivers/w1/w1.c tmp = (struct w1_reg_num *) &rn; tmp 926 drivers/w1/w1.c sl = w1_slave_search_device(dev, tmp); tmp 930 drivers/w1/w1.c if (rn && tmp->crc == w1_calc_crc8((u8 *)&rn_le, 7)) tmp 931 drivers/w1/w1.c w1_attach_slave_device(dev, tmp); tmp 274 drivers/w1/w1_io.c u8 tmp; tmp 277 drivers/w1/w1_io.c tmp = 0; tmp 281 drivers/w1/w1_io.c tmp |= w1_touch_bit(dev, (buf[i] >> j) & 0x1) << j; tmp 284 drivers/w1/w1_io.c buf[i] = tmp; tmp 96 drivers/watchdog/alim7101_wdt.c char tmp; tmp 100 drivers/watchdog/alim7101_wdt.c pci_read_config_byte(alim7101_pmu, 0x92, &tmp); tmp 102 drivers/watchdog/alim7101_wdt.c ALI_7101_WDT, (tmp & ~ALI_WDT_ARM)); tmp 104 drivers/watchdog/alim7101_wdt.c ALI_7101_WDT, (tmp | ALI_WDT_ARM)); tmp 107 drivers/watchdog/alim7101_wdt.c ALI_7101_GPIO_O, &tmp); tmp 109 drivers/watchdog/alim7101_wdt.c ALI_7101_GPIO_O, tmp | 0x20); tmp 111 drivers/watchdog/alim7101_wdt.c ALI_7101_GPIO_O, tmp & ~0x20); tmp 126 drivers/watchdog/alim7101_wdt.c char tmp; tmp 128 drivers/watchdog/alim7101_wdt.c pci_read_config_byte(alim7101_pmu, ALI_7101_WDT, &tmp); tmp 131 drivers/watchdog/alim7101_wdt.c ALI_7101_WDT, (tmp | ALI_WDT_ARM)); tmp 134 drivers/watchdog/alim7101_wdt.c ALI_7101_GPIO_O, &tmp); tmp 136 drivers/watchdog/alim7101_wdt.c ALI_7101_GPIO_O, tmp & ~0x20); tmp 141 drivers/watchdog/alim7101_wdt.c ALI_7101_WDT, (tmp & ~ALI_WDT_ARM)); tmp 144 drivers/watchdog/alim7101_wdt.c ALI_7101_GPIO_O, &tmp); tmp 146 drivers/watchdog/alim7101_wdt.c ALI_7101_GPIO_O, tmp | 0x20); tmp 363 drivers/watchdog/alim7101_wdt.c char tmp; tmp 382 drivers/watchdog/alim7101_wdt.c pci_read_config_byte(ali1543_south, 0x5e, &tmp); tmp 384 drivers/watchdog/alim7101_wdt.c if ((tmp & 0x1e) == 0x00) { tmp 390 drivers/watchdog/alim7101_wdt.c } else if ((tmp & 0x1e) != 0x12 && (tmp & 0x1e) != 0x00) { tmp 263 drivers/watchdog/asm9260_wdt.c const char *tmp; tmp 270 drivers/watchdog/asm9260_wdt.c "alphascale,mode", &tmp); tmp 274 drivers/watchdog/asm9260_wdt.c if (!strcmp(tmp, "hw")) tmp 276 drivers/watchdog/asm9260_wdt.c else if (!strcmp(tmp, "sw")) tmp 278 drivers/watchdog/asm9260_wdt.c else if (!strcmp(tmp, "debug")) tmp 282 drivers/watchdog/asm9260_wdt.c tmp); tmp 154 drivers/watchdog/at91sam9_wdt.c u32 tmp; tmp 163 drivers/watchdog/at91sam9_wdt.c tmp = wdt_read(wdt, AT91_WDT_MR); tmp 164 drivers/watchdog/at91sam9_wdt.c if ((tmp & mask) != (wdt->mr & mask)) { tmp 165 drivers/watchdog/at91sam9_wdt.c if (tmp == WDT_MR_RESET) { tmp 167 drivers/watchdog/at91sam9_wdt.c tmp = wdt_read(wdt, AT91_WDT_MR); tmp 171 drivers/watchdog/at91sam9_wdt.c if (tmp & AT91_WDT_WDDIS) { tmp 178 drivers/watchdog/at91sam9_wdt.c value = tmp & AT91_WDT_WDV; tmp 179 drivers/watchdog/at91sam9_wdt.c delta = (tmp & AT91_WDT_WDD) >> 16; tmp 208 drivers/watchdog/at91sam9_wdt.c if ((tmp & AT91_WDT_WDFIEN) && wdt->irq) { tmp 217 drivers/watchdog/at91sam9_wdt.c if ((tmp & wdt->mr_mask) != (wdt->mr & wdt->mr_mask)) tmp 220 drivers/watchdog/at91sam9_wdt.c tmp & wdt->mr_mask, wdt->mr & wdt->mr_mask); tmp 270 drivers/watchdog/at91sam9_wdt.c const char *tmp; tmp 294 drivers/watchdog/at91sam9_wdt.c if (!of_property_read_string(np, "atmel,watchdog-type", &tmp) && tmp 295 drivers/watchdog/at91sam9_wdt.c !strcmp(tmp, "software")) { tmp 302 drivers/watchdog/at91sam9_wdt.c if (!of_property_read_string(np, "atmel,reset-type", &tmp) && tmp 303 drivers/watchdog/at91sam9_wdt.c !strcmp(tmp, "proc")) tmp 46 drivers/watchdog/bd70528_wdt.c unsigned int tmp; tmp 52 drivers/watchdog/bd70528_wdt.c ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); tmp 56 drivers/watchdog/bd70528_wdt.c *wd_ctrl = (u8)tmp; tmp 85 drivers/watchdog/bd70528_wdt.c ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); tmp 86 drivers/watchdog/bd70528_wdt.c if ((tmp & BD70528_MASK_WDT_EN) != (*wd_ctrl & BD70528_MASK_WDT_EN)) { tmp 89 drivers/watchdog/bd70528_wdt.c tmp, *wd_ctrl); tmp 57 drivers/watchdog/booke_wdt.c unsigned long long tmp = 1ULL << (64 - period); tmp 65 drivers/watchdog/booke_wdt.c do_div(tmp, tmp2); tmp 66 drivers/watchdog/booke_wdt.c return tmp; tmp 333 drivers/watchdog/f71808e_wdt.c u8 tmp; tmp 397 drivers/watchdog/f71808e_wdt.c tmp = superio_inb(watchdog.sioaddr, SIO_F81866_REG_PORT_SEL); tmp 398 drivers/watchdog/f71808e_wdt.c tmp &= ~(BIT(3) | BIT(0)); tmp 399 drivers/watchdog/f71808e_wdt.c tmp |= BIT(2); tmp 400 drivers/watchdog/f71808e_wdt.c superio_outb(watchdog.sioaddr, SIO_F81866_REG_PORT_SEL, tmp); tmp 85 drivers/watchdog/mpc8xxx_wdt.c u32 tmp = in_be32(&ddata->base->swcrr); tmp 88 drivers/watchdog/mpc8xxx_wdt.c tmp &= ~(SWCRR_SWTC | SWCRR_SWF | SWCRR_SWEN | SWCRR_SWRI | SWCRR_SWPR); tmp 89 drivers/watchdog/mpc8xxx_wdt.c tmp |= SWCRR_SWEN | SWCRR_SWPR | (ddata->swtc << 16); tmp 92 drivers/watchdog/mpc8xxx_wdt.c tmp |= SWCRR_SWRI; tmp 94 drivers/watchdog/mpc8xxx_wdt.c out_be32(&ddata->base->swcrr, tmp); tmp 96 drivers/watchdog/mpc8xxx_wdt.c tmp = in_be32(&ddata->base->swcrr); tmp 97 drivers/watchdog/mpc8xxx_wdt.c if (!(tmp & SWCRR_SWEN)) tmp 100 drivers/watchdog/mpc8xxx_wdt.c ddata->swtc = tmp >> 16; tmp 158 drivers/watchdog/sama5d4_wdt.c const char *tmp; tmp 162 drivers/watchdog/sama5d4_wdt.c if (!of_property_read_string(np, "atmel,watchdog-type", &tmp) && tmp 163 drivers/watchdog/sama5d4_wdt.c !strcmp(tmp, "software")) tmp 457 drivers/xen/balloon.c struct page *page, *tmp; tmp 490 drivers/xen/balloon.c list_for_each_entry_safe(page, tmp, &pages, lru) { tmp 187 drivers/xen/gntalloc.c uint8_t *tmp = kmap(gref->page); tmp 188 drivers/xen/gntalloc.c tmp[gref->notify.pgoff] = 0; tmp 374 drivers/xen/gntdev.c uint8_t *tmp = pfn_to_kaddr(page_to_pfn(map->pages[pgno])); tmp 375 drivers/xen/gntdev.c tmp[map->notify.addr & (PAGE_SIZE-1)] = 0; tmp 318 drivers/xen/pcpu.c struct pcpu *pcpu, *tmp; tmp 328 drivers/xen/pcpu.c list_for_each_entry_safe(pcpu, tmp, &xen_pcpus, list) tmp 330 drivers/xen/xen-acpi-processor.c unsigned long long tmp; tmp 348 drivers/xen/xen-acpi-processor.c status = acpi_evaluate_integer(handle, "_UID", NULL, &tmp); tmp 351 drivers/xen/xen-acpi-processor.c acpi_id = tmp; tmp 362 drivers/xen/xen-pciback/conf_space.c void *tmp; tmp 380 drivers/xen/xen-pciback/conf_space.c tmp = field->init(dev, OFFSET(cfg_entry)); tmp 382 drivers/xen/xen-pciback/conf_space.c if (IS_ERR(tmp)) { tmp 383 drivers/xen/xen-pciback/conf_space.c err = PTR_ERR(tmp); tmp 387 drivers/xen/xen-pciback/conf_space.c cfg_entry->data = tmp; tmp 214 drivers/xen/xen-pciback/vpci.c struct pci_dev_entry *e, *tmp; tmp 215 drivers/xen/xen-pciback/vpci.c list_for_each_entry_safe(e, tmp, &vpci_dev->dev_list[slot], tmp 1210 drivers/xen/xen-scsiback.c struct v2p_entry *entry, *tmp; tmp 1216 drivers/xen/xen-scsiback.c list_for_each_entry_safe(entry, tmp, head, l) tmp 309 drivers/xen/xenbus/xenbus_dev_frontend.c struct xenbus_transaction_holder *trans, *tmp; tmp 320 drivers/xen/xenbus/xenbus_dev_frontend.c list_for_each_entry_safe(trans, tmp, &u->transactions, list) { tmp 791 drivers/xen/xenbus/xenbus_xs.c struct xs_watch_event *event, *tmp; tmp 817 drivers/xen/xenbus/xenbus_xs.c list_for_each_entry_safe(event, tmp, &watch_events, list) { tmp 34 drivers/xen/xenfs/super.c char *tmp = ""; tmp 37 drivers/xen/xenfs/super.c tmp = "control_d\n"; tmp 39 drivers/xen/xenfs/super.c return simple_read_from_buffer(buf, size, off, tmp, strlen(tmp)); tmp 283 fs/affs/affs.h u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[5]); tmp 284 fs/affs/affs.h ((__be32 *)bh->b_data)[5] = cpu_to_be32(tmp - val); tmp 289 fs/affs/affs.h u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[0]); tmp 290 fs/affs/affs.h ((__be32 *)bh->b_data)[0] = cpu_to_be32(tmp - val); tmp 44 fs/affs/bitmap.c u32 blk, bmap, bit, mask, tmp; tmp 73 fs/affs/bitmap.c tmp = be32_to_cpu(*data); tmp 74 fs/affs/bitmap.c if (tmp & mask) tmp 76 fs/affs/bitmap.c *data = cpu_to_be32(tmp | mask); tmp 79 fs/affs/bitmap.c tmp = be32_to_cpu(*(__be32 *)bh->b_data); tmp 80 fs/affs/bitmap.c *(__be32 *)bh->b_data = cpu_to_be32(tmp - mask); tmp 122 fs/affs/bitmap.c u32 blk, bmap, bit, mask, mask2, tmp; tmp 188 fs/affs/bitmap.c tmp = be32_to_cpu(*data); tmp 189 fs/affs/bitmap.c if (tmp & mask) tmp 201 fs/affs/bitmap.c tmp = be32_to_cpu(*data); tmp 206 fs/affs/bitmap.c bit = ffs(tmp & mask) - 1; tmp 213 fs/affs/bitmap.c if (!(tmp & mask2)) tmp 220 fs/affs/bitmap.c *data = cpu_to_be32(tmp & ~mask); tmp 223 fs/affs/bitmap.c tmp = be32_to_cpu(*(__be32 *)bh->b_data); tmp 224 fs/affs/bitmap.c *(__be32 *)bh->b_data = cpu_to_be32(tmp + mask); tmp 66 fs/affs/file.c u32 lc_shift, lc_mask, tmp, off; tmp 70 fs/affs/file.c tmp = (AFFS_I(inode)->i_extcnt / AFFS_LC_SIZE) >> lc_shift; tmp 71 fs/affs/file.c for (; tmp; tmp >>= 1) tmp 122 fs/affs/file.c u32 blocknr, tmp; tmp 142 fs/affs/file.c tmp = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); tmp 143 fs/affs/file.c if (tmp) tmp 144 fs/affs/file.c affs_warning(sb, "alloc_ext", "previous extension set (%x)", tmp); tmp 146 fs/affs/file.c affs_adjust_checksum(bh, blocknr - tmp); tmp 176 fs/affs/file.c u32 tmp, idx; tmp 242 fs/affs/file.c tmp = ext; tmp 244 fs/affs/file.c while (--tmp, --lc_off > 0) { tmp 246 fs/affs/file.c if (AFFS_I(inode)->i_ac[idx].ext == tmp) { tmp 263 fs/affs/file.c tmp++; tmp 264 fs/affs/file.c } while (tmp < ext); tmp 342 fs/affs/file.c u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); tmp 343 fs/affs/file.c if (tmp) tmp 344 fs/affs/file.c affs_warning(sb, "get_block", "first block already set (%d)", tmp); tmp 346 fs/affs/file.c affs_adjust_checksum(ext_bh, blocknr - tmp); tmp 511 fs/affs/file.c u32 tmp; tmp 517 fs/affs/file.c tmp = page->index << PAGE_SHIFT; tmp 518 fs/affs/file.c bidx = tmp / bsize; tmp 519 fs/affs/file.c boff = tmp % bsize; tmp 525 fs/affs/file.c tmp = min(bsize - boff, to - pos); tmp 526 fs/affs/file.c BUG_ON(pos + tmp > to || tmp > bsize); tmp 528 fs/affs/file.c memcpy(data + pos, AFFS_DATA(bh) + boff, tmp); tmp 532 fs/affs/file.c pos += tmp; tmp 546 fs/affs/file.c u32 tmp; tmp 558 fs/affs/file.c tmp = min(bsize - boff, newsize - size); tmp 559 fs/affs/file.c BUG_ON(boff + tmp > bsize || tmp > bsize); tmp 560 fs/affs/file.c memset(AFFS_DATA(bh) + boff, 0, tmp); tmp 561 fs/affs/file.c be32_add_cpu(&AFFS_DATA_HEAD(bh)->size, tmp); tmp 564 fs/affs/file.c size += tmp; tmp 577 fs/affs/file.c tmp = min(bsize, newsize - size); tmp 578 fs/affs/file.c BUG_ON(tmp > bsize); tmp 582 fs/affs/file.c AFFS_DATA_HEAD(bh)->size = cpu_to_be32(tmp); tmp 679 fs/affs/file.c u32 tmp; tmp 697 fs/affs/file.c tmp = (page->index << PAGE_SHIFT) + from; tmp 698 fs/affs/file.c bidx = tmp / bsize; tmp 699 fs/affs/file.c boff = tmp % bsize; tmp 706 fs/affs/file.c tmp = min(bsize - boff, to - from); tmp 707 fs/affs/file.c BUG_ON(boff + tmp > bsize || tmp > bsize); tmp 708 fs/affs/file.c memcpy(AFFS_DATA(bh) + boff, data + from, tmp); tmp 709 fs/affs/file.c be32_add_cpu(&AFFS_DATA_HEAD(bh)->size, tmp); tmp 712 fs/affs/file.c written += tmp; tmp 713 fs/affs/file.c from += tmp; tmp 759 fs/affs/file.c tmp = min(bsize, to - from); tmp 760 fs/affs/file.c BUG_ON(tmp > bsize); tmp 761 fs/affs/file.c memcpy(AFFS_DATA(bh), data + from, tmp); tmp 766 fs/affs/file.c AFFS_DATA_HEAD(bh)->size = cpu_to_be32(tmp); tmp 780 fs/affs/file.c } else if (be32_to_cpu(AFFS_DATA_HEAD(bh)->size) < tmp) tmp 781 fs/affs/file.c AFFS_DATA_HEAD(bh)->size = cpu_to_be32(tmp); tmp 785 fs/affs/file.c written += tmp; tmp 786 fs/affs/file.c from += tmp; tmp 793 fs/affs/file.c tmp = (page->index << PAGE_SHIFT) + from; tmp 794 fs/affs/file.c if (tmp > inode->i_size) tmp 795 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private = tmp; tmp 920 fs/affs/file.c u32 tmp; tmp 927 fs/affs/file.c tmp = be32_to_cpu(AFFS_DATA_HEAD(bh)->next); tmp 929 fs/affs/file.c affs_adjust_checksum(bh, -tmp); tmp 305 fs/afs/cmservice.c call->count = ntohl(call->tmp); tmp 351 fs/afs/cmservice.c call->count2 = ntohl(call->tmp); tmp 672 fs/afs/cmservice.c call->count = ntohl(call->tmp); tmp 115 fs/afs/dir.c int tmp, qty; tmp 133 fs/afs/dir.c for (tmp = 0; tmp < qty; tmp++) { tmp 134 fs/afs/dir.c if (dbuf->blocks[tmp].hdr.magic != AFS_DIR_MAGIC) { tmp 136 fs/afs/dir.c __func__, dvnode->vfs_inode.i_ino, tmp, qty, tmp 137 fs/afs/dir.c ntohs(dbuf->blocks[tmp].hdr.magic)); tmp 148 fs/afs/dir.c ((u8 *)&dbuf->blocks[tmp])[AFS_DIR_BLOCK_SIZE - 1] = 0; tmp 358 fs/afs/dir.c int tmp; tmp 394 fs/afs/dir.c for (tmp = nlen; tmp > 15; tmp -= sizeof(union afs_xdr_dirent)) { tmp 400 fs/afs/dir.c offset, next, tmp, nlen); tmp 408 fs/afs/dir.c offset, next, tmp, nlen); tmp 414 fs/afs/dir.c next, tmp, nlen); tmp 1838 fs/afs/dir.c struct dentry *tmp = NULL, *rehash = NULL; tmp 1891 fs/afs/dir.c tmp = d_alloc(new_dentry->d_parent, tmp 1893 fs/afs/dir.c if (!tmp) tmp 1902 fs/afs/dir.c new_dentry = tmp; tmp 2003 fs/afs/dir.c if (tmp) tmp 2004 fs/afs/dir.c dput(tmp); tmp 284 fs/afs/dynroot.c struct dentry *root = sb->s_root, *subdir, *tmp; tmp 295 fs/afs/dynroot.c list_for_each_entry_safe(subdir, tmp, &root->d_subdirs, d_child) { tmp 1501 fs/afs/fsclient.c call->count = ntohl(call->tmp); tmp 1531 fs/afs/fsclient.c call->count = ntohl(call->tmp); tmp 1562 fs/afs/fsclient.c call->count = ntohl(call->tmp); tmp 1874 fs/afs/fsclient.c count = ntohl(call->tmp); tmp 2029 fs/afs/fsclient.c u32 tmp; tmp 2047 fs/afs/fsclient.c tmp = ntohl(call->tmp); tmp 2048 fs/afs/fsclient.c _debug("status count: %u/%u", tmp, call->count2); tmp 2049 fs/afs/fsclient.c if (tmp != call->count2) tmp 2087 fs/afs/fsclient.c tmp = ntohl(call->tmp); tmp 2088 fs/afs/fsclient.c _debug("CB count: %u", tmp); tmp 2089 fs/afs/fsclient.c if (tmp != call->count2) tmp 2219 fs/afs/fsclient.c size = call->count2 = ntohl(call->tmp); tmp 171 fs/afs/internal.h __be32 tmp; tmp 1144 fs/afs/internal.h afs_extract_begin(call, &call->tmp, sizeof(call->tmp)); tmp 815 fs/afs/rxrpc.c call->operation_ID = ntohl(call->tmp); tmp 22 fs/afs/vlclient.c u32 tmp, nr_servers, vlflags; tmp 48 fs/afs/vlclient.c tmp = ntohl(uvldb->serverFlags[i]); tmp 49 fs/afs/vlclient.c if (!(tmp & AFS_VLSF_DONTUSE) && tmp 50 fs/afs/vlclient.c (tmp & AFS_VLSF_NEWREPSITE)) tmp 61 fs/afs/vlclient.c tmp = ntohl(uvldb->serverFlags[i]); tmp 62 fs/afs/vlclient.c if (tmp & AFS_VLSF_DONTUSE || tmp 63 fs/afs/vlclient.c (new_only && !(tmp & AFS_VLSF_NEWREPSITE))) tmp 65 fs/afs/vlclient.c if (tmp & AFS_VLSF_RWVOL) { tmp 70 fs/afs/vlclient.c if (tmp & AFS_VLSF_ROVOL) tmp 332 fs/afs/vlclient.c count = ntohl(call->tmp); tmp 825 fs/afs/write.c struct afs_wb_key *wbk, *tmp; tmp 832 fs/afs/write.c list_for_each_entry_safe(wbk, tmp, &vnode->wb_keys, vnode_link) { tmp 1458 fs/afs/yfsclient.c call->count = ntohl(call->tmp); tmp 1488 fs/afs/yfsclient.c call->count = ntohl(call->tmp); tmp 1519 fs/afs/yfsclient.c call->count = ntohl(call->tmp); tmp 1811 fs/afs/yfsclient.c u32 tmp; tmp 1829 fs/afs/yfsclient.c tmp = ntohl(call->tmp); tmp 1830 fs/afs/yfsclient.c _debug("status count: %u/%u", tmp, call->count2); tmp 1831 fs/afs/yfsclient.c if (tmp != call->count2) tmp 1869 fs/afs/yfsclient.c tmp = ntohl(call->tmp); tmp 1870 fs/afs/yfsclient.c _debug("CB count: %u", tmp); tmp 1871 fs/afs/yfsclient.c if (tmp != call->count2) tmp 2001 fs/afs/yfsclient.c size = call->count2 = ntohl(call->tmp); tmp 2033 fs/afs/yfsclient.c size = call->count2 = ntohl(call->tmp); tmp 82 fs/autofs/dev-ioctl.c struct autofs_dev_ioctl tmp, *res; tmp 84 fs/autofs/dev-ioctl.c if (copy_from_user(&tmp, in, AUTOFS_DEV_IOCTL_SIZE)) tmp 87 fs/autofs/dev-ioctl.c if (tmp.size < AUTOFS_DEV_IOCTL_SIZE) tmp 90 fs/autofs/dev-ioctl.c if (tmp.size > AUTOFS_DEV_IOCTL_SIZE + PATH_MAX) tmp 93 fs/autofs/dev-ioctl.c res = memdup_user(in, tmp.size); tmp 95 fs/autofs/dev-ioctl.c res->size = tmp.size; tmp 182 fs/autofs/waitq.c struct dentry *tmp; tmp 195 fs/autofs/waitq.c for (tmp = dentry ; tmp != root ; tmp = tmp->d_parent) tmp 196 fs/autofs/waitq.c len += tmp->d_name.len + 1; tmp 210 fs/autofs/waitq.c for (tmp = dentry->d_parent; tmp != root ; tmp = tmp->d_parent) { tmp 212 fs/autofs/waitq.c p -= tmp->d_name.len; tmp 213 fs/autofs/waitq.c strncpy(p, tmp->d_name.name, tmp->d_name.len); tmp 627 fs/befs/btree.c ulong tmp = off % keylen_align; tmp 629 fs/befs/btree.c if (tmp) tmp 630 fs/befs/btree.c off += keylen_align - tmp; tmp 2115 fs/binfmt_elf.c struct list_head *tmp = info->thread_list.next; tmp 2116 fs/binfmt_elf.c list_del(tmp); tmp 2117 fs/binfmt_elf.c kfree(list_entry(tmp, struct elf_thread_status, list)); tmp 740 fs/binfmt_elf_fdpic.c unsigned nloads, tmp; tmp 850 fs/binfmt_elf_fdpic.c tmp = phdr->p_memsz / sizeof(Elf32_Dyn); tmp 852 fs/binfmt_elf_fdpic.c __get_user(d_tag, &dyn[tmp - 1].d_tag); tmp 1575 fs/binfmt_elf_fdpic.c struct elf_thread_status *tmp; tmp 1614 fs/binfmt_elf_fdpic.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 1615 fs/binfmt_elf_fdpic.c if (!tmp) tmp 1618 fs/binfmt_elf_fdpic.c tmp->thread = ct->task; tmp 1619 fs/binfmt_elf_fdpic.c list_add(&tmp->list, &thread_list); tmp 1623 fs/binfmt_elf_fdpic.c struct elf_thread_status *tmp; tmp 1626 fs/binfmt_elf_fdpic.c tmp = list_entry(t, struct elf_thread_status, list); tmp 1627 fs/binfmt_elf_fdpic.c sz = elf_dump_thread_status(cprm->siginfo->si_signo, tmp); tmp 1761 fs/binfmt_elf_fdpic.c struct elf_thread_status *tmp = tmp 1764 fs/binfmt_elf_fdpic.c for (i = 0; i < tmp->num_notes; i++) tmp 1765 fs/binfmt_elf_fdpic.c if (!writenote(&tmp->notes[i], cprm)) tmp 1795 fs/binfmt_elf_fdpic.c struct list_head *tmp = thread_list.next; tmp 1796 fs/binfmt_elf_fdpic.c list_del(tmp); tmp 1797 fs/binfmt_elf_fdpic.c kfree(list_entry(tmp, struct elf_thread_status, list)); tmp 800 fs/binfmt_flat.c __be32 tmp; tmp 807 fs/binfmt_flat.c if (get_user(tmp, reloc + i)) tmp 809 fs/binfmt_flat.c relval = ntohl(tmp); tmp 1404 fs/btrfs/backref.c struct ulist *tmp; tmp 1409 fs/btrfs/backref.c tmp = ulist_alloc(GFP_NOFS); tmp 1410 fs/btrfs/backref.c if (!tmp) tmp 1414 fs/btrfs/backref.c ulist_free(tmp); tmp 1421 fs/btrfs/backref.c tmp, *roots, NULL, NULL, ignore_offset); tmp 1423 fs/btrfs/backref.c ulist_free(tmp); tmp 1427 fs/btrfs/backref.c node = ulist_next(tmp, &uiter); tmp 1434 fs/btrfs/backref.c ulist_free(tmp); tmp 1469 fs/btrfs/backref.c struct ulist *roots, struct ulist *tmp) tmp 1484 fs/btrfs/backref.c ulist_init(tmp); tmp 1500 fs/btrfs/backref.c ret = find_parent_nodes(trans, fs_info, bytenr, elem.seq, tmp, tmp 1510 fs/btrfs/backref.c node = ulist_next(tmp, &uiter); tmp 1526 fs/btrfs/backref.c ulist_release(tmp); tmp 2311 fs/btrfs/block-group.c struct btrfs_block_group_cache *cache, *tmp; tmp 2324 fs/btrfs/block-group.c list_for_each_entry_safe(cache, tmp, &cur_trans->dirty_bgs, tmp 1773 fs/btrfs/check-integrity.c struct btrfsic_block_link *l, *tmp; tmp 1878 fs/btrfs/check-integrity.c list_for_each_entry_safe(l, tmp, &block->ref_to_list, tmp 3013 fs/btrfs/check-integrity.c struct btrfsic_block_link *l, *tmp; tmp 3015 fs/btrfs/check-integrity.c list_for_each_entry_safe(l, tmp, &b_all->ref_to_list, tmp 1715 fs/btrfs/ctree.c struct btrfs_disk_key *tmp = NULL; tmp 1744 fs/btrfs/ctree.c tmp = (struct btrfs_disk_key *)(kaddr + offset - tmp 1749 fs/btrfs/ctree.c tmp = &unaligned; tmp 1755 fs/btrfs/ctree.c tmp = (struct btrfs_disk_key *)(kaddr + offset - tmp 1758 fs/btrfs/ctree.c ret = comp_keys(tmp, key); tmp 2420 fs/btrfs/ctree.c struct extent_buffer *tmp; tmp 2430 fs/btrfs/ctree.c tmp = find_extent_buffer(fs_info, blocknr); tmp 2431 fs/btrfs/ctree.c if (tmp) { tmp 2433 fs/btrfs/ctree.c if (btrfs_buffer_uptodate(tmp, gen, 1) > 0) { tmp 2439 fs/btrfs/ctree.c if (btrfs_verify_level_key(tmp, tmp 2441 fs/btrfs/ctree.c free_extent_buffer(tmp); tmp 2444 fs/btrfs/ctree.c *eb_ret = tmp; tmp 2457 fs/btrfs/ctree.c ret = btrfs_read_buffer(tmp, gen, parent_level - 1, &first_key); tmp 2459 fs/btrfs/ctree.c *eb_ret = tmp; tmp 2462 fs/btrfs/ctree.c free_extent_buffer(tmp); tmp 2481 fs/btrfs/ctree.c tmp = read_tree_block(fs_info, blocknr, gen, parent_level - 1, tmp 2483 fs/btrfs/ctree.c if (!IS_ERR(tmp)) { tmp 2490 fs/btrfs/ctree.c if (!extent_buffer_uptodate(tmp)) tmp 2492 fs/btrfs/ctree.c free_extent_buffer(tmp); tmp 2494 fs/btrfs/ctree.c ret = PTR_ERR(tmp); tmp 4526 fs/btrfs/disk-io.c struct btrfs_device *dev, *tmp; tmp 4532 fs/btrfs/disk-io.c list_for_each_entry_safe(dev, tmp, &cur_trans->dev_update_list, tmp 2883 fs/btrfs/extent-tree.c struct btrfs_block_group_cache *block_group, *tmp; tmp 2923 fs/btrfs/extent-tree.c list_for_each_entry_safe(block_group, tmp, deleted_bgs, bg_list) { tmp 848 fs/btrfs/file-item.c u64 tmp; tmp 858 fs/btrfs/file-item.c tmp = sums->len - total_bytes; tmp 859 fs/btrfs/file-item.c tmp >>= fs_info->sb->s_blocksize_bits; tmp 860 fs/btrfs/file-item.c WARN_ON(tmp < 1); tmp 862 fs/btrfs/file-item.c extend_nr = max_t(int, 1, (int)tmp); tmp 881 fs/btrfs/file-item.c u64 tmp; tmp 883 fs/btrfs/file-item.c tmp = sums->len - total_bytes; tmp 884 fs/btrfs/file-item.c tmp >>= fs_info->sb->s_blocksize_bits; tmp 885 fs/btrfs/file-item.c tmp = min(tmp, (next_offset - file_key.offset) >> tmp 888 fs/btrfs/file-item.c tmp = max_t(u64, 1, tmp); tmp 889 fs/btrfs/file-item.c tmp = min_t(u64, tmp, MAX_CSUM_ITEMS(fs_info, csum_size)); tmp 890 fs/btrfs/file-item.c ins_size = csum_size * tmp; tmp 214 fs/btrfs/file.c struct inode_defrag tmp; tmp 219 fs/btrfs/file.c tmp.ino = ino; tmp 220 fs/btrfs/file.c tmp.root = root; tmp 228 fs/btrfs/file.c ret = __compare_inode_defrag(&tmp, entry); tmp 237 fs/btrfs/file.c if (parent && __compare_inode_defrag(&tmp, entry) > 0) { tmp 3170 fs/btrfs/file.c struct falloc_range *tmp; tmp 3331 fs/btrfs/file.c list_for_each_entry_safe(range, tmp, &reserve_list, list) { tmp 465 fs/btrfs/free-space-cache.c u32 *tmp; tmp 480 fs/btrfs/free-space-cache.c tmp = page_address(io_ctl->pages[0]); tmp 481 fs/btrfs/free-space-cache.c tmp += index; tmp 482 fs/btrfs/free-space-cache.c *tmp = crc; tmp 487 fs/btrfs/free-space-cache.c u32 *tmp, val; tmp 499 fs/btrfs/free-space-cache.c tmp = page_address(io_ctl->pages[0]); tmp 500 fs/btrfs/free-space-cache.c tmp += index; tmp 501 fs/btrfs/free-space-cache.c val = *tmp; tmp 1813 fs/btrfs/free-space-cache.c u64 tmp; tmp 1836 fs/btrfs/free-space-cache.c tmp = entry->offset - ctl->start + align - 1; tmp 1837 fs/btrfs/free-space-cache.c tmp = div64_u64(tmp, align); tmp 1838 fs/btrfs/free-space-cache.c tmp = tmp * align + ctl->start; tmp 1839 fs/btrfs/free-space-cache.c align_off = tmp - entry->offset; tmp 1842 fs/btrfs/free-space-cache.c tmp = entry->offset; tmp 1854 fs/btrfs/free-space-cache.c ret = search_bitmap(ctl, entry, &tmp, &size, true); tmp 1856 fs/btrfs/free-space-cache.c *offset = tmp; tmp 1867 fs/btrfs/free-space-cache.c *offset = tmp; tmp 3065 fs/btrfs/free-space-cache.c struct btrfs_free_space *entry, *tmp; tmp 3118 fs/btrfs/free-space-cache.c list_for_each_entry_safe(entry, tmp, &bitmaps, list) tmp 3687 fs/btrfs/free-space-cache.c struct btrfs_free_space *tmp; tmp 3705 fs/btrfs/free-space-cache.c tmp = rb_entry(n, struct btrfs_free_space, tmp 3707 fs/btrfs/free-space-cache.c if (tmp->offset + tmp->bytes < offset) tmp 3709 fs/btrfs/free-space-cache.c if (offset + bytes < tmp->offset) { tmp 3710 fs/btrfs/free-space-cache.c n = rb_prev(&tmp->offset_index); tmp 3713 fs/btrfs/free-space-cache.c info = tmp; tmp 3719 fs/btrfs/free-space-cache.c tmp = rb_entry(n, struct btrfs_free_space, tmp 3721 fs/btrfs/free-space-cache.c if (offset + bytes < tmp->offset) tmp 3723 fs/btrfs/free-space-cache.c if (tmp->offset + tmp->bytes < offset) { tmp 3724 fs/btrfs/free-space-cache.c n = rb_next(&tmp->offset_index); tmp 3727 fs/btrfs/free-space-cache.c info = tmp; tmp 2663 fs/btrfs/inode.c struct old_sa_defrag_extent *old, *tmp; tmp 2668 fs/btrfs/inode.c list_for_each_entry_safe(old, tmp, &new->head, list) { tmp 2915 fs/btrfs/inode.c struct old_sa_defrag_extent *old, *tmp; tmp 2920 fs/btrfs/inode.c list_for_each_entry_safe(old, tmp, &new->head, list) { tmp 6970 fs/btrfs/inode.c char *tmp; tmp 6981 fs/btrfs/inode.c tmp = kmalloc(inline_size, GFP_NOFS); tmp 6982 fs/btrfs/inode.c if (!tmp) tmp 6986 fs/btrfs/inode.c read_extent_buffer(leaf, tmp, ptr, inline_size); tmp 6989 fs/btrfs/inode.c ret = btrfs_decompress(compress_type, tmp, page, tmp 7005 fs/btrfs/inode.c kfree(tmp); tmp 4076 fs/btrfs/ioctl.c struct btrfs_space_info *tmp; tmp 4080 fs/btrfs/ioctl.c list_for_each_entry_rcu(tmp, &fs_info->space_info, tmp 4082 fs/btrfs/ioctl.c if (tmp->flags == types[i]) { tmp 4083 fs/btrfs/ioctl.c info = tmp; tmp 4129 fs/btrfs/ioctl.c struct btrfs_space_info *tmp; tmp 4136 fs/btrfs/ioctl.c list_for_each_entry_rcu(tmp, &fs_info->space_info, tmp 4138 fs/btrfs/ioctl.c if (tmp->flags == types[i]) { tmp 4139 fs/btrfs/ioctl.c info = tmp; tmp 1141 fs/btrfs/qgroup.c struct ulist *tmp, u64 ref_root, tmp 1171 fs/btrfs/qgroup.c ret = ulist_add(tmp, glist->group->qgroupid, tmp 1179 fs/btrfs/qgroup.c while ((unode = ulist_next(tmp, &uiter))) { tmp 1194 fs/btrfs/qgroup.c ret = ulist_add(tmp, glist->group->qgroupid, tmp 1218 fs/btrfs/qgroup.c struct ulist *tmp, u64 src, u64 dst, tmp 1230 fs/btrfs/qgroup.c err = __qgroup_excl_accounting(fs_info, tmp, dst, tmp 1251 fs/btrfs/qgroup.c struct ulist *tmp; tmp 1258 fs/btrfs/qgroup.c tmp = ulist_alloc(GFP_KERNEL); tmp 1259 fs/btrfs/qgroup.c if (!tmp) tmp 1299 fs/btrfs/qgroup.c ret = quick_update_accounting(fs_info, tmp, src, dst, 1); tmp 1303 fs/btrfs/qgroup.c ulist_free(tmp); tmp 1315 fs/btrfs/qgroup.c struct ulist *tmp; tmp 1320 fs/btrfs/qgroup.c tmp = ulist_alloc(GFP_KERNEL); tmp 1321 fs/btrfs/qgroup.c if (!tmp) tmp 1362 fs/btrfs/qgroup.c ret = quick_update_accounting(fs_info, tmp, src, dst, -1); tmp 1366 fs/btrfs/qgroup.c ulist_free(tmp); tmp 2209 fs/btrfs/qgroup.c struct ulist *roots, struct ulist *tmp, tmp 2227 fs/btrfs/qgroup.c ulist_reinit(tmp); tmp 2232 fs/btrfs/qgroup.c ret = ulist_add(tmp, qg->qgroupid, qgroup_to_aux(qg), GFP_ATOMIC); tmp 2236 fs/btrfs/qgroup.c while ((tmp_unode = ulist_next(tmp, &tmp_uiter))) { tmp 2250 fs/btrfs/qgroup.c ret = ulist_add(tmp, glist->group->qgroupid, tmp 2421 fs/btrfs/qgroup.c struct ulist *tmp = NULL; tmp 2459 fs/btrfs/qgroup.c tmp = ulist_alloc(GFP_NOFS); tmp 2460 fs/btrfs/qgroup.c if (!tmp) { tmp 2479 fs/btrfs/qgroup.c ret = qgroup_update_refcnt(fs_info, old_roots, tmp, qgroups, seq, tmp 2485 fs/btrfs/qgroup.c ret = qgroup_update_refcnt(fs_info, new_roots, tmp, qgroups, seq, tmp 2500 fs/btrfs/qgroup.c ulist_free(tmp); tmp 1889 fs/btrfs/raid56.c int tmp = failb; tmp 1891 fs/btrfs/raid56.c faila = tmp; tmp 767 fs/btrfs/ref-verify.c struct ref_action *tmp; tmp 769 fs/btrfs/ref-verify.c tmp = list_first_entry(&be->actions, struct ref_action, tmp 771 fs/btrfs/ref-verify.c list_del(&tmp->list); tmp 772 fs/btrfs/ref-verify.c kfree(tmp); tmp 775 fs/btrfs/ref-verify.c struct root_entry *tmp; tmp 809 fs/btrfs/ref-verify.c tmp = insert_root_entry(&be->roots, re); tmp 810 fs/btrfs/ref-verify.c if (tmp) { tmp 812 fs/btrfs/ref-verify.c re = tmp; tmp 2752 fs/btrfs/relocation.c u64 tmp; tmp 2767 fs/btrfs/relocation.c tmp = fs_info->nodesize * RELOCATION_RESERVED_NODES; tmp 2768 fs/btrfs/relocation.c while (tmp <= rc->reserved_bytes) tmp 2769 fs/btrfs/relocation.c tmp <<= 1; tmp 2777 fs/btrfs/relocation.c rc->block_rsv->size = tmp + fs_info->nodesize * tmp 527 fs/btrfs/send.c char *tmp; tmp 533 fs/btrfs/send.c tmp = p->start; tmp 537 fs/btrfs/send.c memmove(p->start, tmp, len + 1); tmp 1082 fs/btrfs/send.c char *tmp = krealloc(buf, buf_len, tmp 1085 fs/btrfs/send.c if (!tmp) tmp 1087 fs/btrfs/send.c buf = tmp; tmp 1544 fs/btrfs/send.c char tmp[64]; tmp 1553 fs/btrfs/send.c len = snprintf(tmp, sizeof(tmp), "o%llu-%llu-%llu", tmp 1555 fs/btrfs/send.c ASSERT(len < sizeof(tmp)); tmp 1559 fs/btrfs/send.c tmp, strlen(tmp), 0); tmp 1579 fs/btrfs/send.c tmp, strlen(tmp), 0); tmp 1594 fs/btrfs/send.c ret = fs_path_add(dest, tmp, strlen(tmp)); tmp 62 fs/btrfs/tests/extent-io-tests.c struct extent_io_tree *tmp; tmp 80 fs/btrfs/tests/extent-io-tests.c tmp = &BTRFS_I(inode)->io_tree; tmp 86 fs/btrfs/tests/extent-io-tests.c extent_io_tree_init(NULL, tmp, IO_TREE_SELFTEST, NULL); tmp 113 fs/btrfs/tests/extent-io-tests.c set_extent_delalloc(tmp, 0, sectorsize - 1, 0, NULL); tmp 127 fs/btrfs/tests/extent-io-tests.c unlock_extent(tmp, start, end); tmp 144 fs/btrfs/tests/extent-io-tests.c set_extent_delalloc(tmp, sectorsize, max_bytes - 1, 0, NULL); tmp 163 fs/btrfs/tests/extent-io-tests.c unlock_extent(tmp, start, end); tmp 199 fs/btrfs/tests/extent-io-tests.c set_extent_delalloc(tmp, max_bytes, total_dirty - 1, 0, NULL); tmp 218 fs/btrfs/tests/extent-io-tests.c unlock_extent(tmp, start, end); tmp 261 fs/btrfs/tests/extent-io-tests.c clear_extent_bits(tmp, 0, total_dirty - 1, (unsigned)-1); tmp 86 fs/btrfs/transaction.c struct btrfs_root *root, *tmp; tmp 89 fs/btrfs/transaction.c list_for_each_entry_safe(root, tmp, &cur_trans->switch_commits, tmp 1419 fs/btrfs/transaction.c struct extent_buffer *tmp; tmp 1547 fs/btrfs/transaction.c ret = btrfs_copy_root(trans, root, old, &tmp, objectid); tmp 1559 fs/btrfs/transaction.c btrfs_set_root_node(new_root_item, tmp); tmp 1563 fs/btrfs/transaction.c btrfs_tree_unlock(tmp); tmp 1564 fs/btrfs/transaction.c free_extent_buffer(tmp); tmp 1891 fs/btrfs/transaction.c struct btrfs_block_group_cache *block_group, *tmp; tmp 1893 fs/btrfs/transaction.c list_for_each_entry_safe(block_group, tmp, &trans->new_bgs, bg_list) { tmp 3614 fs/btrfs/tree-log.c struct btrfs_key tmp; tmp 3615 fs/btrfs/tree-log.c btrfs_item_key_to_cpu(path->nodes[0], &tmp, tmp 3617 fs/btrfs/tree-log.c if (key_type == tmp.type) tmp 3618 fs/btrfs/tree-log.c first_offset = max(min_offset, tmp.offset) + 1; tmp 3626 fs/btrfs/tree-log.c struct btrfs_key tmp; tmp 3627 fs/btrfs/tree-log.c btrfs_item_key_to_cpu(path->nodes[0], &tmp, path->slots[0]); tmp 3628 fs/btrfs/tree-log.c if (key_type == tmp.type) { tmp 3629 fs/btrfs/tree-log.c first_offset = tmp.offset; tmp 3632 fs/btrfs/tree-log.c &tmp); tmp 3658 fs/btrfs/tree-log.c struct btrfs_key tmp; tmp 3699 fs/btrfs/tree-log.c btrfs_dir_item_key_to_cpu(src, di, &tmp); tmp 3703 fs/btrfs/tree-log.c tmp.type != BTRFS_ROOT_ITEM_KEY) tmp 3720 fs/btrfs/tree-log.c btrfs_item_key_to_cpu(path->nodes[0], &tmp, path->slots[0]); tmp 3721 fs/btrfs/tree-log.c if (tmp.objectid != ino || tmp.type != key_type) { tmp 3728 fs/btrfs/tree-log.c &tmp); tmp 3732 fs/btrfs/tree-log.c last_offset = tmp.offset; tmp 1329 fs/btrfs/volumes.c struct btrfs_device *device, *tmp; tmp 1335 fs/btrfs/volumes.c list_for_each_entry_safe(device, tmp, &fs_devices->devices, dev_list) { tmp 6241 fs/btrfs/volumes.c u64 tmp; tmp 6253 fs/btrfs/volumes.c tmp = stripe_nr * data_stripes; tmp 6256 fs/btrfs/volumes.c em->start + (tmp + i) * map->stripe_len; tmp 6701 fs/btrfs/volumes.c u64 tmp; tmp 6711 fs/btrfs/volumes.c tmp = *devid; tmp 6715 fs/btrfs/volumes.c ret = find_next_devid(fs_info, &tmp); tmp 6721 fs/btrfs/volumes.c dev->devid = tmp; tmp 295 fs/btrfs/zlib.c unsigned long tmp; tmp 304 fs/btrfs/zlib.c tmp = srclen - workspace->strm.total_in; tmp 305 fs/btrfs/zlib.c workspace->strm.avail_in = min(tmp, tmp 257 fs/buffer.c struct buffer_head *tmp; tmp 282 fs/buffer.c tmp = bh; tmp 284 fs/buffer.c if (!buffer_uptodate(tmp)) tmp 286 fs/buffer.c if (buffer_async_read(tmp)) { tmp 287 fs/buffer.c BUG_ON(!buffer_locked(tmp)); tmp 290 fs/buffer.c tmp = tmp->b_this_page; tmp 291 fs/buffer.c } while (tmp != bh); tmp 318 fs/buffer.c struct buffer_head *tmp; tmp 339 fs/buffer.c tmp = bh->b_this_page; tmp 340 fs/buffer.c while (tmp != bh) { tmp 341 fs/buffer.c if (buffer_async_write(tmp)) { tmp 342 fs/buffer.c BUG_ON(!buffer_locked(tmp)); tmp 345 fs/buffer.c tmp = tmp->b_this_page; tmp 676 fs/buffer.c struct list_head tmp; tmp 681 fs/buffer.c INIT_LIST_HEAD(&tmp); tmp 693 fs/buffer.c list_add(&bh->b_assoc_buffers, &tmp); tmp 723 fs/buffer.c while (!list_empty(&tmp)) { tmp 724 fs/buffer.c bh = BH_ENTRY(tmp.prev); tmp 2973 fs/buffer.c struct buffer_head tmp = { tmp 2977 fs/buffer.c get_block(inode, block, &tmp, 0); tmp 2978 fs/buffer.c return tmp.b_blocknr; tmp 1249 fs/ceph/dir.c struct ceph_dentry_info *di, *tmp; tmp 1258 fs/ceph/dir.c list_for_each_entry_safe(di, tmp, list, lease_list) { tmp 189 fs/ceph/ioctl.c u64 tmp; tmp 205 fs/ceph/ioctl.c tmp = dl.object_offset; tmp 206 fs/ceph/ioctl.c dl.block_offset = do_div(tmp, dl.block_size); tmp 623 fs/ceph/xattr.c struct rb_node *p, *tmp; tmp 632 fs/ceph/xattr.c tmp = p; tmp 633 fs/ceph/xattr.c p = rb_next(tmp); tmp 636 fs/ceph/xattr.c rb_erase(tmp, &ci->i_xattrs.index); tmp 51 fs/cifs/cifs_debug.c struct list_head *tmp; tmp 59 fs/cifs/cifs_debug.c list_for_each(tmp, &server->pending_mid_q) { tmp 60 fs/cifs/cifs_debug.c mid_entry = list_entry(tmp, struct mid_q_entry, qhead); tmp 145 fs/cifs/cifs_debug.c struct list_head *stmp, *tmp, *tmp1, *tmp2; tmp 163 fs/cifs/cifs_debug.c list_for_each(tmp, &server->smb_ses_list) { tmp 164 fs/cifs/cifs_debug.c ses = list_entry(tmp, struct cifs_ses, smb_ses_list); tmp 186 fs/cifs/cifs_unicode.c char tmp[NLS_MAX_CHARSET_SIZE]; tmp 215 fs/cifs/cifs_unicode.c charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); tmp 312 fs/cifs/cifs_unicode.c char tmp[NLS_MAX_CHARSET_SIZE]; tmp 328 fs/cifs/cifs_unicode.c charlen = cifs_mapchar(tmp, ftmp, codepage, NO_MAP_UNI_RSVD); tmp 467 fs/cifs/cifs_unicode.c wchar_t tmp; tmp 505 fs/cifs/cifs_unicode.c charlen = cp->char2uni(source + i, srclen - i, &tmp); tmp 506 fs/cifs/cifs_unicode.c dst_char = cpu_to_le16(tmp); tmp 101 fs/cifs/cifssmb.c struct list_head *tmp; tmp 106 fs/cifs/cifssmb.c list_for_each_safe(tmp, tmp1, &tcon->openFileList) { tmp 107 fs/cifs/cifssmb.c open_file = list_entry(tmp, struct cifsFileInfo, tlist); tmp 571 fs/cifs/cifssmb.c __s16 tmp; tmp 592 fs/cifs/cifssmb.c tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone); tmp 593 fs/cifs/cifssmb.c if (tmp == -1) { tmp 619 fs/cifs/cifssmb.c server->timeAdj = (int)tmp; tmp 493 fs/cifs/connect.c struct list_head *tmp, *tmp2; tmp 553 fs/cifs/connect.c list_for_each(tmp, &server->smb_ses_list) { tmp 554 fs/cifs/connect.c ses = list_entry(tmp, struct cifs_ses, smb_ses_list); tmp 588 fs/cifs/connect.c list_for_each_safe(tmp, tmp2, &server->pending_mid_q) { tmp 589 fs/cifs/connect.c mid_entry = list_entry(tmp, struct mid_q_entry, qhead); tmp 600 fs/cifs/connect.c list_for_each_safe(tmp, tmp2, &retry_list) { tmp 601 fs/cifs/connect.c mid_entry = list_entry(tmp, struct mid_q_entry, qhead); tmp 1008 fs/cifs/connect.c struct list_head *tmp, *tmp2; tmp 1012 fs/cifs/connect.c list_for_each_safe(tmp, tmp2, &server->pending_mid_q) { tmp 1013 fs/cifs/connect.c mid_entry = list_entry(tmp, struct mid_q_entry, qhead); tmp 1023 fs/cifs/connect.c list_for_each_safe(tmp, tmp2, &dispose_list) { tmp 1024 fs/cifs/connect.c mid_entry = list_entry(tmp, struct mid_q_entry, qhead); tmp 3359 fs/cifs/connect.c struct list_head *tmp; tmp 3363 fs/cifs/connect.c list_for_each(tmp, &ses->tcon_list) { tmp 3364 fs/cifs/connect.c tcon = list_entry(tmp, struct cifs_tcon, tcon_list); tmp 4659 fs/cifs/connect.c char sep, tmp; tmp 4687 fs/cifs/connect.c tmp = *s; tmp 4691 fs/cifs/connect.c *s = tmp; tmp 5474 fs/cifs/connect.c struct rb_node *tmp; tmp 5487 fs/cifs/connect.c tmp = node; tmp 5488 fs/cifs/connect.c node = rb_next(tmp); tmp 5489 fs/cifs/connect.c tlink = rb_entry(tmp, struct tcon_link, tl_rbnode); tmp 5498 fs/cifs/connect.c rb_erase(tmp, root); tmp 386 fs/cifs/file.c struct cifsLockInfo *li, *tmp; tmp 394 fs/cifs/file.c list_for_each_entry_safe(li, tmp, &cifs_file->llist->locks, llist) { tmp 855 fs/cifs/file.c struct list_head *tmp; tmp 869 fs/cifs/file.c list_for_each(tmp, &tcon->openFileList) { tmp 870 fs/cifs/file.c open_file = list_entry(tmp, struct cifsFileInfo, tlist); tmp 878 fs/cifs/file.c list_for_each_safe(tmp, tmp1, &tmp_list) { tmp 879 fs/cifs/file.c open_file = list_entry(tmp, struct cifsFileInfo, rlist); tmp 958 fs/cifs/file.c struct cifsLockInfo *li, *tmp; tmp 959 fs/cifs/file.c list_for_each_entry_safe(li, tmp, &lock->blist, blist) { tmp 1190 fs/cifs/file.c struct cifsLockInfo *li, *tmp; tmp 1228 fs/cifs/file.c list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) { tmp 1287 fs/cifs/file.c struct lock_to_push *lck, *tmp; tmp 1342 fs/cifs/file.c list_for_each_entry_safe(lck, tmp, &locks_to_send, llist) { tmp 1358 fs/cifs/file.c list_for_each_entry_safe(lck, tmp, &locks_to_send, llist) { tmp 1511 fs/cifs/file.c struct list_head *li, *tmp; tmp 1512 fs/cifs/file.c list_for_each_safe(li, tmp, source) tmp 1519 fs/cifs/file.c struct cifsLockInfo *li, *tmp; tmp 1520 fs/cifs/file.c list_for_each_entry_safe(li, tmp, llist, llist) { tmp 1541 fs/cifs/file.c struct cifsLockInfo *li, *tmp; tmp 1569 fs/cifs/file.c list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) { tmp 2027 fs/cifs/file.c struct list_head *tmp; tmp 2035 fs/cifs/file.c list_for_each(tmp, &tcon->openFileList) { tmp 2036 fs/cifs/file.c cfile = list_entry(tmp, struct cifsFileInfo, tmp 2062 fs/cifs/file.c struct list_head *tmp; tmp 2070 fs/cifs/file.c list_for_each(tmp, &tcon->openFileList) { tmp 2071 fs/cifs/file.c cfile = list_entry(tmp, struct cifsFileInfo, tmp 2987 fs/cifs/file.c struct cifs_writedata *wdata, *tmp; tmp 3010 fs/cifs/file.c list_for_each_entry_safe(wdata, tmp, &ctx->list, list) { tmp 3689 fs/cifs/file.c struct cifs_readdata *rdata, *tmp; tmp 3706 fs/cifs/file.c list_for_each_entry_safe(rdata, tmp, &ctx->list, list) { tmp 333 fs/cifs/misc.c char *tmp = (char *)smb; tmp 336 fs/cifs/misc.c if (tmp[sizeof(struct smb_hdr)] == 0) { tmp 344 fs/cifs/misc.c tmp[sizeof(struct smb_hdr)+1] = 0; tmp 403 fs/cifs/misc.c struct list_head *tmp, *tmp1, *tmp2; tmp 470 fs/cifs/misc.c list_for_each(tmp, &srv->smb_ses_list) { tmp 471 fs/cifs/misc.c ses = list_entry(tmp, struct cifs_ses, smb_ses_list); tmp 736 fs/cifs/misc.c __le16 *tmp = kmalloc(strlen(searchName)*2 + 2, tmp 738 fs/cifs/misc.c if (tmp == NULL) { tmp 742 fs/cifs/misc.c cifsConvertToUTF16((__le16 *) tmp, searchName, tmp 744 fs/cifs/misc.c node->path_consumed = cifs_utf16_bytes(tmp, tmp 747 fs/cifs/misc.c kfree(tmp); tmp 400 fs/cifs/sess.c unsigned char *tmp; tmp 430 fs/cifs/sess.c tmp = *pbuffer + sizeof(AUTHENTICATE_MESSAGE); tmp 439 fs/cifs/sess.c cpu_to_le32(tmp - *pbuffer); tmp 441 fs/cifs/sess.c memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, tmp 443 fs/cifs/sess.c tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; tmp 458 fs/cifs/sess.c sec_blob->DomainName.BufferOffset = cpu_to_le32(tmp - *pbuffer); tmp 461 fs/cifs/sess.c tmp += 2; tmp 464 fs/cifs/sess.c len = cifs_strtoUTF16((__le16 *)tmp, ses->domainName, tmp 467 fs/cifs/sess.c sec_blob->DomainName.BufferOffset = cpu_to_le32(tmp - *pbuffer); tmp 470 fs/cifs/sess.c tmp += len; tmp 474 fs/cifs/sess.c sec_blob->UserName.BufferOffset = cpu_to_le32(tmp - *pbuffer); tmp 477 fs/cifs/sess.c tmp += 2; tmp 480 fs/cifs/sess.c len = cifs_strtoUTF16((__le16 *)tmp, ses->user_name, tmp 483 fs/cifs/sess.c sec_blob->UserName.BufferOffset = cpu_to_le32(tmp - *pbuffer); tmp 486 fs/cifs/sess.c tmp += len; tmp 489 fs/cifs/sess.c sec_blob->WorkstationName.BufferOffset = cpu_to_le32(tmp - *pbuffer); tmp 492 fs/cifs/sess.c tmp += 2; tmp 497 fs/cifs/sess.c memcpy(tmp, ses->ntlmssp->ciphertext, CIFS_CPHTXT_SIZE); tmp 498 fs/cifs/sess.c sec_blob->SessionKey.BufferOffset = cpu_to_le32(tmp - *pbuffer); tmp 502 fs/cifs/sess.c tmp += CIFS_CPHTXT_SIZE; tmp 504 fs/cifs/sess.c sec_blob->SessionKey.BufferOffset = cpu_to_le32(tmp - *pbuffer); tmp 509 fs/cifs/sess.c *buflen = tmp - *pbuffer; tmp 125 fs/cifs/smb2file.c struct cifsLockInfo *li, *tmp; tmp 149 fs/cifs/smb2file.c list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) { tmp 149 fs/cifs/smb2misc.c struct list_head *tmp; tmp 153 fs/cifs/smb2misc.c list_for_each(tmp, &srvr->smb_ses_list) { tmp 154 fs/cifs/smb2misc.c ses = list_entry(tmp, struct cifs_ses, smb_ses_list); tmp 518 fs/cifs/smb2misc.c struct list_head *tmp; tmp 527 fs/cifs/smb2misc.c list_for_each(tmp, &tcon->openFileList) { tmp 528 fs/cifs/smb2misc.c cfile = list_entry(tmp, struct cifsFileInfo, tlist); tmp 591 fs/cifs/smb2misc.c struct list_head *tmp, *tmp1, *tmp2; tmp 608 fs/cifs/smb2misc.c list_for_each(tmp, &cifs_tcp_ses_list) { tmp 609 fs/cifs/smb2misc.c server = list_entry(tmp, struct TCP_Server_Info, tcp_ses_list); tmp 651 fs/cifs/smb2misc.c struct list_head *tmp, *tmp1, *tmp2; tmp 674 fs/cifs/smb2misc.c list_for_each(tmp, &server->smb_ses_list) { tmp 675 fs/cifs/smb2misc.c ses = list_entry(tmp, struct cifs_ses, smb_ses_list); tmp 2318 fs/cifs/smbdirect.c struct smbd_mr *mr, *tmp; tmp 2321 fs/cifs/smbdirect.c list_for_each_entry_safe(mr, tmp, &info->mr_list, list) { tmp 2341 fs/cifs/smbdirect.c struct smbd_mr *smbdirect_mr, *tmp; tmp 2383 fs/cifs/smbdirect.c list_for_each_entry_safe(smbdirect_mr, tmp, &info->mr_list, list) { tmp 96 fs/coda/psdev.c struct upc_req *tmp; tmp 153 fs/coda/psdev.c tmp = list_entry(lh, struct upc_req , uc_chain); tmp 154 fs/coda/psdev.c if (tmp->uc_unique == hdr.unique) { tmp 155 fs/coda/psdev.c req = tmp; tmp 312 fs/coda/psdev.c struct upc_req *req, *tmp; tmp 322 fs/coda/psdev.c list_for_each_entry_safe(req, tmp, &vcp->vc_pending, uc_chain) { tmp 335 fs/coda/psdev.c list_for_each_entry_safe(req, tmp, &vcp->vc_processing, uc_chain) { tmp 571 fs/configfs/dir.c struct configfs_dirent * sd, * tmp; tmp 580 fs/configfs/dir.c list_for_each_entry_safe(sd, tmp, &parent_sd->s_children, s_sibling) { tmp 637 fs/configfs/dir.c struct configfs_dirent *sd, *tmp; tmp 643 fs/configfs/dir.c list_for_each_entry_safe(sd, tmp, &parent_sd->s_children, s_sibling) { tmp 125 fs/crypto/hkdf.c u8 tmp[HKDF_HASHLEN]; tmp 157 fs/crypto/hkdf.c err = crypto_shash_finup(desc, &counter, 1, tmp); tmp 160 fs/crypto/hkdf.c memcpy(&okm[i], tmp, okmlen - i); tmp 161 fs/crypto/hkdf.c memzero_explicit(tmp, sizeof(tmp)); tmp 1296 fs/dcache.c struct list_head *tmp = next; tmp 1297 fs/dcache.c struct dentry *dentry = list_entry(tmp, struct dentry, d_child); tmp 1298 fs/dcache.c next = tmp->next; tmp 2045 fs/dcache.c struct dentry *tmp; tmp 2057 fs/dcache.c tmp = d_alloc_anon(inode->i_sb); tmp 2058 fs/dcache.c if (!tmp) { tmp 2063 fs/dcache.c return __d_instantiate_anon(tmp, inode, disconnected); tmp 293 fs/dlm/member.c struct list_head *tmp; tmp 297 fs/dlm/member.c list_for_each(tmp, head) { tmp 298 fs/dlm/member.c memb = list_entry(tmp, struct dlm_member, list); tmp 307 fs/dlm/member.c newlist->prev = tmp->prev; tmp 308 fs/dlm/member.c newlist->next = tmp; tmp 309 fs/dlm/member.c tmp->prev->next = newlist; tmp 310 fs/dlm/member.c tmp->prev = newlist; tmp 42 fs/ecryptfs/crypto.c char tmp[3] = { 0, }; tmp 45 fs/ecryptfs/crypto.c tmp[0] = src[x * 2]; tmp 46 fs/ecryptfs/crypto.c tmp[1] = src[x * 2 + 1]; tmp 47 fs/ecryptfs/crypto.c dst[x] = (unsigned char)simple_strtol(tmp, NULL, 16); tmp 91 fs/ecryptfs/kthread.c struct ecryptfs_open_req *req, *tmp; tmp 95 fs/ecryptfs/kthread.c list_for_each_entry_safe(req, tmp, &ecryptfs_kthread_ctl.req_list, tmp 94 fs/erofs/decompressor.c u8 *const tmp = erofs_get_pcpubuf(0); tmp 95 fs/erofs/decompressor.c u8 *tmpp = tmp; tmp 99 fs/erofs/decompressor.c while (tmpp < tmp + inlen) { tmp 110 fs/erofs/decompressor.c return tmp; tmp 906 fs/eventpoll.c struct epitem *epi, *tmp; tmp 913 fs/eventpoll.c list_for_each_entry_safe(epi, tmp, head, rdllink) { tmp 1706 fs/eventpoll.c struct epitem *epi, *tmp; tmp 1721 fs/eventpoll.c list_for_each_entry_safe(epi, tmp, head, rdllink) { tmp 125 fs/exec.c struct filename *tmp = getname(library); tmp 126 fs/exec.c int error = PTR_ERR(tmp); tmp 134 fs/exec.c if (IS_ERR(tmp)) tmp 137 fs/exec.c file = do_filp_open(AT_FDCWD, tmp, &uselib_flags); tmp 138 fs/exec.c putname(tmp); tmp 125 fs/exportfs/expfs.c struct dentry *tmp; tmp 148 fs/exportfs/expfs.c tmp = lookup_one_len_unlocked(nbuf, parent, strlen(nbuf)); tmp 149 fs/exportfs/expfs.c if (IS_ERR(tmp)) { tmp 150 fs/exportfs/expfs.c dprintk("%s: lookup failed: %d\n", __func__, PTR_ERR(tmp)); tmp 151 fs/exportfs/expfs.c err = PTR_ERR(tmp); tmp 154 fs/exportfs/expfs.c if (tmp != dentry) { tmp 161 fs/exportfs/expfs.c dput(tmp); tmp 164 fs/exportfs/expfs.c dput(tmp); tmp 186 fs/ext4/balloc.c ext4_fsblk_t start, tmp; tmp 210 fs/ext4/balloc.c tmp = ext4_block_bitmap(sb, gdp); tmp 211 fs/ext4/balloc.c if (ext4_block_in_group(sb, tmp, block_group)) tmp 212 fs/ext4/balloc.c ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); tmp 214 fs/ext4/balloc.c tmp = ext4_inode_bitmap(sb, gdp); tmp 215 fs/ext4/balloc.c if (ext4_block_in_group(sb, tmp, block_group)) tmp 216 fs/ext4/balloc.c ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); tmp 218 fs/ext4/balloc.c tmp = ext4_inode_table(sb, gdp); tmp 219 fs/ext4/balloc.c for (; tmp < ext4_inode_table(sb, gdp) + tmp 220 fs/ext4/balloc.c sbi->s_itb_per_group; tmp++) { tmp 221 fs/ext4/balloc.c if (ext4_block_in_group(sb, tmp, block_group)) tmp 222 fs/ext4/balloc.c ext4_set_bit(EXT4_B2C(sbi, tmp - start), bh->b_data); tmp 193 fs/ext4/fsmap.c struct ext4_fsmap *tmp; tmp 221 fs/ext4/fsmap.c list_for_each_entry_safe(p, tmp, &info->gfi_meta_list, fmr_list) { tmp 374 fs/ext4/fsmap.c struct ext4_fsmap *tmp; tmp 376 fs/ext4/fsmap.c list_for_each_entry_safe(p, tmp, meta_list, fmr_list) { tmp 396 fs/ext4/fsmap.c struct ext4_fsmap *tmp; tmp 398 fs/ext4/fsmap.c list_for_each_entry_safe(p, tmp, meta_list, fmr_list) { tmp 66 fs/ext4/ioctl.c unsigned long tmp; tmp 76 fs/ext4/ioctl.c tmp = ei1->i_flags & EXT4_FL_SHOULD_SWAP; tmp 79 fs/ext4/ioctl.c ei2->i_flags = tmp | (ei2->i_flags & ~EXT4_FL_SHOULD_SWAP); tmp 2701 fs/ext4/mballoc.c struct list_head *cur, *tmp; tmp 2704 fs/ext4/mballoc.c list_for_each_safe(cur, tmp, &grp->bb_prealloc_list) { tmp 2855 fs/ext4/mballoc.c struct ext4_free_data *entry, *tmp; tmp 2896 fs/ext4/mballoc.c list_for_each_entry_safe(entry, tmp, &freed_data_list, efd_list) tmp 3904 fs/ext4/mballoc.c struct ext4_prealloc_space *pa, *tmp; tmp 3938 fs/ext4/mballoc.c list_for_each_entry_safe(pa, tmp, tmp 3978 fs/ext4/mballoc.c list_for_each_entry_safe(pa, tmp, &list, u.pa_tmp_list) { tmp 4015 fs/ext4/mballoc.c struct ext4_prealloc_space *pa, *tmp; tmp 4080 fs/ext4/mballoc.c list_for_each_entry_safe(pa, tmp, &list, u.pa_tmp_list) { tmp 4296 fs/ext4/mballoc.c struct ext4_prealloc_space *pa, *tmp; tmp 4342 fs/ext4/mballoc.c list_for_each_entry_safe(pa, tmp, &discard_list, u.pa_tmp_list) { tmp 462 fs/f2fs/checkpoint.c struct ino_entry *e, *tmp; tmp 464 fs/f2fs/checkpoint.c tmp = f2fs_kmem_cache_alloc(ino_entry_slab, GFP_NOFS); tmp 471 fs/f2fs/checkpoint.c e = tmp; tmp 489 fs/f2fs/checkpoint.c if (e != tmp) tmp 490 fs/f2fs/checkpoint.c kmem_cache_free(ino_entry_slab, tmp); tmp 537 fs/f2fs/checkpoint.c struct ino_entry *e, *tmp; tmp 544 fs/f2fs/checkpoint.c list_for_each_entry_safe(e, tmp, &im->ino_list, list) { tmp 2874 fs/f2fs/node.c struct nat_entry_set *set, *tmp; tmp 2911 fs/f2fs/node.c list_for_each_entry_safe(set, tmp, &sets, set_list) { tmp 391 fs/f2fs/recovery.c struct fsync_inode_entry *entry, *tmp; tmp 393 fs/f2fs/recovery.c list_for_each_entry_safe(entry, tmp, head, list) tmp 35 fs/f2fs/segment.c unsigned long tmp = 0; tmp 42 fs/f2fs/segment.c tmp |= (unsigned long)str[idx++] << shift; tmp 45 fs/f2fs/segment.c return tmp; tmp 101 fs/f2fs/segment.c unsigned long tmp; tmp 113 fs/f2fs/segment.c tmp = __reverse_ulong((unsigned char *)p); tmp 115 fs/f2fs/segment.c tmp &= ~0UL >> offset; tmp 117 fs/f2fs/segment.c tmp &= (~0UL << (BITS_PER_LONG - size)); tmp 118 fs/f2fs/segment.c if (tmp) tmp 129 fs/f2fs/segment.c return result - size + __reverse_ffs(tmp); tmp 137 fs/f2fs/segment.c unsigned long tmp; tmp 149 fs/f2fs/segment.c tmp = __reverse_ulong((unsigned char *)p); tmp 152 fs/f2fs/segment.c tmp |= ~0UL << (BITS_PER_LONG - offset); tmp 154 fs/f2fs/segment.c tmp |= ~0UL >> size; tmp 155 fs/f2fs/segment.c if (tmp != ~0UL) tmp 166 fs/f2fs/segment.c return result - size + __reverse_ffz(tmp); tmp 215 fs/f2fs/segment.c struct inmem_pages *cur, *tmp; tmp 218 fs/f2fs/segment.c list_for_each_entry_safe(cur, tmp, head, list) { tmp 382 fs/f2fs/segment.c struct inmem_pages *cur, *tmp; tmp 397 fs/f2fs/segment.c list_for_each_entry_safe(cur, tmp, &fi->inmem_pages, list) { tmp 682 fs/f2fs/segment.c struct flush_cmd *tmp, *next; tmp 686 fs/f2fs/segment.c llist_for_each_entry_safe(tmp, next, list, llnode) { tmp 687 fs/f2fs/segment.c if (tmp == &cmd) { tmp 692 fs/f2fs/segment.c tmp->ret = ret; tmp 693 fs/f2fs/segment.c complete(&tmp->wait); tmp 1469 fs/f2fs/segment.c struct discard_cmd *dc, *tmp; tmp 1497 fs/f2fs/segment.c list_for_each_entry_safe(dc, tmp, pend_list, list) { tmp 1533 fs/f2fs/segment.c struct discard_cmd *dc, *tmp; tmp 1540 fs/f2fs/segment.c list_for_each_entry_safe(dc, tmp, pend_list, list) { tmp 1583 fs/f2fs/segment.c struct discard_cmd *dc, *tmp; tmp 1591 fs/f2fs/segment.c list_for_each_entry_safe(dc, tmp, wait_list, list) { tmp 3831 fs/f2fs/segment.c struct sit_entry_set *ses, *tmp; tmp 3861 fs/f2fs/segment.c list_for_each_entry_safe(ses, tmp, head, set_list) { tmp 136 fs/fat/cache.c struct fat_cache *cache, *tmp; tmp 152 fs/fat/cache.c tmp = fat_cache_alloc(inode); tmp 153 fs/fat/cache.c if (!tmp) { tmp 164 fs/fat/cache.c fat_cache_free(tmp); tmp 167 fs/fat/cache.c cache = tmp; tmp 671 fs/fat/dir.c struct inode *tmp = fat_iget(sb, i_pos); tmp 672 fs/fat/dir.c if (tmp) { tmp 673 fs/fat/dir.c inum = tmp->i_ino; tmp 674 fs/fat/dir.c iput(tmp); tmp 109 fs/filesystems.c struct file_system_type ** tmp; tmp 112 fs/filesystems.c tmp = &file_systems; tmp 113 fs/filesystems.c while (*tmp) { tmp 114 fs/filesystems.c if (fs == *tmp) { tmp 115 fs/filesystems.c *tmp = fs->next; tmp 121 fs/filesystems.c tmp = &(*tmp)->next; tmp 133 fs/filesystems.c struct file_system_type * tmp; tmp 144 fs/filesystems.c for (tmp=file_systems, index=0 ; tmp ; tmp=tmp->next, index++) { tmp 145 fs/filesystems.c if (strcmp(tmp->name, name->name) == 0) { tmp 157 fs/filesystems.c struct file_system_type * tmp; tmp 161 fs/filesystems.c for (tmp = file_systems; tmp; tmp = tmp->next, index--) tmp 162 fs/filesystems.c if (index <= 0 && try_module_get(tmp->owner)) tmp 165 fs/filesystems.c if (!tmp) tmp 169 fs/filesystems.c len = strlen(tmp->name) + 1; tmp 170 fs/filesystems.c res = copy_to_user(buf, tmp->name, len) ? -EFAULT : 0; tmp 171 fs/filesystems.c put_filesystem(tmp); tmp 177 fs/filesystems.c struct file_system_type * tmp; tmp 181 fs/filesystems.c for (tmp = file_systems, index = 0 ; tmp ; tmp = tmp->next, index++) tmp 214 fs/filesystems.c struct file_system_type * tmp; tmp 217 fs/filesystems.c tmp = file_systems; tmp 218 fs/filesystems.c while (tmp && len < PAGE_SIZE - 80) { tmp 220 fs/filesystems.c (tmp->fs_flags & FS_REQUIRES_DEV) ? "" : "nodev", tmp 221 fs/filesystems.c tmp->name); tmp 222 fs/filesystems.c tmp = tmp->next; tmp 231 fs/filesystems.c struct file_system_type * tmp; tmp 234 fs/filesystems.c tmp = file_systems; tmp 235 fs/filesystems.c while (tmp) { tmp 237 fs/filesystems.c (tmp->fs_flags & FS_REQUIRES_DEV) ? "" : "nodev", tmp 238 fs/filesystems.c tmp->name); tmp 239 fs/filesystems.c tmp = tmp->next; tmp 1233 fs/fs-writeback.c LIST_HEAD(tmp); tmp 1251 fs/fs-writeback.c list_move(&inode->i_io_list, &tmp); tmp 1264 fs/fs-writeback.c list_splice(&tmp, dispatch_queue); tmp 1269 fs/fs-writeback.c while (!list_empty(&tmp)) { tmp 1270 fs/fs-writeback.c sb = wb_inode(tmp.prev)->i_sb; tmp 1271 fs/fs-writeback.c list_for_each_prev_safe(pos, node, &tmp) { tmp 50 fs/fuse/control.c char tmp[32]; tmp 63 fs/fuse/control.c size = sprintf(tmp, "%ld\n", (long)file->private_data); tmp 64 fs/fuse/control.c return simple_read_from_buffer(buf, len, ppos, tmp, size); tmp 70 fs/fuse/control.c char tmp[32]; tmp 71 fs/fuse/control.c size_t size = sprintf(tmp, "%u\n", val); tmp 73 fs/fuse/control.c return simple_read_from_buffer(buf, len, ppos, tmp, size); tmp 1153 fs/fuse/file.c size_t tmp; tmp 1174 fs/fuse/file.c tmp = iov_iter_copy_from_user_atomic(page, ii, offset, bytes); tmp 1177 fs/fuse/file.c iov_iter_advance(ii, tmp); tmp 1178 fs/fuse/file.c if (!tmp) { tmp 1187 fs/fuse/file.c ap->descs[ap->num_pages].length = tmp; tmp 1190 fs/fuse/file.c count += tmp; tmp 1191 fs/fuse/file.c pos += tmp; tmp 1192 fs/fuse/file.c offset += tmp; tmp 1963 fs/fuse/file.c struct fuse_writepage_args *tmp; tmp 1979 fs/fuse/file.c for (tmp = old_wpa->next; tmp; tmp = tmp->next) { tmp 1982 fs/fuse/file.c WARN_ON(tmp->inode != new_wpa->inode); tmp 1983 fs/fuse/file.c curr_index = tmp->ia.write.in.offset >> PAGE_SHIFT; tmp 1985 fs/fuse/file.c WARN_ON(tmp->ia.ap.num_pages != 1); tmp 1986 fs/fuse/file.c swap(tmp->ia.ap.pages[0], new_ap->pages[0]); tmp 1991 fs/fuse/file.c if (!tmp) { tmp 1998 fs/fuse/file.c if (tmp) { tmp 34 fs/gfs2/bmap.h unsigned int tmp; tmp 40 fs/gfs2/bmap.h for (tmp = *data_blocks; tmp > sdp->sd_diptrs;) { tmp 41 fs/gfs2/bmap.h tmp = DIV_ROUND_UP(tmp, sdp->sd_inptrs); tmp 42 fs/gfs2/bmap.h *ind_blocks += tmp; tmp 640 fs/gfs2/dir.c struct gfs2_dirent *cur = *dent, *tmp; tmp 648 fs/gfs2/dir.c tmp = (void *)cur + ret; tmp 649 fs/gfs2/dir.c ret = dirent_check_reclen(dip, tmp, bh_end); tmp 654 fs/gfs2/dir.c if (gfs2_dirent_sentinel(tmp)) { tmp 659 fs/gfs2/dir.c *dent = tmp; tmp 970 fs/gfs2/file.c unsigned int tmp, max_data = max_blocks - 3 * (sdp->sd_max_height - 1); tmp 972 fs/gfs2/file.c for (tmp = max_data; tmp > sdp->sd_diptrs;) { tmp 973 fs/gfs2/file.c tmp = DIV_ROUND_UP(tmp, sdp->sd_inptrs); tmp 974 fs/gfs2/file.c max_data -= tmp; tmp 322 fs/gfs2/glock.c struct gfs2_holder *gh, *tmp; tmp 324 fs/gfs2/glock.c list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { tmp 352 fs/gfs2/glock.c struct gfs2_holder *gh, *tmp; tmp 356 fs/gfs2/glock.c list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { tmp 799 fs/gfs2/glock.c struct gfs2_glock *gl, *tmp; tmp 862 fs/gfs2/glock.c tmp = find_insert_glock(&name, gl); tmp 863 fs/gfs2/glock.c if (!tmp) { tmp 867 fs/gfs2/glock.c if (IS_ERR(tmp)) { tmp 868 fs/gfs2/glock.c ret = PTR_ERR(tmp); tmp 871 fs/gfs2/glock.c *glp = tmp; tmp 1392 fs/gfs2/glock.c struct gfs2_holder *tmp[4]; tmp 1393 fs/gfs2/glock.c struct gfs2_holder **pph = tmp; tmp 1413 fs/gfs2/glock.c if (pph != tmp) tmp 58 fs/gfs2/glops.c struct gfs2_bufdata *bd, *tmp; tmp 64 fs/gfs2/glops.c list_for_each_entry_safe_reverse(bd, tmp, head, bd_ail_gl_list) { tmp 1278 fs/gfs2/inode.c struct inode *tmp; tmp 1293 fs/gfs2/inode.c tmp = gfs2_lookupi(dir, &gfs2_qdotdot, 1); tmp 1294 fs/gfs2/inode.c if (!tmp) { tmp 1298 fs/gfs2/inode.c if (IS_ERR(tmp)) { tmp 1299 fs/gfs2/inode.c error = PTR_ERR(tmp); tmp 1304 fs/gfs2/inode.c dir = tmp; tmp 623 fs/gfs2/log.c struct gfs2_bufdata *bd, *tmp; tmp 654 fs/gfs2/log.c list_for_each_entry_safe(bd, tmp, &tr->tr_ail2_list, bd_ail_st_list) { tmp 961 fs/gfs2/ops_fstype.c substring_t tmp[MAX_OPT_ARGS]; tmp 967 fs/gfs2/ops_fstype.c token = match_token(o, *lm->lm_tokens, tmp); tmp 970 fs/gfs2/ops_fstype.c ret = match_int(&tmp[0], &option); tmp 981 fs/gfs2/ops_fstype.c ret = match_int(&tmp[0], &option); tmp 173 fs/gfs2/rgrp.c u64 tmp; tmp 180 fs/gfs2/rgrp.c tmp = le64_to_cpu(*ptr) ^ search[state]; tmp 181 fs/gfs2/rgrp.c tmp &= (tmp >> 1); tmp 182 fs/gfs2/rgrp.c tmp &= mask; tmp 183 fs/gfs2/rgrp.c return tmp; tmp 234 fs/gfs2/rgrp.c u64 tmp; tmp 240 fs/gfs2/rgrp.c tmp = gfs2_bit_search(ptr, mask, state); tmp 242 fs/gfs2/rgrp.c while(tmp == 0 && ptr < end) { tmp 243 fs/gfs2/rgrp.c tmp = gfs2_bit_search(ptr, 0x5555555555555555ULL, state); tmp 248 fs/gfs2/rgrp.c tmp &= (((u64)~0) >> (64 - 8*(len & (sizeof(u64) - 1)))); tmp 250 fs/gfs2/rgrp.c if (tmp == 0) tmp 253 fs/gfs2/rgrp.c bit = __ffs64(tmp); tmp 454 fs/gfs2/rgrp.c u32 count[4], tmp; tmp 476 fs/gfs2/rgrp.c tmp = rgd->rd_data - rgd->rd_free - rgd->rd_dinodes; tmp 477 fs/gfs2/rgrp.c if (count[1] != tmp) { tmp 480 fs/gfs2/rgrp.c count[1], tmp); tmp 2602 fs/gfs2/rgrp.c struct gfs2_rgrpd **tmp; tmp 2641 fs/gfs2/rgrp.c tmp = kcalloc(new_space, sizeof(struct gfs2_rgrpd *), tmp 2645 fs/gfs2/rgrp.c memcpy(tmp, rlist->rl_rgd, tmp 2651 fs/gfs2/rgrp.c rlist->rl_rgd = tmp; tmp 255 fs/gfs2/trans.c struct gfs2_bufdata *bd, *tmp; tmp 260 fs/gfs2/trans.c list_for_each_entry_safe(bd, tmp, &sdp->sd_log_revokes, bd_list) { tmp 151 fs/hfs/bnode.c int tmp; tmp 154 fs/hfs/bnode.c tmp = (hfs_bnode_read_u8(node, key_off) | 1) + 1; tmp 156 fs/hfs/bnode.c tmp = node->tree->max_key_len + 1; tmp 158 fs/hfs/bnode.c tmp, hfs_bnode_read_u8(node, key_off)); tmp 159 fs/hfs/bnode.c hfs_bnode_read(node, &cnid, key_off + tmp, 4); tmp 162 fs/hfs/bnode.c int tmp; tmp 164 fs/hfs/bnode.c tmp = hfs_bnode_read_u8(node, key_off); tmp 165 fs/hfs/bnode.c hfs_dbg_cont(BNODE_MOD, " (%d)", tmp); tmp 174 fs/hfs/bnode.c struct hfs_bnode *tmp; tmp 179 fs/hfs/bnode.c tmp = hfs_bnode_find(tree, node->prev); tmp 180 fs/hfs/bnode.c if (IS_ERR(tmp)) tmp 182 fs/hfs/bnode.c tmp->next = node->next; tmp 183 fs/hfs/bnode.c cnid = cpu_to_be32(tmp->next); tmp 184 fs/hfs/bnode.c hfs_bnode_write(tmp, &cnid, offsetof(struct hfs_bnode_desc, next), 4); tmp 185 fs/hfs/bnode.c hfs_bnode_put(tmp); tmp 190 fs/hfs/bnode.c tmp = hfs_bnode_find(tree, node->next); tmp 191 fs/hfs/bnode.c if (IS_ERR(tmp)) tmp 193 fs/hfs/bnode.c tmp->prev = node->prev; tmp 194 fs/hfs/bnode.c cnid = cpu_to_be32(tmp->prev); tmp 195 fs/hfs/bnode.c hfs_bnode_write(tmp, &cnid, offsetof(struct hfs_bnode_desc, prev), 4); tmp 196 fs/hfs/bnode.c hfs_bnode_put(tmp); tmp 79 fs/hfs/string.c int len, tmp; tmp 84 fs/hfs/string.c tmp = (int)caseorder[*(s1++)] - (int)caseorder[*(s2++)]; tmp 85 fs/hfs/string.c if (tmp) tmp 86 fs/hfs/string.c return tmp; tmp 228 fs/hfs/super.c int tmp, token; tmp 250 fs/hfs/super.c if (match_int(&args[0], &tmp)) { tmp 254 fs/hfs/super.c hsb->s_uid = make_kuid(current_user_ns(), (uid_t)tmp); tmp 256 fs/hfs/super.c pr_err("invalid uid %d\n", tmp); tmp 261 fs/hfs/super.c if (match_int(&args[0], &tmp)) { tmp 265 fs/hfs/super.c hsb->s_gid = make_kgid(current_user_ns(), (gid_t)tmp); tmp 267 fs/hfs/super.c pr_err("invalid gid %d\n", tmp); tmp 272 fs/hfs/super.c if (match_octal(&args[0], &tmp)) { tmp 276 fs/hfs/super.c hsb->s_file_umask = (umode_t)tmp; tmp 277 fs/hfs/super.c hsb->s_dir_umask = (umode_t)tmp; tmp 280 fs/hfs/super.c if (match_octal(&args[0], &tmp)) { tmp 284 fs/hfs/super.c hsb->s_file_umask = (umode_t)tmp; tmp 287 fs/hfs/super.c if (match_octal(&args[0], &tmp)) { tmp 291 fs/hfs/super.c hsb->s_dir_umask = (umode_t)tmp; tmp 315 fs/hfsplus/bnode.c int tmp; tmp 319 fs/hfsplus/bnode.c tmp = hfs_bnode_read_u16(node, key_off) + 2; tmp 321 fs/hfsplus/bnode.c tmp = node->tree->max_key_len + 2; tmp 322 fs/hfsplus/bnode.c hfs_dbg_cont(BNODE_MOD, " (%d", tmp); tmp 323 fs/hfsplus/bnode.c hfs_bnode_read(node, &cnid, key_off + tmp, 4); tmp 326 fs/hfsplus/bnode.c int tmp; tmp 328 fs/hfsplus/bnode.c tmp = hfs_bnode_read_u16(node, key_off); tmp 329 fs/hfsplus/bnode.c hfs_dbg_cont(BNODE_MOD, " (%d)", tmp); tmp 338 fs/hfsplus/bnode.c struct hfs_bnode *tmp; tmp 343 fs/hfsplus/bnode.c tmp = hfs_bnode_find(tree, node->prev); tmp 344 fs/hfsplus/bnode.c if (IS_ERR(tmp)) tmp 346 fs/hfsplus/bnode.c tmp->next = node->next; tmp 347 fs/hfsplus/bnode.c cnid = cpu_to_be32(tmp->next); tmp 348 fs/hfsplus/bnode.c hfs_bnode_write(tmp, &cnid, tmp 350 fs/hfsplus/bnode.c hfs_bnode_put(tmp); tmp 355 fs/hfsplus/bnode.c tmp = hfs_bnode_find(tree, node->next); tmp 356 fs/hfsplus/bnode.c if (IS_ERR(tmp)) tmp 358 fs/hfsplus/bnode.c tmp->prev = node->prev; tmp 359 fs/hfsplus/bnode.c cnid = cpu_to_be32(tmp->prev); tmp 360 fs/hfsplus/bnode.c hfs_bnode_write(tmp, &cnid, tmp 362 fs/hfsplus/bnode.c hfs_bnode_put(tmp); tmp 197 fs/hfsplus/catalog.c hfsplus_cat_entry tmp; tmp 202 fs/hfsplus/catalog.c err = hfs_brec_read(fd, &tmp, sizeof(hfsplus_cat_entry)); tmp 206 fs/hfsplus/catalog.c type = be16_to_cpu(tmp.type); tmp 212 fs/hfsplus/catalog.c if (be16_to_cpu(tmp.thread.nodeName.length) > 255) { tmp 218 fs/hfsplus/catalog.c be32_to_cpu(tmp.thread.parentID), tmp 219 fs/hfsplus/catalog.c &tmp.thread.nodeName); tmp 104 fs/hfsplus/options.c int tmp, token; tmp 128 fs/hfsplus/options.c if (match_octal(&args[0], &tmp)) { tmp 132 fs/hfsplus/options.c sbi->umask = (umode_t)tmp; tmp 135 fs/hfsplus/options.c if (match_int(&args[0], &tmp)) { tmp 139 fs/hfsplus/options.c sbi->uid = make_kuid(current_user_ns(), (uid_t)tmp); tmp 146 fs/hfsplus/options.c if (match_int(&args[0], &tmp)) { tmp 150 fs/hfsplus/options.c sbi->gid = make_kgid(current_user_ns(), (gid_t)tmp); tmp 21 fs/hfsplus/unicode.c u16 tmp; tmp 23 fs/hfsplus/unicode.c tmp = hfsplus_case_fold_table[c >> 8]; tmp 24 fs/hfsplus/unicode.c if (tmp) tmp 25 fs/hfsplus/unicode.c tmp = hfsplus_case_fold_table[tmp + (c & 0xff)]; tmp 27 fs/hfsplus/unicode.c tmp = c; tmp 28 fs/hfsplus/unicode.c return tmp; tmp 65 fs/hfsplus/xattr.c u64 tmp; tmp 81 fs/hfsplus/xattr.c tmp = i_size_read(attr_file); tmp 82 fs/hfsplus/xattr.c do_div(tmp, node_size); tmp 83 fs/hfsplus/xattr.c head->node_count = cpu_to_be32(tmp); tmp 477 fs/inode.c unsigned long tmp; tmp 479 fs/inode.c tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / tmp 481 fs/inode.c tmp = tmp ^ ((tmp ^ GOLDEN_RATIO_PRIME) >> i_hash_shift); tmp 482 fs/inode.c return tmp & i_hash_mask; tmp 524 fs/io_uring.c struct io_kiocb *req, *tmp; tmp 527 fs/io_uring.c list_for_each_entry_safe(req, tmp, &ctx->timeout_list, list) tmp 804 fs/io_uring.c struct io_kiocb *req, *tmp; tmp 816 fs/io_uring.c list_for_each_entry_safe(req, tmp, &ctx->poll_list, list) { tmp 2021 fs/io_uring.c long long tmp, tmp_nxt; tmp 2030 fs/io_uring.c tmp = (long long)ctx->cached_sq_head + count - 1; tmp 2039 fs/io_uring.c tmp += UINT_MAX; tmp 2041 fs/io_uring.c if (tmp > tmp_nxt) tmp 121 fs/jbd2/commit.c struct commit_header *tmp; tmp 136 fs/jbd2/commit.c tmp = (struct commit_header *)bh->b_data; tmp 138 fs/jbd2/commit.c tmp->h_commit_sec = cpu_to_be64(now.tv_sec); tmp 139 fs/jbd2/commit.c tmp->h_commit_nsec = cpu_to_be32(now.tv_nsec); tmp 142 fs/jbd2/commit.c tmp->h_chksum_type = JBD2_CRC32_CHKSUM; tmp 143 fs/jbd2/commit.c tmp->h_chksum_size = JBD2_CRC32_CHKSUM_SIZE; tmp 144 fs/jbd2/commit.c tmp->h_chksum[0] = cpu_to_be32(crc32_sum); tmp 406 fs/jbd2/journal.c char *tmp; tmp 409 fs/jbd2/journal.c tmp = jbd2_alloc(bh_in->b_size, GFP_NOFS); tmp 410 fs/jbd2/journal.c if (!tmp) { tmp 416 fs/jbd2/journal.c jbd2_free(tmp, bh_in->b_size); tmp 420 fs/jbd2/journal.c jh_in->b_frozen_data = tmp; tmp 422 fs/jbd2/journal.c memcpy(tmp, mapped_data + new_offset, bh_in->b_size); tmp 425 fs/jbd2/journal.c new_page = virt_to_page(tmp); tmp 426 fs/jbd2/journal.c new_offset = offset_in_page(tmp); tmp 423 fs/jbd2/recovery.c journal_header_t * tmp; tmp 493 fs/jbd2/recovery.c tmp = (journal_header_t *)bh->b_data; tmp 495 fs/jbd2/recovery.c if (tmp->h_magic != cpu_to_be32(JBD2_MAGIC_NUMBER)) { tmp 500 fs/jbd2/recovery.c blocktype = be32_to_cpu(tmp->h_blocktype); tmp 501 fs/jbd2/recovery.c sequence = be32_to_cpu(tmp->h_sequence); tmp 598 fs/jbd2/recovery.c be32_to_cpu(tmp->h_sequence))) { tmp 221 fs/jbd2/revoke.c int tmp = hash_size; tmp 228 fs/jbd2/revoke.c while((tmp >>= 1UL) != 0UL) tmp 241 fs/jbd2/revoke.c for (tmp = 0; tmp < hash_size; tmp++) tmp 242 fs/jbd2/revoke.c INIT_LIST_HEAD(&table->hash_table[tmp]); tmp 1120 fs/jffs2/scan.c struct list_head *tmp; tmp 1122 fs/jffs2/scan.c list_for_each(tmp, l) { tmp 791 fs/jffs2/xattr.c struct jffs2_xattr_ref *tmp; tmp 805 fs/jffs2/xattr.c for (tmp=xref_tmphash[i]; tmp; tmp=tmp->next) { tmp 806 fs/jffs2/xattr.c if (tmp->ino == ref->ino && tmp->xid == ref->xid) tmp 809 fs/jffs2/xattr.c if (tmp) { tmp 811 fs/jffs2/xattr.c if (ref->xseqno > tmp->xseqno) { tmp 812 fs/jffs2/xattr.c tmp->xseqno = ref->xseqno; tmp 813 fs/jffs2/xattr.c raw->next_in_ino = tmp->node; tmp 814 fs/jffs2/xattr.c tmp->node = raw; tmp 816 fs/jffs2/xattr.c raw->next_in_ino = tmp->node->next_in_ino; tmp 817 fs/jffs2/xattr.c tmp->node->next_in_ino = raw; tmp 1335 fs/jffs2/xattr.c struct jffs2_xattr_ref *tmp, **ptmp; tmp 1340 fs/jffs2/xattr.c for (tmp=c->xref_dead_list, ptmp=&c->xref_dead_list; tmp; ptmp=&tmp->next, tmp=tmp->next) { tmp 1341 fs/jffs2/xattr.c if (ref == tmp) { tmp 1342 fs/jffs2/xattr.c *ptmp = tmp->next; tmp 67 fs/lockd/svcsubs.c unsigned int tmp=0; tmp 70 fs/lockd/svcsubs.c tmp += f->data[i]; tmp 71 fs/lockd/svcsubs.c return tmp & (FILE_NRHASH - 1); tmp 1134 fs/locks.c struct file_lock *fl, *tmp; tmp 1210 fs/locks.c list_for_each_entry_safe_from(fl, tmp, &ctx->flc_posix, fl_list) { tmp 1543 fs/locks.c struct file_lock *fl, *tmp; tmp 1547 fs/locks.c list_for_each_entry_safe(fl, tmp, &ctx->flc_lease, fl_list) { tmp 1607 fs/locks.c struct file_lock *new_fl, *fl, *tmp; tmp 1639 fs/locks.c list_for_each_entry_safe(fl, tmp, &ctx->flc_lease, fl_list) { tmp 2753 fs/locks.c struct file_lock *fl, *tmp; tmp 2761 fs/locks.c list_for_each_entry_safe(fl, tmp, &ctx->flc_lease, fl_list) tmp 226 fs/namei.c struct filename *tmp; tmp 228 fs/namei.c tmp = kmalloc(size, GFP_KERNEL); tmp 229 fs/namei.c if (unlikely(!tmp)) { tmp 233 fs/namei.c tmp->name = (char *)result; tmp 234 fs/namei.c result = tmp; tmp 92 fs/namespace.c unsigned long tmp = ((unsigned long)mnt / L1_CACHE_BYTES); tmp 93 fs/namespace.c tmp += ((unsigned long)dentry / L1_CACHE_BYTES); tmp 94 fs/namespace.c tmp = tmp + (tmp >> m_hash_shift); tmp 95 fs/namespace.c return &mount_hashtable[tmp & m_hash_mask]; tmp 100 fs/namespace.c unsigned long tmp = ((unsigned long)dentry / L1_CACHE_BYTES); tmp 101 fs/namespace.c tmp = tmp + (tmp >> mp_hash_shift); tmp 102 fs/namespace.c return &mountpoint_hashtable[tmp & mp_hash_mask]; tmp 1165 fs/namespace.c struct mount *p, *tmp; tmp 1166 fs/namespace.c list_for_each_entry_safe(p, tmp, &mnt->mnt_mounts, mnt_child) { tmp 2930 fs/namespace.c struct list_head *tmp = next; tmp 2931 fs/namespace.c struct mount *mnt = list_entry(tmp, struct mount, mnt_child); tmp 2933 fs/namespace.c next = tmp->next; tmp 127 fs/nfs/blocklayout/extent_tree.c struct pnfs_block_extent *be, *tmp; tmp 129 fs/nfs/blocklayout/extent_tree.c list_for_each_entry_safe(be, tmp, head, be_list) { tmp 178 fs/nfs/blocklayout/extent_tree.c sector_t start, sector_t end, struct list_head *tmp) tmp 238 fs/nfs/blocklayout/extent_tree.c list_add_tail(&be->be_list, tmp); tmp 364 fs/nfs/blocklayout/extent_tree.c LIST_HEAD(tmp); tmp 367 fs/nfs/blocklayout/extent_tree.c err = __ext_tree_remove(&bl->bl_ext_ro, start, end, &tmp); tmp 369 fs/nfs/blocklayout/extent_tree.c err2 = __ext_tree_remove(&bl->bl_ext_rw, start, end, &tmp); tmp 375 fs/nfs/blocklayout/extent_tree.c __ext_put_deviceids(&tmp); tmp 412 fs/nfs/blocklayout/extent_tree.c LIST_HEAD(tmp); tmp 418 fs/nfs/blocklayout/extent_tree.c err = __ext_tree_remove(&bl->bl_ext_ro, start, end, &tmp); tmp 479 fs/nfs/blocklayout/extent_tree.c __ext_put_deviceids(&tmp); tmp 263 fs/nfs/callback_xdr.c u32 tmp; tmp 298 fs/nfs/callback_xdr.c tmp = ntohl(*p++); /* bitmap size */ tmp 299 fs/nfs/callback_xdr.c if (tmp != 1) { tmp 310 fs/nfs/callback_xdr.c tmp = ntohl(*p++); /* opaque size */ tmp 312 fs/nfs/callback_xdr.c (tmp != NFS4_DEVICEID4_SIZE + 8)) || tmp 314 fs/nfs/callback_xdr.c (tmp != NFS4_DEVICEID4_SIZE + 4))) { tmp 545 fs/nfs/delegation.c struct inode *tmp; tmp 547 fs/nfs/delegation.c tmp = nfs_delegation_grab_inode(prev); tmp 548 fs/nfs/delegation.c if (tmp) { tmp 550 fs/nfs/delegation.c place_holder = tmp; tmp 754 fs/nfs/delegation.c nfs4_stateid tmp; tmp 762 fs/nfs/delegation.c nfs4_stateid_copy(&tmp, &delegation->stateid); tmp 763 fs/nfs/delegation.c stateid = &tmp; tmp 625 fs/nfs/direct.c struct nfs_page *req, *tmp; tmp 645 fs/nfs/direct.c list_for_each_entry_safe(req, tmp, &reqs, wb_list) { tmp 227 fs/nfs/filelayout/filelayoutdev.c u64 tmp; tmp 229 fs/nfs/filelayout/filelayoutdev.c tmp = offset - flseg->pattern_offset; tmp 230 fs/nfs/filelayout/filelayoutdev.c do_div(tmp, flseg->stripe_unit); tmp 231 fs/nfs/filelayout/filelayoutdev.c tmp += flseg->first_stripe_index; tmp 232 fs/nfs/filelayout/filelayoutdev.c return do_div(tmp, flseg->dsaddr->stripe_count); tmp 226 fs/nfs/flexfilelayout/flexfilelayoutdev.c struct nfs4_ff_layout_ds_err *err, *tmp; tmp 231 fs/nfs/flexfilelayout/flexfilelayoutdev.c list_for_each_entry_safe(err, tmp, &flo->error_list, list) { tmp 383 fs/nfs/nfs4proc.c nfs4_stateid tmp; tmp 385 fs/nfs/nfs4proc.c nfs4_stateid_copy(&tmp, stateid); tmp 386 fs/nfs/nfs4proc.c __nfs4_free_revoked_stateid(server, &tmp, cred); tmp 2805 fs/nfs/nfs4proc.c nfs4_stateid tmp; tmp 2809 fs/nfs/nfs4proc.c &tmp, NULL) && tmp 2810 fs/nfs/nfs4proc.c nfs4_stateid_match_other(&state->stateid, &tmp)) tmp 2811 fs/nfs/nfs4proc.c nfs_state_set_delegation(state, &tmp, state->state); tmp 542 fs/nfs/nfs4state.c struct nfs4_state_owner *sp, *tmp; tmp 549 fs/nfs/nfs4state.c list_for_each_entry_safe(sp, tmp, &server->state_owners_lru, so_lru) { tmp 558 fs/nfs/nfs4state.c list_for_each_entry_safe(sp, tmp, &doomed, so_lru) { tmp 636 fs/nfs/nfs4state.c struct nfs4_state_owner *sp, *tmp; tmp 639 fs/nfs/nfs4state.c list_for_each_entry_safe(sp, tmp, &server->state_owners_lru, so_lru) { tmp 655 fs/nfs/nfs4state.c struct nfs4_state_owner *sp, *tmp; tmp 657 fs/nfs/nfs4state.c list_for_each_entry_safe(sp, tmp, head, so_lru) { tmp 997 fs/nfs/nfs4xdr.c __u32 tmp; tmp 1002 fs/nfs/nfs4xdr.c tmp = bitmap[i] & mask[i]; tmp 1003 fs/nfs/nfs4xdr.c res[i] = tmp; tmp 3841 fs/nfs/nfs4xdr.c uint32_t tmp; tmp 3852 fs/nfs/nfs4xdr.c tmp = be32_to_cpup(p); tmp 3853 fs/nfs/nfs4xdr.c *mode = tmp & ~S_IFMT; tmp 3972 fs/nfs/nfs4xdr.c dev_t tmp; tmp 3979 fs/nfs/nfs4xdr.c tmp = MKDEV(major, minor); tmp 3980 fs/nfs/nfs4xdr.c if (MAJOR(tmp) == major && MINOR(tmp) == minor) tmp 3981 fs/nfs/nfs4xdr.c *rdev = tmp; tmp 222 fs/nfs/nfsroot.c char *tmp = NULL; tmp 225 fs/nfs/nfsroot.c tmp = kzalloc(tmplen, GFP_KERNEL); tmp 226 fs/nfs/nfsroot.c if (tmp == NULL) tmp 228 fs/nfs/nfsroot.c strcpy(tmp, NFS_ROOT); tmp 233 fs/nfs/nfsroot.c if (root_nfs_parse_options(root_server_path, tmp, tmplen)) tmp 239 fs/nfs/nfsroot.c if (root_nfs_parse_options(cmdline, tmp, tmplen)) tmp 264 fs/nfs/nfsroot.c tmp, utsname()->nodename); tmp 275 fs/nfs/nfsroot.c kfree(tmp); tmp 188 fs/nfs/pagelist.c struct nfs_page *tmp; tmp 193 fs/nfs/pagelist.c tmp = req->wb_this_page; tmp 194 fs/nfs/pagelist.c while (tmp != req) { tmp 195 fs/nfs/pagelist.c if (!test_bit(bit, &tmp->wb_flags)) tmp 197 fs/nfs/pagelist.c tmp = tmp->wb_this_page; tmp 201 fs/nfs/pagelist.c tmp = req; tmp 203 fs/nfs/pagelist.c clear_bit(bit, &tmp->wb_flags); tmp 204 fs/nfs/pagelist.c tmp = tmp->wb_this_page; tmp 205 fs/nfs/pagelist.c } while (tmp != req); tmp 279 fs/nfs/pagelist.c struct nfs_page *tmp, *next; tmp 284 fs/nfs/pagelist.c tmp = req; tmp 286 fs/nfs/pagelist.c next = tmp->wb_this_page; tmp 288 fs/nfs/pagelist.c tmp->wb_this_page = tmp; tmp 289 fs/nfs/pagelist.c tmp->wb_head = tmp; tmp 290 fs/nfs/pagelist.c nfs_free_request(tmp); tmp 291 fs/nfs/pagelist.c tmp = next; tmp 292 fs/nfs/pagelist.c } while (tmp != req); tmp 208 fs/nfs/pnfs.c struct pnfs_layoutdriver_type *tmp; tmp 221 fs/nfs/pnfs.c tmp = find_pnfs_driver_locked(ld_type->id); tmp 222 fs/nfs/pnfs.c if (!tmp) { tmp 715 fs/nfs/pnfs.c struct pnfs_layout_segment *lseg, *tmp; tmp 720 fs/nfs/pnfs.c list_for_each_entry_safe(lseg, tmp, free_me, pls_list) { tmp 1084 fs/nfs/pnfs.c struct pnfs_layout_segment *lseg, *tmp; tmp 1088 fs/nfs/pnfs.c list_for_each_entry_safe(lseg, tmp, &nfsi->layout->plh_segs, pls_list) { tmp 1592 fs/nfs/pnfs.c struct pnfs_layout_segment *lp, *tmp; tmp 1596 fs/nfs/pnfs.c list_for_each_entry_safe(lp, tmp, &lo->plh_segs, pls_list) { tmp 2900 fs/nfs/pnfs.c struct pnfs_layout_segment *lseg, *tmp; tmp 2903 fs/nfs/pnfs.c list_for_each_entry_safe(lseg, tmp, listp, pls_lc_list) { tmp 327 fs/nfs/pnfs_dev.c HLIST_HEAD(tmp); tmp 334 fs/nfs/pnfs_dev.c hlist_add_head(&d->tmpnode, &tmp); tmp 340 fs/nfs/pnfs_dev.c if (hlist_empty(&tmp)) tmp 343 fs/nfs/pnfs_dev.c while (!hlist_empty(&tmp)) { tmp 344 fs/nfs/pnfs_dev.c d = hlist_entry(tmp.first, struct nfs4_deviceid_node, tmpnode); tmp 265 fs/nfs/pnfs_nfs.c struct nfs_commit_data *data, *tmp; tmp 283 fs/nfs/pnfs_nfs.c list_for_each_entry_safe(data, tmp, &list, pages) { tmp 788 fs/nfs/pnfs_nfs.c int tmp[2]; tmp 868 fs/nfs/pnfs_nfs.c sscanf(portstr, "%d-%d", &tmp[0], &tmp[1]); tmp 869 fs/nfs/pnfs_nfs.c port = htons((tmp[0] << 8) | (tmp[1])); tmp 302 fs/nfs/write.c struct nfs_page *tmp; tmp 309 fs/nfs/write.c tmp = nfs_page_group_search_locked(req->wb_head, pos); tmp 310 fs/nfs/write.c if (!tmp) tmp 312 fs/nfs/write.c pos = tmp->wb_pgbase + tmp->wb_bytes; tmp 397 fs/nfs/write.c struct nfs_page *tmp; tmp 400 fs/nfs/write.c for (tmp = head->wb_this_page ; tmp != req; tmp = tmp->wb_this_page) { tmp 401 fs/nfs/write.c if (!kref_read(&tmp->wb_kref)) tmp 403 fs/nfs/write.c nfs_unlock_and_release_request(tmp); tmp 1044 fs/nfs/write.c struct nfs_page *req, *tmp; tmp 1048 fs/nfs/write.c list_for_each_entry_safe(req, tmp, src, wb_list) { tmp 444 fs/nfsd/filecache.c struct hlist_node *tmp; tmp 447 fs/nfsd/filecache.c hlist_for_each_entry_safe(nf, tmp, &nfsd_file_hashtbl[hashval].nfb_head, nf_node) { tmp 102 fs/nfsd/nfs3xdr.c u32 tmp; tmp 127 fs/nfsd/nfs3xdr.c if ((tmp = ntohl(*p++)) == 1) { /* set to server time */ tmp 129 fs/nfsd/nfs3xdr.c } else if (tmp == 2) { /* set to client time */ tmp 134 fs/nfsd/nfs3xdr.c if ((tmp = ntohl(*p++)) == 1) { /* set to server time */ tmp 136 fs/nfsd/nfs3xdr.c } else if (tmp == 2) { /* set to client time */ tmp 978 fs/nfsd/nfs3xdr.c __be32 *p1, *tmp; tmp 982 fs/nfsd/nfs3xdr.c p1 = tmp = page_address(*(page+1)); tmp 990 fs/nfsd/nfs3xdr.c num_entry_words = p1 - tmp; tmp 996 fs/nfsd/nfs3xdr.c memmove(p, tmp, num_entry_words << 2); tmp 1000 fs/nfsd/nfs3xdr.c cd->offset = cd->buffer + (cd->offset - tmp); tmp 1002 fs/nfsd/nfs3xdr.c unsigned int offset_r = (cd->offset - tmp) << 2; tmp 1012 fs/nfsd/nfs3xdr.c cd->offset = p + (cd->offset - tmp); tmp 1018 fs/nfsd/nfs3xdr.c cd->offset = p + (cd->offset - tmp); tmp 1019 fs/nfsd/nfs3xdr.c cd->offset1 = tmp; tmp 1025 fs/nfsd/nfs3xdr.c memmove(p, tmp, len1); tmp 1026 fs/nfsd/nfs3xdr.c memmove(tmp, (caddr_t)tmp+len1, len2); tmp 1028 fs/nfsd/nfs3xdr.c p = tmp + (len2 >> 2); tmp 305 fs/nfsd/nfs4recover.c struct name_list *entry, *tmp; tmp 321 fs/nfsd/nfs4recover.c list_for_each_entry_safe(entry, tmp, &ctx.names, list) { tmp 338 fs/nfsd/nfs4recover.c list_for_each_entry_safe(entry, tmp, &ctx.names, list) { tmp 862 fs/nfsd/nfs4recover.c struct cld_upcall *tmp, *cup; tmp 896 fs/nfsd/nfs4recover.c list_for_each_entry(tmp, &cn->cn_list, cu_list) { tmp 897 fs/nfsd/nfs4recover.c if (get_unaligned(&tmp->cu_u.cu_hdr.cm_xid) == xid) { tmp 898 fs/nfsd/nfs4recover.c cup = tmp; tmp 1062 fs/nfsd/nfs4recover.c struct cld_upcall *new, *tmp; tmp 1072 fs/nfsd/nfs4recover.c list_for_each_entry(tmp, &cn->cn_list, cu_list) { tmp 1073 fs/nfsd/nfs4recover.c if (tmp->cu_u.cu_msg.cm_xid == cn->cn_xid) { tmp 2034 fs/nfsd/nfs4state.c struct nfs4_stateowner *so, *tmp; tmp 2036 fs/nfsd/nfs4state.c list_for_each_entry_safe(so, tmp, &clp->cl_ownerstr_hashtbl[i], tmp 116 fs/nfsd/nfs4xdr.c if (!(x = (p==argp->tmp || p == argp->tmpp) ? \ tmp 186 fs/nfsd/nfs4xdr.c if (nbytes <= sizeof(argp->tmp)) tmp 187 fs/nfsd/nfs4xdr.c p = argp->tmp; tmp 1336 fs/nfsd/nfs4xdr.c int dummy, tmp; tmp 1380 fs/nfsd/nfs4xdr.c tmp = be32_to_cpup(p++); tmp 1381 fs/nfsd/nfs4xdr.c while (tmp--) { tmp 1390 fs/nfsd/nfs4xdr.c tmp = be32_to_cpup(p++); tmp 1391 fs/nfsd/nfs4xdr.c while (tmp--) { tmp 3528 fs/nfsd/nfs4xdr.c __be32 tmp; tmp 3564 fs/nfsd/nfs4xdr.c tmp = htonl(eof); tmp 3565 fs/nfsd/nfs4xdr.c write_bytes_to_xdr_buf(xdr->buf, starting_len , &tmp, 4); tmp 3566 fs/nfsd/nfs4xdr.c tmp = htonl(maxcount); tmp 3567 fs/nfsd/nfs4xdr.c write_bytes_to_xdr_buf(xdr->buf, starting_len + 4, &tmp, 4); tmp 230 fs/nfsd/nfscache.c struct svc_cacherep *rp, *tmp; tmp 233 fs/nfsd/nfscache.c list_for_each_entry_safe(rp, tmp, &b->lru_head, c_lru) { tmp 1254 fs/nfsd/nfsctl.c struct dentry *dentry, *tmp; tmp 1256 fs/nfsd/nfsctl.c list_for_each_entry_safe(dentry, tmp, &root->d_subdirs, d_child) { tmp 76 fs/nfsd/nfsxdr.c u32 tmp, tmp1; tmp 84 fs/nfsd/nfsxdr.c if ((tmp = ntohl(*p++)) != (u32)-1 && tmp != 0xffff) { tmp 86 fs/nfsd/nfsxdr.c iap->ia_mode = tmp; tmp 88 fs/nfsd/nfsxdr.c if ((tmp = ntohl(*p++)) != (u32)-1) { tmp 89 fs/nfsd/nfsxdr.c iap->ia_uid = make_kuid(userns, tmp); tmp 93 fs/nfsd/nfsxdr.c if ((tmp = ntohl(*p++)) != (u32)-1) { tmp 94 fs/nfsd/nfsxdr.c iap->ia_gid = make_kgid(userns, tmp); tmp 98 fs/nfsd/nfsxdr.c if ((tmp = ntohl(*p++)) != (u32)-1) { tmp 100 fs/nfsd/nfsxdr.c iap->ia_size = tmp; tmp 102 fs/nfsd/nfsxdr.c tmp = ntohl(*p++); tmp1 = ntohl(*p++); tmp 103 fs/nfsd/nfsxdr.c if (tmp != (u32)-1 && tmp1 != (u32)-1) { tmp 105 fs/nfsd/nfsxdr.c iap->ia_atime.tv_sec = tmp; tmp 108 fs/nfsd/nfsxdr.c tmp = ntohl(*p++); tmp1 = ntohl(*p++); tmp 109 fs/nfsd/nfsxdr.c if (tmp != (u32)-1 && tmp1 != (u32)-1) { tmp 111 fs/nfsd/nfsxdr.c iap->ia_mtime.tv_sec = tmp; tmp 652 fs/nfsd/xdr4.h __be32 tmp[8]; tmp 237 fs/nls/nls_base.c struct nls_table ** tmp = &tables; tmp 244 fs/nls/nls_base.c while (*tmp) { tmp 245 fs/nls/nls_base.c if (nls == *tmp) { tmp 249 fs/nls/nls_base.c tmp = &(*tmp)->next; tmp 260 fs/nls/nls_base.c struct nls_table ** tmp = &tables; tmp 263 fs/nls/nls_base.c while (*tmp) { tmp 264 fs/nls/nls_base.c if (nls == *tmp) { tmp 265 fs/nls/nls_base.c *tmp = nls->next; tmp 269 fs/nls/nls_base.c tmp = &(*tmp)->next; tmp 48 fs/ntfs/aops.c struct buffer_head *first, *tmp; tmp 99 fs/ntfs/aops.c tmp = bh; tmp 101 fs/ntfs/aops.c if (!buffer_uptodate(tmp)) tmp 103 fs/ntfs/aops.c if (buffer_async_read(tmp)) { tmp 104 fs/ntfs/aops.c if (likely(buffer_locked(tmp))) tmp 109 fs/ntfs/aops.c tmp = tmp->b_this_page; tmp 110 fs/ntfs/aops.c } while (tmp != bh); tmp 321 fs/ntfs/mft.c ntfs_inode **tmp; tmp 324 fs/ntfs/mft.c tmp = kmalloc(new_size, GFP_NOFS); tmp 325 fs/ntfs/mft.c if (unlikely(!tmp)) { tmp 334 fs/ntfs/mft.c memcpy(tmp, base_ni->ext.extent_ntfs_inos, new_size - tmp 338 fs/ntfs/mft.c base_ni->ext.extent_ntfs_inos = tmp; tmp 934 fs/ocfs2/alloc.c struct buffer_head *tmp = *bh; tmp 936 fs/ocfs2/alloc.c rc = ocfs2_read_block(ci, eb_blkno, &tmp, tmp 941 fs/ocfs2/alloc.c *bh = tmp; tmp 6396 fs/ocfs2/alloc.c struct ocfs2_cached_block_free *tmp; tmp 6436 fs/ocfs2/alloc.c tmp = head; tmp 6438 fs/ocfs2/alloc.c kfree(tmp); tmp 6450 fs/ocfs2/alloc.c tmp = head; tmp 6452 fs/ocfs2/alloc.c kfree(tmp); tmp 6484 fs/ocfs2/alloc.c struct ocfs2_cached_block_free *tmp; tmp 6511 fs/ocfs2/alloc.c tmp = head; tmp 6513 fs/ocfs2/alloc.c kfree(tmp); tmp 6525 fs/ocfs2/alloc.c tmp = head; tmp 6527 fs/ocfs2/alloc.c kfree(tmp); tmp 830 fs/ocfs2/aops.c struct ocfs2_unwritten_extent *ue = NULL, *tmp = NULL; tmp 832 fs/ocfs2/aops.c list_for_each_entry_safe(ue, tmp, head, ue_node) { tmp 899 fs/ocfs2/cluster/heartbeat.c int tmp; tmp 911 fs/ocfs2/cluster/heartbeat.c tmp = test_bit(slot->ds_node_num, o2hb_live_node_bitmap); tmp 913 fs/ocfs2/cluster/heartbeat.c if (!tmp) tmp 1603 fs/ocfs2/cluster/heartbeat.c unsigned long long tmp; tmp 1609 fs/ocfs2/cluster/heartbeat.c tmp = simple_strtoull(p, &p, 0); tmp 1613 fs/ocfs2/cluster/heartbeat.c reg->hr_start_block = tmp; tmp 1628 fs/ocfs2/cluster/heartbeat.c unsigned long tmp; tmp 1634 fs/ocfs2/cluster/heartbeat.c tmp = simple_strtoul(p, &p, 0); tmp 1638 fs/ocfs2/cluster/heartbeat.c if (tmp > O2NM_MAX_NODES || tmp == 0) tmp 1641 fs/ocfs2/cluster/heartbeat.c reg->hr_blocks = (unsigned int)tmp; tmp 2147 fs/ocfs2/cluster/heartbeat.c unsigned long tmp; tmp 2150 fs/ocfs2/cluster/heartbeat.c tmp = simple_strtoul(p, &p, 10); tmp 2155 fs/ocfs2/cluster/heartbeat.c o2hb_dead_threshold_set((unsigned int) tmp); tmp 190 fs/ocfs2/cluster/nodemanager.c unsigned long tmp; tmp 194 fs/ocfs2/cluster/nodemanager.c tmp = simple_strtoul(p, &p, 0); tmp 198 fs/ocfs2/cluster/nodemanager.c if (tmp >= O2NM_MAX_NODES) tmp 217 fs/ocfs2/cluster/nodemanager.c if (cluster->cl_nodes[tmp]) tmp 223 fs/ocfs2/cluster/nodemanager.c cluster->cl_nodes[tmp] = node; tmp 224 fs/ocfs2/cluster/nodemanager.c node->nd_num = tmp; tmp 225 fs/ocfs2/cluster/nodemanager.c set_bit(tmp, cluster->cl_nodes_bitmap); tmp 244 fs/ocfs2/cluster/nodemanager.c unsigned long tmp; tmp 247 fs/ocfs2/cluster/nodemanager.c tmp = simple_strtoul(p, &p, 0); tmp 251 fs/ocfs2/cluster/nodemanager.c if (tmp == 0) tmp 253 fs/ocfs2/cluster/nodemanager.c if (tmp >= (u16)-1) tmp 258 fs/ocfs2/cluster/nodemanager.c node->nd_ipv4_port = htons(tmp); tmp 329 fs/ocfs2/cluster/nodemanager.c unsigned long tmp; tmp 333 fs/ocfs2/cluster/nodemanager.c tmp = simple_strtoul(p, &p, 0); tmp 337 fs/ocfs2/cluster/nodemanager.c tmp = !!tmp; /* boolean of whether this node wants to be local */ tmp 355 fs/ocfs2/cluster/nodemanager.c if (tmp && tmp == cluster->cl_has_local && tmp 362 fs/ocfs2/cluster/nodemanager.c if (tmp && !cluster->cl_has_local) { tmp 368 fs/ocfs2/cluster/nodemanager.c if (!tmp && cluster->cl_has_local && tmp 374 fs/ocfs2/cluster/nodemanager.c node->nd_local = tmp; tmp 376 fs/ocfs2/cluster/nodemanager.c cluster->cl_has_local = tmp; tmp 429 fs/ocfs2/cluster/nodemanager.c unsigned long tmp; tmp 432 fs/ocfs2/cluster/nodemanager.c tmp = simple_strtoul(p, &p, 0); tmp 436 fs/ocfs2/cluster/nodemanager.c if (tmp == 0) tmp 438 fs/ocfs2/cluster/nodemanager.c if (tmp >= (u32)-1) tmp 441 fs/ocfs2/cluster/nodemanager.c *val = tmp; tmp 352 fs/ocfs2/cluster/tcp.c struct o2net_status_wait *nsw, *tmp; tmp 357 fs/ocfs2/cluster/tcp.c list_for_each_entry_safe(nsw, tmp, &nn->nn_status_list, ns_node_item) { tmp 502 fs/ocfs2/dir.c struct buffer_head *tmp = *bh; tmp 504 fs/ocfs2/dir.c rc = ocfs2_read_virt_blocks(inode, v_block, 1, &tmp, flags, tmp 513 fs/ocfs2/dir.c rc = ocfs2_check_dir_trailer(inode, tmp); tmp 516 fs/ocfs2/dir.c brelse(tmp); tmp 524 fs/ocfs2/dir.c *bh = tmp; tmp 539 fs/ocfs2/dir.c struct buffer_head *tmp = *bh; tmp 541 fs/ocfs2/dir.c ret = ocfs2_read_block(INODE_CACHE(dir), phys, &tmp, tmp 549 fs/ocfs2/dir.c ret = ocfs2_check_dir_trailer(dir, tmp); tmp 552 fs/ocfs2/dir.c brelse(tmp); tmp 559 fs/ocfs2/dir.c *bh = tmp; tmp 597 fs/ocfs2/dir.c struct buffer_head *tmp = *dx_root_bh; tmp 599 fs/ocfs2/dir.c ret = ocfs2_read_block(INODE_CACHE(dir), blkno, &tmp, tmp 604 fs/ocfs2/dir.c *dx_root_bh = tmp; tmp 637 fs/ocfs2/dir.c struct buffer_head *tmp = *dx_leaf_bh; tmp 639 fs/ocfs2/dir.c ret = ocfs2_read_block(INODE_CACHE(dir), blkno, &tmp, tmp 644 fs/ocfs2/dir.c *dx_leaf_bh = tmp; tmp 1811 fs/ocfs2/dir.c struct buffer_head * bh, * tmp; tmp 1838 fs/ocfs2/dir.c tmp = NULL; tmp 1839 fs/ocfs2/dir.c if (!ocfs2_read_dir_block(inode, ++blk, &tmp, tmp 1841 fs/ocfs2/dir.c brelse(tmp); tmp 248 fs/ocfs2/dlm/dlmdomain.c struct dlm_ctxt *tmp; tmp 254 fs/ocfs2/dlm/dlmdomain.c list_for_each_entry(tmp, &dlm_domains, list) { tmp 255 fs/ocfs2/dlm/dlmdomain.c if (strlen(tmp->name) == len && tmp 256 fs/ocfs2/dlm/dlmdomain.c memcmp(tmp->name, domain, len)==0) tmp 257 fs/ocfs2/dlm/dlmdomain.c return tmp; tmp 278 fs/ocfs2/dlm/dlmdomain.c struct dlm_ctxt *tmp = NULL; tmp 282 fs/ocfs2/dlm/dlmdomain.c tmp = __dlm_lookup_domain(domain); tmp 283 fs/ocfs2/dlm/dlmdomain.c if (!tmp) tmp 285 fs/ocfs2/dlm/dlmdomain.c else if (tmp->dlm_state == DLM_CTXT_JOINED) tmp 3202 fs/ocfs2/dlm/dlmmaster.c struct dlm_master_list_entry *tmp = *oldmle; tmp 3203 fs/ocfs2/dlm/dlmmaster.c spin_lock(&tmp->spinlock); tmp 3204 fs/ocfs2/dlm/dlmmaster.c if (tmp->type == DLM_MLE_MIGRATION) { tmp 3210 fs/ocfs2/dlm/dlmmaster.c spin_unlock(&tmp->spinlock); tmp 3218 fs/ocfs2/dlm/dlmmaster.c tmp->master, tmp->new_master, tmp 3225 fs/ocfs2/dlm/dlmmaster.c tmp->master = master; tmp 3226 fs/ocfs2/dlm/dlmmaster.c atomic_set(&tmp->woken, 1); tmp 3227 fs/ocfs2/dlm/dlmmaster.c wake_up(&tmp->wq); tmp 3229 fs/ocfs2/dlm/dlmmaster.c __dlm_unlink_mle(dlm, tmp); tmp 3230 fs/ocfs2/dlm/dlmmaster.c __dlm_mle_detach_hb_events(dlm, tmp); tmp 3231 fs/ocfs2/dlm/dlmmaster.c if (tmp->type == DLM_MLE_MASTER) { tmp 3241 fs/ocfs2/dlm/dlmmaster.c spin_unlock(&tmp->spinlock); tmp 3337 fs/ocfs2/dlm/dlmmaster.c struct hlist_node *tmp; tmp 3348 fs/ocfs2/dlm/dlmmaster.c hlist_for_each_entry_safe(mle, tmp, bucket, master_hash_node) { tmp 3538 fs/ocfs2/dlm/dlmmaster.c struct hlist_node *tmp; tmp 3554 fs/ocfs2/dlm/dlmmaster.c hlist_for_each_entry_safe(mle, tmp, bucket, master_hash_node) { tmp 2334 fs/ocfs2/dlm/dlmrecovery.c struct hlist_node *tmp; tmp 2357 fs/ocfs2/dlm/dlmrecovery.c hlist_for_each_entry_safe(res, tmp, bucket, hash_node) { tmp 886 fs/ocfs2/dlmglue.c struct ocfs2_mask_waiter *mw, *tmp; tmp 892 fs/ocfs2/dlmglue.c list_for_each_entry_safe(mw, tmp, &lockres->l_mask_waiters, mw_item) { tmp 1569 fs/ocfs2/inode.c struct buffer_head *tmp = *bh; tmp 1574 fs/ocfs2/inode.c 1, &tmp, flags, tmp 1579 fs/ocfs2/inode.c 1, &tmp, flags, tmp 1584 fs/ocfs2/inode.c *bh = tmp; tmp 1593 fs/ocfs2/inode.c struct buffer_head *tmp = *bh; tmp 1596 fs/ocfs2/inode.c 1, &tmp, flags, ocfs2_validate_inode_block); tmp 1600 fs/ocfs2/inode.c *bh = tmp; tmp 930 fs/ocfs2/localalloc.c unsigned int tmp = count; tmp 931 fs/ocfs2/localalloc.c while(tmp--) { tmp 932 fs/ocfs2/localalloc.c if (ocfs2_test_bit(start + tmp, bitmap)) { tmp 936 fs/ocfs2/localalloc.c start + tmp); tmp 633 fs/ocfs2/namei.c int tmp = ocfs2_free_suballoc_bits(handle, inode_ac->ac_inode, tmp 635 fs/ocfs2/namei.c if (tmp) tmp 636 fs/ocfs2/namei.c mlog_errno(tmp); tmp 138 fs/ocfs2/quota_local.c struct buffer_head *tmp = *bh; tmp 147 fs/ocfs2/quota_local.c rc = ocfs2_read_virt_blocks(inode, v_block, 1, &tmp, 0, tmp 154 fs/ocfs2/quota_local.c *bh = tmp; tmp 129 fs/ocfs2/refcounttree.c struct buffer_head *tmp = *bh; tmp 131 fs/ocfs2/refcounttree.c rc = ocfs2_read_block(ci, rb_blkno, &tmp, tmp 136 fs/ocfs2/refcounttree.c *bh = tmp; tmp 220 fs/ocfs2/refcounttree.c struct ocfs2_refcount_tree *tmp; tmp 225 fs/ocfs2/refcounttree.c tmp = rb_entry(parent, struct ocfs2_refcount_tree, tmp 228 fs/ocfs2/refcounttree.c if (rf_blkno < tmp->rf_blkno) tmp 230 fs/ocfs2/refcounttree.c else if (rf_blkno > tmp->rf_blkno) tmp 1171 fs/ocfs2/refcounttree.c enum ocfs2_ref_rec_contig tmp; tmp 1173 fs/ocfs2/refcounttree.c tmp = ocfs2_refcount_rec_adjacent(rb, index - 1); tmp 1175 fs/ocfs2/refcounttree.c if (tmp == REF_CONTIG_RIGHT) { tmp 312 fs/ocfs2/reservations.c struct ocfs2_alloc_reservation *tmp; tmp 321 fs/ocfs2/reservations.c tmp = rb_entry(parent, struct ocfs2_alloc_reservation, r_node); tmp 323 fs/ocfs2/reservations.c if (new->r_start < tmp->r_start) { tmp 330 fs/ocfs2/reservations.c BUG_ON(ocfs2_resv_end(new) >= tmp->r_start); tmp 331 fs/ocfs2/reservations.c } else if (new->r_start > ocfs2_resv_end(tmp)) { tmp 299 fs/ocfs2/suballoc.c struct buffer_head *tmp = *bh; tmp 301 fs/ocfs2/suballoc.c rc = ocfs2_read_block(INODE_CACHE(inode), gd_blkno, &tmp, tmp 306 fs/ocfs2/suballoc.c rc = ocfs2_validate_gd_parent(inode->i_sb, di, tmp, 0); tmp 308 fs/ocfs2/suballoc.c brelse(tmp); tmp 314 fs/ocfs2/suballoc.c *bh = tmp; tmp 2388 fs/ocfs2/suballoc.c unsigned int tmp; tmp 2415 fs/ocfs2/suballoc.c tmp = num_bits; tmp 2416 fs/ocfs2/suballoc.c while(tmp--) { tmp 2417 fs/ocfs2/suballoc.c ocfs2_clear_bit((bit_off + tmp), tmp 2420 fs/ocfs2/suballoc.c undo_fn(bit_off + tmp, tmp 612 fs/ocfs2/super.c u32 tmp; tmp 622 fs/ocfs2/super.c tmp = OCFS2_MOUNT_HB_LOCAL | OCFS2_MOUNT_HB_GLOBAL | tmp 624 fs/ocfs2/super.c if ((osb->s_mount_opt & tmp) != (parsed_options.mount_opt & tmp)) { tmp 1245 fs/ocfs2/super.c u32 tmp; tmp 1459 fs/ocfs2/super.c tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | tmp 1462 fs/ocfs2/super.c if (hweight32(tmp) != 1) { tmp 1846 fs/ocfs2/super.c int tmp, hangup_needed = 0; tmp 1888 fs/ocfs2/super.c tmp = ocfs2_super_lock(osb, 1); tmp 1889 fs/ocfs2/super.c if (tmp < 0) { tmp 1890 fs/ocfs2/super.c mlog_errno(tmp); tmp 311 fs/ocfs2/uptodate.c struct ocfs2_meta_cache_item *tmp; tmp 320 fs/ocfs2/uptodate.c tmp = rb_entry(parent, struct ocfs2_meta_cache_item, c_node); tmp 322 fs/ocfs2/uptodate.c if (block < tmp->c_block) tmp 324 fs/ocfs2/uptodate.c else if (block > tmp->c_block) tmp 521 fs/ocfs2/xattr.c struct buffer_head *tmp = *bh; tmp 523 fs/ocfs2/xattr.c rc = ocfs2_read_block(INODE_CACHE(inode), xb_blkno, &tmp, tmp 528 fs/ocfs2/xattr.c *bh = tmp; tmp 1815 fs/ocfs2/xattr.c int low = 0, high = count - 1, tmp; tmp 1823 fs/ocfs2/xattr.c tmp = (low + high) / 2; tmp 1824 fs/ocfs2/xattr.c tmp_xe = &xh->xh_entries[tmp]; tmp 1827 fs/ocfs2/xattr.c low = tmp + 1; tmp 1829 fs/ocfs2/xattr.c high = tmp - 1; tmp 1831 fs/ocfs2/xattr.c low = tmp; tmp 4169 fs/ocfs2/xattr.c struct ocfs2_xattr_entry *l = a, *r = b, tmp; tmp 4171 fs/ocfs2/xattr.c tmp = *l; tmp 4173 fs/ocfs2/xattr.c memcpy(r, &tmp, sizeof(struct ocfs2_xattr_entry)); tmp 98 fs/omfs/bitmap.c u64 tmp; tmp 100 fs/omfs/bitmap.c tmp = block; tmp 101 fs/omfs/bitmap.c bit = do_div(tmp, bits_per_entry); tmp 102 fs/omfs/bitmap.c map = tmp; tmp 179 fs/omfs/bitmap.c u64 tmp; tmp 183 fs/omfs/bitmap.c tmp = block; tmp 184 fs/omfs/bitmap.c bit = do_div(tmp, bits_per_entry); tmp 185 fs/omfs/bitmap.c map = tmp; tmp 1083 fs/open.c struct filename *tmp; tmp 1088 fs/open.c tmp = getname(filename); tmp 1089 fs/open.c if (IS_ERR(tmp)) tmp 1090 fs/open.c return PTR_ERR(tmp); tmp 1094 fs/open.c struct file *f = do_filp_open(dfd, tmp, &op); tmp 1103 fs/open.c putname(tmp); tmp 132 fs/orangefs/super.c struct hlist_node *tmp; tmp 135 fs/orangefs/super.c hash_for_each_safe(orangefs_inode->xattr_cache, i, tmp, cx, node) { tmp 36 fs/orangefs/waitqueue.c struct orangefs_kernel_op_s *op, *tmp; tmp 39 fs/orangefs/waitqueue.c list_for_each_entry_safe(op, tmp, &orangefs_request_list, list) { tmp 68 fs/orangefs/xattr.c struct hlist_node *tmp; tmp 72 fs/orangefs/xattr.c hlist_for_each_entry_safe(cx, tmp, h, node) { tmp 251 fs/orangefs/xattr.c struct hlist_node *tmp; tmp 295 fs/orangefs/xattr.c hlist_for_each_entry_safe(cx, tmp, h, node) { tmp 322 fs/orangefs/xattr.c struct hlist_node *tmp; tmp 386 fs/orangefs/xattr.c hlist_for_each_entry_safe(cx, tmp, h, node) { tmp 906 fs/overlayfs/dir.c struct dentry *d, *tmp; tmp 943 fs/overlayfs/dir.c tmp = dget_dlock(d->d_parent); tmp 947 fs/overlayfs/dir.c d = tmp; tmp 75 fs/overlayfs/readdir.c struct ovl_cache_entry *tmp; tmp 78 fs/overlayfs/readdir.c tmp = ovl_cache_entry_from_node(*newp); tmp 79 fs/overlayfs/readdir.c cmp = strncmp(name, tmp->name, len); tmp 81 fs/overlayfs/readdir.c newp = &tmp->node.rb_right; tmp 82 fs/overlayfs/readdir.c else if (cmp < 0 || len < tmp->len) tmp 83 fs/overlayfs/readdir.c newp = &tmp->node.rb_left; tmp 747 fs/overlayfs/super.c char *tmp = kstrdup(name, GFP_KERNEL); tmp 749 fs/overlayfs/super.c if (tmp) { tmp 750 fs/overlayfs/super.c ovl_unescape(tmp); tmp 751 fs/overlayfs/super.c err = ovl_mount_dir_noesc(tmp, path); tmp 756 fs/overlayfs/super.c tmp); tmp 760 fs/overlayfs/super.c kfree(tmp); tmp 484 fs/pnode.c struct mount *mnt, *child, *tmp; tmp 486 fs/pnode.c list_for_each_entry_safe(child, tmp, &mnt->mnt_mounts, mnt_child) { tmp 1637 fs/proc/base.c char *tmp = (char *)__get_free_page(GFP_KERNEL); tmp 1641 fs/proc/base.c if (!tmp) tmp 1644 fs/proc/base.c pathname = d_path(path, tmp, PAGE_SIZE); tmp 1648 fs/proc/base.c len = tmp + PAGE_SIZE - 1 - pathname; tmp 1655 fs/proc/base.c free_page((unsigned long)tmp); tmp 150 fs/proc/kcore.c struct kcore_list *vmm, *tmp; tmp 157 fs/proc/kcore.c list_for_each_entry(tmp, head, list) { tmp 158 fs/proc/kcore.c if (tmp->type != KCORE_VMEMMAP) tmp 160 fs/proc/kcore.c if (start < tmp->addr + tmp->size) tmp 161 fs/proc/kcore.c if (end > tmp->addr) tmp 162 fs/proc/kcore.c end = tmp->addr; tmp 264 fs/proc/kcore.c struct kcore_list *tmp, *pos; tmp 279 fs/proc/kcore.c list_for_each_entry_safe(pos, tmp, &kclist_head, list) { tmp 290 fs/proc/kcore.c list_for_each_entry_safe(pos, tmp, &garbage, list) { tmp 113 fs/proc/vmcore.c ssize_t read = 0, tmp; tmp 132 fs/proc/vmcore.c tmp = copy_oldmem_page_encrypted(pfn, buf, tmp 137 fs/proc/vmcore.c tmp = copy_oldmem_page(pfn, buf, nr_bytes, tmp 140 fs/proc/vmcore.c if (tmp < 0) tmp 141 fs/proc/vmcore.c return tmp; tmp 299 fs/proc/vmcore.c ssize_t acc = 0, tmp; tmp 381 fs/proc/vmcore.c tmp = read_from_oldmem(buffer, tsz, &start, tmp 383 fs/proc/vmcore.c if (tmp < 0) tmp 384 fs/proc/vmcore.c return tmp; tmp 829 fs/proc/vmcore.c char *tmp; tmp 864 fs/proc/vmcore.c tmp = elfptr + sizeof(Elf64_Ehdr); tmp 865 fs/proc/vmcore.c memcpy(tmp, &phdr, sizeof(phdr)); tmp 866 fs/proc/vmcore.c tmp += sizeof(phdr); tmp 871 fs/proc/vmcore.c memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf64_Ehdr)-sizeof(Elf64_Phdr))); tmp 1020 fs/proc/vmcore.c char *tmp; tmp 1055 fs/proc/vmcore.c tmp = elfptr + sizeof(Elf32_Ehdr); tmp 1056 fs/proc/vmcore.c memcpy(tmp, &phdr, sizeof(phdr)); tmp 1057 fs/proc/vmcore.c tmp += sizeof(phdr); tmp 1062 fs/proc/vmcore.c memmove(tmp, tmp+i, ((*elfsz)-sizeof(Elf32_Ehdr)-sizeof(Elf32_Phdr))); tmp 266 fs/quota/dquot.c unsigned long tmp; tmp 268 fs/quota/dquot.c tmp = (((unsigned long)sb>>L1_CACHE_SHIFT) ^ id) * (MAXQUOTAS - type); tmp 269 fs/quota/dquot.c return (tmp + (tmp >> dq_hash_bits)) & dq_hash_mask; tmp 538 fs/quota/dquot.c struct dquot *dquot, *tmp; tmp 542 fs/quota/dquot.c list_for_each_entry_safe(dquot, tmp, &inuse_list, dq_inuse) { tmp 793 fs/quota/quota.c struct filename *tmp = getname(special); tmp 795 fs/quota/quota.c if (IS_ERR(tmp)) tmp 796 fs/quota/quota.c return ERR_CAST(tmp); tmp 797 fs/quota/quota.c bdev = lookup_bdev(tmp->name); tmp 798 fs/quota/quota.c putname(tmp); tmp 358 fs/quota/quota_tree.c int tmp = QT_TREEOFF; tmp 366 fs/quota/quota_tree.c return do_insert_tree(info, dquot, &tmp, 0); tmp 524 fs/quota/quota_tree.c uint tmp = QT_TREEOFF; tmp 528 fs/quota/quota_tree.c return remove_tree(info, dquot, &tmp, 0); tmp 123 fs/reiserfs/bitmap.c b_blocknr_t tmp; tmp 125 fs/reiserfs/bitmap.c if (reiserfs_in_journal(s, bmap, off, 1, &tmp)) { tmp 126 fs/reiserfs/bitmap.c if (tmp) { /* hint supplied */ tmp 127 fs/reiserfs/bitmap.c *next = tmp; tmp 1075 fs/reiserfs/do_balan.c struct item_head *tmp; tmp 1124 fs/reiserfs/do_balan.c tmp = item_head(tb->S_new[i], 0); tmp 1126 fs/reiserfs/do_balan.c if (is_indirect_le_ih(tmp)) { tmp 1127 fs/reiserfs/do_balan.c set_ih_free_space(tmp, 0); tmp 1130 fs/reiserfs/do_balan.c add_le_ih_k_offset(tmp, n_rem << shift); tmp 803 fs/reiserfs/journal.c struct list_head tmp; tmp 804 fs/reiserfs/journal.c INIT_LIST_HEAD(&tmp); tmp 814 fs/reiserfs/journal.c list_move(&jh->list, &tmp); tmp 835 fs/reiserfs/journal.c list_move(&jh->list, &tmp); tmp 850 fs/reiserfs/journal.c while (!list_empty(&tmp)) { tmp 851 fs/reiserfs/journal.c jh = JH_ENTRY(tmp.prev); tmp 1262 fs/reiserfs/namei.c struct reiserfs_dir_entry tmp = *de; tmp 1265 fs/reiserfs/namei.c set_de_name_and_namelen(&tmp); tmp 1267 fs/reiserfs/namei.c if (tmp.de_namelen != len || memcmp(name, de->de_name, len)) tmp 791 fs/splice.c loff_t tmp = sd->pos; tmp 794 fs/splice.c ret = __kernel_write(sd->u.file, data + buf->offset, sd->len, &tmp); tmp 212 fs/stat.c struct __old_kernel_stat tmp; tmp 223 fs/stat.c memset(&tmp, 0, sizeof(struct __old_kernel_stat)); tmp 224 fs/stat.c tmp.st_dev = old_encode_dev(stat->dev); tmp 225 fs/stat.c tmp.st_ino = stat->ino; tmp 226 fs/stat.c if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) tmp 228 fs/stat.c tmp.st_mode = stat->mode; tmp 229 fs/stat.c tmp.st_nlink = stat->nlink; tmp 230 fs/stat.c if (tmp.st_nlink != stat->nlink) tmp 232 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); tmp 233 fs/stat.c SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); tmp 234 fs/stat.c tmp.st_rdev = old_encode_dev(stat->rdev); tmp 239 fs/stat.c tmp.st_size = stat->size; tmp 240 fs/stat.c tmp.st_atime = stat->atime.tv_sec; tmp 241 fs/stat.c tmp.st_mtime = stat->mtime.tv_sec; tmp 242 fs/stat.c tmp.st_ctime = stat->ctime.tv_sec; tmp 243 fs/stat.c return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; tmp 302 fs/stat.c struct stat tmp; tmp 311 fs/stat.c INIT_STRUCT_STAT_PADDING(tmp); tmp 312 fs/stat.c tmp.st_dev = encode_dev(stat->dev); tmp 313 fs/stat.c tmp.st_ino = stat->ino; tmp 314 fs/stat.c if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) tmp 316 fs/stat.c tmp.st_mode = stat->mode; tmp 317 fs/stat.c tmp.st_nlink = stat->nlink; tmp 318 fs/stat.c if (tmp.st_nlink != stat->nlink) tmp 320 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); tmp 321 fs/stat.c SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); tmp 322 fs/stat.c tmp.st_rdev = encode_dev(stat->rdev); tmp 323 fs/stat.c tmp.st_size = stat->size; tmp 324 fs/stat.c tmp.st_atime = stat->atime.tv_sec; tmp 325 fs/stat.c tmp.st_mtime = stat->mtime.tv_sec; tmp 326 fs/stat.c tmp.st_ctime = stat->ctime.tv_sec; tmp 328 fs/stat.c tmp.st_atime_nsec = stat->atime.tv_nsec; tmp 329 fs/stat.c tmp.st_mtime_nsec = stat->mtime.tv_nsec; tmp 330 fs/stat.c tmp.st_ctime_nsec = stat->ctime.tv_nsec; tmp 332 fs/stat.c tmp.st_blocks = stat->blocks; tmp 333 fs/stat.c tmp.st_blksize = stat->blksize; tmp 334 fs/stat.c return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; tmp 445 fs/stat.c struct stat64 tmp; tmp 447 fs/stat.c INIT_STRUCT_STAT64_PADDING(tmp); tmp 450 fs/stat.c tmp.st_dev = new_encode_dev(stat->dev); tmp 451 fs/stat.c tmp.st_rdev = new_encode_dev(stat->rdev); tmp 453 fs/stat.c tmp.st_dev = huge_encode_dev(stat->dev); tmp 454 fs/stat.c tmp.st_rdev = huge_encode_dev(stat->rdev); tmp 456 fs/stat.c tmp.st_ino = stat->ino; tmp 457 fs/stat.c if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) tmp 460 fs/stat.c tmp.__st_ino = stat->ino; tmp 462 fs/stat.c tmp.st_mode = stat->mode; tmp 463 fs/stat.c tmp.st_nlink = stat->nlink; tmp 464 fs/stat.c tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); tmp 465 fs/stat.c tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); tmp 466 fs/stat.c tmp.st_atime = stat->atime.tv_sec; tmp 467 fs/stat.c tmp.st_atime_nsec = stat->atime.tv_nsec; tmp 468 fs/stat.c tmp.st_mtime = stat->mtime.tv_sec; tmp 469 fs/stat.c tmp.st_mtime_nsec = stat->mtime.tv_nsec; tmp 470 fs/stat.c tmp.st_ctime = stat->ctime.tv_sec; tmp 471 fs/stat.c tmp.st_ctime_nsec = stat->ctime.tv_nsec; tmp 472 fs/stat.c tmp.st_size = stat->size; tmp 473 fs/stat.c tmp.st_blocks = stat->blocks; tmp 474 fs/stat.c tmp.st_blksize = stat->blksize; tmp 475 fs/stat.c return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; tmp 529 fs/stat.c struct statx tmp; tmp 531 fs/stat.c memset(&tmp, 0, sizeof(tmp)); tmp 533 fs/stat.c tmp.stx_mask = stat->result_mask; tmp 534 fs/stat.c tmp.stx_blksize = stat->blksize; tmp 535 fs/stat.c tmp.stx_attributes = stat->attributes; tmp 536 fs/stat.c tmp.stx_nlink = stat->nlink; tmp 537 fs/stat.c tmp.stx_uid = from_kuid_munged(current_user_ns(), stat->uid); tmp 538 fs/stat.c tmp.stx_gid = from_kgid_munged(current_user_ns(), stat->gid); tmp 539 fs/stat.c tmp.stx_mode = stat->mode; tmp 540 fs/stat.c tmp.stx_ino = stat->ino; tmp 541 fs/stat.c tmp.stx_size = stat->size; tmp 542 fs/stat.c tmp.stx_blocks = stat->blocks; tmp 543 fs/stat.c tmp.stx_attributes_mask = stat->attributes_mask; tmp 544 fs/stat.c tmp.stx_atime.tv_sec = stat->atime.tv_sec; tmp 545 fs/stat.c tmp.stx_atime.tv_nsec = stat->atime.tv_nsec; tmp 546 fs/stat.c tmp.stx_btime.tv_sec = stat->btime.tv_sec; tmp 547 fs/stat.c tmp.stx_btime.tv_nsec = stat->btime.tv_nsec; tmp 548 fs/stat.c tmp.stx_ctime.tv_sec = stat->ctime.tv_sec; tmp 549 fs/stat.c tmp.stx_ctime.tv_nsec = stat->ctime.tv_nsec; tmp 550 fs/stat.c tmp.stx_mtime.tv_sec = stat->mtime.tv_sec; tmp 551 fs/stat.c tmp.stx_mtime.tv_nsec = stat->mtime.tv_nsec; tmp 552 fs/stat.c tmp.stx_rdev_major = MAJOR(stat->rdev); tmp 553 fs/stat.c tmp.stx_rdev_minor = MINOR(stat->rdev); tmp 554 fs/stat.c tmp.stx_dev_major = MAJOR(stat->dev); tmp 555 fs/stat.c tmp.stx_dev_minor = MINOR(stat->dev); tmp 557 fs/stat.c return copy_to_user(buffer, &tmp, sizeof(tmp)) ? -EFAULT : 0; tmp 594 fs/stat.c struct compat_stat tmp; tmp 599 fs/stat.c memset(&tmp, 0, sizeof(tmp)); tmp 600 fs/stat.c tmp.st_dev = old_encode_dev(stat->dev); tmp 601 fs/stat.c tmp.st_ino = stat->ino; tmp 602 fs/stat.c if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) tmp 604 fs/stat.c tmp.st_mode = stat->mode; tmp 605 fs/stat.c tmp.st_nlink = stat->nlink; tmp 606 fs/stat.c if (tmp.st_nlink != stat->nlink) tmp 608 fs/stat.c SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); tmp 609 fs/stat.c SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); tmp 610 fs/stat.c tmp.st_rdev = old_encode_dev(stat->rdev); tmp 613 fs/stat.c tmp.st_size = stat->size; tmp 614 fs/stat.c tmp.st_atime = stat->atime.tv_sec; tmp 615 fs/stat.c tmp.st_atime_nsec = stat->atime.tv_nsec; tmp 616 fs/stat.c tmp.st_mtime = stat->mtime.tv_sec; tmp 617 fs/stat.c tmp.st_mtime_nsec = stat->mtime.tv_nsec; tmp 618 fs/stat.c tmp.st_ctime = stat->ctime.tv_sec; tmp 619 fs/stat.c tmp.st_ctime_nsec = stat->ctime.tv_nsec; tmp 620 fs/stat.c tmp.st_blocks = stat->blocks; tmp 621 fs/stat.c tmp.st_blksize = stat->blksize; tmp 622 fs/stat.c return copy_to_user(ubuf, &tmp, sizeof(tmp)) ? -EFAULT : 0; tmp 248 fs/statfs.c struct ustat tmp; tmp 254 fs/statfs.c memset(&tmp,0,sizeof(struct ustat)); tmp 255 fs/statfs.c tmp.f_tfree = sbuf.f_bfree; tmp 256 fs/statfs.c tmp.f_tinode = sbuf.f_ffree; tmp 258 fs/statfs.c return copy_to_user(ubuf, &tmp, sizeof(struct ustat)) ? -EFAULT : 0; tmp 302 fs/statfs.c struct kstatfs tmp; tmp 303 fs/statfs.c int error = user_statfs(pathname, &tmp); tmp 305 fs/statfs.c error = put_compat_statfs(buf, &tmp); tmp 311 fs/statfs.c struct kstatfs tmp; tmp 312 fs/statfs.c int error = fd_statfs(fd, &tmp); tmp 314 fs/statfs.c error = put_compat_statfs(buf, &tmp); tmp 345 fs/statfs.c struct kstatfs tmp; tmp 351 fs/statfs.c error = user_statfs(pathname, &tmp); tmp 353 fs/statfs.c error = put_compat_statfs64(buf, &tmp); tmp 364 fs/statfs.c struct kstatfs tmp; tmp 370 fs/statfs.c error = fd_statfs(fd, &tmp); tmp 372 fs/statfs.c error = put_compat_statfs64(buf, &tmp); tmp 388 fs/statfs.c struct compat_ustat tmp; tmp 394 fs/statfs.c memset(&tmp, 0, sizeof(struct compat_ustat)); tmp 395 fs/statfs.c tmp.f_tfree = sbuf.f_bfree; tmp 396 fs/statfs.c tmp.f_tinode = sbuf.f_ffree; tmp 397 fs/statfs.c if (copy_to_user(u, &tmp, sizeof(struct compat_ustat))) tmp 174 fs/sysfs/file.c struct kernfs_node *kn = kobj->sd, *tmp; tmp 182 fs/sysfs/file.c tmp = kernfs_find_and_get(kn, attr); tmp 184 fs/sysfs/file.c kn = tmp; tmp 235 fs/ubifs/gc.c struct ubifs_scan_node *snod, *tmp; tmp 240 fs/ubifs/gc.c list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) { tmp 357 fs/ubifs/gc.c struct ubifs_scan_node *snod, *tmp; tmp 360 fs/ubifs/gc.c list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) { tmp 382 fs/ubifs/gc.c list_for_each_entry_safe(snod, tmp, &nondata, list) { tmp 941 fs/ubifs/gc.c struct ubifs_gced_idx_leb *idx_gc, *tmp; tmp 947 fs/ubifs/gc.c list_for_each_entry_safe(idx_gc, tmp, &c->idx_gc, list) tmp 352 fs/ubifs/replay.c struct replay_entry *r, *tmp; tmp 354 fs/ubifs/replay.c list_for_each_entry_safe(r, tmp, &c->replay_list, list) { tmp 81 fs/ubifs/sb.c int err, tmp, jnl_lebs, log_lebs, max_buds, main_lebs, main_first; tmp 116 fs/ubifs/sb.c tmp = 2 * (c->ref_node_alsz * jnl_lebs) + c->leb_size - 1; tmp 117 fs/ubifs/sb.c log_lebs = tmp / c->leb_size; tmp 230 fs/ubifs/sb.c tmp = ubifs_idx_node_sz(c, 1); tmp 231 fs/ubifs/sb.c mst->root_len = cpu_to_le32(tmp); tmp 234 fs/ubifs/sb.c mst->ihead_offs = cpu_to_le32(ALIGN(tmp, c->min_io_size)); tmp 235 fs/ubifs/sb.c mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); tmp 660 fs/ubifs/super.c int tmp, err; tmp 667 fs/ubifs/super.c tmp = ubifs_idx_node_sz(c, 1); tmp 668 fs/ubifs/super.c c->ranges[UBIFS_IDX_NODE].min_len = tmp; tmp 669 fs/ubifs/super.c c->min_idx_node_sz = ALIGN(tmp, 8); tmp 671 fs/ubifs/super.c tmp = ubifs_idx_node_sz(c, c->fanout); tmp 672 fs/ubifs/super.c c->ranges[UBIFS_IDX_NODE].max_len = tmp; tmp 673 fs/ubifs/super.c c->max_idx_node_sz = ALIGN(tmp, 8); tmp 676 fs/ubifs/super.c tmp = UBIFS_CS_NODE_SZ + UBIFS_REF_NODE_SZ * c->jhead_cnt; tmp 677 fs/ubifs/super.c tmp = ALIGN(tmp, c->min_io_size); tmp 678 fs/ubifs/super.c if (tmp > c->leb_size) { tmp 680 fs/ubifs/super.c c->leb_size, tmp); tmp 690 fs/ubifs/super.c tmp = (c->ref_node_alsz * c->max_bud_cnt + c->leb_size - 1); tmp 691 fs/ubifs/super.c tmp /= c->leb_size; tmp 692 fs/ubifs/super.c tmp += 1; tmp 693 fs/ubifs/super.c if (c->log_lebs < tmp) { tmp 695 fs/ubifs/super.c c->log_lebs, tmp); tmp 400 fs/udf/balloc.c uint32_t tmp = ((0x3FFFFFFF - elen) >> tmp 402 fs/udf/balloc.c count -= tmp; tmp 403 fs/udf/balloc.c start += tmp; tmp 417 fs/udf/balloc.c uint32_t tmp = ((0x3FFFFFFF - elen) >> tmp 419 fs/udf/balloc.c count -= tmp; tmp 420 fs/udf/balloc.c end -= tmp; tmp 421 fs/udf/balloc.c eloc.logicalBlockNum -= tmp; tmp 54 fs/udf/dir.c struct buffer_head *tmp, *bha[16]; tmp 110 fs/udf/dir.c tmp = udf_tgetblk(sb, block); tmp 111 fs/udf/dir.c if (tmp && !buffer_uptodate(tmp) && !buffer_locked(tmp)) tmp 112 fs/udf/dir.c bha[num++] = tmp; tmp 114 fs/udf/dir.c brelse(tmp); tmp 31 fs/udf/directory.c struct buffer_head *tmp, *bha[16]; tmp 84 fs/udf/directory.c tmp = udf_tgetblk(dir->i_sb, block); tmp 85 fs/udf/directory.c if (tmp && !buffer_uptodate(tmp) && tmp 86 fs/udf/directory.c !buffer_locked(tmp)) tmp 87 fs/udf/directory.c bha[num++] = tmp; tmp 89 fs/udf/directory.c brelse(tmp); tmp 352 fs/ufs/balloc.c u64 tmp, request, result; tmp 364 fs/ufs/balloc.c tmp = ufs_data_ptr_to_cpu(sb, p); tmp 379 fs/ufs/balloc.c if (!tmp) { tmp 383 fs/ufs/balloc.c (unsigned long long)tmp); tmp 394 fs/ufs/balloc.c if (tmp) { tmp 442 fs/ufs/balloc.c result = ufs_add_fragments(inode, tmp, oldcount, newcount); tmp 474 fs/ufs/balloc.c uspi->s_sbbase + tmp, tmp 484 fs/ufs/balloc.c ufs_free_fragments (inode, tmp, oldcount); tmp 231 fs/ufs/inode.c u64 tmp; tmp 239 fs/ufs/inode.c tmp = ufs_new_fragments(inode, p, lastfrag, ufs_data_ptr_to_cpu(sb, p), tmp 242 fs/ufs/inode.c return tmp != 0; tmp 262 fs/ufs/inode.c u64 tmp, goal, lastfrag; tmp 272 fs/ufs/inode.c tmp = ufs_data_ptr_to_cpu(sb, p); tmp 273 fs/ufs/inode.c if (tmp) tmp 289 fs/ufs/inode.c tmp = ufs_new_fragments(inode, p, ufs_blknum(new_fragment), tmp 292 fs/ufs/inode.c if (!tmp) { tmp 304 fs/ufs/inode.c return tmp + uspi->s_sbbase; tmp 341 fs/ufs/inode.c u64 tmp = 0, goal; tmp 360 fs/ufs/inode.c tmp = ufs_data_ptr_to_cpu(sb, p); tmp 361 fs/ufs/inode.c if (tmp) tmp 365 fs/ufs/inode.c (tmp = fs64_to_cpu(sb, ((__fs64 *)bh->b_data)[index-1])) : tmp 366 fs/ufs/inode.c (tmp = fs32_to_cpu(sb, ((__fs32 *)bh->b_data)[index-1])))) tmp 367 fs/ufs/inode.c goal = tmp + uspi->s_fpb; tmp 370 fs/ufs/inode.c tmp = ufs_new_fragments(inode, p, ufs_blknum(new_fragment), goal, tmp 372 fs/ufs/inode.c if (!tmp) tmp 386 fs/ufs/inode.c if (tmp) tmp 387 fs/ufs/inode.c tmp += uspi->s_sbbase; tmp 388 fs/ufs/inode.c return tmp; tmp 896 fs/ufs/inode.c unsigned i, tmp; tmp 929 fs/ufs/inode.c tmp = ufs_data_ptr_to_cpu(sb, p); tmp 930 fs/ufs/inode.c if (!tmp ) tmp 935 fs/ufs/inode.c ufs_free_fragments(inode, tmp + frag1, frag2); tmp 943 fs/ufs/inode.c tmp = ufs_data_ptr_to_cpu(sb, p); tmp 944 fs/ufs/inode.c if (!tmp) tmp 950 fs/ufs/inode.c free_data(&ctx, tmp, uspi->s_fpb); tmp 962 fs/ufs/inode.c tmp = ufs_data_ptr_to_cpu(sb, p); tmp 963 fs/ufs/inode.c if (!tmp ) tmp 970 fs/ufs/inode.c ufs_free_fragments (inode, tmp, frag4); tmp 92 fs/ufs/util.h __fs64 tmp; tmp 97 fs/ufs/util.h ((__fs32 *)&tmp)[0] = usb3->fs_un2.fs_sun.fs_qbmask[0]; tmp 98 fs/ufs/util.h ((__fs32 *)&tmp)[1] = usb3->fs_un2.fs_sun.fs_qbmask[1]; tmp 101 fs/ufs/util.h ((__fs32 *)&tmp)[0] = usb3->fs_un2.fs_sunx86.fs_qbmask[0]; tmp 102 fs/ufs/util.h ((__fs32 *)&tmp)[1] = usb3->fs_un2.fs_sunx86.fs_qbmask[1]; tmp 105 fs/ufs/util.h ((__fs32 *)&tmp)[0] = usb3->fs_un2.fs_44.fs_qbmask[0]; tmp 106 fs/ufs/util.h ((__fs32 *)&tmp)[1] = usb3->fs_un2.fs_44.fs_qbmask[1]; tmp 110 fs/ufs/util.h return fs64_to_cpu(sb, tmp); tmp 116 fs/ufs/util.h __fs64 tmp; tmp 121 fs/ufs/util.h ((__fs32 *)&tmp)[0] = usb3->fs_un2.fs_sun.fs_qfmask[0]; tmp 122 fs/ufs/util.h ((__fs32 *)&tmp)[1] = usb3->fs_un2.fs_sun.fs_qfmask[1]; tmp 125 fs/ufs/util.h ((__fs32 *)&tmp)[0] = usb3->fs_un2.fs_sunx86.fs_qfmask[0]; tmp 126 fs/ufs/util.h ((__fs32 *)&tmp)[1] = usb3->fs_un2.fs_sunx86.fs_qfmask[1]; tmp 129 fs/ufs/util.h ((__fs32 *)&tmp)[0] = usb3->fs_un2.fs_44.fs_qfmask[0]; tmp 130 fs/ufs/util.h ((__fs32 *)&tmp)[1] = usb3->fs_un2.fs_44.fs_qfmask[1]; tmp 134 fs/ufs/util.h return fs64_to_cpu(sb, tmp); tmp 1271 fs/xfs/libxfs/xfs_attr_leaf.c int tmp; tmp 1294 fs/xfs/libxfs/xfs_attr_leaf.c tmp = entsize; tmp 1296 fs/xfs/libxfs/xfs_attr_leaf.c tmp += sizeof(xfs_attr_leaf_entry_t); tmp 1297 fs/xfs/libxfs/xfs_attr_leaf.c if (ichdr.freemap[i].size >= tmp) { tmp 1298 fs/xfs/libxfs/xfs_attr_leaf.c tmp = xfs_attr3_leaf_add_work(bp, &ichdr, args, i); tmp 1323 fs/xfs/libxfs/xfs_attr_leaf.c tmp = -ENOSPC; tmp 1327 fs/xfs/libxfs/xfs_attr_leaf.c tmp = xfs_attr3_leaf_add_work(bp, &ichdr, args, 0); tmp 1334 fs/xfs/libxfs/xfs_attr_leaf.c return tmp; tmp 1352 fs/xfs/libxfs/xfs_attr_leaf.c int tmp; tmp 1366 fs/xfs/libxfs/xfs_attr_leaf.c tmp = ichdr->count - args->index; tmp 1367 fs/xfs/libxfs/xfs_attr_leaf.c tmp *= sizeof(xfs_attr_leaf_entry_t); tmp 1368 fs/xfs/libxfs/xfs_attr_leaf.c memmove(entry + 1, entry, tmp); tmp 1370 fs/xfs/libxfs/xfs_attr_leaf.c XFS_DA_LOGRANGE(leaf, entry, tmp + sizeof(*entry))); tmp 1385 fs/xfs/libxfs/xfs_attr_leaf.c ichdr->freemap[mapindex].size -= xfs_attr_leaf_newentsize(args, &tmp); tmp 1390 fs/xfs/libxfs/xfs_attr_leaf.c entry->flags = tmp ? XFS_ATTR_LOCAL : 0; tmp 1444 fs/xfs/libxfs/xfs_attr_leaf.c tmp = (ichdr->count - 1) * sizeof(xfs_attr_leaf_entry_t) tmp 1448 fs/xfs/libxfs/xfs_attr_leaf.c if (ichdr->freemap[i].base == tmp) { tmp 1777 fs/xfs/libxfs/xfs_attr_leaf.c int tmp; tmp 1797 fs/xfs/libxfs/xfs_attr_leaf.c tmp = totallen + sizeof(*entry) + tmp 1799 fs/xfs/libxfs/xfs_attr_leaf.c if (XFS_ATTR_ABS(half - tmp) > lastdelta) tmp 1801 fs/xfs/libxfs/xfs_attr_leaf.c lastdelta = XFS_ATTR_ABS(half - tmp); tmp 1802 fs/xfs/libxfs/xfs_attr_leaf.c totallen = tmp; tmp 1818 fs/xfs/libxfs/xfs_attr_leaf.c tmp = totallen + sizeof(*entry) + xfs_attr_leaf_entsize(leaf1, tmp 1820 fs/xfs/libxfs/xfs_attr_leaf.c if (XFS_ATTR_ABS(half - tmp) > lastdelta) tmp 1822 fs/xfs/libxfs/xfs_attr_leaf.c lastdelta = XFS_ATTR_ABS(half - tmp); tmp 1823 fs/xfs/libxfs/xfs_attr_leaf.c totallen = tmp; tmp 1997 fs/xfs/libxfs/xfs_attr_leaf.c int tmp; tmp 2023 fs/xfs/libxfs/xfs_attr_leaf.c tmp = ichdr.freemap[0].size; tmp 2041 fs/xfs/libxfs/xfs_attr_leaf.c } else if (ichdr.freemap[i].size < tmp) { tmp 2042 fs/xfs/libxfs/xfs_attr_leaf.c tmp = ichdr.freemap[i].size; tmp 2090 fs/xfs/libxfs/xfs_attr_leaf.c tmp = (ichdr.count - args->index) * sizeof(xfs_attr_leaf_entry_t); tmp 2091 fs/xfs/libxfs/xfs_attr_leaf.c memmove(entry, entry + 1, tmp); tmp 2094 fs/xfs/libxfs/xfs_attr_leaf.c XFS_DA_LOGRANGE(leaf, entry, tmp + sizeof(xfs_attr_leaf_entry_t))); tmp 2106 fs/xfs/libxfs/xfs_attr_leaf.c tmp = args->geo->blksize; tmp 2112 fs/xfs/libxfs/xfs_attr_leaf.c if (be16_to_cpu(entry->nameidx) < tmp) tmp 2113 fs/xfs/libxfs/xfs_attr_leaf.c tmp = be16_to_cpu(entry->nameidx); tmp 2115 fs/xfs/libxfs/xfs_attr_leaf.c ichdr.firstused = tmp; tmp 2129 fs/xfs/libxfs/xfs_attr_leaf.c tmp = ichdr.usedbytes + xfs_attr3_leaf_hdr_size(leaf) + tmp 2132 fs/xfs/libxfs/xfs_attr_leaf.c return tmp < args->geo->magicpct; /* leaf is < 37% full */ tmp 2440 fs/xfs/libxfs/xfs_attr_leaf.c int tmp; tmp 2471 fs/xfs/libxfs/xfs_attr_leaf.c tmp = ichdr_d->count - start_d; tmp 2472 fs/xfs/libxfs/xfs_attr_leaf.c tmp *= sizeof(xfs_attr_leaf_entry_t); tmp 2475 fs/xfs/libxfs/xfs_attr_leaf.c memmove(entry_d, entry_s, tmp); tmp 2487 fs/xfs/libxfs/xfs_attr_leaf.c tmp = xfs_attr_leaf_entsize(leaf_s, start_s + i); tmp 2495 fs/xfs/libxfs/xfs_attr_leaf.c memset(xfs_attr3_leaf_name(leaf_s, start_s + i), 0, tmp); tmp 2496 fs/xfs/libxfs/xfs_attr_leaf.c ichdr_s->usedbytes -= tmp; tmp 2504 fs/xfs/libxfs/xfs_attr_leaf.c ichdr_d->firstused -= tmp; tmp 2509 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(be16_to_cpu(entry_d->nameidx) + tmp tmp 2512 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_name(leaf_s, start_s + i), tmp); tmp 2513 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(be16_to_cpu(entry_s->nameidx) + tmp tmp 2515 fs/xfs/libxfs/xfs_attr_leaf.c memset(xfs_attr3_leaf_name(leaf_s, start_s + i), 0, tmp); tmp 2516 fs/xfs/libxfs/xfs_attr_leaf.c ichdr_s->usedbytes -= tmp; tmp 2517 fs/xfs/libxfs/xfs_attr_leaf.c ichdr_d->usedbytes += tmp; tmp 2520 fs/xfs/libxfs/xfs_attr_leaf.c tmp = ichdr_d->count * sizeof(xfs_attr_leaf_entry_t) tmp 2522 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr_d->firstused >= tmp); tmp 2532 fs/xfs/libxfs/xfs_attr_leaf.c tmp = count * sizeof(xfs_attr_leaf_entry_t); tmp 2534 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(((char *)entry_s + tmp) <= tmp 2536 fs/xfs/libxfs/xfs_attr_leaf.c memset(entry_s, 0, tmp); tmp 2542 fs/xfs/libxfs/xfs_attr_leaf.c tmp = (ichdr_s->count - count) * sizeof(xfs_attr_leaf_entry_t); tmp 2545 fs/xfs/libxfs/xfs_attr_leaf.c memmove(entry_d, entry_s, tmp); tmp 2547 fs/xfs/libxfs/xfs_attr_leaf.c tmp = count * sizeof(xfs_attr_leaf_entry_t); tmp 2549 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(((char *)entry_s + tmp) <= tmp 2551 fs/xfs/libxfs/xfs_attr_leaf.c memset(entry_s, 0, tmp); tmp 40 fs/xfs/libxfs/xfs_bit.c uint tmp; tmp 48 fs/xfs/libxfs/xfs_bit.c tmp = *p++; tmp 50 fs/xfs/libxfs/xfs_bit.c tmp |= (~0U >> (NBWORD-start_bit)); tmp 51 fs/xfs/libxfs/xfs_bit.c if (tmp != ~0U) tmp 57 fs/xfs/libxfs/xfs_bit.c if ((tmp = *p++) != ~0U) tmp 64 fs/xfs/libxfs/xfs_bit.c return result + ffz(tmp) - start_bit; tmp 79 fs/xfs/libxfs/xfs_bit.c uint tmp; tmp 88 fs/xfs/libxfs/xfs_bit.c tmp = *p++; tmp 90 fs/xfs/libxfs/xfs_bit.c tmp &= (~0U << start_bit); tmp 91 fs/xfs/libxfs/xfs_bit.c if (tmp != 0U) tmp 97 fs/xfs/libxfs/xfs_bit.c if ((tmp = *p++) != 0U) tmp 104 fs/xfs/libxfs/xfs_bit.c return result + ffs(tmp) - 1; tmp 783 fs/xfs/libxfs/xfs_da_btree.c int tmp; tmp 825 fs/xfs/libxfs/xfs_da_btree.c tmp = nodehdr2.count; tmp 826 fs/xfs/libxfs/xfs_da_btree.c if (tmp > 0) { tmp 827 fs/xfs/libxfs/xfs_da_btree.c tmp *= (uint)sizeof(xfs_da_node_entry_t); tmp 830 fs/xfs/libxfs/xfs_da_btree.c memmove(btree_d, btree_s, tmp); tmp 838 fs/xfs/libxfs/xfs_da_btree.c tmp = count * (uint)sizeof(xfs_da_node_entry_t); tmp 841 fs/xfs/libxfs/xfs_da_btree.c memcpy(btree_d, btree_s, tmp); tmp 849 fs/xfs/libxfs/xfs_da_btree.c tmp = count * (uint)sizeof(xfs_da_node_entry_t); tmp 852 fs/xfs/libxfs/xfs_da_btree.c memcpy(btree_d, btree_s, tmp); tmp 856 fs/xfs/libxfs/xfs_da_btree.c XFS_DA_LOGRANGE(node1, btree_d, tmp)); tmp 861 fs/xfs/libxfs/xfs_da_btree.c tmp = nodehdr2.count - count; tmp 862 fs/xfs/libxfs/xfs_da_btree.c tmp *= (uint)sizeof(xfs_da_node_entry_t); tmp 865 fs/xfs/libxfs/xfs_da_btree.c memmove(btree_d, btree_s, tmp); tmp 918 fs/xfs/libxfs/xfs_da_btree.c int tmp; tmp 936 fs/xfs/libxfs/xfs_da_btree.c tmp = 0; tmp 938 fs/xfs/libxfs/xfs_da_btree.c tmp = (nodehdr.count - oldblk->index) * (uint)sizeof(*btree); tmp 939 fs/xfs/libxfs/xfs_da_btree.c memmove(&btree[oldblk->index + 1], &btree[oldblk->index], tmp); tmp 945 fs/xfs/libxfs/xfs_da_btree.c tmp + sizeof(*btree))); tmp 1357 fs/xfs/libxfs/xfs_da_btree.c int tmp; tmp 1373 fs/xfs/libxfs/xfs_da_btree.c tmp = nodehdr.count - index - 1; tmp 1374 fs/xfs/libxfs/xfs_da_btree.c tmp *= (uint)sizeof(xfs_da_node_entry_t); tmp 1375 fs/xfs/libxfs/xfs_da_btree.c memmove(&btree[index], &btree[index + 1], tmp); tmp 1377 fs/xfs/libxfs/xfs_da_btree.c XFS_DA_LOGRANGE(node, &btree[index], tmp)); tmp 1412 fs/xfs/libxfs/xfs_da_btree.c int tmp; tmp 1434 fs/xfs/libxfs/xfs_da_btree.c tmp = save_hdr.count * sizeof(xfs_da_node_entry_t); tmp 1435 fs/xfs/libxfs/xfs_da_btree.c memmove(&save_btree[drop_hdr.count], &save_btree[0], tmp); tmp 1452 fs/xfs/libxfs/xfs_da_btree.c tmp = drop_hdr.count * (uint)sizeof(xfs_da_node_entry_t); tmp 1453 fs/xfs/libxfs/xfs_da_btree.c memcpy(&save_btree[sindex], &drop_btree[0], tmp); tmp 59 fs/xfs/libxfs/xfs_log_rlimit.c int tmp = resp->tr_logcount > 1 ? tmp 62 fs/xfs/libxfs/xfs_log_rlimit.c if (log_space < tmp) { tmp 63 fs/xfs/libxfs/xfs_log_rlimit.c log_space = tmp; tmp 338 fs/xfs/libxfs/xfs_refcount.c struct xfs_refcount_irec rcext, tmp; tmp 361 fs/xfs/libxfs/xfs_refcount.c tmp = rcext; tmp 362 fs/xfs/libxfs/xfs_refcount.c tmp.rc_startblock = agbno; tmp 363 fs/xfs/libxfs/xfs_refcount.c tmp.rc_blockcount -= (agbno - rcext.rc_startblock); tmp 364 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_update(cur, &tmp); tmp 369 fs/xfs/libxfs/xfs_refcount.c tmp = rcext; tmp 370 fs/xfs/libxfs/xfs_refcount.c tmp.rc_blockcount = agbno - rcext.rc_startblock; tmp 371 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_insert(cur, &tmp, &found_rec); tmp 576 fs/xfs/libxfs/xfs_refcount.c struct xfs_refcount_irec tmp; tmp 587 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_get_rec(cur, &tmp, &found_rec); tmp 592 fs/xfs/libxfs/xfs_refcount.c if (xfs_refc_next(&tmp) != agbno) tmp 594 fs/xfs/libxfs/xfs_refcount.c if ((flags & XFS_FIND_RCEXT_SHARED) && tmp.rc_refcount < 2) tmp 596 fs/xfs/libxfs/xfs_refcount.c if ((flags & XFS_FIND_RCEXT_COW) && tmp.rc_refcount > 1) tmp 599 fs/xfs/libxfs/xfs_refcount.c *left = tmp; tmp 605 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_get_rec(cur, &tmp, &found_rec); tmp 612 fs/xfs/libxfs/xfs_refcount.c if (tmp.rc_startblock == agbno) tmp 613 fs/xfs/libxfs/xfs_refcount.c *cleft = tmp; tmp 625 fs/xfs/libxfs/xfs_refcount.c tmp.rc_startblock - agbno); tmp 660 fs/xfs/libxfs/xfs_refcount.c struct xfs_refcount_irec tmp; tmp 671 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_get_rec(cur, &tmp, &found_rec); tmp 676 fs/xfs/libxfs/xfs_refcount.c if (tmp.rc_startblock != agbno + aglen) tmp 678 fs/xfs/libxfs/xfs_refcount.c if ((flags & XFS_FIND_RCEXT_SHARED) && tmp.rc_refcount < 2) tmp 680 fs/xfs/libxfs/xfs_refcount.c if ((flags & XFS_FIND_RCEXT_COW) && tmp.rc_refcount > 1) tmp 683 fs/xfs/libxfs/xfs_refcount.c *right = tmp; tmp 689 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_get_rec(cur, &tmp, &found_rec); tmp 696 fs/xfs/libxfs/xfs_refcount.c if (xfs_refc_next(&tmp) == agbno + aglen) tmp 697 fs/xfs/libxfs/xfs_refcount.c *cright = tmp; tmp 707 fs/xfs/libxfs/xfs_refcount.c cright->rc_startblock = max(agbno, xfs_refc_next(&tmp)); tmp 871 fs/xfs/libxfs/xfs_refcount.c struct xfs_refcount_irec ext, tmp; tmp 900 fs/xfs/libxfs/xfs_refcount.c tmp.rc_startblock = *agbno; tmp 901 fs/xfs/libxfs/xfs_refcount.c tmp.rc_blockcount = min(*aglen, tmp 903 fs/xfs/libxfs/xfs_refcount.c tmp.rc_refcount = 1 + adj; tmp 905 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, &tmp); tmp 911 fs/xfs/libxfs/xfs_refcount.c if (tmp.rc_refcount) { tmp 912 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_insert(cur, &tmp, tmp 922 fs/xfs/libxfs/xfs_refcount.c tmp.rc_startblock); tmp 924 fs/xfs/libxfs/xfs_refcount.c tmp.rc_blockcount, oinfo); tmp 927 fs/xfs/libxfs/xfs_refcount.c (*agbno) += tmp.rc_blockcount; tmp 928 fs/xfs/libxfs/xfs_refcount.c (*aglen) -= tmp.rc_blockcount; tmp 1248 fs/xfs/libxfs/xfs_refcount.c struct xfs_refcount_irec tmp; tmp 1272 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_get_rec(cur, &tmp, &i); tmp 1278 fs/xfs/libxfs/xfs_refcount.c if (tmp.rc_startblock + tmp.rc_blockcount <= agbno) { tmp 1284 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_get_rec(cur, &tmp, &i); tmp 1291 fs/xfs/libxfs/xfs_refcount.c if (tmp.rc_startblock >= agbno + aglen) tmp 1295 fs/xfs/libxfs/xfs_refcount.c if (tmp.rc_startblock < agbno) { tmp 1296 fs/xfs/libxfs/xfs_refcount.c tmp.rc_blockcount -= (agbno - tmp.rc_startblock); tmp 1297 fs/xfs/libxfs/xfs_refcount.c tmp.rc_startblock = agbno; tmp 1300 fs/xfs/libxfs/xfs_refcount.c *fbno = tmp.rc_startblock; tmp 1301 fs/xfs/libxfs/xfs_refcount.c *flen = min(tmp.rc_blockcount, agbno + aglen - *fbno); tmp 1312 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_get_rec(cur, &tmp, &i); tmp 1316 fs/xfs/libxfs/xfs_refcount.c if (tmp.rc_startblock >= agbno + aglen || tmp 1317 fs/xfs/libxfs/xfs_refcount.c tmp.rc_startblock != *fbno + *flen) tmp 1319 fs/xfs/libxfs/xfs_refcount.c *flen = min(*flen + tmp.rc_blockcount, agbno + aglen - *fbno); tmp 1392 fs/xfs/libxfs/xfs_refcount.c struct xfs_refcount_irec ext, tmp; tmp 1419 fs/xfs/libxfs/xfs_refcount.c tmp.rc_startblock = agbno; tmp 1420 fs/xfs/libxfs/xfs_refcount.c tmp.rc_blockcount = aglen; tmp 1421 fs/xfs/libxfs/xfs_refcount.c tmp.rc_refcount = 1; tmp 1423 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.agno, &tmp); tmp 1425 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_insert(cur, &tmp, tmp 117 fs/xfs/xfs_attr_inactive.c int tmp; tmp 176 fs/xfs/xfs_attr_inactive.c tmp = xfs_attr3_leaf_freextent(trans, dp, tmp 180 fs/xfs/xfs_attr_inactive.c error = tmp; /* save only the 1st errno */ tmp 1586 fs/xfs/xfs_bmap_util.c uint64_t tmp; tmp 1629 fs/xfs/xfs_bmap_util.c tmp = (uint64_t)ip->i_d.di_nblocks; tmp 1631 fs/xfs/xfs_bmap_util.c tip->i_d.di_nblocks = tmp + taforkblks - aforkblks; tmp 694 fs/xfs/xfs_inode_item.c LIST_HEAD(tmp); tmp 701 fs/xfs/xfs_inode_item.c list_add_tail(&lip->li_bio_list, &tmp); tmp 707 fs/xfs/xfs_inode_item.c list_move_tail(&blip->li_bio_list, &tmp); tmp 738 fs/xfs/xfs_inode_item.c list_for_each_entry(blip, &tmp, li_bio_list) { tmp 764 fs/xfs/xfs_inode_item.c list_for_each_entry_safe(blip, n, &tmp, li_bio_list) { tmp 771 fs/xfs/xfs_inode_item.c list_del(&tmp); tmp 1941 fs/xfs/xfs_ioctl.c struct fd f, tmp; tmp 1958 fs/xfs/xfs_ioctl.c tmp = fdget((int)sxp->sx_fdtmp); tmp 1959 fs/xfs/xfs_ioctl.c if (!tmp.file) { tmp 1964 fs/xfs/xfs_ioctl.c if (!(tmp.file->f_mode & FMODE_WRITE) || tmp 1965 fs/xfs/xfs_ioctl.c !(tmp.file->f_mode & FMODE_READ) || tmp 1966 fs/xfs/xfs_ioctl.c (tmp.file->f_flags & O_APPEND)) { tmp 1972 fs/xfs/xfs_ioctl.c IS_SWAPFILE(file_inode(tmp.file))) { tmp 1983 fs/xfs/xfs_ioctl.c tmp.file->f_op != &xfs_file_operations) { tmp 1989 fs/xfs/xfs_ioctl.c tip = XFS_I(file_inode(tmp.file)); tmp 2009 fs/xfs/xfs_ioctl.c fdput(tmp); tmp 152 fs/xfs/xfs_log.c int tmp; tmp 157 fs/xfs/xfs_log.c tmp = log->l_logsize - space; tmp 158 fs/xfs/xfs_log.c if (tmp > bytes) tmp 161 fs/xfs/xfs_log.c space = bytes - tmp; tmp 2779 fs/xfs/xfs_log.c LIST_HEAD(tmp); tmp 2781 fs/xfs/xfs_log.c list_splice_init(&iclog->ic_callbacks, &tmp); tmp 2784 fs/xfs/xfs_log.c xlog_cil_process_committed(&tmp, aborted); tmp 5505 fs/xfs/xfs_log_recover.c struct hlist_node *tmp; tmp 5508 fs/xfs/xfs_log_recover.c hlist_for_each_entry_safe(trans, tmp, &rhash[i], r_list) tmp 233 fs/xfs/xfs_mru_cache.c struct list_head tmp; tmp 235 fs/xfs/xfs_mru_cache.c INIT_LIST_HEAD(&tmp); tmp 245 fs/xfs/xfs_mru_cache.c list_move(&elem->list_node, &tmp); tmp 249 fs/xfs/xfs_mru_cache.c list_for_each_entry_safe(elem, next, &tmp, list_node) { tmp 716 fs/xfs/xfs_trans_ail.c LIST_HEAD(tmp); tmp 736 fs/xfs/xfs_trans_ail.c list_add(&lip->li_ail, &tmp); tmp 739 fs/xfs/xfs_trans_ail.c if (!list_empty(&tmp)) tmp 740 fs/xfs/xfs_trans_ail.c xfs_ail_splice(ailp, cur, &tmp, lsn); tmp 182 include/asm-generic/div64.h uint32_t res_lo, res_hi, tmp; tmp 203 include/asm-generic/div64.h tmp = res >> 32; tmp 206 include/asm-generic/div64.h res_hi = (res_lo < tmp); tmp 34 include/asm-generic/futex.h u32 tmp; tmp 44 include/asm-generic/futex.h tmp = oldval; tmp 48 include/asm-generic/futex.h tmp = oparg; tmp 51 include/asm-generic/futex.h tmp += oparg; tmp 54 include/asm-generic/futex.h tmp |= oparg; tmp 57 include/asm-generic/futex.h tmp &= ~oparg; tmp 60 include/asm-generic/futex.h tmp ^= oparg; tmp 66 include/asm-generic/futex.h if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) tmp 18 include/asm-generic/termios-base.h unsigned short tmp; tmp 20 include/asm-generic/termios-base.h if (get_user(tmp, &termio->c_iflag) < 0) tmp 22 include/asm-generic/termios-base.h termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp; tmp 24 include/asm-generic/termios-base.h if (get_user(tmp, &termio->c_oflag) < 0) tmp 26 include/asm-generic/termios-base.h termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp; tmp 28 include/asm-generic/termios-base.h if (get_user(tmp, &termio->c_cflag) < 0) tmp 30 include/asm-generic/termios-base.h termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp; tmp 32 include/asm-generic/termios-base.h if (get_user(tmp, &termio->c_lflag) < 0) tmp 34 include/asm-generic/termios-base.h termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp; tmp 23 include/asm-generic/termios.h unsigned short tmp; tmp 25 include/asm-generic/termios.h if (get_user(tmp, &termio->c_iflag) < 0) tmp 27 include/asm-generic/termios.h termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp; tmp 29 include/asm-generic/termios.h if (get_user(tmp, &termio->c_oflag) < 0) tmp 31 include/asm-generic/termios.h termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp; tmp 33 include/asm-generic/termios.h if (get_user(tmp, &termio->c_cflag) < 0) tmp 35 include/asm-generic/termios.h termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp; tmp 37 include/asm-generic/termios.h if (get_user(tmp, &termio->c_lflag) < 0) tmp 39 include/asm-generic/termios.h termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp; tmp 222 include/asm-generic/uaccess.h char *tmp; tmp 224 include/asm-generic/uaccess.h for (tmp = dst; *tmp && count > 0; tmp++, count--) tmp 226 include/asm-generic/uaccess.h return (tmp - dst); tmp 28 include/crypto/internal/des.h struct des_ctx tmp; tmp 31 include/crypto/internal/des.h err = des_expand_key(&tmp, key, DES_KEY_SIZE); tmp 42 include/crypto/internal/des.h memzero_explicit(&tmp, sizeof(tmp)); tmp 64 include/drm/drm_fixed.h u64 tmp = ((u64)A.full << 13); tmp 66 include/drm/drm_fixed.h do_div(tmp, B.full); tmp 67 include/drm/drm_fixed.h tmp += 1; tmp 68 include/drm/drm_fixed.h tmp /= 2; tmp 69 include/drm/drm_fixed.h return lower_32_bits(tmp); tmp 902 include/drm/ttm/ttm_bo_driver.h pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp); tmp 77 include/linux/acct.h u64 tmp = (u64)x * TICK_NSEC; tmp 78 include/linux/acct.h do_div(tmp, (NSEC_PER_SEC / AHZ)); tmp 79 include/linux/acct.h return (long)tmp; tmp 1029 include/linux/ata.h u16 tmp = dev_id[ATA_ID_CONFIG] & 0x3; tmp 1030 include/linux/ata.h switch (tmp) { tmp 662 include/linux/blk-cgroup.h struct blkg_rwstat_sample tmp = { }; tmp 664 include/linux/blk-cgroup.h blkg_rwstat_read(rwstat, &tmp); tmp 665 include/linux/blk-cgroup.h return tmp.cnt[BLKG_RWSTAT_READ] + tmp.cnt[BLKG_RWSTAT_WRITE]; tmp 174 include/linux/clockchips.h u64 tmp = ((u64)ticks) << shift; tmp 176 include/linux/clockchips.h do_div(tmp, nsec); tmp 178 include/linux/clockchips.h return (unsigned long) tmp; tmp 136 include/linux/clocksource.h u64 tmp = ((u64)from) << shift_constant; tmp 138 include/linux/clocksource.h tmp += freq/2; /* round for do_div */ tmp 139 include/linux/clocksource.h do_div(tmp, freq); tmp 141 include/linux/clocksource.h return (u32)tmp; tmp 1515 include/linux/device.h const char **tmp); tmp 99 include/linux/dmar.h #define for_each_dev_scope(devs, cnt, i, tmp) \ tmp 100 include/linux/dmar.h for ((i) = 0; ((tmp) = (i) < (cnt) ? \ tmp 104 include/linux/dmar.h #define for_each_active_dev_scope(devs, cnt, i, tmp) \ tmp 105 include/linux/dmar.h for_each_dev_scope((devs), (cnt), (i), (tmp)) \ tmp 106 include/linux/dmar.h if (!(tmp)) { continue; } else tmp 116 include/linux/fixp-arith.h s64 tmp; tmp 124 include/linux/fixp-arith.h tmp = radians - (degrees * twopi) / 360; tmp 134 include/linux/fixp-arith.h tmp *= dy; tmp 136 include/linux/fixp-arith.h return v1 + div_s64(tmp, dx); tmp 152 include/linux/hashtable.h #define hash_for_each_safe(name, bkt, tmp, obj, member) \ tmp 155 include/linux/hashtable.h hlist_for_each_entry_safe(obj, tmp, &name[bkt], member) tmp 204 include/linux/hashtable.h #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ tmp 205 include/linux/hashtable.h hlist_for_each_entry_safe(obj, tmp,\ tmp 201 include/linux/idr.h #define idr_for_each_entry_ul(idr, entry, tmp, id) \ tmp 202 include/linux/idr.h for (tmp = 0, id = 0; \ tmp 203 include/linux/idr.h tmp <= id && ((entry) = idr_get_next_ul(idr, &(id))) != NULL; \ tmp 204 include/linux/idr.h tmp = id, ++id) tmp 228 include/linux/idr.h #define idr_for_each_entry_continue_ul(idr, entry, tmp, id) \ tmp 229 include/linux/idr.h for (tmp = id; \ tmp 230 include/linux/idr.h tmp <= id && ((entry) = idr_get_next_ul(idr, &(id))) != NULL; \ tmp 231 include/linux/idr.h tmp = id, ++id) tmp 286 include/linux/ieee80211.h __le16 tmp = cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS); tmp 287 include/linux/ieee80211.h return (fc & tmp) == tmp; tmp 128 include/linux/iio/imu/adis.h unsigned int tmp; tmp 131 include/linux/iio/imu/adis.h ret = adis_read_reg(adis, reg, &tmp, 2); tmp 132 include/linux/iio/imu/adis.h *val = tmp; tmp 146 include/linux/iio/imu/adis.h unsigned int tmp; tmp 149 include/linux/iio/imu/adis.h ret = adis_read_reg(adis, reg, &tmp, 4); tmp 150 include/linux/iio/imu/adis.h *val = tmp; tmp 156 include/linux/ktime.h u64 tmp = ns < 0 ? -ns : ns; tmp 158 include/linux/ktime.h do_div(tmp, div); tmp 159 include/linux/ktime.h return ns < 0 ? -tmp : tmp; tmp 574 include/linux/kvm_host.h struct kvm_vcpu *tmp; tmp 577 include/linux/kvm_host.h kvm_for_each_vcpu(idx, tmp, vcpu->kvm) tmp 578 include/linux/kvm_host.h if (tmp == vcpu) tmp 797 include/linux/kvm_host.h unsigned long *vcpu_bitmap, cpumask_var_t tmp); tmp 144 include/linux/mfd/da9052/da9052.h unsigned int tmp; tmp 148 include/linux/mfd/da9052/da9052.h ret = regmap_read(da9052->regmap, reg + i, &tmp); tmp 149 include/linux/mfd/da9052/da9052.h val[i] = (unsigned char)tmp; tmp 146 include/linux/mlx5/device.h type_t tmp; \ tmp 147 include/linux/mlx5/device.h switch (sizeof(tmp)) { \ tmp 149 include/linux/mlx5/device.h tmp = (__force type_t)MLX5_GET(typ, p, fld); \ tmp 152 include/linux/mlx5/device.h tmp = (__force type_t)cpu_to_be16(MLX5_GET(typ, p, fld)); \ tmp 155 include/linux/mlx5/device.h tmp = (__force type_t)cpu_to_be32(MLX5_GET(typ, p, fld)); \ tmp 158 include/linux/mlx5/device.h tmp = (__force type_t)MLX5_GET64_BE(typ, p, fld); \ tmp 161 include/linux/mlx5/device.h tmp; \ tmp 103 include/linux/mmc/sh_mmcif.h unsigned long tmp; tmp 107 include/linux/mmc/sh_mmcif.h tmp = sh_mmcif_readl(base, MMCIF_CE_INT); tmp 108 include/linux/mmc/sh_mmcif.h if (tmp & mask) { tmp 109 include/linux/mmc/sh_mmcif.h sh_mmcif_writel(base, MMCIF_CE_INT, tmp & ~mask); tmp 140 include/linux/msi.h #define for_each_msi_entry_safe(desc, tmp, dev) \ tmp 141 include/linux/msi.h list_for_each_entry_safe((desc), (tmp), dev_to_msi_list((dev)), list) tmp 459 include/linux/mtd/nand.h u64 tmp = offs; tmp 461 include/linux/mtd/nand.h pageoffs = do_div(tmp, nand->memorg.pagesize); tmp 462 include/linux/mtd/nand.h pos->page = do_div(tmp, nand->memorg.pages_per_eraseblock); tmp 463 include/linux/mtd/nand.h pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); tmp 465 include/linux/mtd/nand.h pos->lun = do_div(tmp, nand->memorg.luns_per_target); tmp 466 include/linux/mtd/nand.h pos->target = tmp; tmp 99 include/linux/nls.h char tmp[NLS_MAX_CHARSET_SIZE]; tmp 101 include/linux/nls.h charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE); tmp 202 include/linux/rbtree_augmented.h struct rb_node *tmp = node->rb_left; tmp 206 include/linux/rbtree_augmented.h if (!tmp) { tmp 222 include/linux/rbtree_augmented.h tmp = parent; tmp 225 include/linux/rbtree_augmented.h tmp->__rb_parent_color = pc = node->__rb_parent_color; tmp 227 include/linux/rbtree_augmented.h __rb_change_child(node, tmp, parent, root); tmp 229 include/linux/rbtree_augmented.h tmp = parent; tmp 233 include/linux/rbtree_augmented.h tmp = child->rb_left; tmp 234 include/linux/rbtree_augmented.h if (!tmp) { tmp 265 include/linux/rbtree_augmented.h successor = tmp; tmp 266 include/linux/rbtree_augmented.h tmp = tmp->rb_left; tmp 267 include/linux/rbtree_augmented.h } while (tmp); tmp 277 include/linux/rbtree_augmented.h tmp = node->rb_left; tmp 278 include/linux/rbtree_augmented.h WRITE_ONCE(successor->rb_left, tmp); tmp 279 include/linux/rbtree_augmented.h rb_set_parent(tmp, successor); tmp 282 include/linux/rbtree_augmented.h tmp = __rb_parent(pc); tmp 283 include/linux/rbtree_augmented.h __rb_change_child(node, successor, tmp, root); tmp 294 include/linux/rbtree_augmented.h tmp = successor; tmp 297 include/linux/rbtree_augmented.h augment->propagate(tmp, NULL); tmp 66 include/linux/resource_ext.h #define resource_list_for_each_entry_safe(entry, tmp, list) \ tmp 67 include/linux/resource_ext.h list_for_each_entry_safe((entry), (tmp), (list), node) tmp 2194 include/linux/skbuff.h void *tmp = skb_tail_pointer(skb); tmp 2198 include/linux/skbuff.h return tmp; tmp 2203 include/linux/skbuff.h void *tmp = __skb_put(skb, len); tmp 2205 include/linux/skbuff.h memset(tmp, 0, len); tmp 2206 include/linux/skbuff.h return tmp; tmp 2212 include/linux/skbuff.h void *tmp = __skb_put(skb, len); tmp 2214 include/linux/skbuff.h memcpy(tmp, data, len); tmp 2215 include/linux/skbuff.h return tmp; tmp 2225 include/linux/skbuff.h void *tmp = skb_put(skb, len); tmp 2227 include/linux/skbuff.h memset(tmp, 0, len); tmp 2229 include/linux/skbuff.h return tmp; tmp 2235 include/linux/skbuff.h void *tmp = skb_put(skb, len); tmp 2237 include/linux/skbuff.h memcpy(tmp, data, len); tmp 2239 include/linux/skbuff.h return tmp; tmp 3409 include/linux/skbuff.h #define skb_queue_walk_safe(queue, skb, tmp) \ tmp 3410 include/linux/skbuff.h for (skb = (queue)->next, tmp = skb->next; \ tmp 3412 include/linux/skbuff.h skb = tmp, tmp = skb->next) tmp 3426 include/linux/skbuff.h #define skb_rbtree_walk_from_safe(skb, tmp) \ tmp 3427 include/linux/skbuff.h for (; tmp = skb ? skb_rb_next(skb) : NULL, (skb != NULL); \ tmp 3428 include/linux/skbuff.h skb = tmp) tmp 3430 include/linux/skbuff.h #define skb_queue_walk_from_safe(queue, skb, tmp) \ tmp 3431 include/linux/skbuff.h for (tmp = skb->next; \ tmp 3433 include/linux/skbuff.h skb = tmp, tmp = skb->next) tmp 3440 include/linux/skbuff.h #define skb_queue_reverse_walk_safe(queue, skb, tmp) \ tmp 3441 include/linux/skbuff.h for (skb = (queue)->prev, tmp = skb->prev; \ tmp 3443 include/linux/skbuff.h skb = tmp, tmp = skb->prev) tmp 3445 include/linux/skbuff.h #define skb_queue_reverse_walk_from_safe(queue, skb, tmp) \ tmp 3446 include/linux/skbuff.h for (tmp = skb->prev; \ tmp 3448 include/linux/skbuff.h skb = tmp, tmp = skb->prev) tmp 12 include/linux/unaligned/memmove.h u16 tmp; tmp 13 include/linux/unaligned/memmove.h memmove(&tmp, p, 2); tmp 14 include/linux/unaligned/memmove.h return tmp; tmp 19 include/linux/unaligned/memmove.h u32 tmp; tmp 20 include/linux/unaligned/memmove.h memmove(&tmp, p, 4); tmp 21 include/linux/unaligned/memmove.h return tmp; tmp 26 include/linux/unaligned/memmove.h u64 tmp; tmp 27 include/linux/unaligned/memmove.h memmove(&tmp, p, 8); tmp 28 include/linux/unaligned/memmove.h return tmp; tmp 443 include/linux/usb/gadget.h #define gadget_for_each_ep(tmp, gadget) \ tmp 444 include/linux/usb/gadget.h list_for_each_entry(tmp, &(gadget)->ep_list, ep_list) tmp 379 include/net/bonding.h struct slave *tmp; tmp 381 include/net/bonding.h bond_for_each_slave(bond, tmp, iter) { tmp 382 include/net/bonding.h if (tmp->link == BOND_LINK_UP) tmp 383 include/net/bonding.h bond_set_active_slave(tmp); tmp 384 include/net/bonding.h else if (tmp->link == BOND_LINK_DOWN) tmp 385 include/net/bonding.h bond_set_backup_slave(tmp); tmp 392 include/net/bonding.h struct slave *tmp; tmp 394 include/net/bonding.h bond_for_each_slave(bond, tmp, iter) { tmp 395 include/net/bonding.h if (tmp->should_notify) { tmp 396 include/net/bonding.h bond_lower_state_changed(tmp); tmp 397 include/net/bonding.h tmp->should_notify = 0; tmp 577 include/net/bonding.h struct slave *tmp; tmp 579 include/net/bonding.h bond_for_each_slave(bond, tmp, iter) { tmp 580 include/net/bonding.h if (tmp->should_notify_link) { tmp 581 include/net/bonding.h bond_queue_slave_event(tmp); tmp 582 include/net/bonding.h bond_lower_state_changed(tmp); tmp 583 include/net/bonding.h tmp->should_notify_link = 0; tmp 673 include/net/bonding.h struct slave *tmp; tmp 675 include/net/bonding.h bond_for_each_slave(bond, tmp, iter) tmp 676 include/net/bonding.h if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) tmp 677 include/net/bonding.h return tmp; tmp 687 include/net/bonding.h struct slave *tmp; tmp 689 include/net/bonding.h bond_for_each_slave_rcu(bond, tmp, iter) tmp 690 include/net/bonding.h if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) tmp 691 include/net/bonding.h return tmp; tmp 700 include/net/bonding.h struct slave *tmp; tmp 703 include/net/bonding.h bond_for_each_slave_rcu(bond, tmp, iter) tmp 704 include/net/bonding.h if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr)) tmp 37 include/net/caif/cfpkt.h u8 tmp; tmp 39 include/net/caif/cfpkt.h cfpkt_extr_head(pkt, &tmp, 1); tmp 41 include/net/caif/cfpkt.h return tmp; tmp 46 include/net/caif/cfpkt.h __le16 tmp; tmp 48 include/net/caif/cfpkt.h cfpkt_extr_head(pkt, &tmp, 2); tmp 50 include/net/caif/cfpkt.h return le16_to_cpu(tmp); tmp 55 include/net/caif/cfpkt.h __le32 tmp; tmp 57 include/net/caif/cfpkt.h cfpkt_extr_head(pkt, &tmp, 4); tmp 59 include/net/caif/cfpkt.h return le32_to_cpu(tmp); tmp 126 include/net/checksum.h __wsum tmp = csum_sub(~csum_unfold(*sum), (__force __wsum)from); tmp 128 include/net/checksum.h *sum = csum_fold(csum_add(tmp, (__force __wsum)to)); tmp 215 include/net/fq_impl.h struct sk_buff *skb, *tmp; tmp 219 include/net/fq_impl.h skb_queue_walk_safe(&flow->queue, skb, tmp) { tmp 30 include/net/netfilter/nf_conntrack_zones.h struct nf_conntrack_zone *tmp) tmp 37 include/net/netfilter/nf_conntrack_zones.h return nf_ct_zone_init(tmp, skb->mark, tmpl->zone.dir, 0); tmp 1179 include/net/netlink.h u8 tmp = value; tmp 1181 include/net/netlink.h return nla_put(skb, attrtype, sizeof(u8), &tmp); tmp 1192 include/net/netlink.h u16 tmp = value; tmp 1194 include/net/netlink.h return nla_put(skb, attrtype, sizeof(u16), &tmp); tmp 1205 include/net/netlink.h __be16 tmp = value; tmp 1207 include/net/netlink.h return nla_put(skb, attrtype, sizeof(__be16), &tmp); tmp 1218 include/net/netlink.h __be16 tmp = value; tmp 1220 include/net/netlink.h return nla_put_be16(skb, attrtype | NLA_F_NET_BYTEORDER, tmp); tmp 1231 include/net/netlink.h __le16 tmp = value; tmp 1233 include/net/netlink.h return nla_put(skb, attrtype, sizeof(__le16), &tmp); tmp 1244 include/net/netlink.h u32 tmp = value; tmp 1246 include/net/netlink.h return nla_put(skb, attrtype, sizeof(u32), &tmp); tmp 1257 include/net/netlink.h __be32 tmp = value; tmp 1259 include/net/netlink.h return nla_put(skb, attrtype, sizeof(__be32), &tmp); tmp 1270 include/net/netlink.h __be32 tmp = value; tmp 1272 include/net/netlink.h return nla_put_be32(skb, attrtype | NLA_F_NET_BYTEORDER, tmp); tmp 1283 include/net/netlink.h __le32 tmp = value; tmp 1285 include/net/netlink.h return nla_put(skb, attrtype, sizeof(__le32), &tmp); tmp 1298 include/net/netlink.h u64 tmp = value; tmp 1300 include/net/netlink.h return nla_put_64bit(skb, attrtype, sizeof(u64), &tmp, padattr); tmp 1313 include/net/netlink.h __be64 tmp = value; tmp 1315 include/net/netlink.h return nla_put_64bit(skb, attrtype, sizeof(__be64), &tmp, padattr); tmp 1328 include/net/netlink.h __be64 tmp = value; tmp 1330 include/net/netlink.h return nla_put_be64(skb, attrtype | NLA_F_NET_BYTEORDER, tmp, tmp 1344 include/net/netlink.h __le64 tmp = value; tmp 1346 include/net/netlink.h return nla_put_64bit(skb, attrtype, sizeof(__le64), &tmp, padattr); tmp 1357 include/net/netlink.h s8 tmp = value; tmp 1359 include/net/netlink.h return nla_put(skb, attrtype, sizeof(s8), &tmp); tmp 1370 include/net/netlink.h s16 tmp = value; tmp 1372 include/net/netlink.h return nla_put(skb, attrtype, sizeof(s16), &tmp); tmp 1383 include/net/netlink.h s32 tmp = value; tmp 1385 include/net/netlink.h return nla_put(skb, attrtype, sizeof(s32), &tmp); tmp 1398 include/net/netlink.h s64 tmp = value; tmp 1400 include/net/netlink.h return nla_put_64bit(skb, attrtype, sizeof(s64), &tmp, padattr); tmp 1435 include/net/netlink.h u64 tmp = jiffies_to_msecs(njiffies); tmp 1437 include/net/netlink.h return nla_put_64bit(skb, attrtype, sizeof(u64), &tmp, padattr); tmp 1450 include/net/netlink.h __be32 tmp = addr; tmp 1452 include/net/netlink.h return nla_put_be32(skb, attrtype, tmp); tmp 1537 include/net/netlink.h u64 tmp; tmp 1539 include/net/netlink.h nla_memcpy(&tmp, nla, sizeof(tmp)); tmp 1541 include/net/netlink.h return tmp; tmp 1550 include/net/netlink.h __be64 tmp; tmp 1552 include/net/netlink.h nla_memcpy(&tmp, nla, sizeof(tmp)); tmp 1554 include/net/netlink.h return tmp; tmp 1599 include/net/netlink.h s64 tmp; tmp 1601 include/net/netlink.h nla_memcpy(&tmp, nla, sizeof(tmp)); tmp 1603 include/net/netlink.h return tmp; tmp 1643 include/net/netlink.h struct in6_addr tmp; tmp 1645 include/net/netlink.h nla_memcpy(&tmp, nla, sizeof(tmp)); tmp 1646 include/net/netlink.h return tmp; tmp 1655 include/net/netlink.h struct nla_bitfield32 tmp; tmp 1657 include/net/netlink.h nla_memcpy(&tmp, nla, sizeof(tmp)); tmp 1658 include/net/netlink.h return tmp; tmp 372 include/net/sctp/sctp.h #define sctp_skb_for_each(pos, head, tmp) \ tmp 373 include/net/sctp/sctp.h skb_queue_walk_safe(head, pos, tmp) tmp 761 include/net/sock.h #define sk_for_each_safe(__sk, tmp, list) \ tmp 762 include/net/sock.h hlist_for_each_entry_safe(__sk, tmp, list, sk_node) tmp 1762 include/net/tcp.h #define tcp_for_write_queue_from_safe(skb, tmp, sk) \ tmp 1763 include/net/tcp.h skb_queue_walk_from_safe(&(sk)->sk_write_queue, skb, tmp) tmp 36 include/soc/arc/aux.h unsigned int tmp; \ tmp 37 include/soc/arc/aux.h tmp = read_aux_reg(reg); \ tmp 38 include/soc/arc/aux.h if (sizeof(tmp) == sizeof(into)) { \ tmp 39 include/soc/arc/aux.h into = *((typeof(into) *)&tmp); \ tmp 48 include/soc/arc/aux.h unsigned int tmp; \ tmp 49 include/soc/arc/aux.h if (sizeof(tmp) == sizeof(into)) { \ tmp 50 include/soc/arc/aux.h tmp = (*(unsigned int *)&(into)); \ tmp 51 include/soc/arc/aux.h write_aux_reg(reg, tmp); \ tmp 328 include/sound/pcm.h u32 tmp; tmp 330 include/sound/pcm.h tmp = report->accuracy_report; tmp 331 include/sound/pcm.h tmp <<= 4; tmp 332 include/sound/pcm.h tmp |= report->actual_type; tmp 333 include/sound/pcm.h tmp <<= 1; tmp 334 include/sound/pcm.h tmp |= report->valid; tmp 337 include/sound/pcm.h *data |= (tmp << 16); tmp 57 init/initramfs.c unsigned long tmp = ino + minor + (major << 3); tmp 58 init/initramfs.c tmp += tmp >> 5; tmp 59 init/initramfs.c return tmp & 31; tmp 134 init/initramfs.c struct dir_entry *de, *tmp; tmp 135 init/initramfs.c list_for_each_entry_safe(de, tmp, &dir_list, list) { tmp 178 ipc/msgutil.c struct msg_msgseg *tmp = seg->next; tmp 182 ipc/msgutil.c seg = tmp; tmp 838 ipc/sem.c struct sem_queue *q, *tmp; tmp 847 ipc/sem.c list_for_each_entry_safe(q, tmp, pending_list, list) { tmp 932 ipc/sem.c struct sem_queue *q, *tmp; tmp 942 ipc/sem.c list_for_each_entry_safe(q, tmp, pending_list, list) { tmp 59 ipc/syscall.c struct ipc_kludge tmp; tmp 63 ipc/syscall.c if (copy_from_user(&tmp, tmp 65 ipc/syscall.c sizeof(tmp))) tmp 67 ipc/syscall.c return ksys_msgrcv(first, tmp.msgp, second, tmp 68 ipc/syscall.c tmp.msgtyp, third); tmp 281 kernel/acct.c struct filename *tmp = getname(name); tmp 283 kernel/acct.c if (IS_ERR(tmp)) tmp 284 kernel/acct.c return PTR_ERR(tmp); tmp 286 kernel/acct.c error = acct_on(tmp); tmp 288 kernel/acct.c putname(tmp); tmp 48 kernel/bpf/cgroup.c struct bpf_prog_list *pl, *tmp; tmp 50 kernel/bpf/cgroup.c list_for_each_entry_safe(pl, tmp, progs, node) { tmp 1070 kernel/bpf/core.c struct bpf_prog *clone, *tmp; tmp 1099 kernel/bpf/core.c tmp = bpf_patch_insn_single(clone, i, insn_buff, rewritten); tmp 1100 kernel/bpf/core.c if (IS_ERR(tmp)) { tmp 1106 kernel/bpf/core.c return tmp; tmp 1109 kernel/bpf/core.c clone = tmp; tmp 688 kernel/bpf/cpumap.c struct xdp_bulk_queue *bq, *tmp; tmp 690 kernel/bpf/cpumap.c list_for_each_entry_safe(bq, tmp, flush_list, flush_node) { tmp 409 kernel/bpf/devmap.c struct xdp_bulk_queue *bq, *tmp; tmp 412 kernel/bpf/devmap.c list_for_each_entry_safe(bq, tmp, flush_list, flush_node) tmp 202 kernel/bpf/disasm.c char tmp[64]; tmp 210 kernel/bpf/disasm.c tmp, sizeof(tmp))); tmp 219 kernel/bpf/disasm.c char tmp[64]; tmp 225 kernel/bpf/disasm.c tmp, sizeof(tmp))); tmp 227 kernel/bpf/disasm.c strcpy(tmp, "unknown"); tmp 230 kernel/bpf/disasm.c tmp, sizeof(tmp)), tmp 4313 kernel/bpf/verifier.c struct bpf_reg_state tmp; tmp 4345 kernel/bpf/verifier.c tmp = *dst_reg; tmp 4350 kernel/bpf/verifier.c *dst_reg = tmp; tmp 8744 kernel/bpf/verifier.c struct bpf_prog *prog = env->prog, **func, *tmp; tmp 8861 kernel/bpf/verifier.c tmp = bpf_int_jit_compile(func[i]); tmp 8862 kernel/bpf/verifier.c if (tmp != func[i] || func[i]->bpf_func != old_bpf_func) { tmp 69 kernel/bpf/xskmap.c struct xsk_map_node *n, *tmp; tmp 72 kernel/bpf/xskmap.c list_for_each_entry_safe(n, tmp, &xs->map_list, node) { tmp 196 kernel/bpf/xskmap.c struct xdp_sock *xs, *tmp; tmp 198 kernel/bpf/xskmap.c list_for_each_entry_safe(xs, tmp, flush_list, flush_node) { tmp 4292 kernel/cgroup/cgroup.c struct cgroup_subsys_state *last, *tmp; tmp 4300 kernel/cgroup/cgroup.c css_for_each_child(tmp, last) tmp 4301 kernel/cgroup/cgroup.c pos = tmp; tmp 460 kernel/cgroup/cpuset.c static inline int alloc_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) tmp 469 kernel/cgroup/cpuset.c pmask1 = &tmp->new_cpus; tmp 470 kernel/cgroup/cpuset.c pmask2 = &tmp->addmask; tmp 471 kernel/cgroup/cpuset.c pmask3 = &tmp->delmask; tmp 497 kernel/cgroup/cpuset.c static inline void free_cpumasks(struct cpuset *cs, struct tmpmasks *tmp) tmp 504 kernel/cgroup/cpuset.c if (tmp) { tmp 505 kernel/cgroup/cpuset.c free_cpumask_var(tmp->new_cpus); tmp 506 kernel/cgroup/cpuset.c free_cpumask_var(tmp->addmask); tmp 507 kernel/cgroup/cpuset.c free_cpumask_var(tmp->delmask); tmp 1121 kernel/cgroup/cpuset.c struct tmpmasks *tmp) tmp 1162 kernel/cgroup/cpuset.c cpumask_copy(tmp->addmask, cpuset->cpus_allowed); tmp 1165 kernel/cgroup/cpuset.c deleting = cpumask_and(tmp->delmask, cpuset->cpus_allowed, tmp 1175 kernel/cgroup/cpuset.c cpumask_andnot(tmp->delmask, cpuset->cpus_allowed, newmask); tmp 1176 kernel/cgroup/cpuset.c deleting = cpumask_and(tmp->delmask, tmp->delmask, tmp 1179 kernel/cgroup/cpuset.c cpumask_and(tmp->addmask, newmask, parent->effective_cpus); tmp 1180 kernel/cgroup/cpuset.c adding = cpumask_andnot(tmp->addmask, tmp->addmask, tmp 1186 kernel/cgroup/cpuset.c cpumask_equal(parent->effective_cpus, tmp->addmask)) { tmp 1194 kernel/cgroup/cpuset.c if (!cpumask_and(tmp->addmask, tmp->delmask, tmp 1197 kernel/cgroup/cpuset.c cpumask_copy(tmp->addmask, parent->effective_cpus); tmp 1209 kernel/cgroup/cpuset.c adding = cpumask_and(tmp->addmask, cpuset->cpus_allowed, tmp 1211 kernel/cgroup/cpuset.c part_error = cpumask_equal(tmp->addmask, tmp 1246 kernel/cgroup/cpuset.c deleting = cpumask_and(tmp->delmask, cpuset->cpus_allowed, tmp 1261 kernel/cgroup/cpuset.c parent->subparts_cpus, tmp->addmask); tmp 1263 kernel/cgroup/cpuset.c parent->effective_cpus, tmp->addmask); tmp 1267 kernel/cgroup/cpuset.c parent->subparts_cpus, tmp->delmask); tmp 1271 kernel/cgroup/cpuset.c cpumask_and(tmp->delmask, tmp->delmask, cpu_active_mask); tmp 1273 kernel/cgroup/cpuset.c parent->effective_cpus, tmp->delmask); tmp 1294 kernel/cgroup/cpuset.c static void update_cpumasks_hier(struct cpuset *cs, struct tmpmasks *tmp) tmp 1304 kernel/cgroup/cpuset.c compute_effective_cpumask(tmp->new_cpus, cp, parent); tmp 1310 kernel/cgroup/cpuset.c if (is_in_v2_mode() && cpumask_empty(tmp->new_cpus)) { tmp 1311 kernel/cgroup/cpuset.c cpumask_copy(tmp->new_cpus, parent->effective_cpus); tmp 1327 kernel/cgroup/cpuset.c cpumask_equal(tmp->new_cpus, cp->effective_cpus)) { tmp 1361 kernel/cgroup/cpuset.c if (update_parent_subparts_cpumask(cp, partcmd_update, NULL, tmp)) tmp 1384 kernel/cgroup/cpuset.c cpumask_copy(cp->effective_cpus, tmp->new_cpus); tmp 1402 kernel/cgroup/cpuset.c cpumask_copy(cp->effective_cpus, tmp->new_cpus); tmp 1406 kernel/cgroup/cpuset.c tmp->new_cpus)) { tmp 1408 kernel/cgroup/cpuset.c cp->subparts_cpus, tmp->new_cpus); tmp 1448 kernel/cgroup/cpuset.c struct tmpmasks *tmp) tmp 1465 kernel/cgroup/cpuset.c update_cpumasks_hier(sibling, tmp); tmp 1480 kernel/cgroup/cpuset.c struct tmpmasks tmp; tmp 1517 kernel/cgroup/cpuset.c tmp.addmask = trialcs->subparts_cpus; tmp 1518 kernel/cgroup/cpuset.c tmp.delmask = trialcs->effective_cpus; tmp 1519 kernel/cgroup/cpuset.c tmp.new_cpus = trialcs->cpus_allowed; tmp 1527 kernel/cgroup/cpuset.c trialcs->cpus_allowed, &tmp) < 0) tmp 1544 kernel/cgroup/cpuset.c update_cpumasks_hier(cs, &tmp); tmp 1554 kernel/cgroup/cpuset.c update_sibling_cpumasks(parent, cs, &tmp); tmp 1924 kernel/cgroup/cpuset.c struct tmpmasks tmp; tmp 1938 kernel/cgroup/cpuset.c if (alloc_cpumasks(NULL, &tmp)) tmp 1956 kernel/cgroup/cpuset.c NULL, &tmp); tmp 1975 kernel/cgroup/cpuset.c NULL, &tmp); tmp 1993 kernel/cgroup/cpuset.c update_sibling_cpumasks(parent, cs, &tmp); tmp 1997 kernel/cgroup/cpuset.c free_cpumasks(NULL, &tmp); tmp 3017 kernel/cgroup/cpuset.c static void cpuset_hotplug_update_tasks(struct cpuset *cs, struct tmpmasks *tmp) tmp 3049 kernel/cgroup/cpuset.c if (!tmp || !cs->partition_root_state) tmp 3074 kernel/cgroup/cpuset.c NULL, tmp); tmp 3088 kernel/cgroup/cpuset.c update_parent_subparts_cpumask(cs, partcmd_update, NULL, tmp)) tmp 3127 kernel/cgroup/cpuset.c struct tmpmasks tmp, *ptmp = NULL; tmp 3129 kernel/cgroup/cpuset.c if (on_dfl && !alloc_cpumasks(NULL, &tmp)) tmp 3130 kernel/cgroup/cpuset.c ptmp = &tmp; tmp 336 kernel/cgroup/rdma.c struct rdmacg_resource_pool *rpool, *tmp; tmp 349 kernel/cgroup/rdma.c list_for_each_entry_safe(rpool, tmp, &device->rpools, dev_node) tmp 41 kernel/crash_core.c char *cur = cmdline, *tmp; tmp 48 kernel/crash_core.c start = memparse(cur, &tmp); tmp 49 kernel/crash_core.c if (cur == tmp) { tmp 53 kernel/crash_core.c cur = tmp; tmp 62 kernel/crash_core.c end = memparse(cur, &tmp); tmp 63 kernel/crash_core.c if (cur == tmp) { tmp 67 kernel/crash_core.c cur = tmp; tmp 80 kernel/crash_core.c size = memparse(cur, &tmp); tmp 81 kernel/crash_core.c if (cur == tmp) { tmp 85 kernel/crash_core.c cur = tmp; tmp 103 kernel/crash_core.c *crash_base = memparse(cur, &tmp); tmp 104 kernel/crash_core.c if (cur == tmp) { tmp 191 kernel/debug/debug_core.c struct kgdb_bkpt tmp; tmp 198 kernel/debug/debug_core.c tmp.bpt_addr = addr; tmp 199 kernel/debug/debug_core.c err = kgdb_arch_set_breakpoint(&tmp); tmp 202 kernel/debug/debug_core.c err = kgdb_arch_remove_breakpoint(&tmp); tmp 241 kernel/debug/gdbstub.c char *tmp; tmp 248 kernel/debug/gdbstub.c tmp = buf + count; tmp 250 kernel/debug/gdbstub.c err = probe_kernel_read(tmp, mem, count); tmp 254 kernel/debug/gdbstub.c buf = hex_byte_pack(buf, *tmp); tmp 255 kernel/debug/gdbstub.c tmp++; tmp 947 kernel/debug/gdbstub.c int tmp; tmp 1038 kernel/debug/gdbstub.c tmp = gdb_cmd_exception_pass(ks); tmp 1039 kernel/debug/gdbstub.c if (tmp > 0) tmp 1041 kernel/debug/gdbstub.c if (tmp == 0) tmp 211 kernel/debug/kdb/kdb_io.c char tmp; tmp 251 kernel/debug/kdb/kdb_io.c tmp = *cp; tmp 255 kernel/debug/kdb/kdb_io.c *cp = tmp; tmp 273 kernel/debug/kdb/kdb_io.c tmp = *cp; tmp 277 kernel/debug/kdb/kdb_io.c *cp = tmp; tmp 387 kernel/debug/kdb/kdb_io.c tmp = *cp; tmp 391 kernel/debug/kdb/kdb_io.c *cp = tmp; tmp 2323 kernel/debug/kdb/kdb_main.c unsigned long tmp; tmp 2325 kernel/debug/kdb/kdb_main.c if (!p || probe_kernel_read(&tmp, (char *)p, sizeof(unsigned long))) tmp 625 kernel/debug/kdb/kdb_support.c unsigned long tmp; tmp 627 kernel/debug/kdb/kdb_support.c if (!p || probe_kernel_read(&tmp, (char *)p, sizeof(unsigned long))) tmp 90 kernel/delayacct.c s64 tmp; tmp 93 kernel/delayacct.c tmp = (s64)d->cpu_run_real_total; tmp 94 kernel/delayacct.c tmp += utime + stime; tmp 95 kernel/delayacct.c d->cpu_run_real_total = (tmp < (s64)d->cpu_run_real_total) ? 0 : tmp; tmp 98 kernel/delayacct.c tmp = (s64)d->cpu_scaled_run_real_total; tmp 99 kernel/delayacct.c tmp += utimescaled + stimescaled; tmp 101 kernel/delayacct.c (tmp < (s64)d->cpu_scaled_run_real_total) ? 0 : tmp; tmp 113 kernel/delayacct.c tmp = (s64)d->cpu_delay_total + t2; tmp 114 kernel/delayacct.c d->cpu_delay_total = (tmp < (s64)d->cpu_delay_total) ? 0 : tmp; tmp 116 kernel/delayacct.c tmp = (s64)d->cpu_run_virtual_total + t3; tmp 118 kernel/delayacct.c (tmp < (s64)d->cpu_run_virtual_total) ? 0 : tmp; tmp 123 kernel/delayacct.c tmp = d->blkio_delay_total + tsk->delays->blkio_delay; tmp 124 kernel/delayacct.c d->blkio_delay_total = (tmp < d->blkio_delay_total) ? 0 : tmp; tmp 125 kernel/delayacct.c tmp = d->swapin_delay_total + tsk->delays->swapin_delay; tmp 126 kernel/delayacct.c d->swapin_delay_total = (tmp < d->swapin_delay_total) ? 0 : tmp; tmp 127 kernel/delayacct.c tmp = d->freepages_delay_total + tsk->delays->freepages_delay; tmp 128 kernel/delayacct.c d->freepages_delay_total = (tmp < d->freepages_delay_total) ? 0 : tmp; tmp 129 kernel/delayacct.c tmp = d->thrashing_delay_total + tsk->delays->thrashing_delay; tmp 130 kernel/delayacct.c d->thrashing_delay_total = (tmp < d->thrashing_delay_total) ? 0 : tmp; tmp 663 kernel/dma/debug.c u32 tmp = nr_total_entries % nr_prealloc_entries; tmp 666 kernel/dma/debug.c if (tmp < DMA_DEBUG_DYNAMIC_ENTRIES) { tmp 429 kernel/events/core.c u64 tmp = perf_sample_period_ns; tmp 431 kernel/events/core.c tmp *= sysctl_perf_cpu_time_max_percent; tmp 432 kernel/events/core.c tmp = div_u64(tmp, 100); tmp 433 kernel/events/core.c if (!tmp) tmp 434 kernel/events/core.c tmp = 1; tmp 436 kernel/events/core.c WRITE_ONCE(perf_sample_allowed_ns, tmp); tmp 1980 kernel/events/core.c struct perf_event *sibling, *tmp; tmp 2009 kernel/events/core.c list_for_each_entry_safe(sibling, tmp, &event->sibling_list, sibling_list) { tmp 2034 kernel/events/core.c for_each_sibling_event(tmp, event->group_leader) tmp 2035 kernel/events/core.c perf_event__header_size(tmp); tmp 3004 kernel/events/core.c struct perf_event *event, *tmp; tmp 3058 kernel/events/core.c list_for_each_entry_safe(event, tmp, &ctx->pinned_active, active_list) tmp 3063 kernel/events/core.c list_for_each_entry_safe(event, tmp, &ctx->flexible_active, active_list) tmp 3857 kernel/events/core.c struct perf_event_context *ctx, *tmp; tmp 3866 kernel/events/core.c list_for_each_entry_safe(ctx, tmp, head, active_ctx_list) tmp 4677 kernel/events/core.c struct perf_event *child, *tmp; tmp 4747 kernel/events/core.c tmp = list_first_entry_or_null(&event->child_list, tmp 4749 kernel/events/core.c if (tmp == child) { tmp 4766 kernel/events/core.c list_for_each_entry_safe(child, tmp, &free_list, child_list) { tmp 7449 kernel/events/core.c char tmp[16]; tmp 7528 kernel/events/core.c strlcpy(tmp, name, sizeof(tmp)); tmp 7529 kernel/events/core.c name = tmp; tmp 11431 kernel/events/core.c struct perf_event *event, *tmp; tmp 11442 kernel/events/core.c list_for_each_entry_safe(event, tmp, &src_ctx->event_list, tmp 11463 kernel/events/core.c list_for_each_entry_safe(event, tmp, &events, migrate_entry) { tmp 11479 kernel/events/core.c list_for_each_entry_safe(event, tmp, &events, migrate_entry) { tmp 11639 kernel/events/core.c struct perf_event *event, *tmp; tmp 11643 kernel/events/core.c list_for_each_entry_safe(event, tmp, &child->perf_event_list, tmp 11699 kernel/events/core.c struct perf_event *event, *tmp; tmp 11720 kernel/events/core.c list_for_each_entry_safe(event, tmp, &ctx->event_list, event_entry) tmp 364 kernel/events/uprobes.c struct vm_area_struct *tmp; tmp 366 kernel/events/uprobes.c for (tmp = mm->mmap; tmp; tmp = tmp->vm_next) tmp 367 kernel/events/uprobes.c if (valid_ref_ctr_vma(uprobe, tmp)) tmp 368 kernel/events/uprobes.c return tmp; tmp 481 kernel/fork.c struct vm_area_struct *mpnt, *tmp, *prev, **pprev; tmp 541 kernel/fork.c tmp = vm_area_dup(mpnt); tmp 542 kernel/fork.c if (!tmp) tmp 544 kernel/fork.c retval = vma_dup_policy(mpnt, tmp); tmp 547 kernel/fork.c tmp->vm_mm = mm; tmp 548 kernel/fork.c retval = dup_userfaultfd(tmp, &uf); tmp 551 kernel/fork.c if (tmp->vm_flags & VM_WIPEONFORK) { tmp 553 kernel/fork.c tmp->anon_vma = NULL; tmp 554 kernel/fork.c if (anon_vma_prepare(tmp)) tmp 556 kernel/fork.c } else if (anon_vma_fork(tmp, mpnt)) tmp 558 kernel/fork.c tmp->vm_flags &= ~(VM_LOCKED | VM_LOCKONFAULT); tmp 559 kernel/fork.c tmp->vm_next = tmp->vm_prev = NULL; tmp 560 kernel/fork.c file = tmp->vm_file; tmp 566 kernel/fork.c if (tmp->vm_flags & VM_DENYWRITE) tmp 569 kernel/fork.c if (tmp->vm_flags & VM_SHARED) tmp 573 kernel/fork.c vma_interval_tree_insert_after(tmp, mpnt, tmp 584 kernel/fork.c if (is_vm_hugetlb_page(tmp)) tmp 585 kernel/fork.c reset_vma_resv_huge_pages(tmp); tmp 590 kernel/fork.c *pprev = tmp; tmp 591 kernel/fork.c pprev = &tmp->vm_next; tmp 592 kernel/fork.c tmp->vm_prev = prev; tmp 593 kernel/fork.c prev = tmp; tmp 595 kernel/fork.c __vma_link_rb(mm, tmp, rb_link, rb_parent); tmp 596 kernel/fork.c rb_link = &tmp->vm_rb.rb_right; tmp 597 kernel/fork.c rb_parent = &tmp->vm_rb; tmp 600 kernel/fork.c if (!(tmp->vm_flags & VM_WIPEONFORK)) tmp 603 kernel/fork.c if (tmp->vm_ops && tmp->vm_ops->open) tmp 604 kernel/fork.c tmp->vm_ops->open(tmp); tmp 620 kernel/fork.c mpol_put(vma_policy(tmp)); tmp 622 kernel/fork.c vm_area_free(tmp); tmp 367 kernel/gcov/clang.c struct gcov_fn_info *fn, *tmp; tmp 369 kernel/gcov/clang.c list_for_each_entry_safe(fn, tmp, &info->functions, head) { tmp 1096 kernel/irq/chip.c unsigned long flags, trigger, tmp; tmp 1123 kernel/irq/chip.c tmp = irq_settings_get_trigger_mask(desc); tmp 1124 kernel/irq/chip.c if (tmp != IRQ_TYPE_NONE) tmp 1125 kernel/irq/chip.c trigger = tmp; tmp 292 kernel/irq/generic-chip.c void *tmp; tmp 305 kernel/irq/generic-chip.c tmp = dgc = kzalloc(sz, GFP_KERNEL); tmp 316 kernel/irq/generic-chip.c tmp += sizeof(*dgc) + numchips * sizeof(gc); tmp 319 kernel/irq/generic-chip.c dgc->gc[i] = gc = tmp; tmp 333 kernel/irq/generic-chip.c tmp += sizeof(*gc) + num_ct * sizeof(struct irq_chip_type); tmp 1126 kernel/irq/irqdomain.c struct irq_data *irq_data, *tmp; tmp 1131 kernel/irq/irqdomain.c tmp = irq_data->parent_data; tmp 1135 kernel/irq/irqdomain.c while (tmp) { tmp 1136 kernel/irq/irqdomain.c irq_data = tmp; tmp 1137 kernel/irq/irqdomain.c tmp = tmp->parent_data; tmp 144 kernel/irq_work.c struct irq_work *work, *tmp; tmp 154 kernel/irq_work.c llist_for_each_entry_safe(work, tmp, llnode, llnode) { tmp 68 kernel/jump_label.c struct jump_entry tmp = *jea; tmp 74 kernel/jump_label.c jeb->code = tmp.code + delta; tmp 75 kernel/jump_label.c jeb->target = tmp.target + delta; tmp 76 kernel/jump_label.c jeb->key = tmp.key + delta; tmp 500 kernel/kprobes.c struct optimized_kprobe *op, *tmp; tmp 512 kernel/kprobes.c list_for_each_entry_safe(op, tmp, &freeing_list, list) { tmp 533 kernel/kprobes.c struct optimized_kprobe *op, *tmp; tmp 535 kernel/kprobes.c list_for_each_entry_safe(op, tmp, &freeing_list, list) { tmp 1249 kernel/kprobes.c struct hlist_node *tmp; tmp 1260 kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, head, hlist) { tmp 1265 kernel/kprobes.c hlist_for_each_entry_safe(ri, tmp, &empty_rp, hlist) { tmp 1162 kernel/locking/mutex.c unsigned tmp; tmp 1165 kernel/locking/mutex.c tmp = ctx->deadlock_inject_interval; tmp 1166 kernel/locking/mutex.c if (tmp > UINT_MAX/4) tmp 1167 kernel/locking/mutex.c tmp = UINT_MAX; tmp 1169 kernel/locking/mutex.c tmp = tmp*2 + tmp + tmp/2; tmp 1171 kernel/locking/mutex.c ctx->deadlock_inject_interval = tmp; tmp 1172 kernel/locking/mutex.c ctx->deadlock_inject_countdown = tmp; tmp 405 kernel/locking/rwsem.c struct rwsem_waiter *waiter, *tmp; tmp 502 kernel/locking/rwsem.c list_for_each_entry_safe(waiter, tmp, &sem->wait_list, list) { tmp 534 kernel/locking/rwsem.c list_for_each_entry_safe(waiter, tmp, &wlist, list) { tmp 1365 kernel/locking/rwsem.c long tmp; tmp 1372 kernel/locking/rwsem.c tmp = RWSEM_UNLOCKED_VALUE; tmp 1374 kernel/locking/rwsem.c if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, tmp 1375 kernel/locking/rwsem.c tmp + RWSEM_READER_BIAS)) { tmp 1379 kernel/locking/rwsem.c } while (!(tmp & RWSEM_READ_FAILED_MASK)); tmp 1388 kernel/locking/rwsem.c long tmp = RWSEM_UNLOCKED_VALUE; tmp 1390 kernel/locking/rwsem.c if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, tmp 1399 kernel/locking/rwsem.c long tmp = RWSEM_UNLOCKED_VALUE; tmp 1401 kernel/locking/rwsem.c if (unlikely(!atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, tmp 1413 kernel/locking/rwsem.c long tmp; tmp 1417 kernel/locking/rwsem.c tmp = RWSEM_UNLOCKED_VALUE; tmp 1418 kernel/locking/rwsem.c if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp, tmp 1431 kernel/locking/rwsem.c long tmp; tmp 1437 kernel/locking/rwsem.c tmp = atomic_long_add_return_release(-RWSEM_READER_BIAS, &sem->count); tmp 1438 kernel/locking/rwsem.c DEBUG_RWSEMS_WARN_ON(tmp < 0, sem); tmp 1439 kernel/locking/rwsem.c if (unlikely((tmp & (RWSEM_LOCK_MASK|RWSEM_FLAG_WAITERS)) == tmp 1442 kernel/locking/rwsem.c rwsem_wake(sem, tmp); tmp 1451 kernel/locking/rwsem.c long tmp; tmp 1462 kernel/locking/rwsem.c tmp = atomic_long_fetch_add_release(-RWSEM_WRITER_LOCKED, &sem->count); tmp 1463 kernel/locking/rwsem.c if (unlikely(tmp & RWSEM_FLAG_WAITERS)) tmp 1464 kernel/locking/rwsem.c rwsem_wake(sem, tmp); tmp 1472 kernel/locking/rwsem.c long tmp; tmp 1482 kernel/locking/rwsem.c tmp = atomic_long_fetch_add_release( tmp 1485 kernel/locking/rwsem.c if (tmp & RWSEM_FLAG_WAITERS) tmp 352 kernel/locking/test-ww_mutex.c int n, r, tmp; tmp 364 kernel/locking/test-ww_mutex.c tmp = order[n]; tmp 366 kernel/locking/test-ww_mutex.c order[r] = tmp; tmp 893 kernel/module.c struct module_use *use, *tmp; tmp 896 kernel/module.c list_for_each_entry_safe(use, tmp, &mod->target_list, target_list) { tmp 165 kernel/pid.c struct pid_namespace *tmp; tmp 173 kernel/pid.c tmp = ns; tmp 186 kernel/pid.c if (idr_get_cursor(&tmp->idr) > RESERVED_PIDS) tmp 193 kernel/pid.c nr = idr_alloc_cyclic(&tmp->idr, NULL, pid_min, tmp 204 kernel/pid.c pid->numbers[i].ns = tmp; tmp 205 kernel/pid.c tmp = tmp->parent; tmp 294 kernel/pid.c int tmp; tmp 301 kernel/pid.c for (tmp = PIDTYPE_MAX; --tmp >= 0; ) tmp 302 kernel/pid.c if (!hlist_empty(&pid->tasks[tmp])) tmp 271 kernel/pid_namespace.c struct ctl_table tmp = *table; tmp 285 kernel/pid_namespace.c tmp.data = &next; tmp 286 kernel/pid_namespace.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 48 kernel/power/console.c struct pm_vt_switch *entry, *tmp; tmp 51 kernel/power/console.c list_for_each_entry(tmp, &pm_vt_switch_list, head) { tmp 52 kernel/power/console.c if (tmp->dev == dev) { tmp 54 kernel/power/console.c tmp->required = required; tmp 80 kernel/power/console.c struct pm_vt_switch *tmp; tmp 83 kernel/power/console.c list_for_each_entry(tmp, &pm_vt_switch_list, head) { tmp 84 kernel/power/console.c if (tmp->dev == dev) { tmp 85 kernel/power/console.c list_del(&tmp->head); tmp 86 kernel/power/console.c kfree(tmp); tmp 2377 kernel/power/snapshot.c struct page *tmp; tmp 2381 kernel/power/snapshot.c tmp = pfn_to_page(memory_bm_next_pfn(safe_highmem_bm)); tmp 2383 kernel/power/snapshot.c last_highmem_page = tmp; tmp 2384 kernel/power/snapshot.c pbe->copy_page = tmp; tmp 949 kernel/power/swap.c struct swap_map_page_list *tmp; tmp 954 kernel/power/swap.c tmp = handle->maps; tmp 956 kernel/power/swap.c kfree(tmp); tmp 965 kernel/power/swap.c struct swap_map_page_list *tmp, *last; tmp 977 kernel/power/swap.c tmp = kzalloc(sizeof(*handle->maps), GFP_KERNEL); tmp 978 kernel/power/swap.c if (!tmp) { tmp 983 kernel/power/swap.c handle->maps = tmp; tmp 985 kernel/power/swap.c last->next = tmp; tmp 986 kernel/power/swap.c last = tmp; tmp 988 kernel/power/swap.c tmp->map = (struct swap_map_page *) tmp 990 kernel/power/swap.c if (!tmp->map) { tmp 995 kernel/power/swap.c error = hib_submit_io(REQ_OP_READ, 0, offset, tmp->map, NULL); tmp 1000 kernel/power/swap.c offset = tmp->map->next_swap; tmp 1012 kernel/power/swap.c struct swap_map_page_list *tmp; tmp 1025 kernel/power/swap.c tmp = handle->maps; tmp 1027 kernel/power/swap.c kfree(tmp); tmp 1157 kernel/ptrace.c unsigned long tmp = 0; tmp 1165 kernel/ptrace.c tmp = mm->context.exec_fdpic_loadmap; tmp 1168 kernel/ptrace.c tmp = mm->context.interp_fdpic_loadmap; tmp 1175 kernel/ptrace.c ret = put_user(tmp, datalp); tmp 1290 kernel/ptrace.c unsigned long tmp; tmp 1293 kernel/ptrace.c copied = ptrace_access_vm(tsk, addr, &tmp, sizeof(tmp), FOLL_FORCE); tmp 1294 kernel/ptrace.c if (copied != sizeof(tmp)) tmp 1296 kernel/ptrace.c return put_user(tmp, (unsigned long __user *)data); tmp 189 kernel/resource.c struct resource *tmp, **p; tmp 199 kernel/resource.c tmp = *p; tmp 200 kernel/resource.c if (!tmp || tmp->start > end) { tmp 201 kernel/resource.c new->sibling = tmp; tmp 206 kernel/resource.c p = &tmp->sibling; tmp 207 kernel/resource.c if (tmp->end < start) tmp 209 kernel/resource.c return tmp; tmp 215 kernel/resource.c struct resource *tmp, **p, *chd; tmp 219 kernel/resource.c tmp = *p; tmp 220 kernel/resource.c if (!tmp) tmp 222 kernel/resource.c if (tmp == old) { tmp 223 kernel/resource.c if (release_child || !(tmp->child)) { tmp 224 kernel/resource.c *p = tmp->sibling; tmp 226 kernel/resource.c for (chd = tmp->child;; chd = chd->sibling) { tmp 227 kernel/resource.c chd->parent = tmp->parent; tmp 231 kernel/resource.c *p = tmp->child; tmp 232 kernel/resource.c chd->sibling = tmp->sibling; tmp 237 kernel/resource.c p = &tmp->sibling; tmp 244 kernel/resource.c struct resource *tmp, *p; tmp 250 kernel/resource.c tmp = p; tmp 253 kernel/resource.c tmp->parent = NULL; tmp 254 kernel/resource.c tmp->sibling = NULL; tmp 255 kernel/resource.c __release_child_resources(tmp); tmp 257 kernel/resource.c printk(KERN_DEBUG "release child resource %pR\n", tmp); tmp 259 kernel/resource.c size = resource_size(tmp); tmp 260 kernel/resource.c tmp->start = 0; tmp 261 kernel/resource.c tmp->end = size - 1; tmp 598 kernel/resource.c struct resource tmp = *new, avail, alloc; tmp 600 kernel/resource.c tmp.start = root->start; tmp 606 kernel/resource.c tmp.start = (this == old) ? old->start : this->end + 1; tmp 611 kernel/resource.c tmp.end = (this == old) ? this->end : this->start - 1; tmp 613 kernel/resource.c tmp.end = root->end; tmp 615 kernel/resource.c if (tmp.end < tmp.start) tmp 618 kernel/resource.c resource_clip(&tmp, constraint->min, constraint->max); tmp 619 kernel/resource.c arch_remove_reservations(&tmp); tmp 622 kernel/resource.c avail.start = ALIGN(tmp.start, constraint->align); tmp 623 kernel/resource.c avail.end = tmp.end; tmp 625 kernel/resource.c if (avail.start >= tmp.start) { tmp 642 kernel/resource.c tmp.start = this->end + 1; tmp 938 kernel/resource.c struct resource *tmp, *parent = res->parent; tmp 951 kernel/resource.c tmp = parent->child; tmp 952 kernel/resource.c if (tmp != res) { tmp 953 kernel/resource.c while (tmp->sibling != res) tmp 954 kernel/resource.c tmp = tmp->sibling; tmp 955 kernel/resource.c if (start <= tmp->end) tmp 960 kernel/resource.c for (tmp = res->child; tmp; tmp = tmp->sibling) tmp 961 kernel/resource.c if ((tmp->start < start) || (tmp->end > end)) tmp 1639 kernel/resource.c struct resource_entry *entry, *tmp; tmp 1641 kernel/resource.c list_for_each_entry_safe(entry, tmp, head, node) tmp 99 kernel/sched/cputime.c u64 tmp) tmp 107 kernel/sched/cputime.c __this_cpu_add(kernel_cpustat.cpustat[index], tmp); tmp 109 kernel/sched/cputime.c cgroup_account_cputime_field(p, index, tmp); tmp 5789 kernel/sched/fair.c struct sched_domain *tmp; tmp 5814 kernel/sched/fair.c for_each_domain(cpu, tmp) { tmp 5815 kernel/sched/fair.c if (weight <= tmp->span_weight) tmp 5817 kernel/sched/fair.c if (tmp->flags & sd_flag) tmp 5818 kernel/sched/fair.c sd = tmp; tmp 6471 kernel/sched/fair.c struct sched_domain *tmp, *sd = NULL; tmp 6492 kernel/sched/fair.c for_each_domain(cpu, tmp) { tmp 6493 kernel/sched/fair.c if (!(tmp->flags & SD_LOAD_BALANCE)) tmp 6500 kernel/sched/fair.c if (want_affine && (tmp->flags & SD_WAKE_AFFINE) && tmp 6501 kernel/sched/fair.c cpumask_test_cpu(prev_cpu, sched_domain_span(tmp))) { tmp 6503 kernel/sched/fair.c new_cpu = wake_affine(tmp, p, cpu, prev_cpu, sync); tmp 6509 kernel/sched/fair.c if (tmp->flags & sd_flag) tmp 6510 kernel/sched/fair.c sd = tmp; tmp 8378 kernel/sched/fair.c unsigned long tmp, capa_now = 0, capa_move = 0; tmp 8423 kernel/sched/fair.c tmp = (busiest->avg_load * busiest->group_capacity) / tmp 8426 kernel/sched/fair.c tmp = (busiest->load_per_task * SCHED_CAPACITY_SCALE) / tmp 8430 kernel/sched/fair.c min(local->load_per_task, local->avg_load + tmp); tmp 83 kernel/sched/isolation.c cpumask_var_t tmp; tmp 94 kernel/sched/isolation.c alloc_bootmem_cpumask_var(&tmp); tmp 100 kernel/sched/isolation.c cpumask_andnot(tmp, cpu_present_mask, non_housekeeping_mask); tmp 101 kernel/sched/isolation.c if (cpumask_empty(tmp)) { tmp 108 kernel/sched/isolation.c cpumask_andnot(tmp, cpu_present_mask, non_housekeeping_mask); tmp 109 kernel/sched/isolation.c if (cpumask_empty(tmp)) tmp 111 kernel/sched/isolation.c cpumask_andnot(tmp, cpu_possible_mask, non_housekeeping_mask); tmp 112 kernel/sched/isolation.c if (!cpumask_equal(tmp, housekeeping_mask)) { tmp 114 kernel/sched/isolation.c free_bootmem_cpumask_var(tmp); tmp 119 kernel/sched/isolation.c free_bootmem_cpumask_var(tmp); tmp 1100 kernel/sched/psi.c struct psi_trigger *tmp; tmp 1108 kernel/sched/psi.c list_for_each_entry(tmp, &group->triggers, node) tmp 1109 kernel/sched/psi.c period = min(period, div_u64(tmp->win.size, tmp 52 kernel/sched/swait.c LIST_HEAD(tmp); tmp 55 kernel/sched/swait.c list_splice_init(&q->task_list, &tmp); tmp 56 kernel/sched/swait.c while (!list_empty(&tmp)) { tmp 57 kernel/sched/swait.c curr = list_first_entry(&tmp, typeof(*curr), task_list); tmp 62 kernel/sched/swait.c if (list_empty(&tmp)) tmp 237 kernel/sched/topology.c struct perf_domain *tmp; tmp 240 kernel/sched/topology.c tmp = pd->next; tmp 242 kernel/sched/topology.c pd = tmp; tmp 345 kernel/sched/topology.c struct perf_domain *pd = NULL, *tmp; tmp 382 kernel/sched/topology.c tmp = pd_init(i); tmp 383 kernel/sched/topology.c if (!tmp) tmp 385 kernel/sched/topology.c tmp->next = pd; tmp 386 kernel/sched/topology.c pd = tmp; tmp 406 kernel/sched/topology.c tmp = rd->pd; tmp 408 kernel/sched/topology.c if (tmp) tmp 409 kernel/sched/topology.c call_rcu(&tmp->rcu, destroy_perf_domain_rcu); tmp 415 kernel/sched/topology.c tmp = rd->pd; tmp 417 kernel/sched/topology.c if (tmp) tmp 418 kernel/sched/topology.c call_rcu(&tmp->rcu, destroy_perf_domain_rcu); tmp 560 kernel/sched/topology.c struct sched_group *tmp, *first; tmp 567 kernel/sched/topology.c tmp = sg->next; tmp 574 kernel/sched/topology.c sg = tmp; tmp 664 kernel/sched/topology.c struct sched_domain *tmp; tmp 667 kernel/sched/topology.c for (tmp = sd; tmp; ) { tmp 668 kernel/sched/topology.c struct sched_domain *parent = tmp->parent; tmp 672 kernel/sched/topology.c if (sd_parent_degenerate(tmp, parent)) { tmp 673 kernel/sched/topology.c tmp->parent = parent->parent; tmp 675 kernel/sched/topology.c parent->parent->child = tmp; tmp 682 kernel/sched/topology.c tmp->flags |= SD_PREFER_SIBLING; tmp 685 kernel/sched/topology.c tmp = tmp->parent; tmp 689 kernel/sched/topology.c tmp = sd; tmp 691 kernel/sched/topology.c destroy_sched_domain(tmp); tmp 699 kernel/sched/topology.c tmp = rq->sd; tmp 702 kernel/sched/topology.c destroy_sched_domains(tmp); tmp 2182 kernel/sched/topology.c struct sched_domain_attr tmp; tmp 2188 kernel/sched/topology.c tmp = SD_ATTR_INIT; tmp 2190 kernel/sched/topology.c return !memcmp(cur ? (cur + idx_cur) : &tmp, tmp 2191 kernel/sched/topology.c new ? (new + idx_new) : &tmp, tmp 959 kernel/sys.c struct tms tmp; tmp 961 kernel/sys.c do_sys_times(&tmp); tmp 962 kernel/sys.c if (copy_to_user(tbuf, &tmp, sizeof(struct tms))) tmp 979 kernel/sys.c struct compat_tms tmp; tmp 983 kernel/sys.c tmp.tms_utime = clock_t_to_compat_clock_t(tms.tms_utime); tmp 984 kernel/sys.c tmp.tms_stime = clock_t_to_compat_clock_t(tms.tms_stime); tmp 985 kernel/sys.c tmp.tms_cutime = clock_t_to_compat_clock_t(tms.tms_cutime); tmp 986 kernel/sys.c tmp.tms_cstime = clock_t_to_compat_clock_t(tms.tms_cstime); tmp 987 kernel/sys.c if (copy_to_user(tbuf, &tmp, sizeof(tmp))) tmp 1241 kernel/sys.c struct new_utsname tmp; tmp 1244 kernel/sys.c memcpy(&tmp, utsname(), sizeof(tmp)); tmp 1246 kernel/sys.c if (copy_to_user(name, &tmp, sizeof(tmp))) tmp 1262 kernel/sys.c struct old_utsname tmp; tmp 1268 kernel/sys.c memcpy(&tmp, utsname(), sizeof(tmp)); tmp 1270 kernel/sys.c if (copy_to_user(name, &tmp, sizeof(tmp))) tmp 1282 kernel/sys.c struct oldold_utsname tmp = {}; tmp 1288 kernel/sys.c memcpy(&tmp.sysname, &utsname()->sysname, __OLD_UTS_LEN); tmp 1289 kernel/sys.c memcpy(&tmp.nodename, &utsname()->nodename, __OLD_UTS_LEN); tmp 1290 kernel/sys.c memcpy(&tmp.release, &utsname()->release, __OLD_UTS_LEN); tmp 1291 kernel/sys.c memcpy(&tmp.version, &utsname()->version, __OLD_UTS_LEN); tmp 1292 kernel/sys.c memcpy(&tmp.machine, &utsname()->machine, __OLD_UTS_LEN); tmp 1294 kernel/sys.c if (copy_to_user(name, &tmp, sizeof(tmp))) tmp 1308 kernel/sys.c char tmp[__NEW_UTS_LEN]; tmp 1316 kernel/sys.c if (!copy_from_user(tmp, name, len)) { tmp 1321 kernel/sys.c memcpy(u->nodename, tmp, len); tmp 1336 kernel/sys.c char tmp[__NEW_UTS_LEN + 1]; tmp 1345 kernel/sys.c memcpy(tmp, u->nodename, i); tmp 1347 kernel/sys.c if (copy_to_user(name, tmp, i)) tmp 1361 kernel/sys.c char tmp[__NEW_UTS_LEN]; tmp 1369 kernel/sys.c if (!copy_from_user(tmp, name, len)) { tmp 1374 kernel/sys.c memcpy(u->domainname, tmp, len); tmp 2131 kernel/sysctl.c char *tmp = skip_spaces(*buf); tmp 2132 kernel/sysctl.c ret = tmp - *buf; tmp 2133 kernel/sysctl.c *buf = tmp; tmp 2204 kernel/sysctl.c char *p, tmp[TMPBUFLEN]; tmp 2213 kernel/sysctl.c memcpy(tmp, *buf, len); tmp 2215 kernel/sysctl.c tmp[len] = 0; tmp 2216 kernel/sysctl.c p = tmp; tmp 2228 kernel/sysctl.c len = p - tmp; tmp 2263 kernel/sysctl.c char tmp[TMPBUFLEN], *p = tmp; tmp 2266 kernel/sysctl.c len = strlen(tmp); tmp 2269 kernel/sysctl.c if (copy_to_user(*buf, tmp, len)) tmp 2668 kernel/sysctl.c int tmp, ret; tmp 2674 kernel/sysctl.c int *ip = write ? &tmp : valp; tmp 2681 kernel/sysctl.c if ((param->min && *param->min > tmp) || tmp 2682 kernel/sysctl.c (param->max && *param->max < tmp)) tmp 2684 kernel/sysctl.c *valp = tmp; tmp 2736 kernel/sysctl.c unsigned int tmp; tmp 2739 kernel/sysctl.c unsigned int *up = write ? &tmp : valp; tmp 2746 kernel/sysctl.c if ((param->min && *param->min > tmp) || tmp 2747 kernel/sysctl.c (param->max && *param->max < tmp)) tmp 2750 kernel/sysctl.c *valp = tmp; tmp 3131 kernel/sysctl.c pid_t tmp; tmp 3134 kernel/sysctl.c tmp = pid_vnr(cad_pid); tmp 3136 kernel/sysctl.c r = __do_proc_dointvec(&tmp, table, write, buffer, tmp 3141 kernel/sysctl.c new_pid = find_get_pid(tmp); tmp 3393 kernel/sysctl.c struct ctl_table tmp = { tmp 3406 kernel/sysctl.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 1262 kernel/sysctl_binary.c char *tmp, *result; tmp 1265 kernel/sysctl_binary.c tmp = __getname(); tmp 1266 kernel/sysctl_binary.c if (tmp) { tmp 1267 kernel/sysctl_binary.c const struct bin_table *table = get_sysctl(name, nlen, tmp); tmp 1268 kernel/sysctl_binary.c result = tmp; tmp 1271 kernel/sysctl_binary.c __putname(tmp); tmp 1404 kernel/sysctl_binary.c struct __sysctl_args tmp; tmp 1408 kernel/sysctl_binary.c if (copy_from_user(&tmp, args, sizeof(tmp))) tmp 1411 kernel/sysctl_binary.c if (tmp.oldval && !tmp.oldlenp) tmp 1414 kernel/sysctl_binary.c if (tmp.oldlenp && get_user(oldlen, tmp.oldlenp)) tmp 1417 kernel/sysctl_binary.c result = do_sysctl(tmp.name, tmp.nlen, tmp.oldval, oldlen, tmp 1418 kernel/sysctl_binary.c tmp.newval, tmp.newlen); tmp 1425 kernel/sysctl_binary.c if (tmp.oldlenp && put_user(oldlen, tmp.oldlenp)) tmp 1446 kernel/sysctl_binary.c struct compat_sysctl_args tmp; tmp 1451 kernel/sysctl_binary.c if (copy_from_user(&tmp, args, sizeof(tmp))) tmp 1454 kernel/sysctl_binary.c if (tmp.oldval && !tmp.oldlenp) tmp 1457 kernel/sysctl_binary.c compat_oldlenp = compat_ptr(tmp.oldlenp); tmp 1461 kernel/sysctl_binary.c result = do_sysctl(compat_ptr(tmp.name), tmp.nlen, tmp 1462 kernel/sysctl_binary.c compat_ptr(tmp.oldval), oldlen, tmp 1463 kernel/sysctl_binary.c compat_ptr(tmp.newval), tmp.newlen); tmp 117 kernel/taskstats.c struct listener *s, *tmp; tmp 150 kernel/taskstats.c list_for_each_entry_safe(s, tmp, &listeners->list, list) { tmp 281 kernel/taskstats.c struct listener *s, *tmp, *s2; tmp 325 kernel/taskstats.c list_for_each_entry_safe(s, tmp, &listeners->list, list) { tmp 635 kernel/time/clockevents.c struct clock_event_device *dev, *tmp; tmp 645 kernel/time/clockevents.c list_for_each_entry_safe(dev, tmp, &clockevents_released, list) tmp 650 kernel/time/clockevents.c list_for_each_entry_safe(dev, tmp, &clockevent_devices, list) { tmp 47 kernel/time/clocksource.c u64 tmp; tmp 54 kernel/time/clocksource.c tmp = ((u64)maxsec * from) >> 32; tmp 55 kernel/time/clocksource.c while (tmp) { tmp 56 kernel/time/clocksource.c tmp >>=1; tmp 65 kernel/time/clocksource.c tmp = (u64) to << sft; tmp 66 kernel/time/clocksource.c tmp += from / 2; tmp 67 kernel/time/clocksource.c do_div(tmp, from); tmp 68 kernel/time/clocksource.c if ((tmp >> sftacc) == 0) tmp 71 kernel/time/clocksource.c *mult = tmp; tmp 406 kernel/time/clocksource.c struct clocksource *cs, *tmp; tmp 411 kernel/time/clocksource.c list_for_each_entry_safe(cs, tmp, &watchdog_list, wd_list) { tmp 835 kernel/time/clocksource.c struct clocksource *tmp; tmp 837 kernel/time/clocksource.c list_for_each_entry(tmp, &clocksource_list, list) { tmp 839 kernel/time/clocksource.c if (tmp->rating < cs->rating) tmp 841 kernel/time/clocksource.c entry = &tmp->list; tmp 303 kernel/time/hrtimer.c u64 tmp; tmp 306 kernel/time/hrtimer.c tmp = dclc < 0 ? -dclc : dclc; tmp 313 kernel/time/hrtimer.c tmp >>= sft; tmp 314 kernel/time/hrtimer.c do_div(tmp, (unsigned long) div); tmp 315 kernel/time/hrtimer.c return dclc < 0 ? -tmp : tmp; tmp 131 kernel/time/timekeeping.c struct timespec64 tmp; tmp 137 kernel/time/timekeeping.c set_normalized_timespec64(&tmp, -tk->wall_to_monotonic.tv_sec, tmp 139 kernel/time/timekeeping.c WARN_ON_ONCE(tk->offs_real != timespec64_to_ktime(tmp)); tmp 141 kernel/time/timekeeping.c set_normalized_timespec64(&tmp, -wtm.tv_sec, -wtm.tv_nsec); tmp 142 kernel/time/timekeeping.c tk->offs_real = timespec64_to_ktime(tmp); tmp 290 kernel/time/timekeeping.c u64 tmp, ntpinterval; tmp 304 kernel/time/timekeeping.c tmp = NTP_INTERVAL_LENGTH; tmp 305 kernel/time/timekeeping.c tmp <<= clock->shift; tmp 306 kernel/time/timekeeping.c ntpinterval = tmp; tmp 307 kernel/time/timekeeping.c tmp += clock->mult/2; tmp 308 kernel/time/timekeeping.c do_div(tmp, clock->mult); tmp 309 kernel/time/timekeeping.c if (tmp == 0) tmp 310 kernel/time/timekeeping.c tmp = 1; tmp 312 kernel/time/timekeeping.c interval = (u64) tmp; tmp 1000 kernel/time/timekeeping.c u64 tmp, rem; tmp 1002 kernel/time/timekeeping.c tmp = div64_u64_rem(*base, div, &rem); tmp 1004 kernel/time/timekeeping.c if (((int)sizeof(u64)*8 - fls64(mult) < fls64(tmp)) || tmp 1007 kernel/time/timekeeping.c tmp *= mult; tmp 1011 kernel/time/timekeeping.c *base = tmp + rem; tmp 1277 kernel/time/timekeeping.c struct timespec64 tmp; tmp 1289 kernel/time/timekeeping.c tmp = timespec64_add(tk_xtime(tk), *ts); tmp 1291 kernel/time/timekeeping.c !timespec64_valid_settod(&tmp)) { tmp 1517 kernel/time/timer.c unsigned long tmp = clk + (unsigned long) pos; tmp 1519 kernel/time/timer.c tmp <<= LVL_SHIFT(lvl); tmp 1520 kernel/time/timer.c if (time_before(tmp, next)) tmp 1521 kernel/time/timer.c next = tmp; tmp 76 kernel/time/timer_list.c struct hrtimer *timer, tmp; tmp 101 kernel/time/timer_list.c tmp = *timer; tmp 104 kernel/time/timer_list.c print_timer(m, timer, &tmp, i, now); tmp 1476 kernel/trace/bpf_trace.c struct bpf_trace_module *btm, *tmp; tmp 1494 kernel/trace/bpf_trace.c list_for_each_entry_safe(btm, tmp, &bpf_trace_modules, list) { tmp 632 kernel/trace/ftrace.c unsigned long tmp = (unsigned long)pg; tmp 635 kernel/trace/ftrace.c free_page(tmp); tmp 4463 kernel/trace/ftrace.c struct hlist_node *tmp; tmp 4522 kernel/trace/ftrace.c hlist_for_each_entry_safe(entry, tmp, &hash->buckets[i], hlist) { tmp 4560 kernel/trace/ftrace.c hlist_for_each_entry_safe(entry, tmp, &hhd, hlist) { tmp 1157 kernel/trace/ring_buffer.c struct buffer_page *bpage, *tmp; tmp 1173 kernel/trace/ring_buffer.c list_for_each_entry_safe(bpage, tmp, head, list) { tmp 1191 kernel/trace/ring_buffer.c struct buffer_page *bpage, *tmp; tmp 1250 kernel/trace/ring_buffer.c list_for_each_entry_safe(bpage, tmp, pages, list) { tmp 1349 kernel/trace/ring_buffer.c struct buffer_page *bpage, *tmp; tmp 1356 kernel/trace/ring_buffer.c list_for_each_entry_safe(bpage, tmp, head, list) { tmp 1673 kernel/trace/ring_buffer.c struct buffer_page *bpage, *tmp; tmp 1674 kernel/trace/ring_buffer.c list_for_each_entry_safe(bpage, tmp, &cpu_buffer->new_pages, tmp 1875 kernel/trace/ring_buffer.c struct buffer_page *bpage, *tmp; tmp 1883 kernel/trace/ring_buffer.c list_for_each_entry_safe(bpage, tmp, &cpu_buffer->new_pages, tmp 9052 kernel/trace/trace.c char *kbuf, *buf, *tmp; tmp 9074 kernel/trace/trace.c tmp = strchr(buf, '\n'); tmp 9075 kernel/trace/trace.c if (tmp) { tmp 9076 kernel/trace/trace.c *tmp = '\0'; tmp 9077 kernel/trace/trace.c size = tmp - buf + 1; tmp 9093 kernel/trace/trace.c tmp = strchr(buf, '#'); tmp 9095 kernel/trace/trace.c if (tmp) tmp 9096 kernel/trace/trace.c *tmp = '\0'; tmp 148 kernel/trace/trace_dynevent.c struct dyn_event *ev, *tmp; tmp 160 kernel/trace/trace_dynevent.c for_each_dyn_event_safe(ev, tmp) { tmp 1598 kernel/trace/trace_events_filter.c struct filter_list *tmp; tmp 1650 kernel/trace/trace_events_filter.c list_for_each_entry_safe(filter_item, tmp, &filter_list, list) { tmp 1658 kernel/trace/trace_events_filter.c list_for_each_entry_safe(filter_item, tmp, &filter_list, list) { tmp 1669 kernel/trace/trace_events_filter.c list_for_each_entry_safe(filter_item, tmp, &filter_list, list) { tmp 1828 kernel/trace/trace_events_filter.c struct event_filter *tmp; tmp 1830 kernel/trace/trace_events_filter.c tmp = event_filter(file); tmp 1838 kernel/trace/trace_events_filter.c if (tmp) { tmp 1841 kernel/trace/trace_events_filter.c __free_filter(tmp); tmp 731 kernel/trace/trace_events_trigger.c struct event_filter *filter = NULL, *tmp; tmp 754 kernel/trace/trace_events_trigger.c tmp = rcu_access_pointer(data->filter); tmp 758 kernel/trace/trace_events_trigger.c if (tmp) { tmp 761 kernel/trace/trace_events_trigger.c free_event_filter(tmp); tmp 739 kernel/trace/trace_kprobe.c char *symbol = NULL, *tmp = NULL; tmp 853 kernel/trace/trace_kprobe.c tmp = kstrdup(argv[i], GFP_KERNEL); tmp 854 kernel/trace/trace_kprobe.c if (!tmp) { tmp 860 kernel/trace/trace_kprobe.c ret = traceprobe_parse_probe_arg(&tk->tp, i, tmp, flags); tmp 861 kernel/trace/trace_kprobe.c kfree(tmp); tmp 210 kernel/trace/trace_probe.c char *tmp; tmp 216 kernel/trace/trace_probe.c tmp = strpbrk(symbol, "+-"); tmp 217 kernel/trace/trace_probe.c if (tmp) { tmp 218 kernel/trace/trace_probe.c ret = kstrtol(tmp, 0, offset); tmp 221 kernel/trace/trace_probe.c *tmp = '\0'; tmp 362 kernel/trace/trace_probe.c char *tmp; tmp 441 kernel/trace/trace_probe.c tmp = strchr(arg, '('); tmp 442 kernel/trace/trace_probe.c if (!tmp) { tmp 446 kernel/trace/trace_probe.c *tmp = '\0'; tmp 452 kernel/trace/trace_probe.c offs += (tmp + 1 - arg) + (arg[0] != '-' ? 1 : 0); tmp 453 kernel/trace/trace_probe.c arg = tmp + 1; tmp 454 kernel/trace/trace_probe.c tmp = strrchr(arg, ')'); tmp 455 kernel/trace/trace_probe.c if (!tmp) { tmp 462 kernel/trace/trace_probe.c *tmp = '\0'; tmp 483 kernel/trace/trace_probe.c ret = __parse_imm_string(arg + 2, &tmp, offs + 2); tmp 487 kernel/trace/trace_probe.c code->data = tmp; tmp 546 kernel/trace/trace_probe.c struct fetch_insn *code, *scode, *tmp = NULL; tmp 621 kernel/trace/trace_probe.c code = tmp = kcalloc(FETCH_INSN_MAX, sizeof(*code), GFP_KERNEL); tmp 713 kernel/trace/trace_probe.c parg->code = kcalloc(code - tmp + 1, sizeof(*code), GFP_KERNEL); tmp 717 kernel/trace/trace_probe.c memcpy(parg->code, tmp, sizeof(*code) * (code - tmp + 1)); tmp 721 kernel/trace/trace_probe.c for (code = tmp; code < tmp + FETCH_INSN_MAX; code++) tmp 726 kernel/trace/trace_probe.c kfree(tmp); tmp 809 kernel/trace/trace_probe.c char *tmp; tmp 818 kernel/trace/trace_probe.c tmp = strpbrk(code->data, "+-"); tmp 819 kernel/trace/trace_probe.c if (tmp) tmp 820 kernel/trace/trace_probe.c c = *tmp; tmp 828 kernel/trace/trace_probe.c if (tmp) tmp 829 kernel/trace/trace_probe.c *tmp = c; tmp 355 kernel/trace/trace_stat.c struct stat_session *node, *tmp; tmp 358 kernel/trace/trace_stat.c list_for_each_entry_safe(node, tmp, &all_stat_sessions, session_list) { tmp 475 kernel/trace/trace_uprobe.c struct trace_uprobe *tmp; tmp 478 kernel/trace/trace_uprobe.c for_each_trace_uprobe(tmp, pos) { tmp 479 kernel/trace/trace_uprobe.c if (new_inode == d_real_inode(tmp->path.dentry) && tmp 480 kernel/trace/trace_uprobe.c new->offset == tmp->offset && tmp 481 kernel/trace/trace_uprobe.c new->ref_ctr_offset != tmp->ref_ctr_offset) { tmp 537 kernel/trace/trace_uprobe.c char *arg, *filename, *rctr, *rctr_end, *tmp; tmp 670 kernel/trace/trace_uprobe.c tmp = kstrdup(argv[i], GFP_KERNEL); tmp 671 kernel/trace/trace_uprobe.c if (!tmp) { tmp 677 kernel/trace/trace_uprobe.c ret = traceprobe_parse_probe_arg(&tu->tp, i, tmp, tmp 679 kernel/trace/trace_uprobe.c kfree(tmp); tmp 75 kernel/tracepoint.c struct rcu_head *tmp; tmp 80 kernel/tracepoint.c tmp = early_probes; tmp 81 kernel/tracepoint.c early_probes = tmp->next; tmp 82 kernel/tracepoint.c call_rcu(tmp, rcu_free_old_probes); tmp 2858 kernel/workqueue.c struct wq_flusher *next, *tmp; tmp 2861 kernel/workqueue.c list_for_each_entry_safe(next, tmp, &wq->flusher_queue, list) { tmp 2882 kernel/workqueue.c list_for_each_entry(tmp, &wq->flusher_overflow, list) tmp 2883 kernel/workqueue.c tmp->flush_color = wq->work_color; tmp 69 lib/842/842_decompress.c u64 tmp = 0; tmp 77 lib/842/842_decompress.c ret = next_bits(p, &tmp, n - s); tmp 83 lib/842/842_decompress.c *d |= tmp << s; tmp 282 lib/842/842_decompress.c u64 op, rep, tmp, bytes, total; tmp 349 lib/842/842_decompress.c ret = next_bits(&p, &tmp, 8); tmp 352 lib/842/842_decompress.c *p.out = (u8)tmp; tmp 61 lib/asn1_decoder.c unsigned char tag, tmp; tmp 90 lib/asn1_decoder.c tmp = data[dp++]; tmp 91 lib/asn1_decoder.c } while (tmp & 0x80); tmp 213 lib/asn1_decoder.c unsigned char tmp; tmp 245 lib/asn1_decoder.c tmp = optag ^ tag; tmp 246 lib/asn1_decoder.c tmp &= ~(optag & ASN1_CONS_BIT); tmp 247 lib/asn1_decoder.c pr_debug("- match? %02x %02x %02x\n", tag, optag, tmp); tmp 248 lib/asn1_decoder.c if (tmp != 0) { tmp 329 lib/asn1_decoder.c size_t tmp = dp; tmp 332 lib/asn1_decoder.c data, datalen, &tmp, &len, &errmsg); tmp 391 lib/bch.c unsigned int i, j, tmp, l, pd = 1, d = syn[0]; tmp 411 lib/bch.c tmp = a_log(bch, d)+n-a_log(bch, pd); tmp 415 lib/bch.c elp->c[j+k] ^= a_pow(bch, tmp+l); tmp 419 lib/bch.c tmp = pelp->deg+k; tmp 420 lib/bch.c if (tmp > elp->deg) { tmp 421 lib/bch.c elp->deg = tmp; tmp 446 lib/bch.c unsigned int tmp, mask; tmp 460 lib/bch.c tmp = rows[r]; tmp 462 lib/bch.c rows[p] = tmp; tmp 470 lib/bch.c tmp = rows[p]; tmp 473 lib/bch.c rows[r] ^= tmp; tmp 504 lib/bch.c tmp = 0; tmp 506 lib/bch.c mask = rows[r] & (tmp|1); tmp 507 lib/bch.c tmp |= parity(mask) << (m-r); tmp 509 lib/bch.c sol[p] = tmp >> 1; tmp 616 lib/bch.c unsigned int a, b, c, a2, b2, c2, e3, tmp[4]; tmp 631 lib/bch.c if (find_affine4_roots(bch, a, b, c, tmp) == 4) { tmp 634 lib/bch.c if (tmp[i] != a2) tmp 635 lib/bch.c roots[n++] = a_ilog(bch, tmp[i]); tmp 779 lib/bch.c struct gf_poly *tmp; tmp 784 lib/bch.c tmp = b; tmp 786 lib/bch.c a = tmp; tmp 791 lib/bch.c tmp = b; tmp 793 lib/bch.c a = tmp; tmp 68 lib/bitmap.c unsigned long tmp; tmp 78 lib/bitmap.c tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k]; tmp 79 lib/bitmap.c return (tmp & BITMAP_LAST_WORD_MASK(bits)) == 0; tmp 293 lib/debugobjects.c struct hlist_node *tmp; tmp 335 lib/debugobjects.c hlist_for_each_entry_safe(obj, tmp, &tofree, node) { tmp 443 lib/debugobjects.c struct hlist_node *tmp; tmp 457 lib/debugobjects.c hlist_for_each_entry_safe(obj, tmp, &freelist, node) { tmp 940 lib/debugobjects.c struct hlist_node *tmp; tmp 956 lib/debugobjects.c hlist_for_each_entry_safe(obj, tmp, &db->list, node) { tmp 1298 lib/debugobjects.c struct hlist_node *tmp; tmp 1317 lib/debugobjects.c hlist_for_each_entry_safe(obj, tmp, &obj_pool, node) tmp 1340 lib/debugobjects.c hlist_for_each_entry_safe(obj, tmp, &objects, node) { tmp 107 lib/decompress_unlzo.c size_t tmp; tmp 227 lib/decompress_unlzo.c tmp = dst_len; tmp 236 lib/decompress_unlzo.c out_buf, &tmp); tmp 238 lib/decompress_unlzo.c if (r != LZO_E_OK || dst_len != tmp) { tmp 30 lib/extable.c struct exception_table_entry *x = a, *y = b, tmp; tmp 33 lib/extable.c tmp = *x; tmp 35 lib/extable.c y->insn = tmp.insn - delta; tmp 38 lib/extable.c swap_ex_entry_fixup(x, y, tmp, delta); tmp 41 lib/extable.c y->fixup = tmp.fixup - delta; tmp 34 lib/find_bit.c unsigned long tmp; tmp 39 lib/find_bit.c tmp = addr1[start / BITS_PER_LONG]; tmp 41 lib/find_bit.c tmp &= addr2[start / BITS_PER_LONG]; tmp 42 lib/find_bit.c tmp ^= invert; tmp 45 lib/find_bit.c tmp &= BITMAP_FIRST_WORD_MASK(start); tmp 48 lib/find_bit.c while (!tmp) { tmp 53 lib/find_bit.c tmp = addr1[start / BITS_PER_LONG]; tmp 55 lib/find_bit.c tmp &= addr2[start / BITS_PER_LONG]; tmp 56 lib/find_bit.c tmp ^= invert; tmp 59 lib/find_bit.c return min(start + __ffs(tmp), nbits); tmp 157 lib/find_bit.c unsigned long tmp; tmp 162 lib/find_bit.c tmp = addr1[start / BITS_PER_LONG]; tmp 164 lib/find_bit.c tmp &= addr2[start / BITS_PER_LONG]; tmp 165 lib/find_bit.c tmp ^= invert; tmp 168 lib/find_bit.c tmp &= swab(BITMAP_FIRST_WORD_MASK(start)); tmp 171 lib/find_bit.c while (!tmp) { tmp 176 lib/find_bit.c tmp = addr1[start / BITS_PER_LONG]; tmp 178 lib/find_bit.c tmp &= addr2[start / BITS_PER_LONG]; tmp 179 lib/find_bit.c tmp ^= invert; tmp 182 lib/find_bit.c return min(start + __ffs(swab(tmp)), nbits); tmp 403 lib/idr.c unsigned long tmp = xa_to_value(bitmap); tmp 406 lib/idr.c bit = find_next_zero_bit(&tmp, BITS_PER_XA_VALUE, bit); tmp 410 lib/idr.c tmp |= 1UL << bit; tmp 411 lib/idr.c xas_store(&xas, xa_mk_value(tmp)); tmp 420 lib/idr.c bitmap->bitmap[0] = tmp; tmp 185 lib/klist.c struct klist_waiter *waiter, *tmp; tmp 191 lib/klist.c list_for_each_entry_safe(waiter, tmp, &klist_remove_waiters, list) { tmp 147 lib/kstrtox.c unsigned long long tmp; tmp 151 lib/kstrtox.c rv = _kstrtoull(s + 1, base, &tmp); tmp 154 lib/kstrtox.c if ((long long)-tmp > 0) tmp 156 lib/kstrtox.c *res = -tmp; tmp 158 lib/kstrtox.c rv = kstrtoull(s, base, &tmp); tmp 161 lib/kstrtox.c if ((long long)tmp < 0) tmp 163 lib/kstrtox.c *res = tmp; tmp 172 lib/kstrtox.c unsigned long long tmp; tmp 175 lib/kstrtox.c rv = kstrtoull(s, base, &tmp); tmp 178 lib/kstrtox.c if (tmp != (unsigned long)tmp) tmp 180 lib/kstrtox.c *res = tmp; tmp 188 lib/kstrtox.c long long tmp; tmp 191 lib/kstrtox.c rv = kstrtoll(s, base, &tmp); tmp 194 lib/kstrtox.c if (tmp != (long)tmp) tmp 196 lib/kstrtox.c *res = tmp; tmp 219 lib/kstrtox.c unsigned long long tmp; tmp 222 lib/kstrtox.c rv = kstrtoull(s, base, &tmp); tmp 225 lib/kstrtox.c if (tmp != (unsigned int)tmp) tmp 227 lib/kstrtox.c *res = tmp; tmp 250 lib/kstrtox.c long long tmp; tmp 253 lib/kstrtox.c rv = kstrtoll(s, base, &tmp); tmp 256 lib/kstrtox.c if (tmp != (int)tmp) tmp 258 lib/kstrtox.c *res = tmp; tmp 265 lib/kstrtox.c unsigned long long tmp; tmp 268 lib/kstrtox.c rv = kstrtoull(s, base, &tmp); tmp 271 lib/kstrtox.c if (tmp != (u16)tmp) tmp 273 lib/kstrtox.c *res = tmp; tmp 280 lib/kstrtox.c long long tmp; tmp 283 lib/kstrtox.c rv = kstrtoll(s, base, &tmp); tmp 286 lib/kstrtox.c if (tmp != (s16)tmp) tmp 288 lib/kstrtox.c *res = tmp; tmp 295 lib/kstrtox.c unsigned long long tmp; tmp 298 lib/kstrtox.c rv = kstrtoull(s, base, &tmp); tmp 301 lib/kstrtox.c if (tmp != (u8)tmp) tmp 303 lib/kstrtox.c *res = tmp; tmp 310 lib/kstrtox.c long long tmp; tmp 313 lib/kstrtox.c rv = kstrtoll(s, base, &tmp); tmp 316 lib/kstrtox.c if (tmp != (s8)tmp) tmp 318 lib/kstrtox.c *res = tmp; tmp 84 lib/llist.c struct llist_node *tmp = head; tmp 86 lib/llist.c tmp->next = new_head; tmp 87 lib/llist.c new_head = tmp; tmp 536 lib/lru_cache.c struct lc_element *e, *tmp; tmp 539 lib/lru_cache.c list_for_each_entry_safe(e, tmp, &lc->to_be_changed, list) { tmp 218 lib/mpi/mpi-pow.c mpi_limb_t tmp; tmp 221 lib/mpi/mpi-pow.c &tmp) < 0) tmp 369 lib/mpi/mpih-mul.c mpi_limb_t tmp; tmp 370 lib/mpi/mpih-mul.c if (mpihelp_mul(ctx->tspace, vp, vsize, up, usize, &tmp) tmp 689 lib/objagg.c struct objagg_hints_node *hnode, *tmp; tmp 691 lib/objagg.c list_for_each_entry_safe(hnode, tmp, &objagg_hints->node_list, list) { tmp 195 lib/radix-tree.c unsigned long tmp; tmp 198 lib/radix-tree.c tmp = *addr >> (offset % BITS_PER_LONG); tmp 199 lib/radix-tree.c if (tmp) tmp 200 lib/radix-tree.c return __ffs(tmp) + offset; tmp 203 lib/radix-tree.c tmp = *++addr; tmp 204 lib/radix-tree.c if (tmp) tmp 205 lib/radix-tree.c return __ffs(tmp) + offset; tmp 111 lib/raid6/recov.c int tmp = faila; tmp 113 lib/raid6/recov.c failb = tmp; tmp 88 lib/rbtree.c struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; tmp 115 lib/rbtree.c tmp = gparent->rb_right; tmp 116 lib/rbtree.c if (parent != tmp) { /* parent == gparent->rb_left */ tmp 117 lib/rbtree.c if (tmp && rb_is_red(tmp)) { tmp 131 lib/rbtree.c rb_set_parent_color(tmp, gparent, RB_BLACK); tmp 139 lib/rbtree.c tmp = parent->rb_right; tmp 140 lib/rbtree.c if (node == tmp) { tmp 154 lib/rbtree.c tmp = node->rb_left; tmp 155 lib/rbtree.c WRITE_ONCE(parent->rb_right, tmp); tmp 157 lib/rbtree.c if (tmp) tmp 158 lib/rbtree.c rb_set_parent_color(tmp, parent, tmp 163 lib/rbtree.c tmp = node->rb_right; tmp 176 lib/rbtree.c WRITE_ONCE(gparent->rb_left, tmp); /* == parent->rb_right */ tmp 178 lib/rbtree.c if (tmp) tmp 179 lib/rbtree.c rb_set_parent_color(tmp, gparent, RB_BLACK); tmp 184 lib/rbtree.c tmp = gparent->rb_left; tmp 185 lib/rbtree.c if (tmp && rb_is_red(tmp)) { tmp 187 lib/rbtree.c rb_set_parent_color(tmp, gparent, RB_BLACK); tmp 195 lib/rbtree.c tmp = parent->rb_left; tmp 196 lib/rbtree.c if (node == tmp) { tmp 198 lib/rbtree.c tmp = node->rb_right; tmp 199 lib/rbtree.c WRITE_ONCE(parent->rb_left, tmp); tmp 201 lib/rbtree.c if (tmp) tmp 202 lib/rbtree.c rb_set_parent_color(tmp, parent, tmp 207 lib/rbtree.c tmp = node->rb_left; tmp 211 lib/rbtree.c WRITE_ONCE(gparent->rb_right, tmp); /* == parent->rb_left */ tmp 213 lib/rbtree.c if (tmp) tmp 214 lib/rbtree.c rb_set_parent_color(tmp, gparent, RB_BLACK); tmp 23 lib/reed_solomon/decode_rs.c uint16_t u, q, tmp, num1, num2, den, discr_r, syn_error; tmp 116 lib/reed_solomon/decode_rs.c tmp = index_of[lambda[j - 1]]; tmp 117 lib/reed_solomon/decode_rs.c if (tmp != nn) { tmp 119 lib/reed_solomon/decode_rs.c alpha_to[rs_modnn(rs, u + tmp)]; tmp 238 lib/reed_solomon/decode_rs.c tmp = 0; tmp 241 lib/reed_solomon/decode_rs.c tmp ^= tmp 244 lib/reed_solomon/decode_rs.c omega[i] = index_of[tmp]; tmp 290 lib/reed_solomon/decode_rs.c tmp = 0; tmp 296 lib/reed_solomon/decode_rs.c tmp ^= alpha_to[rs_modnn(rs, index_of[b[j]] + k)]; tmp 299 lib/reed_solomon/decode_rs.c if (tmp != alpha_to[s[i]]) tmp 217 lib/reed_solomon/reed_solomon.c struct list_head *tmp; tmp 244 lib/reed_solomon/reed_solomon.c list_for_each(tmp, &codec_list) { tmp 245 lib/reed_solomon/reed_solomon.c struct rs_codec *cd = list_entry(tmp, struct rs_codec, list); tmp 91 lib/string.c char *tmp = dest; tmp 95 lib/string.c return tmp; tmp 116 lib/string.c char *tmp = dest; tmp 119 lib/string.c if ((*tmp = *src) != 0) tmp 121 lib/string.c tmp++; tmp 284 lib/string.c char *tmp = dest; tmp 290 lib/string.c return tmp; tmp 307 lib/string.c char *tmp = dest; tmp 319 lib/string.c return tmp; tmp 829 lib/string.c char *tmp = dest; tmp 833 lib/string.c *tmp++ = *s++; tmp 850 lib/string.c char *tmp; tmp 854 lib/string.c tmp = dest; tmp 857 lib/string.c *tmp++ = *s++; tmp 859 lib/string.c tmp = dest; tmp 860 lib/string.c tmp += count; tmp 864 lib/string.c *--tmp = *--s; tmp 54 lib/string_helpers.c char tmp[8]; tmp 57 lib/string_helpers.c tmp[0] = '\0'; tmp 118 lib/string_helpers.c snprintf(tmp, sizeof(tmp), ".%03u", remainder); tmp 119 lib/string_helpers.c tmp[j+1] = '\0'; tmp 129 lib/string_helpers.c tmp, unit); tmp 32 lib/test-kstrtox.c type tmp; \ tmp 35 lib/test-kstrtox.c tmp = 0; \ tmp 36 lib/test-kstrtox.c rv = fn(t->str, t->base, &tmp); \ tmp 39 lib/test-kstrtox.c t->str, t->base, rv, tmp); \ tmp 1226 lib/test_kmod.c struct kmod_test_device *test_dev, *tmp; tmp 1229 lib/test_kmod.c list_for_each_entry_safe(test_dev, tmp, ®_test_devs, list) { tmp 225 lib/test_vmalloc.c void **ptr, **junk_ptr, *tmp; tmp 252 lib/test_vmalloc.c tmp = vmalloc(1 * PAGE_SIZE); tmp 254 lib/test_vmalloc.c if (!tmp) tmp 257 lib/test_vmalloc.c *((__u8 *)tmp) = 1; tmp 258 lib/test_vmalloc.c vfree(tmp); tmp 345 lib/vsprintf.c char tmp[sizeof(num) * 3] __aligned(2); tmp 350 lib/vsprintf.c tmp[0] = '0' + num; tmp 353 lib/vsprintf.c len = put_dec(tmp, num) - tmp; tmp 368 lib/vsprintf.c buf[idx + width] = tmp[len - idx - 1]; tmp 420 lib/vsprintf.c char tmp[3 * sizeof(num)] __aligned(2); tmp 458 lib/vsprintf.c tmp[i++] = hex_asc_upper[num] | locase; tmp 466 lib/vsprintf.c tmp[i++] = (hex_asc_upper[((unsigned char)num) & mask] | locase); tmp 470 lib/vsprintf.c i = put_dec(tmp, num) - tmp; tmp 523 lib/vsprintf.c *buf = tmp[i]; tmp 690 lib/xz/xz_dec_lzma2.c uint32_t tmp; tmp 701 lib/xz/xz_dec_lzma2.c tmp = s->lzma.rep1; tmp 704 lib/xz/xz_dec_lzma2.c tmp = s->lzma.rep2; tmp 706 lib/xz/xz_dec_lzma2.c tmp = s->lzma.rep3; tmp 714 lib/xz/xz_dec_lzma2.c s->lzma.rep0 = tmp; tmp 849 lib/xz/xz_dec_lzma2.c uint32_t tmp; tmp 853 lib/xz/xz_dec_lzma2.c tmp = 2 * LZMA_IN_REQUIRED - s->temp.size; tmp 854 lib/xz/xz_dec_lzma2.c if (tmp > s->lzma2.compressed - s->temp.size) tmp 855 lib/xz/xz_dec_lzma2.c tmp = s->lzma2.compressed - s->temp.size; tmp 856 lib/xz/xz_dec_lzma2.c if (tmp > in_avail) tmp 857 lib/xz/xz_dec_lzma2.c tmp = in_avail; tmp 859 lib/xz/xz_dec_lzma2.c memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp); tmp 861 lib/xz/xz_dec_lzma2.c if (s->temp.size + tmp == s->lzma2.compressed) { tmp 862 lib/xz/xz_dec_lzma2.c memzero(s->temp.buf + s->temp.size + tmp, tmp 864 lib/xz/xz_dec_lzma2.c - s->temp.size - tmp); tmp 865 lib/xz/xz_dec_lzma2.c s->rc.in_limit = s->temp.size + tmp; tmp 866 lib/xz/xz_dec_lzma2.c } else if (s->temp.size + tmp < LZMA_IN_REQUIRED) { tmp 867 lib/xz/xz_dec_lzma2.c s->temp.size += tmp; tmp 868 lib/xz/xz_dec_lzma2.c b->in_pos += tmp; tmp 871 lib/xz/xz_dec_lzma2.c s->rc.in_limit = s->temp.size + tmp - LZMA_IN_REQUIRED; tmp 877 lib/xz/xz_dec_lzma2.c if (!lzma_main(s) || s->rc.in_pos > s->temp.size + tmp) tmp 934 lib/xz/xz_dec_lzma2.c uint32_t tmp; tmp 970 lib/xz/xz_dec_lzma2.c tmp = b->in[b->in_pos++]; tmp 972 lib/xz/xz_dec_lzma2.c if (tmp == 0x00) tmp 975 lib/xz/xz_dec_lzma2.c if (tmp >= 0xE0 || tmp == 0x01) { tmp 983 lib/xz/xz_dec_lzma2.c if (tmp >= 0x80) { tmp 984 lib/xz/xz_dec_lzma2.c s->lzma2.uncompressed = (tmp & 0x1F) << 16; tmp 987 lib/xz/xz_dec_lzma2.c if (tmp >= 0xC0) { tmp 1003 lib/xz/xz_dec_lzma2.c if (tmp >= 0xA0) tmp 1007 lib/xz/xz_dec_lzma2.c if (tmp > 0x02) tmp 43 mm/balloon_compaction.c struct page *page, *tmp; tmp 48 mm/balloon_compaction.c list_for_each_entry_safe(page, tmp, pages, lru) { tmp 79 mm/balloon_compaction.c struct page *page, *tmp; tmp 84 mm/balloon_compaction.c list_for_each_entry_safe(page, tmp, &b_dev_info->pages, lru) { tmp 165 mm/cma_debug.c struct dentry *tmp; tmp 171 mm/cma_debug.c tmp = debugfs_create_dir(name, root_dentry); tmp 173 mm/cma_debug.c debugfs_create_file("alloc", 0200, tmp, cma, &cma_alloc_fops); tmp 174 mm/cma_debug.c debugfs_create_file("free", 0200, tmp, cma, &cma_free_fops); tmp 175 mm/cma_debug.c debugfs_create_file("base_pfn", 0444, tmp, tmp 177 mm/cma_debug.c debugfs_create_file("count", 0444, tmp, &cma->count, &cma_debugfs_fops); tmp 178 mm/cma_debug.c debugfs_create_file("order_per_bit", 0444, tmp, tmp 180 mm/cma_debug.c debugfs_create_file("used", 0444, tmp, cma, &cma_used_fops); tmp 181 mm/cma_debug.c debugfs_create_file("maxchunk", 0444, tmp, cma, &cma_maxchunk_fops); tmp 184 mm/cma_debug.c debugfs_create_u32_array("bitmap", 0444, tmp, (u32 *)cma->bitmap, u32s); tmp 1819 mm/hugetlb.c struct page *page, *tmp; tmp 1878 mm/hugetlb.c list_for_each_entry_safe(page, tmp, &surplus_list, lru) { tmp 1893 mm/hugetlb.c list_for_each_entry_safe(page, tmp, &surplus_list, lru) tmp 3090 mm/hugetlb.c unsigned long tmp = h->max_huge_pages; tmp 3096 mm/hugetlb.c table->data = &tmp; tmp 3104 mm/hugetlb.c NUMA_NO_NODE, tmp, *length); tmp 3131 mm/hugetlb.c unsigned long tmp; tmp 3137 mm/hugetlb.c tmp = h->nr_overcommit_huge_pages; tmp 3142 mm/hugetlb.c table->data = &tmp; tmp 3150 mm/hugetlb.c h->nr_overcommit_huge_pages = tmp; tmp 1720 mm/khugepaged.c struct page *page, *tmp; tmp 1727 mm/khugepaged.c list_for_each_entry_safe(page, tmp, &pagelist, lru) { tmp 88 mm/kmemleak-test.c struct test_node *elem, *tmp; tmp 94 mm/kmemleak-test.c list_for_each_entry_safe(elem, tmp, &test_list, list) tmp 466 mm/kmemleak.c struct hlist_node *tmp; tmp 475 mm/kmemleak.c hlist_for_each_entry_safe(area, tmp, &object->area_list, node) { tmp 1366 mm/kmemleak.c struct kmemleak_object *object, *tmp; tmp 1381 mm/kmemleak.c tmp = list_entry(object->gray_list.next, typeof(*object), tmp 1388 mm/kmemleak.c object = tmp; tmp 1845 mm/kmemleak.c struct kmemleak_object *object, *tmp; tmp 1851 mm/kmemleak.c list_for_each_entry_safe(object, tmp, &object_list, object_list) { tmp 1055 mm/madvise.c unsigned long end, tmp; tmp 1122 mm/madvise.c tmp = vma->vm_end; tmp 1123 mm/madvise.c if (end < tmp) tmp 1124 mm/madvise.c tmp = end; tmp 1127 mm/madvise.c error = madvise_vma(vma, &prev, start, tmp, behavior); tmp 1130 mm/madvise.c start = tmp; tmp 4334 mm/memcontrol.c struct mem_cgroup_eventfd_list *ev, *tmp; tmp 4338 mm/memcontrol.c list_for_each_entry_safe(ev, tmp, &memcg->oom_notify, list) { tmp 5026 mm/memcontrol.c int tmp = node; tmp 5036 mm/memcontrol.c tmp = -1; tmp 5037 mm/memcontrol.c pn = kzalloc_node(sizeof(*pn), GFP_KERNEL, tmp); tmp 5252 mm/memcontrol.c struct mem_cgroup_event *event, *tmp; tmp 5260 mm/memcontrol.c list_for_each_entry_safe(event, tmp, &memcg->event_list, list) { tmp 2520 mm/memory.c vm_fault_t tmp; tmp 2523 mm/memory.c tmp = do_page_mkwrite(vmf); tmp 2524 mm/memory.c if (unlikely(!tmp || (tmp & tmp 2527 mm/memory.c return tmp; tmp 2529 mm/memory.c tmp = finish_mkwrite_fault(vmf); tmp 2530 mm/memory.c if (unlikely(tmp & (VM_FAULT_ERROR | VM_FAULT_NOPAGE))) { tmp 2533 mm/memory.c return tmp; tmp 3558 mm/memory.c vm_fault_t ret, tmp; tmp 3570 mm/memory.c tmp = do_page_mkwrite(vmf); tmp 3571 mm/memory.c if (unlikely(!tmp || tmp 3572 mm/memory.c (tmp & (VM_FAULT_ERROR | VM_FAULT_NOPAGE)))) { tmp 3574 mm/memory.c return tmp; tmp 162 mm/mempolicy.c nodemask_t tmp; tmp 163 mm/mempolicy.c nodes_fold(tmp, *orig, nodes_weight(*rel)); tmp 164 mm/mempolicy.c nodes_onto(*ret, tmp, *rel); tmp 300 mm/mempolicy.c nodemask_t tmp; tmp 303 mm/mempolicy.c nodes_and(tmp, pol->w.user_nodemask, *nodes); tmp 305 mm/mempolicy.c mpol_relative_nodemask(&tmp, &pol->w.user_nodemask, nodes); tmp 307 mm/mempolicy.c nodes_remap(tmp, pol->v.nodes,pol->w.cpuset_mems_allowed, tmp 312 mm/mempolicy.c if (nodes_empty(tmp)) tmp 313 mm/mempolicy.c tmp = *nodes; tmp 315 mm/mempolicy.c pol->v.nodes = tmp; tmp 321 mm/mempolicy.c nodemask_t tmp; tmp 332 mm/mempolicy.c mpol_relative_nodemask(&tmp, &pol->w.user_nodemask, nodes); tmp 333 mm/mempolicy.c pol->v.preferred_node = first_node(tmp); tmp 1064 mm/mempolicy.c nodemask_t tmp; tmp 1103 mm/mempolicy.c tmp = *from; tmp 1104 mm/mempolicy.c while (!nodes_empty(tmp)) { tmp 1109 mm/mempolicy.c for_each_node_mask(s, tmp) { tmp 1138 mm/mempolicy.c if (!node_isset(dest, tmp)) tmp 1144 mm/mempolicy.c node_clear(source, tmp); tmp 257 mm/mincore.c unsigned char *tmp; tmp 276 mm/mincore.c tmp = (void *) __get_free_page(GFP_USER); tmp 277 mm/mincore.c if (!tmp) tmp 287 mm/mincore.c retval = do_mincore(start, min(pages, PAGE_SIZE), tmp); tmp 292 mm/mincore.c if (copy_to_user(vec, tmp, retval)) { tmp 301 mm/mincore.c free_page((unsigned long) tmp); tmp 586 mm/mlock.c unsigned long nstart, end, tmp; tmp 611 mm/mlock.c tmp = vma->vm_end; tmp 612 mm/mlock.c if (tmp > end) tmp 613 mm/mlock.c tmp = end; tmp 614 mm/mlock.c error = mlock_fixup(vma, &prev, nstart, tmp, newflags); tmp 617 mm/mlock.c nstart = tmp; tmp 2248 mm/mmap.c struct vm_area_struct *tmp; tmp 2250 mm/mmap.c tmp = rb_entry(rb_node, struct vm_area_struct, vm_rb); tmp 2252 mm/mmap.c if (tmp->vm_end > addr) { tmp 2253 mm/mmap.c vma = tmp; tmp 2254 mm/mmap.c if (tmp->vm_start <= addr) tmp 2818 mm/mmap.c struct vm_area_struct *tmp = vma; tmp 2819 mm/mmap.c while (tmp && tmp->vm_start < end) { tmp 2820 mm/mmap.c if (tmp->vm_flags & VM_LOCKED) { tmp 2821 mm/mmap.c mm->locked_vm -= vma_pages(tmp); tmp 2822 mm/mmap.c munlock_vma_pages_all(tmp); tmp 2825 mm/mmap.c tmp = tmp->vm_next; tmp 2956 mm/mmap.c struct vm_area_struct *tmp; tmp 2960 mm/mmap.c for (tmp = vma; tmp->vm_start >= start + size; tmp 2961 mm/mmap.c tmp = tmp->vm_next) { tmp 2966 mm/mmap.c vma_adjust_trans_huge(tmp, start, start + size, 0); tmp 2968 mm/mmap.c munlock_vma_pages_range(tmp, tmp 2969 mm/mmap.c max(tmp->vm_start, start), tmp 2970 mm/mmap.c min(tmp->vm_end, start + size)); tmp 3720 mm/mmap.c unsigned long tmp, free_kbytes; tmp 3725 mm/mmap.c tmp = sysctl_user_reserve_kbytes; tmp 3726 mm/mmap.c if (0 < tmp && tmp < (1UL << 17)) tmp 3730 mm/mmap.c tmp = sysctl_admin_reserve_kbytes; tmp 3731 mm/mmap.c if (0 < tmp && tmp < (1UL << 13)) tmp 489 mm/mprotect.c unsigned long nstart, end, tmp, reqprot; tmp 584 mm/mprotect.c tmp = vma->vm_end; tmp 585 mm/mprotect.c if (tmp > end) tmp 586 mm/mprotect.c tmp = end; tmp 587 mm/mprotect.c error = mprotect_fixup(vma, &prev, nstart, tmp, newflags); tmp 590 mm/mprotect.c nstart = tmp; tmp 1256 mm/page_alloc.c struct page *page, *tmp; tmp 1312 mm/page_alloc.c list_for_each_entry_safe(page, tmp, &head, lru) { tmp 5226 mm/page_alloc.c char tmp[MIGRATE_TYPES + 1]; tmp 5227 mm/page_alloc.c char *p = tmp; tmp 5236 mm/page_alloc.c printk(KERN_CONT "(%s) ", tmp); tmp 5540 mm/page_alloc.c const struct cpumask *tmp = cpumask_of_node(0); tmp 5561 mm/page_alloc.c tmp = cpumask_of_node(n); tmp 5562 mm/page_alloc.c if (!cpumask_empty(tmp)) tmp 7758 mm/page_alloc.c u64 tmp; tmp 7761 mm/page_alloc.c tmp = (u64)pages_min * zone_managed_pages(zone); tmp 7762 mm/page_alloc.c do_div(tmp, lowmem_pages); tmp 7783 mm/page_alloc.c zone->_watermark[WMARK_MIN] = tmp; tmp 7791 mm/page_alloc.c tmp = max_t(u64, tmp >> 2, tmp 7795 mm/page_alloc.c zone->_watermark[WMARK_LOW] = min_wmark_pages(zone) + tmp; tmp 7796 mm/page_alloc.c zone->_watermark[WMARK_HIGH] = min_wmark_pages(zone) + tmp * 2; tmp 3962 mm/shmem.c char tmp[16]; tmp 3965 mm/shmem.c if (count + 1 > sizeof(tmp)) tmp 3967 mm/shmem.c memcpy(tmp, buf, count); tmp 3968 mm/shmem.c tmp[count] = '\0'; tmp 3969 mm/shmem.c if (count && tmp[count - 1] == '\n') tmp 3970 mm/shmem.c tmp[count - 1] = '\0'; tmp 3972 mm/shmem.c huge = shmem_parse_huge(tmp); tmp 4118 mm/slab.c char kbuf[MAX_SLABINFO_WRITE + 1], *tmp; tmp 4128 mm/slab.c tmp = strchr(kbuf, ' '); tmp 4129 mm/slab.c if (!tmp) tmp 4131 mm/slab.c *tmp = '\0'; tmp 4132 mm/slab.c tmp++; tmp 4133 mm/slab.c if (sscanf(tmp, " %d %d %d", &limit, &batchcount, &shared) != 3) tmp 741 mm/sparse.c DECLARE_BITMAP(tmp, SUBSECTIONS_PER_SECTION) = { 0 }; tmp 751 mm/sparse.c bitmap_and(tmp, map, subsection_map, SUBSECTIONS_PER_SECTION); tmp 753 mm/sparse.c if (WARN(!subsection_map || !bitmap_equal(tmp, map, SUBSECTIONS_PER_SECTION), tmp 605 mm/swapfile.c unsigned long tmp, max; tmp 632 mm/swapfile.c tmp = cluster->next; tmp 635 mm/swapfile.c if (tmp >= max) { tmp 639 mm/swapfile.c ci = lock_cluster(si, tmp); tmp 640 mm/swapfile.c while (tmp < max) { tmp 641 mm/swapfile.c if (!si->swap_map[tmp]) { tmp 645 mm/swapfile.c tmp++; tmp 652 mm/swapfile.c cluster->next = tmp + 1; tmp 653 mm/swapfile.c *offset = tmp; tmp 654 mm/swapfile.c *scan_base = tmp; tmp 1517 mm/vmalloc.c struct vmap_block *tmp; tmp 1522 mm/vmalloc.c tmp = radix_tree_delete(&vmap_block_tree, vb_idx); tmp 1524 mm/vmalloc.c BUG_ON(tmp != vb); tmp 1821 mm/vmalloc.c struct vm_struct *tmp, **p; tmp 1824 mm/vmalloc.c for (p = &vmlist; (tmp = *p) != NULL; p = &tmp->next) { tmp 1825 mm/vmalloc.c if (tmp->addr >= vm->addr) { tmp 1826 mm/vmalloc.c BUG_ON(tmp->addr < vm->addr + vm->size); tmp 1829 mm/vmalloc.c BUG_ON(tmp->addr + tmp->size > vm->addr); tmp 1904 mm/vmalloc.c struct vm_struct *tmp; tmp 1925 mm/vmalloc.c for (tmp = vmlist; tmp; tmp = tmp->next) { tmp 1930 mm/vmalloc.c va->va_start = (unsigned long)tmp->addr; tmp 1931 mm/vmalloc.c va->va_end = va->va_start + tmp->size; tmp 1932 mm/vmalloc.c va->vm = tmp; tmp 3152 mm/vmalloc.c struct vmap_area *va, *tmp; tmp 3159 mm/vmalloc.c tmp = rb_entry(n, struct vmap_area, rb_node); tmp 3160 mm/vmalloc.c if (tmp->va_start <= addr) { tmp 3161 mm/vmalloc.c va = tmp; tmp 3162 mm/vmalloc.c if (tmp->va_end >= addr) tmp 2194 mm/zsmalloc.c struct zspage *zspage, *tmp; tmp 2210 mm/zsmalloc.c list_for_each_entry_safe(zspage, tmp, &free_pages, list) { tmp 798 net/6lowpan/iphc.c struct in6_addr tmp = {}; tmp 804 net/6lowpan/iphc.c memcpy(&tmp.s6_addr[8], &extended_addr, EUI64_ADDR_LEN); tmp 806 net/6lowpan/iphc.c tmp.s6_addr[8] ^= 0x02; tmp 808 net/6lowpan/iphc.c ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); tmp 809 net/6lowpan/iphc.c if (ipv6_addr_equal(&tmp, ipaddr)) tmp 813 net/6lowpan/iphc.c tmp.s6_addr[11] = 0xFF; tmp 814 net/6lowpan/iphc.c tmp.s6_addr[12] = 0xFE; tmp 815 net/6lowpan/iphc.c ieee802154_le16_to_be16(&tmp.s6_addr16[7], tmp 818 net/6lowpan/iphc.c ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); tmp 819 net/6lowpan/iphc.c if (ipv6_addr_equal(&tmp, ipaddr)) tmp 836 net/6lowpan/iphc.c struct in6_addr tmp = {}; tmp 838 net/6lowpan/iphc.c lowpan_iphc_uncompress_lladdr(dev, &tmp, lladdr); tmp 841 net/6lowpan/iphc.c ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); tmp 843 net/6lowpan/iphc.c return ipv6_addr_equal(&tmp, ipaddr); tmp 851 net/6lowpan/iphc.c struct in6_addr tmp = {}; tmp 870 net/6lowpan/iphc.c memset(&tmp, 0, sizeof(tmp)); tmp 872 net/6lowpan/iphc.c tmp.s6_addr[11] = 0xFF; tmp 873 net/6lowpan/iphc.c tmp.s6_addr[12] = 0xFE; tmp 874 net/6lowpan/iphc.c memcpy(&tmp.s6_addr[14], &ipaddr->s6_addr[14], 2); tmp 876 net/6lowpan/iphc.c ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); tmp 877 net/6lowpan/iphc.c if (ipv6_addr_equal(&tmp, ipaddr)) { tmp 883 net/6lowpan/iphc.c memset(&tmp, 0, sizeof(tmp)); tmp 885 net/6lowpan/iphc.c memcpy(&tmp.s6_addr[8], &ipaddr->s6_addr[8], 8); tmp 887 net/6lowpan/iphc.c ipv6_addr_prefix_copy(&tmp, &ctx->pfx, ctx->plen); tmp 888 net/6lowpan/iphc.c if (ipv6_addr_equal(&tmp, ipaddr)) { tmp 911 net/6lowpan/iphc.c struct in6_addr tmp = {}; tmp 926 net/6lowpan/iphc.c tmp.s6_addr[0] = 0xFE; tmp 927 net/6lowpan/iphc.c tmp.s6_addr[1] = 0x80; tmp 928 net/6lowpan/iphc.c tmp.s6_addr[11] = 0xFF; tmp 929 net/6lowpan/iphc.c tmp.s6_addr[12] = 0xFE; tmp 930 net/6lowpan/iphc.c ieee802154_le16_to_be16(&tmp.s6_addr16[7], tmp 932 net/6lowpan/iphc.c if (ipv6_addr_equal(&tmp, ipaddr)) tmp 39 net/6lowpan/nhc_udp.c u8 tmp = 0, val = 0; tmp 44 net/6lowpan/nhc_udp.c fail = lowpan_fetch_skb(skb, &tmp, sizeof(tmp)); tmp 47 net/6lowpan/nhc_udp.c switch (tmp & LOWPAN_NHC_UDP_CS_P_11) { tmp 75 net/6lowpan/nhc_udp.c if (tmp & LOWPAN_NHC_UDP_CS_C) { tmp 119 net/6lowpan/nhc_udp.c u8 tmp; tmp 127 net/6lowpan/nhc_udp.c tmp = LOWPAN_NHC_UDP_CS_P_11; tmp 128 net/6lowpan/nhc_udp.c lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); tmp 130 net/6lowpan/nhc_udp.c tmp = ntohs(uh->dest) - LOWPAN_NHC_UDP_4BIT_PORT + tmp 132 net/6lowpan/nhc_udp.c lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); tmp 137 net/6lowpan/nhc_udp.c tmp = LOWPAN_NHC_UDP_CS_P_01; tmp 138 net/6lowpan/nhc_udp.c lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); tmp 142 net/6lowpan/nhc_udp.c tmp = ntohs(uh->dest) - LOWPAN_NHC_UDP_8BIT_PORT; tmp 143 net/6lowpan/nhc_udp.c lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); tmp 148 net/6lowpan/nhc_udp.c tmp = LOWPAN_NHC_UDP_CS_P_10; tmp 149 net/6lowpan/nhc_udp.c lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); tmp 151 net/6lowpan/nhc_udp.c tmp = ntohs(uh->source) - LOWPAN_NHC_UDP_8BIT_PORT; tmp 152 net/6lowpan/nhc_udp.c lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); tmp 158 net/6lowpan/nhc_udp.c tmp = LOWPAN_NHC_UDP_CS_P_00; tmp 159 net/6lowpan/nhc_udp.c lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); tmp 436 net/8021q/vlan.c struct net_device *tmp; tmp 452 net/8021q/vlan.c list_for_each_entry_safe(vlandev, tmp, &close_list, close_list) { tmp 204 net/appletalk/ddp.c struct atalk_iface *tmp; tmp 207 net/appletalk/ddp.c while ((tmp = *iface) != NULL) { tmp 208 net/appletalk/ddp.c if (tmp->dev == dev) { tmp 209 net/appletalk/ddp.c *iface = tmp->next; tmp 211 net/appletalk/ddp.c kfree(tmp); tmp 214 net/appletalk/ddp.c iface = &tmp->next; tmp 582 net/appletalk/ddp.c struct atalk_route *tmp; tmp 585 net/appletalk/ddp.c while ((tmp = *r) != NULL) { tmp 586 net/appletalk/ddp.c if (tmp->target.s_net == addr->s_net && tmp 587 net/appletalk/ddp.c (!(tmp->flags&RTF_GATEWAY) || tmp 588 net/appletalk/ddp.c tmp->target.s_node == addr->s_node)) { tmp 589 net/appletalk/ddp.c *r = tmp->next; tmp 590 net/appletalk/ddp.c dev_put(tmp->dev); tmp 591 net/appletalk/ddp.c kfree(tmp); tmp 594 net/appletalk/ddp.c r = &tmp->next; tmp 609 net/appletalk/ddp.c struct atalk_route *tmp; tmp 612 net/appletalk/ddp.c while ((tmp = *r) != NULL) { tmp 613 net/appletalk/ddp.c if (tmp->dev == dev) { tmp 614 net/appletalk/ddp.c *r = tmp->next; tmp 616 net/appletalk/ddp.c kfree(tmp); tmp 618 net/appletalk/ddp.c r = &tmp->next; tmp 228 net/atm/common.c struct sk_buff *skb, *tmp; tmp 238 net/atm/common.c skb_queue_walk_safe(&queue, skb, tmp) { tmp 269 net/atm/common.c struct hlist_node *tmp; tmp 273 net/atm/common.c sk_for_each_safe(s, tmp, head) { tmp 349 net/atm/lec.c char *tmp; /* FIXME */ tmp 353 net/atm/lec.c tmp = skb->data; tmp 354 net/atm/lec.c tmp += sizeof(struct atmlec_msg); tmp 394 net/atm/lec.c tmp, mesg->sizeoftlvs); tmp 1285 net/atm/lec.c struct hlist_head *tmp; tmp 1287 net/atm/lec.c tmp = &priv->lec_arp_tables[HASH(entry->mac_addr[ETH_ALEN - 1])]; tmp 1288 net/atm/lec.c hlist_add_head(&entry->next, tmp); tmp 1844 net/atm/lec.c struct lec_arp_table *entry, *tmp; tmp 1863 net/atm/lec.c tmp = lec_arp_find(priv, mac_addr); tmp 1864 net/atm/lec.c if (tmp) { tmp 1865 net/atm/lec.c del_timer(&tmp->timer); tmp 1866 net/atm/lec.c tmp->status = ESI_FORWARD_DIRECT; tmp 1867 net/atm/lec.c memcpy(tmp->atm_addr, atm_addr, ATM_ESA_LEN); tmp 1868 net/atm/lec.c tmp->vcc = entry->vcc; tmp 1869 net/atm/lec.c tmp->old_push = entry->old_push; tmp 1870 net/atm/lec.c tmp->last_used = jiffies; tmp 1873 net/atm/lec.c entry = tmp; tmp 1904 net/atm/lec.c hlist_for_each_entry(tmp, tmp 1906 net/atm/lec.c if (entry != tmp && tmp 1907 net/atm/lec.c !memcmp(tmp->atm_addr, atm_addr, ATM_ESA_LEN)) { tmp 1909 net/atm/lec.c if (tmp->status > ESI_VC_PENDING) { tmp 1914 net/atm/lec.c entry->vcc = tmp->vcc; tmp 1915 net/atm/lec.c entry->old_push = tmp->old_push; tmp 1917 net/atm/lec.c entry->status = tmp->status; tmp 2244 net/atm/lec.c struct lec_arp_table *entry, *tmp; tmp 2257 net/atm/lec.c tmp = lec_arp_find(priv, src); tmp 2258 net/atm/lec.c if (tmp) { tmp 2259 net/atm/lec.c lec_arp_remove(priv, tmp); tmp 2260 net/atm/lec.c lec_arp_put(tmp); tmp 692 net/atm/mpc.c char *tmp; tmp 738 net/atm/mpc.c tmp = skb->data + sizeof(struct llc_snap_hdr); tmp 739 net/atm/mpc.c tag = *(__be32 *)tmp; tmp 1490 net/atm/mpc.c struct mpoa_client *mpc, *tmp; tmp 1503 net/atm/mpc.c tmp = mpc->next; tmp 1518 net/atm/mpc.c ddprintk("next mpc is at %p\n", tmp); tmp 1519 net/atm/mpc.c mpc = tmp; tmp 180 net/atm/resources.c struct atm_dev_stats tmp; tmp 183 net/atm/resources.c copy_aal_stats(&dev->stats.aal0, &tmp.aal0); tmp 184 net/atm/resources.c copy_aal_stats(&dev->stats.aal34, &tmp.aal34); tmp 185 net/atm/resources.c copy_aal_stats(&dev->stats.aal5, &tmp.aal5); tmp 187 net/atm/resources.c error = copy_to_user(arg, &tmp, sizeof(tmp)); tmp 189 net/atm/resources.c subtract_aal_stats(&dev->stats.aal0, &tmp.aal0); tmp 190 net/atm/resources.c subtract_aal_stats(&dev->stats.aal34, &tmp.aal34); tmp 191 net/atm/resources.c subtract_aal_stats(&dev->stats.aal5, &tmp.aal5); tmp 105 net/batman-adv/icmp_socket.c struct batadv_socket_packet *packet, *tmp; tmp 110 net/batman-adv/icmp_socket.c list_for_each_entry_safe(packet, tmp, &client->queue_list, list) { tmp 202 net/batman-adv/multicast.c struct br_ip_list *br_ip_entry, *tmp; tmp 217 net/batman-adv/multicast.c list_for_each_entry_safe(br_ip_entry, tmp, &bridge_mcast_list, list) { tmp 592 net/batman-adv/multicast.c struct br_ip_list *br_ip_entry, *tmp; tmp 650 net/batman-adv/multicast.c list_for_each_entry_safe(br_ip_entry, tmp, &bridge_mcast_list, list) { tmp 667 net/batman-adv/multicast.c struct hlist_node *tmp; tmp 669 net/batman-adv/multicast.c hlist_for_each_entry_safe(mcast_entry, tmp, mcast_list, list) { tmp 689 net/batman-adv/multicast.c struct hlist_node *tmp; tmp 691 net/batman-adv/multicast.c hlist_for_each_entry_safe(mcast_entry, tmp, &bat_priv->mcast.mla_list, tmp 719 net/batman-adv/multicast.c struct hlist_node *tmp; tmp 724 net/batman-adv/multicast.c hlist_for_each_entry_safe(mcast_entry, tmp, mcast_list, list) { tmp 116 net/batman-adv/originator.c struct batadv_orig_node_vlan *vlan = NULL, *tmp; tmp 119 net/batman-adv/originator.c hlist_for_each_entry_rcu(tmp, &orig_node->vlan_list, list) { tmp 120 net/batman-adv/originator.c if (tmp->vid != vid) tmp 123 net/batman-adv/originator.c if (!kref_get_unless_zero(&tmp->refcount)) tmp 126 net/batman-adv/originator.c vlan = tmp; tmp 368 net/batman-adv/originator.c struct batadv_orig_ifinfo *tmp, *orig_ifinfo = NULL; tmp 371 net/batman-adv/originator.c hlist_for_each_entry_rcu(tmp, &orig_node->ifinfo_list, tmp 373 net/batman-adv/originator.c if (tmp->if_outgoing != if_outgoing) tmp 376 net/batman-adv/originator.c if (!kref_get_unless_zero(&tmp->refcount)) tmp 379 net/batman-adv/originator.c orig_ifinfo = tmp; tmp 1208 net/bluetooth/6lowpan.c struct lowpan_btle_dev *entry, *tmp, *new_dev; tmp 1233 net/bluetooth/6lowpan.c list_for_each_entry_safe(entry, tmp, &devices, list) { tmp 364 net/bluetooth/a2mp.c struct amp_mgr *tmp; tmp 372 net/bluetooth/a2mp.c tmp = amp_mgr_lookup_by_state(READ_LOC_AMP_ASSOC); tmp 375 net/bluetooth/a2mp.c if (!hdev || hdev->amp_type == AMP_TYPE_BREDR || tmp) { tmp 379 net/bluetooth/a2mp.c if (tmp) { tmp 381 net/bluetooth/a2mp.c amp_mgr_put(tmp); tmp 64 net/bluetooth/ecdh_helper.c u8 *tmp; tmp 69 net/bluetooth/ecdh_helper.c tmp = kmalloc(64, GFP_KERNEL); tmp 70 net/bluetooth/ecdh_helper.c if (!tmp) tmp 81 net/bluetooth/ecdh_helper.c swap_digits((u64 *)public_key, (u64 *)tmp, 4); /* x */ tmp 82 net/bluetooth/ecdh_helper.c swap_digits((u64 *)&public_key[32], (u64 *)&tmp[32], 4); /* y */ tmp 84 net/bluetooth/ecdh_helper.c sg_init_one(&src, tmp, 64); tmp 101 net/bluetooth/ecdh_helper.c swap_digits((u64 *)secret, (u64 *)tmp, 4); tmp 102 net/bluetooth/ecdh_helper.c memcpy(secret, tmp, 32); tmp 107 net/bluetooth/ecdh_helper.c kzfree(tmp); tmp 124 net/bluetooth/ecdh_helper.c u8 *buf, *tmp = NULL; tmp 132 net/bluetooth/ecdh_helper.c tmp = kmalloc(32, GFP_KERNEL); tmp 133 net/bluetooth/ecdh_helper.c if (!tmp) tmp 135 net/bluetooth/ecdh_helper.c swap_digits((u64 *)private_key, (u64 *)tmp, 4); tmp 136 net/bluetooth/ecdh_helper.c p.key = tmp; tmp 156 net/bluetooth/ecdh_helper.c kzfree(tmp); tmp 171 net/bluetooth/ecdh_helper.c u8 *tmp; tmp 176 net/bluetooth/ecdh_helper.c tmp = kmalloc(64, GFP_KERNEL); tmp 177 net/bluetooth/ecdh_helper.c if (!tmp) tmp 187 net/bluetooth/ecdh_helper.c sg_init_one(&dst, tmp, 64); tmp 204 net/bluetooth/ecdh_helper.c swap_digits((u64 *)tmp, (u64 *)public_key, 4); /* x */ tmp 205 net/bluetooth/ecdh_helper.c swap_digits((u64 *)&tmp[32], (u64 *)&public_key[32], 4); /* y */ tmp 210 net/bluetooth/ecdh_helper.c kfree(tmp); tmp 2276 net/bluetooth/hci_core.c struct bt_uuid *uuid, *tmp; tmp 2278 net/bluetooth/hci_core.c list_for_each_entry_safe(uuid, tmp, &hdev->uuids, list) { tmp 3117 net/bluetooth/hci_core.c struct hci_conn_params *params, *tmp; tmp 3119 net/bluetooth/hci_core.c list_for_each_entry_safe(params, tmp, &hdev->le_conn_params, list) { tmp 3141 net/bluetooth/hci_core.c struct hci_conn_params *params, *tmp; tmp 3143 net/bluetooth/hci_core.c list_for_each_entry_safe(params, tmp, &hdev->le_conn_params, list) tmp 3912 net/bluetooth/hci_core.c struct hci_chan *tmp; tmp 3922 net/bluetooth/hci_core.c list_for_each_entry_rcu(tmp, &conn->chan_list, list) { tmp 3925 net/bluetooth/hci_core.c if (skb_queue_empty(&tmp->data_q)) tmp 3928 net/bluetooth/hci_core.c skb = skb_peek(&tmp->data_q); tmp 3942 net/bluetooth/hci_core.c chan = tmp; tmp 4214 net/bluetooth/hci_core.c int quote, cnt, tmp; tmp 4230 net/bluetooth/hci_core.c tmp = cnt; tmp 4257 net/bluetooth/hci_core.c if (cnt != tmp) tmp 1440 net/bluetooth/l2cap_core.c struct l2cap_chan *chan, *tmp; tmp 1446 net/bluetooth/l2cap_core.c list_for_each_entry_safe(chan, tmp, &conn->chan_l, list) { tmp 2171 net/bluetooth/l2cap_core.c struct sk_buff *tmp; tmp 2175 net/bluetooth/l2cap_core.c tmp = chan->ops->alloc_skb(chan, 0, count, tmp 2177 net/bluetooth/l2cap_core.c if (IS_ERR(tmp)) tmp 2178 net/bluetooth/l2cap_core.c return PTR_ERR(tmp); tmp 2180 net/bluetooth/l2cap_core.c *frag = tmp; tmp 2128 net/bluetooth/mgmt.c struct bt_uuid *match, *tmp; tmp 2158 net/bluetooth/mgmt.c list_for_each_entry_safe(match, tmp, &hdev->uuids, list) { tmp 5777 net/bluetooth/mgmt.c struct hci_conn_params *p, *tmp; tmp 5796 net/bluetooth/mgmt.c list_for_each_entry_safe(p, tmp, &hdev->le_conn_params, list) { tmp 220 net/bluetooth/mgmt_util.c struct mgmt_pending_cmd *cmd, *tmp; tmp 222 net/bluetooth/mgmt_util.c list_for_each_entry_safe(cmd, tmp, &hdev->mgmt_pending, list) { tmp 145 net/bluetooth/selftest.c u8 *tmp, *dhkey_a, *dhkey_b; tmp 148 net/bluetooth/selftest.c tmp = kmalloc(64, GFP_KERNEL); tmp 149 net/bluetooth/selftest.c if (!tmp) tmp 152 net/bluetooth/selftest.c dhkey_a = &tmp[0]; tmp 153 net/bluetooth/selftest.c dhkey_b = &tmp[32]; tmp 180 net/bluetooth/selftest.c kfree(tmp); tmp 172 net/bluetooth/smp.c uint8_t tmp[16], mac_msb[16], msg_msb[CMAC_MSG_MAX]; tmp 187 net/bluetooth/smp.c swap_buf(k, tmp, 16); tmp 193 net/bluetooth/smp.c err = crypto_shash_setkey(tfm, tmp, 16); tmp 320 net/bluetooth/smp.c u8 m[80], tmp[16]; tmp 331 net/bluetooth/smp.c err = aes_cmac(tfm_cmac, x, m, sizeof(m), tmp); tmp 335 net/bluetooth/smp.c *val = get_unaligned_le32(tmp); tmp 382 net/bluetooth/smp.c uint8_t tmp[16], data[16]; tmp 388 net/bluetooth/smp.c swap_buf(k, tmp, 16); tmp 390 net/bluetooth/smp.c err = aes_expandkey(&ctx, tmp, 16); tmp 200 net/bridge/br_device.c struct pcpu_sw_netstats tmp, sum = { 0 }; tmp 209 net/bridge/br_device.c memcpy(&tmp, bstats, sizeof(tmp)); tmp 211 net/bridge/br_device.c sum.tx_bytes += tmp.tx_bytes; tmp 212 net/bridge/br_device.c sum.tx_packets += tmp.tx_packets; tmp 213 net/bridge/br_device.c sum.rx_bytes += tmp.rx_bytes; tmp 214 net/bridge/br_device.c sum.rx_packets += tmp.rx_packets; tmp 372 net/bridge/br_fdb.c struct hlist_node *tmp; tmp 375 net/bridge/br_fdb.c hlist_for_each_entry_safe(f, tmp, &br->fdb_list, fdb_node) { tmp 392 net/bridge/br_fdb.c struct hlist_node *tmp; tmp 395 net/bridge/br_fdb.c hlist_for_each_entry_safe(f, tmp, &br->fdb_list, fdb_node) { tmp 1058 net/bridge/br_fdb.c struct net_bridge_fdb_entry *f, *tmp; tmp 1079 net/bridge/br_fdb.c hlist_for_each_entry_rcu(tmp, &br->fdb_list, fdb_node) { tmp 1081 net/bridge/br_fdb.c if (!tmp->is_static) tmp 1083 net/bridge/br_fdb.c if (tmp == f) tmp 1085 net/bridge/br_fdb.c dev_uc_del(p->dev, tmp->key.addr.addr); tmp 1927 net/bridge/br_multicast.c struct hlist_node *tmp; tmp 1930 net/bridge/br_multicast.c hlist_for_each_entry_safe(mp, tmp, &br->mdb_list, mdb_node) { tmp 385 net/bridge/br_vlan.c struct net_bridge_vlan *vlan, *tmp; tmp 388 net/bridge/br_vlan.c list_for_each_entry_safe(vlan, tmp, &vg->vlan_list, vlist) tmp 129 net/bridge/br_vlan_tunnel.c struct net_bridge_vlan *vlan, *tmp; tmp 131 net/bridge/br_vlan_tunnel.c list_for_each_entry_safe(vlan, tmp, &vg->vlan_list, vlist) tmp 43 net/bridge/netfilter/ebt_mark.c int tmp; tmp 45 net/bridge/netfilter/ebt_mark.c tmp = info->target | ~EBT_VERDICT_BITS; tmp 46 net/bridge/netfilter/ebt_mark.c if (BASE_CHAIN && tmp == EBT_RETURN) tmp 48 net/bridge/netfilter/ebt_mark.c if (ebt_invalid_target(tmp)) tmp 50 net/bridge/netfilter/ebt_mark.c tmp = info->target & ~EBT_VERDICT_BITS; tmp 51 net/bridge/netfilter/ebt_mark.c if (tmp != MARK_SET_VALUE && tmp != MARK_OR_VALUE && tmp 52 net/bridge/netfilter/ebt_mark.c tmp != MARK_AND_VALUE && tmp != MARK_XOR_VALUE) tmp 49 net/bridge/netfilter/ebt_snat.c int tmp; tmp 51 net/bridge/netfilter/ebt_snat.c tmp = info->target | ~EBT_VERDICT_BITS; tmp 52 net/bridge/netfilter/ebt_snat.c if (BASE_CHAIN && tmp == EBT_RETURN) tmp 55 net/bridge/netfilter/ebt_snat.c if (ebt_invalid_target(tmp)) tmp 57 net/bridge/netfilter/ebt_snat.c tmp = info->target | EBT_VERDICT_BITS; tmp 58 net/bridge/netfilter/ebt_snat.c if ((tmp & ~NAT_ARP_BIT) != ~NAT_ARP_BIT) tmp 1077 net/bridge/netfilter/ebtables.c struct ebt_replace tmp; tmp 1079 net/bridge/netfilter/ebtables.c if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) tmp 1082 net/bridge/netfilter/ebtables.c if (len != sizeof(tmp) + tmp.entries_size) tmp 1085 net/bridge/netfilter/ebtables.c if (tmp.entries_size == 0) tmp 1089 net/bridge/netfilter/ebtables.c if (tmp.nentries >= ((INT_MAX - sizeof(struct ebt_table_info)) / tmp 1092 net/bridge/netfilter/ebtables.c if (tmp.num_counters >= INT_MAX / sizeof(struct ebt_counter)) tmp 1095 net/bridge/netfilter/ebtables.c tmp.name[sizeof(tmp.name) - 1] = 0; tmp 1097 net/bridge/netfilter/ebtables.c countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; tmp 1106 net/bridge/netfilter/ebtables.c newinfo->entries = __vmalloc(tmp.entries_size, GFP_KERNEL_ACCOUNT, tmp 1113 net/bridge/netfilter/ebtables.c newinfo->entries, tmp.entries, tmp.entries_size) != 0) { tmp 1118 net/bridge/netfilter/ebtables.c ret = do_replace_finish(net, &tmp, newinfo); tmp 1254 net/bridge/netfilter/ebtables.c struct ebt_counter *tmp; tmp 1260 net/bridge/netfilter/ebtables.c tmp = vmalloc(array_size(num_counters, sizeof(*tmp))); tmp 1261 net/bridge/netfilter/ebtables.c if (!tmp) tmp 1273 net/bridge/netfilter/ebtables.c if (copy_from_user(tmp, counters, num_counters * sizeof(*counters))) { tmp 1283 net/bridge/netfilter/ebtables.c ADD_COUNTER(t->private->counters[i], tmp[i].bcnt, tmp[i].pcnt); tmp 1290 net/bridge/netfilter/ebtables.c vfree(tmp); tmp 1417 net/bridge/netfilter/ebtables.c struct ebt_replace tmp; tmp 1435 net/bridge/netfilter/ebtables.c if (copy_from_user(&tmp, user, sizeof(tmp))) tmp 1439 net/bridge/netfilter/ebtables.c (tmp.num_counters ? nentries * sizeof(struct ebt_counter) : 0)) tmp 1442 net/bridge/netfilter/ebtables.c if (tmp.nentries != nentries) tmp 1445 net/bridge/netfilter/ebtables.c if (tmp.entries_size != entries_size) tmp 1448 net/bridge/netfilter/ebtables.c ret = copy_counters_to_user(t, oldcounters, tmp.counters, tmp 1449 net/bridge/netfilter/ebtables.c tmp.num_counters, nentries); tmp 1455 net/bridge/netfilter/ebtables.c ebt_entry_to_user, entries, tmp.entries); tmp 1483 net/bridge/netfilter/ebtables.c struct ebt_replace tmp; tmp 1490 net/bridge/netfilter/ebtables.c if (copy_from_user(&tmp, user, sizeof(tmp))) tmp 1493 net/bridge/netfilter/ebtables.c tmp.name[sizeof(tmp.name) - 1] = '\0'; tmp 1495 net/bridge/netfilter/ebtables.c t = find_table_lock(net, tmp.name, &ret, &ebt_mutex); tmp 1508 net/bridge/netfilter/ebtables.c tmp.nentries = t->private->nentries; tmp 1509 net/bridge/netfilter/ebtables.c tmp.entries_size = t->private->entries_size; tmp 1510 net/bridge/netfilter/ebtables.c tmp.valid_hooks = t->valid_hooks; tmp 1512 net/bridge/netfilter/ebtables.c tmp.nentries = t->table->nentries; tmp 1513 net/bridge/netfilter/ebtables.c tmp.entries_size = t->table->entries_size; tmp 1514 net/bridge/netfilter/ebtables.c tmp.valid_hooks = t->table->valid_hooks; tmp 1517 net/bridge/netfilter/ebtables.c if (copy_to_user(user, &tmp, *len) != 0) { tmp 1803 net/bridge/netfilter/ebtables.c struct compat_ebt_replace repl, tmp; tmp 1823 net/bridge/netfilter/ebtables.c if (copy_from_user(&tmp, user, sizeof(tmp))) tmp 1826 net/bridge/netfilter/ebtables.c if (tmp.nentries != tinfo.nentries || tmp 1827 net/bridge/netfilter/ebtables.c (tmp.num_counters && tmp.num_counters != tinfo.nentries)) tmp 1830 net/bridge/netfilter/ebtables.c memcpy(&repl, &tmp, sizeof(repl)); tmp 1838 net/bridge/netfilter/ebtables.c if (*len != sizeof(tmp) + repl.entries_size + tmp 1839 net/bridge/netfilter/ebtables.c (tmp.num_counters? tinfo.nentries * sizeof(struct ebt_counter): 0)) { tmp 1846 net/bridge/netfilter/ebtables.c ret = copy_counters_to_user(t, oldcounters, compat_ptr(tmp.counters), tmp 1847 net/bridge/netfilter/ebtables.c tmp.num_counters, tinfo.nentries); tmp 1851 net/bridge/netfilter/ebtables.c pos = compat_ptr(tmp.entries); tmp 1853 net/bridge/netfilter/ebtables.c compat_copy_entry_to_user, &pos, &tmp.entries_size); tmp 2001 net/bridge/netfilter/ebtables.c char *tmp; tmp 2002 net/bridge/netfilter/ebtables.c tmp = state->buf_kern_start + state->buf_kern_offset; tmp 2003 net/bridge/netfilter/ebtables.c match_kern = (struct ebt_entry_match *) tmp; tmp 2169 net/bridge/netfilter/ebtables.c struct compat_ebt_replace tmp; tmp 2172 net/bridge/netfilter/ebtables.c if (len < sizeof(tmp)) tmp 2175 net/bridge/netfilter/ebtables.c if (copy_from_user(&tmp, user, sizeof(tmp))) tmp 2178 net/bridge/netfilter/ebtables.c if (len != sizeof(tmp) + tmp.entries_size) tmp 2181 net/bridge/netfilter/ebtables.c if (tmp.entries_size == 0) tmp 2184 net/bridge/netfilter/ebtables.c if (tmp.nentries >= ((INT_MAX - sizeof(struct ebt_table_info)) / tmp 2187 net/bridge/netfilter/ebtables.c if (tmp.num_counters >= INT_MAX / sizeof(struct ebt_counter)) tmp 2190 net/bridge/netfilter/ebtables.c memcpy(repl, &tmp, offsetof(struct ebt_replace, hook_entry)); tmp 2194 net/bridge/netfilter/ebtables.c repl->hook_entry[i] = compat_ptr(tmp.hook_entry[i]); tmp 2196 net/bridge/netfilter/ebtables.c repl->num_counters = tmp.num_counters; tmp 2197 net/bridge/netfilter/ebtables.c repl->counters = compat_ptr(tmp.counters); tmp 2198 net/bridge/netfilter/ebtables.c repl->entries = compat_ptr(tmp.entries); tmp 2207 net/bridge/netfilter/ebtables.c struct ebt_replace tmp; tmp 2211 net/bridge/netfilter/ebtables.c ret = compat_copy_ebt_replace_from_user(&tmp, user, len); tmp 2219 net/bridge/netfilter/ebtables.c countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; tmp 2229 net/bridge/netfilter/ebtables.c newinfo->entries = vmalloc(tmp.entries_size); tmp 2235 net/bridge/netfilter/ebtables.c newinfo->entries, tmp.entries, tmp.entries_size) != 0) { tmp 2244 net/bridge/netfilter/ebtables.c ret = ebt_compat_init_offsets(tmp.nentries); tmp 2248 net/bridge/netfilter/ebtables.c ret = compat_copy_entries(entries_tmp, tmp.entries_size, &state); tmp 2253 net/bridge/netfilter/ebtables.c tmp.entries_size, state.buf_kern_offset, state.buf_user_offset, tmp 2254 net/bridge/netfilter/ebtables.c xt_compat_calc_jump(NFPROTO_BRIDGE, tmp.entries_size)); tmp 2268 net/bridge/netfilter/ebtables.c ret = compat_copy_entries(entries_tmp, tmp.entries_size, &state); tmp 2275 net/bridge/netfilter/ebtables.c tmp.entries_size = size64; tmp 2279 net/bridge/netfilter/ebtables.c if (tmp.hook_entry[i]) { tmp 2281 net/bridge/netfilter/ebtables.c usrptr = (char __user *) tmp.hook_entry[i]; tmp 2282 net/bridge/netfilter/ebtables.c delta = usrptr - tmp.entries; tmp 2284 net/bridge/netfilter/ebtables.c tmp.hook_entry[i] = (struct ebt_entries __user *)usrptr; tmp 2291 net/bridge/netfilter/ebtables.c ret = do_replace_finish(net, &tmp, newinfo); tmp 2347 net/bridge/netfilter/ebtables.c struct compat_ebt_replace tmp; tmp 2356 net/bridge/netfilter/ebtables.c cmd == EBT_SO_GET_INIT_INFO) && *len != sizeof(tmp)) tmp 2359 net/bridge/netfilter/ebtables.c if (copy_from_user(&tmp, user, sizeof(tmp))) tmp 2362 net/bridge/netfilter/ebtables.c tmp.name[sizeof(tmp.name) - 1] = '\0'; tmp 2364 net/bridge/netfilter/ebtables.c t = find_table_lock(net, tmp.name, &ret, &ebt_mutex); tmp 2371 net/bridge/netfilter/ebtables.c tmp.nentries = t->private->nentries; tmp 2372 net/bridge/netfilter/ebtables.c ret = compat_table_info(t->private, &tmp); tmp 2375 net/bridge/netfilter/ebtables.c tmp.valid_hooks = t->valid_hooks; tmp 2377 net/bridge/netfilter/ebtables.c if (copy_to_user(user, &tmp, *len) != 0) { tmp 2384 net/bridge/netfilter/ebtables.c tmp.nentries = t->table->nentries; tmp 2385 net/bridge/netfilter/ebtables.c tmp.entries_size = t->table->entries_size; tmp 2386 net/bridge/netfilter/ebtables.c tmp.valid_hooks = t->table->valid_hooks; tmp 2388 net/bridge/netfilter/ebtables.c if (copy_to_user(user, &tmp, *len) != 0) { tmp 516 net/caif/caif_dev.c struct caif_device_entry *caifd, *tmp; tmp 524 net/caif/caif_dev.c list_for_each_entry_safe(caifd, tmp, &caifdevs->list, list) { tmp 62 net/caif/cfctrl.c struct cfctrl_request_info *p, *tmp; tmp 66 net/caif/cfctrl.c list_for_each_entry_safe(p, tmp, &ctrl->list, list) { tmp 143 net/caif/cfctrl.c struct cfctrl_request_info *p, *tmp, *first; tmp 147 net/caif/cfctrl.c list_for_each_entry_safe(p, tmp, &ctrl->list, list) { tmp 333 net/caif/cfctrl.c struct cfctrl_request_info *p, *tmp; tmp 338 net/caif/cfctrl.c list_for_each_entry_safe(p, tmp, &ctrl->list, list) { tmp 379 net/caif/cfctrl.c u8 tmp; tmp 385 net/caif/cfctrl.c tmp = cfpkt_extr_head_u8(pkt); tmp 387 net/caif/cfctrl.c serv = tmp & CFCTRL_SRV_MASK; tmp 390 net/caif/cfctrl.c servtype = tmp >> 4; tmp 393 net/caif/cfctrl.c tmp = cfpkt_extr_head_u8(pkt); tmp 394 net/caif/cfctrl.c physlinkid = tmp & 0x07; tmp 395 net/caif/cfctrl.c prio = tmp >> 3; tmp 411 net/caif/cfctrl.c tmp = cfpkt_extr_head_u8(pkt); tmp 412 net/caif/cfctrl.c linkparam.u.video.connid = tmp; tmp 435 net/caif/cfctrl.c for (tmp = cfpkt_extr_head_u8(pkt); tmp 436 net/caif/cfctrl.c cfpkt_more(pkt) && tmp != '\0'; tmp 437 net/caif/cfctrl.c tmp = cfpkt_extr_head_u8(pkt)) tmp 438 net/caif/cfctrl.c *cp++ = tmp; tmp 465 net/caif/cfctrl.c tmp = cfpkt_extr_head_u8(pkt); tmp 466 net/caif/cfctrl.c *cp++ = tmp; tmp 474 net/caif/cfctrl.c tmp = cfpkt_extr_head_u8(pkt); tmp 475 net/caif/cfctrl.c *cp++ = tmp; tmp 564 net/caif/cfctrl.c struct cfctrl_request_info *p, *tmp; tmp 568 net/caif/cfctrl.c list_for_each_entry_safe(p, tmp, &this->list, list) { tmp 590 net/caif/cfctrl.c u8 linkid, linktype, tmp; tmp 618 net/caif/cfctrl.c tmp = 0x01; tmp 619 net/caif/cfctrl.c cfpkt_add_trail(pkt, &tmp, 1); tmp 620 net/caif/cfctrl.c cfpkt_add_trail(pkt, &tmp, 1); tmp 84 net/caif/cffrml.c u16 tmp; tmp 91 net/caif/cffrml.c cfpkt_extr_head(pkt, &tmp, 2); tmp 92 net/caif/cffrml.c len = le16_to_cpu(tmp); tmp 109 net/caif/cffrml.c cfpkt_extr_trail(pkt, &tmp, 2); tmp 110 net/caif/cffrml.c hdrchks = le16_to_cpu(tmp); tmp 113 net/caif/cffrml.c cfpkt_add_trail(pkt, &tmp, 2); tmp 302 net/caif/cfpkt_skbuff.c struct sk_buff *tmp; tmp 321 net/caif/cfpkt_skbuff.c tmp = pkt_to_skb(tmppkt); tmp 322 net/caif/cfpkt_skbuff.c skb_put_data(tmp, dst->data, dstlen); tmp 324 net/caif/cfpkt_skbuff.c dst = tmp; tmp 48 net/caif/cfrfml.c int tmp; tmp 60 net/caif/cfrfml.c tmp = (mtu_size - RFM_HEAD_SIZE - 6) / 16; tmp 61 net/caif/cfrfml.c tmp *= 16; tmp 63 net/caif/cfrfml.c this->fragment_size = tmp; tmp 99 net/caif/cfrfml.c u8 tmp; tmp 112 net/caif/cfrfml.c if (cfpkt_extr_head(pkt, &tmp, 1) < 0) tmp 114 net/caif/cfrfml.c segmented = tmp & RFM_SEGMENTATION_BIT; tmp 56 net/caif/cfserl.c u16 tmp; tmp 115 net/caif/cfserl.c cfpkt_peek_head(pkt, &tmp, 2); tmp 116 net/caif/cfserl.c expectlen = le16_to_cpu(tmp) + 2; tmp 77 net/caif/cfveil.c u8 tmp = 0; tmp 86 net/caif/cfveil.c if (cfpkt_add_head(pkt, &tmp, 1) < 0) { tmp 135 net/can/j1939/socket.c struct j1939_session *session, *tmp; tmp 139 net/can/j1939/socket.c list_for_each_entry_safe(session, tmp, &jsk->sk_session_queue, tmp 633 net/can/j1939/socket.c int tmp; tmp 635 net/can/j1939/socket.c if (optlen != sizeof(tmp)) tmp 637 net/can/j1939/socket.c if (copy_from_user(&tmp, optval, optlen)) tmp 640 net/can/j1939/socket.c if (tmp) tmp 645 net/can/j1939/socket.c return tmp; tmp 653 net/can/j1939/socket.c int tmp, count = 0, ret = 0; tmp 704 net/can/j1939/socket.c if (optlen != sizeof(tmp)) tmp 706 net/can/j1939/socket.c if (copy_from_user(&tmp, optval, optlen)) tmp 708 net/can/j1939/socket.c if (tmp < 0 || tmp > 7) tmp 710 net/can/j1939/socket.c if (tmp < 2 && !capable(CAP_NET_ADMIN)) tmp 713 net/can/j1939/socket.c jsk->sk.sk_priority = j1939_to_sk_priority(tmp); tmp 728 net/can/j1939/socket.c int tmp = 0; tmp 729 net/can/j1939/socket.c int len = sizeof(tmp); tmp 730 net/can/j1939/socket.c void *val = &tmp; tmp 742 net/can/j1939/socket.c tmp = (jsk->state & J1939_SOCK_PROMISC) ? 1 : 0; tmp 745 net/can/j1939/socket.c tmp = (jsk->state & J1939_SOCK_ERRQUEUE) ? 1 : 0; tmp 748 net/can/j1939/socket.c tmp = j1939_prio(jsk->sk.sk_priority); tmp 545 net/can/j1939/transport.c u8 tmp = 0; tmp 552 net/can/j1939/transport.c tmp |= J1939_ECU_LOCAL_DST; tmp 554 net/can/j1939/transport.c tmp |= J1939_ECU_LOCAL_SRC; tmp 556 net/can/j1939/transport.c skcb->flags |= tmp; tmp 220 net/ceph/ceph_common.c char tmp[3]; tmp 225 net/ceph/ceph_common.c tmp[2] = 0; tmp 233 net/ceph/ceph_common.c tmp[0] = str[0]; tmp 234 net/ceph/ceph_common.c tmp[1] = str[1]; tmp 235 net/ceph/ceph_common.c if (sscanf(tmp, "%x", &d) < 1) tmp 909 net/ceph/crush/mapper.c int *tmp; tmp 1076 net/ceph/crush/mapper.c tmp = o; tmp 1078 net/ceph/crush/mapper.c w = tmp; tmp 130 net/compat.c __kernel_size_t kcmlen, tmp; tmp 147 net/compat.c tmp = ((ucmlen - sizeof(*ucmsg)) + sizeof(struct cmsghdr)); tmp 148 net/compat.c tmp = CMSG_ALIGN(tmp); tmp 149 net/compat.c kcmlen += tmp; tmp 173 net/compat.c tmp = ((ucmlen - sizeof(*ucmsg)) + sizeof(struct cmsghdr)); tmp 174 net/compat.c if ((char *)kcmsg_base + kcmlen - (char *)kcmsg < CMSG_ALIGN(tmp)) tmp 176 net/compat.c kcmsg->cmsg_len = tmp; tmp 177 net/compat.c tmp = CMSG_ALIGN(tmp); tmp 186 net/compat.c kcmsg = (struct cmsghdr *)((char *)kcmsg + tmp); tmp 1425 net/core/dev.c struct net_device *dev, *tmp; tmp 1428 net/core/dev.c list_for_each_entry_safe(dev, tmp, head, close_list) tmp 1434 net/core/dev.c list_for_each_entry_safe(dev, tmp, head, close_list) { tmp 3095 net/core/dev.c int tmp; tmp 3098 net/core/dev.c type = skb_network_protocol(skb, &tmp); tmp 5223 net/core/dev.c struct sk_buff *skb, *tmp; tmp 5231 net/core/dev.c skb_queue_walk_safe(&sd->input_pkt_queue, skb, tmp) { tmp 5241 net/core/dev.c skb_queue_walk_safe(&sd->process_queue, skb, tmp) { tmp 8480 net/core/dev.c struct net_device *dev, *tmp; tmp 8486 net/core/dev.c list_for_each_entry_safe(dev, tmp, head, unreg_list) { tmp 173 net/core/dev_addr_lists.c struct netdev_hw_addr *ha, *tmp; tmp 175 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &from_list->list, list) { tmp 197 net/core/dev_addr_lists.c struct netdev_hw_addr *ha, *tmp; tmp 199 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &from_list->list, list) { tmp 215 net/core/dev_addr_lists.c struct netdev_hw_addr *ha, *tmp; tmp 217 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &from_list->list, list) { tmp 243 net/core/dev_addr_lists.c struct netdev_hw_addr *ha, *tmp; tmp 247 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 260 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 299 net/core/dev_addr_lists.c struct netdev_hw_addr *ha, *tmp; tmp 303 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 319 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 356 net/core/dev_addr_lists.c struct netdev_hw_addr *ha, *tmp; tmp 358 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 390 net/core/dev_addr_lists.c struct netdev_hw_addr *ha, *tmp; tmp 392 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 408 net/core/dev_addr_lists.c struct netdev_hw_addr *ha, *tmp; tmp 410 net/core/dev_addr_lists.c list_for_each_entry_safe(ha, tmp, &list->list, list) { tmp 4146 net/core/devlink.c struct devlink_fmsg_item *item, *tmp; tmp 4148 net/core/devlink.c list_for_each_entry_safe(item, tmp, &fmsg->item_list, list) { tmp 4471 net/core/devlink.c u8 tmp; tmp 4476 net/core/devlink.c tmp = *(bool *) msg->value; tmp 4478 net/core/devlink.c return nla_put_u8(skb, attrtype, tmp); tmp 6861 net/core/devlink.c struct devlink_resource *tmp, *child_resource; tmp 6872 net/core/devlink.c list_for_each_entry_safe(child_resource, tmp, resource_list, list) { tmp 1481 net/core/drop_monitor.c struct dm_hw_stat_delta *tmp; tmp 1498 net/core/drop_monitor.c list_for_each_entry_safe(new_stat, tmp, &hw_stats_list, list) { tmp 2105 net/core/ethtool.c struct ethtool_dump dump, tmp; tmp 2115 net/core/ethtool.c memset(&tmp, 0, sizeof(tmp)); tmp 2116 net/core/ethtool.c tmp.cmd = ETHTOOL_GET_DUMP_FLAG; tmp 2117 net/core/ethtool.c ret = ops->get_dump_flag(dev, &tmp); tmp 2121 net/core/ethtool.c len = min(tmp.len, dump.len); tmp 2134 net/core/ethtool.c data = vzalloc(tmp.len); tmp 2148 net/core/ethtool.c WARN_ON(dump.len != len && dump.len != tmp.len); tmp 2378 net/core/ethtool.c struct ethtool_coalesce *backup = NULL, *tmp = NULL; tmp 2389 net/core/ethtool.c tmp = backup = kmalloc_array(n_queue, sizeof(*backup), GFP_KERNEL); tmp 2396 net/core/ethtool.c ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, tmp); tmp 2400 net/core/ethtool.c tmp++; tmp 2416 net/core/ethtool.c tmp = backup; tmp 2418 net/core/ethtool.c dev->ethtool_ops->set_per_queue_coalesce(dev, i, tmp); tmp 2419 net/core/ethtool.c tmp++; tmp 174 net/core/fib_rules.c struct fib_rule *rule, *tmp; tmp 176 net/core/fib_rules.c list_for_each_entry_safe(rule, tmp, &ops->rules_list, list) { tmp 181 net/core/filter.c u8 tmp, *ptr; tmp 182 net/core/filter.c const int len = sizeof(tmp); tmp 187 net/core/filter.c if (!skb_copy_bits(skb, offset, &tmp, sizeof(tmp))) tmp 188 net/core/filter.c return tmp; tmp 208 net/core/filter.c u16 tmp, *ptr; tmp 209 net/core/filter.c const int len = sizeof(tmp); tmp 214 net/core/filter.c if (!skb_copy_bits(skb, offset, &tmp, sizeof(tmp))) tmp 215 net/core/filter.c return be16_to_cpu(tmp); tmp 235 net/core/filter.c u32 tmp, *ptr; tmp 236 net/core/filter.c const int len = sizeof(tmp); tmp 241 net/core/filter.c if (!skb_copy_bits(skb, offset, &tmp, sizeof(tmp))) tmp 242 net/core/filter.c return be32_to_cpu(tmp); tmp 755 net/core/filter.c struct sock_filter tmp = { tmp 765 net/core/filter.c convert_bpf_ld_abs(&tmp, &insn); tmp 2492 net/core/filter.c struct scatterlist tmp, sge; tmp 2497 net/core/filter.c tmp = sk_msg_elem_cpy(msg, i); tmp 2502 net/core/filter.c sge = tmp; tmp 2503 net/core/filter.c tmp = sk_msg_elem_cpy(msg, i); tmp 4034 net/core/filter.c struct metadata_dst __percpu *tmp; tmp 4036 net/core/filter.c tmp = metadata_dst_alloc_percpu(IP_TUNNEL_OPTS_MAX, tmp 4039 net/core/filter.c if (!tmp) tmp 4041 net/core/filter.c if (cmpxchg(&md_dst, NULL, tmp)) tmp 4042 net/core/filter.c metadata_dst_free_percpu(tmp); tmp 225 net/core/neighbour.c struct neighbour *n, *tmp; tmp 232 net/core/neighbour.c list_for_each_entry_safe(n, tmp, &tbl->gc_list, gc_list) { tmp 3382 net/core/neighbour.c struct ctl_table tmp = *ctl; tmp 3384 net/core/neighbour.c tmp.extra1 = SYSCTL_ZERO; tmp 3385 net/core/neighbour.c tmp.extra2 = &unres_qlen_max; tmp 3386 net/core/neighbour.c tmp.data = &size; tmp 3389 net/core/neighbour.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 3446 net/core/neighbour.c struct ctl_table tmp = *ctl; tmp 3449 net/core/neighbour.c tmp.extra1 = SYSCTL_ZERO; tmp 3450 net/core/neighbour.c tmp.extra2 = SYSCTL_INT_MAX; tmp 3452 net/core/neighbour.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 408 net/core/net-sysfs.c char tmp[IFALIASZ]; tmp 411 net/core/net-sysfs.c ret = dev_get_alias(netdev, tmp, sizeof(tmp)); tmp 413 net/core/net-sysfs.c ret = sprintf(buf, "%s\n", tmp); tmp 521 net/core/net_namespace.c struct net *tmp; tmp 528 net/core/net_namespace.c for_each_net(tmp) { tmp 531 net/core/net_namespace.c spin_lock_bh(&tmp->nsid_lock); tmp 532 net/core/net_namespace.c id = __peernet2id(tmp, net); tmp 534 net/core/net_namespace.c idr_remove(&tmp->netns_ids, id); tmp 535 net/core/net_namespace.c spin_unlock_bh(&tmp->nsid_lock); tmp 537 net/core/net_namespace.c rtnl_net_notifyid(tmp, RTM_DELNSID, id, 0, NULL, tmp 539 net/core/net_namespace.c if (tmp == last) tmp 552 net/core/net_namespace.c struct net *net, *tmp, *last; tmp 611 net/core/net_namespace.c list_for_each_entry_safe(net, tmp, &net_exit_list, exit_list) { tmp 807 net/core/pktgen.c __u32 tmp; tmp 808 net/core/pktgen.c len = hex32_arg(&buffer[i], 8, &tmp); tmp 811 net/core/pktgen.c pkt_dev->labels[n] = htonl(tmp); tmp 866 net/core/pktgen.c int tmp = 0; tmp 877 net/core/pktgen.c tmp = count_trail_chars(user_buffer, max); tmp 878 net/core/pktgen.c if (tmp < 0) { tmp 880 net/core/pktgen.c return tmp; tmp 882 net/core/pktgen.c i = tmp; tmp 2304 net/core/pktgen.c __u32 tmp; tmp 2315 net/core/pktgen.c tmp = pkt_dev->src_mac[5] + (mc & 0xFF); tmp 2316 net/core/pktgen.c pkt_dev->hh[11] = tmp; tmp 2317 net/core/pktgen.c tmp = (pkt_dev->src_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8)); tmp 2318 net/core/pktgen.c pkt_dev->hh[10] = tmp; tmp 2319 net/core/pktgen.c tmp = (pkt_dev->src_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8)); tmp 2320 net/core/pktgen.c pkt_dev->hh[9] = tmp; tmp 2321 net/core/pktgen.c tmp = (pkt_dev->src_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8)); tmp 2322 net/core/pktgen.c pkt_dev->hh[8] = tmp; tmp 2323 net/core/pktgen.c tmp = (pkt_dev->src_mac[1] + (tmp >> 8)); tmp 2324 net/core/pktgen.c pkt_dev->hh[7] = tmp; tmp 2330 net/core/pktgen.c __u32 tmp; tmp 2343 net/core/pktgen.c tmp = pkt_dev->dst_mac[5] + (mc & 0xFF); tmp 2344 net/core/pktgen.c pkt_dev->hh[5] = tmp; tmp 2345 net/core/pktgen.c tmp = (pkt_dev->dst_mac[4] + ((mc >> 8) & 0xFF) + (tmp >> 8)); tmp 2346 net/core/pktgen.c pkt_dev->hh[4] = tmp; tmp 2347 net/core/pktgen.c tmp = (pkt_dev->dst_mac[3] + ((mc >> 16) & 0xFF) + (tmp >> 8)); tmp 2348 net/core/pktgen.c pkt_dev->hh[3] = tmp; tmp 2349 net/core/pktgen.c tmp = (pkt_dev->dst_mac[2] + ((mc >> 24) & 0xFF) + (tmp >> 8)); tmp 2350 net/core/pktgen.c pkt_dev->hh[2] = tmp; tmp 2351 net/core/pktgen.c tmp = (pkt_dev->dst_mac[1] + (tmp >> 8)); tmp 2352 net/core/pktgen.c pkt_dev->hh[1] = tmp; tmp 765 net/core/rtnetlink.c char tmp[TCP_CA_NAME_MAX], *name; tmp 767 net/core/rtnetlink.c name = tcp_ca_get_name_by_key(metrics[i], tmp); tmp 1861 net/core/skbuff.c void *tmp = skb_tail_pointer(skb); tmp 1867 net/core/skbuff.c return tmp; tmp 537 net/core/skmsg.c struct sk_msg *msg, *tmp; tmp 539 net/core/skmsg.c list_for_each_entry_safe(msg, tmp, &psock->ingress_msg, list) { tmp 554 net/core/skmsg.c struct sk_psock_link *link, *tmp; tmp 556 net/core/skmsg.c list_for_each_entry_safe(link, tmp, &psock->link, list) { tmp 109 net/core/sock_map.c struct sk_psock_link *link, *tmp; tmp 113 net/core/sock_map.c list_for_each_entry_safe(link, tmp, &psock->link, list) { tmp 52 net/core/sysctl_net_core.c struct ctl_table tmp = { tmp 66 net/core/sysctl_net_core.c ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); tmp 271 net/core/sysctl_net_core.c struct ctl_table tmp = *table; tmp 276 net/core/sysctl_net_core.c tmp.data = &jit_enable; tmp 277 net/core/sysctl_net_core.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 255 net/decnet/dn_dev.c int tmp, old; tmp 276 net/decnet/dn_dev.c tmp = dn_db->parms.forwarding; tmp 280 net/decnet/dn_dev.c dn_db->parms.forwarding = tmp; tmp 172 net/decnet/dn_route.c __u16 tmp = (__u16 __force)(src ^ dst); tmp 173 net/decnet/dn_route.c tmp ^= (tmp >> 3); tmp 174 net/decnet/dn_route.c tmp ^= (tmp >> 5); tmp 175 net/decnet/dn_route.c tmp ^= (tmp >> 10); tmp 176 net/decnet/dn_route.c return dn_rt_hash_mask & (unsigned int)tmp; tmp 459 net/decnet/dn_route.c unsigned char tmp[ETH_ALEN]; tmp 486 net/decnet/dn_route.c memcpy(tmp, src_addr, ETH_ALEN); tmp 488 net/decnet/dn_route.c memcpy(dst_addr, tmp, ETH_ALEN); tmp 897 net/decnet/dn_route.c __u16 tmp = le16_to_cpu(addr1) ^ le16_to_cpu(addr2); tmp 899 net/decnet/dn_route.c while(tmp) { tmp 900 net/decnet/dn_route.c tmp >>= 1; tmp 780 net/decnet/dn_table.c int tmp = 0; tmp 782 net/decnet/dn_table.c tmp += dn_flush_list(&dz->dz_hash[i], dz->dz_order, table); tmp 783 net/decnet/dn_table.c dz->dz_nent -= tmp; tmp 784 net/decnet/dn_table.c found += tmp; tmp 361 net/hsr/hsr_device.c struct hsr_port *tmp; tmp 367 net/hsr/hsr_device.c list_for_each_entry_safe(port, tmp, &hsr->ports, port_list) tmp 438 net/hsr/hsr_device.c struct hsr_port *tmp; tmp 505 net/hsr/hsr_device.c list_for_each_entry_safe(port, tmp, &hsr->ports, port_list) tmp 124 net/hsr/hsr_framereg.c struct hsr_node *tmp; tmp 126 net/hsr/hsr_framereg.c list_for_each_entry_safe(node, tmp, node_db, mac_list) tmp 389 net/hsr/hsr_framereg.c struct hsr_node *tmp; tmp 395 net/hsr/hsr_framereg.c list_for_each_entry_safe(node, tmp, &hsr->node_db, mac_list) { tmp 94 net/ieee802154/nl802154.c struct cfg802154_registered_device *rdev = NULL, *tmp; tmp 113 net/ieee802154/nl802154.c tmp = cfg802154_rdev_by_wpan_phy_idx(wpan_dev_id >> 32); tmp 114 net/ieee802154/nl802154.c if (tmp) { tmp 116 net/ieee802154/nl802154.c list_for_each_entry(wpan_dev, &tmp->wpan_dev_list, list) { tmp 124 net/ieee802154/nl802154.c tmp = NULL; tmp 126 net/ieee802154/nl802154.c if (rdev && tmp != rdev) tmp 128 net/ieee802154/nl802154.c rdev = tmp; tmp 138 net/ieee802154/nl802154.c tmp = wpan_phy_to_rdev( tmp 141 net/ieee802154/nl802154.c tmp = NULL; tmp 144 net/ieee802154/nl802154.c if (!tmp) tmp 148 net/ieee802154/nl802154.c if (rdev && tmp != rdev) tmp 151 net/ieee802154/nl802154.c rdev = tmp; tmp 265 net/ieee802154/nl802154.c struct wpan_dev *tmp; tmp 274 net/ieee802154/nl802154.c list_for_each_entry(tmp, &(*rdev)->wpan_dev_list, list) { tmp 275 net/ieee802154/nl802154.c if (tmp->identifier == cb->args[1]) { tmp 276 net/ieee802154/nl802154.c *wpan_dev = tmp; tmp 35 net/ieee802154/socket.c struct net_device *tmp; tmp 56 net/ieee802154/socket.c for_each_netdev(net, tmp) { tmp 57 net/ieee802154/socket.c if (tmp->type != ARPHRD_IEEE802154) tmp 60 net/ieee802154/socket.c pan_id = tmp->ieee802154_ptr->pan_id; tmp 61 net/ieee802154/socket.c short_addr = tmp->ieee802154_ptr->short_addr; tmp 64 net/ieee802154/socket.c dev = tmp; tmp 20 net/ipv4/ah4.c void *tmp; tmp 44 net/ipv4/ah4.c static inline u8 *ah_tmp_auth(void *tmp, unsigned int offset) tmp 46 net/ipv4/ah4.c return tmp + offset; tmp 49 net/ipv4/ah4.c static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, tmp 52 net/ipv4/ah4.c return PTR_ALIGN((u8 *)tmp + offset, crypto_ahash_alignmask(ahash) + 1); tmp 131 net/ipv4/ah4.c iph = AH_SKB_CB(skb)->tmp; tmp 143 net/ipv4/ah4.c kfree(AH_SKB_CB(skb)->tmp); tmp 237 net/ipv4/ah4.c AH_SKB_CB(skb)->tmp = iph; tmp 280 net/ipv4/ah4.c work_iph = AH_SKB_CB(skb)->tmp; tmp 299 net/ipv4/ah4.c kfree(AH_SKB_CB(skb)->tmp); tmp 412 net/ipv4/ah4.c AH_SKB_CB(skb)->tmp = work_iph; tmp 759 net/ipv4/devinet.c struct in_ifaddr *tmp; tmp 762 net/ipv4/devinet.c tmp = rtnl_dereference(*ifap); tmp 763 net/ipv4/devinet.c while (tmp) { tmp 764 net/ipv4/devinet.c if (tmp == ifa) { tmp 769 net/ipv4/devinet.c ifap = &tmp->ifa_next; tmp 770 net/ipv4/devinet.c tmp = rtnl_dereference(*ifap); tmp 26 net/ipv4/esp4.c void *tmp; tmp 66 net/ipv4/esp4.c static inline void *esp_tmp_extra(void *tmp) tmp 68 net/ipv4/esp4.c return PTR_ALIGN(tmp, __alignof__(struct esp_output_extra)); tmp 71 net/ipv4/esp4.c static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) tmp 74 net/ipv4/esp4.c PTR_ALIGN((u8 *)tmp + extralen, tmp 75 net/ipv4/esp4.c crypto_aead_alignmask(aead) + 1) : tmp + extralen; tmp 96 net/ipv4/esp4.c static void esp_ssg_unref(struct xfrm_state *x, void *tmp) tmp 98 net/ipv4/esp4.c struct esp_output_extra *extra = esp_tmp_extra(tmp); tmp 108 net/ipv4/esp4.c extra = esp_tmp_extra(tmp); tmp 109 net/ipv4/esp4.c iv = esp_tmp_iv(aead, tmp, extralen); tmp 124 net/ipv4/esp4.c void *tmp; tmp 135 net/ipv4/esp4.c tmp = ESP_SKB_CB(skb)->tmp; tmp 136 net/ipv4/esp4.c esp_ssg_unref(x, tmp); tmp 137 net/ipv4/esp4.c kfree(tmp); tmp 158 net/ipv4/esp4.c void *tmp = ESP_SKB_CB(skb)->tmp; tmp 159 net/ipv4/esp4.c __be32 *seqhi = esp_tmp_extra(tmp); tmp 167 net/ipv4/esp4.c void *tmp = ESP_SKB_CB(skb)->tmp; tmp 168 net/ipv4/esp4.c struct esp_output_extra *extra = esp_tmp_extra(tmp); tmp 369 net/ipv4/esp4.c void *tmp; tmp 393 net/ipv4/esp4.c tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen); tmp 394 net/ipv4/esp4.c if (!tmp) tmp 397 net/ipv4/esp4.c extra = esp_tmp_extra(tmp); tmp 398 net/ipv4/esp4.c iv = esp_tmp_iv(aead, tmp, extralen); tmp 458 net/ipv4/esp4.c ESP_SKB_CB(skb)->tmp = tmp; tmp 475 net/ipv4/esp4.c esp_ssg_unref(x, tmp); tmp 478 net/ipv4/esp4.c kfree(tmp); tmp 589 net/ipv4/esp4.c kfree(ESP_SKB_CB(skb)->tmp); tmp 707 net/ipv4/esp4.c void *tmp; tmp 747 net/ipv4/esp4.c tmp = esp_alloc_tmp(aead, nfrags, seqhilen); tmp 748 net/ipv4/esp4.c if (!tmp) tmp 751 net/ipv4/esp4.c ESP_SKB_CB(skb)->tmp = tmp; tmp 752 net/ipv4/esp4.c seqhi = esp_tmp_extra(tmp); tmp 753 net/ipv4/esp4.c iv = esp_tmp_iv(aead, tmp, seqhilen); tmp 762 net/ipv4/esp4.c kfree(tmp); tmp 200 net/ipv4/fib_frontend.c struct hlist_node *tmp; tmp 203 net/ipv4/fib_frontend.c hlist_for_each_entry_safe(tb, tmp, head, tb_hlist) tmp 1565 net/ipv4/fib_frontend.c struct hlist_node *tmp; tmp 1568 net/ipv4/fib_frontend.c hlist_for_each_entry_safe(tb, tmp, head, tb_hlist) { tmp 964 net/ipv4/fib_semantics.c char tmp[TCP_CA_NAME_MAX]; tmp 967 net/ipv4/fib_semantics.c nla_strlcpy(tmp, nla, sizeof(tmp)); tmp 968 net/ipv4/fib_semantics.c val = tcp_ca_get_key_by_name(fi->fib_net, tmp, &ecn_ca); tmp 1680 net/ipv4/fib_trie.c struct hlist_node *tmp; tmp 1718 net/ipv4/fib_trie.c hlist_for_each_entry_safe(fa, tmp, &n->leaf, fa_list) { tmp 1797 net/ipv4/fib_trie.c struct hlist_node *tmp; tmp 1836 net/ipv4/fib_trie.c hlist_for_each_entry_safe(fa, tmp, &n->leaf, fa_list) { tmp 1866 net/ipv4/fib_trie.c struct hlist_node *tmp; tmp 1906 net/ipv4/fib_trie.c hlist_for_each_entry_safe(fa, tmp, &n->leaf, fa_list) { tmp 697 net/ipv4/ipmr.c int tmp; tmp 699 net/ipv4/ipmr.c for (tmp = vifi - 1; tmp >= 0; tmp--) { tmp 700 net/ipv4/ipmr.c if (VIF_EXISTS(mrt, tmp)) tmp 703 net/ipv4/ipmr.c mrt->maxvif = tmp+1; tmp 1297 net/ipv4/ipmr.c struct mr_mfc *c, *tmp; tmp 1316 net/ipv4/ipmr.c list_for_each_entry_safe(c, tmp, &mrt->mfc_cache_list, list) { tmp 1333 net/ipv4/ipmr.c list_for_each_entry_safe(c, tmp, &mrt->mfc_unres_queue, list) { tmp 66 net/ipv4/ipmr_base.c struct rhlist_head *tmp, *list; tmp 70 net/ipv4/ipmr_base.c rhl_for_each_entry_rcu(c, tmp, list, mnode) tmp 80 net/ipv4/ipmr_base.c struct rhlist_head *tmp, *list; tmp 85 net/ipv4/ipmr_base.c rhl_for_each_entry_rcu(c, tmp, list, mnode) tmp 95 net/ipv4/ipmr_base.c struct rhlist_head *tmp, *list; tmp 99 net/ipv4/ipmr_base.c rhl_for_each_entry_rcu(c, tmp, list, mnode) { tmp 32 net/ipv4/metrics.c char tmp[TCP_CA_NAME_MAX]; tmp 34 net/ipv4/metrics.c nla_strlcpy(tmp, nla, sizeof(tmp)); tmp 35 net/ipv4/metrics.c val = tcp_ca_get_key_by_name(net, tmp, &ecn_ca); tmp 611 net/ipv4/netfilter/arp_tables.c struct xt_counters *tmp; tmp 615 net/ipv4/netfilter/arp_tables.c tmp = xt_get_per_cpu_counter(&iter->counters, cpu); tmp 618 net/ipv4/netfilter/arp_tables.c bcnt = tmp->bcnt; tmp 619 net/ipv4/netfilter/arp_tables.c pcnt = tmp->pcnt; tmp 638 net/ipv4/netfilter/arp_tables.c struct xt_counters *tmp; tmp 640 net/ipv4/netfilter/arp_tables.c tmp = xt_get_per_cpu_counter(&iter->counters, cpu); tmp 641 net/ipv4/netfilter/arp_tables.c ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); tmp 813 net/ipv4/netfilter/arp_tables.c struct xt_table_info tmp; tmp 816 net/ipv4/netfilter/arp_tables.c ret = compat_table_info(private, &tmp); tmp 818 net/ipv4/netfilter/arp_tables.c private = &tmp; tmp 955 net/ipv4/netfilter/arp_tables.c struct arpt_replace tmp; tmp 960 net/ipv4/netfilter/arp_tables.c if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) tmp 964 net/ipv4/netfilter/arp_tables.c if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) tmp 966 net/ipv4/netfilter/arp_tables.c if (tmp.num_counters == 0) tmp 969 net/ipv4/netfilter/arp_tables.c tmp.name[sizeof(tmp.name)-1] = 0; tmp 971 net/ipv4/netfilter/arp_tables.c newinfo = xt_alloc_table_info(tmp.size); tmp 976 net/ipv4/netfilter/arp_tables.c if (copy_from_user(loc_cpu_entry, user + sizeof(tmp), tmp 977 net/ipv4/netfilter/arp_tables.c tmp.size) != 0) { tmp 982 net/ipv4/netfilter/arp_tables.c ret = translate_table(net, newinfo, loc_cpu_entry, &tmp); tmp 986 net/ipv4/netfilter/arp_tables.c ret = __do_replace(net, tmp.name, tmp.valid_hooks, newinfo, tmp 987 net/ipv4/netfilter/arp_tables.c tmp.num_counters, tmp.counters); tmp 1004 net/ipv4/netfilter/arp_tables.c struct xt_counters_info tmp; tmp 1012 net/ipv4/netfilter/arp_tables.c paddc = xt_copy_counters_from_user(user, len, &tmp, compat); tmp 1016 net/ipv4/netfilter/arp_tables.c t = xt_find_table_lock(net, NFPROTO_ARP, tmp.name); tmp 1024 net/ipv4/netfilter/arp_tables.c if (private->number != tmp.num_counters) { tmp 1033 net/ipv4/netfilter/arp_tables.c struct xt_counters *tmp; tmp 1035 net/ipv4/netfilter/arp_tables.c tmp = xt_get_this_cpu_counter(&iter->counters); tmp 1036 net/ipv4/netfilter/arp_tables.c ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); tmp 1253 net/ipv4/netfilter/arp_tables.c struct compat_arpt_replace tmp; tmp 1258 net/ipv4/netfilter/arp_tables.c if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) tmp 1262 net/ipv4/netfilter/arp_tables.c if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) tmp 1264 net/ipv4/netfilter/arp_tables.c if (tmp.num_counters == 0) tmp 1267 net/ipv4/netfilter/arp_tables.c tmp.name[sizeof(tmp.name)-1] = 0; tmp 1269 net/ipv4/netfilter/arp_tables.c newinfo = xt_alloc_table_info(tmp.size); tmp 1274 net/ipv4/netfilter/arp_tables.c if (copy_from_user(loc_cpu_entry, user + sizeof(tmp), tmp.size) != 0) { tmp 1279 net/ipv4/netfilter/arp_tables.c ret = translate_compat_table(net, &newinfo, &loc_cpu_entry, &tmp); tmp 1283 net/ipv4/netfilter/arp_tables.c ret = __do_replace(net, tmp.name, tmp.valid_hooks, newinfo, tmp 1284 net/ipv4/netfilter/arp_tables.c tmp.num_counters, compat_ptr(tmp.counters)); tmp 752 net/ipv4/netfilter/ip_tables.c struct xt_counters *tmp; tmp 756 net/ipv4/netfilter/ip_tables.c tmp = xt_get_per_cpu_counter(&iter->counters, cpu); tmp 759 net/ipv4/netfilter/ip_tables.c bcnt = tmp->bcnt; tmp 760 net/ipv4/netfilter/ip_tables.c pcnt = tmp->pcnt; tmp 779 net/ipv4/netfilter/ip_tables.c const struct xt_counters *tmp; tmp 781 net/ipv4/netfilter/ip_tables.c tmp = xt_get_per_cpu_counter(&iter->counters, cpu); tmp 782 net/ipv4/netfilter/ip_tables.c ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); tmp 970 net/ipv4/netfilter/ip_tables.c struct xt_table_info tmp; tmp 973 net/ipv4/netfilter/ip_tables.c ret = compat_table_info(private, &tmp); tmp 975 net/ipv4/netfilter/ip_tables.c private = &tmp; tmp 1109 net/ipv4/netfilter/ip_tables.c struct ipt_replace tmp; tmp 1114 net/ipv4/netfilter/ip_tables.c if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) tmp 1118 net/ipv4/netfilter/ip_tables.c if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) tmp 1120 net/ipv4/netfilter/ip_tables.c if (tmp.num_counters == 0) tmp 1123 net/ipv4/netfilter/ip_tables.c tmp.name[sizeof(tmp.name)-1] = 0; tmp 1125 net/ipv4/netfilter/ip_tables.c newinfo = xt_alloc_table_info(tmp.size); tmp 1130 net/ipv4/netfilter/ip_tables.c if (copy_from_user(loc_cpu_entry, user + sizeof(tmp), tmp 1131 net/ipv4/netfilter/ip_tables.c tmp.size) != 0) { tmp 1136 net/ipv4/netfilter/ip_tables.c ret = translate_table(net, newinfo, loc_cpu_entry, &tmp); tmp 1140 net/ipv4/netfilter/ip_tables.c ret = __do_replace(net, tmp.name, tmp.valid_hooks, newinfo, tmp 1141 net/ipv4/netfilter/ip_tables.c tmp.num_counters, tmp.counters); tmp 1159 net/ipv4/netfilter/ip_tables.c struct xt_counters_info tmp; tmp 1167 net/ipv4/netfilter/ip_tables.c paddc = xt_copy_counters_from_user(user, len, &tmp, compat); tmp 1171 net/ipv4/netfilter/ip_tables.c t = xt_find_table_lock(net, AF_INET, tmp.name); tmp 1179 net/ipv4/netfilter/ip_tables.c if (private->number != tmp.num_counters) { tmp 1187 net/ipv4/netfilter/ip_tables.c struct xt_counters *tmp; tmp 1189 net/ipv4/netfilter/ip_tables.c tmp = xt_get_this_cpu_counter(&iter->counters); tmp 1190 net/ipv4/netfilter/ip_tables.c ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); tmp 1492 net/ipv4/netfilter/ip_tables.c struct compat_ipt_replace tmp; tmp 1497 net/ipv4/netfilter/ip_tables.c if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) tmp 1501 net/ipv4/netfilter/ip_tables.c if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) tmp 1503 net/ipv4/netfilter/ip_tables.c if (tmp.num_counters == 0) tmp 1506 net/ipv4/netfilter/ip_tables.c tmp.name[sizeof(tmp.name)-1] = 0; tmp 1508 net/ipv4/netfilter/ip_tables.c newinfo = xt_alloc_table_info(tmp.size); tmp 1513 net/ipv4/netfilter/ip_tables.c if (copy_from_user(loc_cpu_entry, user + sizeof(tmp), tmp 1514 net/ipv4/netfilter/ip_tables.c tmp.size) != 0) { tmp 1519 net/ipv4/netfilter/ip_tables.c ret = translate_compat_table(net, &newinfo, &loc_cpu_entry, &tmp); tmp 1523 net/ipv4/netfilter/ip_tables.c ret = __do_replace(net, tmp.name, tmp.valid_hooks, newinfo, tmp 1524 net/ipv4/netfilter/ip_tables.c tmp.num_counters, compat_ptr(tmp.counters)); tmp 760 net/ipv4/nexthop.c struct nh_grp_entry *nhge, *tmp; tmp 762 net/ipv4/nexthop.c list_for_each_entry_safe(nhge, tmp, &nh->grp_list, nh_list) tmp 787 net/ipv4/nexthop.c struct fib6_info *f6i, *tmp; tmp 799 net/ipv4/nexthop.c list_for_each_entry_safe(f6i, tmp, &nh->f6i_list, nh_list) { tmp 81 net/ipv4/sysctl_net_ipv4.c struct ctl_table tmp = { tmp 91 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 117 net/ipv4/sysctl_net_ipv4.c struct ctl_table tmp = { tmp 127 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 178 net/ipv4/sysctl_net_ipv4.c struct ctl_table tmp = { tmp 189 net/ipv4/sysctl_net_ipv4.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 170 net/ipv4/tcp_bpf.c struct sk_msg *tmp; tmp 173 net/ipv4/tcp_bpf.c tmp = kzalloc(sizeof(*tmp), __GFP_NOWARN | GFP_KERNEL); tmp 174 net/ipv4/tcp_bpf.c if (unlikely(!tmp)) tmp 178 net/ipv4/tcp_bpf.c tmp->sg.start = msg->sg.start; tmp 191 net/ipv4/tcp_bpf.c sk_msg_xfer(tmp, msg, i, size); tmp 194 net/ipv4/tcp_bpf.c get_page(sk_msg_page(tmp, i)); tmp 196 net/ipv4/tcp_bpf.c tmp->sg.end = i; tmp 206 net/ipv4/tcp_bpf.c sk_psock_queue_msg(psock, tmp); tmp 209 net/ipv4/tcp_bpf.c sk_msg_free(sk, tmp); tmp 210 net/ipv4/tcp_bpf.c kfree(tmp); tmp 399 net/ipv4/tcp_bpf.c struct sk_msg tmp, *msg_tx = NULL; tmp 430 net/ipv4/tcp_bpf.c msg_tx = &tmp; tmp 488 net/ipv4/tcp_bpf.c struct sk_msg tmp, *msg = NULL; tmp 501 net/ipv4/tcp_bpf.c msg = &tmp; tmp 1539 net/ipv4/tcp_input.c struct sk_buff *tmp; tmp 1563 net/ipv4/tcp_input.c tmp = tcp_shift_skb_data(sk, skb, state, tmp 1565 net/ipv4/tcp_input.c if (tmp) { tmp 1566 net/ipv4/tcp_input.c if (tmp != skb) { tmp 1567 net/ipv4/tcp_input.c skb = tmp; tmp 4917 net/ipv4/tcp_input.c struct sk_buff_head tmp; tmp 4960 net/ipv4/tcp_input.c __skb_queue_head_init(&tmp); tmp 4978 net/ipv4/tcp_input.c __skb_queue_tail(&tmp, nskb); /* defer rbtree insertion */ tmp 5009 net/ipv4/tcp_input.c skb_queue_walk_safe(&tmp, skb, n) tmp 5389 net/ipv4/tcp_input.c u8 tmp; tmp 5390 net/ipv4/tcp_input.c if (skb_copy_bits(skb, ptr, &tmp, 1)) tmp 5392 net/ipv4/tcp_input.c tp->urg_data = TCP_URG_VALID | tmp; tmp 2860 net/ipv4/tcp_output.c struct sk_buff *skb = to, *tmp; tmp 2868 net/ipv4/tcp_output.c skb_rbtree_walk_from_safe(skb, tmp) { tmp 106 net/ipv6/addrconf.c u64 tmp = (900000 + prandom_u32() % 200001) * (u64)irt; tmp 107 net/ipv6/addrconf.c do_div(tmp, 1000000); tmp 108 net/ipv6/addrconf.c return (s32)tmp; tmp 114 net/ipv6/addrconf.c u64 tmp = (1900000 + prandom_u32() % 200001) * (u64)rt; tmp 115 net/ipv6/addrconf.c do_div(tmp, 1000000); tmp 116 net/ipv6/addrconf.c if ((s32)tmp > mrt) { tmp 118 net/ipv6/addrconf.c tmp = (900000 + prandom_u32() % 200001) * (u64)mrt; tmp 119 net/ipv6/addrconf.c do_div(tmp, 1000000); tmp 121 net/ipv6/addrconf.c return (s32)tmp; tmp 3462 net/ipv6/addrconf.c struct inet6_ifaddr *ifp, *tmp; tmp 3471 net/ipv6/addrconf.c list_for_each_entry_safe(ifp, tmp, &idev->addr_list, if_list) { tmp 3712 net/ipv6/addrconf.c struct inet6_ifaddr *ifa, *tmp; tmp 3800 net/ipv6/addrconf.c list_for_each_entry_safe(ifa, tmp, &idev->addr_list, if_list) { tmp 6231 net/ipv6/addrconf.c struct ctl_table tmp = { tmp 6242 net/ipv6/addrconf.c ret = proc_douintvec(&tmp, write, buffer, lenp, ppos); tmp 44 net/ipv6/ah6.c void *tmp; tmp 73 net/ipv6/ah6.c static inline u8 *ah_tmp_auth(u8 *tmp, unsigned int offset) tmp 75 net/ipv6/ah6.c return tmp + offset; tmp 78 net/ipv6/ah6.c static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, tmp 81 net/ipv6/ah6.c return PTR_ALIGN((u8 *)tmp + offset, crypto_ahash_alignmask(ahash) + 1); tmp 303 net/ipv6/ah6.c iph_base = AH_SKB_CB(skb)->tmp; tmp 318 net/ipv6/ah6.c kfree(AH_SKB_CB(skb)->tmp); tmp 428 net/ipv6/ah6.c AH_SKB_CB(skb)->tmp = iph_base; tmp 472 net/ipv6/ah6.c work_iph = AH_SKB_CB(skb)->tmp; tmp 490 net/ipv6/ah6.c kfree(AH_SKB_CB(skb)->tmp); tmp 614 net/ipv6/ah6.c AH_SKB_CB(skb)->tmp = work_iph; tmp 39 net/ipv6/esp6.c void *tmp; tmp 75 net/ipv6/esp6.c static inline __be32 *esp_tmp_seqhi(void *tmp) tmp 77 net/ipv6/esp6.c return PTR_ALIGN((__be32 *)tmp, __alignof__(__be32)); tmp 80 net/ipv6/esp6.c static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int seqhilen) tmp 83 net/ipv6/esp6.c PTR_ALIGN((u8 *)tmp + seqhilen, tmp 84 net/ipv6/esp6.c crypto_aead_alignmask(aead) + 1) : tmp + seqhilen; tmp 105 net/ipv6/esp6.c static void esp_ssg_unref(struct xfrm_state *x, void *tmp) tmp 116 net/ipv6/esp6.c iv = esp_tmp_iv(aead, tmp, seqhilen); tmp 131 net/ipv6/esp6.c void *tmp; tmp 142 net/ipv6/esp6.c tmp = ESP_SKB_CB(skb)->tmp; tmp 143 net/ipv6/esp6.c esp_ssg_unref(x, tmp); tmp 144 net/ipv6/esp6.c kfree(tmp); tmp 165 net/ipv6/esp6.c void *tmp = ESP_SKB_CB(skb)->tmp; tmp 166 net/ipv6/esp6.c __be32 *seqhi = esp_tmp_seqhi(tmp); tmp 311 net/ipv6/esp6.c void *tmp; tmp 335 net/ipv6/esp6.c tmp = esp_alloc_tmp(aead, esp->nfrags + 2, seqhilen); tmp 336 net/ipv6/esp6.c if (!tmp) tmp 339 net/ipv6/esp6.c seqhi = esp_tmp_seqhi(tmp); tmp 340 net/ipv6/esp6.c iv = esp_tmp_iv(aead, tmp, seqhilen); tmp 399 net/ipv6/esp6.c ESP_SKB_CB(skb)->tmp = tmp; tmp 416 net/ipv6/esp6.c esp_ssg_unref(x, tmp); tmp 419 net/ipv6/esp6.c kfree(tmp); tmp 527 net/ipv6/esp6.c kfree(ESP_SKB_CB(skb)->tmp); tmp 602 net/ipv6/esp6.c void *tmp; tmp 646 net/ipv6/esp6.c tmp = esp_alloc_tmp(aead, nfrags, seqhilen); tmp 647 net/ipv6/esp6.c if (!tmp) tmp 650 net/ipv6/esp6.c ESP_SKB_CB(skb)->tmp = tmp; tmp 651 net/ipv6/esp6.c seqhi = esp_tmp_seqhi(tmp); tmp 652 net/ipv6/esp6.c iv = esp_tmp_iv(aead, tmp, seqhilen); tmp 661 net/ipv6/esp6.c kfree(tmp); tmp 314 net/ipv6/icmp.c struct in6_addr tmp; tmp 322 net/ipv6/icmp.c tmp = iph->saddr; tmp 324 net/ipv6/icmp.c hao->addr = tmp; tmp 2315 net/ipv6/ip6_fib.c struct hlist_node *tmp; tmp 2318 net/ipv6/ip6_fib.c hlist_for_each_entry_safe(tb, tmp, head, tb6_hlist) { tmp 94 net/ipv6/ip6_tunnel.c struct pcpu_sw_netstats tmp, sum = { 0 }; tmp 104 net/ipv6/ip6_tunnel.c tmp.rx_packets = tstats->rx_packets; tmp 105 net/ipv6/ip6_tunnel.c tmp.rx_bytes = tstats->rx_bytes; tmp 106 net/ipv6/ip6_tunnel.c tmp.tx_packets = tstats->tx_packets; tmp 107 net/ipv6/ip6_tunnel.c tmp.tx_bytes = tstats->tx_bytes; tmp 110 net/ipv6/ip6_tunnel.c sum.rx_packets += tmp.rx_packets; tmp 111 net/ipv6/ip6_tunnel.c sum.rx_bytes += tmp.rx_bytes; tmp 112 net/ipv6/ip6_tunnel.c sum.tx_packets += tmp.tx_packets; tmp 113 net/ipv6/ip6_tunnel.c sum.tx_bytes += tmp.tx_bytes; tmp 723 net/ipv6/ip6mr.c int tmp; tmp 724 net/ipv6/ip6mr.c for (tmp = vifi - 1; tmp >= 0; tmp--) { tmp 725 net/ipv6/ip6mr.c if (VIF_EXISTS(mrt, tmp)) tmp 728 net/ipv6/ip6mr.c mrt->maxvif = tmp + 1; tmp 1496 net/ipv6/ip6mr.c struct mr_mfc *c, *tmp; tmp 1514 net/ipv6/ip6mr.c list_for_each_entry_safe(c, tmp, &mrt->mfc_cache_list, list) { tmp 1531 net/ipv6/ip6mr.c list_for_each_entry_safe(c, tmp, &mrt->mfc_unres_queue, list) { tmp 769 net/ipv6/netfilter/ip6_tables.c struct xt_counters *tmp; tmp 773 net/ipv6/netfilter/ip6_tables.c tmp = xt_get_per_cpu_counter(&iter->counters, cpu); tmp 776 net/ipv6/netfilter/ip6_tables.c bcnt = tmp->bcnt; tmp 777 net/ipv6/netfilter/ip6_tables.c pcnt = tmp->pcnt; tmp 796 net/ipv6/netfilter/ip6_tables.c const struct xt_counters *tmp; tmp 798 net/ipv6/netfilter/ip6_tables.c tmp = xt_get_per_cpu_counter(&iter->counters, cpu); tmp 799 net/ipv6/netfilter/ip6_tables.c ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); tmp 986 net/ipv6/netfilter/ip6_tables.c struct xt_table_info tmp; tmp 989 net/ipv6/netfilter/ip6_tables.c ret = compat_table_info(private, &tmp); tmp 991 net/ipv6/netfilter/ip6_tables.c private = &tmp; tmp 1126 net/ipv6/netfilter/ip6_tables.c struct ip6t_replace tmp; tmp 1131 net/ipv6/netfilter/ip6_tables.c if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) tmp 1135 net/ipv6/netfilter/ip6_tables.c if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) tmp 1137 net/ipv6/netfilter/ip6_tables.c if (tmp.num_counters == 0) tmp 1140 net/ipv6/netfilter/ip6_tables.c tmp.name[sizeof(tmp.name)-1] = 0; tmp 1142 net/ipv6/netfilter/ip6_tables.c newinfo = xt_alloc_table_info(tmp.size); tmp 1147 net/ipv6/netfilter/ip6_tables.c if (copy_from_user(loc_cpu_entry, user + sizeof(tmp), tmp 1148 net/ipv6/netfilter/ip6_tables.c tmp.size) != 0) { tmp 1153 net/ipv6/netfilter/ip6_tables.c ret = translate_table(net, newinfo, loc_cpu_entry, &tmp); tmp 1157 net/ipv6/netfilter/ip6_tables.c ret = __do_replace(net, tmp.name, tmp.valid_hooks, newinfo, tmp 1158 net/ipv6/netfilter/ip6_tables.c tmp.num_counters, tmp.counters); tmp 1176 net/ipv6/netfilter/ip6_tables.c struct xt_counters_info tmp; tmp 1184 net/ipv6/netfilter/ip6_tables.c paddc = xt_copy_counters_from_user(user, len, &tmp, compat); tmp 1187 net/ipv6/netfilter/ip6_tables.c t = xt_find_table_lock(net, AF_INET6, tmp.name); tmp 1195 net/ipv6/netfilter/ip6_tables.c if (private->number != tmp.num_counters) { tmp 1203 net/ipv6/netfilter/ip6_tables.c struct xt_counters *tmp; tmp 1205 net/ipv6/netfilter/ip6_tables.c tmp = xt_get_this_cpu_counter(&iter->counters); tmp 1206 net/ipv6/netfilter/ip6_tables.c ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); tmp 1501 net/ipv6/netfilter/ip6_tables.c struct compat_ip6t_replace tmp; tmp 1506 net/ipv6/netfilter/ip6_tables.c if (copy_from_user(&tmp, user, sizeof(tmp)) != 0) tmp 1510 net/ipv6/netfilter/ip6_tables.c if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) tmp 1512 net/ipv6/netfilter/ip6_tables.c if (tmp.num_counters == 0) tmp 1515 net/ipv6/netfilter/ip6_tables.c tmp.name[sizeof(tmp.name)-1] = 0; tmp 1517 net/ipv6/netfilter/ip6_tables.c newinfo = xt_alloc_table_info(tmp.size); tmp 1522 net/ipv6/netfilter/ip6_tables.c if (copy_from_user(loc_cpu_entry, user + sizeof(tmp), tmp 1523 net/ipv6/netfilter/ip6_tables.c tmp.size) != 0) { tmp 1528 net/ipv6/netfilter/ip6_tables.c ret = translate_compat_table(net, &newinfo, &loc_cpu_entry, &tmp); tmp 1532 net/ipv6/netfilter/ip6_tables.c ret = __do_replace(net, tmp.name, tmp.valid_hooks, newinfo, tmp 1533 net/ipv6/netfilter/ip6_tables.c tmp.num_counters, compat_ptr(tmp.counters)); tmp 1742 net/ipv6/route.c struct hlist_node *tmp; tmp 1756 net/ipv6/route.c hlist_for_each_entry_safe(rt6_ex, tmp, &bucket->chain, hlist) { tmp 2048 net/ipv6/route.c struct hlist_node *tmp; tmp 2058 net/ipv6/route.c hlist_for_each_entry_safe(rt6_ex, tmp, tmp 2126 net/ipv6/route.c struct hlist_node *tmp; tmp 2137 net/ipv6/route.c hlist_for_each_entry_safe(rt6_ex, tmp, tmp 368 net/l2tp/l2tp_core.c struct sk_buff *tmp; tmp 372 net/l2tp/l2tp_core.c skb_queue_walk_safe(&session->reorder_q, skbp, tmp) { tmp 429 net/l2tp/l2tp_core.c struct sk_buff *tmp; tmp 437 net/l2tp/l2tp_core.c skb_queue_walk_safe(&session->reorder_q, skb, tmp) { tmp 1193 net/l2tp/l2tp_core.c struct hlist_node *tmp; tmp 1205 net/l2tp/l2tp_core.c hlist_for_each_safe(walk, tmp, &tunnel->session_hlist[hash]) { tmp 126 net/l2tp/l2tp_debugfs.c struct hlist_node *tmp; tmp 130 net/l2tp/l2tp_debugfs.c hlist_for_each_safe(walk, tmp, &tunnel->session_hlist[hash]) { tmp 28 net/mac80211/fils_aead.c u8 d[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE] = {}; tmp 35 net/mac80211/fils_aead.c crypto_shash_digest(desc, tmp, AES_BLOCK_SIZE, d); tmp 40 net/mac80211/fils_aead.c crypto_shash_digest(desc, addr[i], len[i], tmp); tmp 41 net/mac80211/fils_aead.c crypto_xor(d, tmp, AES_BLOCK_SIZE); tmp 77 net/mac80211/fils_aead.c u8 *tmp; tmp 101 net/mac80211/fils_aead.c tmp = kmemdup(plain, plain_len, GFP_KERNEL); tmp 102 net/mac80211/fils_aead.c if (!tmp) tmp 118 net/mac80211/fils_aead.c kfree(tmp); tmp 132 net/mac80211/fils_aead.c sg_init_one(src, tmp, plain_len); tmp 138 net/mac80211/fils_aead.c kfree(tmp); tmp 1257 net/mac80211/ibss.c struct sta_info *sta, *tmp; tmp 1263 net/mac80211/ibss.c list_for_each_entry_safe(sta, tmp, &local->sta_list, list) { tmp 157 net/mac80211/iface.c u64 new, mask, tmp; tmp 187 net/mac80211/iface.c tmp = ((u64)m[0] << 5*8) | ((u64)m[1] << 4*8) | tmp 191 net/mac80211/iface.c if ((new & ~mask) != (tmp & ~mask)) { tmp 798 net/mac80211/iface.c struct sk_buff *skb, *tmp; tmp 925 net/mac80211/iface.c skb_queue_walk_safe(&ps->bc_buf, skb, tmp) { tmp 998 net/mac80211/iface.c skb_queue_walk_safe(&local->pending[i], skb, tmp) { tmp 1929 net/mac80211/iface.c struct ieee80211_sub_if_data *sdata, *tmp; tmp 1954 net/mac80211/iface.c list_for_each_entry_safe(sdata, tmp, &local->interfaces, list) { tmp 1965 net/mac80211/iface.c list_for_each_entry_safe(sdata, tmp, &wdev_list, list) { tmp 889 net/mac80211/key.c struct ieee80211_key *key, *tmp; tmp 897 net/mac80211/key.c list_for_each_entry_safe(key, tmp, &sdata->key_list, list) tmp 903 net/mac80211/key.c list_for_each_entry_safe(key, tmp, tmp 963 net/mac80211/key.c struct ieee80211_key *key, *tmp; tmp 971 net/mac80211/key.c list_for_each_entry_safe(key, tmp, &sdata->key_list, list) { tmp 987 net/mac80211/key.c struct ieee80211_key *key, *tmp; tmp 1003 net/mac80211/key.c list_for_each_entry_safe(key, tmp, &keys, list) tmp 164 net/mac80211/mesh_pathtbl.c struct sk_buff *skb, *fskb, *tmp; tmp 179 net/mac80211/mesh_pathtbl.c skb_queue_walk_safe(&failq, fskb, tmp) { tmp 215 net/mac80211/offchannel.c struct ieee80211_roc_work *roc, *tmp; tmp 220 net/mac80211/offchannel.c list_for_each_entry_safe(roc, tmp, &local->roc_list, list) { tmp 312 net/mac80211/offchannel.c struct ieee80211_roc_work *roc, *tmp; tmp 331 net/mac80211/offchannel.c list_for_each_entry(tmp, &local->roc_list, list) { tmp 332 net/mac80211/offchannel.c if (tmp == roc) tmp 334 net/mac80211/offchannel.c if (tmp->sdata != roc->sdata || tmp->chan != roc->chan) tmp 336 net/mac80211/offchannel.c max_dur = max(tmp->duration, max_dur); tmp 337 net/mac80211/offchannel.c min_dur = min(tmp->duration, min_dur); tmp 338 net/mac80211/offchannel.c type = max(tmp->type, type); tmp 352 net/mac80211/offchannel.c list_for_each_entry(tmp, &local->roc_list, list) { tmp 353 net/mac80211/offchannel.c if (tmp->sdata != roc->sdata || tmp 354 net/mac80211/offchannel.c tmp->chan != roc->chan) tmp 356 net/mac80211/offchannel.c tmp->started = true; tmp 357 net/mac80211/offchannel.c tmp->abort = true; tmp 364 net/mac80211/offchannel.c list_for_each_entry(tmp, &local->roc_list, list) { tmp 365 net/mac80211/offchannel.c if (tmp->sdata != roc->sdata || tmp->chan != roc->chan) tmp 367 net/mac80211/offchannel.c tmp->started = true; tmp 393 net/mac80211/offchannel.c list_for_each_entry(tmp, &local->roc_list, list) { tmp 394 net/mac80211/offchannel.c if (tmp->sdata != roc->sdata || tmp->chan != roc->chan) tmp 397 net/mac80211/offchannel.c tmp->on_channel = roc->on_channel; tmp 398 net/mac80211/offchannel.c ieee80211_handle_roc_started(tmp, jiffies); tmp 554 net/mac80211/offchannel.c struct ieee80211_roc_work *roc, *tmp; tmp 624 net/mac80211/offchannel.c list_for_each_entry(tmp, &local->roc_list, list) { tmp 625 net/mac80211/offchannel.c if (tmp->chan != channel || tmp->sdata != sdata) tmp 632 net/mac80211/offchannel.c if (!tmp->started) { tmp 633 net/mac80211/offchannel.c list_add(&roc->list, &tmp->list); tmp 652 net/mac80211/offchannel.c u32 elapsed = jiffies_to_msecs(now - tmp->start_time); tmp 661 net/mac80211/offchannel.c list_add(&roc->list, &tmp->list); tmp 663 net/mac80211/offchannel.c roc->on_channel = tmp->on_channel; tmp 669 net/mac80211/offchannel.c queued = ieee80211_coalesce_hw_started_roc(local, roc, tmp); tmp 706 net/mac80211/offchannel.c struct ieee80211_roc_work *roc, *tmp, *found = NULL; tmp 715 net/mac80211/offchannel.c list_for_each_entry_safe(roc, tmp, &local->roc_list, list) { tmp 747 net/mac80211/offchannel.c list_for_each_entry_safe(roc, tmp, &local->roc_list, list) { tmp 984 net/mac80211/offchannel.c struct ieee80211_roc_work *roc, *tmp; tmp 988 net/mac80211/offchannel.c list_for_each_entry_safe(roc, tmp, &local->roc_list, list) { tmp 4404 net/mac80211/rx.c struct rhlist_head *tmp; tmp 4452 net/mac80211/rx.c for_each_sta_info(local, hdr->addr2, sta, tmp) { tmp 170 net/mac80211/sta_info.c struct rhlist_head *tmp; tmp 174 net/mac80211/sta_info.c for_each_sta_info(local, addr, sta, tmp) { tmp 195 net/mac80211/sta_info.c struct rhlist_head *tmp; tmp 199 net/mac80211/sta_info.c for_each_sta_info(local, addr, sta, tmp) { tmp 1168 net/mac80211/sta_info.c struct sta_info *sta, *tmp; tmp 1178 net/mac80211/sta_info.c list_for_each_entry_safe(sta, tmp, &local->sta_list, list) { tmp 1189 net/mac80211/sta_info.c list_for_each_entry_safe(sta, tmp, &free_list, free_list) tmp 1201 net/mac80211/sta_info.c struct sta_info *sta, *tmp; tmp 1205 net/mac80211/sta_info.c list_for_each_entry_safe(sta, tmp, &local->sta_list, list) { tmp 1231 net/mac80211/sta_info.c struct rhlist_head *tmp; tmp 1238 net/mac80211/sta_info.c for_each_sta_info(local, addr, sta, tmp) { tmp 1313 net/mac80211/sta_info.c int count = skb_queue_len(&pending), tmp; tmp 1318 net/mac80211/sta_info.c tmp = skb_queue_len(&pending); tmp 1319 net/mac80211/sta_info.c filtered += tmp - count; tmp 1320 net/mac80211/sta_info.c count = tmp; tmp 1325 net/mac80211/sta_info.c tmp = skb_queue_len(&pending); tmp 1326 net/mac80211/sta_info.c buffered += tmp - count; tmp 26 net/mac80211/status.c int tmp; tmp 31 net/mac80211/status.c tmp = skb_queue_len(&local->skb_queue) + tmp 33 net/mac80211/status.c while (tmp > IEEE80211_IRQSAFE_QUEUE_LIMIT && tmp 36 net/mac80211/status.c tmp--; tmp 1076 net/mac80211/status.c struct rhlist_head *tmp; tmp 1081 net/mac80211/status.c for_each_sta_info(local, hdr->addr1, sta, tmp) { tmp 870 net/mac80211/tx.c struct sk_buff *tmp; tmp 886 net/mac80211/tx.c tmp = dev_alloc_skb(local->tx_headroom + tmp 890 net/mac80211/tx.c if (!tmp) tmp 893 net/mac80211/tx.c __skb_queue_tail(&tx->skbs, tmp); tmp 895 net/mac80211/tx.c skb_reserve(tmp, tmp 899 net/mac80211/tx.c memcpy(tmp->cb, skb->cb, sizeof(tmp->cb)); tmp 901 net/mac80211/tx.c info = IEEE80211_SKB_CB(tmp); tmp 908 net/mac80211/tx.c skb_copy_queue_mapping(tmp, skb); tmp 909 net/mac80211/tx.c tmp->priority = skb->priority; tmp 910 net/mac80211/tx.c tmp->dev = skb->dev; tmp 913 net/mac80211/tx.c skb_put_data(tmp, skb->data, hdrlen); tmp 914 net/mac80211/tx.c skb_put_data(tmp, skb->data + pos, fraglen); tmp 1631 net/mac80211/tx.c struct sk_buff *skb, *tmp; tmp 1634 net/mac80211/tx.c skb_queue_walk_safe(skbs, skb, tmp) { tmp 3783 net/mac80211/tx.c struct txq_info *iter, *tmp, *txqi = to_txq_info(txq); tmp 3795 net/mac80211/tx.c list_for_each_entry_safe(iter, tmp, &local->active_txqs[ac], tmp 2669 net/mac80211/util.c __le16 tmp; tmp 2676 net/mac80211/util.c tmp = cpu_to_le16(cap); tmp 2677 net/mac80211/util.c memcpy(pos, &tmp, sizeof(u16)); tmp 2704 net/mac80211/util.c __le32 tmp; tmp 2711 net/mac80211/util.c tmp = cpu_to_le32(cap); tmp 2712 net/mac80211/util.c memcpy(pos, &tmp, sizeof(u32)); tmp 3386 net/mac80211/util.c int tmp; tmp 3400 net/mac80211/util.c tmp = (30 + c->chan->center_freq - c->center_freq1)/20; tmp 3402 net/mac80211/util.c tmp /= 2; tmp 3404 net/mac80211/util.c c->center_freq1 = c->center_freq1 - 20 + 40 * tmp; tmp 3416 net/mac80211/util.c tmp = (70 + c->chan->center_freq - c->center_freq1)/20; tmp 3418 net/mac80211/util.c tmp /= 4; tmp 3419 net/mac80211/util.c c->center_freq1 = c->center_freq1 - 40 + 80 * tmp; tmp 561 net/mac802154/iface.c u8 tmp; tmp 566 net/mac802154/iface.c get_random_bytes(&tmp, sizeof(tmp)); tmp 567 net/mac802154/iface.c atomic_set(&wpan_dev->bsn, tmp); tmp 568 net/mac802154/iface.c get_random_bytes(&tmp, sizeof(tmp)); tmp 569 net/mac802154/iface.c atomic_set(&wpan_dev->dsn, tmp); tmp 699 net/mac802154/iface.c struct ieee802154_sub_if_data *sdata, *tmp; tmp 702 net/mac802154/iface.c list_for_each_entry_safe(sdata, tmp, &local->interfaces, list) { tmp 2602 net/mpls/af_mpls.c struct ctl_table tmp = { tmp 2611 net/mpls/af_mpls.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 49 net/ncsi/ncsi-aen.c struct ncsi_channel *nc, *tmp; tmp 119 net/ncsi/ncsi-aen.c NCSI_FOR_EACH_CHANNEL(np, tmp) { tmp 123 net/ncsi/ncsi-aen.c ncm = &tmp->modes[NCSI_MODE_TX_ENABLE]; tmp 125 net/ncsi/ncsi-aen.c !ncsi_channel_has_link(tmp)) { tmp 127 net/ncsi/ncsi-aen.c tmp, nc); tmp 202 net/ncsi/ncsi-manage.c struct ncsi_channel *nc, *tmp; tmp 223 net/ncsi/ncsi-manage.c tmp = ncsi_find_channel(np, id); tmp 224 net/ncsi/ncsi-manage.c if (tmp) { tmp 227 net/ncsi/ncsi-manage.c return tmp; tmp 277 net/ncsi/ncsi-manage.c struct ncsi_package *np, *tmp; tmp 291 net/ncsi/ncsi-manage.c tmp = ncsi_find_package(ndp, id); tmp 292 net/ncsi/ncsi-manage.c if (tmp) { tmp 295 net/ncsi/ncsi-manage.c return tmp; tmp 308 net/ncsi/ncsi-manage.c struct ncsi_channel *nc, *tmp; tmp 312 net/ncsi/ncsi-manage.c list_for_each_entry_safe(nc, tmp, &np->channels, node) tmp 463 net/ncsi/ncsi-manage.c struct ncsi_channel *nc, *tmp; tmp 545 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_CHANNEL(np, tmp) { tmp 549 net/ncsi/ncsi-manage.c if (tmp != nc && tmp->state == NCSI_CHANNEL_ACTIVE) { tmp 1586 net/ncsi/ncsi-manage.c struct vlan_vid *vlan, *tmp; tmp 1603 net/ncsi/ncsi-manage.c list_for_each_entry_safe(vlan, tmp, &ndp->vlan_vids, list) tmp 1731 net/ncsi/ncsi-manage.c struct ncsi_channel *nc, *active, *tmp; tmp 1771 net/ncsi/ncsi-manage.c list_for_each_entry_safe(nc, tmp, &ndp->channel_queue, link) tmp 1817 net/ncsi/ncsi-manage.c struct ncsi_package *np, *tmp; tmp 1822 net/ncsi/ncsi-manage.c list_for_each_entry_safe(np, tmp, &ndp->packages, node) tmp 981 net/netfilter/ipset/ip_set_core.c struct ip_set **list, **tmp; tmp 992 net/netfilter/ipset/ip_set_core.c tmp = ip_set_dereference(inst->ip_set_list); tmp 993 net/netfilter/ipset/ip_set_core.c memcpy(list, tmp, sizeof(struct ip_set *) * inst->ip_set_max); tmp 1000 net/netfilter/ipset/ip_set_core.c kvfree(tmp); tmp 515 net/netfilter/ipset/ip_set_hash_gen.h struct hbucket *n, *tmp; tmp 559 net/netfilter/ipset/ip_set_hash_gen.h tmp = kzalloc(sizeof(*tmp) + tmp 562 net/netfilter/ipset/ip_set_hash_gen.h if (!tmp) tmp 565 net/netfilter/ipset/ip_set_hash_gen.h tmp->size = n->size - AHASH_INIT_SIZE; tmp 570 net/netfilter/ipset/ip_set_hash_gen.h memcpy(tmp->value + d * dsize, tmp 572 net/netfilter/ipset/ip_set_hash_gen.h set_bit(d, tmp->used); tmp 575 net/netfilter/ipset/ip_set_hash_gen.h tmp->pos = d; tmp 578 net/netfilter/ipset/ip_set_hash_gen.h rcu_assign_pointer(hbucket(t, i), tmp); tmp 650 net/netfilter/ipset/ip_set_hash_gen.h struct mtype_elem *tmp; tmp 661 net/netfilter/ipset/ip_set_hash_gen.h tmp = kmalloc(dsize, GFP_KERNEL); tmp 662 net/netfilter/ipset/ip_set_hash_gen.h if (!tmp) tmp 721 net/netfilter/ipset/ip_set_hash_gen.h memcpy(tmp, data, dsize); tmp 722 net/netfilter/ipset/ip_set_hash_gen.h data = tmp; tmp 808 net/netfilter/ipset/ip_set_hash_gen.h kfree(tmp); tmp 1118 net/netfilter/ipset/ip_set_hash_gen.h struct hbucket *tmp = kzalloc(sizeof(*tmp) + tmp 1121 net/netfilter/ipset/ip_set_hash_gen.h if (!tmp) tmp 1123 net/netfilter/ipset/ip_set_hash_gen.h tmp->size = n->size - AHASH_INIT_SIZE; tmp 1128 net/netfilter/ipset/ip_set_hash_gen.h memcpy(tmp->value + k * dsize, data, dsize); tmp 1129 net/netfilter/ipset/ip_set_hash_gen.h set_bit(k, tmp->used); tmp 1132 net/netfilter/ipset/ip_set_hash_gen.h tmp->pos = k; tmp 1135 net/netfilter/ipset/ip_set_hash_gen.h rcu_assign_pointer(hbucket(t, key), tmp); tmp 1740 net/netfilter/ipvs/ip_vs_ctl.c struct ctl_table tmp = { tmp 1746 net/netfilter/ipvs/ip_vs_ctl.c rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); tmp 1765 net/netfilter/ipvs/ip_vs_ctl.c struct ctl_table tmp = { tmp 1772 net/netfilter/ipvs/ip_vs_ctl.c rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); tmp 1791 net/netfilter/ipvs/ip_vs_ctl.c struct ctl_table tmp = { tmp 1797 net/netfilter/ipvs/ip_vs_ctl.c rc = proc_dointvec(&tmp, write, buffer, lenp, ppos); tmp 68 net/netfilter/ipvs/ip_vs_pe.c struct ip_vs_pe *tmp; tmp 78 net/netfilter/ipvs/ip_vs_pe.c list_for_each_entry(tmp, &ip_vs_pe, n_list) { tmp 79 net/netfilter/ipvs/ip_vs_pe.c if (strcmp(tmp->name, pe->name) == 0) { tmp 97 net/netfilter/nf_conntrack_amanda.c char pbuf[sizeof("65535")], *tmp; tmp 141 net/netfilter/nf_conntrack_amanda.c port = htons(simple_strtoul(pbuf, &tmp, 10)); tmp 142 net/netfilter/nf_conntrack_amanda.c len = tmp - pbuf; tmp 1124 net/netfilter/nf_conntrack_core.c struct nf_conn *tmp; tmp 1127 net/netfilter/nf_conntrack_core.c tmp = nf_ct_tuplehash_to_ctrack(h); tmp 1129 net/netfilter/nf_conntrack_core.c if (test_bit(IPS_OFFLOAD_BIT, &tmp->status)) tmp 1132 net/netfilter/nf_conntrack_core.c if (nf_ct_is_expired(tmp)) { tmp 1133 net/netfilter/nf_conntrack_core.c nf_ct_gc_expired(tmp); tmp 1137 net/netfilter/nf_conntrack_core.c if (test_bit(IPS_ASSURED_BIT, &tmp->status) || tmp 1138 net/netfilter/nf_conntrack_core.c !net_eq(nf_ct_net(tmp), net) || tmp 1139 net/netfilter/nf_conntrack_core.c nf_ct_is_dying(tmp)) tmp 1142 net/netfilter/nf_conntrack_core.c if (!atomic_inc_not_zero(&tmp->ct_general.use)) tmp 1152 net/netfilter/nf_conntrack_core.c if (net_eq(nf_ct_net(tmp), net) && tmp 1153 net/netfilter/nf_conntrack_core.c nf_ct_is_confirmed(tmp) && tmp 1154 net/netfilter/nf_conntrack_core.c nf_ct_delete(tmp, 0, 0)) tmp 1157 net/netfilter/nf_conntrack_core.c nf_ct_put(tmp); tmp 1242 net/netfilter/nf_conntrack_core.c struct nf_conn *tmp; tmp 1254 net/netfilter/nf_conntrack_core.c tmp = nf_ct_tuplehash_to_ctrack(h); tmp 1257 net/netfilter/nf_conntrack_core.c if (test_bit(IPS_OFFLOAD_BIT, &tmp->status)) { tmp 1258 net/netfilter/nf_conntrack_core.c nf_ct_offload_timeout(tmp); tmp 1262 net/netfilter/nf_conntrack_core.c if (nf_ct_is_expired(tmp)) { tmp 1263 net/netfilter/nf_conntrack_core.c nf_ct_gc_expired(tmp); tmp 1268 net/netfilter/nf_conntrack_core.c if (nf_conntrack_max95 == 0 || gc_worker_skip_ct(tmp)) tmp 1271 net/netfilter/nf_conntrack_core.c net = nf_ct_net(tmp); tmp 1276 net/netfilter/nf_conntrack_core.c if (!atomic_inc_not_zero(&tmp->ct_general.use)) tmp 1279 net/netfilter/nf_conntrack_core.c if (gc_worker_skip_ct(tmp)) { tmp 1280 net/netfilter/nf_conntrack_core.c nf_ct_put(tmp); tmp 1284 net/netfilter/nf_conntrack_core.c if (gc_worker_can_early_drop(tmp)) tmp 1285 net/netfilter/nf_conntrack_core.c nf_ct_kill(tmp); tmp 1287 net/netfilter/nf_conntrack_core.c nf_ct_put(tmp); tmp 1443 net/netfilter/nf_conntrack_core.c struct nf_conntrack_zone tmp; tmp 1450 net/netfilter/nf_conntrack_core.c zone = nf_ct_zone_tmpl(tmpl, skb, &tmp); tmp 1533 net/netfilter/nf_conntrack_core.c struct nf_conntrack_zone tmp; tmp 1545 net/netfilter/nf_conntrack_core.c zone = nf_ct_zone_tmpl(tmpl, skb, &tmp); tmp 275 net/netfilter/nf_conntrack_helper.c struct nf_conntrack_helper *tmp = rcu_dereference(help->helper); tmp 277 net/netfilter/nf_conntrack_helper.c if (tmp && tmp->help != helper->help) { tmp 75 net/netfilter/nf_conntrack_irc.c char *tmp; tmp 84 net/netfilter/nf_conntrack_irc.c for (tmp = data; tmp <= data_end; tmp++) tmp 85 net/netfilter/nf_conntrack_irc.c if (*tmp == '\n') tmp 87 net/netfilter/nf_conntrack_irc.c if (tmp > data_end || *tmp != '\n') tmp 18 net/netfilter/nf_conntrack_labels.c u32 old, tmp; tmp 22 net/netfilter/nf_conntrack_labels.c tmp = (old & mask) ^ new; tmp 23 net/netfilter/nf_conntrack_labels.c if (old == tmp) tmp 25 net/netfilter/nf_conntrack_labels.c } while (cmpxchg(address, old, tmp) != old); tmp 61 net/netfilter/nf_conntrack_proto_gre.c struct nf_ct_gre_keymap *km, *tmp; tmp 64 net/netfilter/nf_conntrack_proto_gre.c list_for_each_entry_safe(km, tmp, &net_gre->keymap_list, list) { tmp 113 net/netfilter/nf_conntrack_proto_icmp.c struct nf_conntrack_zone tmp; tmp 119 net/netfilter/nf_conntrack_proto_icmp.c zone = nf_ct_zone_tmpl(tmpl, skb, &tmp); tmp 404 net/netfilter/nf_conntrack_proto_tcp.c __u32 tmp; tmp 448 net/netfilter/nf_conntrack_proto_tcp.c tmp = get_unaligned_be32((__be32 *)(ptr+i)+1); tmp 450 net/netfilter/nf_conntrack_proto_tcp.c if (after(tmp, *sack)) tmp 451 net/netfilter/nf_conntrack_proto_tcp.c *sack = tmp; tmp 1191 net/netfilter/nf_conntrack_proto_tcp.c struct nf_ct_tcp_flags tmp = {}; tmp 1205 net/netfilter/nf_conntrack_proto_tcp.c tmp.flags = ct->proto.tcp.seen[0].flags; tmp 1207 net/netfilter/nf_conntrack_proto_tcp.c sizeof(struct nf_ct_tcp_flags), &tmp)) tmp 1210 net/netfilter/nf_conntrack_proto_tcp.c tmp.flags = ct->proto.tcp.seen[1].flags; tmp 1212 net/netfilter/nf_conntrack_proto_tcp.c sizeof(struct nf_ct_tcp_flags), &tmp)) tmp 426 net/netfilter/nf_log.c struct ctl_table tmp = *table; tmp 432 net/netfilter/nf_log.c tmp.data = buf; tmp 433 net/netfilter/nf_log.c r = proc_dostring(&tmp, write, buffer, lenp, ppos); tmp 450 net/netfilter/nf_log.c struct ctl_table tmp = *table; tmp 452 net/netfilter/nf_log.c tmp.data = buf; tmp 460 net/netfilter/nf_log.c r = proc_dostring(&tmp, write, buffer, lenp, ppos); tmp 1170 net/netfilter/nf_tables_api.c struct rhlist_head *tmp, *list; tmp 1187 net/netfilter/nf_tables_api.c rhl_for_each_entry_rcu(chain, tmp, list, rhlhead) { tmp 1847 net/netfilter/nf_tables_api.c struct nft_trans *tmp; tmp 1856 net/netfilter/nf_tables_api.c list_for_each_entry(tmp, &ctx->net->nft.commit_list, list) { tmp 1857 net/netfilter/nf_tables_api.c if (tmp->msg_type == NFT_MSG_NEWCHAIN && tmp 1858 net/netfilter/nf_tables_api.c tmp->ctx.table == table && tmp 1859 net/netfilter/nf_tables_api.c nft_trans_chain_update(tmp) && tmp 1860 net/netfilter/nf_tables_api.c nft_trans_chain_name(tmp) && tmp 1861 net/netfilter/nf_tables_api.c strcmp(name, nft_trans_chain_name(tmp)) == 0) { tmp 2495 net/netfilter/nf_tables_api.c struct rhlist_head *list, *tmp; tmp 2502 net/netfilter/nf_tables_api.c rhl_for_each_entry_rcu(chain, tmp, list, rhlhead) { tmp 2731 net/netfilter/nf_tables_api.c struct nlattr *tmp; tmp 2802 net/netfilter/nf_tables_api.c nla_for_each_nested(tmp, nla[NFTA_RULE_EXPRESSIONS], rem) { tmp 2804 net/netfilter/nf_tables_api.c if (nla_type(tmp) != NFTA_LIST_ELEM) tmp 2808 net/netfilter/nf_tables_api.c err = nf_tables_expr_parse(&ctx, tmp, &info[n]); tmp 3242 net/netfilter/nf_tables_api.c int tmp; tmp 3246 net/netfilter/nf_tables_api.c if (!sscanf(i->name, name, &tmp)) tmp 3248 net/netfilter/nf_tables_api.c if (tmp < min || tmp >= min + BITS_PER_BYTE * PAGE_SIZE) tmp 3251 net/netfilter/nf_tables_api.c set_bit(tmp - min, inuse); tmp 5031 net/netfilter/nf_tables_api.c struct rhlist_head *tmp, *list; tmp 5045 net/netfilter/nf_tables_api.c rhl_for_each_entry_rcu(obj, tmp, list, rhlhead) { tmp 5678 net/netfilter/nf_tables_api.c const struct nlattr *tmp; tmp 5683 net/netfilter/nf_tables_api.c nla_for_each_nested(tmp, attr, rem) { tmp 5684 net/netfilter/nf_tables_api.c if (nla_type(tmp) != NFTA_DEVICE_NAME) { tmp 5689 net/netfilter/nf_tables_api.c nla_strlcpy(ifname, tmp, IFNAMSIZ); tmp 345 net/netfilter/nfnetlink_acct.c struct nf_acct *cur, *tmp; tmp 350 net/netfilter/nfnetlink_acct.c list_for_each_entry_safe(cur, tmp, &net->nfnl_acct_list, head) tmp 498 net/netfilter/nfnetlink_acct.c struct nf_acct *cur, *tmp; tmp 500 net/netfilter/nfnetlink_acct.c list_for_each_entry_safe(cur, tmp, &net->nfnl_acct_list, head) { tmp 318 net/netfilter/nfnetlink_cttimeout.c struct ctnl_timeout *cur, *tmp; tmp 323 net/netfilter/nfnetlink_cttimeout.c list_for_each_entry_safe(cur, tmp, &net->nfct_timeout_list, tmp 583 net/netfilter/nfnetlink_cttimeout.c struct ctnl_timeout *cur, *tmp; tmp 588 net/netfilter/nfnetlink_cttimeout.c list_for_each_entry_safe(cur, tmp, &net->nfct_timeout_list, head) { tmp 1066 net/netfilter/nfnetlink_queue.c struct nf_queue_entry *entry, *tmp; tmp 1088 net/netfilter/nfnetlink_queue.c list_for_each_entry_safe(entry, tmp, &queue->queue_list, list) { tmp 1100 net/netfilter/nfnetlink_queue.c list_for_each_entry_safe(entry, tmp, &batch_list, list) { tmp 366 net/netfilter/nft_ct.c struct nf_conn *tmp; tmp 373 net/netfilter/nft_ct.c tmp = nf_ct_tmpl_alloc(&init_net, &zone, GFP_KERNEL); tmp 374 net/netfilter/nft_ct.c if (!tmp) { tmp 379 net/netfilter/nft_ct.c atomic_set(&tmp->ct_general.use, 1); tmp 380 net/netfilter/nft_ct.c per_cpu(nft_ct_pcpu_template, cpu) = tmp; tmp 679 net/netfilter/x_tables.c struct compat_delta *tmp = xt[af].compat_tab; tmp 684 net/netfilter/x_tables.c if (offset > tmp[mid].offset) tmp 686 net/netfilter/x_tables.c else if (offset < tmp[mid].offset) tmp 689 net/netfilter/x_tables.c return mid ? tmp[mid - 1].delta : 0; tmp 691 net/netfilter/x_tables.c return left ? tmp[left - 1].delta : 0; tmp 556 net/netfilter/xt_hashlimit.c u64 tmp = dh->rateinfo.credit; tmp 559 net/netfilter/xt_hashlimit.c if (tmp >= dh->rateinfo.credit) {/* overflow */ tmp 711 net/netfilter/xt_hashlimit.c u64 tmp = xt_hashlimit_len_to_chunks(len); tmp 712 net/netfilter/xt_hashlimit.c tmp = tmp * dh->rateinfo.cost; tmp 714 net/netfilter/xt_hashlimit.c if (unlikely(tmp > CREDITS_PER_JIFFY_BYTES * HZ)) tmp 715 net/netfilter/xt_hashlimit.c tmp = CREDITS_PER_JIFFY_BYTES * HZ; tmp 717 net/netfilter/xt_hashlimit.c if (dh->rateinfo.credit < tmp && dh->rateinfo.credit_cap) { tmp 721 net/netfilter/xt_hashlimit.c return (u32) tmp; tmp 92 net/netlabel/netlabel_addrlist.h #define netlbl_af4list_foreach_safe(iter, tmp, head) \ tmp 94 net/netlabel/netlabel_addrlist.h tmp = __af4list_valid(iter->list.next, head); \ tmp 96 net/netlabel/netlabel_addrlist.h iter = tmp, tmp = __af4list_valid(iter->list.next, head)) tmp 159 net/netlabel/netlabel_addrlist.h #define netlbl_af6list_foreach_safe(iter, tmp, head) \ tmp 161 net/netlabel/netlabel_addrlist.h tmp = __af6list_valid(iter->list.next, head); \ tmp 163 net/netlabel/netlabel_addrlist.h iter = tmp, tmp = __af6list_valid(iter->list.next, head)) tmp 202 net/netlink/af_netlink.c struct netlink_tap *tmp; tmp 206 net/netlink/af_netlink.c list_for_each_entry(tmp, &nn->netlink_tap_all, list) { tmp 207 net/netlink/af_netlink.c if (nt == tmp) { tmp 306 net/netlink/af_netlink.c struct netlink_tap *tmp; tmp 311 net/netlink/af_netlink.c list_for_each_entry_rcu(tmp, &nn->netlink_tap_all, list) { tmp 312 net/netlink/af_netlink.c ret = __netlink_deliver_tap_skb(skb, tmp->dev); tmp 1113 net/netlink/genetlink.c struct sk_buff *tmp; tmp 1120 net/netlink/genetlink.c tmp = skb_clone(skb, flags); tmp 1121 net/netlink/genetlink.c if (!tmp) { tmp 1125 net/netlink/genetlink.c err = nlmsg_multicast(prev->genl_sock, tmp, tmp 148 net/nfc/hci/command.c u8 *tmp; tmp 160 net/nfc/hci/command.c tmp = kmalloc(1 + param_len, GFP_KERNEL); tmp 161 net/nfc/hci/command.c if (tmp == NULL) tmp 164 net/nfc/hci/command.c *tmp = idx; tmp 165 net/nfc/hci/command.c memcpy(tmp + 1, param, param_len); tmp 168 net/nfc/hci/command.c tmp, param_len + 1, NULL); tmp 170 net/nfc/hci/command.c kfree(tmp); tmp 46 net/nfc/llcp_core.c struct sk_buff *s, *tmp; tmp 57 net/nfc/llcp_core.c skb_queue_walk_safe(&local->tx_queue, s, tmp) { tmp 70 net/nfc/llcp_core.c struct hlist_node *tmp; tmp 77 net/nfc/llcp_core.c sk_for_each_safe(sk, tmp, &local->sockets.head) { tmp 126 net/nfc/llcp_core.c sk_for_each_safe(sk, tmp, &local->raw_sockets.head) { tmp 1078 net/nfc/llcp_core.c struct sk_buff *s, *tmp; tmp 1084 net/nfc/llcp_core.c skb_queue_walk_safe(&llcp_sock->tx_pending_queue, s, tmp) { tmp 1096 net/nfc/llcp_core.c s, tmp) { tmp 569 net/nfc/nci/hci.c u8 *tmp; tmp 581 net/nfc/nci/hci.c tmp = kmalloc(1 + param_len, GFP_KERNEL); tmp 582 net/nfc/nci/hci.c if (!tmp) tmp 585 net/nfc/nci/hci.c *tmp = idx; tmp 586 net/nfc/nci/hci.c memcpy(tmp + 1, param, param_len); tmp 592 net/nfc/nci/hci.c data.data = tmp; tmp 605 net/nfc/nci/hci.c kfree(tmp); tmp 57 net/phonet/sysctl.c struct ctl_table tmp = { tmp 65 net/phonet/sysctl.c ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); tmp 90 net/rds/ib_recv.c struct list_head *tmp; tmp 92 net/rds/ib_recv.c tmp = xchg(&cache->xfer, NULL); tmp 93 net/rds/ib_recv.c if (tmp) { tmp 95 net/rds/ib_recv.c list_splice_entire_tail(tmp, cache->ready); tmp 97 net/rds/ib_recv.c cache->ready = tmp; tmp 79 net/rds/message.c struct rds_msg_zcopy_info *info, *tmp; tmp 86 net/rds/message.c list_for_each_entry_safe(info, tmp, ©, rs_zcookie_next) { tmp 136 net/rds/recv.c struct rds_message *rm, *tmp; tmp 150 net/rds/recv.c list_for_each_entry_safe(rm, tmp, tmp 761 net/rds/recv.c struct rds_incoming *inc, *tmp; tmp 765 net/rds/recv.c list_for_each_entry_safe(inc, tmp, &rs->rs_recv_queue, i_item) { tmp 67 net/rds/send.c struct rds_message *rm, *tmp; tmp 95 net/rds/send.c list_for_each_entry_safe(rm, tmp, &cp->cp_retrans, m_conn_item) { tmp 142 net/rds/send.c unsigned int tmp; tmp 375 net/rds/send.c tmp = min_t(int, ret, tmp 378 net/rds/send.c cp->cp_xmit_hdr_off += tmp; tmp 379 net/rds/send.c ret -= tmp; tmp 384 net/rds/send.c tmp = min_t(int, ret, sg->length - tmp 386 net/rds/send.c cp->cp_xmit_data_off += tmp; tmp 387 net/rds/send.c ret -= tmp; tmp 689 net/rds/send.c struct rds_message *rm, *tmp; tmp 695 net/rds/send.c list_for_each_entry_safe(rm, tmp, &cp->cp_retrans, m_conn_item) { tmp 724 net/rds/send.c struct rds_message *rm, *tmp; tmp 733 net/rds/send.c list_for_each_entry_safe(rm, tmp, &rs->rs_send_queue, m_sock_item) { tmp 1107 net/rfkill/core.c struct rfkill_int_event *ev, *tmp; tmp 1143 net/rfkill/core.c list_for_each_entry_safe(ev, tmp, &data->events, list) tmp 1261 net/rfkill/core.c struct rfkill_int_event *ev, *tmp; tmp 1268 net/rfkill/core.c list_for_each_entry_safe(ev, tmp, &data->events, list) tmp 948 net/rxrpc/af_rxrpc.c unsigned int tmp; tmp 952 net/rxrpc/af_rxrpc.c get_random_bytes(&tmp, sizeof(tmp)); tmp 953 net/rxrpc/af_rxrpc.c tmp &= 0x3fffffff; tmp 954 net/rxrpc/af_rxrpc.c if (tmp == 0) tmp 955 net/rxrpc/af_rxrpc.c tmp = 1; tmp 956 net/rxrpc/af_rxrpc.c idr_set_cursor(&rxrpc_client_conn_ids, tmp); tmp 39 net/rxrpc/call_accept.c int max, tmp; tmp 44 net/rxrpc/call_accept.c tmp = rx->sk.sk_ack_backlog; tmp 45 net/rxrpc/call_accept.c if (tmp >= max) { tmp 49 net/rxrpc/call_accept.c max -= tmp; tmp 57 net/rxrpc/call_accept.c tmp = CIRC_CNT(call_head, call_tail, size); tmp 58 net/rxrpc/call_accept.c if (tmp >= max) { tmp 59 net/rxrpc/call_accept.c _leave(" = -ENOBUFS [enough %u]", tmp); tmp 62 net/rxrpc/call_accept.c max = tmp + 1; tmp 1182 net/rxrpc/conn_client.c struct rxrpc_connection *conn, *tmp; tmp 1192 net/rxrpc/conn_client.c list_for_each_entry_safe(conn, tmp, &rxnet->idle_client_conns, tmp 220 net/rxrpc/key.c unsigned int toklen = *_toklen, n_parts, loop, tmp, paddedlen; tmp 246 net/rxrpc/key.c tmp = ntohl(*xdr++); tmp 248 net/rxrpc/key.c if (tmp <= 0 || tmp > AFSTOKEN_STRING_MAX) tmp 250 net/rxrpc/key.c paddedlen = (tmp + 3) & ~3; tmp 253 net/rxrpc/key.c princ->name_parts[loop] = kmalloc(tmp + 1, GFP_KERNEL); tmp 256 net/rxrpc/key.c memcpy(princ->name_parts[loop], xdr, tmp); tmp 257 net/rxrpc/key.c princ->name_parts[loop][tmp] = 0; tmp 264 net/rxrpc/key.c tmp = ntohl(*xdr++); tmp 266 net/rxrpc/key.c if (tmp <= 0 || tmp > AFSTOKEN_K5_REALM_MAX) tmp 268 net/rxrpc/key.c paddedlen = (tmp + 3) & ~3; tmp 271 net/rxrpc/key.c princ->realm = kmalloc(tmp + 1, GFP_KERNEL); tmp 274 net/rxrpc/key.c memcpy(princ->realm, xdr, tmp); tmp 275 net/rxrpc/key.c princ->realm[tmp] = 0; tmp 66 net/rxrpc/recvmsg.c u32 tmp = 0; tmp 73 net/rxrpc/recvmsg.c ret = put_cmsg(msg, SOL_RXRPC, RXRPC_ACK, 0, &tmp); tmp 76 net/rxrpc/recvmsg.c tmp = call->abort_code; tmp 77 net/rxrpc/recvmsg.c ret = put_cmsg(msg, SOL_RXRPC, RXRPC_ABORT, 4, &tmp); tmp 80 net/rxrpc/recvmsg.c tmp = call->abort_code; tmp 81 net/rxrpc/recvmsg.c ret = put_cmsg(msg, SOL_RXRPC, RXRPC_ABORT, 4, &tmp); tmp 84 net/rxrpc/recvmsg.c tmp = -call->error; tmp 85 net/rxrpc/recvmsg.c ret = put_cmsg(msg, SOL_RXRPC, RXRPC_NET_ERROR, 4, &tmp); tmp 88 net/rxrpc/recvmsg.c tmp = -call->error; tmp 89 net/rxrpc/recvmsg.c ret = put_cmsg(msg, SOL_RXRPC, RXRPC_LOCAL_ERROR, 4, &tmp); tmp 113 net/rxrpc/recvmsg.c int tmp = 0, ret; tmp 115 net/rxrpc/recvmsg.c ret = put_cmsg(msg, SOL_RXRPC, RXRPC_NEW_CALL, 0, &tmp); tmp 247 net/rxrpc/recvmsg.c __be16 tmp; tmp 248 net/rxrpc/recvmsg.c if (skb_copy_bits(skb, offset - 2, &tmp, 2) < 0) tmp 250 net/rxrpc/recvmsg.c cksum = ntohs(tmp); tmp 224 net/sched/act_api.c unsigned long tmp; tmp 230 net/sched/act_api.c idr_for_each_entry_ul(idr, p, tmp, id) { tmp 296 net/sched/act_api.c unsigned long tmp; tmp 305 net/sched/act_api.c idr_for_each_entry_ul(idr, p, tmp, id) { tmp 538 net/sched/act_api.c unsigned long tmp; tmp 540 net/sched/act_api.c idr_for_each_entry_ul(idr, p, tmp, id) { tmp 385 net/sched/act_bpf.c struct tcf_bpf_cfg tmp; tmp 387 net/sched/act_bpf.c tcf_bpf_prog_fill_cfg(to_bpf(act), &tmp); tmp 388 net/sched/act_bpf.c tcf_bpf_cfg_cleanup(&tmp); tmp 316 net/sched/cls_bpf.c struct cls_bpf_prog *prog, *tmp; tmp 318 net/sched/cls_bpf.c list_for_each_entry_safe(prog, tmp, &head->plist, link) tmp 1739 net/sched/cls_flower.c unsigned long id = arg->cookie, tmp; tmp 1744 net/sched/cls_flower.c idr_for_each_entry_continue_ul(&head->handle_idr, f, tmp, id) { tmp 584 net/sched/sch_atm.c struct atm_flow_data *flow, *tmp; tmp 592 net/sched/sch_atm.c list_for_each_entry_safe(flow, tmp, &p->flows, list) { tmp 495 net/sched/sch_cbq.c psched_tdiff_t tmp; tmp 499 net/sched/sch_cbq.c tmp = cbq_undelay_prio(q, prio, now); tmp 500 net/sched/sch_cbq.c if (tmp > 0) { tmp 502 net/sched/sch_cbq.c if (tmp < delay || delay == 0) tmp 503 net/sched/sch_cbq.c delay = tmp; tmp 205 net/sched/sch_etf.c struct sk_buff *tmp = NULL; tmp 207 net/sched/sch_etf.c skb_rbtree_walk_from_safe(skb, tmp) { tmp 912 net/sched/sch_generic.c struct sk_buff *skb, *tmp; tmp 917 net/sched/sch_generic.c skb_queue_walk_safe(&qdisc->gso_skb, skb, tmp) { tmp 922 net/sched/sch_generic.c skb_queue_walk_safe(&qdisc->skb_bad_txq, skb, tmp) { tmp 952 net/sched/sch_generic.c struct sk_buff *skb, *tmp; tmp 968 net/sched/sch_generic.c skb_queue_walk_safe(&qdisc->gso_skb, skb, tmp) { tmp 973 net/sched/sch_generic.c skb_queue_walk_safe(&qdisc->skb_bad_txq, skb, tmp) { tmp 1648 net/sctp/associola.c struct sctp_chunk *tmp; tmp 1650 net/sctp/associola.c list_for_each_entry_safe(asconf, tmp, &asoc->addip_chunk_list, list) { tmp 1660 net/sctp/associola.c struct sctp_chunk *tmp; tmp 1662 net/sctp/associola.c list_for_each_entry_safe(ack, tmp, &asoc->asconf_ack_list, tmp 1673 net/sctp/associola.c struct sctp_chunk *tmp; tmp 1678 net/sctp/associola.c list_for_each_entry_safe(ack, tmp, &asoc->asconf_ack_list, tmp 121 net/sctp/auth.c struct sctp_shared_key *tmp; tmp 126 net/sctp/auth.c key_for_each_safe(ep_key, tmp, keys) { tmp 933 net/sctp/input.c struct rhlist_head *tmp, *list; tmp 948 net/sctp/input.c rhl_for_each_entry_rcu(transport, tmp, list, node) tmp 978 net/sctp/input.c struct rhlist_head *tmp, *list; tmp 989 net/sctp/input.c rhl_for_each_entry_rcu(t, tmp, list, node) { tmp 1008 net/sctp/input.c struct rhlist_head *tmp, *list; tmp 1019 net/sctp/input.c rhl_for_each_entry_rcu(t, tmp, list, node) tmp 44 net/sctp/inqueue.c struct sctp_chunk *chunk, *tmp; tmp 47 net/sctp/inqueue.c list_for_each_entry_safe(chunk, tmp, &queue->in_chunk_list, list) { tmp 161 net/sctp/output.c struct sctp_chunk *chunk, *tmp; tmp 165 net/sctp/output.c list_for_each_entry_safe(chunk, tmp, &packet->chunk_list, list) { tmp 411 net/sctp/output.c struct sctp_chunk *chunk, *tmp; tmp 429 net/sctp/output.c list_for_each_entry_safe(chunk, tmp, &packet->chunk_list, tmp 450 net/sctp/output.c list_for_each_entry_safe(chunk, tmp, &packet->chunk_list, list) { tmp 549 net/sctp/output.c struct sctp_chunk *chunk, *tmp; tmp 634 net/sctp/output.c list_for_each_entry_safe(chunk, tmp, &packet->chunk_list, list) { tmp 209 net/sctp/outqueue.c struct sctp_chunk *chunk, *tmp; tmp 260 net/sctp/outqueue.c list_for_each_entry_safe(chunk, tmp, &q->control_chunk_list, list) { tmp 870 net/sctp/outqueue.c struct sctp_chunk *chunk, *tmp; tmp 874 net/sctp/outqueue.c list_for_each_entry_safe(chunk, tmp, &ctx->q->control_chunk_list, list) { tmp 6337 net/sctp/sm_statefuns.c int tmp; tmp 6369 net/sctp/sm_statefuns.c tmp = sctp_tsnmap_check(&asoc->peer.tsn_map, tsn); tmp 6370 net/sctp/sm_statefuns.c if (tmp < 0) { tmp 6377 net/sctp/sm_statefuns.c } else if (tmp > 0) { tmp 194 net/sctp/socket.c struct sk_buff *skb, *tmp; tmp 196 net/sctp/socket.c sctp_skb_for_each(skb, &asoc->ulpq.lobby, tmp) tmp 199 net/sctp/socket.c sctp_skb_for_each(skb, &asoc->ulpq.reasm, tmp) tmp 202 net/sctp/socket.c sctp_skb_for_each(skb, &asoc->ulpq.reasm_uo, tmp) tmp 1949 net/sctp/socket.c struct sctp_association *asoc, *tmp; tmp 1975 net/sctp/socket.c list_for_each_entry_safe(asoc, tmp, &ep->asocs, asocs) { tmp 8940 net/sctp/socket.c struct sctp_association *tmp = asoc; tmp 8964 net/sctp/socket.c for (tmp = list_next_entry(tmp, asocs); 1; tmp 8965 net/sctp/socket.c tmp = list_next_entry(tmp, asocs)) { tmp 8967 net/sctp/socket.c if (&tmp->asocs == &((sctp_sk(sk))->ep->asocs)) tmp 8970 net/sctp/socket.c __sctp_write_space(tmp); tmp 8972 net/sctp/socket.c if (tmp == asoc) tmp 9365 net/sctp/socket.c struct sk_buff *skb, *tmp; tmp 9415 net/sctp/socket.c sctp_skb_for_each(skb, &oldsk->sk_receive_queue, tmp) { tmp 9444 net/sctp/socket.c sctp_skb_for_each(skb, &oldsp->pd_lobby, tmp) { tmp 424 net/sctp/stream_interleave.c struct sk_buff *pos, *tmp; tmp 430 net/sctp/stream_interleave.c sctp_skb_for_each(pos, &ulpq->lobby, tmp) { tmp 1018 net/sctp/stream_interleave.c struct sk_buff *pos, *tmp; tmp 1024 net/sctp/stream_interleave.c sctp_skb_for_each(pos, lobby, tmp) { tmp 1218 net/sctp/stream_interleave.c struct sk_buff *pos, *tmp; tmp 1220 net/sctp/stream_interleave.c skb_queue_walk_safe(&ulpq->reasm, pos, tmp) { tmp 1230 net/sctp/stream_interleave.c skb_queue_walk_safe(&ulpq->reasm_uo, pos, tmp) { tmp 313 net/sctp/stream_sched_prio.c struct sctp_stream_priorities *p, *tmp; tmp 316 net/sctp/stream_sched_prio.c list_for_each_entry_safe(p, tmp, &stream->prio_list, prio_sched) tmp 169 net/sctp/stream_sched_rr.c struct sctp_stream_out_ext *soute, *tmp; tmp 171 net/sctp/stream_sched_rr.c list_for_each_entry_safe(soute, tmp, &stream->rr_list, rr_list) tmp 333 net/sctp/sysctl.c char tmp[8] = {0}; tmp 339 net/sctp/sysctl.c tbl.data = tmp; tmp 340 net/sctp/sysctl.c tbl.maxlen = sizeof(tmp); tmp 349 net/sctp/sysctl.c if (!strncmp(tmp, "md5", 3)) { tmp 355 net/sctp/sysctl.c if (!strncmp(tmp, "sha1", 4)) { tmp 360 net/sctp/sysctl.c if (!strncmp(tmp, "none", 4)) { tmp 148 net/sctp/ulpqueue.c struct sk_buff *skb, *tmp; tmp 151 net/sctp/ulpqueue.c sctp_skb_for_each(skb, &sp->pd_lobby, tmp) { tmp 688 net/sctp/ulpqueue.c struct sk_buff *pos, *tmp; tmp 695 net/sctp/ulpqueue.c skb_queue_walk_safe(&ulpq->reasm, pos, tmp) { tmp 750 net/sctp/ulpqueue.c struct sk_buff *pos, *tmp; tmp 761 net/sctp/ulpqueue.c sctp_skb_for_each(pos, &ulpq->lobby, tmp) { tmp 877 net/sctp/ulpqueue.c struct sk_buff *pos, *tmp; tmp 890 net/sctp/ulpqueue.c sctp_skb_for_each(pos, lobby, tmp) { tmp 3429 net/socket.c compat_ulong_t tmp; tmp 3431 net/socket.c if (get_user(tmp, argp)) tmp 3433 net/socket.c if (tmp == BRCTL_GET_VERSION) tmp 1856 net/sunrpc/auth_gss/auth_gss.c char *tmp; tmp 1858 net/sunrpc/auth_gss/auth_gss.c tmp = page_address(rqstp->rq_enc_pages[rqstp->rq_enc_pages_num - 1]); tmp 1859 net/sunrpc/auth_gss/auth_gss.c memcpy(tmp, snd_buf->tail[0].iov_base, snd_buf->tail[0].iov_len); tmp 1860 net/sunrpc/auth_gss/auth_gss.c snd_buf->tail[0].iov_base = tmp; tmp 2097 net/sunrpc/auth_gss/auth_gss.c u32 tmp = seq_xmit; tmp 2099 net/sunrpc/auth_gss/auth_gss.c seq_xmit = cmpxchg(&ctx->gc_seq_xmit, tmp, req->rq_seqno); tmp 2100 net/sunrpc/auth_gss/auth_gss.c if (seq_xmit == tmp) { tmp 255 net/sunrpc/auth_gss/gss_krb5_mech.c int tmp; tmp 279 net/sunrpc/auth_gss/gss_krb5_mech.c p = simple_get_bytes(p, end, &tmp, sizeof(tmp)); tmp 282 net/sunrpc/auth_gss/gss_krb5_mech.c if (tmp != SGN_ALG_DES_MAC_MD5) { tmp 286 net/sunrpc/auth_gss/gss_krb5_mech.c p = simple_get_bytes(p, end, &tmp, sizeof(tmp)); tmp 289 net/sunrpc/auth_gss/gss_krb5_mech.c if (tmp != SEAL_ALG_DES) { tmp 410 net/sunrpc/auth_gss/gss_krb5_wrap.c char tmp[LOCAL_BUF_LEN]; tmp 418 net/sunrpc/auth_gss/gss_krb5_wrap.c read_bytes_from_xdr_buf(buf, i+shift, tmp, this_len); tmp 419 net/sunrpc/auth_gss/gss_krb5_wrap.c write_bytes_to_xdr_buf(buf, i, tmp, this_len); tmp 173 net/sunrpc/auth_gss/gss_rpc_xdr.c u32 tmp; tmp 187 net/sunrpc/auth_gss/gss_rpc_xdr.c err = get_host_u32(xdr, &tmp); tmp 190 net/sunrpc/auth_gss/gss_rpc_xdr.c creds->cr_uid = make_kuid(&init_user_ns, tmp); tmp 193 net/sunrpc/auth_gss/gss_rpc_xdr.c err = get_host_u32(xdr, &tmp); tmp 196 net/sunrpc/auth_gss/gss_rpc_xdr.c creds->cr_gid = make_kgid(&init_user_ns, tmp); tmp 199 net/sunrpc/auth_gss/gss_rpc_xdr.c err = get_host_u32(xdr, &tmp); tmp 202 net/sunrpc/auth_gss/gss_rpc_xdr.c N = tmp; tmp 212 net/sunrpc/auth_gss/gss_rpc_xdr.c err = get_host_u32(xdr, &tmp); tmp 216 net/sunrpc/auth_gss/gss_rpc_xdr.c kgid = make_kgid(&init_user_ns, tmp); tmp 118 net/sunrpc/auth_gss/svcauth_gss.c struct rsi *tmp = container_of(b, struct rsi, h); tmp 119 net/sunrpc/auth_gss/svcauth_gss.c return netobj_equal(&item->in_handle, &tmp->in_handle) && tmp 120 net/sunrpc/auth_gss/svcauth_gss.c netobj_equal(&item->in_token, &tmp->in_token); tmp 385 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *tmp = container_of(b, struct rsc, h); tmp 387 net/sunrpc/auth_gss/svcauth_gss.c return netobj_equal(&new->handle, &tmp->handle); tmp 394 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *tmp = container_of(ctmp, struct rsc, h); tmp 396 net/sunrpc/auth_gss/svcauth_gss.c new->handle.len = tmp->handle.len; tmp 397 net/sunrpc/auth_gss/svcauth_gss.c tmp->handle.len = 0; tmp 398 net/sunrpc/auth_gss/svcauth_gss.c new->handle.data = tmp->handle.data; tmp 399 net/sunrpc/auth_gss/svcauth_gss.c tmp->handle.data = NULL; tmp 408 net/sunrpc/auth_gss/svcauth_gss.c struct rsc *tmp = container_of(ctmp, struct rsc, h); tmp 410 net/sunrpc/auth_gss/svcauth_gss.c new->mechctx = tmp->mechctx; tmp 411 net/sunrpc/auth_gss/svcauth_gss.c tmp->mechctx = NULL; tmp 414 net/sunrpc/auth_gss/svcauth_gss.c new->cred = tmp->cred; tmp 415 net/sunrpc/auth_gss/svcauth_gss.c init_svc_cred(&tmp->cred); tmp 215 net/sunrpc/backchannel_rqst.c struct rpc_rqst *req = NULL, *tmp = NULL; tmp 224 net/sunrpc/backchannel_rqst.c list_for_each_entry_safe(req, tmp, &xprt->bc_pa_list, rq_bc_pa_list) { tmp 64 net/sunrpc/cache.c struct cache_head *tmp; tmp 67 net/sunrpc/cache.c hlist_for_each_entry_rcu(tmp, head, cache_list) { tmp 68 net/sunrpc/cache.c if (detail->match(tmp, key)) { tmp 69 net/sunrpc/cache.c if (cache_is_expired(detail, tmp)) tmp 71 net/sunrpc/cache.c tmp = cache_get_rcu(tmp); tmp 73 net/sunrpc/cache.c return tmp; tmp 84 net/sunrpc/cache.c struct cache_head *new, *tmp, *freeme = NULL; tmp 100 net/sunrpc/cache.c hlist_for_each_entry_rcu(tmp, head, cache_list) { tmp 101 net/sunrpc/cache.c if (detail->match(tmp, key)) { tmp 102 net/sunrpc/cache.c if (cache_is_expired(detail, tmp)) { tmp 103 net/sunrpc/cache.c hlist_del_init_rcu(&tmp->cache_list); tmp 105 net/sunrpc/cache.c freeme = tmp; tmp 108 net/sunrpc/cache.c cache_get(tmp); tmp 111 net/sunrpc/cache.c return tmp; tmp 171 net/sunrpc/cache.c struct cache_head *tmp; tmp 188 net/sunrpc/cache.c tmp = detail->alloc(); tmp 189 net/sunrpc/cache.c if (!tmp) { tmp 193 net/sunrpc/cache.c cache_init(tmp, detail); tmp 194 net/sunrpc/cache.c detail->init(tmp, old); tmp 198 net/sunrpc/cache.c set_bit(CACHE_NEGATIVE, &tmp->flags); tmp 200 net/sunrpc/cache.c detail->update(tmp, new); tmp 201 net/sunrpc/cache.c hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); tmp 203 net/sunrpc/cache.c cache_get(tmp); tmp 204 net/sunrpc/cache.c cache_fresh_locked(tmp, new->expiry_time, detail); tmp 207 net/sunrpc/cache.c cache_fresh_unlocked(tmp, detail); tmp 210 net/sunrpc/cache.c return tmp; tmp 444 net/sunrpc/cache.c struct hlist_node *tmp; tmp 451 net/sunrpc/cache.c hlist_for_each_entry_safe(ch, tmp, head, cache_list) { tmp 515 net/sunrpc/cache.c struct hlist_node *tmp = NULL; tmp 527 net/sunrpc/cache.c hlist_for_each_entry_safe(ch, tmp, head, cache_list) { tmp 704 net/sunrpc/cache.c struct hlist_node *tmp; tmp 710 net/sunrpc/cache.c hlist_for_each_entry_safe(dreq, tmp, &cache_defer_hash[hash], hash) tmp 727 net/sunrpc/cache.c struct cache_deferred_req *dreq, *tmp; tmp 734 net/sunrpc/cache.c list_for_each_entry_safe(dreq, tmp, &cache_defer_list, recent) { tmp 1074 net/sunrpc/cache.c struct cache_queue *cq, *tmp; tmp 1080 net/sunrpc/cache.c list_for_each_entry_safe(cq, tmp, &detail->queue, list) tmp 1082 net/sunrpc/svc_xprt.c struct svc_xprt *tmp; tmp 1089 net/sunrpc/svc_xprt.c list_for_each_entry_safe(xprt, tmp, &pool->sp_sockets, xpt_ready) { tmp 137 net/sunrpc/xprtrdma/backchannel.c struct rpc_rqst *rqst, *tmp; tmp 140 net/sunrpc/xprtrdma/backchannel.c list_for_each_entry_safe(rqst, tmp, &xprt->bc_pa_list, rq_bc_pa_list) { tmp 304 net/sunrpc/xprtrdma/svc_rdma_rw.c struct list_head *tmp; tmp 313 net/sunrpc/xprtrdma/svc_rdma_rw.c list_for_each(tmp, &cc->cc_rwctxts) { tmp 316 net/sunrpc/xprtrdma/svc_rdma_rw.c ctxt = list_entry(tmp, struct svc_rdma_rw_ctxt, rw_list); tmp 58 net/tipc/addr.c u32 *tmp = (u32 *)id; tmp 62 net/tipc/addr.c tn->trial_addr = tmp[0] ^ tmp[1] ^ tmp[2] ^ tmp[3]; tmp 284 net/tipc/bcast.c struct tipc_dest *dst, *tmp; tmp 291 net/tipc/bcast.c list_for_each_entry_safe(dst, tmp, &dests->list, list) { tmp 774 net/tipc/bcast.c struct sk_buff *skb, *_skb, *tmp; tmp 840 net/tipc/bcast.c skb_queue_walk_safe(defq, _skb, tmp) { tmp 521 net/tipc/bearer.c struct sk_buff *skb, *tmp; tmp 530 net/tipc/bearer.c skb_queue_walk_safe(xmitq, skb, tmp) { tmp 548 net/tipc/bearer.c struct sk_buff *skb, *tmp; tmp 555 net/tipc/bearer.c skb_queue_walk_safe(xmitq, skb, tmp) { tmp 199 net/tipc/group.c struct tipc_member *m, *tmp; tmp 203 net/tipc/group.c rbtree_postorder_for_each_entry_safe(m, tmp, tree, tree_node) { tmp 214 net/tipc/group.c struct tipc_member *m, *tmp; tmp 219 net/tipc/group.c rbtree_postorder_for_each_entry_safe(m, tmp, tree, tree_node) { tmp 281 net/tipc/group.c struct tipc_member *tmp; tmp 285 net/tipc/group.c tmp = container_of(*n, struct tipc_member, tree_node); tmp 287 net/tipc/group.c tmp = container_of(parent, struct tipc_member, tree_node); tmp 288 net/tipc/group.c nkey = (u64)tmp->node << 32 | tmp->port; tmp 368 net/tipc/group.c struct tipc_member *_m, *tmp; tmp 381 net/tipc/group.c list_for_each_entry_safe(_m, tmp, &grp->small_win, small_win) { tmp 469 net/tipc/group.c struct sk_buff *_skb, *tmp; tmp 474 net/tipc/group.c skb_queue_walk_safe(defq, _skb, tmp) { tmp 856 net/tipc/link.c struct sk_buff *skb, *tmp; tmp 866 net/tipc/link.c skb_queue_walk_safe(wakeupq, skb, tmp) { tmp 1331 net/tipc/link.c struct sk_buff *skb, *tmp; tmp 1333 net/tipc/link.c skb_queue_walk_safe(&l->transmq, skb, tmp) { tmp 1404 net/tipc/link.c struct sk_buff *skb, *_skb, *tmp; tmp 1412 net/tipc/link.c skb_queue_walk_safe(&l->transmq, skb, tmp) { tmp 2228 net/tipc/link.c struct sk_buff *skb, *tmp; tmp 2245 net/tipc/link.c skb_queue_walk_from_safe(&snd_l->transmq, skb, tmp) { tmp 646 net/tipc/monitor.c struct tipc_peer *peer, *tmp; tmp 654 net/tipc/monitor.c list_for_each_entry_safe(peer, tmp, &self->list, list) { tmp 678 net/tipc/msg.c struct sk_buff *skb, *tmp = NULL; tmp 685 net/tipc/msg.c if (tipc_buf_append(&tmp, &skb)) { tmp 689 net/tipc/msg.c if (!tmp) tmp 763 net/tipc/msg.c struct sk_buff *_skb, *tmp; tmp 775 net/tipc/msg.c skb_queue_walk_safe(list, _skb, tmp) { tmp 1139 net/tipc/msg.h struct sk_buff *_skb, *tmp, *skb = NULL; tmp 1142 net/tipc/msg.h skb_queue_walk_safe(list, _skb, tmp) { tmp 1172 net/tipc/msg.h struct sk_buff_head tmp; tmp 1174 net/tipc/msg.h __skb_queue_head_init(&tmp); tmp 1177 net/tipc/msg.h skb_queue_splice_tail_init(list, &tmp); tmp 1179 net/tipc/msg.h tipc_skb_queue_splice_tail(&tmp, head); tmp 236 net/tipc/name_distr.c struct distr_queue_item *e, *tmp; tmp 239 net/tipc/name_distr.c list_for_each_entry_safe(e, tmp, &tn->dist_queue, next) { tmp 250 net/tipc/name_distr.c struct publication *publ, *tmp; tmp 252 net/tipc/name_distr.c list_for_each_entry_safe(publ, tmp, nsub_list, binding_node) tmp 189 net/tipc/name_table.c struct service_range *sr, *tmp; tmp 193 net/tipc/name_table.c tmp = container_of(*n, struct service_range, tree_node); tmp 195 net/tipc/name_table.c tmp = container_of(parent, struct service_range, tree_node); tmp 196 net/tipc/name_table.c if (lower < tmp->lower) tmp 198 net/tipc/name_table.c else if (lower > tmp->lower) tmp 200 net/tipc/name_table.c else if (upper < tmp->upper) tmp 202 net/tipc/name_table.c else if (upper > tmp->upper) tmp 205 net/tipc/name_table.c return tmp; tmp 226 net/tipc/name_table.c struct tipc_subscription *sub, *tmp; tmp 252 net/tipc/name_table.c list_for_each_entry_safe(sub, tmp, &sc->subscriptions, service_list) { tmp 368 net/tipc/name_table.c struct tipc_subscription *sub, *tmp; tmp 386 net/tipc/name_table.c list_for_each_entry_safe(sub, tmp, &sc->subscriptions, service_list) { tmp 759 net/tipc/name_table.c struct publication *p, *tmp; tmp 763 net/tipc/name_table.c list_for_each_entry_safe(p, tmp, &sr->all_publ, all_publ) { tmp 1040 net/tipc/name_table.c struct tipc_dest *dst, *tmp; tmp 1042 net/tipc/name_table.c list_for_each_entry_safe(dst, tmp, l, list) { tmp 233 net/tipc/topsrv.c struct tipc_subscription *sub, *tmp; tmp 236 net/tipc/topsrv.c list_for_each_entry_safe(sub, tmp, sub_list, sub_list) { tmp 171 net/tipc/trace.c struct sk_buff *hskb, *tskb, *skb, *tmp; tmp 195 net/tipc/trace.c skb_queue_walk_safe(list, skb, tmp) { tmp 275 net/tipc/udp_media.c struct udp_replicast *rcast, *tmp; tmp 284 net/tipc/udp_media.c list_for_each_entry_safe(rcast, tmp, &ub->rcast.list, list) { tmp 450 net/tipc/udp_media.c struct udp_replicast *rcast, *tmp; tmp 507 net/tipc/udp_media.c list_for_each_entry_safe(rcast, tmp, &ub->rcast.list, list) { tmp 797 net/tipc/udp_media.c struct udp_replicast *rcast, *tmp; tmp 799 net/tipc/udp_media.c list_for_each_entry_safe(rcast, tmp, &ub->rcast.list, list) { tmp 69 net/tls/tls_device.c struct tls_context *ctx, *tmp; tmp 77 net/tls/tls_device.c list_for_each_entry_safe(ctx, tmp, &gc_list, list) { tmp 1172 net/tls/tls_device.c struct tls_context *ctx, *tmp; tmp 1180 net/tls/tls_device.c list_for_each_entry_safe(ctx, tmp, &tls_device_list, list) { tmp 1189 net/tls/tls_device.c list_for_each_entry_safe(ctx, tmp, &list, list) { tmp 368 net/tls/tls_sw.c struct tls_rec *rec, *tmp; tmp 394 net/tls/tls_sw.c list_for_each_entry_safe(rec, tmp, &ctx->tx_list, list) { tmp 553 net/tls/tls_sw.c struct scatterlist tmp = { }; tmp 576 net/tls/tls_sw.c sg_set_page(&tmp, sg_page(sge), len, tmp 604 net/tls/tls_sw.c if (tmp.length) { tmp 605 net/tls/tls_sw.c memcpy(nsge, &tmp, sizeof(*nsge)); tmp 669 net/tls/tls_sw.c struct tls_rec *rec = ctx->open_rec, *tmp = NULL; tmp 694 net/tls/tls_sw.c rc = tls_split_open_record(sk, rec, &tmp, msg_pl, msg_en, tmp 705 net/tls/tls_sw.c tls_merge_open_record(sk, rec, tmp, orig_end); tmp 766 net/tls/tls_sw.c tls_merge_open_record(sk, rec, tmp, orig_end); tmp 772 net/tls/tls_sw.c msg_pl = &tmp->msg_plaintext; tmp 773 net/tls/tls_sw.c msg_en = &tmp->msg_encrypted; tmp 776 net/tls/tls_sw.c ctx->open_rec = tmp; tmp 2123 net/tls/tls_sw.c struct tls_rec *rec, *tmp; tmp 2144 net/tls/tls_sw.c list_for_each_entry_safe(rec, tmp, &ctx->tx_list, list) { tmp 34 net/vmw_vsock/af_vsock_tap.c struct vsock_tap *tmp; tmp 39 net/vmw_vsock/af_vsock_tap.c list_for_each_entry(tmp, &vsock_tap_all, list) { tmp 40 net/vmw_vsock/af_vsock_tap.c if (vt == tmp) { tmp 83 net/vmw_vsock/af_vsock_tap.c struct vsock_tap *tmp; tmp 85 net/vmw_vsock/af_vsock_tap.c list_for_each_entry_rcu(tmp, &vsock_tap_all, list) { tmp 86 net/vmw_vsock/af_vsock_tap.c ret = __vsock_deliver_tap_skb(skb, tmp->dev); tmp 826 net/vmw_vsock/virtio_transport_common.c struct virtio_vsock_pkt *pkt, *tmp; tmp 834 net/vmw_vsock/virtio_transport_common.c list_for_each_entry_safe(pkt, tmp, &vvs->rx_queue, list) { tmp 223 net/wireless/chan.c int tmp; tmp 234 net/wireless/chan.c tmp = (30 + c->chan->center_freq - c->center_freq1)/20; tmp 236 net/wireless/chan.c tmp /= 2; tmp 238 net/wireless/chan.c *pri40 = c->center_freq1 - 20 + 40 * tmp; tmp 242 net/wireless/chan.c tmp = (70 + c->chan->center_freq - c->center_freq1)/20; tmp 244 net/wireless/chan.c tmp /= 2; tmp 246 net/wireless/chan.c *pri40 = c->center_freq1 - 60 + 40 * tmp; tmp 248 net/wireless/chan.c tmp /= 2; tmp 249 net/wireless/chan.c *pri80 = c->center_freq1 - 40 + 80 * tmp; tmp 326 net/wireless/core.c struct wireless_dev *wdev, *tmp; tmp 330 net/wireless/core.c list_for_each_entry_safe(wdev, tmp, &rdev->wiphy.wdev_list, list) { tmp 351 net/wireless/core.c struct cfg80211_sched_scan_request *req, *tmp; tmp 357 net/wireless/core.c list_for_each_entry_safe(req, tmp, &rdev->sched_scan_req_list, list) { tmp 1042 net/wireless/core.c struct cfg80211_internal_bss *scan, *tmp; tmp 1049 net/wireless/core.c list_for_each_entry_safe(scan, tmp, &rdev->bss_list, list) tmp 1141 net/wireless/core.c struct cfg80211_sched_scan_request *pos, *tmp; tmp 1154 net/wireless/core.c list_for_each_entry_safe(pos, tmp, &rdev->sched_scan_req_list, tmp 1260 net/wireless/core.c struct cfg80211_sched_scan_request *pos, *tmp; tmp 1320 net/wireless/core.c list_for_each_entry_safe(pos, tmp, tmp 538 net/wireless/core.h struct cfg80211_internal_bss *tmp, tmp 141 net/wireless/lib80211.c struct lib80211_crypt_data *tmp; tmp 147 net/wireless/lib80211.c tmp = *crypt; tmp 156 net/wireless/lib80211.c list_add(&tmp->list, &info->crypt_deinit_list); tmp 543 net/wireless/mlme.c struct cfg80211_mgmt_registration *reg, *tmp; tmp 547 net/wireless/mlme.c list_for_each_entry_safe(reg, tmp, &wdev->mgmt_registrations, list) { tmp 121 net/wireless/nl80211.c struct cfg80211_registered_device *rdev = NULL, *tmp; tmp 140 net/wireless/nl80211.c tmp = cfg80211_rdev_by_wiphy_idx(wdev_id >> 32); tmp 141 net/wireless/nl80211.c if (tmp) { tmp 143 net/wireless/nl80211.c list_for_each_entry(wdev, &tmp->wiphy.wdev_list, list) { tmp 151 net/wireless/nl80211.c tmp = NULL; tmp 153 net/wireless/nl80211.c if (rdev && tmp != rdev) tmp 155 net/wireless/nl80211.c rdev = tmp; tmp 165 net/wireless/nl80211.c tmp = wiphy_to_rdev( tmp 168 net/wireless/nl80211.c tmp = NULL; tmp 171 net/wireless/nl80211.c if (!tmp) tmp 175 net/wireless/nl80211.c if (rdev && tmp != rdev) tmp 178 net/wireless/nl80211.c rdev = tmp; tmp 835 net/wireless/nl80211.c struct wireless_dev *tmp; tmp 842 net/wireless/nl80211.c list_for_each_entry(tmp, &(*rdev)->wiphy.wdev_list, list) { tmp 843 net/wireless/nl80211.c if (tmp->identifier == cb->args[1]) { tmp 844 net/wireless/nl80211.c *wdev = tmp; tmp 4025 net/wireless/nl80211.c int n_entries = 0, tmp; tmp 4027 net/wireless/nl80211.c nla_for_each_nested(attr, nl_attr, tmp) { tmp 4048 net/wireless/nl80211.c int i = 0, n_entries, tmp; tmp 4075 net/wireless/nl80211.c nla_for_each_nested(attr, info->attrs[NL80211_ATTR_MAC_ADDRS], tmp) { tmp 4726 net/wireless/nl80211.c u8 tmp; tmp 4730 net/wireless/nl80211.c tmp = nla_get_u8(info->attrs[NL80211_ATTR_P2P_OPPPS]); tmp 4731 net/wireless/nl80211.c params.p2p_opp_ps = tmp; tmp 6459 net/wireless/nl80211.c u8 tmp; tmp 6463 net/wireless/nl80211.c tmp = nla_get_u8(info->attrs[NL80211_ATTR_P2P_OPPPS]); tmp 6464 net/wireless/nl80211.c params.p2p_opp_ps = tmp; tmp 7508 net/wireless/nl80211.c int err, tmp, n_ssids = 0, n_channels, i; tmp 7536 net/wireless/nl80211.c nla_for_each_nested(attr, info->attrs[NL80211_ATTR_SCAN_SSIDS], tmp) tmp 7576 net/wireless/nl80211.c nla_for_each_nested(attr, info->attrs[NL80211_ATTR_SCAN_FREQUENCIES], tmp) { tmp 7644 net/wireless/nl80211.c nla_for_each_nested(attr, info->attrs[NL80211_ATTR_SCAN_SSIDS], tmp) { tmp 7670 net/wireless/nl80211.c tmp) { tmp 7774 net/wireless/nl80211.c int tmp, err, i = 0; tmp 7803 net/wireless/nl80211.c nla_for_each_nested(attr, attrs[NL80211_ATTR_SCHED_SCAN_PLANS], tmp) { tmp 7861 net/wireless/nl80211.c int i, tmp, ret = 0; tmp 7877 net/wireless/nl80211.c nla_for_each_nested(attr, tb_band_rssi, tmp) { tmp 7895 net/wireless/nl80211.c int err, tmp, n_ssids = 0, n_match_sets = 0, n_channels, i, n_plans = 0; tmp 7912 net/wireless/nl80211.c tmp) tmp 7930 net/wireless/nl80211.c tmp) { tmp 7982 net/wireless/nl80211.c attrs[NL80211_ATTR_SCHED_SCAN_PLANS], tmp) tmp 8054 net/wireless/nl80211.c tmp) { tmp 8102 net/wireless/nl80211.c tmp) { tmp 8118 net/wireless/nl80211.c tmp) { tmp 12994 net/wireless/nl80211.c struct wireless_dev *tmp; tmp 13002 net/wireless/nl80211.c list_for_each_entry(tmp, &wiphy->wdev_list, list) { tmp 13003 net/wireless/nl80211.c if (tmp->identifier == cb->args[1] - 1) { tmp 13004 net/wireless/nl80211.c *wdev = tmp; tmp 16737 net/wireless/nl80211.c struct cfg80211_beacon_registration *reg, *tmp; tmp 16770 net/wireless/nl80211.c list_for_each_entry_safe(reg, tmp, &rdev->beacon_registrations, tmp 538 net/wireless/pmsr.c struct cfg80211_pmsr_request *req, *tmp; tmp 544 net/wireless/pmsr.c list_for_each_entry_safe(req, tmp, &wdev->pmsr_list, list) { tmp 551 net/wireless/pmsr.c list_for_each_entry_safe(req, tmp, &free_list, list) { tmp 1152 net/wireless/reg.c const struct ieee80211_reg_rule *tmp; tmp 1166 net/wireless/reg.c tmp = &rd->reg_rules[--no]; tmp 1167 net/wireless/reg.c freq_range_tmp = &tmp->freq_range; tmp 1182 net/wireless/reg.c tmp = &rd->reg_rules[++no]; tmp 1183 net/wireless/reg.c freq_range_tmp = &tmp->freq_range; tmp 2504 net/wireless/reg.c const struct ieee80211_regdomain *regd, *tmp; tmp 2520 net/wireless/reg.c tmp = get_wiphy_regdom(wiphy); tmp 2522 net/wireless/reg.c rcu_free_regdom(tmp); tmp 2832 net/wireless/reg.c struct reg_beacon *pending_beacon, *tmp; tmp 2837 net/wireless/reg.c list_for_each_entry_safe(pending_beacon, tmp, tmp 2856 net/wireless/reg.c const struct ieee80211_regdomain *tmp; tmp 2872 net/wireless/reg.c tmp = get_wiphy_regdom(wiphy); tmp 2874 net/wireless/reg.c rcu_free_regdom(tmp); tmp 3540 net/wireless/reg.c const struct ieee80211_regdomain *tmp; tmp 3582 net/wireless/reg.c tmp = get_wiphy_regdom(request_wiphy); tmp 3584 net/wireless/reg.c rcu_free_regdom(tmp); tmp 4021 net/wireless/reg.c struct regulatory_request *reg_request, *tmp; tmp 4047 net/wireless/reg.c list_for_each_entry_safe(reg_request, tmp, ®_requests_list, list) { tmp 236 net/wireless/scan.c u8 *pos, *tmp; tmp 275 net/wireless/scan.c tmp = (u8 *)cfg80211_find_ext_ie(tmp_old[2], sub_copy, tmp 278 net/wireless/scan.c tmp = (u8 *)cfg80211_find_ie(tmp_old[0], sub_copy, tmp 281 net/wireless/scan.c if (!tmp) { tmp 299 net/wireless/scan.c if (!memcmp(tmp_old + 2, tmp + 2, 5)) { tmp 303 net/wireless/scan.c memcpy(pos, tmp, tmp[1] + 2); tmp 304 net/wireless/scan.c pos += tmp[1] + 2; tmp 305 net/wireless/scan.c tmp[0] = WLAN_EID_SSID; tmp 312 net/wireless/scan.c memcpy(pos, tmp, tmp[1] + 2); tmp 313 net/wireless/scan.c pos += tmp[1] + 2; tmp 314 net/wireless/scan.c tmp[0] = WLAN_EID_SSID; tmp 398 net/wireless/scan.c struct cfg80211_internal_bss *bss, *tmp; tmp 403 net/wireless/scan.c list_for_each_entry_safe(bss, tmp, &rdev->bss_list, list) { tmp 604 net/wireless/scan.c struct cfg80211_sched_scan_request *req, *tmp; tmp 610 net/wireless/scan.c list_for_each_entry_safe(req, tmp, &rdev->sched_scan_req_list, list) { tmp 1184 net/wireless/scan.c struct cfg80211_internal_bss *tmp, tmp 1189 net/wireless/scan.c if (WARN_ON(!tmp->pub.channel)) tmp 1192 net/wireless/scan.c tmp->ts = ts; tmp 1196 net/wireless/scan.c if (WARN_ON(!rcu_access_pointer(tmp->pub.ies))) { tmp 1201 net/wireless/scan.c found = rb_find_bss(rdev, tmp, BSS_CMP_REGULAR); tmp 1204 net/wireless/scan.c if (!cfg80211_update_known_bss(rdev, found, tmp, signal_valid)) tmp 1219 net/wireless/scan.c ies = (void *)rcu_dereference(tmp->pub.beacon_ies); tmp 1222 net/wireless/scan.c ies = (void *)rcu_dereference(tmp->pub.proberesp_ies); tmp 1227 net/wireless/scan.c memcpy(new, tmp, sizeof(*new)); tmp 1232 net/wireless/scan.c if (rcu_access_pointer(tmp->pub.proberesp_ies)) { tmp 1233 net/wireless/scan.c hidden = rb_find_bss(rdev, tmp, BSS_CMP_HIDE_ZLEN); tmp 1235 net/wireless/scan.c hidden = rb_find_bss(rdev, tmp, tmp 1265 net/wireless/scan.c if (tmp->pub.transmitted_bss) { tmp 1267 net/wireless/scan.c container_of(tmp->pub.transmitted_bss, tmp 1271 net/wireless/scan.c new->pub.transmitted_bss = tmp->pub.transmitted_bss; tmp 1304 net/wireless/scan.c const u8 *tmp; tmp 1309 net/wireless/scan.c tmp = cfg80211_find_ie(WLAN_EID_DS_PARAMS, ie, ielen); tmp 1310 net/wireless/scan.c if (tmp && tmp[1] == 1) { tmp 1311 net/wireless/scan.c channel_number = tmp[2]; tmp 1313 net/wireless/scan.c tmp = cfg80211_find_ie(WLAN_EID_HT_OPERATION, ie, ielen); tmp 1314 net/wireless/scan.c if (tmp && tmp[1] >= sizeof(struct ieee80211_ht_operation)) { tmp 1315 net/wireless/scan.c struct ieee80211_ht_operation *htop = (void *)(tmp + 2); tmp 1375 net/wireless/scan.c struct cfg80211_internal_bss tmp = {}, *res; tmp 1392 net/wireless/scan.c memcpy(tmp.pub.bssid, bssid, ETH_ALEN); tmp 1393 net/wireless/scan.c tmp.pub.channel = channel; tmp 1394 net/wireless/scan.c tmp.pub.scan_width = data->scan_width; tmp 1395 net/wireless/scan.c tmp.pub.signal = data->signal; tmp 1396 net/wireless/scan.c tmp.pub.beacon_interval = beacon_interval; tmp 1397 net/wireless/scan.c tmp.pub.capability = capability; tmp 1398 net/wireless/scan.c tmp.ts_boottime = data->boottime_ns; tmp 1400 net/wireless/scan.c tmp.pub.transmitted_bss = non_tx_data->tx_bss; tmp 1402 net/wireless/scan.c tmp.pub.bssid_index = non_tx_data->bssid_index; tmp 1403 net/wireless/scan.c tmp.pub.max_bssid_indicator = non_tx_data->max_bssid_indicator; tmp 1429 net/wireless/scan.c rcu_assign_pointer(tmp.pub.beacon_ies, ies); tmp 1432 net/wireless/scan.c rcu_assign_pointer(tmp.pub.proberesp_ies, ies); tmp 1435 net/wireless/scan.c rcu_assign_pointer(tmp.pub.ies, ies); tmp 1439 net/wireless/scan.c res = cfg80211_bss_update(wiphy_to_rdev(wiphy), &tmp, signal_valid, ts); tmp 1798 net/wireless/scan.c struct cfg80211_internal_bss tmp = {}, *res; tmp 1838 net/wireless/scan.c rcu_assign_pointer(tmp.pub.proberesp_ies, ies); tmp 1840 net/wireless/scan.c rcu_assign_pointer(tmp.pub.beacon_ies, ies); tmp 1841 net/wireless/scan.c rcu_assign_pointer(tmp.pub.ies, ies); tmp 1843 net/wireless/scan.c memcpy(tmp.pub.bssid, mgmt->bssid, ETH_ALEN); tmp 1844 net/wireless/scan.c tmp.pub.channel = channel; tmp 1845 net/wireless/scan.c tmp.pub.scan_width = data->scan_width; tmp 1846 net/wireless/scan.c tmp.pub.signal = data->signal; tmp 1847 net/wireless/scan.c tmp.pub.beacon_interval = le16_to_cpu(mgmt->u.probe_resp.beacon_int); tmp 1848 net/wireless/scan.c tmp.pub.capability = le16_to_cpu(mgmt->u.probe_resp.capab_info); tmp 1849 net/wireless/scan.c tmp.ts_boottime = data->boottime_ns; tmp 1850 net/wireless/scan.c tmp.parent_tsf = data->parent_tsf; tmp 1851 net/wireless/scan.c tmp.pub.chains = data->chains; tmp 1852 net/wireless/scan.c memcpy(tmp.pub.chain_signal, data->chain_signal, IEEE80211_MAX_CHAINS); tmp 1853 net/wireless/scan.c ether_addr_copy(tmp.parent_bssid, data->parent_bssid); tmp 1857 net/wireless/scan.c res = cfg80211_bss_update(wiphy_to_rdev(wiphy), &tmp, signal_valid, tmp 1964 net/wireless/scan.c struct cfg80211_bss *nontrans_bss, *tmp; tmp 1975 net/wireless/scan.c list_for_each_entry_safe(nontrans_bss, tmp, tmp 2021 net/wireless/scan.c struct cfg80211_bss *tmp; tmp 2062 net/wireless/scan.c list_for_each_entry_safe(nontrans_bss, tmp, tmp 2080 net/wireless/scan.c list_for_each_entry_safe(nontrans_bss, tmp, tmp 2307 net/wireless/scan.c u8 *cfg, *p, *tmp; tmp 2499 net/wireless/scan.c tmp = p; tmp 2503 net/wireless/scan.c if (p == tmp) { tmp 802 net/wireless/sme.c struct cfg80211_bss *found = NULL, *tmp = params->bss; tmp 828 net/wireless/sme.c cfg80211_put_bss(wdev->wiphy, tmp); tmp 459 net/wireless/util.c struct ethhdr tmp; tmp 479 net/wireless/util.c memcpy(tmp.h_dest, ieee80211_get_DA(hdr), ETH_ALEN); tmp 480 net/wireless/util.c memcpy(tmp.h_source, ieee80211_get_SA(hdr), ETH_ALEN); tmp 507 net/wireless/util.c tmp.h_dest, 2 * ETH_ALEN); tmp 516 net/wireless/util.c (is_multicast_ether_addr(tmp.h_dest) && tmp 517 net/wireless/util.c ether_addr_equal(tmp.h_source, addr))) tmp 525 net/wireless/util.c tmp.h_source, ETH_ALEN); tmp 538 net/wireless/util.c tmp.h_proto = payload.proto; tmp 541 net/wireless/util.c tmp.h_proto != htons(ETH_P_AARP) && tmp 542 net/wireless/util.c tmp.h_proto != htons(ETH_P_IPX)) || tmp 548 net/wireless/util.c tmp.h_proto = htons(skb->len - hdrlen); tmp 554 net/wireless/util.c memcpy(ehdr, &tmp, sizeof(tmp)); tmp 1244 net/wireless/util.c u64 tmp; tmp 1288 net/wireless/util.c tmp = result; tmp 1289 net/wireless/util.c tmp *= SCALE; tmp 1290 net/wireless/util.c do_div(tmp, mcs_divisors[rate->mcs]); tmp 1291 net/wireless/util.c result = tmp; tmp 135 net/x25/x25_forward.c struct list_head *entry, *tmp; tmp 139 net/x25/x25_forward.c list_for_each_safe(entry, tmp, &x25_forward_list) { tmp 153 net/x25/x25_forward.c struct list_head *entry, *tmp; tmp 157 net/x25/x25_forward.c list_for_each_safe(entry, tmp, &x25_forward_list) { tmp 295 net/x25/x25_link.c struct list_head *entry, *tmp; tmp 299 net/x25/x25_link.c list_for_each_safe(entry, tmp, &x25_neigh_list) { tmp 393 net/x25/x25_link.c struct list_head *entry, *tmp; tmp 397 net/x25/x25_link.c list_for_each_safe(entry, tmp, &x25_neigh_list) { tmp 107 net/x25/x25_route.c struct list_head *entry, *tmp; tmp 111 net/x25/x25_route.c list_for_each_safe(entry, tmp, &x25_route_list) { tmp 213 net/x25/x25_route.c struct list_head *entry, *tmp; tmp 216 net/x25/x25_route.c list_for_each_safe(entry, tmp, &x25_route_list) { tmp 116 net/xfrm/xfrm_input.c struct sec_path *sp, *tmp = skb_ext_find(skb, SKB_EXT_SEC_PATH); tmp 122 net/xfrm/xfrm_input.c if (tmp) /* reused existing one (was COW'd if needed) */ tmp 545 net/xfrm/xfrm_interface.c struct pcpu_sw_netstats tmp; tmp 551 net/xfrm/xfrm_interface.c tmp.rx_packets = stats->rx_packets; tmp 552 net/xfrm/xfrm_interface.c tmp.rx_bytes = stats->rx_bytes; tmp 553 net/xfrm/xfrm_interface.c tmp.tx_packets = stats->tx_packets; tmp 554 net/xfrm/xfrm_interface.c tmp.tx_bytes = stats->tx_bytes; tmp 557 net/xfrm/xfrm_interface.c s->rx_packets += tmp.rx_packets; tmp 558 net/xfrm/xfrm_interface.c s->rx_bytes += tmp.rx_bytes; tmp 559 net/xfrm/xfrm_interface.c s->tx_packets += tmp.tx_packets; tmp 560 net/xfrm/xfrm_interface.c s->tx_bytes += tmp.tx_bytes; tmp 521 net/xfrm/xfrm_policy.c struct hlist_node *tmp, *entry0 = NULL; tmp 528 net/xfrm/xfrm_policy.c hlist_for_each_entry_safe(pol, tmp, list, bydst) { tmp 556 net/xfrm/xfrm_policy.c struct hlist_node *tmp; tmp 559 net/xfrm/xfrm_policy.c hlist_for_each_entry_safe(pol, tmp, list, byidx) { tmp 918 net/xfrm/xfrm_policy.c struct xfrm_policy *tmp; tmp 920 net/xfrm/xfrm_policy.c hlist_for_each_entry(tmp, &n->hhead, bydst) { tmp 921 net/xfrm/xfrm_policy.c tmp->bydst_reinsert = true; tmp 922 net/xfrm/xfrm_policy.c hlist_del_rcu(&tmp->bydst); tmp 952 net/xfrm/xfrm_policy.c struct xfrm_policy *tmp; tmp 966 net/xfrm/xfrm_policy.c hlist_for_each_entry(tmp, &v->hhead, bydst) { tmp 967 net/xfrm/xfrm_policy.c tmp->bydst_reinsert = true; tmp 968 net/xfrm/xfrm_policy.c hlist_del_rcu(&tmp->bydst); tmp 1665 net/xfrm/xfrm_policy.c struct xfrm_policy *tmp; tmp 1667 net/xfrm/xfrm_policy.c tmp = __xfrm_policy_bysel_ctx(cand.res[i], mark, tmp 1670 net/xfrm/xfrm_policy.c if (!tmp) tmp 1673 net/xfrm/xfrm_policy.c if (!pol || tmp->pos < pol->pos) tmp 1674 net/xfrm/xfrm_policy.c pol = tmp; tmp 2052 net/xfrm/xfrm_policy.c struct xfrm_policy *tmp; tmp 2056 net/xfrm/xfrm_policy.c tmp = __xfrm_policy_eval_candidates(cand->res[i], tmp 2060 net/xfrm/xfrm_policy.c if (!tmp) tmp 2063 net/xfrm/xfrm_policy.c if (IS_ERR(tmp)) tmp 2064 net/xfrm/xfrm_policy.c return tmp; tmp 2065 net/xfrm/xfrm_policy.c prefer = tmp; tmp 2366 net/xfrm/xfrm_policy.c xfrm_address_t tmp; tmp 2380 net/xfrm/xfrm_policy.c &tmp, remote, tmp 2384 net/xfrm/xfrm_policy.c local = &tmp; tmp 88 net/xfrm/xfrm_state.c struct hlist_node *tmp; tmp 91 net/xfrm/xfrm_state.c hlist_for_each_entry_safe(x, tmp, list, bydst) { tmp 508 net/xfrm/xfrm_state.c struct hlist_node *tmp; tmp 517 net/xfrm/xfrm_state.c hlist_for_each_entry_safe(x, tmp, &gc_list, gclist) tmp 12 samples/bpf/hash_func01.h __u32 tmp; tmp 24 samples/bpf/hash_func01.h tmp = (get16bits (data+2) << 11) ^ hash; tmp 25 samples/bpf/hash_func01.h hash = (hash << 16) ^ tmp; tmp 578 samples/bpf/xdp_monitor_user.c struct stats_record *tmp; tmp 580 samples/bpf/xdp_monitor_user.c tmp = *a; tmp 582 samples/bpf/xdp_monitor_user.c *b = tmp; tmp 492 samples/bpf/xdp_redirect_cpu_user.c struct stats_record *tmp; tmp 494 samples/bpf/xdp_redirect_cpu_user.c tmp = *a; tmp 496 samples/bpf/xdp_redirect_cpu_user.c *b = tmp; tmp 430 samples/bpf/xdp_rxq_info_user.c struct stats_record *tmp; tmp 432 samples/bpf/xdp_rxq_info_user.c tmp = *a; tmp 434 samples/bpf/xdp_rxq_info_user.c *b = tmp; tmp 234 samples/bpf/xdpsock_user.c struct ether_addr tmp; tmp 236 samples/bpf/xdpsock_user.c tmp = *src_addr; tmp 238 samples/bpf/xdpsock_user.c *dst_addr = tmp; tmp 67 samples/configfs/configfs_sample.c unsigned long tmp; tmp 70 samples/configfs/configfs_sample.c tmp = simple_strtoul(p, &p, 10); tmp 74 samples/configfs/configfs_sample.c if (tmp > INT_MAX) tmp 77 samples/configfs/configfs_sample.c childless->storeme = tmp; tmp 151 samples/configfs/configfs_sample.c unsigned long tmp; tmp 154 samples/configfs/configfs_sample.c tmp = simple_strtoul(p, &p, 10); tmp 158 samples/configfs/configfs_sample.c if (tmp > INT_MAX) tmp 161 samples/configfs/configfs_sample.c simple_child->storeme = tmp; tmp 170 samples/livepatch/livepatch-shadow-mod.c struct dummy *d, *tmp; tmp 177 samples/livepatch/livepatch-shadow-mod.c list_for_each_entry_safe(d, tmp, &dummy_list, list) { tmp 203 samples/livepatch/livepatch-shadow-mod.c struct dummy *d, *tmp; tmp 210 samples/livepatch/livepatch-shadow-mod.c list_for_each_entry_safe(d, tmp, &dummy_list, list) { tmp 1312 samples/vfio-mdev/mbochs.c struct mbochs_dmabuf *dmabuf, *tmp; tmp 1316 samples/vfio-mdev/mbochs.c list_for_each_entry_safe(dmabuf, tmp, &mdev_state->dmabufs, next) { tmp 407 scripts/dtc/libfdt/fdt_rw.c char *tmp; tmp 443 scripts/dtc/libfdt/fdt_rw.c tmp = buf; tmp 445 scripts/dtc/libfdt/fdt_rw.c if (((tmp + newsize) > fdtstart) && (tmp < fdtend)) { tmp 447 scripts/dtc/libfdt/fdt_rw.c tmp = (char *)(uintptr_t)fdtend; tmp 448 scripts/dtc/libfdt/fdt_rw.c if ((tmp + newsize) > ((char *)buf + bufsize)) tmp 452 scripts/dtc/libfdt/fdt_rw.c fdt_packblocks_(fdt, tmp, mem_rsv_size, struct_size); tmp 453 scripts/dtc/libfdt/fdt_rw.c memmove(buf, tmp, newsize); tmp 1287 scripts/dtc/libfdt/libfdt.h fdt32_t tmp = cpu_to_fdt32(val); tmp 1288 scripts/dtc/libfdt/libfdt.h return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); tmp 1322 scripts/dtc/libfdt/libfdt.h fdt64_t tmp = cpu_to_fdt64(val); tmp 1323 scripts/dtc/libfdt/libfdt.h return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); tmp 1437 scripts/dtc/libfdt/libfdt.h fdt32_t tmp = cpu_to_fdt32(val); tmp 1438 scripts/dtc/libfdt/libfdt.h return fdt_property(fdt, name, &tmp, sizeof(tmp)); tmp 1442 scripts/dtc/libfdt/libfdt.h fdt64_t tmp = cpu_to_fdt64(val); tmp 1443 scripts/dtc/libfdt/libfdt.h return fdt_property(fdt, name, &tmp, sizeof(tmp)); tmp 1648 scripts/dtc/libfdt/libfdt.h fdt32_t tmp = cpu_to_fdt32(val); tmp 1649 scripts/dtc/libfdt/libfdt.h return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); tmp 1683 scripts/dtc/libfdt/libfdt.h fdt64_t tmp = cpu_to_fdt64(val); tmp 1684 scripts/dtc/libfdt/libfdt.h return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); tmp 1820 scripts/dtc/libfdt/libfdt.h fdt32_t tmp = cpu_to_fdt32(val); tmp 1821 scripts/dtc/libfdt/libfdt.h return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); tmp 1855 scripts/dtc/libfdt/libfdt.h fdt64_t tmp = cpu_to_fdt64(val); tmp 1856 scripts/dtc/libfdt/libfdt.h return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); tmp 440 scripts/gcc-plugins/latent_entropy_plugin.c tree frame_addr, rand_const, tmp, fndecl, udi_frame_addr; tmp 461 scripts/gcc-plugins/latent_entropy_plugin.c tmp = create_var(long_unsigned_type_node, "temp_latent_entropy"); tmp 466 scripts/gcc-plugins/latent_entropy_plugin.c assign = gimple_build_assign(tmp, latent_entropy_decl); tmp 471 scripts/gcc-plugins/latent_entropy_plugin.c assign = create_assign(BIT_XOR_EXPR, local_entropy, local_entropy, tmp); tmp 219 scripts/gcc-plugins/randomize_layout_plugin.c struct partition_group tmp; tmp 221 scripts/gcc-plugins/randomize_layout_plugin.c tmp = size_group[i]; tmp 223 scripts/gcc-plugins/randomize_layout_plugin.c size_group[randnum] = tmp; tmp 228 scripts/gcc-plugins/randomize_layout_plugin.c tree tmp; tmp 235 scripts/gcc-plugins/randomize_layout_plugin.c tmp = newtree[i]; tmp 237 scripts/gcc-plugins/randomize_layout_plugin.c newtree[randnum] = tmp; tmp 247 scripts/gcc-plugins/randomize_layout_plugin.c tree tmp; tmp 249 scripts/gcc-plugins/randomize_layout_plugin.c tmp = newtree[i]; tmp 251 scripts/gcc-plugins/randomize_layout_plugin.c newtree[randnum] = tmp; tmp 504 scripts/genksyms/genksyms.c struct string_list *tmp, **tmp2; tmp 512 scripts/genksyms/genksyms.c tmp = list; tmp 513 scripts/genksyms/genksyms.c while ((tmp = tmp->next) != NULL) tmp 534 scripts/genksyms/genksyms.c struct string_list *tmp, **tmp2; tmp 540 scripts/genksyms/genksyms.c tmp = list; tmp 541 scripts/genksyms/genksyms.c while ((tmp = tmp->next) != NULL) tmp 530 scripts/kconfig/conf.c int tmp = (int)strtol(seed_env, &endp, 0); tmp 532 scripts/kconfig/conf.c seed = tmp; tmp 93 scripts/kconfig/confdata.c char tmp[PATH_MAX + 1]; tmp 96 scripts/kconfig/confdata.c strncpy(tmp, path, sizeof(tmp)); tmp 97 scripts/kconfig/confdata.c tmp[sizeof(tmp) - 1] = 0; tmp 100 scripts/kconfig/confdata.c p = strrchr(tmp, '/'); tmp 106 scripts/kconfig/confdata.c p = tmp; tmp 114 scripts/kconfig/confdata.c if (!is_dir(tmp) && mkdir(tmp, 0755)) tmp 1255 scripts/kconfig/confdata.c int tmp = strtol( env, &endp, 10 ); tmp 1256 scripts/kconfig/confdata.c if( tmp >= 0 && tmp <= 100 ) { tmp 1257 scripts/kconfig/confdata.c p[n++] = tmp; tmp 319 scripts/kconfig/expr.c struct expr *tmp; tmp 335 scripts/kconfig/expr.c tmp = e->right.expr; tmp 337 scripts/kconfig/expr.c free(tmp); tmp 351 scripts/kconfig/expr.c tmp = e->left.expr; tmp 353 scripts/kconfig/expr.c free(tmp); tmp 364 scripts/kconfig/expr.c tmp = e->right.expr; tmp 366 scripts/kconfig/expr.c free(tmp); tmp 380 scripts/kconfig/expr.c tmp = e->left.expr; tmp 382 scripts/kconfig/expr.c free(tmp); tmp 434 scripts/kconfig/expr.c struct expr *tmp; tmp 444 scripts/kconfig/expr.c tmp = e1->left.expr; tmp 445 scripts/kconfig/expr.c if (tmp->type != E_EQUAL && tmp->type != E_UNEQUAL && tmp->type != E_SYMBOL) tmp 447 scripts/kconfig/expr.c sym1 = tmp->left.sym; tmp 498 scripts/kconfig/expr.c struct expr *tmp; tmp 508 scripts/kconfig/expr.c tmp = e1->left.expr; tmp 509 scripts/kconfig/expr.c if (tmp->type != E_EQUAL && tmp->type != E_UNEQUAL && tmp->type != E_SYMBOL) tmp 511 scripts/kconfig/expr.c sym1 = tmp->left.sym; tmp 601 scripts/kconfig/expr.c struct expr *tmp; tmp 630 scripts/kconfig/expr.c tmp = expr_join_or(e1, e2); tmp 631 scripts/kconfig/expr.c if (tmp) { tmp 634 scripts/kconfig/expr.c e2 = tmp; tmp 639 scripts/kconfig/expr.c tmp = expr_join_and(e1, e2); tmp 640 scripts/kconfig/expr.c if (tmp) { tmp 643 scripts/kconfig/expr.c e2 = tmp; tmp 697 scripts/kconfig/expr.c struct expr *tmp; tmp 765 scripts/kconfig/expr.c tmp = e->left.expr->left.expr; tmp 768 scripts/kconfig/expr.c e = tmp; tmp 774 scripts/kconfig/expr.c tmp = e->left.expr; tmp 776 scripts/kconfig/expr.c e = tmp; tmp 782 scripts/kconfig/expr.c tmp = e->left.expr; tmp 784 scripts/kconfig/expr.c e = tmp; tmp 790 scripts/kconfig/expr.c tmp = e->left.expr; tmp 792 scripts/kconfig/expr.c e = tmp; tmp 797 scripts/kconfig/expr.c tmp = e->left.expr; tmp 799 scripts/kconfig/expr.c e->right.expr = expr_alloc_one(E_NOT, tmp->right.expr); tmp 800 scripts/kconfig/expr.c tmp->type = E_NOT; tmp 801 scripts/kconfig/expr.c tmp->right.expr = NULL; tmp 806 scripts/kconfig/expr.c tmp = e->left.expr; tmp 808 scripts/kconfig/expr.c e->right.expr = expr_alloc_one(E_NOT, tmp->right.expr); tmp 809 scripts/kconfig/expr.c tmp->type = E_NOT; tmp 810 scripts/kconfig/expr.c tmp->right.expr = NULL; tmp 816 scripts/kconfig/expr.c tmp = e->left.expr; tmp 818 scripts/kconfig/expr.c e = tmp; tmp 825 scripts/kconfig/expr.c tmp = e->left.expr; tmp 827 scripts/kconfig/expr.c e = tmp; tmp 834 scripts/kconfig/expr.c tmp = e->left.expr; tmp 836 scripts/kconfig/expr.c e = tmp; tmp 1250 scripts/kconfig/gconf.c GtkTreeIter iter, tmp; tmp 1285 scripts/kconfig/gconf.c memcpy(&tmp, child2, sizeof(GtkTreeIter)); tmp 1288 scripts/kconfig/gconf.c gtk_tree_store_remove(tree2, &tmp); tmp 1310 scripts/kconfig/gconf.c memcpy(&tmp, child2, sizeof(GtkTreeIter)); tmp 1313 scripts/kconfig/gconf.c gtk_tree_store_remove(tree2, &tmp); tmp 322 scripts/kconfig/mconf.c struct subtitle_list *pos, *tmp; tmp 324 scripts/kconfig/mconf.c for (pos = subtitles; pos != NULL; pos = tmp) { tmp 325 scripts/kconfig/mconf.c tmp = pos->next; tmp 347 scripts/kconfig/mconf.c struct subtitle_list *pos, *tmp; tmp 349 scripts/kconfig/mconf.c for (pos = subtitles; pos != NULL; pos = tmp) { tmp 350 scripts/kconfig/mconf.c tmp = pos->next; tmp 441 scripts/kconfig/mconf.c struct jump_key *pos, *tmp; tmp 456 scripts/kconfig/mconf.c list_for_each_entry_safe(pos, tmp, &head, entries) tmp 470 scripts/kconfig/mconf.c int type, tmp, doint = 2; tmp 614 scripts/kconfig/mconf.c tmp = 2 + strlen(sym_get_string_value(sym)); /* () = 2 */ tmp 616 scripts/kconfig/mconf.c tmp = indent - tmp + 4; tmp 617 scripts/kconfig/mconf.c if (tmp < 0) tmp 618 scripts/kconfig/mconf.c tmp = 0; tmp 619 scripts/kconfig/mconf.c item_add_str("%*c%s%s", tmp, ' ', menu_get_prompt(menu), tmp 740 scripts/kconfig/nconf.c int type, tmp, doint = 2; tmp 890 scripts/kconfig/nconf.c tmp = 2 + strlen(sym_get_string_value(sym)); tmp 893 scripts/kconfig/nconf.c tmp = indent - tmp + 4; tmp 894 scripts/kconfig/nconf.c if (tmp < 0) tmp 895 scripts/kconfig/nconf.c tmp = 0; tmp 896 scripts/kconfig/nconf.c item_add_str("%*c%s%s", tmp, ' ', tmp 224 scripts/kconfig/nconf.gui.c char tmp[x+10]; tmp 227 scripts/kconfig/nconf.gui.c strncpy(tmp, line, min(len, x)); tmp 228 scripts/kconfig/nconf.gui.c tmp[len] = '\0'; tmp 229 scripts/kconfig/nconf.gui.c mvwprintw(win, i, 0, "%s", tmp); tmp 92 scripts/kconfig/preprocess.c struct env *e, *tmp; tmp 94 scripts/kconfig/preprocess.c list_for_each_entry_safe(e, tmp, &env_list, node) { tmp 334 scripts/kconfig/preprocess.c struct variable *v, *tmp; tmp 336 scripts/kconfig/preprocess.c list_for_each_entry_safe(v, tmp, &variable_list, node) tmp 348 scripts/kconfig/preprocess.c char *tmp, *name, *res, *endptr, *prev, *p; tmp 355 scripts/kconfig/preprocess.c tmp = xstrndup(str, len); tmp 362 scripts/kconfig/preprocess.c n = strtoul(tmp, &endptr, 10); tmp 368 scripts/kconfig/preprocess.c prev = p = tmp; tmp 436 scripts/kconfig/preprocess.c free(tmp); tmp 969 scripts/kconfig/symbol.c void *tmp; tmp 971 scripts/kconfig/symbol.c tmp = realloc(sym_match_arr, size * sizeof(struct sym_match)); tmp 972 scripts/kconfig/symbol.c if (!tmp) tmp 974 scripts/kconfig/symbol.c sym_match_arr = tmp; tmp 348 scripts/mod/file2alias.c char *tmp; tmp 362 scripts/mod/file2alias.c for (tmp = alias; tmp && *tmp; tmp++) tmp 363 scripts/mod/file2alias.c if (isspace(*tmp)) tmp 364 scripts/mod/file2alias.c *tmp = '_'; tmp 697 scripts/mod/file2alias.c char *tmp; tmp 705 scripts/mod/file2alias.c for (tmp = alias; tmp && *tmp; tmp++) tmp 706 scripts/mod/file2alias.c if (isspace (*tmp)) tmp 707 scripts/mod/file2alias.c *tmp = '_'; tmp 2132 scripts/mod/modpost.c char tmp[SZ]; tmp 2137 scripts/mod/modpost.c len = vsnprintf(tmp, SZ, fmt, ap); tmp 2138 scripts/mod/modpost.c buf_write(buf, tmp, len); tmp 2394 scripts/mod/modpost.c char *tmp; tmp 2408 scripts/mod/modpost.c tmp = NOFAIL(malloc(b->pos)); tmp 2409 scripts/mod/modpost.c if (fread(tmp, 1, b->pos, file) != b->pos) tmp 2412 scripts/mod/modpost.c if (memcmp(tmp, b->p, b->pos) != 0) tmp 2415 scripts/mod/modpost.c free(tmp); tmp 2420 scripts/mod/modpost.c free(tmp); tmp 613 security/apparmor/apparmorfs.c struct aa_perms tmp = { }; tmp 626 security/apparmor/apparmorfs.c tmp = aa_compute_fperms(dfa, state, &cond); tmp 635 security/apparmor/apparmorfs.c aa_compute_perms(dfa, state, &tmp); tmp 637 security/apparmor/apparmorfs.c aa_apply_modes_to_perms(profile, &tmp); tmp 638 security/apparmor/apparmorfs.c aa_perms_accum_raw(perms, &tmp); tmp 1789 security/apparmor/apparmorfs.c struct aa_loaddata *ent, *tmp; tmp 1793 security/apparmor/apparmorfs.c list_for_each_entry_safe(ent, tmp, &ns->rawdata_list, list) tmp 199 security/apparmor/domain.c struct aa_perms tmp; tmp 217 security/apparmor/domain.c tmp = aa_compute_fperms(profile->file.dfa, state, &cond); tmp 218 security/apparmor/domain.c aa_apply_modes_to_perms(profile, &tmp); tmp 219 security/apparmor/domain.c aa_perms_accum(perms, &tmp); tmp 226 security/apparmor/domain.c tmp = aa_compute_fperms(profile->file.dfa, state, &cond); tmp 227 security/apparmor/domain.c aa_apply_modes_to_perms(profile, &tmp); tmp 228 security/apparmor/domain.c aa_perms_accum(perms, &tmp); tmp 423 security/apparmor/include/label.h struct aa_label *tmp; tmp 431 security/apparmor/include/label.h tmp = aa_get_label_rcu(&l->proxy->label); tmp 432 security/apparmor/include/label.h AA_BUG(!tmp); tmp 434 security/apparmor/include/label.h return tmp; tmp 104 security/apparmor/include/policy_unpack.h struct aa_loaddata *tmp = __aa_get_loaddata(data); tmp 106 security/apparmor/include/policy_unpack.h AA_BUG(data && !tmp); tmp 108 security/apparmor/include/policy_unpack.h return tmp; tmp 75 security/apparmor/label.c struct aa_label *tmp; tmp 81 security/apparmor/label.c tmp = rcu_dereference_protected(orig->proxy->label, tmp 85 security/apparmor/label.c aa_put_label(tmp); tmp 278 security/apparmor/label.c struct aa_profile *tmp = vec[i]; tmp 282 security/apparmor/label.c int res = profile_cmp(vec[pos], tmp); tmp 286 security/apparmor/label.c aa_put_profile(tmp); tmp 297 security/apparmor/label.c vec[pos] = tmp; tmp 314 security/apparmor/label.c struct aa_label *tmp; tmp 336 security/apparmor/label.c tmp = rcu_dereference_protected(label->proxy->label, true); tmp 337 security/apparmor/label.c if (tmp == label) tmp 1338 security/apparmor/label.c struct aa_perms tmp; tmp 1355 security/apparmor/label.c aa_compute_perms(profile->policy.dfa, state, &tmp); tmp 1356 security/apparmor/label.c aa_apply_modes_to_perms(profile, &tmp); tmp 1357 security/apparmor/label.c aa_perms_accum(perms, &tmp); tmp 1364 security/apparmor/label.c aa_compute_perms(profile->policy.dfa, state, &tmp); tmp 1365 security/apparmor/label.c aa_apply_modes_to_perms(profile, &tmp); tmp 1366 security/apparmor/label.c aa_perms_accum(perms, &tmp); tmp 2023 security/apparmor/label.c struct aa_label *new, *tmp; tmp 2057 security/apparmor/label.c tmp = aa_get_label(&new->vec[0]->label); tmp 2058 security/apparmor/label.c AA_BUG(tmp == label); tmp 2063 security/apparmor/label.c tmp = aa_label_insert(labels_set(new), new); tmp 2070 security/apparmor/label.c tmp = __label_insert(labels_set(label), new, true); tmp 2073 security/apparmor/label.c __label_remove(label, tmp); tmp 2075 security/apparmor/label.c label_free_or_put_new(tmp, new); tmp 2077 security/apparmor/label.c return tmp; tmp 176 security/apparmor/policy.c struct aa_profile *profile, *tmp; tmp 177 security/apparmor/policy.c list_for_each_entry_safe(profile, tmp, head, base.list) tmp 742 security/apparmor/policy.c struct aa_profile *child, *tmp; tmp 748 security/apparmor/policy.c list_for_each_entry_safe(child, tmp, &lh, base.list) { tmp 861 security/apparmor/policy.c struct aa_load_ent *ent, *tmp; tmp 916 security/apparmor/policy.c struct aa_loaddata *tmp; tmp 918 security/apparmor/policy.c tmp = __aa_get_loaddata(rawdata_ent); tmp 920 security/apparmor/policy.c if (tmp) { tmp 922 security/apparmor/policy.c udata = tmp; tmp 1000 security/apparmor/policy.c list_for_each_entry_safe(ent, tmp, &lh, list) { tmp 1061 security/apparmor/policy.c list_for_each_entry(tmp, &lh, list) { tmp 1062 security/apparmor/policy.c if (tmp == ent) { tmp 1067 security/apparmor/policy.c op = (!tmp->old) ? OP_PROF_LOAD : OP_PROF_REPL; tmp 1068 security/apparmor/policy.c audit_policy(label, op, ns_name, tmp->new->base.hname, info, tmp 1071 security/apparmor/policy.c list_for_each_entry_safe(ent, tmp, &lh, list) { tmp 376 security/apparmor/policy_ns.c struct aa_ns *ns, *tmp; tmp 378 security/apparmor/policy_ns.c list_for_each_entry_safe(ns, tmp, head, base.list) tmp 415 security/apparmor/policy_unpack.c const char *tmp; tmp 417 security/apparmor/policy_unpack.c int res = unpack_str(e, &tmp, name); tmp 423 security/apparmor/policy_unpack.c *string = kmemdup(tmp, res, GFP_KERNEL); tmp 623 security/apparmor/policy_unpack.c u32 tmp = 0; tmp 624 security/apparmor/policy_unpack.c if (!unpack_u32(e, &tmp, NULL)) tmp 626 security/apparmor/policy_unpack.c profile->rlimits.mask = tmp; tmp 682 security/apparmor/policy_unpack.c u32 tmp; tmp 724 security/apparmor/policy_unpack.c if (!unpack_u32(e, &tmp, NULL)) { tmp 728 security/apparmor/policy_unpack.c profile->xmatch_len = tmp; tmp 740 security/apparmor/policy_unpack.c if (!unpack_u32(e, &tmp, NULL)) tmp 742 security/apparmor/policy_unpack.c if (tmp & PACKED_FLAG_HAT) tmp 744 security/apparmor/policy_unpack.c if (!unpack_u32(e, &tmp, NULL)) tmp 746 security/apparmor/policy_unpack.c if (tmp == PACKED_MODE_COMPLAIN || (e->version & FORCE_COMPLAIN_FLAG)) tmp 748 security/apparmor/policy_unpack.c else if (tmp == PACKED_MODE_KILL) tmp 750 security/apparmor/policy_unpack.c else if (tmp == PACKED_MODE_UNCONFINED) tmp 752 security/apparmor/policy_unpack.c if (!unpack_u32(e, &tmp, NULL)) tmp 754 security/apparmor/policy_unpack.c if (tmp) tmp 1057 security/apparmor/policy_unpack.c struct aa_load_ent *tmp, *ent; tmp 1116 security/apparmor/policy_unpack.c list_for_each_entry_safe(ent, tmp, lh, list) { tmp 60 security/apparmor/task.c struct aa_label *tmp = ctx->nnp; tmp 62 security/apparmor/task.c ctx->nnp = aa_get_newest_label(tmp); tmp 63 security/apparmor/task.c aa_put_label(tmp); tmp 61 security/device_cgroup.c struct dev_exception_item *ex, *tmp, *new; tmp 75 security/device_cgroup.c list_for_each_entry_safe(ex, tmp, dest, list) { tmp 120 security/device_cgroup.c struct dev_exception_item *walk, *tmp; tmp 124 security/device_cgroup.c list_for_each_entry_safe(walk, tmp, &dev_cgroup->exceptions, list) { tmp 142 security/device_cgroup.c struct dev_exception_item *ex, *tmp; tmp 144 security/device_cgroup.c list_for_each_entry_safe(ex, tmp, &dev_cgroup->exceptions, list) { tmp 517 security/device_cgroup.c struct list_head *this, *tmp; tmp 519 security/device_cgroup.c list_for_each_safe(this, tmp, &devcg->exceptions) { tmp 178 security/integrity/evm/evm_secfs.c struct xattr_list *xattr, *tmp; tmp 246 security/integrity/evm/evm_secfs.c list_for_each_entry(tmp, &evm_config_xattrnames, list) { tmp 247 security/integrity/evm/evm_secfs.c if (strcmp(xattr->name, tmp->name) == 0) { tmp 1297 security/integrity/ima/ima_policy.c struct ima_rule_entry *entry, *tmp; tmp 1301 security/integrity/ima/ima_policy.c list_for_each_entry_safe(entry, tmp, &ima_temp_rules, list) { tmp 66 security/safesetid/securityfs.c struct hlist_node *tmp; tmp 68 security/safesetid/securityfs.c hash_for_each_safe(pol->rules, bucket, tmp, rule, next) tmp 240 security/selinux/avc.c struct avc_xperms_decision_node *xpd_node, *tmp; tmp 245 security/selinux/avc.c list_for_each_entry_safe(xpd_node, tmp, &xp_node->xpd_head, xpd_list) { tmp 70 security/selinux/netlink.c sk_buff_data_t tmp; tmp 80 security/selinux/netlink.c tmp = skb->tail; tmp 85 security/selinux/netlink.c nlh->nlmsg_len = skb->tail - tmp; tmp 407 security/selinux/ss/ebitmap.c struct ebitmap_node *tmp; tmp 408 security/selinux/ss/ebitmap.c tmp = kmem_cache_zalloc(ebitmap_node_cachep, GFP_KERNEL); tmp 409 security/selinux/ss/ebitmap.c if (!tmp) { tmp 415 security/selinux/ss/ebitmap.c tmp->startbit = startbit - (startbit % EBITMAP_SIZE); tmp 417 security/selinux/ss/ebitmap.c n->next = tmp; tmp 419 security/selinux/ss/ebitmap.c e->node = tmp; tmp 420 security/selinux/ss/ebitmap.c n = tmp; tmp 2204 security/tomoyo/common.c struct list_head *tmp; tmp 2214 security/tomoyo/common.c list_for_each(tmp, &tomoyo_query_list) { tmp 2215 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); tmp 2232 security/tomoyo/common.c list_for_each(tmp, &tomoyo_query_list) { tmp 2233 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); tmp 2266 security/tomoyo/common.c struct list_head *tmp; tmp 2271 security/tomoyo/common.c list_for_each(tmp, &tomoyo_query_list) { tmp 2272 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); tmp 2280 security/tomoyo/common.c list_for_each(tmp, &tomoyo_query_list) { tmp 2281 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); tmp 629 security/tomoyo/common.h char *tmp; /* Size is TOMOYO_EXEC_TMPSIZE bytes */ tmp 111 security/tomoyo/condition.c char *arg_ptr = ee->tmp; tmp 716 security/tomoyo/domain.c ee->tmp = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); tmp 717 security/tomoyo/domain.c if (!ee->tmp) { tmp 789 security/tomoyo/domain.c strncpy(ee->tmp, old_domain->domainname->name, tmp 791 security/tomoyo/domain.c cp = strrchr(ee->tmp, ' '); tmp 795 security/tomoyo/domain.c strncpy(ee->tmp, domainname, TOMOYO_EXEC_TMPSIZE - 1); tmp 797 security/tomoyo/domain.c snprintf(ee->tmp, TOMOYO_EXEC_TMPSIZE - 1, "%s %s", tmp 810 security/tomoyo/domain.c snprintf(ee->tmp, TOMOYO_EXEC_TMPSIZE - 1, "<%s>", tmp 821 security/tomoyo/domain.c snprintf(ee->tmp, TOMOYO_EXEC_TMPSIZE - 1, "%s %s", tmp 843 security/tomoyo/domain.c snprintf(ee->tmp, TOMOYO_EXEC_TMPSIZE - 1, "%s %s", tmp 849 security/tomoyo/domain.c domain = tomoyo_assign_domain(ee->tmp, true); tmp 853 security/tomoyo/domain.c pr_warn("ERROR: Domain '%s' not ready.\n", ee->tmp); tmp 864 security/tomoyo/domain.c pr_warn("ERROR: Domain '%s' not defined.\n", ee->tmp); tmp 883 security/tomoyo/domain.c kfree(ee->tmp); tmp 256 security/tomoyo/gc.c struct tomoyo_acl_info *tmp; tmp 263 security/tomoyo/gc.c list_for_each_entry_safe(acl, tmp, &domain->acl_info_list, list) { tmp 489 security/tomoyo/gc.c struct tomoyo_acl_head *tmp; tmp 491 security/tomoyo/gc.c list_for_each_entry_safe(member, tmp, member_list, list) { tmp 509 security/tomoyo/gc.c struct tomoyo_acl_info *tmp; tmp 511 security/tomoyo/gc.c list_for_each_entry_safe(acl, tmp, list, list) { tmp 533 security/tomoyo/gc.c struct tomoyo_domain_info *tmp; tmp 535 security/tomoyo/gc.c list_for_each_entry_safe(domain, tmp, &tomoyo_domain_list, tmp 551 security/tomoyo/gc.c struct tomoyo_shared_acl_head *tmp; tmp 553 security/tomoyo/gc.c list_for_each_entry_safe(ptr, tmp, &tomoyo_condition_list, tmp 565 security/tomoyo/gc.c struct tomoyo_group *tmp; tmp 578 security/tomoyo/gc.c list_for_each_entry_safe(group, tmp, list, head.list) { tmp 593 security/tomoyo/gc.c struct tomoyo_shared_acl_head *tmp; tmp 595 security/tomoyo/gc.c list_for_each_entry_safe(ptr, tmp, list, list) { tmp 622 security/tomoyo/gc.c struct tomoyo_io_buffer *tmp; tmp 625 security/tomoyo/gc.c list_for_each_entry_safe(head, tmp, &tomoyo_io_buffer_list, tmp 385 security/tomoyo/util.c char *tmp = *src; tmp 387 security/tomoyo/util.c if (strncmp(tmp, find, len)) tmp 389 security/tomoyo/util.c tmp += len; tmp 390 security/tomoyo/util.c *src = tmp; tmp 140 sound/aoa/codecs/tas.c u8 tmp; tmp 142 sound/aoa/codecs/tas.c tmp = tas3004_treble(tas->treble); tmp 143 sound/aoa/codecs/tas.c tas_write_reg(tas, TAS_REG_TREBLE, 1, &tmp); tmp 148 sound/aoa/codecs/tas.c u8 tmp; tmp 150 sound/aoa/codecs/tas.c tmp = tas3004_bass(tas->bass); tmp 151 sound/aoa/codecs/tas.c tas_write_reg(tas, TAS_REG_BASS, 1, &tmp); tmp 157 sound/aoa/codecs/tas.c int tmp; tmp 175 sound/aoa/codecs/tas.c tmp = tas_gaintable[left]; tmp 176 sound/aoa/codecs/tas.c block[0] = tmp>>20; tmp 177 sound/aoa/codecs/tas.c block[1] = tmp>>12; tmp 178 sound/aoa/codecs/tas.c block[2] = tmp>>4; tmp 179 sound/aoa/codecs/tas.c tmp = tas_gaintable[right]; tmp 180 sound/aoa/codecs/tas.c block[3] = tmp>>20; tmp 181 sound/aoa/codecs/tas.c block[4] = tmp>>12; tmp 182 sound/aoa/codecs/tas.c block[5] = tmp>>4; tmp 189 sound/aoa/codecs/tas.c int tmp, i; tmp 195 sound/aoa/codecs/tas.c tmp = tas_gaintable[val]; tmp 196 sound/aoa/codecs/tas.c block[3*i+0] = tmp>>16; tmp 197 sound/aoa/codecs/tas.c block[3*i+1] = tmp>>8; tmp 198 sound/aoa/codecs/tas.c block[3*i+2] = tmp; tmp 205 sound/aoa/codecs/tas.c tmp = tas_gaintable[val]; tmp 206 sound/aoa/codecs/tas.c block[3*i+0] = tmp>>16; tmp 207 sound/aoa/codecs/tas.c block[3*i+1] = tmp>>8; tmp 208 sound/aoa/codecs/tas.c block[3*i+2] = tmp; tmp 673 sound/aoa/codecs/tas.c u8 tmp; tmp 685 sound/aoa/codecs/tas.c tmp = TAS_MCS_SCLK64 | TAS_MCS_SPORT_MODE_I2S | TAS_MCS_SPORT_WL_24BIT; tmp 686 sound/aoa/codecs/tas.c if (tas_write_reg(tas, TAS_REG_MCS, 1, &tmp)) tmp 693 sound/aoa/codecs/tas.c tmp = 0; tmp 694 sound/aoa/codecs/tas.c if (tas_write_reg(tas, TAS_REG_MCS2, 1, &tmp)) tmp 919 sound/aoa/codecs/tas.c u8 tmp = TAS_ACR_ANALOG_PDOWN; tmp 925 sound/aoa/codecs/tas.c tas_write_reg(tas, TAS_REG_ACR, 1, &tmp); tmp 17 sound/aoa/soundbus/core.c struct device *tmp; tmp 21 sound/aoa/soundbus/core.c tmp = get_device(&dev->ofdev.dev); tmp 22 sound/aoa/soundbus/core.c if (tmp) tmp 23 sound/aoa/soundbus/core.c return to_soundbus_device(tmp); tmp 90 sound/aoa/soundbus/core.c int tmp = env->buflen; tmp 94 sound/aoa/soundbus/core.c compat += env->buflen - tmp; tmp 95 sound/aoa/soundbus/core.c cplen -= env->buflen - tmp; tmp 365 sound/aoa/soundbus/i2sbus/core.c struct i2sbus_dev *i2sdev, *tmp; tmp 367 sound/aoa/soundbus/i2sbus/core.c list_for_each_entry_safe(i2sdev, tmp, &control->list, item) tmp 233 sound/aoa/soundbus/i2sbus/pcm.c int err = 0, tmp; tmp 241 sound/aoa/soundbus/i2sbus/pcm.c tmp = cii->codec->close(cii, pi->substream); tmp 242 sound/aoa/soundbus/i2sbus/pcm.c if (tmp) tmp 243 sound/aoa/soundbus/i2sbus/pcm.c err = tmp; tmp 864 sound/aoa/soundbus/i2sbus/pcm.c struct codec_info_item *p, *tmp; tmp 869 sound/aoa/soundbus/i2sbus/pcm.c list_for_each_entry_safe(p, tmp, &i2sdev->sound.codec_list, list) { tmp 884 sound/aoa/soundbus/i2sbus/pcm.c struct transfer_info *tmp; tmp 923 sound/aoa/soundbus/i2sbus/pcm.c tmp = ci->transfers; tmp 924 sound/aoa/soundbus/i2sbus/pcm.c while (tmp->formats && tmp->rates) { tmp 925 sound/aoa/soundbus/i2sbus/pcm.c if (tmp->transfer_in) tmp 929 sound/aoa/soundbus/i2sbus/pcm.c tmp++; tmp 45 sound/core/oss/linear.c unsigned int tmp = 0; tmp 46 sound/core/oss/linear.c unsigned char *p = (unsigned char *)&tmp; tmp 50 sound/core/oss/linear.c tmp = swab32(tmp); tmp 51 sound/core/oss/linear.c tmp ^= data->flip; tmp 301 sound/core/oss/mixer_oss.c int tmp; tmp 312 sound/core/oss/mixer_oss.c if (get_user(tmp, p)) tmp 314 sound/core/oss/mixer_oss.c tmp = snd_mixer_oss_set_recsrc(fmixer, tmp); tmp 315 sound/core/oss/mixer_oss.c if (tmp < 0) tmp 316 sound/core/oss/mixer_oss.c return tmp; tmp 317 sound/core/oss/mixer_oss.c return put_user(tmp, p); tmp 323 sound/core/oss/mixer_oss.c tmp = snd_mixer_oss_devmask(fmixer); tmp 324 sound/core/oss/mixer_oss.c if (tmp < 0) tmp 325 sound/core/oss/mixer_oss.c return tmp; tmp 326 sound/core/oss/mixer_oss.c return put_user(tmp, p); tmp 328 sound/core/oss/mixer_oss.c tmp = snd_mixer_oss_stereodevs(fmixer); tmp 329 sound/core/oss/mixer_oss.c if (tmp < 0) tmp 330 sound/core/oss/mixer_oss.c return tmp; tmp 331 sound/core/oss/mixer_oss.c return put_user(tmp, p); tmp 333 sound/core/oss/mixer_oss.c tmp = snd_mixer_oss_recmask(fmixer); tmp 334 sound/core/oss/mixer_oss.c if (tmp < 0) tmp 335 sound/core/oss/mixer_oss.c return tmp; tmp 336 sound/core/oss/mixer_oss.c return put_user(tmp, p); tmp 338 sound/core/oss/mixer_oss.c tmp = snd_mixer_oss_caps(fmixer); tmp 339 sound/core/oss/mixer_oss.c if (tmp < 0) tmp 340 sound/core/oss/mixer_oss.c return tmp; tmp 341 sound/core/oss/mixer_oss.c return put_user(tmp, p); tmp 343 sound/core/oss/mixer_oss.c tmp = snd_mixer_oss_get_recsrc(fmixer); tmp 344 sound/core/oss/mixer_oss.c if (tmp < 0) tmp 345 sound/core/oss/mixer_oss.c return tmp; tmp 346 sound/core/oss/mixer_oss.c return put_user(tmp, p); tmp 350 sound/core/oss/mixer_oss.c if (get_user(tmp, p)) tmp 352 sound/core/oss/mixer_oss.c tmp = snd_mixer_oss_set_volume(fmixer, cmd & 0xff, tmp); tmp 353 sound/core/oss/mixer_oss.c if (tmp < 0) tmp 354 sound/core/oss/mixer_oss.c return tmp; tmp 355 sound/core/oss/mixer_oss.c return put_user(tmp, p); tmp 357 sound/core/oss/mixer_oss.c tmp = snd_mixer_oss_get_volume(fmixer, cmd & 0xff); tmp 358 sound/core/oss/mixer_oss.c if (tmp < 0) tmp 359 sound/core/oss/mixer_oss.c return tmp; tmp 360 sound/core/oss/mixer_oss.c return put_user(tmp, p); tmp 1371 sound/core/oss/pcm_oss.c ssize_t tmp = 0; tmp 1380 sound/core/oss/pcm_oss.c tmp = -ERESTARTSYS; tmp 1383 sound/core/oss/pcm_oss.c tmp = snd_pcm_oss_make_ready_locked(substream); tmp 1384 sound/core/oss/pcm_oss.c if (tmp < 0) tmp 1387 sound/core/oss/pcm_oss.c tmp = bytes; tmp 1388 sound/core/oss/pcm_oss.c if (tmp + runtime->oss.buffer_used > runtime->oss.period_bytes) tmp 1389 sound/core/oss/pcm_oss.c tmp = runtime->oss.period_bytes - runtime->oss.buffer_used; tmp 1390 sound/core/oss/pcm_oss.c if (tmp > 0) { tmp 1391 sound/core/oss/pcm_oss.c if (copy_from_user(runtime->oss.buffer + runtime->oss.buffer_used, buf, tmp)) { tmp 1392 sound/core/oss/pcm_oss.c tmp = -EFAULT; tmp 1396 sound/core/oss/pcm_oss.c runtime->oss.buffer_used += tmp; tmp 1397 sound/core/oss/pcm_oss.c buf += tmp; tmp 1398 sound/core/oss/pcm_oss.c bytes -= tmp; tmp 1399 sound/core/oss/pcm_oss.c xfer += tmp; tmp 1402 sound/core/oss/pcm_oss.c tmp = snd_pcm_oss_write2(substream, runtime->oss.buffer + runtime->oss.period_ptr, tmp 1404 sound/core/oss/pcm_oss.c if (tmp <= 0) tmp 1406 sound/core/oss/pcm_oss.c runtime->oss.bytes += tmp; tmp 1407 sound/core/oss/pcm_oss.c runtime->oss.period_ptr += tmp; tmp 1413 sound/core/oss/pcm_oss.c tmp = -EAGAIN; tmp 1418 sound/core/oss/pcm_oss.c tmp = snd_pcm_oss_write2(substream, tmp 1421 sound/core/oss/pcm_oss.c if (tmp <= 0) tmp 1423 sound/core/oss/pcm_oss.c runtime->oss.bytes += tmp; tmp 1424 sound/core/oss/pcm_oss.c buf += tmp; tmp 1425 sound/core/oss/pcm_oss.c bytes -= tmp; tmp 1426 sound/core/oss/pcm_oss.c xfer += tmp; tmp 1428 sound/core/oss/pcm_oss.c tmp != runtime->oss.period_bytes) tmp 1429 sound/core/oss/pcm_oss.c tmp = -EAGAIN; tmp 1433 sound/core/oss/pcm_oss.c if (tmp < 0) tmp 1436 sound/core/oss/pcm_oss.c tmp = -ERESTARTSYS; tmp 1439 sound/core/oss/pcm_oss.c tmp = 0; tmp 1442 sound/core/oss/pcm_oss.c return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; tmp 1481 sound/core/oss/pcm_oss.c ssize_t tmp = 0; tmp 1490 sound/core/oss/pcm_oss.c tmp = -ERESTARTSYS; tmp 1493 sound/core/oss/pcm_oss.c tmp = snd_pcm_oss_make_ready_locked(substream); tmp 1494 sound/core/oss/pcm_oss.c if (tmp < 0) tmp 1498 sound/core/oss/pcm_oss.c tmp = snd_pcm_oss_read2(substream, runtime->oss.buffer, runtime->oss.period_bytes, 1); tmp 1499 sound/core/oss/pcm_oss.c if (tmp <= 0) tmp 1501 sound/core/oss/pcm_oss.c runtime->oss.bytes += tmp; tmp 1502 sound/core/oss/pcm_oss.c runtime->oss.period_ptr = tmp; tmp 1503 sound/core/oss/pcm_oss.c runtime->oss.buffer_used = tmp; tmp 1505 sound/core/oss/pcm_oss.c tmp = bytes; tmp 1506 sound/core/oss/pcm_oss.c if ((size_t) tmp > runtime->oss.buffer_used) tmp 1507 sound/core/oss/pcm_oss.c tmp = runtime->oss.buffer_used; tmp 1508 sound/core/oss/pcm_oss.c if (copy_to_user(buf, runtime->oss.buffer + (runtime->oss.period_ptr - runtime->oss.buffer_used), tmp)) { tmp 1509 sound/core/oss/pcm_oss.c tmp = -EFAULT; tmp 1512 sound/core/oss/pcm_oss.c buf += tmp; tmp 1513 sound/core/oss/pcm_oss.c bytes -= tmp; tmp 1514 sound/core/oss/pcm_oss.c xfer += tmp; tmp 1515 sound/core/oss/pcm_oss.c runtime->oss.buffer_used -= tmp; tmp 1517 sound/core/oss/pcm_oss.c tmp = snd_pcm_oss_read2(substream, (char __force *)buf, tmp 1519 sound/core/oss/pcm_oss.c if (tmp <= 0) tmp 1521 sound/core/oss/pcm_oss.c runtime->oss.bytes += tmp; tmp 1522 sound/core/oss/pcm_oss.c buf += tmp; tmp 1523 sound/core/oss/pcm_oss.c bytes -= tmp; tmp 1524 sound/core/oss/pcm_oss.c xfer += tmp; tmp 1528 sound/core/oss/pcm_oss.c if (tmp < 0) tmp 1531 sound/core/oss/pcm_oss.c tmp = -ERESTARTSYS; tmp 1534 sound/core/oss/pcm_oss.c tmp = 0; tmp 1537 sound/core/oss/pcm_oss.c return xfer > 0 ? (snd_pcm_sframes_t)xfer : tmp; tmp 230 sound/core/seq/oss/seq_oss_event.c union evrec tmp; tmp 231 sound/core/seq/oss/seq_oss_event.c memset(&tmp, 0, sizeof(tmp)); tmp 233 sound/core/seq/oss/seq_oss_event.c tmp.echo = (q->t.time << 8) | SEQ_ECHO; tmp 234 sound/core/seq/oss/seq_oss_event.c return set_echo_event(dp, &tmp, ev); tmp 310 sound/core/seq/seq_memory.c struct snd_seq_event_cell *src, *tmp, *tail; tmp 324 sound/core/seq/seq_memory.c err = snd_seq_cell_alloc(pool, &tmp, nonblock, file, tmp 329 sound/core/seq/seq_memory.c cell->event.data.ext.ptr = tmp; tmp 331 sound/core/seq/seq_memory.c tail->next = tmp; tmp 332 sound/core/seq/seq_memory.c tail = tmp; tmp 335 sound/core/seq/seq_memory.c tmp->event = src->event; tmp 338 sound/core/seq/seq_memory.c if (copy_from_user(&tmp->event, (char __force __user *)buf, size)) { tmp 343 sound/core/seq/seq_memory.c memcpy(&tmp->event, buf, size); tmp 99 sound/core/seq/seq_midi.c int tmp; tmp 104 sound/core/seq/seq_midi.c if ((tmp = runtime->avail) < count) { tmp 295 sound/core/seq/seq_ports.c struct snd_seq_client_port *port, *tmp; tmp 312 sound/core/seq/seq_ports.c list_for_each_entry_safe(port, tmp, &deleted_list, list) { tmp 207 sound/core/timer.c struct snd_timer_instance *slave, *tmp; tmp 210 sound/core/timer.c list_for_each_entry_safe(slave, tmp, &snd_timer_slave_list, open_list) { tmp 358 sound/core/timer.c struct snd_timer_instance *slave, *tmp; tmp 387 sound/core/timer.c list_for_each_entry_safe(slave, tmp, &timeri->slave_list_head, tmp 813 sound/core/timer.c struct snd_timer_instance *ti, *ts, *tmp; tmp 837 sound/core/timer.c list_for_each_entry_safe(ti, tmp, &timer->active_list_head, tmp 146 sound/drivers/opl3/opl3_lib.c unsigned char tmp; tmp 153 sound/drivers/opl3/opl3_lib.c tmp = (opl3->timer_enable | OPL3_TIMER1_START) & ~OPL3_TIMER1_MASK; tmp 154 sound/drivers/opl3/opl3_lib.c opl3->timer_enable = tmp; tmp 156 sound/drivers/opl3/opl3_lib.c opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* enable timer 1 IRQ */ tmp 164 sound/drivers/opl3/opl3_lib.c unsigned char tmp; tmp 169 sound/drivers/opl3/opl3_lib.c tmp = (opl3->timer_enable | OPL3_TIMER1_MASK) & ~OPL3_TIMER1_START; tmp 170 sound/drivers/opl3/opl3_lib.c opl3->timer_enable = tmp; tmp 171 sound/drivers/opl3/opl3_lib.c opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* disable timer #1 */ tmp 183 sound/drivers/opl3/opl3_lib.c unsigned char tmp; tmp 190 sound/drivers/opl3/opl3_lib.c tmp = (opl3->timer_enable | OPL3_TIMER2_START) & ~OPL3_TIMER2_MASK; tmp 191 sound/drivers/opl3/opl3_lib.c opl3->timer_enable = tmp; tmp 193 sound/drivers/opl3/opl3_lib.c opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* enable timer 1 IRQ */ tmp 201 sound/drivers/opl3/opl3_lib.c unsigned char tmp; tmp 206 sound/drivers/opl3/opl3_lib.c tmp = (opl3->timer_enable | OPL3_TIMER2_MASK) & ~OPL3_TIMER2_START; tmp 207 sound/drivers/opl3/opl3_lib.c opl3->timer_enable = tmp; tmp 208 sound/drivers/opl3/opl3_lib.c opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* disable timer #1 */ tmp 1171 sound/firewire/amdtp-stream.c struct amdtp_stream *tmp; tmp 1173 sound/firewire/amdtp-stream.c list_for_each_entry(tmp, &d->streams, list) { tmp 1174 sound/firewire/amdtp-stream.c if (s == tmp) tmp 66 sound/firewire/bebob/bebob_focusrite.c __be32 *tmp = (__be32 *)buf; tmp 70 sound/firewire/bebob/bebob_focusrite.c tmp, size, 0); tmp 75 sound/firewire/bebob/bebob_focusrite.c buf[i] = be32_to_cpu(tmp[i]); tmp 84 sound/firewire/bebob/bebob_focusrite.c __be32 tmp; tmp 88 sound/firewire/bebob/bebob_focusrite.c &tmp, sizeof(__be32), 0); tmp 92 sound/firewire/bebob/bebob_focusrite.c *value = be32_to_cpu(tmp); tmp 94 sound/hda/hdac_bus.c unsigned int tmp; tmp 103 sound/hda/hdac_bus.c res = &tmp; tmp 110 sound/hda/hdac_bus.c err = bus->ops->get_response(bus, addr, &tmp); tmp 318 sound/i2c/other/ak4113.c unsigned short tmp; tmp 322 sound/i2c/other/ak4113.c tmp = reg_read(chip, AK4113_REG_Pc0) | tmp 324 sound/i2c/other/ak4113.c ucontrol->value.integer.value[2] = tmp; tmp 325 sound/i2c/other/ak4113.c tmp = reg_read(chip, AK4113_REG_Pd0) | tmp 327 sound/i2c/other/ak4113.c ucontrol->value.integer.value[3] = tmp; tmp 291 sound/i2c/other/ak4114.c unsigned short tmp; tmp 295 sound/i2c/other/ak4114.c tmp = reg_read(chip, AK4114_REG_Pc0) | (reg_read(chip, AK4114_REG_Pc1) << 8); tmp 296 sound/i2c/other/ak4114.c ucontrol->value.integer.value[2] = tmp; tmp 297 sound/i2c/other/ak4114.c tmp = reg_read(chip, AK4114_REG_Pd0) | (reg_read(chip, AK4114_REG_Pd1) << 8); tmp 298 sound/i2c/other/ak4114.c ucontrol->value.integer.value[3] = tmp; tmp 278 sound/i2c/other/ak4117.c unsigned short tmp; tmp 282 sound/i2c/other/ak4117.c tmp = reg_read(chip, AK4117_REG_Pc0) | (reg_read(chip, AK4117_REG_Pc1) << 8); tmp 283 sound/i2c/other/ak4117.c ucontrol->value.integer.value[2] = tmp; tmp 284 sound/i2c/other/ak4117.c tmp = reg_read(chip, AK4117_REG_Pd0) | (reg_read(chip, AK4117_REG_Pd1) << 8); tmp 285 sound/i2c/other/ak4117.c ucontrol->value.integer.value[3] = tmp; tmp 185 sound/isa/es1688/es1688_lib.c int cfg, irq_bits, dma, dma_bits, tmp, tmp1; tmp 190 sound/isa/es1688/es1688_lib.c tmp = (chip->mpu_port & 0x0f0) >> 4; tmp 191 sound/isa/es1688/es1688_lib.c if (tmp <= 3) { tmp 209 sound/isa/es1688/es1688_lib.c cfg |= (tmp << 3) | (tmp1 << 5); tmp 618 sound/isa/es1688/es1688_lib.c static char tmp[16]; tmp 619 sound/isa/es1688/es1688_lib.c sprintf(tmp, "ES%s688 rev %i", chip->hardware == ES1688_HW_688 ? "" : "1", chip->version & 0x0f); tmp 620 sound/isa/es1688/es1688_lib.c return tmp; tmp 430 sound/isa/galaxy/galaxy.c u8 tmp = ioread8(galaxy->config_port + CONFIG_PORT_SET); tmp 433 sound/isa/galaxy/galaxy.c iowrite8(tmp | 0x80, galaxy->config_port + CONFIG_PORT_SET); tmp 438 sound/isa/galaxy/galaxy.c iowrite8(tmp & 0x7f, galaxy->config_port + CONFIG_PORT_SET); tmp 447 sound/isa/galaxy/galaxy.c u8 tmp = ioread8(galaxy->config_port + i - 1); tmp 448 sound/isa/galaxy/galaxy.c galaxy->config = (galaxy->config << 8) | tmp; tmp 20 sound/isa/gus/gus_timer.c unsigned char tmp; tmp 27 sound/isa/gus/gus_timer.c tmp = (gus->gf1.timer_enabled |= 4); tmp 29 sound/isa/gus/gus_timer.c snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 1 IRQ */ tmp 30 sound/isa/gus/gus_timer.c snd_gf1_adlib_write(gus, 0x04, tmp >> 2); /* timer 2 start */ tmp 38 sound/isa/gus/gus_timer.c unsigned char tmp; tmp 43 sound/isa/gus/gus_timer.c tmp = (gus->gf1.timer_enabled &= ~4); tmp 44 sound/isa/gus/gus_timer.c snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ tmp 56 sound/isa/gus/gus_timer.c unsigned char tmp; tmp 63 sound/isa/gus/gus_timer.c tmp = (gus->gf1.timer_enabled |= 8); tmp 65 sound/isa/gus/gus_timer.c snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* enable timer 2 IRQ */ tmp 66 sound/isa/gus/gus_timer.c snd_gf1_adlib_write(gus, 0x04, tmp >> 2); /* timer 2 start */ tmp 74 sound/isa/gus/gus_timer.c unsigned char tmp; tmp 79 sound/isa/gus/gus_timer.c tmp = (gus->gf1.timer_enabled &= ~8); tmp 80 sound/isa/gus/gus_timer.c snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ tmp 17 sound/isa/gus/gus_volume.c unsigned short e, m, tmp; tmp 21 sound/isa/gus/gus_volume.c tmp = vol; tmp 23 sound/isa/gus/gus_volume.c if (tmp < 128) { tmp 24 sound/isa/gus/gus_volume.c while (e > 0 && tmp < (1 << e)) tmp 27 sound/isa/gus/gus_volume.c while (tmp > 255) { tmp 28 sound/isa/gus/gus_volume.c tmp >>= 1; tmp 197 sound/isa/msnd/msnd.c long tmp = (size * HZ * chip->play_sample_size) / 8; tmp 198 sound/isa/msnd/msnd.c return tmp / (chip->play_sample_rate * chip->play_channels); tmp 414 sound/isa/msnd/msnd.c u32 tmp = pcm_count * n; tmp 416 sound/isa/msnd/msnd.c writew(PCTODSP_BASED(tmp + 0x3000), pDAQ + DAQDS_wStart); tmp 212 sound/isa/opl3sa2.c unsigned char tmp, tmp1; tmp 225 sound/isa/opl3sa2.c tmp = snd_opl3sa2_read(chip, OPL3SA2_MISC); tmp 226 sound/isa/opl3sa2.c if (tmp == 0xff) { tmp 227 sound/isa/opl3sa2.c snd_printd("OPL3-SA [0x%lx] detect = 0x%x\n", port, tmp); tmp 230 sound/isa/opl3sa2.c switch (tmp & 0x07) { tmp 246 sound/isa/opl3sa2.c snd_opl3sa2_write(chip, OPL3SA2_MISC, tmp ^ 7); tmp 247 sound/isa/opl3sa2.c if ((tmp1 = snd_opl3sa2_read(chip, OPL3SA2_MISC)) != tmp) { tmp 248 sound/isa/opl3sa2.c snd_printd("OPL3-SA [0x%lx] detect (1) = 0x%x (0x%x)\n", port, tmp, tmp1); tmp 252 sound/isa/opl3sa2.c tmp = snd_opl3sa2_read(chip, OPL3SA2_MIC); tmp 255 sound/isa/opl3sa2.c snd_printd("OPL3-SA [0x%lx] detect (2) = 0x%x (0x%x)\n", port, tmp, tmp1); tmp 275 sound/isa/opl3sa2.c snd_opl3sa2_write(chip, OPL3SA2_MISC, 0x80 | (tmp & 7)); /* Miscellaneous - default */ tmp 1282 sound/isa/wss/wss_lib.c unsigned char tmp = snd_wss_in(chip, 23); tmp 1283 sound/isa/wss/wss_lib.c snd_wss_out(chip, 23, ~tmp); tmp 1284 sound/isa/wss/wss_lib.c if (snd_wss_in(chip, 23) != tmp) tmp 1588 sound/isa/wss/wss_lib.c int tmp; tmp 1594 sound/isa/wss/wss_lib.c tmp = inb(AD1848_THINKPAD_CTL_PORT2); tmp 1598 sound/isa/wss/wss_lib.c tmp |= AD1848_THINKPAD_CS4248_ENABLE_BIT; tmp 1601 sound/isa/wss/wss_lib.c tmp &= ~AD1848_THINKPAD_CS4248_ENABLE_BIT; tmp 1603 sound/isa/wss/wss_lib.c outb(tmp, AD1848_THINKPAD_CTL_PORT2); tmp 190 sound/mips/hal2.c u32 tmp; tmp 195 sound/mips/hal2.c tmp = hal2_i_read32(hal2, H2I_DAC_C2); tmp 196 sound/mips/hal2.c if (tmp & H2I_C2_MUTE) { tmp 200 sound/mips/hal2.c l = 31 - ((tmp >> H2I_C2_L_ATT_SHIFT) & 31); tmp 201 sound/mips/hal2.c r = 31 - ((tmp >> H2I_C2_R_ATT_SHIFT) & 31); tmp 205 sound/mips/hal2.c tmp = hal2_i_read32(hal2, H2I_ADC_C2); tmp 206 sound/mips/hal2.c l = (tmp >> H2I_C2_L_GAIN_SHIFT) & 15; tmp 207 sound/mips/hal2.c r = (tmp >> H2I_C2_R_GAIN_SHIFT) & 15; tmp 1188 sound/pci/ac97/ac97_codec.c struct snd_kcontrol_new tmp = AC97_DOUBLE(name, reg, 15, 7, 1, 1); tmp 1190 sound/pci/ac97/ac97_codec.c tmp.private_value |= (1 << 30); tmp 1191 sound/pci/ac97/ac97_codec.c tmp.index = ac97->num; tmp 1192 sound/pci/ac97/ac97_codec.c kctl = snd_ctl_new1(&tmp, ac97); tmp 1194 sound/pci/ac97/ac97_codec.c struct snd_kcontrol_new tmp = AC97_SINGLE(name, reg, 15, 1, 1); tmp 1196 sound/pci/ac97/ac97_codec.c tmp.private_value |= (1 << 30); tmp 1197 sound/pci/ac97/ac97_codec.c tmp.index = ac97->num; tmp 1198 sound/pci/ac97/ac97_codec.c kctl = snd_ctl_new1(&tmp, ac97); tmp 1247 sound/pci/ac97/ac97_codec.c struct snd_kcontrol_new tmp = AC97_DOUBLE(name, reg, 8, 0, lo_max, 1); tmp 1248 sound/pci/ac97/ac97_codec.c tmp.index = ac97->num; tmp 1249 sound/pci/ac97/ac97_codec.c kctl = snd_ctl_new1(&tmp, ac97); tmp 1252 sound/pci/ac97/ac97_codec.c struct snd_kcontrol_new tmp = AC97_SINGLE(name, reg, 0, lo_max, 1); tmp 1253 sound/pci/ac97/ac97_codec.c tmp.index = ac97->num; tmp 1254 sound/pci/ac97/ac97_codec.c kctl = snd_ctl_new1(&tmp, ac97); tmp 1682 sound/pci/ac97/ac97_codec.c unsigned int tmp; tmp 1684 sound/pci/ac97/ac97_codec.c tmp = ((unsigned int)rate * ac97->bus->clock) / 48000; tmp 1685 sound/pci/ac97/ac97_codec.c snd_ac97_write_cache(ac97, reg, tmp & 0xffff); tmp 1687 sound/pci/ac97/ac97_codec.c snd_ac97_write_cache(ac97, shadow_reg, tmp & 0xffff); tmp 1689 sound/pci/ac97/ac97_codec.c return val == (tmp & 0xffff); tmp 2151 sound/pci/ac97/ac97_codec.c unsigned char tmp; tmp 2155 sound/pci/ac97/ac97_codec.c tmp = AC97_MEA_GPIO; tmp 2158 sound/pci/ac97/ac97_codec.c tmp |= AC97_MEA_ADC1 | AC97_MEA_DAC1; tmp 2162 sound/pci/ac97/ac97_codec.c tmp |= AC97_MEA_ADC2 | AC97_MEA_DAC2; tmp 2166 sound/pci/ac97/ac97_codec.c tmp |= AC97_MEA_HADC | AC97_MEA_HDAC; tmp 2174 sound/pci/ac97/ac97_codec.c if ((snd_ac97_read(ac97, AC97_EXTENDED_MSTATUS) & tmp) == tmp) tmp 3239 sound/pci/ac97/ac97_patch.c unsigned short tmp; tmp 3243 sound/pci/ac97/ac97_patch.c tmp = snd_ac97_read(ac97, 0x60); tmp 3244 sound/pci/ac97/ac97_patch.c ac97->spec.dev_flags = tmp & 1; /* revision B? */ tmp 246 sound/pci/ac97/ac97_pcm.c unsigned int tmp; tmp 285 sound/pci/ac97/ac97_pcm.c tmp = (rate * ac97->bus->clock) / 48000; tmp 286 sound/pci/ac97/ac97_pcm.c if (tmp > 65535) tmp 291 sound/pci/ac97/ac97_pcm.c snd_ac97_update(ac97, reg, tmp & 0xffff); tmp 440 sound/pci/ac97/ac97_pcm.c unsigned short tmp, slots; tmp 485 sound/pci/ac97/ac97_pcm.c tmp = spdif_slots[j]; tmp 487 sound/pci/ac97/ac97_pcm.c tmp = avail_slots[pcm->stream][j]; tmp 490 sound/pci/ac97/ac97_pcm.c tmp &= slots; tmp 493 sound/pci/ac97/ac97_pcm.c tmp &= ~rpcms[k].r[0].rslots[j]; tmp 497 sound/pci/ac97/ac97_pcm.c tmp &= pcm->r[0].slots; tmp 499 sound/pci/ac97/ac97_pcm.c if (tmp) { tmp 500 sound/pci/ac97/ac97_pcm.c rpcm->r[0].rslots[j] = tmp; tmp 506 sound/pci/ac97/ac97_pcm.c rates = get_rates(rpcm, j, tmp, 0); tmp 508 sound/pci/ac97/ac97_pcm.c avail_slots[pcm->stream][j] &= ~tmp; tmp 510 sound/pci/ac97/ac97_pcm.c slots &= ~tmp; tmp 511 sound/pci/ac97/ac97_pcm.c rpcm->r[0].slots |= tmp; tmp 518 sound/pci/ac97/ac97_pcm.c tmp = (1<<AC97_SLOT_PCM_LEFT) | (1<<AC97_SLOT_PCM_RIGHT) | tmp 520 sound/pci/ac97/ac97_pcm.c if ((tmp & pcm->r[1].slots) == tmp) { tmp 521 sound/pci/ac97/ac97_pcm.c rpcm->r[1].slots = tmp; tmp 522 sound/pci/ac97/ac97_pcm.c rpcm->r[1].rslots[0] = tmp; tmp 526 sound/pci/ac97/ac97_pcm.c avail_slots[pcm->stream][0] &= ~tmp; tmp 530 sound/pci/ac97/ac97_pcm.c rates = get_rates(rpcm, 0, tmp, 1); tmp 95 sound/pci/ac97/ac97_proc.c unsigned short val, tmp, ext, mext; tmp 118 sound/pci/ac97/ac97_proc.c tmp = snd_ac97_read(ac97, AC97_CODEC_CLASS_REV); tmp 119 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Revision : 0x%02x\n", tmp & 0xff); tmp 120 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Compat. Class : 0x%02x\n", (tmp >> 8) & 0x1f); tmp 138 sound/pci/ac97/ac97_proc.c tmp = ac97->caps & AC97_BC_DAC_MASK; tmp 140 sound/pci/ac97/ac97_proc.c tmp == AC97_BC_16BIT_DAC ? "16-bit" : "", tmp 141 sound/pci/ac97/ac97_proc.c tmp == AC97_BC_18BIT_DAC ? "18-bit" : "", tmp 142 sound/pci/ac97/ac97_proc.c tmp == AC97_BC_20BIT_DAC ? "20-bit" : "", tmp 143 sound/pci/ac97/ac97_proc.c tmp == AC97_BC_DAC_MASK ? "???" : ""); tmp 144 sound/pci/ac97/ac97_proc.c tmp = ac97->caps & AC97_BC_ADC_MASK; tmp 146 sound/pci/ac97/ac97_proc.c tmp == AC97_BC_16BIT_ADC ? "16-bit" : "", tmp 147 sound/pci/ac97/ac97_proc.c tmp == AC97_BC_18BIT_ADC ? "18-bit" : "", tmp 148 sound/pci/ac97/ac97_proc.c tmp == AC97_BC_20BIT_ADC ? "20-bit" : "", tmp 149 sound/pci/ac97/ac97_proc.c tmp == AC97_BC_ADC_MASK ? "???" : ""); tmp 648 sound/pci/ad1889.c int tmp; tmp 659 sound/pci/ad1889.c tmp = (reg & AD_DS_WSMC_WARQ) ? tmp 661 sound/pci/ad1889.c tmp /= (reg & AD_DS_WSMC_WAST) ? 2 : 1; tmp 663 sound/pci/ad1889.c snd_iprintf(buffer, "Wave FIFO: %d %s words\n\n", tmp, tmp 671 sound/pci/ad1889.c tmp = (reg & AD_DS_WSMC_SYRQ) ? tmp 673 sound/pci/ad1889.c tmp /= (reg & AD_DS_WSMC_WAST) ? 2 : 1; tmp 675 sound/pci/ad1889.c snd_iprintf(buffer, "Synthesis FIFO: %d %s words\n\n", tmp, tmp 687 sound/pci/ad1889.c tmp = (reg & AD_DS_RAMC_ACRQ) ? tmp 689 sound/pci/ad1889.c tmp /= (reg & AD_DS_RAMC_ADST) ? 2 : 1; tmp 691 sound/pci/ad1889.c snd_iprintf(buffer, "ADC FIFO: %d %s words\n\n", tmp, tmp 698 sound/pci/ad1889.c tmp = (reg & AD_DS_RAMC_RERQ) ? tmp 700 sound/pci/ad1889.c tmp /= (reg & AD_DS_RAMC_ADST) ? 2 : 1; tmp 702 sound/pci/ad1889.c snd_iprintf(buffer, "Resampler FIFO: %d %s words\n\n", tmp, tmp 154 sound/pci/als300.c u32 tmp = snd_als300_gcr_read(chip->port, MISC_CONTROL); tmp 161 sound/pci/als300.c tmp |= IRQ_SET_BIT; tmp 163 sound/pci/als300.c tmp &= ~IRQ_SET_BIT; tmp 164 sound/pci/als300.c snd_als300_gcr_write(chip->port, MISC_CONTROL, tmp); tmp 428 sound/pci/als300.c u32 tmp; tmp 435 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, PLAYBACK_CONTROL); tmp 436 sound/pci/als300.c tmp &= ~TRANSFER_START; tmp 442 sound/pci/als300.c tmp &= 0xffff0000; tmp 443 sound/pci/als300.c tmp |= period_bytes - 1; tmp 444 sound/pci/als300.c snd_als300_gcr_write(chip->port, PLAYBACK_CONTROL, tmp); tmp 457 sound/pci/als300.c u32 tmp; tmp 464 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, RECORD_CONTROL); tmp 465 sound/pci/als300.c tmp &= ~TRANSFER_START; tmp 471 sound/pci/als300.c tmp &= 0xffff0000; tmp 472 sound/pci/als300.c tmp |= period_bytes - 1; tmp 475 sound/pci/als300.c snd_als300_gcr_write(chip->port, RECORD_CONTROL, tmp); tmp 487 sound/pci/als300.c u32 tmp; tmp 499 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, reg); tmp 501 sound/pci/als300.c snd_als300_gcr_write(chip->port, reg, tmp | TRANSFER_START); tmp 506 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, reg); tmp 507 sound/pci/als300.c snd_als300_gcr_write(chip->port, reg, tmp & ~TRANSFER_START); tmp 511 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, reg); tmp 512 sound/pci/als300.c snd_als300_gcr_write(chip->port, reg, tmp | FIFO_PAUSE); tmp 516 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, reg); tmp 517 sound/pci/als300.c snd_als300_gcr_write(chip->port, reg, tmp & ~FIFO_PAUSE); tmp 602 sound/pci/als300.c u32 tmp; tmp 608 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, DRAM_WRITE_CONTROL); tmp 610 sound/pci/als300.c (tmp | DRAM_MODE_2) tmp 618 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, MISC_CONTROL); tmp 620 sound/pci/als300.c tmp | VMUTE_NORMAL | MMUTE_NORMAL); tmp 626 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, PLAYBACK_CONTROL); tmp 628 sound/pci/als300.c tmp & ~TRANSFER_START); tmp 729 sound/pci/als4000.c u8 tmp; tmp 734 sound/pci/als4000.c tmp = snd_als4_cr_read(chip, ALS4K_CR0_SB_CONFIG); tmp 736 sound/pci/als4000.c tmp|ALS4K_CR0_MX80_81_REG_WRITE_ENABLE); tmp 741 sound/pci/als4000.c tmp & ~ALS4K_CR0_MX80_81_REG_WRITE_ENABLE); tmp 2326 sound/pci/azt3328.c u16 tmp; tmp 2343 sound/pci/azt3328.c for (tmp = 0; tmp < 0x07; tmp += 1) tmp 2345 sound/pci/azt3328.c "mpu_io 0x%04x\n", inb(chip->mpu_io + tmp)); tmp 2347 sound/pci/azt3328.c for (tmp = 0; tmp <= 0x07; tmp += 1) tmp 2350 sound/pci/azt3328.c tmp, inb(0x200 + tmp), inb(0x208 + tmp)); tmp 2352 sound/pci/azt3328.c for (tmp = 0; tmp <= 0x01; tmp += 1) tmp 2356 sound/pci/azt3328.c tmp, tmp 2357 sound/pci/azt3328.c inb(0x300 + tmp), tmp 2358 sound/pci/azt3328.c inb(0x310 + tmp), tmp 2359 sound/pci/azt3328.c inb(0x320 + tmp), tmp 2360 sound/pci/azt3328.c inb(0x330 + tmp), tmp 2361 sound/pci/azt3328.c inb(0x388 + tmp), tmp 2362 sound/pci/azt3328.c inb(0x38c + tmp)); tmp 2364 sound/pci/azt3328.c for (tmp = 0; tmp < AZF_IO_SIZE_CTRL; tmp += 2) tmp 2367 sound/pci/azt3328.c tmp, snd_azf3328_ctrl_inw(chip, tmp)); tmp 2369 sound/pci/azt3328.c for (tmp = 0; tmp < AZF_IO_SIZE_MIXER; tmp += 2) tmp 2372 sound/pci/azt3328.c tmp, snd_azf3328_mixer_inw(chip, tmp)); tmp 368 sound/pci/ca0106/ca0106_main.c unsigned int reg, tmp; tmp 373 sound/pci/ca0106/ca0106_main.c tmp = snd_ca0106_ptr_read(emu, reg, 0); tmp 374 sound/pci/ca0106/ca0106_main.c reset = (tmp & ~0x3ffff) | 0x20000; /* Set xxx20000 */ tmp 377 sound/pci/ca0106/ca0106_main.c tmp = snd_ca0106_ptr_read(emu, reg, 0); /* write post */ tmp 383 sound/pci/ca0106/ca0106_main.c tmp = snd_ca0106_ptr_read(emu, reg, 0); tmp 384 sound/pci/ca0106/ca0106_main.c if (!(tmp & 0x10000)) { tmp 392 sound/pci/ca0106/ca0106_main.c tmp = snd_ca0106_ptr_read(emu, reg, 0); /* Write post */ tmp 401 sound/pci/ca0106/ca0106_main.c u32 tmp; tmp 410 sound/pci/ca0106/ca0106_main.c tmp = reg << 25 | value << 16; tmp 418 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write(emu, I2C_D1, 0, tmp); tmp 424 sound/pci/ca0106/ca0106_main.c tmp = 0; tmp 425 sound/pci/ca0106/ca0106_main.c tmp = tmp | (I2C_A_ADC_LAST|I2C_A_ADC_START|I2C_A_ADC_ADD); tmp 426 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write(emu, I2C_A, 0, tmp); tmp 118 sound/pci/ca0106/ca0106_mixer.c u32 tmp; tmp 122 sound/pci/ca0106/ca0106_mixer.c tmp = inl(emu->port+GPIO) & ~0x400; tmp 123 sound/pci/ca0106/ca0106_mixer.c tmp = tmp | 0x400; tmp 124 sound/pci/ca0106/ca0106_mixer.c outl(tmp, emu->port+GPIO); tmp 128 sound/pci/ca0106/ca0106_mixer.c tmp = inl(emu->port+GPIO) & ~0x400; tmp 129 sound/pci/ca0106/ca0106_mixer.c outl(tmp, emu->port+GPIO); tmp 1325 sound/pci/cs4281.c unsigned int tmp; tmp 1373 sound/pci/cs4281.c tmp = snd_cs4281_chip_init(chip); tmp 1374 sound/pci/cs4281.c if (tmp) { tmp 1376 sound/pci/cs4281.c return tmp; tmp 1392 sound/pci/cs4281.c unsigned int tmp; tmp 1397 sound/pci/cs4281.c tmp = snd_cs4281_peekBA0(chip, BA0_EPPMC); tmp 1398 sound/pci/cs4281.c if (tmp & BA0_EPPMC_FPDN) tmp 1399 sound/pci/cs4281.c snd_cs4281_pokeBA0(chip, BA0_EPPMC, tmp & ~BA0_EPPMC_FPDN); tmp 1402 sound/pci/cs4281.c tmp = snd_cs4281_peekBA0(chip, BA0_CFLR); tmp 1403 sound/pci/cs4281.c if (tmp != BA0_CFLR_DEFAULT) { tmp 1405 sound/pci/cs4281.c tmp = snd_cs4281_peekBA0(chip, BA0_CFLR); tmp 1406 sound/pci/cs4281.c if (tmp != BA0_CFLR_DEFAULT) { tmp 1408 sound/pci/cs4281.c "CFLR setup failed (0x%x)\n", tmp); tmp 1418 sound/pci/cs4281.c if ((tmp = snd_cs4281_peekBA0(chip, BA0_SERC1)) != (BA0_SERC1_SO1EN | BA0_SERC1_AC97)) { tmp 1420 sound/pci/cs4281.c "SERC1 AC'97 check failed (0x%x)\n", tmp); tmp 1423 sound/pci/cs4281.c if ((tmp = snd_cs4281_peekBA0(chip, BA0_SERC2)) != (BA0_SERC2_SI1EN | BA0_SERC2_AC97)) { tmp 1425 sound/pci/cs4281.c "SERC2 AC'97 check failed (0x%x)\n", tmp); tmp 1571 sound/pci/cs4281.c for (tmp = 0; tmp < 4; tmp++) { tmp 1572 sound/pci/cs4281.c struct cs4281_dma *dma = &chip->dma[tmp]; tmp 1573 sound/pci/cs4281.c dma->regDBA = BA0_DBA0 + (tmp * 0x10); tmp 1574 sound/pci/cs4281.c dma->regDCA = BA0_DCA0 + (tmp * 0x10); tmp 1575 sound/pci/cs4281.c dma->regDBC = BA0_DBC0 + (tmp * 0x10); tmp 1576 sound/pci/cs4281.c dma->regDCC = BA0_DCC0 + (tmp * 0x10); tmp 1577 sound/pci/cs4281.c dma->regDMR = BA0_DMR0 + (tmp * 8); tmp 1578 sound/pci/cs4281.c dma->regDCR = BA0_DCR0 + (tmp * 8); tmp 1579 sound/pci/cs4281.c dma->regHDSR = BA0_HDSR0 + (tmp * 4); tmp 1580 sound/pci/cs4281.c dma->regFCR = BA0_FCR0 + (tmp * 4); tmp 1581 sound/pci/cs4281.c dma->regFSIC = BA0_FSIC0 + (tmp * 4); tmp 1582 sound/pci/cs4281.c dma->fifo_offset = tmp * CS4281_FIFO_SIZE; tmp 79 sound/pci/cs46xx/cs46xx_lib.c unsigned short result,tmp; tmp 102 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peekBA0(chip, BA0_ACCTL); tmp 103 sound/pci/cs46xx/cs46xx_lib.c if ((tmp & ACCTL_VFRM) == 0) { tmp 104 sound/pci/cs46xx/cs46xx_lib.c dev_warn(chip->card->dev, "ACCTL_VFRM not set 0x%x\n", tmp); tmp 105 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_ACCTL, (tmp & (~ACCTL_ESYN)) | ACCTL_VFRM ); tmp 107 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peekBA0(chip, BA0_ACCTL + offset); tmp 108 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_ACCTL, tmp | ACCTL_ESYN | ACCTL_VFRM ); tmp 613 sound/pci/cs46xx/cs46xx_lib.c unsigned int tmp; tmp 619 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peekBA0(chip, BA0_CLKCR1); tmp 620 sound/pci/cs46xx/cs46xx_lib.c if (!(tmp & CLKCR1_SWCE)) { tmp 621 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_CLKCR1, tmp | CLKCR1_SWCE); tmp 645 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_CLKCR1, tmp); tmp 663 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_CLKCR1, tmp); tmp 975 sound/pci/cs46xx/cs46xx_lib.c { unsigned int tmp; tmp 976 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_PCTL); tmp 977 sound/pci/cs46xx/cs46xx_lib.c tmp &= 0x0000ffff; tmp 978 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_PCTL, chip->play_ctl | tmp); tmp 994 sound/pci/cs46xx/cs46xx_lib.c { unsigned int tmp; tmp 995 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_PCTL); tmp 996 sound/pci/cs46xx/cs46xx_lib.c tmp &= 0x0000ffff; tmp 997 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_PCTL, tmp); tmp 1014 sound/pci/cs46xx/cs46xx_lib.c unsigned int tmp; tmp 1021 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_CCTL); tmp 1022 sound/pci/cs46xx/cs46xx_lib.c tmp &= 0xffff0000; tmp 1023 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CCTL, chip->capt.ctl | tmp); tmp 1027 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_CCTL); tmp 1028 sound/pci/cs46xx/cs46xx_lib.c tmp &= 0xffff0000; tmp 1029 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CCTL, tmp); tmp 1206 sound/pci/cs46xx/cs46xx_lib.c unsigned int tmp; tmp 1254 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address) << 2); tmp 1255 sound/pci/cs46xx/cs46xx_lib.c tmp &= ~0x000003ff; tmp 1256 sound/pci/cs46xx/cs46xx_lib.c tmp |= (4 << cpcm->shift) - 1; tmp 1258 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, (cpcm->pcm_channel->pcm_reader_scb->address) << 2, tmp); tmp 1264 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_PDTC); tmp 1265 sound/pci/cs46xx/cs46xx_lib.c tmp &= ~0x000003ff; tmp 1266 sound/pci/cs46xx/cs46xx_lib.c tmp |= (4 << cpcm->shift) - 1; tmp 1267 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_PDTC, tmp); tmp 2866 sound/pci/cs46xx/cs46xx_lib.c unsigned int tmp; tmp 2868 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_PFIE); tmp 2869 sound/pci/cs46xx/cs46xx_lib.c tmp &= ~0x0000f03f; tmp 2870 sound/pci/cs46xx/cs46xx_lib.c tmp |= 0x00000010; tmp 2871 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_PFIE, tmp); /* playback interrupt disable */ tmp 2873 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_CIE); tmp 2874 sound/pci/cs46xx/cs46xx_lib.c tmp &= ~0x0000003f; tmp 2875 sound/pci/cs46xx/cs46xx_lib.c tmp |= 0x00000011; tmp 2876 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CIE, tmp); /* capture interrupt disable */ tmp 2881 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_PCTL); tmp 2882 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_PCTL, tmp & 0x0000ffff); tmp 2887 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_CCTL); tmp 2888 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CCTL, tmp & 0xffff0000); tmp 2906 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peekBA0(chip, BA0_CLKCR1) & ~CLKCR1_SWCE; tmp 2907 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_CLKCR1, tmp); tmp 3212 sound/pci/cs46xx/cs46xx_lib.c unsigned int tmp; tmp 3216 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_PFIE); tmp 3217 sound/pci/cs46xx/cs46xx_lib.c tmp &= ~0x0000f03f; tmp 3218 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_PFIE, tmp); /* playback interrupt enable */ tmp 3220 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_CIE); tmp 3221 sound/pci/cs46xx/cs46xx_lib.c tmp &= ~0x0000003f; tmp 3222 sound/pci/cs46xx/cs46xx_lib.c tmp |= 0x00000001; tmp 3223 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CIE, tmp); /* capture interrupt enable */ tmp 3228 sound/pci/cs46xx/cs46xx_lib.c unsigned int tmp; tmp 3274 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_PCTL); tmp 3275 sound/pci/cs46xx/cs46xx_lib.c chip->play_ctl = tmp & 0xffff0000; tmp 3276 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_PCTL, tmp & 0x0000ffff); tmp 3282 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_CCTL); tmp 3283 sound/pci/cs46xx/cs46xx_lib.c chip->capt.ctl = tmp & 0x0000ffff; tmp 3284 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CCTL, tmp & 0xffff0000); tmp 3317 sound/pci/cs46xx/cs46xx_lib.c u32 idx, valid_slots,tmp,powerdown = 0; tmp 3326 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peekBA0(chip, BA0_CLKCR1); tmp 3328 sound/pci/cs46xx/cs46xx_lib.c if (!(tmp & CLKCR1_SWCE)) { tmp 3329 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_CLKCR1, tmp | CLKCR1_SWCE); tmp 3427 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_CLKCR1, tmp); tmp 3798 sound/pci/cs46xx/cs46xx_lib.c unsigned int tmp; tmp 3833 sound/pci/cs46xx/cs46xx_lib.c tmp = snd_cs46xx_peek(chip, BA1_CCTL); tmp 3834 sound/pci/cs46xx/cs46xx_lib.c chip->capt.ctl = tmp & 0x0000ffff; tmp 3835 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CCTL, tmp & 0xffff0000); tmp 65 sound/pci/cs5535audio/cs5535audio.c unsigned int tmp; tmp 67 sound/pci/cs5535audio/cs5535audio.c tmp = cs_readl(cs5535au, ACC_CODEC_CNTL); tmp 68 sound/pci/cs5535audio/cs5535audio.c if (!(tmp & CMD_NEW)) tmp 66 sound/pci/cs5535audio/cs5535audio_pm.c u32 tmp; tmp 75 sound/pci/cs5535audio/cs5535audio_pm.c tmp = cs_readl(cs5535au, ACC_CODEC_STATUS); tmp 76 sound/pci/cs5535audio/cs5535audio_pm.c if (tmp & PRM_RDY_STS) tmp 147 sound/pci/emu10k1/emu10k1_main.c u32 tmp; tmp 187 sound/pci/emu10k1/emu10k1_main.c tmp = snd_emu10k1_ptr_read(emu, A_SPDIF_SAMPLERATE, 0); tmp 188 sound/pci/emu10k1/emu10k1_main.c tmp &= 0xfffff1ff; tmp 189 sound/pci/emu10k1/emu10k1_main.c tmp |= (0x2<<9); tmp 190 sound/pci/emu10k1/emu10k1_main.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, 0, tmp); tmp 207 sound/pci/emu10k1/emu10k1_main.c tmp = snd_emu10k1_ptr_read(emu, A_SPDIF_SAMPLERATE, 0); tmp 208 sound/pci/emu10k1/emu10k1_main.c tmp &= 0xfffff1ff; tmp 209 sound/pci/emu10k1/emu10k1_main.c tmp |= (0x2<<9); tmp 210 sound/pci/emu10k1/emu10k1_main.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, 0, tmp); tmp 226 sound/pci/emu10k1/emu10k1_main.c tmp = inl(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */ tmp 227 sound/pci/emu10k1/emu10k1_main.c outl(tmp, emu->port + A_IOCFG); tmp 253 sound/pci/emu10k1/emu10k1_main.c tmp = inl(emu->port + A_IOCFG); tmp 254 sound/pci/emu10k1/emu10k1_main.c outl(tmp | 0x4, emu->port + A_IOCFG); /* Set bit 2 for mic input */ tmp 255 sound/pci/emu10k1/emu10k1_main.c tmp = inl(emu->port + A_IOCFG); tmp 375 sound/pci/emu10k1/emu10k1_main.c unsigned int tmp; tmp 379 sound/pci/emu10k1/emu10k1_main.c tmp = inl(emu->port + HCFG); tmp 380 sound/pci/emu10k1/emu10k1_main.c if (tmp & (HCFG_GPINPUT0 | HCFG_GPINPUT1)) { tmp 381 sound/pci/emu10k1/emu10k1_main.c outl(tmp|0x800, emu->port + HCFG); tmp 383 sound/pci/emu10k1/emu10k1_main.c if (tmp != (inl(emu->port + HCFG) & ~0x800)) { tmp 385 sound/pci/emu10k1/emu10k1_main.c outl(tmp, emu->port + HCFG); tmp 733 sound/pci/emu10k1/emu10k1_main.c u32 tmp, tmp2, reg; tmp 744 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_IRQ_STATUS, &tmp); /* IRQ Status */ tmp 758 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_IRQ_STATUS, &tmp); tmp 760 sound/pci/emu10k1/emu10k1_main.c "emu1010: EMU_HANA+DOCK_IRQ_STATUS = 0x%x\n", tmp); tmp 762 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_ID, &tmp); tmp 764 sound/pci/emu10k1/emu10k1_main.c "emu1010: EMU_HANA+DOCK_ID = 0x%x\n", tmp); tmp 765 sound/pci/emu10k1/emu10k1_main.c if ((tmp & 0x1f) != 0x15) { tmp 769 sound/pci/emu10k1/emu10k1_main.c tmp); tmp 774 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_DOCK_MAJOR_REV, &tmp); tmp 776 sound/pci/emu10k1/emu10k1_main.c dev_info(emu->card->dev, "Audio Dock ver: %u.%u\n", tmp, tmp2); tmp 830 sound/pci/emu10k1/emu10k1_main.c u32 tmp, tmp2, reg; tmp 892 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_MAJOR_REV, &tmp); tmp 894 sound/pci/emu10k1/emu10k1_main.c dev_info(emu->card->dev, "emu1010: Hana version: %u.%u\n", tmp, tmp2); tmp 902 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_OPTICAL_TYPE, &tmp); tmp 909 sound/pci/emu10k1/emu10k1_main.c tmp = 0; tmp 910 sound/pci/emu10k1/emu10k1_main.c tmp = (emu->emu1010.optical_in ? EMU_HANA_OPTICAL_IN_ADAT : 0) | tmp 912 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_write(emu, EMU_HANA_OPTICAL_TYPE, tmp); tmp 913 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_ADC_PADS, &tmp); tmp 917 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_DOCK_MISC, &tmp); tmp 921 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_DAC_PADS, &tmp); tmp 925 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_DOCK_MISC, &tmp); tmp 927 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_SPDIF_MODE, &tmp); tmp 1076 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_OPTION_CARDS, &tmp); tmp 1091 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_OPTION_CARDS, &tmp); tmp 1096 sound/pci/emu10k1/emu10k1_main.c snd_emu1010_fpga_read(emu, EMU_HANA_SPDIF_MODE, &tmp); tmp 435 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_irq *tmp; tmp 439 sound/pci/emu10k1/emufx.c if ((tmp = emu->fx8010.irq_handlers) == irq) { tmp 440 sound/pci/emu10k1/emufx.c emu->fx8010.irq_handlers = tmp->next; tmp 446 sound/pci/emu10k1/emufx.c while (tmp && tmp->next != irq) tmp 447 sound/pci/emu10k1/emufx.c tmp = tmp->next; tmp 448 sound/pci/emu10k1/emufx.c if (tmp) tmp 449 sound/pci/emu10k1/emufx.c tmp->next = tmp->next->next; tmp 1169 sound/pci/emu10k1/emufx.c u32 *ptr, int tmp, int bit_shifter16, tmp 1172 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iACC3, A_GPR(tmp + 1), reg_in, A_C_00000000, A_C_00000000); tmp 1173 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iANDXOR, A_GPR(tmp), A_GPR(tmp + 1), A_GPR(bit_shifter16 - 1), A_C_00000000); tmp 1174 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iTSTNEG, A_GPR(tmp + 2), A_GPR(tmp), A_C_80000000, A_GPR(bit_shifter16 - 2)); tmp 1175 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iANDXOR, A_GPR(tmp + 2), A_GPR(tmp + 2), A_C_80000000, A_C_00000000); tmp 1176 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iANDXOR, A_GPR(tmp), A_GPR(tmp), A_GPR(bit_shifter16 - 3), A_C_00000000); tmp 1177 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iMACINT0, A_GPR(tmp), A_C_00000000, A_GPR(tmp), A_C_00010000); tmp 1178 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iANDXOR, reg_out, A_GPR(tmp), A_C_ffffffff, A_GPR(tmp + 2)); tmp 1179 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iACC3, reg_out + 1, A_GPR(tmp + 1), A_C_00000000, A_C_00000000); tmp 1194 sound/pci/emu10k1/emufx.c const int tmp = 0x88; tmp 1312 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACINT0, A_GPR(tmp), A_C_00000000, A3_EMU32IN(0x0), A_C_00000001); tmp 1313 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_GPR(capture+0), A_GPR(gpr), A_GPR(tmp)); tmp 1314 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACINT0, A_GPR(tmp), A_C_00000000, A3_EMU32IN(0x1), A_C_00000001); tmp 1315 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_GPR(capture+1), A_GPR(gpr), A_GPR(tmp)); tmp 1418 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iINTERP, A_GPR(tmp), A_GPR(stereo_mix), 0xcd, A_GPR(stereo_mix+1)); tmp 1419 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+4), A_GPR(playback+4), A_GPR(gpr), A_GPR(tmp)); tmp 1424 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+5), A_GPR(playback+5), A_GPR(gpr), A_GPR(tmp)); tmp 1530 sound/pci/emu10k1/emufx.c A_SWITCH(icode, &ptr, tmp + 0, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, gpr + 0); tmp 1531 sound/pci/emu10k1/emufx.c A_SWITCH_NEG(icode, &ptr, tmp + 1, gpr + 0); tmp 1532 sound/pci/emu10k1/emufx.c A_SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); tmp 1533 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + z), A_GPR(tmp + 0), A_GPR(tmp + 1), A_C_00000000); tmp 1580 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(tmp + 2), A_FXBUS(FXBUS_PT_LEFT + z), A_C_00000000, A_C_00000000); tmp 1582 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(tmp + 2), A_C_00000000, A_C_00010000, A_GPR(tmp + 2)); tmp 1583 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iANDXOR, A_GPR(tmp + 2), A_GPR(tmp + 2), A_GPR(gpr - 1), A_C_00000000); tmp 1584 sound/pci/emu10k1/emufx.c A_SWITCH(icode, &ptr, tmp + 0, tmp + 2, gpr + z); tmp 1585 sound/pci/emu10k1/emufx.c A_SWITCH_NEG(icode, &ptr, tmp + 1, gpr + z); tmp 1586 sound/pci/emu10k1/emufx.c A_SWITCH(icode, &ptr, tmp + 1, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, tmp + 1); tmp 1593 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 3), A_GPR(tmp + 0), A_GPR(tmp + 1), A_C_00000000); tmp 1595 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_EXTOUT(A_EXTOUT_FRONT_L + z), A_GPR(tmp + 0), A_GPR(tmp + 1), A_C_00000000); tmp 1617 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, tmp 1635 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_P16VIN(0x0), A_FXBUS2(0) ); tmp 1643 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(2) ); tmp 1646 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(4) ); tmp 1649 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(6) ); tmp 1654 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(0x8) ); tmp 1658 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(0xa) ); tmp 1661 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(0xc) ); tmp 1664 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(0xe) ); tmp 1671 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, tmp 1678 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, tmp 1685 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, tmp 1692 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, tmp 1699 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, tmp 1706 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, tmp 1713 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, tmp 1720 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, tmp 1749 sound/pci/emu10k1/emufx.c if (gpr > tmp) { tmp 1828 sound/pci/emu10k1/emufx.c int err, i, z, gpr, tmp, playback, capture; tmp 1876 sound/pci/emu10k1/emufx.c tmp = 0x88; /* we need 4 temporary GPR */ tmp 1933 sound/pci/emu10k1/emufx.c /* 04: */ OP(icode, &ptr, iANDXOR, GPR(tmp + 0), GPR_DBAC, GPR(gpr + 4), C_00000000); tmp 1934 sound/pci/emu10k1/emufx.c /* 05: */ OP(icode, &ptr, iMACINT0, C_00000000, GPR(tmp + 0), C_ffffffff, GPR(gpr + 5)); tmp 1943 sound/pci/emu10k1/emufx.c /* 0c: */ OP(icode, &ptr, iANDXOR, GPR(tmp + 0), ETRAM_DATA(ipcm->etram[0]), GPR(gpr + 0), C_00000000); tmp 1944 sound/pci/emu10k1/emufx.c /* 0d: */ OP(icode, &ptr, iLOG, GPR(tmp + 0), GPR(tmp + 0), GPR(gpr + 3), C_00000000); tmp 1945 sound/pci/emu10k1/emufx.c /* 0e: */ OP(icode, &ptr, iANDXOR, GPR(8), GPR(tmp + 0), GPR(gpr + 1), GPR(gpr + 2)); tmp 1949 sound/pci/emu10k1/emufx.c /* 11: */ OP(icode, &ptr, iANDXOR, GPR(tmp + 0), ETRAM_DATA(ipcm->etram[1]), GPR(gpr + 0), C_00000000); tmp 1950 sound/pci/emu10k1/emufx.c /* 12: */ OP(icode, &ptr, iLOG, GPR(tmp + 0), GPR(tmp + 0), GPR(gpr + 3), C_00000000); tmp 1951 sound/pci/emu10k1/emufx.c /* 13: */ OP(icode, &ptr, iANDXOR, GPR(9), GPR(tmp + 0), GPR(gpr + 1), GPR(gpr + 2)); tmp 1955 sound/pci/emu10k1/emufx.c /* 16: */ OP(icode, &ptr, iACC3, GPR(tmp + 0), GPR(ipcm->gpr_ptr), C_00000001, C_00000000); tmp 1956 sound/pci/emu10k1/emufx.c /* 17: */ OP(icode, &ptr, iMACINT0, C_00000000, GPR(tmp + 0), C_ffffffff, GPR(ipcm->gpr_size)); tmp 1958 sound/pci/emu10k1/emufx.c /* 19: */ OP(icode, &ptr, iACC3, GPR(tmp + 0), C_00000000, C_00000000, C_00000000); tmp 1959 sound/pci/emu10k1/emufx.c /* 1a: */ OP(icode, &ptr, iACC3, GPR(ipcm->gpr_ptr), GPR(tmp + 0), C_00000000, C_00000000); tmp 1989 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(tmp + 0), FXBUS(FXBUS_PCM_LEFT), FXBUS(FXBUS_PCM_RIGHT), C_00000000); tmp 1990 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(tmp + 0), C_00000000, GPR(tmp + 0), C_00000002); tmp 1991 sound/pci/emu10k1/emufx.c VOLUME(icode, &ptr, playback + 4, tmp + 0, gpr); tmp 1993 sound/pci/emu10k1/emufx.c VOLUME(icode, &ptr, playback + 5, tmp + 0, gpr); tmp 1998 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, z, gpr + 2 + z); tmp 1999 sound/pci/emu10k1/emufx.c VOLUME(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2013 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, 2 + z, gpr + 2 + z); tmp 2014 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2028 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, 4 + z, gpr + 2 + z); tmp 2029 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2051 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, 10 + z, gpr + 2); tmp 2052 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2082 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_SPDIF_CD_L + z, gpr + 2 + z); tmp 2083 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2099 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_ZOOM_L + z, gpr + 2 + z); tmp 2100 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2116 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_TOSLINK_L + z, gpr + 2 + z); tmp 2117 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2133 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_LINE1_L + z, gpr + 2 + z); tmp 2134 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2150 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_COAX_SPDIF_L + z, gpr + 2 + z); tmp 2151 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2168 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_LINE2_L + z, gpr + 2 + z); tmp 2169 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); tmp 2252 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, gpr + 0); tmp 2253 sound/pci/emu10k1/emufx.c SWITCH_NEG(icode, &ptr, tmp + 1, gpr + 0); tmp 2254 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); tmp 2255 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + z), GPR(tmp + 0), GPR(tmp + 1), C_00000000); tmp 2274 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, 8 + z, gpr + z); tmp 2275 sound/pci/emu10k1/emufx.c SWITCH_NEG(icode, &ptr, tmp + 1, gpr + z); tmp 2276 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 1, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, tmp + 1); tmp 2277 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_TOSLINK_L + z), GPR(tmp + 0), GPR(tmp + 1), C_00000000); tmp 2279 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ADC_CAP_L + z), GPR(tmp + 0), GPR(tmp + 1), C_00000000); tmp 2291 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, playback + SND_EMU10K1_PLAYBACK_CHANNELS + 4 + z, gpr + 2 + z); tmp 2292 sound/pci/emu10k1/emufx.c SWITCH_NEG(icode, &ptr, tmp + 1, gpr + 2 + z); tmp 2293 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 1, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, tmp + 1); tmp 2294 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(tmp + 0), GPR(tmp + 0), GPR(tmp + 1), C_00000000); tmp 2295 sound/pci/emu10k1/emufx.c VOLUME_OUT(icode, &ptr, EXTOUT_HEADPHONE_L + z, tmp + 0, gpr + z); tmp 2367 sound/pci/emu10k1/emufx.c if (gpr > tmp) { tmp 819 sound/pci/emu10k1/emumixer.c u32 tmp; tmp 829 sound/pci/emu10k1/emumixer.c tmp = (emu->emu1010.optical_in ? EMU_HANA_OPTICAL_IN_ADAT : 0) | tmp 831 sound/pci/emu10k1/emumixer.c snd_emu1010_fpga_write(emu, EMU_HANA_OPTICAL_TYPE, tmp); tmp 870 sound/pci/emu10k1/emumixer.c u32 tmp; tmp 880 sound/pci/emu10k1/emumixer.c tmp = (emu->emu1010.optical_in ? EMU_HANA_OPTICAL_IN_ADAT : 0) | tmp 882 sound/pci/emu10k1/emumixer.c snd_emu1010_fpga_write(emu, EMU_HANA_OPTICAL_TYPE, tmp); tmp 1071 sound/pci/emu10k1/emumixer.c unsigned int tmp; tmp 1076 sound/pci/emu10k1/emumixer.c tmp = snd_emu10k1_ptr_read(emu, A_SPDIF_SAMPLERATE, 0); tmp 1077 sound/pci/emu10k1/emumixer.c switch (tmp & A_SPDIF_RATE_MASK) { tmp 1099 sound/pci/emu10k1/emumixer.c unsigned int reg, val, tmp; tmp 1120 sound/pci/emu10k1/emumixer.c tmp = reg & ~A_SPDIF_RATE_MASK; tmp 1121 sound/pci/emu10k1/emumixer.c tmp |= val; tmp 1122 sound/pci/emu10k1/emumixer.c if ((change = (tmp != reg))) tmp 1123 sound/pci/emu10k1/emumixer.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, 0, tmp); tmp 277 sound/pci/emu10k1/emupcm.c unsigned int silent_page, tmp; tmp 310 sound/pci/emu10k1/emupcm.c tmp = stereo ? (master ? 1 : 2) : 0; tmp 311 sound/pci/emu10k1/emupcm.c memcpy(send_routing, &mix->send_routing[tmp][0], 8); tmp 312 sound/pci/emu10k1/emupcm.c memcpy(send_amount, &mix->send_volume[tmp][0], 8); tmp 672 sound/pci/emu10k1/emupcm.c unsigned int voice, tmp; tmp 681 sound/pci/emu10k1/emupcm.c tmp = runtime->channels == 2 ? (master ? 1 : 2) : 0; tmp 682 sound/pci/emu10k1/emupcm.c vattn = mix != NULL ? (mix->attn[tmp] << 16) : 0; tmp 267 sound/pci/emu10k1/emuproc.c unsigned int val, tmp, n; tmp 270 sound/pci/emu10k1/emuproc.c tmp = val >> (16 + (n*4)); tmp 271 sound/pci/emu10k1/emuproc.c if (tmp & 0x8) snd_iprintf(buffer, "Channel %d: Rate=%d\n", n, samplerate[tmp & 0x7]); tmp 327 sound/pci/emu10k1/emuproc.c unsigned int *tmp; tmp 342 sound/pci/emu10k1/emuproc.c tmp = kmalloc(count + 8, GFP_KERNEL); tmp 343 sound/pci/emu10k1/emuproc.c if (!tmp) tmp 352 sound/pci/emu10k1/emuproc.c tmp[idx] = val; tmp 354 sound/pci/emu10k1/emuproc.c if (copy_to_user(buf, ((char *)tmp) + (pos & 3), count)) tmp 358 sound/pci/emu10k1/emuproc.c kfree(tmp); tmp 124 sound/pci/emu10k1/io.c unsigned int reg, tmp; tmp 144 sound/pci/emu10k1/io.c tmp = snd_emu10k1_ptr20_read(emu, reg, 0); tmp 145 sound/pci/emu10k1/io.c reset = (tmp & ~0x3ffff) | 0x20000; /* Set xxx20000 */ tmp 148 sound/pci/emu10k1/io.c tmp = snd_emu10k1_ptr20_read(emu, reg, 0); /* write post */ tmp 154 sound/pci/emu10k1/io.c tmp = snd_emu10k1_ptr20_read(emu, reg, 0); tmp 155 sound/pci/emu10k1/io.c if (!(tmp & 0x10000)) { tmp 166 sound/pci/emu10k1/io.c tmp = snd_emu10k1_ptr20_read(emu, reg, 0); /* Write post */ tmp 178 sound/pci/emu10k1/io.c u32 tmp; tmp 192 sound/pci/emu10k1/io.c tmp = reg << 25 | value << 16; tmp 195 sound/pci/emu10k1/io.c snd_emu10k1_ptr20_write(emu, P17V_I2C_1, 0, tmp); tmp 196 sound/pci/emu10k1/io.c tmp = snd_emu10k1_ptr20_read(emu, P17V_I2C_1, 0); /* write post */ tmp 200 sound/pci/emu10k1/io.c tmp = 0; tmp 201 sound/pci/emu10k1/io.c tmp = tmp | (I2C_A_ADC_LAST|I2C_A_ADC_START|I2C_A_ADC_ADD); tmp 202 sound/pci/emu10k1/io.c snd_emu10k1_ptr20_write(emu, P17V_I2C_ADDR, 0, tmp); tmp 324 sound/pci/emu10k1/p16v.c u32 tmp; tmp 342 sound/pci/emu10k1/p16v.c tmp = snd_emu10k1_ptr_read(emu, A_SPDIF_SAMPLERATE, channel); tmp 345 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0xe0e0) | 0x8080); tmp 348 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0xe0e0) | 0x4040); tmp 351 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0xe0e0) | 0x2020); tmp 355 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0xe0e0) | 0x0000); tmp 383 sound/pci/emu10k1/p16v.c u32 tmp; tmp 393 sound/pci/emu10k1/p16v.c tmp = snd_emu10k1_ptr_read(emu, A_SPDIF_SAMPLERATE, channel); tmp 396 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0x0e00) | 0x0800); tmp 399 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0x0e00) | 0x0400); tmp 402 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0x0e00) | 0x0200); tmp 406 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, channel, (tmp & ~0x0e00) | 0x0000); tmp 789 sound/pci/emu10k1/p16v.c u32 tmp; tmp 797 sound/pci/emu10k1/p16v.c tmp = snd_emu10k1_ptr20_read(emu, CAPTURE_P16V_SOURCE, 0) & 0xfffc; tmp 798 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr20_write(emu, CAPTURE_P16V_SOURCE, 0, tmp | val); tmp 547 sound/pci/fm801.c unsigned int tmp; tmp 560 sound/pci/fm801.c tmp = chip->ply_pos + chip->ply_count; tmp 561 sound/pci/fm801.c tmp %= chip->ply_size; tmp 563 sound/pci/fm801.c fm801_writel(chip, PLY_BUF1, chip->ply_buffer + tmp); tmp 565 sound/pci/fm801.c fm801_writel(chip, PLY_BUF2, chip->ply_buffer + tmp); tmp 574 sound/pci/fm801.c tmp = chip->cap_pos + chip->cap_count; tmp 575 sound/pci/fm801.c tmp %= chip->cap_size; tmp 577 sound/pci/fm801.c fm801_writel(chip, CAP_BUF1, chip->cap_buffer + tmp); tmp 579 sound/pci/fm801.c fm801_writel(chip, CAP_BUF2, chip->cap_buffer + tmp); tmp 2160 sound/pci/hda/hda_generic.c char tmp[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; tmp 2166 sound/pci/hda/hda_generic.c snprintf(tmp, sizeof(tmp), "%s %s", tmp 2168 sound/pci/hda/hda_generic.c name = tmp; tmp 4059 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 4082 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4083 sound/pci/hda/patch_ca0132.c err = dspio_set_uint_param(codec, 0x80, 0x04, tmp); tmp 4087 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4088 sound/pci/hda/patch_ca0132.c err = dspio_set_uint_param(codec, 0x8f, 0x00, tmp); tmp 4115 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4116 sound/pci/hda/patch_ca0132.c err = dspio_set_uint_param(codec, 0x80, 0x04, tmp); tmp 4120 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4121 sound/pci/hda/patch_ca0132.c err = dspio_set_uint_param(codec, 0x8f, 0x00, tmp); tmp 4176 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 4205 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4206 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x29, tmp); tmp 4207 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x2a, tmp); tmp 4242 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4243 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x29, tmp); tmp 4244 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x2a, tmp); tmp 4278 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4279 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x29, tmp); tmp 4280 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x2a, tmp); tmp 4308 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 4336 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4337 sound/pci/hda/patch_ca0132.c err = dspio_set_uint_param(codec, 0x96, 0x3A, tmp); tmp 4485 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 4497 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 4499 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4500 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 4501 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4502 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x05, tmp); tmp 4507 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 4509 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4510 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 4511 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4512 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x05, tmp); tmp 4523 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 4539 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4540 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x05, tmp); tmp 4549 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4552 sound/pci/hda/patch_ca0132.c tmp = FLOAT_THREE; tmp 4554 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4557 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 4567 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 4569 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4570 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 4572 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4573 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x05, tmp); tmp 4646 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 4663 sound/pci/hda/patch_ca0132.c tmp = FLOAT_THREE; tmp 4666 sound/pci/hda/patch_ca0132.c tmp = FLOAT_THREE; tmp 4670 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4674 sound/pci/hda/patch_ca0132.c tmp = FLOAT_THREE; tmp 4677 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4686 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 4730 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4731 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 4751 sound/pci/hda/patch_ca0132.c tmp = FLOAT_THREE; tmp 4755 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4759 sound/pci/hda/patch_ca0132.c tmp = FLOAT_THREE; tmp 4762 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4771 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 4831 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 4835 sound/pci/hda/patch_ca0132.c tmp = spec->effects_switch[CRYSTAL_VOICE - EFFECT_START_NID] ? tmp 4838 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4842 sound/pci/hda/patch_ca0132.c ca0132_voicefx.reqs[0], tmp); tmp 4853 sound/pci/hda/patch_ca0132.c unsigned int on, tmp; tmp 4888 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 4891 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4893 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 4906 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 4908 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4910 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 4912 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x47, 0x00, tmp); tmp 5568 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 5580 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 5583 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 5586 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 5589 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 5594 sound/pci/hda/patch_ca0132.c ca0132_effects[idx].reqs[2], tmp); tmp 6741 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 6751 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 6752 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 6763 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 6764 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 6894 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 6901 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 6903 sound/pci/hda/patch_ca0132.c tmp = FLOAT_THREE; tmp 6904 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 6911 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 6912 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x01, tmp); tmp 7007 sound/pci/hda/patch_ca0132.c unsigned int tmp, i; tmp 7017 sound/pci/hda/patch_ca0132.c tmp = 0x00000003; tmp 7018 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0C, tmp); tmp 7019 sound/pci/hda/patch_ca0132.c tmp = 0x00000000; tmp 7020 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0A, tmp); tmp 7021 sound/pci/hda/patch_ca0132.c tmp = 0x00000001; tmp 7022 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0B, tmp); tmp 7023 sound/pci/hda/patch_ca0132.c tmp = 0x00000004; tmp 7024 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0C, tmp); tmp 7025 sound/pci/hda/patch_ca0132.c tmp = 0x00000005; tmp 7026 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0C, tmp); tmp 7027 sound/pci/hda/patch_ca0132.c tmp = 0x00000000; tmp 7028 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0C, tmp); tmp 7032 sound/pci/hda/patch_ca0132.c tmp = 0x00000000; tmp 7033 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0A, tmp); tmp 7034 sound/pci/hda/patch_ca0132.c tmp = 0x00000001; tmp 7035 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0B, tmp); tmp 7036 sound/pci/hda/patch_ca0132.c tmp = 0x00000004; tmp 7037 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0C, tmp); tmp 7038 sound/pci/hda/patch_ca0132.c tmp = 0x00000005; tmp 7039 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0C, tmp); tmp 7040 sound/pci/hda/patch_ca0132.c tmp = 0x00000000; tmp 7041 sound/pci/hda/patch_ca0132.c dspio_set_uint_param_no_source(codec, 0x80, 0x0C, tmp); tmp 7053 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 7061 sound/pci/hda/patch_ca0132.c tmp = FLOAT_THREE; tmp 7062 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 7232 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 7250 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 7251 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x3C, tmp); tmp 7254 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x8f, 0x01, tmp); tmp 7257 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 7258 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x00, tmp); tmp 7259 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x01, tmp); tmp 7262 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 7263 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x05, tmp); tmp 7266 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 7267 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x31, 0x00, tmp); tmp 7277 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 7288 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 7289 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x3C, tmp); tmp 7292 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 7293 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x31, 0x00, tmp); tmp 7297 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x32, 0x00, tmp); tmp 7321 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 7340 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 7341 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x37, 0x08, tmp); tmp 7342 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x37, 0x10, tmp); tmp 7345 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 7346 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x3C, tmp); tmp 7349 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 7350 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x31, 0x00, tmp); tmp 7354 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x32, 0x00, tmp); tmp 7378 sound/pci/hda/patch_ca0132.c unsigned int tmp; tmp 7391 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 7392 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x29, tmp); tmp 7393 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x2a, tmp); tmp 7394 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x0d, tmp); tmp 7395 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x80, 0x0e, tmp); tmp 7402 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ONE; tmp 7403 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x37, 0x08, tmp); tmp 7404 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x37, 0x10, tmp); tmp 7407 sound/pci/hda/patch_ca0132.c tmp = FLOAT_ZERO; tmp 7408 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x96, 0x3C, tmp); tmp 7411 sound/pci/hda/patch_ca0132.c tmp = FLOAT_TWO; tmp 7412 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x31, 0x00, tmp); tmp 7416 sound/pci/hda/patch_ca0132.c dspio_set_uint_param(codec, 0x32, 0x00, tmp); tmp 607 sound/pci/hda/patch_realtek.c unsigned int ass, tmp, i; tmp 638 sound/pci/hda/patch_realtek.c tmp = 0; tmp 641 sound/pci/hda/patch_realtek.c tmp++; tmp 643 sound/pci/hda/patch_realtek.c if (((ass >> 16) & 0xf) != tmp) tmp 698 sound/pci/hda/patch_realtek.c unsigned int ass, tmp, i; tmp 736 sound/pci/hda/patch_realtek.c tmp = 0; tmp 739 sound/pci/hda/patch_realtek.c tmp++; tmp 741 sound/pci/hda/patch_realtek.c if (((ass >> 16) & 0xf) != tmp) tmp 753 sound/pci/hda/patch_realtek.c tmp = (ass & 0x38) >> 3; /* external Amp control */ tmp 755 sound/pci/hda/patch_realtek.c switch (tmp) { tmp 786 sound/pci/hda/patch_realtek.c tmp = (ass >> 11) & 0x3; /* HP to chassis */ tmp 787 sound/pci/hda/patch_realtek.c nid = ports[tmp]; tmp 44 sound/pci/ice1712/ak4xxx.c unsigned int tmp; tmp 53 sound/pci/ice1712/ak4xxx.c tmp = snd_ice1712_gpio_read(ice); tmp 54 sound/pci/ice1712/ak4xxx.c tmp |= priv->add_flags; tmp 55 sound/pci/ice1712/ak4xxx.c tmp &= ~priv->mask_flags; tmp 58 sound/pci/ice1712/ak4xxx.c tmp |= priv->cs_mask; /* start without chip select */ tmp 60 sound/pci/ice1712/ak4xxx.c tmp &= ~priv->cs_mask; /* chip select low */ tmp 61 sound/pci/ice1712/ak4xxx.c snd_ice1712_gpio_write(ice, tmp); tmp 66 sound/pci/ice1712/ak4xxx.c tmp &= ~priv->cs_mask; tmp 67 sound/pci/ice1712/ak4xxx.c tmp |= priv->cs_addr; tmp 68 sound/pci/ice1712/ak4xxx.c snd_ice1712_gpio_write(ice, tmp); tmp 77 sound/pci/ice1712/ak4xxx.c tmp &= ~priv->clk_mask; tmp 78 sound/pci/ice1712/ak4xxx.c snd_ice1712_gpio_write(ice, tmp); tmp 82 sound/pci/ice1712/ak4xxx.c tmp |= priv->data_mask; tmp 84 sound/pci/ice1712/ak4xxx.c tmp &= ~priv->data_mask; tmp 85 sound/pci/ice1712/ak4xxx.c snd_ice1712_gpio_write(ice, tmp); tmp 88 sound/pci/ice1712/ak4xxx.c tmp |= priv->clk_mask; tmp 89 sound/pci/ice1712/ak4xxx.c snd_ice1712_gpio_write(ice, tmp); tmp 96 sound/pci/ice1712/ak4xxx.c tmp &= ~priv->cs_mask; tmp 97 sound/pci/ice1712/ak4xxx.c snd_ice1712_gpio_write(ice, tmp); tmp 100 sound/pci/ice1712/ak4xxx.c tmp |= priv->cs_mask; /* chip select high to trigger */ tmp 102 sound/pci/ice1712/ak4xxx.c tmp &= ~priv->cs_mask; tmp 103 sound/pci/ice1712/ak4xxx.c tmp |= priv->cs_none; /* deselect address */ tmp 105 sound/pci/ice1712/ak4xxx.c snd_ice1712_gpio_write(ice, tmp); tmp 100 sound/pci/ice1712/aureon.c unsigned int tmp; tmp 105 sound/pci/ice1712/aureon.c tmp = snd_ice1712_gpio_read(ice); tmp 110 sound/pci/ice1712/aureon.c tmp |= AUREON_WM_RW; tmp 111 sound/pci/ice1712/aureon.c tmp |= AUREON_CS8415_CS | AUREON_WM_CS; /* disable SPI devices */ tmp 113 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_MOSI; tmp 114 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_CLK; tmp 115 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 122 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_CLK; tmp 123 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 125 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_MOSI; tmp 126 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 128 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_MOSI; tmp 129 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 131 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_CLK; tmp 132 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 151 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_CLK; tmp 152 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 155 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_MOSI; tmp 157 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_MOSI; tmp 158 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 160 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_CLK; tmp 161 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 164 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_CLK; tmp 165 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 167 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_CLK; tmp 168 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 170 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_CLK; tmp 171 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 174 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_CLK; tmp 175 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 177 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_MOSI; tmp 178 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 180 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_CLK; tmp 181 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 183 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_MOSI; tmp 184 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 233 sound/pci/ice1712/aureon.c unsigned int tmp; tmp 236 sound/pci/ice1712/aureon.c tmp = (snd_ice1712_gpio_read(ice) & ~0xFF) | (reg & 0x7F); tmp 237 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 239 sound/pci/ice1712/aureon.c tmp |= AUREON_AC97_ADDR; tmp 240 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 242 sound/pci/ice1712/aureon.c tmp &= ~AUREON_AC97_ADDR; tmp 243 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 247 sound/pci/ice1712/aureon.c tmp &= ~AUREON_AC97_DATA_MASK; tmp 248 sound/pci/ice1712/aureon.c tmp |= val & AUREON_AC97_DATA_MASK; tmp 249 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 251 sound/pci/ice1712/aureon.c tmp |= AUREON_AC97_DATA_LOW; tmp 252 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 254 sound/pci/ice1712/aureon.c tmp &= ~AUREON_AC97_DATA_LOW; tmp 255 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 259 sound/pci/ice1712/aureon.c tmp &= ~AUREON_AC97_DATA_MASK; tmp 260 sound/pci/ice1712/aureon.c tmp |= (val >> 8) & AUREON_AC97_DATA_MASK; tmp 262 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 264 sound/pci/ice1712/aureon.c tmp |= AUREON_AC97_DATA_HIGH; tmp 265 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 267 sound/pci/ice1712/aureon.c tmp &= ~AUREON_AC97_DATA_HIGH; tmp 268 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 272 sound/pci/ice1712/aureon.c tmp |= AUREON_AC97_COMMIT; tmp 273 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 275 sound/pci/ice1712/aureon.c tmp &= ~AUREON_AC97_COMMIT; tmp 276 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 317 sound/pci/ice1712/aureon.c unsigned int tmp; tmp 320 sound/pci/ice1712/aureon.c tmp = (snd_ice1712_gpio_read(ice) | AUREON_AC97_RESET) & ~AUREON_AC97_DATA_MASK; tmp 321 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 324 sound/pci/ice1712/aureon.c tmp &= ~AUREON_AC97_RESET; tmp 325 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 328 sound/pci/ice1712/aureon.c tmp |= AUREON_AC97_RESET; tmp 329 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 475 sound/pci/ice1712/aureon.c unsigned int tmp; tmp 479 sound/pci/ice1712/aureon.c tmp = snd_ice1712_gpio_read(ice); tmp 492 sound/pci/ice1712/aureon.c tmp |= AUREON_WM_RW; tmp 495 sound/pci/ice1712/aureon.c tmp &= ~cs; tmp 496 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 500 sound/pci/ice1712/aureon.c tmp &= ~clk; tmp 501 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 504 sound/pci/ice1712/aureon.c tmp |= mosi; tmp 506 sound/pci/ice1712/aureon.c tmp &= ~mosi; tmp 507 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 509 sound/pci/ice1712/aureon.c tmp |= clk; tmp 510 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 514 sound/pci/ice1712/aureon.c tmp &= ~clk; tmp 515 sound/pci/ice1712/aureon.c tmp |= cs; tmp 516 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 518 sound/pci/ice1712/aureon.c tmp |= clk; tmp 519 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 530 sound/pci/ice1712/aureon.c unsigned int tmp; tmp 532 sound/pci/ice1712/aureon.c tmp = (snd_ice1712_gpio_read(ice) & ~AUREON_SPI_CLK) | AUREON_CS8415_CS|AUREON_WM_CS; tmp 533 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 534 sound/pci/ice1712/aureon.c tmp &= ~cs; tmp 535 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 540 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_MOSI; tmp 542 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_MOSI; tmp 543 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 546 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_CLK; tmp 547 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 550 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_CLK; tmp 551 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 558 sound/pci/ice1712/aureon.c tmp = snd_ice1712_gpio_read(ice); tmp 560 sound/pci/ice1712/aureon.c outdata |= (tmp & AUREON_SPI_MISO) ? 1 : 0; tmp 563 sound/pci/ice1712/aureon.c tmp |= AUREON_SPI_CLK; tmp 564 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 567 sound/pci/ice1712/aureon.c tmp &= ~AUREON_SPI_CLK; tmp 568 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 574 sound/pci/ice1712/aureon.c tmp |= cs; tmp 575 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 1276 sound/pci/ice1712/aureon.c unsigned int tmp, tmp2; tmp 1278 sound/pci/ice1712/aureon.c tmp2 = tmp = snd_ice1712_gpio_read(ice); tmp 1282 sound/pci/ice1712/aureon.c tmp |= AUREON_HP_SEL; tmp 1284 sound/pci/ice1712/aureon.c tmp |= PRODIGY_HP_SEL; tmp 1288 sound/pci/ice1712/aureon.c tmp &= ~AUREON_HP_SEL; tmp 1290 sound/pci/ice1712/aureon.c tmp &= ~PRODIGY_HP_SEL; tmp 1291 sound/pci/ice1712/aureon.c if (tmp != tmp2) { tmp 1292 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 1300 sound/pci/ice1712/aureon.c unsigned int tmp = snd_ice1712_gpio_read(ice); tmp 1302 sound/pci/ice1712/aureon.c return (tmp & AUREON_HP_SEL) != 0; tmp 2008 sound/pci/ice1712/aureon.c unsigned int tmp; tmp 2023 sound/pci/ice1712/aureon.c tmp = snd_ice1712_gpio_read(ice); tmp 2024 sound/pci/ice1712/aureon.c tmp &= ~AUREON_WM_RESET; tmp 2025 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 2027 sound/pci/ice1712/aureon.c tmp |= AUREON_WM_CS | AUREON_CS8415_CS; tmp 2028 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 2030 sound/pci/ice1712/aureon.c tmp |= AUREON_WM_RESET; tmp 2031 sound/pci/ice1712/aureon.c snd_ice1712_gpio_write(ice, tmp); tmp 33 sound/pci/ice1712/delta.c static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) tmp 38 sound/pci/ice1712/delta.c tmp &= ~(ICE1712_DELTA_AP_DOUT|ICE1712_DELTA_AP_CCLK); tmp 40 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_AP_DOUT; tmp 41 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 43 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_AP_CCLK; tmp 44 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 50 sound/pci/ice1712/delta.c static unsigned char ap_cs8427_read_byte(struct snd_ice1712 *ice, unsigned char tmp) tmp 56 sound/pci/ice1712/delta.c tmp &= ~ICE1712_DELTA_AP_CCLK; tmp 57 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 61 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_AP_CCLK; tmp 62 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 71 sound/pci/ice1712/delta.c unsigned char tmp; tmp 72 sound/pci/ice1712/delta.c tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); tmp 76 sound/pci/ice1712/delta.c tmp &= ~ICE1712_DELTA_1010LT_CS; tmp 77 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_1010LT_CCLK | ICE1712_DELTA_1010LT_CS_CS8427; tmp 81 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_AP_CCLK | ICE1712_DELTA_AP_CS_CODEC; tmp 82 sound/pci/ice1712/delta.c tmp &= ~ICE1712_DELTA_AP_CS_DIGITAL; tmp 85 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_66E_CCLK | ICE1712_DELTA_66E_CS_CHIP_A | tmp 87 sound/pci/ice1712/delta.c tmp &= ~ICE1712_DELTA_66E_CS_CS8427; tmp 90 sound/pci/ice1712/delta.c tmp |= ICE1712_VX442_CCLK | ICE1712_VX442_CODEC_CHIP_A | ICE1712_VX442_CODEC_CHIP_B; tmp 91 sound/pci/ice1712/delta.c tmp &= ~ICE1712_VX442_CS_DIGITAL; tmp 94 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 96 sound/pci/ice1712/delta.c return tmp; tmp 100 sound/pci/ice1712/delta.c static void ap_cs8427_codec_deassert(struct snd_ice1712 *ice, unsigned char tmp) tmp 105 sound/pci/ice1712/delta.c tmp &= ~ICE1712_DELTA_1010LT_CS; tmp 106 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_1010LT_CS_NONE; tmp 110 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_AP_CS_DIGITAL; tmp 113 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_66E_CS_CS8427; tmp 116 sound/pci/ice1712/delta.c tmp |= ICE1712_VX442_CS_DIGITAL; tmp 119 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 127 sound/pci/ice1712/delta.c unsigned char tmp; tmp 130 sound/pci/ice1712/delta.c tmp = ap_cs8427_codec_select(ice); tmp 131 sound/pci/ice1712/delta.c ap_cs8427_write_byte(ice, (device->addr << 1) | 0, tmp); /* address + write mode */ tmp 133 sound/pci/ice1712/delta.c ap_cs8427_write_byte(ice, *bytes++, tmp); tmp 134 sound/pci/ice1712/delta.c ap_cs8427_codec_deassert(ice, tmp); tmp 144 sound/pci/ice1712/delta.c unsigned char tmp; tmp 147 sound/pci/ice1712/delta.c tmp = ap_cs8427_codec_select(ice); tmp 148 sound/pci/ice1712/delta.c ap_cs8427_write_byte(ice, (device->addr << 1) | 1, tmp); /* address + read mode */ tmp 150 sound/pci/ice1712/delta.c *bytes++ = ap_cs8427_read_byte(ice, tmp); tmp 151 sound/pci/ice1712/delta.c ap_cs8427_codec_deassert(ice, tmp); tmp 174 sound/pci/ice1712/delta.c unsigned char tmp, mask1, mask2; tmp 180 sound/pci/ice1712/delta.c tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); tmp 182 sound/pci/ice1712/delta.c tmp &= ~(mask1 | mask2); tmp 184 sound/pci/ice1712/delta.c tmp |= mask2; tmp 185 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 187 sound/pci/ice1712/delta.c tmp |= mask1; tmp 188 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 191 sound/pci/ice1712/delta.c tmp &= ~mask1; tmp 192 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 304 sound/pci/ice1712/delta.c unsigned char tmp, tmp2; tmp 310 sound/pci/ice1712/delta.c tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); tmp 311 sound/pci/ice1712/delta.c tmp2 = tmp & ~ICE1712_DELTA_DFS; tmp 314 sound/pci/ice1712/delta.c if (tmp != tmp2) tmp 324 sound/pci/ice1712/delta.c unsigned char tmp, tmp2; tmp 332 sound/pci/ice1712/delta.c tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); tmp 334 sound/pci/ice1712/delta.c tmp2 = tmp & ~ICE1712_DELTA_DFS; tmp 337 sound/pci/ice1712/delta.c if (tmp == tmp2) tmp 343 sound/pci/ice1712/delta.c tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & ~ICE1712_DELTA_DFS; tmp 345 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_DFS; tmp 346 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 383 sound/pci/ice1712/delta.c unsigned int tmp; tmp 387 sound/pci/ice1712/delta.c tmp = ice->spdif.cs8403_stream_bits; tmp 388 sound/pci/ice1712/delta.c if (tmp & 0x01) /* consumer */ tmp 389 sound/pci/ice1712/delta.c tmp &= (tmp & 0x01) ? ~0x06 : ~0x18; tmp 391 sound/pci/ice1712/delta.c case 32000: tmp |= (tmp & 0x01) ? 0x04 : 0x00; break; tmp 392 sound/pci/ice1712/delta.c case 44100: tmp |= (tmp & 0x01) ? 0x00 : 0x10; break; tmp 393 sound/pci/ice1712/delta.c case 48000: tmp |= (tmp & 0x01) ? 0x02 : 0x08; break; tmp 394 sound/pci/ice1712/delta.c default: tmp |= (tmp & 0x01) ? 0x00 : 0x18; break; tmp 396 sound/pci/ice1712/delta.c change = ice->spdif.cs8403_stream_bits != tmp; tmp 397 sound/pci/ice1712/delta.c ice->spdif.cs8403_stream_bits = tmp; tmp 401 sound/pci/ice1712/delta.c snd_ice1712_delta_cs8403_spdif_write(ice, tmp); tmp 618 sound/pci/ice1712/delta.c unsigned char tmp; tmp 666 sound/pci/ice1712/delta.c tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); tmp 667 sound/pci/ice1712/delta.c tmp |= ICE1712_DELTA_AP_CCLK; tmp 668 sound/pci/ice1712/delta.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 45 sound/pci/ice1712/ews.c unsigned char tmp = 0; tmp 47 sound/pci/ice1712/ews.c tmp |= ICE1712_EWX2496_SERIAL_CLOCK; tmp 49 sound/pci/ice1712/ews.c tmp |= ICE1712_EWX2496_SERIAL_DATA; tmp 50 sound/pci/ice1712/ews.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); tmp 161 sound/pci/ice1712/ews.c unsigned char tmp; tmp 166 sound/pci/ice1712/ews.c tmp = ICE1712_EWS88_SERIAL_DATA | tmp 170 sound/pci/ice1712/ews.c ice->gpio.direction | tmp); tmp 171 sound/pci/ice1712/ews.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~tmp); tmp 187 sound/pci/ice1712/ews.c unsigned char tmp; tmp 189 sound/pci/ice1712/ews.c tmp = ICE1712_EWX2496_SERIAL_DATA | tmp 194 sound/pci/ice1712/ews.c ice->gpio.direction | tmp); tmp 195 sound/pci/ice1712/ews.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~tmp); tmp 203 sound/pci/ice1712/ews.c unsigned char tmp; tmp 205 sound/pci/ice1712/ews.c tmp = priv->cs_mask = priv->cs_addr = (1 << chip) & ICE1712_6FIRE_AK4524_CS_MASK; tmp 206 sound/pci/ice1712/ews.c tmp |= ICE1712_6FIRE_SERIAL_DATA | tmp 210 sound/pci/ice1712/ews.c ice->gpio.direction | tmp); tmp 211 sound/pci/ice1712/ews.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~tmp); tmp 309 sound/pci/ice1712/ews.c unsigned char tmp; tmp 313 sound/pci/ice1712/ews.c tmp = ice->spdif.cs8403_stream_bits; tmp 314 sound/pci/ice1712/ews.c if (tmp & 0x10) /* consumer */ tmp 315 sound/pci/ice1712/ews.c tmp &= (tmp & 0x01) ? ~0x06 : ~0x60; tmp 317 sound/pci/ice1712/ews.c case 32000: tmp |= (tmp & 0x01) ? 0x02 : 0x00; break; tmp 318 sound/pci/ice1712/ews.c case 44100: tmp |= (tmp & 0x01) ? 0x06 : 0x40; break; tmp 319 sound/pci/ice1712/ews.c case 48000: tmp |= (tmp & 0x01) ? 0x04 : 0x20; break; tmp 320 sound/pci/ice1712/ews.c default: tmp |= (tmp & 0x01) ? 0x06 : 0x40; break; tmp 322 sound/pci/ice1712/ews.c change = ice->spdif.cs8403_stream_bits != tmp; tmp 323 sound/pci/ice1712/ews.c ice->spdif.cs8403_stream_bits = tmp; tmp 327 sound/pci/ice1712/ews.c snd_ice1712_ews_cs8404_spdif_write(ice, tmp); tmp 265 sound/pci/ice1712/hoontech.c unsigned char tmp; tmp 267 sound/pci/ice1712/hoontech.c tmp = ICE1712_STDSP24_SERIAL_DATA | tmp 271 sound/pci/ice1712/hoontech.c ice->gpio.direction | tmp); tmp 272 sound/pci/ice1712/hoontech.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_WRITE_MASK, ~tmp); tmp 506 sound/pci/ice1712/ice1712.c u32 tmp; tmp 509 sound/pci/ice1712/ice1712.c tmp = snd_ice1712_read(ice, ICE1712_IREG_PBK_CTRL); tmp 511 sound/pci/ice1712/ice1712.c tmp |= 1; tmp 513 sound/pci/ice1712/ice1712.c tmp &= ~1; tmp 515 sound/pci/ice1712/ice1712.c tmp |= 2; tmp 517 sound/pci/ice1712/ice1712.c tmp &= ~2; tmp 521 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_PBK_CTRL, tmp); tmp 531 sound/pci/ice1712/ice1712.c u32 tmp; tmp 534 sound/pci/ice1712/ice1712.c tmp = snd_ice1712_ds_read(ice, substream->number * 2, ICE1712_DSC_CONTROL); tmp 536 sound/pci/ice1712/ice1712.c tmp |= 1; tmp 538 sound/pci/ice1712/ice1712.c tmp &= ~1; tmp 540 sound/pci/ice1712/ice1712.c tmp |= 2; tmp 542 sound/pci/ice1712/ice1712.c tmp &= ~2; tmp 546 sound/pci/ice1712/ice1712.c snd_ice1712_ds_write(ice, substream->number * 2, ICE1712_DSC_CONTROL, tmp); tmp 556 sound/pci/ice1712/ice1712.c u8 tmp; tmp 559 sound/pci/ice1712/ice1712.c tmp = snd_ice1712_read(ice, ICE1712_IREG_CAP_CTRL); tmp 561 sound/pci/ice1712/ice1712.c tmp |= 1; tmp 563 sound/pci/ice1712/ice1712.c tmp &= ~1; tmp 567 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_CAP_CTRL, tmp); tmp 576 sound/pci/ice1712/ice1712.c u32 period_size, buf_size, rate, tmp; tmp 580 sound/pci/ice1712/ice1712.c tmp = 0x0000; tmp 582 sound/pci/ice1712/ice1712.c tmp |= 0x10; tmp 584 sound/pci/ice1712/ice1712.c tmp |= 0x08; tmp 596 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_PBK_CTRL, tmp); tmp 609 sound/pci/ice1712/ice1712.c u32 period_size, rate, tmp, chn; tmp 612 sound/pci/ice1712/ice1712.c tmp = 0x0064; tmp 614 sound/pci/ice1712/ice1712.c tmp &= ~0x04; tmp 616 sound/pci/ice1712/ice1712.c tmp |= 0x08; tmp 630 sound/pci/ice1712/ice1712.c snd_ice1712_ds_write(ice, chn, ICE1712_DSC_CONTROL, tmp); tmp 644 sound/pci/ice1712/ice1712.c u8 tmp; tmp 648 sound/pci/ice1712/ice1712.c tmp = 0x06; tmp 650 sound/pci/ice1712/ice1712.c tmp &= ~0x04; tmp 652 sound/pci/ice1712/ice1712.c tmp &= ~0x02; tmp 658 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_CAP_CTRL, tmp); tmp 783 sound/pci/ice1712/ice1712.c u32 tmp; tmp 788 sound/pci/ice1712/ice1712.c tmp = inw(ICEDS(ice, INTMASK)) & ~(1 << (substream->number * 2)); tmp 789 sound/pci/ice1712/ice1712.c outw(tmp, ICEDS(ice, INTMASK)); tmp 818 sound/pci/ice1712/ice1712.c u32 tmp; tmp 821 sound/pci/ice1712/ice1712.c tmp = inw(ICEDS(ice, INTMASK)) | (3 << (substream->number * 2)); tmp 822 sound/pci/ice1712/ice1712.c outw(tmp, ICEDS(ice, INTMASK)); tmp 1445 sound/pci/ice1712/ice1712.c struct snd_kcontrol_new tmp = snd_ice1712_multi_capture_analog_switch; tmp 1446 sound/pci/ice1712/ice1712.c tmp.count = ice->num_total_adcs; tmp 1447 sound/pci/ice1712/ice1712.c err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); tmp 1457 sound/pci/ice1712/ice1712.c struct snd_kcontrol_new tmp = snd_ice1712_multi_capture_analog_volume; tmp 1458 sound/pci/ice1712/ice1712.c tmp.count = ice->num_total_adcs; tmp 1459 sound/pci/ice1712/ice1712.c err = snd_ctl_add(card, snd_ctl_new1(&tmp, ice)); tmp 2451 sound/pci/ice1712/ice1712.c struct snd_kcontrol_new tmp = snd_ice1712_mixer_pro_analog_route; tmp 2452 sound/pci/ice1712/ice1712.c tmp.count = ice->num_total_dacs; tmp 2453 sound/pci/ice1712/ice1712.c err = snd_ctl_add(ice->card, snd_ctl_new1(&tmp, ice)); tmp 2475 sound/pci/ice1712/ice1724.c struct snd_kcontrol_new tmp = snd_vt1724_mixer_pro_analog_route; tmp 2476 sound/pci/ice1712/ice1724.c tmp.count = ice->num_total_dacs; tmp 2477 sound/pci/ice1712/ice1724.c if (ice->vt1720 && tmp.count > 2) tmp 2478 sound/pci/ice1712/ice1724.c tmp.count = 2; tmp 2479 sound/pci/ice1712/ice1724.c err = snd_ctl_add(ice->card, snd_ctl_new1(&tmp, ice)); tmp 210 sound/pci/ice1712/juli.c unsigned char old, tmp, ak4358_dfs; tmp 245 sound/pci/ice1712/juli.c tmp = snd_akm4xxx_get(ak, 0, 2); tmp 247 sound/pci/ice1712/juli.c tmp = snd_akm4xxx_get(ak, 0, 2); tmp 248 sound/pci/ice1712/juli.c tmp &= ~(0x03 << 4); tmp 249 sound/pci/ice1712/juli.c tmp |= ak4358_dfs << 4; tmp 250 sound/pci/ice1712/juli.c snd_akm4xxx_set(ak, 0, 2, tmp); tmp 200 sound/pci/ice1712/phase.c unsigned int tmp; tmp 203 sound/pci/ice1712/phase.c tmp = snd_ice1712_gpio_read(ice); tmp 207 sound/pci/ice1712/phase.c tmp |= PHASE28_WM_RW; tmp 208 sound/pci/ice1712/phase.c tmp &= ~cs; tmp 209 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 213 sound/pci/ice1712/phase.c tmp &= ~PHASE28_SPI_CLK; tmp 214 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 217 sound/pci/ice1712/phase.c tmp |= PHASE28_SPI_MOSI; tmp 219 sound/pci/ice1712/phase.c tmp &= ~PHASE28_SPI_MOSI; tmp 220 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 222 sound/pci/ice1712/phase.c tmp |= PHASE28_SPI_CLK; tmp 223 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 227 sound/pci/ice1712/phase.c tmp &= ~PHASE28_SPI_CLK; tmp 228 sound/pci/ice1712/phase.c tmp |= cs; tmp 229 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 231 sound/pci/ice1712/phase.c tmp |= PHASE28_SPI_CLK; tmp 232 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 406 sound/pci/ice1712/phase.c unsigned int tmp; tmp 434 sound/pci/ice1712/phase.c tmp = snd_ice1712_gpio_read(ice); tmp 435 sound/pci/ice1712/phase.c tmp &= ~PHASE28_WM_RESET; tmp 436 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 438 sound/pci/ice1712/phase.c tmp |= PHASE28_WM_CS; tmp 439 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 441 sound/pci/ice1712/phase.c tmp |= PHASE28_WM_RESET; tmp 442 sound/pci/ice1712/phase.c snd_ice1712_gpio_write(ice, tmp); tmp 315 sound/pci/ice1712/pontis.c unsigned int tmp = snd_ice1712_gpio_read(ice); tmp 317 sound/pci/ice1712/pontis.c tmp |= bit; tmp 319 sound/pci/ice1712/pontis.c tmp &= ~bit; tmp 320 sound/pci/ice1712/pontis.c snd_ice1712_gpio_write(ice, tmp); tmp 162 sound/pci/ice1712/prodigy192.c unsigned char tmp, ovol, nvol; tmp 170 sound/pci/ice1712/prodigy192.c tmp = stac9460_get(ice, idx); tmp 171 sound/pci/ice1712/prodigy192.c ovol = 0x7f - (tmp & 0x7f); tmp 174 sound/pci/ice1712/prodigy192.c ovol = (0x7f - nvol) | (tmp & 0x80); tmp 179 sound/pci/ice1712/prodigy192.c stac9460_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); tmp 483 sound/pci/ice1712/prodigy192.c unsigned int tmp; tmp 486 sound/pci/ice1712/prodigy192.c tmp = snd_ice1712_gpio_read(ice); tmp 488 sound/pci/ice1712/prodigy192.c tmp |= VT1724_PRODIGY192_CCLK; /* high at init */ tmp 489 sound/pci/ice1712/prodigy192.c tmp &= ~VT1724_PRODIGY192_CS; /* drop chip select */ tmp 490 sound/pci/ice1712/prodigy192.c snd_ice1712_gpio_write(ice, tmp); tmp 492 sound/pci/ice1712/prodigy192.c return tmp; tmp 498 sound/pci/ice1712/prodigy192.c static void prodigy192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) tmp 500 sound/pci/ice1712/prodigy192.c tmp |= VT1724_PRODIGY192_CS; /* raise chip select */ tmp 501 sound/pci/ice1712/prodigy192.c snd_ice1712_gpio_write(ice, tmp); tmp 513 sound/pci/ice1712/prodigy192.c unsigned int tmp, addrdata; tmp 514 sound/pci/ice1712/prodigy192.c tmp = prodigy192_4wire_start(ice); tmp 517 sound/pci/ice1712/prodigy192.c write_data(ice, tmp, addrdata, 15); tmp 518 sound/pci/ice1712/prodigy192.c prodigy192_4wire_finish(ice, tmp); tmp 528 sound/pci/ice1712/prodigy192.c unsigned int tmp; tmp 531 sound/pci/ice1712/prodigy192.c tmp = prodigy192_4wire_start(ice); tmp 532 sound/pci/ice1712/prodigy192.c write_data(ice, tmp, (AK4114_ADDR << 6) | (addr & 0x1f), 7); tmp 533 sound/pci/ice1712/prodigy192.c data = read_data(ice, tmp, 7); tmp 534 sound/pci/ice1712/prodigy192.c prodigy192_4wire_finish(ice, tmp); tmp 144 sound/pci/ice1712/prodigy_hifi.c unsigned int tmp = snd_ice1712_gpio_read(ice); tmp 146 sound/pci/ice1712/prodigy_hifi.c tmp |= bit; tmp 148 sound/pci/ice1712/prodigy_hifi.c tmp &= ~bit; tmp 149 sound/pci/ice1712/prodigy_hifi.c snd_ice1712_gpio_write(ice, tmp); tmp 260 sound/pci/ice1712/quartet.c unsigned int tmp, orig_dir; tmp 274 sound/pci/ice1712/quartet.c tmp = ice->gpio.get_data(ice); tmp 276 sound/pci/ice1712/quartet.c tmp |= GPIO_SPI_ALL; tmp 277 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 282 sound/pci/ice1712/quartet.c tmp &= ~GPIO_SPI_CSN1; tmp 284 sound/pci/ice1712/quartet.c tmp &= ~GPIO_SPI_CSN0; tmp 285 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 293 sound/pci/ice1712/quartet.c tmp &= ~GPIO_D5_SPI_CCLK; tmp 294 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 298 sound/pci/ice1712/quartet.c tmp |= GPIO_D4_SPI_CDTO; tmp 300 sound/pci/ice1712/quartet.c tmp &= ~GPIO_D4_SPI_CDTO; tmp 301 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 304 sound/pci/ice1712/quartet.c tmp |= GPIO_D5_SPI_CCLK; tmp 305 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 309 sound/pci/ice1712/quartet.c tmp |= GPIO_SPI_ALL; tmp 310 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 322 sound/pci/ice1712/quartet.c unsigned char tmp; tmp 325 sound/pci/ice1712/quartet.c tmp = snd_akm4xxx_get(ak, chip, addr); tmp 327 sound/pci/ice1712/quartet.c tmp &= ~mask; tmp 329 sound/pci/ice1712/quartet.c tmp |= value; tmp 330 sound/pci/ice1712/quartet.c snd_akm4xxx_write(ak, chip, addr, tmp); tmp 397 sound/pci/ice1712/quartet.c unsigned int tmp; tmp 402 sound/pci/ice1712/quartet.c tmp = 0x00ffff; tmp 403 sound/pci/ice1712/quartet.c ice->gpio.set_dir(ice, tmp); tmp 405 sound/pci/ice1712/quartet.c ice->gpio.set_mask(ice, ~(tmp)); tmp 407 sound/pci/ice1712/quartet.c tmp = ice->gpio.get_data(ice); tmp 408 sound/pci/ice1712/quartet.c tmp &= ~GPIO_DATA_MASK; tmp 409 sound/pci/ice1712/quartet.c tmp |= data; tmp 410 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 413 sound/pci/ice1712/quartet.c tmp &= ~GPIO_EX_GPIOE; tmp 414 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 417 sound/pci/ice1712/quartet.c tmp &= ~reg; tmp 418 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 421 sound/pci/ice1712/quartet.c tmp |= reg; tmp 422 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 426 sound/pci/ice1712/quartet.c tmp |= GPIO_DATA_MASK; tmp 427 sound/pci/ice1712/quartet.c ice->gpio.set_data(ice, tmp); tmp 568 sound/pci/ice1712/quartet.c unsigned int old, new, tmp, masked_old; tmp 571 sound/pci/ice1712/quartet.c tmp = ucontrol->value.integer.value[0]; tmp 572 sound/pci/ice1712/quartet.c if (tmp == 2) tmp 573 sound/pci/ice1712/quartet.c tmp = 3; /* binary 10 is not supported */ tmp 574 sound/pci/ice1712/quartet.c tmp <<= 4; /* shifting to SCR_AIN12_SEL0 */ tmp 575 sound/pci/ice1712/quartet.c if (tmp != masked_old) { tmp 577 sound/pci/ice1712/quartet.c switch (tmp) { tmp 41 sound/pci/ice1712/revo.c unsigned char old, tmp, dfs; tmp 62 sound/pci/ice1712/revo.c tmp = snd_akm4xxx_get(ak, 0, reg); tmp 63 sound/pci/ice1712/revo.c old = (tmp >> shift) & 0x03; tmp 69 sound/pci/ice1712/revo.c tmp = snd_akm4xxx_get(ak, 0, reg); tmp 70 sound/pci/ice1712/revo.c tmp &= ~(0x03 << shift); tmp 71 sound/pci/ice1712/revo.c tmp |= dfs << shift; tmp 73 sound/pci/ice1712/revo.c snd_akm4xxx_set(ak, 0, reg, tmp); /* value is written in reset(0) */ tmp 410 sound/pci/ice1712/revo.c unsigned int tmp; tmp 413 sound/pci/ice1712/revo.c tmp = snd_ice1712_gpio_read(ice); tmp 414 sound/pci/ice1712/revo.c tmp |= VT1724_REVO_CCLK; /* high at init */ tmp 415 sound/pci/ice1712/revo.c tmp |= VT1724_REVO_CS0; tmp 416 sound/pci/ice1712/revo.c tmp &= ~VT1724_REVO_CS3; tmp 417 sound/pci/ice1712/revo.c snd_ice1712_gpio_write(ice, tmp); tmp 419 sound/pci/ice1712/revo.c return tmp; tmp 422 sound/pci/ice1712/revo.c static void ap192_4wire_finish(struct snd_ice1712 *ice, unsigned int tmp) tmp 424 sound/pci/ice1712/revo.c tmp |= VT1724_REVO_CS3; tmp 425 sound/pci/ice1712/revo.c tmp |= VT1724_REVO_CS0; tmp 426 sound/pci/ice1712/revo.c snd_ice1712_gpio_write(ice, tmp); tmp 435 sound/pci/ice1712/revo.c unsigned int tmp, addrdata; tmp 437 sound/pci/ice1712/revo.c tmp = ap192_4wire_start(ice); tmp 440 sound/pci/ice1712/revo.c write_data(ice, tmp, addrdata, 15); tmp 441 sound/pci/ice1712/revo.c ap192_4wire_finish(ice, tmp); tmp 447 sound/pci/ice1712/revo.c unsigned int tmp; tmp 450 sound/pci/ice1712/revo.c tmp = ap192_4wire_start(ice); tmp 451 sound/pci/ice1712/revo.c write_data(ice, tmp, (AK4114_ADDR << 6) | (addr & 0x1f), 7); tmp 452 sound/pci/ice1712/revo.c data = read_data(ice, tmp, 7); tmp 453 sound/pci/ice1712/revo.c ap192_4wire_finish(ice, tmp); tmp 218 sound/pci/ice1712/wtm.c unsigned char tmp, ovol, nvol; tmp 224 sound/pci/ice1712/wtm.c tmp = stac9460_get(ice, idx); tmp 225 sound/pci/ice1712/wtm.c ovol = 0x7f - (tmp & 0x7f); tmp 228 sound/pci/ice1712/wtm.c stac9460_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); tmp 229 sound/pci/ice1712/wtm.c stac9460_2_put(ice, idx, (0x7f - nvol) | (tmp & 0x80)); tmp 236 sound/pci/ice1712/wtm.c tmp = stac9460_get(ice, idx); tmp 238 sound/pci/ice1712/wtm.c tmp = stac9460_2_get(ice, idx - 6); tmp 239 sound/pci/ice1712/wtm.c ovol = 0x7f - (tmp & 0x7f); tmp 244 sound/pci/ice1712/wtm.c (tmp & 0x80)); tmp 247 sound/pci/ice1712/wtm.c (tmp & 0x80)); tmp 553 sound/pci/intel8x0.c unsigned int tmp; tmp 563 sound/pci/intel8x0.c if ((tmp = igetdword(chip, ICHREG(GLOB_STA))) & ICH_RCS) { tmp 565 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_STA), tmp & tmp 580 sound/pci/intel8x0.c unsigned int tmp; tmp 584 sound/pci/intel8x0.c if ((tmp = igetdword(chip, ICHREG(GLOB_STA))) & ICH_RCS) { tmp 586 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_STA), tmp & tmp 2274 sound/pci/intel8x0.c u8 tmp = igetbyte(chip, ICHREG(SDM)); tmp 2275 sound/pci/intel8x0.c tmp &= ~(ICH_DI2L_MASK|ICH_DI1L_MASK); tmp 2277 sound/pci/intel8x0.c tmp |= ICH_SE; /* steer enable for multiple SDINs */ tmp 2278 sound/pci/intel8x0.c tmp |= chip->ac97_sdin[0] << ICH_DI1L_SHIFT; tmp 2281 sound/pci/intel8x0.c tmp |= chip->ac97_sdin[pcm->r[0].codec[1]->num] << ICH_DI2L_SHIFT; tmp 2286 sound/pci/intel8x0.c tmp &= ~ICH_SE; /* steer disable */ tmp 2288 sound/pci/intel8x0.c iputbyte(chip, ICHREG(SDM), tmp); tmp 2819 sound/pci/intel8x0.c unsigned int tmp; tmp 2824 sound/pci/intel8x0.c tmp = igetdword(chip, ICHREG(GLOB_STA)); tmp 2826 sound/pci/intel8x0.c snd_iprintf(buffer, "Global status : 0x%08x\n", tmp); tmp 2830 sound/pci/intel8x0.c if (tmp & chip->codec_isr_bits) { tmp 2836 sound/pci/intel8x0.c if (tmp & chip->codec_bit[i]) tmp 350 sound/pci/intel8x0m.c unsigned int tmp; tmp 360 sound/pci/intel8x0m.c if ((tmp = igetdword(chip, ICHREG(GLOB_STA))) & ICH_RCS) { tmp 363 sound/pci/intel8x0m.c tmp & ~(ICH_SRI|ICH_PRI|ICH_TRI|ICH_GSCI)); tmp 1054 sound/pci/intel8x0m.c unsigned int tmp; tmp 1059 sound/pci/intel8x0m.c tmp = igetdword(chip, ICHREG(GLOB_STA)); tmp 1062 sound/pci/intel8x0m.c snd_iprintf(buffer, "Global status : 0x%08x\n", tmp); tmp 1064 sound/pci/intel8x0m.c tmp & ICH_PCR ? " primary" : "", tmp 1065 sound/pci/intel8x0m.c tmp & ICH_SCR ? " secondary" : "", tmp 1066 sound/pci/intel8x0m.c tmp & ICH_TCR ? " tertiary" : "", tmp 1067 sound/pci/intel8x0m.c (tmp & (ICH_PCR | ICH_SCR | ICH_TCR)) == 0 ? " none" : ""); tmp 209 sound/pci/lola/lola.c unsigned int tmp; tmp 210 sound/pci/lola/lola.c return rirb_get_response(chip, &tmp, NULL); tmp 349 sound/pci/lola/lola.c unsigned char tmp; tmp 387 sound/pci/lola/lola.c tmp = lola_readb(chip, BAR0, CORBSTS) & LOLA_CORB_INT_MASK; tmp 388 sound/pci/lola/lola.c if (tmp) tmp 389 sound/pci/lola/lola.c lola_writeb(chip, BAR0, CORBSTS, tmp); tmp 404 sound/pci/lola/lola.c tmp = lola_readb(chip, BAR0, RIRBSTS) & LOLA_RIRB_INT_MASK; tmp 405 sound/pci/lola/lola.c if (tmp) tmp 406 sound/pci/lola/lola.c lola_writeb(chip, BAR0, RIRBSTS, tmp); tmp 1933 sound/pci/maestro3.c u16 tmp; tmp 1937 sound/pci/maestro3.c tmp = inw(io + RING_BUS_CTRL_B) & ~SECOND_CODEC_ID_MASK; tmp 1941 sound/pci/maestro3.c tmp |= M3I_DOCK_ENABLE; tmp 1942 sound/pci/maestro3.c outw(tmp | isremote, io + RING_BUS_CTRL_B); tmp 2029 sound/pci/maestro3.c tmp = inw(io + RING_BUS_CTRL_A); tmp 2032 sound/pci/maestro3.c outw(tmp, io + RING_BUS_CTRL_A); tmp 58 sound/pci/oxygen/oxygen_io.c u8 tmp = inb(chip->addr + reg); tmp 59 sound/pci/oxygen/oxygen_io.c tmp &= ~mask; tmp 60 sound/pci/oxygen/oxygen_io.c tmp |= value & mask; tmp 61 sound/pci/oxygen/oxygen_io.c outb(tmp, chip->addr + reg); tmp 62 sound/pci/oxygen/oxygen_io.c chip->saved_registers._8[reg] = tmp; tmp 69 sound/pci/oxygen/oxygen_io.c u16 tmp = inw(chip->addr + reg); tmp 70 sound/pci/oxygen/oxygen_io.c tmp &= ~mask; tmp 71 sound/pci/oxygen/oxygen_io.c tmp |= value & mask; tmp 72 sound/pci/oxygen/oxygen_io.c outw(tmp, chip->addr + reg); tmp 73 sound/pci/oxygen/oxygen_io.c chip->saved_registers._16[reg / 2] = cpu_to_le16(tmp); tmp 80 sound/pci/oxygen/oxygen_io.c u32 tmp = inl(chip->addr + reg); tmp 81 sound/pci/oxygen/oxygen_io.c tmp &= ~mask; tmp 82 sound/pci/oxygen/oxygen_io.c tmp |= value & mask; tmp 83 sound/pci/oxygen/oxygen_io.c outl(tmp, chip->addr + reg); tmp 84 sound/pci/oxygen/oxygen_io.c chip->saved_registers._32[reg / 4] = cpu_to_le32(tmp); tmp 313 sound/pci/oxygen/oxygen_lib.c u32 tmp; tmp 325 sound/pci/oxygen/oxygen_lib.c pci_read_config_dword(bridge, 0x48, &tmp); tmp 326 sound/pci/oxygen/oxygen_lib.c tmp |= 1; /* enable blind prefetching */ tmp 327 sound/pci/oxygen/oxygen_lib.c tmp |= 1 << 11; /* enable beacon generation */ tmp 328 sound/pci/oxygen/oxygen_lib.c pci_write_config_dword(bridge, 0x48, tmp); tmp 331 sound/pci/oxygen/oxygen_lib.c pci_read_config_dword(bridge, 0x88, &tmp); tmp 332 sound/pci/oxygen/oxygen_lib.c tmp &= ~(7 << 27); tmp 333 sound/pci/oxygen/oxygen_lib.c tmp |= 2 << 27; /* set prefetch size to 128 bytes */ tmp 334 sound/pci/oxygen/oxygen_lib.c pci_write_config_dword(bridge, 0x88, tmp); tmp 338 sound/pci/oxygen/oxygen_lib.c pci_read_config_dword(bridge, 0x40, &tmp); tmp 339 sound/pci/oxygen/oxygen_lib.c tmp |= 1; /* park the PCI arbiter to the sound chip */ tmp 340 sound/pci/oxygen/oxygen_lib.c pci_write_config_dword(bridge, 0x40, tmp); tmp 344 sound/pci/oxygen/oxygen_lib.c pci_read_config_dword(bridge, 0xe8, &tmp); tmp 345 sound/pci/oxygen/oxygen_lib.c tmp &= ~0xf; /* request length limit: 64 bytes */ tmp 346 sound/pci/oxygen/oxygen_lib.c tmp &= ~(0xf << 8); tmp 347 sound/pci/oxygen/oxygen_lib.c tmp |= 1 << 8; /* request count limit: one buffer */ tmp 348 sound/pci/oxygen/oxygen_lib.c pci_write_config_dword(bridge, 0xe8, tmp); tmp 109 sound/pci/oxygen/xonar_dg_mixer.c unsigned int tmp; tmp 112 sound/pci/oxygen/xonar_dg_mixer.c tmp = (~data->cs4245_shadow[CS4245_DAC_A_CTRL]) & 255; tmp 113 sound/pci/oxygen/xonar_dg_mixer.c val->value.integer.value[0] = tmp; tmp 114 sound/pci/oxygen/xonar_dg_mixer.c tmp = (~data->cs4245_shadow[CS4245_DAC_B_CTRL]) & 255; tmp 115 sound/pci/oxygen/xonar_dg_mixer.c val->value.integer.value[1] = tmp; tmp 3641 sound/pci/rme9652/hdsp.c char *tmp; tmp 3645 sound/pci/rme9652/hdsp.c tmp = "-10 dBV"; tmp 3648 sound/pci/rme9652/hdsp.c tmp = "+4 dBu"; tmp 3651 sound/pci/rme9652/hdsp.c tmp = "Lo Gain"; tmp 3654 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "AD Gain : %s\n", tmp); tmp 3658 sound/pci/rme9652/hdsp.c tmp = "Hi Gain"; tmp 3661 sound/pci/rme9652/hdsp.c tmp = "+4 dBu"; tmp 3664 sound/pci/rme9652/hdsp.c tmp = "-10 dBV"; tmp 3667 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "DA Gain : %s\n", tmp); tmp 3671 sound/pci/rme9652/hdsp.c tmp = "0 dB"; tmp 3674 sound/pci/rme9652/hdsp.c tmp = "-6 dB"; tmp 3677 sound/pci/rme9652/hdsp.c tmp = "-12 dB"; tmp 3680 sound/pci/rme9652/hdsp.c snd_iprintf(buffer, "Phones Gain : %s\n", tmp); tmp 1132 sound/pci/sonicvibes.c unsigned char tmp; tmp 1134 sound/pci/sonicvibes.c tmp = sonic->srs_space & 0x0f; tmp 1138 sound/pci/sonicvibes.c tmp == 0x00 ? "100%" : tmp 1139 sound/pci/sonicvibes.c tmp == 0x01 ? "75%" : tmp 1140 sound/pci/sonicvibes.c tmp == 0x02 ? "50%" : tmp 1141 sound/pci/sonicvibes.c tmp == 0x03 ? "25%" : "0%"); tmp 1142 sound/pci/sonicvibes.c tmp = sonic->srs_center & 0x0f; tmp 1144 sound/pci/sonicvibes.c tmp == 0x00 ? "100%" : tmp 1145 sound/pci/sonicvibes.c tmp == 0x01 ? "75%" : tmp 1146 sound/pci/sonicvibes.c tmp == 0x02 ? "50%" : tmp 1147 sound/pci/sonicvibes.c tmp == 0x03 ? "25%" : "0%"); tmp 1148 sound/pci/sonicvibes.c tmp = sonic->wave_source & 0x03; tmp 1150 sound/pci/sonicvibes.c tmp == 0x00 ? "on-board ROM" : tmp 1151 sound/pci/sonicvibes.c tmp == 0x01 ? "PCI bus" : "on-board ROM + PCI bus"); tmp 1152 sound/pci/sonicvibes.c tmp = sonic->mpu_switch; tmp 1153 sound/pci/sonicvibes.c snd_iprintf(buffer, "Onboard synth : %s\n", tmp & 0x01 ? "on" : "off"); tmp 1154 sound/pci/sonicvibes.c snd_iprintf(buffer, "Ext. Rx to synth : %s\n", tmp & 0x02 ? "on" : "off"); tmp 1155 sound/pci/sonicvibes.c snd_iprintf(buffer, "MIDI to ext. Tx : %s\n", tmp & 0x04 ? "on" : "off"); tmp 55 sound/pci/trident/trident_main.c unsigned int val, tmp; tmp 78 sound/pci/trident/trident_main.c tmp = (val >> 24) & 0xff; tmp 81 sound/pci/trident/trident_main.c tmp |= (val >> 16) & 0xff00; tmp 82 sound/pci/trident/trident_main.c dev_dbg(trident->card->dev, "Delta: 0x%x\n", tmp); tmp 265 sound/pci/trident/trident_main.c unsigned int tmp; tmp 267 sound/pci/trident/trident_main.c tmp = inl(TRID_REG(trident, T4D_LFO_GC_CIR)); tmp 268 sound/pci/trident/trident_main.c tmp &= ~ENDLP_IE; tmp 269 sound/pci/trident/trident_main.c tmp &= ~MIDLP_IE; tmp 270 sound/pci/trident/trident_main.c outl(tmp, TRID_REG(trident, T4D_LFO_GC_CIR)); tmp 3706 sound/pci/trident/trident_main.c unsigned int audio_int, chn_int, stimer, channel, mask, tmp; tmp 3747 sound/pci/trident/trident_main.c tmp = inw(TRID_REG(trident, T4D_SBBL_SBCL)); tmp 3749 sound/pci/trident/trident_main.c tmp >>= 1; tmp 3750 sound/pci/trident/trident_main.c if (tmp > 0) tmp 3751 sound/pci/trident/trident_main.c tmp = voice->isync_max - tmp; tmp 3753 sound/pci/trident/trident_main.c tmp = inl(TRID_REG(trident, NX_SPCTRL_SPCSO)) & 0x00ffffff; tmp 3755 sound/pci/trident/trident_main.c if (tmp < voice->isync_mark) { tmp 3756 sound/pci/trident/trident_main.c if (tmp > 0x10) tmp 3757 sound/pci/trident/trident_main.c tmp = voice->isync_ESO - 7; tmp 3759 sound/pci/trident/trident_main.c tmp = voice->isync_ESO + 2; tmp 3762 sound/pci/trident/trident_main.c snd_trident_write_eso_reg(trident, voice, tmp); tmp 427 sound/pci/ymfpci/ymfpci_main.c u32 tmp; tmp 434 sound/pci/ymfpci/ymfpci_main.c tmp = snd_ymfpci_readl(chip, YDSXGR_MAPOFREC) | (1 << ypcm->capture_bank_number); tmp 435 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_writel(chip, YDSXGR_MAPOFREC, tmp); tmp 441 sound/pci/ymfpci/ymfpci_main.c tmp = snd_ymfpci_readl(chip, YDSXGR_MAPOFREC) & ~(1 << ypcm->capture_bank_number); tmp 442 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_writel(chip, YDSXGR_MAPOFREC, tmp); tmp 128 sound/pcmcia/pdaudiocf/pdaudiocf_core.c u16 tmp; tmp 131 sound/pcmcia/pdaudiocf/pdaudiocf_core.c tmp = pdacf_reg_read(chip, PDAUDIOCF_REG_SCR); tmp 132 sound/pcmcia/pdaudiocf/pdaudiocf_core.c snd_iprintf(buffer, "FPGA revision : 0x%x\n", PDAUDIOCF_FPGAREV(tmp)); tmp 39 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c unsigned short mask, val, tmp; tmp 69 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c tmp = pdacf_reg_read(chip, PDAUDIOCF_REG_SCR); tmp 77 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c tmp &= ~mask; tmp 78 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c tmp |= val; tmp 79 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, tmp); tmp 1701 sound/soc/codecs/cs43130.c int i, j = 0, tmp; tmp 1707 sound/soc/codecs/cs43130.c tmp = scnprintf(buf + j, PAGE_SIZE - j, "%u\n", tmp 1709 sound/soc/codecs/cs43130.c if (!tmp) tmp 1712 sound/soc/codecs/cs43130.c j += tmp; tmp 480 sound/soc/codecs/jz4725b.c u32 tmp; tmp 487 sound/soc/codecs/jz4725b.c tmp = readl(icdc->base + ICDC_RGADW_OFFSET); tmp 488 sound/soc/codecs/jz4725b.c tmp = (tmp & ~ICDC_RGADW_RGADDR_MASK) tmp 490 sound/soc/codecs/jz4725b.c writel(tmp, icdc->base + ICDC_RGADW_OFFSET); tmp 353 sound/soc/codecs/madera.c u32 tmp[MADERA_MAX_INPUT * MADERA_MAX_MUXED_CHANNELS]; tmp 360 sound/soc/codecs/madera.c tmp, ARRAY_SIZE(tmp), tmp 368 sound/soc/codecs/madera.c pdata->inmode[in_idx][ch_idx] = tmp[i]; tmp 1039 sound/soc/codecs/sta32x.c u16 tmp; tmp 1063 sound/soc/codecs/sta32x.c tmp = 140; tmp 1064 sound/soc/codecs/sta32x.c of_property_read_u16(np, "st,drop-compensation-ns", &tmp); tmp 1065 sound/soc/codecs/sta32x.c pdata->drop_compensation_ns = clamp_t(u16, tmp, 0, 300) / 20; tmp 1097 sound/soc/codecs/sta350.c u16 tmp; tmp 1136 sound/soc/codecs/sta350.c tmp = 140; tmp 1137 sound/soc/codecs/sta350.c of_property_read_u16(np, "st,drop-compensation-ns", &tmp); tmp 1138 sound/soc/codecs/sta350.c pdata->drop_compensation_ns = clamp_t(u16, tmp, 0, 300) / 20; tmp 348 sound/soc/codecs/wm8804.c unsigned long int K, Ndiv, Nmod, tmp; tmp 356 sound/soc/codecs/wm8804.c tmp = target * post_table[i].div; tmp 357 sound/soc/codecs/wm8804.c if ((tmp >= 90000000 && tmp <= 100000000) && tmp 654 sound/soc/codecs/wm8983.c u32 tmp; tmp 725 sound/soc/codecs/wm8983.c tmp = (wm8983->sysclk / fs_ratios[i].div) * 10; tmp 727 sound/soc/codecs/wm8983.c if (wm8983->bclk == tmp / bclk_divs[i]) tmp 754 sound/soc/codecs/wm8985.c unsigned int tmp; tmp 823 sound/soc/codecs/wm8985.c tmp = (wm8985->sysclk / fs_ratios[i].div) * 10; tmp 825 sound/soc/codecs/wm8985.c if (wm8985->bclk == tmp / bclk_divs[i]) tmp 643 sound/soc/codecs/wm_adsp.c char *tmp = kasprintf(GFP_KERNEL, "%s\n", s); tmp 646 sound/soc/codecs/wm_adsp.c dsp->wmfw_file_name = tmp; tmp 651 sound/soc/codecs/wm_adsp.c char *tmp = kasprintf(GFP_KERNEL, "%s\n", s); tmp 654 sound/soc/codecs/wm_adsp.c dsp->bin_file_name = tmp; tmp 1613 sound/soc/codecs/wm_adsp.c const u8 *tmp; tmp 1631 sound/soc/codecs/wm_adsp.c tmp = *data; tmp 1632 sound/soc/codecs/wm_adsp.c blk->offset = wm_coeff_parse_int(sizeof(raw->hdr.offset), &tmp); tmp 1633 sound/soc/codecs/wm_adsp.c blk->mem_type = wm_coeff_parse_int(sizeof(raw->hdr.type), &tmp); tmp 1634 sound/soc/codecs/wm_adsp.c length = wm_coeff_parse_int(sizeof(raw->hdr.size), &tmp); tmp 1635 sound/soc/codecs/wm_adsp.c blk->name_len = wm_coeff_parse_string(sizeof(u8), &tmp, tmp 1637 sound/soc/codecs/wm_adsp.c wm_coeff_parse_string(sizeof(u8), &tmp, NULL); tmp 1638 sound/soc/codecs/wm_adsp.c wm_coeff_parse_string(sizeof(u16), &tmp, NULL); tmp 1639 sound/soc/codecs/wm_adsp.c blk->ctl_type = wm_coeff_parse_int(sizeof(raw->ctl_type), &tmp); tmp 1640 sound/soc/codecs/wm_adsp.c blk->flags = wm_coeff_parse_int(sizeof(raw->flags), &tmp); tmp 1641 sound/soc/codecs/wm_adsp.c blk->len = wm_coeff_parse_int(sizeof(raw->len), &tmp); tmp 3341 sound/soc/codecs/wm_adsp.c struct wm_adsp_compr_buf *buf = NULL, *tmp; tmp 3346 sound/soc/codecs/wm_adsp.c list_for_each_entry(tmp, &compr->dsp->buffer_list, list) { tmp 3347 sound/soc/codecs/wm_adsp.c if (!tmp->name || !strcmp(compr->name, tmp->name)) { tmp 3348 sound/soc/codecs/wm_adsp.c buf = tmp; tmp 3379 sound/soc/codecs/wm_adsp.c struct wm_adsp_compr *compr, *tmp; tmp 3399 sound/soc/codecs/wm_adsp.c list_for_each_entry(tmp, &dsp->compr_list, list) { tmp 3400 sound/soc/codecs/wm_adsp.c if (!strcmp(tmp->name, rtd->codec_dai->name)) { tmp 3865 sound/soc/codecs/wm_adsp.c struct wm_adsp_compr_buf *buf, *tmp; tmp 3867 sound/soc/codecs/wm_adsp.c list_for_each_entry_safe(buf, tmp, &dsp->buffer_list, list) { tmp 864 sound/soc/fsl/fsl_asrc.c char tmp[16]; tmp 915 sound/soc/fsl/fsl_asrc.c sprintf(tmp, "asrck_%x", i); tmp 916 sound/soc/fsl/fsl_asrc.c asrc_priv->asrck_clk[i] = devm_clk_get(&pdev->dev, tmp); tmp 918 sound/soc/fsl/fsl_asrc.c dev_err(&pdev->dev, "failed to get %s clock\n", tmp); tmp 902 sound/soc/fsl/fsl_sai.c char tmp[8]; tmp 948 sound/soc/fsl/fsl_sai.c sprintf(tmp, "mclk%d", i); tmp 949 sound/soc/fsl/fsl_sai.c sai->mclk_clk[i] = devm_clk_get(&pdev->dev, tmp); tmp 1175 sound/soc/fsl/fsl_spdif.c char tmp[16]; tmp 1179 sound/soc/fsl/fsl_spdif.c sprintf(tmp, "rxtx%d", i); tmp 1180 sound/soc/fsl/fsl_spdif.c clk = devm_clk_get(&pdev->dev, tmp); tmp 46 sound/soc/intel/common/sst-firmware.c u32 tmp = 0; tmp 58 sound/soc/intel/common/sst-firmware.c tmp |= (u32)*(src_byte + m * 4 + i) << (i * 8); tmp 59 sound/soc/intel/common/sst-firmware.c __iowrite32_copy((void *)(dest + m * 4), &tmp, 1); tmp 123 sound/soc/intel/common/sst-firmware.c struct sst_mem_block *block, *tmp; tmp 139 sound/soc/intel/common/sst-firmware.c list_for_each_entry_safe(block, tmp, block_list, module_list) { tmp 574 sound/soc/intel/common/sst-firmware.c struct list_head tmp = LIST_HEAD_INIT(tmp); tmp 583 sound/soc/intel/common/sst-firmware.c list_splice(&tmp, &dsp->free_block_list); tmp 590 sound/soc/intel/common/sst-firmware.c list_move_tail(&block->list, &tmp); tmp 597 sound/soc/intel/common/sst-firmware.c list_for_each_entry(block, &tmp, list) { tmp 608 sound/soc/intel/common/sst-firmware.c list_splice(&tmp, &dsp->used_block_list); tmp 616 sound/soc/intel/common/sst-firmware.c struct sst_mem_block *block, *tmp; tmp 623 sound/soc/intel/common/sst-firmware.c list_for_each_entry_safe(block, tmp, &dsp->free_block_list, list) { tmp 642 sound/soc/intel/common/sst-firmware.c list_for_each_entry_safe(block, tmp, &dsp->free_block_list, list) { tmp 705 sound/soc/intel/common/sst-firmware.c struct sst_mem_block *block, *tmp; tmp 715 sound/soc/intel/common/sst-firmware.c list_for_each_entry_safe(block, tmp, block_list, module_list) { tmp 743 sound/soc/intel/common/sst-firmware.c list_for_each_entry_safe(block, tmp, &dsp->free_block_list, list) { tmp 1047 sound/soc/intel/common/sst-firmware.c struct sst_mem_block *block, *tmp; tmp 1052 sound/soc/intel/common/sst-firmware.c list_for_each_entry_safe(block, tmp, &dsp->used_block_list, list) { tmp 1058 sound/soc/intel/common/sst-firmware.c list_for_each_entry_safe(block, tmp, &dsp->free_block_list, list) { tmp 259 sound/soc/intel/common/sst-ipc.c struct ipc_message *msg, *tmp; tmp 266 sound/soc/intel/common/sst-ipc.c list_for_each_entry_safe(msg, tmp, &ipc->tx_list, list) { tmp 271 sound/soc/intel/common/sst-ipc.c list_for_each_entry_safe(msg, tmp, &ipc->rx_list, list) { tmp 429 sound/soc/intel/haswell/sst-haswell-ipc.c char *tmp[5], *pinfo; tmp 458 sound/soc/intel/haswell/sst-haswell-ipc.c for (i = 0; i < ARRAY_SIZE(tmp); i++) tmp 459 sound/soc/intel/haswell/sst-haswell-ipc.c tmp[i] = strsep(&pinfo, " "); tmp 462 sound/soc/intel/haswell/sst-haswell-ipc.c tmp[0], tmp[1], tmp[2], tmp[3], tmp[4]); tmp 182 sound/soc/intel/skylake/skl-debug.c char *tmp; tmp 185 sound/soc/intel/skylake/skl-debug.c tmp = kzalloc(FW_REG_BUF, GFP_KERNEL); tmp 186 sound/soc/intel/skylake/skl-debug.c if (!tmp) tmp 196 sound/soc/intel/skylake/skl-debug.c ret += scnprintf(tmp + ret, FW_REG_BUF - ret, "%#.4x: ", offset); tmp 198 sound/soc/intel/skylake/skl-debug.c tmp + ret, FW_REG_BUF - ret, 0); tmp 199 sound/soc/intel/skylake/skl-debug.c ret += strlen(tmp + ret); tmp 203 sound/soc/intel/skylake/skl-debug.c tmp[ret++] = '\n'; tmp 206 sound/soc/intel/skylake/skl-debug.c ret = simple_read_from_buffer(user_buf, count, ppos, tmp, ret); tmp 207 sound/soc/intel/skylake/skl-debug.c kfree(tmp); tmp 1522 sound/soc/intel/skylake/skl-pcm.c struct skl_module_deferred_bind *modules, *tmp; tmp 1525 sound/soc/intel/skylake/skl-pcm.c list_for_each_entry_safe(modules, tmp, &skl->bind_list, node) { tmp 484 sound/soc/intel/skylake/skl-sst.c struct skl_module_table *module, *tmp; tmp 489 sound/soc/intel/skylake/skl-sst.c list_for_each_entry_safe(module, tmp, &ctx->module_list, list) { tmp 1173 sound/soc/intel/skylake/skl-topology.c struct skl_module_deferred_bind *modules, *tmp; tmp 1184 sound/soc/intel/skylake/skl-topology.c list_for_each_entry_safe(modules, tmp, &skl->bind_list, node) { tmp 3606 sound/soc/intel/skylake/skl-topology.c struct skl_pipeline *ppl, *tmp; tmp 3609 sound/soc/intel/skylake/skl-topology.c list_for_each_entry_safe(ppl, tmp, &skl->ppl_list, node) tmp 308 sound/soc/pxa/pxa-ssp.c u64 tmp = 19968; tmp 310 sound/soc/pxa/pxa-ssp.c tmp *= 1000000; tmp 311 sound/soc/pxa/pxa-ssp.c do_div(tmp, freq); tmp 312 sound/soc/pxa/pxa-ssp.c val = tmp; tmp 628 sound/soc/samsung/i2s.c u32 mod, tmp = 0; tmp 641 sound/soc/samsung/i2s.c tmp |= lrp_rlow; tmp 642 sound/soc/samsung/i2s.c tmp |= (MOD_SDF_MSB << sdf_shift); tmp 645 sound/soc/samsung/i2s.c tmp |= lrp_rlow; tmp 646 sound/soc/samsung/i2s.c tmp |= (MOD_SDF_LSB << sdf_shift); tmp 649 sound/soc/samsung/i2s.c tmp |= (MOD_SDF_IIS << sdf_shift); tmp 664 sound/soc/samsung/i2s.c if (tmp & lrp_rlow) tmp 665 sound/soc/samsung/i2s.c tmp &= ~lrp_rlow; tmp 667 sound/soc/samsung/i2s.c tmp |= lrp_rlow; tmp 676 sound/soc/samsung/i2s.c tmp |= mod_slave; tmp 701 sound/soc/samsung/i2s.c ((mod & (sdf_mask | lrp_rlow | mod_slave)) != tmp)) { tmp 710 sound/soc/samsung/i2s.c mod |= tmp; tmp 566 sound/soc/sh/rcar/core.c int tmp = 0; \ tmp 576 sound/soc/sh/rcar/core.c tmp = (mod)->ops->fn(mod, io, param); \ tmp 577 sound/soc/sh/rcar/core.c if (tmp && (tmp != -EPROBE_DEFER)) \ tmp 579 sound/soc/sh/rcar/core.c rsnd_mod_name(mod), #fn, tmp); \ tmp 580 sound/soc/sh/rcar/core.c ret |= tmp; \ tmp 202 sound/soc/sh/rcar/src.c u32 i_busif, o_busif, tmp; tmp 319 sound/soc/sh/rcar/src.c tmp = rsnd_get_busif_shift(io, mod); tmp 320 sound/soc/sh/rcar/src.c i_busif = ( is_play ? tmp : 0) | 1; tmp 321 sound/soc/sh/rcar/src.c o_busif = (!is_play ? tmp : 0) | 1; tmp 2500 sound/soc/soc-core.c char tmp[NAME_SIZE]; tmp 2506 sound/soc/soc-core.c snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, tmp 2508 sound/soc/soc-core.c strlcpy(name, tmp, NAME_SIZE); tmp 80 sound/soc/sof/utils.c u32 tmp; tmp 96 sound/soc/sof/utils.c tmp = ioread32(dest + m * 4); tmp 97 sound/soc/sof/utils.c tmp &= ~affected_mask; tmp 99 sound/soc/sof/utils.c tmp |= *(u32 *)(src_byte + m * 4) & affected_mask; tmp 100 sound/soc/sof/utils.c iowrite32(tmp, dest + m * 4); tmp 122 sound/soc/sprd/sprd-mcdt.c u32 tmp; tmp 124 sound/soc/sprd/sprd-mcdt.c tmp = (orig & ~mask) | val; tmp 125 sound/soc/sprd/sprd-mcdt.c writel_relaxed(tmp, mcdt->base + reg); tmp 66 sound/soc/sti/uniperif_player.c unsigned int tmp; tmp 122 sound/soc/sti/uniperif_player.c tmp = GET_UNIPERIF_STATUS_1_UNDERFLOW_DURATION(player); tmp 124 sound/soc/sti/uniperif_player.c tmp); tmp 427 sound/soc/stm/stm32_i2s.c unsigned int tmp, div, real_div, nb_bits, frame_len; tmp 452 sound/soc/stm/stm32_i2s.c tmp = DIV_ROUND_CLOSEST(i2s_clock_rate, i2s->mclk_rate); tmp 465 sound/soc/stm/stm32_i2s.c tmp = DIV_ROUND_CLOSEST(i2s_clock_rate, (nb_bits * rate)); tmp 469 sound/soc/stm/stm32_i2s.c odd = tmp & 0x1; tmp 472 sound/soc/stm/stm32_i2s.c div = tmp >> 1; tmp 32 sound/soc/sunxi/sun8i-adda-pr-regmap.c u32 tmp; tmp 41 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp = readl(base); tmp 42 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp &= ~(ADDA_PR_ADDR_MASK << ADDA_PR_ADDR_SHIFT); tmp 43 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp |= (reg & ADDA_PR_ADDR_MASK) << ADDA_PR_ADDR_SHIFT; tmp 44 sound/soc/sunxi/sun8i-adda-pr-regmap.c writel(tmp, base); tmp 55 sound/soc/sunxi/sun8i-adda-pr-regmap.c u32 tmp; tmp 61 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp = readl(base); tmp 62 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp &= ~(ADDA_PR_ADDR_MASK << ADDA_PR_ADDR_SHIFT); tmp 63 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp |= (reg & ADDA_PR_ADDR_MASK) << ADDA_PR_ADDR_SHIFT; tmp 64 sound/soc/sunxi/sun8i-adda-pr-regmap.c writel(tmp, base); tmp 67 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp = readl(base); tmp 68 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp &= ~(ADDA_PR_DATA_IN_MASK << ADDA_PR_DATA_IN_SHIFT); tmp 69 sound/soc/sunxi/sun8i-adda-pr-regmap.c tmp |= (val & ADDA_PR_DATA_IN_MASK) << ADDA_PR_DATA_IN_SHIFT; tmp 70 sound/soc/sunxi/sun8i-adda-pr-regmap.c writel(tmp, base); tmp 1863 sound/soc/ti/davinci-mcasp.c const char *tmp; tmp 1869 sound/soc/ti/davinci-mcasp.c tmp = mcasp->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data; tmp 1870 sound/soc/ti/davinci-mcasp.c chan = dma_request_slave_channel_reason(mcasp->dev, tmp); tmp 1883 sound/soc/ti/davinci-mcasp.c "compatible", &tmp); tmp 1891 sound/soc/ti/davinci-mcasp.c dev_dbg(mcasp->dev, "DMA controller compatible = \"%s\"\n", tmp); tmp 1892 sound/soc/ti/davinci-mcasp.c if (!strncmp(tmp, sdma_prefix, strlen(sdma_prefix))) tmp 265 sound/soc/ti/omap-mcbsp-st.c int val, tmp, status, i = 0; tmp 272 sound/soc/ti/omap-mcbsp-st.c status = sscanf(buf, "%d%n", &val, &tmp); tmp 282 sound/soc/ti/omap-mcbsp-st.c buf += tmp; tmp 1076 sound/soc/uniphier/aio-core.c u32 tmp; tmp 1084 sound/soc/uniphier/aio-core.c regmap_read(r, CDA2D_RBMXRDPTR(sub->swm->rb.map), &tmp); tmp 1109 sound/soc/uniphier/aio-core.c u32 tmp; tmp 1119 sound/soc/uniphier/aio-core.c regmap_read(r, CDA2D_RBMXWRPTR(sub->swm->rb.map), &tmp); tmp 309 sound/sparc/cs4231.c unsigned char tmp = (chip->image[reg] & mask) | value; tmp 311 sound/sparc/cs4231.c chip->image[reg] = tmp; tmp 313 sound/sparc/cs4231.c snd_cs4231_dout(chip, reg, tmp); tmp 691 sound/sparc/dbri.c s32 tmp, addr; tmp 724 sound/sparc/dbri.c tmp = sbus_readl(dbri->regs + REG0); tmp 725 sound/sparc/dbri.c tmp |= D_P; tmp 726 sound/sparc/dbri.c sbus_writel(tmp, dbri->regs + REG0); tmp 736 sound/sparc/dbri.c u32 tmp; tmp 749 sound/sparc/dbri.c tmp = sbus_readl(dbri->regs + REG0); tmp 750 sound/sparc/dbri.c tmp |= D_G | D_E; tmp 751 sound/sparc/dbri.c tmp &= ~D_S; tmp 752 sound/sparc/dbri.c sbus_writel(tmp, dbri->regs + REG0); tmp 1420 sound/sparc/dbri.c u32 tmp; tmp 1447 sound/sparc/dbri.c tmp = sbus_readl(dbri->regs + REG0); tmp 1448 sound/sparc/dbri.c tmp &= ~(D_C); /* Disable CHI */ tmp 1449 sound/sparc/dbri.c sbus_writel(tmp, dbri->regs + REG0); tmp 1471 sound/sparc/dbri.c tmp = sbus_readl(dbri->regs + REG0); tmp 1472 sound/sparc/dbri.c tmp |= D_C; /* Enable CHI */ tmp 1473 sound/sparc/dbri.c sbus_writel(tmp, dbri->regs + REG0); tmp 1485 sound/sparc/dbri.c u32 tmp; tmp 1524 sound/sparc/dbri.c tmp = sbus_readl(dbri->regs + REG0); tmp 1525 sound/sparc/dbri.c tmp &= ~D_C; /* Disable CHI */ tmp 1526 sound/sparc/dbri.c sbus_writel(tmp, dbri->regs + REG0); tmp 1547 sound/sparc/dbri.c tmp = sbus_readl(dbri->regs + REG0); tmp 1548 sound/sparc/dbri.c tmp |= D_C; /* Enable CHI */ tmp 1549 sound/sparc/dbri.c sbus_writel(tmp, dbri->regs + REG0); tmp 1943 sound/sparc/dbri.c u32 tmp; tmp 1972 sound/sparc/dbri.c tmp = sbus_readl(dbri->regs + REG0); tmp 1973 sound/sparc/dbri.c tmp &= ~(D_D); tmp 1974 sound/sparc/dbri.c sbus_writel(tmp, dbri->regs + REG0); tmp 255 sound/usb/caiaq/device.c char tmp[5]; tmp 259 sound/usb/caiaq/device.c case 44100: tmp[0] = SAMPLERATE_44100; break; tmp 260 sound/usb/caiaq/device.c case 48000: tmp[0] = SAMPLERATE_48000; break; tmp 261 sound/usb/caiaq/device.c case 88200: tmp[0] = SAMPLERATE_88200; break; tmp 262 sound/usb/caiaq/device.c case 96000: tmp[0] = SAMPLERATE_96000; break; tmp 263 sound/usb/caiaq/device.c case 192000: tmp[0] = SAMPLERATE_192000; break; tmp 268 sound/usb/caiaq/device.c case 16: tmp[1] = DEPTH_16; break; tmp 269 sound/usb/caiaq/device.c case 24: tmp[1] = DEPTH_24; break; tmp 273 sound/usb/caiaq/device.c tmp[2] = bpp & 0xff; tmp 274 sound/usb/caiaq/device.c tmp[3] = bpp >> 8; tmp 275 sound/usb/caiaq/device.c tmp[4] = 1; /* packets per microframe */ tmp 282 sound/usb/caiaq/device.c tmp, sizeof(tmp)); tmp 302 sound/usb/caiaq/device.c char tmp[3] = { digital, analog, erp }; tmp 304 sound/usb/caiaq/device.c tmp, sizeof(tmp)); tmp 378 sound/usb/format.c unsigned char tmp[2], *data; tmp 394 sound/usb/format.c tmp, sizeof(tmp)); tmp 416 sound/usb/format.c nr_triplets = (tmp[1] << 8) | tmp[0]; tmp 743 sound/usb/midi.c uint8_t tmp[MAX_AKAI_SYSEX_LEN]; tmp 755 sound/usb/midi.c tmp, MAX_AKAI_SYSEX_LEN); tmp 761 sound/usb/midi.c for (pos = 0; pos < count && tmp[pos] != 0xF0; pos++) tmp 770 sound/usb/midi.c for (end = 1; end < count && tmp[end] < 0xF0; end++) tmp 774 sound/usb/midi.c if (end < count && tmp[end] == 0xF0) { tmp 780 sound/usb/midi.c if (end < count && tmp[end] == 0xF7) { tmp 784 sound/usb/midi.c memcpy(&msg[1], tmp, count); tmp 694 sound/usb/mixer_us16x08.c char tmp[sizeof(mix_init_msg1)]; tmp 696 sound/usb/mixer_us16x08.c memcpy(tmp, mix_init_msg1, sizeof(mix_init_msg1)); tmp 697 sound/usb/mixer_us16x08.c snd_us16x08_send_urb(chip, tmp, 4); tmp 714 sound/usb/mixer_us16x08.c char tmp[sizeof(mix_init_msg2)]; tmp 716 sound/usb/mixer_us16x08.c memcpy(tmp, mix_init_msg2, sizeof(mix_init_msg2)); tmp 717 sound/usb/mixer_us16x08.c tmp[2] = snd_get_meter_comp_index(store); tmp 718 sound/usb/mixer_us16x08.c snd_us16x08_send_urb(chip, tmp, 10); tmp 963 sound/usb/mixer_us16x08.c struct snd_us16x08_comp_store *tmp; tmp 965 sound/usb/mixer_us16x08.c tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); tmp 966 sound/usb/mixer_us16x08.c if (!tmp) tmp 970 sound/usb/mixer_us16x08.c tmp->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_THRESHOLD)][i] tmp 972 sound/usb/mixer_us16x08.c tmp->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_RATIO)][i] = 0x00; tmp 973 sound/usb/mixer_us16x08.c tmp->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_GAIN)][i] = 0x00; tmp 974 sound/usb/mixer_us16x08.c tmp->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_SWITCH)][i] = 0x00; tmp 975 sound/usb/mixer_us16x08.c tmp->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_ATTACK)][i] = 0x00; tmp 976 sound/usb/mixer_us16x08.c tmp->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_RELEASE)][i] = 0x00; tmp 978 sound/usb/mixer_us16x08.c return tmp; tmp 985 sound/usb/mixer_us16x08.c struct snd_us16x08_eq_store *tmp; tmp 987 sound/usb/mixer_us16x08.c tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); tmp 988 sound/usb/mixer_us16x08.c if (!tmp) tmp 993 sound/usb/mixer_us16x08.c tmp->val[b_idx][0][i] = 0x0c; tmp 994 sound/usb/mixer_us16x08.c tmp->val[b_idx][3][i] = 0x00; tmp 997 sound/usb/mixer_us16x08.c tmp->val[b_idx][1][i] = 0x05; tmp 998 sound/usb/mixer_us16x08.c tmp->val[b_idx][2][i] = 0xff; tmp 1001 sound/usb/mixer_us16x08.c tmp->val[b_idx][1][i] = 0x0e; tmp 1002 sound/usb/mixer_us16x08.c tmp->val[b_idx][2][i] = 0x02; tmp 1005 sound/usb/mixer_us16x08.c tmp->val[b_idx][1][i] = 0x1b; tmp 1006 sound/usb/mixer_us16x08.c tmp->val[b_idx][2][i] = 0x02; tmp 1009 sound/usb/mixer_us16x08.c tmp->val[b_idx][1][i] = 0x2f tmp 1011 sound/usb/mixer_us16x08.c tmp->val[b_idx][2][i] = 0xff; tmp 1016 sound/usb/mixer_us16x08.c return tmp; tmp 1021 sound/usb/mixer_us16x08.c struct snd_us16x08_meter_store *tmp; tmp 1023 sound/usb/mixer_us16x08.c tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); tmp 1024 sound/usb/mixer_us16x08.c if (!tmp) tmp 1026 sound/usb/mixer_us16x08.c tmp->comp_index = 1; tmp 1027 sound/usb/mixer_us16x08.c tmp->comp_active_index = 0; tmp 1028 sound/usb/mixer_us16x08.c return tmp; tmp 1008 tools/bpf/bpf_dbg.c struct sock_filter tmp; tmp 1027 tools/bpf/bpf_dbg.c &tmp.code, &tmp.jt, &tmp.jf, &tmp.k) != 4) { tmp 1032 tools/bpf/bpf_dbg.c bpf_image[i].code = tmp.code; tmp 1033 tools/bpf/bpf_dbg.c bpf_image[i].jt = tmp.jt; tmp 1034 tools/bpf/bpf_dbg.c bpf_image[i].jf = tmp.jf; tmp 1035 tools/bpf/bpf_dbg.c bpf_image[i].k = tmp.k; tmp 1053 tools/bpf/bpf_dbg.c char *file_trim, *tmp; tmp 1055 tools/bpf/bpf_dbg.c file_trim = strtok_r(file, " ", &tmp); tmp 1066 tools/bpf/bpf_dbg.c char *subcmd, *cont = NULL, *tmp = strdup(arg); tmp 1069 tools/bpf/bpf_dbg.c subcmd = strtok_r(tmp, " ", &cont); tmp 1089 tools/bpf/bpf_dbg.c free(tmp); tmp 1258 tools/bpf/bpf_dbg.c char *cmd, *cont, *tmp = strdup(arg); tmp 1261 tools/bpf/bpf_dbg.c cmd = strtok_r(tmp, " ", &cont); tmp 1274 tools/bpf/bpf_dbg.c free(tmp); tmp 173 tools/bpf/bpf_jit_disasm.c char *ptr, *pptr, *tmp; tmp 221 tools/bpf/bpf_jit_disasm.c tmp = ptr = haystack + off; tmp 222 tools/bpf/bpf_jit_disasm.c while ((ptr = strtok(tmp, "\n")) != NULL && ulen < proglen) { tmp 223 tools/bpf/bpf_jit_disasm.c tmp = NULL; tmp 566 tools/bpf/bpftool/btf.c struct hlist_node *tmp; tmp 570 tools/bpf/bpftool/btf.c hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { tmp 426 tools/bpf/bpftool/common.c struct hlist_node *tmp; tmp 429 tools/bpf/bpftool/common.c hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { tmp 770 tools/bpf/bpftool/prog.c void *tmp; tmp 811 tools/bpf/bpftool/prog.c tmp = realloc(*data_ptr, buf_size); tmp 812 tools/bpf/bpftool/prog.c if (!tmp) { tmp 817 tools/bpf/bpftool/prog.c *data_ptr = tmp; tmp 27 tools/bpf/bpftool/xlated_dumper.c void *tmp, *address; tmp 35 tools/bpf/bpftool/xlated_dumper.c tmp = reallocarray(dd->sym_mapping, dd->sym_count + 1, tmp 37 tools/bpf/bpftool/xlated_dumper.c if (!tmp) { tmp 44 tools/bpf/bpftool/xlated_dumper.c dd->sym_mapping = tmp; tmp 8 tools/build/feature/test-cplus-demangle.c char *tmp; tmp 10 tools/build/feature/test-cplus-demangle.c tmp = cplus_demangle(symbol, 0); tmp 12 tools/build/feature/test-cplus-demangle.c printf("demangled symbol: {%s}\n", tmp); tmp 9 tools/build/feature/test-libbfd.c char *tmp; tmp 11 tools/build/feature/test-libbfd.c tmp = bfd_demangle(0, symbol, 0); tmp 13 tools/build/feature/test-libbfd.c printf("demangled symbol: {%s}\n", tmp); tmp 771 tools/hv/hv_kvp_daemon.c char tmp[50]; tmp 776 tools/hv/hv_kvp_daemon.c str = inet_ntop(family, &addr->sin_addr, tmp, 50); tmp 780 tools/hv/hv_kvp_daemon.c str = inet_ntop(family, &addr6->sin6_addr.s6_addr, tmp, 50); tmp 791 tools/hv/hv_kvp_daemon.c strcpy(buffer, tmp); tmp 794 tools/hv/hv_kvp_daemon.c strcat(buffer, tmp); tmp 119 tools/include/linux/hashtable.h #define hash_for_each_safe(name, bkt, tmp, obj, member) \ tmp 122 tools/include/linux/hashtable.h hlist_for_each_entry_safe(obj, tmp, &name[bkt], member) tmp 144 tools/include/linux/hashtable.h #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ tmp 145 tools/include/linux/hashtable.h hlist_for_each_entry_safe(obj, tmp,\ tmp 191 tools/include/linux/rbtree_augmented.h struct rb_node *tmp = node->rb_left; tmp 195 tools/include/linux/rbtree_augmented.h if (!tmp) { tmp 211 tools/include/linux/rbtree_augmented.h tmp = parent; tmp 214 tools/include/linux/rbtree_augmented.h tmp->__rb_parent_color = pc = node->__rb_parent_color; tmp 216 tools/include/linux/rbtree_augmented.h __rb_change_child(node, tmp, parent, root); tmp 218 tools/include/linux/rbtree_augmented.h tmp = parent; tmp 222 tools/include/linux/rbtree_augmented.h tmp = child->rb_left; tmp 223 tools/include/linux/rbtree_augmented.h if (!tmp) { tmp 254 tools/include/linux/rbtree_augmented.h successor = tmp; tmp 255 tools/include/linux/rbtree_augmented.h tmp = tmp->rb_left; tmp 256 tools/include/linux/rbtree_augmented.h } while (tmp); tmp 266 tools/include/linux/rbtree_augmented.h tmp = node->rb_left; tmp 267 tools/include/linux/rbtree_augmented.h WRITE_ONCE(successor->rb_left, tmp); tmp 268 tools/include/linux/rbtree_augmented.h rb_set_parent(tmp, successor); tmp 271 tools/include/linux/rbtree_augmented.h tmp = __rb_parent(pc); tmp 272 tools/include/linux/rbtree_augmented.h __rb_change_child(node, successor, tmp, root); tmp 283 tools/include/linux/rbtree_augmented.h tmp = successor; tmp 286 tools/include/linux/rbtree_augmented.h augment->propagate(tmp, NULL); tmp 79 tools/laptop/dslm/dslm.c float tmp; tmp 113 tools/laptop/dslm/dslm.c tmp = (float)sleep_time / (float)total_time * 100; tmp 114 tools/laptop/dslm/dslm.c printf(" Time in sleep state: %lus (%.2f%%)\n", sleep_time, tmp); tmp 115 tools/laptop/dslm/dslm.c tmp = (float)active_time / (float)total_time * 100; tmp 116 tools/laptop/dslm/dslm.c printf(" Time in active state: %lus (%.2f%%)\n", active_time, tmp); tmp 117 tools/laptop/dslm/dslm.c tmp = (float)unknown_time / (float)total_time * 100; tmp 118 tools/laptop/dslm/dslm.c printf(" Time in unknown state: %lus (%.2f%%)\n", unknown_time, tmp); tmp 91 tools/lib/bpf/hashmap.c struct hashmap_entry *cur, *tmp; tmp 105 tools/lib/bpf/hashmap.c hashmap__for_each_entry_safe(map, cur, tmp, bkt) { tmp 150 tools/lib/bpf/hashmap.h #define hashmap__for_each_entry_safe(map, cur, tmp, bkt) \ tmp 153 tools/lib/bpf/hashmap.h cur && ({tmp = cur->next; true; }); \ tmp 154 tools/lib/bpf/hashmap.h cur = tmp) tmp 170 tools/lib/bpf/hashmap.h #define hashmap__for_each_key_entry_safe(map, cur, tmp, _key) \ tmp 174 tools/lib/bpf/hashmap.h cur && ({ tmp = cur->next; true; }); \ tmp 175 tools/lib/bpf/hashmap.h cur = tmp) \ tmp 5911 tools/lib/bpf/libbpf.c bool *tmp; tmp 5936 tools/lib/bpf/libbpf.c tmp = realloc(*mask, end + 1); tmp 5937 tools/lib/bpf/libbpf.c if (!tmp) { tmp 5941 tools/lib/bpf/libbpf.c *mask = tmp; tmp 5942 tools/lib/bpf/libbpf.c memset(tmp + *mask_sz, 0, start - *mask_sz); tmp 5943 tools/lib/bpf/libbpf.c memset(tmp + start, 1, end - start + 1); tmp 114 tools/lib/bpf/libbpf.h #define bpf_object__for_each_safe(pos, tmp) \ tmp 116 tools/lib/bpf/libbpf.h (tmp) = bpf_object__next(pos); \ tmp 118 tools/lib/bpf/libbpf.h (pos) = (tmp), (tmp) = bpf_object__next(tmp)) tmp 35 tools/lib/find_bit.c unsigned long tmp; tmp 40 tools/lib/find_bit.c tmp = addr1[start / BITS_PER_LONG]; tmp 42 tools/lib/find_bit.c tmp &= addr2[start / BITS_PER_LONG]; tmp 43 tools/lib/find_bit.c tmp ^= invert; tmp 46 tools/lib/find_bit.c tmp &= BITMAP_FIRST_WORD_MASK(start); tmp 49 tools/lib/find_bit.c while (!tmp) { tmp 54 tools/lib/find_bit.c tmp = addr1[start / BITS_PER_LONG]; tmp 56 tools/lib/find_bit.c tmp &= addr2[start / BITS_PER_LONG]; tmp 57 tools/lib/find_bit.c tmp ^= invert; tmp 60 tools/lib/find_bit.c return min(start + __ffs(tmp), nbits); tmp 88 tools/lib/rbtree.c struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; tmp 115 tools/lib/rbtree.c tmp = gparent->rb_right; tmp 116 tools/lib/rbtree.c if (parent != tmp) { /* parent == gparent->rb_left */ tmp 117 tools/lib/rbtree.c if (tmp && rb_is_red(tmp)) { tmp 131 tools/lib/rbtree.c rb_set_parent_color(tmp, gparent, RB_BLACK); tmp 139 tools/lib/rbtree.c tmp = parent->rb_right; tmp 140 tools/lib/rbtree.c if (node == tmp) { tmp 154 tools/lib/rbtree.c tmp = node->rb_left; tmp 155 tools/lib/rbtree.c WRITE_ONCE(parent->rb_right, tmp); tmp 157 tools/lib/rbtree.c if (tmp) tmp 158 tools/lib/rbtree.c rb_set_parent_color(tmp, parent, tmp 163 tools/lib/rbtree.c tmp = node->rb_right; tmp 176 tools/lib/rbtree.c WRITE_ONCE(gparent->rb_left, tmp); /* == parent->rb_right */ tmp 178 tools/lib/rbtree.c if (tmp) tmp 179 tools/lib/rbtree.c rb_set_parent_color(tmp, gparent, RB_BLACK); tmp 184 tools/lib/rbtree.c tmp = gparent->rb_left; tmp 185 tools/lib/rbtree.c if (tmp && rb_is_red(tmp)) { tmp 187 tools/lib/rbtree.c rb_set_parent_color(tmp, gparent, RB_BLACK); tmp 195 tools/lib/rbtree.c tmp = parent->rb_left; tmp 196 tools/lib/rbtree.c if (node == tmp) { tmp 198 tools/lib/rbtree.c tmp = node->rb_right; tmp 199 tools/lib/rbtree.c WRITE_ONCE(parent->rb_left, tmp); tmp 201 tools/lib/rbtree.c if (tmp) tmp 202 tools/lib/rbtree.c rb_set_parent_color(tmp, parent, tmp 207 tools/lib/rbtree.c tmp = node->rb_left; tmp 211 tools/lib/rbtree.c WRITE_ONCE(gparent->rb_right, tmp); /* == parent->rb_left */ tmp 213 tools/lib/rbtree.c if (tmp) tmp 214 tools/lib/rbtree.c rb_set_parent_color(tmp, gparent, RB_BLACK); tmp 144 tools/lib/subcmd/exec-cmd.c char *tmp = get_argv_exec_path(); tmp 146 tools/lib/subcmd/exec-cmd.c add_path(&new_path, tmp); tmp 148 tools/lib/subcmd/exec-cmd.c free(tmp); tmp 912 tools/lib/subcmd/parse-options.c char *tmp = error_buf; tmp 919 tools/lib/subcmd/parse-options.c free(tmp); tmp 67 tools/lib/subcmd/subcmd-util.h char *tmp = *(out); \ tmp 68 tools/lib/subcmd/subcmd-util.h if (asprintf((out), "%s" fmt, tmp ?: "", ## __VA_ARGS__) == -1) \ tmp 70 tools/lib/subcmd/subcmd-util.h free(tmp); \ tmp 75 tools/lib/subcmd/subcmd-util.h char *tmp = *out; tmp 77 tools/lib/subcmd/subcmd-util.h if (asprintf(out, "%s%s", tmp ?: "", add) == -1) tmp 80 tools/lib/subcmd/subcmd-util.h free(tmp); tmp 2083 tools/lib/traceevent/event-parse.c struct tep_print_arg tmp; tmp 2088 tools/lib/traceevent/event-parse.c tmp = *arg; tmp 2090 tools/lib/traceevent/event-parse.c *right = tmp; tmp 6594 tools/lib/traceevent/event-parse.c char tmp[128]; tmp 6605 tools/lib/traceevent/event-parse.c snprintf(tmp, 128, "%s/0x%llx", func->func, func->addr - val); tmp 6607 tools/lib/traceevent/event-parse.c sprintf(tmp, "0x%08llx", val); tmp 6609 tools/lib/traceevent/event-parse.c return trace_seq_printf(s, fmt, tmp); tmp 835 tools/objtool/check.c struct special_alt *special_alt, *tmp; tmp 843 tools/objtool/check.c list_for_each_entry_safe(special_alt, tmp, &special_alts, list) { tmp 211 tools/objtool/elf.c struct list_head *entry, *tmp; tmp 270 tools/objtool/elf.c list_for_each_prev(tmp, &sym->sec->symbol_list) { tmp 273 tools/objtool/elf.c s = list_entry(tmp, struct symbol, list); tmp 276 tools/objtool/elf.c entry = tmp; tmp 285 tools/objtool/elf.c entry = tmp; tmp 95 tools/perf/arch/common.c char *path, *tmp = NULL; tmp 106 tools/perf/arch/common.c path = strtok_r(env, ":", &tmp); tmp 113 tools/perf/arch/common.c path = strtok_r(NULL, ":", &tmp); tmp 189 tools/perf/arch/powerpc/util/kvm-stat.c const char **tmp; tmp 198 tools/perf/arch/powerpc/util/kvm-stat.c tmp = calloc(j + 1, sizeof(char *)); tmp 199 tools/perf/arch/powerpc/util/kvm-stat.c if (!tmp) tmp 203 tools/perf/arch/powerpc/util/kvm-stat.c tmp[i] = argv[i]; tmp 205 tools/perf/arch/powerpc/util/kvm-stat.c parse_options(j, tmp, event_options, NULL, PARSE_OPT_KEEP_UNKNOWN); tmp 212 tools/perf/arch/powerpc/util/kvm-stat.c free(tmp); tmp 217 tools/perf/arch/powerpc/util/kvm-stat.c free(tmp); tmp 134 tools/perf/arch/powerpc/util/sym-handling.c struct rb_node *tmp; tmp 143 tools/perf/arch/powerpc/util/sym-handling.c map__for_each_symbol(map, sym, tmp) { tmp 97 tools/perf/arch/x86/tests/rdpmc.c volatile int tmp = 0; tmp 138 tools/perf/arch/x86/tests/rdpmc.c tmp++; tmp 86 tools/perf/arch/x86/util/header.c const char *tmp = id; tmp 89 tools/perf/arch/x86/util/header.c while ((tmp = strchr(tmp, '-')) != NULL) { tmp 91 tools/perf/arch/x86/util/header.c tmp++; tmp 1815 tools/perf/builtin-c2c.c char *tmp, *tok; \ tmp 1821 tools/perf/builtin-c2c.c for (tok = strtok_r((char *)_list, ", ", &tmp); \ tmp 1822 tools/perf/builtin-c2c.c tok; tok = strtok_r(NULL, ", ", &tmp)) { \ tmp 2633 tools/perf/builtin-c2c.c char *tok, *tmp, *buf = strdup(cl_sort); tmp 2645 tools/perf/builtin-c2c.c for_each_token(tok, buf, ",", tmp) { tmp 440 tools/perf/builtin-ftrace.c struct filter_entry *pos, *tmp; tmp 442 tools/perf/builtin-ftrace.c list_for_each_entry_safe(pos, tmp, head, list) { tmp 620 tools/perf/builtin-inject.c struct evsel *evsel, *tmp; tmp 623 tools/perf/builtin-inject.c evlist__for_each_entry_safe(evlist, tmp, evsel) { tmp 408 tools/perf/builtin-lock.c u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); tmp 411 tools/perf/builtin-lock.c memcpy(&addr, &tmp, sizeof(void *)); tmp 481 tools/perf/builtin-lock.c u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); tmp 483 tools/perf/builtin-lock.c memcpy(&addr, &tmp, sizeof(void *)); tmp 543 tools/perf/builtin-lock.c u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); tmp 545 tools/perf/builtin-lock.c memcpy(&addr, &tmp, sizeof(void *)); tmp 598 tools/perf/builtin-lock.c u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); tmp 600 tools/perf/builtin-lock.c memcpy(&addr, &tmp, sizeof(void *)); tmp 171 tools/perf/builtin-probe.c char *tmp; tmp 183 tools/perf/builtin-probe.c tmp = nsinfo__realpath(str, params.nsi); tmp 184 tools/perf/builtin-probe.c if (!tmp) { tmp 189 tools/perf/builtin-probe.c tmp = strdup(str); tmp 190 tools/perf/builtin-probe.c if (!tmp) tmp 194 tools/perf/builtin-probe.c params.target = tmp; tmp 3292 tools/perf/builtin-sched.c char *tmp, *tok, *str = strdup(sched->sort_order); tmp 3294 tools/perf/builtin-sched.c for (tok = strtok_r(str, ", ", &tmp); tmp 3295 tools/perf/builtin-sched.c tok; tok = strtok_r(NULL, ", ", &tmp)) { tmp 356 tools/perf/builtin-top.c int tmp; tmp 372 tools/perf/builtin-top.c tmp = strtoul(buf, NULL, 10); tmp 373 tools/perf/builtin-top.c *target = tmp; tmp 380 tools/perf/builtin-top.c int tmp = 0; tmp 382 tools/perf/builtin-top.c prompt_integer(&tmp, msg); tmp 383 tools/perf/builtin-top.c if (tmp >= 0 && tmp <= 100) tmp 384 tools/perf/builtin-top.c *target = tmp; tmp 2634 tools/perf/builtin-trace.c struct evsel *evsel, *tmp; tmp 2641 tools/perf/builtin-trace.c evlist__for_each_entry_safe(evlist, evsel, tmp) { tmp 89 tools/perf/lib/cpumap.c int *tmp_cpus = NULL, *tmp; tmp 108 tools/perf/lib/cpumap.c tmp = realloc(tmp_cpus, max_entries * sizeof(int)); tmp 109 tools/perf/lib/cpumap.c if (tmp == NULL) tmp 111 tools/perf/lib/cpumap.c tmp_cpus = tmp; tmp 119 tools/perf/lib/cpumap.c tmp = realloc(tmp_cpus, max_entries * sizeof(int)); tmp 120 tools/perf/lib/cpumap.c if (tmp == NULL) tmp 122 tools/perf/lib/cpumap.c tmp_cpus = tmp; tmp 163 tools/perf/lib/cpumap.c int *tmp_cpus = NULL, *tmp; tmp 209 tools/perf/lib/cpumap.c tmp = realloc(tmp_cpus, max_entries * sizeof(int)); tmp 210 tools/perf/lib/cpumap.c if (tmp == NULL) tmp 212 tools/perf/lib/cpumap.c tmp_cpus = tmp; tmp 30 tools/perf/lib/tests/test-evlist.c int err, cpu, tmp; tmp 56 tools/perf/lib/tests/test-evlist.c perf_cpu_map__for_each_cpu(cpu, tmp, cpus) { tmp 24 tools/perf/lib/tests/test-evsel.c int err, cpu, tmp; tmp 35 tools/perf/lib/tests/test-evsel.c perf_cpu_map__for_each_cpu(cpu, tmp, cpus) { tmp 371 tools/perf/perf.c const char *tmp; tmp 383 tools/perf/perf.c tmp = argv[0]; tmp 401 tools/perf/perf.c argv[0] = tmp; tmp 91 tools/perf/tests/code-reading.c unsigned char tmp; tmp 94 tools/perf/tests/code-reading.c tmp = *chunk_start; tmp 96 tools/perf/tests/code-reading.c *chunk_end = tmp; tmp 144 tools/perf/tests/code-reading.c unsigned char tmp[BUFSZ]; tmp 156 tools/perf/tests/code-reading.c read_bytes = read_objdump_line(line, tmp, sizeof(tmp)); tmp 174 tools/perf/tests/code-reading.c memcpy(buf + off, tmp, written_bytes); tmp 54 tools/perf/tests/event_update.c struct event_name *tmp = container_of(tool, struct event_name, tool); tmp 59 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong name", !strcmp(ev->data, tmp->name)); tmp 90 tools/perf/tests/event_update.c struct event_name tmp; tmp 112 tools/perf/tests/event_update.c tmp.name = perf_evsel__name(evsel); tmp 115 tools/perf/tests/event_update.c !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); tmp 120 tools/perf/tests/event_update.c !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); tmp 29 tools/perf/tests/sw-clock.c volatile int tmp = 0; tmp 97 tools/perf/tests/sw-clock.c tmp++; tmp 68 tools/perf/tests/wp.c unsigned long tmp, tmp1 = rand(); tmp 74 tools/perf/tests/wp.c tmp = data1; tmp 77 tools/perf/tests/wp.c data1 = tmp1 + tmp; tmp 87 tools/perf/tests/wp.c unsigned long tmp, tmp1 = rand(); tmp 93 tools/perf/tests/wp.c tmp = data1; tmp 96 tools/perf/tests/wp.c data1 = tmp1 + tmp; tmp 106 tools/perf/tests/wp.c unsigned long tmp, tmp1 = rand(); tmp 113 tools/perf/tests/wp.c tmp = data1; tmp 116 tools/perf/tests/wp.c data1 = tmp1 + tmp; tmp 126 tools/perf/tests/wp.c unsigned long tmp = rand(); tmp 133 tools/perf/tests/wp.c data1 = tmp; tmp 147 tools/perf/tests/wp.c data2[1] = tmp; /* Not Counted */ tmp 158 tools/perf/tests/wp.c data2[1] = tmp; /* Counted */ tmp 161 tools/perf/tests/wp.c data2[2] = tmp; /* Not Counted */ tmp 23 tools/perf/trace/beauty/sockaddr.c char tmp[16]; tmp 25 tools/perf/trace/beauty/sockaddr.c inet_ntop(sin->sin_family, &sin->sin_addr, tmp, sizeof(tmp))); tmp 32 tools/perf/trace/beauty/sockaddr.c char tmp[512]; tmp 34 tools/perf/trace/beauty/sockaddr.c inet_ntop(sin6->sin6_family, &sin6->sin6_addr, tmp, sizeof(tmp))); tmp 2276 tools/perf/ui/browsers/hists.c char *pwd, *options[32], *abs_path[32], *tmp; tmp 2339 tools/perf/ui/browsers/hists.c tmp = strdup(abs_path[choice]); tmp 2340 tools/perf/ui/browsers/hists.c if (tmp) { tmp 2343 tools/perf/ui/browsers/hists.c input_name = tmp; tmp 117 tools/perf/ui/browsers/map.c char tmp[BITS_PER_LONG / 4]; tmp 132 tools/perf/ui/browsers/map.c mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); tmp 545 tools/perf/ui/hist.c struct perf_hpp_fmt *fmt, *acc, *ovh, *tmp; tmp 553 tools/perf/ui/hist.c perf_hpp_list__for_each_format_safe(&perf_hpp_list, fmt, tmp) { tmp 627 tools/perf/ui/hist.c struct perf_hpp_fmt *fmt, *tmp; tmp 630 tools/perf/ui/hist.c perf_hpp_list__for_each_format_safe(list, fmt, tmp) { tmp 637 tools/perf/ui/hist.c perf_hpp_list__for_each_sort_list_safe(list, fmt, tmp) { tmp 1113 tools/perf/util/annotate.c char tmp, *name = skip_spaces(line); tmp 1123 tools/perf/util/annotate.c tmp = (*rawp)[0]; tmp 1130 tools/perf/util/annotate.c (*rawp)[0] = tmp; tmp 1495 tools/perf/util/annotate.c char *line = NULL, *parsed_line, *tmp, *tmp2; tmp 1515 tools/perf/util/annotate.c tmp = skip_spaces(parsed_line); tmp 1516 tools/perf/util/annotate.c if (*tmp) { tmp 1520 tools/perf/util/annotate.c line_ip = strtoull(tmp, &tmp2, 16); tmp 1521 tools/perf/util/annotate.c if (*tmp2 != ':' || tmp == tmp2 || tmp2[1] == '\0') tmp 1900 tools/perf/util/annotate.c char tmp[KMOD_DECOMP_LEN]; tmp 1903 tools/perf/util/annotate.c tmp, sizeof(tmp)) < 0) tmp 1907 tools/perf/util/annotate.c strcpy(symfs_filename, tmp); tmp 1411 tools/perf/util/auxtrace.c struct hlist_node *tmp; tmp 1418 tools/perf/util/auxtrace.c hlist_for_each_entry_safe(entry, tmp, &c->hashtable[i], hash) { tmp 113 tools/perf/util/bpf-loader.c struct bpf_object *obj, *tmp; tmp 115 tools/perf/util/bpf-loader.c bpf_object__for_each_safe(obj, tmp) { tmp 1507 tools/perf/util/bpf-loader.c struct bpf_object *obj, *tmp; tmp 1510 tools/perf/util/bpf-loader.c bpf_object__for_each_safe(obj, tmp) { tmp 1532 tools/perf/util/bpf-loader.c struct bpf_object *obj, *tmp; tmp 1538 tools/perf/util/bpf-loader.c bpf__for_each_map_named(map, obj, tmp, name) { tmp 1574 tools/perf/util/bpf-loader.c bpf__for_each_map_named(map, obj, tmp, name) { tmp 183 tools/perf/util/build-id.c char *tmp = bf; tmp 186 tools/perf/util/build-id.c if (ret < 0 || (tmp && size < (unsigned int)ret)) tmp 649 tools/perf/util/build-id.c *linkname = zalloc(size), *tmp; tmp 725 tools/perf/util/build-id.c tmp = strrchr(linkname, '/'); tmp 726 tools/perf/util/build-id.c *tmp = '\0'; tmp 731 tools/perf/util/build-id.c *tmp = '/'; tmp 732 tools/perf/util/build-id.c tmp = dir_name + strlen(buildid_dir) - 5; tmp 733 tools/perf/util/build-id.c memcpy(tmp, "../..", 5); tmp 735 tools/perf/util/build-id.c if (symlink(tmp, linkname) == 0) tmp 781 tools/perf/util/build-id.c *linkname = zalloc(size), *tmp; tmp 802 tools/perf/util/build-id.c tmp = strrchr(linkname, '/') + 1; tmp 803 tools/perf/util/build-id.c snprintf(tmp, size - (tmp - linkname), "%s", filename); tmp 641 tools/perf/util/callchain.c struct callchain_list *call, *tmp; tmp 643 tools/perf/util/callchain.c list_for_each_entry_safe(call, tmp, &new->val, list) { tmp 1456 tools/perf/util/callchain.c struct callchain_list *list, *tmp; tmp 1460 tools/perf/util/callchain.c list_for_each_entry_safe(list, tmp, &node->parent_val, list) { tmp 1466 tools/perf/util/callchain.c list_for_each_entry_safe(list, tmp, &node->val, list) { tmp 778 tools/perf/util/config.c struct perf_config_item *item, *tmp; tmp 780 tools/perf/util/config.c list_for_each_entry_safe(item, tmp, §ion->items, node) { tmp 795 tools/perf/util/config.c struct perf_config_section *section, *tmp; tmp 797 tools/perf/util/config.c list_for_each_entry_safe(section, tmp, &set->sections, node) { tmp 79 tools/perf/util/copyfile.c char *tmp = NULL, *ptr = NULL; tmp 90 tools/perf/util/copyfile.c if (asprintf(&tmp, "%s.XXXXXXx", to) < 0) { tmp 91 tools/perf/util/copyfile.c tmp = NULL; tmp 94 tools/perf/util/copyfile.c ptr = strrchr(tmp, '/'); tmp 100 tools/perf/util/copyfile.c tofd = mkstemp(tmp); tmp 105 tools/perf/util/copyfile.c err = slow_copyfile(from, tmp, nsi); tmp 126 tools/perf/util/copyfile.c err = link(tmp, to); tmp 127 tools/perf/util/copyfile.c unlink(tmp); tmp 129 tools/perf/util/copyfile.c free(tmp); tmp 532 tools/perf/util/cs-etm.c struct int_node *inode, *tmp; tmp 536 tools/perf/util/cs-etm.c intlist__for_each_entry_safe(inode, tmp, traceid_queues_list) { tmp 596 tools/perf/util/cs-etm.c struct int_node *inode, *tmp; tmp 604 tools/perf/util/cs-etm.c intlist__for_each_entry_safe(inode, tmp, traceid_list) tmp 1343 tools/perf/util/cs-etm.c struct cs_etm_packet *tmp; tmp 1412 tools/perf/util/cs-etm.c tmp = tidq->packet; tmp 1414 tools/perf/util/cs-etm.c tidq->prev_packet = tmp; tmp 1444 tools/perf/util/cs-etm.c struct cs_etm_packet *tmp; tmp 1484 tools/perf/util/cs-etm.c tmp = tidq->packet; tmp 1486 tools/perf/util/cs-etm.c tidq->prev_packet = tmp; tmp 343 tools/perf/util/dwarf-aux.c Dwarf_Addr tmp; tmp 351 tools/perf/util/dwarf-aux.c return dwarf_entrypc(dw_die, &tmp) == 0 || tmp 629 tools/perf/util/dwarf-aux.c int tmp; tmp 644 tools/perf/util/dwarf-aux.c dwarf_decl_line(origin, &tmp); tmp 645 tools/perf/util/dwarf-aux.c if (die_get_call_lineno(inst) == tmp) { tmp 646 tools/perf/util/dwarf-aux.c tmp = die_get_decl_fileno(origin); tmp 647 tools/perf/util/dwarf-aux.c if (die_get_call_fileno(inst) == tmp) tmp 974 tools/perf/util/dwarf-aux.c const char *tmp = ""; tmp 981 tools/perf/util/dwarf-aux.c tmp = "*"; tmp 989 tools/perf/util/dwarf-aux.c tmp = "union "; tmp 991 tools/perf/util/dwarf-aux.c tmp = "struct "; tmp 993 tools/perf/util/dwarf-aux.c tmp = "enum "; tmp 995 tools/perf/util/dwarf-aux.c return strbuf_addf(buf, "%s%s", tmp, dwarf_diename(&type)); tmp 998 tools/perf/util/dwarf-aux.c return ret ? ret : strbuf_addstr(buf, tmp); tmp 1215 tools/perf/util/dwarf-aux.c Dwarf_Addr tmp; tmp 1218 tools/perf/util/dwarf-aux.c if (dwarf_lineaddr(dwarf_onesrcline(lines, i), &tmp)) tmp 1221 tools/perf/util/dwarf-aux.c if (tmp == addr) { tmp 1055 tools/perf/util/evlist.c char *tmp; tmp 1057 tools/perf/util/evlist.c if (asprintf(&tmp, "%s && common_pid != %d", filter, pids[i]) < 0) tmp 1061 tools/perf/util/evlist.c filter = tmp; tmp 312 tools/perf/util/evlist.h #define __evlist__for_each_entry_safe(list, tmp, evsel) \ tmp 313 tools/perf/util/evlist.h list_for_each_entry_safe(evsel, tmp, list, core.node) tmp 321 tools/perf/util/evlist.h #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ tmp 322 tools/perf/util/evlist.h __evlist__for_each_entry_safe(&(evlist)->core.entries, tmp, evsel) tmp 1269 tools/perf/util/evsel.c struct perf_counts_values tmp; tmp 1275 tools/perf/util/evsel.c tmp = evsel->prev_raw_counts->aggr; tmp 1278 tools/perf/util/evsel.c tmp = *perf_counts(evsel->prev_raw_counts, cpu, thread); tmp 1282 tools/perf/util/evsel.c count->val = count->val - tmp.val; tmp 1283 tools/perf/util/evsel.c count->ena = count->ena - tmp.ena; tmp 1284 tools/perf/util/evsel.c count->run = count->run - tmp.run; tmp 57 tools/perf/util/genelf_debug.c void *tmp; tmp 72 tools/perf/util/genelf_debug.c tmp = realloc(be->data, be_sz); tmp 73 tools/perf/util/genelf_debug.c if (!tmp) tmp 76 tools/perf/util/genelf_debug.c be->data = tmp; tmp 1778 tools/perf/util/header.c char *str, *tmp; tmp 1791 tools/perf/util/header.c type = strtoul(str, &tmp, 0); tmp 1792 tools/perf/util/header.c if (*tmp != ':') tmp 1795 tools/perf/util/header.c str = tmp + 1; tmp 3576 tools/perf/util/header.c off_t tmp; tmp 3587 tools/perf/util/header.c tmp = lseek(fd, 0, SEEK_CUR); tmp 3618 tools/perf/util/header.c lseek(fd, tmp, SEEK_SET); tmp 35 tools/perf/util/help-unknown-cmd.c void *tmp; tmp 43 tools/perf/util/help-unknown-cmd.c tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); tmp 44 tools/perf/util/help-unknown-cmd.c if (!tmp) tmp 46 tools/perf/util/help-unknown-cmd.c cmds->names = tmp; tmp 2767 tools/perf/util/hist.c struct perf_hpp_list_node *node, *tmp; tmp 2771 tools/perf/util/hist.c list_for_each_entry_safe(node, tmp, &hists->hpp_formats, list) { tmp 332 tools/perf/util/hist.h #define perf_hpp_list__for_each_format_safe(_list, format, tmp) \ tmp 333 tools/perf/util/hist.h list_for_each_entry_safe(format, tmp, &(_list)->fields, list) tmp 338 tools/perf/util/hist.h #define perf_hpp_list__for_each_sort_list_safe(_list, format, tmp) \ tmp 339 tools/perf/util/hist.h list_for_each_entry_safe(format, tmp, &(_list)->sorts, sort_list) tmp 73 tools/perf/util/llvm-utils.c char *env, *path, *tmp = NULL; tmp 96 tools/perf/util/llvm-utils.c path = strtok_r(env, ":", &tmp); tmp 104 tools/perf/util/llvm-utils.c path = strtok_r(NULL, ":", &tmp); tmp 1234 tools/perf/util/machine.c char *name, *tmp; tmp 1242 tools/perf/util/machine.c tmp = fgets(version, sizeof(version), file); tmp 1244 tools/perf/util/machine.c if (!tmp) tmp 1251 tools/perf/util/machine.c tmp = strchr(name, ' '); tmp 1252 tools/perf/util/machine.c if (tmp) tmp 1253 tools/perf/util/machine.c *tmp = '\0'; tmp 226 tools/perf/util/ordered-events.c struct ordered_event *tmp, *iter; tmp 238 tools/perf/util/ordered-events.c list_for_each_entry_safe(iter, tmp, head, list) { tmp 388 tools/perf/util/ordered-events.c struct ordered_events_buffer *buffer, *tmp; tmp 403 tools/perf/util/ordered-events.c list_for_each_entry_safe(buffer, tmp, &oe->to_free, list) { tmp 661 tools/perf/util/parse-events.c struct evsel *evsel, *tmp; tmp 665 tools/perf/util/parse-events.c list_for_each_entry_safe(evsel, tmp, &new_evsels, core.node) { tmp 1369 tools/perf/util/parse-events.c struct perf_evsel_config_term *pos, *tmp; tmp 1371 tools/perf/util/parse-events.c list_for_each_entry_safe(pos, tmp, &config_terms, list) { tmp 1834 tools/perf/util/parse-events.c char *tmp = strchr(alias->name, '-'); tmp 1836 tools/perf/util/parse-events.c if (tmp != NULL) { tmp 1837 tools/perf/util/parse-events.c SET_SYMBOL(strndup(alias->name, tmp - alias->name), tmp 1840 tools/perf/util/parse-events.c SET_SYMBOL(strdup(++tmp), PMU_EVENT_SYMBOL_SUFFIX); tmp 708 tools/perf/util/pmu.c char *tmp = NULL, *tok, *str; tmp 718 tools/perf/util/pmu.c tok = strtok_r(str, ",", &tmp); tmp 732 tools/perf/util/pmu.c for (; tok; name += strlen(tok), tok = strtok_r(NULL, ",", &tmp)) { tmp 405 tools/perf/util/probe-event.c struct perf_probe_point *tmp) tmp 409 tools/perf/util/probe-event.c memcpy(tmp, &pev->point, sizeof(*tmp)); tmp 411 tools/perf/util/probe-event.c ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, tmp 414 tools/perf/util/probe-event.c memcpy(&pev->point, tmp, sizeof(*tmp)); tmp 748 tools/perf/util/probe-event.c char *tmp; tmp 770 tools/perf/util/probe-event.c tmp = NULL; tmp 773 tools/perf/util/probe-event.c tmp = strdup(reloc_sym->name); tmp 774 tools/perf/util/probe-event.c if (!tmp) tmp 782 tools/perf/util/probe-event.c tevs[i].point.symbol = tmp; tmp 824 tools/perf/util/probe-event.c struct perf_probe_point tmp; tmp 841 tools/perf/util/probe-event.c ret = get_alternative_probe_event(dinfo, pev, &tmp); tmp 849 tools/perf/util/probe-event.c memcpy(&pev->point, &tmp, sizeof(tmp)); tmp 944 tools/perf/util/probe-event.c char *tmp; tmp 968 tools/perf/util/probe-event.c tmp = lr->path; tmp 969 tools/perf/util/probe-event.c ret = get_real_path(tmp, lr->comp_dir, &lr->path); tmp 972 tools/perf/util/probe-event.c if (tmp != lr->path) tmp 973 tools/perf/util/probe-event.c free(tmp); tmp 1049 tools/perf/util/probe-event.c struct perf_probe_point tmp; tmp 1059 tools/perf/util/probe-event.c ret = get_alternative_probe_event(dinfo, pev, &tmp); tmp 1064 tools/perf/util/probe-event.c clear_perf_probe_point(&tmp); tmp 1341 tools/perf/util/probe-event.c char *ptr, *tmp; tmp 1370 tools/perf/util/probe-event.c tmp = build_id_cache__complement(ptr + 1); tmp 1371 tools/perf/util/probe-event.c if (tmp) { tmp 1372 tools/perf/util/probe-event.c pev->target = build_id_cache__origname(tmp); tmp 1373 tools/perf/util/probe-event.c free(tmp); tmp 1390 tools/perf/util/probe-event.c tmp = ptr + 1; tmp 1395 tools/perf/util/probe-event.c arg = tmp; tmp 1423 tools/perf/util/probe-event.c tmp = NULL; tmp 1425 tools/perf/util/probe-event.c tmp = strdup_esc(arg); tmp 1426 tools/perf/util/probe-event.c if (tmp == NULL) tmp 1431 tools/perf/util/probe-event.c pp->file = tmp; tmp 1433 tools/perf/util/probe-event.c pp->function = tmp; tmp 1444 tools/perf/util/probe-event.c if (tmp && !strncmp(tmp, "0x", 2)) { tmp 1445 tools/perf/util/probe-event.c pp->abs_address = strtoul(pp->function, &tmp, 0); tmp 1446 tools/perf/util/probe-event.c if (*tmp != '\0') { tmp 1470 tools/perf/util/probe-event.c pp->line = strtoul(arg, &tmp, 0); tmp 1471 tools/perf/util/probe-event.c if (*tmp != '\0') { tmp 1478 tools/perf/util/probe-event.c pp->offset = strtoul(arg, &tmp, 0); tmp 1479 tools/perf/util/probe-event.c if (*tmp != '\0') { tmp 1553 tools/perf/util/probe-event.c char *tmp, *goodname; tmp 1558 tools/perf/util/probe-event.c tmp = strchr(str, '='); tmp 1559 tools/perf/util/probe-event.c if (tmp) { tmp 1560 tools/perf/util/probe-event.c arg->name = strndup(str, tmp - str); tmp 1564 tools/perf/util/probe-event.c str = tmp + 1; tmp 1567 tools/perf/util/probe-event.c tmp = strchr(str, '@'); tmp 1568 tools/perf/util/probe-event.c if (tmp && tmp != str && strcmp(tmp + 1, "user")) { /* user attr */ tmp 1573 tools/perf/util/probe-event.c *tmp = '\0'; tmp 1578 tools/perf/util/probe-event.c tmp = strchr(str, ':'); tmp 1579 tools/perf/util/probe-event.c if (tmp) { /* Type setting */ tmp 1580 tools/perf/util/probe-event.c *tmp = '\0'; tmp 1581 tools/perf/util/probe-event.c arg->type = strdup(tmp + 1); tmp 1587 tools/perf/util/probe-event.c tmp = strpbrk(str, "-.["); tmp 1588 tools/perf/util/probe-event.c if (!is_c_varname(str) || !tmp) { tmp 1598 tools/perf/util/probe-event.c arg->var = strndup(str, tmp - str); tmp 1609 tools/perf/util/probe-event.c if (*tmp == '[') { /* Array */ tmp 1610 tools/perf/util/probe-event.c str = tmp; tmp 1611 tools/perf/util/probe-event.c (*fieldp)->index = strtol(str + 1, &tmp, 0); tmp 1613 tools/perf/util/probe-event.c if (*tmp != ']' || tmp == str + 1) { tmp 1618 tools/perf/util/probe-event.c tmp++; tmp 1619 tools/perf/util/probe-event.c if (*tmp == '\0') tmp 1620 tools/perf/util/probe-event.c tmp = NULL; tmp 1622 tools/perf/util/probe-event.c if (*tmp == '.') { tmp 1623 tools/perf/util/probe-event.c str = tmp + 1; tmp 1625 tools/perf/util/probe-event.c } else if (tmp[1] == '>') { tmp 1626 tools/perf/util/probe-event.c str = tmp + 2; tmp 1633 tools/perf/util/probe-event.c tmp = strpbrk(str, "-.["); tmp 1635 tools/perf/util/probe-event.c if (tmp) { tmp 1636 tools/perf/util/probe-event.c (*fieldp)->name = strndup(str, tmp - str); tmp 1644 tools/perf/util/probe-event.c } while (tmp); tmp 1903 tools/perf/util/probe-event.c char *tmp, *ret = NULL; tmp 1922 tools/perf/util/probe-event.c tmp = pp->file; tmp 1923 tools/perf/util/probe-event.c len = strlen(tmp); tmp 1925 tools/perf/util/probe-event.c tmp = strchr(pp->file + len - 30, '/'); tmp 1926 tools/perf/util/probe-event.c tmp = tmp ? tmp + 1 : pp->file + len - 30; tmp 1928 tools/perf/util/probe-event.c err = strbuf_addf(&buf, "@%s", tmp); tmp 1942 tools/perf/util/probe-event.c char *tmp, *ret = NULL; tmp 1952 tools/perf/util/probe-event.c tmp = synthesize_perf_probe_point(&pev->point); tmp 1953 tools/perf/util/probe-event.c if (!tmp || strbuf_addstr(&buf, tmp) < 0) tmp 1955 tools/perf/util/probe-event.c free(tmp); tmp 1958 tools/perf/util/probe-event.c tmp = synthesize_perf_probe_arg(pev->args + i); tmp 1959 tools/perf/util/probe-event.c if (!tmp || strbuf_addf(&buf, " %s", tmp) < 0) tmp 1961 tools/perf/util/probe-event.c free(tmp); tmp 2510 tools/perf/util/probe-event.c char tmp[128]; tmp 2517 tools/perf/util/probe-event.c if (e_snprintf(tmp, 128, "%s:%s", tev->group, tev->event) < 0) tmp 2519 tools/perf/util/probe-event.c return strfilter__compare(filter, tmp); tmp 2830 tools/perf/util/probe-event.c struct rb_node *tmp; tmp 2842 tools/perf/util/probe-event.c map__for_each_symbol(map, sym, tmp) { tmp 951 tools/perf/util/probe-file.c struct probe_cache_entry *entry, *tmp; tmp 953 tools/perf/util/probe-file.c list_for_each_entry_safe(entry, tmp, &pcache->entries, node) { tmp 168 tools/perf/util/probe-finder.c Dwarf_Addr tmp = 0; tmp 184 tools/perf/util/probe-finder.c ret = dwarf_entrypc(sp_die, &tmp); tmp 191 tools/perf/util/probe-finder.c } else if (addr != tmp || tmp 196 tools/perf/util/probe-finder.c ret = dwarf_highpc(sp_die, &tmp); tmp 203 tools/perf/util/probe-finder.c for (addr += 1; addr <= tmp; addr++) { tmp 1586 tools/perf/util/probe-finder.c const char *fname = NULL, *func = NULL, *basefunc = NULL, *tmp; tmp 1643 tools/perf/util/probe-finder.c tmp = dwarf_diename(&indie); tmp 1644 tools/perf/util/probe-finder.c if (!tmp || tmp 1647 tools/perf/util/probe-finder.c func = tmp; tmp 1652 tools/perf/util/probe-finder.c tmp = dwarf_decl_file(&spdie); tmp 1653 tools/perf/util/probe-finder.c if (!tmp || strcmp(tmp, fname) != 0) tmp 451 tools/perf/util/sort.c char tmp[64]; tmp 466 tools/perf/util/sort.c snprintf(tmp, sizeof(tmp), "%-5.2f [%5.1f%%]", ipc, coverage); tmp 467 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, tmp); tmp 482 tools/perf/util/sort.c char tmp[64]; tmp 484 tools/perf/util/sort.c snprintf(tmp, sizeof(tmp), "%-5s %2s", "-", "-"); tmp 485 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*s", width, tmp); tmp 2671 tools/perf/util/sort.c char *tmp, *tok; tmp 2679 tools/perf/util/sort.c tmp = strpbrk(str, "{}, "); tmp 2680 tools/perf/util/sort.c if (tmp) { tmp 2686 tools/perf/util/sort.c if (*tmp == '{') tmp 2688 tools/perf/util/sort.c else if (*tmp == '}') tmp 2691 tools/perf/util/sort.c *tmp = '\0'; tmp 2692 tools/perf/util/sort.c str = tmp + 1; tmp 2710 tools/perf/util/sort.c } while (tmp); tmp 2994 tools/perf/util/sort.c char *tmp, *tok; tmp 2997 tools/perf/util/sort.c for (tok = strtok_r(str, ", ", &tmp); tmp 2998 tools/perf/util/sort.c tok; tok = strtok_r(NULL, ", ", &tmp)) { tmp 691 tools/perf/util/srcline.c struct inline_list *ilist, *tmp; tmp 693 tools/perf/util/srcline.c list_for_each_entry_safe(ilist, tmp, &node->val, list) { tmp 1052 tools/perf/util/stat-display.c char tmp[64]; tmp 1055 tools/perf/util/stat-display.c scnprintf(tmp, 64, " %17.*f", precision, avg); tmp 1056 tools/perf/util/stat-display.c while (tmp[indent] == ' ') tmp 1488 tools/perf/util/symbol-elf.c struct phdr_data *p, *tmp; tmp 1490 tools/perf/util/symbol-elf.c list_for_each_entry_safe(p, tmp, &kci->phdrs, node) { tmp 1511 tools/perf/util/symbol-elf.c struct sym_data *s, *tmp; tmp 1513 tools/perf/util/symbol-elf.c list_for_each_entry_safe(s, tmp, &kci->syms, node) { tmp 1996 tools/perf/util/symbol-elf.c static void sdt_adjust_loc(struct sdt_note *tmp, GElf_Addr base_off) tmp 2001 tools/perf/util/symbol-elf.c if (tmp->bit32) tmp 2002 tools/perf/util/symbol-elf.c tmp->addr.a32[SDT_NOTE_IDX_LOC] = tmp 2003 tools/perf/util/symbol-elf.c tmp->addr.a32[SDT_NOTE_IDX_LOC] + base_off - tmp 2004 tools/perf/util/symbol-elf.c tmp->addr.a32[SDT_NOTE_IDX_BASE]; tmp 2006 tools/perf/util/symbol-elf.c tmp->addr.a64[SDT_NOTE_IDX_LOC] = tmp 2007 tools/perf/util/symbol-elf.c tmp->addr.a64[SDT_NOTE_IDX_LOC] + base_off - tmp 2008 tools/perf/util/symbol-elf.c tmp->addr.a64[SDT_NOTE_IDX_BASE]; tmp 2011 tools/perf/util/symbol-elf.c static void sdt_adjust_refctr(struct sdt_note *tmp, GElf_Addr base_addr, tmp 2017 tools/perf/util/symbol-elf.c if (tmp->bit32 && tmp->addr.a32[SDT_NOTE_IDX_REFCTR]) tmp 2018 tools/perf/util/symbol-elf.c tmp->addr.a32[SDT_NOTE_IDX_REFCTR] -= (base_addr - base_off); tmp 2019 tools/perf/util/symbol-elf.c else if (tmp->addr.a64[SDT_NOTE_IDX_REFCTR]) tmp 2020 tools/perf/util/symbol-elf.c tmp->addr.a64[SDT_NOTE_IDX_REFCTR] -= (base_addr - base_off); tmp 2038 tools/perf/util/symbol-elf.c struct sdt_note *tmp = NULL; tmp 2059 tools/perf/util/symbol-elf.c tmp = (struct sdt_note *)calloc(1, sizeof(struct sdt_note)); tmp 2060 tools/perf/util/symbol-elf.c if (!tmp) { tmp 2065 tools/perf/util/symbol-elf.c INIT_LIST_HEAD(&tmp->note_list); tmp 2084 tools/perf/util/symbol-elf.c tmp->provider = strdup(provider); tmp 2085 tools/perf/util/symbol-elf.c if (!tmp->provider) { tmp 2089 tools/perf/util/symbol-elf.c tmp->name = strdup(name); tmp 2090 tools/perf/util/symbol-elf.c if (!tmp->name) { tmp 2105 tools/perf/util/symbol-elf.c tmp->args = NULL; tmp 2107 tools/perf/util/symbol-elf.c tmp->args = strdup(++args); tmp 2108 tools/perf/util/symbol-elf.c if (!tmp->args) { tmp 2115 tools/perf/util/symbol-elf.c memcpy(&tmp->addr, &buf, 3 * sizeof(Elf32_Addr)); tmp 2116 tools/perf/util/symbol-elf.c tmp->bit32 = true; tmp 2118 tools/perf/util/symbol-elf.c memcpy(&tmp->addr, &buf, 3 * sizeof(Elf64_Addr)); tmp 2119 tools/perf/util/symbol-elf.c tmp->bit32 = false; tmp 2136 tools/perf/util/symbol-elf.c sdt_adjust_loc(tmp, shdr.sh_offset); tmp 2140 tools/perf/util/symbol-elf.c sdt_adjust_refctr(tmp, shdr.sh_addr, shdr.sh_offset); tmp 2142 tools/perf/util/symbol-elf.c list_add_tail(&tmp->note_list, sdt_notes); tmp 2146 tools/perf/util/symbol-elf.c zfree(&tmp->args); tmp 2148 tools/perf/util/symbol-elf.c zfree(&tmp->name); tmp 2150 tools/perf/util/symbol-elf.c zfree(&tmp->provider); tmp 2152 tools/perf/util/symbol-elf.c free(tmp); tmp 2261 tools/perf/util/symbol-elf.c struct sdt_note *tmp, *pos; tmp 2264 tools/perf/util/symbol-elf.c list_for_each_entry_safe(pos, tmp, sdt_notes, note_list) { tmp 136 tools/perf/util/symbol-minimal.c void *tmp; tmp 150 tools/perf/util/symbol-minimal.c tmp = realloc(buf, buf_size); tmp 151 tools/perf/util/symbol-minimal.c if (tmp == NULL) tmp 154 tools/perf/util/symbol-minimal.c buf = tmp; tmp 187 tools/perf/util/symbol-minimal.c void *tmp; tmp 201 tools/perf/util/symbol-minimal.c tmp = realloc(buf, buf_size); tmp 202 tools/perf/util/symbol-minimal.c if (tmp == NULL) tmp 205 tools/perf/util/symbol-minimal.c buf = tmp; tmp 492 tools/perf/util/symbol.c struct symbol_name_rb_node *tmp; tmp 494 tools/perf/util/symbol.c tmp = rb_entry(n, struct symbol_name_rb_node, rb_node); tmp 495 tools/perf/util/symbol.c if (arch__compare_symbol_names(tmp->sym.name, s->sym.name)) tmp 498 tools/perf/util/symbol.c s = tmp; tmp 120 tools/perf/util/thread_map.c struct perf_thread_map *tmp; tmp 122 tools/perf/util/thread_map.c tmp = perf_thread_map__realloc(threads, max_threads); tmp 123 tools/perf/util/thread_map.c if (tmp == NULL) tmp 126 tools/perf/util/thread_map.c threads = tmp; tmp 319 tools/power/cpupower/lib/cpufreq.c struct cpufreq_available_governors *tmp, *next; tmp 324 tools/power/cpupower/lib/cpufreq.c tmp = any->first; tmp 325 tools/power/cpupower/lib/cpufreq.c while (tmp) { tmp 326 tools/power/cpupower/lib/cpufreq.c next = tmp->next; tmp 327 tools/power/cpupower/lib/cpufreq.c if (tmp->governor) tmp 328 tools/power/cpupower/lib/cpufreq.c free(tmp->governor); tmp 329 tools/power/cpupower/lib/cpufreq.c free(tmp); tmp 330 tools/power/cpupower/lib/cpufreq.c tmp = next; tmp 449 tools/power/cpupower/lib/cpufreq.c struct cpufreq_available_frequencies *tmp, *next; tmp 454 tools/power/cpupower/lib/cpufreq.c tmp = any->first; tmp 455 tools/power/cpupower/lib/cpufreq.c while (tmp) { tmp 456 tools/power/cpupower/lib/cpufreq.c next = tmp->next; tmp 457 tools/power/cpupower/lib/cpufreq.c free(tmp); tmp 458 tools/power/cpupower/lib/cpufreq.c tmp = next; tmp 530 tools/power/cpupower/lib/cpufreq.c struct cpufreq_affected_cpus *tmp, *next; tmp 535 tools/power/cpupower/lib/cpufreq.c tmp = any->first; tmp 536 tools/power/cpupower/lib/cpufreq.c while (tmp) { tmp 537 tools/power/cpupower/lib/cpufreq.c next = tmp->next; tmp 538 tools/power/cpupower/lib/cpufreq.c free(tmp); tmp 539 tools/power/cpupower/lib/cpufreq.c tmp = next; tmp 760 tools/power/cpupower/lib/cpufreq.c struct cpufreq_stats *tmp, *next; tmp 765 tools/power/cpupower/lib/cpufreq.c tmp = any->first; tmp 766 tools/power/cpupower/lib/cpufreq.c while (tmp) { tmp 767 tools/power/cpupower/lib/cpufreq.c next = tmp->next; tmp 768 tools/power/cpupower/lib/cpufreq.c free(tmp); tmp 769 tools/power/cpupower/lib/cpufreq.c tmp = next; tmp 368 tools/power/cpupower/lib/cpuidle.c char *tmp = sysfs_cpuidle_get_one_string(CPUIDLE_GOVERNOR_RO); tmp 369 tools/power/cpupower/lib/cpuidle.c if (!tmp) tmp 372 tools/power/cpupower/lib/cpuidle.c return tmp; tmp 89 tools/power/cpupower/utils/cpufreq-info.c unsigned long tmp; tmp 102 tools/power/cpupower/utils/cpufreq-info.c tmp = speed%10000; tmp 103 tools/power/cpupower/utils/cpufreq-info.c if (tmp >= 5000) tmp 108 tools/power/cpupower/utils/cpufreq-info.c tmp = speed%1000; tmp 109 tools/power/cpupower/utils/cpufreq-info.c if (tmp >= 500) tmp 113 tools/power/cpupower/utils/cpufreq-info.c tmp = speed%100; tmp 114 tools/power/cpupower/utils/cpufreq-info.c if (tmp >= 50) tmp 126 tools/power/cpupower/utils/cpufreq-info.c unsigned long tmp; tmp 141 tools/power/cpupower/utils/cpufreq-info.c tmp = duration%10000; tmp 142 tools/power/cpupower/utils/cpufreq-info.c if (tmp >= 5000) tmp 147 tools/power/cpupower/utils/cpufreq-info.c tmp = duration%1000; tmp 148 tools/power/cpupower/utils/cpufreq-info.c if (tmp >= 500) tmp 152 tools/power/cpupower/utils/cpufreq-info.c tmp = duration%100; tmp 153 tools/power/cpupower/utils/cpufreq-info.c if (tmp >= 50) tmp 26 tools/power/cpupower/utils/cpuidle-info.c char *tmp; tmp 37 tools/power/cpupower/utils/cpuidle-info.c tmp = cpuidle_state_name(cpu, idlestate); tmp 38 tools/power/cpupower/utils/cpuidle-info.c if (!tmp) tmp 40 tools/power/cpupower/utils/cpuidle-info.c printf(" %s", tmp); tmp 41 tools/power/cpupower/utils/cpuidle-info.c free(tmp); tmp 53 tools/power/cpupower/utils/cpuidle-info.c tmp = cpuidle_state_name(cpu, idlestate); tmp 54 tools/power/cpupower/utils/cpuidle-info.c if (!tmp) tmp 56 tools/power/cpupower/utils/cpuidle-info.c printf("%s%s:\n", tmp, (disabled) ? " (DISABLED) " : ""); tmp 57 tools/power/cpupower/utils/cpuidle-info.c free(tmp); tmp 59 tools/power/cpupower/utils/cpuidle-info.c tmp = cpuidle_state_desc(cpu, idlestate); tmp 60 tools/power/cpupower/utils/cpuidle-info.c if (!tmp) tmp 62 tools/power/cpupower/utils/cpuidle-info.c printf(_("Flags/Description: %s\n"), tmp); tmp 63 tools/power/cpupower/utils/cpuidle-info.c free(tmp); tmp 76 tools/power/cpupower/utils/cpuidle-info.c char *tmp; tmp 78 tools/power/cpupower/utils/cpuidle-info.c tmp = cpuidle_get_driver(); tmp 79 tools/power/cpupower/utils/cpuidle-info.c if (!tmp) { tmp 84 tools/power/cpupower/utils/cpuidle-info.c printf(_("CPUidle driver: %s\n"), tmp); tmp 85 tools/power/cpupower/utils/cpuidle-info.c free(tmp); tmp 87 tools/power/cpupower/utils/cpuidle-info.c tmp = cpuidle_get_governor(); tmp 88 tools/power/cpupower/utils/cpuidle-info.c if (!tmp) { tmp 93 tools/power/cpupower/utils/cpuidle-info.c printf(_("CPUidle governor: %s\n"), tmp); tmp 94 tools/power/cpupower/utils/cpuidle-info.c free(tmp); tmp 438 tools/power/cpupower/utils/helpers/sysfs.c char *tmp = sysfs_cpuidle_get_one_string(CPUIDLE_GOVERNOR_RO); tmp 439 tools/power/cpupower/utils/helpers/sysfs.c if (!tmp) tmp 442 tools/power/cpupower/utils/helpers/sysfs.c return tmp; tmp 79 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c void fix_up_intel_idle_driver_name(char *tmp, int num) tmp 82 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c if (!strncmp(tmp, "NHM-", 4)) { tmp 85 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C1"); tmp 88 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C3"); tmp 91 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C6"); tmp 94 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c } else if (!strncmp(tmp, "SNB-", 4)) { tmp 97 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C1"); tmp 100 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C3"); tmp 103 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C6"); tmp 106 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C7"); tmp 109 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c } else if (!strncmp(tmp, "ATM-", 4)) { tmp 112 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C1"); tmp 115 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C2"); tmp 118 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C4"); tmp 121 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "C6"); tmp 128 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c void map_power_idle_state_name(char *tmp) tmp 130 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c if (!strncmp(tmp, "stop0_lite", CSTATE_NAME_LEN)) tmp 131 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "stop0L"); tmp 132 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c else if (!strncmp(tmp, "stop1_lite", CSTATE_NAME_LEN)) tmp 133 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "stop1L"); tmp 134 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c else if (!strncmp(tmp, "stop2_lite", CSTATE_NAME_LEN)) tmp 135 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strcpy(tmp, "stop2L"); tmp 138 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c void map_power_idle_state_name(char *tmp) { } tmp 144 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c char *tmp; tmp 156 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c tmp = cpuidle_state_name(this_cpu, num); tmp 157 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c if (tmp == NULL) tmp 160 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c map_power_idle_state_name(tmp); tmp 161 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c fix_up_intel_idle_driver_name(tmp, num); tmp 162 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strncpy(cpuidle_cstates[num].name, tmp, CSTATE_NAME_LEN - 1); tmp 163 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c free(tmp); tmp 165 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c tmp = cpuidle_state_desc(this_cpu, num); tmp 166 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c if (tmp == NULL) tmp 168 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c strncpy(cpuidle_cstates[num].desc, tmp, CSTATE_DESC_LEN - 1); tmp 169 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c free(tmp); tmp 224 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c char *tmp = param, *token; tmp 228 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c for (mon = 0; mon < MONITORS_MAX; mon++, tmp = NULL) { tmp 229 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c token = strtok(tmp, ","); tmp 160 tools/testing/radix-tree/main.c unsigned long start, end, count = 0, tagged, cur, tmp; tmp 225 tools/testing/radix-tree/main.c tmp = rand() % (count / 10 + 2); tmp 226 tools/testing/radix-tree/main.c tagged = tag_tagged_items(&tree, start, end, tmp, XA_MARK_0, XA_MARK_2); tmp 92 tools/testing/radix-tree/tag_check.c int tmp; tmp 95 tools/testing/radix-tree/tag_check.c tmp = 1<<RADIX_TREE_MAP_SHIFT; tmp 96 tools/testing/radix-tree/tag_check.c item_insert(&tree, tmp); tmp 97 tools/testing/radix-tree/tag_check.c item_insert(&tree, tmp+1); tmp 98 tools/testing/radix-tree/tag_check.c item_tag_set(&tree, tmp, 0); tmp 99 tools/testing/radix-tree/tag_check.c item_tag_set(&tree, tmp, 1); tmp 100 tools/testing/radix-tree/tag_check.c item_tag_set(&tree, tmp+1, 0); tmp 101 tools/testing/radix-tree/tag_check.c item_delete(&tree, tmp+1); tmp 102 tools/testing/radix-tree/tag_check.c item_tag_clear(&tree, tmp, 1); tmp 107 tools/testing/radix-tree/tag_check.c assert(item_tag_get(&tree, tmp, 0) == 1); tmp 108 tools/testing/radix-tree/tag_check.c assert(item_tag_get(&tree, tmp, 1) == 0); tmp 15 tools/testing/selftests/bpf/progs/test_pkt_md_access.c TYPE tmp = *(volatile TYPE *)&skb->FIELD; \ tmp 16 tools/testing/selftests/bpf/progs/test_pkt_md_access.c if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \ tmp 23 tools/testing/selftests/bpf/progs/test_pkt_md_access.c TYPE tmp = *((volatile TYPE *)&skb->FIELD + \ tmp 25 tools/testing/selftests/bpf/progs/test_pkt_md_access.c if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \ tmp 54 tools/testing/selftests/bpf/test_hashmap.c struct hashmap_entry *entry, *tmp; tmp 144 tools/testing/selftests/bpf/test_hashmap.c hashmap__for_each_entry_safe(map, entry, tmp, bkt) { tmp 166 tools/testing/selftests/bpf/test_hashmap.c hashmap__for_each_key_entry_safe(map, entry, tmp, (void *)0) { tmp 201 tools/testing/selftests/bpf/test_hashmap.c hashmap__for_each_entry_safe(map, entry, tmp, bkt) { tmp 365 tools/testing/selftests/bpf/test_progs.c bool *set = NULL, *tmp, parsing_end = false; tmp 400 tools/testing/selftests/bpf/test_progs.c tmp = realloc(set, set_len); tmp 401 tools/testing/selftests/bpf/test_progs.c if (!tmp) { tmp 405 tools/testing/selftests/bpf/test_progs.c set = tmp; tmp 529 tools/testing/selftests/bpf/test_select_reuseport.c __u32 nr_run_before = 0, nr_run_after = 0, tmp, i; tmp 547 tools/testing/selftests/bpf/test_select_reuseport.c err = bpf_map_lookup_elem(result_map, &i, &tmp); tmp 550 tools/testing/selftests/bpf/test_select_reuseport.c nr_run_before += tmp; tmp 560 tools/testing/selftests/bpf/test_select_reuseport.c err = bpf_map_lookup_elem(result_map, &i, &tmp); tmp 563 tools/testing/selftests/bpf/test_select_reuseport.c nr_run_after += tmp; tmp 42 tools/testing/selftests/bpf/test_tag.c struct bpf_insn tmp[] = { tmp 46 tools/testing/selftests/bpf/test_tag.c memcpy(&prog[i], tmp, sizeof(tmp)); tmp 211 tools/testing/selftests/bpf/test_verifier.c struct bpf_insn tmp[2] = { BPF_LD_IMM64(BPF_REG_1, val) }; tmp 214 tools/testing/selftests/bpf/test_verifier.c insn[i++] = tmp[0]; tmp 215 tools/testing/selftests/bpf/test_verifier.c insn[i++] = tmp[1]; tmp 840 tools/testing/selftests/bpf/test_verifier.c __u8 tmp[TEST_DATA_LEN << 2]; tmp 841 tools/testing/selftests/bpf/test_verifier.c __u32 size_tmp = sizeof(tmp); tmp 848 tools/testing/selftests/bpf/test_verifier.c tmp, &size_tmp, &retval, NULL); tmp 117 tools/testing/selftests/kvm/include/x86_64/processor.h uint16_t tmp; tmp 120 tools/testing/selftests/kvm/include/x86_64/processor.h : /* output */ "=a" (tmp) tmp 123 tools/testing/selftests/kvm/include/x86_64/processor.h return tmp; tmp 388 tools/testing/selftests/kvm/include/x86_64/vmx.h uint64_t tmp; tmp 395 tools/testing/selftests/kvm/include/x86_64/vmx.h : [value]"=m"(tmp), [ret]"=rm"(ret) tmp 398 tools/testing/selftests/kvm/include/x86_64/vmx.h *value = tmp; tmp 494 tools/testing/selftests/kvm/include/x86_64/vmx.h uint64_t tmp; tmp 501 tools/testing/selftests/kvm/include/x86_64/vmx.h : [value]"=rm"(tmp), [ret]"=rm"(ret) tmp 505 tools/testing/selftests/kvm/include/x86_64/vmx.h *value = tmp; tmp 411 tools/testing/selftests/kvm/lib/sparsebit.c struct node *tmp; tmp 424 tools/testing/selftests/kvm/lib/sparsebit.c for (tmp = nodep->right; tmp->left; tmp = tmp->left) tmp 426 tools/testing/selftests/kvm/lib/sparsebit.c tmp->left = nodep->left; tmp 428 tools/testing/selftests/kvm/lib/sparsebit.c tmp->left->parent = tmp; tmp 605 tools/testing/selftests/kvm/lib/sparsebit.c struct node *prev, *next, *tmp; tmp 632 tools/testing/selftests/kvm/lib/sparsebit.c tmp = node_next(s, nodep); tmp 633 tools/testing/selftests/kvm/lib/sparsebit.c if (!tmp) tmp 634 tools/testing/selftests/kvm/lib/sparsebit.c tmp = node_prev(s, nodep); tmp 639 tools/testing/selftests/kvm/lib/sparsebit.c nodep = tmp; tmp 1574 tools/testing/selftests/net/nettest.c unsigned int tmp; tmp 1604 tools/testing/selftests/net/nettest.c if (str_to_uint(optarg, 1, 65535, &tmp) != 0) { tmp 1608 tools/testing/selftests/net/nettest.c args.port = (unsigned short) tmp; tmp 1629 tools/testing/selftests/net/nettest.c if (str_to_uint(optarg, 0, 0xffff, &tmp) != 0) { tmp 1633 tools/testing/selftests/net/nettest.c args.protocol = tmp; tmp 1688 tools/testing/selftests/net/nettest.c if (str_to_uint(optarg, 0, INT_MAX, &tmp) == 0) { tmp 1689 tools/testing/selftests/net/nettest.c args.expected_ifindex = (int)tmp; tmp 572 tools/testing/selftests/powerpc/mm/tlbie_test.c void *tmp = malloc(size); tmp 584 tools/testing/selftests/powerpc/mm/tlbie_test.c memcpy(tmp, map1, size); tmp 592 tools/testing/selftests/powerpc/mm/tlbie_test.c memcpy(map2, tmp, size); tmp 350 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define LOAD_REG_IMMEDIATE_SYM(reg, tmp, expr) \ tmp 351 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h lis tmp, (expr)@highest; \ tmp 353 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h ori tmp, tmp, (expr)@higher; \ tmp 355 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h rldimi reg, tmp, 32, 0 tmp 169 tools/testing/selftests/powerpc/primitives/word-at-a-time.h unsigned long ret, offset, tmp; tmp 198 tools/testing/selftests/powerpc/primitives/word-at-a-time.h : [tmp] "=&b" (tmp), [offset] "=&r" (offset), [ret] "=&r" (ret) tmp 122 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.h void loadvsx(void *p, int tmp); tmp 123 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.h void storevsx(void *p, int tmp); tmp 27 tools/testing/selftests/powerpc/security/rfi_flush.c __u64 tmp; tmp 29 tools/testing/selftests/powerpc/security/rfi_flush.c asm volatile("ld %0,0(%1)" : "=r"(tmp) : "b"(addr)); tmp 31 tools/testing/selftests/powerpc/security/rfi_flush.c return tmp; tmp 108 tools/testing/selftests/sync/sync_stress_consumer.c int fence, merged, tmp, valid, it, i; tmp 117 tools/testing/selftests/sync/sync_stress_consumer.c tmp = sw_sync_fence_create(producer_timelines[i], tmp 119 tools/testing/selftests/sync/sync_stress_consumer.c merged = sync_merge("name", tmp, fence); tmp 120 tools/testing/selftests/sync/sync_stress_consumer.c sw_sync_fence_destroy(tmp); tmp 72 tools/testing/selftests/timers/adjtick.c long long diff = 0, tmp; tmp 90 tools/testing/selftests/timers/adjtick.c tmp = (ts_to_nsec(start) + ts_to_nsec(end))/2; tmp 91 tools/testing/selftests/timers/adjtick.c *mon = nsec_to_ts(tmp); tmp 45 tools/testing/selftests/timers/clocksource-switch.c char *head, *tmp; tmp 60 tools/testing/selftests/timers/clocksource-switch.c for (tmp = head; *tmp != ' '; tmp++) { tmp 61 tools/testing/selftests/timers/clocksource-switch.c if (*tmp == '\n') tmp 63 tools/testing/selftests/timers/clocksource-switch.c if (*tmp == '\0') tmp 66 tools/testing/selftests/timers/clocksource-switch.c *tmp = '\0'; tmp 68 tools/testing/selftests/timers/clocksource-switch.c head = tmp + 1; tmp 72 tools/testing/selftests/timers/raw_skew.c long long diff = 0, tmp; tmp 86 tools/testing/selftests/timers/raw_skew.c tmp = (ts_to_nsec(start) + ts_to_nsec(end))/2; tmp 87 tools/testing/selftests/timers/raw_skew.c *mon = nsec_to_ts(tmp); tmp 31 tools/testing/selftests/timers/rtcpie.c unsigned long tmp, data, old_pie_rate; tmp 70 tools/testing/selftests/timers/rtcpie.c for (tmp=2; tmp<=64; tmp*=2) { tmp 72 tools/testing/selftests/timers/rtcpie.c retval = ioctl(fd, RTC_IRQP_SET, tmp); tmp 84 tools/testing/selftests/timers/rtcpie.c fprintf(stderr, "\n%ldHz:\t", tmp); tmp 105 tools/testing/selftests/timers/rtcpie.c diff.tv_usec > ((1000000L / tmp) * 1.10)) { tmp 108 tools/testing/selftests/timers/rtcpie.c (1000000L / tmp)); tmp 159 tools/testing/selftests/x86/mov_ss_trap.c asm volatile ("mov %[ss], %[tmp]" : [tmp] "=r" (nr) : [ss] "m" (ss)); tmp 182 tools/testing/selftests/x86/mov_ss_trap.c : [tmp] "+r" (nr) : [ss] "m" (ss)); tmp 204 tools/testing/selftests/x86/mov_ss_trap.c : [tmp] "=r" (nr) : [ss] "m" (ss)); tmp 115 tools/testing/selftests/x86/single_step_syscall.c int tmp; tmp 139 tools/testing/selftests/x86/single_step_syscall.c asm volatile ("int $0x80" : "=a" (tmp) : "a" (SYS_getpid) tmp 522 tools/testing/selftests/x86/test_vsyscall.c time_t tmp; tmp 531 tools/testing/selftests/x86/test_vsyscall.c vtime(&tmp); tmp 177 tools/usb/usbip/libsrc/names.c struct pool *tmp; tmp 182 tools/usb/usbip/libsrc/names.c tmp = pool; tmp 184 tools/usb/usbip/libsrc/names.c free(tmp); tmp 157 tools/usb/usbip/libsrc/usbip_host_common.c struct list_head *i, *tmp; tmp 160 tools/usb/usbip/libsrc/usbip_host_common.c list_for_each_safe(i, tmp, devs) { tmp 676 virt/kvm/arm/arch_timer.c struct kvm_vcpu *tmp; tmp 679 virt/kvm/arm/arch_timer.c kvm_for_each_vcpu(i, tmp, kvm) tmp 680 virt/kvm/arm/arch_timer.c vcpu_vtimer(tmp)->cntvoff = cntvoff; tmp 22 virt/kvm/arm/mmio.c } tmp; tmp 26 virt/kvm/arm/mmio.c tmp.byte = data; tmp 27 virt/kvm/arm/mmio.c datap = &tmp.byte; tmp 30 virt/kvm/arm/mmio.c tmp.hword = data; tmp 31 virt/kvm/arm/mmio.c datap = &tmp.hword; tmp 34 virt/kvm/arm/mmio.c tmp.word = data; tmp 35 virt/kvm/arm/mmio.c datap = &tmp.word; tmp 38 virt/kvm/arm/mmio.c tmp.dword = data; tmp 39 virt/kvm/arm/mmio.c datap = &tmp.dword; tmp 53 virt/kvm/arm/mmio.c } tmp; tmp 60 virt/kvm/arm/mmio.c memcpy(&tmp.hword, buf, len); tmp 61 virt/kvm/arm/mmio.c data = tmp.hword; tmp 64 virt/kvm/arm/mmio.c memcpy(&tmp.word, buf, len); tmp 65 virt/kvm/arm/mmio.c data = tmp.word; tmp 68 virt/kvm/arm/mmio.c memcpy(&tmp.dword, buf, len); tmp 69 virt/kvm/arm/mmio.c data = tmp.dword; tmp 156 virt/kvm/arm/psci.c struct kvm_vcpu *tmp; tmp 173 virt/kvm/arm/psci.c kvm_for_each_vcpu(i, tmp, kvm) { tmp 174 virt/kvm/arm/psci.c mpidr = kvm_vcpu_get_mpidr_aff(tmp); tmp 177 virt/kvm/arm/psci.c if (!tmp->arch.power_off) tmp 191 virt/kvm/arm/psci.c struct kvm_vcpu *tmp; tmp 202 virt/kvm/arm/psci.c kvm_for_each_vcpu(i, tmp, vcpu->kvm) tmp 203 virt/kvm/arm/psci.c tmp->arch.power_off = true; tmp 1854 virt/kvm/arm/vgic/vgic-its.c struct vgic_translation_cache_entry *cte, *tmp; tmp 1858 virt/kvm/arm/vgic/vgic-its.c list_for_each_entry_safe(cte, tmp, tmp 154 virt/kvm/arm/vgic/vgic.c struct vgic_irq *irq, *tmp; tmp 159 virt/kvm/arm/vgic/vgic.c list_for_each_entry_safe(irq, tmp, &vgic_cpu->ap_list_head, ap_list) { tmp 621 virt/kvm/arm/vgic/vgic.c struct vgic_irq *irq, *tmp; tmp 628 virt/kvm/arm/vgic/vgic.c list_for_each_entry_safe(irq, tmp, &vgic_cpu->ap_list_head, ap_list) { tmp 180 virt/kvm/coalesced_mmio.c struct kvm_coalesced_mmio_dev *dev, *tmp; tmp 187 virt/kvm/coalesced_mmio.c list_for_each_entry_safe(dev, tmp, &kvm->coalesced_zones, list) tmp 284 virt/kvm/eventfd.c struct kvm_kernel_irqfd *irqfd, *tmp; tmp 381 virt/kvm/eventfd.c list_for_each_entry(tmp, &kvm->irqfds.items, list) { tmp 382 virt/kvm/eventfd.c if (irqfd->eventfd != tmp->eventfd) tmp 529 virt/kvm/eventfd.c struct kvm_kernel_irqfd *irqfd, *tmp; tmp 538 virt/kvm/eventfd.c list_for_each_entry_safe(irqfd, tmp, &kvm->irqfds.items, list) { tmp 585 virt/kvm/eventfd.c struct kvm_kernel_irqfd *irqfd, *tmp; tmp 589 virt/kvm/eventfd.c list_for_each_entry_safe(irqfd, tmp, &kvm->irqfds.items, list) tmp 852 virt/kvm/eventfd.c struct _ioeventfd *p, *tmp; tmp 863 virt/kvm/eventfd.c list_for_each_entry_safe(p, tmp, &kvm->ioeventfds, list) { tmp 249 virt/kvm/kvm_main.c unsigned long *vcpu_bitmap, cpumask_var_t tmp) tmp 267 virt/kvm/kvm_main.c if (tmp != NULL && cpu != -1 && cpu != me && tmp 269 virt/kvm/kvm_main.c __cpumask_set_cpu(cpu, tmp); tmp 272 virt/kvm/kvm_main.c called = kvm_kick_many_cpus(tmp, !!(req & KVM_REQUEST_WAIT)); tmp 782 virt/kvm/kvm_main.c struct kvm_device *dev, *tmp; tmp 789 virt/kvm/kvm_main.c list_for_each_entry_safe(dev, tmp, &kvm->devices, vm_node) { tmp 4314 virt/kvm/kvm_main.c char *tmp, *p = kmalloc(PATH_MAX, GFP_KERNEL_ACCOUNT); tmp 4317 virt/kvm/kvm_main.c tmp = dentry_path_raw(kvm->debugfs_dentry, p, PATH_MAX); tmp 4318 virt/kvm/kvm_main.c if (!IS_ERR(tmp)) tmp 4319 virt/kvm/kvm_main.c add_uevent_var(env, "STATS_PATH=%s", tmp); tmp 366 virt/kvm/vfio.c struct kvm_vfio_group *kvg, *tmp; tmp 368 virt/kvm/vfio.c list_for_each_entry_safe(kvg, tmp, &kv->group_list, node) { tmp 397 virt/kvm/vfio.c struct kvm_device *tmp; tmp 401 virt/kvm/vfio.c list_for_each_entry(tmp, &dev->kvm->devices, vm_node) tmp 402 virt/kvm/vfio.c if (tmp->ops == &kvm_vfio_ops) tmp 86 virt/lib/irqbypass.c struct irq_bypass_producer *tmp; tmp 99 virt/lib/irqbypass.c list_for_each_entry(tmp, &producers, node) { tmp 100 virt/lib/irqbypass.c if (tmp->token == producer->token) { tmp 136 virt/lib/irqbypass.c struct irq_bypass_producer *tmp; tmp 149 virt/lib/irqbypass.c list_for_each_entry(tmp, &producers, node) { tmp 150 virt/lib/irqbypass.c if (tmp->token != producer->token) tmp 180 virt/lib/irqbypass.c struct irq_bypass_consumer *tmp; tmp 194 virt/lib/irqbypass.c list_for_each_entry(tmp, &consumers, node) { tmp 195 virt/lib/irqbypass.c if (tmp->token == consumer->token || tmp == consumer) { tmp 231 virt/lib/irqbypass.c struct irq_bypass_consumer *tmp; tmp 244 virt/lib/irqbypass.c list_for_each_entry(tmp, &consumers, node) { tmp 245 virt/lib/irqbypass.c if (tmp != consumer)